perpetual

package
v0.52.0 Latest Latest
Warning

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

Go to latest
Published: Nov 26, 2024 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Overview

Code generated by protoc-gen-go-pulsar. DO NOT EDIT.

Code generated by protoc-gen-go-pulsar. DO NOT EDIT.

Code generated by protoc-gen-go-pulsar. DO NOT EDIT.

Code generated by protoc-gen-go-pulsar. DO NOT EDIT.

Code generated by protoc-gen-go-pulsar. DO NOT EDIT.

Code generated by protoc-gen-go-pulsar. DO NOT EDIT.

Index

Constants

This section is empty.

Variables

View Source
var (
	Position_name = map[int32]string{
		0: "UNSPECIFIED",
		1: "LONG",
		2: "SHORT",
	}
	Position_value = map[string]int32{
		"UNSPECIFIED": 0,
		"LONG":        1,
		"SHORT":       2,
	}
)

Enum value maps for Position.

View Source
var File_elys_perpetual_genesis_proto protoreflect.FileDescriptor
View Source
var File_elys_perpetual_params_proto protoreflect.FileDescriptor
View Source
var File_elys_perpetual_pool_proto protoreflect.FileDescriptor
View Source
var File_elys_perpetual_query_proto protoreflect.FileDescriptor
View Source
var File_elys_perpetual_tx_proto protoreflect.FileDescriptor
View Source
var File_elys_perpetual_types_proto protoreflect.FileDescriptor
View Source
var Msg_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "elys.perpetual.Msg",
	HandlerType: (*MsgServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "Open",
			Handler:    _Msg_Open_Handler,
		},
		{
			MethodName: "Close",
			Handler:    _Msg_Close_Handler,
		},
		{
			MethodName: "UpdateParams",
			Handler:    _Msg_UpdateParams_Handler,
		},
		{
			MethodName: "Whitelist",
			Handler:    _Msg_Whitelist_Handler,
		},
		{
			MethodName: "Dewhitelist",
			Handler:    _Msg_Dewhitelist_Handler,
		},
		{
			MethodName: "UpdateStopLoss",
			Handler:    _Msg_UpdateStopLoss_Handler,
		},
		{
			MethodName: "ClosePositions",
			Handler:    _Msg_ClosePositions_Handler,
		},
		{
			MethodName: "UpdateTakeProfitPrice",
			Handler:    _Msg_UpdateTakeProfitPrice_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "elys/perpetual/tx.proto",
}

Msg_ServiceDesc is the grpc.ServiceDesc for Msg service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var Query_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "elys.perpetual.Query",
	HandlerType: (*QueryServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "Params",
			Handler:    _Query_Params_Handler,
		},
		{
			MethodName: "GetPositions",
			Handler:    _Query_GetPositions_Handler,
		},
		{
			MethodName: "GetPositionsByPool",
			Handler:    _Query_GetPositionsByPool_Handler,
		},
		{
			MethodName: "GetStatus",
			Handler:    _Query_GetStatus_Handler,
		},
		{
			MethodName: "GetPositionsForAddress",
			Handler:    _Query_GetPositionsForAddress_Handler,
		},
		{
			MethodName: "GetWhitelist",
			Handler:    _Query_GetWhitelist_Handler,
		},
		{
			MethodName: "IsWhitelisted",
			Handler:    _Query_IsWhitelisted_Handler,
		},
		{
			MethodName: "Pool",
			Handler:    _Query_Pool_Handler,
		},
		{
			MethodName: "Pools",
			Handler:    _Query_Pools_Handler,
		},
		{
			MethodName: "MTP",
			Handler:    _Query_MTP_Handler,
		},
		{
			MethodName: "OpenEstimation",
			Handler:    _Query_OpenEstimation_Handler,
		},
		{
			MethodName: "CloseEstimation",
			Handler:    _Query_CloseEstimation_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "elys/perpetual/query.proto",
}

Query_ServiceDesc is the grpc.ServiceDesc for Query service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

Functions

func RegisterMsgServer

func RegisterMsgServer(s grpc.ServiceRegistrar, srv MsgServer)

func RegisterQueryServer

func RegisterQueryServer(s grpc.ServiceRegistrar, srv QueryServer)

Types

type Fees

