types

package
v1.0.12 Latest Latest
Warning

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

Go to latest
Published: Nov 5, 2025 License: Apache-2.0 Imports: 37 Imported by: 0

Documentation

Overview

Package types is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Index

Constants

View Source
const (
	RefundReasonInsufficientFunds          = "insufficient_funds"
	RefundReasonPermissionDenied           = "permission_denied"
	RefundReasonMarkerNotActive            = "marker_not_active"
	RefundReasonRecipientMissingAttributes = "recipient_missing_required_attributes"
	RefundReasonRecipientInvalid           = "recipient_invalid"
	RefundReasonNavNotFound                = "nav_not_found"
	RefundReasonReconcileFailure           = "reconcile_failure"
	RefundReasonUnknown                    = "unknown_error"
)
View Source
const (
	// ModuleName defines the module name
	ModuleName = "vault"

	// StoreKey defines the primary module store key
	StoreKey = ModuleName

	// GovModuleName duplicates the gov module's name to avoid a dependency with x/gov.
	// It should be synced with the gov module's name if it is ever changed.
	// See: https://github.com/cosmos/cosmos-sdk/blob/v0.52.0-beta.2/x/gov/types/keys.go#L9
	GovModuleName = "gov"
)
View Source
const (
	ZeroInterestRate   = "0.0"
	MaxWithdrawalDelay = 31536000 * 2 // 2 years in seconds
)

Variables

View Source
var (
	ErrInvalidLengthEvents        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowEvents          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupEvents = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthGenesis        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowGenesis          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupGenesis = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthInterest        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowInterest          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupInterest = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	// VaultsKeyPrefix is the prefix to retrieve all Vaults
	VaultsKeyPrefix = collections.NewPrefix(0)
	// VaultsName is a human-readable name for the vaults collection.
	VaultsName = "vaults"
	// VaultPayoutVerificationSetPrefix is the prefix to retrieve all VaultPayoutVerificationQueue.
	VaultPayoutVerificationSetPrefix = collections.NewPrefix(1)
	// VaultPayoutVerificationSetName is a human-readable name for the vault payout verification set collection.
	VaultPayoutVerificationSetName = "vault_payout_verification_set"
	// VaultPayoutTimeoutQueuePrefix is the prefix to retrieve all VaultPayoutTimeoutQueue.
	VaultPayoutTimeoutQueuePrefix = collections.NewPrefix(2)
	// VaultPayoutTimeoutQueueName is a human-readable name for the payout timeout queue collection.
	VaultPayoutTimeoutQueueName = "vault_payout_timeout_queue"
	// VaultPendingSwapOutQueuePrefix is the prefix to retrieve all VaultPendingSwapOutQueue.
	VaultPendingSwapOutQueuePrefix = collections.NewPrefix(3)
	// VaultPendingSwapOutQueueName is a human-readable name for the pending swap out queue collection.
	VaultPendingSwapOutQueueName = "pending_swap_out_queue"
	// VaultPendingSwapOutQueueSeqPrefix is the prefix for the pending swap out queue sequence.
	VaultPendingSwapOutQueueSeqPrefix = collections.NewPrefix(4)
	// VaultPendingSwapOutQueueSeqName is a human-readable name for the pending swap out queue collection.
	VaultPendingSwapOutQueueSeqName = "pending_swap_out_seq"
	// VaultPendingSwapOutByVaultIndexPrefix is the prefix for the pending swap out queue vault index.
	VaultPendingSwapOutByVaultIndexPrefix = collections.NewPrefix(5)
	// VaultPendingSwapOutByVaultIndexName is a human-readable name for the pending swap out queue vault index.
	VaultPendingSwapOutByVaultIndexName = "pending_swap_out_by_vault"
	// VaultPendingSwapOutByIdIndexPrefix is the prefix for the pending swap out queue by id index.
	VaultPendingSwapOutByIdIndexPrefix = collections.NewPrefix(6)
	// VaultPendingSwapOutByIdIndexName is a human-readable name for the pending swap out queue by id index.
	VaultPendingSwapOutByIdIndexName = "pending_swap_out_by_id"
)
View Source
var (
	ErrInvalidLengthQuery        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowQuery          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupQuery = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthTx        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowTx          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupTx = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthVault        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowVault          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupVault = fmt.Errorf("proto: unexpected end of group")
)

AllRequestMsgs defines all the Msg*Request messages.

View Source
var (
	ErrInvalidRequest = errors.Register(ModuleName, 0, "invalid request")
)
View Source
var Msg_serviceDesc = _Msg_serviceDesc
View Source
var Query_serviceDesc = _Query_serviceDesc

Functions

func CriticalErr

func CriticalErr(reason string, err error) error

CriticalErr constructs a new CriticalError with the given reason string and underlying error. Callers should use this helper when a failure is unrecoverable and the vault should be auto-paused.

func GetVaultAddress

func GetVaultAddress(shareDenom string) sdk.AccAddress

GetVaultAddress returns the module account address for the given shareDenom.

func RegisterInterfaces

func RegisterInterfaces(registry codectypes.InterfaceRegistry)

func RegisterMsgServer

func RegisterMsgServer(s grpc1.Server, srv MsgServer)

func RegisterQueryHandler

func RegisterQueryHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error

RegisterQueryHandler registers the http handlers for service Query to "mux". The handlers forward requests to the grpc endpoint over "conn".

func RegisterQueryHandlerClient

func RegisterQueryHandlerClient(ctx context.Context, mux *runtime.ServeMux, client QueryClient) error

RegisterQueryHandlerClient registers the http handlers for service Query to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "QueryClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "QueryClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "QueryClient" to call the correct interceptors.

func RegisterQueryHandlerFromEndpoint

func RegisterQueryHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)

RegisterQueryHandlerFromEndpoint is same as RegisterQueryHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.

func RegisterQueryHandlerServer

func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, server QueryServer) error

RegisterQueryHandlerServer registers the http handlers for service Query to "mux". UnaryRPC :call QueryServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterQueryHandlerFromEndpoint instead.

func RegisterQueryServer

func RegisterQueryServer(s grpc1.Server, srv QueryServer)

func ValidateDenomMetadataBasic added in v1.0.11

func ValidateDenomMetadataBasic(md banktypes.Metadata) error

ValidateDenomMetadataBasic performs lightweight, display-oriented validation of denomination metadata used for vault share tokens. Unlike the Marker Module it intentionally avoids the strict SI-prefix and denom-root checks applied to on-chain currency metadata, allowing vault administrators flexibility in naming and formatting.

This function verifies only that:

  • Base and Display fields are non-empty (after trimming whitespace)
  • Description length does not exceed maxDenomMetadataDescriptionLength

It does not enforce full denom syntax or unit relationships, since share metadata may include arbitrary display names, symbols, or localized text.

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 github_com_cosmos_cosmos_sdk_types.Coins `protobuf:"bytes,2,rep,name=coins,proto3,castrepeated=github.com/cosmos/cosmos-sdk/types.Coins" json:"coins"`
}

AccountBalance represents the coin balance of a single account.

func (*AccountBalance) Descriptor

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

func (*AccountBalance) Marshal

func (m *AccountBalance) Marshal() (dAtA []byte, err error)

func (*AccountBalance) MarshalTo

func (m *AccountBalance) MarshalTo(dAtA []byte) (int, error)

func (*AccountBalance) MarshalToSizedBuffer

func (m *AccountBalance) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*AccountBalance) ProtoMessage

func (*AccountBalance) ProtoMessage()

func (*AccountBalance) Reset

func (m *AccountBalance) Reset()

func (*AccountBalance) Size

func (m *AccountBalance) Size() (n int)

func (*AccountBalance) String

func (m *AccountBalance) String() string

func (*AccountBalance) Unmarshal

func (m *AccountBalance) Unmarshal(dAtA []byte) error

func (*AccountBalance) XXX_DiscardUnknown

func (m *AccountBalance) XXX_DiscardUnknown()

func (*AccountBalance) XXX_Marshal

func (m *AccountBalance) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AccountBalance) XXX_Merge

func (m *AccountBalance) XXX_Merge(src proto.Message)

func (*AccountBalance) XXX_Size

func (m *AccountBalance) XXX_Size() int

func (*AccountBalance) XXX_Unmarshal

func (m *AccountBalance) XXX_Unmarshal(b []byte) error

type AccountKeeper

type AccountKeeper interface {
	NewAccount(context.Context, sdk.AccountI) sdk.AccountI
	NewAccountWithAddress(ctx context.Context, addr sdk.AccAddress) sdk.AccountI

	GetAccount(ctx context.Context, addr sdk.AccAddress) sdk.AccountI
	GetAllAccounts(ctx context.Context) []sdk.AccountI
	HasAccount(ctx context.Context, addr sdk.AccAddress) bool
	SetAccount(ctx context.Context, acc sdk.AccountI)

	GetModuleAddress(moduleName string) sdk.AccAddress
}

type AttributeKeeper

type AttributeKeeper interface {
	SetAttribute(ctx sdk.Context, attr attrtypes.Attribute, owner sdk.AccAddress) error
}

type BankKeeper

type BankKeeper interface {
	SendCoins(context context.Context, fromAddr sdk.AccAddress, toAddr sdk.AccAddress, amt sdk.Coins) error
	GetAllBalances(context context.Context, addr sdk.AccAddress) sdk.Coins
	GetBalance(context context.Context, addr sdk.AccAddress, denom string) sdk.Coin
	GetSupply(context context.Context, denom string) sdk.Coin
	MintCoins(ctx context.Context, moduleName string, amt sdk.Coins) error
	SendCoinsFromModuleToAccount(ctx context.Context, senderModule string, recipientAddr sdk.AccAddress, amt sdk.Coins) error
	SetDenomMetaData(context context.Context, denomMetaData banktypes.Metadata)
}

type CriticalError

type CriticalError struct {
	// Reason is a stable, hard-coded description of why the vault must be paused.
	Reason string
	// Err is the underlying error, which may include deeper SDK or keeper details.
	Err error
}

CriticalError wraps an error that represents a critical, unrecoverable failure requiring automatic vault pausing. It includes a stable, hard-coded Reason string that is persisted in state, decoupled from SDK or underlying error text.

func (*CriticalError) Error

func (e *CriticalError) Error() string

Error implements the error interface by returning the underlying error message.

func (*CriticalError) Unwrap

func (e *CriticalError) Unwrap() error

Unwrap allows errors.Unwrap and errors.Is/As to inspect the underlying error.

type EventAssetManagerSet added in v1.0.7

type EventAssetManagerSet struct {
	// vault_address is the address of the vault whose asset manager was updated.
	VaultAddress string `protobuf:"bytes,1,opt,name=vault_address,json=vaultAddress,proto3" json:"vault_address,omitempty"`
	// admin is the address of the admin who performed the update.
	Admin string `protobuf:"bytes,2,opt,name=admin,proto3" json:"admin,omitempty"`
	// asset_manager is the new asset manager address. If empty, it indicates the asset manager was cleared.
	AssetManager string `protobuf:"bytes,3,opt,name=asset_manager,json=assetManager,proto3" json:"asset_manager,omitempty"`
}

EventAssetManagerSet is emitted when a vault's asset manager is set or cleared.

func NewEventAssetManagerSet added in v1.0.7

func NewEventAssetManagerSet(vaultAddress, admin, assetManager string) *EventAssetManagerSet

NewEventAssetManagerSet creates a new EventAssetManagerSet event.

func (*EventAssetManagerSet) Descriptor added in v1.0.7

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

func (*EventAssetManagerSet) GetAdmin added in v1.0.7

func (m *EventAssetManagerSet) GetAdmin() string

func (*EventAssetManagerSet) GetAssetManager added in v1.0.7

func (m *EventAssetManagerSet) GetAssetManager() string

func (*EventAssetManagerSet) GetVaultAddress added in v1.0.7

func (m *EventAssetManagerSet) GetVaultAddress() string

func (*EventAssetManagerSet) Marshal added in v1.0.7

func (m *EventAssetManagerSet) Marshal() (dAtA []byte, err error)

func (*EventAssetManagerSet) MarshalTo added in v1.0.7

func (m *EventAssetManagerSet) MarshalTo(dAtA []byte) (int, error)

func (*EventAssetManagerSet) MarshalToSizedBuffer added in v1.0.7

func (m *EventAssetManagerSet) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*EventAssetManagerSet) ProtoMessage added in v1.0.7

func (*EventAssetManagerSet) ProtoMessage()

func (*EventAssetManagerSet) Reset added in v1.0.7

func (m *EventAssetManagerSet) Reset()

func (*EventAssetManagerSet) Size added in v1.0.7

func (m *EventAssetManagerSet) Size() (n int)

func (*EventAssetManagerSet) String added in v1.0.7

func (m *EventAssetManagerSet) String() string

func (*EventAssetManagerSet) Unmarshal added in v1.0.7

func (m *EventAssetManagerSet) Unmarshal(dAtA []byte) error

func (*EventAssetManagerSet) XXX_DiscardUnknown added in v1.0.7

func (m *EventAssetManagerSet) XXX_DiscardUnknown()

func (*EventAssetManagerSet) XXX_Marshal added in v1.0.7

func (m *EventAssetManagerSet) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*EventAssetManagerSet) XXX_Merge added in v1.0.7

func (m *EventAssetManagerSet) XXX_Merge(src proto.Message)

func (*EventAssetManagerSet) XXX_Size added in v1.0.7

func (m *EventAssetManagerSet) XXX_Size() int

func (*EventAssetManagerSet) XXX_Unmarshal added in v1.0.7

func (m *EventAssetManagerSet) XXX_Unmarshal(b []byte) error

type EventBridgeAddressSet

type EventBridgeAddressSet struct {
	// vault_address is the bech32 address of the vault.
	VaultAddress string `protobuf:"bytes,1,opt,name=vault_address,json=vaultAddress,proto3" json:"vault_address,omitempty"`
	// admin is the address of the account that set the bridge address.
	Admin string `protobuf:"bytes,2,opt,name=admin,proto3" json:"admin,omitempty"`
	// bridge_address is the configured external address allowed to mint/burn shares.
	BridgeAddress string `protobuf:"bytes,3,opt,name=bridge_address,json=bridgeAddress,proto3" json:"bridge_address,omitempty"`
}

EventBridgeAddressSet is emitted when the bridge address for a vault is configured or updated.

func NewEventBridgeAddressSet

func NewEventBridgeAddressSet(vaultAddress, admin, bridgeAddress string) *EventBridgeAddressSet

NewEventBridgeAddressSet creates a new EventBridgeAddressSet event.

func (*EventBridgeAddressSet) Descriptor

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

func (*EventBridgeAddressSet) GetAdmin

func (m *EventBridgeAddressSet) GetAdmin() string

func (*EventBridgeAddressSet) GetBridgeAddress

func (m *EventBridgeAddressSet) GetBridgeAddress() string

func (*EventBridgeAddressSet) GetVaultAddress

func (m *EventBridgeAddressSet) GetVaultAddress() string

func (*EventBridgeAddressSet) Marshal

func (m *EventBridgeAddressSet) Marshal() (dAtA []byte, err error)

func (*EventBridgeAddressSet) MarshalTo

func (m *EventBridgeAddressSet) MarshalTo(dAtA []byte) (int, error)

func (*EventBridgeAddressSet) MarshalToSizedBuffer

func (m *EventBridgeAddressSet) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*EventBridgeAddressSet) ProtoMessage

func (*EventBridgeAddressSet) ProtoMessage()

func (*EventBridgeAddressSet) Reset

func (m *EventBridgeAddressSet) Reset()

func (*EventBridgeAddressSet) Size

func (m *EventBridgeAddressSet) Size() (n int)

func (*EventBridgeAddressSet) String

func (m *EventBridgeAddressSet) String() string

func (*EventBridgeAddressSet) Unmarshal

func (m *EventBridgeAddressSet) Unmarshal(dAtA []byte) error

func (*EventBridgeAddressSet) XXX_DiscardUnknown

func (m *EventBridgeAddressSet) XXX_DiscardUnknown()

func (*EventBridgeAddressSet) XXX_Marshal

func (m *EventBridgeAddressSet) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*EventBridgeAddressSet) XXX_Merge

func (m *EventBridgeAddressSet) XXX_Merge(src proto.Message)

func (*EventBridgeAddressSet) XXX_Size

func (m *EventBridgeAddressSet) XXX_Size() int

func (*EventBridgeAddressSet) XXX_Unmarshal

func (m *EventBridgeAddressSet) XXX_Unmarshal(b []byte) error

type EventBridgeBurnShares

type EventBridgeBurnShares 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"`
	// bridge is the bech32 address of the bridge signer.
	Bridge string `protobuf:"bytes,2,opt,name=bridge,proto3" json:"bridge,omitempty"`
	// shares is the amount of shares burned.
	Shares string `protobuf:"bytes,3,opt,name=shares,proto3" json:"shares,omitempty"`
}

EventBridgeBurnShares is emitted when shares are burned via the bridge flow.

func NewEventBridgeBurnShares

func NewEventBridgeBurnShares(vaultAddress, bridge string, shares sdk.Coin) *EventBridgeBurnShares

NewEventBridgeBurnShares creates a new EventBridgeBurnShares event.

func (*EventBridgeBurnShares) Descriptor

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

func (*EventBridgeBurnShares) GetBridge

func (m *EventBridgeBurnShares) GetBridge() string

func (*EventBridgeBurnShares) GetShares

func (m *EventBridgeBurnShares) GetShares() string

func (*EventBridgeBurnShares) GetVaultAddress

func (m *EventBridgeBurnShares) GetVaultAddress() string

func (*EventBridgeBurnShares) Marshal

func (m *EventBridgeBurnShares) Marshal() (dAtA []byte, err error)

func (*EventBridgeBurnShares) MarshalTo

func (m *EventBridgeBurnShares) MarshalTo(dAtA []byte) (int, error)

func (*EventBridgeBurnShares) MarshalToSizedBuffer

func (m *EventBridgeBurnShares) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*EventBridgeBurnShares) ProtoMessage

func (*EventBridgeBurnShares) ProtoMessage()

func (*EventBridgeBurnShares) Reset

func (m *EventBridgeBurnShares) Reset()

func (*EventBridgeBurnShares) Size

func (m *EventBridgeBurnShares) Size() (n int)

func (*EventBridgeBurnShares) String

func (m *EventBridgeBurnShares) String() string

func (*EventBridgeBurnShares) Unmarshal

func (m *EventBridgeBurnShares) Unmarshal(dAtA []byte) error

func (*EventBridgeBurnShares) XXX_DiscardUnknown

func (m *EventBridgeBurnShares) XXX_DiscardUnknown()

func (*EventBridgeBurnShares) XXX_Marshal

func (m *EventBridgeBurnShares) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*EventBridgeBurnShares) XXX_Merge

func (m *EventBridgeBurnShares) XXX_Merge(src proto.Message)

func (*EventBridgeBurnShares) XXX_Size

func (m *EventBridgeBurnShares) XXX_Size() int

func (*EventBridgeBurnShares) XXX_Unmarshal

func (m *EventBridgeBurnShares) XXX_Unmarshal(b []byte) error

type EventBridgeMintShares

type EventBridgeMintShares 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"`
	// bridge is the bech32 address of the bridge signer.
	Bridge string `protobuf:"bytes,2,opt,name=bridge,proto3" json:"bridge,omitempty"`
	// shares is the amount of shares minted.
	Shares string `protobuf:"bytes,3,opt,name=shares,proto3" json:"shares,omitempty"`
}

EventBridgeMintShares is emitted when shares are minted via the bridge flow.

func NewEventBridgeMintShares

func NewEventBridgeMintShares(vaultAddress, bridge string, shares sdk.Coin) *EventBridgeMintShares

NewEventBridgeMintShares creates a new EventBridgeMintShares event.

func (*EventBridgeMintShares) Descriptor

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

func (*EventBridgeMintShares) GetBridge

func (m *EventBridgeMintShares) GetBridge() string

func (*EventBridgeMintShares) GetShares

func (m *EventBridgeMintShares) GetShares() string

func (*EventBridgeMintShares) GetVaultAddress

func (m *EventBridgeMintShares) GetVaultAddress() string

func (*EventBridgeMintShares) Marshal

func (m *EventBridgeMintShares) Marshal() (dAtA []byte, err error)

func (*EventBridgeMintShares) MarshalTo

func (m *EventBridgeMintShares) MarshalTo(dAtA []byte) (int, error)

func (*EventBridgeMintShares) MarshalToSizedBuffer

func (m *EventBridgeMintShares) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*EventBridgeMintShares) ProtoMessage

func (*EventBridgeMintShares) ProtoMessage()

func (*EventBridgeMintShares) Reset

func (m *EventBridgeMintShares) Reset()

func (*EventBridgeMintShares) Size

func (m *EventBridgeMintShares) Size() (n int)

func (*EventBridgeMintShares) String

func (m *EventBridgeMintShares) String() string

func (*EventBridgeMintShares) Unmarshal

func (m *EventBridgeMintShares) Unmarshal(dAtA []byte) error

func (*EventBridgeMintShares) XXX_DiscardUnknown

func (m *EventBridgeMintShares) XXX_DiscardUnknown()

func (*EventBridgeMintShares) XXX_Marshal

func (m *EventBridgeMintShares) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*EventBridgeMintShares) XXX_Merge

func (m *EventBridgeMintShares) XXX_Merge(src proto.Message)

func (*EventBridgeMintShares) XXX_Size

func (m *EventBridgeMintShares) XXX_Size() int

func (*EventBridgeMintShares) XXX_Unmarshal

func (m *EventBridgeMintShares) XXX_Unmarshal(b []byte) error

type EventBridgeToggled

type EventBridgeToggled struct {
	// vault_address is the bech32 address of the vault.
	VaultAddress string `protobuf:"bytes,1,opt,name=vault_address,json=vaultAddress,proto3" json:"vault_address,omitempty"`
	// admin is the address of the account that toggled bridge functionality.
	Admin string `protobuf:"bytes,2,opt,name=admin,proto3" json:"admin,omitempty"`
	// enabled is the new state of the bridge functionality.
	Enabled bool `protobuf:"varint,3,opt,name=enabled,proto3" json:"enabled,omitempty"`
}

EventBridgeToggled is emitted when the bridge functionality is enabled or disabled for a vault.

func NewEventBridgeToggled

func NewEventBridgeToggled(vaultAddress, admin string, enabled bool) *EventBridgeToggled

NewEventBridgeToggled creates a new EventBridgeToggled event.

func (*EventBridgeToggled) Descriptor

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

func (*EventBridgeToggled) GetAdmin

func (m *EventBridgeToggled) GetAdmin() string

func (*EventBridgeToggled) GetEnabled

func (m *EventBridgeToggled) GetEnabled() bool

func (*EventBridgeToggled) GetVaultAddress

func (m *EventBridgeToggled) GetVaultAddress() string

func (*EventBridgeToggled) Marshal

func (m *EventBridgeToggled) Marshal() (dAtA []byte, err error)

func (*EventBridgeToggled) MarshalTo

func (m *EventBridgeToggled) MarshalTo(dAtA []byte) (int, error)

func (*EventBridgeToggled) MarshalToSizedBuffer

func (m *EventBridgeToggled) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*EventBridgeToggled) ProtoMessage

func (*EventBridgeToggled) ProtoMessage()

func (*EventBridgeToggled) Reset

func (m *EventBridgeToggled) Reset()

func (*EventBridgeToggled) Size

func (m *EventBridgeToggled) Size() (n int)

func (*EventBridgeToggled) String

func (m *EventBridgeToggled) String() string

func (*EventBridgeToggled) Unmarshal

func (m *EventBridgeToggled) Unmarshal(dAtA []byte) error

func (*EventBridgeToggled) XXX_DiscardUnknown

func (m *EventBridgeToggled) XXX_DiscardUnknown()

func (*EventBridgeToggled) XXX_Marshal

func (m *EventBridgeToggled) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*EventBridgeToggled) XXX_Merge

func (m *EventBridgeToggled) XXX_Merge(src proto.Message)

func (*EventBridgeToggled) XXX_Size

func (m *EventBridgeToggled) XXX_Size() int

func (*EventBridgeToggled) XXX_Unmarshal

func (m *EventBridgeToggled) XXX_Unmarshal(b []byte) error

type EventDenomUnit added in v1.0.11

type EventDenomUnit struct {
	// denom is the unit name (e.g., "nushare", "ushare").
	Denom string `protobuf:"bytes,1,opt,name=denom,proto3" json:"denom,omitempty"`
	// exponent is the base-10 exponent for this unit relative to the base denom.
	// For example, exponent=6 means 1 display unit = 10^6 base units.
	Exponent string `protobuf:"bytes,2,opt,name=exponent,proto3" json:"exponent,omitempty"`
	// aliases lists optional alternative names for this unit. May be empty.
	Aliases []string `protobuf:"bytes,3,rep,name=aliases,proto3" json:"aliases,omitempty"`
}

EventDenomUnit describes a single denom unit entry that is included in the share denom metadata emitted with EventSetShareDenomMetadata.

func (*EventDenomUnit) Descriptor added in v1.0.11

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

func (*EventDenomUnit) GetAliases added in v1.0.11

func (m *EventDenomUnit) GetAliases() []string

func (*EventDenomUnit) GetDenom added in v1.0.11

func (m *EventDenomUnit) GetDenom() string

func (*EventDenomUnit) GetExponent added in v1.0.11

func (m *EventDenomUnit) GetExponent() string

func (*EventDenomUnit) Marshal added in v1.0.11

func (m *EventDenomUnit) Marshal() (dAtA []byte, err error)

func (*EventDenomUnit) MarshalTo added in v1.0.11

func (m *EventDenomUnit) MarshalTo(dAtA []byte) (int, error)

func (*EventDenomUnit) MarshalToSizedBuffer added in v1.0.11

func (m *EventDenomUnit) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*EventDenomUnit) ProtoMessage added in v1.0.11

func (*EventDenomUnit) ProtoMessage()

func (*EventDenomUnit) Reset added in v1.0.11

func (m *EventDenomUnit) Reset()

func (*EventDenomUnit) Size added in v1.0.11

func (m *EventDenomUnit) Size() (n int)

func (*EventDenomUnit) String added in v1.0.11

func (m *EventDenomUnit) String() string

func (*EventDenomUnit) Unmarshal added in v1.0.11

func (m *EventDenomUnit) Unmarshal(dAtA []byte) error

func (*EventDenomUnit) XXX_DiscardUnknown added in v1.0.11

func (m *EventDenomUnit) XXX_DiscardUnknown()

func (*EventDenomUnit) XXX_Marshal added in v1.0.11

func (m *EventDenomUnit) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*EventDenomUnit) XXX_Merge added in v1.0.11

func (m *EventDenomUnit) XXX_Merge(src proto.Message)

func (*EventDenomUnit) XXX_Size added in v1.0.11

func (m *EventDenomUnit) XXX_Size() int

func (*EventDenomUnit) XXX_Unmarshal added in v1.0.11

func (m *EventDenomUnit) XXX_Unmarshal(b []byte) error

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"`
}

EventDeposit is an event emitted when assets are deposited into a vault.

func (*EventDeposit) Descriptor

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

func (*EventDeposit) GetAssets

func (m *EventDeposit) GetAssets() string

func (*EventDeposit) GetCaller

func (m *EventDeposit) GetCaller() string

func (*EventDeposit) GetOwner

func (m *EventDeposit) GetOwner() string

func (*EventDeposit) GetShares

func (m *EventDeposit) GetShares() string

func (*EventDeposit) GetVaultId

func (m *EventDeposit) GetVaultId() uint32

func (*EventDeposit) Marshal

func (m *EventDeposit) Marshal() (dAtA []byte, err error)

func (*EventDeposit) MarshalTo

func (m *EventDeposit) MarshalTo(dAtA []byte) (int, error)

func (*EventDeposit) MarshalToSizedBuffer

func (m *EventDeposit) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*EventDeposit) ProtoMessage

func (*EventDeposit) ProtoMessage()

func (*EventDeposit) Reset

func (m *EventDeposit) Reset()

func (*EventDeposit) Size

func (m *EventDeposit) Size() (n int)

func (*EventDeposit) String

func (m *EventDeposit) String() string

func (*EventDeposit) Unmarshal

func (m *EventDeposit) Unmarshal(dAtA []byte) error

func (*EventDeposit) XXX_DiscardUnknown

func (m *EventDeposit) XXX_DiscardUnknown()

func (*EventDeposit) XXX_Marshal

func (m *EventDeposit) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*EventDeposit) XXX_Merge

func (m *EventDeposit) XXX_Merge(src proto.Message)

func (*EventDeposit) XXX_Size

func (m *EventDeposit) XXX_Size() int

func (*EventDeposit) XXX_Unmarshal

func (m *EventDeposit) XXX_Unmarshal(b []byte) error

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"`
	// authority is the address (admin or asset manager) that deposited the funds.
	Authority string `protobuf:"bytes,2,opt,name=authority,proto3" json:"authority,omitempty"`
	// amount is the amount of funds deposited.
	Amount string `protobuf:"bytes,3,opt,name=amount,proto3" json:"amount,omitempty"`
}

EventDepositPrincipalFunds is an event emitted when principal funds are deposited by the authority.

func NewEventDepositPrincipalFunds

func NewEventDepositPrincipalFunds(vaultAddress, authority string, amount sdk.Coin) *EventDepositPrincipalFunds

NewEventDepositPrincipalFunds creates a new EventPrincipalDeposit event.

func (*EventDepositPrincipalFunds) Descriptor

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

func (*EventDepositPrincipalFunds) GetAmount

func (m *EventDepositPrincipalFunds) GetAmount() string

func (*EventDepositPrincipalFunds) GetAuthority added in v1.0.7

func (m *EventDepositPrincipalFunds) GetAuthority() string

func (*EventDepositPrincipalFunds) GetVaultAddress

func (m *EventDepositPrincipalFunds) GetVaultAddress() string

func (*EventDepositPrincipalFunds) Marshal

func (m *EventDepositPrincipalFunds) Marshal() (dAtA []byte, err error)

func (*EventDepositPrincipalFunds) MarshalTo

func (m *EventDepositPrincipalFunds) MarshalTo(dAtA []byte) (int, error)

func (*EventDepositPrincipalFunds) MarshalToSizedBuffer

func (m *EventDepositPrincipalFunds) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*EventDepositPrincipalFunds) ProtoMessage

func (*EventDepositPrincipalFunds) ProtoMessage()

func (*EventDepositPrincipalFunds) Reset

func (m *EventDepositPrincipalFunds) Reset()

func (*EventDepositPrincipalFunds) Size

func (m *EventDepositPrincipalFunds) Size() (n int)

func (*EventDepositPrincipalFunds) String

func (m *EventDepositPrincipalFunds) String() string

func (*EventDepositPrincipalFunds) Unmarshal

func (m *EventDepositPrincipalFunds) Unmarshal(dAtA []byte) error

func (*EventDepositPrincipalFunds) XXX_DiscardUnknown

func (m *EventDepositPrincipalFunds) XXX_DiscardUnknown()

func (*EventDepositPrincipalFunds) XXX_Marshal

func (m *EventDepositPrincipalFunds) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*EventDepositPrincipalFunds) XXX_Merge

func (m *EventDepositPrincipalFunds) XXX_Merge(src proto.Message)

func (*EventDepositPrincipalFunds) XXX_Size

func (m *EventDepositPrincipalFunds) XXX_Size() int

func (*EventDepositPrincipalFunds) XXX_Unmarshal

func (m *EventDepositPrincipalFunds) XXX_Unmarshal(b []byte) error

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"`
	// authority is the address (admin or asset manager) that deposited the funds.
	Authority string `protobuf:"bytes,2,opt,name=authority,proto3" json:"authority,omitempty"`
	// amount is the amount of funds deposited.
	Amount string `protobuf:"bytes,3,opt,name=amount,proto3" json:"amount,omitempty"`
}

EventInterestDeposit is an event emitted when funds are deposited for paying interest.

func NewEventInterestDeposit

func NewEventInterestDeposit(vaultAddress, authority string, amount sdk.Coin) *EventInterestDeposit

NewEventInterestDeposit creates a new EventInterestDeposit event.

func (*EventInterestDeposit) Descriptor

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

func (*EventInterestDeposit) GetAmount

func (m *EventInterestDeposit) GetAmount() string

func (*EventInterestDeposit) GetAuthority added in v1.0.7

func (m *EventInterestDeposit) GetAuthority() string

func (*EventInterestDeposit) GetVaultAddress

func (m *EventInterestDeposit) GetVaultAddress() string

func (*EventInterestDeposit) Marshal

func (m *EventInterestDeposit) Marshal() (dAtA []byte, err error)

func (*EventInterestDeposit) MarshalTo

func (m *EventInterestDeposit) MarshalTo(dAtA []byte) (int, error)

func (*EventInterestDeposit) MarshalToSizedBuffer

func (m *EventInterestDeposit) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*EventInterestDeposit) ProtoMessage

func (*EventInterestDeposit) ProtoMessage()

func (*EventInterestDeposit) Reset

func (m *EventInterestDeposit) Reset()

func (*EventInterestDeposit) Size

func (m *EventInterestDeposit) Size() (n int)

func (*EventInterestDeposit) String

func (m *EventInterestDeposit) String() string

func (*EventInterestDeposit) Unmarshal

func (m *EventInterestDeposit) Unmarshal(dAtA []byte) error

func (*EventInterestDeposit) XXX_DiscardUnknown

func (m *EventInterestDeposit) XXX_DiscardUnknown()

func (*EventInterestDeposit) XXX_Marshal

func (m *EventInterestDeposit) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*EventInterestDeposit) XXX_Merge

func (m *EventInterestDeposit) XXX_Merge(src proto.Message)

func (*EventInterestDeposit) XXX_Size

func (m *EventInterestDeposit) XXX_Size() int

func (*EventInterestDeposit) XXX_Unmarshal

func (m *EventInterestDeposit) XXX_Unmarshal(b []byte) error

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"`
	// authority is the address (admin or asset manager) that withdrew the funds.
	Authority string `protobuf:"bytes,2,opt,name=authority,proto3" json:"authority,omitempty"`
	// amount is the amount of funds withdrawn.
	Amount string `protobuf:"bytes,3,opt,name=amount,proto3" json:"amount,omitempty"`
}

EventInterestWithdrawal is an event emitted when unused interest funds are withdrawn.

func NewEventInterestWithdrawal

func NewEventInterestWithdrawal(vaultAddress, authority string, amount sdk.Coin) *EventInterestWithdrawal

NewEventInterestWithdrawal creates a new EventInterestWithdrawal event.

func (*EventInterestWithdrawal) Descriptor

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

func (*EventInterestWithdrawal) GetAmount

func (m *EventInterestWithdrawal) GetAmount() string

func (*EventInterestWithdrawal) GetAuthority added in v1.0.7

func (m *EventInterestWithdrawal) GetAuthority() string

func (*EventInterestWithdrawal) GetVaultAddress

func (m *EventInterestWithdrawal) GetVaultAddress() string

func (*EventInterestWithdrawal) Marshal

func (m *EventInterestWithdrawal) Marshal() (dAtA []byte, err error)

func (*EventInterestWithdrawal) MarshalTo

func (m *EventInterestWithdrawal) MarshalTo(dAtA []byte) (int, error)

func (*EventInterestWithdrawal) MarshalToSizedBuffer

func (m *EventInterestWithdrawal) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*EventInterestWithdrawal) ProtoMessage

func (*EventInterestWithdrawal) ProtoMessage()

func (*EventInterestWithdrawal) Reset

func (m *EventInterestWithdrawal) Reset()

func (*EventInterestWithdrawal) Size

func (m *EventInterestWithdrawal) Size() (n int)

func (*EventInterestWithdrawal) String

func (m *EventInterestWithdrawal) String() string

func (*EventInterestWithdrawal) Unmarshal

func (m *EventInterestWithdrawal) Unmarshal(dAtA []byte) error

func (*EventInterestWithdrawal) XXX_DiscardUnknown

func (m *EventInterestWithdrawal) XXX_DiscardUnknown()

func (*EventInterestWithdrawal) XXX_Marshal

func (m *EventInterestWithdrawal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*EventInterestWithdrawal) XXX_Merge

func (m *EventInterestWithdrawal) XXX_Merge(src proto.Message)

func (*EventInterestWithdrawal) XXX_Size

func (m *EventInterestWithdrawal) XXX_Size() int

func (*EventInterestWithdrawal) XXX_Unmarshal

func (m *EventInterestWithdrawal) XXX_Unmarshal(b []byte) error

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"`
}

EventMaxInterestRateUpdated is emitted when the maximum interest rate is updated.

func NewEventMaxInterestRateUpdated

func NewEventMaxInterestRateUpdated(vaultAddress, admin, maxRate string) *EventMaxInterestRateUpdated

NewEventMaxInterestRateUpdated creates a new EventMaxInterestRateUpdated event.

func (*EventMaxInterestRateUpdated) Descriptor

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

func (*EventMaxInterestRateUpdated) GetAdmin

func (m *EventMaxInterestRateUpdated) GetAdmin() string

func (*EventMaxInterestRateUpdated) GetMaxRate

func (m *EventMaxInterestRateUpdated) GetMaxRate() string

func (*EventMaxInterestRateUpdated) GetVaultAddress

func (m *EventMaxInterestRateUpdated) GetVaultAddress() string

func (*EventMaxInterestRateUpdated) Marshal

func (m *EventMaxInterestRateUpdated) Marshal() (dAtA []byte, err error)

func (*EventMaxInterestRateUpdated) MarshalTo

func (m *EventMaxInterestRateUpdated) MarshalTo(dAtA []byte) (int, error)

func (*EventMaxInterestRateUpdated) MarshalToSizedBuffer

func (m *EventMaxInterestRateUpdated) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*EventMaxInterestRateUpdated) ProtoMessage

func (*EventMaxInterestRateUpdated) ProtoMessage()

func (*EventMaxInterestRateUpdated) Reset

func (m *EventMaxInterestRateUpdated) Reset()

func (*EventMaxInterestRateUpdated) Size

func (m *EventMaxInterestRateUpdated) Size() (n int)

func (*EventMaxInterestRateUpdated) String

func (m *EventMaxInterestRateUpdated) String() string

func (*EventMaxInterestRateUpdated) Unmarshal

func (m *EventMaxInterestRateUpdated) Unmarshal(dAtA []byte) error

func (*EventMaxInterestRateUpdated) XXX_DiscardUnknown

func (m *EventMaxInterestRateUpdated) XXX_DiscardUnknown()

func (*EventMaxInterestRateUpdated) XXX_Marshal

func (m *EventMaxInterestRateUpdated) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*EventMaxInterestRateUpdated) XXX_Merge

func (m *EventMaxInterestRateUpdated) XXX_Merge(src proto.Message)

func (*EventMaxInterestRateUpdated) XXX_Size

func (m *EventMaxInterestRateUpdated) XXX_Size() int

func (*EventMaxInterestRateUpdated) XXX_Unmarshal

func (m *EventMaxInterestRateUpdated) XXX_Unmarshal(b []byte) error

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"`
}

EventMinInterestRateUpdated is emitted when the minimum interest rate is updated.

func NewEventMinInterestRateUpdated

func NewEventMinInterestRateUpdated(vaultAddress, admin, minRate string) *EventMinInterestRateUpdated

NewEventMinInterestRateUpdated creates a new EventMinInterestRateUpdated event.

func (*EventMinInterestRateUpdated) Descriptor

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

func (*EventMinInterestRateUpdated) GetAdmin

func (m *EventMinInterestRateUpdated) GetAdmin() string

func (*EventMinInterestRateUpdated) GetMinRate

func (m *EventMinInterestRateUpdated) GetMinRate() string

func (*EventMinInterestRateUpdated) GetVaultAddress

func (m *EventMinInterestRateUpdated) GetVaultAddress() string

func (*EventMinInterestRateUpdated) Marshal

func (m *EventMinInterestRateUpdated) Marshal() (dAtA []byte, err error)

func (*EventMinInterestRateUpdated) MarshalTo

func (m *EventMinInterestRateUpdated) MarshalTo(dAtA []byte) (int, error)

func (*EventMinInterestRateUpdated) MarshalToSizedBuffer

func (m *EventMinInterestRateUpdated) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*EventMinInterestRateUpdated) ProtoMessage

func (*EventMinInterestRateUpdated) ProtoMessage()

func (*EventMinInterestRateUpdated) Reset

func (m *EventMinInterestRateUpdated) Reset()

func (*EventMinInterestRateUpdated) Size

func (m *EventMinInterestRateUpdated) Size() (n int)

func (*EventMinInterestRateUpdated) String

func (m *EventMinInterestRateUpdated) String() string

func (*EventMinInterestRateUpdated) Unmarshal

func (m *EventMinInterestRateUpdated) Unmarshal(dAtA []byte) error

func (*EventMinInterestRateUpdated) XXX_DiscardUnknown

func (m *EventMinInterestRateUpdated) XXX_DiscardUnknown()

func (*EventMinInterestRateUpdated) XXX_Marshal

func (m *EventMinInterestRateUpdated) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*EventMinInterestRateUpdated) XXX_Merge

func (m *EventMinInterestRateUpdated) XXX_Merge(src proto.Message)

func (*EventMinInterestRateUpdated) XXX_Size

func (m *EventMinInterestRateUpdated) XXX_Size() int

func (*EventMinInterestRateUpdated) XXX_Unmarshal

func (m *EventMinInterestRateUpdated) XXX_Unmarshal(b []byte) error

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"`
	// authority is the address (admin or asset manager) that expedited the swap-out.
	Authority string `protobuf:"bytes,3,opt,name=authority,proto3" json:"authority,omitempty"`
}

EventPendingSwapOutExpedited is an event emitted when a pending swap-out is expedited by the authority.

func NewEventPendingSwapOutExpedited

func NewEventPendingSwapOutExpedited(requestID uint64, vault, authority string) *EventPendingSwapOutExpedited

NewEventPendingSwapOutExpedited creates a new EventPendingSwapOutExpedited event.

func (*EventPendingSwapOutExpedited) Descriptor

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

func (*EventPendingSwapOutExpedited) GetAuthority added in v1.0.7

func (m *EventPendingSwapOutExpedited) GetAuthority() string

func (*EventPendingSwapOutExpedited) GetRequestId

func (m *EventPendingSwapOutExpedited) GetRequestId() uint64

func (*EventPendingSwapOutExpedited) GetVault

func (m *EventPendingSwapOutExpedited) GetVault() string

func (*EventPendingSwapOutExpedited) Marshal

func (m *EventPendingSwapOutExpedited) Marshal() (dAtA []byte, err error)

func (*EventPendingSwapOutExpedited) MarshalTo

func (m *EventPendingSwapOutExpedited) MarshalTo(dAtA []byte) (int, error)

func (*EventPendingSwapOutExpedited) MarshalToSizedBuffer

func (m *EventPendingSwapOutExpedited) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*EventPendingSwapOutExpedited) ProtoMessage

func (*EventPendingSwapOutExpedited) ProtoMessage()

func (*EventPendingSwapOutExpedited) Reset

func (m *EventPendingSwapOutExpedited) Reset()

func (*EventPendingSwapOutExpedited) Size

func (m *EventPendingSwapOutExpedited) Size() (n int)

func (*EventPendingSwapOutExpedited) String

func (*EventPendingSwapOutExpedited) Unmarshal

func (m *EventPendingSwapOutExpedited) Unmarshal(dAtA []byte) error

func (*EventPendingSwapOutExpedited) XXX_DiscardUnknown

func (m *EventPendingSwapOutExpedited) XXX_DiscardUnknown()

func (*EventPendingSwapOutExpedited) XXX_Marshal

func (m *EventPendingSwapOutExpedited) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*EventPendingSwapOutExpedited) XXX_Merge

func (m *EventPendingSwapOutExpedited) XXX_Merge(src proto.Message)

func (*EventPendingSwapOutExpedited) XXX_Size

func (m *EventPendingSwapOutExpedited) XXX_Size() int

func (*EventPendingSwapOutExpedited) XXX_Unmarshal

func (m *EventPendingSwapOutExpedited) XXX_Unmarshal(b []byte) error

type EventSetShareDenomMetadata added in v1.0.11

type EventSetShareDenomMetadata 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"`
	// metadata_base is the base denomination (e.g., "nushare").
	MetadataBase string `protobuf:"bytes,2,opt,name=metadata_base,json=metadataBase,proto3" json:"metadata_base,omitempty"`
	// metadata_description is a human-readable description of the share denom.
	MetadataDescription string `protobuf:"bytes,3,opt,name=metadata_description,json=metadataDescription,proto3" json:"metadata_description,omitempty"`
	// metadata_display is the display denomination (e.g., "ushare" or "SHARE").
	MetadataDisplay string `protobuf:"bytes,4,opt,name=metadata_display,json=metadataDisplay,proto3" json:"metadata_display,omitempty"`
	// metadata_denom_units lists all denom units and their exponents.
	MetadataDenomUnits []*EventDenomUnit `protobuf:"bytes,5,rep,name=metadata_denom_units,json=metadataDenomUnits,proto3" json:"metadata_denom_units,omitempty"`
	// administrator is the bech32 address of the signer that set the metadata.
	Administrator string `protobuf:"bytes,6,opt,name=administrator,proto3" json:"administrator,omitempty"`
	// metadata_name is the descriptive name for the share denom.
	MetadataName string `protobuf:"bytes,7,opt,name=metadata_name,json=metadataName,proto3" json:"metadata_name,omitempty"`
	// metadata_symbol is the short ticker-style symbol (optional).
	MetadataSymbol string `protobuf:"bytes,8,opt,name=metadata_symbol,json=metadataSymbol,proto3" json:"metadata_symbol,omitempty"`
}

EventSetShareDenomMetadata is emitted when denom metadata is set for a vault’s share denom (via MsgSetShareDenomMetadata).

func NewEventSetShareDenomMetadata added in v1.0.11

func NewEventSetShareDenomMetadata(vaultAddress, administrator string, metadata banktypes.Metadata) *EventSetShareDenomMetadata

NewEventSetShareDenomMetadata creates a new EventSetShareDenomMetadata event.

func (*EventSetShareDenomMetadata) Descriptor added in v1.0.11

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

func (*EventSetShareDenomMetadata) GetAdministrator added in v1.0.11

func (m *EventSetShareDenomMetadata) GetAdministrator() string

func (*EventSetShareDenomMetadata) GetMetadataBase added in v1.0.11

func (m *EventSetShareDenomMetadata) GetMetadataBase() string

func (*EventSetShareDenomMetadata) GetMetadataDenomUnits added in v1.0.11

func (m *EventSetShareDenomMetadata) GetMetadataDenomUnits() []*EventDenomUnit

func (*EventSetShareDenomMetadata) GetMetadataDescription added in v1.0.11

func (m *EventSetShareDenomMetadata) GetMetadataDescription() string

func (*EventSetShareDenomMetadata) GetMetadataDisplay added in v1.0.11

func (m *EventSetShareDenomMetadata) GetMetadataDisplay() string

func (*EventSetShareDenomMetadata) GetMetadataName added in v1.0.11

func (m *EventSetShareDenomMetadata) GetMetadataName() string

func (*EventSetShareDenomMetadata) GetMetadataSymbol added in v1.0.11

func (m *EventSetShareDenomMetadata) GetMetadataSymbol() string

func (*EventSetShareDenomMetadata) GetVaultAddress added in v1.0.11

func (m *EventSetShareDenomMetadata) GetVaultAddress() string

func (*EventSetShareDenomMetadata) Marshal added in v1.0.11

func (m *EventSetShareDenomMetadata) Marshal() (dAtA []byte, err error)

func (*EventSetShareDenomMetadata) MarshalTo added in v1.0.11

func (m *EventSetShareDenomMetadata) MarshalTo(dAtA []byte) (int, error)

func (*EventSetShareDenomMetadata) MarshalToSizedBuffer added in v1.0.11

func (m *EventSetShareDenomMetadata) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*EventSetShareDenomMetadata) ProtoMessage added in v1.0.11

func (*EventSetShareDenomMetadata) ProtoMessage()

func (*EventSetShareDenomMetadata) Reset added in v1.0.11

func (m *EventSetShareDenomMetadata) Reset()

func (*EventSetShareDenomMetadata) Size added in v1.0.11

func (m *EventSetShareDenomMetadata) Size() (n int)

func (*EventSetShareDenomMetadata) String added in v1.0.11

func (m *EventSetShareDenomMetadata) String() string

func (*EventSetShareDenomMetadata) Unmarshal added in v1.0.11

func (m *EventSetShareDenomMetadata) Unmarshal(dAtA []byte) error

func (*EventSetShareDenomMetadata) XXX_DiscardUnknown added in v1.0.11

func (m *EventSetShareDenomMetadata) XXX_DiscardUnknown()

func (*EventSetShareDenomMetadata) XXX_Marshal added in v1.0.11

func (m *EventSetShareDenomMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*EventSetShareDenomMetadata) XXX_Merge added in v1.0.11

func (m *EventSetShareDenomMetadata) XXX_Merge(src proto.Message)

func (*EventSetShareDenomMetadata) XXX_Size added in v1.0.11

func (m *EventSetShareDenomMetadata) XXX_Size() int

func (*EventSetShareDenomMetadata) XXX_Unmarshal added in v1.0.11

func (m *EventSetShareDenomMetadata) XXX_Unmarshal(b []byte) error

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 string `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 string `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"`
}

EventSwapIn is an event emitted when assets are swapped in for vault shares.

func NewEventSwapIn

func NewEventSwapIn(vaultAddress, owner string, amountIn, sharesReceived sdk.Coin) *EventSwapIn

NewEventSwapIn creates a new EventSwapIn event.

func (*EventSwapIn) Descriptor

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

func (*EventSwapIn) GetAmountIn

func (m *EventSwapIn) GetAmountIn() string

func (*EventSwapIn) GetOwner

func (m *EventSwapIn) GetOwner() string

func (*EventSwapIn) GetSharesReceived

func (m *EventSwapIn) GetSharesReceived() string

func (*EventSwapIn) GetVaultAddress

func (m *EventSwapIn) GetVaultAddress() string

func (*EventSwapIn) Marshal

func (m *EventSwapIn) Marshal() (dAtA []byte, err error)

func (*EventSwapIn) MarshalTo

func (m *EventSwapIn) MarshalTo(dAtA []byte) (int, error)

func (*EventSwapIn) MarshalToSizedBuffer

func (m *EventSwapIn) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*EventSwapIn) ProtoMessage

func (*EventSwapIn) ProtoMessage()

func (*EventSwapIn) Reset

func (m *EventSwapIn) Reset()

func (*EventSwapIn) Size

func (m *EventSwapIn) Size() (n int)

func (*EventSwapIn) String

func (m *EventSwapIn) String() string

func (*EventSwapIn) Unmarshal

func (m *EventSwapIn) Unmarshal(dAtA []byte) error

func (*EventSwapIn) XXX_DiscardUnknown

func (m *EventSwapIn) XXX_DiscardUnknown()

func (*EventSwapIn) XXX_Marshal

func (m *EventSwapIn) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*EventSwapIn) XXX_Merge

func (m *EventSwapIn) XXX_Merge(src proto.Message)

func (*EventSwapIn) XXX_Size

func (m *EventSwapIn) XXX_Size() int

func (*EventSwapIn) XXX_Unmarshal

func (m *EventSwapIn) XXX_Unmarshal(b []byte) error

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 string `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 string `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"`
}

EventSwapOut is an event emitted when vault shares are swapped out for underlying assets.

func NewEventSwapOut

func NewEventSwapOut(vaultAddress, owner string, amountOut, sharesBurned sdk.Coin) *EventSwapOut

NewEventSwapOut creates a new EventSwapOut event.

func (*EventSwapOut) Descriptor

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

func (*EventSwapOut) GetAmountOut

func (m *EventSwapOut) GetAmountOut() string

func (*EventSwapOut) GetOwner

func (m *EventSwapOut) GetOwner() string

func (*EventSwapOut) GetSharesBurned

func (m *EventSwapOut) GetSharesBurned() string

func (*EventSwapOut) GetVaultAddress

func (m *EventSwapOut) GetVaultAddress() string

func (*EventSwapOut) Marshal

func (m *EventSwapOut) Marshal() (dAtA []byte, err error)

func (*EventSwapOut) MarshalTo

func (m *EventSwapOut) MarshalTo(dAtA []byte) (int, error)

func (*EventSwapOut) MarshalToSizedBuffer

func (m *EventSwapOut) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*EventSwapOut) ProtoMessage

func (*EventSwapOut) ProtoMessage()

func (*EventSwapOut) Reset

func (m *EventSwapOut) Reset()

func (*EventSwapOut) Size

func (m *EventSwapOut) Size() (n int)

func (*EventSwapOut) String

func (m *EventSwapOut) String() string

func (*EventSwapOut) Unmarshal

func (m *EventSwapOut) Unmarshal(dAtA []byte) error

func (*EventSwapOut) XXX_DiscardUnknown

func (m *EventSwapOut) XXX_DiscardUnknown()

func (*EventSwapOut) XXX_Marshal

func (m *EventSwapOut) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*EventSwapOut) XXX_Merge

func (m *EventSwapOut) XXX_Merge(src proto.Message)

func (*EventSwapOut) XXX_Size

func (m *EventSwapOut) XXX_Size() int

func (*EventSwapOut) XXX_Unmarshal

func (m *EventSwapOut) XXX_Unmarshal(b []byte) error

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 string `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"`
}

EventSwapOutCompleted is emitted when a pending swap out is successfully processed.

func NewEventSwapOutCompleted

func NewEventSwapOutCompleted(vaultAddress, owner string, assets sdk.Coin, requestID uint64) *EventSwapOutCompleted

NewEventSwapOutCompleted creates a new EventSwapOutCompleted event.

func (*EventSwapOutCompleted) Descriptor

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

func (*EventSwapOutCompleted) GetAssets

func (m *EventSwapOutCompleted) GetAssets() string

func (*EventSwapOutCompleted) GetOwner

func (m *EventSwapOutCompleted) GetOwner() string

func (*EventSwapOutCompleted) GetRequestId

func (m *EventSwapOutCompleted) GetRequestId() uint64

func (*EventSwapOutCompleted) GetVaultAddress

func (m *EventSwapOutCompleted) GetVaultAddress() string

func (*EventSwapOutCompleted) Marshal

func (m *EventSwapOutCompleted) Marshal() (dAtA []byte, err error)

func (*EventSwapOutCompleted) MarshalTo

func (m *EventSwapOutCompleted) MarshalTo(dAtA []byte) (int, error)

func (*EventSwapOutCompleted) MarshalToSizedBuffer

func (m *EventSwapOutCompleted) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*EventSwapOutCompleted) ProtoMessage

func (*EventSwapOutCompleted) ProtoMessage()

func (*EventSwapOutCompleted) Reset

func (m *EventSwapOutCompleted) Reset()

func (*EventSwapOutCompleted) Size

func (m *EventSwapOutCompleted) Size() (n int)

func (*EventSwapOutCompleted) String

func (m *EventSwapOutCompleted) String() string

func (*EventSwapOutCompleted) Unmarshal

func (m *EventSwapOutCompleted) Unmarshal(dAtA []byte) error

func (*EventSwapOutCompleted) XXX_DiscardUnknown

func (m *EventSwapOutCompleted) XXX_DiscardUnknown()

func (*EventSwapOutCompleted) XXX_Marshal

func (m *EventSwapOutCompleted) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*EventSwapOutCompleted) XXX_Merge

func (m *EventSwapOutCompleted) XXX_Merge(src proto.Message)

func (*EventSwapOutCompleted) XXX_Size

func (m *EventSwapOutCompleted) XXX_Size() int

func (*EventSwapOutCompleted) XXX_Unmarshal

func (m *EventSwapOutCompleted) XXX_Unmarshal(b []byte) error

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 string `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"`
}

EventSwapOutRefunded is emitted when a pending swap out fails and the user's escrowed shares are returned.

func NewEventSwapOutRefunded

func NewEventSwapOutRefunded(vaultAddress, owner string, shares sdk.Coin, requestID uint64, reason string) *EventSwapOutRefunded

NewEventSwapOutRefunded creates a new EventSwapOutRefunded event.

func (*EventSwapOutRefunded) Descriptor

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

func (*EventSwapOutRefunded) GetOwner

func (m *EventSwapOutRefunded) GetOwner() string

func (*EventSwapOutRefunded) GetReason

func (m *EventSwapOutRefunded) GetReason() string

func (*EventSwapOutRefunded) GetRequestId

func (m *EventSwapOutRefunded) GetRequestId() uint64

func (*EventSwapOutRefunded) GetShares

func (m *EventSwapOutRefunded) GetShares() string

func (*EventSwapOutRefunded) GetVaultAddress

func (m *EventSwapOutRefunded) GetVaultAddress() string

func (*EventSwapOutRefunded) Marshal

func (m *EventSwapOutRefunded) Marshal() (dAtA []byte, err error)

func (*EventSwapOutRefunded) MarshalTo

func (m *EventSwapOutRefunded) MarshalTo(dAtA []byte) (int, error)

func (*EventSwapOutRefunded) MarshalToSizedBuffer

func (m *EventSwapOutRefunded) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*EventSwapOutRefunded) ProtoMessage

func (*EventSwapOutRefunded) ProtoMessage()

func (*EventSwapOutRefunded) Reset

func (m *EventSwapOutRefunded) Reset()

func (*EventSwapOutRefunded) Size

func (m *EventSwapOutRefunded) Size() (n int)

func (*EventSwapOutRefunded) String

func (m *EventSwapOutRefunded) String() string

func (*EventSwapOutRefunded) Unmarshal

func (m *EventSwapOutRefunded) Unmarshal(dAtA []byte) error

func (*EventSwapOutRefunded) XXX_DiscardUnknown

func (m *EventSwapOutRefunded) XXX_DiscardUnknown()

func (*EventSwapOutRefunded) XXX_Marshal

func (m *EventSwapOutRefunded) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*EventSwapOutRefunded) XXX_Merge

func (m *EventSwapOutRefunded) XXX_Merge(src proto.Message)

func (*EventSwapOutRefunded) XXX_Size

func (m *EventSwapOutRefunded) XXX_Size() int

func (*EventSwapOutRefunded) XXX_Unmarshal

func (m *EventSwapOutRefunded) XXX_Unmarshal(b []byte) error

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 string `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"`
}

EventSwapOutRequested is emitted when a user successfully queues a swap out.

func NewEventSwapOutRequested

func NewEventSwapOutRequested(vaultAddress, owner, redeemDenom string, shares sdk.Coin, requestID uint64) *EventSwapOutRequested

NewEventSwapOutRequested creates a new EventSwapOutRequested event.

func (*EventSwapOutRequested) Descriptor

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

func (*EventSwapOutRequested) GetOwner

func (m *EventSwapOutRequested) GetOwner() string

func (*EventSwapOutRequested) GetRedeemDenom

func (m *EventSwapOutRequested) GetRedeemDenom() string

func (*EventSwapOutRequested) GetRequestId

func (m *EventSwapOutRequested) GetRequestId() uint64

func (*EventSwapOutRequested) GetShares

func (m *EventSwapOutRequested) GetShares() string

func (*EventSwapOutRequested) GetVaultAddress

func (m *EventSwapOutRequested) GetVaultAddress() string

func (*EventSwapOutRequested) Marshal

func (m *EventSwapOutRequested) Marshal() (dAtA []byte, err error)

func (*EventSwapOutRequested) MarshalTo

func (m *EventSwapOutRequested) MarshalTo(dAtA []byte) (int, error)

func (*EventSwapOutRequested) MarshalToSizedBuffer

func (m *EventSwapOutRequested) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*EventSwapOutRequested) ProtoMessage

func (*EventSwapOutRequested) ProtoMessage()

func (*EventSwapOutRequested) Reset

func (m *EventSwapOutRequested) Reset()

func (*EventSwapOutRequested) Size

func (m *EventSwapOutRequested) Size() (n int)

func (*EventSwapOutRequested) String

func (m *EventSwapOutRequested) String() string

func (*EventSwapOutRequested) Unmarshal

func (m *EventSwapOutRequested) Unmarshal(dAtA []byte) error

func (*EventSwapOutRequested) XXX_DiscardUnknown

func (m *EventSwapOutRequested) XXX_DiscardUnknown()

func (*EventSwapOutRequested) XXX_Marshal

func (m *EventSwapOutRequested) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*EventSwapOutRequested) XXX_Merge

func (m *EventSwapOutRequested) XXX_Merge(src proto.Message)

func (*EventSwapOutRequested) XXX_Size

func (m *EventSwapOutRequested) XXX_Size() int

func (*EventSwapOutRequested) XXX_Unmarshal

func (m *EventSwapOutRequested) XXX_Unmarshal(b []byte) error

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"`
}

EventToggleSwapIn is an event emitted when swap-in operations are enabled or disabled for a vault.

func NewEventToggleSwapIn

func NewEventToggleSwapIn(vaultAddress, admin string, enabled bool) *EventToggleSwapIn

NewEventToggleSwapIn creates a new EventToggleSwapIn event.

func (*EventToggleSwapIn) Descriptor

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

func (*EventToggleSwapIn) GetAdmin

func (m *EventToggleSwapIn) GetAdmin() string

func (*EventToggleSwapIn) GetEnabled

func (m *EventToggleSwapIn) GetEnabled() bool

func (*EventToggleSwapIn) GetVaultAddress

func (m *EventToggleSwapIn) GetVaultAddress() string

func (*EventToggleSwapIn) Marshal

func (m *EventToggleSwapIn) Marshal() (dAtA []byte, err error)

func (*EventToggleSwapIn) MarshalTo

func (m *EventToggleSwapIn) MarshalTo(dAtA []byte) (int, error)

func (*EventToggleSwapIn) MarshalToSizedBuffer

func (m *EventToggleSwapIn) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*EventToggleSwapIn) ProtoMessage

func (*EventToggleSwapIn) ProtoMessage()

func (*EventToggleSwapIn) Reset

func (m *EventToggleSwapIn) Reset()

func (*EventToggleSwapIn) Size

