-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: script to setup Morpho markets (#250)
* feat: script to setup Morpho markets * fix: comments * setup * update script * feat: _chainToContract setup for USDA * chore: remove pendle submodule * feat: set setUp to public * chore: add scripts to ignored slither files * feat: script execution * feat: add script for rehypothecated markets on Morpho * scripts reused vault supply + PT ready * deployed new market on Morpho * supply on PT market * rename rpc endpoint zkEVM * remove useless forks * feat: new morpho markets * fix tests --------- Co-authored-by: 0xtekgrinder <[email protected]> Co-authored-by: gs8nrv <[email protected]>
- Loading branch information
1 parent
4cdcf88
commit 7340a3b
Showing
40 changed files
with
19,030 additions
and
92 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2,392 changes: 2,392 additions & 0 deletions
2,392
broadcast/CreateHypothecatedMorphoMarkets.s.sol/1/run-1713517360.json
Large diffs are not rendered by default.
Oops, something went wrong.
1,380 changes: 1,380 additions & 0 deletions
1,380
broadcast/CreateHypothecatedMorphoMarkets.s.sol/1/run-1713517433.json
Large diffs are not rendered by default.
Oops, something went wrong.
2,392 changes: 2,392 additions & 0 deletions
2,392
broadcast/CreateHypothecatedMorphoMarkets.s.sol/1/run-1713517538.json
Large diffs are not rendered by default.
Oops, something went wrong.
2,392 changes: 2,392 additions & 0 deletions
2,392
broadcast/CreateHypothecatedMorphoMarkets.s.sol/1/run-1713518247.json
Large diffs are not rendered by default.
Oops, something went wrong.
1,684 changes: 1,684 additions & 0 deletions
1,684
broadcast/CreateHypothecatedMorphoMarkets.s.sol/1/run-1713518603.json
Large diffs are not rendered by default.
Oops, something went wrong.
447 changes: 447 additions & 0 deletions
447
broadcast/CreateHypothecatedMorphoMarkets.s.sol/1/run-1713518790.json
Large diffs are not rendered by default.
Oops, something went wrong.
574 changes: 574 additions & 0 deletions
574
broadcast/CreateHypothecatedMorphoMarkets.s.sol/1/run-1713519438.json
Large diffs are not rendered by default.
Oops, something went wrong.
453 changes: 453 additions & 0 deletions
453
broadcast/CreateHypothecatedMorphoMarkets.s.sol/1/run-1713521216.json
Large diffs are not rendered by default.
Oops, something went wrong.
179 changes: 179 additions & 0 deletions
179
broadcast/CreateHypothecatedMorphoMarkets.s.sol/1/run-1713534359.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,179 @@ | ||
{ | ||
"transactions": [ | ||
{ | ||
"hash": "0xfdb81ee0963651a8bf7e5f9ee3904655ad594d386a30b284c37d8b750641faf2", | ||
"transactionType": "CALL", | ||
"contractName": null, | ||
"contractAddress": "0x0000206329b97DB379d5E1Bf586BbDB969C63274", | ||
"function": "approve(address,uint256)", | ||
"arguments": [ | ||
"0xBBBBBbbBBb9cC5e90e3b3Af64bdAF62C37EEFFCb", | ||
"1000000000000000000000" | ||
], | ||
"transaction": { | ||
"type": "0x02", | ||
"from": "0xa9ddd91249dfdd450e81e1c56ab60e1a62651701", | ||
"to": "0x0000206329b97db379d5e1bf586bbdb969c63274", | ||
"gas": "0x12025", | ||
"value": "0x0", | ||
"data": "0x095ea7b3000000000000000000000000bbbbbbbbbb9cc5e90e3b3af64bdaf62c37eeffcb00000000000000000000000000000000000000000000003635c9adc5dea00000", | ||
"nonce": "0xcf", | ||
"accessList": [] | ||
}, | ||
"additionalContracts": [], | ||
"isFixedGasLimit": false | ||
}, | ||
{ | ||
"hash": "0xa9b52a961e1f8ab65e01c3a53c948f8dd4b95e6096862c398277cb27f281e4d3", | ||
"transactionType": "CALL", | ||
"contractName": null, | ||
"contractAddress": "0xBBBBBbbBBb9cC5e90e3b3Af64bdAF62C37EEFFCb", | ||
"function": null, | ||
"arguments": null, | ||
"transaction": { | ||
"type": "0x02", | ||
"from": "0xa9ddd91249dfdd450e81e1c56ab60e1a62651701", | ||
"to": "0xbbbbbbbbbb9cc5e90e3b3af64bdaf62c37eeffcb", | ||
"gas": "0x22880", | ||
"value": "0x0", | ||
"data": "0xa99aad890000000000000000000000000000206329b97db379d5e1bf586bbdb969c63274000000000000000000000000c69ad9bab1dee23f4605a82b3354f8e40d1e59660000000000000000000000005441731eed05a8208e795086a5df41416dd34104000000000000000000000000870ac11d48b15db9a138cf899d20f13f79ba00bc0000000000000000000000000000000000000000000000000bef55718ad600000000000000000000000000000000000000000000000000000de0b6b3a76400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a9ddd91249dfdd450e81e1c56ab60e1a6265170100000000000000000000000000000000000000000000000000000000000001200000000000000000000000000000000000000000000000000000000000000000", | ||
"nonce": "0xd0", | ||
"accessList": [] | ||
}, | ||
"additionalContracts": [], | ||
"isFixedGasLimit": false | ||
} | ||
], | ||
"receipts": [ | ||
{ | ||
"transactionHash": "0xfdb81ee0963651a8bf7e5f9ee3904655ad594d386a30b284c37d8b750641faf2", | ||
"transactionIndex": "0x0", | ||
"blockHash": "0xbdac1873d4a575656ff40ea453110ab3a14545ff17d39cf97a10d278ec7fd4e9", | ||
"blockNumber": "0x12c7189", | ||
"from": "0xA9DdD91249DFdd450E81E1c56Ab60E1A62651701", | ||
"to": "0x0000206329b97DB379d5E1Bf586BbDB969C63274", | ||
"cumulativeGasUsed": "0xd09e", | ||
"gasUsed": "0xd09e", | ||
"contractAddress": null, | ||
"logs": [ | ||
{ | ||
"address": "0x0000206329b97DB379d5E1Bf586BbDB969C63274", | ||
"topics": [ | ||
"0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925", | ||
"0x000000000000000000000000a9ddd91249dfdd450e81e1c56ab60e1a62651701", | ||
"0x000000000000000000000000bbbbbbbbbb9cc5e90e3b3af64bdaf62c37eeffcb" | ||
], | ||
"data": "0x00000000000000000000000000000000000000000000003635c9adc5dea00000", | ||
"blockHash": "0xbdac1873d4a575656ff40ea453110ab3a14545ff17d39cf97a10d278ec7fd4e9", | ||
"blockNumber": "0x12c7189", | ||
"transactionHash": "0xfdb81ee0963651a8bf7e5f9ee3904655ad594d386a30b284c37d8b750641faf2", | ||
"transactionIndex": "0x0", | ||
"logIndex": "0x0", | ||
"removed": false | ||
} | ||
], | ||
"status": "0x1", | ||
"logsBloom": "0x00000000000000000000000000000080000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000820000000000000000000000000000000000000000000000800000080000000000000000000000000000000000000000000000004000000000000000000000000010000001000000000000200000000000000000000000000000000000004000", | ||
"type": "0x2", | ||
"effectiveGasPrice": "0x47f087f87" | ||
}, | ||
{ | ||
"transactionHash": "0xa9b52a961e1f8ab65e01c3a53c948f8dd4b95e6096862c398277cb27f281e4d3", | ||
"transactionIndex": "0x0", | ||
"blockHash": "0xf28b43b366bea026267c536f646d69c7a5b4467a27af20c7b5d5063039d519f1", | ||
"blockNumber": "0x12c718a", | ||
"from": "0xA9DdD91249DFdd450E81E1c56Ab60E1A62651701", | ||
"to": "0xBBBBBbbBBb9cC5e90e3b3Af64bdAF62C37EEFFCb", | ||
"cumulativeGasUsed": "0x19000", | ||
"gasUsed": "0x19000", | ||
"contractAddress": null, | ||
"logs": [ | ||
{ | ||
"address": "0x870aC11D48B15DB9a138Cf899d20F13F79Ba00BC", | ||
"topics": [ | ||
"0x7120161a7b3d31251e01294ab351ef15a41b91659a36032e4641bb89b121e321", | ||
"0xcc7b191903e4750ad71898a1594d912adbb5bb1c6effcde9c38f0a798112edd1" | ||
], | ||
"data": "0x00000000000000000000000000000000000000000000000000000001323c5ccc000000000000000000000000000000000000000000000000000000004d8712ab", | ||
"blockHash": "0xf28b43b366bea026267c536f646d69c7a5b4467a27af20c7b5d5063039d519f1", | ||
"blockNumber": "0x12c718a", | ||
"transactionHash": "0xa9b52a961e1f8ab65e01c3a53c948f8dd4b95e6096862c398277cb27f281e4d3", | ||
"transactionIndex": "0x0", | ||
"logIndex": "0x0", | ||
"removed": false | ||
}, | ||
{ | ||
"address": "0xBBBBBbbBBb9cC5e90e3b3Af64bdAF62C37EEFFCb", | ||
"topics": [ | ||
"0x9d9bd501d0657d7dfe415f779a620a62b78bc508ddc0891fbbd8b7ac0f8fce87", | ||
"0xcc7b191903e4750ad71898a1594d912adbb5bb1c6effcde9c38f0a798112edd1" | ||
], | ||
"data": "0x00000000000000000000000000000000000000000000000000000001323c5ccc00000000000000000000000000000000000000000000000000004a5c715ace3a0000000000000000000000000000000000000000000000000000000000000000", | ||
"blockHash": "0xf28b43b366bea026267c536f646d69c7a5b4467a27af20c7b5d5063039d519f1", | ||
"blockNumber": "0x12c718a", | ||
"transactionHash": "0xa9b52a961e1f8ab65e01c3a53c948f8dd4b95e6096862c398277cb27f281e4d3", | ||
"transactionIndex": "0x0", | ||
"logIndex": "0x1", | ||
"removed": false | ||
}, | ||
{ | ||
"address": "0xBBBBBbbBBb9cC5e90e3b3Af64bdAF62C37EEFFCb", | ||
"topics": [ | ||
"0xedf8870433c83823eb071d3df1caa8d008f12f6440918c20d75a3602cda30fe0", | ||
"0xcc7b191903e4750ad71898a1594d912adbb5bb1c6effcde9c38f0a798112edd1", | ||
"0x000000000000000000000000a9ddd91249dfdd450e81e1c56ab60e1a62651701", | ||
"0x000000000000000000000000a9ddd91249dfdd450e81e1c56ab60e1a62651701" | ||
], | ||
"data": "0x0000000000000000000000000000000000000000000000000de0b6b3a764000000000000000000000000000000000000000000000000d3bdad3d7b9b3b328c95", | ||
"blockHash": "0xf28b43b366bea026267c536f646d69c7a5b4467a27af20c7b5d5063039d519f1", | ||
"blockNumber": "0x12c718a", | ||
"transactionHash": "0xa9b52a961e1f8ab65e01c3a53c948f8dd4b95e6096862c398277cb27f281e4d3", | ||
"transactionIndex": "0x0", | ||
"logIndex": "0x2", | ||
"removed": false | ||
}, | ||
{ | ||
"address": "0x0000206329b97DB379d5E1Bf586BbDB969C63274", | ||
"topics": [ | ||
"0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925", | ||
"0x000000000000000000000000a9ddd91249dfdd450e81e1c56ab60e1a62651701", | ||
"0x000000000000000000000000bbbbbbbbbb9cc5e90e3b3af64bdaf62c37eeffcb" | ||
], | ||
"data": "0x00000000000000000000000000000000000000000000003627e8f712373c0000", | ||
"blockHash": "0xf28b43b366bea026267c536f646d69c7a5b4467a27af20c7b5d5063039d519f1", | ||
"blockNumber": "0x12c718a", | ||
"transactionHash": "0xa9b52a961e1f8ab65e01c3a53c948f8dd4b95e6096862c398277cb27f281e4d3", | ||
"transactionIndex": "0x0", | ||
"logIndex": "0x3", | ||
"removed": false | ||
}, | ||
{ | ||
"address": "0x0000206329b97DB379d5E1Bf586BbDB969C63274", | ||
"topics": [ | ||
"0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef", | ||
"0x000000000000000000000000a9ddd91249dfdd450e81e1c56ab60e1a62651701", | ||
"0x000000000000000000000000bbbbbbbbbb9cc5e90e3b3af64bdaf62c37eeffcb" | ||
], | ||
"data": "0x0000000000000000000000000000000000000000000000000de0b6b3a7640000", | ||
"blockHash": "0xf28b43b366bea026267c536f646d69c7a5b4467a27af20c7b5d5063039d519f1", | ||
"blockNumber": "0x12c718a", | ||
"transactionHash": "0xa9b52a961e1f8ab65e01c3a53c948f8dd4b95e6096862c398277cb27f281e4d3", | ||
"transactionIndex": "0x0", | ||
"logIndex": "0x4", | ||
"removed": false | ||
} | ||
], | ||
"status": "0x1", | ||
"logsBloom": "0x00000000000000000000000000000080000000200000000000000000000000000000400000000000000000000000000000000000000000000000000020a44000000000000010000000000008800004000004000800200000000000080000000000000000000000000000000000000000000000000000000000000010000000000000000000000008000000000000000000000000000000000000000000000000820000000000000000000020000000000000000000000000800000080000000020000002000000000001000000000000000000004000000000000000000000400010000001000000000000200001000000000000000000000000000000004000", | ||
"type": "0x2", | ||
"effectiveGasPrice": "0x405f03fdc" | ||
} | ||
], | ||
"libraries": [], | ||
"pending": [], | ||
"returns": {}, | ||
"timestamp": 1713534359, | ||
"chain": 1, | ||
"multi": false, | ||
"commit": "af30618" | ||
} |
Oops, something went wrong.