types

package
v1.15.3 Latest Latest
Warning

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

Go to latest
Published: Jul 12, 2024 License: Apache-2.0 Imports: 58 Imported by: 8

Documentation

Overview

Package types is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Index

Constants

View Source
const (
	BridgeTransferLimitDailyBlocks   = dailyBlocks
	BridgeTransferLimitWeeklyBlocks  = dailyBlocks * 7
	BridgeTransferLimitMonthlyBlocks = dailyBlocks * 30
	BridgeTransferLimitYearlyBlocks  = dailyBlocks * 365
)
View Source
const (
	EventTypeObservation                 = "observation"
	EventTypeOutgoingBatch               = "outgoing_batch"
	EventTypeMultisigUpdateRequest       = "multisig_update_request"
	EventTypeOutgoingBatchCanceled       = "outgoing_batch_canceled"
	EventTypeBridgeWithdrawalReceived    = "withdrawal_received"
	EventTypeBridgeDepositReceived       = "deposit_received"
	EventTypeBridgeWithdrawCanceled      = "withdraw_canceled"
	EventTypeInvalidSendToPalomaReceiver = "invalid_send_to_paloma_receiver"

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

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

	AttributeKeyBatchSignatureSlashing = "batch_signature_slashing"
)
View Source
const (
	ProposalTypeSetERC20ToDenomProposal        = "SetERC20ToDenomProposal"
	ProposalTypeSetBridgeTaxProposal           = "SetBridgeTaxProposal"
	ProposalTypeSetBridgeTransferLimitProposal = "SetBridgeTransferLimitProposal"
)
View Source
const (
	// ModuleName is the name of the module
	ModuleName = "skyway"

	// 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 (
	TypeMsgSendToPalomaClaim = "send_to_paloma_claim"
)
View Source
const (
	// ZeroAddress is an EthAddress containing the zero ethereum address
	ZeroAddressString = "0x0000000000000000000000000000000000000000"
)

Variables

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

	// PastEthSignatureCheckpointKey indexes eth signature checkpoints that have existed
	// [0x1cbe0be407a979331b98e599eeedd09f]
	PastEthSignatureCheckpointKey = HashString("PastEthSignatureCheckpointKey")
	ParamsKey                     = []byte{0x01}
	StoreModulePrefix             = "module"

	BridgeTaxPrefix = "bridge-tax"

	BridgeTransferLimitPrefix = "bridge-transfer-limit"
	BridgeTransferUsagePrefix = "bridge-transfer-usage"
)
View Source
var (
	ErrInvalidLengthMsgs        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowMsgs          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupMsgs = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthParams        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowParams          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupParams = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthPool        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowPool          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupPool = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthQuery        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowQuery          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupQuery = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthTypes        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowTypes          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupTypes = fmt.Errorf("proto: unexpected end of group")
)
View Source
var ClaimType_name = map[int32]string{
	0: "CLAIM_TYPE_UNSPECIFIED",
	1: "CLAIM_TYPE_SEND_TO_PALOMA",
	2: "CLAIM_TYPE_BATCH_SEND_TO_ETH",
}
View Source
var ClaimType_value = map[string]int32{
	"CLAIM_TYPE_UNSPECIFIED":       0,
	"CLAIM_TYPE_SEND_TO_PALOMA":    1,
	"CLAIM_TYPE_BATCH_SEND_TO_ETH": 2,
}
View Source
var LimitPeriod_name = map[int32]string{
	0: "NONE",
	1: "DAILY",
	2: "WEEKLY",
	3: "MONTHLY",
	4: "YEARLY",
}
View Source
var LimitPeriod_value = map[string]int32{
	"NONE":    0,
	"DAILY":   1,
	"WEEKLY":  2,
	"MONTHLY": 3,
	"YEARLY":  4,
}
View Source
var ModuleCdc = codec.NewLegacyAmino()

ModuleCdc is the codec for the module

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

Functions

func AppendBytes

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

func ClaimTypeToTypeUrl

func ClaimTypeToTypeUrl(claimType ClaimType) string

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

func ClaimValidateBasic

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

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, error)

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

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(chainReferenceId, denom string) []byte

func GetERC20ToDenomKey

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

func GetEthAddressByValidatorKey

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

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

func GetLastEventNonceByValidatorKey

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

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

func GetOrchestratorAddressKey

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

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

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 [0x0][0xc783df8a850f42e7F7e57013759C285caa701eB6] This prefix is used for iterating over unbatched transactions for a given contract

func GetOutgoingTxPoolKey

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

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

func GetPastEthSignatureCheckpointKey

func GetPastEthSignatureCheckpointKey(checkpoint []byte) []byte

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

func GetValidatorByEthAddressKey

func GetValidatorByEthAddressKey(ethAddress EthAddress) []byte

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

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 NonemptyEthAddress

func NonemptyEthAddress() (ret string)

Creates a random nonempty 20 byte address hex string test value

func NonemptySdkAccAddress

func NonemptySdkAccAddress() (ret sdk.AccAddress)

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

func NonzeroSdkInt

func NonzeroSdkInt() (ret math.Int)

Creates a random nonzero sdk.Int test value

func NonzeroUint64

func NonzeroUint64() (ret uint64)

Creates a random nonzero uint64 test value

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 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, error)

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 AccountKeeper

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

AccountKeeper defines the interface contract required for account functionality.

type Attestation

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 skyway 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 skyway state machine

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

func (*Attestation) Descriptor

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

func (m Attestation) ValidateBasic(cdc codec.BinaryCodec) 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 {
	GetSupply(ctx context.Context, denom string) sdk.Coin
	SendCoinsFromModuleToAccount(ctx context.Context, senderModule string, recipientAddr sdk.AccAddress, amt sdk.Coins) error
	SendCoinsFromAccountToModule(ctx context.Context, senderAddr sdk.AccAddress, recipientModule string, amt sdk.Coins) error
	SendCoinsFromModuleToModule(ctx context.Context, senderModule string, recipientModule string, amt sdk.Coins) error
	MintCoins(ctx context.Context, name string, amt sdk.Coins) error
	BurnCoins(ctx context.Context, name string, amt sdk.Coins) error
	GetAllBalances(ctx context.Context, addr sdk.AccAddress) sdk.Coins
	GetDenomMetaData(ctx context.Context, denom string) (bank.Metadata, bool)
	SetDenomMetaData(ctx context.Context, denomMetaData bank.Metadata)
	GetBalance(ctx context.Context, addr sdk.AccAddress, denom string) sdk.Coin
	IsSendEnabledCoins(ctx context.Context, coins ...sdk.Coin) error
	SendCoins(ctx context.Context, from, to sdk.AccAddress, amt sdk.Coins) error
}

BankKeeper defines the expected bank keeper methods

type BridgeTax

type BridgeTax struct {
	Rate            string                                          `protobuf:"bytes,1,opt,name=rate,proto3" json:"rate,omitempty"`
	ExemptAddresses []github_com_cosmos_cosmos_sdk_types.AccAddress `` /* 161-byte string literal not displayed */
	Token           string                                          `protobuf:"bytes,4,opt,name=token,proto3" json:"token,omitempty"`
}

func (*BridgeTax) Descriptor

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

func (*BridgeTax) GetExemptAddresses

func (m *BridgeTax) GetExemptAddresses() []github_com_cosmos_cosmos_sdk_types.AccAddress

func (*BridgeTax) GetRate

func (m *BridgeTax) GetRate() string

func (*BridgeTax) GetToken

func (m *BridgeTax) GetToken() string

func (*BridgeTax) Marshal

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

func (*BridgeTax) MarshalTo

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

func (*BridgeTax) MarshalToSizedBuffer

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

func (*BridgeTax) ProtoMessage

func (*BridgeTax) ProtoMessage()

func (*BridgeTax) Reset

func (m *BridgeTax) Reset()

func (*BridgeTax) Size

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

func (*BridgeTax) String

func (m *BridgeTax) String() string

func (*BridgeTax) Unmarshal

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

func (*BridgeTax) XXX_DiscardUnknown

func (m *BridgeTax) XXX_DiscardUnknown()

func (*BridgeTax) XXX_Marshal

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

func (*BridgeTax) XXX_Merge

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

func (*BridgeTax) XXX_Size

func (m *BridgeTax) XXX_Size() int

func (*BridgeTax) XXX_Unmarshal

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

type BridgeTransferLimit

type BridgeTransferLimit struct {
	Token           string                                          `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"`
	Limit           cosmossdk_io_math.Int                           `protobuf:"bytes,2,opt,name=limit,proto3,customtype=cosmossdk.io/math.Int" json:"limit"`
	LimitPeriod     LimitPeriod                                     `` /* 138-byte string literal not displayed */
	ExemptAddresses []github_com_cosmos_cosmos_sdk_types.AccAddress `` /* 161-byte string literal not displayed */
}

Allow at most `limit` tokens of `token` to be transferred within a `limit_period` window. `limit_period` will be converted to blocks. If more than `limit` tokens are attempted to be transferred between those block heights, the transfer is not allowed. If the sender is in `exempt_addresses`, the limits are not checked nor updated.

func (*BridgeTransferLimit) BlockLimit

func (m *BridgeTransferLimit) BlockLimit() int64

func (*BridgeTransferLimit) Descriptor

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

func (*BridgeTransferLimit) GetExemptAddresses

func (*BridgeTransferLimit) GetLimitPeriod

func (m *BridgeTransferLimit) GetLimitPeriod() LimitPeriod

func (*BridgeTransferLimit) GetToken

func (m *BridgeTransferLimit) GetToken() string

func (*BridgeTransferLimit) Marshal

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

func (*BridgeTransferLimit) MarshalTo

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