func (m *EventToggleSwapIn) Size() (n int)

func (*EventToggleSwapIn) String

func (m *EventToggleSwapIn) String() string

func (*EventToggleSwapIn) Unmarshal

func (m *EventToggleSwapIn) Unmarshal(dAtA []byte) error

func (*EventToggleSwapIn) XXX_DiscardUnknown

func (m *EventToggleSwapIn) XXX_DiscardUnknown()

func (*EventToggleSwapIn) XXX_Marshal

func (m *EventToggleSwapIn) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*EventToggleSwapIn) XXX_Merge

func (m *EventToggleSwapIn) XXX_Merge(src proto.Message)

func (*EventToggleSwapIn) XXX_Size

func (m *EventToggleSwapIn) XXX_Size() int

func (*EventToggleSwapIn) XXX_Unmarshal

func (m *EventToggleSwapIn) XXX_Unmarshal(b []byte) error

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"`
}

EventToggleSwapOut is an event emitted when swap-out operations are enabled or disabled for a vault.

func NewEventToggleSwapOut

func NewEventToggleSwapOut(vaultAddress, admin string, enabled bool) *EventToggleSwapOut

NewEventToggleSwapOut creates a new EventToggleSwapOut event.

func (*EventToggleSwapOut) Descriptor

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

func (*EventToggleSwapOut) GetAdmin

func (m *EventToggleSwapOut) GetAdmin() string

func (*EventToggleSwapOut) GetEnabled

func (m *EventToggleSwapOut) GetEnabled() bool

func (*EventToggleSwapOut) GetVaultAddress

func (m *EventToggleSwapOut) GetVaultAddress() string

func (*EventToggleSwapOut) Marshal

func (m *EventToggleSwapOut) Marshal() (dAtA []byte, err error)

func (*EventToggleSwapOut) MarshalTo

func (m *EventToggleSwapOut) MarshalTo(dAtA []byte) (int, error)

func (*EventToggleSwapOut) MarshalToSizedBuffer

func (m *EventToggleSwapOut) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*EventToggleSwapOut) ProtoMessage

func (*EventToggleSwapOut) ProtoMessage()

func (*EventToggleSwapOut) Reset

func (m *EventToggleSwapOut) Reset()

func (*EventToggleSwapOut) Size

func (m *EventToggleSwapOut) Size() (n int)

func (*EventToggleSwapOut) String

func (m *EventToggleSwapOut) String() string

func (*EventToggleSwapOut) Unmarshal

func (m *EventToggleSwapOut) Unmarshal(dAtA []byte) error

func (*EventToggleSwapOut) XXX_DiscardUnknown

func (m *EventToggleSwapOut) XXX_DiscardUnknown()

func (*EventToggleSwapOut) XXX_Marshal

func (m *EventToggleSwapOut) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*EventToggleSwapOut) XXX_Merge

func (m *EventToggleSwapOut) XXX_Merge(src proto.Message)

func (*EventToggleSwapOut) XXX_Size

func (m *EventToggleSwapOut) XXX_Size() int

func (*EventToggleSwapOut) XXX_Unmarshal

func (m *EventToggleSwapOut) XXX_Unmarshal(b []byte) error

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"`
}

EventVaultCreated is an event emitted when a vault is created.

func NewEventVaultCreated

func NewEventVaultCreated(vault *VaultAccount) *EventVaultCreated

NewEventVaultCreated creates a new EventVaultCreated event.

func (*EventVaultCreated) Descriptor

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

func (*EventVaultCreated) GetAdmin

func (m *EventVaultCreated) GetAdmin() string

func (*EventVaultCreated) GetShareDenom

func (m *EventVaultCreated) GetShareDenom() string

func (*EventVaultCreated) GetUnderlyingAsset

func (m *EventVaultCreated) GetUnderlyingAsset() string

func (*EventVaultCreated) GetVaultAddress

func (m *EventVaultCreated) GetVaultAddress() string

func (*EventVaultCreated) Marshal

func (m *EventVaultCreated) Marshal() (dAtA []byte, err error)

func (*EventVaultCreated) MarshalTo

func (m *EventVaultCreated) MarshalTo(dAtA []byte) (int, error)

func (*EventVaultCreated) MarshalToSizedBuffer

func (m *EventVaultCreated) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*EventVaultCreated) ProtoMessage

func (*EventVaultCreated) ProtoMessage()

func (*EventVaultCreated) Reset

func (m *EventVaultCreated) Reset()

func (*EventVaultCreated) Size

func (m *EventVaultCreated) Size() (n int)

func (*EventVaultCreated) String

func (m *EventVaultCreated) String() string

func (*EventVaultCreated) Unmarshal

func (m *EventVaultCreated) Unmarshal(dAtA []byte) error

func (*EventVaultCreated) XXX_DiscardUnknown

func (m *EventVaultCreated) XXX_DiscardUnknown()

func (*EventVaultCreated) XXX_Marshal

func (m *EventVaultCreated) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*EventVaultCreated) XXX_Merge

func (m *EventVaultCreated) XXX_Merge(src proto.Message)

func (*EventVaultCreated) XXX_Size

func (m *EventVaultCreated) XXX_Size() int

func (*EventVaultCreated) XXX_Unmarshal

func (m *EventVaultCreated) XXX_Unmarshal(b []byte) error

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"`
}

EventVaultInterestChange is an event emitted when a vault's interest rate is changed.

func NewEventVaultInterestChange

func NewEventVaultInterestChange(vaultAddress, currentRate, desiredRate string) *EventVaultInterestChange

NewEventVaultInterestChange creates a new EventVaultInterestChange event.

func (*EventVaultInterestChange) Descriptor

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

func (*EventVaultInterestChange) GetCurrentRate

func (m *EventVaultInterestChange) GetCurrentRate() string

func (*EventVaultInterestChange) GetDesiredRate

func (m *EventVaultInterestChange) GetDesiredRate() string

func (*EventVaultInterestChange) GetVaultAddress

func (m *EventVaultInterestChange) GetVaultAddress() string

func (*EventVaultInterestChange) Marshal

func (m *EventVaultInterestChange) Marshal() (dAtA []byte, err error)

func (*EventVaultInterestChange) MarshalTo

func (m *EventVaultInterestChange) MarshalTo(dAtA []byte) (int, error)

func (*EventVaultInterestChange) MarshalToSizedBuffer

func (m *EventVaultInterestChange) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*EventVaultInterestChange) ProtoMessage

func (*EventVaultInterestChange) ProtoMessage()

func (*EventVaultInterestChange) Reset

func (m *EventVaultInterestChange) Reset()

func (*EventVaultInterestChange) Size

func (m *EventVaultInterestChange) Size() (n int)

func (*EventVaultInterestChange) String

func (m *EventVaultInterestChange) String() string

func (*EventVaultInterestChange) Unmarshal

func (m *EventVaultInterestChange) Unmarshal(dAtA []byte) error

func (*EventVaultInterestChange) XXX_DiscardUnknown

func (m *EventVaultInterestChange) XXX_DiscardUnknown()

func (*EventVaultInterestChange) XXX_Marshal

func (m *EventVaultInterestChange) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*EventVaultInterestChange) XXX_Merge

func (m *EventVaultInterestChange) XXX_Merge(src proto.Message)

func (*EventVaultInterestChange) XXX_Size

func (m *EventVaultInterestChange) XXX_Size() int

func (*EventVaultInterestChange) XXX_Unmarshal

func (m *EventVaultInterestChange) XXX_Unmarshal(b []byte) error

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"`
	// authority is the address (admin or asset manager) that paused the vault.
	Authority string `protobuf:"bytes,2,opt,name=authority,proto3" json:"authority,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 string `protobuf:"bytes,4,opt,name=total_vault_value,json=totalVaultValue,proto3" json:"total_vault_value,omitempty"`
}

EventVaultPaused is emitted when a vault is paused.

func NewEventVaultPaused

func NewEventVaultPaused(vaultAddress, authority, reason string, totalVaultValue sdk.Coin) *EventVaultPaused

NewEventVaultPaused creates a new EventVaultPaused event.

func (*EventVaultPaused) Descriptor

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

func (*EventVaultPaused) GetAuthority added in v1.0.7

func (m *EventVaultPaused) GetAuthority() string

func (*EventVaultPaused) GetReason

func (m *EventVaultPaused) GetReason() string

func (*EventVaultPaused) GetTotalVaultValue

func (m *EventVaultPaused) GetTotalVaultValue() string

func (*EventVaultPaused) GetVaultAddress

func (m *EventVaultPaused) GetVaultAddress() string

func (*EventVaultPaused) Marshal

func (m *EventVaultPaused) Marshal() (dAtA []byte, err error)

func (*EventVaultPaused) MarshalTo

func (m *EventVaultPaused) MarshalTo(dAtA []byte) (int, error)

func (*EventVaultPaused) MarshalToSizedBuffer

func (m *EventVaultPaused) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*EventVaultPaused) ProtoMessage

func (*EventVaultPaused) ProtoMessage()

func (*EventVaultPaused) Reset

func (m *EventVaultPaused) Reset()

func (*EventVaultPaused) Size

func (m *EventVaultPaused) Size() (n int)

func (*EventVaultPaused) String

func (m *EventVaultPaused) String() string

func (*EventVaultPaused) Unmarshal

func (m *EventVaultPaused) Unmarshal(dAtA []byte) error

func (*EventVaultPaused) XXX_DiscardUnknown

func (m *EventVaultPaused) XXX_DiscardUnknown()

func (*EventVaultPaused) XXX_Marshal

func (m *EventVaultPaused) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*EventVaultPaused) XXX_Merge

func (m *EventVaultPaused) XXX_Merge(src proto.Message)

func (*EventVaultPaused) XXX_Size

func (m *EventVaultPaused) XXX_Size() int

func (*EventVaultPaused) XXX_Unmarshal

func (m *EventVaultPaused) XXX_Unmarshal(b []byte) error

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 string `protobuf:"bytes,2,opt,name=principal_before,json=principalBefore,proto3" json:"principal_before,omitempty"`
	// principal_after is the principal amount after applying interest.
	PrincipalAfter string `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 string `protobuf:"bytes,6,opt,name=interest_earned,json=interestEarned,proto3" json:"interest_earned,omitempty"`
}

EventVaultReconcile is an event emitted when a vault's interest is reconciled.

func NewEventVaultReconcile

func NewEventVaultReconcile(vaultAddress string, principalBefore, principalAfter sdk.Coin, rate string, time int64, interestEarned sdkmath.Int) *EventVaultReconcile

NewEventVaultReconcile creates a new EventVaultReconcile event. Note: interestEarned does not use NewCoin to avoid panics with negative amounts.

func (*EventVaultReconcile) Descriptor

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

func (*EventVaultReconcile) GetInterestEarned

func (m *EventVaultReconcile) GetInterestEarned() string

func (*EventVaultReconcile) GetPrincipalAfter

func (m *EventVaultReconcile) GetPrincipalAfter() string

func (*EventVaultReconcile) GetPrincipalBefore

func (m *EventVaultReconcile) GetPrincipalBefore() string

func (*EventVaultReconcile) GetRate

func (m *EventVaultReconcile) GetRate() string

func (*EventVaultReconcile) GetTime

func (m *EventVaultReconcile) GetTime() int64

func (*EventVaultReconcile) GetVaultAddress

func (m *EventVaultReconcile) GetVaultAddress() string

func (*EventVaultReconcile) Marshal

func (m *EventVaultReconcile) Marshal() (dAtA []byte, err error)

func (*EventVaultReconcile) MarshalTo

func (m *EventVaultReconcile) MarshalTo(dAtA []byte) (int, error)

func (*EventVaultReconcile) MarshalToSizedBuffer

func (m *EventVaultReconcile) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*EventVaultReconcile) ProtoMessage

func (*EventVaultReconcile) ProtoMessage()

func (*EventVaultReconcile) Reset

func (m *EventVaultReconcile) Reset()

func (*EventVaultReconcile) Size

func (m *EventVaultReconcile) Size() (n int)

func (*EventVaultReconcile) String

func (m *EventVaultReconcile) String() string

func (*EventVaultReconcile) Unmarshal

func (m *EventVaultReconcile) Unmarshal(dAtA []byte) error

func (*EventVaultReconcile) XXX_DiscardUnknown

func (m *EventVaultReconcile) XXX_DiscardUnknown()

func (*EventVaultReconcile) XXX_Marshal

func (m *EventVaultReconcile) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*EventVaultReconcile) XXX_Merge

func (m *EventVaultReconcile) XXX_Merge(src proto.Message)

func (*EventVaultReconcile) XXX_Size

func (m *EventVaultReconcile) XXX_Size() int

func (*EventVaultReconcile) XXX_Unmarshal

func (m *EventVaultReconcile) XXX_Unmarshal(b []byte) error

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"`
	// authority is the address (admin or asset manager) that unpaused the vault.
	Authority string `protobuf:"bytes,2,opt,name=authority,proto3" json:"authority,omitempty"`
	// total_vault_value is the new total value of the vault's assets at the time of unpausing.
	TotalVaultValue string `protobuf:"bytes,3,opt,name=total_vault_value,json=totalVaultValue,proto3" json:"total_vault_value,omitempty"`
}

EventVaultUnpaused is emitted when a vault is unpaused.

func NewEventVaultUnpaused

func NewEventVaultUnpaused(vaultAddress, authority string, totalVaultValue sdk.Coin) *EventVaultUnpaused

NewEventVaultUnpaused creates a new EventVaultUnpaused event.

func (*EventVaultUnpaused) Descriptor

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

func (*EventVaultUnpaused) GetAuthority added in v1.0.7

func (m *EventVaultUnpaused) GetAuthority() string

func (*EventVaultUnpaused) GetTotalVaultValue

func (m *EventVaultUnpaused) GetTotalVaultValue() string

func (*EventVaultUnpaused) GetVaultAddress

func (m *EventVaultUnpaused) GetVaultAddress() string

func (*EventVaultUnpaused) Marshal

func (m *EventVaultUnpaused) Marshal() (dAtA []byte, err error)

func (*EventVaultUnpaused) MarshalTo

func (m *EventVaultUnpaused) MarshalTo(dAtA []byte) (int, error)

func (*EventVaultUnpaused) MarshalToSizedBuffer

func (m *EventVaultUnpaused) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*EventVaultUnpaused) ProtoMessage

func (*EventVaultUnpaused) ProtoMessage()

func (*EventVaultUnpaused) Reset

func (m *EventVaultUnpaused) Reset()

func (*EventVaultUnpaused) Size

func (m *EventVaultUnpaused) Size() (n int)

func (*EventVaultUnpaused) String

func (m *EventVaultUnpaused) String() string

func (*EventVaultUnpaused) Unmarshal

func (m *EventVaultUnpaused) Unmarshal(dAtA []byte) error

func (*EventVaultUnpaused) XXX_DiscardUnknown

func (m *EventVaultUnpaused) XXX_DiscardUnknown()

func (*EventVaultUnpaused) XXX_Marshal

func (m *EventVaultUnpaused) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*EventVaultUnpaused) XXX_Merge

func (m *EventVaultUnpaused) XXX_Merge(src proto.Message)

func (*EventVaultUnpaused) XXX_Size

func (m *EventVaultUnpaused) XXX_Size() int

func (*EventVaultUnpaused) XXX_Unmarshal

func (m *EventVaultUnpaused) XXX_Unmarshal(b []byte) error

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"`
}

EventWithdraw is an event emitted when assets are withdrawn from a vault.

func (*EventWithdraw) Descriptor

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

func (*EventWithdraw) GetAssets

func (m *EventWithdraw) GetAssets() string

func (*EventWithdraw) GetCaller

func (m *EventWithdraw) GetCaller() string

func (*EventWithdraw) GetOwner

func (m *EventWithdraw) GetOwner() string

func (*EventWithdraw) GetReceiver

func (m *EventWithdraw) GetReceiver() string

func (*EventWithdraw) GetShares

func (m *EventWithdraw) GetShares() string

func (*EventWithdraw) GetVaultId

func (m *EventWithdraw) GetVaultId() uint32

func (*EventWithdraw) Marshal

func (m *EventWithdraw) Marshal() (dAtA []byte, err error)

func (*EventWithdraw) MarshalTo

func (m *EventWithdraw) MarshalTo(dAtA []byte) (int, error)

func (*EventWithdraw) MarshalToSizedBuffer

func (m *EventWithdraw) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*EventWithdraw) ProtoMessage

func (*EventWithdraw) ProtoMessage()

func (*EventWithdraw) Reset

func (m *EventWithdraw) Reset()

func (*EventWithdraw) Size

func (m *EventWithdraw) Size() (n int)

func (*EventWithdraw) String

func (m *EventWithdraw) String() string

func (*EventWithdraw) Unmarshal

func (m *EventWithdraw) Unmarshal(dAtA []byte) error

func (*EventWithdraw) XXX_DiscardUnknown

func (m *EventWithdraw) XXX_DiscardUnknown()

func (*EventWithdraw) XXX_Marshal

func (m *EventWithdraw) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*EventWithdraw) XXX_Merge

func (m *EventWithdraw) XXX_Merge(src proto.Message)

func (*EventWithdraw) XXX_Size

func (m *EventWithdraw) XXX_Size() int

func (*EventWithdraw) XXX_Unmarshal

func (m *EventWithdraw) XXX_Unmarshal(b []byte) error

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"`
	// authority is the address (admin or asset manager) that withdrew the funds.
	Authority string `protobuf:"bytes,2,opt,name=authority,proto3" json:"authority,omitempty"`
	// amount is the amount of funds withdrawn.
	Amount string `protobuf:"bytes,3,opt,name=amount,proto3" json:"amount,omitempty"`
}

EventWithdrawPrincipalFunds is an event emitted when principal funds are withdrawn by the authority.

func NewEventWithdrawPrincipalFunds

func NewEventWithdrawPrincipalFunds(vaultAddress, authority string, amount sdk.Coin) *EventWithdrawPrincipalFunds

NewEventWithdrawPrincipalFunds creates a new EventWithdrawPrincipalFunds event.

func (*EventWithdrawPrincipalFunds) Descriptor

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

func (*EventWithdrawPrincipalFunds) GetAmount

func (m *EventWithdrawPrincipalFunds) GetAmount() string

func (*EventWithdrawPrincipalFunds) GetAuthority added in v1.0.7

func (m *EventWithdrawPrincipalFunds) GetAuthority() string

func (*EventWithdrawPrincipalFunds) GetVaultAddress

func (m *EventWithdrawPrincipalFunds) GetVaultAddress() string

func (*EventWithdrawPrincipalFunds) Marshal

func (m *EventWithdrawPrincipalFunds) Marshal() (dAtA []byte, err error)

func (*EventWithdrawPrincipalFunds) MarshalTo

func (m *EventWithdrawPrincipalFunds) MarshalTo(dAtA []byte) (int, error)

func (*EventWithdrawPrincipalFunds) MarshalToSizedBuffer

func (m *EventWithdrawPrincipalFunds) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*EventWithdrawPrincipalFunds) ProtoMessage

func (*EventWithdrawPrincipalFunds) ProtoMessage()

func (*EventWithdrawPrincipalFunds) Reset

func (m *EventWithdrawPrincipalFunds) Reset()

func (*EventWithdrawPrincipalFunds) Size

func (m *EventWithdrawPrincipalFunds) Size() (n int)

func (*EventWithdrawPrincipalFunds) String

func (m *EventWithdrawPrincipalFunds) String() string

func (*EventWithdrawPrincipalFunds) Unmarshal

func (m *EventWithdrawPrincipalFunds) Unmarshal(dAtA []byte) error

func (*EventWithdrawPrincipalFunds) XXX_DiscardUnknown

func (m *EventWithdrawPrincipalFunds) XXX_DiscardUnknown()

func (*EventWithdrawPrincipalFunds) XXX_Marshal

func (m *EventWithdrawPrincipalFunds) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*EventWithdrawPrincipalFunds) XXX_Merge

func (m *EventWithdrawPrincipalFunds) XXX_Merge(src proto.Message)

func (*EventWithdrawPrincipalFunds) XXX_Size

func (m *EventWithdrawPrincipalFunds) XXX_Size() int

func (*EventWithdrawPrincipalFunds) XXX_Unmarshal

func (m *EventWithdrawPrincipalFunds) XXX_Unmarshal(b []byte) error

type GenesisState

type GenesisState struct {
	// vaults defines the vaults that exist at genesis.
	Vaults []VaultAccount `protobuf:"bytes,1,rep,name=vaults,proto3" json:"vaults"`
	// 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"`
	// 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"`
}

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 DefaultGenesisState

func DefaultGenesisState() *GenesisState

DefaultGenesisState returns the default genesis state

func (*GenesisState) Descriptor

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

func (*GenesisState) GetPayoutTimeoutQueue

func (m *GenesisState) GetPayoutTimeoutQueue() []QueueEntry

func (*GenesisState) GetPendingSwapOutQueue

func (m *GenesisState) GetPendingSwapOutQueue() PendingSwapOutQueue

func (*GenesisState) GetVaults

func (m *GenesisState) GetVaults() []VaultAccount

func (*GenesisState) Marshal

func (m *GenesisState) Marshal() (dAtA []byte, err error)

func (*GenesisState) MarshalTo

func (m *GenesisState) MarshalTo(dAtA []byte) (int, error)

func (*GenesisState) MarshalToSizedBuffer

func (m *GenesisState) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*GenesisState) ProtoMessage

func (*GenesisState) ProtoMessage()

func (*GenesisState) Reset

func (m *GenesisState) Reset()

func (*GenesisState) Size

func (m *GenesisState) Size() (n int)

func (*GenesisState) String

func (m *GenesisState) String() string

func (*GenesisState) Unmarshal

func (m *GenesisState) Unmarshal(dAtA []byte) error

func (GenesisState) Validate

func (gs GenesisState) Validate() error

Validate performs basic genesis state validation returning an error upon any failure.

func (*GenesisState) XXX_DiscardUnknown

func (m *GenesisState) XXX_DiscardUnknown()

func (*GenesisState) XXX_Marshal

func (m *GenesisState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GenesisState) XXX_Merge

func (m *GenesisState) XXX_Merge(src proto.Message)

func (*GenesisState) XXX_Size

func (m *GenesisState) XXX_Size() int

func (*GenesisState) XXX_Unmarshal

func (m *GenesisState) XXX_Unmarshal(b []byte) error

type InterestPeriod

type InterestPeriod struct {
	// principal is the initial amount of principal.
	Principal types.Coin `protobuf:"bytes,1,opt,name=principal,proto3" json:"principal"`
	// 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 *time.Time `protobuf:"bytes,4,opt,name=start_time,json=startTime,proto3,stdtime" json:"start_time,omitempty"`
	// estimated_end_time is the estimated time when the interest period will end.
	EstimatedEndTime *time.Time `protobuf:"bytes,5,opt,name=estimated_end_time,json=estimatedEndTime,proto3,stdtime" json:"estimated_end_time,omitempty"`
	// estimated_interest is the amount of estimated interest that will be earned from this period.
	EstimatedInterest types.Coin `protobuf:"bytes,6,opt,name=estimated_interest,json=estimatedInterest,proto3" json:"estimated_interest"`
	// end_time is the time when the interest period will end.
	EndTime *time.Time `protobuf:"bytes,7,opt,name=end_time,json=endTime,proto3,stdtime" json:"end_time,omitempty"`
	// interest_earned is the amount of interest earned in the period.
	InterestEarned types.Coin `protobuf:"bytes,8,opt,name=interest_earned,json=interestEarned,proto3" json:"interest_earned"`
}

func (*InterestPeriod) Descriptor

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

func (*InterestPeriod) GetEndTime

func (m *InterestPeriod) GetEndTime() *time.Time

func (*InterestPeriod) GetEstimatedEndTime

func (m *InterestPeriod) GetEstimatedEndTime() *time.Time

func (*InterestPeriod) GetEstimatedInterest

func (m *InterestPeriod) GetEstimatedInterest() types.Coin

func (*InterestPeriod) GetInterestEarned

func (m *InterestPeriod) GetInterestEarned() types.Coin

func (*InterestPeriod) GetPrincipal

func (m *InterestPeriod) GetPrincipal() types.Coin

func (*InterestPeriod) GetRate

func (m *InterestPeriod) GetRate() string

func (*InterestPeriod) GetStartTime

func (m *InterestPeriod) GetStartTime() *time.Time

func (*InterestPeriod) GetTime

func (m *InterestPeriod) GetTime() int64

func (*InterestPeriod) Marshal

func (m *InterestPeriod) Marshal() (dAtA []byte, err error)

func (*InterestPeriod) MarshalTo

func (m *InterestPeriod) MarshalTo(dAtA []byte) (int, error)

func (*InterestPeriod) MarshalToSizedBuffer

func (m *InterestPeriod) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*InterestPeriod) ProtoMessage

func (*InterestPeriod) ProtoMessage()

func (*InterestPeriod) Reset

func (m *InterestPeriod) Reset()

func (*InterestPeriod) Size

func (m *InterestPeriod) Size() (n int)

func (*InterestPeriod) String

func (m *InterestPeriod) String() string

func (*InterestPeriod) Unmarshal

func (m *InterestPeriod) Unmarshal(dAtA []byte) error

func (*InterestPeriod) XXX_DiscardUnknown

func (m *InterestPeriod) XXX_DiscardUnknown()

func (*InterestPeriod) XXX_Marshal

func (m *InterestPeriod) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*InterestPeriod) XXX_Merge

func (m *InterestPeriod) XXX_Merge(src proto.Message)

func (*InterestPeriod) XXX_Size

func (m *InterestPeriod) XXX_Size() int

func (*InterestPeriod) XXX_Unmarshal

func (m *InterestPeriod) XXX_Unmarshal(b []byte) error

type MarkerKeeper

type MarkerKeeper interface {
	MintCoin(ctx sdk.Context, caller sdk.AccAddress, coin sdk.Coin) error
	BurnCoin(ctx sdk.Context, caller sdk.AccAddress, coin sdk.Coin) error
	AddFinalizeAndActivateMarker(ctx sdk.Context, marker types.MarkerAccountI) error
	TransferCoin(ctx sdk.Context, from, to, admin sdk.AccAddress, amount sdk.Coin) error
	WithdrawCoins(ctx sdk.Context, caller sdk.AccAddress, recipient sdk.AccAddress, denom string, coins sdk.Coins) error
	GetMarker(ctx sdk.Context, address sdk.AccAddress) (types.MarkerAccountI, error)
	GetMarkerByDenom(ctx sdk.Context, denom string) (types.MarkerAccountI, error)
	IsMarkerAccount(ctx sdk.Context, addr sdk.AccAddress) bool
	GetNetAssetValue(ctx sdk.Context, markerDenom, priceDenom string) (*types.NetAssetValue, error)
	SetNetAssetValue(ctx sdk.Context, marker types.MarkerAccountI, netAssetValue types.NetAssetValue, source string) error
	SendRestrictionFn(ctx context.Context, fromAddr, toAddr sdk.AccAddress, amt sdk.Coins) (sdk.AccAddress, error)
	GetUnrestrictedDenomRegex(ctx sdk.Context) (regex string)
}

type MsgBridgeBurnSharesRequest

type MsgBridgeBurnSharesRequest struct {
	// bridge is the signer and must match the vault's configured bridge_address.
	Bridge string `protobuf:"bytes,1,opt,name=bridge,proto3" json:"bridge,omitempty"`
	// vault_address is the bech32 address of the vault whose local share marker supply will be decreased.
	VaultAddress string `protobuf:"bytes,2,opt,name=vault_address,json=vaultAddress,proto3" json:"vault_address,omitempty"`
	// shares is the amount of shares to burn from local marker supply.
	Shares types1.Coin `protobuf:"bytes,3,opt,name=shares,proto3" json:"shares"`
}

MsgBridgeBurnSharesRequest is the request message for burning local share marker supply; must be signed by the configured bridge address.

func (*MsgBridgeBurnSharesRequest) Descriptor

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

func (*MsgBridgeBurnSharesRequest) GetBridge

func (m *MsgBridgeBurnSharesRequest) GetBridge() string

func (*MsgBridgeBurnSharesRequest) GetShares

func (m *MsgBridgeBurnSharesRequest) GetShares() types1.Coin

func (*MsgBridgeBurnSharesRequest) GetVaultAddress

func (m *MsgBridgeBurnSharesRequest) GetVaultAddress() string

func (*MsgBridgeBurnSharesRequest) Marshal

func (m *MsgBridgeBurnSharesRequest) Marshal() (dAtA []byte, err error)

func (*MsgBridgeBurnSharesRequest) MarshalTo

func (m *MsgBridgeBurnSharesRequest) MarshalTo(dAtA []byte) (int, error)

func (*MsgBridgeBurnSharesRequest) MarshalToSizedBuffer

func (m *MsgBridgeBurnSharesRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgBridgeBurnSharesRequest) ProtoMessage

func (*MsgBridgeBurnSharesRequest) ProtoMessage()

func (*MsgBridgeBurnSharesRequest) Reset

func (m *MsgBridgeBurnSharesRequest) Reset()

func (*MsgBridgeBurnSharesRequest) Size

func (m *MsgBridgeBurnSharesRequest) Size() (n int)

func (*MsgBridgeBurnSharesRequest) String

func (m *MsgBridgeBurnSharesRequest) String() string

func (*MsgBridgeBurnSharesRequest) Unmarshal

func (m *MsgBridgeBurnSharesRequest) Unmarshal(dAtA []byte) error

func (MsgBridgeBurnSharesRequest) ValidateBasic

func (m MsgBridgeBurnSharesRequest) ValidateBasic() error

ValidateBasic performs stateless validation on MsgBridgeBurnSharesRequest.

func (*MsgBridgeBurnSharesRequest) XXX_DiscardUnknown

func (m *MsgBridgeBurnSharesRequest) XXX_DiscardUnknown()

func (*MsgBridgeBurnSharesRequest) XXX_Marshal

func (m *MsgBridgeBurnSharesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgBridgeBurnSharesRequest) XXX_Merge

func (m *MsgBridgeBurnSharesRequest) XXX_Merge(src proto.Message)

func (*MsgBridgeBurnSharesRequest) XXX_Size

func (m *MsgBridgeBurnSharesRequest) XXX_Size() int

func (*MsgBridgeBurnSharesRequest) XXX_Unmarshal

func (m *MsgBridgeBurnSharesRequest) XXX_Unmarshal(b []byte) error

type MsgBridgeBurnSharesResponse

type MsgBridgeBurnSharesResponse struct {
}

MsgBridgeBurnSharesResponse is the response message for the BridgeBurnShares endpoint.

func (*MsgBridgeBurnSharesResponse) Descriptor

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

func (*MsgBridgeBurnSharesResponse) Marshal

func (m *MsgBridgeBurnSharesResponse) Marshal() (dAtA []byte, err error)

func (*MsgBridgeBurnSharesResponse) MarshalTo

func (m *MsgBridgeBurnSharesResponse) MarshalTo(dAtA []byte) (int, error)

func (*MsgBridgeBurnSharesResponse) MarshalToSizedBuffer

func (m *MsgBridgeBurnSharesResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgBridgeBurnSharesResponse) ProtoMessage

