Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type BlockAddress ¶
type BlockAddress struct {
mixin.Model[BlockAddress]
WatchedAddress
// Address on the blockchain
Address string `json:"address"`
// Which blockchain contains the address
Type Type `json:"type"`
}
BlockAddress denotes an address on the blockchain that we wnat ot keep track of
func New ¶
func New(db *datastore.Datastore) *BlockAddress
type WatchedAddress ¶
type WatchedAddress struct {
// This is the namespace where the wallet is stored
WalletNamespace string `json:"walletNamespace"`
// This is the id of the wallet
WalletId string `json:"walletId"`
}
This is a reference to an address the blockchain reader needs to watch for
Click to show internal directories.
Click to hide internal directories.