type Fees struct {
	TotalFeesBaseCurrency            string `` /* 128-byte string literal not displayed */
	BorrowInterestFeesLiabilityAsset string `` /* 163-byte string literal not displayed */
	BorrowInterestFeesBaseCurrency   string `` /* 157-byte string literal not displayed */
	FundingFeesLiquidityAsset        string `` /* 140-byte string literal not displayed */
	FundingFeesBaseCurrency          string `` /* 134-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*Fees) Descriptor deprecated

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

Deprecated: Use Fees.ProtoReflect.Descriptor instead.

func (*Fees) GetBorrowInterestFeesBaseCurrency

func (x *Fees) GetBorrowInterestFeesBaseCurrency() string

func (*Fees) GetBorrowInterestFeesLiabilityAsset

func (x *Fees) GetBorrowInterestFeesLiabilityAsset() string

func (*Fees) GetFundingFeesBaseCurrency

func (x *Fees) GetFundingFeesBaseCurrency() string

func (*Fees) GetFundingFeesLiquidityAsset

func (x *Fees) GetFundingFeesLiquidityAsset() string

func (*Fees) GetTotalFeesBaseCurrency

func (x *Fees) GetTotalFeesBaseCurrency() string

func (*Fees) ProtoMessage

func (*Fees) ProtoMessage()

func (*Fees) ProtoReflect

func (x *Fees) ProtoReflect() protoreflect.Message

func (*Fees) Reset

func (x *Fees) Reset()

func (*Fees) String

func (x *Fees) String() string

type FundingRateBlock

type FundingRateBlock struct {
	FundingRateLong    string `protobuf:"bytes,1,opt,name=funding_rate_long,json=fundingRateLong,proto3" json:"funding_rate_long,omitempty"`
	FundingRateShort   string `protobuf:"bytes,2,opt,name=funding_rate_short,json=fundingRateShort,proto3" json:"funding_rate_short,omitempty"`
	FundingAmountShort string `protobuf:"bytes,3,opt,name=funding_amount_short,json=fundingAmountShort,proto3" json:"funding_amount_short,omitempty"`
	FundingAmountLong  string `protobuf:"bytes,4,opt,name=funding_amount_long,json=fundingAmountLong,proto3" json:"funding_amount_long,omitempty"`
	BlockHeight        int64  `protobuf:"varint,5,opt,name=block_height,json=blockHeight,proto3" json:"block_height,omitempty"`
	BlockTime          int64  `protobuf:"varint,6,opt,name=block_time,json=blockTime,proto3" json:"block_time,omitempty"`
	// contains filtered or unexported fields
}

func (*FundingRateBlock) Descriptor deprecated

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

Deprecated: Use FundingRateBlock.ProtoReflect.Descriptor instead.

func (*FundingRateBlock) GetBlockHeight

func (x *FundingRateBlock) GetBlockHeight() int64

func (*FundingRateBlock) GetBlockTime

func (x *FundingRateBlock) GetBlockTime() int64

func (*FundingRateBlock) GetFundingAmountLong

func (x *FundingRateBlock) GetFundingAmountLong() string

func (*FundingRateBlock) GetFundingAmountShort

func (x *FundingRateBlock) GetFundingAmountShort() string

func (*FundingRateBlock) GetFundingRateLong

func (x *FundingRateBlock) GetFundingRateLong() string

func (*FundingRateBlock) GetFundingRateShort

func (x *FundingRateBlock) GetFundingRateShort() string

func (*FundingRateBlock) ProtoMessage

func (*FundingRateBlock) ProtoMessage()

func (*FundingRateBlock) ProtoReflect

func (x *FundingRateBlock) ProtoReflect() protoreflect.Message

func (*FundingRateBlock) Reset

func (x *FundingRateBlock) Reset()

func (*FundingRateBlock) String

func (x *FundingRateBlock) String() string

type GenesisState

type GenesisState struct {
	Params           *Params  `protobuf:"bytes,1,opt,name=params,proto3" json:"params,omitempty"`
	PoolList         []*Pool  `protobuf:"bytes,2,rep,name=pool_list,json=poolList,proto3" json:"pool_list,omitempty"`
	MtpList          []*MTP   `protobuf:"bytes,3,rep,name=mtp_list,json=mtpList,proto3" json:"mtp_list,omitempty"`
	AddressWhitelist []string `protobuf:"bytes,4,rep,name=address_whitelist,json=addressWhitelist,proto3" json:"address_whitelist,omitempty"`
	// contains filtered or unexported fields
}

GenesisState defines the perpetual module's genesis state.

func (*GenesisState) Descriptor deprecated

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

Deprecated: Use GenesisState.ProtoReflect.Descriptor instead.

func (*GenesisState) GetAddressWhitelist

func (x *GenesisState) GetAddressWhitelist() []string

func (*GenesisState) GetMtpList

func (x *GenesisState) GetMtpList() []*MTP

func (*GenesisState) GetParams

func (x *GenesisState) GetParams() *Params

func (*GenesisState) GetPoolList

func (x *GenesisState) GetPoolList() []*Pool

func (*GenesisState) ProtoMessage

func (*GenesisState) ProtoMessage()

func (*GenesisState) ProtoReflect

func (x *GenesisState) ProtoReflect() protoreflect.Message

func (*GenesisState) Reset

func (x *GenesisState) Reset()

func (*GenesisState) String

func (x *GenesisState) String() string

type InterestBlock

type InterestBlock struct {
	InterestRate string `protobuf:"bytes,1,opt,name=interest_rate,json=interestRate,proto3" json:"interest_rate,omitempty"`
	BlockHeight  int64  `protobuf:"varint,2,opt,name=block_height,json=blockHeight,proto3" json:"block_height,omitempty"`
	BlockTime    int64  `protobuf:"varint,3,opt,name=block_time,json=blockTime,proto3" json:"block_time,omitempty"`
	// contains filtered or unexported fields
}

func (*InterestBlock) Descriptor deprecated

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

Deprecated: Use InterestBlock.ProtoReflect.Descriptor instead.

func (*InterestBlock) GetBlockHeight

func (x *InterestBlock) GetBlockHeight() int64

func (*InterestBlock) GetBlockTime

func (x *InterestBlock) GetBlockTime() int64

func (*InterestBlock) GetInterestRate

func (x *InterestBlock) GetInterestRate() string

func (*InterestBlock) ProtoMessage

func (*InterestBlock) ProtoMessage()

func (*InterestBlock) ProtoReflect

func (x *InterestBlock) ProtoReflect() protoreflect.Message

func (*InterestBlock) Reset

func (x *InterestBlock) Reset()

func (*InterestBlock) String

func (x *InterestBlock) String() string

type IsWhitelistedRequest

type IsWhitelistedRequest struct {
	Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
	// contains filtered or unexported fields
}

func (*IsWhitelistedRequest) Descriptor deprecated

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

Deprecated: Use IsWhitelistedRequest.ProtoReflect.Descriptor instead.

func (*IsWhitelistedRequest) GetAddress

func (x *IsWhitelistedRequest) GetAddress() string

func (*IsWhitelistedRequest) ProtoMessage

func (*IsWhitelistedRequest) ProtoMessage()

func (*IsWhitelistedRequest) ProtoReflect

func (x *IsWhitelistedRequest) ProtoReflect() protoreflect.Message

func (*IsWhitelistedRequest) Reset

func (x *IsWhitelistedRequest) Reset()

func (*IsWhitelistedRequest) String

func (x *IsWhitelistedRequest) String() string

type IsWhitelistedResponse

type IsWhitelistedResponse struct {
	Address       string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
	IsWhitelisted bool   `protobuf:"varint,2,opt,name=is_whitelisted,json=isWhitelisted,proto3" json:"is_whitelisted,omitempty"`
	// contains filtered or unexported fields
}

func (*IsWhitelistedResponse) Descriptor deprecated

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

Deprecated: Use IsWhitelistedResponse.ProtoReflect.Descriptor instead.

func (*IsWhitelistedResponse) GetAddress

func (x *IsWhitelistedResponse) GetAddress() string

func (*IsWhitelistedResponse) GetIsWhitelisted

func (x *IsWhitelistedResponse) GetIsWhitelisted() bool

func (*IsWhitelistedResponse) ProtoMessage

func (*IsWhitelistedResponse) ProtoMessage()

func (*IsWhitelistedResponse) ProtoReflect

func (x *IsWhitelistedResponse) ProtoReflect() protoreflect.Message

func (*IsWhitelistedResponse) Reset

func (x *IsWhitelistedResponse) Reset()

func (*IsWhitelistedResponse) String

func (x *IsWhitelistedResponse) String() string

type MTP

type MTP struct {
	Address                       string   `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
	CollateralAsset               string   `protobuf:"bytes,2,opt,name=collateral_asset,json=collateralAsset,proto3" json:"collateral_asset,omitempty"`
	TradingAsset                  string   `protobuf:"bytes,3,opt,name=trading_asset,json=tradingAsset,proto3" json:"trading_asset,omitempty"`
	LiabilitiesAsset              string   `protobuf:"bytes,4,opt,name=liabilities_asset,json=liabilitiesAsset,proto3" json:"liabilities_asset,omitempty"`
	CustodyAsset                  string   `protobuf:"bytes,5,opt,name=custody_asset,json=custodyAsset,proto3" json:"custody_asset,omitempty"`
	Collateral                    string   `protobuf:"bytes,6,opt,name=collateral,proto3" json:"collateral,omitempty"`
	Liabilities                   string   `protobuf:"bytes,7,opt,name=liabilities,proto3" json:"liabilities,omitempty"`
	BorrowInterestPaidCustody     string   `` /* 140-byte string literal not displayed */
	BorrowInterestUnpaidLiability string   `` /* 153-byte string literal not displayed */
	Custody                       string   `protobuf:"bytes,11,opt,name=custody,proto3" json:"custody,omitempty"`
	TakeProfitLiabilities         string   `` /* 127-byte string literal not displayed */
	TakeProfitCustody             string   `protobuf:"bytes,13,opt,name=take_profit_custody,json=takeProfitCustody,proto3" json:"take_profit_custody,omitempty"`
	MtpHealth                     string   `protobuf:"bytes,14,opt,name=mtp_health,json=mtpHealth,proto3" json:"mtp_health,omitempty"`
	Position                      Position `protobuf:"varint,15,opt,name=position,proto3,enum=elys.perpetual.Position" json:"position,omitempty"`
	Id                            uint64   `protobuf:"varint,16,opt,name=id,proto3" json:"id,omitempty"`
	AmmPoolId                     uint64   `protobuf:"varint,17,opt,name=amm_pool_id,json=ammPoolId,proto3" json:"amm_pool_id,omitempty"`
	TakeProfitPrice               string   `protobuf:"bytes,18,opt,name=take_profit_price,json=takeProfitPrice,proto3" json:"take_profit_price,omitempty"`
	TakeProfitBorrowFactor        string   `` /* 132-byte string literal not displayed */
	FundingFeePaidCustody         string   `` /* 129-byte string literal not displayed */
	FundingFeeReceivedCustody     string   `` /* 141-byte string literal not displayed */
	OpenPrice                     string   `protobuf:"bytes,22,opt,name=open_price,json=openPrice,proto3" json:"open_price,omitempty"`
	StopLossPrice                 string   `protobuf:"bytes,23,opt,name=stop_loss_price,json=stopLossPrice,proto3" json:"stop_loss_price,omitempty"`
	LastInterestCalcTime          uint64   `` /* 127-byte string literal not displayed */
	LastInterestCalcBlock         uint64   `` /* 130-byte string literal not displayed */
	LastFundingCalcTime           uint64   `protobuf:"varint,26,opt,name=last_funding_calc_time,json=lastFundingCalcTime,proto3" json:"last_funding_calc_time,omitempty"`
	LastFundingCalcBlock          uint64   `` /* 127-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*MTP) Descriptor deprecated

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

Deprecated: Use MTP.ProtoReflect.Descriptor instead.

func (*MTP) GetAddress

func (x *MTP) GetAddress() string

func (*MTP) GetAmmPoolId

func (x *MTP) GetAmmPoolId() uint64

func (*MTP) GetBorrowInterestPaidCustody

func (x *MTP) GetBorrowInterestPaidCustody() string

func (*MTP) GetBorrowInterestUnpaidLiability

func (x *MTP) GetBorrowInterestUnpaidLiability() string

func (*MTP) GetCollateral

func (x *MTP) GetCollateral() string

func (*MTP) GetCollateralAsset

func (x *MTP) GetCollateralAsset() string

func (*MTP) GetCustody

func (x *MTP) GetCustody() string

func (*MTP) GetCustodyAsset

func (x *MTP) GetCustodyAsset() string

func (*MTP) GetFundingFeePaidCustody

func (x *MTP) GetFundingFeePaidCustody() string

func (*MTP) GetFundingFeeReceivedCustody

func (x *MTP) GetFundingFeeReceivedCustody() string

func (*MTP) GetId

func (x *MTP) GetId() uint64

func (*MTP) GetLastFundingCalcBlock

func (x *MTP) GetLastFundingCalcBlock() uint64

func (*MTP) GetLastFundingCalcTime

func (x *MTP) GetLastFundingCalcTime() uint64

func (*MTP) GetLastInterestCalcBlock

func (x *MTP) GetLastInterestCalcBlock() uint64

func (*MTP) GetLastInterestCalcTime

func (x *MTP) GetLastInterestCalcTime() uint64

func (*MTP) GetLiabilities

func (x *MTP) GetLiabilities() string

func (*MTP) GetLiabilitiesAsset

func (x *MTP) GetLiabilitiesAsset() string

func (*MTP) GetMtpHealth

func (x *MTP) GetMtpHealth() string

func (*MTP) GetOpenPrice

func (x *MTP) GetOpenPrice() string

func (*MTP) GetPosition

func (x *MTP) GetPosition() Position

func (*MTP) GetStopLossPrice

func (x *MTP) GetStopLossPrice() string

func (*MTP) GetTakeProfitBorrowFactor

func (x *MTP) GetTakeProfitBorrowFactor() string

func (*MTP) GetTakeProfitCustody

func (x *MTP) GetTakeProfitCustody() string

func (*MTP) GetTakeProfitLiabilities

func (x *MTP) GetTakeProfitLiabilities() string

func (*MTP) GetTakeProfitPrice

func (x *MTP) GetTakeProfitPrice() string

func (*MTP) GetTradingAsset

func (x *MTP) GetTradingAsset() string

func (*MTP) ProtoMessage

func (*MTP) ProtoMessage()

func (*MTP) ProtoReflect

func (x *MTP) ProtoReflect() protoreflect.Message

func (*MTP) Reset

func (x *MTP) Reset()

func (*MTP) String

func (x *MTP) String() string

type MTPRequest

type MTPRequest struct {
	Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
	Id      uint64 `protobuf:"varint,2,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*MTPRequest) Descriptor deprecated

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

Deprecated: Use MTPRequest.ProtoReflect.Descriptor instead.

func (*MTPRequest) GetAddress

func (x *MTPRequest) GetAddress() string

func (*MTPRequest) GetId

func (x *MTPRequest) GetId() uint64

func (*MTPRequest) ProtoMessage

func (*MTPRequest) ProtoMessage()

func (*MTPRequest) ProtoReflect

func (x *MTPRequest) ProtoReflect() protoreflect.Message

func (*MTPRequest) Reset

func (x *MTPRequest) Reset()

func (*MTPRequest) String

func (x *MTPRequest) String() string

type MTPResponse

type MTPResponse struct {
	Mtp *MtpAndPrice `protobuf:"bytes,1,opt,name=mtp,proto3" json:"mtp,omitempty"`
	// contains filtered or unexported fields
}

func (*MTPResponse) Descriptor deprecated

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

Deprecated: Use MTPResponse.ProtoReflect.Descriptor instead.

func (*MTPResponse) GetMtp

func (x *MTPResponse) GetMtp() *MtpAndPrice

func (*MTPResponse) ProtoMessage

func (*MTPResponse) ProtoMessage()

func (*MTPResponse) ProtoReflect

func (x *MTPResponse) ProtoReflect() protoreflect.Message

func (*MTPResponse) Reset

func (x *MTPResponse) Reset()

func (*MTPResponse) String

func (x *MTPResponse) String() string

type MsgClient

MsgClient is the client API for Msg service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

func NewMsgClient

func NewMsgClient(cc grpc.ClientConnInterface) MsgClient

type MsgClose

type MsgClose struct {
	Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"`
	Id      uint64 `protobuf:"varint,2,opt,name=id,proto3" json:"id,omitempty"`
	Amount  string `protobuf:"bytes,3,opt,name=amount,proto3" json:"amount,omitempty"`
	// contains filtered or unexported fields
}

func (*MsgClose) Descriptor deprecated

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

Deprecated: Use MsgClose.ProtoReflect.Descriptor instead.

func (*MsgClose) GetAmount

func (x *MsgClose) GetAmount() string

func (*MsgClose) GetCreator

func (x *MsgClose) GetCreator() string

func (*MsgClose) GetId

func (x *MsgClose) GetId() uint64

func (*MsgClose) ProtoMessage

func (*MsgClose) ProtoMessage()

func (*MsgClose) ProtoReflect

func (x *MsgClose) ProtoReflect() protoreflect.Message

func (*MsgClose) Reset

func (x *MsgClose) Reset()

func (*MsgClose) String

func (x *MsgClose) String() string

type MsgClosePositions

type MsgClosePositions struct {
	Creator    string             `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"`
	Liquidate  []*PositionRequest `protobuf:"bytes,2,rep,name=liquidate,proto3" json:"liquidate,omitempty"`
	StopLoss   []*PositionRequest `protobuf:"bytes,3,rep,name=stop_loss,json=stopLoss,proto3" json:"stop_loss,omitempty"`
	TakeProfit []*PositionRequest `protobuf:"bytes,4,rep,name=take_profit,json=takeProfit,proto3" json:"take_profit,omitempty"`
	// contains filtered or unexported fields
}

func (*MsgClosePositions) Descriptor deprecated

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

Deprecated: Use MsgClosePositions.ProtoReflect.Descriptor instead.

func (*MsgClosePositions) GetCreator

func (x *MsgClosePositions) GetCreator() string

func (*MsgClosePositions) GetLiquidate

func (x *MsgClosePositions) GetLiquidate() []*PositionRequest

func (*MsgClosePositions) GetStopLoss

func (x *MsgClosePositions) GetStopLoss() []*PositionRequest

func (*MsgClosePositions) GetTakeProfit

func (x *MsgClosePositions) GetTakeProfit() []*PositionRequest

func (*MsgClosePositions) ProtoMessage

func (*MsgClosePositions) ProtoMessage()

func (*MsgClosePositions) ProtoReflect

func (x *MsgClosePositions) ProtoReflect() protoreflect.Message

func (*MsgClosePositions) Reset

func (x *MsgClosePositions) Reset()

func (*MsgClosePositions) String

func (x *MsgClosePositions) String() string

type MsgClosePositionsResponse

type MsgClosePositionsResponse struct {
	// contains filtered or unexported fields
}

func (*MsgClosePositionsResponse) Descriptor deprecated

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

Deprecated: Use MsgClosePositionsResponse.ProtoReflect.Descriptor instead.

func (*MsgClosePositionsResponse) ProtoMessage

func (*MsgClosePositionsResponse) ProtoMessage()

func (*MsgClosePositionsResponse) ProtoReflect

func (*MsgClosePositionsResponse) Reset

func (x *MsgClosePositionsResponse) Reset()

func (*MsgClosePositionsResponse) String

func (x *MsgClosePositionsResponse) String() string

type MsgCloseResponse

type MsgCloseResponse struct {
	Id     uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Amount string `protobuf:"bytes,2,opt,name=amount,proto3" json:"amount,omitempty"`
	// contains filtered or unexported fields
}

func (*MsgCloseResponse) Descriptor deprecated

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

Deprecated: Use MsgCloseResponse.ProtoReflect.Descriptor instead.

func (*MsgCloseResponse) GetAmount

func (x *MsgCloseResponse) GetAmount() string

func (*MsgCloseResponse) GetId

func (x *MsgCloseResponse) GetId() uint64

func (*MsgCloseResponse) ProtoMessage

func (*MsgCloseResponse) ProtoMessage()

func (*MsgCloseResponse) ProtoReflect

func (x *MsgCloseResponse) ProtoReflect() protoreflect.Message

func (*MsgCloseResponse) Reset

func (x *MsgCloseResponse) Reset()

func (*MsgCloseResponse) String

func (x *MsgCloseResponse) String() string

type MsgDewhitelist

type MsgDewhitelist struct {
	Authority          string `protobuf:"bytes,1,opt,name=authority,proto3" json:"authority,omitempty"`
	WhitelistedAddress string `protobuf:"bytes,2,opt,name=whitelisted_address,json=whitelistedAddress,proto3" json:"whitelisted_address,omitempty"`
	// contains filtered or unexported fields
}

func (*MsgDewhitelist) Descriptor deprecated

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

Deprecated: Use MsgDewhitelist.ProtoReflect.Descriptor instead.

func (*MsgDewhitelist) GetAuthority

func (x *MsgDewhitelist) GetAuthority() string

func (*MsgDewhitelist) GetWhitelistedAddress

func (x *MsgDewhitelist) GetWhitelistedAddress() string

func (*MsgDewhitelist) ProtoMessage

func (*MsgDewhitelist) ProtoMessage()

func (*MsgDewhitelist) ProtoReflect

func (x *MsgDewhitelist) ProtoReflect() protoreflect.Message

func (*MsgDewhitelist) Reset

func (x *MsgDewhitelist) Reset()

func (*MsgDewhitelist) String

func (x *MsgDewhitelist) String() string

type MsgDewhitelistResponse

type MsgDewhitelistResponse struct {
	// contains filtered or unexported fields
}

func (*MsgDewhitelistResponse) Descriptor deprecated

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

Deprecated: Use MsgDewhitelistResponse.ProtoReflect.Descriptor instead.

func (*MsgDewhitelistResponse) ProtoMessage

func (*MsgDewhitelistResponse) ProtoMessage()

func (*MsgDewhitelistResponse) ProtoReflect

func (x *MsgDewhitelistResponse) ProtoReflect() protoreflect.Message

func (*MsgDewhitelistResponse) Reset

func (x *MsgDewhitelistResponse) Reset()

func (*MsgDewhitelistResponse) String

func (x *MsgDewhitelistResponse) String() string

type MsgOpen

type MsgOpen struct {
	Creator         string        `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"`
	Position        Position      `protobuf:"varint,2,opt,name=position,proto3,enum=elys.perpetual.Position" json:"position,omitempty"`
	Leverage        string        `protobuf:"bytes,3,opt,name=leverage,proto3" json:"leverage,omitempty"`
	TradingAsset    string        `protobuf:"bytes,4,opt,name=trading_asset,json=tradingAsset,proto3" json:"trading_asset,omitempty"`
	Collateral      *v1beta1.Coin `protobuf:"bytes,5,opt,name=collateral,proto3" json:"collateral,omitempty"`
	TakeProfitPrice string        `protobuf:"bytes,6,opt,name=take_profit_price,json=takeProfitPrice,proto3" json:"take_profit_price,omitempty"`
	StopLossPrice   string        `protobuf:"bytes,7,opt,name=stop_loss_price,json=stopLossPrice,proto3" json:"stop_loss_price,omitempty"`
	PoolId          uint64        `protobuf:"varint,8,opt,name=pool_id,json=poolId,proto3" json:"pool_id,omitempty"`
	// contains filtered or unexported fields
}

func (*MsgOpen) Descriptor deprecated

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

Deprecated: Use MsgOpen.ProtoReflect.Descriptor instead.

func (*MsgOpen) GetCollateral

func (x *MsgOpen) GetCollateral() *v1beta1.Coin

func (*MsgOpen) GetCreator

func (x *MsgOpen) GetCreator() string

func (*MsgOpen) GetLeverage

func (x *MsgOpen) GetLeverage() string

func (*MsgOpen) GetPoolId

func (x *MsgOpen) GetPoolId() uint64

func (*MsgOpen) GetPosition

func (x *MsgOpen) GetPosition() Position

func (*MsgOpen) GetStopLossPrice

func (x *MsgOpen) GetStopLossPrice() string

func (*MsgOpen) GetTakeProfitPrice

func (x *MsgOpen) GetTakeProfitPrice() string

func (*MsgOpen) GetTradingAsset

func (x *MsgOpen) GetTradingAsset() string

func (*MsgOpen) ProtoMessage

func (*MsgOpen) ProtoMessage()

func (*MsgOpen) ProtoReflect

func (x *MsgOpen) ProtoReflect() protoreflect.Message

func (*MsgOpen) Reset

func (x *MsgOpen) Reset()

func (*MsgOpen) String

func (x *MsgOpen) String() string

type MsgOpenResponse

type MsgOpenResponse struct {
	Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*MsgOpenResponse) Descriptor deprecated

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

Deprecated: Use MsgOpenResponse.ProtoReflect.Descriptor instead.

func (*MsgOpenResponse) GetId

func (x *MsgOpenResponse) GetId() uint64

func (*MsgOpenResponse) ProtoMessage

func (*MsgOpenResponse) ProtoMessage()

func (*MsgOpenResponse) ProtoReflect

func (x *MsgOpenResponse) ProtoReflect() protoreflect.Message

func (*MsgOpenResponse) Reset

func (x *MsgOpenResponse) Reset()

func (*MsgOpenResponse) String

func (x *MsgOpenResponse) String() string

type MsgServer

MsgServer is the server API for Msg service. All implementations must embed UnimplementedMsgServer for forward compatibility

type MsgUpdateParams

type MsgUpdateParams struct {

	// authority is the address that controls the module (defaults to x/gov unless
	// overwritten).
	Authority string `protobuf:"bytes,1,opt,name=authority,proto3" json:"authority,omitempty"`
	// NOTE: All parameters must be supplied.
	Params *Params `protobuf:"bytes,2,opt,name=params,proto3" json:"params,omitempty"`
	// contains filtered or unexported fields
}

func (*MsgUpdateParams) Descriptor deprecated

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

Deprecated: Use MsgUpdateParams.ProtoReflect.Descriptor instead.

func (*MsgUpdateParams) GetAuthority

func (x *MsgUpdateParams) GetAuthority() string

func (*MsgUpdateParams) GetParams

func (x *MsgUpdateParams) GetParams() *Params

func (*MsgUpdateParams) ProtoMessage

func (*MsgUpdateParams) ProtoMessage()

func (*MsgUpdateParams) ProtoReflect

func (x *MsgUpdateParams) ProtoReflect() protoreflect.Message

func (*MsgUpdateParams) Reset

func (x *MsgUpdateParams) Reset()

func (*MsgUpdateParams) String

func (x *MsgUpdateParams) String() string

type MsgUpdateParamsResponse

type MsgUpdateParamsResponse struct {
	// contains filtered or unexported fields
}

func (*MsgUpdateParamsResponse) Descriptor deprecated

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

Deprecated: Use MsgUpdateParamsResponse.ProtoReflect.Descriptor instead.

func (*MsgUpdateParamsResponse) ProtoMessage

func (*MsgUpdateParamsResponse) ProtoMessage()

func (*MsgUpdateParamsResponse) ProtoReflect

func (x *MsgUpdateParamsResponse) ProtoReflect() protoreflect.Message

func (*MsgUpdateParamsResponse) Reset

func (x *MsgUpdateParamsResponse) Reset()

func (*MsgUpdateParamsResponse) String

func (x *MsgUpdateParamsResponse) String() string

type MsgUpdateStopLoss

type MsgUpdateStopLoss struct {
	Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"`
	Id      uint64 `protobuf:"varint,2,opt,name=id,proto3" json:"id,omitempty"`
	Price   string `protobuf:"bytes,3,opt,name=price,proto3" json:"price,omitempty"`
	// contains filtered or unexported fields
}

func (*MsgUpdateStopLoss) Descriptor deprecated

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

Deprecated: Use MsgUpdateStopLoss.ProtoReflect.Descriptor instead.

func (*MsgUpdateStopLoss) GetCreator

func (x *MsgUpdateStopLoss) GetCreator() string

func (*MsgUpdateStopLoss) GetId

func (x *MsgUpdateStopLoss) GetId() uint64

func (*MsgUpdateStopLoss) GetPrice

func (x *MsgUpdateStopLoss) GetPrice() string

func (*MsgUpdateStopLoss) ProtoMessage

func (*MsgUpdateStopLoss) ProtoMessage()

func (*MsgUpdateStopLoss) ProtoReflect

func (x *MsgUpdateStopLoss) ProtoReflect() protoreflect.Message

func (*MsgUpdateStopLoss) Reset

func (x *MsgUpdateStopLoss) Reset()

func (*MsgUpdateStopLoss) String

func (x *MsgUpdateStopLoss) String() string

type MsgUpdateStopLossResponse

type MsgUpdateStopLossResponse struct {
	// contains filtered or unexported fields
}

func (*MsgUpdateStopLossResponse) Descriptor deprecated

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

Deprecated: Use MsgUpdateStopLossResponse.ProtoReflect.Descriptor instead.

func (*MsgUpdateStopLossResponse) ProtoMessage

func (*MsgUpdateStopLossResponse) ProtoMessage()

func (*MsgUpdateStopLossResponse) ProtoReflect

func (*MsgUpdateStopLossResponse) Reset

func (x *MsgUpdateStopLossResponse) Reset()

func (*MsgUpdateStopLossResponse) String

func (x *MsgUpdateStopLossResponse) String() string

type MsgUpdateTakeProfitPrice

type MsgUpdateTakeProfitPrice struct {
	Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"`
	Id      uint64 `protobuf:"varint,2,opt,name=id,proto3" json:"id,omitempty"`
	Price   string `protobuf:"bytes,3,opt,name=price,proto3" json:"price,omitempty"`
	// contains filtered or unexported fields
}

func (*MsgUpdateTakeProfitPrice) Descriptor deprecated

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

Deprecated: Use MsgUpdateTakeProfitPrice.ProtoReflect.Descriptor instead.

func (*MsgUpdateTakeProfitPrice) GetCreator

func (x *MsgUpdateTakeProfitPrice) GetCreator() string

func (*MsgUpdateTakeProfitPrice) GetId

func (x *MsgUpdateTakeProfitPrice) GetId() uint64

func (*MsgUpdateTakeProfitPrice) GetPrice

func (x *MsgUpdateTakeProfitPrice) GetPrice() string

func (*MsgUpdateTakeProfitPrice) ProtoMessage

func (*MsgUpdateTakeProfitPrice) ProtoMessage()

func (*MsgUpdateTakeProfitPrice) ProtoReflect

func (x *MsgUpdateTakeProfitPrice) ProtoReflect() protoreflect.Message

func (*MsgUpdateTakeProfitPrice) Reset

func (x *MsgUpdateTakeProfitPrice) Reset()

func (*MsgUpdateTakeProfitPrice) String

func (x *MsgUpdateTakeProfitPrice) String() string

type MsgUpdateTakeProfitPriceResponse

type MsgUpdateTakeProfitPriceResponse struct {
	// contains filtered or unexported fields
}

func (*MsgUpdateTakeProfitPriceResponse) Descriptor deprecated

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

Deprecated: Use MsgUpdateTakeProfitPriceResponse.ProtoReflect.Descriptor instead.

func (*MsgUpdateTakeProfitPriceResponse) ProtoMessage

func (*MsgUpdateTakeProfitPriceResponse) ProtoMessage()

func (*MsgUpdateTakeProfitPriceResponse) ProtoReflect

func (*MsgUpdateTakeProfitPriceResponse) Reset

func (*MsgUpdateTakeProfitPriceResponse) String

type MsgWhitelist

type MsgWhitelist struct {
	Authority          string `protobuf:"bytes,1,opt,name=authority,proto3" json:"authority,omitempty"`
	WhitelistedAddress string `protobuf:"bytes,2,opt,name=whitelisted_address,json=whitelistedAddress,proto3" json:"whitelisted_address,omitempty"`
	// contains filtered or unexported fields
}

func (*MsgWhitelist) Descriptor deprecated

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

Deprecated: Use MsgWhitelist.ProtoReflect.Descriptor instead.

func (*MsgWhitelist) GetAuthority

func (x *MsgWhitelist) GetAuthority() string

func (*MsgWhitelist) GetWhitelistedAddress

func (x *MsgWhitelist) GetWhitelistedAddress() string

func (*MsgWhitelist) ProtoMessage

func (*MsgWhitelist) ProtoMessage()

func (*MsgWhitelist) ProtoReflect

func (x *MsgWhitelist) ProtoReflect() protoreflect.Message

func (*MsgWhitelist) Reset

func (x *MsgWhitelist) Reset()

func (*MsgWhitelist) String

func (x *MsgWhitelist) String() string

type MsgWhitelistResponse

type MsgWhitelistResponse struct {
	// contains filtered or unexported fields
}

func (*MsgWhitelistResponse) Descriptor deprecated

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

Deprecated: Use MsgWhitelistResponse.ProtoReflect.Descriptor instead.

func (*MsgWhitelistResponse) ProtoMessage

func (*MsgWhitelistResponse) ProtoMessage()

func (*MsgWhitelistResponse) ProtoReflect

func (x *MsgWhitelistResponse) ProtoReflect() protoreflect.Message

func (*MsgWhitelistResponse) Reset

func (x *MsgWhitelistResponse) Reset()

func (*MsgWhitelistResponse) String

func (x *MsgWhitelistResponse) String() string

type MtpAndPrice

type MtpAndPrice struct {
	Mtp               *MTP          `protobuf:"bytes,1,opt,name=mtp,proto3" json:"mtp,omitempty"`
	TradingAssetPrice string        `protobuf:"bytes,2,opt,name=trading_asset_price,json=tradingAssetPrice,proto3" json:"trading_asset_price,omitempty"`
	Pnl               *v1beta1.Coin `protobuf:"bytes,3,opt,name=pnl,proto3" json:"pnl,omitempty"`
	EffectiveLeverage string        `protobuf:"bytes,4,opt,name=effective_leverage,json=effectiveLeverage,proto3" json:"effective_leverage,omitempty"`
	LiquidationPrice  string        `protobuf:"bytes,5,opt,name=liquidation_price,json=liquidationPrice,proto3" json:"liquidation_price,omitempty"`
	Fees              *Fees         `protobuf:"bytes,6,opt,name=fees,proto3" json:"fees,omitempty"`
	// contains filtered or unexported fields
}

func (*MtpAndPrice) Descriptor deprecated

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

Deprecated: Use MtpAndPrice.ProtoReflect.Descriptor instead.

func (*MtpAndPrice) GetEffectiveLeverage

func (x *MtpAndPrice) GetEffectiveLeverage() string

func (*MtpAndPrice) GetFees

func (x *MtpAndPrice) GetFees() *Fees

func (*MtpAndPrice) GetLiquidationPrice

func (x *MtpAndPrice) GetLiquidationPrice() string

func (*MtpAndPrice) GetMtp

func (x *MtpAndPrice) GetMtp() *MTP

func (*MtpAndPrice) GetPnl

func (x *MtpAndPrice) GetPnl() *v1beta1.Coin

func (*MtpAndPrice) GetTradingAssetPrice

func (x *MtpAndPrice) GetTradingAssetPrice() string

func (*MtpAndPrice) ProtoMessage

func (*MtpAndPrice) ProtoMessage()

func (*MtpAndPrice) ProtoReflect

func (x *MtpAndPrice) ProtoReflect() protoreflect.Message

func (*MtpAndPrice) Reset

func (x *MtpAndPrice) Reset()

func (*MtpAndPrice) String

func (x *MtpAndPrice) String() string

type Params

type Params struct {
	LeverageMax                                    string `protobuf:"bytes,1,opt,name=leverage_max,json=leverageMax,proto3" json:"leverage_max,omitempty"`
	BorrowInterestRateMax                          string `` /* 128-byte string literal not displayed */
	BorrowInterestRateMin                          string `` /* 128-byte string literal not displayed */
	BorrowInterestRateIncrease                     string `` /* 143-byte string literal not displayed */
	BorrowInterestRateDecrease                     string `` /* 143-byte string literal not displayed */
	HealthGainFactor                               string `protobuf:"bytes,6,opt,name=health_gain_factor,json=healthGainFactor,proto3" json:"health_gain_factor,omitempty"`
	MaxOpenPositions                               int64  `protobuf:"varint,7,opt,name=max_open_positions,json=maxOpenPositions,proto3" json:"max_open_positions,omitempty"`
	PoolOpenThreshold                              string `protobuf:"bytes,8,opt,name=pool_open_threshold,json=poolOpenThreshold,proto3" json:"pool_open_threshold,omitempty"`
	ForceCloseFundPercentage                       string `` /* 137-byte string literal not displayed */
	ForceCloseFundAddress                          string `` /* 129-byte string literal not displayed */
	IncrementalBorrowInterestPaymentFundPercentage string `` /* 208-byte string literal not displayed */
	IncrementalBorrowInterestPaymentFundAddress    string `` /* 199-byte string literal not displayed */
	SafetyFactor                                   string `protobuf:"bytes,13,opt,name=safety_factor,json=safetyFactor,proto3" json:"safety_factor,omitempty"`
	IncrementalBorrowInterestPaymentEnabled        bool   `` /* 186-byte string literal not displayed */
	WhitelistingEnabled                            bool   `protobuf:"varint,15,opt,name=whitelisting_enabled,json=whitelistingEnabled,proto3" json:"whitelisting_enabled,omitempty"`
	PerpetualSwapFee                               string `protobuf:"bytes,16,opt,name=perpetual_swap_fee,json=perpetualSwapFee,proto3" json:"perpetual_swap_fee,omitempty"`
	MaxLimitOrder                                  int64  `protobuf:"varint,17,opt,name=max_limit_order,json=maxLimitOrder,proto3" json:"max_limit_order,omitempty"`
	FixedFundingRate                               string `protobuf:"bytes,18,opt,name=fixed_funding_rate,json=fixedFundingRate,proto3" json:"fixed_funding_rate,omitempty"`
	// minimum value for take_profit_price/current price for long, should be
	// greater than 1
	MinimumLongTakeProfitPriceRatio string `` /* 163-byte string literal not displayed */
	// max value for take_profit_price/current price for long, should be greater
	// than 1
	MaximumLongTakeProfitPriceRatio string `` /* 163-byte string literal not displayed */
	// max value for take_profit_price/current price for short, should be less
	// than 1
	MaximumShortTakeProfitPriceRatio string `` /* 166-byte string literal not displayed */
	// No need for minimumShortTakeProfitPriceRatio as it will be 0, checked in
	// validate message
	EnableTakeProfitCustodyLiabilities bool `` /* 171-byte string literal not displayed */
	// We create this and send this value to estimate swap ONLY when opening and
	// closing the position Ideally this value is set to half. When trader open a
	// position if they receive a weight balance bonus (which is half of weight
	// breaking fee, ideally) then while closing position they are charged weight
	// breaking fee. So we just directly apply half weight breaking fee on
	// perpetual swaps Question: does each need to have separate value of this
	// because PoolParams.WeightRecoveryFeePortion can be different Also, if
	// trader has no bonus only fee, then overall we are only applying the fee
	// half time
	WeightBreakingFeeFactor string `` /* 135-byte string literal not displayed */
	// contains filtered or unexported fields
}

Params defines the parameters for the module.

func (*Params) Descriptor deprecated

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

Deprecated: Use Params.ProtoReflect.Descriptor instead.

func (*Params) GetBorrowInterestRateDecrease

func (x *Params) GetBorrowInterestRateDecrease() string

func (*Params) GetBorrowInterestRateIncrease

func (x *Params) GetBorrowInterestRateIncrease() string

func (*Params) GetBorrowInterestRateMax

func (x *Params) GetBorrowInterestRateMax() string

func (*Params) GetBorrowInterestRateMin

func (x *Params) GetBorrowInterestRateMin() string

func (*Params) GetEnableTakeProfitCustodyLiabilities

func (x *Params) GetEnableTakeProfitCustodyLiabilities() bool

func (*Params) GetFixedFundingRate

func (x *Params) GetFixedFundingRate() string

func (*Params) GetForceCloseFundAddress

func (x *Params) GetForceCloseFundAddress() string

func (*Params) GetForceCloseFundPercentage

func (x *Params) GetForceCloseFundPercentage() string

func (*Params) GetHealthGainFactor

func (x *Params) GetHealthGainFactor() string

func (*Params) GetIncrementalBorrowInterestPaymentEnabled

func (x *Params) GetIncrementalBorrowInterestPaymentEnabled() bool

func (*Params) GetIncrementalBorrowInterestPaymentFundAddress

func (x *Params) GetIncrementalBorrowInterestPaymentFundAddress() string

func (*Params) GetIncrementalBorrowInterestPaymentFundPercentage

func (x *Params) GetIncrementalBorrowInterestPaymentFundPercentage() string

func (*Params) GetLeverageMax

func (x *Params) GetLeverageMax() string

func (*Params) GetMaxLimitOrder

func (x *Params) GetMaxLimitOrder() int64

func (*Params) GetMaxOpenPositions

func (x *Params) GetMaxOpenPositions() int64

func (*Params) GetMaximumLongTakeProfitPriceRatio

func (x *Params) GetMaximumLongTakeProfitPriceRatio() string

func (*Params) GetMaximumShortTakeProfitPriceRatio

func (x *Params) GetMaximumShortTakeProfitPriceRatio() string

func (*Params) GetMinimumLongTakeProfitPriceRatio

func (x *Params) GetMinimumLongTakeProfitPriceRatio() string

func (*Params) GetPerpetualSwapFee

func (x *Params) GetPerpetualSwapFee() string

func (*Params) GetPoolOpenThreshold

func (x *Params) GetPoolOpenThreshold() string

func (*Params) GetSafetyFactor

func (x *Params) GetSafetyFactor() string

func (*Params) GetWeightBreakingFeeFactor

func (x *Params) GetWeightBreakingFeeFactor() string

func (*Params) GetWhitelistingEnabled

func (x *Params) GetWhitelistingEnabled() bool

func (*Params) ProtoMessage

func (*Params) ProtoMessage()

func (*Params) ProtoReflect

func (x *Params) ProtoReflect() protoreflect.Message

