@etherisc/gif-next 0.0.2-d96b9e1-825 → 0.0.2-da0f894-204

Sign up to get free protection for your applications and to get access to all the features.
Files changed (471) hide show
  1. package/README.md +327 -8
  2. package/artifacts/contracts/components/Component.sol/Component.dbg.json +4 -0
  3. package/artifacts/contracts/components/Component.sol/Component.json +774 -0
  4. package/artifacts/contracts/components/Distribution.sol/Distribution.dbg.json +4 -0
  5. package/artifacts/contracts/components/Distribution.sol/Distribution.json +1279 -0
  6. package/artifacts/contracts/components/IComponent.sol/IComponent.dbg.json +4 -0
  7. package/artifacts/contracts/{registry/IChainNft.sol/IChainNft.json → components/IComponent.sol/IComponent.json} +234 -239
  8. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.dbg.json +4 -0
  9. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.json +829 -0
  10. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.dbg.json +1 -1
  11. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.json +804 -131
  12. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.dbg.json +1 -1
  13. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.json +455 -62
  14. package/artifacts/contracts/components/Pool.sol/Pool.dbg.json +1 -1
  15. package/artifacts/contracts/components/Pool.sol/Pool.json +1202 -138
  16. package/artifacts/contracts/components/Product.sol/Product.dbg.json +1 -1
  17. package/artifacts/contracts/components/Product.sol/Product.json +881 -87
  18. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.dbg.json +4 -0
  19. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.json +764 -0
  20. package/artifacts/contracts/instance/Cloneable.sol/Cloneable.dbg.json +4 -0
  21. package/artifacts/contracts/instance/Cloneable.sol/Cloneable.json +185 -0
  22. package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
  23. package/artifacts/contracts/instance/IInstance.sol/IInstance.json +1595 -1039
  24. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +4 -0
  25. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +509 -0
  26. package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
  27. package/artifacts/contracts/instance/Instance.sol/Instance.json +2378 -1208
  28. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.dbg.json +4 -0
  29. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.json +984 -0
  30. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +4 -0
  31. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +1355 -0
  32. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +4 -0
  33. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +1046 -0
  34. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +4 -0
  35. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +693 -0
  36. package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.dbg.json +4 -0
  37. package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.json +261 -0
  38. package/artifacts/contracts/instance/base/ComponentService.sol/ComponentService.dbg.json +4 -0
  39. package/artifacts/contracts/instance/base/ComponentService.sol/ComponentService.json +552 -0
  40. package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.dbg.json +1 -1
  41. package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.json +45 -127
  42. package/artifacts/contracts/instance/base/ILifecycle.sol/ILifecycle.dbg.json +1 -1
  43. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.dbg.json +1 -1
  44. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.json +55 -245
  45. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.dbg.json +1 -1
  46. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.json +6 -6
  47. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.dbg.json +4 -0
  48. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.json +254 -0
  49. package/artifacts/contracts/instance/module/IBundle.sol/IBundle.dbg.json +4 -0
  50. package/artifacts/contracts/instance/module/{bundle/IBundle.sol → IBundle.sol}/IBundle.json +1 -1
  51. package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.dbg.json +4 -0
  52. package/artifacts/contracts/instance/module/{access/IAccess.sol/IAccess.json → IDistribution.sol/IDistribution.json} +2 -2
  53. package/artifacts/contracts/instance/module/IPolicy.sol/IPolicy.dbg.json +4 -0
  54. package/artifacts/contracts/instance/module/{policy/IPolicy.sol → IPolicy.sol}/IPolicy.json +1 -1
  55. package/artifacts/contracts/instance/module/IRisk.sol/IRisk.dbg.json +4 -0
  56. package/artifacts/contracts/instance/module/{risk/IRisk.sol → IRisk.sol}/IRisk.json +1 -1
  57. package/artifacts/contracts/instance/module/ISetup.sol/ISetup.dbg.json +4 -0
  58. package/artifacts/contracts/instance/{base/ModuleBase.sol/ModuleBase.json → module/ISetup.sol/ISetup.json} +2 -2
  59. package/artifacts/contracts/instance/module/ITreasury.sol/ITreasury.dbg.json +4 -0
  60. package/artifacts/contracts/instance/module/{treasury/ITreasury.sol → ITreasury.sol}/ITreasury.json +1 -1
  61. package/artifacts/contracts/instance/service/ApplicationService.sol/ApplicationService.dbg.json +4 -0
  62. package/artifacts/contracts/instance/service/ApplicationService.sol/ApplicationService.json +947 -0
  63. package/artifacts/contracts/instance/service/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +4 -0
  64. package/artifacts/contracts/instance/service/ApplicationServiceManager.sol/ApplicationServiceManager.json +665 -0
  65. package/artifacts/contracts/instance/service/BundleService.sol/BundleService.dbg.json +4 -0
  66. package/artifacts/contracts/instance/service/BundleService.sol/BundleService.json +1096 -0
  67. package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.dbg.json +4 -0
  68. package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.json +661 -0
  69. package/artifacts/contracts/instance/service/ClaimService.sol/ClaimService.dbg.json +4 -0
  70. package/artifacts/contracts/instance/service/ClaimService.sol/ClaimService.json +754 -0
  71. package/artifacts/contracts/instance/service/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +4 -0
  72. package/artifacts/contracts/instance/service/ClaimServiceManager.sol/ClaimServiceManager.json +637 -0
  73. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.dbg.json +4 -0
  74. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.json +1553 -0
  75. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +4 -0
  76. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.json +793 -0
  77. package/artifacts/contracts/instance/service/IApplicationService.sol/IApplicationService.dbg.json +4 -0
  78. package/artifacts/contracts/instance/service/IApplicationService.sol/IApplicationService.json +535 -0
  79. package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.dbg.json +4 -0
  80. package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.json +633 -0
  81. package/artifacts/contracts/instance/service/IClaimService.sol/IClaimService.dbg.json +4 -0
  82. package/artifacts/contracts/instance/service/IClaimService.sol/IClaimService.json +409 -0
  83. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.dbg.json +4 -0
  84. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.json +858 -0
  85. package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.dbg.json +4 -0
  86. package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.json +519 -0
  87. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.dbg.json +1 -1
  88. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.json +136 -165
  89. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.dbg.json +1 -1
  90. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.json +139 -232
  91. package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.dbg.json +4 -0
  92. package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.json +1000 -0
  93. package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +4 -0
  94. package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.json +689 -0
  95. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.dbg.json +1 -1
  96. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.json +416 -160
  97. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.dbg.json +4 -0
  98. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.json +649 -0
  99. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.dbg.json +1 -1
  100. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.json +401 -297
  101. package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.dbg.json +4 -0
  102. package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.json +649 -0
  103. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
  104. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +186 -12
  105. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
  106. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +466 -34
  107. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +4 -0
  108. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +890 -0
  109. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +4 -0
  110. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.json +34 -0
  111. package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
  112. package/artifacts/contracts/registry/Registry.sol/Registry.json +470 -103
  113. package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.dbg.json +4 -0
  114. package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.json +285 -0
  115. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +4 -0
  116. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +1177 -0
  117. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +4 -0
  118. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +670 -0
  119. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.dbg.json +4 -0
  120. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.json +547 -0
  121. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +4 -0
  122. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +498 -0
  123. package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.dbg.json +4 -0
  124. package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.json +107 -0
  125. package/artifacts/contracts/shared/ERC165.sol/ERC165.dbg.json +1 -1
  126. package/artifacts/contracts/shared/ERC165.sol/ERC165.json +41 -3
  127. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +4 -0
  128. package/artifacts/contracts/{components/IBaseComponent.sol/IBaseComponent.json → shared/INftOwnable.sol/INftOwnable.json} +38 -74
  129. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.dbg.json +4 -0
  130. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.json +129 -0
  131. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
  132. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +100 -33
  133. package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.dbg.json +4 -0
  134. package/artifacts/contracts/{experiment/inheritance/IB.sol/IB.json → shared/IRegistryLinked.sol/IRegistryLinked.json} +18 -20
  135. package/artifacts/contracts/shared/IService.sol/IService.dbg.json +4 -0
  136. package/artifacts/contracts/{instance/base/ServiceBase.sol/ServiceBase.json → shared/IService.sol/IService.json} +121 -152
  137. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.dbg.json +1 -1
  138. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.json +16 -125
  139. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +4 -0
  140. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +251 -0
  141. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.dbg.json +4 -0
  142. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.json +248 -0
  143. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.dbg.json +4 -0
  144. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.json +582 -0
  145. package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
  146. package/artifacts/contracts/shared/Registerable.sol/Registerable.json +256 -25
  147. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.dbg.json +4 -0
  148. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.json +84 -0
  149. package/artifacts/contracts/shared/Service.sol/Service.dbg.json +4 -0
  150. package/artifacts/contracts/{instance/service/IComponentOwnerService.sol/IComponentOwnerService.json → shared/Service.sol/Service.json} +220 -159
  151. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +4 -0
  152. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +96 -0
  153. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +4 -0
  154. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +129 -0
  155. package/artifacts/contracts/shared/Versionable.sol/Versionable.dbg.json +1 -1
  156. package/artifacts/contracts/shared/Versionable.sol/Versionable.json +29 -115
  157. package/artifacts/contracts/test/TestFee.sol/TestFee.dbg.json +1 -1
  158. package/artifacts/contracts/test/TestFee.sol/TestFee.json +10 -10
  159. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.dbg.json +1 -1
  160. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.json +272 -26
  161. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.dbg.json +1 -1
  162. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.json +44 -10
  163. package/artifacts/contracts/test/TestService.sol/TestService.dbg.json +1 -1
  164. package/artifacts/contracts/test/TestService.sol/TestService.json +281 -139
  165. package/artifacts/contracts/test/TestToken.sol/TestUsdc.dbg.json +1 -1
  166. package/artifacts/contracts/test/TestToken.sol/TestUsdc.json +91 -53
  167. package/artifacts/contracts/test/TestVersion.sol/TestVersion.dbg.json +1 -1
  168. package/artifacts/contracts/test/TestVersion.sol/TestVersion.json +12 -12
  169. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.dbg.json +1 -1
  170. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.json +38 -140
  171. package/artifacts/contracts/test/Usdc.sol/USDC.dbg.json +4 -0
  172. package/artifacts/contracts/test/Usdc.sol/USDC.json +376 -0
  173. package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.dbg.json +1 -1
  174. package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.json +2 -2
  175. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.dbg.json +1 -1
  176. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.json +2 -2
  177. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.dbg.json +1 -1
  178. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.json +2 -2
  179. package/artifacts/contracts/types/ClaimId.sol/ClaimIdLib.dbg.json +4 -0
  180. package/artifacts/contracts/types/ClaimId.sol/ClaimIdLib.json +100 -0
  181. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.dbg.json +4 -0
  182. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.json +104 -0
  183. package/artifacts/contracts/types/Fee.sol/FeeLib.dbg.json +1 -1
  184. package/artifacts/contracts/types/Fee.sol/FeeLib.json +52 -13
  185. package/artifacts/contracts/types/Key32.sol/Key32Lib.dbg.json +1 -1
  186. package/artifacts/contracts/types/Key32.sol/Key32Lib.json +31 -17
  187. package/artifacts/contracts/types/NftId.sol/NftIdLib.dbg.json +1 -1
  188. package/artifacts/contracts/types/NftId.sol/NftIdLib.json +4 -4
  189. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.dbg.json +1 -1
  190. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.json +26 -3
  191. package/artifacts/contracts/types/NumberId.sol/NumberIdLib.dbg.json +4 -0
  192. package/artifacts/contracts/types/NumberId.sol/NumberIdLib.json +100 -0
  193. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.dbg.json +1 -1
  194. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.json +2 -2
  195. package/artifacts/contracts/types/PayoutId.sol/PayoutIdLib.dbg.json +4 -0
  196. package/artifacts/contracts/types/PayoutId.sol/PayoutIdLib.json +100 -0
  197. package/artifacts/contracts/types/Referral.sol/ReferralLib.dbg.json +4 -0
  198. package/artifacts/contracts/types/Referral.sol/ReferralLib.json +123 -0
  199. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.dbg.json +4 -0
  200. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.json +86 -0
  201. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.dbg.json +4 -0
  202. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.json +156 -0
  203. package/artifacts/contracts/types/Seconds.sol/SecondsLib.dbg.json +4 -0
  204. package/artifacts/contracts/types/Seconds.sol/SecondsLib.json +124 -0
  205. package/artifacts/contracts/types/StateId.sol/StateIdLib.dbg.json +1 -1
  206. package/artifacts/contracts/types/StateId.sol/StateIdLib.json +2 -2
  207. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.dbg.json +1 -1
  208. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.json +38 -7
  209. package/artifacts/contracts/types/UFixed.sol/MathLib.dbg.json +4 -0
  210. package/artifacts/contracts/types/UFixed.sol/MathLib.json +10 -0
  211. package/artifacts/contracts/types/UFixed.sol/UFixedLib.dbg.json +4 -0
  212. package/artifacts/contracts/types/UFixed.sol/UFixedLib.json +479 -0
  213. package/artifacts/contracts/types/Version.sol/VersionLib.dbg.json +1 -1
  214. package/artifacts/contracts/types/Version.sol/VersionLib.json +40 -2
  215. package/artifacts/contracts/types/Version.sol/VersionPartLib.dbg.json +1 -1
  216. package/artifacts/contracts/types/Version.sol/VersionPartLib.json +22 -3
  217. package/contracts/components/Component.sol +221 -0
  218. package/contracts/components/Distribution.sol +293 -0
  219. package/contracts/components/IComponent.sol +68 -0
  220. package/contracts/components/IDistributionComponent.sol +79 -0
  221. package/contracts/components/IPoolComponent.sol +136 -42
  222. package/contracts/components/IProductComponent.sol +30 -9
  223. package/contracts/components/Pool.sol +310 -106
  224. package/contracts/components/Product.sol +214 -42
  225. package/contracts/instance/BundleManager.sol +125 -0
  226. package/contracts/instance/Cloneable.sol +46 -0
  227. package/contracts/instance/IInstance.sol +85 -45
  228. package/contracts/instance/IInstanceService.sol +59 -0
  229. package/contracts/instance/Instance.sol +276 -53
  230. package/contracts/instance/InstanceAccessManager.sol +297 -0
  231. package/contracts/instance/InstanceReader.sol +293 -0
  232. package/contracts/instance/InstanceService.sol +490 -0
  233. package/contracts/instance/InstanceServiceManager.sol +54 -0
  234. package/contracts/instance/ObjectManager.sol +84 -0
  235. package/contracts/instance/base/ComponentService.sol +134 -0
  236. package/contracts/instance/base/IKeyValueStore.sol +13 -13
  237. package/contracts/instance/base/ILifecycle.sol +3 -3
  238. package/contracts/instance/base/KeyValueStore.sol +61 -36
  239. package/contracts/instance/base/Lifecycle.sol +16 -11
  240. package/contracts/instance/module/IAccess.sol +47 -0
  241. package/contracts/instance/module/IBundle.sol +21 -0
  242. package/contracts/instance/module/IDistribution.sol +41 -0
  243. package/contracts/instance/module/IPolicy.sol +72 -0
  244. package/contracts/instance/module/IRisk.sol +11 -0
  245. package/contracts/instance/module/ISetup.sol +46 -0
  246. package/contracts/instance/module/ITreasury.sol +23 -0
  247. package/contracts/instance/service/ApplicationService.sol +346 -0
  248. package/contracts/instance/service/ApplicationServiceManager.sol +35 -0
  249. package/contracts/instance/service/BundleService.sol +299 -0
  250. package/contracts/instance/service/BundleServiceManager.sol +51 -0
  251. package/contracts/instance/service/ClaimService.sol +151 -0
  252. package/contracts/instance/service/ClaimServiceManager.sol +35 -0
  253. package/contracts/instance/service/DistributionService.sol +394 -0
  254. package/contracts/instance/service/DistributionServiceManager.sol +51 -0
  255. package/contracts/instance/service/IApplicationService.sol +81 -0
  256. package/contracts/instance/service/IBundleService.sol +55 -0
  257. package/contracts/instance/service/IClaimService.sol +61 -0
  258. package/contracts/instance/service/IDistributionService.sol +86 -0
  259. package/contracts/instance/service/IPolicyService.sol +70 -0
  260. package/contracts/instance/service/IPoolService.sol +8 -18
  261. package/contracts/instance/service/IProductService.sol +21 -39
  262. package/contracts/instance/service/PolicyService.sol +404 -0
  263. package/contracts/instance/service/PolicyServiceManager.sol +54 -0
  264. package/contracts/instance/service/PoolService.sol +78 -92
  265. package/contracts/instance/service/PoolServiceManager.sol +51 -0
  266. package/contracts/instance/service/ProductService.sol +168 -289
  267. package/contracts/instance/service/ProductServiceManager.sol +54 -0
  268. package/contracts/registry/ChainNft.sol +79 -36
  269. package/contracts/registry/IRegistry.sol +66 -24
  270. package/contracts/registry/IRegistryService.sol +67 -0
  271. package/contracts/registry/ITransferInterceptor.sol +6 -0
  272. package/contracts/registry/Registry.sol +366 -283
  273. package/contracts/registry/RegistryAccessManager.sol +216 -0
  274. package/contracts/registry/RegistryService.sol +283 -0
  275. package/contracts/registry/RegistryServiceManager.sol +62 -0
  276. package/contracts/registry/ReleaseManager.sol +322 -0
  277. package/contracts/registry/TokenRegistry.sol +116 -0
  278. package/contracts/shared/ContractDeployerLib.sol +72 -0
  279. package/contracts/shared/ERC165.sol +14 -8
  280. package/contracts/shared/INftOwnable.sol +23 -0
  281. package/contracts/shared/IPolicyHolder.sol +26 -0
  282. package/contracts/shared/IRegisterable.sol +10 -19
  283. package/contracts/shared/IRegistryLinked.sol +12 -0
  284. package/contracts/shared/IService.sol +18 -0
  285. package/contracts/shared/IVersionable.sol +38 -37
  286. package/contracts/shared/NftOwnable.sol +120 -0
  287. package/contracts/shared/PolicyHolder.sol +81 -0
  288. package/contracts/shared/ProxyManager.sol +169 -0
  289. package/contracts/shared/Registerable.sol +54 -66
  290. package/contracts/shared/RegistryLinked.sol +48 -0
  291. package/contracts/shared/Service.sol +58 -0
  292. package/contracts/shared/TokenHandler.sol +27 -0
  293. package/contracts/shared/UpgradableProxyWithAdmin.sol +16 -0
  294. package/contracts/shared/Versionable.sol +38 -68
  295. package/contracts/test/TestFee.sol +2 -2
  296. package/contracts/test/TestRegisterable.sol +5 -6
  297. package/contracts/test/TestRoleId.sol +2 -2
  298. package/contracts/test/TestService.sol +7 -14
  299. package/contracts/test/Usdc.sol +26 -0
  300. package/contracts/types/ClaimId.sol +52 -0
  301. package/contracts/types/DistributorType.sol +55 -0
  302. package/contracts/types/Fee.sol +10 -5
  303. package/contracts/types/Key32.sol +8 -3
  304. package/contracts/types/NftIdSet.sol +26 -24
  305. package/contracts/types/NumberId.sol +52 -0
  306. package/contracts/types/ObjectType.sol +55 -14
  307. package/contracts/types/PayoutId.sol +54 -0
  308. package/contracts/types/Referral.sol +85 -0
  309. package/contracts/types/RiskId.sol +43 -0
  310. package/contracts/types/RoleId.sol +70 -11
  311. package/contracts/types/Seconds.sol +54 -0
  312. package/contracts/types/StateId.sol +5 -1
  313. package/contracts/types/Timestamp.sol +16 -13
  314. package/contracts/types/UFixed.sol +144 -25
  315. package/contracts/types/Version.sol +13 -1
  316. package/package.json +9 -5
  317. package/artifacts/contracts/components/BaseComponent.sol/BaseComponent.dbg.json +0 -4
  318. package/artifacts/contracts/components/BaseComponent.sol/BaseComponent.json +0 -174
  319. package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.dbg.json +0 -4
  320. package/artifacts/contracts/experiment/errors/Require.sol/Require.dbg.json +0 -4
  321. package/artifacts/contracts/experiment/errors/Require.sol/Require.json +0 -105
  322. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.dbg.json +0 -4
  323. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.json +0 -105
  324. package/artifacts/contracts/experiment/inheritance/A.sol/A.dbg.json +0 -4
  325. package/artifacts/contracts/experiment/inheritance/A.sol/A.json +0 -128
  326. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.dbg.json +0 -4
  327. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.json +0 -42
  328. package/artifacts/contracts/experiment/inheritance/B.sol/B.dbg.json +0 -4
  329. package/artifacts/contracts/experiment/inheritance/B.sol/B.json +0 -76
  330. package/artifacts/contracts/experiment/inheritance/C.sol/C.dbg.json +0 -4
  331. package/artifacts/contracts/experiment/inheritance/C.sol/C.json +0 -89
  332. package/artifacts/contracts/experiment/inheritance/IA.sol/IA.dbg.json +0 -4
  333. package/artifacts/contracts/experiment/inheritance/IA.sol/IA.json +0 -128
  334. package/artifacts/contracts/experiment/inheritance/IA.sol/ISharedA.dbg.json +0 -4
  335. package/artifacts/contracts/experiment/inheritance/IA.sol/ISharedA.json +0 -37
  336. package/artifacts/contracts/experiment/inheritance/IB.sol/IB.dbg.json +0 -4
  337. package/artifacts/contracts/experiment/inheritance/IC.sol/IC.dbg.json +0 -4
  338. package/artifacts/contracts/experiment/inheritance/IC.sol/IC.json +0 -63
  339. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.dbg.json +0 -4
  340. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.json +0 -59
  341. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.dbg.json +0 -4
  342. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.json +0 -124
  343. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.dbg.json +0 -4
  344. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.json +0 -74
  345. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.dbg.json +0 -4
  346. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.json +0 -124
  347. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.dbg.json +0 -4
  348. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.json +0 -207
  349. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.dbg.json +0 -4
  350. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.json +0 -10
  351. package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.dbg.json +0 -4
  352. package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.json +0 -10
  353. package/artifacts/contracts/instance/IInstanceLinked.sol/IInstanceLinked.dbg.json +0 -4
  354. package/artifacts/contracts/instance/IInstanceLinked.sol/IInstanceLinked.json +0 -24
  355. package/artifacts/contracts/instance/base/ComponentServiceBase.sol/ComponentServiceBase.dbg.json +0 -4
  356. package/artifacts/contracts/instance/base/ComponentServiceBase.sol/ComponentServiceBase.json +0 -300
  357. package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.dbg.json +0 -4
  358. package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.json +0 -63
  359. package/artifacts/contracts/instance/base/IService.sol/IService.dbg.json +0 -4
  360. package/artifacts/contracts/instance/base/IService.sol/IService.json +0 -300
  361. package/artifacts/contracts/instance/base/InstanceBase.sol/InstanceBase.dbg.json +0 -4
  362. package/artifacts/contracts/instance/base/InstanceBase.sol/InstanceBase.json +0 -326
  363. package/artifacts/contracts/instance/base/ModuleBase.sol/ModuleBase.dbg.json +0 -4
  364. package/artifacts/contracts/instance/base/ServiceBase.sol/ServiceBase.dbg.json +0 -4
  365. package/artifacts/contracts/instance/module/access/Access.sol/AccessModule.dbg.json +0 -4
  366. package/artifacts/contracts/instance/module/access/Access.sol/AccessModule.json +0 -333
  367. package/artifacts/contracts/instance/module/access/IAccess.sol/IAccess.dbg.json +0 -4
  368. package/artifacts/contracts/instance/module/access/IAccess.sol/IAccessModule.dbg.json +0 -4
  369. package/artifacts/contracts/instance/module/access/IAccess.sol/IAccessModule.json +0 -333
  370. package/artifacts/contracts/instance/module/bundle/BundleModule.sol/BundleModule.dbg.json +0 -4
  371. package/artifacts/contracts/instance/module/bundle/BundleModule.sol/BundleModule.json +0 -296
  372. package/artifacts/contracts/instance/module/bundle/IBundle.sol/IBundle.dbg.json +0 -4
  373. package/artifacts/contracts/instance/module/bundle/IBundle.sol/IBundleModule.dbg.json +0 -4
  374. package/artifacts/contracts/instance/module/bundle/IBundle.sol/IBundleModule.json +0 -296
  375. package/artifacts/contracts/instance/module/compensation/CompensationModule.sol/CompensationModule.dbg.json +0 -4
  376. package/artifacts/contracts/instance/module/compensation/CompensationModule.sol/CompensationModule.json +0 -10
  377. package/artifacts/contracts/instance/module/compensation/ICompensation.sol/ICompensation.dbg.json +0 -4
  378. package/artifacts/contracts/instance/module/compensation/ICompensation.sol/ICompensation.json +0 -10
  379. package/artifacts/contracts/instance/module/compensation/ICompensation.sol/ICompensationModule.dbg.json +0 -4
  380. package/artifacts/contracts/instance/module/compensation/ICompensation.sol/ICompensationModule.json +0 -10
  381. package/artifacts/contracts/instance/module/component/ComponentModule.sol/ComponentModule.dbg.json +0 -4
  382. package/artifacts/contracts/instance/module/component/ComponentModule.sol/ComponentModule.json +0 -188
  383. package/artifacts/contracts/instance/module/component/IComponent.sol/IComponent.dbg.json +0 -4
  384. package/artifacts/contracts/instance/module/component/IComponent.sol/IComponent.json +0 -10
  385. package/artifacts/contracts/instance/module/component/IComponent.sol/IComponentModule.dbg.json +0 -4
  386. package/artifacts/contracts/instance/module/component/IComponent.sol/IComponentModule.json +0 -188
  387. package/artifacts/contracts/instance/module/policy/IPolicy.sol/IPolicy.dbg.json +0 -4
  388. package/artifacts/contracts/instance/module/policy/IPolicy.sol/IPolicyModule.dbg.json +0 -4
  389. package/artifacts/contracts/instance/module/policy/IPolicy.sol/IPolicyModule.json +0 -261
  390. package/artifacts/contracts/instance/module/policy/PolicyModule.sol/PolicyModule.dbg.json +0 -4
  391. package/artifacts/contracts/instance/module/policy/PolicyModule.sol/PolicyModule.json +0 -261
  392. package/artifacts/contracts/instance/module/pool/IPoolModule.sol/IPool.dbg.json +0 -4
  393. package/artifacts/contracts/instance/module/pool/IPoolModule.sol/IPool.json +0 -10
  394. package/artifacts/contracts/instance/module/pool/IPoolModule.sol/IPoolModule.dbg.json +0 -4
  395. package/artifacts/contracts/instance/module/pool/IPoolModule.sol/IPoolModule.json +0 -149
  396. package/artifacts/contracts/instance/module/pool/PoolModule.sol/PoolModule.dbg.json +0 -4
  397. package/artifacts/contracts/instance/module/pool/PoolModule.sol/PoolModule.json +0 -149
  398. package/artifacts/contracts/instance/module/risk/IRisk.sol/IRisk.dbg.json +0 -4
  399. package/artifacts/contracts/instance/module/risk/IRisk.sol/IRiskModule.dbg.json +0 -4
  400. package/artifacts/contracts/instance/module/risk/IRisk.sol/IRiskModule.json +0 -10
  401. package/artifacts/contracts/instance/module/risk/RiskModule.sol/RiskModule.dbg.json +0 -4
  402. package/artifacts/contracts/instance/module/risk/RiskModule.sol/RiskModule.json +0 -10
  403. package/artifacts/contracts/instance/module/treasury/ITreasury.sol/ITreasury.dbg.json +0 -4
  404. package/artifacts/contracts/instance/module/treasury/ITreasury.sol/ITreasuryModule.dbg.json +0 -4
  405. package/artifacts/contracts/instance/module/treasury/ITreasury.sol/ITreasuryModule.json +0 -533
  406. package/artifacts/contracts/instance/module/treasury/TokenHandler.sol/TokenHandler.dbg.json +0 -4
  407. package/artifacts/contracts/instance/module/treasury/TokenHandler.sol/TokenHandler.json +0 -76
  408. package/artifacts/contracts/instance/module/treasury/TreasuryModule.sol/TreasuryModule.dbg.json +0 -4
  409. package/artifacts/contracts/instance/module/treasury/TreasuryModule.sol/TreasuryModule.json +0 -533
  410. package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.dbg.json +0 -4
  411. package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.json +0 -491
  412. package/artifacts/contracts/instance/service/IComponentOwnerService.sol/IComponentOwnerService.dbg.json +0 -4
  413. package/artifacts/contracts/registry/IChainNft.sol/IChainNft.dbg.json +0 -4
  414. package/artifacts/contracts/registry/IRegistryLinked.sol/IRegistryLinked.dbg.json +0 -4
  415. package/artifacts/contracts/registry/IRegistryLinked.sol/IRegistryLinked.json +0 -24
  416. package/artifacts/contracts/shared/IOwnable.sol/IOwnable.dbg.json +0 -4
  417. package/artifacts/contracts/shared/IOwnable.sol/IOwnable.json +0 -24
  418. package/artifacts/contracts/test/TestPool.sol/TestPool.dbg.json +0 -4
  419. package/artifacts/contracts/test/TestPool.sol/TestPool.json +0 -387
  420. package/artifacts/contracts/test/TestProduct.sol/TestProduct.dbg.json +0 -4
  421. package/artifacts/contracts/test/TestProduct.sol/TestProduct.json +0 -393
  422. package/artifacts/contracts/types/UFixed.sol/UFixedMathLib.dbg.json +0 -4
  423. package/artifacts/contracts/types/UFixed.sol/UFixedMathLib.json +0 -453
  424. package/contracts/components/BaseComponent.sol +0 -88
  425. package/contracts/components/IBaseComponent.sol +0 -19
  426. package/contracts/experiment/errors/Require.sol +0 -38
  427. package/contracts/experiment/errors/Revert.sol +0 -44
  428. package/contracts/experiment/inheritance/A.sol +0 -53
  429. package/contracts/experiment/inheritance/B.sol +0 -28
  430. package/contracts/experiment/inheritance/C.sol +0 -34
  431. package/contracts/experiment/inheritance/IA.sol +0 -13
  432. package/contracts/experiment/inheritance/IB.sol +0 -10
  433. package/contracts/experiment/inheritance/IC.sol +0 -12
  434. package/contracts/experiment/statemachine/Dummy.sol +0 -27
  435. package/contracts/experiment/statemachine/ISM.sol +0 -25
  436. package/contracts/experiment/statemachine/README.md +0 -112
  437. package/contracts/experiment/statemachine/SM.sol +0 -57
  438. package/contracts/experiment/statemachine/SimpleStateMachine.sol +0 -31
  439. package/contracts/experiment/types/TypeA.sol +0 -47
  440. package/contracts/experiment/types/TypeB.sol +0 -29
  441. package/contracts/instance/IInstanceLinked.sol +0 -8
  442. package/contracts/instance/base/ComponentServiceBase.sol +0 -42
  443. package/contracts/instance/base/IInstanceBase.sol +0 -14
  444. package/contracts/instance/base/IService.sol +0 -15
  445. package/contracts/instance/base/InstanceBase.sol +0 -80
  446. package/contracts/instance/base/ModuleBase.sol +0 -52
  447. package/contracts/instance/base/ServiceBase.sol +0 -37
  448. package/contracts/instance/module/access/Access.sol +0 -149
  449. package/contracts/instance/module/access/IAccess.sol +0 -53
  450. package/contracts/instance/module/bundle/BundleModule.sol +0 -136
  451. package/contracts/instance/module/bundle/IBundle.sol +0 -58
  452. package/contracts/instance/module/compensation/CompensationModule.sol +0 -8
  453. package/contracts/instance/module/compensation/ICompensation.sol +0 -10
  454. package/contracts/instance/module/component/ComponentModule.sol +0 -95
  455. package/contracts/instance/module/component/IComponent.sol +0 -53
  456. package/contracts/instance/module/policy/IPolicy.sol +0 -60
  457. package/contracts/instance/module/policy/PolicyModule.sol +0 -76
  458. package/contracts/instance/module/pool/IPoolModule.sol +0 -41
  459. package/contracts/instance/module/pool/PoolModule.sol +0 -87
  460. package/contracts/instance/module/risk/IRisk.sol +0 -10
  461. package/contracts/instance/module/risk/RiskModule.sol +0 -8
  462. package/contracts/instance/module/treasury/ITreasury.sol +0 -103
  463. package/contracts/instance/module/treasury/TokenHandler.sol +0 -48
  464. package/contracts/instance/module/treasury/TreasuryModule.sol +0 -152
  465. package/contracts/instance/service/ComponentOwnerService.sol +0 -170
  466. package/contracts/instance/service/IComponentOwnerService.sol +0 -22
  467. package/contracts/registry/IChainNft.sol +0 -21
  468. package/contracts/registry/IRegistryLinked.sol +0 -8
  469. package/contracts/shared/IOwnable.sol +0 -6
  470. package/contracts/test/TestPool.sol +0 -22
  471. package/contracts/test/TestProduct.sol +0 -44
