Skip to content

Commit

Permalink
supply on PT market
Browse files Browse the repository at this point in the history
  • Loading branch information
GuillaumeNervoXS committed Apr 19, 2024
1 parent af30618 commit b63764e
Show file tree
Hide file tree
Showing 4 changed files with 601 additions and 338 deletions.
179 changes: 179 additions & 0 deletions broadcast/CreateHypothecatedMorphoMarkets.s.sol/1/run-1713534359.json
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"
}
179 changes: 179 additions & 0 deletions broadcast/CreateHypothecatedMorphoMarkets.s.sol/1/run-1713534426.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,179 @@
{
"transactions": [
{
"hash": "0x072d892ec16ed3e860ec470a5da0507cb9aa95de314b4037e9cb7d2fd1927747",
"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": "0xf4d248dc9fdb8330f4f038de8cbd480d29566e9b07bdac4c42c1899e73ed1f76",
"transactionType": "CALL",
"contractName": null,
"contractAddress": "0xBBBBBbbBBb9cC5e90e3b3Af64bdAF62C37EEFFCb",
"function": null,
"arguments": null,
"transaction": {
"type": "0x02",
"from": "0xa9ddd91249dfdd450e81e1c56ab60e1a62651701",
"to": "0xbbbbbbbbbb9cc5e90e3b3af64bdaf62c37eeffcb",
"gas": "0x20ea9",
"value": "0x0",
"data": "0xa99aad890000000000000000000000000000206329b97db379d5e1bf586bbdb969c63274000000000000000000000000c69ad9bab1dee23f4605a82b3354f8e40d1e59660000000000000000000000005441731eed05a8208e795086a5df41416dd34104000000000000000000000000870ac11d48b15db9a138cf899d20f13f79ba00bc0000000000000000000000000000000000000000000000000bef55718ad6000000000000000000000000000000000000000000000000003635c9adc5dea000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a9ddd91249dfdd450e81e1c56ab60e1a6265170100000000000000000000000000000000000000000000000000000000000001200000000000000000000000000000000000000000000000000000000000000000",
"nonce": "0xd0",
"accessList": []
},
"additionalContracts": [],
"isFixedGasLimit": false
}
],
"receipts": [
{
"transactionHash": "0x072d892ec16ed3e860ec470a5da0507cb9aa95de314b4037e9cb7d2fd1927747",
"transactionIndex": "0x0",
"blockHash": "0xdc5fd97e2c378b12cdc63720d1fe3d4e907c581c3b59af8c5e3bd43152994f12",
"blockNumber": "0x12c718f",
"from": "0xA9DdD91249DFdd450E81E1c56Ab60E1A62651701",
"to": "0x0000206329b97DB379d5E1Bf586BbDB969C63274",
"cumulativeGasUsed": "0xd09e",
"gasUsed": "0xd09e",
"contractAddress": null,
"logs": [
{
"address": "0x0000206329b97DB379d5E1Bf586BbDB969C63274",
"topics": [
"0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925",
"0x000000000000000000000000a9ddd91249dfdd450e81e1c56ab60e1a62651701",
"0x000000000000000000000000bbbbbbbbbb9cc5e90e3b3af64bdaf62c37eeffcb"
],
"data": "0x00000000000000000000000000000000000000000000003635c9adc5dea00000",
"blockHash": "0xdc5fd97e2c378b12cdc63720d1fe3d4e907c581c3b59af8c5e3bd43152994f12",
"blockNumber": "0x12c718f",
"transactionHash": "0x072d892ec16ed3e860ec470a5da0507cb9aa95de314b4037e9cb7d2fd1927747",
"transactionIndex": "0x0",
"logIndex": "0x0",
"removed": false
}
],
"status": "0x1",
"logsBloom": "0x00000000000000000000000000000080000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000820000000000000000000000000000000000000000000000800000080000000000000000000000000000000000000000000000004000000000000000000000000010000001000000000000200000000000000000000000000000000000004000",
"type": "0x2",
"effectiveGasPrice": "0x4550bc5bf"
},
{
"transactionHash": "0xf4d248dc9fdb8330f4f038de8cbd480d29566e9b07bdac4c42c1899e73ed1f76",
"transactionIndex": "0x0",
"blockHash": "0xbc1982dcb70517e307465baa43686ad1cec84db04808aa21fa1fdb85c4811a84",
"blockNumber": "0x12c7190",
"from": "0xA9DdD91249DFdd450E81E1c56Ab60E1A62651701",
"to": "0xBBBBBbbBBb9cC5e90e3b3Af64bdAF62C37EEFFCb",
"cumulativeGasUsed": "0x17d4c",
"gasUsed": "0x17d4c",
"contractAddress": null,
"logs": [
{
"address": "0x870aC11D48B15DB9a138Cf899d20F13F79Ba00BC",
"topics": [
"0x7120161a7b3d31251e01294ab351ef15a41b91659a36032e4641bb89b121e321",
"0xcc7b191903e4750ad71898a1594d912adbb5bb1c6effcde9c38f0a798112edd1"
],
"data": "0x0000000000000000000000000000000000000000000000000000000132407d50000000000000000000000000000000000000000000000000000000004d892634",
"blockHash": "0xbc1982dcb70517e307465baa43686ad1cec84db04808aa21fa1fdb85c4811a84",
"blockNumber": "0x12c7190",
"transactionHash": "0xf4d248dc9fdb8330f4f038de8cbd480d29566e9b07bdac4c42c1899e73ed1f76",
"transactionIndex": "0x0",
"logIndex": "0x0",
"removed": false
},
{
"address": "0xBBBBBbbBBb9cC5e90e3b3Af64bdAF62C37EEFFCb",
"topics": [
"0x9d9bd501d0657d7dfe415f779a620a62b78bc508ddc0891fbbd8b7ac0f8fce87",
"0xcc7b191903e4750ad71898a1594d912adbb5bb1c6effcde9c38f0a798112edd1"
],
"data": "0x0000000000000000000000000000000000000000000000000000000132407d5000000000000000000000000000000000000000000000000000004aac68319fe70000000000000000000000000000000000000000000000000000000000000000",
"blockHash": "0xbc1982dcb70517e307465baa43686ad1cec84db04808aa21fa1fdb85c4811a84",
"blockNumber": "0x12c7190",
"transactionHash": "0xf4d248dc9fdb8330f4f038de8cbd480d29566e9b07bdac4c42c1899e73ed1f76",
"transactionIndex": "0x0",
"logIndex": "0x1",
"removed": false
},
{
"address": "0xBBBBBbbBBb9cC5e90e3b3Af64bdAF62C37EEFFCb",
"topics": [
"0xedf8870433c83823eb071d3df1caa8d008f12f6440918c20d75a3602cda30fe0",
"0xcc7b191903e4750ad71898a1594d912adbb5bb1c6effcde9c38f0a798112edd1",
"0x000000000000000000000000a9ddd91249dfdd450e81e1c56ab60e1a62651701",
"0x000000000000000000000000a9ddd91249dfdd450e81e1c56ab60e1a62651701"
],
"data": "0x00000000000000000000000000000000000000000000003635c9adc5dea000000000000000000000000000000000000000000000033b1cda1ab5a8be07d642c1",
"blockHash": "0xbc1982dcb70517e307465baa43686ad1cec84db04808aa21fa1fdb85c4811a84",
"blockNumber": "0x12c7190",
"transactionHash": "0xf4d248dc9fdb8330f4f038de8cbd480d29566e9b07bdac4c42c1899e73ed1f76",
"transactionIndex": "0x0",
"logIndex": "0x2",
"removed": false
},
{
"address": "0x0000206329b97DB379d5E1Bf586BbDB969C63274",
"topics": [
"0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925",
"0x000000000000000000000000a9ddd91249dfdd450e81e1c56ab60e1a62651701",
"0x000000000000000000000000bbbbbbbbbb9cc5e90e3b3af64bdaf62c37eeffcb"
],
"data": "0x0000000000000000000000000000000000000000000000000000000000000000",
"blockHash": "0xbc1982dcb70517e307465baa43686ad1cec84db04808aa21fa1fdb85c4811a84",
"blockNumber": "0x12c7190",
"transactionHash": "0xf4d248dc9fdb8330f4f038de8cbd480d29566e9b07bdac4c42c1899e73ed1f76",
"transactionIndex": "0x0",
"logIndex": "0x3",
"removed": false
},
{
"address": "0x0000206329b97DB379d5E1Bf586BbDB969C63274",
"topics": [
"0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef",
"0x000000000000000000000000a9ddd91249dfdd450e81e1c56ab60e1a62651701",
"0x000000000000000000000000bbbbbbbbbb9cc5e90e3b3af64bdaf62c37eeffcb"
],
"data": "0x00000000000000000000000000000000000000000000003635c9adc5dea00000",
"blockHash": "0xbc1982dcb70517e307465baa43686ad1cec84db04808aa21fa1fdb85c4811a84",
"blockNumber": "0x12c7190",
"transactionHash": "0xf4d248dc9fdb8330f4f038de8cbd480d29566e9b07bdac4c42c1899e73ed1f76",
"transactionIndex": "0x0",
"logIndex": "0x4",
"removed": false
}
],
"status": "0x1",
"logsBloom": "0x00000000000000000000000000000080000000200000000000000000000000000000400000000000000000000000000000000000000000000000000020a44000000000000010000000000008800004000004000800200000000000080000000000000000000000000000000000000000000000000000000000000010000000000000000000000008000000000000000000000000000000000000000000000000820000000000000000000020000000000000000000000000800000080000000020000002000000000001000000000000000000004000000000000000000000400010000001000000000000200001000000000000000000000000000000004000",
"type": "0x2",
"effectiveGasPrice": "0x3e12e54ab"
}
],
"libraries": [],
"pending": [],
"returns": {},
"timestamp": 1713534426,
"chain": 1,
"multi": false,
"commit": "af30618"
}
Loading

0 comments on commit b63764e

Please sign in to comment.