Documentation ¶
Index ¶
- Constants
- Variables
- func MakeEthGetBlockTransactionCountMsg(ethGetBlockTransactionCountMsg types.EthGetBlockTransactionCountMsg) (types.EthGetBlockTransactionCountMsg, error)
- func MakeEthGetFilterChangesMsg(ethGetFilterChangesMsg types.EthGetFilterChangesMsg) (types.EthGetFilterChangesMsg, error)
- func MakeEthGetFilterLogsMsg(ethGetFilterLogsMsg types.EthGetFilterLogsMsg) (types.EthGetFilterLogsMsg, error)
- func MakeEthUninstallFilterMsg(ethUninstallFilter types.EthUninstallFilterMsg) (types.EthUninstallFilterMsg, error)
- func MakeGetBlockByHashHeightMsg(getBlockByHashHeightMsg types.GetBlockByHashHeightMsg) (types.GetBlockByHashHeightMsg, error)
- func MakeGetTransactionByBlockHashAndIndexMsg(...) (types.GetTransactionByBlockHashAndIndexMsg, error)
- func MakeGetTransactionByHashMsg(getTransactionByHashMsg types.GetTransactionByHashMsg) (types.GetTransactionByHashMsg, error)
- func MakeGetTransactionReceiptMsg(getTransactionReceiptMsg types.GetTransactionReceiptMsg) (types.GetTransactionReceiptMsg, error)
- func MakeInvokeSolContractMsg(InvokeSolContractMsg types.InvokeSolContractMsg) (types.InvokeSolContractMsg, error)
- func MakeQueryAccountInfoMsg(accountInfoMsg types.AccountInfoMsg) (types.AccountInfoMsg, error)
- func MakeSendCoinMsg(sendCoinMsg types.SendCoinMsg, privKey key.PrivateKey) (types.SendCoinMsg, error)
- func MakeWeb3Sha3Msg(web3Sha3Msg types.Web3Sha3Msg) (types.Web3Sha3Msg, error)
- type CallSolContractParseMsg
- type ContractInfo
- type DeploySolTx
- type EthNewFilterParseMsg
Constants ¶
View Source
const ( EvmModule = "evm" EvmSendCoinMsgType = "evm-send-coin" EvmDeploySolContractMsgType = "deploy-sol-contract" EvmInvokeSolContractMsgType = "invoke-sol-contract" EvmCallSolContractMsgType = "call-sol-contract" EvmGetTransactionByHashMsgType = "evm-get-transaction-by-hash" EvmGetBlockByHashHeightMsgType = "evm-get-block" EvmQueryAccountInfoMsgType = "evm-query-account-info" EvmSuggestGasPriceMsgType = "suggest-gas-price" EvmQueryChainIdMsgType = "evm-chain-id" EvmQueryCurrentBlockNumberMsgType = "current-block-number" EvmWeb3ClientVersionMsgType = "web3-client-version" EvmWeb3Sha3MsgType = "web3-sha" EvmNetVersionMsgType = "net-version" EvmNetPeerCountMsgType = "net-peer-count" EvmNetListeningMsgType = "net-listening" EvmEthProtocolVersionMsgType = "eth-protocol-version" EvmEthSyncingMsgType = "eth-syncing" EvmEthAccountsMsgType = "eth-accounts" EvmEthGetBlockTransactionCountMsgType = "eth-get-block-transaction-count" EvmEthEstimateGasMsgType = "eth-estimate-gas" EvmGetTransactionByBlockHashAndIndexMsgType = "eth-get-transaction-by-block-hash-and-index" EvmGetTransactionReceiptMsgType = "eth-get-transaction-receipt" EvmEthNewFilterMsgType = "eth-new-filter" EvmEthNewBlockFilterMsgType = "eth-new-block-filter" EvmEthNewPendingTransactionFilterMsgType = "eth-new-pending-transaction-filter" EvmEthUninstallFilterMsgType = "eth-uninstall-filter" EvmEthGetFilterChangesMsgType = "eth-get-filter-changes" EvmEthGetFilterLogsMsgType = "eth-get-filter-logs" EvmEthGetLogsMsgType = "eth-get-logs" EvmEthCoinbaseMsgType = "eth-coinbase" )
Variables ¶
View Source
var Args []interface{}
Functions ¶
func MakeEthGetBlockTransactionCountMsg ¶
func MakeEthGetBlockTransactionCountMsg(ethGetBlockTransactionCountMsg types.EthGetBlockTransactionCountMsg) (types.EthGetBlockTransactionCountMsg, error)
(Query) make msg - get transaction count of the block number
func MakeEthGetFilterChangesMsg ¶
func MakeEthGetFilterChangesMsg(ethGetFilterChangesMsg types.EthGetFilterChangesMsg) (types.EthGetFilterChangesMsg, error)
(Query) make msg - eth get filter changes
func MakeEthGetFilterLogsMsg ¶
func MakeEthGetFilterLogsMsg(ethGetFilterLogsMsg types.EthGetFilterLogsMsg) (types.EthGetFilterLogsMsg, error)
(Query) make msg - eth get filter logs
func MakeEthUninstallFilterMsg ¶
func MakeEthUninstallFilterMsg(ethUninstallFilter types.EthUninstallFilterMsg) (types.EthUninstallFilterMsg, error)
(Query) make msg - eth uninstall filter
func MakeGetBlockByHashHeightMsg ¶
func MakeGetBlockByHashHeightMsg(getBlockByHashHeightMsg types.GetBlockByHashHeightMsg) (types.GetBlockByHashHeightMsg, error)
(Query) make msg - block by hash or height
func MakeGetTransactionByBlockHashAndIndexMsg ¶
func MakeGetTransactionByBlockHashAndIndexMsg(getTransactionByBlockHashAndIndexMsg types.GetTransactionByBlockHashAndIndexMsg) (types.GetTransactionByBlockHashAndIndexMsg, error)
(Query) make msg - get transaction by block hash and index
func MakeGetTransactionByHashMsg ¶
func MakeGetTransactionByHashMsg(getTransactionByHashMsg types.GetTransactionByHashMsg) (types.GetTransactionByHashMsg, error)
(Query) make msg - transaction by hash
func MakeGetTransactionReceiptMsg ¶
func MakeGetTransactionReceiptMsg(getTransactionReceiptMsg types.GetTransactionReceiptMsg) (types.GetTransactionReceiptMsg, error)
(Query) make msg - get transaction receipt
func MakeInvokeSolContractMsg ¶
func MakeInvokeSolContractMsg(InvokeSolContractMsg types.InvokeSolContractMsg) (types.InvokeSolContractMsg, error)
(Tx) make msg - invoke solidity contract
func MakeQueryAccountInfoMsg ¶
func MakeQueryAccountInfoMsg(accountInfoMsg types.AccountInfoMsg) (types.AccountInfoMsg, error)
(Query) make msg - account info
func MakeSendCoinMsg ¶
func MakeSendCoinMsg(sendCoinMsg types.SendCoinMsg, privKey key.PrivateKey) (types.SendCoinMsg, error)
(Tx) make msg - send coin
func MakeWeb3Sha3Msg ¶
func MakeWeb3Sha3Msg(web3Sha3Msg types.Web3Sha3Msg) (types.Web3Sha3Msg, error)
(Query) make msg - web3 sha3
Types ¶
type CallSolContractParseMsg ¶
type CallSolContractParseMsg struct { CallMsg ethereum.CallMsg CallName string ABI string Bytecode string }
func MakeCallSolContractMsg ¶
func MakeCallSolContractMsg(callSolContractMsg types.CallSolContractMsg, byteAddress string) (CallSolContractParseMsg, error)
(Query) make msg - call solidity contract
func MakeEstimateGasSolMsg ¶
func MakeEstimateGasSolMsg(invokeSolContractMsg types.InvokeSolContractMsg, byteAddress string) (CallSolContractParseMsg, error)
(Query) make msg - sol contract estimate gas
type ContractInfo ¶
func MakeDeploySolContractMsg ¶
func MakeDeploySolContractMsg(deploySolContractMsg types.DeploySolContractMsg) (ContractInfo, error)
(Tx) make msg - deploy solidity contract
type DeploySolTx ¶
type EthNewFilterParseMsg ¶
type EthNewFilterParseMsg struct { BlockHash *common.Hash `json:"blockHash,omitempty"` FromBlock *rpc.BlockNumber `json:"fromBlock"` ToBlock *rpc.BlockNumber `json:"toBlock"` Addresses interface{} `json:"address"` Topics []interface{} `json:"topics"` }
func MakeEthGetLogsMsg ¶
func MakeEthGetLogsMsg(ethGetLogsMsg types.EthGetLogsMsg) (EthNewFilterParseMsg, error)
(Query) make msg - eth get logs
func MakeEthNewFilterMsg ¶
func MakeEthNewFilterMsg(ethNewFilterMsg types.EthNewFilterMsg) (EthNewFilterParseMsg, error)
(Query) make msg - eth new filter
Click to show internal directories.
Click to hide internal directories.