@etherisc/gif-next 0.0.2-f2b0fa2-473 → 0.0.2-f4f484a-692

Sign up to get free protection for your applications and to get access to all the features.
Files changed (379) hide show
  1. package/README.md +140 -2
  2. package/artifacts/contracts/components/Component.sol/Component.dbg.json +4 -0
  3. package/artifacts/contracts/components/Component.sol/Component.json +832 -0
  4. package/artifacts/contracts/components/Distribution.sol/Distribution.dbg.json +1 -1
  5. package/artifacts/contracts/components/Distribution.sol/Distribution.json +938 -229
  6. package/artifacts/contracts/components/IComponent.sol/IComponent.dbg.json +4 -0
  7. package/artifacts/contracts/{instance/base/ComponentServiceBase.sol/ComponentServiceBase.json → components/IComponent.sol/IComponent.json} +192 -168
  8. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.dbg.json +1 -1
  9. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.json +743 -26
  10. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.dbg.json +1 -1
  11. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.json +755 -50
  12. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.dbg.json +1 -1
  13. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.json +582 -9
  14. package/artifacts/contracts/components/Pool.sol/Pool.dbg.json +1 -1
  15. package/artifacts/contracts/components/Pool.sol/Pool.json +818 -236
  16. package/artifacts/contracts/components/Product.sol/Product.dbg.json +1 -1
  17. package/artifacts/contracts/components/Product.sol/Product.json +627 -224
  18. package/artifacts/contracts/instance/AccessManagerUpgradeableInitializeable.sol/AccessManagerUpgradeableInitializeable.dbg.json +4 -0
  19. package/artifacts/contracts/instance/AccessManagerUpgradeableInitializeable.sol/AccessManagerUpgradeableInitializeable.json +1206 -0
  20. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.dbg.json +4 -0
  21. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.json +778 -0
  22. package/artifacts/contracts/instance/Cloneable.sol/Cloneable.dbg.json +4 -0
  23. package/artifacts/contracts/instance/{AccessManagedSimple.sol/AccessManagedSimple.json → Cloneable.sol/Cloneable.json} +91 -2
  24. package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
  25. package/artifacts/contracts/instance/IInstance.sol/IInstance.json +2185 -189
  26. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +1 -1
  27. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +299 -153
  28. package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
  29. package/artifacts/contracts/instance/Instance.sol/Instance.json +993 -1183
  30. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.dbg.json +1 -1
  31. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.json +571 -177
  32. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +1 -1
  33. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +232 -210
  34. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +1 -1
  35. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +520 -190
  36. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +1 -1
  37. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +352 -75
  38. package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.dbg.json +4 -0
  39. package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.json +256 -0
  40. package/artifacts/contracts/instance/base/ComponentService.sol/ComponentService.dbg.json +4 -0
  41. package/artifacts/contracts/{shared/RegisterableUpgradable.sol/RegisterableUpgradable.json → instance/base/ComponentService.sol/ComponentService.json} +236 -126
  42. package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.dbg.json +1 -1
  43. package/artifacts/contracts/instance/base/ILifecycle.sol/ILifecycle.dbg.json +1 -1
  44. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.dbg.json +1 -1
  45. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.json +40 -10
  46. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.dbg.json +1 -1
  47. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.json +36 -11
  48. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.dbg.json +1 -1
  49. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.json +69 -43
  50. package/artifacts/contracts/instance/module/IBundle.sol/IBundle.dbg.json +1 -1
  51. package/artifacts/contracts/instance/module/IComponents.sol/IComponents.dbg.json +4 -0
  52. package/artifacts/contracts/instance/module/IComponents.sol/IComponents.json +10 -0
  53. package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.dbg.json +1 -1
  54. package/artifacts/contracts/instance/module/IPolicy.sol/IPolicy.dbg.json +1 -1
  55. package/artifacts/contracts/instance/module/IRisk.sol/IRisk.dbg.json +1 -1
  56. package/artifacts/contracts/instance/module/ISetup.sol/ISetup.dbg.json +1 -1
  57. package/artifacts/contracts/instance/module/ITreasury.sol/ITreasury.dbg.json +1 -1
  58. package/artifacts/contracts/instance/service/ApplicationService.sol/ApplicationService.dbg.json +4 -0
  59. package/artifacts/contracts/instance/service/ApplicationService.sol/ApplicationService.json +968 -0
  60. package/artifacts/contracts/instance/service/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +4 -0
  61. package/artifacts/contracts/instance/service/ApplicationServiceManager.sol/ApplicationServiceManager.json +665 -0
  62. package/artifacts/contracts/instance/service/BundleService.sol/BundleService.dbg.json +4 -0
  63. package/artifacts/contracts/instance/service/BundleService.sol/BundleService.json +1093 -0
  64. package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.dbg.json +4 -0
  65. package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.json +661 -0
  66. package/artifacts/contracts/instance/service/ClaimService.sol/ClaimService.dbg.json +4 -0
  67. package/artifacts/contracts/instance/service/ClaimService.sol/ClaimService.json +754 -0
  68. package/artifacts/contracts/instance/service/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +4 -0
  69. package/artifacts/contracts/instance/service/ClaimServiceManager.sol/ClaimServiceManager.json +637 -0
  70. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.dbg.json +4 -0
  71. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.json +1732 -0
  72. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +4 -0
  73. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.json +805 -0
  74. package/artifacts/contracts/instance/service/IApplicationService.sol/IApplicationService.dbg.json +4 -0
  75. package/artifacts/contracts/instance/service/IApplicationService.sol/IApplicationService.json +556 -0
  76. package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.dbg.json +4 -0
  77. package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.json +630 -0
  78. package/artifacts/contracts/instance/service/IClaimService.sol/IClaimService.dbg.json +4 -0
  79. package/artifacts/contracts/instance/service/{IComponentOwnerService.sol/IComponentOwnerService.json → IClaimService.sol/IClaimService.json} +150 -207
  80. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.dbg.json +1 -1
  81. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.json +727 -160
  82. package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.dbg.json +4 -0
  83. package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.json +540 -0
  84. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.dbg.json +1 -1
  85. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.json +84 -217
  86. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.dbg.json +1 -1
  87. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.json +47 -414
  88. package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.dbg.json +4 -0
  89. package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.json +1021 -0
  90. package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +4 -0
  91. package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.json +689 -0
  92. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.dbg.json +4 -0
  93. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.json +824 -0
  94. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.dbg.json +4 -0
  95. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.json +657 -0
  96. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.dbg.json +4 -0
  97. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.json +777 -0
  98. package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.dbg.json +4 -0
  99. package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.json +649 -0
  100. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
  101. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +15 -2
  102. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
  103. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +373 -61
  104. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +1 -1
  105. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +234 -216
  106. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +1 -1
  107. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.json +18 -0
  108. package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
  109. package/artifacts/contracts/registry/Registry.sol/Registry.json +333 -188
  110. package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.dbg.json +4 -0
  111. package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.json +285 -0
  112. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +1 -1
  113. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +229 -313
  114. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +1 -1
  115. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +304 -138
  116. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.dbg.json +4 -0
  117. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.json +547 -0
  118. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +4 -0
  119. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +498 -0
  120. package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.dbg.json +1 -1
  121. package/artifacts/contracts/shared/ERC165.sol/ERC165.dbg.json +1 -1
  122. package/artifacts/contracts/shared/ERC165.sol/ERC165.json +41 -3
  123. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +1 -1
  124. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.json +40 -29
  125. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.dbg.json +4 -0
  126. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.json +129 -0
  127. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
  128. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +21 -34
  129. package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.dbg.json +4 -0
  130. package/artifacts/contracts/{experiment/inheritance/IB.sol/IB.json → shared/IRegistryLinked.sol/IRegistryLinked.json} +18 -20
  131. package/artifacts/contracts/shared/IService.sol/IService.dbg.json +1 -1
  132. package/artifacts/contracts/shared/IService.sol/IService.json +31 -183
  133. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.dbg.json +1 -1
  134. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.json +2 -152
  135. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +1 -1
  136. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +120 -27
  137. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.dbg.json +4 -0
  138. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.json +248 -0
  139. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.dbg.json +1 -1
  140. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.json +294 -61
  141. package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
  142. package/artifacts/contracts/shared/Registerable.sol/Registerable.json +129 -51
  143. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.dbg.json +4 -0
  144. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.json +84 -0
  145. package/artifacts/contracts/shared/Service.sol/Service.dbg.json +1 -1
  146. package/artifacts/contracts/shared/Service.sol/Service.json +127 -170
  147. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +1 -1
  148. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +2 -2
  149. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +1 -1
  150. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +2 -2
  151. package/artifacts/contracts/shared/Versionable.sol/Versionable.dbg.json +1 -1
  152. package/artifacts/contracts/shared/Versionable.sol/Versionable.json +2 -152
  153. package/artifacts/contracts/test/TestFee.sol/TestFee.dbg.json +1 -1
  154. package/artifacts/contracts/test/TestFee.sol/TestFee.json +2 -2
  155. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.dbg.json +1 -1
  156. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.json +129 -51
  157. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.dbg.json +1 -1
  158. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.json +6 -6
  159. package/artifacts/contracts/test/TestService.sol/TestService.dbg.json +1 -1
  160. package/artifacts/contracts/test/TestService.sol/TestService.json +148 -227
  161. package/artifacts/contracts/test/TestToken.sol/TestUsdc.dbg.json +1 -1
  162. package/artifacts/contracts/test/TestVersion.sol/TestVersion.dbg.json +1 -1
  163. package/artifacts/contracts/test/TestVersion.sol/TestVersion.json +2 -2
  164. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.dbg.json +1 -1
  165. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.json +8 -190
  166. package/artifacts/contracts/test/Usdc.sol/USDC.dbg.json +1 -1
  167. package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.dbg.json +1 -1
  168. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.dbg.json +1 -1
  169. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.json +2 -2
  170. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.dbg.json +1 -1
  171. package/artifacts/contracts/types/ClaimId.sol/ClaimIdLib.dbg.json +4 -0
  172. package/artifacts/contracts/types/ClaimId.sol/ClaimIdLib.json +100 -0
  173. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.dbg.json +1 -1
  174. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.json +2 -2
  175. package/artifacts/contracts/types/Fee.sol/FeeLib.dbg.json +1 -1
  176. package/artifacts/contracts/types/Fee.sol/FeeLib.json +2 -2
  177. package/artifacts/contracts/types/Key32.sol/Key32Lib.dbg.json +1 -1
  178. package/artifacts/contracts/types/Key32.sol/Key32Lib.json +2 -2
  179. package/artifacts/contracts/types/NftId.sol/NftIdLib.dbg.json +1 -1
  180. package/artifacts/contracts/types/NftId.sol/NftIdLib.json +17 -4
  181. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.dbg.json +1 -1
  182. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.json +26 -3
  183. package/artifacts/contracts/types/NumberId.sol/NumberIdLib.dbg.json +1 -1
  184. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.dbg.json +1 -1
  185. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.json +2 -2
  186. package/artifacts/contracts/types/PayoutId.sol/PayoutIdLib.dbg.json +4 -0
  187. package/artifacts/contracts/types/PayoutId.sol/PayoutIdLib.json +100 -0
  188. package/artifacts/contracts/types/Referral.sol/ReferralLib.dbg.json +1 -1
  189. package/artifacts/contracts/types/Referral.sol/ReferralLib.json +23 -4
  190. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.dbg.json +1 -1
  191. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.json +2 -2
  192. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.dbg.json +1 -1
  193. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.json +2 -2
  194. package/artifacts/contracts/types/Seconds.sol/SecondsLib.dbg.json +4 -0
  195. package/artifacts/contracts/types/Seconds.sol/SecondsLib.json +124 -0
  196. package/artifacts/contracts/types/StateId.sol/StateIdLib.dbg.json +1 -1
  197. package/artifacts/contracts/types/StateId.sol/StateIdLib.json +2 -2
  198. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.dbg.json +1 -1
  199. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.json +25 -7
  200. package/artifacts/contracts/types/UFixed.sol/MathLib.dbg.json +1 -1
  201. package/artifacts/contracts/types/UFixed.sol/MathLib.json +2 -2
  202. package/artifacts/contracts/types/UFixed.sol/UFixedLib.dbg.json +1 -1
  203. package/artifacts/contracts/types/UFixed.sol/UFixedLib.json +2 -2
  204. package/artifacts/contracts/types/Version.sol/VersionLib.dbg.json +1 -1
  205. package/artifacts/contracts/types/Version.sol/VersionLib.json +2 -2
  206. package/artifacts/contracts/types/Version.sol/VersionPartLib.dbg.json +1 -1
  207. package/artifacts/contracts/types/Version.sol/VersionPartLib.json +22 -3
  208. package/contracts/components/Component.sol +251 -0
  209. package/contracts/components/Distribution.sol +200 -86
  210. package/contracts/components/IComponent.sol +74 -0
  211. package/contracts/components/IDistributionComponent.sol +44 -16
  212. package/contracts/components/IPoolComponent.sol +88 -37
  213. package/contracts/components/IProductComponent.sol +10 -5
  214. package/contracts/components/Pool.sol +217 -177
  215. package/contracts/components/Product.sol +130 -134
  216. package/contracts/instance/AccessManagerUpgradeableInitializeable.sol +13 -0
  217. package/contracts/instance/BundleManager.sol +127 -0
  218. package/contracts/instance/Cloneable.sol +51 -0
  219. package/contracts/instance/IInstance.sol +81 -11
  220. package/contracts/instance/IInstanceService.sol +56 -1
  221. package/contracts/instance/Instance.sol +156 -265
  222. package/contracts/instance/InstanceAccessManager.sol +410 -176
  223. package/contracts/instance/InstanceReader.sol +39 -29
  224. package/contracts/instance/InstanceService.sol +448 -55
  225. package/contracts/instance/InstanceServiceManager.sol +11 -13
  226. package/contracts/instance/ObjectManager.sol +82 -0
  227. package/contracts/instance/base/ComponentService.sol +134 -0
  228. package/contracts/instance/base/KeyValueStore.sol +5 -2
  229. package/contracts/instance/base/Lifecycle.sol +11 -2
  230. package/contracts/instance/module/IAccess.sol +36 -20
  231. package/contracts/instance/module/IBundle.sol +2 -0
  232. package/contracts/instance/module/IComponents.sol +35 -0
  233. package/contracts/instance/module/IDistribution.sol +2 -0
  234. package/contracts/instance/module/IPolicy.sol +30 -3
  235. package/contracts/instance/module/ISetup.sol +9 -19
  236. package/contracts/instance/service/ApplicationService.sol +350 -0
  237. package/contracts/instance/service/ApplicationServiceManager.sol +35 -0
  238. package/contracts/instance/service/BundleService.sol +336 -0
  239. package/contracts/instance/service/BundleServiceManager.sol +51 -0
  240. package/contracts/instance/service/ClaimService.sol +151 -0
  241. package/contracts/instance/service/ClaimServiceManager.sol +35 -0
  242. package/contracts/instance/service/DistributionService.sol +467 -0
  243. package/contracts/instance/service/DistributionServiceManager.sol +51 -0
  244. package/contracts/instance/service/IApplicationService.sol +82 -0
  245. package/contracts/instance/service/IBundleService.sol +62 -0
  246. package/contracts/instance/service/IClaimService.sol +61 -0
  247. package/contracts/instance/service/IDistributionService.sol +86 -0
  248. package/contracts/instance/service/IPolicyService.sol +72 -0
  249. package/contracts/instance/service/IPoolService.sol +21 -23
  250. package/contracts/instance/service/IProductService.sol +6 -73
  251. package/contracts/instance/service/PolicyService.sol +403 -0
  252. package/contracts/instance/service/PolicyServiceManager.sol +54 -0
  253. package/contracts/instance/service/PoolService.sol +220 -0
  254. package/contracts/instance/service/PoolServiceManager.sol +51 -0
  255. package/contracts/instance/service/ProductService.sol +241 -0
  256. package/contracts/instance/service/ProductServiceManager.sol +54 -0
  257. package/contracts/registry/ChainNft.sol +9 -1
  258. package/contracts/registry/IRegistry.sol +52 -8
  259. package/contracts/registry/IRegistryService.sol +46 -14
  260. package/contracts/registry/ITransferInterceptor.sol +1 -0
  261. package/contracts/registry/Registry.sol +270 -226
  262. package/contracts/registry/RegistryAccessManager.sol +216 -0
  263. package/contracts/registry/RegistryService.sol +110 -266
  264. package/contracts/registry/RegistryServiceManager.sol +24 -26
  265. package/contracts/registry/ReleaseManager.sol +322 -0
  266. package/contracts/registry/TokenRegistry.sol +116 -0
  267. package/contracts/shared/ERC165.sol +14 -8
  268. package/contracts/shared/INftOwnable.sol +11 -10
  269. package/contracts/shared/IPolicyHolder.sol +26 -0
  270. package/contracts/shared/IRegisterable.sol +4 -6
  271. package/contracts/shared/IRegistryLinked.sol +12 -0
  272. package/contracts/shared/IService.sol +4 -1
  273. package/contracts/shared/IVersionable.sol +4 -47
  274. package/contracts/shared/NftOwnable.sol +67 -83
  275. package/contracts/shared/PolicyHolder.sol +81 -0
  276. package/contracts/shared/ProxyManager.sol +100 -25
  277. package/contracts/shared/Registerable.sol +16 -31
  278. package/contracts/shared/RegistryLinked.sol +48 -0
  279. package/contracts/shared/Service.sol +26 -22
  280. package/contracts/shared/TokenHandler.sol +11 -5
  281. package/contracts/shared/Versionable.sol +4 -92
  282. package/contracts/test/TestRegisterable.sol +1 -1
  283. package/contracts/test/TestService.sol +4 -3
  284. package/contracts/types/Blocknumber.sol +1 -0
  285. package/contracts/types/ClaimId.sol +52 -0
  286. package/contracts/types/DistributorType.sol +2 -2
  287. package/contracts/types/Fee.sol +1 -0
  288. package/contracts/types/NftId.sol +8 -0
  289. package/contracts/types/NftIdSet.sol +26 -24
  290. package/contracts/types/ObjectType.sol +10 -5
  291. package/contracts/types/PayoutId.sol +54 -0
  292. package/contracts/types/Referral.sol +4 -0
  293. package/contracts/types/RoleId.sol +26 -11
  294. package/contracts/types/Seconds.sol +54 -0
  295. package/contracts/types/StateId.sol +5 -0
  296. package/contracts/types/Timestamp.sol +13 -13
  297. package/contracts/types/UFixed.sol +1 -0
  298. package/contracts/types/Version.sol +5 -1
  299. package/package.json +3 -3
  300. package/artifacts/contracts/components/BaseComponent.sol/BaseComponent.dbg.json +0 -4
  301. package/artifacts/contracts/components/BaseComponent.sol/BaseComponent.json +0 -314
  302. package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.dbg.json +0 -4
  303. package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.json +0 -267
  304. package/artifacts/contracts/experiment/cloning/Cloner.sol/Cloner.dbg.json +0 -4
  305. package/artifacts/contracts/experiment/cloning/Cloner.sol/Cloner.json +0 -66
  306. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock1.dbg.json +0 -4
  307. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock1.json +0 -24
  308. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock2.dbg.json +0 -4
  309. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock2.json +0 -42
  310. package/artifacts/contracts/experiment/errors/Require.sol/Require.dbg.json +0 -4
  311. package/artifacts/contracts/experiment/errors/Require.sol/Require.json +0 -105
  312. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.dbg.json +0 -4
  313. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.json +0 -105
  314. package/artifacts/contracts/experiment/inheritance/A.sol/A.dbg.json +0 -4
  315. package/artifacts/contracts/experiment/inheritance/A.sol/A.json +0 -128
  316. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.dbg.json +0 -4
  317. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.json +0 -42
  318. package/artifacts/contracts/experiment/inheritance/B.sol/B.dbg.json +0 -4
  319. package/artifacts/contracts/experiment/inheritance/B.sol/B.json +0 -76
  320. package/artifacts/contracts/experiment/inheritance/C.sol/C.dbg.json +0 -4
  321. package/artifacts/contracts/experiment/inheritance/C.sol/C.json +0 -89
  322. package/artifacts/contracts/experiment/inheritance/IA.sol/IA.dbg.json +0 -4
  323. package/artifacts/contracts/experiment/inheritance/IA.sol/IA.json +0 -128
  324. package/artifacts/contracts/experiment/inheritance/IA.sol/ISharedA.dbg.json +0 -4
  325. package/artifacts/contracts/experiment/inheritance/IA.sol/ISharedA.json +0 -37
  326. package/artifacts/contracts/experiment/inheritance/IB.sol/IB.dbg.json +0 -4
  327. package/artifacts/contracts/experiment/inheritance/IC.sol/IC.dbg.json +0 -4
  328. package/artifacts/contracts/experiment/inheritance/IC.sol/IC.json +0 -63
  329. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.dbg.json +0 -4
  330. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.json +0 -59
  331. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.dbg.json +0 -4
  332. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.json +0 -124
  333. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.dbg.json +0 -4
  334. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.json +0 -74
  335. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.dbg.json +0 -4
  336. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.json +0 -124
  337. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.dbg.json +0 -4
  338. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.json +0 -207
  339. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.dbg.json +0 -4
  340. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.json +0 -10
  341. package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.dbg.json +0 -4
  342. package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.json +0 -10
  343. package/artifacts/contracts/instance/AccessManagedSimple.sol/AccessManagedSimple.dbg.json +0 -4
  344. package/artifacts/contracts/instance/AccessManagerSimple.sol/AccessManagerSimple.dbg.json +0 -4
  345. package/artifacts/contracts/instance/AccessManagerSimple.sol/AccessManagerSimple.json +0 -1119
  346. package/artifacts/contracts/instance/IAccessManagerSimple.sol/IAccessManagerSimple.dbg.json +0 -4
  347. package/artifacts/contracts/instance/IAccessManagerSimple.sol/IAccessManagerSimple.json +0 -1082
  348. package/artifacts/contracts/instance/base/ComponentServiceBase.sol/ComponentServiceBase.dbg.json +0 -4
  349. package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.dbg.json +0 -4
  350. package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.json +0 -113
  351. package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.dbg.json +0 -4
  352. package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.json +0 -827
  353. package/artifacts/contracts/instance/service/IComponentOwnerService.sol/IComponentOwnerService.dbg.json +0 -4
  354. package/artifacts/contracts/shared/RegisterableUpgradable.sol/RegisterableUpgradable.dbg.json +0 -4
  355. package/contracts/components/BaseComponent.sol +0 -86
  356. package/contracts/components/IBaseComponent.sol +0 -24
  357. package/contracts/experiment/cloning/Cloner.sol +0 -47
  358. package/contracts/experiment/errors/Require.sol +0 -38
  359. package/contracts/experiment/errors/Revert.sol +0 -44
  360. package/contracts/experiment/inheritance/A.sol +0 -53
  361. package/contracts/experiment/inheritance/B.sol +0 -28
  362. package/contracts/experiment/inheritance/C.sol +0 -34
  363. package/contracts/experiment/inheritance/IA.sol +0 -13
  364. package/contracts/experiment/inheritance/IB.sol +0 -10
  365. package/contracts/experiment/inheritance/IC.sol +0 -12
  366. package/contracts/experiment/statemachine/Dummy.sol +0 -27
  367. package/contracts/experiment/statemachine/ISM.sol +0 -25
  368. package/contracts/experiment/statemachine/SM.sol +0 -57
  369. package/contracts/experiment/statemachine/SimpleStateMachine.sol +0 -31
  370. package/contracts/experiment/types/TypeA.sol +0 -47
  371. package/contracts/experiment/types/TypeB.sol +0 -29
  372. package/contracts/instance/AccessManagedSimple.sol +0 -114
  373. package/contracts/instance/AccessManagerSimple.sol +0 -682
  374. package/contracts/instance/IAccessManagerSimple.sol +0 -391
  375. package/contracts/instance/base/ComponentServiceBase.sol +0 -49
  376. package/contracts/instance/base/IInstanceBase.sol +0 -23
  377. package/contracts/instance/service/ComponentOwnerService.sol +0 -317
  378. package/contracts/instance/service/IComponentOwnerService.sol +0 -20
  379. package/contracts/shared/RegisterableUpgradable.sol +0 -16