@@ -14,34 +14,97 @@
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
  },
22
27
  {
23
- "anonymous": false,
24
28
  "inputs": [
25
29
  {
26
- "indexed": false,
27
- "internalType": "Version",
28
- "name": "version",
29
- "type": "uint24"
30
- },
30
+ "internalType": "address",
31
+ "name": "caller",
32
+ "type": "address"
33
+ }
34
+ ],
35
+ "name": "ErrorIServiceCallerUnknown",
36
+ "type": "error"
37
+ },
38
+ {
39
+ "inputs": [
40
+ {
41
+ "internalType": "NftId",
42
+ "name": "nftId",
43
+ "type": "uint96"
44
+ }
45
+ ],
46
+ "name": "ErrorNftOwnableAlreadyLinked",
47
+ "type": "error"
48
+ },
49
+ {
50
+ "inputs": [
31
51
  {
32
- "indexed": false,
33
52
  "internalType": "address",
34
- "name": "implementation",
53
+ "name": "contractAddress",
35
54
  "type": "address"
36
- },
55
+ }
56
+ ],
57
+ "name": "ErrorNftOwnableContractNotRegistered",
58
+ "type": "error"
59
+ },
60
+ {
61
+ "inputs": [],
62
+ "name": "ErrorNftOwnableInitialOwnerZero",
63
+ "type": "error"
64
+ },
65
+ {
66
+ "inputs": [
37
67
  {
38
- "indexed": false,
39
68
  "internalType": "address",
40
- "name": "activatedBy",
69
+ "name": "account",
70
+ "type": "address"
71
+ }
72
+ ],
73
+ "name": "ErrorNftOwnableNotOwner",
74
+ "type": "error"
75
+ },
76
+ {
77
+ "inputs": [
78
+ {
79
+ "internalType": "address",
80
+ "name": "registryAddress",
41
81
  "type": "address"
42
82
  }
43
83
  ],
44
- "name": "LogVersionableActivated",
84
+ "name": "ErrorNotRegistry",
85
+ "type": "error"
86
+ },
87
+ {
88
+ "inputs": [],
89
+ "name": "InvalidInitialization",
90
+ "type": "error"
91
+ },
92
+ {
93
+ "inputs": [],
94
+ "name": "NotInitializing",
95
+ "type": "error"
96
+ },
97
+ {
98
+ "anonymous": false,
99
+ "inputs": [
100
+ {
101
+ "indexed": false,
102
+ "internalType": "uint64",
103
+ "name": "version",
104
+ "type": "uint64"
105
+ }
106
+ ],
107
+ "name": "Initialized",
45
108
  "type": "event"
46
109
  },
