types

package
v2.4.2 Latest Latest
Warning

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

Go to latest
Published: Nov 8, 2022 License: Apache-2.0 Imports: 47 Imported by: 0

Documentation

Overview

Package types is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Index

Constants

View Source
const (
	// OutgoingBatchTxCheckpointABIJSON checks the ETH ABI for compatibility of the OutgoingBatchTx message
	OutgoingBatchTxCheckpointABIJSON = `` /* 923-byte string literal not displayed */

	// ValsetCheckpointABIJSON checks the ETH ABI for compatibility of the Valset update message
	ValsetCheckpointABIJSON = `` /* 590-byte string literal not displayed */

)
View Source
const (
	EventTypeContractEvnet   = "observation"
	AttributeKeyClaimType    = "claim_type"
	AttributeKeyEventNonce   = "event_nonce"
	AttributeKeyClaimHash    = "claim_hash"
	AttributeKeyBlockHeight  = "block_height"
	AttributeKeyStateSuccess = "state_success"

	EventTypeValsetUpdate   = "valset_update"
	AttributeKeyValsetNonce = "valset_nonce"
	AttributeKeyValsetLen   = "valset_len"

	EventTypeSendToEth         = "send_to_eth"
	EventTypeSendToEthCanceled = "send_to_eth_canceled"
	AttributeKeyOutgoingTxID   = "outgoing_tx_id"

	EventTypeOutgoingBatch           = "outgoing_batch"
	EventTypeOutgoingBatchCanceled   = "outgoing_batch_canceled"
	AttributeKeyOutgoingTxIds        = "outgoing_tx_ids"
	AttributeKeyOutgoingBatchNonce   = "batch_nonce"
	AttributeKeyOutgoingBatchTimeout = "outgoing_batch_timeout"

	EventTypeIbcTransfer         = "ibc_transfer"
	AttributeKeyIbcSendSequence  = "ibc_send_sequence"
	AttributeKeyIbcSourcePort    = "ibc_source_port"
	AttributeKeyIbcSourceChannel = "ibc_source_channel"

	EventTypeEvmTransfer = "evm_transfer"

	EventTypeConvertDenom  = "convert_denom"
	AttributeKeyAddress    = "address"
	AttributeKeyCoin       = "coin"
	AttributeKeyTargetCoin = "target_coin"
)
View Source
const (
	// ModuleName is the name of the module
	ModuleName = "gravity"

	// StoreKey to be used when creating the KVStore
	StoreKey = ModuleName

	// RouterKey is the module name router key
	RouterKey = ModuleName

	// QuerierRoute to be used for querierer msgs
	QuerierRoute = ModuleName
)
View Source
const (
	TypeMsgSetOrchestratorAddress = "set_operator_address"
	TypeMsgValsetConfirm          = "valset_confirm"
	TypeMsgSendToEth              = "send_to_eth"
	TypeMsgRequestBatch           = "request_batch"
	TypeMsgConfirmBatch           = "confirm_batch"
	TypeMsgDepositClaim           = "deposit_claim"
	TypeMsgWithdrawClaim          = "withdraw_claim"
	TypeMsgFxOriginatedTokenClaim = "fx_originated_token_claim"
	TypeMsgCancelSendToEth        = "cancel_send_to_eth"
	TypeMsgValsetUpdatedClaim     = "Valset_Updated_Claim"
)
View Source
const ETHContractAddressLen = 42

ETHContractAddressLen is the length of contract address strings

GravityDenomLen is the length of the denoms generated by the gravity module

View Source
const GravityDenomPrefix = "eth"

GravityDenomPrefix indicates the prefix for all assests minted by this module

View Source
const GravityDenomSeparator = ""

GravityDenomSeparator is the separator for gravity denoms

Variables

View Source
var (
	ErrInvalidLengthAttestation        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowAttestation          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupAttestation = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthBatch        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowBatch          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupBatch = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalid                 = sdkerrors.Register(ModuleName, 2, "invalid")
	ErrEmpty                   = sdkerrors.Register(ModuleName, 3, "empty")
	ErrUnknown                 = sdkerrors.Register(ModuleName, 4, "unknown")
	ErrDuplicate               = sdkerrors.Register(ModuleName, 5, "duplicate")
	ErrNonContiguousEventNonce = sdkerrors.Register(ModuleName, 6, "non contiguous event nonce")
)
View Source
var (
	// AttestationVotesPowerThreshold threshold of votes power to succeed
	AttestationVotesPowerThreshold = sdk.NewInt(66)

	// ParamsStoreKeyGravityID stores the gravity id
	ParamsStoreKeyGravityID = []byte("GravityID")

	// ParamsStoreKeyContractHash stores the contract hash
	ParamsStoreKeyContractHash = []byte("ContractHash")

	// ParamsStoreKeyBridgeContractAddress stores the contract address
	ParamsStoreKeyBridgeContractAddress = []byte("BridgeContractAddress")

	// ParamsStoreKeyBridgeContractChainID stores the bridge chain id
	ParamsStoreKeyBridgeContractChainID = []byte("BridgeChainID")

	// ParamsStoreKeySignedValsetsWindow stores the signed blocks window
	ParamsStoreKeySignedValsetsWindow = []byte("SignedValsetsWindow")

	// ParamsStoreKeySignedBatchesWindow stores the signed blocks window
	ParamsStoreKeySignedBatchesWindow = []byte("SignedBatchesWindow")

	// ParamsStoreKeySignedClaimsWindow stores the signed blocks window
	ParamsStoreKeySignedClaimsWindow = []byte("SignedClaimsWindow")

	// ParamsStoreKeyTargetBatchTimeout stores the signed blocks window
	ParamsStoreKeyTargetBatchTimeout = []byte("TargetBatchTimeout")

	// ParamsStoreKeyAverageBlockTime stores the signed blocks window
	ParamsStoreKeyAverageBlockTime = []byte("AverageBlockTime")

	// ParamsStoreKeyAverageEthereumBlockTime stores the signed blocks window
	ParamsStoreKeyAverageEthereumBlockTime = []byte("AverageEthereumBlockTime")

	// ParamsStoreSlashFractionValset stores the slash fraction valset
	ParamsStoreSlashFractionValset = []byte("SlashFractionValset")

	// ParamsStoreSlashFractionBatch stores the slash fraction Batch
	ParamsStoreSlashFractionBatch = []byte("SlashFractionBatch")

	// ParamsStoreSlashFractionClaim stores the slash fraction Claim
	ParamsStoreSlashFractionClaim = []byte("SlashFractionClaim")

	// ParamsStoreSlashFractionConflictingClaim stores the slash fraction ConflictingClaim
	ParamsStoreSlashFractionConflictingClaim = []byte("SlashFractionConflictingClaim")

	// ParamStoreUnbondSlashingValsetsWindow stores unbond slashing valset window
	ParamStoreUnbondSlashingValsetsWindow = []byte("UnbondSlashingValsetsWindow")

	// ParamStoreIbcTransferTimeoutHeight gravity and ibc transfer timeout height
	ParamStoreIbcTransferTimeoutHeight = []byte("ParamStoreIbcTransferTimeoutHeight")

	//ParamStoreValsetUpdatePowerChangePercent valset update pwer change percent
	ParamStoreValsetUpdatePowerChangePercent = []byte("ParamStoreValsetUpdatePowerChangePercent")
)
View Source
var (
	ErrInvalidLengthGenesis        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowGenesis          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupGenesis = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	// EthAddressByValidatorKey indexes cosmos validator account addresses
	EthAddressByValidatorKey = []byte{0x1}

	// ValidatorByEthAddressKey indexes ethereum addresses
	ValidatorByEthAddressKey = []byte{0x2}

	// ValsetRequestKey indexes valset requests by nonce
	ValsetRequestKey = []byte{0x3}

	// ValsetConfirmKey indexes valset confirmations by nonce and the validator account address
	ValsetConfirmKey = []byte{0x4}

	// OracleAttestationKey attestation details by nonce and validator address
	// An attestation can be thought of as the 'event to be executed' while
	// the Claims are an individual validator saying that they saw an event
	// occur the Attestation is 'the event' that multiple claims vote on and
	// eventually executes
	OracleAttestationKey = []byte{0x5}

	// OutgoingTxPoolKey indexes the last nonce for the outgoing tx pool
	OutgoingTxPoolKey = []byte{0x6}

	// SecondIndexOutgoingTxFeeKey indexes fee amounts by token contract address
	SecondIndexOutgoingTxFeeKey = []byte{0x7}

	// OutgoingTxBatchKey indexes outgoing tx batches under a nonce and token address
	OutgoingTxBatchKey = []byte{0x8}

	// OutgoingTxBatchBlockKey indexes outgoing tx batches under a block height and token address
	OutgoingTxBatchBlockKey = []byte{0x9}

	// BatchConfirmKey indexes validator confirmations by token contract address
	BatchConfirmKey = []byte{0xa}

	// LastEventNonceByValidatorKey indexes lateset event nonce by validator
	LastEventNonceByValidatorKey = []byte{0xb}

	// LastObservedEventNonceKey indexes the latest event nonce
	LastObservedEventNonceKey = []byte{0xc}

	// SequenceKeyPrefix indexes different txids
	SequenceKeyPrefix = []byte{0xd}

	// KeyLastTXPoolID indexes the lastTxPoolID
	KeyLastTXPoolID = append(SequenceKeyPrefix, []byte("lastTxPoolId")...)

	// KeyLastOutgoingBatchID indexes the lastBatchID
	KeyLastOutgoingBatchID = append(SequenceKeyPrefix, []byte("lastBatchId")...)

	// ValidatorAddressByOrchestratorAddress indexes the validator keys for an orchestrator
	ValidatorAddressByOrchestratorAddress = []byte{0xe}

	// DenomToERC20Key prefixes the index of Cosmos originated asset denoms to ERC20s
	DenomToERC20Key = []byte{0xf}

	// ERC20ToDenomKey prefixes the index of Cosmos originated assets ERC20s to denoms
	ERC20ToDenomKey = []byte{0x10}

	// LastSlashedValsetNonce indexes the latest slashed valset nonce
	LastSlashedValsetNonce = []byte{0x11}

	// LatestValsetNonce indexes the latest valset nonce
	LatestValsetNonce = []byte{0x12}

	// LastSlashedBatchBlock indexes the latest slashed batch block height
	LastSlashedBatchBlock = []byte{0x13}

	// LastUnBondingBlockHeight indexes the last validator unbonding block height
	LastUnBondingBlockHeight = []byte{0x14}

	// LastObservedEthereumBlockHeightKey indexes the latest Ethereum block height
	LastObservedEthereumBlockHeightKey = []byte{0x15}

	// LastObservedValsetKey indexes the latest observed valset nonce
	LastObservedValsetKey = []byte{0x16}

	// IbcSequenceHeightKey  indexes the gravity -> ibc sequence block height
	IbcSequenceHeightKey = []byte{0x17}

	// LastEventBlockHeightByValidatorKey indexes lateset event blockHeight by validator
	LastEventBlockHeightByValidatorKey = []byte{0x18}
)
View Source
var (
	ErrInvalidLengthPool        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowPool          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupPool = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthQuery        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowQuery          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupQuery = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthTx        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowTx          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupTx = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthTypes        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowTypes          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupTypes = fmt.Errorf("proto: unexpected end of group")
)
View Source
var ClaimType_name = map[int32]string{
	0: "CLAIM_TYPE_UNSPECIFIED",
	1: "CLAIM_TYPE_DEPOSIT",
	2: "CLAIM_TYPE_WITHDRAW",
	3: "CLAIM_TYPE_ORIGINATED_TOKEN",
	4: "CLAIM_TYPE_VALSET_UPDATED",
}
View Source
var ClaimType_value = map[string]int32{
	"CLAIM_TYPE_UNSPECIFIED":      0,
	"CLAIM_TYPE_DEPOSIT":          1,
	"CLAIM_TYPE_WITHDRAW":         2,
	"CLAIM_TYPE_ORIGINATED_TOKEN": 3,
	"CLAIM_TYPE_VALSET_UPDATED":   4,
}
View Source
var ModuleCdc = codec.NewLegacyAmino()

ModuleCdc is the codec for the module

View Source
var SignType_name = map[int32]string{
	0: "SIGN_TYPE_UNSPECIFIED",
	1: "SIGN_TYPE_ORCHESTRATOR_SIGNED_MULTI_SIG_UPDATE",
	2: "SIGN_TYPE_ORCHESTRATOR_SIGNED_WITHDRAW_BATCH",
}
View Source
var SignType_value = map[string]int32{
	"SIGN_TYPE_UNSPECIFIED":                          0,
	"SIGN_TYPE_ORCHESTRATOR_SIGNED_MULTI_SIG_UPDATE": 1,
	"SIGN_TYPE_ORCHESTRATOR_SIGNED_WITHDRAW_BATCH":   2,
}

Functions

func CovertIbcPacketReceiveAddressByPrefix

func CovertIbcPacketReceiveAddressByPrefix(height int64, targetIbcPrefix string, receiver sdk.AccAddress) (ibcReceiveAddr string, err error)

func EthAddrLessThan

func EthAddrLessThan(e, o string) bool

EthAddrLessThan migrates the Ethereum address less than function

func EthAddressFromSignature

func EthAddressFromSignature(hash []byte, signature []byte) (string, error)

func GetAttestationKey

func GetAttestationKey(eventNonce uint64, claimHash []byte) []byte

GetAttestationKey returns the following key format prefix nonce claim-details-hash [0x0][0 0 0 0 0 0 0 1][fd1af8cec6c67fcf156f1b61fdf91ebc04d05484d007436e75342fc05bbff35a] An attestation is an event multiple people are voting on, this function needs the claim details because each Attestation is aggregating all claims of a specific event, lets say validator X and validator y where making different claims about the same event nonce Note that the claim hash does NOT include the claimer address and only identifies an event

func GetAttestationKeyWithHash

func GetAttestationKeyWithHash(eventNonce uint64, claimHash []byte) []byte

GetAttestationKeyWithHash returns the following key format prefix nonce claim-details-hash [0x0][0 0 0 0 0 0 0 1][fd1af8cec6c67fcf156f1b61fdf91ebc04d05484d007436e75342fc05bbff35a] An attestation is an event multiple people are voting on, this function needs the claim details because each Attestation is aggregating all claims of a specific event, lets say validator X and validator y where making different claims about the same event nonce Note that the claim hash does NOT include the claimer address and only identifies an event

func GetBatchConfirmKey

func GetBatchConfirmKey(tokenContract string, batchNonce uint64, validator sdk.AccAddress) []byte

GetBatchConfirmKey returns the following key format prefix eth-contract-address BatchNonce Validator-address [0x0][0xb4fA5979babd8Bb7e427157d0d353Cf205F43752][0 0 0 0 0 0 0 1][cosmosvaloper1ahx7f8wyertuus9r20284ej0asrs085case3kn]

func GetDenomToERC20Key

func GetDenomToERC20Key(denom string) []byte

GetDenomToERC20Key denom -> erc20

func GetERC20ToDenomKey

func GetERC20ToDenomKey(erc20 string) []byte

GetERC20ToDenomKey erc20 -> denom

func GetEthAddressByValidatorKey

func GetEthAddressByValidatorKey(validator sdk.ValAddress) []byte

GetEthAddressByValidatorKey returns the following key format

func GetFeeSecondIndexKey

func GetFeeSecondIndexKey(fee ERC20Token) []byte

GetFeeSecondIndexKey returns the following key format prefix eth-contract-address fee_amount [0x0][0xb4fA5979babd8Bb7e427157d0d353Cf205F43752][1000000000]

func GetIbcSequenceHeightKey

func GetIbcSequenceHeightKey(sourcePort, sourceChannel string, sequence uint64) []byte

GetIbcSequenceHeightKey [0xc1]sourcePort/sourceChannel/sequence

func GetLastEventBlockHeightByValidatorKey

func GetLastEventBlockHeightByValidatorKey(validator sdk.ValAddress) []byte

GetLastEventBlockHeightByValidatorKey indexes lateset event blockHeight by validator

func GetLastEventNonceByValidatorKey

func GetLastEventNonceByValidatorKey(validator sdk.ValAddress) []byte

GetLastEventNonceByValidatorKey indexes lateset event nonce by validator

func GetOrchestratorAddressKey

func GetOrchestratorAddressKey(orc sdk.AccAddress) []byte

GetOrchestratorAddressKey returns the following key format

func GetOutgoingTxBatchBlockKey

func GetOutgoingTxBatchBlockKey(block uint64) []byte

GetOutgoingTxBatchBlockKey returns the following key format

func GetOutgoingTxBatchKey

func GetOutgoingTxBatchKey(tokenContract string, nonce uint64) []byte

GetOutgoingTxBatchKey returns the following key format

func GetOutgoingTxPoolKey

func GetOutgoingTxPoolKey(id uint64) []byte

GetOutgoingTxPoolKey returns the following key format

func GetValidatorByEthAddressKey

func GetValidatorByEthAddressKey(ethAddress string) []byte

GetValidatorByEthAddressKey returns the following key format

func GetValsetConfirmKey

func GetValsetConfirmKey(nonce uint64, validator sdk.AccAddress) []byte

GetValsetConfirmKey returns the following key format

func GetValsetKey

func GetValsetKey(nonce uint64) []byte

GetValsetKey returns the following key format

func GravityDenom

func GravityDenom(tokenContract string) string

func GravityDenomToERC20

func GravityDenomToERC20(denom string) (string, error)

func MinBatchFeeToBaseFees

func MinBatchFeeToBaseFees(ms []MinBatchFee) map[string]sdk.Int

func NewEthereumSignature

func NewEthereumSignature(hash []byte, privateKey *ecdsa.PrivateKey) ([]byte, error)

NewEthereumSignature creates a new signuature over a given byte array

func ParamKeyTable

func ParamKeyTable() paramtypes.KeyTable

ParamKeyTable for auth module

func RegisterCodec

func RegisterCodec(cdc *codec.LegacyAmino)

RegisterCodec registers concrete types on the Amino codec

func RegisterInterfaces

func RegisterInterfaces(registry types.InterfaceRegistry)

RegisterInterfaces registers the interfaces for the proto stuff

func RegisterMsgServer

func RegisterMsgServer(s grpc1.Server, srv MsgServer)

func RegisterQueryHandler

func RegisterQueryHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error

RegisterQueryHandler registers the http handlers for service Query to "mux". The handlers forward requests to the grpc endpoint over "conn".

func RegisterQueryHandlerClient

func RegisterQueryHandlerClient(ctx context.Context, mux *runtime.ServeMux, client QueryClient) error

RegisterQueryHandlerClient registers the http handlers for service Query to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "QueryClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "QueryClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "QueryClient" to call the correct interceptors.

func RegisterQueryHandlerFromEndpoint

func RegisterQueryHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)

RegisterQueryHandlerFromEndpoint is same as RegisterQueryHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.

func RegisterQueryHandlerServer

func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, server QueryServer) error

RegisterQueryHandlerServer registers the http handlers for service Query to "mux". UnaryRPC :call QueryServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features (such as grpc.SendHeader, etc) to stop working. Consider using RegisterQueryHandlerFromEndpoint instead.

func RegisterQueryServer

func RegisterQueryServer(s grpc1.Server, srv QueryServer)

func UInt64Bytes

func UInt64Bytes(n uint64) []byte

UInt64Bytes uses the SDK byte marshaling to encode a uint64

func UInt64FromBytes

func UInt64FromBytes(s []byte) uint64

UInt64FromBytes create uint from binary big endian representation

func UInt64FromString

func UInt64FromString(s string) (uint64, error)

UInt64FromString to parse out a uint64 for a nonce

func ValidateEthAddress

func ValidateEthAddress(a string) error

ValidateEthAddress validates the ethereum address strings

func ValidateEthAddressAndValidateChecksum

func ValidateEthAddressAndValidateChecksum(a string) error

ValidateEthAddressAndValidateChecksum validates the ethereum address strings

func ValidateEthereumSignature

func ValidateEthereumSignature(hash []byte, signature []byte, ethAddress string) error

ValidateEthereumSignature takes a message, an associated signature and public key and returns an error if the signature isn't valid

Types

type AccountKeeper

type AccountKeeper interface {
	GetAccount(ctx sdk.Context, addr sdk.AccAddress) types.AccountI

	GetModuleAddress(name string) sdk.AccAddress
	GetModuleAccount(ctx sdk.Context, name string) types.ModuleAccountI
	SetModuleAccount(sdk.Context, types.ModuleAccountI)
}

AccountKeeper defines the expected account keeper used for simulations (noalias)

type Attestation

type Attestation struct {
	Observed bool       `protobuf:"varint,1,opt,name=observed,proto3" json:"observed,omitempty"`
	Votes    []string   `protobuf:"bytes,2,rep,name=votes,proto3" json:"votes,omitempty"`
	Height   uint64     `protobuf:"varint,3,opt,name=height,proto3" json:"height,omitempty"`
	Claim    *types.Any `protobuf:"bytes,4,opt,name=claim,proto3" json:"claim,omitempty"`
}

Attestation is an aggregate of `claims` that eventually becomes `observed` by all orchestrators EVENT_NONCE: EventNonce a nonce provided by the gravity contract that is unique per event fired These event nonces must be relayed in order. This is a correctness issue, if relaying out of order transaction replay attacks become possible OBSERVED: Observed indicates that >67% of validators have attested to the event, and that the event should be executed by the gravity state machine

The actual content of the claims is passed in with the transaction making the claim and then passed through the call stack alongside the attestation while it is processed the key in which the attestation is stored is keyed on the exact details of the claim but there is no reason to store those exact details becuause the next message sender will kindly provide you with them.

func (*Attestation) Descriptor

func (*Attestation) Descriptor() ([]byte, []int)

func (*Attestation) GetClaim

func (m *Attestation) GetClaim() *types.Any

func (*Attestation) GetHeight

func (m *Attestation) GetHeight() uint64

func (*Attestation) GetObserved

func (m *Attestation) GetObserved() bool

func (*Attestation) GetVotes

func (m *Attestation) GetVotes() []string

func (*Attestation) Marshal

func (m *Attestation) Marshal() (dAtA []byte, err error)

func (*Attestation) MarshalTo

func (m *Attestation) MarshalTo(dAtA []byte) (int, error)

func (*Attestation) MarshalToSizedBuffer

func (m *Attestation) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Attestation) ProtoMessage

func (*Attestation) ProtoMessage()

func (*Attestation) Reset

func (m *Attestation) Reset()

func (*Attestation) Size

func (m *Attestation) Size() (n int)

func (*Attestation) String

func (m *Attestation) String() string

func (*Attestation) Unmarshal

func (m *Attestation) Unmarshal(dAtA []byte) error

func (*Attestation) XXX_DiscardUnknown

func (m *Attestation) XXX_DiscardUnknown()

func (*Attestation) XXX_Marshal

func (m *Attestation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Attestation) XXX_Merge

func (m *Attestation) XXX_Merge(src proto.Message)

func (*Attestation) XXX_Size

func (m *Attestation) XXX_Size() int

func (*Attestation) XXX_Unmarshal

func (m *Attestation) XXX_Unmarshal(b []byte) error

type BankKeeper

type BankKeeper interface {
	SendCoinsFromModuleToAccount(ctx sdk.Context, senderModule string, recipientAddr sdk.AccAddress, amt sdk.Coins) error
	SendCoinsFromAccountToModule(ctx sdk.Context, senderAddr sdk.AccAddress, recipientModule string, amt sdk.Coins) error
	MintCoins(ctx sdk.Context, name string, amt sdk.Coins) error
	BurnCoins(ctx sdk.Context, name string, amt sdk.Coins) error
	GetAllBalances(ctx sdk.Context, addr sdk.AccAddress) sdk.Coins
	GetDenomMetaData(ctx sdk.Context, denom string) (bank.Metadata, bool)
}

BankKeeper defines the expected bank keeper methods

type BatchFees

type BatchFees struct {
	TokenContract string                                 `protobuf:"bytes,1,opt,name=token_contract,json=tokenContract,proto3" json:"token_contract,omitempty"`
	TotalFees     github_com_cosmos_cosmos_sdk_types.Int `` /* 128-byte string literal not displayed */
	TotalTxs      uint64                                 `protobuf:"varint,3,opt,name=total_txs,json=totalTxs,proto3" json:"total_txs,omitempty"`
	TotalAmount   github_com_cosmos_cosmos_sdk_types.Int `` /* 134-byte string literal not displayed */
}

func (*BatchFees) Descriptor

func (*BatchFees) Descriptor() ([]byte, []int)

func (*BatchFees) GetTokenContract

func (m *BatchFees) GetTokenContract() string

func (*BatchFees) GetTotalTxs

func (m *BatchFees) GetTotalTxs() uint64

func (*BatchFees) Marshal

func (m *BatchFees) Marshal() (dAtA []byte, err error)

func (*BatchFees) MarshalTo

func (m *BatchFees) MarshalTo(dAtA []byte) (int, error)

func (*BatchFees) MarshalToSizedBuffer

func (m *BatchFees) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*BatchFees) ProtoMessage

func (*BatchFees) ProtoMessage()

func (*BatchFees) Reset

func (m *BatchFees) Reset()

func (*BatchFees) Size

func (m *BatchFees) Size() (n int)

func (*BatchFees) String

func (m *BatchFees) String() string

func (*BatchFees) Unmarshal

func (m *BatchFees) Unmarshal(dAtA []byte) error

func (*BatchFees) XXX_DiscardUnknown

func (m *BatchFees) XXX_DiscardUnknown()

func (*BatchFees) XXX_Marshal

func (m *BatchFees) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*BatchFees) XXX_Merge

func (m *BatchFees) XXX_Merge(src proto.Message)

func (*BatchFees) XXX_Size

func (m *BatchFees) XXX_Size() int

func (*BatchFees) XXX_Unmarshal

func (m *BatchFees) XXX_Unmarshal(b []byte) error

type BridgeValidator

type BridgeValidator struct {
	Power      uint64 `protobuf:"varint,1,opt,name=power,proto3" json:"power,omitempty"`
	EthAddress string `protobuf:"bytes,2,opt,name=eth_address,json=ethAddress,proto3" json:"eth_address,omitempty"`
}

BridgeValidator represents a validator's ETH address and its power

func (*BridgeValidator) Descriptor

func (*BridgeValidator) Descriptor() ([]byte, []int)

func (*BridgeValidator) GetEthAddress

func (m *BridgeValidator) GetEthAddress() string

func (*BridgeValidator) GetPower

func (m *BridgeValidator) GetPower() uint64

func (*BridgeValidator) Marshal

func (m *BridgeValidator) Marshal() (dAtA []byte, err error)

func (*BridgeValidator) MarshalTo

func (m *BridgeValidator) MarshalTo(dAtA []byte) (int, error)

func (*BridgeValidator) MarshalToSizedBuffer

func (m *BridgeValidator) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*BridgeValidator) ProtoMessage

func (*BridgeValidator) ProtoMessage()

func (*BridgeValidator) Reset

func (m *BridgeValidator) Reset()

func (*BridgeValidator) Size

func (m *BridgeValidator) Size() (n int)

func (*BridgeValidator) String

func (m *BridgeValidator) String() string

func (*BridgeValidator) Unmarshal

func (m *BridgeValidator) Unmarshal(dAtA []byte) error

func (*BridgeValidator) ValidateBasic

func (b *BridgeValidator) ValidateBasic() error

ValidateBasic performs stateless checks on validity

func (*BridgeValidator) XXX_DiscardUnknown

func (m *BridgeValidator) XXX_DiscardUnknown()

func (*BridgeValidator) XXX_Marshal

func (m *BridgeValidator) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*BridgeValidator) XXX_Merge

func (m *BridgeValidator) XXX_Merge(src proto.Message)

func (*BridgeValidator) XXX_Size

func (m *BridgeValidator) XXX_Size() int

func (*BridgeValidator) XXX_Unmarshal

func (m *BridgeValidator) XXX_Unmarshal(b []byte) error

type BridgeValidators

type BridgeValidators []*BridgeValidator

BridgeValidators is the sorted set of validator data for Ethereum bridge MultiSig set

func (BridgeValidators) GetPowers

func (b BridgeValidators) GetPowers() []uint64

GetPowers returns only the power values for all members

func (BridgeValidators) HasDuplicates

func (b BridgeValidators) HasDuplicates() bool

HasDuplicates returns true if there are duplicates in the set

func (BridgeValidators) PowerDiff

func (b BridgeValidators) PowerDiff(c BridgeValidators) float64

PowerDiff returns the difference in power between two bridge validator sets note this is Gravity bridge power *not* Cosmos voting power. Cosmos voting power is based on the absolute number of tokens in the staking pool at any given time Gravity bridge power is normalized using the equation.

validators cosmos voting power / total cosmos voting power in this block = gravity bridge power / u32_max

As an example if someone has 52% of the Cosmos voting power when a validator set is created their Gravity bridge voting power is u32_max * .52

Normalized voting power dramatically reduces how often we have to produce new validator set updates. For example if the total on chain voting power increases by 1% due to inflation, we shouldn't have to generate a new validator set, after all the validators retained their relative percentages during inflation and normalized Gravity bridge power shows no difference.

func (BridgeValidators) Sort

func (b BridgeValidators) Sort()

Sort sorts the validators by power

func (BridgeValidators) TotalPower

func (b BridgeValidators) TotalPower() (out uint64)

TotalPower returns the total power in the bridge validator set

func (BridgeValidators) ValidateBasic

func (b BridgeValidators) ValidateBasic() error

ValidateBasic performs stateless checks

type ClaimType

type ClaimType int32

ClaimType is the cosmos type of an event from the counterpart chain that can be handled

const (
	CLAIM_TYPE_UNSPECIFIED      ClaimType = 0
	CLAIM_TYPE_DEPOSIT          ClaimType = 1
	CLAIM_TYPE_WITHDRAW         ClaimType = 2
	CLAIM_TYPE_ORIGINATED_TOKEN ClaimType = 3
	CLAIM_TYPE_VALSET_UPDATED   ClaimType = 4
)

func (ClaimType) EnumDescriptor

