Within the framework of Native Yield Abstraction, session keys serve a role in managing user assets with precision and security. A session key is a temporally bounded authorization tool, designed to grant limited permissions for specific actions on the user’s behalf.

Defined Permissions

Session keys are made to enable essential actions while maintaining strict security. Here’s what permissions Wallchain requires to make Interest-bearing Accounts work.

Deposit

  • Purpose: Enables the initiation of deposits.
  • Permissions Scope: For each deposit strategy, the scope is to issue ERC20 allowance for target vault contract, call the deposit function on the vault, and reissue allowance back to 0 if needed.

Withdrawal

  • Purpose: Enables immediate withdrawal of funds in the event of a security concern with a connected protocol.
  • Permissions Scope: For each deposit strategy, the scope is to call withdraw function whenever needed for usability or security purposes.

Gas Fees Paid by Wallchain

Wallchain pays for deposits and withdrawal gas spends, offsetting it via yield generated.

Summary

By integrating session keys within the AA framework, Wallchain enhances user security while simultaneously enabling yield accrual.