types

package
v1.13.4 Latest Latest
Warning

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

Go to latest
Published: Apr 25, 2024 License: Apache-2.0 Imports: 48 Imported by: 8

Documentation

Index

Constants

View Source
const (
	EventTypeObservation                 = "observation"
	EventTypeOutgoingBatch               = "outgoing_batch"
	EventTypeMultisigUpdateRequest       = "multisig_update_request"
	EventTypeOutgoingBatchCanceled       = "outgoing_batch_canceled"
	EventTypeBridgeWithdrawalReceived    = "withdrawal_received"
	EventTypeBridgeDepositReceived       = "deposit_received"
	EventTypeBridgeWithdrawCanceled      = "withdraw_canceled"
	EventTypeInvalidSendToPalomaReceiver = "invalid_send_to_paloma_receiver"

	AttributeKeyAttestationID          = "attestation_id"
	AttributeKeyBatchConfirmKey        = "batch_confirm_key"
	AttributeKeyMultisigID             = "multisig_id"
	AttributeKeyOutgoingBatchID        = "batch_id"
	AttributeKeyOutgoingTXID           = "outgoing_tx_id"
	AttributeKeyAttestationType        = "attestation_type"
	AttributeKeyContract               = "bridge_contract"
	AttributeKeyNonce                  = "nonce"
	AttributeKeyBatchNonce             = "batch_nonce"
	AttributeKeyBridgeChainID          = "bridge_chain_id"
	AttributeKeySetOperatorAddr        = "set_operator_address"
	AttributeKeyBadEthSignature        = "bad_eth_signature"
	AttributeKeyBadEthSignatureSubject = "bad_eth_signature_subject"

	AttributeKeySendToPalomaAmount = "msg_send_to_cosmsos_amount"
	AttributeKeySendToPalomaNonce  = "msg_send_to_cosmsos_nonce"
	AttributeKeySendToPalomaToken  = "msg_send_to_cosmsos_token"
	AttributeKeySendToPalomaSender = "msg_send_to_cosmsos_sender"

	AttributeKeyBatchSignatureSlashing = "batch_signature_slashing"
)
View Source
const (
	// ModuleName is the name of the module
	ModuleName = "gravity2"

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

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

	// QuerierRoute to be used for querierer msgs
	QuerierRoute = ModuleName
)
View Source
const (
	// todo: implement oracle constants as params
	DefaultParamspace = ModuleName
)

DefaultParamspace defines the default auth module parameter subspace

View Source
const (
	ProposalTypeSetERC20ToDenomProposal = "SetERC20ToDenomProposal"
)
View Source
const (
	TypeMsgBatchSendToEthClaim = "batch_send_to_eth_claim"
)
View Source
const (
	TypeMsgSendToPalomaClaim = "send_to_paloma_claim"
)
View Source
const (
	// ZeroAddress is an EthAddress containing the zero ethereum address
	ZeroAddressString = "0x0000000000000000000000000000000000000000"
)

Variables

View Source
var (
	ErrInvalidLengthAttestation        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowAttestation          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupAttestation = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthBatch        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowBatch          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupBatch = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthErc20ToDenomProposal        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowErc20ToDenomProposal          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupErc20ToDenomProposal = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInternal                 = sdkerrors.Register(ModuleName, 1, "internal")
	ErrDuplicate                = sdkerrors.Register(ModuleName, 2, "duplicate")
	ErrInvalid                  = sdkerrors.Register(ModuleName, 3, "invalid")
	ErrTimeout                  = sdkerrors.Register(ModuleName, 4, "timeout")
	ErrUnknown                  = sdkerrors.Register(ModuleName, 5, "unknown")
	ErrEmpty                    = sdkerrors.Register(ModuleName, 6, "empty")
	ErrOutdated                 = sdkerrors.Register(ModuleName, 7, "outdated")
	ErrUnsupported              = sdkerrors.Register(ModuleName, 8, "unsupported")
	ErrNonContiguousEventNonce  = sdkerrors.Register(ModuleName, 9, "non contiguous event nonce, expected: %v received: %v")
	ErrResetDelegateKeys        = sdkerrors.Register(ModuleName, 10, "can not set orchestrator addresses more than once")
	ErrMismatched               = sdkerrors.Register(ModuleName, 11, "mismatched")
	ErrInvalidEthAddress        = sdkerrors.Register(ModuleName, 14, "discovered invalid eth address stored for validator %v")
	ErrDuplicateEthereumKey     = sdkerrors.Register(ModuleName, 16, "duplicate ethereum key")
	ErrDuplicateOrchestratorKey = sdkerrors.Register(ModuleName, 17, "duplicate orchestrator key")
	ErrInvalidAttestation       = sdkerrors.Register(ModuleName, 18, "invalid attestation submitted")
	ErrInvalidClaim             = sdkerrors.Register(ModuleName, 19, "invalid claim submitted")
	ErrDenomNotFound            = sdkerrors.Register(ModuleName, 21, "denom not found")
	ErrERC20NotFound            = sdkerrors.Register(ModuleName, 22, "erc20 not found")
)
View Source
var (
	// AttestationVotesPowerThreshold threshold of votes power to succeed
	AttestationVotesPowerThreshold = math.NewInt(66)

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

	// ParamsStoreKeyBridgeContractAddress stores the ethereum address
	ParamsStoreKeyBridgeEthereumAddress = []byte("BridgeEthereumAddress")

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

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

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

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

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

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

	// ParamStoreSlashFractionBadEthSignature stores the amount by which a validator making a fraudulent eth signature will be slashed
	ParamStoreSlashFractionBadEthSignature = []byte("SlashFractionBadEthSignature")

	// ResetBridgeState boolean indicates the oracle events of the bridge history should be reset
	ParamStoreResetBridgeState = []byte("ResetBridgeState")

	// ResetBridgeHeight stores the nonce after which oracle events should be discarded when resetting the bridge
	ParamStoreResetBridgeNonce = []byte("ResetBridgeNonce")
)
View Source
var (
	ErrInvalidLengthGenesis        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowGenesis          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupGenesis = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	// EthAddressByValidatorKey indexes cosmos validator account addresses
	// i.e. paloma1ahx7f8wyertuus9r20284ej0asrs085c945jyk
	// [0x1248a4405201cc3a00ab515ce9c4dd47]
	EthAddressByValidatorKey = HashString("EthAddressValidatorKey")

	// ValidatorByEthAddressKey indexes ethereum addresses
	// i.e. 0xAb5801a7D398351b8bE11C439e05C5B3259aeC9B
	// [0xbfe41763f372108317ed982a4cd1b4a8]
	ValidatorByEthAddressKey = HashString("ValidatorByEthAddressKey")

	// LEGACYOracleClaimKey Claim details by nonce and validator address
	// Note: This is a LEGACY key, i.e. it is no longer in use!
	// ** DO NOT USE THIS OUTSIDE OF MIGRATION TESTING! **
	//
	// i.e. gravityvaloper1ahx7f8wyertuus9r20284ej0asrs085ceqtfnm
	// A claim is named more intuitively than an Attestation, it is literally
	// a validator making a claim to have seen something happen. Claims are
	// attached to attestations which can be thought of as 'the event' that
	// will eventually be executed.
	// [0x15968a4f1cb06e26ab155d6e59eccc85]
	LEGACYOracleClaimKey = HashString("OracleClaimKey")

	// OracleAttestationKey attestation details by nonce and validator address
	// i.e. gravityvaloper1ahx7f8wyertuus9r20284ej0asrs085ceqtfnm
	// An attestation can be thought of as the 'event to be executed' while
	// the Claims are an individual validator saying that they saw an event
	// occur the Attestation is 'the event' that multiple claims vote on and
	// eventually executes
	// [0x0bfa165ff4ef558b3d0b62ea4d4a46c5]
	OracleAttestationKey = HashString("OracleAttestationKey")

	// OutgoingTXPoolKey indexes the last nonce for the outgoing tx pool
	// [0x44f7816ec23d990ee39d9ed4609bbd4d]
	OutgoingTXPoolKey = HashString("OutgoingTXPoolKey")

	// OutgoingTXBatchKey indexes outgoing tx batches under a nonce and token address
	// [0x54e2db44755d8865b1ff4227402e204f]
	OutgoingTXBatchKey = HashString("OutgoingTXBatchKey")

	// BatchConfirmKey indexes validator confirmations by token contract address
	// [0x75b935a854d50880236724b9c4822daf]
	BatchConfirmKey = HashString("BatchConfirmKey")

	// LastEventNonceByValidatorKey indexes lateset event nonce by validator
	// [0xeefcb999cc3d7b80b052b55106a6ba5e]
	LastEventNonceByValidatorKey = HashString("LastEventNonceByValidatorKey")

	// LastObservedEventNonceKey indexes the latest event nonce
	// [0xa34e56ab6fab9ee91e82ba216bfeb759]
	LastObservedEventNonceKey = HashString("LastObservedEventNonceKey")

	// LEGACYSequenceKeyPrefix indexes different txids
	// Note: This is a LEGACY key, i.e. it is no longer in use!
	// ** DO NOT USE THIS OUTSIDE OF MIGRATION TESTING! **
	//
	// [0x33887862fa4fba9c592d6fb84d8dd755]
	LEGACYSequenceKeyPrefix = HashString("SequenceKeyPrefix")

	// KeyLastTXPoolID indexes the lastTxPoolID
	// [0xfd87a616141bfbd26fd2938d6e1cf099]
	KeyLastTXPoolID = HashString("SequenceKeyPrefix" + "lastTxPoolId")

	// KeyLastOutgoingBatchID indexes the lastBatchID
	// [0x4f9c42e30316353cb1e0ed74200abbbb]
	KeyLastOutgoingBatchID = HashString("SequenceKeyPrefix" + "lastBatchId")

	// KeyOrchestratorAddress indexes the validator keys for an orchestrator
	// [0x391e8708521fb085676169e8fb232cda]
	KeyOrchestratorAddress = HashString("KeyOrchestratorAddress")

	// LastObservedEthereumBlockHeightKey indexes the latest Ethereum block height
	// [0x83a283a6c3390f1526250df45e9ef8c6]
	LastObservedEthereumBlockHeightKey = HashString("LastObservedEthereumBlockHeightKey")

	// DenomToERC20Key prefixes the index of Cosmos originated asset denoms to ERC20s
	// [0x19fb4f512868744eea13f3eac3672c12]
	DenomToERC20Key = HashString("DenomToERC20Key")

	// ERC20ToDenomKey prefixes the index of Cosmos originated assets ERC20s to denoms
	// [0x877b20a916c830ad4db23d22f7b2cde0]
	ERC20ToDenomKey = HashString("ERC20ToDenomKey")

	// LastSlashedBatchBlock indexes the latest slashed batch block height
	// [0xcbaedf5dd1e068d9e2223281f693358c]
	LastSlashedBatchBlock = HashString("LastSlashedBatchBlock")

	// LastUnBondingBlockHeight indexes the last validator unbonding block height
	// [0x06a6b30651341e80276e0d2e19449250]
	LastUnBondingBlockHeight = HashString("LastUnBondingBlockHeight")

	// PastEthSignatureCheckpointKey indexes eth signature checkpoints that have existed
	// [0x1cbe0be407a979331b98e599eeedd09f]
	PastEthSignatureCheckpointKey = HashString("PastEthSignatureCheckpointKey")
	ParamsKey                     = []byte{0x01}
)
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 (
	ErrInvalidLengthParams        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowParams          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupParams = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthPool        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowPool          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupPool = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthQuery        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowQuery          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupQuery = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthTypes        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowTypes          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupTypes = fmt.Errorf("proto: unexpected end of group")
)
View Source
var ClaimType_name = map[int32]string{
	0: "CLAIM_TYPE_UNSPECIFIED",
	1: "CLAIM_TYPE_SEND_TO_PALOMA",
	2: "CLAIM_TYPE_BATCH_SEND_TO_ETH",
}
View Source
var ClaimType_value = map[string]int32{
	"CLAIM_TYPE_UNSPECIFIED":       0,
	"CLAIM_TYPE_SEND_TO_PALOMA":    1,
	"CLAIM_TYPE_BATCH_SEND_TO_ETH": 2,
}
View Source
var ModuleCdc = codec.NewLegacyAmino()

ModuleCdc is the codec for the module

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

Functions

func AppendBytes added in v1.8.0

func AppendBytes(args ...[]byte) []byte

func ClaimTypeToTypeUrl added in v1.8.0

func ClaimTypeToTypeUrl(claimType ClaimType) string

ClaimTypeToTypeUrl takes a type of EthereumClaim and returns the associated protobuf Msg TypeUrl nolint: exhaustruct

func ClaimValidateBasic added in v1.8.0

func ClaimValidateBasic(cdc codec.BinaryCodec, claim *codectypes.Any) error

func EthAddrLessThan added in v1.8.0

func EthAddrLessThan(e EthAddress, o EthAddress) bool

EthAddrLessThan migrates the Ethereum address less than function

func GetAttestationKey added in v1.8.0

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

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

func GetBatchConfirmKey added in v1.8.0

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

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

func GetBatchConfirmNonceContractPrefix added in v1.8.0

func GetBatchConfirmNonceContractPrefix(tokenContract EthAddress, batchNonce uint64) []byte

GetBatchConfirmNonceContractPrefix returns prefix eth-contract-address BatchNonce [0x0][0xc783df8a850f42e7F7e57013759C285caa701eB6][0 0 0 0 0 0 0 1]

func GetDenomToERC20Key added in v1.8.0

func GetDenomToERC20Key(chainReferenceId, denom string) []byte

func GetERC20ToDenomKey added in v1.8.0

func GetERC20ToDenomKey(chainReferenceId string, erc20 EthAddress) []byte

func GetEthAddressByValidatorKey added in v1.8.0

func GetEthAddressByValidatorKey(validator sdk.ValAddress) ([]byte, error)

GetEthAddressByValidatorKey returns the following key format prefix cosmos-validator [0x0][gravityvaloper1ahx7f8wyertuus9r20284ej0asrs085ceqtfnm]

func GetLastEventNonceByValidatorKey added in v1.8.0

func GetLastEventNonceByValidatorKey(validator sdk.ValAddress) ([]byte, error)

GetLastEventNonceByValidatorKey indexes latest event nonce by validator GetLastEventNonceByValidatorKey returns the following key format prefix cosmos-validator [0x0][paloma1ahx7f8wyertuus9r20284ej0asrs085c945jyk]

func GetOrchestratorAddressKey added in v1.8.0

func GetOrchestratorAddressKey(orc sdk.AccAddress) ([]byte, error)

GetOrchestratorAddressKey returns the following key format prefix orchestrator address [0x0][paloma1ahx7f8wyertuus9r20284ej0asrs085c945jyk]

func GetOutgoingTxBatchContractPrefix added in v1.8.0

func GetOutgoingTxBatchContractPrefix(tokenContract EthAddress) []byte

GetOutgoingTxBatchContractPrefix returns the following format prefix eth-contract-address [0x0][0xc783df8a850f42e7F7e57013759C285caa701eB6]

func GetOutgoingTxBatchKey added in v1.8.0

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

GetOutgoingTxBatchKey returns the following key format prefix eth-contract-address nonce [0x0][0xc783df8a850f42e7F7e57013759C285caa701eB6][0 0 0 0 0 0 0 1]

func GetOutgoingTxPoolContractPrefix added in v1.8.0

func GetOutgoingTxPoolContractPrefix(contractAddress EthAddress) []byte

GetOutgoingTxPoolContractPrefix returns [0x0][0xc783df8a850f42e7F7e57013759C285caa701eB6] This prefix is used for iterating over unbatched transactions for a given contract

func GetOutgoingTxPoolKey added in v1.8.0

func GetOutgoingTxPoolKey(token InternalERC20Token, id uint64) []byte

GetOutgoingTxPoolKey returns the following key format prefix token amount id [0x0][0xc783df8a850f42e7F7e57013759C285caa701eB6][1000000000][0 0 0 0 0 0 0 1]

func GetPastEthSignatureCheckpointKey added in v1.8.0

func GetPastEthSignatureCheckpointKey(checkpoint []byte) []byte

GetPastEthSignatureCheckpointKey returns the following key format prefix checkpoint [0x0][ checkpoint bytes ]

func GetValidatorByEthAddressKey added in v1.8.0

func GetValidatorByEthAddressKey(ethAddress EthAddress) []byte

GetValidatorByEthAddressKey returns the following key format prefix cosmos-validator [0x0][0xAb5801a7D398351b8bE11C439e05C5B3259aeC9B]

func HashString added in v1.8.0

func HashString(input string) []byte

Hashing string using cryptographic MD5 function returns 128bit(16byte) value

func IBCAddressFromBech32 added in v1.8.0

func IBCAddressFromBech32(bech32str string) ([]byte, error)

IBCAddressFromBech32 decodes an IBC-compatible Address from a Bech32 encoded string

func NewEthereumSignature

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

NewEthereumSignature creates a new signature over a given byte array

func NonemptyEthAddress added in v1.8.0

func NonemptyEthAddress() (ret string)

Creates a random nonempty 20 byte address hex string test value

func NonemptySdkAccAddress added in v1.8.0

func NonemptySdkAccAddress() (ret sdk.AccAddress)

Creates a random nonempty 20 byte sdk.AccAddress string test value

func NonzeroSdkInt added in v1.8.0

func NonzeroSdkInt() (ret math.Int)

Creates a random nonzero sdk.Int test value

func NonzeroUint64 added in v1.8.0

func NonzeroUint64() (ret uint64)

Creates a random nonzero uint64 test value

func ParamKeyTable

func ParamKeyTable() paramtypes.KeyTable

ParamKeyTable for auth module

func RegisterCodec added in v1.8.0

func RegisterCodec(cdc *codec.LegacyAmino)

RegisterCodec registers concrete types on the Amino codec nolint: exhaustruct

func RegisterInterfaces

func RegisterInterfaces(registry types.InterfaceRegistry)

RegisterInterfaces registers the interfaces for the proto stuff nolint: exhaustruct

func RegisterMsgServer

func RegisterMsgServer(s grpc1.Server, srv MsgServer)

func RegisterQueryServer

func RegisterQueryServer(s grpc1.Server, srv QueryServer)

func UInt64Bytes added in v1.8.0

func UInt64Bytes(n uint64) []byte

UInt64Bytes uses the SDK byte marshaling to encode a uint64

func UInt64FromBytes added in v1.8.0

func UInt64FromBytes(s []byte) (uint64, error)

UInt64FromBytes create uint from binary big endian representation

func UInt64FromString added in v1.8.0

func UInt64FromString(s string) (uint64, error)

UInt64FromString to parse out a uint64 for a nonce

func ValidateEthAddress added in v1.8.0

func ValidateEthAddress(address string) error

Validates the input string as an Ethereum Address Addresses must not be empty, have 42 character length, start with 0x and have 40 remaining characters in [0-9a-fA-F]

func ValidateEthereumSignature

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

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

Types

type AccountKeeper

type AccountKeeper interface {
	GetSequence(ctx context.Context, addr sdk.AccAddress) (uint64, error)
	NewAccountWithAddress(ctx context.Context, addr sdk.AccAddress) sdk.AccountI
	GetModuleAddress(moduleName string) sdk.AccAddress
	GetModuleAccount(ctx context.Context, moduleName string) sdk.ModuleAccountI
	GetAccount(ctx context.Context, addr sdk.AccAddress) sdk.AccountI
}

AccountKeeper defines the interface contract required for account functionality.

type Attestation added in v1.8.0

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

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

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

func (*Attestation) Descriptor added in v1.8.0

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

func (*Attestation) GetClaim added in v1.8.0

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

func (*Attestation) GetHeight added in v1.8.0

func (m *Attestation) GetHeight() uint64

func (*Attestation) GetObserved added in v1.8.0

func (m *Attestation) GetObserved() bool

func (*Attestation) GetVotes added in v1.8.0

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

func (*Attestation) Marshal added in v1.8.0

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

func (*Attestation) MarshalTo added in v1.8.0

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

func (*Attestation) MarshalToSizedBuffer added in v1.8.0

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

func (*Attestation) ProtoMessage added in v1.8.0

func (*Attestation) ProtoMessage()

func (*Attestation) Reset added in v1.8.0

func (m *Attestation) Reset()

func (*Attestation) Size added in v1.8.0

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

func (*Attestation) String added in v1.8.0

func (m *Attestation) String() string

func (*Attestation) Unmarshal added in v1.8.0

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

func (Attestation) ValidateBasic added in v1.8.0

func (m Attestation) ValidateBasic(cdc codec.BinaryCodec) error

func (*Attestation) XXX_DiscardUnknown added in v1.8.0

func (m *Attestation) XXX_DiscardUnknown()

func (*Attestation) XXX_Marshal added in v1.8.0

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

func (*Attestation) XXX_Merge added in v1.8.0

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

func (*Attestation) XXX_Size added in v1.8.0

func (m *Attestation) XXX_Size() int

func (*Attestation) XXX_Unmarshal added in v1.8.0

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

type BankKeeper

type BankKeeper interface {
	GetSupply(ctx context.Context, denom string) sdk.Coin
	SendCoinsFromModuleToAccount(ctx context.Context, senderModule string, recipientAddr sdk.AccAddress, amt sdk.Coins) error
	SendCoinsFromAccountToModule(ctx context.Context, senderAddr sdk.AccAddress, recipientModule string, amt sdk.Coins) error
	SendCoinsFromModuleToModule(ctx context.Context, senderModule string, recipientModule string, amt sdk.Coins) error
	MintCoins(ctx context.Context, name string, amt sdk.Coins) error
	BurnCoins(ctx context.Context, name string, amt sdk.Coins) error
	GetAllBalances(ctx context.Context, addr sdk.AccAddress) sdk.Coins
	GetDenomMetaData(ctx context.Context, denom string) (bank.Metadata, bool)
	SetDenomMetaData(ctx context.Context, denomMetaData bank.Metadata)
	GetBalance(ctx context.Context, addr sdk.AccAddress, denom string) sdk.Coin
	IsSendEnabledCoins(ctx context.Context, coins ...sdk.Coin) error
	SendCoins(ctx context.Context, from, to sdk.AccAddress, amt sdk.Coins) error
}

BankKeeper defines the expected bank keeper methods

type BridgeValidator added in v1.8.0

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

BridgeValidator represents a validator's ETH address and its power

func (*BridgeValidator) Descriptor added in v1.8.0

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

func (*BridgeValidator) GetEthereumAddress added in v1.8.0

func (m *BridgeValidator) GetEthereumAddress() string

func (*BridgeValidator) GetPower added in v1.8.0

func (m *BridgeValidator) GetPower() uint64

func (*BridgeValidator) Marshal added in v1.8.0

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

func (*BridgeValidator) MarshalTo added in v1.8.0

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

func (*BridgeValidator) MarshalToSizedBuffer added in v1.8.0

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

func (*BridgeValidator) ProtoMessage added in v1.8.0

func (*BridgeValidator) ProtoMessage()

func (*BridgeValidator) Reset added in v1.8.0

func (m *BridgeValidator) Reset()

func (*BridgeValidator) Size added in v1.8.0

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

func (*BridgeValidator) String added in v1.8.0

func (m *BridgeValidator) String() string

func (BridgeValidator) ToInternal added in v1.8.0

func (b BridgeValidator) ToInternal() (*InternalBridgeValidator, error)

ToInternal transforms a BridgeValidator into its fully validated internal type

func (*BridgeValidator) Unmarshal added in v1.8.0

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

func (*BridgeValidator) XXX_DiscardUnknown added in v1.8.0

func (m *BridgeValidator) XXX_DiscardUnknown()

func (*BridgeValidator) XXX_Marshal added in v1.8.0

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

func (*BridgeValidator) XXX_Merge added in v1.8.0

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

func (*BridgeValidator) XXX_Size added in v1.8.0

func (m *BridgeValidator) XXX_Size() int

