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