Skip to content

Commit

Permalink
feat: ezETH/WETH mainnet deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
junkim012 committed Jun 4, 2024
1 parent 932bc9a commit c6b22dc
Show file tree
Hide file tree
Showing 17 changed files with 1,560 additions and 522 deletions.
55 changes: 55 additions & 0 deletions broadcast/02_DeployInterestRateModule.s.sol/1/run-1717522666.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
{
"transactions": [
{
"hash": "0x575684dd60cbd00902a0b6b1ea38fdb97b5211aa606b4bb27524b7769e813e38",
"transactionType": "CREATE2",
"contractName": "InterestRate",
"contractAddress": "0xccfd0fdee103b4b4e45b5d8934540070219a6653",
"function": null,
"arguments": [
"[(0, 3967964580300000000, 0, 0, 1796798806700000000, 9000, 10000, 0, 64011036758000000000)]",
"0x437CC840e234C2127f54CD59B0B18aF59c586760"
],
"transaction": {
"from": "0x94544835cf97c631f101c5f538787fe14e2e04f6",
"to": "0x4e59b44847b379578588920ca78fbf26c0b4956c",
"gas": "0x1209ae",
"value": "0x0",
"input": "0x00000000000000000000000000000000000000000000000000000000000000016103c060405234801562000011575f80fd5b50604051620016173803806200161783398101604081905262000034916200054d565b6001600160a01b0381166200005c57604051633a9f6af760e11b815260040160405180910390fd5b6008825111156200008f578151604051637792a1c560e11b81526004016200008691815260200190565b60405180910390fd5b8151610380526001600160a01b0381166103a0525f805b61038051811015620002a457838181518110620000c757620000c7620006ca565b602002602001015160c0015161ffff1682620000e49190620006de565b9150838181518110620000fb57620000fb620006ca565b6020026020010151608001516001600160601b0316848281518110620001255762000125620006ca565b6020026020010151602001516001600160601b03161015620001b457838181518110620001565762000156620006ca565b602002602001015160200151848281518110620001775762000177620006ca565b602002602001015160800151604051633f6ca22160e11b8152600401620000869291906001600160601b0392831681529116602082015260400190565b838181518110620001c957620001c9620006ca565b602002602001015160a0015161ffff165f036200022657838181518110620001f557620001f5620006ca565b602002602001015160a0015160405163f2ae6b3d60e01b815260040162000086919061ffff91909116815260200190565b6127108482815181106200023e576200023e620006ca565b60200260200101516040015161ffff1611156200029b578381815181106200026a576200026a620006ca565b602002602001015160400151604051630cd3498760e11b815260040162000086919061ffff91909116815260200190565b600101620000a6565b508061271014620002cc5760405163b9778c0960e01b81526004810182905260240162000086565b620002d8835f62000399565b60c05260a052608052620002ee83600162000399565b610120526101005260e0526200030683600262000399565b6101805261016052610140526200031f83600362000399565b6101e0526101c0526101a0526200033883600462000399565b6102405261022052610200526200035183600562000399565b6102a05261028052610260526200036a83600662000399565b610300526102e0526102c0526200038383600762000399565b6103605261034052610320525062000704915050565b5f805f610380518410620003b557505f9150819050806200048e565b5f858581518110620003cb57620003cb620006ca565b60200260200101519050606060ff1681602001516001600160601b0316901b5f60ff16825f01516001600160601b0316901b17935060e060ff168160c0015161ffff16901b60d060ff168260a0015161ffff16901b607060ff1683608001516001600160601b0316901b601060ff1684606001516001600160601b0316901b5f60ff16856040015161ffff16901b171717179250606060ff168161010001516001600160601b0316901b5f60ff168260e001516001600160601b0316901b179150505b9250925092565b634e487b7160e01b5f52604160045260245ffd5b60405161012081016001600160401b0381118282101715620004cf57620004cf62000495565b60405290565b604051601f8201601f191681016001600160401b038111828210171562000500576200050062000495565b604052919050565b80516001600160601b03811681146200051f575f80fd5b919050565b805161ffff811681146200051f575f80fd5b80516001600160a01b03811681146200051f575f80fd5b5f80604080848603121562000560575f80fd5b83516001600160401b038082111562000577575f80fd5b818601915086601f8301126200058b575f80fd5b8151602082821115620005a257620005a262000495565b620005b2818360051b01620004d5565b828152818101935061012092830285018201928a841115620005d2575f80fd5b948201945b83861015620006ac5780868c031215620005f0575f8081fd5b620005fa620004a9565b620006058762000508565b81526200061484880162000508565b848201526200062588880162000524565b8882015260606200063881890162000508565b9082015260806200064b88820162000508565b9082015260a06200065e88820162000524565b9082015260c06200067188820162000524565b9082015260e06200068488820162000508565b908201526101006200069888820162000508565b9082015285529485019493820193620005d7565b509650620006bc88820162000536565b955050505050509250929050565b634e487b7160e01b5f52603260045260245ffd5b80820180821115620006fe57634e487b7160e01b5f52601160045260245ffd5b92915050565b60805160a05160c05160e05161010051610120516101405161016051610180516101a0516101c0516101e05161020051610220516102405161026051610280516102a0516102c0516102e05161030051610320516103405161036051610380516103a051610df7620008205f395f8181605301526101a801525f818160b7015261051a01525f6108e401525f6108c101525f61089e01525f61086f01525f61084c01525f61082901525f6107fa01525f6107d701525f6107b401525f61078501525f61076201525f61073f01525f61071001525f6106ed01525f6106ca01525f61069b01525f61067801525f61065501525f61062601525f61060301525f6105e001525f6105b101525f61058e01525f61056b0152610df75ff3fe608060405234801561000f575f80fd5b506004361061004a575f3560e01c806309ea519f1461004e578063161fa6561461009257806348d4b487146100b2578063fe4bab43146100e7575b5f80fd5b6100757f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b0390911681526020015b60405180910390f35b6100a56100a0366004610afa565b61010f565b6040516100899190610b11565b6100d97f000000000000000000000000000000000000000000000000000000000000000081565b604051908152602001610089565b6100fa6100f5366004610bdf565b610166565b60408051928352602083019190915201610089565b60408051610120810182525f80825260208201819052918101829052606081018290526080810182905260a0810182905260c0810182905260e08101829052610100810191909152610160826104cb565b92915050565b5f805f610172866104cb565b90505f61019160048360a0015161ffff1661098090919063ffffffff16565b90505f6301e1338065ffffffffffff1661024760087f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166381ce1c238c6040518263ffffffff1660e01b81526004016101f491815260200190565b602060405180830381865afa15801561020f573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906102339190610c08565b63ffffffff1661098090919063ffffffff16565b6102519190610c53565b60c084015190915061ffff165f819003610297576020840151604085015161027e9061ffff166004610980565b816001600160601b0316915095509550505050506104c3565b5f6102ad6102a6836004610994565b89906109a1565b90505f81156102c5576102c0828b610c53565b6102c7565b5f5b606087015187519192505f916001600160601b039182169116860303858111156102ee57505f5b6102f881886109b5565b9150505f6103238789608001518a602001516103149190610c72565b6001600160601b0316906109b5565b9050868310156103c15760608801515f906001600160601b031661034784866109cd565b6103519190610c99565b60808a01519091505f906001600160601b031661036e84876109cd565b6103789190610c99565b9050808210156103ab5760408a015181906103989061ffff166004610980565b9b509b50505050505050505050506104c3565b60408a015182906103989061ffff166004610980565b5f6103cc8885610cac565b60608a01519091505f906001600160601b03166103e9858b6109cd565b6103f39190610c99565b60808b01519091505f906001600160601b0316610410858c6109cd565b61041a9190610c99565b90505f8261043e858e60e001516001600160601b03166109cd90919063ffffffff16565b6104489190610c99565b90505f8261046d868f61010001516001600160601b03166109cd90919063ffffffff16565b6104779190610c99565b9050808210156104ad5760408d015181906104979061ffff166004610980565b9e509e50505050505050505050505050506104c3565b60408d015182906104979061ffff166004610980565b935093915050565b60408051610120810182525f80825260208201819052918101829052606081018290526080810182905260a0810182905260c0810182905260e0810182905261010081019190915261053e60017f0000000000000000000000000000000000000000000000000000000000000000610cac565b82111561055e5760405163ca89fc4960e01b815260040160405180910390fd5b5f805f845f036105d557507f000000000000000000000000000000000000000000000000000000000000000091507f000000000000000000000000000000000000000000000000000000000000000090507f0000000000000000000000000000000000000000000000000000000000000000610904565b8460010361064a57507f000000000000000000000000000000000000000000000000000000000000000091507f000000000000000000000000000000000000000000000000000000000000000090507f0000000000000000000000000000000000000000000000000000000000000000610904565b846002036106bf57507f000000000000000000000000000000000000000000000000000000000000000091507f000000000000000000000000000000000000000000000000000000000000000090507f0000000000000000000000000000000000000000000000000000000000000000610904565b8460030361073457507f000000000000000000000000000000000000000000000000000000000000000091507f000000000000000000000000000000000000000000000000000000000000000090507f0000000000000000000000000000000000000000000000000000000000000000610904565b846004036107a957507f000000000000000000000000000000000000000000000000000000000000000091507f000000000000000000000000000000000000000000000000000000000000000090507f0000000000000000000000000000000000000000000000000000000000000000610904565b8460050361081e57507f000000000000000000000000000000000000000000000000000000000000000091507f000000000000000000000000000000000000000000000000000000000000000090507f0000000000000000000000000000000000000000000000000000000000000000610904565b8460060361089357507f000000000000000000000000000000000000000000000000000000000000000091507f000000000000000000000000000000000000000000000000000000000000000090507f0000000000000000000000000000000000000000000000000000000000000000610904565b8460070361090457507f000000000000000000000000000000000000000000000000000000000000000091507f000000000000000000000000000000000000000000000000000000000000000090507f00000000000000000000000000000000000000000000000000000000000000005b60408051610120810182526001600160601b038581168252606095861c8116602083015261ffff85811693830193909352601085901c811682870152607085901c8116608083015260d085901c831660a083015260e094851c90921660c082015282821693810193909352921c90911661010082015292915050565b5f61098d8383601b6109e5565b9392505050565b5f61098d838360126109e5565b5f61098d8383670de0b6b3a7640000610a3b565b5f61098d836b033b2e3c9fd0803ce800000084610a3b565b5f61098d83836b033b2e3c9fd0803ce8000000610a3b565b5f818310610a1457604051631a065cf160e01b8152600481018490526024810183905260440160405180910390fd5b610a1e8383610cac565b610a2990600a610d9f565b610a339085610daa565b949350505050565b5f838302815f1985870982811083820303915050805f03610a6f57838281610a6557610a65610c2b565b049250505061098d565b808411610a8f5760405163227bc15360e01b815260040160405180910390fd5b5f848688095f868103871696879004966002600389028118808a02820302808a02820302808a02820302808a02820302808a02820302808a02909103029181900381900460010186841190950394909402919094039290920491909117919091029150509392505050565b5f60208284031215610b0a575f80fd5b5035919050565b5f610120820190506001600160601b03808451168352806020850151166020840152506040830151610b49604084018261ffff169052565b506060830151610b6460608401826001600160601b03169052565b506080830151610b7f60808401826001600160601b03169052565b5060a0830151610b9560a084018261ffff169052565b5060c0830151610bab60c084018261ffff169052565b5060e0830151610bc660e08401826001600160601b03169052565b50610100928301516001600160601b0316919092015290565b5f805f60608486031215610bf1575f80fd5b505081359360208301359350604090920135919050565b5f60208284031215610c18575f80fd5b815163ffffffff8116811461098d575f80fd5b634e487b7160e01b5f52601260045260245ffd5b634e487b7160e01b5f52601160045260245ffd5b5f82610c6d57634e487b7160e01b5f52601260045260245ffd5b500490565b6001600160601b03828116828216039080821115610c9257610c92610c3f565b5092915050565b8082018082111561016057610160610c3f565b8181038181111561016057610160610c3f565b600181815b80851115610cf957815f1904821115610cdf57610cdf610c3f565b80851615610cec57918102915b93841c9390800290610cc4565b509250929050565b5f82610d0f57506001610160565b81610d1b57505f610160565b8160018114610d315760028114610d3b57610d57565b6001915050610160565b60ff841115610d4c57610d4c610c3f565b50506001821b610160565b5060208310610133831016604e8410600b8410161715610d7a575081810a610160565b610d848383610cbf565b805f1904821115610d9757610d97610c3f565b029392505050565b5f61098d8383610d01565b808202811582820484141761016057610160610c3f56fea26469706673582212209d0d4ea6d4eff30d812dfb5bf3c9b9bbac7484cc830ec620499a3c7b2266deaa64736f6c634300081500330000000000000000000000000000000000000000000000000000000000000040000000000000000000000000437cc840e234c2127f54cd59b0b18af59c5867600000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000037110ac33a1d0b000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000018ef82feae3303000000000000000000000000000000000000000000000000000000000000002328000000000000000000000000000000000000000000000000000000000000271000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000037854e2c9510fdc00",
"nonce": "0x4",
"chainId": "0x1"
},
"additionalContracts": [],
"isFixedGasLimit": false
}
],
"receipts": [
{
"status": "0x1",
"cumulativeGasUsed": "0xa4e0a1",
"logs": [],
"logsBloom": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
"type": "0x2",
"transactionHash": "0x575684dd60cbd00902a0b6b1ea38fdb97b5211aa606b4bb27524b7769e813e38",
"transactionIndex": "0x7a",
"blockHash": "0x21f5e7d4e89f5c4a0e1376ef76f20aeb199d8a02e3e01f727f1b1768770bce16",
"blockNumber": "0x1317b1b",
"gasUsed": "0xd0f1f",
"effectiveGasPrice": "0x3ccfa56ad",
"from": "0x94544835cf97c631f101c5f538787fe14e2e04f6",
"to": "0x4e59b44847b379578588920ca78fbf26c0b4956c",
"contractAddress": "0xccfd0fdee103b4b4e45b5d8934540070219a6653"
}
],
"libraries": [],
"pending": [],
"returns": {
"interestRateModule": {
"internal_type": "contract InterestRate",
"value": "0xCcfD0fDEE103B4b4e45B5D8934540070219A6653"
}
},
"timestamp": 1717522666,
"chain": 1,
"commit": "932bc9a"
}
Loading

0 comments on commit c6b22dc

Please sign in to comment.