Architecture Facets Audit Deploy
EIP-2535 Compliant · Mainnet Verified

Modular Smart Contract Architecture

Diamond Proxy pattern for unlimited upgrades, modular facets, and gas-efficient cross-chain deployments.

Read Audit Report
Deployed Diamond Contract
0x3121f0b77dd4C985554a46664F7D4DF2E0DD0000
Network
EVM Chains
Compiler
Solidity v0.8.36
Status
✓ Verified
EIP-2535 · Core Proxy

Diamond Architecture

EIP-2535 compliant proxy pattern with modular facets, namespaced storage, and secure delegatecall routing.

Diamond Proxy

Main entry point that delegates all calls to facets via secure delegatecall. Maintains shared state across all facets.

0x3121...D0000

DiamondCut Facet

Owner-only upgrade mechanism. Add, replace, or remove facets atomically with initialization support.

Owner Only Atomic

DiamondLoupe

On-chain introspection. Query facets, function selectors, and facet addresses directly from the contract.

View Functions EIP-2535

Ownership Facet

Two-step ownership transfer (Ownable2Step) preventing accidental bricking of the contract.

2-Step Secure

Withdraw Facet

Owner-only ETH/ERC20 rescue with reentrancy protection and safe transfer patterns.

Reentrancy Guard Safe ERC20

Permit Facet

EIP-2612 permit + delegatecall forwarder. One signature approves and executes a facet call, with an owner-controlled selector allowlist.

Gasless Approval Selector Allowlist

CREATE3 Factory

Deterministic cross-chain deployment with namespace-isolated salts for consistent addresses.

Cross-Chain Deterministic
Zero Findings · Verified

Security Audit Results

Independent third-party review by professional security auditors. Zero vulnerabilities found.

0
Critical
0
High
0
Medium
0
Low

Audit Methodology

Manual Code Review
Line-by-line analysis of all Solidity files
EIP-2535 Compliance
Verified against Diamond standard specification
Bytecode Verification
Deployed bytecode matched against source
Security Patterns
Access control, reentrancy, storage layout
On-Chain Introspection

Facet Explorer

Interactive view of the Diamond's registered facets and their function selectors.

Function Selectors

diamondCut 0x1f931c1c
diamondCut(bytes[],...) IDiamondCut

Security Checks

Owner-only access enforced
Facet code existence verified
Duplicate selector prevention

Loupe Functions

facetAddresses()
facetFunctionSelectors(address)
facetAddress(bytes4)
facetAddresses() returns (address[])

Interface IDs

IDiamondLoupe 0x48e2b093 ✓
IDiamondCut 0x1f931c1c ✓
IERC173 0x7f5828d0 ✓

Ownership Functions

owner() view
transferOwnership(address)
acceptOwnership()

Two-Step Transfer

1
Current Owner
0x4457...47836
2
Pending Owner
Must accept to complete

Withdraw Functions

withdrawETH(address)
withdrawERC20(address,address,uint256)
emergencyWithdraw() owner only

Safety Features

ReentrancyGuard modifier
SafeTransferLib for tokens
Zero-address validation

Permit Functions

permitExecute(token,amount,deadline,v,r,s,facetCalldata)
setSelectorAllowed(bytes4,bool) owner only
isSelectorAllowed(bytes4) returns (bool)

Safety Features

Owner-controlled selector allowlist
Delegatecall preserves msg.sender
Shares global reentrancy lock

Swap Facet

On-chain token swap module, coming soon to the Diamond. Will register under the same DiamondCut upgrade path shown above.

Bridge Facet

Cross-chain bridging module, coming soon. Will leverage the deterministic CREATE3 addresses for consistent deployment across chains.

Trading AI Facet

Automated trading strategy module, coming soon. Details on scope and controls will be published before launch.

CREATE3 · Multi-Chain

Deployment Verification

Verified on-chain deployment with constructor arguments and bytecode matching.

Contract Details

Address 0x3121...D0000
Network EVM Chains
Compiler v0.8.36+commit.8a079791
Optimization 200 runs
EVM Version Cancun

Bytecode Verification

Constructor (2 address args, payable)
Fallback (delegatecall pattern)
All 16 custom errors present
Events: DiamondCut, EthReceived, Ownership
Interface IDs verified