Vaulta

xuanming.io

Contract

{
  "version": "eosio::abi/1.1",
  "types": [],
  "structs": [
    {
      "name": "accounts",
      "base": "",
      "fields": [
        {
          "name": "account",
          "type": "name"
        },
        {
          "name": "pub_keys",
          "type": "public_key[]"
        }
      ]
    },
    {
      "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?"
        }
      ]
    },
    {
      "name": "addresses",
      "base": "",
      "fields": [
        {
          "name": "account",
          "type": "name"
        },
        {
          "name": "address",
          "type": "string"
        }
      ]
    },
    {
      "name": "allow_list",
      "base": "",
      "fields": [
        {
          "name": "contract",
          "type": "name"
        }
      ]
    },
    {
      "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?"
        }
      ]
    },
    {
      "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"
        }
      ]
    },
    {
      "name": "applykey",
      "base": "",
      "fields": [
        {
          "name": "chain",
          "type": "symbol_code"
        },
        {
          "name": "address",
          "type": "string"
        },
        {
          "name": "key",
          "type": "public_key"
        },
        {
          "name": "unique_id",
          "type": "uint64"
        }
      ]
    },
    {
      "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"
        }
      ]
    },
    {
      "name": "assets",
      "base": "",
      "fields": [
        {
          "name": "token_id",
          "type": "uint64"
        },
        {
          "name": "balance",
          "type": "int64"
        }
      ]
    },
    {
      "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"
        }
      ]
    },
    {
      "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"
        }
      ]
    },
    {
      "name": "balances",
      "base": "",
      "fields": [
        {
          "name": "balance",
          "type": "asset"
        }
      ]
    },
    {
      "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"
        }
      ]
    },
    {
      "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?"
        }
      ]
    },
    {
      "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"
        }
      ]
    },
    {
      "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"
        }
      ]
    },
    {
      "name": "defaultjob",
      "base": "",
      "fields": [
        {
          "name": "chain_data",
          "type": "string"
        },
        {
          "name": "ret_data",
          "type": "string[]"
        },
        {
          "name": "job_data",
          "type": "string"
        },
        {
          "name": "direct_execute",
          "type": "bool"
        }
      ]
    },
    {
      "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"
        }
      ]
    },
    {
      "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"
        }
      ]
    },
    {
      "name": "extended_symbol",
      "base": "",
      "fields": [
        {
          "name": "symbol",
          "type": "symbol"
        },
        {
          "name": "contract",
          "type": "name"
        }
      ]
    },
    {
      "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"
        }
      ]
    },
    {
      "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"
        }
      ]
    },
    {
      "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[]"
        }
      ]
    },
    {
      "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"
        }
      ]
    },
    {
      "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"
        }
      ]
    },
    {
      "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"
        }
      ]
    },
    {
      "name": "prejob",
      "base": "",
      "fields": [
        {
          "name": "chain_data",
          "type": "string[]"
        },
        {
          "name": "ret_data",
          "type": "string[]"
        },
        {
          "name": "job_data",
          "type": "string"
        },
        {
          "name": "unique_id",
          "type": "uint64"
        }
      ]
    },
    {
      "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"
        }
      ]
    },
    {
      "name": "rmapplybind",
      "base": "",
      "fields": [
        {
          "name": "apply_id",
          "type": "uint64"
        }
      ]
    },
    {
      "name": "rmapplykey",
      "base": "",
      "fields": [
        {
          "name": "apply_id",
          "type": "uint64"
        }
      ]
    },
    {
      "name": "rmassetrec",
      "base": "",
      "fields": [
        {
          "name": "max_record",
          "type": "uint64"
        },
        {
          "name": "to_cash_id",
          "type": "uint64"
        }
      ]
    },
    {
      "name": "rmcashrecord",
      "base": "",
      "fields": [
        {
          "name": "max_record",
          "type": "uint64"
        },
        {
          "name": "to_cash_id",
          "type": "uint64"
        }
      ]
    },
    {
      "name": "rmdefaultjob",
      "base": "",
      "fields": [
        {
          "name": "id",
          "type": "uint64"
        }
      ]
    },
    {
      "name": "rmprejob",
      "base": "",
      "fields": [
        {
          "name": "job_id",
          "type": "uint64"
        }
      ]
    },
    {
      "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?"
        }
      ]
    },
    {
      "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"
        }
      ]
    },
    {
      "name": "tokens",
      "base": "",
      "fields": [
        {
          "name": "id",
          "type": "uint64"
        },
        {
          "name": "contract",
          "type": "name"
        },
        {
          "name": "sym",
          "type": "symbol"
        }
      ]
    },
    {
      "name": "unique_ids",
      "base": "",
      "fields": [
        {
          "name": "id",
          "type": "uint64"
        },
        {
          "name": "created_time",
          "type": "time_point_sec"
        }
      ]
    },
    {
      "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"
        }
      ]
    },
    {
      "name": "updallowlist",
      "base": "",
      "fields": [
        {
          "name": "contract",
          "type": "name"
        },
        {
          "name": "remove",
          "type": "bool"
        }
      ]
    }
  ],
  "actions": [
    {
      "name": "addjob",
      "type": "addjob",
      "ricardian_contract": ""
    },
    {
      "name": "applybind",
      "type": "applybind",
      "ricardian_contract": ""
    },
    {
      "name": "applybind2",
      "type": "applybind2",
      "ricardian_contract": ""
    },
    {
      "name": "applykey",
      "type": "applykey",
      "ricardian_contract": ""
    },
    {
      "name": "authaddr",
      "type": "authaddr",
      "ricardian_contract": ""
    },
    {
      "name": "call",
      "type": "call",
      "ricardian_contract": ""
    },
    {
      "name": "defaultjob",
      "type": "defaultjob",
      "ricardian_contract": ""
    },
    {
      "name": "execcall",
      "type": "execcall",
      "ricardian_contract": ""
    },
    {
      "name": "execsend",
      "type": "execsend",
      "ricardian_contract": ""
    },
    {
      "name": "init",
      "type": "init",
      "ricardian_contract": ""
    },
    {
      "name": "prejob",
      "type": "prejob",
      "ricardian_contract": ""
    },
    {
      "name": "rmapplybind",
      "type": "rmapplybind",
      "ricardian_contract": ""
    },
    {
      "name": "rmapplykey",
      "type": "rmapplykey",
      "ricardian_contract": ""
    },
    {
      "name": "rmassetrec",
      "type": "rmassetrec",
      "ricardian_contract": ""
    },
    {
      "name": "rmcashrecord",
      "type": "rmcashrecord",
      "ricardian_contract": ""
    },
    {
      "name": "rmdefaultjob",
      "type": "rmdefaultjob",
      "ricardian_contract": ""
    },
    {
      "name": "rmprejob",
      "type": "rmprejob",
      "ricardian_contract": ""
    },
    {
      "name": "send",
      "type": "send",
      "ricardian_contract": ""
    },
    {
      "name": "updaddr",
      "type": "updaddr",
      "ricardian_contract": ""
    },
    {
      "name": "updallowlist",
      "type": "updallowlist",
      "ricardian_contract": ""
    }
  ],
  "tables": [
    {
      "name": "accounts",
      "index_type": "i64",
      "key_names": [],
      "key_types": [],
      "type": "accounts"
    },
    {
      "name": "addresses",
      "index_type": "i64",
      "key_names": [],
      "key_types": [],
      "type": "addresses"
    },
    {
      "name": "allowlist",
      "index_type": "i64",
      "key_names": [],
      "key_types": [],
      "type": "allow_list"
    },
    {
      "name": "assetrecords",
      "index_type": "i64",
      "key_names": [],
      "key_types": [],
      "type": "asset_records"
    },
    {
      "name": "assets",
      "index_type": "i64",
      "key_names": [],
      "key_types": [],
      "type": "assets"
    },
    {
      "name": "authaddr",
      "index_type": "i64",
      "key_names": [],
      "key_types": [],
      "type": "auth_address"
    },
    {
      "name": "balances",
      "index_type": "i64",
      "key_names": [],
      "key_types": [],
      "type": "balances"
    },
    {
      "name": "bindapply",
      "index_type": "i64",
      "key_names": [],
      "key_types": [],
      "type": "bind_apply"
    },
    {
      "name": "cashrecords",
      "index_type": "i64",
      "key_names": [],
      "key_types": [],
      "type": "cash_records"
    },
    {
      "name": "defaultjobs",
      "index_type": "i64",
      "key_names": [],
      "key_types": [],
      "type": "default_jobs"
    },
    {
      "name": "globalconfig",
      "index_type": "i64",
      "key_names": [],
      "key_types": [],
      "type": "global_config"
    },
    {
      "name": "jobs",
      "index_type": "i64",
      "key_names": [],
      "key_types": [],
      "type": "jobs"
    },
    {
      "name": "jobstatus",
      "index_type": "i64",
      "key_names": [],
      "key_types": [],
      "type": "job_status"
    },
    {
      "name": "prejobitems",
      "index_type": "i64",
      "key_names": [],
      "key_types": [],
      "type": "pre_job_items"
    },
    {
      "name": "prejobs",
      "index_type": "i64",
      "key_names": [],
      "key_types": [],
      "type": "pre_jobs"
    },
    {
      "name": "pubkeyapply",
      "index_type": "i64",
      "key_names": [],
      "key_types": [],
      "type": "pubkey_apply"
    },
    {
      "name": "tokens",
      "index_type": "i64",
      "key_names": [],
      "key_types": [],
      "type": "tokens"
    },
    {
      "name": "tokenstats",
      "index_type": "i64",
      "key_names": [],
      "key_types": [],
      "type": "token_stats"
    },
    {
      "name": "uniqueids",
      "index_type": "i64",
      "key_names": [],
      "key_types": [],
      "type": "unique_ids"
    }
  ],
  "ricardian_clauses": [],
  "error_messages": [],
  "abi_extensions": [],
  "variants": [],
  "action_results": []
}