types

package
v0.2.5 Latest Latest
Warning

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

Go to latest
Published: Feb 29, 2024 License: Apache-2.0 Imports: 34 Imported by: 0

Documentation

Overview

Package types is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Index

Constants

View Source
const (
	SendToReserveAction   = "SendToReserve"
	SendFromReserveAction = "SendFromReserve"
)
View Source
const (
	AttributeValueCategory                 = ModuleName
	AttributeKeyActionDeposit              = "grow_deposit"
	AttributeKeyActionWithdrawal           = "grow_withdrawal"
	AttributeKeyActionCreateLend           = "create_lend"
	AttributeKeyActionDeleteLend           = "delete_lend"
	AttributeKeyActionDepositColletaral    = "deposit_collateral"
	AttributeKeyActionWithdrawalColletaral = "withdrawal_collateral"
	AttributeKeyActionCreateLiqPosition    = "create_liquidation_position"
	AttributeKeyActionCloseLiqPosition     = "close_liquidation_position"

	EventRegisterAssetProposal                           = "register_lend_asset_proposal"
	EventRegisterGTokenPairProposal                      = "register_gToken_pair_proposal"
	EventRegisterChangeGrowYieldReserveAddressProposal   = "register_change_grow_yield_reserve_address_proposal"
	EventRegisterChangeUSQReserveAddressProposal         = "register_change_usq_reserve_address_proposal"
	EventRegisterChangeGrowStakingReserveAddressProposal = "register_change_grow_staking_reserve_address_proposal"
	EventRegisterChangeRealRateProposal                  = "register_change_real_rate_proposal"
	EventRegisterChangeBorrowRateProposal                = "register_change_borrow_rate_proposal"
	EventRegisterRemoveAssetProposal                     = "register_remove_lend_asset_proposal"
	EventRegisterRemoveGTokenPairProposal                = "register_remove_gToken_pair_proposal"

	EventRegisterChangeDepositMethodStatusProposal    = "register_change_deposit_method_proposal"
	EventRegisterChangeCollateralMethodStatusProposal = "register_change_collateral_method_proposal"
	EventRegisterChangeBorrowMethodStatusProposal     = "register_change_borrow_method_proposal"
)
View Source
const (
	// ModuleName defines the module name
	ModuleName = "grow"

	// 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_grow"
)
View Source
const (
	LoanKey                    = "Loan/value/"
	LoanCountKey               = "Loan/count/"
	PairKey                    = "Pair/value/"
	PairCountKey               = "Pair/count/"
	AssetKey                   = "Asset/value/"
	AssetCountKey              = "Asset/count/"
	PositionKey                = "Position/value/"
	PositionCountKey           = "Position/count/"
	LiquidatorPositionKey      = "LiquidatorPosition/value/"
	LiquidatorPositionCountKey = "LiquidatorPosition/count/"
	LendKey                    = "Lend/value/"
	LendCountKey               = "Lend/count/"
)
View Source
const (
	DefaultLastTimeUpdateReserve     = uint64(0)
	DefaultGrowStakingReserveAddress = "qube13zq340zzjgua9h98pltzwv0ga5r0kkn0ryjz4v"
	DefaultUSQReserveAddress         = "qube1nx9scnpdnp5wsw88at9e35fng56788h7yz9srs"
	DefaultGrowYieldReserveAddress   = "qube1zzplgm7kqwe3vwqynzkvewrrhuffwhd7a77j7j"
	DefaultStatus                    = false
	DefaultInt                       = uint64(0)
)
View Source
const (
	ProposalTypeRegisterLendAssetProposal                       string = "RegisterLendAssetProposal"
	ProposalTypeRegisterGTokenPairProposal                      string = "RegisterGTokenPairProposal"
	ProposalTypeRegisterChangeGrowYieldReserveAddressProposal   string = "RegisterChangeGrowYieldReserveAddressProposal"
	ProposalTypeRegisterChangeUSQReserveAddressProposal         string = "RegisterChangeUSQReserveAddressProposal"
	ProposalTypeRegisterChangeGrowStakingReserveAddressProposal string = "RegisterChangeGrowStakingReserveAddressProposal"
	ProposalTypeRegisterChangeRealRateProposal                  string = "RegisterChangeRealRateProposal"
	ProposalTypeRegisterChangeBorrowRateProposal                string = "RegisterChangeBorrowRateProposal"
	ProposalTypeRegisterChangeLendRateProposal                  string = "RegisterChangeLendRateProposal"
	ProposalTypeRegisterRemoveLendAssetProposal                 string = "RegisterRemoveLendAssetProposal"
	ProposalTypeRegisterRemoveGTokenPairProposal                string = "RegisterRemoveGTokenPairProposal"
	/**/
	ProposalTypeRegisterChangeDepositMethodStatusProposal    string = "RegisterChangeDepositMethodStatusProposal"
	ProposalTypeRegisterChangeCollateralMethodStatusProposal string = "RegisterChangeCollateralMethodStatusProposal"
	ProposalTypeRegisterChangeBorrowMethodStatusProposal     string = "RegisterChangeBorrowMethodStatusProposal"
)

constants

View Source
const DefaultIndex uint64 = 1
View Source
const TypeMsgCloseLiquidationPosition = "close_liquidation_position"
View Source
const TypeMsgCreateBorrow = "create_borrow"
View Source
const TypeMsgCreateLend = "create_lend"
View Source
const TypeMsgDeleteBorrow = "delete_borrow"
View Source
const TypeMsgGrowDeposit = "grow_deposit"
View Source
const TypeMsgGrowWithdrawal = "grow_withdrawal"
View Source
const TypeMsgOpenLiquidationPosition = "create_liquidation_position"
View Source
const TypeMsgWithdrawalLend = "withdrawal_lend"

Variables

View Source
var (
	ErrSample                        = sdkerrors.Register(ModuleName, 1100, "sample error")
	ErrSdkIntError                   = sdkerrors.Register(ModuleName, 1101, "sdk.Int error")
	ErrIntNegativeOrZero             = sdkerrors.Register(ModuleName, 1102, "ErrIntNegativeOrZero error")
	ErrInvalidLength                 = sdkerrors.Register(ModuleName, 1103, "invalid length")
	ErrOracleAssetIdNotFound         = sdkerrors.Register(ModuleName, 1200, "ErrOracleAssetIdNotFound err")
	ErrCoinsLen                      = sdkerrors.Register(ModuleName, 1400, "ErrCoinsLen err")
	ErrDenomsNotEqual                = sdkerrors.Register(ModuleName, 1401, "ErrDenomsNotEqual err")
	ErrLiquidatorAddresesNotEqual    = sdkerrors.Register(ModuleName, 1402, "ErrLiquidatorAddresesNotEqual err")
	ErrLiquidatorPositionIdNotEqual  = sdkerrors.Register(ModuleName, 1403, "ErrLiquidatorPositionIdNotEqual err")
	ErrWrongPremium                  = sdkerrors.Register(ModuleName, 1404, "ErrWrongPremium err")
	ErrLiquidationMechanismError     = sdkerrors.Register(ModuleName, 1405, "Error in Liquidation Mechanism")
	ErrCalculateGrowRate             = sdkerrors.Register(ModuleName, 1500, "ErrCalculateGrowRate err")
	ErrRiskRatioMustBeZero           = sdkerrors.Register(ModuleName, 1501, "ErrRiskRatioMustBeZero err")
	ErrRiskRateIsGreaterThenShouldBe = sdkerrors.Register(ModuleName, 1502, "ErrRiskRateIsGreaterThenShouldBe err")
	ErrPairNotFound                  = sdkerrors.Register(ModuleName, 1701, "ErrPairNotFound err")
	ErrPositionNotFound              = sdkerrors.Register(ModuleName, 1702, "ErrPositionNotFound err")
	ErrNeedSendUSQ                   = sdkerrors.Register(ModuleName, 1703, "ErrNeedSendUSQ err")
	ErrLoanNotFound                  = sdkerrors.Register(ModuleName, 1704, "ErrLoanNotFound err")
	ErrNotEnoughAmountIn             = sdkerrors.Register(ModuleName, 1705, "ErrNotEnoughAmountIn err")
	ErrLoanNotFoundInPosition        = sdkerrors.Register(ModuleName, 1706, "ErrLoanNotFoundInPosition err")
	ErrLiqPositionNotFound           = sdkerrors.Register(ModuleName, 1707, "ErrLiqPositionNotFound err")
	ErrAssetNotFound                 = sdkerrors.Register(ModuleName, 1708, "ErrAssetNotFound err")
	ErrAmountInGTEminAmountIn        = sdkerrors.Register(ModuleName, 1801, "ErrAmountInGTEminAmountIn err")
	ErrAmountOutGTEminAmountOut      = sdkerrors.Register(ModuleName, 1802, "ErrAmountOutGTEminAmountOut err")
	ErrPriceNil                      = sdkerrors.Register(ModuleName, 1900, "ErrPriceNil err")
	ErrUserAlredyDepositCollateral   = sdkerrors.Register(ModuleName, 2000, "ErrUserAlredyDepositCollateral err")
	ErrReserveAddressEmpty           = sdkerrors.Register(ModuleName, 4000, "ErrReserveAddressEmpty err")
	ErrCalculateBIROrSIR             = sdkerrors.Register(ModuleName, 5000, "ErrCalculateBIROrSIR err")
	ErrNeedSendRigthDenom            = sdkerrors.Register(ModuleName, 6000, "ErrNeedSendRigthDenom err")
	ErrLendNotFound                  = sdkerrors.Register(ModuleName, 7000, "ErrLendNotFound err")
	ErrNotEnoughProvideValue         = sdkerrors.Register(ModuleName, 8000, "ErrNotEnoughProvideValue err")
	ErrDepositNotActivated           = sdkerrors.Register(ModuleName, 3000, "Grow Deposit is off. Wait until it is turned on to start using it. To enable the module, make a proposal in the governance.")
	ErrCollateralNotActivated        = sdkerrors.Register(ModuleName, 3001, "Grow Collateral is off. Wait until it is turned on to start using it. To enable the module, make a proposal in the governance.")
	ErrBorrowNotActivated            = sdkerrors.Register(ModuleName, 3002, "Grow Borrow is off. Wait until it is turned on to start using it. To enable the module, make a proposal in the governance.")
)
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 (
	ErrInvalidLengthLend        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowLend          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupLend = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthLiquidation        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowLiquidation          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupLiquidation = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthLoan        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowLoan          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupLoan = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	Multiplier     sdk.Int = sdk.NewInt(10000)
	CoinMultiplier sdk.Int = sdk.NewInt(1000000)
)
View Source
var (
	ErrInvalidLengthPair        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowPair          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupPair = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	KeyRealRate                  = []byte("RealRate")
	KeyBorrowRate                = []byte("BorrowRate")
	KeyLastTimeUpdateReserve     = []byte("LastTimeUpdateReserve")
	KeyGrowStakingReserveAddress = []byte("GrowStakingReserveAddress")
	KeyUSQReserveAddress         = []byte("USQReserveAddress")
	KeyGrowYieldReserveAddress   = []byte("GrowYieldReserveAddress")
	KeyDepositMethodStatus       = []byte("DepositMethodStatus")
	KeyCollateralMethodStatus    = []byte("CollateralMethodStatus")
	KeyBorrowMethodStatus        = []byte("BorrowMethodStatus")
	KeyUStaticVolatile           = []byte("UStaticVolatile")
	KeyUStaticStable             = []byte("UStaticStable")
	KeyMaxRateVolatile           = []byte("MaxRateVolatile")
	KeyMaxRateStable             = []byte("MaxRateStable")
	KeySlope1                    = []byte("Slope1")
	KeySlope2                    = []byte("Slope2")
)
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 (
	ErrInvalidLengthProposal        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowProposal          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupProposal = 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 (
	DefaultDenom = "uusd"
)

Functions

func KeyPrefix

func KeyPrefix(p string) []byte

func NewRegisterChangeBorrowMethodStatusProposal added in v0.2.1

func NewRegisterChangeBorrowMethodStatusProposal(title, description string) govtypes.Content

func NewRegisterChangeBorrowRateProposal

func NewRegisterChangeBorrowRateProposal(title, description string, rate uint64) govtypes.Content

func NewRegisterChangeCollateralMethodStatusProposal added in v0.2.1

func NewRegisterChangeCollateralMethodStatusProposal(title, description string) govtypes.Content

func NewRegisterChangeDepositMethodStatusProposal added in v0.2.1

func NewRegisterChangeDepositMethodStatusProposal(title, description string) govtypes.Content

func NewRegisterChangeGrowStakingReserveAddressProposal

func NewRegisterChangeGrowStakingReserveAddressProposal(title, description string, address string) govtypes.Content

func NewRegisterChangeGrowYieldReserveAddressProposal

func NewRegisterChangeGrowYieldReserveAddressProposal(title, description string, address string) govtypes.Content

func NewRegisterChangeLendRateProposal added in v0.2.1

func NewRegisterChangeLendRateProposal(title, description string, rate uint64, id string) govtypes.Content

func NewRegisterChangeRealRateProposal

func NewRegisterChangeRealRateProposal(title, description string, rate uint64) govtypes.Content

func NewRegisterChangeUSQReserveAddressProposal

func NewRegisterChangeUSQReserveAddressProposal(title, description string, address string) govtypes.Content

func NewRegisterGTokenPairProposal

func NewRegisterGTokenPairProposal(title, description string, metadata banktypes.Metadata, qStableId string, minAmountIn string, minAmountOut string) govtypes.Content

func NewRegisterLendAssetProposal

func NewRegisterLendAssetProposal(title, description string, assetMetadata banktypes.Metadata, oracleId string) govtypes.Content

func NewRegisterRemoveGTokenPairProposal

func NewRegisterRemoveGTokenPairProposal(title, description string, id string) govtypes.Content

func NewRegisterRemoveLendAssetProposal

func NewRegisterRemoveLendAssetProposal(title, description string, id string) govtypes.Content

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
}

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

type AllPairsRequest added in v0.2.0

type AllPairsRequest struct {
}

AllPairs

func (*AllPairsRequest) Descriptor added in v0.2.0

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

func (*AllPairsRequest) Marshal added in v0.2.0

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

func (*AllPairsRequest) MarshalTo added in v0.2.0

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

func (*AllPairsRequest) MarshalToSizedBuffer added in v0.2.0

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

func (*AllPairsRequest) ProtoMessage added in v0.2.0

func (*AllPairsRequest) ProtoMessage()

func (*AllPairsRequest) Reset added in v0.2.0

func (m *AllPairsRequest) Reset()

func (*AllPairsRequest) Size added in v0.2.0

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

func (*AllPairsRequest) String added in v0.2.0

func (m *AllPairsRequest) String() string

func (*AllPairsRequest) Unmarshal added in v0.2.0

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

func (*AllPairsRequest) XXX_DiscardUnknown added in v0.2.0

func (m *AllPairsRequest) XXX_DiscardUnknown()

func (*AllPairsRequest) XXX_Marshal added in v0.2.0

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

func (*AllPairsRequest) XXX_Merge added in v0.2.0

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

func (*AllPairsRequest) XXX_Size added in v0.2.0

func (m *AllPairsRequest) XXX_Size() int

func (*AllPairsRequest) XXX_Unmarshal added in v0.2.0

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

type AllPairsResponse added in v0.2.0

type AllPairsResponse struct {
	Pairs []*GTokenPair `protobuf:"bytes,1,rep,name=pairs,proto3" json:"pairs,omitempty"`
}

func (*AllPairsResponse) Descriptor added in v0.2.0

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

func (*AllPairsResponse) GetPairs added in v0.2.0

func (m *AllPairsResponse) GetPairs() []*GTokenPair

func (*AllPairsResponse) Marshal added in v0.2.0

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

func (*AllPairsResponse) MarshalTo added in v0.2.0

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

func (*AllPairsResponse) MarshalToSizedBuffer added in v0.2.0

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

func (*AllPairsResponse) ProtoMessage added in v0.2.0

func (*AllPairsResponse) ProtoMessage()

func (*AllPairsResponse) Reset added in v0.2.0

func (m *AllPairsResponse) Reset()

func (*AllPairsResponse) Size added in v0.2.0

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

func (*AllPairsResponse) String added in v0.2.0

func (m *AllPairsResponse) String() string

func (*AllPairsResponse) Unmarshal added in v0.2.0

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

func (*AllPairsResponse) XXX_DiscardUnknown added in v0.2.0

func (m *AllPairsResponse) XXX_DiscardUnknown()

func (*AllPairsResponse) XXX_Marshal added in v0.2.0

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

func (*AllPairsResponse) XXX_Merge added in v0.2.0

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

func (*AllPairsResponse) XXX_Size added in v0.2.0

func (m *AllPairsResponse) XXX_Size() int

func (*AllPairsResponse) XXX_Unmarshal added in v0.2.0

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

type Asset added in v0.2.5

