Jungle 4 (Testnet)

lightacct.gm

Contract

The data structures defined by this contract.

  • Action parameter in authkey

    {
      "name": "authkey",
      "base": "",
      "fields": [
        {
          "name": "credential_ids",
          "type": "uint64[]"
        }
      ]
    }
  • Table row type of balances

    {
      "name": "balance",
      "base": "",
      "fields": [
        {
          "name": "balance",
          "type": "asset"
        }
      ]
    }
  • Table row type of config

    {
      "name": "config_row",
      "base": "",
      "fields": [
        {
          "name": "keyhost",
          "type": "name"
        },
        {
          "name": "core_symbol",
          "type": "symbol"
        },
        {
          "name": "token_contract",
          "type": "name"
        },
        {
          "name": "system_contract",
          "type": "name"
        },
        {
          "name": "next_credential_id",
          "type": "uint64"
        }
      ]
    }
  • Table row type of credentials

    {
      "name": "credential",
      "base": "",
      "fields": [
        {
          "name": "id",
          "type": "uint64"
        },
        {
          "name": "key",
          "type": "public_key"
        },
        {
          "name": "key_hash",
          "type": "checksum256"
        }
      ]
    }
  • Action parameter in init

    {
      "name": "init",
      "base": "",
      "fields": [
        {
          "name": "keyhost",
          "type": "name"
        },
        {
          "name": "core_symbol",
          "type": "symbol"
        },
        {
          "name": "token_contract",
          "type": "name"
        },
        {
          "name": "system_contract",
          "type": "name"
        }
      ]
    }
  • Action parameter in reset

    {
      "name": "reset",
      "base": "",
      "fields": []
    }
  • Action parameter in send

    {
      "name": "send",
      "base": "",
      "fields": [
        {
          "name": "from_id",
          "type": "uint64"
        },
        {
          "name": "to_key",
          "type": "public_key"
        },
        {
          "name": "quantity",
          "type": "asset"
        },
        {
          "name": "memo",
          "type": "string"
        }
      ]
    }
  • Action parameter in withdraw

    {
      "name": "withdraw",
      "base": "",
      "fields": [
        {
          "name": "credential_id",
          "type": "uint64"
        },
        {
          "name": "to_account",
          "type": "name"
        },
        {
          "name": "quantity",
          "type": "asset"
        },
        {
          "name": "memo",
          "type": "string"
        }
      ]
    }