gno.land/r/gnoswap/pool
README.md getter.gno getter_utils.gno gnomod.toml oracle.gno pool.gno proxy.gno state.gno store.gno types.gno upgrade.gno utils.gno
[
{
"FuncName": "GetPoolCount",
"Params": null,
"Results": [
{
"Name": ".res.0",
"Type": "int",
"Value": ""
}
]
},
{
"FuncName": "GetPoolPaths",
"Params": [
{
"Name": "offset",
"Type": "int",
"Value": ""
},
{
"Name": "count",
"Type": "int",
"Value": ""
}
],
"Results": [
{
"Name": ".res.0",
"Type": "[]string",
"Value": ""
}
]
},
{
"FuncName": "ExistsPoolPath",
"Params": [
{
"Name": "poolPath",
"Type": "string",
"Value": ""
}
],
"Results": [
{
"Name": ".res.0",
"Type": "bool",
"Value": ""
}
]
},
{
"FuncName": "GetBalances",
"Params": [
{
"Name": "poolPath",
"Type": "string",
"Value": ""
}
],
"Results": [
{
"Name": ".res.0",
"Type": "int64",
"Value": ""
},
{
"Name": ".res.1",
"Type": "int64",
"Value": ""
}
]
},
{
"FuncName": "GetBalanceToken0",
"Params": [
{
"Name": "poolPath",
"Type": "string",
"Value": ""
}
],
"Results": [
{
"Name": ".res.0",
"Type": "int64",
"Value": ""
}
]
},
{
"FuncName": "GetBalanceToken1",
"Params": [
{
"Name": "poolPath",
"Type": "string",
"Value": ""
}
],
"Results": [
{
"Name": ".res.0",
"Type": "int64",
"Value": ""
}
]
},
{
"FuncName": "GetFee",
"Params": [
{
"Name": "poolPath",
"Type": "string",
"Value": ""
}
],
"Results": [
{
"Name": ".res.0",
"Type": "uint32",
"Value": ""
}
]
},
{
"FuncName": "GetFeeAmountTickSpacings",
"Params": null,
"Results": [
{
"Name": ".res.0",
"Type": "map[uint32]int32",
"Value": ""
}
]
},
{
"FuncName": "GetFeeAmountTickSpacing",
"Params": [
{
"Name": "fee",
"Type": "uint32",
"Value": ""
}
],
"Results": [
{
"Name": "spacing",
"Type": "int32",
"Value": ""
}
]
},
{
"FuncName": "GetFeeGrowthGlobal0X128",
"Params": [
{
"Name": "poolPath",
"Type": "string",
"Value": ""
}
],
"Results": [
{
"Name": ".res.0",
"Type": "string",
"Value": ""
}
]
},
{
"FuncName": "GetFeeGrowthGlobal1X128",
"Params": [
{
"Name": "poolPath",
"Type": "string",
"Value": ""
}
],
"Results": [
{
"Name": ".res.0",
"Type": "string",
"Value": ""
}
]
},
{
"FuncName": "GetFeeGrowthGlobalX128",
"Params": [
{
"Name": "poolPath",
"Type": "string",
"Value": ""
}
],
"Results": [
{
"Name": ".res.0",
"Type": "string",
"Value": ""
},
{
"Name": ".res.1",
"Type": "string",
"Value": ""
}
]
},
{
"FuncName": "GetLiquidity",
"Params": [
{
"Name": "poolPath",
"Type": "string",
"Value": ""
}
],
"Results": [
{
"Name": ".res.0",
"Type": "string",
"Value": ""
}
]
},
{
"FuncName": "GetObservation",
"Params": [
{
"Name": "poolPath",
"Type": "string",
"Value": ""
},
{
"Name": "secondsAgo",
"Type": "int64",
"Value": ""
}
],
"Results": [
{
"Name": "tickCumulative",
"Type": "int64",
"Value": ""
},
{
"Name": "liquidityCumulative",
"Type": "string",
"Value": ""
},
{
"Name": "secondsPerLiquidityCumulativeX128",
"Type": "string",
"Value": ""
},
{
"Name": "blockTimestamp",
"Type": "int64",
"Value": ""
}
]
},
{
"FuncName": "GetPoolCreationFee",
"Params": null,
"Results": [
{
"Name": ".res.0",
"Type": "int64",
"Value": ""
}
]
},
{
"FuncName": "GetPositionFeeGrowthInside0LastX128",
"Params": [
{
"Name": "poolPath",
"Type": "string",
"Value": ""
},
{
"Name": "key",
"Type": "string",
"Value": ""
}
],
"Results": [
{
"Name": ".res.0",
"Type": "string",
"Value": ""
}
]
},
{
"FuncName": "GetPositionFeeGrowthInside1LastX128",
"Params": [
{
"Name": "poolPath",
"Type": "string",
"Value": ""
},
{
"Name": "key",
"Type": "string",
"Value": ""
}
],
"Results": [
{
"Name": ".res.0",
"Type": "string",
"Value": ""
}
]
},
{
"FuncName": "GetPositionFeeGrowthInsideLastX128",
"Params": [
{
"Name": "poolPath",
"Type": "string",
"Value": ""
},
{
"Name": "key",
"Type": "string",
"Value": ""
}
],
"Results": [
{
"Name": ".res.0",
"Type": "string",
"Value": ""
},
{
"Name": ".res.1",
"Type": "string",
"Value": ""
}
]
},
{
"FuncName": "GetPoolPositionCount",
"Params": [
{
"Name": "poolPath",
"Type": "string",
"Value": ""
}
],
"Results": [
{
"Name": ".res.0",
"Type": "int",
"Value": ""
}
]
},
{
"FuncName": "GetPoolPositionKeys",
"Params": [
{
"Name": "poolPath",
"Type": "string",
"Value": ""
},
{
"Name": "offset",
"Type": "int",
"Value": ""
},
{
"Name": "count",
"Type": "int",
"Value": ""
}
],
"Results": [
{
"Name": ".res.0",
"Type": "[]string",
"Value": ""
}
]
},
{
"FuncName": "GetPositionLiquidity",
"Params": [
{
"Name": "poolPath",
"Type": "string",
"Value": ""
},
{
"Name": "key",
"Type": "string",
"Value": ""
}
],
"Results": [
{
"Name": ".res.0",
"Type": "string",
"Value": ""
}
]
},
{
"FuncName": "GetPositionTokensOwed0",
"Params": [
{
"Name": "poolPath",
"Type": "string",
"Value": ""
},
{
"Name": "key",
"Type": "string",
"Value": ""
}
],
"Results": [
{
"Name": ".res.0",
"Type": "int64",
"Value": ""
}
]
},
{
"FuncName": "GetPositionTokensOwed1",
"Params": [
{
"Name": "poolPath",
"Type": "string",
"Value": ""
},
{
"Name": "key",
"Type": "string",
"Value": ""
}
],
"Results": [
{
"Name": ".res.0",
"Type": "int64",
"Value": ""
}
]
},
{
"FuncName": "GetPositionTokensOwed",
"Params": [
{
"Name": "poolPath",
"Type": "string",
"Value": ""
},
{
"Name": "key",
"Type": "string",
"Value": ""
}
],
"Results": [
{
"Name": ".res.0",
"Type": "int64",
"Value": ""
},
{
"Name": ".res.1",
"Type": "int64",
"Value": ""
}
]
},
{
"FuncName": "GetProtocolFeesToken0",
"Params": [
{
"Name": "poolPath",
"Type": "string",
"Value": ""
}
],
"Results": [
{
"Name": ".res.0",
"Type": "int64",
"Value": ""
}
]
},
{
"FuncName": "GetProtocolFeesToken1",
"Params": [
{
"Name": "poolPath",
"Type": "string",
"Value": ""
}
],
"Results": [
{
"Name": ".res.0",
"Type": "int64",
"Value": ""
}
]
},
{
"FuncName": "GetProtocolFeesTokens",
"Params": [
{
"Name": "poolPath",
"Type": "string",
"Value": ""
}
],
"Results": [
{
"Name": ".res.0",
"Type": "int64",
"Value": ""
},
{
"Name": ".res.1",
"Type": "int64",
"Value": ""
}
]
},
{
"FuncName": "GetSlot0FeeProtocol",
"Params": [
{
"Name": "poolPath",
"Type": "string",
"Value": ""
}
],
"Results": [
{
"Name": ".res.0",
"Type": "uint8",
"Value": ""
}
]
},
{
"FuncName": "GetSlot0SqrtPriceX96",
"Params": [
{
"Name": "poolPath",
"Type": "string",
"Value": ""
}
],
"Results": [
{
"Name": ".res.0",
"Type": "string",
"Value": ""
}
]
},
{
"FuncName": "GetSlot0Tick",
"Params": [
{
"Name": "poolPath",
"Type": "string",
"Value": ""
}
],
"Results": [
{
"Name": ".res.0",
"Type": "int32",
"Value": ""
}
]
},
{
"FuncName": "GetSlot0Unlocked",
"Params": [
{
"Name": "poolPath",
"Type": "string",
"Value": ""
}
],
"Results": [
{
"Name": ".res.0",
"Type": "bool",
"Value": ""
}
]
},
{
"FuncName": "GetTickCumulativeOutside",
"Params": [
{
"Name": "poolPath",
"Type": "string",
"Value": ""
},
{
"Name": "tick",
"Type": "int32",
"Value": ""
}
],
"Results": [
{
"Name": ".res.0",
"Type": "int64",
"Value": ""
}
]
},
{
"FuncName": "GetTickFeeGrowthOutside0X128",
"Params": [
{
"Name": "poolPath",
"Type": "string",
"Value": ""
},
{
"Name": "tick",
"Type": "int32",
"Value": ""
}
],
"Results": [
{
"Name": ".res.0",
"Type": "string",
"Value": ""
}
]
},
{
"FuncName": "GetTickFeeGrowthOutside1X128",
"Params": [
{
"Name": "poolPath",
"Type": "string",
"Value": ""
},
{
"Name": "tick",
"Type": "int32",
"Value": ""
}
],
"Results": [
{
"Name": ".res.0",
"Type": "string",
"Value": ""
}
]
},
{
"FuncName": "GetTickFeeGrowthOutsideX128",
"Params": [
{
"Name": "poolPath",
"Type": "string",
"Value": ""
},
{
"Name": "tick",
"Type": "int32",
"Value": ""
}
],
"Results": [
{
"Name": ".res.0",
"Type": "string",
"Value": ""
},
{
"Name": ".res.1",
"Type": "string",
"Value": ""
}
]
},
{
"FuncName": "GetTickInitialized",
"Params": [
{
"Name": "poolPath",
"Type": "string",
"Value": ""
},
{
"Name": "tick",
"Type": "int32",
"Value": ""
}
],
"Results": [
{
"Name": ".res.0",
"Type": "bool",
"Value": ""
}
]
},
{
"FuncName": "GetInitializedTicksInRange",
"Params": [
{
"Name": "poolPath",
"Type": "string",
"Value": ""
},
{
"Name": "tickLower",
"Type": "int32",
"Value": ""
},
{
"Name": "tickUpper",
"Type": "int32",
"Value": ""
}
],
"Results": [
{
"Name": ".res.0",
"Type": "[]int32",
"Value": ""
}
]
},
{
"FuncName": "GetTickLiquidityGross",
"Params": [
{
"Name": "poolPath",
"Type": "string",
"Value": ""
},
{
"Name": "tick",
"Type": "int32",
"Value": ""
}
],
"Results": [
{
"Name": ".res.0",
"Type": "string",
"Value": ""
}
]
},
{
"FuncName": "GetTickLiquidityNet",
"Params": [
{
"Name": "poolPath",
"Type": "string",
"Value": ""
},
{
"Name": "tick",
"Type": "int32",
"Value": ""
}
],
"Results": [
{
"Name": ".res.0",
"Type": "string",
"Value": ""
}
]
},
{
"FuncName": "GetTickSecondsOutside",
"Params": [
{
"Name": "poolPath",
"Type": "string",
"Value": ""
},
{
"Name": "tick",
"Type": "int32",
"Value": ""
}
],
"Results": [
{
"Name": ".res.0",
"Type": "uint32",
"Value": ""
}
]
},
{
"FuncName": "GetTickSecondsPerLiquidityOutsideX128",
"Params": [
{
"Name": "poolPath",
"Type": "string",
"Value": ""
},
{
"Name": "tick",
"Type": "int32",
"Value": ""
}
],
"Results": [
{
"Name": ".res.0",
"Type": "string",
"Value": ""
}
]
},
{
"FuncName": "GetTickSpacing",
"Params": [
{
"Name": "poolPath",
"Type": "string",
"Value": ""
}
],
"Results": [
{
"Name": ".res.0",
"Type": "int32",
"Value": ""
}
]
},
{
"FuncName": "GetToken0Path",
"Params": [
{
"Name": "poolPath",
"Type": "string",
"Value": ""
}
],
"Results": [
{
"Name": ".res.0",
"Type": "string",
"Value": ""
}
]
},
{
"FuncName": "GetToken1Path",
"Params": [
{
"Name": "poolPath",
"Type": "string",
"Value": ""
}
],
"Results": [
{
"Name": ".res.0",
"Type": "string",
"Value": ""
}
]
},
{
"FuncName": "GetWithdrawalFee",
"Params": null,
"Results": [
{
"Name": ".res.0",
"Type": "uint64",
"Value": ""
}
]
},
{
"FuncName": "GetTWAP",
"Params": [
{
"Name": "poolPath",
"Type": "string",
"Value": ""
},
{
"Name": "secondsAgo",
"Type": "uint32",
"Value": ""
}
],
"Results": [
{
"Name": ".res.0",
"Type": "int32",
"Value": ""
},
{
"Name": ".res.1",
"Type": "string",
"Value": ""
},
{
"Name": ".res.2",
"Type": "interface {Error func() string}",
"Value": ""
}
]
},
{
"FuncName": "GetPool",
"Params": [
{
"Name": "token0Path",
"Type": "string",
"Value": ""
},
{
"Name": "token1Path",
"Type": "string",
"Value": ""
},
{
"Name": "fee",
"Type": "uint32",
"Value": ""
}
],
"Results": [
{
"Name": ".res.0",
"Type": "*gno.land/r/gnoswap/pool.Pool",
"Value": ""
},
{
"Name": ".res.1",
"Type": "interface {Error func() string}",
"Value": ""
}
]
},
{
"FuncName": "GetTickInfo",
"Params": [
{
"Name": "poolPath",
"Type": "string",
"Value": ""
},
{
"Name": "tick",
"Type": "int32",
"Value": ""
}
],
"Results": [
{
"Name": ".res.0",
"Type": "struct{liquidityGross string; liquidityNet string; feeGrowthOutside0X128 string; feeGrowthOutside1X128 string; tickCumulativeOutside int64; secondsPerLiquidityOutsideX128 string; secondsOutside uint32; initialized bool}",
"Value": ""
},
{
"Name": ".res.1",
"Type": "interface {Error func() string}",
"Value": ""
}
]
},
{
"FuncName": "GetTickBitmaps",
"Params": [
{
"Name": "poolPath",
"Type": "string",
"Value": ""
},
{
"Name": "wordPos",
"Type": "int16",
"Value": ""
}
],
"Results": [
{
"Name": ".res.0",
"Type": "string",
"Value": ""
},
{
"Name": ".res.1",
"Type": "interface {Error func() string}",
"Value": ""
}
]
},
{
"FuncName": "GetPosition",
"Params": [
{
"Name": "poolPath",
"Type": "string",
"Value": ""
},
{
"Name": "key",
"Type": "string",
"Value": ""
}
],
"Results": [
{
"Name": ".res.0",
"Type": "struct{liquidity string; feeGrowthInside0LastX128 string; feeGrowthInside1LastX128 string; tokensOwed0 int64; tokensOwed1 int64}",
"Value": ""
},
{
"Name": ".res.1",
"Type": "interface {Error func() string}",
"Value": ""
}
]
},
{
"FuncName": "GetObservationState",
"Params": [
{
"Name": "poolPath",
"Type": "string",
"Value": ""
}
],
"Results": [
{
"Name": ".res.0",
"Type": "*gno.land/r/gnoswap/pool.ObservationState",
"Value": ""
},
{
"Name": ".res.1",
"Type": "interface {Error func() string}",
"Value": ""
}
]
},
{
"FuncName": "NewDefaultPositionInfo",
"Params": null,
"Results": [
{
"Name": ".res.0",
"Type": "struct{liquidity string; feeGrowthInside0LastX128 string; feeGrowthInside1LastX128 string; tokensOwed0 int64; tokensOwed1 int64}",
"Value": ""
}
]
},
{
"FuncName": "NewObservationState",
"Params": [
{
"Name": "currentTime",
"Type": "int64",
"Value": ""
}
],
"Results": [
{
"Name": ".res.0",
"Type": "*gno.land/r/gnoswap/pool.ObservationState",
"Value": ""
}
]
},
{
"FuncName": "NewObservation",
"Params": [
{
"Name": "blockTimestamp",
"Type": "int64",
"Value": ""
},
{
"Name": "tickCumulative",
"Type": "int64",
"Value": ""
},
{
"Name": "liquidityCumulative",
"Type": "string",
"Value": ""
},
{
"Name": "secondsPerLiquidityCumulativeX128",
"Type": "string",
"Value": ""
},
{
"Name": "initialized",
"Type": "bool",
"Value": ""
}
],
"Results": [
{
"Name": ".res.0",
"Type": "*gno.land/r/gnoswap/pool.Observation",
"Value": ""
}
]
},
{
"FuncName": "NewDefaultObservation",
"Params": null,
"Results": [
{
"Name": ".res.0",
"Type": "*gno.land/r/gnoswap/pool.Observation",
"Value": ""
}
]
},
{
"FuncName": "NewPool",
"Params": [
{
"Name": "token0Path",
"Type": "string",
"Value": ""
},
{
"Name": "token1Path",
"Type": "string",
"Value": ""
},
{
"Name": "fee",
"Type": "uint32",
"Value": ""
},
{
"Name": "sqrtPriceX96",
"Type": "*gno.land/p/gnoswap/uint256.Uint",
"Value": ""
},
{
"Name": "tickSpacing",
"Type": "int32",
"Value": ""
},
{
"Name": "tick",
"Type": "int32",
"Value": ""
},
{
"Name": "slot0FeeProtocol",
"Type": "uint8",
"Value": ""
}
],
"Results": [
{
"Name": ".res.0",
"Type": "*gno.land/r/gnoswap/pool.Pool",
"Value": ""
}
]
},
{
"FuncName": "NewPoolsTree",
"Params": null,
"Results": [
{
"Name": ".res.0",
"Type": "*gno.land/p/nt/bptree/v0.BPTree",
"Value": ""
}
]
},
{
"FuncName": "NewPoolTicksTree",
"Params": null,
"Results": [
{
"Name": ".res.0",
"Type": "*gno.land/p/nt/bptree/v0.BPTree",
"Value": ""
}
]
},
{
"FuncName": "NewPoolPositionsTree",
"Params": null,
"Results": [
{
"Name": ".res.0",
"Type": "*gno.land/p/nt/bptree/v0.BPTree",
"Value": ""
}
]
},
{
"FuncName": "NewTokenPair",
"Params": null,
"Results": [
{
"Name": ".res.0",
"Type": "struct{token0 int64; token1 int64}",
"Value": ""
}
]
},
{
"FuncName": "NewSlot0",
"Params": [
{
"Name": "sqrtPriceX96",
"Type": "*gno.land/p/gnoswap/uint256.Uint",
"Value": ""
},
{
"Name": "tick",
"Type": "int32",
"Value": ""
},
{
"Name": "feeProtocol",
"Type": "uint8",
"Value": ""
},
{
"Name": "unlocked",
"Type": "bool",
"Value": ""
}
],
"Results": [
{
"Name": ".res.0",
"Type": "struct{sqrtPriceX96 *gno.land/p/gnoswap/uint256.Uint; tick int32; feeProtocol uint8; unlocked bool}",
"Value": ""
}
]
},
{
"FuncName": "NewTickInfo",
"Params": null,
"Results": [
{
"Name": ".res.0",
"Type": "struct{liquidityGross string; liquidityNet string; feeGrowthOutside0X128 string; feeGrowthOutside1X128 string; tickCumulativeOutside int64; secondsPerLiquidityOutsideX128 string; secondsOutside uint32; initialized bool}",
"Value": ""
}
]
},
{
"FuncName": "NewPositionInfo",
"Params": null,
"Results": [
{
"Name": ".res.0",
"Type": "struct{liquidity string; feeGrowthInside0LastX128 string; feeGrowthInside1LastX128 string; tokensOwed0 int64; tokensOwed1 int64}",
"Value": ""
}
]
},
{
"FuncName": "NewDefaultFeeAmountTickSpacing",
"Params": null,
"Results": [
{
"Name": ".res.0",
"Type": "map[uint32]int32",
"Value": ""
}
]
},
{
"FuncName": "CreatePool",
"Params": [
{
"Name": "cur",
"Type": "interface {.seal func(); Address func() .uverse.address; IsCode func() bool; IsCurrent func() bool; IsEphemeral func() bool; IsUser func() bool; IsUserCall func() bool; IsUserRun func() bool; PkgPath func() string; Previous func() .uverse.realm; String func() string}",
"Value": ""
},
{
"Name": "token0Path",
"Type": "string",
"Value": ""
},
{
"Name": "token1Path",
"Type": "string",
"Value": ""
},
{
"Name": "fee",
"Type": "uint32",
"Value": ""
},
{
"Name": "sqrtPriceX96",
"Type": "string",
"Value": ""
}
],
"Results": null
},
{
"FuncName": "SetPoolCreationFee",
"Params": [
{
"Name": "cur",
"Type": "interface {.seal func(); Address func() .uverse.address; IsCode func() bool; IsCurrent func() bool; IsEphemeral func() bool; IsUser func() bool; IsUserCall func() bool; IsUserRun func() bool; PkgPath func() string; Previous func() .uverse.realm; String func() string}",
"Value": ""
},
{
"Name": "fee",
"Type": "int64",
"Value": ""
}
],
"Results": null
},
{
"FuncName": "IncreaseObservationCardinalityNext",
"Params": [
{
"Name": "cur",
"Type": "interface {.seal func(); Address func() .uverse.address; IsCode func() bool; IsCurrent func() bool; IsEphemeral func() bool; IsUser func() bool; IsUserCall func() bool; IsUserRun func() bool; PkgPath func() string; Previous func() .uverse.realm; String func() string}",
"Value": ""
},
{
"Name": "token0Path",
"Type": "string",
"Value": ""
},
{
"Name": "token1Path",
"Type": "string",
"Value": ""
},
{
"Name": "fee",
"Type": "uint32",
"Value": ""
},
{
"Name": "cardinalityNext",
"Type": "uint16",
"Value": ""
}
],
"Results": null
},
{
"FuncName": "Mint",
"Params": [
{
"Name": "cur",
"Type": "interface {.seal func(); Address func() .uverse.address; IsCode func() bool; IsCurrent func() bool; IsEphemeral func() bool; IsUser func() bool; IsUserCall func() bool; IsUserRun func() bool; PkgPath func() string; Previous func() .uverse.realm; String func() string}",
"Value": ""
},
{
"Name": "token0Path",
"Type": "string",
"Value": ""
},
{
"Name": "token1Path",
"Type": "string",
"Value": ""
},
{
"Name": "fee",
"Type": "uint32",
"Value": ""
},
{
"Name": "tickLower",
"Type": "int32",
"Value": ""
},
{
"Name": "tickUpper",
"Type": "int32",
"Value": ""
},
{
"Name": "liquidityAmount",
"Type": "string",
"Value": ""
},
{
"Name": "positionCaller",
"Type": "string",
"Value": ""
}
],
"Results": [
{
"Name": ".res.0",
"Type": "string",
"Value": ""
},
{
"Name": ".res.1",
"Type": "string",
"Value": ""
}
]
},
{
"FuncName": "Burn",
"Params": [
{
"Name": "cur",
"Type": "interface {.seal func(); Address func() .uverse.address; IsCode func() bool; IsCurrent func() bool; IsEphemeral func() bool; IsUser func() bool; IsUserCall func() bool; IsUserRun func() bool; PkgPath func() string; Previous func() .uverse.realm; String func() string}",
"Value": ""
},
{
"Name": "token0Path",
"Type": "string",
"Value": ""
},
{
"Name": "token1Path",
"Type": "string",
"Value": ""
},
{
"Name": "fee",
"Type": "uint32",
"Value": ""
},
{
"Name": "tickLower",
"Type": "int32",
"Value": ""
},
{
"Name": "tickUpper",
"Type": "int32",
"Value": ""
},
{
"Name": "liquidityAmount",
"Type": "string",
"Value": ""
},
{
"Name": "positionCaller",
"Type": "string",
"Value": ""
}
],
"Results": [
{
"Name": ".res.0",
"Type": "string",
"Value": ""
},
{
"Name": ".res.1",
"Type": "string",
"Value": ""
}
]
},
{
"FuncName": "Collect",
"Params": [
{
"Name": "cur",
"Type": "interface {.seal func(); Address func() .uverse.address; IsCode func() bool; IsCurrent func() bool; IsEphemeral func() bool; IsUser func() bool; IsUserCall func() bool; IsUserRun func() bool; PkgPath func() string; Previous func() .uverse.realm; String func() string}",
"Value": ""
},
{
"Name": "token0Path",
"Type": "string",
"Value": ""
},
{
"Name": "token1Path",
"Type": "string",
"Value": ""
},
{
"Name": "fee",
"Type": "uint32",
"Value": ""
},
{
"Name": "recipient",
"Type": "string",
"Value": ""
},
{
"Name": "tickLower",
"Type": "int32",
"Value": ""
},
{
"Name": "tickUpper",
"Type": "int32",
"Value": ""
},
{
"Name": "amount0Requested",
"Type": "string",
"Value": ""
},
{
"Name": "amount1Requested",
"Type": "string",
"Value": ""
}
],
"Results": [
{
"Name": ".res.0",
"Type": "string",
"Value": ""
},
{
"Name": ".res.1",
"Type": "string",
"Value": ""
}
]
},
{
"FuncName": "SetWithdrawalFee",
"Params": [
{
"Name": "cur",
"Type": "interface {.seal func(); Address func() .uverse.address; IsCode func() bool; IsCurrent func() bool; IsEphemeral func() bool; IsUser func() bool; IsUserCall func() bool; IsUserRun func() bool; PkgPath func() string; Previous func() .uverse.realm; String func() string}",
"Value": ""
},
{
"Name": "fee",
"Type": "uint64",
"Value": ""
}
],
"Results": null
},
{
"FuncName": "HandleWithdrawalFee",
"Params": [
{
"Name": "cur",
"Type": "interface {.seal func(); Address func() .uverse.address; IsCode func() bool; IsCurrent func() bool; IsEphemeral func() bool; IsUser func() bool; IsUserCall func() bool; IsUserRun func() bool; PkgPath func() string; Previous func() .uverse.realm; String func() string}",
"Value": ""
},
{
"Name": "token0Path",
"Type": "string",
"Value": ""
},
{
"Name": "amount0",
"Type": "string",
"Value": ""
},
{
"Name": "token1Path",
"Type": "string",
"Value": ""
},
{
"Name": "amount1",
"Type": "string",
"Value": ""
},
{
"Name": "positionCaller",
"Type": "string",
"Value": ""
}
],
"Results": [
{
"Name": ".res.0",
"Type": "string",
"Value": ""
},
{
"Name": ".res.1",
"Type": "string",
"Value": ""
},
{
"Name": ".res.2",
"Type": "string",
"Value": ""
},
{
"Name": ".res.3",
"Type": "string",
"Value": ""
}
]
},
{
"FuncName": "Swap",
"Params": [
{
"Name": "cur",
"Type": "interface {.seal func(); Address func() .uverse.address; IsCode func() bool; IsCurrent func() bool; IsEphemeral func() bool; IsUser func() bool; IsUserCall func() bool; IsUserRun func() bool; PkgPath func() string; Previous func() .uverse.realm; String func() string}",
"Value": ""
},
{
"Name": "token0Path",
"Type": "string",
"Value": ""
},
{
"Name": "token1Path",
"Type": "string",
"Value": ""
},
{
"Name": "fee",
"Type": "uint32",
"Value": ""
},
{
"Name": "recipient",
"Type": "string",
"Value": ""
},
{
"Name": "zeroForOne",
"Type": "bool",
"Value": ""
},
{
"Name": "amountSpecified",
"Type": "string",
"Value": ""
},
{
"Name": "sqrtPriceLimitX96",
"Type": "string",
"Value": ""
},
{
"Name": "payer",
"Type": "string",
"Value": ""
},
{
"Name": "swapCallback",
"Type": "func(.uverse.realm, int64, int64, *gno.land/r/gnoswap/pool.CallbackMarker) .uverse.error",
"Value": ""
}
],
"Results": [
{
"Name": ".res.0",
"Type": "string",
"Value": ""
},
{
"Name": ".res.1",
"Type": "string",
"Value": ""
}
]
},
{
"FuncName": "DrySwap",
"Params": [
{
"Name": "token0Path",
"Type": "string",
"Value": ""
},
{
"Name": "token1Path",
"Type": "string",
"Value": ""
},
{
"Name": "fee",
"Type": "uint32",
"Value": ""
},
{
"Name": "zeroForOne",
"Type": "bool",
"Value": ""
},
{
"Name": "amountSpecified",
"Type": "string",
"Value": ""
},
{
"Name": "sqrtPriceLimitX96",
"Type": "string",
"Value": ""
}
],
"Results": [
{
"Name": ".res.0",
"Type": "string",
"Value": ""
},
{
"Name": ".res.1",
"Type": "string",
"Value": ""
},
{
"Name": ".res.2",
"Type": "bool",
"Value": ""
}
]
},
{
"FuncName": "SetSwapEndHook",
"Params": [
{
"Name": "cur",
"Type": "interface {.seal func(); Address func() .uverse.address; IsCode func() bool; IsCurrent func() bool; IsEphemeral func() bool; IsUser func() bool; IsUserCall func() bool; IsUserRun func() bool; PkgPath func() string; Previous func() .uverse.realm; String func() string}",
"Value": ""
},
{
"Name": "hook",
"Type": "func(.uverse.realm, string) .uverse.error",
"Value": ""
}
],
"Results": null
},
{
"FuncName": "SetSwapStartHook",
"Params": [
{
"Name": "cur",
"Type": "interface {.seal func(); Address func() .uverse.address; IsCode func() bool; IsCurrent func() bool; IsEphemeral func() bool; IsUser func() bool; IsUserCall func() bool; IsUserRun func() bool; PkgPath func() string; Previous func() .uverse.realm; String func() string}",
"Value": ""
},
{
"Name": "hook",
"Type": "func(.uverse.realm, string, int64)",
"Value": ""
}
],
"Results": null
},
{
"FuncName": "SetTickCrossHook",
"Params": [
{
"Name": "cur",
"Type": "interface {.seal func(); Address func() .uverse.address; IsCode func() bool; IsCurrent func() bool; IsEphemeral func() bool; IsUser func() bool; IsUserCall func() bool; IsUserRun func() bool; PkgPath func() string; Previous func() .uverse.realm; String func() string}",
"Value": ""
},
{
"Name": "hook",
"Type": "func(.uverse.realm, string, int32, bool, int64)",
"Value": ""
}
],
"Results": null
},
{
"FuncName": "CollectProtocol",
"Params": [
{
"Name": "cur",
"Type": "interface {.seal func(); Address func() .uverse.address; IsCode func() bool; IsCurrent func() bool; IsEphemeral func() bool; IsUser func() bool; IsUserCall func() bool; IsUserRun func() bool; PkgPath func() string; Previous func() .uverse.realm; String func() string}",
"Value": ""
},
{
"Name": "token0Path",
"Type": "string",
"Value": ""
},
{
"Name": "token1Path",
"Type": "string",
"Value": ""
},
{
"Name": "fee",
"Type": "uint32",
"Value": ""
},
{
"Name": "recipient",
"Type": "string",
"Value": ""
},
{
"Name": "amount0Requested",
"Type": "string",
"Value": ""
},
{
"Name": "amount1Requested",
"Type": "string",
"Value": ""
}
],
"Results": [
{
"Name": ".res.0",
"Type": "string",
"Value": ""
},
{
"Name": ".res.1",
"Type": "string",
"Value": ""
}
]
},
{
"FuncName": "SetFeeProtocol",
"Params": [
{
"Name": "cur",
"Type": "interface {.seal func(); Address func() .uverse.address; IsCode func() bool; IsCurrent func() bool; IsEphemeral func() bool; IsUser func() bool; IsUserCall func() bool; IsUserRun func() bool; PkgPath func() string; Previous func() .uverse.realm; String func() string}",
"Value": ""
},
{
"Name": "feeProtocol0",
"Type": "uint8",
"Value": ""
},
{
"Name": "feeProtocol1",
"Type": "uint8",
"Value": ""
}
],
"Results": null
},
{
"FuncName": "NewPoolStore",
"Params": [
{
"Name": "kvStore",
"Type": "interface {AddAuthorizedCaller func(int, .uverse.realm, .uverse.address, gno.land/p/gnoswap/store.Permission) .uverse.error; Delete func(int, .uverse.realm, string) .uverse.error; Get func(string) (interface {}, .uverse.error); GetAddress func(string) (.uverse.address, .uverse.error); GetAllKeys func() ([]string, .uverse.error); GetAuthorizedCallers func() (map[.uverse.address]gno.land/p/gnoswap/store.Permission, .uverse.error); GetBPTree func(string) (*gno.land/p/nt/bptree/v0.BPTree, .uverse.error); GetBool func(string) (bool, .uverse.error); GetDomainAddress func() .uverse.address; GetInt64 func(string) (int64, .uverse.error); GetString func(string) (string, .uverse.error); GetUint64 func(string) (uint64, .uverse.error); Has func(string) bool; IsWriteAuthorized func(.uverse.address) bool; RemoveAuthorizedCaller func(int, .uverse.realm, .uverse.address) .uverse.error; Set func(int, .uverse.realm, string, interface {}) .uverse.error; UpdateAuthorizedCaller func(int, .uverse.realm, .uverse.address, gno.land/p/gnoswap/store.Permission) .uverse.error}",
"Value": ""
}
],
"Results": [
{
"Name": ".res.0",
"Type": "interface {GetFeeAmountTickSpacing func() map[uint32]int32; GetPendingProtocolFees func() map[string]int64; GetPoolCreationFee func() int64; GetPools func() *gno.land/p/nt/bptree/v0.BPTree; GetSlot0FeeProtocol func() uint8; GetSwapEndHook func() func(.uverse.realm, string) .uverse.error; GetSwapStartHook func() func(.uverse.realm, string, int64); GetTickCrossHook func() func(.uverse.realm, string, int32, bool, int64); GetUnlocked func() bool; GetWithdrawalFeeBPS func() uint64; HasFeeAmountTickSpacing func() bool; HasPendingProtocolFees func() bool; HasPoolCreationFee func() bool; HasPools func() bool; HasSlot0FeeProtocol func() bool; HasSwapEndHook func() bool; HasSwapStartHook func() bool; HasTickCrossHook func() bool; HasUnlocked func() bool; HasWithdrawalFeeBPS func() bool; SetFeeAmountTickSpacing func(int, .uverse.realm, map[uint32]int32) .uverse.error; SetPendingProtocolFees func(int, .uverse.realm, map[string]int64) .uverse.error; SetPoolCreationFee func(int, .uverse.realm, int64) .uverse.error; SetPools func(int, .uverse.realm, *gno.land/p/nt/bptree/v0.BPTree) .uverse.error; SetSlot0FeeProtocol func(int, .uverse.realm, uint8) .uverse.error; SetSwapEndHook func(int, .uverse.realm, func(.uverse.realm, string) .uverse.error) .uverse.error; SetSwapStartHook func(int, .uverse.realm, func(.uverse.realm, string, int64)) .uverse.error; SetTickCrossHook func(int, .uverse.realm, func(.uverse.realm, string, int32, bool, int64)) .uverse.error; SetUnlocked func(int, .uverse.realm, bool) .uverse.error; SetWithdrawalFeeBPS func(int, .uverse.realm, uint64) .uverse.error}",
"Value": ""
}
]
},
{
"FuncName": "NewCallbackMarker",
"Params": null,
"Results": [
{
"Name": ".res.0",
"Type": "*gno.land/r/gnoswap/pool.CallbackMarker",
"Value": ""
}
]
},
{
"FuncName": "RegisterInitializer",
"Params": [
{
"Name": "cur",
"Type": "interface {.seal func(); Address func() .uverse.address; IsCode func() bool; IsCurrent func() bool; IsEphemeral func() bool; IsUser func() bool; IsUserCall func() bool; IsUserRun func() bool; PkgPath func() string; Previous func() .uverse.realm; String func() string}",
"Value": ""
},
{
"Name": "initializer",
"Type": "func(int, .uverse.realm, gno.land/r/gnoswap/pool.IPoolStore) gno.land/r/gnoswap/pool.IPool",
"Value": ""
}
],
"Results": null
},
{
"FuncName": "UpgradeImpl",
"Params": [
{
"Name": "cur",
"Type": "interface {.seal func(); Address func() .uverse.address; IsCode func() bool; IsCurrent func() bool; IsEphemeral func() bool; IsUser func() bool; IsUserCall func() bool; IsUserRun func() bool; PkgPath func() string; Previous func() .uverse.realm; String func() string}",
"Value": ""
},
{
"Name": "packagePath",
"Type": "string",
"Value": ""
}
],
"Results": null
},
{
"FuncName": "GetImplementationPackagePath",
"Params": null,
"Results": [
{
"Name": ".res.0",
"Type": "string",
"Value": ""
}
]
},
{
"FuncName": "GetPoolPath",
"Params": [
{
"Name": "token0Path",
"Type": "string",
"Value": ""
},
{
"Name": "token1Path",
"Type": "string",
"Value": ""
},
{
"Name": "fee",
"Type": "uint32",
"Value": ""
}
],
"Results": [
{
"Name": ".res.0",
"Type": "string",
"Value": ""
}
]
},
{
"FuncName": "EncodeTickKey",
"Params": [
{
"Name": "tick",
"Type": "int32",
"Value": ""
}
],
"Results": [
{
"Name": ".res.0",
"Type": "string",
"Value": ""
}
]
},
{
"FuncName": "EncodePositionKey",
"Params": [
{
"Name": "tickLower",
"Type": "int32",
"Value": ""
},
{
"Name": "tickUpper",
"Type": "int32",
"Value": ""
}
],
"Results": [
{
"Name": ".res.0",
"Type": "string",
"Value": ""
}
]
},
{
"FuncName": "DecodeTickKey",
"Params": [
{
"Name": "s",
"Type": "string",
"Value": ""
}
],
"Results": [
{
"Name": ".res.0",
"Type": "int32",
"Value": ""
}
]
}
](empty)