hackquest logo

Autonomy-finance

Autonomy Finance — the first lending and borrowing protocol designed natively for creators, powered by real-time, self-repaying credit using Story Protocol IP royalties.

Videos

Descripción

Autonomy Finance — Decentralized Lending & Borrowing with Story Protocol IP Collateral + Royalty Auto-Repay

Autonomy Finance is a next-generation decentralized lending and borrowing protocol built on the Story Aeneid Testnet.
It enables users to supply/borrow assets like USDC, WETH, and WBTC, while also unlocking a breakthrough mechanism:

🎨 Story Protocol IP Collateral + 💰 Royalty-Driven Auto-Repay

IP assets minted on Story Protocol can be deposited as collateral, and any royalties earned by those IPs will automatically repay outstanding loans through built-in DEX conversion.


Core Features

Multi-Asset Lending & Borrowing

  • Supply and borrow USDC, USDT, DAI, WETH, WBTC, and more

  • Track supply APY, borrow APY, collateral factor, and health factor

E-Mode (Efficiency Mode)

  • 97% LTV for correlated assets (e.g., stablecoins)

IP-Backed Collateral

  • Deposit Story Protocol IP assets as collateral

  • IP value derives from derivative licensing revenue, royalties, and provenance

Royalty Auto-Repay Engine

  • Royalty revenue → automatically routed → converted via Uniswap → loan repayment

  • Ensures the IP “pays its own loan”

Built-in DEX Conversion

  • Automatic token swaps with slippage protection (Uniswap)

Royalty Simulator

  • Simulate revenue splits for derivative IP assets

  • Helps creators estimate future royalty flows


Supported Network

Network

Chain ID

RPC URL

Explorer

Status

Story Aeneid Testnet

1315

https://aeneid.storyrpc.io

https://aeneid.storyscan.io

✅ Active


Story Protocol Testnet Contract Addresses (Aeneid)

These are used in minting IP, licensing, and managing royalties.

Core Contracts

Contract

Address

AccessController

0xcCF37d0a503Ee1D4C11208672e622ed3DFB2275a

IPAssetRegistry

0x77319B4031e6eF1250907aa00018B8B1c67a244b

LicenseRegistry

0x529a750E02d8E2f15649c13D69a465286a780e24

LicenseToken

0xFe3838BFb30B34170F00030B52eA4893d8aAC6bC

LicensingModule

0x04fbd8a2e56dd85CFD5500A4A4DfA955B9f1dE6f

RoyaltyModule

0xD2f60c40fEbccf6311f8B47c4f2Ec6b040400086

IpRoyaltyVaultImpl

0xbd0f3c59B6f0035f55C58893fA0b1Ac4aDEa50Dc

IpRoyaltyVaultBeacon

0x6928ba25Aa5c410dd855dFE7e95713d83e402AA6

RoyaltyPolicy (LAP)

0xBe54FB168b3c982b7AaE60dB6CF75Bd8447b390E

RoyaltyPolicy (LRP)

0x9156e603C949481883B1d3355c6f1132D191fC41

CoreMetadataModule

0x6E81a25C99C6e8430aeC7353325EB138aFE5DC16

DisputeModule

0x9b7A9c70AFF961C799110954fc06F3093aeb94C5


Workflow + Helper Contracts

Workflow Contract

Address

RegistrationWorkflows

0xbe39E1C756e921BD25DF86e7AAa31106d1eb0424

LicenseAttachmentWorkflows

0xcC2E862bCee5B6036Db0de6E06Ae87e524a79fd8

RoyaltyWorkflows

0x9515faE61E0c0447C6AC6dEe5628A2097aFE1890

DerivativeWorkflows

0x9e2d496f72C547C2C535B167e06ED8729B374a4f

GroupingWorkflows

0xD7c0beb3aa4DCD4723465f1ecAd045676c24CDCd

SPGNFTBeacon

0xD2926B9ecaE85fF59B6FB0ff02f568a680c01218

SPGNFTImpl

0x5266215a00c31AaA2f2BB7b951Ea0028Ea8b4e37

RoyaltyTokenDistributionWorkflows

0xa38f42B8d33809917f23997B8423054aAB97322C


Autonomy Finance Protocol Contracts

Core Lending System

Contract

Address

LendingPool

0x3358F984e9B3CBBe976eEFE9B6fb92a214162932

PriceOracle

0x69eB226983E10D7318816134cd44BE3023dC74cd

InterestRateModel

0xD8fE7c45330c8b12cA0D4728D75557b9e7BeB24F

Autonomy IP Integration

Contract

Address

AutonomyVault

0x95D7fF1684a8F2e202097F28Dc2e56F773A55D02

IPManager

0x897945A56464616a525C9e5F11a8D400a72a8f3A

AutoRepayEngine

0x633a7eB9b8912b22f3616013F3153de687F96074


Project Structure

story-autonomy-finance/
├── contracts/
│   ├── src/
│   │   ├── LendingPool.sol
│   │   ├── IPManager.sol
│   │   ├── AutoRepayEngine.sol
│   │   └── dev/ (mock contracts)
│   ├── script/Deploy.s.sol
│   └── test/
├── frontend/
│   ├── pages/ (IPMint, Core, Asset…)
│   ├── components/ (IPDashboard, IPSimulator)
│   └── hooks/ (useStoryProtocol, useLendingPool)
├── scripts/
│   ├── deploy_local.sh
│   └── sync-frontend.js
└── setup.md

Tech Stack

Smart Contracts

  • Solidity 0.8.24

  • Foundry (Forge + Cast + Anvil)

Frontend

  • React 19

  • TypeScript + Vite

  • TailwindCSS

  • Wagmi + Viem + RainbowKit

Testing

  • Foundry (Solidity)

  • Vitest (TypeScript)

License

MIT

Progreso del hackathon

During the hackathon, we rapidly transformed our idea into a functional prototype by streamlining the architecture and defining clear user flows. We completed smart contract development, integrated the frontend with on-chain interactions, and implemented IPFS handling with fallback gateways for reliability. Key features like minting, royalty tracking, and the auto-repay engine were successfully built and tested end-to-end. We also refined the UI with a responsive, neon-themed design to ensure a smooth user experience. Overall, the project evolved quickly with continuous debugging, optimization, and iteration.

Pila tecnológica

Web3
Solidity
Next

Estado de recaudación de fondos

Our fundraising efforts have gained steady momentum, with early interest from potential supporters and ongoing discussions with key contributors. We have clearly defined our financial goals and allocation strategy, ensuring transparency and accountability throughout the process. Initial commitments have validated the project’s vision and strengthened confidence in our roadmap. We continue to engage actively with partners and communities to secure additional backing. Overall, the fundraising trajectory remains positive and aligned with our growth objectives.

Líder del equipo
DDIPTI PATHAK
Sector
DeFi