@etherisc/gif-next 0.0.2-b9b3e89 → 0.0.2-d250c72

Sign up to get free protection for your applications and to get access to all the features.
Files changed (123) hide show
  1. package/artifacts/contracts/components/Component.sol/Component.dbg.json +1 -1
  2. package/artifacts/contracts/components/Component.sol/Component.json +7 -7
  3. package/artifacts/contracts/components/Component.sol/InstanceLinked.dbg.json +1 -1
  4. package/artifacts/contracts/components/Component.sol/InstanceLinked.json +2 -2
  5. package/artifacts/contracts/components/IPool.sol/IPoolComponent.dbg.json +1 -1
  6. package/artifacts/contracts/components/IPool.sol/IPoolComponent.json +6 -6
  7. package/artifacts/contracts/components/IProduct.sol/IProductComponent.dbg.json +1 -1
  8. package/artifacts/contracts/components/IProduct.sol/IProductComponent.json +8 -8
  9. package/artifacts/contracts/components/Pool.sol/Pool.dbg.json +1 -1
  10. package/artifacts/contracts/components/Pool.sol/Pool.json +29 -11
  11. package/artifacts/contracts/components/Product.sol/Product.dbg.json +1 -1
  12. package/artifacts/contracts/components/Product.sol/Product.json +31 -13
  13. package/artifacts/contracts/experiment/errors/Require.sol/Require.dbg.json +4 -0
  14. package/artifacts/contracts/experiment/errors/Require.sol/Require.json +105 -0
  15. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.dbg.json +4 -0
  16. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.json +105 -0
  17. package/artifacts/contracts/experiment/inheritance/A.sol/A.dbg.json +4 -0
  18. package/artifacts/contracts/experiment/inheritance/A.sol/A.json +128 -0
  19. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.dbg.json +4 -0
  20. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.json +42 -0
  21. package/artifacts/contracts/experiment/inheritance/B.sol/B.dbg.json +4 -0
  22. package/artifacts/contracts/experiment/inheritance/B.sol/B.json +76 -0
  23. package/artifacts/contracts/experiment/inheritance/C.sol/C.dbg.json +4 -0
  24. package/artifacts/contracts/experiment/inheritance/C.sol/C.json +89 -0
  25. package/artifacts/contracts/experiment/inheritance/IA.sol/IA.dbg.json +4 -0
  26. package/artifacts/contracts/experiment/inheritance/IA.sol/IA.json +128 -0
  27. package/artifacts/contracts/experiment/inheritance/IA.sol/ISharedA.dbg.json +4 -0
  28. package/artifacts/contracts/experiment/inheritance/IA.sol/ISharedA.json +37 -0
  29. package/artifacts/contracts/experiment/inheritance/IB.sol/IB.dbg.json +4 -0
  30. package/artifacts/contracts/experiment/inheritance/IB.sol/IB.json +50 -0
  31. package/artifacts/contracts/experiment/inheritance/IC.sol/IC.dbg.json +4 -0
  32. package/artifacts/contracts/experiment/inheritance/IC.sol/IC.json +63 -0
  33. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.dbg.json +4 -0
  34. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.json +10 -0
  35. package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.dbg.json +4 -0
  36. package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.json +10 -0
  37. package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
  38. package/artifacts/contracts/instance/IInstance.sol/IInstance.json +60 -60
  39. package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
  40. package/artifacts/contracts/instance/Instance.sol/Instance.json +122 -64
  41. package/artifacts/contracts/instance/access/Access.sol/AccessModule.dbg.json +1 -1
  42. package/artifacts/contracts/instance/access/IAccess.sol/IAccess.dbg.json +1 -1
  43. package/artifacts/contracts/instance/access/IAccess.sol/IAccessCheckRole.dbg.json +1 -1
  44. package/artifacts/contracts/instance/access/IAccess.sol/IAccessComponentTypeRoles.dbg.json +1 -1
  45. package/artifacts/contracts/instance/access/IAccess.sol/IAccessModule.dbg.json +1 -1
  46. package/artifacts/contracts/instance/component/ComponentModule.sol/ComponentModule.dbg.json +1 -1
  47. package/artifacts/contracts/instance/component/ComponentModule.sol/ComponentModule.json +24 -24
  48. package/artifacts/contracts/instance/component/ComponentModule.sol/ComponentOwnerService.dbg.json +1 -1
  49. package/artifacts/contracts/instance/component/ComponentModule.sol/ComponentOwnerService.json +48 -6
  50. package/artifacts/contracts/instance/component/IComponent.sol/IComponent.dbg.json +1 -1
  51. package/artifacts/contracts/instance/component/IComponent.sol/IComponentContract.dbg.json +1 -1
  52. package/artifacts/contracts/instance/component/IComponent.sol/IComponentContract.json +6 -6
  53. package/artifacts/contracts/instance/component/IComponent.sol/IComponentModule.dbg.json +1 -1
  54. package/artifacts/contracts/instance/component/IComponent.sol/IComponentModule.json +26 -26
  55. package/artifacts/contracts/instance/component/IComponent.sol/IComponentOwnerService.dbg.json +1 -1
  56. package/artifacts/contracts/instance/component/IComponent.sol/IComponentOwnerService.json +3 -3
  57. package/artifacts/contracts/instance/component/IComponent.sol/IInstanceLinked.dbg.json +1 -1
  58. package/artifacts/contracts/instance/policy/IPolicy.sol/IPolicy.dbg.json +1 -1
  59. package/artifacts/contracts/instance/policy/IPolicy.sol/IPolicyModule.dbg.json +1 -1
  60. package/artifacts/contracts/instance/policy/IPolicy.sol/IPolicyModule.json +18 -18
  61. package/artifacts/contracts/instance/policy/PolicyModule.sol/PolicyModule.dbg.json +1 -1
  62. package/artifacts/contracts/instance/policy/PolicyModule.sol/PolicyModule.json +18 -18
  63. package/artifacts/contracts/instance/pool/IPoolModule.sol/IPool.dbg.json +1 -1
  64. package/artifacts/contracts/instance/pool/IPoolModule.sol/IPoolModule.dbg.json +1 -1
  65. package/artifacts/contracts/instance/pool/IPoolModule.sol/IPoolModule.json +10 -10
  66. package/artifacts/contracts/instance/pool/PoolModule.sol/PoolModule.dbg.json +1 -1
  67. package/artifacts/contracts/instance/pool/PoolModule.sol/PoolModule.json +10 -10
  68. package/artifacts/contracts/instance/product/IProductService.sol/IProductModule.dbg.json +1 -1
  69. package/artifacts/contracts/instance/product/IProductService.sol/IProductService.dbg.json +1 -1
  70. package/artifacts/contracts/instance/product/IProductService.sol/IProductService.json +8 -8
  71. package/artifacts/contracts/instance/product/ProductService.sol/ProductModule.dbg.json +1 -1
  72. package/artifacts/contracts/instance/product/ProductService.sol/ProductService.dbg.json +1 -1
  73. package/artifacts/contracts/instance/product/ProductService.sol/ProductService.json +54 -12
  74. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +4 -0
  75. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +534 -0
  76. package/artifacts/contracts/registry/IChainNft.sol/IChainNft.dbg.json +4 -0
  77. package/artifacts/contracts/registry/IChainNft.sol/IChainNft.json +452 -0
  78. package/artifacts/contracts/registry/IRegistry.sol/IOwnable.dbg.json +1 -1
  79. package/artifacts/contracts/registry/IRegistry.sol/IRegisterable.dbg.json +1 -1
  80. package/artifacts/contracts/registry/IRegistry.sol/IRegisterable.json +6 -6
  81. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
  82. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +41 -33
  83. package/artifacts/contracts/registry/IRegistry.sol/IRegistryLinked.dbg.json +1 -1
  84. package/artifacts/contracts/registry/Registry.sol/Registerable.dbg.json +1 -1
  85. package/artifacts/contracts/registry/Registry.sol/Registerable.json +7 -7
  86. package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
  87. package/artifacts/contracts/registry/Registry.sol/Registry.json +100 -42
  88. package/artifacts/contracts/registry/Registry.sol/RegistryLinked.dbg.json +1 -1
  89. package/artifacts/contracts/registry/Registry.sol/RegistryLinked.json +2 -2
  90. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.dbg.json +4 -0
  91. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.json +10 -0
  92. package/artifacts/contracts/types/NftId.sol/NftIdLib.dbg.json +4 -0
  93. package/artifacts/contracts/types/NftId.sol/NftIdLib.json +92 -0
  94. package/contracts/components/Component.sol +3 -3
  95. package/contracts/components/IProduct.sol +2 -1
  96. package/contracts/components/Product.sol +5 -4
  97. package/contracts/experiment/errors/Require.sol +33 -0
  98. package/contracts/experiment/errors/Revert.sol +39 -0
  99. package/contracts/experiment/inheritance/A.sol +56 -0
  100. package/contracts/experiment/inheritance/B.sol +23 -0
  101. package/contracts/experiment/inheritance/C.sol +28 -0
  102. package/contracts/experiment/inheritance/IA.sol +18 -0
  103. package/contracts/experiment/inheritance/IB.sol +9 -0
  104. package/contracts/experiment/inheritance/IC.sol +11 -0
  105. package/contracts/experiment/types/TypeA.sol +42 -0
  106. package/contracts/experiment/types/TypeB.sol +24 -0
  107. package/contracts/instance/IInstance.sol +3 -3
  108. package/contracts/instance/Instance.sol +4 -3
  109. package/contracts/instance/component/ComponentModule.sol +32 -43
  110. package/contracts/instance/component/IComponent.sol +11 -10
  111. package/contracts/instance/policy/IPolicy.sol +8 -8
  112. package/contracts/instance/policy/PolicyModule.sol +12 -11
  113. package/contracts/instance/pool/IPoolModule.sol +6 -5
  114. package/contracts/instance/pool/PoolModule.sol +9 -6
  115. package/contracts/instance/product/IProductService.sol +5 -4
  116. package/contracts/instance/product/ProductService.sol +14 -11
  117. package/contracts/registry/ChainNft.sol +173 -0
  118. package/contracts/registry/IChainNft.sol +18 -0
  119. package/contracts/registry/IRegistry.sol +16 -12
  120. package/contracts/registry/Registry.sol +43 -58
  121. package/contracts/types/ChainId.sol +24 -0
  122. package/contracts/types/NftId.sol +35 -0
  123. package/package.json +1 -1
@@ -0,0 +1,105 @@
1
+ {
2
+ "_format": "hh-sol-artifact-1",
3
+ "contractName": "Revert",
4
+ "sourceName": "contracts/experiment/errors/Revert.sol",
5
+ "abi": [
6
+ {
7
+ "inputs": [],
8
+ "stateMutability": "nonpayable",
9
+ "type": "constructor"
10
+ },
11
+ {
12
+ "inputs": [
13
+ {
14
+ "internalType": "uint256",
15
+ "name": "a",
16
+ "type": "uint256"
17
+ },
18
+ {
19
+ "internalType": "uint256",
20
+ "name": "b",
21
+ "type": "uint256"
22
+ }
23
+ ],
24
+ "name": "AsmallerThanB_L",
25
+ "type": "error"
26
+ },
27
+ {
28
+ "inputs": [
29
+ {
30
+ "internalType": "uint256",
31
+ "name": "a",
32
+ "type": "uint256"
33
+ }
34
+ ],
35
+ "name": "AsmallerThanB_M",
36
+ "type": "error"
37
+ },
38
+ {
39
+ "inputs": [],
40
+ "name": "AsmallerThanB_S",
41
+ "type": "error"
42
+ },
43
+ {
44
+ "inputs": [
45
+ {
46
+ "internalType": "uint256",
47
+ "name": "a",
48
+ "type": "uint256"
49
+ }
50
+ ],
51
+ "name": "isAlargerThanBRevert_L",
52
+ "outputs": [
53
+ {
54
+ "internalType": "bool",
55
+ "name": "isLarger",
56
+ "type": "bool"
57
+ }
58
+ ],
59
+ "stateMutability": "view",
60
+ "type": "function"
61
+ },
62
+ {
63
+ "inputs": [
64
+ {
65
+ "internalType": "uint256",
66
+ "name": "a",
67
+ "type": "uint256"
68
+ }
69
+ ],
70
+ "name": "isAlargerThanBRevert_M",
71
+ "outputs": [
72
+ {
73
+ "internalType": "bool",
74
+ "name": "isLarger",
75
+ "type": "bool"
76
+ }
77
+ ],
78
+ "stateMutability": "view",
79
+ "type": "function"
80
+ },
81
+ {
82
+ "inputs": [
83
+ {
84
+ "internalType": "uint256",
85
+ "name": "a",
86
+ "type": "uint256"
87
+ }
88
+ ],
89
+ "name": "isAlargerThanBRevert_S",
90
+ "outputs": [
91
+ {
92
+ "internalType": "bool",
93
+ "name": "isLarger",
94
+ "type": "bool"
95
+ }
96
+ ],
97
+ "stateMutability": "view",
98
+ "type": "function"
99
+ }
100
+ ],
101
+ "bytecode": "0x608060405234801561001057600080fd5b50602a6000819055506102e6806100286000396000f3fe608060405234801561001057600080fd5b50600436106100415760003560e01c806312eee592146100465780638997f3ee14610076578063d0e7624f146100a6575b600080fd5b610060600480360381019061005b91906101fa565b6100d6565b60405161006d9190610242565b60405180910390f35b610090600480360381019061008b91906101fa565b61012a565b60405161009d9190610242565b60405180910390f35b6100c060048036038101906100bb91906101fa565b61017a565b6040516100cd9190610242565b60405180910390f35b60008054821161012157816000546040517fb0d3ec1d00000000000000000000000000000000000000000000000000000000815260040161011892919061026c565b60405180910390fd5b60019050919050565b60008054821161017157816040517f27e078bc0000000000000000000000000000000000000000000000000000000081526004016101689190610295565b60405180910390fd5b60019050919050565b6000805482116101b6576040517f359a43a800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60019050919050565b600080fd5b6000819050919050565b6101d7816101c4565b81146101e257600080fd5b50565b6000813590506101f4816101ce565b92915050565b6000602082840312156102105761020f6101bf565b5b600061021e848285016101e5565b91505092915050565b60008115159050919050565b61023c81610227565b82525050565b60006020820190506102576000830184610233565b92915050565b610266816101c4565b82525050565b6000604082019050610281600083018561025d565b61028e602083018461025d565b9392505050565b60006020820190506102aa600083018461025d565b9291505056fea264697066735822122013ad28f739c6fdca4c0c2652fc2b57682ae883388c2082b2db3945b730139b6464736f6c63430008140033",
102
+ "deployedBytecode": "0x608060405234801561001057600080fd5b50600436106100415760003560e01c806312eee592146100465780638997f3ee14610076578063d0e7624f146100a6575b600080fd5b610060600480360381019061005b91906101fa565b6100d6565b60405161006d9190610242565b60405180910390f35b610090600480360381019061008b91906101fa565b61012a565b60405161009d9190610242565b60405180910390f35b6100c060048036038101906100bb91906101fa565b61017a565b6040516100cd9190610242565b60405180910390f35b60008054821161012157816000546040517fb0d3ec1d00000000000000000000000000000000000000000000000000000000815260040161011892919061026c565b60405180910390fd5b60019050919050565b60008054821161017157816040517f27e078bc0000000000000000000000000000000000000000000000000000000081526004016101689190610295565b60405180910390fd5b60019050919050565b6000805482116101b6576040517f359a43a800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60019050919050565b600080fd5b6000819050919050565b6101d7816101c4565b81146101e257600080fd5b50565b6000813590506101f4816101ce565b92915050565b6000602082840312156102105761020f6101bf565b5b600061021e848285016101e5565b91505092915050565b60008115159050919050565b61023c81610227565b82525050565b60006020820190506102576000830184610233565b92915050565b610266816101c4565b82525050565b6000604082019050610281600083018561025d565b61028e602083018461025d565b9392505050565b60006020820190506102aa600083018461025d565b9291505056fea264697066735822122013ad28f739c6fdca4c0c2652fc2b57682ae883388c2082b2db3945b730139b6464736f6c63430008140033",
103
+ "linkReferences": {},
104
+ "deployedLinkReferences": {}
105
+ }
@@ -0,0 +1,4 @@
1
+ {
2
+ "_format": "hh-sol-dbg-1",
3
+ "buildInfo": "../../../../build-info/37589d6e5a436b7ea29351f5b0363de6.json"
4
+ }
@@ -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": "0x608060405234801561001057600080fd5b50602a600081905550600180819055506002808190555061044c806100366000396000f3fe608060405234801561001057600080fd5b50600436106100935760003560e01c8063d46300fd11610066578063d46300fd1461010e578063d4febc861461012c578063e2c11f201461014a578063ee919d5014610168578063eeb4914e1461018457610093565b806309cdcf9b14610098578063a1c51915146100b4578063a2375d1e146100d2578063b9c23ae9146100f0575b600080fd5b6100b260048036038101906100ad919061037d565b6101a0565b005b6100bc6101aa565b6040516100c991906103b9565b60405180910390f35b6100da6101b4565b6040516100e791906103b9565b60405180910390f35b6100f86101be565b60405161010591906103b9565b60405180910390f35b610116610239565b60405161012391906103b9565b60405180910390f35b610134610242565b60405161014191906103b9565b60405180910390f35b6101526102b8565b60405161015f91906103b9565b60405180910390f35b610182600480360381019061017d919061037d565b61032e565b005b61019e6004803603810190610199919061037d565b610338565b005b8060018190555050565b6000600154905090565b6000600254905090565b6000803090508073ffffffffffffffffffffffffffffffffffffffff1663a1c519156040518163ffffffff1660e01b8152600401602060405180830381865afa15801561020f573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061023391906103e9565b91505090565b60008054905090565b60003073ffffffffffffffffffffffffffffffffffffffff1663d46300fd6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561028f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906102b391906103e9565b905090565b60003073ffffffffffffffffffffffffffffffffffffffff1663d46300fd6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610305573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061032991906103e9565b905090565b8060008190555050565b8060028190555050565b600080fd5b6000819050919050565b61035a81610347565b811461036557600080fd5b50565b60008135905061037781610351565b92915050565b60006020828403121561039357610392610342565b5b60006103a184828501610368565b91505092915050565b6103b381610347565b82525050565b60006020820190506103ce60008301846103aa565b92915050565b6000815190506103e381610351565b92915050565b6000602082840312156103ff576103fe610342565b5b600061040d848285016103d4565b9150509291505056fea2646970667358221220ade999ff312c836bf02616777b4bed44c4e955149246483aea321318db5e8ec564736f6c63430008140033",
125
+ "deployedBytecode": "0x608060405234801561001057600080fd5b50600436106100935760003560e01c8063d46300fd11610066578063d46300fd1461010e578063d4febc861461012c578063e2c11f201461014a578063ee919d5014610168578063eeb4914e1461018457610093565b806309cdcf9b14610098578063a1c51915146100b4578063a2375d1e146100d2578063b9c23ae9146100f0575b600080fd5b6100b260048036038101906100ad919061037d565b6101a0565b005b6100bc6101aa565b6040516100c991906103b9565b60405180910390f35b6100da6101b4565b6040516100e791906103b9565b60405180910390f35b6100f86101be565b60405161010591906103b9565b60405180910390f35b610116610239565b60405161012391906103b9565b60405180910390f35b610134610242565b60405161014191906103b9565b60405180910390f35b6101526102b8565b60405161015f91906103b9565b60405180910390f35b610182600480360381019061017d919061037d565b61032e565b005b61019e6004803603810190610199919061037d565b610338565b005b8060018190555050565b6000600154905090565b6000600254905090565b6000803090508073ffffffffffffffffffffffffffffffffffffffff1663a1c519156040518163ffffffff1660e01b8152600401602060405180830381865afa15801561020f573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061023391906103e9565b91505090565b60008054905090565b60003073ffffffffffffffffffffffffffffffffffffffff1663d46300fd6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561028f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906102b391906103e9565b905090565b60003073ffffffffffffffffffffffffffffffffffffffff1663d46300fd6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610305573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061032991906103e9565b905090565b8060008190555050565b8060028190555050565b600080fd5b6000819050919050565b61035a81610347565b811461036557600080fd5b50565b60008135905061037781610351565b92915050565b60006020828403121561039357610392610342565b5b60006103a184828501610368565b91505092915050565b6103b381610347565b82525050565b60006020820190506103ce60008301846103aa565b92915050565b6000815190506103e381610351565b92915050565b6000602082840312156103ff576103fe610342565b5b600061040d848285016103d4565b9150509291505056fea2646970667358221220ade999ff312c836bf02616777b4bed44c4e955149246483aea321318db5e8ec564736f6c63430008140033",
126
+ "linkReferences": {},
127
+ "deployedLinkReferences": {}
128
+ }
@@ -0,0 +1,4 @@
1
+ {
2
+ "_format": "hh-sol-dbg-1",
3
+ "buildInfo": "../../../../build-info/37589d6e5a436b7ea29351f5b0363de6.json"
4
+ }
@@ -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": "0x608060405234801561001057600080fd5b50602a600081905550610150806100286000396000f3fe608060405234801561001057600080fd5b50600436106100365760003560e01c8063d46300fd1461003b578063ee919d5014610059575b600080fd5b610043610075565b60405161005091906100a1565b60405180910390f35b610073600480360381019061006e91906100ed565b61007e565b005b60008054905090565b8060008190555050565b6000819050919050565b61009b81610088565b82525050565b60006020820190506100b66000830184610092565b92915050565b600080fd5b6100ca81610088565b81146100d557600080fd5b50565b6000813590506100e7816100c1565b92915050565b600060208284031215610103576101026100bc565b5b6000610111848285016100d8565b9150509291505056fea26469706673582212205842a40b836c5e0a53456a721bab0f98f364c5fa11b28c2eb1f4914825d8fd5064736f6c63430008140033",
39
+ "deployedBytecode": "0x608060405234801561001057600080fd5b50600436106100365760003560e01c8063d46300fd1461003b578063ee919d5014610059575b600080fd5b610043610075565b60405161005091906100a1565b60405180910390f35b610073600480360381019061006e91906100ed565b61007e565b005b60008054905090565b8060008190555050565b6000819050919050565b61009b81610088565b82525050565b60006020820190506100b66000830184610092565b92915050565b600080fd5b6100ca81610088565b81146100d557600080fd5b50565b6000813590506100e7816100c1565b92915050565b600060208284031215610103576101026100bc565b5b6000610111848285016100d8565b9150509291505056fea26469706673582212205842a40b836c5e0a53456a721bab0f98f364c5fa11b28c2eb1f4914825d8fd5064736f6c63430008140033",
40
+ "linkReferences": {},
41
+ "deployedLinkReferences": {}
42
+ }
@@ -0,0 +1,4 @@
1
+ {
2
+ "_format": "hh-sol-dbg-1",
3
+ "buildInfo": "../../../../build-info/37589d6e5a436b7ea29351f5b0363de6.json"
4
+ }
@@ -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,4 @@
1
+ {
2
+ "_format": "hh-sol-dbg-1",
3
+ "buildInfo": "../../../../build-info/37589d6e5a436b7ea29351f5b0363de6.json"
4
+ }
@@ -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,4 @@
1
+ {
2
+ "_format": "hh-sol-dbg-1",
3
+ "buildInfo": "../../../../build-info/37589d6e5a436b7ea29351f5b0363de6.json"
4
+ }
@@ -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,4 @@
1
+ {
2
+ "_format": "hh-sol-dbg-1",
3
+ "buildInfo": "../../../../build-info/37589d6e5a436b7ea29351f5b0363de6.json"
4
+ }
@@ -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,4 @@
1
+ {
2
+ "_format": "hh-sol-dbg-1",
3
+ "buildInfo": "../../../../build-info/37589d6e5a436b7ea29351f5b0363de6.json"
4
+ }