func (*MsgBridgeBurnSharesResponse) ProtoMessage()

func (*MsgBridgeBurnSharesResponse) Reset

func (m *MsgBridgeBurnSharesResponse) Reset()

func (*MsgBridgeBurnSharesResponse) Size

func (m *MsgBridgeBurnSharesResponse) Size() (n int)

func (*MsgBridgeBurnSharesResponse) String

func (m *MsgBridgeBurnSharesResponse) String() string

func (*MsgBridgeBurnSharesResponse) Unmarshal

func (m *MsgBridgeBurnSharesResponse) Unmarshal(dAtA []byte) error

func (*MsgBridgeBurnSharesResponse) XXX_DiscardUnknown

func (m *MsgBridgeBurnSharesResponse) XXX_DiscardUnknown()

func (*MsgBridgeBurnSharesResponse) XXX_Marshal

func (m *MsgBridgeBurnSharesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgBridgeBurnSharesResponse) XXX_Merge

func (m *MsgBridgeBurnSharesResponse) XXX_Merge(src proto.Message)

func (*MsgBridgeBurnSharesResponse) XXX_Size

func (m *MsgBridgeBurnSharesResponse) XXX_Size() int

func (*MsgBridgeBurnSharesResponse) XXX_Unmarshal

func (m *MsgBridgeBurnSharesResponse) XXX_Unmarshal(b []byte) error

type MsgBridgeMintSharesRequest

type MsgBridgeMintSharesRequest struct {
	// bridge is the signer and must match the vault's configured bridge_address.
	Bridge string `protobuf:"bytes,1,opt,name=bridge,proto3" json:"bridge,omitempty"`
	// vault_address is the bech32 address of the vault whose local share marker supply will be increased.
	VaultAddress string `protobuf:"bytes,2,opt,name=vault_address,json=vaultAddress,proto3" json:"vault_address,omitempty"`
	// shares is the amount of shares to mint into local marker supply.
	Shares types1.Coin `protobuf:"bytes,3,opt,name=shares,proto3" json:"shares"`
}

MsgBridgeMintSharesRequest is the request message for minting local share marker supply; must be signed by the configured bridge address.

func (*MsgBridgeMintSharesRequest) Descriptor

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

func (*MsgBridgeMintSharesRequest) GetBridge

func (m *MsgBridgeMintSharesRequest) GetBridge() string

func (*MsgBridgeMintSharesRequest) GetShares

func (m *MsgBridgeMintSharesRequest) GetShares() types1.Coin

func (*MsgBridgeMintSharesRequest) GetVaultAddress

func (m *MsgBridgeMintSharesRequest) GetVaultAddress() string

func (*MsgBridgeMintSharesRequest) Marshal

func (m *MsgBridgeMintSharesRequest) Marshal() (dAtA []byte, err error)

func (*MsgBridgeMintSharesRequest) MarshalTo

func (m *MsgBridgeMintSharesRequest) MarshalTo(dAtA []byte) (int, error)

func (*MsgBridgeMintSharesRequest) MarshalToSizedBuffer

func (m *MsgBridgeMintSharesRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgBridgeMintSharesRequest) ProtoMessage

func (*MsgBridgeMintSharesRequest) ProtoMessage()

func (*MsgBridgeMintSharesRequest) Reset

func (m *MsgBridgeMintSharesRequest) Reset()

func (*MsgBridgeMintSharesRequest) Size

func (m *MsgBridgeMintSharesRequest) Size() (n int)

func (*MsgBridgeMintSharesRequest) String

func (m *MsgBridgeMintSharesRequest) String() string

func (*MsgBridgeMintSharesRequest) Unmarshal

func (m *MsgBridgeMintSharesRequest) Unmarshal(dAtA []byte) error

func (MsgBridgeMintSharesRequest) ValidateBasic

func (m MsgBridgeMintSharesRequest) ValidateBasic() error

ValidateBasic performs stateless validation on MsgBridgeMintSharesRequest.

func (*MsgBridgeMintSharesRequest) XXX_DiscardUnknown

func (m *MsgBridgeMintSharesRequest) XXX_DiscardUnknown()

func (*MsgBridgeMintSharesRequest) XXX_Marshal

func (m *MsgBridgeMintSharesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgBridgeMintSharesRequest) XXX_Merge

func (m *MsgBridgeMintSharesRequest) XXX_Merge(src proto.Message)

func (*MsgBridgeMintSharesRequest) XXX_Size

func (m *MsgBridgeMintSharesRequest) XXX_Size() int

func (*MsgBridgeMintSharesRequest) XXX_Unmarshal

func (m *MsgBridgeMintSharesRequest) XXX_Unmarshal(b []byte) error

type MsgBridgeMintSharesResponse

type MsgBridgeMintSharesResponse struct {
}

MsgBridgeMintSharesResponse is the response message for the BridgeMintShares endpoint.

func (*MsgBridgeMintSharesResponse) Descriptor

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

func (*MsgBridgeMintSharesResponse) Marshal

func (m *MsgBridgeMintSharesResponse) Marshal() (dAtA []byte, err error)

func (*MsgBridgeMintSharesResponse) MarshalTo

func (m *MsgBridgeMintSharesResponse) MarshalTo(dAtA []byte) (int, error)

func (*MsgBridgeMintSharesResponse) MarshalToSizedBuffer

func (m *MsgBridgeMintSharesResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgBridgeMintSharesResponse) ProtoMessage

func (*MsgBridgeMintSharesResponse) ProtoMessage()

func (*MsgBridgeMintSharesResponse) Reset

func (m *MsgBridgeMintSharesResponse) Reset()

func (*MsgBridgeMintSharesResponse) Size

func (m *MsgBridgeMintSharesResponse) Size() (n int)

func (*MsgBridgeMintSharesResponse) String

func (m *MsgBridgeMintSharesResponse) String() string

func (*MsgBridgeMintSharesResponse) Unmarshal

func (m *MsgBridgeMintSharesResponse) Unmarshal(dAtA []byte) error

func (*MsgBridgeMintSharesResponse) XXX_DiscardUnknown

func (m *MsgBridgeMintSharesResponse) XXX_DiscardUnknown()

func (*MsgBridgeMintSharesResponse) XXX_Marshal

func (m *MsgBridgeMintSharesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgBridgeMintSharesResponse) XXX_Merge

func (m *MsgBridgeMintSharesResponse) XXX_Merge(src proto.Message)

func (*MsgBridgeMintSharesResponse) XXX_Size

func (m *MsgBridgeMintSharesResponse) XXX_Size() int

func (*MsgBridgeMintSharesResponse) XXX_Unmarshal

func (m *MsgBridgeMintSharesResponse) XXX_Unmarshal(b []byte) error

type MsgClient

type MsgClient interface {
	// CreateVault creates a new vault.
	CreateVault(ctx context.Context, in *MsgCreateVaultRequest, opts ...grpc.CallOption) (*MsgCreateVaultResponse, error)
	// SetShareDenomMetadata allows Denom Metadata (see bank module) to be set for the vault's share denom.
	// Similar to marker's SetDenomMetadata, but scoped to a specific vault. Only the vault admin may call this.
	SetShareDenomMetadata(ctx context.Context, in *MsgSetShareDenomMetadataRequest, opts ...grpc.CallOption) (*MsgSetShareDenomMetadataResponse, 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.
	// May be signed by the vault admin or the configured asset manager.
	DepositInterestFunds(ctx context.Context, in *MsgDepositInterestFundsRequest, opts ...grpc.CallOption) (*MsgDepositInterestFundsResponse, error)
	// WithdrawInterestFunds allows withdrawing unused interest funds.
	// May be signed by the vault admin or the configured asset manager.
	WithdrawInterestFunds(ctx context.Context, in *MsgWithdrawInterestFundsRequest, opts ...grpc.CallOption) (*MsgWithdrawInterestFundsResponse, error)
	// DepositPrincipalFunds allows depositing principal funds into a vault.
	// May be signed by the vault admin or the configured asset manager.
	DepositPrincipalFunds(ctx context.Context, in *MsgDepositPrincipalFundsRequest, opts ...grpc.CallOption) (*MsgDepositPrincipalFundsResponse, error)
	// WithdrawPrincipalFunds allows withdrawing principal funds from a vault.
	// May be signed by the vault admin or the configured asset manager.
	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 pauses user-facing swap operations for a vault and records a reason.
	// May be signed by the vault admin or the configured asset manager.
	PauseVault(ctx context.Context, in *MsgPauseVaultRequest, opts ...grpc.CallOption) (*MsgPauseVaultResponse, error)
	// UnpauseVault re-enables user-facing swap operations for a vault.
	// May be signed by the vault admin or the configured asset manager.
	UnpauseVault(ctx context.Context, in *MsgUnpauseVaultRequest, opts ...grpc.CallOption) (*MsgUnpauseVaultResponse, error)
	// SetBridgeAddress sets the single external bridge address allowed to mint or burn shares for a vault.
	SetBridgeAddress(ctx context.Context, in *MsgSetBridgeAddressRequest, opts ...grpc.CallOption) (*MsgSetBridgeAddressResponse, error)
	// ToggleBridge enables or disables the bridge functionality for a vault.
	ToggleBridge(ctx context.Context, in *MsgToggleBridgeRequest, opts ...grpc.CallOption) (*MsgToggleBridgeResponse, error)
	// BridgeMintShares mints local share marker supply for a vault; must be signed by the configured bridge address.
	BridgeMintShares(ctx context.Context, in *MsgBridgeMintSharesRequest, opts ...grpc.CallOption) (*MsgBridgeMintSharesResponse, error)
	// BridgeBurnShares burns local share marker supply for a vault; must be signed by the configured bridge address.
	BridgeBurnShares(ctx context.Context, in *MsgBridgeBurnSharesRequest, opts ...grpc.CallOption) (*MsgBridgeBurnSharesResponse, error)
	// SetAssetManager sets or clears the optional asset manager address for a vault.
	// The vault admin must sign this transaction. Passing an empty address clears it.
	SetAssetManager(ctx context.Context, in *MsgSetAssetManagerRequest, opts ...grpc.CallOption) (*MsgSetAssetManagerResponse, error)
}

MsgClient is the client API for Msg service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewMsgClient

func NewMsgClient(cc grpc1.ClientConn) MsgClient

type 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 */
}

MsgCreateVaultRequest is the request message for the CreateVault endpoint.

func (*MsgCreateVaultRequest) Descriptor

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

func (*MsgCreateVaultRequest) GetAdmin

func (m *MsgCreateVaultRequest) GetAdmin() string

func (*MsgCreateVaultRequest) GetPaymentDenom

func (m *MsgCreateVaultRequest) GetPaymentDenom() string

func (*MsgCreateVaultRequest) GetShareDenom

func (m *MsgCreateVaultRequest) GetShareDenom() string

func (*MsgCreateVaultRequest) GetUnderlyingAsset

func (m *MsgCreateVaultRequest) GetUnderlyingAsset() string

func (*MsgCreateVaultRequest) GetWithdrawalDelaySeconds

func (m *MsgCreateVaultRequest) GetWithdrawalDelaySeconds() uint64

func (*MsgCreateVaultRequest) Marshal

func (m *MsgCreateVaultRequest) Marshal() (dAtA []byte, err error)

func (*MsgCreateVaultRequest) MarshalTo

func (m *MsgCreateVaultRequest) MarshalTo(dAtA []byte) (int, error)

func (*MsgCreateVaultRequest) MarshalToSizedBuffer

func (m *MsgCreateVaultRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgCreateVaultRequest) ProtoMessage

func (*MsgCreateVaultRequest) ProtoMessage()

func (*MsgCreateVaultRequest) Reset

func (m *MsgCreateVaultRequest) Reset()

func (*MsgCreateVaultRequest) Size

func (m *MsgCreateVaultRequest) Size() (n int)

func (*MsgCreateVaultRequest) String

func (m *MsgCreateVaultRequest) String() string

func (*MsgCreateVaultRequest) Unmarshal

func (m *MsgCreateVaultRequest) Unmarshal(dAtA []byte) error

func (MsgCreateVaultRequest) ValidateBasic

func (m MsgCreateVaultRequest) ValidateBasic() error

ValidateBasic performs stateless validation on MsgCreateVaultRequest.

func (*MsgCreateVaultRequest) XXX_DiscardUnknown

func (m *MsgCreateVaultRequest) XXX_DiscardUnknown()

func (*MsgCreateVaultRequest) XXX_Marshal

func (m *MsgCreateVaultRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgCreateVaultRequest) XXX_Merge

func (m *MsgCreateVaultRequest) XXX_Merge(src proto.Message)

func (*MsgCreateVaultRequest) XXX_Size

func (m *MsgCreateVaultRequest) XXX_Size() int

func (*MsgCreateVaultRequest) XXX_Unmarshal

func (m *MsgCreateVaultRequest) XXX_Unmarshal(b []byte) error

type MsgCreateVaultResponse

type MsgCreateVaultResponse struct {
	// vault_address is the bech32 address of the newly created vault.
	VaultAddress string `protobuf:"bytes,1,opt,name=vault_address,json=vaultAddress,proto3" json:"vault_address,omitempty"`
}

MsgCreateVaultResponse is the response message for the CreateVault endpoint.

func (*MsgCreateVaultResponse) Descriptor

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

func (*MsgCreateVaultResponse) GetVaultAddress added in v1.0.4

func (m *MsgCreateVaultResponse) GetVaultAddress() string

func (*MsgCreateVaultResponse) Marshal

func (m *MsgCreateVaultResponse) Marshal() (dAtA []byte, err error)

func (*MsgCreateVaultResponse) MarshalTo

func (m *MsgCreateVaultResponse) MarshalTo(dAtA []byte) (int, error)

func (*MsgCreateVaultResponse) MarshalToSizedBuffer

func (m *MsgCreateVaultResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgCreateVaultResponse) ProtoMessage

func (*MsgCreateVaultResponse) ProtoMessage()

func (*MsgCreateVaultResponse) Reset

func (m *MsgCreateVaultResponse) Reset()

func (*MsgCreateVaultResponse) Size

func (m *MsgCreateVaultResponse) Size() (n int)

func (*MsgCreateVaultResponse) String

func (m *MsgCreateVaultResponse) String() string

func (*MsgCreateVaultResponse) Unmarshal

func (m *MsgCreateVaultResponse) Unmarshal(dAtA []byte) error

func (*MsgCreateVaultResponse) XXX_DiscardUnknown

func (m *MsgCreateVaultResponse) XXX_DiscardUnknown()

func (*MsgCreateVaultResponse) XXX_Marshal

func (m *MsgCreateVaultResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgCreateVaultResponse) XXX_Merge

func (m *MsgCreateVaultResponse) XXX_Merge(src proto.Message)

func (*MsgCreateVaultResponse) XXX_Size

func (m *MsgCreateVaultResponse) XXX_Size() int

func (*MsgCreateVaultResponse) XXX_Unmarshal

func (m *MsgCreateVaultResponse) XXX_Unmarshal(b []byte) error

type MsgDepositInterestFundsRequest

type MsgDepositInterestFundsRequest struct {
	// authority is the address of the account depositing the funds.
	// Must match either the vault admin or the configured asset manager.
	Authority string `protobuf:"bytes,1,opt,name=authority,proto3" json:"authority,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 types1.Coin `protobuf:"bytes,3,opt,name=amount,proto3" json:"amount"`
}

MsgDepositInterestFundsRequest is the request message for depositing funds to be used for paying interest.

func (*MsgDepositInterestFundsRequest) Descriptor

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

func (*MsgDepositInterestFundsRequest) GetAmount

func (*MsgDepositInterestFundsRequest) GetAuthority added in v1.0.7

func (m *MsgDepositInterestFundsRequest) GetAuthority() string

func (*MsgDepositInterestFundsRequest) GetVaultAddress

func (m *MsgDepositInterestFundsRequest) GetVaultAddress() string

func (*MsgDepositInterestFundsRequest) Marshal

func (m *MsgDepositInterestFundsRequest) Marshal() (dAtA []byte, err error)

func (*MsgDepositInterestFundsRequest) MarshalTo

func (m *MsgDepositInterestFundsRequest) MarshalTo(dAtA []byte) (int, error)

func (*MsgDepositInterestFundsRequest) MarshalToSizedBuffer

func (m *MsgDepositInterestFundsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgDepositInterestFundsRequest) ProtoMessage

func (*MsgDepositInterestFundsRequest) ProtoMessage()

func (*MsgDepositInterestFundsRequest) Reset

func (m *MsgDepositInterestFundsRequest) Reset()

func (*MsgDepositInterestFundsRequest) Size

func (m *MsgDepositInterestFundsRequest) Size() (n int)

func (*MsgDepositInterestFundsRequest) String

func (*MsgDepositInterestFundsRequest) Unmarshal

func (m *MsgDepositInterestFundsRequest) Unmarshal(dAtA []byte) error

func (MsgDepositInterestFundsRequest) ValidateBasic

func (m MsgDepositInterestFundsRequest) ValidateBasic() error

ValidateBasic performs stateless validation on MsgDepositInterestFundsRequest.

func (*MsgDepositInterestFundsRequest) XXX_DiscardUnknown

func (m *MsgDepositInterestFundsRequest) XXX_DiscardUnknown()

func (*MsgDepositInterestFundsRequest) XXX_Marshal

func (m *MsgDepositInterestFundsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgDepositInterestFundsRequest) XXX_Merge

func (m *MsgDepositInterestFundsRequest) XXX_Merge(src proto.Message)

func (*MsgDepositInterestFundsRequest) XXX_Size

func (m *MsgDepositInterestFundsRequest) XXX_Size() int

func (*MsgDepositInterestFundsRequest) XXX_Unmarshal

func (m *MsgDepositInterestFundsRequest) XXX_Unmarshal(b []byte) error

type MsgDepositInterestFundsResponse

type MsgDepositInterestFundsResponse struct {
}

MsgDepositInterestFundsResponse is the response message for the DepositInterestFunds endpoint.

func (*MsgDepositInterestFundsResponse) Descriptor

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

func (*MsgDepositInterestFundsResponse) Marshal

func (m *MsgDepositInterestFundsResponse) Marshal() (dAtA []byte, err error)

func (*MsgDepositInterestFundsResponse) MarshalTo

func (m *MsgDepositInterestFundsResponse) MarshalTo(dAtA []byte) (int, error)

func (*MsgDepositInterestFundsResponse) MarshalToSizedBuffer

func (m *MsgDepositInterestFundsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgDepositInterestFundsResponse) ProtoMessage

func (*MsgDepositInterestFundsResponse) ProtoMessage()

func (*MsgDepositInterestFundsResponse) Reset

func (*MsgDepositInterestFundsResponse) Size

func (m *MsgDepositInterestFundsResponse) Size() (n int)

func (*MsgDepositInterestFundsResponse) String

func (*MsgDepositInterestFundsResponse) Unmarshal

func (m *MsgDepositInterestFundsResponse) Unmarshal(dAtA []byte) error

func (*MsgDepositInterestFundsResponse) XXX_DiscardUnknown

func (m *MsgDepositInterestFundsResponse) XXX_DiscardUnknown()

func (*MsgDepositInterestFundsResponse) XXX_Marshal

func (m *MsgDepositInterestFundsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgDepositInterestFundsResponse) XXX_Merge

func (m *MsgDepositInterestFundsResponse) XXX_Merge(src proto.Message)

func (*MsgDepositInterestFundsResponse) XXX_Size

func (m *MsgDepositInterestFundsResponse) XXX_Size() int

func (*MsgDepositInterestFundsResponse) XXX_Unmarshal

func (m *MsgDepositInterestFundsResponse) XXX_Unmarshal(b []byte) error

type MsgDepositPrincipalFundsRequest

type MsgDepositPrincipalFundsRequest struct {
	// authority is the address of the account depositing the funds.
	// Must match either the vault admin or the configured asset manager.
	Authority string `protobuf:"bytes,1,opt,name=authority,proto3" json:"authority,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 types1.Coin `protobuf:"bytes,3,opt,name=amount,proto3" json:"amount"`
}

MsgDepositPrincipalFundsRequest is the request message for depositing principal funds into a vault.

func (*MsgDepositPrincipalFundsRequest) Descriptor

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

func (*MsgDepositPrincipalFundsRequest) GetAmount

func (*MsgDepositPrincipalFundsRequest) GetAuthority added in v1.0.7

func (m *MsgDepositPrincipalFundsRequest) GetAuthority() string

func (*MsgDepositPrincipalFundsRequest) GetVaultAddress

func (m *MsgDepositPrincipalFundsRequest) GetVaultAddress() string

func (*MsgDepositPrincipalFundsRequest) Marshal

func (m *MsgDepositPrincipalFundsRequest) Marshal() (dAtA []byte, err error)

func (*MsgDepositPrincipalFundsRequest) MarshalTo

func (m *MsgDepositPrincipalFundsRequest) MarshalTo(dAtA []byte) (int, error)

func (*MsgDepositPrincipalFundsRequest) MarshalToSizedBuffer

func (m *MsgDepositPrincipalFundsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgDepositPrincipalFundsRequest) ProtoMessage

func (*MsgDepositPrincipalFundsRequest) ProtoMessage()

func (*MsgDepositPrincipalFundsRequest) Reset

func (*MsgDepositPrincipalFundsRequest) Size

func (m *MsgDepositPrincipalFundsRequest) Size() (n int)

func (*MsgDepositPrincipalFundsRequest) String

func (*MsgDepositPrincipalFundsRequest) Unmarshal

func (m *MsgDepositPrincipalFundsRequest) Unmarshal(dAtA []byte) error

func (MsgDepositPrincipalFundsRequest) ValidateBasic

func (m MsgDepositPrincipalFundsRequest) ValidateBasic() error

ValidateBasic performs stateless validation on MsgDepositPrincipalFundsRequest.

func (*MsgDepositPrincipalFundsRequest) XXX_DiscardUnknown

func (m *MsgDepositPrincipalFundsRequest) XXX_DiscardUnknown()

func (*MsgDepositPrincipalFundsRequest) XXX_Marshal

func (m *MsgDepositPrincipalFundsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgDepositPrincipalFundsRequest) XXX_Merge

func (m *MsgDepositPrincipalFundsRequest) XXX_Merge(src proto.Message)

func (*MsgDepositPrincipalFundsRequest) XXX_Size

func (m *MsgDepositPrincipalFundsRequest) XXX_Size() int

func (*MsgDepositPrincipalFundsRequest) XXX_Unmarshal

func (m *MsgDepositPrincipalFundsRequest) XXX_Unmarshal(b []byte) error

type MsgDepositPrincipalFundsResponse

type MsgDepositPrincipalFundsResponse struct {
}

MsgDepositPrincipalFundsResponse is the response message for the DepositPrincipalFunds endpoint.

func (*MsgDepositPrincipalFundsResponse) Descriptor

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

func (*MsgDepositPrincipalFundsResponse) Marshal

func (m *MsgDepositPrincipalFundsResponse) Marshal() (dAtA []byte, err error)

func (*MsgDepositPrincipalFundsResponse) MarshalTo

func (m *MsgDepositPrincipalFundsResponse) MarshalTo(dAtA []byte) (int, error)

func (*MsgDepositPrincipalFundsResponse) MarshalToSizedBuffer

func (m *MsgDepositPrincipalFundsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgDepositPrincipalFundsResponse) ProtoMessage

func (*MsgDepositPrincipalFundsResponse) ProtoMessage()

func (*MsgDepositPrincipalFundsResponse) Reset

func (*MsgDepositPrincipalFundsResponse) Size

func (m *MsgDepositPrincipalFundsResponse) Size() (n int)

func (*MsgDepositPrincipalFundsResponse) String

func (*MsgDepositPrincipalFundsResponse) Unmarshal

func (m *MsgDepositPrincipalFundsResponse) Unmarshal(dAtA []byte) error

func (*MsgDepositPrincipalFundsResponse) XXX_DiscardUnknown

func (m *MsgDepositPrincipalFundsResponse) XXX_DiscardUnknown()

func (*MsgDepositPrincipalFundsResponse) XXX_Marshal

func (m *MsgDepositPrincipalFundsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgDepositPrincipalFundsResponse) XXX_Merge

func (*MsgDepositPrincipalFundsResponse) XXX_Size

func (m *MsgDepositPrincipalFundsResponse) XXX_Size() int

func (*MsgDepositPrincipalFundsResponse) XXX_Unmarshal

func (m *MsgDepositPrincipalFundsResponse) XXX_Unmarshal(b []byte) error

type MsgExpeditePendingSwapOutRequest

type MsgExpeditePendingSwapOutRequest struct {
	// authority is the address of the vault admin or asset manager initiating the expedite.
	Authority string `protobuf:"bytes,1,opt,name=authority,proto3" json:"authority,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"`
}

MsgExpeditePendingSwapOutRequest is the request message for expediting a swap out from a vault.

func (*MsgExpeditePendingSwapOutRequest) Descriptor

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

func (*MsgExpeditePendingSwapOutRequest) GetAuthority added in v1.0.7

func (m *MsgExpeditePendingSwapOutRequest) GetAuthority() string

func (*MsgExpeditePendingSwapOutRequest) GetRequestId

func (m *MsgExpeditePendingSwapOutRequest) GetRequestId() uint64

func (*MsgExpeditePendingSwapOutRequest) Marshal

func (m *MsgExpeditePendingSwapOutRequest) Marshal() (dAtA []byte, err error)

func (*MsgExpeditePendingSwapOutRequest) MarshalTo

func (m *MsgExpeditePendingSwapOutRequest) MarshalTo(dAtA []byte) (int, error)

func (*MsgExpeditePendingSwapOutRequest) MarshalToSizedBuffer

func (m *MsgExpeditePendingSwapOutRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgExpeditePendingSwapOutRequest) ProtoMessage

func (*MsgExpeditePendingSwapOutRequest) ProtoMessage()

func (*MsgExpeditePendingSwapOutRequest) Reset

func (*MsgExpeditePendingSwapOutRequest) Size

func (m *MsgExpeditePendingSwapOutRequest) Size() (n int)

func (*MsgExpeditePendingSwapOutRequest) String

func (*MsgExpeditePendingSwapOutRequest) Unmarshal

func (m *MsgExpeditePendingSwapOutRequest) Unmarshal(dAtA []byte) error

func (MsgExpeditePendingSwapOutRequest) ValidateBasic

func (m MsgExpeditePendingSwapOutRequest) ValidateBasic() error

ValidateBasic performs stateless validation on MsgExpeditePendingSwapOutRequest.

func (*MsgExpeditePendingSwapOutRequest) XXX_DiscardUnknown

func (m *MsgExpeditePendingSwapOutRequest) XXX_DiscardUnknown()

func (*MsgExpeditePendingSwapOutRequest) XXX_Marshal

func (m *MsgExpeditePendingSwapOutRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgExpeditePendingSwapOutRequest) XXX_Merge

func (*MsgExpeditePendingSwapOutRequest) XXX_Size

func (m *MsgExpeditePendingSwapOutRequest) XXX_Size() int

func (*MsgExpeditePendingSwapOutRequest) XXX_Unmarshal

func (m *MsgExpeditePendingSwapOutRequest) XXX_Unmarshal(b []byte) error

type MsgExpeditePendingSwapOutResponse

type MsgExpeditePendingSwapOutResponse struct {
}

MsgExpeditePendingSwapOutResponse is the response message for the ExpeditePendingSwapOut endpoint.

func (*MsgExpeditePendingSwapOutResponse) Descriptor

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

func (*MsgExpeditePendingSwapOutResponse) Marshal

func (m *MsgExpeditePendingSwapOutResponse) Marshal() (dAtA []byte, err error)

func (*MsgExpeditePendingSwapOutResponse) MarshalTo

func (m *MsgExpeditePendingSwapOutResponse) MarshalTo(dAtA []byte) (int, error)

func (*MsgExpeditePendingSwapOutResponse) MarshalToSizedBuffer

func (m *MsgExpeditePendingSwapOutResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgExpeditePendingSwapOutResponse) ProtoMessage

func (*MsgExpeditePendingSwapOutResponse) ProtoMessage()

func (*MsgExpeditePendingSwapOutResponse) Reset

func (*MsgExpeditePendingSwapOutResponse) Size

func (m *MsgExpeditePendingSwapOutResponse) Size() (n int)

func (*MsgExpeditePendingSwapOutResponse) String

func (*MsgExpeditePendingSwapOutResponse) Unmarshal

func (m *MsgExpeditePendingSwapOutResponse) Unmarshal(dAtA []byte) error

func (*MsgExpeditePendingSwapOutResponse) XXX_DiscardUnknown

func (m *MsgExpeditePendingSwapOutResponse) XXX_DiscardUnknown()

func (*MsgExpeditePendingSwapOutResponse) XXX_Marshal

func (m *MsgExpeditePendingSwapOutResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgExpeditePendingSwapOutResponse) XXX_Merge

func (*MsgExpeditePendingSwapOutResponse) XXX_Size

func (m *MsgExpeditePendingSwapOutResponse) XXX_Size() int

func (*MsgExpeditePendingSwapOutResponse) XXX_Unmarshal

func (m *MsgExpeditePendingSwapOutResponse) XXX_Unmarshal(b []byte) error

type MsgPauseVaultRequest

type MsgPauseVaultRequest struct {
	// authority is the address of the vault administrator or asset manager initiating the pause.
	Authority string `protobuf:"bytes,1,opt,name=authority,proto3" json:"authority,omitempty"`
	// vault_address is the bech32 address of the vault to pause.
	VaultAddress string `protobuf:"bytes,2,opt,name=vault_address,json=vaultAddress,proto3" json:"vault_address,omitempty"`
	// reason is a human-readable explanation for pausing the vault. This is recorded
	// for operators and clients to understand the context (e.g., maintenance or anomaly).
	Reason string `protobuf:"bytes,3,opt,name=reason,proto3" json:"reason,omitempty"`
}

MsgPauseVaultRequest is the request message to pause a vault. When processed, the vault disables user-facing swap operations and records the provided reason.

func (*MsgPauseVaultRequest) Descriptor

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

func (*MsgPauseVaultRequest) GetAuthority added in v1.0.7

func (m *MsgPauseVaultRequest) GetAuthority() string

func (*MsgPauseVaultRequest) GetReason

func (m *MsgPauseVaultRequest) GetReason() string

func (*MsgPauseVaultRequest) GetVaultAddress

func (m *MsgPauseVaultRequest) GetVaultAddress() string

func (*MsgPauseVaultRequest) Marshal

func (m *MsgPauseVaultRequest) Marshal() (dAtA []byte, err error)

func (*MsgPauseVaultRequest) MarshalTo

func (m *MsgPauseVaultRequest) MarshalTo(dAtA []byte) (int, error)

func (*MsgPauseVaultRequest) MarshalToSizedBuffer

func (m *MsgPauseVaultRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgPauseVaultRequest) ProtoMessage

func (*MsgPauseVaultRequest) ProtoMessage()

func (*MsgPauseVaultRequest) Reset

func (m *MsgPauseVaultRequest) Reset()

func (*MsgPauseVaultRequest) Size

func (m *MsgPauseVaultRequest) Size() (n int)

func (*MsgPauseVaultRequest) String

func (m *MsgPauseVaultRequest) String() string

