Contracts
All contracts are verified on the GIWA Sepolia explorer. Nothing is upgradeable. The only mutable value in the system is the fee schedule, behind a 48 h timelock and capped in code.
Network: GIWA Sepolia (chain id 91342) · DEX: Uniswap v2 fallback (0.3 %) · deployed at block 38,885,826
| Contract | Address |
|---|---|
| GongguFactoryOpens gonggus, keeps the registry, holds the capped fee schedule. | 0x85786Db9b1c4dcC720B6f2f010411FE7a6047b63 |
| Gonggu (implementation)The verified code every gonggu clone runs. | 0x9Dda0FfAD0889E5e0992D7DFAD8dd8c77021e564 |
| LPLockerHolds every LP position forever. Splits pool fees 50/50. | 0x8675656818a25e1d6ae4a4faa7b7E8682bC2Ee84 |
| TreasuryReceives fees. 48 h timelock on fee changes. | 0x531839d6eaF1f825B996A768958fC0b118b80196 |
| DEX adapterCreates pools and collects fees for the Locker. | 0x40928C66B1CA9EB229bc1B4047E87Ba6a2A6eF55 |
| Uniswap v2 factory (testnet)GONGGU-deployed Uniswap v2, protocol fee disabled forever. | 0xF89a6C5d97017a944c0D0f90717B4dF76dE3724a |
| Uniswap v2 router (testnet)Used by the swap box on Live gonggus. | 0xDBB967AE400398E4c6655fa26176241bebb1d52A |
| WETHOP Stack predeploy. | 0x4200000000000000000000000000000000000006 |
What each contract does
- GongguFactory opens gonggus as EIP-1167 clones of one verified implementation and keeps the registry.
- Gonggu is one launch: deposits, withdrawals, settlement, claims and refunds.
- GongguToken is a plain ERC-20, 1,000,000,000 supply, minted once at settlement.
- LPLocker holds every liquidity position. It has no function that moves a position out. Anyone can call collect, which splits pool fees 50 % creator / 50 % treasury.
- DEX adapter is the only DEX-specific code. Switching DEX means deploying another adapter.
- Treasury receives fees and holds the 48 h fee timelock. Its owner is a 2-of-3 Safe on mainnet; the deployer on testnet.
The same bytecode will be deployed on mainnet, with the Uniswap v3 adapter if Uniswap v3 is live on GIWA.
Source
The contracts, tests and deploy scripts are in the contracts/ folder of the repository. The test suite includes invariants run across 200 random actors.