func (*BridgeTransferLimit) MarshalToSizedBuffer

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

func (*BridgeTransferLimit) ProtoMessage

func (*BridgeTransferLimit) ProtoMessage()

func (*BridgeTransferLimit) Reset

func (m *BridgeTransferLimit) Reset()

func (*BridgeTransferLimit) Size

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

func (*BridgeTransferLimit) String

func (m *BridgeTransferLimit) String() string

func (*BridgeTransferLimit) Unmarshal

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

func (*BridgeTransferLimit) XXX_DiscardUnknown

func (m *BridgeTransferLimit) XXX_DiscardUnknown()

func (*BridgeTransferLimit) XXX_Marshal

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

func (*BridgeTransferLimit) XXX_Merge

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

func (*BridgeTransferLimit) XXX_Size

func (m *BridgeTransferLimit) XXX_Size() int

func (*BridgeTransferLimit) XXX_Unmarshal

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

type BridgeTransferUsage

type BridgeTransferUsage struct {
	Total            cosmossdk_io_math.Int `protobuf:"bytes,1,opt,name=total,proto3,customtype=cosmossdk.io/math.Int" json:"total"`
	StartBlockHeight int64                 `protobuf:"varint,2,opt,name=start_block_height,json=startBlockHeight,proto3" json:"start_block_height,omitempty"`
}

Transfer usage counters used to check for transfer limits for a single denom. `total` maintains the total amount transferred during the current window. `start_block_height` maintains the block height of the first transfer in the current window.

func (*BridgeTransferUsage) Descriptor

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

func (*BridgeTransferUsage) GetStartBlockHeight

func (m *BridgeTransferUsage) GetStartBlockHeight() int64

func (*BridgeTransferUsage) Marshal

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

func (*BridgeTransferUsage) MarshalTo

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

func (*BridgeTransferUsage) MarshalToSizedBuffer

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

func (*BridgeTransferUsage) ProtoMessage

func (*BridgeTransferUsage) ProtoMessage()

func (*BridgeTransferUsage) Reset

func (m *BridgeTransferUsage) Reset()

func (*BridgeTransferUsage) Size

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

func (*BridgeTransferUsage) String

func (m *BridgeTransferUsage) String() string

func (*BridgeTransferUsage) Unmarshal

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

func (*BridgeTransferUsage) XXX_DiscardUnknown

func (m *BridgeTransferUsage) XXX_DiscardUnknown()

func (*BridgeTransferUsage) XXX_Marshal

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

func (*BridgeTransferUsage) XXX_Merge

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

func (*BridgeTransferUsage) XXX_Size

func (m *BridgeTransferUsage) XXX_Size() int

func (*BridgeTransferUsage) XXX_Unmarshal

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

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

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

func (ClaimType) EnumDescriptor

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

func (ClaimType) String

func (x ClaimType) String() string

type ConsensusKeeper

type ConsensusKeeper interface {
	GetPendingValsetUpdates(ctx context.Context, queueTypeName string) ([]consensustypes.QueuedSignedMessageI, error)
}

type DistributionKeeper

type DistributionKeeper interface {
	FundCommunityPool(ctx context.Context, amount sdk.Coins, sender sdk.AccAddress) error
}

type ERC20ToDenom

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

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

func (*ERC20ToDenom) Descriptor

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

func (*ERC20ToDenom) GetChainReferenceId

func (m *ERC20ToDenom) GetChainReferenceId() string

func (*ERC20ToDenom) GetDenom

func (m *ERC20ToDenom) GetDenom() string

func (*ERC20ToDenom) GetErc20

func (m *ERC20ToDenom) GetErc20() string

func (*ERC20ToDenom) Marshal

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

func (*ERC20ToDenom) MarshalTo

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

func (*ERC20ToDenom) MarshalToSizedBuffer

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

func (*ERC20ToDenom) ProtoMessage

func (*ERC20ToDenom) ProtoMessage()

func (*ERC20ToDenom) Reset

func (m *ERC20ToDenom) Reset()

func (*ERC20ToDenom) Size

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

func (*ERC20ToDenom) String

func (m *ERC20ToDenom) String() string

func (*ERC20ToDenom) Unmarshal

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

func (ERC20ToDenom) ValidateBasic

func (m ERC20ToDenom) ValidateBasic() error

func (*ERC20ToDenom) XXX_DiscardUnknown

func (m *ERC20ToDenom) XXX_DiscardUnknown()

func (*ERC20ToDenom) XXX_Marshal

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

func (*ERC20ToDenom) XXX_Merge

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

func (*ERC20ToDenom) XXX_Size

func (m *ERC20ToDenom) XXX_Size() int

func (*ERC20ToDenom) XXX_Unmarshal

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

type ERC20Token

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

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

func NewERC20Token

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

NewERC20Token returns a new instance of an ERC20

func NewSDKIntERC20Token

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

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

func (*ERC20Token) Descriptor

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

func (*ERC20Token) GetChainReferenceId

func (m *ERC20Token) GetChainReferenceId() string

func (*ERC20Token) GetContract

func (m *ERC20Token) GetContract() string

func (*ERC20Token) Marshal

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

func (*ERC20Token) MarshalTo

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

func (*ERC20Token) MarshalToSizedBuffer

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

func (*ERC20Token) ProtoMessage

func (*ERC20Token) ProtoMessage()

func (*ERC20Token) Reset

func (m *ERC20Token) Reset()

func (*ERC20Token) Size

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

func (*ERC20Token) String

func (m *ERC20Token) String() string

func (ERC20Token) ToInternal

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 EVMKeeper

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

type EthAddress

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

Regular EthAddress

func EthAddressFromSignature

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

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

EthereumClaim represents a claim on ethereum state

type EthereumSigned

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

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

type EventBadSignatureEvidence

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 EventInvalidSendToPalomaReceiver

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

func (*EventInvalidSendToPalomaReceiver) Descriptor

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

func (*EventInvalidSendToPalomaReceiver) GetAmount

func (*EventInvalidSendToPalomaReceiver) GetNonce

func (*EventInvalidSendToPalomaReceiver) GetSender

func (*EventInvalidSendToPalomaReceiver) GetToken

func (*EventInvalidSendToPalomaReceiver) Marshal

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

func (*EventInvalidSendToPalomaReceiver) MarshalTo

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

func (*EventInvalidSendToPalomaReceiver) MarshalToSizedBuffer

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

func (*EventInvalidSendToPalomaReceiver) ProtoMessage

func (*EventInvalidSendToPalomaReceiver) ProtoMessage()

func (*EventInvalidSendToPalomaReceiver) Reset

func (*EventInvalidSendToPalomaReceiver) Size

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

func (*EventInvalidSendToPalomaReceiver) String

func (*EventInvalidSendToPalomaReceiver) Unmarshal

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

func (*EventInvalidSendToPalomaReceiver) XXX_DiscardUnknown

func (m *EventInvalidSendToPalomaReceiver) XXX_DiscardUnknown()

func (*EventInvalidSendToPalomaReceiver) XXX_Marshal

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

func (*EventInvalidSendToPalomaReceiver) XXX_Merge

func (*EventInvalidSendToPalomaReceiver) XXX_Size

func (m *EventInvalidSendToPalomaReceiver) XXX_Size() int

func (*EventInvalidSendToPalomaReceiver) XXX_Unmarshal

func (m *EventInvalidSendToPalomaReceiver) 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"`
	Assignee       string `protobuf:"bytes,5,opt,name=assignee,proto3" json:"assignee,omitempty"`
}

func (*EventOutgoingBatch) Descriptor

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

func (*EventOutgoingBatch) GetAssignee

func (m *EventOutgoingBatch) GetAssignee() string

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 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 EventSendToPaloma

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

func (*EventSendToPaloma) Descriptor

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

func (*EventSendToPaloma) GetAmount

func (m *EventSendToPaloma) GetAmount() string

func (*EventSendToPaloma) GetNonce

func (m *EventSendToPaloma) GetNonce() string

func (*EventSendToPaloma) GetToken

func (m *EventSendToPaloma) GetToken() string

func (*EventSendToPaloma) Marshal

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

func (*EventSendToPaloma) MarshalTo

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

func (*EventSendToPaloma) MarshalToSizedBuffer

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

func (*EventSendToPaloma) ProtoMessage

func (*EventSendToPaloma) ProtoMessage()

func (*EventSendToPaloma) Reset

func (m *EventSendToPaloma) Reset()

func (*EventSendToPaloma) Size

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

func (*EventSendToPaloma) String

func (m *EventSendToPaloma) String() string

func (*EventSendToPaloma) Unmarshal

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

func (*EventSendToPaloma) XXX_DiscardUnknown

func (m *EventSendToPaloma) XXX_DiscardUnknown()

func (*EventSendToPaloma) XXX_Marshal

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

func (*EventSendToPaloma) XXX_Merge

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

func (*EventSendToPaloma) XXX_Size

func (m *EventSendToPaloma) XXX_Size() int

func (*EventSendToPaloma) XXX_Unmarshal

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

type EventSendToPalomaLocal

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

func (*EventSendToPalomaLocal) Descriptor

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

func (*EventSendToPalomaLocal) GetAmount

func (m *EventSendToPalomaLocal) GetAmount() string

func (*EventSendToPalomaLocal) GetNonce

func (m *EventSendToPalomaLocal) GetNonce() string

func (*EventSendToPalomaLocal) GetReceiver

func (m *EventSendToPalomaLocal) GetReceiver() string

func (*EventSendToPalomaLocal) GetToken

func (m *EventSendToPalomaLocal) GetToken() string

func (*EventSendToPalomaLocal) Marshal

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

func (*EventSendToPalomaLocal) MarshalTo

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

func (*EventSendToPalomaLocal) MarshalToSizedBuffer

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

func (*EventSendToPalomaLocal) ProtoMessage

func (*EventSendToPalomaLocal) ProtoMessage()

func (*EventSendToPalomaLocal) Reset

func (m *EventSendToPalomaLocal) Reset()

func (*EventSendToPalomaLocal) Size

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

func (*EventSendToPalomaLocal) String

func (m *EventSendToPalomaLocal) String() string

func (*EventSendToPalomaLocal) Unmarshal

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

func (*EventSendToPalomaLocal) XXX_DiscardUnknown

func (m *EventSendToPalomaLocal) XXX_DiscardUnknown()

func (*EventSendToPalomaLocal) XXX_Marshal

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

func (*EventSendToPalomaLocal) XXX_Merge

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

func (*EventSendToPalomaLocal) XXX_Size

func (m *EventSendToPalomaLocal) XXX_Size() int

func (*EventSendToPalomaLocal) XXX_Unmarshal

func (m *EventSendToPalomaLocal) 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 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"`
	SkywayNonces         []SkywayNonces         `protobuf:"bytes,2,rep,name=skyway_nonces,json=skywayNonces,proto3" json:"skyway_nonces"`
	Batches              []OutgoingTxBatch      `protobuf:"bytes,3,rep,name=batches,proto3" json:"batches"`
	BatchConfirms        []MsgConfirmBatch      `protobuf:"bytes,4,rep,name=batch_confirms,json=batchConfirms,proto3" json:"batch_confirms"`
	Attestations         []Attestation          `protobuf:"bytes,7,rep,name=attestations,proto3" json:"attestations"`
	Erc20ToDenoms        []ERC20ToDenom         `protobuf:"bytes,9,rep,name=erc20_to_denoms,json=erc20ToDenoms,proto3" json:"erc20_to_denoms"`
	UnbatchedTransfers   []OutgoingTransferTx   `protobuf:"bytes,10,rep,name=unbatched_transfers,json=unbatchedTransfers,proto3" json:"unbatched_transfers"`
	BridgeTransferLimits []*BridgeTransferLimit `protobuf:"bytes,12,rep,name=bridge_transfer_limits,json=bridgeTransferLimits,proto3" json:"bridge_transfer_limits,omitempty"`
	BridgeTaxes          []*BridgeTax           `protobuf:"bytes,13,rep,name=bridge_taxes,json=bridgeTaxes,proto3" json:"bridge_taxes,omitempty"`
}

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

func DefaultGenesisState

func DefaultGenesisState() *GenesisState

DefaultGenesisState returns empty genesis state nolint: exhaustruct

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

func (m *GenesisState) GetBridgeTaxes() []*BridgeTax

func (*GenesisState) GetBridgeTransferLimits

func (m *GenesisState) GetBridgeTransferLimits() []*BridgeTransferLimit

func (*GenesisState) GetErc20ToDenoms

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

func (*GenesisState) GetParams

func (m *GenesisState) GetParams() *Params

func (*GenesisState) GetSkywayNonces

func (m *GenesisState) GetSkywayNonces() []SkywayNonces

func (*GenesisState) GetUnbatchedTransfers

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

func (*GenesisState) Marshal

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

func (*GenesisState) MarshalTo

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

func (*GenesisState) MarshalToSizedBuffer

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

func (*GenesisState) ProtoMessage

func (*GenesisState) ProtoMessage()

func (*GenesisState) Reset

func (m *GenesisState) Reset()

func (*GenesisState) Size

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

func (*GenesisState) String

func (m *GenesisState) String() string

func (*GenesisState) Unmarshal

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

func (GenesisState) ValidateBasic

func (s GenesisState) ValidateBasic() error

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

func (*GenesisState) XXX_DiscardUnknown

func (m *GenesisState) XXX_DiscardUnknown()

func (*GenesisState) XXX_Marshal

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

func (*GenesisState) XXX_Merge

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

func (*GenesisState) XXX_Size

func (m *GenesisState) XXX_Size() int

func (*GenesisState) XXX_Unmarshal

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

type 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 Skyway 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 Skyway bridge power is normalized using the equation.

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

As an example if someone has 52% of the Cosmos voting power when a validator set is created their Skyway 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 Skyway 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           math.Int
	Contract         EthAddress
	ChainReferenceID string
}

InternalERC20Token contains validated fields, used for all internal computation

func NewInternalERC20Token

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

NewInternalERC20Token creates an InternalERC20Token, performing validation and returning any errors

func (*InternalERC20Token) Add

Add adds one ERC20 to another

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
	BridgeTaxAmount math.Int
}

InternalOutgoingTransferTx is an internal duplicate of OutgoingTransferTx with validation

func NewInternalOutgoingTransferTx

func NewInternalOutgoingTransferTx(
	id uint64,
	sender string,
	destAddress string,
	erc20Token ERC20Token,
	bridgeTaxAmount math.Int,
) (*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
	PalomaBlockCreated uint64
	ChainReferenceID   string
	BytesToSign        []byte
	Assignee           string
}

InternalOutgoingTxBatch is an internal duplicate of OutgoingTxBatch with validation

func NewInternalOutgingTxBatch

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

func NewInternalOutgingTxBatchFromExternalBatch

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

func (InternalOutgoingTxBatch) GetChainReferenceID

func (i InternalOutgoingTxBatch) GetChainReferenceID() string

func (InternalOutgoingTxBatch) GetCheckpoint

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

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

InternalOutgoingTxBatches is an internal duplicate array of OutgoingTxBatch with validation

func (*InternalOutgoingTxBatches) ToExternalArray

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

type LastObservedEthereumBlockHeight

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

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

func (*LastObservedEthereumBlockHeight) Descriptor

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

func (*LastObservedEthereumBlockHeight) GetEthereumBlockHeight

func (m *LastObservedEthereumBlockHeight) GetEthereumBlockHeight() uint64

func (*LastObservedEthereumBlockHeight) GetPalomaBlockHeight

func (m *LastObservedEthereumBlockHeight) GetPalomaBlockHeight() 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 LimitPeriod

type LimitPeriod int32
const (
	LimitPeriod_NONE    LimitPeriod = 0
	LimitPeriod_DAILY   LimitPeriod = 1
	LimitPeriod_WEEKLY  LimitPeriod = 2
	LimitPeriod_MONTHLY LimitPeriod = 3
	LimitPeriod_YEARLY  LimitPeriod = 4
)

func (LimitPeriod) EnumDescriptor

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

func (LimitPeriod) String

func (x LimitPeriod) String() string

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"`
	ChainReferenceId string             `protobuf:"bytes,5,opt,name=chain_reference_id,json=chainReferenceId,proto3" json:"chain_reference_id,omitempty"`
	Orchestrator     string             `protobuf:"bytes,6,opt,name=orchestrator,proto3" json:"orchestrator,omitempty"`
	Metadata         types1.MsgMetadata `protobuf:"bytes,7,opt,name=metadata,proto3" json:"metadata"`
	SkywayNonce      uint64             `protobuf:"varint,8,opt,name=skyway_nonce,json=skywayNonce,proto3" json:"skyway_nonce,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) GetChainReferenceId

func (m *MsgBatchSendToEthClaim) GetChainReferenceId() string

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

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

func (*MsgBatchSendToEthClaim) GetOrchestrator

func (m *MsgBatchSendToEthClaim) GetOrchestrator() string

func (MsgBatchSendToEthClaim) GetSigners

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

GetSigners defines whose signature is required

func (*MsgBatchSendToEthClaim) GetSkywayNonce

func (m *MsgBatchSendToEthClaim) GetSkywayNonce() uint64

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

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

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"`
	Metadata      types1.MsgMetadata `protobuf:"bytes,3,opt,name=metadata,proto3" json:"metadata"`
}

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

func NewMsgCancelSendToEth

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

NewMsgCancelSendToEth returns a new msgSetOrchestratorAddress

func (*MsgCancelSendToEth) Descriptor

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

func (*MsgCancelSendToEth) GetMetadata

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

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

func (m *MsgCancelSendToEth) XXX_DiscardUnknown()

func (*MsgCancelSendToEth) XXX_Marshal

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

func (*MsgCancelSendToEth) XXX_Merge

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

func (*MsgCancelSendToEth) XXX_Size

func (m *MsgCancelSendToEth) XXX_Size() int

func (*MsgCancelSendToEth) XXX_Unmarshal

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

type MsgCancelSendToEthResponse

type MsgCancelSendToEthResponse struct{}

func (*MsgCancelSendToEthResponse) Descriptor

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

func (*MsgCancelSendToEthResponse) Marshal

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

func (*MsgCancelSendToEthResponse) MarshalTo

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

func (*MsgCancelSendToEthResponse) MarshalToSizedBuffer

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

func (*MsgCancelSendToEthResponse) ProtoMessage

func (*MsgCancelSendToEthResponse) ProtoMessage()

func (*MsgCancelSendToEthResponse) Reset

func (m *MsgCancelSendToEthResponse) Reset()

func (*MsgCancelSendToEthResponse) Size

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

func (*MsgCancelSendToEthResponse) String

func (m *MsgCancelSendToEthResponse) String() string

func (*MsgCancelSendToEthResponse) Unmarshal

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

func (*MsgCancelSendToEthResponse) XXX_DiscardUnknown

func (m *MsgCancelSendToEthResponse) XXX_DiscardUnknown()

func (*MsgCancelSendToEthResponse) XXX_Marshal

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

func (*MsgCancelSendToEthResponse) XXX_Merge

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

func (*MsgCancelSendToEthResponse) XXX_Size

func (m *MsgCancelSendToEthResponse) XXX_Size() int

func (*MsgCancelSendToEthResponse) XXX_Unmarshal

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

type MsgClient

MsgClient is the client API for Msg service.

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

func NewMsgClient

func NewMsgClient(cc grpc1.ClientConn) MsgClient

type MsgConfirmBatch

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

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

func (*MsgConfirmBatch) Descriptor

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

func (*MsgConfirmBatch) GetEthSigner

func (m *MsgConfirmBatch) GetEthSigner() string

func (*MsgConfirmBatch) GetMetadata

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

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 MsgSendToEth

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

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

func NewMsgSendToEth

func NewMsgSendToEth(sender sdk.AccAddress, destAddress EthAddress, send sdk.Coin, chainReferenceID string) *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) GetChainReferenceId

func (m *MsgSendToEth) GetChainReferenceId() string

func (*MsgSendToEth) GetEthDest

func (m *MsgSendToEth) GetEthDest() string

func (*MsgSendToEth) GetMetadata

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

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 MsgSendToPalomaClaim

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

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

func (*MsgSendToPalomaClaim) ClaimHash

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

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

func (*MsgSendToPalomaClaim) Descriptor

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

func (*MsgSendToPalomaClaim) GetChainReferenceId

func (m *MsgSendToPalomaClaim) GetChainReferenceId() string

func (MsgSendToPalomaClaim) GetClaimer

func (msg MsgSendToPalomaClaim) GetClaimer() sdk.AccAddress

func (*MsgSendToPalomaClaim) GetEthBlockHeight

func (m *MsgSendToPalomaClaim) GetEthBlockHeight() uint64

func (*MsgSendToPalomaClaim) GetEthereumSender

func (m *MsgSendToPalomaClaim) GetEthereumSender() string

func (*MsgSendToPalomaClaim) GetEventNonce

func (m *MsgSendToPalomaClaim) GetEventNonce() uint64

func (*MsgSendToPalomaClaim) GetMetadata

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

func (*MsgSendToPalomaClaim) GetOrchestrator

func (m *MsgSendToPalomaClaim) GetOrchestrator() string

func (*MsgSendToPalomaClaim) GetPalomaReceiver

func (m *MsgSendToPalomaClaim) GetPalomaReceiver() string

func (MsgSendToPalomaClaim) GetSignBytes

func (msg MsgSendToPalomaClaim) GetSignBytes() []byte

GetSignBytes encodes the message for signing

func (MsgSendToPalomaClaim) GetSigners

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

GetSigners defines whose signature is required

func (*MsgSendToPalomaClaim) GetSkywayNonce

func (m *MsgSendToPalomaClaim) GetSkywayNonce() uint64

func (*MsgSendToPalomaClaim) GetTokenContract

func (m *MsgSendToPalomaClaim) GetTokenContract() string

func (*MsgSendToPalomaClaim) GetType

func (msg *MsgSendToPalomaClaim) GetType() ClaimType

GetType returns the type of the claim

func (*MsgSendToPalomaClaim) Marshal

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

func (*MsgSendToPalomaClaim) MarshalTo

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

func (*MsgSendToPalomaClaim) MarshalToSizedBuffer

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

func (*MsgSendToPalomaClaim) ProtoMessage

func (*MsgSendToPalomaClaim) ProtoMessage()

func (*MsgSendToPalomaClaim) Reset

func (m *MsgSendToPalomaClaim) Reset()

func (MsgSendToPalomaClaim) Route

func (msg MsgSendToPalomaClaim) Route() string

Route should return the name of the module

func (*MsgSendToPalomaClaim) SetOrchestrator

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

func (*MsgSendToPalomaClaim) Size

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

func (*MsgSendToPalomaClaim) String

func (m *MsgSendToPalomaClaim) String() string

func (MsgSendToPalomaClaim) Type

func (msg MsgSendToPalomaClaim) Type() string

Type should return the action

func (*MsgSendToPalomaClaim) Unmarshal

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

func (*MsgSendToPalomaClaim) ValidateBasic

func (msg *MsgSendToPalomaClaim) ValidateBasic() error

ValidateBasic performs stateless checks

func (*MsgSendToPalomaClaim) XXX_DiscardUnknown

func (m *MsgSendToPalomaClaim) XXX_DiscardUnknown()

func (*MsgSendToPalomaClaim) XXX_Marshal

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

func (*MsgSendToPalomaClaim) XXX_Merge

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

func (*MsgSendToPalomaClaim) XXX_Size

func (m *MsgSendToPalomaClaim) XXX_Size() int

func (*MsgSendToPalomaClaim) XXX_Unmarshal

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

type MsgSendToPalomaClaimResponse

type MsgSendToPalomaClaimResponse struct{}

func (*MsgSendToPalomaClaimResponse) Descriptor

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

func (*MsgSendToPalomaClaimResponse) Marshal

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

func (*MsgSendToPalomaClaimResponse) MarshalTo

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

func (*MsgSendToPalomaClaimResponse) MarshalToSizedBuffer

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

func (*MsgSendToPalomaClaimResponse) ProtoMessage

func (*MsgSendToPalomaClaimResponse) ProtoMessage()

func (*MsgSendToPalomaClaimResponse) Reset

func (m *MsgSendToPalomaClaimResponse) Reset()

func (*MsgSendToPalomaClaimResponse) Size

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

func (*MsgSendToPalomaClaimResponse) String

func (*MsgSendToPalomaClaimResponse) Unmarshal

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

func (*MsgSendToPalomaClaimResponse) XXX_DiscardUnknown

func (m *MsgSendToPalomaClaimResponse) XXX_DiscardUnknown()

func (*MsgSendToPalomaClaimResponse) XXX_Marshal

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

func (*MsgSendToPalomaClaimResponse) XXX_Merge

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

func (*MsgSendToPalomaClaimResponse) XXX_Size

func (m *MsgSendToPalomaClaimResponse) XXX_Size() int

func (*MsgSendToPalomaClaimResponse) XXX_Unmarshal

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

type MsgSubmitBadSignatureEvidence

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

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

func (*MsgSubmitBadSignatureEvidence) Descriptor

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

func (*MsgSubmitBadSignatureEvidence) GetChainReferenceId

func (m *MsgSubmitBadSignatureEvidence) GetChainReferenceId() string

func (*MsgSubmitBadSignatureEvidence) GetMetadata

func (*MsgSubmitBadSignatureEvidence) GetSender deprecated

func (m *MsgSubmitBadSignatureEvidence) GetSender() string

Deprecated: Do not use.

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() *types2.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 MsgUpdateParams

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

func (*MsgUpdateParams) Descriptor

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

func (*MsgUpdateParams) GetAuthority

func (m *MsgUpdateParams) GetAuthority() string

func (*MsgUpdateParams) GetMetadata

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

func (*MsgUpdateParams) GetParams

func (m *MsgUpdateParams) GetParams() Params

func (*MsgUpdateParams) GetSigners

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

GetSigners defines whose signature is required

func (*MsgUpdateParams) Marshal

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

func (*MsgUpdateParams) MarshalTo

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

func (*MsgUpdateParams) MarshalToSizedBuffer

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

func (*MsgUpdateParams) ProtoMessage

func (*MsgUpdateParams) ProtoMessage()

func (*MsgUpdateParams) Reset

func (m *MsgUpdateParams) Reset()

func (MsgUpdateParams) Route

func (msg MsgUpdateParams) Route() string

Route should return the name of the module

func (*MsgUpdateParams) Size

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

func (*MsgUpdateParams) String

func (m *MsgUpdateParams) String() string

func (MsgUpdateParams) Type

func (msg MsgUpdateParams) Type() string

Type should return the action

func (*MsgUpdateParams) Unmarshal

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

func (*MsgUpdateParams) ValidateBasic

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

ValidateBasic performs stateless checks

func (*MsgUpdateParams) XXX_DiscardUnknown

func (m *MsgUpdateParams) XXX_DiscardUnknown()

func (*MsgUpdateParams) XXX_Marshal

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

func (*MsgUpdateParams) XXX_Merge

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

func (*MsgUpdateParams) XXX_Size

func (m *MsgUpdateParams) XXX_Size() int

func (*MsgUpdateParams) XXX_Unmarshal

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

type MsgUpdateParamsResponse

type MsgUpdateParamsResponse struct{}

MsgUpdateParamsResponse defines the response structure for executing a MsgUpdateParams message.

func (*MsgUpdateParamsResponse) Descriptor

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

func (*MsgUpdateParamsResponse) Marshal

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

func (*MsgUpdateParamsResponse) MarshalTo

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

func (*MsgUpdateParamsResponse) MarshalToSizedBuffer

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

func (*MsgUpdateParamsResponse) ProtoMessage

func (*MsgUpdateParamsResponse) ProtoMessage()

func (*MsgUpdateParamsResponse) Reset

func (m *MsgUpdateParamsResponse) Reset()

func (*MsgUpdateParamsResponse) Size

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

func (*MsgUpdateParamsResponse) String

func (m *MsgUpdateParamsResponse) String() string

func (*MsgUpdateParamsResponse) Unmarshal

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

func (*MsgUpdateParamsResponse) XXX_DiscardUnknown

func (m *MsgUpdateParamsResponse) XXX_DiscardUnknown()

func (*MsgUpdateParamsResponse) XXX_Marshal

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

func (*MsgUpdateParamsResponse) XXX_Merge

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

func (*MsgUpdateParamsResponse) XXX_Size

func (m *MsgUpdateParamsResponse) XXX_Size() int

func (*MsgUpdateParamsResponse) XXX_Unmarshal

