Query editor
with temp as (select value / 1e18 vecrvfrom curvefi."voting_escrow_evt_Deposit"where provider='\x989aeb4d175e16225e39e87d0d97a3360524ad80'union allselect -(value / 1e18) vecrvfrom curvefi."voting_escrow_evt_Withdraw"where provider='\x989aeb4d175e16225e39e87d0d97a3360524ad80')selectsum(vecrv) as vecrvfrom temp