Aave V4 Position Manager

Implement Aave V4 Position Manager contracts with EIP-712 signatures and nonce handling.

Updated Nov 5, 2025
One-click install
npx skills add https://github.com/cyotee/crane --skill aave-v4-position-manager
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: Aave V4 Position Manager
Source: https://github.com/cyotee/crane/tree/main/.claude/skills/aave-v4-position-manager
Command: npx skills add https://github.com/cyotee/crane --skill aave-v4-position-manager

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill helps developers understand how to design, deploy, and reason about Aave V4 Position Manager components (Position Managers, gateway contracts like NativeTokenGateway and SignatureGateway), including their authorization model and meta-transaction behavior.

Core Features & Use Cases

  • Understand the architecture: Position Manager, Spoke, Hub, and gateways.
  • Implement authorization flows: grant/revoke position managers, EIP-712 signatures, nonce management, and access controls.
  • Reference gateway types and usage scenarios such as ETH wrapping and meta-transactions.

Quick Start

Explain how to deploy and configure the Aave V4 Position Manager in my project.

Frequently Asked Questions about Aave V4 Position Manager

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I implement Aave V4 position manager contracts in my dApp?

To implement Aave V4 position manager contracts, you need to understand the architecture involving the Spoke, Hub, and gateway components like NativeTokenGateway to handle authorization flows and meta-transactions.

What is the Aave V4 Position Manager architecture?

The Aave V4 Position Manager architecture consists of the Position Manager contract itself, alongside Spoke, Hub, and specific gateway contracts like NativeTokenGateway and SignatureGateway for managing asset routing and meta-transactions.

How do EIP-712 signatures and nonces work in Aave V4 gateways?

EIP-712 signatures and nonces in Aave V4 gateways enable secure meta-transactions by validating user authorization off-chain, while nonce management prevents replay attacks during gateway interactions with the Spoke contract.

How do I set up authorization flows for Aave V4 position managers?

Setting up authorization flows for Aave V4 position managers involves using specific authorization modifiers to grant or revoke position managers, ensuring proper access controls within your Solidity-based smart contracts.

When should I use NativeTokenGateway versus SignatureGateway in Aave V4?

Use NativeTokenGateway for ETH wrapping scenarios and SignatureGateway when you need to process meta-transactions with EIP-712 signatures. Both interact with the Spoke contract for different user operation requirements.