EcoPotVoting
Last updated
Was this helpful?
Last updated
Was this helpful?
이 컨트랙트는 EcoPot 프로젝트 생성 및 상태 관리, EcoPot 프로젝트 투표권 행사를 주관하는 컨트랙트입니다. KSP 스테이킹 유저는 원하는 EcoPot 프로젝트에 투표하여 지분율에 따라 Token을 분배받게 됩니다.
Cypress :
CreateEcoPot
EcoPot 생성시 발생하는 이벤트
Parameters
operator
: EcoPotOperator 주소
ecoPot
: 생성된 EcoPot 주소
token
: 분배될 token 주소
name
: EcoPot Project 이름
RemoveEcoPot
EcoPot 종료시 발생되는 이벤트
ChangeEcoPotAvailable
EcoPot 상태 변경시 발생되는 이벤트
AddVoting
EcoPot 투표시 발생되는 이벤트
Parameters
user
: 투표자 주소
ecopot
: EcoPot 주소
amount
: 투표 량
RemoveVoting
EcoPot 투표 철회시 발생되는 이벤트
Parameters
user
: 투표자 주소
ecopot
: EcoPot 주소
amount
: 철회 수량