Governance

Interact with on-chain governance proposals and hotfixes

Dequeue

Try to dequeue governance proposal

USAGE
$ celocli governance:dequeue
OPTIONS
--from=0xc1912fEE45d61C87Cc5EA59DaE31190FFFFf232d (required) From address
--ledgerAddresses=ledgerAddresses [default: 1] If --useLedger is set, this will get the first N
addresses for local signing
--ledgerConfirmAddress Set it to ask confirmation for the address of the transaction from
the ledger
--ledgerCustomAddresses=ledgerCustomAddresses [default: [0]] If --useLedger is set, this will get the array of
index addresses for local signing. Example --ledgerCustomAddresses
"[4,99]"
--useLedger Set it to use a ledger wallet
EXAMPLE
dequeue --from 0x5409ed021d9299bf6814279a6a1411a7e866a631

See code: packages/cli/src/commands/governance/dequeue.ts

Execute

Execute a passing governance proposal

USAGE
$ celocli governance:execute
OPTIONS
--from=0xc1912fEE45d61C87Cc5EA59DaE31190FFFFf232d (required) Executor's address
--ledgerAddresses=ledgerAddresses [default: 1] If --useLedger is set, this will get the first N
addresses for local signing
--ledgerConfirmAddress Set it to ask confirmation for the address of the transaction from
the ledger
--ledgerCustomAddresses=ledgerCustomAddresses [default: [0]] If --useLedger is set, this will get the array of
index addresses for local signing. Example --ledgerCustomAddresses
"[4,99]"
--proposalID=proposalID (required) UUID of proposal to execute
--useLedger Set it to use a ledger wallet
EXAMPLE
execute --proposalID 99 --from 0x5409ed021d9299bf6814279a6a1411a7e866a631

See code: packages/cli/src/commands/governance/execute.ts

Executehotfix

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 json transactions
--ledgerAddresses=ledgerAddresses [default: 1] If --useLedger is set, this will get the first N
addresses for local signing
--ledgerConfirmAddress Set it to ask confirmation for the address of the transaction from
the ledger
--ledgerCustomAddresses=ledgerCustomAddresses [default: [0]] If --useLedger is set, this will get the array of
index addresses for local signing. Example --ledgerCustomAddresses
"[4,99]"
--salt=salt (required) Secret salt associated with hotfix
--useLedger Set it to use a ledger wallet
EXAMPLE
executehotfix --jsonTransactions ./transactions.json --salt
0x614dccb5ac13cba47c2430bdee7829bb8c8f3603a8ace22e7680d317b39e3658 --from 0x5409ed021d9299bf6814279a6a1411a7e866a631

See code: packages/cli/src/commands/governance/executehotfix.ts

Hashhotfix

Hash a governance hotfix specified by JSON and a salt

USAGE
$ celocli governance:hashhotfix
OPTIONS
--jsonTransactions=jsonTransactions (required) Path to json transactions of the hotfix
--ledgerAddresses=ledgerAddresses [default: 1] If --useLedger is set, this will get the first N addresses
for local signing
--ledgerConfirmAddress Set it to ask confirmation for the address of the transaction from the
ledger
--ledgerCustomAddresses=ledgerCustomAddresses [default: [0]] If --useLedger is set, this will get the array of index
addresses for local signing. Example --ledgerCustomAddresses "[4,99]"
--salt=salt (required) Secret salt associated with hotfix
--useLedger Set it to use a ledger wallet
EXAMPLE
hashhotfix --jsonTransactions ./transactions.json --salt
0x614dccb5ac13cba47c2430bdee7829bb8c8f3603a8ace22e7680d317b39e3658

See code: packages/cli/src/commands/governance/hashhotfix.ts

List

List live governance proposals (queued and ongoing)

USAGE
$ celocli governance:list
EXAMPLE
list

See code: packages/cli/src/commands/governance/list.ts

Preparehotfix

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 hotfix transactions
--ledgerAddresses=ledgerAddresses [default: 1] If --useLedger is set, this will get the first N
addresses for local signing
--ledgerConfirmAddress Set it to ask confirmation for the address of the transaction from
the ledger
--ledgerCustomAddresses=ledgerCustomAddresses [default: [0]] If --useLedger is set, this will get the array of
index addresses for local signing. Example --ledgerCustomAddresses
"[4,99]"
--useLedger Set it to use a ledger wallet
EXAMPLE
preparehotfix --hash 0x614dccb5ac13cba47c2430bdee7829bb8c8f3603a8ace22e7680d317b39e3658 --from
0x5409ed021d9299bf6814279a6a1411a7e866a631

