types

package
v5.0.0-...-397d3b1 Latest Latest
Warning

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

Go to latest
Published: Oct 23, 2024 License: Apache-2.0 Imports: 47 Imported by: 7

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 compatability of the OutgoingBatchTx message
	OutgoingBatchTxCheckpointABIJSON = `` /* 839-byte string literal not displayed */

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

	// OutgoingLogicCallABIJSON checks the ETH ABI for compatability of the logic call message
	OutgoingLogicCallABIJSON = `` /* 1153-byte string literal not displayed */

	DeployERC20ABIJSON = `` /* 551-byte string literal not displayed */

	SendToCosmosABIJSON = `` /* 464-byte string literal not displayed */

)
View Source
const (
	// GravityDenomPrefix indicates the prefix for all assests minted by this module
	GravityDenomPrefix = ModuleName

	// GravityDenomSeparator is the separator for gravity denoms
	GravityDenomSeparator = ""

	// EthereumContractAddressLen is the length of contract address strings
	EthereumContractAddressLen = 42

	// GravityDenomLen is the length of the denoms generated by the gravity module
	GravityDenomLen = len(GravityDenomPrefix) + len(GravityDenomSeparator) + EthereumContractAddressLen
)
View Source
const (
	EventTypeObservation              = "observation"
	EventTypeOutgoingBatch            = "outgoing_batch"
	EventTypeMultisigUpdateRequest    = "multisig_update_request"
	EventTypeOutgoingBatchCanceled    = "outgoing_batch_canceled"
	EventTypeContractCallTxCanceled   = "outgoing_logic_call_canceled"
	EventTypeBridgeWithdrawalReceived = "withdrawal_received"
	EventTypeBridgeDepositReceived    = "deposit_received"
	EventTypeBridgeWithdrawCanceled   = "withdraw_canceled"
	EventTypeContractCallTxCompleted  = "contract_call_tx_completed"

	AttributeKeyEthereumEventVoteRecordID     = "ethereum_event_vote_record_id"
	AttributeKeyBatchConfirmKey               = "batch_confirm_key"
	AttributeKeyEthereumSignatureKey          = "ethereum_signature_key"
	AttributeKeyOutgoingBatchID               = "batch_id"
	AttributeKeyOutgoingTXID                  = "outgoing_tx_id"
	AttributeKeyEthereumEventType             = "ethereum_event_type"
	AttributeKeyContract                      = "bridge_contract"
	AttributeKeyNonce                         = "nonce"
	AttributeKeySignerSetNonce                = "signerset_nonce"
	AttributeKeyBatchNonce                    = "batch_nonce"
	AttributeKeyBridgeChainID                 = "bridge_chain_id"
	AttributeKeySetOrchestratorAddr           = "set_orchestrator_address"
	AttributeKeySetEthereumAddr               = "set_ethereum_address"
	AttributeKeyValidatorAddr                 = "validator_address"
	AttributeKeyContractCallInvalidationScope = "contract_call_invalidation_scope"
	AttributeKeyContractCallInvalidationNonce = "contract_call_invalidation_nonce"
	AttributeKeyContractCallPayload           = "contract_call_payload"
	AttributeKeyContractCallTokens            = "contract_call_tokens"
	AttributeKeyContractCallFees              = "contract_call_fees"
	AttributeKeyContractCallAddress           = "contract_call_address"
	AttributeKeyEthTxTimeout                  = "eth_tx_timeout"

	// slashing reasons
	AttributeMissingSignerSetSignature = "missing_signer_set_signature"
	AttributeMissingSignature          = "missing_signature"
)
View Source
const (
	// todo: implement oracle constants as params
	DefaultParamspace     = ModuleName
	EventVoteRecordPeriod = 24 * time.Hour // TODO: value????
)

DefaultParamspace defines the default auth module parameter subspace

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 query msgs
	QuerierRoute = ModuleName
)
View Source
const (

	// Key Delegation
	ValidatorEthereumAddressKey
	OrchestratorValidatorAddressKey
	EthereumOrchestratorAddressKey

	// Core types
	EthereumSignatureKey
	EthereumEventVoteRecordKey
	OutgoingTxKey
	SendToEthereumKey

	// Latest nonce indexes
	LastEventNonceByValidatorKey
	LastObservedEventNonceKey
	LatestSignerSetTxNonceKey
	LastSlashedOutgoingTxBlockKey
	LastSlashedSignerSetTxNonceKey
	LastOutgoingBatchNonceKey

	// LastSendToEthereumIDKey indexes the lastTxPoolID
	LastSendToEthereumIDKey

	// LastEthereumBlockHeightKey indexes the latest Ethereum block height
	LastEthereumBlockHeightKey

	// DenomToERC20Key prefixes the index of Cosmos originated asset denoms to ERC20s
	DenomToERC20Key

	// ERC20ToDenomKey prefixes the index of Cosmos originated assets ERC20s to denoms
	ERC20ToDenomKey

	// LastUnBondingBlockHeightKey indexes the last validator unbonding block height
	LastUnBondingBlockHeightKey

	LastObservedSignerSetKey

	// EthereumHeightVoteKey indexes the latest heights observed by each validator
	EthereumHeightVoteKey

	// CompletedOutgoingTxKey indexes the completed outgoing txs
	CompletedOutgoingTxKey
)
View Source
const (
	SignerSetTxPrefixByte
	BatchTxPrefixByte
	ContractCallTxPrefixByte
)
View Source
const (
	// ProposalTypeCommunityPoolEthereumSpend defines the type for a CommunityPoolEthereumSpendProposal
	ProposalTypeCommunityPoolEthereumSpend = "CommunityPoolEthereumSpend"
)

Variables

View Source
var (
	ErrInvalid                          = errors.Register(ModuleName, 3, "invalid")
	ErrSupplyOverflow                   = errors.Register(ModuleName, 4, "malicious ERC20 with invalid supply sent over bridge")
	ErrDelegateKeys                     = errors.Register(ModuleName, 5, "failed to delegate keys")
	ErrEmptyEthSig                      = errors.Register(ModuleName, 6, "empty Ethereum signature")
	ErrInvalidERC20Event                = errors.Register(ModuleName, 7, "invalid ERC20 deployed event")
	ErrInvalidEthereumProposalRecipient = errors.Register(ModuleName, 8, "invalid community pool Ethereum spend proposal recipient")
	ErrInvalidEthereumProposalAmount    = errors.Register(ModuleName, 9, "invalid community pool Ethereum spend proposal amount")
	ErrInvalidEthereumProposalBridgeFee = errors.Register(ModuleName, 10, "invalid community pool Ethereum spend proposal bridge fee")
	ErrEthereumProposalDenomMismatch    = errors.Register(ModuleName, 11, "community pool Ethereum spend proposal amount and bridge fee denom mismatch")
	ErrInvalidValidatorAddress          = errors.Register(ModuleName, 12, "invalid validator address")
	ErrInvalidOrchestratorAddress       = errors.Register(ModuleName, 13, "invalid orchestrator address")
)
View Source
var (
	// 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")

	// ParamsStoreKeySignedSignerSetTxsWindow stores the signed blocks window
	ParamsStoreKeySignedSignerSetTxsWindow = []byte("SignedSignerSetTxWindow")

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

	// ParamsStoreKeyEthereumSignaturesWindow stores the signed blocks window
	ParamsStoreKeyEthereumSignaturesWindow = []byte("EthereumSignaturesWindow")

	// ParamsStoreKeyTargetEthTxTimeout stores the target ethereum transaction timeout
	ParamsStoreKeyTargetEthTxTimeout = []byte("TargetEthTxTimeout")

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

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

	// ParamsStoreSlashFractionSignerSetTx stores the slash fraction valset
	ParamsStoreSlashFractionSignerSetTx = []byte("SlashFractionSignerSetTx")

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

	// ParamsStoreSlashFractionEthereumSignature stores the slash fraction ethereum siganture
	ParamsStoreSlashFractionEthereumSignature = []byte("SlashFractionEthereumSignature")

	// ParamsStoreSlashFractionConflictingEthereumSignature stores the slash fraction ConflictingEthereumSignature
	ParamsStoreSlashFractionConflictingEthereumSignature = []byte("SlashFractionConflictingEthereumSignature")

	//  ParamStoreUnbondSlashingSignerSetTxsWindow stores unbond slashing valset window
	ParamStoreUnbondSlashingSignerSetTxsWindow = []byte("UnbondSlashingSignerSetTxsWindow")

	// ParamStoreEthereumEventVoteWindow stores the event vote window
	ParamStoreEthereumEventVoteWindow = []byte("EthereumEventVoteWindow")

	//  ParamStoreUnbondSlashingSignerSetTxsWindow stores unbond slashing valset window
	ParamStoreConfirmedOutgoingTxWindow = []byte("ConfirmedOutgoingTxWindow")
)
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 (
	ErrInvalidLengthGravity        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowGravity          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupGravity = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthMsgs        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowMsgs          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupMsgs = 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 (

	// ModuleCdc references the global x/bank module codec. Note, the codec should
	// ONLY be used in certain instances of tests and for JSON encoding as Amino is
	// still used for that purpose.
	//
	// The actual codec used for serialization should be provided to x/staking and
	// defined at the application level.
	ModuleCdc = codec.NewAminoCodec(amino)
)
View Source
var Msg_serviceDesc = _Msg_serviceDesc
View Source
var Query_serviceDesc = _Query_serviceDesc

Functions

func EthereumAddrLessThan

func EthereumAddrLessThan(e, o string) bool

EthereumAddrLessThan migrates the Ethereum address less than function

func EventVoteRecordPowerThreshold

func EventVoteRecordPowerThreshold(totalPower sdk.Int) sdk.Int

func GravityDenom

func GravityDenom(contract common.Address) string

func GravityDenomToERC20

func GravityDenomToERC20(denom string) (string, error)

func MakeBatchTxKey

func MakeBatchTxKey(addr common.Address, nonce uint64) []byte

func MakeCompletedOutgoingTxKey

func MakeCompletedOutgoingTxKey(storeIndex []byte) []byte

MakeCompletedOutgoingTxKey returns the store index passed with a prefix

func MakeContractCallTxKey

func MakeContractCallTxKey(invalscope []byte, invalnonce uint64) []byte

func MakeDenomToERC20Key

func MakeDenomToERC20Key(denom string) []byte

func MakeERC20ToDenomKey

func MakeERC20ToDenomKey(erc20 common.Address) []byte

func MakeEthereumEventVoteRecordKey

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

MakeEthereumEventVoteRecordKey returns the following key format prefix nonce claim-details-hash [0x5][0 0 0 0 0 0 0 1][fd1af8cec6c67fcf156f1b61fdf91ebc04d05484d007436e75342fc05bbff35a]

func MakeEthereumHeightVoteKey

func MakeEthereumHeightVoteKey(validator sdk.ValAddress) []byte

func MakeEthereumOrchestratorAddressKey

func MakeEthereumOrchestratorAddressKey(eth common.Address) []byte

MakeEthereumOrchestratorAddressKey returns the following key format [0x3][0xc783df8a850f42e7F7e57013759C285caa701eB6]

func MakeEthereumSignatureKey

func MakeEthereumSignatureKey(storeIndex []byte, validator sdk.ValAddress) []byte

MakeEthereumSignatureKey returns the following key format prefix nonce validator-address [0x4][0 0 0 0 0 0 0 1][cosmos1ahx7f8wyertuus9r20284ej0asrs085case3kn]

func MakeLastEventNonceByValidatorKey

func MakeLastEventNonceByValidatorKey(validator sdk.ValAddress) []byte

MakeLastEventNonceByValidatorKey indexes lateset event nonce by validator MakeLastEventNonceByValidatorKey returns the following key format prefix cosmos-validator [0x8][cosmosvaloper1ahx7f8wyertuus9r20284ej0asrs085case3kn]

func MakeOrchestratorValidatorAddressKey

func MakeOrchestratorValidatorAddressKey(orc sdk.AccAddress) []byte

MakeOrchestratorValidatorAddressKey returns the following key format [0x2][cosmos1ahx7f8wyertuus9r20284ej0asrs085case3kn]

func MakeOutgoingTxKey

func MakeOutgoingTxKey(storeIndex []byte) []byte

MakeOutgoingTxKey returns the store index passed with a prefix

func MakeSendToEthereumKey

func MakeSendToEthereumKey(id uint64, fee ERC20Token) []byte

MakeSendToEthereumKey returns the following key format prefix eth-contract-address fee_amount id [0x7][0xc783df8a850f42e7F7e57013759C285caa701eB6][1000000000][0 0 0 0 0 0 0 1]

func MakeSignerSetTxKey

func MakeSignerSetTxKey(nonce uint64) []byte

func MakeValidatorEthereumAddressKey

func MakeValidatorEthereumAddressKey(validator sdk.ValAddress) []byte

MakeValidatorEthereumAddressKey returns the following key format [0x1][cosmosvaloper1ahx7f8wyertuus9r20284ej0asrs085case3kn]

func NewEthereumSignature

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

NewEthereumSignature creates a new signuature over a given byte array

func NormalizeCoinDenom

func NormalizeCoinDenom(coin *sdk.Coin)

func NormalizeDenom

func NormalizeDenom(denom string) string

func PackConfirmation

func PackConfirmation(confirmation EthereumTxConfirmation) (*types.Any, error)

func PackEvent

func PackEvent(event EthereumEvent) (*types.Any, error)

func PackOutgoingTx

func PackOutgoingTx(outgoing OutgoingTx) (*types.Any, error)

func ParamKeyTable

func ParamKeyTable() paramtypes.KeyTable

ParamKeyTable for auth module

func RegisterInterfaces

func RegisterInterfaces(registry types.InterfaceRegistry)

RegisterInterfaces registers the interfaces for the proto stuff

func RegisterLegacyAminoCodec

func RegisterLegacyAminoCodec(cdc *codec.LegacyAmino)

RegisterLegacyAminoCodec registers the vesting interfaces and concrete types on the provided LegacyAmino codec. These types are used for Amino JSON serialization

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 to stop working. Consider using RegisterQueryHandlerFromEndpoint instead.

func RegisterQueryServer

func RegisterQueryServer(s grpc1.Server, srv QueryServer)

func ValidateEthereumSignature

func ValidateEthereumSignature(hash []byte, signature []byte, ethAddress common.Address) error

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

Types

type ABIEncodedValsetArgs

type ABIEncodedValsetArgs struct {
	Validators   []gethcommon.Address `abi:"validators"`
	Powers       []*big.Int           `abi:"powers"`
	Nonce        *big.Int             `abi:"valsetNonce"`
	RewardAmount *big.Int             `abi:"rewardAmount"`
	RewardToken  gethcommon.Address   `abi:"rewardToken"`
}

type AccountKeeper

type AccountKeeper interface {
	GetSequence(ctx sdk.Context, addr sdk.AccAddress) (uint64, error)
}

AccountKeeper defines the interface contract required for account functionality.

type BankKeeper

type BankKeeper interface {
	GetSupply(ctx sdk.Context, denom string) sdk.Coin
	SendCoinsFromModuleToAccount(ctx sdk.Context, senderModule string, recipientAddr sdk.AccAddress, amt sdk.Coins) error
	SendCoinsFromModuleToModule(ctx sdk.Context, senderModule, recipientModule string, 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 BatchExecutedEvent

type BatchExecutedEvent struct {
	TokenContract  string `protobuf:"bytes,1,opt,name=token_contract,json=tokenContract,proto3" json:"token_contract,omitempty"`
	EventNonce     uint64 `protobuf:"varint,2,opt,name=event_nonce,json=eventNonce,proto3" json:"event_nonce,omitempty"`
	EthereumHeight uint64 `protobuf:"varint,3,opt,name=ethereum_height,json=ethereumHeight,proto3" json:"ethereum_height,omitempty"`
	BatchNonce     uint64 `protobuf:"varint,4,opt,name=batch_nonce,json=batchNonce,proto3" json:"batch_nonce,omitempty"`
}

BatchExecutedEvent claims that a batch of BatchTxExecutedal operations on the bridge contract was executed successfully on ETH

func (*BatchExecutedEvent) Descriptor

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

func (*BatchExecutedEvent) GetBatchNonce

func (m *BatchExecutedEvent) GetBatchNonce() uint64

func (*BatchExecutedEvent) GetEthereumHeight

func (m *BatchExecutedEvent) GetEthereumHeight() uint64

func (*BatchExecutedEvent) GetEventNonce

func (m *BatchExecutedEvent) GetEventNonce() uint64

func (*BatchExecutedEvent) GetTokenContract

func (m *BatchExecutedEvent) GetTokenContract() string

func (*BatchExecutedEvent) Hash

func (bee *BatchExecutedEvent) Hash() tmbytes.HexBytes

func (*BatchExecutedEvent) Marshal

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

func (*BatchExecutedEvent) MarshalTo

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

func (*BatchExecutedEvent) MarshalToSizedBuffer

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

func (*BatchExecutedEvent) ProtoMessage

func (*BatchExecutedEvent) ProtoMessage()

func (*BatchExecutedEvent) Reset

func (m *BatchExecutedEvent) Reset()

func (*BatchExecutedEvent) Size

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

func (*BatchExecutedEvent) String

func (m *BatchExecutedEvent) String() string

func (*BatchExecutedEvent) Unmarshal

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

func (*BatchExecutedEvent) Validate

func (bee *BatchExecutedEvent) Validate() error

func (*BatchExecutedEvent) XXX_DiscardUnknown

func (m *BatchExecutedEvent) XXX_DiscardUnknown()

func (*BatchExecutedEvent) XXX_Marshal

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

func (*BatchExecutedEvent) XXX_Merge

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

func (*BatchExecutedEvent) XXX_MessageName

func (*BatchExecutedEvent) XXX_MessageName() string

func (*BatchExecutedEvent) XXX_Size

func (m *BatchExecutedEvent) XXX_Size() int

func (*BatchExecutedEvent) XXX_Unmarshal

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

type BatchTx

type BatchTx struct {
	BatchNonce    uint64            `protobuf:"varint,1,opt,name=batch_nonce,json=batchNonce,proto3" json:"batch_nonce,omitempty"`
	Timeout       uint64            `protobuf:"varint,2,opt,name=timeout,proto3" json:"timeout,omitempty"`
	Transactions  []*SendToEthereum `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"`
	Height        uint64            `protobuf:"varint,5,opt,name=height,proto3" json:"height,omitempty"`
}

BatchTx represents a batch of transactions going from Cosmos to Ethereum. Batch txs are are identified by a unique hash and the token contract that is shared by all the SendToEthereum

func (*BatchTx) Descriptor

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

func (*BatchTx) GetBatchNonce

func (m *BatchTx) GetBatchNonce() uint64

func (BatchTx) GetCheckpoint

func (b BatchTx) GetCheckpoint(gravityID []byte) []byte

GetCheckpoint gets the checkpoint signature from the given outgoing tx batch

func (*BatchTx) GetCosmosHeight

func (btx *BatchTx) GetCosmosHeight() uint64

func (BatchTx) GetFees

func (b BatchTx) GetFees() sdk.Int

GetFees returns the total fees contained within a given batch

func (*BatchTx) GetHeight

func (m *BatchTx) GetHeight() uint64

func (*BatchTx) GetStoreIndex

func (btx *BatchTx) GetStoreIndex() []byte

func (*BatchTx) GetTimeout

func (m *BatchTx) GetTimeout() uint64

func (*BatchTx) GetTokenContract

func (m *BatchTx) GetTokenContract() string

func (*BatchTx) GetTransactions

func (m *BatchTx) GetTransactions() []*SendToEthereum

func (*BatchTx) Marshal

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

func (*BatchTx) MarshalTo

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

func (*BatchTx) MarshalToSizedBuffer

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

func (*BatchTx) ProtoMessage

func (*BatchTx) ProtoMessage()

func (*BatchTx) Reset

func (m *BatchTx) Reset()

func (*BatchTx) Size

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

func (*BatchTx) String

func (m *BatchTx) String() string

func (*BatchTx) Unmarshal

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

func (*BatchTx) XXX_DiscardUnknown

func (m *BatchTx) XXX_DiscardUnknown()

func (*BatchTx) XXX_Marshal

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

func (*BatchTx) XXX_Merge

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

func (*BatchTx) XXX_MessageName

func (*BatchTx) XXX_MessageName() string

func (*BatchTx) XXX_Size

func (m *BatchTx) XXX_Size() int

func (*BatchTx) XXX_Unmarshal

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

type BatchTxConfirmation

type BatchTxConfirmation struct {
	TokenContract  string `protobuf:"bytes,1,opt,name=token_contract,json=tokenContract,proto3" json:"token_contract,omitempty"`
	BatchNonce     uint64 `protobuf:"varint,2,opt,name=batch_nonce,json=batchNonce,proto3" json:"batch_nonce,omitempty"`
	EthereumSigner string `protobuf:"bytes,3,opt,name=ethereum_signer,json=ethereumSigner,proto3" json:"ethereum_signer,omitempty"`
	Signature      []byte `protobuf:"bytes,4,opt,name=signature,proto3" json:"signature,omitempty"`
}

BatchTxConfirmation is a signature on behalf of a validator for a BatchTx.

func (*BatchTxConfirmation) Descriptor

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

func (*BatchTxConfirmation) GetBatchNonce

func (m *BatchTxConfirmation) GetBatchNonce() uint64

func (*BatchTxConfirmation) GetEthereumSigner

func (m *BatchTxConfirmation) GetEthereumSigner() string

func (*BatchTxConfirmation) GetSignature

func (m *BatchTxConfirmation) GetSignature() []byte

func (*BatchTxConfirmation) GetSigner

func (u *BatchTxConfirmation) GetSigner() common.Address

func (*BatchTxConfirmation) GetStoreIndex

func (btx *BatchTxConfirmation) GetStoreIndex() []byte

func (*BatchTxConfirmation) GetTokenContract

func (m *BatchTxConfirmation) GetTokenContract() string

func (*BatchTxConfirmation) Marshal

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

func (*BatchTxConfirmation) MarshalTo

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

func (*BatchTxConfirmation) MarshalToSizedBuffer

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

func (*BatchTxConfirmation) ProtoMessage

func (*BatchTxConfirmation) ProtoMessage()

func (*BatchTxConfirmation) Reset

func (m *BatchTxConfirmation) Reset()

func (*BatchTxConfirmation) Size

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

func (*BatchTxConfirmation) String

func (m *BatchTxConfirmation) String() string

func (*BatchTxConfirmation) Unmarshal

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

func (*BatchTxConfirmation) Validate

func (u *BatchTxConfirmation) Validate() error

func (*BatchTxConfirmation) XXX_DiscardUnknown

func (m *BatchTxConfirmation) XXX_DiscardUnknown()

func (*BatchTxConfirmation) XXX_Marshal

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

func (*BatchTxConfirmation) XXX_Merge

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

func (*BatchTxConfirmation) XXX_MessageName

func (*BatchTxConfirmation) XXX_MessageName() string

func (*BatchTxConfirmation) XXX_Size

func (m *BatchTxConfirmation) XXX_Size() int

func (*BatchTxConfirmation) XXX_Unmarshal

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

type BatchTxConfirmationsByValidatorRequest

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

func (*BatchTxConfirmationsByValidatorRequest) Descriptor

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

func (*BatchTxConfirmationsByValidatorRequest) GetValidatorAddress

func (m *BatchTxConfirmationsByValidatorRequest) GetValidatorAddress() string

func (*BatchTxConfirmationsByValidatorRequest) Marshal

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

func (*BatchTxConfirmationsByValidatorRequest) MarshalTo

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

func (*BatchTxConfirmationsByValidatorRequest) MarshalToSizedBuffer

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

func (*BatchTxConfirmationsByValidatorRequest) ProtoMessage

func (*BatchTxConfirmationsByValidatorRequest) Reset

func (*BatchTxConfirmationsByValidatorRequest) Size

func (*BatchTxConfirmationsByValidatorRequest) String

func (*BatchTxConfirmationsByValidatorRequest) Unmarshal

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

func (*BatchTxConfirmationsByValidatorRequest) XXX_DiscardUnknown

func (m *BatchTxConfirmationsByValidatorRequest) XXX_DiscardUnknown()

func (*BatchTxConfirmationsByValidatorRequest) XXX_Marshal

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

func (*BatchTxConfirmationsByValidatorRequest) XXX_Merge

func (*BatchTxConfirmationsByValidatorRequest) XXX_MessageName

func (*BatchTxConfirmationsByValidatorRequest) XXX_Size

func (*BatchTxConfirmationsByValidatorRequest) XXX_Unmarshal

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

type BatchTxConfirmationsByValidatorResponse

type BatchTxConfirmationsByValidatorResponse struct {
	BatchTxConfirmations []*BatchTxConfirmation `protobuf:"bytes,1,rep,name=batch_tx_confirmations,json=batchTxConfirmations,proto3" json:"batch_tx_confirmations,omitempty"`
}

func (*BatchTxConfirmationsByValidatorResponse) Descriptor

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

func (*BatchTxConfirmationsByValidatorResponse) GetBatchTxConfirmations

func (m *BatchTxConfirmationsByValidatorResponse) GetBatchTxConfirmations() []*BatchTxConfirmation

func (*BatchTxConfirmationsByValidatorResponse) Marshal

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

func (*BatchTxConfirmationsByValidatorResponse) MarshalTo

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

func (*BatchTxConfirmationsByValidatorResponse) MarshalToSizedBuffer

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

func (*BatchTxConfirmationsByValidatorResponse) ProtoMessage

func (*BatchTxConfirmationsByValidatorResponse) Reset

func (*BatchTxConfirmationsByValidatorResponse) Size

func (*BatchTxConfirmationsByValidatorResponse) String

func (*BatchTxConfirmationsByValidatorResponse) Unmarshal

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

func (*BatchTxConfirmationsByValidatorResponse) XXX_DiscardUnknown

func (m *BatchTxConfirmationsByValidatorResponse) XXX_DiscardUnknown()

func (*BatchTxConfirmationsByValidatorResponse) XXX_Marshal

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

func (*BatchTxConfirmationsByValidatorResponse) XXX_Merge

func (*BatchTxConfirmationsByValidatorResponse) XXX_MessageName

func (*BatchTxConfirmationsByValidatorResponse) XXX_Size

func (*BatchTxConfirmationsByValidatorResponse) XXX_Unmarshal

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

type BatchTxConfirmationsRequest

type BatchTxConfirmationsRequest struct {
	BatchNonce    uint64 `protobuf:"varint,1,opt,name=batch_nonce,json=batchNonce,proto3" json:"batch_nonce,omitempty"`
	TokenContract string `protobuf:"bytes,2,opt,name=token_contract,json=tokenContract,proto3" json:"token_contract,omitempty"`
}

func (*BatchTxConfirmationsRequest) Descriptor

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

func (*BatchTxConfirmationsRequest) GetBatchNonce

func (m *BatchTxConfirmationsRequest) GetBatchNonce() uint64

func (*BatchTxConfirmationsRequest) GetTokenContract

func (m *BatchTxConfirmationsRequest) GetTokenContract() string

func (*BatchTxConfirmationsRequest) Marshal

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

func (*BatchTxConfirmationsRequest) MarshalTo

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

func (*BatchTxConfirmationsRequest) MarshalToSizedBuffer

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

func (*BatchTxConfirmationsRequest) ProtoMessage

func (*BatchTxConfirmationsRequest) ProtoMessage()

func (*BatchTxConfirmationsRequest) Reset

func (m *BatchTxConfirmationsRequest) Reset()

func (*BatchTxConfirmationsRequest) Size

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

func (*BatchTxConfirmationsRequest) String

func (m *BatchTxConfirmationsRequest) String() string

func (*BatchTxConfirmationsRequest) Unmarshal

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

func (*BatchTxConfirmationsRequest) XXX_DiscardUnknown

func (m *BatchTxConfirmationsRequest) XXX_DiscardUnknown()

func (*BatchTxConfirmationsRequest) XXX_Marshal

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

func (*BatchTxConfirmationsRequest) XXX_Merge

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

func (*BatchTxConfirmationsRequest) XXX_MessageName

func (*BatchTxConfirmationsRequest) XXX_MessageName() string

func (*BatchTxConfirmationsRequest) XXX_Size

func (m *BatchTxConfirmationsRequest) XXX_Size() int

func (*BatchTxConfirmationsRequest) XXX_Unmarshal

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

type BatchTxConfirmationsResponse

type BatchTxConfirmationsResponse struct {
	Signatures []*BatchTxConfirmation `protobuf:"bytes,1,rep,name=signatures,proto3" json:"signatures,omitempty"`
}

func (*BatchTxConfirmationsResponse) Descriptor

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

func (*BatchTxConfirmationsResponse) GetSignatures

func (m *BatchTxConfirmationsResponse) GetSignatures() []*BatchTxConfirmation

func (*BatchTxConfirmationsResponse) Marshal

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

func (*BatchTxConfirmationsResponse) MarshalTo

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

func (*BatchTxConfirmationsResponse) MarshalToSizedBuffer

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

func (*BatchTxConfirmationsResponse) ProtoMessage

func (*BatchTxConfirmationsResponse) ProtoMessage()

func (*BatchTxConfirmationsResponse) Reset

func (m *BatchTxConfirmationsResponse) Reset()

func (*BatchTxConfirmationsResponse) Size

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

func (*BatchTxConfirmationsResponse) String

func (*BatchTxConfirmationsResponse) Unmarshal

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

func (*BatchTxConfirmationsResponse) XXX_DiscardUnknown

func (m *BatchTxConfirmationsResponse) XXX_DiscardUnknown()

func (*BatchTxConfirmationsResponse) XXX_Marshal

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

func (*BatchTxConfirmationsResponse) XXX_Merge

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

func (*BatchTxConfirmationsResponse) XXX_MessageName

func (*BatchTxConfirmationsResponse) XXX_MessageName() string

func (*BatchTxConfirmationsResponse) XXX_Size

func (m *BatchTxConfirmationsResponse) XXX_Size() int

func (*BatchTxConfirmationsResponse) XXX_Unmarshal

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

type BatchTxFeesRequest

type BatchTxFeesRequest struct {
}

func (*BatchTxFeesRequest) Descriptor

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

func (*BatchTxFeesRequest) Marshal

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

func (*BatchTxFeesRequest) MarshalTo

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

func (*BatchTxFeesRequest) MarshalToSizedBuffer

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

func (*BatchTxFeesRequest) ProtoMessage

func (*BatchTxFeesRequest) ProtoMessage()

func (*BatchTxFeesRequest) Reset

func (m *BatchTxFeesRequest) Reset()

func (*BatchTxFeesRequest) Size

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

func (*BatchTxFeesRequest) String

func (m *BatchTxFeesRequest) String() string

func (*BatchTxFeesRequest) Unmarshal

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

func (*BatchTxFeesRequest) XXX_DiscardUnknown

func (m *BatchTxFeesRequest) XXX_DiscardUnknown()

func (*BatchTxFeesRequest) XXX_Marshal

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

func (*BatchTxFeesRequest) XXX_Merge

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

func (*BatchTxFeesRequest) XXX_MessageName

func (*BatchTxFeesRequest) XXX_MessageName() string

func (*BatchTxFeesRequest) XXX_Size

func (m *BatchTxFeesRequest) XXX_Size() int

func (*BatchTxFeesRequest) XXX_Unmarshal

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

type BatchTxFeesResponse

type BatchTxFeesResponse struct {
	Fees github_com_cosmos_cosmos_sdk_types.Coins `protobuf:"bytes,1,rep,name=fees,proto3,castrepeated=github.com/cosmos/cosmos-sdk/types.Coins" json:"fees"`
}

func (*BatchTxFeesResponse) Descriptor

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

func (*BatchTxFeesResponse) GetFees

func (*BatchTxFeesResponse) Marshal

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

func (*BatchTxFeesResponse) MarshalTo

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

func (*BatchTxFeesResponse) MarshalToSizedBuffer

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

func (*BatchTxFeesResponse) ProtoMessage

func (*BatchTxFeesResponse) ProtoMessage()

func (*BatchTxFeesResponse) Reset

func (m *BatchTxFeesResponse) Reset()

func (*BatchTxFeesResponse) Size

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

func (*BatchTxFeesResponse) String

func (m *BatchTxFeesResponse) String() string

func (*BatchTxFeesResponse) Unmarshal

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

func (*BatchTxFeesResponse) XXX_DiscardUnknown

func (m *BatchTxFeesResponse) XXX_DiscardUnknown()

func (*BatchTxFeesResponse) XXX_Marshal

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

func (*BatchTxFeesResponse) XXX_Merge

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

func (*BatchTxFeesResponse) XXX_MessageName

func (*BatchTxFeesResponse) XXX_MessageName() string

func (*BatchTxFeesResponse) XXX_Size

func (m *BatchTxFeesResponse) XXX_Size() int

func (*BatchTxFeesResponse) XXX_Unmarshal

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

type BatchTxRequest

type BatchTxRequest struct {
	TokenContract string `protobuf:"bytes,1,opt,name=token_contract,json=tokenContract,proto3" json:"token_contract,omitempty"`
	BatchNonce    uint64 `protobuf:"varint,2,opt,name=batch_nonce,json=batchNonce,proto3" json:"batch_nonce,omitempty"`
}

rpc BatchTx

func (*BatchTxRequest) Descriptor

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

func (*BatchTxRequest) GetBatchNonce

func (m *BatchTxRequest) GetBatchNonce() uint64

func (*BatchTxRequest) GetTokenContract

func (m *BatchTxRequest) GetTokenContract() string

func (*BatchTxRequest) Marshal

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

func (*BatchTxRequest) MarshalTo

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

func (*BatchTxRequest) MarshalToSizedBuffer

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

func (*BatchTxRequest) ProtoMessage

func (*BatchTxRequest) ProtoMessage()

func (*BatchTxRequest) Reset

func (m *BatchTxRequest) Reset()

func (*BatchTxRequest) Size

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

func (*BatchTxRequest) String

func (m *BatchTxRequest) String() string

func (*BatchTxRequest) Unmarshal

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

func (*BatchTxRequest) XXX_DiscardUnknown

func (m *BatchTxRequest) XXX_DiscardUnknown()

func (*BatchTxRequest) XXX_Marshal

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

func (*BatchTxRequest) XXX_Merge

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

func (*BatchTxRequest) XXX_MessageName

func (*BatchTxRequest) XXX_MessageName() string

func (*BatchTxRequest) XXX_Size

func (m *BatchTxRequest) XXX_Size() int

func (*BatchTxRequest) XXX_Unmarshal

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

type BatchTxResponse

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

func (*BatchTxResponse) Descriptor

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

func (*BatchTxResponse) GetBatch

func (m *BatchTxResponse) GetBatch() *BatchTx

func (*BatchTxResponse) Marshal

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

func (*BatchTxResponse) MarshalTo

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

func (*BatchTxResponse) MarshalToSizedBuffer

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

func (*BatchTxResponse) ProtoMessage

func (*BatchTxResponse) ProtoMessage()

func (*BatchTxResponse) Reset

func (m *BatchTxResponse) Reset()

func (*BatchTxResponse) Size

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

func (*BatchTxResponse) String

func (m *BatchTxResponse) String() string

func (*BatchTxResponse) Unmarshal

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

func (*BatchTxResponse) XXX_DiscardUnknown

func (m *BatchTxResponse) XXX_DiscardUnknown()

func (*BatchTxResponse) XXX_Marshal

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

func (*BatchTxResponse) XXX_Merge

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

func (*BatchTxResponse) XXX_MessageName

func (*BatchTxResponse) XXX_MessageName() string

func (*BatchTxResponse) XXX_Size

func (m *BatchTxResponse) XXX_Size() int

func (*BatchTxResponse) XXX_Unmarshal

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

type BatchTxsRequest

type BatchTxsRequest struct {
	Pagination *query.PageRequest `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

rpc BatchTxs

func (*BatchTxsRequest) Descriptor

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

func (*BatchTxsRequest) GetPagination

func (m *BatchTxsRequest) GetPagination() *query.PageRequest

func (*BatchTxsRequest) Marshal

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

func (*BatchTxsRequest) MarshalTo

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

func (*BatchTxsRequest) MarshalToSizedBuffer

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

func (*BatchTxsRequest) ProtoMessage

func (*BatchTxsRequest) ProtoMessage()

func (*BatchTxsRequest) Reset

func (m *BatchTxsRequest) Reset()

func (*BatchTxsRequest) Size

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

func (*BatchTxsRequest) String

func (m *BatchTxsRequest) String() string

func (*BatchTxsRequest) Unmarshal

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

func (*BatchTxsRequest) XXX_DiscardUnknown

func (m *BatchTxsRequest) XXX_DiscardUnknown()

func (*BatchTxsRequest) XXX_Marshal

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

func (*BatchTxsRequest) XXX_Merge

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

func (*BatchTxsRequest) XXX_MessageName

func (*BatchTxsRequest) XXX_MessageName() string

func (*BatchTxsRequest) XXX_Size

func (m *BatchTxsRequest) XXX_Size() int

func (*BatchTxsRequest) XXX_Unmarshal

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

type BatchTxsResponse

type BatchTxsResponse struct {
	Batches    []*BatchTx          `protobuf:"bytes,1,rep,name=batches,proto3" json:"batches,omitempty"`
	Pagination *query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

func (*BatchTxsResponse) Descriptor

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

func (*BatchTxsResponse) GetBatches

func (m *BatchTxsResponse) GetBatches() []*BatchTx

func (*BatchTxsResponse) GetPagination

func (m *BatchTxsResponse) GetPagination() *query.PageResponse

func (*BatchTxsResponse) Marshal

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

func (*BatchTxsResponse) MarshalTo

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

func (*BatchTxsResponse) MarshalToSizedBuffer

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

func (*BatchTxsResponse) ProtoMessage

func (*BatchTxsResponse) ProtoMessage()

func (*BatchTxsResponse) Reset

func (m *BatchTxsResponse) Reset()

func (*BatchTxsResponse) Size

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

func (*BatchTxsResponse) String

func (m *BatchTxsResponse) String() string

func (*BatchTxsResponse) Unmarshal

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

func (*BatchTxsResponse) XXX_DiscardUnknown

func (m *BatchTxsResponse) XXX_DiscardUnknown()

func (*BatchTxsResponse) XXX_Marshal

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

func (*BatchTxsResponse) XXX_Merge

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

func (*BatchTxsResponse) XXX_MessageName

func (*BatchTxsResponse) XXX_MessageName() string

func (*BatchTxsResponse) XXX_Size

func (m *BatchTxsResponse) XXX_Size() int

func (*BatchTxsResponse) XXX_Unmarshal

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

type BatchedSendToEthereumsRequest

type BatchedSendToEthereumsRequest struct {
	SenderAddress string `protobuf:"bytes,1,opt,name=sender_address,json=senderAddress,proto3" json:"sender_address,omitempty"`
}

NOTE: if there is no sender address, return all

func (*BatchedSendToEthereumsRequest) Descriptor

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

func (*BatchedSendToEthereumsRequest) GetSenderAddress

func (m *BatchedSendToEthereumsRequest) GetSenderAddress() string

func (*BatchedSendToEthereumsRequest) Marshal

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

func (*BatchedSendToEthereumsRequest) MarshalTo

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

func (*BatchedSendToEthereumsRequest) MarshalToSizedBuffer

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

func (*BatchedSendToEthereumsRequest) ProtoMessage

func (*BatchedSendToEthereumsRequest) ProtoMessage()

func (*BatchedSendToEthereumsRequest) Reset

func (m *BatchedSendToEthereumsRequest) Reset()

func (*BatchedSendToEthereumsRequest) Size

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

func (*BatchedSendToEthereumsRequest) String

func (*BatchedSendToEthereumsRequest) Unmarshal

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

func (*BatchedSendToEthereumsRequest) XXX_DiscardUnknown

func (m *BatchedSendToEthereumsRequest) XXX_DiscardUnknown()

func (*BatchedSendToEthereumsRequest) XXX_Marshal

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

func (*BatchedSendToEthereumsRequest) XXX_Merge

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

func (*BatchedSendToEthereumsRequest) XXX_MessageName

func (*BatchedSendToEthereumsRequest) XXX_MessageName() string

func (*BatchedSendToEthereumsRequest) XXX_Size

func (m *BatchedSendToEthereumsRequest) XXX_Size() int

func (*BatchedSendToEthereumsRequest) XXX_Unmarshal

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

type BatchedSendToEthereumsResponse

type BatchedSendToEthereumsResponse struct {
	SendToEthereums []*SendToEthereum `protobuf:"bytes,1,rep,name=send_to_ethereums,json=sendToEthereums,proto3" json:"send_to_ethereums,omitempty"`
}

func (*BatchedSendToEthereumsResponse) Descriptor

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

func (*BatchedSendToEthereumsResponse) GetSendToEthereums

func (m *BatchedSendToEthereumsResponse) GetSendToEthereums() []*SendToEthereum

func (*BatchedSendToEthereumsResponse) Marshal

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

func (*BatchedSendToEthereumsResponse) MarshalTo

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

func (*BatchedSendToEthereumsResponse) MarshalToSizedBuffer

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

func (*BatchedSendToEthereumsResponse) ProtoMessage

func (*BatchedSendToEthereumsResponse) ProtoMessage()

func (*BatchedSendToEthereumsResponse) Reset

func (m *BatchedSendToEthereumsResponse) Reset()

func (*BatchedSendToEthereumsResponse) Size

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

func (*BatchedSendToEthereumsResponse) String

func (*BatchedSendToEthereumsResponse) Unmarshal

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

func (*BatchedSendToEthereumsResponse) XXX_DiscardUnknown

func (m *BatchedSendToEthereumsResponse) XXX_DiscardUnknown()

func (*BatchedSendToEthereumsResponse) XXX_Marshal

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

func (*BatchedSendToEthereumsResponse) XXX_Merge

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

func (*BatchedSendToEthereumsResponse) XXX_MessageName

func (*BatchedSendToEthereumsResponse) XXX_MessageName() string

func (*BatchedSendToEthereumsResponse) XXX_Size

func (m *BatchedSendToEthereumsResponse) XXX_Size() int

func (*BatchedSendToEthereumsResponse) XXX_Unmarshal

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

type CommunityPoolEthereumSpendProposal

type CommunityPoolEthereumSpendProposal struct {
	Title       string      `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"`
	Description string      `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
	Recipient   string      `protobuf:"bytes,3,opt,name=recipient,proto3" json:"recipient,omitempty"`
	Amount      types1.Coin `protobuf:"bytes,4,opt,name=amount,proto3" json:"amount"`
	BridgeFee   types1.Coin `protobuf:"bytes,5,opt,name=bridge_fee,json=bridgeFee,proto3" json:"bridge_fee"`
}

func NewCommunityPoolEthereumSpendProposal

func NewCommunityPoolEthereumSpendProposal(title, description string, recipient string, amount sdk.Coin, bridgeFee sdk.Coin) *CommunityPoolEthereumSpendProposal

NewCommunityPoolEthereumSpendProposal creates a new community pool spend proposal.

func (*CommunityPoolEthereumSpendProposal) Descriptor

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

func (*CommunityPoolEthereumSpendProposal) GetDescription

func (csp *CommunityPoolEthereumSpendProposal) GetDescription() string

GetDescription returns the description of a community pool Ethereum spend proposal.

func (*CommunityPoolEthereumSpendProposal) GetTitle

GetTitle returns the title of a community pool Ethereum spend proposal.

func (*CommunityPoolEthereumSpendProposal) Marshal

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

func (*CommunityPoolEthereumSpendProposal) MarshalTo

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

func (*CommunityPoolEthereumSpendProposal) MarshalToSizedBuffer

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

func (*CommunityPoolEthereumSpendProposal) ProposalRoute

func (csp *CommunityPoolEthereumSpendProposal) ProposalRoute() string

GetDescription returns the routing key of a community pool Ethereum spend proposal.

func (*CommunityPoolEthereumSpendProposal) ProposalType

func (csp *CommunityPoolEthereumSpendProposal) ProposalType() string

ProposalType returns the type of a community pool Ethereum spend proposal.

func (*CommunityPoolEthereumSpendProposal) ProtoMessage

func (*CommunityPoolEthereumSpendProposal) ProtoMessage()

func (*CommunityPoolEthereumSpendProposal) Reset

func (*CommunityPoolEthereumSpendProposal) Size

func (CommunityPoolEthereumSpendProposal) String

String implements the Stringer interface.

func (*CommunityPoolEthereumSpendProposal) Unmarshal

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

func (*CommunityPoolEthereumSpendProposal) ValidateBasic

func (csp *CommunityPoolEthereumSpendProposal) ValidateBasic() error

ValidateBasic runs basic stateless validity checks

func (*CommunityPoolEthereumSpendProposal) XXX_DiscardUnknown

func (m *CommunityPoolEthereumSpendProposal) XXX_DiscardUnknown()

func (*CommunityPoolEthereumSpendProposal) XXX_Marshal

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

func (*CommunityPoolEthereumSpendProposal) XXX_Merge

func (*CommunityPoolEthereumSpendProposal) XXX_MessageName

func (*CommunityPoolEthereumSpendProposal) XXX_MessageName() string

func (*CommunityPoolEthereumSpendProposal) XXX_Size

func (*CommunityPoolEthereumSpendProposal) XXX_Unmarshal

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

type CommunityPoolEthereumSpendProposalForCLI

type CommunityPoolEthereumSpendProposalForCLI struct {
	Title       string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty" yaml:"title"`
	Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty" yaml:"description"`
	Recipient   string `protobuf:"bytes,3,opt,name=recipient,proto3" json:"recipient,omitempty" yaml:"recipient"`
	Amount      string `protobuf:"bytes,4,opt,name=amount,proto3" json:"amount,omitempty" yaml:"amount"`
	BridgeFee   string `protobuf:"bytes,5,opt,name=bridge_fee,json=bridgeFee,proto3" json:"bridge_fee,omitempty" yaml:"bridge_fee"`
	Deposit     string `protobuf:"bytes,6,opt,name=deposit,proto3" json:"deposit,omitempty" yaml:"deposit"`
}

This format of the community spend Ethereum proposal is specifically for the CLI to allow simple text serialization.

func (*CommunityPoolEthereumSpendProposalForCLI) Descriptor

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

func (*CommunityPoolEthereumSpendProposalForCLI) Marshal

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

func (*CommunityPoolEthereumSpendProposalForCLI) MarshalTo

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

func (*CommunityPoolEthereumSpendProposalForCLI) MarshalToSizedBuffer

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

func (*CommunityPoolEthereumSpendProposalForCLI) ProtoMessage

func (*CommunityPoolEthereumSpendProposalForCLI) Reset

func (*CommunityPoolEthereumSpendProposalForCLI) Size

func (*CommunityPoolEthereumSpendProposalForCLI) String

func (*CommunityPoolEthereumSpendProposalForCLI) Unmarshal

func (*CommunityPoolEthereumSpendProposalForCLI) XXX_DiscardUnknown

func (m *CommunityPoolEthereumSpendProposalForCLI) XXX_DiscardUnknown()

func (*CommunityPoolEthereumSpendProposalForCLI) XXX_Marshal

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

func (*CommunityPoolEthereumSpendProposalForCLI) XXX_Merge

func (*CommunityPoolEthereumSpendProposalForCLI) XXX_MessageName

func (*CommunityPoolEthereumSpendProposalForCLI) XXX_Size

func (*CommunityPoolEthereumSpendProposalForCLI) XXX_Unmarshal

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

type CompletedBatchTxsRequest

type CompletedBatchTxsRequest struct {
}

func (*CompletedBatchTxsRequest) Descriptor

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

func (*CompletedBatchTxsRequest) Marshal

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

func (*CompletedBatchTxsRequest) MarshalTo

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

func (*CompletedBatchTxsRequest) MarshalToSizedBuffer

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

func (*CompletedBatchTxsRequest) ProtoMessage

func (*CompletedBatchTxsRequest) ProtoMessage()

func (*CompletedBatchTxsRequest) Reset

func (m *CompletedBatchTxsRequest) Reset()

func (*CompletedBatchTxsRequest) Size

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

func (*CompletedBatchTxsRequest) String

func (m *CompletedBatchTxsRequest) String() string

func (*CompletedBatchTxsRequest) Unmarshal

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

func (*CompletedBatchTxsRequest) XXX_DiscardUnknown

func (m *CompletedBatchTxsRequest) XXX_DiscardUnknown()

func (*CompletedBatchTxsRequest) XXX_Marshal

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

func (*CompletedBatchTxsRequest) XXX_Merge

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

func (*CompletedBatchTxsRequest) XXX_MessageName

func (*CompletedBatchTxsRequest) XXX_MessageName() string

func (*CompletedBatchTxsRequest) XXX_Size

func (m *CompletedBatchTxsRequest) XXX_Size() int

func (*CompletedBatchTxsRequest) XXX_Unmarshal

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

type CompletedBatchTxsResponse

type CompletedBatchTxsResponse struct {
	CompletedBatchTxs []*BatchTx `protobuf:"bytes,1,rep,name=completed_batch_txs,json=completedBatchTxs,proto3" json:"completed_batch_txs,omitempty"`
}

func (*CompletedBatchTxsResponse) Descriptor

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

func (*CompletedBatchTxsResponse) GetCompletedBatchTxs

func (m *CompletedBatchTxsResponse) GetCompletedBatchTxs() []*BatchTx

func (*CompletedBatchTxsResponse) Marshal

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

func (*CompletedBatchTxsResponse) MarshalTo

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

func (*CompletedBatchTxsResponse) MarshalToSizedBuffer

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

func (*CompletedBatchTxsResponse) ProtoMessage

func (*CompletedBatchTxsResponse) ProtoMessage()

func (*CompletedBatchTxsResponse) Reset

func (m *CompletedBatchTxsResponse) Reset()

func (*CompletedBatchTxsResponse) Size

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

func (*CompletedBatchTxsResponse) String

func (m *CompletedBatchTxsResponse) String() string

func (*CompletedBatchTxsResponse) Unmarshal

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

func (*CompletedBatchTxsResponse) XXX_DiscardUnknown

func (m *CompletedBatchTxsResponse) XXX_DiscardUnknown()

func (*CompletedBatchTxsResponse) XXX_Marshal

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

func (*CompletedBatchTxsResponse) XXX_Merge

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

func (*CompletedBatchTxsResponse) XXX_MessageName

func (*CompletedBatchTxsResponse) XXX_MessageName() string

func (*CompletedBatchTxsResponse) XXX_Size

func (m *CompletedBatchTxsResponse) XXX_Size() int

func (*CompletedBatchTxsResponse) XXX_Unmarshal

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

type CompletedContractCallTxsRequest

type CompletedContractCallTxsRequest struct {
}

func (*CompletedContractCallTxsRequest) Descriptor

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

func (*CompletedContractCallTxsRequest) Marshal

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

func (*CompletedContractCallTxsRequest) MarshalTo

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

func (*CompletedContractCallTxsRequest) MarshalToSizedBuffer

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

func (*CompletedContractCallTxsRequest) ProtoMessage

func (*CompletedContractCallTxsRequest) ProtoMessage()

func (*CompletedContractCallTxsRequest) Reset

func (*CompletedContractCallTxsRequest) Size

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

func (*CompletedContractCallTxsRequest) String

func (*CompletedContractCallTxsRequest) Unmarshal

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

func (*CompletedContractCallTxsRequest) XXX_DiscardUnknown

func (m *CompletedContractCallTxsRequest) XXX_DiscardUnknown()

func (*CompletedContractCallTxsRequest) XXX_Marshal

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

func (*CompletedContractCallTxsRequest) XXX_Merge

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

func (*CompletedContractCallTxsRequest) XXX_MessageName

func (*CompletedContractCallTxsRequest) XXX_MessageName() string

func (*CompletedContractCallTxsRequest) XXX_Size

func (m *CompletedContractCallTxsRequest) XXX_Size() int

func (*CompletedContractCallTxsRequest) XXX_Unmarshal

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

type CompletedContractCallTxsResponse

type CompletedContractCallTxsResponse struct {
	CompletedContractCallTxs []*ContractCallTx `` /* 137-byte string literal not displayed */
}

func (*CompletedContractCallTxsResponse) Descriptor

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

func (*CompletedContractCallTxsResponse) GetCompletedContractCallTxs

func (m *CompletedContractCallTxsResponse) GetCompletedContractCallTxs() []*ContractCallTx

func (*CompletedContractCallTxsResponse) Marshal

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

func (*CompletedContractCallTxsResponse) MarshalTo

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

func (*CompletedContractCallTxsResponse) MarshalToSizedBuffer

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

func (*CompletedContractCallTxsResponse) ProtoMessage

func (*CompletedContractCallTxsResponse) ProtoMessage()

func (*CompletedContractCallTxsResponse) Reset

func (*CompletedContractCallTxsResponse) Size

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

func (*CompletedContractCallTxsResponse) String

func (*CompletedContractCallTxsResponse) Unmarshal

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

func (*CompletedContractCallTxsResponse) XXX_DiscardUnknown

func (m *CompletedContractCallTxsResponse) XXX_DiscardUnknown()

func (*CompletedContractCallTxsResponse) XXX_Marshal

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

func (*CompletedContractCallTxsResponse) XXX_Merge

func (*CompletedContractCallTxsResponse) XXX_MessageName

func (*CompletedContractCallTxsResponse) XXX_MessageName() string

func (*CompletedContractCallTxsResponse) XXX_Size

func (m *CompletedContractCallTxsResponse) XXX_Size() int

func (*CompletedContractCallTxsResponse) XXX_Unmarshal

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

type CompletedSignerSetTxsRequest

type CompletedSignerSetTxsRequest struct {
}

func (*CompletedSignerSetTxsRequest) Descriptor

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

func (*CompletedSignerSetTxsRequest) Marshal

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

func (*CompletedSignerSetTxsRequest) MarshalTo

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

func (*CompletedSignerSetTxsRequest) MarshalToSizedBuffer

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

func (*CompletedSignerSetTxsRequest) ProtoMessage

func (*CompletedSignerSetTxsRequest) ProtoMessage()

func (*CompletedSignerSetTxsRequest) Reset

func (m *CompletedSignerSetTxsRequest) Reset()

func (*CompletedSignerSetTxsRequest) Size

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

func (*CompletedSignerSetTxsRequest) String

func (*CompletedSignerSetTxsRequest) Unmarshal

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

func (*CompletedSignerSetTxsRequest) XXX_DiscardUnknown

func (m *CompletedSignerSetTxsRequest) XXX_DiscardUnknown()

func (*CompletedSignerSetTxsRequest) XXX_Marshal

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

func (*CompletedSignerSetTxsRequest) XXX_Merge

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

func (*CompletedSignerSetTxsRequest) XXX_MessageName

func (*CompletedSignerSetTxsRequest) XXX_MessageName() string

func (*CompletedSignerSetTxsRequest) XXX_Size

func (m *CompletedSignerSetTxsRequest) XXX_Size() int

func (*CompletedSignerSetTxsRequest) XXX_Unmarshal

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

type CompletedSignerSetTxsResponse

type CompletedSignerSetTxsResponse struct {
	CompletedSignerSetTxs []*SignerSetTx `` /* 128-byte string literal not displayed */
}

func (*CompletedSignerSetTxsResponse) Descriptor

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

func (*CompletedSignerSetTxsResponse) GetCompletedSignerSetTxs

func (m *CompletedSignerSetTxsResponse) GetCompletedSignerSetTxs() []*SignerSetTx

func (*CompletedSignerSetTxsResponse) Marshal

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

func (*CompletedSignerSetTxsResponse) MarshalTo

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

func (*CompletedSignerSetTxsResponse) MarshalToSizedBuffer

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

func (*CompletedSignerSetTxsResponse) ProtoMessage

func (*CompletedSignerSetTxsResponse) ProtoMessage()

func (*CompletedSignerSetTxsResponse) Reset

func (m *CompletedSignerSetTxsResponse) Reset()

func (*CompletedSignerSetTxsResponse) Size

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

func (*CompletedSignerSetTxsResponse) String

func (*CompletedSignerSetTxsResponse) Unmarshal

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

func (*CompletedSignerSetTxsResponse) XXX_DiscardUnknown

func (m *CompletedSignerSetTxsResponse) XXX_DiscardUnknown()

func (*CompletedSignerSetTxsResponse) XXX_Marshal

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

func (*CompletedSignerSetTxsResponse) XXX_Merge

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

func (*CompletedSignerSetTxsResponse) XXX_MessageName

func (*CompletedSignerSetTxsResponse) XXX_MessageName() string

func (*CompletedSignerSetTxsResponse) XXX_Size

func (m *CompletedSignerSetTxsResponse) XXX_Size() int

func (*CompletedSignerSetTxsResponse) XXX_Unmarshal

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

type ContractCallExecutedEvent

type ContractCallExecutedEvent struct {
	EventNonce        uint64                                           `protobuf:"varint,1,opt,name=event_nonce,json=eventNonce,proto3" json:"event_nonce,omitempty"`
	InvalidationScope github_com_cometbft_cometbft_libs_bytes.HexBytes `` /* 170-byte string literal not displayed */
	InvalidationNonce uint64                                           `protobuf:"varint,3,opt,name=invalidation_nonce,json=invalidationNonce,proto3" json:"invalidation_nonce,omitempty"`
	EthereumHeight    uint64                                           `protobuf:"varint,4,opt,name=ethereum_height,json=ethereumHeight,proto3" json:"ethereum_height,omitempty"`
}

NOTE: bytes.HexBytes is supposed to "help" with json encoding/decoding investigate?

func (*ContractCallExecutedEvent) Descriptor

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

func (*ContractCallExecutedEvent) GetEthereumHeight

func (m *ContractCallExecutedEvent) GetEthereumHeight() uint64

func (*ContractCallExecutedEvent) GetEventNonce

func (m *ContractCallExecutedEvent) GetEventNonce() uint64

func (*ContractCallExecutedEvent) GetInvalidationNonce

func (m *ContractCallExecutedEvent) GetInvalidationNonce() uint64

func (*ContractCallExecutedEvent) GetInvalidationScope

func (*ContractCallExecutedEvent) Hash

func (*ContractCallExecutedEvent) Marshal

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

func (*ContractCallExecutedEvent) MarshalTo

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

func (*ContractCallExecutedEvent) MarshalToSizedBuffer

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

func (*ContractCallExecutedEvent) ProtoMessage

func (*ContractCallExecutedEvent) ProtoMessage()

func (*ContractCallExecutedEvent) Reset

func (m *ContractCallExecutedEvent) Reset()

func (*ContractCallExecutedEvent) Size

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

func (*ContractCallExecutedEvent) String

func (m *ContractCallExecutedEvent) String() string

func (*ContractCallExecutedEvent) Unmarshal

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

func (*ContractCallExecutedEvent) Validate

func (ccee *ContractCallExecutedEvent) Validate() error

func (*ContractCallExecutedEvent) XXX_DiscardUnknown

func (m *ContractCallExecutedEvent) XXX_DiscardUnknown()

func (*ContractCallExecutedEvent) XXX_Marshal

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

func (*ContractCallExecutedEvent) XXX_Merge

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

func (*ContractCallExecutedEvent) XXX_MessageName

func (*ContractCallExecutedEvent) XXX_MessageName() string

func (*ContractCallExecutedEvent) XXX_Size

func (m *ContractCallExecutedEvent) XXX_Size() int

func (*ContractCallExecutedEvent) XXX_Unmarshal

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

type ContractCallTx

type ContractCallTx struct {
	InvalidationNonce uint64       `protobuf:"varint,1,opt,name=invalidation_nonce,json=invalidationNonce,proto3" json:"invalidation_nonce,omitempty"`
	InvalidationScope []byte       `protobuf:"bytes,2,opt,name=invalidation_scope,json=invalidationScope,proto3" json:"invalidation_scope,omitempty"`
	Address           string       `protobuf:"bytes,3,opt,name=address,proto3" json:"address,omitempty"`
	Payload           []byte       `protobuf:"bytes,4,opt,name=payload,proto3" json:"payload,omitempty"`
	Timeout           uint64       `protobuf:"varint,5,opt,name=timeout,proto3" json:"timeout,omitempty"`
	Tokens            []ERC20Token `protobuf:"bytes,6,rep,name=tokens,proto3" json:"tokens"`
	Fees              []ERC20Token `protobuf:"bytes,7,rep,name=fees,proto3" json:"fees"`
	Height            uint64       `protobuf:"varint,8,opt,name=height,proto3" json:"height,omitempty"`
}

ContractCallTx represents an individual arbitrary logic call transaction from Cosmos to Ethereum.

func (*ContractCallTx) Descriptor

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

func (*ContractCallTx) GetAddress

func (m *ContractCallTx) GetAddress() string

func (ContractCallTx) GetCheckpoint

func (c ContractCallTx) GetCheckpoint(gravityID []byte) []byte

GetCheckpoint gets the checkpoint signature from the given outgoing tx batch

func (*ContractCallTx) GetCosmosHeight

func (cctx *ContractCallTx) GetCosmosHeight() uint64

func (*ContractCallTx) GetFees

func (m *ContractCallTx) GetFees() []ERC20Token

func (*ContractCallTx) GetHeight

func (m *ContractCallTx) GetHeight() uint64

func (*ContractCallTx) GetInvalidationNonce

func (m *ContractCallTx) GetInvalidationNonce() uint64

func (*ContractCallTx) GetInvalidationScope

func (m *ContractCallTx) GetInvalidationScope() []byte

func (*ContractCallTx) GetPayload

func (m *ContractCallTx) GetPayload() []byte

func (*ContractCallTx) GetStoreIndex

func (cctx *ContractCallTx) GetStoreIndex() []byte

func (*ContractCallTx) GetTimeout

func (m *ContractCallTx) GetTimeout() uint64

func (*ContractCallTx) GetTokens

func (m *ContractCallTx) GetTokens() []ERC20Token

func (*ContractCallTx) Marshal

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

func (*ContractCallTx) MarshalTo

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

func (*ContractCallTx) MarshalToSizedBuffer

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

func (*ContractCallTx) ProtoMessage

func (*ContractCallTx) ProtoMessage()

func (*ContractCallTx) Reset

func (m *ContractCallTx) Reset()

func (*ContractCallTx) Size

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

func (*ContractCallTx) String

func (m *ContractCallTx) String() string

func (*ContractCallTx) Unmarshal

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

func (*ContractCallTx) XXX_DiscardUnknown

func (m *ContractCallTx) XXX_DiscardUnknown()

func (*ContractCallTx) XXX_Marshal

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

func (*ContractCallTx) XXX_Merge

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

func (*ContractCallTx) XXX_MessageName

func (*ContractCallTx) XXX_MessageName() string

func (*ContractCallTx) XXX_Size

func (m *ContractCallTx) XXX_Size() int

func (*ContractCallTx) XXX_Unmarshal

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

type ContractCallTxConfirmation

type ContractCallTxConfirmation struct {
	InvalidationScope []byte `protobuf:"bytes,1,opt,name=invalidation_scope,json=invalidationScope,proto3" json:"invalidation_scope,omitempty"`
	InvalidationNonce uint64 `protobuf:"varint,2,opt,name=invalidation_nonce,json=invalidationNonce,proto3" json:"invalidation_nonce,omitempty"`
	EthereumSigner    string `protobuf:"bytes,3,opt,name=ethereum_signer,json=ethereumSigner,proto3" json:"ethereum_signer,omitempty"`
	Signature         []byte `protobuf:"bytes,4,opt,name=signature,proto3" json:"signature,omitempty"`
}

ContractCallTxConfirmation is a signature on behalf of a validator for a ContractCallTx.

func (*ContractCallTxConfirmation) Descriptor

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

func (*ContractCallTxConfirmation) GetEthereumSigner

func (m *ContractCallTxConfirmation) GetEthereumSigner() string

func (*ContractCallTxConfirmation) GetInvalidationNonce

func (m *ContractCallTxConfirmation) GetInvalidationNonce() uint64

func (*ContractCallTxConfirmation) GetInvalidationScope

func (m *ContractCallTxConfirmation) GetInvalidationScope() []byte

func (*ContractCallTxConfirmation) GetSignature

func (m *ContractCallTxConfirmation) GetSignature() []byte

func (*ContractCallTxConfirmation) GetSigner

func (u *ContractCallTxConfirmation) GetSigner() common.Address

func (*ContractCallTxConfirmation) GetStoreIndex

func (cctx *ContractCallTxConfirmation) GetStoreIndex() []byte

func (*ContractCallTxConfirmation) Marshal

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

func (*ContractCallTxConfirmation) MarshalTo

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

func (*ContractCallTxConfirmation) MarshalToSizedBuffer

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

func (*ContractCallTxConfirmation) ProtoMessage

func (*ContractCallTxConfirmation) ProtoMessage()

func (*ContractCallTxConfirmation) Reset

func (m *ContractCallTxConfirmation) Reset()

func (*ContractCallTxConfirmation) Size

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

func (*ContractCallTxConfirmation) String

func (m *ContractCallTxConfirmation) String() string

func (*ContractCallTxConfirmation) Unmarshal

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

func (*ContractCallTxConfirmation) Validate

func (u *ContractCallTxConfirmation) Validate() error

func (*ContractCallTxConfirmation) XXX_DiscardUnknown

func (m *ContractCallTxConfirmation) XXX_DiscardUnknown()

func (*ContractCallTxConfirmation) XXX_Marshal

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

func (*ContractCallTxConfirmation) XXX_Merge

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

func (*ContractCallTxConfirmation) XXX_MessageName

func (*ContractCallTxConfirmation) XXX_MessageName() string

func (*ContractCallTxConfirmation) XXX_Size

func (m *ContractCallTxConfirmation) XXX_Size() int

func (*ContractCallTxConfirmation) XXX_Unmarshal

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

type ContractCallTxConfirmationsByValidatorRequest

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

func (*ContractCallTxConfirmationsByValidatorRequest) Descriptor

func (*ContractCallTxConfirmationsByValidatorRequest) GetValidatorAddress

func (m *ContractCallTxConfirmationsByValidatorRequest) GetValidatorAddress() string

func (*ContractCallTxConfirmationsByValidatorRequest) Marshal

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

func (*ContractCallTxConfirmationsByValidatorRequest) MarshalTo

func (*ContractCallTxConfirmationsByValidatorRequest) MarshalToSizedBuffer

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

func (*ContractCallTxConfirmationsByValidatorRequest) ProtoMessage

func (*ContractCallTxConfirmationsByValidatorRequest) Reset

func (*ContractCallTxConfirmationsByValidatorRequest) Size

func (*ContractCallTxConfirmationsByValidatorRequest) String

func (*ContractCallTxConfirmationsByValidatorRequest) Unmarshal

func (*ContractCallTxConfirmationsByValidatorRequest) XXX_DiscardUnknown

func (m *ContractCallTxConfirmationsByValidatorRequest) XXX_DiscardUnknown()

func (*ContractCallTxConfirmationsByValidatorRequest) XXX_Marshal

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

func (*ContractCallTxConfirmationsByValidatorRequest) XXX_Merge

func (*ContractCallTxConfirmationsByValidatorRequest) XXX_MessageName

func (*ContractCallTxConfirmationsByValidatorRequest) XXX_Size

func (*ContractCallTxConfirmationsByValidatorRequest) XXX_Unmarshal

type ContractCallTxConfirmationsByValidatorResponse

type ContractCallTxConfirmationsByValidatorResponse struct {
	ContractCallTxConfirmations []*ContractCallTxConfirmation `` /* 146-byte string literal not displayed */
}

func (*ContractCallTxConfirmationsByValidatorResponse) Descriptor

func (*ContractCallTxConfirmationsByValidatorResponse) GetContractCallTxConfirmations

func (m *ContractCallTxConfirmationsByValidatorResponse) GetContractCallTxConfirmations() []*ContractCallTxConfirmation

func (*ContractCallTxConfirmationsByValidatorResponse) Marshal

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

func (*ContractCallTxConfirmationsByValidatorResponse) MarshalTo

func (*ContractCallTxConfirmationsByValidatorResponse) MarshalToSizedBuffer

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

func (*ContractCallTxConfirmationsByValidatorResponse) ProtoMessage

func (*ContractCallTxConfirmationsByValidatorResponse) Reset

func (*ContractCallTxConfirmationsByValidatorResponse) Size

func (*ContractCallTxConfirmationsByValidatorResponse) String

func (*ContractCallTxConfirmationsByValidatorResponse) Unmarshal

func (*ContractCallTxConfirmationsByValidatorResponse) XXX_DiscardUnknown

func (m *ContractCallTxConfirmationsByValidatorResponse) XXX_DiscardUnknown()

func (*ContractCallTxConfirmationsByValidatorResponse) XXX_Marshal

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

func (*ContractCallTxConfirmationsByValidatorResponse) XXX_Merge

func (*ContractCallTxConfirmationsByValidatorResponse) XXX_MessageName

func (*ContractCallTxConfirmationsByValidatorResponse) XXX_Size

func (*ContractCallTxConfirmationsByValidatorResponse) XXX_Unmarshal

type ContractCallTxConfirmationsRequest

type ContractCallTxConfirmationsRequest struct {
	InvalidationScope []byte `protobuf:"bytes,1,opt,name=invalidation_scope,json=invalidationScope,proto3" json:"invalidation_scope,omitempty"`
	InvalidationNonce uint64 `protobuf:"varint,2,opt,name=invalidation_nonce,json=invalidationNonce,proto3" json:"invalidation_nonce,omitempty"`
}

func (*ContractCallTxConfirmationsRequest) Descriptor

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

func (*ContractCallTxConfirmationsRequest) GetInvalidationNonce

func (m *ContractCallTxConfirmationsRequest) GetInvalidationNonce() uint64

func (*ContractCallTxConfirmationsRequest) GetInvalidationScope

func (m *ContractCallTxConfirmationsRequest) GetInvalidationScope() []byte

func (*ContractCallTxConfirmationsRequest) Marshal

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

func (*ContractCallTxConfirmationsRequest) MarshalTo

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

func (*ContractCallTxConfirmationsRequest) MarshalToSizedBuffer

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

func (*ContractCallTxConfirmationsRequest) ProtoMessage

func (*ContractCallTxConfirmationsRequest) ProtoMessage()

func (*ContractCallTxConfirmationsRequest) Reset

func (*ContractCallTxConfirmationsRequest) Size

func (*ContractCallTxConfirmationsRequest) String

func (*ContractCallTxConfirmationsRequest) Unmarshal

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

func (*ContractCallTxConfirmationsRequest) XXX_DiscardUnknown

func (m *ContractCallTxConfirmationsRequest) XXX_DiscardUnknown()

func (*ContractCallTxConfirmationsRequest) XXX_Marshal

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

func (*ContractCallTxConfirmationsRequest) XXX_Merge

func (*ContractCallTxConfirmationsRequest) XXX_MessageName

func (*ContractCallTxConfirmationsRequest) XXX_MessageName() string

func (*ContractCallTxConfirmationsRequest) XXX_Size

func (*ContractCallTxConfirmationsRequest) XXX_Unmarshal

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

type ContractCallTxConfirmationsResponse

type ContractCallTxConfirmationsResponse struct {
	Signatures []*ContractCallTxConfirmation `protobuf:"bytes,1,rep,name=signatures,proto3" json:"signatures,omitempty"`
}

func (*ContractCallTxConfirmationsResponse) Descriptor

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

func (*ContractCallTxConfirmationsResponse) GetSignatures

func (*ContractCallTxConfirmationsResponse) Marshal

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

func (*ContractCallTxConfirmationsResponse) MarshalTo

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

func (*ContractCallTxConfirmationsResponse) MarshalToSizedBuffer

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

func (*ContractCallTxConfirmationsResponse) ProtoMessage

func (*ContractCallTxConfirmationsResponse) ProtoMessage()

func (*ContractCallTxConfirmationsResponse) Reset

func (*ContractCallTxConfirmationsResponse) Size

func (*ContractCallTxConfirmationsResponse) String

func (*ContractCallTxConfirmationsResponse) Unmarshal

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

func (*ContractCallTxConfirmationsResponse) XXX_DiscardUnknown

func (m *ContractCallTxConfirmationsResponse) XXX_DiscardUnknown()

func (*ContractCallTxConfirmationsResponse) XXX_Marshal

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

func (*ContractCallTxConfirmationsResponse) XXX_Merge

func (*ContractCallTxConfirmationsResponse) XXX_MessageName

func (*ContractCallTxConfirmationsResponse) XXX_MessageName() string

func (*ContractCallTxConfirmationsResponse) XXX_Size

func (*ContractCallTxConfirmationsResponse) XXX_Unmarshal

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

type ContractCallTxRequest

type ContractCallTxRequest struct {
	InvalidationScope []byte `protobuf:"bytes,1,opt,name=invalidation_scope,json=invalidationScope,proto3" json:"invalidation_scope,omitempty"`
	InvalidationNonce uint64 `protobuf:"varint,2,opt,name=invalidation_nonce,json=invalidationNonce,proto3" json:"invalidation_nonce,omitempty"`
}

rpc ContractCallTx

func (*ContractCallTxRequest) Descriptor

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

func (*ContractCallTxRequest) GetInvalidationNonce

func (m *ContractCallTxRequest) GetInvalidationNonce() uint64

func (*ContractCallTxRequest) GetInvalidationScope

func (m *ContractCallTxRequest) GetInvalidationScope() []byte

func (*ContractCallTxRequest) Marshal

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

func (*ContractCallTxRequest) MarshalTo

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

func (*ContractCallTxRequest) MarshalToSizedBuffer

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

func (*ContractCallTxRequest) ProtoMessage

func (*ContractCallTxRequest) ProtoMessage()

func (*ContractCallTxRequest) Reset

func (m *ContractCallTxRequest) Reset()

func (*ContractCallTxRequest) Size

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

func (*ContractCallTxRequest) String

func (m *ContractCallTxRequest) String() string

func (*ContractCallTxRequest) Unmarshal

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

func (*ContractCallTxRequest) XXX_DiscardUnknown

func (m *ContractCallTxRequest) XXX_DiscardUnknown()

func (*ContractCallTxRequest) XXX_Marshal

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

func (*ContractCallTxRequest) XXX_Merge

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

func (*ContractCallTxRequest) XXX_MessageName

func (*ContractCallTxRequest) XXX_MessageName() string

func (*ContractCallTxRequest) XXX_Size

func (m *ContractCallTxRequest) XXX_Size() int

func (*ContractCallTxRequest) XXX_Unmarshal

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

type ContractCallTxResponse

type ContractCallTxResponse struct {
	LogicCall *ContractCallTx `protobuf:"bytes,1,opt,name=logic_call,json=logicCall,proto3" json:"logic_call,omitempty"`
}

func (*ContractCallTxResponse) Descriptor

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

func (*ContractCallTxResponse) GetLogicCall

func (m *ContractCallTxResponse) GetLogicCall() *ContractCallTx

func (*ContractCallTxResponse) Marshal

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

func (*ContractCallTxResponse) MarshalTo

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

func (*ContractCallTxResponse) MarshalToSizedBuffer

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

func (*ContractCallTxResponse) ProtoMessage

func (*ContractCallTxResponse) ProtoMessage()

func (*ContractCallTxResponse) Reset

func (m *ContractCallTxResponse) Reset()

func (*ContractCallTxResponse) Size

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

func (*ContractCallTxResponse) String

func (m *ContractCallTxResponse) String() string

func (*ContractCallTxResponse) Unmarshal

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

func (*ContractCallTxResponse) XXX_DiscardUnknown

func (m *ContractCallTxResponse) XXX_DiscardUnknown()

func (*ContractCallTxResponse) XXX_Marshal

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

func (*ContractCallTxResponse) XXX_Merge

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

func (*ContractCallTxResponse) XXX_MessageName

func (*ContractCallTxResponse) XXX_MessageName() string

func (*ContractCallTxResponse) XXX_Size

func (m *ContractCallTxResponse) XXX_Size() int

func (*ContractCallTxResponse) XXX_Unmarshal

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

type ContractCallTxsRequest

type ContractCallTxsRequest struct {
	Pagination *query.PageRequest `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

rpc ContractCallTxs

func (*ContractCallTxsRequest) Descriptor

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

func (*ContractCallTxsRequest) GetPagination

func (m *ContractCallTxsRequest) GetPagination() *query.PageRequest

func (*ContractCallTxsRequest) Marshal

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

func (*ContractCallTxsRequest) MarshalTo

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

func (*ContractCallTxsRequest) MarshalToSizedBuffer

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

func (*ContractCallTxsRequest) ProtoMessage

func (*ContractCallTxsRequest) ProtoMessage()

func (*ContractCallTxsRequest) Reset

func (m *ContractCallTxsRequest) Reset()

func (*ContractCallTxsRequest) Size

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

func (*ContractCallTxsRequest) String

func (m *ContractCallTxsRequest) String() string

func (*ContractCallTxsRequest) Unmarshal

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

func (*ContractCallTxsRequest) XXX_DiscardUnknown

func (m *ContractCallTxsRequest) XXX_DiscardUnknown()

func (*ContractCallTxsRequest) XXX_Marshal

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

func (*ContractCallTxsRequest) XXX_Merge

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

func (*ContractCallTxsRequest) XXX_MessageName

func (*ContractCallTxsRequest) XXX_MessageName() string

func (*ContractCallTxsRequest) XXX_Size

func (m *ContractCallTxsRequest) XXX_Size() int

func (*ContractCallTxsRequest) XXX_Unmarshal

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

type ContractCallTxsResponse

type ContractCallTxsResponse struct {
	Calls      []*ContractCallTx   `protobuf:"bytes,1,rep,name=calls,proto3" json:"calls,omitempty"`
	Pagination *query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

func (*ContractCallTxsResponse) Descriptor

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

func (*ContractCallTxsResponse) GetCalls

func (m *ContractCallTxsResponse) GetCalls() []*ContractCallTx

func (*ContractCallTxsResponse) GetPagination

func (m *ContractCallTxsResponse) GetPagination() *query.PageResponse

func (*ContractCallTxsResponse) Marshal

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

func (*ContractCallTxsResponse) MarshalTo

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

func (*ContractCallTxsResponse) MarshalToSizedBuffer

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

func (*ContractCallTxsResponse) ProtoMessage

func (*ContractCallTxsResponse) ProtoMessage()

func (*ContractCallTxsResponse) Reset

func (m *ContractCallTxsResponse) Reset()

func (*ContractCallTxsResponse) Size

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

func (*ContractCallTxsResponse) String

func (m *ContractCallTxsResponse) String() string

func (*ContractCallTxsResponse) Unmarshal

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

func (*ContractCallTxsResponse) XXX_DiscardUnknown

func (m *ContractCallTxsResponse) XXX_DiscardUnknown()

func (*ContractCallTxsResponse) XXX_Marshal

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

func (*ContractCallTxsResponse) XXX_Merge

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

func (*ContractCallTxsResponse) XXX_MessageName

func (*ContractCallTxsResponse) XXX_MessageName() string

func (*ContractCallTxsResponse) XXX_Size

func (m *ContractCallTxsResponse) XXX_Size() int

func (*ContractCallTxsResponse) XXX_Unmarshal

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

type DelegateKeysByEthereumSignerRequest

type DelegateKeysByEthereumSignerRequest struct {
	EthereumSigner string `protobuf:"bytes,1,opt,name=ethereum_signer,json=ethereumSigner,proto3" json:"ethereum_signer,omitempty"`
}

func (*DelegateKeysByEthereumSignerRequest) Descriptor

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

func (*DelegateKeysByEthereumSignerRequest) GetEthereumSigner

func (m *DelegateKeysByEthereumSignerRequest) GetEthereumSigner() string

func (*DelegateKeysByEthereumSignerRequest) Marshal

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

func (*DelegateKeysByEthereumSignerRequest) MarshalTo

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

func (*DelegateKeysByEthereumSignerRequest) MarshalToSizedBuffer

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

func (*DelegateKeysByEthereumSignerRequest) ProtoMessage

func (*DelegateKeysByEthereumSignerRequest) ProtoMessage()

func (*DelegateKeysByEthereumSignerRequest) Reset

func (*DelegateKeysByEthereumSignerRequest) Size

func (*DelegateKeysByEthereumSignerRequest) String

func (*DelegateKeysByEthereumSignerRequest) Unmarshal

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

func (*DelegateKeysByEthereumSignerRequest) XXX_DiscardUnknown

func (m *DelegateKeysByEthereumSignerRequest) XXX_DiscardUnknown()

func (*DelegateKeysByEthereumSignerRequest) XXX_Marshal

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

func (*DelegateKeysByEthereumSignerRequest) XXX_Merge

func (*DelegateKeysByEthereumSignerRequest) XXX_MessageName

func (*DelegateKeysByEthereumSignerRequest) XXX_MessageName() string

func (*DelegateKeysByEthereumSignerRequest) XXX_Size

func (*DelegateKeysByEthereumSignerRequest) XXX_Unmarshal

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

type DelegateKeysByEthereumSignerResponse

type DelegateKeysByEthereumSignerResponse 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 (*DelegateKeysByEthereumSignerResponse) Descriptor

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

func (*DelegateKeysByEthereumSignerResponse) GetOrchestratorAddress

func (m *DelegateKeysByEthereumSignerResponse) GetOrchestratorAddress() string

func (*DelegateKeysByEthereumSignerResponse) GetValidatorAddress

func (m *DelegateKeysByEthereumSignerResponse) GetValidatorAddress() string

func (*DelegateKeysByEthereumSignerResponse) Marshal

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

func (*DelegateKeysByEthereumSignerResponse) MarshalTo

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

func (*DelegateKeysByEthereumSignerResponse) MarshalToSizedBuffer

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

func (*DelegateKeysByEthereumSignerResponse) ProtoMessage

func (*DelegateKeysByEthereumSignerResponse) ProtoMessage()

func (*DelegateKeysByEthereumSignerResponse) Reset

func (*DelegateKeysByEthereumSignerResponse) Size

func (*DelegateKeysByEthereumSignerResponse) String

func (*DelegateKeysByEthereumSignerResponse) Unmarshal

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

func (*DelegateKeysByEthereumSignerResponse) XXX_DiscardUnknown

func (m *DelegateKeysByEthereumSignerResponse) XXX_DiscardUnknown()

func (*DelegateKeysByEthereumSignerResponse) XXX_Marshal

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

func (*DelegateKeysByEthereumSignerResponse) XXX_Merge

func (*DelegateKeysByEthereumSignerResponse) XXX_MessageName

func (*DelegateKeysByEthereumSignerResponse) XXX_MessageName() string

func (*DelegateKeysByEthereumSignerResponse) XXX_Size

func (*DelegateKeysByEthereumSignerResponse) XXX_Unmarshal

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

type DelegateKeysByOrchestratorRequest

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

func (*DelegateKeysByOrchestratorRequest) Descriptor

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

func (*DelegateKeysByOrchestratorRequest) GetOrchestratorAddress

func (m *DelegateKeysByOrchestratorRequest) GetOrchestratorAddress() string

func (*DelegateKeysByOrchestratorRequest) Marshal

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

func (*DelegateKeysByOrchestratorRequest) MarshalTo

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

func (*DelegateKeysByOrchestratorRequest) MarshalToSizedBuffer

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

func (*DelegateKeysByOrchestratorRequest) ProtoMessage

func (*DelegateKeysByOrchestratorRequest) ProtoMessage()

func (*DelegateKeysByOrchestratorRequest) Reset

func (*DelegateKeysByOrchestratorRequest) Size

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

func (*DelegateKeysByOrchestratorRequest) String

func (*DelegateKeysByOrchestratorRequest) Unmarshal

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

func (*DelegateKeysByOrchestratorRequest) XXX_DiscardUnknown

func (m *DelegateKeysByOrchestratorRequest) XXX_DiscardUnknown()

func (*DelegateKeysByOrchestratorRequest) XXX_Marshal

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

func (*DelegateKeysByOrchestratorRequest) XXX_Merge

func (*DelegateKeysByOrchestratorRequest) XXX_MessageName

func (*DelegateKeysByOrchestratorRequest) XXX_MessageName() string

func (*DelegateKeysByOrchestratorRequest) XXX_Size

func (m *DelegateKeysByOrchestratorRequest) XXX_Size() int

func (*DelegateKeysByOrchestratorRequest) XXX_Unmarshal

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

type DelegateKeysByOrchestratorResponse

type DelegateKeysByOrchestratorResponse struct {
	ValidatorAddress string `protobuf:"bytes,1,opt,name=validator_address,json=validatorAddress,proto3" json:"validator_address,omitempty"`
	EthereumSigner   string `protobuf:"bytes,2,opt,name=ethereum_signer,json=ethereumSigner,proto3" json:"ethereum_signer,omitempty"`
}

func (*DelegateKeysByOrchestratorResponse) Descriptor

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

func (*DelegateKeysByOrchestratorResponse) GetEthereumSigner

func (m *DelegateKeysByOrchestratorResponse) GetEthereumSigner() string

func (*DelegateKeysByOrchestratorResponse) GetValidatorAddress

func (m *DelegateKeysByOrchestratorResponse) GetValidatorAddress() string

func (*DelegateKeysByOrchestratorResponse) Marshal

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

func (*DelegateKeysByOrchestratorResponse) MarshalTo

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

func (*DelegateKeysByOrchestratorResponse) MarshalToSizedBuffer

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

func (*DelegateKeysByOrchestratorResponse) ProtoMessage

func (*DelegateKeysByOrchestratorResponse) ProtoMessage()

func (*DelegateKeysByOrchestratorResponse) Reset

func (*DelegateKeysByOrchestratorResponse) Size

func (*DelegateKeysByOrchestratorResponse) String

func (*DelegateKeysByOrchestratorResponse) Unmarshal

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

func (*DelegateKeysByOrchestratorResponse) XXX_DiscardUnknown

func (m *DelegateKeysByOrchestratorResponse) XXX_DiscardUnknown()

func (*DelegateKeysByOrchestratorResponse) XXX_Marshal

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

func (*DelegateKeysByOrchestratorResponse) XXX_Merge

func (*DelegateKeysByOrchestratorResponse) XXX_MessageName

func (*DelegateKeysByOrchestratorResponse) XXX_MessageName() string

func (*DelegateKeysByOrchestratorResponse) XXX_Size

func (*DelegateKeysByOrchestratorResponse) XXX_Unmarshal

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

type DelegateKeysByValidatorRequest

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

func (*DelegateKeysByValidatorRequest) Descriptor

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

func (*DelegateKeysByValidatorRequest) GetValidatorAddress

func (m *DelegateKeysByValidatorRequest) GetValidatorAddress() string

func (*DelegateKeysByValidatorRequest) Marshal

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

func (*DelegateKeysByValidatorRequest) MarshalTo

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

func (*DelegateKeysByValidatorRequest) MarshalToSizedBuffer

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

func (*DelegateKeysByValidatorRequest) ProtoMessage

func (*DelegateKeysByValidatorRequest) ProtoMessage()

func (*DelegateKeysByValidatorRequest) Reset

func (m *DelegateKeysByValidatorRequest) Reset()

func (*DelegateKeysByValidatorRequest) Size

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

func (*DelegateKeysByValidatorRequest) String

func (*DelegateKeysByValidatorRequest) Unmarshal

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

func (*DelegateKeysByValidatorRequest) XXX_DiscardUnknown

func (m *DelegateKeysByValidatorRequest) XXX_DiscardUnknown()

func (*DelegateKeysByValidatorRequest) XXX_Marshal

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

func (*DelegateKeysByValidatorRequest) XXX_Merge

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

func (*DelegateKeysByValidatorRequest) XXX_MessageName

func (*DelegateKeysByValidatorRequest) XXX_MessageName() string

func (*DelegateKeysByValidatorRequest) XXX_Size

func (m *DelegateKeysByValidatorRequest) XXX_Size() int

func (*DelegateKeysByValidatorRequest) XXX_Unmarshal

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

type DelegateKeysByValidatorResponse

type DelegateKeysByValidatorResponse 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 (*DelegateKeysByValidatorResponse) Descriptor

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

func (*DelegateKeysByValidatorResponse) GetEthAddress

func (m *DelegateKeysByValidatorResponse) GetEthAddress() string

func (*DelegateKeysByValidatorResponse) GetOrchestratorAddress

func (m *DelegateKeysByValidatorResponse) GetOrchestratorAddress() string

func (*DelegateKeysByValidatorResponse) Marshal

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

func (*DelegateKeysByValidatorResponse) MarshalTo

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

func (*DelegateKeysByValidatorResponse) MarshalToSizedBuffer

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

func (*DelegateKeysByValidatorResponse) ProtoMessage

func (*DelegateKeysByValidatorResponse) ProtoMessage()

func (*DelegateKeysByValidatorResponse) Reset

func (*DelegateKeysByValidatorResponse) Size

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

func (*DelegateKeysByValidatorResponse) String

func (*DelegateKeysByValidatorResponse) Unmarshal

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

func (*DelegateKeysByValidatorResponse) XXX_DiscardUnknown

func (m *DelegateKeysByValidatorResponse) XXX_DiscardUnknown()

func (*DelegateKeysByValidatorResponse) XXX_Marshal

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

func (*DelegateKeysByValidatorResponse) XXX_Merge

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

func (*DelegateKeysByValidatorResponse) XXX_MessageName

func (*DelegateKeysByValidatorResponse) XXX_MessageName() string

func (*DelegateKeysByValidatorResponse) XXX_Size

func (m *DelegateKeysByValidatorResponse) XXX_Size() int

func (*DelegateKeysByValidatorResponse) XXX_Unmarshal

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

type DelegateKeysRequest

type DelegateKeysRequest struct {
}

func (*DelegateKeysRequest) Descriptor

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

func (*DelegateKeysRequest) Marshal

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

func (*DelegateKeysRequest) MarshalTo

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

func (*DelegateKeysRequest) MarshalToSizedBuffer

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

func (*DelegateKeysRequest) ProtoMessage

func (*DelegateKeysRequest) ProtoMessage()

func (*DelegateKeysRequest) Reset

func (m *DelegateKeysRequest) Reset()

func (*DelegateKeysRequest) Size

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

func (*DelegateKeysRequest) String

func (m *DelegateKeysRequest) String() string

func (*DelegateKeysRequest) Unmarshal

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

func (*DelegateKeysRequest) XXX_DiscardUnknown

func (m *DelegateKeysRequest) XXX_DiscardUnknown()

func (*DelegateKeysRequest) XXX_Marshal

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

func (*DelegateKeysRequest) XXX_Merge

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

func (*DelegateKeysRequest) XXX_MessageName

func (*DelegateKeysRequest) XXX_MessageName() string

func (*DelegateKeysRequest) XXX_Size

func (m *DelegateKeysRequest) XXX_Size() int

func (*DelegateKeysRequest) XXX_Unmarshal

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

type DelegateKeysResponse

type DelegateKeysResponse struct {
	DelegateKeys []*MsgDelegateKeys `protobuf:"bytes,1,rep,name=delegate_keys,json=delegateKeys,proto3" json:"delegate_keys,omitempty"`
}

func (*DelegateKeysResponse) Descriptor

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

func (*DelegateKeysResponse) GetDelegateKeys

func (m *DelegateKeysResponse) GetDelegateKeys() []*MsgDelegateKeys

func (*DelegateKeysResponse) Marshal

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

func (*DelegateKeysResponse) MarshalTo

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

func (*DelegateKeysResponse) MarshalToSizedBuffer

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

func (*DelegateKeysResponse) ProtoMessage

func (*DelegateKeysResponse) ProtoMessage()

func (*DelegateKeysResponse) Reset

func (m *DelegateKeysResponse) Reset()

func (*DelegateKeysResponse) Size

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

func (*DelegateKeysResponse) String

func (m *DelegateKeysResponse) String() string

func (*DelegateKeysResponse) Unmarshal

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

func (*DelegateKeysResponse) XXX_DiscardUnknown

func (m *DelegateKeysResponse) XXX_DiscardUnknown()

func (*DelegateKeysResponse) XXX_Marshal

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

func (*DelegateKeysResponse) XXX_Merge

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

func (*DelegateKeysResponse) XXX_MessageName

func (*DelegateKeysResponse) XXX_MessageName() string

func (*DelegateKeysResponse) XXX_Size

func (m *DelegateKeysResponse) XXX_Size() int

func (*DelegateKeysResponse) XXX_Unmarshal

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

type DelegateKeysSignMsg

type DelegateKeysSignMsg struct {
	ValidatorAddress string `protobuf:"bytes,1,opt,name=validator_address,json=validatorAddress,proto3" json:"validator_address,omitempty"`
	Nonce            uint64 `protobuf:"varint,2,opt,name=nonce,proto3" json:"nonce,omitempty"`
}

DelegateKeysSignMsg defines the message structure an operator is expected to sign when submitting a MsgDelegateKeys message. The resulting signature should populate the eth_signature field.

func (*DelegateKeysSignMsg) Descriptor

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

func (*DelegateKeysSignMsg) GetNonce

func (m *DelegateKeysSignMsg) GetNonce() uint64

func (*DelegateKeysSignMsg) GetValidatorAddress

func (m *DelegateKeysSignMsg) GetValidatorAddress() string

func (*DelegateKeysSignMsg) Marshal

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

func (*DelegateKeysSignMsg) MarshalTo

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

func (*DelegateKeysSignMsg) MarshalToSizedBuffer

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

func (*DelegateKeysSignMsg) ProtoMessage

func (*DelegateKeysSignMsg) ProtoMessage()

func (*DelegateKeysSignMsg) Reset

func (m *DelegateKeysSignMsg) Reset()

func (*DelegateKeysSignMsg) Size

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

func (*DelegateKeysSignMsg) String

func (m *DelegateKeysSignMsg) String() string

func (*DelegateKeysSignMsg) Unmarshal

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

func (*DelegateKeysSignMsg) XXX_DiscardUnknown

func (m *DelegateKeysSignMsg) XXX_DiscardUnknown()

func (*DelegateKeysSignMsg) XXX_Marshal

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

func (*DelegateKeysSignMsg) XXX_Merge

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

func (*DelegateKeysSignMsg) XXX_MessageName

func (*DelegateKeysSignMsg) XXX_MessageName() string

func (*DelegateKeysSignMsg) XXX_Size

func (m *DelegateKeysSignMsg) XXX_Size() int

func (*DelegateKeysSignMsg) XXX_Unmarshal

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

type DenomToERC20ParamsRequest

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

func (*DenomToERC20ParamsRequest) Descriptor

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

func (*DenomToERC20ParamsRequest) GetDenom

func (m *DenomToERC20ParamsRequest) GetDenom() string

func (*DenomToERC20ParamsRequest) Marshal

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

func (*DenomToERC20ParamsRequest) MarshalTo

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

func (*DenomToERC20ParamsRequest) MarshalToSizedBuffer

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

func (*DenomToERC20ParamsRequest) ProtoMessage

func (*DenomToERC20ParamsRequest) ProtoMessage()

func (*DenomToERC20ParamsRequest) Reset

func (m *DenomToERC20ParamsRequest) Reset()

func (*DenomToERC20ParamsRequest) Size

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

func (*DenomToERC20ParamsRequest) String

func (m *DenomToERC20ParamsRequest) String() string

func (*DenomToERC20ParamsRequest) Unmarshal

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

func (*DenomToERC20ParamsRequest) XXX_DiscardUnknown

func (m *DenomToERC20ParamsRequest) XXX_DiscardUnknown()

func (*DenomToERC20ParamsRequest) XXX_Marshal

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

func (*DenomToERC20ParamsRequest) XXX_Merge

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

func (*DenomToERC20ParamsRequest) XXX_MessageName

func (*DenomToERC20ParamsRequest) XXX_MessageName() string

func (*DenomToERC20ParamsRequest) XXX_Size

func (m *DenomToERC20ParamsRequest) XXX_Size() int

func (*DenomToERC20ParamsRequest) XXX_Unmarshal

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

type DenomToERC20ParamsResponse

type DenomToERC20ParamsResponse struct {
	BaseDenom     string `protobuf:"bytes,1,opt,name=base_denom,json=baseDenom,proto3" json:"base_denom,omitempty"`
	Erc20Name     string `protobuf:"bytes,2,opt,name=erc20_name,json=erc20Name,proto3" json:"erc20_name,omitempty"`
	Erc20Symbol   string `protobuf:"bytes,3,opt,name=erc20_symbol,json=erc20Symbol,proto3" json:"erc20_symbol,omitempty"`
	Erc20Decimals uint64 `protobuf:"varint,4,opt,name=erc20_decimals,json=erc20Decimals,proto3" json:"erc20_decimals,omitempty"`
}

func (*DenomToERC20ParamsResponse) Descriptor

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

func (*DenomToERC20ParamsResponse) GetBaseDenom

func (m *DenomToERC20ParamsResponse) GetBaseDenom() string

func (*DenomToERC20ParamsResponse) GetErc20Decimals

func (m *DenomToERC20ParamsResponse) GetErc20Decimals() uint64

func (*DenomToERC20ParamsResponse) GetErc20Name

func (m *DenomToERC20ParamsResponse) GetErc20Name() string

func (*DenomToERC20ParamsResponse) GetErc20Symbol

func (m *DenomToERC20ParamsResponse) GetErc20Symbol() string

func (*DenomToERC20ParamsResponse) Marshal

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

func (*DenomToERC20ParamsResponse) MarshalTo

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

func (*DenomToERC20ParamsResponse) MarshalToSizedBuffer

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

func (*DenomToERC20ParamsResponse) ProtoMessage

func (*DenomToERC20ParamsResponse) ProtoMessage()

func (*DenomToERC20ParamsResponse) Reset

func (m *DenomToERC20ParamsResponse) Reset()

func (*DenomToERC20ParamsResponse) Size

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

func (*DenomToERC20ParamsResponse) String

func (m *DenomToERC20ParamsResponse) String() string

func (*DenomToERC20ParamsResponse) Unmarshal

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

func (*DenomToERC20ParamsResponse) XXX_DiscardUnknown

func (m *DenomToERC20ParamsResponse) XXX_DiscardUnknown()

func (*DenomToERC20ParamsResponse) XXX_Marshal

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

func (*DenomToERC20ParamsResponse) XXX_Merge

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

func (*DenomToERC20ParamsResponse) XXX_MessageName

func (*DenomToERC20ParamsResponse) XXX_MessageName() string

func (*DenomToERC20ParamsResponse) XXX_Size

func (m *DenomToERC20ParamsResponse) XXX_Size() int

func (*DenomToERC20ParamsResponse) XXX_Unmarshal

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

type DenomToERC20Request

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

func (*DenomToERC20Request) Descriptor

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

func (*DenomToERC20Request) GetDenom

func (m *DenomToERC20Request) GetDenom() string

func (*DenomToERC20Request) Marshal

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

func (*DenomToERC20Request) MarshalTo

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

func (*DenomToERC20Request) MarshalToSizedBuffer

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

func (*DenomToERC20Request) ProtoMessage

func (*DenomToERC20Request) ProtoMessage()

func (*DenomToERC20Request) Reset

func (m *DenomToERC20Request) Reset()

func (*DenomToERC20Request) Size

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

func (*DenomToERC20Request) String

func (m *DenomToERC20Request) String() string

func (*DenomToERC20Request) Unmarshal

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

func (*DenomToERC20Request) XXX_DiscardUnknown

func (m *DenomToERC20Request) XXX_DiscardUnknown()

func (*DenomToERC20Request) XXX_Marshal

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

func (*DenomToERC20Request) XXX_Merge

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

func (*DenomToERC20Request) XXX_MessageName

func (*DenomToERC20Request) XXX_MessageName() string

func (*DenomToERC20Request) XXX_Size

func (m *DenomToERC20Request) XXX_Size() int

func (*DenomToERC20Request) XXX_Unmarshal

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

type DenomToERC20Response

type DenomToERC20Response struct {
	Erc20            string `protobuf:"bytes,1,opt,name=erc20,proto3" json:"erc20,omitempty"`
	CosmosOriginated bool   `protobuf:"varint,2,opt,name=cosmos_originated,json=cosmosOriginated,proto3" json:"cosmos_originated,omitempty"`
}

func (*DenomToERC20Response) Descriptor

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

func (*DenomToERC20Response) GetCosmosOriginated

func (m *DenomToERC20Response) GetCosmosOriginated() bool

func (*DenomToERC20Response) GetErc20

func (m *DenomToERC20Response) GetErc20() string

func (*DenomToERC20Response) Marshal

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

func (*DenomToERC20Response) MarshalTo

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

func (*DenomToERC20Response) MarshalToSizedBuffer

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

func (*DenomToERC20Response) ProtoMessage

func (*DenomToERC20Response) ProtoMessage()

func (*DenomToERC20Response) Reset

func (m *DenomToERC20Response) Reset()

func (*DenomToERC20Response) Size

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

func (*DenomToERC20Response) String

func (m *DenomToERC20Response) String() string

func (*DenomToERC20Response) Unmarshal

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

func (*DenomToERC20Response) XXX_DiscardUnknown

func (m *DenomToERC20Response) XXX_DiscardUnknown()

func (*DenomToERC20Response) XXX_Marshal

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

func (*DenomToERC20Response) XXX_Merge

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

func (*DenomToERC20Response) XXX_MessageName

func (*DenomToERC20Response) XXX_MessageName() string

func (*DenomToERC20Response) XXX_Size

func (m *DenomToERC20Response) XXX_Size() int

func (*DenomToERC20Response) XXX_Unmarshal

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

type DistributionKeeper

type DistributionKeeper interface {
	GetFeePool(ctx sdk.Context) (feePool distributiontypes.FeePool)
	SetFeePool(ctx sdk.Context, feePool distributiontypes.FeePool)
}

type ERC20DeployedEvent

type ERC20DeployedEvent struct {
	EventNonce     uint64 `protobuf:"varint,1,opt,name=event_nonce,json=eventNonce,proto3" json:"event_nonce,omitempty"`
	CosmosDenom    string `protobuf:"bytes,2,opt,name=cosmos_denom,json=cosmosDenom,proto3" json:"cosmos_denom,omitempty"`
	TokenContract  string `protobuf:"bytes,3,opt,name=token_contract,json=tokenContract,proto3" json:"token_contract,omitempty"`
	Erc20Name      string `protobuf:"bytes,4,opt,name=erc20_name,json=erc20Name,proto3" json:"erc20_name,omitempty"`
	Erc20Symbol    string `protobuf:"bytes,5,opt,name=erc20_symbol,json=erc20Symbol,proto3" json:"erc20_symbol,omitempty"`
	Erc20Decimals  uint64 `protobuf:"varint,6,opt,name=erc20_decimals,json=erc20Decimals,proto3" json:"erc20_decimals,omitempty"`
	EthereumHeight uint64 `protobuf:"varint,7,opt,name=ethereum_height,json=ethereumHeight,proto3" json:"ethereum_height,omitempty"`
}

ERC20DeployedEvent is submitted when an ERC20 contract for a Cosmos SDK coin has been deployed on Ethereum.

func (*ERC20DeployedEvent) Descriptor

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

func (*ERC20DeployedEvent) GetCosmosDenom

func (m *ERC20DeployedEvent) GetCosmosDenom() string

func (*ERC20DeployedEvent) GetErc20Decimals

func (m *ERC20DeployedEvent) GetErc20Decimals() uint64

func (*ERC20DeployedEvent) GetErc20Name

func (m *ERC20DeployedEvent) GetErc20Name() string

func (*ERC20DeployedEvent) GetErc20Symbol

func (m *ERC20DeployedEvent) GetErc20Symbol() string

func (*ERC20DeployedEvent) GetEthereumHeight

func (m *ERC20DeployedEvent) GetEthereumHeight() uint64

func (*ERC20DeployedEvent) GetEventNonce

func (m *ERC20DeployedEvent) GetEventNonce() uint64

func (*ERC20DeployedEvent) GetTokenContract

func (m *ERC20DeployedEvent) GetTokenContract() string

func (*ERC20DeployedEvent) Hash

func (e20de *ERC20DeployedEvent) Hash() tmbytes.HexBytes

func (*ERC20DeployedEvent) Marshal

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

func (*ERC20DeployedEvent) MarshalTo

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

func (*ERC20DeployedEvent) MarshalToSizedBuffer

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

func (*ERC20DeployedEvent) ProtoMessage

func (*ERC20DeployedEvent) ProtoMessage()

func (*ERC20DeployedEvent) Reset

func (m *ERC20DeployedEvent) Reset()

func (*ERC20DeployedEvent) Size

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

func (*ERC20DeployedEvent) String

func (m *ERC20DeployedEvent) String() string

func (*ERC20DeployedEvent) Unmarshal

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

func (*ERC20DeployedEvent) Validate

func (e20de *ERC20DeployedEvent) Validate() error

func (*ERC20DeployedEvent) XXX_DiscardUnknown

func (m *ERC20DeployedEvent) XXX_DiscardUnknown()

func (*ERC20DeployedEvent) XXX_Marshal

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

func (*ERC20DeployedEvent) XXX_Merge

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

func (*ERC20DeployedEvent) XXX_MessageName

func (*ERC20DeployedEvent) XXX_MessageName() string

func (*ERC20DeployedEvent) XXX_Size

func (m *ERC20DeployedEvent) XXX_Size() int

func (*ERC20DeployedEvent) XXX_Unmarshal

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

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 Cosmos 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_MessageName

func (*ERC20ToDenom) XXX_MessageName() string

func (*ERC20ToDenom) XXX_Size

func (m *ERC20ToDenom) XXX_Size() int

func (*ERC20ToDenom) XXX_Unmarshal

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

type ERC20ToDenomRequest

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

func (*ERC20ToDenomRequest) Descriptor

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

func (*ERC20ToDenomRequest) GetErc20

func (m *ERC20ToDenomRequest) GetErc20() string

func (*ERC20ToDenomRequest) Marshal

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

func (*ERC20ToDenomRequest) MarshalTo

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

func (*ERC20ToDenomRequest) MarshalToSizedBuffer

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

func (*ERC20ToDenomRequest) ProtoMessage

func (*ERC20ToDenomRequest) ProtoMessage()

func (*ERC20ToDenomRequest) Reset

func (m *ERC20ToDenomRequest) Reset()

func (*ERC20ToDenomRequest) Size

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

func (*ERC20ToDenomRequest) String

func (m *ERC20ToDenomRequest) String() string

func (*ERC20ToDenomRequest) Unmarshal

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

func (*ERC20ToDenomRequest) XXX_DiscardUnknown

func (m *ERC20ToDenomRequest) XXX_DiscardUnknown()

func (*ERC20ToDenomRequest) XXX_Marshal

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

func (*ERC20ToDenomRequest) XXX_Merge

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

func (*ERC20ToDenomRequest) XXX_MessageName

func (*ERC20ToDenomRequest) XXX_MessageName() string

func (*ERC20ToDenomRequest) XXX_Size

func (m *ERC20ToDenomRequest) XXX_Size() int

func (*ERC20ToDenomRequest) XXX_Unmarshal

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

type ERC20ToDenomResponse

type ERC20ToDenomResponse struct {
	Denom            string `protobuf:"bytes,1,opt,name=denom,proto3" json:"denom,omitempty"`
	CosmosOriginated bool   `protobuf:"varint,2,opt,name=cosmos_originated,json=cosmosOriginated,proto3" json:"cosmos_originated,omitempty"`
}

func (*ERC20ToDenomResponse) Descriptor

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

func (*ERC20ToDenomResponse) GetCosmosOriginated

func (m *ERC20ToDenomResponse) GetCosmosOriginated() bool

func (*ERC20ToDenomResponse) GetDenom

func (m *ERC20ToDenomResponse) GetDenom() string

func (*ERC20ToDenomResponse) Marshal

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

func (*ERC20ToDenomResponse) MarshalTo

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

func (*ERC20ToDenomResponse) MarshalToSizedBuffer

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

func (*ERC20ToDenomResponse) ProtoMessage

func (*ERC20ToDenomResponse) ProtoMessage()

func (*ERC20ToDenomResponse) Reset

func (m *ERC20ToDenomResponse) Reset()

func (*ERC20ToDenomResponse) Size

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

func (*ERC20ToDenomResponse) String

func (m *ERC20ToDenomResponse) String() string

func (*ERC20ToDenomResponse) Unmarshal

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

func (*ERC20ToDenomResponse) XXX_DiscardUnknown

func (m *ERC20ToDenomResponse) XXX_DiscardUnknown()

func (*ERC20ToDenomResponse) XXX_Marshal

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

func (*ERC20ToDenomResponse) XXX_Merge

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

func (*ERC20ToDenomResponse) XXX_MessageName

func (*ERC20ToDenomResponse) XXX_MessageName() string

func (*ERC20ToDenomResponse) XXX_Size

func (m *ERC20ToDenomResponse) XXX_Size() int

func (*ERC20ToDenomResponse) XXX_Unmarshal

func (m *ERC20ToDenomResponse) 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"`
}

func NewERC20Token

func NewERC20Token(amount uint64, contract common.Address) ERC20Token

NewERC20Token returns a new instance of an ERC20

func NewSDKIntERC20Token

func NewSDKIntERC20Token(amount sdk.Int, contract common.Address) 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) 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_MessageName

func (*ERC20Token) XXX_MessageName() string

func (*ERC20Token) XXX_Size

func (m *ERC20Token) XXX_Size() int

func (*ERC20Token) XXX_Unmarshal

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

type EthereumEvent

type EthereumEvent interface {
	proto.Message

	GetEventNonce() uint64
	GetEthereumHeight() uint64
	Hash() tmbytes.HexBytes
	Validate() error
}

EthereumEvent represents a event from the gravity contract on the counterparty ethereum chain

func UnpackEvent

func UnpackEvent(any *types.Any) (EthereumEvent, error)

UnpackEvent unpacks an Any into an EthereumEvent. It returns an error if the event can't be unpacked.

type EthereumEventVoteRecord

type EthereumEventVoteRecord struct {
	Event    *types.Any `protobuf:"bytes,1,opt,name=event,proto3" json:"event,omitempty"`
	Votes    []string   `protobuf:"bytes,2,rep,name=votes,proto3" json:"votes,omitempty"`
	Accepted bool       `protobuf:"varint,3,opt,name=accepted,proto3" json:"accepted,omitempty"`
}

EthereumEventVoteRecord is an event that is pending of confirmation by 2/3 of the signer set. The event is then attested and executed in the state machine once the required threshold is met.

func (*EthereumEventVoteRecord) Descriptor

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

func (*EthereumEventVoteRecord) GetAccepted

func (m *EthereumEventVoteRecord) GetAccepted() bool

func (*EthereumEventVoteRecord) GetEvent

func (m *EthereumEventVoteRecord) GetEvent() *types.Any

func (*EthereumEventVoteRecord) GetVotes

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

func (*EthereumEventVoteRecord) Marshal

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

func (*EthereumEventVoteRecord) MarshalTo

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

func (*EthereumEventVoteRecord) MarshalToSizedBuffer

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

func (*EthereumEventVoteRecord) ProtoMessage

func (*EthereumEventVoteRecord) ProtoMessage()

func (*EthereumEventVoteRecord) Reset

func (m *EthereumEventVoteRecord) Reset()

func (*EthereumEventVoteRecord) Size

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

func (*EthereumEventVoteRecord) String

func (m *EthereumEventVoteRecord) String() string

func (*EthereumEventVoteRecord) Unmarshal

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

func (*EthereumEventVoteRecord) UnpackInterfaces

func (m *EthereumEventVoteRecord) UnpackInterfaces(unpacker types.AnyUnpacker) error

UnpackInterfaces implements UnpackInterfacesMessage.UnpackInterfaces

func (*EthereumEventVoteRecord) XXX_DiscardUnknown

func (m *EthereumEventVoteRecord) XXX_DiscardUnknown()

func (*EthereumEventVoteRecord) XXX_Marshal

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

func (*EthereumEventVoteRecord) XXX_Merge

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

func (*EthereumEventVoteRecord) XXX_MessageName

func (*EthereumEventVoteRecord) XXX_MessageName() string

func (*EthereumEventVoteRecord) XXX_Size

func (m *EthereumEventVoteRecord) XXX_Size() int

func (*EthereumEventVoteRecord) XXX_Unmarshal

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

type EthereumEventVoteRecordsRequest

type EthereumEventVoteRecordsRequest struct {
	Pagination *query.PageRequest `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

func (*EthereumEventVoteRecordsRequest) Descriptor

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

func (*EthereumEventVoteRecordsRequest) GetPagination

func (*EthereumEventVoteRecordsRequest) Marshal

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

func (*EthereumEventVoteRecordsRequest) MarshalTo

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

func (*EthereumEventVoteRecordsRequest) MarshalToSizedBuffer

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

func (*EthereumEventVoteRecordsRequest) ProtoMessage

func (*EthereumEventVoteRecordsRequest) ProtoMessage()

func (*EthereumEventVoteRecordsRequest) Reset

func (*EthereumEventVoteRecordsRequest) Size

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

func (*EthereumEventVoteRecordsRequest) String

func (*EthereumEventVoteRecordsRequest) Unmarshal

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

func (*EthereumEventVoteRecordsRequest) XXX_DiscardUnknown

func (m *EthereumEventVoteRecordsRequest) XXX_DiscardUnknown()

func (*EthereumEventVoteRecordsRequest) XXX_Marshal

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

func (*EthereumEventVoteRecordsRequest) XXX_Merge

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

func (*EthereumEventVoteRecordsRequest) XXX_MessageName

func (*EthereumEventVoteRecordsRequest) XXX_MessageName() string

func (*EthereumEventVoteRecordsRequest) XXX_Size

func (m *EthereumEventVoteRecordsRequest) XXX_Size() int

func (*EthereumEventVoteRecordsRequest) XXX_Unmarshal

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

type EthereumEventVoteRecordsResponse

type EthereumEventVoteRecordsResponse struct {
	Records    []*EthereumEventVoteRecord `protobuf:"bytes,1,rep,name=records,proto3" json:"records,omitempty"`
	Pagination *query.PageResponse        `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

func (*EthereumEventVoteRecordsResponse) Descriptor

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

func (*EthereumEventVoteRecordsResponse) GetPagination

func (*EthereumEventVoteRecordsResponse) GetRecords

func (*EthereumEventVoteRecordsResponse) Marshal

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

func (*EthereumEventVoteRecordsResponse) MarshalTo

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

func (*EthereumEventVoteRecordsResponse) MarshalToSizedBuffer

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

func (*EthereumEventVoteRecordsResponse) ProtoMessage

func (*EthereumEventVoteRecordsResponse) ProtoMessage()

func (*EthereumEventVoteRecordsResponse) Reset

func (*EthereumEventVoteRecordsResponse) Size

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

func (*EthereumEventVoteRecordsResponse) String

func (*EthereumEventVoteRecordsResponse) Unmarshal

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

func (*EthereumEventVoteRecordsResponse) XXX_DiscardUnknown

func (m *EthereumEventVoteRecordsResponse) XXX_DiscardUnknown()

func (*EthereumEventVoteRecordsResponse) XXX_Marshal

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

func (*EthereumEventVoteRecordsResponse) XXX_Merge

func (*EthereumEventVoteRecordsResponse) XXX_MessageName

func (*EthereumEventVoteRecordsResponse) XXX_MessageName() string

func (*EthereumEventVoteRecordsResponse) XXX_Size

func (m *EthereumEventVoteRecordsResponse) XXX_Size() int

func (*EthereumEventVoteRecordsResponse) XXX_Unmarshal

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

type EthereumEventVotesRequest

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

func (*EthereumEventVotesRequest) Descriptor

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

func (*EthereumEventVotesRequest) GetValidatorAddress

func (m *EthereumEventVotesRequest) GetValidatorAddress() string

func (*EthereumEventVotesRequest) Marshal

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

func (*EthereumEventVotesRequest) MarshalTo

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

func (*EthereumEventVotesRequest) MarshalToSizedBuffer

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

func (*EthereumEventVotesRequest) ProtoMessage

func (*EthereumEventVotesRequest) ProtoMessage()

func (*EthereumEventVotesRequest) Reset

func (m *EthereumEventVotesRequest) Reset()

func (*EthereumEventVotesRequest) Size

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

func (*EthereumEventVotesRequest) String

func (m *EthereumEventVotesRequest) String() string

func (*EthereumEventVotesRequest) Unmarshal

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

func (*EthereumEventVotesRequest) XXX_DiscardUnknown

func (m *EthereumEventVotesRequest) XXX_DiscardUnknown()

func (*EthereumEventVotesRequest) XXX_Marshal

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

func (*EthereumEventVotesRequest) XXX_Merge

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

func (*EthereumEventVotesRequest) XXX_MessageName

func (*EthereumEventVotesRequest) XXX_MessageName() string

func (*EthereumEventVotesRequest) XXX_Size

func (m *EthereumEventVotesRequest) XXX_Size() int

func (*EthereumEventVotesRequest) XXX_Unmarshal

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

type EthereumEventVotesResponse

type EthereumEventVotesResponse struct {
	Events []*types1.Any `protobuf:"bytes,1,rep,name=events,proto3" json:"events,omitempty"`
}

func (*EthereumEventVotesResponse) Descriptor

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

func (*EthereumEventVotesResponse) GetEvents

func (m *EthereumEventVotesResponse) GetEvents() []*types1.Any

func (*EthereumEventVotesResponse) Marshal

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

func (*EthereumEventVotesResponse) MarshalTo

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

func (*EthereumEventVotesResponse) MarshalToSizedBuffer

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

func (*EthereumEventVotesResponse) ProtoMessage

func (*EthereumEventVotesResponse) ProtoMessage()

func (*EthereumEventVotesResponse) Reset

func (m *EthereumEventVotesResponse) Reset()

func (*EthereumEventVotesResponse) Size

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

func (*EthereumEventVotesResponse) String

func (m *EthereumEventVotesResponse) String() string

func (*EthereumEventVotesResponse) Unmarshal

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

func (*EthereumEventVotesResponse) XXX_DiscardUnknown

func (m *EthereumEventVotesResponse) XXX_DiscardUnknown()

func (*EthereumEventVotesResponse) XXX_Marshal

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

func (*EthereumEventVotesResponse) XXX_Merge

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

func (*EthereumEventVotesResponse) XXX_MessageName

func (*EthereumEventVotesResponse) XXX_MessageName() string

func (*EthereumEventVotesResponse) XXX_Size

func (m *EthereumEventVotesResponse) XXX_Size() int

func (*EthereumEventVotesResponse) XXX_Unmarshal

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

type EthereumSigner

type EthereumSigner struct {
	Power           uint64 `protobuf:"varint,1,opt,name=power,proto3" json:"power,omitempty"`
	EthereumAddress string `protobuf:"bytes,2,opt,name=ethereum_address,json=ethereumAddress,proto3" json:"ethereum_address,omitempty"`
}

EthereumSigner represents a cosmos validator with its corresponding bridge operator ethereum address and its staking consensus power.

func (*EthereumSigner) Descriptor

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

func (*EthereumSigner) GetEthereumAddress

func (m *EthereumSigner) GetEthereumAddress() string

func (*EthereumSigner) GetPower

func (m *EthereumSigner) GetPower() uint64

func (*EthereumSigner) Marshal

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

func (*EthereumSigner) MarshalTo

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

func (*EthereumSigner) MarshalToSizedBuffer

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

func (*EthereumSigner) ProtoMessage

func (*EthereumSigner) ProtoMessage()

func (*EthereumSigner) Reset

func (m *EthereumSigner) Reset()

func (*EthereumSigner) Size

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

func (*EthereumSigner) String

func (m *EthereumSigner) String() string

func (*EthereumSigner) Unmarshal

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

func (*EthereumSigner) ValidateBasic

func (b *EthereumSigner) ValidateBasic() error

ValidateBasic performs stateless checks on validity

func (*EthereumSigner) XXX_DiscardUnknown

func (m *EthereumSigner) XXX_DiscardUnknown()

func (*EthereumSigner) XXX_Marshal

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

func (*EthereumSigner) XXX_Merge

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

func (*EthereumSigner) XXX_MessageName

func (*EthereumSigner) XXX_MessageName() string

func (*EthereumSigner) XXX_Size

func (m *EthereumSigner) XXX_Size() int

func (*EthereumSigner) XXX_Unmarshal

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

type EthereumSigners

type EthereumSigners []*EthereumSigner

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

func (EthereumSigners) GetPowers

func (b EthereumSigners) GetPowers() []uint64

GetPowers returns only the power values for all members

func (EthereumSigners) Hash

func (b EthereumSigners) Hash() []byte

Hash takes the sha256sum of a representation of the signer set

func (EthereumSigners) PowerDiff

func (b EthereumSigners) PowerDiff(c EthereumSigners) 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 (EthereumSigners) Sort

func (b EthereumSigners) Sort()

Sort sorts the validators by power

func (EthereumSigners) TotalPower

func (b EthereumSigners) TotalPower() (out uint64)

TotalPower returns the total power in the bridge validator set

type EthereumTxConfirmation

type EthereumTxConfirmation interface {
	proto.Message

	GetSigner() common.Address
	GetSignature() []byte
	GetStoreIndex() []byte
	Validate() error
}

EthereumTxConfirmation represents one validtors signature for a given outgoing ethereum transaction

func UnpackConfirmation

func UnpackConfirmation(any *types.Any) (EthereumTxConfirmation, error)

UnpackConfirmation unpacks an Any into a Confirm interface. It returns an error if the confirmation can't be unpacked.

type GenesisState

type GenesisState struct {
	Params                     *Params                    `protobuf:"bytes,1,opt,name=params,proto3" json:"params,omitempty"`
	LastObservedEventNonce     uint64                     `` /* 132-byte string literal not displayed */
	OutgoingTxs                []*types.Any               `protobuf:"bytes,3,rep,name=outgoing_txs,json=outgoingTxs,proto3" json:"outgoing_txs,omitempty"`
	Confirmations              []*types.Any               `protobuf:"bytes,4,rep,name=confirmations,proto3" json:"confirmations,omitempty"`
	EthereumEventVoteRecords   []*EthereumEventVoteRecord `` /* 137-byte string literal not displayed */
	DelegateKeys               []*MsgDelegateKeys         `protobuf:"bytes,10,rep,name=delegate_keys,json=delegateKeys,proto3" json:"delegate_keys,omitempty"`
	Erc20ToDenoms              []*ERC20ToDenom            `protobuf:"bytes,11,rep,name=erc20_to_denoms,json=erc20ToDenoms,proto3" json:"erc20_to_denoms,omitempty"`
	UnbatchedSendToEthereumTxs []*SendToEthereum          `` /* 146-byte string literal not displayed */
}

GenesisState struct TODO: this need to be audited and potentially simplified using the new interfaces

func DefaultGenesisState

func DefaultGenesisState() *GenesisState

DefaultGenesisState returns empty genesis state TODO: set some better defaults here

func (*GenesisState) Descriptor

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

func (*GenesisState) GetConfirmations

func (m *GenesisState) GetConfirmations() []*types.Any

func (*GenesisState) GetDelegateKeys

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

func (*GenesisState) GetErc20ToDenoms

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

func (*GenesisState) GetEthereumEventVoteRecords

func (m *GenesisState) GetEthereumEventVoteRecords() []*EthereumEventVoteRecord

func (*GenesisState) GetLastObservedEventNonce

func (m *GenesisState) GetLastObservedEventNonce() uint64

func (*GenesisState) GetOutgoingTxs

func (m *GenesisState) GetOutgoingTxs() []*types.Any

func (*GenesisState) GetParams

func (m *GenesisState) GetParams() *Params

func (*GenesisState) GetUnbatchedSendToEthereumTxs

func (m *GenesisState) GetUnbatchedSendToEthereumTxs() []*SendToEthereum

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) UnpackInterfaces

func (gs *GenesisState) UnpackInterfaces(unpacker cdctypes.AnyUnpacker) 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_MessageName

func (*GenesisState) XXX_MessageName() string

func (*GenesisState) XXX_Size

func (m *GenesisState) XXX_Size() int

func (*GenesisState) XXX_Unmarshal

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

type GravityHooks

type GravityHooks interface {
	AfterContractCallExecutedEvent(ctx sdk.Context, event ContractCallExecutedEvent)
	AfterERC20DeployedEvent(ctx sdk.Context, event ERC20DeployedEvent)
	AfterSignerSetExecutedEvent(ctx sdk.Context, event SignerSetTxExecutedEvent)
	AfterBatchExecutedEvent(ctx sdk.Context, event BatchExecutedEvent)
	AfterSendToCosmosEvent(ctx sdk.Context, event SendToCosmosEvent)
}

type IDSet

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

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_MessageName

func (*IDSet) XXX_MessageName() string

func (*IDSet) XXX_Size

func (m *IDSet) XXX_Size() int

func (*IDSet) XXX_Unmarshal

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

type LastObservedEthereumHeightRequest

type LastObservedEthereumHeightRequest struct {
}

func (*LastObservedEthereumHeightRequest) Descriptor

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

func (*LastObservedEthereumHeightRequest) Marshal

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

func (*LastObservedEthereumHeightRequest) MarshalTo

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

func (*LastObservedEthereumHeightRequest) MarshalToSizedBuffer

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

func (*LastObservedEthereumHeightRequest) ProtoMessage

func (*LastObservedEthereumHeightRequest) ProtoMessage()

func (*LastObservedEthereumHeightRequest) Reset

func (*LastObservedEthereumHeightRequest) Size

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

func (*LastObservedEthereumHeightRequest) String

func (*LastObservedEthereumHeightRequest) Unmarshal

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

func (*LastObservedEthereumHeightRequest) XXX_DiscardUnknown

func (m *LastObservedEthereumHeightRequest) XXX_DiscardUnknown()

func (*LastObservedEthereumHeightRequest) XXX_Marshal

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

func (*LastObservedEthereumHeightRequest) XXX_Merge

func (*LastObservedEthereumHeightRequest) XXX_MessageName

func (*LastObservedEthereumHeightRequest) XXX_MessageName() string

func (*LastObservedEthereumHeightRequest) XXX_Size

func (m *LastObservedEthereumHeightRequest) XXX_Size() int

func (*LastObservedEthereumHeightRequest) XXX_Unmarshal

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

type LastObservedEthereumHeightResponse

type LastObservedEthereumHeightResponse struct {
	LastObservedEthereumHeight *LatestEthereumBlockHeight `` /* 143-byte string literal not displayed */
}

func (*LastObservedEthereumHeightResponse) Descriptor

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

func (*LastObservedEthereumHeightResponse) GetLastObservedEthereumHeight

func (m *LastObservedEthereumHeightResponse) GetLastObservedEthereumHeight() *LatestEthereumBlockHeight

func (*LastObservedEthereumHeightResponse) Marshal

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

func (*LastObservedEthereumHeightResponse) MarshalTo

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

func (*LastObservedEthereumHeightResponse) MarshalToSizedBuffer

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

func (*LastObservedEthereumHeightResponse) ProtoMessage

func (*LastObservedEthereumHeightResponse) ProtoMessage()

func (*LastObservedEthereumHeightResponse) Reset

func (*LastObservedEthereumHeightResponse) Size

func (*LastObservedEthereumHeightResponse) String

func (*LastObservedEthereumHeightResponse) Unmarshal

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

func (*LastObservedEthereumHeightResponse) XXX_DiscardUnknown

func (m *LastObservedEthereumHeightResponse) XXX_DiscardUnknown()

func (*LastObservedEthereumHeightResponse) XXX_Marshal

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

func (*LastObservedEthereumHeightResponse) XXX_Merge

func (*LastObservedEthereumHeightResponse) XXX_MessageName

func (*LastObservedEthereumHeightResponse) XXX_MessageName() string

func (*LastObservedEthereumHeightResponse) XXX_Size

func (*LastObservedEthereumHeightResponse) XXX_Unmarshal

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

type LastSubmittedEthereumEventRequest

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

func (*LastSubmittedEthereumEventRequest) Descriptor

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

func (*LastSubmittedEthereumEventRequest) GetAddress

func (m *LastSubmittedEthereumEventRequest) GetAddress() string

func (*LastSubmittedEthereumEventRequest) Marshal

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

func (*LastSubmittedEthereumEventRequest) MarshalTo

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

func (*LastSubmittedEthereumEventRequest) MarshalToSizedBuffer

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

func (*LastSubmittedEthereumEventRequest) ProtoMessage

func (*LastSubmittedEthereumEventRequest) ProtoMessage()

func (*LastSubmittedEthereumEventRequest) Reset

func (*LastSubmittedEthereumEventRequest) Size

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

func (*LastSubmittedEthereumEventRequest) String

func (*LastSubmittedEthereumEventRequest) Unmarshal

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

func (*LastSubmittedEthereumEventRequest) XXX_DiscardUnknown

func (m *LastSubmittedEthereumEventRequest) XXX_DiscardUnknown()

func (*LastSubmittedEthereumEventRequest) XXX_Marshal

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

func (*LastSubmittedEthereumEventRequest) XXX_Merge

func (*LastSubmittedEthereumEventRequest) XXX_MessageName

func (*LastSubmittedEthereumEventRequest) XXX_MessageName() string

func (*LastSubmittedEthereumEventRequest) XXX_Size

func (m *LastSubmittedEthereumEventRequest) XXX_Size() int

func (*LastSubmittedEthereumEventRequest) XXX_Unmarshal

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

type LastSubmittedEthereumEventResponse

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

func (*LastSubmittedEthereumEventResponse) Descriptor

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

func (*LastSubmittedEthereumEventResponse) GetEventNonce

func (m *LastSubmittedEthereumEventResponse) GetEventNonce() uint64

func (*LastSubmittedEthereumEventResponse) Marshal

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

func (*LastSubmittedEthereumEventResponse) MarshalTo

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

func (*LastSubmittedEthereumEventResponse) MarshalToSizedBuffer

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

func (*LastSubmittedEthereumEventResponse) ProtoMessage

func (*LastSubmittedEthereumEventResponse) ProtoMessage()

func (*LastSubmittedEthereumEventResponse) Reset

func (*LastSubmittedEthereumEventResponse) Size

func (*LastSubmittedEthereumEventResponse) String

func (*LastSubmittedEthereumEventResponse) Unmarshal

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

func (*LastSubmittedEthereumEventResponse) XXX_DiscardUnknown

func (m *LastSubmittedEthereumEventResponse) XXX_DiscardUnknown()

func (*LastSubmittedEthereumEventResponse) XXX_Marshal

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

func (*LastSubmittedEthereumEventResponse) XXX_Merge

func (*LastSubmittedEthereumEventResponse) XXX_MessageName

func (*LastSubmittedEthereumEventResponse) XXX_MessageName() string

func (*LastSubmittedEthereumEventResponse) XXX_Size

func (*LastSubmittedEthereumEventResponse) XXX_Unmarshal

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

type LatestEthereumBlockHeight

type LatestEthereumBlockHeight struct {
	EthereumHeight uint64 `protobuf:"varint,1,opt,name=ethereum_height,json=ethereumHeight,proto3" json:"ethereum_height,omitempty"`
	CosmosHeight   uint64 `protobuf:"varint,2,opt,name=cosmos_height,json=cosmosHeight,proto3" json:"cosmos_height,omitempty"`
}

LatestEthereumBlockHeight defines the latest observed ethereum block height and the corresponding timestamp value in nanoseconds.

func (*LatestEthereumBlockHeight) Descriptor

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

func (*LatestEthereumBlockHeight) GetCosmosHeight

func (m *LatestEthereumBlockHeight) GetCosmosHeight() uint64

func (*LatestEthereumBlockHeight) GetEthereumHeight

func (m *LatestEthereumBlockHeight) GetEthereumHeight() uint64

func (*LatestEthereumBlockHeight) Marshal

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

func (*LatestEthereumBlockHeight) MarshalTo

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

func (*LatestEthereumBlockHeight) MarshalToSizedBuffer

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

func (*LatestEthereumBlockHeight) ProtoMessage

func (*LatestEthereumBlockHeight) ProtoMessage()

func (*LatestEthereumBlockHeight) Reset

func (m *LatestEthereumBlockHeight) Reset()

func (*LatestEthereumBlockHeight) Size

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

func (*LatestEthereumBlockHeight) String

func (m *LatestEthereumBlockHeight) String() string

func (*LatestEthereumBlockHeight) Unmarshal

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

func (*LatestEthereumBlockHeight) XXX_DiscardUnknown

func (m *LatestEthereumBlockHeight) XXX_DiscardUnknown()

func (*LatestEthereumBlockHeight) XXX_Marshal

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

func (*LatestEthereumBlockHeight) XXX_Merge

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

func (*LatestEthereumBlockHeight) XXX_MessageName

func (*LatestEthereumBlockHeight) XXX_MessageName() string

func (*LatestEthereumBlockHeight) XXX_Size

func (m *LatestEthereumBlockHeight) XXX_Size() int

func (*LatestEthereumBlockHeight) XXX_Unmarshal

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

type LatestSignerSetTxRequest

type LatestSignerSetTxRequest struct {
}

func (*LatestSignerSetTxRequest) Descriptor

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

func (*LatestSignerSetTxRequest) Marshal

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

func (*LatestSignerSetTxRequest) MarshalTo

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

func (*LatestSignerSetTxRequest) MarshalToSizedBuffer

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

func (*LatestSignerSetTxRequest) ProtoMessage

func (*LatestSignerSetTxRequest) ProtoMessage()

func (*LatestSignerSetTxRequest) Reset

func (m *LatestSignerSetTxRequest) Reset()

func (*LatestSignerSetTxRequest) Size

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

func (*LatestSignerSetTxRequest) String

func (m *LatestSignerSetTxRequest) String() string

func (*LatestSignerSetTxRequest) Unmarshal

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

func (*LatestSignerSetTxRequest) XXX_DiscardUnknown

func (m *LatestSignerSetTxRequest) XXX_DiscardUnknown()

func (*LatestSignerSetTxRequest) XXX_Marshal

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

func (*LatestSignerSetTxRequest) XXX_Merge

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

func (*LatestSignerSetTxRequest) XXX_MessageName

func (*LatestSignerSetTxRequest) XXX_MessageName() string

func (*LatestSignerSetTxRequest) XXX_Size

func (m *LatestSignerSetTxRequest) XXX_Size() int

func (*LatestSignerSetTxRequest) XXX_Unmarshal

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

type MsgCancelSendToEthereum

type MsgCancelSendToEthereum 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"`
}

MsgCancelSendToEthereum allows the sender to cancel its own unbatched SendToEthereum tx and recieve a refund of the tokens and bridge fees. This tx will only succeed if the SendToEthereum tx hasn't been batched to be processed and relayed to Ethereum.

func NewMsgCancelSendToEthereum

func NewMsgCancelSendToEthereum(id uint64, orchestrator sdk.AccAddress) *MsgCancelSendToEthereum

NewMsgCancelSendToEthereum returns a new MsgCancelSendToEthereum

func (*MsgCancelSendToEthereum) Descriptor

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

func (*MsgCancelSendToEthereum) GetId

func (m *MsgCancelSendToEthereum) GetId() uint64

func (*MsgCancelSendToEthereum) GetSender

func (m *MsgCancelSendToEthereum) GetSender() string

func (MsgCancelSendToEthereum) GetSignBytes

func (msg MsgCancelSendToEthereum) GetSignBytes() []byte

GetSignBytes encodes the message for signing

func (MsgCancelSendToEthereum) GetSigners

func (msg MsgCancelSendToEthereum) GetSigners() []sdk.AccAddress

GetSigners defines whose signature is required

func (*MsgCancelSendToEthereum) Marshal

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

func (*MsgCancelSendToEthereum) MarshalTo

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

func (*MsgCancelSendToEthereum) MarshalToSizedBuffer

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

func (*MsgCancelSendToEthereum) ProtoMessage

func (*MsgCancelSendToEthereum) ProtoMessage()

func (*MsgCancelSendToEthereum) Reset

func (m *MsgCancelSendToEthereum) Reset()

func (MsgCancelSendToEthereum) Route

func (msg MsgCancelSendToEthereum) Route() string

Route should return the name of the module

func (*MsgCancelSendToEthereum) Size

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

func (*MsgCancelSendToEthereum) String

func (m *MsgCancelSendToEthereum) String() string

func (MsgCancelSendToEthereum) Type

func (msg MsgCancelSendToEthereum) Type() string

Type should return the action

func (*MsgCancelSendToEthereum) Unmarshal

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

func (MsgCancelSendToEthereum) ValidateBasic

func (msg MsgCancelSendToEthereum) ValidateBasic() error

ValidateBasic performs stateless checks

func (*MsgCancelSendToEthereum) XXX_DiscardUnknown

func (m *MsgCancelSendToEthereum) XXX_DiscardUnknown()

func (*MsgCancelSendToEthereum) XXX_Marshal

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

func (*MsgCancelSendToEthereum) XXX_Merge

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

func (*MsgCancelSendToEthereum) XXX_MessageName

func (*MsgCancelSendToEthereum) XXX_MessageName() string

func (*MsgCancelSendToEthereum) XXX_Size

func (m *MsgCancelSendToEthereum) XXX_Size() int

func (*MsgCancelSendToEthereum) XXX_Unmarshal

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

type MsgCancelSendToEthereumResponse

type MsgCancelSendToEthereumResponse struct {
}

func (*MsgCancelSendToEthereumResponse) Descriptor

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

func (*MsgCancelSendToEthereumResponse) Marshal

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

func (*MsgCancelSendToEthereumResponse) MarshalTo

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

func (*MsgCancelSendToEthereumResponse) MarshalToSizedBuffer

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

func (*MsgCancelSendToEthereumResponse) ProtoMessage

func (*MsgCancelSendToEthereumResponse) ProtoMessage()

func (*MsgCancelSendToEthereumResponse) Reset

func (*MsgCancelSendToEthereumResponse) Size

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

func (*MsgCancelSendToEthereumResponse) String

func (*MsgCancelSendToEthereumResponse) Unmarshal

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

func (*MsgCancelSendToEthereumResponse) XXX_DiscardUnknown

func (m *MsgCancelSendToEthereumResponse) XXX_DiscardUnknown()

func (*MsgCancelSendToEthereumResponse) XXX_Marshal

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

func (*MsgCancelSendToEthereumResponse) XXX_Merge

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

func (*MsgCancelSendToEthereumResponse) XXX_MessageName

func (*MsgCancelSendToEthereumResponse) XXX_MessageName() string

func (*MsgCancelSendToEthereumResponse) XXX_Size

func (m *MsgCancelSendToEthereumResponse) XXX_Size() int

func (*MsgCancelSendToEthereumResponse) XXX_Unmarshal

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

type MsgClient

type MsgClient interface {
	SendToEthereum(ctx context.Context, in *MsgSendToEthereum, opts ...grpc.CallOption) (*MsgSendToEthereumResponse, error)
	CancelSendToEthereum(ctx context.Context, in *MsgCancelSendToEthereum, opts ...grpc.CallOption) (*MsgCancelSendToEthereumResponse, error)
	SubmitEthereumTxConfirmation(ctx context.Context, in *MsgSubmitEthereumTxConfirmation, opts ...grpc.CallOption) (*MsgSubmitEthereumTxConfirmationResponse, error)
	SubmitEthereumEvent(ctx context.Context, in *MsgSubmitEthereumEvent, opts ...grpc.CallOption) (*MsgSubmitEthereumEventResponse, error)
	SetDelegateKeys(ctx context.Context, in *MsgDelegateKeys, opts ...grpc.CallOption) (*MsgDelegateKeysResponse, error)
	SubmitEthereumHeightVote(ctx context.Context, in *MsgEthereumHeightVote, opts ...grpc.CallOption) (*MsgEthereumHeightVoteResponse, error)
}

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 MsgDelegateKeys

type MsgDelegateKeys 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"`
	EthereumAddress     string `protobuf:"bytes,3,opt,name=ethereum_address,json=ethereumAddress,proto3" json:"ethereum_address,omitempty"`
	EthSignature        []byte `protobuf:"bytes,4,opt,name=eth_signature,json=ethSignature,proto3" json:"eth_signature,omitempty"`
}

