vaultv1

package
v1.0.0-beta1 Latest Latest
Warning

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

Go to latest
Published: Sep 22, 2025 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Overview

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

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

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

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

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

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

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

Index

Constants

View Source
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"
)
View Source
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"
)

Variables

View Source
var File_vault_v1_events_proto protoreflect.FileDescriptor
View Source
var File_vault_v1_genesis_proto protoreflect.FileDescriptor
View Source
var File_vault_v1_interest_proto protoreflect.FileDescriptor
View Source
var File_vault_v1_params_proto protoreflect.FileDescriptor
View Source
var File_vault_v1_query_proto protoreflect.FileDescriptor
View Source
var File_vault_v1_tx_proto protoreflect.FileDescriptor
View Source
var File_vault_v1_vault_proto protoreflect.FileDescriptor
View Source
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,
		},
	},
	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)

View Source
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 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 is the coins amount string of the vault shares that were minted.
	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 (*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 (*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 (*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 (*EventPendingSwapOutExpedited) Reset

func (x *EventPendingSwapOutExpedited) Reset()

func (*EventPendingSwapOutExpedited) 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"`
	// shares_received is the amount of vault shares that were minted.
	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"`
	// shares_burned is the amount of vault shares that were burned.
	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 is the amount of vault shares that were returned to the user.
	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 is the amount of vault shares the user escrowed for this request.
	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 EventVaultAutoPaused

type EventVaultAutoPaused struct {

	// vault_address is the address of the vault that was paused.
	VaultAddress string `protobuf:"bytes,1,opt,name=vault_address,json=vaultAddress,proto3" json:"vault_address,omitempty"`
	// reason is the critical error message that triggered the automatic pause.
	Reason string `protobuf:"bytes,2,opt,name=reason,proto3" json:"reason,omitempty"`
	// contains filtered or unexported fields
}

EventVaultAutoPaused is emitted when a vault is automatically paused due to a critical error.

func (*EventVaultAutoPaused) Descriptor deprecated

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

Deprecated: Use EventVaultAutoPaused.ProtoReflect.Descriptor instead.

func (*EventVaultAutoPaused) GetReason

func (x *EventVaultAutoPaused) GetReason() string

func (*EventVaultAutoPaused) GetVaultAddress

func (x *EventVaultAutoPaused) GetVaultAddress() string

func (*EventVaultAutoPaused) ProtoMessage

func (*EventVaultAutoPaused) ProtoMessage()

func (*EventVaultAutoPaused) ProtoReflect

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

func (*EventVaultAutoPaused) Reset

func (x *EventVaultAutoPaused) Reset()

func (*EventVaultAutoPaused) String

func (x *EventVaultAutoPaused) 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"`
	// share_denom is the name of the assets created by the vault used for distribution.
	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 is the coins amount string of the vault shares that were burned.
	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 (*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 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)
}

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"`
	// share_denom is the name of the assets created by the vault used for distribution.
	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 (*MsgDepositInterestFundsRequest) GetVaultAddress

func (x *MsgDepositInterestFundsRequest) GetVaultAddress() string

func (*MsgDepositInterestFundsRequest) ProtoMessage

func (*MsgDepositInterestFundsRequest) ProtoMessage()

func (*MsgDepositInterestFundsRequest) ProtoReflect

func (*MsgDepositInterestFundsRequest) Reset

func (x *MsgDepositInterestFundsRequest) Reset()

func (*MsgDepositInterestFundsRequest) 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 (*MsgDepositInterestFundsResponse) Reset

func (*MsgDepositInterestFundsResponse) 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 (*MsgDepositPrincipalFundsRequest) GetAmount

func (*MsgDepositPrincipalFundsRequest) GetVaultAddress

func (x *MsgDepositPrincipalFundsRequest) GetVaultAddress() string

func (*MsgDepositPrincipalFundsRequest) ProtoMessage

func (*MsgDepositPrincipalFundsRequest) ProtoMessage()

func (*MsgDepositPrincipalFundsRequest) ProtoReflect

func (*MsgDepositPrincipalFundsRequest) Reset

func (*MsgDepositPrincipalFundsRequest) 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 (*MsgDepositPrincipalFundsResponse) Reset

func (*MsgDepositPrincipalFundsResponse) 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 (*MsgExpeditePendingSwapOutRequest) GetRequestId

func (x *MsgExpeditePendingSwapOutRequest) GetRequestId() uint64

func (*MsgExpeditePendingSwapOutRequest) ProtoMessage

func (*MsgExpeditePendingSwapOutRequest) ProtoMessage()

func (*MsgExpeditePendingSwapOutRequest) ProtoReflect

func (*MsgExpeditePendingSwapOutRequest) Reset

func (*MsgExpeditePendingSwapOutRequest) 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 (*MsgExpeditePendingSwapOutResponse) Reset

func (*MsgExpeditePendingSwapOutResponse) String

type MsgPauseVaultRequest

type MsgPauseVaultRequest struct {
	Admin        string `protobuf:"bytes,1,opt,name=admin,proto3" json:"admin,omitempty"`
	VaultAddress string `protobuf:"bytes,2,opt,name=vault_address,json=vaultAddress,proto3" json:"vault_address,omitempty"`
	Reason       string `protobuf:"bytes,3,opt,name=reason,proto3" json:"reason,omitempty"`
	// contains filtered or unexported fields
}

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
}

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)
	// 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 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 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        string `protobuf:"bytes,1,opt,name=admin,proto3" json:"admin,omitempty"`
	VaultAddress string `protobuf:"bytes,2,opt,name=vault_address,json=vaultAddress,proto3" json:"vault_address,omitempty"`
	// contains filtered or unexported fields
}

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
}

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 (*MsgUpdateInterestRateRequest) Reset

