gno.land/r/gnoswap/pool/v1
README.md assert.gno doc.gno errors.gno event_info.gno factory_param.gno getter.gno gnomod.toml init.gno instance.gno lock.gno manager.gno oracle.gno pool.gno position.gno protocol_fee.gno swap.gno tick.gno tick_bitmap.gno transfer.gno type.gno utils.gno
[
{
"FuncName": "NewTickEventInfo",
"Params": [
{
"Name": "tickID",
"Type": "int32",
"Value": ""
},
{
"Name": "tickInfo",
"Type": "struct{liquidityGross string; liquidityNet string; feeGrowthOutside0X128 string; feeGrowthOutside1X128 string; tickCumulativeOutside int64; secondsPerLiquidityOutsideX128 string; secondsOutside uint32; initialized bool}",
"Value": ""
}
],
"Results": [
{
"Name": ".res.0",
"Type": "*gno.land/r/gnoswap/pool/v1.tickEventInfo",
"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": "NewPoolV1",
"Params": [
{
"Name": "store",
"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": ""
}
],
"Results": [
{
"Name": ".res.0",
"Type": "interface {IPoolGetter gno.land/r/gnoswap/pool.IPoolGetter; IPoolManager gno.land/r/gnoswap/pool.IPoolManager; IPoolPosition gno.land/r/gnoswap/pool.IPoolPosition; IPoolSwap gno.land/r/gnoswap/pool.IPoolSwap}",
"Value": ""
}
]
},
{
"FuncName": "PositionLiquidity",
"Params": [
{
"Name": "p",
"Type": "*gno.land/r/gnoswap/pool.Pool",
"Value": ""
},
{
"Name": "key",
"Type": "string",
"Value": ""
}
],
"Results": [
{
"Name": ".res.0",
"Type": "string",
"Value": ""
}
]
},
{
"FuncName": "PositionFeeGrowthInside0LastX128",
"Params": [
{
"Name": "p",
"Type": "*gno.land/r/gnoswap/pool.Pool",
"Value": ""
},
{
"Name": "key",
"Type": "string",
"Value": ""
}
],
"Results": [
{
"Name": ".res.0",
"Type": "string",
"Value": ""
}
]
},
{
"FuncName": "PositionFeeGrowthInside1LastX128",
"Params": [
{
"Name": "p",
"Type": "*gno.land/r/gnoswap/pool.Pool",
"Value": ""
},
{
"Name": "key",
"Type": "string",
"Value": ""
}
],
"Results": [
{
"Name": ".res.0",
"Type": "string",
"Value": ""
}
]
},
{
"FuncName": "PositionTokensOwed0",
"Params": [
{
"Name": "p",
"Type": "*gno.land/r/gnoswap/pool.Pool",
"Value": ""
},
{
"Name": "key",
"Type": "string",
"Value": ""
}
],
"Results": [
{
"Name": ".res.0",
"Type": "int64",
"Value": ""
}
]
},
{
"FuncName": "PositionTokensOwed1",
"Params": [
{
"Name": "p",
"Type": "*gno.land/r/gnoswap/pool.Pool",
"Value": ""
},
{
"Name": "key",
"Type": "string",
"Value": ""
}
],
"Results": [
{
"Name": ".res.0",
"Type": "int64",
"Value": ""
}
]
},
{
"FuncName": "GetPositionByPool",
"Params": [
{
"Name": "p",
"Type": "*gno.land/r/gnoswap/pool.Pool",
"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": "bool",
"Value": ""
}
]
},
{
"FuncName": "GetTickLiquidityGross",
"Params": [
{
"Name": "p",
"Type": "*gno.land/r/gnoswap/pool.Pool",
"Value": ""
},
{
"Name": "tick",
"Type": "int32",
"Value": ""
}
],
"Results": [
{
"Name": ".res.0",
"Type": "string",
"Value": ""
}
]
},
{
"FuncName": "GetTickLiquidityNet",
"Params": [
{
"Name": "p",
"Type": "*gno.land/r/gnoswap/pool.Pool",
"Value": ""
},
{
"Name": "tick",
"Type": "int32",
"Value": ""
}
],
"Results": [
{
"Name": ".res.0",
"Type": "string",
"Value": ""
}
]
},
{
"FuncName": "GetTickFeeGrowthOutside0X128",
"Params": [
{
"Name": "p",
"Type": "*gno.land/r/gnoswap/pool.Pool",
"Value": ""
},
{
"Name": "tick",
"Type": "int32",
"Value": ""
}
],
"Results": [
{
"Name": ".res.0",
"Type": "string",
"Value": ""
}
]
},
{
"FuncName": "GetTickFeeGrowthOutside1X128",
"Params": [
{
"Name": "p",
"Type": "*gno.land/r/gnoswap/pool.Pool",
"Value": ""
},
{
"Name": "tick",
"Type": "int32",
"Value": ""
}
],
"Results": [
{
"Name": ".res.0",
"Type": "string",
"Value": ""
}
]
},
{
"FuncName": "GetTickCumulativeOutside",
"Params": [
{
"Name": "p",
"Type": "*gno.land/r/gnoswap/pool.Pool",
"Value": ""
},
{
"Name": "tick",
"Type": "int32",
"Value": ""
}
],
"Results": [
{
"Name": ".res.0",
"Type": "int64",
"Value": ""
}
]
},
{
"FuncName": "GetTickSecondsPerLiquidityOutsideX128",
"Params": [
{
"Name": "p",
"Type": "*gno.land/r/gnoswap/pool.Pool",
"Value": ""
},
{
"Name": "tick",
"Type": "int32",
"Value": ""
}
],
"Results": [
{
"Name": ".res.0",
"Type": "string",
"Value": ""
}
]
},
{
"FuncName": "GetTickSecondsOutside",
"Params": [
{
"Name": "p",
"Type": "*gno.land/r/gnoswap/pool.Pool",
"Value": ""
},
{
"Name": "tick",
"Type": "int32",
"Value": ""
}
],
"Results": [
{
"Name": ".res.0",
"Type": "uint32",
"Value": ""
}
]
},
{
"FuncName": "GetTickInitialized",
"Params": [
{
"Name": "p",
"Type": "*gno.land/r/gnoswap/pool.Pool",
"Value": ""
},
{
"Name": "tick",
"Type": "int32",
"Value": ""
}
],
"Results": [
{
"Name": ".res.0",
"Type": "bool",
"Value": ""
}
]
}
](empty)