MsgDelegateKey allows validators to delegate their voting responsibilities to a given orchestrator address. This key is then used as an optional authentication method for attesting events from Ethereum.

func NewMsgDelegateKeys

func NewMsgDelegateKeys(val sdk.ValAddress, orchAddr sdk.AccAddress, ethAddr string, ethSig []byte) *MsgDelegateKeys

NewMsgDelegateKeys returns a reference to a new MsgDelegateKeys.

func (*MsgDelegateKeys) Descriptor

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

func (*MsgDelegateKeys) GetEthSignature

func (m *MsgDelegateKeys) GetEthSignature() []byte

func (*MsgDelegateKeys) GetEthereumAddress

func (m *MsgDelegateKeys) GetEthereumAddress() string

func (*MsgDelegateKeys) GetOrchestratorAddress

func (m *MsgDelegateKeys) GetOrchestratorAddress() string

func (MsgDelegateKeys) GetSignBytes

func (msg MsgDelegateKeys) GetSignBytes() []byte

GetSignBytes encodes the message for signing

func (MsgDelegateKeys) GetSigners

func (msg MsgDelegateKeys) GetSigners() []sdk.AccAddress

GetSigners defines whose signature is required

func (*MsgDelegateKeys) GetValidatorAddress

func (m *MsgDelegateKeys) GetValidatorAddress() string

