ERC-4626 vaults routing stablecoin deposits into yield sources on Gnosis, Base and Ethereum.
| Version | Chain | Asset | Yield source |
|---|---|---|---|
| V1 | Gnosis Chain | EURe (Monerium) | AAVE v3 |
| V2 | Base Mainnet, Ethereum Mainnet | EURC (Circle) | Byzantine Finance VaultV2 (Morpho-backed) |
Each version ships two vault instances — Standard and Premium:
| Standard | Premium | |
|---|---|---|
| AUM fee | 0.5% / year | 0.5% / year |
| User yield cap | 3.5% / year | 5% / year |
| Access | Open | Backend-granted, time-limited grantPremiumAccess() (V2) / Backend-signed EIP-712 (V1) |
| Vault | Address | Cap |
|---|---|---|
| Vault A (Premium) | 0xFf8ed721E257aE96d9085DDe22a98d8C88093618 |
5% / year |
| Vault B (Standard) | 0xD895Df1594F1520a3e531ae78458f6618649493C |
3.5% / year |
- Byzantine vault:
0x061b3aff8e21a9d194ce43cEfc20A0eFf122Ec69 - Treasury:
0x3469682e65faFc2d2fAE93f528230B899B183a84
Not yet deployed. Deployment script: script/DeployEthereumV2.s.sol (EURC 0x1aBaEA1f7C830bD89Acc67eC4af516284b1bC33c). The vault address must be whitelisted by Byzantine on its Ethereum gates before deposits go live.
Deployed. Addresses managed internally.
V1 — Security audit completed.
PaktolVault.sol (V1) was reviewed by an external security auditor. All findings have been resolved:
| Finding | Severity | Status |
|---|---|---|
| F-03 — aToken/asset consistency check in constructor | P1 | ✅ Fixed |
| F-09 — 4-hour withdrawal cooldown (harvest sandwich) | P0 | ✅ Fixed |
F-10 — _idleBalance excludes donations from totalAssets() |
P1 | ✅ Fixed |
F-11 — emergencyExitAave() atomic auto-pause |
P1 | ✅ Fixed |
F-13 — depositWithPermit() nonce guard |
P1 | ✅ Fixed |
| F-16 — ERC-4626 compliance | P1 | ✅ Fixed |
F-18 — lastTotalAssets preserved across deposit/withdraw |
P1 | ✅ Fixed |
F-19 — depositUpToCap() eliminates TVL-cap griefing |
P1 | ✅ Fixed |
F-20 — lastHarvestTimestamp not advanced on no-yield harvest |
P1 | ✅ Fixed |
F-21 — feeBps constructor bound tightened to FLOOR_BPS |
P2 | ✅ Fixed |
F-22 — emergencyExitAave() uses type(uint256).max |
P2 | ✅ Fixed |
| F-06, F-17, F-23, F-26, F-27 | P2 | ✅ Fixed |
V2 — Security audit completed.
PaktolVaultV2.sol (V2) was audited by Crypto4All (final report, 26/08/2026). Score: 77.3 / 100 before remediation → 100 / 100 after. Final validated commit: 545cd06.
| Finding | Severity | Status |
|---|---|---|
F-04 — byzantineRealLiquidity() separates real liquidity from convertToAssets valuation |
Medium (P1) | ✅ Fixed (5f885c3) |
| F-02 — Dead points-based premium gating removed (access authorized off-chain) | Medium (P1) | ✅ Fixed (86aba83) |
F-03 — Idle balance tracked so donations no longer inflate totalAssets() |
Medium (P2) | ✅ Fixed (d2abeda) |
F-05 — harvest() fee shares mint capped at 99% of totalSupply |
Low (P2) | ✅ Fixed (10fab7a) |
| F-01 — Dust transfers can no longer grief an existing cooldown | Low (P1) | ✅ Fixed (97cd595) |
F-06 — depositUpToCap() returns (0,0) instead of reverting on dust |
Low (P3) | ✅ Fixed (dd59bf2) |
F-08 — redeployToByzantine() for post-emergency resumption |
Info (P3) | ✅ Fixed (f592ebd) |
F-07 — rescueToken() for accidentally sent ERC20s |
Info (P3) | ✅ Fixed (a9e2a22) |
- Solidity 0.8.24 — OpenZeppelin, AAVE v3 (V1), Byzantine Finance (V2)
- Foundry — unit + fork tests
- Hardhat — business scenario tests (JS)
# Foundry (unit tests, no fork)
forge build
forge test --no-match-path "*/fork*"
# Fork tests — V1 (requires Gnosis archive node)
GNOSIS_RPC_URL=https://... forge test --match-contract PaktolVaultForkTest
# Fork tests — V2 (requires Base mainnet RPC)
forge test --match-contract PaktolVaultV2ForkBase --fork-url https://mainnet.base.org
# Fork tests — V2 (requires Ethereum mainnet RPC)
forge test --match-contract PaktolVaultV2ForkEthereum --fork-url https://ethereum-rpc.publicnode.com
# Hardhat (V1 business scenarios)
npm install
npm testcp .env.example .env # fill in keys + addresses
# V1 — Gnosis Chain
forge script script/Deploy.s.sol --rpc-url $GNOSIS_RPC_URL --broadcast --verify
# V1 — Sepolia (MockAavePool)
forge script script/DeploySepolia.s.sol --rpc-url $SEPOLIA_RPC_URL --broadcast
# V2 — Base Mainnet
forge script script/DeployBaseV2.s.sol --rpc-url $BASE_RPC_URL --broadcast --verify
# V2 — Ethereum Mainnet
forge script script/DeployEthereumV2.s.sol:DeployEthereumV2 --rpc-url $ETHEREUM_RPC_URL --broadcast --verify
# V2 — Sepolia
forge script script/DeploySepoliaV2.s.sol --rpc-url $SEPOLIA_RPC_URL --broadcastsrc/
PaktolVault.sol — V1: EURe → AAVE v3 (Gnosis)
PaktolVaultV2.sol — V2: EURC → Byzantine Finance (Base, Ethereum)
interfaces/
IAavePool.sol
test/
PaktolVault.t.sol — V1 unit tests
PaktolVault.erc4626.t.sol — V1 a16z ERC-4626 compliance suite
PaktolVault.fork.t.sol — V1 fork tests (Gnosis mainnet)
PaktolVault.scenarios.js — V1 Hardhat business scenarios
PaktolVaultV2.admin.t.sol — V2 admin / role tests
PaktolVaultV2.constructor.t.sol
PaktolVaultV2.deposit.t.sol
PaktolVaultV2.erc4626.t.sol — V2 a16z ERC-4626 compliance suite
PaktolVaultV2.emergency.t.sol
PaktolVaultV2.harvest.t.sol
PaktolVaultV2.multiuser.t.sol
PaktolVaultV2.permit.t.sol
PaktolVaultV2.points.t.sol — V2 premium access (grantPremiumAccess / expiry)
PaktolVaultV2.security.t.sol — V2 security / adversarial tests
PaktolVaultV2.treasury.t.sol
PaktolVaultV2Base.t.sol — V2 base setup helpers
PaktolVaultV2ForkBase.t.sol — V2 fork tests (Base mainnet)
PaktolVaultV2ForkEthereum.t.sol — V2 fork tests (Ethereum mainnet)
mocks/
script/
Deploy.s.sol — V1 Gnosis mainnet
DeploySepolia.s.sol — V1 Sepolia testnet
DeployBaseV2.s.sol — V2 Base mainnet
DeployEthereumV2.s.sol — V2 Ethereum mainnet
DeploySepoliaV2.s.sol — V2 Sepolia testnet