Replies: 4 comments 46 replies
-
Hey, maybe I missed this in readme, but is there any front-end yet for Kovan smart contracts? |
Beta Was this translation helpful? Give feedback.
-
Read your latest blog post, a couple of ideas wrt some of the disadvantages you listed:
|
Beta Was this translation helpful? Give feedback.
-
Hi Thomas, Do you have a way to deploy mock aggregator contracts locally (if not, what do you think the best way to do it would be)? Are there more requirements I need to have besides the existing deployment scripts you have to simulate this locally besides having some kind of mock aggregator? I have more free time now and I want to be able to deploy your master branch as is (and any updates you make) against a local test net and simulate agents interactions with it (I will probably just fork your master and keep updating it as you make updates). I will be using avalanchego instead of gananche-cli because its way faster, but at this time I do not want to make any solidity modifications (unless absolutely necessary to get everything up and running), and just use it to start building an understanding of how agents can interact with the system and the states that can evolve over time by randomizing the parameter space (esp overall collateralization levels overtime). Hopefully this will be useful for you as well when doing your tests (as I will post simulation output on github or send it to you directly, whichever you works for you). I'm talking with the folks at ava-labs and they are working on chainlink feeds now for their c-chain and I told them that btc/usd and eth/usd are ones they should start on first (I see those commented out in your deployer scripts), if there are any more feeds you think people would want to use I can tell them if you tell me. |
Beta Was this translation helpful? Give feedback.
-
Hi Cinque,
Not really. The liquidity pool will accept any option (registered for trading by the pool operator by calling the pool's AddSymbol function) whose maturity is inferior to the pool maturity. That's because the pool is also a redeemable token, so all options it trades must expire before the pool maturity/redemption date.
For the purposes of your simulation I suggest you tweek the EthFeedMock and "inject" it into your deployment, it will make things easier. Then internally you could add a series of if-else conditions based on the blockchain time for returning the appropriate price, or you could set the "current" price at each simulation step by calling the "setPrice" function. Besides that you'll have to pre-calculate the price volatility as well, and return it in the "getDailyVolatility" function, since it directly affects collateral requirements calculations. |
Beta Was this translation helpful? Give feedback.
-
👋 Welcome!
We’re using Discussions as a place to connect with other members of our community. We hope that you:
build together 💪.
To get started, comment below with an introduction of yourself and tell us about what you do with this community.
Beta Was this translation helpful? Give feedback.
All reactions