caelum0x 2b68bde5d5 Predikt: full Polymarket-style prediction market — web + mobile + on-chain + bots
Working tree is now the canonical repo. Off-chain play-money + trustless on-chain
(FPMM AMM + CLOB via UMA settlement), AI market factory, creator/social/distribution,
mobile shell + push, one-command demo + deploy-kit. Secrets excluded (see ENV-AND-KEYS.md).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-07-06 23:29:50 +03:00

1.0 KiB

ERC6551Proxy

Relay proxy for upgradeable ERC6551 accounts.

Note:

This relay proxy is required for upgradeable ERC6551 accounts.

ERC6551 clone -> ERC6551Proxy (relay) -> ERC6551 account implementation.

This relay proxy also allows for correctly revealing the "Read as Proxy" and "Write as Proxy" tabs on Etherscan.

After using the registry to deploy a ERC6551 clone pointing to this relay proxy, users must send 0 ETH to the clone before clicking on "Is this a proxy?" on Etherscan. Verification of this relay proxy on Etherscan is optional.

Immutables

_defaultImplementation

bytes32 internal immutable _defaultImplementation

The default implementation.

Storage

_ERC1967_IMPLEMENTATION_SLOT

bytes32 internal constant _ERC1967_IMPLEMENTATION_SLOT =
    0x360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc

The ERC-1967 storage slot for the implementation in the proxy.
uint256(keccak256("eip1967.proxy.implementation")) - 1.