Vaulta

tpmooncake11

Contract

The data structures defined by this contract.

  • Action parameter in addreward

    {
      "name": "addreward",
      "base": "",
      "fields": [
        {
          "name": "token_contract",
          "type": "name"
        },
        {
          "name": "symbol",
          "type": "symbol"
        },
        {
          "name": "rc",
          "type": "uint64"
        },
        {
          "name": "ru",
          "type": "uint64"
        },
        {
          "name": "unit",
          "type": "uint64"
        }
      ]
    }
  • Action parameter in deletereward

    {
      "name": "deletereward",
      "base": "",
      "fields": [
        {
          "name": "id",
          "type": "uint64"
        }
      ]
    }
  • Table row type of reward

    {
      "name": "reward",
      "base": "",
      "fields": [
        {
          "name": "id",
          "type": "uint64"
        },
        {
          "name": "token_contract",
          "type": "name"
        },
        {
          "name": "token_symbol",
          "type": "symbol"
        },
        {
          "name": "rc",
          "type": "uint64"
        },
        {
          "name": "ru",
          "type": "uint64"
        },
        {
          "name": "unit",
          "type": "uint64"
        }
      ]
    }
  • Action parameter in transfer

    {
      "name": "transfer",
      "base": "",
      "fields": [
        {
          "name": "from",
          "type": "name"
        },
        {
          "name": "to",
          "type": "name"
        },
        {
          "name": "quantity",
          "type": "asset"
        },
        {
          "name": "memo",
          "type": "string"
        }
      ]
    }
  • Action parameter in updatereward

    {
      "name": "updatereward",
      "base": "",
      "fields": [
        {
          "name": "id",
          "type": "uint64"
        },
        {
          "name": "token_contract",
          "type": "name"
        },
        {
          "name": "symbol",
          "type": "symbol"
        },
        {
          "name": "rc",
          "type": "uint64"
        },
        {
          "name": "ru",
          "type": "uint64"
        },
        {
          "name": "unit",
          "type": "uint64"
        }
      ]
    }