@etherisc/gif-next 0.0.2-b9b3e89 → 0.0.2-f9905e1
Sign up to get free protection for your applications and to get access to all the features.
- package/artifacts/contracts/components/Component.sol/Component.dbg.json +1 -1
- package/artifacts/contracts/components/Component.sol/InstanceLinked.dbg.json +1 -1
- package/artifacts/contracts/components/IPool.sol/IPoolComponent.dbg.json +1 -1
- package/artifacts/contracts/components/IProduct.sol/IProductComponent.dbg.json +1 -1
- package/artifacts/contracts/components/Pool.sol/Pool.dbg.json +1 -1
- package/artifacts/contracts/components/Product.sol/Product.dbg.json +1 -1
- package/artifacts/contracts/experiment/inheritance/A.sol/A.dbg.json +4 -0
- package/artifacts/contracts/experiment/inheritance/A.sol/A.json +128 -0
- package/artifacts/contracts/experiment/inheritance/A.sol/AShared.dbg.json +4 -0
- package/artifacts/contracts/experiment/inheritance/A.sol/AShared.json +42 -0
- package/artifacts/contracts/experiment/inheritance/B.sol/B.dbg.json +4 -0
- package/artifacts/contracts/experiment/inheritance/B.sol/B.json +76 -0
- package/artifacts/contracts/experiment/inheritance/C.sol/C.dbg.json +4 -0
- package/artifacts/contracts/experiment/inheritance/C.sol/C.json +89 -0
- package/artifacts/contracts/experiment/inheritance/IA.sol/IA.dbg.json +4 -0
- package/artifacts/contracts/experiment/inheritance/IA.sol/IA.json +128 -0
- package/artifacts/contracts/experiment/inheritance/IA.sol/ISharedA.dbg.json +4 -0
- package/artifacts/contracts/experiment/inheritance/IA.sol/ISharedA.json +37 -0
- package/artifacts/contracts/experiment/inheritance/IB.sol/IB.dbg.json +4 -0
- package/artifacts/contracts/experiment/inheritance/IB.sol/IB.json +50 -0
- package/artifacts/contracts/experiment/inheritance/IC.sol/IC.dbg.json +4 -0
- package/artifacts/contracts/experiment/inheritance/IC.sol/IC.json +63 -0
- package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.dbg.json +4 -0
- package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.json +10 -0
- package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.dbg.json +4 -0
- package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.json +10 -0
- package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
- package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
- package/artifacts/contracts/instance/access/Access.sol/AccessModule.dbg.json +1 -1
- package/artifacts/contracts/instance/access/IAccess.sol/IAccess.dbg.json +1 -1
- package/artifacts/contracts/instance/access/IAccess.sol/IAccessCheckRole.dbg.json +1 -1
- package/artifacts/contracts/instance/access/IAccess.sol/IAccessComponentTypeRoles.dbg.json +1 -1
- package/artifacts/contracts/instance/access/IAccess.sol/IAccessModule.dbg.json +1 -1
- package/artifacts/contracts/instance/component/ComponentModule.sol/ComponentModule.dbg.json +1 -1
- package/artifacts/contracts/instance/component/ComponentModule.sol/ComponentOwnerService.dbg.json +1 -1
- package/artifacts/contracts/instance/component/IComponent.sol/IComponent.dbg.json +1 -1
- package/artifacts/contracts/instance/component/IComponent.sol/IComponentContract.dbg.json +1 -1
- package/artifacts/contracts/instance/component/IComponent.sol/IComponentModule.dbg.json +1 -1
- package/artifacts/contracts/instance/component/IComponent.sol/IComponentOwnerService.dbg.json +1 -1
- package/artifacts/contracts/instance/component/IComponent.sol/IInstanceLinked.dbg.json +1 -1
- package/artifacts/contracts/instance/policy/IPolicy.sol/IPolicy.dbg.json +1 -1
- package/artifacts/contracts/instance/policy/IPolicy.sol/IPolicyModule.dbg.json +1 -1
- package/artifacts/contracts/instance/policy/PolicyModule.sol/PolicyModule.dbg.json +1 -1
- package/artifacts/contracts/instance/pool/IPoolModule.sol/IPool.dbg.json +1 -1
- package/artifacts/contracts/instance/pool/IPoolModule.sol/IPoolModule.dbg.json +1 -1
- package/artifacts/contracts/instance/pool/PoolModule.sol/PoolModule.dbg.json +1 -1
- package/artifacts/contracts/instance/product/IProductService.sol/IProductModule.dbg.json +1 -1
- package/artifacts/contracts/instance/product/IProductService.sol/IProductService.dbg.json +1 -1
- package/artifacts/contracts/instance/product/ProductService.sol/ProductModule.dbg.json +1 -1
- package/artifacts/contracts/instance/product/ProductService.sol/ProductService.dbg.json +1 -1
- package/artifacts/contracts/registry/IRegistry.sol/IOwnable.dbg.json +1 -1
- package/artifacts/contracts/registry/IRegistry.sol/IRegisterable.dbg.json +1 -1
- package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
- package/artifacts/contracts/registry/IRegistry.sol/IRegistryLinked.dbg.json +1 -1
- package/artifacts/contracts/registry/Registry.sol/Registerable.dbg.json +1 -1
- package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
- package/artifacts/contracts/registry/Registry.sol/RegistryLinked.dbg.json +1 -1
- package/artifacts/contracts/types/ChainId.sol/ChainIdLib.dbg.json +4 -0
- package/artifacts/contracts/types/ChainId.sol/ChainIdLib.json +10 -0
- package/contracts/experiment/inheritance/A.sol +56 -0
- package/contracts/experiment/inheritance/B.sol +23 -0
- package/contracts/experiment/inheritance/C.sol +28 -0
- package/contracts/experiment/inheritance/IA.sol +18 -0
- package/contracts/experiment/inheritance/IB.sol +9 -0
- package/contracts/experiment/inheritance/IC.sol +11 -0
- package/contracts/experiment/types/TypeA.sol +42 -0
- package/contracts/experiment/types/TypeB.sol +24 -0
- package/contracts/types/ChainId.sol +24 -0
- package/package.json +1 -1
@@ -0,0 +1,128 @@
|
|
1
|
+
{
|
2
|
+
"_format": "hh-sol-artifact-1",
|
3
|
+
"contractName": "A",
|
4
|
+
"sourceName": "contracts/experiment/inheritance/A.sol",
|
5
|
+
"abi": [
|
6
|
+
{
|
7
|
+
"inputs": [],
|
8
|
+
"name": "getA",
|
9
|
+
"outputs": [
|
10
|
+
{
|
11
|
+
"internalType": "uint256",
|
12
|
+
"name": "",
|
13
|
+
"type": "uint256"
|
14
|
+
}
|
15
|
+
],
|
16
|
+
"stateMutability": "view",
|
17
|
+
"type": "function"
|
18
|
+
},
|
19
|
+
{
|
20
|
+
"inputs": [],
|
21
|
+
"name": "getAfromB",
|
22
|
+
"outputs": [
|
23
|
+
{
|
24
|
+
"internalType": "uint256",
|
25
|
+
"name": "",
|
26
|
+
"type": "uint256"
|
27
|
+
}
|
28
|
+
],
|
29
|
+
"stateMutability": "view",
|
30
|
+
"type": "function"
|
31
|
+
},
|
32
|
+
{
|
33
|
+
"inputs": [],
|
34
|
+
"name": "getAfromC",
|
35
|
+
"outputs": [
|
36
|
+
{
|
37
|
+
"internalType": "uint256",
|
38
|
+
"name": "",
|
39
|
+
"type": "uint256"
|
40
|
+
}
|
41
|
+
],
|
42
|
+
"stateMutability": "view",
|
43
|
+
"type": "function"
|
44
|
+
},
|
45
|
+
{
|
46
|
+
"inputs": [],
|
47
|
+
"name": "getB",
|
48
|
+
"outputs": [
|
49
|
+
{
|
50
|
+
"internalType": "uint256",
|
51
|
+
"name": "",
|
52
|
+
"type": "uint256"
|
53
|
+
}
|
54
|
+
],
|
55
|
+
"stateMutability": "view",
|
56
|
+
"type": "function"
|
57
|
+
},
|
58
|
+
{
|
59
|
+
"inputs": [],
|
60
|
+
"name": "getBfromC",
|
61
|
+
"outputs": [
|
62
|
+
{
|
63
|
+
"internalType": "uint256",
|
64
|
+
"name": "",
|
65
|
+
"type": "uint256"
|
66
|
+
}
|
67
|
+
],
|
68
|
+
"stateMutability": "view",
|
69
|
+
"type": "function"
|
70
|
+
},
|
71
|
+
{
|
72
|
+
"inputs": [],
|
73
|
+
"name": "getC",
|
74
|
+
"outputs": [
|
75
|
+
{
|
76
|
+
"internalType": "uint256",
|
77
|
+
"name": "",
|
78
|
+
"type": "uint256"
|
79
|
+
}
|
80
|
+
],
|
81
|
+
"stateMutability": "view",
|
82
|
+
"type": "function"
|
83
|
+
},
|
84
|
+
{
|
85
|
+
"inputs": [
|
86
|
+
{
|
87
|
+
"internalType": "uint256",
|
88
|
+
"name": "newA",
|
89
|
+
"type": "uint256"
|
90
|
+
}
|
91
|
+
],
|
92
|
+
"name": "setA",
|
93
|
+
"outputs": [],
|
94
|
+
"stateMutability": "nonpayable",
|
95
|
+
"type": "function"
|
96
|
+
},
|
97
|
+
{
|
98
|
+
"inputs": [
|
99
|
+
{
|
100
|
+
"internalType": "uint256",
|
101
|
+
"name": "newB",
|
102
|
+
"type": "uint256"
|
103
|
+
}
|
104
|
+
],
|
105
|
+
"name": "setB",
|
106
|
+
"outputs": [],
|
107
|
+
"stateMutability": "nonpayable",
|
108
|
+
"type": "function"
|
109
|
+
},
|
110
|
+
{
|
111
|
+
"inputs": [
|
112
|
+
{
|
113
|
+
"internalType": "uint256",
|
114
|
+
"name": "newC",
|
115
|
+
"type": "uint256"
|
116
|
+
}
|
117
|
+
],
|
118
|
+
"name": "setC",
|
119
|
+
"outputs": [],
|
120
|
+
"stateMutability": "nonpayable",
|
121
|
+
"type": "function"
|
122
|
+
}
|
123
|
+
],
|
124
|
+
"bytecode": "0x608060405234801561001057600080fd5b50602a600081905550600180819055506002808190555061044c806100366000396000f3fe608060405234801561001057600080fd5b50600436106100935760003560e01c8063d46300fd11610066578063d46300fd1461010e578063d4febc861461012c578063e2c11f201461014a578063ee919d5014610168578063eeb4914e1461018457610093565b806309cdcf9b14610098578063a1c51915146100b4578063a2375d1e146100d2578063b9c23ae9146100f0575b600080fd5b6100b260048036038101906100ad919061037d565b6101a0565b005b6100bc6101aa565b6040516100c991906103b9565b60405180910390f35b6100da6101b4565b6040516100e791906103b9565b60405180910390f35b6100f86101be565b60405161010591906103b9565b60405180910390f35b610116610239565b60405161012391906103b9565b60405180910390f35b610134610242565b60405161014191906103b9565b60405180910390f35b6101526102b8565b60405161015f91906103b9565b60405180910390f35b610182600480360381019061017d919061037d565b61032e565b005b61019e6004803603810190610199919061037d565b610338565b005b8060018190555050565b6000600154905090565b6000600254905090565b6000803090508073ffffffffffffffffffffffffffffffffffffffff1663a1c519156040518163ffffffff1660e01b8152600401602060405180830381865afa15801561020f573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061023391906103e9565b91505090565b60008054905090565b60003073ffffffffffffffffffffffffffffffffffffffff1663d46300fd6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561028f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906102b391906103e9565b905090565b60003073ffffffffffffffffffffffffffffffffffffffff1663d46300fd6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610305573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061032991906103e9565b905090565b8060008190555050565b8060028190555050565b600080fd5b6000819050919050565b61035a81610347565b811461036557600080fd5b50565b60008135905061037781610351565b92915050565b60006020828403121561039357610392610342565b5b60006103a184828501610368565b91505092915050565b6103b381610347565b82525050565b60006020820190506103ce60008301846103aa565b92915050565b6000815190506103e381610351565b92915050565b6000602082840312156103ff576103fe610342565b5b600061040d848285016103d4565b9150509291505056fea26469706673582212209ecbb5691a41763284d320d845a1bd4160c0196ec6162fb41ecc8c8d518d42f464736f6c63430008140033",
|
125
|
+
"deployedBytecode": "0x608060405234801561001057600080fd5b50600436106100935760003560e01c8063d46300fd11610066578063d46300fd1461010e578063d4febc861461012c578063e2c11f201461014a578063ee919d5014610168578063eeb4914e1461018457610093565b806309cdcf9b14610098578063a1c51915146100b4578063a2375d1e146100d2578063b9c23ae9146100f0575b600080fd5b6100b260048036038101906100ad919061037d565b6101a0565b005b6100bc6101aa565b6040516100c991906103b9565b60405180910390f35b6100da6101b4565b6040516100e791906103b9565b60405180910390f35b6100f86101be565b60405161010591906103b9565b60405180910390f35b610116610239565b60405161012391906103b9565b60405180910390f35b610134610242565b60405161014191906103b9565b60405180910390f35b6101526102b8565b60405161015f91906103b9565b60405180910390f35b610182600480360381019061017d919061037d565b61032e565b005b61019e6004803603810190610199919061037d565b610338565b005b8060018190555050565b6000600154905090565b6000600254905090565b6000803090508073ffffffffffffffffffffffffffffffffffffffff1663a1c519156040518163ffffffff1660e01b8152600401602060405180830381865afa15801561020f573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061023391906103e9565b91505090565b60008054905090565b60003073ffffffffffffffffffffffffffffffffffffffff1663d46300fd6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561028f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906102b391906103e9565b905090565b60003073ffffffffffffffffffffffffffffffffffffffff1663d46300fd6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610305573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061032991906103e9565b905090565b8060008190555050565b8060028190555050565b600080fd5b6000819050919050565b61035a81610347565b811461036557600080fd5b50565b60008135905061037781610351565b92915050565b60006020828403121561039357610392610342565b5b60006103a184828501610368565b91505092915050565b6103b381610347565b82525050565b60006020820190506103ce60008301846103aa565b92915050565b6000815190506103e381610351565b92915050565b6000602082840312156103ff576103fe610342565b5b600061040d848285016103d4565b9150509291505056fea26469706673582212209ecbb5691a41763284d320d845a1bd4160c0196ec6162fb41ecc8c8d518d42f464736f6c63430008140033",
|
126
|
+
"linkReferences": {},
|
127
|
+
"deployedLinkReferences": {}
|
128
|
+
}
|
@@ -0,0 +1,42 @@
|
|
1
|
+
{
|
2
|
+
"_format": "hh-sol-artifact-1",
|
3
|
+
"contractName": "AShared",
|
4
|
+
"sourceName": "contracts/experiment/inheritance/A.sol",
|
5
|
+
"abi": [
|
6
|
+
{
|
7
|
+
"inputs": [],
|
8
|
+
"stateMutability": "nonpayable",
|
9
|
+
"type": "constructor"
|
10
|
+
},
|
11
|
+
{
|
12
|
+
"inputs": [],
|
13
|
+
"name": "getA",
|
14
|
+
"outputs": [
|
15
|
+
{
|
16
|
+
"internalType": "uint256",
|
17
|
+
"name": "",
|
18
|
+
"type": "uint256"
|
19
|
+
}
|
20
|
+
],
|
21
|
+
"stateMutability": "view",
|
22
|
+
"type": "function"
|
23
|
+
},
|
24
|
+
{
|
25
|
+
"inputs": [
|
26
|
+
{
|
27
|
+
"internalType": "uint256",
|
28
|
+
"name": "newA",
|
29
|
+
"type": "uint256"
|
30
|
+
}
|
31
|
+
],
|
32
|
+
"name": "setA",
|
33
|
+
"outputs": [],
|
34
|
+
"stateMutability": "nonpayable",
|
35
|
+
"type": "function"
|
36
|
+
}
|
37
|
+
],
|
38
|
+
"bytecode": "0x608060405234801561001057600080fd5b50602a600081905550610150806100286000396000f3fe608060405234801561001057600080fd5b50600436106100365760003560e01c8063d46300fd1461003b578063ee919d5014610059575b600080fd5b610043610075565b60405161005091906100a1565b60405180910390f35b610073600480360381019061006e91906100ed565b61007e565b005b60008054905090565b8060008190555050565b6000819050919050565b61009b81610088565b82525050565b60006020820190506100b66000830184610092565b92915050565b600080fd5b6100ca81610088565b81146100d557600080fd5b50565b6000813590506100e7816100c1565b92915050565b600060208284031215610103576101026100bc565b5b6000610111848285016100d8565b9150509291505056fea2646970667358221220b19da4bc39436f1edf031edacd0d6adab41e232298c993923afda29910f1f99664736f6c63430008140033",
|
39
|
+
"deployedBytecode": "0x608060405234801561001057600080fd5b50600436106100365760003560e01c8063d46300fd1461003b578063ee919d5014610059575b600080fd5b610043610075565b60405161005091906100a1565b60405180910390f35b610073600480360381019061006e91906100ed565b61007e565b005b60008054905090565b8060008190555050565b6000819050919050565b61009b81610088565b82525050565b60006020820190506100b66000830184610092565b92915050565b600080fd5b6100ca81610088565b81146100d557600080fd5b50565b6000813590506100e7816100c1565b92915050565b600060208284031215610103576101026100bc565b5b6000610111848285016100d8565b9150509291505056fea2646970667358221220b19da4bc39436f1edf031edacd0d6adab41e232298c993923afda29910f1f99664736f6c63430008140033",
|
40
|
+
"linkReferences": {},
|
41
|
+
"deployedLinkReferences": {}
|
42
|
+
}
|
@@ -0,0 +1,76 @@
|
|
1
|
+
{
|
2
|
+
"_format": "hh-sol-artifact-1",
|
3
|
+
"contractName": "B",
|
4
|
+
"sourceName": "contracts/experiment/inheritance/B.sol",
|
5
|
+
"abi": [
|
6
|
+
{
|
7
|
+
"inputs": [],
|
8
|
+
"name": "getA",
|
9
|
+
"outputs": [
|
10
|
+
{
|
11
|
+
"internalType": "uint256",
|
12
|
+
"name": "",
|
13
|
+
"type": "uint256"
|
14
|
+
}
|
15
|
+
],
|
16
|
+
"stateMutability": "view",
|
17
|
+
"type": "function"
|
18
|
+
},
|
19
|
+
{
|
20
|
+
"inputs": [],
|
21
|
+
"name": "getAfromB",
|
22
|
+
"outputs": [
|
23
|
+
{
|
24
|
+
"internalType": "uint256",
|
25
|
+
"name": "",
|
26
|
+
"type": "uint256"
|
27
|
+
}
|
28
|
+
],
|
29
|
+
"stateMutability": "view",
|
30
|
+
"type": "function"
|
31
|
+
},
|
32
|
+
{
|
33
|
+
"inputs": [],
|
34
|
+
"name": "getB",
|
35
|
+
"outputs": [
|
36
|
+
{
|
37
|
+
"internalType": "uint256",
|
38
|
+
"name": "",
|
39
|
+
"type": "uint256"
|
40
|
+
}
|
41
|
+
],
|
42
|
+
"stateMutability": "view",
|
43
|
+
"type": "function"
|
44
|
+
},
|
45
|
+
{
|
46
|
+
"inputs": [
|
47
|
+
{
|
48
|
+
"internalType": "uint256",
|
49
|
+
"name": "newA",
|
50
|
+
"type": "uint256"
|
51
|
+
}
|
52
|
+
],
|
53
|
+
"name": "setA",
|
54
|
+
"outputs": [],
|
55
|
+
"stateMutability": "nonpayable",
|
56
|
+
"type": "function"
|
57
|
+
},
|
58
|
+
{
|
59
|
+
"inputs": [
|
60
|
+
{
|
61
|
+
"internalType": "uint256",
|
62
|
+
"name": "newB",
|
63
|
+
"type": "uint256"
|
64
|
+
}
|
65
|
+
],
|
66
|
+
"name": "setB",
|
67
|
+
"outputs": [],
|
68
|
+
"stateMutability": "nonpayable",
|
69
|
+
"type": "function"
|
70
|
+
}
|
71
|
+
],
|
72
|
+
"bytecode": "0x",
|
73
|
+
"deployedBytecode": "0x",
|
74
|
+
"linkReferences": {},
|
75
|
+
"deployedLinkReferences": {}
|
76
|
+
}
|
@@ -0,0 +1,89 @@
|
|
1
|
+
{
|
2
|
+
"_format": "hh-sol-artifact-1",
|
3
|
+
"contractName": "C",
|
4
|
+
"sourceName": "contracts/experiment/inheritance/C.sol",
|
5
|
+
"abi": [
|
6
|
+
{
|
7
|
+
"inputs": [],
|
8
|
+
"name": "getA",
|
9
|
+
"outputs": [
|
10
|
+
{
|
11
|
+
"internalType": "uint256",
|
12
|
+
"name": "",
|
13
|
+
"type": "uint256"
|
14
|
+
}
|
15
|
+
],
|
16
|
+
"stateMutability": "view",
|
17
|
+
"type": "function"
|
18
|
+
},
|
19
|
+
{
|
20
|
+
"inputs": [],
|
21
|
+
"name": "getAfromC",
|
22
|
+
"outputs": [
|
23
|
+
{
|
24
|
+
"internalType": "uint256",
|
25
|
+
"name": "",
|
26
|
+
"type": "uint256"
|
27
|
+
}
|
28
|
+
],
|
29
|
+
"stateMutability": "view",
|
30
|
+
"type": "function"
|
31
|
+
},
|
32
|
+
{
|
33
|
+
"inputs": [],
|
34
|
+
"name": "getBfromC",
|
35
|
+
"outputs": [
|
36
|
+
{
|
37
|
+
"internalType": "uint256",
|
38
|
+
"name": "",
|
39
|
+
"type": "uint256"
|
40
|
+
}
|
41
|
+
],
|
42
|
+
"stateMutability": "view",
|
43
|
+
"type": "function"
|
44
|
+
},
|
45
|
+
{
|
46
|
+
"inputs": [],
|
47
|
+
"name": "getC",
|
48
|
+
"outputs": [
|
49
|
+
{
|
50
|
+
"internalType": "uint256",
|
51
|
+
"name": "",
|
52
|
+
"type": "uint256"
|
53
|
+
}
|
54
|
+
],
|
55
|
+
"stateMutability": "view",
|
56
|
+
"type": "function"
|
57
|
+
},
|
58
|
+
{
|
59
|
+
"inputs": [
|
60
|
+
{
|
61
|
+
"internalType": "uint256",
|
62
|
+
"name": "newA",
|
63
|
+
"type": "uint256"
|
64
|
+
}
|
65
|
+
],
|
66
|
+
"name": "setA",
|
67
|
+
"outputs": [],
|
68
|
+
"stateMutability": "nonpayable",
|
69
|
+
"type": "function"
|
70
|
+
},
|
71
|
+
{
|
72
|
+
"inputs": [
|
73
|
+
{
|
74
|
+
"internalType": "uint256",
|
75
|
+
"name": "newC",
|
76
|
+
"type": "uint256"
|
77
|
+
}
|
78
|
+
],
|
79
|
+
"name": "setC",
|
80
|
+
"outputs": [],
|
81
|
+
"stateMutability": "nonpayable",
|
82
|
+
"type": "function"
|
83
|
+
}
|
84
|
+
],
|
85
|
+
"bytecode": "0x",
|
86
|
+
"deployedBytecode": "0x",
|
87
|
+
"linkReferences": {},
|
88
|
+
"deployedLinkReferences": {}
|
89
|
+
}
|
@@ -0,0 +1,128 @@
|
|
1
|
+
{
|
2
|
+
"_format": "hh-sol-artifact-1",
|
3
|
+
"contractName": "IA",
|
4
|
+
"sourceName": "contracts/experiment/inheritance/IA.sol",
|
5
|
+
"abi": [
|
6
|
+
{
|
7
|
+
"inputs": [],
|
8
|
+
"name": "getA",
|
9
|
+
"outputs": [
|
10
|
+
{
|
11
|
+
"internalType": "uint256",
|
12
|
+
"name": "",
|
13
|
+
"type": "uint256"
|
14
|
+
}
|
15
|
+
],
|
16
|
+
"stateMutability": "view",
|
17
|
+
"type": "function"
|
18
|
+
},
|
19
|
+
{
|
20
|
+
"inputs": [],
|
21
|
+
"name": "getAfromB",
|
22
|
+
"outputs": [
|
23
|
+
{
|
24
|
+
"internalType": "uint256",
|
25
|
+
"name": "",
|
26
|
+
"type": "uint256"
|
27
|
+
}
|
28
|
+
],
|
29
|
+
"stateMutability": "view",
|
30
|
+
"type": "function"
|
31
|
+
},
|
32
|
+
{
|
33
|
+
"inputs": [],
|
34
|
+
"name": "getAfromC",
|
35
|
+
"outputs": [
|
36
|
+
{
|
37
|
+
"internalType": "uint256",
|
38
|
+
"name": "",
|
39
|
+
"type": "uint256"
|
40
|
+
}
|
41
|
+
],
|
42
|
+
"stateMutability": "view",
|
43
|
+
"type": "function"
|
44
|
+
},
|
45
|
+
{
|
46
|
+
"inputs": [],
|
47
|
+
"name": "getB",
|
48
|
+
"outputs": [
|
49
|
+
{
|
50
|
+
"internalType": "uint256",
|
51
|
+
"name": "",
|
52
|
+
"type": "uint256"
|
53
|
+
}
|
54
|
+
],
|
55
|
+
"stateMutability": "view",
|
56
|
+
"type": "function"
|
57
|
+
},
|
58
|
+
{
|
59
|
+
"inputs": [],
|
60
|
+
"name": "getBfromC",
|
61
|
+
"outputs": [
|
62
|
+
{
|
63
|
+
"internalType": "uint256",
|
64
|
+
"name": "",
|
65
|
+
"type": "uint256"
|
66
|
+
}
|
67
|
+
],
|
68
|
+
"stateMutability": "view",
|
69
|
+
"type": "function"
|
70
|
+
},
|
71
|
+
{
|
72
|
+
"inputs": [],
|
73
|
+
"name": "getC",
|
74
|
+
"outputs": [
|
75
|
+
{
|
76
|
+
"internalType": "uint256",
|
77
|
+
"name": "",
|
78
|
+
"type": "uint256"
|
79
|
+
}
|
80
|
+
],
|
81
|
+
"stateMutability": "view",
|
82
|
+
"type": "function"
|
83
|
+
},
|
84
|
+
{
|
85
|
+
"inputs": [
|
86
|
+
{
|
87
|
+
"internalType": "uint256",
|
88
|
+
"name": "newA",
|
89
|
+
"type": "uint256"
|
90
|
+
}
|
91
|
+
],
|
92
|
+
"name": "setA",
|
93
|
+
"outputs": [],
|
94
|
+
"stateMutability": "nonpayable",
|
95
|
+
"type": "function"
|
96
|
+
},
|
97
|
+
{
|
98
|
+
"inputs": [
|
99
|
+
{
|
100
|
+
"internalType": "uint256",
|
101
|
+
"name": "newA",
|
102
|
+
"type": "uint256"
|
103
|
+
}
|
104
|
+
],
|
105
|
+
"name": "setB",
|
106
|
+
"outputs": [],
|
107
|
+
"stateMutability": "nonpayable",
|
108
|
+
"type": "function"
|
109
|
+
},
|
110
|
+
{
|
111
|
+
"inputs": [
|
112
|
+
{
|
113
|
+
"internalType": "uint256",
|
114
|
+
"name": "newA",
|
115
|
+
"type": "uint256"
|
116
|
+
}
|
117
|
+
],
|
118
|
+
"name": "setC",
|
119
|
+
"outputs": [],
|
120
|
+
"stateMutability": "nonpayable",
|
121
|
+
"type": "function"
|
122
|
+
}
|
123
|
+
],
|
124
|
+
"bytecode": "0x",
|
125
|
+
"deployedBytecode": "0x",
|
126
|
+
"linkReferences": {},
|
127
|
+
"deployedLinkReferences": {}
|
128
|
+
}
|
@@ -0,0 +1,37 @@
|
|
1
|
+
{
|
2
|
+
"_format": "hh-sol-artifact-1",
|
3
|
+
"contractName": "ISharedA",
|
4
|
+
"sourceName": "contracts/experiment/inheritance/IA.sol",
|
5
|
+
"abi": [
|
6
|
+
{
|
7
|
+
"inputs": [],
|
8
|
+
"name": "getA",
|
9
|
+
"outputs": [
|
10
|
+
{
|
11
|
+
"internalType": "uint256",
|
12
|
+
"name": "",
|
13
|
+
"type": "uint256"
|
14
|
+
}
|
15
|
+
],
|
16
|
+
"stateMutability": "view",
|
17
|
+
"type": "function"
|
18
|
+
},
|
19
|
+
{
|
20
|
+
"inputs": [
|
21
|
+
{
|
22
|
+
"internalType": "uint256",
|
23
|
+
"name": "newA",
|
24
|
+
"type": "uint256"
|
25
|
+
}
|
26
|
+
],
|
27
|
+
"name": "setA",
|
28
|
+
"outputs": [],
|
29
|
+
"stateMutability": "nonpayable",
|
30
|
+
"type": "function"
|
31
|
+
}
|
32
|
+
],
|
33
|
+
"bytecode": "0x",
|
34
|
+
"deployedBytecode": "0x",
|
35
|
+
"linkReferences": {},
|
36
|
+
"deployedLinkReferences": {}
|
37
|
+
}
|
@@ -0,0 +1,50 @@
|
|
1
|
+
{
|
2
|
+
"_format": "hh-sol-artifact-1",
|
3
|
+
"contractName": "IB",
|
4
|
+
"sourceName": "contracts/experiment/inheritance/IB.sol",
|
5
|
+
"abi": [
|
6
|
+
{
|
7
|
+
"inputs": [],
|
8
|
+
"name": "getAfromB",
|
9
|
+
"outputs": [
|
10
|
+
{
|
11
|
+
"internalType": "uint256",
|
12
|
+
"name": "",
|
13
|
+
"type": "uint256"
|
14
|
+
}
|
15
|
+
],
|
16
|
+
"stateMutability": "view",
|
17
|
+
"type": "function"
|
18
|
+
},
|
19
|
+
{
|
20
|
+
"inputs": [],
|
21
|
+
"name": "getB",
|
22
|
+
"outputs": [
|
23
|
+
{
|
24
|
+
"internalType": "uint256",
|
25
|
+
"name": "",
|
26
|
+
"type": "uint256"
|
27
|
+
}
|
28
|
+
],
|
29
|
+
"stateMutability": "view",
|
30
|
+
"type": "function"
|
31
|
+
},
|
32
|
+
{
|
33
|
+
"inputs": [
|
34
|
+
{
|
35
|
+
"internalType": "uint256",
|
36
|
+
"name": "newA",
|
37
|
+
"type": "uint256"
|
38
|
+
}
|
39
|
+
],
|
40
|
+
"name": "setB",
|
41
|
+
"outputs": [],
|
42
|
+
"stateMutability": "nonpayable",
|
43
|
+
"type": "function"
|
44
|
+
}
|
45
|
+
],
|
46
|
+
"bytecode": "0x",
|
47
|
+
"deployedBytecode": "0x",
|
48
|
+
"linkReferences": {},
|
49
|
+
"deployedLinkReferences": {}
|
50
|
+
}
|