Documentation ¶
Index ¶
- func DecodeTransactionInputData(contractABI *abi.ABI, data []byte) (method *abi.Method, inputsMap map[string]interface{}, err error)
- func GetContractABI(contractAddress, apiKey string, chain Chain) (*abi.ABI, error)
- func GetEthClient(log *logrus.Entry, chain Chain) (client *ethclient.Client, err error)
- func GetTxSenderHash(tx *types.Transaction) (txSenderHash string, err error)
- func WeiToEther(wei *big.Int) float64
- type Chain
- type Protocol
- type RawABIResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DecodeTransactionInputData ¶ added in v0.2.173
func GetContractABI ¶ added in v0.2.173
func GetEthClient ¶
func GetTxSenderHash ¶ added in v0.2.173
func GetTxSenderHash(tx *types.Transaction) (txSenderHash string, err error)
func WeiToEther ¶ added in v0.2.173
Types ¶
type RawABIResponse ¶ added in v0.2.173
type RawABIResponse struct { Status *string `json:"status"` Message *string `json:"message"` Result *string `json:"result"` }
func GetContractRawABI ¶ added in v0.2.173
func GetContractRawABI(address string, apiKey string, chain Chain) (rawABIResponse *RawABIResponse, err error)
Click to show internal directories.
Click to hide internal directories.