Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ERC20Transfer ¶
type FullTxLabelSchema ¶
type FullTxLabelSchema struct { Schema TxLabelSchema `json:"schema" validate:"required"` Meta TxLabelMeta `json:"meta" validate:"required"` }
type NormalTx ¶
type NormalTx struct { BlockNumber int `json:"blockNumber,string"` TimeStamp time.Time `json:"timeStamp"` Hash string `json:"hash"` Nonce int `json:"nonce,string"` BlockHash string `json:"blockHash"` TransactionIndex int `json:"transactionIndex,string"` From string `json:"from"` To string `json:"to"` Value *big.Int `json:"value"` Gas int `json:"gas,string"` GasPrice *big.Int `json:"gasPrice"` IsError int `json:"isError,string"` TxReceiptStatus string `json:"txreceipt_status"` Input string `json:"input"` ContractAddress string `json:"contractAddress"` CumulativeGasUsed int `json:"cumulativeGasUsed,string"` GasUsed int `json:"gasUsed,string"` Confirmations int `json:"confirmations,string"` }
type ParsedStandardTx ¶
type PreDeterminedStandardTx ¶
type PreDeterminedStandardTx struct { To string `json:"to"` From string `json:"from"` Value *big.Int `json:"value"` BlockNumber int `json:"blockNumber"` TimeStamp int64 `json:"timestamp"` ContractAddress string `json:"contractAddress"` GasUsed int `json:"gasUsed"` GasLimit int `json:"gasLimit"` GasPrice *big.Int `json:"gasPrice"` Status TxStatus `json:"status"` Nonce int `json:"nonce"` Hash string `json:"hash"` Logs []*types.Log `json:"logs"` RecipientAddress string `json:"recipientAddress"` Data string `json:"data"` }
type ProtocolAction ¶
type ProtocolAction string
type StandardTx ¶
type StandardTx struct { To string `json:"to"` From string `json:"from"` Value string `json:"value"` BlockNumber string `json:"blockNumber"` TimeStamp int64 `json:"timestamp"` GasLimit string `json:"gasLimit"` GasUsed string `json:"gasUsed"` GasPrice string `json:"gasPrice"` Status TxStatus `json:"status"` Nonce string `json:"nonce"` ERC20Transfers []ERC20Transfer `json:"erc20Transfers"` RecipientAddress string `json:"recipientAddress"` Hash string `json:"hash"` TxType string `json:"txType"` Data string `json:"data"` }
type TxLabelMeta ¶
type TxLabelMeta struct { Name string `json:"name" validate:"required"` Protocol Protocol `json:"protocol" validate:"required"` ProtocolAction ProtocolAction `json:"type" validate:"required"` Priority *int `json:"priority" validate:"required"` }
type TxLabelSchema ¶
Click to show internal directories.
Click to hide internal directories.