type Asset struct {
	Id                      uint64         `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	AssetId                 string         `protobuf:"bytes,2,opt,name=AssetId,proto3" json:"AssetId,omitempty"`
	AssetMetadata           types.Metadata `protobuf:"bytes,3,opt,name=assetMetadata,proto3" json:"assetMetadata" yaml:"assetMetadata"`
	OracleAssetId           string         `protobuf:"bytes,4,opt,name=oracleAssetId,proto3" json:"oracleAssetId,omitempty"`
	ProvideValue            uint64         `protobuf:"varint,5,opt,name=provide_value,json=provideValue,proto3" json:"provide_value,omitempty"`
	CollectivelyBorrowValue uint64         `` /* 133-byte string literal not displayed */
	Type                    string         `protobuf:"bytes,7,opt,name=type,proto3" json:"type,omitempty"`
}

func (*Asset) Descriptor added in v0.2.5

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

func (*Asset) GetAssetId added in v0.2.5

func (m *Asset) GetAssetId() string

func (*Asset) GetAssetMetadata added in v0.2.5

func (m *Asset) GetAssetMetadata() types.Metadata

func (*Asset) GetCollectivelyBorrowValue added in v0.2.5

func (m *Asset) GetCollectivelyBorrowValue() uint64

func (*Asset) GetId added in v0.2.5

func (m *Asset) GetId() uint64

func (*Asset) GetOracleAssetId added in v0.2.5

func (m *Asset) GetOracleAssetId() string

func (*Asset) GetProvideValue added in v0.2.5

func (m *Asset) GetProvideValue() uint64

func (*Asset) GetType added in v0.2.5

func (m *Asset) GetType() string

func (*Asset) Marshal added in v0.2.5

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

func (*Asset) MarshalTo added in v0.2.5

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

func (*Asset) MarshalToSizedBuffer added in v0.2.5

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

func (*Asset) ProtoMessage added in v0.2.5

func (*Asset) ProtoMessage()

func (*Asset) Reset added in v0.2.5

func (m *Asset) Reset()

func (*Asset) Size added in v0.2.5

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

func (*Asset) String added in v0.2.5

func (m *Asset) String() string

func (*Asset) Unmarshal added in v0.2.5

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

func (*Asset) XXX_DiscardUnknown added in v0.2.5

func (m *Asset) XXX_DiscardUnknown()

func (*Asset) XXX_Marshal added in v0.2.5

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

func (*Asset) XXX_Merge added in v0.2.5

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

func (*Asset) XXX_Size added in v0.2.5

func (m *Asset) XXX_Size() int

func (*Asset) XXX_Unmarshal added in v0.2.5

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

type BankKeeper

type BankKeeper interface {
	SpendableCoins(ctx sdk.Context, addr sdk.AccAddress) sdk.Coins
	SendCoinsFromModuleToAccount(ctx sdk.Context, senderModule string, recipientAddr sdk.AccAddress, amt sdk.Coins) error
	SendCoinsFromModuleToModule(ctx sdk.Context, senderModule, recipientModule string, amt sdk.Coins) error
	SendCoinsFromAccountToModule(ctx sdk.Context, senderAddr sdk.AccAddress, recipientModule string, amt sdk.Coins) error
	MintCoins(ctx sdk.Context, moduleName string, amt sdk.Coins) error
	BurnCoins(ctx sdk.Context, moduleName string, amt sdk.Coins) error
	HasSupply(ctx sdk.Context, denom string) bool
	IsSendEnabledCoin(ctx sdk.Context, coin sdk.Coin) bool
	BlockedAddr(addr sdk.AccAddress) bool
	GetDenomMetaData(ctx sdk.Context, denom string) (banktypes.Metadata, bool)
	SetDenomMetaData(ctx sdk.Context, denomMetaData banktypes.Metadata)
	GetBalance(ctx sdk.Context, addr sdk.AccAddress, denom string) sdk.Coin
}

type GTokenPair

type GTokenPair struct {
	Id                          uint64                                 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	DenomID                     string                                 `protobuf:"bytes,2,opt,name=denomID,proto3" json:"denomID,omitempty"`
	QStablePairId               string                                 `protobuf:"bytes,3,opt,name=qStablePairId,proto3" json:"qStablePairId,omitempty"`
	GTokenMetadata              types.Metadata                         `protobuf:"bytes,4,opt,name=gTokenMetadata,proto3" json:"gTokenMetadata" yaml:"gTokenMetadata"`
	MinAmountIn                 string                                 `protobuf:"bytes,5,opt,name=minAmountIn,proto3" json:"minAmountIn,omitempty"`
	MinAmountOut                string                                 `protobuf:"bytes,6,opt,name=minAmountOut,proto3" json:"minAmountOut,omitempty"`
	GTokenLastPrice             github_com_cosmos_cosmos_sdk_types.Int `` /* 146-byte string literal not displayed */
	GTokenLatestPriceUpdateTime uint64                                 `protobuf:"varint,9,opt,name=gTokenLatestPriceUpdateTime,proto3" json:"gTokenLatestPriceUpdateTime,omitempty"`
	St                          github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,10,opt,name=st,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"st" yaml:"st"`
	RealRate                    uint64                                 `protobuf:"varint,11,opt,name=RealRate,proto3" json:"RealRate,omitempty"`
	BorrowRate                  uint64                                 `protobuf:"varint,12,opt,name=BorrowRate,proto3" json:"BorrowRate,omitempty"`
}

func (*GTokenPair) Descriptor

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

func (*GTokenPair) GetBorrowRate added in v0.2.1

func (m *GTokenPair) GetBorrowRate() uint64

func (*GTokenPair) GetDenomID

func (m *GTokenPair) GetDenomID() string

func (*GTokenPair) GetGTokenLatestPriceUpdateTime

func (m *GTokenPair) GetGTokenLatestPriceUpdateTime() uint64

func (*GTokenPair) GetGTokenMetadata

func (m *GTokenPair) GetGTokenMetadata() types.Metadata

func (*GTokenPair) GetId

func (m *GTokenPair) GetId() uint64

func (*GTokenPair) GetMinAmountIn

func (m *GTokenPair) GetMinAmountIn() string

func (*GTokenPair) GetMinAmountOut

func (m *GTokenPair) GetMinAmountOut() string

func (*GTokenPair) GetQStablePairId

func (m *GTokenPair) GetQStablePairId() string

func (*GTokenPair) GetRealRate added in v0.2.1

func (m *GTokenPair) GetRealRate() uint64

func (*GTokenPair) Marshal

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

func (*GTokenPair) MarshalTo

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

func (*GTokenPair) MarshalToSizedBuffer

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

func (*GTokenPair) ProtoMessage

func (*GTokenPair) ProtoMessage()

func (*GTokenPair) Reset

func (m *GTokenPair) Reset()

func (*GTokenPair) Size

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

func (*GTokenPair) String

func (m *GTokenPair) String() string

func (*GTokenPair) Unmarshal

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

func (*GTokenPair) XXX_DiscardUnknown

func (m *GTokenPair) XXX_DiscardUnknown()

func (*GTokenPair) XXX_Marshal

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

func (*GTokenPair) XXX_Merge

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

func (*GTokenPair) XXX_Size

func (m *GTokenPair) XXX_Size() int

func (*GTokenPair) XXX_Unmarshal

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

type GenesisState

type GenesisState struct {
	Params         Params       `protobuf:"bytes,1,opt,name=params,proto3" json:"params"`
	GTokenPairList []GTokenPair `protobuf:"bytes,2,rep,name=gTokenPairList,proto3" json:"gTokenPairList"`
}

GenesisState defines the grow module's genesis state.

func DefaultGenesis

func DefaultGenesis() *GenesisState

func (*GenesisState) Descriptor

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

func (*GenesisState) GetGTokenPairList

func (m *GenesisState) GetGTokenPairList() []GTokenPair

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

#nosec

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 Lend added in v0.2.5

type Lend struct {
	Id             uint64                                 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	LendId         string                                 `protobuf:"bytes,2,opt,name=lendId,proto3" json:"lendId,omitempty"`
	Borrower       string                                 `protobuf:"bytes,3,opt,name=borrower,proto3" json:"borrower,omitempty"`
	AmountIn       string                                 `protobuf:"bytes,4,opt,name=amountIn,proto3" json:"amountIn,omitempty"`
	AmountInAmount github_com_cosmos_cosmos_sdk_types.Dec `` /* 166-byte string literal not displayed */
	AmountInDenom  string                                 `protobuf:"bytes,6,opt,name=amountIn_denom,json=amountInDenom,proto3" json:"amountIn_denom,omitempty"`
	StartTime      uint64                                 `protobuf:"varint,7,opt,name=startTime,proto3" json:"startTime,omitempty"`
	OracleTicker   string                                 `protobuf:"bytes,8,opt,name=oracleTicker,proto3" json:"oracleTicker,omitempty"`
}

func (*Lend) Descriptor added in v0.2.5

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

func (*Lend) GetAmountIn added in v0.2.5

func (m *Lend) GetAmountIn() string

func (*Lend) GetAmountInDenom added in v0.2.5

func (m *Lend) GetAmountInDenom() string

func (*Lend) GetBorrower added in v0.2.5

func (m *Lend) GetBorrower() string

func (*Lend) GetId added in v0.2.5

func (m *Lend) GetId() uint64

func (*Lend) GetLendId added in v0.2.5

func (m *Lend) GetLendId() string

func (*Lend) GetOracleTicker added in v0.2.5

func (m *Lend) GetOracleTicker() string

func (*Lend) GetStartTime added in v0.2.5

func (m *Lend) GetStartTime() uint64

func (*Lend) Marshal added in v0.2.5

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

func (*Lend) MarshalTo added in v0.2.5

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

func (*Lend) MarshalToSizedBuffer added in v0.2.5

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

func (*Lend) ProtoMessage added in v0.2.5

func (*Lend) ProtoMessage()

func (*Lend) Reset added in v0.2.5

func (m *Lend) Reset()

func (*Lend) Size added in v0.2.5

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

func (*Lend) String added in v0.2.5

func (m *Lend) String() string

func (*Lend) Unmarshal added in v0.2.5

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

func (*Lend) XXX_DiscardUnknown added in v0.2.5

func (m *Lend) XXX_DiscardUnknown()

func (*Lend) XXX_Marshal added in v0.2.5

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

func (*Lend) XXX_Merge added in v0.2.5

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

func (*Lend) XXX_Size added in v0.2.5

func (m *Lend) XXX_Size() int

func (*Lend) XXX_Unmarshal added in v0.2.5

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

type LiquidatorPosition

type LiquidatorPosition struct {
	Id                   uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	LiquidatorPositionId string `protobuf:"bytes,2,opt,name=liquidatorPositionId,proto3" json:"liquidatorPositionId,omitempty"`
	WantAssetId          string `protobuf:"bytes,3,opt,name=wantAssetId,proto3" json:"wantAssetId,omitempty"`
	ProvidedAssetId      string `protobuf:"bytes,4,opt,name=providedAssetId,proto3" json:"providedAssetId,omitempty"`
	Liquidator           string `protobuf:"bytes,5,opt,name=liquidator,proto3" json:"liquidator,omitempty"`
	Amount               string `protobuf:"bytes,6,opt,name=amount,proto3" json:"amount,omitempty"`
	Premium              uint64 `protobuf:"varint,7,opt,name=premium,proto3" json:"premium,omitempty"`
}

func (*LiquidatorPosition) Descriptor

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

func (*LiquidatorPosition) GetAmount

func (m *LiquidatorPosition) GetAmount() string

func (*LiquidatorPosition) GetId

func (m *LiquidatorPosition) GetId() uint64

func (*LiquidatorPosition) GetLiquidator

func (m *LiquidatorPosition) GetLiquidator() string

func (*LiquidatorPosition) GetLiquidatorPositionId

func (m *LiquidatorPosition) GetLiquidatorPositionId() string

func (*LiquidatorPosition) GetPremium

func (m *LiquidatorPosition) GetPremium() uint64

func (*LiquidatorPosition) GetProvidedAssetId added in v0.2.5

func (m *LiquidatorPosition) GetProvidedAssetId() string

func (*LiquidatorPosition) GetWantAssetId added in v0.2.5

func (m *LiquidatorPosition) GetWantAssetId() string

func (*LiquidatorPosition) Marshal

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

func (*LiquidatorPosition) MarshalTo

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

func (*LiquidatorPosition) MarshalToSizedBuffer

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

func (*LiquidatorPosition) ProtoMessage

func (*LiquidatorPosition) ProtoMessage()

func (*LiquidatorPosition) Reset

func (m *LiquidatorPosition) Reset()

func (*LiquidatorPosition) Size

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

func (*LiquidatorPosition) String

func (m *LiquidatorPosition) String() string

func (*LiquidatorPosition) Unmarshal

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

func (*LiquidatorPosition) XXX_DiscardUnknown

func (m *LiquidatorPosition) XXX_DiscardUnknown()

func (*LiquidatorPosition) XXX_Marshal

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

func (*LiquidatorPosition) XXX_Merge

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

func (*LiquidatorPosition) XXX_Size

func (m *LiquidatorPosition) XXX_Size() int

func (*LiquidatorPosition) XXX_Unmarshal

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

type Loan

type Loan struct {
	Id                  uint64                                 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	LoanId              string                                 `protobuf:"bytes,2,opt,name=loanId,proto3" json:"loanId,omitempty"`
	Borrower            string                                 `protobuf:"bytes,3,opt,name=borrower,proto3" json:"borrower,omitempty"`
	AmountOut           string                                 `protobuf:"bytes,4,opt,name=amountOut,proto3" json:"amountOut,omitempty"`
	AmountOutAmount     github_com_cosmos_cosmos_sdk_types.Dec `` /* 170-byte string literal not displayed */
	AmountOutDenom      string                                 `protobuf:"bytes,6,opt,name=amountOut_denom,json=amountOutDenom,proto3" json:"amountOut_denom,omitempty"`
	StartTime           uint64                                 `protobuf:"varint,7,opt,name=startTime,proto3" json:"startTime,omitempty"`
	OracleTicker        string                                 `protobuf:"bytes,8,opt,name=oracleTicker,proto3" json:"oracleTicker,omitempty"`
	BorrowedAmountInUSD uint64                                 `protobuf:"varint,9,opt,name=borrowedAmountInUSD,proto3" json:"borrowedAmountInUSD,omitempty"`
}

func (*Loan) Descriptor

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

func (*Loan) GetAmountOut

func (m *Loan) GetAmountOut() string

func (*Loan) GetAmountOutDenom added in v0.2.5

func (m *Loan) GetAmountOutDenom() string

func (*Loan) GetBorrowedAmountInUSD added in v0.2.5

func (m *Loan) GetBorrowedAmountInUSD() uint64

func (*Loan) GetBorrower

func (m *Loan) GetBorrower() string

func (*Loan) GetId

func (m *Loan) GetId() uint64

func (*Loan) GetLoanId

func (m *Loan) GetLoanId() string

func (*Loan) GetOracleTicker

func (m *Loan) GetOracleTicker() string

func (*Loan) GetStartTime

func (m *Loan) GetStartTime() uint64

func (*Loan) Marshal

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

func (*Loan) MarshalTo

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

func (*Loan) MarshalToSizedBuffer

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

func (*Loan) ProtoMessage

func (*Loan) ProtoMessage()

func (*Loan) Reset

func (m *Loan) Reset()

func (*Loan) Size

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

func (*Loan) String

func (m *Loan) String() string

func (*Loan) Unmarshal

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

func (*Loan) XXX_DiscardUnknown

func (m *Loan) XXX_DiscardUnknown()

func (*Loan) XXX_Marshal

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

func (*Loan) XXX_Merge

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

func (*Loan) XXX_Size

func (m *Loan) XXX_Size() int

func (*Loan) XXX_Unmarshal

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

type MsgClient

MsgClient is the client API for Msg service.

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

func NewMsgClient

func NewMsgClient(cc grpc1.ClientConn) MsgClient

type MsgCloseLiquidationPosition

type MsgCloseLiquidationPosition struct {
	Creator              string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"`
	LiquidatorPositionId string `protobuf:"bytes,2,opt,name=liquidatorPositionId,proto3" json:"liquidatorPositionId,omitempty"`
}

func NewMsgCloseLiquidationPosition

func NewMsgCloseLiquidationPosition(creator string, id string) *MsgCloseLiquidationPosition

func (*MsgCloseLiquidationPosition) Descriptor

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

func (*MsgCloseLiquidationPosition) GetCreator

func (m *MsgCloseLiquidationPosition) GetCreator() string

func (*MsgCloseLiquidationPosition) GetLiquidatorPositionId

func (m *MsgCloseLiquidationPosition) GetLiquidatorPositionId() string

func (*MsgCloseLiquidationPosition) GetSignBytes

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

func (*MsgCloseLiquidationPosition) GetSigners

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

func (*MsgCloseLiquidationPosition) Marshal

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

func (*MsgCloseLiquidationPosition) MarshalTo

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

func (*MsgCloseLiquidationPosition) MarshalToSizedBuffer

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

func (*MsgCloseLiquidationPosition) ProtoMessage

func (*MsgCloseLiquidationPosition) ProtoMessage()

func (*MsgCloseLiquidationPosition) Reset

func (m *MsgCloseLiquidationPosition) Reset()

func (*MsgCloseLiquidationPosition) Route

func (msg *MsgCloseLiquidationPosition) Route() string

func (*MsgCloseLiquidationPosition) Size

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

func (*MsgCloseLiquidationPosition) String

func (m *MsgCloseLiquidationPosition) String() string

func (*MsgCloseLiquidationPosition) Type

func (msg *MsgCloseLiquidationPosition) Type() string

func (*MsgCloseLiquidationPosition) Unmarshal

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

func (*MsgCloseLiquidationPosition) ValidateBasic

func (msg *MsgCloseLiquidationPosition) ValidateBasic() error

func (*MsgCloseLiquidationPosition) XXX_DiscardUnknown

func (m *MsgCloseLiquidationPosition) XXX_DiscardUnknown()

func (*MsgCloseLiquidationPosition) XXX_Marshal

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

func (*MsgCloseLiquidationPosition) XXX_Merge

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

func (*MsgCloseLiquidationPosition) XXX_Size

func (m *MsgCloseLiquidationPosition) XXX_Size() int

func (*MsgCloseLiquidationPosition) XXX_Unmarshal

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

type MsgCloseLiquidationPositionResponse

type MsgCloseLiquidationPositionResponse struct {
	Creator   string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"`
	AmountOut string `protobuf:"bytes,2,opt,name=amountOut,proto3" json:"amountOut,omitempty"`
}

func (*MsgCloseLiquidationPositionResponse) Descriptor

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

func (*MsgCloseLiquidationPositionResponse) GetAmountOut

func (m *MsgCloseLiquidationPositionResponse) GetAmountOut() string

func (*MsgCloseLiquidationPositionResponse) GetCreator

func (*MsgCloseLiquidationPositionResponse) Marshal

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

func (*MsgCloseLiquidationPositionResponse) MarshalTo

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

func (*MsgCloseLiquidationPositionResponse) MarshalToSizedBuffer

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

func (*MsgCloseLiquidationPositionResponse) ProtoMessage

func (*MsgCloseLiquidationPositionResponse) ProtoMessage()

func (*MsgCloseLiquidationPositionResponse) Reset

func (*MsgCloseLiquidationPositionResponse) Size

func (*MsgCloseLiquidationPositionResponse) String

func (*MsgCloseLiquidationPositionResponse) Unmarshal

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

func (*MsgCloseLiquidationPositionResponse) XXX_DiscardUnknown

func (m *MsgCloseLiquidationPositionResponse) XXX_DiscardUnknown()

func (*MsgCloseLiquidationPositionResponse) XXX_Marshal

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

func (*MsgCloseLiquidationPositionResponse) XXX_Merge

func (*MsgCloseLiquidationPositionResponse) XXX_Size

func (*MsgCloseLiquidationPositionResponse) XXX_Unmarshal

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

type MsgCreateBorrow added in v0.2.5

type MsgCreateBorrow struct {
	Borrower      string `protobuf:"bytes,1,opt,name=borrower,proto3" json:"borrower,omitempty"`
	DenomIn       string `protobuf:"bytes,2,opt,name=denomIn,proto3" json:"denomIn,omitempty"`
	DesiredAmount string `protobuf:"bytes,3,opt,name=desiredAmount,proto3" json:"desiredAmount,omitempty"`
}

func NewMsgCreateBorrow added in v0.2.5

func NewMsgCreateBorrow(creator string, denomIn string, desiredAmount string) *MsgCreateBorrow

create_borrow

func (*MsgCreateBorrow) Descriptor added in v0.2.5

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

func (*MsgCreateBorrow) GetBorrower added in v0.2.5

func (m *MsgCreateBorrow) GetBorrower() string

func (*MsgCreateBorrow) GetDenomIn added in v0.2.5

func (m *MsgCreateBorrow) GetDenomIn() string

func (*MsgCreateBorrow) GetDesiredAmount added in v0.2.5

func (m *MsgCreateBorrow) GetDesiredAmount() string

func (*MsgCreateBorrow) GetSignBytes added in v0.2.5

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

func (*MsgCreateBorrow) GetSigners added in v0.2.5

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

func (*MsgCreateBorrow) Marshal added in v0.2.5

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

func (*MsgCreateBorrow) MarshalTo added in v0.2.5

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

func (*MsgCreateBorrow) MarshalToSizedBuffer added in v0.2.5

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

func (*MsgCreateBorrow) ProtoMessage added in v0.2.5

func (*MsgCreateBorrow) ProtoMessage()

func (*MsgCreateBorrow) Reset added in v0.2.5

