Vaulta

marcopolo543

Contract

{
  "version": "eosio::abi/1.2",
  "types": [],
  "structs": [
    {
      "name": "account",
      "base": "",
      "fields": [
        {
          "name": "balance",
          "type": "asset"
        }
      ]
    },
    {
      "name": "boxnew",
      "base": "",
      "fields": [
        {
          "name": "id",
          "type": "uint64"
        },
        {
          "name": "token_symbol",
          "type": "symbol"
        },
        {
          "name": "token_precision",
          "type": "float64"
        },
        {
          "name": "token_contract_address",
          "type": "name"
        },
        {
          "name": "BOX_id",
          "type": "uint64"
        },
        {
          "name": "BOX_swap_memo",
          "type": "string"
        },
        {
          "name": "NEWDEX_id",
          "type": "uint64"
        },
        {
          "name": "NEWDEX_buy_memo",
          "type": "string"
        },
        {
          "name": "NEWDEX_sell_memo",
          "type": "string"
        }
      ]
    },
    {
      "name": "detect",
      "base": "",
      "fields": [
        {
          "name": "time",
          "type": "int64"
        }
      ]
    },
    {
      "name": "dfsnew",
      "base": "",
      "fields": [
        {
          "name": "id",
          "type": "uint64"
        },
        {
          "name": "token_symbol",
          "type": "symbol"
        },
        {
          "name": "token_precision",
          "type": "float64"
        },
        {
          "name": "token_contract_address",
          "type": "name"
        },
        {
          "name": "DFS_id",
          "type": "uint64"
        },
        {
          "name": "DFS_swap_memo",
          "type": "string"
        },
        {
          "name": "NEWDEX_id",
          "type": "uint64"
        },
        {
          "name": "NEWDEX_buy_memo",
          "type": "string"
        },
        {
          "name": "NEWDEX_sell_memo",
          "type": "string"
        }
      ]
    },
    {
      "name": "eosasset",
      "base": "",
      "fields": [
        {
          "name": "now_after",
          "type": "uint64"
        },
        {
          "name": "token_contract_account",
          "type": "name"
        },
        {
          "name": "owner",
          "type": "name"
        },
        {
          "name": "sym",
          "type": "symbol"
        }
      ]
    },
    {
      "name": "eosleft",
      "base": "",
      "fields": [
        {
          "name": "id",
          "type": "uint64"
        },
        {
          "name": "balance",
          "type": "asset"
        }
      ]
    },
    {
      "name": "exchange_pair",
      "base": "",
      "fields": [
        {
          "name": "pair_id",
          "type": "uint64"
        },
        {
          "name": "price_precision",
          "type": "uint8"
        },
        {
          "name": "status",
          "type": "uint8"
        },
        {
          "name": "base_symbol",
          "type": "ndx_symbol"
        },
        {
          "name": "quote_symbol",
          "type": "ndx_symbol"
        },
        {
          "name": "manager",
          "type": "name"
        },
        {
          "name": "list_time",
          "type": "time_point_sec"
        },
        {
          "name": "pair_symbol",
          "type": "string"
        },
        {
          "name": "current_price",
          "type": "float64"
        },
        {
          "name": "base_currency_id",
          "type": "uint64"
        },
        {
          "name": "quote_currency_id",
          "type": "uint64"
        },
        {
          "name": "pair_fee",
          "type": "uint8"
        },
        {
          "name": "ext1",
          "type": "uint64"
        },
        {
          "name": "ext2",
          "type": "uint64"
        },
        {
          "name": "extstr",
          "type": "string"
        }
      ]
    },
    {
      "name": "exsymbol",
      "base": "",
      "fields": [
        {
          "name": "sym",
          "type": "symbol"
        },
        {
          "name": "contract",
          "type": "name"
        }
      ]
    },
    {
      "name": "getdata",
      "base": "",
      "fields": [
        {
          "name": "pair_id",
          "type": "uint64"
        }
      ]
    },
    {
      "name": "hbgbox",
      "base": "",
      "fields": [
        {
          "name": "id",
          "type": "uint64"
        },
        {
          "name": "token_symbol",
          "type": "symbol"
        },
        {
          "name": "token_precision",
          "type": "float64"
        },
        {
          "name": "token_contract_address",
          "type": "name"
        },
        {
          "name": "BOX_id",
          "type": "uint64"
        },
        {
          "name": "BOX_swap_memo",
          "type": "string"
        },
        {
          "name": "HBG_id",
          "type": "uint64"
        },
        {
          "name": "HBG_swap_memo",
          "type": "string"
        }
      ]
    },
    {
      "name": "judge",
      "base": "",
      "fields": []
    },
    {
      "name": "market",
      "base": "",
      "fields": [
        {
          "name": "mid",
          "type": "uint64"
        },
        {
          "name": "contract0",
          "type": "name"
        },
        {
          "name": "contract1",
          "type": "name"
        },
        {
          "name": "sym0",
          "type": "symbol"
        },
        {
          "name": "sym1",
          "type": "symbol"
        },
        {
          "name": "reserve0",
          "type": "asset"
        },
        {
          "name": "reserve1",
          "type": "asset"
        },
        {
          "name": "liquidity_token",
          "type": "uint64"
        },
        {
          "name": "price0_last",
          "type": "float64"
        },
        {
          "name": "price1_last",
          "type": "float64"
        },
        {
          "name": "price0_cumulative_last",
          "type": "uint64"
        },
        {
          "name": "price1_cumulative_last",
          "type": "uint64"
        },
        {
          "name": "last_update",
          "type": "time_point_sec"
        }
      ]
    },
    {
      "name": "ndx_symbol",
      "base": "",
      "fields": [
        {
          "name": "contrat_name",
          "type": "name"
        },
        {
          "name": "token_symbol",
          "type": "symbol"
        }
      ]
    },
    {
      "name": "notify",
      "base": "",
      "fields": [
        {
          "name": "user",
          "type": "name"
        },
        {
          "name": "msg",
          "type": "string"
        }
      ]
    },
    {
      "name": "order",
      "base": "",
      "fields": [
        {
          "name": "order_id",
          "type": "uint64"
        },
        {
          "name": "pair_id",
          "type": "uint64"
        },
        {
          "name": "type",
          "type": "uint8"
        },
        {
          "name": "owner",
          "type": "name"
        },
        {
          "name": "placed_time",
          "type": "time_point_sec"
        },
        {
          "name": "remain_quantity",
          "type": "asset"
        },
        {
          "name": "remain_convert",
          "type": "asset"
        },
        {
          "name": "price",
          "type": "float64"
        },
        {
          "name": "contract",
          "type": "name"
        },
        {
          "name": "count",
          "type": "uint8"
        },
        {
          "name": "crosschain",
          "type": "uint8"
        },
        {
          "name": "ext1",
          "type": "uint64"
        },
        {
          "name": "extstr",
          "type": "string"
        }
      ]
    },
    {
      "name": "pair",
      "base": "",
      "fields": [
        {
          "name": "id",
          "type": "uint64"
        },
        {
          "name": "token0",
          "type": "token"
        },
        {
          "name": "token1",
          "type": "token"
        },
        {
          "name": "reserve0",
          "type": "asset"
        },
        {
          "name": "reserve1",
          "type": "asset"
        },
        {
          "name": "liquidity_token",
          "type": "uint64"
        },
        {
          "name": "price0_last",
          "type": "float64"
        },
        {
          "name": "price1_last",
          "type": "float64"
        },
        {
          "name": "price0_cumulative_last",
          "type": "uint64"
        },
        {
          "name": "price1_cumulative_last",
          "type": "uint64"
        },
        {
          "name": "block_time_last",
          "type": "time_point_sec"
        }
      ]
    },
    {
      "name": "pairhbg",
      "base": "",
      "fields": [
        {
          "name": "id",
          "type": "uint64"
        },
        {
          "name": "code",
          "type": "symbol_code"
        },
        {
          "name": "token0",
          "type": "exsymbol"
        },
        {
          "name": "token1",
          "type": "exsymbol"
        },
        {
          "name": "reserve0",
          "type": "asset"
        },
        {
          "name": "reserve1",
          "type": "asset"
        },
        {
          "name": "total_liquidity",
          "type": "uint64"
        },
        {
          "name": "last_update_time",
          "type": "uint32"
        },
        {
          "name": "create_time",
          "type": "uint32"
        }
      ]
    },
    {
      "name": "rome",
      "base": "",
      "fields": [
        {
          "name": "time",
          "type": "int64"
        }
      ]
    },
    {
      "name": "romeboxs",
      "base": "",
      "fields": [
        {
          "name": "id",
          "type": "uint64"
        },
        {
          "name": "token_symbol",
          "type": "symbol"
        },
        {
          "name": "token_precision",
          "type": "float64"
        },
        {
          "name": "token_contract_address",
          "type": "name"
        },
        {
          "name": "BOX_id",
          "type": "uint64"
        },
        {
          "name": "BOX_swap_memo",
          "type": "string"
        },
        {
          "name": "ROME_id",
          "type": "uint64"
        },
        {
          "name": "ROME_swap_memo",
          "type": "string"
        }
      ]
    },
    {
      "name": "romemarket",
      "base": "",
      "fields": [
        {
          "name": "mid",
          "type": "uint64"
        },
        {
          "name": "contract0",
          "type": "name"
        },
        {
          "name": "contract1",
          "type": "name"
        },
        {
          "name": "sym0",
          "type": "symbol"
        },
        {
          "name": "sym1",
          "type": "symbol"
        },
        {
          "name": "reserve0",
          "type": "asset"
        },
        {
          "name": "reserve1",
          "type": "asset"
        },
        {
          "name": "liquidity_token",
          "type": "uint64"
        },
        {
          "name": "price0_last",
          "type": "float64"
        },
        {
          "name": "price1_last",
          "type": "float64"
        },
        {
          "name": "price0_cumulative_last",
          "type": "uint64"
        },
        {
          "name": "price1_cumulative_last",
          "type": "uint64"
        },
        {
          "name": "last_update",
          "type": "time_point_sec"
        }
      ]
    },
    {
      "name": "selltoken",
      "base": "",
      "fields": [
        {
          "name": "from",
          "type": "name"
        },
        {
          "name": "dex_contract_address",
          "type": "name"
        },
        {
          "name": "token_contract_address",
          "type": "name"
        },
        {
          "name": "dex_swap_memo",
          "type": "string"
        }
      ]
    },
    {
      "name": "target",
      "base": "",
      "fields": [
        {
          "name": "id",
          "type": "uint64"
        },
        {
          "name": "token_symbol",
          "type": "symbol"
        },
        {
          "name": "token_precision",
          "type": "float64"
        },
        {
          "name": "token_contract_address",
          "type": "name"
        },
        {
          "name": "BOX_id",
          "type": "uint64"
        },
        {
          "name": "BOX_swap_memo",
          "type": "string"
        },
        {
          "name": "DFS_id",
          "type": "uint64"
        },
        {
          "name": "DFS_swap_memo",
          "type": "string"
        }
      ]
    },
    {
      "name": "token",
      "base": "",
      "fields": [
        {
          "name": "contrat_name",
          "type": "name"
        },
        {
          "name": "token_symbol",
          "type": "symbol"
        }
      ]
    },
    {
      "name": "tokenasset",
      "base": "",
      "fields": [
        {
          "name": "token_contract_account",
          "type": "name"
        },
        {
          "name": "owner",
          "type": "name"
        },
        {
          "name": "sym",
          "type": "symbol"
        }
      ]
    },
    {
      "name": "tokenleft",
      "base": "",
      "fields": [
        {
          "name": "id",
          "type": "uint64"
        },
        {
          "name": "balance",
          "type": "asset"
        }
      ]
    },
    {
      "name": "upserttarget",
      "base": "",
      "fields": [
        {
          "name": "id",
          "type": "uint64"
        },
        {
          "name": "token_symbol",
          "type": "symbol"
        },
        {
          "name": "token_precision",
          "type": "float64"
        },
        {
          "name": "token_contract_address",
          "type": "name"
        },
        {
          "name": "BOX_id",
          "type": "uint64"
        },
        {
          "name": "BOX_swap_memo",
          "type": "string"
        },
        {
          "name": "DFS_id",
          "type": "uint64"
        },
        {
          "name": "DFS_swap_memo",
          "type": "string"
        }
      ]
    }
  ],
  "actions": [
    {
      "name": "detect",
      "type": "detect",
      "ricardian_contract": ""
    },
    {
      "name": "eosasset",
      "type": "eosasset",
      "ricardian_contract": ""
    },
    {
      "name": "getdata",
      "type": "getdata",
      "ricardian_contract": ""
    },
    {
      "name": "judge",
      "type": "judge",
      "ricardian_contract": ""
    },
    {
      "name": "notify",
      "type": "notify",
      "ricardian_contract": ""
    },
    {
      "name": "rome",
      "type": "rome",
      "ricardian_contract": ""
    },
    {
      "name": "selltoken",
      "type": "selltoken",
      "ricardian_contract": ""
    },
    {
      "name": "tokenasset",
      "type": "tokenasset",
      "ricardian_contract": ""
    },
    {
      "name": "upserttarget",
      "type": "upserttarget",
      "ricardian_contract": ""
    }
  ],
  "tables": [
    {
      "name": "accounts",
      "index_type": "i64",
      "key_names": [],
      "key_types": [],
      "type": "account"
    },
    {
      "name": "boxnews",
      "index_type": "i64",
      "key_names": [],
      "key_types": [],
      "type": "boxnew"
    },
    {
      "name": "buyorder",
      "index_type": "i64",
      "key_names": [],
      "key_types": [],
      "type": "order"
    },
    {
      "name": "dfsnews",
      "index_type": "i64",
      "key_names": [],
      "key_types": [],
      "type": "dfsnew"
    },
    {
      "name": "eoslefts",
      "index_type": "i64",
      "key_names": [],
      "key_types": [],
      "type": "eosleft"
    },
    {
      "name": "exchangepair",
      "index_type": "i64",
      "key_names": [],
      "key_types": [],
      "type": "exchange_pair"
    },
    {
      "name": "hbgboxs",
      "index_type": "i64",
      "key_names": [],
      "key_types": [],
      "type": "hbgbox"
    },
    {
      "name": "markets",
      "index_type": "i64",
      "key_names": [],
      "key_types": [],
      "type": "market"
    },
    {
      "name": "pairhbgs",
      "index_type": "i64",
      "key_names": [],
      "key_types": [],
      "type": "pairhbg"
    },
    {
      "name": "pairs",
      "index_type": "i64",
      "key_names": [],
      "key_types": [],
      "type": "pair"
    },
    {
      "name": "romeboxs",
      "index_type": "i64",
      "key_names": [],
      "key_types": [],
      "type": "romeboxs"
    },
    {
      "name": "romemarket",
      "index_type": "i64",
      "key_names": [],
      "key_types": [],
      "type": "romemarket"
    },
    {
      "name": "romemarkets",
      "index_type": "i64",
      "key_names": [],
      "key_types": [],
      "type": "market"
    },
    {
      "name": "sellorder",
      "index_type": "i64",
      "key_names": [],
      "key_types": [],
      "type": "order"
    },
    {
      "name": "targets",
      "index_type": "i64",
      "key_names": [],
      "key_types": [],
      "type": "target"
    },
    {
      "name": "tokenlefts",
      "index_type": "i64",
      "key_names": [],
      "key_types": [],
      "type": "tokenleft"
    }
  ],
  "ricardian_clauses": [],
  "error_messages": [],
  "abi_extensions": [],
  "variants": [],
  "action_results": []
}