DAORoot
propose
propose
Creates new DAO proposal.
Parameters:
deployProposal
deployProposal
Deploys Proposal contract (creates a new instance of Platform contract).
Events emitted:
ProposalCreated
onProposalSucceeded
onProposalSucceeded
Callback method after successful proposal.
Parameters:
Events emitted:
ExecutingTonActions
executeTonAction
executeTonAction
Does the transfer based on the action payload.
Parameters:
executeEthActions
executeEthActions
Based on the list of actions fills necessary data, adds actions to the chain of actions, encodes them to the event data and deploys events.
Parameters:
calcTonActionsValue
calcTonActionsValue
Calculates total value of actions on Everscale.
Parameters:
Return values:
calcEthActionsValue
calcEthActionsValue
Calculates total value of actions on Ethereum.
Parameters:
Return values:
_buildProposalInitialData Builds initial data for Proposal
function _buildProposalInitialData(uint32 proposalId) private inline pure returns (TvmCell)
Parameters:
Return values:
_buildStakingAccountInitialData
_buildStakingAccountInitialData
Builds initial data for Staking account
Parameters:
Return values:
_buildInitData
_buildInitData
Builds initial data for specified Platform type.
Parameters:
Return values:
requestUpgradeProposal
requestUpgradeProposal
Creates request for upgrading proposal for different version.
Parameters:
setStakingRoot
setStakingRoot
Sets staking root address from params and transfers remaining gas to admin
Parameters:
Events emitted:
StakingRootUpdated
transferAdmin
transferAdmin
Transfers admin role to other address.
Parameters:
Events emitted:
AdminTransferAccepted
Last updated