Documentation ¶
Index ¶
- type Source
- func (s Source) Collection(height int64, index string) (tokenmanagertypes.Collection, error)
- func (s Source) CollectionAll(height int64) ([]tokenmanagertypes.Collection, error)
- func (s Source) CollectionData(height int64, index types.CollectionDataIndex) (tokenmanagertypes.CollectionData, error)
- func (s Source) CollectionDataAll(height int64) ([]tokenmanagertypes.CollectionData, error)
- func (s Source) GetFeeToken(height int64, chain, contract string) (*tokenmanagertypes.FeeToken, error)
- func (s Source) GetNetwork(height int64, network string) (tokenmanagertypes.Network, bool)
- func (s Source) Item(height int64, index string) (tokenmanagertypes.Item, error)
- func (s Source) ItemAll(height int64) ([]tokenmanagertypes.Item, error)
- func (s Source) OnChainItem(height int64, index types.OnChainItemIndex) (tokenmanagertypes.OnChainItem, error)
- func (s Source) Params(height int64) (tokenmanagertypes.Params, error)
- func (s Source) Seed(height int64, seed string) (tokenmanagertypes.Seed, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Source ¶
Source implements tokenmanagersource.Source using a remote node
func NewSource ¶
func NewSource(source *remote.Source, tokenmanagerClient tokenmanagertypes.QueryClient) *Source
NewSource returns a new Source implementation
func (Source) Collection ¶
func (s Source) Collection(height int64, index string) (tokenmanagertypes.Collection, error)
Collection implements tokenmanagersource.Source
func (Source) CollectionAll ¶
func (s Source) CollectionAll(height int64) ([]tokenmanagertypes.Collection, error)
CollectionAll implements tokenmanagersource.Source
func (Source) CollectionData ¶
func (s Source) CollectionData(height int64, index types.CollectionDataIndex) (tokenmanagertypes.CollectionData, error)
CollectionData implements tokenmanagersource.Source
func (Source) CollectionDataAll ¶
func (s Source) CollectionDataAll(height int64) ([]tokenmanagertypes.CollectionData, error)
CollectionDataAll implements tokenmanagersource.Source
func (Source) GetFeeToken ¶
func (Source) GetNetwork ¶
func (Source) ItemAll ¶
func (s Source) ItemAll(height int64) ([]tokenmanagertypes.Item, error)
ItemAll implements tokenmanagersource.Source
func (Source) OnChainItem ¶
func (s Source) OnChainItem(height int64, index types.OnChainItemIndex) (tokenmanagertypes.OnChainItem, error)
OnChainItem implements tokenmanagersource.Source
Click to show internal directories.
Click to hide internal directories.