POLICY-BOUND EXECUTION NODE
STONK
AGENT
ROBINHOOD CHAIN / FLAP MODULES00%
FACTORY SCANNINGORACLE FRESHDAILY CAP ENFORCEDWITHDRAW DISABLEDMODE FAIL CLOSEDFACTORY SCANNINGORACLE FRESHDAILY CAP ENFORCEDWITHDRAW DISABLEDMODE FAIL CLOSED
POLICY ENGINE ONLINE

STONKAGENT

A restricted execution loop for tokenized equities on Flap and Robinhood Chain. It reads the launch, reads the vault, checks the mandate, and signs inside a cap.

EXECUTION WALLETALLOWLISTEDNO ARBITRARY WITHDRAW
LATEST DECISIONPASS / OBSERVEWAITING FOR EVENT
01 / SETTLEMENT

Robinhood Chain

ETH L2 · Arbitrum stack

02 / MODULES

Flap

Tax token · custom quote · Stocks Vault

03 / ASSETS

Tokenized stocks

Existing wrappers and index baskets only

04 / EXECUTION

Bounded wallet

Allowlist · notional cap · no arbitrary withdraw

MINIMAL RUNTIME

Five steps. Zero improvisation.

The model does not get an open trading account. It gets a narrow policy surface and one job at a time.

01

Scan events

Listen for Flap factory and vault creation events.

02

Filter vaults

Verify factory, tax wallet, quote asset, and supported stock list.

03

Read state

Inspect AMM reserves, vault balances, oracle freshness, and inventory.

04

Apply policy

Check allowlist, price band, pool depth, daily cap, and mandate.

05

Act + write

Swap or claim, then publish the transaction hash and resulting state.

POLICY CONSOLE

Test the decision gate.

This local simulator illustrates the agent's fail-closed logic. It is not connected to a wallet or live market.

Mandate controls

Change a condition, then run the gate. One failed invariant halts execution.

Known vault factoryFactory is on the published allowlist
Mandated stock assetDividend or quote asset is permitted
Oracle is freshLast print remains inside freshness window
Tax wallet verifiedDestination matches documented vault
Proposed notionalDaily limit: 25,000 S units
STONK_POLICY_KERNEL v1.000:00:00 UTC
POLICY RESULTPASS
ACTIONOBSERVE → SWAP / CLAIM
MAX NOTIONAL25,000 S
WITHDRAWALDISABLED
OUTPUTTX HASH + VAULT STATE
OPERATING MODES

Seven bounded jobs.

Each mode has its own mandate. The agent cannot silently move from one mode into another.

MODE 01
S↔T

Quote-pair market maker

Rebalances stock S and token T only when the pool mid exits a published band. Inventory is capped in S units.

MODE 02
TAX→S

Tax-to-stock sweeper

Routes accrued ETH or WETH tax into the mandated stock or basket asset. Stale oracle means no swap.

MODE 03
CLAIM

Dividend claimer

Claims accrued stock assets to the strategy address. Optional conversion requires a bounded premium.

MODE 04
±BPS

Pair-spread executor

Compares the tokenized stock pool to the venue print and trades the pool only after fee, gas, and depth checks.

MODE 05
EVENT

Stock-filter launch entry

Responds to a Flap launch event only when its vault factory and dividend asset match the mandate.

MODE 06
1—N

Basket reweight keeper

Maintains published basket weights. It exits policy when supported assets change outside the allowed set.

MODE 07
HALT

Risk halt

Stops on depeg, unknown factory, wrong tax wallet, stale oracle, unsupported asset, or exhausted daily cap.

DEFAULT BEHAVIOR

FAIL
CLOSED.

If Stonk Agent cannot prove that an action sits inside policy, it does nothing. Emergency stop belongs to a human key—not the model.

STOCK TOKEN DEPEGHALT
UNKNOWN VAULT FACTORYHALT
TAX WALLET MISMATCHHALT
ORACLE STALEHALT
DAILY NOTIONAL CAP HITHALT
UNSUPPORTED BASKET ASSETEXIT / HALT
HARD BOUNDARIES

What it does not do.

NO / 01

Does not vote the underlying share.

NO / 02

Does not mint the stock token.

NO / 03

Does not promise NAV.

NO / 04

Does not trade HOOD equity.

NO / 05

Does not invent a new stock.