@@ -0,0 +1,1021 @@
1
+ {
2
+ "_format": "hh-sol-artifact-1",
3
+ "contractName": "PolicyService",
4
+ "sourceName": "contracts/instance/service/PolicyService.sol",
5
+ "abi": [
6
+ {
7
+ "inputs": [
8
+ {
9
+ "internalType": "address",
10
+ "name": "component",
11
+ "type": "address"
12
+ },
13
+ {
14
+ "internalType": "NftId",
15
+ "name": "nftId",
16
+ "type": "uint96"
17
+ }
18
+ ],
19
+ "name": "ErrorComponentServiceAlreadyRegistered",
20
+ "type": "error"
21
+ },
22
+ {
23
+ "inputs": [
24
+ {
25
+ "internalType": "address",
26
+ "name": "component",
27
+ "type": "address"
28
+ }
29
+ ],
30
+ "name": "ErrorComponentServiceComponentLocked",
31
+ "type": "error"
32
+ },
33
+ {
34
+ "inputs": [
35
+ {
36
+ "internalType": "NftId",
37
+ "name": "instanceNftId",
38
+ "type": "uint96"
39
+ },
40
+ {
41
+ "internalType": "RoleId",
42
+ "name": "requiredRole",
43
+ "type": "uint64"
44
+ },
45
+ {
46
+ "internalType": "address",
47
+ "name": "sender",
48
+ "type": "address"
49
+ }
50
+ ],
51
+ "name": "ErrorComponentServiceExpectedRoleMissing",
52
+ "type": "error"
53
+ },
54
+ {
55
+ "inputs": [
56
+ {
57
+ "internalType": "address",
58
+ "name": "component",
59
+ "type": "address"
60
+ },
61
+ {
62
+ "internalType": "ObjectType",
63
+ "name": "requiredType",
64
+ "type": "uint8"
65
+ },
66
+ {
67
+ "internalType": "ObjectType",
68
+ "name": "componentType",
69
+ "type": "uint8"
70
+ }
71
+ ],
72
+ "name": "ErrorComponentServiceInvalidType",
73
+ "type": "error"
74
+ },
75
+ {
76
+ "inputs": [
77
+ {
78
+ "internalType": "address",
79
+ "name": "component",
80
+ "type": "address"
81
+ }
82
+ ],
83
+ "name": "ErrorComponentServiceNotComponent",
84
+ "type": "error"
85
+ },
86
+ {
87
+ "inputs": [
88
+ {
89
+ "internalType": "address",
90
+ "name": "component",
91
+ "type": "address"
92
+ },
93
+ {
94
+ "internalType": "address",
95
+ "name": "initialOwner",
96
+ "type": "address"
97
+ },
98
+ {
99
+ "internalType": "address",
100
+ "name": "sender",
101
+ "type": "address"
102
+ }
103
+ ],
104
+ "name": "ErrorComponentServiceSenderNotOwner",
105
+ "type": "error"
106
+ },
107
+ {
108
+ "inputs": [
109
+ {
110
+ "internalType": "address",
111
+ "name": "target",
112
+ "type": "address"
113
+ }
114
+ ],
115
+ "name": "ErrorIAccessTargetLocked",
116
+ "type": "error"
117
+ },
118
+ {
119
+ "inputs": [
120
+ {
121
+ "internalType": "address",
122
+ "name": "customer",
123
+ "type": "address"
124
+ },
125
+ {
126
+ "internalType": "address",
127
+ "name": "tokenHandlerAddress",
128
+ "type": "address"
129
+ },
130
+ {
131
+ "internalType": "uint256",
132
+ "name": "amount",
133
+ "type": "uint256"
134
+ }
135
+ ],
136
+ "name": "ErrorIPolicyServiceInsufficientAllowance",
137
+ "type": "error"
138
+ },
139
+ {
140
+ "inputs": [
141
+ {
142
+ "internalType": "NftId",
143
+ "name": "policyNftId",
144
+ "type": "uint96"
145
+ },
146
+ {
147
+ "internalType": "uint16",
148
+ "name": "openClaimsCount",
149
+ "type": "uint16"
150
+ }
151
+ ],
152
+ "name": "ErrorIPolicyServiceOpenClaims",
153
+ "type": "error"
154
+ },
155
+ {
156
+ "inputs": [
157
+ {
158
+ "internalType": "NftId",
159
+ "name": "policyNftId",
160
+ "type": "uint96"
161
+ }
162
+ ],
163
+ "name": "ErrorIPolicyServicePolicyAlreadyClosed",
164
+ "type": "error"
165
+ },
166
+ {
167
+ "inputs": [
168
+ {
169
+ "internalType": "NftId",
170
+ "name": "policyNftId",
171
+ "type": "uint96"
172
+ },
173
+ {
174
+ "internalType": "Timestamp",
175
+ "name": "expiredAt",
176
+ "type": "uint40"
177
+ }
178
+ ],
179
+ "name": "ErrorIPolicyServicePolicyHasNotExpired",
180
+ "type": "error"
181
+ },
182
+ {
183
+ "inputs": [
184
+ {
185
+ "internalType": "NftId",
186
+ "name": "policyNftId",
187
+ "type": "uint96"
188
+ }
189
+ ],
190
+ "name": "ErrorIPolicyServicePolicyNotActivated",
191
+ "type": "error"
192
+ },
193
+ {
194
+ "inputs": [
195
+ {
196
+ "internalType": "NftId",
197
+ "name": "policyNftId",
198
+ "type": "uint96"
199
+ },
200
+ {
201
+ "internalType": "StateId",
202
+ "name": "state",
203
+ "type": "uint8"
204
+ }
205
+ ],
206
+ "name": "ErrorIPolicyServicePolicyNotActive",
207
+ "type": "error"
208
+ },
209
+ {
210
+ "inputs": [
211
+ {
212
+ "internalType": "NftId",
213
+ "name": "policyNftId",
214
+ "type": "uint96"
215
+ },
216
+ {
217
+ "internalType": "uint256",
218
+ "name": "premiumPaidAmount",
219
+ "type": "uint256"
220
+ }
221
+ ],
222
+ "name": "ErrorIPolicyServicePremiumAlreadyPaid",
223
+ "type": "error"
224
+ },
225
+ {
226
+ "inputs": [
227
+ {
228
+ "internalType": "NftId",
229
+ "name": "policyNftId",
230
+ "type": "uint96"
231
+ },
232
+ {
233
+ "internalType": "uint256",
234
+ "name": "premiumAmount",
235
+ "type": "uint256"
236
+ },
237
+ {
238
+ "internalType": "uint256",
239
+ "name": "recalculatedPremiumAmount",
240
+ "type": "uint256"
241
+ }
242
+ ],
243
+ "name": "ErrorIPolicyServicePremiumMismatch",
244
+ "type": "error"
245
+ },
246
+ {
247
+ "inputs": [
248
+ {
249
+ "internalType": "NftId",
250
+ "name": "policyNftId",
251
+ "type": "uint96"
252
+ },
253
+ {
254
+ "internalType": "uint256",
255
+ "name": "premiumAmount",
256
+ "type": "uint256"
257
+ },
258
+ {
259
+ "internalType": "uint256",
260
+ "name": "premiumPaidAmount",
261
+ "type": "uint256"
262
+ }
263
+ ],
264
+ "name": "ErrorIPolicyServicePremiumNotFullyPaid",
265
+ "type": "error"
266
+ },
267
+ {
268
+ "inputs": [
269
+ {
270
+ "internalType": "address",
271
+ "name": "caller",
272
+ "type": "address"
273
+ }
274
+ ],
275
+ "name": "ErrorIServiceCallerUnknown",
276
+ "type": "error"
277
+ },
278
+ {
279
+ "inputs": [
280
+ {
281
+ "internalType": "NftId",
282
+ "name": "nftId",
283
+ "type": "uint96"
284
+ }
285
+ ],
286
+ "name": "ErrorNftOwnableAlreadyLinked",
287
+ "type": "error"
288
+ },
289
+ {
290
+ "inputs": [
291
+ {
292
+ "internalType": "address",
293
+ "name": "contractAddress",
294
+ "type": "address"
295
+ }
296
+ ],
297
+ "name": "ErrorNftOwnableContractNotRegistered",
298
+ "type": "error"
299
+ },
300
+ {
301
+ "inputs": [],
302
+ "name": "ErrorNftOwnableInitialOwnerZero",
303
+ "type": "error"
304
+ },
305
+ {
306
+ "inputs": [
307
+ {
308
+ "internalType": "address",
309
+ "name": "account",
310
+ "type": "address"
311
+ }
312
+ ],
313
+ "name": "ErrorNftOwnableNotOwner",
314
+ "type": "error"
315
+ },
316
+ {
317
+ "inputs": [
318
+ {
319
+ "internalType": "address",
320
+ "name": "registryAddress",
321
+ "type": "address"
322
+ }
323
+ ],
324
+ "name": "ErrorNotRegistry",
325
+ "type": "error"
326
+ },
327
+ {
328
+ "inputs": [],
329
+ "name": "InvalidInitialization",
330
+ "type": "error"
331
+ },
332
+ {
333
+ "inputs": [],
334
+ "name": "NotInitializing",
335
+ "type": "error"
336
+ },
337
+ {
338
+ "anonymous": false,
339
+ "inputs": [
340
+ {
341
+ "indexed": false,
342
+ "internalType": "uint64",
343
+ "name": "version",
344
+ "type": "uint64"
345
+ }
346
+ ],
347
+ "name": "Initialized",
348
+ "type": "event"
349
+ },
350
+ {
351
+ "anonymous": false,
352
+ "inputs": [
353
+ {
354
+ "indexed": false,
355
+ "internalType": "address",
356
+ "name": "sender",
357
+ "type": "address"
358
+ }
359
+ ],
360
+ "name": "LogProductServiceSender",
361
+ "type": "event"
362
+ },
363
+ {
364
+ "inputs": [],
365
+ "name": "NFT_OWNABLE_STORAGE_LOCATION_V1",
366
+ "outputs": [
367
+ {
368
+ "internalType": "bytes32",
369
+ "name": "",
370
+ "type": "bytes32"
371
+ }
372
+ ],
373
+ "stateMutability": "view",
374
+ "type": "function"
375
+ },
376
+ {
377
+ "inputs": [],
378
+ "name": "REGISTERABLE_LOCATION_V1",
379
+ "outputs": [
380
+ {
381
+ "internalType": "bytes32",
382
+ "name": "",
383
+ "type": "bytes32"
384
+ }
385
+ ],
386
+ "stateMutability": "view",
387
+ "type": "function"
388
+ },
389
+ {
390
+ "inputs": [
391
+ {
392
+ "internalType": "NftId",
393
+ "name": "policyNftId",
394
+ "type": "uint96"
395
+ },
396
+ {
397
+ "internalType": "Timestamp",
398
+ "name": "activateAt",
399
+ "type": "uint40"
400
+ }
401
+ ],
402
+ "name": "activate",
403
+ "outputs": [],
404
+ "stateMutability": "nonpayable",
405
+ "type": "function"
406
+ },
407
+ {
408
+ "inputs": [
409
+ {
410
+ "internalType": "UFixed",
411
+ "name": "collateralizationLevel",
412
+ "type": "uint256"
413
+ },
414
+ {
415
+ "internalType": "uint256",
416
+ "name": "sumInsuredAmount",
417
+ "type": "uint256"
418
+ }
419
+ ],
420
+ "name": "calculateRequiredCollateral",
421
+ "outputs": [
422
+ {
423
+ "internalType": "uint256",
424
+ "name": "collateralAmount",
425
+ "type": "uint256"
426
+ }
427
+ ],
428
+ "stateMutability": "pure",
429
+ "type": "function"
430
+ },
431
+ {
432
+ "inputs": [
433
+ {
434
+ "internalType": "NftId",
435
+ "name": "policyNftId",
436
+ "type": "uint96"
437
+ }
438
+ ],
439
+ "name": "close",
440
+ "outputs": [],
441
+ "stateMutability": "nonpayable",
442
+ "type": "function"
443
+ },
444
+ {
445
+ "inputs": [
446
+ {
447
+ "internalType": "NftId",
448
+ "name": "policyNftId",
449
+ "type": "uint96"
450
+ },
451
+ {
452
+ "internalType": "Timestamp",
453
+ "name": "activateAt",
454
+ "type": "uint40"
455
+ }
456
+ ],
457
+ "name": "collectPremium",
458
+ "outputs": [],
459
+ "stateMutability": "nonpayable",
460
+ "type": "function"
461
+ },
462
+ {
463
+ "inputs": [
464
+ {
465
+ "internalType": "NftId",
466
+ "name": "policyNftId",
467
+ "type": "uint96"
468
+ }
469
+ ],
470
+ "name": "decline",
471
+ "outputs": [],
472
+ "stateMutability": "nonpayable",
473
+ "type": "function"
474
+ },
475
+ {
476
+ "inputs": [
477
+ {
478
+ "internalType": "NftId",
479
+ "name": "policyNftId",
480
+ "type": "uint96"
481
+ }
482
+ ],
483
+ "name": "expire",
484
+ "outputs": [],
485
+ "stateMutability": "nonpayable",
486
+ "type": "function"
487
+ },
488
+ {
489
+ "inputs": [],
490
+ "name": "getDomain",
491
+ "outputs": [
492
+ {
493
+ "internalType": "ObjectType",
494
+ "name": "",
495
+ "type": "uint8"
496
+ }
497
+ ],
498
+ "stateMutability": "pure",
499
+ "type": "function"
500
+ },
501
+ {
502
+ "inputs": [],
503
+ "name": "getInitialInfo",
504
+ "outputs": [
505
+ {
506
+ "components": [
507
+ {
508
+ "internalType": "NftId",
509
+ "name": "nftId",
510
+ "type": "uint96"
511
+ },
512
+ {
513
+ "internalType": "NftId",
514
+ "name": "parentNftId",
515
+ "type": "uint96"
516
+ },
517
+ {
518
+ "internalType": "ObjectType",
519
+ "name": "objectType",
520
+ "type": "uint8"
521
+ },
522
+ {
523
+ "internalType": "bool",
524
+ "name": "isInterceptor",
525
+ "type": "bool"
526
+ },
527
+ {
528
+ "internalType": "address",
529
+ "name": "objectAddress",
530
+ "type": "address"
531
+ },
532
+ {
533
+ "internalType": "address",
534
+ "name": "initialOwner",
535
+ "type": "address"
536
+ },
537
+ {
538
+ "internalType": "bytes",
539
+ "name": "data",
540
+ "type": "bytes"
541
+ }
542
+ ],
543
+ "internalType": "struct IRegistry.ObjectInfo",
544
+ "name": "info",
545
+ "type": "tuple"
546
+ }
547
+ ],
548
+ "stateMutability": "view",
549
+ "type": "function"
550
+ },
551
+ {
552
+ "inputs": [],
553
+ "name": "getInstanceService",
554
+ "outputs": [
555
+ {
556
+ "internalType": "contract InstanceService",
557
+ "name": "",
558
+ "type": "address"
559
+ }
560
+ ],
561
+ "stateMutability": "view",
562
+ "type": "function"
563
+ },
564
+ {
565
+ "inputs": [],
566
+ "name": "getMajorVersion",
567
+ "outputs": [
568
+ {
569
+ "internalType": "VersionPart",
570
+ "name": "majorVersion",
571
+ "type": "uint8"
572
+ }
573
+ ],
574
+ "stateMutability": "view",
575
+ "type": "function"
576
+ },
577
+ {
578
+ "inputs": [],
579
+ "name": "getNftId",
580
+ "outputs": [
581
+ {
582
+ "internalType": "NftId",
583
+ "name": "",
584
+ "type": "uint96"
585
+ }
586
+ ],
587
+ "stateMutability": "view",
588
+ "type": "function"
589
+ },
590
+ {
591
+ "inputs": [],
592
+ "name": "getOwner",
593
+ "outputs": [
594
+ {
595
+ "internalType": "address",
596
+ "name": "",
597
+ "type": "address"
598
+ }
599
+ ],
600
+ "stateMutability": "view",
601
+ "type": "function"
602
+ },
603
+ {
604
+ "inputs": [],
605
+ "name": "getRegistry",
606
+ "outputs": [
607
+ {
608
+ "internalType": "contract IRegistry",
609
+ "name": "",
610
+ "type": "address"
611
+ }
612
+ ],
613
+ "stateMutability": "view",
614
+ "type": "function"
615
+ },
616
+ {
617
+ "inputs": [],
618
+ "name": "getRegistryAddress",
619
+ "outputs": [
620
+ {
621
+ "internalType": "address",
622
+ "name": "",
623
+ "type": "address"
624
+ }
625
+ ],
626
+ "stateMutability": "view",
627
+ "type": "function"
628
+ },
629
+ {
630
+ "inputs": [],
631
+ "name": "getRegistryService",
632
+ "outputs": [
633
+ {
634
+ "internalType": "contract IRegistryService",
635
+ "name": "",
636
+ "type": "address"
637
+ }
638
+ ],
639
+ "stateMutability": "view",
640
+ "type": "function"
641
+ },
642
+ {
643
+ "inputs": [],
644
+ "name": "getVersion",
645
+ "outputs": [
646
+ {
647
+ "internalType": "Version",
648
+ "name": "",
649
+ "type": "uint24"
650
+ }
651
+ ],
652
+ "stateMutability": "pure",
653
+ "type": "function"
654
+ },
655
+ {
656
+ "inputs": [],
657
+ "name": "initializeERC165",
658
+ "outputs": [],
659
+ "stateMutability": "nonpayable",
660
+ "type": "function"
661
+ },
662
+ {
663
+ "inputs": [
664
+ {
665
+ "internalType": "address",
666
+ "name": "initialOwner",
667
+ "type": "address"
668
+ },
669
+ {
670
+ "internalType": "address",
671
+ "name": "registryAddress",
672
+ "type": "address"
673
+ }
674
+ ],
675
+ "name": "initializeNftOwnable",
676
+ "outputs": [],
677
+ "stateMutability": "nonpayable",
678
+ "type": "function"
679
+ },
680
+ {
681
+ "inputs": [
682
+ {
683
+ "internalType": "address",
684
+ "name": "registryAddress",
685
+ "type": "address"
686
+ },
687
+ {
688
+ "internalType": "NftId",
689
+ "name": "parentNftId",
690
+ "type": "uint96"
691
+ },
692
+ {
693
+ "internalType": "ObjectType",
694
+ "name": "objectType",
695
+ "type": "uint8"
696
+ },
697
+ {
698
+ "internalType": "bool",
699
+ "name": "isInterceptor",
700
+ "type": "bool"
701
+ },
702
+ {
703
+ "internalType": "address",
704
+ "name": "initialOwner",
705
+ "type": "address"
706
+ },
707
+ {
708
+ "internalType": "bytes",
709
+ "name": "registryData",
710
+ "type": "bytes"
711
+ }
712
+ ],
713
+ "name": "initializeRegisterable",
714
+ "outputs": [],
715
+ "stateMutability": "nonpayable",
716
+ "type": "function"
717
+ },
718
+ {
719
+ "inputs": [
720
+ {
721
+ "internalType": "address",
722
+ "name": "registryAddress",
723
+ "type": "address"
724
+ }
725
+ ],
726
+ "name": "initializeRegistryLinked",
727
+ "outputs": [],
728
+ "stateMutability": "nonpayable",
729
+ "type": "function"
730
+ },
731
+ {
732
+ "inputs": [
733
+ {
734
+ "internalType": "address",
735
+ "name": "registry",
736
+ "type": "address"
737
+ },
738
+ {
739
+ "internalType": "address",
740
+ "name": "initialOwner",
741
+ "type": "address"
742
+ }
743
+ ],
744
+ "name": "initializeService",
745
+ "outputs": [],
746
+ "stateMutability": "nonpayable",
747
+ "type": "function"
748
+ },
749
+ {
750
+ "inputs": [
751
+ {
752
+ "internalType": "address",
753
+ "name": "activatedBy",
754
+ "type": "address"
755
+ },
756
+ {
757
+ "internalType": "bytes",
758
+ "name": "data",
759
+ "type": "bytes"
760
+ }
761
+ ],
762
+ "name": "initializeVersionable",
763
+ "outputs": [],
764
+ "stateMutability": "nonpayable",
765
+ "type": "function"
766
+ },
767
+ {
768
+ "inputs": [],
769
+ "name": "linkToRegisteredNftId",
770
+ "outputs": [],
771
+ "stateMutability": "nonpayable",
772
+ "type": "function"
773
+ },
774
+ {
775
+ "inputs": [
776
+ {
777
+ "internalType": "bytes4",
778
+ "name": "interfaceId",
779
+ "type": "bytes4"
780
+ }
781
+ ],
782
+ "name": "registerInterface",
783
+ "outputs": [],
784
+ "stateMutability": "nonpayable",
785
+ "type": "function"
786
+ },
787
+ {
788
+ "inputs": [
789
+ {
790
+ "internalType": "bytes4",
791
+ "name": "interfaceId",
792
+ "type": "bytes4"
793
+ }
794
+ ],
795
+ "name": "supportsInterface",
796
+ "outputs": [
797
+ {
798
+ "internalType": "bool",
799
+ "name": "",
800
+ "type": "bool"
801
+ }
802
+ ],
803
+ "stateMutability": "view",
804
+ "type": "function"
805
+ },
806
+ {
807
+ "inputs": [
808
+ {
809
+ "internalType": "NftId",
810
+ "name": "applicationNftId",
811
+ "type": "uint96"
812
+ },
813
+ {
814
+ "internalType": "bool",
815
+ "name": "requirePremiumPayment",
816
+ "type": "bool"
817
+ },
818
+ {
819
+ "internalType": "Timestamp",
820
+ "name": "activateAt",
821
+ "type": "uint40"
822
+ }
823
+ ],
824
+ "name": "underwrite",
825
+ "outputs": [],
826
+ "stateMutability": "nonpayable",
827
+ "type": "function"
828
+ },
829
+ {
830
+ "inputs": [
831
+ {
832
+ "internalType": "bytes",
833
+ "name": "data",
834
+ "type": "bytes"
835
+ }
836
+ ],
837
+ "name": "upgradeVersionable",
838
+ "outputs": [],
839
+ "stateMutability": "nonpayable",
840
+ "type": "function"
841
+ }
842
+ ],
843
+ "bytecode": "0x60806040523480156200001157600080fd5b506200001c62000022565b620000d6565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00805468010000000000000000900460ff1615620000735760405163f92ee8a960e01b815260040160405180910390fd5b80546001600160401b0390811614620000d35780546001600160401b0319166001600160401b0390811782556040519081527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50565b6149c180620000e66000396000f3fe608060405234801561001057600080fd5b50600436106101cf5760003560e01c80635fd1a5f511610104578063b68d1809116100a2578063cde749f411610071578063cde749f4146103ff578063ea86657214610407578063f21de1e814610311578063f7c34ee01461041a57600080fd5b8063b68d1809146103c7578063bbfbbfba146103dc578063caf4e3d4146103ef578063cc9fc59a146103f757600080fd5b8063675393bf116100de578063675393bf14610384578063893d20e8146103975780639ffcede91461039f578063ada9652e146103b257600080fd5b80635fd1a5f514610336578063630361f614610349578063644c45e01461035c57600080fd5b806327bb7a33116101715780633d3cf0231161014b5780633d3cf023146102da57806349bb9e4b146102eb5780634d5e16a9146102fe5780635ab1bd531461031157600080fd5b806327bb7a33146102ac578063329d6e74146102bf57806336fc697e146102d257600080fd5b80630fec111c116101ad5780630fec111c14610247578063138461e01461025c5780631eff4b2214610264578063214cdb801461029957600080fd5b806301ffc9a7146101d45780630aaba8e8146102165780630d8e6e2c1461022b575b600080fd5b6102016101e2366004613717565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b610229610224366004613756565b61042d565b005b610233610a6b565b60405162ffffff909116815260200161020d565b61024f610af5565b60405161020d91906137c3565b610229610c91565b61028b7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b60405190815260200161020d565b6102296102a7366004613717565b610e93565b6102296102ba366004613a3c565b610ec0565b6102296102cd366004613ad4565b610f4c565b610229611099565b6102296102e8366004613756565b50565b6102296102f9366004613b08565b6110df565b61022961030c366004613b6a565b6111de565b6001546001600160a01b03165b6040516001600160a01b03909116815260200161020d565b61028b610344366004613ba3565b611454565b610229610357366004613bc5565b61155d565b60008051602061494c833981519152546040516001600160601b03909116815260200161020d565b610229610392366004613c10565b611bdd565b61031e611cea565b6102296103ad366004613756565b611e21565b61028b60008051602061494c83398151915281565b60d35b60405160ff909116815260200161020d565b6102296103ea366004613b6a565b611e73565b61031e6121d5565b61031e61226c565b6103ca612296565b610229610415366004613c2d565b61230d565b610229610428366004613c2d565b6123a5565b6000610439606e61241c565b9150506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa15801561047c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104a09190613c5b565b60405163bd7d9d8560e01b81526001600160601b03851660048201529091506000906001600160a01b0383169063bd7d9d8590602401600060405180830381865afa1580156104f3573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261051b9190810190613d0d565b6101a081015160405163790a38ad60e01b815264ffffffffff909116600482015290915073__$d53880c81dc91c20799140d711e5ab8718$__9063790a38ad90602401602060405180830381865af415801561057b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061059f9190613e93565b156105cd576040516308cbe08b60e21b81526001600160601b03851660048201526024015b60405180910390fd5b604051639096a1f360e01b81526001600160601b03851660048201526000906001600160a01b03841690639096a1f390602401602060405180830381865afa15801561061d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106419190613ebb565b905060ff811660641461067b57604051634de91cf360e11b81526001600160601b038616600482015260ff821660248201526044016105c4565b6101e0820151604051638d38cd4b60e01b815264ffffffffff909116600482015273__$d53880c81dc91c20799140d711e5ab8718$__90638d38cd4b90602401602060405180830381865af41580156106d8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106fc9190613e93565b1561072557604051634b80547760e11b81526001600160601b03861660048201526024016105c4565b8160c001518260a001511461076f5760a082015160c0830151604051632b14368360e11b81526001600160601b0388166004820152602481019290925260448201526064016105c4565b61016082015161ffff16156107b35761016082015160405163a5bb07ed60e01b81526001600160601b038716600482015261ffff90911660248201526044016105c4565b73__$d53880c81dc91c20799140d711e5ab8718$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af41580156107fc573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108209190613ed8565b6101c0830151604051634a19ad8d60e11b815264ffffffffff92831660048201529116602482015273__$d53880c81dc91c20799140d711e5ab8718$__906394335b1a90604401602060405180830381865af4158015610884573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108a89190613e93565b80156108bc57508160800151826101800151105b156108f9576101c0820151604051630e79f6e160e21b81526001600160601b038716600482015264ffffffffff90911660248201526044016105c4565b73__$d53880c81dc91c20799140d711e5ab8718$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af4158015610942573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109669190613ed8565b64ffffffffff166101e0830152600354602083015160808401516040516303c5c06160e41b81526001600160a01b0388811660048301526001600160601b03808b16602484015290931660448201526064810191909152911690633c5c061090608401600060405180830381600087803b1580156109e357600080fd5b505af11580156109f7573d6000803e3d6000fd5b50505050836001600160a01b0316631518afb98684610a1460c890565b6040518463ffffffff1660e01b8152600401610a3293929190613ef5565b600060405180830381600087803b158015610a4c57600080fd5b505af1158015610a60573d6000803e3d6000fd5b505050505050505050565b604051632efe011360e01b815260036004820152600060248201819052604482018190529073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af4158015610acc573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610af09190614068565b905090565b610afd613654565b604080516080810182527f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b038116835260ff600160601b820481166020850152600160681b909104161515928201929092527f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa3018054600093916060840191610b8d9061408d565b80601f0160208091040260200160405190810160405280929190818152602001828054610bb99061408d565b8015610c065780601f10610bdb57610100808354040283529160200191610c06565b820191906000526020600020905b815481529060010190602001808311610be957829003601f168201915b50505050508152505090506040518060e00160405280610c24600090565b6001600160601b0316815260200182600001516001600160601b03168152602001826020015160ff168152602001826040015115158152602001306001600160a01b03168152602001610c75611cea565b6001600160a01b03168152602001826060015181525091505090565b600060008051602061494c83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015610d00573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d249190613e93565b15610d505780546040516301ab8b6760e21b81526001600160601b0390911660048201526024016105c4565b30610d636001546001600160a01b031690565b60405163c3c5a54760e01b81526001600160a01b038381166004830152919091169063c3c5a54790602401602060405180830381865afa158015610dab573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610dcf9190613e93565b610df75760405163b9304b0d60e01b81526001600160a01b03821660048201526024016105c4565b6001546001600160a01b0316604051636939560f60e11b81526001600160a01b038381166004830152919091169063d272ac1e90602401602060405180830381865afa158015610e4b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e6f91906140c7565b82546bffffffffffffffffffffffff19166001600160601b03919091161790915550565b610e9b612693565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b610ec8612693565b610ed282876123a5565b60007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166cffffffffffffffffffffffffff1990911617600160601b60ff8816021760ff60681b1916600160681b86151502178155905060018101610f428382614133565b5050505050505050565b73__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__63a123b37c610f6e610a6b565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af4158015610fae573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fd29190614212565b60008051602061496c8339815191528054600160401b900460ff1680611005575080546001600160401b03808416911610155b156110235760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b17815561104d836126cc565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a1505050565b6110a1612693565b6301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b60008051602061496c8339815191528054600160401b810460ff1615906001600160401b03166000811580156111125750825b90506000826001600160401b0316600114801561112e5750303b155b90508115801561113c575080155b1561115a5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561118457845460ff60401b1916600160401b1785555b61118e87876126d4565b83156111d557845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a15b50505050505050565b60006111ea606e61241c565b9150506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa15801561122d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112519190613c5b565b60405163bd7d9d8560e01b81526001600160601b03861660048201529091506000906001600160a01b0383169063bd7d9d8590602401600060405180830381865afa1580156112a4573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526112cc9190810190613d0d565b6101a081015160405163790a38ad60e01b815264ffffffffff909116600482015290915073__$d53880c81dc91c20799140d711e5ab8718$__9063790a38ad90602401602060405180830381865af415801561132c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113509190613e93565b61139c5760405162461bcd60e51b815260206004820152601f60248201527f4552524f523a5052532d3032303a414c52454144595f4143544956415445440060448201526064016105c4565b64ffffffffff8481166101a0830181905260e08301516040516352bcc5a760e11b81526004810192909252909116602482015273__$d53880c81dc91c20799140d711e5ab8718$__9063a5798b4e90604401602060405180830381865af415801561140b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061142f9190613ed8565b64ffffffffff166101c08201526001600160a01b038316631518afb986836064610a14565b6040516322f5db0f60e11b815260048101829052600090819073__$5ac3274b8cf1e01ea223bf093142af05b0$__906345ebb61e90602401602060405180830381865af41580156114a9573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114cd919061422f565b905060006114db8583612a5f565b604051632255341b60e11b81526004810182905290915073__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa683690602401602060405180830381865af415801561152e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611552919061422f565b925050505b92915050565b600080600061156a613654565b611574606e61241c565b8095508192505050836001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa1580156115ba573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115de9190613c5b565b905160405163bd7d9d8560e01b81526001600160601b038916600482015291935091506000906001600160a01b0384169063bd7d9d8590602401600060405180830381865afa158015611635573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261165d9190810190613d0d565b80519091506001600160601b038381169116146116bc5760405162461bcd60e51b815260206004820152601760248201527f504f4c4943595f50524f445543545f4d49534d4154434800000000000000000060448201526064016105c4565b604051639096a1f360e01b81526001600160601b038816600482015261173a906001600160a01b03851690639096a1f390602401602060405180830381865afa15801561170d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117319190613ebb565b60ff16600a1490565b6117865760405162461bcd60e51b815260206004820152601f60248201527f4552524f523a5052532d3032313a53544154455f4e4f545f4150504c4945440060448201526064016105c4565b6000806000806118148888878a6001600160a01b03166390af70648b6040518263ffffffff1660e01b81526004016117cd91906001600160601b0391909116815260200190565b61014060405180830381865afa1580156117eb573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061180f91906142a1565b612a7b565b93509350935093506000611826602890565b905064ffffffffff8a16156118db57606464ffffffffff8b81166101a0890181905260e08901516040516352bcc5a760e11b81526004810192909252909116602482015290915073__$d53880c81dc91c20799140d711e5ab8718$__9063a5798b4e90604401602060405180830381865af41580156118a9573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118cd9190613ed8565b64ffffffffff166101c08701525b60008b1561190e576118f28a8e8960a00151612c1c565b90508660a001518760c00181815161190a919061435f565b9052505b600360009054906101000a90046001600160a01b03166001600160a01b031663a7e0dea78b8f8887866040518663ffffffff1660e01b815260040161198c9594939291906001600160a01b039590951685526001600160601b0393841660208601529190921660408401526060830191909152608082015260a00190565b6000604051808303816000875af11580156119ab573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526119d39190810190614372565b9350896001600160a01b0316631518afb98e89856040518463ffffffff1660e01b8152600401611a0593929190613ef5565b600060405180830381600087803b158015611a1f57600080fd5b505af1158015611a33573d6000803e3d6000fd5b505060405163f0ea17c360e01b81526001600160601b03891660048201526001600160a01b038c16925063f0ea17c39150602401600060405180830381865afa158015611a84573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611aac919081019061444a565b60800151806020019051810190611ac39190614521565b60a0015115611bce576000611ae06001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03891660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa158015611b2f573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611b5791908101906145ea565b608001519050806001600160a01b031663da65659d8f8a6101000151898960400151896040518663ffffffff1660e01b8152600401611b9a9594939291906146bc565b600060405180830381600087803b158015611bb457600080fd5b505af1158015611bc8573d6000803e3d6000fd5b50505050505b50505050505050505050505050565b611be5612693565b806001600160a01b03163b600003611c1b5760405163fdeac91f60e01b81526001600160a01b03821660048201526024016105c4565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b8152630a3888e560e31b60048201526301ffc9a790602401602060405180830381865afa925050508015611c95575060408051601f3d908101601f19168201909252611c9291810190613e93565b60015b611cbd5760405163fdeac91f60e01b81526001600160a01b03821660048201526024016105c4565b80611ce65760405163fdeac91f60e01b81526001600160a01b03831660048201526024016105c4565b5050565b60008060008051602061494c83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015611d5a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611d7e9190613e93565b15611e0b576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015611de1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611e059190613c5b565b91505090565b54600160601b90046001600160a01b0316919050565b60405162461bcd60e51b815260206004820152602160248201527f4552524f523a5052532d3233353a4e4f545f5945545f494d504c454d454e54456044820152601160fa1b60648201526084016105c4565b600080611e80606e61241c565b915091506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015611ec4573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611ee89190613c5b565b60405163bd7d9d8560e01b81526001600160601b03871660048201529091506000906001600160a01b0383169063bd7d9d8590602401600060405180830381865afa158015611f3b573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611f639190810190613d0d565b90508060a001518160c0015103611fa55760c081015160405163038a855760e51b81526001600160601b038816600482015260248101919091526044016105c4565b60008160c001518260a00151611fbb919061470d565b90506000611fca858984612c1c565b9050818360c001818151611fde919061435f565b9052506003546020840151604051639babe3bf60e01b81526001600160a01b0388811660048301526001600160601b03909216602482015260448101849052911690639babe3bf90606401600060405180830381600087803b15801561204357600080fd5b505af1158015612057573d6000803e3d6000fd5b50505050846001600160a01b0316631518afb9898561207460ff90565b6040518463ffffffff1660e01b815260040161209293929190613ef5565b600060405180830381600087803b1580156120ac57600080fd5b505af11580156120c0573d6000803e3d6000fd5b5050604051638d38cd4b60e01b815264ffffffffff8a16600482015273__$d53880c81dc91c20799140d711e5ab8718$__9250638d38cd4b9150602401602060405180830381865af415801561211a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061213e9190613e93565b80156121c657506101a083015160405163790a38ad60e01b815264ffffffffff909116600482015273__$d53880c81dc91c20799140d711e5ab8718$__9063790a38ad90602401602060405180830381865af41580156121a2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906121c69190613e93565b15610f4257610f4288886111de565b6000806121ea6001546001600160a01b031690565b6001600160a01b031663d39e604360285b612203612296565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa158015612248573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115579190613c5b565b6000806122816001546001600160a01b031690565b6001600160a01b031663d39e604360466121fb565b604051632392b61b60e21b81526003600482015260009073__$9dab98ad7ae1a426029e5739f922230a41$__90638e4ad86c90602401602060405180830381865af41580156122e9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610af09190613ebb565b612315612693565b61239582836001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa158015612357573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061237b91906140c7565b603c60008560405180602001604052806000815250610ec0565b611ce6637b6a51fd60e01b610e93565b6123ad612693565b6123b681611bdd565b6123be611099565b6001600160a01b0382166123e55760405163f17ef42d60e01b815260040160405180910390fd5b5060008051602061494c83398151915280546001600160601b0316600160601b6001600160a01b0390931692909202919091179055565b612424613654565b6000806124396001546001600160a01b031690565b6040516308b09a5f60e41b81523360048201529091506001600160a01b03821690638b09a5f090602401600060405180830381865afa158015612480573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526124a891908101906145ea565b92506124be83604001518560ff90811691161490565b6125005760405162461bcd60e51b815260206004820152601360248201527213d0929150d517d516541157d2539590531251606a1b60448201526064016105c4565b60208301516040516305247a1760e51b81526001600160601b0390911660048201526000906001600160a01b0383169063a48f42e090602401600060405180830381865afa158015612556573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261257e91908101906145ea565b6080015190508092506000836001600160a01b031663e5f6cd276040518163ffffffff1660e01b8152600401602060405180830381865afa1580156125c7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906125eb9190613c5b565b6080860151604051629b7b3560e61b81526001600160a01b0391821660048201529192508216906326decd4090602401602060405180830381865afa158015612638573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061265c9190613e93565b1561268b57608085015160405163d53987e560e01b81526001600160a01b0390911660048201526024016105c4565b505050915091565b60008051602061496c83398151915254600160401b900460ff166126ca57604051631afcd79f60e31b815260040160405180910390fd5b565b6101cf612693565b60008051602061496c8339815191528054600160401b810460ff1615906001600160401b03166000811580156127075750825b90506000826001600160401b031660011480156127235750303b155b905081158015612731575080155b1561274f5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561277957845460ff60401b1916600160401b1785555b600080878060200190518101906127909190614720565b909250905061279f828a61230d565b6001546001600160a01b031663d39e6043608c6127ba612296565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa1580156127ff573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906128239190613c5b565b600280546001600160a01b0319166001600160a01b039283161790556001541663d39e604360dc612852612296565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa158015612897573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906128bb9190613c5b565b600380546001600160a01b0319166001600160a01b039283161790556001541663d39e604360d26128ea612296565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa15801561292f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906129539190613c5b565b600480546001600160a01b0319166001600160a01b039283161790556001541663d39e60436078612982612296565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa1580156129c7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906129eb9190613c5b565b600580546001600160a01b0319166001600160a01b0392909216919091179055612a1b63310e6c1960e11b610e93565b505083156111d557845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020016111cc565b6000612a748383670de0b6b3a764000061356a565b9392505050565b600080612a86613692565b60608401516020860151604051634793b4ab60e01b81526001600160601b038216600482015291945092506000906001600160a01b03881690634793b4ab90602401600060405180830381865afa158015612ae5573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052612b0d9190810190614372565b80519092506001600160601b03858116911614612b655760405162461bcd60e51b81526020600482015260166024820152750a09e989286b2be84aa9c88988abe9a92a69a82a886960531b60448201526064016105c4565b60405163f0ea17c360e01b81526001600160601b03851660048201526000906001600160a01b0389169063f0ea17c390602401600060405180830381865afa158015612bb5573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052612bdd919081019061444a565b905060008160800151806020019051810190612bf99190614521565b9050612c0d8160c001518960800151611454565b92505050945094509450949050565b60008115612a74576000612c386001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03861660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa158015612c87573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052612caf91908101906145ea565b6020015190506000856001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015612cf5573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612d199190613c5b565b60405163242bdc1960e21b81526001600160601b03841660048201526001600160a01b0391909116906390af70649060240161014060405180830381865afa158015612d69573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612d8d91906142a1565b90506000866001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015612dcf573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612df39190613c5b565b60405163bd7d9d8560e01b81526001600160601b03881660048201526001600160a01b03919091169063bd7d9d8590602401600060405180830381865afa158015612e42573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052612e6a9190810190613d0d565b60208301519091506000612e866001546001600160a01b031690565b604051631c5da14d60e11b81526001600160601b038a1660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015612ed5573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612ef99190613c5b565b90506000896001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015612f3b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612f5f9190613c5b565b606086015160405163f0ea17c360e01b81526001600160601b0390911660048201526001600160a01b03919091169063f0ea17c390602401600060405180830381865afa158015612fb4573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052612fdc919081019061444a565b6060015190506000600460009054906101000a90046001600160a01b03166001600160a01b03166370e314e888876060015188608001518960e001518a61010001518b602001518c604001516040518863ffffffff1660e01b815260040161304a979695949392919061474f565b6101e060405180830381865afa158015613068573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061308c91906147b5565b9050888160400151146130d15760408082015190516355e9883560e11b81526001600160601b038c166004820152602481018b905260448101919091526064016105c4565b60008660e0015190508160400151856001600160a01b03166321df0da76040518163ffffffff1660e01b8152600401602060405180830381865afa15801561311d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906131419190613c5b565b604051636eb1769f60e11b81526001600160a01b0387811660048301528881166024830152919091169063dd62ed3e90604401602060405180830381865afa158015613191573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906131b5919061422f565b10156131de5783858360400151604051636d675c4360e01b81526004016105c493929190614870565b846001600160a01b031663beabacc885838560e001518660600151613203919061435f565b6040518463ffffffff1660e01b815260040161322193929190614870565b600060405180830381600087803b15801561323b57600080fd5b505af115801561324f573d6000803e3d6000fd5b5050505060008c6001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015613293573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906132b79190613c5b565b6040808a01519051639ad69c6760e01b81526001600160601b0390911660048201526001600160a01b039190911690639ad69c679060240161010060405180830381865afa15801561330d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906133319190614894565b90506000816080015190506000846101c001518561014001518660c00151613359919061435f565b613363919061470d565b6040516317d5759960e31b81529091506001600160a01b0389169063beabacc890613396908a9086908690600401614870565b600060405180830381600087803b1580156133b057600080fd5b505af11580156133c4573d6000803e3d6000fd5b505060055460408d8101518d820151825163d25f509560e01b81526001600160601b0390921660048301526001600160c01b03191660248201528951604482015260208a01516064820152908901516084820152606089015160a4820152608089015160c482015260a089015160e482015260c089015161010482015260e08901516101248201526101008901516101448201526101208901516101648201526101408901516101848201526101608901516101a48201526101808901516101c48201526101a08901516101e48201526101c089015161020482015261022481018590526001600160a01b03909116925063d25f5095915061024401600060405180830381600087803b1580156134da57600080fd5b505af11580156134ee573d6000803e3d6000fd5b505086516040516317d5759960e31b81526001600160a01b038c16935063beabacc89250613523918b918b9190600401614870565b600060405180830381600087803b15801561353d57600080fd5b505af1158015613551573d6000803e3d6000fd5b505095519c505050505050505050505050509392505050565b60008080600019858709858702925082811083820303915050806000036135a45783828161359a5761359a614935565b0492505050612a74565b8084116135eb5760405162461bcd60e51b81526020600482015260156024820152744d6174683a206d756c446976206f766572666c6f7760581b60448201526064016105c4565b60008486880960026001871981018816978890046003810283188082028403028082028403028082028403028082028403028082028403029081029092039091026000889003889004909101858311909403939093029303949094049190911702949350505050565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a082019290925260c081019190915290565b60405180610120016040528060006001600160601b031681526020016136cb604051806040016040528060008152602001600081525090565b815260200160608152602001600081526020016000815260200160008152602001600064ffffffffff168152602001600064ffffffffff168152602001600064ffffffffff1681525090565b60006020828403121561372957600080fd5b81356001600160e01b031981168114612a7457600080fd5b6001600160601b03811681146102e857600080fd5b60006020828403121561376857600080fd5b8135612a7481613741565b60005b8381101561378e578181015183820152602001613776565b50506000910152565b600081518084526137af816020860160208601613773565b601f01601f19169290920160200192915050565b6020815260006001600160601b038084511660208401528060208501511660408401525060ff604084015116606083015260608301511515608083015260018060a01b0360808401511660a083015260a083015161382c60c08401826001600160a01b03169052565b5060c083015160e080840152613846610100840182613797565b949350505050565b6001600160a01b03811681146102e857600080fd5b60ff811681146102e857600080fd5b80151581146102e857600080fd5b634e487b7160e01b600052604160045260246000fd5b60405161020081016001600160401b03811182821017156138b9576138b9613880565b60405290565b60405161010081016001600160401b03811182821017156138b9576138b9613880565b60405161012081016001600160401b03811182821017156138b9576138b9613880565b60405160a081016001600160401b03811182821017156138b9576138b9613880565b60405161016081016001600160401b03811182821017156138b9576138b9613880565b60405160e081016001600160401b03811182821017156138b9576138b9613880565b6040516101e081016001600160401b03811182821017156138b9576138b9613880565b604051601f8201601f191681016001600160401b03811182821017156139b7576139b7613880565b604052919050565b60006001600160401b038211156139d8576139d8613880565b50601f01601f191660200190565b600082601f8301126139f757600080fd5b8135613a0a613a05826139bf565b61398f565b818152846020838601011115613a1f57600080fd5b816020850160208301376000918101602001919091529392505050565b60008060008060008060c08789031215613a5557600080fd5b8635613a608161384e565b95506020870135613a7081613741565b94506040870135613a8081613863565b93506060870135613a9081613872565b92506080870135613aa08161384e565b915060a08701356001600160401b03811115613abb57600080fd5b613ac789828a016139e6565b9150509295509295509295565b600060208284031215613ae657600080fd5b81356001600160401b03811115613afc57600080fd5b613846848285016139e6565b60008060408385031215613b1b57600080fd5b8235613b268161384e565b915060208301356001600160401b03811115613b4157600080fd5b613b4d858286016139e6565b9150509250929050565b64ffffffffff811681146102e857600080fd5b60008060408385031215613b7d57600080fd5b8235613b8881613741565b91506020830135613b9881613b57565b809150509250929050565b60008060408385031215613bb657600080fd5b50508035926020909101359150565b600080600060608486031215613bda57600080fd5b8335613be581613741565b92506020840135613bf581613872565b91506040840135613c0581613b57565b809150509250925092565b600060208284031215613c2257600080fd5b8135612a748161384e565b60008060408385031215613c4057600080fd5b8235613c4b8161384e565b91506020830135613b988161384e565b600060208284031215613c6d57600080fd5b8151612a748161384e565b8051613c8381613741565b919050565b80516001600160c01b031981168114613c8357600080fd5b8051613c8381613b57565b6000613cb9613a05846139bf565b9050828152838383011115613ccd57600080fd5b612a74836020830184613773565b600082601f830112613cec57600080fd5b612a7483835160208501613cab565b805161ffff81168114613c8357600080fd5b600060208284031215613d1f57600080fd5b81516001600160401b0380821115613d3657600080fd5b908301906102008286031215613d4b57600080fd5b613d53613896565b613d5c83613c78565b8152613d6a60208401613c78565b6020820152613d7b60408401613c88565b6040820152613d8c60608401613c88565b60608201526080830151608082015260a083015160a082015260c083015160c0820152613dbb60e08401613ca0565b60e08201526101008084015183811115613dd457600080fd5b613de088828701613cdb565b8284015250506101208084015183811115613dfa57600080fd5b613e0688828701613cdb565b8284015250506101409150613e1c828401613cfb565b828201526101609150613e30828401613cfb565b82820152610180915081830151828201526101a09150613e51828401613ca0565b828201526101c09150613e65828401613ca0565b828201526101e09150613e79828401613ca0565b91810191909152949350505050565b8051613c8381613872565b600060208284031215613ea557600080fd5b8151612a7481613872565b8051613c8381613863565b600060208284031215613ecd57600080fd5b8151612a7481613863565b600060208284031215613eea57600080fd5b8151612a7481613b57565b6001600160601b038416815260606020820152613f1e6060820184516001600160601b03169052565b60006020840151613f3a60808401826001600160601b03169052565b5060408401516001600160c01b0319811660a08401525060608401516001600160c01b0319811660c084015250608084015160e083015260a0840151610100818185015260c08601519150610120828186015260e08701519250610140613fa98187018564ffffffffff169052565b82880151935061020092506101608381880152613fca610260880186613797565b9450828901519250610180605f198887030181890152613fea8685613797565b9550828a015193506101a092506140068389018561ffff169052565b9089015192506101c09061401f8883018561ffff169052565b8901516101e0888101919091529189015164ffffffffff9081169488019490945288015183166102208701528701519091166102408501525060ff841660408401529050613846565b60006020828403121561407a57600080fd5b815162ffffff81168114612a7457600080fd5b600181811c908216806140a157607f821691505b6020821081036140c157634e487b7160e01b600052602260045260246000fd5b50919050565b6000602082840312156140d957600080fd5b8151612a7481613741565b601f82111561412e57600081815260208120601f850160051c8101602086101561410b5750805b601f850160051c820191505b8181101561412a57828155600101614117565b5050505b505050565b81516001600160401b0381111561414c5761414c613880565b6141608161415a845461408d565b846140e4565b602080601f831160018114614195576000841561417d5750858301515b600019600386901b1c1916600185901b17855561412a565b600085815260208120601f198616915b828110156141c4578886015182559484019460019091019084016141a5565b50858210156141e25787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6001600160401b03811681146102e857600080fd5b8051613c83816141f2565b60006020828403121561422457600080fd5b8151612a74816141f2565b60006020828403121561424157600080fd5b5051919050565b8051613c838161384e565b60006040828403121561426557600080fd5b604051604081018181106001600160401b038211171561428757614287613880565b604052825181526020928301519281019290925250919050565b600061014082840312156142b457600080fd5b6142bc6138bf565b6142c583614248565b81526142d360208401614248565b60208201526142e460408401613c78565b60408201526142f560608401613c78565b60608201526143078460808501614253565b60808201526143198460c08501614253565b60a082015261432b6101008401613e88565b60c082015261433d6101208401614248565b60e08201529392505050565b634e487b7160e01b600052601160045260246000fd5b8082018082111561155757611557614349565b60006020828403121561438457600080fd5b81516001600160401b038082111561439b57600080fd5b9083019061014082860312156143b057600080fd5b6143b86138e2565b6143c183613c78565b81526143d08660208501614253565b60208201526060830151828111156143e757600080fd5b6143f387828601613cdb565b6040830152506080830151606082015260a0830151608082015260c083015160a082015261442360e08401613ca0565b60c08201526101009150614438828401613ca0565b60e0820152613e796101208401613ca0565b60006020828403121561445c57600080fd5b81516001600160401b038082111561447357600080fd5b9083019060a0828603121561448757600080fd5b61448f613905565b82518281111561449e57600080fd5b8301601f810187136144af57600080fd5b6144be87825160208401613cab565b8252506144cd60208401614248565b60208201526144de60408401614248565b60408201526144ef60608401614248565b606082015260808301518281111561450657600080fd5b61451287828601613cdb565b60808301525095945050505050565b60006101c0828403121561453457600080fd5b61453c613927565b61454583613c78565b815261455360208401614207565b60208201526040830151604082015261456e60608401613e88565b606082015261457f60808401613e88565b608082015261459060a08401613e88565b60a082015260c083015160c082015260e083015160e08201526101006145b885828601614253565b908201526101406145cb85858301614253565b6101208301526145df856101808601614253565b908201529392505050565b6000602082840312156145fc57600080fd5b81516001600160401b038082111561461357600080fd5b9083019060e0828603121561462757600080fd5b61462f61394a565b61463883613c78565b815261464660208401613c78565b602082015261465760408401613eb0565b604082015261466860608401613e88565b606082015261467960808401614248565b608082015261468a60a08401614248565b60a082015260c0830151828111156146a157600080fd5b6146ad87828601613cdb565b60c08301525095945050505050565b60006001600160601b03808816835260a060208401526146df60a0840188613797565b818716604085015283810360608501526146f98187613797565b925050508260808301529695505050505050565b8181038181111561155757611557614349565b6000806040838503121561473357600080fd5b825161473e8161384e565b6020840151909250613b988161384e565b60006001600160601b03808a1683526001600160401b0360c01b808a16602085015288604085015264ffffffffff8816606085015260e0608085015261479860e0850188613797565b9590911660a08401529290921660c0909101525095945050505050565b60006101e082840312156147c857600080fd5b6147d061396c565b825181526020808401519082015260408084015190820152606080840151908201526080808401519082015260a0808401519082015260c0808401519082015260e08084015190820152610100808401519082015261012080840151908201526101408084015190820152610160808401519082015261018080840151908201526101a080840151908201526101c0928301519281019290925250919050565b6001600160a01b039384168152919092166020820152604081019190915260600190565b600061010082840312156148a757600080fd5b60405160c081018181106001600160401b03821117156148c9576148c9613880565b60405282516148d781613741565b815260208301516148e78161384e565b60208201526148f98460408501614253565b604082015261490b8460808501614253565b606082015260c083015161491e8161384e565b608082015260e0929092015160a083015250919050565b634e487b7160e01b600052601260045260246000fdfe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00a2646970667358221220901a3d1960436c4e8072d357d01edc16f8b989363addbec50db2d61672407b8064736f6c63430008140033",
844
+ "deployedBytecode": "0x608060405234801561001057600080fd5b50600436106101cf5760003560e01c80635fd1a5f511610104578063b68d1809116100a2578063cde749f411610071578063cde749f4146103ff578063ea86657214610407578063f21de1e814610311578063f7c34ee01461041a57600080fd5b8063b68d1809146103c7578063bbfbbfba146103dc578063caf4e3d4146103ef578063cc9fc59a146103f757600080fd5b8063675393bf116100de578063675393bf14610384578063893d20e8146103975780639ffcede91461039f578063ada9652e146103b257600080fd5b80635fd1a5f514610336578063630361f614610349578063644c45e01461035c57600080fd5b806327bb7a33116101715780633d3cf0231161014b5780633d3cf023146102da57806349bb9e4b146102eb5780634d5e16a9146102fe5780635ab1bd531461031157600080fd5b806327bb7a33146102ac578063329d6e74146102bf57806336fc697e146102d257600080fd5b80630fec111c116101ad5780630fec111c14610247578063138461e01461025c5780631eff4b2214610264578063214cdb801461029957600080fd5b806301ffc9a7146101d45780630aaba8e8146102165780630d8e6e2c1461022b575b600080fd5b6102016101e2366004613717565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b610229610224366004613756565b61042d565b005b610233610a6b565b60405162ffffff909116815260200161020d565b61024f610af5565b60405161020d91906137c3565b610229610c91565b61028b7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b60405190815260200161020d565b6102296102a7366004613717565b610e93565b6102296102ba366004613a3c565b610ec0565b6102296102cd366004613ad4565b610f4c565b610229611099565b6102296102e8366004613756565b50565b6102296102f9366004613b08565b6110df565b61022961030c366004613b6a565b6111de565b6001546001600160a01b03165b6040516001600160a01b03909116815260200161020d565b61028b610344366004613ba3565b611454565b610229610357366004613bc5565b61155d565b60008051602061494c833981519152546040516001600160601b03909116815260200161020d565b610229610392366004613c10565b611bdd565b61031e611cea565b6102296103ad366004613756565b611e21565b61028b60008051602061494c83398151915281565b60d35b60405160ff909116815260200161020d565b6102296103ea366004613b6a565b611e73565b61031e6121d5565b61031e61226c565b6103ca612296565b610229610415366004613c2d565b61230d565b610229610428366004613c2d565b6123a5565b6000610439606e61241c565b9150506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa15801561047c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104a09190613c5b565b60405163bd7d9d8560e01b81526001600160601b03851660048201529091506000906001600160a01b0383169063bd7d9d8590602401600060405180830381865afa1580156104f3573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261051b9190810190613d0d565b6101a081015160405163790a38ad60e01b815264ffffffffff909116600482015290915073__$d53880c81dc91c20799140d711e5ab8718$__9063790a38ad90602401602060405180830381865af415801561057b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061059f9190613e93565b156105cd576040516308cbe08b60e21b81526001600160601b03851660048201526024015b60405180910390fd5b604051639096a1f360e01b81526001600160601b03851660048201526000906001600160a01b03841690639096a1f390602401602060405180830381865afa15801561061d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106419190613ebb565b905060ff811660641461067b57604051634de91cf360e11b81526001600160601b038616600482015260ff821660248201526044016105c4565b6101e0820151604051638d38cd4b60e01b815264ffffffffff909116600482015273__$d53880c81dc91c20799140d711e5ab8718$__90638d38cd4b90602401602060405180830381865af41580156106d8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106fc9190613e93565b1561072557604051634b80547760e11b81526001600160601b03861660048201526024016105c4565b8160c001518260a001511461076f5760a082015160c0830151604051632b14368360e11b81526001600160601b0388166004820152602481019290925260448201526064016105c4565b61016082015161ffff16156107b35761016082015160405163a5bb07ed60e01b81526001600160601b038716600482015261ffff90911660248201526044016105c4565b73__$d53880c81dc91c20799140d711e5ab8718$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af41580156107fc573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108209190613ed8565b6101c0830151604051634a19ad8d60e11b815264ffffffffff92831660048201529116602482015273__$d53880c81dc91c20799140d711e5ab8718$__906394335b1a90604401602060405180830381865af4158015610884573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108a89190613e93565b80156108bc57508160800151826101800151105b156108f9576101c0820151604051630e79f6e160e21b81526001600160601b038716600482015264ffffffffff90911660248201526044016105c4565b73__$d53880c81dc91c20799140d711e5ab8718$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af4158015610942573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109669190613ed8565b64ffffffffff166101e0830152600354602083015160808401516040516303c5c06160e41b81526001600160a01b0388811660048301526001600160601b03808b16602484015290931660448201526064810191909152911690633c5c061090608401600060405180830381600087803b1580156109e357600080fd5b505af11580156109f7573d6000803e3d6000fd5b50505050836001600160a01b0316631518afb98684610a1460c890565b6040518463ffffffff1660e01b8152600401610a3293929190613ef5565b600060405180830381600087803b158015610a4c57600080fd5b505af1158015610a60573d6000803e3d6000fd5b505050505050505050565b604051632efe011360e01b815260036004820152600060248201819052604482018190529073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af4158015610acc573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610af09190614068565b905090565b610afd613654565b604080516080810182527f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b038116835260ff600160601b820481166020850152600160681b909104161515928201929092527f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa3018054600093916060840191610b8d9061408d565b80601f0160208091040260200160405190810160405280929190818152602001828054610bb99061408d565b8015610c065780601f10610bdb57610100808354040283529160200191610c06565b820191906000526020600020905b815481529060010190602001808311610be957829003601f168201915b50505050508152505090506040518060e00160405280610c24600090565b6001600160601b0316815260200182600001516001600160601b03168152602001826020015160ff168152602001826040015115158152602001306001600160a01b03168152602001610c75611cea565b6001600160a01b03168152602001826060015181525091505090565b600060008051602061494c83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015610d00573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d249190613e93565b15610d505780546040516301ab8b6760e21b81526001600160601b0390911660048201526024016105c4565b30610d636001546001600160a01b031690565b60405163c3c5a54760e01b81526001600160a01b038381166004830152919091169063c3c5a54790602401602060405180830381865afa158015610dab573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610dcf9190613e93565b610df75760405163b9304b0d60e01b81526001600160a01b03821660048201526024016105c4565b6001546001600160a01b0316604051636939560f60e11b81526001600160a01b038381166004830152919091169063d272ac1e90602401602060405180830381865afa158015610e4b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e6f91906140c7565b82546bffffffffffffffffffffffff19166001600160601b03919091161790915550565b610e9b612693565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b610ec8612693565b610ed282876123a5565b60007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166cffffffffffffffffffffffffff1990911617600160601b60ff8816021760ff60681b1916600160681b86151502178155905060018101610f428382614133565b5050505050505050565b73__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__63a123b37c610f6e610a6b565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af4158015610fae573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fd29190614212565b60008051602061496c8339815191528054600160401b900460ff1680611005575080546001600160401b03808416911610155b156110235760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b17815561104d836126cc565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a1505050565b6110a1612693565b6301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b60008051602061496c8339815191528054600160401b810460ff1615906001600160401b03166000811580156111125750825b90506000826001600160401b0316600114801561112e5750303b155b90508115801561113c575080155b1561115a5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561118457845460ff60401b1916600160401b1785555b61118e87876126d4565b83156111d557845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a15b50505050505050565b60006111ea606e61241c565b9150506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa15801561122d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112519190613c5b565b60405163bd7d9d8560e01b81526001600160601b03861660048201529091506000906001600160a01b0383169063bd7d9d8590602401600060405180830381865afa1580156112a4573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526112cc9190810190613d0d565b6101a081015160405163790a38ad60e01b815264ffffffffff909116600482015290915073__$d53880c81dc91c20799140d711e5ab8718$__9063790a38ad90602401602060405180830381865af415801561132c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113509190613e93565b61139c5760405162461bcd60e51b815260206004820152601f60248201527f4552524f523a5052532d3032303a414c52454144595f4143544956415445440060448201526064016105c4565b64ffffffffff8481166101a0830181905260e08301516040516352bcc5a760e11b81526004810192909252909116602482015273__$d53880c81dc91c20799140d711e5ab8718$__9063a5798b4e90604401602060405180830381865af415801561140b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061142f9190613ed8565b64ffffffffff166101c08201526001600160a01b038316631518afb986836064610a14565b6040516322f5db0f60e11b815260048101829052600090819073__$5ac3274b8cf1e01ea223bf093142af05b0$__906345ebb61e90602401602060405180830381865af41580156114a9573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114cd919061422f565b905060006114db8583612a5f565b604051632255341b60e11b81526004810182905290915073__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa683690602401602060405180830381865af415801561152e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611552919061422f565b925050505b92915050565b600080600061156a613654565b611574606e61241c565b8095508192505050836001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa1580156115ba573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115de9190613c5b565b905160405163bd7d9d8560e01b81526001600160601b038916600482015291935091506000906001600160a01b0384169063bd7d9d8590602401600060405180830381865afa158015611635573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261165d9190810190613d0d565b80519091506001600160601b038381169116146116bc5760405162461bcd60e51b815260206004820152601760248201527f504f4c4943595f50524f445543545f4d49534d4154434800000000000000000060448201526064016105c4565b604051639096a1f360e01b81526001600160601b038816600482015261173a906001600160a01b03851690639096a1f390602401602060405180830381865afa15801561170d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117319190613ebb565b60ff16600a1490565b6117865760405162461bcd60e51b815260206004820152601f60248201527f4552524f523a5052532d3032313a53544154455f4e4f545f4150504c4945440060448201526064016105c4565b6000806000806118148888878a6001600160a01b03166390af70648b6040518263ffffffff1660e01b81526004016117cd91906001600160601b0391909116815260200190565b61014060405180830381865afa1580156117eb573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061180f91906142a1565b612a7b565b93509350935093506000611826602890565b905064ffffffffff8a16156118db57606464ffffffffff8b81166101a0890181905260e08901516040516352bcc5a760e11b81526004810192909252909116602482015290915073__$d53880c81dc91c20799140d711e5ab8718$__9063a5798b4e90604401602060405180830381865af41580156118a9573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118cd9190613ed8565b64ffffffffff166101c08701525b60008b1561190e576118f28a8e8960a00151612c1c565b90508660a001518760c00181815161190a919061435f565b9052505b600360009054906101000a90046001600160a01b03166001600160a01b031663a7e0dea78b8f8887866040518663ffffffff1660e01b815260040161198c9594939291906001600160a01b039590951685526001600160601b0393841660208601529190921660408401526060830191909152608082015260a00190565b6000604051808303816000875af11580156119ab573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526119d39190810190614372565b9350896001600160a01b0316631518afb98e89856040518463ffffffff1660e01b8152600401611a0593929190613ef5565b600060405180830381600087803b158015611a1f57600080fd5b505af1158015611a33573d6000803e3d6000fd5b505060405163f0ea17c360e01b81526001600160601b03891660048201526001600160a01b038c16925063f0ea17c39150602401600060405180830381865afa158015611a84573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611aac919081019061444a565b60800151806020019051810190611ac39190614521565b60a0015115611bce576000611ae06001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03891660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa158015611b2f573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611b5791908101906145ea565b608001519050806001600160a01b031663da65659d8f8a6101000151898960400151896040518663ffffffff1660e01b8152600401611b9a9594939291906146bc565b600060405180830381600087803b158015611bb457600080fd5b505af1158015611bc8573d6000803e3d6000fd5b50505050505b50505050505050505050505050565b611be5612693565b806001600160a01b03163b600003611c1b5760405163fdeac91f60e01b81526001600160a01b03821660048201526024016105c4565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b8152630a3888e560e31b60048201526301ffc9a790602401602060405180830381865afa925050508015611c95575060408051601f3d908101601f19168201909252611c9291810190613e93565b60015b611cbd5760405163fdeac91f60e01b81526001600160a01b03821660048201526024016105c4565b80611ce65760405163fdeac91f60e01b81526001600160a01b03831660048201526024016105c4565b5050565b60008060008051602061494c83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015611d5a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611d7e9190613e93565b15611e0b576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015611de1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611e059190613c5b565b91505090565b54600160601b90046001600160a01b0316919050565b60405162461bcd60e51b815260206004820152602160248201527f4552524f523a5052532d3233353a4e4f545f5945545f494d504c454d454e54456044820152601160fa1b60648201526084016105c4565b600080611e80606e61241c565b915091506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015611ec4573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611ee89190613c5b565b60405163bd7d9d8560e01b81526001600160601b03871660048201529091506000906001600160a01b0383169063bd7d9d8590602401600060405180830381865afa158015611f3b573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611f639190810190613d0d565b90508060a001518160c0015103611fa55760c081015160405163038a855760e51b81526001600160601b038816600482015260248101919091526044016105c4565b60008160c001518260a00151611fbb919061470d565b90506000611fca858984612c1c565b9050818360c001818151611fde919061435f565b9052506003546020840151604051639babe3bf60e01b81526001600160a01b0388811660048301526001600160601b03909216602482015260448101849052911690639babe3bf90606401600060405180830381600087803b15801561204357600080fd5b505af1158015612057573d6000803e3d6000fd5b50505050846001600160a01b0316631518afb9898561207460ff90565b6040518463ffffffff1660e01b815260040161209293929190613ef5565b600060405180830381600087803b1580156120ac57600080fd5b505af11580156120c0573d6000803e3d6000fd5b5050604051638d38cd4b60e01b815264ffffffffff8a16600482015273__$d53880c81dc91c20799140d711e5ab8718$__9250638d38cd4b9150602401602060405180830381865af415801561211a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061213e9190613e93565b80156121c657506101a083015160405163790a38ad60e01b815264ffffffffff909116600482015273__$d53880c81dc91c20799140d711e5ab8718$__9063790a38ad90602401602060405180830381865af41580156121a2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906121c69190613e93565b15610f4257610f4288886111de565b6000806121ea6001546001600160a01b031690565b6001600160a01b031663d39e604360285b612203612296565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa158015612248573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115579190613c5b565b6000806122816001546001600160a01b031690565b6001600160a01b031663d39e604360466121fb565b604051632392b61b60e21b81526003600482015260009073__$9dab98ad7ae1a426029e5739f922230a41$__90638e4ad86c90602401602060405180830381865af41580156122e9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610af09190613ebb565b612315612693565b61239582836001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa158015612357573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061237b91906140c7565b603c60008560405180602001604052806000815250610ec0565b611ce6637b6a51fd60e01b610e93565b6123ad612693565b6123b681611bdd565b6123be611099565b6001600160a01b0382166123e55760405163f17ef42d60e01b815260040160405180910390fd5b5060008051602061494c83398151915280546001600160601b0316600160601b6001600160a01b0390931692909202919091179055565b612424613654565b6000806124396001546001600160a01b031690565b6040516308b09a5f60e41b81523360048201529091506001600160a01b03821690638b09a5f090602401600060405180830381865afa158015612480573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526124a891908101906145ea565b92506124be83604001518560ff90811691161490565b6125005760405162461bcd60e51b815260206004820152601360248201527213d0929150d517d516541157d2539590531251606a1b60448201526064016105c4565b60208301516040516305247a1760e51b81526001600160601b0390911660048201526000906001600160a01b0383169063a48f42e090602401600060405180830381865afa158015612556573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261257e91908101906145ea565b6080015190508092506000836001600160a01b031663e5f6cd276040518163ffffffff1660e01b8152600401602060405180830381865afa1580156125c7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906125eb9190613c5b565b6080860151604051629b7b3560e61b81526001600160a01b0391821660048201529192508216906326decd4090602401602060405180830381865afa158015612638573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061265c9190613e93565b1561268b57608085015160405163d53987e560e01b81526001600160a01b0390911660048201526024016105c4565b505050915091565b60008051602061496c83398151915254600160401b900460ff166126ca57604051631afcd79f60e31b815260040160405180910390fd5b565b6101cf612693565b60008051602061496c8339815191528054600160401b810460ff1615906001600160401b03166000811580156127075750825b90506000826001600160401b031660011480156127235750303b155b905081158015612731575080155b1561274f5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561277957845460ff60401b1916600160401b1785555b600080878060200190518101906127909190614720565b909250905061279f828a61230d565b6001546001600160a01b031663d39e6043608c6127ba612296565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa1580156127ff573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906128239190613c5b565b600280546001600160a01b0319166001600160a01b039283161790556001541663d39e604360dc612852612296565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa158015612897573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906128bb9190613c5b565b600380546001600160a01b0319166001600160a01b039283161790556001541663d39e604360d26128ea612296565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa15801561292f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906129539190613c5b565b600480546001600160a01b0319166001600160a01b039283161790556001541663d39e60436078612982612296565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa1580156129c7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906129eb9190613c5b565b600580546001600160a01b0319166001600160a01b0392909216919091179055612a1b63310e6c1960e11b610e93565b505083156111d557845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020016111cc565b6000612a748383670de0b6b3a764000061356a565b9392505050565b600080612a86613692565b60608401516020860151604051634793b4ab60e01b81526001600160601b038216600482015291945092506000906001600160a01b03881690634793b4ab90602401600060405180830381865afa158015612ae5573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052612b0d9190810190614372565b80519092506001600160601b03858116911614612b655760405162461bcd60e51b81526020600482015260166024820152750a09e989286b2be84aa9c88988abe9a92a69a82a886960531b60448201526064016105c4565b60405163f0ea17c360e01b81526001600160601b03851660048201526000906001600160a01b0389169063f0ea17c390602401600060405180830381865afa158015612bb5573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052612bdd919081019061444a565b905060008160800151806020019051810190612bf99190614521565b9050612c0d8160c001518960800151611454565b92505050945094509450949050565b60008115612a74576000612c386001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03861660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa158015612c87573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052612caf91908101906145ea565b6020015190506000856001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015612cf5573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612d199190613c5b565b60405163242bdc1960e21b81526001600160601b03841660048201526001600160a01b0391909116906390af70649060240161014060405180830381865afa158015612d69573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612d8d91906142a1565b90506000866001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015612dcf573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612df39190613c5b565b60405163bd7d9d8560e01b81526001600160601b03881660048201526001600160a01b03919091169063bd7d9d8590602401600060405180830381865afa158015612e42573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052612e6a9190810190613d0d565b60208301519091506000612e866001546001600160a01b031690565b604051631c5da14d60e11b81526001600160601b038a1660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015612ed5573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612ef99190613c5b565b90506000896001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015612f3b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612f5f9190613c5b565b606086015160405163f0ea17c360e01b81526001600160601b0390911660048201526001600160a01b03919091169063f0ea17c390602401600060405180830381865afa158015612fb4573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052612fdc919081019061444a565b6060015190506000600460009054906101000a90046001600160a01b03166001600160a01b03166370e314e888876060015188608001518960e001518a61010001518b602001518c604001516040518863ffffffff1660e01b815260040161304a979695949392919061474f565b6101e060405180830381865afa158015613068573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061308c91906147b5565b9050888160400151146130d15760408082015190516355e9883560e11b81526001600160601b038c166004820152602481018b905260448101919091526064016105c4565b60008660e0015190508160400151856001600160a01b03166321df0da76040518163ffffffff1660e01b8152600401602060405180830381865afa15801561311d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906131419190613c5b565b604051636eb1769f60e11b81526001600160a01b0387811660048301528881166024830152919091169063dd62ed3e90604401602060405180830381865afa158015613191573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906131b5919061422f565b10156131de5783858360400151604051636d675c4360e01b81526004016105c493929190614870565b846001600160a01b031663beabacc885838560e001518660600151613203919061435f565b6040518463ffffffff1660e01b815260040161322193929190614870565b600060405180830381600087803b15801561323b57600080fd5b505af115801561324f573d6000803e3d6000fd5b5050505060008c6001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015613293573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906132b79190613c5b565b6040808a01519051639ad69c6760e01b81526001600160601b0390911660048201526001600160a01b039190911690639ad69c679060240161010060405180830381865afa15801561330d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906133319190614894565b90506000816080015190506000846101c001518561014001518660c00151613359919061435f565b613363919061470d565b6040516317d5759960e31b81529091506001600160a01b0389169063beabacc890613396908a9086908690600401614870565b600060405180830381600087803b1580156133b057600080fd5b505af11580156133c4573d6000803e3d6000fd5b505060055460408d8101518d820151825163d25f509560e01b81526001600160601b0390921660048301526001600160c01b03191660248201528951604482015260208a01516064820152908901516084820152606089015160a4820152608089015160c482015260a089015160e482015260c089015161010482015260e08901516101248201526101008901516101448201526101208901516101648201526101408901516101848201526101608901516101a48201526101808901516101c48201526101a08901516101e48201526101c089015161020482015261022481018590526001600160a01b03909116925063d25f5095915061024401600060405180830381600087803b1580156134da57600080fd5b505af11580156134ee573d6000803e3d6000fd5b505086516040516317d5759960e31b81526001600160a01b038c16935063beabacc89250613523918b918b9190600401614870565b600060405180830381600087803b15801561353d57600080fd5b505af1158015613551573d6000803e3d6000fd5b505095519c505050505050505050505050509392505050565b60008080600019858709858702925082811083820303915050806000036135a45783828161359a5761359a614935565b0492505050612a74565b8084116135eb5760405162461bcd60e51b81526020600482015260156024820152744d6174683a206d756c446976206f766572666c6f7760581b60448201526064016105c4565b60008486880960026001871981018816978890046003810283188082028403028082028403028082028403028082028403028082028403029081029092039091026000889003889004909101858311909403939093029303949094049190911702949350505050565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a082019290925260c081019190915290565b60405180610120016040528060006001600160601b031681526020016136cb604051806040016040528060008152602001600081525090565b815260200160608152602001600081526020016000815260200160008152602001600064ffffffffff168152602001600064ffffffffff168152602001600064ffffffffff1681525090565b60006020828403121561372957600080fd5b81356001600160e01b031981168114612a7457600080fd5b6001600160601b03811681146102e857600080fd5b60006020828403121561376857600080fd5b8135612a7481613741565b60005b8381101561378e578181015183820152602001613776565b50506000910152565b600081518084526137af816020860160208601613773565b601f01601f19169290920160200192915050565b6020815260006001600160601b038084511660208401528060208501511660408401525060ff604084015116606083015260608301511515608083015260018060a01b0360808401511660a083015260a083015161382c60c08401826001600160a01b03169052565b5060c083015160e080840152613846610100840182613797565b949350505050565b6001600160a01b03811681146102e857600080fd5b60ff811681146102e857600080fd5b80151581146102e857600080fd5b634e487b7160e01b600052604160045260246000fd5b60405161020081016001600160401b03811182821017156138b9576138b9613880565b60405290565b60405161010081016001600160401b03811182821017156138b9576138b9613880565b60405161012081016001600160401b03811182821017156138b9576138b9613880565b60405160a081016001600160401b03811182821017156138b9576138b9613880565b60405161016081016001600160401b03811182821017156138b9576138b9613880565b60405160e081016001600160401b03811182821017156138b9576138b9613880565b6040516101e081016001600160401b03811182821017156138b9576138b9613880565b604051601f8201601f191681016001600160401b03811182821017156139b7576139b7613880565b604052919050565b60006001600160401b038211156139d8576139d8613880565b50601f01601f191660200190565b600082601f8301126139f757600080fd5b8135613a0a613a05826139bf565b61398f565b818152846020838601011115613a1f57600080fd5b816020850160208301376000918101602001919091529392505050565b60008060008060008060c08789031215613a5557600080fd5b8635613a608161384e565b95506020870135613a7081613741565b94506040870135613a8081613863565b93506060870135613a9081613872565b92506080870135613aa08161384e565b915060a08701356001600160401b03811115613abb57600080fd5b613ac789828a016139e6565b9150509295509295509295565b600060208284031215613ae657600080fd5b81356001600160401b03811115613afc57600080fd5b613846848285016139e6565b60008060408385031215613b1b57600080fd5b8235613b268161384e565b915060208301356001600160401b03811115613b4157600080fd5b613b4d858286016139e6565b9150509250929050565b64ffffffffff811681146102e857600080fd5b60008060408385031215613b7d57600080fd5b8235613b8881613741565b91506020830135613b9881613b57565b809150509250929050565b60008060408385031215613bb657600080fd5b50508035926020909101359150565b600080600060608486031215613bda57600080fd5b8335613be581613741565b92506020840135613bf581613872565b91506040840135613c0581613b57565b809150509250925092565b600060208284031215613c2257600080fd5b8135612a748161384e565b60008060408385031215613c4057600080fd5b8235613c4b8161384e565b91506020830135613b988161384e565b600060208284031215613c6d57600080fd5b8151612a748161384e565b8051613c8381613741565b919050565b80516001600160c01b031981168114613c8357600080fd5b8051613c8381613b57565b6000613cb9613a05846139bf565b9050828152838383011115613ccd57600080fd5b612a74836020830184613773565b600082601f830112613cec57600080fd5b612a7483835160208501613cab565b805161ffff81168114613c8357600080fd5b600060208284031215613d1f57600080fd5b81516001600160401b0380821115613d3657600080fd5b908301906102008286031215613d4b57600080fd5b613d53613896565b613d5c83613c78565b8152613d6a60208401613c78565b6020820152613d7b60408401613c88565b6040820152613d8c60608401613c88565b60608201526080830151608082015260a083015160a082015260c083015160c0820152613dbb60e08401613ca0565b60e08201526101008084015183811115613dd457600080fd5b613de088828701613cdb565b8284015250506101208084015183811115613dfa57600080fd5b613e0688828701613cdb565b8284015250506101409150613e1c828401613cfb565b828201526101609150613e30828401613cfb565b82820152610180915081830151828201526101a09150613e51828401613ca0565b828201526101c09150613e65828401613ca0565b828201526101e09150613e79828401613ca0565b91810191909152949350505050565b8051613c8381613872565b600060208284031215613ea557600080fd5b8151612a7481613872565b8051613c8381613863565b600060208284031215613ecd57600080fd5b8151612a7481613863565b600060208284031215613eea57600080fd5b8151612a7481613b57565b6001600160601b038416815260606020820152613f1e6060820184516001600160601b03169052565b60006020840151613f3a60808401826001600160601b03169052565b5060408401516001600160c01b0319811660a08401525060608401516001600160c01b0319811660c084015250608084015160e083015260a0840151610100818185015260c08601519150610120828186015260e08701519250610140613fa98187018564ffffffffff169052565b82880151935061020092506101608381880152613fca610260880186613797565b9450828901519250610180605f198887030181890152613fea8685613797565b9550828a015193506101a092506140068389018561ffff169052565b9089015192506101c09061401f8883018561ffff169052565b8901516101e0888101919091529189015164ffffffffff9081169488019490945288015183166102208701528701519091166102408501525060ff841660408401529050613846565b60006020828403121561407a57600080fd5b815162ffffff81168114612a7457600080fd5b600181811c908216806140a157607f821691505b6020821081036140c157634e487b7160e01b600052602260045260246000fd5b50919050565b6000602082840312156140d957600080fd5b8151612a7481613741565b601f82111561412e57600081815260208120601f850160051c8101602086101561410b5750805b601f850160051c820191505b8181101561412a57828155600101614117565b5050505b505050565b81516001600160401b0381111561414c5761414c613880565b6141608161415a845461408d565b846140e4565b602080601f831160018114614195576000841561417d5750858301515b600019600386901b1c1916600185901b17855561412a565b600085815260208120601f198616915b828110156141c4578886015182559484019460019091019084016141a5565b50858210156141e25787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6001600160401b03811681146102e857600080fd5b8051613c83816141f2565b60006020828403121561422457600080fd5b8151612a74816141f2565b60006020828403121561424157600080fd5b5051919050565b8051613c838161384e565b60006040828403121561426557600080fd5b604051604081018181106001600160401b038211171561428757614287613880565b604052825181526020928301519281019290925250919050565b600061014082840312156142b457600080fd5b6142bc6138bf565b6142c583614248565b81526142d360208401614248565b60208201526142e460408401613c78565b60408201526142f560608401613c78565b60608201526143078460808501614253565b60808201526143198460c08501614253565b60a082015261432b6101008401613e88565b60c082015261433d6101208401614248565b60e08201529392505050565b634e487b7160e01b600052601160045260246000fd5b8082018082111561155757611557614349565b60006020828403121561438457600080fd5b81516001600160401b038082111561439b57600080fd5b9083019061014082860312156143b057600080fd5b6143b86138e2565b6143c183613c78565b81526143d08660208501614253565b60208201526060830151828111156143e757600080fd5b6143f387828601613cdb565b6040830152506080830151606082015260a0830151608082015260c083015160a082015261442360e08401613ca0565b60c08201526101009150614438828401613ca0565b60e0820152613e796101208401613ca0565b60006020828403121561445c57600080fd5b81516001600160401b038082111561447357600080fd5b9083019060a0828603121561448757600080fd5b61448f613905565b82518281111561449e57600080fd5b8301601f810187136144af57600080fd5b6144be87825160208401613cab565b8252506144cd60208401614248565b60208201526144de60408401614248565b60408201526144ef60608401614248565b606082015260808301518281111561450657600080fd5b61451287828601613cdb565b60808301525095945050505050565b60006101c0828403121561453457600080fd5b61453c613927565b61454583613c78565b815261455360208401614207565b60208201526040830151604082015261456e60608401613e88565b606082015261457f60808401613e88565b608082015261459060a08401613e88565b60a082015260c083015160c082015260e083015160e08201526101006145b885828601614253565b908201526101406145cb85858301614253565b6101208301526145df856101808601614253565b908201529392505050565b6000602082840312156145fc57600080fd5b81516001600160401b038082111561461357600080fd5b9083019060e0828603121561462757600080fd5b61462f61394a565b61463883613c78565b815261464660208401613c78565b602082015261465760408401613eb0565b604082015261466860608401613e88565b606082015261467960808401614248565b608082015261468a60a08401614248565b60a082015260c0830151828111156146a157600080fd5b6146ad87828601613cdb565b60c08301525095945050505050565b60006001600160601b03808816835260a060208401526146df60a0840188613797565b818716604085015283810360608501526146f98187613797565b925050508260808301529695505050505050565b8181038181111561155757611557614349565b6000806040838503121561473357600080fd5b825161473e8161384e565b6020840151909250613b988161384e565b60006001600160601b03808a1683526001600160401b0360c01b808a16602085015288604085015264ffffffffff8816606085015260e0608085015261479860e0850188613797565b9590911660a08401529290921660c0909101525095945050505050565b60006101e082840312156147c857600080fd5b6147d061396c565b825181526020808401519082015260408084015190820152606080840151908201526080808401519082015260a0808401519082015260c0808401519082015260e08084015190820152610100808401519082015261012080840151908201526101408084015190820152610160808401519082015261018080840151908201526101a080840151908201526101c0928301519281019290925250919050565b6001600160a01b039384168152919092166020820152604081019190915260600190565b600061010082840312156148a757600080fd5b60405160c081018181106001600160401b03821117156148c9576148c9613880565b60405282516148d781613741565b815260208301516148e78161384e565b60208201526148f98460408501614253565b604082015261490b8460808501614253565b606082015260c083015161491e8161384e565b608082015260e0929092015160a083015250919050565b634e487b7160e01b600052601260045260246000fdfe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00a2646970667358221220901a3d1960436c4e8072d357d01edc16f8b989363addbec50db2d61672407b8064736f6c63430008140033",
845
+ "linkReferences": {
846
+ "contracts/types/NftId.sol": {
847
+ "NftIdLib": [
848
+ {
849
+ "length": 20,
850
+ "start": 3500
851
+ },
852
+ {
853
+ "length": 20,
854
+ "start": 7686
855
+ }
856
+ ]
857
+ },
858
+ "contracts/types/Timestamp.sol": {
859
+ "TimestampLib": [
860
+ {
861
+ "length": 20,
862
+ "start": 1575
863
+ },
864
+ {
865
+ "length": 20,
866
+ "start": 1924
867
+ },
868
+ {
869
+ "length": 20,
870
+ "start": 2203
871
+ },
872
+ {
873
+ "length": 20,
874
+ "start": 2352
875
+ },
876
+ {
877
+ "length": 20,
878
+ "start": 2529
879
+ },
880
+ {
881
+ "length": 20,
882
+ "start": 5080
883
+ },
884
+ {
885
+ "length": 20,
886
+ "start": 5303
887
+ },
888
+ {
889
+ "length": 20,
890
+ "start": 6485
891
+ },
892
+ {
893
+ "length": 20,
894
+ "start": 8644
895
+ },
896
+ {
897
+ "length": 20,
898
+ "start": 8782
899
+ }
900
+ ]
901
+ },
902
+ "contracts/types/UFixed.sol": {
903
+ "UFixedLib": [
904
+ {
905
+ "length": 20,
906
+ "start": 5461
907
+ },
908
+ {
909
+ "length": 20,
910
+ "start": 5594
911
+ }
912
+ ]
913
+ },
914
+ "contracts/types/Version.sol": {
915
+ "VersionLib": [
916
+ {
917
+ "length": 20,
918
+ "start": 2936
919
+ },
920
+ {
921
+ "length": 20,
922
+ "start": 4148
923
+ }
924
+ ],
925
+ "VersionPartLib": [
926
+ {
927
+ "length": 20,
928
+ "start": 9109
929
+ }
930
+ ]
931
+ }
932
+ },
933
+ "deployedLinkReferences": {
934
+ "contracts/types/NftId.sol": {
935
+ "NftIdLib": [
936
+ {
937
+ "length": 20,
938
+ "start": 3270
939
+ },
940
+ {
941
+ "length": 20,
942
+ "start": 7456
943
+ }
944
+ ]
945
+ },
946
+ "contracts/types/Timestamp.sol": {
947
+ "TimestampLib": [
948
+ {
949
+ "length": 20,
950
+ "start": 1345
951
+ },
952
+ {
953
+ "length": 20,
954
+ "start": 1694
955
+ },
956
+ {
957
+ "length": 20,
958
+ "start": 1973
959
+ },
960
+ {
961
+ "length": 20,
962
+ "start": 2122
963
+ },
964
+ {
965
+ "length": 20,
966
+ "start": 2299
967
+ },
968
+ {
969
+ "length": 20,
970
+ "start": 4850
971
+ },
972
+ {
973
+ "length": 20,
974
+ "start": 5073
975
+ },
976
+ {
977
+ "length": 20,
978
+ "start": 6255
979
+ },
980
+ {
981
+ "length": 20,
982
+ "start": 8414
983
+ },
984
+ {
985
+ "length": 20,
986
+ "start": 8552
987
+ }
988
+ ]
989
+ },
990
+ "contracts/types/UFixed.sol": {
991
+ "UFixedLib": [
992
+ {
993
+ "length": 20,
994
+ "start": 5231
995
+ },
996
+ {
997
+ "length": 20,
998
+ "start": 5364
999
+ }
1000
+ ]
1001
+ },
1002
+ "contracts/types/Version.sol": {
1003
+ "VersionLib": [
1004
+ {
1005
+ "length": 20,
1006
+ "start": 2706
1007
+ },
1008
+ {
1009
+ "length": 20,
1010
+ "start": 3918
1011
+ }
1012
+ ],
1013
+ "VersionPartLib": [
1014
+ {
1015
+ "length": 20,
1016
+ "start": 8879
1017
+ }
1018
+ ]
1019
+ }
1020
+ }
1021
+ }