func (ClaimType) EnumDescriptor() ([]byte, []int)

func (ClaimType) String

func (x ClaimType) String() string

type ERC20ToDenom

type ERC20ToDenom struct {
	Erc20 string `protobuf:"bytes,1,opt,name=erc20,proto3" json:"erc20,omitempty"`
	Denom string `protobuf:"bytes,2,opt,name=denom,proto3" json:"denom,omitempty"`
}

This records the relationship between an ERC20 token and the denom of the corresponding fx originated asset

func (*ERC20ToDenom) Descriptor

func (*ERC20ToDenom) Descriptor() ([]byte, []int)

func (*ERC20ToDenom) GetDenom

func (m *ERC20ToDenom) GetDenom() string

func (*ERC20ToDenom) GetErc20

func (m *ERC20ToDenom) GetErc20() string

func (*ERC20ToDenom) Marshal

func (m *ERC20ToDenom) Marshal() (dAtA []byte, err error)

func (*ERC20ToDenom) MarshalTo

func (m *ERC20ToDenom) MarshalTo(dAtA []byte) (int, error)

func (*ERC20ToDenom) MarshalToSizedBuffer

func (m *ERC20ToDenom) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ERC20ToDenom) ProtoMessage

func (*ERC20ToDenom) ProtoMessage()

func (*ERC20ToDenom) Reset

func (m *ERC20ToDenom) Reset()

func (*ERC20ToDenom) Size

func (m *ERC20ToDenom) Size() (n int)

func (*ERC20ToDenom) String

func (m *ERC20ToDenom) String() string

func (*ERC20ToDenom) Unmarshal

func (m *ERC20ToDenom) Unmarshal(dAtA []byte) error

func (*ERC20ToDenom) XXX_DiscardUnknown

func (m *ERC20ToDenom) XXX_DiscardUnknown()

func (*ERC20ToDenom) XXX_Marshal

func (m *ERC20ToDenom) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ERC20ToDenom) XXX_Merge

func (m *ERC20ToDenom) XXX_Merge(src proto.Message)

func (*ERC20ToDenom) XXX_Size

func (m *ERC20ToDenom) XXX_Size() int

func (*ERC20ToDenom) XXX_Unmarshal

func (m *ERC20ToDenom) XXX_Unmarshal(b []byte) error

type ERC20Token

type ERC20Token struct {
	Contract string                                 `protobuf:"bytes,1,opt,name=contract,proto3" json:"contract,omitempty"`
	Amount   github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,2,opt,name=amount,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"amount"`
}

ERC20Token unique identifier for an Ethereum ERC20 token. CONTRACT: The contract address on ETH of the token, this could be a Cosmos originated token, if so it will be the ERC20 address of the representation (note: developers should look up the token symbol using the address on ETH to display for UI)

func NewERC20Token

func NewERC20Token(amount uint64, contract string) *ERC20Token

NewERC20Token returns a new instance of an ERC20

func NewSDKIntERC20Token

func NewSDKIntERC20Token(amount sdk.Int, contract string) *ERC20Token

func (*ERC20Token) Descriptor

func (*ERC20Token) Descriptor() ([]byte, []int)

func (*ERC20Token) GetContract

func (m *ERC20Token) GetContract() string

func (*ERC20Token) GravityCoin

func (e *ERC20Token) GravityCoin() sdk.Coin

GravityCoin returns the gravity representation of the ERC20

func (*ERC20Token) Marshal

func (m *ERC20Token) Marshal() (dAtA []byte, err error)

func (*ERC20Token) MarshalTo

func (m *ERC20Token) MarshalTo(dAtA []byte) (int, error)

func (*ERC20Token) MarshalToSizedBuffer

func (m *ERC20Token) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ERC20Token) ProtoMessage

func (*ERC20Token) ProtoMessage()

func (*ERC20Token) Reset

func (m *ERC20Token) Reset()

func (*ERC20Token) Size

func (m *ERC20Token) Size() (n int)

func (*ERC20Token) String

func (m *ERC20Token) String() string

func (*ERC20Token) Unmarshal

func (m *ERC20Token) Unmarshal(dAtA []byte) error

func (*ERC20Token) ValidateBasic

func (e *ERC20Token) ValidateBasic() error

ValidateBasic permforms stateless validation

func (*ERC20Token) XXX_DiscardUnknown

func (m *ERC20Token) XXX_DiscardUnknown()

func (*ERC20Token) XXX_Marshal

func (m *ERC20Token) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ERC20Token) XXX_Merge

func (m *ERC20Token) XXX_Merge(src proto.Message)

func (*ERC20Token) XXX_Size

func (m *ERC20Token) XXX_Size() int

func (*ERC20Token) XXX_Unmarshal

func (m *ERC20Token) XXX_Unmarshal(b []byte) error

type Erc20Keeper

type Erc20Keeper interface {
	RelayConvertCoin(ctx sdk.Context, sender sdk.AccAddress, receiver common.Address, coin sdk.Coin) error
	RelayConvertDenomToOne(ctx sdk.Context, from sdk.AccAddress, coin sdk.Coin) (sdk.Coin, error)
	RelayConvertDenomToMany(ctx sdk.Context, from sdk.AccAddress, coin sdk.Coin, target string) (sdk.Coin, error)
	IsManyToOneDenom(ctx sdk.Context, denom string) (bool, error)
}

type EthereumClaim

type EthereumClaim interface {
	// GetEventNonce All Ethereum claims that we relay from the Gravity contract and into the module
	// have a nonce that is monotonically increasing and unique, since this nonce is
	// issued by the Ethereum contract it is immutable and must be agreed on by all validators
	// any disagreement on what claim goes to what nonce means someone is lying.
	GetEventNonce() uint64
	// GetBlockHeight The block height that the claimed event occurred on. This EventNonce provides sufficient
	// ordering for the execution of all claims. The block height is used only for batchTimeouts + logicTimeouts
	// when we go to create a new batch we set the timeout some number of batches out from the last
	// known height plus projected block progress since then.
	GetBlockHeight() uint64
	// GetClaimer the delegate address of the claimer, for MsgDepositClaim and MsgWithdrawClaim
	// this is sent in as the sdk.AccAddress of the delegated key. it is up to the user
	// to disambiguate this into a sdk.ValAddress
	GetClaimer() sdk.AccAddress
	// GetType Which type of claim this is
	GetType() ClaimType
	ValidateBasic() error
	ClaimHash() []byte
}

EthereumClaim represents a claim on ethereum state

type GenesisState

type GenesisState struct {
	Params                  Params                           `protobuf:"bytes,1,opt,name=params,proto3" json:"params"`
	LastObservedNonce       uint64                           `protobuf:"varint,2,opt,name=last_observed_nonce,json=lastObservedNonce,proto3" json:"last_observed_nonce,omitempty"`
	LastObservedBlockHeight *LastObservedEthereumBlockHeight `` /* 134-byte string literal not displayed */
	DelegateKeys            []MsgSetOrchestratorAddress      `protobuf:"bytes,4,rep,name=delegate_keys,json=delegateKeys,proto3" json:"delegate_keys"`
	Valsets                 []Valset                         `protobuf:"bytes,5,rep,name=valsets,proto3" json:"valsets"`
	Erc20ToDenoms           []ERC20ToDenom                   `protobuf:"bytes,6,rep,name=erc20_to_denoms,json=erc20ToDenoms,proto3" json:"erc20_to_denoms"`
	UnbatchedTransfers      []OutgoingTransferTx             `protobuf:"bytes,7,rep,name=unbatched_transfers,json=unbatchedTransfers,proto3" json:"unbatched_transfers"`
	Batches                 []OutgoingTxBatch                `protobuf:"bytes,8,rep,name=batches,proto3" json:"batches"`
	BatchConfirms           []MsgConfirmBatch                `protobuf:"bytes,9,rep,name=batch_confirms,json=batchConfirms,proto3" json:"batch_confirms"`
	ValsetConfirms          []MsgValsetConfirm               `protobuf:"bytes,10,rep,name=valset_confirms,json=valsetConfirms,proto3" json:"valset_confirms"`
	Attestations            []Attestation                    `protobuf:"bytes,11,rep,name=attestations,proto3" json:"attestations"`
}

GenesisState struct

func DefaultGenesisState

func DefaultGenesisState() *GenesisState

DefaultGenesisState returns empty genesis state

func (*GenesisState) Descriptor

func (*GenesisState) Descriptor() ([]byte, []int)

func (*GenesisState) GetAttestations

func (m *GenesisState) GetAttestations() []Attestation

func (*GenesisState) GetBatchConfirms

func (m *GenesisState) GetBatchConfirms() []MsgConfirmBatch

func (*GenesisState) GetBatches

func (m *GenesisState) GetBatches() []OutgoingTxBatch

func (*GenesisState) GetDelegateKeys

func (m *GenesisState) GetDelegateKeys() []MsgSetOrchestratorAddress

func (*GenesisState) GetErc20ToDenoms

func (m *GenesisState) GetErc20ToDenoms() []ERC20ToDenom

func (*GenesisState) GetLastObservedBlockHeight

func (m *GenesisState) GetLastObservedBlockHeight() *LastObservedEthereumBlockHeight

func (*GenesisState) GetLastObservedNonce

func (m *GenesisState) GetLastObservedNonce() uint64

func (*GenesisState) GetParams

func (m *GenesisState) GetParams() Params

func (*GenesisState) GetUnbatchedTransfers

func (m *GenesisState) GetUnbatchedTransfers() []OutgoingTransferTx

func (*GenesisState) GetValsetConfirms

func (m *GenesisState) GetValsetConfirms() []MsgValsetConfirm

func (*GenesisState) GetValsets

func (m *GenesisState) GetValsets() []Valset

func (*GenesisState) Marshal

func (m *GenesisState) Marshal() (dAtA []byte, err error)

func (*GenesisState) MarshalTo

func (m *GenesisState) MarshalTo(dAtA []byte) (int, error)

func (*GenesisState) MarshalToSizedBuffer

func (m *GenesisState) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*GenesisState) ProtoMessage

func (*GenesisState) ProtoMessage()

func (*GenesisState) Reset

func (m *GenesisState) Reset()

func (*GenesisState) Size

func (m *GenesisState) Size() (n int)

func (*GenesisState) String

func (m *GenesisState) String() string

func (*GenesisState) Unmarshal

func (m *GenesisState) Unmarshal(dAtA []byte) error

func (GenesisState) ValidateBasic

func (s GenesisState) ValidateBasic() error

ValidateBasic validates genesis state by looping through the params and calling their validation functions

func (*GenesisState) XXX_DiscardUnknown

func (m *GenesisState) XXX_DiscardUnknown()

func (*GenesisState) XXX_Marshal

func (m *GenesisState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GenesisState) XXX_Merge

func (m *GenesisState) XXX_Merge(src proto.Message)

func (*GenesisState) XXX_Size

func (m *GenesisState) XXX_Size() int

func (*GenesisState) XXX_Unmarshal

func (m *GenesisState) XXX_Unmarshal(b []byte) error

type IBCChannelKeeper

type IBCChannelKeeper interface {
	GetChannelClientState(ctx sdk.Context, portID, channelID string) (string, exported.ClientState, error)
	GetNextSequenceSend(ctx sdk.Context, portID, channelID string) (uint64, bool)
}

type IBCTransferKeeper

type IBCTransferKeeper interface {
	SendTransfer(
		ctx sdk.Context,
		sourcePort,
		sourceChannel string,
		token sdk.Coin,
		sender sdk.AccAddress,
		receiver string,
		timeoutHeight clienttypes.Height,
		timeoutTimestamp uint64,
		router string,
		fee sdk.Coin,
	) error
}

type IDSet

type IDSet struct {
	Ids []uint64 `protobuf:"varint,1,rep,packed,name=ids,proto3" json:"ids,omitempty"`
}

IDSet represents a set of IDs

func (*IDSet) Descriptor

func (*IDSet) Descriptor() ([]byte, []int)

func (*IDSet) GetIds

func (m *IDSet) GetIds() []uint64

func (*IDSet) Marshal

func (m *IDSet) Marshal() (dAtA []byte, err error)

func (*IDSet) MarshalTo

func (m *IDSet) MarshalTo(dAtA []byte) (int, error)

func (*IDSet) MarshalToSizedBuffer

func (m *IDSet) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*IDSet) ProtoMessage

func (*IDSet) ProtoMessage()

func (*IDSet) Reset

func (m *IDSet) Reset()

func (*IDSet) Size

func (m *IDSet) Size() (n int)

func (*IDSet) String

func (m *IDSet) String() string

func (*IDSet) Unmarshal

func (m *IDSet) Unmarshal(dAtA []byte) error

func (*IDSet) XXX_DiscardUnknown

func (m *IDSet) XXX_DiscardUnknown()

func (*IDSet) XXX_Marshal

func (m *IDSet) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*IDSet) XXX_Merge

func (m *IDSet) XXX_Merge(src proto.Message)

func (*IDSet) XXX_Size

func (m *IDSet) XXX_Size() int

func (*IDSet) XXX_Unmarshal

func (m *IDSet) XXX_Unmarshal(b []byte) error

type LastObservedEthereumBlockHeight

type LastObservedEthereumBlockHeight struct {
	FxBlockHeight  uint64 `protobuf:"varint,1,opt,name=fx_block_height,json=fxBlockHeight,proto3" json:"fx_block_height,omitempty"`
	EthBlockHeight uint64 `protobuf:"varint,2,opt,name=eth_block_height,json=ethBlockHeight,proto3" json:"eth_block_height,omitempty"`
}

LastObservedEthereumBlockHeight stores the last observed Ethereum block height along with the fx block height that it was observed at. These two numbers can be used to project outward and always produce batches with timeouts in the future even if no Ethereum block height has been relayed for a long time

func (*LastObservedEthereumBlockHeight) Descriptor

func (*LastObservedEthereumBlockHeight) Descriptor() ([]byte, []int)

func (*LastObservedEthereumBlockHeight) GetEthBlockHeight

func (m *LastObservedEthereumBlockHeight) GetEthBlockHeight() uint64

func (*LastObservedEthereumBlockHeight) GetFxBlockHeight

func (m *LastObservedEthereumBlockHeight) GetFxBlockHeight() uint64

func (*LastObservedEthereumBlockHeight) Marshal

func (m *LastObservedEthereumBlockHeight) Marshal() (dAtA []byte, err error)

func (*LastObservedEthereumBlockHeight) MarshalTo

func (m *LastObservedEthereumBlockHeight) MarshalTo(dAtA []byte) (int, error)

func (*LastObservedEthereumBlockHeight) MarshalToSizedBuffer

func (m *LastObservedEthereumBlockHeight) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*LastObservedEthereumBlockHeight) ProtoMessage

func (*LastObservedEthereumBlockHeight) ProtoMessage()

func (*LastObservedEthereumBlockHeight) Reset

func (*LastObservedEthereumBlockHeight) Size

func (m *LastObservedEthereumBlockHeight) Size() (n int)

func (*LastObservedEthereumBlockHeight) String

func (*LastObservedEthereumBlockHeight) Unmarshal

func (m *LastObservedEthereumBlockHeight) Unmarshal(dAtA []byte) error

func (*LastObservedEthereumBlockHeight) XXX_DiscardUnknown

func (m *LastObservedEthereumBlockHeight) XXX_DiscardUnknown()

func (*LastObservedEthereumBlockHeight) XXX_Marshal

func (m *LastObservedEthereumBlockHeight) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*LastObservedEthereumBlockHeight) XXX_Merge

func (m *LastObservedEthereumBlockHeight) XXX_Merge(src proto.Message)

func (*LastObservedEthereumBlockHeight) XXX_Size

func (m *LastObservedEthereumBlockHeight) XXX_Size() int

func (*LastObservedEthereumBlockHeight) XXX_Unmarshal

func (m *LastObservedEthereumBlockHeight) XXX_Unmarshal(b []byte) error

type MinBatchFee

type MinBatchFee struct {
	TokenContract string                                 `protobuf:"bytes,1,opt,name=token_contract,json=tokenContract,proto3" json:"token_contract,omitempty"`
	BaseFee       github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,2,opt,name=baseFee,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"baseFee"`
}

func (*MinBatchFee) Descriptor

func (*MinBatchFee) Descriptor() ([]byte, []int)

func (*MinBatchFee) GetTokenContract

func (m *MinBatchFee) GetTokenContract() string

func (*MinBatchFee) Marshal

func (m *MinBatchFee) Marshal() (dAtA []byte, err error)

func (*MinBatchFee) MarshalTo

func (m *MinBatchFee) MarshalTo(dAtA []byte) (int, error)

func (*MinBatchFee) MarshalToSizedBuffer

func (m *MinBatchFee) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MinBatchFee) ProtoMessage

func (*MinBatchFee) ProtoMessage()

func (*MinBatchFee) Reset

func (m *MinBatchFee) Reset()

func (*MinBatchFee) Size

func (m *MinBatchFee) Size() (n int)

func (*MinBatchFee) String

func (m *MinBatchFee) String() string

func (*MinBatchFee) Unmarshal

func (m *MinBatchFee) Unmarshal(dAtA []byte) error

func (*MinBatchFee) XXX_DiscardUnknown

func (m *MinBatchFee) XXX_DiscardUnknown()

func (*MinBatchFee) XXX_Marshal

func (m *MinBatchFee) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MinBatchFee) XXX_Merge

func (m *MinBatchFee) XXX_Merge(src proto.Message)

func (*MinBatchFee) XXX_Size

func (m *MinBatchFee) XXX_Size() int

func (*MinBatchFee) XXX_Unmarshal

func (m *MinBatchFee) XXX_Unmarshal(b []byte) error

type MsgCancelSendToEth

type MsgCancelSendToEth struct {
	TransactionId uint64 `protobuf:"varint,1,opt,name=transaction_id,json=transactionId,proto3" json:"transaction_id,omitempty"`
	Sender        string `protobuf:"bytes,2,opt,name=sender,proto3" json:"sender,omitempty"`
}

This call allows the sender (and only the sender) to cancel a given MsgSendToEth and recieve a refund of the tokens

func NewMsgCancelSendToEth

func NewMsgCancelSendToEth(sender sdk.AccAddress, id uint64) *MsgCancelSendToEth

NewMsgCancelSendToEth returns a new MsgCancelSendToEth

func (*MsgCancelSendToEth) Descriptor

func (*MsgCancelSendToEth) Descriptor() ([]byte, []int)

func (*MsgCancelSendToEth) GetSender

func (m *MsgCancelSendToEth) GetSender() string

func (*MsgCancelSendToEth) GetSignBytes

func (m *MsgCancelSendToEth) GetSignBytes() []byte

GetSignBytes encodes the message for signing

func (*MsgCancelSendToEth) GetSigners

func (m *MsgCancelSendToEth) GetSigners() []sdk.AccAddress

GetSigners defines whose signature is required

func (*MsgCancelSendToEth) GetTransactionId

func (m *MsgCancelSendToEth) GetTransactionId() uint64

func (*MsgCancelSendToEth) Marshal

func (m *MsgCancelSendToEth) Marshal() (dAtA []byte, err error)

func (*MsgCancelSendToEth) MarshalTo

func (m *MsgCancelSendToEth) MarshalTo(dAtA []byte) (int, error)

func (*MsgCancelSendToEth) MarshalToSizedBuffer

func (m *MsgCancelSendToEth) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgCancelSendToEth) ProtoMessage

func (*MsgCancelSendToEth) ProtoMessage()

func (*MsgCancelSendToEth) Reset

func (m *MsgCancelSendToEth) Reset()

func (*MsgCancelSendToEth) Route

func (m *MsgCancelSendToEth) Route() string

Route should return the name of the module

func (*MsgCancelSendToEth) Size

func (m *MsgCancelSendToEth) Size() (n int)

func (*MsgCancelSendToEth) String

func (m *MsgCancelSendToEth) String() string

func (*MsgCancelSendToEth) Type

func (m *MsgCancelSendToEth) Type() string

Type should return the action

func (*MsgCancelSendToEth) Unmarshal

func (m *MsgCancelSendToEth) Unmarshal(dAtA []byte) error

func (*MsgCancelSendToEth) ValidateBasic

func (m *MsgCancelSendToEth) ValidateBasic() (err error)

ValidateBasic performs stateless checks

func (*MsgCancelSendToEth) XXX_DiscardUnknown

func (m *MsgCancelSendToEth) XXX_DiscardUnknown()

func (*MsgCancelSendToEth) XXX_Marshal

func (m *MsgCancelSendToEth) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgCancelSendToEth) XXX_Merge

func (m *MsgCancelSendToEth) XXX_Merge(src proto.Message)

func (*MsgCancelSendToEth) XXX_Size

func (m *MsgCancelSendToEth) XXX_Size() int

func (*MsgCancelSendToEth) XXX_Unmarshal

func (m *MsgCancelSendToEth) XXX_Unmarshal(b []byte) error

type MsgCancelSendToEthResponse

type MsgCancelSendToEthResponse struct {
}

func (*MsgCancelSendToEthResponse) Descriptor

func (*MsgCancelSendToEthResponse) Descriptor() ([]byte, []int)

func (*MsgCancelSendToEthResponse) Marshal

func (m *MsgCancelSendToEthResponse) Marshal() (dAtA []byte, err error)

func (*MsgCancelSendToEthResponse) MarshalTo

func (m *MsgCancelSendToEthResponse) MarshalTo(dAtA []byte) (int, error)

func (*MsgCancelSendToEthResponse) MarshalToSizedBuffer

func (m *MsgCancelSendToEthResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgCancelSendToEthResponse) ProtoMessage

func (*MsgCancelSendToEthResponse) ProtoMessage()

func (*MsgCancelSendToEthResponse) Reset

func (m *MsgCancelSendToEthResponse) Reset()

func (*MsgCancelSendToEthResponse) Size

func (m *MsgCancelSendToEthResponse) Size() (n int)

func (*MsgCancelSendToEthResponse) String

func (m *MsgCancelSendToEthResponse) String() string

func (*MsgCancelSendToEthResponse) Unmarshal

func (m *MsgCancelSendToEthResponse) Unmarshal(dAtA []byte) error

func (*MsgCancelSendToEthResponse) XXX_DiscardUnknown

func (m *MsgCancelSendToEthResponse) XXX_DiscardUnknown()

func (*MsgCancelSendToEthResponse) XXX_Marshal

func (m *MsgCancelSendToEthResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgCancelSendToEthResponse) XXX_Merge

func (m *MsgCancelSendToEthResponse) XXX_Merge(src proto.Message)

func (*MsgCancelSendToEthResponse) XXX_Size

func (m *MsgCancelSendToEthResponse) XXX_Size() int

func (*MsgCancelSendToEthResponse) XXX_Unmarshal

func (m *MsgCancelSendToEthResponse) XXX_Unmarshal(b []byte) error

type MsgClient

MsgClient is the client API for Msg service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewMsgClient

func NewMsgClient(cc grpc1.ClientConn) MsgClient

type MsgConfirmBatch

type MsgConfirmBatch struct {
	Nonce         uint64 `protobuf:"varint,1,opt,name=nonce,proto3" json:"nonce,omitempty"`
	TokenContract string `protobuf:"bytes,2,opt,name=token_contract,json=tokenContract,proto3" json:"token_contract,omitempty"`
	EthSigner     string `protobuf:"bytes,3,opt,name=eth_signer,json=ethSigner,proto3" json:"eth_signer,omitempty"`
	Orchestrator  string `protobuf:"bytes,4,opt,name=orchestrator,proto3" json:"orchestrator,omitempty"`
	Signature     string `protobuf:"bytes,5,opt,name=signature,proto3" json:"signature,omitempty"`
}

MsgConfirmBatch When validators observe a MsgRequestBatch they form a batch by ordering transactions currently in the txqueue in order of highest to lowest fee, cutting off when the batch either reaches a hardcoded maximum size (to be decided, probably around 100) or when transactions stop being profitable (determine this without nondeterminism) This message includes the batch as well as an Ethereum signature over this batch by the validator -------------

func NewMsgConfirmBatch

func NewMsgConfirmBatch(nonce uint64, tokenContract, bscAddress, signature string, orchestrator sdk.AccAddress) *MsgConfirmBatch

NewMsgConfirmBatch returns a new msgConfirmBatch

func (*MsgConfirmBatch) Descriptor

func (*MsgConfirmBatch) Descriptor() ([]byte, []int)

func (*MsgConfirmBatch) GetEthSigner

func (m *MsgConfirmBatch) GetEthSigner() string

func (*MsgConfirmBatch) GetNonce

func (m *MsgConfirmBatch) GetNonce() uint64

func (*MsgConfirmBatch) GetOrchestrator

func (m *MsgConfirmBatch) GetOrchestrator() string

func (MsgConfirmBatch) GetSignBytes

func (m MsgConfirmBatch) GetSignBytes() []byte

GetSignBytes encodes the message for signing

func (*MsgConfirmBatch) GetSignature

func (m *MsgConfirmBatch) GetSignature() string

func (MsgConfirmBatch) GetSigners

func (m MsgConfirmBatch) GetSigners() []sdk.AccAddress

GetSigners defines whose signature is required

func (*MsgConfirmBatch) GetTokenContract

func (m *MsgConfirmBatch) GetTokenContract() string

func (*MsgConfirmBatch) Marshal

func (m *MsgConfirmBatch) Marshal() (dAtA []byte, err error)

func (*MsgConfirmBatch) MarshalTo

func (m *MsgConfirmBatch) MarshalTo(dAtA []byte) (int, error)

func (*MsgConfirmBatch) MarshalToSizedBuffer

func (m *MsgConfirmBatch) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgConfirmBatch) ProtoMessage

func (*MsgConfirmBatch) ProtoMessage()

func (*MsgConfirmBatch) Reset

func (m *MsgConfirmBatch) Reset()

func (MsgConfirmBatch) Route

func (m MsgConfirmBatch) Route() string

Route should return the name of the module

func (*MsgConfirmBatch) Size

func (m *MsgConfirmBatch) Size() (n int)

func (*MsgConfirmBatch) String

func (m *MsgConfirmBatch) String() string

func (MsgConfirmBatch) Type

func (m MsgConfirmBatch) Type() string

Type should return the action

func (*MsgConfirmBatch) Unmarshal

func (m *MsgConfirmBatch) Unmarshal(dAtA []byte) error

func (MsgConfirmBatch) ValidateBasic

func (m MsgConfirmBatch) ValidateBasic() error

ValidateBasic performs stateless checks

func (*MsgConfirmBatch) XXX_DiscardUnknown

func (m *MsgConfirmBatch) XXX_DiscardUnknown()

func (*MsgConfirmBatch) XXX_Marshal

func (m *MsgConfirmBatch) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgConfirmBatch) XXX_Merge

func (m *MsgConfirmBatch) XXX_Merge(src proto.Message)

func (*MsgConfirmBatch) XXX_Size

func (m *MsgConfirmBatch) XXX_Size() int

func (*MsgConfirmBatch) XXX_Unmarshal

func (m *MsgConfirmBatch) XXX_Unmarshal(b []byte) error

type MsgConfirmBatchResponse

type MsgConfirmBatchResponse struct {
}

func (*MsgConfirmBatchResponse) Descriptor

func (*MsgConfirmBatchResponse) Descriptor() ([]byte, []int)

func (*MsgConfirmBatchResponse) Marshal

func (m *MsgConfirmBatchResponse) Marshal() (dAtA []byte, err error)

func (*MsgConfirmBatchResponse) MarshalTo

func (m *MsgConfirmBatchResponse) MarshalTo(dAtA []byte) (int, error)

func (*MsgConfirmBatchResponse) MarshalToSizedBuffer

func (m *MsgConfirmBatchResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgConfirmBatchResponse) ProtoMessage

func (*MsgConfirmBatchResponse) ProtoMessage()

func (*MsgConfirmBatchResponse) Reset

func (m *MsgConfirmBatchResponse) Reset()

func (*MsgConfirmBatchResponse) Size

func (m *MsgConfirmBatchResponse) Size() (n int)

func (*MsgConfirmBatchResponse) String

func (m *MsgConfirmBatchResponse) String() string

func (*MsgConfirmBatchResponse) Unmarshal

func (m *MsgConfirmBatchResponse) Unmarshal(dAtA []byte) error

func (*MsgConfirmBatchResponse) XXX_DiscardUnknown

func (m *MsgConfirmBatchResponse) XXX_DiscardUnknown()

func (*MsgConfirmBatchResponse) XXX_Marshal

func (m *MsgConfirmBatchResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgConfirmBatchResponse) XXX_Merge

func (m *MsgConfirmBatchResponse) XXX_Merge(src proto.Message)

func (*MsgConfirmBatchResponse) XXX_Size

func (m *MsgConfirmBatchResponse) XXX_Size() int

func (*MsgConfirmBatchResponse) XXX_Unmarshal

func (m *MsgConfirmBatchResponse) XXX_Unmarshal(b []byte) error

type MsgDepositClaim

