Documentation ¶
Index ¶
- type AccountInfo
- type AggregatedInfo
- type AuthInfo
- type AuthInfoFee
- type BlockInfo
- type BlockSigned
- type BlockSigners
- type DecCoin
- type Denom
- type FailedMessage
- type FailedTx
- type Fee
- type InfoFeeAmount
- type Message
- type MessageEvent
- type MessageEventAttribute
- type MessageEventAttributeKey
- type MessageEventType
- type MessageType
- type ProposalDeposit
- type SearchResult
- type SignerInfo
- type SortBy
- type Tip
- type TipAmount
- type TotalBlocks
- type TotalTransactions
- type TotalWallets
- type Transaction
- type Tx
- type TxAuthInfo
- type TxByHourWithCount
- type TxDelegateAggregated
- type TxEvents
- type TxEventsAggregated
- type TxEventsValsAggregated
- type TxFee
- type TxResponse
- type TxSenderReceiver
- type TxVolumeByHour
- type TxsByDay
- type TxsByHour
- type Validators
- type VotesTransaction
- type WalletWithTxs
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AccountInfo ¶
type AggregatedInfo ¶
type AggregatedInfo struct { UpdatedAt time.Time `json:"updated_at"` Blocks TotalBlocks `json:"blocks"` Transactions TotalTransactions `json:"transactions"` Wallets TotalWallets `json:"wallets"` }
type AuthInfo ¶ added in v0.0.91
type AuthInfo struct { ID uint `gorm:"primarykey"` FeeID uint Fee AuthInfoFee `gorm:"foreignKey:FeeID"` TipID uint Tip Tip `gorm:"foreignKey:TipID"` SignerInfos []*SignerInfo `gorm:"many2many:tx_signer_infos;"` }
type AuthInfoFee ¶ added in v0.0.91
func (AuthInfoFee) TableName ¶ added in v0.0.91
func (AuthInfoFee) TableName() string
type BlockSigned ¶
type BlockSigners ¶
type FailedMessage ¶ added in v0.0.91
type Fee ¶ added in v0.0.91
type Fee struct { ID uint `gorm:"primaryKey"` TxID uint `gorm:"uniqueIndex:txDenomFee"` Amount decimal.Decimal `gorm:"type:decimal(78,0);"` DenominationID uint `gorm:"uniqueIndex:txDenomFee"` Denomination models.Denom `gorm:"foreignKey:DenominationID"` PayerAddressID uint `gorm:"index:idx_payer_addr"` PayerAddress models.Address `gorm:"foreignKey:PayerAddressID"` }
type InfoFeeAmount ¶ added in v0.0.91
type InfoFeeAmount struct { ID uint `gorm:"primaryKey"` Amount decimal.Decimal `gorm:"type:decimal(78,0);"` Denom string }
func (InfoFeeAmount) TableName ¶ added in v0.0.91
func (InfoFeeAmount) TableName() string
type MessageEvent ¶ added in v0.0.91
type MessageEvent struct { ID uint // These fields uniquely identify every message event // Index refers to the position of the event in the message event array Index uint64 `gorm:"uniqueIndex:messageEventIndex,priority:2"` MessageID uint `gorm:"uniqueIndex:messageEventIndex,priority:1"` Message Message MessageEventTypeID uint MessageEventType MessageEventType }
type MessageEventAttribute ¶ added in v0.0.91
type MessageEventAttribute struct { ID uint MessageEvent MessageEvent MessageEventID uint `gorm:"uniqueIndex:messageAttributeIndex,priority:1"` Value string Index uint64 `gorm:"uniqueIndex:messageAttributeIndex,priority:2"` // Keys are limited to a smallish subset of string values set by the Cosmos SDK and external modules // Save DB space by storing the key as a foreign key MessageEventAttributeKeyID uint MessageEventAttributeKey MessageEventAttributeKey }
type MessageEventAttributeKey ¶ added in v0.0.91
type MessageEventType ¶ added in v0.0.91
type MessageType ¶ added in v0.0.91
type ProposalDeposit ¶ added in v0.0.71
type SearchResult ¶
type SignerInfo ¶ added in v0.0.91
type SignerInfo struct { ID uint AddressID uint Address *models.Address `gorm:"foreignKey:AddressID"` ModeInfo string Sequence uint64 }
func (SignerInfo) TableName ¶ added in v0.0.91
func (SignerInfo) TableName() string
type TipAmount ¶ added in v0.0.91
type TotalBlocks ¶
type TotalTransactions ¶
type TotalWallets ¶
type Transaction ¶ added in v0.0.91
type Transaction struct { Messages []string Memo string AuthInfo TxAuthInfo }
type Tx ¶
type Tx struct { ID uint Hash string `gorm:"uniqueIndex"` Code uint32 BlockID uint Block models.Block SignerAddresses []models.Address `gorm:"many2many:tx_signer_addresses;"` Fees []Fee Signatures pq.ByteaArray `gorm:"type:bytea[]" json:"signatures"` Timestamp time.Time Memo string TimeoutHeight uint64 ExtensionOptions pq.StringArray `gorm:"type:text[]" json:"extension_options"` NonCriticalExtensionOptions pq.StringArray `gorm:"type:text[]" json:"non_critical_options"` AuthInfoID uint AuthInfo AuthInfo `gorm:"foreignKey:AuthInfoID;belongsTo"` TxResponseID uint TxResponse TxResponse `gorm:"foreignKey:TxResponseID;belongsTo"` SenderReceiver *TxSenderReceiver `gorm:"-" json:"sender_receiver"` Events []*TxEvents `gorm:"-" json:"events"` }
type TxAuthInfo ¶
type TxByHourWithCount ¶
type TxDelegateAggregated ¶ added in v0.0.91
type TxEventsAggregated ¶ added in v0.0.91
type TxEventsAggregated struct { ID uint TxHash string `gorm:"uniqueIndex:txEventsAggregatedIndex"` MessageType string `gorm:"uniqueIndex:txEventsAggregatedIndex"` MessageTypeIndex int `gorm:"uniqueIndex:txEventsAggregatedIndex"` MessageEventType string `gorm:"uniqueIndex:txEventsAggregatedIndex"` MessageEventAttrIndex int `gorm:"uniqueIndex:txEventsAggregatedIndex"` MessageEventAttrValue string MessageEventAttrKey string `gorm:"uniqueIndex:txEventsAggregatedIndex"` }
type TxEventsValsAggregated ¶ added in v0.0.91
type TxResponse ¶ added in v0.0.91
type TxResponse struct { ID uint TxHash string `gorm:"uniqueIndex"` Height string TimeStamp string Code uint32 RawLog []byte `gorm:"type:bytea"` // Log []LogMessage GasUsed int64 GasWanted int64 Codespace string Data string Info string }
func (TxResponse) TableName ¶ added in v0.0.91
func (TxResponse) TableName() string
type TxSenderReceiver ¶
type Validators ¶
type Validators struct {
Address string
}
type VotesTransaction ¶
type WalletWithTxs ¶
Click to show internal directories.
Click to hide internal directories.