Documentation ¶
Overview ¶
Package types is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Index ¶
- Constants
- Variables
- func IsValidAddress(address string, chain Chain) bool
- func IsValidEthAddress(address string) bool
- func KeyPrefix(p string) []byte
- func ParamKeyTable() paramtypes.KeyTable
- func RegisterCodec(cdc *codec.LegacyAmino)
- func RegisterInterfaces(registry cdctypes.InterfaceRegistry)
- func RegisterMsgServer(s grpc1.Server, srv MsgServer)
- func RegisterQueryHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterQueryHandlerClient(ctx context.Context, mux *runtime.ServeMux, client QueryClient) error
- func RegisterQueryHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, server QueryServer) error
- func RegisterQueryServer(s grpc1.Server, srv QueryServer)
- type AccountKeeper
- type Action
- type BankKeeper
- type Chain
- type ClaimRecord
- func (*ClaimRecord) Descriptor() ([]byte, []int)
- func (m *ClaimRecord) GetAddress() string
- func (m *ClaimRecord) GetAmountClaim() types.Coin
- func (m *ClaimRecord) GetAmountDelegate() types.Coin
- func (m *ClaimRecord) GetAmountVote() types.Coin
- func (m *ClaimRecord) GetChain() Chain
- func (m *ClaimRecord) GetIsTransferable() bool
- func (claimRecord *ClaimRecord) IsEmpty() bool
- func (m *ClaimRecord) Marshal() (dAtA []byte, err error)
- func (m *ClaimRecord) MarshalTo(dAtA []byte) (int, error)
- func (m *ClaimRecord) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ClaimRecord) ProtoMessage()
- func (m *ClaimRecord) Reset()
- func (m *ClaimRecord) Size() (n int)
- func (m *ClaimRecord) String() string
- func (m *ClaimRecord) Unmarshal(dAtA []byte) error
- func (m *ClaimRecord) XXX_DiscardUnknown()
- func (m *ClaimRecord) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ClaimRecord) XXX_Merge(src proto.Message)
- func (m *ClaimRecord) XXX_Size() int
- func (m *ClaimRecord) XXX_Unmarshal(b []byte) error
- type GenesisState
- func (*GenesisState) Descriptor() ([]byte, []int)
- func (m *GenesisState) GetClaimRecords() []ClaimRecord
- func (m *GenesisState) GetModuleAccountBalance() types.Coin
- func (m *GenesisState) GetParams() Params
- func (m *GenesisState) Marshal() (dAtA []byte, err error)
- func (m *GenesisState) MarshalTo(dAtA []byte) (int, error)
- func (m *GenesisState) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*GenesisState) ProtoMessage()
- func (m *GenesisState) Reset()
- func (m *GenesisState) Size() (n int)
- func (m *GenesisState) String() string
- func (m *GenesisState) Unmarshal(dAtA []byte) error
- func (gs GenesisState) Validate() error
- func (m *GenesisState) XXX_DiscardUnknown()
- func (m *GenesisState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GenesisState) XXX_Merge(src proto.Message)
- func (m *GenesisState) XXX_Size() int
- func (m *GenesisState) XXX_Unmarshal(b []byte) error
- type MsgAddClaim
- func (*MsgAddClaim) Descriptor() ([]byte, []int)
- func (m *MsgAddClaim) GetAddress() string
- func (m *MsgAddClaim) GetAmount() int64
- func (m *MsgAddClaim) GetChain() Chain
- func (m *MsgAddClaim) GetCreator() string
- func (msg *MsgAddClaim) GetSignBytes() []byte
- func (msg *MsgAddClaim) GetSigners() []sdk.AccAddress
- func (m *MsgAddClaim) Marshal() (dAtA []byte, err error)
- func (m *MsgAddClaim) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgAddClaim) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgAddClaim) ProtoMessage()
- func (m *MsgAddClaim) Reset()
- func (msg *MsgAddClaim) Route() string
- func (m *MsgAddClaim) Size() (n int)
- func (m *MsgAddClaim) String() string
- func (msg *MsgAddClaim) Type() string
- func (m *MsgAddClaim) Unmarshal(dAtA []byte) error
- func (msg *MsgAddClaim) ValidateBasic() error
- func (m *MsgAddClaim) XXX_DiscardUnknown()
- func (m *MsgAddClaim) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgAddClaim) XXX_Merge(src proto.Message)
- func (m *MsgAddClaim) XXX_Size() int
- func (m *MsgAddClaim) XXX_Unmarshal(b []byte) error
- type MsgAddClaimResponse
- func (*MsgAddClaimResponse) Descriptor() ([]byte, []int)
- func (m *MsgAddClaimResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgAddClaimResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgAddClaimResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgAddClaimResponse) ProtoMessage()
- func (m *MsgAddClaimResponse) Reset()
- func (m *MsgAddClaimResponse) Size() (n int)
- func (m *MsgAddClaimResponse) String() string
- func (m *MsgAddClaimResponse) Unmarshal(dAtA []byte) error
- func (m *MsgAddClaimResponse) XXX_DiscardUnknown()
- func (m *MsgAddClaimResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgAddClaimResponse) XXX_Merge(src proto.Message)
- func (m *MsgAddClaimResponse) XXX_Size() int
- func (m *MsgAddClaimResponse) XXX_Unmarshal(b []byte) error
- type MsgClaimArkeo
- func (*MsgClaimArkeo) Descriptor() ([]byte, []int)
- func (m *MsgClaimArkeo) GetCreator() string
- func (msg *MsgClaimArkeo) GetSignBytes() []byte
- func (msg *MsgClaimArkeo) GetSigners() []sdk.AccAddress
- func (m *MsgClaimArkeo) Marshal() (dAtA []byte, err error)
- func (m *MsgClaimArkeo) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgClaimArkeo) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgClaimArkeo) ProtoMessage()
- func (m *MsgClaimArkeo) Reset()
- func (msg *MsgClaimArkeo) Route() string
- func (m *MsgClaimArkeo) Size() (n int)
- func (m *MsgClaimArkeo) String() string
- func (msg *MsgClaimArkeo) Type() string
- func (m *MsgClaimArkeo) Unmarshal(dAtA []byte) error
- func (msg *MsgClaimArkeo) ValidateBasic() error
- func (m *MsgClaimArkeo) XXX_DiscardUnknown()
- func (m *MsgClaimArkeo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgClaimArkeo) XXX_Merge(src proto.Message)
- func (m *MsgClaimArkeo) XXX_Size() int
- func (m *MsgClaimArkeo) XXX_Unmarshal(b []byte) error
- type MsgClaimArkeoResponse
- func (*MsgClaimArkeoResponse) Descriptor() ([]byte, []int)
- func (m *MsgClaimArkeoResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgClaimArkeoResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgClaimArkeoResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgClaimArkeoResponse) ProtoMessage()
- func (m *MsgClaimArkeoResponse) Reset()
- func (m *MsgClaimArkeoResponse) Size() (n int)
- func (m *MsgClaimArkeoResponse) String() string
- func (m *MsgClaimArkeoResponse) Unmarshal(dAtA []byte) error
- func (m *MsgClaimArkeoResponse) XXX_DiscardUnknown()
- func (m *MsgClaimArkeoResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgClaimArkeoResponse) XXX_Merge(src proto.Message)
- func (m *MsgClaimArkeoResponse) XXX_Size() int
- func (m *MsgClaimArkeoResponse) XXX_Unmarshal(b []byte) error
- type MsgClaimEth
- func (*MsgClaimEth) Descriptor() ([]byte, []int)
- func (m *MsgClaimEth) GetCreator() string
- func (m *MsgClaimEth) GetEthAddress() string
- func (msg *MsgClaimEth) GetSignBytes() []byte
- func (m *MsgClaimEth) GetSignature() string
- func (msg *MsgClaimEth) GetSigners() []sdk.AccAddress
- func (m *MsgClaimEth) Marshal() (dAtA []byte, err error)
- func (m *MsgClaimEth) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgClaimEth) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgClaimEth) ProtoMessage()
- func (m *MsgClaimEth) Reset()
- func (msg *MsgClaimEth) Route() string
- func (m *MsgClaimEth) Size() (n int)
- func (m *MsgClaimEth) String() string
- func (msg *MsgClaimEth) Type() string
- func (m *MsgClaimEth) Unmarshal(dAtA []byte) error
- func (msg *MsgClaimEth) ValidateBasic() error
- func (m *MsgClaimEth) XXX_DiscardUnknown()
- func (m *MsgClaimEth) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgClaimEth) XXX_Merge(src proto.Message)
- func (m *MsgClaimEth) XXX_Size() int
- func (m *MsgClaimEth) XXX_Unmarshal(b []byte) error
- type MsgClaimEthResponse
- func (*MsgClaimEthResponse) Descriptor() ([]byte, []int)
- func (m *MsgClaimEthResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgClaimEthResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgClaimEthResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgClaimEthResponse) ProtoMessage()
- func (m *MsgClaimEthResponse) Reset()
- func (m *MsgClaimEthResponse) Size() (n int)
- func (m *MsgClaimEthResponse) String() string
- func (m *MsgClaimEthResponse) Unmarshal(dAtA []byte) error
- func (m *MsgClaimEthResponse) XXX_DiscardUnknown()
- func (m *MsgClaimEthResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgClaimEthResponse) XXX_Merge(src proto.Message)
- func (m *MsgClaimEthResponse) XXX_Size() int
- func (m *MsgClaimEthResponse) XXX_Unmarshal(b []byte) error
- type MsgClaimThorchain
- func (*MsgClaimThorchain) Descriptor() ([]byte, []int)
- func (m *MsgClaimThorchain) GetCreator() string
- func (m *MsgClaimThorchain) GetFromAddress() string
- func (msg *MsgClaimThorchain) GetSignBytes() []byte
- func (msg *MsgClaimThorchain) GetSigners() []sdk.AccAddress
- func (m *MsgClaimThorchain) GetToAddress() string
- func (m *MsgClaimThorchain) Marshal() (dAtA []byte, err error)
- func (m *MsgClaimThorchain) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgClaimThorchain) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgClaimThorchain) ProtoMessage()
- func (m *MsgClaimThorchain) Reset()
- func (msg *MsgClaimThorchain) Route() string
- func (m *MsgClaimThorchain) Size() (n int)
- func (m *MsgClaimThorchain) String() string
- func (msg *MsgClaimThorchain) Type() string
- func (m *MsgClaimThorchain) Unmarshal(dAtA []byte) error
- func (msg *MsgClaimThorchain) ValidateBasic() error
- func (m *MsgClaimThorchain) XXX_DiscardUnknown()
- func (m *MsgClaimThorchain) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgClaimThorchain) XXX_Merge(src proto.Message)
- func (m *MsgClaimThorchain) XXX_Size() int
- func (m *MsgClaimThorchain) XXX_Unmarshal(b []byte) error
- type MsgClaimThorchainResponse
- func (*MsgClaimThorchainResponse) Descriptor() ([]byte, []int)
- func (m *MsgClaimThorchainResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgClaimThorchainResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgClaimThorchainResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgClaimThorchainResponse) ProtoMessage()
- func (m *MsgClaimThorchainResponse) Reset()
- func (m *MsgClaimThorchainResponse) Size() (n int)
- func (m *MsgClaimThorchainResponse) String() string
- func (m *MsgClaimThorchainResponse) Unmarshal(dAtA []byte) error
- func (m *MsgClaimThorchainResponse) XXX_DiscardUnknown()
- func (m *MsgClaimThorchainResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgClaimThorchainResponse) XXX_Merge(src proto.Message)
- func (m *MsgClaimThorchainResponse) XXX_Size() int
- func (m *MsgClaimThorchainResponse) XXX_Unmarshal(b []byte) error
- type MsgClient
- type MsgServer
- type MsgTransferClaim
- func (*MsgTransferClaim) Descriptor() ([]byte, []int)
- func (m *MsgTransferClaim) GetCreator() string
- func (msg *MsgTransferClaim) GetSignBytes() []byte
- func (msg *MsgTransferClaim) GetSigners() []sdk.AccAddress
- func (m *MsgTransferClaim) GetToAddress() string
- func (m *MsgTransferClaim) Marshal() (dAtA []byte, err error)
- func (m *MsgTransferClaim) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgTransferClaim) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgTransferClaim) ProtoMessage()
- func (m *MsgTransferClaim) Reset()
- func (msg *MsgTransferClaim) Route() string
- func (m *MsgTransferClaim) Size() (n int)
- func (m *MsgTransferClaim) String() string
- func (msg *MsgTransferClaim) Type() string
- func (m *MsgTransferClaim) Unmarshal(dAtA []byte) error
- func (msg *MsgTransferClaim) ValidateBasic() error
- func (m *MsgTransferClaim) XXX_DiscardUnknown()
- func (m *MsgTransferClaim) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgTransferClaim) XXX_Merge(src proto.Message)
- func (m *MsgTransferClaim) XXX_Size() int
- func (m *MsgTransferClaim) XXX_Unmarshal(b []byte) error
- type MsgTransferClaimResponse
- func (*MsgTransferClaimResponse) Descriptor() ([]byte, []int)
- func (m *MsgTransferClaimResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgTransferClaimResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgTransferClaimResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgTransferClaimResponse) ProtoMessage()
- func (m *MsgTransferClaimResponse) Reset()
- func (m *MsgTransferClaimResponse) Size() (n int)
- func (m *MsgTransferClaimResponse) String() string
- func (m *MsgTransferClaimResponse) Unmarshal(dAtA []byte) error
- func (m *MsgTransferClaimResponse) XXX_DiscardUnknown()
- func (m *MsgTransferClaimResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgTransferClaimResponse) XXX_Merge(src proto.Message)
- func (m *MsgTransferClaimResponse) XXX_Size() int
- func (m *MsgTransferClaimResponse) XXX_Unmarshal(b []byte) error
- type Params
- func (*Params) Descriptor() ([]byte, []int)
- func (m *Params) GetAirdropStartTime() time.Time
- func (m *Params) GetClaimDenom() string
- func (m *Params) GetDurationOfDecay() time.Duration
- func (m *Params) GetDurationUntilDecay() time.Duration
- func (m *Params) GetInitialGasAmount() *types.Coin
- func (m *Params) Marshal() (dAtA []byte, err error)
- func (m *Params) MarshalTo(dAtA []byte) (int, error)
- func (m *Params) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (p *Params) ParamSetPairs() paramtypes.ParamSetPairs
- func (*Params) ProtoMessage()
- func (m *Params) Reset()
- func (m *Params) Size() (n int)
- func (m *Params) String() string
- func (m *Params) Unmarshal(dAtA []byte) error
- func (p Params) Validate() error
- func (m *Params) XXX_DiscardUnknown()
- func (m *Params) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Params) XXX_Merge(src proto.Message)
- func (m *Params) XXX_Size() int
- func (m *Params) XXX_Unmarshal(b []byte) error
- type QueryClaimRecordRequest
- func (*QueryClaimRecordRequest) Descriptor() ([]byte, []int)
- func (m *QueryClaimRecordRequest) GetAddress() string
- func (m *QueryClaimRecordRequest) GetChain() Chain
- func (m *QueryClaimRecordRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryClaimRecordRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryClaimRecordRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryClaimRecordRequest) ProtoMessage()
- func (m *QueryClaimRecordRequest) Reset()
- func (m *QueryClaimRecordRequest) Size() (n int)
- func (m *QueryClaimRecordRequest) String() string
- func (m *QueryClaimRecordRequest) Unmarshal(dAtA []byte) error
- func (m *QueryClaimRecordRequest) XXX_DiscardUnknown()
- func (m *QueryClaimRecordRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryClaimRecordRequest) XXX_Merge(src proto.Message)
- func (m *QueryClaimRecordRequest) XXX_Size() int
- func (m *QueryClaimRecordRequest) XXX_Unmarshal(b []byte) error
- type QueryClaimRecordResponse
- func (*QueryClaimRecordResponse) Descriptor() ([]byte, []int)
- func (m *QueryClaimRecordResponse) GetClaimRecord() *ClaimRecord
- func (m *QueryClaimRecordResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryClaimRecordResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryClaimRecordResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryClaimRecordResponse) ProtoMessage()
- func (m *QueryClaimRecordResponse) Reset()
- func (m *QueryClaimRecordResponse) Size() (n int)
- func (m *QueryClaimRecordResponse) String() string
- func (m *QueryClaimRecordResponse) Unmarshal(dAtA []byte) error
- func (m *QueryClaimRecordResponse) XXX_DiscardUnknown()
- func (m *QueryClaimRecordResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryClaimRecordResponse) XXX_Merge(src proto.Message)
- func (m *QueryClaimRecordResponse) XXX_Size() int
- func (m *QueryClaimRecordResponse) XXX_Unmarshal(b []byte) error
- type QueryClient
- type QueryParamsRequest
- func (*QueryParamsRequest) Descriptor() ([]byte, []int)
- func (m *QueryParamsRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryParamsRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryParamsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryParamsRequest) ProtoMessage()
- func (m *QueryParamsRequest) Reset()
- func (m *QueryParamsRequest) Size() (n int)
- func (m *QueryParamsRequest) String() string
- func (m *QueryParamsRequest) Unmarshal(dAtA []byte) error
- func (m *QueryParamsRequest) XXX_DiscardUnknown()
- func (m *QueryParamsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryParamsRequest) XXX_Merge(src proto.Message)
- func (m *QueryParamsRequest) XXX_Size() int
- func (m *QueryParamsRequest) XXX_Unmarshal(b []byte) error
- type QueryParamsResponse
- func (*QueryParamsResponse) Descriptor() ([]byte, []int)
- func (m *QueryParamsResponse) GetParams() Params
- func (m *QueryParamsResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryParamsResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryParamsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryParamsResponse) ProtoMessage()
- func (m *QueryParamsResponse) Reset()
- func (m *QueryParamsResponse) Size() (n int)
- func (m *QueryParamsResponse) String() string
- func (m *QueryParamsResponse) Unmarshal(dAtA []byte) error
- func (m *QueryParamsResponse) XXX_DiscardUnknown()
- func (m *QueryParamsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryParamsResponse) XXX_Merge(src proto.Message)
- func (m *QueryParamsResponse) XXX_Size() int
- func (m *QueryParamsResponse) XXX_Unmarshal(b []byte) error
- type QueryServer
- type UnimplementedMsgServer
- func (*UnimplementedMsgServer) AddClaim(ctx context.Context, req *MsgAddClaim) (*MsgAddClaimResponse, error)
- func (*UnimplementedMsgServer) ClaimArkeo(ctx context.Context, req *MsgClaimArkeo) (*MsgClaimArkeoResponse, error)
- func (*UnimplementedMsgServer) ClaimEth(ctx context.Context, req *MsgClaimEth) (*MsgClaimEthResponse, error)
- func (*UnimplementedMsgServer) ClaimThorchain(ctx context.Context, req *MsgClaimThorchain) (*MsgClaimThorchainResponse, error)
- func (*UnimplementedMsgServer) TransferClaim(ctx context.Context, req *MsgTransferClaim) (*MsgTransferClaimResponse, error)
- type UnimplementedQueryServer
Constants ¶
const ( EventTypeClaim = "claim" EventTypeClaimFromEth = "claim_from_eth" EventTypeThorchainDelegate = "claim_thor_delegate" )
const ( // ModuleName defines the module name ModuleName = "claimarkeo" // append arkeo to avoid namespace collisions with comsos claim module // 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_claim" // ClaimRecordsStorePrefix defines the store prefix for the claim records (by arkeo address) ClaimRecordsArkeoStorePrefix = "claimrecordsarkeo" // ClaimRecordsStorePrefix defines the store prefix for the claim records (by eth address) ClaimRecordsEthStorePrefix = "claimrecordsethereum" )
const DefaultIndex uint64 = 1
DefaultIndex is the default global index
const TypeMsgAddClaim = "add_claim"
const TypeMsgClaimArkeo = "claim_arkeo"
const TypeMsgClaimEth = "claim_eth"
const TypeMsgClaimThorchain = "claim_thorchain"
const TypeMsgTransferClaim = "transfer_claim"
Variables ¶
var ( ErrInvalidLengthClaimRecord = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowClaimRecord = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupClaimRecord = fmt.Errorf("proto: unexpected end of group") )
var ( Amino = codec.NewLegacyAmino() ModuleCdc = codec.NewProtoCodec(cdctypes.NewInterfaceRegistry()) )
var ( ErrAirdropEnded = errors.Register(ModuleName, 1, "Airdrop has ended") ErrNoClaimableAmount = errors.Register(ModuleName, 2, "No Claimable Arkeo") ErrInvalidSignature = errors.Register(ModuleName, 3, "Invalid signature") ErrClaimRecordNotTransferrable = errors.Register(ModuleName, 4, "Claim record can not be transferred") ErrInvalidCreator = errors.Register(ModuleName, 5, "Invalid Creator") )
var ( EIP712Types = apitypes.Types{ "Claim": []apitypes.Type{ {Name: "address", Type: "address"}, {Name: "arkeoAddress", Type: "string"}, {Name: "amount", Type: "string"}, }, "EIP712Domain": []apitypes.Type{ {Name: "name", Type: "string"}, {Name: "chainId", Type: "uint256"}, {Name: "version", Type: "string"}, }, } EIP712Domain = apitypes.TypedDataDomain{ Name: "ArkdropClaim", Version: "1", ChainId: math.NewHexOrDecimal256(1), } )
var ( ErrInvalidLengthGenesis = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowGenesis = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupGenesis = fmt.Errorf("proto: unexpected end of group") )
var ( KeyClaimDenom = []byte("ClaimDenom") DefaultClaimDenom string = "uarkeo" )
var ( KeyDurationUntilDecay = []byte("DurationUntilDecay") DefaultDurationUntilDecay time.Duration = time.Hour )
var ( KeyDurationOfDecay = []byte("DurationOfDecay") DefaultDurationOfDecay time.Duration = time.Hour )
var ( KeyAirdropStartTime = []byte("AirdropStartTime") DeafultAirdropStartTime time.Time = time.Now().UTC() )
var ( ErrInvalidLengthParams = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowParams = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupParams = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthQuery = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowQuery = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupQuery = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthTx = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowTx = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupTx = fmt.Errorf("proto: unexpected end of group") )
var Action_name = map[int32]string{
0: "ACTION_CLAIM",
1: "ACTION_VOTE",
2: "ACTION_DELEGATE",
}
var Action_value = map[string]int32{
"ACTION_CLAIM": 0,
"ACTION_VOTE": 1,
"ACTION_DELEGATE": 2,
}
var Chain_name = map[int32]string{
0: "ARKEO",
1: "ETHEREUM",
}
var Chain_value = map[string]int32{
"ARKEO": 0,
"ETHEREUM": 1,
}
var Msg_serviceDesc = _Msg_serviceDesc
var Query_serviceDesc = _Query_serviceDesc
Functions ¶
func IsValidAddress ¶
func IsValidEthAddress ¶
isValidEthAddress checks if the provided string is a valid address or not.
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 RegisterQueryHandler ¶
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)
Types ¶
type AccountKeeper ¶
type AccountKeeper interface { GetAccount(ctx context.Context, addr sdk.AccAddress) sdk.AccountI SetModuleAccount(ctx context.Context, macc sdk.ModuleAccountI) GetModuleAddress(name string) sdk.AccAddress }
AccountKeeper defines the expected account keeper used for simulations (noalias)
type BankKeeper ¶
type BankKeeper interface { SpendableCoins(ctx context.Context, addr sdk.AccAddress) sdk.Coins SendCoinsFromModuleToAccount(ctx context.Context, senderModule string, recipientAddr sdk.AccAddress, amt sdk.Coins) error SendCoinsFromModuleToModule(ctx context.Context, senderPool, recipientPool string, amt sdk.Coins) error GetBalance(ctx context.Context, addr sdk.AccAddress, denom string) sdk.Coin MintCoins(ctx context.Context, moduleName string, amt sdk.Coins) error }
BankKeeper defines the expected interface needed to retrieve account balances.
type Chain ¶
type Chain int32
func ChainFromString ¶
ChainFromString convert chain string to Chain Enum type
func (Chain) EnumDescriptor ¶
type ClaimRecord ¶
type ClaimRecord struct { Chain Chain `protobuf:"varint,1,opt,name=chain,proto3,enum=arkeo.claim.Chain" json:"chain,omitempty"` // arkeo address of claim user Address string `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty" yaml:"address"` // claimable amount per action (claim, vote, delegate - changed to 0 after // action completed) AmountClaim types.Coin `protobuf:"bytes,3,opt,name=amount_claim,json=amountClaim,proto3" json:"amount_claim" yaml:"amount_claim"` AmountVote types.Coin `protobuf:"bytes,4,opt,name=amount_vote,json=amountVote,proto3" json:"amount_vote" yaml:"amount_vote"` AmountDelegate types.Coin `protobuf:"bytes,5,opt,name=amount_delegate,json=amountDelegate,proto3" json:"amount_delegate" yaml:"amount_delegate"` IsTransferable bool `protobuf:"varint,6,opt,name=is_transferable,json=isTransferable,proto3" json:"is_transferable,omitempty"` }
A Claim Records is the metadata of claim data per address
func (*ClaimRecord) Descriptor ¶
func (*ClaimRecord) Descriptor() ([]byte, []int)
func (*ClaimRecord) GetAddress ¶
func (m *ClaimRecord) GetAddress() string
func (*ClaimRecord) GetAmountClaim ¶
func (m *ClaimRecord) GetAmountClaim() types.Coin
func (*ClaimRecord) GetAmountDelegate ¶
func (m *ClaimRecord) GetAmountDelegate() types.Coin
func (*ClaimRecord) GetAmountVote ¶
func (m *ClaimRecord) GetAmountVote() types.Coin
func (*ClaimRecord) GetChain ¶
func (m *ClaimRecord) GetChain() Chain
func (*ClaimRecord) GetIsTransferable ¶
func (m *ClaimRecord) GetIsTransferable() bool
func (*ClaimRecord) IsEmpty ¶
func (claimRecord *ClaimRecord) IsEmpty() bool
func (*ClaimRecord) Marshal ¶
func (m *ClaimRecord) Marshal() (dAtA []byte, err error)
func (*ClaimRecord) MarshalToSizedBuffer ¶
func (m *ClaimRecord) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ClaimRecord) ProtoMessage ¶
func (*ClaimRecord) ProtoMessage()
func (*ClaimRecord) Reset ¶
func (m *ClaimRecord) Reset()
func (*ClaimRecord) Size ¶
func (m *ClaimRecord) Size() (n int)
func (*ClaimRecord) String ¶
func (m *ClaimRecord) String() string
func (*ClaimRecord) Unmarshal ¶
func (m *ClaimRecord) Unmarshal(dAtA []byte) error
func (*ClaimRecord) XXX_DiscardUnknown ¶
func (m *ClaimRecord) XXX_DiscardUnknown()
func (*ClaimRecord) XXX_Marshal ¶
func (m *ClaimRecord) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ClaimRecord) XXX_Merge ¶
func (m *ClaimRecord) XXX_Merge(src proto.Message)
func (*ClaimRecord) XXX_Size ¶
func (m *ClaimRecord) XXX_Size() int
func (*ClaimRecord) XXX_Unmarshal ¶
func (m *ClaimRecord) XXX_Unmarshal(b []byte) error
type GenesisState ¶
type GenesisState struct { // balance of the claim module's account ModuleAccountBalance types.Coin `` /* 143-byte string literal not displayed */ Params Params `protobuf:"bytes,2,opt,name=params,proto3" json:"params"` // list of claim records, one for every airdrop recipient ClaimRecords []ClaimRecord `protobuf:"bytes,3,rep,name=claim_records,json=claimRecords,proto3" json:"claim_records" yaml:"claim_records"` }
GenesisState defines the claim 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) GetClaimRecords ¶
func (m *GenesisState) GetClaimRecords() []ClaimRecord
func (*GenesisState) GetModuleAccountBalance ¶
func (m *GenesisState) GetModuleAccountBalance() types.Coin
func (*GenesisState) GetParams ¶
func (m *GenesisState) GetParams() Params
func (*GenesisState) Marshal ¶
func (m *GenesisState) Marshal() (dAtA []byte, err 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 MsgAddClaim ¶
type MsgAddClaim struct { Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` Chain Chain `protobuf:"varint,2,opt,name=chain,proto3,enum=arkeo.claim.Chain" json:"chain,omitempty"` Address string `protobuf:"bytes,3,opt,name=address,proto3" json:"address,omitempty"` Amount int64 `protobuf:"varint,4,opt,name=amount,proto3" json:"amount,omitempty"` }
func NewMsgAddClaim ¶
func NewMsgAddClaim(creator cosmos.AccAddress, chain Chain, address string, amount int64) *MsgAddClaim
func (*MsgAddClaim) Descriptor ¶
func (*MsgAddClaim) Descriptor() ([]byte, []int)
func (*MsgAddClaim) GetAddress ¶
func (m *MsgAddClaim) GetAddress() string
func (*MsgAddClaim) GetAmount ¶
func (m *MsgAddClaim) GetAmount() int64
func (*MsgAddClaim) GetChain ¶
func (m *MsgAddClaim) GetChain() Chain
func (*MsgAddClaim) GetCreator ¶
func (m *MsgAddClaim) GetCreator() string
func (*MsgAddClaim) GetSignBytes ¶
func (msg *MsgAddClaim) GetSignBytes() []byte
func (*MsgAddClaim) GetSigners ¶
func (msg *MsgAddClaim) GetSigners() []sdk.AccAddress
func (*MsgAddClaim) Marshal ¶
func (m *MsgAddClaim) Marshal() (dAtA []byte, err error)
func (*MsgAddClaim) MarshalToSizedBuffer ¶
func (m *MsgAddClaim) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgAddClaim) ProtoMessage ¶
func (*MsgAddClaim) ProtoMessage()
func (*MsgAddClaim) Reset ¶
func (m *MsgAddClaim) Reset()
func (*MsgAddClaim) Route ¶
func (msg *MsgAddClaim) Route() string
func (*MsgAddClaim) Size ¶
func (m *MsgAddClaim) Size() (n int)
func (*MsgAddClaim) String ¶
func (m *MsgAddClaim) String() string
func (*MsgAddClaim) Type ¶
func (msg *MsgAddClaim) Type() string
func (*MsgAddClaim) Unmarshal ¶
func (m *MsgAddClaim) Unmarshal(dAtA []byte) error
func (*MsgAddClaim) ValidateBasic ¶
func (msg *MsgAddClaim) ValidateBasic() error
func (*MsgAddClaim) XXX_DiscardUnknown ¶
func (m *MsgAddClaim) XXX_DiscardUnknown()
func (*MsgAddClaim) XXX_Marshal ¶
func (m *MsgAddClaim) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgAddClaim) XXX_Merge ¶
func (m *MsgAddClaim) XXX_Merge(src proto.Message)
func (*MsgAddClaim) XXX_Size ¶
func (m *MsgAddClaim) XXX_Size() int
func (*MsgAddClaim) XXX_Unmarshal ¶
func (m *MsgAddClaim) XXX_Unmarshal(b []byte) error
type MsgAddClaimResponse ¶
type MsgAddClaimResponse struct { }
func (*MsgAddClaimResponse) Descriptor ¶
func (*MsgAddClaimResponse) Descriptor() ([]byte, []int)
func (*MsgAddClaimResponse) Marshal ¶
func (m *MsgAddClaimResponse) Marshal() (dAtA []byte, err error)
func (*MsgAddClaimResponse) MarshalTo ¶
func (m *MsgAddClaimResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgAddClaimResponse) MarshalToSizedBuffer ¶
func (m *MsgAddClaimResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgAddClaimResponse) ProtoMessage ¶
func (*MsgAddClaimResponse) ProtoMessage()
func (*MsgAddClaimResponse) Reset ¶
func (m *MsgAddClaimResponse) Reset()
func (*MsgAddClaimResponse) Size ¶
func (m *MsgAddClaimResponse) Size() (n int)
func (*MsgAddClaimResponse) String ¶
func (m *MsgAddClaimResponse) String() string
func (*MsgAddClaimResponse) Unmarshal ¶
func (m *MsgAddClaimResponse) Unmarshal(dAtA []byte) error
func (*MsgAddClaimResponse) XXX_DiscardUnknown ¶
func (m *MsgAddClaimResponse) XXX_DiscardUnknown()
func (*MsgAddClaimResponse) XXX_Marshal ¶
func (m *MsgAddClaimResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgAddClaimResponse) XXX_Merge ¶
func (m *MsgAddClaimResponse) XXX_Merge(src proto.Message)
func (*MsgAddClaimResponse) XXX_Size ¶
func (m *MsgAddClaimResponse) XXX_Size() int
func (*MsgAddClaimResponse) XXX_Unmarshal ¶
func (m *MsgAddClaimResponse) XXX_Unmarshal(b []byte) error
type MsgClaimArkeo ¶
type MsgClaimArkeo struct {
Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"`
}
func NewMsgClaimArkeo ¶
func NewMsgClaimArkeo(creator cosmos.AccAddress) *MsgClaimArkeo
func (*MsgClaimArkeo) Descriptor ¶
func (*MsgClaimArkeo) Descriptor() ([]byte, []int)
func (*MsgClaimArkeo) GetCreator ¶
func (m *MsgClaimArkeo) GetCreator() string
func (*MsgClaimArkeo) GetSignBytes ¶
func (msg *MsgClaimArkeo) GetSignBytes() []byte
func (*MsgClaimArkeo) GetSigners ¶
func (msg *MsgClaimArkeo) GetSigners() []sdk.AccAddress
func (*MsgClaimArkeo) Marshal ¶
func (m *MsgClaimArkeo) Marshal() (dAtA []byte, err error)
func (*MsgClaimArkeo) MarshalToSizedBuffer ¶
func (m *MsgClaimArkeo) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgClaimArkeo) ProtoMessage ¶
func (*MsgClaimArkeo) ProtoMessage()
func (*MsgClaimArkeo) Reset ¶
func (m *MsgClaimArkeo) Reset()
func (*MsgClaimArkeo) Route ¶
func (msg *MsgClaimArkeo) Route() string
func (*MsgClaimArkeo) Size ¶
func (m *MsgClaimArkeo) Size() (n int)
func (*MsgClaimArkeo) String ¶
func (m *MsgClaimArkeo) String() string
func (*MsgClaimArkeo) Type ¶
func (msg *MsgClaimArkeo) Type() string
func (*MsgClaimArkeo) Unmarshal ¶
func (m *MsgClaimArkeo) Unmarshal(dAtA []byte) error
func (*MsgClaimArkeo) ValidateBasic ¶
func (msg *MsgClaimArkeo) ValidateBasic() error
func (*MsgClaimArkeo) XXX_DiscardUnknown ¶
func (m *MsgClaimArkeo) XXX_DiscardUnknown()
func (*MsgClaimArkeo) XXX_Marshal ¶
func (m *MsgClaimArkeo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgClaimArkeo) XXX_Merge ¶
func (m *MsgClaimArkeo) XXX_Merge(src proto.Message)
func (*MsgClaimArkeo) XXX_Size ¶
func (m *MsgClaimArkeo) XXX_Size() int
func (*MsgClaimArkeo) XXX_Unmarshal ¶
func (m *MsgClaimArkeo) XXX_Unmarshal(b []byte) error
type MsgClaimArkeoResponse ¶
type MsgClaimArkeoResponse struct { }
func (*MsgClaimArkeoResponse) Descriptor ¶
func (*MsgClaimArkeoResponse) Descriptor() ([]byte, []int)
func (*MsgClaimArkeoResponse) Marshal ¶
func (m *MsgClaimArkeoResponse) Marshal() (dAtA []byte, err error)
func (*MsgClaimArkeoResponse) MarshalTo ¶
func (m *MsgClaimArkeoResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgClaimArkeoResponse) MarshalToSizedBuffer ¶
func (m *MsgClaimArkeoResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgClaimArkeoResponse) ProtoMessage ¶
func (*MsgClaimArkeoResponse) ProtoMessage()
func (*MsgClaimArkeoResponse) Reset ¶
func (m *MsgClaimArkeoResponse) Reset()
func (*MsgClaimArkeoResponse) Size ¶
func (m *MsgClaimArkeoResponse) Size() (n int)
func (*MsgClaimArkeoResponse) String ¶
func (m *MsgClaimArkeoResponse) String() string
func (*MsgClaimArkeoResponse) Unmarshal ¶
func (m *MsgClaimArkeoResponse) Unmarshal(dAtA []byte) error
func (*MsgClaimArkeoResponse) XXX_DiscardUnknown ¶
func (m *MsgClaimArkeoResponse) XXX_DiscardUnknown()
func (*MsgClaimArkeoResponse) XXX_Marshal ¶
func (m *MsgClaimArkeoResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgClaimArkeoResponse) XXX_Merge ¶
func (m *MsgClaimArkeoResponse) XXX_Merge(src proto.Message)
func (*MsgClaimArkeoResponse) XXX_Size ¶
func (m *MsgClaimArkeoResponse) XXX_Size() int
func (*MsgClaimArkeoResponse) XXX_Unmarshal ¶
func (m *MsgClaimArkeoResponse) XXX_Unmarshal(b []byte) error
type MsgClaimEth ¶
type MsgClaimEth struct { Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` EthAddress string `protobuf:"bytes,2,opt,name=eth_address,json=ethAddress,proto3" json:"eth_address,omitempty"` Signature string `protobuf:"bytes,3,opt,name=signature,proto3" json:"signature,omitempty"` }
func NewMsgClaimEth ¶
func NewMsgClaimEth(creator cosmos.AccAddress, ethAdress, signature string) *MsgClaimEth
func (*MsgClaimEth) Descriptor ¶
func (*MsgClaimEth) Descriptor() ([]byte, []int)
func (*MsgClaimEth) GetCreator ¶
func (m *MsgClaimEth) GetCreator() string
func (*MsgClaimEth) GetEthAddress ¶
func (m *MsgClaimEth) GetEthAddress() string
func (*MsgClaimEth) GetSignBytes ¶
func (msg *MsgClaimEth) GetSignBytes() []byte
func (*MsgClaimEth) GetSignature ¶
func (m *MsgClaimEth) GetSignature() string
func (*MsgClaimEth) GetSigners ¶
func (msg *MsgClaimEth) GetSigners() []sdk.AccAddress
func (*MsgClaimEth) Marshal ¶
func (m *MsgClaimEth) Marshal() (dAtA []byte, err error)
func (*MsgClaimEth) MarshalToSizedBuffer ¶
func (m *MsgClaimEth) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgClaimEth) ProtoMessage ¶
func (*MsgClaimEth) ProtoMessage()
func (*MsgClaimEth) Reset ¶
func (m *MsgClaimEth) Reset()
func (*MsgClaimEth) Route ¶
func (msg *MsgClaimEth) Route() string
func (*MsgClaimEth) Size ¶
func (m *MsgClaimEth) Size() (n int)
func (*MsgClaimEth) String ¶
func (m *MsgClaimEth) String() string
func (*MsgClaimEth) Type ¶
func (msg *MsgClaimEth) Type() string
func (*MsgClaimEth) Unmarshal ¶
func (m *MsgClaimEth) Unmarshal(dAtA []byte) error
func (*MsgClaimEth) ValidateBasic ¶
func (msg *MsgClaimEth) ValidateBasic() error
func (*MsgClaimEth) XXX_DiscardUnknown ¶
func (m *MsgClaimEth) XXX_DiscardUnknown()
func (*MsgClaimEth) XXX_Marshal ¶
func (m *MsgClaimEth) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgClaimEth) XXX_Merge ¶
func (m *MsgClaimEth) XXX_Merge(src proto.Message)
func (*MsgClaimEth) XXX_Size ¶
func (m *MsgClaimEth) XXX_Size() int
func (*MsgClaimEth) XXX_Unmarshal ¶
func (m *MsgClaimEth) XXX_Unmarshal(b []byte) error
type MsgClaimEthResponse ¶
type MsgClaimEthResponse struct { }
func (*MsgClaimEthResponse) Descriptor ¶
func (*MsgClaimEthResponse) Descriptor() ([]byte, []int)
func (*MsgClaimEthResponse) Marshal ¶
func (m *MsgClaimEthResponse) Marshal() (dAtA []byte, err error)
func (*MsgClaimEthResponse) MarshalTo ¶
func (m *MsgClaimEthResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgClaimEthResponse) MarshalToSizedBuffer ¶
func (m *MsgClaimEthResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgClaimEthResponse) ProtoMessage ¶
func (*MsgClaimEthResponse) ProtoMessage()
func (*MsgClaimEthResponse) Reset ¶
func (m *MsgClaimEthResponse) Reset()
func (*MsgClaimEthResponse) Size ¶
func (m *MsgClaimEthResponse) Size() (n int)
func (*MsgClaimEthResponse) String ¶
func (m *MsgClaimEthResponse) String() string
func (*MsgClaimEthResponse) Unmarshal ¶
func (m *MsgClaimEthResponse) Unmarshal(dAtA []byte) error
func (*MsgClaimEthResponse) XXX_DiscardUnknown ¶
func (m *MsgClaimEthResponse) XXX_DiscardUnknown()
func (*MsgClaimEthResponse) XXX_Marshal ¶
func (m *MsgClaimEthResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgClaimEthResponse) XXX_Merge ¶
func (m *MsgClaimEthResponse) XXX_Merge(src proto.Message)
func (*MsgClaimEthResponse) XXX_Size ¶
func (m *MsgClaimEthResponse) XXX_Size() int
func (*MsgClaimEthResponse) XXX_Unmarshal ¶
func (m *MsgClaimEthResponse) XXX_Unmarshal(b []byte) error
type MsgClaimThorchain ¶
type MsgClaimThorchain struct { Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` FromAddress string `protobuf:"bytes,2,opt,name=from_address,json=fromAddress,proto3" json:"from_address,omitempty"` ToAddress string `protobuf:"bytes,3,opt,name=to_address,json=toAddress,proto3" json:"to_address,omitempty"` }
func NewMsgClaimThorchain ¶
func NewMsgClaimThorchain(creator cosmos.AccAddress, fromAddress string, toAddress string) *MsgClaimThorchain
func (*MsgClaimThorchain) Descriptor ¶
func (*MsgClaimThorchain) Descriptor() ([]byte, []int)
func (*MsgClaimThorchain) GetCreator ¶
func (m *MsgClaimThorchain) GetCreator() string
func (*MsgClaimThorchain) GetFromAddress ¶
func (m *MsgClaimThorchain) GetFromAddress() string
func (*MsgClaimThorchain) GetSignBytes ¶
func (msg *MsgClaimThorchain) GetSignBytes() []byte
func (*MsgClaimThorchain) GetSigners ¶
func (msg *MsgClaimThorchain) GetSigners() []sdk.AccAddress
func (*MsgClaimThorchain) GetToAddress ¶
func (m *MsgClaimThorchain) GetToAddress() string
func (*MsgClaimThorchain) Marshal ¶
func (m *MsgClaimThorchain) Marshal() (dAtA []byte, err error)
func (*MsgClaimThorchain) MarshalTo ¶
func (m *MsgClaimThorchain) MarshalTo(dAtA []byte) (int, error)
func (*MsgClaimThorchain) MarshalToSizedBuffer ¶
func (m *MsgClaimThorchain) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgClaimThorchain) ProtoMessage ¶
func (*MsgClaimThorchain) ProtoMessage()
func (*MsgClaimThorchain) Reset ¶
func (m *MsgClaimThorchain) Reset()
func (*MsgClaimThorchain) Route ¶
func (msg *MsgClaimThorchain) Route() string
func (*MsgClaimThorchain) Size ¶
func (m *MsgClaimThorchain) Size() (n int)
func (*MsgClaimThorchain) String ¶
func (m *MsgClaimThorchain) String() string
func (*MsgClaimThorchain) Type ¶
func (msg *MsgClaimThorchain) Type() string
func (*MsgClaimThorchain) Unmarshal ¶
func (m *MsgClaimThorchain) Unmarshal(dAtA []byte) error
func (*MsgClaimThorchain) ValidateBasic ¶
func (msg *MsgClaimThorchain) ValidateBasic() error
func (*MsgClaimThorchain) XXX_DiscardUnknown ¶
func (m *MsgClaimThorchain) XXX_DiscardUnknown()
func (*MsgClaimThorchain) XXX_Marshal ¶
func (m *MsgClaimThorchain) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgClaimThorchain) XXX_Merge ¶
func (m *MsgClaimThorchain) XXX_Merge(src proto.Message)
func (*MsgClaimThorchain) XXX_Size ¶
func (m *MsgClaimThorchain) XXX_Size() int
func (*MsgClaimThorchain) XXX_Unmarshal ¶
func (m *MsgClaimThorchain) XXX_Unmarshal(b []byte) error
type MsgClaimThorchainResponse ¶
type MsgClaimThorchainResponse struct { }
func (*MsgClaimThorchainResponse) Descriptor ¶
func (*MsgClaimThorchainResponse) Descriptor() ([]byte, []int)
func (*MsgClaimThorchainResponse) Marshal ¶
func (m *MsgClaimThorchainResponse) Marshal() (dAtA []byte, err error)
func (*MsgClaimThorchainResponse) MarshalTo ¶
func (m *MsgClaimThorchainResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgClaimThorchainResponse) MarshalToSizedBuffer ¶
func (m *MsgClaimThorchainResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgClaimThorchainResponse) ProtoMessage ¶
func (*MsgClaimThorchainResponse) ProtoMessage()
func (*MsgClaimThorchainResponse) Reset ¶
func (m *MsgClaimThorchainResponse) Reset()
func (*MsgClaimThorchainResponse) Size ¶
func (m *MsgClaimThorchainResponse) Size() (n int)
func (*MsgClaimThorchainResponse) String ¶
func (m *MsgClaimThorchainResponse) String() string
func (*MsgClaimThorchainResponse) Unmarshal ¶
func (m *MsgClaimThorchainResponse) Unmarshal(dAtA []byte) error
func (*MsgClaimThorchainResponse) XXX_DiscardUnknown ¶
func (m *MsgClaimThorchainResponse) XXX_DiscardUnknown()
func (*MsgClaimThorchainResponse) XXX_Marshal ¶
func (m *MsgClaimThorchainResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgClaimThorchainResponse) XXX_Merge ¶
func (m *MsgClaimThorchainResponse) XXX_Merge(src proto.Message)
func (*MsgClaimThorchainResponse) XXX_Size ¶
func (m *MsgClaimThorchainResponse) XXX_Size() int
func (*MsgClaimThorchainResponse) XXX_Unmarshal ¶
func (m *MsgClaimThorchainResponse) XXX_Unmarshal(b []byte) error
type MsgClient ¶
type MsgClient interface { ClaimEth(ctx context.Context, in *MsgClaimEth, opts ...grpc.CallOption) (*MsgClaimEthResponse, error) ClaimArkeo(ctx context.Context, in *MsgClaimArkeo, opts ...grpc.CallOption) (*MsgClaimArkeoResponse, error) TransferClaim(ctx context.Context, in *MsgTransferClaim, opts ...grpc.CallOption) (*MsgTransferClaimResponse, error) AddClaim(ctx context.Context, in *MsgAddClaim, opts ...grpc.CallOption) (*MsgAddClaimResponse, error) ClaimThorchain(ctx context.Context, in *MsgClaimThorchain, opts ...grpc.CallOption) (*MsgClaimThorchainResponse, 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 MsgServer ¶
type MsgServer interface { ClaimEth(context.Context, *MsgClaimEth) (*MsgClaimEthResponse, error) ClaimArkeo(context.Context, *MsgClaimArkeo) (*MsgClaimArkeoResponse, error) TransferClaim(context.Context, *MsgTransferClaim) (*MsgTransferClaimResponse, error) AddClaim(context.Context, *MsgAddClaim) (*MsgAddClaimResponse, error) ClaimThorchain(context.Context, *MsgClaimThorchain) (*MsgClaimThorchainResponse, error) }
MsgServer is the server API for Msg service.
type MsgTransferClaim ¶
type MsgTransferClaim struct { Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` ToAddress string `protobuf:"bytes,2,opt,name=toAddress,proto3" json:"toAddress,omitempty"` }
func NewMsgTransferClaim ¶
func NewMsgTransferClaim(creator, toAddress cosmos.AccAddress) *MsgTransferClaim
func (*MsgTransferClaim) Descriptor ¶
func (*MsgTransferClaim) Descriptor() ([]byte, []int)
func (*MsgTransferClaim) GetCreator ¶
func (m *MsgTransferClaim) GetCreator() string
func (*MsgTransferClaim) GetSignBytes ¶
func (msg *MsgTransferClaim) GetSignBytes() []byte
func (*MsgTransferClaim) GetSigners ¶
func (msg *MsgTransferClaim) GetSigners() []sdk.AccAddress
func (*MsgTransferClaim) GetToAddress ¶
func (m *MsgTransferClaim) GetToAddress() string
func (*MsgTransferClaim) Marshal ¶
func (m *MsgTransferClaim) Marshal() (dAtA []byte, err error)
func (*MsgTransferClaim) MarshalToSizedBuffer ¶
func (m *MsgTransferClaim) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgTransferClaim) ProtoMessage ¶
func (*MsgTransferClaim) ProtoMessage()
func (*MsgTransferClaim) Reset ¶
func (m *MsgTransferClaim) Reset()
func (*MsgTransferClaim) Route ¶
func (msg *MsgTransferClaim) Route() string
func (*MsgTransferClaim) Size ¶
func (m *MsgTransferClaim) Size() (n int)
func (*MsgTransferClaim) String ¶
func (m *MsgTransferClaim) String() string
func (*MsgTransferClaim) Type ¶
func (msg *MsgTransferClaim) Type() string
func (*MsgTransferClaim) Unmarshal ¶
func (m *MsgTransferClaim) Unmarshal(dAtA []byte) error
func (*MsgTransferClaim) ValidateBasic ¶
func (msg *MsgTransferClaim) ValidateBasic() error
func (*MsgTransferClaim) XXX_DiscardUnknown ¶
func (m *MsgTransferClaim) XXX_DiscardUnknown()
func (*MsgTransferClaim) XXX_Marshal ¶
func (m *MsgTransferClaim) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgTransferClaim) XXX_Merge ¶
func (m *MsgTransferClaim) XXX_Merge(src proto.Message)
func (*MsgTransferClaim) XXX_Size ¶
func (m *MsgTransferClaim) XXX_Size() int
func (*MsgTransferClaim) XXX_Unmarshal ¶
func (m *MsgTransferClaim) XXX_Unmarshal(b []byte) error
type MsgTransferClaimResponse ¶
type MsgTransferClaimResponse struct { }
func (*MsgTransferClaimResponse) Descriptor ¶
func (*MsgTransferClaimResponse) Descriptor() ([]byte, []int)
func (*MsgTransferClaimResponse) Marshal ¶
func (m *MsgTransferClaimResponse) Marshal() (dAtA []byte, err error)
func (*MsgTransferClaimResponse) MarshalTo ¶
func (m *MsgTransferClaimResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgTransferClaimResponse) MarshalToSizedBuffer ¶
func (m *MsgTransferClaimResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgTransferClaimResponse) ProtoMessage ¶
func (*MsgTransferClaimResponse) ProtoMessage()
func (*MsgTransferClaimResponse) Reset ¶
func (m *MsgTransferClaimResponse) Reset()
func (*MsgTransferClaimResponse) Size ¶
func (m *MsgTransferClaimResponse) Size() (n int)
func (*MsgTransferClaimResponse) String ¶
func (m *MsgTransferClaimResponse) String() string
func (*MsgTransferClaimResponse) Unmarshal ¶
func (m *MsgTransferClaimResponse) Unmarshal(dAtA []byte) error
func (*MsgTransferClaimResponse) XXX_DiscardUnknown ¶
func (m *MsgTransferClaimResponse) XXX_DiscardUnknown()
func (*MsgTransferClaimResponse) XXX_Marshal ¶
func (m *MsgTransferClaimResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgTransferClaimResponse) XXX_Merge ¶
func (m *MsgTransferClaimResponse) XXX_Merge(src proto.Message)
func (*MsgTransferClaimResponse) XXX_Size ¶
func (m *MsgTransferClaimResponse) XXX_Size() int
func (*MsgTransferClaimResponse) XXX_Unmarshal ¶
func (m *MsgTransferClaimResponse) XXX_Unmarshal(b []byte) error
type Params ¶
type Params struct { AirdropStartTime time.Time `` /* 135-byte string literal not displayed */ DurationUntilDecay time.Duration `` /* 157-byte string literal not displayed */ DurationOfDecay time.Duration `` /* 145-byte string literal not displayed */ // denom of claimable asset ClaimDenom string `protobuf:"bytes,4,opt,name=claim_denom,json=claimDenom,proto3" json:"claim_denom,omitempty"` // uarkeo to distribute to arkeo account for gas to make claiming easier InitialGasAmount *types.Coin `` /* 137-byte string literal not displayed */ }
Params defines the parameters for the module.
func NewParams ¶
func NewParams(claimDenom string, airdropStartTime time.Time, durationUntilDecay, durationOfDecay time.Duration) Params
NewParams creates a new Params instance
func (*Params) Descriptor ¶
func (*Params) GetAirdropStartTime ¶
func (*Params) GetClaimDenom ¶
func (*Params) GetDurationOfDecay ¶
func (*Params) GetDurationUntilDecay ¶
func (*Params) GetInitialGasAmount ¶
func (*Params) MarshalToSizedBuffer ¶
func (*Params) ParamSetPairs ¶
func (p *Params) ParamSetPairs() paramtypes.ParamSetPairs
ParamSetPairs get the params.ParamSet
func (*Params) ProtoMessage ¶
func (*Params) ProtoMessage()
func (*Params) XXX_DiscardUnknown ¶
func (m *Params) XXX_DiscardUnknown()
func (*Params) XXX_Marshal ¶
func (*Params) XXX_Unmarshal ¶
type QueryClaimRecordRequest ¶
type QueryClaimRecordRequest struct { Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` Chain Chain `protobuf:"varint,2,opt,name=chain,proto3,enum=arkeo.claim.Chain" json:"chain,omitempty"` }
func (*QueryClaimRecordRequest) Descriptor ¶
func (*QueryClaimRecordRequest) Descriptor() ([]byte, []int)
func (*QueryClaimRecordRequest) GetAddress ¶
func (m *QueryClaimRecordRequest) GetAddress() string
func (*QueryClaimRecordRequest) GetChain ¶
func (m *QueryClaimRecordRequest) GetChain() Chain
func (*QueryClaimRecordRequest) Marshal ¶
func (m *QueryClaimRecordRequest) Marshal() (dAtA []byte, err error)
func (*QueryClaimRecordRequest) MarshalTo ¶
func (m *QueryClaimRecordRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryClaimRecordRequest) MarshalToSizedBuffer ¶
func (m *QueryClaimRecordRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryClaimRecordRequest) ProtoMessage ¶
func (*QueryClaimRecordRequest) ProtoMessage()
func (*QueryClaimRecordRequest) Reset ¶
func (m *QueryClaimRecordRequest) Reset()
func (*QueryClaimRecordRequest) Size ¶
func (m *QueryClaimRecordRequest) Size() (n int)
func (*QueryClaimRecordRequest) String ¶
func (m *QueryClaimRecordRequest) String() string
func (*QueryClaimRecordRequest) Unmarshal ¶
func (m *QueryClaimRecordRequest) Unmarshal(dAtA []byte) error
func (*QueryClaimRecordRequest) XXX_DiscardUnknown ¶
func (m *QueryClaimRecordRequest) XXX_DiscardUnknown()
func (*QueryClaimRecordRequest) XXX_Marshal ¶
func (m *QueryClaimRecordRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryClaimRecordRequest) XXX_Merge ¶
func (m *QueryClaimRecordRequest) XXX_Merge(src proto.Message)
func (*QueryClaimRecordRequest) XXX_Size ¶
func (m *QueryClaimRecordRequest) XXX_Size() int
func (*QueryClaimRecordRequest) XXX_Unmarshal ¶
func (m *QueryClaimRecordRequest) XXX_Unmarshal(b []byte) error
type QueryClaimRecordResponse ¶
type QueryClaimRecordResponse struct {
ClaimRecord *ClaimRecord `protobuf:"bytes,1,opt,name=claim_record,json=claimRecord,proto3" json:"claim_record,omitempty"`
}
func (*QueryClaimRecordResponse) Descriptor ¶
func (*QueryClaimRecordResponse) Descriptor() ([]byte, []int)
func (*QueryClaimRecordResponse) GetClaimRecord ¶
func (m *QueryClaimRecordResponse) GetClaimRecord() *ClaimRecord
func (*QueryClaimRecordResponse) Marshal ¶
func (m *QueryClaimRecordResponse) Marshal() (dAtA []byte, err error)
func (*QueryClaimRecordResponse) MarshalTo ¶
func (m *QueryClaimRecordResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryClaimRecordResponse) MarshalToSizedBuffer ¶
func (m *QueryClaimRecordResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryClaimRecordResponse) ProtoMessage ¶
func (*QueryClaimRecordResponse) ProtoMessage()
func (*QueryClaimRecordResponse) Reset ¶
func (m *QueryClaimRecordResponse) Reset()
func (*QueryClaimRecordResponse) Size ¶
func (m *QueryClaimRecordResponse) Size() (n int)
func (*QueryClaimRecordResponse) String ¶
func (m *QueryClaimRecordResponse) String() string
func (*QueryClaimRecordResponse) Unmarshal ¶
func (m *QueryClaimRecordResponse) Unmarshal(dAtA []byte) error
func (*QueryClaimRecordResponse) XXX_DiscardUnknown ¶
func (m *QueryClaimRecordResponse) XXX_DiscardUnknown()
func (*QueryClaimRecordResponse) XXX_Marshal ¶
func (m *QueryClaimRecordResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryClaimRecordResponse) XXX_Merge ¶
func (m *QueryClaimRecordResponse) XXX_Merge(src proto.Message)
func (*QueryClaimRecordResponse) XXX_Size ¶
func (m *QueryClaimRecordResponse) XXX_Size() int
func (*QueryClaimRecordResponse) XXX_Unmarshal ¶
func (m *QueryClaimRecordResponse) 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 ClaimRecord items. ClaimRecord(ctx context.Context, in *QueryClaimRecordRequest, opts ...grpc.CallOption) (*QueryClaimRecordResponse, 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 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 ClaimRecord items. ClaimRecord(context.Context, *QueryClaimRecordRequest) (*QueryClaimRecordResponse, 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) AddClaim ¶
func (*UnimplementedMsgServer) AddClaim(ctx context.Context, req *MsgAddClaim) (*MsgAddClaimResponse, error)
func (*UnimplementedMsgServer) ClaimArkeo ¶
func (*UnimplementedMsgServer) ClaimArkeo(ctx context.Context, req *MsgClaimArkeo) (*MsgClaimArkeoResponse, error)
func (*UnimplementedMsgServer) ClaimEth ¶
func (*UnimplementedMsgServer) ClaimEth(ctx context.Context, req *MsgClaimEth) (*MsgClaimEthResponse, error)
func (*UnimplementedMsgServer) ClaimThorchain ¶
func (*UnimplementedMsgServer) ClaimThorchain(ctx context.Context, req *MsgClaimThorchain) (*MsgClaimThorchainResponse, error)
func (*UnimplementedMsgServer) TransferClaim ¶
func (*UnimplementedMsgServer) TransferClaim(ctx context.Context, req *MsgTransferClaim) (*MsgTransferClaimResponse, error)
type UnimplementedQueryServer ¶
type UnimplementedQueryServer struct { }
UnimplementedQueryServer can be embedded to have forward compatible implementations.
func (*UnimplementedQueryServer) ClaimRecord ¶
func (*UnimplementedQueryServer) ClaimRecord(ctx context.Context, req *QueryClaimRecordRequest) (*QueryClaimRecordResponse, error)
func (*UnimplementedQueryServer) Params ¶
func (*UnimplementedQueryServer) Params(ctx context.Context, req *QueryParamsRequest) (*QueryParamsResponse, error)
Source Files ¶
- address.go
- claim_record.go
- claim_record.pb.go
- codec.go
- errors.go
- ethereum.go
- events.go
- expected_keepers.go
- genesis.go
- genesis.pb.go
- keys.go
- message_add_claim.go
- message_claim_arkeo.go
- message_claim_eth.go
- message_claim_thorchain.go
- message_transfer_claim.go
- params.go
- params.pb.go
- query.pb.go
- query.pb.gw.go
- tx.pb.go
- types.go