/permit2:permit2-typesfrom permit2
TypeScript type references for Permit2 SDK. Use when writing TypeScript code with Permit2.
Ships in permit2. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Reference types from @uniswap/permit2-sdk.
import { SignatureTransfer } from '@uniswap/permit2-sdk'
interface PermitTransferFrom {
permitted: {
token: string
amount: bigint
}
spender: string
nonce: bigint
deadline: bigint
}
interface Witness {
witness: any
witnessTypeName: string
witnessType: Record<string, TypedDataField[]>
}
interface PermitTransferFromData {
domain: {
name: 'Permit2'
chainId: number
verifyingContract: string
}
types: Record<string, TypedDataField[]>
values: PermitTransferFrom
}
import { AllowanceTransfer } from '@uniswap/permit2-sdk'
interface PermitSingle {
details: {
token: string
amount: bigint
expiration: bigint
nonce: bigint
}
spender: string
sigDeadline: bigint
}
import { PERMIT2_ADDRESS, MaxUint48, MaxUint160, MaxUint256 } from '@uniswap/permit2-sdk'
// Canonical address (same on all chains)
PERMIT2_ADDRESS // '0x000000000022D473030F116dDEE9F6B43aC78BA3'
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
permit2@cyotee is listed by cyotee/cyotee-claude-plugins — review the source before installing
npx claudepluginhub cyotee/cyotee-claude-plugins --plugin permit22 plugins ship this exact skill · first indexed Jul 20, 2026
10 skills in this plugin
/permit2-addressesCanonical Permit2 contract addresses by chain. Use when configuring multi-chain support./permit2-allowance-flowComplete approval flow with reset-to-zero pattern. Use when implementing full ERC20 and Permit2 approval workflow./permit2-allowance-transferUses AllowanceTransfer for persistent token approvals. Use when user grants recurring spend authority to the protocol./permit2-nonce-managementBitmap nonce patterns for Permit2 signature replay protection. Use when generating nonces for SignatureTransfer permits.