-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #28 from ThalaLabs/0xbe1/md-docs
feat: make docs markdown
- Loading branch information
Showing
4 changed files
with
73 additions
and
30 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,131 +1,166 @@ | ||
Usage: dontrust pending [options] | ||
## dontrust pending [options] | ||
|
||
Get pending transaction(s) for a multisig | ||
|
||
``` | ||
Options: | ||
-m, --multisig <address> multisig contract address | ||
-s, --sequence_number <number> fetch transaction with specific sequence number | ||
-h, --help display help for command | ||
``` | ||
|
||
-- | ||
Usage: dontrust executed [options] | ||
## dontrust executed [options] | ||
|
||
Get successfully executed transactions for a multisig | ||
|
||
``` | ||
Options: | ||
-m, --multisig <address> multisig contract address | ||
-l, --limit <number> number of executed transactions to fetch (default: 10) | ||
-h, --help display help for command | ||
``` | ||
|
||
-- | ||
Usage: dontrust decode [options] | ||
## dontrust decode [options] | ||
|
||
Decode multisig transaction bytes | ||
|
||
``` | ||
Options: | ||
-b, --bytes <bytes> transaction bytes to decode (hex string starting with 0x) | ||
-h, --help display help for command | ||
``` | ||
|
||
-- | ||
Usage: dontrust encode [options] | ||
## dontrust encode [options] | ||
|
||
Encode entry function payload | ||
|
||
``` | ||
Options: | ||
-f, --txn-payload-file <txn-payload-file> transaction payload file to encode | ||
-h, --help display help for command | ||
``` | ||
|
||
-- | ||
Usage: dontrust addresses [options] [command] | ||
## dontrust addresses [options] [command] | ||
|
||
Manage the local address book | ||
|
||
``` | ||
Options: | ||
-h, --help display help for command | ||
|
||
Commands: | ||
add [options] Add a new alias and address to the local address book | ||
list List all saved aliases and addresses | ||
remove [options] Remove an alias from the local address book | ||
help [command] display help for command | ||
``` | ||
|
||
-- | ||
Usage: dontrust addresses add [options] | ||
## dontrust addresses add [options] | ||
|
||
Add a new alias and address to the local address book | ||
|
||
``` | ||
Options: | ||
--alias <alias> Alias for the address | ||
--address <address> Hexadecimal address (e.g., 0xabc) | ||
-h, --help display help for command | ||
``` | ||
|
||
-- | ||
Usage: dontrust addresses list [options] | ||
## dontrust addresses list [options] | ||
|
||
List all saved aliases and addresses | ||
|
||
``` | ||
Options: | ||
-h, --help display help for command | ||
``` | ||
|
||
-- | ||
Usage: dontrust addresses remove [options] | ||
## dontrust addresses remove [options] | ||
|
||
Remove an alias from the local address book | ||
|
||
``` | ||
Options: | ||
--alias <alias> Alias to remove | ||
-h, --help display help for command | ||
``` | ||
|
||
-- | ||
Usage: dontrust summary [options] | ||
## dontrust summary [options] | ||
|
||
Get summary information for a multisig | ||
|
||
``` | ||
Options: | ||
-m, --multisig <address> multisig contract address | ||
-h, --help display help for command | ||
``` | ||
|
||
-- | ||
Usage: dontrust simulate [options] | ||
## dontrust simulate [options] | ||
|
||
Simulate transaction for a multisig (ignoring signer thresholds) | ||
|
||
``` | ||
Options: | ||
-m, --multisig <address> multisig contract address | ||
-s, --sequence_number <number> fetch transaction with specific sequence number | ||
-h, --help display help for command | ||
``` | ||
|
||
-- | ||
Usage: dontrust vote [options] [command] | ||
## dontrust vote [options] [command] | ||
|
||
Vote on pending transaction | ||
|
||
``` | ||
Options: | ||
-h, --help display help for command | ||
|
||
Commands: | ||
approve [options] Approve pending transaction for a multisig | ||
reject [options] Reject pending transaction for a multisig | ||
help [command] display help for command | ||
``` | ||
|
||
-- | ||
Usage: dontrust vote approve [options] | ||
## dontrust vote approve [options] | ||
|
||
Approve pending transaction for a multisig | ||
|
||
``` | ||
Options: | ||
-m, --multisig <address> multisig contract address | ||
-s, --sequence_number <number> fetch transaction with specific sequence number | ||
-p, --profile <address> profile name of voter | ||
-h, --help display help for command | ||
``` | ||
|
||
-- | ||
Usage: dontrust vote reject [options] | ||
## dontrust vote reject [options] | ||
|
||
Reject pending transaction for a multisig | ||
|
||
``` | ||
Options: | ||
-m, --multisig <address> multisig contract address | ||
-s, --sequence_number <number> fetch transaction with specific sequence number | ||
-p, --profile <address> profile name of voter | ||
-h, --help display help for command | ||
``` | ||
|
||
## dontrust propose [options] | ||
|
||
Propose a multisig transaction | ||
|
||
``` | ||
Options: | ||
-m, --multisig-address <multisig-address> Multisig address | ||
-p, --profile <profile> Profile to use for the transaction | ||
-f, --txn-payload-file <file> Path to the transaction payload file | ||
-h, --help display help for command | ||
``` | ||
|
||
## dontrust execute [options] | ||
|
||
Execute a multisig transaction | ||
|
||
``` | ||
Options: | ||
-m, --multisig-address <multisig-address> Multisig address | ||
-p, --profile <profile> Profile to use for the transaction | ||
-h, --help display help for command | ||
``` |
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