types

package
v1.2.60 Latest Latest
Warning

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

Go to latest
Published: May 28, 2023 License: MIT Imports: 26 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// ModuleName defines the module name
	ModuleName = "voyager"

	// StoreKey defines the primary module store key
	StoreKey = ModuleName

	// RouterKey defines the module's message routing key
	RouterKey = ModuleName

	// MemStoreKey defines the in-memory store key
	MemStoreKey = "mem_voyager"
)
View Source
const DefaultIndex uint64 = 1

DefaultIndex is the default global index

View Source
const (
	// FundDepositRequestKeyPrefix is the prefix to retrieve all FundDepositRequest
	FundDepositRequestKeyPrefix = "FundDepositRequest/value/"
)
View Source
const TypeMsgFundsDeposited = "funds_deposited"

Variables

View Source
var (
	ErrInvalidLengthEvents        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowEvents          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupEvents = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthFundDepositRequest        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowFundDepositRequest          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupFundDepositRequest = fmt.Errorf("proto: unexpected end of group")
)
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 (
	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 (
	ErrInvalidLengthQuery        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowQuery          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupQuery = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthTx        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowTx          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupTx = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrSample = sdkerrors.Register(ModuleName, 1100, "sample error")
)

x/voyager module sentinel errors

Functions

func FundDepositRequestKey

func FundDepositRequestKey(
	chainId string,
	depositId uint64,
	claimHash []byte,
) []byte

FundDepositRequestKey returns the store key to retrieve a FundDepositRequest from the index fields

func KeyPrefix

func KeyPrefix(p string) []byte

func ParamKeyTable

func ParamKeyTable() paramtypes.KeyTable

ParamKeyTable the param key table for launch module

func RegisterCodec

func RegisterCodec(cdc *codec.LegacyAmino)

func RegisterInterfaces

func RegisterInterfaces(registry cdctypes.InterfaceRegistry)

func RegisterMsgServer

func RegisterMsgServer(s grpc1.Server, srv MsgServer)

func RegisterQueryServer

func RegisterQueryServer(s grpc1.Server, srv QueryServer)

Types

type AccountKeeper

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

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

type AttestationKeeper

type AttestationKeeper interface {
	CheckOrchestratorValidatorInSet(ctx sdk.Context, orchestrator string) error
	ClaimHandlerCommon(ctx sdk.Context, msgAny *codectypes.Any, msg attestationTypes.Claim) error
}

type BankKeeper

type BankKeeper interface {
	SpendableCoins(ctx sdk.Context, addr sdk.AccAddress) sdk.Coins
}

BankKeeper defines the expected interface needed to retrieve account balances.

type EventFundDepositRequestCreated

type EventFundDepositRequestCreated struct {
	AttestationId []byte          `protobuf:"bytes,1,opt,name=attestation_id,json=attestationId,proto3" json:"attestation_id,omitempty"`
	SrcChainId    string          `protobuf:"bytes,2,opt,name=srcChainId,proto3" json:"srcChainId,omitempty"`
	SrcChainType  types.ChainType `` /* 131-byte string literal not displayed */
	SrcTxHash     string          `protobuf:"bytes,4,opt,name=srcTxHash,proto3" json:"srcTxHash,omitempty"`
	SrcTimestamp  uint64          `protobuf:"varint,5,opt,name=srcTimestamp,proto3" json:"srcTimestamp,omitempty"`
	Contract      string          `protobuf:"bytes,6,opt,name=contract,proto3" json:"contract,omitempty"`
	DepositId     uint64          `protobuf:"varint,7,opt,name=deposit_id,json=depositId,proto3" json:"deposit_id,omitempty"`
	BlockHeight   uint64          `protobuf:"varint,8,opt,name=blockHeight,proto3" json:"blockHeight,omitempty"`
	DestChainId   string          `protobuf:"bytes,9,opt,name=destChainId,proto3" json:"destChainId,omitempty"`
	DestChainType types.ChainType `` /* 134-byte string literal not displayed */
	Amount        uint64          `protobuf:"varint,11,opt,name=amount,proto3" json:"amount,omitempty"`
	RelayerFees   uint64          `protobuf:"varint,12,opt,name=relayerFees,proto3" json:"relayerFees,omitempty"`
	SrcToken      string          `protobuf:"bytes,13,opt,name=srcToken,proto3" json:"srcToken,omitempty"`
	Recipient     string          `protobuf:"bytes,14,opt,name=recipient,proto3" json:"recipient,omitempty"`
	Depositor     string          `protobuf:"bytes,15,opt,name=depositor,proto3" json:"depositor,omitempty"`
}

func (*EventFundDepositRequestCreated) Descriptor

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

func (*EventFundDepositRequestCreated) GetAmount

func (m *EventFundDepositRequestCreated) GetAmount() uint64

func (*EventFundDepositRequestCreated) GetAttestationId

func (m *EventFundDepositRequestCreated) GetAttestationId() []byte

func (*EventFundDepositRequestCreated) GetBlockHeight

func (m *EventFundDepositRequestCreated) GetBlockHeight() uint64

func (*EventFundDepositRequestCreated) GetContract

func (m *EventFundDepositRequestCreated) GetContract() string

func (*EventFundDepositRequestCreated) GetDepositId

func (m *EventFundDepositRequestCreated) GetDepositId() uint64

func (*EventFundDepositRequestCreated) GetDepositor

func (m *EventFundDepositRequestCreated) GetDepositor() string

func (*EventFundDepositRequestCreated) GetDestChainId

func (m *EventFundDepositRequestCreated) GetDestChainId() string

func (*EventFundDepositRequestCreated) GetDestChainType

func (m *EventFundDepositRequestCreated) GetDestChainType() types.ChainType

func (*EventFundDepositRequestCreated) GetRecipient

func (m *EventFundDepositRequestCreated) GetRecipient() string

func (*EventFundDepositRequestCreated) GetRelayerFees

func (m *EventFundDepositRequestCreated) GetRelayerFees() uint64

func (*EventFundDepositRequestCreated) GetSrcChainId

func (m *EventFundDepositRequestCreated) GetSrcChainId() string

func (*EventFundDepositRequestCreated) GetSrcChainType

func (m *EventFundDepositRequestCreated) GetSrcChainType() types.ChainType

func (*EventFundDepositRequestCreated) GetSrcTimestamp

func (m *EventFundDepositRequestCreated) GetSrcTimestamp() uint64

func (*EventFundDepositRequestCreated) GetSrcToken

func (m *EventFundDepositRequestCreated) GetSrcToken() string

func (*EventFundDepositRequestCreated) GetSrcTxHash

func (m *EventFundDepositRequestCreated) GetSrcTxHash() string

func (*EventFundDepositRequestCreated) Marshal

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

func (*EventFundDepositRequestCreated) MarshalTo

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

func (*EventFundDepositRequestCreated) MarshalToSizedBuffer

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

func (*EventFundDepositRequestCreated) ProtoMessage

func (*EventFundDepositRequestCreated) ProtoMessage()

func (*EventFundDepositRequestCreated) Reset

func (m *EventFundDepositRequestCreated) Reset()

func (*EventFundDepositRequestCreated) Size

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

func (*EventFundDepositRequestCreated) String

func (*EventFundDepositRequestCreated) Unmarshal

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

func (*EventFundDepositRequestCreated) XXX_DiscardUnknown

func (m *EventFundDepositRequestCreated) XXX_DiscardUnknown()

func (*EventFundDepositRequestCreated) XXX_Marshal

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

func (*EventFundDepositRequestCreated) XXX_Merge

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

func (*EventFundDepositRequestCreated) XXX_Size

func (m *EventFundDepositRequestCreated) XXX_Size() int

func (*EventFundDepositRequestCreated) XXX_Unmarshal

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

type EventFundDepositRequestExecuted

type EventFundDepositRequestExecuted struct {
	AttestationId []byte `protobuf:"bytes,1,opt,name=attestation_id,json=attestationId,proto3" json:"attestation_id,omitempty"`
	SrcChainId    string `protobuf:"bytes,2,opt,name=src_chain_id,json=srcChainId,proto3" json:"src_chain_id,omitempty"`
	DepositId     uint64 `protobuf:"varint,3,opt,name=deposit_id,json=depositId,proto3" json:"deposit_id,omitempty"`
	ExecResponse  []byte `protobuf:"bytes,4,opt,name=exec_response,json=execResponse,proto3" json:"exec_response,omitempty"`
}

func (*EventFundDepositRequestExecuted) Descriptor

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

func (*EventFundDepositRequestExecuted) GetAttestationId

func (m *EventFundDepositRequestExecuted) GetAttestationId() []byte

func (*EventFundDepositRequestExecuted) GetDepositId

func (m *EventFundDepositRequestExecuted) GetDepositId() uint64

func (*EventFundDepositRequestExecuted) GetExecResponse

func (m *EventFundDepositRequestExecuted) GetExecResponse() []byte

func (*EventFundDepositRequestExecuted) GetSrcChainId

func (m *EventFundDepositRequestExecuted) GetSrcChainId() string

func (*EventFundDepositRequestExecuted) Marshal

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

func (*EventFundDepositRequestExecuted) MarshalTo

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

func (*EventFundDepositRequestExecuted) MarshalToSizedBuffer

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

func (*EventFundDepositRequestExecuted) ProtoMessage

func (*EventFundDepositRequestExecuted) ProtoMessage()

func (*EventFundDepositRequestExecuted) Reset

func (*EventFundDepositRequestExecuted) Size

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

func (*EventFundDepositRequestExecuted) String

func (*EventFundDepositRequestExecuted) Unmarshal

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

func (*EventFundDepositRequestExecuted) XXX_DiscardUnknown

func (m *EventFundDepositRequestExecuted) XXX_DiscardUnknown()

func (*EventFundDepositRequestExecuted) XXX_Marshal

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

func (*EventFundDepositRequestExecuted) XXX_Merge

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

func (*EventFundDepositRequestExecuted) XXX_Size

func (m *EventFundDepositRequestExecuted) XXX_Size() int

func (*EventFundDepositRequestExecuted) XXX_Unmarshal

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

type EventFundDepositRequestExecutionFailed

type EventFundDepositRequestExecutionFailed struct {
	AttestationId   []byte `protobuf:"bytes,1,opt,name=attestation_id,json=attestationId,proto3" json:"attestation_id,omitempty"`
	SrcChainId      string `protobuf:"bytes,2,opt,name=src_chain_id,json=srcChainId,proto3" json:"src_chain_id,omitempty"`
	DepositId       uint64 `protobuf:"varint,3,opt,name=deposit_id,json=depositId,proto3" json:"deposit_id,omitempty"`
	ExecErrResponse []byte `protobuf:"bytes,4,opt,name=exec_err_response,json=execErrResponse,proto3" json:"exec_err_response,omitempty"`
}

func (*EventFundDepositRequestExecutionFailed) Descriptor

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

func (*EventFundDepositRequestExecutionFailed) GetAttestationId

func (m *EventFundDepositRequestExecutionFailed) GetAttestationId() []byte

func (*EventFundDepositRequestExecutionFailed) GetDepositId

func (*EventFundDepositRequestExecutionFailed) GetExecErrResponse

func (m *EventFundDepositRequestExecutionFailed) GetExecErrResponse() []byte

func (*EventFundDepositRequestExecutionFailed) GetSrcChainId

func (*EventFundDepositRequestExecutionFailed) Marshal

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

func (*EventFundDepositRequestExecutionFailed) MarshalTo

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

func (*EventFundDepositRequestExecutionFailed) MarshalToSizedBuffer

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

func (*EventFundDepositRequestExecutionFailed) ProtoMessage

func (*EventFundDepositRequestExecutionFailed) Reset

func (*EventFundDepositRequestExecutionFailed) Size

func (*EventFundDepositRequestExecutionFailed) String

func (*EventFundDepositRequestExecutionFailed) Unmarshal

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

func (*EventFundDepositRequestExecutionFailed) XXX_DiscardUnknown

func (m *EventFundDepositRequestExecutionFailed) XXX_DiscardUnknown()

func (*EventFundDepositRequestExecutionFailed) XXX_Marshal

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

func (*EventFundDepositRequestExecutionFailed) XXX_Merge

func (*EventFundDepositRequestExecutionFailed) XXX_Size

func (*EventFundDepositRequestExecutionFailed) XXX_Unmarshal

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

type FundDepositRequest

type FundDepositRequest struct {
	SrcChainId    string          `protobuf:"bytes,1,opt,name=srcChainId,proto3" json:"srcChainId,omitempty"`
	SrcChainType  types.ChainType `` /* 131-byte string literal not displayed */
	SrcTxHash     string          `protobuf:"bytes,3,opt,name=srcTxHash,proto3" json:"srcTxHash,omitempty"`
	SrcTimestamp  uint64          `protobuf:"varint,4,opt,name=srcTimestamp,proto3" json:"srcTimestamp,omitempty"`
	Contract      string          `protobuf:"bytes,5,opt,name=contract,proto3" json:"contract,omitempty"`
	DepositId     uint64          `protobuf:"varint,6,opt,name=deposit_id,json=depositId,proto3" json:"deposit_id,omitempty"`
	BlockHeight   uint64          `protobuf:"varint,7,opt,name=blockHeight,proto3" json:"blockHeight,omitempty"`
	DestChainId   string          `protobuf:"bytes,8,opt,name=destChainId,proto3" json:"destChainId,omitempty"`
	DestChainType types.ChainType `` /* 133-byte string literal not displayed */
	Amount        uint64          `protobuf:"varint,10,opt,name=amount,proto3" json:"amount,omitempty"`
	RelayerFees   uint64          `protobuf:"varint,11,opt,name=relayerFees,proto3" json:"relayerFees,omitempty"`
	SrcToken      string          `protobuf:"bytes,12,opt,name=srcToken,proto3" json:"srcToken,omitempty"`
	Recipient     string          `protobuf:"bytes,13,opt,name=recipient,proto3" json:"recipient,omitempty"`
	Depositor     string          `protobuf:"bytes,14,opt,name=depositor,proto3" json:"depositor,omitempty"`
	Status        string          `protobuf:"bytes,15,opt,name=status,proto3" json:"status,omitempty"`
}

func NewFundDepositRequest

func NewFundDepositRequest(
	srcChainId string,
	srcChainType multichainTypes.ChainType,
	srcTxHash string,
	srcTimestamp uint64,
	contract string,
	depositId uint64,
	blockHeight uint64,
	destChainId string,
	destChainType multichainTypes.ChainType,
	amount uint64,
	relayerFees uint64,
	srcToken string,
	recipient string,
	depositor string) *FundDepositRequest

func NewFundsDepositedFromMsg

func NewFundsDepositedFromMsg(
	msg *MsgFundsDeposited) *FundDepositRequest

func (*FundDepositRequest) ClaimHash

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

Hash implements IncomingTx.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 (*FundDepositRequest) Descriptor

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

func (*FundDepositRequest) GetAmount

func (m *FundDepositRequest) GetAmount() uint64

func (*FundDepositRequest) GetBlockHeight

func (m *FundDepositRequest) GetBlockHeight() uint64

func (*FundDepositRequest) GetContract

func (m *FundDepositRequest) GetContract() string

func (*FundDepositRequest) GetDepositId

func (m *FundDepositRequest) GetDepositId() uint64

func (*FundDepositRequest) GetDepositor

func (m *FundDepositRequest) GetDepositor() string

func (*FundDepositRequest) GetDestChainId

func (m *FundDepositRequest) GetDestChainId() string

func (*FundDepositRequest) GetDestChainType

func (m *FundDepositRequest) GetDestChainType() types.ChainType

func (*FundDepositRequest) GetRecipient

func (m *FundDepositRequest) GetRecipient() string

func (*FundDepositRequest) GetRelayerFees

func (m *FundDepositRequest) GetRelayerFees() uint64

func (*FundDepositRequest) GetSrcChainId

func (m *FundDepositRequest) GetSrcChainId() string

func (*FundDepositRequest) GetSrcChainType

func (m *FundDepositRequest) GetSrcChainType() types.ChainType

func (*FundDepositRequest) GetSrcTimestamp

func (m *FundDepositRequest) GetSrcTimestamp() uint64

func (*FundDepositRequest) GetSrcToken

func (m *FundDepositRequest) GetSrcToken() string

func (*FundDepositRequest) GetSrcTxHash

func (m *FundDepositRequest) GetSrcTxHash() string

func (*FundDepositRequest) GetStatus

func (m *FundDepositRequest) GetStatus() string

func (*FundDepositRequest) Marshal

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

func (*FundDepositRequest) MarshalTo

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

func (*FundDepositRequest) MarshalToSizedBuffer

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

func (*FundDepositRequest) ProtoMessage

func (*FundDepositRequest) ProtoMessage()

func (*FundDepositRequest) Reset

func (m *FundDepositRequest) Reset()

func (*FundDepositRequest) Size

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

func (*FundDepositRequest) String

func (m *FundDepositRequest) String() string

func (*FundDepositRequest) Unmarshal

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

func (FundDepositRequest) ValidateBasic

func (c FundDepositRequest) ValidateBasic() error

func (*FundDepositRequest) XXX_DiscardUnknown

func (m *FundDepositRequest) XXX_DiscardUnknown()

func (*FundDepositRequest) XXX_Marshal

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

func (*FundDepositRequest) XXX_Merge

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

func (*FundDepositRequest) XXX_Size

func (m *FundDepositRequest) XXX_Size() int

func (*FundDepositRequest) XXX_Unmarshal

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

type FundDepositRequestClaimHash

type FundDepositRequestClaimHash struct {
	SrcChainId    string          `protobuf:"bytes,1,opt,name=srcChainId,proto3" json:"srcChainId,omitempty"`
	SrcChainType  types.ChainType `` /* 131-byte string literal not displayed */
	SrcTxHash     string          `protobuf:"bytes,3,opt,name=srcTxHash,proto3" json:"srcTxHash,omitempty"`
	SrcTimestamp  uint64          `protobuf:"varint,4,opt,name=srcTimestamp,proto3" json:"srcTimestamp,omitempty"`
	Contract      string          `protobuf:"bytes,5,opt,name=contract,proto3" json:"contract,omitempty"`
	DepositId     uint64          `protobuf:"varint,6,opt,name=deposit_id,json=depositId,proto3" json:"deposit_id,omitempty"`
	BlockHeight   uint64          `protobuf:"varint,7,opt,name=blockHeight,proto3" json:"blockHeight,omitempty"`
	DestChainId   string          `protobuf:"bytes,8,opt,name=destChainId,proto3" json:"destChainId,omitempty"`
	DestChainType types.ChainType `` /* 133-byte string literal not displayed */
	Amount        uint64          `protobuf:"varint,10,opt,name=amount,proto3" json:"amount,omitempty"`
	RelayerFees   uint64          `protobuf:"varint,11,opt,name=relayerFees,proto3" json:"relayerFees,omitempty"`
	SrcToken      string          `protobuf:"bytes,12,opt,name=srcToken,proto3" json:"srcToken,omitempty"`
	Recipient     string          `protobuf:"bytes,13,opt,name=recipient,proto3" json:"recipient,omitempty"`
	Depositor     string          `protobuf:"bytes,14,opt,name=depositor,proto3" json:"depositor,omitempty"`
}

func NewFundDepositRequestClaimHash

func NewFundDepositRequestClaimHash(
	srcChainId string,
	srcChainType multichainTypes.ChainType,
	srcTxHash string,
	srcTimestamp uint64,
	contract string,
	depositId uint64,
	blockHeight uint64,
	destChainId string,
	destChainType multichainTypes.ChainType,
	amount uint64,
	relayerFees uint64,
	srcToken string,
	recipient string,
	depositor string) *FundDepositRequestClaimHash

func (*FundDepositRequestClaimHash) Descriptor

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

func (*FundDepositRequestClaimHash) GetAmount

func (m *FundDepositRequestClaimHash) GetAmount() uint64

func (*FundDepositRequestClaimHash) GetBlockHeight

func (m *FundDepositRequestClaimHash) GetBlockHeight() uint64

func (*FundDepositRequestClaimHash) GetContract

func (m *FundDepositRequestClaimHash) GetContract() string

func (*FundDepositRequestClaimHash) GetDepositId

func (m *FundDepositRequestClaimHash) GetDepositId() uint64

func (*FundDepositRequestClaimHash) GetDepositor

func (m *FundDepositRequestClaimHash) GetDepositor() string

func (*FundDepositRequestClaimHash) GetDestChainId

func (m *FundDepositRequestClaimHash) GetDestChainId() string

func (*FundDepositRequestClaimHash) GetDestChainType

func (m *FundDepositRequestClaimHash) GetDestChainType() types.ChainType

func (*FundDepositRequestClaimHash) GetRecipient

func (m *FundDepositRequestClaimHash) GetRecipient() string

func (*FundDepositRequestClaimHash) GetRelayerFees

func (m *FundDepositRequestClaimHash) GetRelayerFees() uint64

func (*FundDepositRequestClaimHash) GetSrcChainId

func (m *FundDepositRequestClaimHash) GetSrcChainId() string

func (*FundDepositRequestClaimHash) GetSrcChainType

func (m *FundDepositRequestClaimHash) GetSrcChainType() types.ChainType

func (*FundDepositRequestClaimHash) GetSrcTimestamp

func (m *FundDepositRequestClaimHash) GetSrcTimestamp() uint64

func (*FundDepositRequestClaimHash) GetSrcToken

func (m *FundDepositRequestClaimHash) GetSrcToken() string

func (*FundDepositRequestClaimHash) GetSrcTxHash

func (m *FundDepositRequestClaimHash) GetSrcTxHash() string

func (*FundDepositRequestClaimHash) Marshal

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

func (*FundDepositRequestClaimHash) MarshalTo

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

func (*FundDepositRequestClaimHash) MarshalToSizedBuffer

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

func (*FundDepositRequestClaimHash) ProtoMessage

func (*FundDepositRequestClaimHash) ProtoMessage()

func (*FundDepositRequestClaimHash) Reset

func (m *FundDepositRequestClaimHash) Reset()

func (*FundDepositRequestClaimHash) Size

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

func (*FundDepositRequestClaimHash) String

func (m *FundDepositRequestClaimHash) String() string

func (*FundDepositRequestClaimHash) Unmarshal

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

func (*FundDepositRequestClaimHash) XXX_DiscardUnknown

func (m *FundDepositRequestClaimHash) XXX_DiscardUnknown()

func (*FundDepositRequestClaimHash) XXX_Marshal

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

func (*FundDepositRequestClaimHash) XXX_Merge

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

func (*FundDepositRequestClaimHash) XXX_Size

func (m *FundDepositRequestClaimHash) XXX_Size() int

func (*FundDepositRequestClaimHash) XXX_Unmarshal

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

type GenesisState

type GenesisState struct {
	Params                 Params               `protobuf:"bytes,1,opt,name=params,proto3" json:"params"`
	FundDepositRequestList []FundDepositRequest `protobuf:"bytes,2,rep,name=fundDepositRequestList,proto3" json:"fundDepositRequestList"`
}

GenesisState defines the voyager module's genesis state.

func DefaultGenesis

func DefaultGenesis() *GenesisState

DefaultGenesis returns the default genesis state

func (*GenesisState) Descriptor

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

func (*GenesisState) GetFundDepositRequestList

func (m *GenesisState) GetFundDepositRequestList() []FundDepositRequest

func (*GenesisState) GetParams

func (m *GenesisState) GetParams() Params

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

func (gs GenesisState) Validate() error

Validate performs basic genesis state validation returning an error upon any failure.

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 MsgClient

type MsgClient interface {
	FundsDeposited(ctx context.Context, in *MsgFundsDeposited, opts ...grpc.CallOption) (*MsgFundsDepositedResponse, error)
}

MsgClient is the client API for Msg service.

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

func NewMsgClient

func NewMsgClient(cc grpc1.ClientConn) MsgClient

type MsgFundsDeposited

type MsgFundsDeposited struct {
	Orchestrator  string          `protobuf:"bytes,1,opt,name=orchestrator,proto3" json:"orchestrator,omitempty"`
	SrcChainId    string          `protobuf:"bytes,2,opt,name=srcChainId,proto3" json:"srcChainId,omitempty"`
	SrcChainType  types.ChainType `` /* 131-byte string literal not displayed */
	SrcTxHash     string          `protobuf:"bytes,4,opt,name=srcTxHash,proto3" json:"srcTxHash,omitempty"`
	SrcTimestamp  uint64          `protobuf:"varint,5,opt,name=srcTimestamp,proto3" json:"srcTimestamp,omitempty"`
	Contract      string          `protobuf:"bytes,6,opt,name=contract,proto3" json:"contract,omitempty"`
	DepositId     uint64          `protobuf:"varint,7,opt,name=deposit_id,json=depositId,proto3" json:"deposit_id,omitempty"`
	BlockHeight   uint64          `protobuf:"varint,8,opt,name=blockHeight,proto3" json:"blockHeight,omitempty"`
	DestChainId   string          `protobuf:"bytes,9,opt,name=destChainId,proto3" json:"destChainId,omitempty"`
	DestChainType types.ChainType `` /* 134-byte string literal not displayed */
	Amount        uint64          `protobuf:"varint,11,opt,name=amount,proto3" json:"amount,omitempty"`
	RelayerFees   uint64          `protobuf:"varint,12,opt,name=relayerFees,proto3" json:"relayerFees,omitempty"`
	SrcToken      string          `protobuf:"bytes,13,opt,name=srcToken,proto3" json:"srcToken,omitempty"`
	Recipient     string          `protobuf:"bytes,14,opt,name=recipient,proto3" json:"recipient,omitempty"`
	Depositor     string          `protobuf:"bytes,15,opt,name=depositor,proto3" json:"depositor,omitempty"`
}

func NewMsgFundsDeposited

func NewMsgFundsDeposited(orchestrator string, srcChainId string, srcChainType multichainTypes.ChainType, srcTxHash string, srcTimestamp uint64, contract string, depositId uint64, blockHeight uint64, destChainId string, destChainType multichainTypes.ChainType, amount uint64, relayerFees uint64, srcToken string, recipient string, depositor string) *MsgFundsDeposited

func (*MsgFundsDeposited) ClaimHash

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

Hash implements MsgFundsDeposited.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 (*MsgFundsDeposited) Descriptor

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

func (*MsgFundsDeposited) GetAmount

func (m *MsgFundsDeposited) GetAmount() uint64

func (*MsgFundsDeposited) GetBlockHeight

func (m *MsgFundsDeposited) GetBlockHeight() uint64

func (*MsgFundsDeposited) GetChainId

func (msg *MsgFundsDeposited) GetChainId() string

func (MsgFundsDeposited) GetClaimer

func (msg MsgFundsDeposited) GetClaimer() sdk.AccAddress

func (*MsgFundsDeposited) GetContract

func (m *MsgFundsDeposited) GetContract() string

func (*MsgFundsDeposited) GetDepositId

func (m *MsgFundsDeposited) GetDepositId() uint64

func (*MsgFundsDeposited) GetDepositor

func (m *MsgFundsDeposited) GetDepositor() string

func (*MsgFundsDeposited) GetDestChainId

func (m *MsgFundsDeposited) GetDestChainId() string

func (*MsgFundsDeposited) GetDestChainType

func (m *MsgFundsDeposited) GetDestChainType() types.ChainType

func (*MsgFundsDeposited) GetEventNonce

func (msg *MsgFundsDeposited) GetEventNonce() uint64

func (*MsgFundsDeposited) GetOrchestrator

func (m *MsgFundsDeposited) GetOrchestrator() string

func (*MsgFundsDeposited) GetRecipient

func (m *MsgFundsDeposited) GetRecipient() string

func (*MsgFundsDeposited) GetRelayerFees

func (m *MsgFundsDeposited) GetRelayerFees() uint64

func (*MsgFundsDeposited) GetSignBytes

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

func (*MsgFundsDeposited) GetSigners

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

func (*MsgFundsDeposited) GetSrcChainId

func (m *MsgFundsDeposited) GetSrcChainId() string

func (*MsgFundsDeposited) GetSrcChainType

func (m *MsgFundsDeposited) GetSrcChainType() types.ChainType

func (*MsgFundsDeposited) GetSrcTimestamp

func (m *MsgFundsDeposited) GetSrcTimestamp() uint64

func (*MsgFundsDeposited) GetSrcToken

func (m *MsgFundsDeposited) GetSrcToken() string

func (*MsgFundsDeposited) GetSrcTxHash

func (m *MsgFundsDeposited) GetSrcTxHash() string

func (*MsgFundsDeposited) GetType

GetType returns the type of the claim

func (*MsgFundsDeposited) Marshal

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

func (*MsgFundsDeposited) MarshalTo

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

func (*MsgFundsDeposited) MarshalToSizedBuffer

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

func (*MsgFundsDeposited) ProtoMessage

func (*MsgFundsDeposited) ProtoMessage()

func (*MsgFundsDeposited) Reset

func (m *MsgFundsDeposited) Reset()

func (*MsgFundsDeposited) Route

func (msg *MsgFundsDeposited) Route() string

func (*MsgFundsDeposited) Size

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

func (*MsgFundsDeposited) String

func (m *MsgFundsDeposited) String() string

func (*MsgFundsDeposited) Type

func (msg *MsgFundsDeposited) Type() string

func (*MsgFundsDeposited) Unmarshal

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

func (*MsgFundsDeposited) ValidateBasic

func (msg *MsgFundsDeposited) ValidateBasic() error

func (*MsgFundsDeposited) XXX_DiscardUnknown

func (m *MsgFundsDeposited) XXX_DiscardUnknown()

func (*MsgFundsDeposited) XXX_Marshal

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

func (*MsgFundsDeposited) XXX_Merge

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

func (*MsgFundsDeposited) XXX_Size

func (m *MsgFundsDeposited) XXX_Size() int

func (*MsgFundsDeposited) XXX_Unmarshal

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

type MsgFundsDepositedResponse

type MsgFundsDepositedResponse struct {
}

func (*MsgFundsDepositedResponse) Descriptor

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

func (*MsgFundsDepositedResponse) Marshal

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

func (*MsgFundsDepositedResponse) MarshalTo

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

func (*MsgFundsDepositedResponse) MarshalToSizedBuffer

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

func (*MsgFundsDepositedResponse) ProtoMessage

func (*MsgFundsDepositedResponse) ProtoMessage()

func (*MsgFundsDepositedResponse) Reset

func (m *MsgFundsDepositedResponse) Reset()

func (*MsgFundsDepositedResponse) Size

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

func (*MsgFundsDepositedResponse) String

func (m *MsgFundsDepositedResponse) String() string

func (*MsgFundsDepositedResponse) Unmarshal

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

func (*MsgFundsDepositedResponse) XXX_DiscardUnknown

func (m *MsgFundsDepositedResponse) XXX_DiscardUnknown()

func (*MsgFundsDepositedResponse) XXX_Marshal

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

func (*MsgFundsDepositedResponse) XXX_Merge

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

func (*MsgFundsDepositedResponse) XXX_Size

func (m *MsgFundsDepositedResponse) XXX_Size() int

func (*MsgFundsDepositedResponse) XXX_Unmarshal

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

type MsgServer

type MsgServer interface {
	FundsDeposited(context.Context, *MsgFundsDeposited) (*MsgFundsDepositedResponse, error)
}

MsgServer is the server API for Msg service.

type MultichainKeeper

type MultichainKeeper interface {
	GetLastObservedEventNonce(ctx sdk.Context, chainId string, contract string) uint64
}

type Params

type Params struct {
}

Params defines the parameters for the module.

func DefaultParams

func DefaultParams() Params

DefaultParams returns a default set of parameters

func NewParams

func NewParams() Params

NewParams creates a new Params instance

func (*Params) Descriptor

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

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 get the params.ParamSet

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 (p Params) String() string

String implements the Stringer interface.

func (*Params) Unmarshal

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

func (Params) Validate

func (p Params) Validate() error

Validate validates the set of params

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 PricefeedKeeper

type PricefeedKeeper interface {
}

type QueryAllFundDepositRequestRequest

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

func (*QueryAllFundDepositRequestRequest) Descriptor

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

func (*QueryAllFundDepositRequestRequest) GetPagination

func (*QueryAllFundDepositRequestRequest) Marshal

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

func (*QueryAllFundDepositRequestRequest) MarshalTo

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

func (*QueryAllFundDepositRequestRequest) MarshalToSizedBuffer

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

func (*QueryAllFundDepositRequestRequest) ProtoMessage

func (*QueryAllFundDepositRequestRequest) ProtoMessage()

func (*QueryAllFundDepositRequestRequest) Reset

func (*QueryAllFundDepositRequestRequest) Size

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

func (*QueryAllFundDepositRequestRequest) String

func (*QueryAllFundDepositRequestRequest) Unmarshal

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

func (*QueryAllFundDepositRequestRequest) XXX_DiscardUnknown

func (m *QueryAllFundDepositRequestRequest) XXX_DiscardUnknown()

func (*QueryAllFundDepositRequestRequest) XXX_Marshal

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

func (*QueryAllFundDepositRequestRequest) XXX_Merge

func (*QueryAllFundDepositRequestRequest) XXX_Size

func (m *QueryAllFundDepositRequestRequest) XXX_Size() int

func (*QueryAllFundDepositRequestRequest) XXX_Unmarshal

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

type QueryAllFundDepositRequestResponse

type QueryAllFundDepositRequestResponse struct {
	FundDepositRequest []FundDepositRequest `protobuf:"bytes,1,rep,name=fundDepositRequest,proto3" json:"fundDepositRequest"`
	Pagination         *query.PageResponse  `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

func (*QueryAllFundDepositRequestResponse) Descriptor

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

func (*QueryAllFundDepositRequestResponse) GetFundDepositRequest

func (m *QueryAllFundDepositRequestResponse) GetFundDepositRequest() []FundDepositRequest

func (*QueryAllFundDepositRequestResponse) GetPagination

func (*QueryAllFundDepositRequestResponse) Marshal

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

func (*QueryAllFundDepositRequestResponse) MarshalTo

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

func (*QueryAllFundDepositRequestResponse) MarshalToSizedBuffer

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

func (*QueryAllFundDepositRequestResponse) ProtoMessage

func (*QueryAllFundDepositRequestResponse) ProtoMessage()

func (*QueryAllFundDepositRequestResponse) Reset

func (*QueryAllFundDepositRequestResponse) Size

func (*QueryAllFundDepositRequestResponse) String

func (*QueryAllFundDepositRequestResponse) Unmarshal

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

func (*QueryAllFundDepositRequestResponse) XXX_DiscardUnknown

func (m *QueryAllFundDepositRequestResponse) XXX_DiscardUnknown()

func (*QueryAllFundDepositRequestResponse) XXX_Marshal

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

func (*QueryAllFundDepositRequestResponse) XXX_Merge

func (*QueryAllFundDepositRequestResponse) XXX_Size

func (*QueryAllFundDepositRequestResponse) XXX_Unmarshal

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

type QueryClient

type QueryClient interface {
	// Parameters queries the parameters of the module.
	Params(ctx context.Context, in *QueryParamsRequest, opts ...grpc.CallOption) (*QueryParamsResponse, error)
	// Queries a list of FundDepositRequest items.
	FundDepositRequest(ctx context.Context, in *QueryGetFundDepositRequestRequest, opts ...grpc.CallOption) (*QueryGetFundDepositRequestResponse, error)
	FundDepositRequestAll(ctx context.Context, in *QueryAllFundDepositRequestRequest, opts ...grpc.CallOption) (*QueryAllFundDepositRequestResponse, 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 QueryGetFundDepositRequestRequest

type QueryGetFundDepositRequestRequest struct {
	SrcChainId string `protobuf:"bytes,1,opt,name=srcChainId,proto3" json:"srcChainId,omitempty"`
	EventNonce uint64 `protobuf:"varint,2,opt,name=eventNonce,proto3" json:"eventNonce,omitempty"`
}

func (*QueryGetFundDepositRequestRequest) Descriptor

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

func (*QueryGetFundDepositRequestRequest) GetEventNonce

func (m *QueryGetFundDepositRequestRequest) GetEventNonce() uint64

func (*QueryGetFundDepositRequestRequest) GetSrcChainId

func (m *QueryGetFundDepositRequestRequest) GetSrcChainId() string

func (*QueryGetFundDepositRequestRequest) Marshal

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

func (*QueryGetFundDepositRequestRequest) MarshalTo

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

func (*QueryGetFundDepositRequestRequest) MarshalToSizedBuffer

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

func (*QueryGetFundDepositRequestRequest) ProtoMessage

func (*QueryGetFundDepositRequestRequest) ProtoMessage()

func (*QueryGetFundDepositRequestRequest) Reset

func (*QueryGetFundDepositRequestRequest) Size

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

func (*QueryGetFundDepositRequestRequest) String

func (*QueryGetFundDepositRequestRequest) Unmarshal

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

func (*QueryGetFundDepositRequestRequest) XXX_DiscardUnknown

func (m *QueryGetFundDepositRequestRequest) XXX_DiscardUnknown()

func (*QueryGetFundDepositRequestRequest) XXX_Marshal

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

func (*QueryGetFundDepositRequestRequest) XXX_Merge

func (*QueryGetFundDepositRequestRequest) XXX_Size

func (m *QueryGetFundDepositRequestRequest) XXX_Size() int

func (*QueryGetFundDepositRequestRequest) XXX_Unmarshal

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

type QueryGetFundDepositRequestResponse

type QueryGetFundDepositRequestResponse struct {
	FundDepositRequests []FundDepositRequest `protobuf:"bytes,1,rep,name=fundDepositRequests,proto3" json:"fundDepositRequests"`
}

func (*QueryGetFundDepositRequestResponse) Descriptor

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

func (*QueryGetFundDepositRequestResponse) GetFundDepositRequests

func (m *QueryGetFundDepositRequestResponse) GetFundDepositRequests() []FundDepositRequest

func (*QueryGetFundDepositRequestResponse) Marshal

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

func (*QueryGetFundDepositRequestResponse) MarshalTo

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

func (*QueryGetFundDepositRequestResponse) MarshalToSizedBuffer

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

func (*QueryGetFundDepositRequestResponse) ProtoMessage

func (*QueryGetFundDepositRequestResponse) ProtoMessage()

func (*QueryGetFundDepositRequestResponse) Reset

func (*QueryGetFundDepositRequestResponse) Size

func (*QueryGetFundDepositRequestResponse) String

func (*QueryGetFundDepositRequestResponse) Unmarshal

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

func (*QueryGetFundDepositRequestResponse) XXX_DiscardUnknown

func (m *QueryGetFundDepositRequestResponse) XXX_DiscardUnknown()

func (*QueryGetFundDepositRequestResponse) XXX_Marshal

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

func (*QueryGetFundDepositRequestResponse) XXX_Merge

func (*QueryGetFundDepositRequestResponse) XXX_Size

func (*QueryGetFundDepositRequestResponse) XXX_Unmarshal

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

type QueryParamsRequest

type QueryParamsRequest struct {
}

QueryParamsRequest is request type for the Query/Params RPC method.

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 holds all the parameters of this module.
	Params Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params"`
}

QueryParamsResponse is response type for the Query/Params RPC method.

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 QueryServer

type QueryServer interface {
	// Parameters queries the parameters of the module.
	Params(context.Context, *QueryParamsRequest) (*QueryParamsResponse, error)
	// Queries a list of FundDepositRequest items.
	FundDepositRequest(context.Context, *QueryGetFundDepositRequestRequest) (*QueryGetFundDepositRequestResponse, error)
	FundDepositRequestAll(context.Context, *QueryAllFundDepositRequestRequest) (*QueryAllFundDepositRequestResponse, error)
}

QueryServer is the server API for Query service.

type UnimplementedMsgServer

type UnimplementedMsgServer struct {
}

UnimplementedMsgServer can be embedded to have forward compatible implementations.

func (*UnimplementedMsgServer) FundsDeposited

type UnimplementedQueryServer

type UnimplementedQueryServer struct {
}

UnimplementedQueryServer can be embedded to have forward compatible implementations.

func (*UnimplementedQueryServer) Params

Jump to

Keyboard shortcuts

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