Treasury
Treasury Contract는 에어드랍 실행을 주관하는 컨트랙트입니다. 권한을 가진 Operator는 Treasury Contract를 통하여 에어드랍을 설정하고 집행할 수 있습니다.
Code
Github Link: (Will be updated after official launch)
Address
Cypress : 0x29990aaF04f3D5Ac7d8C88beab1A009C1Ab4936e
Events, Read-Only Functions, and State-Changing Functions
Events
ChangeCreationFee
event ChangeCreationFee(uint fee);생성 수수료(KSP) 변경 시 발생되는 이벤트
SetOperator
event SetOperator(address operator, bool valid);Operator 설정 시 발생되는 이벤트
CreateDistribution
event CreateDistribution(address operator, address token, uint totalAmount, uint blockAmount, uint blockNumber, address[] targets, uint[] rates);에어드랍 설정 시 발생되는 이벤트
Parameters
RemoveDistribution
event RemoveDistribution(address operator, address token);에어드랍 해제 시 발생되는 이벤트
Deposit
event Deposit(address operator, address token, uint amount);Deposit 이벤트
RefixBlockAmount
event RefixBlockAmount(address operator, address token, uint blockAmount);RefixBLockAmount 이벤트
RefixDistributionRate
event RefixDistributionRate(address operator, address token, address[] targets, uint[] rates);RefixDistributionRate 이벤트
Last updated