ProxyPin logo: a pin through a verified shield

ProxyPin

A payroll agent that checks the USDC proxy before every payout.

Celo mainnet · Altana smart wallet · ERC-8004 agent #10235 · tag celo_bfbdb432be74

What it does

ProxyPin pays contractors in USDC from an Altana smart wallet on Celo mainnet. Celo USDC is an upgradeable proxy, so an unattended agent can keep paying through changed code if the implementation or admin moves after review. Before every payout ProxyPin checks, on-chain, that the pinned proxy code hash, implementation, admin, and implementation code hash still match. The live session key may call only PinCheckRouter.pay, which runs PinCheck.check(USDC) and then transferFrom in the same transaction. A direct USDC.transfer with that key is refused by the relay, and a repeated payout in the same Unix week is refused by the router.

Contractor: Telegram user @porshtohbad (outside the team). Job: review the README and send feedback, paid 2.00 USDC by the agent's session key with the pin check first (tx). Saving: if the USDC implementation, admin or code changes after review, the payout reverts and no USDC moves.

Walkthrough video

https://youtu.be/4XL05Stgfq0 (unlisted 1080p walkthrough)

Live contracts on Celo mainnet

PinCheck 0xc7612f9452ED579fBA57eD00Aefd315Ac5741B19
PinCheckRouter 0x2180Ae292B92c5a1AC6440572a4c4aAc582Db6cD
Altana wallet 0xe64FAA6682f6adeaC39323B05094CEE843Fe9718
ERC-8004 agent #10235
Attribution tag celo_bfbdb432be74 (Loops entry tag; earlier txs used celo_036f1d881df3)
Live session key 0xA04fc4A6F0267EfDF0b66cCf1d72d9957fBe04a4 (router.pay only, 3 USDC/week, expires 18 Dec 2026 18:56 WAT)

Who enforces what

Altana session The call allowlist and the weekly cap (3 USDC per Altana week) are enforced by the Altana SDK/relay session, written into the Altana account's on-chain key permissions at grant. The live key may call only PinCheckRouter.pay for ProxyPin; a direct USDC.transfer is refused by the relay.
PinCheckRouter Enforces the pin (PinCheck.check(USDC) runs inside pay before any transferFrom) and one-time settlement (a replayed payout list reverts with AlreadySettled, 0xb196a44a).

Verify without keys

Run npm ci && npm run verify in the repo. It needs no funded keys, no .env and no secrets: it reads public Celo mainnet state through forno.celo.org (with public fallbacks) and prints PASS/FAIL per check. The table below is the last recorded run (verify-report.json); every row links to its Celoscan page.

Loading the recorded verification report…

Every mainnet transaction (Celoscan)

v3 is the live session (key 0xA04fc4A6F0267EfDF0b66cCf1d72d9957fBe04a4). v1 (key 0xCa44Fb…E590) and v2 (key 0x17D02d…4586) are superseded and revoked on-chain.

Deploy PinCheck v1 0xf3e8d449d983a2723454b244878541ce741d78b7d9a18f97a88ad34c419a987d
Set USDC pin v1 0xffa28d3e4aa70fcb434395fc630ffdd5674051f311359053fb8afaceef8760bf
Deliberately mismatched USD₮ demo pin v1 0x102ec99c7c3a223f8e084e24891eab3551903bf50dada99d15c9bf134aae5cbf
v1 session grant (superseded) v1 0x3ddc9bde15ffc2ad8ccd6af0851182ac266346336e766322d32178e67e580853
ERC-8004 identity registration v1 0x9422c13a1a14a7fc8e10184d3f677b7ef4255a7713a70dbe657ed17574332a9a
Named-user payout, 2.00 USDC to @porshtohbad v1 0x330cfae7136e3a571b36fe5b4287a6a41885718b418786eaa7cd0ba51bb39594
v1 session revoke v1 0xe984c9cb2569efae325b1138e15c4b963ca1a8399c1b5ec44240b98a68d43c32
Deploy PinCheckRouter v2 0x807a48a7f50571ef22e738321c0fdf3c7a2a2fbc14fa6f67ac275e278791d3de
USDC.approve(router, 3 USDC) v2 0xed81bfd5a3dc01e1c7eb0c2053223315e7b7fae594c9336cca1867bec9a344de
Owner router.pay 0.01 USDC v2 0x459f1ff65a907f745afcdc4845655666382a328132d03cdba5584c49f35564c1
Tagged 1 CELO transfer v2 0xe1496c58d7452b2fcb4de0f8d1feecd7115b023ddc43fbd8b766ffe57b3887c0
v2 router session grant (superseded) v2 0xd002016e645f4522bd9c1cc39cdb167e01a0b7d1ed1986595c8a5b4d649e24be
v2 session router.pay 0.005 USDC v2 0x58cd8e0d9bab9b425182fdff0c625773c1f16c1b446afa62bba7419522726eb6
Owner router.pay 0.006 USDC (Loops tag) v3 0xee8d4ad4e2589eb2d5eefffd2249734ad3a12e0cce910676fb46c3032fa9418e
Tagged 0.01 CELO transfer (Loops tag) v3 0xaae36152ba19b72e640f77b974f60e952968fbae93a47b2561793263996bf911
v2 session revoke v3 0x43c3439851a9cd08e9f09e9e0ff839784d4286b6b5fab62f3d1efc0d11cf5d73
v3 session grant (live key) v3 0x5a4eb1e21e8615381080da1c50cf8103b3bccb7e0e10892235985f26e21fe970
v3 session router.pay 0.007 USDC (live key) v3 0x5cdb35e652968f301155bfefdd4ca5173e229e0fd6d25d200a91b3faf69d0cfd