Documentation ¶
Index ¶
- func EstimateGas(client ethclient.Client, ctx context.Context, opts ...gasOpts) uint64
- func ExtractPublicKey() common.Address
- func GetTransactions(block *types.Block, client ethclient.Client, ctx context.Context)
- func LoadPrivateKey() *ecdsa.PrivateKey
- func SetNonce(client ethclient.Client, ctx context.Context, from_addr common.Address) uint64
- func SetupTransfer(client ethclient.Client, ctx context.Context)
- func SignTransaction(client ethclient.Client, ctx context.Context, tx *types.Transaction, ...) *types.Transaction
- func SimulateBlock(client ethclient.Client, ctx context.Context) *types.Block
- func ToWei(iamount interface{}, amnt float64, decimals int) *big.Int
- func TransferErc20(client ethclient.Client, ctx context.Context, from_address common.Address, ...)
- func TxCount(client ethclient.Client, ctx context.Context, block_hash common.Hash) uint
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EstimateGas ¶
func ExtractPublicKey ¶
func GetTransactions ¶
func LoadPrivateKey ¶
func LoadPrivateKey() *ecdsa.PrivateKey
func SignTransaction ¶
func SignTransaction(client ethclient.Client, ctx context.Context, tx *types.Transaction, private_key *ecdsa.PrivateKey) *types.Transaction
func TransferErc20 ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.