@etherisc/gif-next 0.0.2-f9905e1 → 0.0.2-ffba655

Sign up to get free protection for your applications and to get access to all the features.
Files changed (118) 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 +1 -1
  18. package/artifacts/contracts/experiment/inheritance/A.sol/A.json +2 -2
  19. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.dbg.json +1 -1
  20. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.json +2 -2
  21. package/artifacts/contracts/experiment/inheritance/B.sol/B.dbg.json +1 -1
  22. package/artifacts/contracts/experiment/inheritance/C.sol/C.dbg.json +1 -1
  23. package/artifacts/contracts/experiment/inheritance/IA.sol/IA.dbg.json +1 -1
  24. package/artifacts/contracts/experiment/inheritance/IA.sol/ISharedA.dbg.json +1 -1
  25. package/artifacts/contracts/experiment/inheritance/IB.sol/IB.dbg.json +1 -1
  26. package/artifacts/contracts/experiment/inheritance/IC.sol/IC.dbg.json +1 -1
  27. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.dbg.json +1 -1
  28. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.json +2 -2
  29. package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.dbg.json +1 -1
  30. package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.json +2 -2
  31. package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
  32. package/artifacts/contracts/instance/IInstance.sol/IInstance.json +60 -60
  33. package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
  34. package/artifacts/contracts/instance/Instance.sol/Instance.json +122 -64
  35. package/artifacts/contracts/instance/access/Access.sol/AccessModule.dbg.json +1 -1
  36. package/artifacts/contracts/instance/access/IAccess.sol/IAccess.dbg.json +1 -1
  37. package/artifacts/contracts/instance/access/IAccess.sol/IAccessCheckRole.dbg.json +1 -1
  38. package/artifacts/contracts/instance/access/IAccess.sol/IAccessComponentTypeRoles.dbg.json +1 -1
  39. package/artifacts/contracts/instance/access/IAccess.sol/IAccessModule.dbg.json +1 -1
  40. package/artifacts/contracts/instance/component/ComponentModule.sol/ComponentModule.dbg.json +1 -1
  41. package/artifacts/contracts/instance/component/ComponentModule.sol/ComponentModule.json +24 -24
  42. package/artifacts/contracts/instance/component/ComponentModule.sol/ComponentOwnerService.dbg.json +1 -1
  43. package/artifacts/contracts/instance/component/ComponentModule.sol/ComponentOwnerService.json +48 -6
  44. package/artifacts/contracts/instance/component/IComponent.sol/IComponent.dbg.json +1 -1
  45. package/artifacts/contracts/instance/component/IComponent.sol/IComponentContract.dbg.json +1 -1
  46. package/artifacts/contracts/instance/component/IComponent.sol/IComponentContract.json +6 -6
  47. package/artifacts/contracts/instance/component/IComponent.sol/IComponentModule.dbg.json +1 -1
  48. package/artifacts/contracts/instance/component/IComponent.sol/IComponentModule.json +26 -26
  49. package/artifacts/contracts/instance/component/IComponent.sol/IComponentOwnerService.dbg.json +1 -1
  50. package/artifacts/contracts/instance/component/IComponent.sol/IComponentOwnerService.json +3 -3
  51. package/artifacts/contracts/instance/component/IComponent.sol/IInstanceLinked.dbg.json +1 -1
  52. package/artifacts/contracts/instance/policy/IPolicy.sol/IPolicy.dbg.json +1 -1
  53. package/artifacts/contracts/instance/policy/IPolicy.sol/IPolicyModule.dbg.json +1 -1
  54. package/artifacts/contracts/instance/policy/IPolicy.sol/IPolicyModule.json +18 -18
  55. package/artifacts/contracts/instance/policy/PolicyModule.sol/PolicyModule.dbg.json +1 -1
  56. package/artifacts/contracts/instance/policy/PolicyModule.sol/PolicyModule.json +18 -18
  57. package/artifacts/contracts/instance/pool/IPoolModule.sol/IPool.dbg.json +1 -1
  58. package/artifacts/contracts/instance/pool/IPoolModule.sol/IPoolModule.dbg.json +1 -1
  59. package/artifacts/contracts/instance/pool/IPoolModule.sol/IPoolModule.json +10 -10
  60. package/artifacts/contracts/instance/pool/PoolModule.sol/PoolModule.dbg.json +1 -1
  61. package/artifacts/contracts/instance/pool/PoolModule.sol/PoolModule.json +10 -10
  62. package/artifacts/contracts/instance/product/IProductService.sol/IProductModule.dbg.json +1 -1
  63. package/artifacts/contracts/instance/product/IProductService.sol/IProductService.dbg.json +1 -1
  64. package/artifacts/contracts/instance/product/IProductService.sol/IProductService.json +8 -8
  65. package/artifacts/contracts/instance/product/ProductService.sol/ProductModule.dbg.json +1 -1
  66. package/artifacts/contracts/instance/product/ProductService.sol/ProductService.dbg.json +1 -1
  67. package/artifacts/contracts/instance/product/ProductService.sol/ProductService.json +54 -12
  68. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +4 -0
  69. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +534 -0
  70. package/artifacts/contracts/registry/IChainNft.sol/IChainNft.dbg.json +4 -0
  71. package/artifacts/contracts/registry/IChainNft.sol/IChainNft.json +452 -0
  72. package/artifacts/contracts/registry/IRegistry.sol/IOwnable.dbg.json +1 -1
  73. package/artifacts/contracts/registry/IRegistry.sol/IRegisterable.dbg.json +1 -1
  74. package/artifacts/contracts/registry/IRegistry.sol/IRegisterable.json +6 -6
  75. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
  76. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +41 -33
  77. package/artifacts/contracts/registry/IRegistry.sol/IRegistryLinked.dbg.json +1 -1
  78. package/artifacts/contracts/registry/Registry.sol/Registerable.dbg.json +1 -1
  79. package/artifacts/contracts/registry/Registry.sol/Registerable.json +7 -7
  80. package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
  81. package/artifacts/contracts/registry/Registry.sol/Registry.json +100 -42
  82. package/artifacts/contracts/registry/Registry.sol/RegistryLinked.dbg.json +1 -1
  83. package/artifacts/contracts/registry/Registry.sol/RegistryLinked.json +2 -2
  84. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.dbg.json +4 -0
  85. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.json +174 -0
  86. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.dbg.json +1 -1
  87. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.json +2 -2
  88. package/artifacts/contracts/types/NftId.sol/NftIdLib.dbg.json +4 -0
  89. package/artifacts/contracts/types/NftId.sol/NftIdLib.json +92 -0
  90. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.dbg.json +4 -0
  91. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.json +174 -0
  92. package/artifacts/contracts/types/UFixed.sol/UFixedMathLib.dbg.json +4 -0
  93. package/artifacts/contracts/types/UFixed.sol/UFixedMathLib.json +453 -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/instance/IInstance.sol +3 -3
  100. package/contracts/instance/Instance.sol +4 -3
  101. package/contracts/instance/component/ComponentModule.sol +32 -43
  102. package/contracts/instance/component/IComponent.sol +11 -10
  103. package/contracts/instance/policy/IPolicy.sol +8 -8
  104. package/contracts/instance/policy/PolicyModule.sol +12 -11
  105. package/contracts/instance/pool/IPoolModule.sol +6 -5
  106. package/contracts/instance/pool/PoolModule.sol +9 -6
  107. package/contracts/instance/product/IProductService.sol +5 -4
  108. package/contracts/instance/product/ProductService.sol +14 -11
  109. package/contracts/registry/ChainNft.sol +173 -0
  110. package/contracts/registry/IChainNft.sol +18 -0
  111. package/contracts/registry/IRegistry.sol +16 -12
  112. package/contracts/registry/Registry.sol +43 -58
  113. package/contracts/types/Blocknumber.sol +60 -0
  114. package/contracts/types/ChainId.sol +7 -1
  115. package/contracts/types/NftId.sol +35 -0
  116. package/contracts/types/Timestamp.sol +55 -0
  117. package/contracts/types/UFixed.sol +211 -0
  118. 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
