EcoPot
스테이킹 유저에게 지급될 EcoPot 계획 컨트랙트입니다. Ecopot 프로젝트당 한 개의 Token을 분배할 수 있으며 권한을 부여받은 Operator만이 계획 수립과 진행이 가능합니다.
Address
Contract address after production is deployed (scope link)
Events, Read-Only Functions, and State-Changing Functions
Events
Initialized
event Initialized(uint totalAmount, uint amountPerBlock, uint distributableBlock, uint estimateEndBlock);Ecopot 계획 수립 이벤트
Parameters
totalAmount: 분배할 토큰 수량amountPerBlock: Block 당 분배할 토큰 수량distributableBlock: 분배 시작 Block NumberestimateEndBlock: 예상 분배 종료 Block Number
Deposit
event Deposit(uint amount, uint totalAmount, uint estimateEndBlock);토큰 예치 이벤트
Parameters
amount: 예치 토큰 수량totalAmount: 총 예치 토큰 수estimateEndBlock: 예상 분배 종료 Block Number
Removed
event Removed(address operator, address token, uint estimateEndBlock, uint remainedBalance);Ecopot 종료 이벤트
Parameters
operator: 예치 토큰 수량token: 총 예치 토큰 수estimateEndBlock: 예상 분배 종료 Block NumberremainedBalance: 잔여 토큰 수량
ChangeAvailable
event ChangeAvailable(bool b);Ecopot 상태 변경 이벤트
GiveReward
event GiveReward(address user, uint amount, uint currentIndex, uint userRewardSum);토큰 보상 지급시 발생하는 이벤트
Parameters
user: 유저 주소amount: 지급 토큰 수량currentIndex: 보상 지급 시점 IndexuserRewardSum: 누적 보상 수량
Last updated