function sync() in smarcontract Pair Uniswap V2 is called from where
I understand that the Pair contract will use TWPA to ensure price average, this _update function is called when Mint, Burn, Swap. In case the average period does not have the above transactions, the Sync function will be called to update the average price. So where is Sync called from? Is it called from the Service backend outside the contract?
function sync() in smarcontract Pair Uniswap V2 is called from where
I understand that the Pair contract will use TWPA to ensure price average, this _update function is called when Mint, Burn, Swap. In case the average period does not have the above transactions, the Sync function will be called to update the average price. So where is Sync called from? Is it called from the Service backend outside the contract?
function sync() in smarcontract Pair Uniswap V2 is called from where
I understand that the Pair contract will use TWPA to ensure price average, this _update function is called when Mint, Burn, Swap. In case the average period does not have the above transactions, the Sync function will be called to update the average price. So where is Sync called from? Is it called from the Service backend outside the contract?
function sync() in smarcontract Pair Uniswap V2 is called from where
I understand that the Pair contract will use TWPA to ensure price average, this _update function is called when Mint, Burn, Swap. In case the average period does not have the above transactions, the Sync function will be called to update the average price. So where is Sync called from? Is it called from the Service backend outside the contract?