type MsgDepositClaim struct {
	EventNonce    uint64                                 `protobuf:"varint,1,opt,name=event_nonce,json=eventNonce,proto3" json:"event_nonce,omitempty"`
	BlockHeight   uint64                                 `protobuf:"varint,2,opt,name=block_height,json=blockHeight,proto3" json:"block_height,omitempty"`
	TokenContract string                                 `protobuf:"bytes,3,opt,name=token_contract,json=tokenContract,proto3" json:"token_contract,omitempty"`
	Amount        github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,4,opt,name=amount,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"amount"`
	EthSender     string                                 `protobuf:"bytes,5,opt,name=eth_sender,json=ethSender,proto3" json:"eth_sender,omitempty"`
	FxReceiver    string                                 `protobuf:"bytes,6,opt,name=fx_receiver,json=fxReceiver,proto3" json:"fx_receiver,omitempty"`
	TargetIbc     string                                 `protobuf:"bytes,7,opt,name=target_ibc,json=targetIbc,proto3" json:"target_ibc,omitempty"`
	Orchestrator  string                                 `protobuf:"bytes,8,opt,name=orchestrator,proto3" json:"orchestrator,omitempty"`
}

EthereumBridgeDepositClaim When more than 66% of the active validator set has claimed to have seen the deposit enter the ethereum blockchain coins are issued to the Cosmos address in question -------------

func NewMsgDepositClaim

func NewMsgDepositClaim(eventNonce, blockHeight uint64, tokenContract string, amount sdk.Int, ethSender, fxReceiver,
	targetIbc, orchestrator string) *MsgDepositClaim

func (*MsgDepositClaim) ClaimHash

func (m *MsgDepositClaim) ClaimHash() []byte

ClaimHash Hash implements BridgeDeposit.Hash

func (*MsgDepositClaim) Descriptor

func (*MsgDepositClaim) Descriptor() ([]byte, []int)

func (*MsgDepositClaim) GetBlockHeight

func (m *MsgDepositClaim) GetBlockHeight() uint64

func (MsgDepositClaim) GetClaimer

func (m MsgDepositClaim) GetClaimer() sdk.AccAddress

func (*MsgDepositClaim) GetEthSender

func (m *MsgDepositClaim) GetEthSender() string

func (*MsgDepositClaim) GetEventNonce

func (m *MsgDepositClaim) GetEventNonce() uint64

func (*MsgDepositClaim) GetFxReceiver

func (m *MsgDepositClaim) GetFxReceiver() string

func (*MsgDepositClaim) GetOrchestrator

func (m *MsgDepositClaim) GetOrchestrator() string

func (MsgDepositClaim) GetSignBytes

func (m MsgDepositClaim) GetSignBytes() []byte

GetSignBytes encodes the message for signing

func (MsgDepositClaim) GetSigners

func (m MsgDepositClaim) GetSigners() []sdk.AccAddress

GetSigners defines whose signature is required

func (*MsgDepositClaim) GetTargetIbc

func (m *MsgDepositClaim) GetTargetIbc() string

func (*MsgDepositClaim) GetTokenContract

func (m *MsgDepositClaim) GetTokenContract() string

func (*MsgDepositClaim) GetType

func (m *MsgDepositClaim) GetType() ClaimType

GetType returns the type of the claim

func (*MsgDepositClaim) Marshal

func (m *MsgDepositClaim) Marshal() (dAtA []byte, err error)

func (*MsgDepositClaim) MarshalTo

func (m *MsgDepositClaim) MarshalTo(dAtA []byte) (int, error)

func (*MsgDepositClaim) MarshalToSizedBuffer

func (m *MsgDepositClaim) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgDepositClaim) ProtoMessage

func (*MsgDepositClaim) ProtoMessage()

func (*MsgDepositClaim) Reset

func (m *MsgDepositClaim) Reset()

func (MsgDepositClaim) Route

func (m MsgDepositClaim) Route() string

Route should return the name of the module

func (*MsgDepositClaim) Size

func (m *MsgDepositClaim) Size() (n int)

func (*MsgDepositClaim) String

func (m *MsgDepositClaim) String() string

func (MsgDepositClaim) Type

func (m MsgDepositClaim) Type() string

Type should return the action

func (*MsgDepositClaim) Unmarshal

func (m *MsgDepositClaim) Unmarshal(dAtA []byte) error

func (*MsgDepositClaim) ValidateBasic

func (m *MsgDepositClaim) ValidateBasic() error

ValidateBasic performs stateless checks

func (*MsgDepositClaim) XXX_DiscardUnknown

func (m *MsgDepositClaim) XXX_DiscardUnknown()

func (*MsgDepositClaim) XXX_Marshal

func (m *MsgDepositClaim) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgDepositClaim) XXX_Merge

func (m *MsgDepositClaim) XXX_Merge(src proto.Message)

func (*MsgDepositClaim) XXX_Size

func (m *MsgDepositClaim) XXX_Size() int

func (*MsgDepositClaim) XXX_Unmarshal

func (m *MsgDepositClaim) XXX_Unmarshal(b []byte) error

type MsgDepositClaimResponse

type MsgDepositClaimResponse struct {
}

func (*MsgDepositClaimResponse) Descriptor

func (*MsgDepositClaimResponse) Descriptor() ([]byte, []int)

func (*MsgDepositClaimResponse) Marshal

func (m *MsgDepositClaimResponse) Marshal() (dAtA []byte, err error)

func (*MsgDepositClaimResponse) MarshalTo

func (m *MsgDepositClaimResponse) MarshalTo(dAtA []byte) (int, error)

func (*MsgDepositClaimResponse) MarshalToSizedBuffer

func (m *MsgDepositClaimResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgDepositClaimResponse) ProtoMessage

func (*MsgDepositClaimResponse) ProtoMessage()

func (*MsgDepositClaimResponse) Reset

func (m *MsgDepositClaimResponse) Reset()

func (*MsgDepositClaimResponse) Size

func (m *MsgDepositClaimResponse) Size() (n int)

func (*MsgDepositClaimResponse) String

func (m *MsgDepositClaimResponse) String() string

func (*MsgDepositClaimResponse) Unmarshal

func (m *MsgDepositClaimResponse) Unmarshal(dAtA []byte) error

func (*MsgDepositClaimResponse) XXX_DiscardUnknown

func (m *MsgDepositClaimResponse) XXX_DiscardUnknown()

func (*MsgDepositClaimResponse) XXX_Marshal

func (m *MsgDepositClaimResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgDepositClaimResponse) XXX_Merge

func (m *MsgDepositClaimResponse) XXX_Merge(src proto.Message)

func (*MsgDepositClaimResponse) XXX_Size

func (m *MsgDepositClaimResponse) XXX_Size() int

func (*MsgDepositClaimResponse) XXX_Unmarshal

func (m *MsgDepositClaimResponse) XXX_Unmarshal(b []byte) error

type MsgFxOriginatedTokenClaim

type MsgFxOriginatedTokenClaim struct {
	EventNonce    uint64 `protobuf:"varint,1,opt,name=event_nonce,json=eventNonce,proto3" json:"event_nonce,omitempty"`
	BlockHeight   uint64 `protobuf:"varint,2,opt,name=block_height,json=blockHeight,proto3" json:"block_height,omitempty"`
	TokenContract string `protobuf:"bytes,3,opt,name=token_contract,json=tokenContract,proto3" json:"token_contract,omitempty"`
	Name          string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"`
	Symbol        string `protobuf:"bytes,5,opt,name=symbol,proto3" json:"symbol,omitempty"`
	Decimals      uint64 `protobuf:"varint,6,opt,name=decimals,proto3" json:"decimals,omitempty"`
	Orchestrator  string `protobuf:"bytes,7,opt,name=orchestrator,proto3" json:"orchestrator,omitempty"`
}

func (*MsgFxOriginatedTokenClaim) ClaimHash

func (m *MsgFxOriginatedTokenClaim) ClaimHash() []byte

func (*MsgFxOriginatedTokenClaim) Descriptor

func (*MsgFxOriginatedTokenClaim) Descriptor() ([]byte, []int)

func (*MsgFxOriginatedTokenClaim) GetBlockHeight

func (m *MsgFxOriginatedTokenClaim) GetBlockHeight() uint64

func (*MsgFxOriginatedTokenClaim) GetClaimer

func (m *MsgFxOriginatedTokenClaim) GetClaimer() sdk.AccAddress

func (*MsgFxOriginatedTokenClaim) GetDecimals

func (m *MsgFxOriginatedTokenClaim) GetDecimals() uint64

func (*MsgFxOriginatedTokenClaim) GetEventNonce

func (m *MsgFxOriginatedTokenClaim) GetEventNonce() uint64

func (*MsgFxOriginatedTokenClaim) GetName

func (m *MsgFxOriginatedTokenClaim) GetName() string

func (*MsgFxOriginatedTokenClaim) GetOrchestrator

func (m *MsgFxOriginatedTokenClaim) GetOrchestrator() string

func (*MsgFxOriginatedTokenClaim) GetSignBytes

func (m *MsgFxOriginatedTokenClaim) GetSignBytes() []byte

func (*MsgFxOriginatedTokenClaim) GetSigners

func (m *MsgFxOriginatedTokenClaim) GetSigners() []sdk.AccAddress

func (*MsgFxOriginatedTokenClaim) GetSymbol

func (m *MsgFxOriginatedTokenClaim) GetSymbol() string

func (*MsgFxOriginatedTokenClaim) GetTokenContract

func (m *MsgFxOriginatedTokenClaim) GetTokenContract() string

func (*MsgFxOriginatedTokenClaim) GetType

func (m *MsgFxOriginatedTokenClaim) GetType() ClaimType

func (*MsgFxOriginatedTokenClaim) Marshal

func (m *MsgFxOriginatedTokenClaim) Marshal() (dAtA []byte, err error)

func (*MsgFxOriginatedTokenClaim) MarshalTo

func (m *MsgFxOriginatedTokenClaim) MarshalTo(dAtA []byte) (int, error)

func (*MsgFxOriginatedTokenClaim) MarshalToSizedBuffer

func (m *MsgFxOriginatedTokenClaim) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgFxOriginatedTokenClaim) ProtoMessage

func (*MsgFxOriginatedTokenClaim) ProtoMessage()

func (*MsgFxOriginatedTokenClaim) Reset

func (m *MsgFxOriginatedTokenClaim) Reset()

func (*MsgFxOriginatedTokenClaim) Route

func (m *MsgFxOriginatedTokenClaim) Route() string

func (*MsgFxOriginatedTokenClaim) Size

func (m *MsgFxOriginatedTokenClaim) Size() (n int)

func (*MsgFxOriginatedTokenClaim) String

func (m *MsgFxOriginatedTokenClaim) String() string

func (*MsgFxOriginatedTokenClaim) Type

func (*MsgFxOriginatedTokenClaim) Unmarshal

func (m *MsgFxOriginatedTokenClaim) Unmarshal(dAtA []byte) error

func (*MsgFxOriginatedTokenClaim) ValidateBasic

func (m *MsgFxOriginatedTokenClaim) ValidateBasic() error

func (*MsgFxOriginatedTokenClaim) XXX_DiscardUnknown

func (m *MsgFxOriginatedTokenClaim) XXX_DiscardUnknown()

func (*MsgFxOriginatedTokenClaim) XXX_Marshal

func (m *MsgFxOriginatedTokenClaim) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgFxOriginatedTokenClaim) XXX_Merge

func (m *MsgFxOriginatedTokenClaim) XXX_Merge(src proto.Message)

func (*MsgFxOriginatedTokenClaim) XXX_Size

func (m *MsgFxOriginatedTokenClaim) XXX_Size() int

func (*MsgFxOriginatedTokenClaim) XXX_Unmarshal

func (m *MsgFxOriginatedTokenClaim) XXX_Unmarshal(b []byte) error

type MsgFxOriginatedTokenClaimResponse

type MsgFxOriginatedTokenClaimResponse struct {
}

func (*MsgFxOriginatedTokenClaimResponse) Descriptor

func (*MsgFxOriginatedTokenClaimResponse) Descriptor() ([]byte, []int)

func (*MsgFxOriginatedTokenClaimResponse) Marshal

func (m *MsgFxOriginatedTokenClaimResponse) Marshal() (dAtA []byte, err error)

func (*MsgFxOriginatedTokenClaimResponse) MarshalTo

func (m *MsgFxOriginatedTokenClaimResponse) MarshalTo(dAtA []byte) (int, error)

func (*MsgFxOriginatedTokenClaimResponse) MarshalToSizedBuffer

func (m *MsgFxOriginatedTokenClaimResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgFxOriginatedTokenClaimResponse) ProtoMessage

func (*MsgFxOriginatedTokenClaimResponse) ProtoMessage()

func (*MsgFxOriginatedTokenClaimResponse) Reset

func (*MsgFxOriginatedTokenClaimResponse) Size

func (m *MsgFxOriginatedTokenClaimResponse) Size() (n int)

func (*MsgFxOriginatedTokenClaimResponse) String

func (*MsgFxOriginatedTokenClaimResponse) Unmarshal

func (m *MsgFxOriginatedTokenClaimResponse) Unmarshal(dAtA []byte) error

func (*MsgFxOriginatedTokenClaimResponse) XXX_DiscardUnknown

func (m *MsgFxOriginatedTokenClaimResponse) XXX_DiscardUnknown()

func (*MsgFxOriginatedTokenClaimResponse) XXX_Marshal

func (m *MsgFxOriginatedTokenClaimResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgFxOriginatedTokenClaimResponse) XXX_Merge

func (*MsgFxOriginatedTokenClaimResponse) XXX_Size

func (m *MsgFxOriginatedTokenClaimResponse) XXX_Size() int

func (*MsgFxOriginatedTokenClaimResponse) XXX_Unmarshal

func (m *MsgFxOriginatedTokenClaimResponse) XXX_Unmarshal(b []byte) error

type MsgRequestBatch

type MsgRequestBatch struct {
	Sender     string                                 `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty"`
	Denom      string                                 `protobuf:"bytes,2,opt,name=denom,proto3" json:"denom,omitempty"`
	MinimumFee github_com_cosmos_cosmos_sdk_types.Int `` /* 131-byte string literal not displayed */
	FeeReceive string                                 `protobuf:"bytes,4,opt,name=feeReceive,proto3" json:"feeReceive,omitempty"`
	BaseFee    github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,5,opt,name=base_fee,json=baseFee,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"base_fee"`
}

func NewMsgRequestBatch

func NewMsgRequestBatch(orchestrator sdk.AccAddress, denom string, minimumFee sdk.Int, feeReceive string, baseFee sdk.Int) *MsgRequestBatch

NewMsgRequestBatch returns a new msgRequestBatch

func (*MsgRequestBatch) Descriptor

func (*MsgRequestBatch) Descriptor() ([]byte, []int)

func (*MsgRequestBatch) GetDenom

func (m *MsgRequestBatch) GetDenom() string

func (*MsgRequestBatch) GetFeeReceive

func (m *MsgRequestBatch) GetFeeReceive() string

func (*MsgRequestBatch) GetSender

func (m *MsgRequestBatch) GetSender() string

func (MsgRequestBatch) GetSignBytes

func (m MsgRequestBatch) GetSignBytes() []byte

GetSignBytes encodes the message for signing

func (MsgRequestBatch) GetSigners

func (m MsgRequestBatch) GetSigners() []sdk.AccAddress

GetSigners defines whose signature is required

func (*MsgRequestBatch) Marshal

func (m *MsgRequestBatch) Marshal() (dAtA []byte, err error)

func (*MsgRequestBatch) MarshalTo

func (m *MsgRequestBatch) MarshalTo(dAtA []byte) (int, error)

func (*MsgRequestBatch) MarshalToSizedBuffer

func (m *MsgRequestBatch) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgRequestBatch) ProtoMessage

func (*MsgRequestBatch) ProtoMessage()

func (*MsgRequestBatch) Reset

func (m *MsgRequestBatch) Reset()

func (MsgRequestBatch) Route

func (m MsgRequestBatch) Route() string

Route should return the name of the module

func (*MsgRequestBatch) Size

func (m *MsgRequestBatch) Size() (n int)

func (*MsgRequestBatch) String

func (m *MsgRequestBatch) String() string

func (MsgRequestBatch) Type

func (m MsgRequestBatch) Type() string

Type should return the action

func (*MsgRequestBatch) Unmarshal

func (m *MsgRequestBatch) Unmarshal(dAtA []byte) error

func (MsgRequestBatch) ValidateBasic

func (m MsgRequestBatch) ValidateBasic() error

ValidateBasic performs stateless checks

func (*MsgRequestBatch) XXX_DiscardUnknown

func (m *MsgRequestBatch) XXX_DiscardUnknown()

func (*MsgRequestBatch) XXX_Marshal

func (m *MsgRequestBatch) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgRequestBatch) XXX_Merge

func (m *MsgRequestBatch) XXX_Merge(src proto.Message)

func (*MsgRequestBatch) XXX_Size

func (m *MsgRequestBatch) XXX_Size() int

func (*MsgRequestBatch) XXX_Unmarshal

func (m *MsgRequestBatch) XXX_Unmarshal(b []byte) error

type MsgRequestBatchResponse

type MsgRequestBatchResponse struct {
}

func (*MsgRequestBatchResponse) Descriptor

func (*MsgRequestBatchResponse) Descriptor() ([]byte, []int)

func (*MsgRequestBatchResponse) Marshal

func (m *MsgRequestBatchResponse) Marshal() (dAtA []byte, err error)

func (*MsgRequestBatchResponse) MarshalTo

func (m *MsgRequestBatchResponse) MarshalTo(dAtA []byte) (int, error)

func (*MsgRequestBatchResponse) MarshalToSizedBuffer

func (m *MsgRequestBatchResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgRequestBatchResponse) ProtoMessage

func (*MsgRequestBatchResponse) ProtoMessage()

func (*MsgRequestBatchResponse) Reset

func (m *MsgRequestBatchResponse) Reset()

func (*MsgRequestBatchResponse) Size

func (m *MsgRequestBatchResponse) Size() (n int)

func (*MsgRequestBatchResponse) String

func (m *MsgRequestBatchResponse) String() string

func (*MsgRequestBatchResponse) Unmarshal

func (m *MsgRequestBatchResponse) Unmarshal(dAtA []byte) error

func (*MsgRequestBatchResponse) XXX_DiscardUnknown

func (m *MsgRequestBatchResponse) XXX_DiscardUnknown()

func (*MsgRequestBatchResponse) XXX_Marshal

func (m *MsgRequestBatchResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgRequestBatchResponse) XXX_Merge

func (m *MsgRequestBatchResponse) XXX_Merge(src proto.Message)

func (*MsgRequestBatchResponse) XXX_Size

func (m *MsgRequestBatchResponse) XXX_Size() int

func (*MsgRequestBatchResponse) XXX_Unmarshal

func (m *MsgRequestBatchResponse) XXX_Unmarshal(b []byte) error

type MsgSendToEth

type MsgSendToEth struct {
	Sender    string     `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty"`
	EthDest   string     `protobuf:"bytes,2,opt,name=eth_dest,json=ethDest,proto3" json:"eth_dest,omitempty"`
	Amount    types.Coin `protobuf:"bytes,3,opt,name=amount,proto3" json:"amount"`
	BridgeFee types.Coin `protobuf:"bytes,4,opt,name=bridge_fee,json=bridgeFee,proto3" json:"bridge_fee"`
}

MsgSendToEth This is the message that a user calls when they want to bridge an asset it will later be removed when it is included in a batch and successfully submitted tokens are removed from the users balance immediately ------------- AMOUNT: the coin to send across the bridge, note the restriction that this is a single coin not a set of coins that is normal in other Cosmos messages FEE: the fee paid for the bridge, distinct from the fee paid to the chain to actually send this message in the first place. So a successful send has two layers of fees for the user

func NewMsgSendToEth

func NewMsgSendToEth(sender sdk.AccAddress, destAddress string, send sdk.Coin, bridgeFee sdk.Coin) *MsgSendToEth

NewMsgSendToEth returns a new msgSendToEth

func (*MsgSendToEth) Descriptor

func (*MsgSendToEth) Descriptor() ([]byte, []int)

func (*MsgSendToEth) GetAmount

func (m *MsgSendToEth) GetAmount() types.Coin

func (*MsgSendToEth) GetBridgeFee

func (m *MsgSendToEth) GetBridgeFee() types.Coin

func (*MsgSendToEth) GetEthDest

func (m *MsgSendToEth) GetEthDest() string

func (*MsgSendToEth) GetSender

func (m *MsgSendToEth) GetSender() string

func (MsgSendToEth) GetSignBytes

func (m MsgSendToEth) GetSignBytes() []byte

GetSignBytes encodes the message for signing

func (MsgSendToEth) GetSigners

func (m MsgSendToEth) GetSigners() []sdk.AccAddress

GetSigners defines whose signature is required

func (*MsgSendToEth) Marshal

func (m *MsgSendToEth) Marshal() (dAtA []byte, err error)

func (*MsgSendToEth) MarshalTo

func (m *MsgSendToEth) MarshalTo(dAtA []byte) (int, error)

func (*MsgSendToEth) MarshalToSizedBuffer

func (m *MsgSendToEth) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgSendToEth) ProtoMessage

func (*MsgSendToEth) ProtoMessage()

func (*MsgSendToEth) Reset

func (m *MsgSendToEth) Reset()

func (MsgSendToEth) Route

func (m MsgSendToEth) Route() string

Route should return the name of the module

func (*MsgSendToEth) Size

func (m *MsgSendToEth) Size() (n int)

func (*MsgSendToEth) String

func (m *MsgSendToEth) String() string

func (MsgSendToEth) Type

func (m MsgSendToEth) Type() string

Type should return the action

func (*MsgSendToEth) Unmarshal

func (m *MsgSendToEth) Unmarshal(dAtA []byte) error

func (MsgSendToEth) ValidateBasic

func (m MsgSendToEth) ValidateBasic() error

ValidateBasic runs stateless checks on the message Checks if the Eth address is valid

func (*MsgSendToEth) XXX_DiscardUnknown

func (m *MsgSendToEth) XXX_DiscardUnknown()

func (*MsgSendToEth) XXX_Marshal

func (m *MsgSendToEth) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgSendToEth) XXX_Merge

func (m *MsgSendToEth) XXX_Merge(src proto.Message)

func (*MsgSendToEth) XXX_Size

func (m *MsgSendToEth) XXX_Size() int

func (*MsgSendToEth) XXX_Unmarshal

func (m *MsgSendToEth) XXX_Unmarshal(b []byte) error

type MsgSendToEthResponse

type MsgSendToEthResponse struct {
}

func (*MsgSendToEthResponse) Descriptor

func (*MsgSendToEthResponse) Descriptor() ([]byte, []int)

func (*MsgSendToEthResponse) Marshal

func (m *MsgSendToEthResponse) Marshal() (dAtA []byte, err error)

func (*MsgSendToEthResponse) MarshalTo

func (m *MsgSendToEthResponse) MarshalTo(dAtA []byte) (int, error)

func (*MsgSendToEthResponse) MarshalToSizedBuffer

func (m *MsgSendToEthResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgSendToEthResponse) ProtoMessage

func (*MsgSendToEthResponse) ProtoMessage()

func (*MsgSendToEthResponse) Reset

func (m *MsgSendToEthResponse) Reset()

func (*MsgSendToEthResponse) Size

func (m *MsgSendToEthResponse) Size() (n int)

func (*MsgSendToEthResponse) String

func (m *MsgSendToEthResponse) String() string

func (*MsgSendToEthResponse) Unmarshal

func (m *MsgSendToEthResponse) Unmarshal(dAtA []byte) error

func (*MsgSendToEthResponse) XXX_DiscardUnknown

func (m *MsgSendToEthResponse) XXX_DiscardUnknown()

func (*MsgSendToEthResponse) XXX_Marshal

func (m *MsgSendToEthResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgSendToEthResponse) XXX_Merge

func (m *MsgSendToEthResponse) XXX_Merge(src proto.Message)

func (*MsgSendToEthResponse) XXX_Size

func (m *MsgSendToEthResponse) XXX_Size() int

func (*MsgSendToEthResponse) XXX_Unmarshal

func (m *MsgSendToEthResponse) XXX_Unmarshal(b []byte) error

type MsgSetOrchestratorAddress

type MsgSetOrchestratorAddress struct {
	Validator    string `protobuf:"bytes,1,opt,name=validator,proto3" json:"validator,omitempty"`
	Orchestrator string `protobuf:"bytes,2,opt,name=orchestrator,proto3" json:"orchestrator,omitempty"`
	EthAddress   string `protobuf:"bytes,3,opt,name=eth_address,json=ethAddress,proto3" json:"eth_address,omitempty"`
}

MsgSetOrchestratorAddress this message allows validators to delegate their voting responsibilities to a given key. This key is then used as an optional authentication method for sigining oracle claims VALIDATOR The validator field is a cosmosvaloper1... string (i.e. sdk.ValAddress) that references a validator in the active set ORCHESTRATOR The orchestrator field is a cosmos1... string (i.e. sdk.AccAddress) that references the key that is being delegated to ETH_ADDRESS This is a hex encoded 0x Ethereum public key that will be used by this validator on Ethereum

func NewMsgSetOrchestratorAddress

func NewMsgSetOrchestratorAddress(val sdk.ValAddress, oper sdk.AccAddress, eth string) *MsgSetOrchestratorAddress

NewMsgSetOrchestratorAddress returns a new msgSetOrchestratorAddress

func (*MsgSetOrchestratorAddress) Descriptor

func (*MsgSetOrchestratorAddress) Descriptor() ([]byte, []int)

func (*MsgSetOrchestratorAddress) GetEthAddress

func (m *MsgSetOrchestratorAddress) GetEthAddress() string

func (*MsgSetOrchestratorAddress) GetOrchestrator

func (m *MsgSetOrchestratorAddress) GetOrchestrator() string

func (*MsgSetOrchestratorAddress) GetSignBytes

func (m *MsgSetOrchestratorAddress) GetSignBytes() []byte

GetSignBytes encodes the message for signing

func (*MsgSetOrchestratorAddress) GetSigners

func (m *MsgSetOrchestratorAddress) GetSigners() []sdk.AccAddress

GetSigners defines whose signature is required

func (*MsgSetOrchestratorAddress) GetValidator

func (m *MsgSetOrchestratorAddress) GetValidator() string

func (*MsgSetOrchestratorAddress) Marshal

func (m *MsgSetOrchestratorAddress) Marshal() (dAtA []byte, err error)

func (*MsgSetOrchestratorAddress) MarshalTo

func (m *MsgSetOrchestratorAddress) MarshalTo(dAtA []byte) (int, error)

func (*MsgSetOrchestratorAddress) MarshalToSizedBuffer

func (m *MsgSetOrchestratorAddress) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgSetOrchestratorAddress) ProtoMessage

func (*MsgSetOrchestratorAddress) ProtoMessage()

func (*MsgSetOrchestratorAddress) Reset

func (m *MsgSetOrchestratorAddress) Reset()

func (*MsgSetOrchestratorAddress) Route

func (m *MsgSetOrchestratorAddress) Route() string

Route should return the name of the module

func (*MsgSetOrchestratorAddress) Size

func (m *MsgSetOrchestratorAddress) Size() (n int)

func (*MsgSetOrchestratorAddress) String

func (m *MsgSetOrchestratorAddress) String() string

func (*MsgSetOrchestratorAddress) Type

Type should return the action

func (*MsgSetOrchestratorAddress) Unmarshal

func (m *MsgSetOrchestratorAddress) Unmarshal(dAtA []byte) error

func (*MsgSetOrchestratorAddress) ValidateBasic

func (m *MsgSetOrchestratorAddress) ValidateBasic() (err error)

ValidateBasic performs stateless checks

func (*MsgSetOrchestratorAddress) XXX_DiscardUnknown

func (m *MsgSetOrchestratorAddress) XXX_DiscardUnknown()

func (*MsgSetOrchestratorAddress) XXX_Marshal

func (m *MsgSetOrchestratorAddress) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgSetOrchestratorAddress) XXX_Merge

func (m *MsgSetOrchestratorAddress) XXX_Merge(src proto.Message)

func (*MsgSetOrchestratorAddress) XXX_Size

func (m *MsgSetOrchestratorAddress) XXX_Size() int

func (*MsgSetOrchestratorAddress) XXX_Unmarshal

func (m *MsgSetOrchestratorAddress) XXX_Unmarshal(b []byte) error

type MsgSetOrchestratorAddressResponse

type MsgSetOrchestratorAddressResponse struct {
}

func (*MsgSetOrchestratorAddressResponse) Descriptor

func (*MsgSetOrchestratorAddressResponse) Descriptor() ([]byte, []int)

func (*MsgSetOrchestratorAddressResponse) Marshal

func (m *MsgSetOrchestratorAddressResponse) Marshal() (dAtA []byte, err error)

func (*MsgSetOrchestratorAddressResponse) MarshalTo

func (m *MsgSetOrchestratorAddressResponse) MarshalTo(dAtA []byte) (int, error)

func (*MsgSetOrchestratorAddressResponse) MarshalToSizedBuffer

func (m *MsgSetOrchestratorAddressResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgSetOrchestratorAddressResponse) ProtoMessage

func (*MsgSetOrchestratorAddressResponse) ProtoMessage()

func (*MsgSetOrchestratorAddressResponse) Reset

func (*MsgSetOrchestratorAddressResponse) Size

func (m *MsgSetOrchestratorAddressResponse) Size() (n int)

func (*MsgSetOrchestratorAddressResponse) String

func (*MsgSetOrchestratorAddressResponse) Unmarshal

func (m *MsgSetOrchestratorAddressResponse) Unmarshal(dAtA []byte) error

func (*MsgSetOrchestratorAddressResponse) XXX_DiscardUnknown

func (m *MsgSetOrchestratorAddressResponse) XXX_DiscardUnknown()

func (*MsgSetOrchestratorAddressResponse) XXX_Marshal

func (m *MsgSetOrchestratorAddressResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgSetOrchestratorAddressResponse) XXX_Merge

func (*MsgSetOrchestratorAddressResponse) XXX_Size

func (m *MsgSetOrchestratorAddressResponse) XXX_Size() int

func (*MsgSetOrchestratorAddressResponse) XXX_Unmarshal

func (m *MsgSetOrchestratorAddressResponse) XXX_Unmarshal(b []byte) error

type MsgValsetConfirm

type MsgValsetConfirm struct {
	Nonce        uint64 `protobuf:"varint,1,opt,name=nonce,proto3" json:"nonce,omitempty"`
	Orchestrator string `protobuf:"bytes,2,opt,name=orchestrator,proto3" json:"orchestrator,omitempty"`
	EthAddress   string `protobuf:"bytes,3,opt,name=eth_address,json=ethAddress,proto3" json:"eth_address,omitempty"`
	Signature    string `protobuf:"bytes,4,opt,name=signature,proto3" json:"signature,omitempty"`
}

MsgValsetConfirm this is the message sent by the validators when they wish to submit their signatures over the validator set at a given block height. A validator must first call MsgSetEthAddress to set their Ethereum address to be used for signing. Then someone (anyone) must make a ValsetRequest, the request is essentially a messaging mechanism to determine which block all validators should submit signatures over. Finally validators sign the validator set, powers, and Ethereum addresses of the entire validator set at the height of a ValsetRequest and submit that signature with this message.