func (m *MsgCreateBorrow) Reset()

func (*MsgCreateBorrow) Route added in v0.2.5

func (msg *MsgCreateBorrow) Route() string

func (*MsgCreateBorrow) Size added in v0.2.5

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

func (*MsgCreateBorrow) String added in v0.2.5

func (m *MsgCreateBorrow) String() string

func (*MsgCreateBorrow) Type added in v0.2.5

func (msg *MsgCreateBorrow) Type() string

func (*MsgCreateBorrow) Unmarshal added in v0.2.5

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

func (*MsgCreateBorrow) ValidateBasic added in v0.2.5

func (msg *MsgCreateBorrow) ValidateBasic() error

func (*MsgCreateBorrow) XXX_DiscardUnknown added in v0.2.5

func (m *MsgCreateBorrow) XXX_DiscardUnknown()

func (*MsgCreateBorrow) XXX_Marshal added in v0.2.5

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

func (*MsgCreateBorrow) XXX_Merge added in v0.2.5

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

func (*MsgCreateBorrow) XXX_Size added in v0.2.5

func (m *MsgCreateBorrow) XXX_Size() int

func (*MsgCreateBorrow) XXX_Unmarshal added in v0.2.5

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

type MsgCreateBorrowResponse added in v0.2.5

type MsgCreateBorrowResponse struct {
	Borrower  string `protobuf:"bytes,1,opt,name=borrower,proto3" json:"borrower,omitempty"`
	DenomIn   string `protobuf:"bytes,2,opt,name=denomIn,proto3" json:"denomIn,omitempty"`
	AmountOut string `protobuf:"bytes,3,opt,name=amountOut,proto3" json:"amountOut,omitempty"`
	LoanId    string `protobuf:"bytes,4,opt,name=loanId,proto3" json:"loanId,omitempty"`
}

func (*MsgCreateBorrowResponse) Descriptor added in v0.2.5

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

func (*MsgCreateBorrowResponse) GetAmountOut added in v0.2.5

func (m *MsgCreateBorrowResponse) GetAmountOut() string

func (*MsgCreateBorrowResponse) GetBorrower added in v0.2.5

func (m *MsgCreateBorrowResponse) GetBorrower() string

func (*MsgCreateBorrowResponse) GetDenomIn added in v0.2.5

func (m *MsgCreateBorrowResponse) GetDenomIn() string

func (*MsgCreateBorrowResponse) GetLoanId added in v0.2.5

func (m *MsgCreateBorrowResponse) GetLoanId() string

func (*MsgCreateBorrowResponse) Marshal added in v0.2.5

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

func (*MsgCreateBorrowResponse) MarshalTo added in v0.2.5

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

func (*MsgCreateBorrowResponse) MarshalToSizedBuffer added in v0.2.5

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

func (*MsgCreateBorrowResponse) ProtoMessage added in v0.2.5

func (*MsgCreateBorrowResponse) ProtoMessage()

func (*MsgCreateBorrowResponse) Reset added in v0.2.5

func (m *MsgCreateBorrowResponse) Reset()

func (*MsgCreateBorrowResponse) Size added in v0.2.5

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

func (*MsgCreateBorrowResponse) String added in v0.2.5

func (m *MsgCreateBorrowResponse) String() string

func (*MsgCreateBorrowResponse) Unmarshal added in v0.2.5

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

func (*MsgCreateBorrowResponse) XXX_DiscardUnknown added in v0.2.5

func (m *MsgCreateBorrowResponse) XXX_DiscardUnknown()

func (*MsgCreateBorrowResponse) XXX_Marshal added in v0.2.5

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

func (*MsgCreateBorrowResponse) XXX_Merge added in v0.2.5

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

func (*MsgCreateBorrowResponse) XXX_Size added in v0.2.5

func (m *MsgCreateBorrowResponse) XXX_Size() int

func (*MsgCreateBorrowResponse) XXX_Unmarshal added in v0.2.5

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

type MsgCreateLend

type MsgCreateLend struct {
	Depositor string `protobuf:"bytes,1,opt,name=depositor,proto3" json:"depositor,omitempty"`
	AmountIn  string `protobuf:"bytes,2,opt,name=amountIn,proto3" json:"amountIn,omitempty"`
}

func NewMsgCreateLend

func NewMsgCreateLend(creator string, amountIn string) *MsgCreateLend

deposit collateral

func (*MsgCreateLend) Descriptor

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

func (*MsgCreateLend) GetAmountIn added in v0.2.5

func (m *MsgCreateLend) GetAmountIn() string

func (*MsgCreateLend) GetDepositor added in v0.2.5

func (m *MsgCreateLend) GetDepositor() string

func (*MsgCreateLend) GetSignBytes

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

func (*MsgCreateLend) GetSigners

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

func (*MsgCreateLend) Marshal

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

func (*MsgCreateLend) MarshalTo

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

func (*MsgCreateLend) MarshalToSizedBuffer

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

func (*MsgCreateLend) ProtoMessage

func (*MsgCreateLend) ProtoMessage()

func (*MsgCreateLend) Reset

func (m *MsgCreateLend) Reset()

func (*MsgCreateLend) Route

func (msg *MsgCreateLend) Route() string

func (*MsgCreateLend) Size

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

func (*MsgCreateLend) String

func (m *MsgCreateLend) String() string

func (*MsgCreateLend) Type

func (msg *MsgCreateLend) Type() string

func (*MsgCreateLend) Unmarshal

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

func (*MsgCreateLend) ValidateBasic

func (msg *MsgCreateLend) ValidateBasic() error

func (*MsgCreateLend) XXX_DiscardUnknown

func (m *MsgCreateLend) XXX_DiscardUnknown()

func (*MsgCreateLend) XXX_Marshal

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

func (*MsgCreateLend) XXX_Merge

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

func (*MsgCreateLend) XXX_Size

func (m *MsgCreateLend) XXX_Size() int

func (*MsgCreateLend) XXX_Unmarshal

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

type MsgCreateLendResponse

type MsgCreateLendResponse struct {
	Depositor  string `protobuf:"bytes,1,opt,name=depositor,proto3" json:"depositor,omitempty"`
	PositionId string `protobuf:"bytes,2,opt,name=positionId,proto3" json:"positionId,omitempty"`
}

func (*MsgCreateLendResponse) Descriptor

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

func (*MsgCreateLendResponse) GetDepositor added in v0.2.5

func (m *MsgCreateLendResponse) GetDepositor() string

func (*MsgCreateLendResponse) GetPositionId added in v0.2.5

func (m *MsgCreateLendResponse) GetPositionId() string

func (*MsgCreateLendResponse) Marshal

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

func (*MsgCreateLendResponse) MarshalTo

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

func (*MsgCreateLendResponse) MarshalToSizedBuffer

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

func (*MsgCreateLendResponse) ProtoMessage

func (*MsgCreateLendResponse) ProtoMessage()

func (*MsgCreateLendResponse) Reset

func (m *MsgCreateLendResponse) Reset()

func (*MsgCreateLendResponse) Size

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

func (*MsgCreateLendResponse) String

func (m *MsgCreateLendResponse) String() string

func (*MsgCreateLendResponse) Unmarshal

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

func (*MsgCreateLendResponse) XXX_DiscardUnknown

func (m *MsgCreateLendResponse) XXX_DiscardUnknown()

func (*MsgCreateLendResponse) XXX_Marshal

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

func (*MsgCreateLendResponse) XXX_Merge

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

func (*MsgCreateLendResponse) XXX_Size

func (m *MsgCreateLendResponse) XXX_Size() int

func (*MsgCreateLendResponse) XXX_Unmarshal

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

type MsgDeleteBorrow added in v0.2.5

type MsgDeleteBorrow struct {
	Borrower string `protobuf:"bytes,1,opt,name=borrower,proto3" json:"borrower,omitempty"`
	AmountIn string `protobuf:"bytes,2,opt,name=amountIn,proto3" json:"amountIn,omitempty"`
	DenomOut string `protobuf:"bytes,3,opt,name=denomOut,proto3" json:"denomOut,omitempty"`
}

func NewMsgDeleteBorrow added in v0.2.5

func NewMsgDeleteBorrow(creator string, denomOut string, amount string) *MsgDeleteBorrow

func (*MsgDeleteBorrow) Descriptor added in v0.2.5

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

func (*MsgDeleteBorrow) GetAmountIn added in v0.2.5

func (m *MsgDeleteBorrow) GetAmountIn() string

func (*MsgDeleteBorrow) GetBorrower added in v0.2.5

func (m *MsgDeleteBorrow) GetBorrower() string

func (*MsgDeleteBorrow) GetDenomOut added in v0.2.5

func (m *MsgDeleteBorrow) GetDenomOut() string

func (*MsgDeleteBorrow) GetSignBytes added in v0.2.5

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

func (*MsgDeleteBorrow) GetSigners added in v0.2.5

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

func (*MsgDeleteBorrow) Marshal added in v0.2.5

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

func (*MsgDeleteBorrow) MarshalTo added in v0.2.5

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

func (*MsgDeleteBorrow) MarshalToSizedBuffer added in v0.2.5

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

func (*MsgDeleteBorrow) ProtoMessage added in v0.2.5

func (*MsgDeleteBorrow) ProtoMessage()

func (*MsgDeleteBorrow) Reset added in v0.2.5

func (m *MsgDeleteBorrow) Reset()

func (*MsgDeleteBorrow) Route added in v0.2.5

func (msg *MsgDeleteBorrow) Route() string

func (*MsgDeleteBorrow) Size added in v0.2.5

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

func (*MsgDeleteBorrow) String added in v0.2.5

func (m *MsgDeleteBorrow) String() string

func (*MsgDeleteBorrow) Type added in v0.2.5

func (msg *MsgDeleteBorrow) Type() string

func (*MsgDeleteBorrow) Unmarshal added in v0.2.5

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

func (*MsgDeleteBorrow) ValidateBasic added in v0.2.5

func (msg *MsgDeleteBorrow) ValidateBasic() error

func (*MsgDeleteBorrow) XXX_DiscardUnknown added in v0.2.5

func (m *MsgDeleteBorrow) XXX_DiscardUnknown()

func (*MsgDeleteBorrow) XXX_Marshal added in v0.2.5

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

func (*MsgDeleteBorrow) XXX_Merge added in v0.2.5

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

func (*MsgDeleteBorrow) XXX_Size added in v0.2.5

func (m *MsgDeleteBorrow) XXX_Size() int

func (*MsgDeleteBorrow) XXX_Unmarshal added in v0.2.5

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

type MsgDeleteBorrowResponse added in v0.2.5

type MsgDeleteBorrowResponse struct {
	Borrower  string `protobuf:"bytes,1,opt,name=borrower,proto3" json:"borrower,omitempty"`
	AmountOut string `protobuf:"bytes,2,opt,name=amountOut,proto3" json:"amountOut,omitempty"`
	LoanId    string `protobuf:"bytes,3,opt,name=LoanId,proto3" json:"LoanId,omitempty"`
}

func (*MsgDeleteBorrowResponse) Descriptor added in v0.2.5

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

func (*MsgDeleteBorrowResponse) GetAmountOut added in v0.2.5

func (m *MsgDeleteBorrowResponse) GetAmountOut() string

func (*MsgDeleteBorrowResponse) GetBorrower added in v0.2.5

func (m *MsgDeleteBorrowResponse) GetBorrower() string

func (*MsgDeleteBorrowResponse) GetLoanId added in v0.2.5

func (m *MsgDeleteBorrowResponse) GetLoanId() string

func (*MsgDeleteBorrowResponse) Marshal added in v0.2.5

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

func (*MsgDeleteBorrowResponse) MarshalTo added in v0.2.5

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

func (*MsgDeleteBorrowResponse) MarshalToSizedBuffer added in v0.2.5

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

func (*MsgDeleteBorrowResponse) ProtoMessage added in v0.2.5

func (*MsgDeleteBorrowResponse) ProtoMessage()

func (*MsgDeleteBorrowResponse) Reset added in v0.2.5

func (m *MsgDeleteBorrowResponse) Reset()

func (*MsgDeleteBorrowResponse) Size added in v0.2.5

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

func (*MsgDeleteBorrowResponse) String added in v0.2.5

func (m *MsgDeleteBorrowResponse) String() string

func (*MsgDeleteBorrowResponse) Unmarshal added in v0.2.5

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

func (*MsgDeleteBorrowResponse) XXX_DiscardUnknown added in v0.2.5

func (m *MsgDeleteBorrowResponse) XXX_DiscardUnknown()

func (*MsgDeleteBorrowResponse) XXX_Marshal added in v0.2.5

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

func (*MsgDeleteBorrowResponse) XXX_Merge added in v0.2.5

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

func (*MsgDeleteBorrowResponse) XXX_Size added in v0.2.5

func (m *MsgDeleteBorrowResponse) XXX_Size() int

func (*MsgDeleteBorrowResponse) XXX_Unmarshal added in v0.2.5

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

type MsgGrowDeposit added in v0.2.1

type MsgGrowDeposit struct {
	Creator  string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"`
	AmountIn string `protobuf:"bytes,2,opt,name=amountIn,proto3" json:"amountIn,omitempty"`
	DenomOut string `protobuf:"bytes,3,opt,name=denomOut,proto3" json:"denomOut,omitempty"`
}

Grow Logic

func NewMsgGrowDeposit added in v0.2.1

func NewMsgGrowDeposit(creator string, amountIn string, denomOut string) *MsgGrowDeposit

func (*MsgGrowDeposit) Descriptor added in v0.2.1

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

func (*MsgGrowDeposit) GetAmountIn added in v0.2.1

func (m *MsgGrowDeposit) GetAmountIn() string

func (*MsgGrowDeposit) GetCreator added in v0.2.1

func (m *MsgGrowDeposit) GetCreator() string

func (*MsgGrowDeposit) GetDenomOut added in v0.2.1

func (m *MsgGrowDeposit) GetDenomOut() string

func (*MsgGrowDeposit) GetSignBytes added in v0.2.1

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

func (*MsgGrowDeposit) GetSigners added in v0.2.1

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

func (*MsgGrowDeposit) Marshal added in v0.2.1

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

func (*MsgGrowDeposit) MarshalTo added in v0.2.1

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

func (*MsgGrowDeposit) MarshalToSizedBuffer added in v0.2.1

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

func (*MsgGrowDeposit) ProtoMessage added in v0.2.1

func (*MsgGrowDeposit) ProtoMessage()

func (*MsgGrowDeposit) Reset added in v0.2.1

func (m *MsgGrowDeposit) Reset()

func (*MsgGrowDeposit) Route added in v0.2.1

func (msg *MsgGrowDeposit) Route() string

func (*MsgGrowDeposit) Size added in v0.2.1

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

func (*MsgGrowDeposit) String added in v0.2.1

func (m *MsgGrowDeposit) String() string

func (*MsgGrowDeposit) Type added in v0.2.1

func (msg *MsgGrowDeposit) Type() string

func (*MsgGrowDeposit) Unmarshal added in v0.2.1

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

func (*MsgGrowDeposit) ValidateBasic added in v0.2.1

func (msg *MsgGrowDeposit) ValidateBasic() error

func (*MsgGrowDeposit) XXX_DiscardUnknown added in v0.2.1

func (m *MsgGrowDeposit) XXX_DiscardUnknown()

func (*MsgGrowDeposit) XXX_Marshal added in v0.2.1

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

func (*MsgGrowDeposit) XXX_Merge added in v0.2.1

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

func (*MsgGrowDeposit) XXX_Size added in v0.2.1

func (m *MsgGrowDeposit) XXX_Size() int

func (*MsgGrowDeposit) XXX_Unmarshal added in v0.2.1

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

type MsgGrowDepositResponse added in v0.2.1

type MsgGrowDepositResponse struct {
	Creator   string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"`
	AmountIn  string `protobuf:"bytes,2,opt,name=amountIn,proto3" json:"amountIn,omitempty"`
	AmountOut string `protobuf:"bytes,3,opt,name=amountOut,proto3" json:"amountOut,omitempty"`
}

func (*MsgGrowDepositResponse) Descriptor added in v0.2.1

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

func (*MsgGrowDepositResponse) GetAmountIn added in v0.2.1

func (m *MsgGrowDepositResponse) GetAmountIn() string

func (*MsgGrowDepositResponse) GetAmountOut added in v0.2.1

func (m *MsgGrowDepositResponse) GetAmountOut() string

func (*MsgGrowDepositResponse) GetCreator added in v0.2.1

func (m *MsgGrowDepositResponse) GetCreator() string

func (*MsgGrowDepositResponse) Marshal added in v0.2.1

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

func (*MsgGrowDepositResponse) MarshalTo added in v0.2.1

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

func (*MsgGrowDepositResponse) MarshalToSizedBuffer added in v0.2.1

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

func (*MsgGrowDepositResponse) ProtoMessage added in v0.2.1

func (*MsgGrowDepositResponse) ProtoMessage()

func (*MsgGrowDepositResponse) Reset added in v0.2.1

func (m *MsgGrowDepositResponse) Reset()

func (*MsgGrowDepositResponse) Size added in v0.2.1

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

func (*MsgGrowDepositResponse) String added in v0.2.1

func (m *MsgGrowDepositResponse) String() string

func (*MsgGrowDepositResponse) Unmarshal added in v0.2.1

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

func (*MsgGrowDepositResponse) XXX_DiscardUnknown added in v0.2.1

func (m *MsgGrowDepositResponse) XXX_DiscardUnknown()

func (*MsgGrowDepositResponse) XXX_Marshal added in v0.2.1

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

func (*MsgGrowDepositResponse) XXX_Merge added in v0.2.1

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

func (*MsgGrowDepositResponse) XXX_Size added in v0.2.1

func (m *MsgGrowDepositResponse) XXX_Size() int

func (*MsgGrowDepositResponse) XXX_Unmarshal added in v0.2.1

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

type MsgGrowWithdrawal added in v0.2.1

type MsgGrowWithdrawal struct {
	Creator  string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"`
	AmountIn string `protobuf:"bytes,2,opt,name=amountIn,proto3" json:"amountIn,omitempty"`
}

func NewMsgGrowWithdrawal added in v0.2.1

func NewMsgGrowWithdrawal(creator string, amountIn string) *MsgGrowWithdrawal

func (*MsgGrowWithdrawal) Descriptor added in v0.2.1

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

func (*MsgGrowWithdrawal) GetAmountIn added in v0.2.1

func (m *MsgGrowWithdrawal) GetAmountIn() string

func (*MsgGrowWithdrawal) GetCreator added in v0.2.1

func (m *MsgGrowWithdrawal) GetCreator() string

func (*MsgGrowWithdrawal) GetSignBytes added in v0.2.1

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

func (*MsgGrowWithdrawal) GetSigners added in v0.2.1

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

func (*MsgGrowWithdrawal) Marshal added in v0.2.1

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

func (*MsgGrowWithdrawal) MarshalTo added in v0.2.1

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

func (*MsgGrowWithdrawal) MarshalToSizedBuffer added in v0.2.1

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

func (*MsgGrowWithdrawal) ProtoMessage added in v0.2.1

func (*MsgGrowWithdrawal) ProtoMessage()

func (*MsgGrowWithdrawal) Reset added in v0.2.1

func (m *MsgGrowWithdrawal) Reset()

