From e5793225a4209a89020195a04713c0f41a503102 Mon Sep 17 00:00:00 2001 From: Tadhg Riordan Date: Thu, 22 Aug 2024 13:45:53 +0100 Subject: [PATCH] Deployment files, contracts --- .../1/run-latest.json | 255 ++++++++++++++++++ deploy/mainnet-production.contracts.json | 16 +- script/mainnet/StrategiesInitial.s.sol | 2 +- 3 files changed, 265 insertions(+), 8 deletions(-) create mode 100644 broadcast/mainnet-production/GearboxV3ExtraStrategySetup.s.sol/1/run-latest.json diff --git a/broadcast/mainnet-production/GearboxV3ExtraStrategySetup.s.sol/1/run-latest.json b/broadcast/mainnet-production/GearboxV3ExtraStrategySetup.s.sol/1/run-latest.json new file mode 100644 index 00000000..457d414d --- /dev/null +++ b/broadcast/mainnet-production/GearboxV3ExtraStrategySetup.s.sol/1/run-latest.json @@ -0,0 +1,255 @@ +{ + "transactions": [ + { + "hash": "0xf356f1839ca5373c809aa7c0201fd4d72fbf0a45be2d4bcb05881dfa17ceaeda", + "transactionType": "CREATE", + "contractName": "TransparentUpgradeableProxy", + "contractAddress": "0xf2362689DC644450a3Ba3352bAC17A9b872b8871", + "function": null, + "arguments": [ + "0xb170F18dca153752b2F35304e5ea581373095f4e", + "0x51c8FA2c1F093AC643f6431766b1c227d869Cb6F", + "0x" + ], + "transaction": { + "type": "0x02", + "from": "0xedee7b1c9a240c4085a5fcac8f4fa750e3779695", + "gas": "0xd8f41", + "value": "0x0", + "data": "0x60806040526040516200103838038062001038833981016040819052620000269162000497565b828162000036828260006200004d565b50620000449050826200008a565b505050620005ca565b6200005883620000e5565b600082511180620000665750805b1562000085576200008383836200012760201b6200028c1760201c565b505b505050565b7f7e644d79422f17c01e4894b5f4f588d331ebfa28653d42ae832dc59e38c9798f620000b562000156565b604080516001600160a01b03928316815291841660208301520160405180910390a1620000e2816200018f565b50565b620000f08162000244565b6040516001600160a01b038216907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b90600090a250565b60606200014f83836040518060600160405280602781526020016200101160279139620002f8565b9392505050565b60006200018060008051602062000ff183398151915260001b6200037760201b6200022e1760201c565b546001600160a01b0316919050565b6001600160a01b038116620001fa5760405162461bcd60e51b815260206004820152602660248201527f455243313936373a206e65772061646d696e20697320746865207a65726f206160448201526564647265737360d01b60648201526084015b60405180910390fd5b806200022360008051602062000ff183398151915260001b6200037760201b6200022e1760201c565b80546001600160a01b0319166001600160a01b039290921691909117905550565b6200025a816200037a60201b620002b81760201c565b620002be5760405162461bcd60e51b815260206004820152602d60248201527f455243313936373a206e657720696d706c656d656e746174696f6e206973206e60448201526c1bdd08184818dbdb9d1c9858dd609a1b6064820152608401620001f1565b80620002237f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc60001b6200037760201b6200022e1760201c565b6060600080856001600160a01b03168560405162000317919062000577565b600060405180830381855af49150503d806000811462000354576040519150601f19603f3d011682016040523d82523d6000602084013e62000359565b606091505b5090925090506200036d8683838762000389565b9695505050505050565b90565b6001600160a01b03163b151590565b60608315620003fd578251600003620003f5576001600160a01b0385163b620003f55760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401620001f1565b508162000409565b62000409838362000411565b949350505050565b815115620004225781518083602001fd5b8060405162461bcd60e51b8152600401620001f1919062000595565b80516001600160a01b03811681146200045657600080fd5b919050565b634e487b7160e01b600052604160045260246000fd5b60005b838110156200048e57818101518382015260200162000474565b50506000910152565b600080600060608486031215620004ad57600080fd5b620004b8846200043e565b9250620004c8602085016200043e565b60408501519092506001600160401b0380821115620004e657600080fd5b818601915086601f830112620004fb57600080fd5b8151818111156200051057620005106200045b565b604051601f8201601f19908116603f011681019083821181831017156200053b576200053b6200045b565b816040528281528960208487010111156200055557600080fd5b6200056883602083016020880162000471565b80955050505050509250925092565b600082516200058b81846020870162000471565b9190910192915050565b6020815260008251806020840152620005b681604085016020870162000471565b601f01601f19169190910160400192915050565b610a1780620005da6000396000f3fe60806040526004361061005e5760003560e01c80635c60da1b116100435780635c60da1b146100a85780638f283970146100e6578063f851a440146101065761006d565b80633659cfe6146100755780634f1ef286146100955761006d565b3661006d5761006b61011b565b005b61006b61011b565b34801561008157600080fd5b5061006b61009036600461088b565b610135565b61006b6100a33660046108a6565b61017f565b3480156100b457600080fd5b506100bd6101f3565b60405173ffffffffffffffffffffffffffffffffffffffff909116815260200160405180910390f35b3480156100f257600080fd5b5061006b61010136600461088b565b610231565b34801561011257600080fd5b506100bd61025e565b6101236102d4565b61013361012e6103ab565b6103b5565b565b61013d6103d9565b73ffffffffffffffffffffffffffffffffffffffff1633036101775761017481604051806020016040528060008152506000610419565b50565b61017461011b565b6101876103d9565b73ffffffffffffffffffffffffffffffffffffffff1633036101eb576101e68383838080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525060019250610419915050565b505050565b6101e661011b565b60006101fd6103d9565b73ffffffffffffffffffffffffffffffffffffffff163303610226576102216103ab565b905090565b61022e61011b565b90565b6102396103d9565b73ffffffffffffffffffffffffffffffffffffffff1633036101775761017481610444565b60006102686103d9565b73ffffffffffffffffffffffffffffffffffffffff163303610226576102216103d9565b60606102b183836040518060600160405280602781526020016109bb602791396104a5565b9392505050565b73ffffffffffffffffffffffffffffffffffffffff163b151590565b6102dc6103d9565b73ffffffffffffffffffffffffffffffffffffffff163303610133576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604260248201527f5472616e73706172656e745570677261646561626c6550726f78793a2061646d60448201527f696e2063616e6e6f742066616c6c6261636b20746f2070726f7879207461726760648201527f6574000000000000000000000000000000000000000000000000000000000000608482015260a4015b60405180910390fd5b600061022161052a565b3660008037600080366000845af43d6000803e8080156103d4573d6000f35b3d6000fd5b60007fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d61035b5473ffffffffffffffffffffffffffffffffffffffff16919050565b61042283610552565b60008251118061042f5750805b156101e65761043e838361028c565b50505050565b7f7e644d79422f17c01e4894b5f4f588d331ebfa28653d42ae832dc59e38c9798f61046d6103d9565b6040805173ffffffffffffffffffffffffffffffffffffffff928316815291841660208301520160405180910390a16101748161059f565b60606000808573ffffffffffffffffffffffffffffffffffffffff16856040516104cf919061094d565b600060405180830381855af49150503d806000811461050a576040519150601f19603f3d011682016040523d82523d6000602084013e61050f565b606091505b5091509150610520868383876106ab565b9695505050505050565b60007f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc6103fd565b61055b81610753565b60405173ffffffffffffffffffffffffffffffffffffffff8216907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b90600090a250565b73ffffffffffffffffffffffffffffffffffffffff8116610642576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f455243313936373a206e65772061646d696e20697320746865207a65726f206160448201527f646472657373000000000000000000000000000000000000000000000000000060648201526084016103a2565b807fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d61035b80547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff9290921691909117905550565b6060831561074157825160000361073a5773ffffffffffffffffffffffffffffffffffffffff85163b61073a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e747261637400000060448201526064016103a2565b508161074b565b61074b838361081e565b949350505050565b73ffffffffffffffffffffffffffffffffffffffff81163b6107f7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602d60248201527f455243313936373a206e657720696d706c656d656e746174696f6e206973206e60448201527f6f74206120636f6e74726163740000000000000000000000000000000000000060648201526084016103a2565b807f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc610665565b81511561082e5781518083602001fd5b806040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016103a29190610969565b803573ffffffffffffffffffffffffffffffffffffffff8116811461088657600080fd5b919050565b60006020828403121561089d57600080fd5b6102b182610862565b6000806000604084860312156108bb57600080fd5b6108c484610862565b9250602084013567ffffffffffffffff808211156108e157600080fd5b818601915086601f8301126108f557600080fd5b81358181111561090457600080fd5b87602082850101111561091657600080fd5b6020830194508093505050509250925092565b60005b8381101561094457818101518382015260200161092c565b50506000910152565b6000825161095f818460208701610929565b9190910192915050565b6020815260008251806020840152610988816040850160208701610929565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016919091016040019291505056fe416464726573733a206c6f772d6c6576656c2064656c65676174652063616c6c206661696c6564a2646970667358221220c7e27bd5f8f3fbd4224ade515af02fedc4538fd375cdbb71576a64b3aa26932564736f6c63430008110033b53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d6103416464726573733a206c6f772d6c6576656c2064656c65676174652063616c6c206661696c6564000000000000000000000000b170f18dca153752b2f35304e5ea581373095f4e00000000000000000000000051c8fa2c1f093ac643f6431766b1c227d869cb6f00000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000000", + "nonce": "0x3e", + "accessList": [] + }, + "additionalContracts": [], + "isFixedGasLimit": false + }, + { + "hash": "0x4795229f7bea4342a8608ac3c94a8c4f30989d516f772c36cac76694e46125dd", + "transactionType": "CALL", + "contractName": "TransparentUpgradeableProxy", + "contractAddress": "0xf2362689DC644450a3Ba3352bAC17A9b872b8871", + "function": null, + "arguments": null, + "transaction": { + "type": "0x02", + "from": "0xedee7b1c9a240c4085a5fcac8f4fa750e3779695", + "to": "0xf2362689dc644450a3ba3352bac17a9b872b8871", + "gas": "0x6b249", + "value": "0x0", + "data": "0x4f3bddeb00000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000004000000000000000000000000c853e4da38d9bd1d01675355b8c8f3bbc1451973000000000000000000000000000000000000000000000000000000000000000e67656172626f782d76332d646169000000000000000000000000000000000000", + "nonce": "0x3f", + "accessList": [] + }, + "additionalContracts": [], + "isFixedGasLimit": false + }, + { + "hash": "0xf7a5a9ad316dc8e7728604f6072aad9137e122c83855521e5af9099d36011f0c", + "transactionType": "CREATE", + "contractName": "TransparentUpgradeableProxy", + "contractAddress": "0xc71da0BAB96E83EaeA92E9E6506c0A7fA0BbBB51", + "function": null, + "arguments": [ + "0xb170F18dca153752b2F35304e5ea581373095f4e", + "0x51c8FA2c1F093AC643f6431766b1c227d869Cb6F", + "0x" + ], + "transaction": { + "type": "0x02", + "from": "0xedee7b1c9a240c4085a5fcac8f4fa750e3779695", + "gas": "0xd8f41", + "value": "0x0", + "data": "0x60806040526040516200103838038062001038833981016040819052620000269162000497565b828162000036828260006200004d565b50620000449050826200008a565b505050620005ca565b6200005883620000e5565b600082511180620000665750805b1562000085576200008383836200012760201b6200028c1760201c565b505b505050565b7f7e644d79422f17c01e4894b5f4f588d331ebfa28653d42ae832dc59e38c9798f620000b562000156565b604080516001600160a01b03928316815291841660208301520160405180910390a1620000e2816200018f565b50565b620000f08162000244565b6040516001600160a01b038216907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b90600090a250565b60606200014f83836040518060600160405280602781526020016200101160279139620002f8565b9392505050565b60006200018060008051602062000ff183398151915260001b6200037760201b6200022e1760201c565b546001600160a01b0316919050565b6001600160a01b038116620001fa5760405162461bcd60e51b815260206004820152602660248201527f455243313936373a206e65772061646d696e20697320746865207a65726f206160448201526564647265737360d01b60648201526084015b60405180910390fd5b806200022360008051602062000ff183398151915260001b6200037760201b6200022e1760201c565b80546001600160a01b0319166001600160a01b039290921691909117905550565b6200025a816200037a60201b620002b81760201c565b620002be5760405162461bcd60e51b815260206004820152602d60248201527f455243313936373a206e657720696d706c656d656e746174696f6e206973206e60448201526c1bdd08184818dbdb9d1c9858dd609a1b6064820152608401620001f1565b80620002237f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc60001b6200037760201b6200022e1760201c565b6060600080856001600160a01b03168560405162000317919062000577565b600060405180830381855af49150503d806000811462000354576040519150601f19603f3d011682016040523d82523d6000602084013e62000359565b606091505b5090925090506200036d8683838762000389565b9695505050505050565b90565b6001600160a01b03163b151590565b60608315620003fd578251600003620003f5576001600160a01b0385163b620003f55760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401620001f1565b508162000409565b62000409838362000411565b949350505050565b815115620004225781518083602001fd5b8060405162461bcd60e51b8152600401620001f1919062000595565b80516001600160a01b03811681146200045657600080fd5b919050565b634e487b7160e01b600052604160045260246000fd5b60005b838110156200048e57818101518382015260200162000474565b50506000910152565b600080600060608486031215620004ad57600080fd5b620004b8846200043e565b9250620004c8602085016200043e565b60408501519092506001600160401b0380821115620004e657600080fd5b818601915086601f830112620004fb57600080fd5b8151818111156200051057620005106200045b565b604051601f8201601f19908116603f011681019083821181831017156200053b576200053b6200045b565b816040528281528960208487010111156200055557600080fd5b6200056883602083016020880162000471565b80955050505050509250925092565b600082516200058b81846020870162000471565b9190910192915050565b6020815260008251806020840152620005b681604085016020870162000471565b601f01601f19169190910160400192915050565b610a1780620005da6000396000f3fe60806040526004361061005e5760003560e01c80635c60da1b116100435780635c60da1b146100a85780638f283970146100e6578063f851a440146101065761006d565b80633659cfe6146100755780634f1ef286146100955761006d565b3661006d5761006b61011b565b005b61006b61011b565b34801561008157600080fd5b5061006b61009036600461088b565b610135565b61006b6100a33660046108a6565b61017f565b3480156100b457600080fd5b506100bd6101f3565b60405173ffffffffffffffffffffffffffffffffffffffff909116815260200160405180910390f35b3480156100f257600080fd5b5061006b61010136600461088b565b610231565b34801561011257600080fd5b506100bd61025e565b6101236102d4565b61013361012e6103ab565b6103b5565b565b61013d6103d9565b73ffffffffffffffffffffffffffffffffffffffff1633036101775761017481604051806020016040528060008152506000610419565b50565b61017461011b565b6101876103d9565b73ffffffffffffffffffffffffffffffffffffffff1633036101eb576101e68383838080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525060019250610419915050565b505050565b6101e661011b565b60006101fd6103d9565b73ffffffffffffffffffffffffffffffffffffffff163303610226576102216103ab565b905090565b61022e61011b565b90565b6102396103d9565b73ffffffffffffffffffffffffffffffffffffffff1633036101775761017481610444565b60006102686103d9565b73ffffffffffffffffffffffffffffffffffffffff163303610226576102216103d9565b60606102b183836040518060600160405280602781526020016109bb602791396104a5565b9392505050565b73ffffffffffffffffffffffffffffffffffffffff163b151590565b6102dc6103d9565b73ffffffffffffffffffffffffffffffffffffffff163303610133576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604260248201527f5472616e73706172656e745570677261646561626c6550726f78793a2061646d60448201527f696e2063616e6e6f742066616c6c6261636b20746f2070726f7879207461726760648201527f6574000000000000000000000000000000000000000000000000000000000000608482015260a4015b60405180910390fd5b600061022161052a565b3660008037600080366000845af43d6000803e8080156103d4573d6000f35b3d6000fd5b60007fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d61035b5473ffffffffffffffffffffffffffffffffffffffff16919050565b61042283610552565b60008251118061042f5750805b156101e65761043e838361028c565b50505050565b7f7e644d79422f17c01e4894b5f4f588d331ebfa28653d42ae832dc59e38c9798f61046d6103d9565b6040805173ffffffffffffffffffffffffffffffffffffffff928316815291841660208301520160405180910390a16101748161059f565b60606000808573ffffffffffffffffffffffffffffffffffffffff16856040516104cf919061094d565b600060405180830381855af49150503d806000811461050a576040519150601f19603f3d011682016040523d82523d6000602084013e61050f565b606091505b5091509150610520868383876106ab565b9695505050505050565b60007f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc6103fd565b61055b81610753565b60405173ffffffffffffffffffffffffffffffffffffffff8216907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b90600090a250565b73ffffffffffffffffffffffffffffffffffffffff8116610642576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f455243313936373a206e65772061646d696e20697320746865207a65726f206160448201527f646472657373000000000000000000000000000000000000000000000000000060648201526084016103a2565b807fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d61035b80547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff9290921691909117905550565b6060831561074157825160000361073a5773ffffffffffffffffffffffffffffffffffffffff85163b61073a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e747261637400000060448201526064016103a2565b508161074b565b61074b838361081e565b949350505050565b73ffffffffffffffffffffffffffffffffffffffff81163b6107f7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602d60248201527f455243313936373a206e657720696d706c656d656e746174696f6e206973206e60448201527f6f74206120636f6e74726163740000000000000000000000000000000000000060648201526084016103a2565b807f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc610665565b81511561082e5781518083602001fd5b806040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016103a29190610969565b803573ffffffffffffffffffffffffffffffffffffffff8116811461088657600080fd5b919050565b60006020828403121561089d57600080fd5b6102b182610862565b6000806000604084860312156108bb57600080fd5b6108c484610862565b9250602084013567ffffffffffffffff808211156108e157600080fd5b818601915086601f8301126108f557600080fd5b81358181111561090457600080fd5b87602082850101111561091657600080fd5b6020830194508093505050509250925092565b60005b8381101561094457818101518382015260200161092c565b50506000910152565b6000825161095f818460208701610929565b9190910192915050565b6020815260008251806020840152610988816040850160208701610929565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016919091016040019291505056fe416464726573733a206c6f772d6c6576656c2064656c65676174652063616c6c206661696c6564a2646970667358221220c7e27bd5f8f3fbd4224ade515af02fedc4538fd375cdbb71576a64b3aa26932564736f6c63430008110033b53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d6103416464726573733a206c6f772d6c6576656c2064656c65676174652063616c6c206661696c6564000000000000000000000000b170f18dca153752b2f35304e5ea581373095f4e00000000000000000000000051c8fa2c1f093ac643f6431766b1c227d869cb6f00000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000000", + "nonce": "0x40", + "accessList": [] + }, + "additionalContracts": [], + "isFixedGasLimit": false + }, + { + "hash": "0xbaf6b6684531af91914641784752c387d5f96153843ed24435519aac8243f7b1", + "transactionType": "CALL", + "contractName": "TransparentUpgradeableProxy", + "contractAddress": "0xc71da0BAB96E83EaeA92E9E6506c0A7fA0BbBB51", + "function": null, + "arguments": null, + "transaction": { + "type": "0x02", + "from": "0xedee7b1c9a240c4085a5fcac8f4fa750e3779695", + "to": "0xc71da0bab96e83eaea92e9e6506c0a7fa0bbbb51", + "gas": "0x65330", + "value": "0x0", + "data": "0x4f3bddeb0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000000300000000000000000000000016adab68bdece3089d4f1626bb5aedd0d02471ad000000000000000000000000000000000000000000000000000000000000000f67656172626f782d76332d757364740000000000000000000000000000000000", + "nonce": "0x41", + "accessList": [] + }, + "additionalContracts": [], + "isFixedGasLimit": false + } + ], + "receipts": [ + { + "transactionHash": "0xf356f1839ca5373c809aa7c0201fd4d72fbf0a45be2d4bcb05881dfa17ceaeda", + "transactionIndex": "0x1a", + "blockHash": "0xf15ad65cb1857c370fbc0fa4037c353725cc63cb829be0645b39fa4bb9aca503", + "blockNumber": "0x13a16f8", + "from": "0xeDee7B1C9a240C4085A5fCAC8f4Fa750E3779695", + "to": null, + "cumulativeGasUsed": "0x2704a2", + "gasUsed": "0xa6e32", + "contractAddress": "0xf2362689DC644450a3Ba3352bAC17A9b872b8871", + "logs": [ + { + "address": "0xf2362689DC644450a3Ba3352bAC17A9b872b8871", + "topics": [ + "0xbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b", + "0x000000000000000000000000b170f18dca153752b2f35304e5ea581373095f4e" + ], + "data": "0x", + "blockHash": "0xf15ad65cb1857c370fbc0fa4037c353725cc63cb829be0645b39fa4bb9aca503", + "blockNumber": "0x13a16f8", + "transactionHash": "0xf356f1839ca5373c809aa7c0201fd4d72fbf0a45be2d4bcb05881dfa17ceaeda", + "transactionIndex": "0x1a", + "logIndex": "0x2f", + "removed": false + }, + { + "address": "0xf2362689DC644450a3Ba3352bAC17A9b872b8871", + "topics": [ + "0x7e644d79422f17c01e4894b5f4f588d331ebfa28653d42ae832dc59e38c9798f" + ], + "data": "0x000000000000000000000000000000000000000000000000000000000000000000000000000000000000000051c8fa2c1f093ac643f6431766b1c227d869cb6f", + "blockHash": "0xf15ad65cb1857c370fbc0fa4037c353725cc63cb829be0645b39fa4bb9aca503", + "blockNumber": "0x13a16f8", + "transactionHash": "0xf356f1839ca5373c809aa7c0201fd4d72fbf0a45be2d4bcb05881dfa17ceaeda", + "transactionIndex": "0x1a", + "logIndex": "0x30", + "removed": false + } + ], + "status": "0x1", + "logsBloom": "0x00000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000400000000000000000200002000000000000000000000000100000000000000000000000000000000000000000000000800000000000000000000000000010000000000000000000000000000000000000000000000000000000800000000000000000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000400000000000000000000000000000000000000000001000000800000000000000000000000000000000000", + "type": "0x2", + "effectiveGasPrice": "0xfdfef27a" + }, + { + "transactionHash": "0x4795229f7bea4342a8608ac3c94a8c4f30989d516f772c36cac76694e46125dd", + "transactionIndex": "0x30", + "blockHash": "0x9ccb5d37784f70f40001fe8abbf093fe25d7c447a0ae869778312ef7f6d4ef8b", + "blockNumber": "0x13a16f9", + "from": "0xeDee7B1C9a240C4085A5fCAC8f4Fa750E3779695", + "to": "0xf2362689DC644450a3Ba3352bAC17A9b872b8871", + "cumulativeGasUsed": "0x470511", + "gasUsed": "0x4942a", + "contractAddress": null, + "logs": [ + { + "address": "0xf2362689DC644450a3Ba3352bAC17A9b872b8871", + "topics": [ + "0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498" + ], + "data": "0x0000000000000000000000000000000000000000000000000000000000000001", + "blockHash": "0x9ccb5d37784f70f40001fe8abbf093fe25d7c447a0ae869778312ef7f6d4ef8b", + "blockNumber": "0x13a16f9", + "transactionHash": "0x4795229f7bea4342a8608ac3c94a8c4f30989d516f772c36cac76694e46125dd", + "transactionIndex": "0x30", + "logIndex": "0x88", + "removed": false + } + ], + "status": "0x1", + "logsBloom": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000080000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000001000000800000000000000000000000000000000000", + "type": "0x2", + "effectiveGasPrice": "0xfdfef27a" + }, + { + "transactionHash": "0xf7a5a9ad316dc8e7728604f6072aad9137e122c83855521e5af9099d36011f0c", + "transactionIndex": "0x96", + "blockHash": "0x0fab63bd45f7be41c2b73cd5a615f0e18552092ebba27026b2f4ba9fd253a758", + "blockNumber": "0x13a16fa", + "from": "0xeDee7B1C9a240C4085A5fCAC8f4Fa750E3779695", + "to": null, + "cumulativeGasUsed": "0x125e36e", + "gasUsed": "0xa6e32", + "contractAddress": "0xc71da0BAB96E83EaeA92E9E6506c0A7fA0BbBB51", + "logs": [ + { + "address": "0xc71da0BAB96E83EaeA92E9E6506c0A7fA0BbBB51", + "topics": [ + "0xbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b", + "0x000000000000000000000000b170f18dca153752b2f35304e5ea581373095f4e" + ], + "data": "0x", + "blockHash": "0x0fab63bd45f7be41c2b73cd5a615f0e18552092ebba27026b2f4ba9fd253a758", + "blockNumber": "0x13a16fa", + "transactionHash": "0xf7a5a9ad316dc8e7728604f6072aad9137e122c83855521e5af9099d36011f0c", + "transactionIndex": "0x96", + "logIndex": "0x1ee", + "removed": false + }, + { + "address": "0xc71da0BAB96E83EaeA92E9E6506c0A7fA0BbBB51", + "topics": [ + "0x7e644d79422f17c01e4894b5f4f588d331ebfa28653d42ae832dc59e38c9798f" + ], + "data": "0x000000000000000000000000000000000000000000000000000000000000000000000000000000000000000051c8fa2c1f093ac643f6431766b1c227d869cb6f", + "blockHash": "0x0fab63bd45f7be41c2b73cd5a615f0e18552092ebba27026b2f4ba9fd253a758", + "blockNumber": "0x13a16fa", + "transactionHash": "0xf7a5a9ad316dc8e7728604f6072aad9137e122c83855521e5af9099d36011f0c", + "transactionIndex": "0x96", + "logIndex": "0x1ef", + "removed": false + } + ], + "status": "0x1", + "logsBloom": "0x00000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000040000000000400000000000000000200002000000000000000000000000100000000000000000000000000000000000000000000000800000000000000000000000000000000000000000000000000000000000000000000000000000000000800000000000000000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000008400000000000000000000200000000000000000000000000000000000000000000000000000000000000000", + "type": "0x2", + "effectiveGasPrice": "0xfdfef27a" + }, + { + "transactionHash": "0xbaf6b6684531af91914641784752c387d5f96153843ed24435519aac8243f7b1", + "transactionIndex": "0x5", + "blockHash": "0x18cfca7c81d3e846f5c509969083dc90124ddffd771c78520a86685ba337a08e", + "blockNumber": "0x13a16fb", + "from": "0xeDee7B1C9a240C4085A5fCAC8f4Fa750E3779695", + "to": "0xc71da0BAB96E83EaeA92E9E6506c0A7fA0BbBB51", + "cumulativeGasUsed": "0x18d564", + "gasUsed": "0x49444", + "contractAddress": null, + "logs": [ + { + "address": "0xc71da0BAB96E83EaeA92E9E6506c0A7fA0BbBB51", + "topics": [ + "0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498" + ], + "data": "0x0000000000000000000000000000000000000000000000000000000000000001", + "blockHash": "0x18cfca7c81d3e846f5c509969083dc90124ddffd771c78520a86685ba337a08e", + "blockNumber": "0x13a16fb", + "transactionHash": "0xbaf6b6684531af91914641784752c387d5f96153843ed24435519aac8243f7b1", + "transactionIndex": "0x5", + "logIndex": "0x29", + "removed": false + } + ], + "status": "0x1", + "logsBloom": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000080000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000040000000000008000000000000000000000200000000000000000000000000000000000000000000000000000000000000000", + "type": "0x2", + "effectiveGasPrice": "0xfdfef27a" + } + ], + "libraries": [ + "script/helper/Arrays.sol:Arrays:0x1eb431a15a272a3351dcb3be7ad37f4bf7c8ab50", + "script/helper/ArraysHelper.sol:ArraysHelper:0x5665Aa09D1A8b3775024e62E82A902Ae760eebbA", + "src/libraries/ArrayMapping.sol:ArrayMappingUint256:0xB6B08a9ed9282c695ddFbfA81d9ebF208b4c1De0", + "src/libraries/ReallocationLib.sol:ReallocationLib:0x49CE6640EB2D89F80395C1a3695cc3a01b5C7bc1", + "src/libraries/SpoolUtils.sol:SpoolUtils:0xCB3fECd1D5eabB1b18383604A28352c17Bdfef89", + "src/strategies/libraries/EthFrxEthAssetGroupAdapter.sol:EthFrxEthAssetGroupAdapter:0xE23681bAA697EF5054E2D8C397ae59145027625D", + "src/strategies/libraries/EthStEthAssetGroupAdapter.sol:EthStEthAssetGroupAdapter:0x1516eb3a54377168b6b184326200f4258C3529dF" + ], + "pending": [], + "returns": {}, + "timestamp": 1724330230, + "chain": 1, + "multi": false, + "commit": "ac44124" +} \ No newline at end of file diff --git a/deploy/mainnet-production.contracts.json b/deploy/mainnet-production.contracts.json index 576b2fd3..44ddd605 100644 --- a/deploy/mainnet-production.contracts.json +++ b/deploy/mainnet-production.contracts.json @@ -83,6 +83,13 @@ "implementation": "0x74a0EE4111e586b048EE1b6286a4F78e7DAFb63e", "proxy": "0xC62AD2C374D6537E286a06F4d6301DA6cd9C6D0a" }, + "guards": { + "timelockGuard": "0xC8E48fc7Ebd0db581570244BC98858aFc9036a56" + }, + "riskProviders": { + "spoolLabs": "0xC216aD6280f4fa92A5159EF383a1206D432481c8", + "DeFi": "0x9098c4936138536849d7ee6447777626ea202bd1" + }, "strategies": { "aave-v2": { "aave-v2-dai": "0x27f38719608422Af8a31509CBBB5fAcD582f6e1F", @@ -118,7 +125,9 @@ "implementation": "0xDd118AEd7643D152708EbFee068aB3eA181F431E" }, "gearbox-v3": { + "gearbox-v3-dai": "0xf2362689DC644450a3Ba3352bAC17A9b872b8871", "gearbox-v3-usdc": "0xb4a7fb51D06760B5F622643B7276c003418732bD", + "gearbox-v3-usdt": "0xc71da0BAB96E83EaeA92E9E6506c0A7fA0BbBB51", "gearbox-v3-weth": "0xD92B65d2321076FBAc23FCfC9A9Fd5Ed2E98B758", "implementation": "0xb170F18dca153752b2F35304e5ea581373095f4e", "implementation-airdrop": "0x64a21Ca82fe09712af8CeC6C5fED62e97Bae33A1" @@ -186,12 +195,5 @@ "implementation": "0x123dB049CC5Ee36010f5148000754181aB87b3B3", "yearn-v3-juiced-dai": "0x2e988479F14Ff61586F8Fd0F09E8720484Eb6030" } - }, - "riskProviders": { - "spoolLabs": "0xC216aD6280f4fa92A5159EF383a1206D432481c8", - "DeFi": "0x9098c4936138536849d7ee6447777626ea202bd1" - }, - "guards": { - "timelockGuard": "0xC8E48fc7Ebd0db581570244BC98858aFc9036a56" } } diff --git a/script/mainnet/StrategiesInitial.s.sol b/script/mainnet/StrategiesInitial.s.sol index 716044ae..2e65fb13 100644 --- a/script/mainnet/StrategiesInitial.s.sol +++ b/script/mainnet/StrategiesInitial.s.sol @@ -953,7 +953,7 @@ contract StrategiesInitial { returns (GearboxV3Strategy implementation) { implementation = new GearboxV3Strategy(contracts.assetGroupRegistry, contracts.accessControl, contracts.swapper); - contractsJson().addVariantStrategyImplementation(METAMORPHO_KEY, address(implementation)); + contractsJson().addVariantStrategyImplementation(GEARBOX_V3_KEY, address(implementation)); } function getGearboxV3Implementation() public view returns (GearboxV3Strategy) {