func (x *MsgUpdateInterestRateRequest) Reset()

func (*MsgUpdateInterestRateRequest) 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 (*MsgUpdateInterestRateResponse) Reset

func (x *MsgUpdateInterestRateResponse) Reset()

func (*MsgUpdateInterestRateResponse) 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 (*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 (*MsgUpdateMaxInterestRateRequest) Reset

func (*MsgUpdateMaxInterestRateRequest) 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 (*MsgUpdateMaxInterestRateResponse) Reset

func (*MsgUpdateMaxInterestRateResponse) 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 (*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 (*MsgUpdateMinInterestRateRequest) Reset

func (*MsgUpdateMinInterestRateRequest) 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 (*MsgUpdateMinInterestRateResponse) Reset

func (*MsgUpdateMinInterestRateResponse) 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 (*MsgWithdrawInterestFundsRequest) GetAmount

func (*MsgWithdrawInterestFundsRequest) GetVaultAddress

func (x *MsgWithdrawInterestFundsRequest) GetVaultAddress() string

func (*MsgWithdrawInterestFundsRequest) ProtoMessage

func (*MsgWithdrawInterestFundsRequest) ProtoMessage()

func (*MsgWithdrawInterestFundsRequest) ProtoReflect

func (*MsgWithdrawInterestFundsRequest) Reset

func (*MsgWithdrawInterestFundsRequest) 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 (*MsgWithdrawInterestFundsResponse) Reset

func (*MsgWithdrawInterestFundsResponse) 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 (*MsgWithdrawPrincipalFundsRequest) GetAmount

func (*MsgWithdrawPrincipalFundsRequest) GetVaultAddress

func (x *MsgWithdrawPrincipalFundsRequest) GetVaultAddress() string

func (*MsgWithdrawPrincipalFundsRequest) ProtoMessage

func (*MsgWithdrawPrincipalFundsRequest) ProtoMessage()

func (*MsgWithdrawPrincipalFundsRequest) ProtoReflect

func (*MsgWithdrawPrincipalFundsRequest) Reset

func (*MsgWithdrawPrincipalFundsRequest) 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 (*MsgWithdrawPrincipalFundsResponse) Reset

func (*MsgWithdrawPrincipalFundsResponse) String

type Params

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

Params defines the parameters for the module.

func (*Params) Descriptor deprecated

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

Deprecated: Use Params.ProtoReflect.Descriptor instead.

func (*Params) ProtoMessage

func (*Params) ProtoMessage()

func (*Params) ProtoReflect

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

func (*Params) Reset

func (x *Params) Reset()

func (*Params) String

func (x *Params) String() string

type 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 are the shares that were escrowed by the user.
	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 (*PendingSwapOutWithTimeout) ProtoMessage

func (*PendingSwapOutWithTimeout) ProtoMessage()

func (*PendingSwapOutWithTimeout) ProtoReflect

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 (*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 (*QueryEstimateSwapInResponse) ProtoMessage

func (*QueryEstimateSwapInResponse) ProtoMessage()

func (*QueryEstimateSwapInResponse) ProtoReflect

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 is the amount of shares to swap out.
	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 (*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 (*QueryEstimateSwapOutResponse) ProtoMessage

func (*QueryEstimateSwapOutResponse) ProtoMessage()

func (*QueryEstimateSwapOutResponse) ProtoReflect

func (*QueryEstimateSwapOutResponse) Reset

func (x *QueryEstimateSwapOutResponse) Reset()

func (*QueryEstimateSwapOutResponse) 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 (*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 (*QueryPendingSwapOutsResponse) GetPendingSwapOuts

func (x *QueryPendingSwapOutsResponse) GetPendingSwapOuts() []*PendingSwapOutWithTimeout

func (*QueryPendingSwapOutsResponse) ProtoMessage

func (*QueryPendingSwapOutsResponse) ProtoMessage()

func (*QueryPendingSwapOutsResponse) ProtoReflect

func (*QueryPendingSwapOutsResponse) Reset

func (x *QueryPendingSwapOutsResponse) Reset()

func (*QueryPendingSwapOutsResponse) 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) CreateVault

func (UnimplementedMsgServer) PauseVault

func (UnimplementedMsgServer) SwapIn

func (UnimplementedMsgServer) SwapOut

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) Vault

func (UnimplementedQueryServer) Vaults

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"`
	// share_denom is the denomination used to represent shares in the vault (e.g., vault tokens).
	ShareDenom string `protobuf:"bytes,2,opt,name=share_denom,json=shareDenom,proto3" json:"share_denom,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"`
	// 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) 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) GetShareDenom

func (x *VaultAccount) GetShareDenom() string

func (*VaultAccount) GetSwapInEnabled

func (x *VaultAccount) GetSwapInEnabled() bool

func (*VaultAccount) GetSwapOutEnabled

func (x *VaultAccount) GetSwapOutEnabled() bool

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

Jump to

Keyboard shortcuts

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