func (*MsgDelegateKeys) Marshal

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

func (*MsgDelegateKeys) MarshalTo

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

func (*MsgDelegateKeys) MarshalToSizedBuffer

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

func (*MsgDelegateKeys) ProtoMessage

func (*MsgDelegateKeys) ProtoMessage()

func (*MsgDelegateKeys) Reset

func (m *MsgDelegateKeys) Reset()

func (MsgDelegateKeys) Route

func (msg MsgDelegateKeys) Route() string

Route should return the name of the module

func (*MsgDelegateKeys) Size

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

func (*MsgDelegateKeys) String

func (m *MsgDelegateKeys) String() string

func (MsgDelegateKeys) Type

func (msg MsgDelegateKeys) Type() string

Type should return the action

func (*MsgDelegateKeys) Unmarshal

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

func (MsgDelegateKeys) ValidateBasic

func (msg MsgDelegateKeys) ValidateBasic() (err error)

ValidateBasic performs stateless checks

func (*MsgDelegateKeys) XXX_DiscardUnknown

func (m *MsgDelegateKeys) XXX_DiscardUnknown()

func (*MsgDelegateKeys) XXX_Marshal

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

func (*MsgDelegateKeys) XXX_Merge

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

func (*MsgDelegateKeys) XXX_MessageName

