types

package
v0.0.5 Latest Latest
Warning

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

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

Documentation

Overview

Package types is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Index

Constants

View Source
const (
	Maxfreq         = 31536000
	Minfreq         = 60
	MaxLiquidattion = 12
	Senior          = "senior"
	Junior          = "junior"
)
View Source
const (
	EventTypeCreatePool          = "pool_created"
	EventTypeDeposit             = "deposit_created"
	EventTypeAddInvestors        = "add_investors"
	EventTypeBorrow              = "borrow"
	EventTypeRepayInterest       = "repay_interest"
	EventTypeClaimInterest       = "claim_interest"
	EventTypePayPrincipal        = "pay_principal"
	EventTypePayPrincipalPartial = "pay_principal_partial"
	EventTypeWithdrawPrincipal   = "withdraw_principal"
	EventTypePoolDelete          = "pool deleted"
)
View Source
const (
	AttributeCreator = "creator"
	AttributeAmount  = "token"
	Attrrbute
)
View Source
const (
	// ModuleName defines the module name
	ModuleName = "spv"

	ModuleAccount = "spv"
	// 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_spv"
)
View Source
const (
	ProjectsKeyPrefix        = "ProjectsKeyPrefix-"
	HistoryProjectsKeyPrefix = "HistoryProjectsKeyPrefix-"
	PoolInvestor             = "poolInvestorsPrefix-"
	PoolDepositor            = "depositorPrefix-"
	PoolDepositorHistory     = "depositorhistoryPrefix-"
	PoolDeposited            = "depositedPrefix-"
	Pool                     = "pool-"
	ExchangeHistory          = "exchangeHistory"
)
View Source
const DefaultIndex uint64 = 1

DefaultIndex is the default global index

View Source
const TypeMsgActivePool = "active_pool"
View Source
const TypeMsgAddInvestors = "add_investors"
View Source
const TypeMsgBorrow = "borrow"
View Source
const TypeMsgClaimInterest = "claim_interest"
View Source
const TypeMsgCreatePool = "create_pool"
View Source
const TypeMsgDeposit = "deposit"
View Source
const TypeMsgLiquidate = "liquidate"
View Source
const TypeMsgPayPrincipal = "pay_principal"
View Source
const TypeMsgPayPrincipalPartial = "pay_principal_partial"
View Source
const TypeMsgRepayInterest = "repay_interest"
View Source
const TypeMsgSubmitWitdrawProposal = "submit_withdraw_proposal"
View Source
const TypeMsgTransferOwnership = "transfer_ownership"
View Source
const TypeMsgUpdatePool = "update_pool"
View Source
const TypeMsgWithdrawPrincipal = "withdraw_principal"

Variables

View Source
var (
	Amino = codec.NewLegacyAmino()
	// ModuleCdc = codec.NewProtoCodec(cdctypes.NewInterfaceRegistry())
	ModuleCdc = codec.NewAminoCodec(Amino)
)
View Source
var (
	ErrInvalidLengthDeposit        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowDeposit          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupDeposit = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidParameter     = coserrors.Register(ModuleName, 1, "invalid parameter")
	ErrPoolNotFound         = coserrors.Register(ModuleName, 2, "pool not found")
	ErrUnauthorized         = coserrors.Register(ModuleName, 3, "unauthorized operation")
	ErrPoolNotActive        = coserrors.Register(ModuleName, 4, "pool is not active")
	ErrPoolExisted          = coserrors.Register(ModuleName, 5, "pool existed")
	ErrInconsistencyToken   = coserrors.Register(ModuleName, 6, "inconsistency tokens")
	ErrInsufficientFund     = coserrors.Register(ModuleName, 7, "insufficient tokens")
	ErrPoolFull             = coserrors.Register(ModuleName, 8, "pool is full")
	ErrMINTNFT              = coserrors.Register(ModuleName, 9, "fail to mint nft")
	ErrINCONSISTENCYDENOM   = coserrors.Register(ModuleName, 10, "denom inconsistency")
	ErrDepositorNotFound    = coserrors.Register(ModuleName, 11, "depositor not found")
	ErrUNEXPECTEDSTATUS     = coserrors.Register(ModuleName, 12, "unexpected pool status")
	ErrClassNotFound        = coserrors.Register(ModuleName, 13, "class cannot be found")
	ErrTransferNFT          = coserrors.Register(ModuleName, 14, "fail to transfer nft ownership")
	ErrBurnNFT              = coserrors.Register(ModuleName, 15, "fail to burn the nft")
	ErrNFTNotFound          = coserrors.Register(ModuleName, 16, "nft not found")
	ErrTime                 = coserrors.Register(ModuleName, 17, "invalid time stamp")
	ErrDeposit              = coserrors.Register(ModuleName, 18, "fail to deposit")
	ErrClaimInterest        = coserrors.Register(ModuleName, 19, "fail to claim interest")
	ErrPoolBorrowLimit      = coserrors.Register(ModuleName, 20, "pool reached borrow limit")
	ErrPoolBorrowExpire     = coserrors.Register(ModuleName, 21, "pool borrow time window expired")
	ErrPoolWithdrawLocked   = coserrors.Register(ModuleName, 22, "pool withdraw locked")
	ErrPoolNotAcceptNewFund = coserrors.Register(ModuleName, 23, "pool does not accept new fund")
	ErrPoolNotInLiquidation = coserrors.Register(ModuleName, 24, "pool is not in liquidation")
	ErrLiquidation          = coserrors.Register(ModuleName, 25, "failed in luquidation")
)

x/spv module sentinel errors

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 (
	ErrInvalidLengthNft        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowNft          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupNft = 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 (
	ErrInvalidLengthPoolinfo        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowPoolinfo          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupPoolinfo = 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 DepositorInfo_DEPOSITTYPE_name = map[int32]string{
	0: "withdraw_proposal",
	1: "transfer_request",
	2: "deposit_close",
	3: "unset",
	4: "processed",
	5: "deactive",
}
View Source
var DepositorInfo_DEPOSITTYPE_value = map[string]int32{
	"withdraw_proposal": 0,
	"transfer_request":  1,
	"deposit_close":     2,
	"unset":             3,
	"processed":         4,
	"deactive":          5,
}
View Source
var PoolInfo_POOLSTATUS_name = map[int32]string{
	0: "ACTIVE",
	1: "INACTIVE",
	2: "FROZEN",
	3: "PREPARE",
	4: "FREEZING",
	5: "Liquidation",
	6: "PooLPayPartially",
}
View Source
var PoolInfo_POOLSTATUS_value = map[string]int32{
	"ACTIVE":           0,
	"INACTIVE":         1,
	"FROZEN":           2,
	"PREPARE":          3,
	"FREEZING":         4,
	"Liquidation":      5,
	"PooLPayPartially": 6,
}
View Source
var PoolInfo_POOLTYPE_name = map[int32]string{
	0: "JUNIOR",
	1: "SENIOR",
}
View Source
var PoolInfo_POOLTYPE_value = map[string]int32{
	"JUNIOR": 0,
	"SENIOR": 1,
}
View Source
var RESERVEFACTOR = sdk.NewDecWithPrec(15, 2)

Functions

func KeyPrefix

func KeyPrefix(p string) []byte

func ParamKeyTable

func ParamKeyTable() paramtypes.KeyTable

ParamKeyTable the param key table for launch module

func RegisterCodec

func RegisterCodec(cdc *codec.LegacyAmino)

func RegisterInterfaces

func RegisterInterfaces(registry cdctypes.InterfaceRegistry)

func RegisterMsgServer

func RegisterMsgServer(s grpc1.Server, srv MsgServer)

func 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 sdk.Context, addr sdk.AccAddress) types.AccountI
	GetModuleAccount(ctx sdk.Context, name string) types.ModuleAccountI
	GetModuleAddress(name string) sdk.AccAddress
}

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

type BankKeeper

type BankKeeper interface {
	SendCoinsFromModuleToModule(ctx sdk.Context, senderModule, recipientModule string, amt sdk.Coins) error
	SendCoinsFromAccountToModule(ctx sdk.Context, senderAddr sdk.AccAddress, recipientModule string, amt sdk.Coins) error
	SendCoinsFromModuleToAccount(ctx sdk.Context, senderModule string, recipientAddr sdk.AccAddress, amt sdk.Coins) error

	GetSupply(ctx sdk.Context, denom string) sdk.Coin
	GetBalance(ctx sdk.Context, addr sdk.AccAddress, denom string) sdk.Coin
	GetAllBalances(ctx sdk.Context, addr sdk.AccAddress) sdk.Coins
	SpendableCoins(ctx sdk.Context, addr sdk.AccAddress) sdk.Coins
	BurnCoins(ctx sdk.Context, name string, amt sdk.Coins) error
}

BankKeeper defines the expected bank keeper

type BorrowDetail

type BorrowDetail struct {
	BorrowedAmount types.Coin                             `` /* 147-byte string literal not displayed */
	TimeStamp      time.Time                              `protobuf:"bytes,2,opt,name=time_stamp,json=timeStamp,proto3,stdtime" json:"time_stamp"`
	ExchangeRatio  github_com_cosmos_cosmos_sdk_types.Dec `` /* 140-byte string literal not displayed */
}

func (*BorrowDetail) Descriptor

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

func (*BorrowDetail) GetBorrowedAmount

func (m *BorrowDetail) GetBorrowedAmount() types.Coin

func (*BorrowDetail) GetTimeStamp

func (m *BorrowDetail) GetTimeStamp() time.Time

func (*BorrowDetail) Marshal

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

func (*BorrowDetail) MarshalTo

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

func (*BorrowDetail) MarshalToSizedBuffer

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

func (*BorrowDetail) ProtoMessage

func (*BorrowDetail) ProtoMessage()

func (*BorrowDetail) Reset

func (m *BorrowDetail) Reset()

func (*BorrowDetail) Size

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

func (*BorrowDetail) String

func (m *BorrowDetail) String() string

func (*BorrowDetail) Unmarshal

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

func (*BorrowDetail) XXX_DiscardUnknown

func (m *BorrowDetail) XXX_DiscardUnknown()

func (*BorrowDetail) XXX_Marshal

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

func (*BorrowDetail) XXX_Merge

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

func (*BorrowDetail) XXX_Size

func (m *BorrowDetail) XXX_Size() int

func (*BorrowDetail) XXX_Unmarshal

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

type BorrowInterest

type BorrowInterest struct {
	PoolIndex                  string                                 `protobuf:"bytes,1,opt,name=pool_index,json=poolIndex,proto3" json:"pool_index,omitempty"`
	Apy                        github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,2,opt,name=apy,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"apy"`
	PayFreq                    int32                                  `protobuf:"varint,3,opt,name=pay_freq,json=payFreq,proto3" json:"pay_freq,omitempty"`
	IssueTime                  time.Time                              `protobuf:"bytes,4,opt,name=issue_time,json=issueTime,proto3,stdtime" json:"issue_time"`
	BorrowDetails              []BorrowDetail                         `protobuf:"bytes,5,rep,name=borrow_details,json=borrowDetails,proto3" json:"borrow_details"`
	MonthlyRatio               github_com_cosmos_cosmos_sdk_types.Dec `` /* 137-byte string literal not displayed */
	InterestSPY                github_com_cosmos_cosmos_sdk_types.Dec `` /* 134-byte string literal not displayed */
	Payments                   []*PaymentItem                         `protobuf:"bytes,8,rep,name=payments,proto3" json:"payments,omitempty"`
	InterestPaid               types.Coin                             `protobuf:"bytes,9,opt,name=interestPaid,proto3,castrepeated=github.com/cosmos/cosmos-sdk/types.Coins" json:"interestPaid"`
	AccInterest                types.Coin                             `` /* 139-byte string literal not displayed */
	LiquidationItems           []*LiquidationItem                     `protobuf:"bytes,11,rep,name=liquidation_items,json=liquidationItems,proto3" json:"liquidation_items,omitempty"`
	TotalPaidLiquidationAmount github_com_cosmos_cosmos_sdk_types.Int `` /* 184-byte string literal not displayed */
}

func (*BorrowInterest) Descriptor

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

func (*BorrowInterest) GetAccInterest

func (m *BorrowInterest) GetAccInterest() types.Coin

func (*BorrowInterest) GetBorrowDetails

func (m *BorrowInterest) GetBorrowDetails() []BorrowDetail

func (*BorrowInterest) GetInterestPaid

func (m *BorrowInterest) GetInterestPaid() types.Coin

func (*BorrowInterest) GetIssueTime

func (m *BorrowInterest) GetIssueTime() time.Time

func (*BorrowInterest) GetLiquidationItems

func (m *BorrowInterest) GetLiquidationItems() []*LiquidationItem

func (*BorrowInterest) GetPayFreq

func (m *BorrowInterest) GetPayFreq() int32

func (*BorrowInterest) GetPayments

func (m *BorrowInterest) GetPayments() []*PaymentItem

func (*BorrowInterest) GetPoolIndex

func (m *BorrowInterest) GetPoolIndex() string

func (*BorrowInterest) Marshal

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

func (*BorrowInterest) MarshalTo

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

func (*BorrowInterest) MarshalToSizedBuffer

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

func (*BorrowInterest) ProtoMessage

func (*BorrowInterest) ProtoMessage()

func (*BorrowInterest) Reset

func (m *BorrowInterest) Reset()

func (*BorrowInterest) Size

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

func (*BorrowInterest) String

func (m *BorrowInterest) String() string

func (*BorrowInterest) Unmarshal

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

func (*BorrowInterest) XXX_DiscardUnknown

func (m *BorrowInterest) XXX_DiscardUnknown()

func (*BorrowInterest) XXX_Marshal

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

func (*BorrowInterest) XXX_Merge

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

func (*BorrowInterest) XXX_Size

func (m *BorrowInterest) XXX_Size() int

func (*BorrowInterest) XXX_Unmarshal

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

type DepositorInfo

type DepositorInfo struct {
	InvestorId                 string                                        `protobuf:"bytes,1,opt,name=investor_id,json=investorId,proto3" json:"investor_id,omitempty"`
	DepositorAddress           github_com_cosmos_cosmos_sdk_types.AccAddress `` /* 164-byte string literal not displayed */
	PoolIndex                  string                                        `protobuf:"bytes,3,opt,name=pool_index,json=poolIndex,proto3" json:"pool_index,omitempty"`
	LockedAmount               types.Coin                                    `` /* 141-byte string literal not displayed */
	WithdrawalAmount           types.Coin                                    `` /* 153-byte string literal not displayed */
	IncentiveAmount            types.Coin                                    `` /* 150-byte string literal not displayed */
	LinkedNFT                  []string                                      `protobuf:"bytes,7,rep,name=linkedNFT,proto3" json:"linkedNFT,omitempty"`
	DepositType                DepositorInfo_DEPOSITTYPE                     `` /* 138-byte string literal not displayed */
	PendingInterest            types.Coin                                    `` /* 150-byte string literal not displayed */
	TotalPaidLiquidationAmount github_com_cosmos_cosmos_sdk_types.Int        `` /* 184-byte string literal not displayed */
}

func (*DepositorInfo) Descriptor

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

func (*DepositorInfo) GetDepositType

func (m *DepositorInfo) GetDepositType() DepositorInfo_DEPOSITTYPE

func (*DepositorInfo) GetDepositorAddress

func (*DepositorInfo) GetIncentiveAmount

func (m *DepositorInfo) GetIncentiveAmount() types.Coin

func (*DepositorInfo) GetInvestorId

func (m *DepositorInfo) GetInvestorId() string

func (*DepositorInfo) GetLinkedNFT

func (m *DepositorInfo) GetLinkedNFT() []string

func (*DepositorInfo) GetLockedAmount

func (m *DepositorInfo) GetLockedAmount() types.Coin

func (*DepositorInfo) GetPendingInterest

func (m *DepositorInfo) GetPendingInterest() types.Coin

func (*DepositorInfo) GetPoolIndex

func (m *DepositorInfo) GetPoolIndex() string

func (*DepositorInfo) GetWithdrawalAmount

func (m *DepositorInfo) GetWithdrawalAmount() types.Coin

func (*DepositorInfo) Marshal

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

func (*DepositorInfo) MarshalTo

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

func (*DepositorInfo) MarshalToSizedBuffer

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

func (*DepositorInfo) ProtoMessage

func (*DepositorInfo) ProtoMessage()

func (*DepositorInfo) Reset

func (m *DepositorInfo) Reset()

func (*DepositorInfo) Size

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

func (*DepositorInfo) String

func (m *DepositorInfo) String() string

func (*DepositorInfo) Unmarshal

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

func (*DepositorInfo) XXX_DiscardUnknown

func (m *DepositorInfo) XXX_DiscardUnknown()

func (*DepositorInfo) XXX_Marshal

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

func (*DepositorInfo) XXX_Merge

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

func (*DepositorInfo) XXX_Size

func (m *DepositorInfo) XXX_Size() int

func (*DepositorInfo) XXX_Unmarshal

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

type DepositorInfo_DEPOSITTYPE

type DepositorInfo_DEPOSITTYPE int32
const (
	DepositorInfo_withdraw_proposal DepositorInfo_DEPOSITTYPE = 0
	DepositorInfo_transfer_request  DepositorInfo_DEPOSITTYPE = 1
	DepositorInfo_deposit_close     DepositorInfo_DEPOSITTYPE = 2
	DepositorInfo_unset             DepositorInfo_DEPOSITTYPE = 3
	DepositorInfo_processed         DepositorInfo_DEPOSITTYPE = 4
	DepositorInfo_deactive          DepositorInfo_DEPOSITTYPE = 5
)

func (DepositorInfo_DEPOSITTYPE) EnumDescriptor

func (DepositorInfo_DEPOSITTYPE) EnumDescriptor() ([]byte, []int)

func (DepositorInfo_DEPOSITTYPE) String

func (x DepositorInfo_DEPOSITTYPE) String() string

type GenesisState

type GenesisState struct {
	Params Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params"`
}

