IMD POOL4active
Routes contributions into POOL4 with CappedBurn semantics. The cap is enforced on the destination; the receipt reports the amount actually burned.
imd.pool4.v1v1.0.0Ethereumby IMD
Executions · 7d27
Success rate92.3%
Median latency41.1s
Calling apps1
Interface
CONTRIBUTE
35–50s to receiptContribute to POOL4 on behalf of the calling app.
Inputs
| amount | decimal string | Amount in IMD. |
| beneficiary | bytes32 | Solana account credited in the receipt. |
Outputs
| position | uint256 | Resulting POOL4 position. |
example payload
{
"amount": "250",
"beneficiary": "IMDhK8vP2mQ7xR4tN9wLc3sF6yJ1aB5dE8gZuHo7kP2"
}CAPPED_BURN
35–50s to receiptBurn up to a cap. Burns min(amount, remaining cap) and reports the difference.
Inputs
| amount | decimal string | Requested burn in IMD. |
| cap | decimal string | Hard cap for this call. |
Outputs
| burned | decimal string | Amount actually burned. |
example payload
{
"amount": "500",
"cap": "400"
}Usage
@wormhook/sdkimd-contribute.ts
import { WormHookClient } from "@wormhook/sdk";
const client = new WormHookClient({ network: "devnet", appId: YOUR_APP_ID });
const call = await client.prepareCall({
hookId: "imd.pool4.v1",
action: "CONTRIBUTE",
payload: {
"amount": "250",
"beneficiary": "IMDhK8vP2mQ7xR4tN9wLc3sF6yJ1aB5dE8gZuHo7kP2"
},
maxSpend: "2000", // ≤ per-call cap (2000 IMD)
ttl: 900,
});
const execution = await client.simulate(call);
const receipt = await execution.waitForReceipt();Registration
- hook id
- imd.pool4.v1
- version
- 1.0.0
- destination
- Ethereum
- permissions
- Allowlist
- spend cap
- 2000 IMD / call
- author
- IMD0x35167b…3957
Routes
- Solana→Ethereumenabled
- Wormhole 1 → 2 · receipt returns on the same route
Adapter
- kind
- POOL4
- contract
- POOL4Adapter0xe864ac…8518
IWormHookAdapter.solconceptual
// Conceptual: final interface is defined in phase 2 (CORE_TECH_PLAN.md §Adapters)
interface IWormHookAdapter {
function execute(
bytes32 callId,
bytes calldata payload
) external returns (bytes memory output);
}Source & audit
- repository
- github.com/imd/wormhook-adapters (placeholder)
- commit
- a4c91e0
- audit
- audit planned
Risk notes
- Moves value on the destination chain. Spend caps are enforced at the gateway and the adapter.
- CappedBurn compatibility depends on the POOL4 contract version deployed. Pinned in phase 2.
Versions
- 1.0.0current2026-09-10Initial registration.
Allowlisted apps
Execution history
latest 10| Status | Call ID | Hook | Route | Created | Latency | Receipt |
|---|---|---|---|---|---|---|
| Returning | 0xc83719…dbee#17595 | imd.pool4.v1CONTRIBUTE | SOL→ETH | 31s ago | in flight | pending |
| Failed | 0xc2b6ac…1fa0#17467 | imd.pool4.v1CAPPED_BURN | SOL→ETH | 44m ago | 43.4s | failed |
| Success | 0xd850ee…acaf#17414 | imd.pool4.v1CAPPED_BURN | SOL→ETH | 1h ago | 40.4s | ✓ returned |
| Success | 0x66848f…e0e5#17548 | imd.pool4.v1CONTRIBUTE | SOL→ETH | 1h ago | 43.3s | ✓ returned |
| Success | 0x7281b0…ecdb#17506 | imd.pool4.v1CONTRIBUTE | SOL→ETH | 2h ago | 41.9s | ✓ returned |
| Success | 0xc40ee5…f7f4#17524 | imd.pool4.v1CAPPED_BURN | SOL→ETH | 8h ago | 39.9s | ✓ returned |
| Success | 0xe4cdfb…1718#17420 | imd.pool4.v1CONTRIBUTE | SOL→ETH | 12h ago | 42.6s | ✓ returned |
| Success | 0xa12698…fd32#17461 | imd.pool4.v1CAPPED_BURN | SOL→ETH | 15h ago | 44.5s | ✓ returned |
| Success | 0x2dc2b1…e4e2#17412 | imd.pool4.v1CONTRIBUTE | SOL→ETH | 19h ago | 41.3s | ✓ returned |
| Success | 0x22f046…c2e7#17413 | imd.pool4.v1CONTRIBUTE | SOL→ETH | 22h ago | 39.1s | ✓ returned |
- Returning31s agoimd.pool4.v1SOL→ETH0xc8371908…a7dbee · #17595in flight
- Failed44m agoimd.pool4.v1SOL→ETH0xc2b6ac0e…5e1fa0 · #1746743.4s
- Success1h agoimd.pool4.v1SOL→ETH0xd850eee2…36acaf · #1741440.4s
- Success1h agoimd.pool4.v1SOL→ETH0x66848f56…bce0e5 · #1754843.3s
- Success2h agoimd.pool4.v1SOL→ETH0x7281b06b…73ecdb · #1750641.9s
- Success8h agoimd.pool4.v1SOL→ETH0xc40ee56f…12f7f4 · #1752439.9s
- Success12h agoimd.pool4.v1SOL→ETH0xe4cdfb59…3e1718 · #1742042.6s
- Success15h agoimd.pool4.v1SOL→ETH0xa1269835…fbfd32 · #1746144.5s
- Success19h agoimd.pool4.v1SOL→ETH0x2dc2b14b…4ee4e2 · #1741241.3s
- Success22h agoimd.pool4.v1SOL→ETH0x22f046dd…abc2e7 · #1741339.1s