Versions in this module Expand all Collapse all v1 v1.0.0 Mar 26, 2021 Changes in this version + const EarliestBlockNumber + const LatestBlockNumber + const PendingBlockNumber + func BlockMaxGasFromConsensusParams(_ context.Context, clientCtx clientcontext.CLIContext) (int64, error) + func EthBlockFromTendermint(clientCtx clientcontext.CLIContext, block *tmtypes.Block) (map[string]interface{}, error) + func EthHeaderFromTendermint(header tmtypes.Header) *ethtypes.Header + func EthTransactionsFromTendermint(clientCtx clientcontext.CLIContext, txs []tmtypes.Tx) ([]common.Hash, *big.Int, error) + func FormatBlock(header tmtypes.Header, size int, curBlockHash tmbytes.HexBytes, gasLimit int64, ...) map[string]interface + func GetBlockCumulativeGas(cdc *codec.Codec, block *tmtypes.Block, idx int) uint64 + func GetKeyByAddress(keys []ethsecp256k1.PrivKey, address common.Address) (key *ethsecp256k1.PrivKey, exist bool) + func RawTxToEthTx(clientCtx clientcontext.CLIContext, bz []byte) (*evmtypes.MsgEthereumTx, error) + type Account struct + Balance **hexutil.Big + Code *hexutil.Bytes + Nonce *hexutil.Uint64 + State *map[common.Hash]common.Hash + StateDiff *map[common.Hash]common.Hash + type AccountResult struct + AccountProof []string + Address common.Address + Balance *hexutil.Big + CodeHash common.Hash + Nonce hexutil.Uint64 + StorageHash common.Hash + StorageProof []StorageResult + type AddrLocker struct + func (l *AddrLocker) LockAddr(address common.Address) + func (l *AddrLocker) UnlockAddr(address common.Address) + type BlockNumber int64 + func NewBlockNumber(n *big.Int) BlockNumber + func (bn *BlockNumber) UnmarshalJSON(data []byte) error + func (bn BlockNumber) Int64() int64 + func (bn BlockNumber) TmHeight() *int64 + type CallArgs struct + Data *hexutil.Bytes + From *common.Address + Gas *hexutil.Uint64 + GasPrice *hexutil.Big + To *common.Address + Value *hexutil.Big + type SendTxArgs struct + Data *hexutil.Bytes + From common.Address + Gas *hexutil.Uint64 + GasPrice *hexutil.Big + Input *hexutil.Bytes + Nonce *hexutil.Uint64 + To *common.Address + Value *hexutil.Big + type StorageResult struct + Key string + Proof []string + Value *hexutil.Big + type Transaction struct + BlockHash *common.Hash + BlockNumber *hexutil.Big + From common.Address + Gas hexutil.Uint64 + GasPrice *hexutil.Big + Hash common.Hash + Input hexutil.Bytes + Nonce hexutil.Uint64 + R *hexutil.Big + S *hexutil.Big + To *common.Address + TransactionIndex *hexutil.Uint64 + V *hexutil.Big + Value *hexutil.Big + func NewTransaction(tx *evmtypes.MsgEthereumTx, txHash, blockHash common.Hash, ...) (*Transaction, error)