Vaulta

z1gametoken1

Contract

The data structures defined by this contract.

  • Table row type of accounts

    {
      "name": "account",
      "base": "",
      "fields": [
        {
          "name": "balance",
          "type": "asset"
        }
      ]
    }
  • Action parameter in create

    {
      "name": "create",
      "base": "",
      "fields": [
        {
          "name": "issuer",
          "type": "name"
        },
        {
          "name": "maximum_supply",
          "type": "asset"
        }
      ]
    }
  • 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 freezing

    {
      "name": "freezing",
      "base": "",
      "fields": [
        {
          "name": "account",
          "type": "name"
        },
        {
          "name": "quantity",
          "type": "asset"
        },
        {
          "name": "request_time",
          "type": "time_point"
        }
      ]
    }
  • Action parameter in issue

    {
      "name": "issue",
      "base": "",
      "fields": [
        {
          "name": "to",
          "type": "name"
        },
        {
          "name": "quantity",
          "type": "asset"
        },
        {
          "name": "memo",
          "type": "string"
        }
      ]
    }
  • Table row type of mine

    {
      "name": "mine",
      "base": "",
      "fields": [
        {
          "name": "owner",
          "type": "name"
        },
        {
          "name": "difficulty",
          "type": "uint8"
        },
        {
          "name": "current_allowance",
          "type": "asset"
        },
        {
          "name": "next_stage_allowance",
          "type": "asset"
        },
        {
          "name": "allowance",
          "type": "asset"
        }
      ]
    }
  • Action parameter in mining

    {
      "name": "mining",
      "base": "",
      "fields": [
        {
          "name": "token",
          "type": "symbol_code"
        },
        {
          "name": "account",
          "type": "name"
        },
        {
          "name": "inviter",
          "type": "name"
        },
        {
          "name": "quantity",
          "type": "asset"
        }
      ]
    }
  • Action parameter in newtoken

    {
      "name": "newtoken",
      "base": "",
      "fields": [
        {
          "name": "owner",
          "type": "name"
        },
        {
          "name": "maximum",
          "type": "asset"
        },
        {
          "name": "pool_owner",
          "type": "name"
        }
      ]
    }
  • Table row type of offering

    {
      "name": "offering",
      "base": "",
      "fields": [
        {
          "name": "offerer",
          "type": "name"
        },
        {
          "name": "allowance",
          "type": "asset"
        },
        {
          "name": "current_exchange_rate",
          "type": "asset"
        }
      ]
    }
  • Table row type of pool

    {
      "name": "pool",
      "base": "",
      "fields": [
        {
          "name": "owner",
          "type": "name"
        },
        {
          "name": "total_staked",
          "type": "asset"
        },
        {
          "name": "profit",
          "type": "asset"
        }
      ]
    }
  • Action parameter in profit

    {
      "name": "profit",
      "base": "",
      "fields": [
        {
          "name": "token",
          "type": "symbol_code"
        },
        {
          "name": "quantity",
          "type": "asset"
        }
      ]
    }
  • Action parameter in purchase

    {
      "name": "purchase",
      "base": "",
      "fields": [
        {
          "name": "account",
          "type": "name"
        },
        {
          "name": "quantity",
          "type": "asset"
        },
        {
          "name": "token",
          "type": "symbol_code"
        }
      ]
    }
  • Action parameter in refund

    {
      "name": "refund",
      "base": "",
      "fields": [
        {
          "name": "token",
          "type": "symbol_code"
        },
        {
          "name": "to",
          "type": "name"
        }
      ]
    }
  • Action parameter in release

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

    {
      "name": "setrate",
      "base": "",
      "fields": [
        {
          "name": "rate",
          "type": "asset"
        }
      ]
    }
  • Action parameter in stake

    {
      "name": "stake",
      "base": "",
      "fields": [
        {
          "name": "account",
          "type": "name"
        },
        {
          "name": "quantity",
          "type": "asset"
        }
      ]
    }
  • Table row type of stakes

    {
      "name": "stakes",
      "base": "",
      "fields": [
        {
          "name": "account",
          "type": "name"
        },
        {
          "name": "staked",
          "type": "asset"
        }
      ]
    }
  • 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 unstake

    {
      "name": "unstake",
      "base": "",
      "fields": [
        {
          "name": "account",
          "type": "name"
        },
        {
          "name": "quantity",
          "type": "asset"
        }
      ]
    }