Development
이 페이지에서는 스마트 계약을 컴파일 / 배포 / 테스트 / 상호 작용하는 방법을 설명합니다. Cyclone 토큰, GovernorAlpha / Timelock, Aeolus 및 Cyclone (Coin, ERC20)의 네 가지 주요 계약이 있습니다.
Preparation
npm install -g trufflenpm install
Compile contracts
Deploy contracts
ioctl contract deploy bytecode CYCLONETOKEN_BYTECODE ABI_PATH '{"_operator": "OPERATOR_ADDRESS", "_lp": "INITIAL_LP_ADDRESS"}'ioctl contract deploy bytecode TIMELOCK_BYTECODE TIMELOCK_ABI_PATH '{"admin_": DEPLOY_ADMIN_ADDRESS, "delay_": DELAY_IN_SEC}'Test contracts
Interaction with Cyclone contracts [Anonymity Mining]
Interaction with Aeolus contract [Liquidity Mining]
Interaction with GovernorAlpha contract [Governance]
Last updated
Was this helpful?