+ }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../../build-info/f211b802294e8958d4ab3ed8cbf2371f.json"
3
+ "buildInfo": "../../../../build-info/0a240c453e0599ab5c44d242e6a30e63.json"
4
4
  }
@@ -121,8 +121,8 @@
121
121
  "type": "function"
122
122
  }
123
123
  ],
124
- "bytecode": "0x608060405234801561001057600080fd5b50602a600081905550600180819055506002808190555061044c806100366000396000f3fe608060405234801561001057600080fd5b50600436106100935760003560e01c8063d46300fd11610066578063d46300fd1461010e578063d4febc861461012c578063e2c11f201461014a578063ee919d5014610168578063eeb4914e1461018457610093565b806309cdcf9b14610098578063a1c51915146100b4578063a2375d1e146100d2578063b9c23ae9146100f0575b600080fd5b6100b260048036038101906100ad919061037d565b6101a0565b005b6100bc6101aa565b6040516100c991906103b9565b60405180910390f35b6100da6101b4565b6040516100e791906103b9565b60405180910390f35b6100f86101be565b60405161010591906103b9565b60405180910390f35b610116610239565b60405161012391906103b9565b60405180910390f35b610134610242565b60405161014191906103b9565b60405180910390f35b6101526102b8565b60405161015f91906103b9565b60405180910390f35b610182600480360381019061017d919061037d565b61032e565b005b61019e6004803603810190610199919061037d565b610338565b005b8060018190555050565b6000600154905090565b6000600254905090565b6000803090508073ffffffffffffffffffffffffffffffffffffffff1663a1c519156040518163ffffffff1660e01b8152600401602060405180830381865afa15801561020f573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061023391906103e9565b91505090565b60008054905090565b60003073ffffffffffffffffffffffffffffffffffffffff1663d46300fd6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561028f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906102b391906103e9565b905090565b60003073ffffffffffffffffffffffffffffffffffffffff1663d46300fd6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610305573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061032991906103e9565b905090565b8060008190555050565b8060028190555050565b600080fd5b6000819050919050565b61035a81610347565b811461036557600080fd5b50565b60008135905061037781610351565b92915050565b60006020828403121561039357610392610342565b5b60006103a184828501610368565b91505092915050565b6103b381610347565b82525050565b60006020820190506103ce60008301846103aa565b92915050565b6000815190506103e381610351565b92915050565b6000602082840312156103ff576103fe610342565b5b600061040d848285016103d4565b9150509291505056fea26469706673582212209ecbb5691a41763284d320d845a1bd4160c0196ec6162fb41ecc8c8d518d42f464736f6c63430008140033",
125
- "deployedBytecode": "0x608060405234801561001057600080fd5b50600436106100935760003560e01c8063d46300fd11610066578063d46300fd1461010e578063d4febc861461012c578063e2c11f201461014a578063ee919d5014610168578063eeb4914e1461018457610093565b806309cdcf9b14610098578063a1c51915146100b4578063a2375d1e146100d2578063b9c23ae9146100f0575b600080fd5b6100b260048036038101906100ad919061037d565b6101a0565b005b6100bc6101aa565b6040516100c991906103b9565b60405180910390f35b6100da6101b4565b6040516100e791906103b9565b60405180910390f35b6100f86101be565b60405161010591906103b9565b60405180910390f35b610116610239565b60405161012391906103b9565b60405180910390f35b610134610242565b60405161014191906103b9565b60405180910390f35b6101526102b8565b60405161015f91906103b9565b60405180910390f35b610182600480360381019061017d919061037d565b61032e565b005b61019e6004803603810190610199919061037d565b610338565b005b8060018190555050565b6000600154905090565b6000600254905090565b6000803090508073ffffffffffffffffffffffffffffffffffffffff1663a1c519156040518163ffffffff1660e01b8152600401602060405180830381865afa15801561020f573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061023391906103e9565b91505090565b60008054905090565b60003073ffffffffffffffffffffffffffffffffffffffff1663d46300fd6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561028f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906102b391906103e9565b905090565b60003073ffffffffffffffffffffffffffffffffffffffff1663d46300fd6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610305573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061032991906103e9565b905090565b8060008190555050565b8060028190555050565b600080fd5b6000819050919050565b61035a81610347565b811461036557600080fd5b50565b60008135905061037781610351565b92915050565b60006020828403121561039357610392610342565b5b60006103a184828501610368565b91505092915050565b6103b381610347565b82525050565b60006020820190506103ce60008301846103aa565b92915050565b6000815190506103e381610351565b92915050565b6000602082840312156103ff576103fe610342565b5b600061040d848285016103d4565b9150509291505056fea26469706673582212209ecbb5691a41763284d320d845a1bd4160c0196ec6162fb41ecc8c8d518d42f464736f6c63430008140033",
124
+ "bytecode": "0x608060405234801561001057600080fd5b50602a600081905550600180819055506002808190555061044c806100366000396000f3fe608060405234801561001057600080fd5b50600436106100935760003560e01c8063d46300fd11610066578063d46300fd1461010e578063d4febc861461012c578063e2c11f201461014a578063ee919d5014610168578063eeb4914e1461018457610093565b806309cdcf9b14610098578063a1c51915146100b4578063a2375d1e146100d2578063b9c23ae9146100f0575b600080fd5b6100b260048036038101906100ad919061037d565b6101a0565b005b6100bc6101aa565b6040516100c991906103b9565b60405180910390f35b6100da6101b4565b6040516100e791906103b9565b60405180910390f35b6100f86101be565b60405161010591906103b9565b60405180910390f35b610116610239565b60405161012391906103b9565b60405180910390f35b610134610242565b60405161014191906103b9565b60405180910390f35b6101526102b8565b60405161015f91906103b9565b60405180910390f35b610182600480360381019061017d919061037d565b61032e565b005b61019e6004803603810190610199919061037d565b610338565b005b8060018190555050565b6000600154905090565b6000600254905090565b6000803090508073ffffffffffffffffffffffffffffffffffffffff1663a1c519156040518163ffffffff1660e01b8152600401602060405180830381865afa15801561020f573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061023391906103e9565b91505090565b60008054905090565b60003073ffffffffffffffffffffffffffffffffffffffff1663d46300fd6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561028f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906102b391906103e9565b905090565b60003073ffffffffffffffffffffffffffffffffffffffff1663d46300fd6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610305573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061032991906103e9565b905090565b8060008190555050565b8060028190555050565b600080fd5b6000819050919050565b61035a81610347565b811461036557600080fd5b50565b60008135905061037781610351565b92915050565b60006020828403121561039357610392610342565b5b60006103a184828501610368565b91505092915050565b6103b381610347565b82525050565b60006020820190506103ce60008301846103aa565b92915050565b6000815190506103e381610351565b92915050565b6000602082840312156103ff576103fe610342565b5b600061040d848285016103d4565b9150509291505056fea2646970667358221220ade999ff312c836bf02616777b4bed44c4e955149246483aea321318db5e8ec564736f6c63430008140033",
125
+ "deployedBytecode": "0x608060405234801561001057600080fd5b50600436106100935760003560e01c8063d46300fd11610066578063d46300fd1461010e578063d4febc861461012c578063e2c11f201461014a578063ee919d5014610168578063eeb4914e1461018457610093565b806309cdcf9b14610098578063a1c51915146100b4578063a2375d1e146100d2578063b9c23ae9146100f0575b600080fd5b6100b260048036038101906100ad919061037d565b6101a0565b005b6100bc6101aa565b6040516100c991906103b9565b60405180910390f35b6100da6101b4565b6040516100e791906103b9565b60405180910390f35b6100f86101be565b60405161010591906103b9565b60405180910390f35b610116610239565b60405161012391906103b9565b60405180910390f35b610134610242565b60405161014191906103b9565b60405180910390f35b6101526102b8565b60405161015f91906103b9565b60405180910390f35b610182600480360381019061017d919061037d565b61032e565b005b61019e6004803603810190610199919061037d565b610338565b005b8060018190555050565b6000600154905090565b6000600254905090565b6000803090508073ffffffffffffffffffffffffffffffffffffffff1663a1c519156040518163ffffffff1660e01b8152600401602060405180830381865afa15801561020f573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061023391906103e9565b91505090565b60008054905090565b60003073ffffffffffffffffffffffffffffffffffffffff1663d46300fd6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561028f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906102b391906103e9565b905090565b60003073ffffffffffffffffffffffffffffffffffffffff1663d46300fd6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610305573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061032991906103e9565b905090565b8060008190555050565b8060028190555050565b600080fd5b6000819050919050565b61035a81610347565b811461036557600080fd5b50565b60008135905061037781610351565b92915050565b60006020828403121561039357610392610342565b5b60006103a184828501610368565b91505092915050565b6103b381610347565b82525050565b60006020820190506103ce60008301846103aa565b92915050565b6000815190506103e381610351565b92915050565b6000602082840312156103ff576103fe610342565b5b600061040d848285016103d4565b9150509291505056fea2646970667358221220ade999ff312c836bf02616777b4bed44c4e955149246483aea321318db5e8ec564736f6c63430008140033",
126
126
  "linkReferences": {},
