@etherisc/gif-next 0.0.2-ebbe63d → 0.0.2-fe77319
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +95 -1
- package/artifacts/contracts/components/Component.sol/Component.dbg.json +4 -0
- package/artifacts/contracts/components/Component.sol/Component.json +179 -0
- package/artifacts/contracts/components/Component.sol/InstanceLinked.dbg.json +4 -0
- package/artifacts/contracts/components/Component.sol/InstanceLinked.json +35 -0
- package/artifacts/contracts/components/IPool.sol/IPoolComponent.dbg.json +4 -0
- package/artifacts/contracts/components/IPool.sol/IPoolComponent.json +179 -0
- package/artifacts/contracts/components/IProduct.sol/IProductComponent.dbg.json +4 -0
- package/artifacts/contracts/components/IProduct.sol/IProductComponent.json +192 -0
- package/artifacts/contracts/components/Pool.sol/Pool.dbg.json +4 -0
- package/artifacts/contracts/components/Pool.sol/Pool.json +195 -0
- package/artifacts/contracts/components/Product.sol/Product.dbg.json +4 -0
- package/artifacts/contracts/components/Product.sol/Product.json +213 -0
- package/artifacts/contracts/experiment/A.sol/A.dbg.json +4 -0
- package/artifacts/contracts/experiment/A.sol/A.json +128 -0
- package/artifacts/contracts/experiment/A.sol/AShared.dbg.json +4 -0
- package/artifacts/contracts/experiment/A.sol/AShared.json +42 -0
- package/artifacts/contracts/experiment/B.sol/B.dbg.json +4 -0
- package/artifacts/contracts/experiment/B.sol/B.json +76 -0
- package/artifacts/contracts/experiment/C.sol/C.dbg.json +4 -0
- package/artifacts/contracts/experiment/C.sol/C.json +89 -0
- package/artifacts/contracts/experiment/IA.sol/IA.dbg.json +4 -0
- package/artifacts/contracts/experiment/IA.sol/IA.json +128 -0
- package/artifacts/contracts/experiment/IA.sol/ISharedA.dbg.json +4 -0
- package/artifacts/contracts/experiment/IA.sol/ISharedA.json +37 -0
- package/artifacts/contracts/experiment/IB.sol/IB.dbg.json +4 -0
- package/artifacts/contracts/experiment/IB.sol/IB.json +50 -0
- package/artifacts/contracts/experiment/IC.sol/IC.dbg.json +4 -0
- package/artifacts/contracts/experiment/IC.sol/IC.json +63 -0
- package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +4 -0
- package/artifacts/contracts/instance/IInstance.sol/IInstance.json +892 -0
- package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +4 -0
- package/artifacts/contracts/instance/Instance.sol/Instance.json +1009 -0
- package/artifacts/contracts/instance/access/Access.sol/AccessModule.dbg.json +4 -0
- package/artifacts/contracts/instance/access/Access.sol/AccessModule.json +400 -0
- package/artifacts/contracts/instance/access/IAccess.sol/IAccess.dbg.json +4 -0
- package/artifacts/contracts/instance/access/IAccess.sol/IAccess.json +10 -0
- package/artifacts/contracts/instance/access/IAccess.sol/IAccessCheckRole.dbg.json +4 -0
- package/artifacts/contracts/instance/access/IAccess.sol/IAccessCheckRole.json +35 -0
- package/artifacts/contracts/instance/access/IAccess.sol/IAccessComponentTypeRoles.dbg.json +4 -0
- package/artifacts/contracts/instance/access/IAccess.sol/IAccessComponentTypeRoles.json +50 -0
- package/artifacts/contracts/instance/access/IAccess.sol/IAccessModule.dbg.json +4 -0
- package/artifacts/contracts/instance/access/IAccess.sol/IAccessModule.json +336 -0
- package/artifacts/contracts/instance/component/ComponentModule.sol/ComponentModule.dbg.json +4 -0
- package/artifacts/contracts/instance/component/ComponentModule.sol/ComponentModule.json +327 -0
- package/artifacts/contracts/instance/component/ComponentModule.sol/ComponentOwnerService.dbg.json +4 -0
- package/artifacts/contracts/instance/component/ComponentModule.sol/ComponentOwnerService.json +105 -0
- package/artifacts/contracts/instance/component/IComponent.sol/IComponent.dbg.json +4 -0
- package/artifacts/contracts/instance/component/IComponent.sol/IComponent.json +10 -0
- package/artifacts/contracts/instance/component/IComponent.sol/IComponentContract.dbg.json +4 -0
- package/artifacts/contracts/instance/component/IComponent.sol/IComponentContract.json +179 -0
- package/artifacts/contracts/instance/component/IComponent.sol/IComponentModule.dbg.json +4 -0
- package/artifacts/contracts/instance/component/IComponent.sol/IComponentModule.json +245 -0
- package/artifacts/contracts/instance/component/IComponent.sol/IComponentOwnerService.dbg.json +4 -0
- package/artifacts/contracts/instance/component/IComponent.sol/IComponentOwnerService.json +94 -0
- package/artifacts/contracts/instance/component/IComponent.sol/IInstanceLinked.dbg.json +4 -0
- package/artifacts/contracts/instance/component/IComponent.sol/IInstanceLinked.json +24 -0
- package/artifacts/contracts/instance/policy/IPolicy.sol/IPolicy.dbg.json +4 -0
- package/artifacts/contracts/instance/policy/IPolicy.sol/IPolicy.json +10 -0
- package/artifacts/contracts/instance/policy/IPolicy.sol/IPolicyModule.dbg.json +4 -0
- package/artifacts/contracts/instance/policy/IPolicy.sol/IPolicyModule.json +231 -0
- package/artifacts/contracts/instance/policy/PolicyModule.sol/PolicyModule.dbg.json +4 -0
- package/artifacts/contracts/instance/policy/PolicyModule.sol/PolicyModule.json +231 -0
- package/artifacts/contracts/instance/pool/IPoolModule.sol/IPool.dbg.json +4 -0
- package/artifacts/contracts/instance/pool/IPoolModule.sol/IPool.json +10 -0
- package/artifacts/contracts/instance/pool/IPoolModule.sol/IPoolModule.dbg.json +4 -0
- package/artifacts/contracts/instance/pool/IPoolModule.sol/IPoolModule.json +149 -0
- package/artifacts/contracts/instance/pool/PoolModule.sol/PoolModule.dbg.json +4 -0
- package/artifacts/contracts/instance/pool/PoolModule.sol/PoolModule.json +162 -0
- package/artifacts/contracts/instance/product/IProductService.sol/IProductModule.dbg.json +4 -0
- package/artifacts/contracts/instance/product/IProductService.sol/IProductModule.json +75 -0
- package/artifacts/contracts/instance/product/IProductService.sol/IProductService.dbg.json +4 -0
- package/artifacts/contracts/instance/product/IProductService.sol/IProductService.json +114 -0
- package/artifacts/contracts/instance/product/ProductService.sol/ProductModule.dbg.json +4 -0
- package/artifacts/contracts/instance/product/ProductService.sol/ProductModule.json +75 -0
- package/artifacts/contracts/instance/product/ProductService.sol/ProductService.dbg.json +4 -0
- package/artifacts/contracts/instance/product/ProductService.sol/ProductService.json +125 -0
- package/artifacts/contracts/registry/IRegistry.sol/IOwnable.dbg.json +4 -0
- package/artifacts/contracts/registry/IRegistry.sol/IOwnable.json +24 -0
- package/artifacts/contracts/registry/IRegistry.sol/IRegisterable.dbg.json +4 -0
- package/artifacts/contracts/registry/IRegistry.sol/IRegisterable.json +166 -0
- package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +4 -0
- package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +271 -0
- package/artifacts/contracts/registry/IRegistry.sol/IRegistryLinked.dbg.json +4 -0
- package/artifacts/contracts/registry/IRegistry.sol/IRegistryLinked.json +49 -0
- package/artifacts/contracts/registry/Registry.sol/Registerable.dbg.json +4 -0
- package/artifacts/contracts/registry/Registry.sol/Registerable.json +166 -0
- package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +4 -0
- package/artifacts/contracts/registry/Registry.sol/Registry.json +289 -0
- package/artifacts/contracts/registry/Registry.sol/RegistryLinked.dbg.json +4 -0
- package/artifacts/contracts/registry/Registry.sol/RegistryLinked.json +60 -0
- package/contracts/components/Component.sol +62 -0
- package/contracts/components/IPool.sol +9 -0
- package/contracts/components/IProduct.sol +11 -0
- package/contracts/components/Pool.sol +29 -0
- package/contracts/components/Product.sol +65 -0
- package/contracts/experiment/A.sol +56 -0
- package/contracts/experiment/B.sol +23 -0
- package/contracts/experiment/C.sol +28 -0
- package/contracts/experiment/IA.sol +18 -0
- package/contracts/experiment/IB.sol +9 -0
- package/contracts/experiment/IC.sol +11 -0
- package/contracts/instance/IInstance.sol +20 -0
- package/contracts/instance/Instance.sol +63 -0
- package/contracts/instance/access/Access.sol +218 -0
- package/contracts/instance/access/IAccess.sol +83 -0
- package/contracts/instance/component/ComponentModule.sol +259 -0
- package/contracts/instance/component/IComponent.sol +94 -0
- package/contracts/instance/policy/IPolicy.sol +66 -0
- package/contracts/instance/policy/PolicyModule.sol +106 -0
- package/contracts/instance/pool/IPoolModule.sol +40 -0
- package/contracts/instance/pool/PoolModule.sol +83 -0
- package/contracts/instance/product/IProductService.sol +45 -0
- package/contracts/instance/product/ProductService.sol +105 -0
- package/contracts/registry/IRegistry.sol +66 -0
- package/contracts/registry/Registry.sol +197 -0
- package/package.json +7 -6
- package/artifacts/contracts/Dip.sol/DIP.dbg.json +0 -4
- package/artifacts/contracts/Dip.sol/DIP.json +0 -338
- package/artifacts/contracts/Lock.sol/Lock.dbg.json +0 -4
- package/artifacts/contracts/Lock.sol/Lock.json +0 -74
- package/contracts/Dip.sol +0 -26
- package/contracts/Lock.sol +0 -34
@@ -0,0 +1,128 @@
|
|
1
|
+
{
|
2
|
+
"_format": "hh-sol-artifact-1",
|
3
|
+
"contractName": "A",
|
4
|
+
"sourceName": "contracts/experiment/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": "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": "0x608060405234801561001057600080fd5b50602a600081905550600180819055506002808190555061044c806100366000396000f3fe608060405234801561001057600080fd5b50600436106100935760003560e01c8063d46300fd11610066578063d46300fd1461010e578063d4febc861461012c578063e2c11f201461014a578063ee919d5014610168578063eeb4914e1461018457610093565b806309cdcf9b14610098578063a1c51915146100b4578063a2375d1e146100d2578063b9c23ae9146100f0575b600080fd5b6100b260048036038101906100ad919061037d565b6101a0565b005b6100bc6101aa565b6040516100c991906103b9565b60405180910390f35b6100da6101b4565b6040516100e791906103b9565b60405180910390f35b6100f86101be565b60405161010591906103b9565b60405180910390f35b610116610239565b60405161012391906103b9565b60405180910390f35b610134610242565b60405161014191906103b9565b60405180910390f35b6101526102b8565b60405161015f91906103b9565b60405180910390f35b610182600480360381019061017d919061037d565b61032e565b005b61019e6004803603810190610199919061037d565b610338565b005b8060018190555050565b6000600154905090565b6000600254905090565b6000803090508073ffffffffffffffffffffffffffffffffffffffff1663a1c519156040518163ffffffff1660e01b8152600401602060405180830381865afa15801561020f573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061023391906103e9565b91505090565b60008054905090565b60003073ffffffffffffffffffffffffffffffffffffffff1663d46300fd6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561028f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906102b391906103e9565b905090565b60003073ffffffffffffffffffffffffffffffffffffffff1663d46300fd6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610305573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061032991906103e9565b905090565b8060008190555050565b8060028190555050565b600080fd5b6000819050919050565b61035a81610347565b811461036557600080fd5b50565b60008135905061037781610351565b92915050565b60006020828403121561039357610392610342565b5b60006103a184828501610368565b91505092915050565b6103b381610347565b82525050565b60006020820190506103ce60008301846103aa565b92915050565b6000815190506103e381610351565b92915050565b6000602082840312156103ff576103fe610342565b5b600061040d848285016103d4565b9150509291505056fea26469706673582212202d931bc33f86e9a5286a0a8ad07e1a8664ee116f92363c21d53c6e11073a5a2a64736f6c63430008140033",
|
125
|
+
"deployedBytecode": "0x608060405234801561001057600080fd5b50600436106100935760003560e01c8063d46300fd11610066578063d46300fd1461010e578063d4febc861461012c578063e2c11f201461014a578063ee919d5014610168578063eeb4914e1461018457610093565b806309cdcf9b14610098578063a1c51915146100b4578063a2375d1e146100d2578063b9c23ae9146100f0575b600080fd5b6100b260048036038101906100ad919061037d565b6101a0565b005b6100bc6101aa565b6040516100c991906103b9565b60405180910390f35b6100da6101b4565b6040516100e791906103b9565b60405180910390f35b6100f86101be565b60405161010591906103b9565b60405180910390f35b610116610239565b60405161012391906103b9565b60405180910390f35b610134610242565b60405161014191906103b9565b60405180910390f35b6101526102b8565b60405161015f91906103b9565b60405180910390f35b610182600480360381019061017d919061037d565b61032e565b005b61019e6004803603810190610199919061037d565b610338565b005b8060018190555050565b6000600154905090565b6000600254905090565b6000803090508073ffffffffffffffffffffffffffffffffffffffff1663a1c519156040518163ffffffff1660e01b8152600401602060405180830381865afa15801561020f573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061023391906103e9565b91505090565b60008054905090565b60003073ffffffffffffffffffffffffffffffffffffffff1663d46300fd6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561028f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906102b391906103e9565b905090565b60003073ffffffffffffffffffffffffffffffffffffffff1663d46300fd6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610305573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061032991906103e9565b905090565b8060008190555050565b8060028190555050565b600080fd5b6000819050919050565b61035a81610347565b811461036557600080fd5b50565b60008135905061037781610351565b92915050565b60006020828403121561039357610392610342565b5b60006103a184828501610368565b91505092915050565b6103b381610347565b82525050565b60006020820190506103ce60008301846103aa565b92915050565b6000815190506103e381610351565b92915050565b6000602082840312156103ff576103fe610342565b5b600061040d848285016103d4565b9150509291505056fea26469706673582212202d931bc33f86e9a5286a0a8ad07e1a8664ee116f92363c21d53c6e11073a5a2a64736f6c63430008140033",
|
126
|
+
"linkReferences": {},
|
127
|
+
"deployedLinkReferences": {}
|
128
|
+
}
|
@@ -0,0 +1,42 @@
|
|
1
|
+
{
|
2
|
+
"_format": "hh-sol-artifact-1",
|
3
|
+
"contractName": "AShared",
|
4
|
+
"sourceName": "contracts/experiment/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": "0x608060405234801561001057600080fd5b50602a600081905550610150806100286000396000f3fe608060405234801561001057600080fd5b50600436106100365760003560e01c8063d46300fd1461003b578063ee919d5014610059575b600080fd5b610043610075565b60405161005091906100a1565b60405180910390f35b610073600480360381019061006e91906100ed565b61007e565b005b60008054905090565b8060008190555050565b6000819050919050565b61009b81610088565b82525050565b60006020820190506100b66000830184610092565b92915050565b600080fd5b6100ca81610088565b81146100d557600080fd5b50565b6000813590506100e7816100c1565b92915050565b600060208284031215610103576101026100bc565b5b6000610111848285016100d8565b9150509291505056fea2646970667358221220826c344856745ae98ad9c154b4a8bee55e55fc3323c8fba296136a694c2448a664736f6c63430008140033",
|
39
|
+
"deployedBytecode": "0x608060405234801561001057600080fd5b50600436106100365760003560e01c8063d46300fd1461003b578063ee919d5014610059575b600080fd5b610043610075565b60405161005091906100a1565b60405180910390f35b610073600480360381019061006e91906100ed565b61007e565b005b60008054905090565b8060008190555050565b6000819050919050565b61009b81610088565b82525050565b60006020820190506100b66000830184610092565b92915050565b600080fd5b6100ca81610088565b81146100d557600080fd5b50565b6000813590506100e7816100c1565b92915050565b600060208284031215610103576101026100bc565b5b6000610111848285016100d8565b9150509291505056fea2646970667358221220826c344856745ae98ad9c154b4a8bee55e55fc3323c8fba296136a694c2448a664736f6c63430008140033",
|
40
|
+
"linkReferences": {},
|
41
|
+
"deployedLinkReferences": {}
|
42
|
+
}
|
@@ -0,0 +1,76 @@
|
|
1
|
+
{
|
2
|
+
"_format": "hh-sol-artifact-1",
|
3
|
+
"contractName": "B",
|
4
|
+
"sourceName": "contracts/experiment/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": "newA",
|
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/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": "newA",
|
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/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/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/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
|
+
}
|
@@ -0,0 +1,63 @@
|
|
1
|
+
{
|
2
|
+
"_format": "hh-sol-artifact-1",
|
3
|
+
"contractName": "IC",
|
4
|
+
"sourceName": "contracts/experiment/IC.sol",
|
5
|
+
"abi": [
|
6
|
+
{
|
7
|
+
"inputs": [],
|
8
|
+
"name": "getAfromC",
|
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": "getBfromC",
|
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": "getC",
|
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": "setC",
|
54
|
+
"outputs": [],
|
55
|
+
"stateMutability": "nonpayable",
|
56
|
+
"type": "function"
|
57
|
+
}
|
58
|
+
],
|
59
|
+
"bytecode": "0x",
|
60
|
+
"deployedBytecode": "0x",
|
61
|
+
"linkReferences": {},
|
62
|
+
"deployedLinkReferences": {}
|
63
|
+
}
|