Documentation ¶
Index ¶
- type Entry
- func GetActivityEntries(db *sql.DB, addresses []common.Address, chainIDs []uint64, filter Filter, ...) ([]Entry, error)
- func NewActivityEntryWithMultiTransaction(id transfer.MultiTransactionIDType, timestamp int64, activityType Type) Entry
- func NewActivityEntryWithTransaction(transactionType PayloadType, transaction *transfer.TransactionIdentity, ...) Entry
- type Filter
- type PayloadType
- type Period
- type Status
- type TokenType
- type Type
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Entry ¶
type Entry struct {
// contains filtered or unexported fields
}
func GetActivityEntries ¶
func NewActivityEntryWithMultiTransaction ¶
func NewActivityEntryWithMultiTransaction(id transfer.MultiTransactionIDType, timestamp int64, activityType Type) Entry
func NewActivityEntryWithTransaction ¶
func NewActivityEntryWithTransaction(transactionType PayloadType, transaction *transfer.TransactionIdentity, timestamp int64, activityType Type) Entry
func (*Entry) MarshalJSON ¶
func (*Entry) TransactionType ¶
func (e *Entry) TransactionType() PayloadType
func (*Entry) UnmarshalJSON ¶
type PayloadType ¶
type PayloadType = int
const ( MultiTransactionPT PayloadType = iota + 1 SimpleTransactionPT PendingTransactionPT )
Click to show internal directories.
Click to hide internal directories.