GP 17: Remove excess inventory on Optimism and Ethereum
Last updated
Last updated
The proposal has been confirmed and executed by:
Continued reduction of BOB inventory (see ) with decreases for BOB inventory on Ethereum Mainnet and Optimism.
Overall decrease of total supply after this proposal is -20m BOB (35.5m → 15.5m).
Deallocate 5,000,000 BOB (5,000,000 BOB → 0 BOB) from BobSwap
Deallocate 1,000,000 BOB (2,000,000 BOB → 1,000,000 BOB) from BOB/USDC 0.01% inventory position on Uniswap V3
Deallocate 1,000,000 BOB (1,000,000 BOB → 0 BOB) from BOB/USDC 0.05% inventory position on Uniswap V3
Deallocate 5,000,000 BOB (5,000,000 BOB → 0 BOB) from BobSwap
Deallocate 5,000,000 BOB (6,000,000 BOB → 1,000,000 BOB) from BOB/USDC 0.01% inventory position on Uniswap V3
Deallocate 1,000,000 BOB (1,000,000 BOB → 0 BOB) from BOB/USDC 0.05% inventory position on Uniswap V3
Deallocate 2,000,000 BOB (2,000,000 BOB → 0 BOB) from BOB/USDT 0.01% inventory position on Uniswap V3
Remove and burn all excess BOB from BobSwap.
Withdraw 100% (~1,000,000 BOB/USDC) of BOB/USDC 0.05% Uniswap V3 inventory LP with its fees.
Withdraw 50% (~1,000,000 BOB/USDC) of BOB/USDT 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.
Remove and burn all excess BOB from BobSwap
The second transaction is executed only once all USDC and USDT collateral from BobSwap has been redeemed following the first transaction execution.
Remove and burn all excess BOB from BobSwap.
Withdraw 100% (~1,000,000 BOB/USDC) of BOB/USDC 0.05% Uniswap V3 inventory LP with its fees.
Withdraw 83.33% (5/6) (~5,000,000 BOB/USDC) of BOB/USDC 0.01% Uniswap V3 inventory LP with its fees.
Withdraw 100% (~2,000,000 BOB/USDC) of BOB/USDT 0.01% Uniswap V3 inventory LP with its fees.
Burn BOB obtained from inventory position principal.
Transfer USDC and USDT obtained from inventory position principal to BobSwap.
Disable BobSwap USDT→BOB, USDC→BOB and DAI→BOB BobSwap directions by setting swap fees to 100%.
Set zero fees for BOB→USDC, BOB→USDT and BOB→DAI BobSwap directions.
Claim BobSwap fees accumulated in USDC, USDT and DAI.
Remove and burn all excess BOB from BobSwap
The second transaction is executed only once all USDC, USDT and DAI collateral from BobSwap has been redeemed following the first transaction execution.
Check token transfers in Tenderly simulation:
forge test --match-path ./script/scripts/VerifySafeTx_Gov41.t.sol --ffi -vvvv
Make sure jq
CLI is installed
The following transactions use delegatecall
to the to efficiently facilitate the complex inventory management process.
The first transaction in the Safe on Optimism contains the following sequence of actions:
The second transaction in the Safe on Optimism contains the following sequence of actions:
The following transactions use delegatecall
to the to efficiently facilitate the complex inventory management process.
The first transaction in the Safe on Mainnet contains the following sequence of actions:
The second transaction in the Safe on Mainnet contains the following sequence of actions:
Check the code of
Check the code of
Check the following script with safe contract execution -