func (*MsgDelegateKeys) XXX_MessageName() string

func (*MsgDelegateKeys) XXX_Size

func (m *MsgDelegateKeys) XXX_Size() int

func (*MsgDelegateKeys) XXX_Unmarshal

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

type MsgDelegateKeysResponse

type MsgDelegateKeysResponse struct {
}

func (*MsgDelegateKeysResponse) Descriptor

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

func (*MsgDelegateKeysResponse) Marshal

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

func (*MsgDelegateKeysResponse) MarshalTo

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

func (*MsgDelegateKeysResponse) MarshalToSizedBuffer

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

func (*MsgDelegateKeysResponse) ProtoMessage

func (*MsgDelegateKeysResponse) ProtoMessage()

func (*MsgDelegateKeysResponse) Reset

func (m *MsgDelegateKeysResponse) Reset()

func (*MsgDelegateKeysResponse) Size

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

func (*MsgDelegateKeysResponse) String

func (m *MsgDelegateKeysResponse) String() string

func (*MsgDelegateKeysResponse) Unmarshal

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

func (*MsgDelegateKeysResponse) XXX_DiscardUnknown

func (m *MsgDelegateKeysResponse) XXX_DiscardUnknown()

func (*MsgDelegateKeysResponse) XXX_Marshal

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