func (m *MsgUpdateParamsResponse) 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"`
	BridgeTaxAmount cosmossdk_io_math.Int `` /* 131-byte string literal not displayed */
}

OutgoingTransferTx represents an individual send from skyway to ETH

func (*OutgoingTransferTx) Descriptor

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

func (*OutgoingTransferTx) GetDestAddress

func (m *OutgoingTransferTx) GetDestAddress() string

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"`
	PalomaBlockCreated uint64               `protobuf:"varint,5,opt,name=paloma_block_created,json=palomaBlockCreated,proto3" json:"paloma_block_created,omitempty"`
	ChainReferenceId   string               `protobuf:"bytes,6,opt,name=chain_reference_id,json=chainReferenceId,proto3" json:"chain_reference_id,omitempty"`
	BytesToSign        []byte               `protobuf:"bytes,7,opt,name=bytes_to_sign,json=bytesToSign,proto3" json:"bytes_to_sign,omitempty"`
	Assignee           string               `protobuf:"bytes,8,opt,name=assignee,proto3" json:"assignee,omitempty"`
}

OutgoingTxBatch represents a batch of transactions going from skyway to ETH

func (*OutgoingTxBatch) Descriptor

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

func (*OutgoingTxBatch) GetAssignee

func (m *OutgoingTxBatch) GetAssignee() string

func (*OutgoingTxBatch) GetBatchNonce

func (m *OutgoingTxBatch) GetBatchNonce() uint64

func (*OutgoingTxBatch) GetBatchTimeout

func (m *OutgoingTxBatch) GetBatchTimeout() uint64

func (*OutgoingTxBatch) GetBytesToSign

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

func (OutgoingTxBatch) GetChainReferenceID

func (o OutgoingTxBatch) GetChainReferenceID() string

GetChainReferenceID is required for EthereumSigned interface

func (*OutgoingTxBatch) GetChainReferenceId

func (m *OutgoingTxBatch) GetChainReferenceId() string

func (OutgoingTxBatch) GetCheckpoint

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

GetCheckpoint is required for EthereumSigned interface

func (*OutgoingTxBatch) GetPalomaBlockCreated

func (m *OutgoingTxBatch) GetPalomaBlockCreated() uint64

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{}

The slashing fractions for the various skyway related slashing conditions. The first three refer to not submitting a particular message, the third for submitting a different claim for the same ethereum event

func DefaultParams

func DefaultParams() *Params

DefaultParams returns a copy of the default params

func NewParams

func NewParams() 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) Marshal

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

func (*Params) MarshalTo

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

func (*Params) MarshalToSizedBuffer

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

func (*Params) ParamSetPairs

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

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

func (*Params) ProtoMessage

func (*Params) ProtoMessage()

func (*Params) Reset

func (m *Params) Reset()

func (*Params) Size

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

func (*Params) String

func (m *Params) String() string

func (*Params) Unmarshal

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

func (Params) ValidateBasic

func (p Params) ValidateBasic() error

ValidateBasic checks that the parameters have valid values.

func (*Params) XXX_DiscardUnknown

func (m *Params) XXX_DiscardUnknown()

func (*Params) XXX_Marshal

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

func (*Params) XXX_Merge

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

func (*Params) XXX_Size

func (m *Params) XXX_Size() int

func (*Params) XXX_Unmarshal

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

type QueryAttestationsRequest

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"`
	// reference id of remote chain for which to query.
	ChainReferenceId string `protobuf:"bytes,7,opt,name=chain_reference_id,json=chainReferenceId,proto3" json:"chain_reference_id,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) GetChainReferenceId

func (m *QueryAttestationsRequest) GetChainReferenceId() string

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

type QueryBridgeTaxesResponse struct {
	BridgeTaxes []*BridgeTax `protobuf:"bytes,1,rep,name=bridge_taxes,json=bridgeTaxes,proto3" json:"bridge_taxes,omitempty"`
}

func (*QueryBridgeTaxesResponse) Descriptor

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

func (*QueryBridgeTaxesResponse) GetBridgeTaxes

func (m *QueryBridgeTaxesResponse) GetBridgeTaxes() []*BridgeTax

func (*QueryBridgeTaxesResponse) Marshal

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

func (*QueryBridgeTaxesResponse) MarshalTo

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

func (*QueryBridgeTaxesResponse) MarshalToSizedBuffer

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

func (*QueryBridgeTaxesResponse) ProtoMessage

func (*QueryBridgeTaxesResponse) ProtoMessage()

func (*QueryBridgeTaxesResponse) Reset

func (m *QueryBridgeTaxesResponse) Reset()

func (*QueryBridgeTaxesResponse) Size

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

func (*QueryBridgeTaxesResponse) String

func (m *QueryBridgeTaxesResponse) String() string

func (*QueryBridgeTaxesResponse) Unmarshal

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

func (*QueryBridgeTaxesResponse) XXX_DiscardUnknown

func (m *QueryBridgeTaxesResponse) XXX_DiscardUnknown()

func (*QueryBridgeTaxesResponse) XXX_Marshal

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

func (*QueryBridgeTaxesResponse) XXX_Merge

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

func (*QueryBridgeTaxesResponse) XXX_Size

func (m *QueryBridgeTaxesResponse) XXX_Size() int

func (*QueryBridgeTaxesResponse) XXX_Unmarshal

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

type QueryBridgeTransferLimitsResponse

type QueryBridgeTransferLimitsResponse struct {
	Limits []*QueryBridgeTransferLimitsResponse_LimitUsage `protobuf:"bytes,1,rep,name=limits,proto3" json:"limits,omitempty"`
}

func (*QueryBridgeTransferLimitsResponse) Descriptor

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

func (*QueryBridgeTransferLimitsResponse) GetLimits

func (*QueryBridgeTransferLimitsResponse) Marshal

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

func (*QueryBridgeTransferLimitsResponse) MarshalTo

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

func (*QueryBridgeTransferLimitsResponse) MarshalToSizedBuffer

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

func (*QueryBridgeTransferLimitsResponse) ProtoMessage

func (*QueryBridgeTransferLimitsResponse) ProtoMessage()

func (*QueryBridgeTransferLimitsResponse) Reset

func (*QueryBridgeTransferLimitsResponse) Size

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

func (*QueryBridgeTransferLimitsResponse) String

func (*QueryBridgeTransferLimitsResponse) Unmarshal

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

func (*QueryBridgeTransferLimitsResponse) XXX_DiscardUnknown

func (m *QueryBridgeTransferLimitsResponse) XXX_DiscardUnknown()

func (*QueryBridgeTransferLimitsResponse) XXX_Marshal

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

func (*QueryBridgeTransferLimitsResponse) XXX_Merge

func (*QueryBridgeTransferLimitsResponse) XXX_Size

func (m *QueryBridgeTransferLimitsResponse) XXX_Size() int

func (*QueryBridgeTransferLimitsResponse) XXX_Unmarshal

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

type QueryBridgeTransferLimitsResponse_LimitUsage

type QueryBridgeTransferLimitsResponse_LimitUsage struct {
	Limit *BridgeTransferLimit `protobuf:"bytes,1,opt,name=limit,proto3" json:"limit,omitempty"`
	Usage *BridgeTransferUsage `protobuf:"bytes,2,opt,name=usage,proto3" json:"usage,omitempty"`
}

func (*QueryBridgeTransferLimitsResponse_LimitUsage) Descriptor

func (*QueryBridgeTransferLimitsResponse_LimitUsage) GetLimit

func (*QueryBridgeTransferLimitsResponse_LimitUsage) GetUsage

func (*QueryBridgeTransferLimitsResponse_LimitUsage) Marshal

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

func (*QueryBridgeTransferLimitsResponse_LimitUsage) MarshalTo

func (*QueryBridgeTransferLimitsResponse_LimitUsage) MarshalToSizedBuffer

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

func (*QueryBridgeTransferLimitsResponse_LimitUsage) ProtoMessage

func (*QueryBridgeTransferLimitsResponse_LimitUsage) Reset

func (*QueryBridgeTransferLimitsResponse_LimitUsage) Size

func (*QueryBridgeTransferLimitsResponse_LimitUsage) String

func (*QueryBridgeTransferLimitsResponse_LimitUsage) Unmarshal

func (*QueryBridgeTransferLimitsResponse_LimitUsage) XXX_DiscardUnknown

func (m *QueryBridgeTransferLimitsResponse_LimitUsage) XXX_DiscardUnknown()

func (*QueryBridgeTransferLimitsResponse_LimitUsage) XXX_Marshal

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

func (*QueryBridgeTransferLimitsResponse_LimitUsage) XXX_Merge

func (*QueryBridgeTransferLimitsResponse_LimitUsage) XXX_Size

func (*QueryBridgeTransferLimitsResponse_LimitUsage) XXX_Unmarshal

type QueryClient

type QueryClient interface {
	Params(ctx context.Context, in *QueryParamsRequest, opts ...grpc.CallOption) (*QueryParamsResponse, error)
	LastPendingBatchRequestByAddr(ctx context.Context, in *QueryLastPendingBatchRequestByAddrRequest, opts ...grpc.CallOption) (*QueryLastPendingBatchRequestByAddrResponse, error)
	LastObservedSkywayNonce(ctx context.Context, in *QueryLastObservedSkywayNonceRequest, opts ...grpc.CallOption) (*QueryLastObservedSkywayNonceResponse, error)
	LastObservedSkywayNonceByAddr(ctx context.Context, in *QueryLastObservedSkywayNonceByAddrRequest, opts ...grpc.CallOption) (*QueryLastObservedSkywayNonceResponse, error)
	LastObservedSkywayBlock(ctx context.Context, in *QueryLastObservedSkywayBlockRequest, opts ...grpc.CallOption) (*QueryLastObservedSkywayBlockResponse, error)
	OutgoingTxBatches(ctx context.Context, in *QueryOutgoingTxBatchesRequest, opts ...grpc.CallOption) (*QueryOutgoingTxBatchesResponse, error)
	BatchRequestByNonce(ctx context.Context, in *QueryBatchRequestByNonceRequest, opts ...grpc.CallOption) (*QueryBatchRequestByNonceResponse, error)
	BatchConfirms(ctx context.Context, in *QueryBatchConfirmsRequest, opts ...grpc.CallOption) (*QueryBatchConfirmsResponse, error)
	ERC20ToDenom(ctx context.Context, in *QueryERC20ToDenomRequest, opts ...grpc.CallOption) (*QueryERC20ToDenomResponse, error)
	DenomToERC20(ctx context.Context, in *QueryDenomToERC20Request, opts ...grpc.CallOption) (*QueryDenomToERC20Response, error)
	GetAttestations(ctx context.Context, in *QueryAttestationsRequest, opts ...grpc.CallOption) (*QueryAttestationsResponse, error)
	GetErc20ToDenoms(ctx context.Context, in *QueryErc20ToDenoms, opts ...grpc.CallOption) (*QueryErc20ToDenomsResponse, error)
	GetPendingSendToEth(ctx context.Context, in *QueryPendingSendToEth, opts ...grpc.CallOption) (*QueryPendingSendToEthResponse, error)
	GetBridgeTaxes(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*QueryBridgeTaxesResponse, error)
	GetBridgeTransferLimits(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*QueryBridgeTransferLimitsResponse, error)
}

QueryClient is the client API for Query service.

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

func NewQueryClient

func NewQueryClient(cc grpc1.ClientConn) QueryClient

type QueryDenomToERC20Request

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

func (*QueryDenomToERC20Request) Descriptor

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

func (*QueryDenomToERC20Request) GetChainReferenceId

func (m *QueryDenomToERC20Request) GetChainReferenceId() string

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

func (*QueryDenomToERC20Response) Descriptor

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

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"`
	ChainReferenceId string `protobuf:"bytes,2,opt,name=chain_reference_id,json=chainReferenceId,proto3" json:"chain_reference_id,omitempty"`
}

