@etherisc/gif-next 0.0.2-cc4a5cb-898 → 0.0.2-cd89a0b-062

Sign up to get free protection for your applications and to get access to all the features.
Files changed (230) hide show
  1. package/README.md +40 -25
  2. package/artifacts/contracts/components/BaseComponent.sol/BaseComponent.dbg.json +1 -1
  3. package/artifacts/contracts/components/BaseComponent.sol/BaseComponent.json +80 -41
  4. package/artifacts/contracts/components/Distribution.sol/Distribution.dbg.json +1 -1
  5. package/artifacts/contracts/components/Distribution.sol/Distribution.json +101 -61
  6. package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.dbg.json +1 -1
  7. package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.json +43 -40
  8. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.dbg.json +1 -1
  9. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.json +55 -52
  10. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.dbg.json +1 -1
  11. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.json +100 -113
  12. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.dbg.json +1 -1
  13. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.json +50 -47
  14. package/artifacts/contracts/components/Pool.sol/Pool.dbg.json +1 -1
  15. package/artifacts/contracts/components/Pool.sol/Pool.json +150 -126
  16. package/artifacts/contracts/components/Product.sol/Product.dbg.json +1 -1
  17. package/artifacts/contracts/components/Product.sol/Product.json +110 -52
  18. package/artifacts/contracts/experiment/errors/Require.sol/Require.dbg.json +1 -1
  19. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.dbg.json +1 -1
  20. package/artifacts/contracts/experiment/inheritance/A.sol/A.dbg.json +1 -1
  21. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.dbg.json +1 -1
  22. package/artifacts/contracts/experiment/inheritance/B.sol/B.dbg.json +1 -1
  23. package/artifacts/contracts/experiment/inheritance/C.sol/C.dbg.json +1 -1
  24. package/artifacts/contracts/experiment/inheritance/IA.sol/IA.dbg.json +1 -1
  25. package/artifacts/contracts/experiment/inheritance/IA.sol/ISharedA.dbg.json +1 -1
  26. package/artifacts/contracts/experiment/inheritance/IB.sol/IB.dbg.json +1 -1
  27. package/artifacts/contracts/experiment/inheritance/IC.sol/IC.dbg.json +1 -1
  28. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.dbg.json +1 -1
  29. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.dbg.json +1 -1
  30. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.dbg.json +1 -1
  31. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.dbg.json +1 -1
  32. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.dbg.json +1 -1
  33. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.dbg.json +1 -1
  34. package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.dbg.json +1 -1
  35. package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
  36. package/artifacts/contracts/instance/IInstance.sol/IInstance.json +256 -91
  37. package/artifacts/contracts/instance/IInstanceLinked.sol/IInstanceLinked.dbg.json +1 -1
  38. package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
  39. package/artifacts/contracts/instance/Instance.sol/Instance.json +364 -170
  40. package/artifacts/contracts/instance/base/ComponentServiceBase.sol/ComponentServiceBase.dbg.json +1 -1
  41. package/artifacts/contracts/instance/base/ComponentServiceBase.sol/ComponentServiceBase.json +139 -46
  42. package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.dbg.json +1 -1
  43. package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.json +1 -1
  44. package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.dbg.json +1 -1
  45. package/artifacts/contracts/instance/base/ILifecycle.sol/ILifecycle.dbg.json +1 -1
  46. package/artifacts/contracts/instance/base/IService.sol/IService.dbg.json +1 -1
  47. package/artifacts/contracts/instance/base/IService.sol/IService.json +99 -55
  48. package/artifacts/contracts/instance/base/InstanceBase.sol/InstanceBase.dbg.json +1 -1
  49. package/artifacts/contracts/instance/base/InstanceBase.sol/InstanceBase.json +139 -59
  50. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.dbg.json +1 -1
  51. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.dbg.json +1 -1
  52. package/artifacts/contracts/instance/base/ModuleBase.sol/ModuleBase.dbg.json +1 -1
  53. package/artifacts/contracts/instance/base/ServiceBase.sol/ServiceBase.dbg.json +1 -1
  54. package/artifacts/contracts/instance/base/ServiceBase.sol/ServiceBase.json +135 -55
  55. package/artifacts/contracts/instance/module/access/Access.sol/AccessModule.dbg.json +1 -1
  56. package/artifacts/contracts/instance/module/access/IAccess.sol/IAccess.dbg.json +1 -1
  57. package/artifacts/contracts/instance/module/access/IAccess.sol/IAccessModule.dbg.json +1 -1
  58. package/artifacts/contracts/instance/module/bundle/BundleModule.sol/BundleModule.dbg.json +1 -1
  59. package/artifacts/contracts/instance/module/bundle/IBundle.sol/IBundle.dbg.json +1 -1
  60. package/artifacts/contracts/instance/module/bundle/IBundle.sol/IBundleModule.dbg.json +1 -1
  61. package/artifacts/contracts/instance/module/component/ComponentModule.sol/ComponentModule.dbg.json +1 -1
  62. package/artifacts/contracts/instance/module/component/IComponent.sol/IComponent.dbg.json +1 -1
  63. package/artifacts/contracts/instance/module/component/IComponent.sol/IComponentModule.dbg.json +1 -1
  64. package/artifacts/contracts/instance/module/distribution/DistributionModule.sol/DistributionModule.dbg.json +1 -1
  65. package/artifacts/contracts/instance/module/distribution/DistributionModule.sol/DistributionModule.json +2 -2
  66. package/artifacts/contracts/instance/module/distribution/IDistribution.sol/IDistribution.dbg.json +1 -1
  67. package/artifacts/contracts/instance/module/distribution/IDistribution.sol/IDistributionModule.dbg.json +1 -1
  68. package/artifacts/contracts/instance/module/policy/IPolicy.sol/IPolicy.dbg.json +1 -1
  69. package/artifacts/contracts/instance/module/policy/IPolicy.sol/IPolicyModule.dbg.json +1 -1
  70. package/artifacts/contracts/instance/module/policy/PolicyModule.sol/PolicyModule.dbg.json +1 -1
  71. package/artifacts/contracts/instance/module/pool/IPoolModule.sol/IPool.dbg.json +1 -1
  72. package/artifacts/contracts/instance/module/pool/IPoolModule.sol/IPoolModule.dbg.json +1 -1
  73. package/artifacts/contracts/instance/module/pool/IPoolModule.sol/IPoolModule.json +29 -9
  74. package/artifacts/contracts/instance/module/pool/PoolModule.sol/PoolModule.dbg.json +1 -1
  75. package/artifacts/contracts/instance/module/pool/PoolModule.sol/PoolModule.json +28 -8
  76. package/artifacts/contracts/instance/module/risk/IRisk.sol/IRisk.dbg.json +1 -1
  77. package/artifacts/contracts/instance/module/risk/IRisk.sol/IRiskModule.dbg.json +1 -1
  78. package/artifacts/contracts/instance/module/risk/RiskModule.sol/RiskModule.dbg.json +1 -1
  79. package/artifacts/contracts/instance/module/risk/RiskModule.sol/RiskModule.json +2 -2
  80. package/artifacts/contracts/instance/module/treasury/ITreasury.sol/ITreasury.dbg.json +1 -1
  81. package/artifacts/contracts/instance/module/treasury/ITreasury.sol/ITreasuryModule.dbg.json +1 -1
  82. package/artifacts/contracts/instance/module/treasury/ITreasury.sol/ITreasuryModule.json +138 -11
  83. package/artifacts/contracts/instance/module/treasury/TokenHandler.sol/TokenHandler.dbg.json +1 -1
  84. package/artifacts/contracts/instance/module/treasury/TokenHandler.sol/TokenHandler.json +2 -2
  85. package/artifacts/contracts/instance/module/treasury/TreasuryModule.sol/TreasuryModule.dbg.json +1 -1
  86. package/artifacts/contracts/instance/module/treasury/TreasuryModule.sol/TreasuryModule.json +138 -11
  87. package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.dbg.json +1 -1
  88. package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.json +245 -86
  89. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.dbg.json +1 -1
  90. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.json +167 -61
  91. package/artifacts/contracts/instance/service/IComponentOwnerService.sol/IComponentOwnerService.dbg.json +1 -1
  92. package/artifacts/contracts/instance/service/IComponentOwnerService.sol/IComponentOwnerService.json +99 -74
  93. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.dbg.json +1 -1
  94. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.json +99 -55
  95. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.dbg.json +1 -1
  96. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.json +104 -60
  97. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.dbg.json +1 -1
  98. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.json +104 -60
  99. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.dbg.json +1 -1
  100. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.json +169 -63
  101. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.dbg.json +1 -1
  102. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.json +197 -91
  103. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
  104. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +141 -12
  105. package/artifacts/contracts/registry/IChainNft.sol/IChainNft.dbg.json +1 -1
  106. package/artifacts/contracts/registry/IChainNft.sol/IChainNft.json +5 -0
  107. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
  108. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +293 -40
  109. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +4 -0
  110. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +668 -0
  111. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +4 -0
  112. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.json +34 -0
  113. package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
  114. package/artifacts/contracts/registry/Registry.sol/Registry.json +483 -120
  115. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +4 -0
  116. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +885 -0
  117. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +4 -0
  118. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +460 -0
  119. package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.dbg.json +4 -0
  120. package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.json +107 -0
  121. package/artifacts/contracts/shared/ERC165.sol/ERC165.dbg.json +1 -1
  122. package/artifacts/contracts/shared/ERC165.sol/ERC165.json +2 -2
  123. package/artifacts/contracts/shared/IOwnable.sol/IOwnable.dbg.json +1 -1
  124. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
  125. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +43 -40
  126. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.dbg.json +1 -1
  127. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.json +55 -14
  128. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +4 -0
  129. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +132 -0
  130. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.dbg.json +4 -0
  131. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.json +344 -0
  132. package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
  133. package/artifacts/contracts/shared/Registerable.sol/Registerable.json +76 -37
  134. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +4 -0
  135. package/artifacts/contracts/shared/{Proxy.sol/ProxyWithProxyAdminGetter.json → UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json} +4 -4
  136. package/artifacts/contracts/shared/Versionable.sol/Versionable.dbg.json +1 -1
  137. package/artifacts/contracts/shared/Versionable.sol/Versionable.json +78 -14
  138. package/artifacts/contracts/test/TestDistribution.sol/TestDistribution.dbg.json +1 -1
  139. package/artifacts/contracts/test/TestDistribution.sol/TestDistribution.json +101 -61
  140. package/artifacts/contracts/test/TestFee.sol/TestFee.dbg.json +1 -1
  141. package/artifacts/contracts/test/TestPool.sol/TestPool.dbg.json +1 -1
  142. package/artifacts/contracts/test/TestPool.sol/TestPool.json +150 -126
  143. package/artifacts/contracts/test/TestProduct.sol/TestProduct.dbg.json +1 -1
  144. package/artifacts/contracts/test/TestProduct.sol/TestProduct.json +115 -58
  145. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.dbg.json +1 -1
  146. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.json +93 -39
  147. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.dbg.json +1 -1
  148. package/artifacts/contracts/test/TestService.sol/TestService.dbg.json +1 -1
  149. package/artifacts/contracts/test/TestService.sol/TestService.json +161 -68
  150. package/artifacts/contracts/test/TestToken.sol/TestUsdc.dbg.json +1 -1
  151. package/artifacts/contracts/test/TestVersion.sol/TestVersion.dbg.json +1 -1
  152. package/artifacts/contracts/test/TestVersion.sol/TestVersion.json +2 -2
  153. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.dbg.json +1 -1
  154. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.json +89 -25
  155. package/artifacts/contracts/test/Usdc.sol/USDC.dbg.json +1 -1
  156. package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.dbg.json +1 -1
  157. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.dbg.json +1 -1
  158. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.dbg.json +1 -1
  159. package/artifacts/contracts/types/Fee.sol/FeeLib.dbg.json +1 -1
  160. package/artifacts/contracts/types/Key32.sol/Key32Lib.dbg.json +1 -1
  161. package/artifacts/contracts/types/NftId.sol/NftIdLib.dbg.json +1 -1
  162. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.dbg.json +1 -1
  163. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.dbg.json +1 -1
  164. package/artifacts/contracts/types/ReferralId.sol/ReferralIdLib.dbg.json +1 -1
  165. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.dbg.json +1 -1
  166. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.dbg.json +1 -1
  167. package/artifacts/contracts/types/StateId.sol/StateIdLib.dbg.json +1 -1
  168. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.dbg.json +1 -1
  169. package/artifacts/contracts/types/UFixed.sol/UFixedMathLib.dbg.json +1 -1
  170. package/artifacts/contracts/types/Version.sol/VersionLib.dbg.json +1 -1
  171. package/artifacts/contracts/types/Version.sol/VersionLib.json +40 -2
  172. package/artifacts/contracts/types/Version.sol/VersionPartLib.dbg.json +1 -1
  173. package/artifacts/contracts/types/Version.sol/VersionPartLib.json +2 -2
  174. package/contracts/components/BaseComponent.sol +12 -27
  175. package/contracts/components/Distribution.sol +29 -6
  176. package/contracts/components/IBaseComponent.sol +2 -2
  177. package/contracts/components/IPoolComponent.sol +2 -8
  178. package/contracts/components/IProductComponent.sol +2 -1
  179. package/contracts/components/Pool.sol +84 -73
  180. package/contracts/components/Product.sol +85 -13
  181. package/contracts/instance/IInstance.sol +4 -3
  182. package/contracts/instance/Instance.sol +14 -3
  183. package/contracts/instance/base/ComponentServiceBase.sol +13 -6
  184. package/contracts/instance/base/IInstanceBase.sol +3 -2
  185. package/contracts/instance/base/InstanceBase.sol +6 -8
  186. package/contracts/instance/base/ServiceBase.sol +19 -13
  187. package/contracts/instance/module/component/ComponentModule.sol +5 -4
  188. package/contracts/instance/module/component/IComponent.sol +2 -2
  189. package/contracts/instance/module/pool/IPoolModule.sol +4 -3
  190. package/contracts/instance/module/pool/PoolModule.sol +12 -7
  191. package/contracts/instance/module/treasury/ITreasury.sol +7 -5
  192. package/contracts/instance/module/treasury/TokenHandler.sol +2 -2
  193. package/contracts/instance/module/treasury/TreasuryModule.sol +21 -28
  194. package/contracts/instance/service/ComponentOwnerService.sol +181 -66
  195. package/contracts/instance/service/DistributionService.sol +6 -11
  196. package/contracts/instance/service/IComponentOwnerService.sol +0 -2
  197. package/contracts/instance/service/PoolService.sol +19 -19
  198. package/contracts/instance/service/ProductService.sol +20 -20
  199. package/contracts/registry/ChainNft.sol +43 -15
  200. package/contracts/registry/IChainNft.sol +3 -2
  201. package/contracts/registry/IRegistry.sol +44 -28
  202. package/contracts/registry/IRegistryService.sol +29 -0
  203. package/contracts/registry/ITransferInterceptor.sol +6 -0
  204. package/contracts/registry/Registry.sol +382 -273
  205. package/contracts/registry/RegistryService.sol +375 -0
  206. package/contracts/registry/RegistryServiceManager.sol +52 -0
  207. package/contracts/shared/ContractDeployerLib.sol +72 -0
  208. package/contracts/shared/ERC165.sol +1 -1
  209. package/contracts/shared/IRegisterable.sol +7 -9
  210. package/contracts/shared/IVersionable.sol +55 -11
  211. package/contracts/shared/NftOwnable.sol +87 -0
  212. package/contracts/shared/ProxyManager.sol +103 -0
  213. package/contracts/shared/Registerable.sol +74 -43
  214. package/contracts/shared/UpgradableProxyWithAdmin.sol +16 -0
  215. package/contracts/shared/Versionable.sol +112 -54
  216. package/contracts/test/TestDistribution.sol +3 -2
  217. package/contracts/test/TestPool.sol +4 -2
  218. package/contracts/test/TestProduct.sol +4 -2
  219. package/contracts/test/TestRegisterable.sol +5 -6
  220. package/contracts/test/TestService.sol +5 -11
  221. package/contracts/types/Version.sol +9 -0
  222. package/package.json +1 -1
  223. package/artifacts/contracts/registry/IRegistryLinked.sol/IRegistryLinked.dbg.json +0 -4
  224. package/artifacts/contracts/registry/IRegistryLinked.sol/IRegistryLinked.json +0 -24
  225. package/artifacts/contracts/shared/Proxy.sol/Proxy.dbg.json +0 -4
  226. package/artifacts/contracts/shared/Proxy.sol/Proxy.json +0 -178
  227. package/artifacts/contracts/shared/Proxy.sol/ProxyWithProxyAdminGetter.dbg.json +0 -4
  228. package/contracts/experiment/statemachine/README.md +0 -112
  229. package/contracts/registry/IRegistryLinked.sol +0 -8
  230. package/contracts/shared/Proxy.sol +0 -83
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../../build-info/1a42edd98eb9f337c509f79259ca2d18.json"
3
+ "buildInfo": "../../../../build-info/fb3a98c31eed59ef653e03c45b04f993.json"
4
4
  }
@@ -14,11 +14,39 @@
14
14
  "internalType": "NftId",
15
15
  "name": "registryNftId",
16
16
  "type": "uint96"
17
+ },
18
+ {
19
+ "internalType": "address",
20
+ "name": "initialOwner",
21
+ "type": "address"
17
22
  }
18
23
  ],
19
24
  "stateMutability": "nonpayable",
20
25
  "type": "constructor"
21
26
  },
27
+ {
28
+ "inputs": [],
29
+ "name": "InvalidInitialization",
30
+ "type": "error"
31
+ },
32
+ {
33
+ "inputs": [],
34
+ "name": "NotInitializing",
35
+ "type": "error"
36
+ },
37
+ {
38
+ "anonymous": false,
39
+ "inputs": [
40
+ {
41
+ "indexed": false,
42
+ "internalType": "uint64",
43
+ "name": "version",
44
+ "type": "uint64"
45
+ }
46
+ ],
47
+ "name": "Initialized",
48
+ "type": "event"
49
+ },
22
50
  {
23
51
  "anonymous": false,
24
52
  "inputs": [
@@ -41,7 +69,7 @@
41
69
  "type": "address"
42
70
  }
43
71
  ],
44
- "name": "LogVersionableActivated",
72
+ "name": "LogVersionableInitialized",
45
73
  "type": "event"
46
74
  },
47
75
  {
@@ -58,27 +86,64 @@
58
86
  "type": "function"
59
87
  },