func (*MsgGrowWithdrawal) Route added in v0.2.1

func (msg *MsgGrowWithdrawal) Route() string

func (*MsgGrowWithdrawal) Size added in v0.2.1

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

func (*MsgGrowWithdrawal) String added in v0.2.1

func (m *MsgGrowWithdrawal) String() string

func (*MsgGrowWithdrawal) Type added in v0.2.1

func (msg *MsgGrowWithdrawal) Type() string

func (*MsgGrowWithdrawal) Unmarshal added in v0.2.1

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

func (*MsgGrowWithdrawal) ValidateBasic added in v0.2.1

func (msg *MsgGrowWithdrawal) ValidateBasic() error

func (*MsgGrowWithdrawal) XXX_DiscardUnknown added in v0.2.1

func (m *MsgGrowWithdrawal) XXX_DiscardUnknown()

func (*MsgGrowWithdrawal) XXX_Marshal added in v0.2.1

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

func (*MsgGrowWithdrawal) XXX_Merge added in v0.2.1

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

func (*MsgGrowWithdrawal) XXX_Size added in v0.2.1

func (m *MsgGrowWithdrawal) XXX_Size() int

func (*MsgGrowWithdrawal) XXX_Unmarshal added in v0.2.1

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

type MsgGrowWithdrawalResponse added in v0.2.1

type MsgGrowWithdrawalResponse struct {
	Creator   string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"`
	AmountIn  string `protobuf:"bytes,2,opt,name=amountIn,proto3" json:"amountIn,omitempty"`
	AmountOut string `protobuf:"bytes,3,opt,name=amountOut,proto3" json:"amountOut,omitempty"`
}

func (*MsgGrowWithdrawalResponse) Descriptor added in v0.2.1

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

func (*MsgGrowWithdrawalResponse) GetAmountIn added in v0.2.1

func (m *MsgGrowWithdrawalResponse) GetAmountIn() string

func (*MsgGrowWithdrawalResponse) GetAmountOut added in v0.2.1

func (m *MsgGrowWithdrawalResponse) GetAmountOut() string

func (*MsgGrowWithdrawalResponse) GetCreator added in v0.2.1

func (m *MsgGrowWithdrawalResponse) GetCreator() string

func (*MsgGrowWithdrawalResponse) Marshal added in v0.2.1

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

func (*MsgGrowWithdrawalResponse) MarshalTo added in v0.2.1

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

func (*MsgGrowWithdrawalResponse) MarshalToSizedBuffer added in v0.2.1

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

func (*MsgGrowWithdrawalResponse) ProtoMessage added in v0.2.1

func (*MsgGrowWithdrawalResponse) ProtoMessage()

func (*MsgGrowWithdrawalResponse) Reset added in v0.2.1

func (m *MsgGrowWithdrawalResponse) Reset()

func (*MsgGrowWithdrawalResponse) Size added in v0.2.1

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

func (*MsgGrowWithdrawalResponse) String added in v0.2.1

func (m *MsgGrowWithdrawalResponse) String() string

func (*MsgGrowWithdrawalResponse) Unmarshal added in v0.2.1

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

func (*MsgGrowWithdrawalResponse) XXX_DiscardUnknown added in v0.2.1

func (m *MsgGrowWithdrawalResponse) XXX_DiscardUnknown()

func (*MsgGrowWithdrawalResponse) XXX_Marshal added in v0.2.1

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

func (*MsgGrowWithdrawalResponse) XXX_Merge added in v0.2.1

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

func (*MsgGrowWithdrawalResponse) XXX_Size added in v0.2.1

func (m *MsgGrowWithdrawalResponse) XXX_Size() int

func (*MsgGrowWithdrawalResponse) XXX_Unmarshal added in v0.2.1

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

type MsgOpenLiquidationPosition

type MsgOpenLiquidationPosition struct {
	Creator  string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"`
	AmountIn string `protobuf:"bytes,2,opt,name=amountIn,proto3" json:"amountIn,omitempty"`
	Asset    string `protobuf:"bytes,3,opt,name=asset,proto3" json:"asset,omitempty"`
	Premium  string `protobuf:"bytes,4,opt,name=premium,proto3" json:"premium,omitempty"`
}

func NewMsgOpenLiquidationPosition

func NewMsgOpenLiquidationPosition(creator string, amountIn string, asset string, premium string) *MsgOpenLiquidationPosition

func (*MsgOpenLiquidationPosition) Descriptor

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

func (*MsgOpenLiquidationPosition) GetAmountIn

func (m *MsgOpenLiquidationPosition) GetAmountIn() string

func (*MsgOpenLiquidationPosition) GetAsset

func (m *MsgOpenLiquidationPosition) GetAsset() string

func (*MsgOpenLiquidationPosition) GetCreator

func (m *MsgOpenLiquidationPosition) GetCreator() string

func (*MsgOpenLiquidationPosition) GetPremium

func (m *MsgOpenLiquidationPosition) GetPremium() string

func (*MsgOpenLiquidationPosition) GetSignBytes

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

func (*MsgOpenLiquidationPosition) GetSigners

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

func (*MsgOpenLiquidationPosition) Marshal

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

func (*MsgOpenLiquidationPosition) MarshalTo

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

func (*MsgOpenLiquidationPosition) MarshalToSizedBuffer

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

func (*MsgOpenLiquidationPosition) ProtoMessage

func (*MsgOpenLiquidationPosition) ProtoMessage()

func (*MsgOpenLiquidationPosition) Reset

func (m *MsgOpenLiquidationPosition) Reset()

func (*MsgOpenLiquidationPosition) Route

func (msg *MsgOpenLiquidationPosition) Route() string

func (*MsgOpenLiquidationPosition) Size

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

func (*MsgOpenLiquidationPosition) String

func (m *MsgOpenLiquidationPosition) String() string

func (*MsgOpenLiquidationPosition) Type

func (msg *MsgOpenLiquidationPosition) Type() string

func (*MsgOpenLiquidationPosition) Unmarshal

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

func (*MsgOpenLiquidationPosition) ValidateBasic

func (msg *MsgOpenLiquidationPosition) ValidateBasic() error

func (*MsgOpenLiquidationPosition) XXX_DiscardUnknown

func (m *MsgOpenLiquidationPosition) XXX_DiscardUnknown()

func (*MsgOpenLiquidationPosition) XXX_Marshal

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

func (*MsgOpenLiquidationPosition) XXX_Merge

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

func (*MsgOpenLiquidationPosition) XXX_Size

func (m *MsgOpenLiquidationPosition) XXX_Size() int

func (*MsgOpenLiquidationPosition) XXX_Unmarshal

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

type MsgOpenLiquidationPositionResponse

type MsgOpenLiquidationPositionResponse struct {
	Creator              string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"`
	LiquidatorPositionId string `protobuf:"bytes,2,opt,name=liquidatorPositionId,proto3" json:"liquidatorPositionId,omitempty"`
}

func (*MsgOpenLiquidationPositionResponse) Descriptor

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

func (*MsgOpenLiquidationPositionResponse) GetCreator

func (*MsgOpenLiquidationPositionResponse) GetLiquidatorPositionId

func (m *MsgOpenLiquidationPositionResponse) GetLiquidatorPositionId() string

func (*MsgOpenLiquidationPositionResponse) Marshal

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

func (*MsgOpenLiquidationPositionResponse) MarshalTo

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

func (*MsgOpenLiquidationPositionResponse) MarshalToSizedBuffer

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

func (*MsgOpenLiquidationPositionResponse) ProtoMessage

func (*MsgOpenLiquidationPositionResponse) ProtoMessage()

func (*MsgOpenLiquidationPositionResponse) Reset

func (*MsgOpenLiquidationPositionResponse) Size

func (*MsgOpenLiquidationPositionResponse) String

func (*MsgOpenLiquidationPositionResponse) Unmarshal

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

func (*MsgOpenLiquidationPositionResponse) XXX_DiscardUnknown

func (m *MsgOpenLiquidationPositionResponse) XXX_DiscardUnknown()

func (*MsgOpenLiquidationPositionResponse) XXX_Marshal

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

func (*MsgOpenLiquidationPositionResponse) XXX_Merge

func (*MsgOpenLiquidationPositionResponse) XXX_Size

func (*MsgOpenLiquidationPositionResponse) XXX_Unmarshal

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

type MsgWithdrawalLend added in v0.2.5

type MsgWithdrawalLend struct {
	Depositor string `protobuf:"bytes,1,opt,name=depositor,proto3" json:"depositor,omitempty"`
	AmountIn  string `protobuf:"bytes,2,opt,name=amountIn,proto3" json:"amountIn,omitempty"`
	DenomOut  string `protobuf:"bytes,3,opt,name=denomOut,proto3" json:"denomOut,omitempty"`
}

func NewMsgWithdrawalLend added in v0.2.5

func NewMsgWithdrawalLend(creator string, amountIn string, denom string) *MsgWithdrawalLend

func (*MsgWithdrawalLend) Descriptor added in v0.2.5

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

func (*MsgWithdrawalLend) GetAmountIn added in v0.2.5

func (m *MsgWithdrawalLend) GetAmountIn() string

func (*MsgWithdrawalLend) GetDenomOut added in v0.2.5

func (m *MsgWithdrawalLend) GetDenomOut() string

func (*MsgWithdrawalLend) GetDepositor added in v0.2.5

func (m *MsgWithdrawalLend) GetDepositor() string

func (*MsgWithdrawalLend) GetSignBytes added in v0.2.5

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

func (*MsgWithdrawalLend) GetSigners added in v0.2.5

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

func (*MsgWithdrawalLend) Marshal added in v0.2.5

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

func (*MsgWithdrawalLend) MarshalTo added in v0.2.5

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

func (*MsgWithdrawalLend) MarshalToSizedBuffer added in v0.2.5

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

func (*MsgWithdrawalLend) ProtoMessage added in v0.2.5

func (*MsgWithdrawalLend) ProtoMessage()

func (*MsgWithdrawalLend) Reset added in v0.2.5

func (m *MsgWithdrawalLend) Reset()

func (*MsgWithdrawalLend) Route added in v0.2.5

func (msg *MsgWithdrawalLend) Route() string

func (*MsgWithdrawalLend) Size added in v0.2.5

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

func (*MsgWithdrawalLend) String added in v0.2.5

func (m *MsgWithdrawalLend) String() string

func (*MsgWithdrawalLend) Type added in v0.2.5

func (msg *MsgWithdrawalLend) Type() string

func (*MsgWithdrawalLend) Unmarshal added in v0.2.5

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

func (*MsgWithdrawalLend) ValidateBasic added in v0.2.5

func (msg *MsgWithdrawalLend) ValidateBasic() error

func (*MsgWithdrawalLend) XXX_DiscardUnknown added in v0.2.5

func (m *MsgWithdrawalLend) XXX_DiscardUnknown()

func (*MsgWithdrawalLend) XXX_Marshal added in v0.2.5

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

func (*MsgWithdrawalLend) XXX_Merge added in v0.2.5

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

func (*MsgWithdrawalLend) XXX_Size added in v0.2.5

func (m *MsgWithdrawalLend) XXX_Size() int

func (*MsgWithdrawalLend) XXX_Unmarshal added in v0.2.5

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

type MsgWithdrawalLendResponse added in v0.2.5

type MsgWithdrawalLendResponse struct {
	Depositor string `protobuf:"bytes,1,opt,name=depositor,proto3" json:"depositor,omitempty"`
	AmountOut string `protobuf:"bytes,2,opt,name=amountOut,proto3" json:"amountOut,omitempty"`
}

func (*MsgWithdrawalLendResponse) Descriptor added in v0.2.5

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

func (*MsgWithdrawalLendResponse) GetAmountOut added in v0.2.5

func (m *MsgWithdrawalLendResponse) GetAmountOut() string

func (*MsgWithdrawalLendResponse) GetDepositor added in v0.2.5

func (m *MsgWithdrawalLendResponse) GetDepositor() string

func (*MsgWithdrawalLendResponse) Marshal added in v0.2.5

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

func (*MsgWithdrawalLendResponse) MarshalTo added in v0.2.5

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

func (*MsgWithdrawalLendResponse) MarshalToSizedBuffer added in v0.2.5

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

func (*MsgWithdrawalLendResponse) ProtoMessage added in v0.2.5

func (*MsgWithdrawalLendResponse) ProtoMessage()

func (*MsgWithdrawalLendResponse) Reset added in v0.2.5

func (m *MsgWithdrawalLendResponse) Reset()

func (*MsgWithdrawalLendResponse) Size added in v0.2.5

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

func (*MsgWithdrawalLendResponse) String added in v0.2.5

func (m *MsgWithdrawalLendResponse) String() string

func (*MsgWithdrawalLendResponse) Unmarshal added in v0.2.5

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

func (*MsgWithdrawalLendResponse) XXX_DiscardUnknown added in v0.2.5

func (m *MsgWithdrawalLendResponse) XXX_DiscardUnknown()

func (*MsgWithdrawalLendResponse) XXX_Marshal added in v0.2.5

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

func (*MsgWithdrawalLendResponse) XXX_Merge added in v0.2.5

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

func (*MsgWithdrawalLendResponse) XXX_Size added in v0.2.5

func (m *MsgWithdrawalLendResponse) XXX_Size() int

func (*MsgWithdrawalLendResponse) XXX_Unmarshal added in v0.2.5

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

type OracleKeeper

type OracleKeeper interface {
	GetExchangeRate(ctx sdk.Context, denom string) (sdk.Dec, error)
	Whitelist(ctx sdk.Context) (res oracletypes.DenomList)
}

type PairByDenomIdRequest added in v0.2.0

type PairByDenomIdRequest struct {
	DenomId string `protobuf:"bytes,1,opt,name=denomId,proto3" json:"denomId,omitempty"`
}

PairByDenomId

func (*PairByDenomIdRequest) Descriptor added in v0.2.0

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

func (*PairByDenomIdRequest) GetDenomId added in v0.2.0

func (m *PairByDenomIdRequest) GetDenomId() string

func (*PairByDenomIdRequest) Marshal added in v0.2.0

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

func (*PairByDenomIdRequest) MarshalTo added in v0.2.0

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

func (*PairByDenomIdRequest) MarshalToSizedBuffer added in v0.2.0

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

func (*PairByDenomIdRequest) ProtoMessage added in v0.2.0

func (*PairByDenomIdRequest) ProtoMessage()

func (*PairByDenomIdRequest) Reset added in v0.2.0

func (m *PairByDenomIdRequest) Reset()

func (*PairByDenomIdRequest) Size added in v0.2.0

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

func (*PairByDenomIdRequest) String added in v0.2.0

func (m *PairByDenomIdRequest) String() string

func (*PairByDenomIdRequest) Unmarshal added in v0.2.0

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

func (*PairByDenomIdRequest) XXX_DiscardUnknown added in v0.2.0

func (m *PairByDenomIdRequest) XXX_DiscardUnknown()

func (*PairByDenomIdRequest) XXX_Marshal added in v0.2.0

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

func (*PairByDenomIdRequest) XXX_Merge added in v0.2.0

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

func (*PairByDenomIdRequest) XXX_Size added in v0.2.0

func (m *PairByDenomIdRequest) XXX_Size() int

func (*PairByDenomIdRequest) XXX_Unmarshal added in v0.2.0

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

type PairByDenomIdResponse added in v0.2.0

type PairByDenomIdResponse struct {
	Pair *GTokenPair `protobuf:"bytes,1,opt,name=pair,proto3" json:"pair,omitempty"`
}

func (*PairByDenomIdResponse) Descriptor added in v0.2.0

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

func (*PairByDenomIdResponse) GetPair added in v0.2.5

func (m *PairByDenomIdResponse) GetPair() *GTokenPair

func (*PairByDenomIdResponse) Marshal added in v0.2.0

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

func (*PairByDenomIdResponse) MarshalTo added in v0.2.0

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

func (*PairByDenomIdResponse) MarshalToSizedBuffer added in v0.2.0

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

func (*PairByDenomIdResponse) ProtoMessage added in v0.2.0

func (*PairByDenomIdResponse) ProtoMessage()

func (*PairByDenomIdResponse) Reset added in v0.2.0

func (m *PairByDenomIdResponse) Reset()

func (*PairByDenomIdResponse) Size added in v0.2.0

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

func (*PairByDenomIdResponse) String added in v0.2.0

func (m *PairByDenomIdResponse) String() string

func (*PairByDenomIdResponse) Unmarshal added in v0.2.0

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

func (*PairByDenomIdResponse) XXX_DiscardUnknown added in v0.2.0

func (m *PairByDenomIdResponse) XXX_DiscardUnknown()

func (*PairByDenomIdResponse) XXX_Marshal added in v0.2.0

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

func (*PairByDenomIdResponse) XXX_Merge added in v0.2.0

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

func (*PairByDenomIdResponse) XXX_Size added in v0.2.0

func (m *PairByDenomIdResponse) XXX_Size() int

func (*PairByDenomIdResponse) XXX_Unmarshal added in v0.2.0

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

type Params

type Params struct {
	LastTimeUpdateReserve     uint64 `protobuf:"varint,1,opt,name=LastTimeUpdateReserve,proto3" json:"LastTimeUpdateReserve,omitempty"`
	GrowStakingReserveAddress string `protobuf:"bytes,2,opt,name=GrowStakingReserveAddress,proto3" json:"GrowStakingReserveAddress,omitempty"`
	USQReserveAddress         string `protobuf:"bytes,3,opt,name=USQReserveAddress,proto3" json:"USQReserveAddress,omitempty"`
	GrowYieldReserveAddress   string `protobuf:"bytes,4,opt,name=GrowYieldReserveAddress,proto3" json:"GrowYieldReserveAddress,omitempty"`
	DepositMethodStatus       bool   `protobuf:"varint,5,opt,name=DepositMethodStatus,proto3" json:"DepositMethodStatus,omitempty"`
	CollateralMethodStatus    bool   `protobuf:"varint,6,opt,name=CollateralMethodStatus,proto3" json:"CollateralMethodStatus,omitempty"`
	BorrowMethodStatus        bool   `protobuf:"varint,7,opt,name=BorrowMethodStatus,proto3" json:"BorrowMethodStatus,omitempty"`
	UStaticVolatile           uint64 `protobuf:"varint,8,opt,name=u_static_volatile,json=uStaticVolatile,proto3" json:"u_static_volatile,omitempty"`
	UStaticStable             uint64 `protobuf:"varint,9,opt,name=u_static_stable,json=uStaticStable,proto3" json:"u_static_stable,omitempty"`
	MaxRateVolatile           uint64 `protobuf:"varint,10,opt,name=max_rate_volatile,json=maxRateVolatile,proto3" json:"max_rate_volatile,omitempty"`
	MaxRateStable             uint64 `protobuf:"varint,11,opt,name=max_rate_stable,json=maxRateStable,proto3" json:"max_rate_stable,omitempty"`
	Slope_1                   uint64 `protobuf:"varint,12,opt,name=slope_1,json=slope1,proto3" json:"slope_1,omitempty"`
	Slope_2                   uint64 `protobuf:"varint,13,opt,name=slope_2,json=slope2,proto3" json:"slope_2,omitempty"`
}

Params defines the parameters for the module.

func DefaultParams

func DefaultParams() Params

DefaultParams returns a default set of parameters