127
127
  "deployedLinkReferences": {}
128
128
  }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../../build-info/f211b802294e8958d4ab3ed8cbf2371f.json"
3
+ "buildInfo": "../../../../build-info/0a240c453e0599ab5c44d242e6a30e63.json"
4
4
  }
@@ -35,8 +35,8 @@
35
35
  "type": "function"
36
36
  }
37
37
  ],
38
- "bytecode": "0x608060405234801561001057600080fd5b50602a600081905550610150806100286000396000f3fe608060405234801561001057600080fd5b50600436106100365760003560e01c8063d46300fd1461003b578063ee919d5014610059575b600080fd5b610043610075565b60405161005091906100a1565b60405180910390f35b610073600480360381019061006e91906100ed565b61007e565b005b60008054905090565b8060008190555050565b6000819050919050565b61009b81610088565b82525050565b60006020820190506100b66000830184610092565b92915050565b600080fd5b6100ca81610088565b81146100d557600080fd5b50565b6000813590506100e7816100c1565b92915050565b600060208284031215610103576101026100bc565b5b6000610111848285016100d8565b9150509291505056fea2646970667358221220b19da4bc39436f1edf031edacd0d6adab41e232298c993923afda29910f1f99664736f6c63430008140033",
39
- "deployedBytecode": "0x608060405234801561001057600080fd5b50600436106100365760003560e01c8063d46300fd1461003b578063ee919d5014610059575b600080fd5b610043610075565b60405161005091906100a1565b60405180910390f35b610073600480360381019061006e91906100ed565b61007e565b005b60008054905090565b8060008190555050565b6000819050919050565b61009b81610088565b82525050565b60006020820190506100b66000830184610092565b92915050565b600080fd5b6100ca81610088565b81146100d557600080fd5b50565b6000813590506100e7816100c1565b92915050565b600060208284031215610103576101026100bc565b5b6000610111848285016100d8565b9150509291505056fea2646970667358221220b19da4bc39436f1edf031edacd0d6adab41e232298c993923afda29910f1f99664736f6c63430008140033",
38
+ "bytecode": "0x608060405234801561001057600080fd5b50602a600081905550610150806100286000396000f3fe608060405234801561001057600080fd5b50600436106100365760003560e01c8063d46300fd1461003b578063ee919d5014610059575b600080fd5b610043610075565b60405161005091906100a1565b60405180910390f35b610073600480360381019061006e91906100ed565b61007e565b005b60008054905090565b8060008190555050565b6000819050919050565b61009b81610088565b82525050565b60006020820190506100b66000830184610092565b92915050565b600080fd5b6100ca81610088565b81146100d557600080fd5b50565b6000813590506100e7816100c1565b92915050565b600060208284031215610103576101026100bc565b5b6000610111848285016100d8565b9150509291505056fea26469706673582212205842a40b836c5e0a53456a721bab0f98f364c5fa11b28c2eb1f4914825d8fd5064736f6c63430008140033",
39
+ "deployedBytecode": "0x608060405234801561001057600080fd5b50600436106100365760003560e01c8063d46300fd1461003b578063ee919d5014610059575b600080fd5b610043610075565b60405161005091906100a1565b60405180910390f35b610073600480360381019061006e91906100ed565b61007e565b005b60008054905090565b8060008190555050565b6000819050919050565b61009b81610088565b82525050565b60006020820190506100b66000830184610092565b92915050565b600080fd5b6100ca81610088565b81146100d557600080fd5b50565b6000813590506100e7816100c1565b92915050565b600060208284031215610103576101026100bc565b5b6000610111848285016100d8565b9150509291505056fea26469706673582212205842a40b836c5e0a53456a721bab0f98f364c5fa11b28c2eb1f4914825d8fd5064736f6c63430008140033",
40
40
  "linkReferences": {},