func (*QueryERC20ToDenomRequest) Descriptor

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

func (*QueryERC20ToDenomRequest) GetChainReferenceId

func (m *QueryERC20ToDenomRequest) GetChainReferenceId() string

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

func (*QueryERC20ToDenomResponse) Descriptor

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

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 QueryErc20ToDenoms

type QueryErc20ToDenoms struct {
}

func (*QueryErc20ToDenoms) Descriptor

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

func (*QueryErc20ToDenoms) Marshal

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

func (*QueryErc20ToDenoms) MarshalTo

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

func (*QueryErc20ToDenoms) MarshalToSizedBuffer

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

func (*QueryErc20ToDenoms) ProtoMessage

func (*QueryErc20ToDenoms) ProtoMessage()

func (*QueryErc20ToDenoms) Reset

func (m *QueryErc20ToDenoms) Reset()

func (*QueryErc20ToDenoms) Size

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

func (*QueryErc20ToDenoms) String

func (m *QueryErc20ToDenoms) String() string

func (*QueryErc20ToDenoms) Unmarshal

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

func (*QueryErc20ToDenoms) XXX_DiscardUnknown

func (m *QueryErc20ToDenoms) XXX_DiscardUnknown()

func (*QueryErc20ToDenoms) XXX_Marshal

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

func (*QueryErc20ToDenoms) XXX_Merge

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

func (*QueryErc20ToDenoms) XXX_Size

func (m *QueryErc20ToDenoms) XXX_Size() int

func (*QueryErc20ToDenoms) XXX_Unmarshal

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

type QueryErc20ToDenomsResponse

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

func (*QueryErc20ToDenomsResponse) Descriptor

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

func (*QueryErc20ToDenomsResponse) GetErc20ToDenom

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

func (*QueryErc20ToDenomsResponse) Marshal

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

func (*QueryErc20ToDenomsResponse) MarshalTo

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

func (*QueryErc20ToDenomsResponse) MarshalToSizedBuffer

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

func (*QueryErc20ToDenomsResponse) ProtoMessage

func (*QueryErc20ToDenomsResponse) ProtoMessage()

func (*QueryErc20ToDenomsResponse) Reset

func (m *QueryErc20ToDenomsResponse) Reset()

func (*QueryErc20ToDenomsResponse) Size

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

func (*QueryErc20ToDenomsResponse) String

func (m *QueryErc20ToDenomsResponse) String() string

func (*QueryErc20ToDenomsResponse) Unmarshal

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

func (*QueryErc20ToDenomsResponse) XXX_DiscardUnknown

func (m *QueryErc20ToDenomsResponse) XXX_DiscardUnknown()

func (*QueryErc20ToDenomsResponse) XXX_Marshal

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

func (*QueryErc20ToDenomsResponse) XXX_Merge

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

func (*QueryErc20ToDenomsResponse) XXX_Size

func (m *QueryErc20ToDenomsResponse) XXX_Size() int

func (*QueryErc20ToDenomsResponse) XXX_Unmarshal

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

type QueryLastObservedSkywayBlockRequest

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

func (*QueryLastObservedSkywayBlockRequest) Descriptor

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

func (*QueryLastObservedSkywayBlockRequest) GetChainReferenceId

func (m *QueryLastObservedSkywayBlockRequest) GetChainReferenceId() string

func (*QueryLastObservedSkywayBlockRequest) Marshal

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

func (*QueryLastObservedSkywayBlockRequest) MarshalTo

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

func (*QueryLastObservedSkywayBlockRequest) MarshalToSizedBuffer

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

func (*QueryLastObservedSkywayBlockRequest) ProtoMessage

func (*QueryLastObservedSkywayBlockRequest) ProtoMessage()

func (*QueryLastObservedSkywayBlockRequest) Reset

func (*QueryLastObservedSkywayBlockRequest) Size

func (*QueryLastObservedSkywayBlockRequest) String

func (*QueryLastObservedSkywayBlockRequest) Unmarshal

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

func (*QueryLastObservedSkywayBlockRequest) XXX_DiscardUnknown

func (m *QueryLastObservedSkywayBlockRequest) XXX_DiscardUnknown()

func (*QueryLastObservedSkywayBlockRequest) XXX_Marshal

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

func (*QueryLastObservedSkywayBlockRequest) XXX_Merge

func (*QueryLastObservedSkywayBlockRequest) XXX_Size

func (*QueryLastObservedSkywayBlockRequest) XXX_Unmarshal

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

type QueryLastObservedSkywayBlockResponse

type QueryLastObservedSkywayBlockResponse struct {
	Block uint64 `protobuf:"varint,1,opt,name=block,proto3" json:"block,omitempty"`
}

func (*QueryLastObservedSkywayBlockResponse) Descriptor

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

func (*QueryLastObservedSkywayBlockResponse) GetBlock

func (*QueryLastObservedSkywayBlockResponse) Marshal

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

func (*QueryLastObservedSkywayBlockResponse) MarshalTo

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

func (*QueryLastObservedSkywayBlockResponse) MarshalToSizedBuffer

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

func (*QueryLastObservedSkywayBlockResponse) ProtoMessage

func (*QueryLastObservedSkywayBlockResponse) ProtoMessage()

func (*QueryLastObservedSkywayBlockResponse) Reset

func (*QueryLastObservedSkywayBlockResponse) Size

func (*QueryLastObservedSkywayBlockResponse) String

func (*QueryLastObservedSkywayBlockResponse) Unmarshal

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

func (*QueryLastObservedSkywayBlockResponse) XXX_DiscardUnknown

func (m *QueryLastObservedSkywayBlockResponse) XXX_DiscardUnknown()

func (*QueryLastObservedSkywayBlockResponse) XXX_Marshal

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

func (*QueryLastObservedSkywayBlockResponse) XXX_Merge

func (*QueryLastObservedSkywayBlockResponse) XXX_Size

func (*QueryLastObservedSkywayBlockResponse) XXX_Unmarshal

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

type QueryLastObservedSkywayNonceByAddrRequest

type QueryLastObservedSkywayNonceByAddrRequest struct {
	Address          string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
	ChainReferenceId string `protobuf:"bytes,2,opt,name=chain_reference_id,json=chainReferenceId,proto3" json:"chain_reference_id,omitempty"`
}

func (*QueryLastObservedSkywayNonceByAddrRequest) Descriptor

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

func (*QueryLastObservedSkywayNonceByAddrRequest) GetAddress

func (*QueryLastObservedSkywayNonceByAddrRequest) GetChainReferenceId

func (m *QueryLastObservedSkywayNonceByAddrRequest) GetChainReferenceId() string

func (*QueryLastObservedSkywayNonceByAddrRequest) Marshal

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

func (*QueryLastObservedSkywayNonceByAddrRequest) MarshalTo

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

func (*QueryLastObservedSkywayNonceByAddrRequest) MarshalToSizedBuffer

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

func (*QueryLastObservedSkywayNonceByAddrRequest) ProtoMessage

func (*QueryLastObservedSkywayNonceByAddrRequest) Reset

func (*QueryLastObservedSkywayNonceByAddrRequest) Size

func (*QueryLastObservedSkywayNonceByAddrRequest) String

func (*QueryLastObservedSkywayNonceByAddrRequest) Unmarshal

func (*QueryLastObservedSkywayNonceByAddrRequest) XXX_DiscardUnknown