If a sufficient number of validators (66% of voting power) (A) have set Ethereum addresses and (B) submit ValsetConfirm messages with their signatures it is then possible for anyone to view these signatures in the chain store and submit them to Ethereum to update the validator set -------------

func NewMsgValsetConfirm

func NewMsgValsetConfirm(nonce uint64, ethAddress string, validator sdk.AccAddress, signature string) *MsgValsetConfirm

NewMsgValsetConfirm returns a new msgValsetConfirm

func (*MsgValsetConfirm) Descriptor

func (*MsgValsetConfirm) Descriptor() ([]byte, []int)

func (*MsgValsetConfirm) GetEthAddress

func (m *MsgValsetConfirm) GetEthAddress() string

func (*MsgValsetConfirm) GetNonce

func (m *MsgValsetConfirm) GetNonce() uint64

func (*MsgValsetConfirm) GetOrchestrator

func (m *MsgValsetConfirm) GetOrchestrator() string

func (*MsgValsetConfirm) GetSignBytes

func (m *MsgValsetConfirm) GetSignBytes() []byte

GetSignBytes encodes the message for signing

func (*MsgValsetConfirm) GetSignature

func (m *MsgValsetConfirm) GetSignature() string

func (*MsgValsetConfirm) GetSigners

func (m *MsgValsetConfirm) GetSigners() []sdk.AccAddress

GetSigners defines whose signature is required

func (*MsgValsetConfirm) Marshal

func (m *MsgValsetConfirm) Marshal() (dAtA []byte, err error)

func (*MsgValsetConfirm) MarshalTo

func (m *MsgValsetConfirm) MarshalTo(dAtA []byte) (int, error)

func (*MsgValsetConfirm) MarshalToSizedBuffer

func (m *MsgValsetConfirm) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgValsetConfirm) ProtoMessage

func (*MsgValsetConfirm) ProtoMessage()

func (*MsgValsetConfirm) Reset

func (m *MsgValsetConfirm) Reset()

func (*MsgValsetConfirm) Route

func (m *MsgValsetConfirm) Route() string

Route should return the name of the module

func (*MsgValsetConfirm) Size

func (m *MsgValsetConfirm) Size() (n int)

func (*MsgValsetConfirm) String

func (m *MsgValsetConfirm) String() string

func (*MsgValsetConfirm) Type

func (m *MsgValsetConfirm) Type() string

Type should return the action

func (*MsgValsetConfirm) Unmarshal

func (m *MsgValsetConfirm) Unmarshal(dAtA []byte) error

func (*MsgValsetConfirm) ValidateBasic

func (m *MsgValsetConfirm) ValidateBasic() (err error)

ValidateBasic performs stateless checks

func (*MsgValsetConfirm) XXX_DiscardUnknown

func (m *MsgValsetConfirm) XXX_DiscardUnknown()

func (*MsgValsetConfirm) XXX_Marshal

func (m *MsgValsetConfirm) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgValsetConfirm) XXX_Merge

func (m *MsgValsetConfirm) XXX_Merge(src proto.Message)

func (*MsgValsetConfirm) XXX_Size

func (m *MsgValsetConfirm) XXX_Size() int

func (*MsgValsetConfirm) XXX_Unmarshal

func (m *MsgValsetConfirm) XXX_Unmarshal(b []byte) error

type MsgValsetConfirmResponse

type MsgValsetConfirmResponse struct {
}

func (*MsgValsetConfirmResponse) Descriptor

func (*MsgValsetConfirmResponse) Descriptor() ([]byte, []int)

func (*MsgValsetConfirmResponse) Marshal

func (m *MsgValsetConfirmResponse) Marshal() (dAtA []byte, err error)

func (*MsgValsetConfirmResponse) MarshalTo

func (m *MsgValsetConfirmResponse) MarshalTo(dAtA []byte) (int, error)

func (*MsgValsetConfirmResponse) MarshalToSizedBuffer

func (m *MsgValsetConfirmResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgValsetConfirmResponse) ProtoMessage

func (*MsgValsetConfirmResponse) ProtoMessage()

func (*MsgValsetConfirmResponse) Reset

func (m *MsgValsetConfirmResponse) Reset()

func (*MsgValsetConfirmResponse) Size

func (m *MsgValsetConfirmResponse) Size() (n int)

func (*MsgValsetConfirmResponse) String

func (m *MsgValsetConfirmResponse) String() string

func (*MsgValsetConfirmResponse) Unmarshal

func (m *MsgValsetConfirmResponse) Unmarshal(dAtA []byte) error

func (*MsgValsetConfirmResponse) XXX_DiscardUnknown

func (m *MsgValsetConfirmResponse) XXX_DiscardUnknown()

func (*MsgValsetConfirmResponse) XXX_Marshal

func (m *MsgValsetConfirmResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgValsetConfirmResponse) XXX_Merge

func (m *MsgValsetConfirmResponse) XXX_Merge(src proto.Message)

func (*MsgValsetConfirmResponse) XXX_Size

func (m *MsgValsetConfirmResponse) XXX_Size() int

func (*MsgValsetConfirmResponse) XXX_Unmarshal

func (m *MsgValsetConfirmResponse) XXX_Unmarshal(b []byte) error

type MsgValsetUpdatedClaim

type MsgValsetUpdatedClaim struct {
	EventNonce   uint64             `protobuf:"varint,1,opt,name=event_nonce,json=eventNonce,proto3" json:"event_nonce,omitempty"`
	BlockHeight  uint64             `protobuf:"varint,2,opt,name=block_height,json=blockHeight,proto3" json:"block_height,omitempty"`
	ValsetNonce  uint64             `protobuf:"varint,3,opt,name=valset_nonce,json=valsetNonce,proto3" json:"valset_nonce,omitempty"`
	Members      []*BridgeValidator `protobuf:"bytes,4,rep,name=members,proto3" json:"members,omitempty"`
	Orchestrator string             `protobuf:"bytes,6,opt,name=orchestrator,proto3" json:"orchestrator,omitempty"`
}

This informs the Cosmos module that a validator set has been updated.

func (*MsgValsetUpdatedClaim) ClaimHash

func (m *MsgValsetUpdatedClaim) ClaimHash() []byte

ClaimHash Hash implements BridgeDeposit.Hash

func (*MsgValsetUpdatedClaim) Descriptor

func (*MsgValsetUpdatedClaim) Descriptor() ([]byte, []int)

func (*MsgValsetUpdatedClaim) GetBlockHeight

func (m *MsgValsetUpdatedClaim) GetBlockHeight() uint64

func (MsgValsetUpdatedClaim) GetClaimer

func (m MsgValsetUpdatedClaim) GetClaimer() sdk.AccAddress

func (*MsgValsetUpdatedClaim) GetEventNonce

func (m *MsgValsetUpdatedClaim) GetEventNonce() uint64

func (*MsgValsetUpdatedClaim) GetMembers

func (m *MsgValsetUpdatedClaim) GetMembers() []*BridgeValidator

func (*MsgValsetUpdatedClaim) GetOrchestrator

func (m *MsgValsetUpdatedClaim) GetOrchestrator() string

func (MsgValsetUpdatedClaim) GetSignBytes

func (m MsgValsetUpdatedClaim) GetSignBytes() []byte

GetSignBytes encodes the message for signing

func (MsgValsetUpdatedClaim) GetSigners

func (m MsgValsetUpdatedClaim) GetSigners() []sdk.AccAddress

GetSigners defines whose signature is required

func (*MsgValsetUpdatedClaim) GetType

func (m *MsgValsetUpdatedClaim) GetType() ClaimType

GetType returns the type of the claim

func (*MsgValsetUpdatedClaim) GetValsetNonce

func (m *MsgValsetUpdatedClaim) GetValsetNonce() uint64

func (*MsgValsetUpdatedClaim) Marshal

func (m *MsgValsetUpdatedClaim) Marshal() (dAtA []byte, err error)

func (*MsgValsetUpdatedClaim) MarshalTo

func (m *MsgValsetUpdatedClaim) MarshalTo(dAtA []byte) (int, error)

func (*MsgValsetUpdatedClaim) MarshalToSizedBuffer

func (m *MsgValsetUpdatedClaim) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgValsetUpdatedClaim) ProtoMessage

func (*MsgValsetUpdatedClaim) ProtoMessage()

func (*MsgValsetUpdatedClaim) Reset

func (m *MsgValsetUpdatedClaim) Reset()

func (MsgValsetUpdatedClaim) Route

func (m MsgValsetUpdatedClaim) Route() string

Route should return the name of the module

func (*MsgValsetUpdatedClaim) Size

func (m *MsgValsetUpdatedClaim) Size() (n int)

func (*MsgValsetUpdatedClaim) String

func (m *MsgValsetUpdatedClaim) String() string

func (MsgValsetUpdatedClaim) Type

func (m MsgValsetUpdatedClaim) Type() string

Type should return the action

func (*MsgValsetUpdatedClaim) Unmarshal

func (m *MsgValsetUpdatedClaim) Unmarshal(dAtA []byte) error

func (*MsgValsetUpdatedClaim) ValidateBasic

func (m *MsgValsetUpdatedClaim) ValidateBasic() error

ValidateBasic performs stateless checks

func (*MsgValsetUpdatedClaim) XXX_DiscardUnknown

func (m *MsgValsetUpdatedClaim) XXX_DiscardUnknown()

func (*MsgValsetUpdatedClaim) XXX_Marshal

func (m *MsgValsetUpdatedClaim) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgValsetUpdatedClaim) XXX_Merge

func (m *MsgValsetUpdatedClaim) XXX_Merge(src proto.Message)

func (*MsgValsetUpdatedClaim) XXX_Size

func (m *MsgValsetUpdatedClaim) XXX_Size() int

func (*MsgValsetUpdatedClaim) XXX_Unmarshal

func (m *MsgValsetUpdatedClaim) XXX_Unmarshal(b []byte) error

type MsgValsetUpdatedClaimResponse

type MsgValsetUpdatedClaimResponse struct {
}

func (*MsgValsetUpdatedClaimResponse) Descriptor

func (*MsgValsetUpdatedClaimResponse) Descriptor() ([]byte, []int)

func (*MsgValsetUpdatedClaimResponse) Marshal

func (m *MsgValsetUpdatedClaimResponse) Marshal() (dAtA []byte, err error)

func (*MsgValsetUpdatedClaimResponse) MarshalTo

func (m *MsgValsetUpdatedClaimResponse) MarshalTo(dAtA []byte) (int, error)

func (*MsgValsetUpdatedClaimResponse) MarshalToSizedBuffer

func (m *MsgValsetUpdatedClaimResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgValsetUpdatedClaimResponse) ProtoMessage

func (*MsgValsetUpdatedClaimResponse) ProtoMessage()

func (*MsgValsetUpdatedClaimResponse) Reset

func (m *MsgValsetUpdatedClaimResponse) Reset()

func (*MsgValsetUpdatedClaimResponse) Size

func (m *MsgValsetUpdatedClaimResponse) Size() (n int)

func (*MsgValsetUpdatedClaimResponse) String

func (*MsgValsetUpdatedClaimResponse) Unmarshal

func (m *MsgValsetUpdatedClaimResponse) Unmarshal(dAtA []byte) error

func (*MsgValsetUpdatedClaimResponse) XXX_DiscardUnknown

func (m *MsgValsetUpdatedClaimResponse) XXX_DiscardUnknown()

func (*MsgValsetUpdatedClaimResponse) XXX_Marshal

func (m *MsgValsetUpdatedClaimResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgValsetUpdatedClaimResponse) XXX_Merge

func (m *MsgValsetUpdatedClaimResponse) XXX_Merge(src proto.Message)

func (*MsgValsetUpdatedClaimResponse) XXX_Size

func (m *MsgValsetUpdatedClaimResponse) XXX_Size() int

func (*MsgValsetUpdatedClaimResponse) XXX_Unmarshal

func (m *MsgValsetUpdatedClaimResponse) XXX_Unmarshal(b []byte) error

type MsgWithdrawClaim

type MsgWithdrawClaim struct {
	EventNonce    uint64 `protobuf:"varint,1,opt,name=event_nonce,json=eventNonce,proto3" json:"event_nonce,omitempty"`
	BlockHeight   uint64 `protobuf:"varint,2,opt,name=block_height,json=blockHeight,proto3" json:"block_height,omitempty"`
	BatchNonce    uint64 `protobuf:"varint,3,opt,name=batch_nonce,json=batchNonce,proto3" json:"batch_nonce,omitempty"`
	TokenContract string `protobuf:"bytes,4,opt,name=token_contract,json=tokenContract,proto3" json:"token_contract,omitempty"`
	Orchestrator  string `protobuf:"bytes,5,opt,name=orchestrator,proto3" json:"orchestrator,omitempty"`
}

WithdrawClaim claims that a batch of withdrawal operations on the bridge contract was executed.

func (*MsgWithdrawClaim) ClaimHash

func (m *MsgWithdrawClaim) ClaimHash() []byte

ClaimHash Hash implements WithdrawBatch.Hash

func (*MsgWithdrawClaim) Descriptor

func (*MsgWithdrawClaim) Descriptor() ([]byte, []int)

func (*MsgWithdrawClaim) GetBatchNonce

func (m *MsgWithdrawClaim) GetBatchNonce() uint64

func (*MsgWithdrawClaim) GetBlockHeight

func (m *MsgWithdrawClaim) GetBlockHeight() uint64

func (MsgWithdrawClaim) GetClaimer

func (m MsgWithdrawClaim) GetClaimer() sdk.AccAddress

func (*MsgWithdrawClaim) GetEventNonce

func (m *MsgWithdrawClaim) GetEventNonce() uint64

func (*MsgWithdrawClaim) GetOrchestrator

func (m *MsgWithdrawClaim) GetOrchestrator() string

func (MsgWithdrawClaim) GetSignBytes

func (m MsgWithdrawClaim) GetSignBytes() []byte

GetSignBytes encodes the message for signing

func (MsgWithdrawClaim) GetSigners

func (m MsgWithdrawClaim) GetSigners() []sdk.AccAddress

GetSigners defines whose signature is required

func (*MsgWithdrawClaim) GetTokenContract

func (m *MsgWithdrawClaim) GetTokenContract() string

func (*MsgWithdrawClaim) GetType

func (m *MsgWithdrawClaim) GetType() ClaimType

GetType returns the claim type

func (*MsgWithdrawClaim) Marshal

func (m *MsgWithdrawClaim) Marshal() (dAtA []byte, err error)

func (*MsgWithdrawClaim) MarshalTo

func (m *MsgWithdrawClaim) MarshalTo(dAtA []byte) (int, error)

func (*MsgWithdrawClaim) MarshalToSizedBuffer

func (m *MsgWithdrawClaim) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgWithdrawClaim) ProtoMessage

func (*MsgWithdrawClaim) ProtoMessage()

func (*MsgWithdrawClaim) Reset

func (m *MsgWithdrawClaim) Reset()

func (MsgWithdrawClaim) Route

func (m MsgWithdrawClaim) Route() string

Route should return the name of the module

func (*MsgWithdrawClaim) Size

func (m *MsgWithdrawClaim) Size() (n int)

func (*MsgWithdrawClaim) String

func (m *MsgWithdrawClaim) String() string

func (MsgWithdrawClaim) Type

func (m MsgWithdrawClaim) Type() string

Type should return the action

func (*MsgWithdrawClaim) Unmarshal

func (m *MsgWithdrawClaim) Unmarshal(dAtA []byte) error

func (*MsgWithdrawClaim) ValidateBasic

func (m *MsgWithdrawClaim) ValidateBasic() error

ValidateBasic performs stateless checks

func (*MsgWithdrawClaim) XXX_DiscardUnknown

func (m *MsgWithdrawClaim) XXX_DiscardUnknown()

func (*MsgWithdrawClaim) XXX_Marshal

func (m *MsgWithdrawClaim) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgWithdrawClaim) XXX_Merge

func (m *MsgWithdrawClaim) XXX_Merge(src proto.Message)

func (*MsgWithdrawClaim) XXX_Size

func (m *MsgWithdrawClaim) XXX_Size() int

func (*MsgWithdrawClaim) XXX_Unmarshal

func (m *MsgWithdrawClaim) XXX_Unmarshal(b []byte) error

type MsgWithdrawClaimResponse

type MsgWithdrawClaimResponse struct {
}

func (*MsgWithdrawClaimResponse) Descriptor

func (*MsgWithdrawClaimResponse) Descriptor() ([]byte, []int)

func (*MsgWithdrawClaimResponse) Marshal

func (m *MsgWithdrawClaimResponse) Marshal() (dAtA []byte, err error)

func (*MsgWithdrawClaimResponse) MarshalTo

func (m *MsgWithdrawClaimResponse) MarshalTo(dAtA []byte) (int, error)

func (*MsgWithdrawClaimResponse) MarshalToSizedBuffer

func (m *MsgWithdrawClaimResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgWithdrawClaimResponse) ProtoMessage

func (*MsgWithdrawClaimResponse) ProtoMessage()

func (*MsgWithdrawClaimResponse) Reset

func (m *MsgWithdrawClaimResponse) Reset()

func (*MsgWithdrawClaimResponse) Size

func (m *MsgWithdrawClaimResponse) Size() (n int)

func (*MsgWithdrawClaimResponse) String

func (m *MsgWithdrawClaimResponse) String() string

func (*MsgWithdrawClaimResponse) Unmarshal

func (m *MsgWithdrawClaimResponse) Unmarshal(dAtA []byte) error

func (*MsgWithdrawClaimResponse) XXX_DiscardUnknown

func (m *MsgWithdrawClaimResponse) XXX_DiscardUnknown()

func (*MsgWithdrawClaimResponse) XXX_Marshal

func (m *MsgWithdrawClaimResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgWithdrawClaimResponse) XXX_Merge

func (m *MsgWithdrawClaimResponse) XXX_Merge(src proto.Message)

func (*MsgWithdrawClaimResponse) XXX_Size

func (m *MsgWithdrawClaimResponse) XXX_Size() int

func (*MsgWithdrawClaimResponse) XXX_Unmarshal

func (m *MsgWithdrawClaimResponse) XXX_Unmarshal(b []byte) error

type OutgoingTransferTx

