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: 0

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