Skip to content

KYRDTeam/ilo-contracts

Repository files navigation

Overview:

https://docs.liquidpad.io/

Deployment Address

NOTE: Token factory on arbitrum and ethereum is an old version containing a bug that lead to unable to create whitelist contracts. ONLY base has updated address with the fix

Arbitrum Base Ethereum
ILOManager 0x10e6662269C3A6255E59c3E55c2f5624c7B983c5 0x10e6662269C3A6255E59c3E55c2f5624c7B983c5 0x10e6662269C3A6255E59c3E55c2f5624c7B983c5
ILOPool Implementation - 0x1516fb2f49e6a47dd4721c64e4403b436296f421 -
ILOPool Sale Implementation 0x7cd0F25A2d133F5e869ccF6a8A2dda693BecF15A 0x7cd0F25A2d133F5e869ccF6a8A2dda693BecF15A 0x7cd0F25A2d133F5e869ccF6a8A2dda693BecF15A
Token Factory - 0x9e5Fa458b7ca10b4a9409aFA583772BA879Ab77E -
ILOManager(Dev env) - 0x53D7AfC47A7DdA30605EA3907201f19f851a660D -
Token Factory(Dev env) - 0x0CD6C644F2Ff3F262D9468Bfa0Afbd5e44850ebC -

Build and deploy:

TL;DR: make all. this command require all env below. (see sample.env file)

env can store in .env file or export before run command.

Build:

    forge build

Test:

    make test

Deploy:

TL;DR: make deploy-all-contract . This command require all env below

All deploy script require SALT_SEED, PRIVATE_KEY, RPC_URL, CHAIN_ID env

  • Deploy ilo-manager:
make deploy-ilo-manager

Initialize ilo-manager: require env: FEE_TAKER, OWNER, PLATFORM_FEE, PERFORMANCE_FEE, UNIV3_FACTORY, WETH9

make init-ilo-manager
  • Deploy ilo-pool:
make deploy-ilo-pool

Verify contract:

TL;DR: make verify-all-contract . This command require all env below

All verify script require SALT_SEED, ETHERSCAN_API_KEY, VERIFIER_URL, CHAIN_ID env.

  • Verify ilo-manager contract:
make verify-ilo-manager
  • Verify ilo-pool contract:
make verify-ilo-pool

Detail contract docs(See here):

Contract Integration

For project owner: