PoolVoting
이 컨트랙트는 최대 투표 가능한 풀 수 (10개), 풀 전체의 투표 정보, 풀 투표 순위 등 KLAYswap의 유동성 풀 투표를 관리합니다. 풀 투표자에 대한 보상으로 풀 거래 수수료의 50%를 보유한 투표 지분에 따라 분배합니다.
Code
Github Link: (Will be updated after official launch)
Address
Events, Read-Only Functions, and State-Changing Functions
Events
AddVoting
event AddVoting(address user, address exchange, uint amount);
vKSP를 투표시 발생되는 이벤트
amount는 정수 단위로 입력 가능
RemoveVoting
event RemoveVoting(address user, address exchange, uint amount);
vKSP를 철회시 발생되는 이벤트
amount는 투표 한도내에 정수 단위로 입력 가능
GiveReward
event GiveReward(address user, address exchange, address token, uint amount, uint lastIndex, uint rewardSum);
투표자에게 거래 수수료 보상 지급 시 발생되는 이벤트
Last updated
Was this helpful?