Contract Overview

Smart Contract Architecture

OwnaFarm smart contracts form the trustless backbone handling all financial transactions.


Contract Ecosystem

spinner

Contract Summary

GoldToken (ERC-20)

Platform currency for all transactions.

Property
Value

Name

OwnaFarm Gold

Symbol

GOLD

Decimals

18

Initial Supply

100,000,000

GoldFaucet

Testnet token distribution.

Property
Value

Claim Amount

10,000 GOLD

Cooldown

24 hours

OwnaFarmNFT (ERC-1155)

Core contract for invoices and investments.

Feature
Description

Invoice submission

Farmers submit for approval

Investment tracking

Per-investor records

Harvest settlement

Automated claims

OwnaFarmVault

Yield reserve management.

Feature
Description

Yield deposit

Admin deposits reserves

Withdrawal

Only by OwnaFarmNFT

Emergency

Owner recovery function


Invoice Status Flow

spinner
Status
Code
Can Invest
Can Harvest

Pending

0

No

No

Approved

1

Yes

No

Rejected

2

No

No

Funded

3

No

Yes (after maturity)

Completed

4

No

No


Access Control


Yield Calculation


Development

Item
Detail

Framework

Foundry

Language

Solidity ^0.8.24

Network

Mantle Sepolia

Chain ID

5003


Next: Deployed Addresses

Last updated