func (*BridgeValidator) XXX_Unmarshal added in v1.8.0

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

type BridgeValidators added in v1.8.0

type BridgeValidators []BridgeValidator

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

func (BridgeValidators) Equal added in v1.8.0

Equal checks that slice contents and order are equal

func (BridgeValidators) ToInternal added in v1.8.0

func (b BridgeValidators) ToInternal() (*InternalBridgeValidators, error)

type ClaimType added in v1.8.0

type ClaimType int32

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

const (
	// An unspecified claim type
	CLAIM_TYPE_UNSPECIFIED ClaimType = 0
	// A claim for a SendToPaloma transaction
	CLAIM_TYPE_SEND_TO_PALOMA ClaimType = 1
	// A claim for when batches are relayed
	CLAIM_TYPE_BATCH_SEND_TO_ETH ClaimType = 2
)

func (ClaimType) EnumDescriptor added in v1.8.0

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

func (ClaimType) String added in v1.8.0

func (x ClaimType) String() string

type DistributionKeeper

type DistributionKeeper interface {
	FundCommunityPool(ctx context.Context, amount sdk.Coins, sender sdk.AccAddress) 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"`
	ChainReferenceId string `protobuf:"bytes,3,opt,name=chain_reference_id,json=chainReferenceId,proto3" json:"chain_reference_id,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) GetChainReferenceId added in v1.8.0

func (m *ERC20ToDenom) GetChainReferenceId() string

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) ValidateBasic added in v1.8.0

func (m ERC20ToDenom) ValidateBasic() error

func (*ERC20ToDenom) XXX_DiscardUnknown

func (m *ERC20ToDenom) XXX_DiscardUnknown()

func (*ERC20ToDenom) XXX_Marshal

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

func (*ERC20ToDenom) XXX_Merge

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

func (*ERC20ToDenom) XXX_Size

func (m *ERC20ToDenom) XXX_Size() int

func (*ERC20ToDenom) XXX_Unmarshal

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

type ERC20Token

type ERC20Token struct {
	Contract         string                `protobuf:"bytes,1,opt,name=contract,proto3" json:"contract,omitempty"`
	Amount           cosmossdk_io_math.Int `protobuf:"bytes,2,opt,name=amount,proto3,customtype=cosmossdk.io/math.Int" json:"amount"`
	ChainReferenceId string                `protobuf:"bytes,3,opt,name=chain_reference_id,json=chainReferenceId,proto3" json:"chain_reference_id,omitempty"`
}

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

func NewERC20Token

func NewERC20Token(amount uint64, contract string, chainReferenceId string) ERC20Token

NewERC20Token returns a new instance of an ERC20

func NewSDKIntERC20Token

func NewSDKIntERC20Token(amount math.Int, contract string, chainReferenceId string) ERC20Token

NewSDKIntERC20Token returns a new instance of an ERC20, accepting a sdk.Int

func (*ERC20Token) Descriptor

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

func (*ERC20Token) GetChainReferenceId added in v1.8.0

func (m *ERC20Token) GetChainReferenceId() string

func (*ERC20Token) GetContract

func (m *ERC20Token) GetContract() string

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) ToInternal added in v1.8.0

func (e ERC20Token) ToInternal() (*InternalERC20Token, error)

ToInternal converts an ERC20Token to the internal type InternalERC20Token

func (*ERC20Token) Unmarshal

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

func (*ERC20Token) ValidateBasic added in v1.8.0

func (e *ERC20Token) ValidateBasic() error

ValidateBasic performs stateless validation

func (*ERC20Token) XXX_DiscardUnknown

func (m *ERC20Token) XXX_DiscardUnknown()

func (*ERC20Token) XXX_Marshal

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

func (*ERC20Token) XXX_Merge

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

func (*ERC20Token) XXX_Size

func (m *ERC20Token) XXX_Size() int

func (*ERC20Token) XXX_Unmarshal

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

type EVMKeeper added in v1.8.0

type EVMKeeper interface {
	GetChainInfo(ctx context.Context, targetChainReferenceID string) (*evmtypes.ChainInfo, error)
	PickValidatorForMessage(ctx context.Context, chainReferenceID string, requirements *xchain.JobRequirements) (string, error)
	GetEthAddressByValidator(ctx context.Context, validator sdk.ValAddress, chainReferenceId string) (ethAddress *EthAddress, found bool, err error)
	GetValidatorAddressByEthAddress(ctx context.Context, ethAddr EthAddress, chainReferenceId string) (valAddr sdk.ValAddress, found bool, err error)
}

type EthAddress added in v1.8.0

type EthAddress struct {
	// contains filtered or unexported fields
}

Regular EthAddress

func EthAddressFromSignature added in v1.8.0

func EthAddressFromSignature(hash []byte, signature []byte) (*EthAddress, error)

func NewEthAddress added in v1.8.0

func NewEthAddress(address string) (*EthAddress, error)

Creates a new EthAddress from a string, performing validation and returning any validation errors

func NewEthAddressFromBytes added in v1.8.0

func NewEthAddressFromBytes(address []byte) (*EthAddress, error)

func ZeroAddress added in v1.8.0

func ZeroAddress() EthAddress

Returns a new EthAddress with 0x0000000000000000000000000000000000000000 as the wrapped address

func (EthAddress) GetAddress added in v1.8.0

func (ea EthAddress) GetAddress() gethcommon.Address

Returns the contained address as a string

func (*EthAddress) SetAddress added in v1.8.0

func (ea *EthAddress) SetAddress(address string) error

Sets the contained address, performing validation before updating the value

func (EthAddress) ValidateBasic added in v1.8.0

func (ea EthAddress) ValidateBasic() error

Performs validation on the wrapped string

type EthereumClaim added in v1.8.0

type EthereumClaim interface {
	// All Ethereum claims that we relay from the Gravity contract and into the module
	// have a nonce that is strictly increasing and unique, since this nonce is
	// issued by the Ethereum contract it is immutable and must be agreed on by all validators
	// any disagreement on what claim goes to what nonce means someone is lying.
	GetEventNonce() uint64
	// The block height that the claimed event occurred on. This EventNonce provides sufficient
	// ordering for the execution of all claims. The block height is used only for batchTimeouts
	// when we go to create a new batch we set the timeout some number of batches out from the last
	// known height plus projected block progress since then.
	GetEthBlockHeight() uint64
	// the delegate address of the claimer, for MsgDepositClaim and MsgWithdrawClaim
	// this is sent in as the sdk.AccAddress of the delegated key. it is up to the user
	// to disambiguate this into a sdk.ValAddress
	GetClaimer() sdk.AccAddress
	// Which type of claim this is
	GetType() ClaimType
	ValidateBasic() error
	// The claim hash of this claim. This is used to store these claims and also used to check if two different
	// validators claims agree. Therefore it's extremely important that this include all elements of the claim
	// with the exception of the orchestrator who sent it in, which will be used as a different part of the index
	ClaimHash() ([]byte, error)
	// Sets the orchestrator value on the claim
	SetOrchestrator(sdk.AccAddress)
}

EthereumClaim represents a claim on ethereum state

type EthereumSigned added in v1.8.0

type EthereumSigned interface {
	GetCheckpoint(turnstoneID string) ([]byte, error)
	GetChainReferenceID() string
}

This interface is implemented by all the types that are used to create transactions on Ethereum that are signed by validators. The naming here could be improved.

type EventBadSignatureEvidence added in v1.8.0

type EventBadSignatureEvidence struct {
	Message                string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
	BadEthSignature        string `protobuf:"bytes,2,opt,name=bad_eth_signature,json=badEthSignature,proto3" json:"bad_eth_signature,omitempty"`
	BadEthSignatureSubject string `` /* 131-byte string literal not displayed */
}

func (*EventBadSignatureEvidence) Descriptor added in v1.8.0

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

func (*EventBadSignatureEvidence) GetBadEthSignature added in v1.8.0

func (m *EventBadSignatureEvidence) GetBadEthSignature() string

func (*EventBadSignatureEvidence) GetBadEthSignatureSubject added in v1.8.0

func (m *EventBadSignatureEvidence) GetBadEthSignatureSubject() string

func (*EventBadSignatureEvidence) GetMessage added in v1.8.0

func (m *EventBadSignatureEvidence) GetMessage() string

func (*EventBadSignatureEvidence) Marshal added in v1.8.0

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

func (*EventBadSignatureEvidence) MarshalTo added in v1.8.0

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

func (*EventBadSignatureEvidence) MarshalToSizedBuffer added in v1.8.0

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

func (*EventBadSignatureEvidence) ProtoMessage added in v1.8.0

func (*EventBadSignatureEvidence) ProtoMessage()

func (*EventBadSignatureEvidence) Reset added in v1.8.0

func (m *EventBadSignatureEvidence) Reset()

func (*EventBadSignatureEvidence) Size added in v1.8.0

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

func (*EventBadSignatureEvidence) String added in v1.8.0

func (m *EventBadSignatureEvidence) String() string

func (*EventBadSignatureEvidence) Unmarshal added in v1.8.0

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

func (*EventBadSignatureEvidence) XXX_DiscardUnknown added in v1.8.0

func (m *EventBadSignatureEvidence) XXX_DiscardUnknown()

func (*EventBadSignatureEvidence) XXX_Marshal added in v1.8.0

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

func (*EventBadSignatureEvidence) XXX_Merge added in v1.8.0

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

func (*EventBadSignatureEvidence) XXX_Size added in v1.8.0

func (m *EventBadSignatureEvidence) XXX_Size() int

func (*EventBadSignatureEvidence) XXX_Unmarshal added in v1.8.0

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

type EventBatchConfirmKey added in v1.8.0

type EventBatchConfirmKey struct {
	Message         string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
	BatchConfirmKey string `protobuf:"bytes,2,opt,name=batch_confirm_key,json=batchConfirmKey,proto3" json:"batch_confirm_key,omitempty"`
}

func (*EventBatchConfirmKey) Descriptor added in v1.8.0

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

func (*EventBatchConfirmKey) GetBatchConfirmKey added in v1.8.0

func (m *EventBatchConfirmKey) GetBatchConfirmKey() string

func (*EventBatchConfirmKey) GetMessage added in v1.8.0

func (m *EventBatchConfirmKey) GetMessage() string

func (*EventBatchConfirmKey) Marshal added in v1.8.0

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

func (*EventBatchConfirmKey) MarshalTo added in v1.8.0

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

func (*EventBatchConfirmKey) MarshalToSizedBuffer added in v1.8.0

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

func (*EventBatchConfirmKey) ProtoMessage added in v1.8.0

func (*EventBatchConfirmKey) ProtoMessage()

func (*EventBatchConfirmKey) Reset added in v1.8.0

func (m *EventBatchConfirmKey) Reset()

func (*EventBatchConfirmKey) Size added in v1.8.0

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

func (*EventBatchConfirmKey) String added in v1.8.0

func (m *EventBatchConfirmKey) String() string

func (*EventBatchConfirmKey) Unmarshal added in v1.8.0

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

func (*EventBatchConfirmKey) XXX_DiscardUnknown added in v1.8.0

func (m *EventBatchConfirmKey) XXX_DiscardUnknown()

func (*EventBatchConfirmKey) XXX_Marshal added in v1.8.0

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

func (*EventBatchConfirmKey) XXX_Merge added in v1.8.0

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

func (*EventBatchConfirmKey) XXX_Size added in v1.8.0

func (m *EventBatchConfirmKey) XXX_Size() int

func (*EventBatchConfirmKey) XXX_Unmarshal added in v1.8.0

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

type EventBatchCreated added in v1.8.0

type EventBatchCreated struct {
	Message    string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
	BatchNonce string `protobuf:"bytes,2,opt,name=batch_nonce,json=batchNonce,proto3" json:"batch_nonce,omitempty"`
}

func (*EventBatchCreated) Descriptor added in v1.8.0

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

func (*EventBatchCreated) GetBatchNonce added in v1.8.0

func (m *EventBatchCreated) GetBatchNonce() string

func (*EventBatchCreated) GetMessage added in v1.8.0

func (m *EventBatchCreated) GetMessage() string

func (*EventBatchCreated) Marshal added in v1.8.0

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

func (*EventBatchCreated) MarshalTo added in v1.8.0

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

func (*EventBatchCreated) MarshalToSizedBuffer added in v1.8.0

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

func (*EventBatchCreated) ProtoMessage added in v1.8.0

func (*EventBatchCreated) ProtoMessage()

func (*EventBatchCreated) Reset added in v1.8.0

func (m *EventBatchCreated) Reset()

func (*EventBatchCreated) Size added in v1.8.0

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

func (*EventBatchCreated) String added in v1.8.0

func (m *EventBatchCreated) String() string

func (*EventBatchCreated) Unmarshal added in v1.8.0

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

func (*EventBatchCreated) XXX_DiscardUnknown added in v1.8.0

func (m *EventBatchCreated) XXX_DiscardUnknown()

func (*EventBatchCreated) XXX_Marshal added in v1.8.0

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

func (*EventBatchCreated) XXX_Merge added in v1.8.0

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

func (*EventBatchCreated) XXX_Size added in v1.8.0

func (m *EventBatchCreated) XXX_Size() int

func (*EventBatchCreated) XXX_Unmarshal added in v1.8.0

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

type EventBatchSendToEthClaim added in v1.8.0

type EventBatchSendToEthClaim struct {
	Nonce string `protobuf:"bytes,1,opt,name=nonce,proto3" json:"nonce,omitempty"`
}

func (*EventBatchSendToEthClaim) Descriptor added in v1.8.0

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

func (*EventBatchSendToEthClaim) GetNonce added in v1.8.0

func (m *EventBatchSendToEthClaim) GetNonce() string

func (*EventBatchSendToEthClaim) Marshal added in v1.8.0

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

func (*EventBatchSendToEthClaim) MarshalTo added in v1.8.0

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

func (*EventBatchSendToEthClaim) MarshalToSizedBuffer added in v1.8.0

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

func (*EventBatchSendToEthClaim) ProtoMessage added in v1.8.0

func (*EventBatchSendToEthClaim) ProtoMessage()

func (*EventBatchSendToEthClaim) Reset added in v1.8.0

func (m *EventBatchSendToEthClaim) Reset()

func (*EventBatchSendToEthClaim) Size added in v1.8.0

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

func (*EventBatchSendToEthClaim) String added in v1.8.0

func (m *EventBatchSendToEthClaim) String() string

func (*EventBatchSendToEthClaim) Unmarshal added in v1.8.0

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

func (*EventBatchSendToEthClaim) XXX_DiscardUnknown added in v1.8.0

func (m *EventBatchSendToEthClaim) XXX_DiscardUnknown()

func (*EventBatchSendToEthClaim) XXX_Marshal added in v1.8.0

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

func (*EventBatchSendToEthClaim) XXX_Merge added in v1.8.0

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

func (*EventBatchSendToEthClaim) XXX_Size added in v1.8.0

func (m *EventBatchSendToEthClaim) XXX_Size() int

func (*EventBatchSendToEthClaim) XXX_Unmarshal added in v1.8.0

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

type EventClaim added in v1.8.0

type EventClaim struct {
	Message       string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
	ClaimHash     string `protobuf:"bytes,2,opt,name=claim_hash,json=claimHash,proto3" json:"claim_hash,omitempty"`
	AttestationId string `protobuf:"bytes,3,opt,name=attestation_id,json=attestationId,proto3" json:"attestation_id,omitempty"`
}

func (*EventClaim) Descriptor added in v1.8.0

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

func (*EventClaim) GetAttestationId added in v1.8.0

func (m *EventClaim) GetAttestationId() string

func (*EventClaim) GetClaimHash added in v1.8.0

func (m *EventClaim) GetClaimHash() string

func (*EventClaim) GetMessage added in v1.8.0

func (m *EventClaim) GetMessage() string

func (*EventClaim) Marshal added in v1.8.0

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

func (*EventClaim) MarshalTo added in v1.8.0

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

func (*EventClaim) MarshalToSizedBuffer added in v1.8.0

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

func (*EventClaim) ProtoMessage added in v1.8.0

func (*EventClaim) ProtoMessage()

func (*EventClaim) Reset added in v1.8.0

func (m *EventClaim) Reset()

func (*EventClaim) Size added in v1.8.0

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

func (*EventClaim) String added in v1.8.0

func (m *EventClaim) String() string

func (*EventClaim) Unmarshal added in v1.8.0

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

func (*EventClaim) XXX_DiscardUnknown added in v1.8.0

func (m *EventClaim) XXX_DiscardUnknown()

func (*EventClaim) XXX_Marshal added in v1.8.0

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

func (*EventClaim) XXX_Merge added in v1.8.0

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

func (*EventClaim) XXX_Size added in v1.8.0

func (m *EventClaim) XXX_Size() int

func (*EventClaim) XXX_Unmarshal added in v1.8.0

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

type EventInvalidSendToPalomaReceiver added in v1.8.0

type EventInvalidSendToPalomaReceiver struct {
	Amount string `protobuf:"bytes,1,opt,name=amount,proto3" json:"amount,omitempty"`
	Nonce  string `protobuf:"bytes,2,opt,name=nonce,proto3" json:"nonce,omitempty"`
	Token  string `protobuf:"bytes,3,opt,name=token,proto3" json:"token,omitempty"`
	Sender string `protobuf:"bytes,4,opt,name=sender,proto3" json:"sender,omitempty"`
}

func (*EventInvalidSendToPalomaReceiver) Descriptor added in v1.8.0

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

func (*EventInvalidSendToPalomaReceiver) GetAmount added in v1.8.0

func (*EventInvalidSendToPalomaReceiver) GetNonce added in v1.8.0

func (*EventInvalidSendToPalomaReceiver) GetSender added in v1.8.0

func (*EventInvalidSendToPalomaReceiver) GetToken added in v1.8.0

func (*EventInvalidSendToPalomaReceiver) Marshal added in v1.8.0

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

func (*EventInvalidSendToPalomaReceiver) MarshalTo added in v1.8.0

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

func (*EventInvalidSendToPalomaReceiver) MarshalToSizedBuffer added in v1.8.0

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

func (*EventInvalidSendToPalomaReceiver) ProtoMessage added in v1.8.0

func (*EventInvalidSendToPalomaReceiver) ProtoMessage()

func (*EventInvalidSendToPalomaReceiver) Reset added in v1.8.0

func (*EventInvalidSendToPalomaReceiver) Size added in v1.8.0

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

func (*EventInvalidSendToPalomaReceiver) String added in v1.8.0

func (*EventInvalidSendToPalomaReceiver) Unmarshal added in v1.8.0

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

func (*EventInvalidSendToPalomaReceiver) XXX_DiscardUnknown added in v1.8.0

func (m *EventInvalidSendToPalomaReceiver) XXX_DiscardUnknown()

func (*EventInvalidSendToPalomaReceiver) XXX_Marshal added in v1.8.0

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

func (*EventInvalidSendToPalomaReceiver) XXX_Merge added in v1.8.0

func (*EventInvalidSendToPalomaReceiver) XXX_Size added in v1.8.0

func (m *EventInvalidSendToPalomaReceiver) XXX_Size() int

func (*EventInvalidSendToPalomaReceiver) XXX_Unmarshal added in v1.8.0

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

type EventMultisigUpdateRequest added in v1.8.0

type EventMultisigUpdateRequest struct {
	BridgeContract string `protobuf:"bytes,1,opt,name=bridge_contract,json=bridgeContract,proto3" json:"bridge_contract,omitempty"`
	BridgeChainId  string `protobuf:"bytes,2,opt,name=bridge_chain_id,json=bridgeChainId,proto3" json:"bridge_chain_id,omitempty"`
	MultisigId     string `protobuf:"bytes,3,opt,name=multisig_id,json=multisigId,proto3" json:"multisig_id,omitempty"`
	Nonce          string `protobuf:"bytes,4,opt,name=nonce,proto3" json:"nonce,omitempty"`
}

func (*EventMultisigUpdateRequest) Descriptor added in v1.8.0

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

func (*EventMultisigUpdateRequest) GetBridgeChainId added in v1.8.0

func (m *EventMultisigUpdateRequest) GetBridgeChainId() string

func (*EventMultisigUpdateRequest) GetBridgeContract added in v1.8.0

func (m *EventMultisigUpdateRequest) GetBridgeContract() string

func (*EventMultisigUpdateRequest) GetMultisigId added in v1.8.0

func (m *EventMultisigUpdateRequest) GetMultisigId() string

func (*EventMultisigUpdateRequest) GetNonce added in v1.8.0

func (m *EventMultisigUpdateRequest) GetNonce() string

func (*EventMultisigUpdateRequest) Marshal added in v1.8.0

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

func (*EventMultisigUpdateRequest) MarshalTo added in v1.8.0

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

func (*EventMultisigUpdateRequest) MarshalToSizedBuffer added in v1.8.0

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

func (*EventMultisigUpdateRequest) ProtoMessage added in v1.8.0

func (*EventMultisigUpdateRequest) ProtoMessage()

func (*EventMultisigUpdateRequest) Reset added in v1.8.0

func (m *EventMultisigUpdateRequest) Reset()

func (*EventMultisigUpdateRequest) Size added in v1.8.0

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

func (*EventMultisigUpdateRequest) String added in v1.8.0

func (m *EventMultisigUpdateRequest) String() string

func (*EventMultisigUpdateRequest) Unmarshal added in v1.8.0

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

func (*EventMultisigUpdateRequest) XXX_DiscardUnknown added in v1.8.0

func (m *EventMultisigUpdateRequest) XXX_DiscardUnknown()

func (*EventMultisigUpdateRequest) XXX_Marshal added in v1.8.0

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

func (*EventMultisigUpdateRequest) XXX_Merge added in v1.8.0

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

func (*EventMultisigUpdateRequest) XXX_Size added in v1.8.0

func (m *EventMultisigUpdateRequest) XXX_Size() int

func (*EventMultisigUpdateRequest) XXX_Unmarshal added in v1.8.0

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

type EventObservation added in v1.8.0

type EventObservation struct {
	AttestationType string `protobuf:"bytes,1,opt,name=attestation_type,json=attestationType,proto3" json:"attestation_type,omitempty"`
	BridgeContract  string `protobuf:"bytes,2,opt,name=bridge_contract,json=bridgeContract,proto3" json:"bridge_contract,omitempty"`
	BridgeChainId   string `protobuf:"bytes,3,opt,name=bridge_chain_id,json=bridgeChainId,proto3" json:"bridge_chain_id,omitempty"`
	AttestationId   string `protobuf:"bytes,4,opt,name=attestation_id,json=attestationId,proto3" json:"attestation_id,omitempty"`
	Nonce           string `protobuf:"bytes,5,opt,name=nonce,proto3" json:"nonce,omitempty"`
}

func (*EventObservation) Descriptor added in v1.8.0

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

func (*EventObservation) GetAttestationId added in v1.8.0

func (m *EventObservation) GetAttestationId() string

func (*EventObservation) GetAttestationType added in v1.8.0

func (m *EventObservation) GetAttestationType() string

func (*EventObservation) GetBridgeChainId added in v1.8.0

func (m *EventObservation) GetBridgeChainId() string

func (*EventObservation) GetBridgeContract added in v1.8.0

func (m *EventObservation) GetBridgeContract() string

func (*EventObservation) GetNonce added in v1.8.0

func (m *EventObservation) GetNonce() string

func (*EventObservation) Marshal added in v1.8.0

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

func (*EventObservation) MarshalTo added in v1.8.0

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

func (*EventObservation) MarshalToSizedBuffer added in v1.8.0

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

func (*EventObservation) ProtoMessage added in v1.8.0

func (*EventObservation) ProtoMessage()

func (*EventObservation) Reset added in v1.8.0

func (m *EventObservation) Reset()

func (*EventObservation) Size added in v1.8.0

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

func (*EventObservation) String added in v1.8.0

func (m *EventObservation) String() string

func (*EventObservation) Unmarshal added in v1.8.0

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

func (*EventObservation) XXX_DiscardUnknown added in v1.8.0

func (m *EventObservation) XXX_DiscardUnknown()

func (*EventObservation) XXX_Marshal added in v1.8.0

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

func (*EventObservation) XXX_Merge added in v1.8.0

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

func (*EventObservation) XXX_Size added in v1.8.0

func (m *EventObservation) XXX_Size() int

func (*EventObservation) XXX_Unmarshal added in v1.8.0

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

type EventOutgoingBatch added in v1.8.0

type EventOutgoingBatch struct {
	BridgeContract string `protobuf:"bytes,1,opt,name=bridge_contract,json=bridgeContract,proto3" json:"bridge_contract,omitempty"`
	BridgeChainId  string `protobuf:"bytes,2,opt,name=bridge_chain_id,json=bridgeChainId,proto3" json:"bridge_chain_id,omitempty"`
	BatchId        string `protobuf:"bytes,3,opt,name=batch_id,json=batchId,proto3" json:"batch_id,omitempty"`
	Nonce          string `protobuf:"bytes,4,opt,name=nonce,proto3" json:"nonce,omitempty"`
	Assignee       string `protobuf:"bytes,5,opt,name=assignee,proto3" json:"assignee,omitempty"`
}

func (*EventOutgoingBatch) Descriptor added in v1.8.0

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

func (*EventOutgoingBatch) GetAssignee added in v1.8.0

func (m *EventOutgoingBatch) GetAssignee() string

func (*EventOutgoingBatch) GetBatchId added in v1.8.0

func (m *EventOutgoingBatch) GetBatchId() string

func (*EventOutgoingBatch) GetBridgeChainId added in v1.8.0

func (m *EventOutgoingBatch) GetBridgeChainId() string

func (*EventOutgoingBatch) GetBridgeContract added in v1.8.0

func (m *EventOutgoingBatch) GetBridgeContract() string

func (*EventOutgoingBatch) GetNonce added in v1.8.0

func (m *EventOutgoingBatch) GetNonce() string

func (*EventOutgoingBatch) Marshal added in v1.8.0

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

func (*EventOutgoingBatch) MarshalTo added in v1.8.0

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

func (*EventOutgoingBatch) MarshalToSizedBuffer added in v1.8.0

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

func (*EventOutgoingBatch) ProtoMessage added in v1.8.0

func (*EventOutgoingBatch) ProtoMessage()

func (*EventOutgoingBatch) Reset added in v1.8.0

func (m *EventOutgoingBatch) Reset()

func (*EventOutgoingBatch) Size added in v1.8.0

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

func (*EventOutgoingBatch) String added in v1.8.0

func (m *EventOutgoingBatch) String() string

func (*EventOutgoingBatch) Unmarshal added in v1.8.0

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

func (*EventOutgoingBatch) XXX_DiscardUnknown added in v1.8.0

func (m *EventOutgoingBatch) XXX_DiscardUnknown()

func (*EventOutgoingBatch) XXX_Marshal added in v1.8.0

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

func (*EventOutgoingBatch) XXX_Merge added in v1.8.0

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

func (*EventOutgoingBatch) XXX_Size added in v1.8.0

func (m *EventOutgoingBatch) XXX_Size() int

func (*EventOutgoingBatch) XXX_Unmarshal added in v1.8.0

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

type EventOutgoingBatchCanceled added in v1.8.0

type EventOutgoingBatchCanceled struct {
	BridgeContract string `protobuf:"bytes,1,opt,name=bridge_contract,json=bridgeContract,proto3" json:"bridge_contract,omitempty"`
	BridgeChainId  string `protobuf:"bytes,2,opt,name=bridge_chain_id,json=bridgeChainId,proto3" json:"bridge_chain_id,omitempty"`
	BatchId        string `protobuf:"bytes,3,opt,name=batch_id,json=batchId,proto3" json:"batch_id,omitempty"`
	Nonce          string `protobuf:"bytes,4,opt,name=nonce,proto3" json:"nonce,omitempty"`
}

func (*EventOutgoingBatchCanceled) Descriptor added in v1.8.0

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

func (*EventOutgoingBatchCanceled) GetBatchId added in v1.8.0

func (m *EventOutgoingBatchCanceled) GetBatchId() string

func (*EventOutgoingBatchCanceled) GetBridgeChainId added in v1.8.0

func (m *EventOutgoingBatchCanceled) GetBridgeChainId() string

func (*EventOutgoingBatchCanceled) GetBridgeContract added in v1.8.0

func (m *EventOutgoingBatchCanceled) GetBridgeContract() string

func (*EventOutgoingBatchCanceled) GetNonce added in v1.8.0

func (m *EventOutgoingBatchCanceled) GetNonce() string

func (*EventOutgoingBatchCanceled) Marshal added in v1.8.0

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

func (*EventOutgoingBatchCanceled) MarshalTo added in v1.8.0

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

func (*EventOutgoingBatchCanceled) MarshalToSizedBuffer added in v1.8.0

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

func (*EventOutgoingBatchCanceled) ProtoMessage added in v1.8.0

func (*EventOutgoingBatchCanceled) ProtoMessage()

func (*EventOutgoingBatchCanceled) Reset added in v1.8.0

func (m *EventOutgoingBatchCanceled) Reset()

func (*EventOutgoingBatchCanceled) Size added in v1.8.0

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

func (*EventOutgoingBatchCanceled) String added in v1.8.0

func (m *EventOutgoingBatchCanceled) String() string

func (*EventOutgoingBatchCanceled) Unmarshal added in v1.8.0

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

func (*EventOutgoingBatchCanceled) XXX_DiscardUnknown added in v1.8.0

func (m *EventOutgoingBatchCanceled) XXX_DiscardUnknown()

func (*EventOutgoingBatchCanceled) XXX_Marshal added in v1.8.0

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

func (*EventOutgoingBatchCanceled) XXX_Merge added in v1.8.0

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

func (*EventOutgoingBatchCanceled) XXX_Size added in v1.8.0

func (m *EventOutgoingBatchCanceled) XXX_Size() int

func (*EventOutgoingBatchCanceled) XXX_Unmarshal added in v1.8.0

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

type EventOutgoingTxId added in v1.8.0

type EventOutgoingTxId struct {
	Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
	TxId    string `protobuf:"bytes,2,opt,name=tx_id,json=txId,proto3" json:"tx_id,omitempty"`
}

func (*EventOutgoingTxId) Descriptor added in v1.8.0

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

func (*EventOutgoingTxId) GetMessage added in v1.8.0

func (m *EventOutgoingTxId) GetMessage() string

func (*EventOutgoingTxId) GetTxId added in v1.8.0

func (m *EventOutgoingTxId) GetTxId() string

func (*EventOutgoingTxId) Marshal added in v1.8.0

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

func (*EventOutgoingTxId) MarshalTo added in v1.8.0

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

func (*EventOutgoingTxId) MarshalToSizedBuffer added in v1.8.0

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

func (*EventOutgoingTxId) ProtoMessage added in v1.8.0

func (*EventOutgoingTxId) ProtoMessage()

func (*EventOutgoingTxId) Reset added in v1.8.0

func (m *EventOutgoingTxId) Reset()

func (*EventOutgoingTxId) Size added in v1.8.0

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

func (*EventOutgoingTxId) String added in v1.8.0

func (m *EventOutgoingTxId) String() string

func (*EventOutgoingTxId) Unmarshal added in v1.8.0

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

func (*EventOutgoingTxId) XXX_DiscardUnknown added in v1.8.0

func (m *EventOutgoingTxId) XXX_DiscardUnknown()

func (*EventOutgoingTxId) XXX_Marshal added in v1.8.0

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

func (*EventOutgoingTxId) XXX_Merge added in v1.8.0

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

func (*EventOutgoingTxId) XXX_Size added in v1.8.0

func (m *EventOutgoingTxId) XXX_Size() int

func (*EventOutgoingTxId) XXX_Unmarshal added in v1.8.0

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

type EventSendToPaloma added in v1.8.0

type EventSendToPaloma struct {
	Amount string `protobuf:"bytes,1,opt,name=amount,proto3" json:"amount,omitempty"`
	Nonce  string `protobuf:"bytes,2,opt,name=nonce,proto3" json:"nonce,omitempty"`
	Token  string `protobuf:"bytes,3,opt,name=token,proto3" json:"token,omitempty"`
}

func (*EventSendToPaloma) Descriptor added in v1.8.0

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

func (*EventSendToPaloma) GetAmount added in v1.8.0

func (m *EventSendToPaloma) GetAmount() string

func (*EventSendToPaloma) GetNonce added in v1.8.0

func (m *EventSendToPaloma) GetNonce() string

func (*EventSendToPaloma) GetToken added in v1.8.0

func (m *EventSendToPaloma) GetToken() string

func (*EventSendToPaloma) Marshal added in v1.8.0

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

func (*EventSendToPaloma) MarshalTo added in v1.8.0

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

func (*EventSendToPaloma) MarshalToSizedBuffer added in v1.8.0

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

func (*EventSendToPaloma) ProtoMessage added in v1.8.0

func (*EventSendToPaloma) ProtoMessage()

func (*EventSendToPaloma) Reset added in v1.8.0

func (m *EventSendToPaloma) Reset()

func (*EventSendToPaloma) Size added in v1.8.0

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

func (*EventSendToPaloma) String added in v1.8.0

func (m *EventSendToPaloma) String() string

func (*EventSendToPaloma) Unmarshal added in v1.8.0

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

func (*EventSendToPaloma) XXX_DiscardUnknown added in v1.8.0

func (m *EventSendToPaloma) XXX_DiscardUnknown()

func (*EventSendToPaloma) XXX_Marshal added in v1.8.0

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

func (*EventSendToPaloma) XXX_Merge added in v1.8.0

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

func (*EventSendToPaloma) XXX_Size added in v1.8.0

func (m *EventSendToPaloma) XXX_Size() int

func (*EventSendToPaloma) XXX_Unmarshal added in v1.8.0

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

type EventSendToPalomaLocal added in v1.8.0

type EventSendToPalomaLocal struct {
	Nonce    string `protobuf:"bytes,1,opt,name=nonce,proto3" json:"nonce,omitempty"`
	Receiver string `protobuf:"bytes,2,opt,name=receiver,proto3" json:"receiver,omitempty"`
	Token    string `protobuf:"bytes,3,opt,name=token,proto3" json:"token,omitempty"`
	Amount   string `protobuf:"bytes,4,opt,name=amount,proto3" json:"amount,omitempty"`
}

func (*EventSendToPalomaLocal) Descriptor added in v1.8.0

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

func (*EventSendToPalomaLocal) GetAmount added in v1.8.0

func (m *EventSendToPalomaLocal) GetAmount() string

func (*EventSendToPalomaLocal) GetNonce added in v1.8.0

func (m *EventSendToPalomaLocal) GetNonce() string

func (*EventSendToPalomaLocal) GetReceiver added in v1.8.0

func (m *EventSendToPalomaLocal) GetReceiver() string

func (*EventSendToPalomaLocal) GetToken added in v1.8.0

func (m *EventSendToPalomaLocal) GetToken() string

func (*EventSendToPalomaLocal) Marshal added in v1.8.0

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

func (*EventSendToPalomaLocal) MarshalTo added in v1.8.0

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

func (*EventSendToPalomaLocal) MarshalToSizedBuffer added in v1.8.0

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

func (*EventSendToPalomaLocal) ProtoMessage added in v1.8.0

func (*EventSendToPalomaLocal) ProtoMessage()

func (*EventSendToPalomaLocal) Reset added in v1.8.0

func (m *EventSendToPalomaLocal) Reset()

func (*EventSendToPalomaLocal) Size added in v1.8.0

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

func (*EventSendToPalomaLocal) String added in v1.8.0

func (m *EventSendToPalomaLocal) String() string

func (*EventSendToPalomaLocal) Unmarshal added in v1.8.0

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

func (*EventSendToPalomaLocal) XXX_DiscardUnknown added in v1.8.0

func (m *EventSendToPalomaLocal) XXX_DiscardUnknown()

func (*EventSendToPalomaLocal) XXX_Marshal added in v1.8.0

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

func (*EventSendToPalomaLocal) XXX_Merge added in v1.8.0

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

func (*EventSendToPalomaLocal) XXX_Size added in v1.8.0

func (m *EventSendToPalomaLocal) XXX_Size() int

func (*EventSendToPalomaLocal) XXX_Unmarshal added in v1.8.0

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

type EventSetOperatorAddress added in v1.8.0

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

func (*EventSetOperatorAddress) Descriptor added in v1.8.0

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

func (*EventSetOperatorAddress) GetAddress added in v1.8.0

func (m *EventSetOperatorAddress) GetAddress() string

func (*EventSetOperatorAddress) GetMessage added in v1.8.0

func (m *EventSetOperatorAddress) GetMessage() string

func (*EventSetOperatorAddress) Marshal added in v1.8.0

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

func (*EventSetOperatorAddress) MarshalTo added in v1.8.0

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

func (*EventSetOperatorAddress) MarshalToSizedBuffer added in v1.8.0

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

func (*EventSetOperatorAddress) ProtoMessage added in v1.8.0

func (*EventSetOperatorAddress) ProtoMessage()

func (*EventSetOperatorAddress) Reset added in v1.8.0

func (m *EventSetOperatorAddress) Reset()

func (*EventSetOperatorAddress) Size added in v1.8.0

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

func (*EventSetOperatorAddress) String added in v1.8.0

func (m *EventSetOperatorAddress) String() string

func (*EventSetOperatorAddress) Unmarshal added in v1.8.0

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

func (*EventSetOperatorAddress) XXX_DiscardUnknown added in v1.8.0

func (m *EventSetOperatorAddress) XXX_DiscardUnknown()

func (*EventSetOperatorAddress) XXX_Marshal added in v1.8.0

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

func (*EventSetOperatorAddress) XXX_Merge added in v1.8.0

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

func (*EventSetOperatorAddress) XXX_Size added in v1.8.0

func (m *EventSetOperatorAddress) XXX_Size() int

func (*EventSetOperatorAddress) XXX_Unmarshal added in v1.8.0

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

type EventSignatureSlashing added in v1.8.0

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

func (*EventSignatureSlashing) Descriptor added in v1.8.0

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

func (*EventSignatureSlashing) GetAddress added in v1.8.0

func (m *EventSignatureSlashing) GetAddress() string

func (*EventSignatureSlashing) GetType added in v1.8.0

func (m *EventSignatureSlashing) GetType() string

func (*EventSignatureSlashing) Marshal added in v1.8.0

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

func (*EventSignatureSlashing) MarshalTo added in v1.8.0

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

func (*EventSignatureSlashing) MarshalToSizedBuffer added in v1.8.0

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

func (*EventSignatureSlashing) ProtoMessage added in v1.8.0

func (*EventSignatureSlashing) ProtoMessage()

func (*EventSignatureSlashing) Reset added in v1.8.0

func (m *EventSignatureSlashing) Reset()

func (*EventSignatureSlashing) Size added in v1.8.0

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

func (*EventSignatureSlashing) String added in v1.8.0

func (m *EventSignatureSlashing) String() string

func (*EventSignatureSlashing) Unmarshal added in v1.8.0

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

func (*EventSignatureSlashing) XXX_DiscardUnknown added in v1.8.0

func (m *EventSignatureSlashing) XXX_DiscardUnknown()

func (*EventSignatureSlashing) XXX_Marshal added in v1.8.0

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

func (*EventSignatureSlashing) XXX_Merge added in v1.8.0

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

func (*EventSignatureSlashing) XXX_Size added in v1.8.0

func (m *EventSignatureSlashing) XXX_Size() int

func (*EventSignatureSlashing) XXX_Unmarshal added in v1.8.0

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

type EventWithdrawCanceled added in v1.8.0

type EventWithdrawCanceled struct {
	Sender         string `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty"`
	TxId           string `protobuf:"bytes,2,opt,name=tx_id,json=txId,proto3" json:"tx_id,omitempty"`
	BridgeContract string `protobuf:"bytes,3,opt,name=bridge_contract,json=bridgeContract,proto3" json:"bridge_contract,omitempty"`
	BridgeChainId  string `protobuf:"bytes,4,opt,name=bridge_chain_id,json=bridgeChainId,proto3" json:"bridge_chain_id,omitempty"`
}

func (*EventWithdrawCanceled) Descriptor added in v1.8.0

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

func (*EventWithdrawCanceled) GetBridgeChainId added in v1.8.0

func (m *EventWithdrawCanceled) GetBridgeChainId() string

func (*EventWithdrawCanceled) GetBridgeContract added in v1.8.0

func (m *EventWithdrawCanceled) GetBridgeContract() string

func (*EventWithdrawCanceled) GetSender added in v1.8.0

func (m *EventWithdrawCanceled) GetSender() string

func (*EventWithdrawCanceled) GetTxId added in v1.8.0

func (m *EventWithdrawCanceled) GetTxId() string

func (*EventWithdrawCanceled) Marshal added in v1.8.0

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

func (*EventWithdrawCanceled) MarshalTo added in v1.8.0

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

func (*EventWithdrawCanceled) MarshalToSizedBuffer added in v1.8.0

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

func (*EventWithdrawCanceled) ProtoMessage added in v1.8.0

func (*EventWithdrawCanceled) ProtoMessage()

func (*EventWithdrawCanceled) Reset added in v1.8.0

func (m *EventWithdrawCanceled) Reset()

func (*EventWithdrawCanceled) Size added in v1.8.0

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

func (*EventWithdrawCanceled) String added in v1.8.0

func (m *EventWithdrawCanceled) String() string

func (*EventWithdrawCanceled) Unmarshal added in v1.8.0

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

func (*EventWithdrawCanceled) XXX_DiscardUnknown added in v1.8.0

func (m *EventWithdrawCanceled) XXX_DiscardUnknown()

func (*EventWithdrawCanceled) XXX_Marshal added in v1.8.0

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

func (*EventWithdrawCanceled) XXX_Merge added in v1.8.0

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

func (*EventWithdrawCanceled) XXX_Size added in v1.8.0

func (m *EventWithdrawCanceled) XXX_Size() int

func (*EventWithdrawCanceled) XXX_Unmarshal added in v1.8.0

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

type EventWithdrawalReceived added in v1.8.0

type EventWithdrawalReceived struct {
	BridgeContract string `protobuf:"bytes,1,opt,name=bridge_contract,json=bridgeContract,proto3" json:"bridge_contract,omitempty"`
	BridgeChainId  string `protobuf:"bytes,2,opt,name=bridge_chain_id,json=bridgeChainId,proto3" json:"bridge_chain_id,omitempty"`
	OutgoingTxId   string `protobuf:"bytes,3,opt,name=outgoing_tx_id,json=outgoingTxId,proto3" json:"outgoing_tx_id,omitempty"`
	Nonce          string `protobuf:"bytes,4,opt,name=nonce,proto3" json:"nonce,omitempty"`
}

func (*EventWithdrawalReceived) Descriptor added in v1.8.0

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

func (*EventWithdrawalReceived) GetBridgeChainId added in v1.8.0

func (m *EventWithdrawalReceived) GetBridgeChainId() string

func (*EventWithdrawalReceived) GetBridgeContract added in v1.8.0

func (m *EventWithdrawalReceived) GetBridgeContract() string

func (*EventWithdrawalReceived) GetNonce added in v1.8.0

func (m *EventWithdrawalReceived) GetNonce() string

func (*EventWithdrawalReceived) GetOutgoingTxId added in v1.8.0

func (m *EventWithdrawalReceived) GetOutgoingTxId() string

func (*EventWithdrawalReceived) Marshal added in v1.8.0

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

func (*EventWithdrawalReceived) MarshalTo added in v1.8.0

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

func (*EventWithdrawalReceived) MarshalToSizedBuffer added in v1.8.0

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

func (*EventWithdrawalReceived) ProtoMessage added in v1.8.0

func (*EventWithdrawalReceived) ProtoMessage()

func (*EventWithdrawalReceived) Reset added in v1.8.0

func (m *EventWithdrawalReceived) Reset()

func (*EventWithdrawalReceived) Size added in v1.8.0

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

func (*EventWithdrawalReceived) String added in v1.8.0

func (m *EventWithdrawalReceived) String() string

func (*EventWithdrawalReceived) Unmarshal added in v1.8.0

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

func (*EventWithdrawalReceived) XXX_DiscardUnknown added in v1.8.0

func (m *EventWithdrawalReceived) XXX_DiscardUnknown()

func (*EventWithdrawalReceived) XXX_Marshal added in v1.8.0

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

func (*EventWithdrawalReceived) XXX_Merge added in v1.8.0

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

func (*EventWithdrawalReceived) XXX_Size added in v1.8.0

func (m *EventWithdrawalReceived) XXX_Size() int

func (*EventWithdrawalReceived) XXX_Unmarshal added in v1.8.0

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

type GenesisState

type GenesisState struct {
	Params             *Params              `protobuf:"bytes,1,opt,name=params,proto3" json:"params,omitempty"`
	GravityNonces      GravityNonces        `protobuf:"bytes,2,opt,name=gravity_nonces,json=gravityNonces,proto3" json:"gravity_nonces"`
	Batches            []OutgoingTxBatch    `protobuf:"bytes,3,rep,name=batches,proto3" json:"batches"`
	BatchConfirms      []MsgConfirmBatch    `protobuf:"bytes,4,rep,name=batch_confirms,json=batchConfirms,proto3" json:"batch_confirms"`
	Attestations       []Attestation        `protobuf:"bytes,7,rep,name=attestations,proto3" json:"attestations"`
	Erc20ToDenoms      []ERC20ToDenom       `protobuf:"bytes,9,rep,name=erc20_to_denoms,json=erc20ToDenoms,proto3" json:"erc20_to_denoms"`
	UnbatchedTransfers []OutgoingTransferTx `protobuf:"bytes,10,rep,name=unbatched_transfers,json=unbatchedTransfers,proto3" json:"unbatched_transfers"`
}

GenesisState struct, containing all persistant data required by the Gravity module

func DefaultGenesisState

func DefaultGenesisState() *GenesisState

DefaultGenesisState returns empty genesis state nolint: exhaustruct

func (*GenesisState) Descriptor

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

func (*GenesisState) GetAttestations added in v1.8.0

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

func (*GenesisState) GetBatchConfirms added in v1.8.0

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

func (*GenesisState) GetBatches added in v1.8.0

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

func (*GenesisState) GetErc20ToDenoms

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

func (*GenesisState) GetGravityNonces added in v1.8.0

func (m *GenesisState) GetGravityNonces() GravityNonces

func (*GenesisState) GetParams

func (m *GenesisState) GetParams() *Params

func (*GenesisState) GetUnbatchedTransfers added in v1.8.0

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

func (*GenesisState) Marshal

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

func (*GenesisState) MarshalTo

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

func (*GenesisState) MarshalToSizedBuffer

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

func (*GenesisState) ProtoMessage

func (*GenesisState) ProtoMessage()

func (*GenesisState) Reset

func (m *GenesisState) Reset()

func (*GenesisState) Size

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

func (*GenesisState) String

func (m *GenesisState) String() string

func (*GenesisState) Unmarshal

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

func (GenesisState) ValidateBasic

func (s GenesisState) ValidateBasic() error

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

func (*GenesisState) XXX_DiscardUnknown

func (m *GenesisState) XXX_DiscardUnknown()

func (*GenesisState) XXX_Marshal

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

func (*GenesisState) XXX_Merge

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

func (*GenesisState) XXX_Size

func (m *GenesisState) XXX_Size() int

func (*GenesisState) XXX_Unmarshal

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

type GravityNonces added in v1.8.0

type GravityNonces struct {
	// the last observed Gravity.sol contract event nonce
	LastObservedNonce uint64 `protobuf:"varint,1,opt,name=last_observed_nonce,json=lastObservedNonce,proto3" json:"last_observed_nonce,omitempty"`
	// the last batch Cosmos chain block that batch slashing has completed for
	// there is an individual batch nonce for each token type so this removes
	// the need to store them all
	LastSlashedBatchBlock uint64 `` /* 129-byte string literal not displayed */
	// the last transaction id from the Gravity TX pool, this prevents ID
	// duplication during chain upgrades
	LastTxPoolId uint64 `protobuf:"varint,3,opt,name=last_tx_pool_id,json=lastTxPoolId,proto3" json:"last_tx_pool_id,omitempty"`
	// the last batch id from the Gravity batch pool, this prevents ID duplication
	// during chain upgrades
	LastBatchId uint64 `protobuf:"varint,4,opt,name=last_batch_id,json=lastBatchId,proto3" json:"last_batch_id,omitempty"`
}

GravityCounters contains the many noces and counters required to maintain the bridge state in the genesis

func (*GravityNonces) Descriptor added in v1.8.0

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

func (*GravityNonces) GetLastBatchId added in v1.8.0

func (m *GravityNonces) GetLastBatchId() uint64

func (*GravityNonces) GetLastObservedNonce added in v1.8.0

func (m *GravityNonces) GetLastObservedNonce() uint64

func (*GravityNonces) GetLastSlashedBatchBlock added in v1.8.0

func (m *GravityNonces) GetLastSlashedBatchBlock() uint64

func (*GravityNonces) GetLastTxPoolId added in v1.8.0

func (m *GravityNonces) GetLastTxPoolId() uint64

func (*GravityNonces) Marshal added in v1.8.0

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

func (*GravityNonces) MarshalTo added in v1.8.0

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

func (*GravityNonces) MarshalToSizedBuffer added in v1.8.0

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

func (*GravityNonces) ProtoMessage added in v1.8.0

func (*GravityNonces) ProtoMessage()

func (*GravityNonces) Reset added in v1.8.0

func (m *GravityNonces) Reset()

func (*GravityNonces) Size added in v1.8.0

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

func (*GravityNonces) String added in v1.8.0

func (m *GravityNonces) String() string

func (*GravityNonces) Unmarshal added in v1.8.0

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

func (*GravityNonces) XXX_DiscardUnknown added in v1.8.0

func (m *GravityNonces) XXX_DiscardUnknown()

func (*GravityNonces) XXX_Marshal added in v1.8.0

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

func (*GravityNonces) XXX_Merge added in v1.8.0

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

func (*GravityNonces) XXX_Size added in v1.8.0

func (m *GravityNonces) XXX_Size() int

func (*GravityNonces) XXX_Unmarshal added in v1.8.0

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

type IDSet

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

IDSet represents a set of IDs

func (*IDSet) Descriptor

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

func (*IDSet) GetIds

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

func (*IDSet) Marshal

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

func (*IDSet) MarshalTo

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

func (*IDSet) MarshalToSizedBuffer

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

func (*IDSet) ProtoMessage

func (*IDSet) ProtoMessage()

func (*IDSet) Reset

func (m *IDSet) Reset()

func (*IDSet) Size

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

func (*IDSet) String

func (m *IDSet) String() string

func (*IDSet) Unmarshal

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

func (*IDSet) XXX_DiscardUnknown

func (m *IDSet) XXX_DiscardUnknown()

func (*IDSet) XXX_Marshal

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

func (*IDSet) XXX_Merge

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

func (*IDSet) XXX_Size

func (m *IDSet) XXX_Size() int

func (*IDSet) XXX_Unmarshal

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

type InternalBridgeValidator added in v1.8.0

type InternalBridgeValidator struct {
	Power           uint64
	EthereumAddress EthAddress
}

InternalBridgeValidator is a BridgeValidator but with validated EthereumAddress

func NewInternalBridgeValidator added in v1.8.0

func NewInternalBridgeValidator(bridgeValidator BridgeValidator) (*InternalBridgeValidator, error)

func (InternalBridgeValidator) ToExternal added in v1.8.0

func (InternalBridgeValidator) ValidateBasic added in v1.8.0

func (i InternalBridgeValidator) ValidateBasic() error

type InternalBridgeValidators added in v1.8.0

type InternalBridgeValidators []*InternalBridgeValidator

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

func (InternalBridgeValidators) GetPowers added in v1.8.0

func (b InternalBridgeValidators) GetPowers() []uint64

GetPowers returns only the power values for all members

func (InternalBridgeValidators) HasDuplicates added in v1.8.0

func (b InternalBridgeValidators) HasDuplicates() bool

HasDuplicates returns true if there are duplicates in the set

func (InternalBridgeValidators) PowerDiff added in v1.8.0

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 (InternalBridgeValidators) Sort added in v1.8.0

func (b InternalBridgeValidators) Sort()

Sort sorts the validators by power

func (InternalBridgeValidators) ToExternal added in v1.8.0

func (InternalBridgeValidators) TotalPower added in v1.8.0

func (b InternalBridgeValidators) TotalPower() (out uint64)

TotalPower returns the total power in the bridge validator set

func (InternalBridgeValidators) ValidateBasic added in v1.8.0

func (b InternalBridgeValidators) ValidateBasic() error

ValidateBasic performs stateless checks

type InternalERC20Token added in v1.8.0

type InternalERC20Token struct {
	Amount           math.Int
	Contract         EthAddress
	ChainReferenceID string
}

InternalERC20Token contains validated fields, used for all internal computation

func NewInternalERC20Token added in v1.8.0

func NewInternalERC20Token(amount math.Int, contract string, chainReferenceId string) (*InternalERC20Token, error)

NewInternalERC20Token creates an InternalERC20Token, performing validation and returning any errors

func (*InternalERC20Token) Add added in v1.8.0

Add adds one ERC20 to another

func (*InternalERC20Token) ToExternal added in v1.8.0

func (i *InternalERC20Token) ToExternal() ERC20Token

ToExternal converts an InternalERC20Token to the external type ERC20Token

func (*InternalERC20Token) ValidateBasic added in v1.8.0

func (i *InternalERC20Token) ValidateBasic() error

ValidateBasic performs validation on all fields of an InternalERC20Token

type InternalOutgoingTransferTx added in v1.8.0

type InternalOutgoingTransferTx struct {
	Id          uint64
	Sender      sdk.AccAddress
	DestAddress *EthAddress
	Erc20Token  *InternalERC20Token
}

InternalOutgoingTransferTx is an internal duplicate of OutgoingTransferTx with validation

func NewInternalOutgoingTransferTx added in v1.8.0

func NewInternalOutgoingTransferTx(
	id uint64,
	sender string,
	destAddress string,
	erc20Token ERC20Token,
) (*InternalOutgoingTransferTx, error)

func (InternalOutgoingTransferTx) ToExternal added in v1.8.0

func (InternalOutgoingTransferTx) ValidateBasic added in v1.8.0

func (i InternalOutgoingTransferTx) ValidateBasic() error

type InternalOutgoingTxBatch added in v1.8.0

type InternalOutgoingTxBatch struct {
	BatchNonce         uint64
	BatchTimeout       uint64
	Transactions       []*InternalOutgoingTransferTx
	TokenContract      EthAddress
	PalomaBlockCreated uint64
	ChainReferenceID   string
	BytesToSign        []byte
	Assignee           string
}

InternalOutgoingTxBatch is an internal duplicate of OutgoingTxBatch with validation

func NewInternalOutgingTxBatch added in v1.8.0

func NewInternalOutgingTxBatch(
	nonce uint64,
	timeout uint64,
	transactions []*InternalOutgoingTransferTx,
	contract EthAddress,
	blockCreated uint64,
	chainReferenceID string,
	turnstoneID string,
	assignee string,
) (*InternalOutgoingTxBatch, error)

func NewInternalOutgingTxBatchFromExternalBatch added in v1.8.0

func NewInternalOutgingTxBatchFromExternalBatch(batch OutgoingTxBatch) (*InternalOutgoingTxBatch, error)

func (InternalOutgoingTxBatch) GetChainReferenceID added in v1.8.0

func (i InternalOutgoingTxBatch) GetChainReferenceID() string

func (InternalOutgoingTxBatch) GetCheckpoint added in v1.8.0

func (i InternalOutgoingTxBatch) GetCheckpoint(turnstoneID string) ([]byte, error)

GetCheckpoint gets the checkpoint signature from the given outgoing tx batch

func (*InternalOutgoingTxBatch) ToExternal added in v1.8.0

func (i *InternalOutgoingTxBatch) ToExternal() OutgoingTxBatch

func (*InternalOutgoingTxBatch) ValidateBasic added in v1.8.0

func (i *InternalOutgoingTxBatch) ValidateBasic() error

type InternalOutgoingTxBatches added in v1.8.0

type InternalOutgoingTxBatches []InternalOutgoingTxBatch

InternalOutgoingTxBatches is an internal duplicate array of OutgoingTxBatch with validation

func (*InternalOutgoingTxBatches) ToExternalArray added in v1.8.0

func (i *InternalOutgoingTxBatches) ToExternalArray() []OutgoingTxBatch

type LastObservedEthereumBlockHeight added in v1.8.0

type LastObservedEthereumBlockHeight struct {
	PalomaBlockHeight   uint64 `protobuf:"varint,1,opt,name=paloma_block_height,json=palomaBlockHeight,proto3" json:"paloma_block_height,omitempty"`
	EthereumBlockHeight uint64 `protobuf:"varint,2,opt,name=ethereum_block_height,json=ethereumBlockHeight,proto3" json:"ethereum_block_height,omitempty"`
}

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

func (*LastObservedEthereumBlockHeight) Descriptor added in v1.8.0

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

func (*LastObservedEthereumBlockHeight) GetEthereumBlockHeight added in v1.8.0

func (m *LastObservedEthereumBlockHeight) GetEthereumBlockHeight() uint64

func (*LastObservedEthereumBlockHeight) GetPalomaBlockHeight added in v1.8.0

func (m *LastObservedEthereumBlockHeight) GetPalomaBlockHeight() uint64

func (*LastObservedEthereumBlockHeight) Marshal added in v1.8.0

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

func (*LastObservedEthereumBlockHeight) MarshalTo added in v1.8.0

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

func (*LastObservedEthereumBlockHeight) MarshalToSizedBuffer added in v1.8.0

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

func (*LastObservedEthereumBlockHeight) ProtoMessage added in v1.8.0

func (*LastObservedEthereumBlockHeight) ProtoMessage()

func (*LastObservedEthereumBlockHeight) Reset added in v1.8.0

func (*LastObservedEthereumBlockHeight) Size added in v1.8.0

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

func (*LastObservedEthereumBlockHeight) String added in v1.8.0

func (*LastObservedEthereumBlockHeight) Unmarshal added in v1.8.0

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

func (*LastObservedEthereumBlockHeight) XXX_DiscardUnknown added in v1.8.0

func (m *LastObservedEthereumBlockHeight) XXX_DiscardUnknown()

func (*LastObservedEthereumBlockHeight) XXX_Marshal added in v1.8.0

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

func (*LastObservedEthereumBlockHeight) XXX_Merge added in v1.8.0

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

func (*LastObservedEthereumBlockHeight) XXX_Size added in v1.8.0

func (m *LastObservedEthereumBlockHeight) XXX_Size() int

func (*LastObservedEthereumBlockHeight) XXX_Unmarshal added in v1.8.0

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

type MsgBatchSendToEthClaim added in v1.8.0

type MsgBatchSendToEthClaim struct {
	EventNonce       uint64             `protobuf:"varint,1,opt,name=event_nonce,json=eventNonce,proto3" json:"event_nonce,omitempty"`
	EthBlockHeight   uint64             `protobuf:"varint,2,opt,name=eth_block_height,json=ethBlockHeight,proto3" json:"eth_block_height,omitempty"`
	BatchNonce       uint64             `protobuf:"varint,3,opt,name=batch_nonce,json=batchNonce,proto3" json:"batch_nonce,omitempty"`
	TokenContract    string             `protobuf:"bytes,4,opt,name=token_contract,json=tokenContract,proto3" json:"token_contract,omitempty"`
	ChainReferenceId string             `protobuf:"bytes,5,opt,name=chain_reference_id,json=chainReferenceId,proto3" json:"chain_reference_id,omitempty"`
	Orchestrator     string             `protobuf:"bytes,6,opt,name=orchestrator,proto3" json:"orchestrator,omitempty"`
	Metadata         types1.MsgMetadata `protobuf:"bytes,7,opt,name=metadata,proto3" json:"metadata"`
}

BatchSendToEthClaim claims that a batch of send to eth operations on the bridge contract was executed.

func (*MsgBatchSendToEthClaim) ClaimHash added in v1.8.0

func (msg *MsgBatchSendToEthClaim) ClaimHash() ([]byte, error)

Hash implements WithdrawBatch.Hash

func (*MsgBatchSendToEthClaim) Descriptor added in v1.8.0

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

func (*MsgBatchSendToEthClaim) GetBatchNonce added in v1.8.0

func (m *MsgBatchSendToEthClaim) GetBatchNonce() uint64

func (*MsgBatchSendToEthClaim) GetChainReferenceId added in v1.8.0

func (m *MsgBatchSendToEthClaim) GetChainReferenceId() string

func (MsgBatchSendToEthClaim) GetClaimer added in v1.8.0

func (msg MsgBatchSendToEthClaim) GetClaimer() sdk.AccAddress

func (*MsgBatchSendToEthClaim) GetEthBlockHeight added in v1.8.0

func (m *MsgBatchSendToEthClaim) GetEthBlockHeight() uint64

func (*MsgBatchSendToEthClaim) GetEventNonce added in v1.8.0

func (m *MsgBatchSendToEthClaim) GetEventNonce() uint64

func (*MsgBatchSendToEthClaim) GetMetadata added in v1.10.0

func (m *MsgBatchSendToEthClaim) GetMetadata() types1.MsgMetadata

func (*MsgBatchSendToEthClaim) GetOrchestrator added in v1.8.0

func (m *MsgBatchSendToEthClaim) GetOrchestrator() string

func (MsgBatchSendToEthClaim) GetSigners added in v1.8.0

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

GetSigners defines whose signature is required

func (*MsgBatchSendToEthClaim) GetTokenContract added in v1.8.0

func (m *MsgBatchSendToEthClaim) GetTokenContract() string

func (*MsgBatchSendToEthClaim) GetType added in v1.8.0

func (msg *MsgBatchSendToEthClaim) GetType() ClaimType

GetType returns the claim type

func (*MsgBatchSendToEthClaim) Marshal added in v1.8.0

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

func (*MsgBatchSendToEthClaim) MarshalTo added in v1.8.0

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

func (*MsgBatchSendToEthClaim) MarshalToSizedBuffer added in v1.8.0

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

func (*MsgBatchSendToEthClaim) ProtoMessage added in v1.8.0

func (*MsgBatchSendToEthClaim) ProtoMessage()

func (*MsgBatchSendToEthClaim) Reset added in v1.8.0

func (m *MsgBatchSendToEthClaim) Reset()

func (MsgBatchSendToEthClaim) Route added in v1.8.0

func (msg MsgBatchSendToEthClaim) Route() string

Route should return the name of the module

func (*MsgBatchSendToEthClaim) SetOrchestrator added in v1.8.0

func (msg *MsgBatchSendToEthClaim) SetOrchestrator(orchestrator sdk.AccAddress)

func (*MsgBatchSendToEthClaim) Size added in v1.8.0

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

func (*MsgBatchSendToEthClaim) String added in v1.8.0

func (m *MsgBatchSendToEthClaim) String() string

func (MsgBatchSendToEthClaim) Type added in v1.8.0

func (msg MsgBatchSendToEthClaim) Type() string

Type should return the action

func (*MsgBatchSendToEthClaim) Unmarshal added in v1.8.0

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

func (*MsgBatchSendToEthClaim) ValidateBasic added in v1.8.0

func (e *MsgBatchSendToEthClaim) ValidateBasic() error

ValidateBasic performs stateless checks

func (*MsgBatchSendToEthClaim) XXX_DiscardUnknown added in v1.8.0

func (m *MsgBatchSendToEthClaim) XXX_DiscardUnknown()

func (*MsgBatchSendToEthClaim) XXX_Marshal added in v1.8.0

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

func (*MsgBatchSendToEthClaim) XXX_Merge added in v1.8.0

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

func (*MsgBatchSendToEthClaim) XXX_Size added in v1.8.0

func (m *MsgBatchSendToEthClaim) XXX_Size() int

func (*MsgBatchSendToEthClaim) XXX_Unmarshal added in v1.8.0

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

type MsgBatchSendToEthClaimResponse added in v1.8.0

type MsgBatchSendToEthClaimResponse struct {
}

func (*MsgBatchSendToEthClaimResponse) Descriptor added in v1.8.0

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

func (*MsgBatchSendToEthClaimResponse) Marshal added in v1.8.0

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

func (*MsgBatchSendToEthClaimResponse) MarshalTo added in v1.8.0

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

func (*MsgBatchSendToEthClaimResponse) MarshalToSizedBuffer added in v1.8.0

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

func (*MsgBatchSendToEthClaimResponse) ProtoMessage added in v1.8.0

func (*MsgBatchSendToEthClaimResponse) ProtoMessage()

func (*MsgBatchSendToEthClaimResponse) Reset added in v1.8.0

func (m *MsgBatchSendToEthClaimResponse) Reset()

func (*MsgBatchSendToEthClaimResponse) Size added in v1.8.0

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

func (*MsgBatchSendToEthClaimResponse) String added in v1.8.0

func (*MsgBatchSendToEthClaimResponse) Unmarshal added in v1.8.0

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

func (*MsgBatchSendToEthClaimResponse) XXX_DiscardUnknown added in v1.8.0

func (m *MsgBatchSendToEthClaimResponse) XXX_DiscardUnknown()

func (*MsgBatchSendToEthClaimResponse) XXX_Marshal added in v1.8.0

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

func (*MsgBatchSendToEthClaimResponse) XXX_Merge added in v1.8.0

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

func (*MsgBatchSendToEthClaimResponse) XXX_Size added in v1.8.0

func (m *MsgBatchSendToEthClaimResponse) XXX_Size() int

func (*MsgBatchSendToEthClaimResponse) XXX_Unmarshal added in v1.8.0

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

type MsgCancelSendToEth added in v1.8.0

type MsgCancelSendToEth struct {
	TransactionId uint64             `protobuf:"varint,1,opt,name=transaction_id,json=transactionId,proto3" json:"transaction_id,omitempty"`
	Metadata      types1.MsgMetadata `protobuf:"bytes,3,opt,name=metadata,proto3" json:"metadata"`
}

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

func NewMsgCancelSendToEth added in v1.8.0

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

NewMsgCancelSendToEth returns a new msgSetOrchestratorAddress

func (*MsgCancelSendToEth) Descriptor added in v1.8.0

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

func (*MsgCancelSendToEth) GetMetadata added in v1.10.0

func (m *MsgCancelSendToEth) GetMetadata() types1.MsgMetadata

func (*MsgCancelSendToEth) GetSigners added in v1.8.0

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

GetSigners defines whose signature is required

func (*MsgCancelSendToEth) GetTransactionId added in v1.8.0

func (m *MsgCancelSendToEth) GetTransactionId() uint64

func (*MsgCancelSendToEth) Marshal added in v1.8.0

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

func (*MsgCancelSendToEth) MarshalTo added in v1.8.0

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

func (*MsgCancelSendToEth) MarshalToSizedBuffer added in v1.8.0

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

func (*MsgCancelSendToEth) ProtoMessage added in v1.8.0

func (*MsgCancelSendToEth) ProtoMessage()

func (*MsgCancelSendToEth) Reset added in v1.8.0

func (m *MsgCancelSendToEth) Reset()

func (*MsgCancelSendToEth) Route added in v1.8.0

func (msg *MsgCancelSendToEth) Route() string

Route should return the name of the module

func (*MsgCancelSendToEth) Size added in v1.8.0

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

func (*MsgCancelSendToEth) String added in v1.8.0

func (m *MsgCancelSendToEth) String() string

func (*MsgCancelSendToEth) Type added in v1.8.0

func (msg *MsgCancelSendToEth) Type() string

Type should return the action

func (*MsgCancelSendToEth) Unmarshal added in v1.8.0

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

func (*MsgCancelSendToEth) XXX_DiscardUnknown added in v1.8.0

func (m *MsgCancelSendToEth) XXX_DiscardUnknown()

func (*MsgCancelSendToEth) XXX_Marshal added in v1.8.0

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

func (*MsgCancelSendToEth) XXX_Merge added in v1.8.0

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

func (*MsgCancelSendToEth) XXX_Size added in v1.8.0

func (m *MsgCancelSendToEth) XXX_Size() int

func (*MsgCancelSendToEth) XXX_Unmarshal added in v1.8.0

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

type MsgCancelSendToEthResponse added in v1.8.0

type MsgCancelSendToEthResponse struct {
}

func (*MsgCancelSendToEthResponse) Descriptor added in v1.8.0

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

func (*MsgCancelSendToEthResponse) Marshal added in v1.8.0

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

func (*MsgCancelSendToEthResponse) MarshalTo added in v1.8.0

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

func (*MsgCancelSendToEthResponse) MarshalToSizedBuffer added in v1.8.0

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

func (*MsgCancelSendToEthResponse) ProtoMessage added in v1.8.0

func (*MsgCancelSendToEthResponse) ProtoMessage()

func (*MsgCancelSendToEthResponse) Reset added in v1.8.0

func (m *MsgCancelSendToEthResponse) Reset()

func (*MsgCancelSendToEthResponse) Size added in v1.8.0

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

func (*MsgCancelSendToEthResponse) String added in v1.8.0

func (m *MsgCancelSendToEthResponse) String() string

func (*MsgCancelSendToEthResponse) Unmarshal added in v1.8.0

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

func (*MsgCancelSendToEthResponse) XXX_DiscardUnknown added in v1.8.0

func (m *MsgCancelSendToEthResponse) XXX_DiscardUnknown()

func (*MsgCancelSendToEthResponse) XXX_Marshal added in v1.8.0

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

func (*MsgCancelSendToEthResponse) XXX_Merge added in v1.8.0

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

func (*MsgCancelSendToEthResponse) XXX_Size added in v1.8.0

func (m *MsgCancelSendToEthResponse) XXX_Size() int

func (*MsgCancelSendToEthResponse) XXX_Unmarshal added in v1.8.0

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

type MsgClient

MsgClient is the client API for Msg service.

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

func NewMsgClient

func NewMsgClient(cc grpc1.ClientConn) MsgClient

type MsgConfirmBatch added in v1.8.0

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

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

func (*MsgConfirmBatch) Descriptor added in v1.8.0

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

func (*MsgConfirmBatch) GetEthSigner added in v1.8.0

func (m *MsgConfirmBatch) GetEthSigner() string

func (*MsgConfirmBatch) GetMetadata added in v1.10.0

func (m *MsgConfirmBatch) GetMetadata() types1.MsgMetadata

func (*MsgConfirmBatch) GetNonce added in v1.8.0

func (m *MsgConfirmBatch) GetNonce() uint64

func (*MsgConfirmBatch) GetOrchestrator added in v1.8.0

func (m *MsgConfirmBatch) GetOrchestrator() string

func (MsgConfirmBatch) GetSignBytes added in v1.8.0

func (msg MsgConfirmBatch) GetSignBytes() []byte

GetSignBytes encodes the message for signing

func (*MsgConfirmBatch) GetSignature added in v1.8.0

func (m *MsgConfirmBatch) GetSignature() string

func (MsgConfirmBatch) GetSigners added in v1.8.0

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

GetSigners defines whose signature is required

func (*MsgConfirmBatch) GetTokenContract added in v1.8.0

func (m *MsgConfirmBatch) GetTokenContract() string

func (*MsgConfirmBatch) Marshal added in v1.8.0

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

func (*MsgConfirmBatch) MarshalTo added in v1.8.0

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

func (*MsgConfirmBatch) MarshalToSizedBuffer added in v1.8.0

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

func (*MsgConfirmBatch) ProtoMessage added in v1.8.0

func (*MsgConfirmBatch) ProtoMessage()

func (*MsgConfirmBatch) Reset added in v1.8.0

func (m *MsgConfirmBatch) Reset()

func (MsgConfirmBatch) Route added in v1.8.0

func (msg MsgConfirmBatch) Route() string

Route should return the name of the module

func (*MsgConfirmBatch) Size added in v1.8.0

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

func (*MsgConfirmBatch) String added in v1.8.0

func (m *MsgConfirmBatch) String() string

func (MsgConfirmBatch) Type added in v1.8.0

func (msg MsgConfirmBatch) Type() string

Type should return the action

func (*MsgConfirmBatch) Unmarshal added in v1.8.0

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

func (MsgConfirmBatch) ValidateBasic added in v1.8.0

func (msg MsgConfirmBatch) ValidateBasic() error

ValidateBasic performs stateless checks

func (*MsgConfirmBatch) XXX_DiscardUnknown added in v1.8.0

func (m *MsgConfirmBatch) XXX_DiscardUnknown()

func (*MsgConfirmBatch) XXX_Marshal added in v1.8.0

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

func (*MsgConfirmBatch) XXX_Merge added in v1.8.0

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

func (*MsgConfirmBatch) XXX_Size added in v1.8.0

func (m *MsgConfirmBatch) XXX_Size() int

func (*MsgConfirmBatch) XXX_Unmarshal added in v1.8.0

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

type MsgConfirmBatchResponse added in v1.8.0

type MsgConfirmBatchResponse struct {
}

func (*MsgConfirmBatchResponse) Descriptor added in v1.8.0

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

func (*MsgConfirmBatchResponse) Marshal added in v1.8.0

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

func (*MsgConfirmBatchResponse) MarshalTo added in v1.8.0

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

func (*MsgConfirmBatchResponse) MarshalToSizedBuffer added in v1.8.0

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

func (*MsgConfirmBatchResponse) ProtoMessage added in v1.8.0

func (*MsgConfirmBatchResponse) ProtoMessage()

func (*MsgConfirmBatchResponse) Reset added in v1.8.0

func (m *MsgConfirmBatchResponse) Reset()

func (*MsgConfirmBatchResponse) Size added in v1.8.0

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

func (*MsgConfirmBatchResponse) String added in v1.8.0

func (m *MsgConfirmBatchResponse) String() string

func (*MsgConfirmBatchResponse) Unmarshal added in v1.8.0

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

func (*MsgConfirmBatchResponse) XXX_DiscardUnknown added in v1.8.0

func (m *MsgConfirmBatchResponse) XXX_DiscardUnknown()

func (*MsgConfirmBatchResponse) XXX_Marshal added in v1.8.0

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

func (*MsgConfirmBatchResponse) XXX_Merge added in v1.8.0

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

func (*MsgConfirmBatchResponse) XXX_Size added in v1.8.0

func (m *MsgConfirmBatchResponse) XXX_Size() int

func (*MsgConfirmBatchResponse) XXX_Unmarshal added in v1.8.0

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

type MsgSendToEth added in v1.8.0

type MsgSendToEth struct {
	EthDest          string             `protobuf:"bytes,2,opt,name=eth_dest,json=ethDest,proto3" json:"eth_dest,omitempty"`
	Amount           types.Coin         `protobuf:"bytes,3,opt,name=amount,proto3" json:"amount"`
	ChainReferenceId string             `protobuf:"bytes,4,opt,name=chain_reference_id,json=chainReferenceId,proto3" json:"chain_reference_id,omitempty"`
	Metadata         types1.MsgMetadata `protobuf:"bytes,5,opt,name=metadata,proto3" json:"metadata"`
}

MsgSendToEth This is the message that a user calls when they want to bridge an asset it will later be removed when it is included in a batch and successfully submitted tokens are removed from the users balance immediately ------------- AMOUNT: the coin to send across the bridge, note the restriction that this is a single coin not a set of coins that is normal in other Cosmos messages

func NewMsgSendToEth added in v1.8.0

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

NewMsgSendToEth returns a new msgSendToEth

func (*MsgSendToEth) Descriptor added in v1.8.0

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

func (*MsgSendToEth) GetAmount added in v1.8.0

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

func (*MsgSendToEth) GetChainReferenceId added in v1.8.0

func (m *MsgSendToEth) GetChainReferenceId() string

func (*MsgSendToEth) GetEthDest added in v1.8.0

func (m *MsgSendToEth) GetEthDest() string

func (*MsgSendToEth) GetMetadata added in v1.10.0

func (m *MsgSendToEth) GetMetadata() types1.MsgMetadata

func (MsgSendToEth) GetSignBytes added in v1.8.0

func (msg MsgSendToEth) GetSignBytes() []byte

GetSignBytes encodes the message for signing

func (MsgSendToEth) GetSigners added in v1.8.0

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

GetSigners defines whose signature is required

func (*MsgSendToEth) Marshal added in v1.8.0

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

func (*MsgSendToEth) MarshalTo added in v1.8.0

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

func (*MsgSendToEth) MarshalToSizedBuffer added in v1.8.0

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

func (*MsgSendToEth) ProtoMessage added in v1.8.0

func (*MsgSendToEth) ProtoMessage()

func (*MsgSendToEth) Reset added in v1.8.0

func (m *MsgSendToEth) Reset()

func (MsgSendToEth) Route added in v1.8.0

func (msg MsgSendToEth) Route() string

Route should return the name of the module

func (*MsgSendToEth) Size added in v1.8.0

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

func (*MsgSendToEth) String added in v1.8.0

func (m *MsgSendToEth) String() string

func (MsgSendToEth) Type added in v1.8.0

func (msg MsgSendToEth) Type() string

Type should return the action

func (*MsgSendToEth) Unmarshal added in v1.8.0

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

func (MsgSendToEth) ValidateBasic added in v1.8.0

func (msg MsgSendToEth) ValidateBasic() error

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

func (*MsgSendToEth) XXX_DiscardUnknown added in v1.8.0

func (m *MsgSendToEth) XXX_DiscardUnknown()

func (*MsgSendToEth) XXX_Marshal added in v1.8.0

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

func (*MsgSendToEth) XXX_Merge added in v1.8.0

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

func (*MsgSendToEth) XXX_Size added in v1.8.0

func (m *MsgSendToEth) XXX_Size() int

func (*MsgSendToEth) XXX_Unmarshal added in v1.8.0

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

type MsgSendToEthResponse added in v1.8.0

type MsgSendToEthResponse struct {
}

func (*MsgSendToEthResponse) Descriptor added in v1.8.0

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

func (*MsgSendToEthResponse) Marshal added in v1.8.0

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

func (*MsgSendToEthResponse) MarshalTo added in v1.8.0

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

func (*MsgSendToEthResponse) MarshalToSizedBuffer added in v1.8.0

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

func (*MsgSendToEthResponse) ProtoMessage added in v1.8.0

func (*MsgSendToEthResponse) ProtoMessage()

func (*MsgSendToEthResponse) Reset added in v1.8.0

func (m *MsgSendToEthResponse) Reset()

func (*MsgSendToEthResponse) Size added in v1.8.0

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

func (*MsgSendToEthResponse) String added in v1.8.0

func (m *MsgSendToEthResponse) String() string

func (*MsgSendToEthResponse) Unmarshal added in v1.8.0

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

func (*MsgSendToEthResponse) XXX_DiscardUnknown added in v1.8.0

func (m *MsgSendToEthResponse) XXX_DiscardUnknown()

func (*MsgSendToEthResponse) XXX_Marshal added in v1.8.0

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

func (*MsgSendToEthResponse) XXX_Merge added in v1.8.0

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

func (*MsgSendToEthResponse) XXX_Size added in v1.8.0

func (m *MsgSendToEthResponse) XXX_Size() int

func (*MsgSendToEthResponse) XXX_Unmarshal added in v1.8.0

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

type MsgSendToPalomaClaim added in v1.8.0

type MsgSendToPalomaClaim struct {
	EventNonce       uint64                `protobuf:"varint,1,opt,name=event_nonce,json=eventNonce,proto3" json:"event_nonce,omitempty"`
	EthBlockHeight   uint64                `protobuf:"varint,2,opt,name=eth_block_height,json=ethBlockHeight,proto3" json:"eth_block_height,omitempty"`
	TokenContract    string                `protobuf:"bytes,3,opt,name=token_contract,json=tokenContract,proto3" json:"token_contract,omitempty"`
	Amount           cosmossdk_io_math.Int `protobuf:"bytes,4,opt,name=amount,proto3,customtype=cosmossdk.io/math.Int" json:"amount"`
	EthereumSender   string                `protobuf:"bytes,5,opt,name=ethereum_sender,json=ethereumSender,proto3" json:"ethereum_sender,omitempty"`
	PalomaReceiver   string                `protobuf:"bytes,6,opt,name=paloma_receiver,json=palomaReceiver,proto3" json:"paloma_receiver,omitempty"`
	Orchestrator     string                `protobuf:"bytes,7,opt,name=orchestrator,proto3" json:"orchestrator,omitempty"`
	ChainReferenceId string                `protobuf:"bytes,8,opt,name=chain_reference_id,json=chainReferenceId,proto3" json:"chain_reference_id,omitempty"`
	Metadata         types1.MsgMetadata    `protobuf:"bytes,9,opt,name=metadata,proto3" json:"metadata"`
}

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

func (*MsgSendToPalomaClaim) ClaimHash added in v1.8.0

func (msg *MsgSendToPalomaClaim) ClaimHash() ([]byte, error)

Hash implements BridgeDeposit.Hash modify this with care as it is security sensitive. If an element of the claim is not in this hash a single hostile validator could engineer a hash collision and execute a version of the claim with any unhashed data changed to benefit them. note that the Orchestrator is the only field excluded from this hash, this is because that value is used higher up in the store structure for who has made what claim and is verified by the msg ante-handler for signatures

func (*MsgSendToPalomaClaim) Descriptor added in v1.8.0

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

func (*MsgSendToPalomaClaim) GetChainReferenceId added in v1.8.0

func (m *MsgSendToPalomaClaim) GetChainReferenceId() string

func (MsgSendToPalomaClaim) GetClaimer added in v1.8.0

func (msg MsgSendToPalomaClaim) GetClaimer() sdk.AccAddress

func (*MsgSendToPalomaClaim) GetEthBlockHeight added in v1.8.0

func (m *MsgSendToPalomaClaim) GetEthBlockHeight() uint64

func (*MsgSendToPalomaClaim) GetEthereumSender added in v1.8.0

func (m *MsgSendToPalomaClaim) GetEthereumSender() string

func (*MsgSendToPalomaClaim) GetEventNonce added in v1.8.0

func (m *MsgSendToPalomaClaim) GetEventNonce() uint64

func (*MsgSendToPalomaClaim) GetMetadata added in v1.10.0

func (m *MsgSendToPalomaClaim) GetMetadata() types1.MsgMetadata

func (*MsgSendToPalomaClaim) GetOrchestrator added in v1.8.0

func (m *MsgSendToPalomaClaim) GetOrchestrator() string

func (*MsgSendToPalomaClaim) GetPalomaReceiver added in v1.8.0

func (m *MsgSendToPalomaClaim) GetPalomaReceiver() string

func (MsgSendToPalomaClaim) GetSignBytes added in v1.8.0

func (msg MsgSendToPalomaClaim) GetSignBytes() []byte

GetSignBytes encodes the message for signing

func (MsgSendToPalomaClaim) GetSigners added in v1.8.0

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

GetSigners defines whose signature is required

func (*MsgSendToPalomaClaim) GetTokenContract added in v1.8.0

func (m *MsgSendToPalomaClaim) GetTokenContract() string

func (*MsgSendToPalomaClaim) GetType added in v1.8.0

func (msg *MsgSendToPalomaClaim) GetType() ClaimType

GetType returns the type of the claim

func (*MsgSendToPalomaClaim) Marshal added in v1.8.0

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

func (*MsgSendToPalomaClaim) MarshalTo added in v1.8.0

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

func (*MsgSendToPalomaClaim) MarshalToSizedBuffer added in v1.8.0

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

func (*MsgSendToPalomaClaim) ProtoMessage added in v1.8.0

func (*MsgSendToPalomaClaim) ProtoMessage()

func (*MsgSendToPalomaClaim) Reset added in v1.8.0

func (m *MsgSendToPalomaClaim) Reset()

func (MsgSendToPalomaClaim) Route added in v1.8.0

func (msg MsgSendToPalomaClaim) Route() string

Route should return the name of the module

func (*MsgSendToPalomaClaim) SetOrchestrator added in v1.8.0

func (msg *MsgSendToPalomaClaim) SetOrchestrator(orchestrator sdk.AccAddress)

func (*MsgSendToPalomaClaim) Size added in v1.8.0

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

func (*MsgSendToPalomaClaim) String added in v1.8.0

func (m *MsgSendToPalomaClaim) String() string

func (MsgSendToPalomaClaim) Type added in v1.8.0

func (msg MsgSendToPalomaClaim) Type() string

Type should return the action

func (*MsgSendToPalomaClaim) Unmarshal added in v1.8.0

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

func (*MsgSendToPalomaClaim) ValidateBasic added in v1.8.0

func (msg *MsgSendToPalomaClaim) ValidateBasic() error

ValidateBasic performs stateless checks

func (*MsgSendToPalomaClaim) XXX_DiscardUnknown added in v1.8.0

func (m *MsgSendToPalomaClaim) XXX_DiscardUnknown()

func (*MsgSendToPalomaClaim) XXX_Marshal added in v1.8.0

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

func (*MsgSendToPalomaClaim) XXX_Merge added in v1.8.0

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

func (*MsgSendToPalomaClaim) XXX_Size added in v1.8.0

func (m *MsgSendToPalomaClaim) XXX_Size() int

func (*MsgSendToPalomaClaim) XXX_Unmarshal added in v1.8.0

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

type MsgSendToPalomaClaimResponse added in v1.8.0

type MsgSendToPalomaClaimResponse struct {
}

func (*MsgSendToPalomaClaimResponse) Descriptor added in v1.8.0

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

func (*MsgSendToPalomaClaimResponse) Marshal added in v1.8.0

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

func (*MsgSendToPalomaClaimResponse) MarshalTo added in v1.8.0

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

func (*MsgSendToPalomaClaimResponse) MarshalToSizedBuffer added in v1.8.0

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

func (*MsgSendToPalomaClaimResponse) ProtoMessage added in v1.8.0

func (*MsgSendToPalomaClaimResponse) ProtoMessage()

func (*MsgSendToPalomaClaimResponse) Reset added in v1.8.0

func (m *MsgSendToPalomaClaimResponse) Reset()

func (*MsgSendToPalomaClaimResponse) Size added in v1.8.0

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

func (*MsgSendToPalomaClaimResponse) String added in v1.8.0

func (*MsgSendToPalomaClaimResponse) Unmarshal added in v1.8.0

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

func (*MsgSendToPalomaClaimResponse) XXX_DiscardUnknown added in v1.8.0

func (m *MsgSendToPalomaClaimResponse) XXX_DiscardUnknown()

func (*MsgSendToPalomaClaimResponse) XXX_Marshal added in v1.8.0

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

func (*MsgSendToPalomaClaimResponse) XXX_Merge added in v1.8.0

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

func (*MsgSendToPalomaClaimResponse) XXX_Size added in v1.8.0

func (m *MsgSendToPalomaClaimResponse) XXX_Size() int

func (*MsgSendToPalomaClaimResponse) XXX_Unmarshal added in v1.8.0

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

type MsgSubmitBadSignatureEvidence added in v1.8.0

type MsgSubmitBadSignatureEvidence struct {
	Subject          *types2.Any        `protobuf:"bytes,1,opt,name=subject,proto3" json:"subject,omitempty"`
	Signature        string             `protobuf:"bytes,2,opt,name=signature,proto3" json:"signature,omitempty"`
	Sender           string             `protobuf:"bytes,3,opt,name=sender,proto3" json:"sender,omitempty"` // Deprecated: Do not use.
	ChainReferenceId string             `protobuf:"bytes,4,opt,name=chain_reference_id,json=chainReferenceId,proto3" json:"chain_reference_id,omitempty"`
	Metadata         types1.MsgMetadata `protobuf:"bytes,5,opt,name=metadata,proto3" json:"metadata"`
}

This call allows anyone to submit evidence that a validator has signed a batch that never existed on the Cosmos chain. Subject contains the batch.

func (*MsgSubmitBadSignatureEvidence) Descriptor added in v1.8.0

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

func (*MsgSubmitBadSignatureEvidence) GetChainReferenceId added in v1.8.0

func (m *MsgSubmitBadSignatureEvidence) GetChainReferenceId() string

func (*MsgSubmitBadSignatureEvidence) GetMetadata added in v1.10.0

func (*MsgSubmitBadSignatureEvidence) GetSender deprecated added in v1.8.0

func (m *MsgSubmitBadSignatureEvidence) GetSender() string

Deprecated: Do not use.

func (MsgSubmitBadSignatureEvidence) GetSignBytes added in v1.8.0

func (msg MsgSubmitBadSignatureEvidence) GetSignBytes() []byte

GetSignBytes encodes the message for signing

func (*MsgSubmitBadSignatureEvidence) GetSignature added in v1.8.0

func (m *MsgSubmitBadSignatureEvidence) GetSignature() string

func (MsgSubmitBadSignatureEvidence) GetSigners added in v1.8.0

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

GetSigners defines whose signature is required

func (*MsgSubmitBadSignatureEvidence) GetSubject added in v1.8.0

func (m *MsgSubmitBadSignatureEvidence) GetSubject() *types2.Any

func (*MsgSubmitBadSignatureEvidence) Marshal added in v1.8.0

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

func (*MsgSubmitBadSignatureEvidence) MarshalTo added in v1.8.0

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

func (*MsgSubmitBadSignatureEvidence) MarshalToSizedBuffer added in v1.8.0

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

func (*MsgSubmitBadSignatureEvidence) ProtoMessage added in v1.8.0

func (*MsgSubmitBadSignatureEvidence) ProtoMessage()

func (*MsgSubmitBadSignatureEvidence) Reset added in v1.8.0

func (m *MsgSubmitBadSignatureEvidence) Reset()

func (MsgSubmitBadSignatureEvidence) Route added in v1.8.0

Route should return the name of the module

func (*MsgSubmitBadSignatureEvidence) Size added in v1.8.0

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

func (*MsgSubmitBadSignatureEvidence) String added in v1.8.0

func (MsgSubmitBadSignatureEvidence) Type added in v1.8.0

Type should return the action

func (*MsgSubmitBadSignatureEvidence) Unmarshal added in v1.8.0

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

func (*MsgSubmitBadSignatureEvidence) ValidateBasic added in v1.8.0

func (e *MsgSubmitBadSignatureEvidence) ValidateBasic() (err error)

ValidateBasic performs stateless checks

func (*MsgSubmitBadSignatureEvidence) XXX_DiscardUnknown added in v1.8.0

func (m *MsgSubmitBadSignatureEvidence) XXX_DiscardUnknown()

func (*MsgSubmitBadSignatureEvidence) XXX_Marshal added in v1.8.0

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

func (*MsgSubmitBadSignatureEvidence) XXX_Merge added in v1.8.0

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

func (*MsgSubmitBadSignatureEvidence) XXX_Size added in v1.8.0

func (m *MsgSubmitBadSignatureEvidence) XXX_Size() int

func (*MsgSubmitBadSignatureEvidence) XXX_Unmarshal added in v1.8.0

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

type MsgSubmitBadSignatureEvidenceResponse added in v1.8.0

type MsgSubmitBadSignatureEvidenceResponse struct {
}

func (*MsgSubmitBadSignatureEvidenceResponse) Descriptor added in v1.8.0

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

func (*MsgSubmitBadSignatureEvidenceResponse) Marshal added in v1.8.0

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

func (*MsgSubmitBadSignatureEvidenceResponse) MarshalTo added in v1.8.0

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

func (*MsgSubmitBadSignatureEvidenceResponse) MarshalToSizedBuffer added in v1.8.0

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

func (*MsgSubmitBadSignatureEvidenceResponse) ProtoMessage added in v1.8.0

func (*MsgSubmitBadSignatureEvidenceResponse) ProtoMessage()

func (*MsgSubmitBadSignatureEvidenceResponse) Reset added in v1.8.0

func (*MsgSubmitBadSignatureEvidenceResponse) Size added in v1.8.0

func (*MsgSubmitBadSignatureEvidenceResponse) String added in v1.8.0

func (*MsgSubmitBadSignatureEvidenceResponse) Unmarshal added in v1.8.0

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

func (*MsgSubmitBadSignatureEvidenceResponse) XXX_DiscardUnknown added in v1.8.0

func (m *MsgSubmitBadSignatureEvidenceResponse) XXX_DiscardUnknown()

func (*MsgSubmitBadSignatureEvidenceResponse) XXX_Marshal added in v1.8.0

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

func (*MsgSubmitBadSignatureEvidenceResponse) XXX_Merge added in v1.8.0

func (*MsgSubmitBadSignatureEvidenceResponse) XXX_Size added in v1.8.0

func (*MsgSubmitBadSignatureEvidenceResponse) XXX_Unmarshal added in v1.8.0

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

type MsgUpdateParams added in v1.13.0

type MsgUpdateParams struct {
	// authority is the address that controls the module (defaults to x/gov unless
	// overwritten).
	Authority string `protobuf:"bytes,1,opt,name=authority,proto3" json:"authority,omitempty"`
	// params defines the x/gravity parameters to update.
	//
	// NOTE: All parameters must be supplied.
	Params   Params             `protobuf:"bytes,2,opt,name=params,proto3" json:"params"`
	Metadata types1.MsgMetadata `protobuf:"bytes,3,opt,name=metadata,proto3" json:"metadata"`
}

func (*MsgUpdateParams) Descriptor added in v1.13.0

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

func (*MsgUpdateParams) GetAuthority added in v1.13.0

func (m *MsgUpdateParams) GetAuthority() string

func (*MsgUpdateParams) GetMetadata added in v1.13.0

func (m *MsgUpdateParams) GetMetadata() types1.MsgMetadata

func (*MsgUpdateParams) GetParams added in v1.13.0

func (m *MsgUpdateParams) GetParams() Params

func (*MsgUpdateParams) GetSigners added in v1.13.0

func (msg *MsgUpdateParams) GetSigners() []sdk.AccAddress

GetSigners defines whose signature is required

func (*MsgUpdateParams) Marshal added in v1.13.0

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

func (*MsgUpdateParams) MarshalTo added in v1.13.0

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

func (*MsgUpdateParams) MarshalToSizedBuffer added in v1.13.0

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

func (*MsgUpdateParams) ProtoMessage added in v1.13.0

func (*MsgUpdateParams) ProtoMessage()

func (*MsgUpdateParams) Reset added in v1.13.0

func (m *MsgUpdateParams) Reset()

func (MsgUpdateParams) Route added in v1.13.0

func (msg MsgUpdateParams) Route() string

Route should return the name of the module

func (*MsgUpdateParams) Size added in v1.13.0

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

func (*MsgUpdateParams) String added in v1.13.0

func (m *MsgUpdateParams) String() string

func (MsgUpdateParams) Type added in v1.13.0

func (msg MsgUpdateParams) Type() string

Type should return the action

func (*MsgUpdateParams) Unmarshal added in v1.13.0

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

func (*MsgUpdateParams) ValidateBasic added in v1.13.0

func (msg *MsgUpdateParams) ValidateBasic() (err error)

ValidateBasic performs stateless checks

func (*MsgUpdateParams) XXX_DiscardUnknown added in v1.13.0

func (m *MsgUpdateParams) XXX_DiscardUnknown()

func (*MsgUpdateParams) XXX_Marshal added in v1.13.0

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

func (*MsgUpdateParams) XXX_Merge added in v1.13.0

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

func (*MsgUpdateParams) XXX_Size added in v1.13.0

func (m *MsgUpdateParams) XXX_Size() int

func (*MsgUpdateParams) XXX_Unmarshal added in v1.13.0

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

type MsgUpdateParamsResponse added in v1.13.0

type MsgUpdateParamsResponse struct {
}

MsgUpdateParamsResponse defines the response structure for executing a MsgUpdateParams message.

func (*MsgUpdateParamsResponse) Descriptor added in v1.13.0

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

func (*MsgUpdateParamsResponse) Marshal added in v1.13.0

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

func (*MsgUpdateParamsResponse) MarshalTo added in v1.13.0

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

func (*MsgUpdateParamsResponse) MarshalToSizedBuffer added in v1.13.0

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

func (*MsgUpdateParamsResponse) ProtoMessage added in v1.13.0

func (*MsgUpdateParamsResponse) ProtoMessage()

func (*MsgUpdateParamsResponse) Reset added in v1.13.0

func (m *MsgUpdateParamsResponse) Reset()

func (*MsgUpdateParamsResponse) Size added in v1.13.0

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

func (*MsgUpdateParamsResponse) String added in v1.13.0

func (m *MsgUpdateParamsResponse) String() string

func (*MsgUpdateParamsResponse) Unmarshal added in v1.13.0

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

func (*MsgUpdateParamsResponse) XXX_DiscardUnknown added in v1.13.0

func (m *MsgUpdateParamsResponse) XXX_DiscardUnknown()

func (*MsgUpdateParamsResponse) XXX_Marshal added in v1.13.0

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

func (*MsgUpdateParamsResponse) XXX_Merge added in v1.13.0

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

func (*MsgUpdateParamsResponse) XXX_Size added in v1.13.0

func (m *MsgUpdateParamsResponse) XXX_Size() int

func (*MsgUpdateParamsResponse) XXX_Unmarshal added in v1.13.0

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

type OutgoingTransferTx added in v1.8.0

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

OutgoingTransferTx represents an individual send from gravity to ETH

func (*OutgoingTransferTx) Descriptor added in v1.8.0

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

func (*OutgoingTransferTx) GetDestAddress added in v1.8.0

func (m *OutgoingTransferTx) GetDestAddress() string

func (*OutgoingTransferTx) GetErc20Token added in v1.8.0

func (m *OutgoingTransferTx) GetErc20Token() ERC20Token

func (*OutgoingTransferTx) GetId added in v1.8.0

func (m *OutgoingTransferTx) GetId() uint64

func (*OutgoingTransferTx) GetSender added in v1.8.0

func (m *OutgoingTransferTx) GetSender() string

func (*OutgoingTransferTx) Marshal added in v1.8.0

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

func (*OutgoingTransferTx) MarshalTo added in v1.8.0

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

func (*OutgoingTransferTx) MarshalToSizedBuffer added in v1.8.0

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

func (*OutgoingTransferTx) ProtoMessage added in v1.8.0

func (*OutgoingTransferTx) ProtoMessage()

func (*OutgoingTransferTx) Reset added in v1.8.0

func (m *OutgoingTransferTx) Reset()

func (*OutgoingTransferTx) Size added in v1.8.0

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

func (*OutgoingTransferTx) String added in v1.8.0

func (m *OutgoingTransferTx) String() string

func (OutgoingTransferTx) ToInternal added in v1.8.0

func (*OutgoingTransferTx) Unmarshal added in v1.8.0

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

func (*OutgoingTransferTx) XXX_DiscardUnknown added in v1.8.0

func (m *OutgoingTransferTx) XXX_DiscardUnknown()

func (*OutgoingTransferTx) XXX_Marshal added in v1.8.0

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

func (*OutgoingTransferTx) XXX_Merge added in v1.8.0

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

func (*OutgoingTransferTx) XXX_Size added in v1.8.0

func (m *OutgoingTransferTx) XXX_Size() int

func (*OutgoingTransferTx) XXX_Unmarshal added in v1.8.0

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

type OutgoingTxBatch added in v1.8.0

type OutgoingTxBatch struct {
	BatchNonce         uint64               `protobuf:"varint,1,opt,name=batch_nonce,json=batchNonce,proto3" json:"batch_nonce,omitempty"`
	BatchTimeout       uint64               `protobuf:"varint,2,opt,name=batch_timeout,json=batchTimeout,proto3" json:"batch_timeout,omitempty"`
	Transactions       []OutgoingTransferTx `protobuf:"bytes,3,rep,name=transactions,proto3" json:"transactions"`
	TokenContract      string               `protobuf:"bytes,4,opt,name=token_contract,json=tokenContract,proto3" json:"token_contract,omitempty"`
	PalomaBlockCreated uint64               `protobuf:"varint,5,opt,name=paloma_block_created,json=palomaBlockCreated,proto3" json:"paloma_block_created,omitempty"`
	ChainReferenceId   string               `protobuf:"bytes,6,opt,name=chain_reference_id,json=chainReferenceId,proto3" json:"chain_reference_id,omitempty"`
	BytesToSign        []byte               `protobuf:"bytes,7,opt,name=bytes_to_sign,json=bytesToSign,proto3" json:"bytes_to_sign,omitempty"`
	Assignee           string               `protobuf:"bytes,8,opt,name=assignee,proto3" json:"assignee,omitempty"`
}

OutgoingTxBatch represents a batch of transactions going from gravity to ETH

func (*OutgoingTxBatch) Descriptor added in v1.8.0

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

func (*OutgoingTxBatch) GetAssignee added in v1.8.0

func (m *OutgoingTxBatch) GetAssignee() string

func (*OutgoingTxBatch) GetBatchNonce added in v1.8.0

func (m *OutgoingTxBatch) GetBatchNonce() uint64

func (*OutgoingTxBatch) GetBatchTimeout added in v1.8.0

func (m *OutgoingTxBatch) GetBatchTimeout() uint64

func (*OutgoingTxBatch) GetBytesToSign added in v1.8.0

func (m *OutgoingTxBatch) GetBytesToSign() []byte

func (OutgoingTxBatch) GetChainReferenceID added in v1.8.0

func (o OutgoingTxBatch) GetChainReferenceID() string

GetChainReferenceID is required for EthereumSigned interface

func (*OutgoingTxBatch) GetChainReferenceId added in v1.8.0

func (m *OutgoingTxBatch) GetChainReferenceId() string

func (OutgoingTxBatch) GetCheckpoint added in v1.8.0

func (o OutgoingTxBatch) GetCheckpoint(turnstoneID string) ([]byte, error)

GetCheckpoint is required for EthereumSigned interface

func (*OutgoingTxBatch) GetPalomaBlockCreated added in v1.8.0

func (m *OutgoingTxBatch) GetPalomaBlockCreated() uint64

func (*OutgoingTxBatch) GetTokenContract added in v1.8.0

func (m *OutgoingTxBatch) GetTokenContract() string

func (*OutgoingTxBatch) GetTransactions added in v1.8.0

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

func (*OutgoingTxBatch) Marshal added in v1.8.0

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

func (*OutgoingTxBatch) MarshalTo added in v1.8.0

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

func (*OutgoingTxBatch) MarshalToSizedBuffer added in v1.8.0

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

func (*OutgoingTxBatch) ProtoMessage added in v1.8.0

func (*OutgoingTxBatch) ProtoMessage()

func (*OutgoingTxBatch) Reset added in v1.8.0

func (m *OutgoingTxBatch) Reset()

func (*OutgoingTxBatch) Size added in v1.8.0

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

func (*OutgoingTxBatch) String added in v1.8.0

func (m *OutgoingTxBatch) String() string

func (*OutgoingTxBatch) ToInternal added in v1.8.0

func (o *OutgoingTxBatch) ToInternal() (*InternalOutgoingTxBatch, error)

func (*OutgoingTxBatch) Unmarshal added in v1.8.0

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

func (*OutgoingTxBatch) XXX_DiscardUnknown added in v1.8.0

func (m *OutgoingTxBatch) XXX_DiscardUnknown()

func (*OutgoingTxBatch) XXX_Marshal added in v1.8.0

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

func (*OutgoingTxBatch) XXX_Merge added in v1.8.0

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

func (*OutgoingTxBatch) XXX_Size added in v1.8.0

func (m *OutgoingTxBatch) XXX_Size() int

func (*OutgoingTxBatch) XXX_Unmarshal added in v1.8.0

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

type Params

type Params struct {
	ContractSourceHash           string                      `protobuf:"bytes,1,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,3,opt,name=bridge_chain_id,json=bridgeChainId,proto3" json:"bridge_chain_id,omitempty"`
	SignedBatchesWindow          uint64                      `protobuf:"varint,4,opt,name=signed_batches_window,json=signedBatchesWindow,proto3" json:"signed_batches_window,omitempty"`
	TargetBatchTimeout           uint64                      `protobuf:"varint,5,opt,name=target_batch_timeout,json=targetBatchTimeout,proto3" json:"target_batch_timeout,omitempty"`
	AverageBlockTime             uint64                      `protobuf:"varint,6,opt,name=average_block_time,json=averageBlockTime,proto3" json:"average_block_time,omitempty"`
	AverageEthereumBlockTime     uint64                      `` /* 138-byte string literal not displayed */
	SlashFractionBatch           cosmossdk_io_math.LegacyDec `` /* 146-byte string literal not displayed */
	SlashFractionBadEthSignature cosmossdk_io_math.LegacyDec `` /* 180-byte string literal not displayed */
}

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 claim for the same Ethereum event

func DefaultParams

func DefaultParams() *Params

DefaultParams returns a copy of the default params

func NewParams added in v1.13.0

func NewParams(contractSourceHash string, bridgeEthereumAddress string, bridgeChainId uint64, signedBatchesWindow uint64, targetBatchTimeout uint64, averageBlockTime uint64, averageEthereumBlockTime uint64, slashFractionBatch math.LegacyDec, slashFractionBadEthSignature math.LegacyDec) 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) GetContractSourceHash

func (m *Params) GetContractSourceHash() string

func (*Params) GetSignedBatchesWindow

func (m *Params) GetSignedBatchesWindow() uint64

func (*Params) GetTargetBatchTimeout added in v1.8.0

func (m *Params) GetTargetBatchTimeout() uint64

func (*Params) Marshal

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

func (*Params) MarshalTo

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

func (*Params) MarshalToSizedBuffer

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

func (*Params) ParamSetPairs

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

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

func (*Params) ProtoMessage

func (*Params) ProtoMessage()

func (*Params) Reset

func (m *Params) Reset()

func (*Params) Size

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

func (*Params) String

func (m *Params) String() string

func (*Params) Unmarshal

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

func (Params) ValidateBasic

func (p Params) ValidateBasic() error

ValidateBasic checks that the parameters have valid values.

func (*Params) XXX_DiscardUnknown

func (m *Params) XXX_DiscardUnknown()

func (*Params) XXX_Marshal

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

func (*Params) XXX_Merge

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

func (*Params) XXX_Size

func (m *Params) XXX_Size() int

func (*Params) XXX_Unmarshal

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

type QueryAttestationsRequest added in v1.8.0

type QueryAttestationsRequest struct {
	// limit defines how many attestations to limit in the response.
	Limit uint64 `protobuf:"varint,1,opt,name=limit,proto3" json:"limit,omitempty"`
	// order_by provides ordering of atteststions by nonce in the response. Either
	// 'asc' or 'desc' can be provided. If no value is provided, it defaults to
	// 'asc'.
	OrderBy string `protobuf:"bytes,2,opt,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"`
	// claim_type allows filtering attestations by Ethereum claim type.
	ClaimType string `protobuf:"bytes,3,opt,name=claim_type,json=claimType,proto3" json:"claim_type,omitempty"`
	// nonce allows filtering attestations by Ethereum claim nonce.
	Nonce uint64 `protobuf:"varint,4,opt,name=nonce,proto3" json:"nonce,omitempty"`
	// height allows filtering attestations by Ethereum claim height.
	Height uint64 `protobuf:"varint,5,opt,name=height,proto3" json:"height,omitempty"`
	// indicates whether to search for store data using the old Gravity v1 key
	// "OracleAttestationKey" Note that queries before the Mercury upgrade at
	// height 1282013 must set this to true
	UseV1Key bool `protobuf:"varint,6,opt,name=use_v1_key,json=useV1Key,proto3" json:"use_v1_key,omitempty"`
}

QueryAttestationsRequest defines the request structure for getting recent attestations with optional query parameters. By default, a limited set of recent attestations will be returned, defined by 'limit'. These attestations can be ordered ascending or descending by nonce, that defaults to ascending. Filtering criteria may also be provided, including nonce, claim type, and height. Note, that an attestation will be returned if it matches ANY of the filter query parameters provided.

func (*QueryAttestationsRequest) Descriptor added in v1.8.0

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

func (*QueryAttestationsRequest) GetClaimType added in v1.8.0

func (m *QueryAttestationsRequest) GetClaimType() string

func (*QueryAttestationsRequest) GetHeight added in v1.8.0

func (m *QueryAttestationsRequest) GetHeight() uint64

func (*QueryAttestationsRequest) GetLimit added in v1.8.0

func (m *QueryAttestationsRequest) GetLimit() uint64

func (*QueryAttestationsRequest) GetNonce added in v1.8.0

func (m *QueryAttestationsRequest) GetNonce() uint64

func (*QueryAttestationsRequest) GetOrderBy added in v1.8.0

func (m *QueryAttestationsRequest) GetOrderBy() string

func (*QueryAttestationsRequest) GetUseV1Key added in v1.8.0

func (m *QueryAttestationsRequest) GetUseV1Key() bool

func (*QueryAttestationsRequest) Marshal added in v1.8.0

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

func (*QueryAttestationsRequest) MarshalTo added in v1.8.0

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

func (*QueryAttestationsRequest) MarshalToSizedBuffer added in v1.8.0

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

func (*QueryAttestationsRequest) ProtoMessage added in v1.8.0

func (*QueryAttestationsRequest) ProtoMessage()

func (*QueryAttestationsRequest) Reset added in v1.8.0

func (m *QueryAttestationsRequest) Reset()

func (*QueryAttestationsRequest) Size added in v1.8.0

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

func (*QueryAttestationsRequest) String added in v1.8.0

func (m *QueryAttestationsRequest) String() string

func (*QueryAttestationsRequest) Unmarshal added in v1.8.0

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

func (*QueryAttestationsRequest) XXX_DiscardUnknown added in v1.8.0

func (m *QueryAttestationsRequest) XXX_DiscardUnknown()

func (*QueryAttestationsRequest) XXX_Marshal added in v1.8.0

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

func (*QueryAttestationsRequest) XXX_Merge added in v1.8.0

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

func (*QueryAttestationsRequest) XXX_Size added in v1.8.0

func (m *QueryAttestationsRequest) XXX_Size() int

func (*QueryAttestationsRequest) XXX_Unmarshal added in v1.8.0

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

type QueryAttestationsResponse added in v1.8.0

type QueryAttestationsResponse struct {
	Attestations []Attestation `protobuf:"bytes,1,rep,name=attestations,proto3" json:"attestations"`
}

func (*QueryAttestationsResponse) Descriptor added in v1.8.0

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

func (*QueryAttestationsResponse) GetAttestations added in v1.8.0

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

func (*QueryAttestationsResponse) Marshal added in v1.8.0

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

func (*QueryAttestationsResponse) MarshalTo added in v1.8.0

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

func (*QueryAttestationsResponse) MarshalToSizedBuffer added in v1.8.0

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

func (*QueryAttestationsResponse) ProtoMessage added in v1.8.0

func (*QueryAttestationsResponse) ProtoMessage()

func (*QueryAttestationsResponse) Reset added in v1.8.0

func (m *QueryAttestationsResponse) Reset()

func (*QueryAttestationsResponse) Size added in v1.8.0

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

func (*QueryAttestationsResponse) String added in v1.8.0

func (m *QueryAttestationsResponse) String() string

func (*QueryAttestationsResponse) Unmarshal added in v1.8.0

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

func (*QueryAttestationsResponse) XXX_DiscardUnknown added in v1.8.0

func (m *QueryAttestationsResponse) XXX_DiscardUnknown()

func (*QueryAttestationsResponse) XXX_Marshal added in v1.8.0

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

func (*QueryAttestationsResponse) XXX_Merge added in v1.8.0

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

func (*QueryAttestationsResponse) XXX_Size added in v1.8.0

func (m *QueryAttestationsResponse) XXX_Size() int

func (*QueryAttestationsResponse) XXX_Unmarshal added in v1.8.0

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

type QueryBatchConfirmsRequest added in v1.8.0

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

func (*QueryBatchConfirmsRequest) Descriptor added in v1.8.0

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

func (*QueryBatchConfirmsRequest) GetContractAddress added in v1.8.0

func (m *QueryBatchConfirmsRequest) GetContractAddress() string

func (*QueryBatchConfirmsRequest) GetNonce added in v1.8.0

func (m *QueryBatchConfirmsRequest) GetNonce() uint64

func (*QueryBatchConfirmsRequest) Marshal added in v1.8.0

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

func (*QueryBatchConfirmsRequest) MarshalTo added in v1.8.0

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

func (*QueryBatchConfirmsRequest) MarshalToSizedBuffer added in v1.8.0

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

func (*QueryBatchConfirmsRequest) ProtoMessage added in v1.8.0

func (*QueryBatchConfirmsRequest) ProtoMessage()

func (*QueryBatchConfirmsRequest) Reset added in v1.8.0

func (m *QueryBatchConfirmsRequest) Reset()

func (*QueryBatchConfirmsRequest) Size added in v1.8.0

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

func (*QueryBatchConfirmsRequest) String added in v1.8.0

func (m *QueryBatchConfirmsRequest) String() string

func (*QueryBatchConfirmsRequest) Unmarshal added in v1.8.0

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

func (*QueryBatchConfirmsRequest) XXX_DiscardUnknown added in v1.8.0

func (m *QueryBatchConfirmsRequest) XXX_DiscardUnknown()

func (*QueryBatchConfirmsRequest) XXX_Marshal added in v1.8.0

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

func (*QueryBatchConfirmsRequest) XXX_Merge added in v1.8.0

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

func (*QueryBatchConfirmsRequest) XXX_Size added in v1.8.0

func (m *QueryBatchConfirmsRequest) XXX_Size() int

func (*QueryBatchConfirmsRequest) XXX_Unmarshal added in v1.8.0

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

type QueryBatchConfirmsResponse added in v1.8.0

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

func (*QueryBatchConfirmsResponse) Descriptor added in v1.8.0

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

func (*QueryBatchConfirmsResponse) GetConfirms added in v1.8.0

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

func (*QueryBatchConfirmsResponse) Marshal added in v1.8.0

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

func (*QueryBatchConfirmsResponse) MarshalTo added in v1.8.0

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

func (*QueryBatchConfirmsResponse) MarshalToSizedBuffer added in v1.8.0

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

func (*QueryBatchConfirmsResponse) ProtoMessage added in v1.8.0

func (*QueryBatchConfirmsResponse) ProtoMessage()

func (*QueryBatchConfirmsResponse) Reset added in v1.8.0

func (m *QueryBatchConfirmsResponse) Reset()

func (*QueryBatchConfirmsResponse) Size added in v1.8.0

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

func (*QueryBatchConfirmsResponse) String added in v1.8.0

func (m *QueryBatchConfirmsResponse) String() string

func (*QueryBatchConfirmsResponse) Unmarshal added in v1.8.0

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

func (*QueryBatchConfirmsResponse) XXX_DiscardUnknown added in v1.8.0

func (m *QueryBatchConfirmsResponse) XXX_DiscardUnknown()

func (*QueryBatchConfirmsResponse) XXX_Marshal added in v1.8.0

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

func (*QueryBatchConfirmsResponse) XXX_Merge added in v1.8.0

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

func (*QueryBatchConfirmsResponse) XXX_Size added in v1.8.0

func (m *QueryBatchConfirmsResponse) XXX_Size() int

func (*QueryBatchConfirmsResponse) XXX_Unmarshal added in v1.8.0

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

type QueryBatchRequestByNonceRequest added in v1.8.0

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

func (*QueryBatchRequestByNonceRequest) Descriptor added in v1.8.0

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

func (*QueryBatchRequestByNonceRequest) GetContractAddress added in v1.8.0

func (m *QueryBatchRequestByNonceRequest) GetContractAddress() string

func (*QueryBatchRequestByNonceRequest) GetNonce added in v1.8.0

func (*QueryBatchRequestByNonceRequest) Marshal added in v1.8.0

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

func (*QueryBatchRequestByNonceRequest) MarshalTo added in v1.8.0

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

func (*QueryBatchRequestByNonceRequest) MarshalToSizedBuffer added in v1.8.0

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

func (*QueryBatchRequestByNonceRequest) ProtoMessage added in v1.8.0

func (*QueryBatchRequestByNonceRequest) ProtoMessage()

func (*QueryBatchRequestByNonceRequest) Reset added in v1.8.0

func (*QueryBatchRequestByNonceRequest) Size added in v1.8.0

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

func (*QueryBatchRequestByNonceRequest) String added in v1.8.0

func (*QueryBatchRequestByNonceRequest) Unmarshal added in v1.8.0

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

func (*QueryBatchRequestByNonceRequest) XXX_DiscardUnknown added in v1.8.0

func (m *QueryBatchRequestByNonceRequest) XXX_DiscardUnknown()

func (*QueryBatchRequestByNonceRequest) XXX_Marshal added in v1.8.0

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

func (*QueryBatchRequestByNonceRequest) XXX_Merge added in v1.8.0

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

func (*QueryBatchRequestByNonceRequest) XXX_Size added in v1.8.0

func (m *QueryBatchRequestByNonceRequest) XXX_Size() int

func (*QueryBatchRequestByNonceRequest) XXX_Unmarshal added in v1.8.0

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

type QueryBatchRequestByNonceResponse added in v1.8.0

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

func (*QueryBatchRequestByNonceResponse) Descriptor added in v1.8.0

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

func (*QueryBatchRequestByNonceResponse) GetBatch added in v1.8.0

func (*QueryBatchRequestByNonceResponse) Marshal added in v1.8.0

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

func (*QueryBatchRequestByNonceResponse) MarshalTo added in v1.8.0

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

func (*QueryBatchRequestByNonceResponse) MarshalToSizedBuffer added in v1.8.0

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

func (*QueryBatchRequestByNonceResponse) ProtoMessage added in v1.8.0

func (*QueryBatchRequestByNonceResponse) ProtoMessage()

func (*QueryBatchRequestByNonceResponse) Reset added in v1.8.0

func (*QueryBatchRequestByNonceResponse) Size added in v1.8.0

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

func (*QueryBatchRequestByNonceResponse) String added in v1.8.0

func (*QueryBatchRequestByNonceResponse) Unmarshal added in v1.8.0

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

func (*QueryBatchRequestByNonceResponse) XXX_DiscardUnknown added in v1.8.0

func (m *QueryBatchRequestByNonceResponse) XXX_DiscardUnknown()

func (*QueryBatchRequestByNonceResponse) XXX_Marshal added in v1.8.0

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

func (*QueryBatchRequestByNonceResponse) XXX_Merge added in v1.8.0

func (*QueryBatchRequestByNonceResponse) XXX_Size added in v1.8.0

func (m *QueryBatchRequestByNonceResponse) XXX_Size() int

func (*QueryBatchRequestByNonceResponse) XXX_Unmarshal added in v1.8.0

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

type QueryClient

type QueryClient interface {
	Params(ctx context.Context, in *QueryParamsRequest, opts ...grpc.CallOption) (*QueryParamsResponse, error)
	LastPendingBatchRequestByAddr(ctx context.Context, in *QueryLastPendingBatchRequestByAddrRequest, opts ...grpc.CallOption) (*QueryLastPendingBatchRequestByAddrResponse, error)
	LastEventNonce(ctx context.Context, in *QueryLastEventNonceRequest, opts ...grpc.CallOption) (*QueryLastEventNonceResponse, error)
	LastEventNonceByAddr(ctx context.Context, in *QueryLastEventNonceByAddrRequest, opts ...grpc.CallOption) (*QueryLastEventNonceResponse, error)
	OutgoingTxBatches(ctx context.Context, in *QueryOutgoingTxBatchesRequest, opts ...grpc.CallOption) (*QueryOutgoingTxBatchesResponse, error)
	BatchRequestByNonce(ctx context.Context, in *QueryBatchRequestByNonceRequest, opts ...grpc.CallOption) (*QueryBatchRequestByNonceResponse, error)
	BatchConfirms(ctx context.Context, in *QueryBatchConfirmsRequest, opts ...grpc.CallOption) (*QueryBatchConfirmsResponse, error)
	ERC20ToDenom(ctx context.Context, in *QueryERC20ToDenomRequest, opts ...grpc.CallOption) (*QueryERC20ToDenomResponse, error)
	DenomToERC20(ctx context.Context, in *QueryDenomToERC20Request, opts ...grpc.CallOption) (*QueryDenomToERC20Response, error)
	GetLastObservedEthBlock(ctx context.Context, in *QueryLastObservedEthBlockRequest, opts ...grpc.CallOption) (*QueryLastObservedEthBlockResponse, error)
	GetLastObservedEthNonce(ctx context.Context, in *QueryLastObservedEthNonceRequest, opts ...grpc.CallOption) (*QueryLastObservedEthNonceResponse, error)
	GetAttestations(ctx context.Context, in *QueryAttestationsRequest, opts ...grpc.CallOption) (*QueryAttestationsResponse, error)
	GetErc20ToDenoms(ctx context.Context, in *QueryErc20ToDenoms, opts ...grpc.CallOption) (*QueryErc20ToDenomsResponse, error)
	GetPendingSendToEth(ctx context.Context, in *QueryPendingSendToEth, opts ...grpc.CallOption) (*QueryPendingSendToEthResponse, 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 QueryDenomToERC20Request added in v1.8.0

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

func (*QueryDenomToERC20Request) Descriptor added in v1.8.0

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

func (*QueryDenomToERC20Request) GetChainReferenceId added in v1.8.0

func (m *QueryDenomToERC20Request) GetChainReferenceId() string

func (*QueryDenomToERC20Request) GetDenom added in v1.8.0

func (m *QueryDenomToERC20Request) GetDenom() string

func (*QueryDenomToERC20Request) Marshal added in v1.8.0

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

func (*QueryDenomToERC20Request) MarshalTo added in v1.8.0

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

func (*QueryDenomToERC20Request) MarshalToSizedBuffer added in v1.8.0

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

func (*QueryDenomToERC20Request) ProtoMessage added in v1.8.0

func (*QueryDenomToERC20Request) ProtoMessage()

func (*QueryDenomToERC20Request) Reset added in v1.8.0

func (m *QueryDenomToERC20Request) Reset()

func (*QueryDenomToERC20Request) Size added in v1.8.0

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

func (*QueryDenomToERC20Request) String added in v1.8.0

func (m *QueryDenomToERC20Request) String() string

func (*QueryDenomToERC20Request) Unmarshal added in v1.8.0

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

func (*QueryDenomToERC20Request) XXX_DiscardUnknown added in v1.8.0

func (m *QueryDenomToERC20Request) XXX_DiscardUnknown()

func (*QueryDenomToERC20Request) XXX_Marshal added in v1.8.0

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

func (*QueryDenomToERC20Request) XXX_Merge added in v1.8.0

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

func (*QueryDenomToERC20Request) XXX_Size added in v1.8.0

func (m *QueryDenomToERC20Request) XXX_Size() int

func (*QueryDenomToERC20Request) XXX_Unmarshal added in v1.8.0

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

type QueryDenomToERC20Response added in v1.8.0

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

func (*QueryDenomToERC20Response) Descriptor added in v1.8.0

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

func (*QueryDenomToERC20Response) GetErc20 added in v1.8.0

func (m *QueryDenomToERC20Response) GetErc20() string

func (*QueryDenomToERC20Response) Marshal added in v1.8.0

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

func (*QueryDenomToERC20Response) MarshalTo added in v1.8.0

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

func (*QueryDenomToERC20Response) MarshalToSizedBuffer added in v1.8.0

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

func (*QueryDenomToERC20Response) ProtoMessage added in v1.8.0

func (*QueryDenomToERC20Response) ProtoMessage()

func (*QueryDenomToERC20Response) Reset added in v1.8.0

func (m *QueryDenomToERC20Response) Reset()

func (*QueryDenomToERC20Response) Size added in v1.8.0

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

func (*QueryDenomToERC20Response) String added in v1.8.0

func (m *QueryDenomToERC20Response) String() string

func (*QueryDenomToERC20Response) Unmarshal added in v1.8.0

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

func (*QueryDenomToERC20Response) XXX_DiscardUnknown added in v1.8.0

func (m *QueryDenomToERC20Response) XXX_DiscardUnknown()

func (*QueryDenomToERC20Response) XXX_Marshal added in v1.8.0

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

func (*QueryDenomToERC20Response) XXX_Merge added in v1.8.0

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

func (*QueryDenomToERC20Response) XXX_Size added in v1.8.0

func (m *QueryDenomToERC20Response) XXX_Size() int

func (*QueryDenomToERC20Response) XXX_Unmarshal added in v1.8.0

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

type QueryERC20ToDenomRequest added in v1.8.0

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

func (*QueryERC20ToDenomRequest) Descriptor added in v1.8.0

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

func (*QueryERC20ToDenomRequest) GetChainReferenceId added in v1.8.0

func (m *QueryERC20ToDenomRequest) GetChainReferenceId() string

func (*QueryERC20ToDenomRequest) GetErc20 added in v1.8.0

func (m *QueryERC20ToDenomRequest) GetErc20() string

func (*QueryERC20ToDenomRequest) Marshal added in v1.8.0

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

func (*QueryERC20ToDenomRequest) MarshalTo added in v1.8.0

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

func (*QueryERC20ToDenomRequest) MarshalToSizedBuffer added in v1.8.0

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

func (*QueryERC20ToDenomRequest) ProtoMessage added in v1.8.0

func (*QueryERC20ToDenomRequest) ProtoMessage()

func (*QueryERC20ToDenomRequest) Reset added in v1.8.0

func (m *QueryERC20ToDenomRequest) Reset()

func (*QueryERC20ToDenomRequest) Size added in v1.8.0

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

func (*QueryERC20ToDenomRequest) String added in v1.8.0

func (m *QueryERC20ToDenomRequest) String() string

func (*QueryERC20ToDenomRequest) Unmarshal added in v1.8.0

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

func (*QueryERC20ToDenomRequest) XXX_DiscardUnknown added in v1.8.0

func (m *QueryERC20ToDenomRequest) XXX_DiscardUnknown()

func (*QueryERC20ToDenomRequest) XXX_Marshal added in v1.8.0

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

func (*QueryERC20ToDenomRequest) XXX_Merge added in v1.8.0

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

func (*QueryERC20ToDenomRequest) XXX_Size added in v1.8.0

func (m *QueryERC20ToDenomRequest) XXX_Size() int

func (*QueryERC20ToDenomRequest) XXX_Unmarshal added in v1.8.0

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

type QueryERC20ToDenomResponse added in v1.8.0

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

func (*QueryERC20ToDenomResponse) Descriptor added in v1.8.0

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

func (*QueryERC20ToDenomResponse) GetDenom added in v1.8.0

func (m *QueryERC20ToDenomResponse) GetDenom() string

func (*QueryERC20ToDenomResponse) Marshal added in v1.8.0

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

func (*QueryERC20ToDenomResponse) MarshalTo added in v1.8.0

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

func (*QueryERC20ToDenomResponse) MarshalToSizedBuffer added in v1.8.0

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

func (*QueryERC20ToDenomResponse) ProtoMessage added in v1.8.0

func (*QueryERC20ToDenomResponse) ProtoMessage()

func (*QueryERC20ToDenomResponse) Reset added in v1.8.0

func (m *QueryERC20ToDenomResponse) Reset()

func (*QueryERC20ToDenomResponse) Size added in v1.8.0

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

func (*QueryERC20ToDenomResponse) String added in v1.8.0

func (m *QueryERC20ToDenomResponse) String() string

func (*QueryERC20ToDenomResponse) Unmarshal added in v1.8.0

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

func (*QueryERC20ToDenomResponse) XXX_DiscardUnknown added in v1.8.0

func (m *QueryERC20ToDenomResponse) XXX_DiscardUnknown()

func (*QueryERC20ToDenomResponse) XXX_Marshal added in v1.8.0

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

func (*QueryERC20ToDenomResponse) XXX_Merge added in v1.8.0

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

func (*QueryERC20ToDenomResponse) XXX_Size added in v1.8.0

func (m *QueryERC20ToDenomResponse) XXX_Size() int

func (*QueryERC20ToDenomResponse) XXX_Unmarshal added in v1.8.0

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

type QueryErc20ToDenoms added in v1.8.0

type QueryErc20ToDenoms struct {
}

func (*QueryErc20ToDenoms) Descriptor added in v1.8.0

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

func (*QueryErc20ToDenoms) Marshal added in v1.8.0

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

func (*QueryErc20ToDenoms) MarshalTo added in v1.8.0

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

func (*QueryErc20ToDenoms) MarshalToSizedBuffer added in v1.8.0

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

func (*QueryErc20ToDenoms) ProtoMessage added in v1.8.0

func (*QueryErc20ToDenoms) ProtoMessage()

func (*QueryErc20ToDenoms) Reset added in v1.8.0

func (m *QueryErc20ToDenoms) Reset()

func (*QueryErc20ToDenoms) Size added in v1.8.0

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

func (*QueryErc20ToDenoms) String added in v1.8.0

func (m *QueryErc20ToDenoms) String() string

func (*QueryErc20ToDenoms) Unmarshal added in v1.8.0

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

func (*QueryErc20ToDenoms) XXX_DiscardUnknown added in v1.8.0

func (m *QueryErc20ToDenoms) XXX_DiscardUnknown()

func (*QueryErc20ToDenoms) XXX_Marshal added in v1.8.0

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

func (*QueryErc20ToDenoms) XXX_Merge added in v1.8.0

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

func (*QueryErc20ToDenoms) XXX_Size added in v1.8.0

func (m *QueryErc20ToDenoms) XXX_Size() int

func (*QueryErc20ToDenoms) XXX_Unmarshal added in v1.8.0

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

type QueryErc20ToDenomsResponse added in v1.8.0

type QueryErc20ToDenomsResponse struct {
	Erc20ToDenom []ERC20ToDenom `protobuf:"bytes,1,rep,name=erc20_to_denom,json=erc20ToDenom,proto3" json:"erc20_to_denom"`
}

func (*QueryErc20ToDenomsResponse) Descriptor added in v1.8.0

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

func (*QueryErc20ToDenomsResponse) GetErc20ToDenom added in v1.8.0

func (m *QueryErc20ToDenomsResponse) GetErc20ToDenom() []ERC20ToDenom

func (*QueryErc20ToDenomsResponse) Marshal added in v1.8.0

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

func (*QueryErc20ToDenomsResponse) MarshalTo added in v1.8.0

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

func (*QueryErc20ToDenomsResponse) MarshalToSizedBuffer added in v1.8.0

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

func (*QueryErc20ToDenomsResponse) ProtoMessage added in v1.8.0

func (*QueryErc20ToDenomsResponse) ProtoMessage()

func (*QueryErc20ToDenomsResponse) Reset added in v1.8.0

func (m *QueryErc20ToDenomsResponse) Reset()

func (*QueryErc20ToDenomsResponse) Size added in v1.8.0

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

func (*QueryErc20ToDenomsResponse) String added in v1.8.0

func (m *QueryErc20ToDenomsResponse) String() string

func (*QueryErc20ToDenomsResponse) Unmarshal added in v1.8.0

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

func (*QueryErc20ToDenomsResponse) XXX_DiscardUnknown added in v1.8.0

func (m *QueryErc20ToDenomsResponse) XXX_DiscardUnknown()

func (*QueryErc20ToDenomsResponse) XXX_Marshal added in v1.8.0

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

func (*QueryErc20ToDenomsResponse) XXX_Merge added in v1.8.0

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

func (*QueryErc20ToDenomsResponse) XXX_Size added in v1.8.0

func (m *QueryErc20ToDenomsResponse) XXX_Size() int

func (*QueryErc20ToDenomsResponse) XXX_Unmarshal added in v1.8.0

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

type QueryLastEventNonceByAddrRequest added in v1.8.0

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

func (*QueryLastEventNonceByAddrRequest) Descriptor added in v1.8.0

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

func (*QueryLastEventNonceByAddrRequest) GetAddress added in v1.8.0

func (m *QueryLastEventNonceByAddrRequest) GetAddress() string

func (*QueryLastEventNonceByAddrRequest) Marshal added in v1.8.0

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

func (*QueryLastEventNonceByAddrRequest) MarshalTo added in v1.8.0

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

func (*QueryLastEventNonceByAddrRequest) MarshalToSizedBuffer added in v1.8.0

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

func (*QueryLastEventNonceByAddrRequest) ProtoMessage added in v1.8.0

func (*QueryLastEventNonceByAddrRequest) ProtoMessage()

func (*QueryLastEventNonceByAddrRequest) Reset added in v1.8.0

func (*QueryLastEventNonceByAddrRequest) Size added in v1.8.0

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

func (*QueryLastEventNonceByAddrRequest) String added in v1.8.0

func (*QueryLastEventNonceByAddrRequest) Unmarshal added in v1.8.0

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

func (*QueryLastEventNonceByAddrRequest) XXX_DiscardUnknown added in v1.8.0

func (m *QueryLastEventNonceByAddrRequest) XXX_DiscardUnknown()

func (*QueryLastEventNonceByAddrRequest) XXX_Marshal added in v1.8.0

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

func (*QueryLastEventNonceByAddrRequest) XXX_Merge added in v1.8.0

func (*QueryLastEventNonceByAddrRequest) XXX_Size added in v1.8.0

func (m *QueryLastEventNonceByAddrRequest) XXX_Size() int

func (*QueryLastEventNonceByAddrRequest) XXX_Unmarshal added in v1.8.0

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

type QueryLastEventNonceRequest added in v1.10.0

type QueryLastEventNonceRequest struct {
}

func (*QueryLastEventNonceRequest) Descriptor added in v1.10.0

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

func (*QueryLastEventNonceRequest) Marshal added in v1.10.0

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

func (*QueryLastEventNonceRequest) MarshalTo added in v1.10.0

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

func (*QueryLastEventNonceRequest) MarshalToSizedBuffer added in v1.10.0

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

func (*QueryLastEventNonceRequest) ProtoMessage added in v1.10.0

func (*QueryLastEventNonceRequest) ProtoMessage()

func (*QueryLastEventNonceRequest) Reset added in v1.10.0

func (m *QueryLastEventNonceRequest) Reset()

func (*QueryLastEventNonceRequest) Size added in v1.10.0

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

func (*QueryLastEventNonceRequest) String added in v1.10.0

func (m *QueryLastEventNonceRequest) String() string

func (*QueryLastEventNonceRequest) Unmarshal added in v1.10.0

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

func (*QueryLastEventNonceRequest) XXX_DiscardUnknown added in v1.10.0

func (m *QueryLastEventNonceRequest) XXX_DiscardUnknown()

func (*QueryLastEventNonceRequest) XXX_Marshal added in v1.10.0

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

func (*QueryLastEventNonceRequest) XXX_Merge added in v1.10.0

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

func (*QueryLastEventNonceRequest) XXX_Size added in v1.10.0

func (m *QueryLastEventNonceRequest) XXX_Size() int

func (*QueryLastEventNonceRequest) XXX_Unmarshal added in v1.10.0

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

type QueryLastEventNonceResponse added in v1.10.0

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

func (*QueryLastEventNonceResponse) Descriptor added in v1.10.0

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

func (*QueryLastEventNonceResponse) GetEventNonce added in v1.10.0

func (m *QueryLastEventNonceResponse) GetEventNonce() uint64

func (*QueryLastEventNonceResponse) Marshal added in v1.10.0

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

func (*QueryLastEventNonceResponse) MarshalTo added in v1.10.0

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

func (*QueryLastEventNonceResponse) MarshalToSizedBuffer added in v1.10.0

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

func (*QueryLastEventNonceResponse) ProtoMessage added in v1.10.0

func (*QueryLastEventNonceResponse) ProtoMessage()

func (*QueryLastEventNonceResponse) Reset added in v1.10.0

func (m *QueryLastEventNonceResponse) Reset()

func (*QueryLastEventNonceResponse) Size added in v1.10.0

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

func (*QueryLastEventNonceResponse) String added in v1.10.0

func (m *QueryLastEventNonceResponse) String() string

func (*QueryLastEventNonceResponse) Unmarshal added in v1.10.0

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

func (*QueryLastEventNonceResponse) XXX_DiscardUnknown added in v1.10.0

func (m *QueryLastEventNonceResponse) XXX_DiscardUnknown()

func (*QueryLastEventNonceResponse) XXX_Marshal added in v1.10.0

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

func (*QueryLastEventNonceResponse) XXX_Merge added in v1.10.0

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

func (*QueryLastEventNonceResponse) XXX_Size added in v1.10.0

func (m *QueryLastEventNonceResponse) XXX_Size() int

func (*QueryLastEventNonceResponse) XXX_Unmarshal added in v1.10.0

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

type QueryLastObservedEthBlockRequest added in v1.8.0

type QueryLastObservedEthBlockRequest struct {
	// indicates whether to search for store data using the old Gravity v1 key
	// "LastObservedEthereumBlockHeightKey" Note that queries before the Mercury
	// upgrade at height 1282013 must set this to true
	UseV1Key bool `protobuf:"varint,1,opt,name=use_v1_key,json=useV1Key,proto3" json:"use_v1_key,omitempty"`
}

QueryLastObservedEthBlockRequest defines the request for getting the height of the last applied Ethereum Event on the bridge. This is expected to lag the actual Ethereum block height significantly due to 1. Ethereum Finality and

  1. Consensus mirroring the state on Ethereum

func (*QueryLastObservedEthBlockRequest) Descriptor added in v1.8.0

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

func (*QueryLastObservedEthBlockRequest) GetUseV1Key added in v1.8.0

func (m *QueryLastObservedEthBlockRequest) GetUseV1Key() bool

func (*QueryLastObservedEthBlockRequest) Marshal added in v1.8.0

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

func (*QueryLastObservedEthBlockRequest) MarshalTo added in v1.8.0

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

func (*QueryLastObservedEthBlockRequest) MarshalToSizedBuffer added in v1.8.0

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

func (*QueryLastObservedEthBlockRequest) ProtoMessage added in v1.8.0

func (*QueryLastObservedEthBlockRequest) ProtoMessage()

func (*QueryLastObservedEthBlockRequest) Reset added in v1.8.0

func (*QueryLastObservedEthBlockRequest) Size added in v1.8.0

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

func (*QueryLastObservedEthBlockRequest) String added in v1.8.0

func (*QueryLastObservedEthBlockRequest) Unmarshal added in v1.8.0

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

func (*QueryLastObservedEthBlockRequest) XXX_DiscardUnknown added in v1.8.0

func (m *QueryLastObservedEthBlockRequest) XXX_DiscardUnknown()

func (*QueryLastObservedEthBlockRequest) XXX_Marshal added in v1.8.0

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

func (*QueryLastObservedEthBlockRequest) XXX_Merge added in v1.8.0

func (*QueryLastObservedEthBlockRequest) XXX_Size added in v1.8.0

func (m *QueryLastObservedEthBlockRequest) XXX_Size() int

func (*QueryLastObservedEthBlockRequest) XXX_Unmarshal added in v1.8.0

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

type QueryLastObservedEthBlockResponse added in v1.8.0

type QueryLastObservedEthBlockResponse struct {
	// a response of 0 indicates that no Ethereum events have been observed, and
	// thus the bridge is inactive
	Block uint64 `protobuf:"varint,1,opt,name=block,proto3" json:"block,omitempty"`
}

func (*QueryLastObservedEthBlockResponse) Descriptor added in v1.8.0

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

func (*QueryLastObservedEthBlockResponse) GetBlock added in v1.8.0

func (*QueryLastObservedEthBlockResponse) Marshal added in v1.8.0

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

func (*QueryLastObservedEthBlockResponse) MarshalTo added in v1.8.0

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

func (*QueryLastObservedEthBlockResponse) MarshalToSizedBuffer added in v1.8.0

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

func (*QueryLastObservedEthBlockResponse) ProtoMessage added in v1.8.0

func (*QueryLastObservedEthBlockResponse) ProtoMessage()

func (*QueryLastObservedEthBlockResponse) Reset added in v1.8.0

func (*QueryLastObservedEthBlockResponse) Size added in v1.8.0

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

func (*QueryLastObservedEthBlockResponse) String added in v1.8.0

func (*QueryLastObservedEthBlockResponse) Unmarshal added in v1.8.0

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

func (*QueryLastObservedEthBlockResponse) XXX_DiscardUnknown added in v1.8.0

func (m *QueryLastObservedEthBlockResponse) XXX_DiscardUnknown()

func (*QueryLastObservedEthBlockResponse) XXX_Marshal added in v1.8.0

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

func (*QueryLastObservedEthBlockResponse) XXX_Merge added in v1.8.0

func (*QueryLastObservedEthBlockResponse) XXX_Size added in v1.8.0

func (m *QueryLastObservedEthBlockResponse) XXX_Size() int

func (*QueryLastObservedEthBlockResponse) XXX_Unmarshal added in v1.8.0

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

type QueryLastObservedEthNonceRequest added in v1.8.0

type QueryLastObservedEthNonceRequest struct {
	// indicates whether to search for store data using the old Gravity v1 key
	// "LastObservedEventNonceKey" Note that queries before the Mercury upgrade at
	// height 1282013 must set this to true
	UseV1Key bool `protobuf:"varint,1,opt,name=use_v1_key,json=useV1Key,proto3" json:"use_v1_key,omitempty"`
}

QueryLastObservedEthNonceRequest defines the request for getting the event nonce of the last applied Ethereum Event on the bridge. Note that this is likely to lag the last executed event a little due to 1. Ethereum Finality and 2. Consensus mirroring the Ethereum state

func (*QueryLastObservedEthNonceRequest) Descriptor added in v1.8.0

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

func (*QueryLastObservedEthNonceRequest) GetUseV1Key added in v1.8.0

func (m *QueryLastObservedEthNonceRequest) GetUseV1Key() bool

func (*QueryLastObservedEthNonceRequest) Marshal added in v1.8.0

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

func (*QueryLastObservedEthNonceRequest) MarshalTo added in v1.8.0

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

func (*QueryLastObservedEthNonceRequest) MarshalToSizedBuffer added in v1.8.0

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

func (*QueryLastObservedEthNonceRequest) ProtoMessage added in v1.8.0

func (*QueryLastObservedEthNonceRequest) ProtoMessage()

func (*QueryLastObservedEthNonceRequest) Reset added in v1.8.0

func (*QueryLastObservedEthNonceRequest) Size added in v1.8.0

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

func (*QueryLastObservedEthNonceRequest) String added in v1.8.0

func (*QueryLastObservedEthNonceRequest) Unmarshal added in v1.8.0

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

func (*QueryLastObservedEthNonceRequest) XXX_DiscardUnknown added in v1.8.0

func (m *QueryLastObservedEthNonceRequest) XXX_DiscardUnknown()

func (*QueryLastObservedEthNonceRequest) XXX_Marshal added in v1.8.0

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

func (*QueryLastObservedEthNonceRequest) XXX_Merge added in v1.8.0

func (*QueryLastObservedEthNonceRequest) XXX_Size added in v1.8.0

func (m *QueryLastObservedEthNonceRequest) XXX_Size() int

func (*QueryLastObservedEthNonceRequest) XXX_Unmarshal added in v1.8.0

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

type QueryLastObservedEthNonceResponse added in v1.8.0

type QueryLastObservedEthNonceResponse struct {
	// a response of 0 indicates that no Ethereum events have been observed, and
	// thus the bridge is inactive
	Nonce uint64 `protobuf:"varint,1,opt,name=nonce,proto3" json:"nonce,omitempty"`
}

func (*QueryLastObservedEthNonceResponse) Descriptor added in v1.8.0

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

func (*QueryLastObservedEthNonceResponse) GetNonce added in v1.8.0

func (*QueryLastObservedEthNonceResponse) Marshal added in v1.8.0

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

func (*QueryLastObservedEthNonceResponse) MarshalTo added in v1.8.0

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

func (*QueryLastObservedEthNonceResponse) MarshalToSizedBuffer added in v1.8.0

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

func (*QueryLastObservedEthNonceResponse) ProtoMessage added in v1.8.0

func (*QueryLastObservedEthNonceResponse) ProtoMessage()

func (*QueryLastObservedEthNonceResponse) Reset added in v1.8.0

func (*QueryLastObservedEthNonceResponse) Size added in v1.8.0

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

func (*QueryLastObservedEthNonceResponse) String added in v1.8.0

func (*QueryLastObservedEthNonceResponse) Unmarshal added in v1.8.0

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

func (*QueryLastObservedEthNonceResponse) XXX_DiscardUnknown added in v1.8.0

func (m *QueryLastObservedEthNonceResponse) XXX_DiscardUnknown()

func (*QueryLastObservedEthNonceResponse) XXX_Marshal added in v1.8.0

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

func (*QueryLastObservedEthNonceResponse) XXX_Merge added in v1.8.0

func (*QueryLastObservedEthNonceResponse) XXX_Size added in v1.8.0

func (m *QueryLastObservedEthNonceResponse) XXX_Size() int

func (*QueryLastObservedEthNonceResponse) XXX_Unmarshal added in v1.8.0

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

type QueryLastPendingBatchRequestByAddrRequest added in v1.8.0

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

func (*QueryLastPendingBatchRequestByAddrRequest) Descriptor added in v1.8.0

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

func (*QueryLastPendingBatchRequestByAddrRequest) GetAddress added in v1.8.0

func (*QueryLastPendingBatchRequestByAddrRequest) Marshal added in v1.8.0

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

func (*QueryLastPendingBatchRequestByAddrRequest) MarshalTo added in v1.8.0

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

func (*QueryLastPendingBatchRequestByAddrRequest) MarshalToSizedBuffer added in v1.8.0

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

func (*QueryLastPendingBatchRequestByAddrRequest) ProtoMessage added in v1.8.0

func (*QueryLastPendingBatchRequestByAddrRequest) Reset added in v1.8.0

func (*QueryLastPendingBatchRequestByAddrRequest) Size added in v1.8.0

func (*QueryLastPendingBatchRequestByAddrRequest) String added in v1.8.0

func (*QueryLastPendingBatchRequestByAddrRequest) Unmarshal added in v1.8.0

func (*QueryLastPendingBatchRequestByAddrRequest) XXX_DiscardUnknown added in v1.8.0

func (m *QueryLastPendingBatchRequestByAddrRequest) XXX_DiscardUnknown()

func (*QueryLastPendingBatchRequestByAddrRequest) XXX_Marshal added in v1.8.0

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

func (*QueryLastPendingBatchRequestByAddrRequest) XXX_Merge added in v1.8.0

func (*QueryLastPendingBatchRequestByAddrRequest) XXX_Size added in v1.8.0

func (*QueryLastPendingBatchRequestByAddrRequest) XXX_Unmarshal added in v1.8.0

type QueryLastPendingBatchRequestByAddrResponse added in v1.8.0

type QueryLastPendingBatchRequestByAddrResponse struct {
	Batch []OutgoingTxBatch `protobuf:"bytes,1,rep,name=batch,proto3" json:"batch"`
}

func (*QueryLastPendingBatchRequestByAddrResponse) Descriptor added in v1.8.0

func (*QueryLastPendingBatchRequestByAddrResponse) GetBatch added in v1.8.0

func (*QueryLastPendingBatchRequestByAddrResponse) Marshal added in v1.8.0

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

func (*QueryLastPendingBatchRequestByAddrResponse) MarshalTo added in v1.8.0

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

func (*QueryLastPendingBatchRequestByAddrResponse) MarshalToSizedBuffer added in v1.8.0

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

func (*QueryLastPendingBatchRequestByAddrResponse) ProtoMessage added in v1.8.0

func (*QueryLastPendingBatchRequestByAddrResponse) Reset added in v1.8.0

func (*QueryLastPendingBatchRequestByAddrResponse) Size added in v1.8.0

func (*QueryLastPendingBatchRequestByAddrResponse) String added in v1.8.0

func (*QueryLastPendingBatchRequestByAddrResponse) Unmarshal added in v1.8.0

func (*QueryLastPendingBatchRequestByAddrResponse) XXX_DiscardUnknown added in v1.8.0

func (m *QueryLastPendingBatchRequestByAddrResponse) XXX_DiscardUnknown()

func (*QueryLastPendingBatchRequestByAddrResponse) XXX_Marshal added in v1.8.0

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

func (*QueryLastPendingBatchRequestByAddrResponse) XXX_Merge added in v1.8.0

func (*QueryLastPendingBatchRequestByAddrResponse) XXX_Size added in v1.8.0

func (*QueryLastPendingBatchRequestByAddrResponse) XXX_Unmarshal added in v1.8.0

type QueryOutgoingTxBatchesRequest added in v1.8.0

type QueryOutgoingTxBatchesRequest struct {
	ChainReferenceId string `protobuf:"bytes,1,opt,name=chain_reference_id,json=chainReferenceId,proto3" json:"chain_reference_id,omitempty"`
	Assignee         string `protobuf:"bytes,2,opt,name=assignee,proto3" json:"assignee,omitempty"`
}

func (*QueryOutgoingTxBatchesRequest) Descriptor added in v1.8.0

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

func (*QueryOutgoingTxBatchesRequest) GetAssignee added in v1.8.0

func (m *QueryOutgoingTxBatchesRequest) GetAssignee() string

func (*QueryOutgoingTxBatchesRequest) GetChainReferenceId added in v1.8.0

func (m *QueryOutgoingTxBatchesRequest) GetChainReferenceId() string

func (*QueryOutgoingTxBatchesRequest) Marshal added in v1.8.0

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

func (*QueryOutgoingTxBatchesRequest) MarshalTo added in v1.8.0

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

func (*QueryOutgoingTxBatchesRequest) MarshalToSizedBuffer added in v1.8.0

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

func (*QueryOutgoingTxBatchesRequest) ProtoMessage added in v1.8.0

func (*QueryOutgoingTxBatchesRequest) ProtoMessage()

func (*QueryOutgoingTxBatchesRequest) Reset added in v1.8.0

func (m *QueryOutgoingTxBatchesRequest) Reset()

func (*QueryOutgoingTxBatchesRequest) Size added in v1.8.0

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

func (*QueryOutgoingTxBatchesRequest) String added in v1.8.0

func (*QueryOutgoingTxBatchesRequest) Unmarshal added in v1.8.0

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

func (*QueryOutgoingTxBatchesRequest) XXX_DiscardUnknown added in v1.8.0

func (m *QueryOutgoingTxBatchesRequest) XXX_DiscardUnknown()

func (*QueryOutgoingTxBatchesRequest) XXX_Marshal added in v1.8.0

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

func (*QueryOutgoingTxBatchesRequest) XXX_Merge added in v1.8.0

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

func (*QueryOutgoingTxBatchesRequest) XXX_Size added in v1.8.0

func (m *QueryOutgoingTxBatchesRequest) XXX_Size() int

func (*QueryOutgoingTxBatchesRequest) XXX_Unmarshal added in v1.8.0

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

type QueryOutgoingTxBatchesResponse added in v1.8.0

type QueryOutgoingTxBatchesResponse struct {
	Batches []OutgoingTxBatch `protobuf:"bytes,1,rep,name=batches,proto3" json:"batches"`
}

func (*QueryOutgoingTxBatchesResponse) Descriptor added in v1.8.0

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

func (*QueryOutgoingTxBatchesResponse) GetBatches added in v1.8.0

func (*QueryOutgoingTxBatchesResponse) Marshal added in v1.8.0

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

func (*QueryOutgoingTxBatchesResponse) MarshalTo added in v1.8.0

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

func (*QueryOutgoingTxBatchesResponse) MarshalToSizedBuffer added in v1.8.0

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

func (*QueryOutgoingTxBatchesResponse) ProtoMessage added in v1.8.0

func (*QueryOutgoingTxBatchesResponse) ProtoMessage()

func (*QueryOutgoingTxBatchesResponse) Reset added in v1.8.0

func (m *QueryOutgoingTxBatchesResponse) Reset()

func (*QueryOutgoingTxBatchesResponse) Size added in v1.8.0

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

func (*QueryOutgoingTxBatchesResponse) String added in v1.8.0

func (*QueryOutgoingTxBatchesResponse) Unmarshal added in v1.8.0

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

func (*QueryOutgoingTxBatchesResponse) XXX_DiscardUnknown added in v1.8.0

func (m *QueryOutgoingTxBatchesResponse) XXX_DiscardUnknown()

func (*QueryOutgoingTxBatchesResponse) XXX_Marshal added in v1.8.0

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

func (*QueryOutgoingTxBatchesResponse) XXX_Merge added in v1.8.0

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

func (*QueryOutgoingTxBatchesResponse) XXX_Size added in v1.8.0

func (m *QueryOutgoingTxBatchesResponse) XXX_Size() int

func (*QueryOutgoingTxBatchesResponse) XXX_Unmarshal added in v1.8.0

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

type QueryParamsRequest added in v1.8.0

type QueryParamsRequest struct {
}

func (*QueryParamsRequest) Descriptor added in v1.8.0

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

func (*QueryParamsRequest) Marshal added in v1.8.0

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

func (*QueryParamsRequest) MarshalTo added in v1.8.0

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

func (*QueryParamsRequest) MarshalToSizedBuffer added in v1.8.0

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

func (*QueryParamsRequest) ProtoMessage added in v1.8.0

func (*QueryParamsRequest) ProtoMessage()

func (*QueryParamsRequest) Reset added in v1.8.0

func (m *QueryParamsRequest) Reset()

func (*QueryParamsRequest) Size added in v1.8.0

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

func (*QueryParamsRequest) String added in v1.8.0

func (m *QueryParamsRequest) String() string

func (*QueryParamsRequest) Unmarshal added in v1.8.0

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

func (*QueryParamsRequest) XXX_DiscardUnknown added in v1.8.0

func (m *QueryParamsRequest) XXX_DiscardUnknown()

func (*QueryParamsRequest) XXX_Marshal added in v1.8.0

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

func (*QueryParamsRequest) XXX_Merge added in v1.8.0

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

func (*QueryParamsRequest) XXX_Size added in v1.8.0

func (m *QueryParamsRequest) XXX_Size() int

func (*QueryParamsRequest) XXX_Unmarshal added in v1.8.0

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

type QueryParamsResponse added in v1.8.0

type QueryParamsResponse struct {
	Params Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params"`
}

func (*QueryParamsResponse) Descriptor added in v1.8.0

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

func (*QueryParamsResponse) GetParams added in v1.8.0

func (m *QueryParamsResponse) GetParams() Params

func (*QueryParamsResponse) Marshal added in v1.8.0

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

func (*QueryParamsResponse) MarshalTo added in v1.8.0

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

func (*QueryParamsResponse) MarshalToSizedBuffer added in v1.8.0

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

func (*QueryParamsResponse) ProtoMessage added in v1.8.0

func (*QueryParamsResponse) ProtoMessage()

func (*QueryParamsResponse) Reset added in v1.8.0

func (m *QueryParamsResponse) Reset()

func (*QueryParamsResponse) Size added in v1.8.0

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

func (*QueryParamsResponse) String added in v1.8.0

func (m *QueryParamsResponse) String() string

func (*QueryParamsResponse) Unmarshal added in v1.8.0

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

func (*QueryParamsResponse) XXX_DiscardUnknown added in v1.8.0

func (m *QueryParamsResponse) XXX_DiscardUnknown()

func (*QueryParamsResponse) XXX_Marshal added in v1.8.0

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

func (*QueryParamsResponse) XXX_Merge added in v1.8.0

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

func (*QueryParamsResponse) XXX_Size added in v1.8.0

func (m *QueryParamsResponse) XXX_Size() int

func (*QueryParamsResponse) XXX_Unmarshal added in v1.8.0

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

type QueryPendingSendToEth added in v1.8.0

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

func (*QueryPendingSendToEth) Descriptor added in v1.8.0

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

func (*QueryPendingSendToEth) GetSenderAddress added in v1.8.0

func (m *QueryPendingSendToEth) GetSenderAddress() string

func (*QueryPendingSendToEth) Marshal added in v1.8.0

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

func (*QueryPendingSendToEth) MarshalTo added in v1.8.0

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

func (*QueryPendingSendToEth) MarshalToSizedBuffer added in v1.8.0

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

func (*QueryPendingSendToEth) ProtoMessage added in v1.8.0

func (*QueryPendingSendToEth) ProtoMessage()

func (*QueryPendingSendToEth) Reset added in v1.8.0

func (m *QueryPendingSendToEth) Reset()

func (*QueryPendingSendToEth) Size added in v1.8.0

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

func (*QueryPendingSendToEth) String added in v1.8.0

func (m *QueryPendingSendToEth) String() string

func (*QueryPendingSendToEth) Unmarshal added in v1.8.0

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

func (*QueryPendingSendToEth) XXX_DiscardUnknown added in v1.8.0

func (m *QueryPendingSendToEth) XXX_DiscardUnknown()

func (*QueryPendingSendToEth) XXX_Marshal added in v1.8.0

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

func (*QueryPendingSendToEth) XXX_Merge added in v1.8.0

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

func (*QueryPendingSendToEth) XXX_Size added in v1.8.0

func (m *QueryPendingSendToEth) XXX_Size() int

func (*QueryPendingSendToEth) XXX_Unmarshal added in v1.8.0

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

type QueryPendingSendToEthResponse added in v1.8.0

type QueryPendingSendToEthResponse struct {
	TransfersInBatches []OutgoingTransferTx `protobuf:"bytes,1,rep,name=transfers_in_batches,json=transfersInBatches,proto3" json:"transfers_in_batches"`
	UnbatchedTransfers []OutgoingTransferTx `protobuf:"bytes,2,rep,name=unbatched_transfers,json=unbatchedTransfers,proto3" json:"unbatched_transfers"`
}

func (*QueryPendingSendToEthResponse) Descriptor added in v1.8.0

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

func (*QueryPendingSendToEthResponse) GetTransfersInBatches added in v1.8.0

func (m *QueryPendingSendToEthResponse) GetTransfersInBatches() []OutgoingTransferTx

func (*QueryPendingSendToEthResponse) GetUnbatchedTransfers added in v1.8.0

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

func (*QueryPendingSendToEthResponse) Marshal added in v1.8.0

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

func (*QueryPendingSendToEthResponse) MarshalTo added in v1.8.0

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

func (*QueryPendingSendToEthResponse) MarshalToSizedBuffer added in v1.8.0

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

func (*QueryPendingSendToEthResponse) ProtoMessage added in v1.8.0

func (*QueryPendingSendToEthResponse) ProtoMessage()

func (*QueryPendingSendToEthResponse) Reset added in v1.8.0

func (m *QueryPendingSendToEthResponse) Reset()

func (*QueryPendingSendToEthResponse) Size added in v1.8.0

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

func (*QueryPendingSendToEthResponse) String added in v1.8.0

func (*QueryPendingSendToEthResponse) Unmarshal added in v1.8.0

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

func (*QueryPendingSendToEthResponse) XXX_DiscardUnknown added in v1.8.0

func (m *QueryPendingSendToEthResponse) XXX_DiscardUnknown()

func (*QueryPendingSendToEthResponse) XXX_Marshal added in v1.8.0

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

func (*QueryPendingSendToEthResponse) XXX_Merge added in v1.8.0

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

func (*QueryPendingSendToEthResponse) XXX_Size added in v1.8.0

func (m *QueryPendingSendToEthResponse) XXX_Size() int

func (*QueryPendingSendToEthResponse) XXX_Unmarshal added in v1.8.0

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

type QueryServer

QueryServer is the server API for Query service.

type SetERC20ToDenomProposal added in v1.8.0

type SetERC20ToDenomProposal 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"`
	ChainReferenceId string `protobuf:"bytes,3,opt,name=chain_reference_id,json=chainReferenceId,proto3" json:"chain_reference_id,omitempty"`
	Erc20            string `protobuf:"bytes,4,opt,name=erc20,proto3" json:"erc20,omitempty"`
	Denom            string `protobuf:"bytes,5,opt,name=denom,proto3" json:"denom,omitempty"`
}

func (*SetERC20ToDenomProposal) Descriptor added in v1.8.0

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

func (*SetERC20ToDenomProposal) GetChainReferenceId added in v1.8.0

func (m *SetERC20ToDenomProposal) GetChainReferenceId() string

func (*SetERC20ToDenomProposal) GetDenom added in v1.8.0

func (m *SetERC20ToDenomProposal) GetDenom() string

func (*SetERC20ToDenomProposal) GetDescription added in v1.8.0

func (m *SetERC20ToDenomProposal) GetDescription() string

func (*SetERC20ToDenomProposal) GetErc20 added in v1.8.0

func (m *SetERC20ToDenomProposal) GetErc20() string

func (*SetERC20ToDenomProposal) GetTitle added in v1.8.0

func (m *SetERC20ToDenomProposal) GetTitle() string

func (*SetERC20ToDenomProposal) Marshal added in v1.8.0

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

func (*SetERC20ToDenomProposal) MarshalTo added in v1.8.0

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

func (*SetERC20ToDenomProposal) MarshalToSizedBuffer added in v1.8.0

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

func (*SetERC20ToDenomProposal) ProposalRoute added in v1.8.0

func (p *SetERC20ToDenomProposal) ProposalRoute() string

func (*SetERC20ToDenomProposal) ProposalType added in v1.8.0

func (p *SetERC20ToDenomProposal) ProposalType() string

func (*SetERC20ToDenomProposal) ProtoMessage added in v1.8.0

func (*SetERC20ToDenomProposal) ProtoMessage()

func (*SetERC20ToDenomProposal) Reset added in v1.8.0

func (m *SetERC20ToDenomProposal) Reset()

func (*SetERC20ToDenomProposal) Size added in v1.8.0

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

func (*SetERC20ToDenomProposal) String added in v1.8.0

func (m *SetERC20ToDenomProposal) String() string

func (*SetERC20ToDenomProposal) Unmarshal added in v1.8.0

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

func (*SetERC20ToDenomProposal) ValidateBasic added in v1.8.0

func (p *SetERC20ToDenomProposal) ValidateBasic() error

func (*SetERC20ToDenomProposal) XXX_DiscardUnknown added in v1.8.0

func (m *SetERC20ToDenomProposal) XXX_DiscardUnknown()

func (*SetERC20ToDenomProposal) XXX_Marshal added in v1.8.0

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

func (*SetERC20ToDenomProposal) XXX_Merge added in v1.8.0

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

func (*SetERC20ToDenomProposal) XXX_Size added in v1.8.0

func (m *SetERC20ToDenomProposal) XXX_Size() int

func (*SetERC20ToDenomProposal) XXX_Unmarshal added in v1.8.0

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

type SignType added in v1.8.0

type SignType int32

SignType defines messages that have been signed by an orchestrator

const (
	// An unspecified type
	SIGN_TYPE_UNSPECIFIED SignType = 0
	// A type for multi-sig updates
	SIGN_TYPE_ORCHESTRATOR_SIGNED_MULTI_SIG_UPDATE SignType = 1
	// A type for batches
	SIGN_TYPE_ORCHESTRATOR_SIGNED_WITHDRAW_BATCH SignType = 2
)

func (SignType) EnumDescriptor added in v1.8.0

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

type SlashingKeeper

type SlashingKeeper interface {
	GetValidatorSigningInfo(ctx context.Context, address sdk.ConsAddress) (info slashingtypes.ValidatorSigningInfo, found error)
}

type StakingKeeper

type StakingKeeper interface {
	GetBondedValidatorsByPower(ctx context.Context) ([]stakingtypes.Validator, error)
	GetLastValidatorPower(ctx context.Context, operator sdk.ValAddress) (int64, error)
	GetLastTotalPower(ctx context.Context) (math.Int, error)
	IterateValidators(context.Context, func(index int64, validator stakingtypes.ValidatorI) (stop bool)) error
	ValidatorQueueIterator(ctx context.Context, endTime time.Time, endHeight int64) (storetypes.Iterator, error)
	GetParams(ctx context.Context) (stakingtypes.Params, error)
	GetValidator(ctx context.Context, addr sdk.ValAddress) (validator stakingtypes.Validator, found error)
	IterateBondedValidatorsByPower(context.Context, func(index int64, validator stakingtypes.ValidatorI) (stop bool)) error
	IterateLastValidators(context.Context, func(index int64, validator stakingtypes.ValidatorI) (stop bool)) error
	Validator(context.Context, sdk.ValAddress) (stakingtypes.ValidatorI, error)
	ValidatorByConsAddr(context.Context, sdk.ConsAddress) (stakingtypes.ValidatorI, error)
	Slash(ctx context.Context, consAddr sdk.ConsAddress, infractionHeight int64, power int64, slashFactor math.LegacyDec) (math.Int, error)
	Jail(context.Context, sdk.ConsAddress) error
}

StakingKeeper defines the expected staking keeper methods

type UnimplementedMsgServer

type UnimplementedMsgServer struct {
}

UnimplementedMsgServer can be embedded to have forward compatible implementations.

func (*UnimplementedMsgServer) BatchSendToEthClaim added in v1.8.0

func (*UnimplementedMsgServer) CancelSendToEth added in v1.8.0

func (*UnimplementedMsgServer) ConfirmBatch added in v1.8.0

func (*UnimplementedMsgServer) SendToEth added in v1.8.0

func (*UnimplementedMsgServer) SendToPalomaClaim added in v1.8.0

func (*UnimplementedMsgServer) SubmitBadSignatureEvidence added in v1.8.0

func (*UnimplementedMsgServer) UpdateParams added in v1.13.0

type UnimplementedQueryServer

type UnimplementedQueryServer struct {
}

UnimplementedQueryServer can be embedded to have forward compatible implementations.

func (*UnimplementedQueryServer) BatchConfirms added in v1.8.0

func (*UnimplementedQueryServer) BatchRequestByNonce added in v1.8.0

func (*UnimplementedQueryServer) DenomToERC20

func (*UnimplementedQueryServer) ERC20ToDenom

func (*UnimplementedQueryServer) GetAttestations added in v1.8.0

func (*UnimplementedQueryServer) GetErc20ToDenoms added in v1.8.0

func (*UnimplementedQueryServer) GetLastObservedEthBlock added in v1.8.0

func (*UnimplementedQueryServer) GetLastObservedEthNonce added in v1.8.0

func (*UnimplementedQueryServer) GetPendingSendToEth added in v1.8.0

func (*UnimplementedQueryServer) LastEventNonce added in v1.10.0

func (*UnimplementedQueryServer) LastEventNonceByAddr added in v1.8.0

func (*UnimplementedQueryServer) LastPendingBatchRequestByAddr added in v1.8.0

func (*UnimplementedQueryServer) OutgoingTxBatches added in v1.8.0

func (*UnimplementedQueryServer) Params

Jump to

Keyboard shortcuts

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