Documentation
¶
Overview ¶
Code generated by protoc-gen-go-pulsar. DO NOT EDIT.
Code generated by protoc-gen-go-pulsar. DO NOT EDIT.
Code generated by protoc-gen-go-pulsar. DO NOT EDIT.
Code generated by protoc-gen-go-pulsar. DO NOT EDIT.
Code generated by protoc-gen-go-pulsar. DO NOT EDIT.
Code generated by protoc-gen-go-pulsar. DO NOT EDIT.
Code generated by protoc-gen-go-pulsar. DO NOT EDIT.
Index ¶
- Constants
- Variables
- func RegisterMsgServer(s grpc.ServiceRegistrar, srv MsgServer)
- func RegisterQueryServer(s grpc.ServiceRegistrar, srv QueryServer)
- type AccountBalance
- func (*AccountBalance) Descriptor() ([]byte, []int)deprecated
- func (x *AccountBalance) GetAddress() string
- func (x *AccountBalance) GetCoins() []*v1beta11.Coin
- func (*AccountBalance) ProtoMessage()
- func (x *AccountBalance) ProtoReflect() protoreflect.Message
- func (x *AccountBalance) Reset()
- func (x *AccountBalance) String() string
- type EventBridgeAddressSet
- func (*EventBridgeAddressSet) Descriptor() ([]byte, []int)deprecated
- func (x *EventBridgeAddressSet) GetAdmin() string
- func (x *EventBridgeAddressSet) GetBridgeAddress() string
- func (x *EventBridgeAddressSet) GetVaultAddress() string
- func (*EventBridgeAddressSet) ProtoMessage()
- func (x *EventBridgeAddressSet) ProtoReflect() protoreflect.Message
- func (x *EventBridgeAddressSet) Reset()
- func (x *EventBridgeAddressSet) String() string
- type EventBridgeBurnShares
- func (*EventBridgeBurnShares) Descriptor() ([]byte, []int)deprecated
- func (x *EventBridgeBurnShares) GetBridge() string
- func (x *EventBridgeBurnShares) GetShares() *v1beta1.Coin
- func (x *EventBridgeBurnShares) GetVaultAddress() string
- func (*EventBridgeBurnShares) ProtoMessage()
- func (x *EventBridgeBurnShares) ProtoReflect() protoreflect.Message
- func (x *EventBridgeBurnShares) Reset()
- func (x *EventBridgeBurnShares) String() string
- type EventBridgeMintShares
- func (*EventBridgeMintShares) Descriptor() ([]byte, []int)deprecated
- func (x *EventBridgeMintShares) GetBridge() string
- func (x *EventBridgeMintShares) GetShares() *v1beta1.Coin
- func (x *EventBridgeMintShares) GetVaultAddress() string
- func (*EventBridgeMintShares) ProtoMessage()
- func (x *EventBridgeMintShares) ProtoReflect() protoreflect.Message
- func (x *EventBridgeMintShares) Reset()
- func (x *EventBridgeMintShares) String() string
- type EventBridgeToggled
- func (*EventBridgeToggled) Descriptor() ([]byte, []int)deprecated
- func (x *EventBridgeToggled) GetAdmin() string
- func (x *EventBridgeToggled) GetEnabled() bool
- func (x *EventBridgeToggled) GetVaultAddress() string
- func (*EventBridgeToggled) ProtoMessage()
- func (x *EventBridgeToggled) ProtoReflect() protoreflect.Message
- func (x *EventBridgeToggled) Reset()
- func (x *EventBridgeToggled) String() string
- type EventDeposit
- func (*EventDeposit) Descriptor() ([]byte, []int)deprecated
- func (x *EventDeposit) GetAssets() string
- func (x *EventDeposit) GetCaller() string
- func (x *EventDeposit) GetOwner() string
- func (x *EventDeposit) GetShares() string
- func (x *EventDeposit) GetVaultId() uint32
- func (*EventDeposit) ProtoMessage()
- func (x *EventDeposit) ProtoReflect() protoreflect.Message
- func (x *EventDeposit) Reset()
- func (x *EventDeposit) String() string
- type EventDepositPrincipalFunds
- func (*EventDepositPrincipalFunds) Descriptor() ([]byte, []int)deprecated
- func (x *EventDepositPrincipalFunds) GetAdmin() string
- func (x *EventDepositPrincipalFunds) GetAmount() *v1beta1.Coin
- func (x *EventDepositPrincipalFunds) GetVaultAddress() string
- func (*EventDepositPrincipalFunds) ProtoMessage()
- func (x *EventDepositPrincipalFunds) ProtoReflect() protoreflect.Message
- func (x *EventDepositPrincipalFunds) Reset()
- func (x *EventDepositPrincipalFunds) String() string
- type EventInterestDeposit
- func (*EventInterestDeposit) Descriptor() ([]byte, []int)deprecated
- func (x *EventInterestDeposit) GetAdmin() string
- func (x *EventInterestDeposit) GetAmount() *v1beta1.Coin
- func (x *EventInterestDeposit) GetVaultAddress() string
- func (*EventInterestDeposit) ProtoMessage()
- func (x *EventInterestDeposit) ProtoReflect() protoreflect.Message
- func (x *EventInterestDeposit) Reset()
- func (x *EventInterestDeposit) String() string
- type EventInterestWithdrawal
- func (*EventInterestWithdrawal) Descriptor() ([]byte, []int)deprecated
- func (x *EventInterestWithdrawal) GetAdmin() string
- func (x *EventInterestWithdrawal) GetAmount() *v1beta1.Coin
- func (x *EventInterestWithdrawal) GetVaultAddress() string
- func (*EventInterestWithdrawal) ProtoMessage()
- func (x *EventInterestWithdrawal) ProtoReflect() protoreflect.Message
- func (x *EventInterestWithdrawal) Reset()
- func (x *EventInterestWithdrawal) String() string
- type EventMaxInterestRateUpdated
- func (*EventMaxInterestRateUpdated) Descriptor() ([]byte, []int)deprecated
- func (x *EventMaxInterestRateUpdated) GetAdmin() string
- func (x *EventMaxInterestRateUpdated) GetMaxRate() string
- func (x *EventMaxInterestRateUpdated) GetVaultAddress() string
- func (*EventMaxInterestRateUpdated) ProtoMessage()
- func (x *EventMaxInterestRateUpdated) ProtoReflect() protoreflect.Message
- func (x *EventMaxInterestRateUpdated) Reset()
- func (x *EventMaxInterestRateUpdated) String() string
- type EventMinInterestRateUpdated
- func (*EventMinInterestRateUpdated) Descriptor() ([]byte, []int)deprecated
- func (x *EventMinInterestRateUpdated) GetAdmin() string
- func (x *EventMinInterestRateUpdated) GetMinRate() string
- func (x *EventMinInterestRateUpdated) GetVaultAddress() string
- func (*EventMinInterestRateUpdated) ProtoMessage()
- func (x *EventMinInterestRateUpdated) ProtoReflect() protoreflect.Message
- func (x *EventMinInterestRateUpdated) Reset()
- func (x *EventMinInterestRateUpdated) String() string
- type EventPendingSwapOutExpedited
- func (*EventPendingSwapOutExpedited) Descriptor() ([]byte, []int)deprecated
- func (x *EventPendingSwapOutExpedited) GetAdmin() string
- func (x *EventPendingSwapOutExpedited) GetRequestId() uint64
- func (x *EventPendingSwapOutExpedited) GetVault() string
- func (*EventPendingSwapOutExpedited) ProtoMessage()
- func (x *EventPendingSwapOutExpedited) ProtoReflect() protoreflect.Message
- func (x *EventPendingSwapOutExpedited) Reset()
- func (x *EventPendingSwapOutExpedited) String() string
- type EventSwapIn
- func (*EventSwapIn) Descriptor() ([]byte, []int)deprecated
- func (x *EventSwapIn) GetAmountIn() *v1beta1.Coin
- func (x *EventSwapIn) GetOwner() string
- func (x *EventSwapIn) GetSharesReceived() *v1beta1.Coin
- func (x *EventSwapIn) GetVaultAddress() string
- func (*EventSwapIn) ProtoMessage()
- func (x *EventSwapIn) ProtoReflect() protoreflect.Message
- func (x *EventSwapIn) Reset()
- func (x *EventSwapIn) String() string
- type EventSwapOut
- func (*EventSwapOut) Descriptor() ([]byte, []int)deprecated
- func (x *EventSwapOut) GetAmountOut() *v1beta1.Coin
- func (x *EventSwapOut) GetOwner() string
- func (x *EventSwapOut) GetSharesBurned() *v1beta1.Coin
- func (x *EventSwapOut) GetVaultAddress() string
- func (*EventSwapOut) ProtoMessage()
- func (x *EventSwapOut) ProtoReflect() protoreflect.Message
- func (x *EventSwapOut) Reset()
- func (x *EventSwapOut) String() string
- type EventSwapOutCompleted
- func (*EventSwapOutCompleted) Descriptor() ([]byte, []int)deprecated
- func (x *EventSwapOutCompleted) GetAssets() *v1beta1.Coin
- func (x *EventSwapOutCompleted) GetOwner() string
- func (x *EventSwapOutCompleted) GetRequestId() uint64
- func (x *EventSwapOutCompleted) GetVaultAddress() string
- func (*EventSwapOutCompleted) ProtoMessage()
- func (x *EventSwapOutCompleted) ProtoReflect() protoreflect.Message
- func (x *EventSwapOutCompleted) Reset()
- func (x *EventSwapOutCompleted) String() string
- type EventSwapOutRefunded
- func (*EventSwapOutRefunded) Descriptor() ([]byte, []int)deprecated
- func (x *EventSwapOutRefunded) GetOwner() string
- func (x *EventSwapOutRefunded) GetReason() string
- func (x *EventSwapOutRefunded) GetRequestId() uint64
- func (x *EventSwapOutRefunded) GetShares() *v1beta1.Coin
- func (x *EventSwapOutRefunded) GetVaultAddress() string
- func (*EventSwapOutRefunded) ProtoMessage()
- func (x *EventSwapOutRefunded) ProtoReflect() protoreflect.Message
- func (x *EventSwapOutRefunded) Reset()
- func (x *EventSwapOutRefunded) String() string
- type EventSwapOutRequested
- func (*EventSwapOutRequested) Descriptor() ([]byte, []int)deprecated
- func (x *EventSwapOutRequested) GetOwner() string
- func (x *EventSwapOutRequested) GetRedeemDenom() string
- func (x *EventSwapOutRequested) GetRequestId() uint64
- func (x *EventSwapOutRequested) GetShares() *v1beta1.Coin
- func (x *EventSwapOutRequested) GetVaultAddress() string
- func (*EventSwapOutRequested) ProtoMessage()
- func (x *EventSwapOutRequested) ProtoReflect() protoreflect.Message
- func (x *EventSwapOutRequested) Reset()
- func (x *EventSwapOutRequested) String() string
- type EventToggleSwapIn
- func (*EventToggleSwapIn) Descriptor() ([]byte, []int)deprecated
- func (x *EventToggleSwapIn) GetAdmin() string
- func (x *EventToggleSwapIn) GetEnabled() bool
- func (x *EventToggleSwapIn) GetVaultAddress() string
- func (*EventToggleSwapIn) ProtoMessage()
- func (x *EventToggleSwapIn) ProtoReflect() protoreflect.Message
- func (x *EventToggleSwapIn) Reset()
- func (x *EventToggleSwapIn) String() string
- type EventToggleSwapOut
- func (*EventToggleSwapOut) Descriptor() ([]byte, []int)deprecated
- func (x *EventToggleSwapOut) GetAdmin() string
- func (x *EventToggleSwapOut) GetEnabled() bool
- func (x *EventToggleSwapOut) GetVaultAddress() string
- func (*EventToggleSwapOut) ProtoMessage()
- func (x *EventToggleSwapOut) ProtoReflect() protoreflect.Message
- func (x *EventToggleSwapOut) Reset()
- func (x *EventToggleSwapOut) String() string
- type EventVaultCreated
- func (*EventVaultCreated) Descriptor() ([]byte, []int)deprecated
- func (x *EventVaultCreated) GetAdmin() string
- func (x *EventVaultCreated) GetShareDenom() string
- func (x *EventVaultCreated) GetUnderlyingAsset() string
- func (x *EventVaultCreated) GetVaultAddress() string
- func (*EventVaultCreated) ProtoMessage()
- func (x *EventVaultCreated) ProtoReflect() protoreflect.Message
- func (x *EventVaultCreated) Reset()
- func (x *EventVaultCreated) String() string
- type EventVaultInterestChange
- func (*EventVaultInterestChange) Descriptor() ([]byte, []int)deprecated
- func (x *EventVaultInterestChange) GetCurrentRate() string
- func (x *EventVaultInterestChange) GetDesiredRate() string
- func (x *EventVaultInterestChange) GetVaultAddress() string
- func (*EventVaultInterestChange) ProtoMessage()
- func (x *EventVaultInterestChange) ProtoReflect() protoreflect.Message
- func (x *EventVaultInterestChange) Reset()
- func (x *EventVaultInterestChange) String() string
- type EventVaultPaused
- func (*EventVaultPaused) Descriptor() ([]byte, []int)deprecated
- func (x *EventVaultPaused) GetAdmin() string
- func (x *EventVaultPaused) GetReason() string
- func (x *EventVaultPaused) GetTotalVaultValue() *v1beta1.Coin
- func (x *EventVaultPaused) GetVaultAddress() string
- func (*EventVaultPaused) ProtoMessage()
- func (x *EventVaultPaused) ProtoReflect() protoreflect.Message
- func (x *EventVaultPaused) Reset()
- func (x *EventVaultPaused) String() string
- type EventVaultReconcile
- func (*EventVaultReconcile) Descriptor() ([]byte, []int)deprecated
- func (x *EventVaultReconcile) GetInterestEarned() *v1beta1.Coin
- func (x *EventVaultReconcile) GetPrincipalAfter() *v1beta1.Coin
- func (x *EventVaultReconcile) GetPrincipalBefore() *v1beta1.Coin
- func (x *EventVaultReconcile) GetRate() string
- func (x *EventVaultReconcile) GetTime() int64
- func (x *EventVaultReconcile) GetVaultAddress() string
- func (*EventVaultReconcile) ProtoMessage()
- func (x *EventVaultReconcile) ProtoReflect() protoreflect.Message
- func (x *EventVaultReconcile) Reset()
- func (x *EventVaultReconcile) String() string
- type EventVaultUnpaused
- func (*EventVaultUnpaused) Descriptor() ([]byte, []int)deprecated
- func (x *EventVaultUnpaused) GetAdmin() string
- func (x *EventVaultUnpaused) GetTotalVaultValue() *v1beta1.Coin
- func (x *EventVaultUnpaused) GetVaultAddress() string
- func (*EventVaultUnpaused) ProtoMessage()
- func (x *EventVaultUnpaused) ProtoReflect() protoreflect.Message
- func (x *EventVaultUnpaused) Reset()
- func (x *EventVaultUnpaused) String() string
- type EventWithdraw
- func (*EventWithdraw) Descriptor() ([]byte, []int)deprecated
- func (x *EventWithdraw) GetAssets() string
- func (x *EventWithdraw) GetCaller() string
- func (x *EventWithdraw) GetOwner() string
- func (x *EventWithdraw) GetReceiver() string
- func (x *EventWithdraw) GetShares() string
- func (x *EventWithdraw) GetVaultId() uint32
- func (*EventWithdraw) ProtoMessage()
- func (x *EventWithdraw) ProtoReflect() protoreflect.Message
- func (x *EventWithdraw) Reset()
- func (x *EventWithdraw) String() string
- type EventWithdrawPrincipalFunds
- func (*EventWithdrawPrincipalFunds) Descriptor() ([]byte, []int)deprecated
- func (x *EventWithdrawPrincipalFunds) GetAdmin() string
- func (x *EventWithdrawPrincipalFunds) GetAmount() *v1beta1.Coin
- func (x *EventWithdrawPrincipalFunds) GetVaultAddress() string
- func (*EventWithdrawPrincipalFunds) ProtoMessage()
- func (x *EventWithdrawPrincipalFunds) ProtoReflect() protoreflect.Message
- func (x *EventWithdrawPrincipalFunds) Reset()
- func (x *EventWithdrawPrincipalFunds) String() string
- type GenesisState
- func (*GenesisState) Descriptor() ([]byte, []int)deprecated
- func (x *GenesisState) GetPayoutTimeoutQueue() []*QueueEntry
- func (x *GenesisState) GetPendingSwapOutQueue() *PendingSwapOutQueue
- func (x *GenesisState) GetVaults() []*VaultAccount
- func (*GenesisState) ProtoMessage()
- func (x *GenesisState) ProtoReflect() protoreflect.Message
- func (x *GenesisState) Reset()
- func (x *GenesisState) String() string
- type InterestPeriod
- func (*InterestPeriod) Descriptor() ([]byte, []int)deprecated
- func (x *InterestPeriod) GetEndTime() *timestamppb.Timestamp
- func (x *InterestPeriod) GetEstimatedEndTime() *timestamppb.Timestamp
- func (x *InterestPeriod) GetEstimatedInterest() *v1beta1.Coin
- func (x *InterestPeriod) GetInterestEarned() *v1beta1.Coin
- func (x *InterestPeriod) GetPrincipal() *v1beta1.Coin
- func (x *InterestPeriod) GetRate() string
- func (x *InterestPeriod) GetStartTime() *timestamppb.Timestamp
- func (x *InterestPeriod) GetTime() int64
- func (*InterestPeriod) ProtoMessage()
- func (x *InterestPeriod) ProtoReflect() protoreflect.Message
- func (x *InterestPeriod) Reset()
- func (x *InterestPeriod) String() string
- type MsgBridgeBurnSharesRequest
- func (*MsgBridgeBurnSharesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *MsgBridgeBurnSharesRequest) GetBridge() string
- func (x *MsgBridgeBurnSharesRequest) GetShares() *v1beta1.Coin
- func (x *MsgBridgeBurnSharesRequest) GetVaultAddress() string
- func (*MsgBridgeBurnSharesRequest) ProtoMessage()
- func (x *MsgBridgeBurnSharesRequest) ProtoReflect() protoreflect.Message
- func (x *MsgBridgeBurnSharesRequest) Reset()
- func (x *MsgBridgeBurnSharesRequest) String() string
- type MsgBridgeBurnSharesResponse
- type MsgBridgeMintSharesRequest
- func (*MsgBridgeMintSharesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *MsgBridgeMintSharesRequest) GetBridge() string
- func (x *MsgBridgeMintSharesRequest) GetShares() *v1beta1.Coin
- func (x *MsgBridgeMintSharesRequest) GetVaultAddress() string
- func (*MsgBridgeMintSharesRequest) ProtoMessage()
- func (x *MsgBridgeMintSharesRequest) ProtoReflect() protoreflect.Message
- func (x *MsgBridgeMintSharesRequest) Reset()
- func (x *MsgBridgeMintSharesRequest) String() string
- type MsgBridgeMintSharesResponse
- type MsgClient
- type MsgCreateVaultRequest
- func (*MsgCreateVaultRequest) Descriptor() ([]byte, []int)deprecated
- func (x *MsgCreateVaultRequest) GetAdmin() string
- func (x *MsgCreateVaultRequest) GetPaymentDenom() string
- func (x *MsgCreateVaultRequest) GetShareDenom() string
- func (x *MsgCreateVaultRequest) GetUnderlyingAsset() string
- func (x *MsgCreateVaultRequest) GetWithdrawalDelaySeconds() uint64
- func (*MsgCreateVaultRequest) ProtoMessage()
- func (x *MsgCreateVaultRequest) ProtoReflect() protoreflect.Message
- func (x *MsgCreateVaultRequest) Reset()
- func (x *MsgCreateVaultRequest) String() string
- type MsgCreateVaultResponse
- type MsgDepositInterestFundsRequest
- func (*MsgDepositInterestFundsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *MsgDepositInterestFundsRequest) GetAdmin() string
- func (x *MsgDepositInterestFundsRequest) GetAmount() *v1beta1.Coin
- func (x *MsgDepositInterestFundsRequest) GetVaultAddress() string
- func (*MsgDepositInterestFundsRequest) ProtoMessage()
- func (x *MsgDepositInterestFundsRequest) ProtoReflect() protoreflect.Message
- func (x *MsgDepositInterestFundsRequest) Reset()
- func (x *MsgDepositInterestFundsRequest) String() string
- type MsgDepositInterestFundsResponse
- func (*MsgDepositInterestFundsResponse) Descriptor() ([]byte, []int)deprecated
- func (*MsgDepositInterestFundsResponse) ProtoMessage()
- func (x *MsgDepositInterestFundsResponse) ProtoReflect() protoreflect.Message
- func (x *MsgDepositInterestFundsResponse) Reset()
- func (x *MsgDepositInterestFundsResponse) String() string
- type MsgDepositPrincipalFundsRequest
- func (*MsgDepositPrincipalFundsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *MsgDepositPrincipalFundsRequest) GetAdmin() string
- func (x *MsgDepositPrincipalFundsRequest) GetAmount() *v1beta1.Coin
- func (x *MsgDepositPrincipalFundsRequest) GetVaultAddress() string
- func (*MsgDepositPrincipalFundsRequest) ProtoMessage()
- func (x *MsgDepositPrincipalFundsRequest) ProtoReflect() protoreflect.Message
- func (x *MsgDepositPrincipalFundsRequest) Reset()
- func (x *MsgDepositPrincipalFundsRequest) String() string
- type MsgDepositPrincipalFundsResponse
- func (*MsgDepositPrincipalFundsResponse) Descriptor() ([]byte, []int)deprecated
- func (*MsgDepositPrincipalFundsResponse) ProtoMessage()
- func (x *MsgDepositPrincipalFundsResponse) ProtoReflect() protoreflect.Message
- func (x *MsgDepositPrincipalFundsResponse) Reset()
- func (x *MsgDepositPrincipalFundsResponse) String() string
- type MsgExpeditePendingSwapOutRequest
- func (*MsgExpeditePendingSwapOutRequest) Descriptor() ([]byte, []int)deprecated
- func (x *MsgExpeditePendingSwapOutRequest) GetAdmin() string
- func (x *MsgExpeditePendingSwapOutRequest) GetRequestId() uint64
- func (*MsgExpeditePendingSwapOutRequest) ProtoMessage()
- func (x *MsgExpeditePendingSwapOutRequest) ProtoReflect() protoreflect.Message
- func (x *MsgExpeditePendingSwapOutRequest) Reset()
- func (x *MsgExpeditePendingSwapOutRequest) String() string
- type MsgExpeditePendingSwapOutResponse
- func (*MsgExpeditePendingSwapOutResponse) Descriptor() ([]byte, []int)deprecated
- func (*MsgExpeditePendingSwapOutResponse) ProtoMessage()
- func (x *MsgExpeditePendingSwapOutResponse) ProtoReflect() protoreflect.Message
- func (x *MsgExpeditePendingSwapOutResponse) Reset()
- func (x *MsgExpeditePendingSwapOutResponse) String() string
- type MsgPauseVaultRequest
- func (*MsgPauseVaultRequest) Descriptor() ([]byte, []int)deprecated
- func (x *MsgPauseVaultRequest) GetAdmin() string
- func (x *MsgPauseVaultRequest) GetReason() string
- func (x *MsgPauseVaultRequest) GetVaultAddress() string
- func (*MsgPauseVaultRequest) ProtoMessage()
- func (x *MsgPauseVaultRequest) ProtoReflect() protoreflect.Message
- func (x *MsgPauseVaultRequest) Reset()
- func (x *MsgPauseVaultRequest) String() string
- type MsgPauseVaultResponse
- type MsgServer
- type MsgSetBridgeAddressRequest
- func (*MsgSetBridgeAddressRequest) Descriptor() ([]byte, []int)deprecated
- func (x *MsgSetBridgeAddressRequest) GetAdmin() string
- func (x *MsgSetBridgeAddressRequest) GetBridgeAddress() string
- func (x *MsgSetBridgeAddressRequest) GetVaultAddress() string
- func (*MsgSetBridgeAddressRequest) ProtoMessage()
- func (x *MsgSetBridgeAddressRequest) ProtoReflect() protoreflect.Message
- func (x *MsgSetBridgeAddressRequest) Reset()
- func (x *MsgSetBridgeAddressRequest) String() string
- type MsgSetBridgeAddressResponse
- type MsgSwapInRequest
- func (*MsgSwapInRequest) Descriptor() ([]byte, []int)deprecated
- func (x *MsgSwapInRequest) GetAssets() *v1beta1.Coin
- func (x *MsgSwapInRequest) GetOwner() string
- func (x *MsgSwapInRequest) GetVaultAddress() string
- func (*MsgSwapInRequest) ProtoMessage()
- func (x *MsgSwapInRequest) ProtoReflect() protoreflect.Message
- func (x *MsgSwapInRequest) Reset()
- func (x *MsgSwapInRequest) String() string
- type MsgSwapInResponse
- type MsgSwapOutRequest
- func (*MsgSwapOutRequest) Descriptor() ([]byte, []int)deprecated
- func (x *MsgSwapOutRequest) GetAssets() *v1beta1.Coin
- func (x *MsgSwapOutRequest) GetOwner() string
- func (x *MsgSwapOutRequest) GetRedeemDenom() string
- func (x *MsgSwapOutRequest) GetVaultAddress() string
- func (*MsgSwapOutRequest) ProtoMessage()
- func (x *MsgSwapOutRequest) ProtoReflect() protoreflect.Message
- func (x *MsgSwapOutRequest) Reset()
- func (x *MsgSwapOutRequest) String() string
- type MsgSwapOutResponse
- func (*MsgSwapOutResponse) Descriptor() ([]byte, []int)deprecated
- func (x *MsgSwapOutResponse) GetRequestId() uint64
- func (*MsgSwapOutResponse) ProtoMessage()
- func (x *MsgSwapOutResponse) ProtoReflect() protoreflect.Message
- func (x *MsgSwapOutResponse) Reset()
- func (x *MsgSwapOutResponse) String() string
- type MsgToggleBridgeRequest
- func (*MsgToggleBridgeRequest) Descriptor() ([]byte, []int)deprecated
- func (x *MsgToggleBridgeRequest) GetAdmin() string
- func (x *MsgToggleBridgeRequest) GetEnabled() bool
- func (x *MsgToggleBridgeRequest) GetVaultAddress() string
- func (*MsgToggleBridgeRequest) ProtoMessage()
- func (x *MsgToggleBridgeRequest) ProtoReflect() protoreflect.Message
- func (x *MsgToggleBridgeRequest) Reset()
- func (x *MsgToggleBridgeRequest) String() string
- type MsgToggleBridgeResponse
- type MsgToggleSwapInRequest
- func (*MsgToggleSwapInRequest) Descriptor() ([]byte, []int)deprecated
- func (x *MsgToggleSwapInRequest) GetAdmin() string
- func (x *MsgToggleSwapInRequest) GetEnabled() bool
- func (x *MsgToggleSwapInRequest) GetVaultAddress() string
- func (*MsgToggleSwapInRequest) ProtoMessage()
- func (x *MsgToggleSwapInRequest) ProtoReflect() protoreflect.Message
- func (x *MsgToggleSwapInRequest) Reset()
- func (x *MsgToggleSwapInRequest) String() string
- type MsgToggleSwapInResponse
- type MsgToggleSwapOutRequest
- func (*MsgToggleSwapOutRequest) Descriptor() ([]byte, []int)deprecated
- func (x *MsgToggleSwapOutRequest) GetAdmin() string
- func (x *MsgToggleSwapOutRequest) GetEnabled() bool
- func (x *MsgToggleSwapOutRequest) GetVaultAddress() string
- func (*MsgToggleSwapOutRequest) ProtoMessage()
- func (x *MsgToggleSwapOutRequest) ProtoReflect() protoreflect.Message
- func (x *MsgToggleSwapOutRequest) Reset()
- func (x *MsgToggleSwapOutRequest) String() string
- type MsgToggleSwapOutResponse
- type MsgUnpauseVaultRequest
- func (*MsgUnpauseVaultRequest) Descriptor() ([]byte, []int)deprecated
- func (x *MsgUnpauseVaultRequest) GetAdmin() string
- func (x *MsgUnpauseVaultRequest) GetVaultAddress() string
- func (*MsgUnpauseVaultRequest) ProtoMessage()
- func (x *MsgUnpauseVaultRequest) ProtoReflect() protoreflect.Message
- func (x *MsgUnpauseVaultRequest) Reset()
- func (x *MsgUnpauseVaultRequest) String() string
- type MsgUnpauseVaultResponse
- type MsgUpdateInterestRateRequest
- func (*MsgUpdateInterestRateRequest) Descriptor() ([]byte, []int)deprecated
- func (x *MsgUpdateInterestRateRequest) GetAdmin() string
- func (x *MsgUpdateInterestRateRequest) GetNewRate() string
- func (x *MsgUpdateInterestRateRequest) GetVaultAddress() string
- func (*MsgUpdateInterestRateRequest) ProtoMessage()
- func (x *MsgUpdateInterestRateRequest) ProtoReflect() protoreflect.Message
- func (x *MsgUpdateInterestRateRequest) Reset()
- func (x *MsgUpdateInterestRateRequest) String() string
- type MsgUpdateInterestRateResponse
- func (*MsgUpdateInterestRateResponse) Descriptor() ([]byte, []int)deprecated
- func (*MsgUpdateInterestRateResponse) ProtoMessage()
- func (x *MsgUpdateInterestRateResponse) ProtoReflect() protoreflect.Message
- func (x *MsgUpdateInterestRateResponse) Reset()
- func (x *MsgUpdateInterestRateResponse) String() string
- type MsgUpdateMaxInterestRateRequest
- func (*MsgUpdateMaxInterestRateRequest) Descriptor() ([]byte, []int)deprecated
- func (x *MsgUpdateMaxInterestRateRequest) GetAdmin() string
- func (x *MsgUpdateMaxInterestRateRequest) GetMaxRate() string
- func (x *MsgUpdateMaxInterestRateRequest) GetVaultAddress() string
- func (*MsgUpdateMaxInterestRateRequest) ProtoMessage()
- func (x *MsgUpdateMaxInterestRateRequest) ProtoReflect() protoreflect.Message
- func (x *MsgUpdateMaxInterestRateRequest) Reset()
- func (x *MsgUpdateMaxInterestRateRequest) String() string
- type MsgUpdateMaxInterestRateResponse
- func (*MsgUpdateMaxInterestRateResponse) Descriptor() ([]byte, []int)deprecated
- func (*MsgUpdateMaxInterestRateResponse) ProtoMessage()
- func (x *MsgUpdateMaxInterestRateResponse) ProtoReflect() protoreflect.Message
- func (x *MsgUpdateMaxInterestRateResponse) Reset()
- func (x *MsgUpdateMaxInterestRateResponse) String() string
- type MsgUpdateMinInterestRateRequest
- func (*MsgUpdateMinInterestRateRequest) Descriptor() ([]byte, []int)deprecated
- func (x *MsgUpdateMinInterestRateRequest) GetAdmin() string
- func (x *MsgUpdateMinInterestRateRequest) GetMinRate() string
- func (x *MsgUpdateMinInterestRateRequest) GetVaultAddress() string
- func (*MsgUpdateMinInterestRateRequest) ProtoMessage()
- func (x *MsgUpdateMinInterestRateRequest) ProtoReflect() protoreflect.Message
- func (x *MsgUpdateMinInterestRateRequest) Reset()
- func (x *MsgUpdateMinInterestRateRequest) String() string
- type MsgUpdateMinInterestRateResponse
- func (*MsgUpdateMinInterestRateResponse) Descriptor() ([]byte, []int)deprecated
- func (*MsgUpdateMinInterestRateResponse) ProtoMessage()
- func (x *MsgUpdateMinInterestRateResponse) ProtoReflect() protoreflect.Message
- func (x *MsgUpdateMinInterestRateResponse) Reset()
- func (x *MsgUpdateMinInterestRateResponse) String() string
- type MsgWithdrawInterestFundsRequest
- func (*MsgWithdrawInterestFundsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *MsgWithdrawInterestFundsRequest) GetAdmin() string
- func (x *MsgWithdrawInterestFundsRequest) GetAmount() *v1beta1.Coin
- func (x *MsgWithdrawInterestFundsRequest) GetVaultAddress() string
- func (*MsgWithdrawInterestFundsRequest) ProtoMessage()
- func (x *MsgWithdrawInterestFundsRequest) ProtoReflect() protoreflect.Message
- func (x *MsgWithdrawInterestFundsRequest) Reset()
- func (x *MsgWithdrawInterestFundsRequest) String() string
- type MsgWithdrawInterestFundsResponse
- func (*MsgWithdrawInterestFundsResponse) Descriptor() ([]byte, []int)deprecated
- func (*MsgWithdrawInterestFundsResponse) ProtoMessage()
- func (x *MsgWithdrawInterestFundsResponse) ProtoReflect() protoreflect.Message
- func (x *MsgWithdrawInterestFundsResponse) Reset()
- func (x *MsgWithdrawInterestFundsResponse) String() string
- type MsgWithdrawPrincipalFundsRequest
- func (*MsgWithdrawPrincipalFundsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *MsgWithdrawPrincipalFundsRequest) GetAdmin() string
- func (x *MsgWithdrawPrincipalFundsRequest) GetAmount() *v1beta1.Coin
- func (x *MsgWithdrawPrincipalFundsRequest) GetVaultAddress() string
- func (*MsgWithdrawPrincipalFundsRequest) ProtoMessage()
- func (x *MsgWithdrawPrincipalFundsRequest) ProtoReflect() protoreflect.Message
- func (x *MsgWithdrawPrincipalFundsRequest) Reset()
- func (x *MsgWithdrawPrincipalFundsRequest) String() string
- type MsgWithdrawPrincipalFundsResponse
- func (*MsgWithdrawPrincipalFundsResponse) Descriptor() ([]byte, []int)deprecated
- func (*MsgWithdrawPrincipalFundsResponse) ProtoMessage()
- func (x *MsgWithdrawPrincipalFundsResponse) ProtoReflect() protoreflect.Message
- func (x *MsgWithdrawPrincipalFundsResponse) Reset()
- func (x *MsgWithdrawPrincipalFundsResponse) String() string
- type Params
- type PendingSwapOut
- func (*PendingSwapOut) Descriptor() ([]byte, []int)deprecated
- func (x *PendingSwapOut) GetOwner() string
- func (x *PendingSwapOut) GetRedeemDenom() string
- func (x *PendingSwapOut) GetShares() *v1beta11.Coin
- func (x *PendingSwapOut) GetVaultAddress() string
- func (*PendingSwapOut) ProtoMessage()
- func (x *PendingSwapOut) ProtoReflect() protoreflect.Message
- func (x *PendingSwapOut) Reset()
- func (x *PendingSwapOut) String() string
- type PendingSwapOutQueue
- func (*PendingSwapOutQueue) Descriptor() ([]byte, []int)deprecated
- func (x *PendingSwapOutQueue) GetEntries() []*PendingSwapOutQueueEntry
- func (x *PendingSwapOutQueue) GetLatestSequenceNumber() uint64
- func (*PendingSwapOutQueue) ProtoMessage()
- func (x *PendingSwapOutQueue) ProtoReflect() protoreflect.Message
- func (x *PendingSwapOutQueue) Reset()
- func (x *PendingSwapOutQueue) String() string
- type PendingSwapOutQueueEntry
- func (*PendingSwapOutQueueEntry) Descriptor() ([]byte, []int)deprecated
- func (x *PendingSwapOutQueueEntry) GetId() uint64
- func (x *PendingSwapOutQueueEntry) GetSwapOut() *PendingSwapOut
- func (x *PendingSwapOutQueueEntry) GetTime() int64
- func (*PendingSwapOutQueueEntry) ProtoMessage()
- func (x *PendingSwapOutQueueEntry) ProtoReflect() protoreflect.Message
- func (x *PendingSwapOutQueueEntry) Reset()
- func (x *PendingSwapOutQueueEntry) String() string
- type PendingSwapOutWithTimeout
- func (*PendingSwapOutWithTimeout) Descriptor() ([]byte, []int)deprecated
- func (x *PendingSwapOutWithTimeout) GetPendingSwapOut() *PendingSwapOut
- func (x *PendingSwapOutWithTimeout) GetRequestId() uint64
- func (x *PendingSwapOutWithTimeout) GetTimeout() *timestamppb.Timestamp
- func (*PendingSwapOutWithTimeout) ProtoMessage()
- func (x *PendingSwapOutWithTimeout) ProtoReflect() protoreflect.Message
- func (x *PendingSwapOutWithTimeout) Reset()
- func (x *PendingSwapOutWithTimeout) String() string
- type QueryClient
- type QueryEstimateSwapInRequest
- func (*QueryEstimateSwapInRequest) Descriptor() ([]byte, []int)deprecated
- func (x *QueryEstimateSwapInRequest) GetAssets() *v1beta11.Coin
- func (x *QueryEstimateSwapInRequest) GetVaultAddress() string
- func (*QueryEstimateSwapInRequest) ProtoMessage()
- func (x *QueryEstimateSwapInRequest) ProtoReflect() protoreflect.Message
- func (x *QueryEstimateSwapInRequest) Reset()
- func (x *QueryEstimateSwapInRequest) String() string
- type QueryEstimateSwapInResponse
- func (*QueryEstimateSwapInResponse) Descriptor() ([]byte, []int)deprecated
- func (x *QueryEstimateSwapInResponse) GetAssets() *v1beta11.Coin
- func (x *QueryEstimateSwapInResponse) GetHeight() int64
- func (x *QueryEstimateSwapInResponse) GetTime() *timestamppb.Timestamp
- func (*QueryEstimateSwapInResponse) ProtoMessage()
- func (x *QueryEstimateSwapInResponse) ProtoReflect() protoreflect.Message
- func (x *QueryEstimateSwapInResponse) Reset()
- func (x *QueryEstimateSwapInResponse) String() string
- type QueryEstimateSwapOutRequest
- func (*QueryEstimateSwapOutRequest) Descriptor() ([]byte, []int)deprecated
- func (x *QueryEstimateSwapOutRequest) GetRedeemDenom() string
- func (x *QueryEstimateSwapOutRequest) GetShares() string
- func (x *QueryEstimateSwapOutRequest) GetVaultAddress() string
- func (*QueryEstimateSwapOutRequest) ProtoMessage()
- func (x *QueryEstimateSwapOutRequest) ProtoReflect() protoreflect.Message
- func (x *QueryEstimateSwapOutRequest) Reset()
- func (x *QueryEstimateSwapOutRequest) String() string
- type QueryEstimateSwapOutResponse
- func (*QueryEstimateSwapOutResponse) Descriptor() ([]byte, []int)deprecated
- func (x *QueryEstimateSwapOutResponse) GetAssets() *v1beta11.Coin
- func (x *QueryEstimateSwapOutResponse) GetHeight() int64
- func (x *QueryEstimateSwapOutResponse) GetTime() *timestamppb.Timestamp
- func (*QueryEstimateSwapOutResponse) ProtoMessage()
- func (x *QueryEstimateSwapOutResponse) ProtoReflect() protoreflect.Message
- func (x *QueryEstimateSwapOutResponse) Reset()
- func (x *QueryEstimateSwapOutResponse) String() string
- type QueryPendingSwapOutsRequest
- func (*QueryPendingSwapOutsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *QueryPendingSwapOutsRequest) GetPagination() *v1beta1.PageRequest
- func (*QueryPendingSwapOutsRequest) ProtoMessage()
- func (x *QueryPendingSwapOutsRequest) ProtoReflect() protoreflect.Message
- func (x *QueryPendingSwapOutsRequest) Reset()
- func (x *QueryPendingSwapOutsRequest) String() string
- type QueryPendingSwapOutsResponse
- func (*QueryPendingSwapOutsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *QueryPendingSwapOutsResponse) GetPagination() *v1beta1.PageResponse
- func (x *QueryPendingSwapOutsResponse) GetPendingSwapOuts() []*PendingSwapOutWithTimeout
- func (*QueryPendingSwapOutsResponse) ProtoMessage()
- func (x *QueryPendingSwapOutsResponse) ProtoReflect() protoreflect.Message
- func (x *QueryPendingSwapOutsResponse) Reset()
- func (x *QueryPendingSwapOutsResponse) String() string
- type QueryServer
- type QueryVaultRequest
- type QueryVaultResponse
- func (*QueryVaultResponse) Descriptor() ([]byte, []int)deprecated
- func (x *QueryVaultResponse) GetPrincipal() *AccountBalance
- func (x *QueryVaultResponse) GetReserves() *AccountBalance
- func (x *QueryVaultResponse) GetVault() *VaultAccount
- func (*QueryVaultResponse) ProtoMessage()
- func (x *QueryVaultResponse) ProtoReflect() protoreflect.Message
- func (x *QueryVaultResponse) Reset()
- func (x *QueryVaultResponse) String() string
- type QueryVaultsRequest
- func (*QueryVaultsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *QueryVaultsRequest) GetPagination() *v1beta1.PageRequest
- func (*QueryVaultsRequest) ProtoMessage()
- func (x *QueryVaultsRequest) ProtoReflect() protoreflect.Message
- func (x *QueryVaultsRequest) Reset()
- func (x *QueryVaultsRequest) String() string
- type QueryVaultsResponse
- func (*QueryVaultsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *QueryVaultsResponse) GetPagination() *v1beta1.PageResponse
- func (x *QueryVaultsResponse) GetVaults() []*VaultAccount
- func (*QueryVaultsResponse) ProtoMessage()
- func (x *QueryVaultsResponse) ProtoReflect() protoreflect.Message
- func (x *QueryVaultsResponse) Reset()
- func (x *QueryVaultsResponse) String() string
- type QueueEntry
- type UnimplementedMsgServer
- func (UnimplementedMsgServer) BridgeBurnShares(context.Context, *MsgBridgeBurnSharesRequest) (*MsgBridgeBurnSharesResponse, error)
- func (UnimplementedMsgServer) BridgeMintShares(context.Context, *MsgBridgeMintSharesRequest) (*MsgBridgeMintSharesResponse, error)
- func (UnimplementedMsgServer) CreateVault(context.Context, *MsgCreateVaultRequest) (*MsgCreateVaultResponse, error)
- func (UnimplementedMsgServer) DepositInterestFunds(context.Context, *MsgDepositInterestFundsRequest) (*MsgDepositInterestFundsResponse, error)
- func (UnimplementedMsgServer) DepositPrincipalFunds(context.Context, *MsgDepositPrincipalFundsRequest) (*MsgDepositPrincipalFundsResponse, error)
- func (UnimplementedMsgServer) ExpeditePendingSwapOut(context.Context, *MsgExpeditePendingSwapOutRequest) (*MsgExpeditePendingSwapOutResponse, error)
- func (UnimplementedMsgServer) PauseVault(context.Context, *MsgPauseVaultRequest) (*MsgPauseVaultResponse, error)
- func (UnimplementedMsgServer) SetBridgeAddress(context.Context, *MsgSetBridgeAddressRequest) (*MsgSetBridgeAddressResponse, error)
- func (UnimplementedMsgServer) SwapIn(context.Context, *MsgSwapInRequest) (*MsgSwapInResponse, error)
- func (UnimplementedMsgServer) SwapOut(context.Context, *MsgSwapOutRequest) (*MsgSwapOutResponse, error)
- func (UnimplementedMsgServer) ToggleBridge(context.Context, *MsgToggleBridgeRequest) (*MsgToggleBridgeResponse, error)
- func (UnimplementedMsgServer) ToggleSwapIn(context.Context, *MsgToggleSwapInRequest) (*MsgToggleSwapInResponse, error)
- func (UnimplementedMsgServer) ToggleSwapOut(context.Context, *MsgToggleSwapOutRequest) (*MsgToggleSwapOutResponse, error)
- func (UnimplementedMsgServer) UnpauseVault(context.Context, *MsgUnpauseVaultRequest) (*MsgUnpauseVaultResponse, error)
- func (UnimplementedMsgServer) UpdateInterestRate(context.Context, *MsgUpdateInterestRateRequest) (*MsgUpdateInterestRateResponse, error)
- func (UnimplementedMsgServer) UpdateMaxInterestRate(context.Context, *MsgUpdateMaxInterestRateRequest) (*MsgUpdateMaxInterestRateResponse, error)
- func (UnimplementedMsgServer) UpdateMinInterestRate(context.Context, *MsgUpdateMinInterestRateRequest) (*MsgUpdateMinInterestRateResponse, error)
- func (UnimplementedMsgServer) WithdrawInterestFunds(context.Context, *MsgWithdrawInterestFundsRequest) (*MsgWithdrawInterestFundsResponse, error)
- func (UnimplementedMsgServer) WithdrawPrincipalFunds(context.Context, *MsgWithdrawPrincipalFundsRequest) (*MsgWithdrawPrincipalFundsResponse, error)
- type UnimplementedQueryServer
- func (UnimplementedQueryServer) EstimateSwapIn(context.Context, *QueryEstimateSwapInRequest) (*QueryEstimateSwapInResponse, error)
- func (UnimplementedQueryServer) EstimateSwapOut(context.Context, *QueryEstimateSwapOutRequest) (*QueryEstimateSwapOutResponse, error)
- func (UnimplementedQueryServer) PendingSwapOuts(context.Context, *QueryPendingSwapOutsRequest) (*QueryPendingSwapOutsResponse, error)
- func (UnimplementedQueryServer) Vault(context.Context, *QueryVaultRequest) (*QueryVaultResponse, error)
- func (UnimplementedQueryServer) Vaults(context.Context, *QueryVaultsRequest) (*QueryVaultsResponse, error)
- type UnsafeMsgServer
- type UnsafeQueryServer
- type VaultAccount
- func (*VaultAccount) Descriptor() ([]byte, []int)deprecated
- func (x *VaultAccount) GetAdmin() string
- func (x *VaultAccount) GetBaseAccount() *v1beta1.BaseAccount
- func (x *VaultAccount) GetBridgeAddress() string
- func (x *VaultAccount) GetBridgeEnabled() bool
- func (x *VaultAccount) GetCurrentInterestRate() string
- func (x *VaultAccount) GetDesiredInterestRate() string
- func (x *VaultAccount) GetMaxInterestRate() string
- func (x *VaultAccount) GetMinInterestRate() string
- func (x *VaultAccount) GetPaused() bool
- func (x *VaultAccount) GetPausedBalance() *v1beta11.Coin
- func (x *VaultAccount) GetPausedReason() string
- func (x *VaultAccount) GetPaymentDenom() string
- func (x *VaultAccount) GetPeriodStart() int64
- func (x *VaultAccount) GetPeriodTimeout() int64
- func (x *VaultAccount) GetSwapInEnabled() bool
- func (x *VaultAccount) GetSwapOutEnabled() bool
- func (x *VaultAccount) GetTotalShares() *v1beta11.Coin
- func (x *VaultAccount) GetUnderlyingAsset() string
- func (x *VaultAccount) GetWithdrawalDelaySeconds() uint64
- func (*VaultAccount) ProtoMessage()
- func (x *VaultAccount) ProtoReflect() protoreflect.Message
- func (x *VaultAccount) Reset()
- func (x *VaultAccount) String() string
Constants ¶
const ( Query_Vaults_FullMethodName = "/vault.v1.Query/Vaults" Query_Vault_FullMethodName = "/vault.v1.Query/Vault" Query_EstimateSwapIn_FullMethodName = "/vault.v1.Query/EstimateSwapIn" Query_EstimateSwapOut_FullMethodName = "/vault.v1.Query/EstimateSwapOut" Query_PendingSwapOuts_FullMethodName = "/vault.v1.Query/PendingSwapOuts" )
const ( Msg_CreateVault_FullMethodName = "/vault.v1.Msg/CreateVault" Msg_SwapIn_FullMethodName = "/vault.v1.Msg/SwapIn" Msg_SwapOut_FullMethodName = "/vault.v1.Msg/SwapOut" Msg_UpdateMinInterestRate_FullMethodName = "/vault.v1.Msg/UpdateMinInterestRate" Msg_UpdateMaxInterestRate_FullMethodName = "/vault.v1.Msg/UpdateMaxInterestRate" Msg_UpdateInterestRate_FullMethodName = "/vault.v1.Msg/UpdateInterestRate" Msg_ToggleSwapIn_FullMethodName = "/vault.v1.Msg/ToggleSwapIn" Msg_ToggleSwapOut_FullMethodName = "/vault.v1.Msg/ToggleSwapOut" Msg_DepositInterestFunds_FullMethodName = "/vault.v1.Msg/DepositInterestFunds" Msg_WithdrawInterestFunds_FullMethodName = "/vault.v1.Msg/WithdrawInterestFunds" Msg_DepositPrincipalFunds_FullMethodName = "/vault.v1.Msg/DepositPrincipalFunds" Msg_WithdrawPrincipalFunds_FullMethodName = "/vault.v1.Msg/WithdrawPrincipalFunds" Msg_ExpeditePendingSwapOut_FullMethodName = "/vault.v1.Msg/ExpeditePendingSwapOut" Msg_PauseVault_FullMethodName = "/vault.v1.Msg/PauseVault" Msg_UnpauseVault_FullMethodName = "/vault.v1.Msg/UnpauseVault" Msg_SetBridgeAddress_FullMethodName = "/vault.v1.Msg/SetBridgeAddress" Msg_ToggleBridge_FullMethodName = "/vault.v1.Msg/ToggleBridge" )
Variables ¶
var File_vault_v1_events_proto protoreflect.FileDescriptor
var File_vault_v1_genesis_proto protoreflect.FileDescriptor
var File_vault_v1_interest_proto protoreflect.FileDescriptor
var File_vault_v1_params_proto protoreflect.FileDescriptor
var File_vault_v1_query_proto protoreflect.FileDescriptor
var File_vault_v1_tx_proto protoreflect.FileDescriptor
var File_vault_v1_vault_proto protoreflect.FileDescriptor
var Msg_ServiceDesc = grpc.ServiceDesc{ ServiceName: "vault.v1.Msg", HandlerType: (*MsgServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "CreateVault", Handler: _Msg_CreateVault_Handler, }, { MethodName: "SwapIn", Handler: _Msg_SwapIn_Handler, }, { MethodName: "SwapOut", Handler: _Msg_SwapOut_Handler, }, { MethodName: "UpdateMinInterestRate", Handler: _Msg_UpdateMinInterestRate_Handler, }, { MethodName: "UpdateMaxInterestRate", Handler: _Msg_UpdateMaxInterestRate_Handler, }, { MethodName: "UpdateInterestRate", Handler: _Msg_UpdateInterestRate_Handler, }, { MethodName: "ToggleSwapIn", Handler: _Msg_ToggleSwapIn_Handler, }, { MethodName: "ToggleSwapOut", Handler: _Msg_ToggleSwapOut_Handler, }, { MethodName: "DepositInterestFunds", Handler: _Msg_DepositInterestFunds_Handler, }, { MethodName: "WithdrawInterestFunds", Handler: _Msg_WithdrawInterestFunds_Handler, }, { MethodName: "DepositPrincipalFunds", Handler: _Msg_DepositPrincipalFunds_Handler, }, { MethodName: "WithdrawPrincipalFunds", Handler: _Msg_WithdrawPrincipalFunds_Handler, }, { MethodName: "ExpeditePendingSwapOut", Handler: _Msg_ExpeditePendingSwapOut_Handler, }, { MethodName: "PauseVault", Handler: _Msg_PauseVault_Handler, }, { MethodName: "UnpauseVault", Handler: _Msg_UnpauseVault_Handler, }, { MethodName: "SetBridgeAddress", Handler: _Msg_SetBridgeAddress_Handler, }, { MethodName: "ToggleBridge", Handler: _Msg_ToggleBridge_Handler, }, { MethodName: "BridgeMintShares", Handler: _Msg_BridgeMintShares_Handler, }, { MethodName: "BridgeBurnShares", Handler: _Msg_BridgeBurnShares_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "vault/v1/tx.proto", }
Msg_ServiceDesc is the grpc.ServiceDesc for Msg service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var Query_ServiceDesc = grpc.ServiceDesc{ ServiceName: "vault.v1.Query", HandlerType: (*QueryServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Vaults", Handler: _Query_Vaults_Handler, }, { MethodName: "Vault", Handler: _Query_Vault_Handler, }, { MethodName: "EstimateSwapIn", Handler: _Query_EstimateSwapIn_Handler, }, { MethodName: "EstimateSwapOut", Handler: _Query_EstimateSwapOut_Handler, }, { MethodName: "PendingSwapOuts", Handler: _Query_PendingSwapOuts_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "vault/v1/query.proto", }
Query_ServiceDesc is the grpc.ServiceDesc for Query service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterMsgServer ¶
func RegisterMsgServer(s grpc.ServiceRegistrar, srv MsgServer)
func RegisterQueryServer ¶
func RegisterQueryServer(s grpc.ServiceRegistrar, srv QueryServer)
Types ¶
type AccountBalance ¶
type AccountBalance struct {
// address is the account address.
Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
// coins is the balance of the account.
Coins []*v1beta11.Coin `protobuf:"bytes,2,rep,name=coins,proto3" json:"coins,omitempty"`
// contains filtered or unexported fields
}
AccountBalance represents the coin balance of a single account.
func (*AccountBalance) Descriptor
deprecated
func (*AccountBalance) Descriptor() ([]byte, []int)
Deprecated: Use AccountBalance.ProtoReflect.Descriptor instead.
func (*AccountBalance) GetAddress ¶
func (x *AccountBalance) GetAddress() string
func (*AccountBalance) GetCoins ¶
func (x *AccountBalance) GetCoins() []*v1beta11.Coin
func (*AccountBalance) ProtoMessage ¶
func (*AccountBalance) ProtoMessage()
func (*AccountBalance) ProtoReflect ¶
func (x *AccountBalance) ProtoReflect() protoreflect.Message
func (*AccountBalance) Reset ¶
func (x *AccountBalance) Reset()
func (*AccountBalance) String ¶
func (x *AccountBalance) String() string
type EventBridgeAddressSet ¶
type EventBridgeAddressSet struct {
// vault_address is the bech32 address of the vault.
VaultAddress string `protobuf:"bytes,1,opt,name=vault_address,json=vaultAddress,proto3" json:"vault_address,omitempty"`
// admin is the address of the account that set the bridge address.
Admin string `protobuf:"bytes,2,opt,name=admin,proto3" json:"admin,omitempty"`
// bridge_address is the configured external address allowed to mint/burn shares.
BridgeAddress string `protobuf:"bytes,3,opt,name=bridge_address,json=bridgeAddress,proto3" json:"bridge_address,omitempty"`
// contains filtered or unexported fields
}
EventBridgeAddressSet is emitted when the bridge address for a vault is configured or updated.
func (*EventBridgeAddressSet) Descriptor
deprecated
func (*EventBridgeAddressSet) Descriptor() ([]byte, []int)
Deprecated: Use EventBridgeAddressSet.ProtoReflect.Descriptor instead.
func (*EventBridgeAddressSet) GetAdmin ¶
func (x *EventBridgeAddressSet) GetAdmin() string
func (*EventBridgeAddressSet) GetBridgeAddress ¶
func (x *EventBridgeAddressSet) GetBridgeAddress() string
func (*EventBridgeAddressSet) GetVaultAddress ¶
func (x *EventBridgeAddressSet) GetVaultAddress() string
func (*EventBridgeAddressSet) ProtoMessage ¶
func (*EventBridgeAddressSet) ProtoMessage()
func (*EventBridgeAddressSet) ProtoReflect ¶
func (x *EventBridgeAddressSet) ProtoReflect() protoreflect.Message
func (*EventBridgeAddressSet) Reset ¶
func (x *EventBridgeAddressSet) Reset()
func (*EventBridgeAddressSet) String ¶
func (x *EventBridgeAddressSet) String() string
type EventBridgeBurnShares ¶
type EventBridgeBurnShares struct {
VaultAddress string `protobuf:"bytes,1,opt,name=vault_address,json=vaultAddress,proto3" json:"vault_address,omitempty"`
Bridge string `protobuf:"bytes,2,opt,name=bridge,proto3" json:"bridge,omitempty"`
Shares *v1beta1.Coin `protobuf:"bytes,3,opt,name=shares,proto3" json:"shares,omitempty"`
// contains filtered or unexported fields
}
EventBridgeBurnShares is emitted when shares are burned via the bridge flow.
func (*EventBridgeBurnShares) Descriptor
deprecated
func (*EventBridgeBurnShares) Descriptor() ([]byte, []int)
Deprecated: Use EventBridgeBurnShares.ProtoReflect.Descriptor instead.
func (*EventBridgeBurnShares) GetBridge ¶
func (x *EventBridgeBurnShares) GetBridge() string
func (*EventBridgeBurnShares) GetShares ¶
func (x *EventBridgeBurnShares) GetShares() *v1beta1.Coin
func (*EventBridgeBurnShares) GetVaultAddress ¶
func (x *EventBridgeBurnShares) GetVaultAddress() string
func (*EventBridgeBurnShares) ProtoMessage ¶
func (*EventBridgeBurnShares) ProtoMessage()
func (*EventBridgeBurnShares) ProtoReflect ¶
func (x *EventBridgeBurnShares) ProtoReflect() protoreflect.Message
func (*EventBridgeBurnShares) Reset ¶
func (x *EventBridgeBurnShares) Reset()
func (*EventBridgeBurnShares) String ¶
func (x *EventBridgeBurnShares) String() string
type EventBridgeMintShares ¶
type EventBridgeMintShares struct {
VaultAddress string `protobuf:"bytes,1,opt,name=vault_address,json=vaultAddress,proto3" json:"vault_address,omitempty"`
Bridge string `protobuf:"bytes,2,opt,name=bridge,proto3" json:"bridge,omitempty"`
Shares *v1beta1.Coin `protobuf:"bytes,3,opt,name=shares,proto3" json:"shares,omitempty"`
// contains filtered or unexported fields
}
EventBridgeMintShares is emitted when shares are minted via the bridge flow.
func (*EventBridgeMintShares) Descriptor
deprecated
func (*EventBridgeMintShares) Descriptor() ([]byte, []int)
Deprecated: Use EventBridgeMintShares.ProtoReflect.Descriptor instead.
func (*EventBridgeMintShares) GetBridge ¶
func (x *EventBridgeMintShares) GetBridge() string
func (*EventBridgeMintShares) GetShares ¶
func (x *EventBridgeMintShares) GetShares() *v1beta1.Coin
func (*EventBridgeMintShares) GetVaultAddress ¶
func (x *EventBridgeMintShares) GetVaultAddress() string
func (*EventBridgeMintShares) ProtoMessage ¶
func (*EventBridgeMintShares) ProtoMessage()
func (*EventBridgeMintShares) ProtoReflect ¶
func (x *EventBridgeMintShares) ProtoReflect() protoreflect.Message
func (*EventBridgeMintShares) Reset ¶
func (x *EventBridgeMintShares) Reset()
func (*EventBridgeMintShares) String ¶
func (x *EventBridgeMintShares) String() string
type EventBridgeToggled ¶
type EventBridgeToggled struct {
// vault_address is the bech32 address of the vault.
VaultAddress string `protobuf:"bytes,1,opt,name=vault_address,json=vaultAddress,proto3" json:"vault_address,omitempty"`
// admin is the address of the account that toggled bridge functionality.
Admin string `protobuf:"bytes,2,opt,name=admin,proto3" json:"admin,omitempty"`
// enabled is the new state of the bridge functionality.
Enabled bool `protobuf:"varint,3,opt,name=enabled,proto3" json:"enabled,omitempty"`
// contains filtered or unexported fields
}
EventBridgeToggled is emitted when the bridge functionality is enabled or disabled for a vault.
func (*EventBridgeToggled) Descriptor
deprecated
func (*EventBridgeToggled) Descriptor() ([]byte, []int)
Deprecated: Use EventBridgeToggled.ProtoReflect.Descriptor instead.
func (*EventBridgeToggled) GetAdmin ¶
func (x *EventBridgeToggled) GetAdmin() string
func (*EventBridgeToggled) GetEnabled ¶
func (x *EventBridgeToggled) GetEnabled() bool
func (*EventBridgeToggled) GetVaultAddress ¶
func (x *EventBridgeToggled) GetVaultAddress() string
func (*EventBridgeToggled) ProtoMessage ¶
func (*EventBridgeToggled) ProtoMessage()
func (*EventBridgeToggled) ProtoReflect ¶
func (x *EventBridgeToggled) ProtoReflect() protoreflect.Message
func (*EventBridgeToggled) Reset ¶
func (x *EventBridgeToggled) Reset()
func (*EventBridgeToggled) String ¶
func (x *EventBridgeToggled) String() string
type EventDeposit ¶
type EventDeposit struct {
// caller is the address of the account that initiated the deposit.
Caller string `protobuf:"bytes,1,opt,name=caller,proto3" json:"caller,omitempty"`
// owner is the address of the account that will receive the minted shares.
Owner string `protobuf:"bytes,2,opt,name=owner,proto3" json:"owner,omitempty"`
// assets is the coins amount string of the underlying assets that were deposited.
Assets string `protobuf:"bytes,3,opt,name=assets,proto3" json:"assets,omitempty"`
Shares string `protobuf:"bytes,4,opt,name=shares,proto3" json:"shares,omitempty"`
// vault_id is the numerical identifier of the vault.
VaultId uint32 `protobuf:"varint,5,opt,name=vault_id,json=vaultId,proto3" json:"vault_id,omitempty"`
// contains filtered or unexported fields
}
EventDeposit is an event emitted when assets are deposited into a vault.
func (*EventDeposit) Descriptor
deprecated
func (*EventDeposit) Descriptor() ([]byte, []int)
Deprecated: Use EventDeposit.ProtoReflect.Descriptor instead.
func (*EventDeposit) GetAssets ¶
func (x *EventDeposit) GetAssets() string
func (*EventDeposit) GetCaller ¶
func (x *EventDeposit) GetCaller() string
func (*EventDeposit) GetOwner ¶
func (x *EventDeposit) GetOwner() string
func (*EventDeposit) GetShares ¶
func (x *EventDeposit) GetShares() string
func (*EventDeposit) GetVaultId ¶
func (x *EventDeposit) GetVaultId() uint32
func (*EventDeposit) ProtoMessage ¶
func (*EventDeposit) ProtoMessage()
func (*EventDeposit) ProtoReflect ¶
func (x *EventDeposit) ProtoReflect() protoreflect.Message
func (*EventDeposit) Reset ¶
func (x *EventDeposit) Reset()
func (*EventDeposit) String ¶
func (x *EventDeposit) String() string
type EventDepositPrincipalFunds ¶
type EventDepositPrincipalFunds struct {
// vault_address is the bech32 address of the vault.
VaultAddress string `protobuf:"bytes,1,opt,name=vault_address,json=vaultAddress,proto3" json:"vault_address,omitempty"`
// admin is the address of the account that deposited the funds.
Admin string `protobuf:"bytes,2,opt,name=admin,proto3" json:"admin,omitempty"`
// amount is the amount of funds deposited.
Amount *v1beta1.Coin `protobuf:"bytes,3,opt,name=amount,proto3" json:"amount,omitempty"`
// contains filtered or unexported fields
}
EventDepositPrincipalFunds is an event emitted when principal funds are deposited by the admin.
func (*EventDepositPrincipalFunds) Descriptor
deprecated
func (*EventDepositPrincipalFunds) Descriptor() ([]byte, []int)
Deprecated: Use EventDepositPrincipalFunds.ProtoReflect.Descriptor instead.
func (*EventDepositPrincipalFunds) GetAdmin ¶
func (x *EventDepositPrincipalFunds) GetAdmin() string
func (*EventDepositPrincipalFunds) GetAmount ¶
func (x *EventDepositPrincipalFunds) GetAmount() *v1beta1.Coin
func (*EventDepositPrincipalFunds) GetVaultAddress ¶
func (x *EventDepositPrincipalFunds) GetVaultAddress() string
func (*EventDepositPrincipalFunds) ProtoMessage ¶
func (*EventDepositPrincipalFunds) ProtoMessage()
func (*EventDepositPrincipalFunds) ProtoReflect ¶
func (x *EventDepositPrincipalFunds) ProtoReflect() protoreflect.Message
func (*EventDepositPrincipalFunds) Reset ¶
func (x *EventDepositPrincipalFunds) Reset()
func (*EventDepositPrincipalFunds) String ¶
func (x *EventDepositPrincipalFunds) String() string
type EventInterestDeposit ¶
type EventInterestDeposit struct {
// vault_address is the bech32 address of the vault.
VaultAddress string `protobuf:"bytes,1,opt,name=vault_address,json=vaultAddress,proto3" json:"vault_address,omitempty"`
// admin is the address of the account that deposited the funds.
Admin string `protobuf:"bytes,2,opt,name=admin,proto3" json:"admin,omitempty"`
// amount is the amount of funds deposited.
Amount *v1beta1.Coin `protobuf:"bytes,3,opt,name=amount,proto3" json:"amount,omitempty"`
// contains filtered or unexported fields
}
EventInterestDeposit is an event emitted when funds are deposited for paying interest.
func (*EventInterestDeposit) Descriptor
deprecated
func (*EventInterestDeposit) Descriptor() ([]byte, []int)
Deprecated: Use EventInterestDeposit.ProtoReflect.Descriptor instead.
func (*EventInterestDeposit) GetAdmin ¶
func (x *EventInterestDeposit) GetAdmin() string
func (*EventInterestDeposit) GetAmount ¶
func (x *EventInterestDeposit) GetAmount() *v1beta1.Coin
func (*EventInterestDeposit) GetVaultAddress ¶
func (x *EventInterestDeposit) GetVaultAddress() string
func (*EventInterestDeposit) ProtoMessage ¶
func (*EventInterestDeposit) ProtoMessage()
func (*EventInterestDeposit) ProtoReflect ¶
func (x *EventInterestDeposit) ProtoReflect() protoreflect.Message
func (*EventInterestDeposit) Reset ¶
func (x *EventInterestDeposit) Reset()
func (*EventInterestDeposit) String ¶
func (x *EventInterestDeposit) String() string
type EventInterestWithdrawal ¶
type EventInterestWithdrawal struct {
// vault_address is the bech32 address of the vault.
VaultAddress string `protobuf:"bytes,1,opt,name=vault_address,json=vaultAddress,proto3" json:"vault_address,omitempty"`
// admin is the address of the account that withdrew the funds.
Admin string `protobuf:"bytes,2,opt,name=admin,proto3" json:"admin,omitempty"`
// amount is the amount of funds withdrawn.
Amount *v1beta1.Coin `protobuf:"bytes,3,opt,name=amount,proto3" json:"amount,omitempty"`
// contains filtered or unexported fields
}
EventInterestWithdrawal is an event emitted when unused interest funds are withdrawn.
func (*EventInterestWithdrawal) Descriptor
deprecated
func (*EventInterestWithdrawal) Descriptor() ([]byte, []int)
Deprecated: Use EventInterestWithdrawal.ProtoReflect.Descriptor instead.
func (*EventInterestWithdrawal) GetAdmin ¶
func (x *EventInterestWithdrawal) GetAdmin() string
func (*EventInterestWithdrawal) GetAmount ¶
func (x *EventInterestWithdrawal) GetAmount() *v1beta1.Coin
func (*EventInterestWithdrawal) GetVaultAddress ¶
func (x *EventInterestWithdrawal) GetVaultAddress() string
func (*EventInterestWithdrawal) ProtoMessage ¶
func (*EventInterestWithdrawal) ProtoMessage()
func (*EventInterestWithdrawal) ProtoReflect ¶
func (x *EventInterestWithdrawal) ProtoReflect() protoreflect.Message
func (*EventInterestWithdrawal) Reset ¶
func (x *EventInterestWithdrawal) Reset()
func (*EventInterestWithdrawal) String ¶
func (x *EventInterestWithdrawal) String() string
type EventMaxInterestRateUpdated ¶
type EventMaxInterestRateUpdated struct {
// vault_address is the bech32 address of the vault.
VaultAddress string `protobuf:"bytes,1,opt,name=vault_address,json=vaultAddress,proto3" json:"vault_address,omitempty"`
// admin is the address of the account that updated the limit.
Admin string `protobuf:"bytes,2,opt,name=admin,proto3" json:"admin,omitempty"`
// max_rate is the newly set maximum annual interest rate as a decimal string (e.g., "0.9" for 90% and "0.9001353" for 90.01353%).
// An empty string "" represents no maximum.
MaxRate string `protobuf:"bytes,3,opt,name=max_rate,json=maxRate,proto3" json:"max_rate,omitempty"`
// contains filtered or unexported fields
}
EventMaxInterestRateUpdated is emitted when the maximum interest rate is updated.
func (*EventMaxInterestRateUpdated) Descriptor
deprecated
func (*EventMaxInterestRateUpdated) Descriptor() ([]byte, []int)
Deprecated: Use EventMaxInterestRateUpdated.ProtoReflect.Descriptor instead.
func (*EventMaxInterestRateUpdated) GetAdmin ¶
func (x *EventMaxInterestRateUpdated) GetAdmin() string
func (*EventMaxInterestRateUpdated) GetMaxRate ¶
func (x *EventMaxInterestRateUpdated) GetMaxRate() string
func (*EventMaxInterestRateUpdated) GetVaultAddress ¶
func (x *EventMaxInterestRateUpdated) GetVaultAddress() string
func (*EventMaxInterestRateUpdated) ProtoMessage ¶
func (*EventMaxInterestRateUpdated) ProtoMessage()
func (*EventMaxInterestRateUpdated) ProtoReflect ¶
func (x *EventMaxInterestRateUpdated) ProtoReflect() protoreflect.Message
func (*EventMaxInterestRateUpdated) Reset ¶
func (x *EventMaxInterestRateUpdated) Reset()
func (*EventMaxInterestRateUpdated) String ¶
func (x *EventMaxInterestRateUpdated) String() string
type EventMinInterestRateUpdated ¶
type EventMinInterestRateUpdated struct {
// vault_address is the bech32 address of the vault.
VaultAddress string `protobuf:"bytes,1,opt,name=vault_address,json=vaultAddress,proto3" json:"vault_address,omitempty"`
// admin is the address of the account that updated the limit.
Admin string `protobuf:"bytes,2,opt,name=admin,proto3" json:"admin,omitempty"`
// min_rate is the newly set minimum annual interest rate as a decimal string (e.g., "0.9" for 90% and "0.9001353" for 90.01353%).
// An empty string "" represents no minimum.
MinRate string `protobuf:"bytes,3,opt,name=min_rate,json=minRate,proto3" json:"min_rate,omitempty"`
// contains filtered or unexported fields
}
EventMinInterestRateUpdated is emitted when the minimum interest rate is updated.
func (*EventMinInterestRateUpdated) Descriptor
deprecated
func (*EventMinInterestRateUpdated) Descriptor() ([]byte, []int)
Deprecated: Use EventMinInterestRateUpdated.ProtoReflect.Descriptor instead.
func (*EventMinInterestRateUpdated) GetAdmin ¶
func (x *EventMinInterestRateUpdated) GetAdmin() string
func (*EventMinInterestRateUpdated) GetMinRate ¶
func (x *EventMinInterestRateUpdated) GetMinRate() string
func (*EventMinInterestRateUpdated) GetVaultAddress ¶
func (x *EventMinInterestRateUpdated) GetVaultAddress() string
func (*EventMinInterestRateUpdated) ProtoMessage ¶
func (*EventMinInterestRateUpdated) ProtoMessage()
func (*EventMinInterestRateUpdated) ProtoReflect ¶
func (x *EventMinInterestRateUpdated) ProtoReflect() protoreflect.Message
func (*EventMinInterestRateUpdated) Reset ¶
func (x *EventMinInterestRateUpdated) Reset()
func (*EventMinInterestRateUpdated) String ¶
func (x *EventMinInterestRateUpdated) String() string
type EventPendingSwapOutExpedited ¶
type EventPendingSwapOutExpedited struct {
// request_id is the numerical identifier of the pending swap-out.
RequestId uint64 `protobuf:"varint,1,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
// vault is the bech32 address of the vault.
Vault string `protobuf:"bytes,2,opt,name=vault,proto3" json:"vault,omitempty"`
// admin is the address of the account that expedited the swap-out.
Admin string `protobuf:"bytes,3,opt,name=admin,proto3" json:"admin,omitempty"`
// contains filtered or unexported fields
}
EventPendingSwapOutExpedited is an event emitted when a pending swap-out is expedited by the admin.
func (*EventPendingSwapOutExpedited) Descriptor
deprecated
func (*EventPendingSwapOutExpedited) Descriptor() ([]byte, []int)
Deprecated: Use EventPendingSwapOutExpedited.ProtoReflect.Descriptor instead.
func (*EventPendingSwapOutExpedited) GetAdmin ¶
func (x *EventPendingSwapOutExpedited) GetAdmin() string
func (*EventPendingSwapOutExpedited) GetRequestId ¶
func (x *EventPendingSwapOutExpedited) GetRequestId() uint64
func (*EventPendingSwapOutExpedited) GetVault ¶
func (x *EventPendingSwapOutExpedited) GetVault() string
func (*EventPendingSwapOutExpedited) ProtoMessage ¶
func (*EventPendingSwapOutExpedited) ProtoMessage()
func (*EventPendingSwapOutExpedited) ProtoReflect ¶
func (x *EventPendingSwapOutExpedited) ProtoReflect() protoreflect.Message
func (*EventPendingSwapOutExpedited) Reset ¶
func (x *EventPendingSwapOutExpedited) Reset()
func (*EventPendingSwapOutExpedited) String ¶
func (x *EventPendingSwapOutExpedited) String() string
type EventSwapIn ¶
type EventSwapIn struct {
// owner is the address of the account that initiated the swap.
Owner string `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty"`
// amount_in is the amount of underlying assets that were swapped in.
AmountIn *v1beta1.Coin `protobuf:"bytes,2,opt,name=amount_in,json=amountIn,proto3" json:"amount_in,omitempty"`
SharesReceived *v1beta1.Coin `protobuf:"bytes,3,opt,name=shares_received,json=sharesReceived,proto3" json:"shares_received,omitempty"`
// vault_address is the bech32 address of the vault.
VaultAddress string `protobuf:"bytes,4,opt,name=vault_address,json=vaultAddress,proto3" json:"vault_address,omitempty"`
// contains filtered or unexported fields
}
EventSwapIn is an event emitted when assets are swapped in for vault shares.
func (*EventSwapIn) Descriptor
deprecated
func (*EventSwapIn) Descriptor() ([]byte, []int)
Deprecated: Use EventSwapIn.ProtoReflect.Descriptor instead.
func (*EventSwapIn) GetAmountIn ¶
func (x *EventSwapIn) GetAmountIn() *v1beta1.Coin
func (*EventSwapIn) GetOwner ¶
func (x *EventSwapIn) GetOwner() string
func (*EventSwapIn) GetSharesReceived ¶
func (x *EventSwapIn) GetSharesReceived() *v1beta1.Coin
func (*EventSwapIn) GetVaultAddress ¶
func (x *EventSwapIn) GetVaultAddress() string
func (*EventSwapIn) ProtoMessage ¶
func (*EventSwapIn) ProtoMessage()
func (*EventSwapIn) ProtoReflect ¶
func (x *EventSwapIn) ProtoReflect() protoreflect.Message
func (*EventSwapIn) Reset ¶
func (x *EventSwapIn) Reset()
func (*EventSwapIn) String ¶
func (x *EventSwapIn) String() string
type EventSwapOut ¶
type EventSwapOut struct {
// owner is the address of the account that initiated the swap.
Owner string `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty"`
SharesBurned *v1beta1.Coin `protobuf:"bytes,2,opt,name=shares_burned,json=sharesBurned,proto3" json:"shares_burned,omitempty"`
// amount_out is the amount of underlying assets that were sent to the recipient.
AmountOut *v1beta1.Coin `protobuf:"bytes,3,opt,name=amount_out,json=amountOut,proto3" json:"amount_out,omitempty"`
// vault_address is the bech32 address of the vault.
VaultAddress string `protobuf:"bytes,4,opt,name=vault_address,json=vaultAddress,proto3" json:"vault_address,omitempty"`
// contains filtered or unexported fields
}
EventSwapOut is an event emitted when vault shares are swapped out for underlying assets.
func (*EventSwapOut) Descriptor
deprecated
func (*EventSwapOut) Descriptor() ([]byte, []int)
Deprecated: Use EventSwapOut.ProtoReflect.Descriptor instead.
func (*EventSwapOut) GetAmountOut ¶
func (x *EventSwapOut) GetAmountOut() *v1beta1.Coin
func (*EventSwapOut) GetOwner ¶
func (x *EventSwapOut) GetOwner() string
func (*EventSwapOut) GetSharesBurned ¶
func (x *EventSwapOut) GetSharesBurned() *v1beta1.Coin
func (*EventSwapOut) GetVaultAddress ¶
func (x *EventSwapOut) GetVaultAddress() string
func (*EventSwapOut) ProtoMessage ¶
func (*EventSwapOut) ProtoMessage()
func (*EventSwapOut) ProtoReflect ¶
func (x *EventSwapOut) ProtoReflect() protoreflect.Message
func (*EventSwapOut) Reset ¶
func (x *EventSwapOut) Reset()
func (*EventSwapOut) String ¶
func (x *EventSwapOut) String() string
type EventSwapOutCompleted ¶
type EventSwapOutCompleted struct {
// vault_address is the bech32 address of the vault.
VaultAddress string `protobuf:"bytes,1,opt,name=vault_address,json=vaultAddress,proto3" json:"vault_address,omitempty"`
// owner is the bech32 address of the user who received the payout.
Owner string `protobuf:"bytes,2,opt,name=owner,proto3" json:"owner,omitempty"`
// assets is the amount of assets paid out to the user.
Assets *v1beta1.Coin `protobuf:"bytes,3,opt,name=assets,proto3" json:"assets,omitempty"`
// request_id is the unique identifier of the swap out request that was completed.
RequestId uint64 `protobuf:"varint,4,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
// contains filtered or unexported fields
}
EventSwapOutCompleted is emitted when a pending swap out is successfully processed.
func (*EventSwapOutCompleted) Descriptor
deprecated
func (*EventSwapOutCompleted) Descriptor() ([]byte, []int)
Deprecated: Use EventSwapOutCompleted.ProtoReflect.Descriptor instead.
func (*EventSwapOutCompleted) GetAssets ¶
func (x *EventSwapOutCompleted) GetAssets() *v1beta1.Coin
func (*EventSwapOutCompleted) GetOwner ¶
func (x *EventSwapOutCompleted) GetOwner() string
func (*EventSwapOutCompleted) GetRequestId ¶
func (x *EventSwapOutCompleted) GetRequestId() uint64
func (*EventSwapOutCompleted) GetVaultAddress ¶
func (x *EventSwapOutCompleted) GetVaultAddress() string
func (*EventSwapOutCompleted) ProtoMessage ¶
func (*EventSwapOutCompleted) ProtoMessage()
func (*EventSwapOutCompleted) ProtoReflect ¶
func (x *EventSwapOutCompleted) ProtoReflect() protoreflect.Message
func (*EventSwapOutCompleted) Reset ¶
func (x *EventSwapOutCompleted) Reset()
func (*EventSwapOutCompleted) String ¶
func (x *EventSwapOutCompleted) String() string
type EventSwapOutRefunded ¶
type EventSwapOutRefunded struct {
// vault_address is the bech32 address of the vault.
VaultAddress string `protobuf:"bytes,1,opt,name=vault_address,json=vaultAddress,proto3" json:"vault_address,omitempty"`
// owner is the bech32 address of the user whose shares were refunded.
Owner string `protobuf:"bytes,2,opt,name=owner,proto3" json:"owner,omitempty"`
Shares *v1beta1.Coin `protobuf:"bytes,3,opt,name=shares,proto3" json:"shares,omitempty"`
// request_id is the unique identifier of the swap out request that failed.
RequestId uint64 `protobuf:"varint,4,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
// reason is a string detailing why the swap out failed.
Reason string `protobuf:"bytes,5,opt,name=reason,proto3" json:"reason,omitempty"`
// contains filtered or unexported fields
}
EventSwapOutRefunded is emitted when a pending swap out fails and the user's escrowed shares are returned.
func (*EventSwapOutRefunded) Descriptor
deprecated
func (*EventSwapOutRefunded) Descriptor() ([]byte, []int)
Deprecated: Use EventSwapOutRefunded.ProtoReflect.Descriptor instead.
func (*EventSwapOutRefunded) GetOwner ¶
func (x *EventSwapOutRefunded) GetOwner() string
func (*EventSwapOutRefunded) GetReason ¶
func (x *EventSwapOutRefunded) GetReason() string
func (*EventSwapOutRefunded) GetRequestId ¶
func (x *EventSwapOutRefunded) GetRequestId() uint64
func (*EventSwapOutRefunded) GetShares ¶
func (x *EventSwapOutRefunded) GetShares() *v1beta1.Coin
func (*EventSwapOutRefunded) GetVaultAddress ¶
func (x *EventSwapOutRefunded) GetVaultAddress() string
func (*EventSwapOutRefunded) ProtoMessage ¶
func (*EventSwapOutRefunded) ProtoMessage()
func (*EventSwapOutRefunded) ProtoReflect ¶
func (x *EventSwapOutRefunded) ProtoReflect() protoreflect.Message
func (*EventSwapOutRefunded) Reset ¶
func (x *EventSwapOutRefunded) Reset()
func (*EventSwapOutRefunded) String ¶
func (x *EventSwapOutRefunded) String() string
type EventSwapOutRequested ¶
type EventSwapOutRequested struct {
// vault_address is the bech32 address of the vault.
VaultAddress string `protobuf:"bytes,1,opt,name=vault_address,json=vaultAddress,proto3" json:"vault_address,omitempty"`
// owner is the bech32 address of the user who initiated the swap out.
Owner string `protobuf:"bytes,2,opt,name=owner,proto3" json:"owner,omitempty"`
// redeem_denom is the denomination of the asset to be redeemed.
RedeemDenom string `protobuf:"bytes,3,opt,name=redeem_denom,json=redeemDenom,proto3" json:"redeem_denom,omitempty"`
Shares *v1beta1.Coin `protobuf:"bytes,4,opt,name=shares,proto3" json:"shares,omitempty"`
// request_id is the unique identifier for this pending swap out request.
RequestId uint64 `protobuf:"varint,5,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
// contains filtered or unexported fields
}
EventSwapOutRequested is emitted when a user successfully queues a swap out.
func (*EventSwapOutRequested) Descriptor
deprecated
func (*EventSwapOutRequested) Descriptor() ([]byte, []int)
Deprecated: Use EventSwapOutRequested.ProtoReflect.Descriptor instead.
func (*EventSwapOutRequested) GetOwner ¶
func (x *EventSwapOutRequested) GetOwner() string
func (*EventSwapOutRequested) GetRedeemDenom ¶
func (x *EventSwapOutRequested) GetRedeemDenom() string
func (*EventSwapOutRequested) GetRequestId ¶
func (x *EventSwapOutRequested) GetRequestId() uint64
func (*EventSwapOutRequested) GetShares ¶
func (x *EventSwapOutRequested) GetShares() *v1beta1.Coin
func (*EventSwapOutRequested) GetVaultAddress ¶
func (x *EventSwapOutRequested) GetVaultAddress() string
func (*EventSwapOutRequested) ProtoMessage ¶
func (*EventSwapOutRequested) ProtoMessage()
func (*EventSwapOutRequested) ProtoReflect ¶
func (x *EventSwapOutRequested) ProtoReflect() protoreflect.Message
func (*EventSwapOutRequested) Reset ¶
func (x *EventSwapOutRequested) Reset()
func (*EventSwapOutRequested) String ¶
func (x *EventSwapOutRequested) String() string
type EventToggleSwapIn ¶
type EventToggleSwapIn struct {
// vault_address is the bech32 address of the vault.
VaultAddress string `protobuf:"bytes,1,opt,name=vault_address,json=vaultAddress,proto3" json:"vault_address,omitempty"`
// admin is the address of the account that toggled the swap-in operations.
Admin string `protobuf:"bytes,2,opt,name=admin,proto3" json:"admin,omitempty"`
// enabled is the new state of swap-in operations.
Enabled bool `protobuf:"varint,3,opt,name=enabled,proto3" json:"enabled,omitempty"`
// contains filtered or unexported fields
}
EventToggleSwapIn is an event emitted when swap-in operations are enabled or disabled for a vault.
func (*EventToggleSwapIn) Descriptor
deprecated
func (*EventToggleSwapIn) Descriptor() ([]byte, []int)
Deprecated: Use EventToggleSwapIn.ProtoReflect.Descriptor instead.
func (*EventToggleSwapIn) GetAdmin ¶
func (x *EventToggleSwapIn) GetAdmin() string
func (*EventToggleSwapIn) GetEnabled ¶
func (x *EventToggleSwapIn) GetEnabled() bool
func (*EventToggleSwapIn) GetVaultAddress ¶
func (x *EventToggleSwapIn) GetVaultAddress() string
func (*EventToggleSwapIn) ProtoMessage ¶
func (*EventToggleSwapIn) ProtoMessage()
func (*EventToggleSwapIn) ProtoReflect ¶
func (x *EventToggleSwapIn) ProtoReflect() protoreflect.Message
func (*EventToggleSwapIn) Reset ¶
func (x *EventToggleSwapIn) Reset()
func (*EventToggleSwapIn) String ¶
func (x *EventToggleSwapIn) String() string
type EventToggleSwapOut ¶
type EventToggleSwapOut struct {
// vault_address is the bech32 address of the vault.
VaultAddress string `protobuf:"bytes,1,opt,name=vault_address,json=vaultAddress,proto3" json:"vault_address,omitempty"`
// admin is the address of the account that toggled the swap-out operations.
Admin string `protobuf:"bytes,2,opt,name=admin,proto3" json:"admin,omitempty"`
// enabled is the new state of swap-out operations.
Enabled bool `protobuf:"varint,3,opt,name=enabled,proto3" json:"enabled,omitempty"`
// contains filtered or unexported fields
}
EventToggleSwapOut is an event emitted when swap-out operations are enabled or disabled for a vault.
func (*EventToggleSwapOut) Descriptor
deprecated
func (*EventToggleSwapOut) Descriptor() ([]byte, []int)
Deprecated: Use EventToggleSwapOut.ProtoReflect.Descriptor instead.
func (*EventToggleSwapOut) GetAdmin ¶
func (x *EventToggleSwapOut) GetAdmin() string
func (*EventToggleSwapOut) GetEnabled ¶
func (x *EventToggleSwapOut) GetEnabled() bool
func (*EventToggleSwapOut) GetVaultAddress ¶
func (x *EventToggleSwapOut) GetVaultAddress() string
func (*EventToggleSwapOut) ProtoMessage ¶
func (*EventToggleSwapOut) ProtoMessage()
func (*EventToggleSwapOut) ProtoReflect ¶
func (x *EventToggleSwapOut) ProtoReflect() protoreflect.Message
func (*EventToggleSwapOut) Reset ¶
func (x *EventToggleSwapOut) Reset()
func (*EventToggleSwapOut) String ¶
func (x *EventToggleSwapOut) String() string
type EventVaultCreated ¶
type EventVaultCreated struct {
// vault_address is the bech32 address of the vault.
VaultAddress string `protobuf:"bytes,1,opt,name=vault_address,json=vaultAddress,proto3" json:"vault_address,omitempty"`
// admin is the address of the account that manages the vault.
Admin string `protobuf:"bytes,2,opt,name=admin,proto3" json:"admin,omitempty"`
ShareDenom string `protobuf:"bytes,3,opt,name=share_denom,json=shareDenom,proto3" json:"share_denom,omitempty"`
// underlying_asset is the vault’s primary collateral and valuation/base denomination.
UnderlyingAsset string `protobuf:"bytes,4,opt,name=underlying_asset,json=underlyingAsset,proto3" json:"underlying_asset,omitempty"`
// contains filtered or unexported fields
}
EventVaultCreated is an event emitted when a vault is created.
func (*EventVaultCreated) Descriptor
deprecated
func (*EventVaultCreated) Descriptor() ([]byte, []int)
Deprecated: Use EventVaultCreated.ProtoReflect.Descriptor instead.
func (*EventVaultCreated) GetAdmin ¶
func (x *EventVaultCreated) GetAdmin() string
func (*EventVaultCreated) GetShareDenom ¶
func (x *EventVaultCreated) GetShareDenom() string
func (*EventVaultCreated) GetUnderlyingAsset ¶
func (x *EventVaultCreated) GetUnderlyingAsset() string
func (*EventVaultCreated) GetVaultAddress ¶
func (x *EventVaultCreated) GetVaultAddress() string
func (*EventVaultCreated) ProtoMessage ¶
func (*EventVaultCreated) ProtoMessage()
func (*EventVaultCreated) ProtoReflect ¶
func (x *EventVaultCreated) ProtoReflect() protoreflect.Message
func (*EventVaultCreated) Reset ¶
func (x *EventVaultCreated) Reset()
func (*EventVaultCreated) String ¶
func (x *EventVaultCreated) String() string
type EventVaultInterestChange ¶
type EventVaultInterestChange struct {
// vault_address is the bech32 address of the vault.
VaultAddress string `protobuf:"bytes,1,opt,name=vault_address,json=vaultAddress,proto3" json:"vault_address,omitempty"`
// current_rate is a decimal string (e.g., "0.9" for 90% and "0.9001353" for 90.01353%) representing the actual annual interest rate the vault is using.
CurrentRate string `protobuf:"bytes,2,opt,name=current_rate,json=currentRate,proto3" json:"current_rate,omitempty"`
// desired_rate is a decimal string (e.g., "0.9" for 90% and "0.9001353" for 90.01353%) representing the the annual interest rate the admin wants to use.
DesiredRate string `protobuf:"bytes,3,opt,name=desired_rate,json=desiredRate,proto3" json:"desired_rate,omitempty"`
// contains filtered or unexported fields
}
EventVaultInterestChange is an event emitted when a vault's interest rate is changed.
func (*EventVaultInterestChange) Descriptor
deprecated
func (*EventVaultInterestChange) Descriptor() ([]byte, []int)
Deprecated: Use EventVaultInterestChange.ProtoReflect.Descriptor instead.
func (*EventVaultInterestChange) GetCurrentRate ¶
func (x *EventVaultInterestChange) GetCurrentRate() string
func (*EventVaultInterestChange) GetDesiredRate ¶
func (x *EventVaultInterestChange) GetDesiredRate() string
func (*EventVaultInterestChange) GetVaultAddress ¶
func (x *EventVaultInterestChange) GetVaultAddress() string
func (*EventVaultInterestChange) ProtoMessage ¶
func (*EventVaultInterestChange) ProtoMessage()
func (*EventVaultInterestChange) ProtoReflect ¶
func (x *EventVaultInterestChange) ProtoReflect() protoreflect.Message
func (*EventVaultInterestChange) Reset ¶
func (x *EventVaultInterestChange) Reset()
func (*EventVaultInterestChange) String ¶
func (x *EventVaultInterestChange) String() string
type EventVaultPaused ¶
type EventVaultPaused struct {
// vault_address is the bech32 address of the vault.
VaultAddress string `protobuf:"bytes,1,opt,name=vault_address,json=vaultAddress,proto3" json:"vault_address,omitempty"`
// admin is the address of the account that paused the vault.
Admin string `protobuf:"bytes,2,opt,name=admin,proto3" json:"admin,omitempty"`
// reason is the reason for pausing the vault.
Reason string `protobuf:"bytes,3,opt,name=reason,proto3" json:"reason,omitempty"`
// total_vault_value is the total value of the vault's assets at the time of pausing.
TotalVaultValue *v1beta1.Coin `protobuf:"bytes,4,opt,name=total_vault_value,json=totalVaultValue,proto3" json:"total_vault_value,omitempty"`
// contains filtered or unexported fields
}
EventVaultPaused is emitted when a vault is paused.
func (*EventVaultPaused) Descriptor
deprecated
func (*EventVaultPaused) Descriptor() ([]byte, []int)
Deprecated: Use EventVaultPaused.ProtoReflect.Descriptor instead.
func (*EventVaultPaused) GetAdmin ¶
func (x *EventVaultPaused) GetAdmin() string
func (*EventVaultPaused) GetReason ¶
func (x *EventVaultPaused) GetReason() string
func (*EventVaultPaused) GetTotalVaultValue ¶
func (x *EventVaultPaused) GetTotalVaultValue() *v1beta1.Coin
func (*EventVaultPaused) GetVaultAddress ¶
func (x *EventVaultPaused) GetVaultAddress() string
func (*EventVaultPaused) ProtoMessage ¶
func (*EventVaultPaused) ProtoMessage()
func (*EventVaultPaused) ProtoReflect ¶
func (x *EventVaultPaused) ProtoReflect() protoreflect.Message
func (*EventVaultPaused) Reset ¶
func (x *EventVaultPaused) Reset()
func (*EventVaultPaused) String ¶
func (x *EventVaultPaused) String() string
type EventVaultReconcile ¶
type EventVaultReconcile struct {
// vault_address is the bech32 address of the vault.
VaultAddress string `protobuf:"bytes,1,opt,name=vault_address,json=vaultAddress,proto3" json:"vault_address,omitempty"`
// principal_before is the principal amount before applying interest.
PrincipalBefore *v1beta1.Coin `protobuf:"bytes,2,opt,name=principal_before,json=principalBefore,proto3" json:"principal_before,omitempty"`
// principal_after is the principal amount after applying interest.
PrincipalAfter *v1beta1.Coin `protobuf:"bytes,3,opt,name=principal_after,json=principalAfter,proto3" json:"principal_after,omitempty"`
// rate is a decimal string (e.g., "0.9" for 90% and "0.9001353" for 90.01353%) representing annual interest rate for the period.
Rate string `protobuf:"bytes,4,opt,name=rate,proto3" json:"rate,omitempty"`
// time is the payout duration in seconds.
Time int64 `protobuf:"varint,5,opt,name=time,proto3" json:"time,omitempty"`
// interest_earned is the interest amount (can be positive or negative).
InterestEarned *v1beta1.Coin `protobuf:"bytes,6,opt,name=interest_earned,json=interestEarned,proto3" json:"interest_earned,omitempty"`
// contains filtered or unexported fields
}
EventVaultReconcile is an event emitted when a vault's interest is reconciled.
func (*EventVaultReconcile) Descriptor
deprecated
func (*EventVaultReconcile) Descriptor() ([]byte, []int)
Deprecated: Use EventVaultReconcile.ProtoReflect.Descriptor instead.
func (*EventVaultReconcile) GetInterestEarned ¶
func (x *EventVaultReconcile) GetInterestEarned() *v1beta1.Coin
func (*EventVaultReconcile) GetPrincipalAfter ¶
func (x *EventVaultReconcile) GetPrincipalAfter() *v1beta1.Coin
func (*EventVaultReconcile) GetPrincipalBefore ¶
func (x *EventVaultReconcile) GetPrincipalBefore() *v1beta1.Coin
func (*EventVaultReconcile) GetRate ¶
func (x *EventVaultReconcile) GetRate() string
func (*EventVaultReconcile) GetTime ¶
func (x *EventVaultReconcile) GetTime() int64
func (*EventVaultReconcile) GetVaultAddress ¶
func (x *EventVaultReconcile) GetVaultAddress() string
func (*EventVaultReconcile) ProtoMessage ¶
func (*EventVaultReconcile) ProtoMessage()
func (*EventVaultReconcile) ProtoReflect ¶
func (x *EventVaultReconcile) ProtoReflect() protoreflect.Message
func (*EventVaultReconcile) Reset ¶
func (x *EventVaultReconcile) Reset()
func (*EventVaultReconcile) String ¶
func (x *EventVaultReconcile) String() string
type EventVaultUnpaused ¶
type EventVaultUnpaused struct {
// vault_address is the bech32 address of the vault.
VaultAddress string `protobuf:"bytes,1,opt,name=vault_address,json=vaultAddress,proto3" json:"vault_address,omitempty"`
// admin is the address of the account that unpaused the vault.
Admin string `protobuf:"bytes,2,opt,name=admin,proto3" json:"admin,omitempty"`
// total_vault_value is the new total value of the vault's assets at the time of unpausing.
TotalVaultValue *v1beta1.Coin `protobuf:"bytes,3,opt,name=total_vault_value,json=totalVaultValue,proto3" json:"total_vault_value,omitempty"`
// contains filtered or unexported fields
}
EventVaultUnpaused is emitted when a vault is unpaused.
func (*EventVaultUnpaused) Descriptor
deprecated
func (*EventVaultUnpaused) Descriptor() ([]byte, []int)
Deprecated: Use EventVaultUnpaused.ProtoReflect.Descriptor instead.
func (*EventVaultUnpaused) GetAdmin ¶
func (x *EventVaultUnpaused) GetAdmin() string
func (*EventVaultUnpaused) GetTotalVaultValue ¶
func (x *EventVaultUnpaused) GetTotalVaultValue() *v1beta1.Coin
func (*EventVaultUnpaused) GetVaultAddress ¶
func (x *EventVaultUnpaused) GetVaultAddress() string
func (*EventVaultUnpaused) ProtoMessage ¶
func (*EventVaultUnpaused) ProtoMessage()
func (*EventVaultUnpaused) ProtoReflect ¶
func (x *EventVaultUnpaused) ProtoReflect() protoreflect.Message
func (*EventVaultUnpaused) Reset ¶
func (x *EventVaultUnpaused) Reset()
func (*EventVaultUnpaused) String ¶
func (x *EventVaultUnpaused) String() string
type EventWithdraw ¶
type EventWithdraw struct {
// caller is the address of the account that initiated the withdrawal.
Caller string `protobuf:"bytes,1,opt,name=caller,proto3" json:"caller,omitempty"`
// receiver is the address of the account that will receive the underlying assets.
Receiver string `protobuf:"bytes,2,opt,name=receiver,proto3" json:"receiver,omitempty"`
// owner is the address of the account from which the shares were burned.
Owner string `protobuf:"bytes,3,opt,name=owner,proto3" json:"owner,omitempty"`
// assets is the coins amount string of the underlying assets that were withdrawn.
Assets string `protobuf:"bytes,4,opt,name=assets,proto3" json:"assets,omitempty"`
Shares string `protobuf:"bytes,5,opt,name=shares,proto3" json:"shares,omitempty"`
// vault_id is the numerical identifier of the vault.
VaultId uint32 `protobuf:"varint,6,opt,name=vault_id,json=vaultId,proto3" json:"vault_id,omitempty"`
// contains filtered or unexported fields
}
EventWithdraw is an event emitted when assets are withdrawn from a vault.
func (*EventWithdraw) Descriptor
deprecated
func (*EventWithdraw) Descriptor() ([]byte, []int)
Deprecated: Use EventWithdraw.ProtoReflect.Descriptor instead.
func (*EventWithdraw) GetAssets ¶
func (x *EventWithdraw) GetAssets() string
func (*EventWithdraw) GetCaller ¶
func (x *EventWithdraw) GetCaller() string
func (*EventWithdraw) GetOwner ¶
func (x *EventWithdraw) GetOwner() string
func (*EventWithdraw) GetReceiver ¶
func (x *EventWithdraw) GetReceiver() string
func (*EventWithdraw) GetShares ¶
func (x *EventWithdraw) GetShares() string
func (*EventWithdraw) GetVaultId ¶
func (x *EventWithdraw) GetVaultId() uint32
func (*EventWithdraw) ProtoMessage ¶
func (*EventWithdraw) ProtoMessage()
func (*EventWithdraw) ProtoReflect ¶
func (x *EventWithdraw) ProtoReflect() protoreflect.Message
func (*EventWithdraw) Reset ¶
func (x *EventWithdraw) Reset()
func (*EventWithdraw) String ¶
func (x *EventWithdraw) String() string
type EventWithdrawPrincipalFunds ¶
type EventWithdrawPrincipalFunds struct {
// vault_address is the bech32 address of the vault.
VaultAddress string `protobuf:"bytes,1,opt,name=vault_address,json=vaultAddress,proto3" json:"vault_address,omitempty"`
// admin is the address of the account that withdrew the funds.
Admin string `protobuf:"bytes,2,opt,name=admin,proto3" json:"admin,omitempty"`
// amount is the amount of funds withdrawn.
Amount *v1beta1.Coin `protobuf:"bytes,3,opt,name=amount,proto3" json:"amount,omitempty"`
// contains filtered or unexported fields
}
EventWithdrawPrincipalFunds is an event emitted when principal funds are withdrawn by the admin.
func (*EventWithdrawPrincipalFunds) Descriptor
deprecated
func (*EventWithdrawPrincipalFunds) Descriptor() ([]byte, []int)
Deprecated: Use EventWithdrawPrincipalFunds.ProtoReflect.Descriptor instead.
func (*EventWithdrawPrincipalFunds) GetAdmin ¶
func (x *EventWithdrawPrincipalFunds) GetAdmin() string
func (*EventWithdrawPrincipalFunds) GetAmount ¶
func (x *EventWithdrawPrincipalFunds) GetAmount() *v1beta1.Coin
func (*EventWithdrawPrincipalFunds) GetVaultAddress ¶
func (x *EventWithdrawPrincipalFunds) GetVaultAddress() string
func (*EventWithdrawPrincipalFunds) ProtoMessage ¶
func (*EventWithdrawPrincipalFunds) ProtoMessage()
func (*EventWithdrawPrincipalFunds) ProtoReflect ¶
func (x *EventWithdrawPrincipalFunds) ProtoReflect() protoreflect.Message
func (*EventWithdrawPrincipalFunds) Reset ¶
func (x *EventWithdrawPrincipalFunds) Reset()
func (*EventWithdrawPrincipalFunds) String ¶
func (x *EventWithdrawPrincipalFunds) String() string
type GenesisState ¶
type GenesisState struct {
// vaults defines the vaults that exist at genesis.
Vaults []*VaultAccount `protobuf:"bytes,1,rep,name=vaults,proto3" json:"vaults,omitempty"`
// payout_timeout_queue contains (time, addr) entries for vaults that are
// temporarily deferred from automatic payout/interest verification until the
// given UNIX timestamp (seconds). These entries are re-enqueued on InitGenesis.
PayoutTimeoutQueue []*QueueEntry `protobuf:"bytes,2,rep,name=payout_timeout_queue,json=payoutTimeoutQueue,proto3" json:"payout_timeout_queue,omitempty"`
// pending_swap_out_queue contains entries for pending swap outs.
PendingSwapOutQueue *PendingSwapOutQueue `protobuf:"bytes,3,opt,name=pending_swap_out_queue,json=pendingSwapOutQueue,proto3" json:"pending_swap_out_queue,omitempty"`
// contains filtered or unexported fields
}
GenesisState defines the vault module's genesis state. NOTE: payout verification queue is not imported or exported. It will always be empty after endblocker processes it.
func (*GenesisState) Descriptor
deprecated
func (*GenesisState) Descriptor() ([]byte, []int)
Deprecated: Use GenesisState.ProtoReflect.Descriptor instead.
func (*GenesisState) GetPayoutTimeoutQueue ¶
func (x *GenesisState) GetPayoutTimeoutQueue() []*QueueEntry
func (*GenesisState) GetPendingSwapOutQueue ¶
func (x *GenesisState) GetPendingSwapOutQueue() *PendingSwapOutQueue
func (*GenesisState) GetVaults ¶
func (x *GenesisState) GetVaults() []*VaultAccount
func (*GenesisState) ProtoMessage ¶
func (*GenesisState) ProtoMessage()
func (*GenesisState) ProtoReflect ¶
func (x *GenesisState) ProtoReflect() protoreflect.Message
func (*GenesisState) Reset ¶
func (x *GenesisState) Reset()
func (*GenesisState) String ¶
func (x *GenesisState) String() string
type InterestPeriod ¶
type InterestPeriod struct {
// principal is the initial amount of principal.
Principal *v1beta1.Coin `protobuf:"bytes,1,opt,name=principal,proto3" json:"principal,omitempty"`
// rate is the interest rate for the period.
Rate string `protobuf:"bytes,2,opt,name=rate,proto3" json:"rate,omitempty"`
// time is the payout time in seconds.
Time int64 `protobuf:"varint,3,opt,name=time,proto3" json:"time,omitempty"`
// start_time is the time when the interest period started.
StartTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"`
// estimated_end_time is the estimated time when the interest period will end.
EstimatedEndTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=estimated_end_time,json=estimatedEndTime,proto3" json:"estimated_end_time,omitempty"`
// estimated_interest is the amount of estimated interest that will be earned from this period.
EstimatedInterest *v1beta1.Coin `protobuf:"bytes,6,opt,name=estimated_interest,json=estimatedInterest,proto3" json:"estimated_interest,omitempty"`
// end_time is the time when the interest period will end.
EndTime *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"`
// interest_earned is the amount of interest earned in the period.
InterestEarned *v1beta1.Coin `protobuf:"bytes,8,opt,name=interest_earned,json=interestEarned,proto3" json:"interest_earned,omitempty"`
// contains filtered or unexported fields
}
func (*InterestPeriod) Descriptor
deprecated
func (*InterestPeriod) Descriptor() ([]byte, []int)
Deprecated: Use InterestPeriod.ProtoReflect.Descriptor instead.
func (*InterestPeriod) GetEndTime ¶
func (x *InterestPeriod) GetEndTime() *timestamppb.Timestamp
func (*InterestPeriod) GetEstimatedEndTime ¶
func (x *InterestPeriod) GetEstimatedEndTime() *timestamppb.Timestamp
func (*InterestPeriod) GetEstimatedInterest ¶
func (x *InterestPeriod) GetEstimatedInterest() *v1beta1.Coin
func (*InterestPeriod) GetInterestEarned ¶
func (x *InterestPeriod) GetInterestEarned() *v1beta1.Coin
func (*InterestPeriod) GetPrincipal ¶
func (x *InterestPeriod) GetPrincipal() *v1beta1.Coin
func (*InterestPeriod) GetRate ¶
func (x *InterestPeriod) GetRate() string
func (*InterestPeriod) GetStartTime ¶
func (x *InterestPeriod) GetStartTime() *timestamppb.Timestamp
func (*InterestPeriod) GetTime ¶
func (x *InterestPeriod) GetTime() int64
func (*InterestPeriod) ProtoMessage ¶
func (*InterestPeriod) ProtoMessage()
func (*InterestPeriod) ProtoReflect ¶
func (x *InterestPeriod) ProtoReflect() protoreflect.Message
func (*InterestPeriod) Reset ¶
func (x *InterestPeriod) Reset()
func (*InterestPeriod) String ¶
func (x *InterestPeriod) String() string
type MsgBridgeBurnSharesRequest ¶
type MsgBridgeBurnSharesRequest struct {
Bridge string `protobuf:"bytes,1,opt,name=bridge,proto3" json:"bridge,omitempty"`
VaultAddress string `protobuf:"bytes,2,opt,name=vault_address,json=vaultAddress,proto3" json:"vault_address,omitempty"`
Shares *v1beta1.Coin `protobuf:"bytes,3,opt,name=shares,proto3" json:"shares,omitempty"`
// contains filtered or unexported fields
}
MsgBridgeBurnSharesRequest is the request message for burning local share marker supply; must be signed by the configured bridge address.
func (*MsgBridgeBurnSharesRequest) Descriptor
deprecated
func (*MsgBridgeBurnSharesRequest) Descriptor() ([]byte, []int)
Deprecated: Use MsgBridgeBurnSharesRequest.ProtoReflect.Descriptor instead.
func (*MsgBridgeBurnSharesRequest) GetBridge ¶
func (x *MsgBridgeBurnSharesRequest) GetBridge() string
func (*MsgBridgeBurnSharesRequest) GetShares ¶
func (x *MsgBridgeBurnSharesRequest) GetShares() *v1beta1.Coin
func (*MsgBridgeBurnSharesRequest) GetVaultAddress ¶
func (x *MsgBridgeBurnSharesRequest) GetVaultAddress() string
func (*MsgBridgeBurnSharesRequest) ProtoMessage ¶
func (*MsgBridgeBurnSharesRequest) ProtoMessage()
func (*MsgBridgeBurnSharesRequest) ProtoReflect ¶
func (x *MsgBridgeBurnSharesRequest) ProtoReflect() protoreflect.Message
func (*MsgBridgeBurnSharesRequest) Reset ¶
func (x *MsgBridgeBurnSharesRequest) Reset()
func (*MsgBridgeBurnSharesRequest) String ¶
func (x *MsgBridgeBurnSharesRequest) String() string
type MsgBridgeBurnSharesResponse ¶
type MsgBridgeBurnSharesResponse struct {
// contains filtered or unexported fields
}
MsgBridgeBurnSharesResponse is the response message for the BridgeBurnShares endpoint.
func (*MsgBridgeBurnSharesResponse) Descriptor
deprecated
func (*MsgBridgeBurnSharesResponse) Descriptor() ([]byte, []int)
Deprecated: Use MsgBridgeBurnSharesResponse.ProtoReflect.Descriptor instead.
func (*MsgBridgeBurnSharesResponse) ProtoMessage ¶
func (*MsgBridgeBurnSharesResponse) ProtoMessage()
func (*MsgBridgeBurnSharesResponse) ProtoReflect ¶
func (x *MsgBridgeBurnSharesResponse) ProtoReflect() protoreflect.Message
func (*MsgBridgeBurnSharesResponse) Reset ¶
func (x *MsgBridgeBurnSharesResponse) Reset()
func (*MsgBridgeBurnSharesResponse) String ¶
func (x *MsgBridgeBurnSharesResponse) String() string
type MsgBridgeMintSharesRequest ¶
type MsgBridgeMintSharesRequest struct {
Bridge string `protobuf:"bytes,1,opt,name=bridge,proto3" json:"bridge,omitempty"`
VaultAddress string `protobuf:"bytes,2,opt,name=vault_address,json=vaultAddress,proto3" json:"vault_address,omitempty"`
Shares *v1beta1.Coin `protobuf:"bytes,3,opt,name=shares,proto3" json:"shares,omitempty"`
// contains filtered or unexported fields
}
MsgBridgeMintSharesRequest is the request message for minting local share marker supply; must be signed by the configured bridge address.
func (*MsgBridgeMintSharesRequest) Descriptor
deprecated
func (*MsgBridgeMintSharesRequest) Descriptor() ([]byte, []int)
Deprecated: Use MsgBridgeMintSharesRequest.ProtoReflect.Descriptor instead.
func (*MsgBridgeMintSharesRequest) GetBridge ¶
func (x *MsgBridgeMintSharesRequest) GetBridge() string
func (*MsgBridgeMintSharesRequest) GetShares ¶
func (x *MsgBridgeMintSharesRequest) GetShares() *v1beta1.Coin
func (*MsgBridgeMintSharesRequest) GetVaultAddress ¶
func (x *MsgBridgeMintSharesRequest) GetVaultAddress() string
func (*MsgBridgeMintSharesRequest) ProtoMessage ¶
func (*MsgBridgeMintSharesRequest) ProtoMessage()
func (*MsgBridgeMintSharesRequest) ProtoReflect ¶
func (x *MsgBridgeMintSharesRequest) ProtoReflect() protoreflect.Message
func (*MsgBridgeMintSharesRequest) Reset ¶
func (x *MsgBridgeMintSharesRequest) Reset()
func (*MsgBridgeMintSharesRequest) String ¶
func (x *MsgBridgeMintSharesRequest) String() string
type MsgBridgeMintSharesResponse ¶
type MsgBridgeMintSharesResponse struct {
// contains filtered or unexported fields
}
MsgBridgeMintSharesResponse is the response message for the BridgeMintShares endpoint.
func (*MsgBridgeMintSharesResponse) Descriptor
deprecated
func (*MsgBridgeMintSharesResponse) Descriptor() ([]byte, []int)
Deprecated: Use MsgBridgeMintSharesResponse.ProtoReflect.Descriptor instead.
func (*MsgBridgeMintSharesResponse) ProtoMessage ¶
func (*MsgBridgeMintSharesResponse) ProtoMessage()
func (*MsgBridgeMintSharesResponse) ProtoReflect ¶
func (x *MsgBridgeMintSharesResponse) ProtoReflect() protoreflect.Message
func (*MsgBridgeMintSharesResponse) Reset ¶
func (x *MsgBridgeMintSharesResponse) Reset()
func (*MsgBridgeMintSharesResponse) String ¶
func (x *MsgBridgeMintSharesResponse) String() string
type MsgClient ¶
type MsgClient interface {
// CreateVault creates a new vault.
CreateVault(ctx context.Context, in *MsgCreateVaultRequest, opts ...grpc.CallOption) (*MsgCreateVaultResponse, error)
// SwapIn exchanges underlying assets for vault shares by depositing them into a vault.
SwapIn(ctx context.Context, in *MsgSwapInRequest, opts ...grpc.CallOption) (*MsgSwapInResponse, error)
// SwapOut exchanges vault shares for underlying assets by withdrawing from a vault.
SwapOut(ctx context.Context, in *MsgSwapOutRequest, opts ...grpc.CallOption) (*MsgSwapOutResponse, error)
// UpdateMinInterestRate sets the minimum allowed annual interest rate for a vault.
UpdateMinInterestRate(ctx context.Context, in *MsgUpdateMinInterestRateRequest, opts ...grpc.CallOption) (*MsgUpdateMinInterestRateResponse, error)
// UpdateMaxInterestRate sets the maximum allowed annual interest rate for a vault.
UpdateMaxInterestRate(ctx context.Context, in *MsgUpdateMaxInterestRateRequest, opts ...grpc.CallOption) (*MsgUpdateMaxInterestRateResponse, error)
// UpdateInterestRate allows the interest admin to update the current annual interest rate within limits.
UpdateInterestRate(ctx context.Context, in *MsgUpdateInterestRateRequest, opts ...grpc.CallOption) (*MsgUpdateInterestRateResponse, error)
// ToggleSwapIn allows enabling or disabling swap-in operations for a vault.
ToggleSwapIn(ctx context.Context, in *MsgToggleSwapInRequest, opts ...grpc.CallOption) (*MsgToggleSwapInResponse, error)
// ToggleSwapOut allows enabling or disabling swap-out operations for a vault.
ToggleSwapOut(ctx context.Context, in *MsgToggleSwapOutRequest, opts ...grpc.CallOption) (*MsgToggleSwapOutResponse, error)
// DepositInterestFunds allows depositing funds into the vault for paying interest.
DepositInterestFunds(ctx context.Context, in *MsgDepositInterestFundsRequest, opts ...grpc.CallOption) (*MsgDepositInterestFundsResponse, error)
// WithdrawInterestFunds allows withdrawing unused interest funds (admin only).
WithdrawInterestFunds(ctx context.Context, in *MsgWithdrawInterestFundsRequest, opts ...grpc.CallOption) (*MsgWithdrawInterestFundsResponse, error)
// DepositPrincipalFunds allows depositing principal funds into a vault.
DepositPrincipalFunds(ctx context.Context, in *MsgDepositPrincipalFundsRequest, opts ...grpc.CallOption) (*MsgDepositPrincipalFundsResponse, error)
// WithdrawPrincipalFunds allows withdrawing principal funds from a vault.
WithdrawPrincipalFunds(ctx context.Context, in *MsgWithdrawPrincipalFundsRequest, opts ...grpc.CallOption) (*MsgWithdrawPrincipalFundsResponse, error)
// ExpeditePendingSwapOut expedites a pending swap out from a vault.
ExpeditePendingSwapOut(ctx context.Context, in *MsgExpeditePendingSwapOutRequest, opts ...grpc.CallOption) (*MsgExpeditePendingSwapOutResponse, error)
PauseVault(ctx context.Context, in *MsgPauseVaultRequest, opts ...grpc.CallOption) (*MsgPauseVaultResponse, error)
UnpauseVault(ctx context.Context, in *MsgUnpauseVaultRequest, opts ...grpc.CallOption) (*MsgUnpauseVaultResponse, error)
// SetBridgeAddress sets the single external bridge address allowed to mint or burn shares for a vault.
SetBridgeAddress(ctx context.Context, in *MsgSetBridgeAddressRequest, opts ...grpc.CallOption) (*MsgSetBridgeAddressResponse, error)
// ToggleBridge enables or disables the bridge functionality for a vault.
ToggleBridge(ctx context.Context, in *MsgToggleBridgeRequest, opts ...grpc.CallOption) (*MsgToggleBridgeResponse, error)
BridgeMintShares(ctx context.Context, in *MsgBridgeMintSharesRequest, opts ...grpc.CallOption) (*MsgBridgeMintSharesResponse, error)
BridgeBurnShares(ctx context.Context, in *MsgBridgeBurnSharesRequest, opts ...grpc.CallOption) (*MsgBridgeBurnSharesResponse, error)
}
MsgClient is the client API for Msg service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
Msg is the service for the vault module's tx endpoints.
func NewMsgClient ¶
func NewMsgClient(cc grpc.ClientConnInterface) MsgClient
type MsgCreateVaultRequest ¶
type MsgCreateVaultRequest struct {
// admin is the creator and initial administrator of the vault.
Admin string `protobuf:"bytes,1,opt,name=admin,proto3" json:"admin,omitempty"`
ShareDenom string `protobuf:"bytes,2,opt,name=share_denom,json=shareDenom,proto3" json:"share_denom,omitempty"`
// underlying_asset is the denomination of the asset supported by the vault.
UnderlyingAsset string `protobuf:"bytes,3,opt,name=underlying_asset,json=underlyingAsset,proto3" json:"underlying_asset,omitempty"`
// payment_denom is an optional secondary denomination the vault can accept.
PaymentDenom string `protobuf:"bytes,4,opt,name=payment_denom,json=paymentDenom,proto3" json:"payment_denom,omitempty"`
// withdrawal_delay_seconds is the time period (in seconds) that a withdrawal
// must wait in the pending queue before being processed.
WithdrawalDelaySeconds uint64 `` /* 130-byte string literal not displayed */
// contains filtered or unexported fields
}
MsgCreateVaultRequest is the request message for the CreateVault endpoint.
func (*MsgCreateVaultRequest) Descriptor
deprecated
func (*MsgCreateVaultRequest) Descriptor() ([]byte, []int)
Deprecated: Use MsgCreateVaultRequest.ProtoReflect.Descriptor instead.
func (*MsgCreateVaultRequest) GetAdmin ¶
func (x *MsgCreateVaultRequest) GetAdmin() string
func (*MsgCreateVaultRequest) GetPaymentDenom ¶
func (x *MsgCreateVaultRequest) GetPaymentDenom() string
func (*MsgCreateVaultRequest) GetShareDenom ¶
func (x *MsgCreateVaultRequest) GetShareDenom() string
func (*MsgCreateVaultRequest) GetUnderlyingAsset ¶
func (x *MsgCreateVaultRequest) GetUnderlyingAsset() string
func (*MsgCreateVaultRequest) GetWithdrawalDelaySeconds ¶
func (x *MsgCreateVaultRequest) GetWithdrawalDelaySeconds() uint64
func (*MsgCreateVaultRequest) ProtoMessage ¶
func (*MsgCreateVaultRequest) ProtoMessage()
func (*MsgCreateVaultRequest) ProtoReflect ¶
func (x *MsgCreateVaultRequest) ProtoReflect() protoreflect.Message
func (*MsgCreateVaultRequest) Reset ¶
func (x *MsgCreateVaultRequest) Reset()
func (*MsgCreateVaultRequest) String ¶
func (x *MsgCreateVaultRequest) String() string
type MsgCreateVaultResponse ¶
type MsgCreateVaultResponse struct {
// contains filtered or unexported fields
}
MsgCreateVaultResponse is the response message for the CreateVault endpoint.
func (*MsgCreateVaultResponse) Descriptor
deprecated
func (*MsgCreateVaultResponse) Descriptor() ([]byte, []int)
Deprecated: Use MsgCreateVaultResponse.ProtoReflect.Descriptor instead.
func (*MsgCreateVaultResponse) ProtoMessage ¶
func (*MsgCreateVaultResponse) ProtoMessage()
func (*MsgCreateVaultResponse) ProtoReflect ¶
func (x *MsgCreateVaultResponse) ProtoReflect() protoreflect.Message
func (*MsgCreateVaultResponse) Reset ¶
func (x *MsgCreateVaultResponse) Reset()
func (*MsgCreateVaultResponse) String ¶
func (x *MsgCreateVaultResponse) String() string
type MsgDepositInterestFundsRequest ¶
type MsgDepositInterestFundsRequest struct {
// admin is the address of the account depositing the funds.
Admin string `protobuf:"bytes,1,opt,name=admin,proto3" json:"admin,omitempty"`
// vault_address is the bech32 address of the vault to which funds are being deposited.
VaultAddress string `protobuf:"bytes,2,opt,name=vault_address,json=vaultAddress,proto3" json:"vault_address,omitempty"`
// amount is the amount of funds to deposit.
Amount *v1beta1.Coin `protobuf:"bytes,3,opt,name=amount,proto3" json:"amount,omitempty"`
// contains filtered or unexported fields
}
MsgDepositInterestFundsRequest is the request message for depositing funds to be used for paying interest.
func (*MsgDepositInterestFundsRequest) Descriptor
deprecated
func (*MsgDepositInterestFundsRequest) Descriptor() ([]byte, []int)
Deprecated: Use MsgDepositInterestFundsRequest.ProtoReflect.Descriptor instead.
func (*MsgDepositInterestFundsRequest) GetAdmin ¶
func (x *MsgDepositInterestFundsRequest) GetAdmin() string
func (*MsgDepositInterestFundsRequest) GetAmount ¶
func (x *MsgDepositInterestFundsRequest) GetAmount() *v1beta1.Coin
func (*MsgDepositInterestFundsRequest) GetVaultAddress ¶
func (x *MsgDepositInterestFundsRequest) GetVaultAddress() string
func (*MsgDepositInterestFundsRequest) ProtoMessage ¶
func (*MsgDepositInterestFundsRequest) ProtoMessage()
func (*MsgDepositInterestFundsRequest) ProtoReflect ¶
func (x *MsgDepositInterestFundsRequest) ProtoReflect() protoreflect.Message
func (*MsgDepositInterestFundsRequest) Reset ¶
func (x *MsgDepositInterestFundsRequest) Reset()
func (*MsgDepositInterestFundsRequest) String ¶
func (x *MsgDepositInterestFundsRequest) String() string
type MsgDepositInterestFundsResponse ¶
type MsgDepositInterestFundsResponse struct {
// contains filtered or unexported fields
}
MsgDepositInterestFundsResponse is the response message for the DepositInterestFunds endpoint.
func (*MsgDepositInterestFundsResponse) Descriptor
deprecated
func (*MsgDepositInterestFundsResponse) Descriptor() ([]byte, []int)
Deprecated: Use MsgDepositInterestFundsResponse.ProtoReflect.Descriptor instead.
func (*MsgDepositInterestFundsResponse) ProtoMessage ¶
func (*MsgDepositInterestFundsResponse) ProtoMessage()
func (*MsgDepositInterestFundsResponse) ProtoReflect ¶
func (x *MsgDepositInterestFundsResponse) ProtoReflect() protoreflect.Message
func (*MsgDepositInterestFundsResponse) Reset ¶
func (x *MsgDepositInterestFundsResponse) Reset()
func (*MsgDepositInterestFundsResponse) String ¶
func (x *MsgDepositInterestFundsResponse) String() string
type MsgDepositPrincipalFundsRequest ¶
type MsgDepositPrincipalFundsRequest struct {
// admin is the address of the account depositing the funds.
Admin string `protobuf:"bytes,1,opt,name=admin,proto3" json:"admin,omitempty"`
// vault_address is the bech32 address of the vault to which funds are being deposited.
VaultAddress string `protobuf:"bytes,2,opt,name=vault_address,json=vaultAddress,proto3" json:"vault_address,omitempty"`
// amount is the amount of funds to deposit.
Amount *v1beta1.Coin `protobuf:"bytes,3,opt,name=amount,proto3" json:"amount,omitempty"`
// contains filtered or unexported fields
}
MsgDepositPrincipalFundsRequest is the request message for depositing principal funds into a vault.
func (*MsgDepositPrincipalFundsRequest) Descriptor
deprecated
func (*MsgDepositPrincipalFundsRequest) Descriptor() ([]byte, []int)
Deprecated: Use MsgDepositPrincipalFundsRequest.ProtoReflect.Descriptor instead.
func (*MsgDepositPrincipalFundsRequest) GetAdmin ¶
func (x *MsgDepositPrincipalFundsRequest) GetAdmin() string
func (*MsgDepositPrincipalFundsRequest) GetAmount ¶
func (x *MsgDepositPrincipalFundsRequest) GetAmount() *v1beta1.Coin
func (*MsgDepositPrincipalFundsRequest) GetVaultAddress ¶
func (x *MsgDepositPrincipalFundsRequest) GetVaultAddress() string
func (*MsgDepositPrincipalFundsRequest) ProtoMessage ¶
func (*MsgDepositPrincipalFundsRequest) ProtoMessage()
func (*MsgDepositPrincipalFundsRequest) ProtoReflect ¶
func (x *MsgDepositPrincipalFundsRequest) ProtoReflect() protoreflect.Message
func (*MsgDepositPrincipalFundsRequest) Reset ¶
func (x *MsgDepositPrincipalFundsRequest) Reset()
func (*MsgDepositPrincipalFundsRequest) String ¶
func (x *MsgDepositPrincipalFundsRequest) String() string
type MsgDepositPrincipalFundsResponse ¶
type MsgDepositPrincipalFundsResponse struct {
// contains filtered or unexported fields
}
MsgDepositPrincipalFundsResponse is the response message for the DepositPrincipalFunds endpoint.
func (*MsgDepositPrincipalFundsResponse) Descriptor
deprecated
func (*MsgDepositPrincipalFundsResponse) Descriptor() ([]byte, []int)
Deprecated: Use MsgDepositPrincipalFundsResponse.ProtoReflect.Descriptor instead.
func (*MsgDepositPrincipalFundsResponse) ProtoMessage ¶
func (*MsgDepositPrincipalFundsResponse) ProtoMessage()
func (*MsgDepositPrincipalFundsResponse) ProtoReflect ¶
func (x *MsgDepositPrincipalFundsResponse) ProtoReflect() protoreflect.Message
func (*MsgDepositPrincipalFundsResponse) Reset ¶
func (x *MsgDepositPrincipalFundsResponse) Reset()
func (*MsgDepositPrincipalFundsResponse) String ¶
func (x *MsgDepositPrincipalFundsResponse) String() string
type MsgExpeditePendingSwapOutRequest ¶
type MsgExpeditePendingSwapOutRequest struct {
// admin is the address of the vault administrator initiating the swap out.
Admin string `protobuf:"bytes,1,opt,name=admin,proto3" json:"admin,omitempty"`
// request_id is the id of the pending swap out to expedite.
RequestId uint64 `protobuf:"varint,2,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
// contains filtered or unexported fields
}
MsgExpeditePendingSwapOutRequest is the request message for expediting a swap out from a vault.
func (*MsgExpeditePendingSwapOutRequest) Descriptor
deprecated
func (*MsgExpeditePendingSwapOutRequest) Descriptor() ([]byte, []int)
Deprecated: Use MsgExpeditePendingSwapOutRequest.ProtoReflect.Descriptor instead.
func (*MsgExpeditePendingSwapOutRequest) GetAdmin ¶
func (x *MsgExpeditePendingSwapOutRequest) GetAdmin() string
func (*MsgExpeditePendingSwapOutRequest) GetRequestId ¶
func (x *MsgExpeditePendingSwapOutRequest) GetRequestId() uint64
func (*MsgExpeditePendingSwapOutRequest) ProtoMessage ¶
func (*MsgExpeditePendingSwapOutRequest) ProtoMessage()
func (*MsgExpeditePendingSwapOutRequest) ProtoReflect ¶
func (x *MsgExpeditePendingSwapOutRequest) ProtoReflect() protoreflect.Message
func (*MsgExpeditePendingSwapOutRequest) Reset ¶
func (x *MsgExpeditePendingSwapOutRequest) Reset()
func (*MsgExpeditePendingSwapOutRequest) String ¶
func (x *MsgExpeditePendingSwapOutRequest) String() string
type MsgExpeditePendingSwapOutResponse ¶
type MsgExpeditePendingSwapOutResponse struct {
// contains filtered or unexported fields
}
MsgExpeditePendingSwapOutResponse is the response message for the ExpeditePendingSwapOut endpoint.
func (*MsgExpeditePendingSwapOutResponse) Descriptor
deprecated
func (*MsgExpeditePendingSwapOutResponse) Descriptor() ([]byte, []int)
Deprecated: Use MsgExpeditePendingSwapOutResponse.ProtoReflect.Descriptor instead.
func (*MsgExpeditePendingSwapOutResponse) ProtoMessage ¶
func (*MsgExpeditePendingSwapOutResponse) ProtoMessage()
func (*MsgExpeditePendingSwapOutResponse) ProtoReflect ¶
func (x *MsgExpeditePendingSwapOutResponse) ProtoReflect() protoreflect.Message
func (*MsgExpeditePendingSwapOutResponse) Reset ¶
func (x *MsgExpeditePendingSwapOutResponse) Reset()
func (*MsgExpeditePendingSwapOutResponse) String ¶
func (x *MsgExpeditePendingSwapOutResponse) String() string
type MsgPauseVaultRequest ¶
type MsgPauseVaultRequest struct {
// admin is the address of the vault administrator initiating the pause.
Admin string `protobuf:"bytes,1,opt,name=admin,proto3" json:"admin,omitempty"`
// vault_address is the bech32 address of the vault to pause.
VaultAddress string `protobuf:"bytes,2,opt,name=vault_address,json=vaultAddress,proto3" json:"vault_address,omitempty"`
// reason is a human-readable explanation for pausing the vault. This is recorded
// for operators and clients to understand the context (e.g., maintenance or anomaly).
Reason string `protobuf:"bytes,3,opt,name=reason,proto3" json:"reason,omitempty"`
// contains filtered or unexported fields
}
MsgPauseVaultRequest is the request message to pause a vault. When processed, the vault disables user-facing swap operations and records the provided reason.
func (*MsgPauseVaultRequest) Descriptor
deprecated
func (*MsgPauseVaultRequest) Descriptor() ([]byte, []int)
Deprecated: Use MsgPauseVaultRequest.ProtoReflect.Descriptor instead.
func (*MsgPauseVaultRequest) GetAdmin ¶
func (x *MsgPauseVaultRequest) GetAdmin() string
func (*MsgPauseVaultRequest) GetReason ¶
func (x *MsgPauseVaultRequest) GetReason() string
func (*MsgPauseVaultRequest) GetVaultAddress ¶
func (x *MsgPauseVaultRequest) GetVaultAddress() string
func (*MsgPauseVaultRequest) ProtoMessage ¶
func (*MsgPauseVaultRequest) ProtoMessage()
func (*MsgPauseVaultRequest) ProtoReflect ¶
func (x *MsgPauseVaultRequest) ProtoReflect() protoreflect.Message
func (*MsgPauseVaultRequest) Reset ¶
func (x *MsgPauseVaultRequest) Reset()
func (*MsgPauseVaultRequest) String ¶
func (x *MsgPauseVaultRequest) String() string
type MsgPauseVaultResponse ¶
type MsgPauseVaultResponse struct {
// contains filtered or unexported fields
}
MsgPauseVaultResponse is the response message for the PauseVault endpoint.
func (*MsgPauseVaultResponse) Descriptor
deprecated
func (*MsgPauseVaultResponse) Descriptor() ([]byte, []int)
Deprecated: Use MsgPauseVaultResponse.ProtoReflect.Descriptor instead.
func (*MsgPauseVaultResponse) ProtoMessage ¶
func (*MsgPauseVaultResponse) ProtoMessage()
func (*MsgPauseVaultResponse) ProtoReflect ¶
func (x *MsgPauseVaultResponse) ProtoReflect() protoreflect.Message
func (*MsgPauseVaultResponse) Reset ¶
func (x *MsgPauseVaultResponse) Reset()
func (*MsgPauseVaultResponse) String ¶
func (x *MsgPauseVaultResponse) String() string
type MsgServer ¶
type MsgServer interface {
// CreateVault creates a new vault.
CreateVault(context.Context, *MsgCreateVaultRequest) (*MsgCreateVaultResponse, error)
// SwapIn exchanges underlying assets for vault shares by depositing them into a vault.
SwapIn(context.Context, *MsgSwapInRequest) (*MsgSwapInResponse, error)
// SwapOut exchanges vault shares for underlying assets by withdrawing from a vault.
SwapOut(context.Context, *MsgSwapOutRequest) (*MsgSwapOutResponse, error)
// UpdateMinInterestRate sets the minimum allowed annual interest rate for a vault.
UpdateMinInterestRate(context.Context, *MsgUpdateMinInterestRateRequest) (*MsgUpdateMinInterestRateResponse, error)
// UpdateMaxInterestRate sets the maximum allowed annual interest rate for a vault.
UpdateMaxInterestRate(context.Context, *MsgUpdateMaxInterestRateRequest) (*MsgUpdateMaxInterestRateResponse, error)
// UpdateInterestRate allows the interest admin to update the current annual interest rate within limits.
UpdateInterestRate(context.Context, *MsgUpdateInterestRateRequest) (*MsgUpdateInterestRateResponse, error)
// ToggleSwapIn allows enabling or disabling swap-in operations for a vault.
ToggleSwapIn(context.Context, *MsgToggleSwapInRequest) (*MsgToggleSwapInResponse, error)
// ToggleSwapOut allows enabling or disabling swap-out operations for a vault.
ToggleSwapOut(context.Context, *MsgToggleSwapOutRequest) (*MsgToggleSwapOutResponse, error)
// DepositInterestFunds allows depositing funds into the vault for paying interest.
DepositInterestFunds(context.Context, *MsgDepositInterestFundsRequest) (*MsgDepositInterestFundsResponse, error)
// WithdrawInterestFunds allows withdrawing unused interest funds (admin only).
WithdrawInterestFunds(context.Context, *MsgWithdrawInterestFundsRequest) (*MsgWithdrawInterestFundsResponse, error)
// DepositPrincipalFunds allows depositing principal funds into a vault.
DepositPrincipalFunds(context.Context, *MsgDepositPrincipalFundsRequest) (*MsgDepositPrincipalFundsResponse, error)
// WithdrawPrincipalFunds allows withdrawing principal funds from a vault.
WithdrawPrincipalFunds(context.Context, *MsgWithdrawPrincipalFundsRequest) (*MsgWithdrawPrincipalFundsResponse, error)
// ExpeditePendingSwapOut expedites a pending swap out from a vault.
ExpeditePendingSwapOut(context.Context, *MsgExpeditePendingSwapOutRequest) (*MsgExpeditePendingSwapOutResponse, error)
PauseVault(context.Context, *MsgPauseVaultRequest) (*MsgPauseVaultResponse, error)
UnpauseVault(context.Context, *MsgUnpauseVaultRequest) (*MsgUnpauseVaultResponse, error)
// SetBridgeAddress sets the single external bridge address allowed to mint or burn shares for a vault.
SetBridgeAddress(context.Context, *MsgSetBridgeAddressRequest) (*MsgSetBridgeAddressResponse, error)
// ToggleBridge enables or disables the bridge functionality for a vault.
ToggleBridge(context.Context, *MsgToggleBridgeRequest) (*MsgToggleBridgeResponse, error)
BridgeMintShares(context.Context, *MsgBridgeMintSharesRequest) (*MsgBridgeMintSharesResponse, error)
BridgeBurnShares(context.Context, *MsgBridgeBurnSharesRequest) (*MsgBridgeBurnSharesResponse, error)
// contains filtered or unexported methods
}
MsgServer is the server API for Msg service. All implementations must embed UnimplementedMsgServer for forward compatibility.
Msg is the service for the vault module's tx endpoints.
type MsgSetBridgeAddressRequest ¶
type MsgSetBridgeAddressRequest struct {
// admin is the address of the vault administrator.
Admin string `protobuf:"bytes,1,opt,name=admin,proto3" json:"admin,omitempty"`
// vault_address is the bech32 address of the vault to update.
VaultAddress string `protobuf:"bytes,2,opt,name=vault_address,json=vaultAddress,proto3" json:"vault_address,omitempty"`
// bridge_address is the single external address allowed to mint or burn shares on behalf of this vault.
BridgeAddress string `protobuf:"bytes,3,opt,name=bridge_address,json=bridgeAddress,proto3" json:"bridge_address,omitempty"`
// contains filtered or unexported fields
}
MsgSetBridgeAddressRequest is the request message for configuring the bridge address for a vault.
func (*MsgSetBridgeAddressRequest) Descriptor
deprecated
func (*MsgSetBridgeAddressRequest) Descriptor() ([]byte, []int)
Deprecated: Use MsgSetBridgeAddressRequest.ProtoReflect.Descriptor instead.
func (*MsgSetBridgeAddressRequest) GetAdmin ¶
func (x *MsgSetBridgeAddressRequest) GetAdmin() string
func (*MsgSetBridgeAddressRequest) GetBridgeAddress ¶
func (x *MsgSetBridgeAddressRequest) GetBridgeAddress() string
func (*MsgSetBridgeAddressRequest) GetVaultAddress ¶
func (x *MsgSetBridgeAddressRequest) GetVaultAddress() string
func (*MsgSetBridgeAddressRequest) ProtoMessage ¶
func (*MsgSetBridgeAddressRequest) ProtoMessage()
func (*MsgSetBridgeAddressRequest) ProtoReflect ¶
func (x *MsgSetBridgeAddressRequest) ProtoReflect() protoreflect.Message
func (*MsgSetBridgeAddressRequest) Reset ¶
func (x *MsgSetBridgeAddressRequest) Reset()
func (*MsgSetBridgeAddressRequest) String ¶
func (x *MsgSetBridgeAddressRequest) String() string
type MsgSetBridgeAddressResponse ¶
type MsgSetBridgeAddressResponse struct {
// contains filtered or unexported fields
}
MsgSetBridgeAddressResponse is the response message for the SetBridgeAddress endpoint.
func (*MsgSetBridgeAddressResponse) Descriptor
deprecated
func (*MsgSetBridgeAddressResponse) Descriptor() ([]byte, []int)
Deprecated: Use MsgSetBridgeAddressResponse.ProtoReflect.Descriptor instead.
func (*MsgSetBridgeAddressResponse) ProtoMessage ¶
func (*MsgSetBridgeAddressResponse) ProtoMessage()
func (*MsgSetBridgeAddressResponse) ProtoReflect ¶
func (x *MsgSetBridgeAddressResponse) ProtoReflect() protoreflect.Message
func (*MsgSetBridgeAddressResponse) Reset ¶
func (x *MsgSetBridgeAddressResponse) Reset()
func (*MsgSetBridgeAddressResponse) String ¶
func (x *MsgSetBridgeAddressResponse) String() string
type MsgSwapInRequest ¶
type MsgSwapInRequest struct {
// owner is the address initiating the swap in (deposit).
Owner string `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty"`
// vault_address is the address of the target vault.
VaultAddress string `protobuf:"bytes,2,opt,name=vault_address,json=vaultAddress,proto3" json:"vault_address,omitempty"`
// assets is the amount of underlying assets to deposit.
Assets *v1beta1.Coin `protobuf:"bytes,3,opt,name=assets,proto3" json:"assets,omitempty"`
// contains filtered or unexported fields
}
MsgSwapInRequest is the request message for depositing underlying assets into a vault in exchange for shares.
func (*MsgSwapInRequest) Descriptor
deprecated
func (*MsgSwapInRequest) Descriptor() ([]byte, []int)
Deprecated: Use MsgSwapInRequest.ProtoReflect.Descriptor instead.
func (*MsgSwapInRequest) GetAssets ¶
func (x *MsgSwapInRequest) GetAssets() *v1beta1.Coin
func (*MsgSwapInRequest) GetOwner ¶
func (x *MsgSwapInRequest) GetOwner() string
func (*MsgSwapInRequest) GetVaultAddress ¶
func (x *MsgSwapInRequest) GetVaultAddress() string
func (*MsgSwapInRequest) ProtoMessage ¶
func (*MsgSwapInRequest) ProtoMessage()
func (*MsgSwapInRequest) ProtoReflect ¶
func (x *MsgSwapInRequest) ProtoReflect() protoreflect.Message
func (*MsgSwapInRequest) Reset ¶
func (x *MsgSwapInRequest) Reset()
func (*MsgSwapInRequest) String ¶
func (x *MsgSwapInRequest) String() string
type MsgSwapInResponse ¶
type MsgSwapInResponse struct {
// contains filtered or unexported fields
}
MsgSwapInResponse is the response message for a successful SwapIn.
func (*MsgSwapInResponse) Descriptor
deprecated
func (*MsgSwapInResponse) Descriptor() ([]byte, []int)
Deprecated: Use MsgSwapInResponse.ProtoReflect.Descriptor instead.
func (*MsgSwapInResponse) ProtoMessage ¶
func (*MsgSwapInResponse) ProtoMessage()
func (*MsgSwapInResponse) ProtoReflect ¶
func (x *MsgSwapInResponse) ProtoReflect() protoreflect.Message
func (*MsgSwapInResponse) Reset ¶
func (x *MsgSwapInResponse) Reset()
func (*MsgSwapInResponse) String ¶
func (x *MsgSwapInResponse) String() string
type MsgSwapOutRequest ¶
type MsgSwapOutRequest struct {
// owner is the address initiating the swap out (withdraw).
Owner string `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty"`
// vault_address is the address of the vault to redeem from.
VaultAddress string `protobuf:"bytes,2,opt,name=vault_address,json=vaultAddress,proto3" json:"vault_address,omitempty"`
// assets is the amount of underlying assets to withdraw.
Assets *v1beta1.Coin `protobuf:"bytes,3,opt,name=assets,proto3" json:"assets,omitempty"`
// redeem_denom selects the payout coin.
// - If empty, defaults to the vault’s underlying_asset.
// - Must be either the vault’s underlying_asset or its payment_denom.
RedeemDenom string `protobuf:"bytes,4,opt,name=redeem_denom,json=redeemDenom,proto3" json:"redeem_denom,omitempty"`
// contains filtered or unexported fields
}
MsgSwapOutRequest is the request message for redeeming vault shares in exchange for underlying assets.
func (*MsgSwapOutRequest) Descriptor
deprecated
func (*MsgSwapOutRequest) Descriptor() ([]byte, []int)
Deprecated: Use MsgSwapOutRequest.ProtoReflect.Descriptor instead.
func (*MsgSwapOutRequest) GetAssets ¶
func (x *MsgSwapOutRequest) GetAssets() *v1beta1.Coin
func (*MsgSwapOutRequest) GetOwner ¶
func (x *MsgSwapOutRequest) GetOwner() string
func (*MsgSwapOutRequest) GetRedeemDenom ¶
func (x *MsgSwapOutRequest) GetRedeemDenom() string
func (*MsgSwapOutRequest) GetVaultAddress ¶
func (x *MsgSwapOutRequest) GetVaultAddress() string
func (*MsgSwapOutRequest) ProtoMessage ¶
func (*MsgSwapOutRequest) ProtoMessage()
func (*MsgSwapOutRequest) ProtoReflect ¶
func (x *MsgSwapOutRequest) ProtoReflect() protoreflect.Message
func (*MsgSwapOutRequest) Reset ¶
func (x *MsgSwapOutRequest) Reset()
func (*MsgSwapOutRequest) String ¶
func (x *MsgSwapOutRequest) String() string
type MsgSwapOutResponse ¶
type MsgSwapOutResponse struct {
// request_id is the unique identifier for the newly queued swap out request.
RequestId uint64 `protobuf:"varint,1,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
// contains filtered or unexported fields
}
MsgSwapOutResponse is the response message for the SwapOut endpoint.
func (*MsgSwapOutResponse) Descriptor
deprecated
func (*MsgSwapOutResponse) Descriptor() ([]byte, []int)
Deprecated: Use MsgSwapOutResponse.ProtoReflect.Descriptor instead.
func (*MsgSwapOutResponse) GetRequestId ¶
func (x *MsgSwapOutResponse) GetRequestId() uint64
func (*MsgSwapOutResponse) ProtoMessage ¶
func (*MsgSwapOutResponse) ProtoMessage()
func (*MsgSwapOutResponse) ProtoReflect ¶
func (x *MsgSwapOutResponse) ProtoReflect() protoreflect.Message
func (*MsgSwapOutResponse) Reset ¶
func (x *MsgSwapOutResponse) Reset()
func (*MsgSwapOutResponse) String ¶
func (x *MsgSwapOutResponse) String() string
type MsgToggleBridgeRequest ¶
type MsgToggleBridgeRequest struct {
// admin is the address of the vault administrator.
Admin string `protobuf:"bytes,1,opt,name=admin,proto3" json:"admin,omitempty"`
// vault_address is the bech32 address of the vault to update.
VaultAddress string `protobuf:"bytes,2,opt,name=vault_address,json=vaultAddress,proto3" json:"vault_address,omitempty"`
// enabled indicates whether bridge operations are allowed.
Enabled bool `protobuf:"varint,3,opt,name=enabled,proto3" json:"enabled,omitempty"`
// contains filtered or unexported fields
}
MsgToggleBridgeRequest is the request message for enabling or disabling the bridge for a vault.
func (*MsgToggleBridgeRequest) Descriptor
deprecated
func (*MsgToggleBridgeRequest) Descriptor() ([]byte, []int)
Deprecated: Use MsgToggleBridgeRequest.ProtoReflect.Descriptor instead.
func (*MsgToggleBridgeRequest) GetAdmin ¶
func (x *MsgToggleBridgeRequest) GetAdmin() string
func (*MsgToggleBridgeRequest) GetEnabled ¶
func (x *MsgToggleBridgeRequest) GetEnabled() bool
func (*MsgToggleBridgeRequest) GetVaultAddress ¶
func (x *MsgToggleBridgeRequest) GetVaultAddress() string
func (*MsgToggleBridgeRequest) ProtoMessage ¶
func (*MsgToggleBridgeRequest) ProtoMessage()
func (*MsgToggleBridgeRequest) ProtoReflect ¶
func (x *MsgToggleBridgeRequest) ProtoReflect() protoreflect.Message
func (*MsgToggleBridgeRequest) Reset ¶
func (x *MsgToggleBridgeRequest) Reset()
func (*MsgToggleBridgeRequest) String ¶
func (x *MsgToggleBridgeRequest) String() string
type MsgToggleBridgeResponse ¶
type MsgToggleBridgeResponse struct {
// contains filtered or unexported fields
}
MsgToggleBridgeResponse is the response message for the ToggleBridge endpoint.
func (*MsgToggleBridgeResponse) Descriptor
deprecated
func (*MsgToggleBridgeResponse) Descriptor() ([]byte, []int)
Deprecated: Use MsgToggleBridgeResponse.ProtoReflect.Descriptor instead.
func (*MsgToggleBridgeResponse) ProtoMessage ¶
func (*MsgToggleBridgeResponse) ProtoMessage()
func (*MsgToggleBridgeResponse) ProtoReflect ¶
func (x *MsgToggleBridgeResponse) ProtoReflect() protoreflect.Message
func (*MsgToggleBridgeResponse) Reset ¶
func (x *MsgToggleBridgeResponse) Reset()
func (*MsgToggleBridgeResponse) String ¶
func (x *MsgToggleBridgeResponse) String() string
type MsgToggleSwapInRequest ¶
type MsgToggleSwapInRequest struct {
// admin is the address of the vault administrator.
Admin string `protobuf:"bytes,1,opt,name=admin,proto3" json:"admin,omitempty"`
// vault_address is the bech32 address of the vault.
VaultAddress string `protobuf:"bytes,2,opt,name=vault_address,json=vaultAddress,proto3" json:"vault_address,omitempty"`
// enabled specifies whether swap-in operations should be enabled (true) or disabled (false).
Enabled bool `protobuf:"varint,3,opt,name=enabled,proto3" json:"enabled,omitempty"`
// contains filtered or unexported fields
}
MsgToggleSwapInRequest is the request message for enabling or disabling swap-in operations for a vault.
func (*MsgToggleSwapInRequest) Descriptor
deprecated
func (*MsgToggleSwapInRequest) Descriptor() ([]byte, []int)
Deprecated: Use MsgToggleSwapInRequest.ProtoReflect.Descriptor instead.
func (*MsgToggleSwapInRequest) GetAdmin ¶
func (x *MsgToggleSwapInRequest) GetAdmin() string
func (*MsgToggleSwapInRequest) GetEnabled ¶
func (x *MsgToggleSwapInRequest) GetEnabled() bool
func (*MsgToggleSwapInRequest) GetVaultAddress ¶
func (x *MsgToggleSwapInRequest) GetVaultAddress() string
func (*MsgToggleSwapInRequest) ProtoMessage ¶
func (*MsgToggleSwapInRequest) ProtoMessage()
func (*MsgToggleSwapInRequest) ProtoReflect ¶
func (x *MsgToggleSwapInRequest) ProtoReflect() protoreflect.Message
func (*MsgToggleSwapInRequest) Reset ¶
func (x *MsgToggleSwapInRequest) Reset()
func (*MsgToggleSwapInRequest) String ¶
func (x *MsgToggleSwapInRequest) String() string
type MsgToggleSwapInResponse ¶
type MsgToggleSwapInResponse struct {
// contains filtered or unexported fields
}
MsgToggleSwapInResponse is the response message for the ToggleSwapIn endpoint.
func (*MsgToggleSwapInResponse) Descriptor
deprecated
func (*MsgToggleSwapInResponse) Descriptor() ([]byte, []int)
Deprecated: Use MsgToggleSwapInResponse.ProtoReflect.Descriptor instead.
func (*MsgToggleSwapInResponse) ProtoMessage ¶
func (*MsgToggleSwapInResponse) ProtoMessage()
func (*MsgToggleSwapInResponse) ProtoReflect ¶
func (x *MsgToggleSwapInResponse) ProtoReflect() protoreflect.Message
func (*MsgToggleSwapInResponse) Reset ¶
func (x *MsgToggleSwapInResponse) Reset()
func (*MsgToggleSwapInResponse) String ¶
func (x *MsgToggleSwapInResponse) String() string
type MsgToggleSwapOutRequest ¶
type MsgToggleSwapOutRequest struct {
// admin is the address of the vault administrator.
Admin string `protobuf:"bytes,1,opt,name=admin,proto3" json:"admin,omitempty"`
// vault_address is the bech32 address of the vault.
VaultAddress string `protobuf:"bytes,2,opt,name=vault_address,json=vaultAddress,proto3" json:"vault_address,omitempty"`
// enabled specifies whether swap-out operations should be enabled (true) or disabled (false).
Enabled bool `protobuf:"varint,3,opt,name=enabled,proto3" json:"enabled,omitempty"`
// contains filtered or unexported fields
}
MsgToggleSwapOutRequest is the request message for enabling or disabling swap-out operations for a vault.
func (*MsgToggleSwapOutRequest) Descriptor
deprecated
func (*MsgToggleSwapOutRequest) Descriptor() ([]byte, []int)
Deprecated: Use MsgToggleSwapOutRequest.ProtoReflect.Descriptor instead.
func (*MsgToggleSwapOutRequest) GetAdmin ¶
func (x *MsgToggleSwapOutRequest) GetAdmin() string
func (*MsgToggleSwapOutRequest) GetEnabled ¶
func (x *MsgToggleSwapOutRequest) GetEnabled() bool
func (*MsgToggleSwapOutRequest) GetVaultAddress ¶
func (x *MsgToggleSwapOutRequest) GetVaultAddress() string
func (*MsgToggleSwapOutRequest) ProtoMessage ¶
func (*MsgToggleSwapOutRequest) ProtoMessage()
func (*MsgToggleSwapOutRequest) ProtoReflect ¶
func (x *MsgToggleSwapOutRequest) ProtoReflect() protoreflect.Message
func (*MsgToggleSwapOutRequest) Reset ¶
func (x *MsgToggleSwapOutRequest) Reset()
func (*MsgToggleSwapOutRequest) String ¶
func (x *MsgToggleSwapOutRequest) String() string
type MsgToggleSwapOutResponse ¶
type MsgToggleSwapOutResponse struct {
// contains filtered or unexported fields
}
MsgToggleSwapOutResponse is the response message for the ToggleSwapOut endpoint.
func (*MsgToggleSwapOutResponse) Descriptor
deprecated
func (*MsgToggleSwapOutResponse) Descriptor() ([]byte, []int)
Deprecated: Use MsgToggleSwapOutResponse.ProtoReflect.Descriptor instead.
func (*MsgToggleSwapOutResponse) ProtoMessage ¶
func (*MsgToggleSwapOutResponse) ProtoMessage()
func (*MsgToggleSwapOutResponse) ProtoReflect ¶
func (x *MsgToggleSwapOutResponse) ProtoReflect() protoreflect.Message
func (*MsgToggleSwapOutResponse) Reset ¶
func (x *MsgToggleSwapOutResponse) Reset()
func (*MsgToggleSwapOutResponse) String ¶
func (x *MsgToggleSwapOutResponse) String() string
type MsgUnpauseVaultRequest ¶
type MsgUnpauseVaultRequest struct {
// admin is the address of the vault administrator initiating the unpause.
Admin string `protobuf:"bytes,1,opt,name=admin,proto3" json:"admin,omitempty"`
// vault_address is the bech32 address of the vault to unpause.
VaultAddress string `protobuf:"bytes,2,opt,name=vault_address,json=vaultAddress,proto3" json:"vault_address,omitempty"`
// contains filtered or unexported fields
}
MsgUnpauseVaultRequest is the request message to unpause a vault. When processed, the vault re-enables user-facing swap operations (subject to existing flags).
func (*MsgUnpauseVaultRequest) Descriptor
deprecated
func (*MsgUnpauseVaultRequest) Descriptor() ([]byte, []int)
Deprecated: Use MsgUnpauseVaultRequest.ProtoReflect.Descriptor instead.
func (*MsgUnpauseVaultRequest) GetAdmin ¶
func (x *MsgUnpauseVaultRequest) GetAdmin() string
func (*MsgUnpauseVaultRequest) GetVaultAddress ¶
func (x *MsgUnpauseVaultRequest) GetVaultAddress() string
func (*MsgUnpauseVaultRequest) ProtoMessage ¶
func (*MsgUnpauseVaultRequest) ProtoMessage()
func (*MsgUnpauseVaultRequest) ProtoReflect ¶
func (x *MsgUnpauseVaultRequest) ProtoReflect() protoreflect.Message
func (*MsgUnpauseVaultRequest) Reset ¶
func (x *MsgUnpauseVaultRequest) Reset()
func (*MsgUnpauseVaultRequest) String ¶
func (x *MsgUnpauseVaultRequest) String() string
type MsgUnpauseVaultResponse ¶
type MsgUnpauseVaultResponse struct {
// contains filtered or unexported fields
}
MsgUnpauseVaultResponse is the response message for the UnpauseVault endpoint.
func (*MsgUnpauseVaultResponse) Descriptor
deprecated
func (*MsgUnpauseVaultResponse) Descriptor() ([]byte, []int)
Deprecated: Use MsgUnpauseVaultResponse.ProtoReflect.Descriptor instead.
func (*MsgUnpauseVaultResponse) ProtoMessage ¶
func (*MsgUnpauseVaultResponse) ProtoMessage()
func (*MsgUnpauseVaultResponse) ProtoReflect ¶
func (x *MsgUnpauseVaultResponse) ProtoReflect() protoreflect.Message
func (*MsgUnpauseVaultResponse) Reset ¶
func (x *MsgUnpauseVaultResponse) Reset()
func (*MsgUnpauseVaultResponse) String ¶
func (x *MsgUnpauseVaultResponse) String() string
type MsgUpdateInterestRateRequest ¶
type MsgUpdateInterestRateRequest struct {
// admin is the address of the vault administrator.
Admin string `protobuf:"bytes,1,opt,name=admin,proto3" json:"admin,omitempty"`
// vault_address is the bech32 address of the vault.
VaultAddress string `protobuf:"bytes,2,opt,name=vault_address,json=vaultAddress,proto3" json:"vault_address,omitempty"`
// new_rate is the new annual interest rate for the the vault as a decimal string (e.g., "0.9" for 90% and "0.9001353" for 90.01353%).
NewRate string `protobuf:"bytes,3,opt,name=new_rate,json=newRate,proto3" json:"new_rate,omitempty"`
// contains filtered or unexported fields
}
MsgUpdateInterestRateRequest is the request message for updating the annual interest rate of a vault.
func (*MsgUpdateInterestRateRequest) Descriptor
deprecated
func (*MsgUpdateInterestRateRequest) Descriptor() ([]byte, []int)
Deprecated: Use MsgUpdateInterestRateRequest.ProtoReflect.Descriptor instead.
func (*MsgUpdateInterestRateRequest) GetAdmin ¶
func (x *MsgUpdateInterestRateRequest) GetAdmin() string
func (*MsgUpdateInterestRateRequest) GetNewRate ¶
func (x *MsgUpdateInterestRateRequest) GetNewRate() string
func (*MsgUpdateInterestRateRequest) GetVaultAddress ¶
func (x *MsgUpdateInterestRateRequest) GetVaultAddress() string
func (*MsgUpdateInterestRateRequest) ProtoMessage ¶
func (*MsgUpdateInterestRateRequest) ProtoMessage()
func (*MsgUpdateInterestRateRequest) ProtoReflect ¶
func (x *MsgUpdateInterestRateRequest) ProtoReflect() protoreflect.Message
func (*MsgUpdateInterestRateRequest) Reset ¶
func (x *MsgUpdateInterestRateRequest) Reset()
func (*MsgUpdateInterestRateRequest) String ¶
func (x *MsgUpdateInterestRateRequest) String() string
type MsgUpdateInterestRateResponse ¶
type MsgUpdateInterestRateResponse struct {
// contains filtered or unexported fields
}
MsgUpdateInterestRateResponse is the response message for the UpdateInterestRate endpoint.
func (*MsgUpdateInterestRateResponse) Descriptor
deprecated
func (*MsgUpdateInterestRateResponse) Descriptor() ([]byte, []int)
Deprecated: Use MsgUpdateInterestRateResponse.ProtoReflect.Descriptor instead.
func (*MsgUpdateInterestRateResponse) ProtoMessage ¶
func (*MsgUpdateInterestRateResponse) ProtoMessage()
func (*MsgUpdateInterestRateResponse) ProtoReflect ¶
func (x *MsgUpdateInterestRateResponse) ProtoReflect() protoreflect.Message
func (*MsgUpdateInterestRateResponse) Reset ¶
func (x *MsgUpdateInterestRateResponse) Reset()
func (*MsgUpdateInterestRateResponse) String ¶
func (x *MsgUpdateInterestRateResponse) String() string
type MsgUpdateMaxInterestRateRequest ¶
type MsgUpdateMaxInterestRateRequest struct {
// The address of the account authorized to update the maximum interest rate for the vault.
Admin string `protobuf:"bytes,1,opt,name=admin,proto3" json:"admin,omitempty"`
// The bech32 address of the vault whose maximum interest rate is being updated.
VaultAddress string `protobuf:"bytes,2,opt,name=vault_address,json=vaultAddress,proto3" json:"vault_address,omitempty"`
// max_rate is the maximum allowable annual interest rate for the vault as a decimal string (e.g., "0.9" for 90% and "0.9001353" for 90.01353%).
// An empty string "" represents no maximum.
MaxRate string `protobuf:"bytes,3,opt,name=max_rate,json=maxRate,proto3" json:"max_rate,omitempty"`
// contains filtered or unexported fields
}
MsgUpdateMaxInterestRateRequest is the request message for updating the maximum interest rate of a vault.
func (*MsgUpdateMaxInterestRateRequest) Descriptor
deprecated
func (*MsgUpdateMaxInterestRateRequest) Descriptor() ([]byte, []int)
Deprecated: Use MsgUpdateMaxInterestRateRequest.ProtoReflect.Descriptor instead.
func (*MsgUpdateMaxInterestRateRequest) GetAdmin ¶
func (x *MsgUpdateMaxInterestRateRequest) GetAdmin() string
func (*MsgUpdateMaxInterestRateRequest) GetMaxRate ¶
func (x *MsgUpdateMaxInterestRateRequest) GetMaxRate() string
func (*MsgUpdateMaxInterestRateRequest) GetVaultAddress ¶
func (x *MsgUpdateMaxInterestRateRequest) GetVaultAddress() string
func (*MsgUpdateMaxInterestRateRequest) ProtoMessage ¶
func (*MsgUpdateMaxInterestRateRequest) ProtoMessage()
func (*MsgUpdateMaxInterestRateRequest) ProtoReflect ¶
func (x *MsgUpdateMaxInterestRateRequest) ProtoReflect() protoreflect.Message
func (*MsgUpdateMaxInterestRateRequest) Reset ¶
func (x *MsgUpdateMaxInterestRateRequest) Reset()
func (*MsgUpdateMaxInterestRateRequest) String ¶
func (x *MsgUpdateMaxInterestRateRequest) String() string
type MsgUpdateMaxInterestRateResponse ¶
type MsgUpdateMaxInterestRateResponse struct {
// contains filtered or unexported fields
}
MsgUpdateMaxInterestRateResponse is the response message for the UpdateMaxInterestRate endpoint.
func (*MsgUpdateMaxInterestRateResponse) Descriptor
deprecated
func (*MsgUpdateMaxInterestRateResponse) Descriptor() ([]byte, []int)
Deprecated: Use MsgUpdateMaxInterestRateResponse.ProtoReflect.Descriptor instead.
func (*MsgUpdateMaxInterestRateResponse) ProtoMessage ¶
func (*MsgUpdateMaxInterestRateResponse) ProtoMessage()
func (*MsgUpdateMaxInterestRateResponse) ProtoReflect ¶
func (x *MsgUpdateMaxInterestRateResponse) ProtoReflect() protoreflect.Message
func (*MsgUpdateMaxInterestRateResponse) Reset ¶
func (x *MsgUpdateMaxInterestRateResponse) Reset()
func (*MsgUpdateMaxInterestRateResponse) String ¶
func (x *MsgUpdateMaxInterestRateResponse) String() string
type MsgUpdateMinInterestRateRequest ¶
type MsgUpdateMinInterestRateRequest struct {
// The address of the account authorized to update the minimum interest rate for the vault.
Admin string `protobuf:"bytes,1,opt,name=admin,proto3" json:"admin,omitempty"`
// The bech32 address of the vault whose minimum interest rate is being updated.
VaultAddress string `protobuf:"bytes,2,opt,name=vault_address,json=vaultAddress,proto3" json:"vault_address,omitempty"`
// min_rate is the minimum allowable interest rate(APY) for the vault as a decimal string (e.g., "0.9" for 90% and "0.9001353" for 90.01353%).
// An empty string "" represents no minimum.
MinRate string `protobuf:"bytes,3,opt,name=min_rate,json=minRate,proto3" json:"min_rate,omitempty"`
// contains filtered or unexported fields
}
MsgUpdateMinInterestRateRequest is the request message for updating the minimum interest rate of a vault.
func (*MsgUpdateMinInterestRateRequest) Descriptor
deprecated
func (*MsgUpdateMinInterestRateRequest) Descriptor() ([]byte, []int)
Deprecated: Use MsgUpdateMinInterestRateRequest.ProtoReflect.Descriptor instead.
func (*MsgUpdateMinInterestRateRequest) GetAdmin ¶
func (x *MsgUpdateMinInterestRateRequest) GetAdmin() string
func (*MsgUpdateMinInterestRateRequest) GetMinRate ¶
func (x *MsgUpdateMinInterestRateRequest) GetMinRate() string
func (*MsgUpdateMinInterestRateRequest) GetVaultAddress ¶
func (x *MsgUpdateMinInterestRateRequest) GetVaultAddress() string
func (*MsgUpdateMinInterestRateRequest) ProtoMessage ¶
func (*MsgUpdateMinInterestRateRequest) ProtoMessage()
func (*MsgUpdateMinInterestRateRequest) ProtoReflect ¶
func (x *MsgUpdateMinInterestRateRequest) ProtoReflect() protoreflect.Message
func (*MsgUpdateMinInterestRateRequest) Reset ¶
func (x *MsgUpdateMinInterestRateRequest) Reset()
func (*MsgUpdateMinInterestRateRequest) String ¶
func (x *MsgUpdateMinInterestRateRequest) String() string
type MsgUpdateMinInterestRateResponse ¶
type MsgUpdateMinInterestRateResponse struct {
// contains filtered or unexported fields
}
MsgUpdateMinInterestRateResponse is the response message for the UpdateMinInterestRate endpoint.
func (*MsgUpdateMinInterestRateResponse) Descriptor
deprecated
func (*MsgUpdateMinInterestRateResponse) Descriptor() ([]byte, []int)
Deprecated: Use MsgUpdateMinInterestRateResponse.ProtoReflect.Descriptor instead.
func (*MsgUpdateMinInterestRateResponse) ProtoMessage ¶
func (*MsgUpdateMinInterestRateResponse) ProtoMessage()
func (*MsgUpdateMinInterestRateResponse) ProtoReflect ¶
func (x *MsgUpdateMinInterestRateResponse) ProtoReflect() protoreflect.Message
func (*MsgUpdateMinInterestRateResponse) Reset ¶
func (x *MsgUpdateMinInterestRateResponse) Reset()
func (*MsgUpdateMinInterestRateResponse) String ¶
func (x *MsgUpdateMinInterestRateResponse) String() string
type MsgWithdrawInterestFundsRequest ¶
type MsgWithdrawInterestFundsRequest struct {
// admin is the address of the vault administrator initiating the withdrawal.
Admin string `protobuf:"bytes,1,opt,name=admin,proto3" json:"admin,omitempty"`
// vault_address is the bech32 address of the vault from which funds are being withdrawn.
VaultAddress string `protobuf:"bytes,2,opt,name=vault_address,json=vaultAddress,proto3" json:"vault_address,omitempty"`
// amount is the amount of funds to withdraw.
Amount *v1beta1.Coin `protobuf:"bytes,3,opt,name=amount,proto3" json:"amount,omitempty"`
// contains filtered or unexported fields
}
MsgWithdrawInterestFundsRequest is the request message for withdrawing unused interest funds.
func (*MsgWithdrawInterestFundsRequest) Descriptor
deprecated
func (*MsgWithdrawInterestFundsRequest) Descriptor() ([]byte, []int)
Deprecated: Use MsgWithdrawInterestFundsRequest.ProtoReflect.Descriptor instead.
func (*MsgWithdrawInterestFundsRequest) GetAdmin ¶
func (x *MsgWithdrawInterestFundsRequest) GetAdmin() string
func (*MsgWithdrawInterestFundsRequest) GetAmount ¶
func (x *MsgWithdrawInterestFundsRequest) GetAmount() *v1beta1.Coin
func (*MsgWithdrawInterestFundsRequest) GetVaultAddress ¶
func (x *MsgWithdrawInterestFundsRequest) GetVaultAddress() string
func (*MsgWithdrawInterestFundsRequest) ProtoMessage ¶
func (*MsgWithdrawInterestFundsRequest) ProtoMessage()
func (*MsgWithdrawInterestFundsRequest) ProtoReflect ¶
func (x *MsgWithdrawInterestFundsRequest) ProtoReflect() protoreflect.Message
func (*MsgWithdrawInterestFundsRequest) Reset ¶
func (x *MsgWithdrawInterestFundsRequest) Reset()
func (*MsgWithdrawInterestFundsRequest) String ¶
func (x *MsgWithdrawInterestFundsRequest) String() string
type MsgWithdrawInterestFundsResponse ¶
type MsgWithdrawInterestFundsResponse struct {
// contains filtered or unexported fields
}
MsgWithdrawInterestFundsResponse is the response message for the WithdrawInterestFunds endpoint.
func (*MsgWithdrawInterestFundsResponse) Descriptor
deprecated
func (*MsgWithdrawInterestFundsResponse) Descriptor() ([]byte, []int)
Deprecated: Use MsgWithdrawInterestFundsResponse.ProtoReflect.Descriptor instead.
func (*MsgWithdrawInterestFundsResponse) ProtoMessage ¶
func (*MsgWithdrawInterestFundsResponse) ProtoMessage()
func (*MsgWithdrawInterestFundsResponse) ProtoReflect ¶
func (x *MsgWithdrawInterestFundsResponse) ProtoReflect() protoreflect.Message
func (*MsgWithdrawInterestFundsResponse) Reset ¶
func (x *MsgWithdrawInterestFundsResponse) Reset()
func (*MsgWithdrawInterestFundsResponse) String ¶
func (x *MsgWithdrawInterestFundsResponse) String() string
type MsgWithdrawPrincipalFundsRequest ¶
type MsgWithdrawPrincipalFundsRequest struct {
// admin is the address of the vault administrator initiating the withdrawal.
Admin string `protobuf:"bytes,1,opt,name=admin,proto3" json:"admin,omitempty"`
// vault_address is the bech32 address of the vault from which funds are being withdrawn.
VaultAddress string `protobuf:"bytes,2,opt,name=vault_address,json=vaultAddress,proto3" json:"vault_address,omitempty"`
// amount is the amount of funds to withdraw.
Amount *v1beta1.Coin `protobuf:"bytes,3,opt,name=amount,proto3" json:"amount,omitempty"`
// contains filtered or unexported fields
}
MsgWithdrawPrincipalFundsRequest is the request message for withdrawing principal funds from a vault.
func (*MsgWithdrawPrincipalFundsRequest) Descriptor
deprecated
func (*MsgWithdrawPrincipalFundsRequest) Descriptor() ([]byte, []int)
Deprecated: Use MsgWithdrawPrincipalFundsRequest.ProtoReflect.Descriptor instead.
func (*MsgWithdrawPrincipalFundsRequest) GetAdmin ¶
func (x *MsgWithdrawPrincipalFundsRequest) GetAdmin() string
func (*MsgWithdrawPrincipalFundsRequest) GetAmount ¶
func (x *MsgWithdrawPrincipalFundsRequest) GetAmount() *v1beta1.Coin
func (*MsgWithdrawPrincipalFundsRequest) GetVaultAddress ¶
func (x *MsgWithdrawPrincipalFundsRequest) GetVaultAddress() string
func (*MsgWithdrawPrincipalFundsRequest) ProtoMessage ¶
func (*MsgWithdrawPrincipalFundsRequest) ProtoMessage()
func (*MsgWithdrawPrincipalFundsRequest) ProtoReflect ¶
func (x *MsgWithdrawPrincipalFundsRequest) ProtoReflect() protoreflect.Message
func (*MsgWithdrawPrincipalFundsRequest) Reset ¶
func (x *MsgWithdrawPrincipalFundsRequest) Reset()
func (*MsgWithdrawPrincipalFundsRequest) String ¶
func (x *MsgWithdrawPrincipalFundsRequest) String() string
type MsgWithdrawPrincipalFundsResponse ¶
type MsgWithdrawPrincipalFundsResponse struct {
// contains filtered or unexported fields
}
MsgWithdrawPrincipalFundsResponse is the response message for the WithdrawPrincipalFunds endpoint.
func (*MsgWithdrawPrincipalFundsResponse) Descriptor
deprecated
func (*MsgWithdrawPrincipalFundsResponse) Descriptor() ([]byte, []int)
Deprecated: Use MsgWithdrawPrincipalFundsResponse.ProtoReflect.Descriptor instead.
func (*MsgWithdrawPrincipalFundsResponse) ProtoMessage ¶
func (*MsgWithdrawPrincipalFundsResponse) ProtoMessage()
func (*MsgWithdrawPrincipalFundsResponse) ProtoReflect ¶
func (x *MsgWithdrawPrincipalFundsResponse) ProtoReflect() protoreflect.Message
func (*MsgWithdrawPrincipalFundsResponse) Reset ¶
func (x *MsgWithdrawPrincipalFundsResponse) Reset()
func (*MsgWithdrawPrincipalFundsResponse) String ¶
func (x *MsgWithdrawPrincipalFundsResponse) String() string
type Params ¶
type Params struct {
// contains filtered or unexported fields
}
Params defines the parameters for the module.
func (*Params) Descriptor
deprecated
func (*Params) ProtoMessage ¶
func (*Params) ProtoMessage()
func (*Params) ProtoReflect ¶
func (x *Params) ProtoReflect() protoreflect.Message
type PendingSwapOut ¶
type PendingSwapOut struct {
// owner is the address initiating the swap out.
Owner string `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty"`
// vault_address is the address of the vault processing the withdrawal.
VaultAddress string `protobuf:"bytes,2,opt,name=vault_address,json=vaultAddress,proto3" json:"vault_address,omitempty"`
Shares *v1beta11.Coin `protobuf:"bytes,3,opt,name=shares,proto3" json:"shares,omitempty"`
// redeem_denom is the denomination of the asset to be redeemed.
RedeemDenom string `protobuf:"bytes,4,opt,name=redeem_denom,json=redeemDenom,proto3" json:"redeem_denom,omitempty"`
// contains filtered or unexported fields
}
PendingSwapOut are swap outs that have not yet been processed and completed.
func (*PendingSwapOut) Descriptor
deprecated
func (*PendingSwapOut) Descriptor() ([]byte, []int)
Deprecated: Use PendingSwapOut.ProtoReflect.Descriptor instead.
func (*PendingSwapOut) GetOwner ¶
func (x *PendingSwapOut) GetOwner() string
func (*PendingSwapOut) GetRedeemDenom ¶
func (x *PendingSwapOut) GetRedeemDenom() string
func (*PendingSwapOut) GetShares ¶
func (x *PendingSwapOut) GetShares() *v1beta11.Coin
func (*PendingSwapOut) GetVaultAddress ¶
func (x *PendingSwapOut) GetVaultAddress() string
func (*PendingSwapOut) ProtoMessage ¶
func (*PendingSwapOut) ProtoMessage()
func (*PendingSwapOut) ProtoReflect ¶
func (x *PendingSwapOut) ProtoReflect() protoreflect.Message
func (*PendingSwapOut) Reset ¶
func (x *PendingSwapOut) Reset()
func (*PendingSwapOut) String ¶
func (x *PendingSwapOut) String() string
type PendingSwapOutQueue ¶
type PendingSwapOutQueue struct {
LatestSequenceNumber uint64 `protobuf:"varint,1,opt,name=latest_sequence_number,json=latestSequenceNumber,proto3" json:"latest_sequence_number,omitempty"`
Entries []*PendingSwapOutQueueEntry `protobuf:"bytes,2,rep,name=entries,proto3" json:"entries,omitempty"`
// contains filtered or unexported fields
}
func (*PendingSwapOutQueue) Descriptor
deprecated
func (*PendingSwapOutQueue) Descriptor() ([]byte, []int)
Deprecated: Use PendingSwapOutQueue.ProtoReflect.Descriptor instead.
func (*PendingSwapOutQueue) GetEntries ¶
func (x *PendingSwapOutQueue) GetEntries() []*PendingSwapOutQueueEntry
func (*PendingSwapOutQueue) GetLatestSequenceNumber ¶
func (x *PendingSwapOutQueue) GetLatestSequenceNumber() uint64
func (*PendingSwapOutQueue) ProtoMessage ¶
func (*PendingSwapOutQueue) ProtoMessage()
func (*PendingSwapOutQueue) ProtoReflect ¶
func (x *PendingSwapOutQueue) ProtoReflect() protoreflect.Message
func (*PendingSwapOutQueue) Reset ¶
func (x *PendingSwapOutQueue) Reset()
func (*PendingSwapOutQueue) String ¶
func (x *PendingSwapOutQueue) String() string
type PendingSwapOutQueueEntry ¶
type PendingSwapOutQueueEntry struct {
Time int64 `protobuf:"varint,1,opt,name=time,proto3" json:"time,omitempty"`
Id uint64 `protobuf:"varint,2,opt,name=id,proto3" json:"id,omitempty"`
SwapOut *PendingSwapOut `protobuf:"bytes,3,opt,name=swap_out,json=swapOut,proto3" json:"swap_out,omitempty"`
// contains filtered or unexported fields
}
func (*PendingSwapOutQueueEntry) Descriptor
deprecated
func (*PendingSwapOutQueueEntry) Descriptor() ([]byte, []int)
Deprecated: Use PendingSwapOutQueueEntry.ProtoReflect.Descriptor instead.
func (*PendingSwapOutQueueEntry) GetId ¶
func (x *PendingSwapOutQueueEntry) GetId() uint64
func (*PendingSwapOutQueueEntry) GetSwapOut ¶
func (x *PendingSwapOutQueueEntry) GetSwapOut() *PendingSwapOut
func (*PendingSwapOutQueueEntry) GetTime ¶
func (x *PendingSwapOutQueueEntry) GetTime() int64
func (*PendingSwapOutQueueEntry) ProtoMessage ¶
func (*PendingSwapOutQueueEntry) ProtoMessage()
func (*PendingSwapOutQueueEntry) ProtoReflect ¶
func (x *PendingSwapOutQueueEntry) ProtoReflect() protoreflect.Message
func (*PendingSwapOutQueueEntry) Reset ¶
func (x *PendingSwapOutQueueEntry) Reset()
func (*PendingSwapOutQueueEntry) String ¶
func (x *PendingSwapOutQueueEntry) String() string
type PendingSwapOutWithTimeout ¶
type PendingSwapOutWithTimeout struct {
// request_id is the unique identifier for the pending swap out request.
RequestId uint64 `protobuf:"varint,1,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
// pending_swap_out contains the details of the swap out request.
PendingSwapOut *PendingSwapOut `protobuf:"bytes,2,opt,name=pending_swap_out,json=pendingSwapOut,proto3" json:"pending_swap_out,omitempty"`
// timeout is the time at which the pending swap out will expire if not processed.
Timeout *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=timeout,proto3" json:"timeout,omitempty"`
// contains filtered or unexported fields
}
PendingSwapOutWithTimeout is a pending swap out with its timeout.
func (*PendingSwapOutWithTimeout) Descriptor
deprecated
func (*PendingSwapOutWithTimeout) Descriptor() ([]byte, []int)
Deprecated: Use PendingSwapOutWithTimeout.ProtoReflect.Descriptor instead.
func (*PendingSwapOutWithTimeout) GetPendingSwapOut ¶
func (x *PendingSwapOutWithTimeout) GetPendingSwapOut() *PendingSwapOut
func (*PendingSwapOutWithTimeout) GetRequestId ¶
func (x *PendingSwapOutWithTimeout) GetRequestId() uint64
func (*PendingSwapOutWithTimeout) GetTimeout ¶
func (x *PendingSwapOutWithTimeout) GetTimeout() *timestamppb.Timestamp
func (*PendingSwapOutWithTimeout) ProtoMessage ¶
func (*PendingSwapOutWithTimeout) ProtoMessage()
func (*PendingSwapOutWithTimeout) ProtoReflect ¶
func (x *PendingSwapOutWithTimeout) ProtoReflect() protoreflect.Message
func (*PendingSwapOutWithTimeout) Reset ¶
func (x *PendingSwapOutWithTimeout) Reset()
func (*PendingSwapOutWithTimeout) String ¶
func (x *PendingSwapOutWithTimeout) String() string
type QueryClient ¶
type QueryClient interface {
// Vaults returns a paginated list of all vaults.
Vaults(ctx context.Context, in *QueryVaultsRequest, opts ...grpc.CallOption) (*QueryVaultsResponse, error)
// Vault returns the configuration and state of a specific vault.
Vault(ctx context.Context, in *QueryVaultRequest, opts ...grpc.CallOption) (*QueryVaultResponse, error)
// EstimateSwapIn estimates the amount of shares that would be received for a given amount of underlying assets.
EstimateSwapIn(ctx context.Context, in *QueryEstimateSwapInRequest, opts ...grpc.CallOption) (*QueryEstimateSwapInResponse, error)
// EstimateSwapOut estimates the amount of underlying assets that would be received for a given amount of shares.
EstimateSwapOut(ctx context.Context, in *QueryEstimateSwapOutRequest, opts ...grpc.CallOption) (*QueryEstimateSwapOutResponse, error)
// PendingSwapOuts returns a paginated list of all pending swap outs.
PendingSwapOuts(ctx context.Context, in *QueryPendingSwapOutsRequest, opts ...grpc.CallOption) (*QueryPendingSwapOutsResponse, error)
}
QueryClient is the client API for Query service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
Query is the service for the vault module's query endpoints.
func NewQueryClient ¶
func NewQueryClient(cc grpc.ClientConnInterface) QueryClient
type QueryEstimateSwapInRequest ¶
type QueryEstimateSwapInRequest struct {
// vault_address is the bech32 address of the vault to query.
VaultAddress string `protobuf:"bytes,1,opt,name=vault_address,json=vaultAddress,proto3" json:"vault_address,omitempty"`
// assets is the amount of underlying or payment denom to swap in.
Assets *v1beta11.Coin `protobuf:"bytes,2,opt,name=assets,proto3" json:"assets,omitempty"`
// contains filtered or unexported fields
}
QueryEstimateSwapInRequest is the request message for the Query/EstimateSwapIn endpoint.
func (*QueryEstimateSwapInRequest) Descriptor
deprecated
func (*QueryEstimateSwapInRequest) Descriptor() ([]byte, []int)
Deprecated: Use QueryEstimateSwapInRequest.ProtoReflect.Descriptor instead.
func (*QueryEstimateSwapInRequest) GetAssets ¶
func (x *QueryEstimateSwapInRequest) GetAssets() *v1beta11.Coin
func (*QueryEstimateSwapInRequest) GetVaultAddress ¶
func (x *QueryEstimateSwapInRequest) GetVaultAddress() string
func (*QueryEstimateSwapInRequest) ProtoMessage ¶
func (*QueryEstimateSwapInRequest) ProtoMessage()
func (*QueryEstimateSwapInRequest) ProtoReflect ¶
func (x *QueryEstimateSwapInRequest) ProtoReflect() protoreflect.Message
func (*QueryEstimateSwapInRequest) Reset ¶
func (x *QueryEstimateSwapInRequest) Reset()
func (*QueryEstimateSwapInRequest) String ¶
func (x *QueryEstimateSwapInRequest) String() string
type QueryEstimateSwapInResponse ¶
type QueryEstimateSwapInResponse struct {
// assets is the estimated amount of shares that would be received.
Assets *v1beta11.Coin `protobuf:"bytes,1,opt,name=assets,proto3" json:"assets,omitempty"`
// The block height when the estimate occurred.
Height int64 `protobuf:"varint,2,opt,name=height,proto3" json:"height,omitempty"`
// The UTC block time when the estimate occurred.
Time *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=time,proto3" json:"time,omitempty"`
// contains filtered or unexported fields
}
QueryEstimateSwapInResponse is the response message for the Query/EstimateSwapIn endpoint.
func (*QueryEstimateSwapInResponse) Descriptor
deprecated
func (*QueryEstimateSwapInResponse) Descriptor() ([]byte, []int)
Deprecated: Use QueryEstimateSwapInResponse.ProtoReflect.Descriptor instead.
func (*QueryEstimateSwapInResponse) GetAssets ¶
func (x *QueryEstimateSwapInResponse) GetAssets() *v1beta11.Coin
func (*QueryEstimateSwapInResponse) GetHeight ¶
func (x *QueryEstimateSwapInResponse) GetHeight() int64
func (*QueryEstimateSwapInResponse) GetTime ¶
func (x *QueryEstimateSwapInResponse) GetTime() *timestamppb.Timestamp
func (*QueryEstimateSwapInResponse) ProtoMessage ¶
func (*QueryEstimateSwapInResponse) ProtoMessage()
func (*QueryEstimateSwapInResponse) ProtoReflect ¶
func (x *QueryEstimateSwapInResponse) ProtoReflect() protoreflect.Message
func (*QueryEstimateSwapInResponse) Reset ¶
func (x *QueryEstimateSwapInResponse) Reset()
func (*QueryEstimateSwapInResponse) String ¶
func (x *QueryEstimateSwapInResponse) String() string
type QueryEstimateSwapOutRequest ¶
type QueryEstimateSwapOutRequest struct {
// vault_address is the bech32 address of the vault to query.
VaultAddress string `protobuf:"bytes,1,opt,name=vault_address,json=vaultAddress,proto3" json:"vault_address,omitempty"`
Shares string `protobuf:"bytes,2,opt,name=shares,proto3" json:"shares,omitempty"`
// redeem_denom is the payout denom to estimate; if empty, the underlying asset is used.
RedeemDenom string `protobuf:"bytes,3,opt,name=redeem_denom,json=redeemDenom,proto3" json:"redeem_denom,omitempty"`
// contains filtered or unexported fields
}
QueryEstimateSwapOutRequest is the request message for the Query/EstimateSwapOut endpoint.
func (*QueryEstimateSwapOutRequest) Descriptor
deprecated
func (*QueryEstimateSwapOutRequest) Descriptor() ([]byte, []int)
Deprecated: Use QueryEstimateSwapOutRequest.ProtoReflect.Descriptor instead.
func (*QueryEstimateSwapOutRequest) GetRedeemDenom ¶
func (x *QueryEstimateSwapOutRequest) GetRedeemDenom() string
func (*QueryEstimateSwapOutRequest) GetShares ¶
func (x *QueryEstimateSwapOutRequest) GetShares() string
func (*QueryEstimateSwapOutRequest) GetVaultAddress ¶
func (x *QueryEstimateSwapOutRequest) GetVaultAddress() string
func (*QueryEstimateSwapOutRequest) ProtoMessage ¶
func (*QueryEstimateSwapOutRequest) ProtoMessage()
func (*QueryEstimateSwapOutRequest) ProtoReflect ¶
func (x *QueryEstimateSwapOutRequest) ProtoReflect() protoreflect.Message
func (*QueryEstimateSwapOutRequest) Reset ¶
func (x *QueryEstimateSwapOutRequest) Reset()
func (*QueryEstimateSwapOutRequest) String ¶
func (x *QueryEstimateSwapOutRequest) String() string
type QueryEstimateSwapOutResponse ¶
type QueryEstimateSwapOutResponse struct {
// assets is the estimated amount of underlying assets that would be received.
Assets *v1beta11.Coin `protobuf:"bytes,1,opt,name=assets,proto3" json:"assets,omitempty"`
// The block height when the estimate occurred.
Height int64 `protobuf:"varint,2,opt,name=height,proto3" json:"height,omitempty"`
// The UTC block time when the estimate occurred.
Time *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=time,proto3" json:"time,omitempty"`
// contains filtered or unexported fields
}
QueryEstimateSwapOutResponse is the response message for the Query/EstimateSwapOut endpoint.
func (*QueryEstimateSwapOutResponse) Descriptor
deprecated
func (*QueryEstimateSwapOutResponse) Descriptor() ([]byte, []int)
Deprecated: Use QueryEstimateSwapOutResponse.ProtoReflect.Descriptor instead.
func (*QueryEstimateSwapOutResponse) GetAssets ¶
func (x *QueryEstimateSwapOutResponse) GetAssets() *v1beta11.Coin
func (*QueryEstimateSwapOutResponse) GetHeight ¶
func (x *QueryEstimateSwapOutResponse) GetHeight() int64
func (*QueryEstimateSwapOutResponse) GetTime ¶
func (x *QueryEstimateSwapOutResponse) GetTime() *timestamppb.Timestamp
func (*QueryEstimateSwapOutResponse) ProtoMessage ¶
func (*QueryEstimateSwapOutResponse) ProtoMessage()
func (*QueryEstimateSwapOutResponse) ProtoReflect ¶
func (x *QueryEstimateSwapOutResponse) ProtoReflect() protoreflect.Message
func (*QueryEstimateSwapOutResponse) Reset ¶
func (x *QueryEstimateSwapOutResponse) Reset()
func (*QueryEstimateSwapOutResponse) String ¶
func (x *QueryEstimateSwapOutResponse) String() string
type QueryPendingSwapOutsRequest ¶
type QueryPendingSwapOutsRequest struct {
// pagination defines an optional pagination for the request.
Pagination *v1beta1.PageRequest `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"`
// contains filtered or unexported fields
}
QueryPendingSwapOutsRequest is the request message for the Query/PendingSwapOuts endpoint.
func (*QueryPendingSwapOutsRequest) Descriptor
deprecated
func (*QueryPendingSwapOutsRequest) Descriptor() ([]byte, []int)
Deprecated: Use QueryPendingSwapOutsRequest.ProtoReflect.Descriptor instead.
func (*QueryPendingSwapOutsRequest) GetPagination ¶
func (x *QueryPendingSwapOutsRequest) GetPagination() *v1beta1.PageRequest
func (*QueryPendingSwapOutsRequest) ProtoMessage ¶
func (*QueryPendingSwapOutsRequest) ProtoMessage()
func (*QueryPendingSwapOutsRequest) ProtoReflect ¶
func (x *QueryPendingSwapOutsRequest) ProtoReflect() protoreflect.Message
func (*QueryPendingSwapOutsRequest) Reset ¶
func (x *QueryPendingSwapOutsRequest) Reset()
func (*QueryPendingSwapOutsRequest) String ¶
func (x *QueryPendingSwapOutsRequest) String() string
type QueryPendingSwapOutsResponse ¶
type QueryPendingSwapOutsResponse struct {
// pending_swap_outs is a list of all pending swap outs.
PendingSwapOuts []*PendingSwapOutWithTimeout `protobuf:"bytes,1,rep,name=pending_swap_outs,json=pendingSwapOuts,proto3" json:"pending_swap_outs,omitempty"`
// pagination defines the pagination in the response.
Pagination *v1beta1.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
// contains filtered or unexported fields
}
QueryPendingSwapOutsResponse is the response message for the Query/PendingSwapOuts endpoint.
func (*QueryPendingSwapOutsResponse) Descriptor
deprecated
func (*QueryPendingSwapOutsResponse) Descriptor() ([]byte, []int)
Deprecated: Use QueryPendingSwapOutsResponse.ProtoReflect.Descriptor instead.
func (*QueryPendingSwapOutsResponse) GetPagination ¶
func (x *QueryPendingSwapOutsResponse) GetPagination() *v1beta1.PageResponse
func (*QueryPendingSwapOutsResponse) GetPendingSwapOuts ¶
func (x *QueryPendingSwapOutsResponse) GetPendingSwapOuts() []*PendingSwapOutWithTimeout
func (*QueryPendingSwapOutsResponse) ProtoMessage ¶
func (*QueryPendingSwapOutsResponse) ProtoMessage()
func (*QueryPendingSwapOutsResponse) ProtoReflect ¶
func (x *QueryPendingSwapOutsResponse) ProtoReflect() protoreflect.Message
func (*QueryPendingSwapOutsResponse) Reset ¶
func (x *QueryPendingSwapOutsResponse) Reset()
func (*QueryPendingSwapOutsResponse) String ¶
func (x *QueryPendingSwapOutsResponse) String() string
type QueryServer ¶
type QueryServer interface {
// Vaults returns a paginated list of all vaults.
Vaults(context.Context, *QueryVaultsRequest) (*QueryVaultsResponse, error)
// Vault returns the configuration and state of a specific vault.
Vault(context.Context, *QueryVaultRequest) (*QueryVaultResponse, error)
// EstimateSwapIn estimates the amount of shares that would be received for a given amount of underlying assets.
EstimateSwapIn(context.Context, *QueryEstimateSwapInRequest) (*QueryEstimateSwapInResponse, error)
// EstimateSwapOut estimates the amount of underlying assets that would be received for a given amount of shares.
EstimateSwapOut(context.Context, *QueryEstimateSwapOutRequest) (*QueryEstimateSwapOutResponse, error)
// PendingSwapOuts returns a paginated list of all pending swap outs.
PendingSwapOuts(context.Context, *QueryPendingSwapOutsRequest) (*QueryPendingSwapOutsResponse, error)
// contains filtered or unexported methods
}
QueryServer is the server API for Query service. All implementations must embed UnimplementedQueryServer for forward compatibility.
Query is the service for the vault module's query endpoints.
type QueryVaultRequest ¶
type QueryVaultRequest struct {
// id is the bech32 address of the vault or the vault's share denom to query.
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
// contains filtered or unexported fields
}
QueryVaultRequest is the request message for the Query/Vault endpoint.
func (*QueryVaultRequest) Descriptor
deprecated
func (*QueryVaultRequest) Descriptor() ([]byte, []int)
Deprecated: Use QueryVaultRequest.ProtoReflect.Descriptor instead.
func (*QueryVaultRequest) GetId ¶
func (x *QueryVaultRequest) GetId() string
func (*QueryVaultRequest) ProtoMessage ¶
func (*QueryVaultRequest) ProtoMessage()
func (*QueryVaultRequest) ProtoReflect ¶
func (x *QueryVaultRequest) ProtoReflect() protoreflect.Message
func (*QueryVaultRequest) Reset ¶
func (x *QueryVaultRequest) Reset()
func (*QueryVaultRequest) String ¶
func (x *QueryVaultRequest) String() string
type QueryVaultResponse ¶
type QueryVaultResponse struct {
// vault is the requested vault.
Vault *VaultAccount `protobuf:"bytes,1,opt,name=vault,proto3" json:"vault,omitempty"`
// principal is the total amount of principal held in the vault's marker.
Principal *AccountBalance `protobuf:"bytes,2,opt,name=principal,proto3" json:"principal,omitempty"`
// reserves is the total amount of reserves held in the vault account for interest payments.
Reserves *AccountBalance `protobuf:"bytes,3,opt,name=reserves,proto3" json:"reserves,omitempty"`
// contains filtered or unexported fields
}
QueryVaultResponse is the response message for the Query/Vault endpoint.
func (*QueryVaultResponse) Descriptor
deprecated
func (*QueryVaultResponse) Descriptor() ([]byte, []int)
Deprecated: Use QueryVaultResponse.ProtoReflect.Descriptor instead.
func (*QueryVaultResponse) GetPrincipal ¶
func (x *QueryVaultResponse) GetPrincipal() *AccountBalance
func (*QueryVaultResponse) GetReserves ¶
func (x *QueryVaultResponse) GetReserves() *AccountBalance
func (*QueryVaultResponse) GetVault ¶
func (x *QueryVaultResponse) GetVault() *VaultAccount
func (*QueryVaultResponse) ProtoMessage ¶
func (*QueryVaultResponse) ProtoMessage()
func (*QueryVaultResponse) ProtoReflect ¶
func (x *QueryVaultResponse) ProtoReflect() protoreflect.Message
func (*QueryVaultResponse) Reset ¶
func (x *QueryVaultResponse) Reset()
func (*QueryVaultResponse) String ¶
func (x *QueryVaultResponse) String() string
type QueryVaultsRequest ¶
type QueryVaultsRequest struct {
// pagination defines an optional pagination for the request.
Pagination *v1beta1.PageRequest `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"`
// contains filtered or unexported fields
}
QueryVaultsRequest is the request message for the Query/Vaults endpoint.
func (*QueryVaultsRequest) Descriptor
deprecated
func (*QueryVaultsRequest) Descriptor() ([]byte, []int)
Deprecated: Use QueryVaultsRequest.ProtoReflect.Descriptor instead.
func (*QueryVaultsRequest) GetPagination ¶
func (x *QueryVaultsRequest) GetPagination() *v1beta1.PageRequest
func (*QueryVaultsRequest) ProtoMessage ¶
func (*QueryVaultsRequest) ProtoMessage()
func (*QueryVaultsRequest) ProtoReflect ¶
func (x *QueryVaultsRequest) ProtoReflect() protoreflect.Message
func (*QueryVaultsRequest) Reset ¶
func (x *QueryVaultsRequest) Reset()
func (*QueryVaultsRequest) String ¶
func (x *QueryVaultsRequest) String() string
type QueryVaultsResponse ¶
type QueryVaultsResponse struct {
// vaults is a list of all vaults.
Vaults []*VaultAccount `protobuf:"bytes,1,rep,name=vaults,proto3" json:"vaults,omitempty"`
// pagination defines the pagination in the response.
Pagination *v1beta1.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
// contains filtered or unexported fields
}
QueryVaultsResponse is the response message for the Query/Vaults endpoint.
func (*QueryVaultsResponse) Descriptor
deprecated
func (*QueryVaultsResponse) Descriptor() ([]byte, []int)
Deprecated: Use QueryVaultsResponse.ProtoReflect.Descriptor instead.
func (*QueryVaultsResponse) GetPagination ¶
func (x *QueryVaultsResponse) GetPagination() *v1beta1.PageResponse
func (*QueryVaultsResponse) GetVaults ¶
func (x *QueryVaultsResponse) GetVaults() []*VaultAccount
func (*QueryVaultsResponse) ProtoMessage ¶
func (*QueryVaultsResponse) ProtoMessage()
func (*QueryVaultsResponse) ProtoReflect ¶
func (x *QueryVaultsResponse) ProtoReflect() protoreflect.Message
func (*QueryVaultsResponse) Reset ¶
func (x *QueryVaultsResponse) Reset()
func (*QueryVaultsResponse) String ¶
func (x *QueryVaultsResponse) String() string
type QueueEntry ¶
type QueueEntry struct {
Time uint64 `protobuf:"varint,1,opt,name=time,proto3" json:"time,omitempty"`
Addr string `protobuf:"bytes,2,opt,name=addr,proto3" json:"addr,omitempty"`
// contains filtered or unexported fields
}
func (*QueueEntry) Descriptor
deprecated
func (*QueueEntry) Descriptor() ([]byte, []int)
Deprecated: Use QueueEntry.ProtoReflect.Descriptor instead.
func (*QueueEntry) GetAddr ¶
func (x *QueueEntry) GetAddr() string
func (*QueueEntry) GetTime ¶
func (x *QueueEntry) GetTime() uint64
func (*QueueEntry) ProtoMessage ¶
func (*QueueEntry) ProtoMessage()
func (*QueueEntry) ProtoReflect ¶
func (x *QueueEntry) ProtoReflect() protoreflect.Message
func (*QueueEntry) Reset ¶
func (x *QueueEntry) Reset()
func (*QueueEntry) String ¶
func (x *QueueEntry) String() string
type UnimplementedMsgServer ¶
type UnimplementedMsgServer struct{}
UnimplementedMsgServer must be embedded to have forward compatible implementations.
NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.
func (UnimplementedMsgServer) BridgeBurnShares ¶
func (UnimplementedMsgServer) BridgeBurnShares(context.Context, *MsgBridgeBurnSharesRequest) (*MsgBridgeBurnSharesResponse, error)
func (UnimplementedMsgServer) BridgeMintShares ¶
func (UnimplementedMsgServer) BridgeMintShares(context.Context, *MsgBridgeMintSharesRequest) (*MsgBridgeMintSharesResponse, error)
func (UnimplementedMsgServer) CreateVault ¶
func (UnimplementedMsgServer) CreateVault(context.Context, *MsgCreateVaultRequest) (*MsgCreateVaultResponse, error)
func (UnimplementedMsgServer) DepositInterestFunds ¶
func (UnimplementedMsgServer) DepositInterestFunds(context.Context, *MsgDepositInterestFundsRequest) (*MsgDepositInterestFundsResponse, error)
func (UnimplementedMsgServer) DepositPrincipalFunds ¶
func (UnimplementedMsgServer) DepositPrincipalFunds(context.Context, *MsgDepositPrincipalFundsRequest) (*MsgDepositPrincipalFundsResponse, error)
func (UnimplementedMsgServer) ExpeditePendingSwapOut ¶
func (UnimplementedMsgServer) ExpeditePendingSwapOut(context.Context, *MsgExpeditePendingSwapOutRequest) (*MsgExpeditePendingSwapOutResponse, error)
func (UnimplementedMsgServer) PauseVault ¶
func (UnimplementedMsgServer) PauseVault(context.Context, *MsgPauseVaultRequest) (*MsgPauseVaultResponse, error)
func (UnimplementedMsgServer) SetBridgeAddress ¶
func (UnimplementedMsgServer) SetBridgeAddress(context.Context, *MsgSetBridgeAddressRequest) (*MsgSetBridgeAddressResponse, error)
func (UnimplementedMsgServer) SwapIn ¶
func (UnimplementedMsgServer) SwapIn(context.Context, *MsgSwapInRequest) (*MsgSwapInResponse, error)
func (UnimplementedMsgServer) SwapOut ¶
func (UnimplementedMsgServer) SwapOut(context.Context, *MsgSwapOutRequest) (*MsgSwapOutResponse, error)
func (UnimplementedMsgServer) ToggleBridge ¶
func (UnimplementedMsgServer) ToggleBridge(context.Context, *MsgToggleBridgeRequest) (*MsgToggleBridgeResponse, error)
func (UnimplementedMsgServer) ToggleSwapIn ¶
func (UnimplementedMsgServer) ToggleSwapIn(context.Context, *MsgToggleSwapInRequest) (*MsgToggleSwapInResponse, error)
func (UnimplementedMsgServer) ToggleSwapOut ¶
func (UnimplementedMsgServer) ToggleSwapOut(context.Context, *MsgToggleSwapOutRequest) (*MsgToggleSwapOutResponse, error)
func (UnimplementedMsgServer) UnpauseVault ¶
func (UnimplementedMsgServer) UnpauseVault(context.Context, *MsgUnpauseVaultRequest) (*MsgUnpauseVaultResponse, error)
func (UnimplementedMsgServer) UpdateInterestRate ¶
func (UnimplementedMsgServer) UpdateInterestRate(context.Context, *MsgUpdateInterestRateRequest) (*MsgUpdateInterestRateResponse, error)
func (UnimplementedMsgServer) UpdateMaxInterestRate ¶
func (UnimplementedMsgServer) UpdateMaxInterestRate(context.Context, *MsgUpdateMaxInterestRateRequest) (*MsgUpdateMaxInterestRateResponse, error)
func (UnimplementedMsgServer) UpdateMinInterestRate ¶
func (UnimplementedMsgServer) UpdateMinInterestRate(context.Context, *MsgUpdateMinInterestRateRequest) (*MsgUpdateMinInterestRateResponse, error)
func (UnimplementedMsgServer) WithdrawInterestFunds ¶
func (UnimplementedMsgServer) WithdrawInterestFunds(context.Context, *MsgWithdrawInterestFundsRequest) (*MsgWithdrawInterestFundsResponse, error)
func (UnimplementedMsgServer) WithdrawPrincipalFunds ¶
func (UnimplementedMsgServer) WithdrawPrincipalFunds(context.Context, *MsgWithdrawPrincipalFundsRequest) (*MsgWithdrawPrincipalFundsResponse, error)
type UnimplementedQueryServer ¶
type UnimplementedQueryServer struct{}
UnimplementedQueryServer must be embedded to have forward compatible implementations.
NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.
func (UnimplementedQueryServer) EstimateSwapIn ¶
func (UnimplementedQueryServer) EstimateSwapIn(context.Context, *QueryEstimateSwapInRequest) (*QueryEstimateSwapInResponse, error)
func (UnimplementedQueryServer) EstimateSwapOut ¶
func (UnimplementedQueryServer) EstimateSwapOut(context.Context, *QueryEstimateSwapOutRequest) (*QueryEstimateSwapOutResponse, error)
func (UnimplementedQueryServer) PendingSwapOuts ¶
func (UnimplementedQueryServer) PendingSwapOuts(context.Context, *QueryPendingSwapOutsRequest) (*QueryPendingSwapOutsResponse, error)
func (UnimplementedQueryServer) Vault ¶
func (UnimplementedQueryServer) Vault(context.Context, *QueryVaultRequest) (*QueryVaultResponse, error)
func (UnimplementedQueryServer) Vaults ¶
func (UnimplementedQueryServer) Vaults(context.Context, *QueryVaultsRequest) (*QueryVaultsResponse, error)
type UnsafeMsgServer ¶
type UnsafeMsgServer interface {
// contains filtered or unexported methods
}
UnsafeMsgServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to MsgServer will result in compilation errors.
type UnsafeQueryServer ¶
type UnsafeQueryServer interface {
// contains filtered or unexported methods
}
UnsafeQueryServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to QueryServer will result in compilation errors.
type VaultAccount ¶
type VaultAccount struct {
// base_account cosmos account information including address and coin holdings.
BaseAccount *v1beta1.BaseAccount `protobuf:"bytes,1,opt,name=base_account,json=baseAccount,proto3" json:"base_account,omitempty"`
// It serves as the canonical supply-of-record for all shares, regardless of whether
// they are held locally on Provenance or externally (e.g., bridged).
TotalShares *v1beta11.Coin `protobuf:"bytes,2,opt,name=total_shares,json=totalShares,proto3" json:"total_shares,omitempty"`
// underlying_asset is the vault’s single principal collateral AND valuation/base unit.
// - Exactly one denom.
// - Total Vault Value (TVV) and NAV-per-share are computed and reported in this denom.
// - Interest accrual and internal accounting are measured in this denom.
// - Any other coin accepted for I/O must have a NAV record priced INTO this denom.
UnderlyingAsset string `protobuf:"bytes,3,opt,name=underlying_asset,json=underlyingAsset,proto3" json:"underlying_asset,omitempty"`
// payment_denom is the single optional external payment coin supported for user I/O
// alongside the underlying_asset.
// - If unset, the vault operates single-denom: deposits/withdrawals only in underlying_asset.
// - If set, swap-in/out accept either underlying_asset OR payment_denom (one denom per call).
// - Must differ from share_denom and underlying_asset.
// - Requires an on-chain NAV record mapping payment_denom -> underlying_asset to value deposits
// and redemptions.
PaymentDenom string `protobuf:"bytes,4,opt,name=payment_denom,json=paymentDenom,proto3" json:"payment_denom,omitempty"`
// admin is the address that has administrative privileges over the vault.
Admin string `protobuf:"bytes,5,opt,name=admin,proto3" json:"admin,omitempty"`
// current_interest_rate is a decimal string (e.g., "0.9" for 90% and "0.9001353" for 90.01353%) representing the actual annual interest rate currently being applied.
// This may be adjusted programmatically (e.g., due to lack of funds).
CurrentInterestRate string `protobuf:"bytes,6,opt,name=current_interest_rate,json=currentInterestRate,proto3" json:"current_interest_rate,omitempty"`
// desired_interest_rate is a decimal string (e.g., "0.9" for 90% and "0.9001353" for 90.01353%) representing the target annual interest rate that the vault intends to apply.
DesiredInterestRate string `protobuf:"bytes,7,opt,name=desired_interest_rate,json=desiredInterestRate,proto3" json:"desired_interest_rate,omitempty"`
// min_interest_rate is a decimal string (e.g., "0.9" for 90% and "0.9001353" for 90.01353%) representing the lowest annual interest rate the admin is allowed to set.
// If unset (empty string), there is no lower limit.
MinInterestRate string `protobuf:"bytes,8,opt,name=min_interest_rate,json=minInterestRate,proto3" json:"min_interest_rate,omitempty"`
// max_interest_rate is a decimal string (e.g., "0.9" for 90% and "0.9001353" for 90.01353%) representing the highest annual interest rate the admin is allowed to set.
// If unset (empty string), there is no upper limit.
MaxInterestRate string `protobuf:"bytes,9,opt,name=max_interest_rate,json=maxInterestRate,proto3" json:"max_interest_rate,omitempty"`
// The start time (in Unix seconds) of the current interest accrual period.
PeriodStart int64 `protobuf:"varint,10,opt,name=period_start,json=periodStart,proto3" json:"period_start,omitempty"`
// The expire time (in Unix seconds) of the current interest accrual period.
PeriodTimeout int64 `protobuf:"varint,11,opt,name=period_timeout,json=periodTimeout,proto3" json:"period_timeout,omitempty"`
// swap_in_enabled indicates whether users are allowed to deposit into the vault.
SwapInEnabled bool `protobuf:"varint,12,opt,name=swap_in_enabled,json=swapInEnabled,proto3" json:"swap_in_enabled,omitempty"`
// swap_out_enabled indicates whether users are allowed to withdraw from the vault.
SwapOutEnabled bool `protobuf:"varint,13,opt,name=swap_out_enabled,json=swapOutEnabled,proto3" json:"swap_out_enabled,omitempty"`
// withdrawal_delay_seconds is the configured time period (in seconds) that a withdrawal
// request must wait in the pending queue before being processed.
WithdrawalDelaySeconds uint64 `` /* 131-byte string literal not displayed */
// paused indicates that all user-facing swap-in and swap-out operations are disabled.
Paused bool `protobuf:"varint,15,opt,name=paused,proto3" json:"paused,omitempty"`
// paused_balance is the total vault value snapshot taken at the moment of pausing.
// This value is used for all NAV calculations while the vault is paused to prevent
// apparent devaluation during collateral rebalancing. It is cleared upon unpausing.
PausedBalance *v1beta11.Coin `protobuf:"bytes,16,opt,name=paused_balance,json=pausedBalance,proto3" json:"paused_balance,omitempty"`
// paused_reason is a human-readable string explaining why the vault was paused, particularly for automatic pauses.
PausedReason string `protobuf:"bytes,17,opt,name=paused_reason,json=pausedReason,proto3" json:"paused_reason,omitempty"`
// bridge_address is the single external address allowed to mint or burn shares on behalf
// of this vault (e.g., for bridging to another chain). All mint/burn must flow through the
// vault keeper, which enforces that marker supply never exceeds total_shares.
BridgeAddress string `protobuf:"bytes,18,opt,name=bridge_address,json=bridgeAddress,proto3" json:"bridge_address,omitempty"`
// bridge_enabled indicates whether the bridge functionality is active. If false, the
// bridge_address has no effect and cannot mint or burn.
BridgeEnabled bool `protobuf:"varint,19,opt,name=bridge_enabled,json=bridgeEnabled,proto3" json:"bridge_enabled,omitempty"`
// contains filtered or unexported fields
}
VaultAccount represents a central holding place for assets, governed by a set of rules. It is based on the ERC-4626 standard and builds upon the Provenance Marker module.
func (*VaultAccount) Descriptor
deprecated
func (*VaultAccount) Descriptor() ([]byte, []int)
Deprecated: Use VaultAccount.ProtoReflect.Descriptor instead.
func (*VaultAccount) GetAdmin ¶
func (x *VaultAccount) GetAdmin() string
func (*VaultAccount) GetBaseAccount ¶
func (x *VaultAccount) GetBaseAccount() *v1beta1.BaseAccount
func (*VaultAccount) GetBridgeAddress ¶
func (x *VaultAccount) GetBridgeAddress() string
func (*VaultAccount) GetBridgeEnabled ¶
func (x *VaultAccount) GetBridgeEnabled() bool
func (*VaultAccount) GetCurrentInterestRate ¶
func (x *VaultAccount) GetCurrentInterestRate() string
func (*VaultAccount) GetDesiredInterestRate ¶
func (x *VaultAccount) GetDesiredInterestRate() string
func (*VaultAccount) GetMaxInterestRate ¶
func (x *VaultAccount) GetMaxInterestRate() string
func (*VaultAccount) GetMinInterestRate ¶
func (x *VaultAccount) GetMinInterestRate() string
func (*VaultAccount) GetPaused ¶
func (x *VaultAccount) GetPaused() bool
func (*VaultAccount) GetPausedBalance ¶
func (x *VaultAccount) GetPausedBalance() *v1beta11.Coin
func (*VaultAccount) GetPausedReason ¶
func (x *VaultAccount) GetPausedReason() string
func (*VaultAccount) GetPaymentDenom ¶
func (x *VaultAccount) GetPaymentDenom() string
func (*VaultAccount) GetPeriodStart ¶
func (x *VaultAccount) GetPeriodStart() int64
func (*VaultAccount) GetPeriodTimeout ¶
func (x *VaultAccount) GetPeriodTimeout() int64
func (*VaultAccount) GetSwapInEnabled ¶
func (x *VaultAccount) GetSwapInEnabled() bool
func (*VaultAccount) GetSwapOutEnabled ¶
func (x *VaultAccount) GetSwapOutEnabled() bool
func (*VaultAccount) GetTotalShares ¶
func (x *VaultAccount) GetTotalShares() *v1beta11.Coin
func (*VaultAccount) GetUnderlyingAsset ¶
func (x *VaultAccount) GetUnderlyingAsset() string
func (*VaultAccount) GetWithdrawalDelaySeconds ¶
func (x *VaultAccount) GetWithdrawalDelaySeconds() uint64
func (*VaultAccount) ProtoMessage ¶
func (*VaultAccount) ProtoMessage()
func (*VaultAccount) ProtoReflect ¶
func (x *VaultAccount) ProtoReflect() protoreflect.Message
func (*VaultAccount) Reset ¶
func (x *VaultAccount) Reset()
func (*VaultAccount) String ¶
func (x *VaultAccount) String() string