types

package
v1.5.0 Latest Latest
Warning

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

Go to latest
Published: Jul 5, 2024 License: MIT Imports: 32 Imported by: 0

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 = "funders"

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

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

	// MemStoreKey defines the in-memory store key
	MemStoreKey = "mem_funders"
)
View Source
const (

	// DefaultMinFundingMultiple 20
	DefaultMinFundingMultiple = uint64(20)
)
View Source
const (
	// MaxFunders which are allowed per pool
	MaxFunders = 50
)

Variables

View Source
var (
	ErrFunderAlreadyExists               = errors.Register(ModuleName, 1100, "funder with address %v already exists")
	ErrFunderDoesNotExist                = errors.Register(ModuleName, 1101, "funder with address %v does not exist")
	ErrFundsTooLow                       = errors.Register(ModuleName, 1102, "minimum funding amount of %vkyve not reached")
	ErrMinAmountPerBundle                = errors.Register(ModuleName, 1103, "minimum amount per bundle of coin not reached")
	ErrMinFundingAmount                  = errors.Register(ModuleName, 1104, "minimum funding amount of coin not reached")
	ErrFundingDoesNotExist               = errors.Register(ModuleName, 1105, "funding for pool %v and funder %v does not exist")
	ErrFundingIsUsedUp                   = errors.Register(ModuleName, 1106, "funding for pool %v and funder %v is used up")
	ErrFundingStateDoesNotExist          = errors.Register(ModuleName, 1107, "funding state for pool %v does not exist")
	ErrMinFundingMultiple                = errors.Register(ModuleName, 1108, "per_bundle_amount times min_funding_multiple is smaller than funded_amount")
	ErrCoinNotWhitelisted                = errors.Register(ModuleName, 1109, "coin in amount not in whitelist")
	ErrAmountPerBundleCoinNotWhitelisted = errors.Register(ModuleName, 1110, "coin in amount per bundle not in whitelist")
	ErrInvalidAmountPerBundleCoin        = errors.Register(ModuleName, 1111, "coin in amount per bundle is not in funding amounts")
)

x/funders module sentinel errors

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 (
	ErrInvalidLengthFunders        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowFunders          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupFunders = 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 (
	// ParamsKey is the prefix for all module params defined in params.proto
	ParamsKey = []byte{0x00}

	// FunderKeyPrefix is indexed by the funder address
	// and contains all funders regardless of the pool
	// key -> FunderKeyPrefix | <funderAddr>
	FunderKeyPrefix = []byte{1}

	// FundingKeyPrefixByFunder stores funding for each funder and pool by funder
	// FundingKeyPrefixByFunder | <funder> | <poolId>
	FundingKeyPrefixByFunder = []byte{2, 0}

	// FundingKeyPrefixByPool stores funding for each funder and pool by pool
	// FundingKeyPrefixByPool | <poolId> | <funder>
	FundingKeyPrefixByPool = []byte{2, 1}

	// FundingStateKeyPrefix stores funding state for each pool
	// FundingStateKeyPrefix | <poolId> | <funder>
	FundingStateKeyPrefix = []byte{3, 0}
)
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")
)

Functions

func FunderKey

func FunderKey(funderAddress string) []byte

func FundingKeyByFunder

func FundingKeyByFunder(funderAddress string, poolId uint64) []byte

func FundingKeyByFunderIter

func FundingKeyByFunderIter(funderAddress string) []byte

FundingKeyByFunderIter is used to query all fundings for a funder

func FundingKeyByPool

func FundingKeyByPool(funderAddress string, poolId uint64) []byte

func FundingKeyByPoolIter

func FundingKeyByPoolIter(poolId uint64) []byte

FundingKeyByPoolIter is used to query all fundings for a pool

func FundingStateKey

func FundingStateKey(poolId uint64) []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)

Types

type AccountKeeper

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

type EventCreateFunder

type EventCreateFunder struct {
	// address is the account address of the funder.
	Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
	// moniker ...
	Moniker string `protobuf:"bytes,2,opt,name=moniker,proto3" json:"moniker,omitempty"`
	// identity is the 64 bit keybase.io identity string
	Identity string `protobuf:"bytes,3,opt,name=identity,proto3" json:"identity,omitempty"`
	// website ...
	Website string `protobuf:"bytes,4,opt,name=website,proto3" json:"website,omitempty"`
	// contact ...
	Contact string `protobuf:"bytes,5,opt,name=contact,proto3" json:"contact,omitempty"`
	// description are some additional notes the funder finds important
	Description string `protobuf:"bytes,6,opt,name=description,proto3" json:"description,omitempty"`
}

EventCreateFunder is an event emitted when a funder is created. emitted_by: MsgCreateFunder

func (*EventCreateFunder) Descriptor

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

func (*EventCreateFunder) GetAddress

func (m *EventCreateFunder) GetAddress() string

func (*EventCreateFunder) GetContact

func (m *EventCreateFunder) GetContact() string

func (*EventCreateFunder) GetDescription

func (m *EventCreateFunder) GetDescription() string

func (*EventCreateFunder) GetIdentity

func (m *EventCreateFunder) GetIdentity() string

func (*EventCreateFunder) GetMoniker

func (m *EventCreateFunder) GetMoniker() string

func (*EventCreateFunder) GetWebsite

func (m *EventCreateFunder) GetWebsite() string

func (*EventCreateFunder) Marshal

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

func (*EventCreateFunder) MarshalTo

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

func (*EventCreateFunder) MarshalToSizedBuffer

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

func (*EventCreateFunder) ProtoMessage

func (*EventCreateFunder) ProtoMessage()

func (*EventCreateFunder) Reset

func (m *EventCreateFunder) Reset()

func (*EventCreateFunder) Size

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

func (*EventCreateFunder) String

func (m *EventCreateFunder) String() string

func (*EventCreateFunder) Unmarshal

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

func (*EventCreateFunder) XXX_DiscardUnknown

func (m *EventCreateFunder) XXX_DiscardUnknown()

func (*EventCreateFunder) XXX_Marshal

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

func (*EventCreateFunder) XXX_Merge

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

func (*EventCreateFunder) XXX_Size

func (m *EventCreateFunder) XXX_Size() int

func (*EventCreateFunder) XXX_Unmarshal

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

type EventDefundPool

