HomeOverviewValsValidatorsGovGovernanceIBCRelayersN/AInfraInfra
/
powered by GATA HUB

r/gnoswap/pool

Gno.land

Realm
Files14
Lines of code4,189excluding tests
Functions90exported
Storage1,220.9 KB122.09 GNOT deposit
DeployedN/A

Realm

Pathgno.land/r/gnoswap/pool
Accountg1dexaf6aqkk…0af34g5v
errors.gno7 lines
1package pool
2
3const ErrSpoofedRealm = "rlm does not match the current crossing frame"
4
5// errUpgradeWhileLocked is returned when UpgradeImpl is invoked while the
6// pool's reentrancy lock (StoreKeyUnlocked) is held.
7const errUpgradeWhileLocked = "cannot upgrade pool implementation while pool is locked"
FunctionParametersReturnsKind
GetPools()*gno.land/p/nt/bptree/rotree/v0.ReadOnlyTree-
ExistsPoolPath(poolPath string)bool-
GetBalances(poolPath string)int64, int64, error-
GetBalanceToken0(poolPath string)int64, error-
GetBalanceToken1(poolPath string)int64, error-
GetFee(poolPath string)uint32, error-
GetFeeAmountTickSpacings()map[uint32]int32-
GetFeeAmountTickSpacing(fee uint32)int32, error-
GetFeeGrowthGlobal0X128(poolPath string)string, error-
GetFeeGrowthGlobal1X128(poolPath string)string, error-
GetFeeGrowthGlobalX128(poolPath string)string, string, error-
GetLiquidity(poolPath string)string, error-
1–12 of 901/8

Gnoswap Pool

Pool creation fees are charged in GNS. GNS amounts use the token's six-decimal base units; pool token amounts use each token's own base units. Withdrawal fees apply to collected swap fees and are expressed in basis points. Protocol fee denominators apply to swap fees; zero disables the corresponding token's fee.

Implementation and operation status

| Field | Value | | --- | --- | | Realm address | g1dexaf6aqkkyr9yfy9d5up69lsn7ra80af34g5v | | Active implementation | gno\.land/r/gnoswap/pool/v1 | | Pool operations halted | false | | Protocol-fee operations halted | false | | Withdrawals halted | false |

Pools and fee configuration

| Field | Value | | --- | --- | | Stored pool records | 6 | | Pool creation fee (GNS base units; 6 decimals) | 100000000 | | Withdrawal fee | 100 bps | | Fee tiers (pips) | 100 (0.01%) / 500 (0.05%) / 3000 (0.30%) / 10000 (1.00%) | | Tick spacing (ticks; same tier order) | 1 / 10 / 60 / 200 | | Protocol fee denominators (token0 / token1) | 0 / 0 |

Loading calls…
Calls6from 4 accounts
FunctionCallerStatusBlockAge
CreatePoolg1s2g47c…tx36yvSuccess485,73313d ago
CreatePoolg1leu8d2…tu95wrSuccess380,48517d ago
CreatePoolg1s2g47c…tx36yvSuccess325,88819d ago
CreatePoolg1s2g47c…tx36yvSuccess196,34824d ago
CreatePoolg14fketv…sdwpq4Success175,44825d ago
CreatePoolg1gdg8jj…aq48tySuccess80,79829d ago
1–6 of 6