func (*MsgDelegateKeysResponse) XXX_Merge

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

func (*MsgDelegateKeysResponse) XXX_MessageName

func (*MsgDelegateKeysResponse) XXX_MessageName() string

func (*MsgDelegateKeysResponse) XXX_Size

func (m *MsgDelegateKeysResponse) XXX_Size() int

func (*MsgDelegateKeysResponse) XXX_Unmarshal

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

type MsgEthereumHeightVote

type MsgEthereumHeightVote struct {
	EthereumHeight uint64 `protobuf:"varint,1,opt,name=ethereum_height,json=ethereumHeight,proto3" json:"ethereum_height,omitempty"`
	Signer         string `protobuf:"bytes,2,opt,name=signer,proto3" json:"signer,omitempty"`
}

Periodic update of latest observed Ethereum and Cosmos heights from the orchestrator

func NewMsgEthereumHeightVote

func NewMsgEthereumHeightVote(ethereumHeight uint64, signer sdk.AccAddress) *MsgEthereumHeightVote

NewMsgEthereumHeightVote returns a new MsgEthereumHeightVote

func (*MsgEthereumHeightVote) Descriptor

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

func (*MsgEthereumHeightVote) GetEthereumHeight

func (m *MsgEthereumHeightVote) GetEthereumHeight() uint64

func (MsgEthereumHeightVote) GetSignBytes

func (msg MsgEthereumHeightVote) GetSignBytes() []byte

GetSignBytes encodes the message for signing

func (*MsgEthereumHeightVote) GetSigner

func (m *MsgEthereumHeightVote) GetSigner() string

func (MsgEthereumHeightVote) GetSigners

func (msg MsgEthereumHeightVote) GetSigners() []sdk.AccAddress

GetSigners defines whose signature is required

func (*MsgEthereumHeightVote) Marshal

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

func (*MsgEthereumHeightVote) MarshalTo

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

func (*MsgEthereumHeightVote) MarshalToSizedBuffer

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

func (*MsgEthereumHeightVote) ProtoMessage

func (*MsgEthereumHeightVote) ProtoMessage()

func (*MsgEthereumHeightVote) Reset

func (m *MsgEthereumHeightVote) Reset()

func (MsgEthereumHeightVote) Route

func (msg MsgEthereumHeightVote) Route() string

Route should return the name of the module

func (*MsgEthereumHeightVote) Size

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

func (*MsgEthereumHeightVote) String

func (m *MsgEthereumHeightVote) String() string

func (MsgEthereumHeightVote) Type

func (msg MsgEthereumHeightVote) Type() string

Type should return the action

func (*MsgEthereumHeightVote) Unmarshal

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

func (MsgEthereumHeightVote) ValidateBasic

func (msg MsgEthereumHeightVote) ValidateBasic() error

ValidateBasic performs stateless checks

func (*MsgEthereumHeightVote) XXX_DiscardUnknown

func (m *MsgEthereumHeightVote) XXX_DiscardUnknown()

func (*MsgEthereumHeightVote) XXX_Marshal

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

func (*MsgEthereumHeightVote) XXX_Merge

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

func (*MsgEthereumHeightVote) XXX_MessageName

func (*MsgEthereumHeightVote) XXX_MessageName() string

func (*MsgEthereumHeightVote) XXX_Size

func (m *MsgEthereumHeightVote) XXX_Size() int

func (*MsgEthereumHeightVote) XXX_Unmarshal

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

type MsgEthereumHeightVoteResponse

type MsgEthereumHeightVoteResponse struct {
}

func (*MsgEthereumHeightVoteResponse) Descriptor

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

func (*MsgEthereumHeightVoteResponse) Marshal

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

func (*MsgEthereumHeightVoteResponse) MarshalTo

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

func (*MsgEthereumHeightVoteResponse) MarshalToSizedBuffer

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

func (*MsgEthereumHeightVoteResponse) ProtoMessage

func (*MsgEthereumHeightVoteResponse) ProtoMessage()

func (*MsgEthereumHeightVoteResponse) Reset

func (m *MsgEthereumHeightVoteResponse) Reset()

func (*MsgEthereumHeightVoteResponse) Size

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

func (*MsgEthereumHeightVoteResponse) String

func (*MsgEthereumHeightVoteResponse) Unmarshal

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

func (*MsgEthereumHeightVoteResponse) XXX_DiscardUnknown

func (m *MsgEthereumHeightVoteResponse) XXX_DiscardUnknown()

func (*MsgEthereumHeightVoteResponse) XXX_Marshal

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

func (*MsgEthereumHeightVoteResponse) XXX_Merge

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

func (*MsgEthereumHeightVoteResponse) XXX_MessageName

func (*MsgEthereumHeightVoteResponse) XXX_MessageName() string

func (*MsgEthereumHeightVoteResponse) XXX_Size

func (m *MsgEthereumHeightVoteResponse) XXX_Size() int

func (*MsgEthereumHeightVoteResponse) XXX_Unmarshal

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

type MsgSendToEthereum

type MsgSendToEthereum struct {
	Sender            string     `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty"`
	EthereumRecipient string     `protobuf:"bytes,2,opt,name=ethereum_recipient,json=ethereumRecipient,proto3" json:"ethereum_recipient,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"`
}

MsgSendToEthereum submits a SendToEthereum attempt to bridge an asset over to Ethereum. The SendToEthereum will be stored and then included in a batch and then submitted to Ethereum.

func NewMsgSendToEthereum

func NewMsgSendToEthereum(sender sdk.AccAddress, destAddress string, send sdk.Coin, bridgeFee sdk.Coin) *MsgSendToEthereum

NewMsgSendToEthereum returns a new MsgSendToEthereum

func (*MsgSendToEthereum) Descriptor

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

func (*MsgSendToEthereum) GetAmount

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

func (*MsgSendToEthereum) GetBridgeFee

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

func (*MsgSendToEthereum) GetEthereumRecipient

func (m *MsgSendToEthereum) GetEthereumRecipient() string

func (*MsgSendToEthereum) GetSender

func (m *MsgSendToEthereum) GetSender() string

func (MsgSendToEthereum) GetSignBytes

func (msg MsgSendToEthereum) GetSignBytes() []byte

GetSignBytes encodes the message for signing

func (MsgSendToEthereum) GetSigners

func (msg MsgSendToEthereum) GetSigners() []sdk.AccAddress

GetSigners defines whose signature is required

func (*MsgSendToEthereum) Marshal

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

func (*MsgSendToEthereum) MarshalTo

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

func (*MsgSendToEthereum) MarshalToSizedBuffer

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

func (*MsgSendToEthereum) ProtoMessage

func (*MsgSendToEthereum) ProtoMessage()

func (*MsgSendToEthereum) Reset

func (m *MsgSendToEthereum) Reset()

func (MsgSendToEthereum) Route

func (msg MsgSendToEthereum) Route() string

Route should return the name of the module

func (*MsgSendToEthereum) Size

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

func (*MsgSendToEthereum) String

func (m *MsgSendToEthereum) String() string

func (MsgSendToEthereum) Type

func (msg MsgSendToEthereum) Type() string

Type should return the action

func (*MsgSendToEthereum) Unmarshal

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

func (MsgSendToEthereum) ValidateBasic

func (msg MsgSendToEthereum) ValidateBasic() error

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

func (*MsgSendToEthereum) XXX_DiscardUnknown

func (m *MsgSendToEthereum) XXX_DiscardUnknown()

func (*MsgSendToEthereum) XXX_Marshal

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

func (*MsgSendToEthereum) XXX_Merge

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

func (*MsgSendToEthereum) XXX_MessageName

func (*MsgSendToEthereum) XXX_MessageName() string

func (*MsgSendToEthereum) XXX_Size

func (m *MsgSendToEthereum) XXX_Size() int

func (*MsgSendToEthereum) XXX_Unmarshal

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

type MsgSendToEthereumResponse

type MsgSendToEthereumResponse struct {
	Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
}

MsgSendToEthereumResponse returns the SendToEthereum transaction ID which will be included in the batch tx.

func (*MsgSendToEthereumResponse) Descriptor

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

func (*MsgSendToEthereumResponse) GetId

func (m *MsgSendToEthereumResponse) GetId() uint64

func (*MsgSendToEthereumResponse) Marshal

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

func (*MsgSendToEthereumResponse) MarshalTo

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

func (*MsgSendToEthereumResponse) MarshalToSizedBuffer

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

func (*MsgSendToEthereumResponse) ProtoMessage

func (*MsgSendToEthereumResponse) ProtoMessage()

func (*MsgSendToEthereumResponse) Reset

func (m *MsgSendToEthereumResponse) Reset()

func (*MsgSendToEthereumResponse) Size

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

func (*MsgSendToEthereumResponse) String

func (m *MsgSendToEthereumResponse) String() string

func (*MsgSendToEthereumResponse) Unmarshal

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

func (*MsgSendToEthereumResponse) XXX_DiscardUnknown

func (m *MsgSendToEthereumResponse) XXX_DiscardUnknown()

func (*MsgSendToEthereumResponse) XXX_Marshal

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

func (*MsgSendToEthereumResponse) XXX_Merge

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

func (*MsgSendToEthereumResponse) XXX_MessageName

func (*MsgSendToEthereumResponse) XXX_MessageName() string

func (*MsgSendToEthereumResponse) XXX_Size

func (m *MsgSendToEthereumResponse) XXX_Size() int

func (*MsgSendToEthereumResponse) XXX_Unmarshal

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

type MsgSubmitEthereumEvent

type MsgSubmitEthereumEvent struct {
	Event  *types1.Any `protobuf:"bytes,1,opt,name=event,proto3" json:"event,omitempty"`
	Signer string      `protobuf:"bytes,2,opt,name=signer,proto3" json:"signer,omitempty"`
}

MsgSubmitEthereumEvent

func (*MsgSubmitEthereumEvent) Descriptor

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

func (MsgSubmitEthereumEvent) GetSignBytes

func (msg MsgSubmitEthereumEvent) GetSignBytes() []byte

GetSignBytes encodes the message for signing

func (MsgSubmitEthereumEvent) GetSigners

func (msg MsgSubmitEthereumEvent) GetSigners() []sdk.AccAddress

GetSigners defines whose signature is required

func (*MsgSubmitEthereumEvent) Marshal

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

func (*MsgSubmitEthereumEvent) MarshalTo

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

func (*MsgSubmitEthereumEvent) MarshalToSizedBuffer

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

func (*MsgSubmitEthereumEvent) ProtoMessage

func (*MsgSubmitEthereumEvent) ProtoMessage()

func (*MsgSubmitEthereumEvent) Reset

func (m *MsgSubmitEthereumEvent) Reset()

func (MsgSubmitEthereumEvent) Route

func (msg MsgSubmitEthereumEvent) Route() string

Route should return the name of the module

func (*MsgSubmitEthereumEvent) Size

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

func (*MsgSubmitEthereumEvent) String

func (m *MsgSubmitEthereumEvent) String() string

func (MsgSubmitEthereumEvent) Type

func (msg MsgSubmitEthereumEvent) Type() string

Type should return the action

func (*MsgSubmitEthereumEvent) Unmarshal

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

func (MsgSubmitEthereumEvent) UnpackInterfaces

func (msg MsgSubmitEthereumEvent) UnpackInterfaces(unpacker cdctypes.AnyUnpacker) error

func (MsgSubmitEthereumEvent) ValidateBasic

func (msg MsgSubmitEthereumEvent) ValidateBasic() (err error)

ValidateBasic performs stateless checks

func (*MsgSubmitEthereumEvent) XXX_DiscardUnknown

func (m *MsgSubmitEthereumEvent) XXX_DiscardUnknown()

func (*MsgSubmitEthereumEvent) XXX_Marshal

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

func (*MsgSubmitEthereumEvent) XXX_Merge

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

func (*MsgSubmitEthereumEvent) XXX_MessageName

func (*MsgSubmitEthereumEvent) XXX_MessageName() string

func (*MsgSubmitEthereumEvent) XXX_Size

func (m *MsgSubmitEthereumEvent) XXX_Size() int

func (*MsgSubmitEthereumEvent) XXX_Unmarshal

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

type MsgSubmitEthereumEventResponse

type MsgSubmitEthereumEventResponse struct {
}

func (*MsgSubmitEthereumEventResponse) Descriptor

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

func (*MsgSubmitEthereumEventResponse) Marshal

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

func (*MsgSubmitEthereumEventResponse) MarshalTo

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

func (*MsgSubmitEthereumEventResponse) MarshalToSizedBuffer

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

func (*MsgSubmitEthereumEventResponse) ProtoMessage

func (*MsgSubmitEthereumEventResponse) ProtoMessage()

func (*MsgSubmitEthereumEventResponse) Reset

func (m *MsgSubmitEthereumEventResponse) Reset()

func (*MsgSubmitEthereumEventResponse) Size

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

func (*MsgSubmitEthereumEventResponse) String

func (*MsgSubmitEthereumEventResponse) Unmarshal

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

func (*MsgSubmitEthereumEventResponse) XXX_DiscardUnknown

func (m *MsgSubmitEthereumEventResponse) XXX_DiscardUnknown()

func (*MsgSubmitEthereumEventResponse) XXX_Marshal

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

func (*MsgSubmitEthereumEventResponse) XXX_Merge

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

func (*MsgSubmitEthereumEventResponse) XXX_MessageName

func (*MsgSubmitEthereumEventResponse) XXX_MessageName() string

func (*MsgSubmitEthereumEventResponse) XXX_Size

func (m *MsgSubmitEthereumEventResponse) XXX_Size() int

func (*MsgSubmitEthereumEventResponse) XXX_Unmarshal

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

type MsgSubmitEthereumTxConfirmation

type MsgSubmitEthereumTxConfirmation struct {
	// TODO: can we make this take an array?
	Confirmation *types1.Any `protobuf:"bytes,1,opt,name=confirmation,proto3" json:"confirmation,omitempty"`
	Signer       string      `protobuf:"bytes,2,opt,name=signer,proto3" json:"signer,omitempty"`
}

MsgSubmitEthereumTxConfirmation submits an ethereum signature for a given validator

func (*MsgSubmitEthereumTxConfirmation) Descriptor

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

func (MsgSubmitEthereumTxConfirmation) GetSignBytes

func (msg MsgSubmitEthereumTxConfirmation) GetSignBytes() []byte

GetSignBytes encodes the message for signing

func (MsgSubmitEthereumTxConfirmation) GetSigners

func (msg MsgSubmitEthereumTxConfirmation) GetSigners() []sdk.AccAddress

GetSigners defines whose signature is required

func (*MsgSubmitEthereumTxConfirmation) Marshal

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

func (*MsgSubmitEthereumTxConfirmation) MarshalTo

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

func (*MsgSubmitEthereumTxConfirmation) MarshalToSizedBuffer

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

func (*MsgSubmitEthereumTxConfirmation) ProtoMessage

func (*MsgSubmitEthereumTxConfirmation) ProtoMessage()

func (*MsgSubmitEthereumTxConfirmation) Reset

func (MsgSubmitEthereumTxConfirmation) Route

Route should return the name of the module

func (*MsgSubmitEthereumTxConfirmation) Size

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

func (*MsgSubmitEthereumTxConfirmation) String

func (MsgSubmitEthereumTxConfirmation) Type

Type should return the action

func (*MsgSubmitEthereumTxConfirmation) Unmarshal

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

func (MsgSubmitEthereumTxConfirmation) UnpackInterfaces

func (msg MsgSubmitEthereumTxConfirmation) UnpackInterfaces(unpacker cdctypes.AnyUnpacker) error

func (MsgSubmitEthereumTxConfirmation) ValidateBasic

func (msg MsgSubmitEthereumTxConfirmation) ValidateBasic() (err error)

ValidateBasic performs stateless checks

func (*MsgSubmitEthereumTxConfirmation) XXX_DiscardUnknown

func (m *MsgSubmitEthereumTxConfirmation) XXX_DiscardUnknown()

func (*MsgSubmitEthereumTxConfirmation) XXX_Marshal

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

func (*MsgSubmitEthereumTxConfirmation) XXX_Merge

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

func (*MsgSubmitEthereumTxConfirmation) XXX_MessageName

func (*MsgSubmitEthereumTxConfirmation) XXX_MessageName() string

func (*MsgSubmitEthereumTxConfirmation) XXX_Size

func (m *MsgSubmitEthereumTxConfirmation) XXX_Size() int

func (*MsgSubmitEthereumTxConfirmation) XXX_Unmarshal

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

type MsgSubmitEthereumTxConfirmationResponse

type MsgSubmitEthereumTxConfirmationResponse struct {
}

func (*MsgSubmitEthereumTxConfirmationResponse) Descriptor

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

func (*MsgSubmitEthereumTxConfirmationResponse) Marshal

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

func (*MsgSubmitEthereumTxConfirmationResponse) MarshalTo

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

func (*MsgSubmitEthereumTxConfirmationResponse) MarshalToSizedBuffer

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

func (*MsgSubmitEthereumTxConfirmationResponse) ProtoMessage

func (*MsgSubmitEthereumTxConfirmationResponse) Reset

func (*MsgSubmitEthereumTxConfirmationResponse) Size

func (*MsgSubmitEthereumTxConfirmationResponse) String

func (*MsgSubmitEthereumTxConfirmationResponse) Unmarshal

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

func (*MsgSubmitEthereumTxConfirmationResponse) XXX_DiscardUnknown

func (m *MsgSubmitEthereumTxConfirmationResponse) XXX_DiscardUnknown()

func (*MsgSubmitEthereumTxConfirmationResponse) XXX_Marshal

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

func (*MsgSubmitEthereumTxConfirmationResponse) XXX_Merge

func (*MsgSubmitEthereumTxConfirmationResponse) XXX_MessageName

func (*MsgSubmitEthereumTxConfirmationResponse) XXX_Size

func (*MsgSubmitEthereumTxConfirmationResponse) XXX_Unmarshal

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

type MultiGravityHooks

type MultiGravityHooks []GravityHooks

func NewMultiGravityHooks

func NewMultiGravityHooks(hooks ...GravityHooks) MultiGravityHooks

func (MultiGravityHooks) AfterBatchExecutedEvent

func (mghs MultiGravityHooks) AfterBatchExecutedEvent(ctx sdk.Context, event BatchExecutedEvent)

func (MultiGravityHooks) AfterContractCallExecutedEvent

func (mghs MultiGravityHooks) AfterContractCallExecutedEvent(ctx sdk.Context, event ContractCallExecutedEvent)

func (MultiGravityHooks) AfterERC20DeployedEvent

func (mghs MultiGravityHooks) AfterERC20DeployedEvent(ctx sdk.Context, event ERC20DeployedEvent)

func (MultiGravityHooks) AfterSendToCosmosEvent

func (mghs MultiGravityHooks) AfterSendToCosmosEvent(ctx sdk.Context, event SendToCosmosEvent)

func (MultiGravityHooks) AfterSignerSetExecutedEvent

func (mghs MultiGravityHooks) AfterSignerSetExecutedEvent(ctx sdk.Context, event SignerSetTxExecutedEvent)

type OutgoingTx

type OutgoingTx interface {

	// The only one that will be problematic is BatchTx which needs to pull all the constituent
	// transactions before calculating the checkpoint
	GetCheckpoint([]byte) []byte
	GetStoreIndex() []byte
	GetCosmosHeight() uint64
}

func UnpackOutgoingTx

func UnpackOutgoingTx(any *types.Any) (OutgoingTx, 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"`
	BridgeEthereumAddress    string `` /* 126-byte string literal not displayed */
	BridgeChainId            uint64 `protobuf:"varint,5,opt,name=bridge_chain_id,json=bridgeChainId,proto3" json:"bridge_chain_id,omitempty"`
	SignedSignerSetTxsWindow uint64 `` /* 140-byte string literal not displayed */
	SignedBatchesWindow      uint64 `protobuf:"varint,7,opt,name=signed_batches_window,json=signedBatchesWindow,proto3" json:"signed_batches_window,omitempty"`
	EthereumSignaturesWindow uint64 `` /* 136-byte string literal not displayed */
	TargetEthTxTimeout       uint64 `protobuf:"varint,10,opt,name=target_eth_tx_timeout,json=targetEthTxTimeout,proto3" json:"target_eth_tx_timeout,omitempty"`
	AverageBlockTime         uint64 `protobuf:"varint,11,opt,name=average_block_time,json=averageBlockTime,proto3" json:"average_block_time,omitempty"`
	AverageEthereumBlockTime uint64 `` /* 139-byte string literal not displayed */
	// TODO: slash fraction for contract call txs too
	SlashFractionSignerSetTx                  github_com_cosmos_cosmos_sdk_types.Dec `` /* 180-byte string literal not displayed */
	SlashFractionBatch                        github_com_cosmos_cosmos_sdk_types.Dec `` /* 158-byte string literal not displayed */
	SlashFractionEthereumSignature            github_com_cosmos_cosmos_sdk_types.Dec `` /* 196-byte string literal not displayed */
	SlashFractionConflictingEthereumSignature github_com_cosmos_cosmos_sdk_types.Dec `` /* 231-byte string literal not displayed */
	UnbondSlashingSignerSetTxsWindow          uint64                                 `` /* 167-byte string literal not displayed */
	EthereumEventVoteWindow                   uint64                                 `` /* 136-byte string literal not displayed */
	ConfirmedOutgoingTxWindow                 uint64                                 `` /* 142-byte string literal not displayed */
}

Params represent the Gravity genesis and store parameters gravity_id: a random 32 byte value to prevent signature reuse, for example if the cosmos validators decided to use the same Ethereum keys for another chain also running Gravity we would not want it to be possible to play a deposit from chain A back on chain B's Gravity. This value IS USED ON ETHEREUM so it must be set in your genesis.json before launch and not changed after deploying Gravity

contract_hash: the code hash of a known good version of the Gravity contract solidity code. This can be used to verify the correct version of the contract has been deployed. This is a reference value for goernance action only it is never read by any Gravity code

bridge_ethereum_address: is address of the bridge contract on the Ethereum side, this is a reference value for governance only and is not actually used by any Gravity code

bridge_chain_id: the unique identifier of the Ethereum chain, this is a reference value only and is not actually used by any Gravity code

These reference values may be used by future Gravity client implemetnations to allow for saftey features or convenience features like the Gravity address in your relayer. A relayer would require a configured Gravity address if governance had not set the address on the chain it was relaying for.

signed_signer_set_txs_window signed_batches_window signed_ethereum_signatures_window

These values represent the time in blocks that a validator has to submit a signature for a batch or valset, or to submit a ethereum_signature for a particular attestation nonce. In the case of attestations this clock starts when the attestation is created, but only allows for slashing once the event has passed

target_eth_tx_timeout:

This is the 'target' value for when ethereum transactions time out, this is a target because Ethereum is a probabilistic chain and you can't say for sure what the block frequency is ahead of time.

average_block_time average_ethereum_block_time

These values are the average Cosmos block time and Ethereum block time respectively and they are used to compute what the target batch timeout is. It is important that governance updates these in case of any major, prolonged change in the time it takes to produce a block

slash_fraction_signer_set_tx slash_fraction_batch slash_fraction_ethereum_signature slash_fraction_conflicting_ethereum_signature

The slashing fractions for the various gravity related slashing conditions. The first three refer to not submitting a particular message, the third for submitting a different ethereum_signature for the same Ethereum event

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) GetAverageEthereumBlockTime

func (m *Params) GetAverageEthereumBlockTime() uint64

func (*Params) GetBridgeChainId

func (m *Params) GetBridgeChainId() uint64

func (*Params) GetBridgeEthereumAddress

func (m *Params) GetBridgeEthereumAddress() string

func (*Params) GetConfirmedOutgoingTxWindow

func (m *Params) GetConfirmedOutgoingTxWindow() uint64

func (*Params) GetContractSourceHash

func (m *Params) GetContractSourceHash() string

func (*Params) GetEthereumEventVoteWindow

func (m *Params) GetEthereumEventVoteWindow() uint64

func (*Params) GetEthereumSignaturesWindow

func (m *Params) GetEthereumSignaturesWindow() uint64

func (*Params) GetGravityId

func (m *Params) GetGravityId() string

func (*Params) GetSignedBatchesWindow

func (m *Params) GetSignedBatchesWindow() uint64

func (*Params) GetSignedSignerSetTxsWindow

func (m *Params) GetSignedSignerSetTxsWindow() uint64

func (*Params) GetTargetEthTxTimeout

func (m *Params) GetTargetEthTxTimeout() uint64

func (*Params) GetUnbondSlashingSignerSetTxsWindow

func (m *Params) GetUnbondSlashingSignerSetTxsWindow() 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_MessageName

func (*Params) XXX_MessageName() string

func (*Params) XXX_Size

func (m *Params) XXX_Size() int

func (*Params) XXX_Unmarshal

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

type ParamsRequest

type ParamsRequest struct {
}

rpc Params

func (*ParamsRequest) Descriptor

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

func (*ParamsRequest) Marshal

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

func (*ParamsRequest) MarshalTo

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

func (*ParamsRequest) MarshalToSizedBuffer

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

func (*ParamsRequest) ProtoMessage

func (*ParamsRequest) ProtoMessage()

func (*ParamsRequest) Reset

func (m *ParamsRequest) Reset()

func (*ParamsRequest) Size

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

func (*ParamsRequest) String

func (m *ParamsRequest) String() string

func (*ParamsRequest) Unmarshal

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

func (*ParamsRequest) XXX_DiscardUnknown

func (m *ParamsRequest) XXX_DiscardUnknown()

func (*ParamsRequest) XXX_Marshal

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

func (*ParamsRequest) XXX_Merge

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

func (*ParamsRequest) XXX_MessageName

func (*ParamsRequest) XXX_MessageName() string

func (*ParamsRequest) XXX_Size

func (m *ParamsRequest) XXX_Size() int

func (*ParamsRequest) XXX_Unmarshal

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

type ParamsResponse

type ParamsResponse struct {
	Params Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params"`
}

func (*ParamsResponse) Descriptor

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

func (*ParamsResponse) GetParams

func (m *ParamsResponse) GetParams() Params

func (*ParamsResponse) Marshal

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

func (*ParamsResponse) MarshalTo

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

func (*ParamsResponse) MarshalToSizedBuffer

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

func (*ParamsResponse) ProtoMessage

func (*ParamsResponse) ProtoMessage()

func (*ParamsResponse) Reset

func (m *ParamsResponse) Reset()

func (*ParamsResponse) Size

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

func (*ParamsResponse) String

func (m *ParamsResponse) String() string

func (*ParamsResponse) Unmarshal

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

func (*ParamsResponse) XXX_DiscardUnknown

func (m *ParamsResponse) XXX_DiscardUnknown()

func (*ParamsResponse) XXX_Marshal

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

func (*ParamsResponse) XXX_Merge

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

func (*ParamsResponse) XXX_MessageName

func (*ParamsResponse) XXX_MessageName() string

func (*ParamsResponse) XXX_Size

func (m *ParamsResponse) XXX_Size() int

func (*ParamsResponse) XXX_Unmarshal

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

type QueryClient