func (m *QueryLastObservedSkywayNonceByAddrRequest) XXX_DiscardUnknown()

func (*QueryLastObservedSkywayNonceByAddrRequest) XXX_Marshal

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

func (*QueryLastObservedSkywayNonceByAddrRequest) XXX_Merge

func (*QueryLastObservedSkywayNonceByAddrRequest) XXX_Size

func (*QueryLastObservedSkywayNonceByAddrRequest) XXX_Unmarshal

type QueryLastObservedSkywayNonceRequest

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

func (*QueryLastObservedSkywayNonceRequest) Descriptor

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

func (*QueryLastObservedSkywayNonceRequest) GetChainReferenceId

func (m *QueryLastObservedSkywayNonceRequest) GetChainReferenceId() string

func (*QueryLastObservedSkywayNonceRequest) Marshal

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

func (*QueryLastObservedSkywayNonceRequest) MarshalTo

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

func (*QueryLastObservedSkywayNonceRequest) MarshalToSizedBuffer

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

func (*QueryLastObservedSkywayNonceRequest) ProtoMessage

func (*QueryLastObservedSkywayNonceRequest) ProtoMessage()

func (*QueryLastObservedSkywayNonceRequest) Reset

func (*QueryLastObservedSkywayNonceRequest) Size

func (*QueryLastObservedSkywayNonceRequest) String

func (*QueryLastObservedSkywayNonceRequest) Unmarshal

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

func (*QueryLastObservedSkywayNonceRequest) XXX_DiscardUnknown

func (m *QueryLastObservedSkywayNonceRequest) XXX_DiscardUnknown()

func (*QueryLastObservedSkywayNonceRequest) XXX_Marshal

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

func (*QueryLastObservedSkywayNonceRequest) XXX_Merge

func (*QueryLastObservedSkywayNonceRequest) XXX_Size

func (*QueryLastObservedSkywayNonceRequest) XXX_Unmarshal

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

type QueryLastObservedSkywayNonceResponse

type QueryLastObservedSkywayNonceResponse struct {
	Nonce uint64 `protobuf:"varint,1,opt,name=nonce,proto3" json:"nonce,omitempty"`
}

func (*QueryLastObservedSkywayNonceResponse) Descriptor

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

func (*QueryLastObservedSkywayNonceResponse) GetNonce

func (*QueryLastObservedSkywayNonceResponse) Marshal

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

func (*QueryLastObservedSkywayNonceResponse) MarshalTo

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

func (*QueryLastObservedSkywayNonceResponse) MarshalToSizedBuffer

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

func (*QueryLastObservedSkywayNonceResponse) ProtoMessage

func (*QueryLastObservedSkywayNonceResponse) ProtoMessage()

func (*QueryLastObservedSkywayNonceResponse) Reset

func (*QueryLastObservedSkywayNonceResponse) Size

func (*QueryLastObservedSkywayNonceResponse) String

func (*QueryLastObservedSkywayNonceResponse) Unmarshal

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

func (*QueryLastObservedSkywayNonceResponse) XXX_DiscardUnknown

func (m *QueryLastObservedSkywayNonceResponse) XXX_DiscardUnknown()

func (*QueryLastObservedSkywayNonceResponse) XXX_Marshal

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

func (*QueryLastObservedSkywayNonceResponse) XXX_Merge

func (*QueryLastObservedSkywayNonceResponse) XXX_Size

func (*QueryLastObservedSkywayNonceResponse) XXX_Unmarshal

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

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

func (*QueryOutgoingTxBatchesRequest) Descriptor

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

func (*QueryOutgoingTxBatchesRequest) GetAssignee

func (m *QueryOutgoingTxBatchesRequest) GetAssignee() string

func (*QueryOutgoingTxBatchesRequest) GetChainReferenceId

func (m *QueryOutgoingTxBatchesRequest) GetChainReferenceId() string

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 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 {
	Params(context.Context, *QueryParamsRequest) (*QueryParamsResponse, error)
	LastPendingBatchRequestByAddr(context.Context, *QueryLastPendingBatchRequestByAddrRequest) (*QueryLastPendingBatchRequestByAddrResponse, error)
	LastObservedSkywayNonce(context.Context, *QueryLastObservedSkywayNonceRequest) (*QueryLastObservedSkywayNonceResponse, error)
	LastObservedSkywayNonceByAddr(context.Context, *QueryLastObservedSkywayNonceByAddrRequest) (*QueryLastObservedSkywayNonceResponse, error)
	LastObservedSkywayBlock(context.Context, *QueryLastObservedSkywayBlockRequest) (*QueryLastObservedSkywayBlockResponse, error)
	OutgoingTxBatches(context.Context, *QueryOutgoingTxBatchesRequest) (*QueryOutgoingTxBatchesResponse, error)
	BatchRequestByNonce(context.Context, *QueryBatchRequestByNonceRequest) (*QueryBatchRequestByNonceResponse, error)
	BatchConfirms(context.Context, *QueryBatchConfirmsRequest) (*QueryBatchConfirmsResponse, error)
	ERC20ToDenom(context.Context, *QueryERC20ToDenomRequest) (*QueryERC20ToDenomResponse, error)
	DenomToERC20(context.Context, *QueryDenomToERC20Request) (*QueryDenomToERC20Response, error)
	GetAttestations(context.Context, *QueryAttestationsRequest) (*QueryAttestationsResponse, error)
	GetErc20ToDenoms(context.Context, *QueryErc20ToDenoms) (*QueryErc20ToDenomsResponse, error)
	GetPendingSendToEth(context.Context, *QueryPendingSendToEth) (*QueryPendingSendToEthResponse, error)
	GetBridgeTaxes(context.Context, *emptypb.Empty) (*QueryBridgeTaxesResponse, error)
	GetBridgeTransferLimits(context.Context, *emptypb.Empty) (*QueryBridgeTransferLimitsResponse, error)
}

QueryServer is the server API for Query service.

type SetBridgeTaxProposal

type SetBridgeTaxProposal 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"`
	Rate            string   `protobuf:"bytes,3,opt,name=rate,proto3" json:"rate,omitempty"`
	ExemptAddresses []string `protobuf:"bytes,5,rep,name=exempt_addresses,json=exemptAddresses,proto3" json:"exempt_addresses,omitempty"`
	Token           string   `protobuf:"bytes,6,opt,name=token,proto3" json:"token,omitempty"`
}

func (*SetBridgeTaxProposal) Descriptor

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

func (*SetBridgeTaxProposal) GetDescription

func (m *SetBridgeTaxProposal) GetDescription() string

func (*SetBridgeTaxProposal) GetExemptAddresses

func (m *SetBridgeTaxProposal) GetExemptAddresses() []string

func (*SetBridgeTaxProposal) GetRate

func (m *SetBridgeTaxProposal) GetRate() string

func (*SetBridgeTaxProposal) GetTitle

func (m *SetBridgeTaxProposal) GetTitle() string

func (*SetBridgeTaxProposal) GetToken

func (m *SetBridgeTaxProposal) GetToken() string

func (*SetBridgeTaxProposal) Marshal

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

func (*SetBridgeTaxProposal) MarshalTo

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

func (*SetBridgeTaxProposal) MarshalToSizedBuffer

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

func (*SetBridgeTaxProposal) ProposalRoute

func (p *SetBridgeTaxProposal) ProposalRoute() string

func (*SetBridgeTaxProposal) ProposalType

func (p *SetBridgeTaxProposal) ProposalType() string

func (*SetBridgeTaxProposal) ProtoMessage

func (*SetBridgeTaxProposal) ProtoMessage()

func (*SetBridgeTaxProposal) Reset

func (m *SetBridgeTaxProposal) Reset()

func (*SetBridgeTaxProposal) Size

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

func (*SetBridgeTaxProposal) String

func (m *SetBridgeTaxProposal) String() string

func (*SetBridgeTaxProposal) Unmarshal

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

func (*SetBridgeTaxProposal) ValidateBasic

func (p *SetBridgeTaxProposal) ValidateBasic() error

func (*SetBridgeTaxProposal) XXX_DiscardUnknown

func (m *SetBridgeTaxProposal) XXX_DiscardUnknown()

func (*SetBridgeTaxProposal) XXX_Marshal

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

func (*SetBridgeTaxProposal) XXX_Merge

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

func (*SetBridgeTaxProposal) XXX_Size

func (m *SetBridgeTaxProposal) XXX_Size() int

func (*SetBridgeTaxProposal) XXX_Unmarshal

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

type SetBridgeTransferLimitProposal

type SetBridgeTransferLimitProposal 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"`
	Token           string                `protobuf:"bytes,3,opt,name=token,proto3" json:"token,omitempty"`
	Limit           cosmossdk_io_math.Int `protobuf:"bytes,4,opt,name=limit,proto3,customtype=cosmossdk.io/math.Int" json:"limit"`
	LimitPeriod     LimitPeriod           `` /* 138-byte string literal not displayed */
	ExemptAddresses []string              `protobuf:"bytes,6,rep,name=exempt_addresses,json=exemptAddresses,proto3" json:"exempt_addresses,omitempty"`
}

func (*SetBridgeTransferLimitProposal) Descriptor

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

func (*SetBridgeTransferLimitProposal) GetDescription

func (m *SetBridgeTransferLimitProposal) GetDescription() string

func (*SetBridgeTransferLimitProposal) GetExemptAddresses

func (m *SetBridgeTransferLimitProposal) GetExemptAddresses() []string

func (*SetBridgeTransferLimitProposal) GetLimitPeriod

func (m *SetBridgeTransferLimitProposal) GetLimitPeriod() LimitPeriod

func (*SetBridgeTransferLimitProposal) GetTitle