func (*MsgPauseVaultRequest) Unmarshal

func (m *MsgPauseVaultRequest) Unmarshal(dAtA []byte) error

func (MsgPauseVaultRequest) ValidateBasic

func (m MsgPauseVaultRequest) ValidateBasic() error

ValidateBasic performs stateless validation on MsgPauseVaultRequest.

func (*MsgPauseVaultRequest) XXX_DiscardUnknown

func (m *MsgPauseVaultRequest) XXX_DiscardUnknown()

func (*MsgPauseVaultRequest) XXX_Marshal

func (m *MsgPauseVaultRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgPauseVaultRequest) XXX_Merge

func (m *MsgPauseVaultRequest) XXX_Merge(src proto.Message)

func (*MsgPauseVaultRequest) XXX_Size

func (m *MsgPauseVaultRequest) XXX_Size() int

func (*MsgPauseVaultRequest) XXX_Unmarshal

func (m *MsgPauseVaultRequest) XXX_Unmarshal(b []byte) error

type MsgPauseVaultResponse

type MsgPauseVaultResponse struct {
}

MsgPauseVaultResponse is the response message for the PauseVault endpoint.

func (*MsgPauseVaultResponse) Descriptor

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

func (*MsgPauseVaultResponse) Marshal

func (m *MsgPauseVaultResponse) Marshal() (dAtA []byte, err error)

func (*MsgPauseVaultResponse) MarshalTo

func (m *MsgPauseVaultResponse) MarshalTo(dAtA []byte) (int, error)

func (*MsgPauseVaultResponse) MarshalToSizedBuffer

func (m *MsgPauseVaultResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgPauseVaultResponse) ProtoMessage

func (*MsgPauseVaultResponse) ProtoMessage()

func (*MsgPauseVaultResponse) Reset

func (m *MsgPauseVaultResponse) Reset()

func (*MsgPauseVaultResponse) Size

func (m *MsgPauseVaultResponse) Size() (n int)

func (*MsgPauseVaultResponse) String

func (m *MsgPauseVaultResponse) String() string

func (*MsgPauseVaultResponse) Unmarshal

func (m *MsgPauseVaultResponse) Unmarshal(dAtA []byte) error

func (*MsgPauseVaultResponse) XXX_DiscardUnknown

func (m *MsgPauseVaultResponse) XXX_DiscardUnknown()

func (*MsgPauseVaultResponse) XXX_Marshal

func (m *MsgPauseVaultResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgPauseVaultResponse) XXX_Merge

func (m *MsgPauseVaultResponse) XXX_Merge(src proto.Message)

func (*MsgPauseVaultResponse) XXX_Size

func (m *MsgPauseVaultResponse) XXX_Size() int

func (*MsgPauseVaultResponse) XXX_Unmarshal

func (m *MsgPauseVaultResponse) XXX_Unmarshal(b []byte) error

type MsgServer

type MsgServer interface {
	// CreateVault creates a new vault.
	CreateVault(context.Context, *MsgCreateVaultRequest) (*MsgCreateVaultResponse, error)
	// SetShareDenomMetadata allows Denom Metadata (see bank module) to be set for the vault's share denom.
	// Similar to marker's SetDenomMetadata, but scoped to a specific vault. Only the vault admin may call this.
	SetShareDenomMetadata(context.Context, *MsgSetShareDenomMetadataRequest) (*MsgSetShareDenomMetadataResponse, 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.
	// May be signed by the vault admin or the configured asset manager.
	DepositInterestFunds(context.Context, *MsgDepositInterestFundsRequest) (*MsgDepositInterestFundsResponse, error)
	// WithdrawInterestFunds allows withdrawing unused interest funds.
	// May be signed by the vault admin or the configured asset manager.
	WithdrawInterestFunds(context.Context, *MsgWithdrawInterestFundsRequest) (*MsgWithdrawInterestFundsResponse, error)
	// DepositPrincipalFunds allows depositing principal funds into a vault.
	// May be signed by the vault admin or the configured asset manager.
	DepositPrincipalFunds(context.Context, *MsgDepositPrincipalFundsRequest) (*MsgDepositPrincipalFundsResponse, error)
	// WithdrawPrincipalFunds allows withdrawing principal funds from a vault.
	// May be signed by the vault admin or the configured asset manager.
	WithdrawPrincipalFunds(context.Context, *MsgWithdrawPrincipalFundsRequest) (*MsgWithdrawPrincipalFundsResponse, error)
	// ExpeditePendingSwapOut expedites a pending swap out from a vault.
	ExpeditePendingSwapOut(context.Context, *MsgExpeditePendingSwapOutRequest) (*MsgExpeditePendingSwapOutResponse, error)
	// PauseVault pauses user-facing swap operations for a vault and records a reason.
	// May be signed by the vault admin or the configured asset manager.
	PauseVault(context.Context, *MsgPauseVaultRequest) (*MsgPauseVaultResponse, error)
	// UnpauseVault re-enables user-facing swap operations for a vault.
	// May be signed by the vault admin or the configured asset manager.
	UnpauseVault(context.Context, *MsgUnpauseVaultRequest) (*MsgUnpauseVaultResponse, error)
	// SetBridgeAddress sets the single external bridge address allowed to mint or burn shares for a vault.
	SetBridgeAddress(context.Context, *MsgSetBridgeAddressRequest) (*MsgSetBridgeAddressResponse, error)
	// ToggleBridge enables or disables the bridge functionality for a vault.
	ToggleBridge(context.Context, *MsgToggleBridgeRequest) (*MsgToggleBridgeResponse, error)
	// BridgeMintShares mints local share marker supply for a vault; must be signed by the configured bridge address.
	BridgeMintShares(context.Context, *MsgBridgeMintSharesRequest) (*MsgBridgeMintSharesResponse, error)
	// BridgeBurnShares burns local share marker supply for a vault; must be signed by the configured bridge address.
	BridgeBurnShares(context.Context, *MsgBridgeBurnSharesRequest) (*MsgBridgeBurnSharesResponse, error)
	// SetAssetManager sets or clears the optional asset manager address for a vault.
	// The vault admin must sign this transaction. Passing an empty address clears it.
	SetAssetManager(context.Context, *MsgSetAssetManagerRequest) (*MsgSetAssetManagerResponse, error)
}

MsgServer is the server API for Msg service.

type MsgSetAssetManagerRequest added in v1.0.7

type MsgSetAssetManagerRequest struct {
	// admin is the address of the vault administrator.
	Admin string `protobuf:"bytes,1,opt,name=admin,proto3" json:"admin,omitempty"`
	// vault_address is the bech32 address of the vault to update.
	VaultAddress string `protobuf:"bytes,2,opt,name=vault_address,json=vaultAddress,proto3" json:"vault_address,omitempty"`
	// asset_manager is the address that will be allowed to manage certain vault operations alongside the admin.
	// Passing an empty string clears any configured asset manager.
	AssetManager string `protobuf:"bytes,3,opt,name=asset_manager,json=assetManager,proto3" json:"asset_manager,omitempty"`
}

MsgSetAssetManagerRequest sets or clears the optional asset manager address for a vault.

func (*MsgSetAssetManagerRequest) Descriptor added in v1.0.7

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

func (*MsgSetAssetManagerRequest) GetAdmin added in v1.0.7

func (m *MsgSetAssetManagerRequest) GetAdmin() string

func (*MsgSetAssetManagerRequest) GetAssetManager added in v1.0.7

func (m *MsgSetAssetManagerRequest) GetAssetManager() string

func (*MsgSetAssetManagerRequest) GetVaultAddress added in v1.0.7

func (m *MsgSetAssetManagerRequest) GetVaultAddress() string

func (*MsgSetAssetManagerRequest) Marshal added in v1.0.7

func (m *MsgSetAssetManagerRequest) Marshal() (dAtA []byte, err error)

func (*MsgSetAssetManagerRequest) MarshalTo added in v1.0.7

func (m *MsgSetAssetManagerRequest) MarshalTo(dAtA []byte) (int, error)

func (*MsgSetAssetManagerRequest) MarshalToSizedBuffer added in v1.0.7

func (m *MsgSetAssetManagerRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgSetAssetManagerRequest) ProtoMessage added in v1.0.7

func (*MsgSetAssetManagerRequest) ProtoMessage()

func (*MsgSetAssetManagerRequest) Reset added in v1.0.7

func (m *MsgSetAssetManagerRequest) Reset()

func (*MsgSetAssetManagerRequest) Size added in v1.0.7

func (m *MsgSetAssetManagerRequest) Size() (n int)

func (*MsgSetAssetManagerRequest) String added in v1.0.7

func (m *MsgSetAssetManagerRequest) String() string

func (*MsgSetAssetManagerRequest) Unmarshal added in v1.0.7

func (m *MsgSetAssetManagerRequest) Unmarshal(dAtA []byte) error

func (MsgSetAssetManagerRequest) ValidateBasic added in v1.0.7

func (m MsgSetAssetManagerRequest) ValidateBasic() error

ValidateBasic performs stateless validation on MsgSetAssetManagerRequest.

func (*MsgSetAssetManagerRequest) XXX_DiscardUnknown added in v1.0.7

func (m *MsgSetAssetManagerRequest) XXX_DiscardUnknown()

func (*MsgSetAssetManagerRequest) XXX_Marshal added in v1.0.7

func (m *MsgSetAssetManagerRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgSetAssetManagerRequest) XXX_Merge added in v1.0.7

func (m *MsgSetAssetManagerRequest) XXX_Merge(src proto.Message)

func (*MsgSetAssetManagerRequest) XXX_Size added in v1.0.7

func (m *MsgSetAssetManagerRequest) XXX_Size() int

func (*MsgSetAssetManagerRequest) XXX_Unmarshal added in v1.0.7

func (m *MsgSetAssetManagerRequest) XXX_Unmarshal(b []byte) error

type MsgSetAssetManagerResponse added in v1.0.7

type MsgSetAssetManagerResponse struct {
}

MsgSetAssetManagerResponse is the response message for the SetAssetManager endpoint.

func (*MsgSetAssetManagerResponse) Descriptor added in v1.0.7

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

func (*MsgSetAssetManagerResponse) Marshal added in v1.0.7

func (m *MsgSetAssetManagerResponse) Marshal() (dAtA []byte, err error)

func (*MsgSetAssetManagerResponse) MarshalTo added in v1.0.7

func (m *MsgSetAssetManagerResponse) MarshalTo(dAtA []byte) (int, error)

func (*MsgSetAssetManagerResponse) MarshalToSizedBuffer added in v1.0.7

func (m *MsgSetAssetManagerResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgSetAssetManagerResponse) ProtoMessage added in v1.0.7

func (*MsgSetAssetManagerResponse) ProtoMessage()

func (*MsgSetAssetManagerResponse) Reset added in v1.0.7

func (m *MsgSetAssetManagerResponse) Reset()

func (*MsgSetAssetManagerResponse) Size added in v1.0.7

func (m *MsgSetAssetManagerResponse) Size() (n int)

func (*MsgSetAssetManagerResponse) String added in v1.0.7

func (m *MsgSetAssetManagerResponse) String() string

func (*MsgSetAssetManagerResponse) Unmarshal added in v1.0.7

func (m *MsgSetAssetManagerResponse) Unmarshal(dAtA []byte) error

func (*MsgSetAssetManagerResponse) XXX_DiscardUnknown added in v1.0.7

func (m *MsgSetAssetManagerResponse) XXX_DiscardUnknown()

func (*MsgSetAssetManagerResponse) XXX_Marshal added in v1.0.7

func (m *MsgSetAssetManagerResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgSetAssetManagerResponse) XXX_Merge added in v1.0.7

func (m *MsgSetAssetManagerResponse) XXX_Merge(src proto.Message)

func (*MsgSetAssetManagerResponse) XXX_Size added in v1.0.7

func (m *MsgSetAssetManagerResponse) XXX_Size() int

func (*MsgSetAssetManagerResponse) XXX_Unmarshal added in v1.0.7

func (m *MsgSetAssetManagerResponse) XXX_Unmarshal(b []byte) error

type MsgSetBridgeAddressRequest

type MsgSetBridgeAddressRequest struct {
	// admin is the address of the vault administrator.
	Admin string `protobuf:"bytes,1,opt,name=admin,proto3" json:"admin,omitempty"`
	// vault_address is the bech32 address of the vault to update.
	VaultAddress string `protobuf:"bytes,2,opt,name=vault_address,json=vaultAddress,proto3" json:"vault_address,omitempty"`
	// bridge_address is the single external address allowed to mint or burn shares on behalf of this vault.
	BridgeAddress string `protobuf:"bytes,3,opt,name=bridge_address,json=bridgeAddress,proto3" json:"bridge_address,omitempty"`
}

MsgSetBridgeAddressRequest is the request message for configuring the bridge address for a vault.

func (*MsgSetBridgeAddressRequest) Descriptor

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

func (*MsgSetBridgeAddressRequest) GetAdmin

func (m *MsgSetBridgeAddressRequest) GetAdmin() string

func (*MsgSetBridgeAddressRequest) GetBridgeAddress

func (m *MsgSetBridgeAddressRequest) GetBridgeAddress() string

func (*MsgSetBridgeAddressRequest) GetVaultAddress

func (m *MsgSetBridgeAddressRequest) GetVaultAddress() string

func (*MsgSetBridgeAddressRequest) Marshal

func (m *MsgSetBridgeAddressRequest) Marshal() (dAtA []byte, err error)

func (*MsgSetBridgeAddressRequest) MarshalTo

func (m *MsgSetBridgeAddressRequest) MarshalTo(dAtA []byte) (int, error)

func (*MsgSetBridgeAddressRequest) MarshalToSizedBuffer

func (m *MsgSetBridgeAddressRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgSetBridgeAddressRequest) ProtoMessage

func (*MsgSetBridgeAddressRequest) ProtoMessage()

func (*MsgSetBridgeAddressRequest) Reset

func (m *MsgSetBridgeAddressRequest) Reset()

func (*MsgSetBridgeAddressRequest) Size

func (m *MsgSetBridgeAddressRequest) Size() (n int)

func (*MsgSetBridgeAddressRequest) String

func (m *MsgSetBridgeAddressRequest) String() string

func (*MsgSetBridgeAddressRequest) Unmarshal

func (m *MsgSetBridgeAddressRequest) Unmarshal(dAtA []byte) error

func (MsgSetBridgeAddressRequest) ValidateBasic

func (m MsgSetBridgeAddressRequest) ValidateBasic() error

ValidateBasic performs stateless validation on MsgSetBridgeAddressRequest.

func (*MsgSetBridgeAddressRequest) XXX_DiscardUnknown

func (m *MsgSetBridgeAddressRequest) XXX_DiscardUnknown()

func (*MsgSetBridgeAddressRequest) XXX_Marshal

func (m *MsgSetBridgeAddressRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgSetBridgeAddressRequest) XXX_Merge

func (m *MsgSetBridgeAddressRequest) XXX_Merge(src proto.Message)

func (*MsgSetBridgeAddressRequest) XXX_Size

func (m *MsgSetBridgeAddressRequest) XXX_Size() int

func (*MsgSetBridgeAddressRequest) XXX_Unmarshal

func (m *MsgSetBridgeAddressRequest) XXX_Unmarshal(b []byte) error

type MsgSetBridgeAddressResponse

type MsgSetBridgeAddressResponse struct {
}

MsgSetBridgeAddressResponse is the response message for the SetBridgeAddress endpoint.

func (*MsgSetBridgeAddressResponse) Descriptor

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

func (*MsgSetBridgeAddressResponse) Marshal

func (m *MsgSetBridgeAddressResponse) Marshal() (dAtA []byte, err error)

func (*MsgSetBridgeAddressResponse) MarshalTo

func (m *MsgSetBridgeAddressResponse) MarshalTo(dAtA []byte) (int, error)

func (*MsgSetBridgeAddressResponse) MarshalToSizedBuffer

func (m *MsgSetBridgeAddressResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgSetBridgeAddressResponse) ProtoMessage

func (*MsgSetBridgeAddressResponse) ProtoMessage()

func (*MsgSetBridgeAddressResponse) Reset

func (m *MsgSetBridgeAddressResponse) Reset()

func (*MsgSetBridgeAddressResponse) Size

func (m *MsgSetBridgeAddressResponse) Size() (n int)

func (*MsgSetBridgeAddressResponse) String

func (m *MsgSetBridgeAddressResponse) String() string

func (*MsgSetBridgeAddressResponse) Unmarshal

func (m *MsgSetBridgeAddressResponse) Unmarshal(dAtA []byte) error

func (*MsgSetBridgeAddressResponse) XXX_DiscardUnknown

func (m *MsgSetBridgeAddressResponse) XXX_DiscardUnknown()

func (*MsgSetBridgeAddressResponse) XXX_Marshal

func (m *MsgSetBridgeAddressResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgSetBridgeAddressResponse) XXX_Merge

func (m *MsgSetBridgeAddressResponse) XXX_Merge(src proto.Message)

func (*MsgSetBridgeAddressResponse) XXX_Size

func (m *MsgSetBridgeAddressResponse) XXX_Size() int

func (*MsgSetBridgeAddressResponse) XXX_Unmarshal

func (m *MsgSetBridgeAddressResponse) XXX_Unmarshal(b []byte) error

type MsgSetShareDenomMetadataRequest added in v1.0.11

type MsgSetShareDenomMetadataRequest struct {
	// metadata is the bank module Metadata to assign to the vault's share denom.
	Metadata github_com_cosmos_cosmos_sdk_x_bank_types.Metadata `protobuf:"bytes,1,opt,name=metadata,proto3,customtype=github.com/cosmos/cosmos-sdk/x/bank/types.Metadata" json:"metadata"`
	// admin is the address of the vault administrator authorizing this update.
	Admin string `protobuf:"bytes,2,opt,name=admin,proto3" json:"admin,omitempty"`
	// vault_address is the bech32 address of the vault whose share denom metadata is being set.
	VaultAddress string `protobuf:"bytes,3,opt,name=vault_address,json=vaultAddress,proto3" json:"vault_address,omitempty"`
}

MsgSetShareDenomMetadataRequest defines the request to set bank denom metadata for a vault's share denom. The target denom is derived from the vault identified by vault_address.

func (*MsgSetShareDenomMetadataRequest) Descriptor added in v1.0.11

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

func (*MsgSetShareDenomMetadataRequest) GetAdmin added in v1.0.11

func (*MsgSetShareDenomMetadataRequest) GetVaultAddress added in v1.0.11

func (m *MsgSetShareDenomMetadataRequest) GetVaultAddress() string

func (*MsgSetShareDenomMetadataRequest) Marshal added in v1.0.11

func (m *MsgSetShareDenomMetadataRequest) Marshal() (dAtA []byte, err error)

func (*MsgSetShareDenomMetadataRequest) MarshalTo added in v1.0.11

func (m *MsgSetShareDenomMetadataRequest) MarshalTo(dAtA []byte) (int, error)

func (*MsgSetShareDenomMetadataRequest) MarshalToSizedBuffer added in v1.0.11

func (m *MsgSetShareDenomMetadataRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgSetShareDenomMetadataRequest) ProtoMessage added in v1.0.11

func (*MsgSetShareDenomMetadataRequest) ProtoMessage()

func (*MsgSetShareDenomMetadataRequest) Reset added in v1.0.11

func (*MsgSetShareDenomMetadataRequest) Size added in v1.0.11

func (m *MsgSetShareDenomMetadataRequest) Size() (n int)

func (*MsgSetShareDenomMetadataRequest) String added in v1.0.11

func (*MsgSetShareDenomMetadataRequest) Unmarshal added in v1.0.11

func (m *MsgSetShareDenomMetadataRequest) Unmarshal(dAtA []byte) error

func (MsgSetShareDenomMetadataRequest) ValidateBasic added in v1.0.11

func (m MsgSetShareDenomMetadataRequest) ValidateBasic() error

ValidateBasic performs stateless validation on MsgSetShareDenomMetadataRequest.

func (*MsgSetShareDenomMetadataRequest) XXX_DiscardUnknown added in v1.0.11

func (m *MsgSetShareDenomMetadataRequest) XXX_DiscardUnknown()

func (*MsgSetShareDenomMetadataRequest) XXX_Marshal added in v1.0.11

func (m *MsgSetShareDenomMetadataRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgSetShareDenomMetadataRequest) XXX_Merge added in v1.0.11

func (m *MsgSetShareDenomMetadataRequest) XXX_Merge(src proto.Message)

func (*MsgSetShareDenomMetadataRequest) XXX_Size added in v1.0.11

func (m *MsgSetShareDenomMetadataRequest) XXX_Size() int

func (*MsgSetShareDenomMetadataRequest) XXX_Unmarshal added in v1.0.11

func (m *MsgSetShareDenomMetadataRequest) XXX_Unmarshal(b []byte) error

type MsgSetShareDenomMetadataResponse added in v1.0.11

type MsgSetShareDenomMetadataResponse struct {
}

MsgSetShareDenomMetadataResponse defines the response for setting a vault's share denom metadata.

func (*MsgSetShareDenomMetadataResponse) Descriptor added in v1.0.11

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

func (*MsgSetShareDenomMetadataResponse) Marshal added in v1.0.11

func (m *MsgSetShareDenomMetadataResponse) Marshal() (dAtA []byte, err error)

func (*MsgSetShareDenomMetadataResponse) MarshalTo added in v1.0.11

func (m *MsgSetShareDenomMetadataResponse) MarshalTo(dAtA []byte) (int, error)

func (*MsgSetShareDenomMetadataResponse) MarshalToSizedBuffer added in v1.0.11

func (m *MsgSetShareDenomMetadataResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgSetShareDenomMetadataResponse) ProtoMessage added in v1.0.11

func (*MsgSetShareDenomMetadataResponse) ProtoMessage()

func (*MsgSetShareDenomMetadataResponse) Reset added in v1.0.11

func (*MsgSetShareDenomMetadataResponse) Size added in v1.0.11

func (m *MsgSetShareDenomMetadataResponse) Size() (n int)

func (*MsgSetShareDenomMetadataResponse) String added in v1.0.11

func (*MsgSetShareDenomMetadataResponse) Unmarshal added in v1.0.11

func (m *MsgSetShareDenomMetadataResponse) Unmarshal(dAtA []byte) error

func (*MsgSetShareDenomMetadataResponse) XXX_DiscardUnknown added in v1.0.11

func (m *MsgSetShareDenomMetadataResponse) XXX_DiscardUnknown()

func (*MsgSetShareDenomMetadataResponse) XXX_Marshal added in v1.0.11

func (m *MsgSetShareDenomMetadataResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgSetShareDenomMetadataResponse) XXX_Merge added in v1.0.11

func (*MsgSetShareDenomMetadataResponse) XXX_Size added in v1.0.11

func (m *MsgSetShareDenomMetadataResponse) XXX_Size() int

func (*MsgSetShareDenomMetadataResponse) XXX_Unmarshal added in v1.0.11

func (m *MsgSetShareDenomMetadataResponse) XXX_Unmarshal(b []byte) error

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 types1.Coin `protobuf:"bytes,3,opt,name=assets,proto3" json:"assets"`
}

MsgSwapInRequest is the request message for depositing underlying assets into a vault in exchange for shares.

func (*MsgSwapInRequest) Descriptor

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

func (*MsgSwapInRequest) GetAssets

func (m *MsgSwapInRequest) GetAssets() types1.Coin

func (*MsgSwapInRequest) GetOwner

func (m *MsgSwapInRequest) GetOwner() string

func (*MsgSwapInRequest) GetVaultAddress

func (m *MsgSwapInRequest) GetVaultAddress() string

func (*MsgSwapInRequest) Marshal

func (m *MsgSwapInRequest) Marshal() (dAtA []byte, err error)

func (*MsgSwapInRequest) MarshalTo

func (m *MsgSwapInRequest) MarshalTo(dAtA []byte) (int, error)

func (*MsgSwapInRequest) MarshalToSizedBuffer

func (m *MsgSwapInRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgSwapInRequest) ProtoMessage

func (*MsgSwapInRequest) ProtoMessage()

func (*MsgSwapInRequest) Reset

func (m *MsgSwapInRequest) Reset()

func (*MsgSwapInRequest) Size

func (m *MsgSwapInRequest) Size() (n int)

func (*MsgSwapInRequest) String

func (m *MsgSwapInRequest) String() string

func (*MsgSwapInRequest) Unmarshal

func (m *MsgSwapInRequest) Unmarshal(dAtA []byte) error

func (MsgSwapInRequest) ValidateBasic

func (m MsgSwapInRequest) ValidateBasic() error

ValidateBasic performs stateless validation on MsgSwapInRequest.

func (*MsgSwapInRequest) XXX_DiscardUnknown

func (m *MsgSwapInRequest) XXX_DiscardUnknown()

func (*MsgSwapInRequest) XXX_Marshal

func (m *MsgSwapInRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgSwapInRequest) XXX_Merge

func (m *MsgSwapInRequest) XXX_Merge(src proto.Message)

func (*MsgSwapInRequest) XXX_Size

func (m *MsgSwapInRequest) XXX_Size() int

func (*MsgSwapInRequest) XXX_Unmarshal

func (m *MsgSwapInRequest) XXX_Unmarshal(b []byte) error

type MsgSwapInResponse

type MsgSwapInResponse struct {
	// shares_received is the amount of vault shares minted to the depositor.
	SharesReceived types1.Coin `protobuf:"bytes,1,opt,name=shares_received,json=sharesReceived,proto3" json:"shares_received"`
}

MsgSwapInResponse is the response message for a successful SwapIn.

func (*MsgSwapInResponse) Descriptor

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

func (*MsgSwapInResponse) GetSharesReceived added in v1.0.4

func (m *MsgSwapInResponse) GetSharesReceived() types1.Coin

func (*MsgSwapInResponse) Marshal

func (m *MsgSwapInResponse) Marshal() (dAtA []byte, err error)

func (*MsgSwapInResponse) MarshalTo

func (m *MsgSwapInResponse) MarshalTo(dAtA []byte) (int, error)

func (*MsgSwapInResponse) MarshalToSizedBuffer

func (m *MsgSwapInResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgSwapInResponse) ProtoMessage

func (*MsgSwapInResponse) ProtoMessage()

func (*MsgSwapInResponse) Reset

func (m *MsgSwapInResponse) Reset()

func (*MsgSwapInResponse) Size

func (m *MsgSwapInResponse) Size() (n int)

func (*MsgSwapInResponse) String

func (m *MsgSwapInResponse) String() string

func (*MsgSwapInResponse) Unmarshal

func (m *MsgSwapInResponse) Unmarshal(dAtA []byte) error

func (*MsgSwapInResponse) XXX_DiscardUnknown

func (m *MsgSwapInResponse) XXX_DiscardUnknown()

func (*MsgSwapInResponse) XXX_Marshal

func (m *MsgSwapInResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgSwapInResponse) XXX_Merge

func (m *MsgSwapInResponse) XXX_Merge(src proto.Message)

func (*MsgSwapInResponse) XXX_Size

func (m *MsgSwapInResponse) XXX_Size() int

func (*MsgSwapInResponse) XXX_Unmarshal

func (m *MsgSwapInResponse) XXX_Unmarshal(b []byte) error

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 types1.Coin `protobuf:"bytes,3,opt,name=assets,proto3" json:"assets"`
	// 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"`
}

MsgSwapOutRequest is the request message for redeeming vault shares in exchange for underlying assets.

func (*MsgSwapOutRequest) Descriptor

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

func (*MsgSwapOutRequest) GetAssets

func (m *MsgSwapOutRequest) GetAssets() types1.Coin

func (*MsgSwapOutRequest) GetOwner

func (m *MsgSwapOutRequest) GetOwner() string

func (*MsgSwapOutRequest) GetRedeemDenom

func (m *MsgSwapOutRequest) GetRedeemDenom() string

func (*MsgSwapOutRequest) GetVaultAddress

func (m *MsgSwapOutRequest) GetVaultAddress() string

func (*MsgSwapOutRequest) Marshal

func (m *MsgSwapOutRequest) Marshal() (dAtA []byte, err error)

func (*MsgSwapOutRequest) MarshalTo

func (m *MsgSwapOutRequest) MarshalTo(dAtA []byte) (int, error)

func (*MsgSwapOutRequest) MarshalToSizedBuffer

func (m *MsgSwapOutRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgSwapOutRequest) ProtoMessage

func (*MsgSwapOutRequest) ProtoMessage()

func (*MsgSwapOutRequest) Reset

func (m *MsgSwapOutRequest) Reset()

func (*MsgSwapOutRequest) Size

func (m *MsgSwapOutRequest) Size() (n int)

func (*MsgSwapOutRequest) String

func (m *MsgSwapOutRequest) String() string

func (*MsgSwapOutRequest) Unmarshal

func (m *MsgSwapOutRequest) Unmarshal(dAtA []byte) error

func (MsgSwapOutRequest) ValidateBasic

func (m MsgSwapOutRequest) ValidateBasic() error

ValidateBasic performs stateless validation on MsgSwapOutRequest.

func (*MsgSwapOutRequest) XXX_DiscardUnknown

func (m *MsgSwapOutRequest) XXX_DiscardUnknown()

func (*MsgSwapOutRequest) XXX_Marshal

func (m *MsgSwapOutRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgSwapOutRequest) XXX_Merge

func (m *MsgSwapOutRequest) XXX_Merge(src proto.Message)

func (*MsgSwapOutRequest) XXX_Size

func (m *MsgSwapOutRequest) XXX_Size() int

func (*MsgSwapOutRequest) XXX_Unmarshal

func (m *MsgSwapOutRequest) XXX_Unmarshal(b []byte) error

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"`
}

MsgSwapOutResponse is the response message for the SwapOut endpoint.

func (*MsgSwapOutResponse) Descriptor

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

func (*MsgSwapOutResponse) GetRequestId

func (m *MsgSwapOutResponse) GetRequestId() uint64

func (*MsgSwapOutResponse) Marshal

func (m *MsgSwapOutResponse) Marshal() (dAtA []byte, err error)

func (*MsgSwapOutResponse) MarshalTo

func (m *MsgSwapOutResponse) MarshalTo(dAtA []byte) (int, error)

func (*MsgSwapOutResponse) MarshalToSizedBuffer

func (m *MsgSwapOutResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgSwapOutResponse) ProtoMessage

func (*MsgSwapOutResponse) ProtoMessage()

func (*MsgSwapOutResponse) Reset

func (m *MsgSwapOutResponse) Reset()

func (*MsgSwapOutResponse) Size

func (m *MsgSwapOutResponse) Size() (n int)

func (*MsgSwapOutResponse) String

func (m *MsgSwapOutResponse) String() string

func (*MsgSwapOutResponse) Unmarshal

func (m *MsgSwapOutResponse) Unmarshal(dAtA []byte) error

func (*MsgSwapOutResponse) XXX_DiscardUnknown

func (m *MsgSwapOutResponse) XXX_DiscardUnknown()

func (*MsgSwapOutResponse) XXX_Marshal

func (m *MsgSwapOutResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgSwapOutResponse) XXX_Merge

func (m *MsgSwapOutResponse) XXX_Merge(src proto.Message)

func (*MsgSwapOutResponse) XXX_Size

func (m *MsgSwapOutResponse) XXX_Size() int

func (*MsgSwapOutResponse) XXX_Unmarshal

func (m *MsgSwapOutResponse) XXX_Unmarshal(b []byte) error

type MsgToggleBridgeRequest

type MsgToggleBridgeRequest struct {
	// admin is the address of the vault administrator.
	Admin string `protobuf:"bytes,1,opt,name=admin,proto3" json:"admin,omitempty"`
	// vault_address is the bech32 address of the vault to update.
	VaultAddress string `protobuf:"bytes,2,opt,name=vault_address,json=vaultAddress,proto3" json:"vault_address,omitempty"`
	// enabled indicates whether bridge operations are allowed.
	Enabled bool `protobuf:"varint,3,opt,name=enabled,proto3" json:"enabled,omitempty"`
}

MsgToggleBridgeRequest is the request message for enabling or disabling the bridge for a vault.

func (*MsgToggleBridgeRequest) Descriptor

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

func (*MsgToggleBridgeRequest) GetAdmin

func (m *MsgToggleBridgeRequest) GetAdmin() string

func (*MsgToggleBridgeRequest) GetEnabled

func (m *MsgToggleBridgeRequest) GetEnabled() bool

func (*MsgToggleBridgeRequest) GetVaultAddress

func (m *MsgToggleBridgeRequest) GetVaultAddress() string

func (*MsgToggleBridgeRequest) Marshal

func (m *MsgToggleBridgeRequest) Marshal() (dAtA []byte, err error)

func (*MsgToggleBridgeRequest) MarshalTo

func (m *MsgToggleBridgeRequest) MarshalTo(dAtA []byte) (int, error)

func (*MsgToggleBridgeRequest) MarshalToSizedBuffer

func (m *MsgToggleBridgeRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgToggleBridgeRequest) ProtoMessage

func (*MsgToggleBridgeRequest) ProtoMessage()

func (*MsgToggleBridgeRequest) Reset

func (m *MsgToggleBridgeRequest) Reset()

func (*MsgToggleBridgeRequest) Size

func (m *MsgToggleBridgeRequest) Size() (n int)

func (*MsgToggleBridgeRequest) String

func (m *MsgToggleBridgeRequest) String() string

func (*MsgToggleBridgeRequest) Unmarshal

func (m *MsgToggleBridgeRequest) Unmarshal(dAtA []byte) error

func (MsgToggleBridgeRequest) ValidateBasic

func (m MsgToggleBridgeRequest) ValidateBasic() error

ValidateBasic performs stateless validation on MsgToggleBridgeRequest.

func (*MsgToggleBridgeRequest) XXX_DiscardUnknown

func (m *MsgToggleBridgeRequest) XXX_DiscardUnknown()

func (*MsgToggleBridgeRequest) XXX_Marshal

func (m *MsgToggleBridgeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgToggleBridgeRequest) XXX_Merge

func (m *MsgToggleBridgeRequest) XXX_Merge(src proto.Message)

func (*MsgToggleBridgeRequest) XXX_Size

func (m *MsgToggleBridgeRequest) XXX_Size() int

func (*MsgToggleBridgeRequest) XXX_Unmarshal

func (m *MsgToggleBridgeRequest) XXX_Unmarshal(b []byte) error

type MsgToggleBridgeResponse

type MsgToggleBridgeResponse struct {
}

MsgToggleBridgeResponse is the response message for the ToggleBridge endpoint.

func (*MsgToggleBridgeResponse) Descriptor

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

func (*MsgToggleBridgeResponse) Marshal

func (m *MsgToggleBridgeResponse) Marshal() (dAtA []byte, err error)

func (*MsgToggleBridgeResponse) MarshalTo

func (m *MsgToggleBridgeResponse) MarshalTo(dAtA []byte) (int, error)

func (*MsgToggleBridgeResponse) MarshalToSizedBuffer

func (m *MsgToggleBridgeResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgToggleBridgeResponse) ProtoMessage

func (*MsgToggleBridgeResponse) ProtoMessage()

func (*MsgToggleBridgeResponse) Reset

func (m *MsgToggleBridgeResponse) Reset()

func (*MsgToggleBridgeResponse) Size

func (m *MsgToggleBridgeResponse) Size() (n int)

func (*MsgToggleBridgeResponse) String

func (m *MsgToggleBridgeResponse) String() string

func (*MsgToggleBridgeResponse) Unmarshal

func (m *MsgToggleBridgeResponse) Unmarshal(dAtA []byte) error

func (*MsgToggleBridgeResponse) XXX_DiscardUnknown

func (m *MsgToggleBridgeResponse) XXX_DiscardUnknown()

func (*MsgToggleBridgeResponse) XXX_Marshal

func (m *MsgToggleBridgeResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgToggleBridgeResponse) XXX_Merge

func (m *MsgToggleBridgeResponse) XXX_Merge(src proto.Message)

func (*MsgToggleBridgeResponse) XXX_Size

func (m *MsgToggleBridgeResponse) XXX_Size() int

func (*MsgToggleBridgeResponse) XXX_Unmarshal

func (m *MsgToggleBridgeResponse) XXX_Unmarshal(b []byte) error

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"`
}

MsgToggleSwapInRequest is the request message for enabling or disabling swap-in operations for a vault.

func (*MsgToggleSwapInRequest) Descriptor

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

func (*MsgToggleSwapInRequest) GetAdmin

func (m *MsgToggleSwapInRequest) GetAdmin() string

func (*MsgToggleSwapInRequest) GetEnabled

func (m *MsgToggleSwapInRequest) GetEnabled() bool

func (*MsgToggleSwapInRequest) GetVaultAddress

func (m *MsgToggleSwapInRequest) GetVaultAddress() string

func (*MsgToggleSwapInRequest) Marshal

func (m *MsgToggleSwapInRequest) Marshal() (dAtA []byte, err error)

func (*MsgToggleSwapInRequest) MarshalTo

func (m *MsgToggleSwapInRequest) MarshalTo(dAtA []byte) (int, error)

func (*MsgToggleSwapInRequest) MarshalToSizedBuffer

func (m *MsgToggleSwapInRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgToggleSwapInRequest) ProtoMessage

func (*MsgToggleSwapInRequest) ProtoMessage()

func (*MsgToggleSwapInRequest) Reset

func (m *MsgToggleSwapInRequest) Reset()

func (*MsgToggleSwapInRequest) Size

func (m *MsgToggleSwapInRequest) Size() (n int)

func (*MsgToggleSwapInRequest) String

func (m *MsgToggleSwapInRequest) String() string

func (*MsgToggleSwapInRequest) Unmarshal

func (m *MsgToggleSwapInRequest) Unmarshal(dAtA []byte) error

func (MsgToggleSwapInRequest) ValidateBasic

func (m MsgToggleSwapInRequest) ValidateBasic() error

ValidateBasic performs stateless validation on MsgToggleSwapInRequest.

func (*MsgToggleSwapInRequest) XXX_DiscardUnknown

func (m *MsgToggleSwapInRequest) XXX_DiscardUnknown()

func (*MsgToggleSwapInRequest) XXX_Marshal

func (m *MsgToggleSwapInRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgToggleSwapInRequest) XXX_Merge

func (m *MsgToggleSwapInRequest) XXX_Merge(src proto.Message)

func (*MsgToggleSwapInRequest) XXX_Size

func (m *MsgToggleSwapInRequest) XXX_Size() int

func (*MsgToggleSwapInRequest) XXX_Unmarshal

func (m *MsgToggleSwapInRequest) XXX_Unmarshal(b []byte) error

type MsgToggleSwapInResponse

type MsgToggleSwapInResponse struct {
}

MsgToggleSwapInResponse is the response message for the ToggleSwapIn endpoint.

func (*MsgToggleSwapInResponse) Descriptor

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

func (*MsgToggleSwapInResponse) Marshal

func (m *MsgToggleSwapInResponse) Marshal() (dAtA []byte, err error)

func (*MsgToggleSwapInResponse) MarshalTo

func (m *MsgToggleSwapInResponse) MarshalTo(dAtA []byte) (int, error)

func (*MsgToggleSwapInResponse) MarshalToSizedBuffer

func (m *MsgToggleSwapInResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgToggleSwapInResponse) ProtoMessage

func (*MsgToggleSwapInResponse) ProtoMessage()

func (*MsgToggleSwapInResponse) Reset

func (m *MsgToggleSwapInResponse) Reset()

func (*MsgToggleSwapInResponse) Size

func (m *MsgToggleSwapInResponse) Size() (n int)

func (*MsgToggleSwapInResponse) String

func (m *MsgToggleSwapInResponse) String() string

func (*MsgToggleSwapInResponse) Unmarshal

func (m *MsgToggleSwapInResponse) Unmarshal(dAtA []byte) error

func (*MsgToggleSwapInResponse) XXX_DiscardUnknown

func (m *MsgToggleSwapInResponse) XXX_DiscardUnknown()

func (*MsgToggleSwapInResponse) XXX_Marshal

func (m *MsgToggleSwapInResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgToggleSwapInResponse) XXX_Merge

func (m *MsgToggleSwapInResponse) XXX_Merge(src proto.Message)

func (*MsgToggleSwapInResponse) XXX_Size

func (m *MsgToggleSwapInResponse) XXX_Size() int

func (*MsgToggleSwapInResponse) XXX_Unmarshal

func (m *MsgToggleSwapInResponse) XXX_Unmarshal(b []byte) error

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"`
}

MsgToggleSwapOutRequest is the request message for enabling or disabling swap-out operations for a vault.

func (*MsgToggleSwapOutRequest) Descriptor

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

func (*MsgToggleSwapOutRequest) GetAdmin

func (m *MsgToggleSwapOutRequest) GetAdmin() string

func (*MsgToggleSwapOutRequest) GetEnabled

func (m *MsgToggleSwapOutRequest) GetEnabled() bool

func (*MsgToggleSwapOutRequest) GetVaultAddress

func (m *MsgToggleSwapOutRequest) GetVaultAddress() string

func (*MsgToggleSwapOutRequest) Marshal

func (m *MsgToggleSwapOutRequest) Marshal() (dAtA []byte, err error)

func (*MsgToggleSwapOutRequest) MarshalTo

func (m *MsgToggleSwapOutRequest) MarshalTo(dAtA []byte) (int, error)

func (*MsgToggleSwapOutRequest) MarshalToSizedBuffer

func (m *MsgToggleSwapOutRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgToggleSwapOutRequest) ProtoMessage

func (*MsgToggleSwapOutRequest) ProtoMessage()

func (*MsgToggleSwapOutRequest) Reset

func (m *MsgToggleSwapOutRequest) Reset()

func (*MsgToggleSwapOutRequest) Size

func (m *MsgToggleSwapOutRequest) Size() (n int)

func (*MsgToggleSwapOutRequest) String

func (m *MsgToggleSwapOutRequest) String() string

func (*MsgToggleSwapOutRequest) Unmarshal

func (m *MsgToggleSwapOutRequest) Unmarshal(dAtA []byte) error

func (MsgToggleSwapOutRequest) ValidateBasic

func (m MsgToggleSwapOutRequest) ValidateBasic() error

ValidateBasic performs stateless validation on MsgToggleSwapOutRequest.

func (*MsgToggleSwapOutRequest) XXX_DiscardUnknown

func (m *MsgToggleSwapOutRequest) XXX_DiscardUnknown()

func (*MsgToggleSwapOutRequest) XXX_Marshal

func (m *MsgToggleSwapOutRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgToggleSwapOutRequest) XXX_Merge

func (m *MsgToggleSwapOutRequest) XXX_Merge(src proto.Message)

func (*MsgToggleSwapOutRequest) XXX_Size

func (m *MsgToggleSwapOutRequest) XXX_Size() int

func (*MsgToggleSwapOutRequest) XXX_Unmarshal

func (m *MsgToggleSwapOutRequest) XXX_Unmarshal(b []byte) error

type MsgToggleSwapOutResponse

type MsgToggleSwapOutResponse struct {
}

MsgToggleSwapOutResponse is the response message for the ToggleSwapOut endpoint.

func (*MsgToggleSwapOutResponse) Descriptor

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

func (*MsgToggleSwapOutResponse) Marshal

func (m *MsgToggleSwapOutResponse) Marshal() (dAtA []byte, err error)

func (*MsgToggleSwapOutResponse) MarshalTo

func (m *MsgToggleSwapOutResponse) MarshalTo(dAtA []byte) (int, error)

func (*MsgToggleSwapOutResponse) MarshalToSizedBuffer

func (m *MsgToggleSwapOutResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgToggleSwapOutResponse) ProtoMessage

func (*MsgToggleSwapOutResponse) ProtoMessage()

func (*MsgToggleSwapOutResponse) Reset

func (m *MsgToggleSwapOutResponse) Reset()

func (*MsgToggleSwapOutResponse) Size

func (m *MsgToggleSwapOutResponse) Size() (n int)

func (*MsgToggleSwapOutResponse) String

func (m *MsgToggleSwapOutResponse) String() string

func (*MsgToggleSwapOutResponse) Unmarshal

func (m *MsgToggleSwapOutResponse) Unmarshal(dAtA []byte) error

func (*MsgToggleSwapOutResponse) XXX_DiscardUnknown

func (m *MsgToggleSwapOutResponse) XXX_DiscardUnknown()

func (*MsgToggleSwapOutResponse) XXX_Marshal

func (m *MsgToggleSwapOutResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgToggleSwapOutResponse) XXX_Merge

func (m *MsgToggleSwapOutResponse) XXX_Merge(src proto.Message)

func (*MsgToggleSwapOutResponse) XXX_Size

func (m *MsgToggleSwapOutResponse) XXX_Size() int

func (*MsgToggleSwapOutResponse) XXX_Unmarshal

func (m *MsgToggleSwapOutResponse) XXX_Unmarshal(b []byte) error

type MsgUnpauseVaultRequest

type MsgUnpauseVaultRequest struct {
	// authority is the address of the vault administrator or asset manager initiating the unpause.
	Authority string `protobuf:"bytes,1,opt,name=authority,proto3" json:"authority,omitempty"`
	// vault_address is the bech32 address of the vault to unpause.
	VaultAddress string `protobuf:"bytes,2,opt,name=vault_address,json=vaultAddress,proto3" json:"vault_address,omitempty"`
}

MsgUnpauseVaultRequest is the request message to unpause a vault. When processed, the vault re-enables user-facing swap operations (subject to existing flags).

func (*MsgUnpauseVaultRequest) Descriptor

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

func (*MsgUnpauseVaultRequest) GetAuthority added in v1.0.7

func (m *MsgUnpauseVaultRequest) GetAuthority() string

func (*MsgUnpauseVaultRequest) GetVaultAddress

func (m *MsgUnpauseVaultRequest) GetVaultAddress() string

func (*MsgUnpauseVaultRequest) Marshal

func (m *MsgUnpauseVaultRequest) Marshal() (dAtA []byte, err error)

func (*MsgUnpauseVaultRequest) MarshalTo

func (m *MsgUnpauseVaultRequest) MarshalTo(dAtA []byte) (int, error)

func (*MsgUnpauseVaultRequest) MarshalToSizedBuffer

func (m *MsgUnpauseVaultRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgUnpauseVaultRequest) ProtoMessage

func (*MsgUnpauseVaultRequest) ProtoMessage()

func (*MsgUnpauseVaultRequest) Reset

func (m *MsgUnpauseVaultRequest) Reset()

func (*MsgUnpauseVaultRequest) Size

func (m *MsgUnpauseVaultRequest) Size() (n int)

func (*MsgUnpauseVaultRequest) String

func (m *MsgUnpauseVaultRequest) String() string

func (*MsgUnpauseVaultRequest) Unmarshal

func (m *MsgUnpauseVaultRequest) Unmarshal(dAtA []byte) error

func (MsgUnpauseVaultRequest) ValidateBasic

func (m MsgUnpauseVaultRequest) ValidateBasic() error

ValidateBasic performs stateless validation on MsgUnpauseVaultRequest.

func (*MsgUnpauseVaultRequest) XXX_DiscardUnknown

func (m *MsgUnpauseVaultRequest) XXX_DiscardUnknown()

func (*MsgUnpauseVaultRequest) XXX_Marshal

func (m *MsgUnpauseVaultRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgUnpauseVaultRequest) XXX_Merge

func (m *MsgUnpauseVaultRequest) XXX_Merge(src proto.Message)

func (*MsgUnpauseVaultRequest) XXX_Size

func (m *MsgUnpauseVaultRequest) XXX_Size() int

func (*MsgUnpauseVaultRequest) XXX_Unmarshal

func (m *MsgUnpauseVaultRequest) XXX_Unmarshal(b []byte) error

type MsgUnpauseVaultResponse

type MsgUnpauseVaultResponse struct {
}

MsgUnpauseVaultResponse is the response message for the UnpauseVault endpoint.

func (*MsgUnpauseVaultResponse) Descriptor

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

func (*MsgUnpauseVaultResponse) Marshal

func (m *MsgUnpauseVaultResponse) Marshal() (dAtA []byte, err error)

func (*MsgUnpauseVaultResponse) MarshalTo

func (m *MsgUnpauseVaultResponse) MarshalTo(dAtA []byte) (int, error)

func (*MsgUnpauseVaultResponse) MarshalToSizedBuffer

func (m *MsgUnpauseVaultResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgUnpauseVaultResponse) ProtoMessage

func (*MsgUnpauseVaultResponse) ProtoMessage()

func (*MsgUnpauseVaultResponse) Reset

func (m *MsgUnpauseVaultResponse) Reset()

func (*MsgUnpauseVaultResponse) Size

func (m *MsgUnpauseVaultResponse) Size() (n int)

func (*MsgUnpauseVaultResponse) String

func (m *MsgUnpauseVaultResponse) String() string

func (*MsgUnpauseVaultResponse) Unmarshal

func (m *MsgUnpauseVaultResponse) Unmarshal(dAtA []byte) error

func (*MsgUnpauseVaultResponse) XXX_DiscardUnknown

func (m *MsgUnpauseVaultResponse) XXX_DiscardUnknown()

func (*MsgUnpauseVaultResponse) XXX_Marshal

func (m *MsgUnpauseVaultResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgUnpauseVaultResponse) XXX_Merge

func (m *MsgUnpauseVaultResponse) XXX_Merge(src proto.Message)

func (*MsgUnpauseVaultResponse) XXX_Size

func (m *MsgUnpauseVaultResponse) XXX_Size() int

func (*MsgUnpauseVaultResponse) XXX_Unmarshal

func (m *MsgUnpauseVaultResponse) XXX_Unmarshal(b []byte) error

type MsgUpdateInterestRateRequest

type MsgUpdateInterestRateRequest struct {
	// authority is the address of the vault administrator or asset manager.
	Authority string `protobuf:"bytes,1,opt,name=authority,proto3" json:"authority,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"`
}

MsgUpdateInterestRateRequest is the request message for updating the annual interest rate of a vault.

func (*MsgUpdateInterestRateRequest) Descriptor

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

func (*MsgUpdateInterestRateRequest) GetAuthority added in v1.0.8

func (m *MsgUpdateInterestRateRequest) GetAuthority() string

func (*MsgUpdateInterestRateRequest) GetNewRate

func (m *MsgUpdateInterestRateRequest) GetNewRate() string

func (*MsgUpdateInterestRateRequest) GetVaultAddress

func (m *MsgUpdateInterestRateRequest) GetVaultAddress() string

func (*MsgUpdateInterestRateRequest) Marshal

func (m *MsgUpdateInterestRateRequest) Marshal() (dAtA []byte, err error)

func (*MsgUpdateInterestRateRequest) MarshalTo

func (m *MsgUpdateInterestRateRequest) MarshalTo(dAtA []byte) (int, error)

func (*MsgUpdateInterestRateRequest) MarshalToSizedBuffer

func (m *MsgUpdateInterestRateRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgUpdateInterestRateRequest) ProtoMessage

func (*MsgUpdateInterestRateRequest) ProtoMessage()

func (*MsgUpdateInterestRateRequest) Reset

func (m *MsgUpdateInterestRateRequest) Reset()

func (*MsgUpdateInterestRateRequest) Size

func (m *MsgUpdateInterestRateRequest) Size() (n int)

func (*MsgUpdateInterestRateRequest) String

func (*MsgUpdateInterestRateRequest) Unmarshal

func (m *MsgUpdateInterestRateRequest) Unmarshal(dAtA []byte) error

func (MsgUpdateInterestRateRequest) ValidateBasic

func (m MsgUpdateInterestRateRequest) ValidateBasic() error

ValidateBasic performs stateless validation on MsgUpdateInterestRateRequest.

func (*MsgUpdateInterestRateRequest) XXX_DiscardUnknown

func (m *MsgUpdateInterestRateRequest) XXX_DiscardUnknown()

func (*MsgUpdateInterestRateRequest) XXX_Marshal

func (m *MsgUpdateInterestRateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgUpdateInterestRateRequest) XXX_Merge

func (m *MsgUpdateInterestRateRequest) XXX_Merge(src proto.Message)

func (*MsgUpdateInterestRateRequest) XXX_Size

func (m *MsgUpdateInterestRateRequest) XXX_Size() int

func (*MsgUpdateInterestRateRequest) XXX_Unmarshal

func (m *MsgUpdateInterestRateRequest) XXX_Unmarshal(b []byte) error

type MsgUpdateInterestRateResponse

type MsgUpdateInterestRateResponse struct {
}

MsgUpdateInterestRateResponse is the response message for the UpdateInterestRate endpoint.

func (*MsgUpdateInterestRateResponse) Descriptor

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

func (*MsgUpdateInterestRateResponse) Marshal

func (m *MsgUpdateInterestRateResponse) Marshal() (dAtA []byte, err error)

func (*MsgUpdateInterestRateResponse) MarshalTo

func (m *MsgUpdateInterestRateResponse) MarshalTo(dAtA []byte) (int, error)

func (*MsgUpdateInterestRateResponse) MarshalToSizedBuffer

func (m *MsgUpdateInterestRateResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgUpdateInterestRateResponse) ProtoMessage

func (*MsgUpdateInterestRateResponse) ProtoMessage()

func (*MsgUpdateInterestRateResponse) Reset

func (m *MsgUpdateInterestRateResponse) Reset()

func (*MsgUpdateInterestRateResponse) Size

func (m *MsgUpdateInterestRateResponse) Size() (n int)

func (*MsgUpdateInterestRateResponse) String

func (*MsgUpdateInterestRateResponse) Unmarshal

func (m *MsgUpdateInterestRateResponse) Unmarshal(dAtA []byte) error

func (*MsgUpdateInterestRateResponse) XXX_DiscardUnknown

func (m *MsgUpdateInterestRateResponse) XXX_DiscardUnknown()

func (*MsgUpdateInterestRateResponse) XXX_Marshal

func (m *MsgUpdateInterestRateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgUpdateInterestRateResponse) XXX_Merge

func (m *MsgUpdateInterestRateResponse) XXX_Merge(src proto.Message)

func (*MsgUpdateInterestRateResponse) XXX_Size

func (m *MsgUpdateInterestRateResponse) XXX_Size() int

func (*MsgUpdateInterestRateResponse) XXX_Unmarshal

func (m *MsgUpdateInterestRateResponse) XXX_Unmarshal(b []byte) error

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"`
}

MsgUpdateMaxInterestRateRequest is the request message for updating the maximum interest rate of a vault.

func (*MsgUpdateMaxInterestRateRequest) Descriptor

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

func (*MsgUpdateMaxInterestRateRequest) GetAdmin

func (*MsgUpdateMaxInterestRateRequest) GetMaxRate

func (m *MsgUpdateMaxInterestRateRequest) GetMaxRate() string

func (*MsgUpdateMaxInterestRateRequest) GetVaultAddress

func (m *MsgUpdateMaxInterestRateRequest) GetVaultAddress() string

func (*MsgUpdateMaxInterestRateRequest) Marshal

func (m *MsgUpdateMaxInterestRateRequest) Marshal() (dAtA []byte, err error)

func (*MsgUpdateMaxInterestRateRequest) MarshalTo

func (m *MsgUpdateMaxInterestRateRequest) MarshalTo(dAtA []byte) (int, error)

func (*MsgUpdateMaxInterestRateRequest) MarshalToSizedBuffer

func (m *MsgUpdateMaxInterestRateRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgUpdateMaxInterestRateRequest) ProtoMessage

func (*MsgUpdateMaxInterestRateRequest) ProtoMessage()

func (*MsgUpdateMaxInterestRateRequest) Reset

func (*MsgUpdateMaxInterestRateRequest) Size

func (m *MsgUpdateMaxInterestRateRequest) Size() (n int)

func (*MsgUpdateMaxInterestRateRequest) String

func (*MsgUpdateMaxInterestRateRequest) Unmarshal

func (m *MsgUpdateMaxInterestRateRequest) Unmarshal(dAtA []byte) error

func (MsgUpdateMaxInterestRateRequest) ValidateBasic

func (m MsgUpdateMaxInterestRateRequest) ValidateBasic() error

ValidateBasic performs stateless validation on MsgUpdateMaxInterestRateRequest.

func (*MsgUpdateMaxInterestRateRequest) XXX_DiscardUnknown

func (m *MsgUpdateMaxInterestRateRequest) XXX_DiscardUnknown()

func (*MsgUpdateMaxInterestRateRequest) XXX_Marshal

func (m *MsgUpdateMaxInterestRateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgUpdateMaxInterestRateRequest) XXX_Merge

func (m *MsgUpdateMaxInterestRateRequest) XXX_Merge(src proto.Message)

func (*MsgUpdateMaxInterestRateRequest) XXX_Size

func (m *MsgUpdateMaxInterestRateRequest) XXX_Size() int

func (*MsgUpdateMaxInterestRateRequest) XXX_Unmarshal

func (m *MsgUpdateMaxInterestRateRequest) XXX_Unmarshal(b []byte) error

type MsgUpdateMaxInterestRateResponse

type MsgUpdateMaxInterestRateResponse struct {
}

MsgUpdateMaxInterestRateResponse is the response message for the UpdateMaxInterestRate endpoint.

func (*MsgUpdateMaxInterestRateResponse) Descriptor

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

func (*MsgUpdateMaxInterestRateResponse) Marshal

func (m *MsgUpdateMaxInterestRateResponse) Marshal() (dAtA []byte, err error)

func (*MsgUpdateMaxInterestRateResponse) MarshalTo

func (m *MsgUpdateMaxInterestRateResponse) MarshalTo(dAtA []byte) (int, error)

func (*MsgUpdateMaxInterestRateResponse) MarshalToSizedBuffer

func (m *MsgUpdateMaxInterestRateResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgUpdateMaxInterestRateResponse) ProtoMessage

func (*MsgUpdateMaxInterestRateResponse) ProtoMessage()

func (*MsgUpdateMaxInterestRateResponse) Reset

func (*MsgUpdateMaxInterestRateResponse) Size

func (m *MsgUpdateMaxInterestRateResponse) Size() (n int)

func (*MsgUpdateMaxInterestRateResponse) String

func (*MsgUpdateMaxInterestRateResponse) Unmarshal

func (m *MsgUpdateMaxInterestRateResponse) Unmarshal(dAtA []byte) error

func (*MsgUpdateMaxInterestRateResponse) XXX_DiscardUnknown

func (m *MsgUpdateMaxInterestRateResponse) XXX_DiscardUnknown()

func (*MsgUpdateMaxInterestRateResponse) XXX_Marshal

func (m *MsgUpdateMaxInterestRateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgUpdateMaxInterestRateResponse) XXX_Merge

func (*MsgUpdateMaxInterestRateResponse) XXX_Size

func (m *MsgUpdateMaxInterestRateResponse) XXX_Size() int

func (*MsgUpdateMaxInterestRateResponse) XXX_Unmarshal

func (m *MsgUpdateMaxInterestRateResponse) XXX_Unmarshal(b []byte) error

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"`
}

MsgUpdateMinInterestRateRequest is the request message for updating the minimum interest rate of a vault.

func (*MsgUpdateMinInterestRateRequest) Descriptor

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

func (*MsgUpdateMinInterestRateRequest) GetAdmin

func (*MsgUpdateMinInterestRateRequest) GetMinRate

func (m *MsgUpdateMinInterestRateRequest) GetMinRate() string

func (*MsgUpdateMinInterestRateRequest) GetVaultAddress

func (m *MsgUpdateMinInterestRateRequest) GetVaultAddress() string

func (*MsgUpdateMinInterestRateRequest) Marshal

func (m *MsgUpdateMinInterestRateRequest) Marshal() (dAtA []byte, err error)

func (*MsgUpdateMinInterestRateRequest) MarshalTo

func (m *MsgUpdateMinInterestRateRequest) MarshalTo(dAtA []byte) (int, error)

func (*MsgUpdateMinInterestRateRequest) MarshalToSizedBuffer

func (m *MsgUpdateMinInterestRateRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgUpdateMinInterestRateRequest) ProtoMessage

func (*MsgUpdateMinInterestRateRequest) ProtoMessage()

func (*MsgUpdateMinInterestRateRequest) Reset

func (*MsgUpdateMinInterestRateRequest) Size

func (m *MsgUpdateMinInterestRateRequest) Size() (n int)

func (*MsgUpdateMinInterestRateRequest) String

func (*MsgUpdateMinInterestRateRequest) Unmarshal

func (m *MsgUpdateMinInterestRateRequest) Unmarshal(dAtA []byte) error

func (MsgUpdateMinInterestRateRequest) ValidateBasic

func (m MsgUpdateMinInterestRateRequest) ValidateBasic() error

ValidateBasic performs stateless validation on MsgUpdateMinInterestRateRequest.

func (*MsgUpdateMinInterestRateRequest) XXX_DiscardUnknown

func (m *MsgUpdateMinInterestRateRequest) XXX_DiscardUnknown()

func (*MsgUpdateMinInterestRateRequest) XXX_Marshal

func (m *MsgUpdateMinInterestRateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgUpdateMinInterestRateRequest) XXX_Merge

func (m *MsgUpdateMinInterestRateRequest) XXX_Merge(src proto.Message)

func (*MsgUpdateMinInterestRateRequest) XXX_Size

func (m *MsgUpdateMinInterestRateRequest) XXX_Size() int

func (*MsgUpdateMinInterestRateRequest) XXX_Unmarshal

func (m *MsgUpdateMinInterestRateRequest) XXX_Unmarshal(b []byte) error

type MsgUpdateMinInterestRateResponse

type MsgUpdateMinInterestRateResponse struct {
}

MsgUpdateMinInterestRateResponse is the response message for the UpdateMinInterestRate endpoint.

func (*MsgUpdateMinInterestRateResponse) Descriptor

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

func (*MsgUpdateMinInterestRateResponse) Marshal

func (m *MsgUpdateMinInterestRateResponse) Marshal() (dAtA []byte, err error)

func (*MsgUpdateMinInterestRateResponse) MarshalTo

func (m *MsgUpdateMinInterestRateResponse) MarshalTo(dAtA []byte) (int, error)

func (*MsgUpdateMinInterestRateResponse) MarshalToSizedBuffer

func (m *MsgUpdateMinInterestRateResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgUpdateMinInterestRateResponse) ProtoMessage

func (*MsgUpdateMinInterestRateResponse) ProtoMessage()

func (*MsgUpdateMinInterestRateResponse) Reset

func (*MsgUpdateMinInterestRateResponse) Size

func (m *MsgUpdateMinInterestRateResponse) Size() (n int)

func (*MsgUpdateMinInterestRateResponse) String

func (*MsgUpdateMinInterestRateResponse) Unmarshal

func (m *MsgUpdateMinInterestRateResponse) Unmarshal(dAtA []byte) error

func (*MsgUpdateMinInterestRateResponse) XXX_DiscardUnknown

func (m *MsgUpdateMinInterestRateResponse) XXX_DiscardUnknown()

func (*MsgUpdateMinInterestRateResponse) XXX_Marshal

func (m *MsgUpdateMinInterestRateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgUpdateMinInterestRateResponse) XXX_Merge

func (*MsgUpdateMinInterestRateResponse) XXX_Size

func (m *MsgUpdateMinInterestRateResponse) XXX_Size() int

func (*MsgUpdateMinInterestRateResponse) XXX_Unmarshal

func (m *MsgUpdateMinInterestRateResponse) XXX_Unmarshal(b []byte) error

type MsgWithdrawInterestFundsRequest

type MsgWithdrawInterestFundsRequest struct {
	// authority is the address of the vault administrator or asset manager initiating the withdrawal.
	Authority string `protobuf:"bytes,1,opt,name=authority,proto3" json:"authority,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 types1.Coin `protobuf:"bytes,3,opt,name=amount,proto3" json:"amount"`
}

MsgWithdrawInterestFundsRequest is the request message for withdrawing unused interest funds.

func (*MsgWithdrawInterestFundsRequest) Descriptor

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

func (*MsgWithdrawInterestFundsRequest) GetAmount

func (*MsgWithdrawInterestFundsRequest) GetAuthority added in v1.0.7

func (m *MsgWithdrawInterestFundsRequest) GetAuthority() string

func (*MsgWithdrawInterestFundsRequest) GetVaultAddress

func (m *MsgWithdrawInterestFundsRequest) GetVaultAddress() string

func (*MsgWithdrawInterestFundsRequest) Marshal

func (m *MsgWithdrawInterestFundsRequest) Marshal() (dAtA []byte, err error)

func (*MsgWithdrawInterestFundsRequest) MarshalTo

func (m *MsgWithdrawInterestFundsRequest) MarshalTo(dAtA []byte) (int, error)

func (*MsgWithdrawInterestFundsRequest) MarshalToSizedBuffer

func (m *MsgWithdrawInterestFundsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgWithdrawInterestFundsRequest) ProtoMessage

func (*MsgWithdrawInterestFundsRequest) ProtoMessage()

func (*MsgWithdrawInterestFundsRequest) Reset

func (*MsgWithdrawInterestFundsRequest) Size

func (m *MsgWithdrawInterestFundsRequest) Size() (n int)

func (*MsgWithdrawInterestFundsRequest) String

func (*MsgWithdrawInterestFundsRequest) Unmarshal

func (m *MsgWithdrawInterestFundsRequest) Unmarshal(dAtA []byte) error

func (MsgWithdrawInterestFundsRequest) ValidateBasic

func (m MsgWithdrawInterestFundsRequest) ValidateBasic() error

ValidateBasic performs stateless validation on MsgWithdrawInterestFundsRequest.

func (*MsgWithdrawInterestFundsRequest) XXX_DiscardUnknown

func (m *MsgWithdrawInterestFundsRequest) XXX_DiscardUnknown()

func (*MsgWithdrawInterestFundsRequest) XXX_Marshal

func (m *MsgWithdrawInterestFundsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgWithdrawInterestFundsRequest) XXX_Merge

func (m *MsgWithdrawInterestFundsRequest) XXX_Merge(src proto.Message)

func (*MsgWithdrawInterestFundsRequest) XXX_Size

func (m *MsgWithdrawInterestFundsRequest) XXX_Size() int

func (*MsgWithdrawInterestFundsRequest) XXX_Unmarshal

func (m *MsgWithdrawInterestFundsRequest) XXX_Unmarshal(b []byte) error

type MsgWithdrawInterestFundsResponse

type MsgWithdrawInterestFundsResponse struct {
}

MsgWithdrawInterestFundsResponse is the response message for the WithdrawInterestFunds endpoint.

func (*MsgWithdrawInterestFundsResponse) Descriptor

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

func (*MsgWithdrawInterestFundsResponse) Marshal

func (m *MsgWithdrawInterestFundsResponse) Marshal() (dAtA []byte, err error)

func (*MsgWithdrawInterestFundsResponse) MarshalTo

func (m *MsgWithdrawInterestFundsResponse) MarshalTo(dAtA []byte) (int, error)

func (*MsgWithdrawInterestFundsResponse) MarshalToSizedBuffer

func (m *MsgWithdrawInterestFundsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgWithdrawInterestFundsResponse) ProtoMessage

func (*MsgWithdrawInterestFundsResponse) ProtoMessage()

func (*MsgWithdrawInterestFundsResponse) Reset

func (*MsgWithdrawInterestFundsResponse) Size

func (m *MsgWithdrawInterestFundsResponse) Size() (n int)

func (*MsgWithdrawInterestFundsResponse) String

func (*MsgWithdrawInterestFundsResponse) Unmarshal

func (m *MsgWithdrawInterestFundsResponse) Unmarshal(dAtA []byte) error

func (*MsgWithdrawInterestFundsResponse) XXX_DiscardUnknown

func (m *MsgWithdrawInterestFundsResponse) XXX_DiscardUnknown()

func (*MsgWithdrawInterestFundsResponse) XXX_Marshal

func (m *MsgWithdrawInterestFundsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgWithdrawInterestFundsResponse) XXX_Merge

func (*MsgWithdrawInterestFundsResponse) XXX_Size

func (m *MsgWithdrawInterestFundsResponse) XXX_Size() int

func (*MsgWithdrawInterestFundsResponse) XXX_Unmarshal

func (m *MsgWithdrawInterestFundsResponse) XXX_Unmarshal(b []byte) error

type MsgWithdrawPrincipalFundsRequest

type MsgWithdrawPrincipalFundsRequest struct {
	// authority is the address of the vault administrator or asset manager initiating the withdrawal.
	Authority string `protobuf:"bytes,1,opt,name=authority,proto3" json:"authority,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 types1.Coin `protobuf:"bytes,3,opt,name=amount,proto3" json:"amount"`
}

MsgWithdrawPrincipalFundsRequest is the request message for withdrawing principal funds from a vault.

func (*MsgWithdrawPrincipalFundsRequest) Descriptor

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

func (*MsgWithdrawPrincipalFundsRequest) GetAmount

func (*MsgWithdrawPrincipalFundsRequest) GetAuthority added in v1.0.7

func (m *MsgWithdrawPrincipalFundsRequest) GetAuthority() string

func (*MsgWithdrawPrincipalFundsRequest) GetVaultAddress

func (m *MsgWithdrawPrincipalFundsRequest) GetVaultAddress() string

func (*MsgWithdrawPrincipalFundsRequest) Marshal

func (m *MsgWithdrawPrincipalFundsRequest) Marshal() (dAtA []byte, err error)

func (*MsgWithdrawPrincipalFundsRequest) MarshalTo

func (m *MsgWithdrawPrincipalFundsRequest) MarshalTo(dAtA []byte) (int, error)

func (*MsgWithdrawPrincipalFundsRequest) MarshalToSizedBuffer

func (m *MsgWithdrawPrincipalFundsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgWithdrawPrincipalFundsRequest) ProtoMessage

func (*MsgWithdrawPrincipalFundsRequest) ProtoMessage()

func (*MsgWithdrawPrincipalFundsRequest) Reset

func (*MsgWithdrawPrincipalFundsRequest) Size

func (m *MsgWithdrawPrincipalFundsRequest) Size() (n int)

func (*MsgWithdrawPrincipalFundsRequest) String

func (*MsgWithdrawPrincipalFundsRequest) Unmarshal

func (m *MsgWithdrawPrincipalFundsRequest) Unmarshal(dAtA []byte) error

func (MsgWithdrawPrincipalFundsRequest) ValidateBasic

func (m MsgWithdrawPrincipalFundsRequest) ValidateBasic() error

ValidateBasic performs stateless validation on MsgWithdrawPrincipalFundsRequest.

func (*MsgWithdrawPrincipalFundsRequest) XXX_DiscardUnknown

func (m *MsgWithdrawPrincipalFundsRequest) XXX_DiscardUnknown()

func (*MsgWithdrawPrincipalFundsRequest) XXX_Marshal

func (m *MsgWithdrawPrincipalFundsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgWithdrawPrincipalFundsRequest) XXX_Merge

func (*MsgWithdrawPrincipalFundsRequest) XXX_Size

func (m *MsgWithdrawPrincipalFundsRequest) XXX_Size() int

func (*MsgWithdrawPrincipalFundsRequest) XXX_Unmarshal

func (m *MsgWithdrawPrincipalFundsRequest) XXX_Unmarshal(b []byte) error

type MsgWithdrawPrincipalFundsResponse

type MsgWithdrawPrincipalFundsResponse struct {
}

MsgWithdrawPrincipalFundsResponse is the response message for the WithdrawPrincipalFunds endpoint.

func (*MsgWithdrawPrincipalFundsResponse) Descriptor

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

func (*MsgWithdrawPrincipalFundsResponse) Marshal

func (m *MsgWithdrawPrincipalFundsResponse) Marshal() (dAtA []byte, err error)

func (*MsgWithdrawPrincipalFundsResponse) MarshalTo

func (m *MsgWithdrawPrincipalFundsResponse) MarshalTo(dAtA []byte) (int, error)

func (*MsgWithdrawPrincipalFundsResponse) MarshalToSizedBuffer

func (m *MsgWithdrawPrincipalFundsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgWithdrawPrincipalFundsResponse) ProtoMessage

func (*MsgWithdrawPrincipalFundsResponse) ProtoMessage()

func (*MsgWithdrawPrincipalFundsResponse) Reset

func (*MsgWithdrawPrincipalFundsResponse) Size

func (m *MsgWithdrawPrincipalFundsResponse) Size() (n int)

func (*MsgWithdrawPrincipalFundsResponse) String

func (*MsgWithdrawPrincipalFundsResponse) Unmarshal

func (m *MsgWithdrawPrincipalFundsResponse) Unmarshal(dAtA []byte) error

func (*MsgWithdrawPrincipalFundsResponse) XXX_DiscardUnknown

func (m *MsgWithdrawPrincipalFundsResponse) XXX_DiscardUnknown()

func (*MsgWithdrawPrincipalFundsResponse) XXX_Marshal

func (m *MsgWithdrawPrincipalFundsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgWithdrawPrincipalFundsResponse) XXX_Merge

func (*MsgWithdrawPrincipalFundsResponse) XXX_Size

func (m *MsgWithdrawPrincipalFundsResponse) XXX_Size() int

func (*MsgWithdrawPrincipalFundsResponse) XXX_Unmarshal

func (m *MsgWithdrawPrincipalFundsResponse) XXX_Unmarshal(b []byte) error

type NameKeeper

type NameKeeper interface {
	SetNameRecord(ctx sdk.Context, name string, addr sdk.AccAddress, restrict bool) error
}

type PayoutJob

type PayoutJob struct {
	Timestamp int64
	ID        uint64
	VaultAddr sdk.AccAddress
	Req       PendingSwapOut
}

PayoutJob holds the details for a pending swap-out to be processed.

func NewPayoutJob

func NewPayoutJob(timestamp int64, id uint64, vaultAddr sdk.AccAddress, req PendingSwapOut) PayoutJob

NewPayoutJob creates and returns a new PayoutJob instance.

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 types1.Coin `protobuf:"bytes,3,opt,name=shares,proto3" json:"shares"`
	// 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"`
}

PendingSwapOut are swap outs that have not yet been processed and completed.

func (*PendingSwapOut) Descriptor

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

func (*PendingSwapOut) GetOwner

func (m *PendingSwapOut) GetOwner() string

func (*PendingSwapOut) GetRedeemDenom

func (m *PendingSwapOut) GetRedeemDenom() string

func (*PendingSwapOut) GetShares

func (m *PendingSwapOut) GetShares() types1.Coin

func (*PendingSwapOut) GetVaultAddress

func (m *PendingSwapOut) GetVaultAddress() string

func (*PendingSwapOut) Marshal

func (m *PendingSwapOut) Marshal() (dAtA []byte, err error)

func (*PendingSwapOut) MarshalTo

func (m *PendingSwapOut) MarshalTo(dAtA []byte) (int, error)

func (*PendingSwapOut) MarshalToSizedBuffer

func (m *PendingSwapOut) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*PendingSwapOut) ProtoMessage

func (*PendingSwapOut) ProtoMessage()

func (*PendingSwapOut) Reset

func (m *PendingSwapOut) Reset()

func (*PendingSwapOut) Size

func (m *PendingSwapOut) Size() (n int)

func (*PendingSwapOut) String

func (m *PendingSwapOut) String() string

func (*PendingSwapOut) Unmarshal

func (m *PendingSwapOut) Unmarshal(dAtA []byte) error

func (*PendingSwapOut) XXX_DiscardUnknown

func (m *PendingSwapOut) XXX_DiscardUnknown()

func (*PendingSwapOut) XXX_Marshal

func (m *PendingSwapOut) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PendingSwapOut) XXX_Merge

func (m *PendingSwapOut) XXX_Merge(src proto.Message)

func (*PendingSwapOut) XXX_Size

func (m *PendingSwapOut) XXX_Size() int

func (*PendingSwapOut) XXX_Unmarshal

func (m *PendingSwapOut) XXX_Unmarshal(b []byte) error

type PendingSwapOutQueue

type PendingSwapOutQueue struct {
	// latest_sequence_number is the most recently assigned pending swap-out ID.
	LatestSequenceNumber uint64 `protobuf:"varint,1,opt,name=latest_sequence_number,json=latestSequenceNumber,proto3" json:"latest_sequence_number,omitempty"`
	// entries contains all currently queued pending swap-out entries.
	Entries []PendingSwapOutQueueEntry `protobuf:"bytes,2,rep,name=entries,proto3" json:"entries"`
}

PendingSwapOutQueue holds the latest sequence number and all queued swap-out entries.

func (*PendingSwapOutQueue) Descriptor

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

func (*PendingSwapOutQueue) GetEntries

func (*PendingSwapOutQueue) GetLatestSequenceNumber

func (m *PendingSwapOutQueue) GetLatestSequenceNumber() uint64

func (*PendingSwapOutQueue) Marshal

func (m *PendingSwapOutQueue) Marshal() (dAtA []byte, err error)

func (*PendingSwapOutQueue) MarshalTo

func (m *PendingSwapOutQueue) MarshalTo(dAtA []byte) (int, error)

func (*PendingSwapOutQueue) MarshalToSizedBuffer

func (m *PendingSwapOutQueue) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*PendingSwapOutQueue) ProtoMessage

func (*PendingSwapOutQueue) ProtoMessage()

func (*PendingSwapOutQueue) Reset

func (m *PendingSwapOutQueue) Reset()

func (*PendingSwapOutQueue) Size

func (m *PendingSwapOutQueue) Size() (n int)

func (*PendingSwapOutQueue) String

func (m *PendingSwapOutQueue) String() string

func (*PendingSwapOutQueue) Unmarshal

func (m *PendingSwapOutQueue) Unmarshal(dAtA []byte) error

func (*PendingSwapOutQueue) XXX_DiscardUnknown

func (m *PendingSwapOutQueue) XXX_DiscardUnknown()

func (*PendingSwapOutQueue) XXX_Marshal

func (m *PendingSwapOutQueue) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PendingSwapOutQueue) XXX_Merge

func (m *PendingSwapOutQueue) XXX_Merge(src proto.Message)

func (*PendingSwapOutQueue) XXX_Size

func (m *PendingSwapOutQueue) XXX_Size() int

func (*PendingSwapOutQueue) XXX_Unmarshal

func (m *PendingSwapOutQueue) XXX_Unmarshal(b []byte) error

type PendingSwapOutQueueEntry

type PendingSwapOutQueueEntry struct {
	// time is the UNIX timestamp (in seconds) when this pending swap-out was enqueued or becomes eligible.
	Time int64 `protobuf:"varint,1,opt,name=time,proto3" json:"time,omitempty"`
	// id is the unique identifier of the pending swap-out request.
	Id uint64 `protobuf:"varint,2,opt,name=id,proto3" json:"id,omitempty"`
	// swap_out contains the pending swap-out details.
	SwapOut PendingSwapOut `protobuf:"bytes,3,opt,name=swap_out,json=swapOut,proto3" json:"swap_out"`
}

PendingSwapOutQueueEntry represents a single pending swap-out request queued for later processing.

func (*PendingSwapOutQueueEntry) Descriptor

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

func (*PendingSwapOutQueueEntry) GetId

func (m *PendingSwapOutQueueEntry) GetId() uint64

func (*PendingSwapOutQueueEntry) GetSwapOut

func (m *PendingSwapOutQueueEntry) GetSwapOut() PendingSwapOut

func (*PendingSwapOutQueueEntry) GetTime

func (m *PendingSwapOutQueueEntry) GetTime() int64

func (*PendingSwapOutQueueEntry) Marshal

func (m *PendingSwapOutQueueEntry) Marshal() (dAtA []byte, err error)

func (*PendingSwapOutQueueEntry) MarshalTo

func (m *PendingSwapOutQueueEntry) MarshalTo(dAtA []byte) (int, error)

func (*PendingSwapOutQueueEntry) MarshalToSizedBuffer

func (m *PendingSwapOutQueueEntry) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*PendingSwapOutQueueEntry) ProtoMessage

func (*PendingSwapOutQueueEntry) ProtoMessage()

func (*PendingSwapOutQueueEntry) Reset

func (m *PendingSwapOutQueueEntry) Reset()

func (*PendingSwapOutQueueEntry) Size

func (m *PendingSwapOutQueueEntry) Size() (n int)

func (*PendingSwapOutQueueEntry) String

func (m *PendingSwapOutQueueEntry) String() string

func (*PendingSwapOutQueueEntry) Unmarshal

func (m *PendingSwapOutQueueEntry) Unmarshal(dAtA []byte) error

func (*PendingSwapOutQueueEntry) XXX_DiscardUnknown

func (m *PendingSwapOutQueueEntry) XXX_DiscardUnknown()

func (*PendingSwapOutQueueEntry) XXX_Marshal

func (m *PendingSwapOutQueueEntry) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PendingSwapOutQueueEntry) XXX_Merge

func (m *PendingSwapOutQueueEntry) XXX_Merge(src proto.Message)

func (*PendingSwapOutQueueEntry) XXX_Size

func (m *PendingSwapOutQueueEntry) XXX_Size() int

func (*PendingSwapOutQueueEntry) XXX_Unmarshal

func (m *PendingSwapOutQueueEntry) XXX_Unmarshal(b []byte) error

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"`
	// timeout is the time at which the pending swap out will expire if not processed.
	Timeout time.Time `protobuf:"bytes,3,opt,name=timeout,proto3,stdtime" json:"timeout"`
}

PendingSwapOutWithTimeout is a pending swap out with its timeout.

func (*PendingSwapOutWithTimeout) Descriptor

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

func (*PendingSwapOutWithTimeout) GetPendingSwapOut

func (m *PendingSwapOutWithTimeout) GetPendingSwapOut() PendingSwapOut

func (*PendingSwapOutWithTimeout) GetRequestId

func (m *PendingSwapOutWithTimeout) GetRequestId() uint64

func (*PendingSwapOutWithTimeout) GetTimeout

func (m *PendingSwapOutWithTimeout) GetTimeout() time.Time

func (*PendingSwapOutWithTimeout) Marshal

func (m *PendingSwapOutWithTimeout) Marshal() (dAtA []byte, err error)

func (*PendingSwapOutWithTimeout) MarshalTo

func (m *PendingSwapOutWithTimeout) MarshalTo(dAtA []byte) (int, error)

func (*PendingSwapOutWithTimeout) MarshalToSizedBuffer

func (m *PendingSwapOutWithTimeout) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*PendingSwapOutWithTimeout) ProtoMessage

func (*PendingSwapOutWithTimeout) ProtoMessage()

func (*PendingSwapOutWithTimeout) Reset

func (m *PendingSwapOutWithTimeout) Reset()

func (*PendingSwapOutWithTimeout) Size

func (m *PendingSwapOutWithTimeout) Size() (n int)

func (*PendingSwapOutWithTimeout) String

func (m *PendingSwapOutWithTimeout) String() string

func (*PendingSwapOutWithTimeout) Unmarshal

func (m *PendingSwapOutWithTimeout) Unmarshal(dAtA []byte) error

func (*PendingSwapOutWithTimeout) XXX_DiscardUnknown

func (m *PendingSwapOutWithTimeout) XXX_DiscardUnknown()

func (*PendingSwapOutWithTimeout) XXX_Marshal

func (m *PendingSwapOutWithTimeout) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PendingSwapOutWithTimeout) XXX_Merge

func (m *PendingSwapOutWithTimeout) XXX_Merge(src proto.Message)

func (*PendingSwapOutWithTimeout) XXX_Size

func (m *PendingSwapOutWithTimeout) XXX_Size() int

func (*PendingSwapOutWithTimeout) XXX_Unmarshal

func (m *PendingSwapOutWithTimeout) XXX_Unmarshal(b []byte) error

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)
	// VaultPendingSwapOuts returns a paginated list of all pending swap outs for a specific vault.
	VaultPendingSwapOuts(ctx context.Context, in *QueryVaultPendingSwapOutsRequest, opts ...grpc.CallOption) (*QueryVaultPendingSwapOutsResponse, error)
}

QueryClient is the client API for Query service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewQueryClient

func NewQueryClient(cc grpc1.ClientConn) QueryClient

type 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 types.Coin `protobuf:"bytes,2,opt,name=assets,proto3" json:"assets"`
}

QueryEstimateSwapInRequest is the request message for the Query/EstimateSwapIn endpoint.

func (*QueryEstimateSwapInRequest) Descriptor

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

func (*QueryEstimateSwapInRequest) GetAssets

func (m *QueryEstimateSwapInRequest) GetAssets() types.Coin

func (*QueryEstimateSwapInRequest) GetVaultAddress

func (m *QueryEstimateSwapInRequest) GetVaultAddress() string

func (*QueryEstimateSwapInRequest) Marshal

func (m *QueryEstimateSwapInRequest) Marshal() (dAtA []byte, err error)

func (*QueryEstimateSwapInRequest) MarshalTo

func (m *QueryEstimateSwapInRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryEstimateSwapInRequest) MarshalToSizedBuffer

func (m *QueryEstimateSwapInRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryEstimateSwapInRequest) ProtoMessage

func (*QueryEstimateSwapInRequest) ProtoMessage()

func (*QueryEstimateSwapInRequest) Reset

func (m *QueryEstimateSwapInRequest) Reset()

func (*QueryEstimateSwapInRequest) Size

func (m *QueryEstimateSwapInRequest) Size() (n int)

func (*QueryEstimateSwapInRequest) String

func (m *QueryEstimateSwapInRequest) String() string

func (*QueryEstimateSwapInRequest) Unmarshal

func (m *QueryEstimateSwapInRequest) Unmarshal(dAtA []byte) error

func (*QueryEstimateSwapInRequest) XXX_DiscardUnknown

func (m *QueryEstimateSwapInRequest) XXX_DiscardUnknown()

func (*QueryEstimateSwapInRequest) XXX_Marshal

func (m *QueryEstimateSwapInRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryEstimateSwapInRequest) XXX_Merge

func (m *QueryEstimateSwapInRequest) XXX_Merge(src proto.Message)

func (*QueryEstimateSwapInRequest) XXX_Size

func (m *QueryEstimateSwapInRequest) XXX_Size() int

func (*QueryEstimateSwapInRequest) XXX_Unmarshal

func (m *QueryEstimateSwapInRequest) XXX_Unmarshal(b []byte) error

type QueryEstimateSwapInResponse

type QueryEstimateSwapInResponse struct {
	// assets is the estimated amount of shares that would be received.
	Assets types.Coin `protobuf:"bytes,1,opt,name=assets,proto3" json:"assets"`
	// 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 time.Time `protobuf:"bytes,3,opt,name=time,proto3,stdtime" json:"time"`
}

QueryEstimateSwapInResponse is the response message for the Query/EstimateSwapIn endpoint.

func (*QueryEstimateSwapInResponse) Descriptor

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

func (*QueryEstimateSwapInResponse) GetAssets

func (m *QueryEstimateSwapInResponse) GetAssets() types.Coin

func (*QueryEstimateSwapInResponse) GetHeight

func (m *QueryEstimateSwapInResponse) GetHeight() int64

func (*QueryEstimateSwapInResponse) GetTime

func (m *QueryEstimateSwapInResponse) GetTime() time.Time

func (*QueryEstimateSwapInResponse) Marshal

func (m *QueryEstimateSwapInResponse) Marshal() (dAtA []byte, err error)

func (*QueryEstimateSwapInResponse) MarshalTo

func (m *QueryEstimateSwapInResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryEstimateSwapInResponse) MarshalToSizedBuffer

func (m *QueryEstimateSwapInResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryEstimateSwapInResponse) ProtoMessage

func (*QueryEstimateSwapInResponse) ProtoMessage()

func (*QueryEstimateSwapInResponse) Reset

func (m *QueryEstimateSwapInResponse) Reset()

func (*QueryEstimateSwapInResponse) Size

func (m *QueryEstimateSwapInResponse) Size() (n int)

func (*QueryEstimateSwapInResponse) String

func (m *QueryEstimateSwapInResponse) String() string

func (*QueryEstimateSwapInResponse) Unmarshal

func (m *QueryEstimateSwapInResponse) Unmarshal(dAtA []byte) error

func (*QueryEstimateSwapInResponse) XXX_DiscardUnknown

func (m *QueryEstimateSwapInResponse) XXX_DiscardUnknown()

func (*QueryEstimateSwapInResponse) XXX_Marshal

func (m *QueryEstimateSwapInResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryEstimateSwapInResponse) XXX_Merge

func (m *QueryEstimateSwapInResponse) XXX_Merge(src proto.Message)

func (*QueryEstimateSwapInResponse) XXX_Size

func (m *QueryEstimateSwapInResponse) XXX_Size() int

func (*QueryEstimateSwapInResponse) XXX_Unmarshal

func (m *QueryEstimateSwapInResponse) XXX_Unmarshal(b []byte) error

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 cosmossdk_io_math.Int `protobuf:"bytes,2,opt,name=shares,proto3,customtype=cosmossdk.io/math.Int" json:"shares"`
	// 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"`
}

QueryEstimateSwapOutRequest is the request message for the Query/EstimateSwapOut endpoint.

func (*QueryEstimateSwapOutRequest) Descriptor

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

func (*QueryEstimateSwapOutRequest) GetRedeemDenom

func (m *QueryEstimateSwapOutRequest) GetRedeemDenom() string

func (*QueryEstimateSwapOutRequest) GetVaultAddress

func (m *QueryEstimateSwapOutRequest) GetVaultAddress() string

func (*QueryEstimateSwapOutRequest) Marshal

func (m *QueryEstimateSwapOutRequest) Marshal() (dAtA []byte, err error)

func (*QueryEstimateSwapOutRequest) MarshalTo

func (m *QueryEstimateSwapOutRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryEstimateSwapOutRequest) MarshalToSizedBuffer

func (m *QueryEstimateSwapOutRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryEstimateSwapOutRequest) ProtoMessage

func (*QueryEstimateSwapOutRequest) ProtoMessage()

func (*QueryEstimateSwapOutRequest) Reset

func (m *QueryEstimateSwapOutRequest) Reset()

func (*QueryEstimateSwapOutRequest) Size

func (m *QueryEstimateSwapOutRequest) Size() (n int)

func (*QueryEstimateSwapOutRequest) String

func (m *QueryEstimateSwapOutRequest) String() string

func (*QueryEstimateSwapOutRequest) Unmarshal

func (m *QueryEstimateSwapOutRequest) Unmarshal(dAtA []byte) error

func (*QueryEstimateSwapOutRequest) XXX_DiscardUnknown

func (m *QueryEstimateSwapOutRequest) XXX_DiscardUnknown()

func (*QueryEstimateSwapOutRequest) XXX_Marshal

func (m *QueryEstimateSwapOutRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryEstimateSwapOutRequest) XXX_Merge

func (m *QueryEstimateSwapOutRequest) XXX_Merge(src proto.Message)

func (*QueryEstimateSwapOutRequest) XXX_Size

func (m *QueryEstimateSwapOutRequest) XXX_Size() int

func (*QueryEstimateSwapOutRequest) XXX_Unmarshal

func (m *QueryEstimateSwapOutRequest) XXX_Unmarshal(b []byte) error

type QueryEstimateSwapOutResponse

type QueryEstimateSwapOutResponse struct {
	// assets is the estimated amount of underlying assets that would be received.
	Assets types.Coin `protobuf:"bytes,1,opt,name=assets,proto3" json:"assets"`
	// 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 time.Time `protobuf:"bytes,3,opt,name=time,proto3,stdtime" json:"time"`
}

QueryEstimateSwapOutResponse is the response message for the Query/EstimateSwapOut endpoint.

func (*QueryEstimateSwapOutResponse) Descriptor

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

func (*QueryEstimateSwapOutResponse) GetAssets

func (m *QueryEstimateSwapOutResponse) GetAssets() types.Coin

func (*QueryEstimateSwapOutResponse) GetHeight

func (m *QueryEstimateSwapOutResponse) GetHeight() int64

func (*QueryEstimateSwapOutResponse) GetTime

func (m *QueryEstimateSwapOutResponse) GetTime() time.Time

func (*QueryEstimateSwapOutResponse) Marshal

func (m *QueryEstimateSwapOutResponse) Marshal() (dAtA []byte, err error)

func (*QueryEstimateSwapOutResponse) MarshalTo

func (m *QueryEstimateSwapOutResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryEstimateSwapOutResponse) MarshalToSizedBuffer

func (m *QueryEstimateSwapOutResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryEstimateSwapOutResponse) ProtoMessage

func (*QueryEstimateSwapOutResponse) ProtoMessage()

func (*QueryEstimateSwapOutResponse) Reset

func (m *QueryEstimateSwapOutResponse) Reset()

func (*QueryEstimateSwapOutResponse) Size

func (m *QueryEstimateSwapOutResponse) Size() (n int)

func (*QueryEstimateSwapOutResponse) String

func (*QueryEstimateSwapOutResponse) Unmarshal

func (m *QueryEstimateSwapOutResponse) Unmarshal(dAtA []byte) error

func (*QueryEstimateSwapOutResponse) XXX_DiscardUnknown

func (m *QueryEstimateSwapOutResponse) XXX_DiscardUnknown()

func (*QueryEstimateSwapOutResponse) XXX_Marshal

func (m *QueryEstimateSwapOutResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryEstimateSwapOutResponse) XXX_Merge

func (m *QueryEstimateSwapOutResponse) XXX_Merge(src proto.Message)

func (*QueryEstimateSwapOutResponse) XXX_Size

func (m *QueryEstimateSwapOutResponse) XXX_Size() int

func (*QueryEstimateSwapOutResponse) XXX_Unmarshal

func (m *QueryEstimateSwapOutResponse) XXX_Unmarshal(b []byte) error

type QueryPendingSwapOutsRequest

type QueryPendingSwapOutsRequest struct {
	// pagination defines an optional pagination for the request.
	Pagination *query.PageRequest `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

QueryPendingSwapOutsRequest is the request message for the Query/PendingSwapOuts endpoint.

func (*QueryPendingSwapOutsRequest) Descriptor

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

func (*QueryPendingSwapOutsRequest) GetPagination

func (m *QueryPendingSwapOutsRequest) GetPagination() *query.PageRequest

func (*QueryPendingSwapOutsRequest) Marshal

func (m *QueryPendingSwapOutsRequest) Marshal() (dAtA []byte, err error)

func (*QueryPendingSwapOutsRequest) MarshalTo

func (m *QueryPendingSwapOutsRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryPendingSwapOutsRequest) MarshalToSizedBuffer

func (m *QueryPendingSwapOutsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryPendingSwapOutsRequest) ProtoMessage

func (*QueryPendingSwapOutsRequest) ProtoMessage()

func (*QueryPendingSwapOutsRequest) Reset

func (m *QueryPendingSwapOutsRequest) Reset()

func (*QueryPendingSwapOutsRequest) Size

func (m *QueryPendingSwapOutsRequest) Size() (n int)

func (*QueryPendingSwapOutsRequest) String

func (m *QueryPendingSwapOutsRequest) String() string

func (*QueryPendingSwapOutsRequest) Unmarshal

func (m *QueryPendingSwapOutsRequest) Unmarshal(dAtA []byte) error

func (*QueryPendingSwapOutsRequest) XXX_DiscardUnknown

func (m *QueryPendingSwapOutsRequest) XXX_DiscardUnknown()

func (*QueryPendingSwapOutsRequest) XXX_Marshal

func (m *QueryPendingSwapOutsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryPendingSwapOutsRequest) XXX_Merge

func (m *QueryPendingSwapOutsRequest) XXX_Merge(src proto.Message)

func (*QueryPendingSwapOutsRequest) XXX_Size

func (m *QueryPendingSwapOutsRequest) XXX_Size() int

func (*QueryPendingSwapOutsRequest) XXX_Unmarshal

func (m *QueryPendingSwapOutsRequest) XXX_Unmarshal(b []byte) error

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"`
	// pagination defines the pagination in the response.
	Pagination *query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

QueryPendingSwapOutsResponse is the response message for the Query/PendingSwapOuts endpoint.

func (*QueryPendingSwapOutsResponse) Descriptor

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

func (*QueryPendingSwapOutsResponse) GetPagination

func (m *QueryPendingSwapOutsResponse) GetPagination() *query.PageResponse

func (*QueryPendingSwapOutsResponse) GetPendingSwapOuts

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

func (*QueryPendingSwapOutsResponse) Marshal

func (m *QueryPendingSwapOutsResponse) Marshal() (dAtA []byte, err error)

func (*QueryPendingSwapOutsResponse) MarshalTo

func (m *QueryPendingSwapOutsResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryPendingSwapOutsResponse) MarshalToSizedBuffer

func (m *QueryPendingSwapOutsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryPendingSwapOutsResponse) ProtoMessage

func (*QueryPendingSwapOutsResponse) ProtoMessage()

func (*QueryPendingSwapOutsResponse) Reset

func (m *QueryPendingSwapOutsResponse) Reset()

func (*QueryPendingSwapOutsResponse) Size

func (m *QueryPendingSwapOutsResponse) Size() (n int)

func (*QueryPendingSwapOutsResponse) String

func (*QueryPendingSwapOutsResponse) Unmarshal

func (m *QueryPendingSwapOutsResponse) Unmarshal(dAtA []byte) error

func (*QueryPendingSwapOutsResponse) XXX_DiscardUnknown

func (m *QueryPendingSwapOutsResponse) XXX_DiscardUnknown()

func (*QueryPendingSwapOutsResponse) XXX_Marshal

func (m *QueryPendingSwapOutsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryPendingSwapOutsResponse) XXX_Merge

func (m *QueryPendingSwapOutsResponse) XXX_Merge(src proto.Message)

func (*QueryPendingSwapOutsResponse) XXX_Size

func (m *QueryPendingSwapOutsResponse) XXX_Size() int

func (*QueryPendingSwapOutsResponse) XXX_Unmarshal

func (m *QueryPendingSwapOutsResponse) XXX_Unmarshal(b []byte) error

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)
	// VaultPendingSwapOuts returns a paginated list of all pending swap outs for a specific vault.
	VaultPendingSwapOuts(context.Context, *QueryVaultPendingSwapOutsRequest) (*QueryVaultPendingSwapOutsResponse, error)
}

QueryServer is the server API for Query service.

type QueryVaultPendingSwapOutsRequest added in v1.0.7

type QueryVaultPendingSwapOutsRequest 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"`
	// pagination defines an optional pagination for the request.
	Pagination *query.PageRequest `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

QueryVaultPendingSwapOutsRequest is the request message for the Query/VaultPendingSwapOuts endpoint.

func (*QueryVaultPendingSwapOutsRequest) Descriptor added in v1.0.7

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

func (*QueryVaultPendingSwapOutsRequest) GetId added in v1.0.7

func (*QueryVaultPendingSwapOutsRequest) GetPagination added in v1.0.7

func (*QueryVaultPendingSwapOutsRequest) Marshal added in v1.0.7

func (m *QueryVaultPendingSwapOutsRequest) Marshal() (dAtA []byte, err error)

func (*QueryVaultPendingSwapOutsRequest) MarshalTo added in v1.0.7

func (m *QueryVaultPendingSwapOutsRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryVaultPendingSwapOutsRequest) MarshalToSizedBuffer added in v1.0.7

func (m *QueryVaultPendingSwapOutsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryVaultPendingSwapOutsRequest) ProtoMessage added in v1.0.7

func (*QueryVaultPendingSwapOutsRequest) ProtoMessage()

func (*QueryVaultPendingSwapOutsRequest) Reset added in v1.0.7

func (*QueryVaultPendingSwapOutsRequest) Size added in v1.0.7

func (m *QueryVaultPendingSwapOutsRequest) Size() (n int)

func (*QueryVaultPendingSwapOutsRequest) String added in v1.0.7

func (*QueryVaultPendingSwapOutsRequest) Unmarshal added in v1.0.7

func (m *QueryVaultPendingSwapOutsRequest) Unmarshal(dAtA []byte) error

func (*QueryVaultPendingSwapOutsRequest) XXX_DiscardUnknown added in v1.0.7

func (m *QueryVaultPendingSwapOutsRequest) XXX_DiscardUnknown()

func (*QueryVaultPendingSwapOutsRequest) XXX_Marshal added in v1.0.7

func (m *QueryVaultPendingSwapOutsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryVaultPendingSwapOutsRequest) XXX_Merge added in v1.0.7

func (*QueryVaultPendingSwapOutsRequest) XXX_Size added in v1.0.7

func (m *QueryVaultPendingSwapOutsRequest) XXX_Size() int

func (*QueryVaultPendingSwapOutsRequest) XXX_Unmarshal added in v1.0.7

func (m *QueryVaultPendingSwapOutsRequest) XXX_Unmarshal(b []byte) error

type QueryVaultPendingSwapOutsResponse added in v1.0.7

type QueryVaultPendingSwapOutsResponse 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"`
	// pagination defines the pagination in the response.
	Pagination *query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

QueryVaultPendingSwapOutsResponse is the response message for the Query/VaultPendingSwapOuts endpoint.

func (*QueryVaultPendingSwapOutsResponse) Descriptor added in v1.0.7

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

func (*QueryVaultPendingSwapOutsResponse) GetPagination added in v1.0.7

func (*QueryVaultPendingSwapOutsResponse) GetPendingSwapOuts added in v1.0.7

func (*QueryVaultPendingSwapOutsResponse) Marshal added in v1.0.7

func (m *QueryVaultPendingSwapOutsResponse) Marshal() (dAtA []byte, err error)

func (*QueryVaultPendingSwapOutsResponse) MarshalTo added in v1.0.7

func (m *QueryVaultPendingSwapOutsResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryVaultPendingSwapOutsResponse) MarshalToSizedBuffer added in v1.0.7

func (m *QueryVaultPendingSwapOutsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryVaultPendingSwapOutsResponse) ProtoMessage added in v1.0.7

func (*QueryVaultPendingSwapOutsResponse) ProtoMessage()

func (*QueryVaultPendingSwapOutsResponse) Reset added in v1.0.7

func (*QueryVaultPendingSwapOutsResponse) Size added in v1.0.7

func (m *QueryVaultPendingSwapOutsResponse) Size() (n int)

func (*QueryVaultPendingSwapOutsResponse) String added in v1.0.7

func (*QueryVaultPendingSwapOutsResponse) Unmarshal added in v1.0.7

func (m *QueryVaultPendingSwapOutsResponse) Unmarshal(dAtA []byte) error

func (*QueryVaultPendingSwapOutsResponse) XXX_DiscardUnknown added in v1.0.7

func (m *QueryVaultPendingSwapOutsResponse) XXX_DiscardUnknown()

func (*QueryVaultPendingSwapOutsResponse) XXX_Marshal added in v1.0.7

func (m *QueryVaultPendingSwapOutsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryVaultPendingSwapOutsResponse) XXX_Merge added in v1.0.7

func (*QueryVaultPendingSwapOutsResponse) XXX_Size added in v1.0.7

func (m *QueryVaultPendingSwapOutsResponse) XXX_Size() int

func (*QueryVaultPendingSwapOutsResponse) XXX_Unmarshal added in v1.0.7

func (m *QueryVaultPendingSwapOutsResponse) XXX_Unmarshal(b []byte) error

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"`
}

QueryVaultRequest is the request message for the Query/Vault endpoint.

func (*QueryVaultRequest) Descriptor

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

func (*QueryVaultRequest) GetId

func (m *QueryVaultRequest) GetId() string

func (*QueryVaultRequest) Marshal

func (m *QueryVaultRequest) Marshal() (dAtA []byte, err error)

func (*QueryVaultRequest) MarshalTo

func (m *QueryVaultRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryVaultRequest) MarshalToSizedBuffer

func (m *QueryVaultRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryVaultRequest) ProtoMessage

func (*QueryVaultRequest) ProtoMessage()

func (*QueryVaultRequest) Reset

func (m *QueryVaultRequest) Reset()

func (*QueryVaultRequest) Size

func (m *QueryVaultRequest) Size() (n int)

func (*QueryVaultRequest) String

func (m *QueryVaultRequest) String() string

func (*QueryVaultRequest) Unmarshal

func (m *QueryVaultRequest) Unmarshal(dAtA []byte) error

func (*QueryVaultRequest) XXX_DiscardUnknown

func (m *QueryVaultRequest) XXX_DiscardUnknown()

func (*QueryVaultRequest) XXX_Marshal

func (m *QueryVaultRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryVaultRequest) XXX_Merge

func (m *QueryVaultRequest) XXX_Merge(src proto.Message)

func (*QueryVaultRequest) XXX_Size

func (m *QueryVaultRequest) XXX_Size() int

func (*QueryVaultRequest) XXX_Unmarshal

func (m *QueryVaultRequest) XXX_Unmarshal(b []byte) error

type QueryVaultResponse

type QueryVaultResponse struct {
	// vault is the requested vault.
	Vault VaultAccount `protobuf:"bytes,1,opt,name=vault,proto3" json:"vault"`
	// principal is the total amount of principal held in the vault's marker.
	Principal AccountBalance `protobuf:"bytes,2,opt,name=principal,proto3" json:"principal"`
	// 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"`
	// total_vault_value is the estimated total value of the vault in its
	// underlying asset. It includes current principal and estimated unpaid
	// interest (at query block height), but excludes reserves. The value is approximate and may differ
	// from the reconciled amount.
	TotalVaultValue types.Coin `protobuf:"bytes,4,opt,name=total_vault_value,json=totalVaultValue,proto3" json:"total_vault_value"`
}

QueryVaultResponse is the response message for the Query/Vault endpoint.

func (*QueryVaultResponse) Descriptor

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

func (*QueryVaultResponse) GetPrincipal

func (m *QueryVaultResponse) GetPrincipal() AccountBalance

func (*QueryVaultResponse) GetReserves

func (m *QueryVaultResponse) GetReserves() AccountBalance

func (*QueryVaultResponse) GetTotalVaultValue added in v1.0.9

func (m *QueryVaultResponse) GetTotalVaultValue() types.Coin

func (*QueryVaultResponse) GetVault

func (m *QueryVaultResponse) GetVault() VaultAccount

func (*QueryVaultResponse) Marshal

func (m *QueryVaultResponse) Marshal() (dAtA []byte, err error)

func (*QueryVaultResponse) MarshalTo

func (m *QueryVaultResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryVaultResponse) MarshalToSizedBuffer

func (m *QueryVaultResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryVaultResponse) ProtoMessage

func (*QueryVaultResponse) ProtoMessage()

func (*QueryVaultResponse) Reset

func (m *QueryVaultResponse) Reset()

func (*QueryVaultResponse) Size

func (m *QueryVaultResponse) Size() (n int)

func (*QueryVaultResponse) String

func (m *QueryVaultResponse) String() string

func (*QueryVaultResponse) Unmarshal

func (m *QueryVaultResponse) Unmarshal(dAtA []byte) error

func (*QueryVaultResponse) XXX_DiscardUnknown

func (m *QueryVaultResponse) XXX_DiscardUnknown()

func (*QueryVaultResponse) XXX_Marshal

func (m *QueryVaultResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryVaultResponse) XXX_Merge

func (m *QueryVaultResponse) XXX_Merge(src proto.Message)

func (*QueryVaultResponse) XXX_Size

func (m *QueryVaultResponse) XXX_Size() int

func (*QueryVaultResponse) XXX_Unmarshal

func (m *QueryVaultResponse) XXX_Unmarshal(b []byte) error

type QueryVaultsRequest

type QueryVaultsRequest struct {
	// pagination defines an optional pagination for the request.
	Pagination *query.PageRequest `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

QueryVaultsRequest is the request message for the Query/Vaults endpoint.

func (*QueryVaultsRequest) Descriptor

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

func (*QueryVaultsRequest) GetPagination

func (m *QueryVaultsRequest) GetPagination() *query.PageRequest

func (*QueryVaultsRequest) Marshal

func (m *QueryVaultsRequest) Marshal() (dAtA []byte, err error)

func (*QueryVaultsRequest) MarshalTo

func (m *QueryVaultsRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryVaultsRequest) MarshalToSizedBuffer

func (m *QueryVaultsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryVaultsRequest) ProtoMessage

func (*QueryVaultsRequest) ProtoMessage()

func (*QueryVaultsRequest) Reset

func (m *QueryVaultsRequest) Reset()

func (*QueryVaultsRequest) Size

func (m *QueryVaultsRequest) Size() (n int)

func (*QueryVaultsRequest) String

func (m *QueryVaultsRequest) String() string

func (*QueryVaultsRequest) Unmarshal

func (m *QueryVaultsRequest) Unmarshal(dAtA []byte) error

func (*QueryVaultsRequest) XXX_DiscardUnknown

func (m *QueryVaultsRequest) XXX_DiscardUnknown()

func (*QueryVaultsRequest) XXX_Marshal

func (m *QueryVaultsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryVaultsRequest) XXX_Merge

func (m *QueryVaultsRequest) XXX_Merge(src proto.Message)

func (*QueryVaultsRequest) XXX_Size

func (m *QueryVaultsRequest) XXX_Size() int

func (*QueryVaultsRequest) XXX_Unmarshal

func (m *QueryVaultsRequest) XXX_Unmarshal(b []byte) error

type QueryVaultsResponse

type QueryVaultsResponse struct {
	// vaults is a list of all vaults.
	Vaults []VaultAccount `protobuf:"bytes,1,rep,name=vaults,proto3" json:"vaults"`
	// pagination defines the pagination in the response.
	Pagination *query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

QueryVaultsResponse is the response message for the Query/Vaults endpoint.

func (*QueryVaultsResponse) Descriptor

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

func (*QueryVaultsResponse) GetPagination

func (m *QueryVaultsResponse) GetPagination() *query.PageResponse

func (*QueryVaultsResponse) GetVaults

func (m *QueryVaultsResponse) GetVaults() []VaultAccount

func (*QueryVaultsResponse) Marshal

func (m *QueryVaultsResponse) Marshal() (dAtA []byte, err error)

func (*QueryVaultsResponse) MarshalTo

func (m *QueryVaultsResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryVaultsResponse) MarshalToSizedBuffer

func (m *QueryVaultsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryVaultsResponse) ProtoMessage

func (*QueryVaultsResponse) ProtoMessage()

func (*QueryVaultsResponse) Reset

func (m *QueryVaultsResponse) Reset()

func (*QueryVaultsResponse) Size

func (m *QueryVaultsResponse) Size() (n int)

func (*QueryVaultsResponse) String

func (m *QueryVaultsResponse) String() string

func (*QueryVaultsResponse) Unmarshal

func (m *QueryVaultsResponse) Unmarshal(dAtA []byte) error

func (*QueryVaultsResponse) XXX_DiscardUnknown

func (m *QueryVaultsResponse) XXX_DiscardUnknown()

func (*QueryVaultsResponse) XXX_Marshal

func (m *QueryVaultsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryVaultsResponse) XXX_Merge

func (m *QueryVaultsResponse) XXX_Merge(src proto.Message)

func (*QueryVaultsResponse) XXX_Size

func (m *QueryVaultsResponse) XXX_Size() int

func (*QueryVaultsResponse) XXX_Unmarshal

func (m *QueryVaultsResponse) XXX_Unmarshal(b []byte) error

type QueueEntry

type QueueEntry struct {
	// time is the UNIX timestamp (in seconds) when the entry becomes eligible.
	Time uint64 `protobuf:"varint,1,opt,name=time,proto3" json:"time,omitempty"`
	// addr is the bech32 vault address associated with the entry.
	Addr string `protobuf:"bytes,2,opt,name=addr,proto3" json:"addr,omitempty"`
}

QueueEntry is a (time, addr) pair used by the vault payout deferral queue.

func (*QueueEntry) Descriptor

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

func (*QueueEntry) GetAddr

func (m *QueueEntry) GetAddr() string

func (*QueueEntry) GetTime

func (m *QueueEntry) GetTime() uint64

func (*QueueEntry) Marshal

func (m *QueueEntry) Marshal() (dAtA []byte, err error)

func (*QueueEntry) MarshalTo

func (m *QueueEntry) MarshalTo(dAtA []byte) (int, error)

func (*QueueEntry) MarshalToSizedBuffer

func (m *QueueEntry) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueueEntry) ProtoMessage

func (*QueueEntry) ProtoMessage()

func (*QueueEntry) Reset

func (m *QueueEntry) Reset()

func (*QueueEntry) Size

func (m *QueueEntry) Size() (n int)

func (*QueueEntry) String

func (m *QueueEntry) String() string

func (*QueueEntry) Unmarshal

func (m *QueueEntry) Unmarshal(dAtA []byte) error

func (*QueueEntry) XXX_DiscardUnknown

func (m *QueueEntry) XXX_DiscardUnknown()

func (*QueueEntry) XXX_Marshal

func (m *QueueEntry) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueueEntry) XXX_Merge

func (m *QueueEntry) XXX_Merge(src proto.Message)

func (*QueueEntry) XXX_Size

func (m *QueueEntry) XXX_Size() int

func (*QueueEntry) XXX_Unmarshal

func (m *QueueEntry) XXX_Unmarshal(b []byte) error

type UnimplementedMsgServer

type UnimplementedMsgServer struct {
}

UnimplementedMsgServer can be embedded to have forward compatible implementations.

func (*UnimplementedMsgServer) BridgeBurnShares

func (*UnimplementedMsgServer) BridgeMintShares

func (*UnimplementedMsgServer) CreateVault

func (*UnimplementedMsgServer) DepositInterestFunds

func (*UnimplementedMsgServer) DepositPrincipalFunds

func (*UnimplementedMsgServer) PauseVault

func (*UnimplementedMsgServer) SetAssetManager added in v1.0.7

func (*UnimplementedMsgServer) SetBridgeAddress

func (*UnimplementedMsgServer) SetShareDenomMetadata added in v1.0.11

func (*UnimplementedMsgServer) SwapIn

func (*UnimplementedMsgServer) SwapOut

func (*UnimplementedMsgServer) ToggleBridge

func (*UnimplementedMsgServer) ToggleSwapIn

func (*UnimplementedMsgServer) ToggleSwapOut

func (*UnimplementedMsgServer) UnpauseVault

func (*UnimplementedMsgServer) UpdateInterestRate

func (*UnimplementedMsgServer) UpdateMaxInterestRate

func (*UnimplementedMsgServer) UpdateMinInterestRate

func (*UnimplementedMsgServer) WithdrawInterestFunds

type UnimplementedQueryServer

type UnimplementedQueryServer struct {
}

UnimplementedQueryServer can be embedded to have forward compatible implementations.

func (*UnimplementedQueryServer) EstimateSwapIn

func (*UnimplementedQueryServer) EstimateSwapOut

func (*UnimplementedQueryServer) PendingSwapOuts

func (*UnimplementedQueryServer) Vault

func (*UnimplementedQueryServer) VaultPendingSwapOuts added in v1.0.7

func (*UnimplementedQueryServer) Vaults

type VaultAccount

type VaultAccount struct {
	// base_account cosmos account information including address and coin holdings.
	*types.BaseAccount `protobuf:"bytes,1,opt,name=base_account,json=baseAccount,proto3,embedded=base_account" json:"base_account,omitempty"`
	// total_shares is the total number of shares that have ever been issued by the vault.
	// It serves as the canonical supply-of-record for all shares, regardless of whether
	// they are held locally on Provenance or externally (e.g., bridged).
	TotalShares types1.Coin `protobuf:"bytes,2,opt,name=total_shares,json=totalShares,proto3" json:"total_shares"`
	// 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 types1.Coin `protobuf:"bytes,16,opt,name=paused_balance,json=pausedBalance,proto3" json:"paused_balance"`
	// paused_reason is a human-readable string explaining why the vault was paused, particularly for automatic pauses.
	PausedReason string `protobuf:"bytes,17,opt,name=paused_reason,json=pausedReason,proto3" json:"paused_reason,omitempty"`
	// bridge_address is the single external address allowed to mint or burn shares on behalf
	// of this vault (e.g., for bridging to another chain). All mint/burn must flow through the
	// vault keeper, which enforces that marker supply never exceeds total_shares.
	BridgeAddress string `protobuf:"bytes,18,opt,name=bridge_address,json=bridgeAddress,proto3" json:"bridge_address,omitempty"`
	// bridge_enabled indicates whether the bridge functionality is active. If false, the
	// bridge_address has no effect and cannot mint or burn.
	BridgeEnabled bool `protobuf:"varint,19,opt,name=bridge_enabled,json=bridgeEnabled,proto3" json:"bridge_enabled,omitempty"`
	// asset_manager is an optional address that, when set, is authorized to manage certain
	// collateral operations alongside the admin (e.g., pausing/unpausing, depositing/withdrawing
	// principal or interest funds). If unset (empty string), only the admin may perform those actions.
	AssetManager string `protobuf:"bytes,20,opt,name=asset_manager,json=assetManager,proto3" json:"asset_manager,omitempty"`
}

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 NewVaultAccount

func NewVaultAccount(baseAcc *authtypes.BaseAccount, admin, shareDenom, underlyingAsset, paymentDenom string, withdrawalDelay uint64) *VaultAccount

NewVaultAccount creates a new vault with an optional payment denom allowed for I/O alongside the underlying asset.

func (*VaultAccount) AcceptedDenoms

func (v *VaultAccount) AcceptedDenoms() []string

AcceptedDenoms returns the list of coin denoms accepted for I/O. Always includes the underlying asset; includes payment_denom only if set and distinct.

func (VaultAccount) Clone

func (v VaultAccount) Clone() *VaultAccount

Clone makes a MarkerAccount instance copy.

func (*VaultAccount) Descriptor

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

func (*VaultAccount) GetAdmin

func (m *VaultAccount) GetAdmin() string

func (*VaultAccount) GetAssetManager added in v1.0.7

func (m *VaultAccount) GetAssetManager() string

func (*VaultAccount) GetBridgeAddress

func (m *VaultAccount) GetBridgeAddress() string

func (*VaultAccount) GetBridgeEnabled

func (m *VaultAccount) GetBridgeEnabled() bool

func (*VaultAccount) GetCurrentInterestRate

func (m *VaultAccount) GetCurrentInterestRate() string

func (*VaultAccount) GetDesiredInterestRate

func (m *VaultAccount) GetDesiredInterestRate() string

func (*VaultAccount) GetMaxInterestRate

func (m *VaultAccount) GetMaxInterestRate() string

func (*VaultAccount) GetMinInterestRate

func (m *VaultAccount) GetMinInterestRate() string

func (*VaultAccount) GetPaused

func (m *VaultAccount) GetPaused() bool

func (*VaultAccount) GetPausedBalance

func (m *VaultAccount) GetPausedBalance() types1.Coin

func (*VaultAccount) GetPausedReason

func (m *VaultAccount) GetPausedReason() string

func (*VaultAccount) GetPaymentDenom

func (m *VaultAccount) GetPaymentDenom() string

func (*VaultAccount) GetPeriodStart

func (m *VaultAccount) GetPeriodStart() int64

func (*VaultAccount) GetPeriodTimeout

func (m *VaultAccount) GetPeriodTimeout() int64

func (*VaultAccount) GetSwapInEnabled

func (m *VaultAccount) GetSwapInEnabled() bool

func (*VaultAccount) GetSwapOutEnabled

func (m *VaultAccount) GetSwapOutEnabled() bool

func (*VaultAccount) GetTotalShares

func (m *VaultAccount) GetTotalShares() types1.Coin

func (*VaultAccount) GetUnderlyingAsset

func (m *VaultAccount) GetUnderlyingAsset() string

func (*VaultAccount) GetWithdrawalDelaySeconds

func (m *VaultAccount) GetWithdrawalDelaySeconds() uint64

func (VaultAccount) InterestEnabled

func (v VaultAccount) InterestEnabled() bool

InterestEnabled returns true if the vault is currently configured to use interest.

func (*VaultAccount) IsAcceptedDenom

func (v *VaultAccount) IsAcceptedDenom(denom string) bool

IsAcceptedDenom reports whether denom is allowed by the vault configuration.

func (*VaultAccount) IsInterestRateInRange

func (v *VaultAccount) IsInterestRateInRange(rate sdkmath.LegacyDec) (bool, error)

IsInterestRateInRange returns true if the given rate is within the configured min/max bounds.

func (*VaultAccount) Marshal

func (m *VaultAccount) Marshal() (dAtA []byte, err error)

func (*VaultAccount) MarshalTo

func (m *VaultAccount) MarshalTo(dAtA []byte) (int, error)

func (*VaultAccount) MarshalToSizedBuffer

func (m *VaultAccount) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (VaultAccount) PrincipalMarkerAddress

func (v VaultAccount) PrincipalMarkerAddress() sdk.AccAddress

PrincipalMarkerAddress returns the share-denom marker address that holds the vault’s principal (i.e., the marker account backing the vault’s shares).

func (*VaultAccount) ProtoMessage

func (*VaultAccount) ProtoMessage()

func (*VaultAccount) Reset

func (m *VaultAccount) Reset()

func (*VaultAccount) Size

func (m *VaultAccount) Size() (n int)

func (*VaultAccount) String

func (m *VaultAccount) String() string

func (*VaultAccount) Unmarshal

func (m *VaultAccount) Unmarshal(dAtA []byte) error

func (VaultAccount) Validate

func (v VaultAccount) Validate() error

Validate performs a series of checks to ensure the VaultAccount is correctly configured.

func (*VaultAccount) ValidateAcceptedCoin

func (v *VaultAccount) ValidateAcceptedCoin(c sdk.Coin) error

ValidateAcceptedCoin returns an error if the coin amount is zero or its denom is not supported.

func (*VaultAccount) ValidateAcceptedDenom

func (v *VaultAccount) ValidateAcceptedDenom(denom string) error

ValidateAcceptedDenom returns an error if denom is not supported by the vault.

func (*VaultAccount) ValidateAdmin

func (v *VaultAccount) ValidateAdmin(admin string) error

func (VaultAccount) ValidateManagementAuthority added in v1.0.7

func (v VaultAccount) ValidateManagementAuthority(authority string) error

ValidateManagementAuthority checks whether the given address is authorized to perform vault management actions. Either the vault admin or the asset manager (if set) is allowed.

func (*VaultAccount) ValuationDenom

func (v *VaultAccount) ValuationDenom() string

func (*VaultAccount) XXX_DiscardUnknown

func (m *VaultAccount) XXX_DiscardUnknown()

func (*VaultAccount) XXX_Marshal

func (m *VaultAccount) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*VaultAccount) XXX_Merge

func (m *VaultAccount) XXX_Merge(src proto.Message)

func (*VaultAccount) XXX_Size

func (m *VaultAccount) XXX_Size() int

func (*VaultAccount) XXX_Unmarshal

func (m *VaultAccount) XXX_Unmarshal(b []byte) error

type VaultAccountI

type VaultAccountI interface {
	// proto.Message ensures the vault can be marshaled using protobuf.
	proto.Message

	// sdk.AccountI provides standard Cosmos SDK account behavior.
	sdk.AccountI

	// Clone returns a deep copy of the underlying VaultAccount implementation.
	// The returned value shares no state with the receiver.
	Clone() *VaultAccount

	// Validate performs stateless validation of the vault's fields and invariants.
	// It should return an error if any field is malformed or inconsistent.
	Validate() error

	// GetAdmin returns the bech32-encoded address string of the vault administrator.
	GetAdmin() string
	// GetTotalShares returns the total shares issued by the vault.
	GetTotalShares() sdk.Coin

	// GetUnderlyingAsset returns the denom of the asset the vault actually holds.
	GetUnderlyingAsset() string

	// GetPaymentDenom returns the denom used for fees/interest payments, if any.
	GetPaymentDenom() string

	// GetWithdrawalDelaySeconds returns the number of seconds that
	// withdrawals from this vault are delayed after a swap-out request.
	// A value of 0 means withdrawals are processed immediately in the end blocker.
	GetWithdrawalDelaySeconds() uint64

	// GetPaused reports whether the vault is currently paused.
	// A paused vault disables user operations such as swaps or reconciles.
	GetPaused() bool

	// GetPausedBalance returns the balance snapshot held when the vault
	// was paused. This is used to track the reserves or assets that are
	// locked during the pause state.
	GetPausedBalance() sdk.Coin
}

VaultAccountI defines the interface for a Vault account.

Jump to

Keyboard shortcuts

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