{
"fee_rates": [
"<UInt16>",
"<UInt16>",
"<UInt16>",
"<UInt16>",
"<UInt16>",
"<UInt16>",
"<UInt16>",
"<UInt16>"
],
"owner_id": {
"Enum": [
{
"Account": [
"<AccountAddress>"
]
},
{
"Contract": [
{
"index": "<UInt64>",
"subindex": "<UInt64>"
}
]
}
]
},
"protocol_fee_fraction": "<UInt16>"
}
"<String>"
None
{
"contract": {
"index": "<UInt64>",
"subindex": "<UInt64>"
},
"id": "<String with lowercase hex>"
}
"<String>"
[]
{
"migrate": {
"Enum": [
{
"None": []
},
{
"Some": [
[
"<String>",
"<String with lowercase hex>"
]
]
}
]
},
"module": "<String of size 64 containing lowercase hex characters.>"
}
None
None
[]
"<String>"
{
"fee_divisor": "<UInt16>",
"fee_rates": [
"<UInt16>",
"<UInt16>",
"<UInt16>",
"<UInt16>",
"<UInt16>",
"<UInt16>",
"<UInt16>",
"<UInt16>"
],
"owner": {
"Enum": [
{
"Account": [
"<AccountAddress>"
]
},
{
"Contract": [
{
"index": "<UInt64>",
"subindex": "<UInt64>"
}
]
}
]
},
"pool_count": "<UInt64>",
"protocol_fee_fraction": "<UInt16>"
}
{
"Enum": [
{
"Account": [
"<AccountAddress>"
]
},
{
"Contract": [
{
"index": "<UInt64>",
"subindex": "<UInt64>"
}
]
}
]
}
"<String>"
[
[
{
"contract": {
"index": "<UInt64>",
"subindex": "<UInt64>"
},
"id": "<String with lowercase hex>"
},
"<String of size at most 74 containing an unsigned integer.>"
]
]
[
{
"Enum": [
{
"Account": [
"<AccountAddress>"
]
},
{
"Contract": [
{
"index": "<UInt64>",
"subindex": "<UInt64>"
}
]
}
]
},
{
"contract": {
"index": "<UInt64>",
"subindex": "<UInt64>"
},
"id": "<String with lowercase hex>"
}
]
"<String>"
"<String of size at most 74 containing an unsigned integer.>"
[]
"<String>"
[
{
"contract": {
"index": "<UInt64>",
"subindex": "<UInt64>"
},
"id": "<String with lowercase hex>"
}
]
{
"Enum": [
{
"Account": [
"<AccountAddress>"
]
},
{
"Contract": [
{
"index": "<UInt64>",
"subindex": "<UInt64>"
}
]
}
]
}
"<String>"
[
{
"contract": {
"index": "<UInt64>",
"subindex": "<UInt64>"
},
"id": "<String with lowercase hex>"
}
]
[
{
"contract": {
"index": "<UInt64>",
"subindex": "<UInt64>"
},
"id": "<String with lowercase hex>"
},
{
"contract": {
"index": "<UInt64>",
"subindex": "<UInt64>"
},
"id": "<String with lowercase hex>"
}
]
"<String>"
{
"Enum": [
{
"None": []
},
{
"Some": [
{
"fee_divisor": "<UInt16>",
"fee_rates": [
"<UInt16>",
"<UInt16>",
"<UInt16>",
"<UInt16>",
"<UInt16>",
"<UInt16>",
"<UInt16>",
"<UInt16>"
],
"liquidities": [
[
[
[
"<UInt64>",
"<UInt64>",
"<UInt64>",
"<UInt64>",
"<UInt64>",
"<UInt64>"
]
]
],
[
[
[
"<UInt64>",
"<UInt64>",
"<UInt64>",
"<UInt64>",
"<UInt64>",
"<UInt64>"
]
]
],
[
[
[
"<UInt64>",
"<UInt64>",
"<UInt64>",
"<UInt64>",
"<UInt64>",
"<UInt64>"
]
]
],
[
[
[
"<UInt64>",
"<UInt64>",
"<UInt64>",
"<UInt64>",
"<UInt64>",
"<UInt64>"
]
]
],
[
[
[
"<UInt64>",
"<UInt64>",
"<UInt64>",
"<UInt64>",
"<UInt64>",
"<UInt64>"
]
]
],
[
[
[
"<UInt64>",
"<UInt64>",
"<UInt64>",
"<UInt64>",
"<UInt64>",
"<UInt64>"
]
]
],
[
[
[
"<UInt64>",
"<UInt64>",
"<UInt64>",
"<UInt64>",
"<UInt64>",
"<UInt64>"
]
]
],
[
[
[
"<UInt64>",
"<UInt64>",
"<UInt64>",
"<UInt64>",
"<UInt64>",
"<UInt64>"
]
]
]
],
"sqrt_effective_prices": [
[
[
"<String of size at most 74 containing an unsigned integer.>",
"<String of size at most 74 containing an unsigned integer.>"
],
[
"<String of size at most 74 containing an unsigned integer.>",
"<String of size at most 74 containing an unsigned integer.>"
]
],
[
[
"<String of size at most 74 containing an unsigned integer.>",
"<String of size at most 74 containing an unsigned integer.>"
],
[
"<String of size at most 74 containing an unsigned integer.>",
"<String of size at most 74 containing an unsigned integer.>"
]
],
[
[
"<String of size at most 74 containing an unsigned integer.>",
"<String of size at most 74 containing an unsigned integer.>"
],
[
"<String of size at most 74 containing an unsigned integer.>",
"<String of size at most 74 containing an unsigned integer.>"
]
],
[
[
"<String of size at most 74 containing an unsigned integer.>",
"<String of size at most 74 containing an unsigned integer.>"
],
[
"<String of size at most 74 containing an unsigned integer.>",
"<String of size at most 74 containing an unsigned integer.>"
]
],
[
[
"<String of size at most 74 containing an unsigned integer.>",
"<String of size at most 74 containing an unsigned integer.>"
],
[
"<String of size at most 74 containing an unsigned integer.>",
"<String of size at most 74 containing an unsigned integer.>"
]
],
[
[
"<String of size at most 74 containing an unsigned integer.>",
"<String of size at most 74 containing an unsigned integer.>"
],
[
"<String of size at most 74 containing an unsigned integer.>",
"<String of size at most 74 containing an unsigned integer.>"
]
],
[
[
"<String of size at most 74 containing an unsigned integer.>",
"<String of size at most 74 containing an unsigned integer.>"
],
[
"<String of size at most 74 containing an unsigned integer.>",
"<String of size at most 74 containing an unsigned integer.>"
]
],
[
[
"<String of size at most 74 containing an unsigned integer.>",
"<String of size at most 74 containing an unsigned integer.>"
],
[
"<String of size at most 74 containing an unsigned integer.>",
"<String of size at most 74 containing an unsigned integer.>"
]
]
],
"sqrt_spot_prices": [
[
"<String of size at most 74 containing an unsigned integer.>",
"<String of size at most 74 containing an unsigned integer.>"
],
[
"<String of size at most 74 containing an unsigned integer.>",
"<String of size at most 74 containing an unsigned integer.>"
],
[
"<String of size at most 74 containing an unsigned integer.>",
"<String of size at most 74 containing an unsigned integer.>"
],
[
"<String of size at most 74 containing an unsigned integer.>",
"<String of size at most 74 containing an unsigned integer.>"
],
[
"<String of size at most 74 containing an unsigned integer.>",
"<String of size at most 74 containing an unsigned integer.>"
],
[
"<String of size at most 74 containing an unsigned integer.>",
"<String of size at most 74 containing an unsigned integer.>"
],
[
"<String of size at most 74 containing an unsigned integer.>",
"<String of size at most 74 containing an unsigned integer.>"
],
[
"<String of size at most 74 containing an unsigned integer.>",
"<String of size at most 74 containing an unsigned integer.>"
]
],
"total_reserves": [
"<String of size at most 74 containing an unsigned integer.>",
"<String of size at most 74 containing an unsigned integer.>"
]
}
]
}
]
}
[
{
"contract": {
"index": "<UInt64>",
"subindex": "<UInt64>"
},
"id": "<String with lowercase hex>"
},
{
"contract": {
"index": "<UInt64>",
"subindex": "<UInt64>"
},
"id": "<String with lowercase hex>"
}
]
"<String>"
{
"Enum": [
{
"None": []
},
{
"Some": [
[
"<String of size 16 containing lowercase hex characters.>",
"<String of size 16 containing lowercase hex characters.>",
"<String of size 16 containing lowercase hex characters.>",
"<String of size 16 containing lowercase hex characters.>",
"<String of size 16 containing lowercase hex characters.>",
"<String of size 16 containing lowercase hex characters.>",
"<String of size 16 containing lowercase hex characters.>",
"<String of size 16 containing lowercase hex characters.>"
]
]
}
]
}
[]
"<String>"
{
"version": "<String>"
}
[
{
"Enum": [
{
"Account": [
"<AccountAddress>"
]
},
{
"Contract": [
{
"index": "<UInt64>",
"subindex": "<UInt64>"
}
]
}
]
},
{
"contract": {
"index": "<UInt64>",
"subindex": "<UInt64>"
},
"id": "<String with lowercase hex>"
}
]
"<String>"
"<Bool>"
[]
"<String>"
{
"Enum": [
{
"Account": [
"<AccountAddress>"
]
},
{
"Contract": [
{
"index": "<UInt64>",
"subindex": "<UInt64>"
}
]
}
]
}
[
{
"contract": {
"index": "<UInt64>",
"subindex": "<UInt64>"
},
"id": "<String with lowercase hex>"
}
]
"<String>"
[]
[
{
"contract": {
"index": "<UInt64>",
"subindex": "<UInt64>"
},
"id": "<String with lowercase hex>"
}
]
"<String>"
[]
[
{
"Enum": [
{
"Account": [
"<AccountAddress>"
]
},
{
"Contract": [
{
"index": "<UInt64>",
"subindex": "<UInt64>"
}
]
}
]
}
]
"<String>"
[]
[
{
"Enum": [
{
"Account": [
"<AccountAddress>"
]
},
{
"Contract": [
{
"index": "<UInt64>",
"subindex": "<UInt64>"
}
]
}
]
}
]
"<String>"
[]
"<UInt16>"
"<String>"
[]
[
{
"Enum": [
{
"RegisterAccount": []
},
{
"RegisterTokens": [
[
{
"contract": {
"index": "<UInt64>",
"subindex": "<UInt64>"
},
"id": "<String with lowercase hex>"
}
]
]
},
{
"SwapExactIn": [
{
"amount": {
"Enum": [
{
"None": []
},
{
"Some": [
"<String of size at most 74 containing an unsigned integer.>"
]
}
]
},
"amount_limit": "<String of size at most 74 containing an unsigned integer.>",
"token_in": {
"contract": {
"index": "<UInt64>",
"subindex": "<UInt64>"
},
"id": "<String with lowercase hex>"
},
"token_out": {
"contract": {
"index": "<UInt64>",
"subindex": "<UInt64>"
},
"id": "<String with lowercase hex>"
}
}
]
},
{
"SwapExactOut": [
{
"amount": {
"Enum": [
{
"None": []
},
{
"Some": [
"<String of size at most 74 containing an unsigned integer.>"
]
}
]
},
"amount_limit": "<String of size at most 74 containing an unsigned integer.>",
"token_in": {
"contract": {
"index": "<UInt64>",
"subindex": "<UInt64>"
},
"id": "<String with lowercase hex>"
},
"token_out": {
"contract": {
"index": "<UInt64>",
"subindex": "<UInt64>"
},
"id": "<String with lowercase hex>"
}
}
]
},
{
"SwapToPrice": [
{
"amount": {
"Enum": [
{
"None": []
},
{
"Some": [
"<String of size at most 74 containing an unsigned integer.>"
]
}
]
},
"effective_price_limit": "<String of size 16 containing lowercase hex characters.>",
"token_in": {
"contract": {
"index": "<UInt64>",
"subindex": "<UInt64>"
},
"id": "<String with lowercase hex>"
},
"token_out": {
"contract": {
"index": "<UInt64>",
"subindex": "<UInt64>"
},
"id": "<String with lowercase hex>"
}
}
]
},
{
"Deposit": []
},
{
"Withdraw": [
{
"contract": {
"index": "<UInt64>",
"subindex": "<UInt64>"
},
"id": "<String with lowercase hex>"
},
"<String of size at most 74 containing an unsigned integer.>",
{
"Enum": [
{
"None": []
},
{
"Some": [
[
"<String>",
"<String with lowercase hex>"
]
]
}
]
}
]
},
{
"OpenPosition": {
"fee_rate": "<UInt16>",
"position": {
"amount_ranges": [
{
"max": "<String of size at most 74 containing an unsigned integer.>",
"min": "<String of size at most 74 containing an unsigned integer.>"
},
{
"max": "<String of size at most 74 containing an unsigned integer.>",
"min": "<String of size at most 74 containing an unsigned integer.>"
}
],
"ticks_range": [
{
"Enum": [
{
"None": []
},
{
"Some": [
"<Int32>"
]
}
]
},
{
"Enum": [
{
"None": []
},
{
"Some": [
"<Int32>"
]
}
]
}
]
},
"tokens": [
{
"contract": {
"index": "<UInt64>",
"subindex": "<UInt64>"
},
"id": "<String with lowercase hex>"
},
{
"contract": {
"index": "<UInt64>",
"subindex": "<UInt64>"
},
"id": "<String with lowercase hex>"
}
]
}
},
{
"ClosePosition": [
"<UInt64>"
]
},
{
"WithdrawFee": [
"<UInt64>"
]
}
]
}
]
"<String>"
{
"Enum": [
{
"None": []
},
{
"Some": [
"<String of size at most 74 containing an unsigned integer.>"
]
}
]
}
{
"amount_in": "<String of size at most 74 containing an unsigned integer.>",
"min_amount_out": "<String of size at most 74 containing an unsigned integer.>",
"token_ids": [
{
"contract": {
"index": "<UInt64>",
"subindex": "<UInt64>"
},
"id": "<String with lowercase hex>"
}
]
}
"<String>"
[
"<String of size at most 74 containing an unsigned integer.>",
"<String of size at most 74 containing an unsigned integer.>"
]
{
"amount_out": "<String of size at most 74 containing an unsigned integer.>",
"max_amount_in": "<String of size at most 74 containing an unsigned integer.>",
"token_ids": [
{
"contract": {
"index": "<UInt64>",
"subindex": "<UInt64>"
},
"id": "<String with lowercase hex>"
}
]
}
"<String>"
[
"<String of size at most 74 containing an unsigned integer.>",
"<String of size at most 74 containing an unsigned integer.>"
]
{
"amount_in": "<String of size at most 74 containing an unsigned integer.>",
"price_limit": "<String of size 16 containing lowercase hex characters.>",
"token_ids": [
{
"contract": {
"index": "<UInt64>",
"subindex": "<UInt64>"
},
"id": "<String with lowercase hex>"
}
]
}
"<String>"
[
"<String of size at most 74 containing an unsigned integer.>",
"<String of size at most 74 containing an unsigned integer.>"
]
{
"fee_rate": "<UInt16>",
"position": {
"amount_ranges": [
{
"max": "<String of size at most 74 containing an unsigned integer.>",
"min": "<String of size at most 74 containing an unsigned integer.>"
},
{
"max": "<String of size at most 74 containing an unsigned integer.>",
"min": "<String of size at most 74 containing an unsigned integer.>"
}
],
"ticks_range": [
{
"Enum": [
{
"None": []
},
{
"Some": [
"<Int32>"
]
}
]
},
{
"Enum": [
{
"None": []
},
{
"Some": [
"<Int32>"
]
}
]
}
]
},
"token_ids": [
{
"contract": {
"index": "<UInt64>",
"subindex": "<UInt64>"
},
"id": "<String with lowercase hex>"
},
{
"contract": {
"index": "<UInt64>",
"subindex": "<UInt64>"
},
"id": "<String with lowercase hex>"
}
]
}
"<String>"
{
"amounts": [
"<String of size at most 74 containing an unsigned integer.>",
"<String of size at most 74 containing an unsigned integer.>"
],
"liquidity": "<String of size 16 containing lowercase hex characters.>",
"position_id": "<UInt64>"
}
"<UInt64>"
"<String>"
[]
"<UInt64>"
"<String>"
[
"<String of size at most 74 containing an unsigned integer.>",
"<String of size at most 74 containing an unsigned integer.>"
]
"<UInt64>"
"<String>"
{
"balance": [
"<String of size at most 74 containing an unsigned integer.>",
"<String of size at most 74 containing an unsigned integer.>"
],
"fee_level": "<UInt8>",
"init_sqrt_price": "<String of size 16 containing lowercase hex characters.>",
"liquidity": "<String of size 16 containing lowercase hex characters.>",
"range_ticks": [
{
"Enum": [
{
"None": []
},
{
"Some": [
"<Int32>"
]
}
]
},
{
"Enum": [
{
"None": []
},
{
"Some": [
"<Int32>"
]
}
]
}
],
"reward_since_creation": [
"<String of size at most 74 containing an unsigned integer.>",
"<String of size at most 74 containing an unsigned integer.>"
],
"reward_since_last_withdraw": [
"<String of size at most 74 containing an unsigned integer.>",
"<String of size at most 74 containing an unsigned integer.>"
],
"token_ids": [
{
"contract": {
"index": "<UInt64>",
"subindex": "<UInt64>"
},
"id": "<String with lowercase hex>"
},
{
"contract": {
"index": "<UInt64>",
"subindex": "<UInt64>"
},
"id": "<String with lowercase hex>"
}
]
}
[
"<UInt64>"
]
"<String>"
[
{
"balance": [
"<String of size at most 74 containing an unsigned integer.>",
"<String of size at most 74 containing an unsigned integer.>"
],
"fee_level": "<UInt8>",
"init_sqrt_price": "<String of size 16 containing lowercase hex characters.>",
"liquidity": "<String of size 16 containing lowercase hex characters.>",
"range_ticks": [
{
"Enum": [
{
"None": []
},
{
"Some": [
"<Int32>"
]
}
]
},
{
"Enum": [
{
"None": []
},
{
"Some": [
"<Int32>"
]
}
]
}
],
"reward_since_creation": [
"<String of size at most 74 containing an unsigned integer.>",
"<String of size at most 74 containing an unsigned integer.>"
],
"reward_since_last_withdraw": [
"<String of size at most 74 containing an unsigned integer.>",
"<String of size at most 74 containing an unsigned integer.>"
],
"token_ids": [
{
"contract": {
"index": "<UInt64>",
"subindex": "<UInt64>"
},
"id": "<String with lowercase hex>"
},
{
"contract": {
"index": "<UInt64>",
"subindex": "<UInt64>"
},
"id": "<String with lowercase hex>"
}
]
}
]
[]
"<String>"
[]
{
"amount": "<String of size at most 74 containing an unsigned integer.>",
"data": "<String with lowercase hex>",
"from": {
"Enum": [
{
"Account": [
"<AccountAddress>"
]
},
{
"Contract": [
{
"index": "<UInt64>",
"subindex": "<UInt64>"
}
]
}
]
},
"token_id": "<String with lowercase hex>"
}
"<String>"
[]
[
{
"Enum": [
{
"RegisterAccount": []
},
{
"RegisterTokens": [
[
{
"contract": {
"index": "<UInt64>",
"subindex": "<UInt64>"
},
"id": "<String with lowercase hex>"
}
]
]
},
{
"SwapExactIn": [
{
"amount": {
"Enum": [
{
"None": []
},
{
"Some": [
"<String of size at most 74 containing an unsigned integer.>"
]
}
]
},
"amount_limit": "<String of size at most 74 containing an unsigned integer.>",
"token_in": {
"contract": {
"index": "<UInt64>",
"subindex": "<UInt64>"
},
"id": "<String with lowercase hex>"
},
"token_out": {
"contract": {
"index": "<UInt64>",
"subindex": "<UInt64>"
},
"id": "<String with lowercase hex>"
}
}
]
},
{
"SwapExactOut": [
{
"amount": {
"Enum": [
{
"None": []
},
{
"Some": [
"<String of size at most 74 containing an unsigned integer.>"
]
}
]
},
"amount_limit": "<String of size at most 74 containing an unsigned integer.>",
"token_in": {
"contract": {
"index": "<UInt64>",
"subindex": "<UInt64>"
},
"id": "<String with lowercase hex>"
},
"token_out": {
"contract": {
"index": "<UInt64>",
"subindex": "<UInt64>"
},
"id": "<String with lowercase hex>"
}
}
]
},
{
"SwapToPrice": [
{
"amount": {
"Enum": [
{
"None": []
},
{
"Some": [
"<String of size at most 74 containing an unsigned integer.>"
]
}
]
},
"effective_price_limit": "<String of size 16 containing lowercase hex characters.>",
"token_in": {
"contract": {
"index": "<UInt64>",
"subindex": "<UInt64>"
},
"id": "<String with lowercase hex>"
},
"token_out": {
"contract": {
"index": "<UInt64>",
"subindex": "<UInt64>"
},
"id": "<String with lowercase hex>"
}
}
]
},
{
"Deposit": []
},
{
"Withdraw": [
{
"contract": {
"index": "<UInt64>",
"subindex": "<UInt64>"
},
"id": "<String with lowercase hex>"
},
"<String of size at most 74 containing an unsigned integer.>",
{
"Enum": [
{
"None": []
},
{
"Some": [
[
"<String>",
"<String with lowercase hex>"
]
]
}
]
}
]
},
{
"OpenPosition": {
"fee_rate": "<UInt16>",
"position": {
"amount_ranges": [
{
"max": "<String of size at most 74 containing an unsigned integer.>",
"min": "<String of size at most 74 containing an unsigned integer.>"
},
{
"max": "<String of size at most 74 containing an unsigned integer.>",
"min": "<String of size at most 74 containing an unsigned integer.>"
}
],
"ticks_range": [
{
"Enum": [
{
"None": []
},
{
"Some": [
"<Int32>"
]
}
]
},
{
"Enum": [
{
"None": []
},
{
"Some": [
"<Int32>"
]
}
]
}
]
},
"tokens": [
{
"contract": {
"index": "<UInt64>",
"subindex": "<UInt64>"
},
"id": "<String with lowercase hex>"
},
{
"contract": {
"index": "<UInt64>",
"subindex": "<UInt64>"
},
"id": "<String with lowercase hex>"
}
]
}
},
{
"ClosePosition": [
"<UInt64>"
]
},
{
"WithdrawFee": [
"<UInt64>"
]
}
]
}
]
"<String>"
[]
[
{
"Enum": [
{
"RegisterAccount": []
},
{
"RegisterTokens": [
[
{
"contract": {
"index": "<UInt64>",
"subindex": "<UInt64>"
},
"id": "<String with lowercase hex>"
}
]
]
},
{
"SwapExactIn": [
{
"amount": {
"Enum": [
{
"None": []
},
{
"Some": [
"<String of size at most 74 containing an unsigned integer.>"
]
}
]
},
"amount_limit": "<String of size at most 74 containing an unsigned integer.>",
"token_in": {
"contract": {
"index": "<UInt64>",
"subindex": "<UInt64>"
},
"id": "<String with lowercase hex>"
},
"token_out": {
"contract": {
"index": "<UInt64>",
"subindex": "<UInt64>"
},
"id": "<String with lowercase hex>"
}
}
]
},
{
"SwapExactOut": [
{
"amount": {
"Enum": [
{
"None": []
},
{
"Some": [
"<String of size at most 74 containing an unsigned integer.>"
]
}
]
},
"amount_limit": "<String of size at most 74 containing an unsigned integer.>",
"token_in": {
"contract": {
"index": "<UInt64>",
"subindex": "<UInt64>"
},
"id": "<String with lowercase hex>"
},
"token_out": {
"contract": {
"index": "<UInt64>",
"subindex": "<UInt64>"
},
"id": "<String with lowercase hex>"
}
}
]
},
{
"SwapToPrice": [
{
"amount": {
"Enum": [
{
"None": []
},
{
"Some": [
"<String of size at most 74 containing an unsigned integer.>"
]
}
]
},
"effective_price_limit": "<String of size 16 containing lowercase hex characters.>",
"token_in": {
"contract": {
"index": "<UInt64>",
"subindex": "<UInt64>"
},
"id": "<String with lowercase hex>"
},
"token_out": {
"contract": {
"index": "<UInt64>",
"subindex": "<UInt64>"
},
"id": "<String with lowercase hex>"
}
}
]
},
{
"Deposit": []
},
{
"Withdraw": [
{
"contract": {
"index": "<UInt64>",
"subindex": "<UInt64>"
},
"id": "<String with lowercase hex>"
},
"<String of size at most 74 containing an unsigned integer.>",
{
"Enum": [
{
"None": []
},
{
"Some": [
[
"<String>",
"<String with lowercase hex>"
]
]
}
]
}
]
},
{
"OpenPosition": {
"fee_rate": "<UInt16>",
"position": {
"amount_ranges": [
{
"max": "<String of size at most 74 containing an unsigned integer.>",
"min": "<String of size at most 74 containing an unsigned integer.>"
},
{
"max": "<String of size at most 74 containing an unsigned integer.>",
"min": "<String of size at most 74 containing an unsigned integer.>"
}
],
"ticks_range": [
{
"Enum": [
{
"None": []
},
{
"Some": [
"<Int32>"
]
}
]
},
{
"Enum": [
{
"None": []
},
{
"Some": [
"<Int32>"
]
}
]
}
]
},
"tokens": [
{
"contract": {
"index": "<UInt64>",
"subindex": "<UInt64>"
},
"id": "<String with lowercase hex>"
},
{
"contract": {
"index": "<UInt64>",
"subindex": "<UInt64>"
},
"id": "<String with lowercase hex>"
}
]
}
},
{
"ClosePosition": [
"<UInt64>"
]
},
{
"WithdrawFee": [
"<UInt64>"
]
}
]
}
]
"<String>"
[]
{
"amount": "<String of size at most 74 containing an unsigned integer.>",
"callback": {
"Enum": [
{
"None": []
},
{
"Some": [
[
"<String>",
[
"<UInt8>"
]
]
]
}
]
},
"token_id": {
"contract": {
"index": "<UInt64>",
"subindex": "<UInt64>"
},
"id": "<String with lowercase hex>"
}
}
"<String>"
[]
[]
"<String>"
[
{
"reserve_a": "<String of size at most 74 containing an unsigned integer.>",
"reserve_b": "<String of size at most 74 containing an unsigned integer.>",
"token_a": {
"contract": {
"index": "<UInt64>",
"subindex": "<UInt64>"
},
"id": "<String with lowercase hex>"
},
"token_b": {
"contract": {
"index": "<UInt64>",
"subindex": "<UInt64>"
},
"id": "<String with lowercase hex>"
}
}
]
[
{
"contract": {
"index": "<UInt64>",
"subindex": "<UInt64>"
},
"id": "<String with lowercase hex>"
}
]
"<String>"
[]
[
{
"contract": {
"index": "<UInt64>",
"subindex": "<UInt64>"
},
"id": "<String with lowercase hex>"
}
]
"<String>"
[]
[]
"<String>"
[]
Address |
---|