Skip to content

Fuse Pool Admin

rriescog edited this page Jun 9, 2022 · 9 revisions

Fuse Pool Admin

For all these operations, you need to use the multisig or the pause guardian and/or borrow guardian (once they are set). (PAUSE GUARDIAN to be set 0xAF05154D7a6fC4D37eF44a52bBA39988C37D8C53 - Key at 1Password)

Our Fuse Pool Comptroller: 0xC7125E3A2925877C7371d579D29dAe4729Ac9033

Summary of all actions

Captura de Pantalla 2022-06-09 a las 11 50 45

How to pause all liquidations:

setSeizePaused(true)

How to pause borrowing on a specific asset

setBorrowPaused(cToken, true)

How to pause minting on a specific asset

setMintPaused(cToken, true)

How to pause transfers on any asset

setTransferPaused(true)

How to get the addresses of the cTokens

getAllMarkets gets you all the cTokens. By clicking on one and checking the name, you can see which one is which

cTokens:

BABL: 0x812EeDC9Eba9C428434fD3ce56156b4E23012Ebc

ETH: 0x7DBC3aF9251756561Ce755fcC11c754184Af71F7

FEI: 0x3a2804ec0Ff521374aF654D8D0daA1d1aE1ee900

FRAX: 0xA54c548d11792b3d26aD74F5f899e12CDfD64Fd6

DAI: 0xA6C25548dF506d84Afd237225B5B34F2Feb1aa07

How to set Max Supply Caps

_setMarketSupplyCaps(cTokens[] _cTokens, uint256[] _caps)

How to set Max Borrow Caps

_setMarketBorrowCaps(cTokens[] _cTokens, uint256[] _caps)

How to connect the multisig through wallet connect

  1. In Gnosis safe go to Apps https://gnosis-safe.io/app/eth:0x97FcC2Ae862D03143b393e9fA73A32b563d57A6e/apps
  2. Then wallet connect
  3. In a new tab open etherscan with that contract address
  4. Go to write contract as proxy 0xC7125E3A2925877C7371d579D29dAe4729Ac9033
  5. Connect web3 and select wallet connect.
  6. Copy to clipboard. Paste that into the gnosis safe browser tab
  7. Back to the etherscan tab look for the setSeizePaused method, put true
  8. Click the button
  9. Go back to gnosis safe, tx should pop up

How to unpause

Same procedure as before using false instead of true. It must be multisig (admin), as pause guardian does not have rights.