func (*Params) Descriptor

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

func (*Params) GetBorrowMethodStatus added in v0.2.1

func (m *Params) GetBorrowMethodStatus() bool

func (*Params) GetCollateralMethodStatus added in v0.2.1

func (m *Params) GetCollateralMethodStatus() bool

func (*Params) GetDepositMethodStatus added in v0.2.1

func (m *Params) GetDepositMethodStatus() bool

func (*Params) GetGrowStakingReserveAddress added in v0.2.0

func (m *Params) GetGrowStakingReserveAddress() string

func (*Params) GetGrowYieldReserveAddress added in v0.2.0

func (m *Params) GetGrowYieldReserveAddress() string

func (*Params) GetLastTimeUpdateReserve added in v0.2.0

func (m *Params) GetLastTimeUpdateReserve() uint64

func (*Params) GetMaxRateStable added in v0.2.5

func (m *Params) GetMaxRateStable() uint64

func (*Params) GetMaxRateVolatile added in v0.2.5

func (m *Params) GetMaxRateVolatile() uint64

func (*Params) GetSlope_1 added in v0.2.5

func (m *Params) GetSlope_1() uint64

func (*Params) GetSlope_2 added in v0.2.5

func (m *Params) GetSlope_2() uint64

func (*Params) GetUSQReserveAddress added in v0.2.0

func (m *Params) GetUSQReserveAddress() string

func (*Params) GetUStaticStable added in v0.2.5

func (m *Params) GetUStaticStable() uint64

func (*Params) GetUStaticVolatile added in v0.2.5

func (m *Params) GetUStaticVolatile() uint64

func (*Params) Marshal

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

func (*Params) MarshalTo

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

func (*Params) MarshalToSizedBuffer

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

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

TODO

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 Position

type Position struct {
	Id                  uint64   `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Creator             string   `protobuf:"bytes,2,opt,name=creator,proto3" json:"creator,omitempty"`
	DepositId           string   `protobuf:"bytes,3,opt,name=depositId,proto3" json:"depositId,omitempty"`
	LendAmountInUSD     uint64   `protobuf:"varint,5,opt,name=lendAmountInUSD,proto3" json:"lendAmountInUSD,omitempty"`
	BorrowedAmountInUSD uint64   `protobuf:"varint,6,opt,name=borrowedAmountInUSD,proto3" json:"borrowedAmountInUSD,omitempty"`
	LendId              []string `protobuf:"bytes,7,rep,name=lend_id,json=lendId,proto3" json:"lend_id,omitempty"`
	LoanId              []string `protobuf:"bytes,8,rep,name=loan_id,json=loanId,proto3" json:"loan_id,omitempty"`
}

func (*Position) Descriptor

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

func (*Position) GetBorrowedAmountInUSD

func (m *Position) GetBorrowedAmountInUSD() uint64

func (*Position) GetCreator

func (m *Position) GetCreator() string

func (*Position) GetDepositId

func (m *Position) GetDepositId() string

func (*Position) GetId

func (m *Position) GetId() uint64

func (*Position) GetLendAmountInUSD added in v0.2.5

func (m *Position) GetLendAmountInUSD() uint64

func (*Position) GetLendId added in v0.2.5

func (m *Position) GetLendId() []string

func (*Position) GetLoanId added in v0.2.5

func (m *Position) GetLoanId() []string

func (*Position) Marshal

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

func (*Position) MarshalTo

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

func (*Position) MarshalToSizedBuffer

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

func (*Position) ProtoMessage

func (*Position) ProtoMessage()

func (*Position) Reset

func (m *Position) Reset()

func (*Position) Size

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

func (*Position) String

func (m *Position) String() string

func (*Position) Unmarshal

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

func (*Position) XXX_DiscardUnknown

func (m *Position) XXX_DiscardUnknown()

func (*Position) XXX_Marshal

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

func (*Position) XXX_Merge

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

func (*Position) XXX_Size

func (m *Position) XXX_Size() int

func (*Position) XXX_Unmarshal

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

type ProposalMetadataForRegisterGTokenPairProposal

type ProposalMetadataForRegisterGTokenPairProposal struct {
	GTokenMetadata types.Metadata `protobuf:"bytes,1,opt,name=gTokenMetadata,proto3" json:"gTokenMetadata" yaml:"gTokenMetadata"`
	QStablePairId  string         `protobuf:"bytes,2,opt,name=qStablePairId,proto3" json:"qStablePairId,omitempty"`
	MinAmountIn    string         `protobuf:"bytes,3,opt,name=minAmountIn,proto3" json:"minAmountIn,omitempty"`
	MinAmountOut   string         `protobuf:"bytes,4,opt,name=minAmountOut,proto3" json:"minAmountOut,omitempty"`
}

func (*ProposalMetadataForRegisterGTokenPairProposal) Descriptor

func (*ProposalMetadataForRegisterGTokenPairProposal) GetGTokenMetadata

func (*ProposalMetadataForRegisterGTokenPairProposal) GetMinAmountIn

func (*ProposalMetadataForRegisterGTokenPairProposal) GetMinAmountOut

func (*ProposalMetadataForRegisterGTokenPairProposal) GetQStablePairId

func (*ProposalMetadataForRegisterGTokenPairProposal) Marshal

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

func (*ProposalMetadataForRegisterGTokenPairProposal) MarshalTo

func (*ProposalMetadataForRegisterGTokenPairProposal) MarshalToSizedBuffer

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

func (*ProposalMetadataForRegisterGTokenPairProposal) ProtoMessage

func (*ProposalMetadataForRegisterGTokenPairProposal) Reset

func (*ProposalMetadataForRegisterGTokenPairProposal) Size

func (*ProposalMetadataForRegisterGTokenPairProposal) String

func (*ProposalMetadataForRegisterGTokenPairProposal) Unmarshal

func (*ProposalMetadataForRegisterGTokenPairProposal) XXX_DiscardUnknown

func (m *ProposalMetadataForRegisterGTokenPairProposal) XXX_DiscardUnknown()

func (*ProposalMetadataForRegisterGTokenPairProposal) XXX_Marshal

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

func (*ProposalMetadataForRegisterGTokenPairProposal) XXX_Merge

func (*ProposalMetadataForRegisterGTokenPairProposal) XXX_Size

func (*ProposalMetadataForRegisterGTokenPairProposal) XXX_Unmarshal

type ProposalMetadataForRegisterLendAssetProposal

type ProposalMetadataForRegisterLendAssetProposal struct {
	AssetMetadata types.Metadata `protobuf:"bytes,1,opt,name=assetMetadata,proto3" json:"assetMetadata" yaml:"assetMetadata"`
	OracleAssetId string         `protobuf:"bytes,2,opt,name=oracleAssetId,proto3" json:"oracleAssetId,omitempty"`
}

func (*ProposalMetadataForRegisterLendAssetProposal) Descriptor

func (*ProposalMetadataForRegisterLendAssetProposal) GetAssetMetadata

func (*ProposalMetadataForRegisterLendAssetProposal) GetOracleAssetId

func (*ProposalMetadataForRegisterLendAssetProposal) Marshal

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

func (*ProposalMetadataForRegisterLendAssetProposal) MarshalTo

func (*ProposalMetadataForRegisterLendAssetProposal) MarshalToSizedBuffer

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

func (*ProposalMetadataForRegisterLendAssetProposal) ProtoMessage

func (*ProposalMetadataForRegisterLendAssetProposal) Reset

func (*ProposalMetadataForRegisterLendAssetProposal) Size

func (*ProposalMetadataForRegisterLendAssetProposal) String

func (*ProposalMetadataForRegisterLendAssetProposal) Unmarshal

func (*ProposalMetadataForRegisterLendAssetProposal) XXX_DiscardUnknown

func (m *ProposalMetadataForRegisterLendAssetProposal) XXX_DiscardUnknown()

func (*ProposalMetadataForRegisterLendAssetProposal) XXX_Marshal

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

func (*ProposalMetadataForRegisterLendAssetProposal) XXX_Merge

func (*ProposalMetadataForRegisterLendAssetProposal) XXX_Size

func (*ProposalMetadataForRegisterLendAssetProposal) XXX_Unmarshal

type QueryAllLiquidatorPositionRequest

type QueryAllLiquidatorPositionRequest struct {
}

AllLiquidatorPosition

func (*QueryAllLiquidatorPositionRequest) Descriptor

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

func (*QueryAllLiquidatorPositionRequest) Marshal

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

func (*QueryAllLiquidatorPositionRequest) MarshalTo

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

func (*QueryAllLiquidatorPositionRequest) MarshalToSizedBuffer

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

func (*QueryAllLiquidatorPositionRequest) ProtoMessage

func (*QueryAllLiquidatorPositionRequest) ProtoMessage()

func (*QueryAllLiquidatorPositionRequest) Reset

func (*QueryAllLiquidatorPositionRequest) Size

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

func (*QueryAllLiquidatorPositionRequest) String

func (*QueryAllLiquidatorPositionRequest) Unmarshal

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

func (*QueryAllLiquidatorPositionRequest) XXX_DiscardUnknown

func (m *QueryAllLiquidatorPositionRequest) XXX_DiscardUnknown()

func (*QueryAllLiquidatorPositionRequest) XXX_Marshal

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

func (*QueryAllLiquidatorPositionRequest) XXX_Merge

func (*QueryAllLiquidatorPositionRequest) XXX_Size

func (m *QueryAllLiquidatorPositionRequest) XXX_Size() int

func (*QueryAllLiquidatorPositionRequest) XXX_Unmarshal

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

type QueryAllLiquidatorPositionResponse

type QueryAllLiquidatorPositionResponse struct {
	LiquidatorsPosition []LiquidatorPosition `protobuf:"bytes,1,rep,name=liquidators_position,json=liquidatorsPosition,proto3" json:"liquidators_position"`
}

func (*QueryAllLiquidatorPositionResponse) Descriptor

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

func (*QueryAllLiquidatorPositionResponse) GetLiquidatorsPosition

func (m *QueryAllLiquidatorPositionResponse) GetLiquidatorsPosition() []LiquidatorPosition

func (*QueryAllLiquidatorPositionResponse) Marshal

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

func (*QueryAllLiquidatorPositionResponse) MarshalTo

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

func (*QueryAllLiquidatorPositionResponse) MarshalToSizedBuffer

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

func (*QueryAllLiquidatorPositionResponse) ProtoMessage

func (*QueryAllLiquidatorPositionResponse) ProtoMessage()

func (*QueryAllLiquidatorPositionResponse) Reset

func (*QueryAllLiquidatorPositionResponse) Size

func (*QueryAllLiquidatorPositionResponse) String

func (*QueryAllLiquidatorPositionResponse) Unmarshal

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

func (*QueryAllLiquidatorPositionResponse) XXX_DiscardUnknown

func (m *QueryAllLiquidatorPositionResponse) XXX_DiscardUnknown()

func (*QueryAllLiquidatorPositionResponse) XXX_Marshal

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

func (*QueryAllLiquidatorPositionResponse) XXX_Merge

func (*QueryAllLiquidatorPositionResponse) XXX_Size

func (*QueryAllLiquidatorPositionResponse) XXX_Unmarshal

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

type QueryAllPositionRequest

type QueryAllPositionRequest struct {
}

AllPosition

func (*QueryAllPositionRequest) Descriptor

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

func (*QueryAllPositionRequest) Marshal

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

func (*QueryAllPositionRequest) MarshalTo

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

func (*QueryAllPositionRequest) MarshalToSizedBuffer

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

func (*QueryAllPositionRequest) ProtoMessage

func (*QueryAllPositionRequest) ProtoMessage()

func (*QueryAllPositionRequest) Reset

func (m *QueryAllPositionRequest) Reset()

func (*QueryAllPositionRequest) Size

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

func (*QueryAllPositionRequest) String

func (m *QueryAllPositionRequest) String() string

func (*QueryAllPositionRequest) Unmarshal

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

func (*QueryAllPositionRequest) XXX_DiscardUnknown

func (m *QueryAllPositionRequest) XXX_DiscardUnknown()

func (*QueryAllPositionRequest) XXX_Marshal

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

func (*QueryAllPositionRequest) XXX_Merge

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

func (*QueryAllPositionRequest) XXX_Size

func (m *QueryAllPositionRequest) XXX_Size() int

func (*QueryAllPositionRequest) XXX_Unmarshal

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

type QueryAllPositionResponse

type QueryAllPositionResponse struct {
	Positions []Position `protobuf:"bytes,1,rep,name=positions,proto3" json:"positions"`
}

func (*QueryAllPositionResponse) Descriptor

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

func (*QueryAllPositionResponse) GetPositions

func (m *QueryAllPositionResponse) GetPositions() []Position

func (*QueryAllPositionResponse) Marshal

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

func (*QueryAllPositionResponse) MarshalTo

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

func (*QueryAllPositionResponse) MarshalToSizedBuffer

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

func (*QueryAllPositionResponse) ProtoMessage

func (*QueryAllPositionResponse) ProtoMessage()

func (*QueryAllPositionResponse) Reset

func (m *QueryAllPositionResponse) Reset()

func (*QueryAllPositionResponse) Size

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

func (*QueryAllPositionResponse) String

func (m *QueryAllPositionResponse) String() string

func (*QueryAllPositionResponse) Unmarshal

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

func (*QueryAllPositionResponse) XXX_DiscardUnknown

func (m *QueryAllPositionResponse) XXX_DiscardUnknown()

func (*QueryAllPositionResponse) XXX_Marshal

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

func (*QueryAllPositionResponse) XXX_Merge

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

func (*QueryAllPositionResponse) XXX_Size

func (m *QueryAllPositionResponse) XXX_Size() int

func (*QueryAllPositionResponse) XXX_Unmarshal

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

type QueryAssetByAssetIdRequest added in v0.2.5

type QueryAssetByAssetIdRequest struct {
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
}

AssetByAssetId

func (*QueryAssetByAssetIdRequest) Descriptor added in v0.2.5

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

func (*QueryAssetByAssetIdRequest) GetId added in v0.2.5

func (*QueryAssetByAssetIdRequest) Marshal added in v0.2.5

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

func (*QueryAssetByAssetIdRequest) MarshalTo added in v0.2.5

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

func (*QueryAssetByAssetIdRequest) MarshalToSizedBuffer added in v0.2.5

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

func (*QueryAssetByAssetIdRequest) ProtoMessage added in v0.2.5

func (*QueryAssetByAssetIdRequest) ProtoMessage()

func (*QueryAssetByAssetIdRequest) Reset added in v0.2.5

func (m *QueryAssetByAssetIdRequest) Reset()

func (*QueryAssetByAssetIdRequest) Size added in v0.2.5

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

func (*QueryAssetByAssetIdRequest) String added in v0.2.5

func (m *QueryAssetByAssetIdRequest) String() string

func (*QueryAssetByAssetIdRequest) Unmarshal added in v0.2.5

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

func (*QueryAssetByAssetIdRequest) XXX_DiscardUnknown added in v0.2.5

func (m *QueryAssetByAssetIdRequest) XXX_DiscardUnknown()

func (*QueryAssetByAssetIdRequest) XXX_Marshal added in v0.2.5

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

func (*QueryAssetByAssetIdRequest) XXX_Merge added in v0.2.5

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

func (*QueryAssetByAssetIdRequest) XXX_Size added in v0.2.5

func (m *QueryAssetByAssetIdRequest) XXX_Size() int

func (*QueryAssetByAssetIdRequest) XXX_Unmarshal added in v0.2.5

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

type QueryAssetByAssetIdResponse added in v0.2.5

type QueryAssetByAssetIdResponse struct {
	Asset Asset `protobuf:"bytes,1,opt,name=asset,proto3" json:"asset"`
}

func (*QueryAssetByAssetIdResponse) Descriptor added in v0.2.5

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

func (*QueryAssetByAssetIdResponse) GetAsset added in v0.2.5

func (m *QueryAssetByAssetIdResponse) GetAsset() Asset

func (*QueryAssetByAssetIdResponse) Marshal added in v0.2.5

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

func (*QueryAssetByAssetIdResponse) MarshalTo added in v0.2.5

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

func (*QueryAssetByAssetIdResponse) MarshalToSizedBuffer added in v0.2.5

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

func (*QueryAssetByAssetIdResponse) ProtoMessage added in v0.2.5

func (*QueryAssetByAssetIdResponse) ProtoMessage()

func (*QueryAssetByAssetIdResponse) Reset added in v0.2.5

func (m *QueryAssetByAssetIdResponse) Reset()

func (*QueryAssetByAssetIdResponse) Size added in v0.2.5

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

func (*QueryAssetByAssetIdResponse) String added in v0.2.5

func (m *QueryAssetByAssetIdResponse) String() string

func (*QueryAssetByAssetIdResponse) Unmarshal added in v0.2.5

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

func (*QueryAssetByAssetIdResponse) XXX_DiscardUnknown added in v0.2.5

func (m *QueryAssetByAssetIdResponse) XXX_DiscardUnknown()

func (*QueryAssetByAssetIdResponse) XXX_Marshal added in v0.2.5

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

func (*QueryAssetByAssetIdResponse) XXX_Merge added in v0.2.5

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

func (*QueryAssetByAssetIdResponse) XXX_Size added in v0.2.5

func (m *QueryAssetByAssetIdResponse) XXX_Size() int

func (*QueryAssetByAssetIdResponse) XXX_Unmarshal added in v0.2.5

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

type QueryClient

type QueryClient interface {
	Params(ctx context.Context, in *QueryParamsRequest, opts ...grpc.CallOption) (*QueryParamsResponse, error)
	AssetByAssetId(ctx context.Context, in *QueryAssetByAssetIdRequest, opts ...grpc.CallOption) (*QueryAssetByAssetIdResponse, error)
	GetAllAssets(ctx context.Context, in *QueryGetAllAssetsRequest, opts ...grpc.CallOption) (*QueryGetAllAssetsResponse, error)
	AllPosition(ctx context.Context, in *QueryAllPositionRequest, opts ...grpc.CallOption) (*QueryAllPositionResponse, error)
	PositionById(ctx context.Context, in *QueryPositionByIdRequest, opts ...grpc.CallOption) (*QueryPositionResponse, error)
	PositionByCreator(ctx context.Context, in *QueryPositionByCreatorRequest, opts ...grpc.CallOption) (*QueryPositionResponse, error)
	AllLiquidatorPosition(ctx context.Context, in *QueryAllLiquidatorPositionRequest, opts ...grpc.CallOption) (*QueryAllLiquidatorPositionResponse, error)
	LiquidatorPositionByCreator(ctx context.Context, in *QueryLiquidatorPositionByCreatorRequest, opts ...grpc.CallOption) (*QueryLiquidatorPositionByCreatorResponse, error)
	LiquidatorPositionById(ctx context.Context, in *QueryLiquidatorPositionByIdRequest, opts ...grpc.CallOption) (*QueryLiquidatorPositionByIdResponse, error)
	LendById(ctx context.Context, in *QueryLendByIdRequest, opts ...grpc.CallOption) (*QueryLendByIdResponse, error)
	LoanById(ctx context.Context, in *QueryLoanByIdRequest, opts ...grpc.CallOption) (*QueryLoanByIdResponse, error)
	YieldPercentage(ctx context.Context, in *QueryYieldPercentageRequest, opts ...grpc.CallOption) (*QueryYieldPercentageResponse, error)
	PairByDenomId(ctx context.Context, in *PairByDenomIdRequest, opts ...grpc.CallOption) (*PairByDenomIdResponse, error)
	AllPairs(ctx context.Context, in *AllPairsRequest, opts ...grpc.CallOption) (*AllPairsResponse, 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 QueryGetAllAssetsRequest added in v0.2.5

type QueryGetAllAssetsRequest struct {
}

GetAllAssets

func (*QueryGetAllAssetsRequest) Descriptor added in v0.2.5

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

func (*QueryGetAllAssetsRequest) Marshal added in v0.2.5

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

func (*QueryGetAllAssetsRequest) MarshalTo added in v0.2.5

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

func (*QueryGetAllAssetsRequest) MarshalToSizedBuffer added in v0.2.5

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

func (*QueryGetAllAssetsRequest) ProtoMessage added in v0.2.5

func (*QueryGetAllAssetsRequest) ProtoMessage()

func (*QueryGetAllAssetsRequest) Reset added in v0.2.5

func (m *QueryGetAllAssetsRequest) Reset()

func (*QueryGetAllAssetsRequest) Size added in v0.2.5

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

func (*QueryGetAllAssetsRequest) String added in v0.2.5

func (m *QueryGetAllAssetsRequest) String() string

func (*QueryGetAllAssetsRequest) Unmarshal added in v0.2.5

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

func (*QueryGetAllAssetsRequest) XXX_DiscardUnknown added in v0.2.5

func (m *QueryGetAllAssetsRequest) XXX_DiscardUnknown()

func (*QueryGetAllAssetsRequest) XXX_Marshal added in v0.2.5

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

func (*QueryGetAllAssetsRequest) XXX_Merge added in v0.2.5

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

func (*QueryGetAllAssetsRequest) XXX_Size added in v0.2.5

func (m *QueryGetAllAssetsRequest) XXX_Size() int

func (*QueryGetAllAssetsRequest) XXX_Unmarshal added in v0.2.5

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

type QueryGetAllAssetsResponse added in v0.2.5

type QueryGetAllAssetsResponse struct {
	Assets []Asset `protobuf:"bytes,1,rep,name=assets,proto3" json:"assets"`
}

func (*QueryGetAllAssetsResponse) Descriptor added in v0.2.5

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

func (*QueryGetAllAssetsResponse) GetAssets added in v0.2.5

func (m *QueryGetAllAssetsResponse) GetAssets() []Asset

func (*QueryGetAllAssetsResponse) Marshal added in v0.2.5

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

func (*QueryGetAllAssetsResponse) MarshalTo added in v0.2.5

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

func (*QueryGetAllAssetsResponse) MarshalToSizedBuffer added in v0.2.5

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

func (*QueryGetAllAssetsResponse) ProtoMessage added in v0.2.5

func (*QueryGetAllAssetsResponse) ProtoMessage()

func (*QueryGetAllAssetsResponse) Reset added in v0.2.5

func (m *QueryGetAllAssetsResponse) Reset()

func (*QueryGetAllAssetsResponse) Size added in v0.2.5

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

func (*QueryGetAllAssetsResponse) String added in v0.2.5

func (m *QueryGetAllAssetsResponse) String() string

func (*QueryGetAllAssetsResponse) Unmarshal added in v0.2.5

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

func (*QueryGetAllAssetsResponse) XXX_DiscardUnknown added in v0.2.5

func (m *QueryGetAllAssetsResponse) XXX_DiscardUnknown()

func (*QueryGetAllAssetsResponse) XXX_Marshal added in v0.2.5

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

func (*QueryGetAllAssetsResponse) XXX_Merge added in v0.2.5

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

func (*QueryGetAllAssetsResponse) XXX_Size added in v0.2.5

func (m *QueryGetAllAssetsResponse) XXX_Size() int

func (*QueryGetAllAssetsResponse) XXX_Unmarshal added in v0.2.5

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

type QueryLendByIdRequest added in v0.2.5

type QueryLendByIdRequest struct {
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
}

LendById

func (*QueryLendByIdRequest) Descriptor added in v0.2.5

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

func (*QueryLendByIdRequest) GetId added in v0.2.5

func (m *QueryLendByIdRequest) GetId() string

func (*QueryLendByIdRequest) Marshal added in v0.2.5

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

func (*QueryLendByIdRequest) MarshalTo added in v0.2.5

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

func (*QueryLendByIdRequest) MarshalToSizedBuffer added in v0.2.5

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

func (*QueryLendByIdRequest) ProtoMessage added in v0.2.5

func (*QueryLendByIdRequest) ProtoMessage()

func (*QueryLendByIdRequest) Reset added in v0.2.5

func (m *QueryLendByIdRequest) Reset()

func (*QueryLendByIdRequest) Size added in v0.2.5

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

func (*QueryLendByIdRequest) String added in v0.2.5

func (m *QueryLendByIdRequest) String() string

func (*QueryLendByIdRequest) Unmarshal added in v0.2.5

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

func (*QueryLendByIdRequest) XXX_DiscardUnknown added in v0.2.5

func (m *QueryLendByIdRequest) XXX_DiscardUnknown()

func (*QueryLendByIdRequest) XXX_Marshal added in v0.2.5

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

func (*QueryLendByIdRequest) XXX_Merge added in v0.2.5

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

func (*QueryLendByIdRequest) XXX_Size added in v0.2.5

func (m *QueryLendByIdRequest) XXX_Size() int

func (*QueryLendByIdRequest) XXX_Unmarshal added in v0.2.5

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

type QueryLendByIdResponse added in v0.2.5

type QueryLendByIdResponse struct {
	Lend Lend `protobuf:"bytes,1,opt,name=lend,proto3" json:"lend"`
}

func (*QueryLendByIdResponse) Descriptor added in v0.2.5

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

func (*QueryLendByIdResponse) GetLend added in v0.2.5

func (m *QueryLendByIdResponse) GetLend() Lend

func (*QueryLendByIdResponse) Marshal added in v0.2.5

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

func (*QueryLendByIdResponse) MarshalTo added in v0.2.5

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

func (*QueryLendByIdResponse) MarshalToSizedBuffer added in v0.2.5

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

func (*QueryLendByIdResponse) ProtoMessage added in v0.2.5

func (*QueryLendByIdResponse) ProtoMessage()

func (*QueryLendByIdResponse) Reset added in v0.2.5

func (m *QueryLendByIdResponse) Reset()

func (*QueryLendByIdResponse) Size added in v0.2.5

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

func (*QueryLendByIdResponse) String added in v0.2.5

func (m *QueryLendByIdResponse) String() string

func (*QueryLendByIdResponse) Unmarshal added in v0.2.5

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

func (*QueryLendByIdResponse) XXX_DiscardUnknown added in v0.2.5

func (m *QueryLendByIdResponse) XXX_DiscardUnknown()

func (*QueryLendByIdResponse) XXX_Marshal added in v0.2.5

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

func (*QueryLendByIdResponse) XXX_Merge added in v0.2.5

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

func (*QueryLendByIdResponse) XXX_Size added in v0.2.5

func (m *QueryLendByIdResponse) XXX_Size() int

func (*QueryLendByIdResponse) XXX_Unmarshal added in v0.2.5

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

type QueryLiquidatorPositionByCreatorRequest

type QueryLiquidatorPositionByCreatorRequest struct {
	Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"`
}

LiquidatorPositionByCreator

func (*QueryLiquidatorPositionByCreatorRequest) Descriptor

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

func (*QueryLiquidatorPositionByCreatorRequest) GetCreator

func (*QueryLiquidatorPositionByCreatorRequest) Marshal

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

func (*QueryLiquidatorPositionByCreatorRequest) MarshalTo

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

func (*QueryLiquidatorPositionByCreatorRequest) MarshalToSizedBuffer

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

func (*QueryLiquidatorPositionByCreatorRequest) ProtoMessage

func (*QueryLiquidatorPositionByCreatorRequest) Reset

func (*QueryLiquidatorPositionByCreatorRequest) Size

func (*QueryLiquidatorPositionByCreatorRequest) String

func (*QueryLiquidatorPositionByCreatorRequest) Unmarshal

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

func (*QueryLiquidatorPositionByCreatorRequest) XXX_DiscardUnknown

func (m *QueryLiquidatorPositionByCreatorRequest) XXX_DiscardUnknown()

func (*QueryLiquidatorPositionByCreatorRequest) XXX_Marshal

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

func (*QueryLiquidatorPositionByCreatorRequest) XXX_Merge

func (*QueryLiquidatorPositionByCreatorRequest) XXX_Size

func (*QueryLiquidatorPositionByCreatorRequest) XXX_Unmarshal

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

type QueryLiquidatorPositionByCreatorResponse

type QueryLiquidatorPositionByCreatorResponse struct {
	Position []LiquidatorPosition `protobuf:"bytes,1,rep,name=position,proto3" json:"position"`
}

func (*QueryLiquidatorPositionByCreatorResponse) Descriptor

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

func (*QueryLiquidatorPositionByCreatorResponse) GetPosition added in v0.2.5

func (*QueryLiquidatorPositionByCreatorResponse) Marshal

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

func (*QueryLiquidatorPositionByCreatorResponse) MarshalTo

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

func (*QueryLiquidatorPositionByCreatorResponse) MarshalToSizedBuffer

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

func (*QueryLiquidatorPositionByCreatorResponse) ProtoMessage

func (*QueryLiquidatorPositionByCreatorResponse) Reset

func (*QueryLiquidatorPositionByCreatorResponse) Size

func (*QueryLiquidatorPositionByCreatorResponse) String

func (*QueryLiquidatorPositionByCreatorResponse) Unmarshal

func (*QueryLiquidatorPositionByCreatorResponse) XXX_DiscardUnknown

func (m *QueryLiquidatorPositionByCreatorResponse) XXX_DiscardUnknown()

func (*QueryLiquidatorPositionByCreatorResponse) XXX_Marshal

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

func (*QueryLiquidatorPositionByCreatorResponse) XXX_Merge

func (*QueryLiquidatorPositionByCreatorResponse) XXX_Size

func (*QueryLiquidatorPositionByCreatorResponse) XXX_Unmarshal

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

type QueryLiquidatorPositionByIdRequest

type QueryLiquidatorPositionByIdRequest struct {
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
}

LiquidatorPositionById

func (*QueryLiquidatorPositionByIdRequest) Descriptor

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

func (*QueryLiquidatorPositionByIdRequest) GetId

func (*QueryLiquidatorPositionByIdRequest) Marshal

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

func (*QueryLiquidatorPositionByIdRequest) MarshalTo

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

func (*QueryLiquidatorPositionByIdRequest) MarshalToSizedBuffer

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

func (*QueryLiquidatorPositionByIdRequest) ProtoMessage

func (*QueryLiquidatorPositionByIdRequest) ProtoMessage()

func (*QueryLiquidatorPositionByIdRequest) Reset

func (*QueryLiquidatorPositionByIdRequest) Size

func (*QueryLiquidatorPositionByIdRequest) String

func (*QueryLiquidatorPositionByIdRequest) Unmarshal

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

func (*QueryLiquidatorPositionByIdRequest) XXX_DiscardUnknown

func (m *QueryLiquidatorPositionByIdRequest) XXX_DiscardUnknown()

func (*QueryLiquidatorPositionByIdRequest) XXX_Marshal

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

func (*QueryLiquidatorPositionByIdRequest) XXX_Merge

func (*QueryLiquidatorPositionByIdRequest) XXX_Size

func (*QueryLiquidatorPositionByIdRequest) XXX_Unmarshal

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

type QueryLiquidatorPositionByIdResponse added in v0.2.5

type QueryLiquidatorPositionByIdResponse struct {
	LiquidatorsPosition LiquidatorPosition `protobuf:"bytes,1,opt,name=liquidators_position,json=liquidatorsPosition,proto3" json:"liquidators_position"`
}

func (*QueryLiquidatorPositionByIdResponse) Descriptor added in v0.2.5

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

func (*QueryLiquidatorPositionByIdResponse) GetLiquidatorsPosition added in v0.2.5

func (m *QueryLiquidatorPositionByIdResponse) GetLiquidatorsPosition() LiquidatorPosition

func (*QueryLiquidatorPositionByIdResponse) Marshal added in v0.2.5

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

func (*QueryLiquidatorPositionByIdResponse) MarshalTo added in v0.2.5

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

func (*QueryLiquidatorPositionByIdResponse) MarshalToSizedBuffer added in v0.2.5

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

func (*QueryLiquidatorPositionByIdResponse) ProtoMessage added in v0.2.5

func (*QueryLiquidatorPositionByIdResponse) ProtoMessage()

func (*QueryLiquidatorPositionByIdResponse) Reset added in v0.2.5

func (*QueryLiquidatorPositionByIdResponse) Size added in v0.2.5

func (*QueryLiquidatorPositionByIdResponse) String added in v0.2.5

func (*QueryLiquidatorPositionByIdResponse) Unmarshal added in v0.2.5

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

func (*QueryLiquidatorPositionByIdResponse) XXX_DiscardUnknown added in v0.2.5

func (m *QueryLiquidatorPositionByIdResponse) XXX_DiscardUnknown()

func (*QueryLiquidatorPositionByIdResponse) XXX_Marshal added in v0.2.5

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

func (*QueryLiquidatorPositionByIdResponse) XXX_Merge added in v0.2.5

func (*QueryLiquidatorPositionByIdResponse) XXX_Size added in v0.2.5

func (*QueryLiquidatorPositionByIdResponse) XXX_Unmarshal added in v0.2.5

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

type QueryLoanByIdRequest

type QueryLoanByIdRequest struct {
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
}

LoanById

func (*QueryLoanByIdRequest) Descriptor

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

func (*QueryLoanByIdRequest) GetId

func (m *QueryLoanByIdRequest) GetId() string

func (*QueryLoanByIdRequest) Marshal

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

func (*QueryLoanByIdRequest) MarshalTo

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

func (*QueryLoanByIdRequest) MarshalToSizedBuffer

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

func (*QueryLoanByIdRequest) ProtoMessage

func (*QueryLoanByIdRequest) ProtoMessage()

func (*QueryLoanByIdRequest) Reset

func (m *QueryLoanByIdRequest) Reset()

func (*QueryLoanByIdRequest) Size

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

func (*QueryLoanByIdRequest) String

func (m *QueryLoanByIdRequest) String() string

func (*QueryLoanByIdRequest) Unmarshal

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

func (*QueryLoanByIdRequest) XXX_DiscardUnknown

func (m *QueryLoanByIdRequest) XXX_DiscardUnknown()

func (*QueryLoanByIdRequest) XXX_Marshal

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

func (*QueryLoanByIdRequest) XXX_Merge

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

func (*QueryLoanByIdRequest) XXX_Size

func (m *QueryLoanByIdRequest) XXX_Size() int

func (*QueryLoanByIdRequest) XXX_Unmarshal

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

type QueryLoanByIdResponse

type QueryLoanByIdResponse struct {
	Loan Loan `protobuf:"bytes,1,opt,name=loan,proto3" json:"loan"`
}

func (*QueryLoanByIdResponse) Descriptor

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

func (*QueryLoanByIdResponse) GetLoan added in v0.2.5

func (m *QueryLoanByIdResponse) GetLoan() Loan

func (*QueryLoanByIdResponse) Marshal

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

func (*QueryLoanByIdResponse) MarshalTo

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

func (*QueryLoanByIdResponse) MarshalToSizedBuffer

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

func (*QueryLoanByIdResponse) ProtoMessage

func (*QueryLoanByIdResponse) ProtoMessage()

func (*QueryLoanByIdResponse) Reset

func (m *QueryLoanByIdResponse) Reset()

func (*QueryLoanByIdResponse) Size

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

func (*QueryLoanByIdResponse) String

func (m *QueryLoanByIdResponse) String() string

func (*QueryLoanByIdResponse) Unmarshal

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

func (*QueryLoanByIdResponse) XXX_DiscardUnknown

func (m *QueryLoanByIdResponse) XXX_DiscardUnknown()

func (*QueryLoanByIdResponse) XXX_Marshal

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

func (*QueryLoanByIdResponse) XXX_Merge

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

func (*QueryLoanByIdResponse) XXX_Size

func (m *QueryLoanByIdResponse) XXX_Size() int

func (*QueryLoanByIdResponse) XXX_Unmarshal

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

type QueryParamsRequest

type QueryParamsRequest struct {
}

func (*QueryParamsRequest) Descriptor

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

func (*QueryParamsRequest) Marshal

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

func (*QueryParamsRequest) MarshalTo

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

func (*QueryParamsRequest) MarshalToSizedBuffer

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

func (*QueryParamsRequest) ProtoMessage

func (*QueryParamsRequest) ProtoMessage()

func (*QueryParamsRequest) Reset

func (m *QueryParamsRequest) Reset()

func (*QueryParamsRequest) Size

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

func (*QueryParamsRequest) String

func (m *QueryParamsRequest) String() string

func (*QueryParamsRequest) Unmarshal

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

func (*QueryParamsRequest) XXX_DiscardUnknown

func (m *QueryParamsRequest) XXX_DiscardUnknown()

func (*QueryParamsRequest) XXX_Marshal

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

func (*QueryParamsRequest) XXX_Merge

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

func (*QueryParamsRequest) XXX_Size

func (m *QueryParamsRequest) XXX_Size() int

func (*QueryParamsRequest) XXX_Unmarshal

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

type QueryParamsResponse

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

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 QueryPositionByCreatorRequest

type QueryPositionByCreatorRequest struct {
	Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"`
}

PositionByCreator

func (*QueryPositionByCreatorRequest) Descriptor

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

func (*QueryPositionByCreatorRequest) GetCreator

func (m *QueryPositionByCreatorRequest) GetCreator() string

func (*QueryPositionByCreatorRequest) Marshal

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

func (*QueryPositionByCreatorRequest) MarshalTo

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

func (*QueryPositionByCreatorRequest) MarshalToSizedBuffer

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

func (*QueryPositionByCreatorRequest) ProtoMessage

func (*QueryPositionByCreatorRequest) ProtoMessage()

func (*QueryPositionByCreatorRequest) Reset

func (m *QueryPositionByCreatorRequest) Reset()

func (*QueryPositionByCreatorRequest) Size

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

func (*QueryPositionByCreatorRequest) String

func (*QueryPositionByCreatorRequest) Unmarshal

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

func (*QueryPositionByCreatorRequest) XXX_DiscardUnknown

func (m *QueryPositionByCreatorRequest) XXX_DiscardUnknown()

func (*QueryPositionByCreatorRequest) XXX_Marshal

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

func (*QueryPositionByCreatorRequest) XXX_Merge

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

func (*QueryPositionByCreatorRequest) XXX_Size

func (m *QueryPositionByCreatorRequest) XXX_Size() int

func (*QueryPositionByCreatorRequest) XXX_Unmarshal

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

type QueryPositionByIdRequest

type QueryPositionByIdRequest struct {
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
}

PositionById

func (*QueryPositionByIdRequest) Descriptor

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

func (*QueryPositionByIdRequest) GetId

func (m *QueryPositionByIdRequest) GetId() string

func (*QueryPositionByIdRequest) Marshal

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

func (*QueryPositionByIdRequest) MarshalTo

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

func (*QueryPositionByIdRequest) MarshalToSizedBuffer

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

func (*QueryPositionByIdRequest) ProtoMessage

func (*QueryPositionByIdRequest) ProtoMessage()

func (*QueryPositionByIdRequest) Reset

func (m *QueryPositionByIdRequest) Reset()

func (*QueryPositionByIdRequest) Size

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

func (*QueryPositionByIdRequest) String

func (m *QueryPositionByIdRequest) String() string

func (*QueryPositionByIdRequest) Unmarshal

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

func (*QueryPositionByIdRequest) XXX_DiscardUnknown

func (m *QueryPositionByIdRequest) XXX_DiscardUnknown()

func (*QueryPositionByIdRequest) XXX_Marshal

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

func (*QueryPositionByIdRequest) XXX_Merge

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

func (*QueryPositionByIdRequest) XXX_Size

func (m *QueryPositionByIdRequest) XXX_Size() int

func (*QueryPositionByIdRequest) XXX_Unmarshal

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

type QueryPositionResponse

type QueryPositionResponse struct {
	Position Position `protobuf:"bytes,1,opt,name=position,proto3" json:"position"`
}

func (*QueryPositionResponse) Descriptor

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

func (*QueryPositionResponse) GetPosition added in v0.2.5

func (m *QueryPositionResponse) GetPosition() Position

func (*QueryPositionResponse) Marshal

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

func (*QueryPositionResponse) MarshalTo

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

func (*QueryPositionResponse) MarshalToSizedBuffer

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

func (*QueryPositionResponse) ProtoMessage

func (*QueryPositionResponse) ProtoMessage()

func (*QueryPositionResponse) Reset

func (m *QueryPositionResponse) Reset()

func (*QueryPositionResponse) Size

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

func (*QueryPositionResponse) String

func (m *QueryPositionResponse) String() string

func (*QueryPositionResponse) Unmarshal

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

func (*QueryPositionResponse) XXX_DiscardUnknown

func (m *QueryPositionResponse) XXX_DiscardUnknown()

func (*QueryPositionResponse) XXX_Marshal

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

func (*QueryPositionResponse) XXX_Merge

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

func (*QueryPositionResponse) XXX_Size

func (m *QueryPositionResponse) XXX_Size() int

func (*QueryPositionResponse) XXX_Unmarshal

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

type QueryYieldPercentageRequest

type QueryYieldPercentageRequest struct {
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
}

YieldPercentage

func (*QueryYieldPercentageRequest) Descriptor

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

func (*QueryYieldPercentageRequest) GetId

func (*QueryYieldPercentageRequest) Marshal

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

func (*QueryYieldPercentageRequest) MarshalTo

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

func (*QueryYieldPercentageRequest) MarshalToSizedBuffer

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

func (*QueryYieldPercentageRequest) ProtoMessage

func (*QueryYieldPercentageRequest) ProtoMessage()

func (*QueryYieldPercentageRequest) Reset

func (m *QueryYieldPercentageRequest) Reset()

func (*QueryYieldPercentageRequest) Size

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

func (*QueryYieldPercentageRequest) String

func (m *QueryYieldPercentageRequest) String() string

func (*QueryYieldPercentageRequest) Unmarshal

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

func (*QueryYieldPercentageRequest) XXX_DiscardUnknown

func (m *QueryYieldPercentageRequest) XXX_DiscardUnknown()

func (*QueryYieldPercentageRequest) XXX_Marshal

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

func (*QueryYieldPercentageRequest) XXX_Merge

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

func (*QueryYieldPercentageRequest) XXX_Size

func (m *QueryYieldPercentageRequest) XXX_Size() int

func (*QueryYieldPercentageRequest) XXX_Unmarshal

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

type QueryYieldPercentageResponse

type QueryYieldPercentageResponse struct {
	RealRate     int64  `protobuf:"varint,1,opt,name=RealRate,proto3" json:"RealRate,omitempty"`
	BorrowRate   int64  `protobuf:"varint,2,opt,name=BorrowRate,proto3" json:"BorrowRate,omitempty"`
	RealYield    int64  `protobuf:"varint,3,opt,name=RealYield,proto3" json:"RealYield,omitempty"`
	GrowYield    int64  `protobuf:"varint,4,opt,name=GrowYield,proto3" json:"GrowYield,omitempty"`
	ActualAction string `protobuf:"bytes,5,opt,name=ActualAction,proto3" json:"ActualAction,omitempty"`
	Difference   int64  `protobuf:"varint,6,opt,name=Difference,proto3" json:"Difference,omitempty"`
}

func (*QueryYieldPercentageResponse) Descriptor

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

func (*QueryYieldPercentageResponse) GetActualAction

func (m *QueryYieldPercentageResponse) GetActualAction() string

func (*QueryYieldPercentageResponse) GetBorrowRate

func (m *QueryYieldPercentageResponse) GetBorrowRate() int64

func (*QueryYieldPercentageResponse) GetDifference

func (m *QueryYieldPercentageResponse) GetDifference() int64

func (*QueryYieldPercentageResponse) GetGrowYield

func (m *QueryYieldPercentageResponse) GetGrowYield() int64

func (*QueryYieldPercentageResponse) GetRealRate

func (m *QueryYieldPercentageResponse) GetRealRate() int64

func (*QueryYieldPercentageResponse) GetRealYield

func (m *QueryYieldPercentageResponse) GetRealYield() int64

func (*QueryYieldPercentageResponse) Marshal

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

func (*QueryYieldPercentageResponse) MarshalTo

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

func (*QueryYieldPercentageResponse) MarshalToSizedBuffer

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

func (*QueryYieldPercentageResponse) ProtoMessage

func (*QueryYieldPercentageResponse) ProtoMessage()

func (*QueryYieldPercentageResponse) Reset

func (m *QueryYieldPercentageResponse) Reset()

func (*QueryYieldPercentageResponse) Size

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

func (*QueryYieldPercentageResponse) String

func (*QueryYieldPercentageResponse) Unmarshal

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

func (*QueryYieldPercentageResponse) XXX_DiscardUnknown

func (m *QueryYieldPercentageResponse) XXX_DiscardUnknown()

func (*QueryYieldPercentageResponse) XXX_Marshal

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

func (*QueryYieldPercentageResponse) XXX_Merge

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

func (*QueryYieldPercentageResponse) XXX_Size

func (m *QueryYieldPercentageResponse) XXX_Size() int

func (*QueryYieldPercentageResponse) XXX_Unmarshal

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

type RegisterChangeBorrowMethodStatusProposal added in v0.2.1

type RegisterChangeBorrowMethodStatusProposal struct {
	Title       string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"`
	Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
}

func (*RegisterChangeBorrowMethodStatusProposal) Descriptor added in v0.2.1

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

func (*RegisterChangeBorrowMethodStatusProposal) GetDescription added in v0.2.1

func (*RegisterChangeBorrowMethodStatusProposal) GetTitle added in v0.2.1

func (*RegisterChangeBorrowMethodStatusProposal) Marshal added in v0.2.1

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

func (*RegisterChangeBorrowMethodStatusProposal) MarshalTo added in v0.2.1

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

func (*RegisterChangeBorrowMethodStatusProposal) MarshalToSizedBuffer added in v0.2.1

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

func (*RegisterChangeBorrowMethodStatusProposal) ProposalRoute added in v0.2.1

func (*RegisterChangeBorrowMethodStatusProposal) ProposalType added in v0.2.1

func (*RegisterChangeBorrowMethodStatusProposal) ProtoMessage added in v0.2.1

func (*RegisterChangeBorrowMethodStatusProposal) Reset added in v0.2.1

func (*RegisterChangeBorrowMethodStatusProposal) Size added in v0.2.1

func (*RegisterChangeBorrowMethodStatusProposal) String added in v0.2.1

func (*RegisterChangeBorrowMethodStatusProposal) Unmarshal added in v0.2.1

func (*RegisterChangeBorrowMethodStatusProposal) ValidateBasic added in v0.2.1

func (rtbp *RegisterChangeBorrowMethodStatusProposal) ValidateBasic() error

#nosec

func (*RegisterChangeBorrowMethodStatusProposal) XXX_DiscardUnknown added in v0.2.1

func (m *RegisterChangeBorrowMethodStatusProposal) XXX_DiscardUnknown()

func (*RegisterChangeBorrowMethodStatusProposal) XXX_Marshal added in v0.2.1

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

func (*RegisterChangeBorrowMethodStatusProposal) XXX_Merge added in v0.2.1

func (*RegisterChangeBorrowMethodStatusProposal) XXX_Size added in v0.2.1

func (*RegisterChangeBorrowMethodStatusProposal) XXX_Unmarshal added in v0.2.1

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

type RegisterChangeBorrowRateProposal

type RegisterChangeBorrowRateProposal struct {
	// title of the proposal
	Title string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"`
	// description of the proposal
	Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
	Rate        uint64 `protobuf:"varint,3,opt,name=rate,proto3" json:"rate,omitempty"`
	Id          string `protobuf:"bytes,4,opt,name=id,proto3" json:"id,omitempty"`
}

func (*RegisterChangeBorrowRateProposal) Descriptor

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

func (*RegisterChangeBorrowRateProposal) GetDescription

func (m *RegisterChangeBorrowRateProposal) GetDescription() string

func (*RegisterChangeBorrowRateProposal) GetId added in v0.2.1

func (*RegisterChangeBorrowRateProposal) GetRate

func (*RegisterChangeBorrowRateProposal) GetTitle

func (*RegisterChangeBorrowRateProposal) Marshal

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

func (*RegisterChangeBorrowRateProposal) MarshalTo

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

func (*RegisterChangeBorrowRateProposal) MarshalToSizedBuffer

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

func (*RegisterChangeBorrowRateProposal) ProposalRoute

func (*RegisterChangeBorrowRateProposal) ProposalRoute() string

func (*RegisterChangeBorrowRateProposal) ProposalType

func (*RegisterChangeBorrowRateProposal) ProposalType() string

func (*RegisterChangeBorrowRateProposal) ProtoMessage

func (*RegisterChangeBorrowRateProposal) ProtoMessage()

func (*RegisterChangeBorrowRateProposal) Reset

func (*RegisterChangeBorrowRateProposal) Size

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

func (*RegisterChangeBorrowRateProposal) String

func (*RegisterChangeBorrowRateProposal) Unmarshal

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

func (*RegisterChangeBorrowRateProposal) ValidateBasic

func (rtbp *RegisterChangeBorrowRateProposal) ValidateBasic() error

#nosec

func (*RegisterChangeBorrowRateProposal) XXX_DiscardUnknown

func (m *RegisterChangeBorrowRateProposal) XXX_DiscardUnknown()

func (*RegisterChangeBorrowRateProposal) XXX_Marshal

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

func (*RegisterChangeBorrowRateProposal) XXX_Merge

func (*RegisterChangeBorrowRateProposal) XXX_Size

func (m *RegisterChangeBorrowRateProposal) XXX_Size() int

func (*RegisterChangeBorrowRateProposal) XXX_Unmarshal

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

type RegisterChangeCollateralMethodStatusProposal added in v0.2.1

type RegisterChangeCollateralMethodStatusProposal struct {
	Title       string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"`
	Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
}

func (*RegisterChangeCollateralMethodStatusProposal) Descriptor added in v0.2.1

func (*RegisterChangeCollateralMethodStatusProposal) GetDescription added in v0.2.1

func (*RegisterChangeCollateralMethodStatusProposal) GetTitle added in v0.2.1

func (*RegisterChangeCollateralMethodStatusProposal) Marshal added in v0.2.1

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

func (*RegisterChangeCollateralMethodStatusProposal) MarshalTo added in v0.2.1

func (*RegisterChangeCollateralMethodStatusProposal) MarshalToSizedBuffer added in v0.2.1

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

func (*RegisterChangeCollateralMethodStatusProposal) ProposalRoute added in v0.2.1

func (*RegisterChangeCollateralMethodStatusProposal) ProposalType added in v0.2.1

func (*RegisterChangeCollateralMethodStatusProposal) ProtoMessage added in v0.2.1

func (*RegisterChangeCollateralMethodStatusProposal) Reset added in v0.2.1

func (*RegisterChangeCollateralMethodStatusProposal) Size added in v0.2.1

func (*RegisterChangeCollateralMethodStatusProposal) String added in v0.2.1

func (*RegisterChangeCollateralMethodStatusProposal) Unmarshal added in v0.2.1

func (*RegisterChangeCollateralMethodStatusProposal) ValidateBasic added in v0.2.1

#nosec

func (*RegisterChangeCollateralMethodStatusProposal) XXX_DiscardUnknown added in v0.2.1

func (m *RegisterChangeCollateralMethodStatusProposal) XXX_DiscardUnknown()

func (*RegisterChangeCollateralMethodStatusProposal) XXX_Marshal added in v0.2.1

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

func (*RegisterChangeCollateralMethodStatusProposal) XXX_Merge added in v0.2.1

func (*RegisterChangeCollateralMethodStatusProposal) XXX_Size added in v0.2.1

func (*RegisterChangeCollateralMethodStatusProposal) XXX_Unmarshal added in v0.2.1

type RegisterChangeDepositMethodStatusProposal added in v0.2.1

type RegisterChangeDepositMethodStatusProposal struct {
	Title       string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"`
	Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
}

func (*RegisterChangeDepositMethodStatusProposal) Descriptor added in v0.2.1

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

func (*RegisterChangeDepositMethodStatusProposal) GetDescription added in v0.2.1

func (*RegisterChangeDepositMethodStatusProposal) GetTitle added in v0.2.1

func (*RegisterChangeDepositMethodStatusProposal) Marshal added in v0.2.1

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

func (*RegisterChangeDepositMethodStatusProposal) MarshalTo added in v0.2.1

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

func (*RegisterChangeDepositMethodStatusProposal) MarshalToSizedBuffer added in v0.2.1

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

func (*RegisterChangeDepositMethodStatusProposal) ProposalRoute added in v0.2.1

func (*RegisterChangeDepositMethodStatusProposal) ProposalType added in v0.2.1

func (*RegisterChangeDepositMethodStatusProposal) ProtoMessage added in v0.2.1

func (*RegisterChangeDepositMethodStatusProposal) Reset added in v0.2.1

func (*RegisterChangeDepositMethodStatusProposal) Size added in v0.2.1

func (*RegisterChangeDepositMethodStatusProposal) String added in v0.2.1

func (*RegisterChangeDepositMethodStatusProposal) Unmarshal added in v0.2.1

func (*RegisterChangeDepositMethodStatusProposal) ValidateBasic added in v0.2.1

func (rtbp *RegisterChangeDepositMethodStatusProposal) ValidateBasic() error

#nosec

func (*RegisterChangeDepositMethodStatusProposal) XXX_DiscardUnknown added in v0.2.1

func (m *RegisterChangeDepositMethodStatusProposal) XXX_DiscardUnknown()

func (*RegisterChangeDepositMethodStatusProposal) XXX_Marshal added in v0.2.1

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

func (*RegisterChangeDepositMethodStatusProposal) XXX_Merge added in v0.2.1

func (*RegisterChangeDepositMethodStatusProposal) XXX_Size added in v0.2.1

func (*RegisterChangeDepositMethodStatusProposal) XXX_Unmarshal added in v0.2.1

type RegisterChangeGrowStakingReserveAddressProposal

type RegisterChangeGrowStakingReserveAddressProposal struct {
	// title of the proposal
	Title string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"`
	// description of the proposal
	Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
	Address     string `protobuf:"bytes,3,opt,name=address,proto3" json:"address,omitempty"`
}

func (*RegisterChangeGrowStakingReserveAddressProposal) Descriptor

func (*RegisterChangeGrowStakingReserveAddressProposal) GetAddress

func (*RegisterChangeGrowStakingReserveAddressProposal) GetDescription

func (*RegisterChangeGrowStakingReserveAddressProposal) GetTitle

func (*RegisterChangeGrowStakingReserveAddressProposal) Marshal

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

func (*RegisterChangeGrowStakingReserveAddressProposal) MarshalTo

func (*RegisterChangeGrowStakingReserveAddressProposal) MarshalToSizedBuffer

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

func (*RegisterChangeGrowStakingReserveAddressProposal) ProposalRoute

func (*RegisterChangeGrowStakingReserveAddressProposal) ProposalType

func (*RegisterChangeGrowStakingReserveAddressProposal) ProtoMessage

func (*RegisterChangeGrowStakingReserveAddressProposal) Reset

func (*RegisterChangeGrowStakingReserveAddressProposal) Size

func (*RegisterChangeGrowStakingReserveAddressProposal) String

func (*RegisterChangeGrowStakingReserveAddressProposal) Unmarshal

func (*RegisterChangeGrowStakingReserveAddressProposal) ValidateBasic

func (*RegisterChangeGrowStakingReserveAddressProposal) XXX_DiscardUnknown

func (m *RegisterChangeGrowStakingReserveAddressProposal) XXX_DiscardUnknown()

func (*RegisterChangeGrowStakingReserveAddressProposal) XXX_Marshal

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

func (*RegisterChangeGrowStakingReserveAddressProposal) XXX_Merge

func (*RegisterChangeGrowStakingReserveAddressProposal) XXX_Size

func (*RegisterChangeGrowStakingReserveAddressProposal) XXX_Unmarshal

type RegisterChangeGrowYieldReserveAddressProposal

type RegisterChangeGrowYieldReserveAddressProposal struct {
	// title of the proposal
	Title string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"`
	// description of the proposal
	Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
	Address     string `protobuf:"bytes,3,opt,name=address,proto3" json:"address,omitempty"`
}

func (*RegisterChangeGrowYieldReserveAddressProposal) Descriptor

func (*RegisterChangeGrowYieldReserveAddressProposal) GetAddress

func (*RegisterChangeGrowYieldReserveAddressProposal) GetDescription

func (*RegisterChangeGrowYieldReserveAddressProposal) GetTitle

func (*RegisterChangeGrowYieldReserveAddressProposal) Marshal

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

func (*RegisterChangeGrowYieldReserveAddressProposal) MarshalTo

func (*RegisterChangeGrowYieldReserveAddressProposal) MarshalToSizedBuffer

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

func (*RegisterChangeGrowYieldReserveAddressProposal) ProposalRoute

func (*RegisterChangeGrowYieldReserveAddressProposal) ProposalType

func (*RegisterChangeGrowYieldReserveAddressProposal) ProtoMessage

func (*RegisterChangeGrowYieldReserveAddressProposal) Reset

func (*RegisterChangeGrowYieldReserveAddressProposal) Size

func (*RegisterChangeGrowYieldReserveAddressProposal) String

func (*RegisterChangeGrowYieldReserveAddressProposal) Unmarshal

func (*RegisterChangeGrowYieldReserveAddressProposal) ValidateBasic

func (*RegisterChangeGrowYieldReserveAddressProposal) XXX_DiscardUnknown

func (m *RegisterChangeGrowYieldReserveAddressProposal) XXX_DiscardUnknown()

func (*RegisterChangeGrowYieldReserveAddressProposal) XXX_Marshal

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

func (*RegisterChangeGrowYieldReserveAddressProposal) XXX_Merge

func (*RegisterChangeGrowYieldReserveAddressProposal) XXX_Size

func (*RegisterChangeGrowYieldReserveAddressProposal) XXX_Unmarshal

