Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BlockMeta ¶
type BlockMeta struct { PreviousHash string `json:"previous_hash"` Height int64 `json:"height"` BlockHash string `json:"block_hash"` Transactions []TransactionMeta `json:"transactions"` }
BlockMeta is a structure to store the blocks bifrost scanned
type TokenMeta ¶
type TokenMeta struct { Symbol string `json:"symbol"` Address string `json:"address"` Decimal uint64 `json:"decimal"` // Decimal means the number of decimals https://docs.openzeppelin.com/contracts/3.x/api/token/erc20#ERC20-decimals-- }
TokenMeta is a struct to store token meta data
func NewTokenMeta ¶
NewTokenMeta create a new instance of TokenMeta
type TransactionMeta ¶
TransactionMeta transaction meta data
Click to show internal directories.
Click to hide internal directories.