Vaulta

rpspakdrh3eb

Contract

{
  "version": "eosio::abi/1.2",
  "types": [],
  "structs": [
    {
      "name": "add_swap_income",
      "base": "",
      "fields": [
        {
          "name": "income",
          "type": "extended_asset"
        }
      ]
    },
    {
      "name": "block_buy_order",
      "base": "",
      "fields": [
        {
          "name": "ord_id",
          "type": "uint64"
        },
        {
          "name": "token",
          "type": "symbol_code"
        }
      ]
    },
    {
      "name": "block_sell_order",
      "base": "",
      "fields": [
        {
          "name": "ord_id",
          "type": "uint64"
        },
        {
          "name": "token",
          "type": "symbol_code"
        }
      ]
    },
    {
      "name": "buy_crypto",
      "base": "",
      "fields": [
        {
          "name": "ord_id",
          "type": "uint64"
        },
        {
          "name": "user",
          "type": "name"
        },
        {
          "name": "volume",
          "type": "asset"
        },
        {
          "name": "insurance",
          "type": "asset"
        }
      ]
    },
    {
      "name": "cancel_buy_deal",
      "base": "",
      "fields": [
        {
          "name": "id",
          "type": "uint64"
        },
        {
          "name": "token",
          "type": "symbol_code"
        }
      ]
    },
    {
      "name": "cancel_sell_deal",
      "base": "",
      "fields": [
        {
          "name": "id",
          "type": "uint64"
        },
        {
          "name": "token",
          "type": "symbol_code"
        }
      ]
    },
    {
      "name": "close_account",
      "base": "",
      "fields": [
        {
          "name": "owner",
          "type": "name"
        },
        {
          "name": "symbol",
          "type": "symbol"
        }
      ]
    },
    {
      "name": "close_buy_order",
      "base": "",
      "fields": [
        {
          "name": "ord_id",
          "type": "uint64"
        },
        {
          "name": "token",
          "type": "symbol_code"
        }
      ]
    },
    {
      "name": "close_sell_order",
      "base": "",
      "fields": [
        {
          "name": "ord_id",
          "type": "uint64"
        },
        {
          "name": "token",
          "type": "symbol_code"
        }
      ]
    },
    {
      "name": "complete_buy_deal",
      "base": "",
      "fields": [
        {
          "name": "id",
          "type": "uint64"
        },
        {
          "name": "token",
          "type": "symbol_code"
        }
      ]
    },
    {
      "name": "complete_sell_deal",
      "base": "",
      "fields": [
        {
          "name": "id",
          "type": "uint64"
        },
        {
          "name": "token",
          "type": "symbol_code"
        }
      ]
    },
    {
      "name": "counter",
      "base": "",
      "fields": [
        {
          "name": "token",
          "type": "symbol_code"
        },
        {
          "name": "available_ord_id",
          "type": "uint64"
        },
        {
          "name": "available_deal_id",
          "type": "uint64"
        }
      ]
    },
    {
      "name": "create_buy_order",
      "base": "",
      "fields": [
        {
          "name": "user",
          "type": "name"
        },
        {
          "name": "volume",
          "type": "asset"
        },
        {
          "name": "insurance",
          "type": "asset"
        },
        {
          "name": "min_package",
          "type": "asset"
        },
        {
          "name": "max_package",
          "type": "asset"
        },
        {
          "name": "meta",
          "type": "string"
        },
        {
          "name": "data",
          "type": "string"
        }
      ]
    },
    {
      "name": "create_sell_order",
      "base": "",
      "fields": [
        {
          "name": "user",
          "type": "name"
        },
        {
          "name": "volume",
          "type": "asset"
        },
        {
          "name": "insurance",
          "type": "asset"
        },
        {
          "name": "min_package",
          "type": "asset"
        },
        {
          "name": "max_package",
          "type": "asset"
        },
        {
          "name": "meta",
          "type": "string"
        },
        {
          "name": "data",
          "type": "string"
        }
      ]
    },
    {
      "name": "deal",
      "base": "",
      "fields": [
        {
          "name": "id",
          "type": "uint64"
        },
        {
          "name": "order_id",
          "type": "uint64"
        },
        {
          "name": "status",
          "type": "name"
        },
        {
          "name": "seller",
          "type": "name"
        },
        {
          "name": "buyer",
          "type": "name"
        },
        {
          "name": "volume",
          "type": "asset"
        },
        {
          "name": "insurance",
          "type": "asset"
        },
        {
          "name": "meta",
          "type": "string"
        },
        {
          "name": "data",
          "type": "string"
        },
        {
          "name": "creation_date",
          "type": "time_point_sec"
        },
        {
          "name": "expiration_date",
          "type": "time_point_sec"
        }
      ]
    },
    {
      "name": "deal_details",
      "base": "",
      "fields": [
        {
          "name": "id",
          "type": "uint64"
        },
        {
          "name": "ord_id",
          "type": "uint64"
        },
        {
          "name": "buyer_details",
          "type": "details"
        },
        {
          "name": "seller_details",
          "type": "details"
        },
        {
          "name": "meta",
          "type": "string"
        },
        {
          "name": "data",
          "type": "string"
        }
      ]
    },
    {
      "name": "deposit",
      "base": "",
      "fields": [
        {
          "name": "balance",
          "type": "asset"
        },
        {
          "name": "blocked_balance",
          "type": "asset"
        }
      ]
    },
    {
      "name": "details",
      "base": "",
      "fields": [
        {
          "name": "user",
          "type": "name"
        },
        {
          "name": "volume_delta",
          "type": "asset"
        },
        {
          "name": "insurance_delta",
          "type": "asset"
        },
        {
          "name": "penalty_delta",
          "type": "asset"
        }
      ]
    },
    {
      "name": "open_account",
      "base": "",
      "fields": [
        {
          "name": "owner",
          "type": "name"
        },
        {
          "name": "symbol",
          "type": "symbol"
        },
        {
          "name": "ram_payer",
          "type": "name"
        }
      ]
    },
    {
      "name": "order",
      "base": "",
      "fields": [
        {
          "name": "id",
          "type": "uint64"
        },
        {
          "name": "owner",
          "type": "name"
        },
        {
          "name": "status",
          "type": "name"
        },
        {
          "name": "volume",
          "type": "asset"
        },
        {
          "name": "insurance",
          "type": "asset"
        },
        {
          "name": "volume_balance",
          "type": "asset"
        },
        {
          "name": "insurance_balance",
          "type": "asset"
        },
        {
          "name": "min_package",
          "type": "asset"
        },
        {
          "name": "max_package",
          "type": "asset"
        },
        {
          "name": "meta",
          "type": "string"
        },
        {
          "name": "data",
          "type": "string"
        }
      ]
    },
    {
      "name": "rating",
      "base": "",
      "fields": [
        {
          "name": "user",
          "type": "name"
        },
        {
          "name": "completed_deals",
          "type": "uint64"
        },
        {
          "name": "failed_deals",
          "type": "uint64"
        }
      ]
    },
    {
      "name": "sell_crypto",
      "base": "",
      "fields": [
        {
          "name": "ord_id",
          "type": "uint64"
        },
        {
          "name": "user",
          "type": "name"
        },
        {
          "name": "volume",
          "type": "asset"
        },
        {
          "name": "insurance",
          "type": "asset"
        }
      ]
    },
    {
      "name": "set_buy_deal_dispute",
      "base": "",
      "fields": [
        {
          "name": "id",
          "type": "uint64"
        },
        {
          "name": "token",
          "type": "symbol_code"
        }
      ]
    },
    {
      "name": "set_sell_deal_dispute",
      "base": "",
      "fields": [
        {
          "name": "id",
          "type": "uint64"
        },
        {
          "name": "token",
          "type": "symbol_code"
        }
      ]
    },
    {
      "name": "swap",
      "base": "",
      "fields": [
        {
          "name": "income",
          "type": "extended_asset"
        }
      ]
    },
    {
      "name": "unblock_buy_order",
      "base": "",
      "fields": [
        {
          "name": "ord_id",
          "type": "uint64"
        },
        {
          "name": "token",
          "type": "symbol_code"
        }
      ]
    },
    {
      "name": "unblock_sell_order",
      "base": "",
      "fields": [
        {
          "name": "ord_id",
          "type": "uint64"
        },
        {
          "name": "token",
          "type": "symbol_code"
        }
      ]
    },
    {
      "name": "withdraw",
      "base": "",
      "fields": [
        {
          "name": "owner",
          "type": "name"
        },
        {
          "name": "value",
          "type": "asset"
        }
      ]
    }
  ],
  "actions": [
    {
      "name": "addswapinc",
      "type": "add_swap_income",
      "ricardian_contract": ""
    },
    {
      "name": "blbuyord",
      "type": "block_buy_order",
      "ricardian_contract": ""
    },
    {
      "name": "blsellord",
      "type": "block_sell_order",
      "ricardian_contract": ""
    },
    {
      "name": "buycrypto",
      "type": "buy_crypto",
      "ricardian_contract": ""
    },
    {
      "name": "close",
      "type": "close_account",
      "ricardian_contract": ""
    },
    {
      "name": "clsbuyord",
      "type": "close_buy_order",
      "ricardian_contract": ""
    },
    {
      "name": "clssellord",
      "type": "close_sell_order",
      "ricardian_contract": ""
    },
    {
      "name": "cmptbuydeal",
      "type": "complete_buy_deal",
      "ricardian_contract": ""
    },
    {
      "name": "cmptselldeal",
      "type": "complete_sell_deal",
      "ricardian_contract": ""
    },
    {
      "name": "cnlbuydeal",
      "type": "cancel_buy_deal",
      "ricardian_contract": ""
    },
    {
      "name": "cnlselldeal",
      "type": "cancel_sell_deal",
      "ricardian_contract": ""
    },
    {
      "name": "crtbuyord",
      "type": "create_buy_order",
      "ricardian_contract": ""
    },
    {
      "name": "crtsellord",
      "type": "create_sell_order",
      "ricardian_contract": ""
    },
    {
      "name": "dealdetails",
      "type": "deal_details",
      "ricardian_contract": ""
    },
    {
      "name": "open",
      "type": "open_account",
      "ricardian_contract": ""
    },
    {
      "name": "sellcrypto",
      "type": "sell_crypto",
      "ricardian_contract": ""
    },
    {
      "name": "setbuyddspt",
      "type": "set_buy_deal_dispute",
      "ricardian_contract": ""
    },
    {
      "name": "setsellddspt",
      "type": "set_sell_deal_dispute",
      "ricardian_contract": ""
    },
    {
      "name": "unblbuyord",
      "type": "unblock_buy_order",
      "ricardian_contract": ""
    },
    {
      "name": "unblsellord",
      "type": "unblock_sell_order",
      "ricardian_contract": ""
    },
    {
      "name": "withdraw",
      "type": "withdraw",
      "ricardian_contract": ""
    }
  ],
  "tables": [
    {
      "name": "buydeals",
      "index_type": "i64",
      "key_names": [],
      "key_types": [],
      "type": "deal"
    },
    {
      "name": "buyorders",
      "index_type": "i64",
      "key_names": [],
      "key_types": [],
      "type": "order"
    },
    {
      "name": "counters",
      "index_type": "i64",
      "key_names": [],
      "key_types": [],
      "type": "counter"
    },
    {
      "name": "deposits",
      "index_type": "i64",
      "key_names": [],
      "key_types": [],
      "type": "deposit"
    },
    {
      "name": "rating",
      "index_type": "i64",
      "key_names": [],
      "key_types": [],
      "type": "rating"
    },
    {
      "name": "selldeals",
      "index_type": "i64",
      "key_names": [],
      "key_types": [],
      "type": "deal"
    },
    {
      "name": "sellorders",
      "index_type": "i64",
      "key_names": [],
      "key_types": [],
      "type": "order"
    },
    {
      "name": "swap",
      "index_type": "i64",
      "key_names": [],
      "key_types": [],
      "type": "swap"
    }
  ],
  "ricardian_clauses": [],
  "error_messages": [],
  "abi_extensions": [],
  "variants": [],
  "action_results": []
}