BOB
  • πŸ‘‹BOB Stablecoin
  • BOB Info
    • πŸ—ΊοΈBOB Ecosystem
      • Mellow Protocol Vaults
    • 🦊MetaMask
      • Swap BOB with Metamask Swap
    • πŸ”BOB Swap
    • πŸ¦„Uniswap v3
    • πŸ™‹β€β™€οΈBOB FAQ
  • BOB CDP
    • ℹ️About
    • πŸ’‘Use Cases
    • πŸ‘¨β€πŸŽ€System actors
    • πŸ“šSystem configurations
    • 🏦Vault health
    • 🏘️User flow examples
    • πŸ‘¨β€πŸ’»Technical docs
      • Position valuation (technical)
      • Liquidations
      • Deployment addresses
      • Smart Contracts
        • NFTVaultRegistry
        • NFTVault
        • UniV3Oracle
        • ChainlinkOracle
        • DebtMinter
        • SurplusMinter
    • πŸ™‹β€β™‚οΈCDP FAQ
  • BOB DAO
    • πŸ§‘β€πŸ€β€πŸ§‘Governance
      • BOB DAO
      • Protocol Governance
        • GP 0: Increase SAFE membership
        • GP 1: Bob Swap beta testing infrastructure
        • GP 2: Upgrade Contracts to v1.0.0
        • GP 3: Enable Bob Swap for Public Use
        • GP 4: Increase Multisig & Upgrade BOB contract on all networks
        • GP 5: Enable Bob Swap on Ethereum Mainnet
        • GP 6: Upgrade zkBob to support direct deposits
        • GP 7: Increase Multi-chain Inventory and Update Bob Swap
        • GP 8: Extend pool limits for KYC'd users
        • GP 9: Deactivate Kyberswap inventory pairs [Emergency Measure]
        • GP 10: Reallocate previous Kyberswap inventory
        • GP 11: Add 24 hour timelock to BOB contract on Optimism
        • GP 12: Raise Polygon limits
        • GP 13: Launch BOB CDP
        • GP 14: Migrate BOB pool to USDC on Polygon
        • GP 15: KYB tiers on Optimism
        • GP 16: Remove excess inventory on Arbitrum and BNB Smart Chain
        • GP 17: Remove excess inventory on Optimism and Ethereum
        • GP 18: Remove excess inventory on Polygon
        • GP 19: Accrued Revenue Allocation
        • GP 20: Migrate BOB pool to USDC on Optimism
        • GP 21: BOB inventory reduction
    • πŸ“‹Inventory
      • Inventory Actions
  • BOB Resources
    • 🧩Visual Assets
    • ⛓️Links
Powered by GitBook
On this page
  • Proposal Objective
  • Proposal Details
  • Arbitrum
  • BNB Chain
  • Mainnet
  • Optimism
  • Polygon
  • Additional verification
  1. BOB DAO
  2. Governance
  3. Protocol Governance

GP 21: BOB inventory reduction

PreviousGP 20: Migrate BOB pool to USDC on OptimismNextInventory

Last updated 1 year ago

This proposal was confirmed and executed:

Proposal Objective

Continue the overall reduction of BOB inventory with reductions on all 5 networks.

Proposal Details

The overall decrease of total supply follwoing this proposal is -4,660,000 BOB (5,000,000 BOB β†’ 340,000 BOB).

Arbitrum (1m β†’ 10k)

  1. Deallocate 990,000 BOB (1,000,000 BOB β†’ 10,000 BOB) from the BOB/USDC 0.01% inventory position on Uniswap V3

BNB Chain (1m β†’ 10k)

  1. Deallocate 490,000 BOB (500,000 BOB β†’ 10,000 BOB) from the BOB/USDC 0.01% inventory position on Uniswap V3

  2. Deallocate 500,000 BOB (500,000 BOB β†’ 0 BOB) from the BOB/USDT 0.01% inventory position on Uniswap V3

Mainnet (1m β†’ 20k)

  1. Deallocate 980,000 BOB (1,000,000 BOB β†’ 20,000 BOB) from the BOB/USDC 0.01% inventory position on Uniswap V3.

Optimism (1m β†’ 100k)

  1. Deallocate 900,000 BOB (1,000,000 BOB β†’ 100,000 BOB) from the BOB/USDC 0.01% inventory position on Uniswap V3.

