shield.euler.*, which wraps Euler Earn. For Euler Vault Kit base lending vault governor actions such as setLTV, setCaps, and setInterestRateModel, use the Euler Guide.
Install Packages
Attach the Euler Earn Overlay
Create or attach to a Shield, then extend the client witheulerActions:
shield.euler.* produces calldata from Euler Earn’s ABI and routes the call through shield.sendCall(...). The composite policy pack still owns wasmArgs; pass per-call policy inputs through prepareQueryOptions.
Grant the Shield an Euler Earn Role
Euler Earn manager actions are not end-user deposit or withdrawal flows. The Shield clone must hold a role that can call the forwarded function on the Euler Earn vault:
A Shield clone holding the curator role can also call allocator actions. Most integrations grant the clone the curator role or mark it as an allocator before executing policy-gated actions.
Reallocate
Use the typed reallocation helper for the allocator hot path:reallocate takes positional arguments: (vault, allocations, options?). Each allocation uses Euler Earn’s { id, assets } shape, where id is the market address and assets is the amount in the vault asset’s smallest unit.
Manage Queues and Caps
Allocator queue updates:Wrapped Actions
VaultKit intentionally does not wrap end-user ERC-4626
deposit, mint, withdraw, or redeem actions. Ownership transfer helpers are also omitted; use direct governance operations or the raw shield.sendCall(...) escape hatch only when your policy explicitly models that action.
Troubleshooting
Euler Guide
Gate Euler Vault Kit EVault governor actions with
shield.eulerVault.*.Reference
Review the generic
sendCall API and expected error types.