type OutgoingTransferTx struct {
	Id          uint64      `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Sender      string      `protobuf:"bytes,2,opt,name=sender,proto3" json:"sender,omitempty"`
	DestAddress string      `protobuf:"bytes,3,opt,name=dest_address,json=destAddress,proto3" json:"dest_address,omitempty"`
	Erc20Token  *ERC20Token `protobuf:"bytes,4,opt,name=erc20_token,json=erc20Token,proto3" json:"erc20_token,omitempty"`
	Erc20Fee    *ERC20Token `protobuf:"bytes,5,opt,name=erc20_fee,json=erc20Fee,proto3" json:"erc20_fee,omitempty"`
}

OutgoingTransferTx represents an individual send from gravity to ETH

func (*OutgoingTransferTx) Descriptor

func (*OutgoingTransferTx) Descriptor() ([]byte, []int)

func (*OutgoingTransferTx) GetDestAddress

func (m *OutgoingTransferTx) GetDestAddress() string

func (*OutgoingTransferTx) GetErc20Fee

func (m *OutgoingTransferTx) GetErc20Fee() *ERC20Token

func (*OutgoingTransferTx) GetErc20Token

func (m *OutgoingTransferTx) GetErc20Token() *ERC20Token

func (*OutgoingTransferTx) GetId

func (m *OutgoingTransferTx) GetId() uint64

func (*OutgoingTransferTx) GetSender

func (m *OutgoingTransferTx) GetSender() string

func (*OutgoingTransferTx) Marshal

func (m *OutgoingTransferTx) Marshal() (dAtA []byte, err error)

func (*OutgoingTransferTx) MarshalTo

func (m *OutgoingTransferTx) MarshalTo(dAtA []byte) (int, error)

func (*OutgoingTransferTx) MarshalToSizedBuffer

func (m *OutgoingTransferTx) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*OutgoingTransferTx) ProtoMessage

func (*OutgoingTransferTx) ProtoMessage()

func (*OutgoingTransferTx) Reset

func (m *OutgoingTransferTx) Reset()

func (*OutgoingTransferTx) Size

func (m *OutgoingTransferTx) Size() (n int)

func (*OutgoingTransferTx) String

func (m *OutgoingTransferTx) String() string

func (*OutgoingTransferTx) Unmarshal

func (m *OutgoingTransferTx) Unmarshal(dAtA []byte) error

func (*OutgoingTransferTx) XXX_DiscardUnknown

func (m *OutgoingTransferTx) XXX_DiscardUnknown()

func (*OutgoingTransferTx) XXX_Marshal

func (m *OutgoingTransferTx) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*OutgoingTransferTx) XXX_Merge

func (m *OutgoingTransferTx) XXX_Merge(src proto.Message)

func (*OutgoingTransferTx) XXX_Size

func (m *OutgoingTransferTx) XXX_Size() int

func (*OutgoingTransferTx) XXX_Unmarshal

func (m *OutgoingTransferTx) XXX_Unmarshal(b []byte) error

type OutgoingTransferTxs

type OutgoingTransferTxs []*OutgoingTransferTx

func (OutgoingTransferTxs) TotalFee

func (bs OutgoingTransferTxs) TotalFee() sdk.Int

type OutgoingTxBatch

type OutgoingTxBatch struct {
	BatchNonce    uint64                `protobuf:"varint,1,opt,name=batch_nonce,json=batchNonce,proto3" json:"batch_nonce,omitempty"`
	BatchTimeout  uint64                `protobuf:"varint,2,opt,name=batch_timeout,json=batchTimeout,proto3" json:"batch_timeout,omitempty"`
	Transactions  []*OutgoingTransferTx `protobuf:"bytes,3,rep,name=transactions,proto3" json:"transactions,omitempty"`
	TokenContract string                `protobuf:"bytes,4,opt,name=token_contract,json=tokenContract,proto3" json:"token_contract,omitempty"`
	Block         uint64                `protobuf:"varint,5,opt,name=block,proto3" json:"block,omitempty"`
	FeeReceive    string                `protobuf:"bytes,6,opt,name=feeReceive,proto3" json:"feeReceive,omitempty"`
}

OutgoingTxBatch represents a batch of transactions going from gravity to ETH

func (*OutgoingTxBatch) Descriptor

func (*OutgoingTxBatch) Descriptor() ([]byte, []int)

func (*OutgoingTxBatch) GetBatchNonce

func (m *OutgoingTxBatch) GetBatchNonce() uint64

func (*OutgoingTxBatch) GetBatchTimeout

func (m *OutgoingTxBatch) GetBatchTimeout() uint64

func (*OutgoingTxBatch) GetBlock

func (m *OutgoingTxBatch) GetBlock() uint64

func (OutgoingTxBatch) GetCheckpoint

func (b OutgoingTxBatch) GetCheckpoint(gravityIDstring string) ([]byte, error)

GetCheckpoint gets the checkpoint signature from the given outgoing tx batch

func (*OutgoingTxBatch) GetFeeReceive

func (m *OutgoingTxBatch) GetFeeReceive() string

func (OutgoingTxBatch) GetFees

func (b OutgoingTxBatch) GetFees() sdk.Int

GetFees returns the total fees contained within a given batch

func (*OutgoingTxBatch) GetTokenContract

func (m *OutgoingTxBatch) GetTokenContract() string

func (*OutgoingTxBatch) GetTransactions

func (m *OutgoingTxBatch) GetTransactions() []*OutgoingTransferTx

func (*OutgoingTxBatch) Marshal

func (m *OutgoingTxBatch) Marshal() (dAtA []byte, err error)

func (*OutgoingTxBatch) MarshalTo

func (m *OutgoingTxBatch) MarshalTo(dAtA []byte) (int, error)

func (*OutgoingTxBatch) MarshalToSizedBuffer

func (m *OutgoingTxBatch) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*OutgoingTxBatch) ProtoMessage

func (*OutgoingTxBatch) ProtoMessage()

func (*OutgoingTxBatch) Reset

func (m *OutgoingTxBatch) Reset()

func (*OutgoingTxBatch) Size

func (m *OutgoingTxBatch) Size() (n int)

func (*OutgoingTxBatch) String

func (m *OutgoingTxBatch) String() string

func (*OutgoingTxBatch) Unmarshal

func (m *OutgoingTxBatch) Unmarshal(dAtA []byte) error

func (*OutgoingTxBatch) XXX_DiscardUnknown

func (m *OutgoingTxBatch) XXX_DiscardUnknown()

func (*OutgoingTxBatch) XXX_Marshal

func (m *OutgoingTxBatch) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*OutgoingTxBatch) XXX_Merge

func (m *OutgoingTxBatch) XXX_Merge(src proto.Message)

func (*OutgoingTxBatch) XXX_Size

func (m *OutgoingTxBatch) XXX_Size() int

func (*OutgoingTxBatch) XXX_Unmarshal

func (m *OutgoingTxBatch) XXX_Unmarshal(b []byte) error

type Params

type Params struct {
	GravityId                      string                                 `protobuf:"bytes,1,opt,name=gravity_id,json=gravityId,proto3" json:"gravity_id,omitempty"`
	ContractSourceHash             string                                 `protobuf:"bytes,2,opt,name=contract_source_hash,json=contractSourceHash,proto3" json:"contract_source_hash,omitempty"`
	BridgeEthAddress               string                                 `protobuf:"bytes,4,opt,name=bridge_eth_address,json=bridgeEthAddress,proto3" json:"bridge_eth_address,omitempty"`
	BridgeChainId                  uint64                                 `protobuf:"varint,5,opt,name=bridge_chain_id,json=bridgeChainId,proto3" json:"bridge_chain_id,omitempty"`
	SignedValsetsWindow            uint64                                 `protobuf:"varint,6,opt,name=signed_valsets_window,json=signedValsetsWindow,proto3" json:"signed_valsets_window,omitempty"`
	SignedBatchesWindow            uint64                                 `protobuf:"varint,7,opt,name=signed_batches_window,json=signedBatchesWindow,proto3" json:"signed_batches_window,omitempty"`
	SignedClaimsWindow             uint64                                 `protobuf:"varint,8,opt,name=signed_claims_window,json=signedClaimsWindow,proto3" json:"signed_claims_window,omitempty"`
	TargetBatchTimeout             uint64                                 `protobuf:"varint,10,opt,name=target_batch_timeout,json=targetBatchTimeout,proto3" json:"target_batch_timeout,omitempty"`
	AverageBlockTime               uint64                                 `protobuf:"varint,11,opt,name=average_block_time,json=averageBlockTime,proto3" json:"average_block_time,omitempty"`
	AverageEthBlockTime            uint64                                 `protobuf:"varint,12,opt,name=average_eth_block_time,json=averageEthBlockTime,proto3" json:"average_eth_block_time,omitempty"`
	SlashFractionValset            github_com_cosmos_cosmos_sdk_types.Dec `` /* 161-byte string literal not displayed */
	SlashFractionBatch             github_com_cosmos_cosmos_sdk_types.Dec `` /* 158-byte string literal not displayed */
	SlashFractionClaim             github_com_cosmos_cosmos_sdk_types.Dec `` /* 158-byte string literal not displayed */
	SlashFractionConflictingClaim  github_com_cosmos_cosmos_sdk_types.Dec `` /* 193-byte string literal not displayed */
	UnbondSlashingValsetsWindow    uint64                                 `` /* 148-byte string literal not displayed */
	IbcTransferTimeoutHeight       uint64                                 `` /* 139-byte string literal not displayed */
	ValsetUpdatePowerChangePercent github_com_cosmos_cosmos_sdk_types.Dec `` /* 198-byte string literal not displayed */
}

valset_update_power_change_percent

If power change between validators of CurrentValset and latest valset request is > 10%

func DefaultParams

func DefaultParams() Params

DefaultParams returns a copy of the default params

func (*Params) Descriptor

func (*Params) Descriptor() ([]byte, []int)

func (Params) Equal

func (p Params) Equal(p2 Params) bool

Equal returns a boolean determining if two Params types are identical.

func (*Params) GetAverageBlockTime

func (m *Params) GetAverageBlockTime() uint64

func (*Params) GetAverageEthBlockTime

func (m *Params) GetAverageEthBlockTime() uint64

func (*Params) GetBridgeChainId

func (m *Params) GetBridgeChainId() uint64

func (*Params) GetBridgeEthAddress

func (m *Params) GetBridgeEthAddress() string

func (*Params) GetContractSourceHash

func (m *Params) GetContractSourceHash() string

func (*Params) GetGravityId

func (m *Params) GetGravityId() string

func (*Params) GetIbcTransferTimeoutHeight

func (m *Params) GetIbcTransferTimeoutHeight() uint64

func (*Params) GetSignedBatchesWindow

func (m *Params) GetSignedBatchesWindow() uint64

func (*Params) GetSignedClaimsWindow

func (m *Params) GetSignedClaimsWindow() uint64

func (*Params) GetSignedValsetsWindow

func (m *Params) GetSignedValsetsWindow() uint64

func (*Params) GetTargetBatchTimeout

func (m *Params) GetTargetBatchTimeout() uint64

func (*Params) GetUnbondSlashingValsetsWindow

func (m *Params) GetUnbondSlashingValsetsWindow() uint64

func (*Params) Marshal

func (m *Params) Marshal() (dAtA []byte, err error)

func (*Params) MarshalTo

func (m *Params) MarshalTo(dAtA []byte) (int, error)

func (*Params) MarshalToSizedBuffer

func (m *Params) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Params) ParamSetPairs

func (p *Params) ParamSetPairs() paramtypes.ParamSetPairs

ParamSetPairs implements the ParamSet interface and returns all the key/value pairs pairs of auth module's parameters.

func (*Params) ProtoMessage

func (*Params) ProtoMessage()

func (*Params) Reset

func (m *Params) Reset()

func (*Params) Size

func (m *Params) Size() (n int)

func (*Params) String

func (m *Params) String() string

func (*Params) Unmarshal

func (m *Params) Unmarshal(dAtA []byte) error

func (Params) ValidateBasic

func (p Params) ValidateBasic() error

ValidateBasic checks that the parameters have valid values.

func (*Params) XXX_DiscardUnknown

func (m *Params) XXX_DiscardUnknown()

func (*Params) XXX_Marshal

func (m *Params) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Params) XXX_Merge

func (m *Params) XXX_Merge(src proto.Message)

func (*Params) XXX_Size

func (m *Params) XXX_Size() int

func (*Params) XXX_Unmarshal

func (m *Params) XXX_Unmarshal(b []byte) error

type QueryBatchConfirmRequest

type QueryBatchConfirmRequest struct {
	Nonce         uint64 `protobuf:"varint,1,opt,name=nonce,proto3" json:"nonce,omitempty"`
	TokenContract string `protobuf:"bytes,2,opt,name=token_contract,json=tokenContract,proto3" json:"token_contract,omitempty"`
	Address       string `protobuf:"bytes,3,opt,name=address,proto3" json:"address,omitempty"`
}

func (*QueryBatchConfirmRequest) Descriptor

func (*QueryBatchConfirmRequest) Descriptor() ([]byte, []int)

func (*QueryBatchConfirmRequest) GetAddress

func (m *QueryBatchConfirmRequest) GetAddress() string

func (*QueryBatchConfirmRequest) GetNonce

func (m *QueryBatchConfirmRequest) GetNonce() uint64

func (*QueryBatchConfirmRequest) GetTokenContract

func (m *QueryBatchConfirmRequest) GetTokenContract() string

func (*QueryBatchConfirmRequest) Marshal

func (m *QueryBatchConfirmRequest) Marshal() (dAtA []byte, err error)

func (*QueryBatchConfirmRequest) MarshalTo

func (m *QueryBatchConfirmRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryBatchConfirmRequest) MarshalToSizedBuffer

func (m *QueryBatchConfirmRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryBatchConfirmRequest) ProtoMessage

func (*QueryBatchConfirmRequest) ProtoMessage()

func (*QueryBatchConfirmRequest) Reset

func (m *QueryBatchConfirmRequest) Reset()

func (*QueryBatchConfirmRequest) Size

func (m *QueryBatchConfirmRequest) Size() (n int)

func (*QueryBatchConfirmRequest) String

func (m *QueryBatchConfirmRequest) String() string

func (*QueryBatchConfirmRequest) Unmarshal

func (m *QueryBatchConfirmRequest) Unmarshal(dAtA []byte) error

func (*QueryBatchConfirmRequest) XXX_DiscardUnknown

func (m *QueryBatchConfirmRequest) XXX_DiscardUnknown()

func (*QueryBatchConfirmRequest) XXX_Marshal

func (m *QueryBatchConfirmRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryBatchConfirmRequest) XXX_Merge

func (m *QueryBatchConfirmRequest) XXX_Merge(src proto.Message)

func (*QueryBatchConfirmRequest) XXX_Size

func (m *QueryBatchConfirmRequest) XXX_Size() int

func (*QueryBatchConfirmRequest) XXX_Unmarshal

func (m *QueryBatchConfirmRequest) XXX_Unmarshal(b []byte) error

type QueryBatchConfirmResponse

type QueryBatchConfirmResponse struct {
	Confirm *MsgConfirmBatch `protobuf:"bytes,1,opt,name=confirm,proto3" json:"confirm,omitempty"`
}

func (*QueryBatchConfirmResponse) Descriptor

func (*QueryBatchConfirmResponse) Descriptor() ([]byte, []int)

func (*QueryBatchConfirmResponse) GetConfirm

func (m *QueryBatchConfirmResponse) GetConfirm() *MsgConfirmBatch

func (*QueryBatchConfirmResponse) Marshal

func (m *QueryBatchConfirmResponse) Marshal() (dAtA []byte, err error)

func (*QueryBatchConfirmResponse) MarshalTo

func (m *QueryBatchConfirmResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryBatchConfirmResponse) MarshalToSizedBuffer

func (m *QueryBatchConfirmResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryBatchConfirmResponse) ProtoMessage

func (*QueryBatchConfirmResponse) ProtoMessage()

func (*QueryBatchConfirmResponse) Reset

func (m *QueryBatchConfirmResponse) Reset()

func (*QueryBatchConfirmResponse) Size

func (m *QueryBatchConfirmResponse) Size() (n int)

func (*QueryBatchConfirmResponse) String

func (m *QueryBatchConfirmResponse) String() string

func (*QueryBatchConfirmResponse) Unmarshal

func (m *QueryBatchConfirmResponse) Unmarshal(dAtA []byte) error

func (*QueryBatchConfirmResponse) XXX_DiscardUnknown

func (m *QueryBatchConfirmResponse) XXX_DiscardUnknown()

func (*QueryBatchConfirmResponse) XXX_Marshal

func (m *QueryBatchConfirmResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryBatchConfirmResponse) XXX_Merge

func (m *QueryBatchConfirmResponse) XXX_Merge(src proto.Message)

func (*QueryBatchConfirmResponse) XXX_Size

func (m *QueryBatchConfirmResponse) XXX_Size() int

func (*QueryBatchConfirmResponse) XXX_Unmarshal

func (m *QueryBatchConfirmResponse) XXX_Unmarshal(b []byte) error

type QueryBatchConfirmsRequest

type QueryBatchConfirmsRequest struct {
	Nonce         uint64 `protobuf:"varint,1,opt,name=nonce,proto3" json:"nonce,omitempty"`
	TokenContract string `protobuf:"bytes,2,opt,name=token_contract,json=tokenContract,proto3" json:"token_contract,omitempty"`
}

func (*QueryBatchConfirmsRequest) Descriptor

func (*QueryBatchConfirmsRequest) Descriptor() ([]byte, []int)

func (*QueryBatchConfirmsRequest) GetNonce

func (m *QueryBatchConfirmsRequest) GetNonce() uint64

func (*QueryBatchConfirmsRequest) GetTokenContract

func (m *QueryBatchConfirmsRequest) GetTokenContract() string

func (*QueryBatchConfirmsRequest) Marshal

func (m *QueryBatchConfirmsRequest) Marshal() (dAtA []byte, err error)

func (*QueryBatchConfirmsRequest) MarshalTo

func (m *QueryBatchConfirmsRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryBatchConfirmsRequest) MarshalToSizedBuffer

func (m *QueryBatchConfirmsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryBatchConfirmsRequest) ProtoMessage

func (*QueryBatchConfirmsRequest) ProtoMessage()

func (*QueryBatchConfirmsRequest) Reset

func (m *QueryBatchConfirmsRequest) Reset()

func (*QueryBatchConfirmsRequest) Size

func (m *QueryBatchConfirmsRequest) Size() (n int)

func (*QueryBatchConfirmsRequest) String

func (m *QueryBatchConfirmsRequest) String() string

func (*QueryBatchConfirmsRequest) Unmarshal

func (m *QueryBatchConfirmsRequest) Unmarshal(dAtA []byte) error

func (*QueryBatchConfirmsRequest) XXX_DiscardUnknown

func (m *QueryBatchConfirmsRequest) XXX_DiscardUnknown()

func (*QueryBatchConfirmsRequest) XXX_Marshal

func (m *QueryBatchConfirmsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryBatchConfirmsRequest) XXX_Merge

func (m *QueryBatchConfirmsRequest) XXX_Merge(src proto.Message)

func (*QueryBatchConfirmsRequest) XXX_Size

func (m *QueryBatchConfirmsRequest) XXX_Size() int

func (*QueryBatchConfirmsRequest) XXX_Unmarshal

func (m *QueryBatchConfirmsRequest) XXX_Unmarshal(b []byte) error

type QueryBatchConfirmsResponse

type QueryBatchConfirmsResponse struct {
	Confirms []*MsgConfirmBatch `protobuf:"bytes,1,rep,name=confirms,proto3" json:"confirms,omitempty"`
}

func (*QueryBatchConfirmsResponse) Descriptor

func (*QueryBatchConfirmsResponse) Descriptor() ([]byte, []int)

func (*QueryBatchConfirmsResponse) GetConfirms

func (m *QueryBatchConfirmsResponse) GetConfirms() []*MsgConfirmBatch

func (*QueryBatchConfirmsResponse) Marshal

func (m *QueryBatchConfirmsResponse) Marshal() (dAtA []byte, err error)

func (*QueryBatchConfirmsResponse) MarshalTo

func (m *QueryBatchConfirmsResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryBatchConfirmsResponse) MarshalToSizedBuffer

func (m *QueryBatchConfirmsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryBatchConfirmsResponse) ProtoMessage

func (*QueryBatchConfirmsResponse) ProtoMessage()

func (*QueryBatchConfirmsResponse) Reset

func (m *QueryBatchConfirmsResponse) Reset()

func (*QueryBatchConfirmsResponse) Size

func (m *QueryBatchConfirmsResponse) Size() (n int)

func (*QueryBatchConfirmsResponse) String

func (m *QueryBatchConfirmsResponse) String() string

func (*QueryBatchConfirmsResponse) Unmarshal

func (m *QueryBatchConfirmsResponse) Unmarshal(dAtA []byte) error

func (*QueryBatchConfirmsResponse) XXX_DiscardUnknown

func (m *QueryBatchConfirmsResponse) XXX_DiscardUnknown()

func (*QueryBatchConfirmsResponse) XXX_Marshal

func (m *QueryBatchConfirmsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryBatchConfirmsResponse) XXX_Merge

func (m *QueryBatchConfirmsResponse) XXX_Merge(src proto.Message)

func (*QueryBatchConfirmsResponse) XXX_Size

func (m *QueryBatchConfirmsResponse) XXX_Size() int

func (*QueryBatchConfirmsResponse) XXX_Unmarshal

func (m *QueryBatchConfirmsResponse) XXX_Unmarshal(b []byte) error

type QueryBatchFeeRequest

type QueryBatchFeeRequest struct {
	MinBatchFees []MinBatchFee `protobuf:"bytes,1,rep,name=minBatchFees,proto3" json:"minBatchFees"`
}

func (*QueryBatchFeeRequest) Descriptor

func (*QueryBatchFeeRequest) Descriptor() ([]byte, []int)

func (*QueryBatchFeeRequest) GetMinBatchFees

func (m *QueryBatchFeeRequest) GetMinBatchFees() []MinBatchFee

func (*QueryBatchFeeRequest) Marshal

func (m *QueryBatchFeeRequest) Marshal() (dAtA []byte, err error)

func (*QueryBatchFeeRequest) MarshalTo

func (m *QueryBatchFeeRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryBatchFeeRequest) MarshalToSizedBuffer

func (m *QueryBatchFeeRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryBatchFeeRequest) ProtoMessage

func (*QueryBatchFeeRequest) ProtoMessage()

func (*QueryBatchFeeRequest) Reset

func (m *QueryBatchFeeRequest) Reset()

func (*QueryBatchFeeRequest) Size

func (m *QueryBatchFeeRequest) Size() (n int)

func (*QueryBatchFeeRequest) String

func (m *QueryBatchFeeRequest) String() string

func (*QueryBatchFeeRequest) Unmarshal

func (m *QueryBatchFeeRequest) Unmarshal(dAtA []byte) error

func (*QueryBatchFeeRequest) XXX_DiscardUnknown

func (m *QueryBatchFeeRequest) XXX_DiscardUnknown()

func (*QueryBatchFeeRequest) XXX_Marshal

func (m *QueryBatchFeeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryBatchFeeRequest) XXX_Merge

func (m *QueryBatchFeeRequest) XXX_Merge(src proto.Message)

func (*QueryBatchFeeRequest) XXX_Size

func (m *QueryBatchFeeRequest) XXX_Size() int

func (*QueryBatchFeeRequest) XXX_Unmarshal

func (m *QueryBatchFeeRequest) XXX_Unmarshal(b []byte) error

type QueryBatchFeeResponse

type QueryBatchFeeResponse struct {
	BatchFees []*BatchFees `protobuf:"bytes,1,rep,name=batch_fees,json=batchFees,proto3" json:"batch_fees,omitempty"`
}

func (*QueryBatchFeeResponse) Descriptor

func (*QueryBatchFeeResponse) Descriptor() ([]byte, []int)

func (*QueryBatchFeeResponse) GetBatchFees

func (m *QueryBatchFeeResponse) GetBatchFees() []*BatchFees

func (*QueryBatchFeeResponse) Marshal

func (m *QueryBatchFeeResponse) Marshal() (dAtA []byte, err error)

func (*QueryBatchFeeResponse) MarshalTo

func (m *QueryBatchFeeResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryBatchFeeResponse) MarshalToSizedBuffer

func (m *QueryBatchFeeResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryBatchFeeResponse) ProtoMessage

func (*QueryBatchFeeResponse) ProtoMessage()

func (*QueryBatchFeeResponse) Reset

func (m *QueryBatchFeeResponse) Reset()

func (*QueryBatchFeeResponse) Size

func (m *QueryBatchFeeResponse) Size() (n int)

func (*QueryBatchFeeResponse) String

func (m *QueryBatchFeeResponse) String() string

func (*QueryBatchFeeResponse) Unmarshal

func (m *QueryBatchFeeResponse) Unmarshal(dAtA []byte) error

func (*QueryBatchFeeResponse) XXX_DiscardUnknown

func (m *QueryBatchFeeResponse) XXX_DiscardUnknown()

func (*QueryBatchFeeResponse) XXX_Marshal

func (m *QueryBatchFeeResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryBatchFeeResponse) XXX_Merge

func (m *QueryBatchFeeResponse) XXX_Merge(src proto.Message)

func (*QueryBatchFeeResponse) XXX_Size

func (m *QueryBatchFeeResponse) XXX_Size() int

func (*QueryBatchFeeResponse) XXX_Unmarshal

func (m *QueryBatchFeeResponse) XXX_Unmarshal(b []byte) error

type QueryBatchRequestByNonceRequest

type QueryBatchRequestByNonceRequest struct {
	Nonce         uint64 `protobuf:"varint,1,opt,name=nonce,proto3" json:"nonce,omitempty"`
	TokenContract string `protobuf:"bytes,2,opt,name=token_contract,json=tokenContract,proto3" json:"token_contract,omitempty"`
}

func (*QueryBatchRequestByNonceRequest) Descriptor

func (*QueryBatchRequestByNonceRequest) Descriptor() ([]byte, []int)

func (*QueryBatchRequestByNonceRequest) GetNonce

func (*QueryBatchRequestByNonceRequest) GetTokenContract

func (m *QueryBatchRequestByNonceRequest) GetTokenContract() string

func (*QueryBatchRequestByNonceRequest) Marshal

func (m *QueryBatchRequestByNonceRequest) Marshal() (dAtA []byte, err error)

func (*QueryBatchRequestByNonceRequest) MarshalTo

func (m *QueryBatchRequestByNonceRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryBatchRequestByNonceRequest) MarshalToSizedBuffer

func (m *QueryBatchRequestByNonceRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryBatchRequestByNonceRequest) ProtoMessage

func (*QueryBatchRequestByNonceRequest) ProtoMessage()

func (*QueryBatchRequestByNonceRequest) Reset

func (*QueryBatchRequestByNonceRequest) Size

func (m *QueryBatchRequestByNonceRequest) Size() (n int)

func (*QueryBatchRequestByNonceRequest) String

func (*QueryBatchRequestByNonceRequest) Unmarshal

func (m *QueryBatchRequestByNonceRequest) Unmarshal(dAtA []byte) error

func (*QueryBatchRequestByNonceRequest) XXX_DiscardUnknown

func (m *QueryBatchRequestByNonceRequest) XXX_DiscardUnknown()

func (*QueryBatchRequestByNonceRequest) XXX_Marshal

func (m *QueryBatchRequestByNonceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryBatchRequestByNonceRequest) XXX_Merge

func (m *QueryBatchRequestByNonceRequest) XXX_Merge(src proto.Message)

func (*QueryBatchRequestByNonceRequest) XXX_Size

func (m *QueryBatchRequestByNonceRequest) XXX_Size() int

func (*QueryBatchRequestByNonceRequest) XXX_Unmarshal

func (m *QueryBatchRequestByNonceRequest) XXX_Unmarshal(b []byte) error

type QueryBatchRequestByNonceResponse

type QueryBatchRequestByNonceResponse struct {
	Batch *OutgoingTxBatch `protobuf:"bytes,1,opt,name=batch,proto3" json:"batch,omitempty"`
}

func (*QueryBatchRequestByNonceResponse) Descriptor

func (*QueryBatchRequestByNonceResponse) Descriptor() ([]byte, []int)

func (*QueryBatchRequestByNonceResponse) GetBatch

func (*QueryBatchRequestByNonceResponse) Marshal

func (m *QueryBatchRequestByNonceResponse) Marshal() (dAtA []byte, err error)

func (*QueryBatchRequestByNonceResponse) MarshalTo

func (m *QueryBatchRequestByNonceResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryBatchRequestByNonceResponse) MarshalToSizedBuffer

func (m *QueryBatchRequestByNonceResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryBatchRequestByNonceResponse) ProtoMessage

func (*QueryBatchRequestByNonceResponse) ProtoMessage()

func (*QueryBatchRequestByNonceResponse) Reset

func (*QueryBatchRequestByNonceResponse) Size

func (m *QueryBatchRequestByNonceResponse) Size() (n int)

func (*QueryBatchRequestByNonceResponse) String

func (*QueryBatchRequestByNonceResponse) Unmarshal

func (m *QueryBatchRequestByNonceResponse) Unmarshal(dAtA []byte) error

func (*QueryBatchRequestByNonceResponse) XXX_DiscardUnknown

func (m *QueryBatchRequestByNonceResponse) XXX_DiscardUnknown()

func (*QueryBatchRequestByNonceResponse) XXX_Marshal

func (m *QueryBatchRequestByNonceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryBatchRequestByNonceResponse) XXX_Merge

func (*QueryBatchRequestByNonceResponse) XXX_Size

func (m *QueryBatchRequestByNonceResponse) XXX_Size() int

func (*QueryBatchRequestByNonceResponse) XXX_Unmarshal

func (m *QueryBatchRequestByNonceResponse) XXX_Unmarshal(b []byte) error

type QueryBridgeTokensRequest

type QueryBridgeTokensRequest struct {
}

func (*QueryBridgeTokensRequest) Descriptor

func (*QueryBridgeTokensRequest) Descriptor() ([]byte, []int)

func (*QueryBridgeTokensRequest) Marshal

func (m *QueryBridgeTokensRequest) Marshal() (dAtA []byte, err error)

func (*QueryBridgeTokensRequest) MarshalTo

func (m *QueryBridgeTokensRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryBridgeTokensRequest) MarshalToSizedBuffer

func (m *QueryBridgeTokensRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryBridgeTokensRequest) ProtoMessage

func (*QueryBridgeTokensRequest) ProtoMessage()

func (*QueryBridgeTokensRequest) Reset

func (m *QueryBridgeTokensRequest) Reset()

func (*QueryBridgeTokensRequest) Size

func (m *QueryBridgeTokensRequest) Size() (n int)

func (*QueryBridgeTokensRequest) String

func (m *QueryBridgeTokensRequest) String() string

func (*QueryBridgeTokensRequest) Unmarshal

func (m *QueryBridgeTokensRequest) Unmarshal(dAtA []byte) error

func (*QueryBridgeTokensRequest) XXX_DiscardUnknown

func (m *QueryBridgeTokensRequest) XXX_DiscardUnknown()

func (*QueryBridgeTokensRequest) XXX_Marshal

func (m *QueryBridgeTokensRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryBridgeTokensRequest) XXX_Merge

func (m *QueryBridgeTokensRequest) XXX_Merge(src proto.Message)

func (*QueryBridgeTokensRequest) XXX_Size

func (m *QueryBridgeTokensRequest) XXX_Size() int

func (*QueryBridgeTokensRequest) XXX_Unmarshal

func (m *QueryBridgeTokensRequest) XXX_Unmarshal(b []byte) error

type QueryBridgeTokensResponse

type QueryBridgeTokensResponse struct {
	BridgeTokens []*ERC20ToDenom `protobuf:"bytes,1,rep,name=bridge_tokens,json=bridgeTokens,proto3" json:"bridge_tokens,omitempty"`
}

func (*QueryBridgeTokensResponse) Descriptor

func (*QueryBridgeTokensResponse) Descriptor() ([]byte, []int)

func (*QueryBridgeTokensResponse) GetBridgeTokens

func (m *QueryBridgeTokensResponse) GetBridgeTokens() []*ERC20ToDenom

func (*QueryBridgeTokensResponse) Marshal

func (m *QueryBridgeTokensResponse) Marshal() (dAtA []byte, err error)

func (*QueryBridgeTokensResponse) MarshalTo

func (m *QueryBridgeTokensResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryBridgeTokensResponse) MarshalToSizedBuffer

func (m *QueryBridgeTokensResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryBridgeTokensResponse) ProtoMessage

func (*QueryBridgeTokensResponse) ProtoMessage()

func (*QueryBridgeTokensResponse) Reset

func (m *QueryBridgeTokensResponse) Reset()

func (*QueryBridgeTokensResponse) Size

func (m *QueryBridgeTokensResponse) Size() (n int)

func (*QueryBridgeTokensResponse) String

func (m *QueryBridgeTokensResponse) String() string

func (*QueryBridgeTokensResponse) Unmarshal

func (m *QueryBridgeTokensResponse) Unmarshal(dAtA []byte) error

func (*QueryBridgeTokensResponse) XXX_DiscardUnknown

func (m *QueryBridgeTokensResponse) XXX_DiscardUnknown()

func (*QueryBridgeTokensResponse) XXX_Marshal

func (m *QueryBridgeTokensResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryBridgeTokensResponse) XXX_Merge

func (m *QueryBridgeTokensResponse) XXX_Merge(src proto.Message)

func (*QueryBridgeTokensResponse) XXX_Size

func (m *QueryBridgeTokensResponse) XXX_Size() int

func (*QueryBridgeTokensResponse) XXX_Unmarshal

func (m *QueryBridgeTokensResponse) XXX_Unmarshal(b []byte) error

type QueryClient

type QueryClient interface {
	// Deployments queries deployments
	Params(ctx context.Context, in *QueryParamsRequest, opts ...grpc.CallOption) (*QueryParamsResponse, error)
	CurrentValset(ctx context.Context, in *QueryCurrentValsetRequest, opts ...grpc.CallOption) (*QueryCurrentValsetResponse, error)
	ValsetRequest(ctx context.Context, in *QueryValsetRequestRequest, opts ...grpc.CallOption) (*QueryValsetRequestResponse, error)
	ValsetConfirm(ctx context.Context, in *QueryValsetConfirmRequest, opts ...grpc.CallOption) (*QueryValsetConfirmResponse, error)
	ValsetConfirmsByNonce(ctx context.Context, in *QueryValsetConfirmsByNonceRequest, opts ...grpc.CallOption) (*QueryValsetConfirmsByNonceResponse, error)
	LastValsetRequests(ctx context.Context, in *QueryLastValsetRequestsRequest, opts ...grpc.CallOption) (*QueryLastValsetRequestsResponse, error)
	LastPendingValsetRequestByAddr(ctx context.Context, in *QueryLastPendingValsetRequestByAddrRequest, opts ...grpc.CallOption) (*QueryLastPendingValsetRequestByAddrResponse, error)
	LastPendingBatchRequestByAddr(ctx context.Context, in *QueryLastPendingBatchRequestByAddrRequest, opts ...grpc.CallOption) (*QueryLastPendingBatchRequestByAddrResponse, error)
	LastEventNonceByAddr(ctx context.Context, in *QueryLastEventNonceByAddrRequest, opts ...grpc.CallOption) (*QueryLastEventNonceByAddrResponse, error)
	LastEventBlockHeightByAddr(ctx context.Context, in *QueryLastEventBlockHeightByAddrRequest, opts ...grpc.CallOption) (*QueryLastEventBlockHeightByAddrResponse, error)
	BatchFees(ctx context.Context, in *QueryBatchFeeRequest, opts ...grpc.CallOption) (*QueryBatchFeeResponse, error)
	LastObservedBlockHeight(ctx context.Context, in *QueryLastObservedBlockHeightRequest, opts ...grpc.CallOption) (*QueryLastObservedBlockHeightResponse, error)
	OutgoingTxBatches(ctx context.Context, in *QueryOutgoingTxBatchesRequest, opts ...grpc.CallOption) (*QueryOutgoingTxBatchesResponse, error)
	BatchRequestByNonce(ctx context.Context, in *QueryBatchRequestByNonceRequest, opts ...grpc.CallOption) (*QueryBatchRequestByNonceResponse, error)
	BatchConfirm(ctx context.Context, in *QueryBatchConfirmRequest, opts ...grpc.CallOption) (*QueryBatchConfirmResponse, error)
	BatchConfirms(ctx context.Context, in *QueryBatchConfirmsRequest, opts ...grpc.CallOption) (*QueryBatchConfirmsResponse, error)
	ERC20ToDenom(ctx context.Context, in *QueryERC20ToDenomRequest, opts ...grpc.CallOption) (*QueryERC20ToDenomResponse, error)
	DenomToERC20(ctx context.Context, in *QueryDenomToERC20Request, opts ...grpc.CallOption) (*QueryDenomToERC20Response, error)
	GetDelegateKeyByValidator(ctx context.Context, in *QueryDelegateKeyByValidatorRequest, opts ...grpc.CallOption) (*QueryDelegateKeyByValidatorResponse, error)
	GetDelegateKeyByEth(ctx context.Context, in *QueryDelegateKeyByEthRequest, opts ...grpc.CallOption) (*QueryDelegateKeyByEthResponse, error)
	GetDelegateKeyByOrchestrator(ctx context.Context, in *QueryDelegateKeyByOrchestratorRequest, opts ...grpc.CallOption) (*QueryDelegateKeyByOrchestratorResponse, error)
	GetPendingSendToEth(ctx context.Context, in *QueryPendingSendToEthRequest, opts ...grpc.CallOption) (*QueryPendingSendToEthResponse, error)
	GetIbcSequenceHeightByChannel(ctx context.Context, in *QueryIbcSequenceHeightRequest, opts ...grpc.CallOption) (*QueryIbcSequenceHeightResponse, error)
	ProjectedBatchTimeoutHeight(ctx context.Context, in *QueryProjectedBatchTimeoutHeightRequest, opts ...grpc.CallOption) (*QueryProjectedBatchTimeoutHeightResponse, error)
	BridgeTokens(ctx context.Context, in *QueryBridgeTokensRequest, opts ...grpc.CallOption) (*QueryBridgeTokensResponse, error)
}

QueryClient is the client API for Query service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewQueryClient

func NewQueryClient(cc grpc1.ClientConn) QueryClient

type QueryCurrentValsetRequest

type QueryCurrentValsetRequest struct {
}

func (*QueryCurrentValsetRequest) Descriptor

func (*QueryCurrentValsetRequest) Descriptor() ([]byte, []int)

func (*QueryCurrentValsetRequest) Marshal

func (m *QueryCurrentValsetRequest) Marshal() (dAtA []byte, err error)

func (*QueryCurrentValsetRequest) MarshalTo

func (m *QueryCurrentValsetRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryCurrentValsetRequest) MarshalToSizedBuffer

func (m *QueryCurrentValsetRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryCurrentValsetRequest) ProtoMessage

func (*QueryCurrentValsetRequest) ProtoMessage()

func (*QueryCurrentValsetRequest) Reset

func (m *QueryCurrentValsetRequest) Reset()

func (*QueryCurrentValsetRequest) Size

func (m *QueryCurrentValsetRequest) Size() (n int)

func (*QueryCurrentValsetRequest) String

func (m *QueryCurrentValsetRequest) String() string

func (*QueryCurrentValsetRequest) Unmarshal

func (m *QueryCurrentValsetRequest) Unmarshal(dAtA []byte) error

func (*QueryCurrentValsetRequest) XXX_DiscardUnknown

func (m *QueryCurrentValsetRequest) XXX_DiscardUnknown()

func (*QueryCurrentValsetRequest) XXX_Marshal

func (m *QueryCurrentValsetRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryCurrentValsetRequest) XXX_Merge

func (m *QueryCurrentValsetRequest) XXX_Merge(src proto.Message)

func (*QueryCurrentValsetRequest) XXX_Size

func (m *QueryCurrentValsetRequest) XXX_Size() int

func (*QueryCurrentValsetRequest) XXX_Unmarshal

func (m *QueryCurrentValsetRequest) XXX_Unmarshal(b []byte) error

type QueryCurrentValsetResponse

type QueryCurrentValsetResponse struct {
	Valset *Valset `protobuf:"bytes,1,opt,name=valset,proto3" json:"valset,omitempty"`
}

func (*QueryCurrentValsetResponse) Descriptor

func (*QueryCurrentValsetResponse) Descriptor() ([]byte, []int)

func (*QueryCurrentValsetResponse) GetValset

func (m *QueryCurrentValsetResponse) GetValset() *Valset

func (*QueryCurrentValsetResponse) Marshal

func (m *QueryCurrentValsetResponse) Marshal() (dAtA []byte, err error)

func (*QueryCurrentValsetResponse) MarshalTo

func (m *QueryCurrentValsetResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryCurrentValsetResponse) MarshalToSizedBuffer

func (m *QueryCurrentValsetResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryCurrentValsetResponse) ProtoMessage

func (*QueryCurrentValsetResponse) ProtoMessage()

func (*QueryCurrentValsetResponse) Reset

func (m *QueryCurrentValsetResponse) Reset()

func (*QueryCurrentValsetResponse) Size

func (m *QueryCurrentValsetResponse) Size() (n int)

func (*QueryCurrentValsetResponse) String

func (m *QueryCurrentValsetResponse) String() string

func (*QueryCurrentValsetResponse) Unmarshal

func (m *QueryCurrentValsetResponse) Unmarshal(dAtA []byte) error

func (*QueryCurrentValsetResponse) XXX_DiscardUnknown

func (m *QueryCurrentValsetResponse) XXX_DiscardUnknown()

func (*QueryCurrentValsetResponse) XXX_Marshal

func (m *QueryCurrentValsetResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryCurrentValsetResponse) XXX_Merge

func (m *QueryCurrentValsetResponse) XXX_Merge(src proto.Message)

func (*QueryCurrentValsetResponse) XXX_Size

func (m *QueryCurrentValsetResponse) XXX_Size() int

func (*QueryCurrentValsetResponse) XXX_Unmarshal

func (m *QueryCurrentValsetResponse) XXX_Unmarshal(b []byte) error

type QueryDelegateKeyByEthRequest

type QueryDelegateKeyByEthRequest struct {
	EthAddress string `protobuf:"bytes,1,opt,name=eth_address,json=ethAddress,proto3" json:"eth_address,omitempty"`
}

func (*QueryDelegateKeyByEthRequest) Descriptor

func (*QueryDelegateKeyByEthRequest) Descriptor() ([]byte, []int)

func (*QueryDelegateKeyByEthRequest) GetEthAddress

func (m *QueryDelegateKeyByEthRequest) GetEthAddress() string

func (*QueryDelegateKeyByEthRequest) Marshal

func (m *QueryDelegateKeyByEthRequest) Marshal() (dAtA []byte, err error)

func (*QueryDelegateKeyByEthRequest) MarshalTo

func (m *QueryDelegateKeyByEthRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryDelegateKeyByEthRequest) MarshalToSizedBuffer

func (m *QueryDelegateKeyByEthRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryDelegateKeyByEthRequest) ProtoMessage

func (*QueryDelegateKeyByEthRequest) ProtoMessage()

func (*QueryDelegateKeyByEthRequest) Reset

func (m *QueryDelegateKeyByEthRequest) Reset()

func (*QueryDelegateKeyByEthRequest) Size

func (m *QueryDelegateKeyByEthRequest) Size() (n int)

func (*QueryDelegateKeyByEthRequest) String

func (*QueryDelegateKeyByEthRequest) Unmarshal

func (m *QueryDelegateKeyByEthRequest) Unmarshal(dAtA []byte) error

func (*QueryDelegateKeyByEthRequest) XXX_DiscardUnknown

func (m *QueryDelegateKeyByEthRequest) XXX_DiscardUnknown()

func (*QueryDelegateKeyByEthRequest) XXX_Marshal

func (m *QueryDelegateKeyByEthRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryDelegateKeyByEthRequest) XXX_Merge

func (m *QueryDelegateKeyByEthRequest) XXX_Merge(src proto.Message)

func (*QueryDelegateKeyByEthRequest) XXX_Size

func (m *QueryDelegateKeyByEthRequest) XXX_Size() int

func (*QueryDelegateKeyByEthRequest) XXX_Unmarshal

func (m *QueryDelegateKeyByEthRequest) XXX_Unmarshal(b []byte) error

type QueryDelegateKeyByEthResponse

type QueryDelegateKeyByEthResponse struct {
	ValidatorAddress    string `protobuf:"bytes,1,opt,name=validator_address,json=validatorAddress,proto3" json:"validator_address,omitempty"`
	OrchestratorAddress string `protobuf:"bytes,2,opt,name=orchestrator_address,json=orchestratorAddress,proto3" json:"orchestrator_address,omitempty"`
}

func (*QueryDelegateKeyByEthResponse) Descriptor

func (*QueryDelegateKeyByEthResponse) Descriptor() ([]byte, []int)

func (*QueryDelegateKeyByEthResponse) GetOrchestratorAddress

func (m *QueryDelegateKeyByEthResponse) GetOrchestratorAddress() string

func (*QueryDelegateKeyByEthResponse) GetValidatorAddress

func (m *QueryDelegateKeyByEthResponse) GetValidatorAddress() string

func (*QueryDelegateKeyByEthResponse) Marshal

func (m *QueryDelegateKeyByEthResponse) Marshal() (dAtA []byte, err error)

func (*QueryDelegateKeyByEthResponse) MarshalTo

func (m *QueryDelegateKeyByEthResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryDelegateKeyByEthResponse) MarshalToSizedBuffer

func (m *QueryDelegateKeyByEthResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryDelegateKeyByEthResponse) ProtoMessage

func (*QueryDelegateKeyByEthResponse) ProtoMessage()

func (*QueryDelegateKeyByEthResponse) Reset

func (m *QueryDelegateKeyByEthResponse) Reset()

func (*QueryDelegateKeyByEthResponse) Size

func (m *QueryDelegateKeyByEthResponse) Size() (n int)

func (*QueryDelegateKeyByEthResponse) String

func (*QueryDelegateKeyByEthResponse) Unmarshal

func (m *QueryDelegateKeyByEthResponse) Unmarshal(dAtA []byte) error

func (*QueryDelegateKeyByEthResponse) XXX_DiscardUnknown

func (m *QueryDelegateKeyByEthResponse) XXX_DiscardUnknown()

func (*QueryDelegateKeyByEthResponse) XXX_Marshal

func (m *QueryDelegateKeyByEthResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryDelegateKeyByEthResponse) XXX_Merge

func (m *QueryDelegateKeyByEthResponse) XXX_Merge(src proto.Message)

func (*QueryDelegateKeyByEthResponse) XXX_Size

func (m *QueryDelegateKeyByEthResponse) XXX_Size() int

func (*QueryDelegateKeyByEthResponse) XXX_Unmarshal

func (m *QueryDelegateKeyByEthResponse) XXX_Unmarshal(b []byte) error

type QueryDelegateKeyByOrchestratorRequest

type QueryDelegateKeyByOrchestratorRequest struct {
	OrchestratorAddress string `protobuf:"bytes,1,opt,name=orchestrator_address,json=orchestratorAddress,proto3" json:"orchestrator_address,omitempty"`
}

func (*QueryDelegateKeyByOrchestratorRequest) Descriptor

func (*QueryDelegateKeyByOrchestratorRequest) Descriptor() ([]byte, []int)

func (*QueryDelegateKeyByOrchestratorRequest) GetOrchestratorAddress

func (m *QueryDelegateKeyByOrchestratorRequest) GetOrchestratorAddress() string

func (*QueryDelegateKeyByOrchestratorRequest) Marshal

func (m *QueryDelegateKeyByOrchestratorRequest) Marshal() (dAtA []byte, err error)

func (*QueryDelegateKeyByOrchestratorRequest) MarshalTo

func (m *QueryDelegateKeyByOrchestratorRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryDelegateKeyByOrchestratorRequest) MarshalToSizedBuffer

func (m *QueryDelegateKeyByOrchestratorRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryDelegateKeyByOrchestratorRequest) ProtoMessage

func (*QueryDelegateKeyByOrchestratorRequest) ProtoMessage()

func (*QueryDelegateKeyByOrchestratorRequest) Reset

func (*QueryDelegateKeyByOrchestratorRequest) Size

func (*QueryDelegateKeyByOrchestratorRequest) String

func (*QueryDelegateKeyByOrchestratorRequest) Unmarshal

func (m *QueryDelegateKeyByOrchestratorRequest) Unmarshal(dAtA []byte) error

func (*QueryDelegateKeyByOrchestratorRequest) XXX_DiscardUnknown

func (m *QueryDelegateKeyByOrchestratorRequest) XXX_DiscardUnknown()

func (*QueryDelegateKeyByOrchestratorRequest) XXX_Marshal

func (m *QueryDelegateKeyByOrchestratorRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryDelegateKeyByOrchestratorRequest) XXX_Merge

func (*QueryDelegateKeyByOrchestratorRequest) XXX_Size

func (*QueryDelegateKeyByOrchestratorRequest) XXX_Unmarshal

func (m *QueryDelegateKeyByOrchestratorRequest) XXX_Unmarshal(b []byte) error

type QueryDelegateKeyByOrchestratorResponse

type QueryDelegateKeyByOrchestratorResponse struct {
	ValidatorAddress string `protobuf:"bytes,1,opt,name=validator_address,json=validatorAddress,proto3" json:"validator_address,omitempty"`
	EthAddress       string `protobuf:"bytes,2,opt,name=eth_address,json=ethAddress,proto3" json:"eth_address,omitempty"`
}

func (*QueryDelegateKeyByOrchestratorResponse) Descriptor

func (*QueryDelegateKeyByOrchestratorResponse) Descriptor() ([]byte, []int)

func (*QueryDelegateKeyByOrchestratorResponse) GetEthAddress

func (*QueryDelegateKeyByOrchestratorResponse) GetValidatorAddress

func (m *QueryDelegateKeyByOrchestratorResponse) GetValidatorAddress() string

func (*QueryDelegateKeyByOrchestratorResponse) Marshal

func (m *QueryDelegateKeyByOrchestratorResponse) Marshal() (dAtA []byte, err error)

func (*QueryDelegateKeyByOrchestratorResponse) MarshalTo

func (m *QueryDelegateKeyByOrchestratorResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryDelegateKeyByOrchestratorResponse) MarshalToSizedBuffer

func (m *QueryDelegateKeyByOrchestratorResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryDelegateKeyByOrchestratorResponse) ProtoMessage

func (*QueryDelegateKeyByOrchestratorResponse) Reset

func (*QueryDelegateKeyByOrchestratorResponse) Size

func (*QueryDelegateKeyByOrchestratorResponse) String

func (*QueryDelegateKeyByOrchestratorResponse) Unmarshal

func (m *QueryDelegateKeyByOrchestratorResponse) Unmarshal(dAtA []byte) error

func (*QueryDelegateKeyByOrchestratorResponse) XXX_DiscardUnknown

func (m *QueryDelegateKeyByOrchestratorResponse) XXX_DiscardUnknown()

func (*QueryDelegateKeyByOrchestratorResponse) XXX_Marshal

func (m *QueryDelegateKeyByOrchestratorResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryDelegateKeyByOrchestratorResponse) XXX_Merge

func (*QueryDelegateKeyByOrchestratorResponse) XXX_Size

func (*QueryDelegateKeyByOrchestratorResponse) XXX_Unmarshal

func (m *QueryDelegateKeyByOrchestratorResponse) XXX_Unmarshal(b []byte) error

type QueryDelegateKeyByValidatorRequest

type QueryDelegateKeyByValidatorRequest struct {
	ValidatorAddress string `protobuf:"bytes,1,opt,name=validator_address,json=validatorAddress,proto3" json:"validator_address,omitempty"`
}

func (*QueryDelegateKeyByValidatorRequest) Descriptor

func (*QueryDelegateKeyByValidatorRequest) Descriptor() ([]byte, []int)

func (*QueryDelegateKeyByValidatorRequest) GetValidatorAddress

func (m *QueryDelegateKeyByValidatorRequest) GetValidatorAddress() string

func (*QueryDelegateKeyByValidatorRequest) Marshal

func (m *QueryDelegateKeyByValidatorRequest) Marshal() (dAtA []byte, err error)

func (*QueryDelegateKeyByValidatorRequest) MarshalTo

func (m *QueryDelegateKeyByValidatorRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryDelegateKeyByValidatorRequest) MarshalToSizedBuffer

func (m *QueryDelegateKeyByValidatorRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryDelegateKeyByValidatorRequest) ProtoMessage

func (*QueryDelegateKeyByValidatorRequest) ProtoMessage()

func (*QueryDelegateKeyByValidatorRequest) Reset

func (*QueryDelegateKeyByValidatorRequest) Size

func (*QueryDelegateKeyByValidatorRequest) String

func (*QueryDelegateKeyByValidatorRequest) Unmarshal

func (m *QueryDelegateKeyByValidatorRequest) Unmarshal(dAtA []byte) error

func (*QueryDelegateKeyByValidatorRequest) XXX_DiscardUnknown

func (m *QueryDelegateKeyByValidatorRequest) XXX_DiscardUnknown()

func (*QueryDelegateKeyByValidatorRequest) XXX_Marshal

func (m *QueryDelegateKeyByValidatorRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryDelegateKeyByValidatorRequest) XXX_Merge

func (*QueryDelegateKeyByValidatorRequest) XXX_Size

func (*QueryDelegateKeyByValidatorRequest) XXX_Unmarshal

func (m *QueryDelegateKeyByValidatorRequest) XXX_Unmarshal(b []byte) error

type QueryDelegateKeyByValidatorResponse

type QueryDelegateKeyByValidatorResponse struct {
	EthAddress          string `protobuf:"bytes,1,opt,name=eth_address,json=ethAddress,proto3" json:"eth_address,omitempty"`
	OrchestratorAddress string `protobuf:"bytes,2,opt,name=orchestrator_address,json=orchestratorAddress,proto3" json:"orchestrator_address,omitempty"`
}

func (*QueryDelegateKeyByValidatorResponse) Descriptor

func (*QueryDelegateKeyByValidatorResponse) Descriptor() ([]byte, []int)

func (*QueryDelegateKeyByValidatorResponse) GetEthAddress

func (m *QueryDelegateKeyByValidatorResponse) GetEthAddress() string

func (*QueryDelegateKeyByValidatorResponse) GetOrchestratorAddress

func (m *QueryDelegateKeyByValidatorResponse) GetOrchestratorAddress() string

func (*QueryDelegateKeyByValidatorResponse) Marshal

func (m *QueryDelegateKeyByValidatorResponse) Marshal() (dAtA []byte, err error)

func (*QueryDelegateKeyByValidatorResponse) MarshalTo

func (m *QueryDelegateKeyByValidatorResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryDelegateKeyByValidatorResponse) MarshalToSizedBuffer

func (m *QueryDelegateKeyByValidatorResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryDelegateKeyByValidatorResponse) ProtoMessage

func (*QueryDelegateKeyByValidatorResponse) ProtoMessage()

func (*QueryDelegateKeyByValidatorResponse) Reset

func (*QueryDelegateKeyByValidatorResponse) Size

func (*QueryDelegateKeyByValidatorResponse) String

func (*QueryDelegateKeyByValidatorResponse) Unmarshal

func (m *QueryDelegateKeyByValidatorResponse) Unmarshal(dAtA []byte) error

func (*QueryDelegateKeyByValidatorResponse) XXX_DiscardUnknown

func (m *QueryDelegateKeyByValidatorResponse) XXX_DiscardUnknown()

func (*QueryDelegateKeyByValidatorResponse) XXX_Marshal

func (m *QueryDelegateKeyByValidatorResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryDelegateKeyByValidatorResponse) XXX_Merge

func (*QueryDelegateKeyByValidatorResponse) XXX_Size

func (*QueryDelegateKeyByValidatorResponse) XXX_Unmarshal

func (m *QueryDelegateKeyByValidatorResponse) XXX_Unmarshal(b []byte) error

type QueryDenomToERC20Request

type QueryDenomToERC20Request struct {
	Denom string `protobuf:"bytes,1,opt,name=denom,proto3" json:"denom,omitempty"`
}

func (*QueryDenomToERC20Request) Descriptor

func (*QueryDenomToERC20Request) Descriptor() ([]byte, []int)

func (*QueryDenomToERC20Request) GetDenom

func (m *QueryDenomToERC20Request) GetDenom() string

func (*QueryDenomToERC20Request) Marshal

func (m *QueryDenomToERC20Request) Marshal() (dAtA []byte, err error)

func (*QueryDenomToERC20Request) MarshalTo

func (m *QueryDenomToERC20Request) MarshalTo(dAtA []byte) (int, error)

func (*QueryDenomToERC20Request) MarshalToSizedBuffer

func (m *QueryDenomToERC20Request) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryDenomToERC20Request) ProtoMessage

func (*QueryDenomToERC20Request) ProtoMessage()

func (*QueryDenomToERC20Request) Reset

func (m *QueryDenomToERC20Request) Reset()

func (*QueryDenomToERC20Request) Size

func (m *QueryDenomToERC20Request) Size() (n int)

func (*QueryDenomToERC20Request) String

func (m *QueryDenomToERC20Request) String() string

func (*QueryDenomToERC20Request) Unmarshal

func (m *QueryDenomToERC20Request) Unmarshal(dAtA []byte) error

func (*QueryDenomToERC20Request) XXX_DiscardUnknown

func (m *QueryDenomToERC20Request) XXX_DiscardUnknown()

func (*QueryDenomToERC20Request) XXX_Marshal

func (m *QueryDenomToERC20Request) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryDenomToERC20Request) XXX_Merge

func (m *QueryDenomToERC20Request) XXX_Merge(src proto.Message)

func (*QueryDenomToERC20Request) XXX_Size

func (m *QueryDenomToERC20Request) XXX_Size() int

func (*QueryDenomToERC20Request) XXX_Unmarshal

func (m *QueryDenomToERC20Request) XXX_Unmarshal(b []byte) error

type QueryDenomToERC20Response

type QueryDenomToERC20Response struct {
	Erc20        string `protobuf:"bytes,1,opt,name=erc20,proto3" json:"erc20,omitempty"`
	FxOriginated bool   `protobuf:"varint,2,opt,name=fx_originated,json=fxOriginated,proto3" json:"fx_originated,omitempty"`
}

func (*QueryDenomToERC20Response) Descriptor

func (*QueryDenomToERC20Response) Descriptor() ([]byte, []int)

func (*QueryDenomToERC20Response) GetErc20

func (m *QueryDenomToERC20Response) GetErc20() string

func (*QueryDenomToERC20Response) GetFxOriginated

func (m *QueryDenomToERC20Response) GetFxOriginated() bool

func (*QueryDenomToERC20Response) Marshal

func (m *QueryDenomToERC20Response) Marshal() (dAtA []byte, err error)

func (*QueryDenomToERC20Response) MarshalTo

func (m *QueryDenomToERC20Response) MarshalTo(dAtA []byte) (int, error)

func (*QueryDenomToERC20Response) MarshalToSizedBuffer

func (m *QueryDenomToERC20Response) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryDenomToERC20Response) ProtoMessage

func (*QueryDenomToERC20Response) ProtoMessage()

func (*QueryDenomToERC20Response) Reset

func (m *QueryDenomToERC20Response) Reset()

func (*QueryDenomToERC20Response) Size

func (m *QueryDenomToERC20Response) Size() (n int)

func (*QueryDenomToERC20Response) String

func (m *QueryDenomToERC20Response) String() string

func (*QueryDenomToERC20Response) Unmarshal

func (m *QueryDenomToERC20Response) Unmarshal(dAtA []byte) error

func (*QueryDenomToERC20Response) XXX_DiscardUnknown

func (m *QueryDenomToERC20Response) XXX_DiscardUnknown()

func (*QueryDenomToERC20Response) XXX_Marshal

func (m *QueryDenomToERC20Response) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryDenomToERC20Response) XXX_Merge

func (m *QueryDenomToERC20Response) XXX_Merge(src proto.Message)

func (*QueryDenomToERC20Response) XXX_Size

func (m *QueryDenomToERC20Response) XXX_Size() int

func (*QueryDenomToERC20Response) XXX_Unmarshal

func (m *QueryDenomToERC20Response) XXX_Unmarshal(b []byte) error

type QueryERC20ToDenomRequest

type QueryERC20ToDenomRequest struct {
	Erc20 string `protobuf:"bytes,1,opt,name=erc20,proto3" json:"erc20,omitempty"`
}

func (*QueryERC20ToDenomRequest) Descriptor

func (*QueryERC20ToDenomRequest) Descriptor() ([]byte, []int)

func (*QueryERC20ToDenomRequest) GetErc20

func (m *QueryERC20ToDenomRequest) GetErc20() string

func (*QueryERC20ToDenomRequest) Marshal

func (m *QueryERC20ToDenomRequest) Marshal() (dAtA []byte, err error)

func (*QueryERC20ToDenomRequest) MarshalTo

func (m *QueryERC20ToDenomRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryERC20ToDenomRequest) MarshalToSizedBuffer

func (m *QueryERC20ToDenomRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryERC20ToDenomRequest) ProtoMessage

func (*QueryERC20ToDenomRequest) ProtoMessage()

func (*QueryERC20ToDenomRequest) Reset

func (m *QueryERC20ToDenomRequest) Reset()

func (*QueryERC20ToDenomRequest) Size

func (m *QueryERC20ToDenomRequest) Size() (n int)

func (*QueryERC20ToDenomRequest) String

func (m *QueryERC20ToDenomRequest) String() string

func (*QueryERC20ToDenomRequest) Unmarshal

func (m *QueryERC20ToDenomRequest) Unmarshal(dAtA []byte) error

func (*QueryERC20ToDenomRequest) XXX_DiscardUnknown

func (m *QueryERC20ToDenomRequest) XXX_DiscardUnknown()

func (*QueryERC20ToDenomRequest) XXX_Marshal

func (m *QueryERC20ToDenomRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryERC20ToDenomRequest) XXX_Merge

func (m *QueryERC20ToDenomRequest) XXX_Merge(src proto.Message)

func (*QueryERC20ToDenomRequest) XXX_Size

func (m *QueryERC20ToDenomRequest) XXX_Size() int

func (*QueryERC20ToDenomRequest) XXX_Unmarshal

func (m *QueryERC20ToDenomRequest) XXX_Unmarshal(b []byte) error

type QueryERC20ToDenomResponse

type QueryERC20ToDenomResponse struct {
	Denom        string `protobuf:"bytes,1,opt,name=denom,proto3" json:"denom,omitempty"`
	FxOriginated bool   `protobuf:"varint,2,opt,name=fx_originated,json=fxOriginated,proto3" json:"fx_originated,omitempty"`
}

func (*QueryERC20ToDenomResponse) Descriptor

func (*QueryERC20ToDenomResponse) Descriptor() ([]byte, []int)

func (*QueryERC20ToDenomResponse) GetDenom

func (m *QueryERC20ToDenomResponse) GetDenom() string

func (*QueryERC20ToDenomResponse) GetFxOriginated

func (m *QueryERC20ToDenomResponse) GetFxOriginated() bool

func (*QueryERC20ToDenomResponse) Marshal

func (m *QueryERC20ToDenomResponse) Marshal() (dAtA []byte, err error)

func (*QueryERC20ToDenomResponse) MarshalTo

func (m *QueryERC20ToDenomResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryERC20ToDenomResponse) MarshalToSizedBuffer

func (m *QueryERC20ToDenomResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryERC20ToDenomResponse) ProtoMessage

func (*QueryERC20ToDenomResponse) ProtoMessage()

func (*QueryERC20ToDenomResponse) Reset

func (m *QueryERC20ToDenomResponse) Reset()

func (*QueryERC20ToDenomResponse) Size

func (m *QueryERC20ToDenomResponse) Size() (n int)

func (*QueryERC20ToDenomResponse) String

func (m *QueryERC20ToDenomResponse) String() string

func (*QueryERC20ToDenomResponse) Unmarshal

func (m *QueryERC20ToDenomResponse) Unmarshal(dAtA []byte) error

func (*QueryERC20ToDenomResponse) XXX_DiscardUnknown

func (m *QueryERC20ToDenomResponse) XXX_DiscardUnknown()

func (*QueryERC20ToDenomResponse) XXX_Marshal

func (m *QueryERC20ToDenomResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryERC20ToDenomResponse) XXX_Merge

func (m *QueryERC20ToDenomResponse) XXX_Merge(src proto.Message)

func (*QueryERC20ToDenomResponse) XXX_Size

func (m *QueryERC20ToDenomResponse) XXX_Size() int

func (*QueryERC20ToDenomResponse) XXX_Unmarshal

func (m *QueryERC20ToDenomResponse) XXX_Unmarshal(b []byte) error

type QueryIbcSequenceHeightRequest

type QueryIbcSequenceHeightRequest struct {
	SourcePort    string `protobuf:"bytes,1,opt,name=sourcePort,proto3" json:"sourcePort,omitempty"`
	SourceChannel string `protobuf:"bytes,2,opt,name=sourceChannel,proto3" json:"sourceChannel,omitempty"`
	Sequence      uint64 `protobuf:"varint,3,opt,name=sequence,proto3" json:"sequence,omitempty"`
}

func (*QueryIbcSequenceHeightRequest) Descriptor

func (*QueryIbcSequenceHeightRequest) Descriptor() ([]byte, []int)

func (*QueryIbcSequenceHeightRequest) GetSequence

func (m *QueryIbcSequenceHeightRequest) GetSequence() uint64

func (*QueryIbcSequenceHeightRequest) GetSourceChannel

func (m *QueryIbcSequenceHeightRequest) GetSourceChannel() string

func (*QueryIbcSequenceHeightRequest) GetSourcePort

func (m *QueryIbcSequenceHeightRequest) GetSourcePort() string

func (*QueryIbcSequenceHeightRequest) Marshal

func (m *QueryIbcSequenceHeightRequest) Marshal() (dAtA []byte, err error)

func (*QueryIbcSequenceHeightRequest) MarshalTo

func (m *QueryIbcSequenceHeightRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryIbcSequenceHeightRequest) MarshalToSizedBuffer

func (m *QueryIbcSequenceHeightRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryIbcSequenceHeightRequest) ProtoMessage

func (*QueryIbcSequenceHeightRequest) ProtoMessage()

func (*QueryIbcSequenceHeightRequest) Reset

func (m *QueryIbcSequenceHeightRequest) Reset()

func (*QueryIbcSequenceHeightRequest) Size

func (m *QueryIbcSequenceHeightRequest) Size() (n int)

func (*QueryIbcSequenceHeightRequest) String

func (*QueryIbcSequenceHeightRequest) Unmarshal

func (m *QueryIbcSequenceHeightRequest) Unmarshal(dAtA []byte) error

func (*QueryIbcSequenceHeightRequest) XXX_DiscardUnknown

func (m *QueryIbcSequenceHeightRequest) XXX_DiscardUnknown()

func (*QueryIbcSequenceHeightRequest) XXX_Marshal

func (m *QueryIbcSequenceHeightRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryIbcSequenceHeightRequest) XXX_Merge

func (m *QueryIbcSequenceHeightRequest) XXX_Merge(src proto.Message)

func (*QueryIbcSequenceHeightRequest) XXX_Size

func (m *QueryIbcSequenceHeightRequest) XXX_Size() int

func (*QueryIbcSequenceHeightRequest) XXX_Unmarshal

func (m *QueryIbcSequenceHeightRequest) XXX_Unmarshal(b []byte) error

type QueryIbcSequenceHeightResponse

type QueryIbcSequenceHeightResponse struct {
	Found  bool   `protobuf:"varint,1,opt,name=found,proto3" json:"found,omitempty"`
	Height uint64 `protobuf:"varint,2,opt,name=height,proto3" json:"height,omitempty"`
}

func (*QueryIbcSequenceHeightResponse) Descriptor

func (*QueryIbcSequenceHeightResponse) Descriptor() ([]byte, []int)

func (*QueryIbcSequenceHeightResponse) GetFound

func (m *QueryIbcSequenceHeightResponse) GetFound() bool

func (*QueryIbcSequenceHeightResponse) GetHeight

func (m *QueryIbcSequenceHeightResponse) GetHeight() uint64

func (*QueryIbcSequenceHeightResponse) Marshal

func (m *QueryIbcSequenceHeightResponse) Marshal() (dAtA []byte, err error)

func (*QueryIbcSequenceHeightResponse) MarshalTo

func (m *QueryIbcSequenceHeightResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryIbcSequenceHeightResponse) MarshalToSizedBuffer

func (m *QueryIbcSequenceHeightResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryIbcSequenceHeightResponse) ProtoMessage

func (*QueryIbcSequenceHeightResponse) ProtoMessage()

func (*QueryIbcSequenceHeightResponse) Reset

func (m *QueryIbcSequenceHeightResponse) Reset()

func (*QueryIbcSequenceHeightResponse) Size

func (m *QueryIbcSequenceHeightResponse) Size() (n int)

func (*QueryIbcSequenceHeightResponse) String

func (*QueryIbcSequenceHeightResponse) Unmarshal

func (m *QueryIbcSequenceHeightResponse) Unmarshal(dAtA []byte) error

func (*QueryIbcSequenceHeightResponse) XXX_DiscardUnknown

func (m *QueryIbcSequenceHeightResponse) XXX_DiscardUnknown()

func (*QueryIbcSequenceHeightResponse) XXX_Marshal

func (m *QueryIbcSequenceHeightResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryIbcSequenceHeightResponse) XXX_Merge

func (m *QueryIbcSequenceHeightResponse) XXX_Merge(src proto.Message)

func (*QueryIbcSequenceHeightResponse) XXX_Size

func (m *QueryIbcSequenceHeightResponse) XXX_Size() int

func (*QueryIbcSequenceHeightResponse) XXX_Unmarshal

func (m *QueryIbcSequenceHeightResponse) XXX_Unmarshal(b []byte) error

type QueryLastEventBlockHeightByAddrRequest

type QueryLastEventBlockHeightByAddrRequest struct {
	Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
}

func (*QueryLastEventBlockHeightByAddrRequest) Descriptor

func (*QueryLastEventBlockHeightByAddrRequest) Descriptor() ([]byte, []int)

func (*QueryLastEventBlockHeightByAddrRequest) GetAddress

func (*QueryLastEventBlockHeightByAddrRequest) Marshal

func (m *QueryLastEventBlockHeightByAddrRequest) Marshal() (dAtA []byte, err error)

func (*QueryLastEventBlockHeightByAddrRequest) MarshalTo

func (m *QueryLastEventBlockHeightByAddrRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryLastEventBlockHeightByAddrRequest) MarshalToSizedBuffer

func (m *QueryLastEventBlockHeightByAddrRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryLastEventBlockHeightByAddrRequest) ProtoMessage

func (*QueryLastEventBlockHeightByAddrRequest) Reset

func (*QueryLastEventBlockHeightByAddrRequest) Size

func (*QueryLastEventBlockHeightByAddrRequest) String

func (*QueryLastEventBlockHeightByAddrRequest) Unmarshal

func (m *QueryLastEventBlockHeightByAddrRequest) Unmarshal(dAtA []byte) error

func (*QueryLastEventBlockHeightByAddrRequest) XXX_DiscardUnknown

func (m *QueryLastEventBlockHeightByAddrRequest) XXX_DiscardUnknown()

func (*QueryLastEventBlockHeightByAddrRequest) XXX_Marshal

func (m *QueryLastEventBlockHeightByAddrRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryLastEventBlockHeightByAddrRequest) XXX_Merge

func (*QueryLastEventBlockHeightByAddrRequest) XXX_Size

func (*QueryLastEventBlockHeightByAddrRequest) XXX_Unmarshal

func (m *QueryLastEventBlockHeightByAddrRequest) XXX_Unmarshal(b []byte) error

type QueryLastEventBlockHeightByAddrResponse

type QueryLastEventBlockHeightByAddrResponse struct {
	BlockHeight uint64 `protobuf:"varint,1,opt,name=block_height,json=blockHeight,proto3" json:"block_height,omitempty"`
}

func (*QueryLastEventBlockHeightByAddrResponse) Descriptor

func (*QueryLastEventBlockHeightByAddrResponse) Descriptor() ([]byte, []int)

func (*QueryLastEventBlockHeightByAddrResponse) GetBlockHeight

func (m *QueryLastEventBlockHeightByAddrResponse) GetBlockHeight() uint64

func (*QueryLastEventBlockHeightByAddrResponse) Marshal

func (m *QueryLastEventBlockHeightByAddrResponse) Marshal() (dAtA []byte, err error)

func (*QueryLastEventBlockHeightByAddrResponse) MarshalTo

func (m *QueryLastEventBlockHeightByAddrResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryLastEventBlockHeightByAddrResponse) MarshalToSizedBuffer

func (m *QueryLastEventBlockHeightByAddrResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryLastEventBlockHeightByAddrResponse) ProtoMessage

func (*QueryLastEventBlockHeightByAddrResponse) Reset

func (*QueryLastEventBlockHeightByAddrResponse) Size

func (*QueryLastEventBlockHeightByAddrResponse) String

func (*QueryLastEventBlockHeightByAddrResponse) Unmarshal

func (m *QueryLastEventBlockHeightByAddrResponse) Unmarshal(dAtA []byte) error

func (*QueryLastEventBlockHeightByAddrResponse) XXX_DiscardUnknown

func (m *QueryLastEventBlockHeightByAddrResponse) XXX_DiscardUnknown()

func (*QueryLastEventBlockHeightByAddrResponse) XXX_Marshal

func (m *QueryLastEventBlockHeightByAddrResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryLastEventBlockHeightByAddrResponse) XXX_Merge

func (*QueryLastEventBlockHeightByAddrResponse) XXX_Size

func (*QueryLastEventBlockHeightByAddrResponse) XXX_Unmarshal

func (m *QueryLastEventBlockHeightByAddrResponse) XXX_Unmarshal(b []byte) error

type QueryLastEventNonceByAddrRequest

type QueryLastEventNonceByAddrRequest struct {
	Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
}

func (*QueryLastEventNonceByAddrRequest) Descriptor

func (*QueryLastEventNonceByAddrRequest) Descriptor() ([]byte, []int)

func (*QueryLastEventNonceByAddrRequest) GetAddress

func (m *QueryLastEventNonceByAddrRequest) GetAddress() string

func (*QueryLastEventNonceByAddrRequest) Marshal

func (m *QueryLastEventNonceByAddrRequest) Marshal() (dAtA []byte, err error)

func (*QueryLastEventNonceByAddrRequest) MarshalTo

func (m *QueryLastEventNonceByAddrRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryLastEventNonceByAddrRequest) MarshalToSizedBuffer

func (m *QueryLastEventNonceByAddrRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryLastEventNonceByAddrRequest) ProtoMessage

func (*QueryLastEventNonceByAddrRequest) ProtoMessage()

func (*QueryLastEventNonceByAddrRequest) Reset

func (*QueryLastEventNonceByAddrRequest) Size

func (m *QueryLastEventNonceByAddrRequest) Size() (n int)

func (*QueryLastEventNonceByAddrRequest) String

func (*QueryLastEventNonceByAddrRequest) Unmarshal

func (m *QueryLastEventNonceByAddrRequest) Unmarshal(dAtA []byte) error

func (*QueryLastEventNonceByAddrRequest) XXX_DiscardUnknown

func (m *QueryLastEventNonceByAddrRequest) XXX_DiscardUnknown()

func (*QueryLastEventNonceByAddrRequest) XXX_Marshal

func (m *QueryLastEventNonceByAddrRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryLastEventNonceByAddrRequest) XXX_Merge

func (*QueryLastEventNonceByAddrRequest) XXX_Size

func (m *QueryLastEventNonceByAddrRequest) XXX_Size() int

func (*QueryLastEventNonceByAddrRequest) XXX_Unmarshal

func (m *QueryLastEventNonceByAddrRequest) XXX_Unmarshal(b []byte) error

type QueryLastEventNonceByAddrResponse

type QueryLastEventNonceByAddrResponse struct {
	EventNonce uint64 `protobuf:"varint,1,opt,name=event_nonce,json=eventNonce,proto3" json:"event_nonce,omitempty"`
}

func (*QueryLastEventNonceByAddrResponse) Descriptor

func (*QueryLastEventNonceByAddrResponse) Descriptor() ([]byte, []int)

func (*QueryLastEventNonceByAddrResponse) GetEventNonce

func (m *QueryLastEventNonceByAddrResponse) GetEventNonce() uint64

func (*QueryLastEventNonceByAddrResponse) Marshal

func (m *QueryLastEventNonceByAddrResponse) Marshal() (dAtA []byte, err error)

func (*QueryLastEventNonceByAddrResponse) MarshalTo

func (m *QueryLastEventNonceByAddrResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryLastEventNonceByAddrResponse) MarshalToSizedBuffer

func (m *QueryLastEventNonceByAddrResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryLastEventNonceByAddrResponse) ProtoMessage

func (*QueryLastEventNonceByAddrResponse) ProtoMessage()

func (*QueryLastEventNonceByAddrResponse) Reset

func (*QueryLastEventNonceByAddrResponse) Size

func (m *QueryLastEventNonceByAddrResponse) Size() (n int)

func (*QueryLastEventNonceByAddrResponse) String

func (*QueryLastEventNonceByAddrResponse) Unmarshal

func (m *QueryLastEventNonceByAddrResponse) Unmarshal(dAtA []byte) error

func (*QueryLastEventNonceByAddrResponse) XXX_DiscardUnknown

func (m *QueryLastEventNonceByAddrResponse) XXX_DiscardUnknown()

func (*QueryLastEventNonceByAddrResponse) XXX_Marshal

func (m *QueryLastEventNonceByAddrResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryLastEventNonceByAddrResponse) XXX_Merge

func (*QueryLastEventNonceByAddrResponse) XXX_Size

func (m *QueryLastEventNonceByAddrResponse) XXX_Size() int

func (*QueryLastEventNonceByAddrResponse) XXX_Unmarshal

func (m *QueryLastEventNonceByAddrResponse) XXX_Unmarshal(b []byte) error

type QueryLastObservedBlockHeightRequest

type QueryLastObservedBlockHeightRequest struct {
}

func (*QueryLastObservedBlockHeightRequest) Descriptor

func (*QueryLastObservedBlockHeightRequest) Descriptor() ([]byte, []int)

func (*QueryLastObservedBlockHeightRequest) Marshal

func (m *QueryLastObservedBlockHeightRequest) Marshal() (dAtA []byte, err error)

func (*QueryLastObservedBlockHeightRequest) MarshalTo

func (m *QueryLastObservedBlockHeightRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryLastObservedBlockHeightRequest) MarshalToSizedBuffer

func (m *QueryLastObservedBlockHeightRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryLastObservedBlockHeightRequest) ProtoMessage

func (*QueryLastObservedBlockHeightRequest) ProtoMessage()

func (*QueryLastObservedBlockHeightRequest) Reset

func (*QueryLastObservedBlockHeightRequest) Size

func (*QueryLastObservedBlockHeightRequest) String

func (*QueryLastObservedBlockHeightRequest) Unmarshal

func (m *QueryLastObservedBlockHeightRequest) Unmarshal(dAtA []byte) error

func (*QueryLastObservedBlockHeightRequest) XXX_DiscardUnknown

func (m *QueryLastObservedBlockHeightRequest) XXX_DiscardUnknown()

func (*QueryLastObservedBlockHeightRequest) XXX_Marshal

func (m *QueryLastObservedBlockHeightRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryLastObservedBlockHeightRequest) XXX_Merge

func (*QueryLastObservedBlockHeightRequest) XXX_Size

func (*QueryLastObservedBlockHeightRequest) XXX_Unmarshal

func (m *QueryLastObservedBlockHeightRequest) XXX_Unmarshal(b []byte) error

type QueryLastObservedBlockHeightResponse

type QueryLastObservedBlockHeightResponse struct {
	EthBlockHeight uint64 `protobuf:"varint,1,opt,name=eth_block_height,json=ethBlockHeight,proto3" json:"eth_block_height,omitempty"`
	BlockHeight    uint64 `protobuf:"varint,2,opt,name=block_height,json=blockHeight,proto3" json:"block_height,omitempty"`
}

func (*QueryLastObservedBlockHeightResponse) Descriptor

func (*QueryLastObservedBlockHeightResponse) Descriptor() ([]byte, []int)

func (*QueryLastObservedBlockHeightResponse) GetBlockHeight

func (m *QueryLastObservedBlockHeightResponse) GetBlockHeight() uint64

func (*QueryLastObservedBlockHeightResponse) GetEthBlockHeight

func (m *QueryLastObservedBlockHeightResponse) GetEthBlockHeight() uint64

func (*QueryLastObservedBlockHeightResponse) Marshal

func (m *QueryLastObservedBlockHeightResponse) Marshal() (dAtA []byte, err error)

func (*QueryLastObservedBlockHeightResponse) MarshalTo

func (m *QueryLastObservedBlockHeightResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryLastObservedBlockHeightResponse) MarshalToSizedBuffer

func (m *QueryLastObservedBlockHeightResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryLastObservedBlockHeightResponse) ProtoMessage

func (*QueryLastObservedBlockHeightResponse) ProtoMessage()

func (*QueryLastObservedBlockHeightResponse) Reset

func (*QueryLastObservedBlockHeightResponse) Size

func (*QueryLastObservedBlockHeightResponse) String

func (*QueryLastObservedBlockHeightResponse) Unmarshal

func (m *QueryLastObservedBlockHeightResponse) Unmarshal(dAtA []byte) error

func (*QueryLastObservedBlockHeightResponse) XXX_DiscardUnknown

func (m *QueryLastObservedBlockHeightResponse) XXX_DiscardUnknown()

func (*QueryLastObservedBlockHeightResponse) XXX_Marshal

func (m *QueryLastObservedBlockHeightResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryLastObservedBlockHeightResponse) XXX_Merge

func (*QueryLastObservedBlockHeightResponse) XXX_Size

func (*QueryLastObservedBlockHeightResponse) XXX_Unmarshal

func (m *QueryLastObservedBlockHeightResponse) XXX_Unmarshal(b []byte) error

type QueryLastPendingBatchRequestByAddrRequest

type QueryLastPendingBatchRequestByAddrRequest struct {
	Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
}

func (*QueryLastPendingBatchRequestByAddrRequest) Descriptor

func (*QueryLastPendingBatchRequestByAddrRequest) Descriptor() ([]byte, []int)

func (*QueryLastPendingBatchRequestByAddrRequest) GetAddress

func (*QueryLastPendingBatchRequestByAddrRequest) Marshal

func (m *QueryLastPendingBatchRequestByAddrRequest) Marshal() (dAtA []byte, err error)

func (*QueryLastPendingBatchRequestByAddrRequest) MarshalTo

func (m *QueryLastPendingBatchRequestByAddrRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryLastPendingBatchRequestByAddrRequest) MarshalToSizedBuffer

func (m *QueryLastPendingBatchRequestByAddrRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryLastPendingBatchRequestByAddrRequest) ProtoMessage

func (*QueryLastPendingBatchRequestByAddrRequest) Reset

func (*QueryLastPendingBatchRequestByAddrRequest) Size

func (*QueryLastPendingBatchRequestByAddrRequest) String

func (*QueryLastPendingBatchRequestByAddrRequest) Unmarshal

func (*QueryLastPendingBatchRequestByAddrRequest) XXX_DiscardUnknown

func (m *QueryLastPendingBatchRequestByAddrRequest) XXX_DiscardUnknown()

func (*QueryLastPendingBatchRequestByAddrRequest) XXX_Marshal

func (m *QueryLastPendingBatchRequestByAddrRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryLastPendingBatchRequestByAddrRequest) XXX_Merge

func (*QueryLastPendingBatchRequestByAddrRequest) XXX_Size

func (*QueryLastPendingBatchRequestByAddrRequest) XXX_Unmarshal

type QueryLastPendingBatchRequestByAddrResponse

type QueryLastPendingBatchRequestByAddrResponse struct {
	Batch *OutgoingTxBatch `protobuf:"bytes,1,opt,name=batch,proto3" json:"batch,omitempty"`
}

func (*QueryLastPendingBatchRequestByAddrResponse) Descriptor

func (*QueryLastPendingBatchRequestByAddrResponse) GetBatch

func (*QueryLastPendingBatchRequestByAddrResponse) Marshal

func (m *QueryLastPendingBatchRequestByAddrResponse) Marshal() (dAtA []byte, err error)

func (*QueryLastPendingBatchRequestByAddrResponse) MarshalTo

func (m *QueryLastPendingBatchRequestByAddrResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryLastPendingBatchRequestByAddrResponse) MarshalToSizedBuffer

func (m *QueryLastPendingBatchRequestByAddrResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryLastPendingBatchRequestByAddrResponse) ProtoMessage

func (*QueryLastPendingBatchRequestByAddrResponse) Reset

func (*QueryLastPendingBatchRequestByAddrResponse) Size

func (*QueryLastPendingBatchRequestByAddrResponse) String

func (*QueryLastPendingBatchRequestByAddrResponse) Unmarshal

func (*QueryLastPendingBatchRequestByAddrResponse) XXX_DiscardUnknown

func (m *QueryLastPendingBatchRequestByAddrResponse) XXX_DiscardUnknown()

func (*QueryLastPendingBatchRequestByAddrResponse) XXX_Marshal

func (m *QueryLastPendingBatchRequestByAddrResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryLastPendingBatchRequestByAddrResponse) XXX_Merge

func (*QueryLastPendingBatchRequestByAddrResponse) XXX_Size

func (*QueryLastPendingBatchRequestByAddrResponse) XXX_Unmarshal

type QueryLastPendingValsetRequestByAddrRequest

type QueryLastPendingValsetRequestByAddrRequest struct {
	Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
}

func (*QueryLastPendingValsetRequestByAddrRequest) Descriptor

func (*QueryLastPendingValsetRequestByAddrRequest) GetAddress

func (*QueryLastPendingValsetRequestByAddrRequest) Marshal

func (m *QueryLastPendingValsetRequestByAddrRequest) Marshal() (dAtA []byte, err error)

func (*QueryLastPendingValsetRequestByAddrRequest) MarshalTo

func (m *QueryLastPendingValsetRequestByAddrRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryLastPendingValsetRequestByAddrRequest) MarshalToSizedBuffer

func (m *QueryLastPendingValsetRequestByAddrRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryLastPendingValsetRequestByAddrRequest) ProtoMessage

func (*QueryLastPendingValsetRequestByAddrRequest) Reset

func (*QueryLastPendingValsetRequestByAddrRequest) Size

func (*QueryLastPendingValsetRequestByAddrRequest) String

func (*QueryLastPendingValsetRequestByAddrRequest) Unmarshal

func (*QueryLastPendingValsetRequestByAddrRequest) XXX_DiscardUnknown

func (m *QueryLastPendingValsetRequestByAddrRequest) XXX_DiscardUnknown()

func (*QueryLastPendingValsetRequestByAddrRequest) XXX_Marshal

func (m *QueryLastPendingValsetRequestByAddrRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryLastPendingValsetRequestByAddrRequest) XXX_Merge

func (*QueryLastPendingValsetRequestByAddrRequest) XXX_Size

func (*QueryLastPendingValsetRequestByAddrRequest) XXX_Unmarshal

type QueryLastPendingValsetRequestByAddrResponse

type QueryLastPendingValsetRequestByAddrResponse struct {
	Valsets []*Valset `protobuf:"bytes,1,rep,name=valsets,proto3" json:"valsets,omitempty"`
}

func (*QueryLastPendingValsetRequestByAddrResponse) Descriptor

func (*QueryLastPendingValsetRequestByAddrResponse) GetValsets

func (*QueryLastPendingValsetRequestByAddrResponse) Marshal

func (m *QueryLastPendingValsetRequestByAddrResponse) Marshal() (dAtA []byte, err error)

func (*QueryLastPendingValsetRequestByAddrResponse) MarshalTo

func (*QueryLastPendingValsetRequestByAddrResponse) MarshalToSizedBuffer

func (m *QueryLastPendingValsetRequestByAddrResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryLastPendingValsetRequestByAddrResponse) ProtoMessage

func (*QueryLastPendingValsetRequestByAddrResponse) Reset

func (*QueryLastPendingValsetRequestByAddrResponse) Size

func (*QueryLastPendingValsetRequestByAddrResponse) String

func (*QueryLastPendingValsetRequestByAddrResponse) Unmarshal

func (*QueryLastPendingValsetRequestByAddrResponse) XXX_DiscardUnknown

func (m *QueryLastPendingValsetRequestByAddrResponse) XXX_DiscardUnknown()

func (*QueryLastPendingValsetRequestByAddrResponse) XXX_Marshal

func (m *QueryLastPendingValsetRequestByAddrResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryLastPendingValsetRequestByAddrResponse) XXX_Merge

func (*QueryLastPendingValsetRequestByAddrResponse) XXX_Size

func (*QueryLastPendingValsetRequestByAddrResponse) XXX_Unmarshal

type QueryLastValsetRequestsRequest

type QueryLastValsetRequestsRequest struct {
}

func (*QueryLastValsetRequestsRequest) Descriptor

func (*QueryLastValsetRequestsRequest) Descriptor() ([]byte, []int)

func (*QueryLastValsetRequestsRequest) Marshal

func (m *QueryLastValsetRequestsRequest) Marshal() (dAtA []byte, err error)

func (*QueryLastValsetRequestsRequest) MarshalTo

func (m *QueryLastValsetRequestsRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryLastValsetRequestsRequest) MarshalToSizedBuffer

func (m *QueryLastValsetRequestsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryLastValsetRequestsRequest) ProtoMessage

func (*QueryLastValsetRequestsRequest) ProtoMessage()

func (*QueryLastValsetRequestsRequest) Reset

func (m *QueryLastValsetRequestsRequest) Reset()

func (*QueryLastValsetRequestsRequest) Size

func (m *QueryLastValsetRequestsRequest) Size() (n int)

func (*QueryLastValsetRequestsRequest) String

func (*QueryLastValsetRequestsRequest) Unmarshal

func (m *QueryLastValsetRequestsRequest) Unmarshal(dAtA []byte) error

func (*QueryLastValsetRequestsRequest) XXX_DiscardUnknown

func (m *QueryLastValsetRequestsRequest) XXX_DiscardUnknown()

func (*QueryLastValsetRequestsRequest) XXX_Marshal

func (m *QueryLastValsetRequestsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryLastValsetRequestsRequest) XXX_Merge

func (m *QueryLastValsetRequestsRequest) XXX_Merge(src proto.Message)

func (*QueryLastValsetRequestsRequest) XXX_Size

func (m *QueryLastValsetRequestsRequest) XXX_Size() int

func (*QueryLastValsetRequestsRequest) XXX_Unmarshal

func (m *QueryLastValsetRequestsRequest) XXX_Unmarshal(b []byte) error

type QueryLastValsetRequestsResponse

type QueryLastValsetRequestsResponse struct {
	Valsets []*Valset `protobuf:"bytes,1,rep,name=valsets,proto3" json:"valsets,omitempty"`
}

func (*QueryLastValsetRequestsResponse) Descriptor

func (*QueryLastValsetRequestsResponse) Descriptor() ([]byte, []int)

func (*QueryLastValsetRequestsResponse) GetValsets

func (m *QueryLastValsetRequestsResponse) GetValsets() []*Valset

func (*QueryLastValsetRequestsResponse) Marshal

func (m *QueryLastValsetRequestsResponse) Marshal() (dAtA []byte, err error)

func (*QueryLastValsetRequestsResponse) MarshalTo

func (m *QueryLastValsetRequestsResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryLastValsetRequestsResponse) MarshalToSizedBuffer

func (m *QueryLastValsetRequestsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryLastValsetRequestsResponse) ProtoMessage

func (*QueryLastValsetRequestsResponse) ProtoMessage()

func (*QueryLastValsetRequestsResponse) Reset

func (*QueryLastValsetRequestsResponse) Size

func (m *QueryLastValsetRequestsResponse) Size() (n int)

func (*QueryLastValsetRequestsResponse) String

func (*QueryLastValsetRequestsResponse) Unmarshal

func (m *QueryLastValsetRequestsResponse) Unmarshal(dAtA []byte) error

func (*QueryLastValsetRequestsResponse) XXX_DiscardUnknown

func (m *QueryLastValsetRequestsResponse) XXX_DiscardUnknown()

func (*QueryLastValsetRequestsResponse) XXX_Marshal

func (m *QueryLastValsetRequestsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryLastValsetRequestsResponse) XXX_Merge

func (m *QueryLastValsetRequestsResponse) XXX_Merge(src proto.Message)

func (*QueryLastValsetRequestsResponse) XXX_Size

func (m *QueryLastValsetRequestsResponse) XXX_Size() int

func (*QueryLastValsetRequestsResponse) XXX_Unmarshal

func (m *QueryLastValsetRequestsResponse) XXX_Unmarshal(b []byte) error

type QueryOutgoingTxBatchesRequest

type QueryOutgoingTxBatchesRequest struct {
}

func (*QueryOutgoingTxBatchesRequest) Descriptor

func (*QueryOutgoingTxBatchesRequest) Descriptor() ([]byte, []int)

func (*QueryOutgoingTxBatchesRequest) Marshal

func (m *QueryOutgoingTxBatchesRequest) Marshal() (dAtA []byte, err error)

func (*QueryOutgoingTxBatchesRequest) MarshalTo

func (m *QueryOutgoingTxBatchesRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryOutgoingTxBatchesRequest) MarshalToSizedBuffer

func (m *QueryOutgoingTxBatchesRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryOutgoingTxBatchesRequest) ProtoMessage

func (*QueryOutgoingTxBatchesRequest) ProtoMessage()

func (*QueryOutgoingTxBatchesRequest) Reset

func (m *QueryOutgoingTxBatchesRequest) Reset()

func (*QueryOutgoingTxBatchesRequest) Size

func (m *QueryOutgoingTxBatchesRequest) Size() (n int)

func (*QueryOutgoingTxBatchesRequest) String

func (*QueryOutgoingTxBatchesRequest) Unmarshal

func (m *QueryOutgoingTxBatchesRequest) Unmarshal(dAtA []byte) error

func (*QueryOutgoingTxBatchesRequest) XXX_DiscardUnknown

func (m *QueryOutgoingTxBatchesRequest) XXX_DiscardUnknown()

func (*QueryOutgoingTxBatchesRequest) XXX_Marshal

func (m *QueryOutgoingTxBatchesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryOutgoingTxBatchesRequest) XXX_Merge

func (m *QueryOutgoingTxBatchesRequest) XXX_Merge(src proto.Message)

func (*QueryOutgoingTxBatchesRequest) XXX_Size

func (m *QueryOutgoingTxBatchesRequest) XXX_Size() int

func (*QueryOutgoingTxBatchesRequest) XXX_Unmarshal

func (m *QueryOutgoingTxBatchesRequest) XXX_Unmarshal(b []byte) error

type QueryOutgoingTxBatchesResponse

type QueryOutgoingTxBatchesResponse struct {
	Batches []*OutgoingTxBatch `protobuf:"bytes,1,rep,name=batches,proto3" json:"batches,omitempty"`
}

func (*QueryOutgoingTxBatchesResponse) Descriptor

func (*QueryOutgoingTxBatchesResponse) Descriptor() ([]byte, []int)

func (*QueryOutgoingTxBatchesResponse) GetBatches

func (*QueryOutgoingTxBatchesResponse) Marshal

func (m *QueryOutgoingTxBatchesResponse) Marshal() (dAtA []byte, err error)

func (*QueryOutgoingTxBatchesResponse) MarshalTo

func (m *QueryOutgoingTxBatchesResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryOutgoingTxBatchesResponse) MarshalToSizedBuffer

func (m *QueryOutgoingTxBatchesResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryOutgoingTxBatchesResponse) ProtoMessage

func (*QueryOutgoingTxBatchesResponse) ProtoMessage()

func (*QueryOutgoingTxBatchesResponse) Reset

func (m *QueryOutgoingTxBatchesResponse) Reset()

func (*QueryOutgoingTxBatchesResponse) Size

func (m *QueryOutgoingTxBatchesResponse) Size() (n int)

func (*QueryOutgoingTxBatchesResponse) String

func (*QueryOutgoingTxBatchesResponse) Unmarshal

func (m *QueryOutgoingTxBatchesResponse) Unmarshal(dAtA []byte) error

func (*QueryOutgoingTxBatchesResponse) XXX_DiscardUnknown

func (m *QueryOutgoingTxBatchesResponse) XXX_DiscardUnknown()

func (*QueryOutgoingTxBatchesResponse) XXX_Marshal

func (m *QueryOutgoingTxBatchesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryOutgoingTxBatchesResponse) XXX_Merge

func (m *QueryOutgoingTxBatchesResponse) XXX_Merge(src proto.Message)

func (*QueryOutgoingTxBatchesResponse) XXX_Size

func (m *QueryOutgoingTxBatchesResponse) XXX_Size() int

func (*QueryOutgoingTxBatchesResponse) XXX_Unmarshal

func (m *QueryOutgoingTxBatchesResponse) XXX_Unmarshal(b []byte) error

type QueryParamsRequest

type QueryParamsRequest struct {
}

func (*QueryParamsRequest) Descriptor

func (*QueryParamsRequest) Descriptor() ([]byte, []int)

func (*QueryParamsRequest) Marshal

func (m *QueryParamsRequest) Marshal() (dAtA []byte, err error)

func (*QueryParamsRequest) MarshalTo

func (m *QueryParamsRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryParamsRequest) MarshalToSizedBuffer

func (m *QueryParamsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryParamsRequest) ProtoMessage

func (*QueryParamsRequest) ProtoMessage()

func (*QueryParamsRequest) Reset

func (m *QueryParamsRequest) Reset()

func (*QueryParamsRequest) Size

func (m *QueryParamsRequest) Size() (n int)

func (*QueryParamsRequest) String

func (m *QueryParamsRequest) String() string

func (*QueryParamsRequest) Unmarshal

func (m *QueryParamsRequest) Unmarshal(dAtA []byte) error

func (*QueryParamsRequest) XXX_DiscardUnknown

func (m *QueryParamsRequest) XXX_DiscardUnknown()

func (*QueryParamsRequest) XXX_Marshal

func (m *QueryParamsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryParamsRequest) XXX_Merge

func (m *QueryParamsRequest) XXX_Merge(src proto.Message)

func (*QueryParamsRequest) XXX_Size

func (m *QueryParamsRequest) XXX_Size() int

func (*QueryParamsRequest) XXX_Unmarshal

func (m *QueryParamsRequest) XXX_Unmarshal(b []byte) error

type QueryParamsResponse

type QueryParamsResponse struct {
	Params Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params"`
}

