Charli3-Official/charli3-pull-oracle-contracts — reverse-engineered prompt

Reverse engineered prompt

GitHub

Build me the Aiken smart contracts for a Charli3 pull oracle on Cardano.

I want the contracts to handle the full oracle flow, including managing oracle state, checking node signatures for multi sig consensus, aggregating feed values, minting or burning the protocol NFTs where needed, and distributing rewards to nodes and the platform. Keep the logic focused on the ODV pull oracle design that’s described in the docs, not a web app.

Please organize the validators and shared helper code cleanly, make sure it can build for mainnet and testnets, and add useful tests for the important paths like settings changes, paused state, feed ordering, aggregation expiry, reward distribution, and invalid signatures. Keep the trace messages and short error codes documented so failures are easier to debug on testnet.

Use the current Aiken docs online if you need to, and make sure the final project can run with a normal build and check command.

Want more depth? Deep Reverse