-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into aarmgdr/celoscan
- Loading branch information
Showing
7 changed files
with
252 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,172 @@ | ||
`celocli grandamento` | ||
===================== | ||
|
||
Cancels a Granda Mento exchange proposal | ||
|
||
* [`celocli grandamento:cancel`](#celocli-grandamentocancel) | ||
* [`celocli grandamento:execute`](#celocli-grandamentoexecute) | ||
* [`celocli grandamento:get-buy-amount`](#celocli-grandamentoget-buy-amount) | ||
* [`celocli grandamento:list`](#celocli-grandamentolist) | ||
* [`celocli grandamento:propose`](#celocli-grandamentopropose) | ||
* [`celocli grandamento:show`](#celocli-grandamentoshow) | ||
|
||
## `celocli grandamento:cancel` | ||
|
||
Cancels a Granda Mento exchange proposal | ||
|
||
``` | ||
USAGE | ||
$ celocli grandamento:cancel --from <value> (--proposalID <value> | | ) | ||
[--gasCurrency <value>] [--globalHelp] | ||
FLAGS | ||
--from=0xc1912fEE45d61C87Cc5EA59DaE31190FFFFf232d (required) The address | ||
allowed to cancel the | ||
proposal | ||
--gasCurrency=0x1234567890123456789012345678901234567890 Use a specific gas currency | ||
for transaction fees | ||
(defaults to CELO if no gas | ||
currency is supplied). It | ||
must be a whitelisted token. | ||
--globalHelp View all available global | ||
flags | ||
--proposalID=<value> (required) UUID of proposal | ||
to view | ||
DESCRIPTION | ||
Cancels a Granda Mento exchange proposal | ||
``` | ||
|
||
## `celocli grandamento:execute` | ||
|
||
Executes a Granda Mento exchange proposal | ||
|
||
``` | ||
USAGE | ||
$ celocli grandamento:execute --from <value> --proposalID <value> [--gasCurrency | ||
<value>] [--globalHelp] | ||
FLAGS | ||
--from=0xc1912fEE45d61C87Cc5EA59DaE31190FFFFf232d (required) The address to | ||
execute the exchange | ||
proposal | ||
--gasCurrency=0x1234567890123456789012345678901234567890 Use a specific gas currency | ||
for transaction fees | ||
(defaults to CELO if no gas | ||
currency is supplied). It | ||
must be a whitelisted token. | ||
--globalHelp View all available global | ||
flags | ||
--proposalID=<value> (required) UUID of proposal | ||
to view | ||
DESCRIPTION | ||
Executes a Granda Mento exchange proposal | ||
``` | ||
|
||
## `celocli grandamento:get-buy-amount` | ||
|
||
Gets the buy amount for a prospective Granda Mento exchange | ||
|
||
``` | ||
USAGE | ||
$ celocli grandamento:get-buy-amount --value <value> --stableToken | ||
cUSD|cusd|cEUR|ceur|cREAL|creal --sellCelo [--gasCurrency <value>] [--globalHelp] | ||
FLAGS | ||
--gasCurrency=0x1234567890123456789012345678901234567890 Use a specific gas currency | ||
for transaction fees | ||
(defaults to CELO if no gas | ||
currency is supplied). It | ||
must be a whitelisted token. | ||
--globalHelp View all available global | ||
flags | ||
--sellCelo (required) Sell or buy CELO | ||
--stableToken=<option> (required) [default: cusd] | ||
Name of the stable to | ||
receive or send | ||
<options: cUSD|cusd|cEUR|ceu | ||
r|cREAL|creal> | ||
--value=10000000000000000000000 (required) The value of the | ||
tokens to exchange | ||
DESCRIPTION | ||
Gets the buy amount for a prospective Granda Mento exchange | ||
``` | ||
|
||
## `celocli grandamento:list` | ||
|
||
List current active Granda Mento exchange proposals | ||
|
||
``` | ||
USAGE | ||
$ celocli grandamento:list [--gasCurrency <value>] [--globalHelp] | ||
FLAGS | ||
--gasCurrency=0x1234567890123456789012345678901234567890 Use a specific gas currency | ||
for transaction fees | ||
(defaults to CELO if no gas | ||
currency is supplied). It | ||
must be a whitelisted token. | ||
--globalHelp View all available global | ||
flags | ||
DESCRIPTION | ||
List current active Granda Mento exchange proposals | ||
``` | ||
|
||
## `celocli grandamento:propose` | ||
|
||
Proposes a Granda Mento exchange | ||
|
||
``` | ||
USAGE | ||
$ celocli grandamento:propose --from <value> --value <value> --stableToken | ||
cUSD|cusd|cEUR|ceur|cREAL|creal --sellCelo [--gasCurrency <value>] [--globalHelp] | ||
FLAGS | ||
--from=0xc1912fEE45d61C87Cc5EA59DaE31190FFFFf232d (required) The address with | ||
tokens to exchange | ||
--gasCurrency=0x1234567890123456789012345678901234567890 Use a specific gas currency | ||
for transaction fees | ||
(defaults to CELO if no gas | ||
currency is supplied). It | ||
must be a whitelisted token. | ||
--globalHelp View all available global | ||
flags | ||
--sellCelo (required) Sell or buy CELO | ||
--stableToken=<option> (required) [default: cusd] | ||
Name of the stable to | ||
receive or send | ||
<options: cUSD|cusd|cEUR|ceu | ||
r|cREAL|creal> | ||
--value=10000000000000000000000 (required) The value of the | ||
tokens to exchange | ||
DESCRIPTION | ||
Proposes a Granda Mento exchange | ||
``` | ||
|
||
## `celocli grandamento:show` | ||
|
||
Shows details of a Granda Mento exchange proposal | ||
|
||
``` | ||
USAGE | ||
$ celocli grandamento:show --proposalID <value> [--gasCurrency <value>] | ||
[--globalHelp] | ||
FLAGS | ||
--gasCurrency=0x1234567890123456789012345678901234567890 Use a specific gas currency | ||
for transaction fees | ||
(defaults to CELO if no gas | ||
currency is supplied). It | ||
must be a whitelisted token. | ||
--globalHelp View all available global | ||
flags | ||
--proposalID=<value> (required) UUID of proposal | ||
to view | ||
DESCRIPTION | ||
Shows details of a Granda Mento exchange proposal | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
`celocli utils` | ||
=============== | ||
|
||
List the whitelisted fee currencies | ||
|
||
* [`celocli utils:whitelist`](#celocli-utilswhitelist) | ||
|
||
## `celocli utils:whitelist` | ||
|
||
List the whitelisted fee currencies | ||
|
||
``` | ||
USAGE | ||
$ celocli utils:whitelist [--gasCurrency <value>] [--globalHelp] | ||
FLAGS | ||
--gasCurrency=0x1234567890123456789012345678901234567890 Use a specific gas currency | ||
for transaction fees | ||
(defaults to CELO if no gas | ||
currency is supplied). It | ||
must be a whitelisted token. | ||
--globalHelp View all available global | ||
flags | ||
DESCRIPTION | ||
List the whitelisted fee currencies | ||
EXAMPLES | ||
whitelist | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters