GitHub - ATM-Developer/management-proposal: ATM management contract proposal · GitHub
Skip to content

ATM-Developer/management-proposal

Repository files navigation

management-proposal

ATM management contract proposal

Management Contract Method Invocation Description:

1.addNodePropose

For proposals that add node addresses, only the added node addresses have the right to propose and vote.

For example, add a new node address:0xC82bE99C4Cba83C30C2236D561f0741B264529C6 image

2.deleteNodePropose

Delete the node address proposal, the deleted node address will no longer have the power of proposal and voting.

For example, delete a node address:0xC82bE99C4Cba83C30C2236D561f0741B264529C6 image

3.excContractPropose

A proposal to perform a contract operation, used to call the relevant methods of the corresponding contract

For example, calling the setMinter method of a LUCA contract,

_targetAddr:The contract object to invoke
  
  _data:The call data for the contract to be executed
image

4.updateProxyAdminPropose

Change the address of the contract admin. This admin is the permission address of the upgrade contract. This method needs to be called only when you change the new management contract.

5.updateProxyUpgradPropose

Upgrade the logical contract of the corresponding contract

For example, upgrading the logical contract of an Incentive contract

_targetAddr:The contract object to invoke
  
  _addr:New Logical Contract Address
image

6.vote

Vote for the specified proposal. If the number of votes exceeds half of the nodes, the corresponding operation is performed.

_proposalId:Proposal ID

About

ATM management contract proposal

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

Contributors