types

package
v0.0.0-...-34f0fe8 Latest Latest
Warning

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

Go to latest
Published: Jun 13, 2023 License: Apache-2.0 Imports: 34 Imported by: 0

Documentation

Overview

Package types is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Index

Constants

View Source
const (
	// ModuleName is the name of the module
	ModuleName = "merkledrop"

	// StoreKey is the string store representation
	StoreKey string = ModuleName

	// QuerierRoute is the querier route for the module
	QuerierRoute string = ModuleName

	// RouterKey is the msg router key for the module
	RouterKey string = ModuleName
)
View Source
const (
	TypeMsgCreate = "create"
	TypeMsgClaim  = "claim"
)
View Source
const ProposalTypeUpdateFees = "UpdateMerkledropFeesProposal"

Variables

View Source
var (
	ErrMerkledropNotExist   = sdkerrors.Register(ModuleName, 1, "merkledrop does not exist")
	ErrInvalidMerkleRoot    = sdkerrors.Register(ModuleName, 2, "invalid merkle root")
	ErrInvalidCoin          = sdkerrors.Register(ModuleName, 3, "invalid coin")
	ErrAlreadyClaimed       = sdkerrors.Register(ModuleName, 4, "merkledrop already claimed")
	ErrInvalidMerkleProofs  = sdkerrors.Register(ModuleName, 5, "invalid merkle proofs")
	ErrTransferCoins        = sdkerrors.Register(ModuleName, 6, "error transfer coins")
	ErrInvalidOwner         = sdkerrors.Register(ModuleName, 7, "invalid owner")
	ErrInvalidSender        = sdkerrors.Register(ModuleName, 8, "invalid sender")
	ErrInvalidStartHeight   = sdkerrors.Register(ModuleName, 9, "invalid start height")
	ErrInvalidEndHeight     = sdkerrors.Register(ModuleName, 10, "invalid end height")
	ErrMerkledropNotBegun   = sdkerrors.Register(ModuleName, 11, "merkledrop not begun")
	ErrMerkledropExpired    = sdkerrors.Register(ModuleName, 12, "merkledrop expired")
	ErrMerkledropNotExpired = sdkerrors.Register(ModuleName, 13, "merkledrop not expired")
	ErrAlreadyWithdrawn     = sdkerrors.Register(ModuleName, 14, "funds have been already withdrawn")
	ErrCreationFee          = sdkerrors.Register(ModuleName, 15, "cannot deduct creation fee")
	ErrDeleteMerkledrop     = sdkerrors.Register(ModuleName, 16, "failed delete merkledrop")
)
View Source
var (
	ErrInvalidLengthEvents        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowEvents          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupEvents = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	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 (
	ErrInvalidLengthGov        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowGov          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupGov = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	PrefixMerkleDrop        = []byte{0x01}
	PrefixMerkleDropByOwner = []byte{0x02}
	KeyLastMerkleDropId     = []byte{0x03}

	PrefixClaimedMerkleDrop = []byte{0x04}

	PrefixMerkleDropByEndHeight = []byte{0x10}
)

Keys for merkledrop store Items are stored with the following keys => values - 0x01:<merkledropID_bytes>: merkledrop - 0x02:<owner>:<merkledropID_bytes>: merkledrop - 0x03: lastMerkledropID - 0x04:<merkledropID_bytes>:<merkledropIndex>: true - 0x10:<merkedropEndHeight>: merkledropID

View Source
var (
	ErrInvalidLengthMerkledrop        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowMerkledrop          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupMerkledrop = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthParams        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowParams          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupParams = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthQuery        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowQuery          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupQuery = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthTx        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowTx          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupTx = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	KeyCreationFee = []byte("CreationFee")
)
View Source
var (
	ModuleCdc = codec.NewAminoCodec(amino)
)

Functions

func ClaimedMerkledropIndexKey

func ClaimedMerkledropIndexKey(id, index uint64) []byte

func ClaimedMerkledropKey

func ClaimedMerkledropKey(id uint64) []byte

func ConvertProofs

func ConvertProofs(proofs []string) [][]byte

func IsValidProof

func IsValidProof(index uint64, account sdk.AccAddress, amount sdk.Int, root []byte, proofs [][]byte) bool

func LastMerkledropIDKey

func LastMerkledropIDKey() []byte

func MerkledropEndHeightAndIDKey

func MerkledropEndHeightAndIDKey(height int64, id uint64) []byte

func MerkledropEndHeightKey

func MerkledropEndHeightKey(height int64) []byte

func MerkledropKey

func MerkledropKey(id uint64) []byte

func MerkledropOwnerKey

func MerkledropOwnerKey(id uint64, owner sdk.AccAddress) []byte

func NewUpdateFeesProposal

func NewUpdateFeesProposal(title, description string, creationFee sdk.Coin) govtypes.Content

func ParamKeyTable

func ParamKeyTable() paramtypes.KeyTable

ParamKeyTable returns the TypeTable for the module

func RegisterInterfaces

func RegisterInterfaces(registry types.InterfaceRegistry)

func RegisterLegacyAminoCodec

func RegisterLegacyAminoCodec(cdc *codec.LegacyAmino)

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 (such as grpc.SendHeader, etc) to stop working. Consider using RegisterQueryHandlerFromEndpoint instead.

func RegisterQueryServer

func RegisterQueryServer(s grpc1.Server, srv QueryServer)

func ValidateGenesis

func ValidateGenesis(data GenesisState) error

Types

type AccountKeeper

type AccountKeeper interface {
	GetModuleAddress(name string) sdk.AccAddress
}

type BankKeeper

type BankKeeper interface {
	SendCoinsFromModuleToAccount(ctx sdk.Context, senderModule string, recipientAddr sdk.AccAddress, amt sdk.Coins) error
	SendCoinsFromAccountToModule(ctx sdk.Context, senderAddr sdk.AccAddress, recipientModule string, amt sdk.Coins) error
	GetBalance(ctx sdk.Context, addr sdk.AccAddress, denom string) sdk.Coin
	GetAllBalances(ctx sdk.Context, addr sdk.AccAddress) sdk.Coins
}

type DistrKeeper

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

type EventClaim

type EventClaim struct {
	MerkledropId uint64                                  `protobuf:"varint,1,opt,name=merkledrop_id,json=merkledropId,proto3" json:"merkledrop_id,omitempty"`
	Index        uint64                                  `protobuf:"varint,2,opt,name=index,proto3" json:"index,omitempty"`
	Coin         github_com_cosmos_cosmos_sdk_types.Coin `protobuf:"bytes,3,opt,name=coin,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Coin" json:"coin"`
}

func (*EventClaim) Descriptor

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

func (*EventClaim) Marshal

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

func (*EventClaim) MarshalTo

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

func (*EventClaim) MarshalToSizedBuffer

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

func (*EventClaim) ProtoMessage

func (*EventClaim) ProtoMessage()

func (*EventClaim) Reset

func (m *EventClaim) Reset()

func (*EventClaim) Size

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

func (*EventClaim) String

func (m *EventClaim) String() string

func (*EventClaim) Unmarshal

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

func (*EventClaim) XXX_DiscardUnknown

func (m *EventClaim) XXX_DiscardUnknown()

func (*EventClaim) XXX_Marshal

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

func (*EventClaim) XXX_Merge

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

func (*EventClaim) XXX_Size

func (m *EventClaim) XXX_Size() int

func (*EventClaim) XXX_Unmarshal

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

type EventCreate

type EventCreate struct {
	Owner        string `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty"`
	MerkledropId uint64 `protobuf:"varint,2,opt,name=merkledrop_id,json=merkledropId,proto3" json:"merkledrop_id,omitempty"`
}

func (*EventCreate) Descriptor

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

func (*EventCreate) Marshal

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

func (*EventCreate) MarshalTo

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

func (*EventCreate) MarshalToSizedBuffer

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

func (*EventCreate) ProtoMessage

func (*EventCreate) ProtoMessage()

func (*EventCreate) Reset

func (m *EventCreate) Reset()

func (*EventCreate) Size

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

func (*EventCreate) String

func (m *EventCreate) String() string

func (*EventCreate) Unmarshal

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

func (*EventCreate) XXX_DiscardUnknown

func (m *EventCreate) XXX_DiscardUnknown()

func (*EventCreate) XXX_Marshal

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

func (*EventCreate) XXX_Merge

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

func (*EventCreate) XXX_Size

func (m *EventCreate) XXX_Size() int

func (*EventCreate) XXX_Unmarshal

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

type EventWithdraw

type EventWithdraw struct {
	MerkledropId uint64                                  `protobuf:"varint,1,opt,name=merkledrop_id,json=merkledropId,proto3" json:"merkledrop_id,omitempty"`
	Coin         github_com_cosmos_cosmos_sdk_types.Coin `protobuf:"bytes,2,opt,name=coin,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Coin" json:"coin"`
}

func (*EventWithdraw) Descriptor

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

func (*EventWithdraw) Marshal

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

func (*EventWithdraw) MarshalTo

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

func (*EventWithdraw) MarshalToSizedBuffer

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

func (*EventWithdraw) ProtoMessage

func (*EventWithdraw) ProtoMessage()

func (*EventWithdraw) Reset

func (m *EventWithdraw) Reset()

func (*EventWithdraw) Size

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

func (*EventWithdraw) String

func (m *EventWithdraw) String() string

func (*EventWithdraw) Unmarshal

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

func (*EventWithdraw) XXX_DiscardUnknown

func (m *EventWithdraw) XXX_DiscardUnknown()

func (*EventWithdraw) XXX_Marshal

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

func (*EventWithdraw) XXX_Merge

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

func (*EventWithdraw) XXX_Size

func (m *EventWithdraw) XXX_Size() int

func (*EventWithdraw) XXX_Unmarshal

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

type GenesisState

type GenesisState struct {
	LastMerkledropId uint64       `protobuf:"varint,1,opt,name=last_merkledrop_id,json=lastMerkledropId,proto3" json:"last_merkledrop_id,omitempty"`
	Merkledrops      []Merkledrop `protobuf:"bytes,2,rep,name=merkledrops,proto3" json:"merkledrops"`
	Indexes          []*Indexes   `protobuf:"bytes,3,rep,name=indexes,proto3" json:"indexes,omitempty"`
	Params           Params       `protobuf:"bytes,4,opt,name=params,proto3" json:"params"`
}

func NewGenesisState

func NewGenesisState(lastMdId uint64, mds []Merkledrop, indexes []*Indexes, params Params) GenesisState

func (*GenesisState) Descriptor

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

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

type Indexes struct {
	MerkledropId uint64   `protobuf:"varint,1,opt,name=merkledrop_id,json=merkledropId,proto3" json:"merkledrop_id,omitempty" yaml:"mdi"`
	Index        []uint64 `protobuf:"varint,2,rep,packed,name=index,proto3" json:"index,omitempty" yaml:"i"`
}

func (*Indexes) Descriptor

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

func (*Indexes) Marshal

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

func (*Indexes) MarshalTo

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

func (*Indexes) MarshalToSizedBuffer

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

func (*Indexes) ProtoMessage

func (*Indexes) ProtoMessage()

func (*Indexes) Reset

func (m *Indexes) Reset()

func (*Indexes) Size

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

func (*Indexes) String

func (m *Indexes) String() string

func (*Indexes) Unmarshal

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

func (*Indexes) XXX_DiscardUnknown

func (m *Indexes) XXX_DiscardUnknown()

func (*Indexes) XXX_Marshal

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

func (*Indexes) XXX_Merge

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

func (*Indexes) XXX_Size

func (m *Indexes) XXX_Size() int

func (*Indexes) XXX_Unmarshal

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

type Merkledrop

type Merkledrop struct {
	// merkledrop id
	Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	// merkle_root of the merkledrop
	MerkleRoot string `protobuf:"bytes,2,opt,name=merkle_root,json=merkleRoot,proto3" json:"merkle_root,omitempty" yaml:"merkle_root"`
	// merkledrop start height
	StartHeight int64 `protobuf:"varint,3,opt,name=start_height,json=startHeight,proto3" json:"start_height,omitempty"`
	// merkledrop end height
	EndHeight int64 `protobuf:"varint,4,opt,name=end_height,json=endHeight,proto3" json:"end_height,omitempty"`
	// denom to distribuite
	Denom string `protobuf:"bytes,5,opt,name=denom,proto3" json:"denom,omitempty"`
	// amount to distribuite
	Amount github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,6,opt,name=amount,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"amount"`
	// claimed amount
	Claimed github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,7,opt,name=claimed,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"claimed"`
	// merkledrop's owner
	Owner string `protobuf:"bytes,8,opt,name=owner,proto3" json:"owner,omitempty"`
}

func (*Merkledrop) Descriptor

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

func (Merkledrop) GetAmount

func (m Merkledrop) GetAmount() string

func (Merkledrop) GetMerkleRoot

func (m Merkledrop) GetMerkleRoot() string

func (*Merkledrop) Marshal

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

func (*Merkledrop) MarshalTo

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

func (*Merkledrop) MarshalToSizedBuffer

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

func (*Merkledrop) ProtoMessage

func (*Merkledrop) ProtoMessage()

func (*Merkledrop) Reset

func (m *Merkledrop) Reset()

func (*Merkledrop) Size

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

func (Merkledrop) String

func (m Merkledrop) String() string

func (*Merkledrop) Unmarshal

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

func (*Merkledrop) XXX_DiscardUnknown

func (m *Merkledrop) XXX_DiscardUnknown()

func (*Merkledrop) XXX_Marshal

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

func (*Merkledrop) XXX_Merge

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

func (*Merkledrop) XXX_Size

func (m *Merkledrop) XXX_Size() int

func (*Merkledrop) XXX_Unmarshal

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

type MerkledropI

type MerkledropI interface {
	GetMerkleRoot() string
	GetAmount() string
}

type MsgClaim

type MsgClaim struct {
	Sender       string                                 `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty"`
	MerkledropId uint64                                 `protobuf:"varint,2,opt,name=merkledrop_id,json=merkledropId,proto3" json:"merkledrop_id,omitempty"`
	Index        uint64                                 `protobuf:"varint,3,opt,name=index,proto3" json:"index,omitempty"`
	Amount       github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,4,opt,name=amount,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"amount"`
	Proofs       []string                               `protobuf:"bytes,5,rep,name=proofs,proto3" json:"proofs,omitempty"`
}

func NewMsgClaim

func NewMsgClaim(index, mdId uint64, amount sdk.Int, proofs []string, sender sdk.AccAddress) *MsgClaim

func (*MsgClaim) Descriptor

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

func (MsgClaim) GetSignBytes

func (msg MsgClaim) GetSignBytes() []byte

GetSignBytes Implements Msg.

func (MsgClaim) GetSigners

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

GetSigners Implements Msg.

func (*MsgClaim) Marshal

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

func (*MsgClaim) MarshalTo

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

func (*MsgClaim) MarshalToSizedBuffer

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

func (*MsgClaim) ProtoMessage

func (*MsgClaim) ProtoMessage()

func (*MsgClaim) Reset

func (m *MsgClaim) Reset()

func (MsgClaim) Route

func (msg MsgClaim) Route() string

func (*MsgClaim) Size

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

func (*MsgClaim) String

func (m *MsgClaim) String() string

func (MsgClaim) Type

func (msg MsgClaim) Type() string

func (*MsgClaim) Unmarshal

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

func (MsgClaim) ValidateBasic

func (msg MsgClaim) ValidateBasic() error

func (*MsgClaim) XXX_DiscardUnknown

func (m *MsgClaim) XXX_DiscardUnknown()

func (*MsgClaim) XXX_Marshal

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

func (*MsgClaim) XXX_Merge

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

func (*MsgClaim) XXX_Size

func (m *MsgClaim) XXX_Size() int

func (*MsgClaim) XXX_Unmarshal

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

type MsgClaimResponse

type MsgClaimResponse struct {
	Id     uint64                                 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Index  uint64                                 `protobuf:"varint,2,opt,name=index,proto3" json:"index,omitempty"`
	Amount github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,3,opt,name=amount,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"amount"`
}

func (*MsgClaimResponse) Descriptor

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

func (*MsgClaimResponse) Marshal

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

func (*MsgClaimResponse) MarshalTo

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

func (*MsgClaimResponse) MarshalToSizedBuffer

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

func (*MsgClaimResponse) ProtoMessage

func (*MsgClaimResponse) ProtoMessage()

func (*MsgClaimResponse) Reset

func (m *MsgClaimResponse) Reset()

func (*MsgClaimResponse) Size

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

func (*MsgClaimResponse) String

func (m *MsgClaimResponse) String() string

func (*MsgClaimResponse) Unmarshal

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

func (*MsgClaimResponse) XXX_DiscardUnknown

func (m *MsgClaimResponse) XXX_DiscardUnknown()

func (*MsgClaimResponse) XXX_Marshal

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

func (*MsgClaimResponse) XXX_Merge

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

func (*MsgClaimResponse) XXX_Size

func (m *MsgClaimResponse) XXX_Size() int

func (*MsgClaimResponse) XXX_Unmarshal

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

type MsgClient

type MsgClient interface {
	Create(ctx context.Context, in *MsgCreate, opts ...grpc.CallOption) (*MsgCreateResponse, error)
	Claim(ctx context.Context, in *MsgClaim, opts ...grpc.CallOption) (*MsgClaimResponse, 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 MsgCreate

type MsgCreate struct {
	// owner of the merkledrop
	Owner string `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty"`
	// merkle_root used to compute proofs
	MerkleRoot string `protobuf:"bytes,2,opt,name=merkle_root,json=merkleRoot,proto3" json:"merkle_root,omitempty" yaml:"merkle_root"`
	// merkledrop start height
	StartHeight int64 `protobuf:"varint,3,opt,name=start_height,json=startHeight,proto3" json:"start_height,omitempty"`
	// merkledrop end height
	EndHeight int64 `protobuf:"varint,4,opt,name=end_height,json=endHeight,proto3" json:"end_height,omitempty"`
	// coins to distribute
	Coin github_com_cosmos_cosmos_sdk_types.Coin `protobuf:"bytes,5,opt,name=coin,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Coin" json:"coin"`
}

func NewMsgCreate

func NewMsgCreate(owner sdk.AccAddress, merkleRoot string, startHeight, endHeight int64, coin sdk.Coin) *MsgCreate

func (*MsgCreate) Descriptor

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

func (MsgCreate) GetSignBytes

func (msg MsgCreate) GetSignBytes() []byte

GetSignBytes Implements Msg.

func (MsgCreate) GetSigners

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

GetSigners Implements Msg.

func (*MsgCreate) Marshal

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

func (*MsgCreate) MarshalTo

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

func (*MsgCreate) MarshalToSizedBuffer

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

func (*MsgCreate) ProtoMessage

func (*MsgCreate) ProtoMessage()

func (*MsgCreate) Reset

func (m *MsgCreate) Reset()

func (MsgCreate) Route

func (msg MsgCreate) Route() string

func (*MsgCreate) Size

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

func (*MsgCreate) String

func (m *MsgCreate) String() string

func (MsgCreate) Type

func (msg MsgCreate) Type() string

func (*MsgCreate) Unmarshal

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

func (MsgCreate) ValidateBasic

func (msg MsgCreate) ValidateBasic() error

func (*MsgCreate) XXX_DiscardUnknown

func (m *MsgCreate) XXX_DiscardUnknown()

func (*MsgCreate) XXX_Marshal

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

func (*MsgCreate) XXX_Merge

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

func (*MsgCreate) XXX_Size

func (m *MsgCreate) XXX_Size() int

func (*MsgCreate) XXX_Unmarshal

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

type MsgCreateResponse

type MsgCreateResponse struct {
	Owner string `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty"`
	Id    uint64 `protobuf:"varint,2,opt,name=id,proto3" json:"id,omitempty"`
}

func (*MsgCreateResponse) Descriptor

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

func (*MsgCreateResponse) Marshal

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

func (*MsgCreateResponse) MarshalTo

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

func (*MsgCreateResponse) MarshalToSizedBuffer

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

func (*MsgCreateResponse) ProtoMessage

func (*MsgCreateResponse) ProtoMessage()

func (*MsgCreateResponse) Reset

func (m *MsgCreateResponse) Reset()

func (*MsgCreateResponse) Size

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

func (*MsgCreateResponse) String

func (m *MsgCreateResponse) String() string

func (*MsgCreateResponse) Unmarshal

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

func (*MsgCreateResponse) XXX_DiscardUnknown

func (m *MsgCreateResponse) XXX_DiscardUnknown()

func (*MsgCreateResponse) XXX_Marshal

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

func (*MsgCreateResponse) XXX_Merge

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

func (*MsgCreateResponse) XXX_Size

func (m *MsgCreateResponse) XXX_Size() int

func (*MsgCreateResponse) XXX_Unmarshal

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

type MsgServer

type MsgServer interface {
	Create(context.Context, *MsgCreate) (*MsgCreateResponse, error)
	Claim(context.Context, *MsgClaim) (*MsgClaimResponse, error)
}

MsgServer is the server API for Msg service.

type ParamSubspace

type ParamSubspace interface {
	GetParamSet(ctx sdk.Context, ps paramstypes.ParamSet)
	SetParamSet(ctx sdk.Context, ps paramstypes.ParamSet)
	HasKeyTable() bool
	WithKeyTable(table paramstypes.KeyTable) paramstypes.Subspace
}

ParamSubspace defines the expected Subspace interface for parameters (noalias)

type Params

type Params struct {
	CreationFee github_com_cosmos_cosmos_sdk_types.Coin `` /* 155-byte string literal not displayed */
}

Params defines merkledrop module's parameters

func DefaultParams

func DefaultParams() Params

DefaultParams return the default params

func NewParams

func NewParams(creationFee sdk.Coin) Params

NewParams constructs a new Params instance

func (*Params) Descriptor

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

func (*Params) Equal

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

func (*Params) Marshal

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

func (*Params) MarshalTo

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

func (*Params) MarshalToSizedBuffer

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

func (*Params) ParamSetPairs

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

func (*Params) ProtoMessage

func (*Params) ProtoMessage()

func (*Params) Reset

func (m *Params) Reset()

func (*Params) Size

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

func (Params) String

func (p Params) String() string

String returns a human readable string representation of the parameters.

func (*Params) Unmarshal

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

func (Params) Validate

func (p Params) Validate() error

Validate validates the given 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 QueryClient

type QueryClient interface {
	Merkledrop(ctx context.Context, in *QueryMerkledropRequest, opts ...grpc.CallOption) (*QueryMerkledropResponse, error)
	IndexClaimed(ctx context.Context, in *QueryIndexClaimedRequest, opts ...grpc.CallOption) (*QueryIndexClaimedResponse, error)
	// Params queries the fantoken parameters
	Params(ctx context.Context, in *QueryParamsRequest, opts ...grpc.CallOption) (*QueryParamsResponse, 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 QueryIndexClaimedRequest

type QueryIndexClaimedRequest struct {
	Id    uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Index uint64 `protobuf:"varint,2,opt,name=index,proto3" json:"index,omitempty"`
}

func (*QueryIndexClaimedRequest) Descriptor

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

func (*QueryIndexClaimedRequest) Marshal

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

func (*QueryIndexClaimedRequest) MarshalTo

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

func (*QueryIndexClaimedRequest) MarshalToSizedBuffer

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

func (*QueryIndexClaimedRequest) ProtoMessage

func (*QueryIndexClaimedRequest) ProtoMessage()

func (*QueryIndexClaimedRequest) Reset

func (m *QueryIndexClaimedRequest) Reset()

func (*QueryIndexClaimedRequest) Size

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

func (*QueryIndexClaimedRequest) String

func (m *QueryIndexClaimedRequest) String() string

func (*QueryIndexClaimedRequest) Unmarshal

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

func (*QueryIndexClaimedRequest) XXX_DiscardUnknown

func (m *QueryIndexClaimedRequest) XXX_DiscardUnknown()

func (*QueryIndexClaimedRequest) XXX_Marshal

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

func (*QueryIndexClaimedRequest) XXX_Merge

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

func (*QueryIndexClaimedRequest) XXX_Size

func (m *QueryIndexClaimedRequest) XXX_Size() int

func (*QueryIndexClaimedRequest) XXX_Unmarshal

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

type QueryIndexClaimedResponse

type QueryIndexClaimedResponse struct {
	IsClaimed bool `protobuf:"varint,1,opt,name=is_claimed,json=isClaimed,proto3" json:"is_claimed,omitempty" yaml:"is_claimed"`
}

func (*QueryIndexClaimedResponse) Descriptor

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

func (*QueryIndexClaimedResponse) Marshal

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

func (*QueryIndexClaimedResponse) MarshalTo

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

func (*QueryIndexClaimedResponse) MarshalToSizedBuffer

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

func (*QueryIndexClaimedResponse) ProtoMessage

func (*QueryIndexClaimedResponse) ProtoMessage()

func (*QueryIndexClaimedResponse) Reset

func (m *QueryIndexClaimedResponse) Reset()

func (*QueryIndexClaimedResponse) Size

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

func (*QueryIndexClaimedResponse) String

func (m *QueryIndexClaimedResponse) String() string

func (*QueryIndexClaimedResponse) Unmarshal

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

func (*QueryIndexClaimedResponse) XXX_DiscardUnknown

func (m *QueryIndexClaimedResponse) XXX_DiscardUnknown()

func (*QueryIndexClaimedResponse) XXX_Marshal

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

func (*QueryIndexClaimedResponse) XXX_Merge

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

func (*QueryIndexClaimedResponse) XXX_Size

func (m *QueryIndexClaimedResponse) XXX_Size() int

func (*QueryIndexClaimedResponse) XXX_Unmarshal

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

type QueryMerkledropRequest

type QueryMerkledropRequest struct {
	Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
}

func (*QueryMerkledropRequest) Descriptor

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

func (*QueryMerkledropRequest) Marshal

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

func (*QueryMerkledropRequest) MarshalTo

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

func (*QueryMerkledropRequest) MarshalToSizedBuffer

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

func (*QueryMerkledropRequest) ProtoMessage

func (*QueryMerkledropRequest) ProtoMessage()

func (*QueryMerkledropRequest) Reset

func (m *QueryMerkledropRequest) Reset()

func (*QueryMerkledropRequest) Size

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

func (*QueryMerkledropRequest) String

func (m *QueryMerkledropRequest) String() string

func (*QueryMerkledropRequest) Unmarshal

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

func (*QueryMerkledropRequest) XXX_DiscardUnknown

func (m *QueryMerkledropRequest) XXX_DiscardUnknown()

func (*QueryMerkledropRequest) XXX_Marshal

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

func (*QueryMerkledropRequest) XXX_Merge

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

func (*QueryMerkledropRequest) XXX_Size

func (m *QueryMerkledropRequest) XXX_Size() int

func (*QueryMerkledropRequest) XXX_Unmarshal

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

type QueryMerkledropResponse

type QueryMerkledropResponse struct {
	Merkledrop Merkledrop `protobuf:"bytes,1,opt,name=merkledrop,proto3" json:"merkledrop"`
}

func (*QueryMerkledropResponse) Descriptor

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

func (*QueryMerkledropResponse) Marshal

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

func (*QueryMerkledropResponse) MarshalTo

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

func (*QueryMerkledropResponse) MarshalToSizedBuffer

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

func (*QueryMerkledropResponse) ProtoMessage

func (*QueryMerkledropResponse) ProtoMessage()

func (*QueryMerkledropResponse) Reset

func (m *QueryMerkledropResponse) Reset()

func (*QueryMerkledropResponse) Size

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

func (*QueryMerkledropResponse) String

func (m *QueryMerkledropResponse) String() string

func (*QueryMerkledropResponse) Unmarshal

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

func (*QueryMerkledropResponse) XXX_DiscardUnknown

func (m *QueryMerkledropResponse) XXX_DiscardUnknown()

func (*QueryMerkledropResponse) XXX_Marshal

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

func (*QueryMerkledropResponse) XXX_Merge

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

func (*QueryMerkledropResponse) XXX_Size

func (m *QueryMerkledropResponse) XXX_Size() int

func (*QueryMerkledropResponse) XXX_Unmarshal

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

type QueryParamsRequest

type QueryParamsRequest struct {
}

QueryParametersRequest is request type for the Query/Parameters 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 Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params"`
}

QueryParametersResponse is response type for the Query/Parameters RPC method

func (*QueryParamsResponse) Descriptor

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

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 {
	Merkledrop(context.Context, *QueryMerkledropRequest) (*QueryMerkledropResponse, error)
	IndexClaimed(context.Context, *QueryIndexClaimedRequest) (*QueryIndexClaimedResponse, error)
	// Params queries the fantoken parameters
	Params(context.Context, *QueryParamsRequest) (*QueryParamsResponse, 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) Claim

func (*UnimplementedMsgServer) Create

type UnimplementedQueryServer

type UnimplementedQueryServer struct {
}

UnimplementedQueryServer can be embedded to have forward compatible implementations.

func (*UnimplementedQueryServer) IndexClaimed

func (*UnimplementedQueryServer) Merkledrop

func (*UnimplementedQueryServer) Params

type UpdateFeesProposal

type UpdateFeesProposal struct {
	Title       string     `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"`
	Description string     `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
	CreationFee types.Coin `protobuf:"bytes,3,opt,name=creation_fee,json=creationFee,proto3" json:"creation_fee" yaml:"creation_fee"`
}

func (*UpdateFeesProposal) Descriptor

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

func (*UpdateFeesProposal) Equal

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

func (*UpdateFeesProposal) GetDescription

func (p *UpdateFeesProposal) GetDescription() string

func (*UpdateFeesProposal) GetTitle

func (p *UpdateFeesProposal) GetTitle() string

func (*UpdateFeesProposal) Marshal

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

func (*UpdateFeesProposal) MarshalTo

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

func (*UpdateFeesProposal) MarshalToSizedBuffer

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

func (*UpdateFeesProposal) ProposalRoute

func (p *UpdateFeesProposal) ProposalRoute() string

func (*UpdateFeesProposal) ProposalType

func (p *UpdateFeesProposal) ProposalType() string

func (*UpdateFeesProposal) ProtoMessage

func (*UpdateFeesProposal) ProtoMessage()

func (*UpdateFeesProposal) Reset

func (m *UpdateFeesProposal) Reset()

func (*UpdateFeesProposal) Size

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

func (UpdateFeesProposal) String

func (p UpdateFeesProposal) String() string

func (*UpdateFeesProposal) Unmarshal

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

func (*UpdateFeesProposal) ValidateBasic

func (p *UpdateFeesProposal) ValidateBasic() error

func (*UpdateFeesProposal) XXX_DiscardUnknown

func (m *UpdateFeesProposal) XXX_DiscardUnknown()

func (*UpdateFeesProposal) XXX_Marshal

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

func (*UpdateFeesProposal) XXX_Merge

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

func (*UpdateFeesProposal) XXX_Size

func (m *UpdateFeesProposal) XXX_Size() int

func (*UpdateFeesProposal) XXX_Unmarshal

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

type UpdateFeesProposalWithDeposit

type UpdateFeesProposalWithDeposit struct {
	Title       string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"`
	Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
	CreationFee string `protobuf:"bytes,3,opt,name=creation_fee,json=creationFee,proto3" json:"creation_fee,omitempty"`
	Deposit     string `protobuf:"bytes,7,opt,name=deposit,proto3" json:"deposit,omitempty"`
}

func (*UpdateFeesProposalWithDeposit) Descriptor

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

func (*UpdateFeesProposalWithDeposit) Marshal

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

func (*UpdateFeesProposalWithDeposit) MarshalTo

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

func (*UpdateFeesProposalWithDeposit) MarshalToSizedBuffer

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

func (*UpdateFeesProposalWithDeposit) ProtoMessage

func (*UpdateFeesProposalWithDeposit) ProtoMessage()

func (*UpdateFeesProposalWithDeposit) Reset

func (m *UpdateFeesProposalWithDeposit) Reset()

func (*UpdateFeesProposalWithDeposit) Size

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

func (*UpdateFeesProposalWithDeposit) String

func (*UpdateFeesProposalWithDeposit) Unmarshal

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

func (*UpdateFeesProposalWithDeposit) XXX_DiscardUnknown

func (m *UpdateFeesProposalWithDeposit) XXX_DiscardUnknown()

func (*UpdateFeesProposalWithDeposit) XXX_Marshal

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

func (*UpdateFeesProposalWithDeposit) XXX_Merge

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

func (*UpdateFeesProposalWithDeposit) XXX_Size

func (m *UpdateFeesProposalWithDeposit) XXX_Size() int

func (*UpdateFeesProposalWithDeposit) XXX_Unmarshal

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

Jump to

Keyboard shortcuts

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