type EventDefundPool struct {
	// pool_id is the unique ID of the pool.
	PoolId uint64 `protobuf:"varint,1,opt,name=pool_id,json=poolId,proto3" json:"pool_id,omitempty"`
	// address is the account address of the pool funder.
	Address string `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"`
	// amounts is a list of coins that the funder wants to defund
	Amounts string `protobuf:"bytes,3,opt,name=amounts,proto3" json:"amounts,omitempty"`
}

EventDefundPool is an event emitted when a pool is defunded. emitted_by: MsgDefundPool

func (*EventDefundPool) Descriptor

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

func (*EventDefundPool) GetAddress

func (m *EventDefundPool) GetAddress() string

func (*EventDefundPool) GetAmounts added in v1.5.0

func (m *EventDefundPool) GetAmounts() string

func (*EventDefundPool) GetPoolId

func (m *EventDefundPool) GetPoolId() uint64

func (*EventDefundPool) Marshal

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

func (*EventDefundPool) MarshalTo

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

func (*EventDefundPool) MarshalToSizedBuffer

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

func (*EventDefundPool) ProtoMessage

func (*EventDefundPool) ProtoMessage()

func (*EventDefundPool) Reset

func (m *EventDefundPool) Reset()

func (*EventDefundPool) Size

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

func (*EventDefundPool) String

func (m *EventDefundPool) String() string

func (*EventDefundPool) Unmarshal

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

func (*EventDefundPool) XXX_DiscardUnknown

func (m *EventDefundPool) XXX_DiscardUnknown()

func (*EventDefundPool) XXX_Marshal

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

func (*EventDefundPool) XXX_Merge

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

func (*EventDefundPool) XXX_Size

func (m *EventDefundPool) XXX_Size() int

func (*EventDefundPool) XXX_Unmarshal

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

type EventFundPool

type EventFundPool struct {
	// pool_id is the unique ID of the pool.
	PoolId uint64 `protobuf:"varint,1,opt,name=pool_id,json=poolId,proto3" json:"pool_id,omitempty"`
	// address is the account address of the pool funder.
	Address string `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"`
	// amounts is a list of coins the funder has funded
	Amounts string `protobuf:"bytes,3,opt,name=amounts,proto3" json:"amounts,omitempty"`
	// amounts_per_bundle is a list of coins the funder wants to distribute per finalized bundle
	AmountsPerBundle string `protobuf:"bytes,4,opt,name=amounts_per_bundle,json=amountsPerBundle,proto3" json:"amounts_per_bundle,omitempty"`
}

EventFundPool is an event emitted when a pool is funded. emitted_by: MsgFundPool

func (*EventFundPool) Descriptor

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

func (*EventFundPool) GetAddress

func (m *EventFundPool) GetAddress() string

func (*EventFundPool) GetAmounts added in v1.5.0

func (m *EventFundPool) GetAmounts() string

func (*EventFundPool) GetAmountsPerBundle added in v1.5.0

func (m *EventFundPool) GetAmountsPerBundle() string

func (*EventFundPool) GetPoolId

func (m *EventFundPool) GetPoolId() uint64

func (*EventFundPool) Marshal

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

func (*EventFundPool) MarshalTo

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

func (*EventFundPool) MarshalToSizedBuffer

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

func (*EventFundPool) ProtoMessage

func (*EventFundPool) ProtoMessage()

func (*EventFundPool) Reset

func (m *EventFundPool) Reset()

func (*EventFundPool) Size

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

func (*EventFundPool) String

func (m *EventFundPool) String() string

func (*EventFundPool) Unmarshal

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

func (*EventFundPool) XXX_DiscardUnknown

func (m *EventFundPool) XXX_DiscardUnknown()

func (*EventFundPool) XXX_Marshal

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

func (*EventFundPool) XXX_Merge

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

func (*EventFundPool) XXX_Size

func (m *EventFundPool) XXX_Size() int

func (*EventFundPool) XXX_Unmarshal

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

type EventPoolOutOfFunds

type EventPoolOutOfFunds struct {
	// pool_id is the unique ID of the pool.
	PoolId uint64 `protobuf:"varint,1,opt,name=pool_id,json=poolId,proto3" json:"pool_id,omitempty"`
}

EventPoolOutOfFunds is an event emitted when a pool has run out of funds emitted_by: MsgSubmitBundleProposal

func (*EventPoolOutOfFunds) Descriptor

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

func (*EventPoolOutOfFunds) GetPoolId

func (m *EventPoolOutOfFunds) GetPoolId() uint64

func (*EventPoolOutOfFunds) Marshal

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

func (*EventPoolOutOfFunds) MarshalTo

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

func (*EventPoolOutOfFunds) MarshalToSizedBuffer

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

func (*EventPoolOutOfFunds) ProtoMessage

func (*EventPoolOutOfFunds) ProtoMessage()

func (*EventPoolOutOfFunds) Reset

func (m *EventPoolOutOfFunds) Reset()

func (*EventPoolOutOfFunds) Size

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

func (*EventPoolOutOfFunds) String

func (m *EventPoolOutOfFunds) String() string

func (*EventPoolOutOfFunds) Unmarshal

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

func (*EventPoolOutOfFunds) XXX_DiscardUnknown

func (m *EventPoolOutOfFunds) XXX_DiscardUnknown()

func (*EventPoolOutOfFunds) XXX_Marshal

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

func (*EventPoolOutOfFunds) XXX_Merge

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

func (*EventPoolOutOfFunds) XXX_Size

func (m *EventPoolOutOfFunds) XXX_Size() int

func (*EventPoolOutOfFunds) XXX_Unmarshal

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

type EventUpdateFunder

type EventUpdateFunder struct {
	// address is the account address of the funder.
	Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
	// moniker ...
	Moniker string `protobuf:"bytes,2,opt,name=moniker,proto3" json:"moniker,omitempty"`
	// identity is the 64 bit keybase.io identity string
	Identity string `protobuf:"bytes,3,opt,name=identity,proto3" json:"identity,omitempty"`
	// website ...
	Website string `protobuf:"bytes,4,opt,name=website,proto3" json:"website,omitempty"`
	// contact ...
	Contact string `protobuf:"bytes,5,opt,name=contact,proto3" json:"contact,omitempty"`
	// description are some additional notes the funder finds important
	Description string `protobuf:"bytes,6,opt,name=description,proto3" json:"description,omitempty"`
}

EventUpdateFunder is an event emitted when a funder is created. emitted_by: MsgCreateFunder

func (*EventUpdateFunder) Descriptor

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

func (*EventUpdateFunder) GetAddress

func (m *EventUpdateFunder) GetAddress() string

func (*EventUpdateFunder) GetContact