47
110
  {
@@ -58,31 +121,26 @@
58
121
  "type": "function"
59
122
  },
60
123
  {
61
- "inputs": [
62
- {
63
- "internalType": "address",
64
- "name": "implementation",
65
- "type": "address"
66
- },
124
+ "inputs": [],
125
+ "name": "NFT_OWNABLE_STORAGE_LOCATION_V1",
126
+ "outputs": [
67
127
  {
68
- "internalType": "address",
69
- "name": "activatedBy",
70
- "type": "address"
128
+ "internalType": "bytes32",
129
+ "name": "",
130
+ "type": "bytes32"
71
131
  }
72
132
  ],
73
- "name": "activate",
74
- "outputs": [],
75
- "stateMutability": "nonpayable",
133
+ "stateMutability": "view",
76
134
  "type": "function"
77
135
  },
78
136
  {
79
137
  "inputs": [],
80
- "name": "getData",
138
+ "name": "REGISTERABLE_LOCATION_V1",
81
139
  "outputs": [
82
140
  {
83
- "internalType": "bytes",
84
- "name": "data",
85
- "type": "bytes"
141
+ "internalType": "bytes32",
142
+ "name": "",
143
+ "type": "bytes32"
86
144
  }
87
145
  ],
88
146
  "stateMutability": "view",
@@ -90,38 +148,75 @@
90
148
  },
91
149
  {
92
150
  "inputs": [],
93
- "name": "getMajorVersion",
151
+ "name": "getDomain",
94
152
  "outputs": [
95
153
  {
96
- "internalType": "VersionPart",
97
- "name": "majorVersion",
154
+ "internalType": "ObjectType",
155
+ "name": "",
98
156
  "type": "uint8"
99
157
  }
100
158
  ],
101
- "stateMutability": "view",
159
+ "stateMutability": "pure",
102
160
  "type": "function"
103
161
  },
104
162
  {
105
163
  "inputs": [],
106
- "name": "getName",
164
+ "name": "getInitialInfo",
107
165
  "outputs": [
108
166
  {
109
- "internalType": "string",
110
- "name": "name",
111
- "type": "string"
167
+ "components": [
168
+ {
169
+ "internalType": "NftId",
170
+ "name": "nftId",
171
+ "type": "uint96"
172
+ },
173
+ {
174
+ "internalType": "NftId",
175
+ "name": "parentNftId",
176
+ "type": "uint96"
177
+ },
178
+ {
179
+ "internalType": "ObjectType",
180
+ "name": "objectType",
181
+ "type": "uint8"
182
+ },
183
+ {
184
+ "internalType": "bool",
185
+ "name": "isInterceptor",
186
+ "type": "bool"
187
+ },
188
+ {
189
+ "internalType": "address",
190
+ "name": "objectAddress",
191
+ "type": "address"
192
+ },
193
+ {
194
+ "internalType": "address",
195
+ "name": "initialOwner",
196
+ "type": "address"
197
+ },
198
+ {
199
+ "internalType": "bytes",
200
+ "name": "data",
201
+ "type": "bytes"
202
+ }
203
+ ],
204
+ "internalType": "struct IRegistry.ObjectInfo",
205
+ "name": "info",
206
+ "type": "tuple"
112
207
  }
113
208
  ],
114
- "stateMutability": "pure",
209
+ "stateMutability": "view",
115
210
  "type": "function"
116
211
  },
117
212
  {
118
213
  "inputs": [],
119
- "name": "getNftId",
214
+ "name": "getMajorVersion",
120
215
  "outputs": [
121
216
  {
122
- "internalType": "NftId",
123
- "name": "nftId",
124
- "type": "uint96"
217
+ "internalType": "VersionPart",
218
+ "name": "majorVersion",
219
+ "type": "uint8"
125
220
  }
126
221
  ],
127
222
  "stateMutability": "view",
@@ -129,12 +224,12 @@
129
224
  },
130
225
  {
131
226
  "inputs": [],
132
- "name": "getOwner",
227
+ "name": "getNftId",
133
228
  "outputs": [
134
229
  {
135
- "internalType": "address",
136
- "name": "owner",
137
- "type": "address"
230
+ "internalType": "NftId",
231
+ "name": "",
232
+ "type": "uint96"
138
233
  }
139
234
  ],
140
235
  "stateMutability": "view",
@@ -142,12 +237,12 @@
142
237
  },
143
238
  {
144
239
  "inputs": [],
145
- "name": "getParentNftId",
240
+ "name": "getOwner",
146
241
  "outputs": [
147
242
  {
148
- "internalType": "NftId",
149
- "name": "nftId",
150
- "type": "uint96"
243
+ "internalType": "address",
244
+ "name": "",
245
+ "type": "address"
151
246
  }
152
247
  ],
153
248
  "stateMutability": "view",
@@ -159,7 +254,7 @@
159
254
  "outputs": [
160
255
  {
161
256
  "internalType": "contract IRegistry",
162
- "name": "registry",
257
+ "name": "",
163
258
  "type": "address"
164
259
  }
165
260
  ],
@@ -168,15 +263,15 @@
168
263
  },
169
264
  {
170
265
  "inputs": [],
171
- "name": "getType",
266
+ "name": "getRegistryAddress",
172
267
  "outputs": [
173
268
  {
174
- "internalType": "ObjectType",
269
+ "internalType": "address",
175
270
  "name": "",
176
- "type": "uint8"
271
+ "type": "address"
177
272
  }
178
273
  ],
179
- "stateMutability": "pure",
274
+ "stateMutability": "view",
180
275
  "type": "function"
181
276
  },
182
277
  {
@@ -192,113 +287,135 @@
192
287
  "stateMutability": "pure",
193
288
  "type": "function"
194
289
  },
290
+ {
291
+ "inputs": [],
292
+ "name": "initializeERC165",
293
+ "outputs": [],
294
+ "stateMutability": "nonpayable",
295
+ "type": "function"
296
+ },
195
297
  {
196
298
  "inputs": [
197
299
  {
198
- "internalType": "uint256",
199
- "name": "idx",
200
- "type": "uint256"
201
- }
202
- ],
203
- "name": "getVersion",
204
- "outputs": [
300
+ "internalType": "address",
301
+ "name": "initialOwner",
302
+ "type": "address"
303
+ },
205
304
  {
206
- "internalType": "Version",
207
- "name": "",
208
- "type": "uint24"
305
+ "internalType": "address",
306
+ "name": "registryAddress",
307
+ "type": "address"
209
308
  }
210
309
  ],
211
- "stateMutability": "view",
310
+ "name": "initializeNftOwnable",
311
+ "outputs": [],
312
+ "stateMutability": "nonpayable",
212
313
  "type": "function"
213
314
  },