See code: packages/cli/src/commands/governance/preparehotfix.ts

Propose

Submit a governance proposal

USAGE
$ celocli governance:propose
OPTIONS
--deposit=deposit (required) Amount of Gold to attach to proposal
--descriptionURL=descriptionURL (required) A URL where further information about the proposal can
be viewed
--from=0xc1912fEE45d61C87Cc5EA59DaE31190FFFFf232d (required) Proposer's address
--jsonTransactions=jsonTransactions (required) Path to json transactions
--ledgerAddresses=ledgerAddresses [default: 1] If --useLedger is set, this will get the first N
addresses for local signing
--ledgerConfirmAddress Set it to ask confirmation for the address of the transaction from
the ledger
--ledgerCustomAddresses=ledgerCustomAddresses [default: [0]] If --useLedger is set, this will get the array of
index addresses for local signing. Example --ledgerCustomAddresses
"[4,99]"
--useLedger Set it to use a ledger wallet
EXAMPLE
propose --jsonTransactions ./transactions.json --deposit 10000 --from 0x5409ed021d9299bf6814279a6a1411a7e866a631
--descriptionURL https://gist.github.com/yorhodes/46430eacb8ed2f73f7bf79bef9d58a33

See code: packages/cli/src/commands/governance/propose.ts

Revokeupvote

Revoke upvotes for queued governance proposals

USAGE
$ celocli governance:revokeupvote
OPTIONS
--from=0xc1912fEE45d61C87Cc5EA59DaE31190FFFFf232d (required) Upvoter's address
--ledgerAddresses=ledgerAddresses [default: 1] If --useLedger is set, this will get the first N
addresses for local signing
--ledgerConfirmAddress Set it to ask confirmation for the address of the transaction from
the ledger
--ledgerCustomAddresses=ledgerCustomAddresses [default: [0]] If --useLedger is set, this will get the array of
index addresses for local signing. Example --ledgerCustomAddresses
"[4,99]"
--useLedger Set it to use a ledger wallet
EXAMPLE
revokeupvote --from 0x5409ed021d9299bf6814279a6a1411a7e866a631

See code: packages/cli/src/commands/governance/revokeupvote.ts

Show

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
--nonwhitelisters If set, displays validators that have not whitelisted the hotfix.
--notwhitelisted List validators who have not whitelisted the specified hotfix
--proposalID=proposalID UUID of proposal to view
--raw Display proposal in raw bytes format
--whitelisters If set, displays validators that have whitelisted the hotfix.
EXAMPLES
show --proposalID 99
show --proposalID 99 --raw
show --hotfix 0x614dccb5ac13cba47c2430bdee7829bb8c8f3603a8ace22e7680d317b39e3658
show --hotfix 0x614dccb5ac13cba47c2430bdee7829bb8c8f3603a8ace22e7680d317b39e3658 --whitelisters
show --hotfix 0x614dccb5ac13cba47c2430bdee7829bb8c8f3603a8ace22e7680d317b39e3658 --nonwhitelisters
show --account 0x47e172f6cfb6c7d01c1574fa3e2be7cc73269d95

See code: packages/cli/src/commands/governance/show.ts

Upvote

Upvote a queued governance proposal

USAGE
$ celocli governance:upvote
OPTIONS
--from=0xc1912fEE45d61C87Cc5EA59DaE31190FFFFf232d (required) Upvoter's address
--ledgerAddresses=ledgerAddresses [default: 1] If --useLedger is set, this will get the first N
addresses for local signing
--ledgerConfirmAddress Set it to ask confirmation for the address of the transaction from
the ledger
--ledgerCustomAddresses=ledgerCustomAddresses [default: [0]] If --useLedger is set, this will get the array of
index addresses for local signing. Example --ledgerCustomAddresses
"[4,99]"
--proposalID=proposalID (required) UUID of proposal to upvote
--useLedger Set it to use a ledger wallet
EXAMPLE
upvote --proposalID 99 --from 0x5409ed021d9299bf6814279a6a1411a7e866a631