func (*QueryParamsResponse) Descriptor

func (*QueryParamsResponse) Descriptor() ([]byte, []int)

func (*QueryParamsResponse) GetParams

func (m *QueryParamsResponse) GetParams() Params

func (*QueryParamsResponse) Marshal

func (m *QueryParamsResponse) Marshal() (dAtA []byte, err error)

func (*QueryParamsResponse) MarshalTo

func (m *QueryParamsResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryParamsResponse) MarshalToSizedBuffer

func (m *QueryParamsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryParamsResponse) ProtoMessage

func (*QueryParamsResponse) ProtoMessage()

func (*QueryParamsResponse) Reset

func (m *QueryParamsResponse) Reset()

func (*QueryParamsResponse) Size

func (m *QueryParamsResponse) Size() (n int)

func (*QueryParamsResponse) String

func (m *QueryParamsResponse) String() string

func (*QueryParamsResponse) Unmarshal

func (m *QueryParamsResponse) Unmarshal(dAtA []byte) error

func (*QueryParamsResponse) XXX_DiscardUnknown

func (m *QueryParamsResponse) XXX_DiscardUnknown()

func (*QueryParamsResponse) XXX_Marshal

func (m *QueryParamsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryParamsResponse) XXX_Merge

func (m *QueryParamsResponse) XXX_Merge(src proto.Message)

