@etherisc/gif-next 0.0.2-ce8407f-016 → 0.0.2-ceb30b2-601

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