See code: packages/cli/src/commands/governance/upvote.ts

View

View governance proposal information from ID

USAGE
$ celocli governance:view
OPTIONS
--proposalID=proposalID (required) UUID of proposal to view
--raw Display proposal in raw bytes format
EXAMPLES
view --proposalID 99
view --proposalID 99 --raw

See code: packages/cli/src/commands/governance/view.ts

Viewhotfix

View information associated with hotfix

USAGE
$ celocli governance:viewhotfix
OPTIONS
--hash=hash (required) Hash of hotfix transactions
--nonwhitelisters If set, displays validators that have not whitelisted the hotfix.
--whitelisters If set, displays validators that have whitelisted the hotfix.
EXAMPLES
viewhotfix --hash 0x614dccb5ac13cba47c2430bdee7829bb8c8f3603a8ace22e7680d317b39e3658
viewhotfix --hash 0x614dccb5ac13cba47c2430bdee7829bb8c8f3603a8ace22e7680d317b39e3658 --whitelisters
viewhotfix --hash 0x614dccb5ac13cba47c2430bdee7829bb8c8f3603a8ace22e7680d317b39e3658 --nonwhitelisters

See code: packages/cli/src/commands/governance/viewhotfix.ts

Vote

Vote on an approved governance proposal

USAGE
$ celocli governance:vote
OPTIONS
--from=0xc1912fEE45d61C87Cc5EA59DaE31190FFFFf232d (required) Voter's address
--ledgerAddresses=ledgerAddresses [default: 1] If --useLedger is set, this will get the first N
addresses for local signing
--ledgerConfirmAddress Set it to ask confirmation for the address of the transaction from
the ledger
--ledgerCustomAddresses=ledgerCustomAddresses [default: [0]] If --useLedger is set, this will get the array of
index addresses for local signing. Example --ledgerCustomAddresses
"[4,99]"
--proposalID=proposalID (required) UUID of proposal to vote on
--useLedger Set it to use a ledger wallet
--value=(Abstain|No|Yes) (required) Vote
EXAMPLE
vote --proposalID 99 --value Yes --from 0x5409ed021d9299bf6814279a6a1411a7e866a631

See code: packages/cli/src/commands/governance/vote.ts

Whitelisthotfix

Whitelist a governance hotfix

USAGE
$ celocli governance:whitelisthotfix
OPTIONS
--from=0xc1912fEE45d61C87Cc5EA59DaE31190FFFFf232d (required) Whitelister's address
--hash=hash (required) Hash of hotfix transactions
--ledgerAddresses=ledgerAddresses [default: 1] If --useLedger is set, this will get the first N
addresses for local signing
--ledgerConfirmAddress Set it to ask confirmation for the address of the transaction from
the ledger
--ledgerCustomAddresses=ledgerCustomAddresses [default: [0]] If --useLedger is set, this will get the array of
index addresses for local signing. Example --ledgerCustomAddresses
"[4,99]"
--useLedger Set it to use a ledger wallet
EXAMPLE
whitelisthotfix --hash 0x614dccb5ac13cba47c2430bdee7829bb8c8f3603a8ace22e7680d317b39e3658 --from
0x5409ed021d9299bf6814279a6a1411a7e866a631

See code: packages/cli/src/commands/governance/whitelisthotfix.ts

Withdraw

Withdraw refunded governance proposal deposits.

USAGE
$ celocli governance:withdraw
OPTIONS
--from=0xc1912fEE45d61C87Cc5EA59DaE31190FFFFf232d (required) Proposer's address
--ledgerAddresses=ledgerAddresses [default: 1] If --useLedger is set, this will get the first N
addresses for local signing
--ledgerConfirmAddress Set it to ask confirmation for the address of the transaction from
the ledger
--ledgerCustomAddresses=ledgerCustomAddresses [default: [0]] If --useLedger is set, this will get the array of
index addresses for local signing. Example --ledgerCustomAddresses
"[4,99]"
--useLedger Set it to use a ledger wallet
EXAMPLE
withdraw --from 0x5409ed021d9299bf6814279a6a1411a7e866a631

See code: packages/cli/src/commands/governance/withdraw.ts