Documentation ¶
Index ¶
- type CrossChainClient
- func (cli *CrossChainClient) BatchConfirms(nonce uint64, tokenContract, chainName string) ([]*crosschaintypes.MsgConfirmBatch, error)
- func (cli *CrossChainClient) BatchFees(chainName string) ([]*crosschaintypes.BatchFees, error)
- func (cli *CrossChainClient) CurrentOracleSet(chainName string) (*crosschaintypes.OracleSet, error)
- func (cli *CrossChainClient) GetCurrentOracleSet(chainName string) (*crosschaintypes.OracleSet, error)
- func (cli *CrossChainClient) GetGravityId(chainName string) (string, error)
- func (cli *CrossChainClient) GetLastOracleSetRequest(chainName string) ([]*crosschaintypes.OracleSet, error)
- func (cli *CrossChainClient) GetOracleByBridgerAddr(bridgerAddress string, chainName string) (*crosschaintypes.Oracle, error)
- func (cli *CrossChainClient) GetOracleSetConfirmsByNonce(chainName string, nonce uint64) ([]*crosschaintypes.MsgOracleSetConfirm, error)
- func (cli *CrossChainClient) GetOracleSetRequest(chainName string, nonce uint64) (*crosschaintypes.OracleSet, error)
- func (cli *CrossChainClient) LastEventBlockHeightByAddr(bridgerAddress string, chainName string) (uint64, error)
- func (cli *CrossChainClient) LastEventNonceByAddr(bridgerAddress string, chainName string) (uint64, error)
- func (cli *CrossChainClient) LastOracleSetRequests(chainName string) ([]*crosschaintypes.OracleSet, error)
- func (cli *CrossChainClient) LastPendingBatchRequestByAddr(bridgerAddress string, chainName string) (*crosschaintypes.OutgoingTxBatch, error)
- func (cli *CrossChainClient) LastPendingOracleSetRequestByAddr(bridgerAddress string, chainName string) ([]*crosschaintypes.OracleSet, error)
- func (cli *CrossChainClient) OracleSetConfirmsByNonce(nonce uint64, chainName string) ([]*crosschaintypes.MsgOracleSetConfirm, error)
- func (cli *CrossChainClient) OracleSetRequest(nonce uint64, chainName string) (*crosschaintypes.OracleSet, error)
- func (cli *CrossChainClient) OutgoingTxBatches(chainName string) ([]*crosschaintypes.OutgoingTxBatch, error)
- func (cli *CrossChainClient) Params(chainName string) (*crosschaintypes.Params, error)
- func (cli *CrossChainClient) TokenToDenom(token, chainName string) (*crosschaintypes.QueryTokenToDenomResponse, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CrossChainClient ¶
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)
Click to show internal directories.
Click to hide internal directories.