ajibadeabd / multiSwap

MIT License
0 stars 0 forks source link

Predicted price #4

Open ezesundayeze opened 2 years ago

ezesundayeze commented 2 years ago

So, the way it should work, the contract should be able to know what the price is at the end of the day before determining if there was a winner or not. I understand that that is an off-chain data, you can get it on-chain with chainlink, see this https://docs.chain.link/docs/price-feeds-api-reference/

ajibadeabd commented 2 years ago

okay. implemented too. thanks