41
41
  "deployedLinkReferences": {}
42
42
  }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../../build-info/f211b802294e8958d4ab3ed8cbf2371f.json"
3
+ "buildInfo": "../../../../build-info/0a240c453e0599ab5c44d242e6a30e63.json"
4
4
  }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../../build-info/f211b802294e8958d4ab3ed8cbf2371f.json"
3
+ "buildInfo": "../../../../build-info/0a240c453e0599ab5c44d242e6a30e63.json"
4
4
  }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../../build-info/f211b802294e8958d4ab3ed8cbf2371f.json"
3
+ "buildInfo": "../../../../build-info/0a240c453e0599ab5c44d242e6a30e63.json"
4
4
  }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../../build-info/f211b802294e8958d4ab3ed8cbf2371f.json"
3
+ "buildInfo": "../../../../build-info/0a240c453e0599ab5c44d242e6a30e63.json"
4
4
  }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../../build-info/f211b802294e8958d4ab3ed8cbf2371f.json"
3
+ "buildInfo": "../../../../build-info/0a240c453e0599ab5c44d242e6a30e63.json"
4
4
  }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../../build-info/f211b802294e8958d4ab3ed8cbf2371f.json"
3
+ "buildInfo": "../../../../build-info/0a240c453e0599ab5c44d242e6a30e63.json"
4
4
  }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../../build-info/f211b802294e8958d4ab3ed8cbf2371f.json"
