types

package
v1.0.1-201023-ibc Latest Latest
Warning

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

Go to latest
Published: Oct 23, 2023 License: LGPL-3.0 Imports: 47 Imported by: 0

Documentation

Overview

Package types is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Package types is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Index

Constants

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

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

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

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

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

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

	// GravityDenomLen is the length of the denoms generated by the gravity module
	GravityDenomLen = len(GravityDenomPrefix) + len(GravityDenomSeparator) + ETHContractAddressLen

	// ZeroAddress is an EthAddress containing the zero ethereum address
	ZeroAddressString = "0x0000000000000000000000000000000000000000"
)
View Source
const (
	EventTypeObservation                 = "observation"
	EventTypeOutgoingBatch               = "outgoing_batch"
	EventTypeMultisigUpdateRequest       = "multisig_update_request"
	EventTypeOutgoingBatchCanceled       = "outgoing_batch_canceled"
	EventTypeOutgoingLogicCallCanceled   = "outgoing_logic_call_canceled"
	EventTypeBridgeWithdrawalReceived    = "withdrawal_received"
	EventTypeBridgeDepositReceived       = "deposit_received"
	EventTypeBridgeWithdrawCanceled      = "withdraw_canceled"
	EventTypeInvalidSendToCosmosReceiver = "invalid_send_to_cosmos_receiver"

	AttributeKeyAttestationID          = "attestation_id"
	AttributeKeyBatchConfirmKey        = "batch_confirm_key"
	AttributeKeyValsetConfirmKey       = "valset_confirm_key"
	AttributeKeyMultisigID             = "multisig_id"
	AttributeKeyOutgoingBatchID        = "batch_id"
	AttributeKeyOutgoingTXID           = "outgoing_tx_id"
	AttributeKeyAttestationType        = "attestation_type"
	AttributeKeyContract               = "bridge_contract"
	AttributeKeyNonce                  = "nonce"
	AttributeKeyValsetNonce            = "valset_nonce"
	AttributeKeyBatchNonce             = "batch_nonce"
	AttributeKeyBridgeChainID          = "bridge_chain_id"
	AttributeKeySetOperatorAddr        = "set_operator_address"
	AttributeKeyInvalidationID         = "logic_call_invalidation_id"
	AttributeKeyInvalidationNonce      = "logic_call_invalidation_nonce"
	AttributeKeyBadEthSignature        = "bad_eth_signature"
	AttributeKeyBadEthSignatureSubject = "bad_eth_signature_subject"

	AttributeKeySendToCosmosAmount = "msg_send_to_cosmsos_amount"
	AttributeKeySendToCosmosNonce  = "msg_send_to_cosmsos_nonce"
	AttributeKeySendToCosmosToken  = "msg_send_to_cosmsos_token"
	AttributeKeySendToCosmosSender = "msg_send_to_cosmsos_sender"

	AttributeKeyValsetSignatureSlashing    = "valset_signature_slashing"
	AttributeKeyBatchSignatureSlashing     = "batch_signature_slashing"
	AttributeKeyLogicCallSignatureSlashing = "logic_call_signature_slashing"
)
View Source
const (
	ProposalTypeUnhaltBridge = "UnhaltBridge"
	ProposalTypeAirdrop      = "Airdrop"
	ProposalTypeIBCMetadata  = "IBCMetadata"
)
View Source
const (
	// ModuleName is the name of the module
	ModuleName = "gravity"

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

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

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

DefaultParamspace defines the default auth module parameter subspace

View Source
const (
	TypeMsgBatchSendToEthClaim = "batch_send_to_eth_claim"
)
View Source
const (
	TypeMsgSendToCosmosClaim = "send_to_cosmos_claim"
)

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 (
	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")
	ErrNoValidators             = sdkerrors.Register(ModuleName, 12, "no bonded validators in active set")
	ErrInvalidValAddress        = sdkerrors.Register(ModuleName, 13, "invalid validator address in current valset %v")
	ErrInvalidEthAddress        = sdkerrors.Register(ModuleName, 14, "discovered invalid eth address stored for validator %v")
	ErrInvalidValset            = sdkerrors.Register(ModuleName, 15, "generated invalid valset")
	ErrDuplicateEthereumKey     = sdkerrors.Register(ModuleName, 16, "duplicate ethereum key")
	ErrDuplicateOrchestratorKey = sdkerrors.Register(ModuleName, 17, "duplicate orchestrator key")
)
View Source
var (
	// AttestationVotesPowerThreshold threshold of votes power to succeed
	AttestationVotesPowerThreshold = sdk.NewInt(66)

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

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

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

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

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

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

	// ParamsStoreKeySignedLogicCallsWindow stores the signed blocks window
	ParamsStoreKeySignedLogicCallsWindow = []byte("SignedLogicCallsWindow")

	// 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")

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

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

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

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

	// ValsetRewardAmount the amount of the coin, both denom and amount to issue
	// to a relayer when they relay a valset
	ParamStoreValsetRewardAmount = []byte("ValsetReward")

	// 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")

	// ParamBridgeActive allows governance to temporarily halt the bridge via vote, in this context halting
	// means no more batches will be created and no oracle events executed. Valset creation will continue
	// to be allowed as it must continue to ensure bridge continuity.
	ParamStoreBridgeActive = []byte("BridgeActive")

	// ParamStoreEthereumBlacklist allows storage of blocked Ethereum addresses blocked for use with the bridge
	// this could be for technical reasons (zero address) or non-technical reasons, these apply across all ERC20 tokens
	ParamStoreEthereumBlacklist = []byte("EthereumBlacklist")
)
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. gravity1ahx7f8wyertuus9r20284ej0asrs085ceqtfnm
	// [0x1248a4405201cc3a00ab515ce9c4dd47]
	EthAddressByValidatorKey = HashString("EthAddressValidatorKey")

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

	// ValsetRequestKey indexes valset requests by nonce
	// [0xa318dca6c74494c2fac1841c9e2454fe]
	ValsetRequestKey = HashString("ValsetRequestKey")

	// ValsetConfirmKey indexes valset confirmations by nonce and the validator account address
	// i.e gravity1ahx7f8wyertuus9r20284ej0asrs085ceqtfnm
	// [0x2f522701d7f28af84632f8228fbe1750]
	ValsetConfirmKey = HashString("ValsetConfirmKey")

	// OracleClaimKey Claim details by nonce and validator address
	// 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]
	OracleClaimKey = 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")

	// SequenceKeyPrefix indexes different txids
	// [0x33887862fa4fba9c592d6fb84d8dd755]
	SequenceKeyPrefix = 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")

	// KeyOutgoingLogicCall indexes the outgoing logic calls
	// [0x98dfff23346c13a1747fbbed5b23d248]
	KeyOutgoingLogicCall = HashString("KeyOutgoingLogicCall")

	// KeyOutgoingLogicConfirm indexes the outgoing logic confirms
	// [0xd244ded2fa29e95a7719ec40696221e4]
	KeyOutgoingLogicConfirm = HashString("KeyOutgoingLogicConfirm")

	// 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")

	// LastSlashedValsetNonce indexes the latest slashed valset nonce
	// [0x3adee74534260faaea6ac8e31826b09e]
	LastSlashedValsetNonce = HashString("LastSlashedValsetNonce")

	// LatestValsetNonce indexes the latest valset nonce
	// [0xba0fa05da166611b656bac7739a6e7d3]
	LatestValsetNonce = HashString("LatestValsetNonce")

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

	// LastSlashedLogicCallBlock indexes the latest slashed logic call block height
	// [0x3df72087ae3f58d49c6d0b1737c8da0c]
	LastSlashedLogicCallBlock = HashString("LastSlashedLogicCallBlock")

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

	// LastObservedValsetNonceKey indexes the latest observed valset nonce
	// HERE THERE BE DRAGONS, do not use this value as an up to date validator set
	// on Ethereum it will always lag significantly and may be totally wrong at some
	// times.
	// [0x2418e9d990ce88e9b844b0bb723d4d7a]
	LastObservedValsetKey = HashString("LastObservedValsetKey")

	// PastEthSignatureCheckpointKey indexes eth signature checkpoints that have existed
	// [0x1cbe0be407a979331b98e599eeedd09f]
	PastEthSignatureCheckpointKey = HashString("PastEthSignatureCheckpointKey")

	// PendingIBCAutoForwards indexes pending SendToCosmos sends via IBC, queued by event nonce
	// [0x5b89a7c5dc9abd2a7abc2560d6eb42ea]
	PendingIbcAutoForwards = HashString("IbcAutoForwardQueue")
)
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 (
	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_COSMOS",
	2: "CLAIM_TYPE_BATCH_SEND_TO_ETH",
	3: "CLAIM_TYPE_ERC20_DEPLOYED",
	4: "CLAIM_TYPE_LOGIC_CALL_EXECUTED",
	5: "CLAIM_TYPE_VALSET_UPDATED",
}
View Source
var ClaimType_value = map[string]int32{
	"CLAIM_TYPE_UNSPECIFIED":         0,
	"CLAIM_TYPE_SEND_TO_COSMOS":      1,
	"CLAIM_TYPE_BATCH_SEND_TO_ETH":   2,
	"CLAIM_TYPE_ERC20_DEPLOYED":      3,
	"CLAIM_TYPE_LOGIC_CALL_EXECUTED": 4,
	"CLAIM_TYPE_VALSET_UPDATED":      5,
}
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

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

func EthAddrLessThan

func EthAddrLessThan(e EthAddress, o EthAddress) bool

EthAddrLessThan migrates the Ethereum address less than function

func GetAttestationKey

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

GetAttestationKey returns the following key format prefix nonce claim-details-hash [0x0][0 0 0 0 0 0 0 1][fd1af8cec6c67fcf156f1b61fdf91ebc04d05484d007436e75342fc05bbff35a] An attestation is an event multiple people are voting on, this function needs the claim details because each Attestation is aggregating all claims of a specific event, lets say validator X and validator y 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

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

GetBatchConfirmKey returns the following key format prefix eth-contract-address BatchNonce Validator-address [0x0 ][0xc783df8a850f42e7F7e57013759C285caa701eB6][0 0 0 0 0 0 0 1][gravityvaloper1ahx7f8wyertuus9r20284ej0asrs085ceqtfnm] TODO this should be a sdk.ValAddress

func GetBatchConfirmNonceContractPrefix

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

func GetDenomToERC20Key(denom string) []byte

func GetERC20ToDenomKey

func GetERC20ToDenomKey(erc20 EthAddress) []byte

func GetEthAddressByValidatorKey

func GetEthAddressByValidatorKey(validator sdk.ValAddress) []byte

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

func GetLastEventNonceByValidatorKey

func GetLastEventNonceByValidatorKey(validator sdk.ValAddress) []byte

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

func GetLogicConfirmKey

func GetLogicConfirmKey(invalidationId []byte, invalidationNonce uint64, validator sdk.AccAddress) []byte

func GetLogicConfirmNonceInvalidationIdPrefix

func GetLogicConfirmNonceInvalidationIdPrefix(invalidationId []byte, invalidationNonce uint64) []byte

func GetNativePrefixedAccAddress

func GetNativePrefixedAccAddress(ctx sdk.Context, bech32IbcKeeper bech32ibckeeper.Keeper, foreignAddr sdk.AccAddress) (sdk.AccAddress, error)

GetNativePrefixedAccAddress re-prefixes the input AccAddress with the registered bech32ibc NativeHrp

func GetNativePrefixedAccAddressString

func GetNativePrefixedAccAddressString(ctx sdk.Context, bech32IbcKeeper bech32ibckeeper.Keeper, foreignStr string) (string, error)

GetNativePrefixedAccAddressString treats the input as an AccAddress and re-prefixes the string with this chain's configured Bech32AccountAddrPrefix Returns an error when input is not a bech32 string

func GetOrchestratorAddressKey

func GetOrchestratorAddressKey(orc sdk.AccAddress) []byte

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

func GetOutgoingLogicCallKey

func GetOutgoingLogicCallKey(invalidationId []byte, invalidationNonce uint64) []byte

func GetOutgoingTxBatchContractPrefix

func GetOutgoingTxBatchContractPrefix(tokenContract EthAddress) []byte

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

func GetOutgoingTxBatchKey

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

func GetOutgoingTxPoolContractPrefix(contractAddress EthAddress) []byte

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

func GetOutgoingTxPoolKey

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

GetOutgoingTxPoolKey returns the following key format prefix feeContract feeAmount id [0x0][0xc783df8a850f42e7F7e57013759C285caa701eB6][1000000000][0 0 0 0 0 0 0 1]

func GetPastEthSignatureCheckpointKey

func GetPastEthSignatureCheckpointKey(checkpoint []byte) []byte

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

func GetPendingIbcAutoForwardKey

func GetPendingIbcAutoForwardKey(eventNonce uint64) []byte

GetPendingIbcAutoForwardKey returns the following key format prefix EventNonce [0x0][0 0 0 0 0 0 0 1]

func GetPrefixFromBech32

func GetPrefixFromBech32(bech32str string) (string, error)

GetPrefixFromBech32 returns the human readable part of a bech32 string (excluding the 1 byte) Returns an error on too short input or when the 1 byte cannot be found Note: This is an excerpt from the Decode function for bech32 strings

func GetValidatorByEthAddressKey

func GetValidatorByEthAddressKey(ethAddress EthAddress) []byte

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

func GetValsetConfirmKey

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

GetValsetConfirmKey returns the following key format prefix nonce validator-address [0x0][0 0 0 0 0 0 0 1][gravity1ahx7f8wyertuus9r20284ej0asrs085ceqtfnm] MARK finish-batches: this is where the key is created in the old (presumed working) code

func GetValsetConfirmNoncePrefix

func GetValsetConfirmNoncePrefix(nonce uint64) []byte

GetValsetConfirmNoncePrefix returns the following format prefix nonce [0x0][0 0 0 0 0 0 0 1]

func GetValsetKey

func GetValsetKey(nonce uint64) []byte

GetValsetKey returns the following key format prefix nonce [0x0][0 0 0 0 0 0 0 1]

func GravityDenom

func GravityDenom(tokenContract EthAddress) string

GravityDenom converts an EthAddress to a gravity cosmos denom

func HashString

func HashString(input string) []byte

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

func IBCAddressFromBech32

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 ParamKeyTable

func ParamKeyTable() paramtypes.KeyTable

ParamKeyTable for auth module

func RegisterCodec

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 RegisterMsgHandler

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

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

func RegisterMsgHandlerClient

func RegisterMsgHandlerClient(ctx context.Context, mux *runtime.ServeMux, client MsgClient) error

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

func RegisterMsgHandlerFromEndpoint

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

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

func RegisterMsgHandlerServer

func RegisterMsgHandlerServer(ctx context.Context, mux *runtime.ServeMux, server MsgServer) error

RegisterMsgHandlerServer registers the http handlers for service Msg to "mux". UnaryRPC :call MsgServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterMsgHandlerFromEndpoint instead.

func RegisterMsgServer

func RegisterMsgServer(s grpc1.Server, srv MsgServer)

func RegisterQueryHandler

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

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

func RegisterQueryHandlerClient

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

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

func RegisterQueryHandlerFromEndpoint

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

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

func RegisterQueryHandlerServer

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

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

func RegisterQueryServer

func RegisterQueryServer(s grpc1.Server, srv QueryServer)

func UInt64Bytes

func UInt64Bytes(n uint64) []byte

UInt64Bytes uses the SDK byte marshaling to encode a uint64

func UInt64FromBytes

func UInt64FromBytes(s []byte) uint64

UInt64FromBytes create uint from binary big endian representation

func UInt64FromString

func UInt64FromString(s string) (uint64, error)

UInt64FromString to parse out a uint64 for a nonce

func ValidateEthAddress

func ValidateEthAddress(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 AirdropProposal

type AirdropProposal 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"`
	Denom       string   `protobuf:"bytes,3,opt,name=denom,proto3" json:"denom,omitempty"`
	Recipients  []byte   `protobuf:"bytes,4,opt,name=recipients,proto3" json:"recipients,omitempty"`
	Amounts     []uint64 `protobuf:"varint,5,rep,packed,name=amounts,proto3" json:"amounts,omitempty"`
}

AirdropProposal defines a custom governance proposal type that allows an airdrop to occur in a decentralized fashion. A list of destination addresses and an amount per airdrop recipient is provided. The funds for this airdrop are removed from the Community Pool, if the community pool does not have sufficient funding to perform the airdrop to all provided recipients nothing will occur

func (*AirdropProposal) Descriptor

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

func (*AirdropProposal) Equal

func (this *AirdropProposal) Equal(that interface{}) bool

func (*AirdropProposal) GetDescription

func (p *AirdropProposal) GetDescription() string

func (*AirdropProposal) GetTitle

func (p *AirdropProposal) GetTitle() string

func (*AirdropProposal) Marshal

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

func (*AirdropProposal) MarshalTo

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

func (*AirdropProposal) MarshalToSizedBuffer

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

func (*AirdropProposal) ProposalRoute

func (p *AirdropProposal) ProposalRoute() string

func (*AirdropProposal) ProposalType

func (p *AirdropProposal) ProposalType() string

func (*AirdropProposal) ProtoMessage

func (*AirdropProposal) ProtoMessage()

func (*AirdropProposal) Reset

func (m *AirdropProposal) Reset()

func (*AirdropProposal) Size

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

func (AirdropProposal) String

func (p AirdropProposal) String() string

func (*AirdropProposal) Unmarshal

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

func (*AirdropProposal) ValidateBasic

func (p *AirdropProposal) ValidateBasic() error

func (*AirdropProposal) XXX_DiscardUnknown

func (m *AirdropProposal) XXX_DiscardUnknown()

func (*AirdropProposal) XXX_Marshal

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

func (*AirdropProposal) XXX_Merge

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

func (*AirdropProposal) XXX_Size

func (m *AirdropProposal) XXX_Size() int

func (*AirdropProposal) XXX_Unmarshal

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

type Attestation

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

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

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

func (*Attestation) Descriptor

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

func (*Attestation) GetClaim

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

func (*Attestation) GetHeight

func (m *Attestation) GetHeight() uint64

func (*Attestation) GetObserved

func (m *Attestation) GetObserved() bool

func (*Attestation) GetVotes

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

func (*Attestation) Marshal

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

func (*Attestation) MarshalTo

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

func (*Attestation) MarshalToSizedBuffer

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

func (*Attestation) ProtoMessage

func (*Attestation) ProtoMessage()

func (*Attestation) Reset

func (m *Attestation) Reset()

func (*Attestation) Size

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

func (*Attestation) String

func (m *Attestation) String() string

func (*Attestation) Unmarshal

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

func (*Attestation) XXX_DiscardUnknown

func (m *Attestation) XXX_DiscardUnknown()

func (*Attestation) XXX_Marshal

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

func (*Attestation) XXX_Merge

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

func (*Attestation) XXX_Size

func (m *Attestation) XXX_Size() int

func (*Attestation) XXX_Unmarshal

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

type BankKeeper

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

BankKeeper defines the expected bank keeper methods

type BatchFees

type BatchFees struct {
	Token     string                                 `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"`
	TotalFees github_com_cosmos_cosmos_sdk_types.Int `` /* 128-byte string literal not displayed */
	TxCount   uint64                                 `protobuf:"varint,3,opt,name=tx_count,json=txCount,proto3" json:"tx_count,omitempty"`
}

func (*BatchFees) Descriptor

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

func (*BatchFees) GetToken

func (m *BatchFees) GetToken() string

func (*BatchFees) GetTxCount

func (m *BatchFees) GetTxCount() uint64

func (*BatchFees) Marshal

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

func (*BatchFees) MarshalTo

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

func (*BatchFees) MarshalToSizedBuffer

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

func (*BatchFees) ProtoMessage

func (*BatchFees) ProtoMessage()

func (*BatchFees) Reset

func (m *BatchFees) Reset()

func (*BatchFees) Size

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

func (*BatchFees) String

func (m *BatchFees) String() string

func (*BatchFees) Unmarshal

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

func (*BatchFees) XXX_DiscardUnknown

func (m *BatchFees) XXX_DiscardUnknown()

func (*BatchFees) XXX_Marshal

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

func (*BatchFees) XXX_Merge

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

func (*BatchFees) XXX_Size

func (m *BatchFees) XXX_Size() int

func (*BatchFees) XXX_Unmarshal

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

type BridgeValidator

type BridgeValidator struct {
	Power           uint64 `protobuf:"varint,1,opt,name=power,proto3" json:"power,omitempty"`
	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

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

func (*BridgeValidator) GetEthereumAddress

func (m *BridgeValidator) GetEthereumAddress() string

func (*BridgeValidator) GetPower

func (m *BridgeValidator) GetPower() uint64

func (*BridgeValidator) Marshal

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

func (*BridgeValidator) MarshalTo

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

func (*BridgeValidator) MarshalToSizedBuffer

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

func (*BridgeValidator) ProtoMessage

func (*BridgeValidator) ProtoMessage()

func (*BridgeValidator) Reset

func (m *BridgeValidator) Reset()

func (*BridgeValidator) Size

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

func (*BridgeValidator) String

func (m *BridgeValidator) String() string

func (BridgeValidator) ToInternal

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

ToInternal transforms a BridgeValidator into its fully validated internal type

func (*BridgeValidator) Unmarshal

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

func (*BridgeValidator) XXX_DiscardUnknown

func (m *BridgeValidator) XXX_DiscardUnknown()

func (*BridgeValidator) XXX_Marshal

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

func (*BridgeValidator) XXX_Merge

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

func (*BridgeValidator) XXX_Size

func (m *BridgeValidator) XXX_Size() int

func (*BridgeValidator) XXX_Unmarshal

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

type BridgeValidators

type BridgeValidators []BridgeValidator

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

func (BridgeValidators) Equal

Equal checks that slice contents and order are equal

func (BridgeValidators) ToInternal

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

type ClaimType

type ClaimType int32
const (
	CLAIM_TYPE_UNSPECIFIED         ClaimType = 0
	CLAIM_TYPE_SEND_TO_COSMOS      ClaimType = 1
	CLAIM_TYPE_BATCH_SEND_TO_ETH   ClaimType = 2
	CLAIM_TYPE_ERC20_DEPLOYED      ClaimType = 3
	CLAIM_TYPE_LOGIC_CALL_EXECUTED ClaimType = 4
	CLAIM_TYPE_VALSET_UPDATED      ClaimType = 5
)

func (ClaimType) EnumDescriptor

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

func (ClaimType) String

func (x ClaimType) String() string

type DistributionKeeper

type DistributionKeeper interface {
	FundCommunityPool(ctx sdk.Context, amount sdk.Coins, sender sdk.AccAddress) error
	GetFeePool(ctx sdk.Context) (feePool types.FeePool)
	SetFeePool(ctx sdk.Context, feePool types.FeePool)
}

type ERC20ToDenom

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

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

func (*ERC20ToDenom) Descriptor

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

func (*ERC20ToDenom) GetDenom

func (m *ERC20ToDenom) GetDenom() string

func (*ERC20ToDenom) GetErc20

func (m *ERC20ToDenom) GetErc20() string

func (*ERC20ToDenom) Marshal

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

func (*ERC20ToDenom) MarshalTo

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

func (*ERC20ToDenom) MarshalToSizedBuffer

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

func (*ERC20ToDenom) ProtoMessage

func (*ERC20ToDenom) ProtoMessage()

func (*ERC20ToDenom) Reset

func (m *ERC20ToDenom) Reset()

func (*ERC20ToDenom) Size

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

func (*ERC20ToDenom) String

func (m *ERC20ToDenom) String() string

func (*ERC20ToDenom) Unmarshal

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

func (*ERC20ToDenom) XXX_DiscardUnknown

func (m *ERC20ToDenom) XXX_DiscardUnknown()

func (*ERC20ToDenom) XXX_Marshal

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

func (*ERC20ToDenom) XXX_Merge

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

func (*ERC20ToDenom) XXX_Size

func (m *ERC20ToDenom) XXX_Size() int

func (*ERC20ToDenom) XXX_Unmarshal

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

type ERC20Token

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

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

func NewERC20Token

func NewERC20Token(amount uint64, contract string) ERC20Token

NewERC20Token returns a new instance of an ERC20

func NewSDKIntERC20Token

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

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

func (*ERC20Token) Descriptor

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

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

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

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 EthAddress

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

Regular EthAddress

func EthAddressFromSignature

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

func GravityDenomToERC20

func GravityDenomToERC20(denom string) (*EthAddress, error)

GravityDenomToERC20 converts a gravity cosmos denom to an EthAddress

func NewEthAddress

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

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

func NewEthAddressFromBytes

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

func ZeroAddress

func ZeroAddress() EthAddress

Returns a new EthAddress with 0x0000000000000000000000000000000000000000 as the wrapped address

func (EthAddress) GetAddress

func (ea EthAddress) GetAddress() gethcommon.Address

Returns the contained address as a string

func (*EthAddress) SetAddress

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

Sets the contained address, performing validation before updating the value

func (EthAddress) ValidateBasic

func (ea EthAddress) ValidateBasic() error

Performs validation on the wrapped string

type EthereumClaim

type EthereumClaim interface {
	// All Ethereum claims that we relay from the Gravity contract and into the module
	// have a nonce that is monotonically increasing and unique, since this nonce is
	// issued by the Ethereum contract it is immutable and must be agreed on by all validators
	// any disagreement on what claim goes to what nonce means someone is lying.
	GetEventNonce() uint64
	// The block height that the claimed event occurred on. This EventNonce provides sufficient
	// ordering for the execution of all claims. The block height is used only for batchTimeouts + logicTimeouts
	// when we go to create a new batch we set the timeout some number of batches out from the last
	// known height plus projected block progress since then.
	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)
}

EthereumClaim represents a claim on ethereum state

type EthereumSigned

type EthereumSigned interface {
	GetCheckpoint(gravityIDstring string) []byte
}

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

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

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

func (*EventBadSignatureEvidence) GetBadEthSignature

func (m *EventBadSignatureEvidence) GetBadEthSignature() string

func (*EventBadSignatureEvidence) GetBadEthSignatureSubject

func (m *EventBadSignatureEvidence) GetBadEthSignatureSubject() string

func (*EventBadSignatureEvidence) GetMessage

func (m *EventBadSignatureEvidence) GetMessage() string

func (*EventBadSignatureEvidence) Marshal

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

func (*EventBadSignatureEvidence) MarshalTo

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

func (*EventBadSignatureEvidence) MarshalToSizedBuffer

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

func (*EventBadSignatureEvidence) ProtoMessage

func (*EventBadSignatureEvidence) ProtoMessage()

func (*EventBadSignatureEvidence) Reset

func (m *EventBadSignatureEvidence) Reset()

func (*EventBadSignatureEvidence) Size

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

func (*EventBadSignatureEvidence) String

func (m *EventBadSignatureEvidence) String() string

func (*EventBadSignatureEvidence) Unmarshal

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

func (*EventBadSignatureEvidence) XXX_DiscardUnknown

func (m *EventBadSignatureEvidence) XXX_DiscardUnknown()

func (*EventBadSignatureEvidence) XXX_Marshal

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

func (*EventBadSignatureEvidence) XXX_Merge

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

func (*EventBadSignatureEvidence) XXX_Size

func (m *EventBadSignatureEvidence) XXX_Size() int

func (*EventBadSignatureEvidence) XXX_Unmarshal

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

type EventBatchConfirmKey

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

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

func (*EventBatchConfirmKey) GetBatchConfirmKey

func (m *EventBatchConfirmKey) GetBatchConfirmKey() string

func (*EventBatchConfirmKey) GetMessage

func (m *EventBatchConfirmKey) GetMessage() string

func (*EventBatchConfirmKey) Marshal

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

func (*EventBatchConfirmKey) MarshalTo

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

func (*EventBatchConfirmKey) MarshalToSizedBuffer

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

func (*EventBatchConfirmKey) ProtoMessage

func (*EventBatchConfirmKey) ProtoMessage()

func (*EventBatchConfirmKey) Reset

func (m *EventBatchConfirmKey) Reset()

func (*EventBatchConfirmKey) Size

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

func (*EventBatchConfirmKey) String

func (m *EventBatchConfirmKey) String() string

func (*EventBatchConfirmKey) Unmarshal

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

func (*EventBatchConfirmKey) XXX_DiscardUnknown

func (m *EventBatchConfirmKey) XXX_DiscardUnknown()

func (*EventBatchConfirmKey) XXX_Marshal

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

func (*EventBatchConfirmKey) XXX_Merge

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

func (*EventBatchConfirmKey) XXX_Size

func (m *EventBatchConfirmKey) XXX_Size() int

func (*EventBatchConfirmKey) XXX_Unmarshal

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

type EventBatchCreated

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

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

func (*EventBatchCreated) GetBatchNonce

func (m *EventBatchCreated) GetBatchNonce() string

func (*EventBatchCreated) GetMessage

func (m *EventBatchCreated) GetMessage() string

func (*EventBatchCreated) Marshal

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

func (*EventBatchCreated) MarshalTo

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

func (*EventBatchCreated) MarshalToSizedBuffer

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

func (*EventBatchCreated) ProtoMessage

func (*EventBatchCreated) ProtoMessage()

func (*EventBatchCreated) Reset

func (m *EventBatchCreated) Reset()

func (*EventBatchCreated) Size

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

func (*EventBatchCreated) String

func (m *EventBatchCreated) String() string

func (*EventBatchCreated) Unmarshal

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

func (*EventBatchCreated) XXX_DiscardUnknown

func (m *EventBatchCreated) XXX_DiscardUnknown()

func (*EventBatchCreated) XXX_Marshal

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

func (*EventBatchCreated) XXX_Merge

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

func (*EventBatchCreated) XXX_Size

func (m *EventBatchCreated) XXX_Size() int

func (*EventBatchCreated) XXX_Unmarshal

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

type EventBatchSendToEthClaim

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

func (*EventBatchSendToEthClaim) Descriptor

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

func (*EventBatchSendToEthClaim) GetNonce

func (m *EventBatchSendToEthClaim) GetNonce() string

func (*EventBatchSendToEthClaim) Marshal

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

func (*EventBatchSendToEthClaim) MarshalTo

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

func (*EventBatchSendToEthClaim) MarshalToSizedBuffer

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

func (*EventBatchSendToEthClaim) ProtoMessage

func (*EventBatchSendToEthClaim) ProtoMessage()

func (*EventBatchSendToEthClaim) Reset

func (m *EventBatchSendToEthClaim) Reset()

func (*EventBatchSendToEthClaim) Size

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

func (*EventBatchSendToEthClaim) String

func (m *EventBatchSendToEthClaim) String() string

func (*EventBatchSendToEthClaim) Unmarshal

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

func (*EventBatchSendToEthClaim) XXX_DiscardUnknown

func (m *EventBatchSendToEthClaim) XXX_DiscardUnknown()

func (*EventBatchSendToEthClaim) XXX_Marshal

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

func (*EventBatchSendToEthClaim) XXX_Merge

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

func (*EventBatchSendToEthClaim) XXX_Size

func (m *EventBatchSendToEthClaim) XXX_Size() int

func (*EventBatchSendToEthClaim) XXX_Unmarshal

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

type EventClaim

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

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

func (*EventClaim) GetAttestationId

func (m *EventClaim) GetAttestationId() string

func (*EventClaim) GetClaimHash

func (m *EventClaim) GetClaimHash() string

func (*EventClaim) GetMessage

func (m *EventClaim) GetMessage() string

func (*EventClaim) Marshal

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

func (*EventClaim) MarshalTo

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

func (*EventClaim) MarshalToSizedBuffer

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

func (*EventClaim) ProtoMessage

func (*EventClaim) ProtoMessage()

func (*EventClaim) Reset

func (m *EventClaim) Reset()

func (*EventClaim) Size

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

func (*EventClaim) String

func (m *EventClaim) String() string

func (*EventClaim) Unmarshal

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

func (*EventClaim) XXX_DiscardUnknown

func (m *EventClaim) XXX_DiscardUnknown()

func (*EventClaim) XXX_Marshal

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

func (*EventClaim) XXX_Merge

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

func (*EventClaim) XXX_Size

func (m *EventClaim) XXX_Size() int

func (*EventClaim) XXX_Unmarshal

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

type EventERC20DeployedClaim

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

func (*EventERC20DeployedClaim) Descriptor

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

func (*EventERC20DeployedClaim) GetNonce

func (m *EventERC20DeployedClaim) GetNonce() string

func (*EventERC20DeployedClaim) GetToken

func (m *EventERC20DeployedClaim) GetToken() string

func (*EventERC20DeployedClaim) Marshal

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

func (*EventERC20DeployedClaim) MarshalTo

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

func (*EventERC20DeployedClaim) MarshalToSizedBuffer

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

func (*EventERC20DeployedClaim) ProtoMessage

func (*EventERC20DeployedClaim) ProtoMessage()

func (*EventERC20DeployedClaim) Reset

func (m *EventERC20DeployedClaim) Reset()

func (*EventERC20DeployedClaim) Size

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

func (*EventERC20DeployedClaim) String

func (m *EventERC20DeployedClaim) String() string

func (*EventERC20DeployedClaim) Unmarshal

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

func (*EventERC20DeployedClaim) XXX_DiscardUnknown

func (m *EventERC20DeployedClaim) XXX_DiscardUnknown()

func (*EventERC20DeployedClaim) XXX_Marshal

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

func (*EventERC20DeployedClaim) XXX_Merge

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

func (*EventERC20DeployedClaim) XXX_Size

func (m *EventERC20DeployedClaim) XXX_Size() int

func (*EventERC20DeployedClaim) XXX_Unmarshal

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

type EventInvalidSendToCosmosReceiver

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

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

func (*EventInvalidSendToCosmosReceiver) GetAmount

func (*EventInvalidSendToCosmosReceiver) GetNonce

func (*EventInvalidSendToCosmosReceiver) GetSender

func (*EventInvalidSendToCosmosReceiver) GetToken

func (*EventInvalidSendToCosmosReceiver) Marshal

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

func (*EventInvalidSendToCosmosReceiver) MarshalTo

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

func (*EventInvalidSendToCosmosReceiver) MarshalToSizedBuffer

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

func (*EventInvalidSendToCosmosReceiver) ProtoMessage

func (*EventInvalidSendToCosmosReceiver) ProtoMessage()

func (*EventInvalidSendToCosmosReceiver) Reset

func (*EventInvalidSendToCosmosReceiver) Size

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

func (*EventInvalidSendToCosmosReceiver) String

func (*EventInvalidSendToCosmosReceiver) Unmarshal

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

func (*EventInvalidSendToCosmosReceiver) XXX_DiscardUnknown

func (m *EventInvalidSendToCosmosReceiver) XXX_DiscardUnknown()

func (*EventInvalidSendToCosmosReceiver) XXX_Marshal

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

func (*EventInvalidSendToCosmosReceiver) XXX_Merge

func (*EventInvalidSendToCosmosReceiver) XXX_Size

func (m *EventInvalidSendToCosmosReceiver) XXX_Size() int

func (*EventInvalidSendToCosmosReceiver) XXX_Unmarshal

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

type EventMultisigUpdateRequest

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

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

func (*EventMultisigUpdateRequest) GetBridgeChainId

func (m *EventMultisigUpdateRequest) GetBridgeChainId() string

func (*EventMultisigUpdateRequest) GetBridgeContract

func (m *EventMultisigUpdateRequest) GetBridgeContract() string

func (*EventMultisigUpdateRequest) GetMultisigId

func (m *EventMultisigUpdateRequest) GetMultisigId() string

func (*EventMultisigUpdateRequest) GetNonce

func (m *EventMultisigUpdateRequest) GetNonce() string

func (*EventMultisigUpdateRequest) Marshal

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

func (*EventMultisigUpdateRequest) MarshalTo

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

func (*EventMultisigUpdateRequest) MarshalToSizedBuffer

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

func (*EventMultisigUpdateRequest) ProtoMessage

func (*EventMultisigUpdateRequest) ProtoMessage()

func (*EventMultisigUpdateRequest) Reset

func (m *EventMultisigUpdateRequest) Reset()

func (*EventMultisigUpdateRequest) Size

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

func (*EventMultisigUpdateRequest) String

func (m *EventMultisigUpdateRequest) String() string

func (*EventMultisigUpdateRequest) Unmarshal

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

func (*EventMultisigUpdateRequest) XXX_DiscardUnknown

func (m *EventMultisigUpdateRequest) XXX_DiscardUnknown()

func (*EventMultisigUpdateRequest) XXX_Marshal

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

func (*EventMultisigUpdateRequest) XXX_Merge

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

func (*EventMultisigUpdateRequest) XXX_Size

func (m *EventMultisigUpdateRequest) XXX_Size() int

func (*EventMultisigUpdateRequest) XXX_Unmarshal

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

type EventObservation

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

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

func (*EventObservation) GetAttestationId

func (m *EventObservation) GetAttestationId() string

func (*EventObservation) GetAttestationType

func (m *EventObservation) GetAttestationType() string

func (*EventObservation) GetBridgeChainId

func (m *EventObservation) GetBridgeChainId() string

func (*EventObservation) GetBridgeContract

func (m *EventObservation) GetBridgeContract() string

func (*EventObservation) GetNonce

func (m *EventObservation) GetNonce() string

func (*EventObservation) Marshal

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

func (*EventObservation) MarshalTo

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

func (*EventObservation) MarshalToSizedBuffer

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

func (*EventObservation) ProtoMessage

func (*EventObservation) ProtoMessage()

func (*EventObservation) Reset

func (m *EventObservation) Reset()

func (*EventObservation) Size

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

func (*EventObservation) String

func (m *EventObservation) String() string

func (*EventObservation) Unmarshal

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

func (*EventObservation) XXX_DiscardUnknown

func (m *EventObservation) XXX_DiscardUnknown()

func (*EventObservation) XXX_Marshal

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

func (*EventObservation) XXX_Merge

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

func (*EventObservation) XXX_Size

func (m *EventObservation) XXX_Size() int

func (*EventObservation) XXX_Unmarshal

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

type EventOutgoingBatch

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

func (*EventOutgoingBatch) Descriptor

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

func (*EventOutgoingBatch) GetBatchId

func (m *EventOutgoingBatch) GetBatchId() string

func (*EventOutgoingBatch) GetBridgeChainId

func (m *EventOutgoingBatch) GetBridgeChainId() string

func (*EventOutgoingBatch) GetBridgeContract

func (m *EventOutgoingBatch) GetBridgeContract() string

func (*EventOutgoingBatch) GetNonce

func (m *EventOutgoingBatch) GetNonce() string

func (*EventOutgoingBatch) Marshal

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

func (*EventOutgoingBatch) MarshalTo

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

func (*EventOutgoingBatch) MarshalToSizedBuffer

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

func (*EventOutgoingBatch) ProtoMessage

func (*EventOutgoingBatch) ProtoMessage()

func (*EventOutgoingBatch) Reset

func (m *EventOutgoingBatch) Reset()

func (*EventOutgoingBatch) Size

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

func (*EventOutgoingBatch) String

func (m *EventOutgoingBatch) String() string

func (*EventOutgoingBatch) Unmarshal

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

func (*EventOutgoingBatch) XXX_DiscardUnknown

func (m *EventOutgoingBatch) XXX_DiscardUnknown()

func (*EventOutgoingBatch) XXX_Marshal

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

func (*EventOutgoingBatch) XXX_Merge

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

func (*EventOutgoingBatch) XXX_Size

func (m *EventOutgoingBatch) XXX_Size() int

func (*EventOutgoingBatch) XXX_Unmarshal

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

type EventOutgoingBatchCanceled

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

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

func (*EventOutgoingBatchCanceled) GetBatchId

func (m *EventOutgoingBatchCanceled) GetBatchId() string

func (*EventOutgoingBatchCanceled) GetBridgeChainId

func (m *EventOutgoingBatchCanceled) GetBridgeChainId() string

func (*EventOutgoingBatchCanceled) GetBridgeContract

func (m *EventOutgoingBatchCanceled) GetBridgeContract() string

func (*EventOutgoingBatchCanceled) GetNonce

func (m *EventOutgoingBatchCanceled) GetNonce() string

func (*EventOutgoingBatchCanceled) Marshal

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

func (*EventOutgoingBatchCanceled) MarshalTo

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

func (*EventOutgoingBatchCanceled) MarshalToSizedBuffer

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

func (*EventOutgoingBatchCanceled) ProtoMessage

func (*EventOutgoingBatchCanceled) ProtoMessage()

func (*EventOutgoingBatchCanceled) Reset

func (m *EventOutgoingBatchCanceled) Reset()

func (*EventOutgoingBatchCanceled) Size

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

func (*EventOutgoingBatchCanceled) String

func (m *EventOutgoingBatchCanceled) String() string

func (*EventOutgoingBatchCanceled) Unmarshal

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

func (*EventOutgoingBatchCanceled) XXX_DiscardUnknown

func (m *EventOutgoingBatchCanceled) XXX_DiscardUnknown()

func (*EventOutgoingBatchCanceled) XXX_Marshal

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

func (*EventOutgoingBatchCanceled) XXX_Merge

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

func (*EventOutgoingBatchCanceled) XXX_Size

func (m *EventOutgoingBatchCanceled) XXX_Size() int

func (*EventOutgoingBatchCanceled) XXX_Unmarshal

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

type EventOutgoingLogicCallCanceled

type EventOutgoingLogicCallCanceled struct {
	LogicCallInvalidationId    string `` /* 134-byte string literal not displayed */
	LogicCallInvalidationNonce string `` /* 143-byte string literal not displayed */
}

func (*EventOutgoingLogicCallCanceled) Descriptor

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

func (*EventOutgoingLogicCallCanceled) GetLogicCallInvalidationId

func (m *EventOutgoingLogicCallCanceled) GetLogicCallInvalidationId() string

func (*EventOutgoingLogicCallCanceled) GetLogicCallInvalidationNonce

func (m *EventOutgoingLogicCallCanceled) GetLogicCallInvalidationNonce() string

func (*EventOutgoingLogicCallCanceled) Marshal

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

func (*EventOutgoingLogicCallCanceled) MarshalTo

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

func (*EventOutgoingLogicCallCanceled) MarshalToSizedBuffer

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

func (*EventOutgoingLogicCallCanceled) ProtoMessage

func (*EventOutgoingLogicCallCanceled) ProtoMessage()

func (*EventOutgoingLogicCallCanceled) Reset

func (m *EventOutgoingLogicCallCanceled) Reset()

func (*EventOutgoingLogicCallCanceled) Size

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

func (*EventOutgoingLogicCallCanceled) String

func (*EventOutgoingLogicCallCanceled) Unmarshal

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

func (*EventOutgoingLogicCallCanceled) XXX_DiscardUnknown

func (m *EventOutgoingLogicCallCanceled) XXX_DiscardUnknown()

func (*EventOutgoingLogicCallCanceled) XXX_Marshal

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

func (*EventOutgoingLogicCallCanceled) XXX_Merge

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

func (*EventOutgoingLogicCallCanceled) XXX_Size

func (m *EventOutgoingLogicCallCanceled) XXX_Size() int

func (*EventOutgoingLogicCallCanceled) XXX_Unmarshal

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

type EventOutgoingTxId

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

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

func (*EventOutgoingTxId) GetMessage

func (m *EventOutgoingTxId) GetMessage() string

func (*EventOutgoingTxId) GetTxId

func (m *EventOutgoingTxId) GetTxId() string

func (*EventOutgoingTxId) Marshal

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

func (*EventOutgoingTxId) MarshalTo

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

func (*EventOutgoingTxId) MarshalToSizedBuffer

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

func (*EventOutgoingTxId) ProtoMessage

func (*EventOutgoingTxId) ProtoMessage()

func (*EventOutgoingTxId) Reset

func (m *EventOutgoingTxId) Reset()

func (*EventOutgoingTxId) Size

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

func (*EventOutgoingTxId) String

func (m *EventOutgoingTxId) String() string

func (*EventOutgoingTxId) Unmarshal

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

func (*EventOutgoingTxId) XXX_DiscardUnknown

func (m *EventOutgoingTxId) XXX_DiscardUnknown()

func (*EventOutgoingTxId) XXX_Marshal

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

func (*EventOutgoingTxId) XXX_Merge

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

func (*EventOutgoingTxId) XXX_Size

func (m *EventOutgoingTxId) XXX_Size() int

func (*EventOutgoingTxId) XXX_Unmarshal

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

type EventSendToCosmos

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

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

func (*EventSendToCosmos) GetAmount

func (m *EventSendToCosmos) GetAmount() string

func (*EventSendToCosmos) GetNonce

func (m *EventSendToCosmos) GetNonce() string

func (*EventSendToCosmos) GetToken

func (m *EventSendToCosmos) GetToken() string

func (*EventSendToCosmos) Marshal

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

func (*EventSendToCosmos) MarshalTo

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

func (*EventSendToCosmos) MarshalToSizedBuffer

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

func (*EventSendToCosmos) ProtoMessage

func (*EventSendToCosmos) ProtoMessage()

func (*EventSendToCosmos) Reset

func (m *EventSendToCosmos) Reset()

func (*EventSendToCosmos) Size

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

func (*EventSendToCosmos) String

func (m *EventSendToCosmos) String() string

func (*EventSendToCosmos) Unmarshal

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

func (*EventSendToCosmos) XXX_DiscardUnknown

func (m *EventSendToCosmos) XXX_DiscardUnknown()

func (*EventSendToCosmos) XXX_Marshal

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

func (*EventSendToCosmos) XXX_Merge

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

func (*EventSendToCosmos) XXX_Size

func (m *EventSendToCosmos) XXX_Size() int

func (*EventSendToCosmos) XXX_Unmarshal

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

type EventSendToCosmosExecutedIbcAutoForward

type EventSendToCosmosExecutedIbcAutoForward 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"`
	Channel       string `protobuf:"bytes,5,opt,name=channel,proto3" json:"channel,omitempty"`
	TimeoutTime   string `protobuf:"bytes,6,opt,name=timeout_time,json=timeoutTime,proto3" json:"timeout_time,omitempty"`
	TimeoutHeight string `protobuf:"bytes,7,opt,name=timeout_height,json=timeoutHeight,proto3" json:"timeout_height,omitempty"`
}

func (*EventSendToCosmosExecutedIbcAutoForward) Descriptor

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

func (*EventSendToCosmosExecutedIbcAutoForward) GetAmount

func (*EventSendToCosmosExecutedIbcAutoForward) GetChannel

func (*EventSendToCosmosExecutedIbcAutoForward) GetNonce

func (*EventSendToCosmosExecutedIbcAutoForward) GetReceiver

func (*EventSendToCosmosExecutedIbcAutoForward) GetTimeoutHeight

func (m *EventSendToCosmosExecutedIbcAutoForward) GetTimeoutHeight() string

func (*EventSendToCosmosExecutedIbcAutoForward) GetTimeoutTime

func (m *EventSendToCosmosExecutedIbcAutoForward) GetTimeoutTime() string

func (*EventSendToCosmosExecutedIbcAutoForward) GetToken

func (*EventSendToCosmosExecutedIbcAutoForward) Marshal

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

func (*EventSendToCosmosExecutedIbcAutoForward) MarshalTo

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

func (*EventSendToCosmosExecutedIbcAutoForward) MarshalToSizedBuffer

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

func (*EventSendToCosmosExecutedIbcAutoForward) ProtoMessage

func (*EventSendToCosmosExecutedIbcAutoForward) Reset

func (*EventSendToCosmosExecutedIbcAutoForward) Size

func (*EventSendToCosmosExecutedIbcAutoForward) String

func (*EventSendToCosmosExecutedIbcAutoForward) Unmarshal

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

func (*EventSendToCosmosExecutedIbcAutoForward) XXX_DiscardUnknown

func (m *EventSendToCosmosExecutedIbcAutoForward) XXX_DiscardUnknown()

func (*EventSendToCosmosExecutedIbcAutoForward) XXX_Marshal

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

func (*EventSendToCosmosExecutedIbcAutoForward) XXX_Merge

func (*EventSendToCosmosExecutedIbcAutoForward) XXX_Size

func (*EventSendToCosmosExecutedIbcAutoForward) XXX_Unmarshal

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

type EventSendToCosmosLocal

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

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

func (*EventSendToCosmosLocal) GetAmount

func (m *EventSendToCosmosLocal) GetAmount() string

func (*EventSendToCosmosLocal) GetNonce

func (m *EventSendToCosmosLocal) GetNonce() string

func (*EventSendToCosmosLocal) GetReceiver

func (m *EventSendToCosmosLocal) GetReceiver() string

func (*EventSendToCosmosLocal) GetToken

func (m *EventSendToCosmosLocal) GetToken() string

func (*EventSendToCosmosLocal) Marshal

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

func (*EventSendToCosmosLocal) MarshalTo

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

func (*EventSendToCosmosLocal) MarshalToSizedBuffer

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

func (*EventSendToCosmosLocal) ProtoMessage

func (*EventSendToCosmosLocal) ProtoMessage()

func (*EventSendToCosmosLocal) Reset

func (m *EventSendToCosmosLocal) Reset()

func (*EventSendToCosmosLocal) Size

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

func (*EventSendToCosmosLocal) String

func (m *EventSendToCosmosLocal) String() string

func (*EventSendToCosmosLocal) Unmarshal

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

func (*EventSendToCosmosLocal) XXX_DiscardUnknown

func (m *EventSendToCosmosLocal) XXX_DiscardUnknown()

func (*EventSendToCosmosLocal) XXX_Marshal

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

func (*EventSendToCosmosLocal) XXX_Merge

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

func (*EventSendToCosmosLocal) XXX_Size

func (m *EventSendToCosmosLocal) XXX_Size() int

func (*EventSendToCosmosLocal) XXX_Unmarshal

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

type EventSendToCosmosPendingIbcAutoForward

type EventSendToCosmosPendingIbcAutoForward 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"`
	Channel  string `protobuf:"bytes,5,opt,name=channel,proto3" json:"channel,omitempty"`
}

func (*EventSendToCosmosPendingIbcAutoForward) Descriptor

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

func (*EventSendToCosmosPendingIbcAutoForward) GetAmount

func (*EventSendToCosmosPendingIbcAutoForward) GetChannel

func (*EventSendToCosmosPendingIbcAutoForward) GetNonce

func (*EventSendToCosmosPendingIbcAutoForward) GetReceiver

func (*EventSendToCosmosPendingIbcAutoForward) GetToken

func (*EventSendToCosmosPendingIbcAutoForward) Marshal

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

func (*EventSendToCosmosPendingIbcAutoForward) MarshalTo

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

func (*EventSendToCosmosPendingIbcAutoForward) MarshalToSizedBuffer

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

func (*EventSendToCosmosPendingIbcAutoForward) ProtoMessage

func (*EventSendToCosmosPendingIbcAutoForward) Reset

func (*EventSendToCosmosPendingIbcAutoForward) Size

func (*EventSendToCosmosPendingIbcAutoForward) String

func (*EventSendToCosmosPendingIbcAutoForward) Unmarshal

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

func (*EventSendToCosmosPendingIbcAutoForward) XXX_DiscardUnknown

func (m *EventSendToCosmosPendingIbcAutoForward) XXX_DiscardUnknown()

func (*EventSendToCosmosPendingIbcAutoForward) XXX_Marshal

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

func (*EventSendToCosmosPendingIbcAutoForward) XXX_Merge

func (*EventSendToCosmosPendingIbcAutoForward) XXX_Size

func (*EventSendToCosmosPendingIbcAutoForward) XXX_Unmarshal

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

type EventSetOperatorAddress

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

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

func (*EventSetOperatorAddress) GetAddress

func (m *EventSetOperatorAddress) GetAddress() string

func (*EventSetOperatorAddress) GetMessage

func (m *EventSetOperatorAddress) GetMessage() string

func (*EventSetOperatorAddress) Marshal

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

func (*EventSetOperatorAddress) MarshalTo

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

func (*EventSetOperatorAddress) MarshalToSizedBuffer

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

func (*EventSetOperatorAddress) ProtoMessage

func (*EventSetOperatorAddress) ProtoMessage()

func (*EventSetOperatorAddress) Reset

func (m *EventSetOperatorAddress) Reset()

func (*EventSetOperatorAddress) Size

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

func (*EventSetOperatorAddress) String

func (m *EventSetOperatorAddress) String() string

func (*EventSetOperatorAddress) Unmarshal

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

func (*EventSetOperatorAddress) XXX_DiscardUnknown

func (m *EventSetOperatorAddress) XXX_DiscardUnknown()

func (*EventSetOperatorAddress) XXX_Marshal

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

func (*EventSetOperatorAddress) XXX_Merge

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

func (*EventSetOperatorAddress) XXX_Size

func (m *EventSetOperatorAddress) XXX_Size() int

func (*EventSetOperatorAddress) XXX_Unmarshal

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

type EventSignatureSlashing

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

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

func (*EventSignatureSlashing) GetAddress

func (m *EventSignatureSlashing) GetAddress() string

func (*EventSignatureSlashing) GetType

func (m *EventSignatureSlashing) GetType() string

func (*EventSignatureSlashing) Marshal

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

func (*EventSignatureSlashing) MarshalTo

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

func (*EventSignatureSlashing) MarshalToSizedBuffer

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

func (*EventSignatureSlashing) ProtoMessage

func (*EventSignatureSlashing) ProtoMessage()

func (*EventSignatureSlashing) Reset

func (m *EventSignatureSlashing) Reset()

func (*EventSignatureSlashing) Size

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

func (*EventSignatureSlashing) String

func (m *EventSignatureSlashing) String() string

func (*EventSignatureSlashing) Unmarshal

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

func (*EventSignatureSlashing) XXX_DiscardUnknown

func (m *EventSignatureSlashing) XXX_DiscardUnknown()

func (*EventSignatureSlashing) XXX_Marshal

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

func (*EventSignatureSlashing) XXX_Merge

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

func (*EventSignatureSlashing) XXX_Size

func (m *EventSignatureSlashing) XXX_Size() int

func (*EventSignatureSlashing) XXX_Unmarshal

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

type EventValsetConfirmKey

type EventValsetConfirmKey struct {
	Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
	Key     string `protobuf:"bytes,2,opt,name=key,proto3" json:"key,omitempty"`
}

func (*EventValsetConfirmKey) Descriptor

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

func (*EventValsetConfirmKey) GetKey

func (m *EventValsetConfirmKey) GetKey() string

func (*EventValsetConfirmKey) GetMessage

func (m *EventValsetConfirmKey) GetMessage() string

func (*EventValsetConfirmKey) Marshal

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

func (*EventValsetConfirmKey) MarshalTo

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

func (*EventValsetConfirmKey) MarshalToSizedBuffer

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

func (*EventValsetConfirmKey) ProtoMessage

func (*EventValsetConfirmKey) ProtoMessage()

func (*EventValsetConfirmKey) Reset

func (m *EventValsetConfirmKey) Reset()

func (*EventValsetConfirmKey) Size

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

func (*EventValsetConfirmKey) String

func (m *EventValsetConfirmKey) String() string

func (*EventValsetConfirmKey) Unmarshal

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

func (*EventValsetConfirmKey) XXX_DiscardUnknown

func (m *EventValsetConfirmKey) XXX_DiscardUnknown()

func (*EventValsetConfirmKey) XXX_Marshal

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

func (*EventValsetConfirmKey) XXX_Merge

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

func (*EventValsetConfirmKey) XXX_Size

func (m *EventValsetConfirmKey) XXX_Size() int

func (*EventValsetConfirmKey) XXX_Unmarshal

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

type EventValsetUpdatedClaim

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

func (*EventValsetUpdatedClaim) Descriptor

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

func (*EventValsetUpdatedClaim) GetNonce

func (m *EventValsetUpdatedClaim) GetNonce() string

func (*EventValsetUpdatedClaim) Marshal

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

func (*EventValsetUpdatedClaim) MarshalTo

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

func (*EventValsetUpdatedClaim) MarshalToSizedBuffer

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

func (*EventValsetUpdatedClaim) ProtoMessage

func (*EventValsetUpdatedClaim) ProtoMessage()

func (*EventValsetUpdatedClaim) Reset

func (m *EventValsetUpdatedClaim) Reset()

func (*EventValsetUpdatedClaim) Size

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

func (*EventValsetUpdatedClaim) String

func (m *EventValsetUpdatedClaim) String() string

func (*EventValsetUpdatedClaim) Unmarshal

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

func (*EventValsetUpdatedClaim) XXX_DiscardUnknown

func (m *EventValsetUpdatedClaim) XXX_DiscardUnknown()

func (*EventValsetUpdatedClaim) XXX_Marshal

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

func (*EventValsetUpdatedClaim) XXX_Merge

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

func (*EventValsetUpdatedClaim) XXX_Size

func (m *EventValsetUpdatedClaim) XXX_Size() int

func (*EventValsetUpdatedClaim) XXX_Unmarshal

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

type EventWithdrawCanceled

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

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

func (*EventWithdrawCanceled) GetBridgeChainId

func (m *EventWithdrawCanceled) GetBridgeChainId() string

func (*EventWithdrawCanceled) GetBridgeContract

func (m *EventWithdrawCanceled) GetBridgeContract() string

func (*EventWithdrawCanceled) GetSender

func (m *EventWithdrawCanceled) GetSender() string

func (*EventWithdrawCanceled) GetTxId

func (m *EventWithdrawCanceled) GetTxId() string

func (*EventWithdrawCanceled) Marshal

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

func (*EventWithdrawCanceled) MarshalTo

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

func (*EventWithdrawCanceled) MarshalToSizedBuffer

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

func (*EventWithdrawCanceled) ProtoMessage

func (*EventWithdrawCanceled) ProtoMessage()

func (*EventWithdrawCanceled) Reset

func (m *EventWithdrawCanceled) Reset()

func (*EventWithdrawCanceled) Size

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

func (*EventWithdrawCanceled) String

func (m *EventWithdrawCanceled) String() string

func (*EventWithdrawCanceled) Unmarshal

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

func (*EventWithdrawCanceled) XXX_DiscardUnknown

func (m *EventWithdrawCanceled) XXX_DiscardUnknown()

func (*EventWithdrawCanceled) XXX_Marshal

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

func (*EventWithdrawCanceled) XXX_Merge

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

func (*EventWithdrawCanceled) XXX_Size

func (m *EventWithdrawCanceled) XXX_Size() int

func (*EventWithdrawCanceled) XXX_Unmarshal

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

type EventWithdrawalReceived

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

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

func (*EventWithdrawalReceived) GetBridgeChainId

func (m *EventWithdrawalReceived) GetBridgeChainId() string

func (*EventWithdrawalReceived) GetBridgeContract

func (m *EventWithdrawalReceived) GetBridgeContract() string

func (*EventWithdrawalReceived) GetNonce

func (m *EventWithdrawalReceived) GetNonce() string

func (*EventWithdrawalReceived) GetOutgoingTxId

func (m *EventWithdrawalReceived) GetOutgoingTxId() string

func (*EventWithdrawalReceived) Marshal

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

func (*EventWithdrawalReceived) MarshalTo

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

func (*EventWithdrawalReceived) MarshalToSizedBuffer

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

func (*EventWithdrawalReceived) ProtoMessage

func (*EventWithdrawalReceived) ProtoMessage()

func (*EventWithdrawalReceived) Reset

func (m *EventWithdrawalReceived) Reset()

func (*EventWithdrawalReceived) Size

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

func (*EventWithdrawalReceived) String

func (m *EventWithdrawalReceived) String() string

func (*EventWithdrawalReceived) Unmarshal

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

func (*EventWithdrawalReceived) XXX_DiscardUnknown

func (m *EventWithdrawalReceived) XXX_DiscardUnknown()

func (*EventWithdrawalReceived) XXX_Marshal

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

func (*EventWithdrawalReceived) XXX_Merge

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

func (*EventWithdrawalReceived) XXX_Size

func (m *EventWithdrawalReceived) XXX_Size() int

func (*EventWithdrawalReceived) XXX_Unmarshal

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"`
	Valsets            []Valset                    `protobuf:"bytes,3,rep,name=valsets,proto3" json:"valsets"`
	ValsetConfirms     []MsgValsetConfirm          `protobuf:"bytes,4,rep,name=valset_confirms,json=valsetConfirms,proto3" json:"valset_confirms"`
	Batches            []OutgoingTxBatch           `protobuf:"bytes,5,rep,name=batches,proto3" json:"batches"`
	BatchConfirms      []MsgConfirmBatch           `protobuf:"bytes,6,rep,name=batch_confirms,json=batchConfirms,proto3" json:"batch_confirms"`
	LogicCalls         []OutgoingLogicCall         `protobuf:"bytes,7,rep,name=logic_calls,json=logicCalls,proto3" json:"logic_calls"`
	LogicCallConfirms  []MsgConfirmLogicCall       `protobuf:"bytes,8,rep,name=logic_call_confirms,json=logicCallConfirms,proto3" json:"logic_call_confirms"`
	Attestations       []Attestation               `protobuf:"bytes,9,rep,name=attestations,proto3" json:"attestations"`
	DelegateKeys       []MsgSetOrchestratorAddress `protobuf:"bytes,10,rep,name=delegate_keys,json=delegateKeys,proto3" json:"delegate_keys"`
	Erc20ToDenoms      []ERC20ToDenom              `protobuf:"bytes,11,rep,name=erc20_to_denoms,json=erc20ToDenoms,proto3" json:"erc20_to_denoms"`
	UnbatchedTransfers []OutgoingTransferTx        `protobuf:"bytes,12,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

func (*GenesisState) Descriptor

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

func (*GenesisState) GetAttestations

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

func (*GenesisState) GetBatchConfirms

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

func (*GenesisState) GetBatches

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

func (*GenesisState) GetDelegateKeys

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

func (*GenesisState) GetErc20ToDenoms

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

func (*GenesisState) GetGravityNonces

func (m *GenesisState) GetGravityNonces() GravityNonces

func (*GenesisState) GetLogicCallConfirms

func (m *GenesisState) GetLogicCallConfirms() []MsgConfirmLogicCall

func (*GenesisState) GetLogicCalls

func (m *GenesisState) GetLogicCalls() []OutgoingLogicCall

func (*GenesisState) GetParams

func (m *GenesisState) GetParams() *Params

func (*GenesisState) GetUnbatchedTransfers

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

func (*GenesisState) GetValsetConfirms

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

func (*GenesisState) GetValsets

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

func (*GenesisState) Marshal

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

func (*GenesisState) MarshalTo

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

func (*GenesisState) MarshalToSizedBuffer

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

func (*GenesisState) ProtoMessage

func (*GenesisState) ProtoMessage()

func (*GenesisState) Reset

func (m *GenesisState) Reset()

func (*GenesisState) Size

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

func (*GenesisState) String

func (m *GenesisState) String() string

func (*GenesisState) Unmarshal

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

func (GenesisState) ValidateBasic

func (s GenesisState) ValidateBasic() error

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

func (*GenesisState) XXX_DiscardUnknown

func (m *GenesisState) XXX_DiscardUnknown()

func (*GenesisState) XXX_Marshal

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

func (*GenesisState) XXX_Merge

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

func (*GenesisState) XXX_Size

func (m *GenesisState) XXX_Size() int

func (*GenesisState) XXX_Unmarshal

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

type GravityNonces

type GravityNonces struct {
	// the nonce of the last generated validator set
	LatestValsetNonce uint64 `protobuf:"varint,1,opt,name=latest_valset_nonce,json=latestValsetNonce,proto3" json:"latest_valset_nonce,omitempty"`
	// the last observed Gravity.sol contract event nonce
	LastObservedNonce uint64 `protobuf:"varint,2,opt,name=last_observed_nonce,json=lastObservedNonce,proto3" json:"last_observed_nonce,omitempty"`
	// the last valset nonce we have slashed, to prevent double slashing
	LastSlashedValsetNonce uint64 `` /* 132-byte string literal not displayed */
	// 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 cosmos block that logic call slashing has completed for
	LastSlashedLogicCallBlock uint64 `` /* 143-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,6,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,7,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

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

func (*GravityNonces) GetLastBatchId

func (m *GravityNonces) GetLastBatchId() uint64

func (*GravityNonces) GetLastObservedNonce

func (m *GravityNonces) GetLastObservedNonce() uint64

func (*GravityNonces) GetLastSlashedBatchBlock

func (m *GravityNonces) GetLastSlashedBatchBlock() uint64

func (*GravityNonces) GetLastSlashedLogicCallBlock

func (m *GravityNonces) GetLastSlashedLogicCallBlock() uint64

func (*GravityNonces) GetLastSlashedValsetNonce

func (m *GravityNonces) GetLastSlashedValsetNonce() uint64

func (*GravityNonces) GetLastTxPoolId

func (m *GravityNonces) GetLastTxPoolId() uint64

func (*GravityNonces) GetLatestValsetNonce

func (m *GravityNonces) GetLatestValsetNonce() uint64

func (*GravityNonces) Marshal

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

func (*GravityNonces) MarshalTo

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

func (*GravityNonces) MarshalToSizedBuffer

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

func (*GravityNonces) ProtoMessage

func (*GravityNonces) ProtoMessage()

func (*GravityNonces) Reset

func (m *GravityNonces) Reset()

func (*GravityNonces) Size

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

func (*GravityNonces) String

func (m *GravityNonces) String() string

func (*GravityNonces) Unmarshal

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

func (*GravityNonces) XXX_DiscardUnknown

func (m *GravityNonces) XXX_DiscardUnknown()

func (*GravityNonces) XXX_Marshal

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

func (*GravityNonces) XXX_Merge

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

func (*GravityNonces) XXX_Size

func (m *GravityNonces) XXX_Size() int

func (*GravityNonces) XXX_Unmarshal

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

type IBCMetadataProposal

type IBCMetadataProposal 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"`
	Metadata    types.Metadata `protobuf:"bytes,3,opt,name=metadata,proto3" json:"metadata"`
	IbcDenom    string         `protobuf:"bytes,4,opt,name=ibc_denom,json=ibcDenom,proto3" json:"ibc_denom,omitempty"`
}

IBCMetadataProposal defines a custom governance proposal type that allows governance to set the metadata for an IBC token, this will allow Gravity to deploy an ERC20 representing this token on Ethereum Name: the token name Symbol: the token symbol Description: the token description, not sent to ETH at all, only used on Cosmos Display: the token display name (only used on Cosmos to decide ERC20 Decimals) Deicmals: the decimals for the display unit ibc_denom is the denom of the token in question on this chain

func (*IBCMetadataProposal) Descriptor

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

func (*IBCMetadataProposal) GetDescription

func (p *IBCMetadataProposal) GetDescription() string

func (*IBCMetadataProposal) GetTitle

func (p *IBCMetadataProposal) GetTitle() string

func (*IBCMetadataProposal) Marshal

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

func (*IBCMetadataProposal) MarshalTo

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

func (*IBCMetadataProposal) MarshalToSizedBuffer

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

func (*IBCMetadataProposal) ProposalRoute

func (p *IBCMetadataProposal) ProposalRoute() string

func (*IBCMetadataProposal) ProposalType

func (p *IBCMetadataProposal) ProposalType() string

func (*IBCMetadataProposal) ProtoMessage

func (*IBCMetadataProposal) ProtoMessage()

func (*IBCMetadataProposal) Reset

func (m *IBCMetadataProposal) Reset()

func (*IBCMetadataProposal) Size

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

func (IBCMetadataProposal) String

func (p IBCMetadataProposal) String() string

func (*IBCMetadataProposal) Unmarshal

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

func (*IBCMetadataProposal) ValidateBasic

func (p *IBCMetadataProposal) ValidateBasic() error

func (*IBCMetadataProposal) XXX_DiscardUnknown

func (m *IBCMetadataProposal) XXX_DiscardUnknown()

func (*IBCMetadataProposal) XXX_Marshal

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

func (*IBCMetadataProposal) XXX_Merge

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

func (*IBCMetadataProposal) XXX_Size

func (m *IBCMetadataProposal) XXX_Size() int

func (*IBCMetadataProposal) XXX_Unmarshal

func (m *IBCMetadataProposal) 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

type InternalBridgeValidator struct {
	Power           uint64
	EthereumAddress EthAddress
}

InternalBridgeValidator is a BridgeValidator but with validated EthereumAddress

func NewInternalBridgeValidator

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

func (InternalBridgeValidator) ToExternal

func (InternalBridgeValidator) ValidateBasic

func (i InternalBridgeValidator) ValidateBasic() error

type InternalBridgeValidators

type InternalBridgeValidators []*InternalBridgeValidator

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

func (InternalBridgeValidators) GetPowers

func (b InternalBridgeValidators) GetPowers() []uint64

GetPowers returns only the power values for all members

func (InternalBridgeValidators) HasDuplicates

func (b InternalBridgeValidators) HasDuplicates() bool

HasDuplicates returns true if there are duplicates in the set

func (InternalBridgeValidators) PowerDiff

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

func (b InternalBridgeValidators) Sort()

Sort sorts the validators by power

func (InternalBridgeValidators) ToExternal

func (InternalBridgeValidators) TotalPower

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

TotalPower returns the total power in the bridge validator set

func (InternalBridgeValidators) ValidateBasic

func (b InternalBridgeValidators) ValidateBasic() error

ValidateBasic performs stateless checks

type InternalERC20Token

type InternalERC20Token struct {
	Amount   sdk.Int
	Contract EthAddress
}

InternalERC20Token contains validated fields, used for all internal computation

func NewInternalERC20Token

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

NewInternalERC20Token creates an InternalERC20Token, performing validation and returning any errors

func (*InternalERC20Token) Add

Add adds one ERC20 to another TODO: make this return errors instead

func (*InternalERC20Token) GravityCoin

func (i *InternalERC20Token) GravityCoin() sdk.Coin

GravityCoin returns the gravity representation of the ERC20

func (*InternalERC20Token) ToExternal

func (i *InternalERC20Token) ToExternal() ERC20Token

ToExternal converts an InternalERC20Token to the external type ERC20Token

func (*InternalERC20Token) ValidateBasic

func (i *InternalERC20Token) ValidateBasic() error

ValidateBasic performs validation on all fields of an InternalERC20Token

type InternalOutgoingTransferTx

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

InternalOutgoingTransferTx is an internal duplicate of OutgoingTransferTx with validation

func NewInternalOutgoingTransferTx

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

func (InternalOutgoingTransferTx) ToExternal

func (InternalOutgoingTransferTx) ValidateBasic

func (i InternalOutgoingTransferTx) ValidateBasic() error

type InternalOutgoingTxBatch

type InternalOutgoingTxBatch struct {
	BatchNonce    uint64
	BatchTimeout  uint64
	Transactions  []*InternalOutgoingTransferTx
	TokenContract EthAddress
	EthBlock      uint64
}

InternalOutgoingTxBatch is an internal duplicate of OutgoingTxBatch with validation

func NewInternalOutgingTxBatch

func NewInternalOutgingTxBatch(
	nonce uint64,
	timeout uint64,
	transactions []*InternalOutgoingTransferTx,
	contract EthAddress,
	block uint64) (*InternalOutgoingTxBatch, error)

func NewInternalOutgingTxBatchFromExternalBatch

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

func (InternalOutgoingTxBatch) GetCheckpoint

func (i InternalOutgoingTxBatch) GetCheckpoint(gravityIDstring string) []byte

GetCheckpoint gets the checkpoint signature from the given outgoing tx batch

func (*InternalOutgoingTxBatch) ToExternal

func (i *InternalOutgoingTxBatch) ToExternal() OutgoingTxBatch

func (*InternalOutgoingTxBatch) ValidateBasic

func (i *InternalOutgoingTxBatch) ValidateBasic() error

type InternalOutgoingTxBatches

type InternalOutgoingTxBatches []InternalOutgoingTxBatch

InternalOutgoingTxBatch is an internal duplicate array of OutgoingTxBatch with validation

func (*InternalOutgoingTxBatches) ToExternalArray

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

type LastObservedEthereumBlockHeight

type LastObservedEthereumBlockHeight struct {
	CosmosBlockHeight   uint64 `protobuf:"varint,1,opt,name=cosmos_block_height,json=cosmosBlockHeight,proto3" json:"cosmos_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

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

func (*LastObservedEthereumBlockHeight) GetCosmosBlockHeight

func (m *LastObservedEthereumBlockHeight) GetCosmosBlockHeight() uint64

func (*LastObservedEthereumBlockHeight) GetEthereumBlockHeight

func (m *LastObservedEthereumBlockHeight) GetEthereumBlockHeight() uint64

func (*LastObservedEthereumBlockHeight) Marshal

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

func (*LastObservedEthereumBlockHeight) MarshalTo

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

func (*LastObservedEthereumBlockHeight) MarshalToSizedBuffer

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

func (*LastObservedEthereumBlockHeight) ProtoMessage

func (*LastObservedEthereumBlockHeight) ProtoMessage()

func (*LastObservedEthereumBlockHeight) Reset

func (*LastObservedEthereumBlockHeight) Size

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

func (*LastObservedEthereumBlockHeight) String

func (*LastObservedEthereumBlockHeight) Unmarshal

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

func (*LastObservedEthereumBlockHeight) XXX_DiscardUnknown

func (m *LastObservedEthereumBlockHeight) XXX_DiscardUnknown()

func (*LastObservedEthereumBlockHeight) XXX_Marshal

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

func (*LastObservedEthereumBlockHeight) XXX_Merge

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

func (*LastObservedEthereumBlockHeight) XXX_Size

func (m *LastObservedEthereumBlockHeight) XXX_Size() int

func (*LastObservedEthereumBlockHeight) XXX_Unmarshal

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

type MsgBatchSendToEthClaim

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"`
	Orchestrator   string `protobuf:"bytes,5,opt,name=orchestrator,proto3" json:"orchestrator,omitempty"`
}

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

func (*MsgBatchSendToEthClaim) ClaimHash

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

Hash implements WithdrawBatch.Hash

func (*MsgBatchSendToEthClaim) Descriptor

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

func (*MsgBatchSendToEthClaim) GetBatchNonce

func (m *MsgBatchSendToEthClaim) GetBatchNonce() uint64

func (MsgBatchSendToEthClaim) GetClaimer

func (msg MsgBatchSendToEthClaim) GetClaimer() sdk.AccAddress

func (*MsgBatchSendToEthClaim) GetEthBlockHeight

func (m *MsgBatchSendToEthClaim) GetEthBlockHeight() uint64

func (*MsgBatchSendToEthClaim) GetEventNonce

func (m *MsgBatchSendToEthClaim) GetEventNonce() uint64

func (*MsgBatchSendToEthClaim) GetOrchestrator

func (m *MsgBatchSendToEthClaim) GetOrchestrator() string

func (MsgBatchSendToEthClaim) GetSignBytes

func (msg MsgBatchSendToEthClaim) GetSignBytes() []byte

GetSignBytes encodes the message for signing

func (MsgBatchSendToEthClaim) GetSigners

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

GetSigners defines whose signature is required

func (*MsgBatchSendToEthClaim) GetTokenContract

func (m *MsgBatchSendToEthClaim) GetTokenContract() string

func (*MsgBatchSendToEthClaim) GetType

func (msg *MsgBatchSendToEthClaim) GetType() ClaimType

GetType returns the claim type

func (*MsgBatchSendToEthClaim) Marshal

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

func (*MsgBatchSendToEthClaim) MarshalTo

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

func (*MsgBatchSendToEthClaim) MarshalToSizedBuffer

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

func (*MsgBatchSendToEthClaim) ProtoMessage

func (*MsgBatchSendToEthClaim) ProtoMessage()

func (*MsgBatchSendToEthClaim) Reset

func (m *MsgBatchSendToEthClaim) Reset()

func (MsgBatchSendToEthClaim) Route

func (msg MsgBatchSendToEthClaim) Route() string

Route should return the name of the module

func (*MsgBatchSendToEthClaim) Size

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

func (*MsgBatchSendToEthClaim) String

func (m *MsgBatchSendToEthClaim) String() string

func (MsgBatchSendToEthClaim) Type

func (msg MsgBatchSendToEthClaim) Type() string

Type should return the action

func (*MsgBatchSendToEthClaim) Unmarshal

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

func (*MsgBatchSendToEthClaim) ValidateBasic

func (e *MsgBatchSendToEthClaim) ValidateBasic() error

ValidateBasic performs stateless checks

func (*MsgBatchSendToEthClaim) XXX_DiscardUnknown

func (m *MsgBatchSendToEthClaim) XXX_DiscardUnknown()

func (*MsgBatchSendToEthClaim) XXX_Marshal

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

func (*MsgBatchSendToEthClaim) XXX_Merge

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

func (*MsgBatchSendToEthClaim) XXX_Size

func (m *MsgBatchSendToEthClaim) XXX_Size() int

func (*MsgBatchSendToEthClaim) XXX_Unmarshal

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

type MsgBatchSendToEthClaimResponse

type MsgBatchSendToEthClaimResponse struct {
}

func (*MsgBatchSendToEthClaimResponse) Descriptor

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

func (*MsgBatchSendToEthClaimResponse) Marshal

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

func (*MsgBatchSendToEthClaimResponse) MarshalTo

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

func (*MsgBatchSendToEthClaimResponse) MarshalToSizedBuffer

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

func (*MsgBatchSendToEthClaimResponse) ProtoMessage

func (*MsgBatchSendToEthClaimResponse) ProtoMessage()

func (*MsgBatchSendToEthClaimResponse) Reset

func (m *MsgBatchSendToEthClaimResponse) Reset()

func (*MsgBatchSendToEthClaimResponse) Size

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

func (*MsgBatchSendToEthClaimResponse) String

func (*MsgBatchSendToEthClaimResponse) Unmarshal

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

func (*MsgBatchSendToEthClaimResponse) XXX_DiscardUnknown

func (m *MsgBatchSendToEthClaimResponse) XXX_DiscardUnknown()

func (*MsgBatchSendToEthClaimResponse) XXX_Marshal

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

func (*MsgBatchSendToEthClaimResponse) XXX_Merge

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

func (*MsgBatchSendToEthClaimResponse) XXX_Size

func (m *MsgBatchSendToEthClaimResponse) XXX_Size() int

func (*MsgBatchSendToEthClaimResponse) XXX_Unmarshal

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

type MsgCancelSendToEth

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

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

func NewMsgCancelSendToEth

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

NewMsgCancelSendToEth returns a new msgSetOrchestratorAddress

func (*MsgCancelSendToEth) Descriptor

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

func (*MsgCancelSendToEth) GetSender

func (m *MsgCancelSendToEth) GetSender() string

func (*MsgCancelSendToEth) GetSignBytes

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

GetSignBytes encodes the message for signing

func (*MsgCancelSendToEth) GetSigners

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

GetSigners defines whose signature is required

func (*MsgCancelSendToEth) GetTransactionId

func (m *MsgCancelSendToEth) GetTransactionId() uint64

func (*MsgCancelSendToEth) Marshal

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

func (*MsgCancelSendToEth) MarshalTo

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

func (*MsgCancelSendToEth) MarshalToSizedBuffer

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

func (*MsgCancelSendToEth) ProtoMessage

func (*MsgCancelSendToEth) ProtoMessage()

func (*MsgCancelSendToEth) Reset

func (m *MsgCancelSendToEth) Reset()

func (*MsgCancelSendToEth) Route

func (msg *MsgCancelSendToEth) Route() string

Route should return the name of the module

func (*MsgCancelSendToEth) Size

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

func (*MsgCancelSendToEth) String

func (m *MsgCancelSendToEth) String() string

func (*MsgCancelSendToEth) Type

func (msg *MsgCancelSendToEth) Type() string

Type should return the action

func (*MsgCancelSendToEth) Unmarshal

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

func (*MsgCancelSendToEth) ValidateBasic

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

ValidateBasic performs stateless checks

func (*MsgCancelSendToEth) XXX_DiscardUnknown

func (m *MsgCancelSendToEth) XXX_DiscardUnknown()

func (*MsgCancelSendToEth) XXX_Marshal

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

func (*MsgCancelSendToEth) XXX_Merge

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

func (*MsgCancelSendToEth) XXX_Size

func (m *MsgCancelSendToEth) XXX_Size() int

func (*MsgCancelSendToEth) XXX_Unmarshal

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

type MsgCancelSendToEthResponse

type MsgCancelSendToEthResponse struct {
}

func (*MsgCancelSendToEthResponse) Descriptor

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

func (*MsgCancelSendToEthResponse) Marshal

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

func (*MsgCancelSendToEthResponse) MarshalTo

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

func (*MsgCancelSendToEthResponse) MarshalToSizedBuffer

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

func (*MsgCancelSendToEthResponse) ProtoMessage

func (*MsgCancelSendToEthResponse) ProtoMessage()

func (*MsgCancelSendToEthResponse) Reset

func (m *MsgCancelSendToEthResponse) Reset()

func (*MsgCancelSendToEthResponse) Size

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

func (*MsgCancelSendToEthResponse) String

func (m *MsgCancelSendToEthResponse) String() string

func (*MsgCancelSendToEthResponse) Unmarshal

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

func (*MsgCancelSendToEthResponse) XXX_DiscardUnknown

func (m *MsgCancelSendToEthResponse) XXX_DiscardUnknown()

func (*MsgCancelSendToEthResponse) XXX_Marshal

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

func (*MsgCancelSendToEthResponse) XXX_Merge

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

func (*MsgCancelSendToEthResponse) XXX_Size

func (m *MsgCancelSendToEthResponse) XXX_Size() int

func (*MsgCancelSendToEthResponse) XXX_Unmarshal

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

type MsgClient

type MsgClient interface {
	ValsetConfirm(ctx context.Context, in *MsgValsetConfirm, opts ...grpc.CallOption) (*MsgValsetConfirmResponse, error)
	SendToEth(ctx context.Context, in *MsgSendToEth, opts ...grpc.CallOption) (*MsgSendToEthResponse, error)
	RequestBatch(ctx context.Context, in *MsgRequestBatch, opts ...grpc.CallOption) (*MsgRequestBatchResponse, error)
	ConfirmBatch(ctx context.Context, in *MsgConfirmBatch, opts ...grpc.CallOption) (*MsgConfirmBatchResponse, error)
	ConfirmLogicCall(ctx context.Context, in *MsgConfirmLogicCall, opts ...grpc.CallOption) (*MsgConfirmLogicCallResponse, error)
	SendToCosmosClaim(ctx context.Context, in *MsgSendToCosmosClaim, opts ...grpc.CallOption) (*MsgSendToCosmosClaimResponse, error)
	ExecuteIbcAutoForwards(ctx context.Context, in *MsgExecuteIbcAutoForwards, opts ...grpc.CallOption) (*MsgExecuteIbcAutoForwardsResponse, error)
	BatchSendToEthClaim(ctx context.Context, in *MsgBatchSendToEthClaim, opts ...grpc.CallOption) (*MsgBatchSendToEthClaimResponse, error)
	ValsetUpdateClaim(ctx context.Context, in *MsgValsetUpdatedClaim, opts ...grpc.CallOption) (*MsgValsetUpdatedClaimResponse, error)
	ERC20DeployedClaim(ctx context.Context, in *MsgERC20DeployedClaim, opts ...grpc.CallOption) (*MsgERC20DeployedClaimResponse, error)
	LogicCallExecutedClaim(ctx context.Context, in *MsgLogicCallExecutedClaim, opts ...grpc.CallOption) (*MsgLogicCallExecutedClaimResponse, error)
	SetOrchestratorAddress(ctx context.Context, in *MsgSetOrchestratorAddress, opts ...grpc.CallOption) (*MsgSetOrchestratorAddressResponse, error)
	CancelSendToEth(ctx context.Context, in *MsgCancelSendToEth, opts ...grpc.CallOption) (*MsgCancelSendToEthResponse, error)
	SubmitBadSignatureEvidence(ctx context.Context, in *MsgSubmitBadSignatureEvidence, opts ...grpc.CallOption) (*MsgSubmitBadSignatureEvidenceResponse, error)
}

MsgClient is the client API for Msg service.

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

func NewMsgClient

func NewMsgClient(cc grpc1.ClientConn) MsgClient

type MsgConfirmBatch

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

MsgConfirmBatch When validators observe a MsgRequestBatch they form a batch by ordering transactions currently in the txqueue in order of highest to lowest fee, cutting off when the batch either reaches a hardcoded maximum size (to be decided, probably around 100) or when transactions stop being profitable (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

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

func (*MsgConfirmBatch) GetEthSigner

func (m *MsgConfirmBatch) GetEthSigner() string

func (*MsgConfirmBatch) GetNonce

func (m *MsgConfirmBatch) GetNonce() uint64

func (*MsgConfirmBatch) GetOrchestrator

func (m *MsgConfirmBatch) GetOrchestrator() string

func (MsgConfirmBatch) GetSignBytes

func (msg MsgConfirmBatch) GetSignBytes() []byte

GetSignBytes encodes the message for signing

func (*MsgConfirmBatch) GetSignature

func (m *MsgConfirmBatch) GetSignature() string

func (MsgConfirmBatch) GetSigners

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

GetSigners defines whose signature is required

func (*MsgConfirmBatch) GetTokenContract

func (m *MsgConfirmBatch) GetTokenContract() string

func (*MsgConfirmBatch) Marshal

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

func (*MsgConfirmBatch) MarshalTo

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

func (*MsgConfirmBatch) MarshalToSizedBuffer

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

func (*MsgConfirmBatch) ProtoMessage

func (*MsgConfirmBatch) ProtoMessage()

func (*MsgConfirmBatch) Reset

func (m *MsgConfirmBatch) Reset()

func (MsgConfirmBatch) Route

func (msg MsgConfirmBatch) Route() string

Route should return the name of the module

func (*MsgConfirmBatch) Size

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

func (*MsgConfirmBatch) String

func (m *MsgConfirmBatch) String() string

func (MsgConfirmBatch) Type

func (msg MsgConfirmBatch) Type() string

Type should return the action

func (*MsgConfirmBatch) Unmarshal

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

func (MsgConfirmBatch) ValidateBasic

func (msg MsgConfirmBatch) ValidateBasic() error

ValidateBasic performs stateless checks

func (*MsgConfirmBatch) XXX_DiscardUnknown

func (m *MsgConfirmBatch) XXX_DiscardUnknown()

func (*MsgConfirmBatch) XXX_Marshal

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

func (*MsgConfirmBatch) XXX_Merge

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

func (*MsgConfirmBatch) XXX_Size

func (m *MsgConfirmBatch) XXX_Size() int

func (*MsgConfirmBatch) XXX_Unmarshal

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

type MsgConfirmBatchResponse

type MsgConfirmBatchResponse struct {
}

func (*MsgConfirmBatchResponse) Descriptor

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

func (*MsgConfirmBatchResponse) Marshal

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

func (*MsgConfirmBatchResponse) MarshalTo

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

func (*MsgConfirmBatchResponse) MarshalToSizedBuffer

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

func (*MsgConfirmBatchResponse) ProtoMessage

func (*MsgConfirmBatchResponse) ProtoMessage()

func (*MsgConfirmBatchResponse) Reset

func (m *MsgConfirmBatchResponse) Reset()

func (*MsgConfirmBatchResponse) Size

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

func (*MsgConfirmBatchResponse) String

func (m *MsgConfirmBatchResponse) String() string

func (*MsgConfirmBatchResponse) Unmarshal

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

func (*MsgConfirmBatchResponse) XXX_DiscardUnknown

func (m *MsgConfirmBatchResponse) XXX_DiscardUnknown()

func (*MsgConfirmBatchResponse) XXX_Marshal

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

func (*MsgConfirmBatchResponse) XXX_Merge

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

func (*MsgConfirmBatchResponse) XXX_Size

func (m *MsgConfirmBatchResponse) XXX_Size() int

func (*MsgConfirmBatchResponse) XXX_Unmarshal

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

type MsgConfirmLogicCall

type MsgConfirmLogicCall struct {
	InvalidationId    string `protobuf:"bytes,1,opt,name=invalidation_id,json=invalidationId,proto3" json:"invalidation_id,omitempty"`
	InvalidationNonce uint64 `protobuf:"varint,2,opt,name=invalidation_nonce,json=invalidationNonce,proto3" json:"invalidation_nonce,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"`
}

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

func (*MsgConfirmLogicCall) Descriptor

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

func (*MsgConfirmLogicCall) GetEthSigner

func (m *MsgConfirmLogicCall) GetEthSigner() string

func (*MsgConfirmLogicCall) GetInvalidationId

func (m *MsgConfirmLogicCall) GetInvalidationId() string

func (*MsgConfirmLogicCall) GetInvalidationNonce

func (m *MsgConfirmLogicCall) GetInvalidationNonce() uint64

func (*MsgConfirmLogicCall) GetOrchestrator

func (m *MsgConfirmLogicCall) GetOrchestrator() string

func (MsgConfirmLogicCall) GetSignBytes

func (msg MsgConfirmLogicCall) GetSignBytes() []byte

GetSignBytes encodes the message for signing

func (*MsgConfirmLogicCall) GetSignature

func (m *MsgConfirmLogicCall) GetSignature() string

func (MsgConfirmLogicCall) GetSigners

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

GetSigners defines whose signature is required

func (*MsgConfirmLogicCall) Marshal

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

func (*MsgConfirmLogicCall) MarshalTo

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

func (*MsgConfirmLogicCall) MarshalToSizedBuffer

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

func (*MsgConfirmLogicCall) ProtoMessage

func (*MsgConfirmLogicCall) ProtoMessage()

func (*MsgConfirmLogicCall) Reset

func (m *MsgConfirmLogicCall) Reset()

func (MsgConfirmLogicCall) Route

func (msg MsgConfirmLogicCall) Route() string

Route should return the name of the module

func (*MsgConfirmLogicCall) Size

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

func (*MsgConfirmLogicCall) String

func (m *MsgConfirmLogicCall) String() string

func (MsgConfirmLogicCall) Type

func (msg MsgConfirmLogicCall) Type() string

Type should return the action

func (*MsgConfirmLogicCall) Unmarshal

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

func (MsgConfirmLogicCall) ValidateBasic

func (msg MsgConfirmLogicCall) ValidateBasic() error

ValidateBasic performs stateless checks

func (*MsgConfirmLogicCall) XXX_DiscardUnknown

func (m *MsgConfirmLogicCall) XXX_DiscardUnknown()

func (*MsgConfirmLogicCall) XXX_Marshal

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

func (*MsgConfirmLogicCall) XXX_Merge

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

func (*MsgConfirmLogicCall) XXX_Size

func (m *MsgConfirmLogicCall) XXX_Size() int

func (*MsgConfirmLogicCall) XXX_Unmarshal

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

type MsgConfirmLogicCallResponse

type MsgConfirmLogicCallResponse struct {
}

func (*MsgConfirmLogicCallResponse) Descriptor

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

func (*MsgConfirmLogicCallResponse) Marshal

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

func (*MsgConfirmLogicCallResponse) MarshalTo

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

func (*MsgConfirmLogicCallResponse) MarshalToSizedBuffer

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

func (*MsgConfirmLogicCallResponse) ProtoMessage

func (*MsgConfirmLogicCallResponse) ProtoMessage()

func (*MsgConfirmLogicCallResponse) Reset

func (m *MsgConfirmLogicCallResponse) Reset()

func (*MsgConfirmLogicCallResponse) Size

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

func (*MsgConfirmLogicCallResponse) String

func (m *MsgConfirmLogicCallResponse) String() string

func (*MsgConfirmLogicCallResponse) Unmarshal

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

func (*MsgConfirmLogicCallResponse) XXX_DiscardUnknown

func (m *MsgConfirmLogicCallResponse) XXX_DiscardUnknown()

func (*MsgConfirmLogicCallResponse) XXX_Marshal

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

func (*MsgConfirmLogicCallResponse) XXX_Merge

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

func (*MsgConfirmLogicCallResponse) XXX_Size

func (m *MsgConfirmLogicCallResponse) XXX_Size() int

func (*MsgConfirmLogicCallResponse) XXX_Unmarshal

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

type MsgERC20DeployedClaim

type MsgERC20DeployedClaim 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"`
	CosmosDenom    string `protobuf:"bytes,3,opt,name=cosmos_denom,json=cosmosDenom,proto3" json:"cosmos_denom,omitempty"`
	TokenContract  string `protobuf:"bytes,4,opt,name=token_contract,json=tokenContract,proto3" json:"token_contract,omitempty"`
	Name           string `protobuf:"bytes,5,opt,name=name,proto3" json:"name,omitempty"`
	Symbol         string `protobuf:"bytes,6,opt,name=symbol,proto3" json:"symbol,omitempty"`
	Decimals       uint64 `protobuf:"varint,7,opt,name=decimals,proto3" json:"decimals,omitempty"`
	Orchestrator   string `protobuf:"bytes,8,opt,name=orchestrator,proto3" json:"orchestrator,omitempty"`
}

ERC20DeployedClaim allows the Cosmos module to learn about an ERC20 that someone deployed to represent a Cosmos asset

func (*MsgERC20DeployedClaim) ClaimHash

func (b *MsgERC20DeployedClaim) 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 (*MsgERC20DeployedClaim) Descriptor

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

func (MsgERC20DeployedClaim) GetClaimer

func (msg MsgERC20DeployedClaim) GetClaimer() sdk.AccAddress

func (*MsgERC20DeployedClaim) GetCosmosDenom

func (m *MsgERC20DeployedClaim) GetCosmosDenom() string

func (*MsgERC20DeployedClaim) GetDecimals

func (m *MsgERC20DeployedClaim) GetDecimals() uint64

func (*MsgERC20DeployedClaim) GetEthBlockHeight

func (m *MsgERC20DeployedClaim) GetEthBlockHeight() uint64

func (*MsgERC20DeployedClaim) GetEventNonce

func (m *MsgERC20DeployedClaim) GetEventNonce() uint64

func (*MsgERC20DeployedClaim) GetName

func (m *MsgERC20DeployedClaim) GetName() string

func (*MsgERC20DeployedClaim) GetOrchestrator

func (m *MsgERC20DeployedClaim) GetOrchestrator() string

func (MsgERC20DeployedClaim) GetSignBytes

func (msg MsgERC20DeployedClaim) GetSignBytes() []byte

GetSignBytes encodes the message for signing

func (MsgERC20DeployedClaim) GetSigners

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

GetSigners defines whose signature is required

func (*MsgERC20DeployedClaim) GetSymbol

func (m *MsgERC20DeployedClaim) GetSymbol() string

func (*MsgERC20DeployedClaim) GetTokenContract

func (m *MsgERC20DeployedClaim) GetTokenContract() string

func (*MsgERC20DeployedClaim) GetType

func (e *MsgERC20DeployedClaim) GetType() ClaimType

GetType returns the type of the claim

func (*MsgERC20DeployedClaim) Marshal

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

func (*MsgERC20DeployedClaim) MarshalTo

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

func (*MsgERC20DeployedClaim) MarshalToSizedBuffer

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

func (*MsgERC20DeployedClaim) ProtoMessage

func (*MsgERC20DeployedClaim) ProtoMessage()

func (*MsgERC20DeployedClaim) Reset

func (m *MsgERC20DeployedClaim) Reset()

func (MsgERC20DeployedClaim) Route

func (msg MsgERC20DeployedClaim) Route() string

Route should return the name of the module

func (*MsgERC20DeployedClaim) Size

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

func (*MsgERC20DeployedClaim) String

func (m *MsgERC20DeployedClaim) String() string

func (MsgERC20DeployedClaim) Type

func (msg MsgERC20DeployedClaim) Type() string

Type should return the action

func (*MsgERC20DeployedClaim) Unmarshal

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

func (*MsgERC20DeployedClaim) ValidateBasic

func (e *MsgERC20DeployedClaim) ValidateBasic() error

ValidateBasic performs stateless checks

func (*MsgERC20DeployedClaim) XXX_DiscardUnknown

func (m *MsgERC20DeployedClaim) XXX_DiscardUnknown()

func (*MsgERC20DeployedClaim) XXX_Marshal

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

func (*MsgERC20DeployedClaim) XXX_Merge

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

func (*MsgERC20DeployedClaim) XXX_Size

func (m *MsgERC20DeployedClaim) XXX_Size() int

func (*MsgERC20DeployedClaim) XXX_Unmarshal

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

type MsgERC20DeployedClaimResponse

type MsgERC20DeployedClaimResponse struct {
}

func (*MsgERC20DeployedClaimResponse) Descriptor

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

func (*MsgERC20DeployedClaimResponse) Marshal

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

func (*MsgERC20DeployedClaimResponse) MarshalTo

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

func (*MsgERC20DeployedClaimResponse) MarshalToSizedBuffer

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

func (*MsgERC20DeployedClaimResponse) ProtoMessage

func (*MsgERC20DeployedClaimResponse) ProtoMessage()

func (*MsgERC20DeployedClaimResponse) Reset

func (m *MsgERC20DeployedClaimResponse) Reset()

func (*MsgERC20DeployedClaimResponse) Size

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

func (*MsgERC20DeployedClaimResponse) String

func (*MsgERC20DeployedClaimResponse) Unmarshal

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

func (*MsgERC20DeployedClaimResponse) XXX_DiscardUnknown

func (m *MsgERC20DeployedClaimResponse) XXX_DiscardUnknown()

func (*MsgERC20DeployedClaimResponse) XXX_Marshal

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

func (*MsgERC20DeployedClaimResponse) XXX_Merge

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

func (*MsgERC20DeployedClaimResponse) XXX_Size

func (m *MsgERC20DeployedClaimResponse) XXX_Size() int

func (*MsgERC20DeployedClaimResponse) XXX_Unmarshal

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

type MsgExecuteIbcAutoForwards

type MsgExecuteIbcAutoForwards struct {
	ForwardsToClear uint64 `protobuf:"varint,1,opt,name=forwards_to_clear,json=forwardsToClear,proto3" json:"forwards_to_clear,omitempty"`
	Executor        string `protobuf:"bytes,2,opt,name=executor,proto3" json:"executor,omitempty"`
}

MsgExecuteIbcAutoForwards Prompts the forwarding of Pending IBC Auto-Forwards in the queue The Pending forwards will be executed in order of their original SendToCosmos.EventNonce The funds in the queue will be sent to a local gravity-prefixed address if IBC transfer is not possible

func (*MsgExecuteIbcAutoForwards) Descriptor

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

func (*MsgExecuteIbcAutoForwards) GetExecutor

func (m *MsgExecuteIbcAutoForwards) GetExecutor() string

func (*MsgExecuteIbcAutoForwards) GetForwardsToClear

func (m *MsgExecuteIbcAutoForwards) GetForwardsToClear() uint64

func (*MsgExecuteIbcAutoForwards) GetSigners

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

func (*MsgExecuteIbcAutoForwards) Marshal

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

func (*MsgExecuteIbcAutoForwards) MarshalTo

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

func (*MsgExecuteIbcAutoForwards) MarshalToSizedBuffer

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

func (*MsgExecuteIbcAutoForwards) ProtoMessage

func (*MsgExecuteIbcAutoForwards) ProtoMessage()

func (*MsgExecuteIbcAutoForwards) Reset

func (m *MsgExecuteIbcAutoForwards) Reset()

func (*MsgExecuteIbcAutoForwards) Size

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

func (*MsgExecuteIbcAutoForwards) String

func (m *MsgExecuteIbcAutoForwards) String() string

func (*MsgExecuteIbcAutoForwards) Unmarshal

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

func (*MsgExecuteIbcAutoForwards) ValidateBasic

func (msg *MsgExecuteIbcAutoForwards) ValidateBasic() error

func (*MsgExecuteIbcAutoForwards) XXX_DiscardUnknown

func (m *MsgExecuteIbcAutoForwards) XXX_DiscardUnknown()

func (*MsgExecuteIbcAutoForwards) XXX_Marshal

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

func (*MsgExecuteIbcAutoForwards) XXX_Merge

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

func (*MsgExecuteIbcAutoForwards) XXX_Size

func (m *MsgExecuteIbcAutoForwards) XXX_Size() int

func (*MsgExecuteIbcAutoForwards) XXX_Unmarshal

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

type MsgExecuteIbcAutoForwardsResponse

type MsgExecuteIbcAutoForwardsResponse struct {
}

func (*MsgExecuteIbcAutoForwardsResponse) Descriptor

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

func (*MsgExecuteIbcAutoForwardsResponse) Marshal

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

func (*MsgExecuteIbcAutoForwardsResponse) MarshalTo

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

func (*MsgExecuteIbcAutoForwardsResponse) MarshalToSizedBuffer

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

func (*MsgExecuteIbcAutoForwardsResponse) ProtoMessage

func (*MsgExecuteIbcAutoForwardsResponse) ProtoMessage()

func (*MsgExecuteIbcAutoForwardsResponse) Reset

func (*MsgExecuteIbcAutoForwardsResponse) Size

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

func (*MsgExecuteIbcAutoForwardsResponse) String

func (*MsgExecuteIbcAutoForwardsResponse) Unmarshal

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

func (*MsgExecuteIbcAutoForwardsResponse) XXX_DiscardUnknown

func (m *MsgExecuteIbcAutoForwardsResponse) XXX_DiscardUnknown()

func (*MsgExecuteIbcAutoForwardsResponse) XXX_Marshal

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

func (*MsgExecuteIbcAutoForwardsResponse) XXX_Merge

func (*MsgExecuteIbcAutoForwardsResponse) XXX_Size

func (m *MsgExecuteIbcAutoForwardsResponse) XXX_Size() int

func (*MsgExecuteIbcAutoForwardsResponse) XXX_Unmarshal

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

type MsgLogicCallExecutedClaim

type MsgLogicCallExecutedClaim 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"`
	InvalidationId    []byte `protobuf:"bytes,3,opt,name=invalidation_id,json=invalidationId,proto3" json:"invalidation_id,omitempty"`
	InvalidationNonce uint64 `protobuf:"varint,4,opt,name=invalidation_nonce,json=invalidationNonce,proto3" json:"invalidation_nonce,omitempty"`
	Orchestrator      string `protobuf:"bytes,5,opt,name=orchestrator,proto3" json:"orchestrator,omitempty"`
}

This informs the Cosmos module that a logic call has been executed

func (*MsgLogicCallExecutedClaim) ClaimHash

func (b *MsgLogicCallExecutedClaim) 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 (*MsgLogicCallExecutedClaim) Descriptor

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

func (MsgLogicCallExecutedClaim) GetClaimer

func (msg MsgLogicCallExecutedClaim) GetClaimer() sdk.AccAddress

func (*MsgLogicCallExecutedClaim) GetEthBlockHeight

func (m *MsgLogicCallExecutedClaim) GetEthBlockHeight() uint64

func (*MsgLogicCallExecutedClaim) GetEventNonce

func (m *MsgLogicCallExecutedClaim) GetEventNonce() uint64

func (*MsgLogicCallExecutedClaim) GetInvalidationId

func (m *MsgLogicCallExecutedClaim) GetInvalidationId() []byte

func (*MsgLogicCallExecutedClaim) GetInvalidationNonce

func (m *MsgLogicCallExecutedClaim) GetInvalidationNonce() uint64

func (*MsgLogicCallExecutedClaim) GetOrchestrator

func (m *MsgLogicCallExecutedClaim) GetOrchestrator() string

func (MsgLogicCallExecutedClaim) GetSignBytes

func (msg MsgLogicCallExecutedClaim) GetSignBytes() []byte

GetSignBytes encodes the message for signing

func (MsgLogicCallExecutedClaim) GetSigners

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

GetSigners defines whose signature is required

func (*MsgLogicCallExecutedClaim) GetType

func (e *MsgLogicCallExecutedClaim) GetType() ClaimType

GetType returns the type of the claim

func (*MsgLogicCallExecutedClaim) Marshal

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

func (*MsgLogicCallExecutedClaim) MarshalTo

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

func (*MsgLogicCallExecutedClaim) MarshalToSizedBuffer

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

func (*MsgLogicCallExecutedClaim) ProtoMessage

func (*MsgLogicCallExecutedClaim) ProtoMessage()

func (*MsgLogicCallExecutedClaim) Reset

func (m *MsgLogicCallExecutedClaim) Reset()

func (MsgLogicCallExecutedClaim) Route

func (msg MsgLogicCallExecutedClaim) Route() string

Route should return the name of the module

func (*MsgLogicCallExecutedClaim) Size

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

func (*MsgLogicCallExecutedClaim) String

func (m *MsgLogicCallExecutedClaim) String() string

func (MsgLogicCallExecutedClaim) Type

func (msg MsgLogicCallExecutedClaim) Type() string

Type should return the action

func (*MsgLogicCallExecutedClaim) Unmarshal

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

func (*MsgLogicCallExecutedClaim) ValidateBasic

func (e *MsgLogicCallExecutedClaim) ValidateBasic() error

ValidateBasic performs stateless checks

func (*MsgLogicCallExecutedClaim) XXX_DiscardUnknown

func (m *MsgLogicCallExecutedClaim) XXX_DiscardUnknown()

func (*MsgLogicCallExecutedClaim) XXX_Marshal

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

func (*MsgLogicCallExecutedClaim) XXX_Merge

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

func (*MsgLogicCallExecutedClaim) XXX_Size

func (m *MsgLogicCallExecutedClaim) XXX_Size() int

func (*MsgLogicCallExecutedClaim) XXX_Unmarshal

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

type MsgLogicCallExecutedClaimResponse

type MsgLogicCallExecutedClaimResponse struct {
}

func (*MsgLogicCallExecutedClaimResponse) Descriptor

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

func (*MsgLogicCallExecutedClaimResponse) Marshal

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

func (*MsgLogicCallExecutedClaimResponse) MarshalTo

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

func (*MsgLogicCallExecutedClaimResponse) MarshalToSizedBuffer

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

func (*MsgLogicCallExecutedClaimResponse) ProtoMessage

func (*MsgLogicCallExecutedClaimResponse) ProtoMessage()

func (*MsgLogicCallExecutedClaimResponse) Reset

func (*MsgLogicCallExecutedClaimResponse) Size

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

func (*MsgLogicCallExecutedClaimResponse) String

func (*MsgLogicCallExecutedClaimResponse) Unmarshal

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

func (*MsgLogicCallExecutedClaimResponse) XXX_DiscardUnknown

func (m *MsgLogicCallExecutedClaimResponse) XXX_DiscardUnknown()

func (*MsgLogicCallExecutedClaimResponse) XXX_Marshal

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

func (*MsgLogicCallExecutedClaimResponse) XXX_Merge

func (*MsgLogicCallExecutedClaimResponse) XXX_Size

func (m *MsgLogicCallExecutedClaimResponse) XXX_Size() int

func (*MsgLogicCallExecutedClaimResponse) XXX_Unmarshal

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

type MsgRequestBatch

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

MsgRequestBatch this is a message anyone can send that requests a batch of transactions to send across the bridge be created for whatever block height this message is included in. This acts as a coordination point, the handler for this message looks at the AddToOutgoingPool tx's in the store and generates a batch, also available in the store tied to this message. The validators then grab this batch, sign it, submit the signatures with a MsgConfirmBatch before a relayer can finally submit the batch -------------

func NewMsgRequestBatch

func NewMsgRequestBatch(orchestrator sdk.AccAddress) *MsgRequestBatch

NewMsgRequestBatch returns a new msgRequestBatch

func (*MsgRequestBatch) Descriptor

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

func (*MsgRequestBatch) GetDenom

func (m *MsgRequestBatch) GetDenom() string

func (*MsgRequestBatch) GetSender

func (m *MsgRequestBatch) GetSender() string

func (MsgRequestBatch) GetSignBytes

func (msg MsgRequestBatch) GetSignBytes() []byte

GetSignBytes encodes the message for signing

func (MsgRequestBatch) GetSigners

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

GetSigners defines whose signature is required

func (*MsgRequestBatch) Marshal

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

func (*MsgRequestBatch) MarshalTo

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

func (*MsgRequestBatch) MarshalToSizedBuffer

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

func (*MsgRequestBatch) ProtoMessage

func (*MsgRequestBatch) ProtoMessage()

func (*MsgRequestBatch) Reset

func (m *MsgRequestBatch) Reset()

func (MsgRequestBatch) Route

func (msg MsgRequestBatch) Route() string

Route should return the name of the module

func (*MsgRequestBatch) Size

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

func (*MsgRequestBatch) String

func (m *MsgRequestBatch) String() string

func (MsgRequestBatch) Type

func (msg MsgRequestBatch) Type() string

Type should return the action

func (*MsgRequestBatch) Unmarshal

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

func (MsgRequestBatch) ValidateBasic

func (msg MsgRequestBatch) ValidateBasic() error

ValidateBasic performs stateless checks

func (*MsgRequestBatch) XXX_DiscardUnknown

func (m *MsgRequestBatch) XXX_DiscardUnknown()

func (*MsgRequestBatch) XXX_Marshal

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

func (*MsgRequestBatch) XXX_Merge

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

func (*MsgRequestBatch) XXX_Size

func (m *MsgRequestBatch) XXX_Size() int

func (*MsgRequestBatch) XXX_Unmarshal

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

type MsgRequestBatchResponse

type MsgRequestBatchResponse struct {
}

func (*MsgRequestBatchResponse) Descriptor

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

func (*MsgRequestBatchResponse) Marshal

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

func (*MsgRequestBatchResponse) MarshalTo

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

func (*MsgRequestBatchResponse) MarshalToSizedBuffer

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

func (*MsgRequestBatchResponse) ProtoMessage

func (*MsgRequestBatchResponse) ProtoMessage()

func (*MsgRequestBatchResponse) Reset

func (m *MsgRequestBatchResponse) Reset()

func (*MsgRequestBatchResponse) Size

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

func (*MsgRequestBatchResponse) String

func (m *MsgRequestBatchResponse) String() string

func (*MsgRequestBatchResponse) Unmarshal

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

func (*MsgRequestBatchResponse) XXX_DiscardUnknown

func (m *MsgRequestBatchResponse) XXX_DiscardUnknown()

func (*MsgRequestBatchResponse) XXX_Marshal

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

func (*MsgRequestBatchResponse) XXX_Merge

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

func (*MsgRequestBatchResponse) XXX_Size

func (m *MsgRequestBatchResponse) XXX_Size() int

func (*MsgRequestBatchResponse) XXX_Unmarshal

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

type MsgSendToCosmosClaim

type MsgSendToCosmosClaim 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         github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,4,opt,name=amount,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"amount"`
	EthereumSender string                                 `protobuf:"bytes,5,opt,name=ethereum_sender,json=ethereumSender,proto3" json:"ethereum_sender,omitempty"`
	CosmosReceiver string                                 `protobuf:"bytes,6,opt,name=cosmos_receiver,json=cosmosReceiver,proto3" json:"cosmos_receiver,omitempty"`
	Orchestrator   string                                 `protobuf:"bytes,7,opt,name=orchestrator,proto3" json:"orchestrator,omitempty"`
}

MsgSendToCosmosClaim 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 (*MsgSendToCosmosClaim) ClaimHash

func (msg *MsgSendToCosmosClaim) 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 (*MsgSendToCosmosClaim) Descriptor

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

func (MsgSendToCosmosClaim) GetClaimer

func (msg MsgSendToCosmosClaim) GetClaimer() sdk.AccAddress

func (*MsgSendToCosmosClaim) GetCosmosReceiver

func (m *MsgSendToCosmosClaim) GetCosmosReceiver() string

func (*MsgSendToCosmosClaim) GetEthBlockHeight

func (m *MsgSendToCosmosClaim) GetEthBlockHeight() uint64

func (*MsgSendToCosmosClaim) GetEthereumSender

func (m *MsgSendToCosmosClaim) GetEthereumSender() string

func (*MsgSendToCosmosClaim) GetEventNonce

func (m *MsgSendToCosmosClaim) GetEventNonce() uint64

func (*MsgSendToCosmosClaim) GetOrchestrator

func (m *MsgSendToCosmosClaim) GetOrchestrator() string

func (MsgSendToCosmosClaim) GetSignBytes

func (msg MsgSendToCosmosClaim) GetSignBytes() []byte

GetSignBytes encodes the message for signing

func (MsgSendToCosmosClaim) GetSigners

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

GetSigners defines whose signature is required

func (*MsgSendToCosmosClaim) GetTokenContract

func (m *MsgSendToCosmosClaim) GetTokenContract() string

func (*MsgSendToCosmosClaim) GetType

func (msg *MsgSendToCosmosClaim) GetType() ClaimType

GetType returns the type of the claim

func (*MsgSendToCosmosClaim) Marshal

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

func (*MsgSendToCosmosClaim) MarshalTo

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

func (*MsgSendToCosmosClaim) MarshalToSizedBuffer

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

func (*MsgSendToCosmosClaim) ProtoMessage

func (*MsgSendToCosmosClaim) ProtoMessage()

func (*MsgSendToCosmosClaim) Reset

func (m *MsgSendToCosmosClaim) Reset()

func (MsgSendToCosmosClaim) Route

func (msg MsgSendToCosmosClaim) Route() string

Route should return the name of the module

func (*MsgSendToCosmosClaim) Size

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

func (*MsgSendToCosmosClaim) String

func (m *MsgSendToCosmosClaim) String() string

func (MsgSendToCosmosClaim) Type

func (msg MsgSendToCosmosClaim) Type() string

Type should return the action

func (*MsgSendToCosmosClaim) Unmarshal

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

func (*MsgSendToCosmosClaim) ValidateBasic

func (msg *MsgSendToCosmosClaim) ValidateBasic() error

ValidateBasic performs stateless checks

func (*MsgSendToCosmosClaim) XXX_DiscardUnknown

func (m *MsgSendToCosmosClaim) XXX_DiscardUnknown()

func (*MsgSendToCosmosClaim) XXX_Marshal

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

func (*MsgSendToCosmosClaim) XXX_Merge

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

func (*MsgSendToCosmosClaim) XXX_Size

func (m *MsgSendToCosmosClaim) XXX_Size() int

func (*MsgSendToCosmosClaim) XXX_Unmarshal

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

type MsgSendToCosmosClaimResponse

type MsgSendToCosmosClaimResponse struct {
}

func (*MsgSendToCosmosClaimResponse) Descriptor

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

func (*MsgSendToCosmosClaimResponse) Marshal

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

func (*MsgSendToCosmosClaimResponse) MarshalTo

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

func (*MsgSendToCosmosClaimResponse) MarshalToSizedBuffer

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

func (*MsgSendToCosmosClaimResponse) ProtoMessage

func (*MsgSendToCosmosClaimResponse) ProtoMessage()

func (*MsgSendToCosmosClaimResponse) Reset

func (m *MsgSendToCosmosClaimResponse) Reset()

func (*MsgSendToCosmosClaimResponse) Size

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

func (*MsgSendToCosmosClaimResponse) String

func (*MsgSendToCosmosClaimResponse) Unmarshal

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

func (*MsgSendToCosmosClaimResponse) XXX_DiscardUnknown

func (m *MsgSendToCosmosClaimResponse) XXX_DiscardUnknown()

func (*MsgSendToCosmosClaimResponse) XXX_Marshal

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

func (*MsgSendToCosmosClaimResponse) XXX_Merge

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

func (*MsgSendToCosmosClaimResponse) XXX_Size

func (m *MsgSendToCosmosClaimResponse) XXX_Size() int

func (*MsgSendToCosmosClaimResponse) XXX_Unmarshal

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

type MsgSendToEth

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

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

func NewMsgSendToEth

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

NewMsgSendToEth returns a new msgSendToEth

func (*MsgSendToEth) Descriptor

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

func (*MsgSendToEth) GetAmount

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

func (*MsgSendToEth) GetBridgeFee

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

func (*MsgSendToEth) GetEthDest

func (m *MsgSendToEth) GetEthDest() string

func (*MsgSendToEth) GetSender

func (m *MsgSendToEth) GetSender() string

func (MsgSendToEth) GetSignBytes

func (msg MsgSendToEth) GetSignBytes() []byte

GetSignBytes encodes the message for signing

func (MsgSendToEth) GetSigners

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

GetSigners defines whose signature is required

func (*MsgSendToEth) Marshal

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

func (*MsgSendToEth) MarshalTo

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

func (*MsgSendToEth) MarshalToSizedBuffer

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

func (*MsgSendToEth) ProtoMessage

func (*MsgSendToEth) ProtoMessage()

func (*MsgSendToEth) Reset

func (m *MsgSendToEth) Reset()

func (MsgSendToEth) Route

func (msg MsgSendToEth) Route() string

Route should return the name of the module

func (*MsgSendToEth) Size

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

func (*MsgSendToEth) String

func (m *MsgSendToEth) String() string

func (MsgSendToEth) Type

func (msg MsgSendToEth) Type() string

Type should return the action

func (*MsgSendToEth) Unmarshal

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

func (MsgSendToEth) ValidateBasic

func (msg MsgSendToEth) ValidateBasic() error

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

func (*MsgSendToEth) XXX_DiscardUnknown

func (m *MsgSendToEth) XXX_DiscardUnknown()

func (*MsgSendToEth) XXX_Marshal

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

func (*MsgSendToEth) XXX_Merge

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

func (*MsgSendToEth) XXX_Size

func (m *MsgSendToEth) XXX_Size() int

func (*MsgSendToEth) XXX_Unmarshal

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

type MsgSendToEthResponse

type MsgSendToEthResponse struct {
}

func (*MsgSendToEthResponse) Descriptor

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

func (*MsgSendToEthResponse) Marshal

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

func (*MsgSendToEthResponse) MarshalTo

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

func (*MsgSendToEthResponse) MarshalToSizedBuffer

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

func (*MsgSendToEthResponse) ProtoMessage

func (*MsgSendToEthResponse) ProtoMessage()

func (*MsgSendToEthResponse) Reset

func (m *MsgSendToEthResponse) Reset()

func (*MsgSendToEthResponse) Size

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

func (*MsgSendToEthResponse) String

func (m *MsgSendToEthResponse) String() string

func (*MsgSendToEthResponse) Unmarshal

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

func (*MsgSendToEthResponse) XXX_DiscardUnknown

func (m *MsgSendToEthResponse) XXX_DiscardUnknown()

func (*MsgSendToEthResponse) XXX_Marshal

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

func (*MsgSendToEthResponse) XXX_Merge

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

func (*MsgSendToEthResponse) XXX_Size

func (m *MsgSendToEthResponse) XXX_Size() int

func (*MsgSendToEthResponse) XXX_Unmarshal

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

type MsgSetOrchestratorAddress

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

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

func NewMsgSetOrchestratorAddress

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

NewMsgSetOrchestratorAddress returns a new msgSetOrchestratorAddress

func (*MsgSetOrchestratorAddress) Descriptor

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

func (*MsgSetOrchestratorAddress) GetEthAddress

func (m *MsgSetOrchestratorAddress) GetEthAddress() string

func (*MsgSetOrchestratorAddress) GetOrchestrator

func (m *MsgSetOrchestratorAddress) GetOrchestrator() string

func (*MsgSetOrchestratorAddress) GetSignBytes

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

GetSignBytes encodes the message for signing

func (*MsgSetOrchestratorAddress) GetSigners

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

GetSigners defines whose signature is required

func (*MsgSetOrchestratorAddress) GetValidator

func (m *MsgSetOrchestratorAddress) GetValidator() string

func (*MsgSetOrchestratorAddress) Marshal

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

func (*MsgSetOrchestratorAddress) MarshalTo

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

func (*MsgSetOrchestratorAddress) MarshalToSizedBuffer

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

func (*MsgSetOrchestratorAddress) ProtoMessage

func (*MsgSetOrchestratorAddress) ProtoMessage()

func (*MsgSetOrchestratorAddress) Reset

func (m *MsgSetOrchestratorAddress) Reset()

func (*MsgSetOrchestratorAddress) Route

func (msg *MsgSetOrchestratorAddress) Route() string

Route should return the name of the module

func (*MsgSetOrchestratorAddress) Size

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

func (*MsgSetOrchestratorAddress) String

func (m *MsgSetOrchestratorAddress) String() string

func (*MsgSetOrchestratorAddress) Type

func (msg *MsgSetOrchestratorAddress) Type() string

Type should return the action

func (*MsgSetOrchestratorAddress) Unmarshal

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

func (*MsgSetOrchestratorAddress) ValidateBasic

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

ValidateBasic performs stateless checks

func (*MsgSetOrchestratorAddress) XXX_DiscardUnknown

func (m *MsgSetOrchestratorAddress) XXX_DiscardUnknown()

func (*MsgSetOrchestratorAddress) XXX_Marshal

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

func (*MsgSetOrchestratorAddress) XXX_Merge

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

func (*MsgSetOrchestratorAddress) XXX_Size

func (m *MsgSetOrchestratorAddress) XXX_Size() int

func (*MsgSetOrchestratorAddress) XXX_Unmarshal

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

type MsgSetOrchestratorAddressResponse

type MsgSetOrchestratorAddressResponse struct {
}

func (*MsgSetOrchestratorAddressResponse) Descriptor

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

func (*MsgSetOrchestratorAddressResponse) Marshal

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

func (*MsgSetOrchestratorAddressResponse) MarshalTo

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

func (*MsgSetOrchestratorAddressResponse) MarshalToSizedBuffer

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

func (*MsgSetOrchestratorAddressResponse) ProtoMessage

func (*MsgSetOrchestratorAddressResponse) ProtoMessage()

func (*MsgSetOrchestratorAddressResponse) Reset

func (*MsgSetOrchestratorAddressResponse) Size

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

func (*MsgSetOrchestratorAddressResponse) String

func (*MsgSetOrchestratorAddressResponse) Unmarshal

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

func (*MsgSetOrchestratorAddressResponse) XXX_DiscardUnknown

func (m *MsgSetOrchestratorAddressResponse) XXX_DiscardUnknown()

func (*MsgSetOrchestratorAddressResponse) XXX_Marshal

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

func (*MsgSetOrchestratorAddressResponse) XXX_Merge

func (*MsgSetOrchestratorAddressResponse) XXX_Size

func (m *MsgSetOrchestratorAddressResponse) XXX_Size() int

func (*MsgSetOrchestratorAddressResponse) XXX_Unmarshal

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

type MsgSubmitBadSignatureEvidence

type MsgSubmitBadSignatureEvidence struct {
	Subject   *types1.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"`
}

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

func (*MsgSubmitBadSignatureEvidence) Descriptor

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

func (*MsgSubmitBadSignatureEvidence) GetSender

func (m *MsgSubmitBadSignatureEvidence) GetSender() string

func (MsgSubmitBadSignatureEvidence) GetSignBytes

func (msg MsgSubmitBadSignatureEvidence) GetSignBytes() []byte

GetSignBytes encodes the message for signing

func (*MsgSubmitBadSignatureEvidence) GetSignature

func (m *MsgSubmitBadSignatureEvidence) GetSignature() string

func (MsgSubmitBadSignatureEvidence) GetSigners

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

GetSigners defines whose signature is required

func (*MsgSubmitBadSignatureEvidence) GetSubject

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

func (*MsgSubmitBadSignatureEvidence) Marshal

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

func (*MsgSubmitBadSignatureEvidence) MarshalTo

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

func (*MsgSubmitBadSignatureEvidence) MarshalToSizedBuffer

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

func (*MsgSubmitBadSignatureEvidence) ProtoMessage

func (*MsgSubmitBadSignatureEvidence) ProtoMessage()

func (*MsgSubmitBadSignatureEvidence) Reset

func (m *MsgSubmitBadSignatureEvidence) Reset()

func (MsgSubmitBadSignatureEvidence) Route

Route should return the name of the module

func (*MsgSubmitBadSignatureEvidence) Size

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

func (*MsgSubmitBadSignatureEvidence) String

func (MsgSubmitBadSignatureEvidence) Type

Type should return the action

func (*MsgSubmitBadSignatureEvidence) Unmarshal

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

func (*MsgSubmitBadSignatureEvidence) ValidateBasic

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

ValidateBasic performs stateless checks

func (*MsgSubmitBadSignatureEvidence) XXX_DiscardUnknown

func (m *MsgSubmitBadSignatureEvidence) XXX_DiscardUnknown()

func (*MsgSubmitBadSignatureEvidence) XXX_Marshal

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

func (*MsgSubmitBadSignatureEvidence) XXX_Merge

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

func (*MsgSubmitBadSignatureEvidence) XXX_Size

func (m *MsgSubmitBadSignatureEvidence) XXX_Size() int

func (*MsgSubmitBadSignatureEvidence) XXX_Unmarshal

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

type MsgSubmitBadSignatureEvidenceResponse

type MsgSubmitBadSignatureEvidenceResponse struct {
}

func (*MsgSubmitBadSignatureEvidenceResponse) Descriptor

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

func (*MsgSubmitBadSignatureEvidenceResponse) Marshal

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

func (*MsgSubmitBadSignatureEvidenceResponse) MarshalTo

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

func (*MsgSubmitBadSignatureEvidenceResponse) MarshalToSizedBuffer

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

func (*MsgSubmitBadSignatureEvidenceResponse) ProtoMessage

func (*MsgSubmitBadSignatureEvidenceResponse) ProtoMessage()

func (*MsgSubmitBadSignatureEvidenceResponse) Reset

func (*MsgSubmitBadSignatureEvidenceResponse) Size

func (*MsgSubmitBadSignatureEvidenceResponse) String

func (*MsgSubmitBadSignatureEvidenceResponse) Unmarshal

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

func (*MsgSubmitBadSignatureEvidenceResponse) XXX_DiscardUnknown

func (m *MsgSubmitBadSignatureEvidenceResponse) XXX_DiscardUnknown()

func (*MsgSubmitBadSignatureEvidenceResponse) XXX_Marshal

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

func (*MsgSubmitBadSignatureEvidenceResponse) XXX_Merge

func (*MsgSubmitBadSignatureEvidenceResponse) XXX_Size

func (*MsgSubmitBadSignatureEvidenceResponse) XXX_Unmarshal

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

type MsgValsetConfirm

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

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

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

func NewMsgValsetConfirm

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

NewMsgValsetConfirm returns a new msgValsetConfirm

func (*MsgValsetConfirm) Descriptor

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

func (*MsgValsetConfirm) GetEthAddress

func (m *MsgValsetConfirm) GetEthAddress() string

func (*MsgValsetConfirm) GetNonce

func (m *MsgValsetConfirm) GetNonce() uint64

func (*MsgValsetConfirm) GetOrchestrator

func (m *MsgValsetConfirm) GetOrchestrator() string

func (*MsgValsetConfirm) GetSignBytes

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

GetSignBytes encodes the message for signing

func (*MsgValsetConfirm) GetSignature

func (m *MsgValsetConfirm) GetSignature() string

func (*MsgValsetConfirm) GetSigners

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

GetSigners defines whose signature is required

func (*MsgValsetConfirm) Marshal

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

func (*MsgValsetConfirm) MarshalTo

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

func (*MsgValsetConfirm) MarshalToSizedBuffer

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

func (*MsgValsetConfirm) ProtoMessage

func (*MsgValsetConfirm) ProtoMessage()

func (*MsgValsetConfirm) Reset

func (m *MsgValsetConfirm) Reset()

func (*MsgValsetConfirm) Route

func (msg *MsgValsetConfirm) Route() string

Route should return the name of the module

func (*MsgValsetConfirm) Size

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

func (*MsgValsetConfirm) String

func (m *MsgValsetConfirm) String() string

func (*MsgValsetConfirm) Type

func (msg *MsgValsetConfirm) Type() string

Type should return the action

func (*MsgValsetConfirm) Unmarshal

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

func (*MsgValsetConfirm) ValidateBasic

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

ValidateBasic performs stateless checks

func (*MsgValsetConfirm) XXX_DiscardUnknown

func (m *MsgValsetConfirm) XXX_DiscardUnknown()

func (*MsgValsetConfirm) XXX_Marshal

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

func (*MsgValsetConfirm) XXX_Merge

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

func (*MsgValsetConfirm) XXX_Size

func (m *MsgValsetConfirm) XXX_Size() int

func (*MsgValsetConfirm) XXX_Unmarshal

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

type MsgValsetConfirmResponse

type MsgValsetConfirmResponse struct {
}

func (*MsgValsetConfirmResponse) Descriptor

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

func (*MsgValsetConfirmResponse) Marshal

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

func (*MsgValsetConfirmResponse) MarshalTo

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

func (*MsgValsetConfirmResponse) MarshalToSizedBuffer

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

func (*MsgValsetConfirmResponse) ProtoMessage

func (*MsgValsetConfirmResponse) ProtoMessage()

func (*MsgValsetConfirmResponse) Reset

func (m *MsgValsetConfirmResponse) Reset()

func (*MsgValsetConfirmResponse) Size

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

func (*MsgValsetConfirmResponse) String

func (m *MsgValsetConfirmResponse) String() string

func (*MsgValsetConfirmResponse) Unmarshal

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

func (*MsgValsetConfirmResponse) XXX_DiscardUnknown

func (m *MsgValsetConfirmResponse) XXX_DiscardUnknown()

func (*MsgValsetConfirmResponse) XXX_Marshal

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

func (*MsgValsetConfirmResponse) XXX_Merge

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

func (*MsgValsetConfirmResponse) XXX_Size

func (m *MsgValsetConfirmResponse) XXX_Size() int

func (*MsgValsetConfirmResponse) XXX_Unmarshal

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

type MsgValsetUpdatedClaim

type MsgValsetUpdatedClaim struct {
	EventNonce     uint64                                 `protobuf:"varint,1,opt,name=event_nonce,json=eventNonce,proto3" json:"event_nonce,omitempty"`
	ValsetNonce    uint64                                 `protobuf:"varint,2,opt,name=valset_nonce,json=valsetNonce,proto3" json:"valset_nonce,omitempty"`
	EthBlockHeight uint64                                 `protobuf:"varint,3,opt,name=eth_block_height,json=ethBlockHeight,proto3" json:"eth_block_height,omitempty"`
	Members        []BridgeValidator                      `protobuf:"bytes,4,rep,name=members,proto3" json:"members"`
	RewardAmount   github_com_cosmos_cosmos_sdk_types.Int `` /* 137-byte string literal not displayed */
	RewardToken    string                                 `protobuf:"bytes,6,opt,name=reward_token,json=rewardToken,proto3" json:"reward_token,omitempty"`
	Orchestrator   string                                 `protobuf:"bytes,7,opt,name=orchestrator,proto3" json:"orchestrator,omitempty"`
}

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

func (*MsgValsetUpdatedClaim) ClaimHash

func (b *MsgValsetUpdatedClaim) 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 (*MsgValsetUpdatedClaim) Descriptor

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

func (MsgValsetUpdatedClaim) GetClaimer

func (msg MsgValsetUpdatedClaim) GetClaimer() sdk.AccAddress

func (*MsgValsetUpdatedClaim) GetEthBlockHeight

func (m *MsgValsetUpdatedClaim) GetEthBlockHeight() uint64

func (*MsgValsetUpdatedClaim) GetEventNonce

func (m *MsgValsetUpdatedClaim) GetEventNonce() uint64

func (*MsgValsetUpdatedClaim) GetMembers

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

func (*MsgValsetUpdatedClaim) GetOrchestrator

func (m *MsgValsetUpdatedClaim) GetOrchestrator() string

func (*MsgValsetUpdatedClaim) GetRewardToken

func (m *MsgValsetUpdatedClaim) GetRewardToken() string

func (MsgValsetUpdatedClaim) GetSignBytes

func (msg MsgValsetUpdatedClaim) GetSignBytes() []byte

GetSignBytes encodes the message for signing

func (MsgValsetUpdatedClaim) GetSigners

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

GetSigners defines whose signature is required

func (*MsgValsetUpdatedClaim) GetType

func (e *MsgValsetUpdatedClaim) GetType() ClaimType

GetType returns the type of the claim

func (*MsgValsetUpdatedClaim) GetValsetNonce

func (m *MsgValsetUpdatedClaim) GetValsetNonce() uint64

func (*MsgValsetUpdatedClaim) Marshal

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

func (*MsgValsetUpdatedClaim) MarshalTo

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

func (*MsgValsetUpdatedClaim) MarshalToSizedBuffer

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

func (*MsgValsetUpdatedClaim) ProtoMessage

func (*MsgValsetUpdatedClaim) ProtoMessage()

func (*MsgValsetUpdatedClaim) Reset

func (m *MsgValsetUpdatedClaim) Reset()

func (MsgValsetUpdatedClaim) Route

func (msg MsgValsetUpdatedClaim) Route() string

Route should return the name of the module

func (*MsgValsetUpdatedClaim) Size

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

func (*MsgValsetUpdatedClaim) String

func (m *MsgValsetUpdatedClaim) String() string

func (MsgValsetUpdatedClaim) Type

func (msg MsgValsetUpdatedClaim) Type() string

Type should return the action

func (*MsgValsetUpdatedClaim) Unmarshal

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

func (*MsgValsetUpdatedClaim) ValidateBasic

func (e *MsgValsetUpdatedClaim) ValidateBasic() error

ValidateBasic performs stateless checks

func (*MsgValsetUpdatedClaim) XXX_DiscardUnknown

func (m *MsgValsetUpdatedClaim) XXX_DiscardUnknown()

func (*MsgValsetUpdatedClaim) XXX_Marshal

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

func (*MsgValsetUpdatedClaim) XXX_Merge

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

func (*MsgValsetUpdatedClaim) XXX_Size

func (m *MsgValsetUpdatedClaim) XXX_Size() int

func (*MsgValsetUpdatedClaim) XXX_Unmarshal

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

type MsgValsetUpdatedClaimResponse

type MsgValsetUpdatedClaimResponse struct {
}

func (*MsgValsetUpdatedClaimResponse) Descriptor

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

func (*MsgValsetUpdatedClaimResponse) Marshal

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

func (*MsgValsetUpdatedClaimResponse) MarshalTo

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

func (*MsgValsetUpdatedClaimResponse) MarshalToSizedBuffer

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

func (*MsgValsetUpdatedClaimResponse) ProtoMessage

func (*MsgValsetUpdatedClaimResponse) ProtoMessage()

func (*MsgValsetUpdatedClaimResponse) Reset

func (m *MsgValsetUpdatedClaimResponse) Reset()

func (*MsgValsetUpdatedClaimResponse) Size

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

func (*MsgValsetUpdatedClaimResponse) String

func (*MsgValsetUpdatedClaimResponse) Unmarshal

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

func (*MsgValsetUpdatedClaimResponse) XXX_DiscardUnknown

func (m *MsgValsetUpdatedClaimResponse) XXX_DiscardUnknown()

func (*MsgValsetUpdatedClaimResponse) XXX_Marshal

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

func (*MsgValsetUpdatedClaimResponse) XXX_Merge

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

func (*MsgValsetUpdatedClaimResponse) XXX_Size

func (m *MsgValsetUpdatedClaimResponse) XXX_Size() int

func (*MsgValsetUpdatedClaimResponse) XXX_Unmarshal

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

type OutgoingLogicCall

type OutgoingLogicCall struct {
	Transfers            []ERC20Token `protobuf:"bytes,1,rep,name=transfers,proto3" json:"transfers"`
	Fees                 []ERC20Token `protobuf:"bytes,2,rep,name=fees,proto3" json:"fees"`
	LogicContractAddress string       `protobuf:"bytes,3,opt,name=logic_contract_address,json=logicContractAddress,proto3" json:"logic_contract_address,omitempty"`
	Payload              []byte       `protobuf:"bytes,4,opt,name=payload,proto3" json:"payload,omitempty"`
	Timeout              uint64       `protobuf:"varint,5,opt,name=timeout,proto3" json:"timeout,omitempty"`
	InvalidationId       []byte       `protobuf:"bytes,6,opt,name=invalidation_id,json=invalidationId,proto3" json:"invalidation_id,omitempty"`
	InvalidationNonce    uint64       `protobuf:"varint,7,opt,name=invalidation_nonce,json=invalidationNonce,proto3" json:"invalidation_nonce,omitempty"`
	EthBlock             uint64       `protobuf:"varint,8,opt,name=eth_block,json=ethBlock,proto3" json:"eth_block,omitempty"`
}

OutgoingLogicCall represents an individual logic call from gravity to ETH

func (*OutgoingLogicCall) Descriptor

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

func (OutgoingLogicCall) GetCheckpoint

func (c OutgoingLogicCall) GetCheckpoint(gravityIDstring string) []byte

GetCheckpoint gets the checkpoint signature from the given outgoing tx batch

func (*OutgoingLogicCall) GetEthBlock

func (m *OutgoingLogicCall) GetEthBlock() uint64

func (*OutgoingLogicCall) GetFees

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

func (*OutgoingLogicCall) GetInvalidationId

func (m *OutgoingLogicCall) GetInvalidationId() []byte

func (*OutgoingLogicCall) GetInvalidationNonce

func (m *OutgoingLogicCall) GetInvalidationNonce() uint64

func (*OutgoingLogicCall) GetLogicContractAddress

func (m *OutgoingLogicCall) GetLogicContractAddress() string

func (*OutgoingLogicCall) GetPayload

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

func (*OutgoingLogicCall) GetTimeout

func (m *OutgoingLogicCall) GetTimeout() uint64

func (*OutgoingLogicCall) GetTransfers

func (m *OutgoingLogicCall) GetTransfers() []ERC20Token

func (*OutgoingLogicCall) Marshal

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

func (*OutgoingLogicCall) MarshalTo

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

func (*OutgoingLogicCall) MarshalToSizedBuffer

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

func (*OutgoingLogicCall) ProtoMessage

func (*OutgoingLogicCall) ProtoMessage()

func (*OutgoingLogicCall) Reset

func (m *OutgoingLogicCall) Reset()

func (*OutgoingLogicCall) Size

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

func (*OutgoingLogicCall) String

func (m *OutgoingLogicCall) String() string

func (*OutgoingLogicCall) Unmarshal

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

func (*OutgoingLogicCall) XXX_DiscardUnknown

func (m *OutgoingLogicCall) XXX_DiscardUnknown()

func (*OutgoingLogicCall) XXX_Marshal

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

func (*OutgoingLogicCall) XXX_Merge

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

func (*OutgoingLogicCall) XXX_Size

func (m *OutgoingLogicCall) XXX_Size() int

func (*OutgoingLogicCall) XXX_Unmarshal

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

type OutgoingTransferTx

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

OutgoingTransferTx represents an individual send from gravity to ETH

func (*OutgoingTransferTx) Descriptor

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

func (*OutgoingTransferTx) GetDestAddress

func (m *OutgoingTransferTx) GetDestAddress() string

func (*OutgoingTransferTx) GetErc20Fee

func (m *OutgoingTransferTx) GetErc20Fee() ERC20Token

func (*OutgoingTransferTx) GetErc20Token

func (m *OutgoingTransferTx) GetErc20Token() ERC20Token

func (*OutgoingTransferTx) GetId

func (m *OutgoingTransferTx) GetId() uint64

func (*OutgoingTransferTx) GetSender

func (m *OutgoingTransferTx) GetSender() string

func (*OutgoingTransferTx) Marshal

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

func (*OutgoingTransferTx) MarshalTo

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

func (*OutgoingTransferTx) MarshalToSizedBuffer

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

func (*OutgoingTransferTx) ProtoMessage

func (*OutgoingTransferTx) ProtoMessage()

func (*OutgoingTransferTx) Reset

func (m *OutgoingTransferTx) Reset()

func (*OutgoingTransferTx) Size

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

func (*OutgoingTransferTx) String

func (m *OutgoingTransferTx) String() string

func (OutgoingTransferTx) ToInternal

func (*OutgoingTransferTx) Unmarshal

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

func (*OutgoingTransferTx) XXX_DiscardUnknown

func (m *OutgoingTransferTx) XXX_DiscardUnknown()

func (*OutgoingTransferTx) XXX_Marshal

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

func (*OutgoingTransferTx) XXX_Merge

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

func (*OutgoingTransferTx) XXX_Size

func (m *OutgoingTransferTx) XXX_Size() int

func (*OutgoingTransferTx) XXX_Unmarshal

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

type OutgoingTxBatch

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

OutgoingTxBatch represents a batch of transactions going from gravity to ETH

func (*OutgoingTxBatch) Descriptor

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

func (*OutgoingTxBatch) GetBatchNonce

func (m *OutgoingTxBatch) GetBatchNonce() uint64

func (*OutgoingTxBatch) GetBatchTimeout

func (m *OutgoingTxBatch) GetBatchTimeout() uint64

func (OutgoingTxBatch) GetCheckpoint

func (o OutgoingTxBatch) GetCheckpoint(gravityIDstring string) []byte

Required for EthereumSigned interface

func (*OutgoingTxBatch) GetEthBlock

func (m *OutgoingTxBatch) GetEthBlock() uint64

func (OutgoingTxBatch) GetFees

func (b OutgoingTxBatch) GetFees() sdk.Int

GetFees returns the total fees contained within a given batch

func (*OutgoingTxBatch) GetTokenContract

func (m *OutgoingTxBatch) GetTokenContract() string

func (*OutgoingTxBatch) GetTransactions

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

func (*OutgoingTxBatch) Marshal

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

func (*OutgoingTxBatch) MarshalTo

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

func (*OutgoingTxBatch) MarshalToSizedBuffer

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

func (*OutgoingTxBatch) ProtoMessage

func (*OutgoingTxBatch) ProtoMessage()

func (*OutgoingTxBatch) Reset

func (m *OutgoingTxBatch) Reset()

func (*OutgoingTxBatch) Size

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

func (*OutgoingTxBatch) String

func (m *OutgoingTxBatch) String() string

func (*OutgoingTxBatch) ToInternal

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

func (*OutgoingTxBatch) Unmarshal

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

func (*OutgoingTxBatch) XXX_DiscardUnknown

func (m *OutgoingTxBatch) XXX_DiscardUnknown()

func (*OutgoingTxBatch) XXX_Marshal

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

func (*OutgoingTxBatch) XXX_Merge

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

func (*OutgoingTxBatch) XXX_Size

func (m *OutgoingTxBatch) XXX_Size() int

func (*OutgoingTxBatch) XXX_Unmarshal

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

type Params

type Params struct {
	GravityId                    string                                 `protobuf:"bytes,1,opt,name=gravity_id,json=gravityId,proto3" json:"gravity_id,omitempty"`
	ContractSourceHash           string                                 `protobuf:"bytes,2,opt,name=contract_source_hash,json=contractSourceHash,proto3" json:"contract_source_hash,omitempty"`
	BridgeEthereumAddress        string                                 `` /* 126-byte string literal not displayed */
	BridgeChainId                uint64                                 `protobuf:"varint,5,opt,name=bridge_chain_id,json=bridgeChainId,proto3" json:"bridge_chain_id,omitempty"`
	SignedValsetsWindow          uint64                                 `protobuf:"varint,6,opt,name=signed_valsets_window,json=signedValsetsWindow,proto3" json:"signed_valsets_window,omitempty"`
	SignedBatchesWindow          uint64                                 `protobuf:"varint,7,opt,name=signed_batches_window,json=signedBatchesWindow,proto3" json:"signed_batches_window,omitempty"`
	SignedLogicCallsWindow       uint64                                 `` /* 132-byte string literal not displayed */
	TargetBatchTimeout           uint64                                 `protobuf:"varint,9,opt,name=target_batch_timeout,json=targetBatchTimeout,proto3" json:"target_batch_timeout,omitempty"`
	AverageBlockTime             uint64                                 `protobuf:"varint,10,opt,name=average_block_time,json=averageBlockTime,proto3" json:"average_block_time,omitempty"`
	AverageEthereumBlockTime     uint64                                 `` /* 139-byte string literal not displayed */
	SlashFractionValset          github_com_cosmos_cosmos_sdk_types.Dec `` /* 161-byte string literal not displayed */
	SlashFractionBatch           github_com_cosmos_cosmos_sdk_types.Dec `` /* 158-byte string literal not displayed */
	SlashFractionLogicCall       github_com_cosmos_cosmos_sdk_types.Dec `` /* 172-byte string literal not displayed */
	UnbondSlashingValsetsWindow  uint64                                 `` /* 148-byte string literal not displayed */
	SlashFractionBadEthSignature github_com_cosmos_cosmos_sdk_types.Dec `` /* 192-byte string literal not displayed */
	ValsetReward                 types.Coin                             `protobuf:"bytes,17,opt,name=valset_reward,json=valsetReward,proto3" json:"valset_reward"`
	BridgeActive                 bool                                   `protobuf:"varint,18,opt,name=bridge_active,json=bridgeActive,proto3" json:"bridge_active,omitempty"`
	// addresses on this blacklist are forbidden from depositing or withdrawing
	// from Ethereum to the bridge
	EthereumBlacklist []string `protobuf:"bytes,19,rep,name=ethereum_blacklist,json=ethereumBlacklist,proto3" json:"ethereum_blacklist,omitempty"`
}

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

unbond_slashing_valsets_window

The unbond slashing valsets window is used to determine how many blocks after starting to unbond a validator needs to continue signing blocks. The goal of this paramater is that when a validator leaves the set, if their leaving creates enough change in the validator set to justify an update they will sign a validator set update for the Ethereum bridge that does not include themselves. Allowing us to remove them from the Ethereum bridge and replace them with the new set gracefully.

valset_reward

These parameters allow for the bridge oracle to resolve a fork on the Ethereum chain without halting the chain. Once set reset bridge state will roll back events to the nonce provided in reset_bridge_nonce if and only if those events have not yet been observed (executed on the Cosmos chain). This allows for easy handling of cases where for example an Ethereum hardfork has occured and more than 1/3 of the vlaidtor set disagrees with the rest. Normally this would require a chain halt, manual genesis editing and restar to resolve with this feature a governance proposal can be used instead

bridge_active

This boolean flag can be used by governance to temporarily halt the bridge due to a vulnerability or other issue In this context halting the bridge means prevent the execution of any oracle events from Ethereum and preventing the creation of new batches that may be relayed to Ethereum. This does not prevent the creation of validator sets or slashing for not submitting validator set signatures as either of these might allow key signers to leave the validator set and steal funds on Ethereum without consequence. The practical outcome of this flag being set to 'false' is that deposits from Ethereum will not show up and withdraws from Cosmos will not execute on Ethereum.

func DefaultParams

func DefaultParams() *Params

DefaultParams returns a copy of the default params

func (*Params) Descriptor

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

func (Params) Equal

func (p Params) Equal(p2 Params) bool

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

func (*Params) GetAverageBlockTime

func (m *Params) GetAverageBlockTime() uint64

func (*Params) GetAverageEthereumBlockTime

func (m *Params) GetAverageEthereumBlockTime() uint64

func (*Params) GetBridgeActive

func (m *Params) GetBridgeActive() bool

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

func (m *Params) GetEthereumBlacklist() []string

func (*Params) GetGravityId

func (m *Params) GetGravityId() string

func (*Params) GetSignedBatchesWindow

func (m *Params) GetSignedBatchesWindow() uint64

func (*Params) GetSignedLogicCallsWindow

func (m *Params) GetSignedLogicCallsWindow() uint64

func (*Params) GetSignedValsetsWindow

func (m *Params) GetSignedValsetsWindow() uint64

func (*Params) GetTargetBatchTimeout

func (m *Params) GetTargetBatchTimeout() uint64

func (*Params) GetUnbondSlashingValsetsWindow

func (m *Params) GetUnbondSlashingValsetsWindow() uint64

func (*Params) GetValsetReward

func (m *Params) GetValsetReward() types.Coin

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 PendingIbcAutoForward

type PendingIbcAutoForward struct {
	ForeignReceiver string       `protobuf:"bytes,1,opt,name=foreign_receiver,json=foreignReceiver,proto3" json:"foreign_receiver,omitempty"`
	Token           *types1.Coin `protobuf:"bytes,2,opt,name=token,proto3" json:"token,omitempty"`
	IbcChannel      string       `protobuf:"bytes,3,opt,name=ibc_channel,json=ibcChannel,proto3" json:"ibc_channel,omitempty"`
	EventNonce      uint64       `protobuf:"varint,4,opt,name=event_nonce,json=eventNonce,proto3" json:"event_nonce,omitempty"`
}

PendingIbcAutoForward represents a SendToCosmos transaction with a foreign CosmosReceiver which will be added to the PendingIbcAutoForward queue in attestation_handler and sent over IBC on some submission of a MsgExecuteIbcAutoForwards

func (*PendingIbcAutoForward) Descriptor

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

func (*PendingIbcAutoForward) GetEventNonce

func (m *PendingIbcAutoForward) GetEventNonce() uint64

func (*PendingIbcAutoForward) GetForeignReceiver

func (m *PendingIbcAutoForward) GetForeignReceiver() string

func (*PendingIbcAutoForward) GetIbcChannel

func (m *PendingIbcAutoForward) GetIbcChannel() string

func (*PendingIbcAutoForward) GetToken

func (m *PendingIbcAutoForward) GetToken() *types1.Coin

func (*PendingIbcAutoForward) Marshal

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

func (*PendingIbcAutoForward) MarshalTo

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

func (*PendingIbcAutoForward) MarshalToSizedBuffer

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

func (*PendingIbcAutoForward) ProtoMessage

func (*PendingIbcAutoForward) ProtoMessage()

func (*PendingIbcAutoForward) Reset

func (m *PendingIbcAutoForward) Reset()

func (*PendingIbcAutoForward) Size

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

func (*PendingIbcAutoForward) String

func (m *PendingIbcAutoForward) String() string

func (*PendingIbcAutoForward) Unmarshal

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

func (PendingIbcAutoForward) ValidateBasic

func (p PendingIbcAutoForward) ValidateBasic() error

ValidateBasic checks the ForeignReceiver is valid and foreign, the Amount is non-zero, the IbcChannel is non-empty, and the EventNonce is non-zero

func (*PendingIbcAutoForward) XXX_DiscardUnknown

func (m *PendingIbcAutoForward) XXX_DiscardUnknown()

func (*PendingIbcAutoForward) XXX_Marshal

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

func (*PendingIbcAutoForward) XXX_Merge

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

func (*PendingIbcAutoForward) XXX_Size

func (m *PendingIbcAutoForward) XXX_Size() int

func (*PendingIbcAutoForward) XXX_Unmarshal

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

type QueryAttestationsRequest

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

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

func (*QueryAttestationsRequest) GetClaimType

func (m *QueryAttestationsRequest) GetClaimType() string

func (*QueryAttestationsRequest) GetHeight

func (m *QueryAttestationsRequest) GetHeight() uint64

func (*QueryAttestationsRequest) GetLimit

func (m *QueryAttestationsRequest) GetLimit() uint64

func (*QueryAttestationsRequest) GetNonce

func (m *QueryAttestationsRequest) GetNonce() uint64

func (*QueryAttestationsRequest) GetOrderBy

func (m *QueryAttestationsRequest) GetOrderBy() string

func (*QueryAttestationsRequest) GetUseV1Key

func (m *QueryAttestationsRequest) GetUseV1Key() bool

func (*QueryAttestationsRequest) Marshal

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

func (*QueryAttestationsRequest) MarshalTo

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

func (*QueryAttestationsRequest) MarshalToSizedBuffer

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

func (*QueryAttestationsRequest) ProtoMessage

func (*QueryAttestationsRequest) ProtoMessage()

func (*QueryAttestationsRequest) Reset

func (m *QueryAttestationsRequest) Reset()

func (*QueryAttestationsRequest) Size

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

func (*QueryAttestationsRequest) String

func (m *QueryAttestationsRequest) String() string

func (*QueryAttestationsRequest) Unmarshal

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

func (*QueryAttestationsRequest) XXX_DiscardUnknown

func (m *QueryAttestationsRequest) XXX_DiscardUnknown()

func (*QueryAttestationsRequest) XXX_Marshal

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

func (*QueryAttestationsRequest) XXX_Merge

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

func (*QueryAttestationsRequest) XXX_Size

func (m *QueryAttestationsRequest) XXX_Size() int

func (*QueryAttestationsRequest) XXX_Unmarshal

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

type QueryAttestationsResponse

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

func (*QueryAttestationsResponse) Descriptor

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

func (*QueryAttestationsResponse) GetAttestations

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

func (*QueryAttestationsResponse) Marshal

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

func (*QueryAttestationsResponse) MarshalTo

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

func (*QueryAttestationsResponse) MarshalToSizedBuffer

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

func (*QueryAttestationsResponse) ProtoMessage

func (*QueryAttestationsResponse) ProtoMessage()

func (*QueryAttestationsResponse) Reset

func (m *QueryAttestationsResponse) Reset()

func (*QueryAttestationsResponse) Size

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

func (*QueryAttestationsResponse) String

func (m *QueryAttestationsResponse) String() string

func (*QueryAttestationsResponse) Unmarshal

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

func (*QueryAttestationsResponse) XXX_DiscardUnknown

func (m *QueryAttestationsResponse) XXX_DiscardUnknown()

func (*QueryAttestationsResponse) XXX_Marshal

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

func (*QueryAttestationsResponse) XXX_Merge

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

func (*QueryAttestationsResponse) XXX_Size

func (m *QueryAttestationsResponse) XXX_Size() int

func (*QueryAttestationsResponse) XXX_Unmarshal

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

type QueryBatchConfirmsRequest

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

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

func (*QueryBatchConfirmsRequest) GetContractAddress

func (m *QueryBatchConfirmsRequest) GetContractAddress() string

func (*QueryBatchConfirmsRequest) GetNonce

func (m *QueryBatchConfirmsRequest) GetNonce() uint64

func (*QueryBatchConfirmsRequest) Marshal

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

func (*QueryBatchConfirmsRequest) MarshalTo

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

func (*QueryBatchConfirmsRequest) MarshalToSizedBuffer

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

func (*QueryBatchConfirmsRequest) ProtoMessage

func (*QueryBatchConfirmsRequest) ProtoMessage()

func (*QueryBatchConfirmsRequest) Reset

func (m *QueryBatchConfirmsRequest) Reset()

func (*QueryBatchConfirmsRequest) Size

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

func (*QueryBatchConfirmsRequest) String

func (m *QueryBatchConfirmsRequest) String() string

func (*QueryBatchConfirmsRequest) Unmarshal

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

func (*QueryBatchConfirmsRequest) XXX_DiscardUnknown

func (m *QueryBatchConfirmsRequest) XXX_DiscardUnknown()

func (*QueryBatchConfirmsRequest) XXX_Marshal

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

func (*QueryBatchConfirmsRequest) XXX_Merge

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

func (*QueryBatchConfirmsRequest) XXX_Size

func (m *QueryBatchConfirmsRequest) XXX_Size() int

func (*QueryBatchConfirmsRequest) XXX_Unmarshal

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

type QueryBatchConfirmsResponse

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

func (*QueryBatchConfirmsResponse) Descriptor

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

func (*QueryBatchConfirmsResponse) GetConfirms

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

func (*QueryBatchConfirmsResponse) Marshal

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

func (*QueryBatchConfirmsResponse) MarshalTo

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

func (*QueryBatchConfirmsResponse) MarshalToSizedBuffer

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

func (*QueryBatchConfirmsResponse) ProtoMessage

func (*QueryBatchConfirmsResponse) ProtoMessage()

func (*QueryBatchConfirmsResponse) Reset

func (m *QueryBatchConfirmsResponse) Reset()

func (*QueryBatchConfirmsResponse) Size

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

func (*QueryBatchConfirmsResponse) String

func (m *QueryBatchConfirmsResponse) String() string

func (*QueryBatchConfirmsResponse) Unmarshal

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

func (*QueryBatchConfirmsResponse) XXX_DiscardUnknown

func (m *QueryBatchConfirmsResponse) XXX_DiscardUnknown()

func (*QueryBatchConfirmsResponse) XXX_Marshal

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

func (*QueryBatchConfirmsResponse) XXX_Merge

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

func (*QueryBatchConfirmsResponse) XXX_Size

func (m *QueryBatchConfirmsResponse) XXX_Size() int

func (*QueryBatchConfirmsResponse) XXX_Unmarshal

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

type QueryBatchFeeRequest

type QueryBatchFeeRequest struct {
}

func (*QueryBatchFeeRequest) Descriptor

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

func (*QueryBatchFeeRequest) Marshal

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

func (*QueryBatchFeeRequest) MarshalTo

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

func (*QueryBatchFeeRequest) MarshalToSizedBuffer

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

func (*QueryBatchFeeRequest) ProtoMessage

func (*QueryBatchFeeRequest) ProtoMessage()

func (*QueryBatchFeeRequest) Reset

func (m *QueryBatchFeeRequest) Reset()

func (*QueryBatchFeeRequest) Size

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

func (*QueryBatchFeeRequest) String

func (m *QueryBatchFeeRequest) String() string

func (*QueryBatchFeeRequest) Unmarshal

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

func (*QueryBatchFeeRequest) XXX_DiscardUnknown

func (m *QueryBatchFeeRequest) XXX_DiscardUnknown()

func (*QueryBatchFeeRequest) XXX_Marshal

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

func (*QueryBatchFeeRequest) XXX_Merge

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

func (*QueryBatchFeeRequest) XXX_Size

func (m *QueryBatchFeeRequest) XXX_Size() int

func (*QueryBatchFeeRequest) XXX_Unmarshal

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

type QueryBatchFeeResponse

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

func (*QueryBatchFeeResponse) Descriptor

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

func (*QueryBatchFeeResponse) GetBatchFees

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

func (*QueryBatchFeeResponse) Marshal

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

func (*QueryBatchFeeResponse) MarshalTo

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

func (*QueryBatchFeeResponse) MarshalToSizedBuffer

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

func (*QueryBatchFeeResponse) ProtoMessage

func (*QueryBatchFeeResponse) ProtoMessage()

func (*QueryBatchFeeResponse) Reset

func (m *QueryBatchFeeResponse) Reset()

func (*QueryBatchFeeResponse) Size

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

func (*QueryBatchFeeResponse) String

func (m *QueryBatchFeeResponse) String() string

func (*QueryBatchFeeResponse) Unmarshal

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

func (*QueryBatchFeeResponse) XXX_DiscardUnknown

func (m *QueryBatchFeeResponse) XXX_DiscardUnknown()

func (*QueryBatchFeeResponse) XXX_Marshal

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

func (*QueryBatchFeeResponse) XXX_Merge

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

func (*QueryBatchFeeResponse) XXX_Size

func (m *QueryBatchFeeResponse) XXX_Size() int

func (*QueryBatchFeeResponse) XXX_Unmarshal

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

type QueryBatchRequestByNonceRequest

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

func (*QueryBatchRequestByNonceRequest) Descriptor

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

func (*QueryBatchRequestByNonceRequest) GetContractAddress

func (m *QueryBatchRequestByNonceRequest) GetContractAddress() string

func (*QueryBatchRequestByNonceRequest) GetNonce

func (*QueryBatchRequestByNonceRequest) Marshal

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

func (*QueryBatchRequestByNonceRequest) MarshalTo

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

func (*QueryBatchRequestByNonceRequest) MarshalToSizedBuffer

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

func (*QueryBatchRequestByNonceRequest) ProtoMessage

func (*QueryBatchRequestByNonceRequest) ProtoMessage()

func (*QueryBatchRequestByNonceRequest) Reset

func (*QueryBatchRequestByNonceRequest) Size

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

func (*QueryBatchRequestByNonceRequest) String

func (*QueryBatchRequestByNonceRequest) Unmarshal

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

func (*QueryBatchRequestByNonceRequest) XXX_DiscardUnknown

func (m *QueryBatchRequestByNonceRequest) XXX_DiscardUnknown()

func (*QueryBatchRequestByNonceRequest) XXX_Marshal

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

func (*QueryBatchRequestByNonceRequest) XXX_Merge

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

func (*QueryBatchRequestByNonceRequest) XXX_Size

func (m *QueryBatchRequestByNonceRequest) XXX_Size() int

func (*QueryBatchRequestByNonceRequest) XXX_Unmarshal

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

type QueryBatchRequestByNonceResponse

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

func (*QueryBatchRequestByNonceResponse) Descriptor

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

func (*QueryBatchRequestByNonceResponse) GetBatch

func (*QueryBatchRequestByNonceResponse) Marshal

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

func (*QueryBatchRequestByNonceResponse) MarshalTo

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

func (*QueryBatchRequestByNonceResponse) MarshalToSizedBuffer

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

func (*QueryBatchRequestByNonceResponse) ProtoMessage

func (*QueryBatchRequestByNonceResponse) ProtoMessage()

func (*QueryBatchRequestByNonceResponse) Reset

func (*QueryBatchRequestByNonceResponse) Size

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

func (*QueryBatchRequestByNonceResponse) String

func (*QueryBatchRequestByNonceResponse) Unmarshal

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

func (*QueryBatchRequestByNonceResponse) XXX_DiscardUnknown

func (m *QueryBatchRequestByNonceResponse) XXX_DiscardUnknown()

func (*QueryBatchRequestByNonceResponse) XXX_Marshal

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

func (*QueryBatchRequestByNonceResponse) XXX_Merge

func (*QueryBatchRequestByNonceResponse) XXX_Size

func (m *QueryBatchRequestByNonceResponse) XXX_Size() int

func (*QueryBatchRequestByNonceResponse) XXX_Unmarshal

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

type QueryClient

type QueryClient interface {
	// Deployments queries deployments
	Params(ctx context.Context, in *QueryParamsRequest, opts ...grpc.CallOption) (*QueryParamsResponse, error)
	CurrentValset(ctx context.Context, in *QueryCurrentValsetRequest, opts ...grpc.CallOption) (*QueryCurrentValsetResponse, error)
	ValsetRequest(ctx context.Context, in *QueryValsetRequestRequest, opts ...grpc.CallOption) (*QueryValsetRequestResponse, error)
	ValsetConfirm(ctx context.Context, in *QueryValsetConfirmRequest, opts ...grpc.CallOption) (*QueryValsetConfirmResponse, error)
	ValsetConfirmsByNonce(ctx context.Context, in *QueryValsetConfirmsByNonceRequest, opts ...grpc.CallOption) (*QueryValsetConfirmsByNonceResponse, error)
	LastValsetRequests(ctx context.Context, in *QueryLastValsetRequestsRequest, opts ...grpc.CallOption) (*QueryLastValsetRequestsResponse, error)
	LastPendingValsetRequestByAddr(ctx context.Context, in *QueryLastPendingValsetRequestByAddrRequest, opts ...grpc.CallOption) (*QueryLastPendingValsetRequestByAddrResponse, error)
	LastPendingBatchRequestByAddr(ctx context.Context, in *QueryLastPendingBatchRequestByAddrRequest, opts ...grpc.CallOption) (*QueryLastPendingBatchRequestByAddrResponse, error)
	LastPendingLogicCallByAddr(ctx context.Context, in *QueryLastPendingLogicCallByAddrRequest, opts ...grpc.CallOption) (*QueryLastPendingLogicCallByAddrResponse, error)
	LastEventNonceByAddr(ctx context.Context, in *QueryLastEventNonceByAddrRequest, opts ...grpc.CallOption) (*QueryLastEventNonceByAddrResponse, error)
	BatchFees(ctx context.Context, in *QueryBatchFeeRequest, opts ...grpc.CallOption) (*QueryBatchFeeResponse, error)
	OutgoingTxBatches(ctx context.Context, in *QueryOutgoingTxBatchesRequest, opts ...grpc.CallOption) (*QueryOutgoingTxBatchesResponse, error)
	OutgoingLogicCalls(ctx context.Context, in *QueryOutgoingLogicCallsRequest, opts ...grpc.CallOption) (*QueryOutgoingLogicCallsResponse, error)
	BatchRequestByNonce(ctx context.Context, in *QueryBatchRequestByNonceRequest, opts ...grpc.CallOption) (*QueryBatchRequestByNonceResponse, error)
	BatchConfirms(ctx context.Context, in *QueryBatchConfirmsRequest, opts ...grpc.CallOption) (*QueryBatchConfirmsResponse, error)
	LogicConfirms(ctx context.Context, in *QueryLogicConfirmsRequest, opts ...grpc.CallOption) (*QueryLogicConfirmsResponse, 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)
	GetDelegateKeyByValidator(ctx context.Context, in *QueryDelegateKeysByValidatorAddress, opts ...grpc.CallOption) (*QueryDelegateKeysByValidatorAddressResponse, error)
	GetDelegateKeyByEth(ctx context.Context, in *QueryDelegateKeysByEthAddress, opts ...grpc.CallOption) (*QueryDelegateKeysByEthAddressResponse, error)
	GetDelegateKeyByOrchestrator(ctx context.Context, in *QueryDelegateKeysByOrchestratorAddress, opts ...grpc.CallOption) (*QueryDelegateKeysByOrchestratorAddressResponse, error)
	GetPendingSendToEth(ctx context.Context, in *QueryPendingSendToEth, opts ...grpc.CallOption) (*QueryPendingSendToEthResponse, error)
	GetPendingIbcAutoForwards(ctx context.Context, in *QueryPendingIbcAutoForwards, opts ...grpc.CallOption) (*QueryPendingIbcAutoForwardsResponse, error)
}

QueryClient is the client API for Query service.

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

func NewQueryClient

func NewQueryClient(cc grpc1.ClientConn) QueryClient

type QueryCurrentValsetRequest

type QueryCurrentValsetRequest struct {
}

func (*QueryCurrentValsetRequest) Descriptor

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

func (*QueryCurrentValsetRequest) Marshal

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

func (*QueryCurrentValsetRequest) MarshalTo

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

func (*QueryCurrentValsetRequest) MarshalToSizedBuffer

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

func (*QueryCurrentValsetRequest) ProtoMessage

func (*QueryCurrentValsetRequest) ProtoMessage()

func (*QueryCurrentValsetRequest) Reset

func (m *QueryCurrentValsetRequest) Reset()

func (*QueryCurrentValsetRequest) Size

func (m *QueryCurrentValsetRequest) Size() (n int)

func (*QueryCurrentValsetRequest) String

func (m *QueryCurrentValsetRequest) String() string

func (*QueryCurrentValsetRequest) Unmarshal

func (m *QueryCurrentValsetRequest) Unmarshal(dAtA []byte) error

func (*QueryCurrentValsetRequest) XXX_DiscardUnknown

func (m *QueryCurrentValsetRequest) XXX_DiscardUnknown()

func (*QueryCurrentValsetRequest) XXX_Marshal

func (m *QueryCurrentValsetRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryCurrentValsetRequest) XXX_Merge

func (m *QueryCurrentValsetRequest) XXX_Merge(src proto.Message)

func (*QueryCurrentValsetRequest) XXX_Size

func (m *QueryCurrentValsetRequest) XXX_Size() int

func (*QueryCurrentValsetRequest) XXX_Unmarshal

func (m *QueryCurrentValsetRequest) XXX_Unmarshal(b []byte) error

type QueryCurrentValsetResponse

type QueryCurrentValsetResponse struct {
	Valset Valset `protobuf:"bytes,1,opt,name=valset,proto3" json:"valset"`
}

func (*QueryCurrentValsetResponse) Descriptor

func (*QueryCurrentValsetResponse) Descriptor() ([]byte, []int)

func (*QueryCurrentValsetResponse) GetValset

func (m *QueryCurrentValsetResponse) GetValset() Valset

func (*QueryCurrentValsetResponse) Marshal

func (m *QueryCurrentValsetResponse) Marshal() (dAtA []byte, err error)

func (*QueryCurrentValsetResponse) MarshalTo

func (m *QueryCurrentValsetResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryCurrentValsetResponse) MarshalToSizedBuffer

func (m *QueryCurrentValsetResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryCurrentValsetResponse) ProtoMessage

func (*QueryCurrentValsetResponse) ProtoMessage()

func (*QueryCurrentValsetResponse) Reset

func (m *QueryCurrentValsetResponse) Reset()

func (*QueryCurrentValsetResponse) Size

func (m *QueryCurrentValsetResponse) Size() (n int)

func (*QueryCurrentValsetResponse) String

func (m *QueryCurrentValsetResponse) String() string

func (*QueryCurrentValsetResponse) Unmarshal

func (m *QueryCurrentValsetResponse) Unmarshal(dAtA []byte) error

func (*QueryCurrentValsetResponse) XXX_DiscardUnknown

func (m *QueryCurrentValsetResponse) XXX_DiscardUnknown()

func (*QueryCurrentValsetResponse) XXX_Marshal

func (m *QueryCurrentValsetResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryCurrentValsetResponse) XXX_Merge

func (m *QueryCurrentValsetResponse) XXX_Merge(src proto.Message)

func (*QueryCurrentValsetResponse) XXX_Size

func (m *QueryCurrentValsetResponse) XXX_Size() int

func (*QueryCurrentValsetResponse) XXX_Unmarshal

func (m *QueryCurrentValsetResponse) XXX_Unmarshal(b []byte) error

type QueryDelegateKeysByEthAddress

type QueryDelegateKeysByEthAddress struct {
	EthAddress string `protobuf:"bytes,1,opt,name=eth_address,json=ethAddress,proto3" json:"eth_address,omitempty"`
}

func (*QueryDelegateKeysByEthAddress) Descriptor

func (*QueryDelegateKeysByEthAddress) Descriptor() ([]byte, []int)

func (*QueryDelegateKeysByEthAddress) GetEthAddress

func (m *QueryDelegateKeysByEthAddress) GetEthAddress() string

func (*QueryDelegateKeysByEthAddress) Marshal

func (m *QueryDelegateKeysByEthAddress) Marshal() (dAtA []byte, err error)

func (*QueryDelegateKeysByEthAddress) MarshalTo

func (m *QueryDelegateKeysByEthAddress) MarshalTo(dAtA []byte) (int, error)

func (*QueryDelegateKeysByEthAddress) MarshalToSizedBuffer

func (m *QueryDelegateKeysByEthAddress) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryDelegateKeysByEthAddress) ProtoMessage

func (*QueryDelegateKeysByEthAddress) ProtoMessage()

func (*QueryDelegateKeysByEthAddress) Reset

func (m *QueryDelegateKeysByEthAddress) Reset()

func (*QueryDelegateKeysByEthAddress) Size

func (m *QueryDelegateKeysByEthAddress) Size() (n int)

func (*QueryDelegateKeysByEthAddress) String

func (*QueryDelegateKeysByEthAddress) Unmarshal

func (m *QueryDelegateKeysByEthAddress) Unmarshal(dAtA []byte) error

func (*QueryDelegateKeysByEthAddress) XXX_DiscardUnknown

func (m *QueryDelegateKeysByEthAddress) XXX_DiscardUnknown()

func (*QueryDelegateKeysByEthAddress) XXX_Marshal

func (m *QueryDelegateKeysByEthAddress) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryDelegateKeysByEthAddress) XXX_Merge

func (m *QueryDelegateKeysByEthAddress) XXX_Merge(src proto.Message)

func (*QueryDelegateKeysByEthAddress) XXX_Size

func (m *QueryDelegateKeysByEthAddress) XXX_Size() int

func (*QueryDelegateKeysByEthAddress) XXX_Unmarshal

func (m *QueryDelegateKeysByEthAddress) XXX_Unmarshal(b []byte) error

type QueryDelegateKeysByEthAddressResponse

type QueryDelegateKeysByEthAddressResponse struct {
	ValidatorAddress    string `protobuf:"bytes,1,opt,name=validator_address,json=validatorAddress,proto3" json:"validator_address,omitempty"`
	OrchestratorAddress string `protobuf:"bytes,2,opt,name=orchestrator_address,json=orchestratorAddress,proto3" json:"orchestrator_address,omitempty"`
}

func (*QueryDelegateKeysByEthAddressResponse) Descriptor

func (*QueryDelegateKeysByEthAddressResponse) Descriptor() ([]byte, []int)

func (*QueryDelegateKeysByEthAddressResponse) GetOrchestratorAddress

func (m *QueryDelegateKeysByEthAddressResponse) GetOrchestratorAddress() string

func (*QueryDelegateKeysByEthAddressResponse) GetValidatorAddress

func (m *QueryDelegateKeysByEthAddressResponse) GetValidatorAddress() string

func (*QueryDelegateKeysByEthAddressResponse) Marshal

func (m *QueryDelegateKeysByEthAddressResponse) Marshal() (dAtA []byte, err error)

func (*QueryDelegateKeysByEthAddressResponse) MarshalTo

func (m *QueryDelegateKeysByEthAddressResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryDelegateKeysByEthAddressResponse) MarshalToSizedBuffer

func (m *QueryDelegateKeysByEthAddressResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryDelegateKeysByEthAddressResponse) ProtoMessage

func (*QueryDelegateKeysByEthAddressResponse) ProtoMessage()

func (*QueryDelegateKeysByEthAddressResponse) Reset

func (*QueryDelegateKeysByEthAddressResponse) Size

func (*QueryDelegateKeysByEthAddressResponse) String

func (*QueryDelegateKeysByEthAddressResponse) Unmarshal

func (m *QueryDelegateKeysByEthAddressResponse) Unmarshal(dAtA []byte) error

func (*QueryDelegateKeysByEthAddressResponse) XXX_DiscardUnknown

func (m *QueryDelegateKeysByEthAddressResponse) XXX_DiscardUnknown()

func (*QueryDelegateKeysByEthAddressResponse) XXX_Marshal

func (m *QueryDelegateKeysByEthAddressResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryDelegateKeysByEthAddressResponse) XXX_Merge

func (*QueryDelegateKeysByEthAddressResponse) XXX_Size

func (*QueryDelegateKeysByEthAddressResponse) XXX_Unmarshal

func (m *QueryDelegateKeysByEthAddressResponse) XXX_Unmarshal(b []byte) error

type QueryDelegateKeysByOrchestratorAddress

type QueryDelegateKeysByOrchestratorAddress struct {
	OrchestratorAddress string `protobuf:"bytes,1,opt,name=orchestrator_address,json=orchestratorAddress,proto3" json:"orchestrator_address,omitempty"`
}

func (*QueryDelegateKeysByOrchestratorAddress) Descriptor

func (*QueryDelegateKeysByOrchestratorAddress) Descriptor() ([]byte, []int)

func (*QueryDelegateKeysByOrchestratorAddress) GetOrchestratorAddress

func (m *QueryDelegateKeysByOrchestratorAddress) GetOrchestratorAddress() string

func (*QueryDelegateKeysByOrchestratorAddress) Marshal

func (m *QueryDelegateKeysByOrchestratorAddress) Marshal() (dAtA []byte, err error)

func (*QueryDelegateKeysByOrchestratorAddress) MarshalTo

func (m *QueryDelegateKeysByOrchestratorAddress) MarshalTo(dAtA []byte) (int, error)

func (*QueryDelegateKeysByOrchestratorAddress) MarshalToSizedBuffer

func (m *QueryDelegateKeysByOrchestratorAddress) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryDelegateKeysByOrchestratorAddress) ProtoMessage

func (*QueryDelegateKeysByOrchestratorAddress) Reset

func (*QueryDelegateKeysByOrchestratorAddress) Size

func (*QueryDelegateKeysByOrchestratorAddress) String

func (*QueryDelegateKeysByOrchestratorAddress) Unmarshal

func (m *QueryDelegateKeysByOrchestratorAddress) Unmarshal(dAtA []byte) error

func (*QueryDelegateKeysByOrchestratorAddress) XXX_DiscardUnknown

func (m *QueryDelegateKeysByOrchestratorAddress) XXX_DiscardUnknown()

func (*QueryDelegateKeysByOrchestratorAddress) XXX_Marshal

func (m *QueryDelegateKeysByOrchestratorAddress) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryDelegateKeysByOrchestratorAddress) XXX_Merge

func (*QueryDelegateKeysByOrchestratorAddress) XXX_Size

func (*QueryDelegateKeysByOrchestratorAddress) XXX_Unmarshal

func (m *QueryDelegateKeysByOrchestratorAddress) XXX_Unmarshal(b []byte) error

type QueryDelegateKeysByOrchestratorAddressResponse

type QueryDelegateKeysByOrchestratorAddressResponse struct {
	ValidatorAddress string `protobuf:"bytes,1,opt,name=validator_address,json=validatorAddress,proto3" json:"validator_address,omitempty"`
	EthAddress       string `protobuf:"bytes,2,opt,name=eth_address,json=ethAddress,proto3" json:"eth_address,omitempty"`
}

func (*QueryDelegateKeysByOrchestratorAddressResponse) Descriptor

func (*QueryDelegateKeysByOrchestratorAddressResponse) GetEthAddress

func (*QueryDelegateKeysByOrchestratorAddressResponse) GetValidatorAddress

func (m *QueryDelegateKeysByOrchestratorAddressResponse) GetValidatorAddress() string

func (*QueryDelegateKeysByOrchestratorAddressResponse) Marshal

func (m *QueryDelegateKeysByOrchestratorAddressResponse) Marshal() (dAtA []byte, err error)

func (*QueryDelegateKeysByOrchestratorAddressResponse) MarshalTo

func (*QueryDelegateKeysByOrchestratorAddressResponse) MarshalToSizedBuffer

func (m *QueryDelegateKeysByOrchestratorAddressResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryDelegateKeysByOrchestratorAddressResponse) ProtoMessage

func (*QueryDelegateKeysByOrchestratorAddressResponse) Reset

func (*QueryDelegateKeysByOrchestratorAddressResponse) Size

func (*QueryDelegateKeysByOrchestratorAddressResponse) String

func (*QueryDelegateKeysByOrchestratorAddressResponse) Unmarshal

func (*QueryDelegateKeysByOrchestratorAddressResponse) XXX_DiscardUnknown

func (m *QueryDelegateKeysByOrchestratorAddressResponse) XXX_DiscardUnknown()

func (*QueryDelegateKeysByOrchestratorAddressResponse) XXX_Marshal

func (m *QueryDelegateKeysByOrchestratorAddressResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryDelegateKeysByOrchestratorAddressResponse) XXX_Merge

func (*QueryDelegateKeysByOrchestratorAddressResponse) XXX_Size

func (*QueryDelegateKeysByOrchestratorAddressResponse) XXX_Unmarshal

type QueryDelegateKeysByValidatorAddress

type QueryDelegateKeysByValidatorAddress struct {
	ValidatorAddress string `protobuf:"bytes,1,opt,name=validator_address,json=validatorAddress,proto3" json:"validator_address,omitempty"`
}

func (*QueryDelegateKeysByValidatorAddress) Descriptor

func (*QueryDelegateKeysByValidatorAddress) Descriptor() ([]byte, []int)

func (*QueryDelegateKeysByValidatorAddress) GetValidatorAddress

func (m *QueryDelegateKeysByValidatorAddress) GetValidatorAddress() string

func (*QueryDelegateKeysByValidatorAddress) Marshal

func (m *QueryDelegateKeysByValidatorAddress) Marshal() (dAtA []byte, err error)

func (*QueryDelegateKeysByValidatorAddress) MarshalTo

func (m *QueryDelegateKeysByValidatorAddress) MarshalTo(dAtA []byte) (int, error)

func (*QueryDelegateKeysByValidatorAddress) MarshalToSizedBuffer

func (m *QueryDelegateKeysByValidatorAddress) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryDelegateKeysByValidatorAddress) ProtoMessage

func (*QueryDelegateKeysByValidatorAddress) ProtoMessage()

func (*QueryDelegateKeysByValidatorAddress) Reset

func (*QueryDelegateKeysByValidatorAddress) Size

func (*QueryDelegateKeysByValidatorAddress) String

func (*QueryDelegateKeysByValidatorAddress) Unmarshal

func (m *QueryDelegateKeysByValidatorAddress) Unmarshal(dAtA []byte) error

func (*QueryDelegateKeysByValidatorAddress) XXX_DiscardUnknown

func (m *QueryDelegateKeysByValidatorAddress) XXX_DiscardUnknown()

func (*QueryDelegateKeysByValidatorAddress) XXX_Marshal

func (m *QueryDelegateKeysByValidatorAddress) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryDelegateKeysByValidatorAddress) XXX_Merge

func (*QueryDelegateKeysByValidatorAddress) XXX_Size

func (*QueryDelegateKeysByValidatorAddress) XXX_Unmarshal

func (m *QueryDelegateKeysByValidatorAddress) XXX_Unmarshal(b []byte) error

type QueryDelegateKeysByValidatorAddressResponse

type QueryDelegateKeysByValidatorAddressResponse struct {
	EthAddress          string `protobuf:"bytes,1,opt,name=eth_address,json=ethAddress,proto3" json:"eth_address,omitempty"`
	OrchestratorAddress string `protobuf:"bytes,2,opt,name=orchestrator_address,json=orchestratorAddress,proto3" json:"orchestrator_address,omitempty"`
}

func (*QueryDelegateKeysByValidatorAddressResponse) Descriptor

func (*QueryDelegateKeysByValidatorAddressResponse) GetEthAddress

func (*QueryDelegateKeysByValidatorAddressResponse) GetOrchestratorAddress

func (m *QueryDelegateKeysByValidatorAddressResponse) GetOrchestratorAddress() string

func (*QueryDelegateKeysByValidatorAddressResponse) Marshal

func (m *QueryDelegateKeysByValidatorAddressResponse) Marshal() (dAtA []byte, err error)

func (*QueryDelegateKeysByValidatorAddressResponse) MarshalTo

func (*QueryDelegateKeysByValidatorAddressResponse) MarshalToSizedBuffer

func (m *QueryDelegateKeysByValidatorAddressResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryDelegateKeysByValidatorAddressResponse) ProtoMessage

func (*QueryDelegateKeysByValidatorAddressResponse) Reset

func (*QueryDelegateKeysByValidatorAddressResponse) Size

func (*QueryDelegateKeysByValidatorAddressResponse) String

func (*QueryDelegateKeysByValidatorAddressResponse) Unmarshal

func (*QueryDelegateKeysByValidatorAddressResponse) XXX_DiscardUnknown

func (m *QueryDelegateKeysByValidatorAddressResponse) XXX_DiscardUnknown()

func (*QueryDelegateKeysByValidatorAddressResponse) XXX_Marshal

func (m *QueryDelegateKeysByValidatorAddressResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryDelegateKeysByValidatorAddressResponse) XXX_Merge

func (*QueryDelegateKeysByValidatorAddressResponse) XXX_Size

func (*QueryDelegateKeysByValidatorAddressResponse) XXX_Unmarshal

type QueryDenomToERC20Request

type QueryDenomToERC20Request struct {
	Denom string `protobuf:"bytes,1,opt,name=denom,proto3" json:"denom,omitempty"`
}

func (*QueryDenomToERC20Request) Descriptor

func (*QueryDenomToERC20Request) Descriptor() ([]byte, []int)

func (*QueryDenomToERC20Request) GetDenom

func (m *QueryDenomToERC20Request) GetDenom() string

func (*QueryDenomToERC20Request) Marshal

func (m *QueryDenomToERC20Request) Marshal() (dAtA []byte, err error)

func (*QueryDenomToERC20Request) MarshalTo

func (m *QueryDenomToERC20Request) MarshalTo(dAtA []byte) (int, error)

func (*QueryDenomToERC20Request) MarshalToSizedBuffer

func (m *QueryDenomToERC20Request) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryDenomToERC20Request) ProtoMessage

func (*QueryDenomToERC20Request) ProtoMessage()

func (*QueryDenomToERC20Request) Reset

func (m *QueryDenomToERC20Request) Reset()

func (*QueryDenomToERC20Request) Size

func (m *QueryDenomToERC20Request) Size() (n int)

func (*QueryDenomToERC20Request) String

func (m *QueryDenomToERC20Request) String() string

func (*QueryDenomToERC20Request) Unmarshal

func (m *QueryDenomToERC20Request) Unmarshal(dAtA []byte) error

func (*QueryDenomToERC20Request) XXX_DiscardUnknown

func (m *QueryDenomToERC20Request) XXX_DiscardUnknown()

func (*QueryDenomToERC20Request) XXX_Marshal

func (m *QueryDenomToERC20Request) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryDenomToERC20Request) XXX_Merge

func (m *QueryDenomToERC20Request) XXX_Merge(src proto.Message)

func (*QueryDenomToERC20Request) XXX_Size

func (m *QueryDenomToERC20Request) XXX_Size() int

func (*QueryDenomToERC20Request) XXX_Unmarshal

func (m *QueryDenomToERC20Request) XXX_Unmarshal(b []byte) error

type QueryDenomToERC20Response

type QueryDenomToERC20Response struct {
	Erc20            string `protobuf:"bytes,1,opt,name=erc20,proto3" json:"erc20,omitempty"`
	CosmosOriginated bool   `protobuf:"varint,2,opt,name=cosmos_originated,json=cosmosOriginated,proto3" json:"cosmos_originated,omitempty"`
}

func (*QueryDenomToERC20Response) Descriptor

func (*QueryDenomToERC20Response) Descriptor() ([]byte, []int)

func (*QueryDenomToERC20Response) GetCosmosOriginated

func (m *QueryDenomToERC20Response) GetCosmosOriginated() bool

func (*QueryDenomToERC20Response) GetErc20

func (m *QueryDenomToERC20Response) GetErc20() string

func (*QueryDenomToERC20Response) Marshal

func (m *QueryDenomToERC20Response) Marshal() (dAtA []byte, err error)

func (*QueryDenomToERC20Response) MarshalTo

func (m *QueryDenomToERC20Response) MarshalTo(dAtA []byte) (int, error)

func (*QueryDenomToERC20Response) MarshalToSizedBuffer

func (m *QueryDenomToERC20Response) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryDenomToERC20Response) ProtoMessage

func (*QueryDenomToERC20Response) ProtoMessage()

func (*QueryDenomToERC20Response) Reset

func (m *QueryDenomToERC20Response) Reset()

func (*QueryDenomToERC20Response) Size

func (m *QueryDenomToERC20Response) Size() (n int)

func (*QueryDenomToERC20Response) String

func (m *QueryDenomToERC20Response) String() string

func (*QueryDenomToERC20Response) Unmarshal

func (m *QueryDenomToERC20Response) Unmarshal(dAtA []byte) error

func (*QueryDenomToERC20Response) XXX_DiscardUnknown

func (m *QueryDenomToERC20Response) XXX_DiscardUnknown()

func (*QueryDenomToERC20Response) XXX_Marshal

func (m *QueryDenomToERC20Response) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryDenomToERC20Response) XXX_Merge

func (m *QueryDenomToERC20Response) XXX_Merge(src proto.Message)

func (*QueryDenomToERC20Response) XXX_Size

func (m *QueryDenomToERC20Response) XXX_Size() int

func (*QueryDenomToERC20Response) XXX_Unmarshal

func (m *QueryDenomToERC20Response) XXX_Unmarshal(b []byte) error

type QueryERC20ToDenomRequest

type QueryERC20ToDenomRequest struct {
	Erc20 string `protobuf:"bytes,1,opt,name=erc20,proto3" json:"erc20,omitempty"`
}

func (*QueryERC20ToDenomRequest) Descriptor

func (*QueryERC20ToDenomRequest) Descriptor() ([]byte, []int)

func (*QueryERC20ToDenomRequest) GetErc20

func (m *QueryERC20ToDenomRequest) GetErc20() string

func (*QueryERC20ToDenomRequest) Marshal

func (m *QueryERC20ToDenomRequest) Marshal() (dAtA []byte, err error)

func (*QueryERC20ToDenomRequest) MarshalTo

func (m *QueryERC20ToDenomRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryERC20ToDenomRequest) MarshalToSizedBuffer

func (m *QueryERC20ToDenomRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryERC20ToDenomRequest) ProtoMessage

func (*QueryERC20ToDenomRequest) ProtoMessage()

func (*QueryERC20ToDenomRequest) Reset

func (m *QueryERC20ToDenomRequest) Reset()

func (*QueryERC20ToDenomRequest) Size

func (m *QueryERC20ToDenomRequest) Size() (n int)

func (*QueryERC20ToDenomRequest) String

func (m *QueryERC20ToDenomRequest) String() string

func (*QueryERC20ToDenomRequest) Unmarshal

func (m *QueryERC20ToDenomRequest) Unmarshal(dAtA []byte) error

func (*QueryERC20ToDenomRequest) XXX_DiscardUnknown

func (m *QueryERC20ToDenomRequest) XXX_DiscardUnknown()

func (*QueryERC20ToDenomRequest) XXX_Marshal

func (m *QueryERC20ToDenomRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryERC20ToDenomRequest) XXX_Merge

func (m *QueryERC20ToDenomRequest) XXX_Merge(src proto.Message)

func (*QueryERC20ToDenomRequest) XXX_Size

func (m *QueryERC20ToDenomRequest) XXX_Size() int

func (*QueryERC20ToDenomRequest) XXX_Unmarshal

func (m *QueryERC20ToDenomRequest) XXX_Unmarshal(b []byte) error

type QueryERC20ToDenomResponse

type QueryERC20ToDenomResponse struct {
	Denom            string `protobuf:"bytes,1,opt,name=denom,proto3" json:"denom,omitempty"`
	CosmosOriginated bool   `protobuf:"varint,2,opt,name=cosmos_originated,json=cosmosOriginated,proto3" json:"cosmos_originated,omitempty"`
}

func (*QueryERC20ToDenomResponse) Descriptor

func (*QueryERC20ToDenomResponse) Descriptor() ([]byte, []int)

func (*QueryERC20ToDenomResponse) GetCosmosOriginated

func (m *QueryERC20ToDenomResponse) GetCosmosOriginated() bool

func (*QueryERC20ToDenomResponse) GetDenom

func (m *QueryERC20ToDenomResponse) GetDenom() string

func (*QueryERC20ToDenomResponse) Marshal

func (m *QueryERC20ToDenomResponse) Marshal() (dAtA []byte, err error)

func (*QueryERC20ToDenomResponse) MarshalTo

func (m *QueryERC20ToDenomResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryERC20ToDenomResponse) MarshalToSizedBuffer

func (m *QueryERC20ToDenomResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryERC20ToDenomResponse) ProtoMessage

func (*QueryERC20ToDenomResponse) ProtoMessage()

func (*QueryERC20ToDenomResponse) Reset

func (m *QueryERC20ToDenomResponse) Reset()

func (*QueryERC20ToDenomResponse) Size

func (m *QueryERC20ToDenomResponse) Size() (n int)

func (*QueryERC20ToDenomResponse) String

func (m *QueryERC20ToDenomResponse) String() string

func (*QueryERC20ToDenomResponse) Unmarshal

func (m *QueryERC20ToDenomResponse) Unmarshal(dAtA []byte) error

func (*QueryERC20ToDenomResponse) XXX_DiscardUnknown

func (m *QueryERC20ToDenomResponse) XXX_DiscardUnknown()

func (*QueryERC20ToDenomResponse) XXX_Marshal

func (m *QueryERC20ToDenomResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryERC20ToDenomResponse) XXX_Merge

func (m *QueryERC20ToDenomResponse) XXX_Merge(src proto.Message)

func (*QueryERC20ToDenomResponse) XXX_Size

func (m *QueryERC20ToDenomResponse) XXX_Size() int

func (*QueryERC20ToDenomResponse) XXX_Unmarshal

func (m *QueryERC20ToDenomResponse) XXX_Unmarshal(b []byte) error

type QueryLastEventNonceByAddrRequest

type QueryLastEventNonceByAddrRequest struct {
	Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
}

func (*QueryLastEventNonceByAddrRequest) Descriptor

func (*QueryLastEventNonceByAddrRequest) Descriptor() ([]byte, []int)

func (*QueryLastEventNonceByAddrRequest) GetAddress

func (m *QueryLastEventNonceByAddrRequest) GetAddress() string

func (*QueryLastEventNonceByAddrRequest) Marshal

func (m *QueryLastEventNonceByAddrRequest) Marshal() (dAtA []byte, err error)

func (*QueryLastEventNonceByAddrRequest) MarshalTo

func (m *QueryLastEventNonceByAddrRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryLastEventNonceByAddrRequest) MarshalToSizedBuffer

func (m *QueryLastEventNonceByAddrRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryLastEventNonceByAddrRequest) ProtoMessage

func (*QueryLastEventNonceByAddrRequest) ProtoMessage()

func (*QueryLastEventNonceByAddrRequest) Reset

func (*QueryLastEventNonceByAddrRequest) Size

func (m *QueryLastEventNonceByAddrRequest) Size() (n int)

func (*QueryLastEventNonceByAddrRequest) String

func (*QueryLastEventNonceByAddrRequest) Unmarshal

func (m *QueryLastEventNonceByAddrRequest) Unmarshal(dAtA []byte) error

func (*QueryLastEventNonceByAddrRequest) XXX_DiscardUnknown

func (m *QueryLastEventNonceByAddrRequest) XXX_DiscardUnknown()

func (*QueryLastEventNonceByAddrRequest) XXX_Marshal

func (m *QueryLastEventNonceByAddrRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryLastEventNonceByAddrRequest) XXX_Merge

func (*QueryLastEventNonceByAddrRequest) XXX_Size

func (m *QueryLastEventNonceByAddrRequest) XXX_Size() int

func (*QueryLastEventNonceByAddrRequest) XXX_Unmarshal

func (m *QueryLastEventNonceByAddrRequest) XXX_Unmarshal(b []byte) error

type QueryLastEventNonceByAddrResponse

type QueryLastEventNonceByAddrResponse struct {
	EventNonce uint64 `protobuf:"varint,1,opt,name=event_nonce,json=eventNonce,proto3" json:"event_nonce,omitempty"`
}

func (*QueryLastEventNonceByAddrResponse) Descriptor

func (*QueryLastEventNonceByAddrResponse) Descriptor() ([]byte, []int)

func (*QueryLastEventNonceByAddrResponse) GetEventNonce

func (m *QueryLastEventNonceByAddrResponse) GetEventNonce() uint64

func (*QueryLastEventNonceByAddrResponse) Marshal

func (m *QueryLastEventNonceByAddrResponse) Marshal() (dAtA []byte, err error)

func (*QueryLastEventNonceByAddrResponse) MarshalTo

func (m *QueryLastEventNonceByAddrResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryLastEventNonceByAddrResponse) MarshalToSizedBuffer

func (m *QueryLastEventNonceByAddrResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryLastEventNonceByAddrResponse) ProtoMessage

func (*QueryLastEventNonceByAddrResponse) ProtoMessage()

func (*QueryLastEventNonceByAddrResponse) Reset

func (*QueryLastEventNonceByAddrResponse) Size

func (m *QueryLastEventNonceByAddrResponse) Size() (n int)

func (*QueryLastEventNonceByAddrResponse) String

func (*QueryLastEventNonceByAddrResponse) Unmarshal

func (m *QueryLastEventNonceByAddrResponse) Unmarshal(dAtA []byte) error

func (*QueryLastEventNonceByAddrResponse) XXX_DiscardUnknown

func (m *QueryLastEventNonceByAddrResponse) XXX_DiscardUnknown()

func (*QueryLastEventNonceByAddrResponse) XXX_Marshal

func (m *QueryLastEventNonceByAddrResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryLastEventNonceByAddrResponse) XXX_Merge

func (*QueryLastEventNonceByAddrResponse) XXX_Size

func (m *QueryLastEventNonceByAddrResponse) XXX_Size() int

func (*QueryLastEventNonceByAddrResponse) XXX_Unmarshal

func (m *QueryLastEventNonceByAddrResponse) XXX_Unmarshal(b []byte) error

type QueryLastObservedEthBlockRequest

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 2. Consensus mirroring the state on Ethereum

func (*QueryLastObservedEthBlockRequest) Descriptor

func (*QueryLastObservedEthBlockRequest) Descriptor() ([]byte, []int)

func (*QueryLastObservedEthBlockRequest) GetUseV1Key

func (m *QueryLastObservedEthBlockRequest) GetUseV1Key() bool

func (*QueryLastObservedEthBlockRequest) Marshal

func (m *QueryLastObservedEthBlockRequest) Marshal() (dAtA []byte, err error)

func (*QueryLastObservedEthBlockRequest) MarshalTo

func (m *QueryLastObservedEthBlockRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryLastObservedEthBlockRequest) MarshalToSizedBuffer

func (m *QueryLastObservedEthBlockRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryLastObservedEthBlockRequest) ProtoMessage

func (*QueryLastObservedEthBlockRequest) ProtoMessage()

func (*QueryLastObservedEthBlockRequest) Reset

func (*QueryLastObservedEthBlockRequest) Size

func (m *QueryLastObservedEthBlockRequest) Size() (n int)

func (*QueryLastObservedEthBlockRequest) String

func (*QueryLastObservedEthBlockRequest) Unmarshal

func (m *QueryLastObservedEthBlockRequest) Unmarshal(dAtA []byte) error

func (*QueryLastObservedEthBlockRequest) XXX_DiscardUnknown

func (m *QueryLastObservedEthBlockRequest) XXX_DiscardUnknown()

func (*QueryLastObservedEthBlockRequest) XXX_Marshal

func (m *QueryLastObservedEthBlockRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryLastObservedEthBlockRequest) XXX_Merge

func (*QueryLastObservedEthBlockRequest) XXX_Size

func (m *QueryLastObservedEthBlockRequest) XXX_Size() int

func (*QueryLastObservedEthBlockRequest) XXX_Unmarshal

func (m *QueryLastObservedEthBlockRequest) XXX_Unmarshal(b []byte) error

type QueryLastObservedEthBlockResponse

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

func (*QueryLastObservedEthBlockResponse) Descriptor() ([]byte, []int)

func (*QueryLastObservedEthBlockResponse) GetBlock

func (*QueryLastObservedEthBlockResponse) Marshal

func (m *QueryLastObservedEthBlockResponse) Marshal() (dAtA []byte, err error)

func (*QueryLastObservedEthBlockResponse) MarshalTo

func (m *QueryLastObservedEthBlockResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryLastObservedEthBlockResponse) MarshalToSizedBuffer

func (m *QueryLastObservedEthBlockResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryLastObservedEthBlockResponse) ProtoMessage

func (*QueryLastObservedEthBlockResponse) ProtoMessage()

func (*QueryLastObservedEthBlockResponse) Reset

func (*QueryLastObservedEthBlockResponse) Size

func (m *QueryLastObservedEthBlockResponse) Size() (n int)

func (*QueryLastObservedEthBlockResponse) String

func (*QueryLastObservedEthBlockResponse) Unmarshal

func (m *QueryLastObservedEthBlockResponse) Unmarshal(dAtA []byte) error

func (*QueryLastObservedEthBlockResponse) XXX_DiscardUnknown

func (m *QueryLastObservedEthBlockResponse) XXX_DiscardUnknown()

func (*QueryLastObservedEthBlockResponse) XXX_Marshal

func (m *QueryLastObservedEthBlockResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryLastObservedEthBlockResponse) XXX_Merge

func (*QueryLastObservedEthBlockResponse) XXX_Size

func (m *QueryLastObservedEthBlockResponse) XXX_Size() int

func (*QueryLastObservedEthBlockResponse) XXX_Unmarshal

func (m *QueryLastObservedEthBlockResponse) XXX_Unmarshal(b []byte) error

type QueryLastObservedEthNonceRequest

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

func (*QueryLastObservedEthNonceRequest) Descriptor() ([]byte, []int)

func (*QueryLastObservedEthNonceRequest) GetUseV1Key

func (m *QueryLastObservedEthNonceRequest) GetUseV1Key() bool

func (*QueryLastObservedEthNonceRequest) Marshal

func (m *QueryLastObservedEthNonceRequest) Marshal() (dAtA []byte, err error)

func (*QueryLastObservedEthNonceRequest) MarshalTo

func (m *QueryLastObservedEthNonceRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryLastObservedEthNonceRequest) MarshalToSizedBuffer

func (m *QueryLastObservedEthNonceRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryLastObservedEthNonceRequest) ProtoMessage

func (*QueryLastObservedEthNonceRequest) ProtoMessage()

func (*QueryLastObservedEthNonceRequest) Reset

func (*QueryLastObservedEthNonceRequest) Size

func (m *QueryLastObservedEthNonceRequest) Size() (n int)

func (*QueryLastObservedEthNonceRequest) String

func (*QueryLastObservedEthNonceRequest) Unmarshal

func (m *QueryLastObservedEthNonceRequest) Unmarshal(dAtA []byte) error

func (*QueryLastObservedEthNonceRequest) XXX_DiscardUnknown

func (m *QueryLastObservedEthNonceRequest) XXX_DiscardUnknown()

func (*QueryLastObservedEthNonceRequest) XXX_Marshal

func (m *QueryLastObservedEthNonceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryLastObservedEthNonceRequest) XXX_Merge

func (*QueryLastObservedEthNonceRequest) XXX_Size

func (m *QueryLastObservedEthNonceRequest) XXX_Size() int

func (*QueryLastObservedEthNonceRequest) XXX_Unmarshal

func (m *QueryLastObservedEthNonceRequest) XXX_Unmarshal(b []byte) error

type QueryLastObservedEthNonceResponse

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

func (*QueryLastObservedEthNonceResponse) Descriptor() ([]byte, []int)

func (*QueryLastObservedEthNonceResponse) GetNonce

func (*QueryLastObservedEthNonceResponse) Marshal

func (m *QueryLastObservedEthNonceResponse) Marshal() (dAtA []byte, err error)

func (*QueryLastObservedEthNonceResponse) MarshalTo

func (m *QueryLastObservedEthNonceResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryLastObservedEthNonceResponse) MarshalToSizedBuffer

func (m *QueryLastObservedEthNonceResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryLastObservedEthNonceResponse) ProtoMessage

func (*QueryLastObservedEthNonceResponse) ProtoMessage()

func (*QueryLastObservedEthNonceResponse) Reset

func (*QueryLastObservedEthNonceResponse) Size

func (m *QueryLastObservedEthNonceResponse) Size() (n int)

func (*QueryLastObservedEthNonceResponse) String

func (*QueryLastObservedEthNonceResponse) Unmarshal

func (m *QueryLastObservedEthNonceResponse) Unmarshal(dAtA []byte) error

func (*QueryLastObservedEthNonceResponse) XXX_DiscardUnknown

func (m *QueryLastObservedEthNonceResponse) XXX_DiscardUnknown()

func (*QueryLastObservedEthNonceResponse) XXX_Marshal

func (m *QueryLastObservedEthNonceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryLastObservedEthNonceResponse) XXX_Merge

func (*QueryLastObservedEthNonceResponse) XXX_Size

func (m *QueryLastObservedEthNonceResponse) XXX_Size() int

func (*QueryLastObservedEthNonceResponse) XXX_Unmarshal

func (m *QueryLastObservedEthNonceResponse) XXX_Unmarshal(b []byte) error

type QueryLastPendingBatchRequestByAddrRequest

type QueryLastPendingBatchRequestByAddrRequest struct {
	Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
}

func (*QueryLastPendingBatchRequestByAddrRequest) Descriptor

func (*QueryLastPendingBatchRequestByAddrRequest) Descriptor() ([]byte, []int)

func (*QueryLastPendingBatchRequestByAddrRequest) GetAddress

func (*QueryLastPendingBatchRequestByAddrRequest) Marshal

func (m *QueryLastPendingBatchRequestByAddrRequest) Marshal() (dAtA []byte, err error)

func (*QueryLastPendingBatchRequestByAddrRequest) MarshalTo

func (m *QueryLastPendingBatchRequestByAddrRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryLastPendingBatchRequestByAddrRequest) MarshalToSizedBuffer

func (m *QueryLastPendingBatchRequestByAddrRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryLastPendingBatchRequestByAddrRequest) ProtoMessage

func (*QueryLastPendingBatchRequestByAddrRequest) Reset

func (*QueryLastPendingBatchRequestByAddrRequest) Size

func (*QueryLastPendingBatchRequestByAddrRequest) String

func (*QueryLastPendingBatchRequestByAddrRequest) Unmarshal

func (*QueryLastPendingBatchRequestByAddrRequest) XXX_DiscardUnknown

func (m *QueryLastPendingBatchRequestByAddrRequest) XXX_DiscardUnknown()

func (*QueryLastPendingBatchRequestByAddrRequest) XXX_Marshal

func (m *QueryLastPendingBatchRequestByAddrRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryLastPendingBatchRequestByAddrRequest) XXX_Merge

func (*QueryLastPendingBatchRequestByAddrRequest) XXX_Size

func (*QueryLastPendingBatchRequestByAddrRequest) XXX_Unmarshal

type QueryLastPendingBatchRequestByAddrResponse

type QueryLastPendingBatchRequestByAddrResponse struct {
	Batch []OutgoingTxBatch `protobuf:"bytes,1,rep,name=batch,proto3" json:"batch"`
}

func (*QueryLastPendingBatchRequestByAddrResponse) Descriptor

func (*QueryLastPendingBatchRequestByAddrResponse) GetBatch

func (*QueryLastPendingBatchRequestByAddrResponse) Marshal

func (m *QueryLastPendingBatchRequestByAddrResponse) Marshal() (dAtA []byte, err error)

func (*QueryLastPendingBatchRequestByAddrResponse) MarshalTo

func (m *QueryLastPendingBatchRequestByAddrResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryLastPendingBatchRequestByAddrResponse) MarshalToSizedBuffer

func (m *QueryLastPendingBatchRequestByAddrResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryLastPendingBatchRequestByAddrResponse) ProtoMessage

func (*QueryLastPendingBatchRequestByAddrResponse) Reset

func (*QueryLastPendingBatchRequestByAddrResponse) Size

func (*QueryLastPendingBatchRequestByAddrResponse) String

func (*QueryLastPendingBatchRequestByAddrResponse) Unmarshal

func (*QueryLastPendingBatchRequestByAddrResponse) XXX_DiscardUnknown

func (m *QueryLastPendingBatchRequestByAddrResponse) XXX_DiscardUnknown()

func (*QueryLastPendingBatchRequestByAddrResponse) XXX_Marshal

func (m *QueryLastPendingBatchRequestByAddrResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryLastPendingBatchRequestByAddrResponse) XXX_Merge

func (*QueryLastPendingBatchRequestByAddrResponse) XXX_Size

func (*QueryLastPendingBatchRequestByAddrResponse) XXX_Unmarshal

type QueryLastPendingLogicCallByAddrRequest

type QueryLastPendingLogicCallByAddrRequest struct {
	Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
}

func (*QueryLastPendingLogicCallByAddrRequest) Descriptor

func (*QueryLastPendingLogicCallByAddrRequest) Descriptor() ([]byte, []int)

func (*QueryLastPendingLogicCallByAddrRequest) GetAddress

func (*QueryLastPendingLogicCallByAddrRequest) Marshal

func (m *QueryLastPendingLogicCallByAddrRequest) Marshal() (dAtA []byte, err error)

func (*QueryLastPendingLogicCallByAddrRequest) MarshalTo

func (m *QueryLastPendingLogicCallByAddrRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryLastPendingLogicCallByAddrRequest) MarshalToSizedBuffer

func (m *QueryLastPendingLogicCallByAddrRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryLastPendingLogicCallByAddrRequest) ProtoMessage

func (*QueryLastPendingLogicCallByAddrRequest) Reset

func (*QueryLastPendingLogicCallByAddrRequest) Size

func (*QueryLastPendingLogicCallByAddrRequest) String

func (*QueryLastPendingLogicCallByAddrRequest) Unmarshal

func (m *QueryLastPendingLogicCallByAddrRequest) Unmarshal(dAtA []byte) error

func (*QueryLastPendingLogicCallByAddrRequest) XXX_DiscardUnknown

func (m *QueryLastPendingLogicCallByAddrRequest) XXX_DiscardUnknown()

func (*QueryLastPendingLogicCallByAddrRequest) XXX_Marshal

func (m *QueryLastPendingLogicCallByAddrRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryLastPendingLogicCallByAddrRequest) XXX_Merge

func (*QueryLastPendingLogicCallByAddrRequest) XXX_Size

func (*QueryLastPendingLogicCallByAddrRequest) XXX_Unmarshal

func (m *QueryLastPendingLogicCallByAddrRequest) XXX_Unmarshal(b []byte) error

type QueryLastPendingLogicCallByAddrResponse

type QueryLastPendingLogicCallByAddrResponse struct {
	Call []OutgoingLogicCall `protobuf:"bytes,1,rep,name=call,proto3" json:"call"`
}

func (*QueryLastPendingLogicCallByAddrResponse) Descriptor

func (*QueryLastPendingLogicCallByAddrResponse) Descriptor() ([]byte, []int)

func (*QueryLastPendingLogicCallByAddrResponse) GetCall

func (*QueryLastPendingLogicCallByAddrResponse) Marshal

func (m *QueryLastPendingLogicCallByAddrResponse) Marshal() (dAtA []byte, err error)

func (*QueryLastPendingLogicCallByAddrResponse) MarshalTo

func (m *QueryLastPendingLogicCallByAddrResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryLastPendingLogicCallByAddrResponse) MarshalToSizedBuffer

func (m *QueryLastPendingLogicCallByAddrResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryLastPendingLogicCallByAddrResponse) ProtoMessage

func (*QueryLastPendingLogicCallByAddrResponse) Reset

func (*QueryLastPendingLogicCallByAddrResponse) Size

func (*QueryLastPendingLogicCallByAddrResponse) String

func (*QueryLastPendingLogicCallByAddrResponse) Unmarshal

func (m *QueryLastPendingLogicCallByAddrResponse) Unmarshal(dAtA []byte) error

func (*QueryLastPendingLogicCallByAddrResponse) XXX_DiscardUnknown

func (m *QueryLastPendingLogicCallByAddrResponse) XXX_DiscardUnknown()

func (*QueryLastPendingLogicCallByAddrResponse) XXX_Marshal

func (m *QueryLastPendingLogicCallByAddrResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryLastPendingLogicCallByAddrResponse) XXX_Merge

func (*QueryLastPendingLogicCallByAddrResponse) XXX_Size

func (*QueryLastPendingLogicCallByAddrResponse) XXX_Unmarshal

func (m *QueryLastPendingLogicCallByAddrResponse) XXX_Unmarshal(b []byte) error

type QueryLastPendingValsetRequestByAddrRequest

type QueryLastPendingValsetRequestByAddrRequest struct {
	Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
}

func (*QueryLastPendingValsetRequestByAddrRequest) Descriptor

func (*QueryLastPendingValsetRequestByAddrRequest) GetAddress

func (*QueryLastPendingValsetRequestByAddrRequest) Marshal

func (m *QueryLastPendingValsetRequestByAddrRequest) Marshal() (dAtA []byte, err error)

func (*QueryLastPendingValsetRequestByAddrRequest) MarshalTo

func (m *QueryLastPendingValsetRequestByAddrRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryLastPendingValsetRequestByAddrRequest) MarshalToSizedBuffer

func (m *QueryLastPendingValsetRequestByAddrRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryLastPendingValsetRequestByAddrRequest) ProtoMessage

func (*QueryLastPendingValsetRequestByAddrRequest) Reset

func (*QueryLastPendingValsetRequestByAddrRequest) Size

func (*QueryLastPendingValsetRequestByAddrRequest) String

func (*QueryLastPendingValsetRequestByAddrRequest) Unmarshal

func (*QueryLastPendingValsetRequestByAddrRequest) XXX_DiscardUnknown

func (m *QueryLastPendingValsetRequestByAddrRequest) XXX_DiscardUnknown()

func (*QueryLastPendingValsetRequestByAddrRequest) XXX_Marshal

func (m *QueryLastPendingValsetRequestByAddrRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryLastPendingValsetRequestByAddrRequest) XXX_Merge

func (*QueryLastPendingValsetRequestByAddrRequest) XXX_Size

func (*QueryLastPendingValsetRequestByAddrRequest) XXX_Unmarshal

type QueryLastPendingValsetRequestByAddrResponse

type QueryLastPendingValsetRequestByAddrResponse struct {
	Valsets []Valset `protobuf:"bytes,1,rep,name=valsets,proto3" json:"valsets"`
}

func (*QueryLastPendingValsetRequestByAddrResponse) Descriptor

func (*QueryLastPendingValsetRequestByAddrResponse) GetValsets

func (*QueryLastPendingValsetRequestByAddrResponse) Marshal

func (m *QueryLastPendingValsetRequestByAddrResponse) Marshal() (dAtA []byte, err error)

func (*QueryLastPendingValsetRequestByAddrResponse) MarshalTo

func (*QueryLastPendingValsetRequestByAddrResponse) MarshalToSizedBuffer

func (m *QueryLastPendingValsetRequestByAddrResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryLastPendingValsetRequestByAddrResponse) ProtoMessage

func (*QueryLastPendingValsetRequestByAddrResponse) Reset

func (*QueryLastPendingValsetRequestByAddrResponse) Size

func (*QueryLastPendingValsetRequestByAddrResponse) String

func (*QueryLastPendingValsetRequestByAddrResponse) Unmarshal

func (*QueryLastPendingValsetRequestByAddrResponse) XXX_DiscardUnknown

func (m *QueryLastPendingValsetRequestByAddrResponse) XXX_DiscardUnknown()

func (*QueryLastPendingValsetRequestByAddrResponse) XXX_Marshal

func (m *QueryLastPendingValsetRequestByAddrResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryLastPendingValsetRequestByAddrResponse) XXX_Merge

func (*QueryLastPendingValsetRequestByAddrResponse) XXX_Size

func (*QueryLastPendingValsetRequestByAddrResponse) XXX_Unmarshal

type QueryLastValsetRequestsRequest

type QueryLastValsetRequestsRequest struct {
}

func (*QueryLastValsetRequestsRequest) Descriptor

func (*QueryLastValsetRequestsRequest) Descriptor() ([]byte, []int)

func (*QueryLastValsetRequestsRequest) Marshal

func (m *QueryLastValsetRequestsRequest) Marshal() (dAtA []byte, err error)

func (*QueryLastValsetRequestsRequest) MarshalTo

func (m *QueryLastValsetRequestsRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryLastValsetRequestsRequest) MarshalToSizedBuffer

func (m *QueryLastValsetRequestsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryLastValsetRequestsRequest) ProtoMessage

func (*QueryLastValsetRequestsRequest) ProtoMessage()

func (*QueryLastValsetRequestsRequest) Reset

func (m *QueryLastValsetRequestsRequest) Reset()

func (*QueryLastValsetRequestsRequest) Size

func (m *QueryLastValsetRequestsRequest) Size() (n int)

func (*QueryLastValsetRequestsRequest) String

func (*QueryLastValsetRequestsRequest) Unmarshal

func (m *QueryLastValsetRequestsRequest) Unmarshal(dAtA []byte) error

func (*QueryLastValsetRequestsRequest) XXX_DiscardUnknown

func (m *QueryLastValsetRequestsRequest) XXX_DiscardUnknown()

func (*QueryLastValsetRequestsRequest) XXX_Marshal

func (m *QueryLastValsetRequestsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryLastValsetRequestsRequest) XXX_Merge

func (m *QueryLastValsetRequestsRequest) XXX_Merge(src proto.Message)

func (*QueryLastValsetRequestsRequest) XXX_Size

func (m *QueryLastValsetRequestsRequest) XXX_Size() int

func (*QueryLastValsetRequestsRequest) XXX_Unmarshal

func (m *QueryLastValsetRequestsRequest) XXX_Unmarshal(b []byte) error

type QueryLastValsetRequestsResponse

type QueryLastValsetRequestsResponse struct {
	Valsets []Valset `protobuf:"bytes,1,rep,name=valsets,proto3" json:"valsets"`
}

func (*QueryLastValsetRequestsResponse) Descriptor

func (*QueryLastValsetRequestsResponse) Descriptor() ([]byte, []int)

func (*QueryLastValsetRequestsResponse) GetValsets

func (m *QueryLastValsetRequestsResponse) GetValsets() []Valset

func (*QueryLastValsetRequestsResponse) Marshal

func (m *QueryLastValsetRequestsResponse) Marshal() (dAtA []byte, err error)

func (*QueryLastValsetRequestsResponse) MarshalTo

func (m *QueryLastValsetRequestsResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryLastValsetRequestsResponse) MarshalToSizedBuffer

func (m *QueryLastValsetRequestsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryLastValsetRequestsResponse) ProtoMessage

func (*QueryLastValsetRequestsResponse) ProtoMessage()

func (*QueryLastValsetRequestsResponse) Reset

func (*QueryLastValsetRequestsResponse) Size

func (m *QueryLastValsetRequestsResponse) Size() (n int)

func (*QueryLastValsetRequestsResponse) String

func (*QueryLastValsetRequestsResponse) Unmarshal

func (m *QueryLastValsetRequestsResponse) Unmarshal(dAtA []byte) error

func (*QueryLastValsetRequestsResponse) XXX_DiscardUnknown

func (m *QueryLastValsetRequestsResponse) XXX_DiscardUnknown()

func (*QueryLastValsetRequestsResponse) XXX_Marshal

func (m *QueryLastValsetRequestsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryLastValsetRequestsResponse) XXX_Merge

func (m *QueryLastValsetRequestsResponse) XXX_Merge(src proto.Message)

func (*QueryLastValsetRequestsResponse) XXX_Size

func (m *QueryLastValsetRequestsResponse) XXX_Size() int

func (*QueryLastValsetRequestsResponse) XXX_Unmarshal

func (m *QueryLastValsetRequestsResponse) XXX_Unmarshal(b []byte) error

type QueryLogicConfirmsRequest

type QueryLogicConfirmsRequest struct {
	InvalidationId    []byte `protobuf:"bytes,1,opt,name=invalidation_id,json=invalidationId,proto3" json:"invalidation_id,omitempty"`
	InvalidationNonce uint64 `protobuf:"varint,2,opt,name=invalidation_nonce,json=invalidationNonce,proto3" json:"invalidation_nonce,omitempty"`
}

func (*QueryLogicConfirmsRequest) Descriptor

func (*QueryLogicConfirmsRequest) Descriptor() ([]byte, []int)

func (*QueryLogicConfirmsRequest) GetInvalidationId

func (m *QueryLogicConfirmsRequest) GetInvalidationId() []byte

func (*QueryLogicConfirmsRequest) GetInvalidationNonce

func (m *QueryLogicConfirmsRequest) GetInvalidationNonce() uint64

func (*QueryLogicConfirmsRequest) Marshal

func (m *QueryLogicConfirmsRequest) Marshal() (dAtA []byte, err error)

func (*QueryLogicConfirmsRequest) MarshalTo

func (m *QueryLogicConfirmsRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryLogicConfirmsRequest) MarshalToSizedBuffer

func (m *QueryLogicConfirmsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryLogicConfirmsRequest) ProtoMessage

func (*QueryLogicConfirmsRequest) ProtoMessage()

func (*QueryLogicConfirmsRequest) Reset

func (m *QueryLogicConfirmsRequest) Reset()

func (*QueryLogicConfirmsRequest) Size

func (m *QueryLogicConfirmsRequest) Size() (n int)

func (*QueryLogicConfirmsRequest) String

func (m *QueryLogicConfirmsRequest) String() string

func (*QueryLogicConfirmsRequest) Unmarshal

func (m *QueryLogicConfirmsRequest) Unmarshal(dAtA []byte) error

func (*QueryLogicConfirmsRequest) XXX_DiscardUnknown

func (m *QueryLogicConfirmsRequest) XXX_DiscardUnknown()

func (*QueryLogicConfirmsRequest) XXX_Marshal

func (m *QueryLogicConfirmsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryLogicConfirmsRequest) XXX_Merge

func (m *QueryLogicConfirmsRequest) XXX_Merge(src proto.Message)

func (*QueryLogicConfirmsRequest) XXX_Size

func (m *QueryLogicConfirmsRequest) XXX_Size() int

func (*QueryLogicConfirmsRequest) XXX_Unmarshal

func (m *QueryLogicConfirmsRequest) XXX_Unmarshal(b []byte) error

type QueryLogicConfirmsResponse

type QueryLogicConfirmsResponse struct {
	Confirms []MsgConfirmLogicCall `protobuf:"bytes,1,rep,name=confirms,proto3" json:"confirms"`
}

func (*QueryLogicConfirmsResponse) Descriptor

func (*QueryLogicConfirmsResponse) Descriptor() ([]byte, []int)

func (*QueryLogicConfirmsResponse) GetConfirms

func (*QueryLogicConfirmsResponse) Marshal

func (m *QueryLogicConfirmsResponse) Marshal() (dAtA []byte, err error)

func (*QueryLogicConfirmsResponse) MarshalTo

func (m *QueryLogicConfirmsResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryLogicConfirmsResponse) MarshalToSizedBuffer

func (m *QueryLogicConfirmsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryLogicConfirmsResponse) ProtoMessage

func (*QueryLogicConfirmsResponse) ProtoMessage()

func (*QueryLogicConfirmsResponse) Reset

func (m *QueryLogicConfirmsResponse) Reset()

func (*QueryLogicConfirmsResponse) Size

func (m *QueryLogicConfirmsResponse) Size() (n int)

func (*QueryLogicConfirmsResponse) String

func (m *QueryLogicConfirmsResponse) String() string

func (*QueryLogicConfirmsResponse) Unmarshal

func (m *QueryLogicConfirmsResponse) Unmarshal(dAtA []byte) error

func (*QueryLogicConfirmsResponse) XXX_DiscardUnknown

func (m *QueryLogicConfirmsResponse) XXX_DiscardUnknown()

func (*QueryLogicConfirmsResponse) XXX_Marshal

func (m *QueryLogicConfirmsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryLogicConfirmsResponse) XXX_Merge

func (m *QueryLogicConfirmsResponse) XXX_Merge(src proto.Message)

func (*QueryLogicConfirmsResponse) XXX_Size

func (m *QueryLogicConfirmsResponse) XXX_Size() int

func (*QueryLogicConfirmsResponse) XXX_Unmarshal

func (m *QueryLogicConfirmsResponse) XXX_Unmarshal(b []byte) error

type QueryOutgoingLogicCallsRequest

type QueryOutgoingLogicCallsRequest struct {
}

func (*QueryOutgoingLogicCallsRequest) Descriptor

func (*QueryOutgoingLogicCallsRequest) Descriptor() ([]byte, []int)

func (*QueryOutgoingLogicCallsRequest) Marshal

func (m *QueryOutgoingLogicCallsRequest) Marshal() (dAtA []byte, err error)

func (*QueryOutgoingLogicCallsRequest) MarshalTo

func (m *QueryOutgoingLogicCallsRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryOutgoingLogicCallsRequest) MarshalToSizedBuffer

func (m *QueryOutgoingLogicCallsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryOutgoingLogicCallsRequest) ProtoMessage

func (*QueryOutgoingLogicCallsRequest) ProtoMessage()

func (*QueryOutgoingLogicCallsRequest) Reset

func (m *QueryOutgoingLogicCallsRequest) Reset()

func (*QueryOutgoingLogicCallsRequest) Size

func (m *QueryOutgoingLogicCallsRequest) Size() (n int)

func (*QueryOutgoingLogicCallsRequest) String

func (*QueryOutgoingLogicCallsRequest) Unmarshal

func (m *QueryOutgoingLogicCallsRequest) Unmarshal(dAtA []byte) error

func (*QueryOutgoingLogicCallsRequest) XXX_DiscardUnknown

func (m *QueryOutgoingLogicCallsRequest) XXX_DiscardUnknown()

func (*QueryOutgoingLogicCallsRequest) XXX_Marshal

func (m *QueryOutgoingLogicCallsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryOutgoingLogicCallsRequest) XXX_Merge

func (m *QueryOutgoingLogicCallsRequest) XXX_Merge(src proto.Message)

func (*QueryOutgoingLogicCallsRequest) XXX_Size

func (m *QueryOutgoingLogicCallsRequest) XXX_Size() int

func (*QueryOutgoingLogicCallsRequest) XXX_Unmarshal

func (m *QueryOutgoingLogicCallsRequest) XXX_Unmarshal(b []byte) error

type QueryOutgoingLogicCallsResponse

type QueryOutgoingLogicCallsResponse struct {
	Calls []OutgoingLogicCall `protobuf:"bytes,1,rep,name=calls,proto3" json:"calls"`
}

func (*QueryOutgoingLogicCallsResponse) Descriptor

func (*QueryOutgoingLogicCallsResponse) Descriptor() ([]byte, []int)

func (*QueryOutgoingLogicCallsResponse) GetCalls

func (*QueryOutgoingLogicCallsResponse) Marshal

func (m *QueryOutgoingLogicCallsResponse) Marshal() (dAtA []byte, err error)

func (*QueryOutgoingLogicCallsResponse) MarshalTo

func (m *QueryOutgoingLogicCallsResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryOutgoingLogicCallsResponse) MarshalToSizedBuffer

func (m *QueryOutgoingLogicCallsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryOutgoingLogicCallsResponse) ProtoMessage

func (*QueryOutgoingLogicCallsResponse) ProtoMessage()

func (*QueryOutgoingLogicCallsResponse) Reset

func (*QueryOutgoingLogicCallsResponse) Size

func (m *QueryOutgoingLogicCallsResponse) Size() (n int)

func (*QueryOutgoingLogicCallsResponse) String

func (*QueryOutgoingLogicCallsResponse) Unmarshal

func (m *QueryOutgoingLogicCallsResponse) Unmarshal(dAtA []byte) error

func (*QueryOutgoingLogicCallsResponse) XXX_DiscardUnknown

func (m *QueryOutgoingLogicCallsResponse) XXX_DiscardUnknown()

func (*QueryOutgoingLogicCallsResponse) XXX_Marshal

func (m *QueryOutgoingLogicCallsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryOutgoingLogicCallsResponse) XXX_Merge

func (m *QueryOutgoingLogicCallsResponse) XXX_Merge(src proto.Message)

func (*QueryOutgoingLogicCallsResponse) XXX_Size

func (m *QueryOutgoingLogicCallsResponse) XXX_Size() int

func (*QueryOutgoingLogicCallsResponse) XXX_Unmarshal

func (m *QueryOutgoingLogicCallsResponse) XXX_Unmarshal(b []byte) error

type QueryOutgoingTxBatchesRequest

type QueryOutgoingTxBatchesRequest struct {
}

func (*QueryOutgoingTxBatchesRequest) Descriptor

func (*QueryOutgoingTxBatchesRequest) Descriptor() ([]byte, []int)

func (*QueryOutgoingTxBatchesRequest) Marshal

func (m *QueryOutgoingTxBatchesRequest) Marshal() (dAtA []byte, err error)

func (*QueryOutgoingTxBatchesRequest) MarshalTo

func (m *QueryOutgoingTxBatchesRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryOutgoingTxBatchesRequest) MarshalToSizedBuffer

func (m *QueryOutgoingTxBatchesRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryOutgoingTxBatchesRequest) ProtoMessage

func (*QueryOutgoingTxBatchesRequest) ProtoMessage()

func (*QueryOutgoingTxBatchesRequest) Reset

func (m *QueryOutgoingTxBatchesRequest) Reset()

func (*QueryOutgoingTxBatchesRequest) Size

func (m *QueryOutgoingTxBatchesRequest) Size() (n int)

func (*QueryOutgoingTxBatchesRequest) String

func (*QueryOutgoingTxBatchesRequest) Unmarshal

func (m *QueryOutgoingTxBatchesRequest) Unmarshal(dAtA []byte) error

func (*QueryOutgoingTxBatchesRequest) XXX_DiscardUnknown

func (m *QueryOutgoingTxBatchesRequest) XXX_DiscardUnknown()

func (*QueryOutgoingTxBatchesRequest) XXX_Marshal

func (m *QueryOutgoingTxBatchesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryOutgoingTxBatchesRequest) XXX_Merge

func (m *QueryOutgoingTxBatchesRequest) XXX_Merge(src proto.Message)

func (*QueryOutgoingTxBatchesRequest) XXX_Size

func (m *QueryOutgoingTxBatchesRequest) XXX_Size() int

func (*QueryOutgoingTxBatchesRequest) XXX_Unmarshal

func (m *QueryOutgoingTxBatchesRequest) XXX_Unmarshal(b []byte) error

type QueryOutgoingTxBatchesResponse

type QueryOutgoingTxBatchesResponse struct {
	Batches []OutgoingTxBatch `protobuf:"bytes,1,rep,name=batches,proto3" json:"batches"`
}

func (*QueryOutgoingTxBatchesResponse) Descriptor

func (*QueryOutgoingTxBatchesResponse) Descriptor() ([]byte, []int)

func (*QueryOutgoingTxBatchesResponse) GetBatches

func (*QueryOutgoingTxBatchesResponse) Marshal

func (m *QueryOutgoingTxBatchesResponse) Marshal() (dAtA []byte, err error)

func (*QueryOutgoingTxBatchesResponse) MarshalTo

func (m *QueryOutgoingTxBatchesResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryOutgoingTxBatchesResponse) MarshalToSizedBuffer

func (m *QueryOutgoingTxBatchesResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryOutgoingTxBatchesResponse) ProtoMessage

func (*QueryOutgoingTxBatchesResponse) ProtoMessage()

func (*QueryOutgoingTxBatchesResponse) Reset

func (m *QueryOutgoingTxBatchesResponse) Reset()

func (*QueryOutgoingTxBatchesResponse) Size

func (m *QueryOutgoingTxBatchesResponse) Size() (n int)

func (*QueryOutgoingTxBatchesResponse) String

func (*QueryOutgoingTxBatchesResponse) Unmarshal

func (m *QueryOutgoingTxBatchesResponse) Unmarshal(dAtA []byte) error

func (*QueryOutgoingTxBatchesResponse) XXX_DiscardUnknown

func (m *QueryOutgoingTxBatchesResponse) XXX_DiscardUnknown()

func (*QueryOutgoingTxBatchesResponse) XXX_Marshal

func (m *QueryOutgoingTxBatchesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryOutgoingTxBatchesResponse) XXX_Merge

func (m *QueryOutgoingTxBatchesResponse) XXX_Merge(src proto.Message)

func (*QueryOutgoingTxBatchesResponse) XXX_Size

func (m *QueryOutgoingTxBatchesResponse) XXX_Size() int

func (*QueryOutgoingTxBatchesResponse) XXX_Unmarshal

func (m *QueryOutgoingTxBatchesResponse) XXX_Unmarshal(b []byte) error

type QueryParamsRequest

type QueryParamsRequest struct {
}

func (*QueryParamsRequest) Descriptor

func (*QueryParamsRequest) Descriptor() ([]byte, []int)

func (*QueryParamsRequest) Marshal

func (m *QueryParamsRequest) Marshal() (dAtA []byte, err error)

func (*QueryParamsRequest) MarshalTo

func (m *QueryParamsRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryParamsRequest) MarshalToSizedBuffer

func (m *QueryParamsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryParamsRequest) ProtoMessage

func (*QueryParamsRequest) ProtoMessage()

func (*QueryParamsRequest) Reset

func (m *QueryParamsRequest) Reset()

func (*QueryParamsRequest) Size

func (m *QueryParamsRequest) Size() (n int)

func (*QueryParamsRequest) String

func (m *QueryParamsRequest) String() string

func (*QueryParamsRequest) Unmarshal

func (m *QueryParamsRequest) Unmarshal(dAtA []byte) error

func (*QueryParamsRequest) XXX_DiscardUnknown

func (m *QueryParamsRequest) XXX_DiscardUnknown()

func (*QueryParamsRequest) XXX_Marshal

func (m *QueryParamsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryParamsRequest) XXX_Merge

func (m *QueryParamsRequest) XXX_Merge(src proto.Message)

func (*QueryParamsRequest) XXX_Size

func (m *QueryParamsRequest) XXX_Size() int

func (*QueryParamsRequest) XXX_Unmarshal

func (m *QueryParamsRequest) XXX_Unmarshal(b []byte) error

type QueryParamsResponse

type QueryParamsResponse struct {
	Params Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params"`
}

func (*QueryParamsResponse) Descriptor

func (*QueryParamsResponse) Descriptor() ([]byte, []int)

func (*QueryParamsResponse) GetParams

func (m *QueryParamsResponse) GetParams() Params

func (*QueryParamsResponse) Marshal

func (m *QueryParamsResponse) Marshal() (dAtA []byte, err error)

func (*QueryParamsResponse) MarshalTo

func (m *QueryParamsResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryParamsResponse) MarshalToSizedBuffer

func (m *QueryParamsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryParamsResponse) ProtoMessage

func (*QueryParamsResponse) ProtoMessage()

func (*QueryParamsResponse) Reset

func (m *QueryParamsResponse) Reset()

func (*QueryParamsResponse) Size

func (m *QueryParamsResponse) Size() (n int)

func (*QueryParamsResponse) String

func (m *QueryParamsResponse) String() string

func (*QueryParamsResponse) Unmarshal

func (m *QueryParamsResponse) Unmarshal(dAtA []byte) error

func (*QueryParamsResponse) XXX_DiscardUnknown

func (m *QueryParamsResponse) XXX_DiscardUnknown()

func (*QueryParamsResponse) XXX_Marshal

func (m *QueryParamsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryParamsResponse) XXX_Merge

func (m *QueryParamsResponse) XXX_Merge(src proto.Message)

func (*QueryParamsResponse) XXX_Size

func (m *QueryParamsResponse) XXX_Size() int

func (*QueryParamsResponse) XXX_Unmarshal

func (m *QueryParamsResponse) XXX_Unmarshal(b []byte) error

type QueryPendingIbcAutoForwards

type QueryPendingIbcAutoForwards struct {
	// limit defines the number of pending forwards to return, in order of their SendToCosmos.EventNonce
	Limit uint64 `protobuf:"varint,1,opt,name=limit,proto3" json:"limit,omitempty"`
}

func (*QueryPendingIbcAutoForwards) Descriptor

func (*QueryPendingIbcAutoForwards) Descriptor() ([]byte, []int)

func (*QueryPendingIbcAutoForwards) GetLimit

func (m *QueryPendingIbcAutoForwards) GetLimit() uint64

func (*QueryPendingIbcAutoForwards) Marshal

func (m *QueryPendingIbcAutoForwards) Marshal() (dAtA []byte, err error)

func (*QueryPendingIbcAutoForwards) MarshalTo

func (m *QueryPendingIbcAutoForwards) MarshalTo(dAtA []byte) (int, error)

func (*QueryPendingIbcAutoForwards) MarshalToSizedBuffer

func (m *QueryPendingIbcAutoForwards) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryPendingIbcAutoForwards) ProtoMessage

func (*QueryPendingIbcAutoForwards) ProtoMessage()

func (*QueryPendingIbcAutoForwards) Reset

func (m *QueryPendingIbcAutoForwards) Reset()

func (*QueryPendingIbcAutoForwards) Size

func (m *QueryPendingIbcAutoForwards) Size() (n int)

func (*QueryPendingIbcAutoForwards) String

func (m *QueryPendingIbcAutoForwards) String() string

func (*QueryPendingIbcAutoForwards) Unmarshal

func (m *QueryPendingIbcAutoForwards) Unmarshal(dAtA []byte) error

func (*QueryPendingIbcAutoForwards) XXX_DiscardUnknown

func (m *QueryPendingIbcAutoForwards) XXX_DiscardUnknown()

func (*QueryPendingIbcAutoForwards) XXX_Marshal

func (m *QueryPendingIbcAutoForwards) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryPendingIbcAutoForwards) XXX_Merge

func (m *QueryPendingIbcAutoForwards) XXX_Merge(src proto.Message)

func (*QueryPendingIbcAutoForwards) XXX_Size

func (m *QueryPendingIbcAutoForwards) XXX_Size() int

func (*QueryPendingIbcAutoForwards) XXX_Unmarshal

func (m *QueryPendingIbcAutoForwards) XXX_Unmarshal(b []byte) error

type QueryPendingIbcAutoForwardsResponse

type QueryPendingIbcAutoForwardsResponse struct {
	PendingIbcAutoForwards []*PendingIbcAutoForward `` /* 131-byte string literal not displayed */
}

func (*QueryPendingIbcAutoForwardsResponse) Descriptor

func (*QueryPendingIbcAutoForwardsResponse) Descriptor() ([]byte, []int)

func (*QueryPendingIbcAutoForwardsResponse) GetPendingIbcAutoForwards

func (m *QueryPendingIbcAutoForwardsResponse) GetPendingIbcAutoForwards() []*PendingIbcAutoForward

func (*QueryPendingIbcAutoForwardsResponse) Marshal

func (m *QueryPendingIbcAutoForwardsResponse) Marshal() (dAtA []byte, err error)

func (*QueryPendingIbcAutoForwardsResponse) MarshalTo

func (m *QueryPendingIbcAutoForwardsResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryPendingIbcAutoForwardsResponse) MarshalToSizedBuffer

func (m *QueryPendingIbcAutoForwardsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryPendingIbcAutoForwardsResponse) ProtoMessage

func (*QueryPendingIbcAutoForwardsResponse) ProtoMessage()

func (*QueryPendingIbcAutoForwardsResponse) Reset

func (*QueryPendingIbcAutoForwardsResponse) Size

func (*QueryPendingIbcAutoForwardsResponse) String

func (*QueryPendingIbcAutoForwardsResponse) Unmarshal

func (m *QueryPendingIbcAutoForwardsResponse) Unmarshal(dAtA []byte) error

func (*QueryPendingIbcAutoForwardsResponse) XXX_DiscardUnknown

func (m *QueryPendingIbcAutoForwardsResponse) XXX_DiscardUnknown()

func (*QueryPendingIbcAutoForwardsResponse) XXX_Marshal

func (m *QueryPendingIbcAutoForwardsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryPendingIbcAutoForwardsResponse) XXX_Merge

func (*QueryPendingIbcAutoForwardsResponse) XXX_Size

func (*QueryPendingIbcAutoForwardsResponse) XXX_Unmarshal

func (m *QueryPendingIbcAutoForwardsResponse) XXX_Unmarshal(b []byte) error

type QueryPendingSendToEth

type QueryPendingSendToEth struct {
	SenderAddress string `protobuf:"bytes,1,opt,name=sender_address,json=senderAddress,proto3" json:"sender_address,omitempty"`
}

func (*QueryPendingSendToEth) Descriptor

func (*QueryPendingSendToEth) Descriptor() ([]byte, []int)

func (*QueryPendingSendToEth) GetSenderAddress

func (m *QueryPendingSendToEth) GetSenderAddress() string

func (*QueryPendingSendToEth) Marshal

func (m *QueryPendingSendToEth) Marshal() (dAtA []byte, err error)

func (*QueryPendingSendToEth) MarshalTo

func (m *QueryPendingSendToEth) MarshalTo(dAtA []byte) (int, error)

func (*QueryPendingSendToEth) MarshalToSizedBuffer

func (m *QueryPendingSendToEth) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryPendingSendToEth) ProtoMessage

func (*QueryPendingSendToEth) ProtoMessage()

func (*QueryPendingSendToEth) Reset

func (m *QueryPendingSendToEth) Reset()

func (*QueryPendingSendToEth) Size

func (m *QueryPendingSendToEth) Size() (n int)

func (*QueryPendingSendToEth) String

func (m *QueryPendingSendToEth) String() string

func (*QueryPendingSendToEth) Unmarshal

func (m *QueryPendingSendToEth) Unmarshal(dAtA []byte) error

func (*QueryPendingSendToEth) XXX_DiscardUnknown

func (m *QueryPendingSendToEth) XXX_DiscardUnknown()

func (*QueryPendingSendToEth) XXX_Marshal

func (m *QueryPendingSendToEth) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryPendingSendToEth) XXX_Merge

func (m *QueryPendingSendToEth) XXX_Merge(src proto.Message)

func (*QueryPendingSendToEth) XXX_Size

func (m *QueryPendingSendToEth) XXX_Size() int

func (*QueryPendingSendToEth) XXX_Unmarshal

func (m *QueryPendingSendToEth) XXX_Unmarshal(b []byte) error

type QueryPendingSendToEthResponse

type QueryPendingSendToEthResponse struct {
	TransfersInBatches []OutgoingTransferTx `protobuf:"bytes,1,rep,name=transfers_in_batches,json=transfersInBatches,proto3" json:"transfers_in_batches"`
	UnbatchedTransfers []OutgoingTransferTx `protobuf:"bytes,2,rep,name=unbatched_transfers,json=unbatchedTransfers,proto3" json:"unbatched_transfers"`
}

func (*QueryPendingSendToEthResponse) Descriptor

func (*QueryPendingSendToEthResponse) Descriptor() ([]byte, []int)

func (*QueryPendingSendToEthResponse) GetTransfersInBatches

func (m *QueryPendingSendToEthResponse) GetTransfersInBatches() []OutgoingTransferTx

func (*QueryPendingSendToEthResponse) GetUnbatchedTransfers

func (m *QueryPendingSendToEthResponse) GetUnbatchedTransfers() []OutgoingTransferTx

func (*QueryPendingSendToEthResponse) Marshal

func (m *QueryPendingSendToEthResponse) Marshal() (dAtA []byte, err error)

func (*QueryPendingSendToEthResponse) MarshalTo

func (m *QueryPendingSendToEthResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryPendingSendToEthResponse) MarshalToSizedBuffer

func (m *QueryPendingSendToEthResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryPendingSendToEthResponse) ProtoMessage

func (*QueryPendingSendToEthResponse) ProtoMessage()

func (*QueryPendingSendToEthResponse) Reset

func (m *QueryPendingSendToEthResponse) Reset()

func (*QueryPendingSendToEthResponse) Size

func (m *QueryPendingSendToEthResponse) Size() (n int)

func (*QueryPendingSendToEthResponse) String

func (*QueryPendingSendToEthResponse) Unmarshal

func (m *QueryPendingSendToEthResponse) Unmarshal(dAtA []byte) error

func (*QueryPendingSendToEthResponse) XXX_DiscardUnknown

func (m *QueryPendingSendToEthResponse) XXX_DiscardUnknown()

func (*QueryPendingSendToEthResponse) XXX_Marshal

func (m *QueryPendingSendToEthResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryPendingSendToEthResponse) XXX_Merge

func (m *QueryPendingSendToEthResponse) XXX_Merge(src proto.Message)

func (*QueryPendingSendToEthResponse) XXX_Size

func (m *QueryPendingSendToEthResponse) XXX_Size() int

func (*QueryPendingSendToEthResponse) XXX_Unmarshal

func (m *QueryPendingSendToEthResponse) XXX_Unmarshal(b []byte) error

type QueryServer

type QueryServer interface {
	// Deployments queries deployments
	Params(context.Context, *QueryParamsRequest) (*QueryParamsResponse, error)
	CurrentValset(context.Context, *QueryCurrentValsetRequest) (*QueryCurrentValsetResponse, error)
	ValsetRequest(context.Context, *QueryValsetRequestRequest) (*QueryValsetRequestResponse, error)
	ValsetConfirm(context.Context, *QueryValsetConfirmRequest) (*QueryValsetConfirmResponse, error)
	ValsetConfirmsByNonce(context.Context, *QueryValsetConfirmsByNonceRequest) (*QueryValsetConfirmsByNonceResponse, error)
	LastValsetRequests(context.Context, *QueryLastValsetRequestsRequest) (*QueryLastValsetRequestsResponse, error)
	LastPendingValsetRequestByAddr(context.Context, *QueryLastPendingValsetRequestByAddrRequest) (*QueryLastPendingValsetRequestByAddrResponse, error)
	LastPendingBatchRequestByAddr(context.Context, *QueryLastPendingBatchRequestByAddrRequest) (*QueryLastPendingBatchRequestByAddrResponse, error)
	LastPendingLogicCallByAddr(context.Context, *QueryLastPendingLogicCallByAddrRequest) (*QueryLastPendingLogicCallByAddrResponse, error)
	LastEventNonceByAddr(context.Context, *QueryLastEventNonceByAddrRequest) (*QueryLastEventNonceByAddrResponse, error)
	BatchFees(context.Context, *QueryBatchFeeRequest) (*QueryBatchFeeResponse, error)
	OutgoingTxBatches(context.Context, *QueryOutgoingTxBatchesRequest) (*QueryOutgoingTxBatchesResponse, error)
	OutgoingLogicCalls(context.Context, *QueryOutgoingLogicCallsRequest) (*QueryOutgoingLogicCallsResponse, error)
	BatchRequestByNonce(context.Context, *QueryBatchRequestByNonceRequest) (*QueryBatchRequestByNonceResponse, error)
	BatchConfirms(context.Context, *QueryBatchConfirmsRequest) (*QueryBatchConfirmsResponse, error)
	LogicConfirms(context.Context, *QueryLogicConfirmsRequest) (*QueryLogicConfirmsResponse, error)
	ERC20ToDenom(context.Context, *QueryERC20ToDenomRequest) (*QueryERC20ToDenomResponse, error)
	DenomToERC20(context.Context, *QueryDenomToERC20Request) (*QueryDenomToERC20Response, error)
	GetLastObservedEthBlock(context.Context, *QueryLastObservedEthBlockRequest) (*QueryLastObservedEthBlockResponse, error)
	GetLastObservedEthNonce(context.Context, *QueryLastObservedEthNonceRequest) (*QueryLastObservedEthNonceResponse, error)
	GetAttestations(context.Context, *QueryAttestationsRequest) (*QueryAttestationsResponse, error)
	GetDelegateKeyByValidator(context.Context, *QueryDelegateKeysByValidatorAddress) (*QueryDelegateKeysByValidatorAddressResponse, error)
	GetDelegateKeyByEth(context.Context, *QueryDelegateKeysByEthAddress) (*QueryDelegateKeysByEthAddressResponse, error)
	GetDelegateKeyByOrchestrator(context.Context, *QueryDelegateKeysByOrchestratorAddress) (*QueryDelegateKeysByOrchestratorAddressResponse, error)
	GetPendingSendToEth(context.Context, *QueryPendingSendToEth) (*QueryPendingSendToEthResponse, error)
	GetPendingIbcAutoForwards(context.Context, *QueryPendingIbcAutoForwards) (*QueryPendingIbcAutoForwardsResponse, error)
}

QueryServer is the server API for Query service.

type QueryValsetConfirmRequest

type QueryValsetConfirmRequest struct {
	Nonce   uint64 `protobuf:"varint,1,opt,name=nonce,proto3" json:"nonce,omitempty"`
	Address string `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"`
}

func (*QueryValsetConfirmRequest) Descriptor

func (*QueryValsetConfirmRequest) Descriptor() ([]byte, []int)

func (*QueryValsetConfirmRequest) GetAddress

func (m *QueryValsetConfirmRequest) GetAddress() string

func (*QueryValsetConfirmRequest) GetNonce

func (m *QueryValsetConfirmRequest) GetNonce() uint64

func (*QueryValsetConfirmRequest) Marshal

func (m *QueryValsetConfirmRequest) Marshal() (dAtA []byte, err error)

func (*QueryValsetConfirmRequest) MarshalTo

func (m *QueryValsetConfirmRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryValsetConfirmRequest) MarshalToSizedBuffer

func (m *QueryValsetConfirmRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryValsetConfirmRequest) ProtoMessage

func (*QueryValsetConfirmRequest) ProtoMessage()

func (*QueryValsetConfirmRequest) Reset

func (m *QueryValsetConfirmRequest) Reset()

func (*QueryValsetConfirmRequest) Size

func (m *QueryValsetConfirmRequest) Size() (n int)

func (*QueryValsetConfirmRequest) String

func (m *QueryValsetConfirmRequest) String() string

func (*QueryValsetConfirmRequest) Unmarshal

func (m *QueryValsetConfirmRequest) Unmarshal(dAtA []byte) error

func (*QueryValsetConfirmRequest) XXX_DiscardUnknown

func (m *QueryValsetConfirmRequest) XXX_DiscardUnknown()

func (*QueryValsetConfirmRequest) XXX_Marshal

func (m *QueryValsetConfirmRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryValsetConfirmRequest) XXX_Merge

func (m *QueryValsetConfirmRequest) XXX_Merge(src proto.Message)

func (*QueryValsetConfirmRequest) XXX_Size

func (m *QueryValsetConfirmRequest) XXX_Size() int

func (*QueryValsetConfirmRequest) XXX_Unmarshal

func (m *QueryValsetConfirmRequest) XXX_Unmarshal(b []byte) error

type QueryValsetConfirmResponse

type QueryValsetConfirmResponse struct {
	Confirm *MsgValsetConfirm `protobuf:"bytes,1,opt,name=confirm,proto3" json:"confirm,omitempty"`
}

func (*QueryValsetConfirmResponse) Descriptor

func (*QueryValsetConfirmResponse) Descriptor() ([]byte, []int)

func (*QueryValsetConfirmResponse) GetConfirm

func (*QueryValsetConfirmResponse) Marshal

func (m *QueryValsetConfirmResponse) Marshal() (dAtA []byte, err error)

func (*QueryValsetConfirmResponse) MarshalTo

func (m *QueryValsetConfirmResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryValsetConfirmResponse) MarshalToSizedBuffer

func (m *QueryValsetConfirmResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryValsetConfirmResponse) ProtoMessage

func (*QueryValsetConfirmResponse) ProtoMessage()

func (*QueryValsetConfirmResponse) Reset

func (m *QueryValsetConfirmResponse) Reset()

func (*QueryValsetConfirmResponse) Size

func (m *QueryValsetConfirmResponse) Size() (n int)

func (*QueryValsetConfirmResponse) String

func (m *QueryValsetConfirmResponse) String() string

func (*QueryValsetConfirmResponse) Unmarshal

func (m *QueryValsetConfirmResponse) Unmarshal(dAtA []byte) error

func (*QueryValsetConfirmResponse) XXX_DiscardUnknown

func (m *QueryValsetConfirmResponse) XXX_DiscardUnknown()

func (*QueryValsetConfirmResponse) XXX_Marshal

func (m *QueryValsetConfirmResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryValsetConfirmResponse) XXX_Merge

func (m *QueryValsetConfirmResponse) XXX_Merge(src proto.Message)

func (*QueryValsetConfirmResponse) XXX_Size

func (m *QueryValsetConfirmResponse) XXX_Size() int

func (*QueryValsetConfirmResponse) XXX_Unmarshal

func (m *QueryValsetConfirmResponse) XXX_Unmarshal(b []byte) error

type QueryValsetConfirmsByNonceRequest

type QueryValsetConfirmsByNonceRequest struct {
	Nonce uint64 `protobuf:"varint,1,opt,name=nonce,proto3" json:"nonce,omitempty"`
}

func (*QueryValsetConfirmsByNonceRequest) Descriptor

func (*QueryValsetConfirmsByNonceRequest) Descriptor() ([]byte, []int)

func (*QueryValsetConfirmsByNonceRequest) GetNonce

func (*QueryValsetConfirmsByNonceRequest) Marshal

func (m *QueryValsetConfirmsByNonceRequest) Marshal() (dAtA []byte, err error)

func (*QueryValsetConfirmsByNonceRequest) MarshalTo

func (m *QueryValsetConfirmsByNonceRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryValsetConfirmsByNonceRequest) MarshalToSizedBuffer

func (m *QueryValsetConfirmsByNonceRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryValsetConfirmsByNonceRequest) ProtoMessage

func (*QueryValsetConfirmsByNonceRequest) ProtoMessage()

func (*QueryValsetConfirmsByNonceRequest) Reset

func (*QueryValsetConfirmsByNonceRequest) Size

func (m *QueryValsetConfirmsByNonceRequest) Size() (n int)

func (*QueryValsetConfirmsByNonceRequest) String

func (*QueryValsetConfirmsByNonceRequest) Unmarshal

func (m *QueryValsetConfirmsByNonceRequest) Unmarshal(dAtA []byte) error

func (*QueryValsetConfirmsByNonceRequest) XXX_DiscardUnknown

func (m *QueryValsetConfirmsByNonceRequest) XXX_DiscardUnknown()

func (*QueryValsetConfirmsByNonceRequest) XXX_Marshal

func (m *QueryValsetConfirmsByNonceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryValsetConfirmsByNonceRequest) XXX_Merge

func (*QueryValsetConfirmsByNonceRequest) XXX_Size

func (m *QueryValsetConfirmsByNonceRequest) XXX_Size() int

func (*QueryValsetConfirmsByNonceRequest) XXX_Unmarshal

func (m *QueryValsetConfirmsByNonceRequest) XXX_Unmarshal(b []byte) error

type QueryValsetConfirmsByNonceResponse

type QueryValsetConfirmsByNonceResponse struct {
	Confirms []MsgValsetConfirm `protobuf:"bytes,1,rep,name=confirms,proto3" json:"confirms"`
}

func (*QueryValsetConfirmsByNonceResponse) Descriptor

func (*QueryValsetConfirmsByNonceResponse) Descriptor() ([]byte, []int)

func (*QueryValsetConfirmsByNonceResponse) GetConfirms

func (*QueryValsetConfirmsByNonceResponse) Marshal

func (m *QueryValsetConfirmsByNonceResponse) Marshal() (dAtA []byte, err error)

func (*QueryValsetConfirmsByNonceResponse) MarshalTo

func (m *QueryValsetConfirmsByNonceResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryValsetConfirmsByNonceResponse) MarshalToSizedBuffer

func (m *QueryValsetConfirmsByNonceResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryValsetConfirmsByNonceResponse) ProtoMessage

func (*QueryValsetConfirmsByNonceResponse) ProtoMessage()

func (*QueryValsetConfirmsByNonceResponse) Reset

func (*QueryValsetConfirmsByNonceResponse) Size

func (*QueryValsetConfirmsByNonceResponse) String

func (*QueryValsetConfirmsByNonceResponse) Unmarshal

func (m *QueryValsetConfirmsByNonceResponse) Unmarshal(dAtA []byte) error

func (*QueryValsetConfirmsByNonceResponse) XXX_DiscardUnknown

func (m *QueryValsetConfirmsByNonceResponse) XXX_DiscardUnknown()

func (*QueryValsetConfirmsByNonceResponse) XXX_Marshal

func (m *QueryValsetConfirmsByNonceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryValsetConfirmsByNonceResponse) XXX_Merge

func (*QueryValsetConfirmsByNonceResponse) XXX_Size

func (*QueryValsetConfirmsByNonceResponse) XXX_Unmarshal

func (m *QueryValsetConfirmsByNonceResponse) XXX_Unmarshal(b []byte) error

type QueryValsetRequestRequest

type QueryValsetRequestRequest struct {
	Nonce uint64 `protobuf:"varint,1,opt,name=nonce,proto3" json:"nonce,omitempty"`
}

func (*QueryValsetRequestRequest) Descriptor

func (*QueryValsetRequestRequest) Descriptor() ([]byte, []int)

func (*QueryValsetRequestRequest) GetNonce

func (m *QueryValsetRequestRequest) GetNonce() uint64

func (*QueryValsetRequestRequest) Marshal

func (m *QueryValsetRequestRequest) Marshal() (dAtA []byte, err error)

func (*QueryValsetRequestRequest) MarshalTo

func (m *QueryValsetRequestRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryValsetRequestRequest) MarshalToSizedBuffer

func (m *QueryValsetRequestRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryValsetRequestRequest) ProtoMessage

func (*QueryValsetRequestRequest) ProtoMessage()

func (*QueryValsetRequestRequest) Reset

func (m *QueryValsetRequestRequest) Reset()

func (*QueryValsetRequestRequest) Size

func (m *QueryValsetRequestRequest) Size() (n int)

func (*QueryValsetRequestRequest) String

func (m *QueryValsetRequestRequest) String() string

func (*QueryValsetRequestRequest) Unmarshal

func (m *QueryValsetRequestRequest) Unmarshal(dAtA []byte) error

func (*QueryValsetRequestRequest) XXX_DiscardUnknown

func (m *QueryValsetRequestRequest) XXX_DiscardUnknown()

func (*QueryValsetRequestRequest) XXX_Marshal

func (m *QueryValsetRequestRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryValsetRequestRequest) XXX_Merge

func (m *QueryValsetRequestRequest) XXX_Merge(src proto.Message)

func (*QueryValsetRequestRequest) XXX_Size

func (m *QueryValsetRequestRequest) XXX_Size() int

func (*QueryValsetRequestRequest) XXX_Unmarshal

func (m *QueryValsetRequestRequest) XXX_Unmarshal(b []byte) error

type QueryValsetRequestResponse

type QueryValsetRequestResponse struct {
	Valset *Valset `protobuf:"bytes,1,opt,name=valset,proto3" json:"valset,omitempty"`
}

func (*QueryValsetRequestResponse) Descriptor

func (*QueryValsetRequestResponse) Descriptor() ([]byte, []int)

func (*QueryValsetRequestResponse) GetValset

func (m *QueryValsetRequestResponse) GetValset() *Valset

func (*QueryValsetRequestResponse) Marshal

func (m *QueryValsetRequestResponse) Marshal() (dAtA []byte, err error)

func (*QueryValsetRequestResponse) MarshalTo

func (m *QueryValsetRequestResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryValsetRequestResponse) MarshalToSizedBuffer

func (m *QueryValsetRequestResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryValsetRequestResponse) ProtoMessage

func (*QueryValsetRequestResponse) ProtoMessage()

func (*QueryValsetRequestResponse) Reset

func (m *QueryValsetRequestResponse) Reset()

func (*QueryValsetRequestResponse) Size

func (m *QueryValsetRequestResponse) Size() (n int)

func (*QueryValsetRequestResponse) String

func (m *QueryValsetRequestResponse) String() string

func (*QueryValsetRequestResponse) Unmarshal

func (m *QueryValsetRequestResponse) Unmarshal(dAtA []byte) error

func (*QueryValsetRequestResponse) XXX_DiscardUnknown

func (m *QueryValsetRequestResponse) XXX_DiscardUnknown()

func (*QueryValsetRequestResponse) XXX_Marshal

func (m *QueryValsetRequestResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryValsetRequestResponse) XXX_Merge

func (m *QueryValsetRequestResponse) XXX_Merge(src proto.Message)

func (*QueryValsetRequestResponse) XXX_Size

func (m *QueryValsetRequestResponse) XXX_Size() int

func (*QueryValsetRequestResponse) XXX_Unmarshal

func (m *QueryValsetRequestResponse) XXX_Unmarshal(b []byte) error

type SignType

type SignType int32

SignType defines messages that have been signed by an orchestrator

const (
	SIGN_TYPE_UNSPECIFIED                          SignType = 0
	SIGN_TYPE_ORCHESTRATOR_SIGNED_MULTI_SIG_UPDATE SignType = 1
	SIGN_TYPE_ORCHESTRATOR_SIGNED_WITHDRAW_BATCH   SignType = 2
)

func (SignType) EnumDescriptor

func (SignType) EnumDescriptor() ([]byte, []int)

type SlashingKeeper

type SlashingKeeper interface {
	GetValidatorSigningInfo(ctx sdk.Context, address sdk.ConsAddress) (info slashingtypes.ValidatorSigningInfo, found bool)
}

type StakingKeeper

type StakingKeeper interface {
	GetBondedValidatorsByPower(ctx sdk.Context) []stakingtypes.Validator
	GetLastValidatorPower(ctx sdk.Context, operator sdk.ValAddress) int64
	GetLastTotalPower(ctx sdk.Context) (power sdk.Int)
	IterateValidators(sdk.Context, func(index int64, validator stakingtypes.ValidatorI) (stop bool))
	ValidatorQueueIterator(ctx sdk.Context, endTime time.Time, endHeight int64) sdk.Iterator
	GetParams(ctx sdk.Context) stakingtypes.Params
	GetValidator(ctx sdk.Context, addr sdk.ValAddress) (validator stakingtypes.Validator, found bool)
	IterateBondedValidatorsByPower(sdk.Context, func(index int64, validator stakingtypes.ValidatorI) (stop bool))
	IterateLastValidators(sdk.Context, func(index int64, validator stakingtypes.ValidatorI) (stop bool))
	Validator(sdk.Context, sdk.ValAddress) stakingtypes.ValidatorI
	ValidatorByConsAddr(sdk.Context, sdk.ConsAddress) stakingtypes.ValidatorI
	Slash(sdk.Context, sdk.ConsAddress, int64, int64, sdk.Dec)
	Jail(sdk.Context, sdk.ConsAddress)
}

StakingKeeper defines the expected staking keeper methods

type UnhaltBridgeProposal

type UnhaltBridgeProposal 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"`
	TargetNonce uint64 `protobuf:"varint,4,opt,name=target_nonce,json=targetNonce,proto3" json:"target_nonce,omitempty"`
}

UnhaltBridgeProposal defines a custom governance proposal useful for restoring the bridge after a oracle disagreement. Once this proposal is passed bridge state will roll back events to the nonce provided in target_nonce if and only if those events have not yet been observed (executed on the Cosmos chain). This allows for easy handling of cases where for example an Ethereum hardfork has occured and more than 1/3 of the vlaidtor set disagrees with the rest. Normally this would require a chain halt, manual genesis editing and restar to resolve with this feature a governance proposal can be used instead

func (*UnhaltBridgeProposal) Descriptor

func (*UnhaltBridgeProposal) Descriptor() ([]byte, []int)

func (*UnhaltBridgeProposal) Equal

func (this *UnhaltBridgeProposal) Equal(that interface{}) bool

func (*UnhaltBridgeProposal) GetDescription

func (p *UnhaltBridgeProposal) GetDescription() string

func (*UnhaltBridgeProposal) GetTitle

func (p *UnhaltBridgeProposal) GetTitle() string

func (*UnhaltBridgeProposal) Marshal

func (m *UnhaltBridgeProposal) Marshal() (dAtA []byte, err error)

func (*UnhaltBridgeProposal) MarshalTo

func (m *UnhaltBridgeProposal) MarshalTo(dAtA []byte) (int, error)

func (*UnhaltBridgeProposal) MarshalToSizedBuffer

func (m *UnhaltBridgeProposal) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*UnhaltBridgeProposal) ProposalRoute

func (p *UnhaltBridgeProposal) ProposalRoute() string

func (*UnhaltBridgeProposal) ProposalType

func (p *UnhaltBridgeProposal) ProposalType() string

func (*UnhaltBridgeProposal) ProtoMessage

func (*UnhaltBridgeProposal) ProtoMessage()

func (*UnhaltBridgeProposal) Reset

func (m *UnhaltBridgeProposal) Reset()

func (*UnhaltBridgeProposal) Size

func (m *UnhaltBridgeProposal) Size() (n int)

func (UnhaltBridgeProposal) String

func (p UnhaltBridgeProposal) String() string

func (*UnhaltBridgeProposal) Unmarshal

func (m *UnhaltBridgeProposal) Unmarshal(dAtA []byte) error

func (*UnhaltBridgeProposal) ValidateBasic

func (p *UnhaltBridgeProposal) ValidateBasic() error

func (*UnhaltBridgeProposal) XXX_DiscardUnknown

func (m *UnhaltBridgeProposal) XXX_DiscardUnknown()

func (*UnhaltBridgeProposal) XXX_Marshal

func (m *UnhaltBridgeProposal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*UnhaltBridgeProposal) XXX_Merge

func (m *UnhaltBridgeProposal) XXX_Merge(src proto.Message)

func (*UnhaltBridgeProposal) XXX_Size

func (m *UnhaltBridgeProposal) XXX_Size() int

func (*UnhaltBridgeProposal) XXX_Unmarshal

func (m *UnhaltBridgeProposal) XXX_Unmarshal(b []byte) error

type UnimplementedMsgServer

type UnimplementedMsgServer struct {
}

UnimplementedMsgServer can be embedded to have forward compatible implementations.

func (*UnimplementedMsgServer) BatchSendToEthClaim

func (*UnimplementedMsgServer) CancelSendToEth

func (*UnimplementedMsgServer) ConfirmBatch

func (*UnimplementedMsgServer) ConfirmLogicCall

func (*UnimplementedMsgServer) ERC20DeployedClaim

func (*UnimplementedMsgServer) ExecuteIbcAutoForwards

func (*UnimplementedMsgServer) LogicCallExecutedClaim

func (*UnimplementedMsgServer) RequestBatch

func (*UnimplementedMsgServer) SendToCosmosClaim

func (*UnimplementedMsgServer) SendToEth

func (*UnimplementedMsgServer) SetOrchestratorAddress

func (*UnimplementedMsgServer) SubmitBadSignatureEvidence

func (*UnimplementedMsgServer) ValsetConfirm

func (*UnimplementedMsgServer) ValsetUpdateClaim

type UnimplementedQueryServer

type UnimplementedQueryServer struct {
}

UnimplementedQueryServer can be embedded to have forward compatible implementations.

func (*UnimplementedQueryServer) BatchConfirms

func (*UnimplementedQueryServer) BatchFees

func (*UnimplementedQueryServer) BatchRequestByNonce

func (*UnimplementedQueryServer) CurrentValset

func (*UnimplementedQueryServer) DenomToERC20

func (*UnimplementedQueryServer) ERC20ToDenom

func (*UnimplementedQueryServer) GetAttestations

func (*UnimplementedQueryServer) GetLastObservedEthBlock

func (*UnimplementedQueryServer) GetLastObservedEthNonce

func (*UnimplementedQueryServer) GetPendingIbcAutoForwards

func (*UnimplementedQueryServer) GetPendingSendToEth

func (*UnimplementedQueryServer) LastValsetRequests

func (*UnimplementedQueryServer) LogicConfirms

func (*UnimplementedQueryServer) OutgoingLogicCalls

func (*UnimplementedQueryServer) OutgoingTxBatches

func (*UnimplementedQueryServer) Params

func (*UnimplementedQueryServer) ValsetConfirm

func (*UnimplementedQueryServer) ValsetRequest

type Valset

type Valset struct {
	Nonce        uint64                                 `protobuf:"varint,1,opt,name=nonce,proto3" json:"nonce,omitempty"`
	Members      []BridgeValidator                      `protobuf:"bytes,2,rep,name=members,proto3" json:"members"`
	Height       uint64                                 `protobuf:"varint,3,opt,name=height,proto3" json:"height,omitempty"`
	RewardAmount github_com_cosmos_cosmos_sdk_types.Int `` /* 137-byte string literal not displayed */
	// the reward token in it's Ethereum hex address representation
	RewardToken string `protobuf:"bytes,5,opt,name=reward_token,json=rewardToken,proto3" json:"reward_token,omitempty"`
}

Valset is the Ethereum Bridge Multsig Set, each gravity validator also maintains an ETH key to sign messages, these are used to check signatures on ETH because of the significant gas savings

func NewValset

func NewValset(nonce, height uint64, members InternalBridgeValidators, rewardAmount sdk.Int, rewardToken EthAddress) (*Valset, error)

NewValset returns a new valset

func (*Valset) Descriptor

func (*Valset) Descriptor() ([]byte, []int)

func (Valset) Equal

func (v Valset) Equal(o Valset) (bool, error)

Equal compares all of the valset members, additionally returning an error explaining the problem

func (Valset) GetCheckpoint

func (v Valset) GetCheckpoint(gravityIDstring string) []byte

GetCheckpoint returns the checkpoint

func (*Valset) GetHeight

func (m *Valset) GetHeight() uint64

func (*Valset) GetMembers

func (m *Valset) GetMembers() []BridgeValidator

func (*Valset) GetNonce

func (m *Valset) GetNonce() uint64

func (*Valset) GetRewardToken

func (m *Valset) GetRewardToken() string

func (*Valset) Marshal

func (m *Valset) Marshal() (dAtA []byte, err error)

func (*Valset) MarshalTo

func (m *Valset) MarshalTo(dAtA []byte) (int, error)

func (*Valset) MarshalToSizedBuffer

func (m *Valset) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Valset) ProtoMessage

func (*Valset) ProtoMessage()

func (*Valset) Reset

func (m *Valset) Reset()

func (*Valset) Size

func (m *Valset) Size() (n int)

func (*Valset) String

func (m *Valset) String() string

func (*Valset) Unmarshal

func (m *Valset) Unmarshal(dAtA []byte) error

func (*Valset) WithoutEmptyMembers

func (v *Valset) WithoutEmptyMembers() *Valset

WithoutEmptyMembers returns a new Valset without member that have 0 power or an empty Ethereum address.

func (*Valset) XXX_DiscardUnknown

func (m *Valset) XXX_DiscardUnknown()

func (*Valset) XXX_Marshal

func (m *Valset) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Valset) XXX_Merge

func (m *Valset) XXX_Merge(src proto.Message)

func (*Valset) XXX_Size

func (m *Valset) XXX_Size() int

func (*Valset) XXX_Unmarshal

func (m *Valset) XXX_Unmarshal(b []byte) error

type Valsets

type Valsets []Valset

Valsets is a collection of valset

func (Valsets) Len

func (v Valsets) Len() int

func (Valsets) Less

func (v Valsets) Less(i, j int) bool

func (Valsets) Swap

func (v Valsets) Swap(i, j int)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL