Vaulta

xuanming.io

Contract

The data structures defined by this contract.

  • Table row type of accounts

    {
      "name": "accounts",
      "base": "",
      "fields": [
        {
          "name": "account",
          "type": "name"
        },
        {
          "name": "pub_keys",
          "type": "public_key[]"
        }
      ]
    }
  • Action parameter in addjob

    {
      "name": "addjob",
      "base": "",
      "fields": [
        {
          "name": "actor",
          "type": "name"
        },
        {
          "name": "from",
          "type": "name"
        },
        {
          "name": "assets",
          "type": "extended_asset[]"
        },
        {
          "name": "memo",
          "type": "string"
        },
        {
          "name": "ret_symbols",
          "type": "extended_symbol[]"
        },
        {
          "name": "unique_id",
          "type": "uint64?"
        },
        {
          "name": "timestamp",
          "type": "uint32?"
        },
        {
          "name": "sig",
          "type": "signature?"
        }
      ]
    }
  • Table row type of addresses

    {
      "name": "addresses",
      "base": "",
      "fields": [
        {
          "name": "account",
          "type": "name"
        },
        {
          "name": "address",
          "type": "string"
        }
      ]
    }
  • Table row type of allowlist

    {
      "name": "allow_list",
      "base": "",
      "fields": [
        {
          "name": "contract",
          "type": "name"
        }
      ]
    }
  • Action parameter in applybind

    {
      "name": "applybind",
      "base": "",
      "fields": [
        {
          "name": "from",
          "type": "name"
        },
        {
          "name": "chain",
          "type": "symbol_code"
        },
        {
          "name": "address",
          "type": "string"
        },
        {
          "name": "unique_id",
          "type": "uint64?"
        },
        {
          "name": "timestamp",
          "type": "uint32?"
        },
        {
          "name": "sig",
          "type": "signature?"
        }
      ]
    }
  • Action parameter in applybind2

    {
      "name": "applybind2",
      "base": "",
      "fields": [
        {
          "name": "from",
          "type": "name"
        },
        {
          "name": "chain",
          "type": "symbol_code"
        },
        {
          "name": "address",
          "type": "string"
        },
        {
          "name": "second_chain",
          "type": "symbol_code"
        },
        {
          "name": "unique_id",
          "type": "uint64"
        }
      ]
    }
  • Action parameter in applykey

    {
      "name": "applykey",
      "base": "",
      "fields": [
        {
          "name": "chain",
          "type": "symbol_code"
        },
        {
          "name": "address",
          "type": "string"
        },
        {
          "name": "key",
          "type": "public_key"
        },
        {
          "name": "unique_id",
          "type": "uint64"
        }
      ]
    }
  • Table row type of assetrecords

    {
      "name": "asset_records",
      "base": "",
      "fields": [
        {
          "name": "cash_id",
          "type": "uint64"
        },
        {
          "name": "account",
          "type": "name"
        },
        {
          "name": "counterparty",
          "type": "name"
        },
        {
          "name": "token_id",
          "type": "uint64"
        },
        {
          "name": "contract",
          "type": "name"
        },
        {
          "name": "quantity",
          "type": "asset"
        },
        {
          "name": "memo",
          "type": "string"
        },
        {
          "name": "type",
          "type": "uint8"
        },
        {
          "name": "created_time",
          "type": "uint32"
        },
        {
          "name": "txid",
          "type": "checksum256"
        }
      ]
    }
  • Table row type of assets

    {
      "name": "assets",
      "base": "",
      "fields": [
        {
          "name": "token_id",
          "type": "uint64"
        },
        {
          "name": "balance",
          "type": "int64"
        }
      ]
    }
  • Table row type of authaddr

    {
      "name": "auth_address",
      "base": "",
      "fields": [
        {
          "name": "id",
          "type": "uint64"
        },
        {
          "name": "chain",
          "type": "symbol_code"
        },
        {
          "name": "auth_address",
          "type": "string"
        },
        {
          "name": "type",
          "type": "uint8"
        },
        {
          "name": "actor",
          "type": "name"
        },
        {
          "name": "auth_level",
          "type": "uint8"
        },
        {
          "name": "call_contract",
          "type": "name"
        },
        {
          "name": "call_action",
          "type": "name"
        },
        {
          "name": "desc",
          "type": "string"
        }
      ]
    }
  • Action parameter in authaddr

    {
      "name": "authaddr",
      "base": "",
      "fields": [
        {
          "name": "chain",
          "type": "symbol_code"
        },
        {
          "name": "auth_address",
          "type": "string"
        },
        {
          "name": "type",
          "type": "uint8"
        },
        {
          "name": "actor",
          "type": "name"
        },
        {
          "name": "auth_level",
          "type": "uint8"
        },
        {
          "name": "call_contract",
          "type": "name"
        },
        {
          "name": "call_action",
          "type": "name"
        },
        {
          "name": "desc",
          "type": "string"
        }
      ]
    }
  • Table row type of balances

    {
      "name": "balances",
      "base": "",
      "fields": [
        {
          "name": "balance",
          "type": "asset"
        }
      ]
    }
  • Table row type of bindapply

    {
      "name": "bind_apply",
      "base": "",
      "fields": [
        {
          "name": "id",
          "type": "uint64"
        },
        {
          "name": "account",
          "type": "name"
        },
        {
          "name": "chain",
          "type": "symbol_code"
        },
        {
          "name": "address",
          "type": "string"
        },
        {
          "name": "extern_amount",
          "type": "string"
        },
        {
          "name": "extern_memo",
          "type": "string"
        },
        {
          "name": "auth_address",
          "type": "string"
        },
        {
          "name": "need_second_deposit",
          "type": "bool"
        },
        {
          "name": "second_chain",
          "type": "symbol_code"
        },
        {
          "name": "second_address",
          "type": "string"
        },
        {
          "name": "second_extern_amount",
          "type": "string"
        },
        {
          "name": "second_extern_memo",
          "type": "string"
        },
        {
          "name": "second_auth_address",
          "type": "string"
        },
        {
          "name": "first_deposited",
          "type": "bool"
        },
        {
          "name": "second_deposited",
          "type": "bool"
        }
      ]
    }
  • Action parameter in call

    {
      "name": "call",
      "base": "",
      "fields": [
        {
          "name": "from",
          "type": "name"
        },
        {
          "name": "call_contract",
          "type": "name"
        },
        {
          "name": "call_action",
          "type": "name"
        },
        {
          "name": "call_data",
          "type": "string"
        },
        {
          "name": "unique_id",
          "type": "uint64?"
        },
        {
          "name": "timestamp",
          "type": "uint32?"
        },
        {
          "name": "sig",
          "type": "signature?"
        }
      ]
    }
  • Table row type of cashrecords

    {
      "name": "cash_records",
      "base": "",
      "fields": [
        {
          "name": "cash_id",
          "type": "uint64"
        },
        {
          "name": "account",
          "type": "name"
        },
        {
          "name": "counterparty",
          "type": "name"
        },
        {
          "name": "contract",
          "type": "name"
        },
        {
          "name": "quantity",
          "type": "asset"
        },
        {
          "name": "type",
          "type": "uint8"
        },
        {
          "name": "created_time",
          "type": "uint32"
        },
        {
          "name": "txid",
          "type": "checksum256"
        }
      ]
    }
  • Table row type of defaultjobs

    {
      "name": "default_jobs",
      "base": "",
      "fields": [
        {
          "name": "id",
          "type": "uint64"
        },
        {
          "name": "chain",
          "type": "symbol_code"
        },
        {
          "name": "auth_address",
          "type": "string"
        },
        {
          "name": "extern_amount",
          "type": "string"
        },
        {
          "name": "extern_memo",
          "type": "string"
        },
        {
          "name": "token_id",
          "type": "uint64"
        },
        {
          "name": "job_data",
          "type": "string"
        },
        {
          "name": "ret_chains",
          "type": "symbol_code[]"
        },
        {
          "name": "ret_token_ids",
          "type": "uint64[]"
        },
        {
          "name": "direct_execute",
          "type": "bool"
        }
      ]
    }
  • Action parameter in defaultjob

    {
      "name": "defaultjob",
      "base": "",
      "fields": [
        {
          "name": "chain_data",
          "type": "string"
        },
        {
          "name": "ret_data",
          "type": "string[]"
        },
        {
          "name": "job_data",
          "type": "string"
        },
        {
          "name": "direct_execute",
          "type": "bool"
        }
      ]
    }
  • Action parameter in execcall

    {
      "name": "execcall",
      "base": "",
      "fields": [
        {
          "name": "actor",
          "type": "name"
        },
        {
          "name": "job_id",
          "type": "uint64"
        },
        {
          "name": "finished",
          "type": "bool"
        },
        {
          "name": "call_contract",
          "type": "name"
        },
        {
          "name": "call_action",
          "type": "name"
        },
        {
          "name": "call_data",
          "type": "string"
        }
      ]
    }
  • Action parameter in execsend

    {
      "name": "execsend",
      "base": "",
      "fields": [
        {
          "name": "actor",
          "type": "name"
        },
        {
          "name": "job_id",
          "type": "uint64"
        },
        {
          "name": "finished",
          "type": "bool"
        },
        {
          "name": "to",
          "type": "name"
        },
        {
          "name": "contract",
          "type": "name"
        },
        {
          "name": "quantity",
          "type": "asset"
        },
        {
          "name": "memo",
          "type": "string"
        }
      ]
    }
  • Struct property of addjob

    {
      "name": "extended_symbol",
      "base": "",
      "fields": [
        {
          "name": "symbol",
          "type": "symbol"
        },
        {
          "name": "contract",
          "type": "name"
        }
      ]
    }
  • Table row type of globalconfig

    {
      "name": "global_config",
      "base": "",
      "fields": [
        {
          "name": "admin",
          "type": "name"
        },
        {
          "name": "cross_deposit_address",
          "type": "name"
        },
        {
          "name": "cross_withdraw_address",
          "type": "name"
        },
        {
          "name": "account_prefix",
          "type": "name"
        },
        {
          "name": "next_account_id",
          "type": "uint64"
        },
        {
          "name": "next_job_id",
          "type": "uint64"
        },
        {
          "name": "next_apply_id",
          "type": "uint64"
        },
        {
          "name": "next_token_id",
          "type": "uint64"
        },
        {
          "name": "sig_expire_time",
          "type": "uint32"
        }
      ]
    }
  • Action parameter in init

    {
      "name": "init",
      "base": "",
      "fields": [
        {
          "name": "admin",
          "type": "name"
        },
        {
          "name": "cross_deposit_address",
          "type": "name"
        },
        {
          "name": "cross_withdraw_address",
          "type": "name"
        },
        {
          "name": "account_prefix",
          "type": "name"
        }
      ]
    }
  • Table row type of jobstatus

    {
      "name": "job_status",
      "base": "",
      "fields": [
        {
          "name": "account",
          "type": "name"
        },
        {
          "name": "job_id",
          "type": "uint64"
        },
        {
          "name": "ret_chains",
          "type": "symbol_code[]"
        },
        {
          "name": "ret_token_ids",
          "type": "uint64[]"
        },
        {
          "name": "pre_token_balances",
          "type": "int64[]"
        }
      ]
    }
  • Table row type of jobs

    {
      "name": "jobs",
      "base": "",
      "fields": [
        {
          "name": "id",
          "type": "uint64"
        },
        {
          "name": "account",
          "type": "name"
        },
        {
          "name": "allow_out_token_ids",
          "type": "uint64[]"
        },
        {
          "name": "allow_out_assets",
          "type": "extended_asset[]"
        },
        {
          "name": "out_assets",
          "type": "extended_asset[]"
        },
        {
          "name": "ret_chains",
          "type": "symbol_code[]"
        },
        {
          "name": "ret_token_ids",
          "type": "uint64[]"
        },
        {
          "name": "auth_level",
          "type": "uint8"
        },
        {
          "name": "job_data",
          "type": "string"
        },
        {
          "name": "created_time",
          "type": "time_point_sec"
        }
      ]
    }
  • Table row type of prejobitems

    {
      "name": "pre_job_items",
      "base": "",
      "fields": [
        {
          "name": "id",
          "type": "uint64"
        },
        {
          "name": "job_id",
          "type": "uint64"
        },
        {
          "name": "account",
          "type": "name"
        },
        {
          "name": "chain",
          "type": "symbol_code"
        },
        {
          "name": "address",
          "type": "string"
        },
        {
          "name": "auth_address",
          "type": "string"
        },
        {
          "name": "extern_amount",
          "type": "string"
        },
        {
          "name": "extern_memo",
          "type": "string"
        },
        {
          "name": "token_id",
          "type": "uint64"
        }
      ]
    }
  • Table row type of prejobs

    {
      "name": "pre_jobs",
      "base": "",
      "fields": [
        {
          "name": "id",
          "type": "uint64"
        },
        {
          "name": "account",
          "type": "name"
        },
        {
          "name": "actor",
          "type": "name"
        },
        {
          "name": "auth_level",
          "type": "uint8"
        },
        {
          "name": "job_data",
          "type": "string"
        },
        {
          "name": "ret_chains",
          "type": "symbol_code[]"
        },
        {
          "name": "ret_token_ids",
          "type": "uint64[]"
        },
        {
          "name": "items",
          "type": "uint16"
        },
        {
          "name": "items_collected",
          "type": "uint16"
        },
        {
          "name": "collected_out_assets",
          "type": "extended_asset[]"
        },
        {
          "name": "created_time",
          "type": "time_point_sec"
        }
      ]
    }
  • Action parameter in prejob

    {
      "name": "prejob",
      "base": "",
      "fields": [
        {
          "name": "chain_data",
          "type": "string[]"
        },
        {
          "name": "ret_data",
          "type": "string[]"
        },
        {
          "name": "job_data",
          "type": "string"
        },
        {
          "name": "unique_id",
          "type": "uint64"
        }
      ]
    }
  • Table row type of pubkeyapply

    {
      "name": "pubkey_apply",
      "base": "",
      "fields": [
        {
          "name": "id",
          "type": "uint64"
        },
        {
          "name": "account",
          "type": "name"
        },
        {
          "name": "pub_key",
          "type": "public_key"
        },
        {
          "name": "expire_time",
          "type": "time_point_sec"
        },
        {
          "name": "chain",
          "type": "symbol_code"
        },
        {
          "name": "address",
          "type": "string"
        },
        {
          "name": "extern_amount",
          "type": "string"
        },
        {
          "name": "extern_memo",
          "type": "string"
        },
        {
          "name": "auth_address",
          "type": "string"
        }
      ]
    }
  • Action parameter in rmapplybind

    {
      "name": "rmapplybind",
      "base": "",
      "fields": [
        {
          "name": "apply_id",
          "type": "uint64"
        }
      ]
    }
  • Action parameter in rmapplykey

    {
      "name": "rmapplykey",
      "base": "",
      "fields": [
        {
          "name": "apply_id",
          "type": "uint64"
        }
      ]
    }
  • Action parameter in rmassetrec

    {
      "name": "rmassetrec",
      "base": "",
      "fields": [
        {
          "name": "max_record",
          "type": "uint64"
        },
        {
          "name": "to_cash_id",
          "type": "uint64"
        }
      ]
    }
  • Action parameter in rmcashrecord

    {
      "name": "rmcashrecord",
      "base": "",
      "fields": [
        {
          "name": "max_record",
          "type": "uint64"
        },
        {
          "name": "to_cash_id",
          "type": "uint64"
        }
      ]
    }
  • Action parameter in rmdefaultjob

    {
      "name": "rmdefaultjob",
      "base": "",
      "fields": [
        {
          "name": "id",
          "type": "uint64"
        }
      ]
    }
  • Action parameter in rmprejob

    {
      "name": "rmprejob",
      "base": "",
      "fields": [
        {
          "name": "job_id",
          "type": "uint64"
        }
      ]
    }
  • Action parameter in send

    {
      "name": "send",
      "base": "",
      "fields": [
        {
          "name": "from",
          "type": "name"
        },
        {
          "name": "to",
          "type": "name"
        },
        {
          "name": "contract",
          "type": "name"
        },
        {
          "name": "quantity",
          "type": "asset"
        },
        {
          "name": "memo",
          "type": "string"
        },
        {
          "name": "unique_id",
          "type": "uint64?"
        },
        {
          "name": "timestamp",
          "type": "uint32?"
        },
        {
          "name": "sig",
          "type": "signature?"
        }
      ]
    }
  • Table row type of tokenstats

    {
      "name": "token_stats",
      "base": "",
      "fields": [
        {
          "name": "token_id",
          "type": "uint64"
        },
        {
          "name": "balance",
          "type": "asset"
        },
        {
          "name": "holders",
          "type": "int64"
        },
        {
          "name": "updated_time",
          "type": "time_point_sec"
        }
      ]
    }
  • Table row type of tokens

    {
      "name": "tokens",
      "base": "",
      "fields": [
        {
          "name": "id",
          "type": "uint64"
        },
        {
          "name": "contract",
          "type": "name"
        },
        {
          "name": "sym",
          "type": "symbol"
        }
      ]
    }
  • Table row type of uniqueids

    {
      "name": "unique_ids",
      "base": "",
      "fields": [
        {
          "name": "id",
          "type": "uint64"
        },
        {
          "name": "created_time",
          "type": "time_point_sec"
        }
      ]
    }
  • Action parameter in updaddr

    {
      "name": "updaddr",
      "base": "",
      "fields": [
        {
          "name": "auth_address_id",
          "type": "uint64"
        },
        {
          "name": "type",
          "type": "uint8?"
        },
        {
          "name": "auth_level",
          "type": "uint8?"
        },
        {
          "name": "call_contract",
          "type": "name?"
        },
        {
          "name": "call_action",
          "type": "name?"
        },
        {
          "name": "desc",
          "type": "string?"
        },
        {
          "name": "remove",
          "type": "bool"
        }
      ]
    }
  • Action parameter in updallowlist

    {
      "name": "updallowlist",
      "base": "",
      "fields": [
        {
          "name": "contract",
          "type": "name"
        },
        {
          "name": "remove",
          "type": "bool"
        }
      ]
    }