3
+ "buildInfo": "../../../../build-info/0a240c453e0599ab5c44d242e6a30e63.json"
4
4
  }
@@ -3,8 +3,8 @@
3
3
  "contractName": "TypeALib",
4
4
  "sourceName": "contracts/experiment/types/TypeA.sol",
5
5
  "abi": [],
6
- "bytecode": "0x60566050600b82828239805160001a6073146043577f4e487b7100000000000000000000000000000000000000000000000000000000600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea2646970667358221220631fcbb9cdf05c22d0340bcc90e8220e3513b6efe9d2460153613f0ee92bc95b64736f6c63430008140033",
7
- "deployedBytecode": "0x73000000000000000000000000000000000000000030146080604052600080fdfea2646970667358221220631fcbb9cdf05c22d0340bcc90e8220e3513b6efe9d2460153613f0ee92bc95b64736f6c63430008140033",
6
+ "bytecode": "0x60566050600b82828239805160001a6073146043577f4e487b7100000000000000000000000000000000000000000000000000000000600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea26469706673582212201e1cbcf0df543f0db6566931f8d6a81e14882e4f3544737e41ed5f6d8306fdb264736f6c63430008140033",
7
+ "deployedBytecode": "0x73000000000000000000000000000000000000000030146080604052600080fdfea26469706673582212201e1cbcf0df543f0db6566931f8d6a81e14882e4f3544737e41ed5f6d8306fdb264736f6c63430008140033",
8
8
  "linkReferences": {},
