Context
Define the event ABIs and contract addresses so the indexer can parse onchain events. Contracts aren't deployed yet, but the event signatures are finalized in §4.1 and §4.3.
Sub-tickets
Proposal Reference
§4.1 (Contract events), §4.3 (StoryFactory), §12 (External Dependencies)
Context
Define the event ABIs and contract addresses so the indexer can parse onchain events. Contracts aren't deployed yet, but the event signatures are finalized in §4.1 and §4.3.
Sub-tickets
lib/contracts/abi.ts— define ABIs forPlotChained,StorylineCreated, andDonationevents. Include thechainPlotandcreateStorylinefunction ABIs for frontend contract calls.lib/contracts/constants.ts— placeholder addresses for StoryFactory, $PLOT token. Include the known addresses from §12 (MCV2_Bond:0xc5a076cad94176c2996B32d8466Be1cE757FAa27, MCV2_BondPeriphery:0x492C412369Db76C9cdD9939e6C521579301473a3, Uniswap V4 Router, Permit2, ERC-8004 registry:0x8004A169FB4a3325136EB29fA0ceB6D2e539a432).Proposal Reference
§4.1 (Contract events), §4.3 (StoryFactory), §12 (External Dependencies)