type RegisterChangeLendRateProposal added in v0.2.1

type RegisterChangeLendRateProposal struct {
	// title of the proposal
	Title string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"`
	// description of the proposal
	Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
	Rate        uint64 `protobuf:"varint,3,opt,name=rate,proto3" json:"rate,omitempty"`
	Id          string `protobuf:"bytes,4,opt,name=id,proto3" json:"id,omitempty"`
}

func (*RegisterChangeLendRateProposal) Descriptor added in v0.2.1

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

func (*RegisterChangeLendRateProposal) GetDescription added in v0.2.1

func (m *RegisterChangeLendRateProposal) GetDescription() string

func (*RegisterChangeLendRateProposal) GetId added in v0.2.1

func (*RegisterChangeLendRateProposal) GetRate added in v0.2.1

func (*RegisterChangeLendRateProposal) GetTitle added in v0.2.1

func (m *RegisterChangeLendRateProposal) GetTitle() string

func (*RegisterChangeLendRateProposal) Marshal added in v0.2.1

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

func (*RegisterChangeLendRateProposal) MarshalTo added in v0.2.1

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

func (*RegisterChangeLendRateProposal) MarshalToSizedBuffer added in v0.2.1

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

func (*RegisterChangeLendRateProposal) ProposalRoute added in v0.2.1

func (*RegisterChangeLendRateProposal) ProposalRoute() string

func (*RegisterChangeLendRateProposal) ProposalType added in v0.2.1

func (*RegisterChangeLendRateProposal) ProposalType() string

func (*RegisterChangeLendRateProposal) ProtoMessage added in v0.2.1

func (*RegisterChangeLendRateProposal) ProtoMessage()

func (*RegisterChangeLendRateProposal) Reset added in v0.2.1

func (m *RegisterChangeLendRateProposal) Reset()

func (*RegisterChangeLendRateProposal) Size added in v0.2.1

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

func (*RegisterChangeLendRateProposal) String added in v0.2.1

func (*RegisterChangeLendRateProposal) Unmarshal added in v0.2.1

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

func (*RegisterChangeLendRateProposal) ValidateBasic added in v0.2.1

func (rtbp *RegisterChangeLendRateProposal) ValidateBasic() error

#nosec

func (*RegisterChangeLendRateProposal) XXX_DiscardUnknown added in v0.2.1

func (m *RegisterChangeLendRateProposal) XXX_DiscardUnknown()

func (*RegisterChangeLendRateProposal) XXX_Marshal added in v0.2.1

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

func (*RegisterChangeLendRateProposal) XXX_Merge added in v0.2.1

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

func (*RegisterChangeLendRateProposal) XXX_Size added in v0.2.1

func (m *RegisterChangeLendRateProposal) XXX_Size() int

func (*RegisterChangeLendRateProposal) XXX_Unmarshal added in v0.2.1

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

type RegisterChangeRealRateProposal

type RegisterChangeRealRateProposal struct {
	// title of the proposal
	Title string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"`
	// description of the proposal
	Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
	Rate        uint64 `protobuf:"varint,3,opt,name=rate,proto3" json:"rate,omitempty"`
	Id          string `protobuf:"bytes,4,opt,name=id,proto3" json:"id,omitempty"`
}

func (*RegisterChangeRealRateProposal) Descriptor

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

func (*RegisterChangeRealRateProposal) GetDescription

func (m *RegisterChangeRealRateProposal) GetDescription() string

func (*RegisterChangeRealRateProposal) GetId added in v0.2.1

func (*RegisterChangeRealRateProposal) GetRate

func (*RegisterChangeRealRateProposal) GetTitle

func (m *RegisterChangeRealRateProposal) GetTitle() string

func (*RegisterChangeRealRateProposal) Marshal

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

func (*RegisterChangeRealRateProposal) MarshalTo

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

func (*RegisterChangeRealRateProposal) MarshalToSizedBuffer

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

func (*RegisterChangeRealRateProposal) ProposalRoute

func (*RegisterChangeRealRateProposal) ProposalRoute() string

func (*RegisterChangeRealRateProposal) ProposalType

func (*RegisterChangeRealRateProposal) ProposalType() string

func (*RegisterChangeRealRateProposal) ProtoMessage

func (*RegisterChangeRealRateProposal) ProtoMessage()

func (*RegisterChangeRealRateProposal) Reset

func (m *RegisterChangeRealRateProposal) Reset()

func (*RegisterChangeRealRateProposal) Size

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

func (*RegisterChangeRealRateProposal) String

func (*RegisterChangeRealRateProposal) Unmarshal

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

func (*RegisterChangeRealRateProposal) ValidateBasic

func (rtbp *RegisterChangeRealRateProposal) ValidateBasic() error

#nosec

func (*RegisterChangeRealRateProposal) XXX_DiscardUnknown

func (m *RegisterChangeRealRateProposal) XXX_DiscardUnknown()

func (*RegisterChangeRealRateProposal) XXX_Marshal

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

func (*RegisterChangeRealRateProposal) XXX_Merge

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

func (*RegisterChangeRealRateProposal) XXX_Size

func (m *RegisterChangeRealRateProposal) XXX_Size() int

func (*RegisterChangeRealRateProposal) XXX_Unmarshal

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

type RegisterChangeUSQReserveAddressProposal

type RegisterChangeUSQReserveAddressProposal struct {
	// title of the proposal
	Title string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"`
	// description of the proposal
	Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
	Address     string `protobuf:"bytes,3,opt,name=address,proto3" json:"address,omitempty"`
}

func (*RegisterChangeUSQReserveAddressProposal) Descriptor

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

func (*RegisterChangeUSQReserveAddressProposal) GetAddress

func (*RegisterChangeUSQReserveAddressProposal) GetDescription

func (m *RegisterChangeUSQReserveAddressProposal) GetDescription() string

func (*RegisterChangeUSQReserveAddressProposal) GetTitle

func (*RegisterChangeUSQReserveAddressProposal) Marshal

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

func (*RegisterChangeUSQReserveAddressProposal) MarshalTo

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

func (*RegisterChangeUSQReserveAddressProposal) MarshalToSizedBuffer

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

func (*RegisterChangeUSQReserveAddressProposal) ProposalRoute

func (*RegisterChangeUSQReserveAddressProposal) ProposalType

func (*RegisterChangeUSQReserveAddressProposal) ProtoMessage

func (*RegisterChangeUSQReserveAddressProposal) Reset

func (*RegisterChangeUSQReserveAddressProposal) Size

func (*RegisterChangeUSQReserveAddressProposal) String

func (*RegisterChangeUSQReserveAddressProposal) Unmarshal

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

func (*RegisterChangeUSQReserveAddressProposal) ValidateBasic

func (rtbp *RegisterChangeUSQReserveAddressProposal) ValidateBasic() error

func (*RegisterChangeUSQReserveAddressProposal) XXX_DiscardUnknown

func (m *RegisterChangeUSQReserveAddressProposal) XXX_DiscardUnknown()

func (*RegisterChangeUSQReserveAddressProposal) XXX_Marshal

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

func (*RegisterChangeUSQReserveAddressProposal) XXX_Merge

func (*RegisterChangeUSQReserveAddressProposal) XXX_Size

func (*RegisterChangeUSQReserveAddressProposal) XXX_Unmarshal

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

type RegisterGTokenPairProposal

type RegisterGTokenPairProposal struct {
	// title of the proposal
	Title string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"`
	// description of the proposal
	Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
	// metadata slice of the native Cosmos coins
	GTokenMetadata types.Metadata `protobuf:"bytes,3,opt,name=gTokenMetadata,proto3" json:"gTokenMetadata" yaml:"assetMetadata"`
	QStablePairId  string         `protobuf:"bytes,4,opt,name=qStablePairId,proto3" json:"qStablePairId,omitempty"`
	MinAmountIn    string         `protobuf:"bytes,5,opt,name=minAmountIn,proto3" json:"minAmountIn,omitempty"`
	MinAmountOut   string         `protobuf:"bytes,6,opt,name=minAmountOut,proto3" json:"minAmountOut,omitempty"`
}

func (*RegisterGTokenPairProposal) Descriptor

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

func (*RegisterGTokenPairProposal) GetDescription

func (m *RegisterGTokenPairProposal) GetDescription() string

func (*RegisterGTokenPairProposal) GetGTokenMetadata

func (m *RegisterGTokenPairProposal) GetGTokenMetadata() types.Metadata

func (*RegisterGTokenPairProposal) GetMinAmountIn

func (m *RegisterGTokenPairProposal) GetMinAmountIn() string

func (*RegisterGTokenPairProposal) GetMinAmountOut

func (m *RegisterGTokenPairProposal) GetMinAmountOut() string

func (*RegisterGTokenPairProposal) GetQStablePairId

func (m *RegisterGTokenPairProposal) GetQStablePairId() string

func (*RegisterGTokenPairProposal) GetTitle

func (m *RegisterGTokenPairProposal) GetTitle() string

func (*RegisterGTokenPairProposal) Marshal

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

func (*RegisterGTokenPairProposal) MarshalTo

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

func (*RegisterGTokenPairProposal) MarshalToSizedBuffer

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

func (*RegisterGTokenPairProposal) ProposalRoute

func (*RegisterGTokenPairProposal) ProposalRoute() string

func (*RegisterGTokenPairProposal) ProposalType

func (*RegisterGTokenPairProposal) ProposalType() string

func (*RegisterGTokenPairProposal) ProtoMessage

func (*RegisterGTokenPairProposal) ProtoMessage()

func (*RegisterGTokenPairProposal) Reset

func (m *RegisterGTokenPairProposal) Reset()

func (*RegisterGTokenPairProposal) Size

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

func (*RegisterGTokenPairProposal) String

func (m *RegisterGTokenPairProposal) String() string

func (*RegisterGTokenPairProposal) Unmarshal

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

func (*RegisterGTokenPairProposal) ValidateBasic

func (rtbp *RegisterGTokenPairProposal) ValidateBasic() error

func (*RegisterGTokenPairProposal) XXX_DiscardUnknown

func (m *RegisterGTokenPairProposal) XXX_DiscardUnknown()

func (*RegisterGTokenPairProposal) XXX_Marshal

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

func (*RegisterGTokenPairProposal) XXX_Merge

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

func (*RegisterGTokenPairProposal) XXX_Size

func (m *RegisterGTokenPairProposal) XXX_Size() int

func (*RegisterGTokenPairProposal) XXX_Unmarshal

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

type RegisterLendAssetProposal

type RegisterLendAssetProposal struct {
	// title of the proposal
	Title string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"`
	// description of the proposal
	Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
	// metadata slice of the native Cosmos coins
	AssetMetadata types.Metadata `protobuf:"bytes,3,opt,name=assetMetadata,proto3" json:"assetMetadata" yaml:"assetMetadata"`
	OracleAssetId string         `protobuf:"bytes,4,opt,name=oracleAssetId,proto3" json:"oracleAssetId,omitempty"`
}

func (*RegisterLendAssetProposal) Descriptor

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

func (*RegisterLendAssetProposal) GetAssetMetadata

func (m *RegisterLendAssetProposal) GetAssetMetadata() types.Metadata

func (*RegisterLendAssetProposal) GetDescription

func (m *RegisterLendAssetProposal) GetDescription() string

func (*RegisterLendAssetProposal) GetOracleAssetId

func (m *RegisterLendAssetProposal) GetOracleAssetId() string

func (*RegisterLendAssetProposal) GetTitle

func (m *RegisterLendAssetProposal) GetTitle() string

func (*RegisterLendAssetProposal) Marshal

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

func (*RegisterLendAssetProposal) MarshalTo

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

func (*RegisterLendAssetProposal) MarshalToSizedBuffer

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

func (*RegisterLendAssetProposal) ProposalRoute

func (*RegisterLendAssetProposal) ProposalRoute() string

func (*RegisterLendAssetProposal) ProposalType

func (*RegisterLendAssetProposal) ProposalType() string

func (*RegisterLendAssetProposal) ProtoMessage

func (*RegisterLendAssetProposal) ProtoMessage()

func (*RegisterLendAssetProposal) Reset

func (m *RegisterLendAssetProposal) Reset()

func (*RegisterLendAssetProposal) Size

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

func (*RegisterLendAssetProposal) String

func (m *RegisterLendAssetProposal) String() string

func (*RegisterLendAssetProposal) Unmarshal

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

func (*RegisterLendAssetProposal) ValidateBasic

func (rtbp *RegisterLendAssetProposal) ValidateBasic() error

func (*RegisterLendAssetProposal) XXX_DiscardUnknown

func (m *RegisterLendAssetProposal) XXX_DiscardUnknown()

func (*RegisterLendAssetProposal) XXX_Marshal

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

func (*RegisterLendAssetProposal) XXX_Merge

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

func (*RegisterLendAssetProposal) XXX_Size

func (m *RegisterLendAssetProposal) XXX_Size() int

func (*RegisterLendAssetProposal) XXX_Unmarshal

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

type RegisterRemoveGTokenPairProposal

type RegisterRemoveGTokenPairProposal struct {
	Title        string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"`
	Description  string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
	GTokenPairID string `protobuf:"bytes,3,opt,name=gTokenPairID,proto3" json:"gTokenPairID,omitempty"`
}

func (*RegisterRemoveGTokenPairProposal) Descriptor

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

func (*RegisterRemoveGTokenPairProposal) GetDescription

func (m *RegisterRemoveGTokenPairProposal) GetDescription() string

func (*RegisterRemoveGTokenPairProposal) GetGTokenPairID

func (m *RegisterRemoveGTokenPairProposal) GetGTokenPairID() string

func (*RegisterRemoveGTokenPairProposal) GetTitle

func (*RegisterRemoveGTokenPairProposal) Marshal

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

func (*RegisterRemoveGTokenPairProposal) MarshalTo

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

func (*RegisterRemoveGTokenPairProposal) MarshalToSizedBuffer

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

func (*RegisterRemoveGTokenPairProposal) ProposalRoute

func (*RegisterRemoveGTokenPairProposal) ProposalRoute() string

func (*RegisterRemoveGTokenPairProposal) ProposalType

func (*RegisterRemoveGTokenPairProposal) ProposalType() string

func (*RegisterRemoveGTokenPairProposal) ProtoMessage

func (*RegisterRemoveGTokenPairProposal) ProtoMessage()

func (*RegisterRemoveGTokenPairProposal) Reset

func (*RegisterRemoveGTokenPairProposal) Size

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

func (*RegisterRemoveGTokenPairProposal) String

func (*RegisterRemoveGTokenPairProposal) Unmarshal

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

func (*RegisterRemoveGTokenPairProposal) ValidateBasic

func (rtbp *RegisterRemoveGTokenPairProposal) ValidateBasic() error

#nosec

func (*RegisterRemoveGTokenPairProposal) XXX_DiscardUnknown

func (m *RegisterRemoveGTokenPairProposal) XXX_DiscardUnknown()

func (*RegisterRemoveGTokenPairProposal) XXX_Marshal

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

func (*RegisterRemoveGTokenPairProposal) XXX_Merge

func (*RegisterRemoveGTokenPairProposal) XXX_Size

func (m *RegisterRemoveGTokenPairProposal) XXX_Size() int

func (*RegisterRemoveGTokenPairProposal) XXX_Unmarshal

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

type RegisterRemoveLendAssetProposal

type RegisterRemoveLendAssetProposal struct {
	Title       string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"`
	Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
	LendAssetId string `protobuf:"bytes,3,opt,name=lendAssetId,proto3" json:"lendAssetId,omitempty"`
}

func (*RegisterRemoveLendAssetProposal) Descriptor

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

func (*RegisterRemoveLendAssetProposal) GetDescription

func (m *RegisterRemoveLendAssetProposal) GetDescription() string

func (*RegisterRemoveLendAssetProposal) GetLendAssetId

func (m *RegisterRemoveLendAssetProposal) GetLendAssetId() string

func (*RegisterRemoveLendAssetProposal) GetTitle

func (*RegisterRemoveLendAssetProposal) Marshal

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

func (*RegisterRemoveLendAssetProposal) MarshalTo

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

func (*RegisterRemoveLendAssetProposal) MarshalToSizedBuffer

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

func (*RegisterRemoveLendAssetProposal) ProposalRoute

func (*RegisterRemoveLendAssetProposal) ProposalRoute() string

func (*RegisterRemoveLendAssetProposal) ProposalType

func (*RegisterRemoveLendAssetProposal) ProposalType() string

func (*RegisterRemoveLendAssetProposal) ProtoMessage

func (*RegisterRemoveLendAssetProposal) ProtoMessage()

func (*RegisterRemoveLendAssetProposal) Reset

func (*RegisterRemoveLendAssetProposal) Size

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

func (*RegisterRemoveLendAssetProposal) String

func (*RegisterRemoveLendAssetProposal) Unmarshal

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

func (*RegisterRemoveLendAssetProposal) ValidateBasic

func (rtbp *RegisterRemoveLendAssetProposal) ValidateBasic() error

#nosec

func (*RegisterRemoveLendAssetProposal) XXX_DiscardUnknown

func (m *RegisterRemoveLendAssetProposal) XXX_DiscardUnknown()

func (*RegisterRemoveLendAssetProposal) XXX_Marshal

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

func (*RegisterRemoveLendAssetProposal) XXX_Merge

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

func (*RegisterRemoveLendAssetProposal) XXX_Size

func (m *RegisterRemoveLendAssetProposal) XXX_Size() int

func (*RegisterRemoveLendAssetProposal) XXX_Unmarshal

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

type StableKeeper

type StableKeeper interface {
	GetPairByPairID(ctx sdk.Context, pairId string) (val stabletypes.Pair, found bool)
	GetBurningFundAddress(ctx sdk.Context) sdk.AccAddress
}

type UnimplementedMsgServer

type UnimplementedMsgServer struct {
}

UnimplementedMsgServer can be embedded to have forward compatible implementations.

func (*UnimplementedMsgServer) CloseLiquidationPosition

func (*UnimplementedMsgServer) CreateBorrow added in v0.2.5

func (*UnimplementedMsgServer) CreateLend

func (*UnimplementedMsgServer) DeleteBorrow added in v0.2.5

func (*UnimplementedMsgServer) GrowDeposit added in v0.2.1

func (*UnimplementedMsgServer) GrowWithdrawal added in v0.2.1

func (*UnimplementedMsgServer) OpenLiquidationPosition

func (*UnimplementedMsgServer) WithdrawalLend added in v0.2.5

type UnimplementedQueryServer

type UnimplementedQueryServer struct {
}

UnimplementedQueryServer can be embedded to have forward compatible implementations.

func (*UnimplementedQueryServer) AllPairs added in v0.2.0

func (*UnimplementedQueryServer) AllPosition

func (*UnimplementedQueryServer) AssetByAssetId added in v0.2.5

func (*UnimplementedQueryServer) GetAllAssets added in v0.2.5

func (*UnimplementedQueryServer) LendById added in v0.2.5

func (*UnimplementedQueryServer) LoanById

func (*UnimplementedQueryServer) PairByDenomId added in v0.2.0

func (*UnimplementedQueryServer) Params

func (*UnimplementedQueryServer) PositionByCreator

func (*UnimplementedQueryServer) PositionById

func (*UnimplementedQueryServer) YieldPercentage

Jump to

Keyboard shortcuts

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