type QueryClient interface {
	// Module parameters query
	Params(ctx context.Context, in *ParamsRequest, opts ...grpc.CallOption) (*ParamsResponse, error)
	// get info on individual outgoing data
	SignerSetTx(ctx context.Context, in *SignerSetTxRequest, opts ...grpc.CallOption) (*SignerSetTxResponse, error)
	LatestSignerSetTx(ctx context.Context, in *LatestSignerSetTxRequest, opts ...grpc.CallOption) (*SignerSetTxResponse, error)
	BatchTx(ctx context.Context, in *BatchTxRequest, opts ...grpc.CallOption) (*BatchTxResponse, error)
	ContractCallTx(ctx context.Context, in *ContractCallTxRequest, opts ...grpc.CallOption) (*ContractCallTxResponse, error)
	// get collections of outgoing traffic from the bridge
	SignerSetTxs(ctx context.Context, in *SignerSetTxsRequest, opts ...grpc.CallOption) (*SignerSetTxsResponse, error)
	BatchTxs(ctx context.Context, in *BatchTxsRequest, opts ...grpc.CallOption) (*BatchTxsResponse, error)
	ContractCallTxs(ctx context.Context, in *ContractCallTxsRequest, opts ...grpc.CallOption) (*ContractCallTxsResponse, error)
	// TODO: can/should we group these into one endpoint?
	SignerSetTxConfirmations(ctx context.Context, in *SignerSetTxConfirmationsRequest, opts ...grpc.CallOption) (*SignerSetTxConfirmationsResponse, error)
	BatchTxConfirmations(ctx context.Context, in *BatchTxConfirmationsRequest, opts ...grpc.CallOption) (*BatchTxConfirmationsResponse, error)
	ContractCallTxConfirmations(ctx context.Context, in *ContractCallTxConfirmationsRequest, opts ...grpc.CallOption) (*ContractCallTxConfirmationsResponse, error)
	// pending ethereum signature queries for orchestrators to figure out which
	// signatures they are missing
	// TODO: can/should we group this into one endpoint?
	UnsignedSignerSetTxs(ctx context.Context, in *UnsignedSignerSetTxsRequest, opts ...grpc.CallOption) (*UnsignedSignerSetTxsResponse, error)
	UnsignedBatchTxs(ctx context.Context, in *UnsignedBatchTxsRequest, opts ...grpc.CallOption) (*UnsignedBatchTxsResponse, error)
	UnsignedContractCallTxs(ctx context.Context, in *UnsignedContractCallTxsRequest, opts ...grpc.CallOption) (*UnsignedContractCallTxsResponse, error)
	LastSubmittedEthereumEvent(ctx context.Context, in *LastSubmittedEthereumEventRequest, opts ...grpc.CallOption) (*LastSubmittedEthereumEventResponse, error)
	// Queries the fees for all pending batches, results are returned in sdk.Coin
	// (fee_amount_int)(contract_address) style
	BatchTxFees(ctx context.Context, in *BatchTxFeesRequest, opts ...grpc.CallOption) (*BatchTxFeesResponse, error)
	// Query for info about denoms tracked by gravity
	ERC20ToDenom(ctx context.Context, in *ERC20ToDenomRequest, opts ...grpc.CallOption) (*ERC20ToDenomResponse, error)
	// DenomToERC20Params implements a query that allows ERC-20 parameter
	// information to be retrieved by a Cosmos base denomination.
	DenomToERC20Params(ctx context.Context, in *DenomToERC20ParamsRequest, opts ...grpc.CallOption) (*DenomToERC20ParamsResponse, error)
	// Query for info about denoms tracked by gravity
	DenomToERC20(ctx context.Context, in *DenomToERC20Request, opts ...grpc.CallOption) (*DenomToERC20Response, error)
	// Query for batch send to ethereums
	BatchedSendToEthereums(ctx context.Context, in *BatchedSendToEthereumsRequest, opts ...grpc.CallOption) (*BatchedSendToEthereumsResponse, error)
	// Query for unbatched send to ethereums
	UnbatchedSendToEthereums(ctx context.Context, in *UnbatchedSendToEthereumsRequest, opts ...grpc.CallOption) (*UnbatchedSendToEthereumsResponse, error)
	// delegate keys
	DelegateKeysByValidator(ctx context.Context, in *DelegateKeysByValidatorRequest, opts ...grpc.CallOption) (*DelegateKeysByValidatorResponse, error)
	DelegateKeysByEthereumSigner(ctx context.Context, in *DelegateKeysByEthereumSignerRequest, opts ...grpc.CallOption) (*DelegateKeysByEthereumSignerResponse, error)
	DelegateKeysByOrchestrator(ctx context.Context, in *DelegateKeysByOrchestratorRequest, opts ...grpc.CallOption) (*DelegateKeysByOrchestratorResponse, error)
	DelegateKeys(ctx context.Context, in *DelegateKeysRequest, opts ...grpc.CallOption) (*DelegateKeysResponse, error)
	LastObservedEthereumHeight(ctx context.Context, in *LastObservedEthereumHeightRequest, opts ...grpc.CallOption) (*LastObservedEthereumHeightResponse, error)
	CompletedSignerSetTxs(ctx context.Context, in *CompletedSignerSetTxsRequest, opts ...grpc.CallOption) (*CompletedSignerSetTxsResponse, error)
	CompletedBatchTxs(ctx context.Context, in *CompletedBatchTxsRequest, opts ...grpc.CallOption) (*CompletedBatchTxsResponse, error)
	CompletedContractCallTxs(ctx context.Context, in *CompletedContractCallTxsRequest, opts ...grpc.CallOption) (*CompletedContractCallTxsResponse, error)
	BatchTxConfirmationsByValidator(ctx context.Context, in *BatchTxConfirmationsByValidatorRequest, opts ...grpc.CallOption) (*BatchTxConfirmationsByValidatorResponse, error)
	ContractCallTxConfirmationsByValidator(ctx context.Context, in *ContractCallTxConfirmationsByValidatorRequest, opts ...grpc.CallOption) (*ContractCallTxConfirmationsByValidatorResponse, error)
	SignerSetTxConfirmationsByValidator(ctx context.Context, in *SignerSetTxConfirmationsByValidatorRequest, opts ...grpc.CallOption) (*SignerSetTxConfirmationsByValidatorResponse, error)
	EthereumEventVoteRecords(ctx context.Context, in *EthereumEventVoteRecordsRequest, opts ...grpc.CallOption) (*EthereumEventVoteRecordsResponse, error)
	EthereumEventVotes(ctx context.Context, in *EthereumEventVotesRequest, opts ...grpc.CallOption) (*EthereumEventVotesResponse, 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 QueryServer

type QueryServer interface {
	// Module parameters query
	Params(context.Context, *ParamsRequest) (*ParamsResponse, error)
	// get info on individual outgoing data
	SignerSetTx(context.Context, *SignerSetTxRequest) (*SignerSetTxResponse, error)
	LatestSignerSetTx(context.Context, *LatestSignerSetTxRequest) (*SignerSetTxResponse, error)
	BatchTx(context.Context, *BatchTxRequest) (*BatchTxResponse, error)
	ContractCallTx(context.Context, *ContractCallTxRequest) (*ContractCallTxResponse, error)
	// get collections of outgoing traffic from the bridge
	SignerSetTxs(context.Context, *SignerSetTxsRequest) (*SignerSetTxsResponse, error)
	BatchTxs(context.Context, *BatchTxsRequest) (*BatchTxsResponse, error)
	ContractCallTxs(context.Context, *ContractCallTxsRequest) (*ContractCallTxsResponse, error)
	// TODO: can/should we group these into one endpoint?
	SignerSetTxConfirmations(context.Context, *SignerSetTxConfirmationsRequest) (*SignerSetTxConfirmationsResponse, error)
	BatchTxConfirmations(context.Context, *BatchTxConfirmationsRequest) (*BatchTxConfirmationsResponse, error)
	ContractCallTxConfirmations(context.Context, *ContractCallTxConfirmationsRequest) (*ContractCallTxConfirmationsResponse, error)
	// pending ethereum signature queries for orchestrators to figure out which
	// signatures they are missing
	// TODO: can/should we group this into one endpoint?
	UnsignedSignerSetTxs(context.Context, *UnsignedSignerSetTxsRequest) (*UnsignedSignerSetTxsResponse, error)
	UnsignedBatchTxs(context.Context, *UnsignedBatchTxsRequest) (*UnsignedBatchTxsResponse, error)
	UnsignedContractCallTxs(context.Context, *UnsignedContractCallTxsRequest) (*UnsignedContractCallTxsResponse, error)
	LastSubmittedEthereumEvent(context.Context, *LastSubmittedEthereumEventRequest) (*LastSubmittedEthereumEventResponse, error)
	// Queries the fees for all pending batches, results are returned in sdk.Coin
	// (fee_amount_int)(contract_address) style
	BatchTxFees(context.Context, *BatchTxFeesRequest) (*BatchTxFeesResponse, error)
	// Query for info about denoms tracked by gravity
	ERC20ToDenom(context.Context, *ERC20ToDenomRequest) (*ERC20ToDenomResponse, error)
	// DenomToERC20Params implements a query that allows ERC-20 parameter
	// information to be retrieved by a Cosmos base denomination.
	DenomToERC20Params(context.Context, *DenomToERC20ParamsRequest) (*DenomToERC20ParamsResponse, error)
	// Query for info about denoms tracked by gravity
	DenomToERC20(context.Context, *DenomToERC20Request) (*DenomToERC20Response, error)
	// Query for batch send to ethereums
	BatchedSendToEthereums(context.Context, *BatchedSendToEthereumsRequest) (*BatchedSendToEthereumsResponse, error)
	// Query for unbatched send to ethereums
	UnbatchedSendToEthereums(context.Context, *UnbatchedSendToEthereumsRequest) (*UnbatchedSendToEthereumsResponse, error)
	// delegate keys
	DelegateKeysByValidator(context.Context, *DelegateKeysByValidatorRequest) (*DelegateKeysByValidatorResponse, error)
	DelegateKeysByEthereumSigner(context.Context, *DelegateKeysByEthereumSignerRequest) (*DelegateKeysByEthereumSignerResponse, error)
	DelegateKeysByOrchestrator(context.Context, *DelegateKeysByOrchestratorRequest) (*DelegateKeysByOrchestratorResponse, error)
	DelegateKeys(context.Context, *DelegateKeysRequest) (*DelegateKeysResponse, error)
	LastObservedEthereumHeight(context.Context, *LastObservedEthereumHeightRequest) (*LastObservedEthereumHeightResponse, error)
	CompletedSignerSetTxs(context.Context, *CompletedSignerSetTxsRequest) (*CompletedSignerSetTxsResponse, error)
	CompletedBatchTxs(context.Context, *CompletedBatchTxsRequest) (*CompletedBatchTxsResponse, error)
	CompletedContractCallTxs(context.Context, *CompletedContractCallTxsRequest) (*CompletedContractCallTxsResponse, error)
	BatchTxConfirmationsByValidator(context.Context, *BatchTxConfirmationsByValidatorRequest) (*BatchTxConfirmationsByValidatorResponse, error)
	ContractCallTxConfirmationsByValidator(context.Context, *ContractCallTxConfirmationsByValidatorRequest) (*ContractCallTxConfirmationsByValidatorResponse, error)
	SignerSetTxConfirmationsByValidator(context.Context, *SignerSetTxConfirmationsByValidatorRequest) (*SignerSetTxConfirmationsByValidatorResponse, error)
	EthereumEventVoteRecords(context.Context, *EthereumEventVoteRecordsRequest) (*EthereumEventVoteRecordsResponse, error)
	EthereumEventVotes(context.Context, *EthereumEventVotesRequest) (*EthereumEventVotesResponse, error)
}

QueryServer is the server API for Query service.

type SendToCosmosEvent

type SendToCosmosEvent struct {
	EventNonce     uint64                                 `protobuf:"varint,1,opt,name=event_nonce,json=eventNonce,proto3" json:"event_nonce,omitempty"`
	TokenContract  string                                 `protobuf:"bytes,2,opt,name=token_contract,json=tokenContract,proto3" json:"token_contract,omitempty"`
	Amount         github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,3,opt,name=amount,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"amount"`
	EthereumSender string                                 `protobuf:"bytes,4,opt,name=ethereum_sender,json=ethereumSender,proto3" json:"ethereum_sender,omitempty"`
	CosmosReceiver string                                 `protobuf:"bytes,5,opt,name=cosmos_receiver,json=cosmosReceiver,proto3" json:"cosmos_receiver,omitempty"`
	EthereumHeight uint64                                 `protobuf:"varint,6,opt,name=ethereum_height,json=ethereumHeight,proto3" json:"ethereum_height,omitempty"`
}

SendToCosmosEvent is submitted when the SendToCosmosEvent is emitted by they gravity contract. ERC20 representation coins are minted to the cosmosreceiver address.

func (*SendToCosmosEvent) Descriptor

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

func (*SendToCosmosEvent) Equal

func (this *SendToCosmosEvent) Equal(that interface{}) bool

func (*SendToCosmosEvent) GetCosmosReceiver

func (m *SendToCosmosEvent) GetCosmosReceiver() string

func (*SendToCosmosEvent) GetEthereumHeight

func (m *SendToCosmosEvent) GetEthereumHeight() uint64

func (*SendToCosmosEvent) GetEthereumSender

func (m *SendToCosmosEvent) GetEthereumSender() string

func (*SendToCosmosEvent) GetEventNonce

func (m *SendToCosmosEvent) GetEventNonce() uint64

func (*SendToCosmosEvent) GetTokenContract

func (m *SendToCosmosEvent) GetTokenContract() string

func (*SendToCosmosEvent) Hash

func (stce *SendToCosmosEvent) Hash() tmbytes.HexBytes

func (*SendToCosmosEvent) Marshal

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

func (*SendToCosmosEvent) MarshalTo

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

func (*SendToCosmosEvent) MarshalToSizedBuffer

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

func (*SendToCosmosEvent) ProtoMessage

func (*SendToCosmosEvent) ProtoMessage()

func (*SendToCosmosEvent) Reset

func (m *SendToCosmosEvent) Reset()

func (*SendToCosmosEvent) Size

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

func (*SendToCosmosEvent) String

func (m *SendToCosmosEvent) String() string

func (*SendToCosmosEvent) Unmarshal

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

func (*SendToCosmosEvent) Validate

func (stce *SendToCosmosEvent) Validate() error

func (*SendToCosmosEvent) XXX_DiscardUnknown

func (m *SendToCosmosEvent) XXX_DiscardUnknown()

func (*SendToCosmosEvent) XXX_Marshal

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

func (*SendToCosmosEvent) XXX_Merge

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

func (*SendToCosmosEvent) XXX_MessageName

func (*SendToCosmosEvent) XXX_MessageName() string

func (*SendToCosmosEvent) XXX_Size

func (m *SendToCosmosEvent) XXX_Size() int

func (*SendToCosmosEvent) XXX_Unmarshal

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

type SendToEthereum

type SendToEthereum 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"`
	EthereumRecipient string     `protobuf:"bytes,3,opt,name=ethereum_recipient,json=ethereumRecipient,proto3" json:"ethereum_recipient,omitempty"`
	Erc20Token        ERC20Token `protobuf:"bytes,4,opt,name=erc20_token,json=erc20Token,proto3" json:"erc20_token"`
	Erc20Fee          ERC20Token `protobuf:"bytes,5,opt,name=erc20_fee,json=erc20Fee,proto3" json:"erc20_fee"`
}

SendToEthereum represents an individual SendToEthereum from Cosmos to Ethereum

func NewSendToEthereumTx

func NewSendToEthereumTx(id uint64, tokenContract common.Address, sender sdk.AccAddress, recipient common.Address, amount, feeAmount uint64) *SendToEthereum

func (*SendToEthereum) Descriptor

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

func (*SendToEthereum) GetErc20Fee

func (m *SendToEthereum) GetErc20Fee() ERC20Token

func (*SendToEthereum) GetErc20Token

func (m *SendToEthereum) GetErc20Token() ERC20Token

func (*SendToEthereum) GetEthereumRecipient

func (m *SendToEthereum) GetEthereumRecipient() string

func (*SendToEthereum) GetId

func (m *SendToEthereum) GetId() uint64

func (*SendToEthereum) GetSender

func (m *SendToEthereum) GetSender() string

func (*SendToEthereum) Marshal

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

func (*SendToEthereum) MarshalTo

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

func (*SendToEthereum) MarshalToSizedBuffer

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

func (*SendToEthereum) ProtoMessage

func (*SendToEthereum) ProtoMessage()

func (*SendToEthereum) Reset

func (m *SendToEthereum) Reset()

func (*SendToEthereum) Size

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

func (*SendToEthereum) String

func (m *SendToEthereum) String() string

func (*SendToEthereum) Unmarshal

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

func (*SendToEthereum) XXX_DiscardUnknown

func (m *SendToEthereum) XXX_DiscardUnknown()

func (*SendToEthereum) XXX_Marshal

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

func (*SendToEthereum) XXX_Merge

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

func (*SendToEthereum) XXX_MessageName

func (*SendToEthereum) XXX_MessageName() string

func (*SendToEthereum) XXX_Size

func (m *SendToEthereum) XXX_Size() int

func (*SendToEthereum) XXX_Unmarshal

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

type SignerSetTx

type SignerSetTx struct {
	Nonce   uint64          `protobuf:"varint,1,opt,name=nonce,proto3" json:"nonce,omitempty"`
	Height  uint64          `protobuf:"varint,2,opt,name=height,proto3" json:"height,omitempty"`
	Signers EthereumSigners `protobuf:"bytes,3,rep,name=signers,proto3,castrepeated=EthereumSigners" json:"signers,omitempty"`
}

SignerSetTx is the Ethereum Bridge multisig set that relays transactions the two chains. The staking validators keep ethereum keys which are used to check signatures on Ethereum in order to get significant gas savings.

func NewSignerSetTx

func NewSignerSetTx(nonce, height uint64, members EthereumSigners) *SignerSetTx

NewSignerSetTx returns a new valset

func (*SignerSetTx) Descriptor

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

func (SignerSetTx) GetCheckpoint

func (u SignerSetTx) GetCheckpoint(gravityID []byte) []byte

GetCheckpoint returns the checkpoint

func (*SignerSetTx) GetCosmosHeight

func (sstx *SignerSetTx) GetCosmosHeight() uint64

func (*SignerSetTx) GetHeight

func (m *SignerSetTx) GetHeight() uint64

func (*SignerSetTx) GetNonce

func (m *SignerSetTx) GetNonce() uint64

func (*SignerSetTx) GetSigners

func (m *SignerSetTx) GetSigners() EthereumSigners

func (*SignerSetTx) GetStoreIndex

func (sstx *SignerSetTx) GetStoreIndex() []byte

TODO: do we need a prefix byte for the different types?

func (*SignerSetTx) Marshal

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

func (*SignerSetTx) MarshalTo

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

func (*SignerSetTx) MarshalToSizedBuffer

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

func (*SignerSetTx) ProtoMessage

func (*SignerSetTx) ProtoMessage()

func (*SignerSetTx) Reset

func (m *SignerSetTx) Reset()

func (*SignerSetTx) Size

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

func (*SignerSetTx) String

func (m *SignerSetTx) String() string

func (*SignerSetTx) Unmarshal

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

func (*SignerSetTx) XXX_DiscardUnknown

func (m *SignerSetTx) XXX_DiscardUnknown()

func (*SignerSetTx) XXX_Marshal

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

func (*SignerSetTx) XXX_Merge

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

func (*SignerSetTx) XXX_MessageName

func (*SignerSetTx) XXX_MessageName() string

func (*SignerSetTx) XXX_Size

func (m *SignerSetTx) XXX_Size() int

func (*SignerSetTx) XXX_Unmarshal

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

type SignerSetTxConfirmation

type SignerSetTxConfirmation struct {
	SignerSetNonce uint64 `protobuf:"varint,1,opt,name=signer_set_nonce,json=signerSetNonce,proto3" json:"signer_set_nonce,omitempty"`
	EthereumSigner string `protobuf:"bytes,2,opt,name=ethereum_signer,json=ethereumSigner,proto3" json:"ethereum_signer,omitempty"`
	Signature      []byte `protobuf:"bytes,3,opt,name=signature,proto3" json:"signature,omitempty"`
}

SignerSetTxConfirmation is a signature on behalf of a validator for a SignerSetTx

func (*SignerSetTxConfirmation) Descriptor

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

func (*SignerSetTxConfirmation) GetEthereumSigner

func (m *SignerSetTxConfirmation) GetEthereumSigner() string

func (*SignerSetTxConfirmation) GetSignature

func (m *SignerSetTxConfirmation) GetSignature() []byte

func (*SignerSetTxConfirmation) GetSigner

func (u *SignerSetTxConfirmation) GetSigner() common.Address

func (*SignerSetTxConfirmation) GetSignerSetNonce

func (m *SignerSetTxConfirmation) GetSignerSetNonce() uint64

func (*SignerSetTxConfirmation) GetStoreIndex

func (sstx *SignerSetTxConfirmation) GetStoreIndex() []byte

func (*SignerSetTxConfirmation) Marshal

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

func (*SignerSetTxConfirmation) MarshalTo

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

func (*SignerSetTxConfirmation) MarshalToSizedBuffer

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

func (*SignerSetTxConfirmation) ProtoMessage

func (*SignerSetTxConfirmation) ProtoMessage()

func (*SignerSetTxConfirmation) Reset

func (m *SignerSetTxConfirmation) Reset()

func (*SignerSetTxConfirmation) Size

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

func (*SignerSetTxConfirmation) String

func (m *SignerSetTxConfirmation) String() string

func (*SignerSetTxConfirmation) Unmarshal

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

func (*SignerSetTxConfirmation) Validate

func (u *SignerSetTxConfirmation) Validate() error

func (*SignerSetTxConfirmation) XXX_DiscardUnknown

func (m *SignerSetTxConfirmation) XXX_DiscardUnknown()

func (*SignerSetTxConfirmation) XXX_Marshal

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

func (*SignerSetTxConfirmation) XXX_Merge

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

func (*SignerSetTxConfirmation) XXX_MessageName

func (*SignerSetTxConfirmation) XXX_MessageName() string

func (*SignerSetTxConfirmation) XXX_Size

func (m *SignerSetTxConfirmation) XXX_Size() int

func (*SignerSetTxConfirmation) XXX_Unmarshal

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

type SignerSetTxConfirmationsByValidatorRequest

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

func (*SignerSetTxConfirmationsByValidatorRequest) Descriptor

func (*SignerSetTxConfirmationsByValidatorRequest) GetValidatorAddress

func (m *SignerSetTxConfirmationsByValidatorRequest) GetValidatorAddress() string

func (*SignerSetTxConfirmationsByValidatorRequest) Marshal

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

func (*SignerSetTxConfirmationsByValidatorRequest) MarshalTo

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

func (*SignerSetTxConfirmationsByValidatorRequest) MarshalToSizedBuffer

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

func (*SignerSetTxConfirmationsByValidatorRequest) ProtoMessage

func (*SignerSetTxConfirmationsByValidatorRequest) Reset

func (*SignerSetTxConfirmationsByValidatorRequest) Size

func (*SignerSetTxConfirmationsByValidatorRequest) String

func (*SignerSetTxConfirmationsByValidatorRequest) Unmarshal

func (*SignerSetTxConfirmationsByValidatorRequest) XXX_DiscardUnknown

func (m *SignerSetTxConfirmationsByValidatorRequest) XXX_DiscardUnknown()

func (*SignerSetTxConfirmationsByValidatorRequest) XXX_Marshal

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

func (*SignerSetTxConfirmationsByValidatorRequest) XXX_Merge

func (*SignerSetTxConfirmationsByValidatorRequest) XXX_MessageName

func (*SignerSetTxConfirmationsByValidatorRequest) XXX_Size

func (*SignerSetTxConfirmationsByValidatorRequest) XXX_Unmarshal

type SignerSetTxConfirmationsByValidatorResponse

type SignerSetTxConfirmationsByValidatorResponse struct {
	SignerSetTxConfirmations []*SignerSetTxConfirmation `` /* 137-byte string literal not displayed */
}

func (*SignerSetTxConfirmationsByValidatorResponse) Descriptor

func (*SignerSetTxConfirmationsByValidatorResponse) GetSignerSetTxConfirmations

func (m *SignerSetTxConfirmationsByValidatorResponse) GetSignerSetTxConfirmations() []*SignerSetTxConfirmation

func (*SignerSetTxConfirmationsByValidatorResponse) Marshal

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

func (*SignerSetTxConfirmationsByValidatorResponse) MarshalTo

func (*SignerSetTxConfirmationsByValidatorResponse) MarshalToSizedBuffer

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

func (*SignerSetTxConfirmationsByValidatorResponse) ProtoMessage

func (*SignerSetTxConfirmationsByValidatorResponse) Reset

func (*SignerSetTxConfirmationsByValidatorResponse) Size

func (*SignerSetTxConfirmationsByValidatorResponse) String

func (*SignerSetTxConfirmationsByValidatorResponse) Unmarshal

func (*SignerSetTxConfirmationsByValidatorResponse) XXX_DiscardUnknown

func (m *SignerSetTxConfirmationsByValidatorResponse) XXX_DiscardUnknown()

func (*SignerSetTxConfirmationsByValidatorResponse) XXX_Marshal

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

func (*SignerSetTxConfirmationsByValidatorResponse) XXX_Merge

func (*SignerSetTxConfirmationsByValidatorResponse) XXX_MessageName

func (*SignerSetTxConfirmationsByValidatorResponse) XXX_Size

func (*SignerSetTxConfirmationsByValidatorResponse) XXX_Unmarshal

type SignerSetTxConfirmationsRequest

type SignerSetTxConfirmationsRequest struct {
	SignerSetNonce uint64 `protobuf:"varint,1,opt,name=signer_set_nonce,json=signerSetNonce,proto3" json:"signer_set_nonce,omitempty"`
}

rpc SignerSetTxConfirmations

func (*SignerSetTxConfirmationsRequest) Descriptor

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

func (*SignerSetTxConfirmationsRequest) GetSignerSetNonce

func (m *SignerSetTxConfirmationsRequest) GetSignerSetNonce() uint64

func (*SignerSetTxConfirmationsRequest) Marshal

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

func (*SignerSetTxConfirmationsRequest) MarshalTo

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

func (*SignerSetTxConfirmationsRequest) MarshalToSizedBuffer

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

func (*SignerSetTxConfirmationsRequest) ProtoMessage

func (*SignerSetTxConfirmationsRequest) ProtoMessage()

func (*SignerSetTxConfirmationsRequest) Reset

func (*SignerSetTxConfirmationsRequest) Size

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

func (*SignerSetTxConfirmationsRequest) String

func (*SignerSetTxConfirmationsRequest) Unmarshal

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

func (*SignerSetTxConfirmationsRequest) XXX_DiscardUnknown

func (m *SignerSetTxConfirmationsRequest) XXX_DiscardUnknown()

func (*SignerSetTxConfirmationsRequest) XXX_Marshal

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

func (*SignerSetTxConfirmationsRequest) XXX_Merge

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

func (*SignerSetTxConfirmationsRequest) XXX_MessageName

func (*SignerSetTxConfirmationsRequest) XXX_MessageName() string

func (*SignerSetTxConfirmationsRequest) XXX_Size

func (m *SignerSetTxConfirmationsRequest) XXX_Size() int

func (*SignerSetTxConfirmationsRequest) XXX_Unmarshal

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

type SignerSetTxConfirmationsResponse

type SignerSetTxConfirmationsResponse struct {
	Signatures []*SignerSetTxConfirmation `protobuf:"bytes,1,rep,name=signatures,proto3" json:"signatures,omitempty"`
}

func (*SignerSetTxConfirmationsResponse) Descriptor

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

func (*SignerSetTxConfirmationsResponse) GetSignatures

func (*SignerSetTxConfirmationsResponse) Marshal

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

func (*SignerSetTxConfirmationsResponse) MarshalTo

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

func (*SignerSetTxConfirmationsResponse) MarshalToSizedBuffer

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

func (*SignerSetTxConfirmationsResponse) ProtoMessage

func (*SignerSetTxConfirmationsResponse) ProtoMessage()

func (*SignerSetTxConfirmationsResponse) Reset

func (*SignerSetTxConfirmationsResponse) Size

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

func (*SignerSetTxConfirmationsResponse) String

func (*SignerSetTxConfirmationsResponse) Unmarshal

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

func (*SignerSetTxConfirmationsResponse) XXX_DiscardUnknown

func (m *SignerSetTxConfirmationsResponse) XXX_DiscardUnknown()

func (*SignerSetTxConfirmationsResponse) XXX_Marshal

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

func (*SignerSetTxConfirmationsResponse) XXX_Merge

func (*SignerSetTxConfirmationsResponse) XXX_MessageName

func (*SignerSetTxConfirmationsResponse) XXX_MessageName() string

func (*SignerSetTxConfirmationsResponse) XXX_Size

func (m *SignerSetTxConfirmationsResponse) XXX_Size() int

func (*SignerSetTxConfirmationsResponse) XXX_Unmarshal

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

type SignerSetTxExecutedEvent

type SignerSetTxExecutedEvent struct {
	EventNonce       uint64            `protobuf:"varint,1,opt,name=event_nonce,json=eventNonce,proto3" json:"event_nonce,omitempty"`
	SignerSetTxNonce uint64            `protobuf:"varint,2,opt,name=signer_set_tx_nonce,json=signerSetTxNonce,proto3" json:"signer_set_tx_nonce,omitempty"`
	EthereumHeight   uint64            `protobuf:"varint,3,opt,name=ethereum_height,json=ethereumHeight,proto3" json:"ethereum_height,omitempty"`
	Members          []*EthereumSigner `protobuf:"bytes,4,rep,name=members,proto3" json:"members,omitempty"`
}

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

func (*SignerSetTxExecutedEvent) Descriptor

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

func (*SignerSetTxExecutedEvent) GetEthereumHeight

func (m *SignerSetTxExecutedEvent) GetEthereumHeight() uint64

func (*SignerSetTxExecutedEvent) GetEventNonce

func (m *SignerSetTxExecutedEvent) GetEventNonce() uint64

func (*SignerSetTxExecutedEvent) GetMembers

func (m *SignerSetTxExecutedEvent) GetMembers() []*EthereumSigner

func (*SignerSetTxExecutedEvent) GetSignerSetTxNonce

func (m *SignerSetTxExecutedEvent) GetSignerSetTxNonce() uint64

func (*SignerSetTxExecutedEvent) Hash

func (*SignerSetTxExecutedEvent) Marshal

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

func (*SignerSetTxExecutedEvent) MarshalTo

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

func (*SignerSetTxExecutedEvent) MarshalToSizedBuffer

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

func (*SignerSetTxExecutedEvent) ProtoMessage

func (*SignerSetTxExecutedEvent) ProtoMessage()

func (*SignerSetTxExecutedEvent) Reset

func (m *SignerSetTxExecutedEvent) Reset()

func (*SignerSetTxExecutedEvent) Size

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

func (*SignerSetTxExecutedEvent) String

func (m *SignerSetTxExecutedEvent) String() string

func (*SignerSetTxExecutedEvent) Unmarshal

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

func (*SignerSetTxExecutedEvent) Validate

func (sse *SignerSetTxExecutedEvent) Validate() error

func (*SignerSetTxExecutedEvent) XXX_DiscardUnknown

func (m *SignerSetTxExecutedEvent) XXX_DiscardUnknown()

func (*SignerSetTxExecutedEvent) XXX_Marshal

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

func (*SignerSetTxExecutedEvent) XXX_Merge

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

func (*SignerSetTxExecutedEvent) XXX_MessageName

func (*SignerSetTxExecutedEvent) XXX_MessageName() string

func (*SignerSetTxExecutedEvent) XXX_Size

func (m *SignerSetTxExecutedEvent) XXX_Size() int

func (*SignerSetTxExecutedEvent) XXX_Unmarshal

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

type SignerSetTxRequest

type SignerSetTxRequest struct {
	SignerSetNonce uint64 `protobuf:"varint,1,opt,name=signer_set_nonce,json=signerSetNonce,proto3" json:"signer_set_nonce,omitempty"`
}

rpc SignerSetTx

func (*SignerSetTxRequest) Descriptor

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

func (*SignerSetTxRequest) GetSignerSetNonce

func (m *SignerSetTxRequest) GetSignerSetNonce() uint64

func (*SignerSetTxRequest) Marshal

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

func (*SignerSetTxRequest) MarshalTo

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

func (*SignerSetTxRequest) MarshalToSizedBuffer

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

func (*SignerSetTxRequest) ProtoMessage

func (*SignerSetTxRequest) ProtoMessage()

func (*SignerSetTxRequest) Reset

func (m *SignerSetTxRequest) Reset()

func (*SignerSetTxRequest) Size

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

func (*SignerSetTxRequest) String

func (m *SignerSetTxRequest) String() string

func (*SignerSetTxRequest) Unmarshal

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

func (*SignerSetTxRequest) XXX_DiscardUnknown

func (m *SignerSetTxRequest) XXX_DiscardUnknown()

func (*SignerSetTxRequest) XXX_Marshal

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

func (*SignerSetTxRequest) XXX_Merge

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

func (*SignerSetTxRequest) XXX_MessageName

func (*SignerSetTxRequest) XXX_MessageName() string

func (*SignerSetTxRequest) XXX_Size

func (m *SignerSetTxRequest) XXX_Size() int

func (*SignerSetTxRequest) XXX_Unmarshal

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

type SignerSetTxResponse

type SignerSetTxResponse struct {
	SignerSet *SignerSetTx `protobuf:"bytes,1,opt,name=signer_set,json=signerSet,proto3" json:"signer_set,omitempty"`
}

func (*SignerSetTxResponse) Descriptor

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

func (*SignerSetTxResponse) GetSignerSet

func (m *SignerSetTxResponse) GetSignerSet() *SignerSetTx

func (*SignerSetTxResponse) Marshal

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

func (*SignerSetTxResponse) MarshalTo

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

func (*SignerSetTxResponse) MarshalToSizedBuffer

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

func (*SignerSetTxResponse) ProtoMessage

func (*SignerSetTxResponse) ProtoMessage()

func (*SignerSetTxResponse) Reset

func (m *SignerSetTxResponse) Reset()

func (*SignerSetTxResponse) Size

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

func (*SignerSetTxResponse) String

func (m *SignerSetTxResponse) String() string

func (*SignerSetTxResponse) Unmarshal

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

func (*SignerSetTxResponse) XXX_DiscardUnknown

func (m *SignerSetTxResponse) XXX_DiscardUnknown()

func (*SignerSetTxResponse) XXX_Marshal

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

func (*SignerSetTxResponse) XXX_Merge

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

func (*SignerSetTxResponse) XXX_MessageName

func (*SignerSetTxResponse) XXX_MessageName() string

func (*SignerSetTxResponse) XXX_Size

func (m *SignerSetTxResponse) XXX_Size() int

func (*SignerSetTxResponse) XXX_Unmarshal

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

type SignerSetTxsRequest

type SignerSetTxsRequest struct {
	Pagination *query.PageRequest `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

rpc SignerSetTxs

func (*SignerSetTxsRequest) Descriptor

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

func (*SignerSetTxsRequest) GetPagination

func (m *SignerSetTxsRequest) GetPagination() *query.PageRequest

func (*SignerSetTxsRequest) Marshal

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

func (*SignerSetTxsRequest) MarshalTo

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

func (*SignerSetTxsRequest) MarshalToSizedBuffer

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

func (*SignerSetTxsRequest) ProtoMessage

func (*SignerSetTxsRequest) ProtoMessage()

func (*SignerSetTxsRequest) Reset

func (m *SignerSetTxsRequest) Reset()

func (*SignerSetTxsRequest) Size

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

func (*SignerSetTxsRequest) String

func (m *SignerSetTxsRequest) String() string

func (*SignerSetTxsRequest) Unmarshal

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

func (*SignerSetTxsRequest) XXX_DiscardUnknown

func (m *SignerSetTxsRequest) XXX_DiscardUnknown()

func (*SignerSetTxsRequest) XXX_Marshal

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

func (*SignerSetTxsRequest) XXX_Merge

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

func (*SignerSetTxsRequest) XXX_MessageName

func (*SignerSetTxsRequest) XXX_MessageName() string

func (*SignerSetTxsRequest) XXX_Size

func (m *SignerSetTxsRequest) XXX_Size() int

func (*SignerSetTxsRequest) XXX_Unmarshal

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

type SignerSetTxsResponse

type SignerSetTxsResponse struct {
	SignerSets []*SignerSetTx      `protobuf:"bytes,1,rep,name=signer_sets,json=signerSets,proto3" json:"signer_sets,omitempty"`
	Pagination *query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

func (*SignerSetTxsResponse) Descriptor

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

func (*SignerSetTxsResponse) GetPagination

func (m *SignerSetTxsResponse) GetPagination() *query.PageResponse

func (*SignerSetTxsResponse) GetSignerSets

func (m *SignerSetTxsResponse) GetSignerSets() []*SignerSetTx

func (*SignerSetTxsResponse) Marshal

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

func (*SignerSetTxsResponse) MarshalTo

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

func (*SignerSetTxsResponse) MarshalToSizedBuffer

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

func (*SignerSetTxsResponse) ProtoMessage

func (*SignerSetTxsResponse) ProtoMessage()

func (*SignerSetTxsResponse) Reset

func (m *SignerSetTxsResponse) Reset()

func (*SignerSetTxsResponse) Size

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

func (*SignerSetTxsResponse) String

func (m *SignerSetTxsResponse) String() string

func (*SignerSetTxsResponse) Unmarshal

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

func (*SignerSetTxsResponse) XXX_DiscardUnknown

func (m *SignerSetTxsResponse) XXX_DiscardUnknown()

func (*SignerSetTxsResponse) XXX_Marshal

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

func (*SignerSetTxsResponse) XXX_Merge

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

func (*SignerSetTxsResponse) XXX_MessageName

func (*SignerSetTxsResponse) XXX_MessageName() string

func (*SignerSetTxsResponse) XXX_Size

func (m *SignerSetTxsResponse) XXX_Size() int

func (*SignerSetTxsResponse) XXX_Unmarshal

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

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 sdkmath.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) sdkmath.Int
	Jail(sdk.Context, sdk.ConsAddress)
}

StakingKeeper defines the expected staking keeper methods

type UnbatchedSendToEthereumsRequest

type UnbatchedSendToEthereumsRequest struct {
	SenderAddress string             `protobuf:"bytes,1,opt,name=sender_address,json=senderAddress,proto3" json:"sender_address,omitempty"`
	Pagination    *query.PageRequest `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

func (*UnbatchedSendToEthereumsRequest) Descriptor

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

func (*UnbatchedSendToEthereumsRequest) GetPagination

func (*UnbatchedSendToEthereumsRequest) GetSenderAddress

func (m *UnbatchedSendToEthereumsRequest) GetSenderAddress() string

func (*UnbatchedSendToEthereumsRequest) Marshal

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

func (*UnbatchedSendToEthereumsRequest) MarshalTo

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

func (*UnbatchedSendToEthereumsRequest) MarshalToSizedBuffer

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

func (*UnbatchedSendToEthereumsRequest) ProtoMessage

func (*UnbatchedSendToEthereumsRequest) ProtoMessage()

func (*UnbatchedSendToEthereumsRequest) Reset

func (*UnbatchedSendToEthereumsRequest) Size

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

func (*UnbatchedSendToEthereumsRequest) String

func (*UnbatchedSendToEthereumsRequest) Unmarshal

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

func (*UnbatchedSendToEthereumsRequest) XXX_DiscardUnknown

func (m *UnbatchedSendToEthereumsRequest) XXX_DiscardUnknown()

func (*UnbatchedSendToEthereumsRequest) XXX_Marshal

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

func (*UnbatchedSendToEthereumsRequest) XXX_Merge

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

func (*UnbatchedSendToEthereumsRequest) XXX_MessageName

func (*UnbatchedSendToEthereumsRequest) XXX_MessageName() string

func (*UnbatchedSendToEthereumsRequest) XXX_Size

func (m *UnbatchedSendToEthereumsRequest) XXX_Size() int

func (*UnbatchedSendToEthereumsRequest) XXX_Unmarshal

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

type UnbatchedSendToEthereumsResponse

type UnbatchedSendToEthereumsResponse struct {
	SendToEthereums []*SendToEthereum   `protobuf:"bytes,1,rep,name=send_to_ethereums,json=sendToEthereums,proto3" json:"send_to_ethereums,omitempty"`
	Pagination      *query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

func (*UnbatchedSendToEthereumsResponse) Descriptor

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

func (*UnbatchedSendToEthereumsResponse) GetPagination

func (*UnbatchedSendToEthereumsResponse) GetSendToEthereums

func (m *UnbatchedSendToEthereumsResponse) GetSendToEthereums() []*SendToEthereum

func (*UnbatchedSendToEthereumsResponse) Marshal

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

func (*UnbatchedSendToEthereumsResponse) MarshalTo

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

func (*UnbatchedSendToEthereumsResponse) MarshalToSizedBuffer

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

func (*UnbatchedSendToEthereumsResponse) ProtoMessage

func (*UnbatchedSendToEthereumsResponse) ProtoMessage()

func (*UnbatchedSendToEthereumsResponse) Reset

func (*UnbatchedSendToEthereumsResponse) Size

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

func (*UnbatchedSendToEthereumsResponse) String

func (*UnbatchedSendToEthereumsResponse) Unmarshal

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

func (*UnbatchedSendToEthereumsResponse) XXX_DiscardUnknown

func (m *UnbatchedSendToEthereumsResponse) XXX_DiscardUnknown()

func (*UnbatchedSendToEthereumsResponse) XXX_Marshal

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

func (*UnbatchedSendToEthereumsResponse) XXX_Merge

func (*UnbatchedSendToEthereumsResponse) XXX_MessageName

func (*UnbatchedSendToEthereumsResponse) XXX_MessageName() string

func (*UnbatchedSendToEthereumsResponse) XXX_Size

func (m *UnbatchedSendToEthereumsResponse) XXX_Size() int

func (*UnbatchedSendToEthereumsResponse) XXX_Unmarshal

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

type UnimplementedMsgServer

type UnimplementedMsgServer struct {
}

UnimplementedMsgServer can be embedded to have forward compatible implementations.

func (*UnimplementedMsgServer) CancelSendToEthereum

func (*UnimplementedMsgServer) SendToEthereum

func (*UnimplementedMsgServer) SetDelegateKeys

func (*UnimplementedMsgServer) SubmitEthereumEvent

func (*UnimplementedMsgServer) SubmitEthereumHeightVote

type UnimplementedQueryServer

type UnimplementedQueryServer struct {
}

UnimplementedQueryServer can be embedded to have forward compatible implementations.

func (*UnimplementedQueryServer) BatchTx

func (*UnimplementedQueryServer) BatchTxConfirmations

func (*UnimplementedQueryServer) BatchTxFees

func (*UnimplementedQueryServer) BatchTxs

func (*UnimplementedQueryServer) BatchedSendToEthereums

func (*UnimplementedQueryServer) CompletedBatchTxs

func (*UnimplementedQueryServer) CompletedContractCallTxs

func (*UnimplementedQueryServer) CompletedSignerSetTxs

func (*UnimplementedQueryServer) ContractCallTx

func (*UnimplementedQueryServer) ContractCallTxs

func (*UnimplementedQueryServer) DelegateKeys

func (*UnimplementedQueryServer) DelegateKeysByOrchestrator

func (*UnimplementedQueryServer) DelegateKeysByValidator

func (*UnimplementedQueryServer) DenomToERC20

func (*UnimplementedQueryServer) DenomToERC20Params

func (*UnimplementedQueryServer) ERC20ToDenom

func (*UnimplementedQueryServer) EthereumEventVoteRecords

func (*UnimplementedQueryServer) EthereumEventVotes

func (*UnimplementedQueryServer) LastObservedEthereumHeight

func (*UnimplementedQueryServer) LastSubmittedEthereumEvent

func (*UnimplementedQueryServer) LatestSignerSetTx

func (*UnimplementedQueryServer) Params

func (*UnimplementedQueryServer) SignerSetTx

func (*UnimplementedQueryServer) SignerSetTxConfirmations

func (*UnimplementedQueryServer) SignerSetTxs

func (*UnimplementedQueryServer) UnbatchedSendToEthereums

func (*UnimplementedQueryServer) UnsignedBatchTxs

func (*UnimplementedQueryServer) UnsignedContractCallTxs

func (*UnimplementedQueryServer) UnsignedSignerSetTxs

type UnsignedBatchTxsRequest

type UnsignedBatchTxsRequest struct {
	// NOTE: this is an sdk.AccAddress and can represent either the
	// orchestrator address or the corresponding validator address
	Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
}

func (*UnsignedBatchTxsRequest) Descriptor

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

func (*UnsignedBatchTxsRequest) GetAddress

func (m *UnsignedBatchTxsRequest) GetAddress() string

func (*UnsignedBatchTxsRequest) Marshal

func (m *UnsignedBatchTxsRequest) Marshal() (dAtA []byte, err error)

func (*UnsignedBatchTxsRequest) MarshalTo

func (m *UnsignedBatchTxsRequest) MarshalTo(dAtA []byte) (int, error)

func (*UnsignedBatchTxsRequest) MarshalToSizedBuffer

func (m *UnsignedBatchTxsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*UnsignedBatchTxsRequest) ProtoMessage

func (*UnsignedBatchTxsRequest) ProtoMessage()

func (*UnsignedBatchTxsRequest) Reset

func (m *UnsignedBatchTxsRequest) Reset()

func (*UnsignedBatchTxsRequest) Size

func (m *UnsignedBatchTxsRequest) Size() (n int)

func (*UnsignedBatchTxsRequest) String

func (m *UnsignedBatchTxsRequest) String() string

func (*UnsignedBatchTxsRequest) Unmarshal

func (m *UnsignedBatchTxsRequest) Unmarshal(dAtA []byte) error

func (*UnsignedBatchTxsRequest) XXX_DiscardUnknown

func (m *UnsignedBatchTxsRequest) XXX_DiscardUnknown()

func (*UnsignedBatchTxsRequest) XXX_Marshal

func (m *UnsignedBatchTxsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*UnsignedBatchTxsRequest) XXX_Merge

func (m *UnsignedBatchTxsRequest) XXX_Merge(src proto.Message)

func (*UnsignedBatchTxsRequest) XXX_MessageName

func (*UnsignedBatchTxsRequest) XXX_MessageName() string

func (*UnsignedBatchTxsRequest) XXX_Size

func (m *UnsignedBatchTxsRequest) XXX_Size() int

func (*UnsignedBatchTxsRequest) XXX_Unmarshal

func (m *UnsignedBatchTxsRequest) XXX_Unmarshal(b []byte) error

type UnsignedBatchTxsResponse

type UnsignedBatchTxsResponse struct {
	// Note these are returned with the signature empty
	Batches []*BatchTx `protobuf:"bytes,1,rep,name=batches,proto3" json:"batches,omitempty"`
}

func (*UnsignedBatchTxsResponse) Descriptor

func (*UnsignedBatchTxsResponse) Descriptor() ([]byte, []int)

func (*UnsignedBatchTxsResponse) GetBatches

func (m *UnsignedBatchTxsResponse) GetBatches() []*BatchTx

func (*UnsignedBatchTxsResponse) Marshal

func (m *UnsignedBatchTxsResponse) Marshal() (dAtA []byte, err error)

func (*UnsignedBatchTxsResponse) MarshalTo

func (m *UnsignedBatchTxsResponse) MarshalTo(dAtA []byte) (int, error)

func (*UnsignedBatchTxsResponse) MarshalToSizedBuffer

func (m *UnsignedBatchTxsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*UnsignedBatchTxsResponse) ProtoMessage

func (*UnsignedBatchTxsResponse) ProtoMessage()

func (*UnsignedBatchTxsResponse) Reset

func (m *UnsignedBatchTxsResponse) Reset()

func (*UnsignedBatchTxsResponse) Size

func (m *UnsignedBatchTxsResponse) Size() (n int)

func (*UnsignedBatchTxsResponse) String

func (m *UnsignedBatchTxsResponse) String() string

func (*UnsignedBatchTxsResponse) Unmarshal

func (m *UnsignedBatchTxsResponse) Unmarshal(dAtA []byte) error

func (*UnsignedBatchTxsResponse) XXX_DiscardUnknown

func (m *UnsignedBatchTxsResponse) XXX_DiscardUnknown()

func (*UnsignedBatchTxsResponse) XXX_Marshal

func (m *UnsignedBatchTxsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*UnsignedBatchTxsResponse) XXX_Merge

func (m *UnsignedBatchTxsResponse) XXX_Merge(src proto.Message)

func (*UnsignedBatchTxsResponse) XXX_MessageName

func (*UnsignedBatchTxsResponse) XXX_MessageName() string

func (*UnsignedBatchTxsResponse) XXX_Size

func (m *UnsignedBatchTxsResponse) XXX_Size() int

func (*UnsignedBatchTxsResponse) XXX_Unmarshal

func (m *UnsignedBatchTxsResponse) XXX_Unmarshal(b []byte) error

type UnsignedContractCallTxsRequest

type UnsignedContractCallTxsRequest struct {
	Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
}

rpc UnsignedContractCallTxs

func (*UnsignedContractCallTxsRequest) Descriptor

func (*UnsignedContractCallTxsRequest) Descriptor() ([]byte, []int)

func (*UnsignedContractCallTxsRequest) GetAddress

func (m *UnsignedContractCallTxsRequest) GetAddress() string

func (*UnsignedContractCallTxsRequest) Marshal

func (m *UnsignedContractCallTxsRequest) Marshal() (dAtA []byte, err error)

func (*UnsignedContractCallTxsRequest) MarshalTo

func (m *UnsignedContractCallTxsRequest) MarshalTo(dAtA []byte) (int, error)

func (*UnsignedContractCallTxsRequest) MarshalToSizedBuffer

func (m *UnsignedContractCallTxsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*UnsignedContractCallTxsRequest) ProtoMessage

func (*UnsignedContractCallTxsRequest) ProtoMessage()

func (*UnsignedContractCallTxsRequest) Reset

func (m *UnsignedContractCallTxsRequest) Reset()

func (*UnsignedContractCallTxsRequest) Size

func (m *UnsignedContractCallTxsRequest) Size() (n int)

func (*UnsignedContractCallTxsRequest) String

func (*UnsignedContractCallTxsRequest) Unmarshal

func (m *UnsignedContractCallTxsRequest) Unmarshal(dAtA []byte) error

func (*UnsignedContractCallTxsRequest) XXX_DiscardUnknown

func (m *UnsignedContractCallTxsRequest) XXX_DiscardUnknown()

func (*UnsignedContractCallTxsRequest) XXX_Marshal

func (m *UnsignedContractCallTxsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*UnsignedContractCallTxsRequest) XXX_Merge

func (m *UnsignedContractCallTxsRequest) XXX_Merge(src proto.Message)

func (*UnsignedContractCallTxsRequest) XXX_MessageName

func (*UnsignedContractCallTxsRequest) XXX_MessageName() string

func (*UnsignedContractCallTxsRequest) XXX_Size

func (m *UnsignedContractCallTxsRequest) XXX_Size() int

func (*UnsignedContractCallTxsRequest) XXX_Unmarshal

func (m *UnsignedContractCallTxsRequest) XXX_Unmarshal(b []byte) error

type UnsignedContractCallTxsResponse

type UnsignedContractCallTxsResponse struct {
	Calls []*ContractCallTx `protobuf:"bytes,1,rep,name=calls,proto3" json:"calls,omitempty"`
}

func (*UnsignedContractCallTxsResponse) Descriptor

func (*UnsignedContractCallTxsResponse) Descriptor() ([]byte, []int)

func (*UnsignedContractCallTxsResponse) GetCalls

func (*UnsignedContractCallTxsResponse) Marshal

func (m *UnsignedContractCallTxsResponse) Marshal() (dAtA []byte, err error)

func (*UnsignedContractCallTxsResponse) MarshalTo

func (m *UnsignedContractCallTxsResponse) MarshalTo(dAtA []byte) (int, error)

func (*UnsignedContractCallTxsResponse) MarshalToSizedBuffer

func (m *UnsignedContractCallTxsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*UnsignedContractCallTxsResponse) ProtoMessage

func (*UnsignedContractCallTxsResponse) ProtoMessage()

func (*UnsignedContractCallTxsResponse) Reset

func (*UnsignedContractCallTxsResponse) Size

func (m *UnsignedContractCallTxsResponse) Size() (n int)

func (*UnsignedContractCallTxsResponse) String

func (*UnsignedContractCallTxsResponse) Unmarshal

func (m *UnsignedContractCallTxsResponse) Unmarshal(dAtA []byte) error

func (*UnsignedContractCallTxsResponse) XXX_DiscardUnknown

func (m *UnsignedContractCallTxsResponse) XXX_DiscardUnknown()

func (*UnsignedContractCallTxsResponse) XXX_Marshal

func (m *UnsignedContractCallTxsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*UnsignedContractCallTxsResponse) XXX_Merge

func (m *UnsignedContractCallTxsResponse) XXX_Merge(src proto.Message)

func (*UnsignedContractCallTxsResponse) XXX_MessageName

func (*UnsignedContractCallTxsResponse) XXX_MessageName() string

func (*UnsignedContractCallTxsResponse) XXX_Size

func (m *UnsignedContractCallTxsResponse) XXX_Size() int

func (*UnsignedContractCallTxsResponse) XXX_Unmarshal

func (m *UnsignedContractCallTxsResponse) XXX_Unmarshal(b []byte) error

type UnsignedSignerSetTxsRequest

type UnsignedSignerSetTxsRequest struct {
	// NOTE: this is an sdk.AccAddress and can represent either the
	// orchestrator address or the corresponding validator address
	Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
}

rpc UnsignedSignerSetTxs

func (*UnsignedSignerSetTxsRequest) Descriptor

func (*UnsignedSignerSetTxsRequest) Descriptor() ([]byte, []int)

func (*UnsignedSignerSetTxsRequest) GetAddress

func (m *UnsignedSignerSetTxsRequest) GetAddress() string

func (*UnsignedSignerSetTxsRequest) Marshal

func (m *UnsignedSignerSetTxsRequest) Marshal() (dAtA []byte, err error)

func (*UnsignedSignerSetTxsRequest) MarshalTo

func (m *UnsignedSignerSetTxsRequest) MarshalTo(dAtA []byte) (int, error)

func (*UnsignedSignerSetTxsRequest) MarshalToSizedBuffer

func (m *UnsignedSignerSetTxsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*UnsignedSignerSetTxsRequest) ProtoMessage

func (*UnsignedSignerSetTxsRequest) ProtoMessage()

func (*UnsignedSignerSetTxsRequest) Reset

func (m *UnsignedSignerSetTxsRequest) Reset()

func (*UnsignedSignerSetTxsRequest) Size

func (m *UnsignedSignerSetTxsRequest) Size() (n int)

func (*UnsignedSignerSetTxsRequest) String

func (m *UnsignedSignerSetTxsRequest) String() string

func (*UnsignedSignerSetTxsRequest) Unmarshal

func (m *UnsignedSignerSetTxsRequest) Unmarshal(dAtA []byte) error

func (*UnsignedSignerSetTxsRequest) XXX_DiscardUnknown

func (m *UnsignedSignerSetTxsRequest) XXX_DiscardUnknown()

func (*UnsignedSignerSetTxsRequest) XXX_Marshal

func (m *UnsignedSignerSetTxsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*UnsignedSignerSetTxsRequest) XXX_Merge

func (m *UnsignedSignerSetTxsRequest) XXX_Merge(src proto.Message)

func (*UnsignedSignerSetTxsRequest) XXX_MessageName

func (*UnsignedSignerSetTxsRequest) XXX_MessageName() string

func (*UnsignedSignerSetTxsRequest) XXX_Size

func (m *UnsignedSignerSetTxsRequest) XXX_Size() int

func (*UnsignedSignerSetTxsRequest) XXX_Unmarshal

func (m *UnsignedSignerSetTxsRequest) XXX_Unmarshal(b []byte) error

type UnsignedSignerSetTxsResponse

type UnsignedSignerSetTxsResponse struct {
	SignerSets []*SignerSetTx `protobuf:"bytes,1,rep,name=signer_sets,json=signerSets,proto3" json:"signer_sets,omitempty"`
}

func (*UnsignedSignerSetTxsResponse) Descriptor

func (*UnsignedSignerSetTxsResponse) Descriptor() ([]byte, []int)

func (*UnsignedSignerSetTxsResponse) GetSignerSets

func (m *UnsignedSignerSetTxsResponse) GetSignerSets() []*SignerSetTx

func (*UnsignedSignerSetTxsResponse) Marshal

func (m *UnsignedSignerSetTxsResponse) Marshal() (dAtA []byte, err error)

func (*UnsignedSignerSetTxsResponse) MarshalTo

func (m *UnsignedSignerSetTxsResponse) MarshalTo(dAtA []byte) (int, error)

func (*UnsignedSignerSetTxsResponse) MarshalToSizedBuffer

func (m *UnsignedSignerSetTxsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*UnsignedSignerSetTxsResponse) ProtoMessage

func (*UnsignedSignerSetTxsResponse) ProtoMessage()

func (*UnsignedSignerSetTxsResponse) Reset

func (m *UnsignedSignerSetTxsResponse) Reset()

func (*UnsignedSignerSetTxsResponse) Size

func (m *UnsignedSignerSetTxsResponse) Size() (n int)

func (*UnsignedSignerSetTxsResponse) String

func (*UnsignedSignerSetTxsResponse) Unmarshal

func (m *UnsignedSignerSetTxsResponse) Unmarshal(dAtA []byte) error

func (*UnsignedSignerSetTxsResponse) XXX_DiscardUnknown

func (m *UnsignedSignerSetTxsResponse) XXX_DiscardUnknown()

func (*UnsignedSignerSetTxsResponse) XXX_Marshal

func (m *UnsignedSignerSetTxsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*UnsignedSignerSetTxsResponse) XXX_Merge

func (m *UnsignedSignerSetTxsResponse) XXX_Merge(src proto.Message)

func (*UnsignedSignerSetTxsResponse) XXX_MessageName

func (*UnsignedSignerSetTxsResponse) XXX_MessageName() string

func (*UnsignedSignerSetTxsResponse) XXX_Size

func (m *UnsignedSignerSetTxsResponse) XXX_Size() int

func (*UnsignedSignerSetTxsResponse) XXX_Unmarshal

func (m *UnsignedSignerSetTxsResponse) XXX_Unmarshal(b []byte) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL