remote

package
v1.0.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 24, 2023 License: MIT Imports: 6 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Source

type Source struct {
	*remote.Source
	// contains filtered or unexported fields
}

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 (s Source) GetFeeToken(height int64, chain, contract string) (*tokenmanagertypes.FeeToken, error)

func (Source) GetNetwork

func (s Source) GetNetwork(height int64, network string) (tokenmanagertypes.Network, bool)

func (Source) Item

func (s Source) Item(height int64, index string) (tokenmanagertypes.Item, error)

Item implements tokenmanagersource.Source

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

func (Source) Params

func (s Source) Params(height int64) (tokenmanagertypes.Params, error)

Params implements tokenmanagersource.Source

func (Source) Seed

func (s Source) Seed(height int64, seed string) (tokenmanagertypes.Seed, error)

Seed implements tokenmanagersource.Source

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL