Versions in this module Expand all Collapse all v0 v0.1.0 Apr 24, 2023 Changes in this version + const AttributeKeyMarginParams + const AttributeKeyPoolInterestRate + const EventAboveRemovalThreshold + const EventAdminClose + const EventAdminCloseAll + const EventBelowRemovalThreshold + const EventClose + const EventForceClose + const EventIncrementalPayFund + const EventInterestRateComputation + const EventMarginUpdateParams + const EventOpen + const EventRepayFund + const ModuleName + const QuerierRoute + const QueryMTP + const QueryMTPsForAddress + const QueryParams + const RouterKey + const StoreKey + var ErrBorrowTooHigh = sdkerrors.Register(ModuleName, 10, "borrowed amount is higher than pool depth") + var ErrBorrowTooLow = sdkerrors.Register(ModuleName, 9, "borrowed amount is too low") + var ErrCustodyTooHigh = sdkerrors.Register(ModuleName, 11, "custody amount is higher than pool depth") + var ErrFuryAsCollateralNotAllowed = sdkerrors.Register(ModuleName, 13, "using fury as collateral asset is not allowed") + var ErrIntOverflowQuery = fmt.Errorf("proto: integer overflow") + var ErrIntOverflowTx = fmt.Errorf("proto: integer overflow") + var ErrIntOverflowTypes = fmt.Errorf("proto: integer overflow") + var ErrInvalidLengthQuery = fmt.Errorf("proto: negative length found during unmarshaling") + var ErrInvalidLengthTx = fmt.Errorf("proto: negative length found during unmarshaling") + var ErrInvalidLengthTypes = fmt.Errorf("proto: negative length found during unmarshaling") + var ErrInvalidPosition = sdkerrors.Register(ModuleName, 6, "mtp position invalid") + var ErrMTPDisabled = sdkerrors.Register(ModuleName, 3, "margin not enabled for pool") + var ErrMTPDoesNotExist = sdkerrors.Register(ModuleName, 1, "mtp not found") + var ErrMTPHealthy = sdkerrors.Register(ModuleName, 5, "mtp health above force close threshold") + var ErrMTPInvalid = sdkerrors.Register(ModuleName, 2, "mtp invalid") + var ErrMTPUnhealthy = sdkerrors.Register(ModuleName, 12, "mtp health would be too low for safety factor") + var ErrMaxOpenPositions = sdkerrors.Register(ModuleName, 7, "max open positions reached") + var ErrUnauthorised = sdkerrors.Register(ModuleName, 8, "address not on whitelist") + var ErrUnexpectedEndOfGroupQuery = fmt.Errorf("proto: unexpected end of group") + var ErrUnexpectedEndOfGroupTx = fmt.Errorf("proto: unexpected end of group") + var ErrUnexpectedEndOfGroupTypes = fmt.Errorf("proto: unexpected end of group") + var ErrUnknownRequest = sdkerrors.Register(ModuleName, 4, "unknown request") + var MTPCountPrefix = []byte + var MTPPrefix = []byte + var ModuleCdc = codec.NewAminoCodec(amino) + var OpenMTPCountPrefix = []byte + var ParamsPrefix = []byte + var Position_name = map[int32]string + var Position_value = map[string]int32 + var SQBeginBlockPrefix = []byte + var WhitelistPrefix = []byte + func GetMTPKey(address string, id uint64) []byte + func GetMTPPrefixForAddress(address string) []byte + func GetSQBeginBlockKey(pool *clptypes.Pool) []byte + func GetSettlementAsset() string + func GetUint64Bytes(ID uint64) []byte + func GetUint64FromBytes(bz []byte) uint64 + func GetWhitelistKey(address string) []byte + func IsValidPosition(position Position) bool + func ParamKeyTable() paramtypes.KeyTable + func RegisterInterfaces(registry cdctypes.InterfaceRegistry) + func RegisterLegacyAminoCodec(cdc *codec.LegacyAmino) + func RegisterMsgServer(s grpc1.Server, srv MsgServer) + func RegisterQueryHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error + func RegisterQueryHandlerClient(ctx context.Context, mux *runtime.ServeMux, client QueryClient) error + func RegisterQueryHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error) + func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, server QueryServer) error + func RegisterQueryServer(s grpc1.Server, srv QueryServer) + func StringCompare(a, b string) bool + func Validate(asset string) bool + type BankKeeper interface + HasBalance func(ctx sdk.Context, addr sdk.AccAddress, amt sdk.Coin) bool + MintCoins func(ctx sdk.Context, name string, amt sdk.Coins) error + SendCoinsFromAccountToModule func(ctx sdk.Context, senderAddr sdk.AccAddress, recipientModule string, ...) error + SendCoinsFromModuleToAccount func(ctx sdk.Context, senderModule string, recipientAddr sdk.AccAddress, ...) error + type CLPKeeper interface + CLPCalcSwap func(ctx sdk.Context, sentAmount sdk.Uint, to clptypes.Asset, pool clptypes.Pool, ...) (sdk.Uint, error) + GetPmtpRateParams func(ctx sdk.Context) clptypes.PmtpRateParams + GetPool func(ctx sdk.Context, symbol string) (clptypes.Pool, error) + GetPools func(ctx sdk.Context) []*clptypes.Pool + GetRemovalQueue func(ctx sdk.Context, symbol string) clptypes.RemovalQueue + SetPool func(ctx sdk.Context, pool *clptypes.Pool) error + SingleExternalBalanceModuleAccountCheck func(externalAsset string) sdk.Invariant + type GenesisState struct + Params *Params + func DefaultGenesis() *GenesisState + func (*GenesisState) Descriptor() ([]byte, []int) + func (*GenesisState) ProtoMessage() + func (m *GenesisState) GetParams() *Params + func (m *GenesisState) Marshal() (dAtA []byte, err error) + func (m *GenesisState) MarshalTo(dAtA []byte) (int, error) + func (m *GenesisState) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *GenesisState) Reset() + func (m *GenesisState) Size() (n int) + func (m *GenesisState) String() string + func (m *GenesisState) Unmarshal(dAtA []byte) error + func (m *GenesisState) XXX_DiscardUnknown() + func (m *GenesisState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *GenesisState) XXX_Merge(src proto.Message) + func (m *GenesisState) XXX_Size() int + func (m *GenesisState) XXX_Unmarshal(b []byte) error + type GetSQParamsRequest struct + Pool string + func (*GetSQParamsRequest) Descriptor() ([]byte, []int) + func (*GetSQParamsRequest) ProtoMessage() + func (m *GetSQParamsRequest) GetPool() string + func (m *GetSQParamsRequest) Marshal() (dAtA []byte, err error) + func (m *GetSQParamsRequest) MarshalTo(dAtA []byte) (int, error) + func (m *GetSQParamsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *GetSQParamsRequest) Reset() + func (m *GetSQParamsRequest) Size() (n int) + func (m *GetSQParamsRequest) String() string + func (m *GetSQParamsRequest) Unmarshal(dAtA []byte) error + func (m *GetSQParamsRequest) XXX_DiscardUnknown() + func (m *GetSQParamsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *GetSQParamsRequest) XXX_Merge(src proto.Message) + func (m *GetSQParamsRequest) XXX_Size() int + func (m *GetSQParamsRequest) XXX_Unmarshal(b []byte) error + type GetSQParamsResponse struct + BeginBlock int64 + func (*GetSQParamsResponse) Descriptor() ([]byte, []int) + func (*GetSQParamsResponse) ProtoMessage() + func (m *GetSQParamsResponse) GetBeginBlock() int64 + func (m *GetSQParamsResponse) Marshal() (dAtA []byte, err error) + func (m *GetSQParamsResponse) MarshalTo(dAtA []byte) (int, error) + func (m *GetSQParamsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *GetSQParamsResponse) Reset() + func (m *GetSQParamsResponse) Size() (n int) + func (m *GetSQParamsResponse) String() string + func (m *GetSQParamsResponse) Unmarshal(dAtA []byte) error + func (m *GetSQParamsResponse) XXX_DiscardUnknown() + func (m *GetSQParamsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *GetSQParamsResponse) XXX_Merge(src proto.Message) + func (m *GetSQParamsResponse) XXX_Size() int + func (m *GetSQParamsResponse) XXX_Unmarshal(b []byte) error + type IsWhitelistedRequest struct + Address string + func (*IsWhitelistedRequest) Descriptor() ([]byte, []int) + func (*IsWhitelistedRequest) ProtoMessage() + func (m *IsWhitelistedRequest) GetAddress() string + func (m *IsWhitelistedRequest) Marshal() (dAtA []byte, err error) + func (m *IsWhitelistedRequest) MarshalTo(dAtA []byte) (int, error) + func (m *IsWhitelistedRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *IsWhitelistedRequest) Reset() + func (m *IsWhitelistedRequest) Size() (n int) + func (m *IsWhitelistedRequest) String() string + func (m *IsWhitelistedRequest) Unmarshal(dAtA []byte) error + func (m *IsWhitelistedRequest) XXX_DiscardUnknown() + func (m *IsWhitelistedRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *IsWhitelistedRequest) XXX_Merge(src proto.Message) + func (m *IsWhitelistedRequest) XXX_Size() int + func (m *IsWhitelistedRequest) XXX_Unmarshal(b []byte) error + type IsWhitelistedResponse struct + Address string + IsWhitelisted bool + func (*IsWhitelistedResponse) Descriptor() ([]byte, []int) + func (*IsWhitelistedResponse) ProtoMessage() + func (m *IsWhitelistedResponse) GetAddress() string + func (m *IsWhitelistedResponse) GetIsWhitelisted() bool + func (m *IsWhitelistedResponse) Marshal() (dAtA []byte, err error) + func (m *IsWhitelistedResponse) MarshalTo(dAtA []byte) (int, error) + func (m *IsWhitelistedResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *IsWhitelistedResponse) Reset() + func (m *IsWhitelistedResponse) Size() (n int) + func (m *IsWhitelistedResponse) String() string + func (m *IsWhitelistedResponse) Unmarshal(dAtA []byte) error + func (m *IsWhitelistedResponse) XXX_DiscardUnknown() + func (m *IsWhitelistedResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *IsWhitelistedResponse) XXX_Merge(src proto.Message) + func (m *IsWhitelistedResponse) XXX_Size() int + func (m *IsWhitelistedResponse) XXX_Unmarshal(b []byte) error + type Keeper interface + AdminKeeper func() adminkeeper.Keeper + BankKeeper func() BankKeeper + BeginBlocker func(sdk.Context) + Borrow func(ctx sdk.Context, collateralAsset string, collateralAmount sdk.Uint, ...) error + CLPSwap func(ctx sdk.Context, sentAmount sdk.Uint, to string, pool clptypes.Pool) (sdk.Uint, error) + CalculatePoolHealth func(pool *clptypes.Pool) sdk.Dec + CheckMinLiabilities func(ctx sdk.Context, collateralAmount sdk.Uint, eta sdk.Dec, pool clptypes.Pool, ...) error + ClpKeeper func() CLPKeeper + DestroyMTP func(ctx sdk.Context, mtpAddress string, id uint64) error + DewhitelistAddress func(ctx sdk.Context, address string) + EmitAdminClose func(ctx sdk.Context, mtp *MTP, repayAmount sdk.Uint, closer string) + EmitAdminCloseAll func(ctx sdk.Context, takeMarginFund bool) + ExportGenesis func(sdk.Context) *GenesisState + ForceCloseLong func(ctx sdk.Context, mtp *MTP, pool *clptypes.Pool, isAdminClose bool, ...) (sdk.Uint, error) + GetEnabledPools func(ctx sdk.Context) []string + GetEpochLength func(ctx sdk.Context) int64 + GetHealthGainFactor func(ctx sdk.Context) sdk.Dec + GetInterestRateDecrease func(ctx sdk.Context) sdk.Dec + GetInterestRateIncrease func(ctx sdk.Context) sdk.Dec + GetInterestRateMax func(sdk.Context) sdk.Dec + GetInterestRateMin func(ctx sdk.Context) sdk.Dec + GetMTP func(ctx sdk.Context, mtpAddress string, id uint64) (MTP, error) + GetMTPCount func(ctx sdk.Context) uint64 + GetMTPIterator func(ctx sdk.Context) sdk.Iterator + GetMTPs func(ctx sdk.Context, pagination *query.PageRequest) ([]*MTP, *query.PageResponse, error) + GetMTPsForAddress func(ctx sdk.Context, mtpAddress sdk.Address, pagination *query.PageRequest) ([]*MTP, *query.PageResponse, error) + GetMTPsForPool func(ctx sdk.Context, asset string, pagination *query.PageRequest) ([]*MTP, *query.PageResponse, error) + GetMaxLeverageParam func(sdk.Context) sdk.Dec + GetMaxOpenPositions func(ctx sdk.Context) uint64 + GetOpenMTPCount func(ctx sdk.Context) uint64 + GetParams func(sdk.Context) Params + GetPoolOpenThreshold func(ctx sdk.Context) sdk.Dec + GetRemovalQueueThreshold func(ctx sdk.Context) sdk.Dec + GetSQBeginBlock func(ctx sdk.Context, pool *clptypes.Pool) uint64 + GetSQFromQueue func(ctx sdk.Context, pool clptypes.Pool) sdk.Dec + GetSafetyFactor func(ctx sdk.Context) sdk.Dec + GetWhitelist func(ctx sdk.Context, pagination *query.PageRequest) ([]string, *query.PageResponse, error) + HandleInterestPayment func(ctx sdk.Context, interestPayment sdk.Uint, mtp *MTP, pool *clptypes.Pool) sdk.Uint + InitGenesis func(ctx sdk.Context, data GenesisState) []types.ValidatorUpdate + InterestRateComputation func(ctx sdk.Context, pool clptypes.Pool) (sdk.Dec, error) + IsFuryCollateralEnabled func(ctx sdk.Context) bool + IsPoolClosed func(ctx sdk.Context, asset string) bool + IsPoolEnabled func(ctx sdk.Context, asset string) bool + IsWhitelisted func(ctx sdk.Context, address string) bool + IsWhitelistingEnabled func(ctx sdk.Context) bool + Repay func(ctx sdk.Context, mtp *MTP, pool *clptypes.Pool, repayAmount sdk.Uint, ...) error + SetEnabledPools func(ctx sdk.Context, pools []string) + SetMTP func(ctx sdk.Context, mtp *MTP) error + SetParams func(sdk.Context, *Params) + SetSQBeginBlock func(ctx sdk.Context, pool *clptypes.Pool, height uint64) + TakeInCustody func(ctx sdk.Context, mtp MTP, pool *clptypes.Pool) error + TakeOutCustody func(ctx sdk.Context, mtp MTP, pool *clptypes.Pool) error + TrackSQBeginBlock func(ctx sdk.Context, pool *clptypes.Pool) + UpdateMTPHealth func(ctx sdk.Context, mtp MTP, pool clptypes.Pool) (sdk.Dec, error) + UpdatePoolHealth func(ctx sdk.Context, pool *clptypes.Pool) error + WhitelistAddress func(ctx sdk.Context, address string) + type MTP struct + Address string + CollateralAmount github_com_cosmos_cosmos_sdk_types.Uint + CollateralAsset string + CustodyAmount github_com_cosmos_cosmos_sdk_types.Uint + CustodyAsset string + Id uint64 + InterestPaidCollateral github_com_cosmos_cosmos_sdk_types.Uint + InterestPaidCustody github_com_cosmos_cosmos_sdk_types.Uint + InterestUnpaidCollateral github_com_cosmos_cosmos_sdk_types.Uint + Leverage github_com_cosmos_cosmos_sdk_types.Dec + Liabilities github_com_cosmos_cosmos_sdk_types.Uint + MtpHealth github_com_cosmos_cosmos_sdk_types.Dec + Position Position + func NewMTP(signer string, collateralAsset string, borrowAsset string, position Position, ...) *MTP + func (*MTP) Descriptor() ([]byte, []int) + func (*MTP) ProtoMessage() + func (m *MTP) GetAddress() string + func (m *MTP) GetCollateralAsset() string + func (m *MTP) GetCustodyAsset() string + func (m *MTP) GetId() uint64 + func (m *MTP) GetPosition() Position + func (m *MTP) Marshal() (dAtA []byte, err error) + func (m *MTP) MarshalTo(dAtA []byte) (int, error) + func (m *MTP) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *MTP) Reset() + func (m *MTP) Size() (n int) + func (m *MTP) String() string + func (m *MTP) Unmarshal(dAtA []byte) error + func (m *MTP) XXX_DiscardUnknown() + func (m *MTP) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *MTP) XXX_Merge(src proto.Message) + func (m *MTP) XXX_Size() int + func (m *MTP) XXX_Unmarshal(b []byte) error + func (mtp MTP) Validate() error + type MTPRequest struct + Address string + Id uint64 + func (*MTPRequest) Descriptor() ([]byte, []int) + func (*MTPRequest) ProtoMessage() + func (m *MTPRequest) GetAddress() string + func (m *MTPRequest) GetId() uint64 + func (m *MTPRequest) Marshal() (dAtA []byte, err error) + func (m *MTPRequest) MarshalTo(dAtA []byte) (int, error) + func (m *MTPRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *MTPRequest) Reset() + func (m *MTPRequest) Size() (n int) + func (m *MTPRequest) String() string + func (m *MTPRequest) Unmarshal(dAtA []byte) error + func (m *MTPRequest) XXX_DiscardUnknown() + func (m *MTPRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *MTPRequest) XXX_Merge(src proto.Message) + func (m *MTPRequest) XXX_Size() int + func (m *MTPRequest) XXX_Unmarshal(b []byte) error + type MTPResponse struct + Mtp *MTP + func (*MTPResponse) Descriptor() ([]byte, []int) + func (*MTPResponse) ProtoMessage() + func (m *MTPResponse) GetMtp() *MTP + func (m *MTPResponse) Marshal() (dAtA []byte, err error) + func (m *MTPResponse) MarshalTo(dAtA []byte) (int, error) + func (m *MTPResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *MTPResponse) Reset() + func (m *MTPResponse) Size() (n int) + func (m *MTPResponse) String() string + func (m *MTPResponse) Unmarshal(dAtA []byte) error + func (m *MTPResponse) XXX_DiscardUnknown() + func (m *MTPResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *MTPResponse) XXX_Merge(src proto.Message) + func (m *MTPResponse) XXX_Size() int + func (m *MTPResponse) XXX_Unmarshal(b []byte) error + type MsgAdminClose struct + Id uint64 + MtpAddress string + Signer string + TakeMarginFund bool + func (*MsgAdminClose) Descriptor() ([]byte, []int) + func (*MsgAdminClose) ProtoMessage() + func (m *MsgAdminClose) GetId() uint64 + func (m *MsgAdminClose) GetMtpAddress() string + func (m *MsgAdminClose) GetSigner() string + func (m *MsgAdminClose) GetTakeMarginFund() bool + func (m *MsgAdminClose) Marshal() (dAtA []byte, err error) + func (m *MsgAdminClose) MarshalTo(dAtA []byte) (int, error) + func (m *MsgAdminClose) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *MsgAdminClose) Reset() + func (m *MsgAdminClose) Size() (n int) + func (m *MsgAdminClose) String() string + func (m *MsgAdminClose) Unmarshal(dAtA []byte) error + func (m *MsgAdminClose) XXX_DiscardUnknown() + func (m *MsgAdminClose) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *MsgAdminClose) XXX_Merge(src proto.Message) + func (m *MsgAdminClose) XXX_Size() int + func (m *MsgAdminClose) XXX_Unmarshal(b []byte) error + func (m MsgAdminClose) GetSignBytes() []byte + func (m MsgAdminClose) GetSigners() []sdk.AccAddress + func (m MsgAdminClose) Route() string + func (m MsgAdminClose) Type() string + func (m MsgAdminClose) ValidateBasic() error + type MsgAdminCloseAll struct + Signer string + TakeMarginFund bool + func (*MsgAdminCloseAll) Descriptor() ([]byte, []int) + func (*MsgAdminCloseAll) ProtoMessage() + func (m *MsgAdminCloseAll) GetSigner() string + func (m *MsgAdminCloseAll) GetTakeMarginFund() bool + func (m *MsgAdminCloseAll) Marshal() (dAtA []byte, err error) + func (m *MsgAdminCloseAll) MarshalTo(dAtA []byte) (int, error) + func (m *MsgAdminCloseAll) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *MsgAdminCloseAll) Reset() + func (m *MsgAdminCloseAll) Size() (n int) + func (m *MsgAdminCloseAll) String() string + func (m *MsgAdminCloseAll) Unmarshal(dAtA []byte) error + func (m *MsgAdminCloseAll) XXX_DiscardUnknown() + func (m *MsgAdminCloseAll) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *MsgAdminCloseAll) XXX_Merge(src proto.Message) + func (m *MsgAdminCloseAll) XXX_Size() int + func (m *MsgAdminCloseAll) XXX_Unmarshal(b []byte) error + func (m MsgAdminCloseAll) GetSignBytes() []byte + func (m MsgAdminCloseAll) GetSigners() []sdk.AccAddress + func (m MsgAdminCloseAll) Route() string + func (m MsgAdminCloseAll) Type() string + func (m MsgAdminCloseAll) ValidateBasic() error + type MsgAdminCloseAllResponse struct + func (*MsgAdminCloseAllResponse) Descriptor() ([]byte, []int) + func (*MsgAdminCloseAllResponse) ProtoMessage() + func (m *MsgAdminCloseAllResponse) Marshal() (dAtA []byte, err error) + func (m *MsgAdminCloseAllResponse) MarshalTo(dAtA []byte) (int, error) + func (m *MsgAdminCloseAllResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *MsgAdminCloseAllResponse) Reset() + func (m *MsgAdminCloseAllResponse) Size() (n int) + func (m *MsgAdminCloseAllResponse) String() string + func (m *MsgAdminCloseAllResponse) Unmarshal(dAtA []byte) error + func (m *MsgAdminCloseAllResponse) XXX_DiscardUnknown() + func (m *MsgAdminCloseAllResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *MsgAdminCloseAllResponse) XXX_Merge(src proto.Message) + func (m *MsgAdminCloseAllResponse) XXX_Size() int + func (m *MsgAdminCloseAllResponse) XXX_Unmarshal(b []byte) error + type MsgAdminCloseResponse struct + func (*MsgAdminCloseResponse) Descriptor() ([]byte, []int) + func (*MsgAdminCloseResponse) ProtoMessage() + func (m *MsgAdminCloseResponse) Marshal() (dAtA []byte, err error) + func (m *MsgAdminCloseResponse) MarshalTo(dAtA []byte) (int, error) + func (m *MsgAdminCloseResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *MsgAdminCloseResponse) Reset() + func (m *MsgAdminCloseResponse) Size() (n int) + func (m *MsgAdminCloseResponse) String() string + func (m *MsgAdminCloseResponse) Unmarshal(dAtA []byte) error + func (m *MsgAdminCloseResponse) XXX_DiscardUnknown() + func (m *MsgAdminCloseResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *MsgAdminCloseResponse) XXX_Merge(src proto.Message) + func (m *MsgAdminCloseResponse) XXX_Size() int + func (m *MsgAdminCloseResponse) XXX_Unmarshal(b []byte) error + type MsgClient interface + AdminClose func(ctx context.Context, in *MsgAdminClose, opts ...grpc.CallOption) (*MsgAdminCloseResponse, error) + AdminCloseAll func(ctx context.Context, in *MsgAdminCloseAll, opts ...grpc.CallOption) (*MsgAdminCloseAllResponse, error) + Close func(ctx context.Context, in *MsgClose, opts ...grpc.CallOption) (*MsgCloseResponse, error) + Dewhitelist func(ctx context.Context, in *MsgDewhitelist, opts ...grpc.CallOption) (*MsgDewhitelistResponse, error) + ForceClose func(ctx context.Context, in *MsgForceClose, opts ...grpc.CallOption) (*MsgForceCloseResponse, error) + Open func(ctx context.Context, in *MsgOpen, opts ...grpc.CallOption) (*MsgOpenResponse, error) + UpdateFuryCollateral func(ctx context.Context, in *MsgUpdateFuryCollateral, opts ...grpc.CallOption) (*MsgUpdateFuryCollateralResponse, error) + UpdateParams func(ctx context.Context, in *MsgUpdateParams, opts ...grpc.CallOption) (*MsgUpdateParamsResponse, error) + UpdatePools func(ctx context.Context, in *MsgUpdatePools, opts ...grpc.CallOption) (*MsgUpdatePoolsResponse, error) + Whitelist func(ctx context.Context, in *MsgWhitelist, opts ...grpc.CallOption) (*MsgWhitelistResponse, error) + func NewMsgClient(cc grpc1.ClientConn) MsgClient + type MsgClose struct + Id uint64 + Signer string + func (*MsgClose) Descriptor() ([]byte, []int) + func (*MsgClose) ProtoMessage() + func (m *MsgClose) GetId() uint64 + func (m *MsgClose) GetSigner() string + func (m *MsgClose) Marshal() (dAtA []byte, err error) + func (m *MsgClose) MarshalTo(dAtA []byte) (int, error) + func (m *MsgClose) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *MsgClose) Reset() + func (m *MsgClose) Size() (n int) + func (m *MsgClose) String() string + func (m *MsgClose) Unmarshal(dAtA []byte) error + func (m *MsgClose) XXX_DiscardUnknown() + func (m *MsgClose) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *MsgClose) XXX_Merge(src proto.Message) + func (m *MsgClose) XXX_Size() int + func (m *MsgClose) XXX_Unmarshal(b []byte) error + func (m MsgClose) GetSignBytes() []byte + func (m MsgClose) GetSigners() []sdk.AccAddress + func (m MsgClose) Route() string + func (m MsgClose) Type() string + func (m MsgClose) ValidateBasic() error + type MsgCloseResponse struct + func (*MsgCloseResponse) Descriptor() ([]byte, []int) + func (*MsgCloseResponse) ProtoMessage() + func (m *MsgCloseResponse) Marshal() (dAtA []byte, err error) + func (m *MsgCloseResponse) MarshalTo(dAtA []byte) (int, error) + func (m *MsgCloseResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *MsgCloseResponse) Reset() + func (m *MsgCloseResponse) Size() (n int) + func (m *MsgCloseResponse) String() string + func (m *MsgCloseResponse) Unmarshal(dAtA []byte) error + func (m *MsgCloseResponse) XXX_DiscardUnknown() + func (m *MsgCloseResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *MsgCloseResponse) XXX_Merge(src proto.Message) + func (m *MsgCloseResponse) XXX_Size() int + func (m *MsgCloseResponse) XXX_Unmarshal(b []byte) error + type MsgDewhitelist struct + Signer string + WhitelistedAddress string + func (*MsgDewhitelist) Descriptor() ([]byte, []int) + func (*MsgDewhitelist) ProtoMessage() + func (m *MsgDewhitelist) GetSigner() string + func (m *MsgDewhitelist) GetWhitelistedAddress() string + func (m *MsgDewhitelist) Marshal() (dAtA []byte, err error) + func (m *MsgDewhitelist) MarshalTo(dAtA []byte) (int, error) + func (m *MsgDewhitelist) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *MsgDewhitelist) Reset() + func (m *MsgDewhitelist) Size() (n int) + func (m *MsgDewhitelist) String() string + func (m *MsgDewhitelist) Unmarshal(dAtA []byte) error + func (m *MsgDewhitelist) XXX_DiscardUnknown() + func (m *MsgDewhitelist) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *MsgDewhitelist) XXX_Merge(src proto.Message) + func (m *MsgDewhitelist) XXX_Size() int + func (m *MsgDewhitelist) XXX_Unmarshal(b []byte) error + func (m MsgDewhitelist) GetSignBytes() []byte + func (m MsgDewhitelist) GetSigners() []sdk.AccAddress + func (m MsgDewhitelist) Route() string + func (m MsgDewhitelist) Type() string + func (m MsgDewhitelist) ValidateBasic() error + type MsgDewhitelistResponse struct + func (*MsgDewhitelistResponse) Descriptor() ([]byte, []int) + func (*MsgDewhitelistResponse) ProtoMessage() + func (m *MsgDewhitelistResponse) Marshal() (dAtA []byte, err error) + func (m *MsgDewhitelistResponse) MarshalTo(dAtA []byte) (int, error) + func (m *MsgDewhitelistResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *MsgDewhitelistResponse) Reset() + func (m *MsgDewhitelistResponse) Size() (n int) + func (m *MsgDewhitelistResponse) String() string + func (m *MsgDewhitelistResponse) Unmarshal(dAtA []byte) error + func (m *MsgDewhitelistResponse) XXX_DiscardUnknown() + func (m *MsgDewhitelistResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *MsgDewhitelistResponse) XXX_Merge(src proto.Message) + func (m *MsgDewhitelistResponse) XXX_Size() int + func (m *MsgDewhitelistResponse) XXX_Unmarshal(b []byte) error + type MsgForceClose struct + Id uint64 + MtpAddress string + Signer string + func (*MsgForceClose) Descriptor() ([]byte, []int) + func (*MsgForceClose) ProtoMessage() + func (m *MsgForceClose) GetId() uint64 + func (m *MsgForceClose) GetMtpAddress() string + func (m *MsgForceClose) GetSigner() string + func (m *MsgForceClose) Marshal() (dAtA []byte, err error) + func (m *MsgForceClose) MarshalTo(dAtA []byte) (int, error) + func (m *MsgForceClose) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *MsgForceClose) Reset() + func (m *MsgForceClose) Size() (n int) + func (m *MsgForceClose) String() string + func (m *MsgForceClose) Unmarshal(dAtA []byte) error + func (m *MsgForceClose) XXX_DiscardUnknown() + func (m *MsgForceClose) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *MsgForceClose) XXX_Merge(src proto.Message) + func (m *MsgForceClose) XXX_Size() int + func (m *MsgForceClose) XXX_Unmarshal(b []byte) error + func (m MsgForceClose) GetSignBytes() []byte + func (m MsgForceClose) GetSigners() []sdk.AccAddress + func (m MsgForceClose) Route() string + func (m MsgForceClose) Type() string + func (m MsgForceClose) ValidateBasic() error + type MsgForceCloseResponse struct + func (*MsgForceCloseResponse) Descriptor() ([]byte, []int) + func (*MsgForceCloseResponse) ProtoMessage() + func (m *MsgForceCloseResponse) Marshal() (dAtA []byte, err error) + func (m *MsgForceCloseResponse) MarshalTo(dAtA []byte) (int, error) + func (m *MsgForceCloseResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *MsgForceCloseResponse) Reset() + func (m *MsgForceCloseResponse) Size() (n int) + func (m *MsgForceCloseResponse) String() string + func (m *MsgForceCloseResponse) Unmarshal(dAtA []byte) error + func (m *MsgForceCloseResponse) XXX_DiscardUnknown() + func (m *MsgForceCloseResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *MsgForceCloseResponse) XXX_Merge(src proto.Message) + func (m *MsgForceCloseResponse) XXX_Size() int + func (m *MsgForceCloseResponse) XXX_Unmarshal(b []byte) error + type MsgOpen struct + BorrowAsset string + CollateralAmount github_com_cosmos_cosmos_sdk_types.Uint + CollateralAsset string + Leverage github_com_cosmos_cosmos_sdk_types.Dec + Position Position + Signer string + func (*MsgOpen) Descriptor() ([]byte, []int) + func (*MsgOpen) ProtoMessage() + func (m *MsgOpen) GetBorrowAsset() string + func (m *MsgOpen) GetCollateralAsset() string + func (m *MsgOpen) GetPosition() Position + func (m *MsgOpen) GetSigner() string + func (m *MsgOpen) Marshal() (dAtA []byte, err error) + func (m *MsgOpen) MarshalTo(dAtA []byte) (int, error) + func (m *MsgOpen) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *MsgOpen) Reset() + func (m *MsgOpen) Size() (n int) + func (m *MsgOpen) String() string + func (m *MsgOpen) Unmarshal(dAtA []byte) error + func (m *MsgOpen) XXX_DiscardUnknown() + func (m *MsgOpen) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *MsgOpen) XXX_Merge(src proto.Message) + func (m *MsgOpen) XXX_Size() int + func (m *MsgOpen) XXX_Unmarshal(b []byte) error + func (m MsgOpen) GetSignBytes() []byte + func (m MsgOpen) GetSigners() []sdk.AccAddress + func (m MsgOpen) Route() string + func (m MsgOpen) Type() string + func (m MsgOpen) ValidateBasic() error + type MsgOpenResponse struct + func (*MsgOpenResponse) Descriptor() ([]byte, []int) + func (*MsgOpenResponse) ProtoMessage() + func (m *MsgOpenResponse) Marshal() (dAtA []byte, err error) + func (m *MsgOpenResponse) MarshalTo(dAtA []byte) (int, error) + func (m *MsgOpenResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *MsgOpenResponse) Reset() + func (m *MsgOpenResponse) Size() (n int) + func (m *MsgOpenResponse) String() string + func (m *MsgOpenResponse) Unmarshal(dAtA []byte) error + func (m *MsgOpenResponse) XXX_DiscardUnknown() + func (m *MsgOpenResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *MsgOpenResponse) XXX_Merge(src proto.Message) + func (m *MsgOpenResponse) XXX_Size() int + func (m *MsgOpenResponse) XXX_Unmarshal(b []byte) error + type MsgServer interface + AdminClose func(context.Context, *MsgAdminClose) (*MsgAdminCloseResponse, error) + AdminCloseAll func(context.Context, *MsgAdminCloseAll) (*MsgAdminCloseAllResponse, error) + Close func(context.Context, *MsgClose) (*MsgCloseResponse, error) + Dewhitelist func(context.Context, *MsgDewhitelist) (*MsgDewhitelistResponse, error) + ForceClose func(context.Context, *MsgForceClose) (*MsgForceCloseResponse, error) + Open func(context.Context, *MsgOpen) (*MsgOpenResponse, error) + UpdateFuryCollateral func(context.Context, *MsgUpdateFuryCollateral) (*MsgUpdateFuryCollateralResponse, error) + UpdateParams func(context.Context, *MsgUpdateParams) (*MsgUpdateParamsResponse, error) + UpdatePools func(context.Context, *MsgUpdatePools) (*MsgUpdatePoolsResponse, error) + Whitelist func(context.Context, *MsgWhitelist) (*MsgWhitelistResponse, error) + type MsgUpdateFuryCollateral struct + FuryCollateralEnabled bool + Signer string + func (*MsgUpdateFuryCollateral) Descriptor() ([]byte, []int) + func (*MsgUpdateFuryCollateral) ProtoMessage() + func (m *MsgUpdateFuryCollateral) GetFuryCollateralEnabled() bool + func (m *MsgUpdateFuryCollateral) GetSigner() string + func (m *MsgUpdateFuryCollateral) Marshal() (dAtA []byte, err error) + func (m *MsgUpdateFuryCollateral) MarshalTo(dAtA []byte) (int, error) + func (m *MsgUpdateFuryCollateral) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *MsgUpdateFuryCollateral) Reset() + func (m *MsgUpdateFuryCollateral) Size() (n int) + func (m *MsgUpdateFuryCollateral) String() string + func (m *MsgUpdateFuryCollateral) Unmarshal(dAtA []byte) error + func (m *MsgUpdateFuryCollateral) XXX_DiscardUnknown() + func (m *MsgUpdateFuryCollateral) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *MsgUpdateFuryCollateral) XXX_Merge(src proto.Message) + func (m *MsgUpdateFuryCollateral) XXX_Size() int + func (m *MsgUpdateFuryCollateral) XXX_Unmarshal(b []byte) error + func (m MsgUpdateFuryCollateral) GetSignBytes() []byte + func (m MsgUpdateFuryCollateral) GetSigners() []sdk.AccAddress + func (m MsgUpdateFuryCollateral) Route() string + func (m MsgUpdateFuryCollateral) Type() string + func (m MsgUpdateFuryCollateral) ValidateBasic() error + type MsgUpdateFuryCollateralResponse struct + func (*MsgUpdateFuryCollateralResponse) Descriptor() ([]byte, []int) + func (*MsgUpdateFuryCollateralResponse) ProtoMessage() + func (m *MsgUpdateFuryCollateralResponse) Marshal() (dAtA []byte, err error) + func (m *MsgUpdateFuryCollateralResponse) MarshalTo(dAtA []byte) (int, error) + func (m *MsgUpdateFuryCollateralResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *MsgUpdateFuryCollateralResponse) Reset() + func (m *MsgUpdateFuryCollateralResponse) Size() (n int) + func (m *MsgUpdateFuryCollateralResponse) String() string + func (m *MsgUpdateFuryCollateralResponse) Unmarshal(dAtA []byte) error + func (m *MsgUpdateFuryCollateralResponse) XXX_DiscardUnknown() + func (m *MsgUpdateFuryCollateralResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *MsgUpdateFuryCollateralResponse) XXX_Merge(src proto.Message) + func (m *MsgUpdateFuryCollateralResponse) XXX_Size() int + func (m *MsgUpdateFuryCollateralResponse) XXX_Unmarshal(b []byte) error + type MsgUpdateParams struct + Params *Params + Signer string + func (*MsgUpdateParams) Descriptor() ([]byte, []int) + func (*MsgUpdateParams) ProtoMessage() + func (m *MsgUpdateParams) GetParams() *Params + func (m *MsgUpdateParams) GetSigner() string + func (m *MsgUpdateParams) Marshal() (dAtA []byte, err error) + func (m *MsgUpdateParams) MarshalTo(dAtA []byte) (int, error) + func (m *MsgUpdateParams) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *MsgUpdateParams) Reset() + func (m *MsgUpdateParams) Size() (n int) + func (m *MsgUpdateParams) String() string + func (m *MsgUpdateParams) Unmarshal(dAtA []byte) error + func (m *MsgUpdateParams) XXX_DiscardUnknown() + func (m *MsgUpdateParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *MsgUpdateParams) XXX_Merge(src proto.Message) + func (m *MsgUpdateParams) XXX_Size() int + func (m *MsgUpdateParams) XXX_Unmarshal(b []byte) error + func (m MsgUpdateParams) GetSignBytes() []byte + func (m MsgUpdateParams) GetSigners() []sdk.AccAddress + func (m MsgUpdateParams) Route() string + func (m MsgUpdateParams) Type() string + func (m MsgUpdateParams) ValidateBasic() error + type MsgUpdateParamsResponse struct + func (*MsgUpdateParamsResponse) Descriptor() ([]byte, []int) + func (*MsgUpdateParamsResponse) ProtoMessage() + func (m *MsgUpdateParamsResponse) Marshal() (dAtA []byte, err error) + func (m *MsgUpdateParamsResponse) MarshalTo(dAtA []byte) (int, error) + func (m *MsgUpdateParamsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *MsgUpdateParamsResponse) Reset() + func (m *MsgUpdateParamsResponse) Size() (n int) + func (m *MsgUpdateParamsResponse) String() string + func (m *MsgUpdateParamsResponse) Unmarshal(dAtA []byte) error + func (m *MsgUpdateParamsResponse) XXX_DiscardUnknown() + func (m *MsgUpdateParamsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *MsgUpdateParamsResponse) XXX_Merge(src proto.Message) + func (m *MsgUpdateParamsResponse) XXX_Size() int + func (m *MsgUpdateParamsResponse) XXX_Unmarshal(b []byte) error + type MsgUpdatePools struct + ClosedPools []string + Pools []string + Signer string + func (*MsgUpdatePools) Descriptor() ([]byte, []int) + func (*MsgUpdatePools) ProtoMessage() + func (m *MsgUpdatePools) GetClosedPools() []string + func (m *MsgUpdatePools) GetPools() []string + func (m *MsgUpdatePools) GetSigner() string + func (m *MsgUpdatePools) Marshal() (dAtA []byte, err error) + func (m *MsgUpdatePools) MarshalTo(dAtA []byte) (int, error) + func (m *MsgUpdatePools) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *MsgUpdatePools) Reset() + func (m *MsgUpdatePools) Size() (n int) + func (m *MsgUpdatePools) String() string + func (m *MsgUpdatePools) Unmarshal(dAtA []byte) error + func (m *MsgUpdatePools) XXX_DiscardUnknown() + func (m *MsgUpdatePools) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *MsgUpdatePools) XXX_Merge(src proto.Message) + func (m *MsgUpdatePools) XXX_Size() int + func (m *MsgUpdatePools) XXX_Unmarshal(b []byte) error + func (m MsgUpdatePools) GetSignBytes() []byte + func (m MsgUpdatePools) GetSigners() []sdk.AccAddress + func (m MsgUpdatePools) Route() string + func (m MsgUpdatePools) Type() string + func (m MsgUpdatePools) ValidateBasic() error + type MsgUpdatePoolsResponse struct + func (*MsgUpdatePoolsResponse) Descriptor() ([]byte, []int) + func (*MsgUpdatePoolsResponse) ProtoMessage() + func (m *MsgUpdatePoolsResponse) Marshal() (dAtA []byte, err error) + func (m *MsgUpdatePoolsResponse) MarshalTo(dAtA []byte) (int, error) + func (m *MsgUpdatePoolsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *MsgUpdatePoolsResponse) Reset() + func (m *MsgUpdatePoolsResponse) Size() (n int) + func (m *MsgUpdatePoolsResponse) String() string + func (m *MsgUpdatePoolsResponse) Unmarshal(dAtA []byte) error + func (m *MsgUpdatePoolsResponse) XXX_DiscardUnknown() + func (m *MsgUpdatePoolsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *MsgUpdatePoolsResponse) XXX_Merge(src proto.Message) + func (m *MsgUpdatePoolsResponse) XXX_Size() int + func (m *MsgUpdatePoolsResponse) XXX_Unmarshal(b []byte) error + type MsgWhitelist struct + Signer string + WhitelistedAddress string + func (*MsgWhitelist) Descriptor() ([]byte, []int) + func (*MsgWhitelist) ProtoMessage() + func (m *MsgWhitelist) GetSigner() string + func (m *MsgWhitelist) GetWhitelistedAddress() string + func (m *MsgWhitelist) Marshal() (dAtA []byte, err error) + func (m *MsgWhitelist) MarshalTo(dAtA []byte) (int, error) + func (m *MsgWhitelist) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *MsgWhitelist) Reset() + func (m *MsgWhitelist) Size() (n int) + func (m *MsgWhitelist) String() string + func (m *MsgWhitelist) Unmarshal(dAtA []byte) error + func (m *MsgWhitelist) XXX_DiscardUnknown() + func (m *MsgWhitelist) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *MsgWhitelist) XXX_Merge(src proto.Message) + func (m *MsgWhitelist) XXX_Size() int + func (m *MsgWhitelist) XXX_Unmarshal(b []byte) error + func (m MsgWhitelist) GetSignBytes() []byte + func (m MsgWhitelist) GetSigners() []sdk.AccAddress + func (m MsgWhitelist) Route() string + func (m MsgWhitelist) Type() string + func (m MsgWhitelist) ValidateBasic() error + type MsgWhitelistResponse struct + func (*MsgWhitelistResponse) Descriptor() ([]byte, []int) + func (*MsgWhitelistResponse) ProtoMessage() + func (m *MsgWhitelistResponse) Marshal() (dAtA []byte, err error) + func (m *MsgWhitelistResponse) MarshalTo(dAtA []byte) (int, error) + func (m *MsgWhitelistResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *MsgWhitelistResponse) Reset() + func (m *MsgWhitelistResponse) Size() (n int) + func (m *MsgWhitelistResponse) String() string + func (m *MsgWhitelistResponse) Unmarshal(dAtA []byte) error + func (m *MsgWhitelistResponse) XXX_DiscardUnknown() + func (m *MsgWhitelistResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *MsgWhitelistResponse) XXX_Merge(src proto.Message) + func (m *MsgWhitelistResponse) XXX_Size() int + func (m *MsgWhitelistResponse) XXX_Unmarshal(b []byte) error + type Params struct + ClosedPools []string + EpochLength int64 + ForceCloseFundAddress string + ForceCloseFundPercentage github_com_cosmos_cosmos_sdk_types.Dec + FuryCollateralEnabled bool + HealthGainFactor github_com_cosmos_cosmos_sdk_types.Dec + IncrementalInterestPaymentEnabled bool + IncrementalInterestPaymentFundAddress string + IncrementalInterestPaymentFundPercentage github_com_cosmos_cosmos_sdk_types.Dec + InterestRateDecrease github_com_cosmos_cosmos_sdk_types.Dec + InterestRateIncrease github_com_cosmos_cosmos_sdk_types.Dec + InterestRateMax github_com_cosmos_cosmos_sdk_types.Dec + InterestRateMin github_com_cosmos_cosmos_sdk_types.Dec + LeverageMax github_com_cosmos_cosmos_sdk_types.Dec + MaxOpenPositions uint64 + PoolOpenThreshold github_com_cosmos_cosmos_sdk_types.Dec + Pools []string + RemovalQueueThreshold github_com_cosmos_cosmos_sdk_types.Dec + SafetyFactor github_com_cosmos_cosmos_sdk_types.Dec + SqModifier github_com_cosmos_cosmos_sdk_types.Dec + WhitelistingEnabled bool + func (*Params) Descriptor() ([]byte, []int) + func (*Params) ProtoMessage() + func (m *Params) GetClosedPools() []string + func (m *Params) GetEpochLength() int64 + func (m *Params) GetForceCloseFundAddress() string + func (m *Params) GetFuryCollateralEnabled() bool + func (m *Params) GetIncrementalInterestPaymentEnabled() bool + func (m *Params) GetIncrementalInterestPaymentFundAddress() string + func (m *Params) GetMaxOpenPositions() uint64 + func (m *Params) GetPools() []string + func (m *Params) GetWhitelistingEnabled() bool + func (m *Params) Marshal() (dAtA []byte, err error) + func (m *Params) MarshalTo(dAtA []byte) (int, error) + func (m *Params) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *Params) Reset() + func (m *Params) Size() (n int) + func (m *Params) String() string + func (m *Params) Unmarshal(dAtA []byte) error + func (m *Params) XXX_DiscardUnknown() + func (m *Params) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *Params) XXX_Merge(src proto.Message) + func (m *Params) XXX_Size() int + func (m *Params) XXX_Unmarshal(b []byte) error + func (p *Params) ParamSetPairs() paramtypes.ParamSetPairs + type ParamsRequest struct + func (*ParamsRequest) Descriptor() ([]byte, []int) + func (*ParamsRequest) ProtoMessage() + func (m *ParamsRequest) Marshal() (dAtA []byte, err error) + func (m *ParamsRequest) MarshalTo(dAtA []byte) (int, error) + func (m *ParamsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *ParamsRequest) Reset() + func (m *ParamsRequest) Size() (n int) + func (m *ParamsRequest) String() string + func (m *ParamsRequest) Unmarshal(dAtA []byte) error + func (m *ParamsRequest) XXX_DiscardUnknown() + func (m *ParamsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *ParamsRequest) XXX_Merge(src proto.Message) + func (m *ParamsRequest) XXX_Size() int + func (m *ParamsRequest) XXX_Unmarshal(b []byte) error + type ParamsResponse struct + Params *Params + func (*ParamsResponse) Descriptor() ([]byte, []int) + func (*ParamsResponse) ProtoMessage() + func (m *ParamsResponse) GetParams() *Params + func (m *ParamsResponse) Marshal() (dAtA []byte, err error) + func (m *ParamsResponse) MarshalTo(dAtA []byte) (int, error) + func (m *ParamsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *ParamsResponse) Reset() + func (m *ParamsResponse) Size() (n int) + func (m *ParamsResponse) String() string + func (m *ParamsResponse) Unmarshal(dAtA []byte) error + func (m *ParamsResponse) XXX_DiscardUnknown() + func (m *ParamsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *ParamsResponse) XXX_Merge(src proto.Message) + func (m *ParamsResponse) XXX_Size() int + func (m *ParamsResponse) XXX_Unmarshal(b []byte) error + type Position int32 + const Position_LONG + const Position_SHORT + const Position_UNSPECIFIED + func GetPositionFromString(s string) Position + func (Position) EnumDescriptor() ([]byte, []int) + func (x Position) String() string + type PositionsByPoolRequest struct + Asset string + Pagination *query.PageRequest + func (*PositionsByPoolRequest) Descriptor() ([]byte, []int) + func (*PositionsByPoolRequest) ProtoMessage() + func (m *PositionsByPoolRequest) GetAsset() string + func (m *PositionsByPoolRequest) GetPagination() *query.PageRequest + func (m *PositionsByPoolRequest) Marshal() (dAtA []byte, err error) + func (m *PositionsByPoolRequest) MarshalTo(dAtA []byte) (int, error) + func (m *PositionsByPoolRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *PositionsByPoolRequest) Reset() + func (m *PositionsByPoolRequest) Size() (n int) + func (m *PositionsByPoolRequest) String() string + func (m *PositionsByPoolRequest) Unmarshal(dAtA []byte) error + func (m *PositionsByPoolRequest) XXX_DiscardUnknown() + func (m *PositionsByPoolRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *PositionsByPoolRequest) XXX_Merge(src proto.Message) + func (m *PositionsByPoolRequest) XXX_Size() int + func (m *PositionsByPoolRequest) XXX_Unmarshal(b []byte) error + type PositionsByPoolResponse struct + Mtps []*MTP + Pagination *query.PageResponse + func (*PositionsByPoolResponse) Descriptor() ([]byte, []int) + func (*PositionsByPoolResponse) ProtoMessage() + func (m *PositionsByPoolResponse) GetMtps() []*MTP + func (m *PositionsByPoolResponse) GetPagination() *query.PageResponse + func (m *PositionsByPoolResponse) Marshal() (dAtA []byte, err error) + func (m *PositionsByPoolResponse) MarshalTo(dAtA []byte) (int, error) + func (m *PositionsByPoolResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *PositionsByPoolResponse) Reset() + func (m *PositionsByPoolResponse) Size() (n int) + func (m *PositionsByPoolResponse) String() string + func (m *PositionsByPoolResponse) Unmarshal(dAtA []byte) error + func (m *PositionsByPoolResponse) XXX_DiscardUnknown() + func (m *PositionsByPoolResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *PositionsByPoolResponse) XXX_Merge(src proto.Message) + func (m *PositionsByPoolResponse) XXX_Size() int + func (m *PositionsByPoolResponse) XXX_Unmarshal(b []byte) error + type PositionsForAddressRequest struct + Address string + Pagination *query.PageRequest + func (*PositionsForAddressRequest) Descriptor() ([]byte, []int) + func (*PositionsForAddressRequest) ProtoMessage() + func (m *PositionsForAddressRequest) GetAddress() string + func (m *PositionsForAddressRequest) GetPagination() *query.PageRequest + func (m *PositionsForAddressRequest) Marshal() (dAtA []byte, err error) + func (m *PositionsForAddressRequest) MarshalTo(dAtA []byte) (int, error) + func (m *PositionsForAddressRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *PositionsForAddressRequest) Reset() + func (m *PositionsForAddressRequest) Size() (n int) + func (m *PositionsForAddressRequest) String() string + func (m *PositionsForAddressRequest) Unmarshal(dAtA []byte) error + func (m *PositionsForAddressRequest) XXX_DiscardUnknown() + func (m *PositionsForAddressRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *PositionsForAddressRequest) XXX_Merge(src proto.Message) + func (m *PositionsForAddressRequest) XXX_Size() int + func (m *PositionsForAddressRequest) XXX_Unmarshal(b []byte) error + type PositionsForAddressResponse struct + Mtps []*MTP + Pagination *query.PageResponse + func (*PositionsForAddressResponse) Descriptor() ([]byte, []int) + func (*PositionsForAddressResponse) ProtoMessage() + func (m *PositionsForAddressResponse) GetMtps() []*MTP + func (m *PositionsForAddressResponse) GetPagination() *query.PageResponse + func (m *PositionsForAddressResponse) Marshal() (dAtA []byte, err error) + func (m *PositionsForAddressResponse) MarshalTo(dAtA []byte) (int, error) + func (m *PositionsForAddressResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *PositionsForAddressResponse) Reset() + func (m *PositionsForAddressResponse) Size() (n int) + func (m *PositionsForAddressResponse) String() string + func (m *PositionsForAddressResponse) Unmarshal(dAtA []byte) error + func (m *PositionsForAddressResponse) XXX_DiscardUnknown() + func (m *PositionsForAddressResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *PositionsForAddressResponse) XXX_Merge(src proto.Message) + func (m *PositionsForAddressResponse) XXX_Size() int + func (m *PositionsForAddressResponse) XXX_Unmarshal(b []byte) error + type PositionsRequest struct + Pagination *query.PageRequest + func (*PositionsRequest) Descriptor() ([]byte, []int) + func (*PositionsRequest) ProtoMessage() + func (m *PositionsRequest) GetPagination() *query.PageRequest + func (m *PositionsRequest) Marshal() (dAtA []byte, err error) + func (m *PositionsRequest) MarshalTo(dAtA []byte) (int, error) + func (m *PositionsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *PositionsRequest) Reset() + func (m *PositionsRequest) Size() (n int) + func (m *PositionsRequest) String() string + func (m *PositionsRequest) Unmarshal(dAtA []byte) error + func (m *PositionsRequest) XXX_DiscardUnknown() + func (m *PositionsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *PositionsRequest) XXX_Merge(src proto.Message) + func (m *PositionsRequest) XXX_Size() int + func (m *PositionsRequest) XXX_Unmarshal(b []byte) error + type PositionsResponse struct + Mtps []*MTP + Pagination *query.PageResponse + func (*PositionsResponse) Descriptor() ([]byte, []int) + func (*PositionsResponse) ProtoMessage() + func (m *PositionsResponse) GetMtps() []*MTP + func (m *PositionsResponse) GetPagination() *query.PageResponse + func (m *PositionsResponse) Marshal() (dAtA []byte, err error) + func (m *PositionsResponse) MarshalTo(dAtA []byte) (int, error) + func (m *PositionsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *PositionsResponse) Reset() + func (m *PositionsResponse) Size() (n int) + func (m *PositionsResponse) String() string + func (m *PositionsResponse) Unmarshal(dAtA []byte) error + func (m *PositionsResponse) XXX_DiscardUnknown() + func (m *PositionsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *PositionsResponse) XXX_Merge(src proto.Message) + func (m *PositionsResponse) XXX_Size() int + func (m *PositionsResponse) XXX_Unmarshal(b []byte) error + type QueryClient interface + GetMTP func(ctx context.Context, in *MTPRequest, opts ...grpc.CallOption) (*MTPResponse, error) + GetParams func(ctx context.Context, in *ParamsRequest, opts ...grpc.CallOption) (*ParamsResponse, error) + GetPositions func(ctx context.Context, in *PositionsRequest, opts ...grpc.CallOption) (*PositionsResponse, error) + GetPositionsByPool func(ctx context.Context, in *PositionsByPoolRequest, opts ...grpc.CallOption) (*PositionsByPoolResponse, error) + GetPositionsForAddress func(ctx context.Context, in *PositionsForAddressRequest, opts ...grpc.CallOption) (*PositionsForAddressResponse, error) + GetSQParams func(ctx context.Context, in *GetSQParamsRequest, opts ...grpc.CallOption) (*GetSQParamsResponse, error) + GetStatus func(ctx context.Context, in *StatusRequest, opts ...grpc.CallOption) (*StatusResponse, error) + GetWhitelist func(ctx context.Context, in *WhitelistRequest, opts ...grpc.CallOption) (*WhitelistResponse, error) + IsWhitelisted func(ctx context.Context, in *IsWhitelistedRequest, opts ...grpc.CallOption) (*IsWhitelistedResponse, error) + func NewQueryClient(cc grpc1.ClientConn) QueryClient + type QueryServer interface + GetMTP func(context.Context, *MTPRequest) (*MTPResponse, error) + GetParams func(context.Context, *ParamsRequest) (*ParamsResponse, error) + GetPositions func(context.Context, *PositionsRequest) (*PositionsResponse, error) + GetPositionsByPool func(context.Context, *PositionsByPoolRequest) (*PositionsByPoolResponse, error) + GetPositionsForAddress func(context.Context, *PositionsForAddressRequest) (*PositionsForAddressResponse, error) + GetSQParams func(context.Context, *GetSQParamsRequest) (*GetSQParamsResponse, error) + GetStatus func(context.Context, *StatusRequest) (*StatusResponse, error) + GetWhitelist func(context.Context, *WhitelistRequest) (*WhitelistResponse, error) + IsWhitelisted func(context.Context, *IsWhitelistedRequest) (*IsWhitelistedResponse, error) + type StatusRequest struct + func (*StatusRequest) Descriptor() ([]byte, []int) + func (*StatusRequest) ProtoMessage() + func (m *StatusRequest) Marshal() (dAtA []byte, err error) + func (m *StatusRequest) MarshalTo(dAtA []byte) (int, error) + func (m *StatusRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *StatusRequest) Reset() + func (m *StatusRequest) Size() (n int) + func (m *StatusRequest) String() string + func (m *StatusRequest) Unmarshal(dAtA []byte) error + func (m *StatusRequest) XXX_DiscardUnknown() + func (m *StatusRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *StatusRequest) XXX_Merge(src proto.Message) + func (m *StatusRequest) XXX_Size() int + func (m *StatusRequest) XXX_Unmarshal(b []byte) error + type StatusResponse struct + LifetimeMtpCount uint64 + OpenMtpCount uint64 + func (*StatusResponse) Descriptor() ([]byte, []int) + func (*StatusResponse) ProtoMessage() + func (m *StatusResponse) GetLifetimeMtpCount() uint64 + func (m *StatusResponse) GetOpenMtpCount() uint64 + func (m *StatusResponse) Marshal() (dAtA []byte, err error) + func (m *StatusResponse) MarshalTo(dAtA []byte) (int, error) + func (m *StatusResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *StatusResponse) Reset() + func (m *StatusResponse) Size() (n int) + func (m *StatusResponse) String() string + func (m *StatusResponse) Unmarshal(dAtA []byte) error + func (m *StatusResponse) XXX_DiscardUnknown() + func (m *StatusResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *StatusResponse) XXX_Merge(src proto.Message) + func (m *StatusResponse) XXX_Size() int + func (m *StatusResponse) XXX_Unmarshal(b []byte) error + type UnimplementedMsgServer struct + func (*UnimplementedMsgServer) AdminClose(ctx context.Context, req *MsgAdminClose) (*MsgAdminCloseResponse, error) + func (*UnimplementedMsgServer) AdminCloseAll(ctx context.Context, req *MsgAdminCloseAll) (*MsgAdminCloseAllResponse, error) + func (*UnimplementedMsgServer) Close(ctx context.Context, req *MsgClose) (*MsgCloseResponse, error) + func (*UnimplementedMsgServer) Dewhitelist(ctx context.Context, req *MsgDewhitelist) (*MsgDewhitelistResponse, error) + func (*UnimplementedMsgServer) ForceClose(ctx context.Context, req *MsgForceClose) (*MsgForceCloseResponse, error) + func (*UnimplementedMsgServer) Open(ctx context.Context, req *MsgOpen) (*MsgOpenResponse, error) + func (*UnimplementedMsgServer) UpdateFuryCollateral(ctx context.Context, req *MsgUpdateFuryCollateral) (*MsgUpdateFuryCollateralResponse, error) + func (*UnimplementedMsgServer) UpdateParams(ctx context.Context, req *MsgUpdateParams) (*MsgUpdateParamsResponse, error) + func (*UnimplementedMsgServer) UpdatePools(ctx context.Context, req *MsgUpdatePools) (*MsgUpdatePoolsResponse, error) + func (*UnimplementedMsgServer) Whitelist(ctx context.Context, req *MsgWhitelist) (*MsgWhitelistResponse, error) + type UnimplementedQueryServer struct + func (*UnimplementedQueryServer) GetMTP(ctx context.Context, req *MTPRequest) (*MTPResponse, error) + func (*UnimplementedQueryServer) GetParams(ctx context.Context, req *ParamsRequest) (*ParamsResponse, error) + func (*UnimplementedQueryServer) GetPositions(ctx context.Context, req *PositionsRequest) (*PositionsResponse, error) + func (*UnimplementedQueryServer) GetPositionsByPool(ctx context.Context, req *PositionsByPoolRequest) (*PositionsByPoolResponse, error) + func (*UnimplementedQueryServer) GetPositionsForAddress(ctx context.Context, req *PositionsForAddressRequest) (*PositionsForAddressResponse, error) + func (*UnimplementedQueryServer) GetSQParams(ctx context.Context, req *GetSQParamsRequest) (*GetSQParamsResponse, error) + func (*UnimplementedQueryServer) GetStatus(ctx context.Context, req *StatusRequest) (*StatusResponse, error) + func (*UnimplementedQueryServer) GetWhitelist(ctx context.Context, req *WhitelistRequest) (*WhitelistResponse, error) + func (*UnimplementedQueryServer) IsWhitelisted(ctx context.Context, req *IsWhitelistedRequest) (*IsWhitelistedResponse, error) + type WhitelistRequest struct + Pagination *query.PageRequest + func (*WhitelistRequest) Descriptor() ([]byte, []int) + func (*WhitelistRequest) ProtoMessage() + func (m *WhitelistRequest) GetPagination() *query.PageRequest + func (m *WhitelistRequest) Marshal() (dAtA []byte, err error) + func (m *WhitelistRequest) MarshalTo(dAtA []byte) (int, error) + func (m *WhitelistRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *WhitelistRequest) Reset() + func (m *WhitelistRequest) Size() (n int) + func (m *WhitelistRequest) String() string + func (m *WhitelistRequest) Unmarshal(dAtA []byte) error + func (m *WhitelistRequest) XXX_DiscardUnknown() + func (m *WhitelistRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *WhitelistRequest) XXX_Merge(src proto.Message) + func (m *WhitelistRequest) XXX_Size() int + func (m *WhitelistRequest) XXX_Unmarshal(b []byte) error + type WhitelistResponse struct + Pagination *query.PageResponse + Whitelist []string + func (*WhitelistResponse) Descriptor() ([]byte, []int) + func (*WhitelistResponse) ProtoMessage() + func (m *WhitelistResponse) GetPagination() *query.PageResponse + func (m *WhitelistResponse) GetWhitelist() []string + func (m *WhitelistResponse) Marshal() (dAtA []byte, err error) + func (m *WhitelistResponse) MarshalTo(dAtA []byte) (int, error) + func (m *WhitelistResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *WhitelistResponse) Reset() + func (m *WhitelistResponse) Size() (n int) + func (m *WhitelistResponse) String() string + func (m *WhitelistResponse) Unmarshal(dAtA []byte) error + func (m *WhitelistResponse) XXX_DiscardUnknown() + func (m *WhitelistResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *WhitelistResponse) XXX_Merge(src proto.Message) + func (m *WhitelistResponse) XXX_Size() int + func (m *WhitelistResponse) XXX_Unmarshal(b []byte) error