214
315
  {
215
- "inputs": [],
216
- "name": "getVersionCount",
217
- "outputs": [
316
+ "inputs": [
218
317
  {
219
- "internalType": "uint256",
220
- "name": "",
221
- "type": "uint256"
318
+ "internalType": "address",
319
+ "name": "registryAddress",
320
+ "type": "address"
321
+ },
322
+ {
323
+ "internalType": "NftId",
324
+ "name": "parentNftId",
325
+ "type": "uint96"
326
+ },
327
+ {
328
+ "internalType": "ObjectType",
329
+ "name": "objectType",
330
+ "type": "uint8"
331
+ },
332
+ {
333
+ "internalType": "bool",
334
+ "name": "isInterceptor",
335
+ "type": "bool"
336
+ },
337
+ {
338
+ "internalType": "address",
339
+ "name": "initialOwner",
340
+ "type": "address"
341
+ },
342
+ {
343
+ "internalType": "bytes",
344
+ "name": "registryData",
345
+ "type": "bytes"
222
346
  }
223
347
  ],
224
- "stateMutability": "view",
348
+ "name": "initializeRegisterable",
349
+ "outputs": [],
350
+ "stateMutability": "nonpayable",
225
351
  "type": "function"
226
352
  },
227
353
  {
228
354
  "inputs": [
229
355
  {
230
- "internalType": "Version",
231
- "name": "_version",
232
- "type": "uint24"
356
+ "internalType": "address",
357
+ "name": "registryAddress",
358
+ "type": "address"
233
359
  }
234
360
  ],
235
- "name": "getVersionInfo",
236
- "outputs": [
361
+ "name": "initializeRegistryLinked",
362
+ "outputs": [],
363
+ "stateMutability": "nonpayable",
364
+ "type": "function"
365
+ },
366
+ {
367
+ "inputs": [
237
368
  {
238
- "components": [
239
- {
240
- "internalType": "Version",
241
- "name": "version",
242
- "type": "uint24"
243
- },
244
- {
245
- "internalType": "address",
246
- "name": "implementation",
247
- "type": "address"
248
- },
249
- {
250
- "internalType": "address",
251
- "name": "activatedBy",
252
- "type": "address"
253
- },
254
- {
255
- "internalType": "Timestamp",
256
- "name": "activatedAt",
257
- "type": "uint40"
258
- },
259
- {
260
- "internalType": "Blocknumber",
261
- "name": "activatedIn",
262
- "type": "uint32"
263
- }
264
- ],
265
- "internalType": "struct IVersionable.VersionInfo",
266
- "name": "",
267
- "type": "tuple"
369
+ "internalType": "address",
370
+ "name": "registry",
371
+ "type": "address"
372
+ },
373
+ {
374
+ "internalType": "address",
375
+ "name": "initialOwner",
376
+ "type": "address"
268
377
  }
269
378
  ],
270
- "stateMutability": "view",
379
+ "name": "initializeService",
380
+ "outputs": [],
381
+ "stateMutability": "nonpayable",
271
382
  "type": "function"
272
383
  },
273
384
  {
274
385
  "inputs": [
275
386
  {
276
- "internalType": "Version",
277
- "name": "_version",
278
- "type": "uint24"
279
- }
280
- ],
281
- "name": "isActivated",
282
- "outputs": [
387
+ "internalType": "address",
388
+ "name": "activatedBy",
389
+ "type": "address"
390
+ },
283
391
  {
284
- "internalType": "bool",
285
- "name": "",
286
- "type": "bool"
392
+ "internalType": "bytes",
393
+ "name": "data",
394
+ "type": "bytes"
287
395
  }
288
396
  ],
289
- "stateMutability": "view",
397
+ "name": "initializeVersionable",
398
+ "outputs": [],
399
+ "stateMutability": "nonpayable",
290
400
  "type": "function"
291
401
  },
292
402
  {
293
403
  "inputs": [],
294
- "name": "register",
295
- "outputs": [
404
+ "name": "linkToRegisteredNftId",
405
+ "outputs": [],
406
+ "stateMutability": "nonpayable",
407
+ "type": "function"
408
+ },
409
+ {
410
+ "inputs": [
296
411
  {
297
- "internalType": "NftId",
298
- "name": "nftId",
299
- "type": "uint96"
412
+ "internalType": "bytes4",
413
+ "name": "interfaceId",
414
+ "type": "bytes4"
300
415
  }
301
416
  ],
417
+ "name": "registerInterface",
418
+ "outputs": [],
302
419
  "stateMutability": "nonpayable",
303
420
  "type": "function"
304
421
  },
@@ -320,20 +437,33 @@
320
437
  ],
321
438
  "stateMutability": "view",
322
439
  "type": "function"
440
+ },
441
+ {
442
+ "inputs": [
443
+ {
444
+ "internalType": "bytes",
445
+ "name": "data",
446
+ "type": "bytes"
447
+ }
448
+ ],
449
+ "name": "upgradeVersionable",
450
+ "outputs": [],
451
+ "stateMutability": "nonpayable",
452
+ "type": "function"
323
453
  }
324
454
  ],
325
- "bytecode": "0x60e06040523480156200001157600080fd5b5060405162002ca938038062002ca98339818101604052810190620000379190620009a5565b818181816200006c7f01ffc9a7000000000000000000000000000000000000000000000000000000006200039360201b60201c565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603620000de576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620000d59062000a4d565b60405180910390fd5b8173ffffffffffffffffffffffffffffffffffffffff1660808173ffffffffffffffffffffffffffffffffffffffff168152505060805173ffffffffffffffffffffffffffffffffffffffff166301ffc9a77f06ecd8ef000000000000000000000000000000000000000000000000000000006040518263ffffffff1660e01b81526004016200016f919062000aac565b602060405180830381865afa1580156200018d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620001b3919062000b06565b620001f5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620001ec9062000b88565b60405180910390fd5b806bffffffffffffffffffffffff1660a0816bffffffffffffffffffffffff168152505060805173ffffffffffffffffffffffffffffffffffffffff1663e74d052f60a0516040518263ffffffff1660e01b815260040162000258919062000bed565b602060405180830381865afa15801562000276573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200029c919062000b06565b620002de576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620002d59062000c80565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff1660c08173ffffffffffffffffffffffffffffffffffffffff1681525050620003437f3bf74c8e000000000000000000000000000000000000000000000000000000006200039360201b60201c565b505062000358600033620003ff60201b60201c565b620003897fda309788000000000000000000000000000000000000000000000000000000006200039360201b60201c565b50505050620010fa565b6001600080837bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19167bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916815260200190815260200160002060006101000a81548160ff02191690831515021790555050565b6000620004116200074d60201b60201c565b90506200042481620007d760201b60201c565b1562000467576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200045e9062000d18565b60405180910390fd5b6000600280549050111562000519576000600260016002805490506200048e919062000d73565b81548110620004a257620004a162000dae565b5b90600052602060002090600a91828204019190066003029054906101000a900462ffffff169050620004d5828262000897565b62000517576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200050e9062000e53565b60405180910390fd5b505b60028190806001815401808255809150506001900390600052602060002090600a91828204019190066003029091909190916101000a81548162ffffff021916908362ffffff1602179055506040518060a001604052808262ffffff1681526020018473ffffffffffffffffffffffffffffffffffffffff1681526020018373ffffffffffffffffffffffffffffffffffffffff168152602001620005c3620008ae60201b60201c565b64ffffffffff168152602001620005df620008c660201b60201c565b63ffffffff16815250600160008362ffffff1662ffffff16815260200190815260200160002060008201518160000160006101000a81548162ffffff021916908362ffffff16021790555060208201518160000160036101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060408201518160010160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060608201518160010160146101000a81548164ffffffffff021916908364ffffffffff16021790555060808201518160010160196101000a81548163ffffffff021916908363ffffffff1602179055509050507f68e7327fca0057a787cde34ababb9ef9844ba8065ee03e8781d8122fc15d4419818484604051620007409392919062000ece565b60405180910390a1505050565b600073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__632efe011360036000806040518463ffffffff1660e01b81526004016200078e9392919062000f91565b602060405180830381865af4158015620007ac573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620007d2919062000fff565b905090565b600080600160008462ffffff1662ffffff16815260200190815260200160002060010160199054906101000a900463ffffffff1663ffffffff1673__$5f476116ae21c5294e0c0761c07efa7e1c$__636effeac490916040518263ffffffff1660e01b81526004016200084b91906200107a565b602060405180830381865af415801562000869573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200088f9190620010c8565b119050919050565b60008162ffffff168362ffffff1611905092915050565b6000620008c142620008de60201b60201c565b905090565b6000620008d943620008e860201b60201c565b905090565b6000819050919050565b6000819050919050565b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006200092482620008f7565b9050919050565b620009368162000917565b81146200094257600080fd5b50565b60008151905062000956816200092b565b92915050565b60006bffffffffffffffffffffffff82169050919050565b6200097f816200095c565b81146200098b57600080fd5b50565b6000815190506200099f8162000974565b92915050565b60008060408385031215620009bf57620009be620008f2565b5b6000620009cf8582860162000945565b9250506020620009e2858286016200098e565b9150509250929050565b600082825260208201905092915050565b7f4552524f523a5247422d3031303a52454749535452595f5a45524f0000000000600082015250565b600062000a35601b83620009ec565b915062000a4282620009fd565b602082019050919050565b6000602082019050818103600083015262000a688162000a26565b9050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b62000aa68162000a6f565b82525050565b600060208201905062000ac3600083018462000a9b565b92915050565b60008115159050919050565b62000ae08162000ac9565b811462000aec57600080fd5b50565b60008151905062000b008162000ad5565b92915050565b60006020828403121562000b1f5762000b1e620008f2565b5b600062000b2f8482850162000aef565b91505092915050565b7f4552524f523a5247422d3031313a4e4f545f5245474953545259000000000000600082015250565b600062000b70601a83620009ec565b915062000b7d8262000b38565b602082019050919050565b6000602082019050818103600083015262000ba38162000b61565b9050919050565b6000819050919050565b600062000bd562000bcf62000bc9846200095c565b62000baa565b6200095c565b9050919050565b62000be78162000bb4565b82525050565b600060208201905062000c04600083018462000bdc565b92915050565b7f4552524f523a5247422d3031323a504152454e545f4e4f545f5245474953544560008201527f5245440000000000000000000000000000000000000000000000000000000000602082015250565b600062000c68602383620009ec565b915062000c758262000c0a565b604082019050919050565b6000602082019050818103600083015262000c9b8162000c59565b9050919050565b7f4552524f523a56524e2d3030313a56455253494f4e5f414c52454144595f414360008201527f5449564154454400000000000000000000000000000000000000000000000000602082015250565b600062000d00602783620009ec565b915062000d0d8262000ca2565b604082019050919050565b6000602082019050818103600083015262000d338162000cf1565b9050919050565b6000819050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600062000d808262000d3a565b915062000d8d8362000d3a565b925082820390508181111562000da85762000da762000d44565b5b92915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4552524f523a56524e2d3030323a56455253494f4e5f4e4f545f494e4352454160008201527f53494e4700000000000000000000000000000000000000000000000000000000602082015250565b600062000e3b602483620009ec565b915062000e488262000ddd565b604082019050919050565b6000602082019050818103600083015262000e6e8162000e2c565b9050919050565b600062ffffff82169050919050565b600062000ea562000e9f62000e998462000e75565b62000baa565b62000e75565b9050919050565b62000eb78162000e84565b82525050565b62000ec88162000917565b82525050565b600060608201905062000ee5600083018662000eac565b62000ef4602083018562000ebd565b62000f03604083018462000ebd565b949350505050565b6000819050919050565b600062000f3662000f3062000f2a8462000f0b565b62000baa565b62000d3a565b9050919050565b62000f488162000f15565b82525050565b6000819050919050565b600062000f7962000f7362000f6d8462000f4e565b62000baa565b62000d3a565b9050919050565b62000f8b8162000f58565b82525050565b600060608201905062000fa8600083018662000f3d565b62000fb7602083018562000f80565b62000fc6604083018462000f80565b949350505050565b62000fd98162000e75565b811462000fe557600080fd5b50565b60008151905062000ff98162000fce565b92915050565b600060208284031215620010185762001017620008f2565b5b6000620010288482850162000fe8565b91505092915050565b600063ffffffff82169050919050565b6000620010626200105c620010568462001031565b62000baa565b62001031565b9050919050565b620010748162001041565b82525050565b600060208201905062001091600083018462001069565b92915050565b620010a28162000d3a565b8114620010ae57600080fd5b50565b600081519050620010c28162001097565b92915050565b600060208284031215620010e157620010e0620008f2565b5b6000620010f184828501620010b1565b91505092915050565b60805160a05160c051611b63620011466000396000610973015260006106630152600081816105c0015281816107f70152818161081f015281816108c1015261099c0152611b636000f3fe608060405234801561001057600080fd5b506004361061010b5760003560e01c80634d459c90116100a2578063946dfcfe11610071578063946dfcfe146102ae5780639555c4db146102cc578063a3f4df7e146102e8578063b88da75914610306578063cde749f4146103365761010b565b80634d459c90146102245780635ab1bd5314610254578063644c45e014610272578063893d20e8146102905761010b565b806317d7de7c116100de57806317d7de7c146101ac5780631aa3a008146101ca57806331b62a3b146101e85780633bc5de30146102065761010b565b806301ffc9a7146101105780630abd8434146101405780630d8e6e2c1461017057806315dae03e1461018e575b600080fd5b61012a60048036038101906101259190611041565b610354565b6040516101379190611089565b60405180910390f35b61015a600480360381019061015591906110df565b6103bb565b6040516101679190611089565b60405180910390f35b610178610476565b6040516101859190611147565b60405180910390f35b6101966104fb565b6040516101a391906111a0565b60405180910390f35b6101b461050a565b6040516101c1919061124b565b60405180910390f35b6101d2610547565b6040516101df91906112b6565b60405180910390f35b6101f061065f565b6040516101fd91906112b6565b60405180910390f35b61020e610687565b60405161021b9190611326565b60405180910390f35b61023e600480360381019061023991906110df565b61069e565b60405161024b9190611483565b60405180910390f35b61025c6107f3565b60405161026991906114f3565b60405180910390f35b61027a61081b565b60405161028791906112b6565b60405180910390f35b6102986108bc565b6040516102a5919061151d565b60405180910390f35b6102b6610a3b565b6040516102c39190611551565b60405180910390f35b6102e660048036038101906102e19190611598565b610a48565b005b6102f0610a56565b6040516102fd919061124b565b60405180910390f35b610320600480360381019061031b9190611604565b610a8f565b60405161032d9190611147565b60405180910390f35b61033e610ad1565b60405161034b9190611640565b60405180910390f35b6000806000837bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19167bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916815260200190815260200160002060009054906101000a900460ff169050919050565b600080600160008462ffffff1662ffffff16815260200190815260200160002060010160199054906101000a900463ffffffff1663ffffffff1673__$5f476116ae21c5294e0c0761c07efa7e1c$__636effeac490916040518263ffffffff1660e01b815260040161042d919061166a565b602060405180830381865af415801561044a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061046e919061169a565b119050919050565b600073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__632efe011360036000806040518463ffffffff1660e01b81526004016104b59392919061173d565b602060405180830381865af41580156104d2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104f69190611789565b905090565b6000610505610bc5565b905090565b60606040518060400160405280600b81526020017f5465737453657276696365000000000000000000000000000000000000000000815250905090565b60006105516108bc565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146105be576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016105b590611802565b60405180910390fd5b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff16634420e486306040518263ffffffff1660e01b8152600401610617919061151d565b6020604051808303816000875af1158015610636573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061065a919061184e565b905090565b60007f0000000000000000000000000000000000000000000000000000000000000000905090565b606060405180602001604052806000815250905090565b6106a6610f77565b600160008362ffffff1662ffffff1681526020019081526020016000206040518060a00160405290816000820160009054906101000a900462ffffff1662ffffff1662ffffff1681526020016000820160039054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016001820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016001820160149054906101000a900464ffffffffff1664ffffffffff1664ffffffffff1681526020016001820160199054906101000a900463ffffffff1663ffffffff1663ffffffff16815250509050919050565b60007f0000000000000000000000000000000000000000000000000000000000000000905090565b60007f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1663d272ac1e306040518263ffffffff1660e01b8152600401610876919061151d565b602060405180830381865afa158015610893573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108b7919061184e565b905090565b6000807f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1663d272ac1e306040518263ffffffff1660e01b8152600401610918919061151d565b602060405180830381865afa158015610935573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610959919061184e565b905061096c81610967610bd6565b610bdb565b1561099a577f0000000000000000000000000000000000000000000000000000000000000000915050610a38565b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1663df33330b826040518263ffffffff1660e01b81526004016109f391906112b6565b602060405180830381865afa158015610a10573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a349190611890565b9150505b90565b6000600280549050905090565b610a528282610c04565b5050565b6040518060400160405280600b81526020017f546573745365727669636500000000000000000000000000000000000000000081525081565b600060028281548110610aa557610aa46118bd565b5b90600052602060002090600a91828204019190066003029054906101000a900462ffffff169050919050565b60003073ffffffffffffffffffffffffffffffffffffffff16630d8e6e2c6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610b1e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b429190611789565b62ffffff1673__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__63c9e66e2990916040518263ffffffff1660e01b8152600401610b7f91906118fb565b602060405180830381865af4158015610b9c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610bc09190611942565b905090565b6000610bd16028610f22565b905090565b600090565b6000816bffffffffffffffffffffffff16836bffffffffffffffffffffffff1614905092915050565b6000610c0e610476565b9050610c19816103bb565b15610c59576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c50906119e1565b60405180910390fd5b60006002805490501115610d0057600060026001600280549050610c7d9190611a30565b81548110610c8e57610c8d6118bd565b5b90600052602060002090600a91828204019190066003029054906101000a900462ffffff169050610cbf8282610f2c565b610cfe576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cf590611ad6565b60405180910390fd5b505b60028190806001815401808255809150506001900390600052602060002090600a91828204019190066003029091909190916101000a81548162ffffff021916908362ffffff1602179055506040518060a001604052808262ffffff1681526020018473ffffffffffffffffffffffffffffffffffffffff1681526020018373ffffffffffffffffffffffffffffffffffffffff168152602001610da2610f43565b64ffffffffff168152602001610db6610f53565b63ffffffff16815250600160008362ffffff1662ffffff16815260200190815260200160002060008201518160000160006101000a81548162ffffff021916908362ffffff16021790555060208201518160000160036101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060408201518160010160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060608201518160010160146101000a81548164ffffffffff021916908364ffffffffff16021790555060808201518160010160196101000a81548163ffffffff021916908363ffffffff1602179055509050507f68e7327fca0057a787cde34ababb9ef9844ba8065ee03e8781d8122fc15d4419818484604051610f1593929190611af6565b60405180910390a1505050565b6000819050919050565b60008162ffffff168362ffffff1611905092915050565b6000610f4e42610f63565b905090565b6000610f5e43610f6d565b905090565b6000819050919050565b6000819050919050565b6040518060a00160405280600062ffffff168152602001600073ffffffffffffffffffffffffffffffffffffffff168152602001600073ffffffffffffffffffffffffffffffffffffffff168152602001600064ffffffffff168152602001600063ffffffff1681525090565b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b61101e81610fe9565b811461102957600080fd5b50565b60008135905061103b81611015565b92915050565b60006020828403121561105757611056610fe4565b5b60006110658482850161102c565b91505092915050565b60008115159050919050565b6110838161106e565b82525050565b600060208201905061109e600083018461107a565b92915050565b600062ffffff82169050919050565b6110bc816110a4565b81146110c757600080fd5b50565b6000813590506110d9816110b3565b92915050565b6000602082840312156110f5576110f4610fe4565b5b6000611103848285016110ca565b91505092915050565b6000819050919050565b600061113161112c611127846110a4565b61110c565b6110a4565b9050919050565b61114181611116565b82525050565b600060208201905061115c6000830184611138565b92915050565b600060ff82169050919050565b600061118a61118561118084611162565b61110c565b611162565b9050919050565b61119a8161116f565b82525050565b60006020820190506111b56000830184611191565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b838110156111f55780820151818401526020810190506111da565b60008484015250505050565b6000601f19601f8301169050919050565b600061121d826111bb565b61122781856111c6565b93506112378185602086016111d7565b61124081611201565b840191505092915050565b600060208201905081810360008301526112658184611212565b905092915050565b60006bffffffffffffffffffffffff82169050919050565b60006112a061129b6112968461126d565b61110c565b61126d565b9050919050565b6112b081611285565b82525050565b60006020820190506112cb60008301846112a7565b92915050565b600081519050919050565b600082825260208201905092915050565b60006112f8826112d1565b61130281856112dc565b93506113128185602086016111d7565b61131b81611201565b840191505092915050565b6000602082019050818103600083015261134081846112ed565b905092915050565b61135181611116565b82525050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600061138282611357565b9050919050565b61139281611377565b82525050565b600064ffffffffff82169050919050565b60006113c46113bf6113ba84611398565b61110c565b611398565b9050919050565b6113d4816113a9565b82525050565b600063ffffffff82169050919050565b60006114056114006113fb846113da565b61110c565b6113da565b9050919050565b611415816113ea565b82525050565b60a0820160008201516114316000850182611348565b5060208201516114446020850182611389565b5060408201516114576040850182611389565b50606082015161146a60608501826113cb565b50608082015161147d608085018261140c565b50505050565b600060a082019050611498600083018461141b565b92915050565b60006114b96114b46114af84611357565b61110c565b611357565b9050919050565b60006114cb8261149e565b9050919050565b60006114dd826114c0565b9050919050565b6114ed816114d2565b82525050565b600060208201905061150860008301846114e4565b92915050565b61151781611377565b82525050565b6000602082019050611532600083018461150e565b92915050565b6000819050919050565b61154b81611538565b82525050565b60006020820190506115666000830184611542565b92915050565b61157581611377565b811461158057600080fd5b50565b6000813590506115928161156c565b92915050565b600080604083850312156115af576115ae610fe4565b5b60006115bd85828601611583565b92505060206115ce85828601611583565b9150509250929050565b6115e181611538565b81146115ec57600080fd5b50565b6000813590506115fe816115d8565b92915050565b60006020828403121561161a57611619610fe4565b5b6000611628848285016115ef565b91505092915050565b61163a8161116f565b82525050565b60006020820190506116556000830184611631565b92915050565b611664816113ea565b82525050565b600060208201905061167f600083018461165b565b92915050565b600081519050611694816115d8565b92915050565b6000602082840312156116b0576116af610fe4565b5b60006116be84828501611685565b91505092915050565b6000819050919050565b60006116ec6116e76116e2846116c7565b61110c565b611538565b9050919050565b6116fc816116d1565b82525050565b6000819050919050565b600061172761172261171d84611702565b61110c565b611538565b9050919050565b6117378161170c565b82525050565b600060608201905061175260008301866116f3565b61175f602083018561172e565b61176c604083018461172e565b949350505050565b600081519050611783816110b3565b92915050565b60006020828403121561179f5761179e610fe4565b5b60006117ad84828501611774565b91505092915050565b7f4552524f523a5247422d3030313a4e4f545f4f574e4552000000000000000000600082015250565b60006117ec6017836111c6565b91506117f7826117b6565b602082019050919050565b6000602082019050818103600083015261181b816117df565b9050919050565b61182b8161126d565b811461183657600080fd5b50565b60008151905061184881611822565b92915050565b60006020828403121561186457611863610fe4565b5b600061187284828501611839565b91505092915050565b60008151905061188a8161156c565b92915050565b6000602082840312156118a6576118a5610fe4565b5b60006118b48482850161187b565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6118f581611116565b82525050565b600060208201905061191060008301846118ec565b92915050565b61191f81611162565b811461192a57600080fd5b50565b60008151905061193c81611916565b92915050565b60006020828403121561195857611957610fe4565b5b60006119668482850161192d565b91505092915050565b7f4552524f523a56524e2d3030313a56455253494f4e5f414c52454144595f414360008201527f5449564154454400000000000000000000000000000000000000000000000000602082015250565b60006119cb6027836111c6565b91506119d68261196f565b604082019050919050565b600060208201905081810360008301526119fa816119be565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000611a3b82611538565b9150611a4683611538565b9250828203905081811115611a5e57611a5d611a01565b5b92915050565b7f4552524f523a56524e2d3030323a56455253494f4e5f4e4f545f494e4352454160008201527f53494e4700000000000000000000000000000000000000000000000000000000602082015250565b6000611ac06024836111c6565b9150611acb82611a64565b604082019050919050565b60006020820190508181036000830152611aef81611ab3565b9050919050565b6000606082019050611b0b6000830186611138565b611b18602083018561150e565b611b25604083018461150e565b94935050505056fea26469706673582212203fb9d6865c3e3daaa25a9a5baa45a2f837c49adefa2f18e3759f6f8ab0174fab64736f6c63430008140033",
326
- "deployedBytecode": "0x608060405234801561001057600080fd5b506004361061010b5760003560e01c80634d459c90116100a2578063946dfcfe11610071578063946dfcfe146102ae5780639555c4db146102cc578063a3f4df7e146102e8578063b88da75914610306578063cde749f4146103365761010b565b80634d459c90146102245780635ab1bd5314610254578063644c45e014610272578063893d20e8146102905761010b565b806317d7de7c116100de57806317d7de7c146101ac5780631aa3a008146101ca57806331b62a3b146101e85780633bc5de30146102065761010b565b806301ffc9a7146101105780630abd8434146101405780630d8e6e2c1461017057806315dae03e1461018e575b600080fd5b61012a60048036038101906101259190611041565b610354565b6040516101379190611089565b60405180910390f35b61015a600480360381019061015591906110df565b6103bb565b6040516101679190611089565b60405180910390f35b610178610476565b6040516101859190611147565b60405180910390f35b6101966104fb565b6040516101a391906111a0565b60405180910390f35b6101b461050a565b6040516101c1919061124b565b60405180910390f35b6101d2610547565b6040516101df91906112b6565b60405180910390f35b6101f061065f565b6040516101fd91906112b6565b60405180910390f35b61020e610687565b60405161021b9190611326565b60405180910390f35b61023e600480360381019061023991906110df565b61069e565b60405161024b9190611483565b60405180910390f35b61025c6107f3565b60405161026991906114f3565b60405180910390f35b61027a61081b565b60405161028791906112b6565b60405180910390f35b6102986108bc565b6040516102a5919061151d565b60405180910390f35b6102b6610a3b565b6040516102c39190611551565b60405180910390f35b6102e660048036038101906102e19190611598565b610a48565b005b6102f0610a56565b6040516102fd919061124b565b60405180910390f35b610320600480360381019061031b9190611604565b610a8f565b60405161032d9190611147565b60405180910390f35b61033e610ad1565b60405161034b9190611640565b60405180910390f35b6000806000837bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19167bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916815260200190815260200160002060009054906101000a900460ff169050919050565b600080600160008462ffffff1662ffffff16815260200190815260200160002060010160199054906101000a900463ffffffff1663ffffffff1673__$5f476116ae21c5294e0c0761c07efa7e1c$__636effeac490916040518263ffffffff1660e01b815260040161042d919061166a565b602060405180830381865af415801561044a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061046e919061169a565b119050919050565b600073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__632efe011360036000806040518463ffffffff1660e01b81526004016104b59392919061173d565b602060405180830381865af41580156104d2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104f69190611789565b905090565b6000610505610bc5565b905090565b60606040518060400160405280600b81526020017f5465737453657276696365000000000000000000000000000000000000000000815250905090565b60006105516108bc565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146105be576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016105b590611802565b60405180910390fd5b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff16634420e486306040518263ffffffff1660e01b8152600401610617919061151d565b6020604051808303816000875af1158015610636573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061065a919061184e565b905090565b60007f0000000000000000000000000000000000000000000000000000000000000000905090565b606060405180602001604052806000815250905090565b6106a6610f77565b600160008362ffffff1662ffffff1681526020019081526020016000206040518060a00160405290816000820160009054906101000a900462ffffff1662ffffff1662ffffff1681526020016000820160039054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016001820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016001820160149054906101000a900464ffffffffff1664ffffffffff1664ffffffffff1681526020016001820160199054906101000a900463ffffffff1663ffffffff1663ffffffff16815250509050919050565b60007f0000000000000000000000000000000000000000000000000000000000000000905090565b60007f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1663d272ac1e306040518263ffffffff1660e01b8152600401610876919061151d565b602060405180830381865afa158015610893573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108b7919061184e565b905090565b6000807f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1663d272ac1e306040518263ffffffff1660e01b8152600401610918919061151d565b602060405180830381865afa158015610935573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610959919061184e565b905061096c81610967610bd6565b610bdb565b1561099a577f0000000000000000000000000000000000000000000000000000000000000000915050610a38565b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1663df33330b826040518263ffffffff1660e01b81526004016109f391906112b6565b602060405180830381865afa158015610a10573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a349190611890565b9150505b90565b6000600280549050905090565b610a528282610c04565b5050565b6040518060400160405280600b81526020017f546573745365727669636500000000000000000000000000000000000000000081525081565b600060028281548110610aa557610aa46118bd565b5b90600052602060002090600a91828204019190066003029054906101000a900462ffffff169050919050565b60003073ffffffffffffffffffffffffffffffffffffffff16630d8e6e2c6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610b1e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b429190611789565b62ffffff1673__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__63c9e66e2990916040518263ffffffff1660e01b8152600401610b7f91906118fb565b602060405180830381865af4158015610b9c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610bc09190611942565b905090565b6000610bd16028610f22565b905090565b600090565b6000816bffffffffffffffffffffffff16836bffffffffffffffffffffffff1614905092915050565b6000610c0e610476565b9050610c19816103bb565b15610c59576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c50906119e1565b60405180910390fd5b60006002805490501115610d0057600060026001600280549050610c7d9190611a30565b81548110610c8e57610c8d6118bd565b5b90600052602060002090600a91828204019190066003029054906101000a900462ffffff169050610cbf8282610f2c565b610cfe576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cf590611ad6565b60405180910390fd5b505b60028190806001815401808255809150506001900390600052602060002090600a91828204019190066003029091909190916101000a81548162ffffff021916908362ffffff1602179055506040518060a001604052808262ffffff1681526020018473ffffffffffffffffffffffffffffffffffffffff1681526020018373ffffffffffffffffffffffffffffffffffffffff168152602001610da2610f43565b64ffffffffff168152602001610db6610f53565b63ffffffff16815250600160008362ffffff1662ffffff16815260200190815260200160002060008201518160000160006101000a81548162ffffff021916908362ffffff16021790555060208201518160000160036101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060408201518160010160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060608201518160010160146101000a81548164ffffffffff021916908364ffffffffff16021790555060808201518160010160196101000a81548163ffffffff021916908363ffffffff1602179055509050507f68e7327fca0057a787cde34ababb9ef9844ba8065ee03e8781d8122fc15d4419818484604051610f1593929190611af6565b60405180910390a1505050565b6000819050919050565b60008162ffffff168362ffffff1611905092915050565b6000610f4e42610f63565b905090565b6000610f5e43610f6d565b905090565b6000819050919050565b6000819050919050565b6040518060a00160405280600062ffffff168152602001600073ffffffffffffffffffffffffffffffffffffffff168152602001600073ffffffffffffffffffffffffffffffffffffffff168152602001600064ffffffffff168152602001600063ffffffff1681525090565b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b61101e81610fe9565b811461102957600080fd5b50565b60008135905061103b81611015565b92915050565b60006020828403121561105757611056610fe4565b5b60006110658482850161102c565b91505092915050565b60008115159050919050565b6110838161106e565b82525050565b600060208201905061109e600083018461107a565b92915050565b600062ffffff82169050919050565b6110bc816110a4565b81146110c757600080fd5b50565b6000813590506110d9816110b3565b92915050565b6000602082840312156110f5576110f4610fe4565b5b6000611103848285016110ca565b91505092915050565b6000819050919050565b600061113161112c611127846110a4565b61110c565b6110a4565b9050919050565b61114181611116565b82525050565b600060208201905061115c6000830184611138565b92915050565b600060ff82169050919050565b600061118a61118561118084611162565b61110c565b611162565b9050919050565b61119a8161116f565b82525050565b60006020820190506111b56000830184611191565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b838110156111f55780820151818401526020810190506111da565b60008484015250505050565b6000601f19601f8301169050919050565b600061121d826111bb565b61122781856111c6565b93506112378185602086016111d7565b61124081611201565b840191505092915050565b600060208201905081810360008301526112658184611212565b905092915050565b60006bffffffffffffffffffffffff82169050919050565b60006112a061129b6112968461126d565b61110c565b61126d565b9050919050565b6112b081611285565b82525050565b60006020820190506112cb60008301846112a7565b92915050565b600081519050919050565b600082825260208201905092915050565b60006112f8826112d1565b61130281856112dc565b93506113128185602086016111d7565b61131b81611201565b840191505092915050565b6000602082019050818103600083015261134081846112ed565b905092915050565b61135181611116565b82525050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600061138282611357565b9050919050565b61139281611377565b82525050565b600064ffffffffff82169050919050565b60006113c46113bf6113ba84611398565b61110c565b611398565b9050919050565b6113d4816113a9565b82525050565b600063ffffffff82169050919050565b60006114056114006113fb846113da565b61110c565b6113da565b9050919050565b611415816113ea565b82525050565b60a0820160008201516114316000850182611348565b5060208201516114446020850182611389565b5060408201516114576040850182611389565b50606082015161146a60608501826113cb565b50608082015161147d608085018261140c565b50505050565b600060a082019050611498600083018461141b565b92915050565b60006114b96114b46114af84611357565b61110c565b611357565b9050919050565b60006114cb8261149e565b9050919050565b60006114dd826114c0565b9050919050565b6114ed816114d2565b82525050565b600060208201905061150860008301846114e4565b92915050565b61151781611377565b82525050565b6000602082019050611532600083018461150e565b92915050565b6000819050919050565b61154b81611538565b82525050565b60006020820190506115666000830184611542565b92915050565b61157581611377565b811461158057600080fd5b50565b6000813590506115928161156c565b92915050565b600080604083850312156115af576115ae610fe4565b5b60006115bd85828601611583565b92505060206115ce85828601611583565b9150509250929050565b6115e181611538565b81146115ec57600080fd5b50565b6000813590506115fe816115d8565b92915050565b60006020828403121561161a57611619610fe4565b5b6000611628848285016115ef565b91505092915050565b61163a8161116f565b82525050565b60006020820190506116556000830184611631565b92915050565b611664816113ea565b82525050565b600060208201905061167f600083018461165b565b92915050565b600081519050611694816115d8565b92915050565b6000602082840312156116b0576116af610fe4565b5b60006116be84828501611685565b91505092915050565b6000819050919050565b60006116ec6116e76116e2846116c7565b61110c565b611538565b9050919050565b6116fc816116d1565b82525050565b6000819050919050565b600061172761172261171d84611702565b61110c565b611538565b9050919050565b6117378161170c565b82525050565b600060608201905061175260008301866116f3565b61175f602083018561172e565b61176c604083018461172e565b949350505050565b600081519050611783816110b3565b92915050565b60006020828403121561179f5761179e610fe4565b5b60006117ad84828501611774565b91505092915050565b7f4552524f523a5247422d3030313a4e4f545f4f574e4552000000000000000000600082015250565b60006117ec6017836111c6565b91506117f7826117b6565b602082019050919050565b6000602082019050818103600083015261181b816117df565b9050919050565b61182b8161126d565b811461183657600080fd5b50565b60008151905061184881611822565b92915050565b60006020828403121561186457611863610fe4565b5b600061187284828501611839565b91505092915050565b60008151905061188a8161156c565b92915050565b6000602082840312156118a6576118a5610fe4565b5b60006118b48482850161187b565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6118f581611116565b82525050565b600060208201905061191060008301846118ec565b92915050565b61191f81611162565b811461192a57600080fd5b50565b60008151905061193c81611916565b92915050565b60006020828403121561195857611957610fe4565b5b60006119668482850161192d565b91505092915050565b7f4552524f523a56524e2d3030313a56455253494f4e5f414c52454144595f414360008201527f5449564154454400000000000000000000000000000000000000000000000000602082015250565b60006119cb6027836111c6565b91506119d68261196f565b604082019050919050565b600060208201905081810360008301526119fa816119be565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000611a3b82611538565b9150611a4683611538565b9250828203905081811115611a5e57611a5d611a01565b5b92915050565b7f4552524f523a56524e2d3030323a56455253494f4e5f4e4f545f494e4352454160008201527f53494e4700000000000000000000000000000000000000000000000000000000602082015250565b6000611ac06024836111c6565b9150611acb82611a64565b604082019050919050565b60006020820190508181036000830152611aef81611ab3565b9050919050565b6000606082019050611b0b6000830186611138565b611b18602083018561150e565b611b25604083018461150e565b94935050505056fea26469706673582212203fb9d6865c3e3daaa25a9a5baa45a2f837c49adefa2f18e3759f6f8ab0174fab64736f6c63430008140033",
455
+ "bytecode": "0x60806040523480156200001157600080fd5b5060405162001bf238038062001bf28339810160408190526200003491620004ff565b6200003e62000053565b6200004a838262000107565b50505062000703565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00805468010000000000000000900460ff1615620000a45760405163f92ee8a960e01b815260040160405180910390fd5b80546001600160401b0390811614620001045780546001600160401b0319166001600160401b0390811782556040519081527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50565b62000111620001b2565b6200019c82836001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa15801562000155573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200017b919062000549565b603c600085604051806020016040528060008152506200020360201b60201c565b620001ae637b6a51fd60e01b620002a2565b5050565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a005468010000000000000000900460ff166200020157604051631afcd79f60e31b815260040160405180910390fd5b565b6200020d620001b2565b620002198287620002d1565b60007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166001600160681b0319909116176c0100000000000000000000000060ff8816021760ff60681b19166d01000000000000000000000000008615150217815590506001810162000298838262000613565b5050505050505050565b620002ac620001b2565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b620002db620001b2565b620002e6816200036a565b620002f062000482565b6001600160a01b038216620003185760405163f17ef42d60e01b815260040160405180910390fd5b507f07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f0080546001600160601b03166c010000000000000000000000006001600160a01b0390931692909202919091179055565b62000374620001b2565b806001600160a01b03163b600003620003b05760405163fdeac91f60e01b81526001600160a01b03821660048201526024015b60405180910390fd5b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b815263230c0c8160e11b60048201526301ffc9a790602401602060405180830381865afa9250505080156200042d575060408051601f3d908101601f191682019092526200042a91810190620006df565b60015b620004575760405163fdeac91f60e01b81526001600160a01b0382166004820152602401620003a7565b80620001ae5760405163fdeac91f60e01b81526001600160a01b0383166004820152602401620003a7565b6200048c620001b2565b6301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b80516001600160a01b0381168114620004e257600080fd5b919050565b80516001600160601b0381168114620004e257600080fd5b6000806000606084860312156200051557600080fd5b6200052084620004ca565b92506200053060208501620004e7565b91506200054060408501620004ca565b90509250925092565b6000602082840312156200055c57600080fd5b6200056782620004e7565b9392505050565b634e487b7160e01b600052604160045260246000fd5b600181811c908216806200059957607f821691505b602082108103620005ba57634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200060e57600081815260208120601f850160051c81016020861015620005e95750805b601f850160051c820191505b818110156200060a57828155600101620005f5565b5050505b505050565b81516001600160401b038111156200062f576200062f6200056e565b620006478162000640845462000584565b84620005c0565b602080601f8311600181146200067f5760008415620006665750858301515b600019600386901b1c1916600185901b1785556200060a565b600085815260208120601f198616915b82811015620006b0578886015182559484019460019091019084016200068f565b5085821015620006cf5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b600060208284031215620006f257600080fd5b815180151581146200056757600080fd5b6114df80620007136000396000f3fe608060405234801561001057600080fd5b50600436106101375760003560e01c80635ab1bd53116100b8578063ada9652e1161007c578063ada9652e146102e1578063b68d1809146102f6578063cde749f41461030b578063ea86657214610313578063f21de1e814610242578063f7c34ee01461032657600080fd5b80635ab1bd5314610242578063644c45e014610267578063675393bf1461028f578063893d20e8146102a2578063a3f4df7e146102aa57600080fd5b8063214cdb80116100ff578063214cdb80146101ee57806327bb7a3314610201578063329d6e741461021457806336fc697e1461022757806349bb9e4b1461022f57600080fd5b806301ffc9a71461013c5780630d8e6e2c1461017e5780630fec111c1461019a578063138461e0146101af5780631eff4b22146101b9575b600080fd5b61016961014a366004610f0a565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b610186610339565b60405162ffffff9091168152602001610175565b6101a26103c3565b6040516101759190610f81565b6101b7610572565b005b6101e07f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b604051908152602001610175565b6101b76101fc366004610f0a565b610779565b6101b761020f3660046110f6565b6107a6565b6101b761022236600461118f565b610832565b6101b7610994565b6101b761023d3660046111c4565b6109da565b6001546001600160a01b03165b6040516001600160a01b039091168152602001610175565b60008051602061148a833981519152546040516001600160601b039091168152602001610175565b6101b761029d366004611214565b610aec565b61024f610bfa565b6102d46040518060400160405280600b81526020016a546573745365727669636560a81b81525081565b6040516101759190611231565b6101e060008051602061148a83398151915281565b606e5b60405160ff9091168152602001610175565b6102f9610d31565b6101b7610321366004611244565b610da8565b6101b7610334366004611244565b610e40565b604051632efe011360e01b815260036004820152600060248201819052604482018190529073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af415801561039a573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103be919061127d565b905090565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820152907f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa3006040805160808101825282546001600160601b038116825260ff600160601b820481166020840152600160681b9091041615159181019190915260018201805491929160608401919061046e906112a2565b80601f016020809104026020016040519081016040528092919081815260200182805461049a906112a2565b80156104e75780601f106104bc576101008083540402835291602001916104e7565b820191906000526020600020905b8154815290600101906020018083116104ca57829003601f168201915b50505050508152505090506040518060e00160405280610505600090565b6001600160601b0316815260200182600001516001600160601b03168152602001826020015160ff168152602001826040015115158152602001306001600160a01b03168152602001610556610bfa565b6001600160a01b03168152602001826060015181525091505090565b600060008051602061148a83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af41580156105e1573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061060591906112dc565b156106365780546040516301ab8b6760e21b81526001600160601b0390911660048201526024015b60405180910390fd5b306106496001546001600160a01b031690565b60405163c3c5a54760e01b81526001600160a01b038381166004830152919091169063c3c5a54790602401602060405180830381865afa158015610691573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106b591906112dc565b6106dd5760405163b9304b0d60e01b81526001600160a01b038216600482015260240161062d565b6001546001600160a01b0316604051636939560f60e11b81526001600160a01b038381166004830152919091169063d272ac1e90602401602060405180830381865afa158015610731573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061075591906112f9565b82546bffffffffffffffffffffffff19166001600160601b03919091161790915550565b610781610eb7565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b6107ae610eb7565b6107b88287610e40565b60007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166cffffffffffffffffffffffffff1990911617600160601b60ff8816021760ff60681b1916600160681b861515021781559050600181016108288382611365565b5050505050505050565b73__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__63a123b37c610854610339565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af4158015610894573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108b89190611425565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a008054600160401b900460ff16806108fe5750805467ffffffffffffffff808416911610155b1561091c5760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff191667ffffffffffffffff831617600160401b17815561094783610f02565b805460ff60401b1916815560405167ffffffffffffffff831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a1505050565b61099c610eb7565b6301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a008054600160401b810460ff16159067ffffffffffffffff16600081158015610a205750825b905060008267ffffffffffffffff166001148015610a3d5750303b155b905081158015610a4b575080155b15610a695760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315610a9357845460ff60401b1916600160401b1785555b610a9d8787610f02565b8315610ae357845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50505050505050565b610af4610eb7565b806001600160a01b03163b600003610b2a5760405163fdeac91f60e01b81526001600160a01b038216600482015260240161062d565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b815263230c0c8160e11b60048201526301ffc9a790602401602060405180830381865afa925050508015610ba4575060408051601f3d908101601f19168201909252610ba1918101906112dc565b60015b610bcc5760405163fdeac91f60e01b81526001600160a01b038216600482015260240161062d565b80610bf55760405163fdeac91f60e01b81526001600160a01b038316600482015260240161062d565b505b50565b60008060008051602061148a83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015610c6a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c8e91906112dc565b15610d1b576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015610cf1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d15919061144f565b91505090565b54600160601b90046001600160a01b0316919050565b604051632392b61b60e21b81526003600482015260009073__$9dab98ad7ae1a426029e5739f922230a41$__90638e4ad86c90602401602060405180830381865af4158015610d84573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103be919061146c565b610db0610eb7565b610e3082836001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa158015610df2573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e1691906112f9565b603c600085604051806020016040528060008152506107a6565b610bf5637b6a51fd60e01b610779565b610e48610eb7565b610e5181610aec565b610e59610994565b6001600160a01b038216610e805760405163f17ef42d60e01b815260040160405180910390fd5b5060008051602061148a83398151915280546001600160601b0316600160601b6001600160a01b0390931692909202919091179055565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a0054600160401b900460ff16610f0057604051631afcd79f60e31b815260040160405180910390fd5b565b610137610eb7565b600060208284031215610f1c57600080fd5b81356001600160e01b031981168114610f3457600080fd5b9392505050565b6000815180845260005b81811015610f6157602081850181015186830182015201610f45565b506000602082860101526020601f19601f83011685010191505092915050565b6020815260006001600160601b038084511660208401528060208501511660408401525060ff604084015116606083015260608301511515608083015260018060a01b0360808401511660a083015260a0830151610fea60c08401826001600160a01b03169052565b5060c083015160e080840152611004610100840182610f3b565b949350505050565b6001600160a01b0381168114610bf757600080fd5b6001600160601b0381168114610bf757600080fd5b60ff81168114610bf757600080fd5b8015158114610bf757600080fd5b634e487b7160e01b600052604160045260246000fd5b600082601f83011261107a57600080fd5b813567ffffffffffffffff8082111561109557611095611053565b604051601f8301601f19908116603f011681019082821181831017156110bd576110bd611053565b816040528381528660208588010111156110d657600080fd5b836020870160208301376000602085830101528094505050505092915050565b60008060008060008060c0878903121561110f57600080fd5b863561111a8161100c565b9550602087013561112a81611021565b9450604087013561113a81611036565b9350606087013561114a81611045565b9250608087013561115a8161100c565b915060a087013567ffffffffffffffff81111561117657600080fd5b61118289828a01611069565b9150509295509295509295565b6000602082840312156111a157600080fd5b813567ffffffffffffffff8111156111b857600080fd5b61100484828501611069565b600080604083850312156111d757600080fd5b82356111e28161100c565b9150602083013567ffffffffffffffff8111156111fe57600080fd5b61120a85828601611069565b9150509250929050565b60006020828403121561122657600080fd5b8135610f348161100c565b602081526000610f346020830184610f3b565b6000806040838503121561125757600080fd5b82356112628161100c565b915060208301356112728161100c565b809150509250929050565b60006020828403121561128f57600080fd5b815162ffffff81168114610f3457600080fd5b600181811c908216806112b657607f821691505b6020821081036112d657634e487b7160e01b600052602260045260246000fd5b50919050565b6000602082840312156112ee57600080fd5b8151610f3481611045565b60006020828403121561130b57600080fd5b8151610f3481611021565b601f82111561136057600081815260208120601f850160051c8101602086101561133d5750805b601f850160051c820191505b8181101561135c57828155600101611349565b5050505b505050565b815167ffffffffffffffff81111561137f5761137f611053565b6113938161138d84546112a2565b84611316565b602080601f8311600181146113c857600084156113b05750858301515b600019600386901b1c1916600185901b17855561135c565b600085815260208120601f198616915b828110156113f7578886015182559484019460019091019084016113d8565b50858210156114155787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b60006020828403121561143757600080fd5b815167ffffffffffffffff81168114610f3457600080fd5b60006020828403121561146157600080fd5b8151610f348161100c565b60006020828403121561147e57600080fd5b8151610f348161103656fe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00a2646970667358221220cdee5b4e09423681d15f6baf14457e980470fc7b4462d774f2e683a6e9b3bb3964736f6c63430008140033",
456
+ "deployedBytecode": "0x608060405234801561001057600080fd5b50600436106101375760003560e01c80635ab1bd53116100b8578063ada9652e1161007c578063ada9652e146102e1578063b68d1809146102f6578063cde749f41461030b578063ea86657214610313578063f21de1e814610242578063f7c34ee01461032657600080fd5b80635ab1bd5314610242578063644c45e014610267578063675393bf1461028f578063893d20e8146102a2578063a3f4df7e146102aa57600080fd5b8063214cdb80116100ff578063214cdb80146101ee57806327bb7a3314610201578063329d6e741461021457806336fc697e1461022757806349bb9e4b1461022f57600080fd5b806301ffc9a71461013c5780630d8e6e2c1461017e5780630fec111c1461019a578063138461e0146101af5780631eff4b22146101b9575b600080fd5b61016961014a366004610f0a565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b610186610339565b60405162ffffff9091168152602001610175565b6101a26103c3565b6040516101759190610f81565b6101b7610572565b005b6101e07f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b604051908152602001610175565b6101b76101fc366004610f0a565b610779565b6101b761020f3660046110f6565b6107a6565b6101b761022236600461118f565b610832565b6101b7610994565b6101b761023d3660046111c4565b6109da565b6001546001600160a01b03165b6040516001600160a01b039091168152602001610175565b60008051602061148a833981519152546040516001600160601b039091168152602001610175565b6101b761029d366004611214565b610aec565b61024f610bfa565b6102d46040518060400160405280600b81526020016a546573745365727669636560a81b81525081565b6040516101759190611231565b6101e060008051602061148a83398151915281565b606e5b60405160ff9091168152602001610175565b6102f9610d31565b6101b7610321366004611244565b610da8565b6101b7610334366004611244565b610e40565b604051632efe011360e01b815260036004820152600060248201819052604482018190529073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af415801561039a573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103be919061127d565b905090565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820152907f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa3006040805160808101825282546001600160601b038116825260ff600160601b820481166020840152600160681b9091041615159181019190915260018201805491929160608401919061046e906112a2565b80601f016020809104026020016040519081016040528092919081815260200182805461049a906112a2565b80156104e75780601f106104bc576101008083540402835291602001916104e7565b820191906000526020600020905b8154815290600101906020018083116104ca57829003601f168201915b50505050508152505090506040518060e00160405280610505600090565b6001600160601b0316815260200182600001516001600160601b03168152602001826020015160ff168152602001826040015115158152602001306001600160a01b03168152602001610556610bfa565b6001600160a01b03168152602001826060015181525091505090565b600060008051602061148a83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af41580156105e1573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061060591906112dc565b156106365780546040516301ab8b6760e21b81526001600160601b0390911660048201526024015b60405180910390fd5b306106496001546001600160a01b031690565b60405163c3c5a54760e01b81526001600160a01b038381166004830152919091169063c3c5a54790602401602060405180830381865afa158015610691573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106b591906112dc565b6106dd5760405163b9304b0d60e01b81526001600160a01b038216600482015260240161062d565b6001546001600160a01b0316604051636939560f60e11b81526001600160a01b038381166004830152919091169063d272ac1e90602401602060405180830381865afa158015610731573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061075591906112f9565b82546bffffffffffffffffffffffff19166001600160601b03919091161790915550565b610781610eb7565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b6107ae610eb7565b6107b88287610e40565b60007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166cffffffffffffffffffffffffff1990911617600160601b60ff8816021760ff60681b1916600160681b861515021781559050600181016108288382611365565b5050505050505050565b73__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__63a123b37c610854610339565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af4158015610894573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108b89190611425565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a008054600160401b900460ff16806108fe5750805467ffffffffffffffff808416911610155b1561091c5760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff191667ffffffffffffffff831617600160401b17815561094783610f02565b805460ff60401b1916815560405167ffffffffffffffff831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a1505050565b61099c610eb7565b6301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a008054600160401b810460ff16159067ffffffffffffffff16600081158015610a205750825b905060008267ffffffffffffffff166001148015610a3d5750303b155b905081158015610a4b575080155b15610a695760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315610a9357845460ff60401b1916600160401b1785555b610a9d8787610f02565b8315610ae357845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50505050505050565b610af4610eb7565b806001600160a01b03163b600003610b2a5760405163fdeac91f60e01b81526001600160a01b038216600482015260240161062d565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b815263230c0c8160e11b60048201526301ffc9a790602401602060405180830381865afa925050508015610ba4575060408051601f3d908101601f19168201909252610ba1918101906112dc565b60015b610bcc5760405163fdeac91f60e01b81526001600160a01b038216600482015260240161062d565b80610bf55760405163fdeac91f60e01b81526001600160a01b038316600482015260240161062d565b505b50565b60008060008051602061148a83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015610c6a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c8e91906112dc565b15610d1b576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015610cf1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d15919061144f565b91505090565b54600160601b90046001600160a01b0316919050565b604051632392b61b60e21b81526003600482015260009073__$9dab98ad7ae1a426029e5739f922230a41$__90638e4ad86c90602401602060405180830381865af4158015610d84573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103be919061146c565b610db0610eb7565b610e3082836001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa158015610df2573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e1691906112f9565b603c600085604051806020016040528060008152506107a6565b610bf5637b6a51fd60e01b610779565b610e48610eb7565b610e5181610aec565b610e59610994565b6001600160a01b038216610e805760405163f17ef42d60e01b815260040160405180910390fd5b5060008051602061148a83398151915280546001600160601b0316600160601b6001600160a01b0390931692909202919091179055565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a0054600160401b900460ff16610f0057604051631afcd79f60e31b815260040160405180910390fd5b565b610137610eb7565b600060208284031215610f1c57600080fd5b81356001600160e01b031981168114610f3457600080fd5b9392505050565b6000815180845260005b81811015610f6157602081850181015186830182015201610f45565b506000602082860101526020601f19601f83011685010191505092915050565b6020815260006001600160601b038084511660208401528060208501511660408401525060ff604084015116606083015260608301511515608083015260018060a01b0360808401511660a083015260a0830151610fea60c08401826001600160a01b03169052565b5060c083015160e080840152611004610100840182610f3b565b949350505050565b6001600160a01b0381168114610bf757600080fd5b6001600160601b0381168114610bf757600080fd5b60ff81168114610bf757600080fd5b8015158114610bf757600080fd5b634e487b7160e01b600052604160045260246000fd5b600082601f83011261107a57600080fd5b813567ffffffffffffffff8082111561109557611095611053565b604051601f8301601f19908116603f011681019082821181831017156110bd576110bd611053565b816040528381528660208588010111156110d657600080fd5b836020870160208301376000602085830101528094505050505092915050565b60008060008060008060c0878903121561110f57600080fd5b863561111a8161100c565b9550602087013561112a81611021565b9450604087013561113a81611036565b9350606087013561114a81611045565b9250608087013561115a8161100c565b915060a087013567ffffffffffffffff81111561117657600080fd5b61118289828a01611069565b9150509295509295509295565b6000602082840312156111a157600080fd5b813567ffffffffffffffff8111156111b857600080fd5b61100484828501611069565b600080604083850312156111d757600080fd5b82356111e28161100c565b9150602083013567ffffffffffffffff8111156111fe57600080fd5b61120a85828601611069565b9150509250929050565b60006020828403121561122657600080fd5b8135610f348161100c565b602081526000610f346020830184610f3b565b6000806040838503121561125757600080fd5b82356112628161100c565b915060208301356112728161100c565b809150509250929050565b60006020828403121561128f57600080fd5b815162ffffff81168114610f3457600080fd5b600181811c908216806112b657607f821691505b6020821081036112d657634e487b7160e01b600052602260045260246000fd5b50919050565b6000602082840312156112ee57600080fd5b8151610f3481611045565b60006020828403121561130b57600080fd5b8151610f3481611021565b601f82111561136057600081815260208120601f850160051c8101602086101561133d5750805b601f850160051c820191505b8181101561135c57828155600101611349565b5050505b505050565b815167ffffffffffffffff81111561137f5761137f611053565b6113938161138d84546112a2565b84611316565b602080601f8311600181146113c857600084156113b05750858301515b600019600386901b1c1916600185901b17855561135c565b600085815260208120601f198616915b828110156113f7578886015182559484019460019091019084016113d8565b50858210156114155787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b60006020828403121561143757600080fd5b815167ffffffffffffffff81168114610f3457600080fd5b60006020828403121561146157600080fd5b8151610f348161100c565b60006020828403121561147e57600080fd5b8151610f348161103656fe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00a2646970667358221220cdee5b4e09423681d15f6baf14457e980470fc7b4462d774f2e683a6e9b3bb3964736f6c63430008140033",
327
457
  "linkReferences": {
328
- "contracts/types/Blocknumber.sol": {
329
- "BlocknumberLib": [
458
+ "contracts/types/NftId.sol": {
459
+ "NftIdLib": [
330
460
  {
331
461
  "length": 20,
332
- "start": 2067
462
+ "start": 3258
333
463
  },
334
464
  {
335
465
  "length": 20,
336
- "start": 5437
466
+ "start": 4931
337
467
  }
338
468
  ]
339
469
  },
@@ -341,25 +471,31 @@
341
471
  "VersionLib": [
342
472
  {
343
473
  "length": 20,
344
- "start": 1873
474
+ "start": 2675
345
475
  },
346
476
  {
347
477
  "length": 20,
348
- "start": 5568
349
- },
478
+ "start": 3911
479
+ }
480
+ ],
481
+ "VersionPartLib": [
350
482
  {
351
483
  "length": 20,
352
- "start": 7311
484
+ "start": 5213
353
485
  }
354
486
  ]
355
487
  }
356
488
  },
357
489
  "deployedLinkReferences": {
358
- "contracts/types/Blocknumber.sol": {
359
- "BlocknumberLib": [
490
+ "contracts/types/NftId.sol": {
491
+ "NftIdLib": [
492
+ {
493
+ "length": 20,
494
+ "start": 1447
495
+ },
360
496
  {
361
497
  "length": 20,
362
- "start": 1015
498
+ "start": 3120
363
499
  }
364
500
  ]
365
501
  },
@@ -367,11 +503,17 @@
367
503
  "VersionLib": [
368
504
  {
369
505
  "length": 20,
370
- "start": 1146
506
+ "start": 864
371
507
  },
372
508
  {
373
509
  "length": 20,
374
- "start": 2889
510
+ "start": 2100
511
+ }
512
+ ],
513
+ "VersionPartLib": [
514
+ {
515
+ "length": 20,
516
+ "start": 3402
375
517
  }
376
518
  ]
377
519
  }