9
9
  "deployedLinkReferences": {}
10
10
  }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../../build-info/f211b802294e8958d4ab3ed8cbf2371f.json"
3
+ "buildInfo": "../../../../build-info/0a240c453e0599ab5c44d242e6a30e63.json"
4
4
  }
@@ -3,8 +3,8 @@
3
3
  "contractName": "TypeBLib",
4
4
  "sourceName": "contracts/experiment/types/TypeB.sol",
5
5
  "abi": [],
6
- "bytecode": "0x60566050600b82828239805160001a6073146043577f4e487b7100000000000000000000000000000000000000000000000000000000600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea2646970667358221220ba12bbf5b38107a97ab834773cb7cc766833169e48de20a43a90102809418e7964736f6c63430008140033",
7
- "deployedBytecode": "0x73000000000000000000000000000000000000000030146080604052600080fdfea2646970667358221220ba12bbf5b38107a97ab834773cb7cc766833169e48de20a43a90102809418e7964736f6c63430008140033",
6
+ "bytecode": "0x60566050600b82828239805160001a6073146043577f4e487b7100000000000000000000000000000000000000000000000000000000600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea264697066735822122063ddcc0e8c51aef4df3595ef2579127006cc22df3ece8d046dde173b9731db5464736f6c63430008140033",
7
+ "deployedBytecode": "0x73000000000000000000000000000000000000000030146080604052600080fdfea264697066735822122063ddcc0e8c51aef4df3595ef2579127006cc22df3ece8d046dde173b9731db5464736f6c63430008140033",
8
8
  "linkReferences": {},
9
9
  "deployedLinkReferences": {}
10
10
  }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../build-info/f211b802294e8958d4ab3ed8cbf2371f.json"
3
+ "buildInfo": "../../../build-info/0a240c453e0599ab5c44d242e6a30e63.json"
4
4
  }
