GP 18: Remove excess inventory on Polygon
The proposal has been confirmed and executed:
Proposal objective
Continue reduction of BOB inventory following the successful implementation of GP #16 and GP #17 for reduction on various chains. This proposal will decrease BOB inventory on Polygon.
Proposal on forum -> https://forum.zkbob.com/t/proposal-to-remove-excess-bob-inventory-on-polygon/43
Proposal Details
Following the actions in this proposal, overall total supply of BOB will be ~5M. This proposal decreases the total supply by -10.5.m BOB, resulting in a reduction from 15.5m β 5m.
Polygon (11.5m β 1m)
Deallocate 5,000,000 BOB (5,000,000 BOB β 0 BOB) from BobSwap
Deallocate 5,500,000 BOB (6,500,000 BOB β 1,000,000 BOB) from BOB/USDC 0.01% inventory position on Uniswap V3
Proposal breakdown
Polygon
Below transactions use delegatecall
to the 0xbfF0020638011357315302727eD55C5193a95F7b
to efficiently faciliate complex inventory management process.
The first transaction #35 in the Safe on Polygon contains the following sequence of actions:
Remove and burn all excess BOB from BobSwap
Withdraw ~84.6% (11/13) (~5,500,000 BOB/USDC) of BOB/USDC 0.01% Uniswap V3 inventory LP with its fees
Burn BOB obtained from inventory position principal
Transfer USDC obtained from inventory position principal to BobSwap
Disable BobSwap USDTβBOB and USDCβBOB BobSwap directions by setting swap fees to 100%
Set zero fees for BOBβUSDC and BOBβUSDT BobSwap directions
Claim BobSwap fees accumulated in USDC and USDT
Transaction #36 in the Safe on Polygon contains the following sequence of actions:
Remove and burn all excess BOB from BobSwap
Second transaction shall be executed only once all USDC and USDT collateral from BobSwap has beed redeemed, some time after the first transaction execution.
Additional verification
Check token transfers in Tenderly simulation:
Check the following script with safe contract execution - https://gist.github.com/k1rill-fedoseev/2114131418142793c70bbb1a119b40f7
forge test --match-path ./script/scripts/VerifySafeTx_Gov42.t.sol --ffi -vvvv
Make sure
jq
CLI is installed
Last updated