Vaulta

dist.gs.core

Contract

The data structures defined by this contract.

  • Action parameter in addclaimcfg

    {
      "name": "addclaimcfg",
      "base": "",
      "fields": [
        {
          "name": "user",
          "type": "name"
        },
        {
          "name": "token_contract_account",
          "type": "name"
        },
        {
          "name": "quantity",
          "type": "asset"
        },
        {
          "name": "end_time",
          "type": "uint64"
        }
      ]
    }
  • Action parameter in claim

    {
      "name": "claim",
      "base": "",
      "fields": [
        {
          "name": "from",
          "type": "name"
        },
        {
          "name": "id",
          "type": "uint64"
        },
        {
          "name": "memo",
          "type": "string"
        }
      ]
    }
  • Table row type of stat

    {
      "name": "currency_stats",
      "base": "",
      "fields": [
        {
          "name": "supply",
          "type": "asset"
        },
        {
          "name": "max_supply",
          "type": "asset"
        },
        {
          "name": "issuer",
          "type": "name"
        }
      ]
    }
  • Table row type of rewardconfig

    {
      "name": "reward_config",
      "base": "",
      "fields": [
        {
          "name": "id",
          "type": "uint64"
        },
        {
          "name": "user",
          "type": "name"
        },
        {
          "name": "end_time",
          "type": "uint64"
        },
        {
          "name": "reward_amount",
          "type": "uint64"
        },
        {
          "name": "received_amount",
          "type": "uint64"
        },
        {
          "name": "last_claim_time",
          "type": "uint64"
        },
        {
          "name": "token_contract_account",
          "type": "name"
        },
        {
          "name": "token_symbol",
          "type": "symbol"
        },
        {
          "name": "is_ended",
          "type": "bool"
        }
      ]
    }