Skip to main content

celocli releasecelo

View and manage ReleaseGold contracts

celocli releasecelo:authorize

Authorize an alternative key to be used for a given action (Vote, Validate, Attest) on behalf of the ReleaseGold instance contract.
See code: src/commands/releasecelo/authorize.ts

celocli releasecelo:create-account

Creates a new account for the ReleaseGold instance
See code: src/commands/releasecelo/create-account.ts

celocli releasecelo:locked-celo

Perform actions [lock, unlock, withdraw] on CELO that has been locked via the provided ReleaseGold contract.

celocli releasecelo:locked-gold

Perform actions [lock, unlock, withdraw] on CELO that has been locked via the provided ReleaseGold contract.
See code: src/commands/releasecelo/locked-gold.ts

celocli releasecelo:refund-and-finalize

Refund the given contract’s balance to the appropriate parties and destroy the contact. Can only be called by the release owner of revocable ReleaseGold instances.
See code: src/commands/releasecelo/refund-and-finalize.ts

celocli releasecelo:revoke

Revoke the given contract instance. Once revoked, any Locked Gold can be unlocked by the release owner. The beneficiary will then be able to withdraw any released Gold that had yet to be withdrawn, and the remainder can be transferred by the release owner to the refund address. Note that not all ReleaseGold instances are revokable.
See code: src/commands/releasecelo/revoke.ts

celocli releasecelo:revoke-votes

Revokes votes for the given contract’s account from the given group’s account
See code: src/commands/releasecelo/revoke-votes.ts

celocli releasecelo:set-account

Set account properties of the ReleaseGold instance account such as name, data encryption key, and the metadata URL
See code: src/commands/releasecelo/set-account.ts

celocli releasecelo:set-account-wallet-address

Set the ReleaseGold contract account’s wallet address
See code: src/commands/releasecelo/set-account-wallet-address.ts

celocli releasecelo:set-beneficiary

Set the beneficiary of the ReleaseGold contract. This command is gated via a multi-sig, so this is expected to be called twice: once by the contract’s beneficiary and once by the contract’s releaseOwner. Once both addresses call this command with the same parameters, the tx will execute.
See code: src/commands/releasecelo/set-beneficiary.ts

celocli releasecelo:set-can-expire

Set the canExpire flag for the given ReleaseGold contract
See code: src/commands/releasecelo/set-can-expire.ts

celocli releasecelo:set-liquidity-provision

Set the liquidity provision to true, allowing the beneficiary to withdraw released gold.
See code: src/commands/releasecelo/set-liquidity-provision.ts

celocli releasecelo:set-max-distribution

Set the maximum distribution of celo for the given contract
See code: src/commands/releasecelo/set-max-distribution.ts

celocli releasecelo:show

Show info on a ReleaseGold instance contract.
See code: src/commands/releasecelo/show.ts

celocli releasecelo:transfer-dollars

Transfer Celo Dollars from the given contract address. Dollars may be accrued to the ReleaseGold contract via validator epoch rewards.
See code: src/commands/releasecelo/transfer-dollars.ts

celocli releasecelo:withdraw

Withdraws value released celo to the beneficiary address. Fails if value worth of celo has not been released yet.
See code: src/commands/releasecelo/withdraw.ts