Exchange

Exchange Celo Dollars and CELO via the stability mechanism

celocli exchange:celo

Exchange CELO for Celo Dollars via the stability mechanism. (Note: this is the equivalent of the old exchange:gold)

Exchange CELO for Celo Dollars via the stability mechanism. (Note: this is the equivalent of the old exchange:gold)
USAGE
$ celocli exchange:celo
OPTIONS
--forAtLeast=10000000000000000000000 [default: 0] Optional, the minimum
value of Celo Dollars to receive in
return
--from=0xc1912fEE45d61C87Cc5EA59DaE31190FFFFf232d (required) The address with CELO to
exchange
--value=10000000000000000000000 (required) The value of CELO to
exchange for Celo Dollars
EXAMPLES
celo --value 5000000000000 --from 0xc1912fEE45d61C87Cc5EA59DaE31190FFFFf232d
celo --value 5000000000000 --forAtLeast 100000000000000 --from
0xc1912fEE45d61C87Cc5EA59DaE31190FFFFf232d

See code: src/commands/exchange/celo.ts

celocli exchange:dollars

Exchange Celo Dollars for CELO via the stability mechanism

Exchange Celo Dollars for CELO via the stability mechanism
USAGE
$ celocli exchange:dollars
OPTIONS
--forAtLeast=10000000000000000000000 [default: 0] Optional, the minimum
value of CELO to receive in return
--from=0xc1912fEE45d61C87Cc5EA59DaE31190FFFFf232d (required) The address with Celo
Dollars to exchange
--value=10000000000000000000000 (required) The value of Celo
Dollars to exchange for CELO
EXAMPLES
dollars --value 10000000000000 --from 0xc1912fEE45d61C87Cc5EA59DaE31190FFFFf232d
dollars --value 10000000000000 --forAtLeast 50000000000000 --from
0xc1912fEE45d61C87Cc5EA59DaE31190FFFFf232d

See code: src/commands/exchange/dollars.ts

celocli exchange:gold

Exchange CELO for Celo Dollars via the stability mechanism. DEPRECATION WARNING Use the "exchange:celo" command instead

Exchange CELO for Celo Dollars via the stability mechanism. *DEPRECATION WARNING* Use the "exchange:celo" command instead
USAGE
$ celocli exchange:gold
OPTIONS
--forAtLeast=10000000000000000000000 [default: 0] Optional, the minimum
value of Celo Dollars to receive in
return
--from=0xc1912fEE45d61C87Cc5EA59DaE31190FFFFf232d (required) The address with CELO to
exchange
--value=10000000000000000000000 (required) The value of CELO to
exchange for Celo Dollars
EXAMPLES
gold --value 5000000000000 --from 0xc1912fEE45d61C87Cc5EA59DaE31190FFFFf232d
gold --value 5000000000000 --forAtLeast 100000000000000 --from
0xc1912fEE45d61C87Cc5EA59DaE31190FFFFf232d

See code: src/commands/exchange/gold.ts

celocli exchange:show

Show the current exchange rates offered by the Exchange

Show the current exchange rates offered by the Exchange
USAGE
$ celocli exchange:show
OPTIONS
--amount=amount [default: 1000000000000000000] Amount of the token being exchanged to
report rates for
EXAMPLE
list

See code: src/commands/exchange/show.ts