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 math.LegacyDec, power math.LegacyDec) (guess math.LegacyDec, err error)
- func ApproxRoot(d math.LegacyDec, root math.LegacyDec) (guess math.LegacyDec, 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_math.LegacyDec, error)
- func DivideDecCoinByDec(dc sdk.DecCoin, scale math.LegacyDec) sdk.DecCoin
- func DivideDecCoinsByDec(dcs sdk.DecCoins, scale math.LegacyDec) (scaled sdk.DecCoins)
- func GetBatchKey(bondDid string) []byte
- func GetBondDidsKey(token string) []byte
- func GetBondKey(bondDid string) []byte
- func GetLastBatchKey(bondDid string) []byte
- func GetRequiredParamsForFunctionType(fnType string) (fnParams []string, err error)
- func Invariant(R, S math.LegacyDec, kappa math.LegacyDec) (math.LegacyDec, error)
- func InvariantI(C math.Int, alpha math.LegacyDec, R math.Int) math.LegacyDec
- func InvariantIAlt(C math.Int, alpha math.LegacyDec, kappa math.LegacyDec) math.LegacyDec
- func Kappa(I math.LegacyDec, C math.Int, alpha math.LegacyDec) math.LegacyDec
- func MultiplyDecCoinByDec(dc sdk.DecCoin, scale math.LegacyDec) sdk.DecCoin
- func MultiplyDecCoinByInt(dc sdk.DecCoin, scale math.Int) sdk.DecCoin
- func MultiplyDecCoinsByDec(dcs sdk.DecCoins, scale math.LegacyDec) (scaled sdk.DecCoins)
- func MultiplyDecCoinsByInt(dcs sdk.DecCoins, scale math.Int) (scaled sdk.DecCoins)
- func ParamKeyTable() paramstypes.KeyTable
- func RegisterInterfaces(registry cdctypes.InterfaceRegistry)
- func RegisterLegacyAminoCodec(cdc *codec.LegacyAmino)
- func RegisterMsgServer(s grpc1.Server, srv MsgServer)
- func RegisterQueryHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterQueryHandlerClient(ctx context.Context, mux *runtime.ServeMux, client QueryClient) error
- func RegisterQueryHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, server QueryServer) error
- func RegisterQueryServer(s grpc1.Server, srv QueryServer)
- func Reserve(S math.LegacyDec, kappa math.LegacyDec, V0 math.LegacyDec) (math.LegacyDec, 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 math.LegacyDec, kappa math.LegacyDec, V0 math.LegacyDec) (math.LegacyDec, error)
- func StringsToString(strs []string) (result string)
- func SystemAlpha(publicAlpha math.LegacyDec, S0, S1, R, C math.Int) math.LegacyDec
- func ValidateGenesis(data *GenesisState) error
- func ValidateParams(params Params) error
- type AccountKeeper
- 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 BankKeeper
- type BaseOrder
- func (*BaseOrder) Descriptor() ([]byte, []int)
- func (m *BaseOrder) GetAccountDid() github_com_ixofoundation_ixo_blockchain_v4_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_v4_x_iid_types.DIDFragment
- func (m *Bond) GetCreatorDid() github_com_ixofoundation_ixo_blockchain_v4_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 math.LegacyDec) sdk.Coin
- func (m *Bond) GetFeeAddress() string
- func (bond Bond) GetFees(reserveAmounts sdk.DecCoins, percentage math.LegacyDec) (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 math.Int) (coins sdk.Coins)
- func (bond Bond) GetNewReserveDecCoins(amount math.LegacyDec) (coins sdk.DecCoins)
- func (m *Bond) GetOracleDid() github_com_ixofoundation_ixo_blockchain_v4_x_iid_types.DIDFragment
- func (m *Bond) GetOrderQuantityLimits() github_com_cosmos_cosmos_sdk_types.Coins
- func (bond Bond) GetPricesAtSupply(supply math.Int) (result sdk.DecCoins, err error)
- func (bond Bond) GetPricesToMint(mint math.Int, reserveBalances sdk.Coins) (sdk.DecCoins, error)
- func (bond Bond) GetReserveDeltaForLiquidityDelta(mintOrBurn math.Int, reserveBalances sdk.Coins) sdk.DecCoins
- func (m *Bond) GetReserveTokens() []string
- func (m *Bond) GetReserveWithdrawalAddress() string
- func (bond Bond) GetReturnsForBurn(burn math.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 math.Int) (result math.LegacyDec, 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 BondBuyOrderCancelledEvent
- func (*BondBuyOrderCancelledEvent) Descriptor() ([]byte, []int)
- func (m *BondBuyOrderCancelledEvent) GetBondDid() string
- func (m *BondBuyOrderCancelledEvent) GetOrder() *BuyOrder
- func (m *BondBuyOrderCancelledEvent) Marshal() (dAtA []byte, err error)
- func (m *BondBuyOrderCancelledEvent) MarshalTo(dAtA []byte) (int, error)
- func (m *BondBuyOrderCancelledEvent) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*BondBuyOrderCancelledEvent) ProtoMessage()
- func (m *BondBuyOrderCancelledEvent) Reset()
- func (m *BondBuyOrderCancelledEvent) Size() (n int)
- func (m *BondBuyOrderCancelledEvent) String() string
- func (m *BondBuyOrderCancelledEvent) Unmarshal(dAtA []byte) error
- func (m *BondBuyOrderCancelledEvent) XXX_DiscardUnknown()
- func (m *BondBuyOrderCancelledEvent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *BondBuyOrderCancelledEvent) XXX_Merge(src proto.Message)
- func (m *BondBuyOrderCancelledEvent) XXX_Size() int
- func (m *BondBuyOrderCancelledEvent) XXX_Unmarshal(b []byte) error
- type BondBuyOrderEvent
- func (*BondBuyOrderEvent) Descriptor() ([]byte, []int)
- func (m *BondBuyOrderEvent) GetBondDid() string
- func (m *BondBuyOrderEvent) GetOrder() *BuyOrder
- func (m *BondBuyOrderEvent) Marshal() (dAtA []byte, err error)
- func (m *BondBuyOrderEvent) MarshalTo(dAtA []byte) (int, error)
- func (m *BondBuyOrderEvent) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*BondBuyOrderEvent) ProtoMessage()
- func (m *BondBuyOrderEvent) Reset()
- func (m *BondBuyOrderEvent) Size() (n int)
- func (m *BondBuyOrderEvent) String() string
- func (m *BondBuyOrderEvent) Unmarshal(dAtA []byte) error
- func (m *BondBuyOrderEvent) XXX_DiscardUnknown()
- func (m *BondBuyOrderEvent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *BondBuyOrderEvent) XXX_Merge(src proto.Message)
- func (m *BondBuyOrderEvent) XXX_Size() int
- func (m *BondBuyOrderEvent) XXX_Unmarshal(b []byte) error
- type BondBuyOrderFulfilledEvent
- func (*BondBuyOrderFulfilledEvent) Descriptor() ([]byte, []int)
- func (m *BondBuyOrderFulfilledEvent) GetBondDid() string
- func (m *BondBuyOrderFulfilledEvent) GetChargedFees() github_com_cosmos_cosmos_sdk_types.Coins
- func (m *BondBuyOrderFulfilledEvent) GetChargedPrices() github_com_cosmos_cosmos_sdk_types.Coins
- func (m *BondBuyOrderFulfilledEvent) GetChargedPricesOfWhichFunding() github_com_cosmos_cosmos_sdk_types.Coins
- func (m *BondBuyOrderFulfilledEvent) GetOrder() *BuyOrder
- func (m *BondBuyOrderFulfilledEvent) GetReturnedToAddress() github_com_cosmos_cosmos_sdk_types.Coins
- func (m *BondBuyOrderFulfilledEvent) Marshal() (dAtA []byte, err error)
- func (m *BondBuyOrderFulfilledEvent) MarshalTo(dAtA []byte) (int, error)
- func (m *BondBuyOrderFulfilledEvent) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*BondBuyOrderFulfilledEvent) ProtoMessage()
- func (m *BondBuyOrderFulfilledEvent) Reset()
- func (m *BondBuyOrderFulfilledEvent) Size() (n int)
- func (m *BondBuyOrderFulfilledEvent) String() string
- func (m *BondBuyOrderFulfilledEvent) Unmarshal(dAtA []byte) error
- func (m *BondBuyOrderFulfilledEvent) XXX_DiscardUnknown()
- func (m *BondBuyOrderFulfilledEvent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *BondBuyOrderFulfilledEvent) XXX_Merge(src proto.Message)
- func (m *BondBuyOrderFulfilledEvent) XXX_Size() int
- func (m *BondBuyOrderFulfilledEvent) XXX_Unmarshal(b []byte) error
- type BondCreatedEvent
- func (*BondCreatedEvent) Descriptor() ([]byte, []int)
- func (m *BondCreatedEvent) GetBond() *Bond
- func (m *BondCreatedEvent) Marshal() (dAtA []byte, err error)
- func (m *BondCreatedEvent) MarshalTo(dAtA []byte) (int, error)
- func (m *BondCreatedEvent) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*BondCreatedEvent) ProtoMessage()
- func (m *BondCreatedEvent) Reset()
- func (m *BondCreatedEvent) Size() (n int)
- func (m *BondCreatedEvent) String() string
- func (m *BondCreatedEvent) Unmarshal(dAtA []byte) error
- func (m *BondCreatedEvent) XXX_DiscardUnknown()
- func (m *BondCreatedEvent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *BondCreatedEvent) XXX_Merge(src proto.Message)
- func (m *BondCreatedEvent) XXX_Size() int
- func (m *BondCreatedEvent) 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 BondEditAlphaFailedEvent
- func (*BondEditAlphaFailedEvent) Descriptor() ([]byte, []int)
- func (m *BondEditAlphaFailedEvent) GetBondDid() string
- func (m *BondEditAlphaFailedEvent) GetCancelReason() string
- func (m *BondEditAlphaFailedEvent) GetToken() string
- func (m *BondEditAlphaFailedEvent) Marshal() (dAtA []byte, err error)
- func (m *BondEditAlphaFailedEvent) MarshalTo(dAtA []byte) (int, error)
- func (m *BondEditAlphaFailedEvent) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*BondEditAlphaFailedEvent) ProtoMessage()
- func (m *BondEditAlphaFailedEvent) Reset()
- func (m *BondEditAlphaFailedEvent) Size() (n int)
- func (m *BondEditAlphaFailedEvent) String() string
- func (m *BondEditAlphaFailedEvent) Unmarshal(dAtA []byte) error
- func (m *BondEditAlphaFailedEvent) XXX_DiscardUnknown()
- func (m *BondEditAlphaFailedEvent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *BondEditAlphaFailedEvent) XXX_Merge(src proto.Message)
- func (m *BondEditAlphaFailedEvent) XXX_Size() int
- func (m *BondEditAlphaFailedEvent) XXX_Unmarshal(b []byte) error
- type BondEditAlphaSuccessEvent
- func (*BondEditAlphaSuccessEvent) Descriptor() ([]byte, []int)
- func (m *BondEditAlphaSuccessEvent) GetBondDid() string
- func (m *BondEditAlphaSuccessEvent) GetPublicAlpha() string
- func (m *BondEditAlphaSuccessEvent) GetSystemAlpha() string
- func (m *BondEditAlphaSuccessEvent) GetToken() string
- func (m *BondEditAlphaSuccessEvent) Marshal() (dAtA []byte, err error)
- func (m *BondEditAlphaSuccessEvent) MarshalTo(dAtA []byte) (int, error)
- func (m *BondEditAlphaSuccessEvent) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*BondEditAlphaSuccessEvent) ProtoMessage()
- func (m *BondEditAlphaSuccessEvent) Reset()
- func (m *BondEditAlphaSuccessEvent) Size() (n int)
- func (m *BondEditAlphaSuccessEvent) String() string
- func (m *BondEditAlphaSuccessEvent) Unmarshal(dAtA []byte) error
- func (m *BondEditAlphaSuccessEvent) XXX_DiscardUnknown()
- func (m *BondEditAlphaSuccessEvent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *BondEditAlphaSuccessEvent) XXX_Merge(src proto.Message)
- func (m *BondEditAlphaSuccessEvent) XXX_Size() int
- func (m *BondEditAlphaSuccessEvent) XXX_Unmarshal(b []byte) error
- type BondMakeOutcomePaymentEvent
- func (*BondMakeOutcomePaymentEvent) Descriptor() ([]byte, []int)
- func (m *BondMakeOutcomePaymentEvent) GetBondDid() string
- func (m *BondMakeOutcomePaymentEvent) GetOutcomePayment() github_com_cosmos_cosmos_sdk_types.Coins
- func (m *BondMakeOutcomePaymentEvent) GetSenderAddress() string
- func (m *BondMakeOutcomePaymentEvent) GetSenderDid() string
- func (m *BondMakeOutcomePaymentEvent) Marshal() (dAtA []byte, err error)
- func (m *BondMakeOutcomePaymentEvent) MarshalTo(dAtA []byte) (int, error)
- func (m *BondMakeOutcomePaymentEvent) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*BondMakeOutcomePaymentEvent) ProtoMessage()
- func (m *BondMakeOutcomePaymentEvent) Reset()
- func (m *BondMakeOutcomePaymentEvent) Size() (n int)
- func (m *BondMakeOutcomePaymentEvent) String() string
- func (m *BondMakeOutcomePaymentEvent) Unmarshal(dAtA []byte) error
- func (m *BondMakeOutcomePaymentEvent) XXX_DiscardUnknown()
- func (m *BondMakeOutcomePaymentEvent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *BondMakeOutcomePaymentEvent) XXX_Merge(src proto.Message)
- func (m *BondMakeOutcomePaymentEvent) XXX_Size() int
- func (m *BondMakeOutcomePaymentEvent) XXX_Unmarshal(b []byte) error
- type BondSellOrderEvent
- func (*BondSellOrderEvent) Descriptor() ([]byte, []int)
- func (m *BondSellOrderEvent) GetBondDid() string
- func (m *BondSellOrderEvent) GetOrder() *SellOrder
- func (m *BondSellOrderEvent) Marshal() (dAtA []byte, err error)
- func (m *BondSellOrderEvent) MarshalTo(dAtA []byte) (int, error)
- func (m *BondSellOrderEvent) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*BondSellOrderEvent) ProtoMessage()
- func (m *BondSellOrderEvent) Reset()
- func (m *BondSellOrderEvent) Size() (n int)
- func (m *BondSellOrderEvent) String() string
- func (m *BondSellOrderEvent) Unmarshal(dAtA []byte) error
- func (m *BondSellOrderEvent) XXX_DiscardUnknown()
- func (m *BondSellOrderEvent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *BondSellOrderEvent) XXX_Merge(src proto.Message)
- func (m *BondSellOrderEvent) XXX_Size() int
- func (m *BondSellOrderEvent) XXX_Unmarshal(b []byte) error
- type BondSellOrderFulfilledEvent
- func (*BondSellOrderFulfilledEvent) Descriptor() ([]byte, []int)
- func (m *BondSellOrderFulfilledEvent) GetBondDid() string
- func (m *BondSellOrderFulfilledEvent) GetChargedFees() github_com_cosmos_cosmos_sdk_types.Coins
- func (m *BondSellOrderFulfilledEvent) GetOrder() *SellOrder
- func (m *BondSellOrderFulfilledEvent) GetReturnedToAddress() github_com_cosmos_cosmos_sdk_types.Coins
- func (m *BondSellOrderFulfilledEvent) Marshal() (dAtA []byte, err error)
- func (m *BondSellOrderFulfilledEvent) MarshalTo(dAtA []byte) (int, error)
- func (m *BondSellOrderFulfilledEvent) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*BondSellOrderFulfilledEvent) ProtoMessage()
- func (m *BondSellOrderFulfilledEvent) Reset()
- func (m *BondSellOrderFulfilledEvent) Size() (n int)
- func (m *BondSellOrderFulfilledEvent) String() string
- func (m *BondSellOrderFulfilledEvent) Unmarshal(dAtA []byte) error
- func (m *BondSellOrderFulfilledEvent) XXX_DiscardUnknown()
- func (m *BondSellOrderFulfilledEvent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *BondSellOrderFulfilledEvent) XXX_Merge(src proto.Message)
- func (m *BondSellOrderFulfilledEvent) XXX_Size() int
- func (m *BondSellOrderFulfilledEvent) XXX_Unmarshal(b []byte) error
- type BondSetNextAlphaEvent
- func (*BondSetNextAlphaEvent) Descriptor() ([]byte, []int)
- func (m *BondSetNextAlphaEvent) GetBondDid() string
- func (m *BondSetNextAlphaEvent) GetNextAlpha() string
- func (m *BondSetNextAlphaEvent) GetSigner() string
- func (m *BondSetNextAlphaEvent) Marshal() (dAtA []byte, err error)
- func (m *BondSetNextAlphaEvent) MarshalTo(dAtA []byte) (int, error)
- func (m *BondSetNextAlphaEvent) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*BondSetNextAlphaEvent) ProtoMessage()
- func (m *BondSetNextAlphaEvent) Reset()
- func (m *BondSetNextAlphaEvent) Size() (n int)
- func (m *BondSetNextAlphaEvent) String() string
- func (m *BondSetNextAlphaEvent) Unmarshal(dAtA []byte) error
- func (m *BondSetNextAlphaEvent) XXX_DiscardUnknown()
- func (m *BondSetNextAlphaEvent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *BondSetNextAlphaEvent) XXX_Merge(src proto.Message)
- func (m *BondSetNextAlphaEvent) XXX_Size() int
- func (m *BondSetNextAlphaEvent) XXX_Unmarshal(b []byte) error
- type BondState
- type BondStateTransitionMap
- type BondSwapOrderEvent
- func (*BondSwapOrderEvent) Descriptor() ([]byte, []int)
- func (m *BondSwapOrderEvent) GetBondDid() string
- func (m *BondSwapOrderEvent) GetOrder() *SwapOrder
- func (m *BondSwapOrderEvent) Marshal() (dAtA []byte, err error)
- func (m *BondSwapOrderEvent) MarshalTo(dAtA []byte) (int, error)
- func (m *BondSwapOrderEvent) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*BondSwapOrderEvent) ProtoMessage()
- func (m *BondSwapOrderEvent) Reset()
- func (m *BondSwapOrderEvent) Size() (n int)
- func (m *BondSwapOrderEvent) String() string
- func (m *BondSwapOrderEvent) Unmarshal(dAtA []byte) error
- func (m *BondSwapOrderEvent) XXX_DiscardUnknown()
- func (m *BondSwapOrderEvent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *BondSwapOrderEvent) XXX_Merge(src proto.Message)
- func (m *BondSwapOrderEvent) XXX_Size() int
- func (m *BondSwapOrderEvent) XXX_Unmarshal(b []byte) error
- type BondSwapOrderFulfilledEvent
- func (*BondSwapOrderFulfilledEvent) Descriptor() ([]byte, []int)
- func (m *BondSwapOrderFulfilledEvent) GetBondDid() string
- func (m *BondSwapOrderFulfilledEvent) GetChargedFee() types.Coin
- func (m *BondSwapOrderFulfilledEvent) GetOrder() *SwapOrder
- func (m *BondSwapOrderFulfilledEvent) GetReturnedToAddress() github_com_cosmos_cosmos_sdk_types.Coins
- func (m *BondSwapOrderFulfilledEvent) GetTokensSwapped() types.Coin
- func (m *BondSwapOrderFulfilledEvent) Marshal() (dAtA []byte, err error)
- func (m *BondSwapOrderFulfilledEvent) MarshalTo(dAtA []byte) (int, error)
- func (m *BondSwapOrderFulfilledEvent) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*BondSwapOrderFulfilledEvent) ProtoMessage()
- func (m *BondSwapOrderFulfilledEvent) Reset()
- func (m *BondSwapOrderFulfilledEvent) Size() (n int)
- func (m *BondSwapOrderFulfilledEvent) String() string
- func (m *BondSwapOrderFulfilledEvent) Unmarshal(dAtA []byte) error
- func (m *BondSwapOrderFulfilledEvent) XXX_DiscardUnknown()
- func (m *BondSwapOrderFulfilledEvent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *BondSwapOrderFulfilledEvent) XXX_Merge(src proto.Message)
- func (m *BondSwapOrderFulfilledEvent) XXX_Size() int
- func (m *BondSwapOrderFulfilledEvent) XXX_Unmarshal(b []byte) error
- type BondUpdatedEvent
- func (*BondUpdatedEvent) Descriptor() ([]byte, []int)
- func (m *BondUpdatedEvent) GetBond() *Bond
- func (m *BondUpdatedEvent) Marshal() (dAtA []byte, err error)
- func (m *BondUpdatedEvent) MarshalTo(dAtA []byte) (int, error)
- func (m *BondUpdatedEvent) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*BondUpdatedEvent) ProtoMessage()
- func (m *BondUpdatedEvent) Reset()
- func (m *BondUpdatedEvent) Size() (n int)
- func (m *BondUpdatedEvent) String() string
- func (m *BondUpdatedEvent) Unmarshal(dAtA []byte) error
- func (m *BondUpdatedEvent) XXX_DiscardUnknown()
- func (m *BondUpdatedEvent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *BondUpdatedEvent) XXX_Merge(src proto.Message)
- func (m *BondUpdatedEvent) XXX_Size() int
- func (m *BondUpdatedEvent) XXX_Unmarshal(b []byte) error
- type BondWithdrawReserveEvent
- func (*BondWithdrawReserveEvent) Descriptor() ([]byte, []int)
- func (m *BondWithdrawReserveEvent) GetBondDid() string
- func (m *BondWithdrawReserveEvent) GetReserveWithdrawalAddress() string
- func (m *BondWithdrawReserveEvent) GetWithdrawAmount() github_com_cosmos_cosmos_sdk_types.Coins
- func (m *BondWithdrawReserveEvent) GetWithdrawerAddress() string
- func (m *BondWithdrawReserveEvent) GetWithdrawerDid() string
- func (m *BondWithdrawReserveEvent) Marshal() (dAtA []byte, err error)
- func (m *BondWithdrawReserveEvent) MarshalTo(dAtA []byte) (int, error)
- func (m *BondWithdrawReserveEvent) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*BondWithdrawReserveEvent) ProtoMessage()
- func (m *BondWithdrawReserveEvent) Reset()
- func (m *BondWithdrawReserveEvent) Size() (n int)
- func (m *BondWithdrawReserveEvent) String() string
- func (m *BondWithdrawReserveEvent) Unmarshal(dAtA []byte) error
- func (m *BondWithdrawReserveEvent) XXX_DiscardUnknown()
- func (m *BondWithdrawReserveEvent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *BondWithdrawReserveEvent) XXX_Merge(src proto.Message)
- func (m *BondWithdrawReserveEvent) XXX_Size() int
- func (m *BondWithdrawReserveEvent) XXX_Unmarshal(b []byte) error
- type BondWithdrawShareEvent
- func (*BondWithdrawShareEvent) Descriptor() ([]byte, []int)
- func (m *BondWithdrawShareEvent) GetBondDid() string
- func (m *BondWithdrawShareEvent) GetRecipientAddress() string
- func (m *BondWithdrawShareEvent) GetRecipientDid() string
- func (m *BondWithdrawShareEvent) GetWithdrawPayment() github_com_cosmos_cosmos_sdk_types.Coins
- func (m *BondWithdrawShareEvent) Marshal() (dAtA []byte, err error)
- func (m *BondWithdrawShareEvent) MarshalTo(dAtA []byte) (int, error)
- func (m *BondWithdrawShareEvent) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*BondWithdrawShareEvent) ProtoMessage()
- func (m *BondWithdrawShareEvent) Reset()
- func (m *BondWithdrawShareEvent) Size() (n int)
- func (m *BondWithdrawShareEvent) String() string
- func (m *BondWithdrawShareEvent) Unmarshal(dAtA []byte) error
- func (m *BondWithdrawShareEvent) XXX_DiscardUnknown()
- func (m *BondWithdrawShareEvent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *BondWithdrawShareEvent) XXX_Merge(src proto.Message)
- func (m *BondWithdrawShareEvent) XXX_Size() int
- func (m *BondWithdrawShareEvent) XXX_Unmarshal(b []byte) error
- 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 math.LegacyDec) FunctionParams
- func (fps FunctionParams) AddParams(newFps FunctionParams) FunctionParams
- func (fps FunctionParams) AsMap() (paramsMap map[string]math.LegacyDec)
- func (fps FunctionParams) ReplaceParam(param string, value math.LegacyDec)
- 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_v4_x_iid_types.DIDFragment
- func (msg MsgBuy) GetIidController() iidtypes.DIDFragment
- func (m *MsgBuy) GetMaxPrices() github_com_cosmos_cosmos_sdk_types.Coins
- 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_v4_x_iid_types.DIDFragment
- func (m *MsgCreateBond) GetCreatorAddress() string
- func (m *MsgCreateBond) GetCreatorDid() github_com_ixofoundation_ixo_blockchain_v4_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_v4_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 (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_v4_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 (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_v4_x_iid_types.DIDFragment
- 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_v4_x_iid_types.DIDFragment
- 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_v4_x_iid_types.DIDFragment
- 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 (m *MsgSwap) GetSwapperAddress() string
- func (m *MsgSwap) GetSwapperDid() github_com_ixofoundation_ixo_blockchain_v4_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_v4_x_iid_types.DIDFragment
- func (msg MsgUpdateBondState) GetIidController() iidtypes.DIDFragment
- 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 (m *MsgWithdrawReserve) GetWithdrawerAddress() string
- func (m *MsgWithdrawReserve) GetWithdrawerDid() github_com_ixofoundation_ixo_blockchain_v4_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_v4_x_iid_types.DIDFragment
- 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 StakingKeeper
- 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 ( // 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" // 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 = []math.Uint{ math.NewUintFromString("1"), math.NewUintFromString("10"), math.NewUintFromString("100"), math.NewUintFromString("1000"), math.NewUintFromString("10000"), math.NewUintFromString("100000"), math.NewUintFromString("1000000"), math.NewUintFromString("10000000"), math.NewUintFromString("100000000"), math.NewUintFromString("1000000000"), math.NewUintFromString("10000000000"), math.NewUintFromString("100000000000"), math.NewUintFromString("1000000000000"), math.NewUintFromString("10000000000000"), math.NewUintFromString("100000000000000"), math.NewUintFromString("1000000000000000"), math.NewUintFromString("10000000000000000"), math.NewUintFromString("100000000000000000"), math.NewUintFromString("1000000000000000000"), math.NewUintFromString("10000000000000000000"), math.NewUintFromString("100000000000000000000"), math.NewUintFromString("1000000000000000000000"), math.NewUintFromString("10000000000000000000000"), math.NewUintFromString("100000000000000000000000"), math.NewUintFromString("1000000000000000000000000"), math.NewUintFromString("10000000000000000000000000"), math.NewUintFromString("100000000000000000000000000"), math.NewUintFromString("1000000000000000000000000000"), math.NewUintFromString("10000000000000000000000000000"), math.NewUintFromString("100000000000000000000000000000"), math.NewUintFromString("1000000000000000000000000000000"), math.NewUintFromString("10000000000000000000000000000000"), math.NewUintFromString("100000000000000000000000000000000"), math.NewUintFromString("1000000000000000000000000000000000"), math.NewUintFromString("10000000000000000000000000000000000"), math.NewUintFromString("100000000000000000000000000000000000"), math.NewUintFromString("1000000000000000000000000000000000000"), math.NewUintFromString("10000000000000000000000000000000000000"), math.NewUintFromString("100000000000000000000000000000000000000"), math.NewUintFromString("1000000000000000000000000000000000000000"), } // ln(2) - used in ln(x). 30 DP. LN2 = math.NewUintFromString("693147180559945309417232121458") // 1 / ln(2) - used in exp(x). 30 DP. ONE_OVER_LN2 = math.NewUintFromString("1442695040888963407359924681002") ZeroUint = math.ZeroUint() OneUint = math.OneUint() TwoUint = math.NewUint(2) FiveUint = math.NewUint(5) TenUint = math.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 = errorsmod.Register(DefaultCodespace, 2, "argument cannot be empty") ErrArgumentCannotBeNegative = errorsmod.Register(DefaultCodespace, 3, "argument cannot be negative") ErrArgumentMustBePositive = errorsmod.Register(DefaultCodespace, 4, "argument must be a positive value") ErrArgumentMustBeInteger = errorsmod.Register(DefaultCodespace, 5, "argument must be an integer value") ErrArgumentMustBeBetween = errorsmod.Register(DefaultCodespace, 6, "argument must be between") ErrFunctionParameterMissingOrNonFloat = errorsmod.Register(DefaultCodespace, 7, "parameter is missing or is not a float") ErrArgumentMissingOrNonFloat = errorsmod.Register(DefaultCodespace, 8, "argument is missing or is not a float") ErrArgumentMissingOrNonUInteger = errorsmod.Register(DefaultCodespace, 9, "argument is missing or is not an unsigned integer") ErrArgumentMissingOrNonBoolean = errorsmod.Register(DefaultCodespace, 10, "argument is missing or is not true or false") ErrIncorrectNumberOfReserveTokens = errorsmod.Register(DefaultCodespace, 11, "incorrect number of reserve tokens") ErrIncorrectNumberOfFunctionParameters = errorsmod.Register(DefaultCodespace, 12, "incorrect number of function parameters") ErrBondDoesNotExist = errorsmod.Register(DefaultCodespace, 13, "bond does not exist") ErrBondAlreadyExists = errorsmod.Register(DefaultCodespace, 14, "bond already exists") ErrBondTokenIsTaken = errorsmod.Register(DefaultCodespace, 15, "bond token is taken") ErrBondDoesNotAllowSelling = errorsmod.Register(DefaultCodespace, 16, "bond does not allow selling at the moment") ErrDidNotEditAnything = errorsmod.Register(DefaultCodespace, 17, "did not edit any bond field") ErrFromAndToCannotBeTheSameToken = errorsmod.Register(DefaultCodespace, 18, "from and to tokens cannot be the same token") ErrDuplicateReserveToken = errorsmod.Register(DefaultCodespace, 19, "cannot have duplicate tokens in reserve tokens") ErrInvalidStateForAction = errorsmod.Register(DefaultCodespace, 20, "cannot perform that action at the current state") ErrUnrecognizedFunctionType = errorsmod.Register(DefaultCodespace, 21, "unrecognized function type") ErrInvalidFunctionParameter = errorsmod.Register(DefaultCodespace, 22, "invalid function parameter") ErrFunctionNotAvailableForFunctionType = errorsmod.Register(DefaultCodespace, 23, "function is not available for the function type") ErrFunctionRequiresNonZeroCurrentSupply = errorsmod.Register(DefaultCodespace, 24, "function requires the current supply to be non zero") ErrTokenIsNotAValidReserveToken = errorsmod.Register(DefaultCodespace, 25, "token is not a valid reserve token") ErrMaxSupplyDenomDoesNotMatchTokenDenom = errorsmod.Register(DefaultCodespace, 26, "max supply denom does not match token denom") ErrBondTokenCannotAlsoBeReserveToken = errorsmod.Register(DefaultCodespace, 27, "token cannot also be a reserve token") ErrBondTokenCannotBeStakingToken = errorsmod.Register(DefaultCodespace, 28, "bond token cannot be staking token") ErrReserveDenomsMismatch = errorsmod.Register(DefaultCodespace, 29, "denoms do not match reserve denoms") ErrCannotMintMoreThanMaxSupply = errorsmod.Register(DefaultCodespace, 30, "cannot mint more tokens than the max supply") ErrCannotBurnMoreThanSupply = errorsmod.Register(DefaultCodespace, 31, "cannot burn more tokens than the current supply") ErrMaxPriceExceeded = errorsmod.Register(DefaultCodespace, 32, "actual prices exceed max prices") ErrSwapAmountTooSmallToGiveAnyReturn = errorsmod.Register(DefaultCodespace, 33, "swap amount too small to give any return") ErrSwapAmountCausesReserveDepletion = errorsmod.Register(DefaultCodespace, 34, "swap amount too large and causes reserve to be depleted") ErrOrderQuantityLimitExceeded = errorsmod.Register(DefaultCodespace, 35, "order quantity limits exceeded") ErrValuesViolateSanityRate = errorsmod.Register(DefaultCodespace, 36, "values violate sanity rate") ErrFeesCannotBeOrExceed100Percent = errorsmod.Register(DefaultCodespace, 37, "sum of fees is or exceeds 100 percent") ErrNoBondTokensOwned = errorsmod.Register(DefaultCodespace, 38, "no bond tokens of this bond are owned") ErrInsufficientReserveToBuy = errorsmod.Register(DefaultCodespace, 39, "insufficient reserve was supplied to perform buy order") ErrBondTokenDoesNotMatchBond = errorsmod.Register(DefaultCodespace, 40, "bond token does not match bond") ErrReservedBondToken = errorsmod.Register(DefaultCodespace, 41, "bond token is reserved") ErrInvalidAlpha = errorsmod.Register(DefaultCodespace, 42, "alpha value is invalid") ErrNumericOverflow = errorsmod.Register(DefaultCodespace, 43, "numeric overflow") ErrInvalidStateProgression = errorsmod.Register(DefaultCodespace, 44, "invalid state progression requested") ErrCannotAllowSellsAndWithdrawals = errorsmod.Register(DefaultCodespace, 45, "cannot allow both sells and reserve withdrawals") ErrInsufficientReserveForWithdraw = errorsmod.Register(DefaultCodespace, 46, "requested withdraw amount is greater than available reserve") )
var ( ErrInvalidLengthEvent = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowEvent = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupEvent = fmt.Errorf("proto: unexpected end of group") )
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 = codec.NewProtoCodec(cdctypes.NewInterfaceRegistry())
)
var (
StartingPublicAlpha = math.LegacyMustNewDecFromStr("0.5")
)
var StateTransitions = initStateTransitions()
var (
TEN18DEC = math.LegacyMustNewDecFromStr("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 GetBondDidsKey ¶
func GetBondKey ¶
func GetLastBatchKey ¶
func InvariantIAlt ¶
func MultiplyDecCoinByDec ¶
func MultiplyDecCoinsByDec ¶
noinspection GoNilness
func MultiplyDecCoinsByInt ¶
noinspection GoNilness
func RegisterInterfaces ¶
func RegisterInterfaces(registry cdctypes.InterfaceRegistry)
RegisterInterfaces registers interfaces and implementations of the x/bonds module.
func RegisterLegacyAminoCodec ¶
func RegisterLegacyAminoCodec(cdc *codec.LegacyAmino)
RegisterCodec registers the necessary x/bonds interfaces and concrete types on the provided LegacyAmino codec. These types are used for Amino JSON serialization.
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 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 coefficient V0 return a spot price P as a function of reserve R
func StringsToString ¶
func SystemAlpha ¶
func ValidateGenesis ¶
func ValidateGenesis(data *GenesisState) error
Types ¶
type AccountKeeper ¶
type AccountKeeper interface {
GetModuleAddress(moduleName string) sdk.AccAddress
}
type AugmentedBondRevision1 ¶
type AugmentedBondRevision1 struct {
// contains filtered or unexported fields
}
func (*AugmentedBondRevision1) CalculatePriceForTokens ¶
func (*AugmentedBondRevision1) CalculateTokensForPrice ¶
func (*AugmentedBondRevision1) ExportToBond ¶
func (algo *AugmentedBondRevision1) ExportToBond(bond *Bond) error
func (*AugmentedBondRevision1) ExportToMap ¶
func (algo *AugmentedBondRevision1) ExportToMap() map[string]float64
func (*AugmentedBondRevision1) Init ¶
func (algo *AugmentedBondRevision1) Init(bond Bond) error
func (*AugmentedBondRevision1) Revision ¶
func (algo *AugmentedBondRevision1) Revision() int64
func (*AugmentedBondRevision1) UpdateAlpha ¶
func (algo *AugmentedBondRevision1) UpdateAlpha(_ap, _delta float64) error
type BankKeeper ¶
type BankKeeper interface { SendCoinsFromModuleToModule(ctx context.Context, senderModule, recipientModule string, amt sdk.Coins) error SendCoinsFromAccountToModule(ctx context.Context, senderAddr sdk.AccAddress, recipientModule string, amt sdk.Coins) error SendCoinsFromModuleToAccount(ctx context.Context, senderModule string, recipientAddr sdk.AccAddress, amt sdk.Coins) error BlockedAddr(addr sdk.AccAddress) bool MintCoins(ctx context.Context, moduleName string, amt sdk.Coins) error BurnCoins(ctx context.Context, moduleName string, amt sdk.Coins) error GetBalance(ctx context.Context, addr sdk.AccAddress, denom string) sdk.Coin IterateAllBalances(ctx context.Context, cb func(address sdk.AccAddress, coin sdk.Coin) (stop bool)) }
type BaseOrder ¶
type BaseOrder struct { AccountDid github_com_ixofoundation_ixo_blockchain_v4_x_iid_types.DIDFragment `` /* 167-byte string literal not displayed */ Amount types.Coin `protobuf:"bytes,2,opt,name=amount,proto3" json:"amount"` Cancelled bool `protobuf:"varint,3,opt,name=cancelled,proto3" json:"cancelled,omitempty"` CancelReason string `protobuf:"bytes,4,opt,name=cancel_reason,json=cancelReason,proto3" json:"cancel_reason,omitempty"` }
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_v4_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"` BlocksRemaining cosmossdk_io_math.Uint `` /* 130-byte string literal not displayed */ NextPublicAlpha cosmossdk_io_math.LegacyDec `` /* 137-byte string literal not displayed */ TotalBuyAmount types.Coin `protobuf:"bytes,4,opt,name=total_buy_amount,json=totalBuyAmount,proto3" json:"total_buy_amount"` TotalSellAmount types.Coin `protobuf:"bytes,5,opt,name=total_sell_amount,json=totalSellAmount,proto3" json:"total_sell_amount"` BuyPrices github_com_cosmos_cosmos_sdk_types.DecCoins `` /* 135-byte string literal not displayed */ SellPrices github_com_cosmos_cosmos_sdk_types.DecCoins `` /* 138-byte string literal not displayed */ Buys []BuyOrder `protobuf:"bytes,8,rep,name=buys,proto3" json:"buys"` Sells []SellOrder `protobuf:"bytes,9,rep,name=sells,proto3" json:"sells"` Swaps []SwapOrder `protobuf:"bytes,10,rep,name=swaps,proto3" json:"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"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` CreatorDid github_com_ixofoundation_ixo_blockchain_v4_x_iid_types.DIDFragment `` /* 167-byte string literal not displayed */ ControllerDid github_com_ixofoundation_ixo_blockchain_v4_x_iid_types.DIDFragment `` /* 176-byte string literal not displayed */ FunctionType string `protobuf:"bytes,6,opt,name=function_type,json=functionType,proto3" json:"function_type,omitempty"` FunctionParameters FunctionParams `` /* 133-byte string literal not displayed */ ReserveTokens []string `protobuf:"bytes,8,rep,name=reserve_tokens,json=reserveTokens,proto3" json:"reserve_tokens,omitempty"` TxFeePercentage cosmossdk_io_math.LegacyDec `` /* 137-byte string literal not displayed */ ExitFeePercentage cosmossdk_io_math.LegacyDec `` /* 144-byte string literal not displayed */ FeeAddress string `protobuf:"bytes,11,opt,name=fee_address,json=feeAddress,proto3" json:"fee_address,omitempty"` ReserveWithdrawalAddress string `` /* 136-byte string literal not displayed */ MaxSupply types.Coin `protobuf:"bytes,13,opt,name=max_supply,json=maxSupply,proto3" json:"max_supply"` OrderQuantityLimits github_com_cosmos_cosmos_sdk_types.Coins `` /* 165-byte string literal not displayed */ SanityRate cosmossdk_io_math.LegacyDec `protobuf:"bytes,15,opt,name=sanity_rate,json=sanityRate,proto3,customtype=cosmossdk.io/math.LegacyDec" json:"sanity_rate"` SanityMarginPercentage cosmossdk_io_math.LegacyDec `` /* 159-byte string literal not displayed */ CurrentSupply types.Coin `protobuf:"bytes,17,opt,name=current_supply,json=currentSupply,proto3" json:"current_supply"` CurrentReserve github_com_cosmos_cosmos_sdk_types.Coins `` /* 148-byte string literal not displayed */ AvailableReserve github_com_cosmos_cosmos_sdk_types.Coins `` /* 154-byte string literal not displayed */ CurrentOutcomePaymentReserve github_com_cosmos_cosmos_sdk_types.Coins `` /* 194-byte string literal not displayed */ AllowSells bool `protobuf:"varint,21,opt,name=allow_sells,json=allowSells,proto3" json:"allow_sells,omitempty"` AllowReserveWithdrawals bool `` /* 134-byte string literal not displayed */ AlphaBond bool `protobuf:"varint,23,opt,name=alpha_bond,json=alphaBond,proto3" json:"alpha_bond,omitempty"` BatchBlocks cosmossdk_io_math.Uint `protobuf:"bytes,24,opt,name=batch_blocks,json=batchBlocks,proto3,customtype=cosmossdk.io/math.Uint" json:"batch_blocks"` OutcomePayment cosmossdk_io_math.Int `` /* 127-byte string literal not displayed */ State string `protobuf:"bytes,26,opt,name=state,proto3" json:"state,omitempty"` BondDid string `protobuf:"bytes,27,opt,name=bond_did,json=bondDid,proto3" json:"bond_did,omitempty"` OracleDid github_com_ixofoundation_ixo_blockchain_v4_x_iid_types.DIDFragment `` /* 165-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 math.LegacyDec, feeAddress, reserveWithdrawalAddress sdk.AccAddress, maxSupply sdk.Coin, orderQuantityLimits sdk.Coins, sanityRate, sanityMarginPercentage math.LegacyDec, allowSells, allowReserveWithdrawals, alphaBond bool, batchBlocks math.Uint, outcomePayment math.Int, state BondState, bondDid string) Bond
func (Bond) AnyOrderQuantityLimitsExceeded ¶
func (*Bond) Descriptor ¶
func (*Bond) GetAllowReserveWithdrawals ¶
func (*Bond) GetAllowSells ¶
func (*Bond) GetAlphaBond ¶
func (*Bond) GetAvailableReserve ¶
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_v4_x_iid_types.DIDFragment
func (*Bond) GetCreatorDid ¶
func (m *Bond) GetCreatorDid() github_com_ixofoundation_ixo_blockchain_v4_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 ¶
func (m *Bond) GetOracleDid() github_com_ixofoundation_ixo_blockchain_v4_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 ¶
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 BondBuyOrderCancelledEvent ¶
type BondBuyOrderCancelledEvent struct { BondDid string `protobuf:"bytes,1,opt,name=bond_did,json=bondDid,proto3" json:"bond_did,omitempty"` Order *BuyOrder `protobuf:"bytes,2,opt,name=order,proto3" json:"order,omitempty"` }
BondBuyOrderCancelledEvent is an event triggered on a Bond buy order cancellation
func (*BondBuyOrderCancelledEvent) Descriptor ¶
func (*BondBuyOrderCancelledEvent) Descriptor() ([]byte, []int)
func (*BondBuyOrderCancelledEvent) GetBondDid ¶
func (m *BondBuyOrderCancelledEvent) GetBondDid() string
func (*BondBuyOrderCancelledEvent) GetOrder ¶
func (m *BondBuyOrderCancelledEvent) GetOrder() *BuyOrder
func (*BondBuyOrderCancelledEvent) Marshal ¶
func (m *BondBuyOrderCancelledEvent) Marshal() (dAtA []byte, err error)
func (*BondBuyOrderCancelledEvent) MarshalTo ¶
func (m *BondBuyOrderCancelledEvent) MarshalTo(dAtA []byte) (int, error)
func (*BondBuyOrderCancelledEvent) MarshalToSizedBuffer ¶
func (m *BondBuyOrderCancelledEvent) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*BondBuyOrderCancelledEvent) ProtoMessage ¶
func (*BondBuyOrderCancelledEvent) ProtoMessage()
func (*BondBuyOrderCancelledEvent) Reset ¶
func (m *BondBuyOrderCancelledEvent) Reset()
func (*BondBuyOrderCancelledEvent) Size ¶
func (m *BondBuyOrderCancelledEvent) Size() (n int)
func (*BondBuyOrderCancelledEvent) String ¶
func (m *BondBuyOrderCancelledEvent) String() string
func (*BondBuyOrderCancelledEvent) Unmarshal ¶
func (m *BondBuyOrderCancelledEvent) Unmarshal(dAtA []byte) error
func (*BondBuyOrderCancelledEvent) XXX_DiscardUnknown ¶
func (m *BondBuyOrderCancelledEvent) XXX_DiscardUnknown()
func (*BondBuyOrderCancelledEvent) XXX_Marshal ¶
func (m *BondBuyOrderCancelledEvent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*BondBuyOrderCancelledEvent) XXX_Merge ¶
func (m *BondBuyOrderCancelledEvent) XXX_Merge(src proto.Message)
func (*BondBuyOrderCancelledEvent) XXX_Size ¶
func (m *BondBuyOrderCancelledEvent) XXX_Size() int
func (*BondBuyOrderCancelledEvent) XXX_Unmarshal ¶
func (m *BondBuyOrderCancelledEvent) XXX_Unmarshal(b []byte) error
type BondBuyOrderEvent ¶
type BondBuyOrderEvent struct { Order *BuyOrder `protobuf:"bytes,1,opt,name=order,proto3" json:"order,omitempty"` BondDid string `protobuf:"bytes,2,opt,name=bond_did,json=bondDid,proto3" json:"bond_did,omitempty"` }
BondBuyOrderEvent is an event triggered on a Bond buy order
func (*BondBuyOrderEvent) Descriptor ¶
func (*BondBuyOrderEvent) Descriptor() ([]byte, []int)
func (*BondBuyOrderEvent) GetBondDid ¶
func (m *BondBuyOrderEvent) GetBondDid() string
func (*BondBuyOrderEvent) GetOrder ¶
func (m *BondBuyOrderEvent) GetOrder() *BuyOrder
func (*BondBuyOrderEvent) Marshal ¶
func (m *BondBuyOrderEvent) Marshal() (dAtA []byte, err error)
func (*BondBuyOrderEvent) MarshalTo ¶
func (m *BondBuyOrderEvent) MarshalTo(dAtA []byte) (int, error)
func (*BondBuyOrderEvent) MarshalToSizedBuffer ¶
func (m *BondBuyOrderEvent) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*BondBuyOrderEvent) ProtoMessage ¶
func (*BondBuyOrderEvent) ProtoMessage()
func (*BondBuyOrderEvent) Reset ¶
func (m *BondBuyOrderEvent) Reset()
func (*BondBuyOrderEvent) Size ¶
func (m *BondBuyOrderEvent) Size() (n int)
func (*BondBuyOrderEvent) String ¶
func (m *BondBuyOrderEvent) String() string
func (*BondBuyOrderEvent) Unmarshal ¶
func (m *BondBuyOrderEvent) Unmarshal(dAtA []byte) error
func (*BondBuyOrderEvent) XXX_DiscardUnknown ¶
func (m *BondBuyOrderEvent) XXX_DiscardUnknown()
func (*BondBuyOrderEvent) XXX_Marshal ¶
func (m *BondBuyOrderEvent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*BondBuyOrderEvent) XXX_Merge ¶
func (m *BondBuyOrderEvent) XXX_Merge(src proto.Message)
func (*BondBuyOrderEvent) XXX_Size ¶
func (m *BondBuyOrderEvent) XXX_Size() int
func (*BondBuyOrderEvent) XXX_Unmarshal ¶
func (m *BondBuyOrderEvent) XXX_Unmarshal(b []byte) error
type BondBuyOrderFulfilledEvent ¶
type BondBuyOrderFulfilledEvent struct { BondDid string `protobuf:"bytes,1,opt,name=bond_did,json=bondDid,proto3" json:"bond_did,omitempty"` Order *BuyOrder `protobuf:"bytes,2,opt,name=order,proto3" json:"order,omitempty"` ChargedPrices github_com_cosmos_cosmos_sdk_types.Coins `` /* 144-byte string literal not displayed */ ChargedFees github_com_cosmos_cosmos_sdk_types.Coins `` /* 138-byte string literal not displayed */ ReturnedToAddress github_com_cosmos_cosmos_sdk_types.Coins `` /* 158-byte string literal not displayed */ NewBondTokenBalance cosmossdk_io_math.Int `` /* 145-byte string literal not displayed */ ChargedPricesOfWhichReserve *cosmossdk_io_math.Int `` /* 181-byte string literal not displayed */ ChargedPricesOfWhichFunding github_com_cosmos_cosmos_sdk_types.Coins `` /* 192-byte string literal not displayed */ }
BondBuyOrderFulfilledEvent is an event triggered on a Bond buy order fullfillment
func (*BondBuyOrderFulfilledEvent) Descriptor ¶
func (*BondBuyOrderFulfilledEvent) Descriptor() ([]byte, []int)
func (*BondBuyOrderFulfilledEvent) GetBondDid ¶
func (m *BondBuyOrderFulfilledEvent) GetBondDid() string
func (*BondBuyOrderFulfilledEvent) GetChargedFees ¶
func (m *BondBuyOrderFulfilledEvent) GetChargedFees() github_com_cosmos_cosmos_sdk_types.Coins
func (*BondBuyOrderFulfilledEvent) GetChargedPrices ¶
func (m *BondBuyOrderFulfilledEvent) GetChargedPrices() github_com_cosmos_cosmos_sdk_types.Coins
func (*BondBuyOrderFulfilledEvent) GetChargedPricesOfWhichFunding ¶
func (m *BondBuyOrderFulfilledEvent) GetChargedPricesOfWhichFunding() github_com_cosmos_cosmos_sdk_types.Coins
func (*BondBuyOrderFulfilledEvent) GetOrder ¶
func (m *BondBuyOrderFulfilledEvent) GetOrder() *BuyOrder
func (*BondBuyOrderFulfilledEvent) GetReturnedToAddress ¶
func (m *BondBuyOrderFulfilledEvent) GetReturnedToAddress() github_com_cosmos_cosmos_sdk_types.Coins
func (*BondBuyOrderFulfilledEvent) Marshal ¶
func (m *BondBuyOrderFulfilledEvent) Marshal() (dAtA []byte, err error)
func (*BondBuyOrderFulfilledEvent) MarshalTo ¶
func (m *BondBuyOrderFulfilledEvent) MarshalTo(dAtA []byte) (int, error)
func (*BondBuyOrderFulfilledEvent) MarshalToSizedBuffer ¶
func (m *BondBuyOrderFulfilledEvent) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*BondBuyOrderFulfilledEvent) ProtoMessage ¶
func (*BondBuyOrderFulfilledEvent) ProtoMessage()
func (*BondBuyOrderFulfilledEvent) Reset ¶
func (m *BondBuyOrderFulfilledEvent) Reset()
func (*BondBuyOrderFulfilledEvent) Size ¶
func (m *BondBuyOrderFulfilledEvent) Size() (n int)
func (*BondBuyOrderFulfilledEvent) String ¶
func (m *BondBuyOrderFulfilledEvent) String() string
func (*BondBuyOrderFulfilledEvent) Unmarshal ¶
func (m *BondBuyOrderFulfilledEvent) Unmarshal(dAtA []byte) error
func (*BondBuyOrderFulfilledEvent) XXX_DiscardUnknown ¶
func (m *BondBuyOrderFulfilledEvent) XXX_DiscardUnknown()
func (*BondBuyOrderFulfilledEvent) XXX_Marshal ¶
func (m *BondBuyOrderFulfilledEvent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*BondBuyOrderFulfilledEvent) XXX_Merge ¶
func (m *BondBuyOrderFulfilledEvent) XXX_Merge(src proto.Message)
func (*BondBuyOrderFulfilledEvent) XXX_Size ¶
func (m *BondBuyOrderFulfilledEvent) XXX_Size() int
func (*BondBuyOrderFulfilledEvent) XXX_Unmarshal ¶
func (m *BondBuyOrderFulfilledEvent) XXX_Unmarshal(b []byte) error
type BondCreatedEvent ¶
type BondCreatedEvent struct {
Bond *Bond `protobuf:"bytes,1,opt,name=bond,proto3" json:"bond,omitempty"`
}
BondCreatedEvent is an event triggered on a Bond creation
func (*BondCreatedEvent) Descriptor ¶
func (*BondCreatedEvent) Descriptor() ([]byte, []int)
func (*BondCreatedEvent) GetBond ¶
func (m *BondCreatedEvent) GetBond() *Bond
func (*BondCreatedEvent) Marshal ¶
func (m *BondCreatedEvent) Marshal() (dAtA []byte, err error)
func (*BondCreatedEvent) MarshalToSizedBuffer ¶
func (m *BondCreatedEvent) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*BondCreatedEvent) ProtoMessage ¶
func (*BondCreatedEvent) ProtoMessage()
func (*BondCreatedEvent) Reset ¶
func (m *BondCreatedEvent) Reset()
func (*BondCreatedEvent) Size ¶
func (m *BondCreatedEvent) Size() (n int)
func (*BondCreatedEvent) String ¶
func (m *BondCreatedEvent) String() string
func (*BondCreatedEvent) Unmarshal ¶
func (m *BondCreatedEvent) Unmarshal(dAtA []byte) error
func (*BondCreatedEvent) XXX_DiscardUnknown ¶
func (m *BondCreatedEvent) XXX_DiscardUnknown()
func (*BondCreatedEvent) XXX_Marshal ¶
func (m *BondCreatedEvent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*BondCreatedEvent) XXX_Merge ¶
func (m *BondCreatedEvent) XXX_Merge(src proto.Message)
func (*BondCreatedEvent) XXX_Size ¶
func (m *BondCreatedEvent) XXX_Size() int
func (*BondCreatedEvent) XXX_Unmarshal ¶
func (m *BondCreatedEvent) XXX_Unmarshal(b []byte) error
type BondDetails ¶
type BondDetails struct { BondDid string `protobuf:"bytes,1,opt,name=bond_did,json=bondDid,proto3" json:"bond_did,omitempty"` SpotPrice github_com_cosmos_cosmos_sdk_types.DecCoins `` /* 135-byte string literal not displayed */ Supply types.Coin `protobuf:"bytes,3,opt,name=supply,proto3" json:"supply"` Reserve github_com_cosmos_cosmos_sdk_types.Coins `protobuf:"bytes,4,rep,name=reserve,proto3,castrepeated=github.com/cosmos/cosmos-sdk/types.Coins" json:"reserve"` }
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 BondEditAlphaFailedEvent ¶
type BondEditAlphaFailedEvent struct { BondDid string `protobuf:"bytes,1,opt,name=bond_did,json=bondDid,proto3" json:"bond_did,omitempty"` Token string `protobuf:"bytes,2,opt,name=token,proto3" json:"token,omitempty"` CancelReason string `protobuf:"bytes,3,opt,name=cancel_reason,json=cancelReason,proto3" json:"cancel_reason,omitempty"` }
BondEditAlphaFailedEvent is an event triggered on a failed attempt to edit of Bond alpha value
func (*BondEditAlphaFailedEvent) Descriptor ¶
func (*BondEditAlphaFailedEvent) Descriptor() ([]byte, []int)
func (*BondEditAlphaFailedEvent) GetBondDid ¶
func (m *BondEditAlphaFailedEvent) GetBondDid() string
func (*BondEditAlphaFailedEvent) GetCancelReason ¶
func (m *BondEditAlphaFailedEvent) GetCancelReason() string
func (*BondEditAlphaFailedEvent) GetToken ¶
func (m *BondEditAlphaFailedEvent) GetToken() string
func (*BondEditAlphaFailedEvent) Marshal ¶
func (m *BondEditAlphaFailedEvent) Marshal() (dAtA []byte, err error)
func (*BondEditAlphaFailedEvent) MarshalTo ¶
func (m *BondEditAlphaFailedEvent) MarshalTo(dAtA []byte) (int, error)
func (*BondEditAlphaFailedEvent) MarshalToSizedBuffer ¶
func (m *BondEditAlphaFailedEvent) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*BondEditAlphaFailedEvent) ProtoMessage ¶
func (*BondEditAlphaFailedEvent) ProtoMessage()
func (*BondEditAlphaFailedEvent) Reset ¶
func (m *BondEditAlphaFailedEvent) Reset()
func (*BondEditAlphaFailedEvent) Size ¶
func (m *BondEditAlphaFailedEvent) Size() (n int)
func (*BondEditAlphaFailedEvent) String ¶
func (m *BondEditAlphaFailedEvent) String() string
func (*BondEditAlphaFailedEvent) Unmarshal ¶
func (m *BondEditAlphaFailedEvent) Unmarshal(dAtA []byte) error
func (*BondEditAlphaFailedEvent) XXX_DiscardUnknown ¶
func (m *BondEditAlphaFailedEvent) XXX_DiscardUnknown()
func (*BondEditAlphaFailedEvent) XXX_Marshal ¶
func (m *BondEditAlphaFailedEvent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*BondEditAlphaFailedEvent) XXX_Merge ¶
func (m *BondEditAlphaFailedEvent) XXX_Merge(src proto.Message)
func (*BondEditAlphaFailedEvent) XXX_Size ¶
func (m *BondEditAlphaFailedEvent) XXX_Size() int
func (*BondEditAlphaFailedEvent) XXX_Unmarshal ¶
func (m *BondEditAlphaFailedEvent) XXX_Unmarshal(b []byte) error
type BondEditAlphaSuccessEvent ¶
type BondEditAlphaSuccessEvent struct { BondDid string `protobuf:"bytes,1,opt,name=bond_did,json=bondDid,proto3" json:"bond_did,omitempty"` Token string `protobuf:"bytes,2,opt,name=token,proto3" json:"token,omitempty"` PublicAlpha string `protobuf:"bytes,3,opt,name=public_alpha,json=publicAlpha,proto3" json:"public_alpha,omitempty"` SystemAlpha string `protobuf:"bytes,4,opt,name=system_alpha,json=systemAlpha,proto3" json:"system_alpha,omitempty"` }
BondEditAlphaSuccessEvent is an event triggered on a successful edit of Bond alpha value
func (*BondEditAlphaSuccessEvent) Descriptor ¶
func (*BondEditAlphaSuccessEvent) Descriptor() ([]byte, []int)
func (*BondEditAlphaSuccessEvent) GetBondDid ¶
func (m *BondEditAlphaSuccessEvent) GetBondDid() string
func (*BondEditAlphaSuccessEvent) GetPublicAlpha ¶
func (m *BondEditAlphaSuccessEvent) GetPublicAlpha() string
func (*BondEditAlphaSuccessEvent) GetSystemAlpha ¶
func (m *BondEditAlphaSuccessEvent) GetSystemAlpha() string
func (*BondEditAlphaSuccessEvent) GetToken ¶
func (m *BondEditAlphaSuccessEvent) GetToken() string
func (*BondEditAlphaSuccessEvent) Marshal ¶
func (m *BondEditAlphaSuccessEvent) Marshal() (dAtA []byte, err error)
func (*BondEditAlphaSuccessEvent) MarshalTo ¶
func (m *BondEditAlphaSuccessEvent) MarshalTo(dAtA []byte) (int, error)
func (*BondEditAlphaSuccessEvent) MarshalToSizedBuffer ¶
func (m *BondEditAlphaSuccessEvent) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*BondEditAlphaSuccessEvent) ProtoMessage ¶
func (*BondEditAlphaSuccessEvent) ProtoMessage()
func (*BondEditAlphaSuccessEvent) Reset ¶
func (m *BondEditAlphaSuccessEvent) Reset()
func (*BondEditAlphaSuccessEvent) Size ¶
func (m *BondEditAlphaSuccessEvent) Size() (n int)
func (*BondEditAlphaSuccessEvent) String ¶
func (m *BondEditAlphaSuccessEvent) String() string
func (*BondEditAlphaSuccessEvent) Unmarshal ¶
func (m *BondEditAlphaSuccessEvent) Unmarshal(dAtA []byte) error
func (*BondEditAlphaSuccessEvent) XXX_DiscardUnknown ¶
func (m *BondEditAlphaSuccessEvent) XXX_DiscardUnknown()
func (*BondEditAlphaSuccessEvent) XXX_Marshal ¶
func (m *BondEditAlphaSuccessEvent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*BondEditAlphaSuccessEvent) XXX_Merge ¶
func (m *BondEditAlphaSuccessEvent) XXX_Merge(src proto.Message)
func (*BondEditAlphaSuccessEvent) XXX_Size ¶
func (m *BondEditAlphaSuccessEvent) XXX_Size() int
func (*BondEditAlphaSuccessEvent) XXX_Unmarshal ¶
func (m *BondEditAlphaSuccessEvent) XXX_Unmarshal(b []byte) error
type BondMakeOutcomePaymentEvent ¶
type BondMakeOutcomePaymentEvent struct { BondDid string `protobuf:"bytes,1,opt,name=bond_did,json=bondDid,proto3" json:"bond_did,omitempty"` OutcomePayment github_com_cosmos_cosmos_sdk_types.Coins `` /* 147-byte string literal not displayed */ SenderDid string `protobuf:"bytes,3,opt,name=sender_did,json=senderDid,proto3" json:"sender_did,omitempty"` SenderAddress string `protobuf:"bytes,4,opt,name=sender_address,json=senderAddress,proto3" json:"sender_address,omitempty"` }
BondMakeOutcomePaymentEvent is an event triggered on a Bond make outcome payment
func (*BondMakeOutcomePaymentEvent) Descriptor ¶
func (*BondMakeOutcomePaymentEvent) Descriptor() ([]byte, []int)
func (*BondMakeOutcomePaymentEvent) GetBondDid ¶
func (m *BondMakeOutcomePaymentEvent) GetBondDid() string
func (*BondMakeOutcomePaymentEvent) GetOutcomePayment ¶
func (m *BondMakeOutcomePaymentEvent) GetOutcomePayment() github_com_cosmos_cosmos_sdk_types.Coins
func (*BondMakeOutcomePaymentEvent) GetSenderAddress ¶
func (m *BondMakeOutcomePaymentEvent) GetSenderAddress() string
func (*BondMakeOutcomePaymentEvent) GetSenderDid ¶
func (m *BondMakeOutcomePaymentEvent) GetSenderDid() string
func (*BondMakeOutcomePaymentEvent) Marshal ¶
func (m *BondMakeOutcomePaymentEvent) Marshal() (dAtA []byte, err error)
func (*BondMakeOutcomePaymentEvent) MarshalTo ¶
func (m *BondMakeOutcomePaymentEvent) MarshalTo(dAtA []byte) (int, error)
func (*BondMakeOutcomePaymentEvent) MarshalToSizedBuffer ¶
func (m *BondMakeOutcomePaymentEvent) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*BondMakeOutcomePaymentEvent) ProtoMessage ¶
func (*BondMakeOutcomePaymentEvent) ProtoMessage()
func (*BondMakeOutcomePaymentEvent) Reset ¶
func (m *BondMakeOutcomePaymentEvent) Reset()
func (*BondMakeOutcomePaymentEvent) Size ¶
func (m *BondMakeOutcomePaymentEvent) Size() (n int)
func (*BondMakeOutcomePaymentEvent) String ¶
func (m *BondMakeOutcomePaymentEvent) String() string
func (*BondMakeOutcomePaymentEvent) Unmarshal ¶
func (m *BondMakeOutcomePaymentEvent) Unmarshal(dAtA []byte) error
func (*BondMakeOutcomePaymentEvent) XXX_DiscardUnknown ¶
func (m *BondMakeOutcomePaymentEvent) XXX_DiscardUnknown()
func (*BondMakeOutcomePaymentEvent) XXX_Marshal ¶
func (m *BondMakeOutcomePaymentEvent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*BondMakeOutcomePaymentEvent) XXX_Merge ¶
func (m *BondMakeOutcomePaymentEvent) XXX_Merge(src proto.Message)
func (*BondMakeOutcomePaymentEvent) XXX_Size ¶
func (m *BondMakeOutcomePaymentEvent) XXX_Size() int
func (*BondMakeOutcomePaymentEvent) XXX_Unmarshal ¶
func (m *BondMakeOutcomePaymentEvent) XXX_Unmarshal(b []byte) error
type BondSellOrderEvent ¶
type BondSellOrderEvent struct { Order *SellOrder `protobuf:"bytes,1,opt,name=order,proto3" json:"order,omitempty"` BondDid string `protobuf:"bytes,2,opt,name=bond_did,json=bondDid,proto3" json:"bond_did,omitempty"` }
BondSellOrderEvent is an event triggered on a Bond sell order
func (*BondSellOrderEvent) Descriptor ¶
func (*BondSellOrderEvent) Descriptor() ([]byte, []int)
func (*BondSellOrderEvent) GetBondDid ¶
func (m *BondSellOrderEvent) GetBondDid() string
func (*BondSellOrderEvent) GetOrder ¶
func (m *BondSellOrderEvent) GetOrder() *SellOrder
func (*BondSellOrderEvent) Marshal ¶
func (m *BondSellOrderEvent) Marshal() (dAtA []byte, err error)
func (*BondSellOrderEvent) MarshalTo ¶
func (m *BondSellOrderEvent) MarshalTo(dAtA []byte) (int, error)
func (*BondSellOrderEvent) MarshalToSizedBuffer ¶
func (m *BondSellOrderEvent) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*BondSellOrderEvent) ProtoMessage ¶
func (*BondSellOrderEvent) ProtoMessage()
func (*BondSellOrderEvent) Reset ¶
func (m *BondSellOrderEvent) Reset()
func (*BondSellOrderEvent) Size ¶
func (m *BondSellOrderEvent) Size() (n int)
func (*BondSellOrderEvent) String ¶
func (m *BondSellOrderEvent) String() string
func (*BondSellOrderEvent) Unmarshal ¶
func (m *BondSellOrderEvent) Unmarshal(dAtA []byte) error
func (*BondSellOrderEvent) XXX_DiscardUnknown ¶
func (m *BondSellOrderEvent) XXX_DiscardUnknown()
func (*BondSellOrderEvent) XXX_Marshal ¶
func (m *BondSellOrderEvent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*BondSellOrderEvent) XXX_Merge ¶
func (m *BondSellOrderEvent) XXX_Merge(src proto.Message)
func (*BondSellOrderEvent) XXX_Size ¶
func (m *BondSellOrderEvent) XXX_Size() int
func (*BondSellOrderEvent) XXX_Unmarshal ¶
func (m *BondSellOrderEvent) XXX_Unmarshal(b []byte) error
type BondSellOrderFulfilledEvent ¶
type BondSellOrderFulfilledEvent struct { BondDid string `protobuf:"bytes,1,opt,name=bond_did,json=bondDid,proto3" json:"bond_did,omitempty"` Order *SellOrder `protobuf:"bytes,2,opt,name=order,proto3" json:"order,omitempty"` ChargedFees github_com_cosmos_cosmos_sdk_types.Coins `` /* 138-byte string literal not displayed */ ReturnedToAddress github_com_cosmos_cosmos_sdk_types.Coins `` /* 158-byte string literal not displayed */ NewBondTokenBalance cosmossdk_io_math.Int `` /* 145-byte string literal not displayed */ }
BondSellOrderFulfilledEvent is an event triggered on a Bond sell order fullfillment
func (*BondSellOrderFulfilledEvent) Descriptor ¶
func (*BondSellOrderFulfilledEvent) Descriptor() ([]byte, []int)
func (*BondSellOrderFulfilledEvent) GetBondDid ¶
func (m *BondSellOrderFulfilledEvent) GetBondDid() string
func (*BondSellOrderFulfilledEvent) GetChargedFees ¶
func (m *BondSellOrderFulfilledEvent) GetChargedFees() github_com_cosmos_cosmos_sdk_types.Coins
func (*BondSellOrderFulfilledEvent) GetOrder ¶
func (m *BondSellOrderFulfilledEvent) GetOrder() *SellOrder
func (*BondSellOrderFulfilledEvent) GetReturnedToAddress ¶
func (m *BondSellOrderFulfilledEvent) GetReturnedToAddress() github_com_cosmos_cosmos_sdk_types.Coins
func (*BondSellOrderFulfilledEvent) Marshal ¶
func (m *BondSellOrderFulfilledEvent) Marshal() (dAtA []byte, err error)
func (*BondSellOrderFulfilledEvent) MarshalTo ¶
func (m *BondSellOrderFulfilledEvent) MarshalTo(dAtA []byte) (int, error)
func (*BondSellOrderFulfilledEvent) MarshalToSizedBuffer ¶
func (m *BondSellOrderFulfilledEvent) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*BondSellOrderFulfilledEvent) ProtoMessage ¶
func (*BondSellOrderFulfilledEvent) ProtoMessage()
func (*BondSellOrderFulfilledEvent) Reset ¶
func (m *BondSellOrderFulfilledEvent) Reset()
func (*BondSellOrderFulfilledEvent) Size ¶
func (m *BondSellOrderFulfilledEvent) Size() (n int)
func (*BondSellOrderFulfilledEvent) String ¶
func (m *BondSellOrderFulfilledEvent) String() string
func (*BondSellOrderFulfilledEvent) Unmarshal ¶
func (m *BondSellOrderFulfilledEvent) Unmarshal(dAtA []byte) error
func (*BondSellOrderFulfilledEvent) XXX_DiscardUnknown ¶
func (m *BondSellOrderFulfilledEvent) XXX_DiscardUnknown()
func (*BondSellOrderFulfilledEvent) XXX_Marshal ¶
func (m *BondSellOrderFulfilledEvent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*BondSellOrderFulfilledEvent) XXX_Merge ¶
func (m *BondSellOrderFulfilledEvent) XXX_Merge(src proto.Message)
func (*BondSellOrderFulfilledEvent) XXX_Size ¶
func (m *BondSellOrderFulfilledEvent) XXX_Size() int
func (*BondSellOrderFulfilledEvent) XXX_Unmarshal ¶
func (m *BondSellOrderFulfilledEvent) XXX_Unmarshal(b []byte) error
type BondSetNextAlphaEvent ¶
type BondSetNextAlphaEvent struct { BondDid string `protobuf:"bytes,1,opt,name=bond_did,json=bondDid,proto3" json:"bond_did,omitempty"` NextAlpha string `protobuf:"bytes,2,opt,name=next_alpha,json=nextAlpha,proto3" json:"next_alpha,omitempty"` Signer string `protobuf:"bytes,3,opt,name=signer,proto3" json:"signer,omitempty"` }
BondSetNextAlphaEvent is an event triggered when next batch alpha is set
func (*BondSetNextAlphaEvent) Descriptor ¶
func (*BondSetNextAlphaEvent) Descriptor() ([]byte, []int)
func (*BondSetNextAlphaEvent) GetBondDid ¶
func (m *BondSetNextAlphaEvent) GetBondDid() string
func (*BondSetNextAlphaEvent) GetNextAlpha ¶
func (m *BondSetNextAlphaEvent) GetNextAlpha() string
func (*BondSetNextAlphaEvent) GetSigner ¶
func (m *BondSetNextAlphaEvent) GetSigner() string
func (*BondSetNextAlphaEvent) Marshal ¶
func (m *BondSetNextAlphaEvent) Marshal() (dAtA []byte, err error)
func (*BondSetNextAlphaEvent) MarshalTo ¶
func (m *BondSetNextAlphaEvent) MarshalTo(dAtA []byte) (int, error)
func (*BondSetNextAlphaEvent) MarshalToSizedBuffer ¶
func (m *BondSetNextAlphaEvent) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*BondSetNextAlphaEvent) ProtoMessage ¶
func (*BondSetNextAlphaEvent) ProtoMessage()
func (*BondSetNextAlphaEvent) Reset ¶
func (m *BondSetNextAlphaEvent) Reset()
func (*BondSetNextAlphaEvent) Size ¶
func (m *BondSetNextAlphaEvent) Size() (n int)
func (*BondSetNextAlphaEvent) String ¶
func (m *BondSetNextAlphaEvent) String() string
func (*BondSetNextAlphaEvent) Unmarshal ¶
func (m *BondSetNextAlphaEvent) Unmarshal(dAtA []byte) error
func (*BondSetNextAlphaEvent) XXX_DiscardUnknown ¶
func (m *BondSetNextAlphaEvent) XXX_DiscardUnknown()
func (*BondSetNextAlphaEvent) XXX_Marshal ¶
func (m *BondSetNextAlphaEvent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*BondSetNextAlphaEvent) XXX_Merge ¶
func (m *BondSetNextAlphaEvent) XXX_Merge(src proto.Message)
func (*BondSetNextAlphaEvent) XXX_Size ¶
func (m *BondSetNextAlphaEvent) XXX_Size() int
func (*BondSetNextAlphaEvent) XXX_Unmarshal ¶
func (m *BondSetNextAlphaEvent) XXX_Unmarshal(b []byte) error
type BondState ¶
type BondState string
func BondStateFromString ¶
func (BondState) IsValidProgressionFrom ¶
type BondStateTransitionMap ¶
type BondSwapOrderEvent ¶
type BondSwapOrderEvent struct { Order *SwapOrder `protobuf:"bytes,1,opt,name=order,proto3" json:"order,omitempty"` BondDid string `protobuf:"bytes,2,opt,name=bond_did,json=bondDid,proto3" json:"bond_did,omitempty"` }
BondSwapOrderEvent is an event triggered on a Bond swap order
func (*BondSwapOrderEvent) Descriptor ¶
func (*BondSwapOrderEvent) Descriptor() ([]byte, []int)
func (*BondSwapOrderEvent) GetBondDid ¶
func (m *BondSwapOrderEvent) GetBondDid() string
func (*BondSwapOrderEvent) GetOrder ¶
func (m *BondSwapOrderEvent) GetOrder() *SwapOrder
func (*BondSwapOrderEvent) Marshal ¶
func (m *BondSwapOrderEvent) Marshal() (dAtA []byte, err error)
func (*BondSwapOrderEvent) MarshalTo ¶
func (m *BondSwapOrderEvent) MarshalTo(dAtA []byte) (int, error)
func (*BondSwapOrderEvent) MarshalToSizedBuffer ¶
func (m *BondSwapOrderEvent) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*BondSwapOrderEvent) ProtoMessage ¶
func (*BondSwapOrderEvent) ProtoMessage()
func (*BondSwapOrderEvent) Reset ¶
func (m *BondSwapOrderEvent) Reset()
func (*BondSwapOrderEvent) Size ¶
func (m *BondSwapOrderEvent) Size() (n int)
func (*BondSwapOrderEvent) String ¶
func (m *BondSwapOrderEvent) String() string
func (*BondSwapOrderEvent) Unmarshal ¶
func (m *BondSwapOrderEvent) Unmarshal(dAtA []byte) error
func (*BondSwapOrderEvent) XXX_DiscardUnknown ¶
func (m *BondSwapOrderEvent) XXX_DiscardUnknown()
func (*BondSwapOrderEvent) XXX_Marshal ¶
func (m *BondSwapOrderEvent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*BondSwapOrderEvent) XXX_Merge ¶
func (m *BondSwapOrderEvent) XXX_Merge(src proto.Message)
func (*BondSwapOrderEvent) XXX_Size ¶
func (m *BondSwapOrderEvent) XXX_Size() int
func (*BondSwapOrderEvent) XXX_Unmarshal ¶
func (m *BondSwapOrderEvent) XXX_Unmarshal(b []byte) error
type BondSwapOrderFulfilledEvent ¶
type BondSwapOrderFulfilledEvent struct { BondDid string `protobuf:"bytes,1,opt,name=bond_did,json=bondDid,proto3" json:"bond_did,omitempty"` Order *SwapOrder `protobuf:"bytes,2,opt,name=order,proto3" json:"order,omitempty"` ChargedFee types.Coin `protobuf:"bytes,3,opt,name=charged_fee,json=chargedFee,proto3" json:"charged_fee"` ReturnedToAddress github_com_cosmos_cosmos_sdk_types.Coins `` /* 158-byte string literal not displayed */ TokensSwapped types.Coin `protobuf:"bytes,5,opt,name=tokens_swapped,json=tokensSwapped,proto3" json:"tokens_swapped"` }
BondSwapOrderFulfilledEvent is an event triggered on a Bond swap order fullfillment
func (*BondSwapOrderFulfilledEvent) Descriptor ¶
func (*BondSwapOrderFulfilledEvent) Descriptor() ([]byte, []int)
func (*BondSwapOrderFulfilledEvent) GetBondDid ¶
func (m *BondSwapOrderFulfilledEvent) GetBondDid() string
func (*BondSwapOrderFulfilledEvent) GetChargedFee ¶
func (m *BondSwapOrderFulfilledEvent) GetChargedFee() types.Coin
func (*BondSwapOrderFulfilledEvent) GetOrder ¶
func (m *BondSwapOrderFulfilledEvent) GetOrder() *SwapOrder
func (*BondSwapOrderFulfilledEvent) GetReturnedToAddress ¶
func (m *BondSwapOrderFulfilledEvent) GetReturnedToAddress() github_com_cosmos_cosmos_sdk_types.Coins
func (*BondSwapOrderFulfilledEvent) GetTokensSwapped ¶
func (m *BondSwapOrderFulfilledEvent) GetTokensSwapped() types.Coin
func (*BondSwapOrderFulfilledEvent) Marshal ¶
func (m *BondSwapOrderFulfilledEvent) Marshal() (dAtA []byte, err error)
func (*BondSwapOrderFulfilledEvent) MarshalTo ¶
func (m *BondSwapOrderFulfilledEvent) MarshalTo(dAtA []byte) (int, error)
func (*BondSwapOrderFulfilledEvent) MarshalToSizedBuffer ¶
func (m *BondSwapOrderFulfilledEvent) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*BondSwapOrderFulfilledEvent) ProtoMessage ¶
func (*BondSwapOrderFulfilledEvent) ProtoMessage()
func (*BondSwapOrderFulfilledEvent) Reset ¶
func (m *BondSwapOrderFulfilledEvent) Reset()
func (*BondSwapOrderFulfilledEvent) Size ¶
func (m *BondSwapOrderFulfilledEvent) Size() (n int)
func (*BondSwapOrderFulfilledEvent) String ¶
func (m *BondSwapOrderFulfilledEvent) String() string
func (*BondSwapOrderFulfilledEvent) Unmarshal ¶
func (m *BondSwapOrderFulfilledEvent) Unmarshal(dAtA []byte) error
func (*BondSwapOrderFulfilledEvent) XXX_DiscardUnknown ¶
func (m *BondSwapOrderFulfilledEvent) XXX_DiscardUnknown()
func (*BondSwapOrderFulfilledEvent) XXX_Marshal ¶
func (m *BondSwapOrderFulfilledEvent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*BondSwapOrderFulfilledEvent) XXX_Merge ¶
func (m *BondSwapOrderFulfilledEvent) XXX_Merge(src proto.Message)
func (*BondSwapOrderFulfilledEvent) XXX_Size ¶
func (m *BondSwapOrderFulfilledEvent) XXX_Size() int
func (*BondSwapOrderFulfilledEvent) XXX_Unmarshal ¶
func (m *BondSwapOrderFulfilledEvent) XXX_Unmarshal(b []byte) error
type BondUpdatedEvent ¶
type BondUpdatedEvent struct {
Bond *Bond `protobuf:"bytes,1,opt,name=bond,proto3" json:"bond,omitempty"`
}
BondUpdatedEvent is an event triggered on a Bond update
func (*BondUpdatedEvent) Descriptor ¶
func (*BondUpdatedEvent) Descriptor() ([]byte, []int)
func (*BondUpdatedEvent) GetBond ¶
func (m *BondUpdatedEvent) GetBond() *Bond
func (*BondUpdatedEvent) Marshal ¶
func (m *BondUpdatedEvent) Marshal() (dAtA []byte, err error)
func (*BondUpdatedEvent) MarshalToSizedBuffer ¶
func (m *BondUpdatedEvent) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*BondUpdatedEvent) ProtoMessage ¶
func (*BondUpdatedEvent) ProtoMessage()
func (*BondUpdatedEvent) Reset ¶
func (m *BondUpdatedEvent) Reset()
func (*BondUpdatedEvent) Size ¶
func (m *BondUpdatedEvent) Size() (n int)
func (*BondUpdatedEvent) String ¶
func (m *BondUpdatedEvent) String() string
func (*BondUpdatedEvent) Unmarshal ¶
func (m *BondUpdatedEvent) Unmarshal(dAtA []byte) error
func (*BondUpdatedEvent) XXX_DiscardUnknown ¶
func (m *BondUpdatedEvent) XXX_DiscardUnknown()
func (*BondUpdatedEvent) XXX_Marshal ¶
func (m *BondUpdatedEvent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*BondUpdatedEvent) XXX_Merge ¶
func (m *BondUpdatedEvent) XXX_Merge(src proto.Message)
func (*BondUpdatedEvent) XXX_Size ¶
func (m *BondUpdatedEvent) XXX_Size() int
func (*BondUpdatedEvent) XXX_Unmarshal ¶
func (m *BondUpdatedEvent) XXX_Unmarshal(b []byte) error
type BondWithdrawReserveEvent ¶
type BondWithdrawReserveEvent struct { BondDid string `protobuf:"bytes,1,opt,name=bond_did,json=bondDid,proto3" json:"bond_did,omitempty"` WithdrawAmount github_com_cosmos_cosmos_sdk_types.Coins `` /* 147-byte string literal not displayed */ WithdrawerDid string `protobuf:"bytes,3,opt,name=withdrawer_did,json=withdrawerDid,proto3" json:"withdrawer_did,omitempty"` WithdrawerAddress string `protobuf:"bytes,4,opt,name=withdrawer_address,json=withdrawerAddress,proto3" json:"withdrawer_address,omitempty"` ReserveWithdrawalAddress string `` /* 135-byte string literal not displayed */ }
BondWithdrawReserveEvent is an event triggered on a Bond reserve withdrawal
func (*BondWithdrawReserveEvent) Descriptor ¶
func (*BondWithdrawReserveEvent) Descriptor() ([]byte, []int)
func (*BondWithdrawReserveEvent) GetBondDid ¶
func (m *BondWithdrawReserveEvent) GetBondDid() string
func (*BondWithdrawReserveEvent) GetReserveWithdrawalAddress ¶
func (m *BondWithdrawReserveEvent) GetReserveWithdrawalAddress() string
func (*BondWithdrawReserveEvent) GetWithdrawAmount ¶
func (m *BondWithdrawReserveEvent) GetWithdrawAmount() github_com_cosmos_cosmos_sdk_types.Coins
func (*BondWithdrawReserveEvent) GetWithdrawerAddress ¶
func (m *BondWithdrawReserveEvent) GetWithdrawerAddress() string
func (*BondWithdrawReserveEvent) GetWithdrawerDid ¶
func (m *BondWithdrawReserveEvent) GetWithdrawerDid() string
func (*BondWithdrawReserveEvent) Marshal ¶
func (m *BondWithdrawReserveEvent) Marshal() (dAtA []byte, err error)
func (*BondWithdrawReserveEvent) MarshalTo ¶
func (m *BondWithdrawReserveEvent) MarshalTo(dAtA []byte) (int, error)
func (*BondWithdrawReserveEvent) MarshalToSizedBuffer ¶
func (m *BondWithdrawReserveEvent) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*BondWithdrawReserveEvent) ProtoMessage ¶
func (*BondWithdrawReserveEvent) ProtoMessage()
func (*BondWithdrawReserveEvent) Reset ¶
func (m *BondWithdrawReserveEvent) Reset()
func (*BondWithdrawReserveEvent) Size ¶
func (m *BondWithdrawReserveEvent) Size() (n int)
func (*BondWithdrawReserveEvent) String ¶
func (m *BondWithdrawReserveEvent) String() string
func (*BondWithdrawReserveEvent) Unmarshal ¶
func (m *BondWithdrawReserveEvent) Unmarshal(dAtA []byte) error
func (*BondWithdrawReserveEvent) XXX_DiscardUnknown ¶
func (m *BondWithdrawReserveEvent) XXX_DiscardUnknown()
func (*BondWithdrawReserveEvent) XXX_Marshal ¶
func (m *BondWithdrawReserveEvent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*BondWithdrawReserveEvent) XXX_Merge ¶
func (m *BondWithdrawReserveEvent) XXX_Merge(src proto.Message)
func (*BondWithdrawReserveEvent) XXX_Size ¶
func (m *BondWithdrawReserveEvent) XXX_Size() int
func (*BondWithdrawReserveEvent) XXX_Unmarshal ¶
func (m *BondWithdrawReserveEvent) XXX_Unmarshal(b []byte) error
type BondWithdrawShareEvent ¶
type BondWithdrawShareEvent struct {}
BondWithdrawShareEvent is an event triggered on a Bond share withdrawal
func (*BondWithdrawShareEvent) Descriptor ¶
func (*BondWithdrawShareEvent) Descriptor() ([]byte, []int)
func (*BondWithdrawShareEvent) GetBondDid ¶
func (m *BondWithdrawShareEvent) GetBondDid() string
func (*BondWithdrawShareEvent) GetRecipientAddress ¶
func (m *BondWithdrawShareEvent) GetRecipientAddress() string
func (*BondWithdrawShareEvent) GetRecipientDid ¶
func (m *BondWithdrawShareEvent) GetRecipientDid() string
func (*BondWithdrawShareEvent) GetWithdrawPayment ¶
func (m *BondWithdrawShareEvent) GetWithdrawPayment() github_com_cosmos_cosmos_sdk_types.Coins
func (*BondWithdrawShareEvent) Marshal ¶
func (m *BondWithdrawShareEvent) Marshal() (dAtA []byte, err error)
func (*BondWithdrawShareEvent) MarshalTo ¶
func (m *BondWithdrawShareEvent) MarshalTo(dAtA []byte) (int, error)
func (*BondWithdrawShareEvent) MarshalToSizedBuffer ¶
func (m *BondWithdrawShareEvent) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*BondWithdrawShareEvent) ProtoMessage ¶
func (*BondWithdrawShareEvent) ProtoMessage()
func (*BondWithdrawShareEvent) Reset ¶
func (m *BondWithdrawShareEvent) Reset()
func (*BondWithdrawShareEvent) Size ¶
func (m *BondWithdrawShareEvent) Size() (n int)
func (*BondWithdrawShareEvent) String ¶
func (m *BondWithdrawShareEvent) String() string
func (*BondWithdrawShareEvent) Unmarshal ¶
func (m *BondWithdrawShareEvent) Unmarshal(dAtA []byte) error
func (*BondWithdrawShareEvent) XXX_DiscardUnknown ¶
func (m *BondWithdrawShareEvent) XXX_DiscardUnknown()
func (*BondWithdrawShareEvent) XXX_Marshal ¶
func (m *BondWithdrawShareEvent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*BondWithdrawShareEvent) XXX_Merge ¶
func (m *BondWithdrawShareEvent) XXX_Merge(src proto.Message)
func (*BondWithdrawShareEvent) XXX_Size ¶
func (m *BondWithdrawShareEvent) XXX_Size() int
func (*BondWithdrawShareEvent) XXX_Unmarshal ¶
func (m *BondWithdrawShareEvent) XXX_Unmarshal(b []byte) error
type BondingAlgorithm ¶
type BuyOrder ¶
type BuyOrder struct { BaseOrder BaseOrder `protobuf:"bytes,1,opt,name=base_order,json=baseOrder,proto3" json:"base_order"` MaxPrices github_com_cosmos_cosmos_sdk_types.Coins `` /* 132-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 ¶
func LeftFlatMap ¶
type FunctionParam ¶
type FunctionParam struct { Param string `protobuf:"bytes,1,opt,name=param,proto3" json:"param,omitempty"` Value cosmossdk_io_math.LegacyDec `protobuf:"bytes,2,opt,name=value,proto3,customtype=cosmossdk.io/math.LegacyDec" json:"value"` }
FunctionParam is a key-value pair used for specifying a specific bond parameter.
func NewFunctionParam ¶
func NewFunctionParam(param string, value math.LegacyDec) 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 math.LegacyDec) FunctionParams
func (FunctionParams) AddParams ¶
func (fps FunctionParams) AddParams(newFps FunctionParams) FunctionParams
func (FunctionParams) AsMap ¶
func (fps FunctionParams) AsMap() (paramsMap map[string]math.LegacyDec)
func (FunctionParams) ReplaceParam ¶
func (fps FunctionParams) ReplaceParam(param string, value math.LegacyDec)
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"` Batches []Batch `protobuf:"bytes,2,rep,name=batches,proto3" json:"batches"` Params Params `protobuf:"bytes,3,opt,name=params,proto3" json:"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_v4_x_iid_types.DIDFragment `` /* 161-byte string literal not displayed */ Amount types.Coin `protobuf:"bytes,2,opt,name=amount,proto3" json:"amount"` MaxPrices github_com_cosmos_cosmos_sdk_types.Coins `` /* 132-byte string literal not displayed */ BondDid string `protobuf:"bytes,4,opt,name=bond_did,json=bondDid,proto3" json:"bond_did,omitempty"` BuyerAddress string `protobuf:"bytes,5,opt,name=buyer_address,json=buyerAddress,proto3" json:"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 string, buyerAddress string) *MsgBuy
-------------------------- BUY --------------------------
func (*MsgBuy) Descriptor ¶
func (*MsgBuy) GetBondDid ¶
func (*MsgBuy) GetBuyerAddress ¶
func (*MsgBuy) GetBuyerDid ¶
func (m *MsgBuy) GetBuyerDid() github_com_ixofoundation_ixo_blockchain_v4_x_iid_types.DIDFragment
func (MsgBuy) GetIidController ¶
func (msg MsgBuy) GetIidController() iidtypes.DIDFragment
func (*MsgBuy) GetMaxPrices ¶
func (m *MsgBuy) GetMaxPrices() github_com_cosmos_cosmos_sdk_types.Coins
func (*MsgBuy) MarshalToSizedBuffer ¶
func (*MsgBuy) ProtoMessage ¶
func (*MsgBuy) ProtoMessage()
func (MsgBuy) ValidateBasic ¶
-------------------------- BUY --------------------------
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) // in the SETTLE stage. 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"` Token string `protobuf:"bytes,2,opt,name=token,proto3" json:"token,omitempty"` Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"` FunctionType string `protobuf:"bytes,5,opt,name=function_type,json=functionType,proto3" json:"function_type,omitempty"` FunctionParameters FunctionParams `` /* 133-byte string literal not displayed */ CreatorDid github_com_ixofoundation_ixo_blockchain_v4_x_iid_types.DIDFragment `` /* 167-byte string literal not displayed */ ControllerDid github_com_ixofoundation_ixo_blockchain_v4_x_iid_types.DIDFragment `` /* 176-byte string literal not displayed */ OracleDid github_com_ixofoundation_ixo_blockchain_v4_x_iid_types.DIDFragment `` /* 164-byte string literal not displayed */ ReserveTokens []string `protobuf:"bytes,10,rep,name=reserve_tokens,json=reserveTokens,proto3" json:"reserve_tokens,omitempty"` TxFeePercentage cosmossdk_io_math.LegacyDec `` /* 138-byte string literal not displayed */ ExitFeePercentage cosmossdk_io_math.LegacyDec `` /* 144-byte string literal not displayed */ FeeAddress string `protobuf:"bytes,13,opt,name=fee_address,json=feeAddress,proto3" json:"fee_address,omitempty"` ReserveWithdrawalAddress string `` /* 136-byte string literal not displayed */ MaxSupply types.Coin `protobuf:"bytes,15,opt,name=max_supply,json=maxSupply,proto3" json:"max_supply"` OrderQuantityLimits github_com_cosmos_cosmos_sdk_types.Coins `` /* 165-byte string literal not displayed */ SanityRate cosmossdk_io_math.LegacyDec `protobuf:"bytes,17,opt,name=sanity_rate,json=sanityRate,proto3,customtype=cosmossdk.io/math.LegacyDec" json:"sanity_rate"` SanityMarginPercentage cosmossdk_io_math.LegacyDec `` /* 159-byte string literal not displayed */ AllowSells bool `protobuf:"varint,19,opt,name=allow_sells,json=allowSells,proto3" json:"allow_sells,omitempty"` AllowReserveWithdrawals bool `` /* 134-byte string literal not displayed */ AlphaBond bool `protobuf:"varint,21,opt,name=alpha_bond,json=alphaBond,proto3" json:"alpha_bond,omitempty"` BatchBlocks cosmossdk_io_math.Uint `protobuf:"bytes,22,opt,name=batch_blocks,json=batchBlocks,proto3,customtype=cosmossdk.io/math.Uint" json:"batch_blocks"` OutcomePayment cosmossdk_io_math.Int `` /* 127-byte string literal not displayed */ CreatorAddress string `protobuf:"bytes,24,opt,name=creator_address,json=creatorAddress,proto3" json:"creator_address,omitempty"` }
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 math.LegacyDec, feeAddress, reserveWithdrawalAddress sdk.AccAddress, maxSupply sdk.Coin, orderQuantityLimits sdk.Coins, sanityRate, sanityMarginPercentage math.LegacyDec, allowSell, allowReserveWithdrawals, alphaBond bool, batchBlocks math.Uint, outcomePayment math.Int, bondDid string, creatorAddress string) *MsgCreateBond
-------------------------- CREATE BOND --------------------------
func (*MsgCreateBond) Descriptor ¶
func (*MsgCreateBond) Descriptor() ([]byte, []int)
func (*MsgCreateBond) GetAllowReserveWithdrawals ¶
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_v4_x_iid_types.DIDFragment
func (*MsgCreateBond) GetCreatorAddress ¶
func (m *MsgCreateBond) GetCreatorAddress() string
func (*MsgCreateBond) GetCreatorDid ¶
func (m *MsgCreateBond) GetCreatorDid() github_com_ixofoundation_ixo_blockchain_v4_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 ¶
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 ¶
func (m *MsgCreateBond) GetOracleDid() github_com_ixofoundation_ixo_blockchain_v4_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 ¶
func (m *MsgCreateBond) GetReserveWithdrawalAddress() string
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
-------------------------- CREATE BOND --------------------------
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"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` OrderQuantityLimits string `protobuf:"bytes,4,opt,name=order_quantity_limits,json=orderQuantityLimits,proto3" json:"order_quantity_limits,omitempty"` SanityRate string `protobuf:"bytes,5,opt,name=sanity_rate,json=sanityRate,proto3" json:"sanity_rate,omitempty"` SanityMarginPercentage string `` /* 129-byte string literal not displayed */ EditorDid github_com_ixofoundation_ixo_blockchain_v4_x_iid_types.DIDFragment `` /* 164-byte string literal not displayed */ EditorAddress string `protobuf:"bytes,8,opt,name=editor_address,json=editorAddress,proto3" json:"editor_address,omitempty"` }
MsgEditBond defines a message for editing an existing bond.
func NewMsgEditBond ¶
func NewMsgEditBond(name, description, orderQuantityLimits, sanityRate, sanityMarginPercentage string, editorDid iidtypes.DIDFragment, bondDid string, editorAddress string) *MsgEditBond
-------------------------- EDIT BOND --------------------------
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 ¶
func (m *MsgEditBond) GetEditorAddress() string
func (*MsgEditBond) GetEditorDid ¶
func (m *MsgEditBond) GetEditorDid() github_com_ixofoundation_ixo_blockchain_v4_x_iid_types.DIDFragment
func (MsgEditBond) GetIidController ¶
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) 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
-------------------------- EDIT BOND --------------------------
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_v4_x_iid_types.DIDFragment `` /* 164-byte string literal not displayed */ Amount cosmossdk_io_math.Int `protobuf:"bytes,2,opt,name=amount,proto3,customtype=cosmossdk.io/math.Int" json:"amount"` BondDid string `protobuf:"bytes,3,opt,name=bond_did,json=bondDid,proto3" json:"bond_did,omitempty"` SenderAddress string `protobuf:"bytes,4,opt,name=sender_address,json=senderAddress,proto3" json:"sender_address,omitempty"` }
MsgMakeOutcomePayment defines a message for making an outcome payment to a bond.
func NewMsgMakeOutcomePayment ¶
func NewMsgMakeOutcomePayment(senderDid iidtypes.DIDFragment, amount math.Int, bondDid string, senderAddress string) *MsgMakeOutcomePayment
-------------------------- MAKE OUTCOME PAYMENT --------------------------
func (*MsgMakeOutcomePayment) Descriptor ¶
func (*MsgMakeOutcomePayment) Descriptor() ([]byte, []int)
func (*MsgMakeOutcomePayment) GetBondDid ¶
func (m *MsgMakeOutcomePayment) GetBondDid() string
func (MsgMakeOutcomePayment) GetIidController ¶
func (msg MsgMakeOutcomePayment) GetIidController() iidtypes.DIDFragment
func (*MsgMakeOutcomePayment) GetSenderAddress ¶
func (m *MsgMakeOutcomePayment) GetSenderAddress() string
func (*MsgMakeOutcomePayment) GetSenderDid ¶
func (m *MsgMakeOutcomePayment) GetSenderDid() github_com_ixofoundation_ixo_blockchain_v4_x_iid_types.DIDFragment
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
-------------------------- MAKE OUTCOME PAYMENT --------------------------
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_v4_x_iid_types.DIDFragment `` /* 164-byte string literal not displayed */ Amount types.Coin `protobuf:"bytes,2,opt,name=amount,proto3" json:"amount"` BondDid string `protobuf:"bytes,3,opt,name=bond_did,json=bondDid,proto3" json:"bond_did,omitempty"` SellerAddress string `protobuf:"bytes,4,opt,name=seller_address,json=sellerAddress,proto3" json:"seller_address,omitempty"` }
MsgSell defines a message for selling from a bond.
func NewMsgSell ¶
func NewMsgSell(sellerDid iidtypes.DIDFragment, amount sdk.Coin, bondDid string, sellerAddress string) *MsgSell
-------------------------- SELL --------------------------
func (*MsgSell) Descriptor ¶
func (*MsgSell) GetBondDid ¶
func (MsgSell) GetIidController ¶
func (msg MsgSell) GetIidController() iidtypes.DIDFragment
func (*MsgSell) GetSellerAddress ¶
func (*MsgSell) GetSellerDid ¶
func (m *MsgSell) GetSellerDid() github_com_ixofoundation_ixo_blockchain_v4_x_iid_types.DIDFragment
func (*MsgSell) MarshalToSizedBuffer ¶
func (*MsgSell) ProtoMessage ¶
func (*MsgSell) ProtoMessage()
func (MsgSell) ValidateBasic ¶
-------------------------- SELL --------------------------
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) // in the SETTLE stage. 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"` Alpha cosmossdk_io_math.LegacyDec `protobuf:"bytes,2,opt,name=alpha,proto3,customtype=cosmossdk.io/math.LegacyDec" json:"alpha"` Delta *cosmossdk_io_math.LegacyDec `protobuf:"bytes,3,opt,name=delta,proto3,customtype=cosmossdk.io/math.LegacyDec" json:"delta,omitempty"` OracleDid github_com_ixofoundation_ixo_blockchain_v4_x_iid_types.DIDFragment `` /* 164-byte string literal not displayed */ OracleAddress string `protobuf:"bytes,5,opt,name=oracle_address,json=oracleAddress,proto3" json:"oracle_address,omitempty"` }
MsgSetNextAlpha defines a message for editing a bond's alpha parameter.
func NewMsgSetNextAlpha ¶
func NewMsgSetNextAlpha(alpha math.LegacyDec, oracleDid iidtypes.DIDFragment, bondDid string, oracleAddress string) *MsgSetNextAlpha
-------------------------- SET NEXT ALPHA --------------------------
func (*MsgSetNextAlpha) Descriptor ¶
func (*MsgSetNextAlpha) Descriptor() ([]byte, []int)
func (*MsgSetNextAlpha) GetBondDid ¶
func (m *MsgSetNextAlpha) GetBondDid() string
func (MsgSetNextAlpha) GetIidController ¶
func (msg MsgSetNextAlpha) GetIidController() iidtypes.DIDFragment
func (*MsgSetNextAlpha) GetOracleAddress ¶
func (m *MsgSetNextAlpha) GetOracleAddress() string
func (*MsgSetNextAlpha) GetOracleDid ¶
func (m *MsgSetNextAlpha) GetOracleDid() github_com_ixofoundation_ixo_blockchain_v4_x_iid_types.DIDFragment
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
-------------------------- SET NEXT ALPHA --------------------------
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_v4_x_iid_types.DIDFragment `` /* 167-byte string literal not displayed */ BondDid string `protobuf:"bytes,2,opt,name=bond_did,json=bondDid,proto3" json:"bond_did,omitempty"` From types.Coin `protobuf:"bytes,3,opt,name=from,proto3" json:"from"` ToToken string `protobuf:"bytes,4,opt,name=to_token,json=toToken,proto3" json:"to_token,omitempty"` SwapperAddress string `protobuf:"bytes,5,opt,name=swapper_address,json=swapperAddress,proto3" json:"swapper_address,omitempty"` }
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 string, swapperAddress string) *MsgSwap
-------------------------- SWAP --------------------------
func (*MsgSwap) Descriptor ¶
func (*MsgSwap) GetBondDid ¶
func (MsgSwap) GetIidController ¶
func (msg MsgSwap) GetIidController() iidtypes.DIDFragment
func (*MsgSwap) GetSwapperAddress ¶
func (*MsgSwap) GetSwapperDid ¶
func (m *MsgSwap) GetSwapperDid() github_com_ixofoundation_ixo_blockchain_v4_x_iid_types.DIDFragment
func (*MsgSwap) GetToToken ¶
func (*MsgSwap) MarshalToSizedBuffer ¶
func (*MsgSwap) ProtoMessage ¶
func (*MsgSwap) ProtoMessage()
func (MsgSwap) ValidateBasic ¶
-------------------------- SWAP --------------------------
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"` State string `protobuf:"bytes,2,opt,name=state,proto3" json:"state,omitempty"` EditorDid github_com_ixofoundation_ixo_blockchain_v4_x_iid_types.DIDFragment `` /* 164-byte string literal not displayed */ EditorAddress string `protobuf:"bytes,4,opt,name=editor_address,json=editorAddress,proto3" json:"editor_address,omitempty"` }
MsgUpdateBondState defines a message for updating a bond's current state.
func NewMsgUpdateBondState ¶
func NewMsgUpdateBondState(state BondState, editorDid iidtypes.DIDFragment, bondDid string, editorAddress string) *MsgUpdateBondState
-------------------------- UPDATE BOND STATE --------------------------
func (*MsgUpdateBondState) Descriptor ¶
func (*MsgUpdateBondState) Descriptor() ([]byte, []int)
func (*MsgUpdateBondState) GetBondDid ¶
func (m *MsgUpdateBondState) GetBondDid() string
func (*MsgUpdateBondState) GetEditorAddress ¶
func (m *MsgUpdateBondState) GetEditorAddress() string
func (*MsgUpdateBondState) GetEditorDid ¶
func (m *MsgUpdateBondState) GetEditorDid() github_com_ixofoundation_ixo_blockchain_v4_x_iid_types.DIDFragment
func (MsgUpdateBondState) GetIidController ¶
func (msg MsgUpdateBondState) GetIidController() iidtypes.DIDFragment
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
-------------------------- UPDATE BOND STATE --------------------------
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 ¶
type MsgWithdrawReserve struct { WithdrawerDid github_com_ixofoundation_ixo_blockchain_v4_x_iid_types.DIDFragment `` /* 176-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"` BondDid string `protobuf:"bytes,3,opt,name=bond_did,json=bondDid,proto3" json:"bond_did,omitempty"` WithdrawerAddress string `protobuf:"bytes,4,opt,name=withdrawer_address,json=withdrawerAddress,proto3" json:"withdrawer_address,omitempty"` }
MsgWithdrawReserve defines a message for withdrawing reserve from a bond.
func NewMsgWithdrawReserve ¶
func NewMsgWithdrawReserve(withdrawerDid iidtypes.DIDFragment, amount sdk.Coins, bondDid string, withdrawerAddress string) *MsgWithdrawReserve
-------------------------- WITHDRAW RESERVE --------------------------
func (*MsgWithdrawReserve) Descriptor ¶
func (*MsgWithdrawReserve) Descriptor() ([]byte, []int)
func (*MsgWithdrawReserve) GetAmount ¶
func (m *MsgWithdrawReserve) GetAmount() github_com_cosmos_cosmos_sdk_types.Coins
func (*MsgWithdrawReserve) GetBondDid ¶
func (m *MsgWithdrawReserve) GetBondDid() string
func (MsgWithdrawReserve) GetIidController ¶
func (msg MsgWithdrawReserve) GetIidController() iidtypes.DIDFragment
func (*MsgWithdrawReserve) GetWithdrawerAddress ¶
func (m *MsgWithdrawReserve) GetWithdrawerAddress() string
func (*MsgWithdrawReserve) GetWithdrawerDid ¶
func (m *MsgWithdrawReserve) GetWithdrawerDid() github_com_ixofoundation_ixo_blockchain_v4_x_iid_types.DIDFragment
func (*MsgWithdrawReserve) Marshal ¶
func (m *MsgWithdrawReserve) Marshal() (dAtA []byte, err error)
func (*MsgWithdrawReserve) MarshalTo ¶
func (m *MsgWithdrawReserve) MarshalTo(dAtA []byte) (int, error)
func (*MsgWithdrawReserve) MarshalToSizedBuffer ¶
func (m *MsgWithdrawReserve) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgWithdrawReserve) ProtoMessage ¶
func (*MsgWithdrawReserve) ProtoMessage()
func (*MsgWithdrawReserve) Reset ¶
func (m *MsgWithdrawReserve) Reset()
func (MsgWithdrawReserve) Route ¶
func (msg MsgWithdrawReserve) Route() string
func (*MsgWithdrawReserve) Size ¶
func (m *MsgWithdrawReserve) Size() (n int)
func (*MsgWithdrawReserve) String ¶
func (m *MsgWithdrawReserve) String() string
func (MsgWithdrawReserve) Type ¶
func (msg MsgWithdrawReserve) Type() string
func (*MsgWithdrawReserve) Unmarshal ¶
func (m *MsgWithdrawReserve) Unmarshal(dAtA []byte) error
func (MsgWithdrawReserve) ValidateBasic ¶
func (msg MsgWithdrawReserve) ValidateBasic() error
-------------------------- WITHDRAW RESERVE --------------------------
func (*MsgWithdrawReserve) XXX_DiscardUnknown ¶
func (m *MsgWithdrawReserve) XXX_DiscardUnknown()
func (*MsgWithdrawReserve) XXX_Marshal ¶
func (m *MsgWithdrawReserve) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgWithdrawReserve) XXX_Merge ¶
func (m *MsgWithdrawReserve) XXX_Merge(src proto.Message)
func (*MsgWithdrawReserve) XXX_Size ¶
func (m *MsgWithdrawReserve) XXX_Size() int
func (*MsgWithdrawReserve) XXX_Unmarshal ¶
func (m *MsgWithdrawReserve) XXX_Unmarshal(b []byte) error
type MsgWithdrawReserveResponse ¶
type MsgWithdrawReserveResponse struct { }
MsgWithdrawReserveResponse defines the Msg/WithdrawReserve response type.
func (*MsgWithdrawReserveResponse) Descriptor ¶
func (*MsgWithdrawReserveResponse) Descriptor() ([]byte, []int)
func (*MsgWithdrawReserveResponse) Marshal ¶
func (m *MsgWithdrawReserveResponse) Marshal() (dAtA []byte, err error)
func (*MsgWithdrawReserveResponse) MarshalTo ¶
func (m *MsgWithdrawReserveResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgWithdrawReserveResponse) MarshalToSizedBuffer ¶
func (m *MsgWithdrawReserveResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgWithdrawReserveResponse) ProtoMessage ¶
func (*MsgWithdrawReserveResponse) ProtoMessage()
func (*MsgWithdrawReserveResponse) Reset ¶
func (m *MsgWithdrawReserveResponse) Reset()
func (*MsgWithdrawReserveResponse) Size ¶
func (m *MsgWithdrawReserveResponse) Size() (n int)
func (*MsgWithdrawReserveResponse) String ¶
func (m *MsgWithdrawReserveResponse) String() string
func (*MsgWithdrawReserveResponse) Unmarshal ¶
func (m *MsgWithdrawReserveResponse) Unmarshal(dAtA []byte) error
func (*MsgWithdrawReserveResponse) XXX_DiscardUnknown ¶
func (m *MsgWithdrawReserveResponse) XXX_DiscardUnknown()
func (*MsgWithdrawReserveResponse) XXX_Marshal ¶
func (m *MsgWithdrawReserveResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgWithdrawReserveResponse) XXX_Merge ¶
func (m *MsgWithdrawReserveResponse) XXX_Merge(src proto.Message)
func (*MsgWithdrawReserveResponse) XXX_Size ¶
func (m *MsgWithdrawReserveResponse) XXX_Size() int
func (*MsgWithdrawReserveResponse) XXX_Unmarshal ¶
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 string, recipientAddress string) *MsgWithdrawShare
-------------------------- WITHDRAW SHARE --------------------------
func (*MsgWithdrawShare) Descriptor ¶
func (*MsgWithdrawShare) Descriptor() ([]byte, []int)
func (*MsgWithdrawShare) GetBondDid ¶
func (m *MsgWithdrawShare) GetBondDid() string
func (MsgWithdrawShare) GetIidController ¶
func (msg MsgWithdrawShare) GetIidController() iidtypes.DIDFragment
func (*MsgWithdrawShare) GetRecipientAddress ¶
func (m *MsgWithdrawShare) GetRecipientAddress() string
func (*MsgWithdrawShare) GetRecipientDid ¶
func (m *MsgWithdrawShare) GetRecipientDid() github_com_ixofoundation_ixo_blockchain_v4_x_iid_types.DIDFragment
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
-------------------------- WITHDRAW SHARE --------------------------
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 `protobuf:"bytes,1,rep,name=reserved_bond_tokens,json=reservedBondTokens,proto3" json:"reserved_bond_tokens,omitempty"`
}
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"`
}
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 cosmossdk_io_math.LegacyDec `` /* 160-byte string literal not displayed */ MaxSystemAlpha cosmossdk_io_math.LegacyDec `` /* 134-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 ¶
type QueryAvailableReserveRequest struct {
BondDid string `protobuf:"bytes,1,opt,name=bond_did,json=bondDid,proto3" json:"bond_did,omitempty"`
}
QueryAvailableReserveRequest is the request type for the Query/AvailableReserve RPC method.
func (*QueryAvailableReserveRequest) Descriptor ¶
func (*QueryAvailableReserveRequest) Descriptor() ([]byte, []int)
func (*QueryAvailableReserveRequest) GetBondDid ¶
func (m *QueryAvailableReserveRequest) GetBondDid() string
func (*QueryAvailableReserveRequest) Marshal ¶
func (m *QueryAvailableReserveRequest) Marshal() (dAtA []byte, err error)
func (*QueryAvailableReserveRequest) MarshalTo ¶
func (m *QueryAvailableReserveRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryAvailableReserveRequest) MarshalToSizedBuffer ¶
func (m *QueryAvailableReserveRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryAvailableReserveRequest) ProtoMessage ¶
func (*QueryAvailableReserveRequest) ProtoMessage()
func (*QueryAvailableReserveRequest) Reset ¶
func (m *QueryAvailableReserveRequest) Reset()
func (*QueryAvailableReserveRequest) Size ¶
func (m *QueryAvailableReserveRequest) Size() (n int)
func (*QueryAvailableReserveRequest) String ¶
func (m *QueryAvailableReserveRequest) String() string
func (*QueryAvailableReserveRequest) Unmarshal ¶
func (m *QueryAvailableReserveRequest) Unmarshal(dAtA []byte) error
func (*QueryAvailableReserveRequest) XXX_DiscardUnknown ¶
func (m *QueryAvailableReserveRequest) XXX_DiscardUnknown()
func (*QueryAvailableReserveRequest) XXX_Marshal ¶
func (m *QueryAvailableReserveRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryAvailableReserveRequest) XXX_Merge ¶
func (m *QueryAvailableReserveRequest) XXX_Merge(src proto.Message)
func (*QueryAvailableReserveRequest) XXX_Size ¶
func (m *QueryAvailableReserveRequest) XXX_Size() int
func (*QueryAvailableReserveRequest) XXX_Unmarshal ¶
func (m *QueryAvailableReserveRequest) XXX_Unmarshal(b []byte) error
type QueryAvailableReserveResponse ¶
type QueryAvailableReserveResponse struct {
AvailableReserve []types.Coin `protobuf:"bytes,1,rep,name=available_reserve,json=availableReserve,proto3" json:"available_reserve"`
}
QueryAvailableReserveResponse is the response type for the Query/AvailableReserve RPC method.
func (*QueryAvailableReserveResponse) Descriptor ¶
func (*QueryAvailableReserveResponse) Descriptor() ([]byte, []int)
func (*QueryAvailableReserveResponse) GetAvailableReserve ¶
func (m *QueryAvailableReserveResponse) GetAvailableReserve() []types.Coin
func (*QueryAvailableReserveResponse) Marshal ¶
func (m *QueryAvailableReserveResponse) Marshal() (dAtA []byte, err error)
func (*QueryAvailableReserveResponse) MarshalTo ¶
func (m *QueryAvailableReserveResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryAvailableReserveResponse) MarshalToSizedBuffer ¶
func (m *QueryAvailableReserveResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryAvailableReserveResponse) ProtoMessage ¶
func (*QueryAvailableReserveResponse) ProtoMessage()
func (*QueryAvailableReserveResponse) Reset ¶
func (m *QueryAvailableReserveResponse) Reset()
func (*QueryAvailableReserveResponse) Size ¶
func (m *QueryAvailableReserveResponse) Size() (n int)
func (*QueryAvailableReserveResponse) String ¶
func (m *QueryAvailableReserveResponse) String() string
func (*QueryAvailableReserveResponse) Unmarshal ¶
func (m *QueryAvailableReserveResponse) Unmarshal(dAtA []byte) error
func (*QueryAvailableReserveResponse) XXX_DiscardUnknown ¶
func (m *QueryAvailableReserveResponse) XXX_DiscardUnknown()
func (*QueryAvailableReserveResponse) XXX_Marshal ¶
func (m *QueryAvailableReserveResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryAvailableReserveResponse) XXX_Merge ¶
func (m *QueryAvailableReserveResponse) XXX_Merge(src proto.Message)
func (*QueryAvailableReserveResponse) XXX_Size ¶
func (m *QueryAvailableReserveResponse) XXX_Size() int
func (*QueryAvailableReserveResponse) XXX_Unmarshal ¶
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"`
}
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"`
}
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"`
}
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"`
}
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"`
}
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"`
}
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"` BondAmount string `protobuf:"bytes,2,opt,name=bond_amount,json=bondAmount,proto3" json:"bond_amount,omitempty"` }
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"` 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"` TxFees github_com_cosmos_cosmos_sdk_types.Coins `protobuf:"bytes,3,rep,name=tx_fees,json=txFees,proto3,castrepeated=github.com/cosmos/cosmos-sdk/types.Coins" json:"tx_fees"` TotalPrices github_com_cosmos_cosmos_sdk_types.Coins `` /* 138-byte string literal not displayed */ TotalFees github_com_cosmos_cosmos_sdk_types.Coins `` /* 132-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 parameters 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"`
}
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 `` /* 144-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"`
}
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"`
}
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"` BondAmount string `protobuf:"bytes,2,opt,name=bond_amount,json=bondAmount,proto3" json:"bond_amount,omitempty"` }
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"`
}
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"`
}
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"`
}
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"`
}
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"` BondAmount string `protobuf:"bytes,2,opt,name=bond_amount,json=bondAmount,proto3" json:"bond_amount,omitempty"` }
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"` Returns github_com_cosmos_cosmos_sdk_types.Coins `protobuf:"bytes,2,rep,name=returns,proto3,castrepeated=github.com/cosmos/cosmos-sdk/types.Coins" json:"returns"` TxFees github_com_cosmos_cosmos_sdk_types.Coins `protobuf:"bytes,3,rep,name=tx_fees,json=txFees,proto3,castrepeated=github.com/cosmos/cosmos-sdk/types.Coins" json:"tx_fees"` ExitFees github_com_cosmos_cosmos_sdk_types.Coins `` /* 129-byte string literal not displayed */ TotalReturns github_com_cosmos_cosmos_sdk_types.Coins `` /* 141-byte string literal not displayed */ TotalFees github_com_cosmos_cosmos_sdk_types.Coins `` /* 132-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 parameters 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"` FromTokenWithAmount string `protobuf:"bytes,2,opt,name=from_token_with_amount,json=fromTokenWithAmount,proto3" json:"from_token_with_amount,omitempty"` ToToken string `protobuf:"bytes,3,opt,name=to_token,json=toToken,proto3" json:"to_token,omitempty"` }
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 `` /* 141-byte string literal not displayed */ TotalFees github_com_cosmos_cosmos_sdk_types.Coins `` /* 132-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"`
}
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 StakingKeeper ¶
type StakingKeeper interface {
GetParams(ctx context.Context) (params stakingtypes.Params, err error)
}
type SwapOrder ¶
type SwapOrder struct { BaseOrder BaseOrder `protobuf:"bytes,1,opt,name=base_order,json=baseOrder,proto3" json:"base_order"` ToToken string `protobuf:"bytes,2,opt,name=to_token,json=toToken,proto3" json:"to_token,omitempty"` }
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 ¶
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 ¶
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)