func (m *EventUpdateFunder) GetContact() string

func (*EventUpdateFunder) GetDescription

func (m *EventUpdateFunder) GetDescription() string

func (*EventUpdateFunder) GetIdentity

func (m *EventUpdateFunder) GetIdentity() string

func (*EventUpdateFunder) GetMoniker

func (m *EventUpdateFunder) GetMoniker() string

func (*EventUpdateFunder) GetWebsite

func (m *EventUpdateFunder) GetWebsite() string

func (*EventUpdateFunder) Marshal

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

func (*EventUpdateFunder) MarshalTo

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

func (*EventUpdateFunder) MarshalToSizedBuffer

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

func (*EventUpdateFunder) ProtoMessage

func (*EventUpdateFunder) ProtoMessage()

func (*EventUpdateFunder) Reset

func (m *EventUpdateFunder) Reset()

func (*EventUpdateFunder) Size

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

func (*EventUpdateFunder) String

func (m *EventUpdateFunder) String() string

func (*EventUpdateFunder) Unmarshal

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

func (*EventUpdateFunder) XXX_DiscardUnknown

func (m *EventUpdateFunder) XXX_DiscardUnknown()

func (*EventUpdateFunder) XXX_Marshal

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

func (*EventUpdateFunder) XXX_Merge

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

func (*EventUpdateFunder) XXX_Size

func (m *EventUpdateFunder) XXX_Size() int

func (*EventUpdateFunder) XXX_Unmarshal

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

type EventUpdateParams

type EventUpdateParams struct {
	// old_params is the module's old parameters.
	OldParams Params `protobuf:"bytes,1,opt,name=old_params,json=oldParams,proto3" json:"old_params"`
	// new_params is the module's new parameters.
	NewParams Params `protobuf:"bytes,2,opt,name=new_params,json=newParams,proto3" json:"new_params"`
	// payload is the parameter updates that were performed.
	Payload string `protobuf:"bytes,3,opt,name=payload,proto3" json:"payload,omitempty"`
}

EventUpdateParams is an event emitted when the module parameters are updated. emitted_by: MsgUpdateParams

func (*EventUpdateParams) Descriptor

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

func (*EventUpdateParams) GetNewParams

func (m *EventUpdateParams) GetNewParams() Params

func (*EventUpdateParams) GetOldParams

func (m *EventUpdateParams) GetOldParams() Params

func (*EventUpdateParams) GetPayload

func (m *EventUpdateParams) GetPayload() string

func (*EventUpdateParams) Marshal

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

func (*EventUpdateParams) MarshalTo

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

func (*EventUpdateParams) MarshalToSizedBuffer

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

func (*EventUpdateParams) ProtoMessage

func (*EventUpdateParams) ProtoMessage()

func (*EventUpdateParams) Reset

func (m *EventUpdateParams) Reset()

func (*EventUpdateParams) Size

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

func (*EventUpdateParams) String

func (m *EventUpdateParams) String() string

func (*EventUpdateParams) Unmarshal

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

func (*EventUpdateParams) XXX_DiscardUnknown

func (m *EventUpdateParams) XXX_DiscardUnknown()

func (*EventUpdateParams) XXX_Marshal

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

func (*EventUpdateParams) XXX_Merge

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

func (*EventUpdateParams) XXX_Size

func (m *EventUpdateParams) XXX_Size() int

func (*EventUpdateParams) XXX_Unmarshal

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

type Funder

type Funder struct {
	// address ...
	Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
	// moniker ...
	Moniker string `protobuf:"bytes,2,opt,name=moniker,proto3" json:"moniker,omitempty"`
	// identity is the 64 bit keybase.io identity string
	Identity string `protobuf:"bytes,3,opt,name=identity,proto3" json:"identity,omitempty"`
	// website ...
	Website string `protobuf:"bytes,4,opt,name=website,proto3" json:"website,omitempty"`
	// contact ...
	Contact string `protobuf:"bytes,5,opt,name=contact,proto3" json:"contact,omitempty"`
	// description are some additional notes the funder finds important
	Description string `protobuf:"bytes,6,opt,name=description,proto3" json:"description,omitempty"`
}

Funder is the object which holds info about a single pool funder

func (*Funder) Descriptor

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

func (*Funder) GetAddress

func (m *Funder) GetAddress() string

func (*Funder) GetContact

func (m *Funder) GetContact() string

func (*Funder) GetDescription

func (m *Funder) GetDescription() string

func (*Funder) GetIdentity

func (m *Funder) GetIdentity() string

func (*Funder) GetMoniker

func (m *Funder) GetMoniker() string

func (*Funder) GetWebsite

func (m *Funder) GetWebsite() string

func (*Funder) Marshal

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

func (*Funder) MarshalTo

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

func (*Funder) MarshalToSizedBuffer

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

func (*Funder) ProtoMessage

func (*Funder) ProtoMessage()

func (*Funder) Reset

func (m *Funder) Reset()

func (*Funder) Size

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

func (*Funder) String

func (m *Funder) String() string

func (*Funder) Unmarshal

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

func (*Funder) XXX_DiscardUnknown

func (m *Funder) XXX_DiscardUnknown()

func (*Funder) XXX_Marshal

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

func (*Funder) XXX_Merge

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

func (*Funder) XXX_Size

func (m *Funder) XXX_Size() int

func (*Funder) XXX_Unmarshal

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

type Funding

type Funding struct {
	// funder_address is the address of the funder
	FunderAddress string `protobuf:"bytes,1,opt,name=funder_address,json=funderAddress,proto3" json:"funder_address,omitempty"`
	// pool_id is the id of the pool this funding is for
	PoolId uint64 `protobuf:"varint,2,opt,name=pool_id,json=poolId,proto3" json:"pool_id,omitempty"`
	// amounts is a list of coins the funder wants to fund the pool with
	Amounts github_com_cosmos_cosmos_sdk_types.Coins `protobuf:"bytes,3,rep,name=amounts,proto3,castrepeated=github.com/cosmos/cosmos-sdk/types.Coins" json:"amounts"`
	// amounts_per_bundle defines the amount of each coin that are distributed
	// per finalized bundle
	AmountsPerBundle github_com_cosmos_cosmos_sdk_types.Coins `` /* 155-byte string literal not displayed */
	// total_funded is the total amount of coins that the funder has funded
	TotalFunded github_com_cosmos_cosmos_sdk_types.Coins `` /* 138-byte string literal not displayed */
}

Funding is the object which holds info about the current funding funder_address and pool_id (m2m) are unique together which means that a funder can only fund each pool once and a pool can only be funded by each funder once. However, a funder can update the amount of funds.

func (*Funding) ChargeOneBundle

func (f *Funding) ChargeOneBundle(whitelist map[string]WhitelistCoinEntry) (payouts sdk.Coins)

func (*Funding) CleanAmountsPerBundle added in v1.5.0

func (f *Funding) CleanAmountsPerBundle()

CleanAmountsPerBundle removes every coin in amounts per bundle which is not present in the amounts coins list

func (*Funding) Descriptor

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

func (*Funding) GetAmounts added in v1.5.0

func (*Funding) GetAmountsPerBundle added in v1.5.0

func (m *Funding) GetAmountsPerBundle() github_com_cosmos_cosmos_sdk_types.Coins

func (*Funding) GetFunderAddress

func (m *Funding) GetFunderAddress() string

func (*Funding) GetPoolId

func (m *Funding) GetPoolId() uint64

func (*Funding) GetScore added in v1.5.0

func (f *Funding) GetScore(whitelist map[string]WhitelistCoinEntry) (score uint64)

func (*Funding) GetTotalFunded

func (m *Funding) GetTotalFunded() github_com_cosmos_cosmos_sdk_types.Coins

func (*Funding) IsActive

func (f *Funding) IsActive() (isActive bool)

func (*Funding) IsInactive

func (f *Funding) IsInactive() (isInactive bool)

func (*Funding) Marshal

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

func (*Funding) MarshalTo

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

func (*Funding) MarshalToSizedBuffer

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

func (*Funding) ProtoMessage

func (*Funding) ProtoMessage()

func (*Funding) Reset

func (m *Funding) Reset()

func (*Funding) Size

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

func (*Funding) String

func (m *Funding) String() string

func (*Funding) Unmarshal

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

func (*Funding) XXX_DiscardUnknown

func (m *Funding) XXX_DiscardUnknown()

func (*Funding) XXX_Marshal

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

func (*Funding) XXX_Merge

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

func (*Funding) XXX_Size

func (m *Funding) XXX_Size() int

func (*Funding) XXX_Unmarshal

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

type FundingState

type FundingState struct {
	// pool_id is the id of the pool this funding is for
	PoolId uint64 `protobuf:"varint,1,opt,name=pool_id,json=poolId,proto3" json:"pool_id,omitempty"`
	// active_funder_addresses is the list of all active fundings
	ActiveFunderAddresses []string `` /* 126-byte string literal not displayed */
}

FundingState is the object which holds info about the funding state of a pool

func (*FundingState) Descriptor

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

func (*FundingState) GetActiveFunderAddresses

func (m *FundingState) GetActiveFunderAddresses() []string

func (*FundingState) GetPoolId

func (m *FundingState) GetPoolId() uint64

func (*FundingState) Marshal

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

func (*FundingState) MarshalTo

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

func (*FundingState) MarshalToSizedBuffer

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

func (*FundingState) ProtoMessage

func (*FundingState) ProtoMessage()

func (*FundingState) Reset

func (m *FundingState) Reset()

func (*FundingState) SetActive

func (fs *FundingState) SetActive(funding *Funding)

SetActive adds a funding to active fundings

func (*FundingState) SetInactive

func (fs *FundingState) SetInactive(funding *Funding)

SetInactive removes a funding from active fundings

func (*FundingState) Size

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

func (*FundingState) String

func (m *FundingState) String() string

func (*FundingState) Unmarshal

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

func (*FundingState) XXX_DiscardUnknown

func (m *FundingState) XXX_DiscardUnknown()

func (*FundingState) XXX_Marshal

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

func (*FundingState) XXX_Merge

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

func (*FundingState) XXX_Size

func (m *FundingState) XXX_Size() int

func (*FundingState) XXX_Unmarshal

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

type GenesisState

type GenesisState struct {
	// params defines all the parameters of the module.
	Params Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params"`
	// funder_list ...
	FunderList []Funder `protobuf:"bytes,2,rep,name=funder_list,json=funderList,proto3" json:"funder_list"`
	// funding_list ...
	FundingList []Funding `protobuf:"bytes,3,rep,name=funding_list,json=fundingList,proto3" json:"funding_list"`
	// funding_state ...
	FundingStateList []FundingState `protobuf:"bytes,4,rep,name=funding_state_list,json=fundingStateList,proto3" json:"funding_state_list"`
}

GenesisState defines the funders 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) GetFunderList

func (m *GenesisState) GetFunderList() []Funder

func (*GenesisState) GetFundingList

func (m *GenesisState) GetFundingList() []Funding

func (*GenesisState) GetFundingStateList

func (m *GenesisState) GetFundingStateList() []FundingState

func (*GenesisState) GetParams

func (m *GenesisState) GetParams() Params

func (*GenesisState) Marshal

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

func (*GenesisState) MarshalTo

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

func (*GenesisState) MarshalToSizedBuffer

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

func (*GenesisState) ProtoMessage

func (*GenesisState) ProtoMessage()

func (*GenesisState) Reset

func (m *GenesisState) Reset()

func (*GenesisState) Size

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

func (*GenesisState) String

func (m *GenesisState) String() string

func (*GenesisState) Unmarshal

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

func (GenesisState) Validate

func (gs GenesisState) Validate() error

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

func (*GenesisState) XXX_DiscardUnknown

func (m *GenesisState) XXX_DiscardUnknown()

func (*GenesisState) XXX_Marshal

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

func (*GenesisState) XXX_Merge

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

func (*GenesisState) XXX_Size

func (m *GenesisState) XXX_Size() int

func (*GenesisState) XXX_Unmarshal

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

type MsgClient

