Add man page for eth-encode
This commit is contained in:
parent
edf8c4b604
commit
90d4c4eb95
18
man/eth-encode.custom.groff
Normal file
18
man/eth-encode.custom.groff
Normal file
@ -0,0 +1,18 @@
|
||||
.SH SPECIFYING VALUES
|
||||
Dynamic value types are not yet supported.
|
||||
|
||||
.SS Specifying an unsigned integer:
|
||||
.IP u:1024
|
||||
|
||||
.SS Specifying an address:
|
||||
.IP a:19062190B1925b5b6689D7073fDfC8c2976EF8Cb
|
||||
|
||||
.SS Specifying bytes values:
|
||||
|
||||
.IP b:deadbeef
|
||||
.IP b4:deadbeef
|
||||
.IP b32:deadbeef
|
||||
|
||||
.SS Specifying a string value:
|
||||
|
||||
.IP s:foobar
|
5
man/eth-encode.examples.groff
Normal file
5
man/eth-encode.examples.groff
Normal file
@ -0,0 +1,5 @@
|
||||
.SS Build a signed ERC20 transfer
|
||||
|
||||
.EX
|
||||
$ eth-encode -y <\fIkey_file_path\fP> -e <\fItoken_address\fP> --signature transfer a:00000000000000000000000000000000DeaDBeef u:1024
|
||||
.EE
|
17
man/eth-encode.head.groff
Normal file
17
man/eth-encode.head.groff
Normal file
@ -0,0 +1,17 @@
|
||||
.TH eth-encode 1
|
||||
|
||||
.SH NAME
|
||||
eth-encode \- Encode arbitrary contract calls and transactions
|
||||
|
||||
.SH SYNOPSIS
|
||||
\fBeth-encode\fP [ -p \fIrpc_provider\fP ] [ -i \fIchain_Spec\fP] [ -s ] [ -w ] [ -e \fIsmart_contract_address\fP ] --signature \fIcontract_method_name\fP [ \fIvalue_specifiers\fP ... ]
|
||||
|
||||
.SH DESCRIPTION
|
||||
|
||||
Generate wire-format or rpc query any EVM smart contract call or transaction by specifying method and arguments.
|
||||
|
||||
The resulting call or transaction can either be stored offline for future use, or directly sent to the network using the \fB-s\fP flag.
|
||||
|
||||
A description of value formatting is given in the \fBSPECIFYING VALUES\fP section below. Usage is demonstrated in the \fBEXAMPLES\fP section.
|
||||
|
||||
.SS OPTIONS
|
Loading…
Reference in New Issue
Block a user