Heirloom architecture: one loop, three chains
Heirloom's loop across three chains. 1: the owner's allowlisted token transfers on Ethereum Sepolia and Base Sepolia are subscribed logs; a stranger's $0 transfer is refused (example transactions from the demo and long-t instances). 2 to 4: on Reactive Lasna, HeirloomReactive.react() filters first (SpoofRefused), stamps lastSeen, times the silence on Cron ticks through the Phase values ARMED, GRACE and EXPIRED (EXPIRED makes the vault CLAIMABLE), with a Chainlink canary whose gap past maxGap freezes the clock once, and calls back to Base with requestCallbackV_1_0, held until the vault's Ack. On Base Sepolia the callback proxy calls sync(rvm, snapshot) on HeirloomVault, whose VaultState returns to ARMED on an owner action or sync(), moves to GRACE and CLAIMABLE by sync(), CLAIM_PENDING by initiateClaim and RELEASED by finalizeClaim after claimDelay; the vault emits OwnerActive and Ack back to react(). 5: the heir stub, where anyone may press either claim step and the payout goes only to the heir.
WATCHED CHAINS
REACTIVE LASNA · 5318007
BASE SEPOLIA · 84532
Transfers keep it armed.
Reactive reads the silence.
The vault pays your heir.
sync()
payout
tick
HeirloomReactive
.react()
2
Filter first
allowlist, owner, value > 0
else refused:
SpoofRefused
accepted: stamps
lastSeen
3
Time the silence
Phase
ARMED
GRACE
EXPIRED
silence past T opens grace
EXPIRED
vault
CLAIMABLE
4
Call back to Base
requestCallbackV_1_0
held until the vault's Ack
subscribe · unsubscribe
at runtime: allowlist, spam brake,
canary arming, teardown
Cron
the only clock
times silence, grace and attest
1
Your transfers
Ethereum Sepolia
0xbc2c…ac55
VISIT
Base Sepolia
0x2082…ef00
VISIT
$0 transfer
0xb476…f55f
REFUSED
allowlisted tokens only;
value > 0 counts as life
tx rows come from the
demo and long-t instances
Chainlink canary
AnswerUpdated
ETH/USD on Base Sepolia,
owner-independent:
proves the chain is heard
a gap past maxGap freezes
the clock once, capped
Callback proxy
sync(rvm, snapshot)
rvm = the reactive contract
HeirloomVault
VaultState
ARMED
owner ·
sync()
GRACE
sync()
CLAIMABLE
sync()
CLAIM_PENDING
initiateClaim
RELEASED
finalizeClaim
both guards on
sync()
emits
OwnerActive · Ack
owner can withdraw until release
5
HEIR STUB
PAID
anyone may press either step;
the payout goes only to the heir
finalizeClaim
after
claimDelay
One loop, three chains.
HEIRLOOM · ARCHITECTURE
subscribed log, delivered to react()
callback and payout
mainnet scripted, not run
TESTNET