Interact with on-chain governance proposals and hotfixes
Interactively build a governance proposal
Interactively build a governance proposal​USAGE$ celocli governance:build-proposal​OPTIONS--output=output (required) Path to output​EXAMPLEbuild-proposal --output ./transactions.json
See code: src/commands/governance/build-proposal.ts​
Try to dequeue governance proposal
Try to dequeue governance proposal​USAGE$ celocli governance:dequeue​OPTIONS--from=0xc1912fEE45d61C87Cc5EA59DaE31190FFFFf232d (required) From address​EXAMPLEdequeue --from 0x5409ed021d9299bf6814279a6a1411a7e866a631
See code: src/commands/governance/dequeue.ts​
Execute a passing governance proposal
Execute a passing governance proposal​USAGE$ celocli governance:execute​OPTIONS--from=0xc1912fEE45d61C87Cc5EA59DaE31190FFFFf232d (required) Executor's address​--proposalID=proposalID (required) UUID of proposal toexecute​EXAMPLEexecute --proposalID 99 --from 0x5409ed021d9299bf6814279a6a1411a7e866a631
See code: src/commands/governance/execute.ts​
Execute a governance hotfix prepared for the current epoch
Execute a governance hotfix prepared for the current epoch​USAGE$ celocli governance:executehotfix​OPTIONS--from=0xc1912fEE45d61C87Cc5EA59DaE31190FFFFf232d (required) Executors's address​--jsonTransactions=jsonTransactions (required) Path to jsontransactions​--salt=salt (required) Secret salt associatedwith hotfix​EXAMPLEexecutehotfix --jsonTransactions ./transactions.json --salt0x614dccb5ac13cba47c2430bdee7829bb8c8f3603a8ace22e7680d317b39e3658 --from0x5409ed021d9299bf6814279a6a1411a7e866a631
See code: src/commands/governance/executehotfix.ts​
Hash a governance hotfix specified by JSON and a salt
Hash a governance hotfix specified by JSON and a salt​USAGE$ celocli governance:hashhotfix​OPTIONS--jsonTransactions=jsonTransactions (required) Path to json transactions of thehotfix​--salt=salt (required) Secret salt associated with hotfix​EXAMPLEhashhotfix --jsonTransactions ./transactions.json --salt0x614dccb5ac13cba47c2430bdee7829bb8c8f3603a8ace22e7680d317b39e3658
See code: src/commands/governance/hashhotfix.ts​
List live governance proposals (queued and ongoing)
List live governance proposals (queued and ongoing)​USAGE$ celocli governance:list​OPTIONS-x, --extended show extra columns--columns=columns only show provided columns (comma-separated)--csv output is csv format [alias: --output=csv]--filter=filter filter property by partial string matching, ex: name=foo--no-header hide table header from output--no-truncate do not truncate output to fit screen--output=csv|json|yaml output in a more machine friendly format--sort=sort property to sort by (prepend '-' for descending)​EXAMPLElist
See code: src/commands/governance/list.ts​
Prepare a governance hotfix for execution in the current epoch
Prepare a governance hotfix for execution in the current epoch​USAGE$ celocli governance:preparehotfix​OPTIONS--from=0xc1912fEE45d61C87Cc5EA59DaE31190FFFFf232d (required) Preparer's address​--hash=hash (required) Hash of hotfixtransactions​EXAMPLEpreparehotfix --hash0x614dccb5ac13cba47c2430bdee7829bb8c8f3603a8ace22e7680d317b39e3658 --from0x5409ed021d9299bf6814279a6a1411a7e866a631
See code: src/commands/governance/preparehotfix.ts​
Submit a governance proposal
Submit a governance proposal​USAGE$ celocli governance:propose​OPTIONS--deposit=deposit (required) Amount of Gold to attachto proposal​--descriptionURL=descriptionURL (required) A URL where furtherinformation about the proposal canbe viewed​--from=0xc1912fEE45d61C87Cc5EA59DaE31190FFFFf232d (required) Proposer's address​--jsonTransactions=jsonTransactions (required) Path to jsontransactions​EXAMPLEpropose --jsonTransactions ./transactions.json --deposit 10000 --from0x5409ed021d9299bf6814279a6a1411a7e866a631 --descriptionURLhttps://gist.github.com/yorhodes/46430eacb8ed2f73f7bf79bef9d58a33
See code: src/commands/governance/propose.ts​
Revoke upvotes for queued governance proposals
Revoke upvotes for queued governance proposals​USAGE$ celocli governance:revokeupvote​OPTIONS--from=0xc1912fEE45d61C87Cc5EA59DaE31190FFFFf232d (required) Upvoter's address​EXAMPLErevokeupvote --from 0x5409ed021d9299bf6814279a6a1411a7e866a631
See code: src/commands/governance/revokeupvote.ts​
Show information about a governance proposal, hotfix, or account.
Show information about a governance proposal, hotfix, or account.​USAGE$ celocli governance:show​OPTIONS--account=account Address of account or voter--hotfix=hotfix Hash of hotfix proposal--jsonTransactions=jsonTransactions Output proposal JSON to provided file​--nonwhitelisters If set, displays validators that have notwhitelisted the hotfix.​--notwhitelisted List validators who have not whitelisted thespecified hotfix​--proposalID=proposalID UUID of proposal to view​--raw Display proposal in raw bytes format​--whitelisters If set, displays validators that have whitelistedthe hotfix.​ALIASES$ celocli governance:show$ celocli governance:showhotfix$ celocli governance:showaccount$ celocli governance:view$ celocli governance:viewhotfix$ celocli governance:viewaccount​EXAMPLESshow --proposalID 99​show --proposalID 99 --raw​show --hotfix 0x614dccb5ac13cba47c2430bdee7829bb8c8f3603a8ace22e7680d317b39e3658​show --hotfix 0x614dccb5ac13cba47c2430bdee7829bb8c8f3603a8ace22e7680d317b39e3658--whitelisters​show --hotfix 0x614dccb5ac13cba47c2430bdee7829bb8c8f3603a8ace22e7680d317b39e3658--nonwhitelisters​show --account 0x47e172f6cfb6c7d01c1574fa3e2be7cc73269d95
See code: src/commands/governance/show.ts​
Upvote a queued governance proposal
Upvote a queued governance proposal​USAGE$ celocli governance:upvote​OPTIONS--from=0xc1912fEE45d61C87Cc5EA59DaE31190FFFFf232d (required) Upvoter's address​--proposalID=proposalID (required) UUID of proposal toupvote​EXAMPLEupvote --proposalID 99 --from 0x5409ed021d9299bf6814279a6a1411a7e866a631
See code: src/commands/governance/upvote.ts​
Vote on an approved governance proposal
Vote on an approved governance proposal​USAGE$ celocli governance:vote​OPTIONS--from=0xc1912fEE45d61C87Cc5EA59DaE31190FFFFf232d (required) Voter's address​--proposalID=proposalID (required) UUID of proposal to voteon​--value=(Abstain|No|Yes) (required) Vote​EXAMPLEvote --proposalID 99 --value Yes --from 0x5409ed021d9299bf6814279a6a1411a7e866a631
See code: src/commands/governance/vote.ts​
Whitelist a governance hotfix
Whitelist a governance hotfix​USAGE$ celocli governance:whitelisthotfix​OPTIONS--from=0xc1912fEE45d61C87Cc5EA59DaE31190FFFFf232d (required) Whitelister's address​--hash=hash (required) Hash of hotfixtransactions​EXAMPLEwhitelisthotfix --hash0x614dccb5ac13cba47c2430bdee7829bb8c8f3603a8ace22e7680d317b39e3658 --from0x5409ed021d9299bf6814279a6a1411a7e866a631
See code: src/commands/governance/whitelisthotfix.ts​
Withdraw refunded governance proposal deposits.
Withdraw refunded governance proposal deposits.​USAGE$ celocli governance:withdraw​OPTIONS--from=0xc1912fEE45d61C87Cc5EA59DaE31190FFFFf232d (required) Proposer's address​EXAMPLEwithdraw --from 0x5409ed021d9299bf6814279a6a1411a7e866a631
See code: src/commands/governance/withdraw.ts​