Documentation ¶
Overview ¶
Package types is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Index ¶
- Constants
- Variables
- func AccAddressesToString(addresses []sdk.AccAddress) (result string)
- func AdjustFees(fees sdk.Coins, maxFees sdk.Coins) sdk.Coins
- func ApproxPower(d sdk.Dec, power sdk.Dec) (guess sdk.Dec, err error)
- func ApproxRoot(d sdk.Dec, root sdk.Dec) (guess sdk.Dec, err error)
- func CheckCoinDenom(denom string) (err error)
- func CheckNoOfReserveTokens(resTokens []string, fnType string) error
- func CheckReserveTokenNames(resTokens []string, token string) error
- func ConvertFloat64ToDec(f float64) (sdk.Dec, error)
- func DivideDecCoinByDec(dc sdk.DecCoin, scale sdk.Dec) sdk.DecCoin
- func DivideDecCoinsByDec(dcs sdk.DecCoins, scale sdk.Dec) (scaled sdk.DecCoins)
- func GetBatchKey(bondDid didexported.Did) []byte
- func GetBondDidsKey(token string) []byte
- func GetBondKey(bondDid didexported.Did) []byte
- func GetLastBatchKey(bondDid didexported.Did) []byte
- func GetRequiredParamsForFunctionType(fnType string) (fnParams []string, err error)
- func Invariant(R, S sdk.Dec, kappa sdk.Dec) (sdk.Dec, error)
- func InvariantI(C sdk.Int, alpha sdk.Dec, R sdk.Int) sdk.Dec
- func InvariantIAlt(C sdk.Int, alpha sdk.Dec, kappa sdk.Dec) sdk.Dec
- func Kappa(I sdk.Dec, C sdk.Int, alpha sdk.Dec) sdk.Dec
- func MultiplyDecCoinByDec(dc sdk.DecCoin, scale sdk.Dec) sdk.DecCoin
- func MultiplyDecCoinByInt(dc sdk.DecCoin, scale sdk.Int) sdk.DecCoin
- func MultiplyDecCoinsByDec(dcs sdk.DecCoins, scale sdk.Dec) (scaled sdk.DecCoins)
- func MultiplyDecCoinsByInt(dcs sdk.DecCoins, scale sdk.Int) (scaled sdk.DecCoins)
- func ParamKeyTable() paramstypes.KeyTable
- func RegisterInterfaces(registry types.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 Reserve(S sdk.Dec, kappa sdk.Dec, V0 sdk.Dec) (sdk.Dec, error)
- func RoundFee(f sdk.DecCoin) sdk.Coin
- func RoundReservePrice(p sdk.DecCoin) sdk.Coin
- func RoundReservePrices(ps sdk.DecCoins) (rounded sdk.Coins)
- func RoundReserveReturn(r sdk.DecCoin) sdk.Coin
- func RoundReserveReturns(rs sdk.DecCoins) (rounded sdk.Coins)
- func SpotPrice(R sdk.Dec, kappa sdk.Dec, V0 sdk.Dec) (sdk.Dec, error)
- func StringsToString(strs []string) (result string)
- func SystemAlpha(publicAlpha sdk.Dec, S0, S1, R, C sdk.Int) sdk.Dec
- func ValidateGenesis(data *GenesisState) error
- func ValidateParams(params Params) error
- type AugmentedBondRevision1
- func (algo *AugmentedBondRevision1) CalculatePriceForTokens(price sdk.Coin) (sdk.DecCoin, error)
- func (algo *AugmentedBondRevision1) CalculateTokensForPrice(price sdk.Coin) (sdk.DecCoin, error)
- func (algo *AugmentedBondRevision1) ExportToBond(bond *Bond) error
- func (algo *AugmentedBondRevision1) ExportToMap() map[string]float64
- func (algo *AugmentedBondRevision1) Init(bond Bond) error
- func (algo *AugmentedBondRevision1) Revision() int64
- func (algo *AugmentedBondRevision1) UpdateAlpha(_ap, _delta float64) error
- type BaseOrder
- func (*BaseOrder) Descriptor() ([]byte, []int)
- func (m *BaseOrder) GetAccountDid() github_com_ixofoundation_ixo_blockchain_x_iid_types.DIDFragment
- func (m *BaseOrder) GetAmount() types.Coin
- func (m *BaseOrder) GetCancelReason() string
- func (m *BaseOrder) GetCancelled() bool
- func (bo BaseOrder) IsCancelled() bool
- func (m *BaseOrder) Marshal() (dAtA []byte, err error)
- func (m *BaseOrder) MarshalTo(dAtA []byte) (int, error)
- func (m *BaseOrder) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*BaseOrder) ProtoMessage()
- func (m *BaseOrder) Reset()
- func (m *BaseOrder) Size() (n int)
- func (m *BaseOrder) String() string
- func (m *BaseOrder) Unmarshal(dAtA []byte) error
- func (m *BaseOrder) XXX_DiscardUnknown()
- func (m *BaseOrder) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *BaseOrder) XXX_Merge(src proto.Message)
- func (m *BaseOrder) XXX_Size() int
- func (m *BaseOrder) XXX_Unmarshal(b []byte) error
- type Batch
- func (*Batch) Descriptor() ([]byte, []int)
- func (b Batch) Empty() bool
- func (b Batch) EqualBuysAndSells() bool
- func (m *Batch) GetBondDid() string
- func (m *Batch) GetBuyPrices() github_com_cosmos_cosmos_sdk_types.DecCoins
- func (m *Batch) GetBuys() []BuyOrder
- func (m *Batch) GetSellPrices() github_com_cosmos_cosmos_sdk_types.DecCoins
- func (m *Batch) GetSells() []SellOrder
- func (m *Batch) GetSwaps() []SwapOrder
- func (m *Batch) GetTotalBuyAmount() types.Coin
- func (m *Batch) GetTotalSellAmount() types.Coin
- func (b Batch) HasNextAlpha() bool
- func (m *Batch) Marshal() (dAtA []byte, err error)
- func (m *Batch) MarshalTo(dAtA []byte) (int, error)
- func (m *Batch) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (b Batch) MoreBuysThanSells() bool
- func (b Batch) MoreSellsThanBuys() bool
- func (*Batch) ProtoMessage()
- func (m *Batch) Reset()
- func (m *Batch) Size() (n int)
- func (m *Batch) String() string
- func (m *Batch) Unmarshal(dAtA []byte) error
- func (m *Batch) XXX_DiscardUnknown()
- func (m *Batch) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Batch) XXX_Merge(src proto.Message)
- func (m *Batch) XXX_Size() int
- func (m *Batch) XXX_Unmarshal(b []byte) error
- type Bond
- func (bond Bond) AnyOrderQuantityLimitsExceeded(amounts sdk.Coins) bool
- func (*Bond) Descriptor() ([]byte, []int)
- func (m *Bond) GetAllowReserveWithdrawals() bool
- func (m *Bond) GetAllowSells() bool
- func (m *Bond) GetAlphaBond() bool
- func (m *Bond) GetAvailableReserve() github_com_cosmos_cosmos_sdk_types.Coins
- func (m *Bond) GetBondDid() string
- func (m *Bond) GetControllerDid() github_com_ixofoundation_ixo_blockchain_x_iid_types.DIDFragment
- func (m *Bond) GetCreatorDid() github_com_ixofoundation_ixo_blockchain_x_iid_types.DIDFragment
- func (m *Bond) GetCurrentOutcomePaymentReserve() github_com_cosmos_cosmos_sdk_types.Coins
- func (bond Bond) GetCurrentPricesPT(reserveBalances sdk.Coins) (sdk.DecCoins, error)
- func (m *Bond) GetCurrentReserve() github_com_cosmos_cosmos_sdk_types.Coins
- func (m *Bond) GetCurrentSupply() types.Coin
- func (m *Bond) GetDescription() string
- func (bond Bond) GetExitFee(reserveAmount sdk.DecCoin) sdk.Coin
- func (bond Bond) GetExitFees(reserveAmounts sdk.DecCoins) (fees sdk.Coins)
- func (bond Bond) GetFee(reserveAmount sdk.DecCoin, percentage sdk.Dec) sdk.Coin
- func (m *Bond) GetFeeAddress() string
- func (bond Bond) GetFees(reserveAmounts sdk.DecCoins, percentage sdk.Dec) (fees sdk.Coins)
- func (m *Bond) GetFunctionParameters() FunctionParams
- func (m *Bond) GetFunctionType() string
- func (m *Bond) GetMaxSupply() types.Coin
- func (m *Bond) GetName() string
- func (bond Bond) GetNewReserveCoins(amount sdk.Int) (coins sdk.Coins)
- func (bond Bond) GetNewReserveDecCoins(amount sdk.Dec) (coins sdk.DecCoins)
- func (m *Bond) GetOracleDid() github_com_ixofoundation_ixo_blockchain_x_iid_types.DIDFragment
- func (m *Bond) GetOrderQuantityLimits() github_com_cosmos_cosmos_sdk_types.Coins
- func (bond Bond) GetPricesAtSupply(supply sdk.Int) (result sdk.DecCoins, err error)
- func (bond Bond) GetPricesToMint(mint sdk.Int, reserveBalances sdk.Coins) (sdk.DecCoins, error)
- func (bond Bond) GetReserveDeltaForLiquidityDelta(mintOrBurn sdk.Int, reserveBalances sdk.Coins) sdk.DecCoins
- func (m *Bond) GetReserveTokens() []string
- func (m *Bond) GetReserveWithdrawalAddress() string
- func (bond Bond) GetReturnsForBurn(burn sdk.Int, reserveBalances sdk.Coins) (sdk.DecCoins, error)
- func (bond Bond) GetReturnsForSwap(from sdk.Coin, toToken string, reserveBalances sdk.Coins) (returns sdk.Coins, txFee sdk.Coin, err error)
- func (m *Bond) GetState() string
- func (m *Bond) GetToken() string
- func (bond Bond) GetTxFee(reserveAmount sdk.DecCoin) sdk.Coin
- func (bond Bond) GetTxFees(reserveAmounts sdk.DecCoins) (fees sdk.Coins)
- func (m *Bond) Marshal() (dAtA []byte, err error)
- func (m *Bond) MarshalTo(dAtA []byte) (int, error)
- func (m *Bond) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Bond) ProtoMessage()
- func (bond Bond) ReserveAtSupply(supply sdk.Int) (result sdk.Dec, err error)
- func (bond Bond) ReserveDenomsEqualTo(coins sdk.Coins) bool
- func (bond Bond) ReservesViolateSanityRate(newReserves sdk.Coins) bool
- func (m *Bond) Reset()
- func (m *Bond) Size() (n int)
- func (m *Bond) String() string
- func (m *Bond) Unmarshal(dAtA []byte) error
- func (m *Bond) XXX_DiscardUnknown()
- func (m *Bond) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Bond) XXX_Merge(src proto.Message)
- func (m *Bond) XXX_Size() int
- func (m *Bond) XXX_Unmarshal(b []byte) error
- type BondDetails
- func (*BondDetails) Descriptor() ([]byte, []int)
- func (m *BondDetails) GetBondDid() string
- func (m *BondDetails) GetReserve() github_com_cosmos_cosmos_sdk_types.Coins
- func (m *BondDetails) GetSpotPrice() github_com_cosmos_cosmos_sdk_types.DecCoins
- func (m *BondDetails) GetSupply() types.Coin
- func (m *BondDetails) Marshal() (dAtA []byte, err error)
- func (m *BondDetails) MarshalTo(dAtA []byte) (int, error)
- func (m *BondDetails) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*BondDetails) ProtoMessage()
- func (m *BondDetails) Reset()
- func (m *BondDetails) Size() (n int)
- func (m *BondDetails) String() string
- func (m *BondDetails) Unmarshal(dAtA []byte) error
- func (m *BondDetails) XXX_DiscardUnknown()
- func (m *BondDetails) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *BondDetails) XXX_Merge(src proto.Message)
- func (m *BondDetails) XXX_Size() int
- func (m *BondDetails) XXX_Unmarshal(b []byte) error
- type BondState
- type BondStateTransitionMap
- type BondingAlgorithm
- type BuyOrder
- func (*BuyOrder) Descriptor() ([]byte, []int)
- func (m *BuyOrder) GetBaseOrder() BaseOrder
- func (m *BuyOrder) GetMaxPrices() github_com_cosmos_cosmos_sdk_types.Coins
- func (m *BuyOrder) Marshal() (dAtA []byte, err error)
- func (m *BuyOrder) MarshalTo(dAtA []byte) (int, error)
- func (m *BuyOrder) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*BuyOrder) ProtoMessage()
- func (m *BuyOrder) Reset()
- func (m *BuyOrder) Size() (n int)
- func (m *BuyOrder) String() string
- func (m *BuyOrder) Unmarshal(dAtA []byte) error
- func (m *BuyOrder) XXX_DiscardUnknown()
- func (m *BuyOrder) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *BuyOrder) XXX_Merge(src proto.Message)
- func (m *BuyOrder) XXX_Size() int
- func (m *BuyOrder) XXX_Unmarshal(b []byte) error
- type Either
- func FromError[R any](r R, err error) Either[error, R]
- func Left[L any, R any](l L) Either[L, R]
- func LeftFlatMap[L any, R any, LL any](either Either[L, R], f func(l L) Either[LL, R]) Either[LL, R]
- func Right[L any, R any](r R) Either[L, R]
- func RightFlatMap[L any, R any, RR any](either Either[L, R], f func(r R) Either[L, RR]) Either[L, RR]
- type FunctionParam
- func (*FunctionParam) Descriptor() ([]byte, []int)
- func (m *FunctionParam) GetParam() string
- func (m *FunctionParam) Marshal() (dAtA []byte, err error)
- func (m *FunctionParam) MarshalTo(dAtA []byte) (int, error)
- func (m *FunctionParam) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*FunctionParam) ProtoMessage()
- func (m *FunctionParam) Reset()
- func (m *FunctionParam) Size() (n int)
- func (m *FunctionParam) String() string
- func (m *FunctionParam) Unmarshal(dAtA []byte) error
- func (m *FunctionParam) XXX_DiscardUnknown()
- func (m *FunctionParam) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *FunctionParam) XXX_Merge(src proto.Message)
- func (m *FunctionParam) XXX_Size() int
- func (m *FunctionParam) XXX_Unmarshal(b []byte) error
- type FunctionParamRestrictions
- type FunctionParams
- func (fps FunctionParams) AddParam(param string, value sdk.Dec) FunctionParams
- func (fps FunctionParams) AddParams(newFps FunctionParams) FunctionParams
- func (fps FunctionParams) AsMap() (paramsMap map[string]sdk.Dec)
- func (fps FunctionParams) ReplaceParam(param string, value sdk.Dec)
- func (fps FunctionParams) String() (result string)
- func (fps FunctionParams) Validate(functionType string) error
- type GenesisState
- func (*GenesisState) Descriptor() ([]byte, []int)
- func (m *GenesisState) GetBatches() []Batch
- func (m *GenesisState) GetBonds() []Bond
- 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 (*GenesisState) ProtoMessage()
- 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 IidKeeper
- type MsgBuy
- func (*MsgBuy) Descriptor() ([]byte, []int)
- func (m *MsgBuy) GetAmount() types.Coin
- func (m *MsgBuy) GetBondDid() string
- func (m *MsgBuy) GetBuyerAddress() string
- func (m *MsgBuy) GetBuyerDid() github_com_ixofoundation_ixo_blockchain_x_iid_types.DIDFragment
- func (msg MsgBuy) GetIidController() iidtypes.DIDFragment
- func (m *MsgBuy) GetMaxPrices() github_com_cosmos_cosmos_sdk_types.Coins
- func (msg MsgBuy) GetSignBytes() []byte
- func (msg MsgBuy) GetSigners() []sdk.AccAddress
- func (m *MsgBuy) Marshal() (dAtA []byte, err error)
- func (m *MsgBuy) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgBuy) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgBuy) ProtoMessage()
- func (m *MsgBuy) Reset()
- func (msg MsgBuy) Route() string
- func (m *MsgBuy) Size() (n int)
- func (m *MsgBuy) String() string
- func (msg MsgBuy) Type() string
- func (m *MsgBuy) Unmarshal(dAtA []byte) error
- func (msg MsgBuy) ValidateBasic() error
- func (m *MsgBuy) XXX_DiscardUnknown()
- func (m *MsgBuy) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgBuy) XXX_Merge(src proto.Message)
- func (m *MsgBuy) XXX_Size() int
- func (m *MsgBuy) XXX_Unmarshal(b []byte) error
- type MsgBuyResponse
- func (*MsgBuyResponse) Descriptor() ([]byte, []int)
- func (m *MsgBuyResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgBuyResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgBuyResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgBuyResponse) ProtoMessage()
- func (m *MsgBuyResponse) Reset()
- func (m *MsgBuyResponse) Size() (n int)
- func (m *MsgBuyResponse) String() string
- func (m *MsgBuyResponse) Unmarshal(dAtA []byte) error
- func (m *MsgBuyResponse) XXX_DiscardUnknown()
- func (m *MsgBuyResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgBuyResponse) XXX_Merge(src proto.Message)
- func (m *MsgBuyResponse) XXX_Size() int
- func (m *MsgBuyResponse) XXX_Unmarshal(b []byte) error
- type MsgClient
- type MsgCreateBond
- func (*MsgCreateBond) Descriptor() ([]byte, []int)
- func (m *MsgCreateBond) GetAllowReserveWithdrawals() bool
- func (m *MsgCreateBond) GetAllowSells() bool
- func (m *MsgCreateBond) GetAlphaBond() bool
- func (m *MsgCreateBond) GetBondDid() string
- func (m *MsgCreateBond) GetControllerDid() github_com_ixofoundation_ixo_blockchain_x_iid_types.DIDFragment
- func (m *MsgCreateBond) GetCreatorAddress() string
- func (m *MsgCreateBond) GetCreatorDid() github_com_ixofoundation_ixo_blockchain_x_iid_types.DIDFragment
- func (m *MsgCreateBond) GetDescription() string
- func (m *MsgCreateBond) GetFeeAddress() string
- func (m *MsgCreateBond) GetFunctionParameters() FunctionParams
- func (m *MsgCreateBond) GetFunctionType() string
- func (msg MsgCreateBond) GetIidController() iidtypes.DIDFragment
- func (m *MsgCreateBond) GetMaxSupply() types.Coin
- func (m *MsgCreateBond) GetName() string
- func (m *MsgCreateBond) GetOracleDid() github_com_ixofoundation_ixo_blockchain_x_iid_types.DIDFragment
- func (m *MsgCreateBond) GetOrderQuantityLimits() github_com_cosmos_cosmos_sdk_types.Coins
- func (m *MsgCreateBond) GetReserveTokens() []string
- func (m *MsgCreateBond) GetReserveWithdrawalAddress() string
- func (msg MsgCreateBond) GetSignBytes() []byte
- func (msg MsgCreateBond) GetSigners() []sdk.AccAddress
- func (m *MsgCreateBond) GetToken() string
- func (m *MsgCreateBond) Marshal() (dAtA []byte, err error)
- func (m *MsgCreateBond) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgCreateBond) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgCreateBond) ProtoMessage()
- func (m *MsgCreateBond) Reset()
- func (msg MsgCreateBond) Route() string
- func (m *MsgCreateBond) Size() (n int)
- func (m *MsgCreateBond) String() string
- func (msg MsgCreateBond) Type() string
- func (m *MsgCreateBond) Unmarshal(dAtA []byte) error
- func (msg MsgCreateBond) ValidateBasic() error
- func (m *MsgCreateBond) XXX_DiscardUnknown()
- func (m *MsgCreateBond) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgCreateBond) XXX_Merge(src proto.Message)
- func (m *MsgCreateBond) XXX_Size() int
- func (m *MsgCreateBond) XXX_Unmarshal(b []byte) error
- type MsgCreateBondResponse
- func (*MsgCreateBondResponse) Descriptor() ([]byte, []int)
- func (m *MsgCreateBondResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgCreateBondResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgCreateBondResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgCreateBondResponse) ProtoMessage()
- func (m *MsgCreateBondResponse) Reset()
- func (m *MsgCreateBondResponse) Size() (n int)
- func (m *MsgCreateBondResponse) String() string
- func (m *MsgCreateBondResponse) Unmarshal(dAtA []byte) error
- func (m *MsgCreateBondResponse) XXX_DiscardUnknown()
- func (m *MsgCreateBondResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgCreateBondResponse) XXX_Merge(src proto.Message)
- func (m *MsgCreateBondResponse) XXX_Size() int
- func (m *MsgCreateBondResponse) XXX_Unmarshal(b []byte) error
- type MsgEditBond
- func (*MsgEditBond) Descriptor() ([]byte, []int)
- func (m *MsgEditBond) GetBondDid() string
- func (m *MsgEditBond) GetDescription() string
- func (m *MsgEditBond) GetEditorAddress() string
- func (m *MsgEditBond) GetEditorDid() github_com_ixofoundation_ixo_blockchain_x_iid_types.DIDFragment
- func (msg MsgEditBond) GetIidController() iidtypes.DIDFragment
- func (m *MsgEditBond) GetName() string
- func (m *MsgEditBond) GetOrderQuantityLimits() string
- func (m *MsgEditBond) GetSanityMarginPercentage() string
- func (m *MsgEditBond) GetSanityRate() string
- func (msg MsgEditBond) GetSignBytes() []byte
- func (msg MsgEditBond) GetSigners() []sdk.AccAddress
- func (m *MsgEditBond) Marshal() (dAtA []byte, err error)
- func (m *MsgEditBond) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgEditBond) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgEditBond) ProtoMessage()
- func (m *MsgEditBond) Reset()
- func (msg MsgEditBond) Route() string
- func (m *MsgEditBond) Size() (n int)
- func (m *MsgEditBond) String() string
- func (msg MsgEditBond) Type() string
- func (m *MsgEditBond) Unmarshal(dAtA []byte) error
- func (msg MsgEditBond) ValidateBasic() error
- func (m *MsgEditBond) XXX_DiscardUnknown()
- func (m *MsgEditBond) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgEditBond) XXX_Merge(src proto.Message)
- func (m *MsgEditBond) XXX_Size() int
- func (m *MsgEditBond) XXX_Unmarshal(b []byte) error
- type MsgEditBondResponse
- func (*MsgEditBondResponse) Descriptor() ([]byte, []int)
- func (m *MsgEditBondResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgEditBondResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgEditBondResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgEditBondResponse) ProtoMessage()
- func (m *MsgEditBondResponse) Reset()
- func (m *MsgEditBondResponse) Size() (n int)
- func (m *MsgEditBondResponse) String() string
- func (m *MsgEditBondResponse) Unmarshal(dAtA []byte) error
- func (m *MsgEditBondResponse) XXX_DiscardUnknown()
- func (m *MsgEditBondResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgEditBondResponse) XXX_Merge(src proto.Message)
- func (m *MsgEditBondResponse) XXX_Size() int
- func (m *MsgEditBondResponse) XXX_Unmarshal(b []byte) error
- type MsgMakeOutcomePayment
- func (*MsgMakeOutcomePayment) Descriptor() ([]byte, []int)
- func (m *MsgMakeOutcomePayment) GetBondDid() string
- func (msg MsgMakeOutcomePayment) GetIidController() iidtypes.DIDFragment
- func (m *MsgMakeOutcomePayment) GetSenderAddress() string
- func (m *MsgMakeOutcomePayment) GetSenderDid() github_com_ixofoundation_ixo_blockchain_x_iid_types.DIDFragment
- func (msg MsgMakeOutcomePayment) GetSignBytes() []byte
- func (msg MsgMakeOutcomePayment) GetSigners() []sdk.AccAddress
- func (m *MsgMakeOutcomePayment) Marshal() (dAtA []byte, err error)
- func (m *MsgMakeOutcomePayment) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgMakeOutcomePayment) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgMakeOutcomePayment) ProtoMessage()
- func (m *MsgMakeOutcomePayment) Reset()
- func (msg MsgMakeOutcomePayment) Route() string
- func (m *MsgMakeOutcomePayment) Size() (n int)
- func (m *MsgMakeOutcomePayment) String() string
- func (msg MsgMakeOutcomePayment) Type() string
- func (m *MsgMakeOutcomePayment) Unmarshal(dAtA []byte) error
- func (msg MsgMakeOutcomePayment) ValidateBasic() error
- func (m *MsgMakeOutcomePayment) XXX_DiscardUnknown()
- func (m *MsgMakeOutcomePayment) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgMakeOutcomePayment) XXX_Merge(src proto.Message)
- func (m *MsgMakeOutcomePayment) XXX_Size() int
- func (m *MsgMakeOutcomePayment) XXX_Unmarshal(b []byte) error
- type MsgMakeOutcomePaymentResponse
- func (*MsgMakeOutcomePaymentResponse) Descriptor() ([]byte, []int)
- func (m *MsgMakeOutcomePaymentResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgMakeOutcomePaymentResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgMakeOutcomePaymentResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgMakeOutcomePaymentResponse) ProtoMessage()
- func (m *MsgMakeOutcomePaymentResponse) Reset()
- func (m *MsgMakeOutcomePaymentResponse) Size() (n int)
- func (m *MsgMakeOutcomePaymentResponse) String() string
- func (m *MsgMakeOutcomePaymentResponse) Unmarshal(dAtA []byte) error
- func (m *MsgMakeOutcomePaymentResponse) XXX_DiscardUnknown()
- func (m *MsgMakeOutcomePaymentResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgMakeOutcomePaymentResponse) XXX_Merge(src proto.Message)
- func (m *MsgMakeOutcomePaymentResponse) XXX_Size() int
- func (m *MsgMakeOutcomePaymentResponse) XXX_Unmarshal(b []byte) error
- type MsgSell
- func (*MsgSell) Descriptor() ([]byte, []int)
- func (m *MsgSell) GetAmount() types.Coin
- func (m *MsgSell) GetBondDid() string
- func (msg MsgSell) GetIidController() iidtypes.DIDFragment
- func (m *MsgSell) GetSellerAddress() string
- func (m *MsgSell) GetSellerDid() github_com_ixofoundation_ixo_blockchain_x_iid_types.DIDFragment
- func (msg MsgSell) GetSignBytes() []byte
- func (msg MsgSell) GetSigners() []sdk.AccAddress
- func (m *MsgSell) Marshal() (dAtA []byte, err error)
- func (m *MsgSell) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgSell) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgSell) ProtoMessage()
- func (m *MsgSell) Reset()
- func (msg MsgSell) Route() string
- func (m *MsgSell) Size() (n int)
- func (m *MsgSell) String() string
- func (msg MsgSell) Type() string
- func (m *MsgSell) Unmarshal(dAtA []byte) error
- func (msg MsgSell) ValidateBasic() error
- func (m *MsgSell) XXX_DiscardUnknown()
- func (m *MsgSell) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgSell) XXX_Merge(src proto.Message)
- func (m *MsgSell) XXX_Size() int
- func (m *MsgSell) XXX_Unmarshal(b []byte) error
- type MsgSellResponse
- func (*MsgSellResponse) Descriptor() ([]byte, []int)
- func (m *MsgSellResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgSellResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgSellResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgSellResponse) ProtoMessage()
- func (m *MsgSellResponse) Reset()
- func (m *MsgSellResponse) Size() (n int)
- func (m *MsgSellResponse) String() string
- func (m *MsgSellResponse) Unmarshal(dAtA []byte) error
- func (m *MsgSellResponse) XXX_DiscardUnknown()
- func (m *MsgSellResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgSellResponse) XXX_Merge(src proto.Message)
- func (m *MsgSellResponse) XXX_Size() int
- func (m *MsgSellResponse) XXX_Unmarshal(b []byte) error
- type MsgServer
- type MsgSetNextAlpha
- func (*MsgSetNextAlpha) Descriptor() ([]byte, []int)
- func (m *MsgSetNextAlpha) GetBondDid() string
- func (msg MsgSetNextAlpha) GetIidController() iidtypes.DIDFragment
- func (m *MsgSetNextAlpha) GetOracleAddress() string
- func (m *MsgSetNextAlpha) GetOracleDid() github_com_ixofoundation_ixo_blockchain_x_iid_types.DIDFragment
- func (msg MsgSetNextAlpha) GetSignBytes() []byte
- func (msg MsgSetNextAlpha) GetSigners() []sdk.AccAddress
- func (m *MsgSetNextAlpha) Marshal() (dAtA []byte, err error)
- func (m *MsgSetNextAlpha) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgSetNextAlpha) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgSetNextAlpha) ProtoMessage()
- func (m *MsgSetNextAlpha) Reset()
- func (msg MsgSetNextAlpha) Route() string
- func (m *MsgSetNextAlpha) Size() (n int)
- func (m *MsgSetNextAlpha) String() string
- func (msg MsgSetNextAlpha) Type() string
- func (m *MsgSetNextAlpha) Unmarshal(dAtA []byte) error
- func (msg MsgSetNextAlpha) ValidateBasic() error
- func (m *MsgSetNextAlpha) XXX_DiscardUnknown()
- func (m *MsgSetNextAlpha) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgSetNextAlpha) XXX_Merge(src proto.Message)
- func (m *MsgSetNextAlpha) XXX_Size() int
- func (m *MsgSetNextAlpha) XXX_Unmarshal(b []byte) error
- type MsgSetNextAlphaResponse
- func (*MsgSetNextAlphaResponse) Descriptor() ([]byte, []int)
- func (m *MsgSetNextAlphaResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgSetNextAlphaResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgSetNextAlphaResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgSetNextAlphaResponse) ProtoMessage()
- func (m *MsgSetNextAlphaResponse) Reset()
- func (m *MsgSetNextAlphaResponse) Size() (n int)
- func (m *MsgSetNextAlphaResponse) String() string
- func (m *MsgSetNextAlphaResponse) Unmarshal(dAtA []byte) error
- func (m *MsgSetNextAlphaResponse) XXX_DiscardUnknown()
- func (m *MsgSetNextAlphaResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgSetNextAlphaResponse) XXX_Merge(src proto.Message)
- func (m *MsgSetNextAlphaResponse) XXX_Size() int
- func (m *MsgSetNextAlphaResponse) XXX_Unmarshal(b []byte) error
- type MsgSwap
- func (*MsgSwap) Descriptor() ([]byte, []int)
- func (m *MsgSwap) GetBondDid() string
- func (m *MsgSwap) GetFrom() types.Coin
- func (msg MsgSwap) GetIidController() iidtypes.DIDFragment
- func (msg MsgSwap) GetSignBytes() []byte
- func (msg MsgSwap) GetSigners() []sdk.AccAddress
- func (m *MsgSwap) GetSwapperAddress() string
- func (m *MsgSwap) GetSwapperDid() github_com_ixofoundation_ixo_blockchain_x_iid_types.DIDFragment
- func (m *MsgSwap) GetToToken() string
- func (m *MsgSwap) Marshal() (dAtA []byte, err error)
- func (m *MsgSwap) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgSwap) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgSwap) ProtoMessage()
- func (m *MsgSwap) Reset()
- func (msg MsgSwap) Route() string
- func (m *MsgSwap) Size() (n int)
- func (m *MsgSwap) String() string
- func (msg MsgSwap) Type() string
- func (m *MsgSwap) Unmarshal(dAtA []byte) error
- func (msg MsgSwap) ValidateBasic() error
- func (m *MsgSwap) XXX_DiscardUnknown()
- func (m *MsgSwap) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgSwap) XXX_Merge(src proto.Message)
- func (m *MsgSwap) XXX_Size() int
- func (m *MsgSwap) XXX_Unmarshal(b []byte) error
- type MsgSwapResponse
- func (*MsgSwapResponse) Descriptor() ([]byte, []int)
- func (m *MsgSwapResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgSwapResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgSwapResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgSwapResponse) ProtoMessage()
- func (m *MsgSwapResponse) Reset()
- func (m *MsgSwapResponse) Size() (n int)
- func (m *MsgSwapResponse) String() string
- func (m *MsgSwapResponse) Unmarshal(dAtA []byte) error
- func (m *MsgSwapResponse) XXX_DiscardUnknown()
- func (m *MsgSwapResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgSwapResponse) XXX_Merge(src proto.Message)
- func (m *MsgSwapResponse) XXX_Size() int
- func (m *MsgSwapResponse) XXX_Unmarshal(b []byte) error
- type MsgUpdateBondState
- func (*MsgUpdateBondState) Descriptor() ([]byte, []int)
- func (m *MsgUpdateBondState) GetBondDid() string
- func (m *MsgUpdateBondState) GetEditorAddress() string
- func (m *MsgUpdateBondState) GetEditorDid() github_com_ixofoundation_ixo_blockchain_x_iid_types.DIDFragment
- func (msg MsgUpdateBondState) GetIidController() iidtypes.DIDFragment
- func (msg MsgUpdateBondState) GetSignBytes() []byte
- func (msg MsgUpdateBondState) GetSigners() []sdk.AccAddress
- func (m *MsgUpdateBondState) GetState() string
- func (m *MsgUpdateBondState) Marshal() (dAtA []byte, err error)
- func (m *MsgUpdateBondState) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgUpdateBondState) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgUpdateBondState) ProtoMessage()
- func (m *MsgUpdateBondState) Reset()
- func (msg MsgUpdateBondState) Route() string
- func (m *MsgUpdateBondState) Size() (n int)
- func (m *MsgUpdateBondState) String() string
- func (msg MsgUpdateBondState) Type() string
- func (m *MsgUpdateBondState) Unmarshal(dAtA []byte) error
- func (msg MsgUpdateBondState) ValidateBasic() error
- func (m *MsgUpdateBondState) XXX_DiscardUnknown()
- func (m *MsgUpdateBondState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgUpdateBondState) XXX_Merge(src proto.Message)
- func (m *MsgUpdateBondState) XXX_Size() int
- func (m *MsgUpdateBondState) XXX_Unmarshal(b []byte) error
- type MsgUpdateBondStateResponse
- func (*MsgUpdateBondStateResponse) Descriptor() ([]byte, []int)
- func (m *MsgUpdateBondStateResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgUpdateBondStateResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgUpdateBondStateResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgUpdateBondStateResponse) ProtoMessage()
- func (m *MsgUpdateBondStateResponse) Reset()
- func (m *MsgUpdateBondStateResponse) Size() (n int)
- func (m *MsgUpdateBondStateResponse) String() string
- func (m *MsgUpdateBondStateResponse) Unmarshal(dAtA []byte) error
- func (m *MsgUpdateBondStateResponse) XXX_DiscardUnknown()
- func (m *MsgUpdateBondStateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgUpdateBondStateResponse) XXX_Merge(src proto.Message)
- func (m *MsgUpdateBondStateResponse) XXX_Size() int
- func (m *MsgUpdateBondStateResponse) XXX_Unmarshal(b []byte) error
- type MsgWithdrawReserve
- func (*MsgWithdrawReserve) Descriptor() ([]byte, []int)
- func (m *MsgWithdrawReserve) GetAmount() github_com_cosmos_cosmos_sdk_types.Coins
- func (m *MsgWithdrawReserve) GetBondDid() string
- func (msg MsgWithdrawReserve) GetIidController() iidtypes.DIDFragment
- func (msg MsgWithdrawReserve) GetSignBytes() []byte
- func (msg MsgWithdrawReserve) GetSigners() []sdk.AccAddress
- func (m *MsgWithdrawReserve) GetWithdrawerAddress() string
- func (m *MsgWithdrawReserve) GetWithdrawerDid() github_com_ixofoundation_ixo_blockchain_x_iid_types.DIDFragment
- func (m *MsgWithdrawReserve) Marshal() (dAtA []byte, err error)
- func (m *MsgWithdrawReserve) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgWithdrawReserve) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgWithdrawReserve) ProtoMessage()
- func (m *MsgWithdrawReserve) Reset()
- func (msg MsgWithdrawReserve) Route() string
- func (m *MsgWithdrawReserve) Size() (n int)
- func (m *MsgWithdrawReserve) String() string
- func (msg MsgWithdrawReserve) Type() string
- func (m *MsgWithdrawReserve) Unmarshal(dAtA []byte) error
- func (msg MsgWithdrawReserve) ValidateBasic() error
- func (m *MsgWithdrawReserve) XXX_DiscardUnknown()
- func (m *MsgWithdrawReserve) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgWithdrawReserve) XXX_Merge(src proto.Message)
- func (m *MsgWithdrawReserve) XXX_Size() int
- func (m *MsgWithdrawReserve) XXX_Unmarshal(b []byte) error
- type MsgWithdrawReserveResponse
- func (*MsgWithdrawReserveResponse) Descriptor() ([]byte, []int)
- func (m *MsgWithdrawReserveResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgWithdrawReserveResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgWithdrawReserveResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgWithdrawReserveResponse) ProtoMessage()
- func (m *MsgWithdrawReserveResponse) Reset()
- func (m *MsgWithdrawReserveResponse) Size() (n int)
- func (m *MsgWithdrawReserveResponse) String() string
- func (m *MsgWithdrawReserveResponse) Unmarshal(dAtA []byte) error
- func (m *MsgWithdrawReserveResponse) XXX_DiscardUnknown()
- func (m *MsgWithdrawReserveResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgWithdrawReserveResponse) XXX_Merge(src proto.Message)
- func (m *MsgWithdrawReserveResponse) XXX_Size() int
- func (m *MsgWithdrawReserveResponse) XXX_Unmarshal(b []byte) error
- type MsgWithdrawShare
- func (*MsgWithdrawShare) Descriptor() ([]byte, []int)
- func (m *MsgWithdrawShare) GetBondDid() string
- func (msg MsgWithdrawShare) GetIidController() iidtypes.DIDFragment
- func (m *MsgWithdrawShare) GetRecipientAddress() string
- func (m *MsgWithdrawShare) GetRecipientDid() github_com_ixofoundation_ixo_blockchain_x_iid_types.DIDFragment
- func (msg MsgWithdrawShare) GetSignBytes() []byte
- func (msg MsgWithdrawShare) GetSigners() []sdk.AccAddress
- func (m *MsgWithdrawShare) Marshal() (dAtA []byte, err error)
- func (m *MsgWithdrawShare) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgWithdrawShare) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgWithdrawShare) ProtoMessage()
- func (m *MsgWithdrawShare) Reset()
- func (msg MsgWithdrawShare) Route() string
- func (m *MsgWithdrawShare) Size() (n int)
- func (m *MsgWithdrawShare) String() string
- func (msg MsgWithdrawShare) Type() string
- func (m *MsgWithdrawShare) Unmarshal(dAtA []byte) error
- func (msg MsgWithdrawShare) ValidateBasic() error
- func (m *MsgWithdrawShare) XXX_DiscardUnknown()
- func (m *MsgWithdrawShare) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgWithdrawShare) XXX_Merge(src proto.Message)
- func (m *MsgWithdrawShare) XXX_Size() int
- func (m *MsgWithdrawShare) XXX_Unmarshal(b []byte) error
- type MsgWithdrawShareResponse
- func (*MsgWithdrawShareResponse) Descriptor() ([]byte, []int)
- func (m *MsgWithdrawShareResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgWithdrawShareResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgWithdrawShareResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgWithdrawShareResponse) ProtoMessage()
- func (m *MsgWithdrawShareResponse) Reset()
- func (m *MsgWithdrawShareResponse) Size() (n int)
- func (m *MsgWithdrawShareResponse) String() string
- func (m *MsgWithdrawShareResponse) Unmarshal(dAtA []byte) error
- func (m *MsgWithdrawShareResponse) XXX_DiscardUnknown()
- func (m *MsgWithdrawShareResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgWithdrawShareResponse) XXX_Merge(src proto.Message)
- func (m *MsgWithdrawShareResponse) XXX_Size() int
- func (m *MsgWithdrawShareResponse) XXX_Unmarshal(b []byte) error
- type Params
- func (*Params) Descriptor() ([]byte, []int)
- func (m *Params) GetReservedBondTokens() []string
- 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 (p *Params) ParamSetPairs() paramstypes.ParamSetPairs
- func (*Params) ProtoMessage()
- 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
- type QueryAlphaMaximumsRequest
- func (*QueryAlphaMaximumsRequest) Descriptor() ([]byte, []int)
- func (m *QueryAlphaMaximumsRequest) GetBondDid() string
- func (m *QueryAlphaMaximumsRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryAlphaMaximumsRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryAlphaMaximumsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryAlphaMaximumsRequest) ProtoMessage()
- func (m *QueryAlphaMaximumsRequest) Reset()
- func (m *QueryAlphaMaximumsRequest) Size() (n int)
- func (m *QueryAlphaMaximumsRequest) String() string
- func (m *QueryAlphaMaximumsRequest) Unmarshal(dAtA []byte) error
- func (m *QueryAlphaMaximumsRequest) XXX_DiscardUnknown()
- func (m *QueryAlphaMaximumsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryAlphaMaximumsRequest) XXX_Merge(src proto.Message)
- func (m *QueryAlphaMaximumsRequest) XXX_Size() int
- func (m *QueryAlphaMaximumsRequest) XXX_Unmarshal(b []byte) error
- type QueryAlphaMaximumsResponse
- func (*QueryAlphaMaximumsResponse) Descriptor() ([]byte, []int)
- func (m *QueryAlphaMaximumsResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryAlphaMaximumsResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryAlphaMaximumsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryAlphaMaximumsResponse) ProtoMessage()
- func (m *QueryAlphaMaximumsResponse) Reset()
- func (m *QueryAlphaMaximumsResponse) Size() (n int)
- func (m *QueryAlphaMaximumsResponse) String() string
- func (m *QueryAlphaMaximumsResponse) Unmarshal(dAtA []byte) error
- func (m *QueryAlphaMaximumsResponse) XXX_DiscardUnknown()
- func (m *QueryAlphaMaximumsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryAlphaMaximumsResponse) XXX_Merge(src proto.Message)
- func (m *QueryAlphaMaximumsResponse) XXX_Size() int
- func (m *QueryAlphaMaximumsResponse) XXX_Unmarshal(b []byte) error
- type QueryAvailableReserveRequest
- func (*QueryAvailableReserveRequest) Descriptor() ([]byte, []int)
- func (m *QueryAvailableReserveRequest) GetBondDid() string
- func (m *QueryAvailableReserveRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryAvailableReserveRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryAvailableReserveRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryAvailableReserveRequest) ProtoMessage()
- func (m *QueryAvailableReserveRequest) Reset()
- func (m *QueryAvailableReserveRequest) Size() (n int)
- func (m *QueryAvailableReserveRequest) String() string
- func (m *QueryAvailableReserveRequest) Unmarshal(dAtA []byte) error
- func (m *QueryAvailableReserveRequest) XXX_DiscardUnknown()
- func (m *QueryAvailableReserveRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryAvailableReserveRequest) XXX_Merge(src proto.Message)
- func (m *QueryAvailableReserveRequest) XXX_Size() int
- func (m *QueryAvailableReserveRequest) XXX_Unmarshal(b []byte) error
- type QueryAvailableReserveResponse
- func (*QueryAvailableReserveResponse) Descriptor() ([]byte, []int)
- func (m *QueryAvailableReserveResponse) GetAvailableReserve() []types.Coin
- func (m *QueryAvailableReserveResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryAvailableReserveResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryAvailableReserveResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryAvailableReserveResponse) ProtoMessage()
- func (m *QueryAvailableReserveResponse) Reset()
- func (m *QueryAvailableReserveResponse) Size() (n int)
- func (m *QueryAvailableReserveResponse) String() string
- func (m *QueryAvailableReserveResponse) Unmarshal(dAtA []byte) error
- func (m *QueryAvailableReserveResponse) XXX_DiscardUnknown()
- func (m *QueryAvailableReserveResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryAvailableReserveResponse) XXX_Merge(src proto.Message)
- func (m *QueryAvailableReserveResponse) XXX_Size() int
- func (m *QueryAvailableReserveResponse) XXX_Unmarshal(b []byte) error
- type QueryBatchRequest
- func (*QueryBatchRequest) Descriptor() ([]byte, []int)
- func (m *QueryBatchRequest) GetBondDid() string
- func (m *QueryBatchRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryBatchRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryBatchRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryBatchRequest) ProtoMessage()
- func (m *QueryBatchRequest) Reset()
- func (m *QueryBatchRequest) Size() (n int)
- func (m *QueryBatchRequest) String() string
- func (m *QueryBatchRequest) Unmarshal(dAtA []byte) error
- func (m *QueryBatchRequest) XXX_DiscardUnknown()
- func (m *QueryBatchRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryBatchRequest) XXX_Merge(src proto.Message)
- func (m *QueryBatchRequest) XXX_Size() int
- func (m *QueryBatchRequest) XXX_Unmarshal(b []byte) error
- type QueryBatchResponse
- func (*QueryBatchResponse) Descriptor() ([]byte, []int)
- func (m *QueryBatchResponse) GetBatch() *Batch
- func (m *QueryBatchResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryBatchResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryBatchResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryBatchResponse) ProtoMessage()
- func (m *QueryBatchResponse) Reset()
- func (m *QueryBatchResponse) Size() (n int)
- func (m *QueryBatchResponse) String() string
- func (m *QueryBatchResponse) Unmarshal(dAtA []byte) error
- func (m *QueryBatchResponse) XXX_DiscardUnknown()
- func (m *QueryBatchResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryBatchResponse) XXX_Merge(src proto.Message)
- func (m *QueryBatchResponse) XXX_Size() int
- func (m *QueryBatchResponse) XXX_Unmarshal(b []byte) error
- type QueryBondRequest
- func (*QueryBondRequest) Descriptor() ([]byte, []int)
- func (m *QueryBondRequest) GetBondDid() string
- func (m *QueryBondRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryBondRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryBondRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryBondRequest) ProtoMessage()
- func (m *QueryBondRequest) Reset()
- func (m *QueryBondRequest) Size() (n int)
- func (m *QueryBondRequest) String() string
- func (m *QueryBondRequest) Unmarshal(dAtA []byte) error
- func (m *QueryBondRequest) XXX_DiscardUnknown()
- func (m *QueryBondRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryBondRequest) XXX_Merge(src proto.Message)
- func (m *QueryBondRequest) XXX_Size() int
- func (m *QueryBondRequest) XXX_Unmarshal(b []byte) error
- type QueryBondResponse
- func (*QueryBondResponse) Descriptor() ([]byte, []int)
- func (m *QueryBondResponse) GetBond() *Bond
- func (m *QueryBondResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryBondResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryBondResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryBondResponse) ProtoMessage()
- func (m *QueryBondResponse) Reset()
- func (m *QueryBondResponse) Size() (n int)
- func (m *QueryBondResponse) String() string
- func (m *QueryBondResponse) Unmarshal(dAtA []byte) error
- func (m *QueryBondResponse) XXX_DiscardUnknown()
- func (m *QueryBondResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryBondResponse) XXX_Merge(src proto.Message)
- func (m *QueryBondResponse) XXX_Size() int
- func (m *QueryBondResponse) XXX_Unmarshal(b []byte) error
- type QueryBondsDetailedRequest
- func (*QueryBondsDetailedRequest) Descriptor() ([]byte, []int)
- func (m *QueryBondsDetailedRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryBondsDetailedRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryBondsDetailedRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryBondsDetailedRequest) ProtoMessage()
- func (m *QueryBondsDetailedRequest) Reset()
- func (m *QueryBondsDetailedRequest) Size() (n int)
- func (m *QueryBondsDetailedRequest) String() string
- func (m *QueryBondsDetailedRequest) Unmarshal(dAtA []byte) error
- func (m *QueryBondsDetailedRequest) XXX_DiscardUnknown()
- func (m *QueryBondsDetailedRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryBondsDetailedRequest) XXX_Merge(src proto.Message)
- func (m *QueryBondsDetailedRequest) XXX_Size() int
- func (m *QueryBondsDetailedRequest) XXX_Unmarshal(b []byte) error
- type QueryBondsDetailedResponse
- func (*QueryBondsDetailedResponse) Descriptor() ([]byte, []int)
- func (m *QueryBondsDetailedResponse) GetBondsDetailed() []*BondDetails
- func (m *QueryBondsDetailedResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryBondsDetailedResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryBondsDetailedResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryBondsDetailedResponse) ProtoMessage()
- func (m *QueryBondsDetailedResponse) Reset()
- func (m *QueryBondsDetailedResponse) Size() (n int)
- func (m *QueryBondsDetailedResponse) String() string
- func (m *QueryBondsDetailedResponse) Unmarshal(dAtA []byte) error
- func (m *QueryBondsDetailedResponse) XXX_DiscardUnknown()
- func (m *QueryBondsDetailedResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryBondsDetailedResponse) XXX_Merge(src proto.Message)
- func (m *QueryBondsDetailedResponse) XXX_Size() int
- func (m *QueryBondsDetailedResponse) XXX_Unmarshal(b []byte) error
- type QueryBondsRequest
- func (*QueryBondsRequest) Descriptor() ([]byte, []int)
- func (m *QueryBondsRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryBondsRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryBondsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryBondsRequest) ProtoMessage()
- func (m *QueryBondsRequest) Reset()
- func (m *QueryBondsRequest) Size() (n int)
- func (m *QueryBondsRequest) String() string
- func (m *QueryBondsRequest) Unmarshal(dAtA []byte) error
- func (m *QueryBondsRequest) XXX_DiscardUnknown()
- func (m *QueryBondsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryBondsRequest) XXX_Merge(src proto.Message)
- func (m *QueryBondsRequest) XXX_Size() int
- func (m *QueryBondsRequest) XXX_Unmarshal(b []byte) error
- type QueryBondsResponse
- func (*QueryBondsResponse) Descriptor() ([]byte, []int)
- func (m *QueryBondsResponse) GetBonds() []string
- func (m *QueryBondsResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryBondsResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryBondsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryBondsResponse) ProtoMessage()
- func (m *QueryBondsResponse) Reset()
- func (m *QueryBondsResponse) Size() (n int)
- func (m *QueryBondsResponse) String() string
- func (m *QueryBondsResponse) Unmarshal(dAtA []byte) error
- func (m *QueryBondsResponse) XXX_DiscardUnknown()
- func (m *QueryBondsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryBondsResponse) XXX_Merge(src proto.Message)
- func (m *QueryBondsResponse) XXX_Size() int
- func (m *QueryBondsResponse) XXX_Unmarshal(b []byte) error
- type QueryBuyPriceRequest
- func (*QueryBuyPriceRequest) Descriptor() ([]byte, []int)
- func (m *QueryBuyPriceRequest) GetBondAmount() string
- func (m *QueryBuyPriceRequest) GetBondDid() string
- func (m *QueryBuyPriceRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryBuyPriceRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryBuyPriceRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryBuyPriceRequest) ProtoMessage()
- func (m *QueryBuyPriceRequest) Reset()
- func (m *QueryBuyPriceRequest) Size() (n int)
- func (m *QueryBuyPriceRequest) String() string
- func (m *QueryBuyPriceRequest) Unmarshal(dAtA []byte) error
- func (m *QueryBuyPriceRequest) XXX_DiscardUnknown()
- func (m *QueryBuyPriceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryBuyPriceRequest) XXX_Merge(src proto.Message)
- func (m *QueryBuyPriceRequest) XXX_Size() int
- func (m *QueryBuyPriceRequest) XXX_Unmarshal(b []byte) error
- type QueryBuyPriceResponse
- func (*QueryBuyPriceResponse) Descriptor() ([]byte, []int)
- func (m *QueryBuyPriceResponse) GetAdjustedSupply() types.Coin
- func (m *QueryBuyPriceResponse) GetPrices() github_com_cosmos_cosmos_sdk_types.Coins
- func (m *QueryBuyPriceResponse) GetTotalFees() github_com_cosmos_cosmos_sdk_types.Coins
- func (m *QueryBuyPriceResponse) GetTotalPrices() github_com_cosmos_cosmos_sdk_types.Coins
- func (m *QueryBuyPriceResponse) GetTxFees() github_com_cosmos_cosmos_sdk_types.Coins
- func (m *QueryBuyPriceResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryBuyPriceResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryBuyPriceResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryBuyPriceResponse) ProtoMessage()
- func (m *QueryBuyPriceResponse) Reset()
- func (m *QueryBuyPriceResponse) Size() (n int)
- func (m *QueryBuyPriceResponse) String() string
- func (m *QueryBuyPriceResponse) Unmarshal(dAtA []byte) error
- func (m *QueryBuyPriceResponse) XXX_DiscardUnknown()
- func (m *QueryBuyPriceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryBuyPriceResponse) XXX_Merge(src proto.Message)
- func (m *QueryBuyPriceResponse) XXX_Size() int
- func (m *QueryBuyPriceResponse) XXX_Unmarshal(b []byte) error
- type QueryClient
- type QueryCurrentPriceRequest
- func (*QueryCurrentPriceRequest) Descriptor() ([]byte, []int)
- func (m *QueryCurrentPriceRequest) GetBondDid() string
- func (m *QueryCurrentPriceRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryCurrentPriceRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryCurrentPriceRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryCurrentPriceRequest) ProtoMessage()
- func (m *QueryCurrentPriceRequest) Reset()
- func (m *QueryCurrentPriceRequest) Size() (n int)
- func (m *QueryCurrentPriceRequest) String() string
- func (m *QueryCurrentPriceRequest) Unmarshal(dAtA []byte) error
- func (m *QueryCurrentPriceRequest) XXX_DiscardUnknown()
- func (m *QueryCurrentPriceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryCurrentPriceRequest) XXX_Merge(src proto.Message)
- func (m *QueryCurrentPriceRequest) XXX_Size() int
- func (m *QueryCurrentPriceRequest) XXX_Unmarshal(b []byte) error
- type QueryCurrentPriceResponse
- func (*QueryCurrentPriceResponse) Descriptor() ([]byte, []int)
- func (m *QueryCurrentPriceResponse) GetCurrentPrice() github_com_cosmos_cosmos_sdk_types.DecCoins
- func (m *QueryCurrentPriceResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryCurrentPriceResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryCurrentPriceResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryCurrentPriceResponse) ProtoMessage()
- func (m *QueryCurrentPriceResponse) Reset()
- func (m *QueryCurrentPriceResponse) Size() (n int)
- func (m *QueryCurrentPriceResponse) String() string
- func (m *QueryCurrentPriceResponse) Unmarshal(dAtA []byte) error
- func (m *QueryCurrentPriceResponse) XXX_DiscardUnknown()
- func (m *QueryCurrentPriceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryCurrentPriceResponse) XXX_Merge(src proto.Message)
- func (m *QueryCurrentPriceResponse) XXX_Size() int
- func (m *QueryCurrentPriceResponse) XXX_Unmarshal(b []byte) error
- type QueryCurrentReserveRequest
- func (*QueryCurrentReserveRequest) Descriptor() ([]byte, []int)
- func (m *QueryCurrentReserveRequest) GetBondDid() string
- func (m *QueryCurrentReserveRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryCurrentReserveRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryCurrentReserveRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryCurrentReserveRequest) ProtoMessage()
- func (m *QueryCurrentReserveRequest) Reset()
- func (m *QueryCurrentReserveRequest) Size() (n int)
- func (m *QueryCurrentReserveRequest) String() string
- func (m *QueryCurrentReserveRequest) Unmarshal(dAtA []byte) error
- func (m *QueryCurrentReserveRequest) XXX_DiscardUnknown()
- func (m *QueryCurrentReserveRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryCurrentReserveRequest) XXX_Merge(src proto.Message)
- func (m *QueryCurrentReserveRequest) XXX_Size() int
- func (m *QueryCurrentReserveRequest) XXX_Unmarshal(b []byte) error
- type QueryCurrentReserveResponse
- func (*QueryCurrentReserveResponse) Descriptor() ([]byte, []int)
- func (m *QueryCurrentReserveResponse) GetCurrentReserve() []types.Coin
- func (m *QueryCurrentReserveResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryCurrentReserveResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryCurrentReserveResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryCurrentReserveResponse) ProtoMessage()
- func (m *QueryCurrentReserveResponse) Reset()
- func (m *QueryCurrentReserveResponse) Size() (n int)
- func (m *QueryCurrentReserveResponse) String() string
- func (m *QueryCurrentReserveResponse) Unmarshal(dAtA []byte) error
- func (m *QueryCurrentReserveResponse) XXX_DiscardUnknown()
- func (m *QueryCurrentReserveResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryCurrentReserveResponse) XXX_Merge(src proto.Message)
- func (m *QueryCurrentReserveResponse) XXX_Size() int
- func (m *QueryCurrentReserveResponse) XXX_Unmarshal(b []byte) error
- type QueryCustomPriceRequest
- func (*QueryCustomPriceRequest) Descriptor() ([]byte, []int)
- func (m *QueryCustomPriceRequest) GetBondAmount() string
- func (m *QueryCustomPriceRequest) GetBondDid() string
- func (m *QueryCustomPriceRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryCustomPriceRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryCustomPriceRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryCustomPriceRequest) ProtoMessage()
- func (m *QueryCustomPriceRequest) Reset()
- func (m *QueryCustomPriceRequest) Size() (n int)
- func (m *QueryCustomPriceRequest) String() string
- func (m *QueryCustomPriceRequest) Unmarshal(dAtA []byte) error
- func (m *QueryCustomPriceRequest) XXX_DiscardUnknown()
- func (m *QueryCustomPriceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryCustomPriceRequest) XXX_Merge(src proto.Message)
- func (m *QueryCustomPriceRequest) XXX_Size() int
- func (m *QueryCustomPriceRequest) XXX_Unmarshal(b []byte) error
- type QueryCustomPriceResponse
- func (*QueryCustomPriceResponse) Descriptor() ([]byte, []int)
- func (m *QueryCustomPriceResponse) GetPrice() github_com_cosmos_cosmos_sdk_types.DecCoins
- func (m *QueryCustomPriceResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryCustomPriceResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryCustomPriceResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryCustomPriceResponse) ProtoMessage()
- func (m *QueryCustomPriceResponse) Reset()
- func (m *QueryCustomPriceResponse) Size() (n int)
- func (m *QueryCustomPriceResponse) String() string
- func (m *QueryCustomPriceResponse) Unmarshal(dAtA []byte) error
- func (m *QueryCustomPriceResponse) XXX_DiscardUnknown()
- func (m *QueryCustomPriceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryCustomPriceResponse) XXX_Merge(src proto.Message)
- func (m *QueryCustomPriceResponse) XXX_Size() int
- func (m *QueryCustomPriceResponse) XXX_Unmarshal(b []byte) error
- type QueryLastBatchRequest
- func (*QueryLastBatchRequest) Descriptor() ([]byte, []int)
- func (m *QueryLastBatchRequest) GetBondDid() string
- func (m *QueryLastBatchRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryLastBatchRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryLastBatchRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryLastBatchRequest) ProtoMessage()
- func (m *QueryLastBatchRequest) Reset()
- func (m *QueryLastBatchRequest) Size() (n int)
- func (m *QueryLastBatchRequest) String() string
- func (m *QueryLastBatchRequest) Unmarshal(dAtA []byte) error
- func (m *QueryLastBatchRequest) XXX_DiscardUnknown()
- func (m *QueryLastBatchRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryLastBatchRequest) XXX_Merge(src proto.Message)
- func (m *QueryLastBatchRequest) XXX_Size() int
- func (m *QueryLastBatchRequest) XXX_Unmarshal(b []byte) error
- type QueryLastBatchResponse
- func (*QueryLastBatchResponse) Descriptor() ([]byte, []int)
- func (m *QueryLastBatchResponse) GetLastBatch() *Batch
- func (m *QueryLastBatchResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryLastBatchResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryLastBatchResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryLastBatchResponse) ProtoMessage()
- func (m *QueryLastBatchResponse) Reset()
- func (m *QueryLastBatchResponse) Size() (n int)
- func (m *QueryLastBatchResponse) String() string
- func (m *QueryLastBatchResponse) Unmarshal(dAtA []byte) error
- func (m *QueryLastBatchResponse) XXX_DiscardUnknown()
- func (m *QueryLastBatchResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryLastBatchResponse) XXX_Merge(src proto.Message)
- func (m *QueryLastBatchResponse) XXX_Size() int
- func (m *QueryLastBatchResponse) XXX_Unmarshal(b []byte) error
- type QueryParamsRequest
- func (*QueryParamsRequest) Descriptor() ([]byte, []int)
- func (m *QueryParamsRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryParamsRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryParamsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryParamsRequest) ProtoMessage()
- func (m *QueryParamsRequest) Reset()
- func (m *QueryParamsRequest) Size() (n int)
- func (m *QueryParamsRequest) String() string
- func (m *QueryParamsRequest) Unmarshal(dAtA []byte) error
- func (m *QueryParamsRequest) XXX_DiscardUnknown()
- func (m *QueryParamsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryParamsRequest) XXX_Merge(src proto.Message)
- func (m *QueryParamsRequest) XXX_Size() int
- func (m *QueryParamsRequest) XXX_Unmarshal(b []byte) error
- type QueryParamsResponse
- func (*QueryParamsResponse) Descriptor() ([]byte, []int)
- func (m *QueryParamsResponse) GetParams() *Params
- func (m *QueryParamsResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryParamsResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryParamsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryParamsResponse) ProtoMessage()
- func (m *QueryParamsResponse) Reset()
- func (m *QueryParamsResponse) Size() (n int)
- func (m *QueryParamsResponse) String() string
- func (m *QueryParamsResponse) Unmarshal(dAtA []byte) error
- func (m *QueryParamsResponse) XXX_DiscardUnknown()
- func (m *QueryParamsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryParamsResponse) XXX_Merge(src proto.Message)
- func (m *QueryParamsResponse) XXX_Size() int
- func (m *QueryParamsResponse) XXX_Unmarshal(b []byte) error
- type QuerySellReturnRequest
- func (*QuerySellReturnRequest) Descriptor() ([]byte, []int)
- func (m *QuerySellReturnRequest) GetBondAmount() string
- func (m *QuerySellReturnRequest) GetBondDid() string
- func (m *QuerySellReturnRequest) Marshal() (dAtA []byte, err error)
- func (m *QuerySellReturnRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QuerySellReturnRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QuerySellReturnRequest) ProtoMessage()
- func (m *QuerySellReturnRequest) Reset()
- func (m *QuerySellReturnRequest) Size() (n int)
- func (m *QuerySellReturnRequest) String() string
- func (m *QuerySellReturnRequest) Unmarshal(dAtA []byte) error
- func (m *QuerySellReturnRequest) XXX_DiscardUnknown()
- func (m *QuerySellReturnRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QuerySellReturnRequest) XXX_Merge(src proto.Message)
- func (m *QuerySellReturnRequest) XXX_Size() int
- func (m *QuerySellReturnRequest) XXX_Unmarshal(b []byte) error
- type QuerySellReturnResponse
- func (*QuerySellReturnResponse) Descriptor() ([]byte, []int)
- func (m *QuerySellReturnResponse) GetAdjustedSupply() types.Coin
- func (m *QuerySellReturnResponse) GetExitFees() github_com_cosmos_cosmos_sdk_types.Coins
- func (m *QuerySellReturnResponse) GetReturns() github_com_cosmos_cosmos_sdk_types.Coins
- func (m *QuerySellReturnResponse) GetTotalFees() github_com_cosmos_cosmos_sdk_types.Coins
- func (m *QuerySellReturnResponse) GetTotalReturns() github_com_cosmos_cosmos_sdk_types.Coins
- func (m *QuerySellReturnResponse) GetTxFees() github_com_cosmos_cosmos_sdk_types.Coins
- func (m *QuerySellReturnResponse) Marshal() (dAtA []byte, err error)
- func (m *QuerySellReturnResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QuerySellReturnResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QuerySellReturnResponse) ProtoMessage()
- func (m *QuerySellReturnResponse) Reset()
- func (m *QuerySellReturnResponse) Size() (n int)
- func (m *QuerySellReturnResponse) String() string
- func (m *QuerySellReturnResponse) Unmarshal(dAtA []byte) error
- func (m *QuerySellReturnResponse) XXX_DiscardUnknown()
- func (m *QuerySellReturnResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QuerySellReturnResponse) XXX_Merge(src proto.Message)
- func (m *QuerySellReturnResponse) XXX_Size() int
- func (m *QuerySellReturnResponse) XXX_Unmarshal(b []byte) error
- type QueryServer
- type QuerySwapReturnRequest
- func (*QuerySwapReturnRequest) Descriptor() ([]byte, []int)
- func (m *QuerySwapReturnRequest) GetBondDid() string
- func (m *QuerySwapReturnRequest) GetFromTokenWithAmount() string
- func (m *QuerySwapReturnRequest) GetToToken() string
- func (m *QuerySwapReturnRequest) Marshal() (dAtA []byte, err error)
- func (m *QuerySwapReturnRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QuerySwapReturnRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QuerySwapReturnRequest) ProtoMessage()
- func (m *QuerySwapReturnRequest) Reset()
- func (m *QuerySwapReturnRequest) Size() (n int)
- func (m *QuerySwapReturnRequest) String() string
- func (m *QuerySwapReturnRequest) Unmarshal(dAtA []byte) error
- func (m *QuerySwapReturnRequest) XXX_DiscardUnknown()
- func (m *QuerySwapReturnRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QuerySwapReturnRequest) XXX_Merge(src proto.Message)
- func (m *QuerySwapReturnRequest) XXX_Size() int
- func (m *QuerySwapReturnRequest) XXX_Unmarshal(b []byte) error
- type QuerySwapReturnResponse
- func (*QuerySwapReturnResponse) Descriptor() ([]byte, []int)
- func (m *QuerySwapReturnResponse) GetTotalFees() github_com_cosmos_cosmos_sdk_types.Coins
- func (m *QuerySwapReturnResponse) GetTotalReturns() github_com_cosmos_cosmos_sdk_types.Coins
- func (m *QuerySwapReturnResponse) Marshal() (dAtA []byte, err error)
- func (m *QuerySwapReturnResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QuerySwapReturnResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QuerySwapReturnResponse) ProtoMessage()
- func (m *QuerySwapReturnResponse) Reset()
- func (m *QuerySwapReturnResponse) Size() (n int)
- func (m *QuerySwapReturnResponse) String() string
- func (m *QuerySwapReturnResponse) Unmarshal(dAtA []byte) error
- func (m *QuerySwapReturnResponse) XXX_DiscardUnknown()
- func (m *QuerySwapReturnResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QuerySwapReturnResponse) XXX_Merge(src proto.Message)
- func (m *QuerySwapReturnResponse) XXX_Size() int
- func (m *QuerySwapReturnResponse) XXX_Unmarshal(b []byte) error
- type SellOrder
- func (*SellOrder) Descriptor() ([]byte, []int)
- func (m *SellOrder) GetBaseOrder() BaseOrder
- func (m *SellOrder) Marshal() (dAtA []byte, err error)
- func (m *SellOrder) MarshalTo(dAtA []byte) (int, error)
- func (m *SellOrder) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*SellOrder) ProtoMessage()
- func (m *SellOrder) Reset()
- func (m *SellOrder) Size() (n int)
- func (m *SellOrder) String() string
- func (m *SellOrder) Unmarshal(dAtA []byte) error
- func (m *SellOrder) XXX_DiscardUnknown()
- func (m *SellOrder) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SellOrder) XXX_Merge(src proto.Message)
- func (m *SellOrder) XXX_Size() int
- func (m *SellOrder) XXX_Unmarshal(b []byte) error
- type SwapOrder
- func (*SwapOrder) Descriptor() ([]byte, []int)
- func (m *SwapOrder) GetBaseOrder() BaseOrder
- func (m *SwapOrder) GetToToken() string
- func (m *SwapOrder) Marshal() (dAtA []byte, err error)
- func (m *SwapOrder) MarshalTo(dAtA []byte) (int, error)
- func (m *SwapOrder) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*SwapOrder) ProtoMessage()
- func (m *SwapOrder) Reset()
- func (m *SwapOrder) Size() (n int)
- func (m *SwapOrder) String() string
- func (m *SwapOrder) Unmarshal(dAtA []byte) error
- func (m *SwapOrder) XXX_DiscardUnknown()
- func (m *SwapOrder) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SwapOrder) XXX_Merge(src proto.Message)
- func (m *SwapOrder) XXX_Size() int
- func (m *SwapOrder) XXX_Unmarshal(b []byte) error
- type UnimplementedMsgServer
- func (*UnimplementedMsgServer) Buy(ctx context.Context, req *MsgBuy) (*MsgBuyResponse, error)
- func (*UnimplementedMsgServer) CreateBond(ctx context.Context, req *MsgCreateBond) (*MsgCreateBondResponse, error)
- func (*UnimplementedMsgServer) EditBond(ctx context.Context, req *MsgEditBond) (*MsgEditBondResponse, error)
- func (*UnimplementedMsgServer) MakeOutcomePayment(ctx context.Context, req *MsgMakeOutcomePayment) (*MsgMakeOutcomePaymentResponse, error)
- func (*UnimplementedMsgServer) Sell(ctx context.Context, req *MsgSell) (*MsgSellResponse, error)
- func (*UnimplementedMsgServer) SetNextAlpha(ctx context.Context, req *MsgSetNextAlpha) (*MsgSetNextAlphaResponse, error)
- func (*UnimplementedMsgServer) Swap(ctx context.Context, req *MsgSwap) (*MsgSwapResponse, error)
- func (*UnimplementedMsgServer) UpdateBondState(ctx context.Context, req *MsgUpdateBondState) (*MsgUpdateBondStateResponse, error)
- func (*UnimplementedMsgServer) WithdrawReserve(ctx context.Context, req *MsgWithdrawReserve) (*MsgWithdrawReserveResponse, error)
- func (*UnimplementedMsgServer) WithdrawShare(ctx context.Context, req *MsgWithdrawShare) (*MsgWithdrawShareResponse, error)
- type UnimplementedQueryServer
- func (*UnimplementedQueryServer) AlphaMaximums(ctx context.Context, req *QueryAlphaMaximumsRequest) (*QueryAlphaMaximumsResponse, error)
- func (*UnimplementedQueryServer) AvailableReserve(ctx context.Context, req *QueryAvailableReserveRequest) (*QueryAvailableReserveResponse, error)
- func (*UnimplementedQueryServer) Batch(ctx context.Context, req *QueryBatchRequest) (*QueryBatchResponse, error)
- func (*UnimplementedQueryServer) Bond(ctx context.Context, req *QueryBondRequest) (*QueryBondResponse, error)
- func (*UnimplementedQueryServer) Bonds(ctx context.Context, req *QueryBondsRequest) (*QueryBondsResponse, error)
- func (*UnimplementedQueryServer) BondsDetailed(ctx context.Context, req *QueryBondsDetailedRequest) (*QueryBondsDetailedResponse, error)
- func (*UnimplementedQueryServer) BuyPrice(ctx context.Context, req *QueryBuyPriceRequest) (*QueryBuyPriceResponse, error)
- func (*UnimplementedQueryServer) CurrentPrice(ctx context.Context, req *QueryCurrentPriceRequest) (*QueryCurrentPriceResponse, error)
- func (*UnimplementedQueryServer) CurrentReserve(ctx context.Context, req *QueryCurrentReserveRequest) (*QueryCurrentReserveResponse, error)
- func (*UnimplementedQueryServer) CustomPrice(ctx context.Context, req *QueryCustomPriceRequest) (*QueryCustomPriceResponse, error)
- func (*UnimplementedQueryServer) LastBatch(ctx context.Context, req *QueryLastBatchRequest) (*QueryLastBatchResponse, error)
- func (*UnimplementedQueryServer) Params(ctx context.Context, req *QueryParamsRequest) (*QueryParamsResponse, error)
- func (*UnimplementedQueryServer) SellReturn(ctx context.Context, req *QuerySellReturnRequest) (*QuerySellReturnResponse, error)
- func (*UnimplementedQueryServer) SwapReturn(ctx context.Context, req *QuerySwapReturnRequest) (*QuerySwapReturnResponse, error)
Constants ¶
const ( PowerFunction = "power_function" SigmoidFunction = "sigmoid_function" SwapperFunction = "swapper_function" AugmentedFunction = "augmented_function" BondingFunction = "bonding_function" HatchState BondState = "HATCH" OpenState BondState = "OPEN" SettleState BondState = "SETTLE" FailedState BondState = "FAILED" DoNotModifyField = "[do-not-modify]" AnyNumberOfReserveTokens = -1 )
const ( EventTypeCreateBond = "create_bond" EventTypeEditBond = "edit_bond" EventTypeSetNextAlpha = "set_next_alpha" EventTypeEditAlphaSuccess = "edit_alpha_success" EventTypeEditAlphaFailed = "edit_alpha_failed" EventTypeInitSwapper = "init_swapper" EventTypeBuy = "buy" EventTypeSell = "sell" EventTypeSwap = "swap" EventTypeMakeOutcomePayment = "make_outcome_payment" EventTypeWithdrawReserve = "withdraw_reserve" EventTypeOrderCancel = "order_cancel" EventTypeOrderFulfill = "order_fulfill" EventTypeStateChange = "state_change" AttributeKeyBondDid = "bond_did" AttributeKeyToken = "token" AttributeKeyName = "name" AttributeKeyDescription = "description" AttributeKeyFunctionType = "function_type" AttributeKeyFunctionParameters = "function_parameters" AttributeKeyCreatorDid = "creator_did" AttributeKeyControllerDid = "controller_did" AttributeKeyReserveTokens = "reserve_tokens" AttributeKeyTxFeePercentage = "tx_fee_percentage" AttributeKeyExitFeePercentage = "exit_fee_percentage" AttributeKeyFeeAddress = "fee_address" AttributeKeyReserveWithdrawalAddress = "reserve_withdrawal_address" AttributeKeyMaxSupply = "max_supply" AttributeKeyOrderQuantityLimits = "order_quantity_limits" AttributeKeySanityRate = "sanity_rate" AttributeKeySanityMarginPercentage = "sanity_margin_percentage" AttributeKeyAllowSells = "allow_sells" AttributeKeyAllowReserveWithdrawals = "allow_reserve_withdrawals" AttributeKeyAlphaBond = "alpha_bond" AttributeKeyBatchBlocks = "batch_blocks" AttributeKeyOutcomePayment = "outcome_payment" AttributeKeyState = "state" AttributeKeyMaxPrices = "max_prices" AttributeKeySwapFromToken = "from_token" AttributeKeySwapToToken = "to_token" AttributeKeyOrderType = "order_type" AttributeKeyAddress = "address" AttributeKeyCancelReason = "cancel_reason" AttributeKeyTokensMinted = "tokens_minted" AttributeKeyTokensBurned = "tokens_burned" AttributeKeyTokensSwapped = "tokens_swapped" AttributeKeyChargedPrices = "charged_prices" AttributeKeyChargedPricesReserve = "charged_prices_of_which_reserve" AttributeKeyChargedPricesFunding = "charged_prices_of_which_funding" AttributeKeyChargedFees = "charged_fees" AttributeKeyReturnedToAddress = "returned_to_address" AttributeKeyNewBondTokenBalance = "new_bond_token_balance" AttributeKeyOldState = "old_state" AttributeKeyNewState = "new_state" AttributeKeyPublicAlpha = "public_alpha" AttributeKeySystemAlpha = "system_alpha" AttributeValueBuyOrder = "buy" AttributeValueSellOrder = "sell" AttributeValueSwapOrder = "swap" AttributeValueCategory = ModuleName )
const ( // ModuleName is the name of this module ModuleName = "bonds" // StoreKey is the default store key for this module StoreKey = ModuleName // DefaultParamspace is the default param space for this module DefaultParamspace = ModuleName // BondsMintBurnAccount the root string for the bonds mint burn account address BondsMintBurnAccount = "bonds_mint_burn_account" // BatchesIntermediaryAccount the root string for the batches account address BatchesIntermediaryAccount = "batches_intermediary_account" // BondsReserveAccount the root string for the bonds reserve account address BondsReserveAccount = "bonds_reserve_account" // QuerierRoute is the querier route for this module's store. QuerierRoute = ModuleName // RouterKey is the message route for this module RouterKey = ModuleName )
const ( TypeMsgCreateBond = "create_bond" TypeMsgEditBond = "edit_bond" TypeMsgSetNextAlpha = "set_next_alpha" TypeMsgUpdateBondState = "update_bond_state" TypeMsgBuy = "buy" TypeMsgSell = "sell" TypeMsgSwap = "swap" TypeMsgMakeOutcomePayment = "make_outcome_payment" TypeMsgWithdrawReserve = "withdraw_reserve" )
const (
DefaultCodespace = ModuleName
)
Variables ¶
var ( RequiredParamsForFunctionType = map[string][]string{ PowerFunction: {"m", "n", "c"}, SigmoidFunction: {"a", "b", "c"}, SwapperFunction: nil, AugmentedFunction: {"d0", "p0", "theta", "kappa"}, } NoOfReserveTokensForFunctionType = map[string]int{ PowerFunction: AnyNumberOfReserveTokens, SigmoidFunction: AnyNumberOfReserveTokens, SwapperFunction: 2, AugmentedFunction: AnyNumberOfReserveTokens, } ExtraParameterRestrictions = map[string]FunctionParamRestrictions{ PowerFunction: nil, SigmoidFunction: sigmoidParameterRestrictions, SwapperFunction: nil, AugmentedFunction: augmentedParameterRestrictions, } )
var ( ErrInvalidLengthBonds = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowBonds = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupBonds = fmt.Errorf("proto: unexpected end of group") )
var ( TEN = []sdk.Uint{ sdk.NewUintFromString("1"), sdk.NewUintFromString("10"), sdk.NewUintFromString("100"), sdk.NewUintFromString("1000"), sdk.NewUintFromString("10000"), sdk.NewUintFromString("100000"), sdk.NewUintFromString("1000000"), sdk.NewUintFromString("10000000"), sdk.NewUintFromString("100000000"), sdk.NewUintFromString("1000000000"), sdk.NewUintFromString("10000000000"), sdk.NewUintFromString("100000000000"), sdk.NewUintFromString("1000000000000"), sdk.NewUintFromString("10000000000000"), sdk.NewUintFromString("100000000000000"), sdk.NewUintFromString("1000000000000000"), sdk.NewUintFromString("10000000000000000"), sdk.NewUintFromString("100000000000000000"), sdk.NewUintFromString("1000000000000000000"), sdk.NewUintFromString("10000000000000000000"), sdk.NewUintFromString("100000000000000000000"), sdk.NewUintFromString("1000000000000000000000"), sdk.NewUintFromString("10000000000000000000000"), sdk.NewUintFromString("100000000000000000000000"), sdk.NewUintFromString("1000000000000000000000000"), sdk.NewUintFromString("10000000000000000000000000"), sdk.NewUintFromString("100000000000000000000000000"), sdk.NewUintFromString("1000000000000000000000000000"), sdk.NewUintFromString("10000000000000000000000000000"), sdk.NewUintFromString("100000000000000000000000000000"), sdk.NewUintFromString("1000000000000000000000000000000"), sdk.NewUintFromString("10000000000000000000000000000000"), sdk.NewUintFromString("100000000000000000000000000000000"), sdk.NewUintFromString("1000000000000000000000000000000000"), sdk.NewUintFromString("10000000000000000000000000000000000"), sdk.NewUintFromString("100000000000000000000000000000000000"), sdk.NewUintFromString("1000000000000000000000000000000000000"), sdk.NewUintFromString("10000000000000000000000000000000000000"), sdk.NewUintFromString("100000000000000000000000000000000000000"), sdk.NewUintFromString("1000000000000000000000000000000000000000"), } // ln(2) - used in ln(x). 30 DP. LN2 = sdk.NewUintFromString("693147180559945309417232121458") // 1 / ln(2) - used in exp(x). 30 DP. ONE_OVER_LN2 = sdk.NewUintFromString("1442695040888963407359924681002") ZeroUint = sdk.ZeroUint() OneUint = sdk.OneUint() TwoUint = sdk.NewUint(2) FiveUint = sdk.NewUint(5) TenUint = sdk.NewUint(10) // LUT flags LUT1_isSet = false LUT2_isSet = false LUT3_1_isSet = false LUT3_2_isSet = false LUT3_3_isSet = false LUT3_4_isSet = false )
var ( ErrArgumentCannotBeEmpty = sdkerrors.Register(DefaultCodespace, 2, "argument cannot be empty") ErrArgumentCannotBeNegative = sdkerrors.Register(DefaultCodespace, 3, "argument cannot be negative") ErrArgumentMustBePositive = sdkerrors.Register(DefaultCodespace, 4, "argument must be a positive value") ErrArgumentMustBeInteger = sdkerrors.Register(DefaultCodespace, 5, "argument must be an integer value") ErrArgumentMustBeBetween = sdkerrors.Register(DefaultCodespace, 6, "argument must be between") ErrFunctionParameterMissingOrNonFloat = sdkerrors.Register(DefaultCodespace, 7, "parameter is missing or is not a float") ErrArgumentMissingOrNonFloat = sdkerrors.Register(DefaultCodespace, 8, "argument is missing or is not a float") ErrArgumentMissingOrNonUInteger = sdkerrors.Register(DefaultCodespace, 9, "argument is missing or is not an unsigned integer") ErrArgumentMissingOrNonBoolean = sdkerrors.Register(DefaultCodespace, 10, "argument is missing or is not true or false") ErrIncorrectNumberOfReserveTokens = sdkerrors.Register(DefaultCodespace, 11, "incorrect number of reserve tokens") ErrIncorrectNumberOfFunctionParameters = sdkerrors.Register(DefaultCodespace, 12, "incorrect number of function parameters") ErrBondDoesNotExist = sdkerrors.Register(DefaultCodespace, 13, "bond does not exist") ErrBondAlreadyExists = sdkerrors.Register(DefaultCodespace, 14, "bond already exists") ErrBondTokenIsTaken = sdkerrors.Register(DefaultCodespace, 15, "bond token is taken") ErrBondDoesNotAllowSelling = sdkerrors.Register(DefaultCodespace, 16, "bond does not allow selling at the moment") ErrDidNotEditAnything = sdkerrors.Register(DefaultCodespace, 17, "did not edit any bond field") ErrFromAndToCannotBeTheSameToken = sdkerrors.Register(DefaultCodespace, 18, "from and to tokens cannot be the same token") ErrDuplicateReserveToken = sdkerrors.Register(DefaultCodespace, 19, "cannot have duplicate tokens in reserve tokens") ErrInvalidStateForAction = sdkerrors.Register(DefaultCodespace, 20, "cannot perform that action at the current state") ErrUnrecognizedFunctionType = sdkerrors.Register(DefaultCodespace, 21, "unrecognized function type") ErrInvalidFunctionParameter = sdkerrors.Register(DefaultCodespace, 22, "invalid function parameter") ErrFunctionNotAvailableForFunctionType = sdkerrors.Register(DefaultCodespace, 23, "function is not available for the function type") ErrFunctionRequiresNonZeroCurrentSupply = sdkerrors.Register(DefaultCodespace, 24, "function requires the current supply to be non zero") ErrTokenIsNotAValidReserveToken = sdkerrors.Register(DefaultCodespace, 25, "token is not a valid reserve token") ErrMaxSupplyDenomDoesNotMatchTokenDenom = sdkerrors.Register(DefaultCodespace, 26, "max supply denom does not match token denom") ErrBondTokenCannotAlsoBeReserveToken = sdkerrors.Register(DefaultCodespace, 27, "token cannot also be a reserve token") ErrBondTokenCannotBeStakingToken = sdkerrors.Register(DefaultCodespace, 28, "bond token cannot be staking token") ErrReserveDenomsMismatch = sdkerrors.Register(DefaultCodespace, 29, "denoms do not match reserve denoms") ErrCannotMintMoreThanMaxSupply = sdkerrors.Register(DefaultCodespace, 30, "cannot mint more tokens than the max supply") ErrCannotBurnMoreThanSupply = sdkerrors.Register(DefaultCodespace, 31, "cannot burn more tokens than the current supply") ErrMaxPriceExceeded = sdkerrors.Register(DefaultCodespace, 32, "actual prices exceed max prices") ErrSwapAmountTooSmallToGiveAnyReturn = sdkerrors.Register(DefaultCodespace, 33, "swap amount too small to give any return") ErrSwapAmountCausesReserveDepletion = sdkerrors.Register(DefaultCodespace, 34, "swap amount too large and causes reserve to be depleted") ErrOrderQuantityLimitExceeded = sdkerrors.Register(DefaultCodespace, 35, "order quantity limits exceeded") ErrValuesViolateSanityRate = sdkerrors.Register(DefaultCodespace, 36, "values violate sanity rate") ErrFeesCannotBeOrExceed100Percent = sdkerrors.Register(DefaultCodespace, 37, "sum of fees is or exceeds 100 percent") ErrNoBondTokensOwned = sdkerrors.Register(DefaultCodespace, 38, "no bond tokens of this bond are owned") ErrInsufficientReserveToBuy = sdkerrors.Register(DefaultCodespace, 39, "insufficient reserve was supplied to perform buy order") ErrBondTokenDoesNotMatchBond = sdkerrors.Register(DefaultCodespace, 40, "bond token does not match bond") ErrReservedBondToken = sdkerrors.Register(DefaultCodespace, 41, "bond token is reserved") ErrInvalidAlpha = sdkerrors.Register(DefaultCodespace, 42, "alpha value is invalid") ErrNumericOverflow = sdkerrors.Register(DefaultCodespace, 43, "numeric overflow") ErrInvalidStateProgression = sdkerrors.Register(DefaultCodespace, 44, "invalid state progression requested") ErrCannotAllowSellsAndWithdrawals = sdkerrors.Register(DefaultCodespace, 45, "cannot allow both sells and reserve withdrawals") ErrInsufficientReserveForWithdraw = sdkerrors.Register(DefaultCodespace, 46, "requested withdraw amount is greater than available reserve") )
var ( ErrInvalidLengthGenesis = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowGenesis = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupGenesis = fmt.Errorf("proto: unexpected end of group") )
var ( BondsKeyPrefix = []byte{0x00} // key for bonds BatchesKeyPrefix = []byte{0x01} // key for batches LastBatchesKeyPrefix = []byte{0x02} // key for last batches BondDidsKeyPrefix = []byte{0x03} // key for bond DIDs )
Bonds and batches are stored as follow:
- Bonds: 0x00<bond_did_bytes> - Batches: 0x01<bond_did_bytes> - Last batches: 0x02<bond_did_bytes> - Bond DIDs: 0x03<bond_token_bytes>
var ( ErrInvalidLengthQuery = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowQuery = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupQuery = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthTx = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowTx = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupTx = fmt.Errorf("proto: unexpected end of group") )
var (
KeyReservedBondTokens = []byte("ReservedBondTokens")
)
Parameter store keys
var ( // ModuleCdc references the global x/did module codec. Note, the codec should // ONLY be used in certain instances of tests and for JSON encoding as Amino is // still used for that purpose. // // The actual codec used for serialization should be provided to x/did and // defined at the application level. ModuleCdc = codec.NewAminoCodec(amino) )
var (
StartingPublicAlpha = sdk.MustNewDecFromStr("0.5")
)
var StateTransitions = initStateTransitions()
var (
TEN18DEC = sdk.MustNewDecFromStr("1000000000000000000") // 1e18
)
Functions ¶
func AccAddressesToString ¶
func AccAddressesToString(addresses []sdk.AccAddress) (result string)
func ApproxPower ¶
ApproxPower returns an approximation of raising a Dec to a positive power
func ApproxRoot ¶
ApproxRoot returns an approximation of a Dec's nth root
func CheckCoinDenom ¶
func CheckNoOfReserveTokens ¶
func CheckReserveTokenNames ¶
func DivideDecCoinsByDec ¶
noinspection GoNilness
func GetBatchKey ¶
func GetBatchKey(bondDid didexported.Did) []byte
func GetBondDidsKey ¶
func GetBondKey ¶
func GetBondKey(bondDid didexported.Did) []byte
func GetLastBatchKey ¶
func GetLastBatchKey(bondDid didexported.Did) []byte
func MultiplyDecCoinsByDec ¶
noinspection GoNilness
func MultiplyDecCoinsByInt ¶
noinspection GoNilness
func RegisterInterfaces ¶
func RegisterInterfaces(registry types.InterfaceRegistry)
func RegisterLegacyAminoCodec ¶
func RegisterLegacyAminoCodec(cdc *codec.LegacyAmino)
func RegisterMsgServer ¶
func RegisterQueryHandler ¶
RegisterQueryHandler registers the http handlers for service Query to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterQueryHandlerClient ¶
func RegisterQueryHandlerClient(ctx context.Context, mux *runtime.ServeMux, client QueryClient) error
RegisterQueryHandlerClient registers the http handlers for service Query to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "QueryClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "QueryClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "QueryClient" to call the correct interceptors.
func RegisterQueryHandlerFromEndpoint ¶
func RegisterQueryHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterQueryHandlerFromEndpoint is same as RegisterQueryHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterQueryHandlerServer ¶
func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, server QueryServer) error
RegisterQueryHandlerServer registers the http handlers for service Query to "mux". UnaryRPC :call QueryServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features (such as grpc.SendHeader, etc) to stop working. Consider using RegisterQueryHandlerFromEndpoint instead.
func RegisterQueryServer ¶
func RegisterQueryServer(s grpc1.Server, srv QueryServer)
func RoundReservePrices ¶
noinspection GoNilness
func RoundReserveReturns ¶
noinspection GoNilness
func SpotPrice ¶
given a value function (parameterized by kappa) and an invariant coeficient V0 return a spot price P as a function of reserve R
func StringsToString ¶
func ValidateGenesis ¶
func ValidateGenesis(data *GenesisState) error
Types ¶
type AugmentedBondRevision1 ¶ added in v0.19.1
type AugmentedBondRevision1 struct {
// contains filtered or unexported fields
}
func (*AugmentedBondRevision1) CalculatePriceForTokens ¶ added in v0.19.1
func (*AugmentedBondRevision1) CalculateTokensForPrice ¶ added in v0.19.1
func (*AugmentedBondRevision1) ExportToBond ¶ added in v0.19.1
func (algo *AugmentedBondRevision1) ExportToBond(bond *Bond) error
func (*AugmentedBondRevision1) ExportToMap ¶ added in v0.19.1
func (algo *AugmentedBondRevision1) ExportToMap() map[string]float64
func (*AugmentedBondRevision1) Init ¶ added in v0.19.1
func (algo *AugmentedBondRevision1) Init(bond Bond) error
func (*AugmentedBondRevision1) Revision ¶ added in v0.19.1
func (algo *AugmentedBondRevision1) Revision() int64
func (*AugmentedBondRevision1) UpdateAlpha ¶ added in v0.19.1
func (algo *AugmentedBondRevision1) UpdateAlpha(_ap, _delta float64) error
type BaseOrder ¶
type BaseOrder struct { AccountDid github_com_ixofoundation_ixo_blockchain_x_iid_types.DIDFragment `` /* 183-byte string literal not displayed */ Amount types.Coin `protobuf:"bytes,2,opt,name=amount,proto3" json:"amount" yaml:"amount"` Cancelled bool `protobuf:"varint,3,opt,name=cancelled,proto3" json:"cancelled,omitempty" yaml:"cancelled"` CancelReason string `protobuf:"bytes,4,opt,name=cancel_reason,json=cancelReason,proto3" json:"cancel_reason,omitempty" yaml:"cancel_reason"` }
BaseOrder defines a base order type. It contains all the necessary fields for specifying the general details about a buy, sell, or swap order.
func NewBaseOrder ¶
func NewBaseOrder(accountDid iidtypes.DIDFragment, amount sdk.Coin) BaseOrder
func (*BaseOrder) Descriptor ¶
func (*BaseOrder) GetAccountDid ¶
func (m *BaseOrder) GetAccountDid() github_com_ixofoundation_ixo_blockchain_x_iid_types.DIDFragment
func (*BaseOrder) GetCancelReason ¶
func (*BaseOrder) GetCancelled ¶
func (BaseOrder) IsCancelled ¶
func (*BaseOrder) MarshalToSizedBuffer ¶
func (*BaseOrder) ProtoMessage ¶
func (*BaseOrder) ProtoMessage()
func (*BaseOrder) XXX_DiscardUnknown ¶
func (m *BaseOrder) XXX_DiscardUnknown()
func (*BaseOrder) XXX_Marshal ¶
func (*BaseOrder) XXX_Unmarshal ¶
type Batch ¶
type Batch struct { BondDid string `protobuf:"bytes,1,opt,name=bond_did,json=bondDid,proto3" json:"bond_did,omitempty" yaml:"bond_did"` BlocksRemaining github_com_cosmos_cosmos_sdk_types.Uint `` /* 171-byte string literal not displayed */ NextPublicAlpha github_com_cosmos_cosmos_sdk_types.Dec `` /* 173-byte string literal not displayed */ TotalBuyAmount types.Coin `protobuf:"bytes,4,opt,name=total_buy_amount,json=totalBuyAmount,proto3" json:"total_buy_amount" yaml:"total_buy_amount"` TotalSellAmount types.Coin `protobuf:"bytes,5,opt,name=total_sell_amount,json=totalSellAmount,proto3" json:"total_sell_amount" yaml:"total_sell_amount"` BuyPrices github_com_cosmos_cosmos_sdk_types.DecCoins `` /* 153-byte string literal not displayed */ SellPrices github_com_cosmos_cosmos_sdk_types.DecCoins `` /* 157-byte string literal not displayed */ Buys []BuyOrder `protobuf:"bytes,8,rep,name=buys,proto3" json:"buys" yaml:"buys"` Sells []SellOrder `protobuf:"bytes,9,rep,name=sells,proto3" json:"sells" yaml:"sells"` Swaps []SwapOrder `protobuf:"bytes,10,rep,name=swaps,proto3" json:"swaps" yaml:"swaps"` }
Batch holds a collection of outstanding buy, sell, and swap orders on a particular bond.
func (*Batch) Descriptor ¶
func (Batch) EqualBuysAndSells ¶
func (*Batch) GetBondDid ¶
func (*Batch) GetBuyPrices ¶
func (m *Batch) GetBuyPrices() github_com_cosmos_cosmos_sdk_types.DecCoins
func (*Batch) GetSellPrices ¶
func (m *Batch) GetSellPrices() github_com_cosmos_cosmos_sdk_types.DecCoins
func (*Batch) GetTotalBuyAmount ¶
func (*Batch) GetTotalSellAmount ¶
func (Batch) HasNextAlpha ¶
func (Batch) MoreBuysThanSells ¶
func (Batch) MoreSellsThanBuys ¶
func (*Batch) ProtoMessage ¶
func (*Batch) ProtoMessage()
func (*Batch) XXX_DiscardUnknown ¶
func (m *Batch) XXX_DiscardUnknown()
func (*Batch) XXX_Marshal ¶
func (*Batch) XXX_Unmarshal ¶
type Bond ¶
type Bond struct { Token string `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty" yaml:"token"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty" yaml:"name"` Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty" yaml:"description"` CreatorDid github_com_ixofoundation_ixo_blockchain_x_iid_types.DIDFragment `` /* 183-byte string literal not displayed */ ControllerDid github_com_ixofoundation_ixo_blockchain_x_iid_types.DIDFragment `` /* 195-byte string literal not displayed */ FunctionType string `protobuf:"bytes,6,opt,name=function_type,json=functionType,proto3" json:"function_type,omitempty" yaml:"function_type"` FunctionParameters FunctionParams `` /* 160-byte string literal not displayed */ ReserveTokens []string `protobuf:"bytes,8,rep,name=reserve_tokens,json=reserveTokens,proto3" json:"reserve_tokens,omitempty" yaml:"reserve_tokens"` TxFeePercentage github_com_cosmos_cosmos_sdk_types.Dec `` /* 173-byte string literal not displayed */ ExitFeePercentage github_com_cosmos_cosmos_sdk_types.Dec `` /* 182-byte string literal not displayed */ FeeAddress string `protobuf:"bytes,11,opt,name=fee_address,json=feeAddress,proto3" json:"fee_address,omitempty" yaml:"fee_address"` ReserveWithdrawalAddress string `` /* 170-byte string literal not displayed */ MaxSupply types.Coin `protobuf:"bytes,13,opt,name=max_supply,json=maxSupply,proto3" json:"max_supply" yaml:"max_supply"` OrderQuantityLimits github_com_cosmos_cosmos_sdk_types.Coins `` /* 194-byte string literal not displayed */ SanityRate github_com_cosmos_cosmos_sdk_types.Dec `` /* 151-byte string literal not displayed */ SanityMarginPercentage github_com_cosmos_cosmos_sdk_types.Dec `` /* 202-byte string literal not displayed */ CurrentSupply types.Coin `protobuf:"bytes,17,opt,name=current_supply,json=currentSupply,proto3" json:"current_supply" yaml:"current_supply"` CurrentReserve github_com_cosmos_cosmos_sdk_types.Coins `` /* 171-byte string literal not displayed */ AvailableReserve github_com_cosmos_cosmos_sdk_types.Coins `` /* 179-byte string literal not displayed */ CurrentOutcomePaymentReserve github_com_cosmos_cosmos_sdk_types.Coins `` /* 233-byte string literal not displayed */ AllowSells bool `protobuf:"varint,21,opt,name=allow_sells,json=allowSells,proto3" json:"allow_sells,omitempty" yaml:"allow_sells"` AllowReserveWithdrawals bool `` /* 167-byte string literal not displayed */ AlphaBond bool `protobuf:"varint,23,opt,name=alpha_bond,json=alphaBond,proto3" json:"alpha_bond,omitempty" yaml:"alpha_bond"` BatchBlocks github_com_cosmos_cosmos_sdk_types.Uint `` /* 156-byte string literal not displayed */ OutcomePayment github_com_cosmos_cosmos_sdk_types.Int `` /* 167-byte string literal not displayed */ State string `protobuf:"bytes,26,opt,name=state,proto3" json:"state,omitempty" yaml:"state"` BondDid string `protobuf:"bytes,27,opt,name=bond_did,json=bondDid,proto3" json:"bond_did,omitempty" yaml:"bond_did"` OracleDid github_com_ixofoundation_ixo_blockchain_x_iid_types.DIDFragment `` /* 180-byte string literal not displayed */ }
Bond defines a token bonding curve type with all of its parameters.
func NewBond ¶
func NewBond(token, name, description string, creatorDid, controllerDid, orcaleDid iidtypes.DIDFragment, functionType string, functionParameters FunctionParams, reserveTokens []string, txFeePercentage, exitFeePercentage sdk.Dec, feeAddress, reserveWithdrawalAddress sdk.AccAddress, maxSupply sdk.Coin, orderQuantityLimits sdk.Coins, sanityRate, sanityMarginPercentage sdk.Dec, allowSells, allowReserveWithdrawals, alphaBond bool, batchBlocks sdk.Uint, outcomePayment sdk.Int, state BondState, bondDid didexported.Did) Bond
func (Bond) AnyOrderQuantityLimitsExceeded ¶
func (*Bond) Descriptor ¶
func (*Bond) GetAllowReserveWithdrawals ¶ added in v0.16.0
func (*Bond) GetAllowSells ¶
func (*Bond) GetAlphaBond ¶
func (*Bond) GetAvailableReserve ¶ added in v0.16.0
func (m *Bond) GetAvailableReserve() github_com_cosmos_cosmos_sdk_types.Coins
func (*Bond) GetBondDid ¶
func (*Bond) GetControllerDid ¶
func (m *Bond) GetControllerDid() github_com_ixofoundation_ixo_blockchain_x_iid_types.DIDFragment
func (*Bond) GetCreatorDid ¶
func (m *Bond) GetCreatorDid() github_com_ixofoundation_ixo_blockchain_x_iid_types.DIDFragment
func (*Bond) GetCurrentOutcomePaymentReserve ¶
func (m *Bond) GetCurrentOutcomePaymentReserve() github_com_cosmos_cosmos_sdk_types.Coins
func (Bond) GetCurrentPricesPT ¶
func (*Bond) GetCurrentReserve ¶
func (m *Bond) GetCurrentReserve() github_com_cosmos_cosmos_sdk_types.Coins
func (*Bond) GetCurrentSupply ¶
func (*Bond) GetDescription ¶
func (Bond) GetExitFees ¶
noinspection GoNilness
func (*Bond) GetFeeAddress ¶
func (*Bond) GetFunctionParameters ¶
func (m *Bond) GetFunctionParameters() FunctionParams
func (*Bond) GetFunctionType ¶
func (*Bond) GetMaxSupply ¶
func (Bond) GetNewReserveCoins ¶
func (Bond) GetNewReserveDecCoins ¶
func (*Bond) GetOracleDid ¶ added in v0.19.1
func (m *Bond) GetOracleDid() github_com_ixofoundation_ixo_blockchain_x_iid_types.DIDFragment
func (*Bond) GetOrderQuantityLimits ¶
func (m *Bond) GetOrderQuantityLimits() github_com_cosmos_cosmos_sdk_types.Coins
func (Bond) GetPricesAtSupply ¶
func (Bond) GetPricesToMint ¶
func (Bond) GetReserveDeltaForLiquidityDelta ¶
func (*Bond) GetReserveTokens ¶
func (*Bond) GetReserveWithdrawalAddress ¶ added in v0.16.0
func (Bond) GetReturnsForBurn ¶
func (Bond) GetReturnsForSwap ¶
func (*Bond) ProtoMessage ¶
func (*Bond) ProtoMessage()
func (Bond) ReserveAtSupply ¶
func (Bond) ReservesViolateSanityRate ¶
func (*Bond) XXX_DiscardUnknown ¶
func (m *Bond) XXX_DiscardUnknown()
func (*Bond) XXX_Unmarshal ¶
type BondDetails ¶
type BondDetails struct { BondDid string `protobuf:"bytes,1,opt,name=bond_did,json=bondDid,proto3" json:"did" yaml:"did"` SpotPrice github_com_cosmos_cosmos_sdk_types.DecCoins `` /* 153-byte string literal not displayed */ Supply types.Coin `protobuf:"bytes,3,opt,name=supply,proto3" json:"supply" yaml:"supply"` Reserve github_com_cosmos_cosmos_sdk_types.Coins `` /* 126-byte string literal not displayed */ }
BondDetails contains details about the current state of a given bond.
func (*BondDetails) Descriptor ¶
func (*BondDetails) Descriptor() ([]byte, []int)
func (*BondDetails) GetBondDid ¶
func (m *BondDetails) GetBondDid() string
func (*BondDetails) GetReserve ¶
func (m *BondDetails) GetReserve() github_com_cosmos_cosmos_sdk_types.Coins
func (*BondDetails) GetSpotPrice ¶
func (m *BondDetails) GetSpotPrice() github_com_cosmos_cosmos_sdk_types.DecCoins
func (*BondDetails) GetSupply ¶
func (m *BondDetails) GetSupply() types.Coin
func (*BondDetails) Marshal ¶
func (m *BondDetails) Marshal() (dAtA []byte, err error)
func (*BondDetails) MarshalToSizedBuffer ¶
func (m *BondDetails) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*BondDetails) ProtoMessage ¶
func (*BondDetails) ProtoMessage()
func (*BondDetails) Reset ¶
func (m *BondDetails) Reset()
func (*BondDetails) Size ¶
func (m *BondDetails) Size() (n int)
func (*BondDetails) String ¶
func (m *BondDetails) String() string
func (*BondDetails) Unmarshal ¶
func (m *BondDetails) Unmarshal(dAtA []byte) error
func (*BondDetails) XXX_DiscardUnknown ¶
func (m *BondDetails) XXX_DiscardUnknown()
func (*BondDetails) XXX_Marshal ¶
func (m *BondDetails) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*BondDetails) XXX_Merge ¶
func (m *BondDetails) XXX_Merge(src proto.Message)
func (*BondDetails) XXX_Size ¶
func (m *BondDetails) XXX_Size() int
func (*BondDetails) XXX_Unmarshal ¶
func (m *BondDetails) XXX_Unmarshal(b []byte) error
type BondState ¶
type BondState string
func BondStateFromString ¶
func (BondState) IsValidProgressionFrom ¶
type BondStateTransitionMap ¶
type BondingAlgorithm ¶ added in v0.19.1
type BuyOrder ¶
type BuyOrder struct { BaseOrder BaseOrder `protobuf:"bytes,1,opt,name=base_order,json=baseOrder,proto3" json:"base_order" yaml:"base_order"` MaxPrices github_com_cosmos_cosmos_sdk_types.Coins `` /* 150-byte string literal not displayed */ }
BuyOrder defines a type for submitting a buy order on a bond, together with the maximum amount of reserve tokens the buyer is willing to pay.
func NewBuyOrder ¶
func (*BuyOrder) Descriptor ¶
func (*BuyOrder) GetBaseOrder ¶
func (*BuyOrder) GetMaxPrices ¶
func (m *BuyOrder) GetMaxPrices() github_com_cosmos_cosmos_sdk_types.Coins
func (*BuyOrder) MarshalToSizedBuffer ¶
func (*BuyOrder) ProtoMessage ¶
func (*BuyOrder) ProtoMessage()
func (*BuyOrder) XXX_DiscardUnknown ¶
func (m *BuyOrder) XXX_DiscardUnknown()
func (*BuyOrder) XXX_Marshal ¶
func (*BuyOrder) XXX_Unmarshal ¶
type Either ¶ added in v0.19.1
func LeftFlatMap ¶ added in v0.19.1
type FunctionParam ¶
type FunctionParam struct { Param string `protobuf:"bytes,1,opt,name=param,proto3" json:"param,omitempty" yaml:"param"` Value github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,2,opt,name=value,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"value" yaml:"value"` }
FunctionParam is a key-value pair used for specifying a specific bond parameter.
func NewFunctionParam ¶
func NewFunctionParam(param string, value sdk.Dec) FunctionParam
func (*FunctionParam) Descriptor ¶
func (*FunctionParam) Descriptor() ([]byte, []int)
func (*FunctionParam) GetParam ¶
func (m *FunctionParam) GetParam() string
func (*FunctionParam) Marshal ¶
func (m *FunctionParam) Marshal() (dAtA []byte, err error)
func (*FunctionParam) MarshalToSizedBuffer ¶
func (m *FunctionParam) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*FunctionParam) ProtoMessage ¶
func (*FunctionParam) ProtoMessage()
func (*FunctionParam) Reset ¶
func (m *FunctionParam) Reset()
func (*FunctionParam) Size ¶
func (m *FunctionParam) Size() (n int)
func (*FunctionParam) String ¶
func (m *FunctionParam) String() string
func (*FunctionParam) Unmarshal ¶
func (m *FunctionParam) Unmarshal(dAtA []byte) error
func (*FunctionParam) XXX_DiscardUnknown ¶
func (m *FunctionParam) XXX_DiscardUnknown()
func (*FunctionParam) XXX_Marshal ¶
func (m *FunctionParam) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*FunctionParam) XXX_Merge ¶
func (m *FunctionParam) XXX_Merge(src proto.Message)
func (*FunctionParam) XXX_Size ¶
func (m *FunctionParam) XXX_Size() int
func (*FunctionParam) XXX_Unmarshal ¶
func (m *FunctionParam) XXX_Unmarshal(b []byte) error
type FunctionParamRestrictions ¶
func GetExceptionsForFunctionType ¶
func GetExceptionsForFunctionType(fnType string) (restrictions FunctionParamRestrictions, err error)
type FunctionParams ¶
type FunctionParams []FunctionParam
func (FunctionParams) AddParam ¶
func (fps FunctionParams) AddParam(param string, value sdk.Dec) FunctionParams
func (FunctionParams) AddParams ¶
func (fps FunctionParams) AddParams(newFps FunctionParams) FunctionParams
func (FunctionParams) ReplaceParam ¶
func (fps FunctionParams) ReplaceParam(param string, value sdk.Dec)
func (FunctionParams) String ¶
func (fps FunctionParams) String() (result string)
func (FunctionParams) Validate ¶
func (fps FunctionParams) Validate(functionType string) error
type GenesisState ¶
type GenesisState struct { Bonds []Bond `protobuf:"bytes,1,rep,name=bonds,proto3" json:"bonds" yaml:"bonds"` Batches []Batch `protobuf:"bytes,2,rep,name=batches,proto3" json:"batches" yaml:"batches"` Params Params `protobuf:"bytes,3,opt,name=params,proto3" json:"params" yaml:"params"` }
GenesisState defines the bonds module's genesis state.
func DefaultGenesisState ¶
func DefaultGenesisState() *GenesisState
func NewGenesisState ¶
func NewGenesisState(bonds []Bond, batches []Batch, params Params) *GenesisState
func (*GenesisState) Descriptor ¶
func (*GenesisState) Descriptor() ([]byte, []int)
func (*GenesisState) GetBatches ¶
func (m *GenesisState) GetBatches() []Batch
func (*GenesisState) GetBonds ¶
func (m *GenesisState) GetBonds() []Bond
func (*GenesisState) GetParams ¶
func (m *GenesisState) GetParams() Params
func (*GenesisState) Marshal ¶
func (m *GenesisState) Marshal() (dAtA []byte, err error)
func (*GenesisState) MarshalToSizedBuffer ¶
func (m *GenesisState) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*GenesisState) ProtoMessage ¶
func (*GenesisState) ProtoMessage()
func (*GenesisState) Reset ¶
func (m *GenesisState) Reset()
func (*GenesisState) Size ¶
func (m *GenesisState) Size() (n int)
func (*GenesisState) String ¶
func (m *GenesisState) String() string
func (*GenesisState) Unmarshal ¶
func (m *GenesisState) Unmarshal(dAtA []byte) error
func (*GenesisState) XXX_DiscardUnknown ¶
func (m *GenesisState) XXX_DiscardUnknown()
func (*GenesisState) XXX_Marshal ¶
func (m *GenesisState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GenesisState) XXX_Merge ¶
func (m *GenesisState) XXX_Merge(src proto.Message)
func (*GenesisState) XXX_Size ¶
func (m *GenesisState) XXX_Size() int
func (*GenesisState) XXX_Unmarshal ¶
func (m *GenesisState) XXX_Unmarshal(b []byte) error
type MsgBuy ¶
type MsgBuy struct { BuyerDid github_com_ixofoundation_ixo_blockchain_x_iid_types.DIDFragment `` /* 175-byte string literal not displayed */ Amount types.Coin `protobuf:"bytes,2,opt,name=amount,proto3" json:"amount" yaml:"amount"` MaxPrices github_com_cosmos_cosmos_sdk_types.Coins `` /* 150-byte string literal not displayed */ BondDid string `protobuf:"bytes,4,opt,name=bond_did,json=bondDid,proto3" json:"bond_did,omitempty" yaml:"bond_did"` BuyerAddress string `protobuf:"bytes,5,opt,name=buyer_address,json=buyerAddress,proto3" json:"buyer_address" yaml:"buyer_address"` }
MsgBuy defines a message for buying from a bond.
func NewMsgBuy ¶
func NewMsgBuy(buyerDid iidtypes.DIDFragment, amount sdk.Coin, maxPrices sdk.Coins, bondDid didexported.Did, buyerAddress string) *MsgBuy
func (*MsgBuy) Descriptor ¶
func (*MsgBuy) GetBondDid ¶
func (*MsgBuy) GetBuyerAddress ¶ added in v0.19.0
func (*MsgBuy) GetBuyerDid ¶
func (m *MsgBuy) GetBuyerDid() github_com_ixofoundation_ixo_blockchain_x_iid_types.DIDFragment
func (MsgBuy) GetIidController ¶ added in v0.19.0
func (msg MsgBuy) GetIidController() iidtypes.DIDFragment
func (*MsgBuy) GetMaxPrices ¶
func (m *MsgBuy) GetMaxPrices() github_com_cosmos_cosmos_sdk_types.Coins
func (MsgBuy) GetSignBytes ¶
func (MsgBuy) GetSigners ¶
func (msg MsgBuy) GetSigners() []sdk.AccAddress
func (msg MsgBuy) GetSignerDid() didexported.Did { return msg.BuyerDid }
func (*MsgBuy) MarshalToSizedBuffer ¶
func (*MsgBuy) ProtoMessage ¶
func (*MsgBuy) ProtoMessage()
func (MsgBuy) ValidateBasic ¶
func (*MsgBuy) XXX_DiscardUnknown ¶
func (m *MsgBuy) XXX_DiscardUnknown()
func (*MsgBuy) XXX_Marshal ¶
func (*MsgBuy) XXX_Unmarshal ¶
type MsgBuyResponse ¶
type MsgBuyResponse struct { }
MsgBuyResponse defines the Msg/Buy response type.
func (*MsgBuyResponse) Descriptor ¶
func (*MsgBuyResponse) Descriptor() ([]byte, []int)
func (*MsgBuyResponse) Marshal ¶
func (m *MsgBuyResponse) Marshal() (dAtA []byte, err error)
func (*MsgBuyResponse) MarshalToSizedBuffer ¶
func (m *MsgBuyResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgBuyResponse) ProtoMessage ¶
func (*MsgBuyResponse) ProtoMessage()
func (*MsgBuyResponse) Reset ¶
func (m *MsgBuyResponse) Reset()
func (*MsgBuyResponse) Size ¶
func (m *MsgBuyResponse) Size() (n int)
func (*MsgBuyResponse) String ¶
func (m *MsgBuyResponse) String() string
func (*MsgBuyResponse) Unmarshal ¶
func (m *MsgBuyResponse) Unmarshal(dAtA []byte) error
func (*MsgBuyResponse) XXX_DiscardUnknown ¶
func (m *MsgBuyResponse) XXX_DiscardUnknown()
func (*MsgBuyResponse) XXX_Marshal ¶
func (m *MsgBuyResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgBuyResponse) XXX_Merge ¶
func (m *MsgBuyResponse) XXX_Merge(src proto.Message)
func (*MsgBuyResponse) XXX_Size ¶
func (m *MsgBuyResponse) XXX_Size() int
func (*MsgBuyResponse) XXX_Unmarshal ¶
func (m *MsgBuyResponse) XXX_Unmarshal(b []byte) error
type MsgClient ¶
type MsgClient interface { // CreateBond defines a method for creating a bond. CreateBond(ctx context.Context, in *MsgCreateBond, opts ...grpc.CallOption) (*MsgCreateBondResponse, error) // EditBond defines a method for editing a bond. EditBond(ctx context.Context, in *MsgEditBond, opts ...grpc.CallOption) (*MsgEditBondResponse, error) // SetNextAlpha defines a method for editing a bond's alpha parameter. SetNextAlpha(ctx context.Context, in *MsgSetNextAlpha, opts ...grpc.CallOption) (*MsgSetNextAlphaResponse, error) // UpdateBondState defines a method for updating a bond's current state. UpdateBondState(ctx context.Context, in *MsgUpdateBondState, opts ...grpc.CallOption) (*MsgUpdateBondStateResponse, error) // Buy defines a method for buying from a bond. Buy(ctx context.Context, in *MsgBuy, opts ...grpc.CallOption) (*MsgBuyResponse, error) // Sell defines a method for selling from a bond. Sell(ctx context.Context, in *MsgSell, opts ...grpc.CallOption) (*MsgSellResponse, error) // Swap defines a method for swapping from one reserve bond token to another. Swap(ctx context.Context, in *MsgSwap, opts ...grpc.CallOption) (*MsgSwapResponse, error) // MakeOutcomePayment defines a method for making an outcome payment to a bond. MakeOutcomePayment(ctx context.Context, in *MsgMakeOutcomePayment, opts ...grpc.CallOption) (*MsgMakeOutcomePaymentResponse, error) WithdrawShare(ctx context.Context, in *MsgWithdrawShare, opts ...grpc.CallOption) (*MsgWithdrawShareResponse, error) // WithdrawReserve defines a method for withdrawing reserve from a bond. WithdrawReserve(ctx context.Context, in *MsgWithdrawReserve, opts ...grpc.CallOption) (*MsgWithdrawReserveResponse, error) }
MsgClient is the client API for Msg service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewMsgClient ¶
func NewMsgClient(cc grpc1.ClientConn) MsgClient
type MsgCreateBond ¶
type MsgCreateBond struct { BondDid string `protobuf:"bytes,1,opt,name=bond_did,json=bondDid,proto3" json:"bond_did,omitempty" yaml:"bond_did"` Token string `protobuf:"bytes,2,opt,name=token,proto3" json:"token,omitempty" yaml:"token"` Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty" yaml:"name"` Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty" yaml:"description"` FunctionType string `protobuf:"bytes,5,opt,name=function_type,json=functionType,proto3" json:"function_type,omitempty" yaml:"function_type"` FunctionParameters FunctionParams `` /* 160-byte string literal not displayed */ CreatorDid github_com_ixofoundation_ixo_blockchain_x_iid_types.DIDFragment `` /* 183-byte string literal not displayed */ ControllerDid github_com_ixofoundation_ixo_blockchain_x_iid_types.DIDFragment `` /* 195-byte string literal not displayed */ OracleDid github_com_ixofoundation_ixo_blockchain_x_iid_types.DIDFragment `` /* 179-byte string literal not displayed */ ReserveTokens []string `protobuf:"bytes,10,rep,name=reserve_tokens,json=reserveTokens,proto3" json:"reserve_tokens,omitempty" yaml:"reserve_tokens"` TxFeePercentage github_com_cosmos_cosmos_sdk_types.Dec `` /* 174-byte string literal not displayed */ ExitFeePercentage github_com_cosmos_cosmos_sdk_types.Dec `` /* 182-byte string literal not displayed */ FeeAddress string `protobuf:"bytes,13,opt,name=fee_address,json=feeAddress,proto3" json:"fee_address,omitempty" yaml:"fee_address"` ReserveWithdrawalAddress string `` /* 170-byte string literal not displayed */ MaxSupply types.Coin `protobuf:"bytes,15,opt,name=max_supply,json=maxSupply,proto3" json:"max_supply" yaml:"max_supply"` OrderQuantityLimits github_com_cosmos_cosmos_sdk_types.Coins `` /* 194-byte string literal not displayed */ SanityRate github_com_cosmos_cosmos_sdk_types.Dec `` /* 151-byte string literal not displayed */ SanityMarginPercentage github_com_cosmos_cosmos_sdk_types.Dec `` /* 202-byte string literal not displayed */ AllowSells bool `protobuf:"varint,19,opt,name=allow_sells,json=allowSells,proto3" json:"allow_sells,omitempty" yaml:"allow_sells"` AllowReserveWithdrawals bool `` /* 167-byte string literal not displayed */ AlphaBond bool `protobuf:"varint,21,opt,name=alpha_bond,json=alphaBond,proto3" json:"alpha_bond,omitempty" yaml:"alpha_bond"` BatchBlocks github_com_cosmos_cosmos_sdk_types.Uint `` /* 156-byte string literal not displayed */ OutcomePayment github_com_cosmos_cosmos_sdk_types.Int `` /* 167-byte string literal not displayed */ CreatorAddress string `protobuf:"bytes,24,opt,name=creator_address,json=creatorAddress,proto3" json:"creator_address" yaml:"creator_address"` }
MsgCreateBond defines a message for creating a new bond.
func NewMsgCreateBond ¶
func NewMsgCreateBond(token, name, description string, creatorDid, controllerDid, oracleDid iidtypes.DIDFragment, functionType string, functionParameters FunctionParams, reserveTokens []string, txFeePercentage, exitFeePercentage sdk.Dec, feeAddress, reserveWithdrawalAddress sdk.AccAddress, maxSupply sdk.Coin, orderQuantityLimits sdk.Coins, sanityRate, sanityMarginPercentage sdk.Dec, allowSell, allowReserveWithdrawals, alphaBond bool, batchBlocks sdk.Uint, outcomePayment sdk.Int, bondDid didexported.Did, creatorAddress string) *MsgCreateBond
func (*MsgCreateBond) Descriptor ¶
func (*MsgCreateBond) Descriptor() ([]byte, []int)
func (*MsgCreateBond) GetAllowReserveWithdrawals ¶ added in v0.16.0
func (m *MsgCreateBond) GetAllowReserveWithdrawals() bool
func (*MsgCreateBond) GetAllowSells ¶
func (m *MsgCreateBond) GetAllowSells() bool
func (*MsgCreateBond) GetAlphaBond ¶
func (m *MsgCreateBond) GetAlphaBond() bool
func (*MsgCreateBond) GetBondDid ¶
func (m *MsgCreateBond) GetBondDid() string
func (*MsgCreateBond) GetControllerDid ¶
func (m *MsgCreateBond) GetControllerDid() github_com_ixofoundation_ixo_blockchain_x_iid_types.DIDFragment
func (*MsgCreateBond) GetCreatorAddress ¶ added in v0.19.0
func (m *MsgCreateBond) GetCreatorAddress() string
func (*MsgCreateBond) GetCreatorDid ¶
func (m *MsgCreateBond) GetCreatorDid() github_com_ixofoundation_ixo_blockchain_x_iid_types.DIDFragment
func (*MsgCreateBond) GetDescription ¶
func (m *MsgCreateBond) GetDescription() string
func (*MsgCreateBond) GetFeeAddress ¶
func (m *MsgCreateBond) GetFeeAddress() string
func (*MsgCreateBond) GetFunctionParameters ¶
func (m *MsgCreateBond) GetFunctionParameters() FunctionParams
func (*MsgCreateBond) GetFunctionType ¶
func (m *MsgCreateBond) GetFunctionType() string
func (MsgCreateBond) GetIidController ¶ added in v0.19.0
func (msg MsgCreateBond) GetIidController() iidtypes.DIDFragment
func (*MsgCreateBond) GetMaxSupply ¶
func (m *MsgCreateBond) GetMaxSupply() types.Coin
func (*MsgCreateBond) GetName ¶
func (m *MsgCreateBond) GetName() string
func (*MsgCreateBond) GetOracleDid ¶ added in v0.19.1
func (m *MsgCreateBond) GetOracleDid() github_com_ixofoundation_ixo_blockchain_x_iid_types.DIDFragment
func (*MsgCreateBond) GetOrderQuantityLimits ¶
func (m *MsgCreateBond) GetOrderQuantityLimits() github_com_cosmos_cosmos_sdk_types.Coins
func (*MsgCreateBond) GetReserveTokens ¶
func (m *MsgCreateBond) GetReserveTokens() []string
func (*MsgCreateBond) GetReserveWithdrawalAddress ¶ added in v0.16.0
func (m *MsgCreateBond) GetReserveWithdrawalAddress() string
func (MsgCreateBond) GetSignBytes ¶
func (msg MsgCreateBond) GetSignBytes() []byte
func (MsgCreateBond) GetSigners ¶
func (msg MsgCreateBond) GetSigners() []sdk.AccAddress
func (msg MsgCreateBond) GetSignerDid() didexported.Did { return msg.CreatorDid.Did() }
func (*MsgCreateBond) GetToken ¶
func (m *MsgCreateBond) GetToken() string
func (*MsgCreateBond) Marshal ¶
func (m *MsgCreateBond) Marshal() (dAtA []byte, err error)
func (*MsgCreateBond) MarshalToSizedBuffer ¶
func (m *MsgCreateBond) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgCreateBond) ProtoMessage ¶
func (*MsgCreateBond) ProtoMessage()
func (*MsgCreateBond) Reset ¶
func (m *MsgCreateBond) Reset()
func (MsgCreateBond) Route ¶
func (msg MsgCreateBond) Route() string
func (*MsgCreateBond) Size ¶
func (m *MsgCreateBond) Size() (n int)
func (*MsgCreateBond) String ¶
func (m *MsgCreateBond) String() string
func (MsgCreateBond) Type ¶
func (msg MsgCreateBond) Type() string
func (*MsgCreateBond) Unmarshal ¶
func (m *MsgCreateBond) Unmarshal(dAtA []byte) error
func (MsgCreateBond) ValidateBasic ¶
func (msg MsgCreateBond) ValidateBasic() error
func (*MsgCreateBond) XXX_DiscardUnknown ¶
func (m *MsgCreateBond) XXX_DiscardUnknown()
func (*MsgCreateBond) XXX_Marshal ¶
func (m *MsgCreateBond) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgCreateBond) XXX_Merge ¶
func (m *MsgCreateBond) XXX_Merge(src proto.Message)
func (*MsgCreateBond) XXX_Size ¶
func (m *MsgCreateBond) XXX_Size() int
func (*MsgCreateBond) XXX_Unmarshal ¶
func (m *MsgCreateBond) XXX_Unmarshal(b []byte) error
type MsgCreateBondResponse ¶
type MsgCreateBondResponse struct { }
MsgCreateBondResponse defines the Msg/CreateBond response type.
func (*MsgCreateBondResponse) Descriptor ¶
func (*MsgCreateBondResponse) Descriptor() ([]byte, []int)
func (*MsgCreateBondResponse) Marshal ¶
func (m *MsgCreateBondResponse) Marshal() (dAtA []byte, err error)
func (*MsgCreateBondResponse) MarshalTo ¶
func (m *MsgCreateBondResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgCreateBondResponse) MarshalToSizedBuffer ¶
func (m *MsgCreateBondResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgCreateBondResponse) ProtoMessage ¶
func (*MsgCreateBondResponse) ProtoMessage()
func (*MsgCreateBondResponse) Reset ¶
func (m *MsgCreateBondResponse) Reset()
func (*MsgCreateBondResponse) Size ¶
func (m *MsgCreateBondResponse) Size() (n int)
func (*MsgCreateBondResponse) String ¶
func (m *MsgCreateBondResponse) String() string
func (*MsgCreateBondResponse) Unmarshal ¶
func (m *MsgCreateBondResponse) Unmarshal(dAtA []byte) error
func (*MsgCreateBondResponse) XXX_DiscardUnknown ¶
func (m *MsgCreateBondResponse) XXX_DiscardUnknown()
func (*MsgCreateBondResponse) XXX_Marshal ¶
func (m *MsgCreateBondResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgCreateBondResponse) XXX_Merge ¶
func (m *MsgCreateBondResponse) XXX_Merge(src proto.Message)
func (*MsgCreateBondResponse) XXX_Size ¶
func (m *MsgCreateBondResponse) XXX_Size() int
func (*MsgCreateBondResponse) XXX_Unmarshal ¶
func (m *MsgCreateBondResponse) XXX_Unmarshal(b []byte) error
type MsgEditBond ¶
type MsgEditBond struct { BondDid string `protobuf:"bytes,1,opt,name=bond_did,json=bondDid,proto3" json:"bond_did,omitempty" yaml:"bond_did"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty" yaml:"name"` Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty" yaml:"description"` OrderQuantityLimits string `` /* 149-byte string literal not displayed */ SanityRate string `protobuf:"bytes,5,opt,name=sanity_rate,json=sanityRate,proto3" json:"sanity_rate,omitempty" yaml:"sanity_rate"` SanityMarginPercentage string `` /* 161-byte string literal not displayed */ EditorDid github_com_ixofoundation_ixo_blockchain_x_iid_types.DIDFragment `` /* 179-byte string literal not displayed */ EditorAddress string `protobuf:"bytes,8,opt,name=editor_address,json=editorAddress,proto3" json:"editor_address" yaml:"editor_address"` }
MsgEditBond defines a message for editing an existing bond.
func NewMsgEditBond ¶
func NewMsgEditBond(name, description, orderQuantityLimits, sanityRate, sanityMarginPercentage string, editorDid iidtypes.DIDFragment, bondDid didexported.Did, editorAddress string) *MsgEditBond
func (*MsgEditBond) Descriptor ¶
func (*MsgEditBond) Descriptor() ([]byte, []int)
func (*MsgEditBond) GetBondDid ¶
func (m *MsgEditBond) GetBondDid() string
func (*MsgEditBond) GetDescription ¶
func (m *MsgEditBond) GetDescription() string
func (*MsgEditBond) GetEditorAddress ¶ added in v0.19.0
func (m *MsgEditBond) GetEditorAddress() string
func (*MsgEditBond) GetEditorDid ¶
func (m *MsgEditBond) GetEditorDid() github_com_ixofoundation_ixo_blockchain_x_iid_types.DIDFragment
func (MsgEditBond) GetIidController ¶ added in v0.19.0
func (msg MsgEditBond) GetIidController() iidtypes.DIDFragment
func (*MsgEditBond) GetName ¶
func (m *MsgEditBond) GetName() string
func (*MsgEditBond) GetOrderQuantityLimits ¶
func (m *MsgEditBond) GetOrderQuantityLimits() string
func (*MsgEditBond) GetSanityMarginPercentage ¶
func (m *MsgEditBond) GetSanityMarginPercentage() string
func (*MsgEditBond) GetSanityRate ¶
func (m *MsgEditBond) GetSanityRate() string
func (MsgEditBond) GetSignBytes ¶
func (msg MsgEditBond) GetSignBytes() []byte
func (MsgEditBond) GetSigners ¶
func (msg MsgEditBond) GetSigners() []sdk.AccAddress
func (msg MsgEditBond) GetSignerDid() didexported.Did { return msg.EditorDid }
func (*MsgEditBond) Marshal ¶
func (m *MsgEditBond) Marshal() (dAtA []byte, err error)
func (*MsgEditBond) MarshalToSizedBuffer ¶
func (m *MsgEditBond) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgEditBond) ProtoMessage ¶
func (*MsgEditBond) ProtoMessage()
func (*MsgEditBond) Reset ¶
func (m *MsgEditBond) Reset()
func (MsgEditBond) Route ¶
func (msg MsgEditBond) Route() string
func (*MsgEditBond) Size ¶
func (m *MsgEditBond) Size() (n int)
func (*MsgEditBond) String ¶
func (m *MsgEditBond) String() string
func (MsgEditBond) Type ¶
func (msg MsgEditBond) Type() string
func (*MsgEditBond) Unmarshal ¶
func (m *MsgEditBond) Unmarshal(dAtA []byte) error
func (MsgEditBond) ValidateBasic ¶
func (msg MsgEditBond) ValidateBasic() error
func (*MsgEditBond) XXX_DiscardUnknown ¶
func (m *MsgEditBond) XXX_DiscardUnknown()
func (*MsgEditBond) XXX_Marshal ¶
func (m *MsgEditBond) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgEditBond) XXX_Merge ¶
func (m *MsgEditBond) XXX_Merge(src proto.Message)
func (*MsgEditBond) XXX_Size ¶
func (m *MsgEditBond) XXX_Size() int
func (*MsgEditBond) XXX_Unmarshal ¶
func (m *MsgEditBond) XXX_Unmarshal(b []byte) error
type MsgEditBondResponse ¶
type MsgEditBondResponse struct { }
MsgEditBondResponse defines the Msg/EditBond response type.
func (*MsgEditBondResponse) Descriptor ¶
func (*MsgEditBondResponse) Descriptor() ([]byte, []int)
func (*MsgEditBondResponse) Marshal ¶
func (m *MsgEditBondResponse) Marshal() (dAtA []byte, err error)
func (*MsgEditBondResponse) MarshalTo ¶
func (m *MsgEditBondResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgEditBondResponse) MarshalToSizedBuffer ¶
func (m *MsgEditBondResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgEditBondResponse) ProtoMessage ¶
func (*MsgEditBondResponse) ProtoMessage()
func (*MsgEditBondResponse) Reset ¶
func (m *MsgEditBondResponse) Reset()
func (*MsgEditBondResponse) Size ¶
func (m *MsgEditBondResponse) Size() (n int)
func (*MsgEditBondResponse) String ¶
func (m *MsgEditBondResponse) String() string
func (*MsgEditBondResponse) Unmarshal ¶
func (m *MsgEditBondResponse) Unmarshal(dAtA []byte) error
func (*MsgEditBondResponse) XXX_DiscardUnknown ¶
func (m *MsgEditBondResponse) XXX_DiscardUnknown()
func (*MsgEditBondResponse) XXX_Marshal ¶
func (m *MsgEditBondResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgEditBondResponse) XXX_Merge ¶
func (m *MsgEditBondResponse) XXX_Merge(src proto.Message)
func (*MsgEditBondResponse) XXX_Size ¶
func (m *MsgEditBondResponse) XXX_Size() int
func (*MsgEditBondResponse) XXX_Unmarshal ¶
func (m *MsgEditBondResponse) XXX_Unmarshal(b []byte) error
type MsgMakeOutcomePayment ¶
type MsgMakeOutcomePayment struct { SenderDid github_com_ixofoundation_ixo_blockchain_x_iid_types.DIDFragment `` /* 179-byte string literal not displayed */ Amount github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,2,opt,name=amount,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"amount" yaml:"amount"` BondDid string `protobuf:"bytes,3,opt,name=bond_did,json=bondDid,proto3" json:"bond_did,omitempty" yaml:"bond_did"` SenderAddress string `protobuf:"bytes,4,opt,name=sender_address,json=senderAddress,proto3" json:"sender_address" yaml:"sender_address"` }
MsgMakeOutcomePayment defines a message for making an outcome payment to a bond.
func NewMsgMakeOutcomePayment ¶
func NewMsgMakeOutcomePayment(senderDid iidtypes.DIDFragment, amount sdk.Int, bondDid didexported.Did, senderAddress string) *MsgMakeOutcomePayment
func (*MsgMakeOutcomePayment) Descriptor ¶
func (*MsgMakeOutcomePayment) Descriptor() ([]byte, []int)
func (*MsgMakeOutcomePayment) GetBondDid ¶
func (m *MsgMakeOutcomePayment) GetBondDid() string
func (MsgMakeOutcomePayment) GetIidController ¶ added in v0.19.0
func (msg MsgMakeOutcomePayment) GetIidController() iidtypes.DIDFragment
func (*MsgMakeOutcomePayment) GetSenderAddress ¶ added in v0.19.0
func (m *MsgMakeOutcomePayment) GetSenderAddress() string
func (*MsgMakeOutcomePayment) GetSenderDid ¶
func (m *MsgMakeOutcomePayment) GetSenderDid() github_com_ixofoundation_ixo_blockchain_x_iid_types.DIDFragment
func (MsgMakeOutcomePayment) GetSignBytes ¶
func (msg MsgMakeOutcomePayment) GetSignBytes() []byte
func (MsgMakeOutcomePayment) GetSigners ¶
func (msg MsgMakeOutcomePayment) GetSigners() []sdk.AccAddress
func (msg MsgMakeOutcomePayment) GetSignerDid() didexported.Did { return msg.SenderDid }
func (*MsgMakeOutcomePayment) Marshal ¶
func (m *MsgMakeOutcomePayment) Marshal() (dAtA []byte, err error)
func (*MsgMakeOutcomePayment) MarshalTo ¶
func (m *MsgMakeOutcomePayment) MarshalTo(dAtA []byte) (int, error)
func (*MsgMakeOutcomePayment) MarshalToSizedBuffer ¶
func (m *MsgMakeOutcomePayment) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgMakeOutcomePayment) ProtoMessage ¶
func (*MsgMakeOutcomePayment) ProtoMessage()
func (*MsgMakeOutcomePayment) Reset ¶
func (m *MsgMakeOutcomePayment) Reset()
func (MsgMakeOutcomePayment) Route ¶
func (msg MsgMakeOutcomePayment) Route() string
func (*MsgMakeOutcomePayment) Size ¶
func (m *MsgMakeOutcomePayment) Size() (n int)
func (*MsgMakeOutcomePayment) String ¶
func (m *MsgMakeOutcomePayment) String() string
func (MsgMakeOutcomePayment) Type ¶
func (msg MsgMakeOutcomePayment) Type() string
func (*MsgMakeOutcomePayment) Unmarshal ¶
func (m *MsgMakeOutcomePayment) Unmarshal(dAtA []byte) error
func (MsgMakeOutcomePayment) ValidateBasic ¶
func (msg MsgMakeOutcomePayment) ValidateBasic() error
func (*MsgMakeOutcomePayment) XXX_DiscardUnknown ¶
func (m *MsgMakeOutcomePayment) XXX_DiscardUnknown()
func (*MsgMakeOutcomePayment) XXX_Marshal ¶
func (m *MsgMakeOutcomePayment) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgMakeOutcomePayment) XXX_Merge ¶
func (m *MsgMakeOutcomePayment) XXX_Merge(src proto.Message)
func (*MsgMakeOutcomePayment) XXX_Size ¶
func (m *MsgMakeOutcomePayment) XXX_Size() int
func (*MsgMakeOutcomePayment) XXX_Unmarshal ¶
func (m *MsgMakeOutcomePayment) XXX_Unmarshal(b []byte) error
type MsgMakeOutcomePaymentResponse ¶
type MsgMakeOutcomePaymentResponse struct { }
MsgMakeOutcomePaymentResponse defines the Msg/MakeOutcomePayment response type.
func (*MsgMakeOutcomePaymentResponse) Descriptor ¶
func (*MsgMakeOutcomePaymentResponse) Descriptor() ([]byte, []int)
func (*MsgMakeOutcomePaymentResponse) Marshal ¶
func (m *MsgMakeOutcomePaymentResponse) Marshal() (dAtA []byte, err error)
func (*MsgMakeOutcomePaymentResponse) MarshalTo ¶
func (m *MsgMakeOutcomePaymentResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgMakeOutcomePaymentResponse) MarshalToSizedBuffer ¶
func (m *MsgMakeOutcomePaymentResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgMakeOutcomePaymentResponse) ProtoMessage ¶
func (*MsgMakeOutcomePaymentResponse) ProtoMessage()
func (*MsgMakeOutcomePaymentResponse) Reset ¶
func (m *MsgMakeOutcomePaymentResponse) Reset()
func (*MsgMakeOutcomePaymentResponse) Size ¶
func (m *MsgMakeOutcomePaymentResponse) Size() (n int)
func (*MsgMakeOutcomePaymentResponse) String ¶
func (m *MsgMakeOutcomePaymentResponse) String() string
func (*MsgMakeOutcomePaymentResponse) Unmarshal ¶
func (m *MsgMakeOutcomePaymentResponse) Unmarshal(dAtA []byte) error
func (*MsgMakeOutcomePaymentResponse) XXX_DiscardUnknown ¶
func (m *MsgMakeOutcomePaymentResponse) XXX_DiscardUnknown()
func (*MsgMakeOutcomePaymentResponse) XXX_Marshal ¶
func (m *MsgMakeOutcomePaymentResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgMakeOutcomePaymentResponse) XXX_Merge ¶
func (m *MsgMakeOutcomePaymentResponse) XXX_Merge(src proto.Message)
func (*MsgMakeOutcomePaymentResponse) XXX_Size ¶
func (m *MsgMakeOutcomePaymentResponse) XXX_Size() int
func (*MsgMakeOutcomePaymentResponse) XXX_Unmarshal ¶
func (m *MsgMakeOutcomePaymentResponse) XXX_Unmarshal(b []byte) error
type MsgSell ¶
type MsgSell struct { SellerDid github_com_ixofoundation_ixo_blockchain_x_iid_types.DIDFragment `` /* 179-byte string literal not displayed */ Amount types.Coin `protobuf:"bytes,2,opt,name=amount,proto3" json:"amount" yaml:"amount"` BondDid string `protobuf:"bytes,3,opt,name=bond_did,json=bondDid,proto3" json:"bond_did,omitempty" yaml:"bond_did"` SellerAddress string `protobuf:"bytes,4,opt,name=seller_address,json=sellerAddress,proto3" json:"seller_address" yaml:"seller_address"` }
MsgSell defines a message for selling from a bond.
func NewMsgSell ¶
func NewMsgSell(sellerDid iidtypes.DIDFragment, amount sdk.Coin, bondDid didexported.Did, sellerAddress string) *MsgSell
func (*MsgSell) Descriptor ¶
func (*MsgSell) GetBondDid ¶
func (MsgSell) GetIidController ¶ added in v0.19.0
func (msg MsgSell) GetIidController() iidtypes.DIDFragment
func (*MsgSell) GetSellerAddress ¶ added in v0.19.0
func (*MsgSell) GetSellerDid ¶
func (m *MsgSell) GetSellerDid() github_com_ixofoundation_ixo_blockchain_x_iid_types.DIDFragment
func (MsgSell) GetSignBytes ¶
func (MsgSell) GetSigners ¶
func (msg MsgSell) GetSigners() []sdk.AccAddress
func (msg MsgSell) GetSignerDid() didexported.Did { return msg.SellerDid }
func (*MsgSell) MarshalToSizedBuffer ¶
func (*MsgSell) ProtoMessage ¶
func (*MsgSell) ProtoMessage()
func (MsgSell) ValidateBasic ¶
func (*MsgSell) XXX_DiscardUnknown ¶
func (m *MsgSell) XXX_DiscardUnknown()
func (*MsgSell) XXX_Marshal ¶
func (*MsgSell) XXX_Unmarshal ¶
type MsgSellResponse ¶
type MsgSellResponse struct { }
MsgSellResponse defines the Msg/Sell response type.
func (*MsgSellResponse) Descriptor ¶
func (*MsgSellResponse) Descriptor() ([]byte, []int)
func (*MsgSellResponse) Marshal ¶
func (m *MsgSellResponse) Marshal() (dAtA []byte, err error)
func (*MsgSellResponse) MarshalToSizedBuffer ¶
func (m *MsgSellResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgSellResponse) ProtoMessage ¶
func (*MsgSellResponse) ProtoMessage()
func (*MsgSellResponse) Reset ¶
func (m *MsgSellResponse) Reset()
func (*MsgSellResponse) Size ¶
func (m *MsgSellResponse) Size() (n int)
func (*MsgSellResponse) String ¶
func (m *MsgSellResponse) String() string
func (*MsgSellResponse) Unmarshal ¶
func (m *MsgSellResponse) Unmarshal(dAtA []byte) error
func (*MsgSellResponse) XXX_DiscardUnknown ¶
func (m *MsgSellResponse) XXX_DiscardUnknown()
func (*MsgSellResponse) XXX_Marshal ¶
func (m *MsgSellResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgSellResponse) XXX_Merge ¶
func (m *MsgSellResponse) XXX_Merge(src proto.Message)
func (*MsgSellResponse) XXX_Size ¶
func (m *MsgSellResponse) XXX_Size() int
func (*MsgSellResponse) XXX_Unmarshal ¶
func (m *MsgSellResponse) XXX_Unmarshal(b []byte) error
type MsgServer ¶
type MsgServer interface { // CreateBond defines a method for creating a bond. CreateBond(context.Context, *MsgCreateBond) (*MsgCreateBondResponse, error) // EditBond defines a method for editing a bond. EditBond(context.Context, *MsgEditBond) (*MsgEditBondResponse, error) // SetNextAlpha defines a method for editing a bond's alpha parameter. SetNextAlpha(context.Context, *MsgSetNextAlpha) (*MsgSetNextAlphaResponse, error) // UpdateBondState defines a method for updating a bond's current state. UpdateBondState(context.Context, *MsgUpdateBondState) (*MsgUpdateBondStateResponse, error) // Buy defines a method for buying from a bond. Buy(context.Context, *MsgBuy) (*MsgBuyResponse, error) // Sell defines a method for selling from a bond. Sell(context.Context, *MsgSell) (*MsgSellResponse, error) // Swap defines a method for swapping from one reserve bond token to another. Swap(context.Context, *MsgSwap) (*MsgSwapResponse, error) // MakeOutcomePayment defines a method for making an outcome payment to a bond. MakeOutcomePayment(context.Context, *MsgMakeOutcomePayment) (*MsgMakeOutcomePaymentResponse, error) WithdrawShare(context.Context, *MsgWithdrawShare) (*MsgWithdrawShareResponse, error) // WithdrawReserve defines a method for withdrawing reserve from a bond. WithdrawReserve(context.Context, *MsgWithdrawReserve) (*MsgWithdrawReserveResponse, error) }
MsgServer is the server API for Msg service.
type MsgSetNextAlpha ¶
type MsgSetNextAlpha struct { BondDid string `protobuf:"bytes,1,opt,name=bond_did,json=bondDid,proto3" json:"bond_did,omitempty" yaml:"bond_did"` Alpha github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,2,opt,name=alpha,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"alpha" yaml:"alpha"` Delta *github_com_cosmos_cosmos_sdk_types.Dec `` /* 126-byte string literal not displayed */ OracleDid github_com_ixofoundation_ixo_blockchain_x_iid_types.DIDFragment `` /* 179-byte string literal not displayed */ OracleAddress string `protobuf:"bytes,5,opt,name=oracle_address,json=oracleAddress,proto3" json:"editor_address" yaml:"editor_address"` }
MsgSetNextAlpha defines a message for editing a bond's alpha parameter.
func NewMsgSetNextAlpha ¶
func NewMsgSetNextAlpha(alpha sdk.Dec, oracleDid iidtypes.DIDFragment, bondDid didexported.Did, oracleAddress string) *MsgSetNextAlpha
func (*MsgSetNextAlpha) Descriptor ¶
func (*MsgSetNextAlpha) Descriptor() ([]byte, []int)
func (*MsgSetNextAlpha) GetBondDid ¶
func (m *MsgSetNextAlpha) GetBondDid() string
func (MsgSetNextAlpha) GetIidController ¶ added in v0.19.0
func (msg MsgSetNextAlpha) GetIidController() iidtypes.DIDFragment
func (*MsgSetNextAlpha) GetOracleAddress ¶ added in v0.19.1
func (m *MsgSetNextAlpha) GetOracleAddress() string
func (*MsgSetNextAlpha) GetOracleDid ¶ added in v0.19.1
func (m *MsgSetNextAlpha) GetOracleDid() github_com_ixofoundation_ixo_blockchain_x_iid_types.DIDFragment
func (MsgSetNextAlpha) GetSignBytes ¶
func (msg MsgSetNextAlpha) GetSignBytes() []byte
func (MsgSetNextAlpha) GetSigners ¶
func (msg MsgSetNextAlpha) GetSigners() []sdk.AccAddress
func (msg MsgSetNextAlpha) GetSignerDid() didexported.Did { return msg.EditorDid }
func (*MsgSetNextAlpha) Marshal ¶
func (m *MsgSetNextAlpha) Marshal() (dAtA []byte, err error)
func (*MsgSetNextAlpha) MarshalToSizedBuffer ¶
func (m *MsgSetNextAlpha) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgSetNextAlpha) ProtoMessage ¶
func (*MsgSetNextAlpha) ProtoMessage()
func (*MsgSetNextAlpha) Reset ¶
func (m *MsgSetNextAlpha) Reset()
func (MsgSetNextAlpha) Route ¶
func (msg MsgSetNextAlpha) Route() string
func (*MsgSetNextAlpha) Size ¶
func (m *MsgSetNextAlpha) Size() (n int)
func (*MsgSetNextAlpha) String ¶
func (m *MsgSetNextAlpha) String() string
func (MsgSetNextAlpha) Type ¶
func (msg MsgSetNextAlpha) Type() string
func (*MsgSetNextAlpha) Unmarshal ¶
func (m *MsgSetNextAlpha) Unmarshal(dAtA []byte) error
func (MsgSetNextAlpha) ValidateBasic ¶
func (msg MsgSetNextAlpha) ValidateBasic() error
func (*MsgSetNextAlpha) XXX_DiscardUnknown ¶
func (m *MsgSetNextAlpha) XXX_DiscardUnknown()
func (*MsgSetNextAlpha) XXX_Marshal ¶
func (m *MsgSetNextAlpha) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgSetNextAlpha) XXX_Merge ¶
func (m *MsgSetNextAlpha) XXX_Merge(src proto.Message)
func (*MsgSetNextAlpha) XXX_Size ¶
func (m *MsgSetNextAlpha) XXX_Size() int
func (*MsgSetNextAlpha) XXX_Unmarshal ¶
func (m *MsgSetNextAlpha) XXX_Unmarshal(b []byte) error
type MsgSetNextAlphaResponse ¶
type MsgSetNextAlphaResponse struct { }
func (*MsgSetNextAlphaResponse) Descriptor ¶
func (*MsgSetNextAlphaResponse) Descriptor() ([]byte, []int)
func (*MsgSetNextAlphaResponse) Marshal ¶
func (m *MsgSetNextAlphaResponse) Marshal() (dAtA []byte, err error)
func (*MsgSetNextAlphaResponse) MarshalTo ¶
func (m *MsgSetNextAlphaResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgSetNextAlphaResponse) MarshalToSizedBuffer ¶
func (m *MsgSetNextAlphaResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgSetNextAlphaResponse) ProtoMessage ¶
func (*MsgSetNextAlphaResponse) ProtoMessage()
func (*MsgSetNextAlphaResponse) Reset ¶
func (m *MsgSetNextAlphaResponse) Reset()
func (*MsgSetNextAlphaResponse) Size ¶
func (m *MsgSetNextAlphaResponse) Size() (n int)
func (*MsgSetNextAlphaResponse) String ¶
func (m *MsgSetNextAlphaResponse) String() string
func (*MsgSetNextAlphaResponse) Unmarshal ¶
func (m *MsgSetNextAlphaResponse) Unmarshal(dAtA []byte) error
func (*MsgSetNextAlphaResponse) XXX_DiscardUnknown ¶
func (m *MsgSetNextAlphaResponse) XXX_DiscardUnknown()
func (*MsgSetNextAlphaResponse) XXX_Marshal ¶
func (m *MsgSetNextAlphaResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgSetNextAlphaResponse) XXX_Merge ¶
func (m *MsgSetNextAlphaResponse) XXX_Merge(src proto.Message)
func (*MsgSetNextAlphaResponse) XXX_Size ¶
func (m *MsgSetNextAlphaResponse) XXX_Size() int
func (*MsgSetNextAlphaResponse) XXX_Unmarshal ¶
func (m *MsgSetNextAlphaResponse) XXX_Unmarshal(b []byte) error
type MsgSwap ¶
type MsgSwap struct { SwapperDid github_com_ixofoundation_ixo_blockchain_x_iid_types.DIDFragment `` /* 183-byte string literal not displayed */ BondDid string `protobuf:"bytes,2,opt,name=bond_did,json=bondDid,proto3" json:"bond_did,omitempty" yaml:"bond_did"` From types.Coin `protobuf:"bytes,3,opt,name=from,proto3" json:"from" yaml:"from"` ToToken string `protobuf:"bytes,4,opt,name=to_token,json=toToken,proto3" json:"to_token,omitempty" yaml:"to_token"` SwapperAddress string `protobuf:"bytes,5,opt,name=swapper_address,json=swapperAddress,proto3" json:"swapper_address" yaml:"swapper_address"` }
MsgSwap defines a message for swapping from one reserve bond token to another.
func NewMsgSwap ¶
func NewMsgSwap(swapperDid iidtypes.DIDFragment, from sdk.Coin, toToken string, bondDid didexported.Did, swapperAddress string) *MsgSwap
func (*MsgSwap) Descriptor ¶
func (*MsgSwap) GetBondDid ¶
func (MsgSwap) GetIidController ¶ added in v0.19.0
func (msg MsgSwap) GetIidController() iidtypes.DIDFragment
func (MsgSwap) GetSignBytes ¶
func (MsgSwap) GetSigners ¶
func (msg MsgSwap) GetSigners() []sdk.AccAddress
func (msg MsgSwap) GetSignerDid() didexported.Did { return msg.SwapperDid }
func (*MsgSwap) GetSwapperAddress ¶ added in v0.19.0
func (*MsgSwap) GetSwapperDid ¶
func (m *MsgSwap) GetSwapperDid() github_com_ixofoundation_ixo_blockchain_x_iid_types.DIDFragment
func (*MsgSwap) GetToToken ¶
func (*MsgSwap) MarshalToSizedBuffer ¶
func (*MsgSwap) ProtoMessage ¶
func (*MsgSwap) ProtoMessage()
func (MsgSwap) ValidateBasic ¶
func (*MsgSwap) XXX_DiscardUnknown ¶
func (m *MsgSwap) XXX_DiscardUnknown()
func (*MsgSwap) XXX_Marshal ¶
func (*MsgSwap) XXX_Unmarshal ¶
type MsgSwapResponse ¶
type MsgSwapResponse struct { }
MsgSwapResponse defines the Msg/Swap response type.
func (*MsgSwapResponse) Descriptor ¶
func (*MsgSwapResponse) Descriptor() ([]byte, []int)
func (*MsgSwapResponse) Marshal ¶
func (m *MsgSwapResponse) Marshal() (dAtA []byte, err error)
func (*MsgSwapResponse) MarshalToSizedBuffer ¶
func (m *MsgSwapResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgSwapResponse) ProtoMessage ¶
func (*MsgSwapResponse) ProtoMessage()
func (*MsgSwapResponse) Reset ¶
func (m *MsgSwapResponse) Reset()
func (*MsgSwapResponse) Size ¶
func (m *MsgSwapResponse) Size() (n int)
func (*MsgSwapResponse) String ¶
func (m *MsgSwapResponse) String() string
func (*MsgSwapResponse) Unmarshal ¶
func (m *MsgSwapResponse) Unmarshal(dAtA []byte) error
func (*MsgSwapResponse) XXX_DiscardUnknown ¶
func (m *MsgSwapResponse) XXX_DiscardUnknown()
func (*MsgSwapResponse) XXX_Marshal ¶
func (m *MsgSwapResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgSwapResponse) XXX_Merge ¶
func (m *MsgSwapResponse) XXX_Merge(src proto.Message)
func (*MsgSwapResponse) XXX_Size ¶
func (m *MsgSwapResponse) XXX_Size() int
func (*MsgSwapResponse) XXX_Unmarshal ¶
func (m *MsgSwapResponse) XXX_Unmarshal(b []byte) error
type MsgUpdateBondState ¶
type MsgUpdateBondState struct { BondDid string `protobuf:"bytes,1,opt,name=bond_did,json=bondDid,proto3" json:"bond_did,omitempty" yaml:"bond_did"` State string `protobuf:"bytes,2,opt,name=state,proto3" json:"state,omitempty" yaml:"state"` EditorDid github_com_ixofoundation_ixo_blockchain_x_iid_types.DIDFragment `` /* 179-byte string literal not displayed */ EditorAddress string `protobuf:"bytes,4,opt,name=editor_address,json=editorAddress,proto3" json:"oracle_address" yaml:"oracle_address"` }
MsgUpdateBondState defines a message for updating a bond's current state.
func NewMsgUpdateBondState ¶
func NewMsgUpdateBondState(state BondState, editorDid iidtypes.DIDFragment, bondDid didexported.Did, editorAddress string) *MsgUpdateBondState
func (*MsgUpdateBondState) Descriptor ¶
func (*MsgUpdateBondState) Descriptor() ([]byte, []int)
func (*MsgUpdateBondState) GetBondDid ¶
func (m *MsgUpdateBondState) GetBondDid() string
func (*MsgUpdateBondState) GetEditorAddress ¶ added in v0.19.0
func (m *MsgUpdateBondState) GetEditorAddress() string
func (*MsgUpdateBondState) GetEditorDid ¶
func (m *MsgUpdateBondState) GetEditorDid() github_com_ixofoundation_ixo_blockchain_x_iid_types.DIDFragment
func (MsgUpdateBondState) GetIidController ¶ added in v0.19.0
func (msg MsgUpdateBondState) GetIidController() iidtypes.DIDFragment
func (MsgUpdateBondState) GetSignBytes ¶
func (msg MsgUpdateBondState) GetSignBytes() []byte
func (MsgUpdateBondState) GetSigners ¶
func (msg MsgUpdateBondState) GetSigners() []sdk.AccAddress
func (msg MsgUpdateBondState) GetSignerDid() didexported.Did { return msg.EditorDid }
func (*MsgUpdateBondState) GetState ¶
func (m *MsgUpdateBondState) GetState() string
func (*MsgUpdateBondState) Marshal ¶
func (m *MsgUpdateBondState) Marshal() (dAtA []byte, err error)
func (*MsgUpdateBondState) MarshalTo ¶
func (m *MsgUpdateBondState) MarshalTo(dAtA []byte) (int, error)
func (*MsgUpdateBondState) MarshalToSizedBuffer ¶
func (m *MsgUpdateBondState) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgUpdateBondState) ProtoMessage ¶
func (*MsgUpdateBondState) ProtoMessage()
func (*MsgUpdateBondState) Reset ¶
func (m *MsgUpdateBondState) Reset()
func (MsgUpdateBondState) Route ¶
func (msg MsgUpdateBondState) Route() string
func (*MsgUpdateBondState) Size ¶
func (m *MsgUpdateBondState) Size() (n int)
func (*MsgUpdateBondState) String ¶
func (m *MsgUpdateBondState) String() string
func (MsgUpdateBondState) Type ¶
func (msg MsgUpdateBondState) Type() string
func (*MsgUpdateBondState) Unmarshal ¶
func (m *MsgUpdateBondState) Unmarshal(dAtA []byte) error
func (MsgUpdateBondState) ValidateBasic ¶
func (msg MsgUpdateBondState) ValidateBasic() error
func (*MsgUpdateBondState) XXX_DiscardUnknown ¶
func (m *MsgUpdateBondState) XXX_DiscardUnknown()
func (*MsgUpdateBondState) XXX_Marshal ¶
func (m *MsgUpdateBondState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgUpdateBondState) XXX_Merge ¶
func (m *MsgUpdateBondState) XXX_Merge(src proto.Message)
func (*MsgUpdateBondState) XXX_Size ¶
func (m *MsgUpdateBondState) XXX_Size() int
func (*MsgUpdateBondState) XXX_Unmarshal ¶
func (m *MsgUpdateBondState) XXX_Unmarshal(b []byte) error
type MsgUpdateBondStateResponse ¶
type MsgUpdateBondStateResponse struct { }
MsgUpdateBondStateResponse defines the Msg/UpdateBondState response type.
func (*MsgUpdateBondStateResponse) Descriptor ¶
func (*MsgUpdateBondStateResponse) Descriptor() ([]byte, []int)
func (*MsgUpdateBondStateResponse) Marshal ¶
func (m *MsgUpdateBondStateResponse) Marshal() (dAtA []byte, err error)
func (*MsgUpdateBondStateResponse) MarshalTo ¶
func (m *MsgUpdateBondStateResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgUpdateBondStateResponse) MarshalToSizedBuffer ¶
func (m *MsgUpdateBondStateResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgUpdateBondStateResponse) ProtoMessage ¶
func (*MsgUpdateBondStateResponse) ProtoMessage()
func (*MsgUpdateBondStateResponse) Reset ¶
func (m *MsgUpdateBondStateResponse) Reset()
func (*MsgUpdateBondStateResponse) Size ¶
func (m *MsgUpdateBondStateResponse) Size() (n int)
func (*MsgUpdateBondStateResponse) String ¶
func (m *MsgUpdateBondStateResponse) String() string
func (*MsgUpdateBondStateResponse) Unmarshal ¶
func (m *MsgUpdateBondStateResponse) Unmarshal(dAtA []byte) error
func (*MsgUpdateBondStateResponse) XXX_DiscardUnknown ¶
func (m *MsgUpdateBondStateResponse) XXX_DiscardUnknown()
func (*MsgUpdateBondStateResponse) XXX_Marshal ¶
func (m *MsgUpdateBondStateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgUpdateBondStateResponse) XXX_Merge ¶
func (m *MsgUpdateBondStateResponse) XXX_Merge(src proto.Message)
func (*MsgUpdateBondStateResponse) XXX_Size ¶
func (m *MsgUpdateBondStateResponse) XXX_Size() int
func (*MsgUpdateBondStateResponse) XXX_Unmarshal ¶
func (m *MsgUpdateBondStateResponse) XXX_Unmarshal(b []byte) error
type MsgWithdrawReserve ¶ added in v0.16.0
type MsgWithdrawReserve struct { WithdrawerDid github_com_ixofoundation_ixo_blockchain_x_iid_types.DIDFragment `` /* 195-byte string literal not displayed */ Amount github_com_cosmos_cosmos_sdk_types.Coins `protobuf:"bytes,2,rep,name=amount,proto3,castrepeated=github.com/cosmos/cosmos-sdk/types.Coins" json:"amount" yaml:"amount"` BondDid string `protobuf:"bytes,3,opt,name=bond_did,json=bondDid,proto3" json:"bond_did,omitempty" yaml:"bond_did"` WithdrawerAddress string `` /* 128-byte string literal not displayed */ }
MsgWithdrawReserve defines a message for withdrawing reserve from a bond.
func NewMsgWithdrawReserve ¶ added in v0.16.0
func NewMsgWithdrawReserve(withdrawerDid iidtypes.DIDFragment, amount sdk.Coins, bondDid didexported.Did, withdrawerAddress string) *MsgWithdrawReserve
func (*MsgWithdrawReserve) Descriptor ¶ added in v0.16.0
func (*MsgWithdrawReserve) Descriptor() ([]byte, []int)
func (*MsgWithdrawReserve) GetAmount ¶ added in v0.16.0
func (m *MsgWithdrawReserve) GetAmount() github_com_cosmos_cosmos_sdk_types.Coins
func (*MsgWithdrawReserve) GetBondDid ¶ added in v0.16.0
func (m *MsgWithdrawReserve) GetBondDid() string
func (MsgWithdrawReserve) GetIidController ¶ added in v0.19.0
func (msg MsgWithdrawReserve) GetIidController() iidtypes.DIDFragment
func (MsgWithdrawReserve) GetSignBytes ¶ added in v0.16.0
func (msg MsgWithdrawReserve) GetSignBytes() []byte
func (MsgWithdrawReserve) GetSigners ¶ added in v0.16.0
func (msg MsgWithdrawReserve) GetSigners() []sdk.AccAddress
func (msg MsgWithdrawReserve) GetSignerDid() didexported.Did { return msg.WithdrawerDid }
func (*MsgWithdrawReserve) GetWithdrawerAddress ¶ added in v0.19.0
func (m *MsgWithdrawReserve) GetWithdrawerAddress() string
func (*MsgWithdrawReserve) GetWithdrawerDid ¶ added in v0.16.0
func (m *MsgWithdrawReserve) GetWithdrawerDid() github_com_ixofoundation_ixo_blockchain_x_iid_types.DIDFragment
func (*MsgWithdrawReserve) Marshal ¶ added in v0.16.0
func (m *MsgWithdrawReserve) Marshal() (dAtA []byte, err error)
func (*MsgWithdrawReserve) MarshalTo ¶ added in v0.16.0
func (m *MsgWithdrawReserve) MarshalTo(dAtA []byte) (int, error)
func (*MsgWithdrawReserve) MarshalToSizedBuffer ¶ added in v0.16.0
func (m *MsgWithdrawReserve) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgWithdrawReserve) ProtoMessage ¶ added in v0.16.0
func (*MsgWithdrawReserve) ProtoMessage()
func (*MsgWithdrawReserve) Reset ¶ added in v0.16.0
func (m *MsgWithdrawReserve) Reset()
func (MsgWithdrawReserve) Route ¶ added in v0.16.0
func (msg MsgWithdrawReserve) Route() string
func (*MsgWithdrawReserve) Size ¶ added in v0.16.0
func (m *MsgWithdrawReserve) Size() (n int)
func (*MsgWithdrawReserve) String ¶ added in v0.16.0
func (m *MsgWithdrawReserve) String() string
func (MsgWithdrawReserve) Type ¶ added in v0.16.0
func (msg MsgWithdrawReserve) Type() string
func (*MsgWithdrawReserve) Unmarshal ¶ added in v0.16.0
func (m *MsgWithdrawReserve) Unmarshal(dAtA []byte) error
func (MsgWithdrawReserve) ValidateBasic ¶ added in v0.16.0
func (msg MsgWithdrawReserve) ValidateBasic() error
func (*MsgWithdrawReserve) XXX_DiscardUnknown ¶ added in v0.16.0
func (m *MsgWithdrawReserve) XXX_DiscardUnknown()
func (*MsgWithdrawReserve) XXX_Marshal ¶ added in v0.16.0
func (m *MsgWithdrawReserve) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgWithdrawReserve) XXX_Merge ¶ added in v0.16.0
func (m *MsgWithdrawReserve) XXX_Merge(src proto.Message)
func (*MsgWithdrawReserve) XXX_Size ¶ added in v0.16.0
func (m *MsgWithdrawReserve) XXX_Size() int
func (*MsgWithdrawReserve) XXX_Unmarshal ¶ added in v0.16.0
func (m *MsgWithdrawReserve) XXX_Unmarshal(b []byte) error
type MsgWithdrawReserveResponse ¶ added in v0.16.0
type MsgWithdrawReserveResponse struct { }
MsgWithdrawReserveResponse defines the Msg/WithdrawReserve response type.
func (*MsgWithdrawReserveResponse) Descriptor ¶ added in v0.16.0
func (*MsgWithdrawReserveResponse) Descriptor() ([]byte, []int)
func (*MsgWithdrawReserveResponse) Marshal ¶ added in v0.16.0
func (m *MsgWithdrawReserveResponse) Marshal() (dAtA []byte, err error)
func (*MsgWithdrawReserveResponse) MarshalTo ¶ added in v0.16.0
func (m *MsgWithdrawReserveResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgWithdrawReserveResponse) MarshalToSizedBuffer ¶ added in v0.16.0
func (m *MsgWithdrawReserveResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgWithdrawReserveResponse) ProtoMessage ¶ added in v0.16.0
func (*MsgWithdrawReserveResponse) ProtoMessage()
func (*MsgWithdrawReserveResponse) Reset ¶ added in v0.16.0
func (m *MsgWithdrawReserveResponse) Reset()
func (*MsgWithdrawReserveResponse) Size ¶ added in v0.16.0
func (m *MsgWithdrawReserveResponse) Size() (n int)
func (*MsgWithdrawReserveResponse) String ¶ added in v0.16.0
func (m *MsgWithdrawReserveResponse) String() string
func (*MsgWithdrawReserveResponse) Unmarshal ¶ added in v0.16.0
func (m *MsgWithdrawReserveResponse) Unmarshal(dAtA []byte) error
func (*MsgWithdrawReserveResponse) XXX_DiscardUnknown ¶ added in v0.16.0
func (m *MsgWithdrawReserveResponse) XXX_DiscardUnknown()
func (*MsgWithdrawReserveResponse) XXX_Marshal ¶ added in v0.16.0
func (m *MsgWithdrawReserveResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgWithdrawReserveResponse) XXX_Merge ¶ added in v0.16.0
func (m *MsgWithdrawReserveResponse) XXX_Merge(src proto.Message)
func (*MsgWithdrawReserveResponse) XXX_Size ¶ added in v0.16.0
func (m *MsgWithdrawReserveResponse) XXX_Size() int
func (*MsgWithdrawReserveResponse) XXX_Unmarshal ¶ added in v0.16.0
func (m *MsgWithdrawReserveResponse) XXX_Unmarshal(b []byte) error
type MsgWithdrawShare ¶
type MsgWithdrawShare struct {}
MsgWithdrawShare defines a message for withdrawing a share from a bond that is in the SETTLE stage.
func NewMsgWithdrawShare ¶
func NewMsgWithdrawShare(recipientDid iidtypes.DIDFragment, bondDid didexported.Did, recipientAddress string) *MsgWithdrawShare
func (*MsgWithdrawShare) Descriptor ¶
func (*MsgWithdrawShare) Descriptor() ([]byte, []int)
func (*MsgWithdrawShare) GetBondDid ¶
func (m *MsgWithdrawShare) GetBondDid() string
func (MsgWithdrawShare) GetIidController ¶ added in v0.19.0
func (msg MsgWithdrawShare) GetIidController() iidtypes.DIDFragment
func (*MsgWithdrawShare) GetRecipientAddress ¶ added in v0.19.0
func (m *MsgWithdrawShare) GetRecipientAddress() string
func (*MsgWithdrawShare) GetRecipientDid ¶
func (m *MsgWithdrawShare) GetRecipientDid() github_com_ixofoundation_ixo_blockchain_x_iid_types.DIDFragment
func (MsgWithdrawShare) GetSignBytes ¶
func (msg MsgWithdrawShare) GetSignBytes() []byte
func (MsgWithdrawShare) GetSigners ¶
func (msg MsgWithdrawShare) GetSigners() []sdk.AccAddress
func (msg MsgWithdrawShare) GetSignerDid() didexported.Did { return msg.RecipientDid }
func (*MsgWithdrawShare) Marshal ¶
func (m *MsgWithdrawShare) Marshal() (dAtA []byte, err error)
func (*MsgWithdrawShare) MarshalToSizedBuffer ¶
func (m *MsgWithdrawShare) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgWithdrawShare) ProtoMessage ¶
func (*MsgWithdrawShare) ProtoMessage()
func (*MsgWithdrawShare) Reset ¶
func (m *MsgWithdrawShare) Reset()
func (MsgWithdrawShare) Route ¶
func (msg MsgWithdrawShare) Route() string
func (*MsgWithdrawShare) Size ¶
func (m *MsgWithdrawShare) Size() (n int)
func (*MsgWithdrawShare) String ¶
func (m *MsgWithdrawShare) String() string
func (MsgWithdrawShare) Type ¶
func (msg MsgWithdrawShare) Type() string
func (*MsgWithdrawShare) Unmarshal ¶
func (m *MsgWithdrawShare) Unmarshal(dAtA []byte) error
func (MsgWithdrawShare) ValidateBasic ¶
func (msg MsgWithdrawShare) ValidateBasic() error
func (*MsgWithdrawShare) XXX_DiscardUnknown ¶
func (m *MsgWithdrawShare) XXX_DiscardUnknown()
func (*MsgWithdrawShare) XXX_Marshal ¶
func (m *MsgWithdrawShare) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgWithdrawShare) XXX_Merge ¶
func (m *MsgWithdrawShare) XXX_Merge(src proto.Message)
func (*MsgWithdrawShare) XXX_Size ¶
func (m *MsgWithdrawShare) XXX_Size() int
func (*MsgWithdrawShare) XXX_Unmarshal ¶
func (m *MsgWithdrawShare) XXX_Unmarshal(b []byte) error
type MsgWithdrawShareResponse ¶
type MsgWithdrawShareResponse struct { }
MsgWithdrawShareResponse defines the Msg/WithdrawShare response type.
func (*MsgWithdrawShareResponse) Descriptor ¶
func (*MsgWithdrawShareResponse) Descriptor() ([]byte, []int)
func (*MsgWithdrawShareResponse) Marshal ¶
func (m *MsgWithdrawShareResponse) Marshal() (dAtA []byte, err error)
func (*MsgWithdrawShareResponse) MarshalTo ¶
func (m *MsgWithdrawShareResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgWithdrawShareResponse) MarshalToSizedBuffer ¶
func (m *MsgWithdrawShareResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgWithdrawShareResponse) ProtoMessage ¶
func (*MsgWithdrawShareResponse) ProtoMessage()
func (*MsgWithdrawShareResponse) Reset ¶
func (m *MsgWithdrawShareResponse) Reset()
func (*MsgWithdrawShareResponse) Size ¶
func (m *MsgWithdrawShareResponse) Size() (n int)
func (*MsgWithdrawShareResponse) String ¶
func (m *MsgWithdrawShareResponse) String() string
func (*MsgWithdrawShareResponse) Unmarshal ¶
func (m *MsgWithdrawShareResponse) Unmarshal(dAtA []byte) error
func (*MsgWithdrawShareResponse) XXX_DiscardUnknown ¶
func (m *MsgWithdrawShareResponse) XXX_DiscardUnknown()
func (*MsgWithdrawShareResponse) XXX_Marshal ¶
func (m *MsgWithdrawShareResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgWithdrawShareResponse) XXX_Merge ¶
func (m *MsgWithdrawShareResponse) XXX_Merge(src proto.Message)
func (*MsgWithdrawShareResponse) XXX_Size ¶
func (m *MsgWithdrawShareResponse) XXX_Size() int
func (*MsgWithdrawShareResponse) XXX_Unmarshal ¶
func (m *MsgWithdrawShareResponse) XXX_Unmarshal(b []byte) error
type Params ¶
type Params struct {
ReservedBondTokens []string `` /* 145-byte string literal not displayed */
}
Params defines the parameters for the bonds module.
func (*Params) Descriptor ¶
func (*Params) GetReservedBondTokens ¶
func (*Params) MarshalToSizedBuffer ¶
func (*Params) ParamSetPairs ¶
func (p *Params) ParamSetPairs() paramstypes.ParamSetPairs
Implements params.ParamSet
func (*Params) ProtoMessage ¶
func (*Params) ProtoMessage()
func (*Params) XXX_DiscardUnknown ¶
func (m *Params) XXX_DiscardUnknown()
func (*Params) XXX_Marshal ¶
func (*Params) XXX_Unmarshal ¶
type QueryAlphaMaximumsRequest ¶
type QueryAlphaMaximumsRequest struct {
BondDid string `protobuf:"bytes,1,opt,name=bond_did,json=bondDid,proto3" json:"bond_did,omitempty" yaml:"bond_did"`
}
QueryAlphaMaximumsRequest is the request type for the Query/AlphaMaximums RPC method.
func (*QueryAlphaMaximumsRequest) Descriptor ¶
func (*QueryAlphaMaximumsRequest) Descriptor() ([]byte, []int)
func (*QueryAlphaMaximumsRequest) GetBondDid ¶
func (m *QueryAlphaMaximumsRequest) GetBondDid() string
func (*QueryAlphaMaximumsRequest) Marshal ¶
func (m *QueryAlphaMaximumsRequest) Marshal() (dAtA []byte, err error)
func (*QueryAlphaMaximumsRequest) MarshalTo ¶
func (m *QueryAlphaMaximumsRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryAlphaMaximumsRequest) MarshalToSizedBuffer ¶
func (m *QueryAlphaMaximumsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryAlphaMaximumsRequest) ProtoMessage ¶
func (*QueryAlphaMaximumsRequest) ProtoMessage()
func (*QueryAlphaMaximumsRequest) Reset ¶
func (m *QueryAlphaMaximumsRequest) Reset()
func (*QueryAlphaMaximumsRequest) Size ¶
func (m *QueryAlphaMaximumsRequest) Size() (n int)
func (*QueryAlphaMaximumsRequest) String ¶
func (m *QueryAlphaMaximumsRequest) String() string
func (*QueryAlphaMaximumsRequest) Unmarshal ¶
func (m *QueryAlphaMaximumsRequest) Unmarshal(dAtA []byte) error
func (*QueryAlphaMaximumsRequest) XXX_DiscardUnknown ¶
func (m *QueryAlphaMaximumsRequest) XXX_DiscardUnknown()
func (*QueryAlphaMaximumsRequest) XXX_Marshal ¶
func (m *QueryAlphaMaximumsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryAlphaMaximumsRequest) XXX_Merge ¶
func (m *QueryAlphaMaximumsRequest) XXX_Merge(src proto.Message)
func (*QueryAlphaMaximumsRequest) XXX_Size ¶
func (m *QueryAlphaMaximumsRequest) XXX_Size() int
func (*QueryAlphaMaximumsRequest) XXX_Unmarshal ¶
func (m *QueryAlphaMaximumsRequest) XXX_Unmarshal(b []byte) error
type QueryAlphaMaximumsResponse ¶
type QueryAlphaMaximumsResponse struct { MaxSystemAlphaIncrease github_com_cosmos_cosmos_sdk_types.Dec `` /* 204-byte string literal not displayed */ MaxSystemAlpha github_com_cosmos_cosmos_sdk_types.Dec `` /* 169-byte string literal not displayed */ }
QueryAlphaMaximumsResponse is the response type for the Query/AlphaMaximums RPC method.
func (*QueryAlphaMaximumsResponse) Descriptor ¶
func (*QueryAlphaMaximumsResponse) Descriptor() ([]byte, []int)
func (*QueryAlphaMaximumsResponse) Marshal ¶
func (m *QueryAlphaMaximumsResponse) Marshal() (dAtA []byte, err error)
func (*QueryAlphaMaximumsResponse) MarshalTo ¶
func (m *QueryAlphaMaximumsResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryAlphaMaximumsResponse) MarshalToSizedBuffer ¶
func (m *QueryAlphaMaximumsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryAlphaMaximumsResponse) ProtoMessage ¶
func (*QueryAlphaMaximumsResponse) ProtoMessage()
func (*QueryAlphaMaximumsResponse) Reset ¶
func (m *QueryAlphaMaximumsResponse) Reset()
func (*QueryAlphaMaximumsResponse) Size ¶
func (m *QueryAlphaMaximumsResponse) Size() (n int)
func (*QueryAlphaMaximumsResponse) String ¶
func (m *QueryAlphaMaximumsResponse) String() string
func (*QueryAlphaMaximumsResponse) Unmarshal ¶
func (m *QueryAlphaMaximumsResponse) Unmarshal(dAtA []byte) error
func (*QueryAlphaMaximumsResponse) XXX_DiscardUnknown ¶
func (m *QueryAlphaMaximumsResponse) XXX_DiscardUnknown()
func (*QueryAlphaMaximumsResponse) XXX_Marshal ¶
func (m *QueryAlphaMaximumsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryAlphaMaximumsResponse) XXX_Merge ¶
func (m *QueryAlphaMaximumsResponse) XXX_Merge(src proto.Message)
func (*QueryAlphaMaximumsResponse) XXX_Size ¶
func (m *QueryAlphaMaximumsResponse) XXX_Size() int
func (*QueryAlphaMaximumsResponse) XXX_Unmarshal ¶
func (m *QueryAlphaMaximumsResponse) XXX_Unmarshal(b []byte) error
type QueryAvailableReserveRequest ¶ added in v0.16.0
type QueryAvailableReserveRequest struct {
BondDid string `protobuf:"bytes,1,opt,name=bond_did,json=bondDid,proto3" json:"bond_did,omitempty" yaml:"bond_did"`
}
QueryAvailableReserveRequest is the request type for the Query/AvailableReserve RPC method.
func (*QueryAvailableReserveRequest) Descriptor ¶ added in v0.16.0
func (*QueryAvailableReserveRequest) Descriptor() ([]byte, []int)
func (*QueryAvailableReserveRequest) GetBondDid ¶ added in v0.16.0
func (m *QueryAvailableReserveRequest) GetBondDid() string
func (*QueryAvailableReserveRequest) Marshal ¶ added in v0.16.0
func (m *QueryAvailableReserveRequest) Marshal() (dAtA []byte, err error)
func (*QueryAvailableReserveRequest) MarshalTo ¶ added in v0.16.0
func (m *QueryAvailableReserveRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryAvailableReserveRequest) MarshalToSizedBuffer ¶ added in v0.16.0
func (m *QueryAvailableReserveRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryAvailableReserveRequest) ProtoMessage ¶ added in v0.16.0
func (*QueryAvailableReserveRequest) ProtoMessage()
func (*QueryAvailableReserveRequest) Reset ¶ added in v0.16.0
func (m *QueryAvailableReserveRequest) Reset()
func (*QueryAvailableReserveRequest) Size ¶ added in v0.16.0
func (m *QueryAvailableReserveRequest) Size() (n int)
func (*QueryAvailableReserveRequest) String ¶ added in v0.16.0
func (m *QueryAvailableReserveRequest) String() string
func (*QueryAvailableReserveRequest) Unmarshal ¶ added in v0.16.0
func (m *QueryAvailableReserveRequest) Unmarshal(dAtA []byte) error
func (*QueryAvailableReserveRequest) XXX_DiscardUnknown ¶ added in v0.16.0
func (m *QueryAvailableReserveRequest) XXX_DiscardUnknown()
func (*QueryAvailableReserveRequest) XXX_Marshal ¶ added in v0.16.0
func (m *QueryAvailableReserveRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryAvailableReserveRequest) XXX_Merge ¶ added in v0.16.0
func (m *QueryAvailableReserveRequest) XXX_Merge(src proto.Message)
func (*QueryAvailableReserveRequest) XXX_Size ¶ added in v0.16.0
func (m *QueryAvailableReserveRequest) XXX_Size() int
func (*QueryAvailableReserveRequest) XXX_Unmarshal ¶ added in v0.16.0
func (m *QueryAvailableReserveRequest) XXX_Unmarshal(b []byte) error
type QueryAvailableReserveResponse ¶ added in v0.16.0
type QueryAvailableReserveResponse struct {
AvailableReserve []types.Coin `protobuf:"bytes,1,rep,name=available_reserve,json=availableReserve,proto3" json:"available_reserve" yaml:"available_reserve"`
}
QueryAvailableReserveResponse is the response type for the Query/AvailableReserve RPC method.
func (*QueryAvailableReserveResponse) Descriptor ¶ added in v0.16.0
func (*QueryAvailableReserveResponse) Descriptor() ([]byte, []int)
func (*QueryAvailableReserveResponse) GetAvailableReserve ¶ added in v0.16.0
func (m *QueryAvailableReserveResponse) GetAvailableReserve() []types.Coin
func (*QueryAvailableReserveResponse) Marshal ¶ added in v0.16.0
func (m *QueryAvailableReserveResponse) Marshal() (dAtA []byte, err error)
func (*QueryAvailableReserveResponse) MarshalTo ¶ added in v0.16.0
func (m *QueryAvailableReserveResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryAvailableReserveResponse) MarshalToSizedBuffer ¶ added in v0.16.0
func (m *QueryAvailableReserveResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryAvailableReserveResponse) ProtoMessage ¶ added in v0.16.0
func (*QueryAvailableReserveResponse) ProtoMessage()
func (*QueryAvailableReserveResponse) Reset ¶ added in v0.16.0
func (m *QueryAvailableReserveResponse) Reset()
func (*QueryAvailableReserveResponse) Size ¶ added in v0.16.0
func (m *QueryAvailableReserveResponse) Size() (n int)
func (*QueryAvailableReserveResponse) String ¶ added in v0.16.0
func (m *QueryAvailableReserveResponse) String() string
func (*QueryAvailableReserveResponse) Unmarshal ¶ added in v0.16.0
func (m *QueryAvailableReserveResponse) Unmarshal(dAtA []byte) error
func (*QueryAvailableReserveResponse) XXX_DiscardUnknown ¶ added in v0.16.0
func (m *QueryAvailableReserveResponse) XXX_DiscardUnknown()
func (*QueryAvailableReserveResponse) XXX_Marshal ¶ added in v0.16.0
func (m *QueryAvailableReserveResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryAvailableReserveResponse) XXX_Merge ¶ added in v0.16.0
func (m *QueryAvailableReserveResponse) XXX_Merge(src proto.Message)
func (*QueryAvailableReserveResponse) XXX_Size ¶ added in v0.16.0
func (m *QueryAvailableReserveResponse) XXX_Size() int
func (*QueryAvailableReserveResponse) XXX_Unmarshal ¶ added in v0.16.0
func (m *QueryAvailableReserveResponse) XXX_Unmarshal(b []byte) error
type QueryBatchRequest ¶
type QueryBatchRequest struct {
BondDid string `protobuf:"bytes,1,opt,name=bond_did,json=bondDid,proto3" json:"bond_did,omitempty" yaml:"bond_did"`
}
QueryBatchRequest is the request type for the Query/Batch RPC method.
func (*QueryBatchRequest) Descriptor ¶
func (*QueryBatchRequest) Descriptor() ([]byte, []int)
func (*QueryBatchRequest) GetBondDid ¶
func (m *QueryBatchRequest) GetBondDid() string
func (*QueryBatchRequest) Marshal ¶
func (m *QueryBatchRequest) Marshal() (dAtA []byte, err error)
func (*QueryBatchRequest) MarshalTo ¶
func (m *QueryBatchRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryBatchRequest) MarshalToSizedBuffer ¶
func (m *QueryBatchRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryBatchRequest) ProtoMessage ¶
func (*QueryBatchRequest) ProtoMessage()
func (*QueryBatchRequest) Reset ¶
func (m *QueryBatchRequest) Reset()
func (*QueryBatchRequest) Size ¶
func (m *QueryBatchRequest) Size() (n int)
func (*QueryBatchRequest) String ¶
func (m *QueryBatchRequest) String() string
func (*QueryBatchRequest) Unmarshal ¶
func (m *QueryBatchRequest) Unmarshal(dAtA []byte) error
func (*QueryBatchRequest) XXX_DiscardUnknown ¶
func (m *QueryBatchRequest) XXX_DiscardUnknown()
func (*QueryBatchRequest) XXX_Marshal ¶
func (m *QueryBatchRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryBatchRequest) XXX_Merge ¶
func (m *QueryBatchRequest) XXX_Merge(src proto.Message)
func (*QueryBatchRequest) XXX_Size ¶
func (m *QueryBatchRequest) XXX_Size() int
func (*QueryBatchRequest) XXX_Unmarshal ¶
func (m *QueryBatchRequest) XXX_Unmarshal(b []byte) error
type QueryBatchResponse ¶
type QueryBatchResponse struct {
Batch *Batch `protobuf:"bytes,1,opt,name=batch,proto3" json:"batch,omitempty" yaml:"batch"`
}
QueryBatchResponse is the response type for the Query/Batch RPC method.
func (*QueryBatchResponse) Descriptor ¶
func (*QueryBatchResponse) Descriptor() ([]byte, []int)
func (*QueryBatchResponse) GetBatch ¶
func (m *QueryBatchResponse) GetBatch() *Batch
func (*QueryBatchResponse) Marshal ¶
func (m *QueryBatchResponse) Marshal() (dAtA []byte, err error)
func (*QueryBatchResponse) MarshalTo ¶
func (m *QueryBatchResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryBatchResponse) MarshalToSizedBuffer ¶
func (m *QueryBatchResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryBatchResponse) ProtoMessage ¶
func (*QueryBatchResponse) ProtoMessage()
func (*QueryBatchResponse) Reset ¶
func (m *QueryBatchResponse) Reset()
func (*QueryBatchResponse) Size ¶
func (m *QueryBatchResponse) Size() (n int)
func (*QueryBatchResponse) String ¶
func (m *QueryBatchResponse) String() string
func (*QueryBatchResponse) Unmarshal ¶
func (m *QueryBatchResponse) Unmarshal(dAtA []byte) error
func (*QueryBatchResponse) XXX_DiscardUnknown ¶
func (m *QueryBatchResponse) XXX_DiscardUnknown()
func (*QueryBatchResponse) XXX_Marshal ¶
func (m *QueryBatchResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryBatchResponse) XXX_Merge ¶
func (m *QueryBatchResponse) XXX_Merge(src proto.Message)
func (*QueryBatchResponse) XXX_Size ¶
func (m *QueryBatchResponse) XXX_Size() int
func (*QueryBatchResponse) XXX_Unmarshal ¶
func (m *QueryBatchResponse) XXX_Unmarshal(b []byte) error
type QueryBondRequest ¶
type QueryBondRequest struct {
BondDid string `protobuf:"bytes,1,opt,name=bond_did,json=bondDid,proto3" json:"bond_did,omitempty" yaml:"bond_did"`
}
QueryBondRequest is the request type for the Query/Bond RPC method.
func (*QueryBondRequest) Descriptor ¶
func (*QueryBondRequest) Descriptor() ([]byte, []int)
func (*QueryBondRequest) GetBondDid ¶
func (m *QueryBondRequest) GetBondDid() string
func (*QueryBondRequest) Marshal ¶
func (m *QueryBondRequest) Marshal() (dAtA []byte, err error)
func (*QueryBondRequest) MarshalToSizedBuffer ¶
func (m *QueryBondRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryBondRequest) ProtoMessage ¶
func (*QueryBondRequest) ProtoMessage()
func (*QueryBondRequest) Reset ¶
func (m *QueryBondRequest) Reset()
func (*QueryBondRequest) Size ¶
func (m *QueryBondRequest) Size() (n int)
func (*QueryBondRequest) String ¶
func (m *QueryBondRequest) String() string
func (*QueryBondRequest) Unmarshal ¶
func (m *QueryBondRequest) Unmarshal(dAtA []byte) error
func (*QueryBondRequest) XXX_DiscardUnknown ¶
func (m *QueryBondRequest) XXX_DiscardUnknown()
func (*QueryBondRequest) XXX_Marshal ¶
func (m *QueryBondRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryBondRequest) XXX_Merge ¶
func (m *QueryBondRequest) XXX_Merge(src proto.Message)
func (*QueryBondRequest) XXX_Size ¶
func (m *QueryBondRequest) XXX_Size() int
func (*QueryBondRequest) XXX_Unmarshal ¶
func (m *QueryBondRequest) XXX_Unmarshal(b []byte) error
type QueryBondResponse ¶
type QueryBondResponse struct {
Bond *Bond `protobuf:"bytes,1,opt,name=bond,proto3" json:"bond,omitempty" yaml:"bond"`
}
QueryBondResponse is the response type for the Query/Bond RPC method.
func (*QueryBondResponse) Descriptor ¶
func (*QueryBondResponse) Descriptor() ([]byte, []int)
func (*QueryBondResponse) GetBond ¶
func (m *QueryBondResponse) GetBond() *Bond
func (*QueryBondResponse) Marshal ¶
func (m *QueryBondResponse) Marshal() (dAtA []byte, err error)
func (*QueryBondResponse) MarshalTo ¶
func (m *QueryBondResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryBondResponse) MarshalToSizedBuffer ¶
func (m *QueryBondResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryBondResponse) ProtoMessage ¶
func (*QueryBondResponse) ProtoMessage()
func (*QueryBondResponse) Reset ¶
func (m *QueryBondResponse) Reset()
func (*QueryBondResponse) Size ¶
func (m *QueryBondResponse) Size() (n int)
func (*QueryBondResponse) String ¶
func (m *QueryBondResponse) String() string
func (*QueryBondResponse) Unmarshal ¶
func (m *QueryBondResponse) Unmarshal(dAtA []byte) error
func (*QueryBondResponse) XXX_DiscardUnknown ¶
func (m *QueryBondResponse) XXX_DiscardUnknown()
func (*QueryBondResponse) XXX_Marshal ¶
func (m *QueryBondResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryBondResponse) XXX_Merge ¶
func (m *QueryBondResponse) XXX_Merge(src proto.Message)
func (*QueryBondResponse) XXX_Size ¶
func (m *QueryBondResponse) XXX_Size() int
func (*QueryBondResponse) XXX_Unmarshal ¶
func (m *QueryBondResponse) XXX_Unmarshal(b []byte) error
type QueryBondsDetailedRequest ¶
type QueryBondsDetailedRequest struct { }
QueryBondsDetailedRequest is the request type for the Query/BondsDetailed RPC method.
func (*QueryBondsDetailedRequest) Descriptor ¶
func (*QueryBondsDetailedRequest) Descriptor() ([]byte, []int)
func (*QueryBondsDetailedRequest) Marshal ¶
func (m *QueryBondsDetailedRequest) Marshal() (dAtA []byte, err error)
func (*QueryBondsDetailedRequest) MarshalTo ¶
func (m *QueryBondsDetailedRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryBondsDetailedRequest) MarshalToSizedBuffer ¶
func (m *QueryBondsDetailedRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryBondsDetailedRequest) ProtoMessage ¶
func (*QueryBondsDetailedRequest) ProtoMessage()
func (*QueryBondsDetailedRequest) Reset ¶
func (m *QueryBondsDetailedRequest) Reset()
func (*QueryBondsDetailedRequest) Size ¶
func (m *QueryBondsDetailedRequest) Size() (n int)
func (*QueryBondsDetailedRequest) String ¶
func (m *QueryBondsDetailedRequest) String() string
func (*QueryBondsDetailedRequest) Unmarshal ¶
func (m *QueryBondsDetailedRequest) Unmarshal(dAtA []byte) error
func (*QueryBondsDetailedRequest) XXX_DiscardUnknown ¶
func (m *QueryBondsDetailedRequest) XXX_DiscardUnknown()
func (*QueryBondsDetailedRequest) XXX_Marshal ¶
func (m *QueryBondsDetailedRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryBondsDetailedRequest) XXX_Merge ¶
func (m *QueryBondsDetailedRequest) XXX_Merge(src proto.Message)
func (*QueryBondsDetailedRequest) XXX_Size ¶
func (m *QueryBondsDetailedRequest) XXX_Size() int
func (*QueryBondsDetailedRequest) XXX_Unmarshal ¶
func (m *QueryBondsDetailedRequest) XXX_Unmarshal(b []byte) error
type QueryBondsDetailedResponse ¶
type QueryBondsDetailedResponse struct {
BondsDetailed []*BondDetails `protobuf:"bytes,1,rep,name=bonds_detailed,json=bondsDetailed,proto3" json:"bonds_detailed,omitempty" yaml:"bonds_detailed"`
}
QueryBondsDetailedResponse is the response type for the Query/BondsDetailed RPC method.
func (*QueryBondsDetailedResponse) Descriptor ¶
func (*QueryBondsDetailedResponse) Descriptor() ([]byte, []int)
func (*QueryBondsDetailedResponse) GetBondsDetailed ¶
func (m *QueryBondsDetailedResponse) GetBondsDetailed() []*BondDetails
func (*QueryBondsDetailedResponse) Marshal ¶
func (m *QueryBondsDetailedResponse) Marshal() (dAtA []byte, err error)
func (*QueryBondsDetailedResponse) MarshalTo ¶
func (m *QueryBondsDetailedResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryBondsDetailedResponse) MarshalToSizedBuffer ¶
func (m *QueryBondsDetailedResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryBondsDetailedResponse) ProtoMessage ¶
func (*QueryBondsDetailedResponse) ProtoMessage()
func (*QueryBondsDetailedResponse) Reset ¶
func (m *QueryBondsDetailedResponse) Reset()
func (*QueryBondsDetailedResponse) Size ¶
func (m *QueryBondsDetailedResponse) Size() (n int)
func (*QueryBondsDetailedResponse) String ¶
func (m *QueryBondsDetailedResponse) String() string
func (*QueryBondsDetailedResponse) Unmarshal ¶
func (m *QueryBondsDetailedResponse) Unmarshal(dAtA []byte) error
func (*QueryBondsDetailedResponse) XXX_DiscardUnknown ¶
func (m *QueryBondsDetailedResponse) XXX_DiscardUnknown()
func (*QueryBondsDetailedResponse) XXX_Marshal ¶
func (m *QueryBondsDetailedResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryBondsDetailedResponse) XXX_Merge ¶
func (m *QueryBondsDetailedResponse) XXX_Merge(src proto.Message)
func (*QueryBondsDetailedResponse) XXX_Size ¶
func (m *QueryBondsDetailedResponse) XXX_Size() int
func (*QueryBondsDetailedResponse) XXX_Unmarshal ¶
func (m *QueryBondsDetailedResponse) XXX_Unmarshal(b []byte) error
type QueryBondsRequest ¶
type QueryBondsRequest struct { }
QueryBondsRequest is the request type for the Query/Bonds RPC method.
func (*QueryBondsRequest) Descriptor ¶
func (*QueryBondsRequest) Descriptor() ([]byte, []int)
func (*QueryBondsRequest) Marshal ¶
func (m *QueryBondsRequest) Marshal() (dAtA []byte, err error)
func (*QueryBondsRequest) MarshalTo ¶
func (m *QueryBondsRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryBondsRequest) MarshalToSizedBuffer ¶
func (m *QueryBondsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryBondsRequest) ProtoMessage ¶
func (*QueryBondsRequest) ProtoMessage()
func (*QueryBondsRequest) Reset ¶
func (m *QueryBondsRequest) Reset()
func (*QueryBondsRequest) Size ¶
func (m *QueryBondsRequest) Size() (n int)
func (*QueryBondsRequest) String ¶
func (m *QueryBondsRequest) String() string
func (*QueryBondsRequest) Unmarshal ¶
func (m *QueryBondsRequest) Unmarshal(dAtA []byte) error
func (*QueryBondsRequest) XXX_DiscardUnknown ¶
func (m *QueryBondsRequest) XXX_DiscardUnknown()
func (*QueryBondsRequest) XXX_Marshal ¶
func (m *QueryBondsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryBondsRequest) XXX_Merge ¶
func (m *QueryBondsRequest) XXX_Merge(src proto.Message)
func (*QueryBondsRequest) XXX_Size ¶
func (m *QueryBondsRequest) XXX_Size() int
func (*QueryBondsRequest) XXX_Unmarshal ¶
func (m *QueryBondsRequest) XXX_Unmarshal(b []byte) error
type QueryBondsResponse ¶
type QueryBondsResponse struct {
Bonds []string `protobuf:"bytes,1,rep,name=bonds,proto3" json:"bonds,omitempty" yaml:"bonds"`
}
QueryBondsResponse is the response type for the Query/Bonds RPC method.
func (*QueryBondsResponse) Descriptor ¶
func (*QueryBondsResponse) Descriptor() ([]byte, []int)
func (*QueryBondsResponse) GetBonds ¶
func (m *QueryBondsResponse) GetBonds() []string
func (*QueryBondsResponse) Marshal ¶
func (m *QueryBondsResponse) Marshal() (dAtA []byte, err error)
func (*QueryBondsResponse) MarshalTo ¶
func (m *QueryBondsResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryBondsResponse) MarshalToSizedBuffer ¶
func (m *QueryBondsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryBondsResponse) ProtoMessage ¶
func (*QueryBondsResponse) ProtoMessage()
func (*QueryBondsResponse) Reset ¶
func (m *QueryBondsResponse) Reset()
func (*QueryBondsResponse) Size ¶
func (m *QueryBondsResponse) Size() (n int)
func (*QueryBondsResponse) String ¶
func (m *QueryBondsResponse) String() string
func (*QueryBondsResponse) Unmarshal ¶
func (m *QueryBondsResponse) Unmarshal(dAtA []byte) error
func (*QueryBondsResponse) XXX_DiscardUnknown ¶
func (m *QueryBondsResponse) XXX_DiscardUnknown()
func (*QueryBondsResponse) XXX_Marshal ¶
func (m *QueryBondsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryBondsResponse) XXX_Merge ¶
func (m *QueryBondsResponse) XXX_Merge(src proto.Message)
func (*QueryBondsResponse) XXX_Size ¶
func (m *QueryBondsResponse) XXX_Size() int
func (*QueryBondsResponse) XXX_Unmarshal ¶
func (m *QueryBondsResponse) XXX_Unmarshal(b []byte) error
type QueryBuyPriceRequest ¶
type QueryBuyPriceRequest struct { BondDid string `protobuf:"bytes,1,opt,name=bond_did,json=bondDid,proto3" json:"bond_did,omitempty" yaml:"bond_did"` BondAmount string `protobuf:"bytes,2,opt,name=bond_amount,json=bondAmount,proto3" json:"bond_amount,omitempty" yaml:"bond_amount"` }
QueryCustomPriceRequest is the request type for the Query/BuyPrice RPC method.
func (*QueryBuyPriceRequest) Descriptor ¶
func (*QueryBuyPriceRequest) Descriptor() ([]byte, []int)
func (*QueryBuyPriceRequest) GetBondAmount ¶
func (m *QueryBuyPriceRequest) GetBondAmount() string
func (*QueryBuyPriceRequest) GetBondDid ¶
func (m *QueryBuyPriceRequest) GetBondDid() string
func (*QueryBuyPriceRequest) Marshal ¶
func (m *QueryBuyPriceRequest) Marshal() (dAtA []byte, err error)
func (*QueryBuyPriceRequest) MarshalTo ¶
func (m *QueryBuyPriceRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryBuyPriceRequest) MarshalToSizedBuffer ¶
func (m *QueryBuyPriceRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryBuyPriceRequest) ProtoMessage ¶
func (*QueryBuyPriceRequest) ProtoMessage()
func (*QueryBuyPriceRequest) Reset ¶
func (m *QueryBuyPriceRequest) Reset()
func (*QueryBuyPriceRequest) Size ¶
func (m *QueryBuyPriceRequest) Size() (n int)
func (*QueryBuyPriceRequest) String ¶
func (m *QueryBuyPriceRequest) String() string
func (*QueryBuyPriceRequest) Unmarshal ¶
func (m *QueryBuyPriceRequest) Unmarshal(dAtA []byte) error
func (*QueryBuyPriceRequest) XXX_DiscardUnknown ¶
func (m *QueryBuyPriceRequest) XXX_DiscardUnknown()
func (*QueryBuyPriceRequest) XXX_Marshal ¶
func (m *QueryBuyPriceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryBuyPriceRequest) XXX_Merge ¶
func (m *QueryBuyPriceRequest) XXX_Merge(src proto.Message)
func (*QueryBuyPriceRequest) XXX_Size ¶
func (m *QueryBuyPriceRequest) XXX_Size() int
func (*QueryBuyPriceRequest) XXX_Unmarshal ¶
func (m *QueryBuyPriceRequest) XXX_Unmarshal(b []byte) error
type QueryBuyPriceResponse ¶
type QueryBuyPriceResponse struct { AdjustedSupply types.Coin `protobuf:"bytes,1,opt,name=adjusted_supply,json=adjustedSupply,proto3" json:"adjusted_supply" yaml:"adjusted_supply"` Prices github_com_cosmos_cosmos_sdk_types.Coins `protobuf:"bytes,2,rep,name=prices,proto3,castrepeated=github.com/cosmos/cosmos-sdk/types.Coins" json:"prices" yaml:"prices"` TxFees github_com_cosmos_cosmos_sdk_types.Coins `` /* 138-byte string literal not displayed */ TotalPrices github_com_cosmos_cosmos_sdk_types.Coins `` /* 158-byte string literal not displayed */ TotalFees github_com_cosmos_cosmos_sdk_types.Coins `` /* 150-byte string literal not displayed */ }
QueryCustomPriceResponse is the response type for the Query/BuyPrice RPC method.
func (*QueryBuyPriceResponse) Descriptor ¶
func (*QueryBuyPriceResponse) Descriptor() ([]byte, []int)
func (*QueryBuyPriceResponse) GetAdjustedSupply ¶
func (m *QueryBuyPriceResponse) GetAdjustedSupply() types.Coin
func (*QueryBuyPriceResponse) GetPrices ¶
func (m *QueryBuyPriceResponse) GetPrices() github_com_cosmos_cosmos_sdk_types.Coins
func (*QueryBuyPriceResponse) GetTotalFees ¶
func (m *QueryBuyPriceResponse) GetTotalFees() github_com_cosmos_cosmos_sdk_types.Coins
func (*QueryBuyPriceResponse) GetTotalPrices ¶
func (m *QueryBuyPriceResponse) GetTotalPrices() github_com_cosmos_cosmos_sdk_types.Coins
func (*QueryBuyPriceResponse) GetTxFees ¶
func (m *QueryBuyPriceResponse) GetTxFees() github_com_cosmos_cosmos_sdk_types.Coins
func (*QueryBuyPriceResponse) Marshal ¶
func (m *QueryBuyPriceResponse) Marshal() (dAtA []byte, err error)
func (*QueryBuyPriceResponse) MarshalTo ¶
func (m *QueryBuyPriceResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryBuyPriceResponse) MarshalToSizedBuffer ¶
func (m *QueryBuyPriceResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryBuyPriceResponse) ProtoMessage ¶
func (*QueryBuyPriceResponse) ProtoMessage()
func (*QueryBuyPriceResponse) Reset ¶
func (m *QueryBuyPriceResponse) Reset()
func (*QueryBuyPriceResponse) Size ¶
func (m *QueryBuyPriceResponse) Size() (n int)
func (*QueryBuyPriceResponse) String ¶
func (m *QueryBuyPriceResponse) String() string
func (*QueryBuyPriceResponse) Unmarshal ¶
func (m *QueryBuyPriceResponse) Unmarshal(dAtA []byte) error
func (*QueryBuyPriceResponse) XXX_DiscardUnknown ¶
func (m *QueryBuyPriceResponse) XXX_DiscardUnknown()
func (*QueryBuyPriceResponse) XXX_Marshal ¶
func (m *QueryBuyPriceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryBuyPriceResponse) XXX_Merge ¶
func (m *QueryBuyPriceResponse) XXX_Merge(src proto.Message)
func (*QueryBuyPriceResponse) XXX_Size ¶
func (m *QueryBuyPriceResponse) XXX_Size() int
func (*QueryBuyPriceResponse) XXX_Unmarshal ¶
func (m *QueryBuyPriceResponse) XXX_Unmarshal(b []byte) error
type QueryClient ¶
type QueryClient interface { // Bonds returns all existing bonds. Bonds(ctx context.Context, in *QueryBondsRequest, opts ...grpc.CallOption) (*QueryBondsResponse, error) // BondsDetailed returns a list of all existing bonds with some details about their current state. BondsDetailed(ctx context.Context, in *QueryBondsDetailedRequest, opts ...grpc.CallOption) (*QueryBondsDetailedResponse, error) // Params queries the paramaters of x/bonds module. Params(ctx context.Context, in *QueryParamsRequest, opts ...grpc.CallOption) (*QueryParamsResponse, error) // Bond queries info of a specific bond. Bond(ctx context.Context, in *QueryBondRequest, opts ...grpc.CallOption) (*QueryBondResponse, error) // Batch queries info of a specific bond's current batch. Batch(ctx context.Context, in *QueryBatchRequest, opts ...grpc.CallOption) (*QueryBatchResponse, error) // LastBatch queries info of a specific bond's last batch. LastBatch(ctx context.Context, in *QueryLastBatchRequest, opts ...grpc.CallOption) (*QueryLastBatchResponse, error) // CurrentPrice queries the current price/s of a specific bond. CurrentPrice(ctx context.Context, in *QueryCurrentPriceRequest, opts ...grpc.CallOption) (*QueryCurrentPriceResponse, error) // CurrentReserve queries the current balance/s of the reserve pool for a specific bond. CurrentReserve(ctx context.Context, in *QueryCurrentReserveRequest, opts ...grpc.CallOption) (*QueryCurrentReserveResponse, error) // AvailableReserve queries current available balance/s of the reserve pool for a specific bond. AvailableReserve(ctx context.Context, in *QueryAvailableReserveRequest, opts ...grpc.CallOption) (*QueryAvailableReserveResponse, error) // CustomPrice queries price/s of a specific bond at a specific supply. CustomPrice(ctx context.Context, in *QueryCustomPriceRequest, opts ...grpc.CallOption) (*QueryCustomPriceResponse, error) // BuyPrice queries price/s of buying an amount of tokens from a specific bond. BuyPrice(ctx context.Context, in *QueryBuyPriceRequest, opts ...grpc.CallOption) (*QueryBuyPriceResponse, error) // SellReturn queries return/s on selling an amount of tokens of a specific bond. SellReturn(ctx context.Context, in *QuerySellReturnRequest, opts ...grpc.CallOption) (*QuerySellReturnResponse, error) // SwapReturn queries return/s on swapping an amount of tokens to another token of a specific bond. SwapReturn(ctx context.Context, in *QuerySwapReturnRequest, opts ...grpc.CallOption) (*QuerySwapReturnResponse, error) // AlphaMaximums queries alpha maximums for a specific augmented bonding curve. AlphaMaximums(ctx context.Context, in *QueryAlphaMaximumsRequest, opts ...grpc.CallOption) (*QueryAlphaMaximumsResponse, error) }
QueryClient is the client API for Query service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewQueryClient ¶
func NewQueryClient(cc grpc1.ClientConn) QueryClient
type QueryCurrentPriceRequest ¶
type QueryCurrentPriceRequest struct {
BondDid string `protobuf:"bytes,1,opt,name=bond_did,json=bondDid,proto3" json:"bond_did,omitempty" yaml:"bond_did"`
}
QueryCurrentPriceRequest is the request type for the Query/CurrentPrice RPC method.
func (*QueryCurrentPriceRequest) Descriptor ¶
func (*QueryCurrentPriceRequest) Descriptor() ([]byte, []int)
func (*QueryCurrentPriceRequest) GetBondDid ¶
func (m *QueryCurrentPriceRequest) GetBondDid() string
func (*QueryCurrentPriceRequest) Marshal ¶
func (m *QueryCurrentPriceRequest) Marshal() (dAtA []byte, err error)
func (*QueryCurrentPriceRequest) MarshalTo ¶
func (m *QueryCurrentPriceRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryCurrentPriceRequest) MarshalToSizedBuffer ¶
func (m *QueryCurrentPriceRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryCurrentPriceRequest) ProtoMessage ¶
func (*QueryCurrentPriceRequest) ProtoMessage()
func (*QueryCurrentPriceRequest) Reset ¶
func (m *QueryCurrentPriceRequest) Reset()
func (*QueryCurrentPriceRequest) Size ¶
func (m *QueryCurrentPriceRequest) Size() (n int)
func (*QueryCurrentPriceRequest) String ¶
func (m *QueryCurrentPriceRequest) String() string
func (*QueryCurrentPriceRequest) Unmarshal ¶
func (m *QueryCurrentPriceRequest) Unmarshal(dAtA []byte) error
func (*QueryCurrentPriceRequest) XXX_DiscardUnknown ¶
func (m *QueryCurrentPriceRequest) XXX_DiscardUnknown()
func (*QueryCurrentPriceRequest) XXX_Marshal ¶
func (m *QueryCurrentPriceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryCurrentPriceRequest) XXX_Merge ¶
func (m *QueryCurrentPriceRequest) XXX_Merge(src proto.Message)
func (*QueryCurrentPriceRequest) XXX_Size ¶
func (m *QueryCurrentPriceRequest) XXX_Size() int
func (*QueryCurrentPriceRequest) XXX_Unmarshal ¶
func (m *QueryCurrentPriceRequest) XXX_Unmarshal(b []byte) error
type QueryCurrentPriceResponse ¶
type QueryCurrentPriceResponse struct {
CurrentPrice github_com_cosmos_cosmos_sdk_types.DecCoins `` /* 165-byte string literal not displayed */
}
QueryCurrentPriceResponse is the response type for the Query/CurrentPrice RPC method.
func (*QueryCurrentPriceResponse) Descriptor ¶
func (*QueryCurrentPriceResponse) Descriptor() ([]byte, []int)
func (*QueryCurrentPriceResponse) GetCurrentPrice ¶
func (m *QueryCurrentPriceResponse) GetCurrentPrice() github_com_cosmos_cosmos_sdk_types.DecCoins
func (*QueryCurrentPriceResponse) Marshal ¶
func (m *QueryCurrentPriceResponse) Marshal() (dAtA []byte, err error)
func (*QueryCurrentPriceResponse) MarshalTo ¶
func (m *QueryCurrentPriceResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryCurrentPriceResponse) MarshalToSizedBuffer ¶
func (m *QueryCurrentPriceResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryCurrentPriceResponse) ProtoMessage ¶
func (*QueryCurrentPriceResponse) ProtoMessage()
func (*QueryCurrentPriceResponse) Reset ¶
func (m *QueryCurrentPriceResponse) Reset()
func (*QueryCurrentPriceResponse) Size ¶
func (m *QueryCurrentPriceResponse) Size() (n int)
func (*QueryCurrentPriceResponse) String ¶
func (m *QueryCurrentPriceResponse) String() string
func (*QueryCurrentPriceResponse) Unmarshal ¶
func (m *QueryCurrentPriceResponse) Unmarshal(dAtA []byte) error
func (*QueryCurrentPriceResponse) XXX_DiscardUnknown ¶
func (m *QueryCurrentPriceResponse) XXX_DiscardUnknown()
func (*QueryCurrentPriceResponse) XXX_Marshal ¶
func (m *QueryCurrentPriceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryCurrentPriceResponse) XXX_Merge ¶
func (m *QueryCurrentPriceResponse) XXX_Merge(src proto.Message)
func (*QueryCurrentPriceResponse) XXX_Size ¶
func (m *QueryCurrentPriceResponse) XXX_Size() int
func (*QueryCurrentPriceResponse) XXX_Unmarshal ¶
func (m *QueryCurrentPriceResponse) XXX_Unmarshal(b []byte) error
type QueryCurrentReserveRequest ¶
type QueryCurrentReserveRequest struct {
BondDid string `protobuf:"bytes,1,opt,name=bond_did,json=bondDid,proto3" json:"bond_did,omitempty" yaml:"bond_did"`
}
QueryCurrentReserveRequest is the request type for the Query/CurrentReserve RPC method.
func (*QueryCurrentReserveRequest) Descriptor ¶
func (*QueryCurrentReserveRequest) Descriptor() ([]byte, []int)
func (*QueryCurrentReserveRequest) GetBondDid ¶
func (m *QueryCurrentReserveRequest) GetBondDid() string
func (*QueryCurrentReserveRequest) Marshal ¶
func (m *QueryCurrentReserveRequest) Marshal() (dAtA []byte, err error)
func (*QueryCurrentReserveRequest) MarshalTo ¶
func (m *QueryCurrentReserveRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryCurrentReserveRequest) MarshalToSizedBuffer ¶
func (m *QueryCurrentReserveRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryCurrentReserveRequest) ProtoMessage ¶
func (*QueryCurrentReserveRequest) ProtoMessage()
func (*QueryCurrentReserveRequest) Reset ¶
func (m *QueryCurrentReserveRequest) Reset()
func (*QueryCurrentReserveRequest) Size ¶
func (m *QueryCurrentReserveRequest) Size() (n int)
func (*QueryCurrentReserveRequest) String ¶
func (m *QueryCurrentReserveRequest) String() string
func (*QueryCurrentReserveRequest) Unmarshal ¶
func (m *QueryCurrentReserveRequest) Unmarshal(dAtA []byte) error
func (*QueryCurrentReserveRequest) XXX_DiscardUnknown ¶
func (m *QueryCurrentReserveRequest) XXX_DiscardUnknown()
func (*QueryCurrentReserveRequest) XXX_Marshal ¶
func (m *QueryCurrentReserveRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryCurrentReserveRequest) XXX_Merge ¶
func (m *QueryCurrentReserveRequest) XXX_Merge(src proto.Message)
func (*QueryCurrentReserveRequest) XXX_Size ¶
func (m *QueryCurrentReserveRequest) XXX_Size() int
func (*QueryCurrentReserveRequest) XXX_Unmarshal ¶
func (m *QueryCurrentReserveRequest) XXX_Unmarshal(b []byte) error
type QueryCurrentReserveResponse ¶
type QueryCurrentReserveResponse struct {
CurrentReserve []types.Coin `protobuf:"bytes,1,rep,name=current_reserve,json=currentReserve,proto3" json:"current_reserve" yaml:"current_reserve"`
}
QueryCurrentReserveResponse is the response type for the Query/CurrentReserve RPC method.
func (*QueryCurrentReserveResponse) Descriptor ¶
func (*QueryCurrentReserveResponse) Descriptor() ([]byte, []int)
func (*QueryCurrentReserveResponse) GetCurrentReserve ¶
func (m *QueryCurrentReserveResponse) GetCurrentReserve() []types.Coin
func (*QueryCurrentReserveResponse) Marshal ¶
func (m *QueryCurrentReserveResponse) Marshal() (dAtA []byte, err error)
func (*QueryCurrentReserveResponse) MarshalTo ¶
func (m *QueryCurrentReserveResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryCurrentReserveResponse) MarshalToSizedBuffer ¶
func (m *QueryCurrentReserveResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryCurrentReserveResponse) ProtoMessage ¶
func (*QueryCurrentReserveResponse) ProtoMessage()
func (*QueryCurrentReserveResponse) Reset ¶
func (m *QueryCurrentReserveResponse) Reset()
func (*QueryCurrentReserveResponse) Size ¶
func (m *QueryCurrentReserveResponse) Size() (n int)
func (*QueryCurrentReserveResponse) String ¶
func (m *QueryCurrentReserveResponse) String() string
func (*QueryCurrentReserveResponse) Unmarshal ¶
func (m *QueryCurrentReserveResponse) Unmarshal(dAtA []byte) error
func (*QueryCurrentReserveResponse) XXX_DiscardUnknown ¶
func (m *QueryCurrentReserveResponse) XXX_DiscardUnknown()
func (*QueryCurrentReserveResponse) XXX_Marshal ¶
func (m *QueryCurrentReserveResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryCurrentReserveResponse) XXX_Merge ¶
func (m *QueryCurrentReserveResponse) XXX_Merge(src proto.Message)
func (*QueryCurrentReserveResponse) XXX_Size ¶
func (m *QueryCurrentReserveResponse) XXX_Size() int
func (*QueryCurrentReserveResponse) XXX_Unmarshal ¶
func (m *QueryCurrentReserveResponse) XXX_Unmarshal(b []byte) error
type QueryCustomPriceRequest ¶
type QueryCustomPriceRequest struct { BondDid string `protobuf:"bytes,1,opt,name=bond_did,json=bondDid,proto3" json:"bond_did,omitempty" yaml:"bond_did"` BondAmount string `protobuf:"bytes,2,opt,name=bond_amount,json=bondAmount,proto3" json:"bond_amount,omitempty" yaml:"bond_amount"` }
QueryCustomPriceRequest is the request type for the Query/CustomPrice RPC method.
func (*QueryCustomPriceRequest) Descriptor ¶
func (*QueryCustomPriceRequest) Descriptor() ([]byte, []int)
func (*QueryCustomPriceRequest) GetBondAmount ¶
func (m *QueryCustomPriceRequest) GetBondAmount() string
func (*QueryCustomPriceRequest) GetBondDid ¶
func (m *QueryCustomPriceRequest) GetBondDid() string
func (*QueryCustomPriceRequest) Marshal ¶
func (m *QueryCustomPriceRequest) Marshal() (dAtA []byte, err error)
func (*QueryCustomPriceRequest) MarshalTo ¶
func (m *QueryCustomPriceRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryCustomPriceRequest) MarshalToSizedBuffer ¶
func (m *QueryCustomPriceRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryCustomPriceRequest) ProtoMessage ¶
func (*QueryCustomPriceRequest) ProtoMessage()
func (*QueryCustomPriceRequest) Reset ¶
func (m *QueryCustomPriceRequest) Reset()
func (*QueryCustomPriceRequest) Size ¶
func (m *QueryCustomPriceRequest) Size() (n int)
func (*QueryCustomPriceRequest) String ¶
func (m *QueryCustomPriceRequest) String() string
func (*QueryCustomPriceRequest) Unmarshal ¶
func (m *QueryCustomPriceRequest) Unmarshal(dAtA []byte) error
func (*QueryCustomPriceRequest) XXX_DiscardUnknown ¶
func (m *QueryCustomPriceRequest) XXX_DiscardUnknown()
func (*QueryCustomPriceRequest) XXX_Marshal ¶
func (m *QueryCustomPriceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryCustomPriceRequest) XXX_Merge ¶
func (m *QueryCustomPriceRequest) XXX_Merge(src proto.Message)
func (*QueryCustomPriceRequest) XXX_Size ¶
func (m *QueryCustomPriceRequest) XXX_Size() int
func (*QueryCustomPriceRequest) XXX_Unmarshal ¶
func (m *QueryCustomPriceRequest) XXX_Unmarshal(b []byte) error
type QueryCustomPriceResponse ¶
type QueryCustomPriceResponse struct {
Price github_com_cosmos_cosmos_sdk_types.DecCoins `protobuf:"bytes,1,rep,name=price,proto3,castrepeated=github.com/cosmos/cosmos-sdk/types.DecCoins" json:"price" yaml:"price"`
}
QueryCustomPriceResponse is the response type for the Query/CustomPrice RPC method.
func (*QueryCustomPriceResponse) Descriptor ¶
func (*QueryCustomPriceResponse) Descriptor() ([]byte, []int)
func (*QueryCustomPriceResponse) GetPrice ¶
func (m *QueryCustomPriceResponse) GetPrice() github_com_cosmos_cosmos_sdk_types.DecCoins
func (*QueryCustomPriceResponse) Marshal ¶
func (m *QueryCustomPriceResponse) Marshal() (dAtA []byte, err error)
func (*QueryCustomPriceResponse) MarshalTo ¶
func (m *QueryCustomPriceResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryCustomPriceResponse) MarshalToSizedBuffer ¶
func (m *QueryCustomPriceResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryCustomPriceResponse) ProtoMessage ¶
func (*QueryCustomPriceResponse) ProtoMessage()
func (*QueryCustomPriceResponse) Reset ¶
func (m *QueryCustomPriceResponse) Reset()
func (*QueryCustomPriceResponse) Size ¶
func (m *QueryCustomPriceResponse) Size() (n int)
func (*QueryCustomPriceResponse) String ¶
func (m *QueryCustomPriceResponse) String() string
func (*QueryCustomPriceResponse) Unmarshal ¶
func (m *QueryCustomPriceResponse) Unmarshal(dAtA []byte) error
func (*QueryCustomPriceResponse) XXX_DiscardUnknown ¶
func (m *QueryCustomPriceResponse) XXX_DiscardUnknown()
func (*QueryCustomPriceResponse) XXX_Marshal ¶
func (m *QueryCustomPriceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryCustomPriceResponse) XXX_Merge ¶
func (m *QueryCustomPriceResponse) XXX_Merge(src proto.Message)
func (*QueryCustomPriceResponse) XXX_Size ¶
func (m *QueryCustomPriceResponse) XXX_Size() int
func (*QueryCustomPriceResponse) XXX_Unmarshal ¶
func (m *QueryCustomPriceResponse) XXX_Unmarshal(b []byte) error
type QueryLastBatchRequest ¶
type QueryLastBatchRequest struct {
BondDid string `protobuf:"bytes,1,opt,name=bond_did,json=bondDid,proto3" json:"bond_did,omitempty" yaml:"bond_did"`
}
QueryLastBatchRequest is the request type for the Query/LastBatch RPC method.
func (*QueryLastBatchRequest) Descriptor ¶
func (*QueryLastBatchRequest) Descriptor() ([]byte, []int)
func (*QueryLastBatchRequest) GetBondDid ¶
func (m *QueryLastBatchRequest) GetBondDid() string
func (*QueryLastBatchRequest) Marshal ¶
func (m *QueryLastBatchRequest) Marshal() (dAtA []byte, err error)
func (*QueryLastBatchRequest) MarshalTo ¶
func (m *QueryLastBatchRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryLastBatchRequest) MarshalToSizedBuffer ¶
func (m *QueryLastBatchRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryLastBatchRequest) ProtoMessage ¶
func (*QueryLastBatchRequest) ProtoMessage()
func (*QueryLastBatchRequest) Reset ¶
func (m *QueryLastBatchRequest) Reset()
func (*QueryLastBatchRequest) Size ¶
func (m *QueryLastBatchRequest) Size() (n int)
func (*QueryLastBatchRequest) String ¶
func (m *QueryLastBatchRequest) String() string
func (*QueryLastBatchRequest) Unmarshal ¶
func (m *QueryLastBatchRequest) Unmarshal(dAtA []byte) error
func (*QueryLastBatchRequest) XXX_DiscardUnknown ¶
func (m *QueryLastBatchRequest) XXX_DiscardUnknown()
func (*QueryLastBatchRequest) XXX_Marshal ¶
func (m *QueryLastBatchRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryLastBatchRequest) XXX_Merge ¶
func (m *QueryLastBatchRequest) XXX_Merge(src proto.Message)
func (*QueryLastBatchRequest) XXX_Size ¶
func (m *QueryLastBatchRequest) XXX_Size() int
func (*QueryLastBatchRequest) XXX_Unmarshal ¶
func (m *QueryLastBatchRequest) XXX_Unmarshal(b []byte) error
type QueryLastBatchResponse ¶
type QueryLastBatchResponse struct {
LastBatch *Batch `protobuf:"bytes,1,opt,name=last_batch,json=lastBatch,proto3" json:"last_batch,omitempty" yaml:"last_batch"`
}
QueryLastBatchResponse is the response type for the Query/LastBatch RPC method.
func (*QueryLastBatchResponse) Descriptor ¶
func (*QueryLastBatchResponse) Descriptor() ([]byte, []int)
func (*QueryLastBatchResponse) GetLastBatch ¶
func (m *QueryLastBatchResponse) GetLastBatch() *Batch
func (*QueryLastBatchResponse) Marshal ¶
func (m *QueryLastBatchResponse) Marshal() (dAtA []byte, err error)
func (*QueryLastBatchResponse) MarshalTo ¶
func (m *QueryLastBatchResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryLastBatchResponse) MarshalToSizedBuffer ¶
func (m *QueryLastBatchResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryLastBatchResponse) ProtoMessage ¶
func (*QueryLastBatchResponse) ProtoMessage()
func (*QueryLastBatchResponse) Reset ¶
func (m *QueryLastBatchResponse) Reset()
func (*QueryLastBatchResponse) Size ¶
func (m *QueryLastBatchResponse) Size() (n int)
func (*QueryLastBatchResponse) String ¶
func (m *QueryLastBatchResponse) String() string
func (*QueryLastBatchResponse) Unmarshal ¶
func (m *QueryLastBatchResponse) Unmarshal(dAtA []byte) error
func (*QueryLastBatchResponse) XXX_DiscardUnknown ¶
func (m *QueryLastBatchResponse) XXX_DiscardUnknown()
func (*QueryLastBatchResponse) XXX_Marshal ¶
func (m *QueryLastBatchResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryLastBatchResponse) XXX_Merge ¶
func (m *QueryLastBatchResponse) XXX_Merge(src proto.Message)
func (*QueryLastBatchResponse) XXX_Size ¶
func (m *QueryLastBatchResponse) XXX_Size() int
func (*QueryLastBatchResponse) XXX_Unmarshal ¶
func (m *QueryLastBatchResponse) XXX_Unmarshal(b []byte) error
type QueryParamsRequest ¶
type QueryParamsRequest struct { }
QueryParamsRequest is the request type for the Query/Params RPC method.
func (*QueryParamsRequest) Descriptor ¶
func (*QueryParamsRequest) Descriptor() ([]byte, []int)
func (*QueryParamsRequest) Marshal ¶
func (m *QueryParamsRequest) Marshal() (dAtA []byte, err error)
func (*QueryParamsRequest) MarshalTo ¶
func (m *QueryParamsRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryParamsRequest) MarshalToSizedBuffer ¶
func (m *QueryParamsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryParamsRequest) ProtoMessage ¶
func (*QueryParamsRequest) ProtoMessage()
func (*QueryParamsRequest) Reset ¶
func (m *QueryParamsRequest) Reset()
func (*QueryParamsRequest) Size ¶
func (m *QueryParamsRequest) Size() (n int)
func (*QueryParamsRequest) String ¶
func (m *QueryParamsRequest) String() string
func (*QueryParamsRequest) Unmarshal ¶
func (m *QueryParamsRequest) Unmarshal(dAtA []byte) error
func (*QueryParamsRequest) XXX_DiscardUnknown ¶
func (m *QueryParamsRequest) XXX_DiscardUnknown()
func (*QueryParamsRequest) XXX_Marshal ¶
func (m *QueryParamsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryParamsRequest) XXX_Merge ¶
func (m *QueryParamsRequest) XXX_Merge(src proto.Message)
func (*QueryParamsRequest) XXX_Size ¶
func (m *QueryParamsRequest) XXX_Size() int
func (*QueryParamsRequest) XXX_Unmarshal ¶
func (m *QueryParamsRequest) XXX_Unmarshal(b []byte) error
type QueryParamsResponse ¶
type QueryParamsResponse struct {
Params *Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params,omitempty" yaml:"params"`
}
QueryParamsResponse is the response type for the Query/Params RPC method.
func (*QueryParamsResponse) Descriptor ¶
func (*QueryParamsResponse) Descriptor() ([]byte, []int)
func (*QueryParamsResponse) GetParams ¶
func (m *QueryParamsResponse) GetParams() *Params
func (*QueryParamsResponse) Marshal ¶
func (m *QueryParamsResponse) Marshal() (dAtA []byte, err error)
func (*QueryParamsResponse) MarshalTo ¶
func (m *QueryParamsResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryParamsResponse) MarshalToSizedBuffer ¶
func (m *QueryParamsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryParamsResponse) ProtoMessage ¶
func (*QueryParamsResponse) ProtoMessage()
func (*QueryParamsResponse) Reset ¶
func (m *QueryParamsResponse) Reset()
func (*QueryParamsResponse) Size ¶
func (m *QueryParamsResponse) Size() (n int)
func (*QueryParamsResponse) String ¶
func (m *QueryParamsResponse) String() string
func (*QueryParamsResponse) Unmarshal ¶
func (m *QueryParamsResponse) Unmarshal(dAtA []byte) error
func (*QueryParamsResponse) XXX_DiscardUnknown ¶
func (m *QueryParamsResponse) XXX_DiscardUnknown()
func (*QueryParamsResponse) XXX_Marshal ¶
func (m *QueryParamsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryParamsResponse) XXX_Merge ¶
func (m *QueryParamsResponse) XXX_Merge(src proto.Message)
func (*QueryParamsResponse) XXX_Size ¶
func (m *QueryParamsResponse) XXX_Size() int
func (*QueryParamsResponse) XXX_Unmarshal ¶
func (m *QueryParamsResponse) XXX_Unmarshal(b []byte) error
type QuerySellReturnRequest ¶
type QuerySellReturnRequest struct { BondDid string `protobuf:"bytes,1,opt,name=bond_did,json=bondDid,proto3" json:"bond_did,omitempty" yaml:"bond_did"` BondAmount string `protobuf:"bytes,2,opt,name=bond_amount,json=bondAmount,proto3" json:"bond_amount,omitempty" yaml:"bond_amount"` }
QuerySellReturnRequest is the request type for the Query/SellReturn RPC method.
func (*QuerySellReturnRequest) Descriptor ¶
func (*QuerySellReturnRequest) Descriptor() ([]byte, []int)
func (*QuerySellReturnRequest) GetBondAmount ¶
func (m *QuerySellReturnRequest) GetBondAmount() string
func (*QuerySellReturnRequest) GetBondDid ¶
func (m *QuerySellReturnRequest) GetBondDid() string
func (*QuerySellReturnRequest) Marshal ¶
func (m *QuerySellReturnRequest) Marshal() (dAtA []byte, err error)
func (*QuerySellReturnRequest) MarshalTo ¶
func (m *QuerySellReturnRequest) MarshalTo(dAtA []byte) (int, error)
func (*QuerySellReturnRequest) MarshalToSizedBuffer ¶
func (m *QuerySellReturnRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QuerySellReturnRequest) ProtoMessage ¶
func (*QuerySellReturnRequest) ProtoMessage()
func (*QuerySellReturnRequest) Reset ¶
func (m *QuerySellReturnRequest) Reset()
func (*QuerySellReturnRequest) Size ¶
func (m *QuerySellReturnRequest) Size() (n int)
func (*QuerySellReturnRequest) String ¶
func (m *QuerySellReturnRequest) String() string
func (*QuerySellReturnRequest) Unmarshal ¶
func (m *QuerySellReturnRequest) Unmarshal(dAtA []byte) error
func (*QuerySellReturnRequest) XXX_DiscardUnknown ¶
func (m *QuerySellReturnRequest) XXX_DiscardUnknown()
func (*QuerySellReturnRequest) XXX_Marshal ¶
func (m *QuerySellReturnRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QuerySellReturnRequest) XXX_Merge ¶
func (m *QuerySellReturnRequest) XXX_Merge(src proto.Message)
func (*QuerySellReturnRequest) XXX_Size ¶
func (m *QuerySellReturnRequest) XXX_Size() int
func (*QuerySellReturnRequest) XXX_Unmarshal ¶
func (m *QuerySellReturnRequest) XXX_Unmarshal(b []byte) error
type QuerySellReturnResponse ¶
type QuerySellReturnResponse struct { AdjustedSupply types.Coin `protobuf:"bytes,1,opt,name=adjusted_supply,json=adjustedSupply,proto3" json:"adjusted_supply" yaml:"adjusted_supply"` Returns github_com_cosmos_cosmos_sdk_types.Coins `` /* 126-byte string literal not displayed */ TxFees github_com_cosmos_cosmos_sdk_types.Coins `` /* 138-byte string literal not displayed */ ExitFees github_com_cosmos_cosmos_sdk_types.Coins `` /* 146-byte string literal not displayed */ TotalReturns github_com_cosmos_cosmos_sdk_types.Coins `` /* 162-byte string literal not displayed */ TotalFees github_com_cosmos_cosmos_sdk_types.Coins `` /* 150-byte string literal not displayed */ }
QuerySellReturnResponse is the response type for the Query/SellReturn RPC method.
func (*QuerySellReturnResponse) Descriptor ¶
func (*QuerySellReturnResponse) Descriptor() ([]byte, []int)
func (*QuerySellReturnResponse) GetAdjustedSupply ¶
func (m *QuerySellReturnResponse) GetAdjustedSupply() types.Coin
func (*QuerySellReturnResponse) GetExitFees ¶
func (m *QuerySellReturnResponse) GetExitFees() github_com_cosmos_cosmos_sdk_types.Coins
func (*QuerySellReturnResponse) GetReturns ¶
func (m *QuerySellReturnResponse) GetReturns() github_com_cosmos_cosmos_sdk_types.Coins
func (*QuerySellReturnResponse) GetTotalFees ¶
func (m *QuerySellReturnResponse) GetTotalFees() github_com_cosmos_cosmos_sdk_types.Coins
func (*QuerySellReturnResponse) GetTotalReturns ¶
func (m *QuerySellReturnResponse) GetTotalReturns() github_com_cosmos_cosmos_sdk_types.Coins
func (*QuerySellReturnResponse) GetTxFees ¶
func (m *QuerySellReturnResponse) GetTxFees() github_com_cosmos_cosmos_sdk_types.Coins
func (*QuerySellReturnResponse) Marshal ¶
func (m *QuerySellReturnResponse) Marshal() (dAtA []byte, err error)
func (*QuerySellReturnResponse) MarshalTo ¶
func (m *QuerySellReturnResponse) MarshalTo(dAtA []byte) (int, error)
func (*QuerySellReturnResponse) MarshalToSizedBuffer ¶
func (m *QuerySellReturnResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QuerySellReturnResponse) ProtoMessage ¶
func (*QuerySellReturnResponse) ProtoMessage()
func (*QuerySellReturnResponse) Reset ¶
func (m *QuerySellReturnResponse) Reset()
func (*QuerySellReturnResponse) Size ¶
func (m *QuerySellReturnResponse) Size() (n int)
func (*QuerySellReturnResponse) String ¶
func (m *QuerySellReturnResponse) String() string
func (*QuerySellReturnResponse) Unmarshal ¶
func (m *QuerySellReturnResponse) Unmarshal(dAtA []byte) error
func (*QuerySellReturnResponse) XXX_DiscardUnknown ¶
func (m *QuerySellReturnResponse) XXX_DiscardUnknown()
func (*QuerySellReturnResponse) XXX_Marshal ¶
func (m *QuerySellReturnResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QuerySellReturnResponse) XXX_Merge ¶
func (m *QuerySellReturnResponse) XXX_Merge(src proto.Message)
func (*QuerySellReturnResponse) XXX_Size ¶
func (m *QuerySellReturnResponse) XXX_Size() int
func (*QuerySellReturnResponse) XXX_Unmarshal ¶
func (m *QuerySellReturnResponse) XXX_Unmarshal(b []byte) error
type QueryServer ¶
type QueryServer interface { // Bonds returns all existing bonds. Bonds(context.Context, *QueryBondsRequest) (*QueryBondsResponse, error) // BondsDetailed returns a list of all existing bonds with some details about their current state. BondsDetailed(context.Context, *QueryBondsDetailedRequest) (*QueryBondsDetailedResponse, error) // Params queries the paramaters of x/bonds module. Params(context.Context, *QueryParamsRequest) (*QueryParamsResponse, error) // Bond queries info of a specific bond. Bond(context.Context, *QueryBondRequest) (*QueryBondResponse, error) // Batch queries info of a specific bond's current batch. Batch(context.Context, *QueryBatchRequest) (*QueryBatchResponse, error) // LastBatch queries info of a specific bond's last batch. LastBatch(context.Context, *QueryLastBatchRequest) (*QueryLastBatchResponse, error) // CurrentPrice queries the current price/s of a specific bond. CurrentPrice(context.Context, *QueryCurrentPriceRequest) (*QueryCurrentPriceResponse, error) // CurrentReserve queries the current balance/s of the reserve pool for a specific bond. CurrentReserve(context.Context, *QueryCurrentReserveRequest) (*QueryCurrentReserveResponse, error) // AvailableReserve queries current available balance/s of the reserve pool for a specific bond. AvailableReserve(context.Context, *QueryAvailableReserveRequest) (*QueryAvailableReserveResponse, error) // CustomPrice queries price/s of a specific bond at a specific supply. CustomPrice(context.Context, *QueryCustomPriceRequest) (*QueryCustomPriceResponse, error) // BuyPrice queries price/s of buying an amount of tokens from a specific bond. BuyPrice(context.Context, *QueryBuyPriceRequest) (*QueryBuyPriceResponse, error) // SellReturn queries return/s on selling an amount of tokens of a specific bond. SellReturn(context.Context, *QuerySellReturnRequest) (*QuerySellReturnResponse, error) // SwapReturn queries return/s on swapping an amount of tokens to another token of a specific bond. SwapReturn(context.Context, *QuerySwapReturnRequest) (*QuerySwapReturnResponse, error) // AlphaMaximums queries alpha maximums for a specific augmented bonding curve. AlphaMaximums(context.Context, *QueryAlphaMaximumsRequest) (*QueryAlphaMaximumsResponse, error) }
QueryServer is the server API for Query service.
type QuerySwapReturnRequest ¶
type QuerySwapReturnRequest struct { BondDid string `protobuf:"bytes,1,opt,name=bond_did,json=bondDid,proto3" json:"bond_did,omitempty" yaml:"bond_did"` FromTokenWithAmount string `` /* 152-byte string literal not displayed */ ToToken string `protobuf:"bytes,3,opt,name=to_token,json=toToken,proto3" json:"to_token,omitempty" yaml:"to_token"` }
QuerySwapReturnRequest is the request type for the Query/SwapReturn RPC method.
func (*QuerySwapReturnRequest) Descriptor ¶
func (*QuerySwapReturnRequest) Descriptor() ([]byte, []int)
func (*QuerySwapReturnRequest) GetBondDid ¶
func (m *QuerySwapReturnRequest) GetBondDid() string
func (*QuerySwapReturnRequest) GetFromTokenWithAmount ¶
func (m *QuerySwapReturnRequest) GetFromTokenWithAmount() string
func (*QuerySwapReturnRequest) GetToToken ¶
func (m *QuerySwapReturnRequest) GetToToken() string
func (*QuerySwapReturnRequest) Marshal ¶
func (m *QuerySwapReturnRequest) Marshal() (dAtA []byte, err error)
func (*QuerySwapReturnRequest) MarshalTo ¶
func (m *QuerySwapReturnRequest) MarshalTo(dAtA []byte) (int, error)
func (*QuerySwapReturnRequest) MarshalToSizedBuffer ¶
func (m *QuerySwapReturnRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QuerySwapReturnRequest) ProtoMessage ¶
func (*QuerySwapReturnRequest) ProtoMessage()
func (*QuerySwapReturnRequest) Reset ¶
func (m *QuerySwapReturnRequest) Reset()
func (*QuerySwapReturnRequest) Size ¶
func (m *QuerySwapReturnRequest) Size() (n int)
func (*QuerySwapReturnRequest) String ¶
func (m *QuerySwapReturnRequest) String() string
func (*QuerySwapReturnRequest) Unmarshal ¶
func (m *QuerySwapReturnRequest) Unmarshal(dAtA []byte) error
func (*QuerySwapReturnRequest) XXX_DiscardUnknown ¶
func (m *QuerySwapReturnRequest) XXX_DiscardUnknown()
func (*QuerySwapReturnRequest) XXX_Marshal ¶
func (m *QuerySwapReturnRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QuerySwapReturnRequest) XXX_Merge ¶
func (m *QuerySwapReturnRequest) XXX_Merge(src proto.Message)
func (*QuerySwapReturnRequest) XXX_Size ¶
func (m *QuerySwapReturnRequest) XXX_Size() int
func (*QuerySwapReturnRequest) XXX_Unmarshal ¶
func (m *QuerySwapReturnRequest) XXX_Unmarshal(b []byte) error
type QuerySwapReturnResponse ¶
type QuerySwapReturnResponse struct { TotalReturns github_com_cosmos_cosmos_sdk_types.Coins `` /* 162-byte string literal not displayed */ TotalFees github_com_cosmos_cosmos_sdk_types.Coins `` /* 150-byte string literal not displayed */ }
QuerySwapReturnResponse is the response type for the Query/SwapReturn RPC method.
func (*QuerySwapReturnResponse) Descriptor ¶
func (*QuerySwapReturnResponse) Descriptor() ([]byte, []int)
func (*QuerySwapReturnResponse) GetTotalFees ¶
func (m *QuerySwapReturnResponse) GetTotalFees() github_com_cosmos_cosmos_sdk_types.Coins
func (*QuerySwapReturnResponse) GetTotalReturns ¶
func (m *QuerySwapReturnResponse) GetTotalReturns() github_com_cosmos_cosmos_sdk_types.Coins
func (*QuerySwapReturnResponse) Marshal ¶
func (m *QuerySwapReturnResponse) Marshal() (dAtA []byte, err error)
func (*QuerySwapReturnResponse) MarshalTo ¶
func (m *QuerySwapReturnResponse) MarshalTo(dAtA []byte) (int, error)
func (*QuerySwapReturnResponse) MarshalToSizedBuffer ¶
func (m *QuerySwapReturnResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QuerySwapReturnResponse) ProtoMessage ¶
func (*QuerySwapReturnResponse) ProtoMessage()
func (*QuerySwapReturnResponse) Reset ¶
func (m *QuerySwapReturnResponse) Reset()
func (*QuerySwapReturnResponse) Size ¶
func (m *QuerySwapReturnResponse) Size() (n int)
func (*QuerySwapReturnResponse) String ¶
func (m *QuerySwapReturnResponse) String() string
func (*QuerySwapReturnResponse) Unmarshal ¶
func (m *QuerySwapReturnResponse) Unmarshal(dAtA []byte) error
func (*QuerySwapReturnResponse) XXX_DiscardUnknown ¶
func (m *QuerySwapReturnResponse) XXX_DiscardUnknown()
func (*QuerySwapReturnResponse) XXX_Marshal ¶
func (m *QuerySwapReturnResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QuerySwapReturnResponse) XXX_Merge ¶
func (m *QuerySwapReturnResponse) XXX_Merge(src proto.Message)
func (*QuerySwapReturnResponse) XXX_Size ¶
func (m *QuerySwapReturnResponse) XXX_Size() int
func (*QuerySwapReturnResponse) XXX_Unmarshal ¶
func (m *QuerySwapReturnResponse) XXX_Unmarshal(b []byte) error
type SellOrder ¶
type SellOrder struct {
BaseOrder BaseOrder `protobuf:"bytes,1,opt,name=base_order,json=baseOrder,proto3" json:"base_order" yaml:"base_order"`
}
SellOrder defines a type for submitting a sell order on a bond.
func NewSellOrder ¶
func NewSellOrder(sellerDid iidtypes.DIDFragment, amount sdk.Coin) SellOrder
func (*SellOrder) Descriptor ¶
func (*SellOrder) GetBaseOrder ¶
func (*SellOrder) MarshalToSizedBuffer ¶
func (*SellOrder) ProtoMessage ¶
func (*SellOrder) ProtoMessage()
func (*SellOrder) XXX_DiscardUnknown ¶
func (m *SellOrder) XXX_DiscardUnknown()
func (*SellOrder) XXX_Marshal ¶
func (*SellOrder) XXX_Unmarshal ¶
type SwapOrder ¶
type SwapOrder struct { BaseOrder BaseOrder `protobuf:"bytes,1,opt,name=base_order,json=baseOrder,proto3" json:"base_order" yaml:"base_order"` ToToken string `protobuf:"bytes,2,opt,name=to_token,json=toToken,proto3" json:"to_token,omitempty" yaml:"to_token"` }
SwapOrder defines a type for submitting a swap order between two tokens on a bond.
func NewSwapOrder ¶
func (*SwapOrder) Descriptor ¶
func (*SwapOrder) GetBaseOrder ¶
func (*SwapOrder) GetToToken ¶
func (*SwapOrder) MarshalToSizedBuffer ¶
func (*SwapOrder) ProtoMessage ¶
func (*SwapOrder) ProtoMessage()
func (*SwapOrder) XXX_DiscardUnknown ¶
func (m *SwapOrder) XXX_DiscardUnknown()
func (*SwapOrder) XXX_Marshal ¶
func (*SwapOrder) XXX_Unmarshal ¶
type UnimplementedMsgServer ¶
type UnimplementedMsgServer struct { }
UnimplementedMsgServer can be embedded to have forward compatible implementations.
func (*UnimplementedMsgServer) Buy ¶
func (*UnimplementedMsgServer) Buy(ctx context.Context, req *MsgBuy) (*MsgBuyResponse, error)
func (*UnimplementedMsgServer) CreateBond ¶
func (*UnimplementedMsgServer) CreateBond(ctx context.Context, req *MsgCreateBond) (*MsgCreateBondResponse, error)
func (*UnimplementedMsgServer) EditBond ¶
func (*UnimplementedMsgServer) EditBond(ctx context.Context, req *MsgEditBond) (*MsgEditBondResponse, error)
func (*UnimplementedMsgServer) MakeOutcomePayment ¶
func (*UnimplementedMsgServer) MakeOutcomePayment(ctx context.Context, req *MsgMakeOutcomePayment) (*MsgMakeOutcomePaymentResponse, error)
func (*UnimplementedMsgServer) Sell ¶
func (*UnimplementedMsgServer) Sell(ctx context.Context, req *MsgSell) (*MsgSellResponse, error)
func (*UnimplementedMsgServer) SetNextAlpha ¶
func (*UnimplementedMsgServer) SetNextAlpha(ctx context.Context, req *MsgSetNextAlpha) (*MsgSetNextAlphaResponse, error)
func (*UnimplementedMsgServer) Swap ¶
func (*UnimplementedMsgServer) Swap(ctx context.Context, req *MsgSwap) (*MsgSwapResponse, error)
func (*UnimplementedMsgServer) UpdateBondState ¶
func (*UnimplementedMsgServer) UpdateBondState(ctx context.Context, req *MsgUpdateBondState) (*MsgUpdateBondStateResponse, error)
func (*UnimplementedMsgServer) WithdrawReserve ¶ added in v0.16.0
func (*UnimplementedMsgServer) WithdrawReserve(ctx context.Context, req *MsgWithdrawReserve) (*MsgWithdrawReserveResponse, error)
func (*UnimplementedMsgServer) WithdrawShare ¶
func (*UnimplementedMsgServer) WithdrawShare(ctx context.Context, req *MsgWithdrawShare) (*MsgWithdrawShareResponse, error)
type UnimplementedQueryServer ¶
type UnimplementedQueryServer struct { }
UnimplementedQueryServer can be embedded to have forward compatible implementations.
func (*UnimplementedQueryServer) AlphaMaximums ¶
func (*UnimplementedQueryServer) AlphaMaximums(ctx context.Context, req *QueryAlphaMaximumsRequest) (*QueryAlphaMaximumsResponse, error)
func (*UnimplementedQueryServer) AvailableReserve ¶ added in v0.16.0
func (*UnimplementedQueryServer) AvailableReserve(ctx context.Context, req *QueryAvailableReserveRequest) (*QueryAvailableReserveResponse, error)
func (*UnimplementedQueryServer) Batch ¶
func (*UnimplementedQueryServer) Batch(ctx context.Context, req *QueryBatchRequest) (*QueryBatchResponse, error)
func (*UnimplementedQueryServer) Bond ¶
func (*UnimplementedQueryServer) Bond(ctx context.Context, req *QueryBondRequest) (*QueryBondResponse, error)
func (*UnimplementedQueryServer) Bonds ¶
func (*UnimplementedQueryServer) Bonds(ctx context.Context, req *QueryBondsRequest) (*QueryBondsResponse, error)
func (*UnimplementedQueryServer) BondsDetailed ¶
func (*UnimplementedQueryServer) BondsDetailed(ctx context.Context, req *QueryBondsDetailedRequest) (*QueryBondsDetailedResponse, error)
func (*UnimplementedQueryServer) BuyPrice ¶
func (*UnimplementedQueryServer) BuyPrice(ctx context.Context, req *QueryBuyPriceRequest) (*QueryBuyPriceResponse, error)
func (*UnimplementedQueryServer) CurrentPrice ¶
func (*UnimplementedQueryServer) CurrentPrice(ctx context.Context, req *QueryCurrentPriceRequest) (*QueryCurrentPriceResponse, error)
func (*UnimplementedQueryServer) CurrentReserve ¶
func (*UnimplementedQueryServer) CurrentReserve(ctx context.Context, req *QueryCurrentReserveRequest) (*QueryCurrentReserveResponse, error)
func (*UnimplementedQueryServer) CustomPrice ¶
func (*UnimplementedQueryServer) CustomPrice(ctx context.Context, req *QueryCustomPriceRequest) (*QueryCustomPriceResponse, error)
func (*UnimplementedQueryServer) LastBatch ¶
func (*UnimplementedQueryServer) LastBatch(ctx context.Context, req *QueryLastBatchRequest) (*QueryLastBatchResponse, error)
func (*UnimplementedQueryServer) Params ¶
func (*UnimplementedQueryServer) Params(ctx context.Context, req *QueryParamsRequest) (*QueryParamsResponse, error)
func (*UnimplementedQueryServer) SellReturn ¶
func (*UnimplementedQueryServer) SellReturn(ctx context.Context, req *QuerySellReturnRequest) (*QuerySellReturnResponse, error)
func (*UnimplementedQueryServer) SwapReturn ¶
func (*UnimplementedQueryServer) SwapReturn(ctx context.Context, req *QuerySwapReturnRequest) (*QuerySwapReturnResponse, error)