Polygon (1m β†’ 200k)

  1. Deallocate 800,000 BOB (1,000,000 BOB β†’ 200,000 BOB) from the BOB/USDC 0.01% inventory position on Uniswap V3.

Arbitrum

  1. Withdraw 99% (~990,000 BOB/USDC) of BOB/USDC 0.01% Uniswap V3 inventory LP with its fees.

  2. Swap obtained USDC to BOB via Uniswap V3.

  3. Burn BOB obtained from inventory position principal.

BNB Chain

  1. Withdraw 100% (~500,000 BOB/USDT) of BOB/USDT 0.01% Uniswap V3 inventory LP with its fees.

  2. Withdraw 98% (~490,000 BOB/USDC) of BOB/USDC 0.01% Uniswap V3 inventory LP with its fees.

  3. Swap obtained USDT to USDC via Uniswap V3.

  4. Swap obtained USDC to BOB via Uniswap V3.

  5. Burn BOB obtained from inventory position principal.

Mainnet

  1. Withdraw 98% (~980,000 BOB/USDC) of BOB/USDC 0.01% Uniswap V3 inventory LP with its fees.

  2. Swap obtained USDC to BOB via Uniswap V3.

  3. Burn BOB obtained from inventory position principal.

Optimism

  1. Withdraw 90% (~900,000 BOB/USDC) of BOB/USDC 0.01% Uniswap V3 inventory LP with its fees.

  2. Swap obtained USDC to BOB via Uniswap V3.

  3. Burn BOB obtained from inventory position principal.

Polygon

  1. Withdraw 80% (~800,000 BOB/USDC) of BOB/USDC 0.01% Uniswap V3 inventory LP with its fees.

  2. Swap obtained USDC to BOB via Uniswap V3.

  3. Burn BOB obtained from inventory position principal.

Additional verification

  1. Check the token transfers in Tenderly simulation:

    1. forge test --match-path ./script/scripts/VerifySafeTx_Gov45.t.sol --ffi -vvvv

    2. Make sure jq CLI is installed

Transaction uses delegatecall to to efficiently facilitate the complex inventory management process.

Transaction in the Safe on Arbitrum contains the following sequence of actions:

Transaction uses delegatecall to to efficiently facilitate the complex inventory management process.

Transaction in the Safe on BNB Chain contains the following sequence of actions:

Transaction uses delegatecall to to efficiently facilitate the complex inventory management process.

Transaction in the Safe on Mainnet contains the following sequence of actions:

Transaction uses delegatecall to to efficiently facilitate the complex inventory management process.

Transaction in the Safe on Optimism contains the following sequence of actions:

Transaction uses delegatecall to to efficiently facilitate the complex inventory management process.

Transaction in the Safe on Polygon contains the following sequence of actions:

Check the code of

Check the code of

Check the code of

Check the code of

Check the code of

Check the following script with safe contract execution -

πŸ§‘β€πŸ€β€πŸ§‘
Arbitrum tx
BNB Chain tx
Ethereum Mainnet tx
Optimism tx
Polygon tx
0xCDAD0ad4DD1F614a6502043Ef546e447b25Ffb9
#5
0xF321a98DFFe0c790A84BbE754811f3918a431ab9
#13
0x1F9843C88EFC073cB0E33B9E138cFF5b9efa039B
#18
0x3c28Fb3AA25239E6a35A6a36757d38fe9303F21C
#18
0x74eB277f968490981857c71A410a9bAF568658cb
#38
https://arbiscan.io/address/0xCDAD0ad4DD1F614a6502043Ef546e447b25Ffb99#code
https://bscscan.com/address/0xF321a98DFFe0c790A84BbE754811f3918a431ab9#code
https://etherscan.io/address/0x1F9843C88EFC073cB0E33B9E138cFF5b9efa039B#code
https://optimistic.etherscan.io/address/0x3c28Fb3AA25239E6a35A6a36757d38fe9303F21C#code
https://polygonscan.com/address/0x74eB277f968490981857c71A410a9bAF568658cb#code
Arbitrum #5
BNB Chain #13
Mainnet #18
Optimism #18
Polygon #38
https://gist.github.com/k1rill-fedoseev/4e3ad34b58df31ae34a6a306fc2f01ac