Governor
This contract acts as an administrator to manage the voting registration, voting counting, and execution of the Klayswap. It also performs important parameters of KLAYswap, proposal registration, and voting execution.
Code
Github Link: (Will be updated after official launch)
Address
Events, Read-Only Functions, and State-Changing Functions
Events
ProposalCreated
Events log of proposals are created
Parameters
id
: proposal IDproposer
: proposer's addresstarget
: Address of the contract to be executedsignature
: signature of the function to be executedcallData
: function data to be executedstartBlock
: start block numberendBlock
: end block numberdescription
: proposal details
VoteCast
Events log of vote
Parameters
voter
: voter's addressproposalId
: proposal IDsupport
: supportvotes
: Number of vote vKSPagainstVotes
: Number of total against voteforVotes
: Number of total favor votequorumVotes
: Number of proposal quorumreason
: reason
ProposalCanceled
Events log of proposal canceled
ProposalQueued
Events log of proposal queued
ProposalExecuted
Events log of proposal executed
ProposalFeeSet
Events log of proposal fee(KSP) changed
Last updated