Content
@
https://warpcast.com/~/channel/miniapps
0 reply
0 recast
0 reaction
alexander
@attar
I'm glad we're alpha testing because we've already mitigated a flaw in the prediction market contract I'm building. https://warpcast.com/attar/0xb61066f4
2 replies
0 recast
3 reactions
alexander
@attar
We encountered a critical issue during the finalization of our game contracts: Uniswap V3's "OLD" error disrupted our 24-hour TWAP calculations. Here's a concise breakdown:
2 replies
0 recast
2 reactions
hellwolf.base.eth
@hellwolf
You can also take a look of @superboring implementation https://github.com/superfluid-finance/averageX/blob/develop/packages/evm-contracts/src/UniswapV3PoolTwapHoppableObserver.sol , we actually observe the data ourselves instead of relying on the stored observations in the pool.
3 replies
0 recast
2 reactions
alexander
@attar
@hellwolf looks cool! can you explain a little on how you use that? do you just call to observe periodically over a period you want to calculate the twap at the end of?
1 reply
0 recast
0 reaction
hellwolf.base.eth
@hellwolf
the system has a global mechanism that incentivize actors to moves the market for everyone, that's the moment when the observation is update. you may read more about it from https://docs.superboring.xyz/docs/torex
0 reply
0 recast
1 reaction