type MsgClient interface {
	// CreateFunder ...
	CreateFunder(ctx context.Context, in *MsgCreateFunder, opts ...grpc.CallOption) (*MsgCreateFunderResponse, error)
	// UpdateFunder ...
	UpdateFunder(ctx context.Context, in *MsgUpdateFunder, opts ...grpc.CallOption) (*MsgUpdateFunderResponse, error)
	// FundPool ...
	FundPool(ctx context.Context, in *MsgFundPool, opts ...grpc.CallOption) (*MsgFundPoolResponse, error)
	// DefundPool ...
	DefundPool(ctx context.Context, in *MsgDefundPool, opts ...grpc.CallOption) (*MsgDefundPoolResponse, error)
	// UpdateParams defines a governance operation for updating the x/delegation module
	// parameters. The authority is hard-coded to the x/gov module account.
	UpdateParams(ctx context.Context, in *MsgUpdateParams, opts ...grpc.CallOption) (*MsgUpdateParamsResponse, 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 MsgCreateFunder

type MsgCreateFunder struct {
	// creator ...
	Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"`
	// moniker
	Moniker string `protobuf:"bytes,2,opt,name=moniker,proto3" json:"moniker,omitempty"`
	// identity is the 64 bit keybase.io identity string
	Identity string `protobuf:"bytes,3,opt,name=identity,proto3" json:"identity,omitempty"`
	// website
	Website string `protobuf:"bytes,4,opt,name=website,proto3" json:"website,omitempty"`
	// contact
	Contact string `protobuf:"bytes,5,opt,name=contact,proto3" json:"contact,omitempty"`
	// description are some additional notes the funder finds important
	Description string `protobuf:"bytes,6,opt,name=description,proto3" json:"description,omitempty"`
}

MsgCreateFunder defines a SDK message for creating a funder.

func (*MsgCreateFunder) Descriptor

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

func (*MsgCreateFunder) GetContact

func (m *MsgCreateFunder) GetContact() string

func (*MsgCreateFunder) GetCreator

func (m *MsgCreateFunder) GetCreator() string

func (*MsgCreateFunder) GetDescription

func (m *MsgCreateFunder) GetDescription() string

func (*MsgCreateFunder) GetIdentity

func (m *MsgCreateFunder) GetIdentity() string

func (*MsgCreateFunder) GetMoniker

func (m *MsgCreateFunder) GetMoniker() string

func (*MsgCreateFunder) GetSignBytes

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

func (*MsgCreateFunder) GetSigners

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

func (*MsgCreateFunder) GetWebsite

func (m *MsgCreateFunder) GetWebsite() string

func (*MsgCreateFunder) Marshal

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

func (*MsgCreateFunder) MarshalTo

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

func (*MsgCreateFunder) MarshalToSizedBuffer

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

func (*MsgCreateFunder) ProtoMessage

func (*MsgCreateFunder) ProtoMessage()

func (*MsgCreateFunder) Reset

func (m *MsgCreateFunder) Reset()

func (*MsgCreateFunder) Route

func (msg *MsgCreateFunder) Route() string

func (*MsgCreateFunder) Size

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

func (*MsgCreateFunder) String

func (m *MsgCreateFunder) String() string

func (*MsgCreateFunder) Type

func (msg *MsgCreateFunder) Type() string

func (*MsgCreateFunder) Unmarshal

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

func (*MsgCreateFunder) ValidateBasic

func (msg *MsgCreateFunder) ValidateBasic() error

func (*MsgCreateFunder) XXX_DiscardUnknown

func (m *MsgCreateFunder) XXX_DiscardUnknown()

func (*MsgCreateFunder) XXX_Marshal

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

func (*MsgCreateFunder) XXX_Merge

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

func (*MsgCreateFunder) XXX_Size

func (m *MsgCreateFunder) XXX_Size() int

func (*MsgCreateFunder) XXX_Unmarshal

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

type MsgCreateFunderResponse

type MsgCreateFunderResponse struct {
}

MsgCreateFunderResponse defines the Msg/CreateFunder response type.

func (*MsgCreateFunderResponse) Descriptor

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

func (*MsgCreateFunderResponse) Marshal

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

func (*MsgCreateFunderResponse) MarshalTo

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

func (*MsgCreateFunderResponse) MarshalToSizedBuffer

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

func (*MsgCreateFunderResponse) ProtoMessage

func (*MsgCreateFunderResponse) ProtoMessage()

func (*MsgCreateFunderResponse) Reset

func (m *MsgCreateFunderResponse) Reset()

func (*MsgCreateFunderResponse) Size

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

func (*MsgCreateFunderResponse) String

func (m *MsgCreateFunderResponse) String() string

func (*MsgCreateFunderResponse) Unmarshal

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

func (*MsgCreateFunderResponse) XXX_DiscardUnknown

func (m *MsgCreateFunderResponse) XXX_DiscardUnknown()

func (*MsgCreateFunderResponse) XXX_Marshal

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

func (*MsgCreateFunderResponse) XXX_Merge

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

func (*MsgCreateFunderResponse) XXX_Size

func (m *MsgCreateFunderResponse) XXX_Size() int

func (*MsgCreateFunderResponse) XXX_Unmarshal

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

type MsgDefundPool

type MsgDefundPool struct {
	// creator is the funder of the pool who wants to defund now
	Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"`
	// pool_id is the identifier of the pool
	PoolId uint64 `protobuf:"varint,2,opt,name=pool_id,json=poolId,proto3" json:"pool_id,omitempty"`
	// amounts is a list of coins the creator wants to defund from the pool
	Amounts github_com_cosmos_cosmos_sdk_types.Coins `protobuf:"bytes,3,rep,name=amounts,proto3,castrepeated=github.com/cosmos/cosmos-sdk/types.Coins" json:"amounts"`
}

MsgDefundPool defines a SDK message for defunding a pool.

func (*MsgDefundPool) Descriptor

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

func (*MsgDefundPool) GetAmounts added in v1.5.0

func (*MsgDefundPool) GetCreator

func (m *MsgDefundPool) GetCreator() string

func (*MsgDefundPool) GetPoolId

func (m *MsgDefundPool) GetPoolId() uint64

func (*MsgDefundPool) GetSignBytes

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

func (*MsgDefundPool) GetSigners

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

func (*MsgDefundPool) Marshal

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

func (*MsgDefundPool) MarshalTo

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

func (*MsgDefundPool) MarshalToSizedBuffer

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

func (*MsgDefundPool) ProtoMessage

func (*MsgDefundPool) ProtoMessage()

func (*MsgDefundPool) Reset

func (m *MsgDefundPool) Reset()

func (*MsgDefundPool) Route

func (msg *MsgDefundPool) Route() string

func (*MsgDefundPool) Size

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

func (*MsgDefundPool) String

func (m *MsgDefundPool) String() string

func (*MsgDefundPool) Type

func (msg *MsgDefundPool) Type() string

func (*MsgDefundPool) Unmarshal

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

func (*MsgDefundPool) ValidateBasic

func (msg *MsgDefundPool) ValidateBasic() error

func (*MsgDefundPool) XXX_DiscardUnknown

func (m *MsgDefundPool) XXX_DiscardUnknown()

func (*MsgDefundPool) XXX_Marshal

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

func (*MsgDefundPool) XXX_Merge

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

func (*MsgDefundPool) XXX_Size

func (m *MsgDefundPool) XXX_Size() int

func (*MsgDefundPool) XXX_Unmarshal

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

type MsgDefundPoolResponse

type MsgDefundPoolResponse struct {
}

MsgDefundPoolResponse defines the Msg/DefundPool response type.

func (*MsgDefundPoolResponse) Descriptor

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

func (*MsgDefundPoolResponse) Marshal

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

func (*MsgDefundPoolResponse) MarshalTo

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

func (*MsgDefundPoolResponse) MarshalToSizedBuffer

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

func (*MsgDefundPoolResponse) ProtoMessage

func (*MsgDefundPoolResponse) ProtoMessage()

func (*MsgDefundPoolResponse) Reset

func (m *MsgDefundPoolResponse) Reset()

func (*MsgDefundPoolResponse) Size

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

func (*MsgDefundPoolResponse) String

func (m *MsgDefundPoolResponse) String() string

func (*MsgDefundPoolResponse) Unmarshal

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

func (*MsgDefundPoolResponse) XXX_DiscardUnknown

func (m *MsgDefundPoolResponse) XXX_DiscardUnknown()

func (*MsgDefundPoolResponse) XXX_Marshal

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

func (*MsgDefundPoolResponse) XXX_Merge

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

func (*MsgDefundPoolResponse) XXX_Size

func (m *MsgDefundPoolResponse) XXX_Size() int

func (*MsgDefundPoolResponse) XXX_Unmarshal

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

type MsgFundPool

type MsgFundPool struct {
	// creator is the funder of the pool
	Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"`
	// pool_id is the identifier of the pool
	PoolId uint64 `protobuf:"varint,2,opt,name=pool_id,json=poolId,proto3" json:"pool_id,omitempty"`
	// amounts is a list of coins the creator wants to fund
	Amounts github_com_cosmos_cosmos_sdk_types.Coins `protobuf:"bytes,3,rep,name=amounts,proto3,castrepeated=github.com/cosmos/cosmos-sdk/types.Coins" json:"amounts"`
	// amounts_per_bundle is a list of coins the creator wants to distribute
	// per finalized bundle
	AmountsPerBundle github_com_cosmos_cosmos_sdk_types.Coins `` /* 155-byte string literal not displayed */
}

MsgFundPool defines a SDK message for funding a pool.

func (*MsgFundPool) Descriptor

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

func (*MsgFundPool) GetAmounts added in v1.5.0

func (*MsgFundPool) GetAmountsPerBundle added in v1.5.0

func (m *MsgFundPool) GetAmountsPerBundle() github_com_cosmos_cosmos_sdk_types.Coins

func (*MsgFundPool) GetCreator

func (m *MsgFundPool) GetCreator() string

func (*MsgFundPool) GetPoolId

func (m *MsgFundPool) GetPoolId() uint64

func (*MsgFundPool) GetSignBytes

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

func (*MsgFundPool) GetSigners

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

func (*MsgFundPool) Marshal

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

func (*MsgFundPool) MarshalTo

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

func (*MsgFundPool) MarshalToSizedBuffer

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

func (*MsgFundPool) ProtoMessage

func (*MsgFundPool) ProtoMessage()

func (*MsgFundPool) Reset

func (m *MsgFundPool) Reset()

func (*MsgFundPool) Route

func (msg *MsgFundPool) Route() string

func (*MsgFundPool) Size

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

func (*MsgFundPool) String

func (m *MsgFundPool) String() string

func (*MsgFundPool) Type

func (msg *MsgFundPool) Type() string

func (*MsgFundPool) Unmarshal

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

func (*MsgFundPool) ValidateBasic

func (msg *MsgFundPool) ValidateBasic() error

func (*MsgFundPool) XXX_DiscardUnknown

func (m *MsgFundPool) XXX_DiscardUnknown()

func (*MsgFundPool) XXX_Marshal

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

func (*MsgFundPool) XXX_Merge

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

func (*MsgFundPool) XXX_Size

func (m *MsgFundPool) XXX_Size() int

func (*MsgFundPool) XXX_Unmarshal

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

type MsgFundPoolResponse

type MsgFundPoolResponse struct {
}

MsgFundPoolResponse defines the Msg/DefundPool response type.

func (*MsgFundPoolResponse) Descriptor

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

func (*MsgFundPoolResponse) Marshal

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

func (*MsgFundPoolResponse) MarshalTo

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

func (*MsgFundPoolResponse) MarshalToSizedBuffer

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

func (*MsgFundPoolResponse) ProtoMessage

func (*MsgFundPoolResponse) ProtoMessage()

func (*MsgFundPoolResponse) Reset

func (m *MsgFundPoolResponse) Reset()

func (*MsgFundPoolResponse) Size

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

func (*MsgFundPoolResponse) String

func (m *MsgFundPoolResponse) String() string

func (*MsgFundPoolResponse) Unmarshal

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

func (*MsgFundPoolResponse) XXX_DiscardUnknown

func (m *MsgFundPoolResponse) XXX_DiscardUnknown()

func (*MsgFundPoolResponse) XXX_Marshal

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

func (*MsgFundPoolResponse) XXX_Merge

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

func (*MsgFundPoolResponse) XXX_Size

func (m *MsgFundPoolResponse) XXX_Size() int

func (*MsgFundPoolResponse) XXX_Unmarshal

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

type MsgServer

type MsgServer interface {
	// CreateFunder ...
	CreateFunder(context.Context, *MsgCreateFunder) (*MsgCreateFunderResponse, error)
	// UpdateFunder ...
	UpdateFunder(context.Context, *MsgUpdateFunder) (*MsgUpdateFunderResponse, error)
	// FundPool ...
	FundPool(context.Context, *MsgFundPool) (*MsgFundPoolResponse, error)
	// DefundPool ...
	DefundPool(context.Context, *MsgDefundPool) (*MsgDefundPoolResponse, error)
	// UpdateParams defines a governance operation for updating the x/delegation module
	// parameters. The authority is hard-coded to the x/gov module account.
	UpdateParams(context.Context, *MsgUpdateParams) (*MsgUpdateParamsResponse, error)
}

MsgServer is the server API for Msg service.

type MsgUpdateFunder

type MsgUpdateFunder struct {
	// creator ...
	Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"`
	// moniker
	Moniker string `protobuf:"bytes,2,opt,name=moniker,proto3" json:"moniker,omitempty"`
	// identity is the 64 bit keybase.io identity string
	Identity string `protobuf:"bytes,3,opt,name=identity,proto3" json:"identity,omitempty"`
	// website
	Website string `protobuf:"bytes,4,opt,name=website,proto3" json:"website,omitempty"`
	// contact
	Contact string `protobuf:"bytes,5,opt,name=contact,proto3" json:"contact,omitempty"`
	// description are some additional notes the funder finds important
	Description string `protobuf:"bytes,6,opt,name=description,proto3" json:"description,omitempty"`
}

MsgUpdateFunder defines a SDK message for updating a funder.

func (*MsgUpdateFunder) Descriptor

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

func (*MsgUpdateFunder) GetContact

func (m *MsgUpdateFunder) GetContact() string

func (*MsgUpdateFunder) GetCreator

func (m *MsgUpdateFunder) GetCreator() string

func (*MsgUpdateFunder) GetDescription

func (m *MsgUpdateFunder) GetDescription() string

func (*MsgUpdateFunder) GetIdentity

func (m *MsgUpdateFunder) GetIdentity() string

func (*MsgUpdateFunder) GetMoniker

func (m *MsgUpdateFunder) GetMoniker() string

func (*MsgUpdateFunder) GetSignBytes

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

func (*MsgUpdateFunder) GetSigners

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

func (*MsgUpdateFunder) GetWebsite

func (m *MsgUpdateFunder) GetWebsite() string

func (*MsgUpdateFunder) Marshal

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

func (*MsgUpdateFunder) MarshalTo

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

func (*MsgUpdateFunder) MarshalToSizedBuffer

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

func (*MsgUpdateFunder) ProtoMessage

func (*MsgUpdateFunder) ProtoMessage()

func (*MsgUpdateFunder) Reset

func (m *MsgUpdateFunder) Reset()

func (*MsgUpdateFunder) Route

func (msg *MsgUpdateFunder) Route() string

func (*MsgUpdateFunder) Size

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

func (*MsgUpdateFunder) String

func (m *MsgUpdateFunder) String() string

func (*MsgUpdateFunder) Type

func (msg *MsgUpdateFunder) Type() string

func (*MsgUpdateFunder) Unmarshal

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

func (*MsgUpdateFunder) ValidateBasic

func (msg *MsgUpdateFunder) ValidateBasic() error

func (*MsgUpdateFunder) XXX_DiscardUnknown

func (m *MsgUpdateFunder) XXX_DiscardUnknown()

func (*MsgUpdateFunder) XXX_Marshal

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

func (*MsgUpdateFunder) XXX_Merge

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

func (*MsgUpdateFunder) XXX_Size

func (m *MsgUpdateFunder) XXX_Size() int

func (*MsgUpdateFunder) XXX_Unmarshal

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

type MsgUpdateFunderResponse

type MsgUpdateFunderResponse struct {
}

MsgUpdateFunderResponse defines the Msg/UpdateFunder response type.

func (*MsgUpdateFunderResponse) Descriptor

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

func (*MsgUpdateFunderResponse) Marshal

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

func (*MsgUpdateFunderResponse) MarshalTo

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

func (*MsgUpdateFunderResponse) MarshalToSizedBuffer

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

func (*MsgUpdateFunderResponse) ProtoMessage

func (*MsgUpdateFunderResponse) ProtoMessage()

func (*MsgUpdateFunderResponse) Reset

func (m *MsgUpdateFunderResponse) Reset()

func (*MsgUpdateFunderResponse) Size

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

func (*MsgUpdateFunderResponse) String

func (m *MsgUpdateFunderResponse) String() string

func (*MsgUpdateFunderResponse) Unmarshal

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

func (*MsgUpdateFunderResponse) XXX_DiscardUnknown

func (m *MsgUpdateFunderResponse) XXX_DiscardUnknown()

func (*MsgUpdateFunderResponse) XXX_Marshal

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

func (*MsgUpdateFunderResponse) XXX_Merge

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

func (*MsgUpdateFunderResponse) XXX_Size

func (m *MsgUpdateFunderResponse) XXX_Size() int

func (*MsgUpdateFunderResponse) XXX_Unmarshal

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

type MsgUpdateParams

type MsgUpdateParams struct {
	// authority is the address of the governance account.
	Authority string `protobuf:"bytes,1,opt,name=authority,proto3" json:"authority,omitempty"`
	// payload defines the x/delegation parameters to update.
	Payload string `protobuf:"bytes,2,opt,name=payload,proto3" json:"payload,omitempty"`
}

MsgUpdateParams defines a SDK message for updating the module parameters.

func (*MsgUpdateParams) Descriptor

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

func (*MsgUpdateParams) GetAuthority

func (m *MsgUpdateParams) GetAuthority() string

func (*MsgUpdateParams) GetPayload

func (m *MsgUpdateParams) GetPayload() string

func (*MsgUpdateParams) GetSigners

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

GetSigners returns the expected signers for a MsgUpdateParams message.

func (*MsgUpdateParams) Marshal

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

func (*MsgUpdateParams) MarshalTo

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

func (*MsgUpdateParams) MarshalToSizedBuffer

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

func (*MsgUpdateParams) ProtoMessage

func (*MsgUpdateParams) ProtoMessage()

func (*MsgUpdateParams) Reset

func (m *MsgUpdateParams) Reset()

func (*MsgUpdateParams) Size

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

func (*MsgUpdateParams) String

func (m *MsgUpdateParams) String() string

func (*MsgUpdateParams) Unmarshal

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

func (*MsgUpdateParams) ValidateBasic

func (msg *MsgUpdateParams) ValidateBasic() error

ValidateBasic does a sanity check on the provided data.

func (*MsgUpdateParams) XXX_DiscardUnknown

func (m *MsgUpdateParams) XXX_DiscardUnknown()

func (*MsgUpdateParams) XXX_Marshal

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

func (*MsgUpdateParams) XXX_Merge

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

func (*MsgUpdateParams) XXX_Size

func (m *MsgUpdateParams) XXX_Size() int

func (*MsgUpdateParams) XXX_Unmarshal

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

type MsgUpdateParamsResponse

type MsgUpdateParamsResponse struct {
}

MsgUpdateParamsResponse defines the Msg/UpdateParams response type.

func (*MsgUpdateParamsResponse) Descriptor

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

func (*MsgUpdateParamsResponse) Marshal

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

func (*MsgUpdateParamsResponse) MarshalTo

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

func (*MsgUpdateParamsResponse) MarshalToSizedBuffer

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

func (*MsgUpdateParamsResponse) ProtoMessage

func (*MsgUpdateParamsResponse) ProtoMessage()

func (*MsgUpdateParamsResponse) Reset

func (m *MsgUpdateParamsResponse) Reset()

func (*MsgUpdateParamsResponse) Size

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

func (*MsgUpdateParamsResponse) String

func (m *MsgUpdateParamsResponse) String() string

func (*MsgUpdateParamsResponse) Unmarshal

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

func (*MsgUpdateParamsResponse) XXX_DiscardUnknown

func (m *MsgUpdateParamsResponse) XXX_DiscardUnknown()

func (*MsgUpdateParamsResponse) XXX_Marshal

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

func (*MsgUpdateParamsResponse) XXX_Merge

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

func (*MsgUpdateParamsResponse) XXX_Size

func (m *MsgUpdateParamsResponse) XXX_Size() int

func (*MsgUpdateParamsResponse) XXX_Unmarshal

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

type Params

type Params struct {
	// coin_whitelist is a list of coins that are allowed to fund a pool
	CoinWhitelist []*WhitelistCoinEntry `protobuf:"bytes,1,rep,name=coin_whitelist,json=coinWhitelist,proto3" json:"coin_whitelist,omitempty"`
	// Minimum ratio between the funded amount and the amount_per_bundle.
	// In other words this param ensures, that a funder provides at least
	// funding for `min_funding_multiple` bundles.
	MinFundingMultiple uint64 `protobuf:"varint,2,opt,name=min_funding_multiple,json=minFundingMultiple,proto3" json:"min_funding_multiple,omitempty"`
}

Params defines the funders module parameters.

func DefaultParams

func DefaultParams() Params

DefaultParams returns a default set of parameters

func NewParams

func NewParams(coinWhitelist []*WhitelistCoinEntry, minFundingMultiple uint64) Params

NewParams creates a new Params instance

func (*Params) Descriptor

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

func (*Params) GetCoinWhitelist added in v1.5.0

func (m *Params) GetCoinWhitelist() []*WhitelistCoinEntry

func (*Params) GetMinFundingMultiple

func (m *Params) GetMinFundingMultiple() uint64

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 PoolKeeper

type PoolKeeper interface {
	AssertPoolExists(ctx sdk.Context, poolId uint64) error
}

type QueryClient

type QueryClient interface {
	// Parameters queries the parameters of the module.
	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 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)
}

QueryServer is the server API for Query service.

type UnimplementedMsgServer

type UnimplementedMsgServer struct {
}

UnimplementedMsgServer can be embedded to have forward compatible implementations.

func (*UnimplementedMsgServer) CreateFunder

func (*UnimplementedMsgServer) DefundPool

func (*UnimplementedMsgServer) FundPool

func (*UnimplementedMsgServer) UpdateFunder

func (*UnimplementedMsgServer) UpdateParams

type UnimplementedQueryServer

type UnimplementedQueryServer struct {
}

UnimplementedQueryServer can be embedded to have forward compatible implementations.

func (*UnimplementedQueryServer) Params

type WhitelistCoinEntry added in v1.5.0

type WhitelistCoinEntry struct {
	// coin_denom is the denom of a coin which is allowed to be funded, this value
	// needs to be unique
	CoinDenom string `protobuf:"bytes,1,opt,name=coin_denom,json=coinDenom,proto3" json:"coin_denom,omitempty"`
	// coin_decimals are the decimals of the coin
	CoinDecimals uint32 `protobuf:"varint,2,opt,name=coin_decimals,json=coinDecimals,proto3" json:"coin_decimals,omitempty"`
	// min_funding_amount is the minimum required amount of this denom that needs
	// to be funded. It is of type math.Int since a uint64 is not sufficient for a
	// coin with 18 decimals
	MinFundingAmount cosmossdk_io_math.Int `` /* 134-byte string literal not displayed */
	// min_funding_amount_per_bundle is the minimum required amount of this denom
	// that needs to be funded per bundle. It is of type math.Int since a uint64
	// is not sufficient for a coin with 18 decimals
	MinFundingAmountPerBundle cosmossdk_io_math.Int `` /* 165-byte string literal not displayed */
	// coin_weight is a factor used to sort funders after their funding amounts.
	// This should be the market price of the coin in USD/coin. This value should be kept up-to-date.
	CoinWeight cosmossdk_io_math.LegacyDec `protobuf:"bytes,5,opt,name=coin_weight,json=coinWeight,proto3,customtype=cosmossdk.io/math.LegacyDec" json:"coin_weight"`
}

WhitelistCoinEntry is an object containing information around a coin which is allowed to be funded in pools

func (*WhitelistCoinEntry) Descriptor added in v1.5.0

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

func (*WhitelistCoinEntry) GetCoinDecimals added in v1.5.0

func (m *WhitelistCoinEntry) GetCoinDecimals() uint32

func (*WhitelistCoinEntry) GetCoinDenom added in v1.5.0

func (m *WhitelistCoinEntry) GetCoinDenom() string

func (*WhitelistCoinEntry) Marshal added in v1.5.0

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

func (*WhitelistCoinEntry) MarshalTo added in v1.5.0

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

func (*WhitelistCoinEntry) MarshalToSizedBuffer added in v1.5.0

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

func (*WhitelistCoinEntry) ProtoMessage added in v1.5.0

func (*WhitelistCoinEntry) ProtoMessage()

func (*WhitelistCoinEntry) Reset added in v1.5.0

func (m *WhitelistCoinEntry) Reset()

func (*WhitelistCoinEntry) Size added in v1.5.0

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

func (*WhitelistCoinEntry) String added in v1.5.0

func (m *WhitelistCoinEntry) String() string

func (*WhitelistCoinEntry) Unmarshal added in v1.5.0

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

func (*WhitelistCoinEntry) XXX_DiscardUnknown added in v1.5.0

func (m *WhitelistCoinEntry) XXX_DiscardUnknown()

func (*WhitelistCoinEntry) XXX_Marshal added in v1.5.0

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

func (*WhitelistCoinEntry) XXX_Merge added in v1.5.0

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

func (*WhitelistCoinEntry) XXX_Size added in v1.5.0

func (m *WhitelistCoinEntry) XXX_Size() int

func (*WhitelistCoinEntry) XXX_Unmarshal added in v1.5.0

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

Jump to

Keyboard shortcuts

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