Skip to content

Commit 916ed3e

Browse files
committed
redeploy on both chain with create2 factory
1 parent 7fd784a commit 916ed3e

File tree

17 files changed

+299
-16
lines changed

17 files changed

+299
-16
lines changed

packages/smart-contract/artifacts/build-info/c2a62fb472c97ae3cd4cd0844546de5a.json

Lines changed: 1 addition & 0 deletions
Large diffs are not rendered by default.
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"_format": "hh-sol-dbg-1",
3+
"buildInfo": "../../build-info/c2a62fb472c97ae3cd4cd0844546de5a.json"
4+
}
Lines changed: 93 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,93 @@
1+
{
2+
"_format": "hh-sol-artifact-1",
3+
"contractName": "DataProtector",
4+
"sourceName": "contracts/DataProtector.sol",
5+
"abi": [
6+
{
7+
"inputs": [
8+
{
9+
"internalType": "contract IDatasetRegistry",
10+
"name": "_registry",
11+
"type": "address"
12+
}
13+
],
14+
"stateMutability": "nonpayable",
15+
"type": "constructor"
16+
},
17+
{
18+
"anonymous": false,
19+
"inputs": [
20+
{
21+
"indexed": true,
22+
"internalType": "contract IDataset",
23+
"name": "dataset",
24+
"type": "address"
25+
},
26+
{
27+
"indexed": false,
28+
"internalType": "string",
29+
"name": "schema",
30+
"type": "string"
31+
}
32+
],
33+
"name": "DatasetSchema",
34+
"type": "event"
35+
},
36+
{
37+
"inputs": [
38+
{
39+
"internalType": "address",
40+
"name": "_datasetOwner",
41+
"type": "address"
42+
},
43+
{
44+
"internalType": "string",
45+
"name": "_datasetName",
46+
"type": "string"
47+
},
48+
{
49+
"internalType": "string",
50+
"name": "_datasetSchema",
51+
"type": "string"
52+
},
53+
{
54+
"internalType": "bytes",
55+
"name": "_datasetMultiaddr",
56+
"type": "bytes"
57+
},
58+
{
59+
"internalType": "bytes32",
60+
"name": "_datasetChecksum",
61+
"type": "bytes32"
62+
}
63+
],
64+
"name": "createDatasetWithSchema",
65+
"outputs": [
66+
{
67+
"internalType": "contract IDataset",
68+
"name": "",
69+
"type": "address"
70+
}
71+
],
72+
"stateMutability": "nonpayable",
73+
"type": "function"
74+
},
75+
{
76+
"inputs": [],
77+
"name": "registry",
78+
"outputs": [
79+
{
80+
"internalType": "contract IDatasetRegistry",
81+
"name": "",
82+
"type": "address"
83+
}
84+
],
85+
"stateMutability": "view",
86+
"type": "function"
87+
}
88+
],
89+
"bytecode": "0x60a0604052348015600f57600080fd5b50604051610415380380610415833981016040819052602c91603c565b6001600160a01b0316608052606a565b600060208284031215604d57600080fd5b81516001600160a01b0381168114606357600080fd5b9392505050565b60805161038b61008a60003960008181606f01526096015261038b6000f3fe608060405234801561001057600080fd5b50600436106100365760003560e01c8063167fbf5f1461003b5780637b1039991461006a575b600080fd5b61004e6100493660046101e0565b610091565b6040516001600160a01b03909116815260200160405180910390f35b61004e7f000000000000000000000000000000000000000000000000000000000000000081565b6000807f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316633354bcdb8b8b8b8989896040518763ffffffff1660e01b81526004016100ea969594939291906102c9565b6020604051808303816000875af1158015610109573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061012d9190610315565b9050806001600160a01b03167f37b19b8900a9b045473748167f459fa16828f33c13d71473bca4b5e52e5f4d5d888860405161016a929190610339565b60405180910390a29998505050505050505050565b6001600160a01b038116811461019457600080fd5b50565b60008083601f8401126101a957600080fd5b50813567ffffffffffffffff8111156101c157600080fd5b6020830191508360208285010111156101d957600080fd5b9250929050565b60008060008060008060008060a0898b0312156101fc57600080fd5b88356102078161017f565b9750602089013567ffffffffffffffff81111561022357600080fd5b61022f8b828c01610197565b909850965050604089013567ffffffffffffffff81111561024f57600080fd5b61025b8b828c01610197565b909650945050606089013567ffffffffffffffff81111561027b57600080fd5b6102878b828c01610197565b999c989b50969995989497949560800135949350505050565b81835281816020850137506000828201602090810191909152601f909101601f19169091010190565b6001600160a01b03871681526080602082018190526000906102ee90830187896102a0565b82810360408401526103018186886102a0565b915050826060830152979650505050505050565b60006020828403121561032757600080fd5b81516103328161017f565b9392505050565b60208152600061034d6020830184866102a0565b94935050505056fea2646970667358221220f178247810e731b2c7a76fcefad2ca335779409b90779f5dbe730d9eac01709164736f6c634300081d0033",
90+
"deployedBytecode": "0x608060405234801561001057600080fd5b50600436106100365760003560e01c8063167fbf5f1461003b5780637b1039991461006a575b600080fd5b61004e6100493660046101e0565b610091565b6040516001600160a01b03909116815260200160405180910390f35b61004e7f000000000000000000000000000000000000000000000000000000000000000081565b6000807f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316633354bcdb8b8b8b8989896040518763ffffffff1660e01b81526004016100ea969594939291906102c9565b6020604051808303816000875af1158015610109573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061012d9190610315565b9050806001600160a01b03167f37b19b8900a9b045473748167f459fa16828f33c13d71473bca4b5e52e5f4d5d888860405161016a929190610339565b60405180910390a29998505050505050505050565b6001600160a01b038116811461019457600080fd5b50565b60008083601f8401126101a957600080fd5b50813567ffffffffffffffff8111156101c157600080fd5b6020830191508360208285010111156101d957600080fd5b9250929050565b60008060008060008060008060a0898b0312156101fc57600080fd5b88356102078161017f565b9750602089013567ffffffffffffffff81111561022357600080fd5b61022f8b828c01610197565b909850965050604089013567ffffffffffffffff81111561024f57600080fd5b61025b8b828c01610197565b909650945050606089013567ffffffffffffffff81111561027b57600080fd5b6102878b828c01610197565b999c989b50969995989497949560800135949350505050565b81835281816020850137506000828201602090810191909152601f909101601f19169091010190565b6001600160a01b03871681526080602082018190526000906102ee90830187896102a0565b82810360408401526103018186886102a0565b915050826060830152979650505050505050565b60006020828403121561032757600080fd5b81516103328161017f565b9392505050565b60208152600061034d6020830184866102a0565b94935050505056fea2646970667358221220f178247810e731b2c7a76fcefad2ca335779409b90779f5dbe730d9eac01709164736f6c634300081d0033",
91+
"linkReferences": {},
92+
"deployedLinkReferences": {}
93+
}
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"_format": "hh-sol-dbg-1",
3+
"buildInfo": "../../build-info/c2a62fb472c97ae3cd4cd0844546de5a.json"
4+
}
Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
{
2+
"_format": "hh-sol-artifact-1",
3+
"contractName": "DatasetRegistryMock",
4+
"sourceName": "contracts/DatasetRegistryMock.sol",
5+
"abi": [
6+
{
7+
"inputs": [
8+
{
9+
"internalType": "address",
10+
"name": "_datasetOwner",
11+
"type": "address"
12+
},
13+
{
14+
"internalType": "string",
15+
"name": "_datasetName",
16+
"type": "string"
17+
},
18+
{
19+
"internalType": "bytes",
20+
"name": "_datasetMultiaddr",
21+
"type": "bytes"
22+
},
23+
{
24+
"internalType": "bytes32",
25+
"name": "_datasetChecksum",
26+
"type": "bytes32"
27+
}
28+
],
29+
"name": "createDataset",
30+
"outputs": [
31+
{
32+
"internalType": "contract IDataset",
33+
"name": "",
34+
"type": "address"
35+
}
36+
],
37+
"stateMutability": "nonpayable",
38+
"type": "function"
39+
}
40+
],
41+
"bytecode": "0x6080604052348015600f57600080fd5b506101818061001f6000396000f3fe608060405234801561001057600080fd5b506004361061002b5760003560e01c80633354bcdb14610030575b600080fd5b61004a61003e3660046100af565b60009695505050505050565b6040516001600160a01b03909116815260200160405180910390f35b60008083601f84011261007857600080fd5b50813567ffffffffffffffff81111561009057600080fd5b6020830191508360208285010111156100a857600080fd5b9250929050565b600080600080600080608087890312156100c857600080fd5b86356001600160a01b03811681146100df57600080fd5b9550602087013567ffffffffffffffff8111156100fb57600080fd5b61010789828a01610066565b909650945050604087013567ffffffffffffffff81111561012757600080fd5b61013389828a01610066565b979a969950949794969560609095013594935050505056fea26469706673582212202309c854e67905caf462e5bb05fd1aff01ecf016be257d1b9de3af328543c70464736f6c634300081d0033",
42+
"deployedBytecode": "0x608060405234801561001057600080fd5b506004361061002b5760003560e01c80633354bcdb14610030575b600080fd5b61004a61003e3660046100af565b60009695505050505050565b6040516001600160a01b03909116815260200160405180910390f35b60008083601f84011261007857600080fd5b50813567ffffffffffffffff81111561009057600080fd5b6020830191508360208285010111156100a857600080fd5b9250929050565b600080600080600080608087890312156100c857600080fd5b86356001600160a01b03811681146100df57600080fd5b9550602087013567ffffffffffffffff8111156100fb57600080fd5b61010789828a01610066565b909650945050604087013567ffffffffffffffff81111561012757600080fd5b61013389828a01610066565b979a969950949794969560609095013594935050505056fea26469706673582212202309c854e67905caf462e5bb05fd1aff01ecf016be257d1b9de3af328543c70464736f6c634300081d0033",
43+
"linkReferences": {},
44+
"deployedLinkReferences": {}
45+
}
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"_format": "hh-sol-dbg-1",
3+
"buildInfo": "../../../build-info/c2a62fb472c97ae3cd4cd0844546de5a.json"
4+
}
Lines changed: 69 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,69 @@
1+
{
2+
"_format": "hh-sol-artifact-1",
3+
"contractName": "IDataProtector",
4+
"sourceName": "contracts/interfaces/IDataProtector.sol",
5+
"abi": [
6+
{
7+
"anonymous": false,
8+
"inputs": [
9+
{
10+
"indexed": true,
11+
"internalType": "contract IDataset",
12+
"name": "dataset",
13+
"type": "address"
14+
},
15+
{
16+
"indexed": false,
17+
"internalType": "string",
18+
"name": "schema",
19+
"type": "string"
20+
}
21+
],
22+
"name": "DatasetSchema",
23+
"type": "event"
24+
},
25+
{
26+
"inputs": [
27+
{
28+
"internalType": "address",
29+
"name": "_datasetOwner",
30+
"type": "address"
31+
},
32+
{
33+
"internalType": "string",
34+
"name": "_datasetName",
35+
"type": "string"
36+
},
37+
{
38+
"internalType": "string",
39+
"name": "_datasetSchema",
40+
"type": "string"
41+
},
42+
{
43+
"internalType": "bytes",
44+
"name": "_datasetMultiaddr",
45+
"type": "bytes"
46+
},
47+
{
48+
"internalType": "bytes32",
49+
"name": "_datasetChecksum",
50+
"type": "bytes32"
51+
}
52+
],
53+
"name": "createDatasetWithSchema",
54+
"outputs": [
55+
{
56+
"internalType": "contract IDataset",
57+
"name": "",
58+
"type": "address"
59+
}
60+
],
61+
"stateMutability": "nonpayable",
62+
"type": "function"
63+
}
64+
],
65+
"bytecode": "0x",
66+
"deployedBytecode": "0x",
67+
"linkReferences": {},
68+
"deployedLinkReferences": {}
69+
}
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"_format": "hh-sol-dbg-1",
3+
"buildInfo": "../../../build-info/c2a62fb472c97ae3cd4cd0844546de5a.json"
4+
}
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
{
2+
"_format": "hh-sol-artifact-1",
3+
"contractName": "IDataset",
4+
"sourceName": "contracts/interfaces/IDataset.sol",
5+
"abi": [],
6+
"bytecode": "0x",
7+
"deployedBytecode": "0x",
8+
"linkReferences": {},
9+
"deployedLinkReferences": {}
10+
}
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"_format": "hh-sol-dbg-1",
3+
"buildInfo": "../../../build-info/c2a62fb472c97ae3cd4cd0844546de5a.json"
4+
}

0 commit comments

Comments
 (0)