Skip to content

Commit

Permalink
feat: PT markets Dec maturity (#43)
Browse files Browse the repository at this point in the history
* feat: PT markets Dec maturity

* fix tests for Renzo

* Pendle PT Generic Lev Swapper

* deployment script for PT markets

* generic Lev swapper Pt deployment and add script to deploy ezETH market

* deploy new markets for Dec maturity

* deploy morpho markets
  • Loading branch information
GuillaumeNervoXS authored Jun 19, 2024
1 parent 0de98f5 commit 0489249
Show file tree
Hide file tree
Showing 55 changed files with 3,826 additions and 154 deletions.
292 changes: 292 additions & 0 deletions broadcast/MorphoDeployMarket.s.sol/1/run-1718182421.json

Large diffs are not rendered by default.

292 changes: 292 additions & 0 deletions broadcast/MorphoDeployMarket.s.sol/1/run-1718183726.json

Large diffs are not rendered by default.

145 changes: 145 additions & 0 deletions broadcast/MorphoDeployMarket.s.sol/1/run-1718184222.json

Large diffs are not rendered by default.

292 changes: 292 additions & 0 deletions broadcast/MorphoDeployMarket.s.sol/1/run-1718695075.json

Large diffs are not rendered by default.

278 changes: 278 additions & 0 deletions broadcast/MorphoDeployMarket.s.sol/1/run-1718695612.json

Large diffs are not rendered by default.

278 changes: 278 additions & 0 deletions broadcast/MorphoDeployMarket.s.sol/1/run-latest.json

Large diffs are not rendered by default.

32 changes: 32 additions & 0 deletions broadcast/MorphoInteractMarket.s.sol/1/run-1718273830.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
{
"transactions": [
{
"hash": null,
"transactionType": "CALL",
"contractName": null,
"contractAddress": "0xc9dfd5c18f12a3ba6293001700810602efe0c45b",
"function": "setMaxImpliedRate(uint256)",
"arguments": [
"1000000000000000000000"
],
"transaction": {
"from": "0x0c2553e4b9dfa9f83b1a6d3eab96c4baab42d430",
"to": "0xc9dfd5c18f12a3ba6293001700810602efe0c45b",
"gas": "0xe58b",
"value": "0x0",
"input": "0x3406b6d100000000000000000000000000000000000000000000003635c9adc5dea00000",
"nonce": "0x1",
"chainId": "0x1"
},
"additionalContracts": [],
"isFixedGasLimit": false
}
],
"receipts": [],
"libraries": [],
"pending": [],
"returns": {},
"timestamp": 1718273830,
"chain": 1,
"commit": "c0232d4"
}
32 changes: 32 additions & 0 deletions broadcast/MorphoInteractMarket.s.sol/1/run-1718279339.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
{
"transactions": [
{
"hash": null,
"transactionType": "CALL",
"contractName": null,
"contractAddress": "0xc9dfd5c18f12a3ba6293001700810602efe0c45b",
"function": "setMaxImpliedRate(uint256)",
"arguments": [
"1000000000000000000000"
],
"transaction": {
"from": "0x0c2553e4b9dfa9f83b1a6d3eab96c4baab42d430",
"to": "0xc9dfd5c18f12a3ba6293001700810602efe0c45b",
"gas": "0xe58b",
"value": "0x0",
"input": "0x3406b6d100000000000000000000000000000000000000000000003635c9adc5dea00000",
"nonce": "0x1",
"chainId": "0x1"
},
"additionalContracts": [],
"isFixedGasLimit": false
}
],
"receipts": [],
"libraries": [],
"pending": [],
"returns": {},
"timestamp": 1718279339,
"chain": 1,
"commit": "c0232d4"
}
32 changes: 32 additions & 0 deletions broadcast/MorphoInteractMarket.s.sol/1/run-1718279406.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
{
"transactions": [
{
"hash": null,
"transactionType": "CALL",
"contractName": null,
"contractAddress": "0xc9dfd5c18f12a3ba6293001700810602efe0c45b",
"function": "setMaxImpliedRate(uint256)",
"arguments": [
"1000000000000000000000"
],
"transaction": {
"from": "0x0c2553e4b9dfa9f83b1a6d3eab96c4baab42d430",
"to": "0xc9dfd5c18f12a3ba6293001700810602efe0c45b",
"gas": "0xe58b",
"value": "0x0",
"input": "0x3406b6d100000000000000000000000000000000000000000000003635c9adc5dea00000",
"nonce": "0x1",
"chainId": "0x1"
},
"additionalContracts": [],
"isFixedGasLimit": false
}
],
"receipts": [],
"libraries": [],
"pending": [],
"returns": {},
"timestamp": 1718279406,
"chain": 1,
"commit": "c0232d4"
}
66 changes: 66 additions & 0 deletions broadcast/MorphoInteractMarket.s.sol/1/run-1718279486.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
{
"transactions": [
{
"hash": "0xcc9cda2badb79c58c648bdb6906fb90c6aa38830c4713c17c6bcdb126fbce8ff",
"transactionType": "CALL",
"contractName": null,
"contractAddress": "0xc9dfd5c18f12a3ba6293001700810602efe0c45b",
"function": "setMaxImpliedRate(uint256)",
"arguments": [
"1000000000000000000000"
],
"transaction": {
"from": "0x0c2553e4b9dfa9f83b1a6d3eab96c4baab42d430",
"to": "0xc9dfd5c18f12a3ba6293001700810602efe0c45b",
"gas": "0xe58b",
"value": "0x0",
"input": "0x3406b6d100000000000000000000000000000000000000000000003635c9adc5dea00000",
"nonce": "0x1",
"chainId": "0x1"
},
"additionalContracts": [],
"isFixedGasLimit": false
}
],
"receipts": [
{
"status": "0x1",
"cumulativeGasUsed": "0xa630",
"logs": [
{
"address": "0xc9dfd5c18f12a3ba6293001700810602efe0c45b",
"topics": [
"0x1693f12ff158ba72b61d65dce0487c8c9166916e22e284990a7e42b5f38b080a"
],
"data": "0x00000000000000000000000000000000000000000000003635c9adc5dea00000",
"blockHash": "0x49fc1385dc62f55264d2f9f6a7efe85c80c788647d09426151a8161050fb1164",
"blockNumber": "0x1326e1a",
"blockTimestamp": "0x666add34",
"transactionHash": "0xcc9cda2badb79c58c648bdb6906fb90c6aa38830c4713c17c6bcdb126fbce8ff",
"transactionIndex": "0x0",
"logIndex": "0x0",
"removed": false
}
],
"logsBloom": "0x00000000000000080000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002000000000000008000400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
"type": "0x2",
"transactionHash": "0xcc9cda2badb79c58c648bdb6906fb90c6aa38830c4713c17c6bcdb126fbce8ff",
"transactionIndex": "0x0",
"blockHash": "0x49fc1385dc62f55264d2f9f6a7efe85c80c788647d09426151a8161050fb1164",
"blockNumber": "0x1326e1a",
"gasUsed": "0xa630",
"effectiveGasPrice": "0x2b1705d63",
"blobGasPrice": "0x2",
"from": "0x0c2553e4b9dfa9f83b1a6d3eab96c4baab42d430",
"to": "0xc9dfd5c18f12a3ba6293001700810602efe0c45b",
"contractAddress": null,
"root": "0x0000000000000000000000000000000000000000000000000000000000000000"
}
],
"libraries": [],
"pending": [],
"returns": {},
"timestamp": 1718279486,
"chain": 1,
"commit": "c0232d4"
}
66 changes: 66 additions & 0 deletions broadcast/MorphoInteractMarket.s.sol/1/run-1718279609.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
{
"transactions": [
{
"hash": "0xd2685963d70959515361406998d1790ca008a0bb7d686a1d63a11b804112cd1b",
"transactionType": "CALL",
"contractName": null,
"contractAddress": "0xc9dfd5c18f12a3ba6293001700810602efe0c45b",
"function": "setMaxImpliedRate(uint256)",
"arguments": [
"1000000000000000000000"
],
"transaction": {
"from": "0x0c2553e4b9dfa9f83b1a6d3eab96c4baab42d430",
"to": "0xc9dfd5c18f12a3ba6293001700810602efe0c45b",
"gas": "0xe58b",
"value": "0x0",
"input": "0x3406b6d100000000000000000000000000000000000000000000003635c9adc5dea00000",
"nonce": "0x1",
"chainId": "0x1"
},
"additionalContracts": [],
"isFixedGasLimit": false
}
],
"receipts": [
{
"status": "0x1",
"cumulativeGasUsed": "0xa630",
"logs": [
{
"address": "0xc9dfd5c18f12a3ba6293001700810602efe0c45b",
"topics": [
"0x1693f12ff158ba72b61d65dce0487c8c9166916e22e284990a7e42b5f38b080a"
],
"data": "0x00000000000000000000000000000000000000000000003635c9adc5dea00000",
"blockHash": "0xc4c9ad66b444877be5f3a268757a1eac6c13a1d97d36579aa998751d3babf781",
"blockNumber": "0x1327023",
"blockTimestamp": "0x666addb0",
"transactionHash": "0xd2685963d70959515361406998d1790ca008a0bb7d686a1d63a11b804112cd1b",
"transactionIndex": "0x0",
"logIndex": "0x0",
"removed": false
}
],
"logsBloom": "0x00000000000000080000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002000000000000008000400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
"type": "0x2",
"transactionHash": "0xd2685963d70959515361406998d1790ca008a0bb7d686a1d63a11b804112cd1b",
"transactionIndex": "0x0",
"blockHash": "0xc4c9ad66b444877be5f3a268757a1eac6c13a1d97d36579aa998751d3babf781",
"blockNumber": "0x1327023",
"gasUsed": "0xa630",
"effectiveGasPrice": "0x2507005a1",
"blobGasPrice": "0x1",
"from": "0x0c2553e4b9dfa9f83b1a6d3eab96c4baab42d430",
"to": "0xc9dfd5c18f12a3ba6293001700810602efe0c45b",
"contractAddress": null,
"root": "0x0000000000000000000000000000000000000000000000000000000000000000"
}
],
"libraries": [],
"pending": [],
"returns": {},
"timestamp": 1718279609,
"chain": 1,
"commit": "c0232d4"
}
66 changes: 66 additions & 0 deletions broadcast/MorphoInteractMarket.s.sol/1/run-1718282408.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
{
"transactions": [
{
"hash": "0xa0ba5ac7c37e7279cb90fae73a9a0a3d871731919bc3d562cde65ab3843ed02b",
"transactionType": "CALL",
"contractName": null,
"contractAddress": "0xc9dfd5c18f12a3ba6293001700810602efe0c45b",
"function": "setMaxImpliedRate(uint256)",
"arguments": [
"1000000000000000000000"
],
"transaction": {
"from": "0x0c2553e4b9dfa9f83b1a6d3eab96c4baab42d430",
"to": "0xc9dfd5c18f12a3ba6293001700810602efe0c45b",
"gas": "0xd670",
"value": "0x0",
"input": "0x3406b6d100000000000000000000000000000000000000000000003635c9adc5dea00000",
"nonce": "0x2",
"chainId": "0x1"
},
"additionalContracts": [],
"isFixedGasLimit": false
}
],
"receipts": [
{
"status": "0x1",
"cumulativeGasUsed": "0x9b40",
"logs": [
{
"address": "0xc9dfd5c18f12a3ba6293001700810602efe0c45b",
"topics": [
"0x1693f12ff158ba72b61d65dce0487c8c9166916e22e284990a7e42b5f38b080a"
],
"data": "0x00000000000000000000000000000000000000000000003635c9adc5dea00000",
"blockHash": "0x0ce1e88d2744e4c6d83e04b9074f17aea7a9df3d0544da111846477b260ca5a1",
"blockNumber": "0x1327024",
"blockTimestamp": "0x666ae89f",
"transactionHash": "0xa0ba5ac7c37e7279cb90fae73a9a0a3d871731919bc3d562cde65ab3843ed02b",
"transactionIndex": "0x0",
"logIndex": "0x0",
"removed": false
}
],
"logsBloom": "0x00000000000000080000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002000000000000008000400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
"type": "0x2",
"transactionHash": "0xa0ba5ac7c37e7279cb90fae73a9a0a3d871731919bc3d562cde65ab3843ed02b",
"transactionIndex": "0x0",
"blockHash": "0x0ce1e88d2744e4c6d83e04b9074f17aea7a9df3d0544da111846477b260ca5a1",
"blockNumber": "0x1327024",
"gasUsed": "0x9b40",
"effectiveGasPrice": "0x20697ca09",
"blobGasPrice": "0x1",
"from": "0x0c2553e4b9dfa9f83b1a6d3eab96c4baab42d430",
"to": "0xc9dfd5c18f12a3ba6293001700810602efe0c45b",
"contractAddress": null,
"root": "0x0000000000000000000000000000000000000000000000000000000000000000"
}
],
"libraries": [],
"pending": [],
"returns": {},
"timestamp": 1718282408,
"chain": 1,
"commit": "c0232d4"
}
66 changes: 66 additions & 0 deletions broadcast/MorphoInteractMarket.s.sol/1/run-1718283882.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
{
"transactions": [
{
"hash": "0xf9228dc6dbddb39c1c0889fb32e0b7d8c29e3c36a2f9af07f31cf0c88376c7e6",
"transactionType": "CALL",
"contractName": null,
"contractAddress": "0xc9dfd5c18f12a3ba6293001700810602efe0c45b",
"function": "setMaxImpliedRate(uint256)",
"arguments": [
"100000000000000000000"
],
"transaction": {
"from": "0x0c2553e4b9dfa9f83b1a6d3eab96c4baab42d430",
"to": "0xc9dfd5c18f12a3ba6293001700810602efe0c45b",
"gas": "0xe58b",
"value": "0x0",
"input": "0x3406b6d10000000000000000000000000000000000000000000000056bc75e2d63100000",
"nonce": "0x3",
"chainId": "0x1"
},
"additionalContracts": [],
"isFixedGasLimit": false
}
],
"receipts": [
{
"status": "0x1",
"cumulativeGasUsed": "0xa630",
"logs": [
{
"address": "0xc9dfd5c18f12a3ba6293001700810602efe0c45b",
"topics": [
"0x1693f12ff158ba72b61d65dce0487c8c9166916e22e284990a7e42b5f38b080a"
],
"data": "0x0000000000000000000000000000000000000000000000056bc75e2d63100000",
"blockHash": "0x13c169a7c50c6757ce90af757766d69f33f1a58e5dc2def1dec0cf7b01e5e291",
"blockNumber": "0x1327026",
"blockTimestamp": "0x666c3fe1",
"transactionHash": "0xf9228dc6dbddb39c1c0889fb32e0b7d8c29e3c36a2f9af07f31cf0c88376c7e6",
"transactionIndex": "0x0",
"logIndex": "0x0",
"removed": false
}
],
"logsBloom": "0x00000000000000080000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002000000000000008000400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
"type": "0x2",
"transactionHash": "0xf9228dc6dbddb39c1c0889fb32e0b7d8c29e3c36a2f9af07f31cf0c88376c7e6",
"transactionIndex": "0x0",
"blockHash": "0x13c169a7c50c6757ce90af757766d69f33f1a58e5dc2def1dec0cf7b01e5e291",
"blockNumber": "0x1327026",
"gasUsed": "0xa630",
"effectiveGasPrice": "0x18d32affa",
"blobGasPrice": "0x1",
"from": "0x0c2553e4b9dfa9f83b1a6d3eab96c4baab42d430",
"to": "0xc9dfd5c18f12a3ba6293001700810602efe0c45b",
"contractAddress": null,
"root": "0x0000000000000000000000000000000000000000000000000000000000000000"
}
],
"libraries": [],
"pending": [],
"returns": {},
"timestamp": 1718283882,
"chain": 1,
"commit": "c0232d4"
}
Loading

0 comments on commit 0489249

Please sign in to comment.