{
"version": "eosio::abi/1.1",
"types": [
{
"new_type_name": "float_t",
"type": "float32"
}
],
"structs": [
{
"name": "init",
"base": "",
"fields": [
{
"name": "liquidity_id",
"type": "uint64"
}
]
},
{
"name": "liquiditylog",
"base": "",
"fields": [
{
"name": "account",
"type": "name"
},
{
"name": "liquidity_id",
"type": "uint64"
},
{
"name": "type",
"type": "string"
},
{
"name": "in_token",
"type": "token_t"
},
{
"name": "out_token",
"type": "token_t"
},
{
"name": "in_asset",
"type": "asset"
},
{
"name": "out_asset",
"type": "asset"
},
{
"name": "liquidity_token",
"type": "uint64"
},
{
"name": "in_balance",
"type": "asset"
},
{
"name": "out_balance",
"type": "asset"
},
{
"name": "balance_ltoken",
"type": "uint64"
}
]
},
{
"name": "lock",
"base": "",
"fields": [
{
"name": "contract",
"type": "name"
},
{
"name": "id",
"type": "uint64"
},
{
"name": "account",
"type": "name"
},
{
"name": "liquidity_id",
"type": "uint64"
},
{
"name": "quantity1",
"type": "asset"
},
{
"name": "quantity2",
"type": "asset"
}
]
},
{
"name": "newliquidity",
"base": "",
"fields": [
{
"name": "liquidity_id",
"type": "uint64"
},
{
"name": "token1",
"type": "token_t"
},
{
"name": "token2",
"type": "token_t"
}
]
},
{
"name": "st_defi_liquidity",
"base": "",
"fields": [
{
"name": "liquidity_id",
"type": "uint64"
},
{
"name": "token1",
"type": "token_t"
},
{
"name": "token2",
"type": "token_t"
}
]
},
{
"name": "st_defi_lockinfo",
"base": "",
"fields": [
{
"name": "liquidity_id",
"type": "uint64"
},
{
"name": "quantity1",
"type": "asset"
},
{
"name": "quantity2",
"type": "asset"
}
]
},
{
"name": "st_defi_lockliquidity",
"base": "",
"fields": [
{
"name": "account",
"type": "name"
},
{
"name": "quantity1",
"type": "asset"
},
{
"name": "quantity2",
"type": "asset"
},
{
"name": "lock_quantity1",
"type": "asset"
},
{
"name": "lock_quantity2",
"type": "asset"
}
]
},
{
"name": "st_defi_lockrecord",
"base": "",
"fields": [
{
"name": "id",
"type": "uint64"
},
{
"name": "account",
"type": "name"
},
{
"name": "liquidity_id",
"type": "uint64"
},
{
"name": "quantity1",
"type": "asset"
},
{
"name": "quantity2",
"type": "asset"
},
{
"name": "timestamp",
"type": "uint64"
}
]
},
{
"name": "st_liquidity_log",
"base": "",
"fields": [
{
"name": "log_id",
"type": "uint64"
},
{
"name": "account",
"type": "name"
},
{
"name": "liquidity_id",
"type": "uint64"
},
{
"name": "liquidity_token",
"type": "uint64"
},
{
"name": "in_token",
"type": "token_t"
},
{
"name": "out_token",
"type": "token_t"
},
{
"name": "in_asset",
"type": "asset"
},
{
"name": "out_asset",
"type": "asset"
},
{
"name": "type",
"type": "string"
},
{
"name": "timestamp",
"type": "uint64"
},
{
"name": "trx_id",
"type": "checksum256"
}
]
},
{
"name": "st_swap_log",
"base": "",
"fields": [
{
"name": "swap_id",
"type": "uint64"
},
{
"name": "third_id",
"type": "uint64"
},
{
"name": "account",
"type": "name"
},
{
"name": "liquidity_id",
"type": "uint64"
},
{
"name": "in_token",
"type": "token_t"
},
{
"name": "out_token",
"type": "token_t"
},
{
"name": "in_asset",
"type": "asset"
},
{
"name": "out_asset",
"type": "asset"
},
{
"name": "price",
"type": "float_t"
},
{
"name": "timestamp",
"type": "uint64"
},
{
"name": "trx_id",
"type": "checksum256"
}
]
},
{
"name": "st_swap_token",
"base": "",
"fields": [
{
"name": "timestamp",
"type": "uint64"
},
{
"name": "in_quantity1",
"type": "asset"
},
{
"name": "out_quantity2",
"type": "asset"
},
{
"name": "counter1",
"type": "uint64"
},
{
"name": "in_quantity2",
"type": "asset"
},
{
"name": "out_quantity1",
"type": "asset"
},
{
"name": "counter2",
"type": "uint64"
},
{
"name": "price1",
"type": "float_t"
},
{
"name": "price2",
"type": "float_t"
}
]
},
{
"name": "swaplog",
"base": "",
"fields": [
{
"name": "account",
"type": "name"
},
{
"name": "third_id",
"type": "uint64"
},
{
"name": "liquidity_id",
"type": "uint64"
},
{
"name": "in_token",
"type": "token_t"
},
{
"name": "out_token",
"type": "token_t"
},
{
"name": "in_asset",
"type": "asset"
},
{
"name": "out_asset",
"type": "asset"
},
{
"name": "fee",
"type": "asset"
},
{
"name": "price",
"type": "float_t"
}
]
},
{
"name": "token_t",
"base": "",
"fields": [
{
"name": "address",
"type": "name"
},
{
"name": "symbol",
"type": "symbol"
}
]
},
{
"name": "unlock",
"base": "",
"fields": [
{
"name": "contract",
"type": "name"
},
{
"name": "id",
"type": "uint64"
},
{
"name": "account",
"type": "name"
}
]
}
],
"actions": [
{
"name": "init",
"type": "init",
"ricardian_contract": ""
},
{
"name": "liquiditylog",
"type": "liquiditylog",
"ricardian_contract": ""
},
{
"name": "lock",
"type": "lock",
"ricardian_contract": ""
},
{
"name": "newliquidity",
"type": "newliquidity",
"ricardian_contract": ""
},
{
"name": "swaplog",
"type": "swaplog",
"ricardian_contract": ""
},
{
"name": "unlock",
"type": "unlock",
"ricardian_contract": ""
}
],
"tables": [
{
"name": "liquidity",
"index_type": "i64",
"key_names": [],
"key_types": [],
"type": "st_defi_liquidity"
},
{
"name": "liquiditylog",
"index_type": "i64",
"key_names": [],
"key_types": [],
"type": "st_liquidity_log"
},
{
"name": "lockinfo",
"index_type": "i64",
"key_names": [],
"key_types": [],
"type": "st_defi_lockinfo"
},
{
"name": "lockliq",
"index_type": "i64",
"key_names": [],
"key_types": [],
"type": "st_defi_lockliquidity"
},
{
"name": "lockrecord",
"index_type": "i64",
"key_names": [],
"key_types": [],
"type": "st_defi_lockrecord"
},
{
"name": "swaplog",
"index_type": "i64",
"key_names": [],
"key_types": [],
"type": "st_swap_log"
},
{
"name": "swaptoken",
"index_type": "i64",
"key_names": [],
"key_types": [],
"type": "st_swap_token"
}
],
"ricardian_clauses": [],
"error_messages": [],
"abi_extensions": [],
"variants": [],
"action_results": []
}