Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
21 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,6 @@
[submodule "lib/aave-v3-core"]
path = lib/aave-v3-core
url = https://github.com/aave/aave-v3-core
[submodule "lib/morpho-blue"]
path = lib/morpho-blue
url = https://github.com/morpho-org/morpho-blue
128 changes: 128 additions & 0 deletions broadcast/deploy-eth.s.sol/1/run-1769611299.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,128 @@
{
"transactions": [
{
"hash": "0xc444efa8f79193262d23fb8db2650e732690bdc1afa465c11d9558c2abc2ed5f",
"transactionType": "CALL",
"contractName": null,
"contractAddress": "0xb402e0479579b00f9dafc0526234bbc4583920b4",
"function": "seed(uint256)",
"arguments": [
"10000000000000000"
],
"transaction": {
"from": "0xf5ac5943d16fc865824910033b756519dc396682",
"to": "0xb402e0479579b00f9dafc0526234bbc4583920b4",
"gas": "0x11092a",
"value": "0x0",
"input": "0x95564837000000000000000000000000000000000000000000000000002386f26fc10000",
"nonce": "0x3c",
"chainId": "0x1"
},
"additionalContracts": [],
"isFixedGasLimit": false
}
],
"receipts": [
{
"status": "0x1",
"cumulativeGasUsed": "0x2c18394",
"logs": [
{
"address": "0xc808b5f2315e47ddf95d2ce63e1445024a3dc4c9",
"topics": [
"0x9a3674ff60a2c4c28f4df6f1f1c4a5f9721658e388e8a66ac38bf55e7de4d953"
],
"data": "0x0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002386f26fc10000",
"blockHash": "0xfaa5b5eaf14d8410443732e11a079a52d41f85c69f1781781e26116fc359d865",
"blockNumber": "0x1734eb3",
"blockTimestamp": "0x697a201f",
"transactionHash": "0xc444efa8f79193262d23fb8db2650e732690bdc1afa465c11d9558c2abc2ed5f",
"transactionIndex": "0x1ba",
"logIndex": "0x441",
"removed": false
},
{
"address": "0x4c9edd5852cd905f086c759e8383e09bff1e68b3",
"topics": [
"0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925",
"0x000000000000000000000000f5ac5943d16fc865824910033b756519dc396682",
"0x000000000000000000000000b402e0479579b00f9dafc0526234bbc4583920b4"
],
"data": "0x0000000000000000000000000000000000000000000000000000000000000000",
"blockHash": "0xfaa5b5eaf14d8410443732e11a079a52d41f85c69f1781781e26116fc359d865",
"blockNumber": "0x1734eb3",
"blockTimestamp": "0x697a201f",
"transactionHash": "0xc444efa8f79193262d23fb8db2650e732690bdc1afa465c11d9558c2abc2ed5f",
"transactionIndex": "0x1ba",
"logIndex": "0x442",
"removed": false
},
{
"address": "0x4c9edd5852cd905f086c759e8383e09bff1e68b3",
"topics": [
"0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef",
"0x000000000000000000000000f5ac5943d16fc865824910033b756519dc396682",
"0x000000000000000000000000b402e0479579b00f9dafc0526234bbc4583920b4"
],
"data": "0x000000000000000000000000000000000000000000000000002386f26fc10000",
"blockHash": "0xfaa5b5eaf14d8410443732e11a079a52d41f85c69f1781781e26116fc359d865",
"blockNumber": "0x1734eb3",
"blockTimestamp": "0x697a201f",
"transactionHash": "0xc444efa8f79193262d23fb8db2650e732690bdc1afa465c11d9558c2abc2ed5f",
"transactionIndex": "0x1ba",
"logIndex": "0x443",
"removed": false
},
{
"address": "0xb402e0479579b00f9dafc0526234bbc4583920b4",
"topics": [
"0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef",
"0x0000000000000000000000000000000000000000000000000000000000000000",
"0x000000000000000000000000f5ac5943d16fc865824910033b756519dc396682"
],
"data": "0x0000000000000000000000000000000000000000000000000de0b6b3a7640000",
"blockHash": "0xfaa5b5eaf14d8410443732e11a079a52d41f85c69f1781781e26116fc359d865",
"blockNumber": "0x1734eb3",
"blockTimestamp": "0x697a201f",
"transactionHash": "0xc444efa8f79193262d23fb8db2650e732690bdc1afa465c11d9558c2abc2ed5f",
"transactionIndex": "0x1ba",
"logIndex": "0x444",
"removed": false
},
{
"address": "0xb402e0479579b00f9dafc0526234bbc4583920b4",
"topics": [
"0xdcbc1c05240f31ff3ad067ef1ee35ce4997762752e3a095284754544f4c709d7",
"0x000000000000000000000000f5ac5943d16fc865824910033b756519dc396682",
"0x000000000000000000000000f5ac5943d16fc865824910033b756519dc396682"
],
"data": "0x000000000000000000000000000000000000000000000000002386f26fc100000000000000000000000000000000000000000000000000000de0b6b3a7640000",
"blockHash": "0xfaa5b5eaf14d8410443732e11a079a52d41f85c69f1781781e26116fc359d865",
"blockNumber": "0x1734eb3",
"blockTimestamp": "0x697a201f",
"transactionHash": "0xc444efa8f79193262d23fb8db2650e732690bdc1afa465c11d9558c2abc2ed5f",
"transactionIndex": "0x1ba",
"logIndex": "0x445",
"removed": false
}
],
"logsBloom": "0x00000000000400008000000080000400000000000000000000000004000000000000000000000000000000000000000800000000000000000004000004200000000000410800000000000008000000000000000000000000000100000000000000000002020000000000000000000800000000000004000000000010000000000000000800000000002000000000000000000000008000000000000000000000020000000000000000000000000000000000000000100000000000000000000000000002000000000000000000000000020000000008000000000000000020000010000000000000000000000000000000000000000000000000000000040000",
"type": "0x2",
"transactionHash": "0xc444efa8f79193262d23fb8db2650e732690bdc1afa465c11d9558c2abc2ed5f",
"transactionIndex": "0x1ba",
"blockHash": "0xfaa5b5eaf14d8410443732e11a079a52d41f85c69f1781781e26116fc359d865",
"blockNumber": "0x1734eb3",
"gasUsed": "0xc6219",
"effectiveGasPrice": "0xc1e07ab",
"from": "0xf5ac5943d16fc865824910033b756519dc396682",
"to": "0xb402e0479579b00f9dafc0526234bbc4583920b4",
"contractAddress": null
}
],
"libraries": [],
"pending": [],
"returns": {},
"timestamp": 1769611299,
"chain": 1,
"commit": "4197572"
}
128 changes: 128 additions & 0 deletions broadcast/deploy-eth.s.sol/1/run-latest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,128 @@
{
"transactions": [
{
"hash": "0xc444efa8f79193262d23fb8db2650e732690bdc1afa465c11d9558c2abc2ed5f",
"transactionType": "CALL",
"contractName": null,
"contractAddress": "0xb402e0479579b00f9dafc0526234bbc4583920b4",
"function": "seed(uint256)",
"arguments": [
"10000000000000000"
],
"transaction": {
"from": "0xf5ac5943d16fc865824910033b756519dc396682",
"to": "0xb402e0479579b00f9dafc0526234bbc4583920b4",
"gas": "0x11092a",
"value": "0x0",
"input": "0x95564837000000000000000000000000000000000000000000000000002386f26fc10000",
"nonce": "0x3c",
"chainId": "0x1"
},
"additionalContracts": [],
"isFixedGasLimit": false
}
],
"receipts": [
{
"status": "0x1",
"cumulativeGasUsed": "0x2c18394",
"logs": [
{
"address": "0xc808b5f2315e47ddf95d2ce63e1445024a3dc4c9",
"topics": [
"0x9a3674ff60a2c4c28f4df6f1f1c4a5f9721658e388e8a66ac38bf55e7de4d953"
],
"data": "0x0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002386f26fc10000",
"blockHash": "0xfaa5b5eaf14d8410443732e11a079a52d41f85c69f1781781e26116fc359d865",
"blockNumber": "0x1734eb3",
"blockTimestamp": "0x697a201f",
"transactionHash": "0xc444efa8f79193262d23fb8db2650e732690bdc1afa465c11d9558c2abc2ed5f",
"transactionIndex": "0x1ba",
"logIndex": "0x441",
"removed": false
},
{
"address": "0x4c9edd5852cd905f086c759e8383e09bff1e68b3",
"topics": [
"0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925",
"0x000000000000000000000000f5ac5943d16fc865824910033b756519dc396682",
"0x000000000000000000000000b402e0479579b00f9dafc0526234bbc4583920b4"
],
"data": "0x0000000000000000000000000000000000000000000000000000000000000000",
"blockHash": "0xfaa5b5eaf14d8410443732e11a079a52d41f85c69f1781781e26116fc359d865",
"blockNumber": "0x1734eb3",
"blockTimestamp": "0x697a201f",
"transactionHash": "0xc444efa8f79193262d23fb8db2650e732690bdc1afa465c11d9558c2abc2ed5f",
"transactionIndex": "0x1ba",
"logIndex": "0x442",
"removed": false
},
{
"address": "0x4c9edd5852cd905f086c759e8383e09bff1e68b3",
"topics": [
"0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef",
"0x000000000000000000000000f5ac5943d16fc865824910033b756519dc396682",
"0x000000000000000000000000b402e0479579b00f9dafc0526234bbc4583920b4"
],
"data": "0x000000000000000000000000000000000000000000000000002386f26fc10000",
"blockHash": "0xfaa5b5eaf14d8410443732e11a079a52d41f85c69f1781781e26116fc359d865",
"blockNumber": "0x1734eb3",
"blockTimestamp": "0x697a201f",
"transactionHash": "0xc444efa8f79193262d23fb8db2650e732690bdc1afa465c11d9558c2abc2ed5f",
"transactionIndex": "0x1ba",
"logIndex": "0x443",
"removed": false
},
{
"address": "0xb402e0479579b00f9dafc0526234bbc4583920b4",
"topics": [
"0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef",
"0x0000000000000000000000000000000000000000000000000000000000000000",
"0x000000000000000000000000f5ac5943d16fc865824910033b756519dc396682"
],
"data": "0x0000000000000000000000000000000000000000000000000de0b6b3a7640000",
"blockHash": "0xfaa5b5eaf14d8410443732e11a079a52d41f85c69f1781781e26116fc359d865",
"blockNumber": "0x1734eb3",
"blockTimestamp": "0x697a201f",
"transactionHash": "0xc444efa8f79193262d23fb8db2650e732690bdc1afa465c11d9558c2abc2ed5f",
"transactionIndex": "0x1ba",
"logIndex": "0x444",
"removed": false
},
{
"address": "0xb402e0479579b00f9dafc0526234bbc4583920b4",
"topics": [
"0xdcbc1c05240f31ff3ad067ef1ee35ce4997762752e3a095284754544f4c709d7",
"0x000000000000000000000000f5ac5943d16fc865824910033b756519dc396682",
"0x000000000000000000000000f5ac5943d16fc865824910033b756519dc396682"
],
"data": "0x000000000000000000000000000000000000000000000000002386f26fc100000000000000000000000000000000000000000000000000000de0b6b3a7640000",
"blockHash": "0xfaa5b5eaf14d8410443732e11a079a52d41f85c69f1781781e26116fc359d865",
"blockNumber": "0x1734eb3",
"blockTimestamp": "0x697a201f",
"transactionHash": "0xc444efa8f79193262d23fb8db2650e732690bdc1afa465c11d9558c2abc2ed5f",
"transactionIndex": "0x1ba",
"logIndex": "0x445",
"removed": false
}
],
"logsBloom": "0x00000000000400008000000080000400000000000000000000000004000000000000000000000000000000000000000800000000000000000004000004200000000000410800000000000008000000000000000000000000000100000000000000000002020000000000000000000800000000000004000000000010000000000000000800000000002000000000000000000000008000000000000000000000020000000000000000000000000000000000000000100000000000000000000000000002000000000000000000000000020000000008000000000000000020000010000000000000000000000000000000000000000000000000000000040000",
"type": "0x2",
"transactionHash": "0xc444efa8f79193262d23fb8db2650e732690bdc1afa465c11d9558c2abc2ed5f",
"transactionIndex": "0x1ba",
"blockHash": "0xfaa5b5eaf14d8410443732e11a079a52d41f85c69f1781781e26116fc359d865",
"blockNumber": "0x1734eb3",
"gasUsed": "0xc6219",
"effectiveGasPrice": "0xc1e07ab",
"from": "0xf5ac5943d16fc865824910033b756519dc396682",
"to": "0xb402e0479579b00f9dafc0526234bbc4583920b4",
"contractAddress": null
}
],
"libraries": [],
"pending": [],
"returns": {},
"timestamp": 1769611299,
"chain": 1,
"commit": "4197572"
}
3 changes: 3 additions & 0 deletions foundry.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@ viaIR = true
[rpc_endpoints]
etherlink="https://node.mainnet.etherlink.com"
hyperevm="https://rpc.hyperlend.finance"
mainnet="https://ethereum-rpc.publicnode.com"

[etherscan]
etherlink={ key = "NO_KEY", chain = 42793, url= "https://explorer.etherlink.com/api/" }
mainnet={ key = "${ETHERSCAN_API_KEY}", chain = 1 }

1 change: 1 addition & 0 deletions lib/morpho-blue
Submodule morpho-blue added at 55d2d9
3 changes: 2 additions & 1 deletion remappings.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,5 @@ forge-std/=lib/forge-std/src/
halmos-cheatcodes/=lib/openzeppelin-contracts/lib/halmos-cheatcodes/src/
openzeppelin-contracts/=lib/openzeppelin-contracts/
aave-v3-core/=lib/aave-v3-core/
openzeppelin-contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/
openzeppelin-contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/
morpho-blue/=lib/morpho-blue/src/
Loading
Loading