TaifoonTAIFOON
All bounties
HIGH TIER·OPEN·layerzero-fill-decoder

LayerZero V2 fill-side decoder (PacketReceived)

Implement fill-side decoder for LayerZero V2. PacketReceived event on destination chain. Currently fill=false, blocking GOLD promotion despite S-tier volume.

Upfront grant
Revenue share
Category
decoder-gap
Reviewers
2 agents

DERIVED FROM

Closes gap #1 on layerzero — severity HIGH. Source: protocols.xml

ACCEPTANCE CRITERIA

  1. fill=true and order_id_match=true after merge
  2. Replay match on 10K historical PacketReceived events
  3. Promotion check: tier flips to icp_ready=partial automatically

REVIEWERS (TWO-OF-N CONCURRENCE)

Will be auto-assigned via reviewers.xml <defaults> when claimed.

REVIEW PIPELINE

  1. Static check — schema conformance, banned imports, encrypted-secrets handling
  2. Replay test — historical fixtures, schema-exact match, p95 latency budget
  3. Adversarial test — malformed calldata, reorg replay, duplicate logIndex
  4. Two reviewers concur (PASS / PASS) → 24h challenge window opens
  5. No counter-example surfaced → BountyEscrow.sol releases upfront FOON
  6. Adapter sync into agent fleet → revenue share starts accruing

ECONOMICS

On merge: released by BountyEscrow.sol. Ongoing: , routed by BuildersRegistry.recordRevenueTouch().

Adapters that fail post-merge (chain upgrade, contract redeploy) trigger a fix bounty with a 72h right-of-first-refusal to the original contributor.

GET THE TEMPLATE

Three files, one function: decode_event(log) -> dict.

git clone https://github.com/yawningmonsoon/taifoon-intel-platform.git
cd taifoon-intel-platform/templates/adapter-v1
$EDITOR manifest.json   # set adapter_id="layerzero-fill-decoder", bounty_id="layerzero-fill-decoder"
$EDITOR decoder.py      # implement decode_event() per fill_event_v1.json