Documentation ¶
Index ¶
- func NewMsgServerImpl(keeper types.SendingKeeper) types.MsgServer
- type Keeper
- func (k Keeper) GenerateDepositEvent(deposit *types.MsgDepositToSubaccount) *indexerevents.TransferEventV1
- func (k Keeper) GenerateTransferEvent(transfer *types.Transfer) *indexerevents.TransferEventV1
- func (k Keeper) GenerateWithdrawEvent(withdraw *types.MsgWithdrawFromSubaccount) *indexerevents.TransferEventV1
- func (k Keeper) GetIndexerEventManager() indexer_manager.IndexerEventManager
- func (k Keeper) HasAuthority(authority string) bool
- func (k Keeper) InitializeForGenesis(ctx sdk.Context)
- func (k Keeper) Logger(ctx sdk.Context) log.Logger
- func (k Keeper) ProcessDepositToSubaccount(ctx sdk.Context, msgDepositToSubaccount *types.MsgDepositToSubaccount) (err error)
- func (k Keeper) ProcessTransfer(ctx sdk.Context, pendingTransfer *types.Transfer) (err error)
- func (k Keeper) ProcessWithdrawFromSubaccount(ctx sdk.Context, msgWithdrawFromSubaccount *types.MsgWithdrawFromSubaccount) (err error)
- func (k Keeper) SendFromModuleToAccount(ctx sdk.Context, msg *types.MsgSendFromModuleToAccount) (err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewMsgServerImpl ¶
func NewMsgServerImpl(keeper types.SendingKeeper) types.MsgServer
NewMsgServerImpl returns an implementation of the MsgServer interface for the provided Keeper.
Types ¶
type Keeper ¶
type Keeper struct {
// contains filtered or unexported fields
}
func NewKeeper ¶
func NewKeeper( cdc codec.BinaryCodec, storeKey storetypes.StoreKey, accountKeeper types.AccountKeeper, bankKeeper types.BankKeeper, subaccountsKeeper types.SubaccountsKeeper, indexerEventManager indexer_manager.IndexerEventManager, authorities []string, ) *Keeper
func (Keeper) GenerateDepositEvent ¶
func (k Keeper) GenerateDepositEvent(deposit *types.MsgDepositToSubaccount) *indexerevents.TransferEventV1
GenerateDepositEvent takes in a deposit and returns a deposit event.
func (Keeper) GenerateTransferEvent ¶
func (k Keeper) GenerateTransferEvent(transfer *types.Transfer) *indexerevents.TransferEventV1
GenerateTransferEvent takes in a transfer and returns a transfer event.
func (Keeper) GenerateWithdrawEvent ¶
func (k Keeper) GenerateWithdrawEvent(withdraw *types.MsgWithdrawFromSubaccount) *indexerevents.TransferEventV1
GenerateWithdrawEvent takes in a withdrawal and returns a withdraw event.
func (Keeper) GetIndexerEventManager ¶
func (k Keeper) GetIndexerEventManager() indexer_manager.IndexerEventManager
func (Keeper) HasAuthority ¶ added in v0.3.0
func (Keeper) InitializeForGenesis ¶
func (Keeper) ProcessDepositToSubaccount ¶
func (k Keeper) ProcessDepositToSubaccount( ctx sdk.Context, msgDepositToSubaccount *types.MsgDepositToSubaccount, ) (err error)
ProcessDepositToSubaccount transfers quote balance from an account to a subaccount.
func (Keeper) ProcessTransfer ¶
ProcessTransfer transfers quote balance between two subaccounts.
func (Keeper) ProcessWithdrawFromSubaccount ¶
func (k Keeper) ProcessWithdrawFromSubaccount( ctx sdk.Context, msgWithdrawFromSubaccount *types.MsgWithdrawFromSubaccount, ) (err error)
ProcessWithdrawFromSubaccount transfers quote balance from a subaccount to an account.
func (Keeper) SendFromModuleToAccount ¶ added in v0.3.0
Click to show internal directories.
Click to hide internal directories.