Watch / Allocation gate
Demo integrator, Monad testnet
A contract that reads the attestations before it moves money.
AllocationGate deposits into an ERC-4626 vault only while the registry's latest attestation of that vault passed every property, is fresh, comes from a current issuer, is about the code at that address and of a block that exists. When a newer attestation fails, is revoked or its issuer is removed, anyone can make the gate pull its money out; nobody has to hold the owner's key. It trusts the issuers of the registry, nothing more.
The gate
- Gate
- 0xEE96...0C8A
- Reads
- 0x3754...daF7 (CheckAttestationRegistry), erc4626 attestations of chain 10143
- Asset
- 0xcCDb...Dd0F sfTKN
- Owner
- 0x2C16...2106
- Suite
- any suite
- Fresh for
- 1 day after an attestation is issued; unchanged re-checks are not attested, so new money needs a new attestation after that
- Idle
- 98.2 sfTKN
- Exit gas
- 2,000,000 per vault call, 300,000 per read
- Read at
- block 69,220,687
Positions
The owner can allocate only into a vault whose verdict is Compliant. Once a vault is anything but Compliant or Stale, anyone can call exit and the gate redeems its shares; the owner can exit on any verdict. Amounts are in sfTKN.
| Vault | Verdict | Latest attestation | Shares held | In | Out | Exit |
|---|---|---|---|---|---|---|
| 0xC6dd...db47 | Not compliant | #27 valid29 pass, 1 fail, 0 inconclusive, 0 n/a; 1 day agoby 0x915a...bEA3; isCompliant false | 0 | 60 | 58.2 | nothing held |
Recent events
| Block | Event | Vault | What happened | Tx |
|---|---|---|---|---|
| 68,924,353 | Exited | 0xC6dd...db47 | 58.2 back by redeem of 60 shares; verdict not compliant, attestation #27called by 0x9ea8...E86B, not the owner | 0x8a6f69...e21747 |
| 68,922,734 | Allocated | 0xC6dd...db47 | 60 allocated for 60 shares, attestation #26 | 0xbbf1fe...a345db |