func (m *SetBridgeTransferLimitProposal) GetTitle() string

func (*SetBridgeTransferLimitProposal) GetToken

func (m *SetBridgeTransferLimitProposal) GetToken() string

func (*SetBridgeTransferLimitProposal) Marshal

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

func (*SetBridgeTransferLimitProposal) MarshalTo

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

func (*SetBridgeTransferLimitProposal) MarshalToSizedBuffer

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

func (*SetBridgeTransferLimitProposal) ProposalRoute

func (p *SetBridgeTransferLimitProposal) ProposalRoute() string

func (*SetBridgeTransferLimitProposal) ProposalType

func (p *SetBridgeTransferLimitProposal) ProposalType() string

func (*SetBridgeTransferLimitProposal) ProtoMessage

func (*SetBridgeTransferLimitProposal) ProtoMessage()

func (*SetBridgeTransferLimitProposal) Reset

func (m *SetBridgeTransferLimitProposal) Reset()

func (*SetBridgeTransferLimitProposal) Size

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

func (*SetBridgeTransferLimitProposal) String

func (*SetBridgeTransferLimitProposal) Unmarshal

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

func (*SetBridgeTransferLimitProposal) ValidateBasic

func (p *SetBridgeTransferLimitProposal) ValidateBasic() error

func (*SetBridgeTransferLimitProposal) XXX_DiscardUnknown

func (m *SetBridgeTransferLimitProposal) XXX_DiscardUnknown()

func (*SetBridgeTransferLimitProposal) XXX_Marshal

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

func (*SetBridgeTransferLimitProposal) XXX_Merge

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

func (*SetBridgeTransferLimitProposal) XXX_Size

func (m *SetBridgeTransferLimitProposal) XXX_Size() int

func (*SetBridgeTransferLimitProposal) XXX_Unmarshal

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

type SetERC20ToDenomProposal

type SetERC20ToDenomProposal struct {
	Title            string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"`
	Description      string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
	ChainReferenceId string `protobuf:"bytes,3,opt,name=chain_reference_id,json=chainReferenceId,proto3" json:"chain_reference_id,omitempty"`
	Erc20            string `protobuf:"bytes,4,opt,name=erc20,proto3" json:"erc20,omitempty"`
	Denom            string `protobuf:"bytes,5,opt,name=denom,proto3" json:"denom,omitempty"`
}

func (*SetERC20ToDenomProposal) Descriptor

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

func (*SetERC20ToDenomProposal) GetChainReferenceId

func (m *SetERC20ToDenomProposal) GetChainReferenceId() string

func (*SetERC20ToDenomProposal) GetDenom

func (m *SetERC20ToDenomProposal) GetDenom() string

func (*SetERC20ToDenomProposal) GetDescription

func (m *SetERC20ToDenomProposal) GetDescription() string

func (*SetERC20ToDenomProposal) GetErc20

func (m *SetERC20ToDenomProposal) GetErc20() string

func (*SetERC20ToDenomProposal) GetTitle

func (m *SetERC20ToDenomProposal) GetTitle() string

func (*SetERC20ToDenomProposal) Marshal

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

func (*SetERC20ToDenomProposal) MarshalTo

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

func (*SetERC20ToDenomProposal) MarshalToSizedBuffer

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

func (*SetERC20ToDenomProposal) ProposalRoute

func (p *SetERC20ToDenomProposal) ProposalRoute() string

func (*SetERC20ToDenomProposal) ProposalType

func (p *SetERC20ToDenomProposal) ProposalType() string

func (*SetERC20ToDenomProposal) ProtoMessage

func (*SetERC20ToDenomProposal) ProtoMessage()

func (*SetERC20ToDenomProposal) Reset

func (m *SetERC20ToDenomProposal) Reset()

func (*SetERC20ToDenomProposal) Size

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

func (*SetERC20ToDenomProposal) String

func (m *SetERC20ToDenomProposal) String() string

func (*SetERC20ToDenomProposal) Unmarshal

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

func (*SetERC20ToDenomProposal) ValidateBasic

func (p *SetERC20ToDenomProposal) ValidateBasic() error

func (*SetERC20ToDenomProposal) XXX_DiscardUnknown

func (m *SetERC20ToDenomProposal) XXX_DiscardUnknown()

func (*SetERC20ToDenomProposal) XXX_Marshal

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

func (*SetERC20ToDenomProposal) XXX_Merge

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

func (*SetERC20ToDenomProposal) XXX_Size

func (m *SetERC20ToDenomProposal) XXX_Size() int

func (*SetERC20ToDenomProposal) XXX_Unmarshal

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

type SignType

type SignType int32

SignType defines messages that have been signed by an orchestrator

const (
	// An unspecified type
	SIGN_TYPE_UNSPECIFIED SignType = 0
	// A type for multi-sig updates
	SIGN_TYPE_ORCHESTRATOR_SIGNED_MULTI_SIG_UPDATE SignType = 1
	// A type for batches
	SIGN_TYPE_ORCHESTRATOR_SIGNED_WITHDRAW_BATCH SignType = 2
)

func (SignType) EnumDescriptor

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

type SkywayNonces

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

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

func (*SkywayNonces) Descriptor

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

func (*SkywayNonces) GetChainReferenceId

func (m *SkywayNonces) GetChainReferenceId() string

func (*SkywayNonces) GetLastBatchId

func (m *SkywayNonces) GetLastBatchId() uint64

func (*SkywayNonces) GetLastObservedNonce

func (m *SkywayNonces) GetLastObservedNonce() uint64

func (*SkywayNonces) GetLastSlashedBatchBlock

func (m *SkywayNonces) GetLastSlashedBatchBlock() uint64

func (*SkywayNonces) GetLastTxPoolId

func (m *SkywayNonces) GetLastTxPoolId() uint64

func (*SkywayNonces) Marshal

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

func (*SkywayNonces) MarshalTo

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

func (*SkywayNonces) MarshalToSizedBuffer

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

func (*SkywayNonces) ProtoMessage

func (*SkywayNonces) ProtoMessage()

func (*SkywayNonces) Reset

func (m *SkywayNonces) Reset()

func (*SkywayNonces) Size

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

func (*SkywayNonces) String

func (m *SkywayNonces) String() string

func (*SkywayNonces) Unmarshal

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

func (*SkywayNonces) XXX_DiscardUnknown

func (m *SkywayNonces) XXX_DiscardUnknown()

func (*SkywayNonces) XXX_Marshal

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

func (*SkywayNonces) XXX_Merge

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

func (*SkywayNonces) XXX_Size

func (m *SkywayNonces) XXX_Size() int

func (*SkywayNonces) XXX_Unmarshal

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

type SlashingKeeper

type SlashingKeeper interface {
	GetValidatorSigningInfo(ctx context.Context, address sdk.ConsAddress) (info slashingtypes.ValidatorSigningInfo, found error)
}

type StakingKeeper

type StakingKeeper interface {
	GetBondedValidatorsByPower(ctx context.Context) ([]stakingtypes.Validator, error)
	GetLastValidatorPower(ctx context.Context, operator sdk.ValAddress) (int64, error)
	GetLastTotalPower(ctx context.Context) (math.Int, error)
	IterateValidators(context.Context, func(index int64, validator stakingtypes.ValidatorI) (stop bool)) error
	ValidatorQueueIterator(ctx context.Context, endTime time.Time, endHeight int64) (storetypes.Iterator, error)
	GetParams(ctx context.Context) (stakingtypes.Params, error)
	GetValidator(ctx context.Context, addr sdk.ValAddress) (validator stakingtypes.Validator, found error)
	IterateBondedValidatorsByPower(context.Context, func(index int64, validator stakingtypes.ValidatorI) (stop bool)) error
	IterateLastValidators(context.Context, func(index int64, validator stakingtypes.ValidatorI) (stop bool)) error
	Validator(context.Context, sdk.ValAddress) (stakingtypes.ValidatorI, error)
	ValidatorByConsAddr(context.Context, sdk.ConsAddress) (stakingtypes.ValidatorI, error)
	Slash(ctx context.Context, consAddr sdk.ConsAddress, infractionHeight int64, power int64, slashFactor math.LegacyDec) (math.Int, error)
	Jail(context.Context, sdk.ConsAddress) error
}

StakingKeeper defines the expected staking keeper methods

type UnimplementedMsgServer

type UnimplementedMsgServer struct{}

UnimplementedMsgServer can be embedded to have forward compatible implementations.

func (*UnimplementedMsgServer) BatchSendToEthClaim

func (*UnimplementedMsgServer) CancelSendToEth

func (*UnimplementedMsgServer) ConfirmBatch

func (*UnimplementedMsgServer) SendToEth

func (*UnimplementedMsgServer) SendToPalomaClaim

func (*UnimplementedMsgServer) SubmitBadSignatureEvidence

func (*UnimplementedMsgServer) UpdateParams

type UnimplementedQueryServer

type UnimplementedQueryServer struct {
}

UnimplementedQueryServer can be embedded to have forward compatible implementations.

func (*UnimplementedQueryServer) BatchConfirms

func (*UnimplementedQueryServer) BatchRequestByNonce

func (*UnimplementedQueryServer) DenomToERC20

func (*UnimplementedQueryServer) ERC20ToDenom

func (*UnimplementedQueryServer) GetAttestations

func (*UnimplementedQueryServer) GetBridgeTaxes

func (*UnimplementedQueryServer) GetBridgeTransferLimits

func (*UnimplementedQueryServer) GetErc20ToDenoms

func (*UnimplementedQueryServer) GetPendingSendToEth

func (*UnimplementedQueryServer) OutgoingTxBatches

func (*UnimplementedQueryServer) Params

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL