Array of contract addresses to perform proposal execution
values
uint256[]
Array of rBTC amounts to send on proposal execution
signatures
string[]
Array of function signatures to call on proposal execution
calldatas
bytes[]
Array of payloads for the calls on proposal execution
description
string
Text describing the purpose of the proposal
VOTING A PROPOSAL
Once a proposal is successfully deployed, it has a window to be voted of 2880 blocks in RSK blockchain, which is around 24 hours. Only stakers will have voting power. The execution of the former function does not revert if you are not a staker user: it just add zero voting weight to the proposal, and spends the needed gas.
Arguments
Name
Type
Description
proposalId
uint256
Proposal index to access the list proposals[] from storage
support
bool
Vote value, yes or no: whether you support or not the proposal
QUEUEING A PROPOSAL
If a proposal earns enough voting power in favor, the proposal must be put in a queue of 48 hours: this allow users that do not agree with the results to withdraw their funds from Sovryn protocol. Anybody can put in que an approved proposal.
Arguments
Name
Type
Description
proposalId
uint256
Proposal index to access the list proposals[] from storage
EXECUTING A PROPOSAL
After the minimum queue time windows is done, anybody can execute an approved proposal.
Arguments
Name
Type
Description
proposalId
uint256
Proposal index to access the list proposals[] from storage