func (*Params) Reset

func (x *Params) Reset()

func (*Params) String

func (x *Params) String() string

type ParamsRequest

type ParamsRequest struct {
	// contains filtered or unexported fields
}

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

func (*ParamsRequest) Descriptor deprecated

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

Deprecated: Use ParamsRequest.ProtoReflect.Descriptor instead.

func (*ParamsRequest) ProtoMessage

func (*ParamsRequest) ProtoMessage()

func (*ParamsRequest) ProtoReflect

func (x *ParamsRequest) ProtoReflect() protoreflect.Message

func (*ParamsRequest) Reset

func (x *ParamsRequest) Reset()

func (*ParamsRequest) String

func (x *ParamsRequest) String() string

type ParamsResponse

type ParamsResponse struct {

	// params holds all the parameters of this module.
	Params *Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params,omitempty"`
	// contains filtered or unexported fields
}

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

func (*ParamsResponse) Descriptor deprecated

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

Deprecated: Use ParamsResponse.ProtoReflect.Descriptor instead.

func (*ParamsResponse) GetParams

func (x *ParamsResponse) GetParams() *Params

func (*ParamsResponse) ProtoMessage

func (*ParamsResponse) ProtoMessage()

func (*ParamsResponse) ProtoReflect

func (x *ParamsResponse) ProtoReflect() protoreflect.Message

func (*ParamsResponse) Reset

func (x *ParamsResponse) Reset()

func (*ParamsResponse) String

func (x *ParamsResponse) String() string

type Pool

type Pool struct {
	AmmPoolId                            uint64       `protobuf:"varint,1,opt,name=amm_pool_id,json=ammPoolId,proto3" json:"amm_pool_id,omitempty"`
	Health                               string       `protobuf:"bytes,2,opt,name=health,proto3" json:"health,omitempty"`
	BorrowInterestRate                   string       `protobuf:"bytes,3,opt,name=borrow_interest_rate,json=borrowInterestRate,proto3" json:"borrow_interest_rate,omitempty"`
	PoolAssetsLong                       []*PoolAsset `protobuf:"bytes,4,rep,name=pool_assets_long,json=poolAssetsLong,proto3" json:"pool_assets_long,omitempty"`
	PoolAssetsShort                      []*PoolAsset `protobuf:"bytes,5,rep,name=pool_assets_short,json=poolAssetsShort,proto3" json:"pool_assets_short,omitempty"`
	LastHeightBorrowInterestRateComputed int64        `` /* 178-byte string literal not displayed */
	// funding rate, if positive longs pay shorts, if negative shorts pay longs
	FundingRate   string          `protobuf:"bytes,7,opt,name=funding_rate,json=fundingRate,proto3" json:"funding_rate,omitempty"`
	FeesCollected []*v1beta1.Coin `protobuf:"bytes,8,rep,name=fees_collected,json=feesCollected,proto3" json:"fees_collected,omitempty"`
	// contains filtered or unexported fields
}

func (*Pool) Descriptor deprecated

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

Deprecated: Use Pool.ProtoReflect.Descriptor instead.

func (*Pool) GetAmmPoolId

func (x *Pool) GetAmmPoolId() uint64

func (*Pool) GetBorrowInterestRate

func (x *Pool) GetBorrowInterestRate() string

func (*Pool) GetFeesCollected

func (x *Pool) GetFeesCollected() []*v1beta1.Coin

func (*Pool) GetFundingRate

func (x *Pool) GetFundingRate() string

func (*Pool) GetHealth

func (x *Pool) GetHealth() string

func (*Pool) GetLastHeightBorrowInterestRateComputed

func (x *Pool) GetLastHeightBorrowInterestRateComputed() int64

func (*Pool) GetPoolAssetsLong

func (x *Pool) GetPoolAssetsLong() []*PoolAsset

func (*Pool) GetPoolAssetsShort

func (x *Pool) GetPoolAssetsShort() []*PoolAsset

func (*Pool) ProtoMessage

func (*Pool) ProtoMessage()

func (*Pool) ProtoReflect

func (x *Pool) ProtoReflect() protoreflect.Message

func (*Pool) Reset

func (x *Pool) Reset()

func (*Pool) String

func (x *Pool) String() string

type PoolAsset

type PoolAsset struct {
	Liabilities           string `protobuf:"bytes,1,opt,name=liabilities,proto3" json:"liabilities,omitempty"`
	Custody               string `protobuf:"bytes,2,opt,name=custody,proto3" json:"custody,omitempty"`
	TakeProfitLiabilities string `` /* 126-byte string literal not displayed */
	TakeProfitCustody     string `protobuf:"bytes,4,opt,name=take_profit_custody,json=takeProfitCustody,proto3" json:"take_profit_custody,omitempty"`
	AssetDenom            string `protobuf:"bytes,5,opt,name=asset_denom,json=assetDenom,proto3" json:"asset_denom,omitempty"`
	Collateral            string `protobuf:"bytes,6,opt,name=collateral,proto3" json:"collateral,omitempty"`
	// contains filtered or unexported fields
}

func (*PoolAsset) Descriptor deprecated

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

Deprecated: Use PoolAsset.ProtoReflect.Descriptor instead.

func (*PoolAsset) GetAssetDenom

func (x *PoolAsset) GetAssetDenom() string

func (*PoolAsset) GetCollateral

func (x *PoolAsset) GetCollateral() string

func (*PoolAsset) GetCustody

func (x *PoolAsset) GetCustody() string

func (*PoolAsset) GetLiabilities

func (x *PoolAsset) GetLiabilities() string

func (*PoolAsset) GetTakeProfitCustody

func (x *PoolAsset) GetTakeProfitCustody() string

func (*PoolAsset) GetTakeProfitLiabilities

func (x *PoolAsset) GetTakeProfitLiabilities() string

func (*PoolAsset) ProtoMessage

func (*PoolAsset) ProtoMessage()

func (*PoolAsset) ProtoReflect

func (x *PoolAsset) ProtoReflect() protoreflect.Message

func (*PoolAsset) Reset

func (x *PoolAsset) Reset()

func (*PoolAsset) String

func (x *PoolAsset) String() string

type PoolResponse

type PoolResponse struct {
	AmmPoolId                            uint64       `protobuf:"varint,1,opt,name=amm_pool_id,json=ammPoolId,proto3" json:"amm_pool_id,omitempty"`
	Health                               string       `protobuf:"bytes,2,opt,name=health,proto3" json:"health,omitempty"`
	BorrowInterestRate                   string       `protobuf:"bytes,3,opt,name=borrow_interest_rate,json=borrowInterestRate,proto3" json:"borrow_interest_rate,omitempty"`
	PoolAssetsLong                       []*PoolAsset `protobuf:"bytes,4,rep,name=pool_assets_long,json=poolAssetsLong,proto3" json:"pool_assets_long,omitempty"`
	PoolAssetsShort                      []*PoolAsset `protobuf:"bytes,5,rep,name=pool_assets_short,json=poolAssetsShort,proto3" json:"pool_assets_short,omitempty"`
	LastHeightBorrowInterestRateComputed int64        `` /* 178-byte string literal not displayed */
	// funding rate, if positive longs pay shorts, if negative shorts pay longs
	FundingRate     string `protobuf:"bytes,7,opt,name=funding_rate,json=fundingRate,proto3" json:"funding_rate,omitempty"`
	NetOpenInterest string `protobuf:"bytes,8,opt,name=net_open_interest,json=netOpenInterest,proto3" json:"net_open_interest,omitempty"`
	// Rate at which long pays/receive from short
	// if negative longs pay, if positive long receives
	LongRate               string        `protobuf:"bytes,9,opt,name=long_rate,json=longRate,proto3" json:"long_rate,omitempty"`
	ShortRate              string        `protobuf:"bytes,10,opt,name=short_rate,json=shortRate,proto3" json:"short_rate,omitempty"`
	TotalLiabilities       *v1beta1.Coin `protobuf:"bytes,11,opt,name=total_liabilities,json=totalLiabilities,proto3" json:"total_liabilities,omitempty"`
	TotalLongOpenInterest  string        `` /* 129-byte string literal not displayed */
	TotalShortOpenInterest string        `` /* 132-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*PoolResponse) Descriptor deprecated

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

Deprecated: Use PoolResponse.ProtoReflect.Descriptor instead.

func (*PoolResponse) GetAmmPoolId

func (x *PoolResponse) GetAmmPoolId() uint64

func (*PoolResponse) GetBorrowInterestRate

func (x *PoolResponse) GetBorrowInterestRate() string

func (*PoolResponse) GetFundingRate

func (x *PoolResponse) GetFundingRate() string

func (*PoolResponse) GetHealth

func (x *PoolResponse) GetHealth() string

func (*PoolResponse) GetLastHeightBorrowInterestRateComputed

func (x *PoolResponse) GetLastHeightBorrowInterestRateComputed() int64

func (*PoolResponse) GetLongRate

func (x *PoolResponse) GetLongRate() string

func (*PoolResponse) GetNetOpenInterest

func (x *PoolResponse) GetNetOpenInterest() string

func (*PoolResponse) GetPoolAssetsLong

func (x *PoolResponse) GetPoolAssetsLong() []*PoolAsset

func (*PoolResponse) GetPoolAssetsShort

func (x *PoolResponse) GetPoolAssetsShort() []*PoolAsset

func (*PoolResponse) GetShortRate

func (x *PoolResponse) GetShortRate() string

func (*PoolResponse) GetTotalLiabilities

func (x *PoolResponse) GetTotalLiabilities() *v1beta1.Coin

func (*PoolResponse) GetTotalLongOpenInterest

func (x *PoolResponse) GetTotalLongOpenInterest() string

func (*PoolResponse) GetTotalShortOpenInterest

func (x *PoolResponse) GetTotalShortOpenInterest() string

func (*PoolResponse) ProtoMessage

func (*PoolResponse) ProtoMessage()

func (*PoolResponse) ProtoReflect

func (x *PoolResponse) ProtoReflect() protoreflect.Message

func (*PoolResponse) Reset

func (x *PoolResponse) Reset()

func (*PoolResponse) String

func (x *PoolResponse) String() string

type Position

type Position int32
const (
	Position_UNSPECIFIED Position = 0
	Position_LONG        Position = 1
	Position_SHORT       Position = 2
)

func (Position) Descriptor

func (Position) Descriptor() protoreflect.EnumDescriptor

func (Position) Enum

func (x Position) Enum() *Position

func (Position) EnumDescriptor deprecated

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

Deprecated: Use Position.Descriptor instead.

func (Position) Number

func (x Position) Number() protoreflect.EnumNumber

func (Position) String

func (x Position) String() string

func (Position) Type

type PositionRequest

type PositionRequest struct {
	Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
	Id      uint64 `protobuf:"varint,2,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*PositionRequest) Descriptor deprecated

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

Deprecated: Use PositionRequest.ProtoReflect.Descriptor instead.

func (*PositionRequest) GetAddress

func (x *PositionRequest) GetAddress() string

func (*PositionRequest) GetId

func (x *PositionRequest) GetId() uint64

func (*PositionRequest) ProtoMessage

func (*PositionRequest) ProtoMessage()

func (*PositionRequest) ProtoReflect

func (x *PositionRequest) ProtoReflect() protoreflect.Message

func (*PositionRequest) Reset

func (x *PositionRequest) Reset()

func (*PositionRequest) String

func (x *PositionRequest) String() string

type PositionsByPoolRequest

type PositionsByPoolRequest struct {
	AmmPoolId  uint64                `protobuf:"varint,1,opt,name=amm_pool_id,json=ammPoolId,proto3" json:"amm_pool_id,omitempty"`
	Pagination *v1beta11.PageRequest `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
	// contains filtered or unexported fields
}

func (*PositionsByPoolRequest) Descriptor deprecated

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

Deprecated: Use PositionsByPoolRequest.ProtoReflect.Descriptor instead.

func (*PositionsByPoolRequest) GetAmmPoolId

func (x *PositionsByPoolRequest) GetAmmPoolId() uint64

func (*PositionsByPoolRequest) GetPagination

func (x *PositionsByPoolRequest) GetPagination() *v1beta11.PageRequest

func (*PositionsByPoolRequest) ProtoMessage

func (*PositionsByPoolRequest) ProtoMessage()

func (*PositionsByPoolRequest) ProtoReflect

func (x *PositionsByPoolRequest) ProtoReflect() protoreflect.Message

func (*PositionsByPoolRequest) Reset

func (x *PositionsByPoolRequest) Reset()

func (*PositionsByPoolRequest) String

func (x *PositionsByPoolRequest) String() string

type PositionsByPoolResponse

type PositionsByPoolResponse struct {
	Mtps       []*MtpAndPrice         `protobuf:"bytes,1,rep,name=mtps,proto3" json:"mtps,omitempty"`
	Pagination *v1beta11.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
	// contains filtered or unexported fields
}

func (*PositionsByPoolResponse) Descriptor deprecated

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

Deprecated: Use PositionsByPoolResponse.ProtoReflect.Descriptor instead.

func (*PositionsByPoolResponse) GetMtps

func (x *PositionsByPoolResponse) GetMtps() []*MtpAndPrice

func (*PositionsByPoolResponse) GetPagination

func (x *PositionsByPoolResponse) GetPagination() *v1beta11.PageResponse

func (*PositionsByPoolResponse) ProtoMessage

func (*PositionsByPoolResponse) ProtoMessage()

func (*PositionsByPoolResponse) ProtoReflect

func (x *PositionsByPoolResponse) ProtoReflect() protoreflect.Message

func (*PositionsByPoolResponse) Reset

func (x *PositionsByPoolResponse) Reset()

func (*PositionsByPoolResponse) String

func (x *PositionsByPoolResponse) String() string

type PositionsForAddressRequest

type PositionsForAddressRequest struct {
	Address    string                `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
	Pagination *v1beta11.PageRequest `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
	// contains filtered or unexported fields
}

func (*PositionsForAddressRequest) Descriptor deprecated

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

Deprecated: Use PositionsForAddressRequest.ProtoReflect.Descriptor instead.

func (*PositionsForAddressRequest) GetAddress

func (x *PositionsForAddressRequest) GetAddress() string

func (*PositionsForAddressRequest) GetPagination

func (x *PositionsForAddressRequest) GetPagination() *v1beta11.PageRequest

func (*PositionsForAddressRequest) ProtoMessage

func (*PositionsForAddressRequest) ProtoMessage()

func (*PositionsForAddressRequest) ProtoReflect

func (*PositionsForAddressRequest) Reset

func (x *PositionsForAddressRequest) Reset()

func (*PositionsForAddressRequest) String

func (x *PositionsForAddressRequest) String() string

type PositionsForAddressResponse

type PositionsForAddressResponse struct {
	Mtps       []*MtpAndPrice         `protobuf:"bytes,1,rep,name=mtps,proto3" json:"mtps,omitempty"`
	Pagination *v1beta11.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
	// contains filtered or unexported fields
}

func (*PositionsForAddressResponse) Descriptor deprecated

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

Deprecated: Use PositionsForAddressResponse.ProtoReflect.Descriptor instead.

func (*PositionsForAddressResponse) GetMtps

func (x *PositionsForAddressResponse) GetMtps() []*MtpAndPrice

func (*PositionsForAddressResponse) GetPagination

func (*PositionsForAddressResponse) ProtoMessage

func (*PositionsForAddressResponse) ProtoMessage()

func (*PositionsForAddressResponse) ProtoReflect

func (*PositionsForAddressResponse) Reset

func (x *PositionsForAddressResponse) Reset()

func (*PositionsForAddressResponse) String

func (x *PositionsForAddressResponse) String() string

type PositionsRequest

type PositionsRequest struct {
	Pagination *v1beta11.PageRequest `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"`
	// contains filtered or unexported fields
}

func (*PositionsRequest) Descriptor deprecated

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

Deprecated: Use PositionsRequest.ProtoReflect.Descriptor instead.

func (*PositionsRequest) GetPagination

func (x *PositionsRequest) GetPagination() *v1beta11.PageRequest

func (*PositionsRequest) ProtoMessage

func (*PositionsRequest) ProtoMessage()

func (*PositionsRequest) ProtoReflect

func (x *PositionsRequest) ProtoReflect() protoreflect.Message

func (*PositionsRequest) Reset

func (x *PositionsRequest) Reset()

func (*PositionsRequest) String

func (x *PositionsRequest) String() string

type PositionsResponse

type PositionsResponse struct {
	Mtps       []*MtpAndPrice         `protobuf:"bytes,1,rep,name=mtps,proto3" json:"mtps,omitempty"`
	Pagination *v1beta11.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
	// contains filtered or unexported fields
}

func (*PositionsResponse) Descriptor deprecated

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

Deprecated: Use PositionsResponse.ProtoReflect.Descriptor instead.

func (*PositionsResponse) GetMtps

func (x *PositionsResponse) GetMtps() []*MtpAndPrice

func (*PositionsResponse) GetPagination

func (x *PositionsResponse) GetPagination() *v1beta11.PageResponse

func (*PositionsResponse) ProtoMessage

func (*PositionsResponse) ProtoMessage()

func (*PositionsResponse) ProtoReflect

func (x *PositionsResponse) ProtoReflect() protoreflect.Message

func (*PositionsResponse) Reset

func (x *PositionsResponse) Reset()

func (*PositionsResponse) String

func (x *PositionsResponse) String() string

type QueryAllPoolRequest

type QueryAllPoolRequest struct {
	Pagination *v1beta11.PageRequest `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"`
	// contains filtered or unexported fields
}

func (*QueryAllPoolRequest) Descriptor deprecated

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

Deprecated: Use QueryAllPoolRequest.ProtoReflect.Descriptor instead.

func (*QueryAllPoolRequest) GetPagination

func (x *QueryAllPoolRequest) GetPagination() *v1beta11.PageRequest

func (*QueryAllPoolRequest) ProtoMessage

func (*QueryAllPoolRequest) ProtoMessage()

func (*QueryAllPoolRequest) ProtoReflect

func (x *QueryAllPoolRequest) ProtoReflect() protoreflect.Message

func (*QueryAllPoolRequest) Reset

func (x *QueryAllPoolRequest) Reset()

func (*QueryAllPoolRequest) String

func (x *QueryAllPoolRequest) String() string

type QueryAllPoolResponse

type QueryAllPoolResponse struct {
	Pool       []*PoolResponse        `protobuf:"bytes,1,rep,name=pool,proto3" json:"pool,omitempty"`
	Pagination *v1beta11.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
	// contains filtered or unexported fields
}

func (*QueryAllPoolResponse) Descriptor deprecated

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

Deprecated: Use QueryAllPoolResponse.ProtoReflect.Descriptor instead.

func (*QueryAllPoolResponse) GetPagination

func (x *QueryAllPoolResponse) GetPagination() *v1beta11.PageResponse

func (*QueryAllPoolResponse) GetPool

func (x *QueryAllPoolResponse) GetPool() []*PoolResponse

func (*QueryAllPoolResponse) ProtoMessage

func (*QueryAllPoolResponse) ProtoMessage()

func (*QueryAllPoolResponse) ProtoReflect

func (x *QueryAllPoolResponse) ProtoReflect() protoreflect.Message

func (*QueryAllPoolResponse) Reset

func (x *QueryAllPoolResponse) Reset()

func (*QueryAllPoolResponse) String

func (x *QueryAllPoolResponse) String() string

type QueryClient

type QueryClient interface {
	// Parameters queries the parameters of the module.
	Params(ctx context.Context, in *ParamsRequest, opts ...grpc.CallOption) (*ParamsResponse, error)
	// Queries a list of positions.
	GetPositions(ctx context.Context, in *PositionsRequest, opts ...grpc.CallOption) (*PositionsResponse, error)
	// Queries a list of mtp positions by pool.
	GetPositionsByPool(ctx context.Context, in *PositionsByPoolRequest, opts ...grpc.CallOption) (*PositionsByPoolResponse, error)
	// Retuns the total number of open and lifetime mtps.
	GetStatus(ctx context.Context, in *StatusRequest, opts ...grpc.CallOption) (*StatusResponse, error)
	// Queries a list of mtp positions for a given address.
	GetPositionsForAddress(ctx context.Context, in *PositionsForAddressRequest, opts ...grpc.CallOption) (*PositionsForAddressResponse, error)
	// Queries a list of whitelisted addresses.
	GetWhitelist(ctx context.Context, in *WhitelistRequest, opts ...grpc.CallOption) (*WhitelistResponse, error)
	// Is an address whitelisted?
	IsWhitelisted(ctx context.Context, in *IsWhitelistedRequest, opts ...grpc.CallOption) (*IsWhitelistedResponse, error)
	// Queries a single pool given its index.
	Pool(ctx context.Context, in *QueryGetPoolRequest, opts ...grpc.CallOption) (*QueryGetPoolResponse, error)
	// Queries a list of all pools.
	Pools(ctx context.Context, in *QueryAllPoolRequest, opts ...grpc.CallOption) (*QueryAllPoolResponse, error)
	// Queries a single mtp position given its address and id.
	MTP(ctx context.Context, in *MTPRequest, opts ...grpc.CallOption) (*MTPResponse, error)
	// Queries an estimation of a new open position details.
	OpenEstimation(ctx context.Context, in *QueryOpenEstimationRequest, opts ...grpc.CallOption) (*QueryOpenEstimationResponse, error)
	// Queries a list of CloseEstimation items.
	CloseEstimation(ctx context.Context, in *QueryCloseEstimationRequest, opts ...grpc.CallOption) (*QueryCloseEstimationResponse, error)
}

QueryClient is the client API for Query service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

func NewQueryClient

func NewQueryClient(cc grpc.ClientConnInterface) QueryClient

type QueryCloseEstimationRequest

type QueryCloseEstimationRequest struct {
	Address     string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
	PositionId  uint64 `protobuf:"varint,2,opt,name=position_id,json=positionId,proto3" json:"position_id,omitempty"`
	CloseAmount string `protobuf:"bytes,3,opt,name=close_amount,json=closeAmount,proto3" json:"close_amount,omitempty"`
	// contains filtered or unexported fields
}

func (*QueryCloseEstimationRequest) Descriptor deprecated

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

Deprecated: Use QueryCloseEstimationRequest.ProtoReflect.Descriptor instead.

func (*QueryCloseEstimationRequest) GetAddress

func (x *QueryCloseEstimationRequest) GetAddress() string

func (*QueryCloseEstimationRequest) GetCloseAmount

func (x *QueryCloseEstimationRequest) GetCloseAmount() string

func (*QueryCloseEstimationRequest) GetPositionId

func (x *QueryCloseEstimationRequest) GetPositionId() uint64

func (*QueryCloseEstimationRequest) ProtoMessage

func (*QueryCloseEstimationRequest) ProtoMessage()

func (*QueryCloseEstimationRequest) ProtoReflect

func (*QueryCloseEstimationRequest) Reset

func (x *QueryCloseEstimationRequest) Reset()

func (*QueryCloseEstimationRequest) String

func (x *QueryCloseEstimationRequest) String() string

type QueryCloseEstimationResponse

type QueryCloseEstimationResponse struct {
	Position                      Position      `protobuf:"varint,1,opt,name=position,proto3,enum=elys.perpetual.Position" json:"position,omitempty"`
	PositionSize                  *v1beta1.Coin `protobuf:"bytes,2,opt,name=position_size,json=positionSize,proto3" json:"position_size,omitempty"`
	Liabilities                   *v1beta1.Coin `protobuf:"bytes,3,opt,name=liabilities,proto3" json:"liabilities,omitempty"`
	PriceImpact                   string        `protobuf:"bytes,4,opt,name=price_impact,json=priceImpact,proto3" json:"price_impact,omitempty"`
	LiquidationPrice              string        `protobuf:"bytes,5,opt,name=liquidation_price,json=liquidationPrice,proto3" json:"liquidation_price,omitempty"`
	MaxCloseAmount                string        `protobuf:"bytes,6,opt,name=max_close_amount,json=maxCloseAmount,proto3" json:"max_close_amount,omitempty"`
	BorrowInterestUnpaidLiability *v1beta1.Coin `` /* 152-byte string literal not displayed */
	ReturningAmount               *v1beta1.Coin `protobuf:"bytes,8,opt,name=returning_amount,json=returningAmount,proto3" json:"returning_amount,omitempty"`
	PayingLiabilities             *v1beta1.Coin `protobuf:"bytes,9,opt,name=paying_liabilities,json=payingLiabilities,proto3" json:"paying_liabilities,omitempty"`
	ClosingPrice                  string        `protobuf:"bytes,10,opt,name=closing_price,json=closingPrice,proto3" json:"closing_price,omitempty"`
	Custody                       *v1beta1.Coin `protobuf:"bytes,11,opt,name=custody,proto3" json:"custody,omitempty"`
	Collateral                    *v1beta1.Coin `protobuf:"bytes,12,opt,name=collateral,proto3" json:"collateral,omitempty"`
	WeightBreakingFee             string        `protobuf:"bytes,13,opt,name=weight_breaking_fee,json=weightBreakingFee,proto3" json:"weight_breaking_fee,omitempty"`
	Slippage                      string        `protobuf:"bytes,14,opt,name=slippage,proto3" json:"slippage,omitempty"`
	// contains filtered or unexported fields
}

func (*QueryCloseEstimationResponse) Descriptor deprecated

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

Deprecated: Use QueryCloseEstimationResponse.ProtoReflect.Descriptor instead.

func (*QueryCloseEstimationResponse) GetBorrowInterestUnpaidLiability

func (x *QueryCloseEstimationResponse) GetBorrowInterestUnpaidLiability() *v1beta1.Coin

func (*QueryCloseEstimationResponse) GetClosingPrice

func (x *QueryCloseEstimationResponse) GetClosingPrice() string

func (*QueryCloseEstimationResponse) GetCollateral

func (x *QueryCloseEstimationResponse) GetCollateral() *v1beta1.Coin

func (*QueryCloseEstimationResponse) GetCustody

func (x *QueryCloseEstimationResponse) GetCustody() *v1beta1.Coin

func (*QueryCloseEstimationResponse) GetLiabilities

func (x *QueryCloseEstimationResponse) GetLiabilities() *v1beta1.Coin

func (*QueryCloseEstimationResponse) GetLiquidationPrice

func (x *QueryCloseEstimationResponse) GetLiquidationPrice() string

func (*QueryCloseEstimationResponse) GetMaxCloseAmount

func (x *QueryCloseEstimationResponse) GetMaxCloseAmount() string

func (*QueryCloseEstimationResponse) GetPayingLiabilities

func (x *QueryCloseEstimationResponse) GetPayingLiabilities() *v1beta1.Coin

func (*QueryCloseEstimationResponse) GetPosition

func (x *QueryCloseEstimationResponse) GetPosition() Position

func (*QueryCloseEstimationResponse) GetPositionSize

func (x *QueryCloseEstimationResponse) GetPositionSize() *v1beta1.Coin

func (*QueryCloseEstimationResponse) GetPriceImpact

func (x *QueryCloseEstimationResponse) GetPriceImpact() string

func (*QueryCloseEstimationResponse) GetReturningAmount

func (x *QueryCloseEstimationResponse) GetReturningAmount() *v1beta1.Coin

func (*QueryCloseEstimationResponse) GetSlippage

func (x *QueryCloseEstimationResponse) GetSlippage() string

func (*QueryCloseEstimationResponse) GetWeightBreakingFee

func (x *QueryCloseEstimationResponse) GetWeightBreakingFee() string

func (*QueryCloseEstimationResponse) ProtoMessage

func (*QueryCloseEstimationResponse) ProtoMessage()

func (*QueryCloseEstimationResponse) ProtoReflect

func (*QueryCloseEstimationResponse) Reset

func (x *QueryCloseEstimationResponse) Reset()

func (*QueryCloseEstimationResponse) String

type QueryGetPoolRequest

type QueryGetPoolRequest struct {
	Index uint64 `protobuf:"varint,1,opt,name=index,proto3" json:"index,omitempty"`
	// contains filtered or unexported fields
}

func (*QueryGetPoolRequest) Descriptor deprecated

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

Deprecated: Use QueryGetPoolRequest.ProtoReflect.Descriptor instead.

func (*QueryGetPoolRequest) GetIndex

func (x *QueryGetPoolRequest) GetIndex() uint64

func (*QueryGetPoolRequest) ProtoMessage

func (*QueryGetPoolRequest) ProtoMessage()

func (*QueryGetPoolRequest) ProtoReflect

func (x *QueryGetPoolRequest) ProtoReflect() protoreflect.Message

func (*QueryGetPoolRequest) Reset

func (x *QueryGetPoolRequest) Reset()

func (*QueryGetPoolRequest) String

func (x *QueryGetPoolRequest) String() string

type QueryGetPoolResponse

type QueryGetPoolResponse struct {
	Pool *PoolResponse `protobuf:"bytes,1,opt,name=pool,proto3" json:"pool,omitempty"`
	// contains filtered or unexported fields
}

func (*QueryGetPoolResponse) Descriptor deprecated

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

Deprecated: Use QueryGetPoolResponse.ProtoReflect.Descriptor instead.

func (*QueryGetPoolResponse) GetPool

func (x *QueryGetPoolResponse) GetPool() *PoolResponse

func (*QueryGetPoolResponse) ProtoMessage

func (*QueryGetPoolResponse) ProtoMessage()

func (*QueryGetPoolResponse) ProtoReflect

func (x *QueryGetPoolResponse) ProtoReflect() protoreflect.Message

func (*QueryGetPoolResponse) Reset

func (x *QueryGetPoolResponse) Reset()

func (*QueryGetPoolResponse) String

func (x *QueryGetPoolResponse) String() string

type QueryOpenEstimationRequest

type QueryOpenEstimationRequest struct {
	Position        Position      `protobuf:"varint,1,opt,name=position,proto3,enum=elys.perpetual.Position" json:"position,omitempty"`
	Leverage        string        `protobuf:"bytes,2,opt,name=leverage,proto3" json:"leverage,omitempty"`
	TradingAsset    string        `protobuf:"bytes,3,opt,name=trading_asset,json=tradingAsset,proto3" json:"trading_asset,omitempty"`
	Collateral      *v1beta1.Coin `protobuf:"bytes,4,opt,name=collateral,proto3" json:"collateral,omitempty"`
	Address         string        `protobuf:"bytes,5,opt,name=address,proto3" json:"address,omitempty"`
	TakeProfitPrice string        `protobuf:"bytes,6,opt,name=take_profit_price,json=takeProfitPrice,proto3" json:"take_profit_price,omitempty"`
	PoolId          uint64        `protobuf:"varint,7,opt,name=poolId,proto3" json:"poolId,omitempty"`
	LimitPrice      string        `protobuf:"bytes,8,opt,name=limit_price,json=limitPrice,proto3" json:"limit_price,omitempty"`
	// contains filtered or unexported fields
}

func (*QueryOpenEstimationRequest) Descriptor deprecated

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

Deprecated: Use QueryOpenEstimationRequest.ProtoReflect.Descriptor instead.

func (*QueryOpenEstimationRequest) GetAddress

func (x *QueryOpenEstimationRequest) GetAddress() string

func (*QueryOpenEstimationRequest) GetCollateral

func (x *QueryOpenEstimationRequest) GetCollateral() *v1beta1.Coin

func (*QueryOpenEstimationRequest) GetLeverage

func (x *QueryOpenEstimationRequest) GetLeverage() string

func (*QueryOpenEstimationRequest) GetLimitPrice

func (x *QueryOpenEstimationRequest) GetLimitPrice() string

func (*QueryOpenEstimationRequest) GetPoolId

func (x *QueryOpenEstimationRequest) GetPoolId() uint64

func (*QueryOpenEstimationRequest) GetPosition

func (x *QueryOpenEstimationRequest) GetPosition() Position

func (*QueryOpenEstimationRequest) GetTakeProfitPrice

func (x *QueryOpenEstimationRequest) GetTakeProfitPrice() string

func (*QueryOpenEstimationRequest) GetTradingAsset

func (x *QueryOpenEstimationRequest) GetTradingAsset() string

func (*QueryOpenEstimationRequest) ProtoMessage

func (*QueryOpenEstimationRequest) ProtoMessage()

func (*QueryOpenEstimationRequest) ProtoReflect

func (*QueryOpenEstimationRequest) Reset

func (x *QueryOpenEstimationRequest) Reset()

func (*QueryOpenEstimationRequest) String

func (x *QueryOpenEstimationRequest) String() string

type QueryOpenEstimationResponse

type QueryOpenEstimationResponse struct {
	Position           Position      `protobuf:"varint,1,opt,name=position,proto3,enum=elys.perpetual.Position" json:"position,omitempty"`
	EffectiveLeverage  string        `protobuf:"bytes,2,opt,name=effective_leverage,json=effectiveLeverage,proto3" json:"effective_leverage,omitempty"`
	TradingAsset       string        `protobuf:"bytes,3,opt,name=trading_asset,json=tradingAsset,proto3" json:"trading_asset,omitempty"`
	Collateral         *v1beta1.Coin `protobuf:"bytes,4,opt,name=collateral,proto3" json:"collateral,omitempty"`
	HourlyInterestRate string        `protobuf:"bytes,5,opt,name=hourly_interest_rate,json=hourlyInterestRate,proto3" json:"hourly_interest_rate,omitempty"`
	PositionSize       *v1beta1.Coin `protobuf:"bytes,6,opt,name=position_size,json=positionSize,proto3" json:"position_size,omitempty"`
	OpenPrice          string        `protobuf:"bytes,7,opt,name=open_price,json=openPrice,proto3" json:"open_price,omitempty"`
	TakeProfitPrice    string        `protobuf:"bytes,8,opt,name=take_profit_price,json=takeProfitPrice,proto3" json:"take_profit_price,omitempty"`
	LiquidationPrice   string        `protobuf:"bytes,9,opt,name=liquidation_price,json=liquidationPrice,proto3" json:"liquidation_price,omitempty"`
	EstimatedPnl       *v1beta1.Coin `protobuf:"bytes,10,opt,name=estimated_pnl,json=estimatedPnl,proto3" json:"estimated_pnl,omitempty"`
	AvailableLiquidity *v1beta1.Coin `protobuf:"bytes,11,opt,name=available_liquidity,json=availableLiquidity,proto3" json:"available_liquidity,omitempty"`
	Slippage           string        `protobuf:"bytes,12,opt,name=slippage,proto3" json:"slippage,omitempty"`
	BorrowInterestRate string        `protobuf:"bytes,13,opt,name=borrow_interest_rate,json=borrowInterestRate,proto3" json:"borrow_interest_rate,omitempty"`
	FundingRate        string        `protobuf:"bytes,14,opt,name=funding_rate,json=fundingRate,proto3" json:"funding_rate,omitempty"`
	PriceImpact        string        `protobuf:"bytes,15,opt,name=price_impact,json=priceImpact,proto3" json:"price_impact,omitempty"`
	Custody            *v1beta1.Coin `protobuf:"bytes,16,opt,name=custody,proto3" json:"custody,omitempty"`
	Liabilities        *v1beta1.Coin `protobuf:"bytes,17,opt,name=liabilities,proto3" json:"liabilities,omitempty"`
	LimitPrice         string        `protobuf:"bytes,18,opt,name=limit_price,json=limitPrice,proto3" json:"limit_price,omitempty"`
	WeightBreakingFee  string        `protobuf:"bytes,19,opt,name=weight_breaking_fee,json=weightBreakingFee,proto3" json:"weight_breaking_fee,omitempty"`
	// contains filtered or unexported fields
}

func (*QueryOpenEstimationResponse) Descriptor deprecated

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

Deprecated: Use QueryOpenEstimationResponse.ProtoReflect.Descriptor instead.

func (*QueryOpenEstimationResponse) GetAvailableLiquidity

func (x *QueryOpenEstimationResponse) GetAvailableLiquidity() *v1beta1.Coin

func (*QueryOpenEstimationResponse) GetBorrowInterestRate

func (x *QueryOpenEstimationResponse) GetBorrowInterestRate() string

func (*QueryOpenEstimationResponse) GetCollateral

func (x *QueryOpenEstimationResponse) GetCollateral() *v1beta1.Coin

func (*QueryOpenEstimationResponse) GetCustody

func (x *QueryOpenEstimationResponse) GetCustody() *v1beta1.Coin

func (*QueryOpenEstimationResponse) GetEffectiveLeverage

func (x *QueryOpenEstimationResponse) GetEffectiveLeverage() string

func (*QueryOpenEstimationResponse) GetEstimatedPnl

func (x *QueryOpenEstimationResponse) GetEstimatedPnl() *v1beta1.Coin

func (*QueryOpenEstimationResponse) GetFundingRate

func (x *QueryOpenEstimationResponse) GetFundingRate() string

func (*QueryOpenEstimationResponse) GetHourlyInterestRate

func (x *QueryOpenEstimationResponse) GetHourlyInterestRate() string

func (*QueryOpenEstimationResponse) GetLiabilities

func (x *QueryOpenEstimationResponse) GetLiabilities() *v1beta1.Coin

func (*QueryOpenEstimationResponse) GetLimitPrice

func (x *QueryOpenEstimationResponse) GetLimitPrice() string

func (*QueryOpenEstimationResponse) GetLiquidationPrice

func (x *QueryOpenEstimationResponse) GetLiquidationPrice() string

func (*QueryOpenEstimationResponse) GetOpenPrice

func (x *QueryOpenEstimationResponse) GetOpenPrice() string

func (*QueryOpenEstimationResponse) GetPosition

func (x *QueryOpenEstimationResponse) GetPosition() Position

func (*QueryOpenEstimationResponse) GetPositionSize

func (x *QueryOpenEstimationResponse) GetPositionSize() *v1beta1.Coin

func (*QueryOpenEstimationResponse) GetPriceImpact

func (x *QueryOpenEstimationResponse) GetPriceImpact() string

func (*QueryOpenEstimationResponse) GetSlippage

func (x *QueryOpenEstimationResponse) GetSlippage() string

func (*QueryOpenEstimationResponse) GetTakeProfitPrice

func (x *QueryOpenEstimationResponse) GetTakeProfitPrice() string

func (*QueryOpenEstimationResponse) GetTradingAsset

func (x *QueryOpenEstimationResponse) GetTradingAsset() string

func (*QueryOpenEstimationResponse) GetWeightBreakingFee

func (x *QueryOpenEstimationResponse) GetWeightBreakingFee() string

func (*QueryOpenEstimationResponse) ProtoMessage

func (*QueryOpenEstimationResponse) ProtoMessage()

func (*QueryOpenEstimationResponse) ProtoReflect

func (*QueryOpenEstimationResponse) Reset

func (x *QueryOpenEstimationResponse) Reset()

func (*QueryOpenEstimationResponse) String

func (x *QueryOpenEstimationResponse) String() string

type QueryServer

type QueryServer interface {
	// Parameters queries the parameters of the module.
	Params(context.Context, *ParamsRequest) (*ParamsResponse, error)
	// Queries a list of positions.
	GetPositions(context.Context, *PositionsRequest) (*PositionsResponse, error)
	// Queries a list of mtp positions by pool.
	GetPositionsByPool(context.Context, *PositionsByPoolRequest) (*PositionsByPoolResponse, error)
	// Retuns the total number of open and lifetime mtps.
	GetStatus(context.Context, *StatusRequest) (*StatusResponse, error)
	// Queries a list of mtp positions for a given address.
	GetPositionsForAddress(context.Context, *PositionsForAddressRequest) (*PositionsForAddressResponse, error)
	// Queries a list of whitelisted addresses.
	GetWhitelist(context.Context, *WhitelistRequest) (*WhitelistResponse, error)
	// Is an address whitelisted?
	IsWhitelisted(context.Context, *IsWhitelistedRequest) (*IsWhitelistedResponse, error)
	// Queries a single pool given its index.
	Pool(context.Context, *QueryGetPoolRequest) (*QueryGetPoolResponse, error)
	// Queries a list of all pools.
	Pools(context.Context, *QueryAllPoolRequest) (*QueryAllPoolResponse, error)
	// Queries a single mtp position given its address and id.
	MTP(context.Context, *MTPRequest) (*MTPResponse, error)
	// Queries an estimation of a new open position details.
	OpenEstimation(context.Context, *QueryOpenEstimationRequest) (*QueryOpenEstimationResponse, error)
	// Queries a list of CloseEstimation items.
	CloseEstimation(context.Context, *QueryCloseEstimationRequest) (*QueryCloseEstimationResponse, error)
	// contains filtered or unexported methods
}

QueryServer is the server API for Query service. All implementations must embed UnimplementedQueryServer for forward compatibility

type StatusRequest

type StatusRequest struct {
	// contains filtered or unexported fields
}

func (*StatusRequest) Descriptor deprecated

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

Deprecated: Use StatusRequest.ProtoReflect.Descriptor instead.

func (*StatusRequest) ProtoMessage

func (*StatusRequest) ProtoMessage()

func (*StatusRequest) ProtoReflect

func (x *StatusRequest) ProtoReflect() protoreflect.Message

func (*StatusRequest) Reset

func (x *StatusRequest) Reset()

func (*StatusRequest) String

func (x *StatusRequest) String() string

type StatusResponse

type StatusResponse struct {
	OpenMtpCount     uint64 `protobuf:"varint,1,opt,name=open_mtp_count,json=openMtpCount,proto3" json:"open_mtp_count,omitempty"`
	LifetimeMtpCount uint64 `protobuf:"varint,2,opt,name=lifetime_mtp_count,json=lifetimeMtpCount,proto3" json:"lifetime_mtp_count,omitempty"`
	// contains filtered or unexported fields
}

func (*StatusResponse) Descriptor deprecated

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

Deprecated: Use StatusResponse.ProtoReflect.Descriptor instead.

func (*StatusResponse) GetLifetimeMtpCount

func (x *StatusResponse) GetLifetimeMtpCount() uint64

func (*StatusResponse) GetOpenMtpCount

func (x *StatusResponse) GetOpenMtpCount() uint64

func (*StatusResponse) ProtoMessage

func (*StatusResponse) ProtoMessage()

func (*StatusResponse) ProtoReflect

func (x *StatusResponse) ProtoReflect() protoreflect.Message

func (*StatusResponse) Reset

func (x *StatusResponse) Reset()

func (*StatusResponse) String

func (x *StatusResponse) String() string

type UnimplementedMsgServer

type UnimplementedMsgServer struct {
}

UnimplementedMsgServer must be embedded to have forward compatible implementations.

func (UnimplementedMsgServer) Close

func (UnimplementedMsgServer) ClosePositions

func (UnimplementedMsgServer) Dewhitelist

func (UnimplementedMsgServer) Open

func (UnimplementedMsgServer) UpdateParams

func (UnimplementedMsgServer) UpdateStopLoss

func (UnimplementedMsgServer) Whitelist

type UnimplementedQueryServer

type UnimplementedQueryServer struct {
}

UnimplementedQueryServer must be embedded to have forward compatible implementations.

func (UnimplementedQueryServer) GetPositions

func (UnimplementedQueryServer) GetPositionsByPool

func (UnimplementedQueryServer) GetStatus

func (UnimplementedQueryServer) GetWhitelist

func (UnimplementedQueryServer) IsWhitelisted

func (UnimplementedQueryServer) MTP

func (UnimplementedQueryServer) Params

func (UnimplementedQueryServer) Pool

func (UnimplementedQueryServer) Pools

type UnsafeMsgServer

type UnsafeMsgServer interface {
	// contains filtered or unexported methods
}

UnsafeMsgServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to MsgServer will result in compilation errors.

type UnsafeQueryServer

type UnsafeQueryServer interface {
	// contains filtered or unexported methods
}

UnsafeQueryServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to QueryServer will result in compilation errors.

type WhiteList

type WhiteList struct {
	ValidatorList []string `protobuf:"bytes,1,rep,name=validator_list,json=validatorList,proto3" json:"validator_list,omitempty"`
	// contains filtered or unexported fields
}

func (*WhiteList) Descriptor deprecated

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

Deprecated: Use WhiteList.ProtoReflect.Descriptor instead.

func (*WhiteList) GetValidatorList

func (x *WhiteList) GetValidatorList() []string

func (*WhiteList) ProtoMessage

func (*WhiteList) ProtoMessage()

func (*WhiteList) ProtoReflect

func (x *WhiteList) ProtoReflect() protoreflect.Message

func (*WhiteList) Reset

func (x *WhiteList) Reset()

func (*WhiteList) String

func (x *WhiteList) String() string

type WhitelistRequest

type WhitelistRequest struct {
	Pagination *v1beta11.PageRequest `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"`
	// contains filtered or unexported fields
}

func (*WhitelistRequest) Descriptor deprecated

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

Deprecated: Use WhitelistRequest.ProtoReflect.Descriptor instead.

func (*WhitelistRequest) GetPagination

func (x *WhitelistRequest) GetPagination() *v1beta11.PageRequest

func (*WhitelistRequest) ProtoMessage

func (*WhitelistRequest) ProtoMessage()

func (*WhitelistRequest) ProtoReflect

func (x *WhitelistRequest) ProtoReflect() protoreflect.Message

func (*WhitelistRequest) Reset

func (x *WhitelistRequest) Reset()

func (*WhitelistRequest) String

func (x *WhitelistRequest) String() string

type WhitelistResponse

type WhitelistResponse struct {
	Whitelist  []string               `protobuf:"bytes,1,rep,name=whitelist,proto3" json:"whitelist,omitempty"`
	Pagination *v1beta11.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
	// contains filtered or unexported fields
}

func (*WhitelistResponse) Descriptor deprecated

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

Deprecated: Use WhitelistResponse.ProtoReflect.Descriptor instead.

func (*WhitelistResponse) GetPagination

func (x *WhitelistResponse) GetPagination() *v1beta11.PageResponse

func (*WhitelistResponse) GetWhitelist

func (x *WhitelistResponse) GetWhitelist() []string

func (*WhitelistResponse) ProtoMessage

func (*WhitelistResponse) ProtoMessage()

func (*WhitelistResponse) ProtoReflect

func (x *WhitelistResponse) ProtoReflect() protoreflect.Message

func (*WhitelistResponse) Reset

func (x *WhitelistResponse) Reset()

func (*WhitelistResponse) String

func (x *WhitelistResponse) String() string

Jump to

Keyboard shortcuts

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