From b43d3fa0c46eb168f39b72c6d3a12af744a570ed Mon Sep 17 00:00:00 2001 From: gs8nrv <55771972+GuillaumeNervoXS@users.noreply.github.com> Date: Fri, 19 Apr 2024 09:01:47 +0200 Subject: [PATCH] feat: deploy PTweETHOracle --- .../PTweETHOracle.s.sol/1/run-1713426235.json | 52 +++++++++++++++++++ .../PTweETHOracle.s.sol/1/run-1713426341.json | 52 +++++++++++++++++++ .../PTweETHOracle.s.sol/1/run-1713426446.json | 52 +++++++++++++++++++ .../PTweETHOracle.s.sol/1/run-1713426471.json | 52 +++++++++++++++++++ .../PTweETHOracle.s.sol/1/run-latest.json | 52 +++++++++++++++++++ contracts/oracle/BaseOraclePTPendle.sol | 2 +- package.json | 6 +-- scripts/foundry/mainnet/PTweETHOracle.s.sol | 34 ++++++++++++ 8 files changed, 298 insertions(+), 4 deletions(-) create mode 100644 broadcast/PTweETHOracle.s.sol/1/run-1713426235.json create mode 100644 broadcast/PTweETHOracle.s.sol/1/run-1713426341.json create mode 100644 broadcast/PTweETHOracle.s.sol/1/run-1713426446.json create mode 100644 broadcast/PTweETHOracle.s.sol/1/run-1713426471.json create mode 100644 broadcast/PTweETHOracle.s.sol/1/run-latest.json create mode 100644 scripts/foundry/mainnet/PTweETHOracle.s.sol diff --git a/broadcast/PTweETHOracle.s.sol/1/run-1713426235.json b/broadcast/PTweETHOracle.s.sol/1/run-1713426235.json new file mode 100644 index 00000000..4122f2a5 --- /dev/null +++ b/broadcast/PTweETHOracle.s.sol/1/run-1713426235.json @@ -0,0 +1,52 @@ +{ + "transactions": [ + { + "hash": "0x94abfc2f35a94dccf0550fdf93aff5db135f6c0e7e246dbc1e46e41e5bf3bff2", + "transactionType": "CREATE", + "contractName": "MorphoFeedPTweETH", + "contractAddress": "0xC9dfD5c18F12a3BA6293001700810602efe0c45B", + "function": null, + "arguments": [ + "0x5bc6BEf80DA563EBf6Df6D6913513fa9A7ec89BE", + "500000000000000000", + "1800" + ], + "transaction": { + "type": "0x02", + "from": "0xa9ddd91249dfdd450e81e1c56ab60e1a62651701", + "gas": "0x25c142", + "value": "0x0", + "data": "0x60806040523480156200001157600080fd5b506040516200217c3803806200217c8339810160408190526200003491620000d8565b8282828181846001600160a01b038116620000625760405163d92e233d60e01b815260040160405180910390fd5b600080546001600160a01b0319166001600160a01b039290921691909117905561038463ffffffff82161015620000ac57604051630d72bb8f60e41b815260040160405180910390fd5b6001919091556002805463ffffffff191663ffffffff9092169190911790555062000133945050505050565b600080600060608486031215620000ee57600080fd5b83516001600160a01b03811681146200010657600080fd5b60208501516040860151919450925063ffffffff811681146200012857600080fd5b809150509250925092565b61203980620001436000396000f3fe608060405234801561001057600080fd5b50600436106100e65760003560e01c8063181cc05b146100eb578063204f83f91461010957806326d895451461011d578063313ce567146101425780633406b6d11461015157806338d52e0f14610166578063521d4de91461016e57806354fd4d50146101915780637284e4161461019857806380f55605146101d957806383914540146101e1578063921a12ab146101ec5780639a6fc8f5146101f5578063b4a0bdf31461023c578063c433c80a1461024f578063d965a5d214610262578063e43581b814610271578063feaf968c14610284575b600080fd5b6100f361028c565b6040516101009190611c39565b60405180910390f35b63667cab805b604051908152602001610100565b60025461012d9063ffffffff1681565b60405163ffffffff9091168152602001610100565b60405160128152602001610100565b61016461015f366004611c4d565b6102a4565b005b6100f361036e565b61018161017c366004611c7e565b610386565b6040519015158152602001610100565b600161010f565b6101cc6040518060400160405280601581526020017450542d77654554482f7765455448204f7261636c6560581b81525081565b6040516101009190611c9b565b6100f36103fe565b61010f6301e1338081565b61010f60015481565b610208610203366004611cea565b610416565b604080516001600160501b03968716815260208101959095528401929092526060830152909116608082015260a001610100565b6000546100f3906001600160a01b031681565b61016461025d366004611d13565b61043b565b61010f670de0b6b3a764000081565b61018161027f366004611c7e565b61053a565b61020861056b565b73ac0047886a985071476a1186be89222659970d6590565b60005460405163521d4de960e01b81526001600160a01b039091169063521d4de9906102d4903390600401611c39565b602060405180830381865afa1580156102f1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103159190611d39565b61033257604051632678482f60e21b815260040160405180910390fd5b60018190556040518181527f1693f12ff158ba72b61d65dce0487c8c9166916e22e284990a7e42b5f38b080a906020015b60405180910390a150565b73cd5fe23c85820f7b72d0926fc9b05b43e359b7ee90565b6000805460405163521d4de960e01b81526001600160a01b039091169063521d4de9906103b7908590600401611c39565b602060405180830381865afa1580156103d4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103f89190611d39565b92915050565b73f32e58f92e60f4b0a37a69b95d642a471365eae890565b60008060008060008061042761058f565b909790965060009550859450849350915050565b60005460405163521d4de960e01b81526001600160a01b039091169063521d4de99061046b903390600401611c39565b602060405180830381865afa158015610488573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104ac9190611d39565b6104c957604051632678482f60e21b815260040160405180910390fd5b6103848163ffffffff1610156104f257604051630d72bb8f60e41b815260040160405180910390fd5b6002805463ffffffff191663ffffffff83169081179091556040519081527f87edb95cfb8afc62e405f2bb9fe4ec71648ccecc13387d294c8a5eb09ca53fd790602001610363565b60008054604051631c86b03760e31b81526001600160a01b039091169063e43581b8906103b7908590600401611c39565b60008060008060008061057c61058f565b9096909550600094508493508392509050565b60008061059a6105ec565b905060006105a6610681565b905060008183116105b757826105b9565b815b90506000670de0b6b3a7640000826105cf6106a1565b6105d99190611d71565b6105e39190611d9e565b95945050505050565b60008063667cab80421161060d576106084263667cab80611db2565b610610565b60005b90508060000361062957670de0b6b3a764000091505090565b600061065d61063c836301e133806107c8565b61065761064860015490565b670de0b6b3a7640000906107e7565b906107f6565b90506000610679610676670de0b6b3a7640000846107c8565b90565b949350505050565b600061069c61068e6103fe565b60025463ffffffff16610906565b905090565b6000806106ac61036e565b6001600160a01b03166370a082316106c261028c565b6040518263ffffffff1660e01b81526004016106de9190611c39565b602060405180830381865afa1580156106fb573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061071f9190611dc5565b9050600061072b61028c565b6001600160a01b03166318160ddd6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610768573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061078c9190611dc5565b90508082116107b757806107a8670de0b6b3a764000084611d71565b6107b29190611d9e565b6107c1565b670de0b6b3a76400005b9250505090565b60006107e061067684670de0b6b3a764000085610949565b9392505050565b60006107e06106768385611dde565b6000828281830361082157801561080e576000610818565b670de0b6b3a76400005b925050506103f8565b670de0b6b3a7640000820361084257670de0b6b3a7640000925050506103f8565b8060000361085c57670de0b6b3a7640000925050506103f8565b670de0b6b3a764000081036108755784925050506103f8565b670de0b6b3a76400008211156108a65761089f61089a61089487610a21565b86610b4a565b610b59565b92506108fe565b60006108c3610676846a0c097ce7bc90715b34b9f160241b611d9e565b905060006108dc61089a6108d684610a21565b88610b4a565b90506108f9610676826a0c097ce7bc90715b34b9f160241b611d9e565b945050505b505092915050565b600080600061091485610baf565b91509150808210610929576108188585610ddf565b80826109358787610ddf565b61093f9190611d71565b6108189190611d9e565b60008080600019858709858702925082811083820303915050806000036109835783828161097957610979611d88565b04925050506107e0565b8381106109b957604051630c740aef60e31b81526004810187905260248101869052604481018590526064015b60405180910390fd5b600084868809600260036001881981018916988990049182028318808302840302808302840302808302840302808302840302808302840302918202909203026000889003889004909101858311909403939093029303949094049190911702949350505050565b600081670de0b6b3a7640000811015610a505760405163036d32ef60e41b8152600481018490526024016109b0565b6000610ad2670de0b6b3a7640000830460016001600160801b03821160071b91821c6001600160401b03811160061b90811c63ffffffff811160051b90811c61ffff811160041b90811c60ff8111600390811b91821c600f811160021b90811c918211871b91821c969096119490961792909217171791909117919091171790565b9050670de0b6b3a7640000810282821c670de0b6b3a763ffff198101610afb5750949350505050565b671bc16d674ec800006706f05b59d3b200005b8015610b3e57670de0b6b3a7640000838002049250818310610b36579283019260019290921c915b60011c610b0e565b50919695505050505050565b60006107e06106768484610eb4565b600081680a688906bd8affffff811115610b895760405163b3b6ba1f60e01b8152600481018490526024016109b0565b6000610ba1670de0b6b3a7640000604084901b611d9e565b905061067961067682610f6a565b600080600080846001600160a01b0316632c8ce6bc6040518163ffffffff1660e01b8152600401606060405180830381865afa158015610bf3573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c179190611df1565b9250509150816001600160a01b0316633ba0b9a96040518163ffffffff1660e01b8152600401602060405180830381865afa158015610c5a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c7e9190611dc5565b93506000816001600160a01b031663d2a3584e6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610cc0573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ce49190611dc5565b9050816001600160a01b031663516399df6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610d24573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d489190611d39565b8015610dbd575043826001600160a01b03166360e0a9e16040518163ffffffff1660e01b8152600401602060405180830381865afa158015610d8e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610db29190611e3e565b6001600160801b0316145b15610dca57809350610dd7565b610dd48582611656565b93505b505050915091565b600080836001600160a01b031663e184c9be6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610e20573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e449190611dc5565b9050428111610e5e57670de0b6b3a76400009150506103f8565b6000610e6a858561166c565b90506000610e784284611db2565b90506000610e8e610e898484611793565b6117cc565b9050610ea2670de0b6b3a7640000826117df565b9450505050506103f8565b5092915050565b6000808060001984860984860292508281108382030391505080600003610ee85750670de0b6b3a7640000900490506103f8565b670de0b6b3a76400008110610f1a57604051635173648d60e01b815260048101869052602481018590526044016109b0565b6000670de0b6b3a764000085870962040000818503049310909103600160ee1b02919091177faccb18165bd6fe31ae1cf318dc5b51eee0e1ba569b88cd74c1773b91fac106690291505092915050565b600160bf1b60ff60381b821615611053576001603f1b821615610f965768016a09e667f3bcc9090260401c5b6001603e1b821615610fb1576801306fe0a31b7152df0260401c5b6001603d1b821615610fcc576801172b83c7d517adce0260401c5b6001603c1b821615610fe75768010b5586cf9890f62a0260401c5b6001603b1b821615611002576801059b0d31585743ae0260401c5b6001603a1b82161561101d57680102c9a3e778060ee70260401c5b600160391b8216156110385768010163da9fb33356d80260401c5b600160381b82161561105357680100b1afa5abcbed610260401c5b60ff60301b82161561113757600160371b82161561107a5768010058c86da1c09ea20260401c5b600160361b821615611095576801002c605e2e8cec500260401c5b600160351b8216156110b057680100162f3904051fa10260401c5b600160341b8216156110cb576801000b175effdc76ba0260401c5b600160331b8216156110e657680100058ba01fb9f96d0260401c5b600160321b8216156111015768010002c5cc37da94920260401c5b600160311b82161561111c576801000162e525ee05470260401c5b600160301b8216156111375768010000b17255775c040260401c5b60ff60281b82161561121b576001602f1b82161561115e576801000058b91b5bc9ae0260401c5b6001602e1b82161561117957680100002c5c89d5ec6d0260401c5b6001602d1b8216156111945768010000162e43f4f8310260401c5b6001602c1b8216156111af57680100000b1721bcfc9a0260401c5b6001602b1b8216156111ca5768010000058b90cf1e6e0260401c5b6001602a1b8216156111e5576801000002c5c863b73f0260401c5b600160291b82161561120057680100000162e430e5a20260401c5b600160281b82161561121b576801000000b1721835510260401c5b60ff60201b8216156112ff57600160271b82161561124257680100000058b90c0b490260401c5b600160261b82161561125d5768010000002c5c8601cc0260401c5b600160251b821615611278576801000000162e42fff00260401c5b600160241b8216156112935768010000000b17217fbb0260401c5b600160231b8216156112ae576801000000058b90bfce0260401c5b600160221b8216156112c957680100000002c5c85fe30260401c5b600160211b8216156112e45768010000000162e42ff10260401c5b600160201b8216156112ff57680100000000b17217f80260401c5b63ff0000008216156113e35763800000008216156113265768010000000058b90bfc0260401c5b6340000000821615611341576801000000002c5c85fe0260401c5b632000000082161561135c57680100000000162e42ff0260401c5b6310000000821615611377576801000000000b17217f0260401c5b630800000082161561139257680100000000058b90c00260401c5b63040000008216156113ad5768010000000002c5c8600260401c5b63020000008216156113c8576801000000000162e4300260401c5b63010000008216156113e35768010000000000b172180260401c5b62ff00008216156114bd5762800000821615611408576801000000000058b90c0260401c5b6240000082161561142257680100000000002c5c860260401c5b6220000082161561143c5768010000000000162e430260401c5b6210000082161561145657680100000000000b17210260401c5b620800008216156114705768010000000000058b910260401c5b6204000082161561148a576801000000000002c5c80260401c5b620200008216156114a457680100000000000162e40260401c5b620100008216156114bd5761b172600160401b010260401c5b61ff00821615611586576180008216156114df576158b9600160401b010260401c5b6140008216156114f757612c5d600160401b010260401c5b61200082161561150f5761162e600160401b010260401c5b61100082161561152757610b17600160401b010260401c5b61080082161561153f5761058c600160401b010260401c5b610400821615611557576102c6600160401b010260401c5b61020082161561156f57610163600160401b010260401c5b6101008216156115865760b1600160401b010260401c5b60ff82161561163f5760808216156115a5576059600160401b010260401c5b60408216156115bb57602c600160401b010260401c5b60208216156115d1576016600160401b010260401c5b60108216156115e757600b600160401b010260401c5b60088216156115fd576006600160401b010260401c5b6004821615611613576003600160401b010260401c5b6002821615611629576001600160401b010260401c5b600182161561163f576001600160401b010260401c5b670de0b6b3a76400000260409190911c60bf031c90565b600081831161166557816107e0565b5090919050565b6040805160028082526060820183526000928392919060208301908036833701905050905082816000815181106116a5576116a5611e7d565b63ffffffff9092166020928302919091019091015260405163883bdbfd60e01b81526000906001600160a01b0386169063883bdbfd906116e9908590600401611e93565b600060405180830381865afa158015611706573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261172e9190810190611ef9565b90508363ffffffff168160008151811061174a5761174a611e7d565b60200260200101518260018151811061176557611765611e7d565b60200260200101516117779190611fbd565b6117819190611fdd565b6001600160d81b031695945050505050565b6000806117a56201518061016d611d71565b6117af8486611d71565b6117b99190611d9e565b90506106796117c78261180e565b611824565b6000808212156117db57600080fd5b5090565b6000806117f4670de0b6b3a764000085611d71565b905082818161180557611805611d88565b04949350505050565b60006001600160ff1b038211156117db57600080fd5b6000680238fd42c5cf03ffff198212158015611849575068070c1cc73b00c800008213155b6118885760405162461bcd60e51b815260206004820152601060248201526f125b9d985b1a5908195e1c1bdb995b9d60821b60448201526064016109b0565b60008212156118c05761189d82600003611824565b6a0c097ce7bc90715b34b9f160241b816118b9576118b9611d88565b0592915050565b60006806f05b59d3b200000083126118fe57506806f05b59d3b1ffffff199091019072195e54c5dd42177f53a27172fa9ec63026282760241b611934565b6803782dace9d9000000831261193057506803782dace9d8ffffff19909101906b1425982cf597cd205cef7380611934565b5060015b6064929092029168056bc75e2d6310000068ad78ebc5ac6200000084126119845768ad78ebc5ac61ffffff199093019268056bc75e2d631000006e01855144814a7ff805980ff008400082020590505b6856bc75e2d63100000084126119c0576856bc75e2d630ffffff199093019268056bc75e2d631000006b02df0ab5a80a22c61ab5a70082020590505b682b5e3af16b1880000084126119fa57682b5e3af16b187fffff199093019268056bc75e2d63100000693f1fce3da636ea5cf85082020590505b6815af1d78b58c4000008412611a34576815af1d78b58c3fffff199093019268056bc75e2d63100000690127fa27722cc06cc5e282020590505b680ad78ebc5ac62000008412611a6d57680ad78ebc5ac61fffff199093019268056bc75e2d6310000068280e60114edb805d0382020590505b68056bc75e2d631000008412611aa65768056bc75e2d630fffff199093019268056bc75e2d63100000680ebc5fb4174612111082020590505b6802b5e3af16b18800008412611adf576802b5e3af16b187ffff199093019268056bc75e2d631000006808f00f760a4b2db55d82020590505b68015af1d78b58c400008412611b185768015af1d78b58c3ffff199093019268056bc75e2d631000006806f5f177578893793782020590505b68056bc75e2d631000008481019085906002908280020505918201919050600368056bc75e2d631000008783020505918201919050600468056bc75e2d631000008783020505918201919050600568056bc75e2d631000008783020505918201919050600668056bc75e2d631000008783020505918201919050600768056bc75e2d631000008783020505918201919050600868056bc75e2d631000008783020505918201919050600968056bc75e2d631000008783020505918201919050600a68056bc75e2d631000008783020505918201919050600b68056bc75e2d631000008783020505918201919050600c68056bc75e2d631000008783020505918201919050606468056bc75e2d63100000848402058502059695505050505050565b6001600160a01b0391909116815260200190565b600060208284031215611c5f57600080fd5b5035919050565b6001600160a01b0381168114611c7b57600080fd5b50565b600060208284031215611c9057600080fd5b81356107e081611c66565b60006020808352835180602085015260005b81811015611cc957858101830151858201604001528201611cad565b506000604082860101526040601f19601f8301168501019250505092915050565b600060208284031215611cfc57600080fd5b81356001600160501b03811681146107e057600080fd5b600060208284031215611d2557600080fd5b813563ffffffff811681146107e057600080fd5b600060208284031215611d4b57600080fd5b815180151581146107e057600080fd5b634e487b7160e01b600052601160045260246000fd5b80820281158282048414176103f8576103f8611d5b565b634e487b7160e01b600052601260045260246000fd5b600082611dad57611dad611d88565b500490565b818103818111156103f8576103f8611d5b565b600060208284031215611dd757600080fd5b5051919050565b808201808211156103f8576103f8611d5b565b600080600060608486031215611e0657600080fd5b8351611e1181611c66565b6020850151909350611e2281611c66565b6040850151909250611e3381611c66565b809150509250925092565b600060208284031215611e5057600080fd5b81516001600160801b03811681146107e057600080fd5b634e487b7160e01b600052604160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b6020808252825182820181905260009190848201906040850190845b81811015611ed157835163ffffffff1683529284019291840191600101611eaf565b50909695505050505050565b80516001600160d81b0381168114611ef457600080fd5b919050565b60006020808385031215611f0c57600080fd5b82516001600160401b0380821115611f2357600080fd5b818501915085601f830112611f3757600080fd5b815181811115611f4957611f49611e67565b8060051b604051601f19603f83011681018181108582111715611f6e57611f6e611e67565b604052918252848201925083810185019188831115611f8c57600080fd5b938501935b82851015611fb157611fa285611edd565b84529385019392850192611f91565b98975050505050505050565b6001600160d81b03828116828216039080821115610ead57610ead611d5b565b60006001600160d81b0383811680611ff757611ff7611d88565b9216919091049291505056fea2646970667358221220034e7feff1263c85764d26fe39737913394f41a4cff1299c8a8d73191fbc550c64736f6c634300081600330000000000000000000000005bc6bef80da563ebf6df6d6913513fa9a7ec89be00000000000000000000000000000000000000000000000006f05b59d3b200000000000000000000000000000000000000000000000000000000000000000708", + "nonce": "0xa3", + "accessList": [] + }, + "additionalContracts": [], + "isFixedGasLimit": false + } + ], + "receipts": [ + { + "transactionHash": "0x94abfc2f35a94dccf0550fdf93aff5db135f6c0e7e246dbc1e46e41e5bf3bff2", + "transactionIndex": "0x0", + "blockHash": "0x232952c47f3b505b867bd87f65b99e24054388bf8deefdfc9511e0965fa4d945", + "blockNumber": "0x12c4e97", + "from": "0xA9DdD91249DFdd450E81E1c56Ab60E1A62651701", + "to": null, + "cumulativeGasUsed": "0x1d0cef", + "gasUsed": "0x1d0cef", + "contractAddress": "0xC9dfD5c18F12a3BA6293001700810602efe0c45B", + "logs": [], + "status": "0x1", + "logsBloom": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", + "type": "0x2", + "effectiveGasPrice": "0x3bd9dfb60" + } + ], + "libraries": [], + "pending": [], + "returns": {}, + "timestamp": 1713426235, + "chain": 1, + "multi": false, + "commit": "8048816" +} \ No newline at end of file diff --git a/broadcast/PTweETHOracle.s.sol/1/run-1713426341.json b/broadcast/PTweETHOracle.s.sol/1/run-1713426341.json new file mode 100644 index 00000000..f93ba779 --- /dev/null +++ b/broadcast/PTweETHOracle.s.sol/1/run-1713426341.json @@ -0,0 +1,52 @@ +{ + "transactions": [ + { + "hash": "0x766587ed0d8242db7aa2ec263622660d5cf8801004d775d87500e4a26a1d03e7", + "transactionType": "CREATE", + "contractName": "MorphoFeedPTweETH", + "contractAddress": "0xEdBeBe204Ef070B6880E07A28b55edc7748C24BA", + "function": null, + "arguments": [ + "0x5bc6BEf80DA563EBf6Df6D6913513fa9A7ec89BE", + "500000000000000000", + "1800" + ], + "transaction": { + "type": "0x02", + "from": "0xa9ddd91249dfdd450e81e1c56ab60e1a62651701", + "gas": "0x25c142", + "value": "0x0", + "data": "0x60806040523480156200001157600080fd5b506040516200217c3803806200217c8339810160408190526200003491620000d8565b8282828181846001600160a01b038116620000625760405163d92e233d60e01b815260040160405180910390fd5b600080546001600160a01b0319166001600160a01b039290921691909117905561038463ffffffff82161015620000ac57604051630d72bb8f60e41b815260040160405180910390fd5b6001919091556002805463ffffffff191663ffffffff9092169190911790555062000133945050505050565b600080600060608486031215620000ee57600080fd5b83516001600160a01b03811681146200010657600080fd5b60208501516040860151919450925063ffffffff811681146200012857600080fd5b809150509250925092565b61203980620001436000396000f3fe608060405234801561001057600080fd5b50600436106100e65760003560e01c8063181cc05b146100eb578063204f83f91461010957806326d895451461011d578063313ce567146101425780633406b6d11461015157806338d52e0f14610166578063521d4de91461016e57806354fd4d50146101915780637284e4161461019857806380f55605146101d957806383914540146101e1578063921a12ab146101ec5780639a6fc8f5146101f5578063b4a0bdf31461023c578063c433c80a1461024f578063d965a5d214610262578063e43581b814610271578063feaf968c14610284575b600080fd5b6100f361028c565b6040516101009190611c39565b60405180910390f35b63667cab805b604051908152602001610100565b60025461012d9063ffffffff1681565b60405163ffffffff9091168152602001610100565b60405160128152602001610100565b61016461015f366004611c4d565b6102a4565b005b6100f361036e565b61018161017c366004611c7e565b610386565b6040519015158152602001610100565b600161010f565b6101cc6040518060400160405280601581526020017450542d77654554482f7765455448204f7261636c6560581b81525081565b6040516101009190611c9b565b6100f36103fe565b61010f6301e1338081565b61010f60015481565b610208610203366004611cea565b610416565b604080516001600160501b03968716815260208101959095528401929092526060830152909116608082015260a001610100565b6000546100f3906001600160a01b031681565b61016461025d366004611d13565b61043b565b61010f670de0b6b3a764000081565b61018161027f366004611c7e565b61053a565b61020861056b565b73ac0047886a985071476a1186be89222659970d6590565b60005460405163521d4de960e01b81526001600160a01b039091169063521d4de9906102d4903390600401611c39565b602060405180830381865afa1580156102f1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103159190611d39565b61033257604051632678482f60e21b815260040160405180910390fd5b60018190556040518181527f1693f12ff158ba72b61d65dce0487c8c9166916e22e284990a7e42b5f38b080a906020015b60405180910390a150565b73cd5fe23c85820f7b72d0926fc9b05b43e359b7ee90565b6000805460405163521d4de960e01b81526001600160a01b039091169063521d4de9906103b7908590600401611c39565b602060405180830381865afa1580156103d4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103f89190611d39565b92915050565b73f32e58f92e60f4b0a37a69b95d642a471365eae890565b60008060008060008061042761058f565b909790965060009550859450849350915050565b60005460405163521d4de960e01b81526001600160a01b039091169063521d4de99061046b903390600401611c39565b602060405180830381865afa158015610488573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104ac9190611d39565b6104c957604051632678482f60e21b815260040160405180910390fd5b6103848163ffffffff1610156104f257604051630d72bb8f60e41b815260040160405180910390fd5b6002805463ffffffff191663ffffffff83169081179091556040519081527f87edb95cfb8afc62e405f2bb9fe4ec71648ccecc13387d294c8a5eb09ca53fd790602001610363565b60008054604051631c86b03760e31b81526001600160a01b039091169063e43581b8906103b7908590600401611c39565b60008060008060008061057c61058f565b9096909550600094508493508392509050565b60008061059a6105ec565b905060006105a6610681565b905060008183116105b757826105b9565b815b90506000670de0b6b3a7640000826105cf6106a1565b6105d99190611d71565b6105e39190611d9e565b95945050505050565b60008063667cab80421161060d576106084263667cab80611db2565b610610565b60005b90508060000361062957670de0b6b3a764000091505090565b600061065d61063c836301e133806107c8565b61065761064860015490565b670de0b6b3a7640000906107e7565b906107f6565b90506000610679610676670de0b6b3a7640000846107c8565b90565b949350505050565b600061069c61068e6103fe565b60025463ffffffff16610906565b905090565b6000806106ac61036e565b6001600160a01b03166370a082316106c261028c565b6040518263ffffffff1660e01b81526004016106de9190611c39565b602060405180830381865afa1580156106fb573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061071f9190611dc5565b9050600061072b61028c565b6001600160a01b03166318160ddd6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610768573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061078c9190611dc5565b90508082116107b757806107a8670de0b6b3a764000084611d71565b6107b29190611d9e565b6107c1565b670de0b6b3a76400005b9250505090565b60006107e061067684670de0b6b3a764000085610949565b9392505050565b60006107e06106768385611dde565b6000828281830361082157801561080e576000610818565b670de0b6b3a76400005b925050506103f8565b670de0b6b3a7640000820361084257670de0b6b3a7640000925050506103f8565b8060000361085c57670de0b6b3a7640000925050506103f8565b670de0b6b3a764000081036108755784925050506103f8565b670de0b6b3a76400008211156108a65761089f61089a61089487610a21565b86610b4a565b610b59565b92506108fe565b60006108c3610676846a0c097ce7bc90715b34b9f160241b611d9e565b905060006108dc61089a6108d684610a21565b88610b4a565b90506108f9610676826a0c097ce7bc90715b34b9f160241b611d9e565b945050505b505092915050565b600080600061091485610baf565b91509150808210610929576108188585610ddf565b80826109358787610ddf565b61093f9190611d71565b6108189190611d9e565b60008080600019858709858702925082811083820303915050806000036109835783828161097957610979611d88565b04925050506107e0565b8381106109b957604051630c740aef60e31b81526004810187905260248101869052604481018590526064015b60405180910390fd5b600084868809600260036001881981018916988990049182028318808302840302808302840302808302840302808302840302808302840302918202909203026000889003889004909101858311909403939093029303949094049190911702949350505050565b600081670de0b6b3a7640000811015610a505760405163036d32ef60e41b8152600481018490526024016109b0565b6000610ad2670de0b6b3a7640000830460016001600160801b03821160071b91821c6001600160401b03811160061b90811c63ffffffff811160051b90811c61ffff811160041b90811c60ff8111600390811b91821c600f811160021b90811c918211871b91821c969096119490961792909217171791909117919091171790565b9050670de0b6b3a7640000810282821c670de0b6b3a763ffff198101610afb5750949350505050565b671bc16d674ec800006706f05b59d3b200005b8015610b3e57670de0b6b3a7640000838002049250818310610b36579283019260019290921c915b60011c610b0e565b50919695505050505050565b60006107e06106768484610eb4565b600081680a688906bd8affffff811115610b895760405163b3b6ba1f60e01b8152600481018490526024016109b0565b6000610ba1670de0b6b3a7640000604084901b611d9e565b905061067961067682610f6a565b600080600080846001600160a01b0316632c8ce6bc6040518163ffffffff1660e01b8152600401606060405180830381865afa158015610bf3573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c179190611df1565b9250509150816001600160a01b0316633ba0b9a96040518163ffffffff1660e01b8152600401602060405180830381865afa158015610c5a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c7e9190611dc5565b93506000816001600160a01b031663d2a3584e6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610cc0573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ce49190611dc5565b9050816001600160a01b031663516399df6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610d24573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d489190611d39565b8015610dbd575043826001600160a01b03166360e0a9e16040518163ffffffff1660e01b8152600401602060405180830381865afa158015610d8e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610db29190611e3e565b6001600160801b0316145b15610dca57809350610dd7565b610dd48582611656565b93505b505050915091565b600080836001600160a01b031663e184c9be6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610e20573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e449190611dc5565b9050428111610e5e57670de0b6b3a76400009150506103f8565b6000610e6a858561166c565b90506000610e784284611db2565b90506000610e8e610e898484611793565b6117cc565b9050610ea2670de0b6b3a7640000826117df565b9450505050506103f8565b5092915050565b6000808060001984860984860292508281108382030391505080600003610ee85750670de0b6b3a7640000900490506103f8565b670de0b6b3a76400008110610f1a57604051635173648d60e01b815260048101869052602481018590526044016109b0565b6000670de0b6b3a764000085870962040000818503049310909103600160ee1b02919091177faccb18165bd6fe31ae1cf318dc5b51eee0e1ba569b88cd74c1773b91fac106690291505092915050565b600160bf1b60ff60381b821615611053576001603f1b821615610f965768016a09e667f3bcc9090260401c5b6001603e1b821615610fb1576801306fe0a31b7152df0260401c5b6001603d1b821615610fcc576801172b83c7d517adce0260401c5b6001603c1b821615610fe75768010b5586cf9890f62a0260401c5b6001603b1b821615611002576801059b0d31585743ae0260401c5b6001603a1b82161561101d57680102c9a3e778060ee70260401c5b600160391b8216156110385768010163da9fb33356d80260401c5b600160381b82161561105357680100b1afa5abcbed610260401c5b60ff60301b82161561113757600160371b82161561107a5768010058c86da1c09ea20260401c5b600160361b821615611095576801002c605e2e8cec500260401c5b600160351b8216156110b057680100162f3904051fa10260401c5b600160341b8216156110cb576801000b175effdc76ba0260401c5b600160331b8216156110e657680100058ba01fb9f96d0260401c5b600160321b8216156111015768010002c5cc37da94920260401c5b600160311b82161561111c576801000162e525ee05470260401c5b600160301b8216156111375768010000b17255775c040260401c5b60ff60281b82161561121b576001602f1b82161561115e576801000058b91b5bc9ae0260401c5b6001602e1b82161561117957680100002c5c89d5ec6d0260401c5b6001602d1b8216156111945768010000162e43f4f8310260401c5b6001602c1b8216156111af57680100000b1721bcfc9a0260401c5b6001602b1b8216156111ca5768010000058b90cf1e6e0260401c5b6001602a1b8216156111e5576801000002c5c863b73f0260401c5b600160291b82161561120057680100000162e430e5a20260401c5b600160281b82161561121b576801000000b1721835510260401c5b60ff60201b8216156112ff57600160271b82161561124257680100000058b90c0b490260401c5b600160261b82161561125d5768010000002c5c8601cc0260401c5b600160251b821615611278576801000000162e42fff00260401c5b600160241b8216156112935768010000000b17217fbb0260401c5b600160231b8216156112ae576801000000058b90bfce0260401c5b600160221b8216156112c957680100000002c5c85fe30260401c5b600160211b8216156112e45768010000000162e42ff10260401c5b600160201b8216156112ff57680100000000b17217f80260401c5b63ff0000008216156113e35763800000008216156113265768010000000058b90bfc0260401c5b6340000000821615611341576801000000002c5c85fe0260401c5b632000000082161561135c57680100000000162e42ff0260401c5b6310000000821615611377576801000000000b17217f0260401c5b630800000082161561139257680100000000058b90c00260401c5b63040000008216156113ad5768010000000002c5c8600260401c5b63020000008216156113c8576801000000000162e4300260401c5b63010000008216156113e35768010000000000b172180260401c5b62ff00008216156114bd5762800000821615611408576801000000000058b90c0260401c5b6240000082161561142257680100000000002c5c860260401c5b6220000082161561143c5768010000000000162e430260401c5b6210000082161561145657680100000000000b17210260401c5b620800008216156114705768010000000000058b910260401c5b6204000082161561148a576801000000000002c5c80260401c5b620200008216156114a457680100000000000162e40260401c5b620100008216156114bd5761b172600160401b010260401c5b61ff00821615611586576180008216156114df576158b9600160401b010260401c5b6140008216156114f757612c5d600160401b010260401c5b61200082161561150f5761162e600160401b010260401c5b61100082161561152757610b17600160401b010260401c5b61080082161561153f5761058c600160401b010260401c5b610400821615611557576102c6600160401b010260401c5b61020082161561156f57610163600160401b010260401c5b6101008216156115865760b1600160401b010260401c5b60ff82161561163f5760808216156115a5576059600160401b010260401c5b60408216156115bb57602c600160401b010260401c5b60208216156115d1576016600160401b010260401c5b60108216156115e757600b600160401b010260401c5b60088216156115fd576006600160401b010260401c5b6004821615611613576003600160401b010260401c5b6002821615611629576001600160401b010260401c5b600182161561163f576001600160401b010260401c5b670de0b6b3a76400000260409190911c60bf031c90565b600081831161166557816107e0565b5090919050565b6040805160028082526060820183526000928392919060208301908036833701905050905082816000815181106116a5576116a5611e7d565b63ffffffff9092166020928302919091019091015260405163883bdbfd60e01b81526000906001600160a01b0386169063883bdbfd906116e9908590600401611e93565b600060405180830381865afa158015611706573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261172e9190810190611ef9565b90508363ffffffff168160008151811061174a5761174a611e7d565b60200260200101518260018151811061176557611765611e7d565b60200260200101516117779190611fbd565b6117819190611fdd565b6001600160d81b031695945050505050565b6000806117a56201518061016d611d71565b6117af8486611d71565b6117b99190611d9e565b90506106796117c78261180e565b611824565b6000808212156117db57600080fd5b5090565b6000806117f4670de0b6b3a764000085611d71565b905082818161180557611805611d88565b04949350505050565b60006001600160ff1b038211156117db57600080fd5b6000680238fd42c5cf03ffff198212158015611849575068070c1cc73b00c800008213155b6118885760405162461bcd60e51b815260206004820152601060248201526f125b9d985b1a5908195e1c1bdb995b9d60821b60448201526064016109b0565b60008212156118c05761189d82600003611824565b6a0c097ce7bc90715b34b9f160241b816118b9576118b9611d88565b0592915050565b60006806f05b59d3b200000083126118fe57506806f05b59d3b1ffffff199091019072195e54c5dd42177f53a27172fa9ec63026282760241b611934565b6803782dace9d9000000831261193057506803782dace9d8ffffff19909101906b1425982cf597cd205cef7380611934565b5060015b6064929092029168056bc75e2d6310000068ad78ebc5ac6200000084126119845768ad78ebc5ac61ffffff199093019268056bc75e2d631000006e01855144814a7ff805980ff008400082020590505b6856bc75e2d63100000084126119c0576856bc75e2d630ffffff199093019268056bc75e2d631000006b02df0ab5a80a22c61ab5a70082020590505b682b5e3af16b1880000084126119fa57682b5e3af16b187fffff199093019268056bc75e2d63100000693f1fce3da636ea5cf85082020590505b6815af1d78b58c4000008412611a34576815af1d78b58c3fffff199093019268056bc75e2d63100000690127fa27722cc06cc5e282020590505b680ad78ebc5ac62000008412611a6d57680ad78ebc5ac61fffff199093019268056bc75e2d6310000068280e60114edb805d0382020590505b68056bc75e2d631000008412611aa65768056bc75e2d630fffff199093019268056bc75e2d63100000680ebc5fb4174612111082020590505b6802b5e3af16b18800008412611adf576802b5e3af16b187ffff199093019268056bc75e2d631000006808f00f760a4b2db55d82020590505b68015af1d78b58c400008412611b185768015af1d78b58c3ffff199093019268056bc75e2d631000006806f5f177578893793782020590505b68056bc75e2d631000008481019085906002908280020505918201919050600368056bc75e2d631000008783020505918201919050600468056bc75e2d631000008783020505918201919050600568056bc75e2d631000008783020505918201919050600668056bc75e2d631000008783020505918201919050600768056bc75e2d631000008783020505918201919050600868056bc75e2d631000008783020505918201919050600968056bc75e2d631000008783020505918201919050600a68056bc75e2d631000008783020505918201919050600b68056bc75e2d631000008783020505918201919050600c68056bc75e2d631000008783020505918201919050606468056bc75e2d63100000848402058502059695505050505050565b6001600160a01b0391909116815260200190565b600060208284031215611c5f57600080fd5b5035919050565b6001600160a01b0381168114611c7b57600080fd5b50565b600060208284031215611c9057600080fd5b81356107e081611c66565b60006020808352835180602085015260005b81811015611cc957858101830151858201604001528201611cad565b506000604082860101526040601f19601f8301168501019250505092915050565b600060208284031215611cfc57600080fd5b81356001600160501b03811681146107e057600080fd5b600060208284031215611d2557600080fd5b813563ffffffff811681146107e057600080fd5b600060208284031215611d4b57600080fd5b815180151581146107e057600080fd5b634e487b7160e01b600052601160045260246000fd5b80820281158282048414176103f8576103f8611d5b565b634e487b7160e01b600052601260045260246000fd5b600082611dad57611dad611d88565b500490565b818103818111156103f8576103f8611d5b565b600060208284031215611dd757600080fd5b5051919050565b808201808211156103f8576103f8611d5b565b600080600060608486031215611e0657600080fd5b8351611e1181611c66565b6020850151909350611e2281611c66565b6040850151909250611e3381611c66565b809150509250925092565b600060208284031215611e5057600080fd5b81516001600160801b03811681146107e057600080fd5b634e487b7160e01b600052604160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b6020808252825182820181905260009190848201906040850190845b81811015611ed157835163ffffffff1683529284019291840191600101611eaf565b50909695505050505050565b80516001600160d81b0381168114611ef457600080fd5b919050565b60006020808385031215611f0c57600080fd5b82516001600160401b0380821115611f2357600080fd5b818501915085601f830112611f3757600080fd5b815181811115611f4957611f49611e67565b8060051b604051601f19603f83011681018181108582111715611f6e57611f6e611e67565b604052918252848201925083810185019188831115611f8c57600080fd5b938501935b82851015611fb157611fa285611edd565b84529385019392850192611f91565b98975050505050505050565b6001600160d81b03828116828216039080821115610ead57610ead611d5b565b60006001600160d81b0383811680611ff757611ff7611d88565b9216919091049291505056fea2646970667358221220034e7feff1263c85764d26fe39737913394f41a4cff1299c8a8d73191fbc550c64736f6c634300081600330000000000000000000000005bc6bef80da563ebf6df6d6913513fa9a7ec89be00000000000000000000000000000000000000000000000006f05b59d3b200000000000000000000000000000000000000000000000000000000000000000708", + "nonce": "0xa4", + "accessList": [] + }, + "additionalContracts": [], + "isFixedGasLimit": false + } + ], + "receipts": [ + { + "transactionHash": "0x766587ed0d8242db7aa2ec263622660d5cf8801004d775d87500e4a26a1d03e7", + "transactionIndex": "0x0", + "blockHash": "0x73e6be9782f7886fa5bf8484910d00765348410942685b63749d710ff74c9c97", + "blockNumber": "0x12c4e98", + "from": "0xA9DdD91249DFdd450E81E1c56Ab60E1A62651701", + "to": null, + "cumulativeGasUsed": "0x1d0cef", + "gasUsed": "0x1d0cef", + "contractAddress": "0xEdBeBe204Ef070B6880E07A28b55edc7748C24BA", + "logs": [], + "status": "0x1", + "logsBloom": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", + "type": "0x2", + "effectiveGasPrice": "0x3689f6f12" + } + ], + "libraries": [], + "pending": [], + "returns": {}, + "timestamp": 1713426341, + "chain": 1, + "multi": false, + "commit": "8048816" +} \ No newline at end of file diff --git a/broadcast/PTweETHOracle.s.sol/1/run-1713426446.json b/broadcast/PTweETHOracle.s.sol/1/run-1713426446.json new file mode 100644 index 00000000..1f795182 --- /dev/null +++ b/broadcast/PTweETHOracle.s.sol/1/run-1713426446.json @@ -0,0 +1,52 @@ +{ + "transactions": [ + { + "hash": "0x353ea6a5fd13c8dd931ea7c75681c6247b90ddec0f26cd2294f9f5a060ed12b3", + "transactionType": "CREATE", + "contractName": "MorphoFeedPTweETH", + "contractAddress": "0xC9dfD5c18F12a3BA6293001700810602efe0c45B", + "function": null, + "arguments": [ + "0x5bc6BEf80DA563EBf6Df6D6913513fa9A7ec89BE", + "500000000000000000", + "1800" + ], + "transaction": { + "type": "0x02", + "from": "0xa9ddd91249dfdd450e81e1c56ab60e1a62651701", + "gas": "0x25c142", + "value": "0x0", + "data": "0x60806040523480156200001157600080fd5b506040516200217c3803806200217c8339810160408190526200003491620000d8565b8282828181846001600160a01b038116620000625760405163d92e233d60e01b815260040160405180910390fd5b600080546001600160a01b0319166001600160a01b039290921691909117905561038463ffffffff82161015620000ac57604051630d72bb8f60e41b815260040160405180910390fd5b6001919091556002805463ffffffff191663ffffffff9092169190911790555062000133945050505050565b600080600060608486031215620000ee57600080fd5b83516001600160a01b03811681146200010657600080fd5b60208501516040860151919450925063ffffffff811681146200012857600080fd5b809150509250925092565b61203980620001436000396000f3fe608060405234801561001057600080fd5b50600436106100e65760003560e01c8063181cc05b146100eb578063204f83f91461010957806326d895451461011d578063313ce567146101425780633406b6d11461015157806338d52e0f14610166578063521d4de91461016e57806354fd4d50146101915780637284e4161461019857806380f55605146101d957806383914540146101e1578063921a12ab146101ec5780639a6fc8f5146101f5578063b4a0bdf31461023c578063c433c80a1461024f578063d965a5d214610262578063e43581b814610271578063feaf968c14610284575b600080fd5b6100f361028c565b6040516101009190611c39565b60405180910390f35b63667cab805b604051908152602001610100565b60025461012d9063ffffffff1681565b60405163ffffffff9091168152602001610100565b60405160128152602001610100565b61016461015f366004611c4d565b6102a4565b005b6100f361036e565b61018161017c366004611c7e565b610386565b6040519015158152602001610100565b600161010f565b6101cc6040518060400160405280601581526020017450542d77654554482f7765455448204f7261636c6560581b81525081565b6040516101009190611c9b565b6100f36103fe565b61010f6301e1338081565b61010f60015481565b610208610203366004611cea565b610416565b604080516001600160501b03968716815260208101959095528401929092526060830152909116608082015260a001610100565b6000546100f3906001600160a01b031681565b61016461025d366004611d13565b61043b565b61010f670de0b6b3a764000081565b61018161027f366004611c7e565b61053a565b61020861056b565b73ac0047886a985071476a1186be89222659970d6590565b60005460405163521d4de960e01b81526001600160a01b039091169063521d4de9906102d4903390600401611c39565b602060405180830381865afa1580156102f1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103159190611d39565b61033257604051632678482f60e21b815260040160405180910390fd5b60018190556040518181527f1693f12ff158ba72b61d65dce0487c8c9166916e22e284990a7e42b5f38b080a906020015b60405180910390a150565b73cd5fe23c85820f7b72d0926fc9b05b43e359b7ee90565b6000805460405163521d4de960e01b81526001600160a01b039091169063521d4de9906103b7908590600401611c39565b602060405180830381865afa1580156103d4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103f89190611d39565b92915050565b73f32e58f92e60f4b0a37a69b95d642a471365eae890565b60008060008060008061042761058f565b909790965060009550859450849350915050565b60005460405163521d4de960e01b81526001600160a01b039091169063521d4de99061046b903390600401611c39565b602060405180830381865afa158015610488573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104ac9190611d39565b6104c957604051632678482f60e21b815260040160405180910390fd5b6103848163ffffffff1610156104f257604051630d72bb8f60e41b815260040160405180910390fd5b6002805463ffffffff191663ffffffff83169081179091556040519081527f87edb95cfb8afc62e405f2bb9fe4ec71648ccecc13387d294c8a5eb09ca53fd790602001610363565b60008054604051631c86b03760e31b81526001600160a01b039091169063e43581b8906103b7908590600401611c39565b60008060008060008061057c61058f565b9096909550600094508493508392509050565b60008061059a6105ec565b905060006105a6610681565b905060008183116105b757826105b9565b815b90506000670de0b6b3a7640000826105cf6106a1565b6105d99190611d71565b6105e39190611d9e565b95945050505050565b60008063667cab80421161060d576106084263667cab80611db2565b610610565b60005b90508060000361062957670de0b6b3a764000091505090565b600061065d61063c836301e133806107c8565b61065761064860015490565b670de0b6b3a7640000906107e7565b906107f6565b90506000610679610676670de0b6b3a7640000846107c8565b90565b949350505050565b600061069c61068e6103fe565b60025463ffffffff16610906565b905090565b6000806106ac61036e565b6001600160a01b03166370a082316106c261028c565b6040518263ffffffff1660e01b81526004016106de9190611c39565b602060405180830381865afa1580156106fb573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061071f9190611dc5565b9050600061072b61028c565b6001600160a01b03166318160ddd6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610768573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061078c9190611dc5565b90508082116107b757806107a8670de0b6b3a764000084611d71565b6107b29190611d9e565b6107c1565b670de0b6b3a76400005b9250505090565b60006107e061067684670de0b6b3a764000085610949565b9392505050565b60006107e06106768385611dde565b6000828281830361082157801561080e576000610818565b670de0b6b3a76400005b925050506103f8565b670de0b6b3a7640000820361084257670de0b6b3a7640000925050506103f8565b8060000361085c57670de0b6b3a7640000925050506103f8565b670de0b6b3a764000081036108755784925050506103f8565b670de0b6b3a76400008211156108a65761089f61089a61089487610a21565b86610b4a565b610b59565b92506108fe565b60006108c3610676846a0c097ce7bc90715b34b9f160241b611d9e565b905060006108dc61089a6108d684610a21565b88610b4a565b90506108f9610676826a0c097ce7bc90715b34b9f160241b611d9e565b945050505b505092915050565b600080600061091485610baf565b91509150808210610929576108188585610ddf565b80826109358787610ddf565b61093f9190611d71565b6108189190611d9e565b60008080600019858709858702925082811083820303915050806000036109835783828161097957610979611d88565b04925050506107e0565b8381106109b957604051630c740aef60e31b81526004810187905260248101869052604481018590526064015b60405180910390fd5b600084868809600260036001881981018916988990049182028318808302840302808302840302808302840302808302840302808302840302918202909203026000889003889004909101858311909403939093029303949094049190911702949350505050565b600081670de0b6b3a7640000811015610a505760405163036d32ef60e41b8152600481018490526024016109b0565b6000610ad2670de0b6b3a7640000830460016001600160801b03821160071b91821c6001600160401b03811160061b90811c63ffffffff811160051b90811c61ffff811160041b90811c60ff8111600390811b91821c600f811160021b90811c918211871b91821c969096119490961792909217171791909117919091171790565b9050670de0b6b3a7640000810282821c670de0b6b3a763ffff198101610afb5750949350505050565b671bc16d674ec800006706f05b59d3b200005b8015610b3e57670de0b6b3a7640000838002049250818310610b36579283019260019290921c915b60011c610b0e565b50919695505050505050565b60006107e06106768484610eb4565b600081680a688906bd8affffff811115610b895760405163b3b6ba1f60e01b8152600481018490526024016109b0565b6000610ba1670de0b6b3a7640000604084901b611d9e565b905061067961067682610f6a565b600080600080846001600160a01b0316632c8ce6bc6040518163ffffffff1660e01b8152600401606060405180830381865afa158015610bf3573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c179190611df1565b9250509150816001600160a01b0316633ba0b9a96040518163ffffffff1660e01b8152600401602060405180830381865afa158015610c5a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c7e9190611dc5565b93506000816001600160a01b031663d2a3584e6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610cc0573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ce49190611dc5565b9050816001600160a01b031663516399df6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610d24573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d489190611d39565b8015610dbd575043826001600160a01b03166360e0a9e16040518163ffffffff1660e01b8152600401602060405180830381865afa158015610d8e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610db29190611e3e565b6001600160801b0316145b15610dca57809350610dd7565b610dd48582611656565b93505b505050915091565b600080836001600160a01b031663e184c9be6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610e20573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e449190611dc5565b9050428111610e5e57670de0b6b3a76400009150506103f8565b6000610e6a858561166c565b90506000610e784284611db2565b90506000610e8e610e898484611793565b6117cc565b9050610ea2670de0b6b3a7640000826117df565b9450505050506103f8565b5092915050565b6000808060001984860984860292508281108382030391505080600003610ee85750670de0b6b3a7640000900490506103f8565b670de0b6b3a76400008110610f1a57604051635173648d60e01b815260048101869052602481018590526044016109b0565b6000670de0b6b3a764000085870962040000818503049310909103600160ee1b02919091177faccb18165bd6fe31ae1cf318dc5b51eee0e1ba569b88cd74c1773b91fac106690291505092915050565b600160bf1b60ff60381b821615611053576001603f1b821615610f965768016a09e667f3bcc9090260401c5b6001603e1b821615610fb1576801306fe0a31b7152df0260401c5b6001603d1b821615610fcc576801172b83c7d517adce0260401c5b6001603c1b821615610fe75768010b5586cf9890f62a0260401c5b6001603b1b821615611002576801059b0d31585743ae0260401c5b6001603a1b82161561101d57680102c9a3e778060ee70260401c5b600160391b8216156110385768010163da9fb33356d80260401c5b600160381b82161561105357680100b1afa5abcbed610260401c5b60ff60301b82161561113757600160371b82161561107a5768010058c86da1c09ea20260401c5b600160361b821615611095576801002c605e2e8cec500260401c5b600160351b8216156110b057680100162f3904051fa10260401c5b600160341b8216156110cb576801000b175effdc76ba0260401c5b600160331b8216156110e657680100058ba01fb9f96d0260401c5b600160321b8216156111015768010002c5cc37da94920260401c5b600160311b82161561111c576801000162e525ee05470260401c5b600160301b8216156111375768010000b17255775c040260401c5b60ff60281b82161561121b576001602f1b82161561115e576801000058b91b5bc9ae0260401c5b6001602e1b82161561117957680100002c5c89d5ec6d0260401c5b6001602d1b8216156111945768010000162e43f4f8310260401c5b6001602c1b8216156111af57680100000b1721bcfc9a0260401c5b6001602b1b8216156111ca5768010000058b90cf1e6e0260401c5b6001602a1b8216156111e5576801000002c5c863b73f0260401c5b600160291b82161561120057680100000162e430e5a20260401c5b600160281b82161561121b576801000000b1721835510260401c5b60ff60201b8216156112ff57600160271b82161561124257680100000058b90c0b490260401c5b600160261b82161561125d5768010000002c5c8601cc0260401c5b600160251b821615611278576801000000162e42fff00260401c5b600160241b8216156112935768010000000b17217fbb0260401c5b600160231b8216156112ae576801000000058b90bfce0260401c5b600160221b8216156112c957680100000002c5c85fe30260401c5b600160211b8216156112e45768010000000162e42ff10260401c5b600160201b8216156112ff57680100000000b17217f80260401c5b63ff0000008216156113e35763800000008216156113265768010000000058b90bfc0260401c5b6340000000821615611341576801000000002c5c85fe0260401c5b632000000082161561135c57680100000000162e42ff0260401c5b6310000000821615611377576801000000000b17217f0260401c5b630800000082161561139257680100000000058b90c00260401c5b63040000008216156113ad5768010000000002c5c8600260401c5b63020000008216156113c8576801000000000162e4300260401c5b63010000008216156113e35768010000000000b172180260401c5b62ff00008216156114bd5762800000821615611408576801000000000058b90c0260401c5b6240000082161561142257680100000000002c5c860260401c5b6220000082161561143c5768010000000000162e430260401c5b6210000082161561145657680100000000000b17210260401c5b620800008216156114705768010000000000058b910260401c5b6204000082161561148a576801000000000002c5c80260401c5b620200008216156114a457680100000000000162e40260401c5b620100008216156114bd5761b172600160401b010260401c5b61ff00821615611586576180008216156114df576158b9600160401b010260401c5b6140008216156114f757612c5d600160401b010260401c5b61200082161561150f5761162e600160401b010260401c5b61100082161561152757610b17600160401b010260401c5b61080082161561153f5761058c600160401b010260401c5b610400821615611557576102c6600160401b010260401c5b61020082161561156f57610163600160401b010260401c5b6101008216156115865760b1600160401b010260401c5b60ff82161561163f5760808216156115a5576059600160401b010260401c5b60408216156115bb57602c600160401b010260401c5b60208216156115d1576016600160401b010260401c5b60108216156115e757600b600160401b010260401c5b60088216156115fd576006600160401b010260401c5b6004821615611613576003600160401b010260401c5b6002821615611629576001600160401b010260401c5b600182161561163f576001600160401b010260401c5b670de0b6b3a76400000260409190911c60bf031c90565b600081831161166557816107e0565b5090919050565b6040805160028082526060820183526000928392919060208301908036833701905050905082816000815181106116a5576116a5611e7d565b63ffffffff9092166020928302919091019091015260405163883bdbfd60e01b81526000906001600160a01b0386169063883bdbfd906116e9908590600401611e93565b600060405180830381865afa158015611706573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261172e9190810190611ef9565b90508363ffffffff168160008151811061174a5761174a611e7d565b60200260200101518260018151811061176557611765611e7d565b60200260200101516117779190611fbd565b6117819190611fdd565b6001600160d81b031695945050505050565b6000806117a56201518061016d611d71565b6117af8486611d71565b6117b99190611d9e565b90506106796117c78261180e565b611824565b6000808212156117db57600080fd5b5090565b6000806117f4670de0b6b3a764000085611d71565b905082818161180557611805611d88565b04949350505050565b60006001600160ff1b038211156117db57600080fd5b6000680238fd42c5cf03ffff198212158015611849575068070c1cc73b00c800008213155b6118885760405162461bcd60e51b815260206004820152601060248201526f125b9d985b1a5908195e1c1bdb995b9d60821b60448201526064016109b0565b60008212156118c05761189d82600003611824565b6a0c097ce7bc90715b34b9f160241b816118b9576118b9611d88565b0592915050565b60006806f05b59d3b200000083126118fe57506806f05b59d3b1ffffff199091019072195e54c5dd42177f53a27172fa9ec63026282760241b611934565b6803782dace9d9000000831261193057506803782dace9d8ffffff19909101906b1425982cf597cd205cef7380611934565b5060015b6064929092029168056bc75e2d6310000068ad78ebc5ac6200000084126119845768ad78ebc5ac61ffffff199093019268056bc75e2d631000006e01855144814a7ff805980ff008400082020590505b6856bc75e2d63100000084126119c0576856bc75e2d630ffffff199093019268056bc75e2d631000006b02df0ab5a80a22c61ab5a70082020590505b682b5e3af16b1880000084126119fa57682b5e3af16b187fffff199093019268056bc75e2d63100000693f1fce3da636ea5cf85082020590505b6815af1d78b58c4000008412611a34576815af1d78b58c3fffff199093019268056bc75e2d63100000690127fa27722cc06cc5e282020590505b680ad78ebc5ac62000008412611a6d57680ad78ebc5ac61fffff199093019268056bc75e2d6310000068280e60114edb805d0382020590505b68056bc75e2d631000008412611aa65768056bc75e2d630fffff199093019268056bc75e2d63100000680ebc5fb4174612111082020590505b6802b5e3af16b18800008412611adf576802b5e3af16b187ffff199093019268056bc75e2d631000006808f00f760a4b2db55d82020590505b68015af1d78b58c400008412611b185768015af1d78b58c3ffff199093019268056bc75e2d631000006806f5f177578893793782020590505b68056bc75e2d631000008481019085906002908280020505918201919050600368056bc75e2d631000008783020505918201919050600468056bc75e2d631000008783020505918201919050600568056bc75e2d631000008783020505918201919050600668056bc75e2d631000008783020505918201919050600768056bc75e2d631000008783020505918201919050600868056bc75e2d631000008783020505918201919050600968056bc75e2d631000008783020505918201919050600a68056bc75e2d631000008783020505918201919050600b68056bc75e2d631000008783020505918201919050600c68056bc75e2d631000008783020505918201919050606468056bc75e2d63100000848402058502059695505050505050565b6001600160a01b0391909116815260200190565b600060208284031215611c5f57600080fd5b5035919050565b6001600160a01b0381168114611c7b57600080fd5b50565b600060208284031215611c9057600080fd5b81356107e081611c66565b60006020808352835180602085015260005b81811015611cc957858101830151858201604001528201611cad565b506000604082860101526040601f19601f8301168501019250505092915050565b600060208284031215611cfc57600080fd5b81356001600160501b03811681146107e057600080fd5b600060208284031215611d2557600080fd5b813563ffffffff811681146107e057600080fd5b600060208284031215611d4b57600080fd5b815180151581146107e057600080fd5b634e487b7160e01b600052601160045260246000fd5b80820281158282048414176103f8576103f8611d5b565b634e487b7160e01b600052601260045260246000fd5b600082611dad57611dad611d88565b500490565b818103818111156103f8576103f8611d5b565b600060208284031215611dd757600080fd5b5051919050565b808201808211156103f8576103f8611d5b565b600080600060608486031215611e0657600080fd5b8351611e1181611c66565b6020850151909350611e2281611c66565b6040850151909250611e3381611c66565b809150509250925092565b600060208284031215611e5057600080fd5b81516001600160801b03811681146107e057600080fd5b634e487b7160e01b600052604160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b6020808252825182820181905260009190848201906040850190845b81811015611ed157835163ffffffff1683529284019291840191600101611eaf565b50909695505050505050565b80516001600160d81b0381168114611ef457600080fd5b919050565b60006020808385031215611f0c57600080fd5b82516001600160401b0380821115611f2357600080fd5b818501915085601f830112611f3757600080fd5b815181811115611f4957611f49611e67565b8060051b604051601f19603f83011681018181108582111715611f6e57611f6e611e67565b604052918252848201925083810185019188831115611f8c57600080fd5b938501935b82851015611fb157611fa285611edd565b84529385019392850192611f91565b98975050505050505050565b6001600160d81b03828116828216039080821115610ead57610ead611d5b565b60006001600160d81b0383811680611ff757611ff7611d88565b9216919091049291505056fea2646970667358221220034e7feff1263c85764d26fe39737913394f41a4cff1299c8a8d73191fbc550c64736f6c634300081600330000000000000000000000005bc6bef80da563ebf6df6d6913513fa9a7ec89be00000000000000000000000000000000000000000000000006f05b59d3b200000000000000000000000000000000000000000000000000000000000000000708", + "nonce": "0xa3", + "accessList": [] + }, + "additionalContracts": [], + "isFixedGasLimit": false + } + ], + "receipts": [ + { + "transactionHash": "0x353ea6a5fd13c8dd931ea7c75681c6247b90ddec0f26cd2294f9f5a060ed12b3", + "transactionIndex": "0x1e", + "blockHash": "0xf565e79420717acb1ee6beff32033a25b353ec7df680a2440a86550359ca83c9", + "blockNumber": "0x12c4eb4", + "from": "0xA9DdD91249DFdd450E81E1c56Ab60E1A62651701", + "to": null, + "cumulativeGasUsed": "0x420cd3", + "gasUsed": "0x1d0cef", + "contractAddress": "0xC9dfD5c18F12a3BA6293001700810602efe0c45B", + "logs": [], + "status": "0x1", + "logsBloom": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", + "type": "0x2", + "effectiveGasPrice": "0x34edfff3b" + } + ], + "libraries": [], + "pending": [], + "returns": {}, + "timestamp": 1713426446, + "chain": 1, + "multi": false, + "commit": "8048816" +} \ No newline at end of file diff --git a/broadcast/PTweETHOracle.s.sol/1/run-1713426471.json b/broadcast/PTweETHOracle.s.sol/1/run-1713426471.json new file mode 100644 index 00000000..5e620a73 --- /dev/null +++ b/broadcast/PTweETHOracle.s.sol/1/run-1713426471.json @@ -0,0 +1,52 @@ +{ + "transactions": [ + { + "hash": "0x353ea6a5fd13c8dd931ea7c75681c6247b90ddec0f26cd2294f9f5a060ed12b3", + "transactionType": "CREATE", + "contractName": "MorphoFeedPTweETH", + "contractAddress": "0xC9dfD5c18F12a3BA6293001700810602efe0c45B", + "function": null, + "arguments": [ + "0x5bc6BEf80DA563EBf6Df6D6913513fa9A7ec89BE", + "500000000000000000", + "1800" + ], + "transaction": { + "type": "0x02", + "from": "0xa9ddd91249dfdd450e81e1c56ab60e1a62651701", + "gas": "0x25c142", + "value": "0x0", + "data": "0x60806040523480156200001157600080fd5b506040516200217c3803806200217c8339810160408190526200003491620000d8565b8282828181846001600160a01b038116620000625760405163d92e233d60e01b815260040160405180910390fd5b600080546001600160a01b0319166001600160a01b039290921691909117905561038463ffffffff82161015620000ac57604051630d72bb8f60e41b815260040160405180910390fd5b6001919091556002805463ffffffff191663ffffffff9092169190911790555062000133945050505050565b600080600060608486031215620000ee57600080fd5b83516001600160a01b03811681146200010657600080fd5b60208501516040860151919450925063ffffffff811681146200012857600080fd5b809150509250925092565b61203980620001436000396000f3fe608060405234801561001057600080fd5b50600436106100e65760003560e01c8063181cc05b146100eb578063204f83f91461010957806326d895451461011d578063313ce567146101425780633406b6d11461015157806338d52e0f14610166578063521d4de91461016e57806354fd4d50146101915780637284e4161461019857806380f55605146101d957806383914540146101e1578063921a12ab146101ec5780639a6fc8f5146101f5578063b4a0bdf31461023c578063c433c80a1461024f578063d965a5d214610262578063e43581b814610271578063feaf968c14610284575b600080fd5b6100f361028c565b6040516101009190611c39565b60405180910390f35b63667cab805b604051908152602001610100565b60025461012d9063ffffffff1681565b60405163ffffffff9091168152602001610100565b60405160128152602001610100565b61016461015f366004611c4d565b6102a4565b005b6100f361036e565b61018161017c366004611c7e565b610386565b6040519015158152602001610100565b600161010f565b6101cc6040518060400160405280601581526020017450542d77654554482f7765455448204f7261636c6560581b81525081565b6040516101009190611c9b565b6100f36103fe565b61010f6301e1338081565b61010f60015481565b610208610203366004611cea565b610416565b604080516001600160501b03968716815260208101959095528401929092526060830152909116608082015260a001610100565b6000546100f3906001600160a01b031681565b61016461025d366004611d13565b61043b565b61010f670de0b6b3a764000081565b61018161027f366004611c7e565b61053a565b61020861056b565b73ac0047886a985071476a1186be89222659970d6590565b60005460405163521d4de960e01b81526001600160a01b039091169063521d4de9906102d4903390600401611c39565b602060405180830381865afa1580156102f1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103159190611d39565b61033257604051632678482f60e21b815260040160405180910390fd5b60018190556040518181527f1693f12ff158ba72b61d65dce0487c8c9166916e22e284990a7e42b5f38b080a906020015b60405180910390a150565b73cd5fe23c85820f7b72d0926fc9b05b43e359b7ee90565b6000805460405163521d4de960e01b81526001600160a01b039091169063521d4de9906103b7908590600401611c39565b602060405180830381865afa1580156103d4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103f89190611d39565b92915050565b73f32e58f92e60f4b0a37a69b95d642a471365eae890565b60008060008060008061042761058f565b909790965060009550859450849350915050565b60005460405163521d4de960e01b81526001600160a01b039091169063521d4de99061046b903390600401611c39565b602060405180830381865afa158015610488573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104ac9190611d39565b6104c957604051632678482f60e21b815260040160405180910390fd5b6103848163ffffffff1610156104f257604051630d72bb8f60e41b815260040160405180910390fd5b6002805463ffffffff191663ffffffff83169081179091556040519081527f87edb95cfb8afc62e405f2bb9fe4ec71648ccecc13387d294c8a5eb09ca53fd790602001610363565b60008054604051631c86b03760e31b81526001600160a01b039091169063e43581b8906103b7908590600401611c39565b60008060008060008061057c61058f565b9096909550600094508493508392509050565b60008061059a6105ec565b905060006105a6610681565b905060008183116105b757826105b9565b815b90506000670de0b6b3a7640000826105cf6106a1565b6105d99190611d71565b6105e39190611d9e565b95945050505050565b60008063667cab80421161060d576106084263667cab80611db2565b610610565b60005b90508060000361062957670de0b6b3a764000091505090565b600061065d61063c836301e133806107c8565b61065761064860015490565b670de0b6b3a7640000906107e7565b906107f6565b90506000610679610676670de0b6b3a7640000846107c8565b90565b949350505050565b600061069c61068e6103fe565b60025463ffffffff16610906565b905090565b6000806106ac61036e565b6001600160a01b03166370a082316106c261028c565b6040518263ffffffff1660e01b81526004016106de9190611c39565b602060405180830381865afa1580156106fb573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061071f9190611dc5565b9050600061072b61028c565b6001600160a01b03166318160ddd6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610768573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061078c9190611dc5565b90508082116107b757806107a8670de0b6b3a764000084611d71565b6107b29190611d9e565b6107c1565b670de0b6b3a76400005b9250505090565b60006107e061067684670de0b6b3a764000085610949565b9392505050565b60006107e06106768385611dde565b6000828281830361082157801561080e576000610818565b670de0b6b3a76400005b925050506103f8565b670de0b6b3a7640000820361084257670de0b6b3a7640000925050506103f8565b8060000361085c57670de0b6b3a7640000925050506103f8565b670de0b6b3a764000081036108755784925050506103f8565b670de0b6b3a76400008211156108a65761089f61089a61089487610a21565b86610b4a565b610b59565b92506108fe565b60006108c3610676846a0c097ce7bc90715b34b9f160241b611d9e565b905060006108dc61089a6108d684610a21565b88610b4a565b90506108f9610676826a0c097ce7bc90715b34b9f160241b611d9e565b945050505b505092915050565b600080600061091485610baf565b91509150808210610929576108188585610ddf565b80826109358787610ddf565b61093f9190611d71565b6108189190611d9e565b60008080600019858709858702925082811083820303915050806000036109835783828161097957610979611d88565b04925050506107e0565b8381106109b957604051630c740aef60e31b81526004810187905260248101869052604481018590526064015b60405180910390fd5b600084868809600260036001881981018916988990049182028318808302840302808302840302808302840302808302840302808302840302918202909203026000889003889004909101858311909403939093029303949094049190911702949350505050565b600081670de0b6b3a7640000811015610a505760405163036d32ef60e41b8152600481018490526024016109b0565b6000610ad2670de0b6b3a7640000830460016001600160801b03821160071b91821c6001600160401b03811160061b90811c63ffffffff811160051b90811c61ffff811160041b90811c60ff8111600390811b91821c600f811160021b90811c918211871b91821c969096119490961792909217171791909117919091171790565b9050670de0b6b3a7640000810282821c670de0b6b3a763ffff198101610afb5750949350505050565b671bc16d674ec800006706f05b59d3b200005b8015610b3e57670de0b6b3a7640000838002049250818310610b36579283019260019290921c915b60011c610b0e565b50919695505050505050565b60006107e06106768484610eb4565b600081680a688906bd8affffff811115610b895760405163b3b6ba1f60e01b8152600481018490526024016109b0565b6000610ba1670de0b6b3a7640000604084901b611d9e565b905061067961067682610f6a565b600080600080846001600160a01b0316632c8ce6bc6040518163ffffffff1660e01b8152600401606060405180830381865afa158015610bf3573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c179190611df1565b9250509150816001600160a01b0316633ba0b9a96040518163ffffffff1660e01b8152600401602060405180830381865afa158015610c5a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c7e9190611dc5565b93506000816001600160a01b031663d2a3584e6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610cc0573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ce49190611dc5565b9050816001600160a01b031663516399df6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610d24573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d489190611d39565b8015610dbd575043826001600160a01b03166360e0a9e16040518163ffffffff1660e01b8152600401602060405180830381865afa158015610d8e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610db29190611e3e565b6001600160801b0316145b15610dca57809350610dd7565b610dd48582611656565b93505b505050915091565b600080836001600160a01b031663e184c9be6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610e20573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e449190611dc5565b9050428111610e5e57670de0b6b3a76400009150506103f8565b6000610e6a858561166c565b90506000610e784284611db2565b90506000610e8e610e898484611793565b6117cc565b9050610ea2670de0b6b3a7640000826117df565b9450505050506103f8565b5092915050565b6000808060001984860984860292508281108382030391505080600003610ee85750670de0b6b3a7640000900490506103f8565b670de0b6b3a76400008110610f1a57604051635173648d60e01b815260048101869052602481018590526044016109b0565b6000670de0b6b3a764000085870962040000818503049310909103600160ee1b02919091177faccb18165bd6fe31ae1cf318dc5b51eee0e1ba569b88cd74c1773b91fac106690291505092915050565b600160bf1b60ff60381b821615611053576001603f1b821615610f965768016a09e667f3bcc9090260401c5b6001603e1b821615610fb1576801306fe0a31b7152df0260401c5b6001603d1b821615610fcc576801172b83c7d517adce0260401c5b6001603c1b821615610fe75768010b5586cf9890f62a0260401c5b6001603b1b821615611002576801059b0d31585743ae0260401c5b6001603a1b82161561101d57680102c9a3e778060ee70260401c5b600160391b8216156110385768010163da9fb33356d80260401c5b600160381b82161561105357680100b1afa5abcbed610260401c5b60ff60301b82161561113757600160371b82161561107a5768010058c86da1c09ea20260401c5b600160361b821615611095576801002c605e2e8cec500260401c5b600160351b8216156110b057680100162f3904051fa10260401c5b600160341b8216156110cb576801000b175effdc76ba0260401c5b600160331b8216156110e657680100058ba01fb9f96d0260401c5b600160321b8216156111015768010002c5cc37da94920260401c5b600160311b82161561111c576801000162e525ee05470260401c5b600160301b8216156111375768010000b17255775c040260401c5b60ff60281b82161561121b576001602f1b82161561115e576801000058b91b5bc9ae0260401c5b6001602e1b82161561117957680100002c5c89d5ec6d0260401c5b6001602d1b8216156111945768010000162e43f4f8310260401c5b6001602c1b8216156111af57680100000b1721bcfc9a0260401c5b6001602b1b8216156111ca5768010000058b90cf1e6e0260401c5b6001602a1b8216156111e5576801000002c5c863b73f0260401c5b600160291b82161561120057680100000162e430e5a20260401c5b600160281b82161561121b576801000000b1721835510260401c5b60ff60201b8216156112ff57600160271b82161561124257680100000058b90c0b490260401c5b600160261b82161561125d5768010000002c5c8601cc0260401c5b600160251b821615611278576801000000162e42fff00260401c5b600160241b8216156112935768010000000b17217fbb0260401c5b600160231b8216156112ae576801000000058b90bfce0260401c5b600160221b8216156112c957680100000002c5c85fe30260401c5b600160211b8216156112e45768010000000162e42ff10260401c5b600160201b8216156112ff57680100000000b17217f80260401c5b63ff0000008216156113e35763800000008216156113265768010000000058b90bfc0260401c5b6340000000821615611341576801000000002c5c85fe0260401c5b632000000082161561135c57680100000000162e42ff0260401c5b6310000000821615611377576801000000000b17217f0260401c5b630800000082161561139257680100000000058b90c00260401c5b63040000008216156113ad5768010000000002c5c8600260401c5b63020000008216156113c8576801000000000162e4300260401c5b63010000008216156113e35768010000000000b172180260401c5b62ff00008216156114bd5762800000821615611408576801000000000058b90c0260401c5b6240000082161561142257680100000000002c5c860260401c5b6220000082161561143c5768010000000000162e430260401c5b6210000082161561145657680100000000000b17210260401c5b620800008216156114705768010000000000058b910260401c5b6204000082161561148a576801000000000002c5c80260401c5b620200008216156114a457680100000000000162e40260401c5b620100008216156114bd5761b172600160401b010260401c5b61ff00821615611586576180008216156114df576158b9600160401b010260401c5b6140008216156114f757612c5d600160401b010260401c5b61200082161561150f5761162e600160401b010260401c5b61100082161561152757610b17600160401b010260401c5b61080082161561153f5761058c600160401b010260401c5b610400821615611557576102c6600160401b010260401c5b61020082161561156f57610163600160401b010260401c5b6101008216156115865760b1600160401b010260401c5b60ff82161561163f5760808216156115a5576059600160401b010260401c5b60408216156115bb57602c600160401b010260401c5b60208216156115d1576016600160401b010260401c5b60108216156115e757600b600160401b010260401c5b60088216156115fd576006600160401b010260401c5b6004821615611613576003600160401b010260401c5b6002821615611629576001600160401b010260401c5b600182161561163f576001600160401b010260401c5b670de0b6b3a76400000260409190911c60bf031c90565b600081831161166557816107e0565b5090919050565b6040805160028082526060820183526000928392919060208301908036833701905050905082816000815181106116a5576116a5611e7d565b63ffffffff9092166020928302919091019091015260405163883bdbfd60e01b81526000906001600160a01b0386169063883bdbfd906116e9908590600401611e93565b600060405180830381865afa158015611706573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261172e9190810190611ef9565b90508363ffffffff168160008151811061174a5761174a611e7d565b60200260200101518260018151811061176557611765611e7d565b60200260200101516117779190611fbd565b6117819190611fdd565b6001600160d81b031695945050505050565b6000806117a56201518061016d611d71565b6117af8486611d71565b6117b99190611d9e565b90506106796117c78261180e565b611824565b6000808212156117db57600080fd5b5090565b6000806117f4670de0b6b3a764000085611d71565b905082818161180557611805611d88565b04949350505050565b60006001600160ff1b038211156117db57600080fd5b6000680238fd42c5cf03ffff198212158015611849575068070c1cc73b00c800008213155b6118885760405162461bcd60e51b815260206004820152601060248201526f125b9d985b1a5908195e1c1bdb995b9d60821b60448201526064016109b0565b60008212156118c05761189d82600003611824565b6a0c097ce7bc90715b34b9f160241b816118b9576118b9611d88565b0592915050565b60006806f05b59d3b200000083126118fe57506806f05b59d3b1ffffff199091019072195e54c5dd42177f53a27172fa9ec63026282760241b611934565b6803782dace9d9000000831261193057506803782dace9d8ffffff19909101906b1425982cf597cd205cef7380611934565b5060015b6064929092029168056bc75e2d6310000068ad78ebc5ac6200000084126119845768ad78ebc5ac61ffffff199093019268056bc75e2d631000006e01855144814a7ff805980ff008400082020590505b6856bc75e2d63100000084126119c0576856bc75e2d630ffffff199093019268056bc75e2d631000006b02df0ab5a80a22c61ab5a70082020590505b682b5e3af16b1880000084126119fa57682b5e3af16b187fffff199093019268056bc75e2d63100000693f1fce3da636ea5cf85082020590505b6815af1d78b58c4000008412611a34576815af1d78b58c3fffff199093019268056bc75e2d63100000690127fa27722cc06cc5e282020590505b680ad78ebc5ac62000008412611a6d57680ad78ebc5ac61fffff199093019268056bc75e2d6310000068280e60114edb805d0382020590505b68056bc75e2d631000008412611aa65768056bc75e2d630fffff199093019268056bc75e2d63100000680ebc5fb4174612111082020590505b6802b5e3af16b18800008412611adf576802b5e3af16b187ffff199093019268056bc75e2d631000006808f00f760a4b2db55d82020590505b68015af1d78b58c400008412611b185768015af1d78b58c3ffff199093019268056bc75e2d631000006806f5f177578893793782020590505b68056bc75e2d631000008481019085906002908280020505918201919050600368056bc75e2d631000008783020505918201919050600468056bc75e2d631000008783020505918201919050600568056bc75e2d631000008783020505918201919050600668056bc75e2d631000008783020505918201919050600768056bc75e2d631000008783020505918201919050600868056bc75e2d631000008783020505918201919050600968056bc75e2d631000008783020505918201919050600a68056bc75e2d631000008783020505918201919050600b68056bc75e2d631000008783020505918201919050600c68056bc75e2d631000008783020505918201919050606468056bc75e2d63100000848402058502059695505050505050565b6001600160a01b0391909116815260200190565b600060208284031215611c5f57600080fd5b5035919050565b6001600160a01b0381168114611c7b57600080fd5b50565b600060208284031215611c9057600080fd5b81356107e081611c66565b60006020808352835180602085015260005b81811015611cc957858101830151858201604001528201611cad565b506000604082860101526040601f19601f8301168501019250505092915050565b600060208284031215611cfc57600080fd5b81356001600160501b03811681146107e057600080fd5b600060208284031215611d2557600080fd5b813563ffffffff811681146107e057600080fd5b600060208284031215611d4b57600080fd5b815180151581146107e057600080fd5b634e487b7160e01b600052601160045260246000fd5b80820281158282048414176103f8576103f8611d5b565b634e487b7160e01b600052601260045260246000fd5b600082611dad57611dad611d88565b500490565b818103818111156103f8576103f8611d5b565b600060208284031215611dd757600080fd5b5051919050565b808201808211156103f8576103f8611d5b565b600080600060608486031215611e0657600080fd5b8351611e1181611c66565b6020850151909350611e2281611c66565b6040850151909250611e3381611c66565b809150509250925092565b600060208284031215611e5057600080fd5b81516001600160801b03811681146107e057600080fd5b634e487b7160e01b600052604160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b6020808252825182820181905260009190848201906040850190845b81811015611ed157835163ffffffff1683529284019291840191600101611eaf565b50909695505050505050565b80516001600160d81b0381168114611ef457600080fd5b919050565b60006020808385031215611f0c57600080fd5b82516001600160401b0380821115611f2357600080fd5b818501915085601f830112611f3757600080fd5b815181811115611f4957611f49611e67565b8060051b604051601f19603f83011681018181108582111715611f6e57611f6e611e67565b604052918252848201925083810185019188831115611f8c57600080fd5b938501935b82851015611fb157611fa285611edd565b84529385019392850192611f91565b98975050505050505050565b6001600160d81b03828116828216039080821115610ead57610ead611d5b565b60006001600160d81b0383811680611ff757611ff7611d88565b9216919091049291505056fea2646970667358221220034e7feff1263c85764d26fe39737913394f41a4cff1299c8a8d73191fbc550c64736f6c634300081600330000000000000000000000005bc6bef80da563ebf6df6d6913513fa9a7ec89be00000000000000000000000000000000000000000000000006f05b59d3b200000000000000000000000000000000000000000000000000000000000000000708", + "nonce": "0xa3", + "accessList": [] + }, + "additionalContracts": [], + "isFixedGasLimit": false + } + ], + "receipts": [ + { + "transactionHash": "0x353ea6a5fd13c8dd931ea7c75681c6247b90ddec0f26cd2294f9f5a060ed12b3", + "transactionIndex": "0x1e", + "blockHash": "0xf565e79420717acb1ee6beff32033a25b353ec7df680a2440a86550359ca83c9", + "blockNumber": "0x12c4eb4", + "from": "0xA9DdD91249DFdd450E81E1c56Ab60E1A62651701", + "to": null, + "cumulativeGasUsed": "0x420cd3", + "gasUsed": "0x1d0cef", + "contractAddress": "0xC9dfD5c18F12a3BA6293001700810602efe0c45B", + "logs": [], + "status": "0x1", + "logsBloom": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", + "type": "0x2", + "effectiveGasPrice": "0x34edfff3b" + } + ], + "libraries": [], + "pending": [], + "returns": {}, + "timestamp": 1713426471, + "chain": 1, + "multi": false, + "commit": "8048816" +} \ No newline at end of file diff --git a/broadcast/PTweETHOracle.s.sol/1/run-latest.json b/broadcast/PTweETHOracle.s.sol/1/run-latest.json new file mode 100644 index 00000000..5e620a73 --- /dev/null +++ b/broadcast/PTweETHOracle.s.sol/1/run-latest.json @@ -0,0 +1,52 @@ +{ + "transactions": [ + { + "hash": "0x353ea6a5fd13c8dd931ea7c75681c6247b90ddec0f26cd2294f9f5a060ed12b3", + "transactionType": "CREATE", + "contractName": "MorphoFeedPTweETH", + "contractAddress": "0xC9dfD5c18F12a3BA6293001700810602efe0c45B", + "function": null, + "arguments": [ + "0x5bc6BEf80DA563EBf6Df6D6913513fa9A7ec89BE", + "500000000000000000", + "1800" + ], + "transaction": { + "type": "0x02", + "from": "0xa9ddd91249dfdd450e81e1c56ab60e1a62651701", + "gas": "0x25c142", + "value": "0x0", + "data": "0x60806040523480156200001157600080fd5b506040516200217c3803806200217c8339810160408190526200003491620000d8565b8282828181846001600160a01b038116620000625760405163d92e233d60e01b815260040160405180910390fd5b600080546001600160a01b0319166001600160a01b039290921691909117905561038463ffffffff82161015620000ac57604051630d72bb8f60e41b815260040160405180910390fd5b6001919091556002805463ffffffff191663ffffffff9092169190911790555062000133945050505050565b600080600060608486031215620000ee57600080fd5b83516001600160a01b03811681146200010657600080fd5b60208501516040860151919450925063ffffffff811681146200012857600080fd5b809150509250925092565b61203980620001436000396000f3fe608060405234801561001057600080fd5b50600436106100e65760003560e01c8063181cc05b146100eb578063204f83f91461010957806326d895451461011d578063313ce567146101425780633406b6d11461015157806338d52e0f14610166578063521d4de91461016e57806354fd4d50146101915780637284e4161461019857806380f55605146101d957806383914540146101e1578063921a12ab146101ec5780639a6fc8f5146101f5578063b4a0bdf31461023c578063c433c80a1461024f578063d965a5d214610262578063e43581b814610271578063feaf968c14610284575b600080fd5b6100f361028c565b6040516101009190611c39565b60405180910390f35b63667cab805b604051908152602001610100565b60025461012d9063ffffffff1681565b60405163ffffffff9091168152602001610100565b60405160128152602001610100565b61016461015f366004611c4d565b6102a4565b005b6100f361036e565b61018161017c366004611c7e565b610386565b6040519015158152602001610100565b600161010f565b6101cc6040518060400160405280601581526020017450542d77654554482f7765455448204f7261636c6560581b81525081565b6040516101009190611c9b565b6100f36103fe565b61010f6301e1338081565b61010f60015481565b610208610203366004611cea565b610416565b604080516001600160501b03968716815260208101959095528401929092526060830152909116608082015260a001610100565b6000546100f3906001600160a01b031681565b61016461025d366004611d13565b61043b565b61010f670de0b6b3a764000081565b61018161027f366004611c7e565b61053a565b61020861056b565b73ac0047886a985071476a1186be89222659970d6590565b60005460405163521d4de960e01b81526001600160a01b039091169063521d4de9906102d4903390600401611c39565b602060405180830381865afa1580156102f1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103159190611d39565b61033257604051632678482f60e21b815260040160405180910390fd5b60018190556040518181527f1693f12ff158ba72b61d65dce0487c8c9166916e22e284990a7e42b5f38b080a906020015b60405180910390a150565b73cd5fe23c85820f7b72d0926fc9b05b43e359b7ee90565b6000805460405163521d4de960e01b81526001600160a01b039091169063521d4de9906103b7908590600401611c39565b602060405180830381865afa1580156103d4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103f89190611d39565b92915050565b73f32e58f92e60f4b0a37a69b95d642a471365eae890565b60008060008060008061042761058f565b909790965060009550859450849350915050565b60005460405163521d4de960e01b81526001600160a01b039091169063521d4de99061046b903390600401611c39565b602060405180830381865afa158015610488573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104ac9190611d39565b6104c957604051632678482f60e21b815260040160405180910390fd5b6103848163ffffffff1610156104f257604051630d72bb8f60e41b815260040160405180910390fd5b6002805463ffffffff191663ffffffff83169081179091556040519081527f87edb95cfb8afc62e405f2bb9fe4ec71648ccecc13387d294c8a5eb09ca53fd790602001610363565b60008054604051631c86b03760e31b81526001600160a01b039091169063e43581b8906103b7908590600401611c39565b60008060008060008061057c61058f565b9096909550600094508493508392509050565b60008061059a6105ec565b905060006105a6610681565b905060008183116105b757826105b9565b815b90506000670de0b6b3a7640000826105cf6106a1565b6105d99190611d71565b6105e39190611d9e565b95945050505050565b60008063667cab80421161060d576106084263667cab80611db2565b610610565b60005b90508060000361062957670de0b6b3a764000091505090565b600061065d61063c836301e133806107c8565b61065761064860015490565b670de0b6b3a7640000906107e7565b906107f6565b90506000610679610676670de0b6b3a7640000846107c8565b90565b949350505050565b600061069c61068e6103fe565b60025463ffffffff16610906565b905090565b6000806106ac61036e565b6001600160a01b03166370a082316106c261028c565b6040518263ffffffff1660e01b81526004016106de9190611c39565b602060405180830381865afa1580156106fb573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061071f9190611dc5565b9050600061072b61028c565b6001600160a01b03166318160ddd6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610768573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061078c9190611dc5565b90508082116107b757806107a8670de0b6b3a764000084611d71565b6107b29190611d9e565b6107c1565b670de0b6b3a76400005b9250505090565b60006107e061067684670de0b6b3a764000085610949565b9392505050565b60006107e06106768385611dde565b6000828281830361082157801561080e576000610818565b670de0b6b3a76400005b925050506103f8565b670de0b6b3a7640000820361084257670de0b6b3a7640000925050506103f8565b8060000361085c57670de0b6b3a7640000925050506103f8565b670de0b6b3a764000081036108755784925050506103f8565b670de0b6b3a76400008211156108a65761089f61089a61089487610a21565b86610b4a565b610b59565b92506108fe565b60006108c3610676846a0c097ce7bc90715b34b9f160241b611d9e565b905060006108dc61089a6108d684610a21565b88610b4a565b90506108f9610676826a0c097ce7bc90715b34b9f160241b611d9e565b945050505b505092915050565b600080600061091485610baf565b91509150808210610929576108188585610ddf565b80826109358787610ddf565b61093f9190611d71565b6108189190611d9e565b60008080600019858709858702925082811083820303915050806000036109835783828161097957610979611d88565b04925050506107e0565b8381106109b957604051630c740aef60e31b81526004810187905260248101869052604481018590526064015b60405180910390fd5b600084868809600260036001881981018916988990049182028318808302840302808302840302808302840302808302840302808302840302918202909203026000889003889004909101858311909403939093029303949094049190911702949350505050565b600081670de0b6b3a7640000811015610a505760405163036d32ef60e41b8152600481018490526024016109b0565b6000610ad2670de0b6b3a7640000830460016001600160801b03821160071b91821c6001600160401b03811160061b90811c63ffffffff811160051b90811c61ffff811160041b90811c60ff8111600390811b91821c600f811160021b90811c918211871b91821c969096119490961792909217171791909117919091171790565b9050670de0b6b3a7640000810282821c670de0b6b3a763ffff198101610afb5750949350505050565b671bc16d674ec800006706f05b59d3b200005b8015610b3e57670de0b6b3a7640000838002049250818310610b36579283019260019290921c915b60011c610b0e565b50919695505050505050565b60006107e06106768484610eb4565b600081680a688906bd8affffff811115610b895760405163b3b6ba1f60e01b8152600481018490526024016109b0565b6000610ba1670de0b6b3a7640000604084901b611d9e565b905061067961067682610f6a565b600080600080846001600160a01b0316632c8ce6bc6040518163ffffffff1660e01b8152600401606060405180830381865afa158015610bf3573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c179190611df1565b9250509150816001600160a01b0316633ba0b9a96040518163ffffffff1660e01b8152600401602060405180830381865afa158015610c5a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c7e9190611dc5565b93506000816001600160a01b031663d2a3584e6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610cc0573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ce49190611dc5565b9050816001600160a01b031663516399df6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610d24573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d489190611d39565b8015610dbd575043826001600160a01b03166360e0a9e16040518163ffffffff1660e01b8152600401602060405180830381865afa158015610d8e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610db29190611e3e565b6001600160801b0316145b15610dca57809350610dd7565b610dd48582611656565b93505b505050915091565b600080836001600160a01b031663e184c9be6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610e20573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e449190611dc5565b9050428111610e5e57670de0b6b3a76400009150506103f8565b6000610e6a858561166c565b90506000610e784284611db2565b90506000610e8e610e898484611793565b6117cc565b9050610ea2670de0b6b3a7640000826117df565b9450505050506103f8565b5092915050565b6000808060001984860984860292508281108382030391505080600003610ee85750670de0b6b3a7640000900490506103f8565b670de0b6b3a76400008110610f1a57604051635173648d60e01b815260048101869052602481018590526044016109b0565b6000670de0b6b3a764000085870962040000818503049310909103600160ee1b02919091177faccb18165bd6fe31ae1cf318dc5b51eee0e1ba569b88cd74c1773b91fac106690291505092915050565b600160bf1b60ff60381b821615611053576001603f1b821615610f965768016a09e667f3bcc9090260401c5b6001603e1b821615610fb1576801306fe0a31b7152df0260401c5b6001603d1b821615610fcc576801172b83c7d517adce0260401c5b6001603c1b821615610fe75768010b5586cf9890f62a0260401c5b6001603b1b821615611002576801059b0d31585743ae0260401c5b6001603a1b82161561101d57680102c9a3e778060ee70260401c5b600160391b8216156110385768010163da9fb33356d80260401c5b600160381b82161561105357680100b1afa5abcbed610260401c5b60ff60301b82161561113757600160371b82161561107a5768010058c86da1c09ea20260401c5b600160361b821615611095576801002c605e2e8cec500260401c5b600160351b8216156110b057680100162f3904051fa10260401c5b600160341b8216156110cb576801000b175effdc76ba0260401c5b600160331b8216156110e657680100058ba01fb9f96d0260401c5b600160321b8216156111015768010002c5cc37da94920260401c5b600160311b82161561111c576801000162e525ee05470260401c5b600160301b8216156111375768010000b17255775c040260401c5b60ff60281b82161561121b576001602f1b82161561115e576801000058b91b5bc9ae0260401c5b6001602e1b82161561117957680100002c5c89d5ec6d0260401c5b6001602d1b8216156111945768010000162e43f4f8310260401c5b6001602c1b8216156111af57680100000b1721bcfc9a0260401c5b6001602b1b8216156111ca5768010000058b90cf1e6e0260401c5b6001602a1b8216156111e5576801000002c5c863b73f0260401c5b600160291b82161561120057680100000162e430e5a20260401c5b600160281b82161561121b576801000000b1721835510260401c5b60ff60201b8216156112ff57600160271b82161561124257680100000058b90c0b490260401c5b600160261b82161561125d5768010000002c5c8601cc0260401c5b600160251b821615611278576801000000162e42fff00260401c5b600160241b8216156112935768010000000b17217fbb0260401c5b600160231b8216156112ae576801000000058b90bfce0260401c5b600160221b8216156112c957680100000002c5c85fe30260401c5b600160211b8216156112e45768010000000162e42ff10260401c5b600160201b8216156112ff57680100000000b17217f80260401c5b63ff0000008216156113e35763800000008216156113265768010000000058b90bfc0260401c5b6340000000821615611341576801000000002c5c85fe0260401c5b632000000082161561135c57680100000000162e42ff0260401c5b6310000000821615611377576801000000000b17217f0260401c5b630800000082161561139257680100000000058b90c00260401c5b63040000008216156113ad5768010000000002c5c8600260401c5b63020000008216156113c8576801000000000162e4300260401c5b63010000008216156113e35768010000000000b172180260401c5b62ff00008216156114bd5762800000821615611408576801000000000058b90c0260401c5b6240000082161561142257680100000000002c5c860260401c5b6220000082161561143c5768010000000000162e430260401c5b6210000082161561145657680100000000000b17210260401c5b620800008216156114705768010000000000058b910260401c5b6204000082161561148a576801000000000002c5c80260401c5b620200008216156114a457680100000000000162e40260401c5b620100008216156114bd5761b172600160401b010260401c5b61ff00821615611586576180008216156114df576158b9600160401b010260401c5b6140008216156114f757612c5d600160401b010260401c5b61200082161561150f5761162e600160401b010260401c5b61100082161561152757610b17600160401b010260401c5b61080082161561153f5761058c600160401b010260401c5b610400821615611557576102c6600160401b010260401c5b61020082161561156f57610163600160401b010260401c5b6101008216156115865760b1600160401b010260401c5b60ff82161561163f5760808216156115a5576059600160401b010260401c5b60408216156115bb57602c600160401b010260401c5b60208216156115d1576016600160401b010260401c5b60108216156115e757600b600160401b010260401c5b60088216156115fd576006600160401b010260401c5b6004821615611613576003600160401b010260401c5b6002821615611629576001600160401b010260401c5b600182161561163f576001600160401b010260401c5b670de0b6b3a76400000260409190911c60bf031c90565b600081831161166557816107e0565b5090919050565b6040805160028082526060820183526000928392919060208301908036833701905050905082816000815181106116a5576116a5611e7d565b63ffffffff9092166020928302919091019091015260405163883bdbfd60e01b81526000906001600160a01b0386169063883bdbfd906116e9908590600401611e93565b600060405180830381865afa158015611706573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261172e9190810190611ef9565b90508363ffffffff168160008151811061174a5761174a611e7d565b60200260200101518260018151811061176557611765611e7d565b60200260200101516117779190611fbd565b6117819190611fdd565b6001600160d81b031695945050505050565b6000806117a56201518061016d611d71565b6117af8486611d71565b6117b99190611d9e565b90506106796117c78261180e565b611824565b6000808212156117db57600080fd5b5090565b6000806117f4670de0b6b3a764000085611d71565b905082818161180557611805611d88565b04949350505050565b60006001600160ff1b038211156117db57600080fd5b6000680238fd42c5cf03ffff198212158015611849575068070c1cc73b00c800008213155b6118885760405162461bcd60e51b815260206004820152601060248201526f125b9d985b1a5908195e1c1bdb995b9d60821b60448201526064016109b0565b60008212156118c05761189d82600003611824565b6a0c097ce7bc90715b34b9f160241b816118b9576118b9611d88565b0592915050565b60006806f05b59d3b200000083126118fe57506806f05b59d3b1ffffff199091019072195e54c5dd42177f53a27172fa9ec63026282760241b611934565b6803782dace9d9000000831261193057506803782dace9d8ffffff19909101906b1425982cf597cd205cef7380611934565b5060015b6064929092029168056bc75e2d6310000068ad78ebc5ac6200000084126119845768ad78ebc5ac61ffffff199093019268056bc75e2d631000006e01855144814a7ff805980ff008400082020590505b6856bc75e2d63100000084126119c0576856bc75e2d630ffffff199093019268056bc75e2d631000006b02df0ab5a80a22c61ab5a70082020590505b682b5e3af16b1880000084126119fa57682b5e3af16b187fffff199093019268056bc75e2d63100000693f1fce3da636ea5cf85082020590505b6815af1d78b58c4000008412611a34576815af1d78b58c3fffff199093019268056bc75e2d63100000690127fa27722cc06cc5e282020590505b680ad78ebc5ac62000008412611a6d57680ad78ebc5ac61fffff199093019268056bc75e2d6310000068280e60114edb805d0382020590505b68056bc75e2d631000008412611aa65768056bc75e2d630fffff199093019268056bc75e2d63100000680ebc5fb4174612111082020590505b6802b5e3af16b18800008412611adf576802b5e3af16b187ffff199093019268056bc75e2d631000006808f00f760a4b2db55d82020590505b68015af1d78b58c400008412611b185768015af1d78b58c3ffff199093019268056bc75e2d631000006806f5f177578893793782020590505b68056bc75e2d631000008481019085906002908280020505918201919050600368056bc75e2d631000008783020505918201919050600468056bc75e2d631000008783020505918201919050600568056bc75e2d631000008783020505918201919050600668056bc75e2d631000008783020505918201919050600768056bc75e2d631000008783020505918201919050600868056bc75e2d631000008783020505918201919050600968056bc75e2d631000008783020505918201919050600a68056bc75e2d631000008783020505918201919050600b68056bc75e2d631000008783020505918201919050600c68056bc75e2d631000008783020505918201919050606468056bc75e2d63100000848402058502059695505050505050565b6001600160a01b0391909116815260200190565b600060208284031215611c5f57600080fd5b5035919050565b6001600160a01b0381168114611c7b57600080fd5b50565b600060208284031215611c9057600080fd5b81356107e081611c66565b60006020808352835180602085015260005b81811015611cc957858101830151858201604001528201611cad565b506000604082860101526040601f19601f8301168501019250505092915050565b600060208284031215611cfc57600080fd5b81356001600160501b03811681146107e057600080fd5b600060208284031215611d2557600080fd5b813563ffffffff811681146107e057600080fd5b600060208284031215611d4b57600080fd5b815180151581146107e057600080fd5b634e487b7160e01b600052601160045260246000fd5b80820281158282048414176103f8576103f8611d5b565b634e487b7160e01b600052601260045260246000fd5b600082611dad57611dad611d88565b500490565b818103818111156103f8576103f8611d5b565b600060208284031215611dd757600080fd5b5051919050565b808201808211156103f8576103f8611d5b565b600080600060608486031215611e0657600080fd5b8351611e1181611c66565b6020850151909350611e2281611c66565b6040850151909250611e3381611c66565b809150509250925092565b600060208284031215611e5057600080fd5b81516001600160801b03811681146107e057600080fd5b634e487b7160e01b600052604160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b6020808252825182820181905260009190848201906040850190845b81811015611ed157835163ffffffff1683529284019291840191600101611eaf565b50909695505050505050565b80516001600160d81b0381168114611ef457600080fd5b919050565b60006020808385031215611f0c57600080fd5b82516001600160401b0380821115611f2357600080fd5b818501915085601f830112611f3757600080fd5b815181811115611f4957611f49611e67565b8060051b604051601f19603f83011681018181108582111715611f6e57611f6e611e67565b604052918252848201925083810185019188831115611f8c57600080fd5b938501935b82851015611fb157611fa285611edd565b84529385019392850192611f91565b98975050505050505050565b6001600160d81b03828116828216039080821115610ead57610ead611d5b565b60006001600160d81b0383811680611ff757611ff7611d88565b9216919091049291505056fea2646970667358221220034e7feff1263c85764d26fe39737913394f41a4cff1299c8a8d73191fbc550c64736f6c634300081600330000000000000000000000005bc6bef80da563ebf6df6d6913513fa9a7ec89be00000000000000000000000000000000000000000000000006f05b59d3b200000000000000000000000000000000000000000000000000000000000000000708", + "nonce": "0xa3", + "accessList": [] + }, + "additionalContracts": [], + "isFixedGasLimit": false + } + ], + "receipts": [ + { + "transactionHash": "0x353ea6a5fd13c8dd931ea7c75681c6247b90ddec0f26cd2294f9f5a060ed12b3", + "transactionIndex": "0x1e", + "blockHash": "0xf565e79420717acb1ee6beff32033a25b353ec7df680a2440a86550359ca83c9", + "blockNumber": "0x12c4eb4", + "from": "0xA9DdD91249DFdd450E81E1c56Ab60E1A62651701", + "to": null, + "cumulativeGasUsed": "0x420cd3", + "gasUsed": "0x1d0cef", + "contractAddress": "0xC9dfD5c18F12a3BA6293001700810602efe0c45B", + "logs": [], + "status": "0x1", + "logsBloom": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", + "type": "0x2", + "effectiveGasPrice": "0x34edfff3b" + } + ], + "libraries": [], + "pending": [], + "returns": {}, + "timestamp": 1713426471, + "chain": 1, + "multi": false, + "commit": "8048816" +} \ No newline at end of file diff --git a/contracts/oracle/BaseOraclePTPendle.sol b/contracts/oracle/BaseOraclePTPendle.sol index 4037f0a8..2030f2b0 100644 --- a/contracts/oracle/BaseOraclePTPendle.sol +++ b/contracts/oracle/BaseOraclePTPendle.sol @@ -69,7 +69,7 @@ abstract contract BaseOraclePTPendle { /// - getPtToSy() should be used if the underlying token is tradable, /// - getPtToAsset() if not /// @dev https://docs.pendle.finance/Developers/Contracts/StandardizedYield#asset-of-sy--assetinfo-function - function _pendlePTPrice() internal view returns (uint256) { + function _pendlePTPrice() internal view virtual returns (uint256) { return PendlePtOracleLib.getPtToAssetRate(IPMarket(market()), twapDuration); } diff --git a/package.json b/package.json index 287c76a2..ef1f9478 100644 --- a/package.json +++ b/package.json @@ -6,12 +6,12 @@ "scripts": { "hardhat:compile": "hardhat compile", "foundry:compile": "forge build", - "foundry:deploy:mainnet": "forge script --rpc-url mainnet --broadcast --verify -vvvv", - "foundry:deploy:polygon": "forge script --rpc-url polygon --broadcast --verify -vvvv", + "deploy": "forge script --skip test --broadcast --verify --slow -vvvv --rpc-url", + "deploy:fork": "FOUNDRY_PROFILE=dev forge script --skip test --slow --fork-url fork --broadcast -vvvv", "check-upgradeability": "hardhat run scripts/upgradeability.ts", "coverage": "hardhat coverage", "coverage:foundry": "forge coverage --report lcov", - "deploy": "hardhat deploy --tags coreMerkl --network ", + "deploy:hardhat": "hardhat deploy --tags coreMerkl --network ", "etherscan": "hardhat etherscan-verify --network", "foundry:deploy": "forge script --broadcast --verify -vvvv --rpc-url", "generate-types-from-abis": "typechain --target ethers-v5 --out-dir typechain './export/abi/*.json'", diff --git a/scripts/foundry/mainnet/PTweETHOracle.s.sol b/scripts/foundry/mainnet/PTweETHOracle.s.sol new file mode 100644 index 00000000..83dd6362 --- /dev/null +++ b/scripts/foundry/mainnet/PTweETHOracle.s.sol @@ -0,0 +1,34 @@ +// SPDX-License-Identifier: GPL-3.0 +pragma solidity ^0.8.17; + +import "forge-std/Script.sol"; +import { console } from "forge-std/console.sol"; +import { MorphoFeedPTweETH } from "borrow-contracts/oracle/morpho/mainnet/MorphoFeedPTweETH.sol"; +import "utils/src/CommonUtils.sol"; +import { IAccessControlManager } from "borrow-contracts/interfaces/IAccessControlManager.sol"; + +contract PTweETHOracleDeploy is Script, CommonUtils { + function run() external { + uint256 deployerPrivateKey = vm.envUint("DEPLOYER_PRIVATE_KEY"); + address deployer = vm.addr(deployerPrivateKey); + vm.startBroadcast(deployerPrivateKey); + + // TODO + uint256 chainId = CHAIN_ETHEREUM; + address coreBorrow = 0x5bc6BEf80DA563EBf6Df6D6913513fa9A7ec89BE; + uint32 _TWAP_DURATION = 30 minutes; + uint256 _MAX_IMPLIED_RATE = 0.5 ether; + // end TODO + + MorphoFeedPTweETH oracle = new MorphoFeedPTweETH( + IAccessControlManager(address(coreBorrow)), + _MAX_IMPLIED_RATE, + _TWAP_DURATION + ); + (, int256 answer, , , ) = oracle.latestRoundData(); + console.log("oracle value ", uint256(answer)); + console.log("Successfully deployed PT-weETH: ", address(oracle)); + + vm.stopBroadcast(); + } +}