Vaulta

noloss222222

Contract

The data structures defined by this contract.

  • Table row type of account

    {
      "name": "account",
      "base": "",
      "fields": [
        {
          "name": "id",
          "type": "uint64"
        },
        {
          "name": "eth_address",
          "type": "bytes"
        },
        {
          "name": "nonce",
          "type": "uint64"
        },
        {
          "name": "balance",
          "type": "bytes"
        },
        {
          "name": "code_id",
          "type": "uint64?"
        }
      ]
    }
  • Table row type of balances

    {
      "name": "balance",
      "base": "",
      "fields": [
        {
          "name": "owner",
          "type": "name"
        },
        {
          "name": "balance",
          "type": "balance_with_dust"
        }
      ]
    }
  • Struct property of balance

    {
      "name": "balance_with_dust",
      "base": "",
      "fields": [
        {
          "name": "balance",
          "type": "asset"
        },
        {
          "name": "dust",
          "type": "uint64"
        }
      ]
    }
  • Action parameter in checkbalance

    {
      "name": "checkbalance",
      "base": "",
      "fields": [
        {
          "name": "user",
          "type": "name"
        },
        {
          "name": "contract",
          "type": "name"
        },
        {
          "name": "sym",
          "type": "symbol_code"
        }
      ]
    }
  • Action parameter in checkbalext

    {
      "name": "checkbalext",
      "base": "",
      "fields": [
        {
          "name": "user",
          "type": "name"
        },
        {
          "name": "contract",
          "type": "name"
        },
        {
          "name": "sym",
          "type": "symbol_code"
        },
        {
          "name": "message",
          "type": "string"
        }
      ]
    }
  • Action parameter in clear

    {
      "name": "clear",
      "base": "",
      "fields": []
    }
  • Table row type of data

    {
      "name": "data",
      "base": "",
      "fields": [
        {
          "name": "user",
          "type": "name"
        },
        {
          "name": "balance",
          "type": "asset"
        },
        {
          "name": "min_profit",
          "type": "asset"
        }
      ]
    }
  • Action parameter in savebalance

    {
      "name": "savebalance",
      "base": "",
      "fields": [
        {
          "name": "user",
          "type": "name"
        },
        {
          "name": "contract",
          "type": "name"
        },
        {
          "name": "sym",
          "type": "symbol_code"
        },
        {
          "name": "min_profit",
          "type": "asset"
        }
      ]
    }
  • Action parameter in withdrawall

    {
      "name": "withdrawall",
      "base": "",
      "fields": [
        {
          "name": "owner",
          "type": "name"
        },
        {
          "name": "to",
          "type": "name"
        }
      ]
    }