GenesisState defines the spv 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) 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 InterestPrepayment

type InterestPrepayment struct {
	Counter       int32                                  `protobuf:"varint,1,opt,name=counter,proto3" json:"counter,omitempty"`
	ExchangeRatio github_com_cosmos_cosmos_sdk_types.Dec `` /* 140-byte string literal not displayed */
}

func (*InterestPrepayment) Descriptor

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

func (*InterestPrepayment) GetCounter

func (m *InterestPrepayment) GetCounter() int32

func (*InterestPrepayment) Marshal

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

func (*InterestPrepayment) MarshalTo

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

func (*InterestPrepayment) MarshalToSizedBuffer

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

func (*InterestPrepayment) ProtoMessage

func (*InterestPrepayment) ProtoMessage()

func (*InterestPrepayment) Reset

func (m *InterestPrepayment) Reset()

func (*InterestPrepayment) Size

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

func (*InterestPrepayment) String

func (m *InterestPrepayment) String() string

func (*InterestPrepayment) Unmarshal

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

func (*InterestPrepayment) XXX_DiscardUnknown

func (m *InterestPrepayment) XXX_DiscardUnknown()

func (*InterestPrepayment) XXX_Marshal

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

func (*InterestPrepayment) XXX_Merge

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

func (*InterestPrepayment) XXX_Size

func (m *InterestPrepayment) XXX_Size() int

func (*InterestPrepayment) XXX_Unmarshal

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

type KycKeeper

type KycKeeper interface {
	GetProjects(ctx sdk.Context) (projectsInfo []*kyctypes.ProjectInfo)
	QueryByWallet(goCtx context.Context, req *kyctypes.QueryByWalletRequest) (*kyctypes.QueryByWalletResponse, error)
}

type LiquidationItem

type LiquidationItem struct {
	Amount                 types.Coin `protobuf:"bytes,1,opt,name=amount,proto3,castrepeated=github.com/cosmos/cosmos-sdk/types.Coin" json:"amount"`
	LiquidationPaymentTime time.Time  `` /* 127-byte string literal not displayed */
}

func (*LiquidationItem) Descriptor

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

func (*LiquidationItem) GetAmount

func (m *LiquidationItem) GetAmount() types.Coin

func (*LiquidationItem) GetLiquidationPaymentTime

func (m *LiquidationItem) GetLiquidationPaymentTime() time.Time

func (*LiquidationItem) Marshal

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

func (*LiquidationItem) MarshalTo

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

func (*LiquidationItem) MarshalToSizedBuffer

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

func (*LiquidationItem) ProtoMessage

func (*LiquidationItem) ProtoMessage()

func (*LiquidationItem) Reset

func (m *LiquidationItem) Reset()

func (*LiquidationItem) Size

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

func (*LiquidationItem) String

func (m *LiquidationItem) String() string

func (*LiquidationItem) Unmarshal

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

func (*LiquidationItem) XXX_DiscardUnknown

func (m *LiquidationItem) XXX_DiscardUnknown()

func (*LiquidationItem) XXX_Marshal

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

func (*LiquidationItem) XXX_Merge

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

func (*LiquidationItem) XXX_Size

func (m *LiquidationItem) XXX_Size() int

func (*LiquidationItem) XXX_Unmarshal

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

type MsgActivePool

type MsgActivePool struct {
	Creator   string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"`
	PoolIndex string `protobuf:"bytes,2,opt,name=pool_index,json=poolIndex,proto3" json:"pool_index,omitempty"`
}

func NewMsgActivePool

func NewMsgActivePool(creator string, poolIndex string) *MsgActivePool

func (*MsgActivePool) Descriptor

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

func (*MsgActivePool) GetCreator

func (m *MsgActivePool) GetCreator() string

func (*MsgActivePool) GetPoolIndex

func (m *MsgActivePool) GetPoolIndex() string

func (*MsgActivePool) GetSignBytes

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

func (*MsgActivePool) GetSigners

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

func (*MsgActivePool) Marshal

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

func (*MsgActivePool) MarshalTo

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

func (*MsgActivePool) MarshalToSizedBuffer

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

func (*MsgActivePool) ProtoMessage

func (*MsgActivePool) ProtoMessage()

func (*MsgActivePool) Reset

func (m *MsgActivePool) Reset()

func (*MsgActivePool) Route

func (msg *MsgActivePool) Route() string

func (*MsgActivePool) Size

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

func (*MsgActivePool) String

func (m *MsgActivePool) String() string

func (*MsgActivePool) Type

func (msg *MsgActivePool) Type() string

func (*MsgActivePool) Unmarshal

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

func (*MsgActivePool) ValidateBasic

func (msg *MsgActivePool) ValidateBasic() error

func (*MsgActivePool) XXX_DiscardUnknown

func (m *MsgActivePool) XXX_DiscardUnknown()

func (*MsgActivePool) XXX_Marshal

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

func (*MsgActivePool) XXX_Merge

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

func (*MsgActivePool) XXX_Size

func (m *MsgActivePool) XXX_Size() int

func (*MsgActivePool) XXX_Unmarshal

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

type MsgActivePoolResponse

type MsgActivePoolResponse struct {
}

func (*MsgActivePoolResponse) Descriptor

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

func (*MsgActivePoolResponse) Marshal

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

func (*MsgActivePoolResponse) MarshalTo

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

func (*MsgActivePoolResponse) MarshalToSizedBuffer

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

func (*MsgActivePoolResponse) ProtoMessage

func (*MsgActivePoolResponse) ProtoMessage()

func (*MsgActivePoolResponse) Reset

func (m *MsgActivePoolResponse) Reset()

func (*MsgActivePoolResponse) Size

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

func (*MsgActivePoolResponse) String

func (m *MsgActivePoolResponse) String() string

func (*MsgActivePoolResponse) Unmarshal

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

func (*MsgActivePoolResponse) XXX_DiscardUnknown

func (m *MsgActivePoolResponse) XXX_DiscardUnknown()

func (*MsgActivePoolResponse) XXX_Marshal

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

func (*MsgActivePoolResponse) XXX_Merge

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

func (*MsgActivePoolResponse) XXX_Size

func (m *MsgActivePoolResponse) XXX_Size() int

func (*MsgActivePoolResponse) XXX_Unmarshal

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

type MsgAddInvestors

type MsgAddInvestors struct {
	Creator    string   `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"`
	PoolIndex  string   `protobuf:"bytes,2,opt,name=pool_index,json=poolIndex,proto3" json:"pool_index,omitempty"`
	InvestorID []string `protobuf:"bytes,3,rep,name=investor_iD,json=investorID,proto3" json:"investor_iD,omitempty"`
}

func NewMsgAddInvestors

func NewMsgAddInvestors(creator, poolIndex string, investorID []string) *MsgAddInvestors

func (*MsgAddInvestors) Descriptor

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

func (*MsgAddInvestors) GetCreator

func (m *MsgAddInvestors) GetCreator() string

func (*MsgAddInvestors) GetInvestorID

func (m *MsgAddInvestors) GetInvestorID() []string

func (*MsgAddInvestors) GetPoolIndex

func (m *MsgAddInvestors) GetPoolIndex() string

func (*MsgAddInvestors) GetSignBytes

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

func (*MsgAddInvestors) GetSigners

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

func (*MsgAddInvestors) Marshal

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

func (*MsgAddInvestors) MarshalTo

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

func (*MsgAddInvestors) MarshalToSizedBuffer

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

func (*MsgAddInvestors) ProtoMessage

func (*MsgAddInvestors) ProtoMessage()

func (*MsgAddInvestors) Reset

func (m *MsgAddInvestors) Reset()

func (*MsgAddInvestors) Route

func (msg *MsgAddInvestors) Route() string

func (*MsgAddInvestors) Size

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

func (*MsgAddInvestors) String

func (m *MsgAddInvestors) String() string

func (*MsgAddInvestors) Type

func (msg *MsgAddInvestors) Type() string

func (*MsgAddInvestors) Unmarshal

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

func (*MsgAddInvestors) ValidateBasic

func (msg *MsgAddInvestors) ValidateBasic() error

func (*MsgAddInvestors) XXX_DiscardUnknown

func (m *MsgAddInvestors) XXX_DiscardUnknown()

func (*MsgAddInvestors) XXX_Marshal

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

func (*MsgAddInvestors) XXX_Merge

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

func (*MsgAddInvestors) XXX_Size

func (m *MsgAddInvestors) XXX_Size() int

func (*MsgAddInvestors) XXX_Unmarshal

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

type MsgAddInvestorsResponse

type MsgAddInvestorsResponse struct {
	OperationResult bool `protobuf:"varint,1,opt,name=operation_result,json=operationResult,proto3" json:"operation_result,omitempty"`
}

func (*MsgAddInvestorsResponse) Descriptor

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

func (*MsgAddInvestorsResponse) GetOperationResult

func (m *MsgAddInvestorsResponse) GetOperationResult() bool

func (*MsgAddInvestorsResponse) Marshal

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

func (*MsgAddInvestorsResponse) MarshalTo

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

func (*MsgAddInvestorsResponse) MarshalToSizedBuffer

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

func (*MsgAddInvestorsResponse) ProtoMessage

func (*MsgAddInvestorsResponse) ProtoMessage()

func (*MsgAddInvestorsResponse) Reset

func (m *MsgAddInvestorsResponse) Reset()

func (*MsgAddInvestorsResponse) Size

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

func (*MsgAddInvestorsResponse) String

func (m *MsgAddInvestorsResponse) String() string

func (*MsgAddInvestorsResponse) Unmarshal

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

func (*MsgAddInvestorsResponse) XXX_DiscardUnknown

func (m *MsgAddInvestorsResponse) XXX_DiscardUnknown()

func (*MsgAddInvestorsResponse) XXX_Marshal

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

func (*MsgAddInvestorsResponse) XXX_Merge

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

func (*MsgAddInvestorsResponse) XXX_Size

func (m *MsgAddInvestorsResponse) XXX_Size() int

func (*MsgAddInvestorsResponse) XXX_Unmarshal

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

type MsgBorrow

type MsgBorrow struct {
	Creator      string     `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"`
	PoolIndex    string     `protobuf:"bytes,2,opt,name=pool_index,json=poolIndex,proto3" json:"pool_index,omitempty"`
	BorrowAmount types.Coin `` /* 141-byte string literal not displayed */
}

func NewMsgBorrow

func NewMsgBorrow(creator, poolIndex string, borrowAmount sdk.Coin) *MsgBorrow

func (*MsgBorrow) Descriptor

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

func (*MsgBorrow) GetBorrowAmount

func (m *MsgBorrow) GetBorrowAmount() types.Coin

func (*MsgBorrow) GetCreator

func (m *MsgBorrow) GetCreator() string

func (*MsgBorrow) GetPoolIndex

func (m *MsgBorrow) GetPoolIndex() string

func (*MsgBorrow) GetSignBytes

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

func (*MsgBorrow) GetSigners

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

func (*MsgBorrow) Marshal

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

func (*MsgBorrow) MarshalTo

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

func (*MsgBorrow) MarshalToSizedBuffer

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

func (*MsgBorrow) ProtoMessage

func (*MsgBorrow) ProtoMessage()

func (*MsgBorrow) Reset

func (m *MsgBorrow) Reset()

func (*MsgBorrow) Route

func (msg *MsgBorrow) Route() string

func (*MsgBorrow) Size

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

func (*MsgBorrow) String

func (m *MsgBorrow) String() string

func (*MsgBorrow) Type

func (msg *MsgBorrow) Type() string

func (*MsgBorrow) Unmarshal

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

func (*MsgBorrow) ValidateBasic

func (msg *MsgBorrow) ValidateBasic() error

func (*MsgBorrow) XXX_DiscardUnknown

func (m *MsgBorrow) XXX_DiscardUnknown()

func (*MsgBorrow) XXX_Marshal

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

func (*MsgBorrow) XXX_Merge

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

func (*MsgBorrow) XXX_Size

func (m *MsgBorrow) XXX_Size() int

func (*MsgBorrow) XXX_Unmarshal

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

type MsgBorrowResponse

type MsgBorrowResponse struct {
	BorrowAmount string `protobuf:"bytes,1,opt,name=borrow_amount,json=borrowAmount,proto3" json:"borrow_amount,omitempty"`
}

func (*MsgBorrowResponse) Descriptor

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

func (*MsgBorrowResponse) GetBorrowAmount

func (m *MsgBorrowResponse) GetBorrowAmount() string

func (*MsgBorrowResponse) Marshal

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

func (*MsgBorrowResponse) MarshalTo

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

func (*MsgBorrowResponse) MarshalToSizedBuffer

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

func (*MsgBorrowResponse) ProtoMessage

func (*MsgBorrowResponse) ProtoMessage()

func (*MsgBorrowResponse) Reset

func (m *MsgBorrowResponse) Reset()

func (*MsgBorrowResponse) Size

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

func (*MsgBorrowResponse) String

func (m *MsgBorrowResponse) String() string

func (*MsgBorrowResponse) Unmarshal

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

func (*MsgBorrowResponse) XXX_DiscardUnknown

func (m *MsgBorrowResponse) XXX_DiscardUnknown()

func (*MsgBorrowResponse) XXX_Marshal

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

func (*MsgBorrowResponse) XXX_Merge

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

func (*MsgBorrowResponse) XXX_Size

func (m *MsgBorrowResponse) XXX_Size() int

func (*MsgBorrowResponse) XXX_Unmarshal

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

type MsgClaimInterest

type MsgClaimInterest struct {
	Creator   string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"`
	PoolIndex string `protobuf:"bytes,2,opt,name=pool_index,json=poolIndex,proto3" json:"pool_index,omitempty"`
}

func NewMsgClaimInterest

func NewMsgClaimInterest(creator string, poolIndex string) *MsgClaimInterest

func (*MsgClaimInterest) Descriptor

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

func (*MsgClaimInterest) GetCreator

func (m *MsgClaimInterest) GetCreator() string

func (*MsgClaimInterest) GetPoolIndex

func (m *MsgClaimInterest) GetPoolIndex() string

func (*MsgClaimInterest) GetSignBytes

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

func (*MsgClaimInterest) GetSigners

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

func (*MsgClaimInterest) Marshal

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

func (*MsgClaimInterest) MarshalTo

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

func (*MsgClaimInterest) MarshalToSizedBuffer

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

func (*MsgClaimInterest) ProtoMessage

func (*MsgClaimInterest) ProtoMessage()

func (*MsgClaimInterest) Reset

func (m *MsgClaimInterest) Reset()

func (*MsgClaimInterest) Route

func (msg *MsgClaimInterest) Route() string

func (*MsgClaimInterest) Size

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

func (*MsgClaimInterest) String

func (m *MsgClaimInterest) String() string

func (*MsgClaimInterest) Type

func (msg *MsgClaimInterest) Type() string

func (*MsgClaimInterest) Unmarshal

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

func (*MsgClaimInterest) ValidateBasic

func (msg *MsgClaimInterest) ValidateBasic() error

func (*MsgClaimInterest) XXX_DiscardUnknown

func (m *MsgClaimInterest) XXX_DiscardUnknown()

func (*MsgClaimInterest) XXX_Marshal

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

func (*MsgClaimInterest) XXX_Merge

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

func (*MsgClaimInterest) XXX_Size

func (m *MsgClaimInterest) XXX_Size() int

