Skip to content

Commit bb356ab

Browse files
committed
Lint
1 parent 082ed1b commit bb356ab

File tree

6 files changed

+233
-22
lines changed

6 files changed

+233
-22
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,63 @@
1+
{
2+
"transactions": [
3+
{
4+
"hash": "0x6f4ba14b8e6b5cce733210019f9c7f1e7c5ad816c2ca488915e8f3f300b5317e",
5+
"transactionType": "CALL",
6+
"contractName": "L1Resolver",
7+
"contractAddress": "0x0a702b2475878628ff6a9a4be5e18e6db9b74ed3",
8+
"function": "addSigners(address[])",
9+
"arguments": [
10+
"[0x0ae910AFA602F5460c4A6eDEc98A4F429901fAE2]"
11+
],
12+
"transaction": {
13+
"from": "0x869140c91edf43214a3ecedeaf777cc7107ad71a",
14+
"to": "0x0a702b2475878628ff6a9a4be5e18e6db9b74ed3",
15+
"gas": "0x11640",
16+
"value": "0x0",
17+
"input": "0xe8906a2d000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000ae910afa602f5460c4a6edec98a4f429901fae2",
18+
"nonce": "0x6",
19+
"chainId": "0xaa36a7"
20+
},
21+
"additionalContracts": [],
22+
"isFixedGasLimit": false
23+
}
24+
],
25+
"receipts": [
26+
{
27+
"status": "0x1",
28+
"cumulativeGasUsed": "0x6e921b",
29+
"logs": [
30+
{
31+
"address": "0x0a702b2475878628ff6a9a4be5e18e6db9b74ed3",
32+
"topics": [
33+
"0xab0b9cc3a46b568cb08d985497cde8ab7e18892d01f58db7dc7f0d2af859b2d7"
34+
],
35+
"data": "0x000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000ae910afa602f5460c4a6edec98a4f429901fae2",
36+
"blockHash": "0x3b36c60972601a18e5927480bb4d4465a965ddfaba86913eb34862544b5e0dd2",
37+
"blockNumber": "0x5dd855",
38+
"transactionHash": "0x6f4ba14b8e6b5cce733210019f9c7f1e7c5ad816c2ca488915e8f3f300b5317e",
39+
"transactionIndex": "0x46",
40+
"logIndex": "0x6d",
41+
"removed": false
42+
}
43+
],
44+
"logsBloom": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000002000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004000000000000000000000000100000000000000000000200000000000000000000000",
45+
"type": "0x2",
46+
"transactionHash": "0x6f4ba14b8e6b5cce733210019f9c7f1e7c5ad816c2ca488915e8f3f300b5317e",
47+
"transactionIndex": "0x46",
48+
"blockHash": "0x3b36c60972601a18e5927480bb4d4465a965ddfaba86913eb34862544b5e0dd2",
49+
"blockNumber": "0x5dd855",
50+
"gasUsed": "0xbe42",
51+
"effectiveGasPrice": "0x1f2e0372",
52+
"from": "0x869140c91edf43214a3ecedeaf777cc7107ad71a",
53+
"to": "0x0a702b2475878628ff6a9a4be5e18e6db9b74ed3",
54+
"contractAddress": null
55+
}
56+
],
57+
"libraries": [],
58+
"pending": [],
59+
"returns": {},
60+
"timestamp": 1718918784,
61+
"chain": 11155111,
62+
"commit": "082ed1b"
63+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,63 @@
1+
{
2+
"transactions": [
3+
{
4+
"hash": "0x6f4ba14b8e6b5cce733210019f9c7f1e7c5ad816c2ca488915e8f3f300b5317e",
5+
"transactionType": "CALL",
6+
"contractName": "L1Resolver",
7+
"contractAddress": "0x0a702b2475878628ff6a9a4be5e18e6db9b74ed3",
8+
"function": "addSigners(address[])",
9+
"arguments": [
10+
"[0x0ae910AFA602F5460c4A6eDEc98A4F429901fAE2]"
11+
],
12+
"transaction": {
13+
"from": "0x869140c91edf43214a3ecedeaf777cc7107ad71a",
14+
"to": "0x0a702b2475878628ff6a9a4be5e18e6db9b74ed3",
15+
"gas": "0x11640",
16+
"value": "0x0",
17+
"input": "0xe8906a2d000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000ae910afa602f5460c4a6edec98a4f429901fae2",
18+
"nonce": "0x6",
19+
"chainId": "0xaa36a7"
20+
},
21+
"additionalContracts": [],
22+
"isFixedGasLimit": false
23+
}
24+
],
25+
"receipts": [
26+
{
27+
"status": "0x1",
28+
"cumulativeGasUsed": "0x6e921b",
29+
"logs": [
30+
{
31+
"address": "0x0a702b2475878628ff6a9a4be5e18e6db9b74ed3",
32+
"topics": [
33+
"0xab0b9cc3a46b568cb08d985497cde8ab7e18892d01f58db7dc7f0d2af859b2d7"
34+
],
35+
"data": "0x000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000ae910afa602f5460c4a6edec98a4f429901fae2",
36+
"blockHash": "0x3b36c60972601a18e5927480bb4d4465a965ddfaba86913eb34862544b5e0dd2",
37+
"blockNumber": "0x5dd855",
38+
"transactionHash": "0x6f4ba14b8e6b5cce733210019f9c7f1e7c5ad816c2ca488915e8f3f300b5317e",
39+
"transactionIndex": "0x46",
40+
"logIndex": "0x6d",
41+
"removed": false
42+
}
43+
],
44+
"logsBloom": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000002000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004000000000000000000000000100000000000000000000200000000000000000000000",
45+
"type": "0x2",
46+
"transactionHash": "0x6f4ba14b8e6b5cce733210019f9c7f1e7c5ad816c2ca488915e8f3f300b5317e",
47+
"transactionIndex": "0x46",
48+
"blockHash": "0x3b36c60972601a18e5927480bb4d4465a965ddfaba86913eb34862544b5e0dd2",
49+
"blockNumber": "0x5dd855",
50+
"gasUsed": "0xbe42",
51+
"effectiveGasPrice": "0x1f2e0372",
52+
"from": "0x869140c91edf43214a3ecedeaf777cc7107ad71a",
53+
"to": "0x0a702b2475878628ff6a9a4be5e18e6db9b74ed3",
54+
"contractAddress": null
55+
}
56+
],
57+
"libraries": [],
58+
"pending": [],
59+
"returns": {},
60+
"timestamp": 1718918784,
61+
"chain": 11155111,
62+
"commit": "082ed1b"
63+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,63 @@
1+
{
2+
"transactions": [
3+
{
4+
"hash": "0x0f35c4cef79a422c5748f4d6204b8a17ec029a043bc68c5e9c6dbe5b42014c65",
5+
"transactionType": "CALL",
6+
"contractName": "L1Resolver",
7+
"contractAddress": "0x0a702b2475878628ff6a9a4be5e18e6db9b74ed3",
8+
"function": "setUrl(string)",
9+
"arguments": [
10+
"\"https://api.coinbase.com/api/v1/domain/resolver/resolveDomain/{sender}/{data}\""
11+
],
12+
"transaction": {
13+
"from": "0x869140c91edf43214a3ecedeaf777cc7107ad71a",
14+
"to": "0x0a702b2475878628ff6a9a4be5e18e6db9b74ed3",
15+
"gas": "0x106d0",
16+
"value": "0x0",
17+
"input": "0x252498a20000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000004d68747470733a2f2f6170692e636f696e626173652e636f6d2f6170692f76312f646f6d61696e2f7265736f6c7665722f7265736f6c7665446f6d61696e2f7b73656e6465727d2f7b646174617d00000000000000000000000000000000000000",
18+
"nonce": "0x5",
19+
"chainId": "0xaa36a7"
20+
},
21+
"additionalContracts": [],
22+
"isFixedGasLimit": false
23+
}
24+
],
25+
"receipts": [
26+
{
27+
"status": "0x1",
28+
"cumulativeGasUsed": "0x64cdc5",
29+
"logs": [
30+
{
31+
"address": "0x0a702b2475878628ff6a9a4be5e18e6db9b74ed3",
32+
"topics": [
33+
"0x2c79c64e8bbe05b31bc2d6bacc4b8aece533e968d1596c82949b0f6bb2ac00f0"
34+
],
35+
"data": "0x0000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000004d68747470733a2f2f6170692e636f696e626173652e636f6d2f6170692f76312f646f6d61696e2f7265736f6c7665722f7265736f6c7665446f6d61696e2f7b73656e6465727d2f7b646174617d00000000000000000000000000000000000000",
36+
"blockHash": "0x3fd841385e544fbd1d1ac3c8fc6f423cff79ebc0b7359cd2ac9bfe03c5c40def",
37+
"blockNumber": "0x5da2c8",
38+
"transactionHash": "0x0f35c4cef79a422c5748f4d6204b8a17ec029a043bc68c5e9c6dbe5b42014c65",
39+
"transactionIndex": "0x25",
40+
"logIndex": "0x2f",
41+
"removed": false
42+
}
43+
],
44+
"logsBloom": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000008000000000000000000000000040000000002000000000000000000040000000200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000000000",
45+
"type": "0x2",
46+
"transactionHash": "0x0f35c4cef79a422c5748f4d6204b8a17ec029a043bc68c5e9c6dbe5b42014c65",
47+
"transactionIndex": "0x25",
48+
"blockHash": "0x3fd841385e544fbd1d1ac3c8fc6f423cff79ebc0b7359cd2ac9bfe03c5c40def",
49+
"blockNumber": "0x5da2c8",
50+
"gasUsed": "0xbe46",
51+
"effectiveGasPrice": "0x3b9d890b",
52+
"from": "0x869140c91edf43214a3ecedeaf777cc7107ad71a",
53+
"to": "0x0a702b2475878628ff6a9a4be5e18e6db9b74ed3",
54+
"contractAddress": null
55+
}
56+
],
57+
"libraries": [],
58+
"pending": [],
59+
"returns": {},
60+
"timestamp": 1718750100,
61+
"chain": 11155111,
62+
"commit": "082ed1b"
63+
}
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,21 @@
11
{
22
"transactions": [
33
{
4-
"hash": "0x0518113fbaf863709499a17821cb53df455366ec77fd926d65394401083e3669",
4+
"hash": "0x0f35c4cef79a422c5748f4d6204b8a17ec029a043bc68c5e9c6dbe5b42014c65",
55
"transactionType": "CALL",
66
"contractName": "L1Resolver",
77
"contractAddress": "0x0a702b2475878628ff6a9a4be5e18e6db9b74ed3",
88
"function": "setUrl(string)",
99
"arguments": [
10-
"\"https://api-entry-gateway-development.cbhq.net/api/v1/domain/resolver/resolveDomain/{sender}/{data}\""
10+
"\"https://api.coinbase.com/api/v1/domain/resolver/resolveDomain/{sender}/{data}\""
1111
],
1212
"transaction": {
1313
"from": "0x869140c91edf43214a3ecedeaf777cc7107ad71a",
1414
"to": "0x0a702b2475878628ff6a9a4be5e18e6db9b74ed3",
15-
"gas": "0x11553",
15+
"gas": "0x106d0",
1616
"value": "0x0",
17-
"input": "0x252498a20000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000006368747470733a2f2f6170692d656e7472792d676174657761792d646576656c6f706d656e742e636268712e6e65742f6170692f76312f646f6d61696e2f7265736f6c7665722f7265736f6c7665446f6d61696e2f7b73656e6465727d2f7b646174617d0000000000000000000000000000000000000000000000000000000000",
18-
"nonce": "0x4",
17+
"input": "0x252498a20000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000004d68747470733a2f2f6170692e636f696e626173652e636f6d2f6170692f76312f646f6d61696e2f7265736f6c7665722f7265736f6c7665446f6d61696e2f7b73656e6465727d2f7b646174617d00000000000000000000000000000000000000",
18+
"nonce": "0x5",
1919
"chainId": "0xaa36a7"
2020
},
2121
"additionalContracts": [],
@@ -25,30 +25,30 @@
2525
"receipts": [
2626
{
2727
"status": "0x1",
28-
"cumulativeGasUsed": "0xe03a35",
28+
"cumulativeGasUsed": "0x64cdc5",
2929
"logs": [
3030
{
3131
"address": "0x0a702b2475878628ff6a9a4be5e18e6db9b74ed3",
3232
"topics": [
3333
"0x2c79c64e8bbe05b31bc2d6bacc4b8aece533e968d1596c82949b0f6bb2ac00f0"
3434
],
35-
"data": "0x0000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000006368747470733a2f2f6170692d656e7472792d676174657761792d646576656c6f706d656e742e636268712e6e65742f6170692f76312f646f6d61696e2f7265736f6c7665722f7265736f6c7665446f6d61696e2f7b73656e6465727d2f7b646174617d0000000000000000000000000000000000000000000000000000000000",
36-
"blockHash": "0x5d30926adec1b28894e5f76c82413bcc01290aae8bc87a0568802017150820ca",
37-
"blockNumber": "0x5d3478",
38-
"transactionHash": "0x0518113fbaf863709499a17821cb53df455366ec77fd926d65394401083e3669",
39-
"transactionIndex": "0x9e",
40-
"logIndex": "0xa3",
35+
"data": "0x0000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000004d68747470733a2f2f6170692e636f696e626173652e636f6d2f6170692f76312f646f6d61696e2f7265736f6c7665722f7265736f6c7665446f6d61696e2f7b73656e6465727d2f7b646174617d00000000000000000000000000000000000000",
36+
"blockHash": "0x3fd841385e544fbd1d1ac3c8fc6f423cff79ebc0b7359cd2ac9bfe03c5c40def",
37+
"blockNumber": "0x5da2c8",
38+
"transactionHash": "0x0f35c4cef79a422c5748f4d6204b8a17ec029a043bc68c5e9c6dbe5b42014c65",
39+
"transactionIndex": "0x25",
40+
"logIndex": "0x2f",
4141
"removed": false
4242
}
4343
],
4444
"logsBloom": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000008000000000000000000000000040000000002000000000000000000040000000200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000000000",
4545
"type": "0x2",
46-
"transactionHash": "0x0518113fbaf863709499a17821cb53df455366ec77fd926d65394401083e3669",
47-
"transactionIndex": "0x9e",
48-
"blockHash": "0x5d30926adec1b28894e5f76c82413bcc01290aae8bc87a0568802017150820ca",
49-
"blockNumber": "0x5d3478",
50-
"gasUsed": "0xc8c8",
51-
"effectiveGasPrice": "0x361f9e7",
46+
"transactionHash": "0x0f35c4cef79a422c5748f4d6204b8a17ec029a043bc68c5e9c6dbe5b42014c65",
47+
"transactionIndex": "0x25",
48+
"blockHash": "0x3fd841385e544fbd1d1ac3c8fc6f423cff79ebc0b7359cd2ac9bfe03c5c40def",
49+
"blockNumber": "0x5da2c8",
50+
"gasUsed": "0xbe46",
51+
"effectiveGasPrice": "0x3b9d890b",
5252
"from": "0x869140c91edf43214a3ecedeaf777cc7107ad71a",
5353
"to": "0x0a702b2475878628ff6a9a4be5e18e6db9b74ed3",
5454
"contractAddress": null
@@ -57,7 +57,7 @@
5757
"libraries": [],
5858
"pending": [],
5959
"returns": {},
60-
"timestamp": 1718395347,
60+
"timestamp": 1718750100,
6161
"chain": 11155111,
62-
"commit": "54057e5"
62+
"commit": "082ed1b"
6363
}
+23
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
// SPDX-License-Identifier: UNLICENSED
2+
pragma solidity ^0.8.23;
3+
4+
import "forge-std/Script.sol";
5+
import "src/L1/L1Resolver.sol";
6+
7+
contract SetL1ResolverSigner is Script {
8+
function run() external {
9+
uint256 deployerPrivateKey = vm.envUint("PRIVATE_KEY");
10+
address resolverAddress = vm.envAddress("L1_RESOLVER_ADDR");
11+
vm.startBroadcast(deployerPrivateKey);
12+
13+
address NEW_SIGNER = 0x0ae910AFA602F5460c4A6eDEc98A4F429901fAE2;
14+
address[] memory signers = new address[](1);
15+
signers[0] = NEW_SIGNER;
16+
17+
L1Resolver resolver = L1Resolver(resolverAddress);
18+
console.log("connected to L1 resolver");
19+
resolver.addSigners(signers);
20+
21+
vm.stopBroadcast();
22+
}
23+
}

script/configure/SetL1ResolverUrl.s.sol

+1-2
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,7 @@ contract SetL1ResolverUrl is Script {
1010
address resolverAddress = vm.envAddress("L1_RESOLVER_ADDR");
1111
vm.startBroadcast(deployerPrivateKey);
1212

13-
string memory NEW_URL =
14-
"https://api-entry-gateway-development.cbhq.net/api/v1/domain/resolver/resolveDomain/{sender}/{data}";
13+
string memory NEW_URL = "https://api.coinbase.com/api/v1/domain/resolver/resolveDomain/{sender}/{data}";
1514

1615
L1Resolver resolver = L1Resolver(resolverAddress);
1716
resolver.setUrl(NEW_URL);

0 commit comments

Comments
 (0)