60
88
  {
61
- "inputs": [
62
- {
63
- "internalType": "address",
64
- "name": "implementation",
65
- "type": "address"
66
- },
89
+ "inputs": [],
90
+ "name": "REGISTERABLE_LOCATION_V1",
91
+ "outputs": [
67
92
  {
68
- "internalType": "address",
69
- "name": "activatedBy",
70
- "type": "address"
93
+ "internalType": "bytes32",
94
+ "name": "",
95
+ "type": "bytes32"
71
96
  }
72
97
  ],
73
- "name": "activate",
74
- "outputs": [],
75
- "stateMutability": "nonpayable",
98
+ "stateMutability": "view",
76
99
  "type": "function"
77
100
  },
78
101
  {
79
102
  "inputs": [],
80
- "name": "getData",
103
+ "name": "getInitialInfo",
81
104
  "outputs": [
105
+ {
106
+ "components": [
107
+ {
108
+ "internalType": "NftId",
109
+ "name": "nftId",
110
+ "type": "uint96"
111
+ },
112
+ {
113
+ "internalType": "NftId",
114
+ "name": "parentNftId",
115
+ "type": "uint96"
116
+ },
117
+ {
118
+ "internalType": "ObjectType",
119
+ "name": "objectType",
120
+ "type": "uint8"
121
+ },
122
+ {
123
+ "internalType": "bool",
124
+ "name": "isInterceptor",
125
+ "type": "bool"
126
+ },
127
+ {
128
+ "internalType": "address",
129
+ "name": "objectAddress",
130
+ "type": "address"
131
+ },
132
+ {
133
+ "internalType": "address",
134
+ "name": "initialOwner",
135
+ "type": "address"
136
+ },
137
+ {
138
+ "internalType": "bytes",
139
+ "name": "data",
140
+ "type": "bytes"
141
+ }
142
+ ],
143
+ "internalType": "struct IRegistry.ObjectInfo",
144
+ "name": "",
145
+ "type": "tuple"
146
+ },
82
147
  {
83
148
  "internalType": "bytes",
84
149
  "name": "data",
@@ -88,6 +153,19 @@
88
153
  "stateMutability": "view",
89
154
  "type": "function"
90
155
  },
156
+ {
157
+ "inputs": [],
158
+ "name": "getInitializedVersion",
159
+ "outputs": [
160
+ {
161
+ "internalType": "uint64",
162
+ "name": "",
163
+ "type": "uint64"
164
+ }
165
+ ],
166
+ "stateMutability": "view",
167
+ "type": "function"
168
+ },
91
169
  {
92
170
  "inputs": [],
93
171
  "name": "getMajorVersion",
@@ -133,26 +211,13 @@
133
211
  "outputs": [
134
212
  {
135
213
  "internalType": "address",
136
- "name": "owner",
214
+ "name": "",
137
215
  "type": "address"
138
216
  }
139
217
  ],
140
218
  "stateMutability": "view",
141
219
  "type": "function"
142
220
  },
143
- {
144
- "inputs": [],
145
- "name": "getParentNftId",
146
- "outputs": [
147
- {
148
- "internalType": "NftId",
149
- "name": "nftId",
150
- "type": "uint96"
151
- }
152
- ],
153
- "stateMutability": "view",
154
- "type": "function"
155
- },
156
221
  {
157
222
  "inputs": [],
158
223
  "name": "getRegistry",
@@ -168,15 +233,15 @@
168
233
  },
169
234
  {
170
235
  "inputs": [],
171
- "name": "getType",
236
+ "name": "getRegistryService",
172
237
  "outputs": [
173
238
  {
174
- "internalType": "ObjectType",
239
+ "internalType": "contract IRegistryService",
175
240
  "name": "",
176
- "type": "uint8"
241
+ "type": "address"
177
242
  }
178
243
  ],
179
- "stateMutability": "pure",
244
+ "stateMutability": "view",
180
245
  "type": "function"
181
246
  },
182
247
  {
@@ -270,6 +335,29 @@
270
335
  "stateMutability": "view",
271
336
  "type": "function"
272
337
  },
338
+ {
339
+ "inputs": [
340
+ {
341
+ "internalType": "address",
342
+ "name": "implementation",
343
+ "type": "address"
344
+ },
345
+ {
346
+ "internalType": "address",
347
+ "name": "activatedBy",
348
+ "type": "address"
349
+ },
350
+ {
351
+ "internalType": "bytes",
352
+ "name": "data",
353
+ "type": "bytes"
354
+ }
355
+ ],
356
+ "name": "initialize",
357
+ "outputs": [],
358
+ "stateMutability": "nonpayable",
359
+ "type": "function"
360
+ },
273
361
  {
274
362
  "inputs": [
275
363
  {
@@ -278,7 +366,7 @@
278
366
  "type": "uint24"
279
367
  }
280
368
  ],
281
- "name": "isActivated",
369
+ "name": "isInitialized",
282
370
  "outputs": [
283
371
  {
284
372
  "internalType": "bool",
@@ -289,19 +377,6 @@
289
377
  "stateMutability": "view",
290
378
  "type": "function"
291
379
  },
292
- {
293
- "inputs": [],
294
- "name": "register",
295
- "outputs": [
296
- {
297
- "internalType": "NftId",
298
- "name": "nftId",
299
- "type": "uint96"
300
- }
301
- ],
302
- "stateMutability": "nonpayable",
303
- "type": "function"
304
- },
305
380
  {
306
381
  "inputs": [
307
382
  {
@@ -345,20 +420,39 @@
345
420
  ],
346
421
  "stateMutability": "view",
347
422
  "type": "function"
423
+ },
424
+ {
425
+ "inputs": [
426
+ {
427
+ "internalType": "address",
428
+ "name": "implementation",
429
+ "type": "address"
430
+ },
431
+ {
432
+ "internalType": "address",
433
+ "name": "activatedBy",
434
+ "type": "address"
435
+ },
436
+ {
437
+ "internalType": "bytes",
438
+ "name": "data",
439
+ "type": "bytes"
440
+ }
441
+ ],
442
+ "name": "upgrade",
443
+ "outputs": [],
444
+ "stateMutability": "nonpayable",
445
+ "type": "function"
348
446
  }
349
447
  ],
350
- "bytecode": "0x60e06040523480156200001157600080fd5b5060405162001fb338038062001fb3833981016040819052620000349162000760565b6301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff191660011790558181818181816001600160a01b038216620000d25760405162461bcd60e51b815260206004820152601b60248201527f4552524f523a5247422d3031303a52454749535452595f5a45524f000000000060448201526064015b60405180910390fd5b6001600160a01b03821660808190526040516301ffc9a760e01b81526306ecd8ef60e01b60048201526301ffc9a790602401602060405180830381865afa15801562000122573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620001489190620007b5565b620001965760405162461bcd60e51b815260206004820152601a60248201527f4552524f523a5247422d3031313a4e4f545f52454749535452590000000000006044820152606401620000c9565b6001600160601b03811660a081905260805160405163e74d052f60e01b815260048101929092526001600160a01b03169063e74d052f90602401602060405180830381865afa158015620001ee573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620002149190620007b5565b6200026e5760405162461bcd60e51b815260206004820152602360248201527f4552524f523a5247422d3031323a504152454e545f4e4f545f5245474953544560448201526214915160ea1b6064820152608401620000c9565b3360c052631dfba64760e11b60009081526020527f95e5a2564f7af40498dc043c6da135e06324c5edb1f60c2bf4dcdf2da207fa45805460ff1916600117905550620002be905060003362000343565b631b4612f160e31b60009081526020527ffc58a5a01198e68c5a5d0bcd463f9ab550fc4337b1df271aed6dbb33d25fef25805460ff191660011790555050505062000316631fa9607b60e11b6200031e60201b60201c565b505062000859565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b60006200034f6200061b565b90506200035c81620006a8565b15620003bb5760405162461bcd60e51b815260206004820152602760248201527f4552524f523a56524e2d3030313a56455253494f4e5f414c52454144595f41436044820152661512559055115160ca1b6064820152608401620000c9565b600254156200047c576002805460009190620003da90600190620007e0565b81548110620003ed57620003ed62000802565b90600052602060002090600a91828204019190066003029054906101000a900462ffffff1690506200042082826200074e565b6200047a5760405162461bcd60e51b8152602060048201526024808201527f4552524f523a56524e2d3030323a56455253494f4e5f4e4f545f494e4352454160448201526353494e4760e01b6064820152608401620000c9565b505b60028054600181018255600091909152600a8082047f405787fa12a823e0f2b7631cc41b3ba8828b3321ca811111fa75cd3aa3bb5ace01805462ffffff808616600394909506939093026101000a848102930219169190911790556040805160a0810182529182526001600160a01b03808616602084015284169082015260608101620005064290565b64ffffffffff1681526020014363ffffffff90811690915262ffffff80841660009081526001602081815260409283902086518154928801516001600160a01b039081166301000000026001600160b81b0319909416919096161791909117815585830151910180546060870151608090970151909516600160c81b0263ffffffff60c81b1964ffffffffff909716600160a01b026001600160c81b031990961692909416919091179390931793909316179055517f68e7327fca0057a787cde34ababb9ef9844ba8065ee03e8781d8122fc15d4419906200060e9083908690869062ffffff9390931683526001600160a01b03918216602084015216604082015260600190565b60405180910390a1505050565b604051632efe011360e01b815260036004820152600060248201819052604482018190529073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af41580156200067d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620006a3919062000818565b905090565b62ffffff81166000908152600160208190526040808320909101549051631bbffab160e21b8152600160c81b90910463ffffffff166004820152819073__$5f476116ae21c5294e0c0761c07efa7e1c$__90636effeac490602401602060405180830381865af415801562000721573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200074791906200083f565b1192915050565b62ffffff808216908316115b92915050565b600080604083850312156200077457600080fd5b82516001600160a01b03811681146200078c57600080fd5b60208401519092506001600160601b0381168114620007aa57600080fd5b809150509250929050565b600060208284031215620007c857600080fd5b81518015158114620007d957600080fd5b9392505050565b818103818111156200075a57634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b6000602082840312156200082b57600080fd5b815162ffffff81168114620007d957600080fd5b6000602082840312156200085257600080fd5b5051919050565b60805160a05160c0516116f9620008ba60003960006108b3015260006101fb015260008181610359015281816105c3015281816107c301528181610834015281816108f601528181610ae401528181610c400152610d3601526116f96000f3fe608060405234801561001057600080fd5b50600436106101165760003560e01c80634d459c90116100a2578063946dfcfe11610071578063946dfcfe146103a15780639555c4db146103b2578063a3f4df7e146103c5578063b88da759146103f7578063cde749f41461040a57600080fd5b80634d459c90146102485780635ab1bd5314610357578063644c45e014610391578063893d20e81461039957600080fd5b806317d7de7c116100e957806317d7de7c146101a15780631aa3a008146101d957806331b62a3b146101f95780633bc5de301461021f5780633f52c0f61461023357600080fd5b806301ffc9a71461011b5780630abd84341461015d5780630d8e6e2c1461017057806315dae03e1461018c575b600080fd5b61014861012936600461109f565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b61014861016b3660046110e4565b610412565b6101786104b5565b60405162ffffff9091168152602001610154565b60285b60405160ff9091168152602001610154565b604080518082019091526013815272446973747269627574696f6e5365727669636560681b60208201525b6040516101549190611151565b6101e161053f565b6040516001600160601b039091168152602001610154565b7f00000000000000000000000000000000000000000000000000000000000000006101e1565b6040805160208101909152600081526101cc565b6102466102413660046111ea565b610638565b005b6102fa6102563660046110e4565b6040805160a0810182526000808252602082018190529181018290526060810182905260808101919091525062ffffff908116600090815260016020818152604092839020835160a0810185528154958616815263010000009095046001600160a01b03908116928601929092529091015490811691830191909152600160a01b810464ffffffffff166060830152600160c81b900463ffffffff16608082015290565b60408051825162ffffff1681526020808401516001600160a01b039081169183019190915283830151169181019190915260608083015164ffffffffff169082015260809182015163ffffffff169181019190915260a001610154565b7f00000000000000000000000000000000000000000000000000000000000000005b6040516001600160a01b039091168152602001610154565b6101e16107ab565b610379610812565b600254604051908152602001610154565b6102466103c0366004611231565b61096f565b6101cc60405180604001604052806013815260200172446973747269627574696f6e5365727669636560681b81525081565b61017861040536600461126a565b61097d565b61018f6109be565b62ffffff81166000908152600160208190526040808320909101549051631bbffab160e21b8152600160c81b90910463ffffffff166004820152819073__$5f476116ae21c5294e0c0761c07efa7e1c$__90636effeac490602401602060405180830381865af415801561048a573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104ae9190611283565b1192915050565b604051632efe011360e01b815260036004820152600060248201819052604482018190529073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af4158015610516573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061053a919061129c565b905090565b6000610549610812565b6001600160a01b0316336001600160a01b0316146105ae5760405162461bcd60e51b815260206004820152601760248201527f4552524f523a5247422d3030313a4e4f545f4f574e455200000000000000000060448201526064015b60405180910390fd5b604051632210724360e11b81523060048201527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031690634420e486906024016020604051808303816000875af1158015610614573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061053a91906112d5565b6000806106456078610a9b565b8151604051639ae31ff560e01b81526001600160601b03909116600482015291935091506000906001600160a01b03831690639ae31ff590602401602060405180830381865afa15801561069d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106c191906112d5565b60405163f2b246c360e01b81526001600160601b03821660048201529091506000906001600160a01b0384169063f2b246c3906024016101e060405180830381865afa158015610715573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610739919061132b565b61010081018690526040516306a5298b60e01b81529091506001600160a01b038416906306a5298b9061077290859085906004016113ea565b600060405180830381600087803b15801561078c57600080fd5b505af11580156107a0573d6000803e3d6000fd5b505050505050505050565b604051636939560f60e11b81523060048201526000907f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169063d272ac1e90602401602060405180830381865afa158015610614573d6000803e3d6000fd5b604051636939560f60e11b815230600482015260009081906001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063d272ac1e90602401602060405180830381865afa15801561087b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061089f91906112d5565b90506108ac816000610dbb565b156108d8577f000000000000000000000000000000000000000000000000000000000000000091505090565b60405163df33330b60e01b81526001600160601b03821660048201527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169063df33330b90602401602060405180830381865afa158015610945573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061096991906114d1565b91505090565b6109798282610dd1565b5050565b600060028281548110610992576109926114ee565b90600052602060002090600a91828204019190066003029054906101000a900462ffffff169050919050565b6000306001600160a01b0316630d8e6e2c6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156109fe573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a22919061129c565b60405163c9e66e2960e01b815262ffffff909116600482015273__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__9063c9e66e2990602401602060405180830381865af4158015610a77573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061053a9190611513565b6040805160c08101825260008082526020820181905281830181905260608083018290526080830182905260a08301529151636939560f60e11b815233600482015290919081907f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169063d272ac1e90602401602060405180830381865afa158015610b33573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b5791906112d5565b6040516330b8415f60e01b81526001600160601b038216600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015610bb2573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610bd69190611530565b610c225760405162461bcd60e51b815260206004820152601760248201527f4552524f525f434f4d504f4e454e545f554e4b4e4f574e00000000000000000060448201526064016105a5565b6040516305247a1760e51b81526001600160601b03821660048201527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169063a48f42e090602401600060405180830381865afa158015610c8f573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610cb791908101906115da565b9250610ccd83604001518560ff90811691161490565b610d0f5760405162461bcd60e51b815260206004820152601360248201527213d0929150d517d516541157d2539590531251606a1b60448201526064016105a5565b60208301516040516305247a1760e51b81526001600160601b0390911660048201526000907f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169063a48f42e090602401600060405180830381865afa158015610d85573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610dad91908101906115da565b606001519395939450505050565b6001600160601b03828116908216145b92915050565b6000610ddb6104b5565b9050610de681610412565b15610e435760405162461bcd60e51b815260206004820152602760248201527f4552524f523a56524e2d3030313a56455253494f4e5f414c52454144595f41436044820152661512559055115160ca1b60648201526084016105a5565b60025415610f02576002805460009190610e5f906001906116a2565b81548110610e6f57610e6f6114ee565b90600052602060002090600a91828204019190066003029054906101000a900462ffffff169050610ea8828262ffffff90811691161190565b610f005760405162461bcd60e51b8152602060048201526024808201527f4552524f523a56524e2d3030323a56455253494f4e5f4e4f545f494e4352454160448201526353494e4760e01b60648201526084016105a5565b505b60028054600181018255600091909152600a8082047f405787fa12a823e0f2b7631cc41b3ba8828b3321ca811111fa75cd3aa3bb5ace01805462ffffff808616600394909506939093026101000a848102930219169190911790556040805160a0810182529182526001600160a01b03808616602084015284169082015260608101610f8b4290565b64ffffffffff1681526020014363ffffffff90811690915262ffffff80841660009081526001602081815260409283902086518154928801516001600160a01b039081166301000000026001600160b81b0319909416919096161791909117815585830151910180546060870151608090970151909516600160c81b0263ffffffff60c81b1964ffffffffff909716600160a01b026001600160c81b031990961692909416919091179390931793909316179055517f68e7327fca0057a787cde34ababb9ef9844ba8065ee03e8781d8122fc15d4419906110929083908690869062ffffff9390931683526001600160a01b03918216602084015216604082015260600190565b60405180910390a1505050565b6000602082840312156110b157600080fd5b81356001600160e01b0319811681146110c957600080fd5b9392505050565b62ffffff811681146110e157600080fd5b50565b6000602082840312156110f657600080fd5b81356110c9816110d0565b60005b8381101561111c578181015183820152602001611104565b50506000910152565b6000815180845261113d816020860160208601611101565b601f01601f19169290920160200192915050565b6020815260006110c96020830184611125565b634e487b7160e01b600052604160045260246000fd5b6040805190810167ffffffffffffffff8111828210171561119d5761119d611164565b60405290565b604051610120810167ffffffffffffffff8111828210171561119d5761119d611164565b60405160c0810167ffffffffffffffff8111828210171561119d5761119d611164565b6000604082840312156111fc57600080fd5b61120461117a565b82358152602083013560208201528091505092915050565b6001600160a01b03811681146110e157600080fd5b6000806040838503121561124457600080fd5b823561124f8161121c565b9150602083013561125f8161121c565b809150509250929050565b60006020828403121561127c57600080fd5b5035919050565b60006020828403121561129557600080fd5b5051919050565b6000602082840312156112ae57600080fd5b81516110c9816110d0565b80516001600160601b03811681146112d057600080fd5b919050565b6000602082840312156112e757600080fd5b6110c9826112b9565b80516112d08161121c565b60006040828403121561130d57600080fd5b61131561117a565b9050815181526020820151602082015292915050565b60006101e0828403121561133e57600080fd5b6113466111a3565b61134f836112b9565b815261135d602084016112b9565b602082015261136e604084016112f0565b604082015261138084606085016112fb565b60608201526113928460a085016112fb565b60808201526113a48460e085016112fb565b60a08201526113b78461012085016112fb565b60c08201526113ca8461016085016112fb565b60e08201526113dd846101a085016112fb565b6101008201529392505050565b6001600160601b03838116825282511660208083019190915282015161020082019061142160408401826001600160601b03169052565b5060408301516001600160a01b038116606084015250606083015180516080840152602081015160a0840152506080830151805160c0840152602081015160e08401525060a08301516101006114838185018380518252602090810151910152565b60c0850151805161014086015260209081015161016086015260e086015180516101808701528101516101a086015294015180516101c0850152909301516101e09092019190915292915050565b6000602082840312156114e357600080fd5b81516110c98161121c565b634e487b7160e01b600052603260045260246000fd5b60ff811681146110e157600080fd5b60006020828403121561152557600080fd5b81516110c981611504565b60006020828403121561154257600080fd5b815180151581146110c957600080fd5b600082601f83011261156357600080fd5b815167ffffffffffffffff8082111561157e5761157e611164565b604051601f8301601f19908116603f011681019082821181831017156115a6576115a6611164565b816040528381528660208588010111156115bf57600080fd5b6115d0846020830160208901611101565b9695505050505050565b6000602082840312156115ec57600080fd5b815167ffffffffffffffff8082111561160457600080fd5b9083019060c0828603121561161857600080fd5b6116206111c7565b611629836112b9565b8152611637602084016112b9565b6020820152604083015161164a81611504565b6040820152606083015161165d8161121c565b606082015260808301516116708161121c565b608082015260a08301518281111561168757600080fd5b61169387828601611552565b60a08301525095945050505050565b81810381811115610dcb57634e487b7160e01b600052601160045260246000fdfea26469706673582212202a493887876a142cfa72062077eafd12f21c8786324a21be02e2c43608120d4f64736f6c63430008140033",
351
- "deployedBytecode": "0x608060405234801561001057600080fd5b50600436106101165760003560e01c80634d459c90116100a2578063946dfcfe11610071578063946dfcfe146103a15780639555c4db146103b2578063a3f4df7e146103c5578063b88da759146103f7578063cde749f41461040a57600080fd5b80634d459c90146102485780635ab1bd5314610357578063644c45e014610391578063893d20e81461039957600080fd5b806317d7de7c116100e957806317d7de7c146101a15780631aa3a008146101d957806331b62a3b146101f95780633bc5de301461021f5780633f52c0f61461023357600080fd5b806301ffc9a71461011b5780630abd84341461015d5780630d8e6e2c1461017057806315dae03e1461018c575b600080fd5b61014861012936600461109f565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b61014861016b3660046110e4565b610412565b6101786104b5565b60405162ffffff9091168152602001610154565b60285b60405160ff9091168152602001610154565b604080518082019091526013815272446973747269627574696f6e5365727669636560681b60208201525b6040516101549190611151565b6101e161053f565b6040516001600160601b039091168152602001610154565b7f00000000000000000000000000000000000000000000000000000000000000006101e1565b6040805160208101909152600081526101cc565b6102466102413660046111ea565b610638565b005b6102fa6102563660046110e4565b6040805160a0810182526000808252602082018190529181018290526060810182905260808101919091525062ffffff908116600090815260016020818152604092839020835160a0810185528154958616815263010000009095046001600160a01b03908116928601929092529091015490811691830191909152600160a01b810464ffffffffff166060830152600160c81b900463ffffffff16608082015290565b60408051825162ffffff1681526020808401516001600160a01b039081169183019190915283830151169181019190915260608083015164ffffffffff169082015260809182015163ffffffff169181019190915260a001610154565b7f00000000000000000000000000000000000000000000000000000000000000005b6040516001600160a01b039091168152602001610154565b6101e16107ab565b610379610812565b600254604051908152602001610154565b6102466103c0366004611231565b61096f565b6101cc60405180604001604052806013815260200172446973747269627574696f6e5365727669636560681b81525081565b61017861040536600461126a565b61097d565b61018f6109be565b62ffffff81166000908152600160208190526040808320909101549051631bbffab160e21b8152600160c81b90910463ffffffff166004820152819073__$5f476116ae21c5294e0c0761c07efa7e1c$__90636effeac490602401602060405180830381865af415801561048a573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104ae9190611283565b1192915050565b604051632efe011360e01b815260036004820152600060248201819052604482018190529073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af4158015610516573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061053a919061129c565b905090565b6000610549610812565b6001600160a01b0316336001600160a01b0316146105ae5760405162461bcd60e51b815260206004820152601760248201527f4552524f523a5247422d3030313a4e4f545f4f574e455200000000000000000060448201526064015b60405180910390fd5b604051632210724360e11b81523060048201527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031690634420e486906024016020604051808303816000875af1158015610614573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061053a91906112d5565b6000806106456078610a9b565b8151604051639ae31ff560e01b81526001600160601b03909116600482015291935091506000906001600160a01b03831690639ae31ff590602401602060405180830381865afa15801561069d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106c191906112d5565b60405163f2b246c360e01b81526001600160601b03821660048201529091506000906001600160a01b0384169063f2b246c3906024016101e060405180830381865afa158015610715573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610739919061132b565b61010081018690526040516306a5298b60e01b81529091506001600160a01b038416906306a5298b9061077290859085906004016113ea565b600060405180830381600087803b15801561078c57600080fd5b505af11580156107a0573d6000803e3d6000fd5b505050505050505050565b604051636939560f60e11b81523060048201526000907f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169063d272ac1e90602401602060405180830381865afa158015610614573d6000803e3d6000fd5b604051636939560f60e11b815230600482015260009081906001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063d272ac1e90602401602060405180830381865afa15801561087b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061089f91906112d5565b90506108ac816000610dbb565b156108d8577f000000000000000000000000000000000000000000000000000000000000000091505090565b60405163df33330b60e01b81526001600160601b03821660048201527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169063df33330b90602401602060405180830381865afa158015610945573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061096991906114d1565b91505090565b6109798282610dd1565b5050565b600060028281548110610992576109926114ee565b90600052602060002090600a91828204019190066003029054906101000a900462ffffff169050919050565b6000306001600160a01b0316630d8e6e2c6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156109fe573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a22919061129c565b60405163c9e66e2960e01b815262ffffff909116600482015273__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__9063c9e66e2990602401602060405180830381865af4158015610a77573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061053a9190611513565b6040805160c08101825260008082526020820181905281830181905260608083018290526080830182905260a08301529151636939560f60e11b815233600482015290919081907f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169063d272ac1e90602401602060405180830381865afa158015610b33573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b5791906112d5565b6040516330b8415f60e01b81526001600160601b038216600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015610bb2573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610bd69190611530565b610c225760405162461bcd60e51b815260206004820152601760248201527f4552524f525f434f4d504f4e454e545f554e4b4e4f574e00000000000000000060448201526064016105a5565b6040516305247a1760e51b81526001600160601b03821660048201527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169063a48f42e090602401600060405180830381865afa158015610c8f573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610cb791908101906115da565b9250610ccd83604001518560ff90811691161490565b610d0f5760405162461bcd60e51b815260206004820152601360248201527213d0929150d517d516541157d2539590531251606a1b60448201526064016105a5565b60208301516040516305247a1760e51b81526001600160601b0390911660048201526000907f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169063a48f42e090602401600060405180830381865afa158015610d85573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610dad91908101906115da565b606001519395939450505050565b6001600160601b03828116908216145b92915050565b6000610ddb6104b5565b9050610de681610412565b15610e435760405162461bcd60e51b815260206004820152602760248201527f4552524f523a56524e2d3030313a56455253494f4e5f414c52454144595f41436044820152661512559055115160ca1b60648201526084016105a5565b60025415610f02576002805460009190610e5f906001906116a2565b81548110610e6f57610e6f6114ee565b90600052602060002090600a91828204019190066003029054906101000a900462ffffff169050610ea8828262ffffff90811691161190565b610f005760405162461bcd60e51b8152602060048201526024808201527f4552524f523a56524e2d3030323a56455253494f4e5f4e4f545f494e4352454160448201526353494e4760e01b60648201526084016105a5565b505b60028054600181018255600091909152600a8082047f405787fa12a823e0f2b7631cc41b3ba8828b3321ca811111fa75cd3aa3bb5ace01805462ffffff808616600394909506939093026101000a848102930219169190911790556040805160a0810182529182526001600160a01b03808616602084015284169082015260608101610f8b4290565b64ffffffffff1681526020014363ffffffff90811690915262ffffff80841660009081526001602081815260409283902086518154928801516001600160a01b039081166301000000026001600160b81b0319909416919096161791909117815585830151910180546060870151608090970151909516600160c81b0263ffffffff60c81b1964ffffffffff909716600160a01b026001600160c81b031990961692909416919091179390931793909316179055517f68e7327fca0057a787cde34ababb9ef9844ba8065ee03e8781d8122fc15d4419906110929083908690869062ffffff9390931683526001600160a01b03918216602084015216604082015260600190565b60405180910390a1505050565b6000602082840312156110b157600080fd5b81356001600160e01b0319811681146110c957600080fd5b9392505050565b62ffffff811681146110e157600080fd5b50565b6000602082840312156110f657600080fd5b81356110c9816110d0565b60005b8381101561111c578181015183820152602001611104565b50506000910152565b6000815180845261113d816020860160208601611101565b601f01601f19169290920160200192915050565b6020815260006110c96020830184611125565b634e487b7160e01b600052604160045260246000fd5b6040805190810167ffffffffffffffff8111828210171561119d5761119d611164565b60405290565b604051610120810167ffffffffffffffff8111828210171561119d5761119d611164565b60405160c0810167ffffffffffffffff8111828210171561119d5761119d611164565b6000604082840312156111fc57600080fd5b61120461117a565b82358152602083013560208201528091505092915050565b6001600160a01b03811681146110e157600080fd5b6000806040838503121561124457600080fd5b823561124f8161121c565b9150602083013561125f8161121c565b809150509250929050565b60006020828403121561127c57600080fd5b5035919050565b60006020828403121561129557600080fd5b5051919050565b6000602082840312156112ae57600080fd5b81516110c9816110d0565b80516001600160601b03811681146112d057600080fd5b919050565b6000602082840312156112e757600080fd5b6110c9826112b9565b80516112d08161121c565b60006040828403121561130d57600080fd5b61131561117a565b9050815181526020820151602082015292915050565b60006101e0828403121561133e57600080fd5b6113466111a3565b61134f836112b9565b815261135d602084016112b9565b602082015261136e604084016112f0565b604082015261138084606085016112fb565b60608201526113928460a085016112fb565b60808201526113a48460e085016112fb565b60a08201526113b78461012085016112fb565b60c08201526113ca8461016085016112fb565b60e08201526113dd846101a085016112fb565b6101008201529392505050565b6001600160601b03838116825282511660208083019190915282015161020082019061142160408401826001600160601b03169052565b5060408301516001600160a01b038116606084015250606083015180516080840152602081015160a0840152506080830151805160c0840152602081015160e08401525060a08301516101006114838185018380518252602090810151910152565b60c0850151805161014086015260209081015161016086015260e086015180516101808701528101516101a086015294015180516101c0850152909301516101e09092019190915292915050565b6000602082840312156114e357600080fd5b81516110c98161121c565b634e487b7160e01b600052603260045260246000fd5b60ff811681146110e157600080fd5b60006020828403121561152557600080fd5b81516110c981611504565b60006020828403121561154257600080fd5b815180151581146110c957600080fd5b600082601f83011261156357600080fd5b815167ffffffffffffffff8082111561157e5761157e611164565b604051601f8301601f19908116603f011681019082821181831017156115a6576115a6611164565b816040528381528660208588010111156115bf57600080fd5b6115d0846020830160208901611101565b9695505050505050565b6000602082840312156115ec57600080fd5b815167ffffffffffffffff8082111561160457600080fd5b9083019060c0828603121561161857600080fd5b6116206111c7565b611629836112b9565b8152611637602084016112b9565b6020820152604083015161164a81611504565b6040820152606083015161165d8161121c565b606082015260808301516116708161121c565b608082015260a08301518281111561168757600080fd5b61169387828601611552565b60a08301525095945050505050565b81810381811115610dcb57634e487b7160e01b600052601160045260246000fdfea26469706673582212202a493887876a142cfa72062077eafd12f21c8786324a21be02e2c43608120d4f64736f6c63430008140033",
448
+ "bytecode": "0x60806040523480156200001157600080fd5b5060405162002380380380620023808339810160408190526200003491620005ae565b6301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff191660011790558282826200007d620000d3565b6200008a83838362000187565b505050620000a5631fa9607b60e11b620000ae60201b60201c565b50505062000848565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00805468010000000000000000900460ff1615620001245760405163f92ee8a960e01b815260040160405180910390fd5b80546001600160401b0390811614620001845780546001600160401b0319166001600160401b0390811782556040519081527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50565b6000620001c460408051808201909152601381527f446973747269627574696f6e5365727669636500000000000000000000000000602082015290565b620001ce62000247565b604051602001620001e192919062000606565b60408051808303601f190181529190529050620002058484602860008686620002d4565b631b4612f160e31b60009081526020527ffc58a5a01198e68c5a5d0bcd463f9ab550fc4337b1df271aed6dbb33d25fef25805460ff1916600117905550505050565b60006200025362000509565b60405163c9e66e2960e01b815262ffffff909116600482015273__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__9063c9e66e2990602401602060405180830381865af4158015620002a9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620002cf919062000660565b905090565b6001600160a01b038616620003305760405162461bcd60e51b815260206004820152601b60248201527f4552524f523a5247422d3031303a52454749535452595f5a45524f000000000060448201526064015b60405180910390fd5b6040516301ffc9a760e01b8152636882e63f60e11b600482015286906001600160a01b038216906301ffc9a790602401602060405180830381865afa1580156200037e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620003a491906200068c565b620003f25760405162461bcd60e51b815260206004820152601a60248201527f4552524f523a5247422d3031313a4e4f545f5245474953545259000000000000604482015260640162000327565b6001600160a01b03818116600160a01b6001600160601b0389168102919091177f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa3009081557f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30180546001600160a01b031961ffff60a01b1990911660ff8b1690940260ff60a81b191693909317600160a81b8915150217929092169286169290921790557f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa302620004c2848262000755565b5063a6d3826560e01b60009081526020527f164a5a3a3a16df858f794c5fc01b962add2c2151ae53ddb31581eabdf1156730805460ff191660011790555050505050505050565b604051632efe011360e01b815260036004820152600060248201819052604482018190529073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af41580156200056b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620002cf919062000821565b80516001600160a01b0381168114620005a957600080fd5b919050565b600080600060608486031215620005c457600080fd5b620005cf8462000591565b60208501519093506001600160601b0381168114620005ed57600080fd5b9150620005fd6040850162000591565b90509250925092565b604081526000835180604084015260005b8181101562000636576020818701810151606086840101520162000617565b506000606082850101526060601f19601f83011684010191505060ff831660208301529392505050565b6000602082840312156200067357600080fd5b815160ff811681146200068557600080fd5b9392505050565b6000602082840312156200069f57600080fd5b815180151581146200068557600080fd5b634e487b7160e01b600052604160045260246000fd5b600181811c90821680620006db57607f821691505b602082108103620006fc57634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200075057600081815260208120601f850160051c810160208610156200072b5750805b601f850160051c820191505b818110156200074c5782815560010162000737565b5050505b505050565b81516001600160401b03811115620007715762000771620006b0565b6200078981620007828454620006c6565b8462000702565b602080601f831160018114620007c15760008415620007a85750858301515b600019600386901b1c1916600185901b1785556200074c565b600085815260208120601f198616915b82811015620007f257888601518255948401946001909101908401620007d1565b5085821015620008115787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6000602082840312156200083457600080fd5b815162ffffff811681146200068557600080fd5b611b2880620008586000396000f3fe608060405234801561001057600080fd5b50600436106101215760003560e01c8063644c45e0116100ad578063b3c6501511610071578063b3c65015146103ea578063b88da7591461040a578063caf4e3d41461041d578063cde749f414610425578063cf7a1d771461043f57600080fd5b8063644c45e014610356578063893d20e814610376578063946dfcfe1461037e578063a3f4df7e146103a5578063a745e3df146103d757600080fd5b80631eff4b22116100f45780631eff4b22146101d25780633f52c0f6146101f55780634d459c901461020a5780634f421333146103235780635ab1bd531461033657600080fd5b806301ffc9a7146101265780630d8e6e2c146101685780630fec111c1461018457806317d7de7c1461019a575b600080fd5b6101536101343660046112e3565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b610170610452565b60405162ffffff909116815260200161015f565b61018c6104dc565b60405161015f929190611364565b604080518082019091526013815272446973747269627574696f6e5365727669636560681b60208201525b60405161015f919061140b565b6101e7600080516020611a9383398151915281565b60405190815260200161015f565b6102086102033660046114d1565b610643565b005b6102c6610218366004611517565b6040805160a081018252600080825260208201819052918101829052606081018290526080810191909152600080516020611ad383398151915262ffffff92831660009081526020918252604090819020815160a0810183528154958616815263010000009095046001600160a01b03908116938601939093526001015491821690840152600160a01b810464ffffffffff166060840152600160c81b900463ffffffff1660808301525090565b60408051825162ffffff1681526020808401516001600160a01b039081169183019190915283830151169181019190915260608083015164ffffffffff169082015260809182015163ffffffff169181019190915260a00161015f565b610153610331366004611517565b6107b6565b61033e610869565b6040516001600160a01b03909116815260200161015f565b61035e610885565b6040516001600160601b03909116815260200161015f565b61033e610900565b7f4f61291a8ac3d020d0a7d919a76b8592aa88385744dee3f8b4f3873b969ed901546101e7565b6101c560405180604001604052806013815260200172446973747269627574696f6e5365727669636560681b81525081565b6102086103e5366004611570565b61097b565b6103f2610ad5565b6040516001600160401b03909116815260200161015f565b610170610418366004611614565b610af6565b61033e610b47565b61042d610bf8565b60405160ff909116815260200161015f565b61020861044d366004611570565b610c7b565b604051632efe011360e01b815260036004820152600060248201819052604482018190529073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af41580156104b3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104d7919061162d565b905090565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a082019290925260c081019190915260606000600080516020611a9383398151915290506040518060e0016040528061053f600090565b6001600160601b0390811682528354600160a01b908190049091166020830152600184015490810460ff9081166040840152600160a81b820416151560608301523060808301526001600160a01b031660a082015260028301805460c0909201916105a99061164a565b80601f01602080910402602001604051908101604052809291908181526020018280546105d59061164a565b80156106225780601f106105f757610100808354040283529160200191610622565b820191906000526020600020905b81548152906001019060200180831161060557829003601f168201915b50505050508152506040518060200160405280600081525092509250509091565b6000806106506078610d84565b8151604051639ae31ff560e01b81526001600160601b03909116600482015291935091506000906001600160a01b03831690639ae31ff590602401602060405180830381865afa1580156106a8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106cc91906116a0565b60405163f2b246c360e01b81526001600160601b03821660048201529091506000906001600160a01b0384169063f2b246c3906024016101e060405180830381865afa158015610720573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061074491906116f6565b61010081018690526040516306a5298b60e01b81529091506001600160a01b038416906306a5298b9061077d90859085906004016117b5565b600060405180830381600087803b15801561079757600080fd5b505af11580156107ab573d6000803e3d6000fd5b505050505050505050565b600080600080516020611ad383398151915262ffffff84166000908152602091909152604090819020600101549051631bbffab160e21b8152600160c81b90910463ffffffff16600482015273__$5f476116ae21c5294e0c0761c07efa7e1c$__90636effeac490602401602060405180830381865af415801561083e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610862919061189c565b1192915050565b600080516020611a93833981519152546001600160a01b031690565b6000600080516020611a9383398151915254604051636939560f60e11b81523060048201526001600160a01b039091169063d272ac1e90602401602060405180830381865afa1580156108dc573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104d791906116a0565b6000600080516020611a9383398151915254604051630a57ebcf60e11b81523060048201526001600160a01b03909116906314afd79e90602401602060405180830381865afa158015610957573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104d791906118b5565b73__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__63a123b37c61099d610452565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af41580156109dd573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a0191906118d2565b600080516020611ab38339815191528054600160401b900460ff1680610a34575080546001600160401b03808416911610155b15610a525760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b178155610a7d858561106b565b610a86836112a6565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a15050505050565b60006104d7600080516020611ab3833981519152546001600160401b031690565b6000600080516020611ad38339815191526001018281548110610b1b57610b1b6118fb565b90600052602060002090600a91828204019190066003029054906101000a900462ffffff169050919050565b600080610b52610869565b6001600160a01b031663a3bcd81d610b68610bf8565b604080516001600160e01b031960e085901b1681526004810191909152600f60448201526e52656769737472795365727669636560881b606482015260ff9091166024820152608401602060405180830381865afa158015610bce573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610bf291906118b5565b92915050565b6000610c02610452565b60405163c9e66e2960e01b815262ffffff909116600482015273__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__9063c9e66e2990602401602060405180830381865af4158015610c57573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104d7919061192b565b600080516020611ab38339815191528054600160401b810460ff1615906001600160401b0316600081158015610cae5750825b90506000826001600160401b03166001148015610cca5750303b155b905081158015610cd8575080155b15610cf65760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315610d2057845460ff60401b1916600160401b1785555b610d2a888861106b565b610d3487876112a6565b8315610d7a57845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b5050505050505050565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a0820183905260c08201529080610dc5610869565b604051636939560f60e11b81523360048201526001600160a01b03919091169063d272ac1e90602401602060405180830381865afa158015610e0b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e2f91906116a0565b6040516330b8415f60e01b81526001600160601b038216600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015610e8a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610eae9190611958565b610eff5760405162461bcd60e51b815260206004820152601760248201527f4552524f525f434f4d504f4e454e545f554e4b4e4f574e00000000000000000060448201526064015b60405180910390fd5b610f07610869565b6040516305247a1760e51b81526001600160601b03831660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa158015610f56573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610f7e91908101906119c0565b9250610f9483604001518560ff90811691161490565b610fd65760405162461bcd60e51b815260206004820152601360248201527213d0929150d517d516541157d2539590531251606a1b6044820152606401610ef6565b6000610fe0610869565b60208501516040516305247a1760e51b81526001600160601b0390911660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa158015611035573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261105d91908101906119c0565b608001519395939450505050565b6110736112aa565b600080516020611ad383398151915260006110a3600080516020611ab3833981519152546001600160401b031690565b905060006110af610452565b9050816001600160401b03166001036110dc5760028301805462ffffff191662ffffff831617905561112a565b600283015462ffffff9081169082161161112a5760405162461bcd60e51b815260206004820152600f60248201526e24a72b20a624a2102b22a929a4a7a760891b6044820152606401610ef6565b6001808401805491820181556000908152602090819020600a808404909101805462ffffff808716600394909606939093026101000a858102930219169190911790556040805160a0810182529283526001600160a01b0380891692840192909252908616908201526060810161119e4290565b64ffffffffff1681526020014363ffffffff90811690915262ffffff8084166000908152602087815260409182902085518154928701516001600160a01b039081166301000000026001600160b81b0319909416919095161791909117815584820151600190910180546060870151608090970151909516600160c81b0263ffffffff60c81b1964ffffffffff909716600160a01b026001600160c81b031990961692909416919091179390931793909316179055517fad0a0fc10465a8dd9da3ad5f43e1a7fff4b4578551c76f0ae8deb844f0d0bf6890610ac69083908890889062ffffff9390931683526001600160a01b03918216602084015216604082015260600190565b6101215b600080516020611ab383398151915254600160401b900460ff166112e157604051631afcd79f60e31b815260040160405180910390fd5b565b6000602082840312156112f557600080fd5b81356001600160e01b03198116811461130d57600080fd5b9392505050565b60005b8381101561132f578181015183820152602001611317565b50506000910152565b60008151808452611350816020860160208601611314565b601f01601f19169290920160200192915050565b6040815260006001600160601b038085511660408401528060208601511660608401525060ff604085015116608083015260608401516113a860a084018215159052565b5060808401516001600160a01b03811660c08401525060a08401516001600160a01b03811660e08401525060c084015160e06101008401526113ee610120840182611338565b905082810360208401526114028185611338565b95945050505050565b60208152600061130d6020830184611338565b634e487b7160e01b600052604160045260246000fd5b604080519081016001600160401b03811182821017156114565761145661141e565b60405290565b60405161012081016001600160401b03811182821017156114565761145661141e565b60405160e081016001600160401b03811182821017156114565761145661141e565b604051601f8201601f191681016001600160401b03811182821017156114c9576114c961141e565b604052919050565b6000604082840312156114e357600080fd5b6114eb611434565b82358152602083013560208201528091505092915050565b62ffffff8116811461151457600080fd5b50565b60006020828403121561152957600080fd5b813561130d81611503565b6001600160a01b038116811461151457600080fd5b60006001600160401b038211156115625761156261141e565b50601f01601f191660200190565b60008060006060848603121561158557600080fd5b833561159081611534565b925060208401356115a081611534565b915060408401356001600160401b038111156115bb57600080fd5b8401601f810186136115cc57600080fd5b80356115df6115da82611549565b6114a1565b8181528760208385010111156115f457600080fd5b816020840160208301376000602083830101528093505050509250925092565b60006020828403121561162657600080fd5b5035919050565b60006020828403121561163f57600080fd5b815161130d81611503565b600181811c9082168061165e57607f821691505b60208210810361167e57634e487b7160e01b600052602260045260246000fd5b50919050565b80516001600160601b038116811461169b57600080fd5b919050565b6000602082840312156116b257600080fd5b61130d82611684565b805161169b81611534565b6000604082840312156116d857600080fd5b6116e0611434565b9050815181526020820151602082015292915050565b60006101e0828403121561170957600080fd5b61171161145c565b61171a83611684565b815261172860208401611684565b6020820152611739604084016116bb565b604082015261174b84606085016116c6565b606082015261175d8460a085016116c6565b608082015261176f8460e085016116c6565b60a08201526117828461012085016116c6565b60c08201526117958461016085016116c6565b60e08201526117a8846101a085016116c6565b6101008201529392505050565b6001600160601b0383811682528251166020808301919091528201516102008201906117ec60408401826001600160601b03169052565b5060408301516001600160a01b038116606084015250606083015180516080840152602081015160a0840152506080830151805160c0840152602081015160e08401525060a083015161010061184e8185018380518252602090810151910152565b60c0850151805161014086015260209081015161016086015260e086015180516101808701528101516101a086015294015180516101c0850152909301516101e09092019190915292915050565b6000602082840312156118ae57600080fd5b5051919050565b6000602082840312156118c757600080fd5b815161130d81611534565b6000602082840312156118e457600080fd5b81516001600160401b038116811461130d57600080fd5b634e487b7160e01b600052603260045260246000fd5b60ff8116811461151457600080fd5b805161169b81611911565b60006020828403121561193d57600080fd5b815161130d81611911565b8051801515811461169b57600080fd5b60006020828403121561196a57600080fd5b61130d82611948565b600082601f83011261198457600080fd5b81516119926115da82611549565b8181528460208386010111156119a757600080fd5b6119b8826020830160208701611314565b949350505050565b6000602082840312156119d257600080fd5b81516001600160401b03808211156119e957600080fd5b9083019060e082860312156119fd57600080fd5b611a0561147f565b611a0e83611684565b8152611a1c60208401611684565b6020820152611a2d60408401611920565b6040820152611a3e60608401611948565b6060820152611a4f608084016116bb565b6080820152611a6060a084016116bb565b60a082015260c083015182811115611a7757600080fd5b611a8387828601611973565b60c0830152509594505050505056fe6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa300f0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a004f61291a8ac3d020d0a7d919a76b8592aa88385744dee3f8b4f3873b969ed900a2646970667358221220df5ea377323d42b74e6cde95e92c09647dc01929b683d4b17bd375c51d193ce764736f6c63430008140033",
449
+ "deployedBytecode": "0x608060405234801561001057600080fd5b50600436106101215760003560e01c8063644c45e0116100ad578063b3c6501511610071578063b3c65015146103ea578063b88da7591461040a578063caf4e3d41461041d578063cde749f414610425578063cf7a1d771461043f57600080fd5b8063644c45e014610356578063893d20e814610376578063946dfcfe1461037e578063a3f4df7e146103a5578063a745e3df146103d757600080fd5b80631eff4b22116100f45780631eff4b22146101d25780633f52c0f6146101f55780634d459c901461020a5780634f421333146103235780635ab1bd531461033657600080fd5b806301ffc9a7146101265780630d8e6e2c146101685780630fec111c1461018457806317d7de7c1461019a575b600080fd5b6101536101343660046112e3565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b610170610452565b60405162ffffff909116815260200161015f565b61018c6104dc565b60405161015f929190611364565b604080518082019091526013815272446973747269627574696f6e5365727669636560681b60208201525b60405161015f919061140b565b6101e7600080516020611a9383398151915281565b60405190815260200161015f565b6102086102033660046114d1565b610643565b005b6102c6610218366004611517565b6040805160a081018252600080825260208201819052918101829052606081018290526080810191909152600080516020611ad383398151915262ffffff92831660009081526020918252604090819020815160a0810183528154958616815263010000009095046001600160a01b03908116938601939093526001015491821690840152600160a01b810464ffffffffff166060840152600160c81b900463ffffffff1660808301525090565b60408051825162ffffff1681526020808401516001600160a01b039081169183019190915283830151169181019190915260608083015164ffffffffff169082015260809182015163ffffffff169181019190915260a00161015f565b610153610331366004611517565b6107b6565b61033e610869565b6040516001600160a01b03909116815260200161015f565b61035e610885565b6040516001600160601b03909116815260200161015f565b61033e610900565b7f4f61291a8ac3d020d0a7d919a76b8592aa88385744dee3f8b4f3873b969ed901546101e7565b6101c560405180604001604052806013815260200172446973747269627574696f6e5365727669636560681b81525081565b6102086103e5366004611570565b61097b565b6103f2610ad5565b6040516001600160401b03909116815260200161015f565b610170610418366004611614565b610af6565b61033e610b47565b61042d610bf8565b60405160ff909116815260200161015f565b61020861044d366004611570565b610c7b565b604051632efe011360e01b815260036004820152600060248201819052604482018190529073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af41580156104b3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104d7919061162d565b905090565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a082019290925260c081019190915260606000600080516020611a9383398151915290506040518060e0016040528061053f600090565b6001600160601b0390811682528354600160a01b908190049091166020830152600184015490810460ff9081166040840152600160a81b820416151560608301523060808301526001600160a01b031660a082015260028301805460c0909201916105a99061164a565b80601f01602080910402602001604051908101604052809291908181526020018280546105d59061164a565b80156106225780601f106105f757610100808354040283529160200191610622565b820191906000526020600020905b81548152906001019060200180831161060557829003601f168201915b50505050508152506040518060200160405280600081525092509250509091565b6000806106506078610d84565b8151604051639ae31ff560e01b81526001600160601b03909116600482015291935091506000906001600160a01b03831690639ae31ff590602401602060405180830381865afa1580156106a8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106cc91906116a0565b60405163f2b246c360e01b81526001600160601b03821660048201529091506000906001600160a01b0384169063f2b246c3906024016101e060405180830381865afa158015610720573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061074491906116f6565b61010081018690526040516306a5298b60e01b81529091506001600160a01b038416906306a5298b9061077d90859085906004016117b5565b600060405180830381600087803b15801561079757600080fd5b505af11580156107ab573d6000803e3d6000fd5b505050505050505050565b600080600080516020611ad383398151915262ffffff84166000908152602091909152604090819020600101549051631bbffab160e21b8152600160c81b90910463ffffffff16600482015273__$5f476116ae21c5294e0c0761c07efa7e1c$__90636effeac490602401602060405180830381865af415801561083e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610862919061189c565b1192915050565b600080516020611a93833981519152546001600160a01b031690565b6000600080516020611a9383398151915254604051636939560f60e11b81523060048201526001600160a01b039091169063d272ac1e90602401602060405180830381865afa1580156108dc573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104d791906116a0565b6000600080516020611a9383398151915254604051630a57ebcf60e11b81523060048201526001600160a01b03909116906314afd79e90602401602060405180830381865afa158015610957573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104d791906118b5565b73__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__63a123b37c61099d610452565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af41580156109dd573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a0191906118d2565b600080516020611ab38339815191528054600160401b900460ff1680610a34575080546001600160401b03808416911610155b15610a525760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b178155610a7d858561106b565b610a86836112a6565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a15050505050565b60006104d7600080516020611ab3833981519152546001600160401b031690565b6000600080516020611ad38339815191526001018281548110610b1b57610b1b6118fb565b90600052602060002090600a91828204019190066003029054906101000a900462ffffff169050919050565b600080610b52610869565b6001600160a01b031663a3bcd81d610b68610bf8565b604080516001600160e01b031960e085901b1681526004810191909152600f60448201526e52656769737472795365727669636560881b606482015260ff9091166024820152608401602060405180830381865afa158015610bce573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610bf291906118b5565b92915050565b6000610c02610452565b60405163c9e66e2960e01b815262ffffff909116600482015273__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__9063c9e66e2990602401602060405180830381865af4158015610c57573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104d7919061192b565b600080516020611ab38339815191528054600160401b810460ff1615906001600160401b0316600081158015610cae5750825b90506000826001600160401b03166001148015610cca5750303b155b905081158015610cd8575080155b15610cf65760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315610d2057845460ff60401b1916600160401b1785555b610d2a888861106b565b610d3487876112a6565b8315610d7a57845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b5050505050505050565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a0820183905260c08201529080610dc5610869565b604051636939560f60e11b81523360048201526001600160a01b03919091169063d272ac1e90602401602060405180830381865afa158015610e0b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e2f91906116a0565b6040516330b8415f60e01b81526001600160601b038216600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015610e8a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610eae9190611958565b610eff5760405162461bcd60e51b815260206004820152601760248201527f4552524f525f434f4d504f4e454e545f554e4b4e4f574e00000000000000000060448201526064015b60405180910390fd5b610f07610869565b6040516305247a1760e51b81526001600160601b03831660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa158015610f56573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610f7e91908101906119c0565b9250610f9483604001518560ff90811691161490565b610fd65760405162461bcd60e51b815260206004820152601360248201527213d0929150d517d516541157d2539590531251606a1b6044820152606401610ef6565b6000610fe0610869565b60208501516040516305247a1760e51b81526001600160601b0390911660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa158015611035573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261105d91908101906119c0565b608001519395939450505050565b6110736112aa565b600080516020611ad383398151915260006110a3600080516020611ab3833981519152546001600160401b031690565b905060006110af610452565b9050816001600160401b03166001036110dc5760028301805462ffffff191662ffffff831617905561112a565b600283015462ffffff9081169082161161112a5760405162461bcd60e51b815260206004820152600f60248201526e24a72b20a624a2102b22a929a4a7a760891b6044820152606401610ef6565b6001808401805491820181556000908152602090819020600a808404909101805462ffffff808716600394909606939093026101000a858102930219169190911790556040805160a0810182529283526001600160a01b0380891692840192909252908616908201526060810161119e4290565b64ffffffffff1681526020014363ffffffff90811690915262ffffff8084166000908152602087815260409182902085518154928701516001600160a01b039081166301000000026001600160b81b0319909416919095161791909117815584820151600190910180546060870151608090970151909516600160c81b0263ffffffff60c81b1964ffffffffff909716600160a01b026001600160c81b031990961692909416919091179390931793909316179055517fad0a0fc10465a8dd9da3ad5f43e1a7fff4b4578551c76f0ae8deb844f0d0bf6890610ac69083908890889062ffffff9390931683526001600160a01b03918216602084015216604082015260600190565b6101215b600080516020611ab383398151915254600160401b900460ff166112e157604051631afcd79f60e31b815260040160405180910390fd5b565b6000602082840312156112f557600080fd5b81356001600160e01b03198116811461130d57600080fd5b9392505050565b60005b8381101561132f578181015183820152602001611317565b50506000910152565b60008151808452611350816020860160208601611314565b601f01601f19169290920160200192915050565b6040815260006001600160601b038085511660408401528060208601511660608401525060ff604085015116608083015260608401516113a860a084018215159052565b5060808401516001600160a01b03811660c08401525060a08401516001600160a01b03811660e08401525060c084015160e06101008401526113ee610120840182611338565b905082810360208401526114028185611338565b95945050505050565b60208152600061130d6020830184611338565b634e487b7160e01b600052604160045260246000fd5b604080519081016001600160401b03811182821017156114565761145661141e565b60405290565b60405161012081016001600160401b03811182821017156114565761145661141e565b60405160e081016001600160401b03811182821017156114565761145661141e565b604051601f8201601f191681016001600160401b03811182821017156114c9576114c961141e565b604052919050565b6000604082840312156114e357600080fd5b6114eb611434565b82358152602083013560208201528091505092915050565b62ffffff8116811461151457600080fd5b50565b60006020828403121561152957600080fd5b813561130d81611503565b6001600160a01b038116811461151457600080fd5b60006001600160401b038211156115625761156261141e565b50601f01601f191660200190565b60008060006060848603121561158557600080fd5b833561159081611534565b925060208401356115a081611534565b915060408401356001600160401b038111156115bb57600080fd5b8401601f810186136115cc57600080fd5b80356115df6115da82611549565b6114a1565b8181528760208385010111156115f457600080fd5b816020840160208301376000602083830101528093505050509250925092565b60006020828403121561162657600080fd5b5035919050565b60006020828403121561163f57600080fd5b815161130d81611503565b600181811c9082168061165e57607f821691505b60208210810361167e57634e487b7160e01b600052602260045260246000fd5b50919050565b80516001600160601b038116811461169b57600080fd5b919050565b6000602082840312156116b257600080fd5b61130d82611684565b805161169b81611534565b6000604082840312156116d857600080fd5b6116e0611434565b9050815181526020820151602082015292915050565b60006101e0828403121561170957600080fd5b61171161145c565b61171a83611684565b815261172860208401611684565b6020820152611739604084016116bb565b604082015261174b84606085016116c6565b606082015261175d8460a085016116c6565b608082015261176f8460e085016116c6565b60a08201526117828461012085016116c6565b60c08201526117958461016085016116c6565b60e08201526117a8846101a085016116c6565b6101008201529392505050565b6001600160601b0383811682528251166020808301919091528201516102008201906117ec60408401826001600160601b03169052565b5060408301516001600160a01b038116606084015250606083015180516080840152602081015160a0840152506080830151805160c0840152602081015160e08401525060a083015161010061184e8185018380518252602090810151910152565b60c0850151805161014086015260209081015161016086015260e086015180516101808701528101516101a086015294015180516101c0850152909301516101e09092019190915292915050565b6000602082840312156118ae57600080fd5b5051919050565b6000602082840312156118c757600080fd5b815161130d81611534565b6000602082840312156118e457600080fd5b81516001600160401b038116811461130d57600080fd5b634e487b7160e01b600052603260045260246000fd5b60ff8116811461151457600080fd5b805161169b81611911565b60006020828403121561193d57600080fd5b815161130d81611911565b8051801515811461169b57600080fd5b60006020828403121561196a57600080fd5b61130d82611948565b600082601f83011261198457600080fd5b81516119926115da82611549565b8181528460208386010111156119a757600080fd5b6119b8826020830160208701611314565b949350505050565b6000602082840312156119d257600080fd5b81516001600160401b03808211156119e957600080fd5b9083019060e082860312156119fd57600080fd5b611a0561147f565b611a0e83611684565b8152611a1c60208401611684565b6020820152611a2d60408401611920565b6040820152611a3e60608401611948565b6060820152611a4f608084016116bb565b6080820152611a6060a084016116bb565b60a082015260c083015182811115611a7757600080fd5b611a8387828601611973565b60c0830152509594505050505056fe6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa300f0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a004f61291a8ac3d020d0a7d919a76b8592aa88385744dee3f8b4f3873b969ed900a2646970667358221220df5ea377323d42b74e6cde95e92c09647dc01929b683d4b17bd375c51d193ce764736f6c63430008140033",
352
450
  "linkReferences": {
353
451
  "contracts/types/Blocknumber.sol": {
354
452
  "BlocknumberLib": [
355
453
  {
356
454
  "length": 20,
357
- "start": 1766
358
- },
359
- {
360
- "length": 20,
361
- "start": 3338
455
+ "start": 4188
362
456
  }
363
457
  ]
364
458
  },
@@ -366,7 +460,7 @@
366
460
  "NftIdLib": [
367
461
  {
368
462
  "length": 20,
369
- "start": 5170
463
+ "start": 5800
370
464
  }
371
465
  ]
372
466
  },
@@ -374,15 +468,23 @@
374
468
  "VersionLib": [
375
469
  {
376
470
  "length": 20,
377
- "start": 1602
471
+ "start": 622
378
472
  },
379
473
  {
380
474
  "length": 20,
381
- "start": 3478
475
+ "start": 1328
382
476
  },
383
477
  {
384
478
  "length": 20,
385
- "start": 4855
479
+ "start": 3281
480
+ },
481
+ {
482
+ "length": 20,
483
+ "start": 4565
484
+ },
485
+ {
486
+ "length": 20,
487
+ "start": 5237
386
488
  }
387
489
  ]
388
490
  }
@@ -392,7 +494,7 @@
392
494
  "BlocknumberLib": [
393
495
  {
394
496
  "length": 20,
395
- "start": 1104
497
+ "start": 2052
396
498
  }
397
499
  ]
398
500
  },
@@ -400,7 +502,7 @@
400
502
  "NftIdLib": [
401
503
  {
402
504
  "length": 20,
403
- "start": 2936
505
+ "start": 3664
404
506
  }
405
507
  ]
406
508
  },
@@ -408,11 +510,15 @@
408
510
  "VersionLib": [
409
511
  {
410
512
  "length": 20,
411
- "start": 1244
513
+ "start": 1145
514
+ },
515
+ {
516
+ "length": 20,
517
+ "start": 2429
412
518
  },
413
519
  {
414
520
  "length": 20,
415
- "start": 2621
521
+ "start": 3101
416
522
  }
417
523
  ]
418
524
  }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../../build-info/1a42edd98eb9f337c509f79259ca2d18.json"
3
+ "buildInfo": "../../../../build-info/fb3a98c31eed59ef653e03c45b04f993.json"
4
4
  }