func (*MsgClaimInterest) XXX_Unmarshal

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

type MsgClaimInterestResponse

type MsgClaimInterestResponse struct {
	Amount string `protobuf:"bytes,1,opt,name=amount,proto3" json:"amount,omitempty"`
}

func (*MsgClaimInterestResponse) Descriptor

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

func (*MsgClaimInterestResponse) GetAmount

func (m *MsgClaimInterestResponse) GetAmount() string

func (*MsgClaimInterestResponse) Marshal

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

func (*MsgClaimInterestResponse) MarshalTo

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

func (*MsgClaimInterestResponse) MarshalToSizedBuffer

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

func (*MsgClaimInterestResponse) ProtoMessage

func (*MsgClaimInterestResponse) ProtoMessage()

func (*MsgClaimInterestResponse) Reset

func (m *MsgClaimInterestResponse) Reset()

func (*MsgClaimInterestResponse) Size

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

func (*MsgClaimInterestResponse) String

func (m *MsgClaimInterestResponse) String() string

func (*MsgClaimInterestResponse) Unmarshal

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

func (*MsgClaimInterestResponse) XXX_DiscardUnknown

func (m *MsgClaimInterestResponse) XXX_DiscardUnknown()

func (*MsgClaimInterestResponse) XXX_Marshal

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

func (*MsgClaimInterestResponse) XXX_Merge

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

func (*MsgClaimInterestResponse) XXX_Size

func (m *MsgClaimInterestResponse) XXX_Size() int

func (*MsgClaimInterestResponse) XXX_Unmarshal

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

type MsgClient

