Gno.land
| 1 | package pool |
| 2 | |
| 3 | const 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. |
| 7 | const errUpgradeWhileLocked = "cannot upgrade pool implementation while pool is locked" |
| Function | Parameters |
|---|---|
| GetPools | () |
| ExistsPoolPath | (poolPath string) |
| GetBalances | (poolPath string) |
| GetBalanceToken0 | (poolPath string) |
| GetBalanceToken1 | (poolPath string) |
| GetFee | (poolPath string) |
| GetFeeAmountTickSpacings | () |
| GetFeeAmountTickSpacing | (fee uint32) |
| GetFeeGrowthGlobal0X128 | (poolPath string) |
| GetFeeGrowthGlobal1X128 | (poolPath string) |
| GetFeeGrowthGlobalX128 | (poolPath string) |
| GetLiquidity | (poolPath string) |
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 |
| Function | Caller | Age |
|---|---|---|
| CreatePool | g1s2g47c…tx36yv | 13d ago |
| CreatePool | g1leu8d2…tu95wr | 17d ago |
| CreatePool | g1s2g47c…tx36yv | 19d ago |
| CreatePool | g1s2g47c…tx36yv | 24d ago |
| CreatePool | g14fketv…sdwpq4 | 25d ago |
| CreatePool | g1gdg8jj…aq48ty | 29d ago |