You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
One immediate improvement we can do on the AMM even before we figure out dynamic pricing is to start using full black-scholes. We can totally do it on Polygon / L2. Here are solidity implementation examples:
Some rough steps to take for completing this task:
Decide whether we want to use these contracts as inspiration to write our own from scratch, or do we treat these more or less as a black box and copy + paste them into our protocol in place of our current MinterAmm.calcPrice? For now it'd probably be better to treat it as a black box, but learn enough about these implementations to know what the arguments are used for
Create a PR with tests which replaces calcPrice with the necessary contracts here
Update the deploy_singleton.ts scripts to correctly deploy the Black-Scholes contracts.
The text was updated successfully, but these errors were encountered:
One immediate improvement we can do on the AMM even before we figure out dynamic pricing is to start using full black-scholes. We can totally do it on Polygon / L2. Here are solidity implementation examples:
https://github.com/pods-finance/contracts/blob/develop/contracts/amm/BlackScholes.sol
https://github.com/keep3r-network/keep3r.network/blob/master/contracts/Keep3rV1Volatility.sol
Some rough steps to take for completing this task:
MinterAmm.calcPrice
? For now it'd probably be better to treat it as a black box, but learn enough about these implementations to know what the arguments are used forcalcPrice
with the necessary contracts heredeploy_singleton.ts
scripts to correctly deploy the Black-Scholes contracts.The text was updated successfully, but these errors were encountered: