Bonded Deposits

Manage bonded deposits to participate in governance and earn rewards

Deposit

Create a bonded deposit given notice period and gold amount

USAGE
$ celocli bonds:deposit
OPTIONS
--from=from (required)
--goldAmount=goldAmount (required) unit amount of gold token (cGLD)
--noticePeriod=noticePeriod (required) duration (seconds) from notice to withdrawable; doubles as ID of a bonded
deposit;
EXAMPLE
deposit --from 0x47e172F6CfB6c7D01C1574fa3E2Be7CC73269D95 --noticePeriod 8640 --goldAmount 1000000000000000000

See code: packages/cli/src/src/commands/bonds/deposit.ts

List

View information about all of the account's deposits

USAGE
$ celocli bonds:list ACCOUNT
EXAMPLE
list 0x5409ed021d9299bf6814279a6a1411a7e866a631

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

Notify

Notify a bonded deposit given notice period and gold amount

USAGE
$ celocli bonds:notify
OPTIONS
--from=0xc1912fEE45d61C87Cc5EA59DaE31190FFFFf232d (required) Account Address
--goldAmount=goldAmount (required) unit amount of gold token (cGLD)
--noticePeriod=noticePeriod (required) duration (seconds) from notice to withdrawable; doubles
as ID of a bonded deposit;
EXAMPLE
notify --noticePeriod=3600 --goldAmount=500

See code: packages/cli/src/src/commands/bonds/notify.ts

Register

Register an account for bonded deposit eligibility

USAGE
$ celocli bonds:register
OPTIONS
--from=0xc1912fEE45d61C87Cc5EA59DaE31190FFFFf232d (required) Account Address
EXAMPLE
register

See code: packages/cli/src/src/commands/bonds/register.ts

Rewards

Manage rewards for bonded deposit account

USAGE
$ celocli bonds:rewards
OPTIONS
-d, --delegate=0xc1912fEE45d61C87Cc5EA59DaE31190FFFFf232d Delegate rewards to provided account
-r, --redeem Redeem accrued rewards from bonded deposits
--from=0xc1912fEE45d61C87Cc5EA59DaE31190FFFFf232d (required) Account Address
EXAMPLES
rewards --redeem
rewards --delegate=0x56e172F6CfB6c7D01C1574fa3E2Be7CC73269D95

See code: packages/cli/src/src/commands/bonds/rewards.ts

Show

View bonded gold and corresponding account weight of a deposit given ID

USAGE
$ celocli bonds:show ACCOUNT
OPTIONS
--availabilityTime=availabilityTime unix timestamp at which withdrawable; doubles as ID of a notified deposit
--noticePeriod=noticePeriod duration (seconds) from notice to withdrawable; doubles as ID of a bonded
deposit;
EXAMPLES
show 0x5409ed021d9299bf6814279a6a1411a7e866a631 --noticePeriod=3600
show 0x5409ed021d9299bf6814279a6a1411a7e866a631 --availabilityTime=1562206887

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

Withdraw

Withdraw notified deposit given availability time

USAGE
$ celocli bonds:withdraw AVAILABILITYTIME
ARGUMENTS
AVAILABILITYTIME unix timestamp at which withdrawable; doubles as ID of a notified deposit
OPTIONS
--from=0xc1912fEE45d61C87Cc5EA59DaE31190FFFFf232d (required) Account Address
EXAMPLE
withdraw 3600

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