func (*QueryParamsResponse) XXX_Size

func (m *QueryParamsResponse) XXX_Size() int

func (*QueryParamsResponse) XXX_Unmarshal

func (m *QueryParamsResponse) XXX_Unmarshal(b []byte) error

type QueryPendingSendToEthRequest

type QueryPendingSendToEthRequest struct {
	SenderAddress string `protobuf:"bytes,1,opt,name=sender_address,json=senderAddress,proto3" json:"sender_address,omitempty"`
}

func (*QueryPendingSendToEthRequest) Descriptor

func (*QueryPendingSendToEthRequest) Descriptor() ([]byte, []int)

func (*QueryPendingSendToEthRequest) GetSenderAddress

func (m *QueryPendingSendToEthRequest) GetSenderAddress() string

func (*QueryPendingSendToEthRequest) Marshal

func (m *QueryPendingSendToEthRequest) Marshal() (dAtA []byte, err error)

func (*QueryPendingSendToEthRequest) MarshalTo

func (m *QueryPendingSendToEthRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryPendingSendToEthRequest) MarshalToSizedBuffer

func (m *QueryPendingSendToEthRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryPendingSendToEthRequest) ProtoMessage

func (*QueryPendingSendToEthRequest) ProtoMessage()

func (*QueryPendingSendToEthRequest) Reset

