fxchain

package
v0.0.0-...-de16a70 Latest Latest
Warning

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

Go to latest
Published: Jan 11, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CrossChainClient

type CrossChainClient struct {
	*grpc.Client
	// contains filtered or unexported fields
}

func NewCrossChainClient

func NewCrossChainClient(ctx context.Context, grpcUrl string) (*CrossChainClient, error)

func (*CrossChainClient) BatchConfirms

func (cli *CrossChainClient) BatchConfirms(nonce uint64, tokenContract, chainName string) ([]*crosschaintypes.MsgConfirmBatch, error)

func (*CrossChainClient) BatchFees

func (cli *CrossChainClient) BatchFees(chainName string) ([]*crosschaintypes.BatchFees, error)

func (*CrossChainClient) CurrentOracleSet

func (cli *CrossChainClient) CurrentOracleSet(chainName string) (*crosschaintypes.OracleSet, error)

func (*CrossChainClient) GetCurrentOracleSet

func (cli *CrossChainClient) GetCurrentOracleSet(chainName string) (*crosschaintypes.OracleSet, error)

func (*CrossChainClient) GetGravityId

func (cli *CrossChainClient) GetGravityId(chainName string) (string, error)

func (*CrossChainClient) GetLastOracleSetRequest

func (cli *CrossChainClient) GetLastOracleSetRequest(chainName string) ([]*crosschaintypes.OracleSet, error)

func (*CrossChainClient) GetOracleByBridgerAddr

func (cli *CrossChainClient) GetOracleByBridgerAddr(bridgerAddress string, chainName string) (*crosschaintypes.Oracle, error)

func (*CrossChainClient) GetOracleSetConfirmsByNonce

func (cli *CrossChainClient) GetOracleSetConfirmsByNonce(chainName string, nonce uint64) ([]*crosschaintypes.MsgOracleSetConfirm, error)

func (*CrossChainClient) GetOracleSetRequest

func (cli *CrossChainClient) GetOracleSetRequest(chainName string, nonce uint64) (*crosschaintypes.OracleSet, error)

func (*CrossChainClient) LastEventBlockHeightByAddr

func (cli *CrossChainClient) LastEventBlockHeightByAddr(bridgerAddress string, chainName string) (uint64, error)

func (*CrossChainClient) LastEventNonceByAddr

func (cli *CrossChainClient) LastEventNonceByAddr(bridgerAddress string, chainName string) (uint64, error)

func (*CrossChainClient) LastOracleSetRequests

func (cli *CrossChainClient) LastOracleSetRequests(chainName string) ([]*crosschaintypes.OracleSet, error)

func (*CrossChainClient) LastPendingBatchRequestByAddr

func (cli *CrossChainClient) LastPendingBatchRequestByAddr(bridgerAddress string, chainName string) (*crosschaintypes.OutgoingTxBatch, error)

func (*CrossChainClient) LastPendingOracleSetRequestByAddr

func (cli *CrossChainClient) LastPendingOracleSetRequestByAddr(bridgerAddress string, chainName string) ([]*crosschaintypes.OracleSet, error)

func (*CrossChainClient) OracleSetConfirmsByNonce

func (cli *CrossChainClient) OracleSetConfirmsByNonce(nonce uint64, chainName string) ([]*crosschaintypes.MsgOracleSetConfirm, error)

func (*CrossChainClient) OracleSetRequest

func (cli *CrossChainClient) OracleSetRequest(nonce uint64, chainName string) (*crosschaintypes.OracleSet, error)

func (*CrossChainClient) OutgoingTxBatches

func (cli *CrossChainClient) OutgoingTxBatches(chainName string) ([]*crosschaintypes.OutgoingTxBatch, error)

func (*CrossChainClient) Params

func (cli *CrossChainClient) Params(chainName string) (*crosschaintypes.Params, error)

func (*CrossChainClient) TokenToDenom

func (cli *CrossChainClient) TokenToDenom(token, chainName string) (*crosschaintypes.QueryTokenToDenomResponse, error)

Jump to

Keyboard shortcuts

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