{
"version": "eosio::abi/1.2",
"types": [
{
"new_type_name": "decimal",
"type": "asset"
}
],
"structs": [
{
"name": "addallow",
"base": "",
"fields": [
{
"name": "account",
"type": "name"
},
{
"name": "feature",
"type": "name"
},
{
"name": "duration",
"type": "uint32"
}
]
},
{
"name": "addallows",
"base": "",
"fields": [
{
"name": "accounts",
"type": "name[]"
},
{
"name": "feature",
"type": "name"
},
{
"name": "duration",
"type": "uint32"
}
]
},
{
"name": "addmarket",
"base": "",
"fields": [
{
"name": "psym",
"type": "symbol_code"
},
{
"name": "sym0",
"type": "extended_symbol"
},
{
"name": "sym1",
"type": "extended_symbol"
},
{
"name": "config",
"type": "market_config"
}
]
},
{
"name": "addpool",
"base": "",
"fields": [
{
"name": "psym",
"type": "symbol_code"
},
{
"name": "decimals",
"type": "uint8"
}
]
},
{
"name": "allowlist",
"base": "",
"fields": [
{
"name": "account",
"type": "name"
},
{
"name": "type",
"type": "uint8"
},
{
"name": "expired_at",
"type": "uint64"
}
]
},
{
"name": "extended_symbol",
"base": "",
"fields": [
{
"name": "sym",
"type": "symbol"
},
{
"name": "contract",
"type": "name"
}
]
},
{
"name": "invitation",
"base": "",
"fields": [
{
"name": "code",
"type": "name"
},
{
"name": "account",
"type": "name"
},
{
"name": "fee_rate",
"type": "decimal"
}
]
},
{
"name": "liqdt",
"base": "",
"fields": [
{
"name": "id",
"type": "uint64"
},
{
"name": "account",
"type": "name"
},
{
"name": "lptoken",
"type": "symbol"
},
{
"name": "reserves",
"type": "asset[]"
},
{
"name": "lpamount",
"type": "uint64"
}
]
},
{
"name": "market",
"base": "",
"fields": [
{
"name": "lptoken",
"type": "symbol"
},
{
"name": "syms",
"type": "extended_symbol[]"
},
{
"name": "reserves",
"type": "asset[]"
},
{
"name": "prices",
"type": "float64[]"
},
{
"name": "lendables",
"type": "bytes"
},
{
"name": "lpamount",
"type": "uint64"
},
{
"name": "config",
"type": "market_config"
}
]
},
{
"name": "market_config",
"base": "",
"fields": [
{
"name": "leverage",
"type": "uint32"
},
{
"name": "fee_rate",
"type": "decimal"
}
]
},
{
"name": "market_fee",
"base": "",
"fields": [
{
"name": "lptoken",
"type": "symbol"
},
{
"name": "lp_rate",
"type": "decimal"
},
{
"name": "index",
"type": "int32"
}
]
},
{
"name": "market_leverage",
"base": "",
"fields": [
{
"name": "lptoken",
"type": "symbol"
},
{
"name": "leverage",
"type": "uint32"
},
{
"name": "begined_at",
"type": "uint32"
},
{
"name": "effective_secs",
"type": "uint32"
}
]
},
{
"name": "minsupply",
"base": "",
"fields": [
{
"name": "psym",
"type": "symbol_code"
},
{
"name": "amount",
"type": "uint64"
}
]
},
{
"name": "order",
"base": "",
"fields": [
{
"name": "account",
"type": "name"
},
{
"name": "reserves",
"type": "asset[]"
}
]
},
{
"name": "pool",
"base": "",
"fields": [
{
"name": "psym",
"type": "symbol_code"
},
{
"name": "decimals",
"type": "uint8"
}
]
},
{
"name": "remallow",
"base": "",
"fields": [
{
"name": "account",
"type": "name"
},
{
"name": "feature",
"type": "name"
}
]
},
{
"name": "setfee",
"base": "",
"fields": [
{
"name": "lpsym",
"type": "symbol_code"
},
{
"name": "lp_rate",
"type": "decimal"
},
{
"name": "index",
"type": "int32"
}
]
},
{
"name": "setinvite",
"base": "",
"fields": [
{
"name": "code",
"type": "name"
},
{
"name": "account",
"type": "name"
},
{
"name": "fee_rate",
"type": "decimal"
}
]
},
{
"name": "setlendable",
"base": "",
"fields": [
{
"name": "lpsym",
"type": "symbol_code"
},
{
"name": "sym",
"type": "extended_symbol"
},
{
"name": "lendable",
"type": "bool"
}
]
},
{
"name": "setleverage",
"base": "",
"fields": [
{
"name": "lpsym",
"type": "symbol_code"
},
{
"name": "leverage",
"type": "uint32"
},
{
"name": "effective_secs",
"type": "uint32"
}
]
},
{
"name": "setmarket",
"base": "",
"fields": [
{
"name": "lpsym",
"type": "symbol_code"
},
{
"name": "config",
"type": "market_config"
}
]
},
{
"name": "setminsupply",
"base": "",
"fields": [
{
"name": "psym",
"type": "symbol_code"
},
{
"name": "amount",
"type": "uint64"
}
]
},
{
"name": "supply",
"base": "",
"fields": [
{
"name": "account",
"type": "name"
},
{
"name": "lpsym",
"type": "symbol_code"
}
]
}
],
"actions": [
{
"name": "addallow",
"type": "addallow",
"ricardian_contract": ""
},
{
"name": "addallows",
"type": "addallows",
"ricardian_contract": ""
},
{
"name": "addmarket",
"type": "addmarket",
"ricardian_contract": ""
},
{
"name": "addpool",
"type": "addpool",
"ricardian_contract": ""
},
{
"name": "remallow",
"type": "remallow",
"ricardian_contract": ""
},
{
"name": "setfee",
"type": "setfee",
"ricardian_contract": ""
},
{
"name": "setinvite",
"type": "setinvite",
"ricardian_contract": ""
},
{
"name": "setlendable",
"type": "setlendable",
"ricardian_contract": ""
},
{
"name": "setleverage",
"type": "setleverage",
"ricardian_contract": ""
},
{
"name": "setmarket",
"type": "setmarket",
"ricardian_contract": ""
},
{
"name": "setminsupply",
"type": "setminsupply",
"ricardian_contract": ""
},
{
"name": "supply",
"type": "supply",
"ricardian_contract": ""
}
],
"tables": [
{
"name": "allowlist",
"index_type": "i64",
"key_names": [],
"key_types": [],
"type": "allowlist"
},
{
"name": "invitation",
"index_type": "i64",
"key_names": [],
"key_types": [],
"type": "invitation"
},
{
"name": "liqdt",
"index_type": "i64",
"key_names": [],
"key_types": [],
"type": "liqdt"
},
{
"name": "market",
"index_type": "i64",
"key_names": [],
"key_types": [],
"type": "market"
},
{
"name": "mfee",
"index_type": "i64",
"key_names": [],
"key_types": [],
"type": "market_fee"
},
{
"name": "minsupply",
"index_type": "i64",
"key_names": [],
"key_types": [],
"type": "minsupply"
},
{
"name": "mleverage",
"index_type": "i64",
"key_names": [],
"key_types": [],
"type": "market_leverage"
},
{
"name": "order",
"index_type": "i64",
"key_names": [],
"key_types": [],
"type": "order"
},
{
"name": "pool",
"index_type": "i64",
"key_names": [],
"key_types": [],
"type": "pool"
}
],
"ricardian_clauses": [],
"error_messages": [],
"abi_extensions": [],
"variants": [],
"action_results": []
}