@etherisc/gif-next 0.0.2-e5ea33d → 0.0.2-e69072e-892

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