types

package
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: Dec 17, 2024 License: Apache-2.0 Imports: 30 Imported by: 1

Documentation

Overview

Package types is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Index

Constants

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

	// StoreKey defines the primary module store key
	StoreKey = ModuleName
)
View Source
const (
	// AirdropKeyPrefix is the prefix to retrieve all Airdrop
	AirdropKeyPrefix = "Airdrop/value/"
)
View Source
const DefaultIndex uint64 = 1

DefaultIndex is the default global index

View Source
const (
	GenesisInflationKey = "GenesisInflation/value/"
)
View Source
const (
	// TimeBasedInflationKeyPrefix is the prefix to retrieve all TimeBasedInflation
	TimeBasedInflationKeyPrefix = "TimeBasedInflation/value/"
)

Variables

View Source
var (
	ErrInvalidLengthAirdrop        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowAirdrop          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupAirdrop = 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 (
	ErrInvalidLengthGenesisInflation        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowGenesisInflation          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupGenesisInflation = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthInflationEntry        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowInflationEntry          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupInflationEntry = 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 (
	ErrInvalidLengthTimeBasedInflation        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowTimeBasedInflation          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupTimeBasedInflation = 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 (
	ErrAirdropExpired = errors.Register(ModuleName, 1, "Expired airdrop")
)

x/tokenomics module sentinel errors

View Source
var (
	ParamKeyPrefix = []byte{0x01}
)

Functions

func AirdropKey

func AirdropKey(intent string) []byte

AirdropKey returns the store key to retrieve a Airdrop from the index fields

func KeyPrefix

func KeyPrefix(p string) []byte

func RegisterCodec

func RegisterCodec(cdc *codec.LegacyAmino)

func RegisterInterfaces

func RegisterInterfaces(registry cdctypes.InterfaceRegistry)

func RegisterMsgServer

func RegisterMsgServer(s grpc1.Server, srv MsgServer)

func RegisterQueryHandler

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

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

func RegisterQueryHandlerClient

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

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

func RegisterQueryHandlerFromEndpoint

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

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

func RegisterQueryHandlerServer

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

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

func RegisterQueryServer

func RegisterQueryServer(s grpc1.Server, srv QueryServer)

func TimeBasedInflationKey

func TimeBasedInflationKey(startBlockHeight uint64, endBlockHeight uint64) []byte

TimeBasedInflationKey returns the store key to retrieve a TimeBasedInflation from the index fields

Types

type AccountKeeper

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

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

type Airdrop

type Airdrop struct {
	Intent    string `protobuf:"bytes,1,opt,name=intent,proto3" json:"intent,omitempty"`
	Amount    uint64 `protobuf:"varint,2,opt,name=amount,proto3" json:"amount,omitempty"`
	Authority string `protobuf:"bytes,3,opt,name=authority,proto3" json:"authority,omitempty"`
	Expiry    uint64 `protobuf:"varint,4,opt,name=expiry,proto3" json:"expiry,omitempty"`
}

func (*Airdrop) Descriptor

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

func (*Airdrop) GetAmount

func (m *Airdrop) GetAmount() uint64

func (*Airdrop) GetAuthority

func (m *Airdrop) GetAuthority() string

func (*Airdrop) GetExpiry added in v0.27.0

func (m *Airdrop) GetExpiry() uint64

func (*Airdrop) GetIntent

func (m *Airdrop) GetIntent() string

func (*Airdrop) Marshal

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

func (*Airdrop) MarshalTo

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

func (*Airdrop) MarshalToSizedBuffer

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

func (*Airdrop) ProtoMessage

func (*Airdrop) ProtoMessage()

func (*Airdrop) Reset

func (m *Airdrop) Reset()

func (*Airdrop) Size

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

func (*Airdrop) String

func (m *Airdrop) String() string

func (*Airdrop) Unmarshal

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

func (*Airdrop) XXX_DiscardUnknown

func (m *Airdrop) XXX_DiscardUnknown()

func (*Airdrop) XXX_Marshal

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

func (*Airdrop) XXX_Merge

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

func (*Airdrop) XXX_Size

func (m *Airdrop) XXX_Size() int

func (*Airdrop) XXX_Unmarshal

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

type BankKeeper

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

BankKeeper defines the expected interface needed to retrieve account balances.

type GenesisInflation

type GenesisInflation struct {
	Inflation             *InflationEntry `protobuf:"bytes,1,opt,name=inflation,proto3" json:"inflation,omitempty"`
	SeedVesting           uint64          `protobuf:"varint,2,opt,name=seed_vesting,json=seedVesting,proto3" json:"seed_vesting,omitempty"`
	StrategicSalesVesting uint64          `` /* 127-byte string literal not displayed */
	Authority             string          `protobuf:"bytes,4,opt,name=authority,proto3" json:"authority,omitempty"`
}

func (*GenesisInflation) Descriptor

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

func (*GenesisInflation) GetAuthority

func (m *GenesisInflation) GetAuthority() string

func (*GenesisInflation) GetInflation

func (m *GenesisInflation) GetInflation() *InflationEntry

func (*GenesisInflation) GetSeedVesting

func (m *GenesisInflation) GetSeedVesting() uint64

func (*GenesisInflation) GetStrategicSalesVesting

func (m *GenesisInflation) GetStrategicSalesVesting() uint64

func (*GenesisInflation) Marshal

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

func (*GenesisInflation) MarshalTo

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

func (*GenesisInflation) MarshalToSizedBuffer

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

func (*GenesisInflation) ProtoMessage

func (*GenesisInflation) ProtoMessage()

func (*GenesisInflation) Reset

func (m *GenesisInflation) Reset()

func (*GenesisInflation) Size

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

func (*GenesisInflation) String

func (m *GenesisInflation) String() string

func (*GenesisInflation) Unmarshal

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

func (*GenesisInflation) XXX_DiscardUnknown

func (m *GenesisInflation) XXX_DiscardUnknown()

func (*GenesisInflation) XXX_Marshal

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

func (*GenesisInflation) XXX_Merge

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

func (*GenesisInflation) XXX_Size

func (m *GenesisInflation) XXX_Size() int

func (*GenesisInflation) XXX_Unmarshal

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

type GenesisState

type GenesisState struct {
	Params                 Params               `protobuf:"bytes,1,opt,name=params,proto3" json:"params"`
	AirdropList            []Airdrop            `protobuf:"bytes,2,rep,name=airdrop_list,json=airdropList,proto3" json:"airdrop_list"`
	GenesisInflation       *GenesisInflation    `protobuf:"bytes,3,opt,name=genesis_inflation,json=genesisInflation,proto3" json:"genesis_inflation,omitempty"`
	TimeBasedInflationList []TimeBasedInflation `protobuf:"bytes,4,rep,name=time_based_inflation_list,json=timeBasedInflationList,proto3" json:"time_based_inflation_list"`
}

GenesisState defines the tokenomics 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) GetAirdropList

func (m *GenesisState) GetAirdropList() []Airdrop

func (*GenesisState) GetGenesisInflation

func (m *GenesisState) GetGenesisInflation() *GenesisInflation

func (*GenesisState) GetParams

func (m *GenesisState) GetParams() Params

func (*GenesisState) GetTimeBasedInflationList

func (m *GenesisState) GetTimeBasedInflationList() []TimeBasedInflation

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 InflationEntry

type InflationEntry struct {
	LmRewards         uint64 `protobuf:"varint,1,opt,name=lm_rewards,json=lmRewards,proto3" json:"lm_rewards,omitempty"`
	IcsStakingRewards uint64 `protobuf:"varint,2,opt,name=ics_staking_rewards,json=icsStakingRewards,proto3" json:"ics_staking_rewards,omitempty"`
	CommunityFund     uint64 `protobuf:"varint,3,opt,name=community_fund,json=communityFund,proto3" json:"community_fund,omitempty"`
	StrategicReserve  uint64 `protobuf:"varint,4,opt,name=strategic_reserve,json=strategicReserve,proto3" json:"strategic_reserve,omitempty"`
	TeamTokensVested  uint64 `protobuf:"varint,5,opt,name=team_tokens_vested,json=teamTokensVested,proto3" json:"team_tokens_vested,omitempty"`
}

func (*InflationEntry) Descriptor

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

func (*InflationEntry) GetCommunityFund

func (m *InflationEntry) GetCommunityFund() uint64

func (*InflationEntry) GetIcsStakingRewards

func (m *InflationEntry) GetIcsStakingRewards() uint64

func (*InflationEntry) GetLmRewards

func (m *InflationEntry) GetLmRewards() uint64

func (*InflationEntry) GetStrategicReserve

func (m *InflationEntry) GetStrategicReserve() uint64

func (*InflationEntry) GetTeamTokensVested

func (m *InflationEntry) GetTeamTokensVested() uint64

func (*InflationEntry) Marshal

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

func (*InflationEntry) MarshalTo

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

func (*InflationEntry) MarshalToSizedBuffer

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

func (*InflationEntry) ProtoMessage

func (*InflationEntry) ProtoMessage()

func (*InflationEntry) Reset

func (m *InflationEntry) Reset()

func (*InflationEntry) Size

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

func (*InflationEntry) String

func (m *InflationEntry) String() string

func (*InflationEntry) Unmarshal

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

func (*InflationEntry) XXX_DiscardUnknown

func (m *InflationEntry) XXX_DiscardUnknown()

func (*InflationEntry) XXX_Marshal

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

func (*InflationEntry) XXX_Merge

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

func (*InflationEntry) XXX_Size

func (m *InflationEntry) XXX_Size() int

func (*InflationEntry) XXX_Unmarshal

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

type MsgClaimAirdrop added in v0.26.0

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

func NewMsgClaimAirdrop added in v0.26.0

func NewMsgClaimAirdrop(
	sender string,
) *MsgClaimAirdrop

func (*MsgClaimAirdrop) Descriptor added in v0.26.0

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

func (*MsgClaimAirdrop) GetSender added in v0.26.0

func (m *MsgClaimAirdrop) GetSender() string

func (*MsgClaimAirdrop) Marshal added in v0.26.0

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

func (*MsgClaimAirdrop) MarshalTo added in v0.26.0

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

func (*MsgClaimAirdrop) MarshalToSizedBuffer added in v0.26.0

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

func (*MsgClaimAirdrop) ProtoMessage added in v0.26.0

func (*MsgClaimAirdrop) ProtoMessage()

func (*MsgClaimAirdrop) Reset added in v0.26.0

func (m *MsgClaimAirdrop) Reset()

func (*MsgClaimAirdrop) Size added in v0.26.0

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

func (*MsgClaimAirdrop) String added in v0.26.0

func (m *MsgClaimAirdrop) String() string

func (*MsgClaimAirdrop) Unmarshal added in v0.26.0

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

func (*MsgClaimAirdrop) ValidateBasic added in v0.26.0

func (msg *MsgClaimAirdrop) ValidateBasic() error

func (*MsgClaimAirdrop) XXX_DiscardUnknown added in v0.26.0

func (m *MsgClaimAirdrop) XXX_DiscardUnknown()

func (*MsgClaimAirdrop) XXX_Marshal added in v0.26.0

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

func (*MsgClaimAirdrop) XXX_Merge added in v0.26.0

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

func (*MsgClaimAirdrop) XXX_Size added in v0.26.0

func (m *MsgClaimAirdrop) XXX_Size() int

func (*MsgClaimAirdrop) XXX_Unmarshal added in v0.26.0

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

type MsgClaimAirdropResponse added in v0.26.0

type MsgClaimAirdropResponse struct {
}

func (*MsgClaimAirdropResponse) Descriptor added in v0.26.0

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

func (*MsgClaimAirdropResponse) Marshal added in v0.26.0

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

func (*MsgClaimAirdropResponse) MarshalTo added in v0.26.0

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

func (*MsgClaimAirdropResponse) MarshalToSizedBuffer added in v0.26.0

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

func (*MsgClaimAirdropResponse) ProtoMessage added in v0.26.0

func (*MsgClaimAirdropResponse) ProtoMessage()

func (*MsgClaimAirdropResponse) Reset added in v0.26.0

func (m *MsgClaimAirdropResponse) Reset()

func (*MsgClaimAirdropResponse) Size added in v0.26.0

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

func (*MsgClaimAirdropResponse) String added in v0.26.0

func (m *MsgClaimAirdropResponse) String() string

func (*MsgClaimAirdropResponse) Unmarshal added in v0.26.0

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

func (*MsgClaimAirdropResponse) XXX_DiscardUnknown added in v0.26.0

func (m *MsgClaimAirdropResponse) XXX_DiscardUnknown()

func (*MsgClaimAirdropResponse) XXX_Marshal added in v0.26.0

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

func (*MsgClaimAirdropResponse) XXX_Merge added in v0.26.0

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

func (*MsgClaimAirdropResponse) XXX_Size added in v0.26.0

func (m *MsgClaimAirdropResponse) XXX_Size() int

func (*MsgClaimAirdropResponse) XXX_Unmarshal added in v0.26.0

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

type MsgClient

MsgClient is the client API for Msg service.

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

func NewMsgClient

func NewMsgClient(cc grpc1.ClientConn) MsgClient

type MsgCreateAirdrop

type MsgCreateAirdrop struct {
	Authority string `protobuf:"bytes,1,opt,name=authority,proto3" json:"authority,omitempty"`
	Intent    string `protobuf:"bytes,2,opt,name=intent,proto3" json:"intent,omitempty"`
	Amount    uint64 `protobuf:"varint,3,opt,name=amount,proto3" json:"amount,omitempty"`
	Expiry    uint64 `protobuf:"varint,4,opt,name=expiry,proto3" json:"expiry,omitempty"`
}

func NewMsgCreateAirdrop

func NewMsgCreateAirdrop(
	authority string,
	intent string,
	amount uint64,
	expiry uint64,
) *MsgCreateAirdrop

func (*MsgCreateAirdrop) Descriptor

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

func (*MsgCreateAirdrop) GetAmount

func (m *MsgCreateAirdrop) GetAmount() uint64

func (*MsgCreateAirdrop) GetAuthority

func (m *MsgCreateAirdrop) GetAuthority() string

func (*MsgCreateAirdrop) GetExpiry added in v0.27.0

func (m *MsgCreateAirdrop) GetExpiry() uint64

func (*MsgCreateAirdrop) GetIntent

func (m *MsgCreateAirdrop) GetIntent() string

func (*MsgCreateAirdrop) Marshal

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

func (*MsgCreateAirdrop) MarshalTo

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

func (*MsgCreateAirdrop) MarshalToSizedBuffer

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

func (*MsgCreateAirdrop) ProtoMessage

func (*MsgCreateAirdrop) ProtoMessage()

func (*MsgCreateAirdrop) Reset

func (m *MsgCreateAirdrop) Reset()

func (*MsgCreateAirdrop) Size

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

func (*MsgCreateAirdrop) String

func (m *MsgCreateAirdrop) String() string

func (*MsgCreateAirdrop) Unmarshal

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

func (*MsgCreateAirdrop) ValidateBasic

func (msg *MsgCreateAirdrop) ValidateBasic() error

func (*MsgCreateAirdrop) XXX_DiscardUnknown

func (m *MsgCreateAirdrop) XXX_DiscardUnknown()

func (*MsgCreateAirdrop) XXX_Marshal

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

func (*MsgCreateAirdrop) XXX_Merge

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

func (*MsgCreateAirdrop) XXX_Size

func (m *MsgCreateAirdrop) XXX_Size() int

func (*MsgCreateAirdrop) XXX_Unmarshal

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

type MsgCreateAirdropResponse

type MsgCreateAirdropResponse struct {
}

func (*MsgCreateAirdropResponse) Descriptor

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

func (*MsgCreateAirdropResponse) Marshal

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

func (*MsgCreateAirdropResponse) MarshalTo

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

func (*MsgCreateAirdropResponse) MarshalToSizedBuffer

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

func (*MsgCreateAirdropResponse) ProtoMessage

func (*MsgCreateAirdropResponse) ProtoMessage()

func (*MsgCreateAirdropResponse) Reset

func (m *MsgCreateAirdropResponse) Reset()

func (*MsgCreateAirdropResponse) Size

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

func (*MsgCreateAirdropResponse) String

func (m *MsgCreateAirdropResponse) String() string

func (*MsgCreateAirdropResponse) Unmarshal

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

func (*MsgCreateAirdropResponse) XXX_DiscardUnknown

func (m *MsgCreateAirdropResponse) XXX_DiscardUnknown()

func (*MsgCreateAirdropResponse) XXX_Marshal

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

func (*MsgCreateAirdropResponse) XXX_Merge

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

func (*MsgCreateAirdropResponse) XXX_Size

func (m *MsgCreateAirdropResponse) XXX_Size() int

func (*MsgCreateAirdropResponse) XXX_Unmarshal

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

type MsgCreateTimeBasedInflation

type MsgCreateTimeBasedInflation struct {
	Authority        string          `protobuf:"bytes,1,opt,name=authority,proto3" json:"authority,omitempty"`
	StartBlockHeight uint64          `protobuf:"varint,2,opt,name=start_block_height,json=startBlockHeight,proto3" json:"start_block_height,omitempty"`
	EndBlockHeight   uint64          `protobuf:"varint,3,opt,name=end_block_height,json=endBlockHeight,proto3" json:"end_block_height,omitempty"`
	Description      string          `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"`
	Inflation        *InflationEntry `protobuf:"bytes,5,opt,name=inflation,proto3" json:"inflation,omitempty"`
}

func NewMsgCreateTimeBasedInflation

func NewMsgCreateTimeBasedInflation(
	authority string,
	startBlockHeight uint64,
	endBlockHeight uint64,
	description string,
	inflation *InflationEntry,
) *MsgCreateTimeBasedInflation

func (*MsgCreateTimeBasedInflation) Descriptor

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

func (*MsgCreateTimeBasedInflation) GetAuthority

func (m *MsgCreateTimeBasedInflation) GetAuthority() string

func (*MsgCreateTimeBasedInflation) GetDescription

func (m *MsgCreateTimeBasedInflation) GetDescription() string

func (*MsgCreateTimeBasedInflation) GetEndBlockHeight

func (m *MsgCreateTimeBasedInflation) GetEndBlockHeight() uint64

func (*MsgCreateTimeBasedInflation) GetInflation

func (m *MsgCreateTimeBasedInflation) GetInflation() *InflationEntry

func (*MsgCreateTimeBasedInflation) GetStartBlockHeight

func (m *MsgCreateTimeBasedInflation) GetStartBlockHeight() uint64

func (*MsgCreateTimeBasedInflation) Marshal

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

func (*MsgCreateTimeBasedInflation) MarshalTo

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

func (*MsgCreateTimeBasedInflation) MarshalToSizedBuffer

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

func (*MsgCreateTimeBasedInflation) ProtoMessage

func (*MsgCreateTimeBasedInflation) ProtoMessage()

func (*MsgCreateTimeBasedInflation) Reset

func (m *MsgCreateTimeBasedInflation) Reset()

func (*MsgCreateTimeBasedInflation) Size

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

func (*MsgCreateTimeBasedInflation) String

func (m *MsgCreateTimeBasedInflation) String() string

func (*MsgCreateTimeBasedInflation) Unmarshal

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

func (*MsgCreateTimeBasedInflation) ValidateBasic

func (msg *MsgCreateTimeBasedInflation) ValidateBasic() error

func (*MsgCreateTimeBasedInflation) XXX_DiscardUnknown

func (m *MsgCreateTimeBasedInflation) XXX_DiscardUnknown()

func (*MsgCreateTimeBasedInflation) XXX_Marshal

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

func (*MsgCreateTimeBasedInflation) XXX_Merge

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

func (*MsgCreateTimeBasedInflation) XXX_Size

func (m *MsgCreateTimeBasedInflation) XXX_Size() int

func (*MsgCreateTimeBasedInflation) XXX_Unmarshal

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

type MsgCreateTimeBasedInflationResponse

type MsgCreateTimeBasedInflationResponse struct {
}

func (*MsgCreateTimeBasedInflationResponse) Descriptor

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

func (*MsgCreateTimeBasedInflationResponse) Marshal

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

func (*MsgCreateTimeBasedInflationResponse) MarshalTo

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

func (*MsgCreateTimeBasedInflationResponse) MarshalToSizedBuffer

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

func (*MsgCreateTimeBasedInflationResponse) ProtoMessage

func (*MsgCreateTimeBasedInflationResponse) ProtoMessage()

func (*MsgCreateTimeBasedInflationResponse) Reset

func (*MsgCreateTimeBasedInflationResponse) Size

func (*MsgCreateTimeBasedInflationResponse) String

func (*MsgCreateTimeBasedInflationResponse) Unmarshal

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

func (*MsgCreateTimeBasedInflationResponse) XXX_DiscardUnknown

func (m *MsgCreateTimeBasedInflationResponse) XXX_DiscardUnknown()

func (*MsgCreateTimeBasedInflationResponse) XXX_Marshal

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

func (*MsgCreateTimeBasedInflationResponse) XXX_Merge

func (*MsgCreateTimeBasedInflationResponse) XXX_Size

func (*MsgCreateTimeBasedInflationResponse) XXX_Unmarshal

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

type MsgDeleteAirdrop

type MsgDeleteAirdrop struct {
	Authority string `protobuf:"bytes,1,opt,name=authority,proto3" json:"authority,omitempty"`
	Intent    string `protobuf:"bytes,2,opt,name=intent,proto3" json:"intent,omitempty"`
}

func NewMsgDeleteAirdrop

func NewMsgDeleteAirdrop(
	authority string,
	intent string,
) *MsgDeleteAirdrop

func (*MsgDeleteAirdrop) Descriptor

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

func (*MsgDeleteAirdrop) GetAuthority

func (m *MsgDeleteAirdrop) GetAuthority() string

func (*MsgDeleteAirdrop) GetIntent

func (m *MsgDeleteAirdrop) GetIntent() string

func (*MsgDeleteAirdrop) Marshal

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

func (*MsgDeleteAirdrop) MarshalTo

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

func (*MsgDeleteAirdrop) MarshalToSizedBuffer

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

func (*MsgDeleteAirdrop) ProtoMessage

func (*MsgDeleteAirdrop) ProtoMessage()

func (*MsgDeleteAirdrop) Reset

func (m *MsgDeleteAirdrop) Reset()

func (*MsgDeleteAirdrop) Size

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

func (*MsgDeleteAirdrop) String

func (m *MsgDeleteAirdrop) String() string

func (*MsgDeleteAirdrop) Unmarshal

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

func (*MsgDeleteAirdrop) ValidateBasic

func (msg *MsgDeleteAirdrop) ValidateBasic() error

func (*MsgDeleteAirdrop) XXX_DiscardUnknown

func (m *MsgDeleteAirdrop) XXX_DiscardUnknown()

func (*MsgDeleteAirdrop) XXX_Marshal

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

func (*MsgDeleteAirdrop) XXX_Merge

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

func (*MsgDeleteAirdrop) XXX_Size

func (m *MsgDeleteAirdrop) XXX_Size() int

func (*MsgDeleteAirdrop) XXX_Unmarshal

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

type MsgDeleteAirdropResponse

type MsgDeleteAirdropResponse struct {
}

func (*MsgDeleteAirdropResponse) Descriptor

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

func (*MsgDeleteAirdropResponse) Marshal

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

func (*MsgDeleteAirdropResponse) MarshalTo

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

func (*MsgDeleteAirdropResponse) MarshalToSizedBuffer

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

func (*MsgDeleteAirdropResponse) ProtoMessage

func (*MsgDeleteAirdropResponse) ProtoMessage()

func (*MsgDeleteAirdropResponse) Reset

func (m *MsgDeleteAirdropResponse) Reset()

func (*MsgDeleteAirdropResponse) Size

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

func (*MsgDeleteAirdropResponse) String

func (m *MsgDeleteAirdropResponse) String() string

func (*MsgDeleteAirdropResponse) Unmarshal

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

func (*MsgDeleteAirdropResponse) XXX_DiscardUnknown

func (m *MsgDeleteAirdropResponse) XXX_DiscardUnknown()

func (*MsgDeleteAirdropResponse) XXX_Marshal

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

func (*MsgDeleteAirdropResponse) XXX_Merge

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

func (*MsgDeleteAirdropResponse) XXX_Size

func (m *MsgDeleteAirdropResponse) XXX_Size() int

func (*MsgDeleteAirdropResponse) XXX_Unmarshal

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

type MsgDeleteTimeBasedInflation

type MsgDeleteTimeBasedInflation struct {
	Authority        string `protobuf:"bytes,1,opt,name=authority,proto3" json:"authority,omitempty"`
	StartBlockHeight uint64 `protobuf:"varint,2,opt,name=start_block_height,json=startBlockHeight,proto3" json:"start_block_height,omitempty"`
	EndBlockHeight   uint64 `protobuf:"varint,3,opt,name=end_block_height,json=endBlockHeight,proto3" json:"end_block_height,omitempty"`
}

func NewMsgDeleteTimeBasedInflation

func NewMsgDeleteTimeBasedInflation(
	authority string,
	startBlockHeight uint64,
	endBlockHeight uint64,
) *MsgDeleteTimeBasedInflation

func (*MsgDeleteTimeBasedInflation) Descriptor

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

func (*MsgDeleteTimeBasedInflation) GetAuthority

func (m *MsgDeleteTimeBasedInflation) GetAuthority() string

func (*MsgDeleteTimeBasedInflation) GetEndBlockHeight

func (m *MsgDeleteTimeBasedInflation) GetEndBlockHeight() uint64

func (*MsgDeleteTimeBasedInflation) GetStartBlockHeight

func (m *MsgDeleteTimeBasedInflation) GetStartBlockHeight() uint64

func (*MsgDeleteTimeBasedInflation) Marshal

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

func (*MsgDeleteTimeBasedInflation) MarshalTo

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

func (*MsgDeleteTimeBasedInflation) MarshalToSizedBuffer

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

func (*MsgDeleteTimeBasedInflation) ProtoMessage

func (*MsgDeleteTimeBasedInflation) ProtoMessage()

func (*MsgDeleteTimeBasedInflation) Reset

func (m *MsgDeleteTimeBasedInflation) Reset()

func (*MsgDeleteTimeBasedInflation) Size

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

func (*MsgDeleteTimeBasedInflation) String

func (m *MsgDeleteTimeBasedInflation) String() string

func (*MsgDeleteTimeBasedInflation) Unmarshal

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

func (*MsgDeleteTimeBasedInflation) ValidateBasic

func (msg *MsgDeleteTimeBasedInflation) ValidateBasic() error

func (*MsgDeleteTimeBasedInflation) XXX_DiscardUnknown

func (m *MsgDeleteTimeBasedInflation) XXX_DiscardUnknown()

func (*MsgDeleteTimeBasedInflation) XXX_Marshal

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

func (*MsgDeleteTimeBasedInflation) XXX_Merge

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

func (*MsgDeleteTimeBasedInflation) XXX_Size

func (m *MsgDeleteTimeBasedInflation) XXX_Size() int

func (*MsgDeleteTimeBasedInflation) XXX_Unmarshal

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

type MsgDeleteTimeBasedInflationResponse

type MsgDeleteTimeBasedInflationResponse struct {
}

func (*MsgDeleteTimeBasedInflationResponse) Descriptor

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

func (*MsgDeleteTimeBasedInflationResponse) Marshal

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

func (*MsgDeleteTimeBasedInflationResponse) MarshalTo

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

func (*MsgDeleteTimeBasedInflationResponse) MarshalToSizedBuffer

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

func (*MsgDeleteTimeBasedInflationResponse) ProtoMessage

func (*MsgDeleteTimeBasedInflationResponse) ProtoMessage()

func (*MsgDeleteTimeBasedInflationResponse) Reset

func (*MsgDeleteTimeBasedInflationResponse) Size

func (*MsgDeleteTimeBasedInflationResponse) String

func (*MsgDeleteTimeBasedInflationResponse) Unmarshal

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

func (*MsgDeleteTimeBasedInflationResponse) XXX_DiscardUnknown

func (m *MsgDeleteTimeBasedInflationResponse) XXX_DiscardUnknown()

func (*MsgDeleteTimeBasedInflationResponse) XXX_Marshal

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

func (*MsgDeleteTimeBasedInflationResponse) XXX_Merge

func (*MsgDeleteTimeBasedInflationResponse) XXX_Size

func (*MsgDeleteTimeBasedInflationResponse) XXX_Unmarshal

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

type MsgUpdateAirdrop

type MsgUpdateAirdrop struct {
	Authority string `protobuf:"bytes,1,opt,name=authority,proto3" json:"authority,omitempty"`
	Intent    string `protobuf:"bytes,2,opt,name=intent,proto3" json:"intent,omitempty"`
	Amount    uint64 `protobuf:"varint,3,opt,name=amount,proto3" json:"amount,omitempty"`
	Expiry    uint64 `protobuf:"varint,4,opt,name=expiry,proto3" json:"expiry,omitempty"`
}

func NewMsgUpdateAirdrop

func NewMsgUpdateAirdrop(
	authority string,
	intent string,
	amount uint64,
	expiry uint64,
) *MsgUpdateAirdrop

func (*MsgUpdateAirdrop) Descriptor

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

func (*MsgUpdateAirdrop) GetAmount

func (m *MsgUpdateAirdrop) GetAmount() uint64

func (*MsgUpdateAirdrop) GetAuthority

func (m *MsgUpdateAirdrop) GetAuthority() string

func (*MsgUpdateAirdrop) GetExpiry added in v0.27.0

func (m *MsgUpdateAirdrop) GetExpiry() uint64

func (*MsgUpdateAirdrop) GetIntent

func (m *MsgUpdateAirdrop) GetIntent() string

func (*MsgUpdateAirdrop) Marshal

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

func (*MsgUpdateAirdrop) MarshalTo

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

func (*MsgUpdateAirdrop) MarshalToSizedBuffer

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

func (*MsgUpdateAirdrop) ProtoMessage

func (*MsgUpdateAirdrop) ProtoMessage()

func (*MsgUpdateAirdrop) Reset

func (m *MsgUpdateAirdrop) Reset()

func (*MsgUpdateAirdrop) Size

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

func (*MsgUpdateAirdrop) String

func (m *MsgUpdateAirdrop) String() string

func (*MsgUpdateAirdrop) Unmarshal

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

func (*MsgUpdateAirdrop) ValidateBasic

func (msg *MsgUpdateAirdrop) ValidateBasic() error

func (*MsgUpdateAirdrop) XXX_DiscardUnknown

func (m *MsgUpdateAirdrop) XXX_DiscardUnknown()

func (*MsgUpdateAirdrop) XXX_Marshal

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

func (*MsgUpdateAirdrop) XXX_Merge

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

func (*MsgUpdateAirdrop) XXX_Size

func (m *MsgUpdateAirdrop) XXX_Size() int

func (*MsgUpdateAirdrop) XXX_Unmarshal

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

type MsgUpdateAirdropResponse

type MsgUpdateAirdropResponse struct {
}

func (*MsgUpdateAirdropResponse) Descriptor

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

func (*MsgUpdateAirdropResponse) Marshal

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

func (*MsgUpdateAirdropResponse) MarshalTo

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

func (*MsgUpdateAirdropResponse) MarshalToSizedBuffer

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

func (*MsgUpdateAirdropResponse) ProtoMessage

func (*MsgUpdateAirdropResponse) ProtoMessage()

func (*MsgUpdateAirdropResponse) Reset

func (m *MsgUpdateAirdropResponse) Reset()

func (*MsgUpdateAirdropResponse) Size

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

func (*MsgUpdateAirdropResponse) String

func (m *MsgUpdateAirdropResponse) String() string

func (*MsgUpdateAirdropResponse) Unmarshal

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

func (*MsgUpdateAirdropResponse) XXX_DiscardUnknown

func (m *MsgUpdateAirdropResponse) XXX_DiscardUnknown()

func (*MsgUpdateAirdropResponse) XXX_Marshal

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

func (*MsgUpdateAirdropResponse) XXX_Merge

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

func (*MsgUpdateAirdropResponse) XXX_Size

func (m *MsgUpdateAirdropResponse) XXX_Size() int

func (*MsgUpdateAirdropResponse) XXX_Unmarshal

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

type MsgUpdateGenesisInflation

type MsgUpdateGenesisInflation struct {
	Authority             string          `protobuf:"bytes,1,opt,name=authority,proto3" json:"authority,omitempty"`
	Inflation             *InflationEntry `protobuf:"bytes,3,opt,name=inflation,proto3" json:"inflation,omitempty"`
	SeedVesting           uint64          `protobuf:"varint,4,opt,name=seed_vesting,json=seedVesting,proto3" json:"seed_vesting,omitempty"`
	StrategicSalesVesting uint64          `` /* 127-byte string literal not displayed */
}

func NewMsgUpdateGenesisInflation

func NewMsgUpdateGenesisInflation(authority string, inflation InflationEntry, seedVesting uint64, strategicSalesVesting uint64) *MsgUpdateGenesisInflation

func (*MsgUpdateGenesisInflation) Descriptor

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

func (*MsgUpdateGenesisInflation) GetAuthority

func (m *MsgUpdateGenesisInflation) GetAuthority() string

func (*MsgUpdateGenesisInflation) GetInflation

func (m *MsgUpdateGenesisInflation) GetInflation() *InflationEntry

func (*MsgUpdateGenesisInflation) GetSeedVesting

func (m *MsgUpdateGenesisInflation) GetSeedVesting() uint64

func (*MsgUpdateGenesisInflation) GetStrategicSalesVesting

func (m *MsgUpdateGenesisInflation) GetStrategicSalesVesting() uint64

func (*MsgUpdateGenesisInflation) Marshal

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

func (*MsgUpdateGenesisInflation) MarshalTo

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

func (*MsgUpdateGenesisInflation) MarshalToSizedBuffer

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

func (*MsgUpdateGenesisInflation) ProtoMessage

func (*MsgUpdateGenesisInflation) ProtoMessage()

func (*MsgUpdateGenesisInflation) Reset

func (m *MsgUpdateGenesisInflation) Reset()

func (*MsgUpdateGenesisInflation) Size

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

func (*MsgUpdateGenesisInflation) String

func (m *MsgUpdateGenesisInflation) String() string

func (*MsgUpdateGenesisInflation) Unmarshal

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

func (*MsgUpdateGenesisInflation) ValidateBasic

func (msg *MsgUpdateGenesisInflation) ValidateBasic() error

func (*MsgUpdateGenesisInflation) XXX_DiscardUnknown

func (m *MsgUpdateGenesisInflation) XXX_DiscardUnknown()

func (*MsgUpdateGenesisInflation) XXX_Marshal

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

func (*MsgUpdateGenesisInflation) XXX_Merge

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

func (*MsgUpdateGenesisInflation) XXX_Size

func (m *MsgUpdateGenesisInflation) XXX_Size() int

func (*MsgUpdateGenesisInflation) XXX_Unmarshal

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

type MsgUpdateGenesisInflationResponse

type MsgUpdateGenesisInflationResponse struct {
}

func (*MsgUpdateGenesisInflationResponse) Descriptor

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

func (*MsgUpdateGenesisInflationResponse) Marshal

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

func (*MsgUpdateGenesisInflationResponse) MarshalTo

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

func (*MsgUpdateGenesisInflationResponse) MarshalToSizedBuffer

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

func (*MsgUpdateGenesisInflationResponse) ProtoMessage

func (*MsgUpdateGenesisInflationResponse) ProtoMessage()

func (*MsgUpdateGenesisInflationResponse) Reset

func (*MsgUpdateGenesisInflationResponse) Size

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

func (*MsgUpdateGenesisInflationResponse) String

func (*MsgUpdateGenesisInflationResponse) Unmarshal

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

func (*MsgUpdateGenesisInflationResponse) XXX_DiscardUnknown

func (m *MsgUpdateGenesisInflationResponse) XXX_DiscardUnknown()

func (*MsgUpdateGenesisInflationResponse) XXX_Marshal

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

func (*MsgUpdateGenesisInflationResponse) XXX_Merge

func (*MsgUpdateGenesisInflationResponse) XXX_Size

func (m *MsgUpdateGenesisInflationResponse) XXX_Size() int

func (*MsgUpdateGenesisInflationResponse) XXX_Unmarshal

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

type MsgUpdateTimeBasedInflation

type MsgUpdateTimeBasedInflation struct {
	Authority        string          `protobuf:"bytes,1,opt,name=authority,proto3" json:"authority,omitempty"`
	StartBlockHeight uint64          `protobuf:"varint,2,opt,name=start_block_height,json=startBlockHeight,proto3" json:"start_block_height,omitempty"`
	EndBlockHeight   uint64          `protobuf:"varint,3,opt,name=end_block_height,json=endBlockHeight,proto3" json:"end_block_height,omitempty"`
	Description      string          `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"`
	Inflation        *InflationEntry `protobuf:"bytes,5,opt,name=inflation,proto3" json:"inflation,omitempty"`
}

func NewMsgUpdateTimeBasedInflation

func NewMsgUpdateTimeBasedInflation(
	authority string,
	startBlockHeight uint64,
	endBlockHeight uint64,
	description string,
	inflation *InflationEntry,
) *MsgUpdateTimeBasedInflation

func (*MsgUpdateTimeBasedInflation) Descriptor

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

func (*MsgUpdateTimeBasedInflation) GetAuthority

func (m *MsgUpdateTimeBasedInflation) GetAuthority() string

func (*MsgUpdateTimeBasedInflation) GetDescription

func (m *MsgUpdateTimeBasedInflation) GetDescription() string

func (*MsgUpdateTimeBasedInflation) GetEndBlockHeight

func (m *MsgUpdateTimeBasedInflation) GetEndBlockHeight() uint64

func (*MsgUpdateTimeBasedInflation) GetInflation

func (m *MsgUpdateTimeBasedInflation) GetInflation() *InflationEntry

func (*MsgUpdateTimeBasedInflation) GetStartBlockHeight

func (m *MsgUpdateTimeBasedInflation) GetStartBlockHeight() uint64

func (*MsgUpdateTimeBasedInflation) Marshal

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

func (*MsgUpdateTimeBasedInflation) MarshalTo

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

func (*MsgUpdateTimeBasedInflation) MarshalToSizedBuffer

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

func (*MsgUpdateTimeBasedInflation) ProtoMessage

func (*MsgUpdateTimeBasedInflation) ProtoMessage()

func (*MsgUpdateTimeBasedInflation) Reset

func (m *MsgUpdateTimeBasedInflation) Reset()

func (*MsgUpdateTimeBasedInflation) Size

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

func (*MsgUpdateTimeBasedInflation) String

func (m *MsgUpdateTimeBasedInflation) String() string

func (*MsgUpdateTimeBasedInflation) Unmarshal

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

func (*MsgUpdateTimeBasedInflation) ValidateBasic

func (msg *MsgUpdateTimeBasedInflation) ValidateBasic() error

func (*MsgUpdateTimeBasedInflation) XXX_DiscardUnknown

func (m *MsgUpdateTimeBasedInflation) XXX_DiscardUnknown()

func (*MsgUpdateTimeBasedInflation) XXX_Marshal

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

func (*MsgUpdateTimeBasedInflation) XXX_Merge

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

func (*MsgUpdateTimeBasedInflation) XXX_Size

func (m *MsgUpdateTimeBasedInflation) XXX_Size() int

func (*MsgUpdateTimeBasedInflation) XXX_Unmarshal

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

type MsgUpdateTimeBasedInflationResponse

type MsgUpdateTimeBasedInflationResponse struct {
}

func (*MsgUpdateTimeBasedInflationResponse) Descriptor

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

func (*MsgUpdateTimeBasedInflationResponse) Marshal

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

func (*MsgUpdateTimeBasedInflationResponse) MarshalTo

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

func (*MsgUpdateTimeBasedInflationResponse) MarshalToSizedBuffer

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

func (*MsgUpdateTimeBasedInflationResponse) ProtoMessage

func (*MsgUpdateTimeBasedInflationResponse) ProtoMessage()

func (*MsgUpdateTimeBasedInflationResponse) Reset

func (*MsgUpdateTimeBasedInflationResponse) Size

func (*MsgUpdateTimeBasedInflationResponse) String

func (*MsgUpdateTimeBasedInflationResponse) Unmarshal

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

func (*MsgUpdateTimeBasedInflationResponse) XXX_DiscardUnknown

func (m *MsgUpdateTimeBasedInflationResponse) XXX_DiscardUnknown()

func (*MsgUpdateTimeBasedInflationResponse) XXX_Marshal

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

func (*MsgUpdateTimeBasedInflationResponse) XXX_Merge

func (*MsgUpdateTimeBasedInflationResponse) XXX_Size

func (*MsgUpdateTimeBasedInflationResponse) XXX_Unmarshal

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

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

func (*Params) ProtoMessage()

func (*Params) Reset

func (m *Params) Reset()

func (*Params) Size

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

func (*Params) String

func (m *Params) String() string

func (*Params) Unmarshal

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

func (Params) 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 QueryAllAirdropRequest

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

func (*QueryAllAirdropRequest) Descriptor

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

func (*QueryAllAirdropRequest) GetPagination

func (m *QueryAllAirdropRequest) GetPagination() *query.PageRequest

func (*QueryAllAirdropRequest) Marshal

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

func (*QueryAllAirdropRequest) MarshalTo

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

func (*QueryAllAirdropRequest) MarshalToSizedBuffer

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

func (*QueryAllAirdropRequest) ProtoMessage

func (*QueryAllAirdropRequest) ProtoMessage()

func (*QueryAllAirdropRequest) Reset

func (m *QueryAllAirdropRequest) Reset()

func (*QueryAllAirdropRequest) Size

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

func (*QueryAllAirdropRequest) String

func (m *QueryAllAirdropRequest) String() string

func (*QueryAllAirdropRequest) Unmarshal

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

func (*QueryAllAirdropRequest) XXX_DiscardUnknown

func (m *QueryAllAirdropRequest) XXX_DiscardUnknown()

func (*QueryAllAirdropRequest) XXX_Marshal

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

func (*QueryAllAirdropRequest) XXX_Merge

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

func (*QueryAllAirdropRequest) XXX_Size

func (m *QueryAllAirdropRequest) XXX_Size() int

func (*QueryAllAirdropRequest) XXX_Unmarshal

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

type QueryAllAirdropResponse

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

func (*QueryAllAirdropResponse) Descriptor

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

func (*QueryAllAirdropResponse) GetAirdrop

func (m *QueryAllAirdropResponse) GetAirdrop() []Airdrop

func (*QueryAllAirdropResponse) GetPagination

func (m *QueryAllAirdropResponse) GetPagination() *query.PageResponse

func (*QueryAllAirdropResponse) Marshal

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

func (*QueryAllAirdropResponse) MarshalTo

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

func (*QueryAllAirdropResponse) MarshalToSizedBuffer

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

func (*QueryAllAirdropResponse) ProtoMessage

func (*QueryAllAirdropResponse) ProtoMessage()

func (*QueryAllAirdropResponse) Reset

func (m *QueryAllAirdropResponse) Reset()

func (*QueryAllAirdropResponse) Size

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

func (*QueryAllAirdropResponse) String

func (m *QueryAllAirdropResponse) String() string

func (*QueryAllAirdropResponse) Unmarshal

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

func (*QueryAllAirdropResponse) XXX_DiscardUnknown

func (m *QueryAllAirdropResponse) XXX_DiscardUnknown()

func (*QueryAllAirdropResponse) XXX_Marshal

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

func (*QueryAllAirdropResponse) XXX_Merge

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

func (*QueryAllAirdropResponse) XXX_Size

func (m *QueryAllAirdropResponse) XXX_Size() int

func (*QueryAllAirdropResponse) XXX_Unmarshal

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

type QueryAllTimeBasedInflationRequest

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

func (*QueryAllTimeBasedInflationRequest) Descriptor

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

func (*QueryAllTimeBasedInflationRequest) GetPagination

func (*QueryAllTimeBasedInflationRequest) Marshal

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

func (*QueryAllTimeBasedInflationRequest) MarshalTo

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

func (*QueryAllTimeBasedInflationRequest) MarshalToSizedBuffer

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

func (*QueryAllTimeBasedInflationRequest) ProtoMessage

func (*QueryAllTimeBasedInflationRequest) ProtoMessage()

func (*QueryAllTimeBasedInflationRequest) Reset

func (*QueryAllTimeBasedInflationRequest) Size

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

func (*QueryAllTimeBasedInflationRequest) String

func (*QueryAllTimeBasedInflationRequest) Unmarshal

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

func (*QueryAllTimeBasedInflationRequest) XXX_DiscardUnknown

func (m *QueryAllTimeBasedInflationRequest) XXX_DiscardUnknown()

func (*QueryAllTimeBasedInflationRequest) XXX_Marshal

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

func (*QueryAllTimeBasedInflationRequest) XXX_Merge

func (*QueryAllTimeBasedInflationRequest) XXX_Size

func (m *QueryAllTimeBasedInflationRequest) XXX_Size() int

func (*QueryAllTimeBasedInflationRequest) XXX_Unmarshal

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

type QueryAllTimeBasedInflationResponse

type QueryAllTimeBasedInflationResponse struct {
	TimeBasedInflation []TimeBasedInflation `protobuf:"bytes,1,rep,name=time_based_inflation,json=timeBasedInflation,proto3" json:"time_based_inflation"`
	Pagination         *query.PageResponse  `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

func (*QueryAllTimeBasedInflationResponse) Descriptor

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

func (*QueryAllTimeBasedInflationResponse) GetPagination

func (*QueryAllTimeBasedInflationResponse) GetTimeBasedInflation

func (m *QueryAllTimeBasedInflationResponse) GetTimeBasedInflation() []TimeBasedInflation

func (*QueryAllTimeBasedInflationResponse) Marshal

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

func (*QueryAllTimeBasedInflationResponse) MarshalTo

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

func (*QueryAllTimeBasedInflationResponse) MarshalToSizedBuffer

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

func (*QueryAllTimeBasedInflationResponse) ProtoMessage

func (*QueryAllTimeBasedInflationResponse) ProtoMessage()

func (*QueryAllTimeBasedInflationResponse) Reset

func (*QueryAllTimeBasedInflationResponse) Size

func (*QueryAllTimeBasedInflationResponse) String

func (*QueryAllTimeBasedInflationResponse) Unmarshal

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

func (*QueryAllTimeBasedInflationResponse) XXX_DiscardUnknown

func (m *QueryAllTimeBasedInflationResponse) XXX_DiscardUnknown()

func (*QueryAllTimeBasedInflationResponse) XXX_Marshal

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

func (*QueryAllTimeBasedInflationResponse) XXX_Merge

func (*QueryAllTimeBasedInflationResponse) XXX_Size

func (*QueryAllTimeBasedInflationResponse) XXX_Unmarshal

func (m *QueryAllTimeBasedInflationResponse) 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 Airdrop items.
	Airdrop(ctx context.Context, in *QueryGetAirdropRequest, opts ...grpc.CallOption) (*QueryGetAirdropResponse, error)
	AirdropAll(ctx context.Context, in *QueryAllAirdropRequest, opts ...grpc.CallOption) (*QueryAllAirdropResponse, error)
	// Queries a GenesisInflation by index.
	GenesisInflation(ctx context.Context, in *QueryGetGenesisInflationRequest, opts ...grpc.CallOption) (*QueryGetGenesisInflationResponse, error)
	// Queries a list of TimeBasedInflation items.
	TimeBasedInflation(ctx context.Context, in *QueryGetTimeBasedInflationRequest, opts ...grpc.CallOption) (*QueryGetTimeBasedInflationResponse, error)
	TimeBasedInflationAll(ctx context.Context, in *QueryAllTimeBasedInflationRequest, opts ...grpc.CallOption) (*QueryAllTimeBasedInflationResponse, 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 QueryGetAirdropRequest

type QueryGetAirdropRequest struct {
	Intent string `protobuf:"bytes,1,opt,name=intent,proto3" json:"intent,omitempty"`
}

func (*QueryGetAirdropRequest) Descriptor

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

func (*QueryGetAirdropRequest) GetIntent

func (m *QueryGetAirdropRequest) GetIntent() string

func (*QueryGetAirdropRequest) Marshal

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

func (*QueryGetAirdropRequest) MarshalTo

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

func (*QueryGetAirdropRequest) MarshalToSizedBuffer

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

func (*QueryGetAirdropRequest) ProtoMessage

func (*QueryGetAirdropRequest) ProtoMessage()

func (*QueryGetAirdropRequest) Reset

func (m *QueryGetAirdropRequest) Reset()

func (*QueryGetAirdropRequest) Size

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

func (*QueryGetAirdropRequest) String

func (m *QueryGetAirdropRequest) String() string

func (*QueryGetAirdropRequest) Unmarshal

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

func (*QueryGetAirdropRequest) XXX_DiscardUnknown

func (m *QueryGetAirdropRequest) XXX_DiscardUnknown()

func (*QueryGetAirdropRequest) XXX_Marshal

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

func (*QueryGetAirdropRequest) XXX_Merge

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

func (*QueryGetAirdropRequest) XXX_Size

func (m *QueryGetAirdropRequest) XXX_Size() int

func (*QueryGetAirdropRequest) XXX_Unmarshal

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

type QueryGetAirdropResponse

type QueryGetAirdropResponse struct {
	Airdrop Airdrop `protobuf:"bytes,1,opt,name=airdrop,proto3" json:"airdrop"`
}

func (*QueryGetAirdropResponse) Descriptor

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

func (*QueryGetAirdropResponse) GetAirdrop

func (m *QueryGetAirdropResponse) GetAirdrop() Airdrop

func (*QueryGetAirdropResponse) Marshal

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

func (*QueryGetAirdropResponse) MarshalTo

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

func (*QueryGetAirdropResponse) MarshalToSizedBuffer

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

func (*QueryGetAirdropResponse) ProtoMessage

func (*QueryGetAirdropResponse) ProtoMessage()

func (*QueryGetAirdropResponse) Reset

func (m *QueryGetAirdropResponse) Reset()

func (*QueryGetAirdropResponse) Size

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

func (*QueryGetAirdropResponse) String

func (m *QueryGetAirdropResponse) String() string

func (*QueryGetAirdropResponse) Unmarshal

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

func (*QueryGetAirdropResponse) XXX_DiscardUnknown

func (m *QueryGetAirdropResponse) XXX_DiscardUnknown()

func (*QueryGetAirdropResponse) XXX_Marshal

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

func (*QueryGetAirdropResponse) XXX_Merge

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

func (*QueryGetAirdropResponse) XXX_Size

func (m *QueryGetAirdropResponse) XXX_Size() int

func (*QueryGetAirdropResponse) XXX_Unmarshal

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

type QueryGetGenesisInflationRequest

type QueryGetGenesisInflationRequest struct {
}

func (*QueryGetGenesisInflationRequest) Descriptor

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

func (*QueryGetGenesisInflationRequest) Marshal

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

func (*QueryGetGenesisInflationRequest) MarshalTo

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

func (*QueryGetGenesisInflationRequest) MarshalToSizedBuffer

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

func (*QueryGetGenesisInflationRequest) ProtoMessage

func (*QueryGetGenesisInflationRequest) ProtoMessage()

func (*QueryGetGenesisInflationRequest) Reset

func (*QueryGetGenesisInflationRequest) Size

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

func (*QueryGetGenesisInflationRequest) String

func (*QueryGetGenesisInflationRequest) Unmarshal

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

func (*QueryGetGenesisInflationRequest) XXX_DiscardUnknown

func (m *QueryGetGenesisInflationRequest) XXX_DiscardUnknown()

func (*QueryGetGenesisInflationRequest) XXX_Marshal

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

func (*QueryGetGenesisInflationRequest) XXX_Merge

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

func (*QueryGetGenesisInflationRequest) XXX_Size

func (m *QueryGetGenesisInflationRequest) XXX_Size() int

func (*QueryGetGenesisInflationRequest) XXX_Unmarshal

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

type QueryGetGenesisInflationResponse

type QueryGetGenesisInflationResponse struct {
	GenesisInflation GenesisInflation `protobuf:"bytes,1,opt,name=genesis_inflation,json=genesisInflation,proto3" json:"genesis_inflation"`
}

func (*QueryGetGenesisInflationResponse) Descriptor

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

func (*QueryGetGenesisInflationResponse) GetGenesisInflation

func (m *QueryGetGenesisInflationResponse) GetGenesisInflation() GenesisInflation

func (*QueryGetGenesisInflationResponse) Marshal

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

func (*QueryGetGenesisInflationResponse) MarshalTo

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

func (*QueryGetGenesisInflationResponse) MarshalToSizedBuffer

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

func (*QueryGetGenesisInflationResponse) ProtoMessage

func (*QueryGetGenesisInflationResponse) ProtoMessage()

func (*QueryGetGenesisInflationResponse) Reset

func (*QueryGetGenesisInflationResponse) Size

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

func (*QueryGetGenesisInflationResponse) String

func (*QueryGetGenesisInflationResponse) Unmarshal

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

func (*QueryGetGenesisInflationResponse) XXX_DiscardUnknown

func (m *QueryGetGenesisInflationResponse) XXX_DiscardUnknown()

func (*QueryGetGenesisInflationResponse) XXX_Marshal

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

func (*QueryGetGenesisInflationResponse) XXX_Merge

func (*QueryGetGenesisInflationResponse) XXX_Size

func (m *QueryGetGenesisInflationResponse) XXX_Size() int

func (*QueryGetGenesisInflationResponse) XXX_Unmarshal

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

type QueryGetTimeBasedInflationRequest

type QueryGetTimeBasedInflationRequest struct {
	StartBlockHeight uint64 `protobuf:"varint,1,opt,name=start_block_height,json=startBlockHeight,proto3" json:"start_block_height,omitempty"`
	EndBlockHeight   uint64 `protobuf:"varint,2,opt,name=end_block_height,json=endBlockHeight,proto3" json:"end_block_height,omitempty"`
}

func (*QueryGetTimeBasedInflationRequest) Descriptor

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

func (*QueryGetTimeBasedInflationRequest) GetEndBlockHeight

func (m *QueryGetTimeBasedInflationRequest) GetEndBlockHeight() uint64

func (*QueryGetTimeBasedInflationRequest) GetStartBlockHeight

func (m *QueryGetTimeBasedInflationRequest) GetStartBlockHeight() uint64

func (*QueryGetTimeBasedInflationRequest) Marshal

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

func (*QueryGetTimeBasedInflationRequest) MarshalTo

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

func (*QueryGetTimeBasedInflationRequest) MarshalToSizedBuffer

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

func (*QueryGetTimeBasedInflationRequest) ProtoMessage

func (*QueryGetTimeBasedInflationRequest) ProtoMessage()

func (*QueryGetTimeBasedInflationRequest) Reset

func (*QueryGetTimeBasedInflationRequest) Size

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

func (*QueryGetTimeBasedInflationRequest) String

func (*QueryGetTimeBasedInflationRequest) Unmarshal

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

func (*QueryGetTimeBasedInflationRequest) XXX_DiscardUnknown

func (m *QueryGetTimeBasedInflationRequest) XXX_DiscardUnknown()

func (*QueryGetTimeBasedInflationRequest) XXX_Marshal

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

func (*QueryGetTimeBasedInflationRequest) XXX_Merge

func (*QueryGetTimeBasedInflationRequest) XXX_Size

func (m *QueryGetTimeBasedInflationRequest) XXX_Size() int

func (*QueryGetTimeBasedInflationRequest) XXX_Unmarshal

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

type QueryGetTimeBasedInflationResponse

type QueryGetTimeBasedInflationResponse struct {
	TimeBasedInflation TimeBasedInflation `protobuf:"bytes,1,opt,name=time_based_inflation,json=timeBasedInflation,proto3" json:"time_based_inflation"`
}

func (*QueryGetTimeBasedInflationResponse) Descriptor

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

func (*QueryGetTimeBasedInflationResponse) GetTimeBasedInflation

func (m *QueryGetTimeBasedInflationResponse) GetTimeBasedInflation() TimeBasedInflation

func (*QueryGetTimeBasedInflationResponse) Marshal

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

func (*QueryGetTimeBasedInflationResponse) MarshalTo

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

func (*QueryGetTimeBasedInflationResponse) MarshalToSizedBuffer

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

func (*QueryGetTimeBasedInflationResponse) ProtoMessage

func (*QueryGetTimeBasedInflationResponse) ProtoMessage()

func (*QueryGetTimeBasedInflationResponse) Reset

func (*QueryGetTimeBasedInflationResponse) Size

func (*QueryGetTimeBasedInflationResponse) String

func (*QueryGetTimeBasedInflationResponse) Unmarshal

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

func (*QueryGetTimeBasedInflationResponse) XXX_DiscardUnknown

func (m *QueryGetTimeBasedInflationResponse) XXX_DiscardUnknown()

func (*QueryGetTimeBasedInflationResponse) XXX_Marshal

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

func (*QueryGetTimeBasedInflationResponse) XXX_Merge

func (*QueryGetTimeBasedInflationResponse) XXX_Size

func (*QueryGetTimeBasedInflationResponse) XXX_Unmarshal

func (m *QueryGetTimeBasedInflationResponse) 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 Airdrop items.
	Airdrop(context.Context, *QueryGetAirdropRequest) (*QueryGetAirdropResponse, error)
	AirdropAll(context.Context, *QueryAllAirdropRequest) (*QueryAllAirdropResponse, error)
	// Queries a GenesisInflation by index.
	GenesisInflation(context.Context, *QueryGetGenesisInflationRequest) (*QueryGetGenesisInflationResponse, error)
	// Queries a list of TimeBasedInflation items.
	TimeBasedInflation(context.Context, *QueryGetTimeBasedInflationRequest) (*QueryGetTimeBasedInflationResponse, error)
	TimeBasedInflationAll(context.Context, *QueryAllTimeBasedInflationRequest) (*QueryAllTimeBasedInflationResponse, error)
}

QueryServer is the server API for Query service.

type TimeBasedInflation

type TimeBasedInflation struct {
	StartBlockHeight uint64          `protobuf:"varint,1,opt,name=start_block_height,json=startBlockHeight,proto3" json:"start_block_height,omitempty"`
	EndBlockHeight   uint64          `protobuf:"varint,2,opt,name=end_block_height,json=endBlockHeight,proto3" json:"end_block_height,omitempty"`
	Description      string          `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
	Inflation        *InflationEntry `protobuf:"bytes,4,opt,name=inflation,proto3" json:"inflation,omitempty"`
	Authority        string          `protobuf:"bytes,5,opt,name=authority,proto3" json:"authority,omitempty"`
}

func (*TimeBasedInflation) Descriptor

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

func (*TimeBasedInflation) GetAuthority

func (m *TimeBasedInflation) GetAuthority() string

func (*TimeBasedInflation) GetDescription

func (m *TimeBasedInflation) GetDescription() string

func (*TimeBasedInflation) GetEndBlockHeight

func (m *TimeBasedInflation) GetEndBlockHeight() uint64

func (*TimeBasedInflation) GetInflation

func (m *TimeBasedInflation) GetInflation() *InflationEntry

func (*TimeBasedInflation) GetStartBlockHeight

func (m *TimeBasedInflation) GetStartBlockHeight() uint64

func (*TimeBasedInflation) Marshal

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

func (*TimeBasedInflation) MarshalTo

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

func (*TimeBasedInflation) MarshalToSizedBuffer

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

func (*TimeBasedInflation) ProtoMessage

func (*TimeBasedInflation) ProtoMessage()

func (*TimeBasedInflation) Reset

func (m *TimeBasedInflation) Reset()

func (*TimeBasedInflation) Size

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

func (*TimeBasedInflation) String

func (m *TimeBasedInflation) String() string

func (*TimeBasedInflation) Unmarshal

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

func (*TimeBasedInflation) XXX_DiscardUnknown

func (m *TimeBasedInflation) XXX_DiscardUnknown()

func (*TimeBasedInflation) XXX_Marshal

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

func (*TimeBasedInflation) XXX_Merge

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

func (*TimeBasedInflation) XXX_Size

func (m *TimeBasedInflation) XXX_Size() int

func (*TimeBasedInflation) XXX_Unmarshal

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

type UnimplementedMsgServer

type UnimplementedMsgServer struct {
}

UnimplementedMsgServer can be embedded to have forward compatible implementations.

func (*UnimplementedMsgServer) ClaimAirdrop added in v0.26.0

func (*UnimplementedMsgServer) CreateAirdrop

func (*UnimplementedMsgServer) CreateTimeBasedInflation

func (*UnimplementedMsgServer) DeleteAirdrop

func (*UnimplementedMsgServer) DeleteTimeBasedInflation

func (*UnimplementedMsgServer) UpdateAirdrop

func (*UnimplementedMsgServer) UpdateGenesisInflation

func (*UnimplementedMsgServer) UpdateTimeBasedInflation

type UnimplementedQueryServer

type UnimplementedQueryServer struct {
}

UnimplementedQueryServer can be embedded to have forward compatible implementations.

func (*UnimplementedQueryServer) Airdrop

func (*UnimplementedQueryServer) AirdropAll

func (*UnimplementedQueryServer) Params

Jump to

Keyboard shortcuts

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