Git Product home page Git Product logo

Comments (6)

sajanrajdev avatar sajanrajdev commented on May 26, 2024

After further investigation, the following was found:

  • The StakingRewards contract (aka Badger Geyser) is on a BADGER deficit. The balance of the pool for bBADGER is the following:
    image
    And the geyser contains the following:
    image

The remaining must be injected to the Geyser before we can call controller.withdrawAll(badger_token) to bring all BADGER from the strategy to the vault.

  • In order to move the 35% of the BADGER supply sitting on the DAO_terasury (0x4441776e6A5D61fA024A5117bfc26b953Ad1f425) this contract needs to be upgraded to point the beneficiary address to the devMultisig. After this, calling DAO_treasury.release() will transfer the balance to the multisig.

NOTE: The proxyAdmin for the DAO_treasury is the old_devProxyAdmin (0x4599F2913a3db4E73aA77A304cCC21516dd7270D) which is owned by the Ops_multisig_old (0x576cD258835C529B54722F84Bb7d4170aA932C64).

from badger-multisig.

sajanrajdev avatar sajanrajdev commented on May 26, 2024

New logic contract deployed: https://etherscan.io/address/0xb7acd34643181c879437c2967538d5c0ea42b5d9#code

from badger-multisig.

sajanrajdev avatar sajanrajdev commented on May 26, 2024

DAO_treasury upgrade uploaded replacing nonce 76

Logics diff: https://etherscan.io/contractdiffchecker?a2=0xa494351c6f392908321ea90665628f7f521fe809&a1=0xb7AcD34643181C879437c2967538D5c0eA42b5D9

from badger-multisig.

gosuto-inzasheru avatar gosuto-inzasheru commented on May 26, 2024

posted nonce 1006: https://gnosis-safe.io/app/eth:0xB65cef03b9B89f99517643226d76e286ee999e77/transactions/0xa44dc361b37b36bfec093331393532398c10d49d332d76f6178645ecbdc858bf

Transaction sent: 0x0ef477d7548bf5cbef48a15ce08fd956bc3d0889f4926d09b76d63e0f28753ef
  Gas price: 0.0 gwei   Gas limit: 6721975   Nonce: 1
  ISimpleTimelockWithVoting.setBeneficiary confirmed   Block: 14257181   Gas used: 30404 (0.45%)

Transaction sent: 0xd2896293a7e44c67fd4b70bc613e2287225cc1151f8214368507ef279796ed52
  Gas price: 0.0 gwei   Gas limit: 6721975   Nonce: 2
  ISimpleTimelockWithVoting.release confirmed   Block: 14257182   Gas used: 138428 (2.06%)

Transaction sent: 0x5b7b0baadc80377448f8c0eb6a120be241323e7aa160e736b809ee38c01a8b8e
  Gas price: 0.0 gwei   Gas limit: 6721975   Nonce: 3
  IBalanceChecker.verifyBalance confirmed   Block: 14257183   Gas used: 31541 (0.47%)

Transaction sent: 0x0f6143e694d5c24dc3686c8f5b6e45806d4d09498671d2ca9679455138f82cb4
  Gas price: 0.0 gwei   Gas limit: 6721975   Nonce: 4
  IBadger.transfer confirmed   Block: 14257184   Gas used: 110669 (1.65%)

201661.80644761855 BADGERs were transfer to the Geyser!

Transaction sent: 0x1b72a9b6a12e34aa8f077467c82bc589e0b9429769806db705191c4a439bbfd7
  Gas price: 0.0 gwei   Gas limit: 6721975   Nonce: 5
  IBalanceChecker.verifyBalance confirmed   Block: 14257185   Gas used: 31565 (0.47%)

Transaction sent: 0x22acd564b3d74a87daf4fabfaecebaa793d492a5a081469100c83481fff093d4
  Gas price: 0.0 gwei   Gas limit: 6721975   Nonce: 6
  IController.withdrawAll confirmed   Block: 14257186   Gas used: 217475 (3.24%)

Transaction sent: 0x55d5139ecd49b4146ebc75d328832c53e0172275d49cc7206b7e405e5f877b52
  Gas price: 0.0 gwei   Gas limit: 6721975   Nonce: 7
  IBadger.transfer confirmed   Block: 14257187   Gas used: 110681 (1.65%)

Transaction sent: 0x13c77084bd15bb147c97193048e1cf33b035e5773dc93020e0495236f6d4e2f2
  Gas price: 0.0 gwei   Gas limit: 6721975   Nonce: 8
  IBalanceChecker.verifyBalance confirmed   Block: 14257188   Gas used: 31565 (0.47%)

snapshot result for 0xB65cef03b9B89f99517643226d76e286ee999e77:
Empty DataFrame
Columns: 
Index: [] 

snapshot result for 0xD0A7A8B98957b9CD3cFB9c0425AbE44551158e9e:
                  balance_before                 balance_after                 balance_delta
symbol                                                                                      
BADGER  3,651.120594954259385713  7,151,989.314147335705910040  7,148,338.193552381446524327 

Transaction sent: 0x99bd2b0f29add071ff99f874f7d6f52d5f01214cc97d339b92ef916b77c36f77
  Gas price: 0.0 gwei   Gas limit: 6721975   Nonce: 62
  Gnosis Safe.approveHash confirmed   Block: 14257181   Gas used: 46206 (0.69%)

