Documentation ¶
Index ¶
- type AssetDB
- func (store AssetDB) GetAll() []commontype.Asset
- func (store AssetDB) GetAsset(assetId common.Hash) (commontype.Asset, error)
- func (store AssetDB) GetAssetByOwner(owner common.Address) []commontype.Asset
- func (store AssetDB) RegisterAsset(assetId common.Hash, owner common.Address, name string)
- func (store AssetDB) UpdateLocation(assetId common.Hash, location string) error
- func (store AssetDB) UpdateName(assetId common.Hash, name string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AssetDB ¶
type AssetDB struct {
// contains filtered or unexported fields
}
func (AssetDB) GetAll ¶
func (store AssetDB) GetAll() []commontype.Asset
func (AssetDB) GetAssetByOwner ¶
func (store AssetDB) GetAssetByOwner(owner common.Address) []commontype.Asset
func (AssetDB) RegisterAsset ¶
func (AssetDB) UpdateLocation ¶
Click to show internal directories.
Click to hide internal directories.