type MsgClient interface {
	CreatePool(ctx context.Context, in *MsgCreatePool, opts ...grpc.CallOption) (*MsgCreatePoolResponse, error)
	// this line is used by starport scaffolding # proto/tx/rpc
	AddInvestors(ctx context.Context, in *MsgAddInvestors, opts ...grpc.CallOption) (*MsgAddInvestorsResponse, error)
	Deposit(ctx context.Context, in *MsgDeposit, opts ...grpc.CallOption) (*MsgDepositResponse, error)
	Borrow(ctx context.Context, in *MsgBorrow, opts ...grpc.CallOption) (*MsgBorrowResponse, error)
	RepayInterest(ctx context.Context, in *MsgRepayInterest, opts ...grpc.CallOption) (*MsgRepayInterestResponse, error)
	ClaimInterest(ctx context.Context, in *MsgClaimInterest, opts ...grpc.CallOption) (*MsgClaimInterestResponse, error)
	UpdatePool(ctx context.Context, in *MsgUpdatePool, opts ...grpc.CallOption) (*MsgUpdatePoolResponse, error)
	ActivePool(ctx context.Context, in *MsgActivePool, opts ...grpc.CallOption) (*MsgActivePoolResponse, error)
	PayPrincipal(ctx context.Context, in *MsgPayPrincipal, opts ...grpc.CallOption) (*MsgPayPrincipalResponse, error)
	PayPrincipalForWithdrawalRequests(ctx context.Context, in *MsgPayPrincipalPartial, opts ...grpc.CallOption) (*MsgPayPrincipalPartialResponse, error)
	WithdrawPrincipal(ctx context.Context, in *MsgWithdrawPrincipal, opts ...grpc.CallOption) (*MsgWithdrawPrincipalResponse, error)
	SubmitWithdrawProposal(ctx context.Context, in *MsgSubmitWithdrawProposal, opts ...grpc.CallOption) (*MsgSubmitWithdrawProposalResponse, error)
	TransferOwnership(ctx context.Context, in *MsgTransferOwnership, opts ...grpc.CallOption) (*MsgTransferOwnershipResponse, error)
	Liquidate(ctx context.Context, in *MsgLiquidate, opts ...grpc.CallOption) (*MsgLiquidateResponse, 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 MsgCreatePool

type MsgCreatePool struct {
	Creator           string                                   `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"`
	ProjectIndex      int32                                    `protobuf:"varint,2,opt,name=project_index,json=projectIndex,proto3" json:"project_index,omitempty"`
	PoolName          string                                   `protobuf:"bytes,3,opt,name=pool_name,json=poolName,proto3" json:"pool_name,omitempty"`
	Apy               []string                                 `protobuf:"bytes,4,rep,name=apy,proto3" json:"apy,omitempty"`
	TargetTokenAmount github_com_cosmos_cosmos_sdk_types.Coins `` /* 158-byte string literal not displayed */
}

func NewMsgCreatePool

func NewMsgCreatePool(creator, poolName string, projectIndex int32, apy []string, target sdk.Coins) *MsgCreatePool

func (*MsgCreatePool) Descriptor

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

func (*MsgCreatePool) GetApy

func (m *MsgCreatePool) GetApy() []string

func (*MsgCreatePool) GetCreator

func (m *MsgCreatePool) GetCreator() string

func (*MsgCreatePool) GetPoolName

func (m *MsgCreatePool) GetPoolName() string

func (*MsgCreatePool) GetProjectIndex

func (m *MsgCreatePool) GetProjectIndex() int32

func (*MsgCreatePool) GetSignBytes

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

func (*MsgCreatePool) GetSigners

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

func (*MsgCreatePool) GetTargetTokenAmount

func (m *MsgCreatePool) GetTargetTokenAmount() github_com_cosmos_cosmos_sdk_types.Coins

func (*MsgCreatePool) Marshal

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

func (*MsgCreatePool) MarshalTo

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

func (*MsgCreatePool) MarshalToSizedBuffer

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

func (*MsgCreatePool) ProtoMessage

func (*MsgCreatePool) ProtoMessage()

func (*MsgCreatePool) Reset

func (m *MsgCreatePool) Reset()

func (*MsgCreatePool) Route

func (msg *MsgCreatePool) Route() string

func (*MsgCreatePool) Size

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

func (*MsgCreatePool) String

func (m *MsgCreatePool) String() string

func (*MsgCreatePool) Type

func (msg *MsgCreatePool) Type() string

func (*MsgCreatePool) Unmarshal

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

func (*MsgCreatePool) ValidateBasic

func (msg *MsgCreatePool) ValidateBasic() error

func (*MsgCreatePool) XXX_DiscardUnknown

func (m *MsgCreatePool) XXX_DiscardUnknown()

func (*MsgCreatePool) XXX_Marshal

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

func (*MsgCreatePool) XXX_Merge

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

func (*MsgCreatePool) XXX_Size

func (m *MsgCreatePool) XXX_Size() int

func (*MsgCreatePool) XXX_Unmarshal

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

type MsgCreatePoolResponse

type MsgCreatePoolResponse struct {
	PoolIndex []string `protobuf:"bytes,1,rep,name=pool_index,json=poolIndex,proto3" json:"pool_index,omitempty"`
}

func (*MsgCreatePoolResponse) Descriptor

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

func (*MsgCreatePoolResponse) GetPoolIndex

func (m *MsgCreatePoolResponse) GetPoolIndex() []string

func (*MsgCreatePoolResponse) Marshal

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

func (*MsgCreatePoolResponse) MarshalTo

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

func (*MsgCreatePoolResponse) MarshalToSizedBuffer

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

func (*MsgCreatePoolResponse) ProtoMessage

func (*MsgCreatePoolResponse) ProtoMessage()

func (*MsgCreatePoolResponse) Reset

func (m *MsgCreatePoolResponse) Reset()

func (*MsgCreatePoolResponse) Size

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

func (*MsgCreatePoolResponse) String

func (m *MsgCreatePoolResponse) String() string

func (*MsgCreatePoolResponse) Unmarshal

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

func (*MsgCreatePoolResponse) XXX_DiscardUnknown

func (m *MsgCreatePoolResponse) XXX_DiscardUnknown()

func (*MsgCreatePoolResponse) XXX_Marshal

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

func (*MsgCreatePoolResponse) XXX_Merge

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

func (*MsgCreatePoolResponse) XXX_Size

func (m *MsgCreatePoolResponse) XXX_Size() int

func (*MsgCreatePoolResponse) XXX_Unmarshal

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

type MsgDeposit

type MsgDeposit struct {
	Creator   string     `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"`
	PoolIndex string     `protobuf:"bytes,2,opt,name=pool_index,json=poolIndex,proto3" json:"pool_index,omitempty"`
	Token     types.Coin `protobuf:"bytes,3,opt,name=token,proto3,castrepeated=github.com/cosmos/cosmos-sdk/types.Coins" json:"token"`
}

func NewMsgDeposit

func NewMsgDeposit(creator string, poolIndex string, token sdk.Coin) *MsgDeposit

func (*MsgDeposit) Descriptor

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

func (*MsgDeposit) GetCreator

func (m *MsgDeposit) GetCreator() string

func (*MsgDeposit) GetPoolIndex

func (m *MsgDeposit) GetPoolIndex() string

func (*MsgDeposit) GetSignBytes

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

func (*MsgDeposit) GetSigners

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

func (*MsgDeposit) GetToken

func (m *MsgDeposit) GetToken() types.Coin

func (*MsgDeposit) Marshal

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

func (*MsgDeposit) MarshalTo

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

func (*MsgDeposit) MarshalToSizedBuffer

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

func (*MsgDeposit) ProtoMessage

func (*MsgDeposit) ProtoMessage()

func (*MsgDeposit) Reset

func (m *MsgDeposit) Reset()

func (*MsgDeposit) Route

func (msg *MsgDeposit) Route() string

func (*MsgDeposit) Size

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

func (*MsgDeposit) String

func (m *MsgDeposit) String() string

func (*MsgDeposit) Type

func (msg *MsgDeposit) Type() string

func (*MsgDeposit) Unmarshal

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

func (*MsgDeposit) ValidateBasic

func (msg *MsgDeposit) ValidateBasic() error

func (*MsgDeposit) XXX_DiscardUnknown

func (m *MsgDeposit) XXX_DiscardUnknown()

func (*MsgDeposit) XXX_Marshal

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

func (*MsgDeposit) XXX_Merge

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

func (*MsgDeposit) XXX_Size

func (m *MsgDeposit) XXX_Size() int

func (*MsgDeposit) XXX_Unmarshal

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

type MsgDepositResponse

type MsgDepositResponse struct {
}

func (*MsgDepositResponse) Descriptor

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

func (*MsgDepositResponse) Marshal

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

func (*MsgDepositResponse) MarshalTo

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

func (*MsgDepositResponse) MarshalToSizedBuffer

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

func (*MsgDepositResponse) ProtoMessage

func (*MsgDepositResponse) ProtoMessage()

func (*MsgDepositResponse) Reset

func (m *MsgDepositResponse) Reset()

func (*MsgDepositResponse) Size

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

func (*MsgDepositResponse) String

func (m *MsgDepositResponse) String() string

func (*MsgDepositResponse) Unmarshal

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

func (*MsgDepositResponse) XXX_DiscardUnknown

func (m *MsgDepositResponse) XXX_DiscardUnknown()

func (*MsgDepositResponse) XXX_Marshal

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

func (*MsgDepositResponse) XXX_Merge

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

func (*MsgDepositResponse) XXX_Size

func (m *MsgDepositResponse) XXX_Size() int

func (*MsgDepositResponse) XXX_Unmarshal

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

type MsgLiquidate

type MsgLiquidate struct {
	Creator   string     `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"`
	PoolIndex string     `protobuf:"bytes,2,opt,name=poolIndex,proto3" json:"poolIndex,omitempty"`
	Amount    types.Coin `protobuf:"bytes,3,opt,name=amount,proto3,castrepeated=github.com/cosmos/cosmos-sdk/types.Coin" json:"amount"`
}

this line is used by starport scaffolding # proto/tx/message

func NewMsgLiquidate

func NewMsgLiquidate(creator string, poolIndex string) *MsgLiquidate

func (*MsgLiquidate) Descriptor

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

func (*MsgLiquidate) GetAmount

func (m *MsgLiquidate) GetAmount() types.Coin

func (*MsgLiquidate) GetCreator

func (m *MsgLiquidate) GetCreator() string

func (*MsgLiquidate) GetPoolIndex

func (m *MsgLiquidate) GetPoolIndex() string

func (*MsgLiquidate) GetSignBytes

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

func (*MsgLiquidate) GetSigners

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

func (*MsgLiquidate) Marshal

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

func (*MsgLiquidate) MarshalTo

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

func (*MsgLiquidate) MarshalToSizedBuffer

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

func (*MsgLiquidate) ProtoMessage

func (*MsgLiquidate) ProtoMessage()

func (*MsgLiquidate) Reset

func (m *MsgLiquidate) Reset()

func (*MsgLiquidate) Route

func (msg *MsgLiquidate) Route() string

func (*MsgLiquidate) Size

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

func (*MsgLiquidate) String

func (m *MsgLiquidate) String() string

func (*MsgLiquidate) Type

func (msg *MsgLiquidate) Type() string

func (*MsgLiquidate) Unmarshal

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

func (*MsgLiquidate) ValidateBasic

func (msg *MsgLiquidate) ValidateBasic() error

func (*MsgLiquidate) XXX_DiscardUnknown

func (m *MsgLiquidate) XXX_DiscardUnknown()

func (*MsgLiquidate) XXX_Marshal

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

func (*MsgLiquidate) XXX_Merge

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

func (*MsgLiquidate) XXX_Size

func (m *MsgLiquidate) XXX_Size() int

func (*MsgLiquidate) XXX_Unmarshal

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

type MsgLiquidateResponse

type MsgLiquidateResponse struct {
}

func (*MsgLiquidateResponse) Descriptor

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

func (*MsgLiquidateResponse) Marshal

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

func (*MsgLiquidateResponse) MarshalTo

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

func (*MsgLiquidateResponse) MarshalToSizedBuffer

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

func (*MsgLiquidateResponse) ProtoMessage

func (*MsgLiquidateResponse) ProtoMessage()

func (*MsgLiquidateResponse) Reset

func (m *MsgLiquidateResponse) Reset()

func (*MsgLiquidateResponse) Size

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

func (*MsgLiquidateResponse) String

func (m *MsgLiquidateResponse) String() string

func (*MsgLiquidateResponse) Unmarshal

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

func (*MsgLiquidateResponse) XXX_DiscardUnknown

func (m *MsgLiquidateResponse) XXX_DiscardUnknown()

func (*MsgLiquidateResponse) XXX_Marshal

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

func (*MsgLiquidateResponse) XXX_Merge

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

func (*MsgLiquidateResponse) XXX_Size

func (m *MsgLiquidateResponse) XXX_Size() int

func (*MsgLiquidateResponse) XXX_Unmarshal

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

type MsgPayPrincipal

type MsgPayPrincipal struct {
	Creator   string     `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"`
	PoolIndex string     `protobuf:"bytes,2,opt,name=pool_index,json=poolIndex,proto3" json:"pool_index,omitempty"`
	Token     types.Coin `protobuf:"bytes,3,opt,name=token,proto3,castrepeated=github.com/cosmos/cosmos-sdk/types.Coin" json:"token"`
}

func NewMsgPayPrincipal

func NewMsgPayPrincipal(creator string, poolIndex string, token sdk.Coin) *MsgPayPrincipal

func (*MsgPayPrincipal) Descriptor

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

func (*MsgPayPrincipal) GetCreator

func (m *MsgPayPrincipal) GetCreator() string

func (*MsgPayPrincipal) GetPoolIndex

func (m *MsgPayPrincipal) GetPoolIndex() string

func (*MsgPayPrincipal) GetSignBytes

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

func (*MsgPayPrincipal) GetSigners

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

func (*MsgPayPrincipal) GetToken

func (m *MsgPayPrincipal) GetToken() types.Coin

func (*MsgPayPrincipal) Marshal

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

func (*MsgPayPrincipal) MarshalTo

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

func (*MsgPayPrincipal) MarshalToSizedBuffer

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

func (*MsgPayPrincipal) ProtoMessage

func (*MsgPayPrincipal) ProtoMessage()

func (*MsgPayPrincipal) Reset

func (m *MsgPayPrincipal) Reset()

func (*MsgPayPrincipal) Route

func (msg *MsgPayPrincipal) Route() string

func (*MsgPayPrincipal) Size

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

func (*MsgPayPrincipal) String

func (m *MsgPayPrincipal) String() string

func (*MsgPayPrincipal) Type

func (msg *MsgPayPrincipal) Type() string

func (*MsgPayPrincipal) Unmarshal

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

func (*MsgPayPrincipal) ValidateBasic

func (msg *MsgPayPrincipal) ValidateBasic() error

func (*MsgPayPrincipal) XXX_DiscardUnknown

func (m *MsgPayPrincipal) XXX_DiscardUnknown()

func (*MsgPayPrincipal) XXX_Marshal

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

func (*MsgPayPrincipal) XXX_Merge

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

func (*MsgPayPrincipal) XXX_Size

func (m *MsgPayPrincipal) XXX_Size() int

func (*MsgPayPrincipal) XXX_Unmarshal

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

type MsgPayPrincipalPartial

type MsgPayPrincipalPartial struct {
	Creator   string     `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"`
	PoolIndex string     `protobuf:"bytes,2,opt,name=pool_index,json=poolIndex,proto3" json:"pool_index,omitempty"`
	Token     types.Coin `protobuf:"bytes,3,opt,name=token,proto3,castrepeated=github.com/cosmos/cosmos-sdk/types.Coin" json:"token"`
}

func NewMsgPayPrincipalPartial

func NewMsgPayPrincipalPartial(creator string, poolIndex string, token sdk.Coin) *MsgPayPrincipalPartial

func (*MsgPayPrincipalPartial) Descriptor

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

func (*MsgPayPrincipalPartial) GetCreator

func (m *MsgPayPrincipalPartial) GetCreator() string

func (*MsgPayPrincipalPartial) GetPoolIndex

func (m *MsgPayPrincipalPartial) GetPoolIndex() string

func (*MsgPayPrincipalPartial) GetSignBytes

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

func (*MsgPayPrincipalPartial) GetSigners

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

func (*MsgPayPrincipalPartial) GetToken

func (m *MsgPayPrincipalPartial) GetToken() types.Coin

func (*MsgPayPrincipalPartial) Marshal

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

func (*MsgPayPrincipalPartial) MarshalTo

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

func (*MsgPayPrincipalPartial) MarshalToSizedBuffer

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

func (*MsgPayPrincipalPartial) ProtoMessage

func (*MsgPayPrincipalPartial) ProtoMessage()

func (*MsgPayPrincipalPartial) Reset

func (m *MsgPayPrincipalPartial) Reset()

func (*MsgPayPrincipalPartial) Route

func (msg *MsgPayPrincipalPartial) Route() string

func (*MsgPayPrincipalPartial) Size

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

func (*MsgPayPrincipalPartial) String

func (m *MsgPayPrincipalPartial) String() string

func (*MsgPayPrincipalPartial) Type

func (msg *MsgPayPrincipalPartial) Type() string

func (*MsgPayPrincipalPartial) Unmarshal

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

func (*MsgPayPrincipalPartial) ValidateBasic

func (msg *MsgPayPrincipalPartial) ValidateBasic() error

func (*MsgPayPrincipalPartial) XXX_DiscardUnknown

func (m *MsgPayPrincipalPartial) XXX_DiscardUnknown()

func (*MsgPayPrincipalPartial) XXX_Marshal

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

func (*MsgPayPrincipalPartial) XXX_Merge

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

func (*MsgPayPrincipalPartial) XXX_Size

func (m *MsgPayPrincipalPartial) XXX_Size() int

func (*MsgPayPrincipalPartial) XXX_Unmarshal

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

type MsgPayPrincipalPartialResponse

type MsgPayPrincipalPartialResponse struct {
}

func (*MsgPayPrincipalPartialResponse) Descriptor

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

func (*MsgPayPrincipalPartialResponse) Marshal

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

func (*MsgPayPrincipalPartialResponse) MarshalTo

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

func (*MsgPayPrincipalPartialResponse) MarshalToSizedBuffer

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

func (*MsgPayPrincipalPartialResponse) ProtoMessage

func (*MsgPayPrincipalPartialResponse) ProtoMessage()

func (*MsgPayPrincipalPartialResponse) Reset

func (m *MsgPayPrincipalPartialResponse) Reset()

func (*MsgPayPrincipalPartialResponse) Size

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

func (*MsgPayPrincipalPartialResponse) String

func (*MsgPayPrincipalPartialResponse) Unmarshal

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

func (*MsgPayPrincipalPartialResponse) XXX_DiscardUnknown

func (m *MsgPayPrincipalPartialResponse) XXX_DiscardUnknown()

func (*MsgPayPrincipalPartialResponse) XXX_Marshal

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

func (*MsgPayPrincipalPartialResponse) XXX_Merge

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

func (*MsgPayPrincipalPartialResponse) XXX_Size

func (m *MsgPayPrincipalPartialResponse) XXX_Size() int

func (*MsgPayPrincipalPartialResponse) XXX_Unmarshal

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

type MsgPayPrincipalResponse

type MsgPayPrincipalResponse struct {
}

func (*MsgPayPrincipalResponse) Descriptor

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

func (*MsgPayPrincipalResponse) Marshal

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

func (*MsgPayPrincipalResponse) MarshalTo

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

func (*MsgPayPrincipalResponse) MarshalToSizedBuffer

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

func (*MsgPayPrincipalResponse) ProtoMessage

func (*MsgPayPrincipalResponse) ProtoMessage()

func (*MsgPayPrincipalResponse) Reset

func (m *MsgPayPrincipalResponse) Reset()

func (*MsgPayPrincipalResponse) Size

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

func (*MsgPayPrincipalResponse) String

func (m *MsgPayPrincipalResponse) String() string

func (*MsgPayPrincipalResponse) Unmarshal

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

func (*MsgPayPrincipalResponse) XXX_DiscardUnknown

func (m *MsgPayPrincipalResponse) XXX_DiscardUnknown()

func (*MsgPayPrincipalResponse) XXX_Marshal

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

func (*MsgPayPrincipalResponse) XXX_Merge

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

func (*MsgPayPrincipalResponse) XXX_Size

func (m *MsgPayPrincipalResponse) XXX_Size() int

func (*MsgPayPrincipalResponse) XXX_Unmarshal

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

type MsgRepayInterest

type MsgRepayInterest struct {
	Creator   string     `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"`
	PoolIndex string     `protobuf:"bytes,2,opt,name=pool_index,json=poolIndex,proto3" json:"pool_index,omitempty"`
	Token     types.Coin `protobuf:"bytes,4,opt,name=token,proto3,castrepeated=github.com/cosmos/cosmos-sdk/types.Coins" json:"token"`
}

func NewMsgRepayInterest

func NewMsgRepayInterest(creator string, poolIndex string, amount sdk.Coin) *MsgRepayInterest

func (*MsgRepayInterest) Descriptor

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

func (*MsgRepayInterest) GetCreator

func (m *MsgRepayInterest) GetCreator() string

func (*MsgRepayInterest) GetPoolIndex

func (m *MsgRepayInterest) GetPoolIndex() string

func (*MsgRepayInterest) GetSignBytes

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

func (*MsgRepayInterest) GetSigners

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

func (*MsgRepayInterest) GetToken

func (m *MsgRepayInterest) GetToken() types.Coin

func (*MsgRepayInterest) Marshal

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

func (*MsgRepayInterest) MarshalTo

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

func (*MsgRepayInterest) MarshalToSizedBuffer

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

func (*MsgRepayInterest) ProtoMessage

func (*MsgRepayInterest) ProtoMessage()

func (*MsgRepayInterest) Reset

func (m *MsgRepayInterest) Reset()

func (*MsgRepayInterest) Route

func (msg *MsgRepayInterest) Route() string

func (*MsgRepayInterest) Size

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

func (*MsgRepayInterest) String

func (m *MsgRepayInterest) String() string

func (*MsgRepayInterest) Type

func (msg *MsgRepayInterest) Type() string

func (*MsgRepayInterest) Unmarshal

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

func (*MsgRepayInterest) ValidateBasic

func (msg *MsgRepayInterest) ValidateBasic() error

func (*MsgRepayInterest) XXX_DiscardUnknown

func (m *MsgRepayInterest) XXX_DiscardUnknown()

func (*MsgRepayInterest) XXX_Marshal

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

func (*MsgRepayInterest) XXX_Merge

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

func (*MsgRepayInterest) XXX_Size

func (m *MsgRepayInterest) XXX_Size() int

func (*MsgRepayInterest) XXX_Unmarshal

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

type MsgRepayInterestResponse

type MsgRepayInterestResponse struct {
}

func (*MsgRepayInterestResponse) Descriptor

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

func (*MsgRepayInterestResponse) Marshal

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

func (*MsgRepayInterestResponse) MarshalTo

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

func (*MsgRepayInterestResponse) MarshalToSizedBuffer

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

func (*MsgRepayInterestResponse) ProtoMessage

func (*MsgRepayInterestResponse) ProtoMessage()

func (*MsgRepayInterestResponse) Reset

func (m *MsgRepayInterestResponse) Reset()

func (*MsgRepayInterestResponse) Size

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

func (*MsgRepayInterestResponse) String

func (m *MsgRepayInterestResponse) String() string

func (*MsgRepayInterestResponse) Unmarshal

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

func (*MsgRepayInterestResponse) XXX_DiscardUnknown

func (m *MsgRepayInterestResponse) XXX_DiscardUnknown()

func (*MsgRepayInterestResponse) XXX_Marshal

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

func (*MsgRepayInterestResponse) XXX_Merge

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

func (*MsgRepayInterestResponse) XXX_Size

func (m *MsgRepayInterestResponse) XXX_Size() int

func (*MsgRepayInterestResponse) XXX_Unmarshal

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

type MsgSubmitWithdrawProposal

type MsgSubmitWithdrawProposal struct {
	Creator   string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"`
	PoolIndex string `protobuf:"bytes,2,opt,name=pool_index,json=poolIndex,proto3" json:"pool_index,omitempty"`
}

func NewMsgSubmitWitdrawProposal

func NewMsgSubmitWitdrawProposal(creator string, poolIndex string) *MsgSubmitWithdrawProposal

func (*MsgSubmitWithdrawProposal) Descriptor

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

func (*MsgSubmitWithdrawProposal) GetCreator

func (m *MsgSubmitWithdrawProposal) GetCreator() string

func (*MsgSubmitWithdrawProposal) GetPoolIndex

func (m *MsgSubmitWithdrawProposal) GetPoolIndex() string

func (*MsgSubmitWithdrawProposal) GetSignBytes

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

func (*MsgSubmitWithdrawProposal) GetSigners

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

func (*MsgSubmitWithdrawProposal) Marshal

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

func (*MsgSubmitWithdrawProposal) MarshalTo

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

func (*MsgSubmitWithdrawProposal) MarshalToSizedBuffer

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

func (*MsgSubmitWithdrawProposal) ProtoMessage

func (*MsgSubmitWithdrawProposal) ProtoMessage()

func (*MsgSubmitWithdrawProposal) Reset

func (m *MsgSubmitWithdrawProposal) Reset()

func (*MsgSubmitWithdrawProposal) Route

func (msg *MsgSubmitWithdrawProposal) Route() string

func (*MsgSubmitWithdrawProposal) Size

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

func (*MsgSubmitWithdrawProposal) String

func (m *MsgSubmitWithdrawProposal) String() string

func (*MsgSubmitWithdrawProposal) Type

func (msg *MsgSubmitWithdrawProposal) Type() string

func (*MsgSubmitWithdrawProposal) Unmarshal

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

func (*MsgSubmitWithdrawProposal) ValidateBasic

func (msg *MsgSubmitWithdrawProposal) ValidateBasic() error

func (*MsgSubmitWithdrawProposal) XXX_DiscardUnknown

func (m *MsgSubmitWithdrawProposal) XXX_DiscardUnknown()

func (*MsgSubmitWithdrawProposal) XXX_Marshal

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

func (*MsgSubmitWithdrawProposal) XXX_Merge

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

func (*MsgSubmitWithdrawProposal) XXX_Size

func (m *MsgSubmitWithdrawProposal) XXX_Size() int

func (*MsgSubmitWithdrawProposal) XXX_Unmarshal

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

type MsgSubmitWithdrawProposalResponse

type MsgSubmitWithdrawProposalResponse struct {
	OperationResult bool `protobuf:"varint,1,opt,name=operation_result,json=operationResult,proto3" json:"operation_result,omitempty"`
}

func (*MsgSubmitWithdrawProposalResponse) Descriptor

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

func (*MsgSubmitWithdrawProposalResponse) GetOperationResult

func (m *MsgSubmitWithdrawProposalResponse) GetOperationResult() bool

func (*MsgSubmitWithdrawProposalResponse) Marshal

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

func (*MsgSubmitWithdrawProposalResponse) MarshalTo

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

func (*MsgSubmitWithdrawProposalResponse) MarshalToSizedBuffer

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

func (*MsgSubmitWithdrawProposalResponse) ProtoMessage

func (*MsgSubmitWithdrawProposalResponse) ProtoMessage()

func (*MsgSubmitWithdrawProposalResponse) Reset

func (*MsgSubmitWithdrawProposalResponse) Size

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

func (*MsgSubmitWithdrawProposalResponse) String

func (*MsgSubmitWithdrawProposalResponse) Unmarshal

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

func (*MsgSubmitWithdrawProposalResponse) XXX_DiscardUnknown

func (m *MsgSubmitWithdrawProposalResponse) XXX_DiscardUnknown()

func (*MsgSubmitWithdrawProposalResponse) XXX_Marshal

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

func (*MsgSubmitWithdrawProposalResponse) XXX_Merge

func (*MsgSubmitWithdrawProposalResponse) XXX_Size

func (m *MsgSubmitWithdrawProposalResponse) XXX_Size() int

func (*MsgSubmitWithdrawProposalResponse) XXX_Unmarshal

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

type MsgTransferOwnership

type MsgTransferOwnership struct {
	Creator   string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"`
	PoolIndex string `protobuf:"bytes,2,opt,name=pool_index,json=poolIndex,proto3" json:"pool_index,omitempty"`
}

func NewMsgTransferOwnership

func NewMsgTransferOwnership(creator string, poolIndex string) *MsgTransferOwnership

func (*MsgTransferOwnership) Descriptor

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

func (*MsgTransferOwnership) GetCreator

func (m *MsgTransferOwnership) GetCreator() string

func (*MsgTransferOwnership) GetPoolIndex

func (m *MsgTransferOwnership) GetPoolIndex() string

func (*MsgTransferOwnership) GetSignBytes

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

func (*MsgTransferOwnership) GetSigners

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

func (*MsgTransferOwnership) Marshal

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

func (*MsgTransferOwnership) MarshalTo

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

func (*MsgTransferOwnership) MarshalToSizedBuffer

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

func (*MsgTransferOwnership) ProtoMessage

func (*MsgTransferOwnership) ProtoMessage()

func (*MsgTransferOwnership) Reset

func (m *MsgTransferOwnership) Reset()

func (*MsgTransferOwnership) Route

func (msg *MsgTransferOwnership) Route() string

func (*MsgTransferOwnership) Size

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

func (*MsgTransferOwnership) String

func (m *MsgTransferOwnership) String() string

func (*MsgTransferOwnership) Type

func (msg *MsgTransferOwnership) Type() string

func (*MsgTransferOwnership) Unmarshal

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

func (*MsgTransferOwnership) ValidateBasic

func (msg *MsgTransferOwnership) ValidateBasic() error

func (*MsgTransferOwnership) XXX_DiscardUnknown

func (m *MsgTransferOwnership) XXX_DiscardUnknown()

func (*MsgTransferOwnership) XXX_Marshal

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

func (*MsgTransferOwnership) XXX_Merge

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

func (*MsgTransferOwnership) XXX_Size

func (m *MsgTransferOwnership) XXX_Size() int

func (*MsgTransferOwnership) XXX_Unmarshal

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

type MsgTransferOwnershipResponse

type MsgTransferOwnershipResponse struct {
	OperationResult bool `protobuf:"varint,1,opt,name=operation_result,json=operationResult,proto3" json:"operation_result,omitempty"`
}

func (*MsgTransferOwnershipResponse) Descriptor

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

func (*MsgTransferOwnershipResponse) GetOperationResult

func (m *MsgTransferOwnershipResponse) GetOperationResult() bool

func (*MsgTransferOwnershipResponse) Marshal

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

func (*MsgTransferOwnershipResponse) MarshalTo

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

func (*MsgTransferOwnershipResponse) MarshalToSizedBuffer

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

func (*MsgTransferOwnershipResponse) ProtoMessage

func (*MsgTransferOwnershipResponse) ProtoMessage()

func (*MsgTransferOwnershipResponse) Reset

func (m *MsgTransferOwnershipResponse) Reset()

func (*MsgTransferOwnershipResponse) Size

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

func (*MsgTransferOwnershipResponse) String

func (*MsgTransferOwnershipResponse) Unmarshal

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

func (*MsgTransferOwnershipResponse) XXX_DiscardUnknown

func (m *MsgTransferOwnershipResponse) XXX_DiscardUnknown()

func (*MsgTransferOwnershipResponse) XXX_Marshal

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

func (*MsgTransferOwnershipResponse) XXX_Merge

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

func (*MsgTransferOwnershipResponse) XXX_Size

func (m *MsgTransferOwnershipResponse) XXX_Size() int

func (*MsgTransferOwnershipResponse) XXX_Unmarshal

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

type MsgUpdatePool

type MsgUpdatePool struct {
	Creator           string     `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"`
	PoolIndex         string     `protobuf:"bytes,2,opt,name=pool_index,json=poolIndex,proto3" json:"pool_index,omitempty"`
	PoolName          string     `protobuf:"bytes,3,opt,name=pool_name,json=poolName,proto3" json:"pool_name,omitempty"`
	PoolApy           string     `protobuf:"bytes,4,opt,name=pool_apy,json=poolApy,proto3" json:"pool_apy,omitempty"`
	TargetTokenAmount types.Coin `` /* 158-byte string literal not displayed */
}

func NewMsgUpdatePool

func NewMsgUpdatePool(creator, poolIndex, poolApy, poolName string, token sdk.Coin) *MsgUpdatePool

func (*MsgUpdatePool) Descriptor

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

func (*MsgUpdatePool) GetCreator

func (m *MsgUpdatePool) GetCreator() string

func (*MsgUpdatePool) GetPoolApy

func (m *MsgUpdatePool) GetPoolApy() string

func (*MsgUpdatePool) GetPoolIndex

func (m *MsgUpdatePool) GetPoolIndex() string

func (*MsgUpdatePool) GetPoolName

func (m *MsgUpdatePool) GetPoolName() string

func (*MsgUpdatePool) GetSignBytes

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

func (*MsgUpdatePool) GetSigners

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

func (*MsgUpdatePool) GetTargetTokenAmount

func (m *MsgUpdatePool) GetTargetTokenAmount() types.Coin

func (*MsgUpdatePool) Marshal

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

func (*MsgUpdatePool) MarshalTo

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

func (*MsgUpdatePool) MarshalToSizedBuffer

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

func (*MsgUpdatePool) ProtoMessage

func (*MsgUpdatePool) ProtoMessage()

func (*MsgUpdatePool) Reset

func (m *MsgUpdatePool) Reset()

func (*MsgUpdatePool) Route

func (msg *MsgUpdatePool) Route() string

func (*MsgUpdatePool) Size

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

func (*MsgUpdatePool) String

func (m *MsgUpdatePool) String() string

func (*MsgUpdatePool) Type

func (msg *MsgUpdatePool) Type() string

func (*MsgUpdatePool) Unmarshal

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

func (*MsgUpdatePool) ValidateBasic

func (msg *MsgUpdatePool) ValidateBasic() error

func (*MsgUpdatePool) XXX_DiscardUnknown

func (m *MsgUpdatePool) XXX_DiscardUnknown()

func (*MsgUpdatePool) XXX_Marshal

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

func (*MsgUpdatePool) XXX_Merge

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

func (*MsgUpdatePool) XXX_Size

func (m *MsgUpdatePool) XXX_Size() int

func (*MsgUpdatePool) XXX_Unmarshal

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

type MsgUpdatePoolResponse

type MsgUpdatePoolResponse struct {
}

func (*MsgUpdatePoolResponse) Descriptor

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

func (*MsgUpdatePoolResponse) Marshal

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

func (*MsgUpdatePoolResponse) MarshalTo

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

func (*MsgUpdatePoolResponse) MarshalToSizedBuffer

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

func (*MsgUpdatePoolResponse) ProtoMessage

func (*MsgUpdatePoolResponse) ProtoMessage()

func (*MsgUpdatePoolResponse) Reset

func (m *MsgUpdatePoolResponse) Reset()

func (*MsgUpdatePoolResponse) Size

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

func (*MsgUpdatePoolResponse) String

func (m *MsgUpdatePoolResponse) String() string

func (*MsgUpdatePoolResponse) Unmarshal

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

func (*MsgUpdatePoolResponse) XXX_DiscardUnknown

func (m *MsgUpdatePoolResponse) XXX_DiscardUnknown()

func (*MsgUpdatePoolResponse) XXX_Marshal

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

func (*MsgUpdatePoolResponse) XXX_Merge

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

func (*MsgUpdatePoolResponse) XXX_Size

func (m *MsgUpdatePoolResponse) XXX_Size() int

func (*MsgUpdatePoolResponse) XXX_Unmarshal

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

type MsgWithdrawPrincipal

type MsgWithdrawPrincipal struct {
	Creator   string     `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"`
	PoolIndex string     `protobuf:"bytes,2,opt,name=pool_index,json=poolIndex,proto3" json:"pool_index,omitempty"`
	Token     types.Coin `protobuf:"bytes,3,opt,name=token,proto3,castrepeated=github.com/cosmos/cosmos-sdk/types.Coins" json:"token"`
}

func NewMsgWithdrawPrincipal

func NewMsgWithdrawPrincipal(creator string, poolIndex string, token sdk.Coin) *MsgWithdrawPrincipal

func (*MsgWithdrawPrincipal) Descriptor

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

func (*MsgWithdrawPrincipal) GetCreator

func (m *MsgWithdrawPrincipal) GetCreator() string

func (*MsgWithdrawPrincipal) GetPoolIndex

func (m *MsgWithdrawPrincipal) GetPoolIndex() string

func (*MsgWithdrawPrincipal) GetSignBytes

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

func (*MsgWithdrawPrincipal) GetSigners

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

func (*MsgWithdrawPrincipal) GetToken

func (m *MsgWithdrawPrincipal) GetToken() types.Coin

func (*MsgWithdrawPrincipal) Marshal

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

func (*MsgWithdrawPrincipal) MarshalTo

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

func (*MsgWithdrawPrincipal) MarshalToSizedBuffer

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

func (*MsgWithdrawPrincipal) ProtoMessage

func (*MsgWithdrawPrincipal) ProtoMessage()

func (*MsgWithdrawPrincipal) Reset

func (m *MsgWithdrawPrincipal) Reset()

func (*MsgWithdrawPrincipal) Route

func (msg *MsgWithdrawPrincipal) Route() string

func (*MsgWithdrawPrincipal) Size

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

func (*MsgWithdrawPrincipal) String

func (m *MsgWithdrawPrincipal) String() string

func (*MsgWithdrawPrincipal) Type

func (msg *MsgWithdrawPrincipal) Type() string

func (*MsgWithdrawPrincipal) Unmarshal

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

func (*MsgWithdrawPrincipal) ValidateBasic

func (msg *MsgWithdrawPrincipal) ValidateBasic() error

func (*MsgWithdrawPrincipal) XXX_DiscardUnknown

func (m *MsgWithdrawPrincipal) XXX_DiscardUnknown()

func (*MsgWithdrawPrincipal) XXX_Marshal

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

func (*MsgWithdrawPrincipal) XXX_Merge

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

func (*MsgWithdrawPrincipal) XXX_Size

func (m *MsgWithdrawPrincipal) XXX_Size() int

func (*MsgWithdrawPrincipal) XXX_Unmarshal

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

type MsgWithdrawPrincipalResponse

type MsgWithdrawPrincipalResponse struct {
	Amount string `protobuf:"bytes,1,opt,name=amount,proto3" json:"amount,omitempty"`
}

func (*MsgWithdrawPrincipalResponse) Descriptor

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

func (*MsgWithdrawPrincipalResponse) GetAmount

func (m *MsgWithdrawPrincipalResponse) GetAmount() string

func (*MsgWithdrawPrincipalResponse) Marshal

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

func (*MsgWithdrawPrincipalResponse) MarshalTo

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

func (*MsgWithdrawPrincipalResponse) MarshalToSizedBuffer

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

func (*MsgWithdrawPrincipalResponse) ProtoMessage

func (*MsgWithdrawPrincipalResponse) ProtoMessage()

func (*MsgWithdrawPrincipalResponse) Reset

func (m *MsgWithdrawPrincipalResponse) Reset()

func (*MsgWithdrawPrincipalResponse) Size

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

func (*MsgWithdrawPrincipalResponse) String

func (*MsgWithdrawPrincipalResponse) Unmarshal

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

func (*MsgWithdrawPrincipalResponse) XXX_DiscardUnknown

func (m *MsgWithdrawPrincipalResponse) XXX_DiscardUnknown()

func (*MsgWithdrawPrincipalResponse) XXX_Marshal

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

func (*MsgWithdrawPrincipalResponse) XXX_Merge

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

func (*MsgWithdrawPrincipalResponse) XXX_Size

func (m *MsgWithdrawPrincipalResponse) XXX_Size() int

func (*MsgWithdrawPrincipalResponse) XXX_Unmarshal

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

type NFTBorrowInterest

type NFTBorrowInterest interface{}

type NFTKeeper

type NFTKeeper interface {
	Mint(ctx sdk.Context, nft nfttypes.NFT, receiver sdk.AccAddress) error
	SaveClass(ctx sdk.Context, class nfttypes.Class) error
	UpdateClass(ctx sdk.Context, class nfttypes.Class) error
	GetClass(ctx sdk.Context, classID string) (nfttypes.Class, bool)
	GetNFT(ctx sdk.Context, classID, nftID string) (nfttypes.NFT, bool)
	Update(ctx sdk.Context, token nfttypes.NFT) error
	Burn(ctx sdk.Context, classID string, nftID string) error
	Transfer(ctx sdk.Context, classID string, nftID string, receiver sdk.AccAddress) error
	GetTotalSupply(ctx sdk.Context, classID string) uint64
}

type NftInfo

type NftInfo struct {
	Issuer                     string                                 `protobuf:"bytes,1,opt,name=issuer,proto3" json:"issuer,omitempty"`
	Receiver                   string                                 `protobuf:"bytes,2,opt,name=receiver,proto3" json:"receiver,omitempty"`
	Borrowed                   types.Coin                             `protobuf:"bytes,3,opt,name=borrowed,proto3,castrepeated=github.com/cosmos/cosmos-sdk/types.Coins" json:"borrowed"`
	LastPayment                time.Time                              `protobuf:"bytes,4,opt,name=last_payment,json=lastPayment,proto3,stdtime" json:"last_payment"`
	TotalLiquidationAmount     github_com_cosmos_cosmos_sdk_types.Int `` /* 169-byte string literal not displayed */
	LastLiquidationPaymentTime time.Time                              `` /* 141-byte string literal not displayed */
	PaymentOffset              uint32                                 `protobuf:"varint,7,opt,name=payment_offset,json=paymentOffset,proto3" json:"payment_offset,omitempty"`
	LiquidationPaymentOffset   uint32                                 `` /* 136-byte string literal not displayed */
}

func (*NftInfo) Descriptor

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

func (*NftInfo) GetBorrowed

func (m *NftInfo) GetBorrowed() types.Coin

func (*NftInfo) GetIssuer

func (m *NftInfo) GetIssuer() string

func (*NftInfo) GetLastLiquidationPaymentTime

func (m *NftInfo) GetLastLiquidationPaymentTime() time.Time

func (*NftInfo) GetLastPayment

func (m *NftInfo) GetLastPayment() time.Time

func (*NftInfo) GetLiquidationPaymentOffset

func (m *NftInfo) GetLiquidationPaymentOffset() uint32

func (*NftInfo) GetPaymentOffset

func (m *NftInfo) GetPaymentOffset() uint32

func (*NftInfo) GetReceiver

func (m *NftInfo) GetReceiver() string

func (*NftInfo) Marshal

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

func (*NftInfo) MarshalTo

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

func (*NftInfo) MarshalToSizedBuffer

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

func (*NftInfo) ProtoMessage

func (*NftInfo) ProtoMessage()

func (*NftInfo) Reset

func (m *NftInfo) Reset()

func (*NftInfo) Size

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

func (*NftInfo) String

func (m *NftInfo) String() string

func (*NftInfo) Unmarshal

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

func (*NftInfo) XXX_DiscardUnknown

func (m *NftInfo) XXX_DiscardUnknown()

func (*NftInfo) XXX_Marshal

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

func (*NftInfo) XXX_Merge

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

func (*NftInfo) XXX_Size

func (m *NftInfo) XXX_Size() int

func (*NftInfo) XXX_Unmarshal

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

type Params

type Params struct {
}

Params defines the parameters for the module.

func DefaultParams

func DefaultParams() Params

DefaultParams returns a default set of parameters

func NewParams

func NewParams() Params

NewParams creates a new Params instance

func (*Params) Descriptor

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

func (*Params) Marshal

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

func (*Params) MarshalTo

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

func (*Params) MarshalToSizedBuffer

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

func (*Params) ParamSetPairs

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

ParamSetPairs get the params.ParamSet

func (*Params) ProtoMessage

func (*Params) ProtoMessage()

func (*Params) Reset

func (m *Params) Reset()

func (*Params) Size

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

func (Params) String

func (p Params) String() string

String implements the Stringer interface.

func (*Params) Unmarshal

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

func (Params) Validate

func (p Params) Validate() error

Validate validates the set of params

func (*Params) XXX_DiscardUnknown

func (m *Params) XXX_DiscardUnknown()

func (*Params) XXX_Marshal

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

func (*Params) XXX_Merge

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

func (*Params) XXX_Size

func (m *Params) XXX_Size() int

func (*Params) XXX_Unmarshal

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

type PaymentItem

type PaymentItem struct {
	PaymentTime    time.Time  `protobuf:"bytes,1,opt,name=payment_time,json=paymentTime,proto3,stdtime" json:"payment_time"`
	PaymentAmount  types.Coin `` /* 144-byte string literal not displayed */
	BorrowedAmount types.Coin `` /* 147-byte string literal not displayed */
}

func (*PaymentItem) Descriptor

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

func (*PaymentItem) GetBorrowedAmount

func (m *PaymentItem) GetBorrowedAmount() types.Coin

func (*PaymentItem) GetPaymentAmount

func (m *PaymentItem) GetPaymentAmount() types.Coin

func (*PaymentItem) GetPaymentTime

func (m *PaymentItem) GetPaymentTime() time.Time

func (*PaymentItem) Marshal

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

func (*PaymentItem) MarshalTo

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

func (*PaymentItem) MarshalToSizedBuffer

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

func (*PaymentItem) ProtoMessage

func (*PaymentItem) ProtoMessage()

func (*PaymentItem) Reset

func (m *PaymentItem) Reset()

func (*PaymentItem) Size

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

func (*PaymentItem) String

func (m *PaymentItem) String() string

func (*PaymentItem) Unmarshal

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

func (*PaymentItem) XXX_DiscardUnknown

func (m *PaymentItem) XXX_DiscardUnknown()

func (*PaymentItem) XXX_Marshal

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

func (*PaymentItem) XXX_Merge

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

func (*PaymentItem) XXX_Size

func (m *PaymentItem) XXX_Size() int

func (*PaymentItem) XXX_Unmarshal

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

type PoolDepositedInvestors

type PoolDepositedInvestors struct {
	PoolIndex     string                                          `protobuf:"bytes,1,opt,name=pool_index,json=poolIndex,proto3" json:"pool_index,omitempty"`
	WalletAddress []github_com_cosmos_cosmos_sdk_types.AccAddress `` /* 155-byte string literal not displayed */
}

func (*PoolDepositedInvestors) Descriptor

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

func (*PoolDepositedInvestors) GetPoolIndex

func (m *PoolDepositedInvestors) GetPoolIndex() string

func (*PoolDepositedInvestors) GetWalletAddress

func (*PoolDepositedInvestors) Marshal

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

func (*PoolDepositedInvestors) MarshalTo

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

func (*PoolDepositedInvestors) MarshalToSizedBuffer

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

func (*PoolDepositedInvestors) ProtoMessage

func (*PoolDepositedInvestors) ProtoMessage()

func (*PoolDepositedInvestors) Reset

func (m *PoolDepositedInvestors) Reset()

func (*PoolDepositedInvestors) Size

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

func (*PoolDepositedInvestors) String

func (m *PoolDepositedInvestors) String() string

func (*PoolDepositedInvestors) Unmarshal

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

func (*PoolDepositedInvestors) XXX_DiscardUnknown

func (m *PoolDepositedInvestors) XXX_DiscardUnknown()

func (*PoolDepositedInvestors) XXX_Marshal

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

func (*PoolDepositedInvestors) XXX_Merge

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

func (*PoolDepositedInvestors) XXX_Size

func (m *PoolDepositedInvestors) XXX_Size() int

func (*PoolDepositedInvestors) XXX_Unmarshal

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

type PoolInfo

type PoolInfo struct {
	Index         string                                        `protobuf:"bytes,1,opt,name=index,proto3" json:"index,omitempty"`
	PoolName      string                                        `protobuf:"bytes,2,opt,name=pool_name,json=poolName,proto3" json:"pool_name,omitempty"`
	LinkedProject int32                                         `protobuf:"varint,3,opt,name=linked_project,json=linkedProject,proto3" json:"linked_project,omitempty"`
	OwnerAddress  github_com_cosmos_cosmos_sdk_types.AccAddress `` /* 152-byte string literal not displayed */
	Apy           github_com_cosmos_cosmos_sdk_types.Dec        `protobuf:"bytes,5,opt,name=apy,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"apy"`
	PrincipalPaid bool                                          `protobuf:"varint,6,opt,name=principal_paid,json=principalPaid,proto3" json:"principal_paid,omitempty"`
	PayFreq       int32                                         `protobuf:"varint,7,opt,name=pay_freq,json=payFreq,proto3" json:"pay_freq,omitempty"`
	ReserveFactor github_com_cosmos_cosmos_sdk_types.Dec        `` /* 140-byte string literal not displayed */
	//  string            pool_nFT_class      = 9 [
	//    (cosmos_proto.scalar)  = "cosmos.Class",
	//    (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/x/nft.Class",
	//    (gogoproto.nullable)   = false
	//  ];
	PoolNFTIds                             []string                                        `protobuf:"bytes,9,rep,name=pool_nFT_ids,json=poolNFTIds,proto3" json:"pool_nFT_ids,omitempty"`
	LastPaymentTime                        time.Time                                       `protobuf:"bytes,10,opt,name=last_payment_time,json=lastPaymentTime,proto3,stdtime" json:"last_payment_time"`
	PoolStatus                             PoolInfo_POOLSTATUS                             `` /* 130-byte string literal not displayed */
	BorrowedAmount                         types.Coin                                      `` /* 148-byte string literal not displayed */
	PoolInterest                           github_com_cosmos_cosmos_sdk_types.Dec          `` /* 138-byte string literal not displayed */
	ProjectLength                          uint64                                          `protobuf:"varint,14,opt,name=project_length,json=projectLength,proto3" json:"project_length,omitempty"`
	UsableAmount                           types.Coin                                      `` /* 142-byte string literal not displayed */
	TargetAmount                           types.Coin                                      `` /* 142-byte string literal not displayed */
	PoolType                               PoolInfo_POOLTYPE                               `protobuf:"varint,17,opt,name=pool_type,json=poolType,proto3,enum=joltify.spv.PoolInfo_POOLTYPE" json:"pool_type,omitempty"`
	EscrowInterestAmount                   github_com_cosmos_cosmos_sdk_types.Int          `` /* 164-byte string literal not displayed */
	EscrowPrincipalAmount                  types.Coin                                      `` /* 171-byte string literal not displayed */
	WithdrawProposalAmount                 types.Coin                                      `` /* 174-byte string literal not displayed */
	ProjectDueTime                         time.Time                                       `protobuf:"bytes,21,opt,name=project_due_time,json=projectDueTime,proto3,stdtime" json:"project_due_time"`
	WithdrawAccounts                       []github_com_cosmos_cosmos_sdk_types.AccAddress `` /* 165-byte string literal not displayed */
	TransferAccounts                       []github_com_cosmos_cosmos_sdk_types.AccAddress `` /* 165-byte string literal not displayed */
	WithdrawRequestWindowSeconds           int32                                           `` /* 151-byte string literal not displayed */
	PoolLockedSeconds                      int32                                           `protobuf:"varint,25,opt,name=pool_locked_seconds,json=poolLockedSeconds,proto3" json:"pool_locked_seconds,omitempty"`
	PoolTotalBorrowLimit                   int32                                           `` /* 127-byte string literal not displayed */
	CurrentPoolTotalBorrowCounter          int32                                           `` /* 156-byte string literal not displayed */
	PoolCreatedTime                        time.Time                                       `protobuf:"bytes,28,opt,name=pool_created_time,json=poolCreatedTime,proto3,stdtime" json:"pool_created_time"`
	PoolFirstDueTime                       time.Time                                       `protobuf:"bytes,29,opt,name=pool_first_due_time,json=poolFirstDueTime,proto3,stdtime" json:"pool_first_due_time"`
	GraceTime                              time.Duration                                   `protobuf:"bytes,30,opt,name=grace_time,json=graceTime,proto3,stdduration" json:"grace_time"`
	NegativeInterestCounter                int32                                           `` /* 134-byte string literal not displayed */
	LiquidationRatio                       github_com_cosmos_cosmos_sdk_types.Dec          `` /* 150-byte string literal not displayed */
	TotalLiquidationAmount                 github_com_cosmos_cosmos_sdk_types.Int          `` /* 170-byte string literal not displayed */
	PrincipalPaymentExchangeRatio          github_com_cosmos_cosmos_sdk_types.Dec          `` /* 193-byte string literal not displayed */
	PrincipalWithdrawalRequestPaymentRatio github_com_cosmos_cosmos_sdk_types.Dec          `` /* 222-byte string literal not displayed */
	PoolDenomPrefix                        string                                          `protobuf:"bytes,37,opt,name=pool_denom_prefix,json=poolDenomPrefix,proto3" json:"pool_denom_prefix,omitempty"`
	InterestPrepayment                     *InterestPrepayment                             `protobuf:"bytes,38,opt,name=interest_prepayment,json=interestPrepayment,proto3" json:"interest_prepayment,omitempty"`
	ProcessedTransferAccounts              []github_com_cosmos_cosmos_sdk_types.AccAddress `` /* 194-byte string literal not displayed */
	ProjectName                            string                                          `protobuf:"bytes,40,opt,name=project_name,json=projectName,proto3" json:"project_name,omitempty"`
	SeparatePool                           bool                                            `protobuf:"varint,41,opt,name=separate_pool,json=separatePool,proto3" json:"separate_pool,omitempty"`
	ProcessedWithdrawAccounts              []github_com_cosmos_cosmos_sdk_types.AccAddress `` /* 194-byte string literal not displayed */
	TotalTransferOwnershipAmount           types.Coin                                      `` /* 194-byte string literal not displayed */
	// the minimum amount of coins that can be withdrawn from the pool for the first time
	MinBorrowAmount types.Coin `` /* 153-byte string literal not displayed */
}

func (*PoolInfo) Descriptor

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

func (*PoolInfo) GetBorrowedAmount

func (m *PoolInfo) GetBorrowedAmount() types.Coin

func (*PoolInfo) GetCurrentPoolTotalBorrowCounter

func (m *PoolInfo) GetCurrentPoolTotalBorrowCounter() int32

func (*PoolInfo) GetEscrowPrincipalAmount

func (m *PoolInfo) GetEscrowPrincipalAmount() types.Coin

func (*PoolInfo) GetGraceTime

func (m *PoolInfo) GetGraceTime() time.Duration

func (*PoolInfo) GetIndex

func (m *PoolInfo) GetIndex() string

func (*PoolInfo) GetInterestPrepayment

func (m *PoolInfo) GetInterestPrepayment() *InterestPrepayment

func (*PoolInfo) GetLastPaymentTime

func (m *PoolInfo) GetLastPaymentTime() time.Time

func (*PoolInfo) GetLinkedProject

func (m *PoolInfo) GetLinkedProject() int32

func (*PoolInfo) GetMinBorrowAmount

func (m *PoolInfo) GetMinBorrowAmount() types.Coin

func (*PoolInfo) GetNegativeInterestCounter

func (m *PoolInfo) GetNegativeInterestCounter() int32

func (*PoolInfo) GetOwnerAddress

func (*PoolInfo) GetPayFreq

func (m *PoolInfo) GetPayFreq() int32

func (*PoolInfo) GetPoolCreatedTime

func (m *PoolInfo) GetPoolCreatedTime() time.Time

func (*PoolInfo) GetPoolDenomPrefix

func (m *PoolInfo) GetPoolDenomPrefix() string

func (*PoolInfo) GetPoolFirstDueTime

func (m *PoolInfo) GetPoolFirstDueTime() time.Time

func (*PoolInfo) GetPoolLockedSeconds

func (m *PoolInfo) GetPoolLockedSeconds() int32

func (*PoolInfo) GetPoolNFTIds

func (m *PoolInfo) GetPoolNFTIds() []string

func (*PoolInfo) GetPoolName

func (m *PoolInfo) GetPoolName() string

func (*PoolInfo) GetPoolStatus

func (m *PoolInfo) GetPoolStatus() PoolInfo_POOLSTATUS

func (*PoolInfo) GetPoolTotalBorrowLimit

func (m *PoolInfo) GetPoolTotalBorrowLimit() int32

func (*PoolInfo) GetPoolType

func (m *PoolInfo) GetPoolType() PoolInfo_POOLTYPE

func (*PoolInfo) GetPrincipalPaid

func (m *PoolInfo) GetPrincipalPaid() bool

func (*PoolInfo) GetProcessedTransferAccounts

func (m *PoolInfo) GetProcessedTransferAccounts() []github_com_cosmos_cosmos_sdk_types.AccAddress

func (*PoolInfo) GetProcessedWithdrawAccounts

func (m *PoolInfo) GetProcessedWithdrawAccounts() []github_com_cosmos_cosmos_sdk_types.AccAddress

func (*PoolInfo) GetProjectDueTime

func (m *PoolInfo) GetProjectDueTime() time.Time

func (*PoolInfo) GetProjectLength

func (m *PoolInfo) GetProjectLength() uint64

func (*PoolInfo) GetProjectName

func (m *PoolInfo) GetProjectName() string

func (*PoolInfo) GetSeparatePool

func (m *PoolInfo) GetSeparatePool() bool

func (*PoolInfo) GetTargetAmount

func (m *PoolInfo) GetTargetAmount() types.Coin

func (*PoolInfo) GetTotalTransferOwnershipAmount

func (m *PoolInfo) GetTotalTransferOwnershipAmount() types.Coin

func (*PoolInfo) GetTransferAccounts

func (m *PoolInfo) GetTransferAccounts() []github_com_cosmos_cosmos_sdk_types.AccAddress

func (*PoolInfo) GetUsableAmount

func (m *PoolInfo) GetUsableAmount() types.Coin

func (*PoolInfo) GetWithdrawAccounts

func (m *PoolInfo) GetWithdrawAccounts() []github_com_cosmos_cosmos_sdk_types.AccAddress

func (*PoolInfo) GetWithdrawProposalAmount

func (m *PoolInfo) GetWithdrawProposalAmount() types.Coin

func (*PoolInfo) GetWithdrawRequestWindowSeconds

func (m *PoolInfo) GetWithdrawRequestWindowSeconds() int32

func (*PoolInfo) Marshal

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

func (*PoolInfo) MarshalTo

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

func (*PoolInfo) MarshalToSizedBuffer

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

func (*PoolInfo) ProtoMessage

func (*PoolInfo) ProtoMessage()

func (*PoolInfo) Reset

func (m *PoolInfo) Reset()

func (*PoolInfo) Size

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

func (*PoolInfo) String

func (m *PoolInfo) String() string

func (*PoolInfo) Unmarshal

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

func (*PoolInfo) XXX_DiscardUnknown

func (m *PoolInfo) XXX_DiscardUnknown()

func (*PoolInfo) XXX_Marshal

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

func (*PoolInfo) XXX_Merge

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

func (*PoolInfo) XXX_Size

func (m *PoolInfo) XXX_Size() int

func (*PoolInfo) XXX_Unmarshal

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

type PoolInfo_POOLSTATUS

type PoolInfo_POOLSTATUS int32
const (
	PoolInfo_ACTIVE           PoolInfo_POOLSTATUS = 0
	PoolInfo_INACTIVE         PoolInfo_POOLSTATUS = 1
	PoolInfo_FROZEN           PoolInfo_POOLSTATUS = 2
	PoolInfo_PREPARE          PoolInfo_POOLSTATUS = 3
	PoolInfo_FREEZING         PoolInfo_POOLSTATUS = 4
	PoolInfo_Liquidation      PoolInfo_POOLSTATUS = 5
	PoolInfo_PooLPayPartially PoolInfo_POOLSTATUS = 6
)

func (PoolInfo_POOLSTATUS) EnumDescriptor

func (PoolInfo_POOLSTATUS) EnumDescriptor() ([]byte, []int)

func (PoolInfo_POOLSTATUS) String

func (x PoolInfo_POOLSTATUS) String() string

type PoolInfo_POOLTYPE

type PoolInfo_POOLTYPE int32
const (
	PoolInfo_JUNIOR PoolInfo_POOLTYPE = 0
	PoolInfo_SENIOR PoolInfo_POOLTYPE = 1
)

func (PoolInfo_POOLTYPE) EnumDescriptor

func (PoolInfo_POOLTYPE) EnumDescriptor() ([]byte, []int)

func (PoolInfo_POOLTYPE) String

func (x PoolInfo_POOLTYPE) String() string

type PoolWithInvestors

type PoolWithInvestors struct {
	PoolIndex string   `protobuf:"bytes,1,opt,name=pool_index,json=poolIndex,proto3" json:"pool_index,omitempty"`
	Investors []string `protobuf:"bytes,2,rep,name=investors,proto3" json:"investors,omitempty"`
}

func (*PoolWithInvestors) Descriptor

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

func (*PoolWithInvestors) GetInvestors

func (m *PoolWithInvestors) GetInvestors() []string

func (*PoolWithInvestors) GetPoolIndex

func (m *PoolWithInvestors) GetPoolIndex() string

func (*PoolWithInvestors) Marshal

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

func (*PoolWithInvestors) MarshalTo

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

func (*PoolWithInvestors) MarshalToSizedBuffer

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

func (*PoolWithInvestors) ProtoMessage

func (*PoolWithInvestors) ProtoMessage()

func (*PoolWithInvestors) Reset

func (m *PoolWithInvestors) Reset()

func (*PoolWithInvestors) Size

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

func (*PoolWithInvestors) String

func (m *PoolWithInvestors) String() string

func (*PoolWithInvestors) Unmarshal

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

func (*PoolWithInvestors) XXX_DiscardUnknown

func (m *PoolWithInvestors) XXX_DiscardUnknown()

func (*PoolWithInvestors) XXX_Marshal

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

func (*PoolWithInvestors) XXX_Merge

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

func (*PoolWithInvestors) XXX_Size

func (m *PoolWithInvestors) XXX_Size() int

func (*PoolWithInvestors) XXX_Unmarshal

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

type PriceFeedKeeper

type PriceFeedKeeper interface {
	GetCurrentPrice(ctx sdk.Context, marketID string) (types2.CurrentPrice, error)
}

type QueryAllowedPoolsRequest

type QueryAllowedPoolsRequest struct {
	WalletAddress string `protobuf:"bytes,1,opt,name=wallet_address,json=walletAddress,proto3" json:"wallet_address,omitempty"`
}

func (*QueryAllowedPoolsRequest) Descriptor

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

func (*QueryAllowedPoolsRequest) GetWalletAddress

func (m *QueryAllowedPoolsRequest) GetWalletAddress() string

func (*QueryAllowedPoolsRequest) Marshal

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

func (*QueryAllowedPoolsRequest) MarshalTo

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

func (*QueryAllowedPoolsRequest) MarshalToSizedBuffer

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

func (*QueryAllowedPoolsRequest) ProtoMessage

func (*QueryAllowedPoolsRequest) ProtoMessage()

func (*QueryAllowedPoolsRequest) Reset

func (m *QueryAllowedPoolsRequest) Reset()

func (*QueryAllowedPoolsRequest) Size

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

func (*QueryAllowedPoolsRequest) String

func (m *QueryAllowedPoolsRequest) String() string

func (*QueryAllowedPoolsRequest) Unmarshal

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

func (*QueryAllowedPoolsRequest) XXX_DiscardUnknown

func (m *QueryAllowedPoolsRequest) XXX_DiscardUnknown()

func (*QueryAllowedPoolsRequest) XXX_Marshal

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

func (*QueryAllowedPoolsRequest) XXX_Merge

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

func (*QueryAllowedPoolsRequest) XXX_Size

func (m *QueryAllowedPoolsRequest) XXX_Size() int

func (*QueryAllowedPoolsRequest) XXX_Unmarshal

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

type QueryAllowedPoolsResponse

type QueryAllowedPoolsResponse struct {
	PoolsIndex []string `protobuf:"bytes,1,rep,name=pools_index,json=poolsIndex,proto3" json:"pools_index,omitempty"`
}

func (*QueryAllowedPoolsResponse) Descriptor

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

func (*QueryAllowedPoolsResponse) GetPoolsIndex

func (m *QueryAllowedPoolsResponse) GetPoolsIndex() []string

func (*QueryAllowedPoolsResponse) Marshal

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

func (*QueryAllowedPoolsResponse) MarshalTo

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

func (*QueryAllowedPoolsResponse) MarshalToSizedBuffer

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

func (*QueryAllowedPoolsResponse) ProtoMessage

func (*QueryAllowedPoolsResponse) ProtoMessage()

func (*QueryAllowedPoolsResponse) Reset

func (m *QueryAllowedPoolsResponse) Reset()

func (*QueryAllowedPoolsResponse) Size

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

func (*QueryAllowedPoolsResponse) String

func (m *QueryAllowedPoolsResponse) String() string

func (*QueryAllowedPoolsResponse) Unmarshal

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

func (*QueryAllowedPoolsResponse) XXX_DiscardUnknown

func (m *QueryAllowedPoolsResponse) XXX_DiscardUnknown()

func (*QueryAllowedPoolsResponse) XXX_Marshal

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

func (*QueryAllowedPoolsResponse) XXX_Merge

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

func (*QueryAllowedPoolsResponse) XXX_Size

func (m *QueryAllowedPoolsResponse) XXX_Size() int

func (*QueryAllowedPoolsResponse) XXX_Unmarshal

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

type QueryClaimableInterestRequest

type QueryClaimableInterestRequest struct {
	Wallet    string `protobuf:"bytes,1,opt,name=wallet,proto3" json:"wallet,omitempty"`
	PoolIndex string `protobuf:"bytes,2,opt,name=pool_index,json=poolIndex,proto3" json:"pool_index,omitempty"`
}

func (*QueryClaimableInterestRequest) Descriptor

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

func (*QueryClaimableInterestRequest) GetPoolIndex

func (m *QueryClaimableInterestRequest) GetPoolIndex() string

func (*QueryClaimableInterestRequest) GetWallet

func (m *QueryClaimableInterestRequest) GetWallet() string

func (*QueryClaimableInterestRequest) Marshal

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

func (*QueryClaimableInterestRequest) MarshalTo

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

func (*QueryClaimableInterestRequest) MarshalToSizedBuffer

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

func (*QueryClaimableInterestRequest) ProtoMessage

func (*QueryClaimableInterestRequest) ProtoMessage()

func (*QueryClaimableInterestRequest) Reset

func (m *QueryClaimableInterestRequest) Reset()

func (*QueryClaimableInterestRequest) Size

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

func (*QueryClaimableInterestRequest) String

func (*QueryClaimableInterestRequest) Unmarshal

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

func (*QueryClaimableInterestRequest) XXX_DiscardUnknown

func (m *QueryClaimableInterestRequest) XXX_DiscardUnknown()

func (*QueryClaimableInterestRequest) XXX_Marshal

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

func (*QueryClaimableInterestRequest) XXX_Merge

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

func (*QueryClaimableInterestRequest) XXX_Size

func (m *QueryClaimableInterestRequest) XXX_Size() int

func (*QueryClaimableInterestRequest) XXX_Unmarshal

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

type QueryClaimableInterestResponse

type QueryClaimableInterestResponse struct {
	ClaimableInterestAmount types.Coin `` /* 176-byte string literal not displayed */
}

func (*QueryClaimableInterestResponse) Descriptor

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

func (*QueryClaimableInterestResponse) GetClaimableInterestAmount

func (m *QueryClaimableInterestResponse) GetClaimableInterestAmount() types.Coin

func (*QueryClaimableInterestResponse) Marshal

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

func (*QueryClaimableInterestResponse) MarshalTo

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

func (*QueryClaimableInterestResponse) MarshalToSizedBuffer

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

func (*QueryClaimableInterestResponse) ProtoMessage

func (*QueryClaimableInterestResponse) ProtoMessage()

func (*QueryClaimableInterestResponse) Reset

func (m *QueryClaimableInterestResponse) Reset()

func (*QueryClaimableInterestResponse) Size

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

func (*QueryClaimableInterestResponse) String

func (*QueryClaimableInterestResponse) Unmarshal

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

func (*QueryClaimableInterestResponse) XXX_DiscardUnknown

func (m *QueryClaimableInterestResponse) XXX_DiscardUnknown()

func (*QueryClaimableInterestResponse) XXX_Marshal

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

func (*QueryClaimableInterestResponse) XXX_Merge

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

func (*QueryClaimableInterestResponse) XXX_Size

func (m *QueryClaimableInterestResponse) XXX_Size() int

func (*QueryClaimableInterestResponse) XXX_Unmarshal

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

type QueryClient

type QueryClient interface {
	// Parameters queries the parameters of the module.
	Params(ctx context.Context, in *QueryParamsRequest, opts ...grpc.CallOption) (*QueryParamsResponse, error)
	// Queries a list of Listpools items.
	ListPools(ctx context.Context, in *QueryListPoolsRequest, opts ...grpc.CallOption) (*QueryListPoolsResponse, error)
	// Queries a list of QueryPool items.
	QueryPool(ctx context.Context, in *QueryQueryPoolRequest, opts ...grpc.CallOption) (*QueryQueryPoolResponse, error)
	Depositor(ctx context.Context, in *QueryDepositorRequest, opts ...grpc.CallOption) (*QueryDepositorResponse, error)
	// Queries a list of AllowedPools items.
	AllowedPools(ctx context.Context, in *QueryAllowedPoolsRequest, opts ...grpc.CallOption) (*QueryAllowedPoolsResponse, error)
	OutstandingInterest(ctx context.Context, in *QueryOutstandingInterestRequest, opts ...grpc.CallOption) (*QueryOutstandingInterestResponse, error)
	// Queries a list of ClaimableInterest items.
	ClaimableInterest(ctx context.Context, in *QueryClaimableInterestRequest, opts ...grpc.CallOption) (*QueryClaimableInterestResponse, error)
	// Queries a list of withdrawalPrincipal items.
	WithdrawalPrincipal(ctx context.Context, in *QuerywithdrawalPrincipalRequest, opts ...grpc.CallOption) (*QuerywithdrawalPrincipalResponse, error)
	// Queries a list of TotalReserve items.
	TotalReserve(ctx context.Context, in *QueryTotalReserveRequest, opts ...grpc.CallOption) (*QueryTotalReserveResponse, error)
	// Queries a list of investors
	PoolInvestors(ctx context.Context, in *QueryPoolInvestorsRequest, opts ...grpc.CallOption) (*QueryPoolInvestorsResponse, 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 QueryDepositorRequest

type QueryDepositorRequest struct {
	WalletAddress    string `protobuf:"bytes,1,opt,name=walletAddress,proto3" json:"walletAddress,omitempty"`
	DepositPoolIndex string `protobuf:"bytes,2,opt,name=deposit_pool_index,json=depositPoolIndex,proto3" json:"deposit_pool_index,omitempty"`
}

func (*QueryDepositorRequest) Descriptor

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

func (*QueryDepositorRequest) GetDepositPoolIndex

func (m *QueryDepositorRequest) GetDepositPoolIndex() string

func (*QueryDepositorRequest) GetWalletAddress

func (m *QueryDepositorRequest) GetWalletAddress() string

func (*QueryDepositorRequest) Marshal

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

func (*QueryDepositorRequest) MarshalTo

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

func (*QueryDepositorRequest) MarshalToSizedBuffer

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

func (*QueryDepositorRequest) ProtoMessage

func (*QueryDepositorRequest) ProtoMessage()

func (*QueryDepositorRequest) Reset

func (m *QueryDepositorRequest) Reset()

func (*QueryDepositorRequest) Size

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

func (*QueryDepositorRequest) String

func (m *QueryDepositorRequest) String() string

func (*QueryDepositorRequest) Unmarshal

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

func (*QueryDepositorRequest) XXX_DiscardUnknown

func (m *QueryDepositorRequest) XXX_DiscardUnknown()

func (*QueryDepositorRequest) XXX_Marshal

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

func (*QueryDepositorRequest) XXX_Merge

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

func (*QueryDepositorRequest) XXX_Size

func (m *QueryDepositorRequest) XXX_Size() int

func (*QueryDepositorRequest) XXX_Unmarshal

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

type QueryDepositorResponse

type QueryDepositorResponse struct {
	Depositor *DepositorInfo `protobuf:"bytes,1,opt,name=depositor,proto3" json:"depositor,omitempty"`
}

func (*QueryDepositorResponse) Descriptor

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

func (*QueryDepositorResponse) GetDepositor

func (m *QueryDepositorResponse) GetDepositor() *DepositorInfo

func (*QueryDepositorResponse) Marshal

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

func (*QueryDepositorResponse) MarshalTo

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

func (*QueryDepositorResponse) MarshalToSizedBuffer

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

func (*QueryDepositorResponse) ProtoMessage

func (*QueryDepositorResponse) ProtoMessage()

func (*QueryDepositorResponse) Reset

func (m *QueryDepositorResponse) Reset()

func (*QueryDepositorResponse) Size

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

func (*QueryDepositorResponse) String

func (m *QueryDepositorResponse) String() string

func (*QueryDepositorResponse) Unmarshal

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

func (*QueryDepositorResponse) XXX_DiscardUnknown

func (m *QueryDepositorResponse) XXX_DiscardUnknown()

func (*QueryDepositorResponse) XXX_Marshal

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

func (*QueryDepositorResponse) XXX_Merge

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

func (*QueryDepositorResponse) XXX_Size

func (m *QueryDepositorResponse) XXX_Size() int

func (*QueryDepositorResponse) XXX_Unmarshal

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

type QueryListPoolsRequest

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

func (*QueryListPoolsRequest) Descriptor

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

func (*QueryListPoolsRequest) GetPagination

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

func (*QueryListPoolsRequest) Marshal

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

func (*QueryListPoolsRequest) MarshalTo

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

func (*QueryListPoolsRequest) MarshalToSizedBuffer

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

func (*QueryListPoolsRequest) ProtoMessage

func (*QueryListPoolsRequest) ProtoMessage()

func (*QueryListPoolsRequest) Reset

func (m *QueryListPoolsRequest) Reset()

func (*QueryListPoolsRequest) Size

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

func (*QueryListPoolsRequest) String

func (m *QueryListPoolsRequest) String() string

func (*QueryListPoolsRequest) Unmarshal

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

func (*QueryListPoolsRequest) XXX_DiscardUnknown

func (m *QueryListPoolsRequest) XXX_DiscardUnknown()

func (*QueryListPoolsRequest) XXX_Marshal

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

func (*QueryListPoolsRequest) XXX_Merge

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

func (*QueryListPoolsRequest) XXX_Size

func (m *QueryListPoolsRequest) XXX_Size() int

func (*QueryListPoolsRequest) XXX_Unmarshal

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

type QueryListPoolsResponse

type QueryListPoolsResponse struct {
	PoolsInfo  []*PoolInfo         `protobuf:"bytes,1,rep,name=pools_info,json=poolsInfo,proto3" json:"pools_info,omitempty"`
	Pagination *query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

func (*QueryListPoolsResponse) Descriptor

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

func (*QueryListPoolsResponse) GetPagination

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

func (*QueryListPoolsResponse) GetPoolsInfo

func (m *QueryListPoolsResponse) GetPoolsInfo() []*PoolInfo

func (*QueryListPoolsResponse) Marshal

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

func (*QueryListPoolsResponse) MarshalTo

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

func (*QueryListPoolsResponse) MarshalToSizedBuffer

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

func (*QueryListPoolsResponse) ProtoMessage

func (*QueryListPoolsResponse) ProtoMessage()

func (*QueryListPoolsResponse) Reset

func (m *QueryListPoolsResponse) Reset()

func (*QueryListPoolsResponse) Size

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

func (*QueryListPoolsResponse) String

func (m *QueryListPoolsResponse) String() string

func (*QueryListPoolsResponse) Unmarshal

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

func (*QueryListPoolsResponse) XXX_DiscardUnknown

func (m *QueryListPoolsResponse) XXX_DiscardUnknown()

func (*QueryListPoolsResponse) XXX_Marshal

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

func (*QueryListPoolsResponse) XXX_Merge

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

func (*QueryListPoolsResponse) XXX_Size

func (m *QueryListPoolsResponse) XXX_Size() int

func (*QueryListPoolsResponse) XXX_Unmarshal

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

type QueryOutstandingInterestRequest

type QueryOutstandingInterestRequest struct {
	Wallet    string `protobuf:"bytes,1,opt,name=wallet,proto3" json:"wallet,omitempty"`
	PoolIndex string `protobuf:"bytes,2,opt,name=pool_index,json=poolIndex,proto3" json:"pool_index,omitempty"`
}

func (*QueryOutstandingInterestRequest) Descriptor

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

func (*QueryOutstandingInterestRequest) GetPoolIndex

func (m *QueryOutstandingInterestRequest) GetPoolIndex() string

func (*QueryOutstandingInterestRequest) GetWallet

func (m *QueryOutstandingInterestRequest) GetWallet() string

func (*QueryOutstandingInterestRequest) Marshal

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

func (*QueryOutstandingInterestRequest) MarshalTo

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

func (*QueryOutstandingInterestRequest) MarshalToSizedBuffer

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

func (*QueryOutstandingInterestRequest) ProtoMessage

func (*QueryOutstandingInterestRequest) ProtoMessage()

func (*QueryOutstandingInterestRequest) Reset

func (*QueryOutstandingInterestRequest) Size

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

func (*QueryOutstandingInterestRequest) String

func (*QueryOutstandingInterestRequest) Unmarshal

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

func (*QueryOutstandingInterestRequest) XXX_DiscardUnknown

func (m *QueryOutstandingInterestRequest) XXX_DiscardUnknown()

func (*QueryOutstandingInterestRequest) XXX_Marshal

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

func (*QueryOutstandingInterestRequest) XXX_Merge

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

func (*QueryOutstandingInterestRequest) XXX_Size

func (m *QueryOutstandingInterestRequest) XXX_Size() int

func (*QueryOutstandingInterestRequest) XXX_Unmarshal

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

type QueryOutstandingInterestResponse

type QueryOutstandingInterestResponse struct {
	Amount string `protobuf:"bytes,1,opt,name=amount,proto3" json:"amount,omitempty"`
}

func (*QueryOutstandingInterestResponse) Descriptor

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

func (*QueryOutstandingInterestResponse) GetAmount

func (*QueryOutstandingInterestResponse) Marshal

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

func (*QueryOutstandingInterestResponse) MarshalTo

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

func (*QueryOutstandingInterestResponse) MarshalToSizedBuffer

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

func (*QueryOutstandingInterestResponse) ProtoMessage

func (*QueryOutstandingInterestResponse) ProtoMessage()

func (*QueryOutstandingInterestResponse) Reset

func (*QueryOutstandingInterestResponse) Size

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

func (*QueryOutstandingInterestResponse) String

func (*QueryOutstandingInterestResponse) Unmarshal

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

func (*QueryOutstandingInterestResponse) XXX_DiscardUnknown

func (m *QueryOutstandingInterestResponse) XXX_DiscardUnknown()

func (*QueryOutstandingInterestResponse) XXX_Marshal

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

func (*QueryOutstandingInterestResponse) XXX_Merge

func (*QueryOutstandingInterestResponse) XXX_Size

func (m *QueryOutstandingInterestResponse) XXX_Size() int

func (*QueryOutstandingInterestResponse) XXX_Unmarshal

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

type QueryParamsRequest

type QueryParamsRequest struct {
}

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

func (*QueryParamsRequest) Descriptor

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

func (*QueryParamsRequest) Marshal

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

func (*QueryParamsRequest) MarshalTo

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

func (*QueryParamsRequest) MarshalToSizedBuffer

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

func (*QueryParamsRequest) ProtoMessage

func (*QueryParamsRequest) ProtoMessage()

func (*QueryParamsRequest) Reset

func (m *QueryParamsRequest) Reset()

func (*QueryParamsRequest) Size

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

func (*QueryParamsRequest) String

func (m *QueryParamsRequest) String() string

func (*QueryParamsRequest) Unmarshal

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

func (*QueryParamsRequest) XXX_DiscardUnknown

func (m *QueryParamsRequest) XXX_DiscardUnknown()

func (*QueryParamsRequest) XXX_Marshal

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

func (*QueryParamsRequest) XXX_Merge

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

func (*QueryParamsRequest) XXX_Size

func (m *QueryParamsRequest) XXX_Size() int

func (*QueryParamsRequest) XXX_Unmarshal

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

type QueryParamsResponse

type QueryParamsResponse struct {
	// params holds all the parameters of this module.
	Params Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params"`
}

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

func (*QueryParamsResponse) Descriptor

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

func (*QueryParamsResponse) GetParams

func (m *QueryParamsResponse) GetParams() Params

func (*QueryParamsResponse) Marshal

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

func (*QueryParamsResponse) MarshalTo

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

func (*QueryParamsResponse) MarshalToSizedBuffer

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

func (*QueryParamsResponse) ProtoMessage

func (*QueryParamsResponse) ProtoMessage()

func (*QueryParamsResponse) Reset

func (m *QueryParamsResponse) Reset()

func (*QueryParamsResponse) Size

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

func (*QueryParamsResponse) String

func (m *QueryParamsResponse) String() string

func (*QueryParamsResponse) Unmarshal

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

func (*QueryParamsResponse) XXX_DiscardUnknown

func (m *QueryParamsResponse) XXX_DiscardUnknown()

func (*QueryParamsResponse) XXX_Marshal

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

func (*QueryParamsResponse) XXX_Merge

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

func (*QueryParamsResponse) XXX_Size

func (m *QueryParamsResponse) XXX_Size() int

func (*QueryParamsResponse) XXX_Unmarshal

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

type QueryPoolInvestorsRequest

type QueryPoolInvestorsRequest struct {
	PoolIndex string `protobuf:"bytes,1,opt,name=poolIndex,proto3" json:"poolIndex,omitempty"`
}

func (*QueryPoolInvestorsRequest) Descriptor

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

func (*QueryPoolInvestorsRequest) GetPoolIndex

func (m *QueryPoolInvestorsRequest) GetPoolIndex() string

func (*QueryPoolInvestorsRequest) Marshal

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

func (*QueryPoolInvestorsRequest) MarshalTo

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

func (*QueryPoolInvestorsRequest) MarshalToSizedBuffer

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

func (*QueryPoolInvestorsRequest) ProtoMessage

func (*QueryPoolInvestorsRequest) ProtoMessage()

func (*QueryPoolInvestorsRequest) Reset

func (m *QueryPoolInvestorsRequest) Reset()

func (*QueryPoolInvestorsRequest) Size

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

func (*QueryPoolInvestorsRequest) String

func (m *QueryPoolInvestorsRequest) String() string

func (*QueryPoolInvestorsRequest) Unmarshal

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

func (*QueryPoolInvestorsRequest) XXX_DiscardUnknown

func (m *QueryPoolInvestorsRequest) XXX_DiscardUnknown()

func (*QueryPoolInvestorsRequest) XXX_Marshal

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

func (*QueryPoolInvestorsRequest) XXX_Merge

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

func (*QueryPoolInvestorsRequest) XXX_Size

func (m *QueryPoolInvestorsRequest) XXX_Size() int

func (*QueryPoolInvestorsRequest) XXX_Unmarshal

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

type QueryPoolInvestorsResponse

type QueryPoolInvestorsResponse struct {
	Investors []string `protobuf:"bytes,1,rep,name=investors,proto3" json:"investors,omitempty"`
}

func (*QueryPoolInvestorsResponse) Descriptor

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

func (*QueryPoolInvestorsResponse) GetInvestors

func (m *QueryPoolInvestorsResponse) GetInvestors() []string

func (*QueryPoolInvestorsResponse) Marshal

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

func (*QueryPoolInvestorsResponse) MarshalTo

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

func (*QueryPoolInvestorsResponse) MarshalToSizedBuffer

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

func (*QueryPoolInvestorsResponse) ProtoMessage

func (*QueryPoolInvestorsResponse) ProtoMessage()

func (*QueryPoolInvestorsResponse) Reset

func (m *QueryPoolInvestorsResponse) Reset()

func (*QueryPoolInvestorsResponse) Size

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

func (*QueryPoolInvestorsResponse) String

func (m *QueryPoolInvestorsResponse) String() string

func (*QueryPoolInvestorsResponse) Unmarshal

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

func (*QueryPoolInvestorsResponse) XXX_DiscardUnknown

func (m *QueryPoolInvestorsResponse) XXX_DiscardUnknown()

func (*QueryPoolInvestorsResponse) XXX_Marshal

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

func (*QueryPoolInvestorsResponse) XXX_Merge

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

func (*QueryPoolInvestorsResponse) XXX_Size

func (m *QueryPoolInvestorsResponse) XXX_Size() int

func (*QueryPoolInvestorsResponse) XXX_Unmarshal

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

type QueryQueryPoolRequest

type QueryQueryPoolRequest struct {
	PoolIndex string `protobuf:"bytes,1,opt,name=pool_index,json=poolIndex,proto3" json:"pool_index,omitempty"`
}

func (*QueryQueryPoolRequest) Descriptor

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

func (*QueryQueryPoolRequest) GetPoolIndex

func (m *QueryQueryPoolRequest) GetPoolIndex() string

func (*QueryQueryPoolRequest) Marshal

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

func (*QueryQueryPoolRequest) MarshalTo

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

func (*QueryQueryPoolRequest) MarshalToSizedBuffer

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

func (*QueryQueryPoolRequest) ProtoMessage

func (*QueryQueryPoolRequest) ProtoMessage()

func (*QueryQueryPoolRequest) Reset

func (m *QueryQueryPoolRequest) Reset()

func (*QueryQueryPoolRequest) Size

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

func (*QueryQueryPoolRequest) String

func (m *QueryQueryPoolRequest) String() string

func (*QueryQueryPoolRequest) Unmarshal

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

func (*QueryQueryPoolRequest) XXX_DiscardUnknown

func (m *QueryQueryPoolRequest) XXX_DiscardUnknown()

func (*QueryQueryPoolRequest) XXX_Marshal

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

func (*QueryQueryPoolRequest) XXX_Merge

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

func (*QueryQueryPoolRequest) XXX_Size

func (m *QueryQueryPoolRequest) XXX_Size() int

func (*QueryQueryPoolRequest) XXX_Unmarshal

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

type QueryQueryPoolResponse

type QueryQueryPoolResponse struct {
	PoolInfo *PoolInfo `protobuf:"bytes,1,opt,name=pool_info,json=poolInfo,proto3" json:"pool_info,omitempty"`
}

func (*QueryQueryPoolResponse) Descriptor

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

func (*QueryQueryPoolResponse) GetPoolInfo

func (m *QueryQueryPoolResponse) GetPoolInfo() *PoolInfo

func (*QueryQueryPoolResponse) Marshal

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

func (*QueryQueryPoolResponse) MarshalTo

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

func (*QueryQueryPoolResponse) MarshalToSizedBuffer

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

func (*QueryQueryPoolResponse) ProtoMessage

func (*QueryQueryPoolResponse) ProtoMessage()

func (*QueryQueryPoolResponse) Reset

func (m *QueryQueryPoolResponse) Reset()

func (*QueryQueryPoolResponse) Size

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

func (*QueryQueryPoolResponse) String

func (m *QueryQueryPoolResponse) String() string

func (*QueryQueryPoolResponse) Unmarshal

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

func (*QueryQueryPoolResponse) XXX_DiscardUnknown

func (m *QueryQueryPoolResponse) XXX_DiscardUnknown()

func (*QueryQueryPoolResponse) XXX_Marshal

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

func (*QueryQueryPoolResponse) XXX_Merge

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

func (*QueryQueryPoolResponse) XXX_Size

func (m *QueryQueryPoolResponse) XXX_Size() int

func (*QueryQueryPoolResponse) XXX_Unmarshal

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

type QueryServer

type QueryServer interface {
	// Parameters queries the parameters of the module.
	Params(context.Context, *QueryParamsRequest) (*QueryParamsResponse, error)
	// Queries a list of Listpools items.
	ListPools(context.Context, *QueryListPoolsRequest) (*QueryListPoolsResponse, error)
	// Queries a list of QueryPool items.
	QueryPool(context.Context, *QueryQueryPoolRequest) (*QueryQueryPoolResponse, error)
	Depositor(context.Context, *QueryDepositorRequest) (*QueryDepositorResponse, error)
	// Queries a list of AllowedPools items.
	AllowedPools(context.Context, *QueryAllowedPoolsRequest) (*QueryAllowedPoolsResponse, error)
	OutstandingInterest(context.Context, *QueryOutstandingInterestRequest) (*QueryOutstandingInterestResponse, error)
	// Queries a list of ClaimableInterest items.
	ClaimableInterest(context.Context, *QueryClaimableInterestRequest) (*QueryClaimableInterestResponse, error)
	// Queries a list of withdrawalPrincipal items.
	WithdrawalPrincipal(context.Context, *QuerywithdrawalPrincipalRequest) (*QuerywithdrawalPrincipalResponse, error)
	// Queries a list of TotalReserve items.
	TotalReserve(context.Context, *QueryTotalReserveRequest) (*QueryTotalReserveResponse, error)
	// Queries a list of investors
	PoolInvestors(context.Context, *QueryPoolInvestorsRequest) (*QueryPoolInvestorsResponse, error)
}

QueryServer is the server API for Query service.

type QueryTotalReserveRequest

type QueryTotalReserveRequest struct {
}

func (*QueryTotalReserveRequest) Descriptor

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

func (*QueryTotalReserveRequest) Marshal

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

func (*QueryTotalReserveRequest) MarshalTo

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

func (*QueryTotalReserveRequest) MarshalToSizedBuffer

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

func (*QueryTotalReserveRequest) ProtoMessage

func (*QueryTotalReserveRequest) ProtoMessage()

func (*QueryTotalReserveRequest) Reset

func (m *QueryTotalReserveRequest) Reset()

func (*QueryTotalReserveRequest) Size

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

func (*QueryTotalReserveRequest) String

func (m *QueryTotalReserveRequest) String() string

func (*QueryTotalReserveRequest) Unmarshal

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

func (*QueryTotalReserveRequest) XXX_DiscardUnknown

func (m *QueryTotalReserveRequest) XXX_DiscardUnknown()

func (*QueryTotalReserveRequest) XXX_Marshal

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

func (*QueryTotalReserveRequest) XXX_Merge

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

func (*QueryTotalReserveRequest) XXX_Size

func (m *QueryTotalReserveRequest) XXX_Size() int

func (*QueryTotalReserveRequest) XXX_Unmarshal

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

type QueryTotalReserveResponse

type QueryTotalReserveResponse struct {
	Coins string `protobuf:"bytes,1,opt,name=coins,proto3" json:"coins,omitempty"`
}

func (*QueryTotalReserveResponse) Descriptor

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

func (*QueryTotalReserveResponse) GetCoins

func (m *QueryTotalReserveResponse) GetCoins() string

func (*QueryTotalReserveResponse) Marshal

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

func (*QueryTotalReserveResponse) MarshalTo

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

func (*QueryTotalReserveResponse) MarshalToSizedBuffer

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

func (*QueryTotalReserveResponse) ProtoMessage

func (*QueryTotalReserveResponse) ProtoMessage()

func (*QueryTotalReserveResponse) Reset

func (m *QueryTotalReserveResponse) Reset()

func (*QueryTotalReserveResponse) Size

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

func (*QueryTotalReserveResponse) String

func (m *QueryTotalReserveResponse) String() string

func (*QueryTotalReserveResponse) Unmarshal

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

func (*QueryTotalReserveResponse) XXX_DiscardUnknown

func (m *QueryTotalReserveResponse) XXX_DiscardUnknown()

func (*QueryTotalReserveResponse) XXX_Marshal

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

func (*QueryTotalReserveResponse) XXX_Merge

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

func (*QueryTotalReserveResponse) XXX_Size

func (m *QueryTotalReserveResponse) XXX_Size() int

func (*QueryTotalReserveResponse) XXX_Unmarshal

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

type QuerywithdrawalPrincipalRequest

type QuerywithdrawalPrincipalRequest struct {
	PoolIndex     string `protobuf:"bytes,1,opt,name=pool_index,json=poolIndex,proto3" json:"pool_index,omitempty"`
	WalletAddress string `protobuf:"bytes,2,opt,name=walletAddress,proto3" json:"walletAddress,omitempty"`
}

func (*QuerywithdrawalPrincipalRequest) Descriptor

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

func (*QuerywithdrawalPrincipalRequest) GetPoolIndex

func (m *QuerywithdrawalPrincipalRequest) GetPoolIndex() string

func (*QuerywithdrawalPrincipalRequest) GetWalletAddress

func (m *QuerywithdrawalPrincipalRequest) GetWalletAddress() string

func (*QuerywithdrawalPrincipalRequest) Marshal

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

func (*QuerywithdrawalPrincipalRequest) MarshalTo

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

func (*QuerywithdrawalPrincipalRequest) MarshalToSizedBuffer

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

func (*QuerywithdrawalPrincipalRequest) ProtoMessage

func (*QuerywithdrawalPrincipalRequest) ProtoMessage()

func (*QuerywithdrawalPrincipalRequest) Reset

func (*QuerywithdrawalPrincipalRequest) Size

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

func (*QuerywithdrawalPrincipalRequest) String

func (*QuerywithdrawalPrincipalRequest) Unmarshal

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

func (*QuerywithdrawalPrincipalRequest) XXX_DiscardUnknown

func (m *QuerywithdrawalPrincipalRequest) XXX_DiscardUnknown()

func (*QuerywithdrawalPrincipalRequest) XXX_Marshal

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

func (*QuerywithdrawalPrincipalRequest) XXX_Merge

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

func (*QuerywithdrawalPrincipalRequest) XXX_Size

func (m *QuerywithdrawalPrincipalRequest) XXX_Size() int

func (*QuerywithdrawalPrincipalRequest) XXX_Unmarshal

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

type QuerywithdrawalPrincipalResponse

type QuerywithdrawalPrincipalResponse struct {
	Amount string `protobuf:"bytes,1,opt,name=amount,proto3" json:"amount,omitempty"`
}

func (*QuerywithdrawalPrincipalResponse) Descriptor

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

func (*QuerywithdrawalPrincipalResponse) GetAmount

func (*QuerywithdrawalPrincipalResponse) Marshal

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

func (*QuerywithdrawalPrincipalResponse) MarshalTo

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

func (*QuerywithdrawalPrincipalResponse) MarshalToSizedBuffer

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

func (*QuerywithdrawalPrincipalResponse) ProtoMessage

func (*QuerywithdrawalPrincipalResponse) ProtoMessage()

func (*QuerywithdrawalPrincipalResponse) Reset

func (*QuerywithdrawalPrincipalResponse) Size

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

func (*QuerywithdrawalPrincipalResponse) String

func (*QuerywithdrawalPrincipalResponse) Unmarshal

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

func (*QuerywithdrawalPrincipalResponse) XXX_DiscardUnknown

func (m *QuerywithdrawalPrincipalResponse) XXX_DiscardUnknown()

func (*QuerywithdrawalPrincipalResponse) XXX_Marshal

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

func (*QuerywithdrawalPrincipalResponse) XXX_Merge

func (*QuerywithdrawalPrincipalResponse) XXX_Size

func (m *QuerywithdrawalPrincipalResponse) XXX_Size() int

func (*QuerywithdrawalPrincipalResponse) XXX_Unmarshal

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

type UnimplementedMsgServer

type UnimplementedMsgServer struct {
}

UnimplementedMsgServer can be embedded to have forward compatible implementations.

func (*UnimplementedMsgServer) ActivePool

func (*UnimplementedMsgServer) AddInvestors

func (*UnimplementedMsgServer) Borrow

func (*UnimplementedMsgServer) ClaimInterest

func (*UnimplementedMsgServer) CreatePool

func (*UnimplementedMsgServer) Deposit

func (*UnimplementedMsgServer) Liquidate

func (*UnimplementedMsgServer) PayPrincipal

func (*UnimplementedMsgServer) PayPrincipalForWithdrawalRequests

func (*UnimplementedMsgServer) PayPrincipalForWithdrawalRequests(ctx context.Context, req *MsgPayPrincipalPartial) (*MsgPayPrincipalPartialResponse, error)

func (*UnimplementedMsgServer) RepayInterest

func (*UnimplementedMsgServer) SubmitWithdrawProposal

func (*UnimplementedMsgServer) TransferOwnership

func (*UnimplementedMsgServer) UpdatePool

func (*UnimplementedMsgServer) WithdrawPrincipal

type UnimplementedQueryServer

type UnimplementedQueryServer struct {
}

UnimplementedQueryServer can be embedded to have forward compatible implementations.

func (*UnimplementedQueryServer) AllowedPools

func (*UnimplementedQueryServer) ClaimableInterest

func (*UnimplementedQueryServer) Depositor

func (*UnimplementedQueryServer) ListPools

func (*UnimplementedQueryServer) OutstandingInterest

func (*UnimplementedQueryServer) Params

func (*UnimplementedQueryServer) PoolInvestors

func (*UnimplementedQueryServer) QueryPool

func (*UnimplementedQueryServer) TotalReserve

func (*UnimplementedQueryServer) WithdrawalPrincipal

Jump to

Keyboard shortcuts

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