Skip to main content

Proxy

The proxy utilities module provides tools for inspecting and interacting with EIP-1967 and EIP-173 proxy contracts used in CoW Protocol deployments.

Functions

implementationAddress

Retrieves the implementation contract address from an EIP-1967 proxy.

ownerAddress

Fetches the admin/owner address from an EIP-1967 proxy.

proxyInterface

Generates an ethers.js contract instance configured with the EIP-173 proxy admin interface.

Constants

EIP173_PROXY_ABI

EIP-1967 Storage Slots

EIP-1967 compliance uses standardized storage slots:

Examples

Proxy Verification

Ownership Transfer

Last modified on March 4, 2026