Warning
- This contracts were made in a short period of time for a hackathons and was not properly audited.
- This contracts may serve as templates for other projects.
- This contracts may contains severe bugs (it actually contains some bugs, but they are features π).
- The contracts of this project will constantly be worked on (updated) and upgraded.
This is the contracts that governs all fractions logic, this contracts include the wrapping of erc20(stables) mechanism, the staking of wrapped erc20(stables), Fraction bounded NFTs (soul bounded) to increase rewards earned by verification, The in-built ability to perform flash loan(flash-mint) (havent test lol)
Fraction Token : FRACT
https://mumbai.polygonscan.com/address/0x953f88014255241332d8841c34921572db112d65
Super Fraction Token : FRACTx
Fractionless : FRACTIONLESS
https://mumbai.polygonscan.com/address/0x147Aef142CCebf9902ec57A369D4aB1B6126Fc69
FractionWrapper : FRACTWRAPPED
https://mumbai.polygonscan.com/address/0xb68dF2721e747a30A611D9279169d36E448C600C
due to reasons, contract could not be verified, but here is the ABI
NFT Registry : NFTRegistry
https://mumbai.polygonscan.com/address/0x34c93Cf06bADc3c64c18d02DD2dFb5f43a32C472
FractionNFT : FractionNFT
https://mumbai.polygonscan.com/address/0x8b78A188f3941BdF5BcDE61A0c32C68A4044fdbB
To get the contracts running, clone the repo and then run
forge install
and then
npm install
Then you build the contracts and write test and fixs some problems lol
For the flash mint functionality to work, the reciever (if a contract) has to have a onERC1155Receiver function (implementation)