anyone know of any contracts that charge a fee on price impact? cant find much online
Feb 23, 2023, 2:40 PM
would be really helpful pls
or code that could help
Feb 23, 2023, 2:41 PM
Transaction fees is impacted by the usage of networks. To reduce the impact on fees of the smart contract just avoid using complex logical operations like while loops and so
Feb 23, 2023, 2:47 PM
thanks, want to use this function though if possible
if price is impacted by 5% lets say then want to triger event so the 5% tax is added for 360 minutes
then off after this time
if price impact is again 5% after this then again the 5% is increased for 360 minutes
any idea pls?
rpice impact may not happen for 1 week
just need to check if price impacted 5% at any time
then trigger extra 5% to add on top
no
selling
only
thankss!!
Feb 23, 2023, 4:00 PM