@@ -70,9 +70,9 @@
70
70
  {
71
71
  "inputs": [
72
72
  {
73
- "internalType": "uint256",
73
+ "internalType": "NftId",
74
74
  "name": "nftId",
75
- "type": "uint256"
75
+ "type": "uint96"
76
76
  }
77
77
  ],
78
78
  "name": "activate",
@@ -98,14 +98,14 @@
98
98
  {
99
99
  "components": [
100
100
  {
101
- "internalType": "uint256",
101
+ "internalType": "NftId",
102
102
  "name": "nftId",
103
- "type": "uint256"
103
+ "type": "uint96"
104
104
  },
105
105
  {
106
- "internalType": "uint256",
106
+ "internalType": "NftId",
107
107
  "name": "parentNftId",
108
- "type": "uint256"
108
+ "type": "uint96"
109
109
  },
110
110
  {
111
111
  "internalType": "uint256",
@@ -148,17 +148,17 @@
148
148
  "type": "uint256"
149
149
  },
150
150
  {
151
- "internalType": "uint256",
151
+ "internalType": "NftId",
152
152
  "name": "bundleNftId",
153
- "type": "uint256"
153
+ "type": "uint96"
154
154
  }
155
155
  ],
156
156
  "name": "createApplication",
157
157
  "outputs": [
158
158
  {
159
- "internalType": "uint256",
159
+ "internalType": "NftId",
160
160
  "name": "nftId",
161
- "type": "uint256"
161
+ "type": "uint96"
162
162
  }
163
163
  ],
164
164
  "stateMutability": "nonpayable",
@@ -167,9 +167,9 @@
167
167
  {
168
168
  "inputs": [
169
169
  {
170
- "internalType": "uint256",
170
+ "internalType": "NftId",
171
171
  "name": "nftId",
172
- "type": "uint256"
172
+ "type": "uint96"
173
173
  },
174
174
  {
175
175
  "internalType": "address",
@@ -235,17 +235,17 @@
235
235
  {
236
236
  "inputs": [
237
237
  {
238
- "internalType": "uint256",
238
+ "internalType": "NftId",
239
239
  "name": "nftId",
240
- "type": "uint256"
240
+ "type": "uint96"
241
241
  }
242
242
  ],
243
243
  "name": "getBundleNftForPolicy",
244
244
  "outputs": [
245
245
  {
246
- "internalType": "uint256",
246
+ "internalType": "NftId",
247
247
  "name": "bundleNft",
248
- "type": "uint256"
248
+ "type": "uint96"
249
249
  }
250
250
  ],
251
251
  "stateMutability": "view",
@@ -262,9 +262,9 @@
262
262
  "name": "getComponentId",
263
263
  "outputs": [
264
264
  {
265
- "internalType": "uint256",
266
- "name": "id",
267
- "type": "uint256"
265
+ "internalType": "NftId",
266
+ "name": "nftId",
267
+ "type": "uint96"
268
268
  }
269
269
  ],
270
270
  "stateMutability": "view",
@@ -281,9 +281,9 @@
281
281
  "name": "getComponentId",
282
282
  "outputs": [
283
283
  {
284
- "internalType": "uint256",
285
- "name": "id",
286
- "type": "uint256"
284
+ "internalType": "NftId",
285
+ "name": "nftId",
286
+ "type": "uint96"
287
287
  }
288
288
  ],
289
289
  "stateMutability": "view",
@@ -292,9 +292,9 @@
292
292
  {
293
293
  "inputs": [
294
294
  {
295
- "internalType": "uint256",
296
- "name": "id",
297
- "type": "uint256"
295
+ "internalType": "NftId",
296
+ "name": "nftId",
297
+ "type": "uint96"
298
298
  }
299
299
  ],
300
300
  "name": "getComponentInfo",
@@ -302,9 +302,9 @@
302
302
  {
303
303
  "components": [
304
304
  {
305
- "internalType": "uint256",
305
+ "internalType": "NftId",
306
306
  "name": "nftId",
307
- "type": "uint256"
307
+ "type": "uint96"
308
308
  },
309
309
  {
310
310
  "internalType": "enum IComponent.CState",
@@ -323,9 +323,9 @@
323
323
  {
324
324
  "inputs": [
325
325
  {
326
- "internalType": "uint256",
327
- "name": "id",
328
- "type": "uint256"
326
+ "internalType": "NftId",
327
+ "name": "nftId",
328
+ "type": "uint96"
329
329
  }
330
330
  ],
331
331
  "name": "getComponentOwner",
@@ -383,9 +383,9 @@
383
383
  "name": "getNftId",
384
384
  "outputs": [
385
385
  {
386
- "internalType": "uint256",
386
+ "internalType": "NftId",
387
387
  "name": "nftId",
388
- "type": "uint256"
388
+ "type": "uint96"
389
389
  }
390
390
  ],
391
391
  "stateMutability": "view",
@@ -409,9 +409,9 @@
409
409
  "name": "getParentNftId",
410
410
  "outputs": [
411
411
  {
412
- "internalType": "uint256",
412
+ "internalType": "NftId",
413
413
  "name": "parentNftId",
414
- "type": "uint256"
414
+ "type": "uint96"
415
415
  }
416
416
  ],
417
417
  "stateMutability": "view",
@@ -420,9 +420,9 @@
420
420
  {
421
421
  "inputs": [
422
422
  {
423
- "internalType": "uint256",
423
+ "internalType": "NftId",
424
424
  "name": "nftId",
425
- "type": "uint256"
425
+ "type": "uint96"
426
426
  }
427
427
  ],
428
428
  "name": "getPolicyInfo",
@@ -430,9 +430,9 @@
430
430
  {
431
431
  "components": [
432
432
  {
433
- "internalType": "uint256",
433
+ "internalType": "NftId",
434
434
  "name": "nftId",
435
- "type": "uint256"
435
+ "type": "uint96"
436
436
  },
437
437
  {
438
438
  "internalType": "enum IPolicy.PolicyState",
@@ -486,9 +486,9 @@
486
486
  {
487
487
  "inputs": [
488
488
  {
489
- "internalType": "uint256",
489
+ "internalType": "NftId",
490
490
  "name": "nftId",
491
- "type": "uint256"
491
+ "type": "uint96"
492
492
  }
493
493
  ],
494
494
  "name": "getPoolInfo",
@@ -496,9 +496,9 @@
496
496
  {
497
497
  "components": [
498
498
  {
499
- "internalType": "uint256",
499
+ "internalType": "NftId",
500
500
  "name": "nftId",
501
- "type": "uint256"
501
+ "type": "uint96"
502
502
  },
503
503
  {
504
504
  "internalType": "address",
@@ -532,17 +532,17 @@
532
532
  {
533
533
  "inputs": [
534
534
  {
535
- "internalType": "uint256",
535
+ "internalType": "NftId",
536
536
  "name": "productNftId",
537
- "type": "uint256"
537
+ "type": "uint96"
538
538
  }
539
539
  ],
540
540
  "name": "getPoolNftId",
541
541
  "outputs": [
542
542
  {
543
- "internalType": "uint256",
543
+ "internalType": "NftId",
544
544
  "name": "poolNftId",
545
- "type": "uint256"
545
+ "type": "uint96"
546
546
  }
547
547
  ],
548
548
  "stateMutability": "view",
@@ -790,9 +790,9 @@
790
790
  "name": "register",
791
791
  "outputs": [
792
792
  {
793
- "internalType": "uint256",
793
+ "internalType": "NftId",
794
794
  "name": "nftId",
795
- "type": "uint256"
795
+ "type": "uint96"
796
796
  }
797
797
  ],
798
798
  "stateMutability": "nonpayable",
@@ -809,9 +809,9 @@
809
809
  "name": "registerComponent",
810
810
  "outputs": [
811
811
  {
812
- "internalType": "uint256",
813
- "name": "nftInfo",
814
- "type": "uint256"
812
+ "internalType": "NftId",
813
+ "name": "nftId",
814
+ "type": "uint96"
815
815
  }
816
816
  ],
817
817
  "stateMutability": "nonpayable",
@@ -840,9 +840,9 @@
840
840
  {
841
841
  "components": [
842
842
  {
843
- "internalType": "uint256",
843
+ "internalType": "NftId",
844
844
  "name": "nftId",
845
- "type": "uint256"
845
+ "type": "uint96"
846
846
  },
847
847
  {
848
848
  "internalType": "enum IComponent.CState",
@@ -858,9 +858,9 @@
858
858
  "name": "setComponentInfo",
859
859
  "outputs": [
860
860
  {
861
- "internalType": "uint256",
862
- "name": "componentId",
863
- "type": "uint256"
861
+ "internalType": "NftId",
862
+ "name": "componentNftId",
863
+ "type": "uint96"
864
864
  }
865
865
  ],
866
866
  "stateMutability": "nonpayable",
@@ -869,14 +869,14 @@
869
869
  {
870
870
  "inputs": [
871
871
  {
872
- "internalType": "uint256",
872
+ "internalType": "NftId",
873
873
  "name": "poolNftId",
874
- "type": "uint256"
874
+ "type": "uint96"
875
875
  },
876
876
  {
877
- "internalType": "uint256",
877
+ "internalType": "NftId",
878
878
  "name": "policyNftId",
879
- "type": "uint256"
879
+ "type": "uint96"
880
880
  }
881
881
  ],
882
882
  "name": "underwrite",
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../build-info/f211b802294e8958d4ab3ed8cbf2371f.json"
3
+ "buildInfo": "../../../build-info/0a240c453e0599ab5c44d242e6a30e63.json"
4
4
  }