ZeroBoundLabs / hyperstaker-ui

https://hyperstaker.com
5 stars 5 forks source link

Stake fractions #27

Open positonic opened 2 months ago

positonic commented 2 months ago

See example tests in marketplace:

uint256[] memory fractions = new uint256[](2);
fractions[0] = 5000;
fractions[1] = 5000;

vm.prank(takerUser);
mockHypercertMinter.splitFraction(takerUser, firstHypercertFractionId, fractions);