-
Notifications
You must be signed in to change notification settings - Fork 32
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
082ed1b
commit ce68b5c
Showing
6 changed files
with
233 additions
and
22 deletions.
There are no files selected for viewing
63 changes: 63 additions & 0 deletions
63
broadcast/SetL1ResolverSigner.s.sol/11155111/run-1718918784.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,63 @@ | ||
{ | ||
"transactions": [ | ||
{ | ||
"hash": "0x6f4ba14b8e6b5cce733210019f9c7f1e7c5ad816c2ca488915e8f3f300b5317e", | ||
"transactionType": "CALL", | ||
"contractName": "L1Resolver", | ||
"contractAddress": "0x0a702b2475878628ff6a9a4be5e18e6db9b74ed3", | ||
"function": "addSigners(address[])", | ||
"arguments": [ | ||
"[0x0ae910AFA602F5460c4A6eDEc98A4F429901fAE2]" | ||
], | ||
"transaction": { | ||
"from": "0x869140c91edf43214a3ecedeaf777cc7107ad71a", | ||
"to": "0x0a702b2475878628ff6a9a4be5e18e6db9b74ed3", | ||
"gas": "0x11640", | ||
"value": "0x0", | ||
"input": "0xe8906a2d000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000ae910afa602f5460c4a6edec98a4f429901fae2", | ||
"nonce": "0x6", | ||
"chainId": "0xaa36a7" | ||
}, | ||
"additionalContracts": [], | ||
"isFixedGasLimit": false | ||
} | ||
], | ||
"receipts": [ | ||
{ | ||
"status": "0x1", | ||
"cumulativeGasUsed": "0x6e921b", | ||
"logs": [ | ||
{ | ||
"address": "0x0a702b2475878628ff6a9a4be5e18e6db9b74ed3", | ||
"topics": [ | ||
"0xab0b9cc3a46b568cb08d985497cde8ab7e18892d01f58db7dc7f0d2af859b2d7" | ||
], | ||
"data": "0x000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000ae910afa602f5460c4a6edec98a4f429901fae2", | ||
"blockHash": "0x3b36c60972601a18e5927480bb4d4465a965ddfaba86913eb34862544b5e0dd2", | ||
"blockNumber": "0x5dd855", | ||
"transactionHash": "0x6f4ba14b8e6b5cce733210019f9c7f1e7c5ad816c2ca488915e8f3f300b5317e", | ||
"transactionIndex": "0x46", | ||
"logIndex": "0x6d", | ||
"removed": false | ||
} | ||
], | ||
"logsBloom": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000002000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004000000000000000000000000100000000000000000000200000000000000000000000", | ||
"type": "0x2", | ||
"transactionHash": "0x6f4ba14b8e6b5cce733210019f9c7f1e7c5ad816c2ca488915e8f3f300b5317e", | ||
"transactionIndex": "0x46", | ||
"blockHash": "0x3b36c60972601a18e5927480bb4d4465a965ddfaba86913eb34862544b5e0dd2", | ||
"blockNumber": "0x5dd855", | ||
"gasUsed": "0xbe42", | ||
"effectiveGasPrice": "0x1f2e0372", | ||
"from": "0x869140c91edf43214a3ecedeaf777cc7107ad71a", | ||
"to": "0x0a702b2475878628ff6a9a4be5e18e6db9b74ed3", | ||
"contractAddress": null | ||
} | ||
], | ||
"libraries": [], | ||
"pending": [], | ||
"returns": {}, | ||
"timestamp": 1718918784, | ||
"chain": 11155111, | ||
"commit": "082ed1b" | ||
} |
63 changes: 63 additions & 0 deletions
63
broadcast/SetL1ResolverSigner.s.sol/11155111/run-latest.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,63 @@ | ||
{ | ||
"transactions": [ | ||
{ | ||
"hash": "0x6f4ba14b8e6b5cce733210019f9c7f1e7c5ad816c2ca488915e8f3f300b5317e", | ||
"transactionType": "CALL", | ||
"contractName": "L1Resolver", | ||
"contractAddress": "0x0a702b2475878628ff6a9a4be5e18e6db9b74ed3", | ||
"function": "addSigners(address[])", | ||
"arguments": [ | ||
"[0x0ae910AFA602F5460c4A6eDEc98A4F429901fAE2]" | ||
], | ||
"transaction": { | ||
"from": "0x869140c91edf43214a3ecedeaf777cc7107ad71a", | ||
"to": "0x0a702b2475878628ff6a9a4be5e18e6db9b74ed3", | ||
"gas": "0x11640", | ||
"value": "0x0", | ||
"input": "0xe8906a2d000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000ae910afa602f5460c4a6edec98a4f429901fae2", | ||
"nonce": "0x6", | ||
"chainId": "0xaa36a7" | ||
}, | ||
"additionalContracts": [], | ||
"isFixedGasLimit": false | ||
} | ||
], | ||
"receipts": [ | ||
{ | ||
"status": "0x1", | ||
"cumulativeGasUsed": "0x6e921b", | ||
"logs": [ | ||
{ | ||
"address": "0x0a702b2475878628ff6a9a4be5e18e6db9b74ed3", | ||
"topics": [ | ||
"0xab0b9cc3a46b568cb08d985497cde8ab7e18892d01f58db7dc7f0d2af859b2d7" | ||
], | ||
"data": "0x000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000ae910afa602f5460c4a6edec98a4f429901fae2", | ||
"blockHash": "0x3b36c60972601a18e5927480bb4d4465a965ddfaba86913eb34862544b5e0dd2", | ||
"blockNumber": "0x5dd855", | ||
"transactionHash": "0x6f4ba14b8e6b5cce733210019f9c7f1e7c5ad816c2ca488915e8f3f300b5317e", | ||
"transactionIndex": "0x46", | ||
"logIndex": "0x6d", | ||
"removed": false | ||
} | ||
], | ||
"logsBloom": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000002000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004000000000000000000000000100000000000000000000200000000000000000000000", | ||
"type": "0x2", | ||
"transactionHash": "0x6f4ba14b8e6b5cce733210019f9c7f1e7c5ad816c2ca488915e8f3f300b5317e", | ||
"transactionIndex": "0x46", | ||
"blockHash": "0x3b36c60972601a18e5927480bb4d4465a965ddfaba86913eb34862544b5e0dd2", | ||
"blockNumber": "0x5dd855", | ||
"gasUsed": "0xbe42", | ||
"effectiveGasPrice": "0x1f2e0372", | ||
"from": "0x869140c91edf43214a3ecedeaf777cc7107ad71a", | ||
"to": "0x0a702b2475878628ff6a9a4be5e18e6db9b74ed3", | ||
"contractAddress": null | ||
} | ||
], | ||
"libraries": [], | ||
"pending": [], | ||
"returns": {}, | ||
"timestamp": 1718918784, | ||
"chain": 11155111, | ||
"commit": "082ed1b" | ||
} |
63 changes: 63 additions & 0 deletions
63
broadcast/SetL1ResolverUrl.s.sol/11155111/run-1718750100.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,63 @@ | ||
{ | ||
"transactions": [ | ||
{ | ||
"hash": "0x0f35c4cef79a422c5748f4d6204b8a17ec029a043bc68c5e9c6dbe5b42014c65", | ||
"transactionType": "CALL", | ||
"contractName": "L1Resolver", | ||
"contractAddress": "0x0a702b2475878628ff6a9a4be5e18e6db9b74ed3", | ||
"function": "setUrl(string)", | ||
"arguments": [ | ||
"\"https://api.coinbase.com/api/v1/domain/resolver/resolveDomain/{sender}/{data}\"" | ||
], | ||
"transaction": { | ||
"from": "0x869140c91edf43214a3ecedeaf777cc7107ad71a", | ||
"to": "0x0a702b2475878628ff6a9a4be5e18e6db9b74ed3", | ||
"gas": "0x106d0", | ||
"value": "0x0", | ||
"input": "0x252498a20000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000004d68747470733a2f2f6170692e636f696e626173652e636f6d2f6170692f76312f646f6d61696e2f7265736f6c7665722f7265736f6c7665446f6d61696e2f7b73656e6465727d2f7b646174617d00000000000000000000000000000000000000", | ||
"nonce": "0x5", | ||
"chainId": "0xaa36a7" | ||
}, | ||
"additionalContracts": [], | ||
"isFixedGasLimit": false | ||
} | ||
], | ||
"receipts": [ | ||
{ | ||
"status": "0x1", | ||
"cumulativeGasUsed": "0x64cdc5", | ||
"logs": [ | ||
{ | ||
"address": "0x0a702b2475878628ff6a9a4be5e18e6db9b74ed3", | ||
"topics": [ | ||
"0x2c79c64e8bbe05b31bc2d6bacc4b8aece533e968d1596c82949b0f6bb2ac00f0" | ||
], | ||
"data": "0x0000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000004d68747470733a2f2f6170692e636f696e626173652e636f6d2f6170692f76312f646f6d61696e2f7265736f6c7665722f7265736f6c7665446f6d61696e2f7b73656e6465727d2f7b646174617d00000000000000000000000000000000000000", | ||
"blockHash": "0x3fd841385e544fbd1d1ac3c8fc6f423cff79ebc0b7359cd2ac9bfe03c5c40def", | ||
"blockNumber": "0x5da2c8", | ||
"transactionHash": "0x0f35c4cef79a422c5748f4d6204b8a17ec029a043bc68c5e9c6dbe5b42014c65", | ||
"transactionIndex": "0x25", | ||
"logIndex": "0x2f", | ||
"removed": false | ||
} | ||
], | ||
"logsBloom": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000008000000000000000000000000040000000002000000000000000000040000000200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000000000", | ||
"type": "0x2", | ||
"transactionHash": "0x0f35c4cef79a422c5748f4d6204b8a17ec029a043bc68c5e9c6dbe5b42014c65", | ||
"transactionIndex": "0x25", | ||
"blockHash": "0x3fd841385e544fbd1d1ac3c8fc6f423cff79ebc0b7359cd2ac9bfe03c5c40def", | ||
"blockNumber": "0x5da2c8", | ||
"gasUsed": "0xbe46", | ||
"effectiveGasPrice": "0x3b9d890b", | ||
"from": "0x869140c91edf43214a3ecedeaf777cc7107ad71a", | ||
"to": "0x0a702b2475878628ff6a9a4be5e18e6db9b74ed3", | ||
"contractAddress": null | ||
} | ||
], | ||
"libraries": [], | ||
"pending": [], | ||
"returns": {}, | ||
"timestamp": 1718750100, | ||
"chain": 11155111, | ||
"commit": "082ed1b" | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
// SPDX-License-Identifier: UNLICENSED | ||
pragma solidity ^0.8.23; | ||
|
||
import "forge-std/Script.sol"; | ||
import "src/L1/L1Resolver.sol"; | ||
|
||
contract SetL1ResolverSigner is Script { | ||
function run() external { | ||
uint256 deployerPrivateKey = vm.envUint("PRIVATE_KEY"); | ||
address resolverAddress = vm.envAddress("L1_RESOLVER_ADDR"); | ||
vm.startBroadcast(deployerPrivateKey); | ||
|
||
address NEW_SIGNER = 0x0ae910AFA602F5460c4A6eDEc98A4F429901fAE2; | ||
address[] memory signers = new address[](1); | ||
signers[0] = NEW_SIGNER; | ||
|
||
L1Resolver resolver = L1Resolver(resolverAddress); | ||
console.log("connected to L1 resolver"); | ||
resolver.addSigners(signers); | ||
|
||
vm.stopBroadcast(); | ||
} | ||
} |
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