Vaulta

atmosstakev2

Contract

The data structures defined by this contract.

  • Table row type of accounts

    {
      "name": "account",
      "base": "",
      "fields": [
        {
          "name": "key",
          "type": "uint64"
        },
        {
          "name": "public_key",
          "type": "public_key"
        },
        {
          "name": "total_balance",
          "type": "asset"
        },
        {
          "name": "total_weight",
          "type": "uint64"
        }
      ]
    }
  • Action parameter in claim

    {
      "name": "claim",
      "base": "",
      "fields": [
        {
          "name": "token_symbol",
          "type": "symbol"
        },
        {
          "name": "relay",
          "type": "name"
        },
        {
          "name": "memo",
          "type": "string"
        }
      ]
    }
  • Action parameter in create

    {
      "name": "create",
      "base": "",
      "fields": [
        {
          "name": "token_contract",
          "type": "name"
        },
        {
          "name": "token_symbol",
          "type": "symbol"
        },
        {
          "name": "round_subsidy",
          "type": "asset"
        },
        {
          "name": "min_claim_secs",
          "type": "int64"
        },
        {
          "name": "min_stake_secs",
          "type": "int64"
        },
        {
          "name": "max_stake_secs",
          "type": "int64"
        },
        {
          "name": "min_stake",
          "type": "asset"
        }
      ]
    }
  • Action parameter in destroy

    {
      "name": "destroy",
      "base": "",
      "fields": []
    }
  • Action parameter in exitstake

    {
      "name": "exitstake",
      "base": "",
      "fields": [
        {
          "name": "key",
          "type": "uint64"
        },
        {
          "name": "token_symbol",
          "type": "symbol"
        },
        {
          "name": "to",
          "type": "name"
        },
        {
          "name": "memo",
          "type": "string"
        },
        {
          "name": "sig",
          "type": "signature"
        }
      ]
    }
  • Action parameter in fexitstakes

    {
      "name": "fexitstakes",
      "base": "",
      "fields": [
        {
          "name": "token_symbol",
          "type": "symbol"
        },
        {
          "name": "stakes_to",
          "type": "name"
        },
        {
          "name": "supply_to",
          "type": "name"
        },
        {
          "name": "loop_lim",
          "type": "int32"
        }
      ]
    }
  • Action parameter in resetclaim

    {
      "name": "resetclaim",
      "base": "",
      "fields": [
        {
          "name": "token_symbol",
          "type": "symbol"
        }
      ]
    }
  • Action parameter in sanity

    {
      "name": "sanity",
      "base": "",
      "fields": []
    }
  • Table row type of stakes

    {
      "name": "stake",
      "base": "",
      "fields": [
        {
          "name": "key",
          "type": "uint64"
        },
        {
          "name": "weight",
          "type": "int64"
        },
        {
          "name": "public_key",
          "type": "public_key"
        },
        {
          "name": "initial_balance",
          "type": "asset"
        },
        {
          "name": "balance",
          "type": "asset"
        },
        {
          "name": "expires",
          "type": "time_point_sec"
        }
      ]
    }
  • Table row type of stats

    {
      "name": "stat",
      "base": "",
      "fields": [
        {
          "name": "total_weight",
          "type": "int64"
        },
        {
          "name": "total_supply",
          "type": "asset"
        },
        {
          "name": "subsidy_supply",
          "type": "asset"
        },
        {
          "name": "round_subsidy",
          "type": "asset"
        },
        {
          "name": "token_contract",
          "type": "name"
        },
        {
          "name": "token_symbol",
          "type": "symbol"
        },
        {
          "name": "last_claim",
          "type": "time_point_sec"
        },
        {
          "name": "min_claim_secs",
          "type": "int64"
        },
        {
          "name": "min_stake_secs",
          "type": "int64"
        },
        {
          "name": "max_stake_secs",
          "type": "int64"
        },
        {
          "name": "min_stake",
          "type": "asset"
        }
      ]
    }