func (m *QueryPendingSendToEthRequest) Reset()

func (*QueryPendingSendToEthRequest) Size

func (m *QueryPendingSendToEthRequest) Size() (n int)

func (*QueryPendingSendToEthRequest) String

func (*QueryPendingSendToEthRequest) Unmarshal

func (m *QueryPendingSendToEthRequest) Unmarshal(dAtA []byte) error

func (*QueryPendingSendToEthRequest) XXX_DiscardUnknown

func (m *QueryPendingSendToEthRequest) XXX_DiscardUnknown()

func (*QueryPendingSendToEthRequest) XXX_Marshal

func (m *QueryPendingSendToEthRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryPendingSendToEthRequest) XXX_Merge

func (m *QueryPendingSendToEthRequest) XXX_Merge(src proto.Message)

func (*QueryPendingSendToEthRequest) XXX_Size

func (m *QueryPendingSendToEthRequest) XXX_Size() int

func (*QueryPendingSendToEthRequest) XXX_Unmarshal

func (m *QueryPendingSendToEthRequest) XXX_Unmarshal(b []byte) error

type QueryPendingSendToEthResponse

type QueryPendingSendToEthResponse struct {
	TransfersInBatches []*OutgoingTransferTx `protobuf:"bytes,1,rep,name=transfers_in_batches,json=transfersInBatches,proto3" json:"transfers_in_batches,omitempty"`
	UnbatchedTransfers []*OutgoingTransferTx `protobuf:"bytes,2,rep,name=unbatched_transfers,json=unbatchedTransfers,proto3" json:"unbatched_transfers,omitempty"`
}

func (*QueryPendingSendToEthResponse) Descriptor

func (*QueryPendingSendToEthResponse) Descriptor() ([]byte, []int)

func (*QueryPendingSendToEthResponse) GetTransfersInBatches

func (m *QueryPendingSendToEthResponse) GetTransfersInBatches() []*OutgoingTransferTx

func (*QueryPendingSendToEthResponse) GetUnbatchedTransfers

func (m *QueryPendingSendToEthResponse) GetUnbatchedTransfers() []*OutgoingTransferTx

func (*QueryPendingSendToEthResponse) Marshal

func (m *QueryPendingSendToEthResponse) Marshal() (dAtA []byte, err error)

func (*QueryPendingSendToEthResponse) MarshalTo

func (m *QueryPendingSendToEthResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryPendingSendToEthResponse) MarshalToSizedBuffer

func (m *QueryPendingSendToEthResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryPendingSendToEthResponse) ProtoMessage

func (*QueryPendingSendToEthResponse) ProtoMessage()

func (*QueryPendingSendToEthResponse) Reset

func (m *QueryPendingSendToEthResponse) Reset()

func (*QueryPendingSendToEthResponse) Size

func (m *QueryPendingSendToEthResponse) Size() (n int)

func (*QueryPendingSendToEthResponse) String

func (*QueryPendingSendToEthResponse) Unmarshal

func (m *QueryPendingSendToEthResponse) Unmarshal(dAtA []byte) error

func (*QueryPendingSendToEthResponse) XXX_DiscardUnknown

func (m *QueryPendingSendToEthResponse) XXX_DiscardUnknown()

func (*QueryPendingSendToEthResponse) XXX_Marshal

func (m *QueryPendingSendToEthResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryPendingSendToEthResponse) XXX_Merge

func (m *QueryPendingSendToEthResponse) XXX_Merge(src proto.Message)

func (*QueryPendingSendToEthResponse) XXX_Size

func (m *QueryPendingSendToEthResponse) XXX_Size() int

func (*QueryPendingSendToEthResponse) XXX_Unmarshal

func (m *QueryPendingSendToEthResponse) XXX_Unmarshal(b []byte) error

type QueryProjectedBatchTimeoutHeightRequest

type QueryProjectedBatchTimeoutHeightRequest struct {
}

func (*QueryProjectedBatchTimeoutHeightRequest) Descriptor

func (*QueryProjectedBatchTimeoutHeightRequest) Descriptor() ([]byte, []int)

func (*QueryProjectedBatchTimeoutHeightRequest) Marshal

func (m *QueryProjectedBatchTimeoutHeightRequest) Marshal() (dAtA []byte, err error)

func (*QueryProjectedBatchTimeoutHeightRequest) MarshalTo

func (m *QueryProjectedBatchTimeoutHeightRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryProjectedBatchTimeoutHeightRequest) MarshalToSizedBuffer

func (m *QueryProjectedBatchTimeoutHeightRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryProjectedBatchTimeoutHeightRequest) ProtoMessage

func (*QueryProjectedBatchTimeoutHeightRequest) Reset

func (*QueryProjectedBatchTimeoutHeightRequest) Size

func (*QueryProjectedBatchTimeoutHeightRequest) String

func (*QueryProjectedBatchTimeoutHeightRequest) Unmarshal

func (m *QueryProjectedBatchTimeoutHeightRequest) Unmarshal(dAtA []byte) error

func (*QueryProjectedBatchTimeoutHeightRequest) XXX_DiscardUnknown

func (m *QueryProjectedBatchTimeoutHeightRequest) XXX_DiscardUnknown()

func (*QueryProjectedBatchTimeoutHeightRequest) XXX_Marshal

func (m *QueryProjectedBatchTimeoutHeightRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryProjectedBatchTimeoutHeightRequest) XXX_Merge

func (*QueryProjectedBatchTimeoutHeightRequest) XXX_Size

func (*QueryProjectedBatchTimeoutHeightRequest) XXX_Unmarshal

func (m *QueryProjectedBatchTimeoutHeightRequest) XXX_Unmarshal(b []byte) error

type QueryProjectedBatchTimeoutHeightResponse

type QueryProjectedBatchTimeoutHeightResponse struct {
	TimeoutHeight uint64 `protobuf:"varint,1,opt,name=timeout_height,json=timeoutHeight,proto3" json:"timeout_height,omitempty"`
}

func (*QueryProjectedBatchTimeoutHeightResponse) Descriptor

func (*QueryProjectedBatchTimeoutHeightResponse) Descriptor() ([]byte, []int)

func (*QueryProjectedBatchTimeoutHeightResponse) GetTimeoutHeight

func (m *QueryProjectedBatchTimeoutHeightResponse) GetTimeoutHeight() uint64

func (*QueryProjectedBatchTimeoutHeightResponse) Marshal

func (m *QueryProjectedBatchTimeoutHeightResponse) Marshal() (dAtA []byte, err error)

func (*QueryProjectedBatchTimeoutHeightResponse) MarshalTo

func (m *QueryProjectedBatchTimeoutHeightResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryProjectedBatchTimeoutHeightResponse) MarshalToSizedBuffer

func (m *QueryProjectedBatchTimeoutHeightResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryProjectedBatchTimeoutHeightResponse) ProtoMessage

func (*QueryProjectedBatchTimeoutHeightResponse) Reset

func (*QueryProjectedBatchTimeoutHeightResponse) Size

func (*QueryProjectedBatchTimeoutHeightResponse) String

func (*QueryProjectedBatchTimeoutHeightResponse) Unmarshal

func (*QueryProjectedBatchTimeoutHeightResponse) XXX_DiscardUnknown

func (m *QueryProjectedBatchTimeoutHeightResponse) XXX_DiscardUnknown()

func (*QueryProjectedBatchTimeoutHeightResponse) XXX_Marshal

func (m *QueryProjectedBatchTimeoutHeightResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryProjectedBatchTimeoutHeightResponse) XXX_Merge

func (*QueryProjectedBatchTimeoutHeightResponse) XXX_Size

func (*QueryProjectedBatchTimeoutHeightResponse) XXX_Unmarshal

func (m *QueryProjectedBatchTimeoutHeightResponse) XXX_Unmarshal(b []byte) error

type QueryServer

type QueryServer interface {
	// Deployments queries deployments
	Params(context.Context, *QueryParamsRequest) (*QueryParamsResponse, error)
	CurrentValset(context.Context, *QueryCurrentValsetRequest) (*QueryCurrentValsetResponse, error)
	ValsetRequest(context.Context, *QueryValsetRequestRequest) (*QueryValsetRequestResponse, error)
	ValsetConfirm(context.Context, *QueryValsetConfirmRequest) (*QueryValsetConfirmResponse, error)
	ValsetConfirmsByNonce(context.Context, *QueryValsetConfirmsByNonceRequest) (*QueryValsetConfirmsByNonceResponse, error)
	LastValsetRequests(context.Context, *QueryLastValsetRequestsRequest) (*QueryLastValsetRequestsResponse, error)
	LastPendingValsetRequestByAddr(context.Context, *QueryLastPendingValsetRequestByAddrRequest) (*QueryLastPendingValsetRequestByAddrResponse, error)
	LastPendingBatchRequestByAddr(context.Context, *QueryLastPendingBatchRequestByAddrRequest) (*QueryLastPendingBatchRequestByAddrResponse, error)
	LastEventNonceByAddr(context.Context, *QueryLastEventNonceByAddrRequest) (*QueryLastEventNonceByAddrResponse, error)
	LastEventBlockHeightByAddr(context.Context, *QueryLastEventBlockHeightByAddrRequest) (*QueryLastEventBlockHeightByAddrResponse, error)
	BatchFees(context.Context, *QueryBatchFeeRequest) (*QueryBatchFeeResponse, error)
	LastObservedBlockHeight(context.Context, *QueryLastObservedBlockHeightRequest) (*QueryLastObservedBlockHeightResponse, error)
	OutgoingTxBatches(context.Context, *QueryOutgoingTxBatchesRequest) (*QueryOutgoingTxBatchesResponse, error)
	BatchRequestByNonce(context.Context, *QueryBatchRequestByNonceRequest) (*QueryBatchRequestByNonceResponse, error)
	BatchConfirm(context.Context, *QueryBatchConfirmRequest) (*QueryBatchConfirmResponse, error)
	BatchConfirms(context.Context, *QueryBatchConfirmsRequest) (*QueryBatchConfirmsResponse, error)
	ERC20ToDenom(context.Context, *QueryERC20ToDenomRequest) (*QueryERC20ToDenomResponse, error)
	DenomToERC20(context.Context, *QueryDenomToERC20Request) (*QueryDenomToERC20Response, error)
	GetDelegateKeyByValidator(context.Context, *QueryDelegateKeyByValidatorRequest) (*QueryDelegateKeyByValidatorResponse, error)
	GetDelegateKeyByEth(context.Context, *QueryDelegateKeyByEthRequest) (*QueryDelegateKeyByEthResponse, error)
	GetDelegateKeyByOrchestrator(context.Context, *QueryDelegateKeyByOrchestratorRequest) (*QueryDelegateKeyByOrchestratorResponse, error)
	GetPendingSendToEth(context.Context, *QueryPendingSendToEthRequest) (*QueryPendingSendToEthResponse, error)
	GetIbcSequenceHeightByChannel(context.Context, *QueryIbcSequenceHeightRequest) (*QueryIbcSequenceHeightResponse, error)
	ProjectedBatchTimeoutHeight(context.Context, *QueryProjectedBatchTimeoutHeightRequest) (*QueryProjectedBatchTimeoutHeightResponse, error)
	BridgeTokens(context.Context, *QueryBridgeTokensRequest) (*QueryBridgeTokensResponse, error)
}

QueryServer is the server API for Query service.

type QueryValsetConfirmRequest

type QueryValsetConfirmRequest struct {
	Nonce   uint64 `protobuf:"varint,1,opt,name=nonce,proto3" json:"nonce,omitempty"`
	Address string `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"`
}

func (*QueryValsetConfirmRequest) Descriptor

func (*QueryValsetConfirmRequest) Descriptor() ([]byte, []int)

func (*QueryValsetConfirmRequest) GetAddress

func (m *QueryValsetConfirmRequest) GetAddress() string

func (*QueryValsetConfirmRequest) GetNonce

func (m *QueryValsetConfirmRequest) GetNonce() uint64

func (*QueryValsetConfirmRequest) Marshal

func (m *QueryValsetConfirmRequest) Marshal() (dAtA []byte, err error)

func (*QueryValsetConfirmRequest) MarshalTo

func (m *QueryValsetConfirmRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryValsetConfirmRequest) MarshalToSizedBuffer

func (m *QueryValsetConfirmRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryValsetConfirmRequest) ProtoMessage

func (*QueryValsetConfirmRequest) ProtoMessage()

func (*QueryValsetConfirmRequest) Reset

func (m *QueryValsetConfirmRequest) Reset()

func (*QueryValsetConfirmRequest) Size

func (m *QueryValsetConfirmRequest) Size() (n int)

func (*QueryValsetConfirmRequest) String

func (m *QueryValsetConfirmRequest) String() string

func (*QueryValsetConfirmRequest) Unmarshal

func (m *QueryValsetConfirmRequest) Unmarshal(dAtA []byte) error

func (*QueryValsetConfirmRequest) XXX_DiscardUnknown

func (m *QueryValsetConfirmRequest) XXX_DiscardUnknown()

func (*QueryValsetConfirmRequest) XXX_Marshal

func (m *QueryValsetConfirmRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryValsetConfirmRequest) XXX_Merge

func (m *QueryValsetConfirmRequest) XXX_Merge(src proto.Message)

func (*QueryValsetConfirmRequest) XXX_Size

func (m *QueryValsetConfirmRequest) XXX_Size() int

func (*QueryValsetConfirmRequest) XXX_Unmarshal

func (m *QueryValsetConfirmRequest) XXX_Unmarshal(b []byte) error

type QueryValsetConfirmResponse

type QueryValsetConfirmResponse struct {
	Confirm *MsgValsetConfirm `protobuf:"bytes,1,opt,name=confirm,proto3" json:"confirm,omitempty"`
}

func (*QueryValsetConfirmResponse) Descriptor

func (*QueryValsetConfirmResponse) Descriptor() ([]byte, []int)

func (*QueryValsetConfirmResponse) GetConfirm

func (*QueryValsetConfirmResponse) Marshal

func (m *QueryValsetConfirmResponse) Marshal() (dAtA []byte, err error)

func (*QueryValsetConfirmResponse) MarshalTo

func (m *QueryValsetConfirmResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryValsetConfirmResponse) MarshalToSizedBuffer

func (m *QueryValsetConfirmResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryValsetConfirmResponse) ProtoMessage

func (*QueryValsetConfirmResponse) ProtoMessage()

func (*QueryValsetConfirmResponse) Reset

func (m *QueryValsetConfirmResponse) Reset()

func (*QueryValsetConfirmResponse) Size

func (m *QueryValsetConfirmResponse) Size() (n int)

func (*QueryValsetConfirmResponse) String

func (m *QueryValsetConfirmResponse) String() string

func (*QueryValsetConfirmResponse) Unmarshal

func (m *QueryValsetConfirmResponse) Unmarshal(dAtA []byte) error

func (*QueryValsetConfirmResponse) XXX_DiscardUnknown

func (m *QueryValsetConfirmResponse) XXX_DiscardUnknown()

func (*QueryValsetConfirmResponse) XXX_Marshal

func (m *QueryValsetConfirmResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryValsetConfirmResponse) XXX_Merge

func (m *QueryValsetConfirmResponse) XXX_Merge(src proto.Message)

func (*QueryValsetConfirmResponse) XXX_Size

func (m *QueryValsetConfirmResponse) XXX_Size() int

func (*QueryValsetConfirmResponse) XXX_Unmarshal

func (m *QueryValsetConfirmResponse) XXX_Unmarshal(b []byte) error

type QueryValsetConfirmsByNonceRequest

type QueryValsetConfirmsByNonceRequest struct {
	Nonce uint64 `protobuf:"varint,1,opt,name=nonce,proto3" json:"nonce,omitempty"`
}

func (*QueryValsetConfirmsByNonceRequest) Descriptor

func (*QueryValsetConfirmsByNonceRequest) Descriptor() ([]byte, []int)

func (*QueryValsetConfirmsByNonceRequest) GetNonce

func (*QueryValsetConfirmsByNonceRequest) Marshal

func (m *QueryValsetConfirmsByNonceRequest) Marshal() (dAtA []byte, err error)

func (*QueryValsetConfirmsByNonceRequest) MarshalTo

func (m *QueryValsetConfirmsByNonceRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryValsetConfirmsByNonceRequest) MarshalToSizedBuffer

func (m *QueryValsetConfirmsByNonceRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryValsetConfirmsByNonceRequest) ProtoMessage

func (*QueryValsetConfirmsByNonceRequest) ProtoMessage()

func (*QueryValsetConfirmsByNonceRequest) Reset

func (*QueryValsetConfirmsByNonceRequest) Size

func (m *QueryValsetConfirmsByNonceRequest) Size() (n int)

func (*QueryValsetConfirmsByNonceRequest) String

func (*QueryValsetConfirmsByNonceRequest) Unmarshal

func (m *QueryValsetConfirmsByNonceRequest) Unmarshal(dAtA []byte) error

func (*QueryValsetConfirmsByNonceRequest) XXX_DiscardUnknown

func (m *QueryValsetConfirmsByNonceRequest) XXX_DiscardUnknown()

func (*QueryValsetConfirmsByNonceRequest) XXX_Marshal

func (m *QueryValsetConfirmsByNonceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryValsetConfirmsByNonceRequest) XXX_Merge

func (*QueryValsetConfirmsByNonceRequest) XXX_Size

func (m *QueryValsetConfirmsByNonceRequest) XXX_Size() int

func (*QueryValsetConfirmsByNonceRequest) XXX_Unmarshal

func (m *QueryValsetConfirmsByNonceRequest) XXX_Unmarshal(b []byte) error

type QueryValsetConfirmsByNonceResponse

type QueryValsetConfirmsByNonceResponse struct {
	Confirms []*MsgValsetConfirm `protobuf:"bytes,1,rep,name=confirms,proto3" json:"confirms,omitempty"`
}

func (*QueryValsetConfirmsByNonceResponse) Descriptor

func (*QueryValsetConfirmsByNonceResponse) Descriptor() ([]byte, []int)

func (*QueryValsetConfirmsByNonceResponse) GetConfirms

func (*QueryValsetConfirmsByNonceResponse) Marshal

func (m *QueryValsetConfirmsByNonceResponse) Marshal() (dAtA []byte, err error)

func (*QueryValsetConfirmsByNonceResponse) MarshalTo

func (m *QueryValsetConfirmsByNonceResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryValsetConfirmsByNonceResponse) MarshalToSizedBuffer

func (m *QueryValsetConfirmsByNonceResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryValsetConfirmsByNonceResponse) ProtoMessage

func (*QueryValsetConfirmsByNonceResponse) ProtoMessage()

func (*QueryValsetConfirmsByNonceResponse) Reset

func (*QueryValsetConfirmsByNonceResponse) Size

func (*QueryValsetConfirmsByNonceResponse) String

func (*QueryValsetConfirmsByNonceResponse) Unmarshal

func (m *QueryValsetConfirmsByNonceResponse) Unmarshal(dAtA []byte) error

func (*QueryValsetConfirmsByNonceResponse) XXX_DiscardUnknown

func (m *QueryValsetConfirmsByNonceResponse) XXX_DiscardUnknown()

func (*QueryValsetConfirmsByNonceResponse) XXX_Marshal

func (m *QueryValsetConfirmsByNonceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryValsetConfirmsByNonceResponse) XXX_Merge

func (*QueryValsetConfirmsByNonceResponse) XXX_Size

func (*QueryValsetConfirmsByNonceResponse) XXX_Unmarshal

func (m *QueryValsetConfirmsByNonceResponse) XXX_Unmarshal(b []byte) error

type QueryValsetRequestRequest

type QueryValsetRequestRequest struct {
	Nonce uint64 `protobuf:"varint,1,opt,name=nonce,proto3" json:"nonce,omitempty"`
}

func (*QueryValsetRequestRequest) Descriptor

func (*QueryValsetRequestRequest) Descriptor() ([]byte, []int)

func (*QueryValsetRequestRequest) GetNonce

func (m *QueryValsetRequestRequest) GetNonce() uint64

func (*QueryValsetRequestRequest) Marshal

func (m *QueryValsetRequestRequest) Marshal() (dAtA []byte, err error)

func (*QueryValsetRequestRequest) MarshalTo

func (m *QueryValsetRequestRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryValsetRequestRequest) MarshalToSizedBuffer

func (m *QueryValsetRequestRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryValsetRequestRequest) ProtoMessage

func (*QueryValsetRequestRequest) ProtoMessage()

func (*QueryValsetRequestRequest) Reset

func (m *QueryValsetRequestRequest) Reset()

func (*QueryValsetRequestRequest) Size

func (m *QueryValsetRequestRequest) Size() (n int)

func (*QueryValsetRequestRequest) String

func (m *QueryValsetRequestRequest) String() string

func (*QueryValsetRequestRequest) Unmarshal

func (m *QueryValsetRequestRequest) Unmarshal(dAtA []byte) error

func (*QueryValsetRequestRequest) XXX_DiscardUnknown

func (m *QueryValsetRequestRequest) XXX_DiscardUnknown()

func (*QueryValsetRequestRequest) XXX_Marshal

func (m *QueryValsetRequestRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryValsetRequestRequest) XXX_Merge

func (m *QueryValsetRequestRequest) XXX_Merge(src proto.Message)

func (*QueryValsetRequestRequest) XXX_Size

func (m *QueryValsetRequestRequest) XXX_Size() int

func (*QueryValsetRequestRequest) XXX_Unmarshal

func (m *QueryValsetRequestRequest) XXX_Unmarshal(b []byte) error

type QueryValsetRequestResponse

type QueryValsetRequestResponse struct {
	Valset *Valset `protobuf:"bytes,1,opt,name=valset,proto3" json:"valset,omitempty"`
}

func (*QueryValsetRequestResponse) Descriptor

func (*QueryValsetRequestResponse) Descriptor() ([]byte, []int)

func (*QueryValsetRequestResponse) GetValset

func (m *QueryValsetRequestResponse) GetValset() *Valset

func (*QueryValsetRequestResponse) Marshal

func (m *QueryValsetRequestResponse) Marshal() (dAtA []byte, err error)

func (*QueryValsetRequestResponse) MarshalTo

func (m *QueryValsetRequestResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryValsetRequestResponse) MarshalToSizedBuffer

func (m *QueryValsetRequestResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryValsetRequestResponse) ProtoMessage

func (*QueryValsetRequestResponse) ProtoMessage()

func (*QueryValsetRequestResponse) Reset

func (m *QueryValsetRequestResponse) Reset()

func (*QueryValsetRequestResponse) Size

func (m *QueryValsetRequestResponse) Size() (n int)

func (*QueryValsetRequestResponse) String

func (m *QueryValsetRequestResponse) String() string

func (*QueryValsetRequestResponse) Unmarshal

func (m *QueryValsetRequestResponse) Unmarshal(dAtA []byte) error

func (*QueryValsetRequestResponse) XXX_DiscardUnknown

func (m *QueryValsetRequestResponse) XXX_DiscardUnknown()

func (*QueryValsetRequestResponse) XXX_Marshal

func (m *QueryValsetRequestResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryValsetRequestResponse) XXX_Merge

func (m *QueryValsetRequestResponse) XXX_Merge(src proto.Message)

func (*QueryValsetRequestResponse) XXX_Size

func (m *QueryValsetRequestResponse) XXX_Size() int

func (*QueryValsetRequestResponse) XXX_Unmarshal

func (m *QueryValsetRequestResponse) XXX_Unmarshal(b []byte) error

type SignType

type SignType int32

SignType defines messages that have been signed by an orchestrator

const (
	SIGN_TYPE_UNSPECIFIED                          SignType = 0
	SIGN_TYPE_ORCHESTRATOR_SIGNED_MULTI_SIG_UPDATE SignType = 1
	SIGN_TYPE_ORCHESTRATOR_SIGNED_WITHDRAW_BATCH   SignType = 2
)

func (SignType) EnumDescriptor

func (SignType) EnumDescriptor() ([]byte, []int)

type SlashingKeeper

type SlashingKeeper interface {
	GetValidatorSigningInfo(ctx sdk.Context, address sdk.ConsAddress) (info slashingtypes.ValidatorSigningInfo, found bool)
}

type StakingKeeper

type StakingKeeper interface {
	GetBondedValidatorsByPower(ctx sdk.Context) []stakingtypes.Validator
	GetLastValidatorPower(ctx sdk.Context, operator sdk.ValAddress) int64
	GetLastTotalPower(ctx sdk.Context) (power sdk.Int)
	IterateValidators(sdk.Context, func(index int64, validator stakingtypes.ValidatorI) (stop bool))
	ValidatorQueueIterator(ctx sdk.Context, endTime time.Time, endHeight int64) sdk.Iterator
	GetParams(ctx sdk.Context) stakingtypes.Params
	GetValidator(ctx sdk.Context, addr sdk.ValAddress) (validator stakingtypes.Validator, found bool)
	IterateBondedValidatorsByPower(sdk.Context, func(index int64, validator stakingtypes.ValidatorI) (stop bool))
	IterateLastValidators(sdk.Context, func(index int64, validator stakingtypes.ValidatorI) (stop bool))
	Validator(sdk.Context, sdk.ValAddress) stakingtypes.ValidatorI
	ValidatorByConsAddr(sdk.Context, sdk.ConsAddress) stakingtypes.ValidatorI
	Slash(sdk.Context, sdk.ConsAddress, int64, int64, sdk.Dec)
	Jail(sdk.Context, sdk.ConsAddress)
}

StakingKeeper defines the expected staking keeper methods

type UnimplementedMsgServer

type UnimplementedMsgServer struct {
}

UnimplementedMsgServer can be embedded to have forward compatible implementations.

func (*UnimplementedMsgServer) CancelSendToEth

func (*UnimplementedMsgServer) ConfirmBatch

func (*UnimplementedMsgServer) DepositClaim

func (*UnimplementedMsgServer) FxOriginatedTokenClaim

func (*UnimplementedMsgServer) RequestBatch

func (*UnimplementedMsgServer) SendToEth

func (*UnimplementedMsgServer) SetOrchestratorAddress

func (*UnimplementedMsgServer) ValsetConfirm

func (*UnimplementedMsgServer) ValsetUpdateClaim

func (*UnimplementedMsgServer) WithdrawClaim

type UnimplementedQueryServer

type UnimplementedQueryServer struct {
}

UnimplementedQueryServer can be embedded to have forward compatible implementations.

func (*UnimplementedQueryServer) BatchConfirm

func (*UnimplementedQueryServer) BatchConfirms

func (*UnimplementedQueryServer) BatchFees

func (*UnimplementedQueryServer) BatchRequestByNonce

func (*UnimplementedQueryServer) BridgeTokens

func (*UnimplementedQueryServer) CurrentValset

func (*UnimplementedQueryServer) DenomToERC20

func (*UnimplementedQueryServer) ERC20ToDenom

func (*UnimplementedQueryServer) GetDelegateKeyByEth

func (*UnimplementedQueryServer) GetIbcSequenceHeightByChannel

func (*UnimplementedQueryServer) GetPendingSendToEth

func (*UnimplementedQueryServer) LastValsetRequests

func (*UnimplementedQueryServer) OutgoingTxBatches

func (*UnimplementedQueryServer) Params

func (*UnimplementedQueryServer) ValsetConfirm

func (*UnimplementedQueryServer) ValsetRequest

type Valset

type Valset struct {
	Nonce   uint64             `protobuf:"varint,1,opt,name=nonce,proto3" json:"nonce,omitempty"`
	Members []*BridgeValidator `protobuf:"bytes,2,rep,name=members,proto3" json:"members,omitempty"`
	Height  uint64             `protobuf:"varint,3,opt,name=height,proto3" json:"height,omitempty"`
}

Valset is the Ethereum Bridge Multsig Set, each gravity validator also maintains an ETH key to sign messages, these are used to check signatures on ETH because of the significant gas savings

func NewValset

func NewValset(nonce, height uint64, members BridgeValidators) *Valset

NewValset returns a new valset

func (*Valset) Descriptor

func (*Valset) Descriptor() ([]byte, []int)

func (Valset) GetCheckpoint

func (v Valset) GetCheckpoint(gravityIDStr string) []byte

GetCheckpoint returns the checkpoint

func (*Valset) GetHeight

func (m *Valset) GetHeight() uint64

func (*Valset) GetMembers

func (m *Valset) GetMembers() []*BridgeValidator

func (*Valset) GetNonce

func (m *Valset) GetNonce() uint64

func (*Valset) Marshal

func (m *Valset) Marshal() (dAtA []byte, err error)

func (*Valset) MarshalTo

func (m *Valset) MarshalTo(dAtA []byte) (int, error)

func (*Valset) MarshalToSizedBuffer

func (m *Valset) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Valset) ProtoMessage

func (*Valset) ProtoMessage()

func (*Valset) Reset

func (m *Valset) Reset()

func (*Valset) Size

func (m *Valset) Size() (n int)

func (*Valset) String

func (m *Valset) String() string

func (*Valset) Unmarshal

func (m *Valset) Unmarshal(dAtA []byte) error

func (*Valset) WithoutEmptyMembers

func (v *Valset) WithoutEmptyMembers() *Valset

WithoutEmptyMembers returns a new Valset without member that have 0 power or an empty Ethereum address.

func (*Valset) XXX_DiscardUnknown

func (m *Valset) XXX_DiscardUnknown()

func (*Valset) XXX_Marshal

func (m *Valset) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Valset) XXX_Merge

func (m *Valset) XXX_Merge(src proto.Message)

func (*Valset) XXX_Size

func (m *Valset) XXX_Size() int

func (*Valset) XXX_Unmarshal

func (m *Valset) XXX_Unmarshal(b []byte) error

type Valsets

type Valsets []*Valset

Valsets is a collection of valset

func (Valsets) Len

func (v Valsets) Len() int

func (Valsets) Less

func (v Valsets) Less(i, j int) bool

func (Valsets) Swap

func (v Valsets) Swap(i, j int)

Jump to

Keyboard shortcuts

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