Transaction sent: 0x1c1c3c70b3f21071b0daf1e264635a5e97a0d3d7da6e1ed4b8d6c8b9793ee9ea
  Gas price: 0.0 gwei   Gas limit: 6721975   Nonce: 180
  Gnosis Safe.approveHash confirmed   Block: 14257182   Gas used: 46206 (0.69%)

Transaction sent: 0x191a778c39e195f89731a12f2e13d7ebaceacfdde66dda468690e8d2400bc034
  Gas price: 0.0 gwei   Gas limit: 6721975   Nonce: 0
  Gnosis Safe.approveHash confirmed   Block: 14257183   Gas used: 46206 (0.69%)

Transaction sent: 0xd0a562ed4fd20fa236e8910eaf5344d7cd32f7a775a19a0dd24fda23509c5930
  Gas price: 0.0 gwei   Gas limit: 622810   Nonce: 63
  Gnosis Safe.execTransaction confirmed   Block: 14257184   Gas used: 498175 (79.99%)

Transaction was Mined 
---------------------
Tx Hash: 0xd0a562ed4fd20fa236e8910eaf5344d7cd32f7a775a19a0dd24fda23509c5930
From: 0x15b8Fe651C268cfb5b519cC7E98bd45C162313C2
To: 0xB65cef03b9B89f99517643226d76e286ee999e77
Value: 0
Function: Gnosis Safe.execTransaction
Block: 14257184
Gas Used: 498175 / 622810 (80.0%)

Events In This Transaction
--------------------------
├── AdminUpgradeabilityProxy (0xBD9c69654B8F3E5978DFd138B00cB0Be29F28cCf)
│   └── Withdrawn
│       ├── user: 0x75b8E21BD623012Efb3b69E1B562465A68944eE6
│       └── amount: 1496125917499629673104595
│   
└── Gnosis Safe (0xB65cef03b9B89f99517643226d76e286ee999e77)
    └── ExecutionSuccess
        ├── txHash: 0x7566416476644f50b020599dc5c4ca86aea26fcc1601471897fb43385b6eebff
        └── payment: 0

{
│   'ethereum_client': <gnosis.eth.ethereum_client.EthereumClient object at 0x114e75790>,
│   'safe_address': '0xB65cef03b9B89f99517643226d76e286ee999e77',
│   'to': '0x40A2aCCbd92BCA938b02010E17A5b8929b49130D',
│   'value': 0,
│   'data': HexBytes('0x8d80ff0a000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000004a8004441776e6a5d61fa024a5117bfc26b953ad1f425000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000241c31f710000000000000000000000000b65cef03b9b89f99517643226d76e286ee999e77004441776e6a5d61fa024a5117bfc26b953ad1f4250000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000486d1a69f00e92261c2d64c363109c36a754a87107142e61b7200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000064c5f974aa0000000000000000000000003472a5a71965499acd81997a54bba8d852c6e53d000000000000000000000000b65cef03b9b89f99517643226d76e286ee999e7700000000000000000000000000000000000000000006146c4c632f05c5c00000003472a5a71965499acd81997a54bba8d852c6e53d00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000044a9059cbb000000000000000000000000bd9c69654b8f3e5978dfd138b00cb0be29f28ccf000000000000000000000000000000000000000000002ab41bc242111aaaf25900e92261c2d64c363109c36a754a87107142e61b7200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000064c5f974aa0000000000000000000000003472a5a71965499acd81997a54bba8d852c6e53d000000000000000000000000bd9c69654b8f3e5978dfd138b00cb0be29f28ccf000000000000000000000000000000000000000000013cd126044f13070bc4d30063cf44b2548e4493fd099222a1ec79f3344d968200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000024fa09e6300000000000000000000000003472a5a71965499acd81997a54bba8d852c6e53d003472a5a71965499acd81997a54bba8d852c6e53d00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000044a9059cbb000000000000000000000000d0a7a8b98957b9cd3cfb9c0425abe44551158e9e00000000000000000000000000000000000000000005e9b830a0ecf4ab150da700e92261c2d64c363109c36a754a87107142e61b7200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000064c5f974aa0000000000000000000000003472a5a71965499acd81997a54bba8d852c6e53d000000000000000000000000d0a7a8b98957b9cd3cfb9c0425abe44551158e9e00000000000000000000000000000000000000000005ea7e1e1b0199c496db18000000000000000000000000000000000000000000000000'),
│   'operation': 1,
│   'safe_tx_gas': 794873,
│   'base_gas': 0,
│   'gas_price': 0,
│   'gas_token': '0x0000000000000000000000000000000000000000',
│   'refund_receiver': '0x0000000000000000000000000000000000000000',
│   'signatures': b'',
│   '_safe_nonce': 1006,
│   '_safe_version': '1.1.1',
│   '_chain_id': None
}

from badger-multisig.

gosuto-inzasheru avatar gosuto-inzasheru commented on May 26, 2024

https://etherscan.io/tx/0x304ce92c4a8730deb0b792f0d966366c582b2f59c29baebca5049b5d01ff5764

reverted due to balance checker vars on L115

from badger-multisig.

sajanrajdev avatar sajanrajdev commented on May 26, 2024

Executed: https://etherscan.io/tx/0x89d34f3dfb819aec7e5802f654f47e6754ec937277d2354ad22d8bc0fb68a774

from badger-multisig.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.