@etherisc/gif-next 0.0.2-eb1b869-461 → 0.0.2-eb98db7-932

Sign up to get free protection for your applications and to get access to all the features.
Files changed (460) hide show
  1. package/README.md +403 -8
  2. package/artifacts/contracts/components/Component.sol/Component.dbg.json +1 -1
  3. package/artifacts/contracts/components/Component.sol/Component.json +683 -35
  4. package/artifacts/contracts/components/Distribution.sol/Distribution.dbg.json +4 -0
  5. package/artifacts/contracts/components/Distribution.sol/Distribution.json +1346 -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} +284 -223
  8. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.dbg.json +4 -0
  9. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.json +900 -0
  10. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.dbg.json +4 -0
  11. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.json +887 -0
  12. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.dbg.json +4 -0
  13. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.json +806 -0
  14. package/artifacts/contracts/components/Pool.sol/Pool.dbg.json +1 -1
  15. package/artifacts/contracts/components/Pool.sol/Pool.json +1140 -146
  16. package/artifacts/contracts/components/Product.sol/Product.dbg.json +1 -1
  17. package/artifacts/contracts/components/Product.sol/Product.json +1056 -156
  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 +1779 -774
  24. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +4 -0
  25. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +498 -0
  26. package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
  27. package/artifacts/contracts/instance/Instance.sol/Instance.json +2514 -851
  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 +1386 -0
  32. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +4 -0
  33. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +1035 -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 +541 -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/{lifecycle/ILifecycle.sol/ILifecycleModule.json → base/ILifecycle.sol/ILifecycle.json} +10 -77
  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/{component/IComponent.sol/IComponent.json → module/IDistribution.sol/IDistribution.json} +2 -2
  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/module/ISetup.sol/ISetup.json +10 -0
  60. package/artifacts/contracts/instance/module/ITreasury.sol/ITreasury.dbg.json +4 -0
  61. package/artifacts/contracts/instance/{treasury → module}/ITreasury.sol/ITreasury.json +1 -1
  62. package/artifacts/contracts/instance/service/ApplicationService.sol/ApplicationService.dbg.json +4 -0
  63. package/artifacts/contracts/instance/service/ApplicationService.sol/ApplicationService.json +858 -0
  64. package/artifacts/contracts/instance/service/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +4 -0
  65. package/artifacts/contracts/instance/service/ApplicationServiceManager.sol/ApplicationServiceManager.json +657 -0
  66. package/artifacts/contracts/instance/service/BundleService.sol/BundleService.dbg.json +4 -0
  67. package/artifacts/contracts/instance/service/BundleService.sol/BundleService.json +1085 -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 +743 -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 +1087 -0
  76. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +4 -0
  77. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.json +729 -0
  78. package/artifacts/contracts/instance/service/IApplicationService.sol/IApplicationService.dbg.json +4 -0
  79. package/artifacts/contracts/instance/service/IApplicationService.sol/IApplicationService.json +462 -0
  80. package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.dbg.json +4 -0
  81. package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.json +622 -0
  82. package/artifacts/contracts/instance/service/IClaimService.sol/IClaimService.dbg.json +4 -0
  83. package/artifacts/contracts/instance/service/IClaimService.sol/IClaimService.json +398 -0
  84. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.dbg.json +4 -0
  85. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.json +520 -0
  86. package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.dbg.json +4 -0
  87. package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.json +572 -0
  88. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.dbg.json +4 -0
  89. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.json +336 -0
  90. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.dbg.json +4 -0
  91. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.json +373 -0
  92. package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.dbg.json +4 -0
  93. package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.json +1109 -0
  94. package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +4 -0
  95. package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.json +717 -0
  96. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.dbg.json +4 -0
  97. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.json +716 -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 +766 -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 +578 -29
  108. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +4 -0
  109. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +879 -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 +651 -68
  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 +1166 -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 -66
  132. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +4 -0
  133. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +188 -0
  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/{components/IPool.sol/IPoolComponent.json → shared/IService.sol/IService.json} +120 -117
  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 +414 -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 +510 -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/ChainId.sol/ChainIdLib.dbg.json +1 -1
  178. package/artifacts/contracts/types/ClaimId.sol/ClaimIdLib.dbg.json +4 -0
  179. package/artifacts/contracts/types/ClaimId.sol/ClaimIdLib.json +100 -0
  180. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.dbg.json +4 -0
  181. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.json +104 -0
  182. package/artifacts/contracts/types/Fee.sol/FeeLib.dbg.json +4 -0
  183. package/artifacts/contracts/types/Fee.sol/FeeLib.json +257 -0
  184. package/artifacts/contracts/types/Key32.sol/Key32Lib.dbg.json +4 -0
  185. package/artifacts/contracts/types/Key32.sol/Key32Lib.json +125 -0
  186. package/artifacts/contracts/types/NftId.sol/NftIdLib.dbg.json +1 -1
  187. package/artifacts/contracts/types/NftId.sol/NftIdLib.json +65 -4
  188. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.dbg.json +4 -0
  189. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.json +33 -0
  190. package/artifacts/contracts/types/NumberId.sol/NumberIdLib.dbg.json +4 -0
  191. package/artifacts/contracts/types/NumberId.sol/NumberIdLib.json +100 -0
  192. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.dbg.json +1 -1
  193. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.json +2 -2
  194. package/artifacts/contracts/types/PayoutId.sol/PayoutIdLib.dbg.json +4 -0
  195. package/artifacts/contracts/types/PayoutId.sol/PayoutIdLib.json +100 -0
  196. package/artifacts/contracts/types/Referral.sol/ReferralLib.dbg.json +4 -0
  197. package/artifacts/contracts/types/Referral.sol/ReferralLib.json +123 -0
  198. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.dbg.json +4 -0
  199. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.json +86 -0
  200. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.dbg.json +4 -0
  201. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.json +156 -0
  202. package/artifacts/contracts/types/StateId.sol/StateIdLib.dbg.json +1 -1
  203. package/artifacts/contracts/types/StateId.sol/StateIdLib.json +2 -2
  204. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.dbg.json +1 -1
  205. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.json +77 -2
  206. package/artifacts/contracts/types/UFixed.sol/MathLib.dbg.json +4 -0
  207. package/artifacts/contracts/{experiment/types/TypeB.sol/TypeBLib.json → types/UFixed.sol/MathLib.json} +4 -4
  208. package/artifacts/contracts/types/UFixed.sol/UFixedLib.dbg.json +4 -0
  209. package/artifacts/contracts/types/UFixed.sol/UFixedLib.json +479 -0
  210. package/artifacts/contracts/types/Version.sol/VersionLib.dbg.json +4 -0
  211. package/artifacts/contracts/types/Version.sol/VersionLib.json +177 -0
  212. package/artifacts/contracts/types/Version.sol/VersionPartLib.dbg.json +4 -0
  213. package/artifacts/contracts/types/Version.sol/VersionPartLib.json +49 -0
  214. package/contracts/components/Component.sol +211 -47
  215. package/contracts/components/Distribution.sol +287 -0
  216. package/contracts/components/IComponent.sol +54 -0
  217. package/contracts/components/IDistributionComponent.sol +92 -0
  218. package/contracts/components/IPoolComponent.sol +87 -0
  219. package/contracts/components/IProductComponent.sol +39 -0
  220. package/contracts/components/Pool.sol +229 -27
  221. package/contracts/components/Product.sol +243 -47
  222. package/contracts/instance/BundleManager.sol +125 -0
  223. package/contracts/instance/Cloneable.sol +46 -0
  224. package/contracts/instance/IInstance.sol +91 -24
  225. package/contracts/instance/IInstanceService.sol +59 -0
  226. package/contracts/instance/Instance.sol +270 -51
  227. package/contracts/instance/InstanceAccessManager.sol +297 -0
  228. package/contracts/instance/InstanceReader.sol +293 -0
  229. package/contracts/instance/InstanceService.sol +476 -0
  230. package/contracts/instance/InstanceServiceManager.sol +54 -0
  231. package/contracts/instance/ObjectManager.sol +84 -0
  232. package/contracts/instance/base/ComponentService.sol +134 -0
  233. package/contracts/instance/base/IKeyValueStore.sol +49 -0
  234. package/contracts/instance/base/ILifecycle.sol +30 -0
  235. package/contracts/instance/base/KeyValueStore.sol +172 -0
  236. package/contracts/instance/base/Lifecycle.sol +100 -0
  237. package/contracts/instance/module/IAccess.sol +47 -0
  238. package/contracts/instance/module/IBundle.sol +20 -0
  239. package/contracts/instance/module/IDistribution.sol +40 -0
  240. package/contracts/instance/module/IPolicy.sol +47 -0
  241. package/contracts/instance/module/IRisk.sol +11 -0
  242. package/contracts/instance/module/ISetup.sol +48 -0
  243. package/contracts/instance/module/ITreasury.sol +23 -0
  244. package/contracts/instance/service/ApplicationService.sol +268 -0
  245. package/contracts/instance/service/ApplicationServiceManager.sol +35 -0
  246. package/contracts/instance/service/BundleService.sol +298 -0
  247. package/contracts/instance/service/BundleServiceManager.sol +51 -0
  248. package/contracts/instance/service/ClaimService.sol +151 -0
  249. package/contracts/instance/service/ClaimServiceManager.sol +35 -0
  250. package/contracts/instance/service/DistributionService.sol +346 -0
  251. package/contracts/instance/service/DistributionServiceManager.sol +51 -0
  252. package/contracts/instance/service/IApplicationService.sol +82 -0
  253. package/contracts/instance/service/IBundleService.sol +54 -0
  254. package/contracts/instance/service/IClaimService.sol +61 -0
  255. package/contracts/instance/service/IDistributionService.sol +73 -0
  256. package/contracts/instance/service/IPolicyService.sol +89 -0
  257. package/contracts/instance/service/IPoolService.sol +20 -0
  258. package/contracts/instance/service/IProductService.sol +40 -0
  259. package/contracts/instance/service/PolicyService.sol +476 -0
  260. package/contracts/instance/service/PolicyServiceManager.sol +54 -0
  261. package/contracts/instance/service/PoolService.sol +109 -0
  262. package/contracts/instance/service/PoolServiceManager.sol +51 -0
  263. package/contracts/instance/service/ProductService.sol +233 -0
  264. package/contracts/instance/service/ProductServiceManager.sol +54 -0
  265. package/contracts/registry/ChainNft.sol +129 -62
  266. package/contracts/registry/IRegistry.sol +73 -41
  267. package/contracts/registry/IRegistryService.sol +67 -0
  268. package/contracts/registry/ITransferInterceptor.sol +6 -0
  269. package/contracts/registry/Registry.sol +408 -126
  270. package/contracts/registry/RegistryAccessManager.sol +216 -0
  271. package/contracts/registry/RegistryService.sol +283 -0
  272. package/contracts/registry/RegistryServiceManager.sol +62 -0
  273. package/contracts/registry/ReleaseManager.sol +322 -0
  274. package/contracts/registry/TokenRegistry.sol +116 -0
  275. package/contracts/shared/ContractDeployerLib.sol +72 -0
  276. package/contracts/shared/ERC165.sol +27 -0
  277. package/contracts/shared/INftOwnable.sol +23 -0
  278. package/contracts/shared/IPolicyHolder.sol +26 -0
  279. package/contracts/shared/IRegisterable.sol +15 -0
  280. package/contracts/shared/IRegistryLinked.sol +12 -0
  281. package/contracts/shared/IService.sol +16 -0
  282. package/contracts/shared/IVersionable.sol +53 -0
  283. package/contracts/shared/NftOwnable.sol +120 -0
  284. package/contracts/shared/PolicyHolder.sol +81 -0
  285. package/contracts/shared/ProxyManager.sol +169 -0
  286. package/contracts/shared/Registerable.sol +74 -0
  287. package/contracts/shared/RegistryLinked.sol +48 -0
  288. package/contracts/shared/Service.sol +58 -0
  289. package/contracts/shared/TokenHandler.sol +27 -0
  290. package/contracts/shared/UpgradableProxyWithAdmin.sol +16 -0
  291. package/contracts/shared/Versionable.sol +59 -0
  292. package/contracts/test/TestFee.sol +25 -0
  293. package/contracts/test/TestRegisterable.sol +18 -0
  294. package/contracts/test/TestRoleId.sol +14 -0
  295. package/contracts/test/TestService.sol +25 -0
  296. package/contracts/{mock/Dip.sol → test/TestToken.sol} +5 -5
  297. package/contracts/test/TestVersion.sol +44 -0
  298. package/contracts/test/TestVersionable.sol +17 -0
  299. package/contracts/{mock → test}/Usdc.sol +1 -1
  300. package/contracts/types/AddressSet.sol +58 -0
  301. package/contracts/types/ClaimId.sol +52 -0
  302. package/contracts/types/DistributorType.sol +55 -0
  303. package/contracts/types/Fee.sol +44 -20
  304. package/contracts/types/Key32.sol +50 -0
  305. package/contracts/types/NftId.sol +22 -1
  306. package/contracts/types/NftIdSet.sol +62 -0
  307. package/contracts/types/NumberId.sol +52 -0
  308. package/contracts/types/ObjectType.sol +64 -15
  309. package/contracts/types/PayoutId.sol +54 -0
  310. package/contracts/types/Referral.sol +85 -0
  311. package/contracts/types/RiskId.sol +43 -0
  312. package/contracts/types/RoleId.sol +90 -0
  313. package/contracts/types/StateId.sol +18 -4
  314. package/contracts/types/Timestamp.sol +29 -4
  315. package/contracts/types/UFixed.sol +138 -23
  316. package/contracts/types/Version.sol +107 -0
  317. package/package.json +11 -5
  318. package/artifacts/contracts/components/Component.sol/InstanceLinked.dbg.json +0 -4
  319. package/artifacts/contracts/components/Component.sol/InstanceLinked.json +0 -35
  320. package/artifacts/contracts/components/IPool.sol/IPoolComponent.dbg.json +0 -4
  321. package/artifacts/contracts/components/IProduct.sol/IProductComponent.dbg.json +0 -4
  322. package/artifacts/contracts/components/IProduct.sol/IProductComponent.json +0 -74
  323. package/artifacts/contracts/experiment/errors/Require.sol/Require.dbg.json +0 -4
  324. package/artifacts/contracts/experiment/errors/Require.sol/Require.json +0 -105
  325. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.dbg.json +0 -4
  326. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.json +0 -105
  327. package/artifacts/contracts/experiment/inheritance/A.sol/A.dbg.json +0 -4
  328. package/artifacts/contracts/experiment/inheritance/A.sol/A.json +0 -128
  329. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.dbg.json +0 -4
  330. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.json +0 -42
  331. package/artifacts/contracts/experiment/inheritance/B.sol/B.dbg.json +0 -4
  332. package/artifacts/contracts/experiment/inheritance/B.sol/B.json +0 -76
  333. package/artifacts/contracts/experiment/inheritance/C.sol/C.dbg.json +0 -4
  334. package/artifacts/contracts/experiment/inheritance/C.sol/C.json +0 -89
  335. package/artifacts/contracts/experiment/inheritance/IA.sol/IA.dbg.json +0 -4
  336. package/artifacts/contracts/experiment/inheritance/IA.sol/IA.json +0 -128
  337. package/artifacts/contracts/experiment/inheritance/IA.sol/ISharedA.dbg.json +0 -4
  338. package/artifacts/contracts/experiment/inheritance/IA.sol/ISharedA.json +0 -37
  339. package/artifacts/contracts/experiment/inheritance/IB.sol/IB.dbg.json +0 -4
  340. package/artifacts/contracts/experiment/inheritance/IB.sol/IB.json +0 -50
  341. package/artifacts/contracts/experiment/inheritance/IC.sol/IC.dbg.json +0 -4
  342. package/artifacts/contracts/experiment/inheritance/IC.sol/IC.json +0 -63
  343. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.dbg.json +0 -4
  344. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.json +0 -59
  345. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.dbg.json +0 -4
  346. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.json +0 -124
  347. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.dbg.json +0 -4
  348. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.json +0 -74
  349. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.dbg.json +0 -4
  350. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.json +0 -124
  351. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.dbg.json +0 -4
  352. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.json +0 -207
  353. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.dbg.json +0 -4
  354. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.json +0 -10
  355. package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.dbg.json +0 -4
  356. package/artifacts/contracts/instance/access/Access.sol/AccessModule.dbg.json +0 -4
  357. package/artifacts/contracts/instance/access/Access.sol/AccessModule.json +0 -400
  358. package/artifacts/contracts/instance/access/IAccess.sol/IAccess.dbg.json +0 -4
  359. package/artifacts/contracts/instance/access/IAccess.sol/IAccessCheckRole.dbg.json +0 -4
  360. package/artifacts/contracts/instance/access/IAccess.sol/IAccessCheckRole.json +0 -35
  361. package/artifacts/contracts/instance/access/IAccess.sol/IAccessComponentTypeRoles.dbg.json +0 -4
  362. package/artifacts/contracts/instance/access/IAccess.sol/IAccessComponentTypeRoles.json +0 -50
  363. package/artifacts/contracts/instance/access/IAccess.sol/IAccessModule.dbg.json +0 -4
  364. package/artifacts/contracts/instance/access/IAccess.sol/IAccessModule.json +0 -336
  365. package/artifacts/contracts/instance/component/ComponentModule.sol/ComponentModule.dbg.json +0 -4
  366. package/artifacts/contracts/instance/component/ComponentModule.sol/ComponentModule.json +0 -299
  367. package/artifacts/contracts/instance/component/ComponentModule.sol/ComponentOwnerService.dbg.json +0 -4
  368. package/artifacts/contracts/instance/component/ComponentModule.sol/ComponentOwnerService.json +0 -202
  369. package/artifacts/contracts/instance/component/IComponent.sol/IComponent.dbg.json +0 -4
  370. package/artifacts/contracts/instance/component/IComponent.sol/IComponentContract.dbg.json +0 -4
  371. package/artifacts/contracts/instance/component/IComponent.sol/IComponentContract.json +0 -205
  372. package/artifacts/contracts/instance/component/IComponent.sol/IComponentModule.dbg.json +0 -4
  373. package/artifacts/contracts/instance/component/IComponent.sol/IComponentModule.json +0 -217
  374. package/artifacts/contracts/instance/component/IComponent.sol/IComponentOwnerService.dbg.json +0 -4
  375. package/artifacts/contracts/instance/component/IComponent.sol/IComponentOwnerService.json +0 -141
  376. package/artifacts/contracts/instance/component/IComponent.sol/IInstanceLinked.dbg.json +0 -4
  377. package/artifacts/contracts/instance/component/IComponent.sol/IInstanceLinked.json +0 -24
  378. package/artifacts/contracts/instance/lifecycle/ILifecycle.sol/ILifecycle.dbg.json +0 -4
  379. package/artifacts/contracts/instance/lifecycle/ILifecycle.sol/ILifecycle.json +0 -134
  380. package/artifacts/contracts/instance/lifecycle/ILifecycle.sol/ILifecycleModule.dbg.json +0 -4
  381. package/artifacts/contracts/instance/lifecycle/LifecycleModule.sol/LifecycleModule.dbg.json +0 -4
  382. package/artifacts/contracts/instance/lifecycle/LifecycleModule.sol/LifecycleModule.json +0 -221
  383. package/artifacts/contracts/instance/policy/IPolicy.sol/IPolicy.dbg.json +0 -4
  384. package/artifacts/contracts/instance/policy/IPolicy.sol/IPolicyModule.dbg.json +0 -4
  385. package/artifacts/contracts/instance/policy/IPolicy.sol/IPolicyModule.json +0 -254
  386. package/artifacts/contracts/instance/policy/PolicyModule.sol/PolicyModule.dbg.json +0 -4
  387. package/artifacts/contracts/instance/policy/PolicyModule.sol/PolicyModule.json +0 -254
  388. package/artifacts/contracts/instance/pool/IPoolModule.sol/IPool.dbg.json +0 -4
  389. package/artifacts/contracts/instance/pool/IPoolModule.sol/IPoolModule.dbg.json +0 -4
  390. package/artifacts/contracts/instance/pool/IPoolModule.sol/IPoolModule.json +0 -129
  391. package/artifacts/contracts/instance/pool/PoolModule.sol/PoolModule.dbg.json +0 -4
  392. package/artifacts/contracts/instance/pool/PoolModule.sol/PoolModule.json +0 -155
  393. package/artifacts/contracts/instance/product/IProductService.sol/IProductModule.dbg.json +0 -4
  394. package/artifacts/contracts/instance/product/IProductService.sol/IProductModule.json +0 -75
  395. package/artifacts/contracts/instance/product/IProductService.sol/IProductService.dbg.json +0 -4
  396. package/artifacts/contracts/instance/product/ProductService.sol/ProductModule.dbg.json +0 -4
  397. package/artifacts/contracts/instance/product/ProductService.sol/ProductModule.json +0 -75
  398. package/artifacts/contracts/instance/product/ProductService.sol/ProductService.dbg.json +0 -4
  399. package/artifacts/contracts/instance/product/ProductService.sol/ProductService.json +0 -196
  400. package/artifacts/contracts/instance/treasury/ITreasury.sol/ITreasury.dbg.json +0 -4
  401. package/artifacts/contracts/instance/treasury/ITreasury.sol/ITreasuryModule.dbg.json +0 -4
  402. package/artifacts/contracts/instance/treasury/ITreasury.sol/ITreasuryModule.json +0 -490
  403. package/artifacts/contracts/instance/treasury/TokenHandler.sol/TokenHandler.dbg.json +0 -4
  404. package/artifacts/contracts/instance/treasury/TokenHandler.sol/TokenHandler.json +0 -45
  405. package/artifacts/contracts/instance/treasury/TreasuryModule.sol/TreasuryModule.dbg.json +0 -4
  406. package/artifacts/contracts/instance/treasury/TreasuryModule.sol/TreasuryModule.json +0 -490
  407. package/artifacts/contracts/mock/Dip.sol/DIP.dbg.json +0 -4
  408. package/artifacts/contracts/mock/Dip.sol/DIP.json +0 -338
  409. package/artifacts/contracts/mock/TestPool.sol/TestPool.dbg.json +0 -4
  410. package/artifacts/contracts/mock/TestPool.sol/TestPool.json +0 -294
  411. package/artifacts/contracts/mock/TestProduct.sol/TestProduct.dbg.json +0 -4
  412. package/artifacts/contracts/mock/TestProduct.sol/TestProduct.json +0 -384
  413. package/artifacts/contracts/mock/Usdc.sol/USDC.dbg.json +0 -4
  414. package/artifacts/contracts/mock/Usdc.sol/USDC.json +0 -338
  415. package/artifacts/contracts/registry/IChainNft.sol/IChainNft.dbg.json +0 -4
  416. package/artifacts/contracts/registry/IRegistry.sol/IOwnable.dbg.json +0 -4
  417. package/artifacts/contracts/registry/IRegistry.sol/IOwnable.json +0 -24
  418. package/artifacts/contracts/registry/IRegistry.sol/IRegisterable.dbg.json +0 -4
  419. package/artifacts/contracts/registry/IRegistry.sol/IRegisterable.json +0 -166
  420. package/artifacts/contracts/registry/IRegistry.sol/IRegistryLinked.dbg.json +0 -4
  421. package/artifacts/contracts/registry/Registry.sol/Registerable.dbg.json +0 -4
  422. package/artifacts/contracts/registry/Registry.sol/RegistryLinked.dbg.json +0 -4
  423. package/artifacts/contracts/registry/Registry.sol/RegistryLinked.json +0 -60
  424. package/artifacts/contracts/types/UFixed.sol/UFixedMathLib.dbg.json +0 -4
  425. package/artifacts/contracts/types/UFixed.sol/UFixedMathLib.json +0 -479
  426. package/contracts/components/IPool.sol +0 -15
  427. package/contracts/components/IProduct.sol +0 -16
  428. package/contracts/experiment/errors/Require.sol +0 -38
  429. package/contracts/experiment/errors/Revert.sol +0 -44
  430. package/contracts/experiment/inheritance/A.sol +0 -53
  431. package/contracts/experiment/inheritance/B.sol +0 -28
  432. package/contracts/experiment/inheritance/C.sol +0 -34
  433. package/contracts/experiment/inheritance/IA.sol +0 -13
  434. package/contracts/experiment/inheritance/IB.sol +0 -10
  435. package/contracts/experiment/inheritance/IC.sol +0 -12
  436. package/contracts/experiment/statemachine/Dummy.sol +0 -27
  437. package/contracts/experiment/statemachine/ISM.sol +0 -25
  438. package/contracts/experiment/statemachine/README.md +0 -112
  439. package/contracts/experiment/statemachine/SM.sol +0 -57
  440. package/contracts/experiment/statemachine/SimpleStateMachine.sol +0 -31
  441. package/contracts/experiment/types/TypeA.sol +0 -47
  442. package/contracts/experiment/types/TypeB.sol +0 -29
  443. package/contracts/instance/access/Access.sol +0 -165
  444. package/contracts/instance/access/IAccess.sol +0 -63
  445. package/contracts/instance/component/ComponentModule.sol +0 -274
  446. package/contracts/instance/component/IComponent.sol +0 -74
  447. package/contracts/instance/lifecycle/ILifecycle.sol +0 -47
  448. package/contracts/instance/lifecycle/LifecycleModule.sol +0 -88
  449. package/contracts/instance/policy/IPolicy.sol +0 -50
  450. package/contracts/instance/policy/PolicyModule.sol +0 -114
  451. package/contracts/instance/pool/IPoolModule.sol +0 -23
  452. package/contracts/instance/pool/PoolModule.sol +0 -81
  453. package/contracts/instance/product/IProductService.sol +0 -36
  454. package/contracts/instance/product/ProductService.sol +0 -136
  455. package/contracts/instance/treasury/ITreasury.sol +0 -91
  456. package/contracts/instance/treasury/TokenHandler.sol +0 -24
  457. package/contracts/instance/treasury/TreasuryModule.sol +0 -168
  458. package/contracts/mock/TestPool.sol +0 -16
  459. package/contracts/mock/TestProduct.sol +0 -39
  460. package/contracts/registry/IChainNft.sol +0 -21
@@ -0,0 +1,1109 @@
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": "NftId",
250
+ "name": "nftId",
251
+ "type": "uint96"
252
+ }
253
+ ],
254
+ "name": "ErrorNftOwnableAlreadyLinked",
255
+ "type": "error"
256
+ },
257
+ {
258
+ "inputs": [
259
+ {
260
+ "internalType": "address",
261
+ "name": "contractAddress",
262
+ "type": "address"
263
+ }
264
+ ],
265
+ "name": "ErrorNftOwnableContractNotRegistered",
266
+ "type": "error"
267
+ },
268
+ {
269
+ "inputs": [],
270
+ "name": "ErrorNftOwnableInitialOwnerZero",
271
+ "type": "error"
272
+ },
273
+ {
274
+ "inputs": [
275
+ {
276
+ "internalType": "address",
277
+ "name": "account",
278
+ "type": "address"
279
+ }
280
+ ],
281
+ "name": "ErrorNftOwnableNotOwner",
282
+ "type": "error"
283
+ },
284
+ {
285
+ "inputs": [
286
+ {
287
+ "internalType": "address",
288
+ "name": "registryAddress",
289
+ "type": "address"
290
+ }
291
+ ],
292
+ "name": "ErrorNotRegistry",
293
+ "type": "error"
294
+ },
295
+ {
296
+ "inputs": [],
297
+ "name": "InvalidInitialization",
298
+ "type": "error"
299
+ },
300
+ {
301
+ "inputs": [],
302
+ "name": "NotInitializing",
303
+ "type": "error"
304
+ },
305
+ {
306
+ "anonymous": false,
307
+ "inputs": [
308
+ {
309
+ "indexed": false,
310
+ "internalType": "uint64",
311
+ "name": "version",
312
+ "type": "uint64"
313
+ }
314
+ ],
315
+ "name": "Initialized",
316
+ "type": "event"
317
+ },
318
+ {
319
+ "anonymous": false,
320
+ "inputs": [
321
+ {
322
+ "indexed": false,
323
+ "internalType": "address",
324
+ "name": "sender",
325
+ "type": "address"
326
+ }
327
+ ],
328
+ "name": "LogProductServiceSender",
329
+ "type": "event"
330
+ },
331
+ {
332
+ "inputs": [],
333
+ "name": "NFT_OWNABLE_STORAGE_LOCATION_V1",
334
+ "outputs": [
335
+ {
336
+ "internalType": "bytes32",
337
+ "name": "",
338
+ "type": "bytes32"
339
+ }
340
+ ],
341
+ "stateMutability": "view",
342
+ "type": "function"
343
+ },
344
+ {
345
+ "inputs": [],
346
+ "name": "REGISTERABLE_LOCATION_V1",
347
+ "outputs": [
348
+ {
349
+ "internalType": "bytes32",
350
+ "name": "",
351
+ "type": "bytes32"
352
+ }
353
+ ],
354
+ "stateMutability": "view",
355
+ "type": "function"
356
+ },
357
+ {
358
+ "inputs": [
359
+ {
360
+ "internalType": "NftId",
361
+ "name": "policyNftId",
362
+ "type": "uint96"
363
+ },
364
+ {
365
+ "internalType": "Timestamp",
366
+ "name": "activateAt",
367
+ "type": "uint40"
368
+ }
369
+ ],
370
+ "name": "activate",
371
+ "outputs": [],
372
+ "stateMutability": "nonpayable",
373
+ "type": "function"
374
+ },
375
+ {
376
+ "inputs": [
377
+ {
378
+ "internalType": "RiskId",
379
+ "name": "riskId",
380
+ "type": "bytes8"
381
+ },
382
+ {
383
+ "internalType": "uint256",
384
+ "name": "sumInsuredAmount",
385
+ "type": "uint256"
386
+ },
387
+ {
388
+ "internalType": "uint256",
389
+ "name": "lifetime",
390
+ "type": "uint256"
391
+ },
392
+ {
393
+ "internalType": "bytes",
394
+ "name": "applicationData",
395
+ "type": "bytes"
396
+ },
397
+ {
398
+ "internalType": "NftId",
399
+ "name": "bundleNftId",
400
+ "type": "uint96"
401
+ },
402
+ {
403
+ "internalType": "ReferralId",
404
+ "name": "referralId",
405
+ "type": "bytes8"
406
+ }
407
+ ],
408
+ "name": "calculatePremium",
409
+ "outputs": [
410
+ {
411
+ "internalType": "uint256",
412
+ "name": "premiumAmount",
413
+ "type": "uint256"
414
+ },
415
+ {
416
+ "internalType": "uint256",
417
+ "name": "productFeeAmount",
418
+ "type": "uint256"
419
+ },
420
+ {
421
+ "internalType": "uint256",
422
+ "name": "poolFeeAmount",
423
+ "type": "uint256"
424
+ },
425
+ {
426
+ "internalType": "uint256",
427
+ "name": "bundleFeeAmount",
428
+ "type": "uint256"
429
+ },
430
+ {
431
+ "internalType": "uint256",
432
+ "name": "distributionFeeAmount",
433
+ "type": "uint256"
434
+ }
435
+ ],
436
+ "stateMutability": "view",
437
+ "type": "function"
438
+ },
439
+ {
440
+ "inputs": [
441
+ {
442
+ "internalType": "UFixed",
443
+ "name": "collateralizationLevel",
444
+ "type": "uint256"
445
+ },
446
+ {
447
+ "internalType": "uint256",
448
+ "name": "sumInsuredAmount",
449
+ "type": "uint256"
450
+ }
451
+ ],
452
+ "name": "calculateRequiredCollateral",
453
+ "outputs": [
454
+ {
455
+ "internalType": "uint256",
456
+ "name": "collateralAmount",
457
+ "type": "uint256"
458
+ }
459
+ ],
460
+ "stateMutability": "pure",
461
+ "type": "function"
462
+ },
463
+ {
464
+ "inputs": [
465
+ {
466
+ "internalType": "NftId",
467
+ "name": "policyNftId",
468
+ "type": "uint96"
469
+ }
470
+ ],
471
+ "name": "close",
472
+ "outputs": [],
473
+ "stateMutability": "nonpayable",
474
+ "type": "function"
475
+ },
476
+ {
477
+ "inputs": [
478
+ {
479
+ "internalType": "NftId",
480
+ "name": "policyNftId",
481
+ "type": "uint96"
482
+ },
483
+ {
484
+ "internalType": "Timestamp",
485
+ "name": "activateAt",
486
+ "type": "uint40"
487
+ }
488
+ ],
489
+ "name": "collectPremium",
490
+ "outputs": [],
491
+ "stateMutability": "nonpayable",
492
+ "type": "function"
493
+ },
494
+ {
495
+ "inputs": [
496
+ {
497
+ "internalType": "NftId",
498
+ "name": "policyNftId",
499
+ "type": "uint96"
500
+ }
501
+ ],
502
+ "name": "decline",
503
+ "outputs": [],
504
+ "stateMutability": "nonpayable",
505
+ "type": "function"
506
+ },
507
+ {
508
+ "inputs": [
509
+ {
510
+ "internalType": "NftId",
511
+ "name": "policyNftId",
512
+ "type": "uint96"
513
+ }
514
+ ],
515
+ "name": "expire",
516
+ "outputs": [],
517
+ "stateMutability": "nonpayable",
518
+ "type": "function"
519
+ },
520
+ {
521
+ "inputs": [],
522
+ "name": "getDomain",
523
+ "outputs": [
524
+ {
525
+ "internalType": "ObjectType",
526
+ "name": "",
527
+ "type": "uint8"
528
+ }
529
+ ],
530
+ "stateMutability": "pure",
531
+ "type": "function"
532
+ },
533
+ {
534
+ "inputs": [],
535
+ "name": "getInitialInfo",
536
+ "outputs": [
537
+ {
538
+ "components": [
539
+ {
540
+ "internalType": "NftId",
541
+ "name": "nftId",
542
+ "type": "uint96"
543
+ },
544
+ {
545
+ "internalType": "NftId",
546
+ "name": "parentNftId",
547
+ "type": "uint96"
548
+ },
549
+ {
550
+ "internalType": "ObjectType",
551
+ "name": "objectType",
552
+ "type": "uint8"
553
+ },
554
+ {
555
+ "internalType": "bool",
556
+ "name": "isInterceptor",
557
+ "type": "bool"
558
+ },
559
+ {
560
+ "internalType": "address",
561
+ "name": "objectAddress",
562
+ "type": "address"
563
+ },
564
+ {
565
+ "internalType": "address",
566
+ "name": "initialOwner",
567
+ "type": "address"
568
+ },
569
+ {
570
+ "internalType": "bytes",
571
+ "name": "data",
572
+ "type": "bytes"
573
+ }
574
+ ],
575
+ "internalType": "struct IRegistry.ObjectInfo",
576
+ "name": "info",
577
+ "type": "tuple"
578
+ }
579
+ ],
580
+ "stateMutability": "view",
581
+ "type": "function"
582
+ },
583
+ {
584
+ "inputs": [],
585
+ "name": "getInstanceService",
586
+ "outputs": [
587
+ {
588
+ "internalType": "contract InstanceService",
589
+ "name": "",
590
+ "type": "address"
591
+ }
592
+ ],
593
+ "stateMutability": "view",
594
+ "type": "function"
595
+ },
596
+ {
597
+ "inputs": [],
598
+ "name": "getMajorVersion",
599
+ "outputs": [
600
+ {
601
+ "internalType": "VersionPart",
602
+ "name": "majorVersion",
603
+ "type": "uint8"
604
+ }
605
+ ],
606
+ "stateMutability": "view",
607
+ "type": "function"
608
+ },
609
+ {
610
+ "inputs": [],
611
+ "name": "getNftId",
612
+ "outputs": [
613
+ {
614
+ "internalType": "NftId",
615
+ "name": "",
616
+ "type": "uint96"
617
+ }
618
+ ],
619
+ "stateMutability": "view",
620
+ "type": "function"
621
+ },
622
+ {
623
+ "inputs": [],
624
+ "name": "getOwner",
625
+ "outputs": [
626
+ {
627
+ "internalType": "address",
628
+ "name": "",
629
+ "type": "address"
630
+ }
631
+ ],
632
+ "stateMutability": "view",
633
+ "type": "function"
634
+ },
635
+ {
636
+ "inputs": [],
637
+ "name": "getRegistry",
638
+ "outputs": [
639
+ {
640
+ "internalType": "contract IRegistry",
641
+ "name": "",
642
+ "type": "address"
643
+ }
644
+ ],
645
+ "stateMutability": "view",
646
+ "type": "function"
647
+ },
648
+ {
649
+ "inputs": [],
650
+ "name": "getRegistryAddress",
651
+ "outputs": [
652
+ {
653
+ "internalType": "address",
654
+ "name": "",
655
+ "type": "address"
656
+ }
657
+ ],
658
+ "stateMutability": "view",
659
+ "type": "function"
660
+ },
661
+ {
662
+ "inputs": [],
663
+ "name": "getRegistryService",
664
+ "outputs": [
665
+ {
666
+ "internalType": "contract IRegistryService",
667
+ "name": "",
668
+ "type": "address"
669
+ }
670
+ ],
671
+ "stateMutability": "view",
672
+ "type": "function"
673
+ },
674
+ {
675
+ "inputs": [],
676
+ "name": "getVersion",
677
+ "outputs": [
678
+ {
679
+ "internalType": "Version",
680
+ "name": "",
681
+ "type": "uint24"
682
+ }
683
+ ],
684
+ "stateMutability": "pure",
685
+ "type": "function"
686
+ },
687
+ {
688
+ "inputs": [],
689
+ "name": "initializeERC165",
690
+ "outputs": [],
691
+ "stateMutability": "nonpayable",
692
+ "type": "function"
693
+ },
694
+ {
695
+ "inputs": [
696
+ {
697
+ "internalType": "address",
698
+ "name": "initialOwner",
699
+ "type": "address"
700
+ },
701
+ {
702
+ "internalType": "address",
703
+ "name": "registryAddress",
704
+ "type": "address"
705
+ }
706
+ ],
707
+ "name": "initializeNftOwnable",
708
+ "outputs": [],
709
+ "stateMutability": "nonpayable",
710
+ "type": "function"
711
+ },
712
+ {
713
+ "inputs": [
714
+ {
715
+ "internalType": "address",
716
+ "name": "registryAddress",
717
+ "type": "address"
718
+ },
719
+ {
720
+ "internalType": "NftId",
721
+ "name": "parentNftId",
722
+ "type": "uint96"
723
+ },
724
+ {
725
+ "internalType": "ObjectType",
726
+ "name": "objectType",
727
+ "type": "uint8"
728
+ },
729
+ {
730
+ "internalType": "bool",
731
+ "name": "isInterceptor",
732
+ "type": "bool"
733
+ },
734
+ {
735
+ "internalType": "address",
736
+ "name": "initialOwner",
737
+ "type": "address"
738
+ },
739
+ {
740
+ "internalType": "bytes",
741
+ "name": "data",
742
+ "type": "bytes"
743
+ }
744
+ ],
745
+ "name": "initializeRegisterable",
746
+ "outputs": [],
747
+ "stateMutability": "nonpayable",
748
+ "type": "function"
749
+ },
750
+ {
751
+ "inputs": [
752
+ {
753
+ "internalType": "address",
754
+ "name": "registryAddress",
755
+ "type": "address"
756
+ }
757
+ ],
758
+ "name": "initializeRegistryLinked",
759
+ "outputs": [],
760
+ "stateMutability": "nonpayable",
761
+ "type": "function"
762
+ },
763
+ {
764
+ "inputs": [
765
+ {
766
+ "internalType": "address",
767
+ "name": "registry",
768
+ "type": "address"
769
+ },
770
+ {
771
+ "internalType": "address",
772
+ "name": "initialOwner",
773
+ "type": "address"
774
+ }
775
+ ],
776
+ "name": "initializeService",
777
+ "outputs": [],
778
+ "stateMutability": "nonpayable",
779
+ "type": "function"
780
+ },
781
+ {
782
+ "inputs": [
783
+ {
784
+ "internalType": "address",
785
+ "name": "activatedBy",
786
+ "type": "address"
787
+ },
788
+ {
789
+ "internalType": "bytes",
790
+ "name": "data",
791
+ "type": "bytes"
792
+ }
793
+ ],
794
+ "name": "initializeVersionable",
795
+ "outputs": [],
796
+ "stateMutability": "nonpayable",
797
+ "type": "function"
798
+ },
799
+ {
800
+ "inputs": [],
801
+ "name": "linkToRegisteredNftId",
802
+ "outputs": [],
803
+ "stateMutability": "nonpayable",
804
+ "type": "function"
805
+ },
806
+ {
807
+ "inputs": [
808
+ {
809
+ "internalType": "bytes4",
810
+ "name": "interfaceId",
811
+ "type": "bytes4"
812
+ }
813
+ ],
814
+ "name": "registerInterface",
815
+ "outputs": [],
816
+ "stateMutability": "nonpayable",
817
+ "type": "function"
818
+ },
819
+ {
820
+ "inputs": [
821
+ {
822
+ "internalType": "bytes4",
823
+ "name": "interfaceId",
824
+ "type": "bytes4"
825
+ }
826
+ ],
827
+ "name": "supportsInterface",
828
+ "outputs": [
829
+ {
830
+ "internalType": "bool",
831
+ "name": "",
832
+ "type": "bool"
833
+ }
834
+ ],
835
+ "stateMutability": "view",
836
+ "type": "function"
837
+ },
838
+ {
839
+ "inputs": [
840
+ {
841
+ "internalType": "NftId",
842
+ "name": "applicationNftId",
843
+ "type": "uint96"
844
+ },
845
+ {
846
+ "internalType": "bool",
847
+ "name": "requirePremiumPayment",
848
+ "type": "bool"
849
+ },
850
+ {
851
+ "internalType": "Timestamp",
852
+ "name": "activateAt",
853
+ "type": "uint40"
854
+ }
855
+ ],
856
+ "name": "underwrite",
857
+ "outputs": [],
858
+ "stateMutability": "nonpayable",
859
+ "type": "function"
860
+ },
861
+ {
862
+ "inputs": [
863
+ {
864
+ "internalType": "bytes",
865
+ "name": "data",
866
+ "type": "bytes"
867
+ }
868
+ ],
869
+ "name": "upgradeVersionable",
870
+ "outputs": [],
871
+ "stateMutability": "nonpayable",
872
+ "type": "function"
873
+ }
874
+ ],
875
+ "bytecode": "0x60806040523480156200001157600080fd5b506200001c62000022565b620000d6565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00805468010000000000000000900460ff1615620000735760405163f92ee8a960e01b815260040160405180910390fd5b80546001600160401b0390811614620000d35780546001600160401b0319166001600160401b0390811782556040519081527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50565b614b4780620000e66000396000f3fe608060405234801561001057600080fd5b50600436106101da5760003560e01c8063630361f611610104578063b68d1809116100a2578063cde749f411610071578063cde749f414610445578063ea8665721461044d578063f21de1e81461031c578063f7c34ee01461046057600080fd5b8063b68d18091461040d578063bbfbbfba14610422578063caf4e3d414610435578063cc9fc59a1461043d57600080fd5b8063893d20e8116100de578063893d20e8146103a25780639cdaa7f9146103aa5780639ffcede9146103e5578063ada9652e146103f857600080fd5b8063630361f614610354578063644c45e014610367578063675393bf1461038f57600080fd5b806327bb7a331161017c57806349bb9e4b1161014b57806349bb9e4b146102f65780634d5e16a9146103095780635ab1bd531461031c5780635fd1a5f51461034157600080fd5b806327bb7a33146102b7578063329d6e74146102ca57806336fc697e146102dd5780633d3cf023146102e557600080fd5b80630fec111c116101b85780630fec111c14610252578063138461e0146102675780631eff4b221461026f578063214cdb80146102a457600080fd5b806301ffc9a7146101df5780630aaba8e8146102215780630d8e6e2c14610236575b600080fd5b61020c6101ed3660046139e7565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b61023461022f366004613a26565b610473565b005b61023e610ab1565b60405162ffffff9091168152602001610218565b61025a610b3b565b6040516102189190613a93565b610234610cd7565b6102967f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b604051908152602001610218565b6102346102b23660046139e7565b610ed9565b6102346102c5366004613cbf565b610f06565b6102346102d8366004613d57565b610f92565b6102346110df565b6102346102f3366004613a26565b50565b610234610304366004613d8b565b611125565b610234610317366004613ded565b611224565b6001546001600160a01b03165b6040516001600160a01b039091168152602001610218565b61029661034f366004613e26565b611496565b610234610362366004613e48565b61159f565b600080516020614ad2833981519152546040516001600160601b039091168152602001610218565b61023461039d366004613e93565b611c00565b610329611d0d565b6103bd6103b8366004613ec6565b611e44565b604080519586526020860194909452928401919091526060830152608082015260a001610218565b6102346103f3366004613a26565b611f22565b610296600080516020614ad283398151915281565b60d35b60405160ff9091168152602001610218565b610234610430366004613ded565b611f74565b6103296122db565b610329612372565b61041061239c565b61023461045b366004613f4e565b612413565b61023461046e366004613f4e565b6124ab565b600061047f606e612522565b9150506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa1580156104c2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104e69190613f7c565b60405163bd7d9d8560e01b81526001600160601b03851660048201529091506000906001600160a01b0383169063bd7d9d8590602401600060405180830381865afa158015610539573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526105619190810190614016565b6101a081015160405163790a38ad60e01b815264ffffffffff909116600482015290915073__$d53880c81dc91c20799140d711e5ab8718$__9063790a38ad90602401602060405180830381865af41580156105c1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105e59190614195565b15610613576040516308cbe08b60e21b81526001600160601b03851660048201526024015b60405180910390fd5b604051639096a1f360e01b81526001600160601b03851660048201526000906001600160a01b03841690639096a1f390602401602060405180830381865afa158015610663573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061068791906141bd565b905060ff81166064146106c157604051634de91cf360e11b81526001600160601b038616600482015260ff8216602482015260440161060a565b6101e0820151604051638d38cd4b60e01b815264ffffffffff909116600482015273__$d53880c81dc91c20799140d711e5ab8718$__90638d38cd4b90602401602060405180830381865af415801561071e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107429190614195565b1561076b57604051634b80547760e11b81526001600160601b038616600482015260240161060a565b8160c001518260a00151146107b55760a082015160c0830151604051632b14368360e11b81526001600160601b03881660048201526024810192909252604482015260640161060a565b61016082015161ffff16156107f95761016082015160405163a5bb07ed60e01b81526001600160601b038716600482015261ffff909116602482015260440161060a565b73__$d53880c81dc91c20799140d711e5ab8718$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af4158015610842573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061086691906141da565b6101c0830151604051634a19ad8d60e11b815264ffffffffff92831660048201529116602482015273__$d53880c81dc91c20799140d711e5ab8718$__906394335b1a90604401602060405180830381865af41580156108ca573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108ee9190614195565b801561090257508160800151826101800151105b1561093f576101c0820151604051630e79f6e160e21b81526001600160601b038716600482015264ffffffffff909116602482015260440161060a565b73__$d53880c81dc91c20799140d711e5ab8718$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af4158015610988573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109ac91906141da565b64ffffffffff166101e0830152600354602083015160808401516040516303c5c06160e41b81526001600160a01b0388811660048301526001600160601b03808b16602484015290931660448201526064810191909152911690633c5c061090608401600060405180830381600087803b158015610a2957600080fd5b505af1158015610a3d573d6000803e3d6000fd5b50505050836001600160a01b0316639a960d528684610a5a60c890565b6040518463ffffffff1660e01b8152600401610a78939291906141f7565b600060405180830381600087803b158015610a9257600080fd5b505af1158015610aa6573d6000803e3d6000fd5b505050505050505050565b604051632efe011360e01b815260036004820152600060248201819052604482018190529073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af4158015610b12573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b36919061435d565b905090565b610b4361392b565b604080516080810182527f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b038116835260ff600160601b820481166020850152600160681b909104161515928201929092527f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa3018054600093916060840191610bd390614382565b80601f0160208091040260200160405190810160405280929190818152602001828054610bff90614382565b8015610c4c5780601f10610c2157610100808354040283529160200191610c4c565b820191906000526020600020905b815481529060010190602001808311610c2f57829003601f168201915b50505050508152505090506040518060e00160405280610c6a600090565b6001600160601b0316815260200182600001516001600160601b03168152602001826020015160ff168152602001826040015115158152602001306001600160a01b03168152602001610cbb611d0d565b6001600160a01b03168152602001826060015181525091505090565b6000600080516020614ad283398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015610d46573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d6a9190614195565b15610d965780546040516301ab8b6760e21b81526001600160601b03909116600482015260240161060a565b30610da96001546001600160a01b031690565b60405163c3c5a54760e01b81526001600160a01b038381166004830152919091169063c3c5a54790602401602060405180830381865afa158015610df1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e159190614195565b610e3d5760405163b9304b0d60e01b81526001600160a01b038216600482015260240161060a565b6001546001600160a01b0316604051636939560f60e11b81526001600160a01b038381166004830152919091169063d272ac1e90602401602060405180830381865afa158015610e91573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610eb591906143bc565b82546bffffffffffffffffffffffff19166001600160601b03919091161790915550565b610ee1612799565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b610f0e612799565b610f1882876124ab565b60007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166cffffffffffffffffffffffffff1990911617600160601b60ff8816021760ff60681b1916600160681b86151502178155905060018101610f888382614428565b5050505050505050565b73__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__63a123b37c610fb4610ab1565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af4158015610ff4573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061101891906144e7565b600080516020614af28339815191528054600160401b900460ff168061104b575080546001600160401b03808416911610155b156110695760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b178155611093836127d2565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a1505050565b6110e7612799565b6301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b600080516020614af28339815191528054600160401b810460ff1615906001600160401b03166000811580156111585750825b90506000826001600160401b031660011480156111745750303b155b905081158015611182575080155b156111a05760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff1916600117855583156111ca57845460ff60401b1916600160401b1785555b6111d487876127da565b831561121b57845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a15b50505050505050565b6000611230606e612522565b9150506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015611273573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112979190613f7c565b60405163bd7d9d8560e01b81526001600160601b03861660048201529091506000906001600160a01b0383169063bd7d9d8590602401600060405180830381865afa1580156112ea573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526113129190810190614016565b6101a081015160405163790a38ad60e01b815264ffffffffff909116600482015290915073__$d53880c81dc91c20799140d711e5ab8718$__9063790a38ad90602401602060405180830381865af4158015611372573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113969190614195565b6113e25760405162461bcd60e51b815260206004820152601f60248201527f4552524f523a5052532d3032303a414c52454144595f41435449564154454400604482015260640161060a565b64ffffffffff84166101a0820181905260e0820151604051631ded81af60e31b81526004810192909252602482015273__$d53880c81dc91c20799140d711e5ab8718$__9063ef6c0d7890604401602060405180830381865af415801561144d573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061147191906141da565b64ffffffffff166101c08201526001600160a01b038316639a960d5286836064610a5a565b6040516322f5db0f60e11b815260048101829052600090819073__$5ac3274b8cf1e01ea223bf093142af05b0$__906345ebb61e90602401602060405180830381865af41580156114eb573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061150f9190614510565b9050600061151d8583612a35565b604051632255341b60e11b81526004810182905290915073__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa683690602401602060405180830381865af4158015611570573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115949190614510565b925050505b92915050565b60008060006115ac61392b565b6115b6606e612522565b8095508192505050836001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa1580156115fc573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116209190613f7c565b905160405163bd7d9d8560e01b81526001600160601b038916600482015291935091506000906001600160a01b0384169063bd7d9d8590602401600060405180830381865afa158015611677573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261169f9190810190614016565b80519091506001600160601b038381169116146116fe5760405162461bcd60e51b815260206004820152601760248201527f504f4c4943595f50524f445543545f4d49534d41544348000000000000000000604482015260640161060a565b604051639096a1f360e01b81526001600160601b038816600482015261177c906001600160a01b03851690639096a1f390602401602060405180830381865afa15801561174f573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061177391906141bd565b60ff16600a1490565b6117c85760405162461bcd60e51b815260206004820152601f60248201527f4552524f523a5052532d3032313a53544154455f4e4f545f4150504c49454400604482015260640161060a565b6000806000806118568888878a6001600160a01b03166390af70648b6040518263ffffffff1660e01b815260040161180f91906001600160601b0391909116815260200190565b61024060405180830381865afa15801561182d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118519190614582565b612a51565b93509350935093506000611868602890565b905064ffffffffff8a161561191957606464ffffffffff8b166101a0880181905260e0880151604051631ded81af60e31b81526004810192909252602482015290915073__$d53880c81dc91c20799140d711e5ab8718$__9063ef6c0d7890604401602060405180830381865af41580156118e7573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061190b91906141da565b64ffffffffff166101c08701525b60008b1561194d576119318a898f8a60a00151612bd2565b90508660a001518760c001818151611949919061468f565b9052505b600360009054906101000a90046001600160a01b03166001600160a01b031663a7e0dea78b8f8887866040518663ffffffff1660e01b81526004016119cb9594939291906001600160a01b039590951685526001600160601b0393841660208601529190921660408401526060830191909152608082015260a00190565b6000604051808303816000875af11580156119ea573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611a1291908101906146a2565b9350896001600160a01b0316639a960d528e89856040518463ffffffff1660e01b8152600401611a44939291906141f7565b600060405180830381600087803b158015611a5e57600080fd5b505af1158015611a72573d6000803e3d6000fd5b50506040516355e343a960e01b81526001600160601b03891660048201526001600160a01b038c1692506355e343a991506024016101c060405180830381865afa158015611ac4573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611ae89190614773565b6080015115611bf1576000611b056001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03891660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa158015611b54573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611b7c9190810190614844565b608001519050806001600160a01b03166338f563788f8a61010001518860400151886040518563ffffffff1660e01b8152600401611bbd9493929190614916565b600060405180830381600087803b158015611bd757600080fd5b505af1158015611beb573d6000803e3d6000fd5b50505050505b50505050505050505050505050565b611c08612799565b806001600160a01b03163b600003611c3e5760405163fdeac91f60e01b81526001600160a01b038216600482015260240161060a565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b815263230c0c8160e11b60048201526301ffc9a790602401602060405180830381865afa925050508015611cb8575060408051601f3d908101601f19168201909252611cb591810190614195565b60015b611ce05760405163fdeac91f60e01b81526001600160a01b038216600482015260240161060a565b80611d095760405163fdeac91f60e01b81526001600160a01b038316600482015260240161060a565b5050565b600080600080516020614ad283398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015611d7d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611da19190614195565b15611e2e576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015611e04573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611e289190613f7c565b91505090565b54600160601b90046001600160a01b0316919050565b600080600080600080611e5561318a565b90506000816001600160a01b0316635e78426b8d8f8e8e6040518563ffffffff1660e01b8152600401611e8b949392919061495c565b602060405180830381865afa158015611ea8573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611ecc9190614510565b9050611eda81838b8b6131a9565b92985090965094509250611eee868261468f565b9650611efa848661468f565b611f04908861468f565b9650611f10838861468f565b96505050965096509650965096915050565b60405162461bcd60e51b815260206004820152602160248201527f4552524f523a5052532d3233353a4e4f545f5945545f494d504c454d454e54456044820152601160fa1b606482015260840161060a565b600080611f81606e612522565b915091506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015611fc5573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611fe99190613f7c565b60405163bd7d9d8560e01b81526001600160601b03871660048201529091506000906001600160a01b0383169063bd7d9d8590602401600060405180830381865afa15801561203c573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526120649190810190614016565b90508060a001518160c00151036120a65760c081015160405163038a855760e51b81526001600160601b0388166004820152602481019190915260440161060a565b60008160c001518260a001516120bc9190614997565b905060006120d08587600001518a85612bd2565b9050818360c0018181516120e4919061468f565b9052506003546020840151604051639babe3bf60e01b81526001600160a01b0388811660048301526001600160601b03909216602482015260448101849052911690639babe3bf90606401600060405180830381600087803b15801561214957600080fd5b505af115801561215d573d6000803e3d6000fd5b50505050846001600160a01b0316639a960d52898561217a60ff90565b6040518463ffffffff1660e01b8152600401612198939291906141f7565b600060405180830381600087803b1580156121b257600080fd5b505af11580156121c6573d6000803e3d6000fd5b5050604051638d38cd4b60e01b815264ffffffffff8a16600482015273__$d53880c81dc91c20799140d711e5ab8718$__9250638d38cd4b9150602401602060405180830381865af4158015612220573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906122449190614195565b80156122cc57506101a083015160405163790a38ad60e01b815264ffffffffff909116600482015273__$d53880c81dc91c20799140d711e5ab8718$__9063790a38ad90602401602060405180830381865af41580156122a8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906122cc9190614195565b15610f8857610f888888611224565b6000806122f06001546001600160a01b031690565b6001600160a01b031663d39e604360285b61230961239c565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa15801561234e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115999190613f7c565b6000806123876001546001600160a01b031690565b6001600160a01b031663d39e60436046612301565b604051632392b61b60e21b81526003600482015260009073__$9dab98ad7ae1a426029e5739f922230a41$__90638e4ad86c90602401602060405180830381865af41580156123ef573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b3691906141bd565b61241b612799565b61249b82836001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa15801561245d573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061248191906143bc565b603c60008560405180602001604052806000815250610f06565b611d09637b6a51fd60e01b610ed9565b6124b3612799565b6124bc81611c00565b6124c46110df565b6001600160a01b0382166124eb5760405163f17ef42d60e01b815260040160405180910390fd5b50600080516020614ad283398151915280546001600160601b0316600160601b6001600160a01b0390931692909202919091179055565b61252a61392b565b60008061253f6001546001600160a01b031690565b6040516308b09a5f60e41b81523360048201529091506001600160a01b03821690638b09a5f090602401600060405180830381865afa158015612586573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526125ae9190810190614844565b92506125c483604001518560ff90811691161490565b6126065760405162461bcd60e51b815260206004820152601360248201527213d0929150d517d516541157d2539590531251606a1b604482015260640161060a565b60208301516040516305247a1760e51b81526001600160601b0390911660048201526000906001600160a01b0383169063a48f42e090602401600060405180830381865afa15801561265c573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526126849190810190614844565b6080015190508092506000836001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156126cd573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906126f19190613f7c565b6080860151604051629b7b3560e61b81526001600160a01b0391821660048201529192508216906326decd4090602401602060405180830381865afa15801561273e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906127629190614195565b1561279157608085015160405163d53987e560e01b81526001600160a01b03909116600482015260240161060a565b505050915091565b600080516020614af283398151915254600160401b900460ff166127d057604051631afcd79f60e31b815260040160405180910390fd5b565b6101da612799565b600080516020614af28339815191528054600160401b810460ff1615906001600160401b031660008115801561280d5750825b90506000826001600160401b031660011480156128295750303b155b905081158015612837575080155b156128555760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561287f57845460ff60401b1916600160401b1785555b6000808780602001905181019061289691906149aa565b90925090506128a5828a612413565b6001546001600160a01b031663d39e6043608c6128c061239c565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa158015612905573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906129299190613f7c565b600280546001600160a01b0319166001600160a01b039283161790556001541663d39e604360dc61295861239c565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa15801561299d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906129c19190613f7c565b600380546001600160a01b0319166001600160a01b03929092169190911790556129f163fec67fcb60e01b610ed9565b5050831561121b57845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d290602001611212565b6000612a4a8383670de0b6b3a7640000613842565b9392505050565b600080612a5c613969565b60608401516020860151604051634793b4ab60e01b81526001600160601b038216600482015291945092506000906001600160a01b03881690634793b4ab90602401600060405180830381865afa158015612abb573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052612ae391908101906146a2565b80519092506001600160601b03858116911614612b3b5760405162461bcd60e51b81526020600482015260166024820152750a09e989286b2be84aa9c88988abe9a92a69a82a886960531b604482015260640161060a565b6040516355e343a960e01b81526001600160601b03851660048201526000906001600160a01b038916906355e343a9906024016101c060405180830381865afa158015612b8c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612bb09190614773565b9050612bc48160a001518860800151611496565b915050945094509450949050565b60008115613182576000856001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015612c1a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612c3e9190613f7c565b60405163242bdc1960e21b81526001600160601b03871660048201526001600160a01b0391909116906390af70649060240161024060405180830381865afa158015612c8e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612cb29190614582565b60208101519091506000612cce6001546001600160a01b031690565b604051631c5da14d60e11b81526001600160601b03881660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015612d1d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612d419190613f7c565b90506000886001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015612d83573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612da79190613f7c565b60608501516040516355e343a960e01b81526001600160601b0390911660048201526001600160a01b0391909116906355e343a9906024016101c060405180830381865afa158015612dfd573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612e219190614773565b61014081015160a08601516040516346f0526160e11b8152899850929350909173__$a23651848365a6a5ca15f07b4331037f48$__90638de0a4c290612e6b9084906004016149d9565b602060405180830381865af4158015612e88573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612eac9190614195565b15612f18576040516317d5759960e31b81526001600160a01b0386169063beabacc890612ee190879086908d906004016149f0565b600060405180830381600087803b158015612efb57600080fd5b505af1158015612f0f573d6000803e3d6000fd5b5050505061317b565b60a086015160405163012ebd8360e21b815281516004820152602090910151602482015260448101889052600090819073__$a23651848365a6a5ca15f07b4331037f48$__906304baf60c906064016040805180830381865af4158015612f83573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612fa79190614a14565b91509150600088610160015190508a886001600160a01b03166321df0da76040518163ffffffff1660e01b8152600401602060405180830381865afa158015612ff4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906130189190613f7c565b604051636eb1769f60e11b81526001600160a01b038a811660048301528b81166024830152919091169063dd62ed3e90604401602060405180830381865afa158015613068573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061308c9190614510565b10156130b15786888c604051636d675c4360e01b815260040161060a939291906149f0565b6040516317d5759960e31b81526001600160a01b0389169063beabacc8906130e1908a90859088906004016149f0565b600060405180830381600087803b1580156130fb57600080fd5b505af115801561310f573d6000803e3d6000fd5b50506040516317d5759960e31b81526001600160a01b038b16925063beabacc89150613143908a90899087906004016149f0565b600060405180830381600087803b15801561315d57600080fd5b505af1158015613171573d6000803e3d6000fd5b50939b5050505050505b5050505050505b949350505050565b600061319461392b565b61319e606e612522565b506080015192915050565b600080600080600080886001600160a01b031663de7b5d146040518163ffffffff1660e01b8152600401602060405180830381865afa1580156131f0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906132149190613f7c565b9050806001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015613254573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906132789190613f7c565b9150506000886001600160a01b0316631bdd6b766040518163ffffffff1660e01b8152600401602060405180830381865afa1580156132bb573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906132df91906143bc565b604051634793b4ab60e01b81526001600160601b038a1660048201529091506000906001600160a01b03841690634793b4ab90602401600060405180830381865afa158015613332573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261335a91908101906146a2565b80519091506001600160601b038381169116146133c45760405162461bcd60e51b815260206004820152602260248201527f4552524f523a5052532d3033353a42554e444c455f504f4f4c5f4d49534d4154604482015261086960f31b606482015260840161060a565b6000836001600160a01b03166390af70648c6001600160a01b03166251884a6040518163ffffffff1660e01b8152600401602060405180830381865afa158015613412573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061343691906143bc565b6040516001600160e01b031960e084901b1681526001600160601b03909116600482015260240161024060405180830381865afa15801561347b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061349f9190614582565b60a081015160405163012ebd8360e21b8152815160048201526020909101516024820152604481018e905290915073__$a23651848365a6a5ca15f07b4331037f48$__906304baf60c906064016040805180830381865af4158015613508573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061352c9190614a14565b506040516355e343a960e01b81526001600160601b0385166004820152909850600091506001600160a01b038516906355e343a9906024016101c060405180830381865afa158015613582573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906135a69190614773565b60e081015160405163012ebd8360e21b8152815160048201526020909101516024820152604481018e905290915073__$a23651848365a6a5ca15f07b4331037f48$__906304baf60c906064016040805180830381865af415801561360f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906136339190614a14565b50809750505060008a6001600160a01b031663db6dcc956040518163ffffffff1660e01b8152600401602060405180830381865afa158015613679573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061369d91906143bc565b604051639ad69c6760e01b81526001600160601b03821660048201529091506000906001600160a01b03861690639ad69c679060240160a060405180830381865afa1580156136f0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906137149190614a38565b604080820151905163012ebd8360e21b8152815160048201526020909101516024820152604481018f905290915073__$a23651848365a6a5ca15f07b4331037f48$__906304baf60c906064016040805180830381865af415801561377d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906137a19190614a14565b5060208481015160405163012ebd8360e21b8152815160048201529101516024820152604481018f905290965073__$a23651848365a6a5ca15f07b4331037f48$__92506304baf60c91506064016040805180830381865af415801561380b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061382f9190614a14565b5080955050505050945094509450949050565b600080806000198587098587029250828110838203039150508060000361387c5783828161387257613872614abb565b0492505050612a4a565b8084116138c35760405162461bcd60e51b81526020600482015260156024820152744d6174683a206d756c446976206f766572666c6f7760581b604482015260640161060a565b600084868809600260036001881981018916988990049182028318808302840302808302840302808302840302808302840302808302840302918202909203026000889003889004909101858311909403939093029303949094049190911702949350505050565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a082019290925260c081019190915290565b60405180610120016040528060006001600160601b031681526020016139a2604051806040016040528060008152602001600081525090565b81526020016060815260200160008152602001600081526020016000815260200160008152602001600064ffffffffff168152602001600064ffffffffff1681525090565b6000602082840312156139f957600080fd5b81356001600160e01b031981168114612a4a57600080fd5b6001600160601b03811681146102f357600080fd5b600060208284031215613a3857600080fd5b8135612a4a81613a11565b60005b83811015613a5e578181015183820152602001613a46565b50506000910152565b60008151808452613a7f816020860160208601613a43565b601f01601f19169290920160200192915050565b6020815260006001600160601b038084511660208401528060208501511660408401525060ff604084015116606083015260608301511515608083015260018060a01b0360808401511660a083015260a0830151613afc60c08401826001600160a01b03169052565b5060c083015160e080840152613182610100840182613a67565b6001600160a01b03811681146102f357600080fd5b60ff811681146102f357600080fd5b80151581146102f357600080fd5b634e487b7160e01b600052604160045260246000fd5b60405161020081016001600160401b0381118282101715613b8157613b81613b48565b60405290565b60405161018081016001600160401b0381118282101715613b8157613b81613b48565b60405161012081016001600160401b0381118282101715613b8157613b81613b48565b60405161016081016001600160401b0381118282101715613b8157613b81613b48565b60405160e081016001600160401b0381118282101715613b8157613b81613b48565b604051601f8201601f191681016001600160401b0381118282101715613c3a57613c3a613b48565b604052919050565b60006001600160401b03821115613c5b57613c5b613b48565b50601f01601f191660200190565b600082601f830112613c7a57600080fd5b8135613c8d613c8882613c42565b613c12565b818152846020838601011115613ca257600080fd5b816020850160208301376000918101602001919091529392505050565b60008060008060008060c08789031215613cd857600080fd5b8635613ce381613b16565b95506020870135613cf381613a11565b94506040870135613d0381613b2b565b93506060870135613d1381613b3a565b92506080870135613d2381613b16565b915060a08701356001600160401b03811115613d3e57600080fd5b613d4a89828a01613c69565b9150509295509295509295565b600060208284031215613d6957600080fd5b81356001600160401b03811115613d7f57600080fd5b61318284828501613c69565b60008060408385031215613d9e57600080fd5b8235613da981613b16565b915060208301356001600160401b03811115613dc457600080fd5b613dd085828601613c69565b9150509250929050565b64ffffffffff811681146102f357600080fd5b60008060408385031215613e0057600080fd5b8235613e0b81613a11565b91506020830135613e1b81613dda565b809150509250929050565b60008060408385031215613e3957600080fd5b50508035926020909101359150565b600080600060608486031215613e5d57600080fd5b8335613e6881613a11565b92506020840135613e7881613b3a565b91506040840135613e8881613dda565b809150509250925092565b600060208284031215613ea557600080fd5b8135612a4a81613b16565b6001600160c01b0319811681146102f357600080fd5b60008060008060008060c08789031215613edf57600080fd5b8635613eea81613eb0565b9550602087013594506040870135935060608701356001600160401b03811115613f1357600080fd5b613f1f89828a01613c69565b9350506080870135613f3081613a11565b915060a0870135613f4081613eb0565b809150509295509295509295565b60008060408385031215613f6157600080fd5b8235613f6c81613b16565b91506020830135613e1b81613b16565b600060208284031215613f8e57600080fd5b8151612a4a81613b16565b8051613fa481613a11565b919050565b8051613fa481613eb0565b600082601f830112613fc557600080fd5b8151613fd3613c8882613c42565b818152846020838601011115613fe857600080fd5b613182826020830160208701613a43565b805161ffff81168114613fa457600080fd5b8051613fa481613dda565b60006020828403121561402857600080fd5b81516001600160401b038082111561403f57600080fd5b90830190610200828603121561405457600080fd5b61405c613b5e565b61406583613f99565b815261407360208401613f99565b602082015261408460408401613fa9565b604082015261409560608401613fa9565b60608201526080830151608082015260a083015160a082015260c083015160c082015260e083015160e082015261010080840151838111156140d657600080fd5b6140e288828701613fb4565b82840152505061012080840151838111156140fc57600080fd5b61410888828701613fb4565b828401525050610140915061411e828401613ff9565b828201526101609150614132828401613ff9565b82820152610180915081830151828201526101a0915061415382840161400b565b828201526101c0915061416782840161400b565b828201526101e0915061417b82840161400b565b91810191909152949350505050565b8051613fa481613b3a565b6000602082840312156141a757600080fd5b8151612a4a81613b3a565b8051613fa481613b2b565b6000602082840312156141cf57600080fd5b8151612a4a81613b2b565b6000602082840312156141ec57600080fd5b8151612a4a81613dda565b6001600160601b0384168152606060208201526142206060820184516001600160601b03169052565b6000602084015161423c60808401826001600160601b03169052565b5060408401516001600160c01b0319811660a08401525060608401516001600160c01b0319811660c084015250608084015160e083015260a0840151610100818185015260c08601519150610120828186015260e087015192506101408381870152828801519350610200925061016083818801526142bf610260880186613a67565b9450828901519250610180605f1988870301818901526142df8685613a67565b9550828a015193506101a092506142fb8389018561ffff169052565b9089015192506101c0906143148883018561ffff169052565b8901516101e0888101919091529189015164ffffffffff9081169488019490945288015183166102208701528701519091166102408501525060ff841660408401529050613182565b60006020828403121561436f57600080fd5b815162ffffff81168114612a4a57600080fd5b600181811c9082168061439657607f821691505b6020821081036143b657634e487b7160e01b600052602260045260246000fd5b50919050565b6000602082840312156143ce57600080fd5b8151612a4a81613a11565b601f82111561442357600081815260208120601f850160051c810160208610156144005750805b601f850160051c820191505b8181101561441f5782815560010161440c565b5050505b505050565b81516001600160401b0381111561444157614441613b48565b6144558161444f8454614382565b846143d9565b602080601f83116001811461448a57600084156144725750858301515b600019600386901b1c1916600185901b17855561441f565b600085815260208120601f198616915b828110156144b95788860151825594840194600190910190840161449a565b50858210156144d75787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6000602082840312156144f957600080fd5b81516001600160401b0381168114612a4a57600080fd5b60006020828403121561452257600080fd5b5051919050565b8051613fa481613b16565b60006040828403121561454657600080fd5b604051604081018181106001600160401b038211171561456857614568613b48565b604052825181526020928301519281019290925250919050565b6000610240828403121561459557600080fd5b61459d613b87565b6145a683614529565b81526145b460208401614529565b60208201526145c560408401613f99565b60408201526145d660608401613f99565b60608201526145e88460808501614534565b60808201526145fa8460c08501614534565b60a082015261010061460e85828601614534565b60c083015261014061462286828701614534565b60e0840152614635866101808701614534565b82840152614647866101c08701614534565b61012084015261465a610200860161418a565b908301525061466c6102208401614529565b6101608201529392505050565b634e487b7160e01b600052601160045260246000fd5b8082018082111561159957611599614679565b6000602082840312156146b457600080fd5b81516001600160401b03808211156146cb57600080fd5b9083019061014082860312156146e057600080fd5b6146e8613baa565b6146f183613f99565b81526147008660208501614534565b602082015260608301518281111561471757600080fd5b61472387828601613fb4565b6040830152506080830151606082015260a0830151608082015260c083015160a082015260e083015160c0820152610100915061476182840161400b565b60e082015261417b610120840161400b565b60006101c0828403121561478657600080fd5b61478e613bcd565b61479783613f99565b81526147a560208401614529565b60208201526147b66040840161418a565b60408201526147c76060840161418a565b60608201526147d86080840161418a565b608082015260a083015160a082015260c083015160c08201526147fe8460e08501614534565b60e082015261012061481285828601614534565b610100830152614826856101608601614534565b908201526148376101a08401614529565b6101408201529392505050565b60006020828403121561485657600080fd5b81516001600160401b038082111561486d57600080fd5b9083019060e0828603121561488157600080fd5b614889613bf0565b61489283613f99565b81526148a060208401613f99565b60208201526148b1604084016141b2565b60408201526148c26060840161418a565b60608201526148d360808401614529565b60808201526148e460a08401614529565b60a082015260c0830151828111156148fb57600080fd5b61490787828601613fb4565b60c08301525095945050505050565b6001600160601b03851681526080602082015260006149386080830186613a67565b828103604084015261494a8186613a67565b91505082606083015295945050505050565b8481526001600160401b0360c01b8416602082015282604082015260806060820152600061498d6080830184613a67565b9695505050505050565b8181038181111561159957611599614679565b600080604083850312156149bd57600080fd5b82516149c881613b16565b6020840151909250613e1b81613b16565b815181526020808301519082015260408101611599565b6001600160a01b039384168152919092166020820152604081019190915260600190565b60008060408385031215614a2757600080fd5b505080516020909101519092909150565b600060a08284031215614a4a57600080fd5b604051608081018181106001600160401b0382111715614a6c57614a6c613b48565b6040528251614a7a81613a11565b81526020830151614a8a81613b16565b6020820152614a9c8460408501614534565b60408201526080830151614aaf81613b16565b60608201529392505050565b634e487b7160e01b600052601260045260246000fdfe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00a2646970667358221220e4816ed424462718bc6f7f4a77e10215db58d3cf2686962aff97adde4cc71fa364736f6c63430008140033",
876
+ "deployedBytecode": "0x608060405234801561001057600080fd5b50600436106101da5760003560e01c8063630361f611610104578063b68d1809116100a2578063cde749f411610071578063cde749f414610445578063ea8665721461044d578063f21de1e81461031c578063f7c34ee01461046057600080fd5b8063b68d18091461040d578063bbfbbfba14610422578063caf4e3d414610435578063cc9fc59a1461043d57600080fd5b8063893d20e8116100de578063893d20e8146103a25780639cdaa7f9146103aa5780639ffcede9146103e5578063ada9652e146103f857600080fd5b8063630361f614610354578063644c45e014610367578063675393bf1461038f57600080fd5b806327bb7a331161017c57806349bb9e4b1161014b57806349bb9e4b146102f65780634d5e16a9146103095780635ab1bd531461031c5780635fd1a5f51461034157600080fd5b806327bb7a33146102b7578063329d6e74146102ca57806336fc697e146102dd5780633d3cf023146102e557600080fd5b80630fec111c116101b85780630fec111c14610252578063138461e0146102675780631eff4b221461026f578063214cdb80146102a457600080fd5b806301ffc9a7146101df5780630aaba8e8146102215780630d8e6e2c14610236575b600080fd5b61020c6101ed3660046139e7565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b61023461022f366004613a26565b610473565b005b61023e610ab1565b60405162ffffff9091168152602001610218565b61025a610b3b565b6040516102189190613a93565b610234610cd7565b6102967f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b604051908152602001610218565b6102346102b23660046139e7565b610ed9565b6102346102c5366004613cbf565b610f06565b6102346102d8366004613d57565b610f92565b6102346110df565b6102346102f3366004613a26565b50565b610234610304366004613d8b565b611125565b610234610317366004613ded565b611224565b6001546001600160a01b03165b6040516001600160a01b039091168152602001610218565b61029661034f366004613e26565b611496565b610234610362366004613e48565b61159f565b600080516020614ad2833981519152546040516001600160601b039091168152602001610218565b61023461039d366004613e93565b611c00565b610329611d0d565b6103bd6103b8366004613ec6565b611e44565b604080519586526020860194909452928401919091526060830152608082015260a001610218565b6102346103f3366004613a26565b611f22565b610296600080516020614ad283398151915281565b60d35b60405160ff9091168152602001610218565b610234610430366004613ded565b611f74565b6103296122db565b610329612372565b61041061239c565b61023461045b366004613f4e565b612413565b61023461046e366004613f4e565b6124ab565b600061047f606e612522565b9150506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa1580156104c2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104e69190613f7c565b60405163bd7d9d8560e01b81526001600160601b03851660048201529091506000906001600160a01b0383169063bd7d9d8590602401600060405180830381865afa158015610539573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526105619190810190614016565b6101a081015160405163790a38ad60e01b815264ffffffffff909116600482015290915073__$d53880c81dc91c20799140d711e5ab8718$__9063790a38ad90602401602060405180830381865af41580156105c1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105e59190614195565b15610613576040516308cbe08b60e21b81526001600160601b03851660048201526024015b60405180910390fd5b604051639096a1f360e01b81526001600160601b03851660048201526000906001600160a01b03841690639096a1f390602401602060405180830381865afa158015610663573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061068791906141bd565b905060ff81166064146106c157604051634de91cf360e11b81526001600160601b038616600482015260ff8216602482015260440161060a565b6101e0820151604051638d38cd4b60e01b815264ffffffffff909116600482015273__$d53880c81dc91c20799140d711e5ab8718$__90638d38cd4b90602401602060405180830381865af415801561071e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107429190614195565b1561076b57604051634b80547760e11b81526001600160601b038616600482015260240161060a565b8160c001518260a00151146107b55760a082015160c0830151604051632b14368360e11b81526001600160601b03881660048201526024810192909252604482015260640161060a565b61016082015161ffff16156107f95761016082015160405163a5bb07ed60e01b81526001600160601b038716600482015261ffff909116602482015260440161060a565b73__$d53880c81dc91c20799140d711e5ab8718$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af4158015610842573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061086691906141da565b6101c0830151604051634a19ad8d60e11b815264ffffffffff92831660048201529116602482015273__$d53880c81dc91c20799140d711e5ab8718$__906394335b1a90604401602060405180830381865af41580156108ca573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108ee9190614195565b801561090257508160800151826101800151105b1561093f576101c0820151604051630e79f6e160e21b81526001600160601b038716600482015264ffffffffff909116602482015260440161060a565b73__$d53880c81dc91c20799140d711e5ab8718$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af4158015610988573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109ac91906141da565b64ffffffffff166101e0830152600354602083015160808401516040516303c5c06160e41b81526001600160a01b0388811660048301526001600160601b03808b16602484015290931660448201526064810191909152911690633c5c061090608401600060405180830381600087803b158015610a2957600080fd5b505af1158015610a3d573d6000803e3d6000fd5b50505050836001600160a01b0316639a960d528684610a5a60c890565b6040518463ffffffff1660e01b8152600401610a78939291906141f7565b600060405180830381600087803b158015610a9257600080fd5b505af1158015610aa6573d6000803e3d6000fd5b505050505050505050565b604051632efe011360e01b815260036004820152600060248201819052604482018190529073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af4158015610b12573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b36919061435d565b905090565b610b4361392b565b604080516080810182527f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b038116835260ff600160601b820481166020850152600160681b909104161515928201929092527f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa3018054600093916060840191610bd390614382565b80601f0160208091040260200160405190810160405280929190818152602001828054610bff90614382565b8015610c4c5780601f10610c2157610100808354040283529160200191610c4c565b820191906000526020600020905b815481529060010190602001808311610c2f57829003601f168201915b50505050508152505090506040518060e00160405280610c6a600090565b6001600160601b0316815260200182600001516001600160601b03168152602001826020015160ff168152602001826040015115158152602001306001600160a01b03168152602001610cbb611d0d565b6001600160a01b03168152602001826060015181525091505090565b6000600080516020614ad283398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015610d46573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d6a9190614195565b15610d965780546040516301ab8b6760e21b81526001600160601b03909116600482015260240161060a565b30610da96001546001600160a01b031690565b60405163c3c5a54760e01b81526001600160a01b038381166004830152919091169063c3c5a54790602401602060405180830381865afa158015610df1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e159190614195565b610e3d5760405163b9304b0d60e01b81526001600160a01b038216600482015260240161060a565b6001546001600160a01b0316604051636939560f60e11b81526001600160a01b038381166004830152919091169063d272ac1e90602401602060405180830381865afa158015610e91573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610eb591906143bc565b82546bffffffffffffffffffffffff19166001600160601b03919091161790915550565b610ee1612799565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b610f0e612799565b610f1882876124ab565b60007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166cffffffffffffffffffffffffff1990911617600160601b60ff8816021760ff60681b1916600160681b86151502178155905060018101610f888382614428565b5050505050505050565b73__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__63a123b37c610fb4610ab1565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af4158015610ff4573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061101891906144e7565b600080516020614af28339815191528054600160401b900460ff168061104b575080546001600160401b03808416911610155b156110695760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b178155611093836127d2565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a1505050565b6110e7612799565b6301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b600080516020614af28339815191528054600160401b810460ff1615906001600160401b03166000811580156111585750825b90506000826001600160401b031660011480156111745750303b155b905081158015611182575080155b156111a05760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff1916600117855583156111ca57845460ff60401b1916600160401b1785555b6111d487876127da565b831561121b57845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a15b50505050505050565b6000611230606e612522565b9150506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015611273573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112979190613f7c565b60405163bd7d9d8560e01b81526001600160601b03861660048201529091506000906001600160a01b0383169063bd7d9d8590602401600060405180830381865afa1580156112ea573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526113129190810190614016565b6101a081015160405163790a38ad60e01b815264ffffffffff909116600482015290915073__$d53880c81dc91c20799140d711e5ab8718$__9063790a38ad90602401602060405180830381865af4158015611372573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113969190614195565b6113e25760405162461bcd60e51b815260206004820152601f60248201527f4552524f523a5052532d3032303a414c52454144595f41435449564154454400604482015260640161060a565b64ffffffffff84166101a0820181905260e0820151604051631ded81af60e31b81526004810192909252602482015273__$d53880c81dc91c20799140d711e5ab8718$__9063ef6c0d7890604401602060405180830381865af415801561144d573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061147191906141da565b64ffffffffff166101c08201526001600160a01b038316639a960d5286836064610a5a565b6040516322f5db0f60e11b815260048101829052600090819073__$5ac3274b8cf1e01ea223bf093142af05b0$__906345ebb61e90602401602060405180830381865af41580156114eb573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061150f9190614510565b9050600061151d8583612a35565b604051632255341b60e11b81526004810182905290915073__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa683690602401602060405180830381865af4158015611570573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115949190614510565b925050505b92915050565b60008060006115ac61392b565b6115b6606e612522565b8095508192505050836001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa1580156115fc573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116209190613f7c565b905160405163bd7d9d8560e01b81526001600160601b038916600482015291935091506000906001600160a01b0384169063bd7d9d8590602401600060405180830381865afa158015611677573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261169f9190810190614016565b80519091506001600160601b038381169116146116fe5760405162461bcd60e51b815260206004820152601760248201527f504f4c4943595f50524f445543545f4d49534d41544348000000000000000000604482015260640161060a565b604051639096a1f360e01b81526001600160601b038816600482015261177c906001600160a01b03851690639096a1f390602401602060405180830381865afa15801561174f573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061177391906141bd565b60ff16600a1490565b6117c85760405162461bcd60e51b815260206004820152601f60248201527f4552524f523a5052532d3032313a53544154455f4e4f545f4150504c49454400604482015260640161060a565b6000806000806118568888878a6001600160a01b03166390af70648b6040518263ffffffff1660e01b815260040161180f91906001600160601b0391909116815260200190565b61024060405180830381865afa15801561182d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118519190614582565b612a51565b93509350935093506000611868602890565b905064ffffffffff8a161561191957606464ffffffffff8b166101a0880181905260e0880151604051631ded81af60e31b81526004810192909252602482015290915073__$d53880c81dc91c20799140d711e5ab8718$__9063ef6c0d7890604401602060405180830381865af41580156118e7573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061190b91906141da565b64ffffffffff166101c08701525b60008b1561194d576119318a898f8a60a00151612bd2565b90508660a001518760c001818151611949919061468f565b9052505b600360009054906101000a90046001600160a01b03166001600160a01b031663a7e0dea78b8f8887866040518663ffffffff1660e01b81526004016119cb9594939291906001600160a01b039590951685526001600160601b0393841660208601529190921660408401526060830191909152608082015260a00190565b6000604051808303816000875af11580156119ea573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611a1291908101906146a2565b9350896001600160a01b0316639a960d528e89856040518463ffffffff1660e01b8152600401611a44939291906141f7565b600060405180830381600087803b158015611a5e57600080fd5b505af1158015611a72573d6000803e3d6000fd5b50506040516355e343a960e01b81526001600160601b03891660048201526001600160a01b038c1692506355e343a991506024016101c060405180830381865afa158015611ac4573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611ae89190614773565b6080015115611bf1576000611b056001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03891660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa158015611b54573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611b7c9190810190614844565b608001519050806001600160a01b03166338f563788f8a61010001518860400151886040518563ffffffff1660e01b8152600401611bbd9493929190614916565b600060405180830381600087803b158015611bd757600080fd5b505af1158015611beb573d6000803e3d6000fd5b50505050505b50505050505050505050505050565b611c08612799565b806001600160a01b03163b600003611c3e5760405163fdeac91f60e01b81526001600160a01b038216600482015260240161060a565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b815263230c0c8160e11b60048201526301ffc9a790602401602060405180830381865afa925050508015611cb8575060408051601f3d908101601f19168201909252611cb591810190614195565b60015b611ce05760405163fdeac91f60e01b81526001600160a01b038216600482015260240161060a565b80611d095760405163fdeac91f60e01b81526001600160a01b038316600482015260240161060a565b5050565b600080600080516020614ad283398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015611d7d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611da19190614195565b15611e2e576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015611e04573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611e289190613f7c565b91505090565b54600160601b90046001600160a01b0316919050565b600080600080600080611e5561318a565b90506000816001600160a01b0316635e78426b8d8f8e8e6040518563ffffffff1660e01b8152600401611e8b949392919061495c565b602060405180830381865afa158015611ea8573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611ecc9190614510565b9050611eda81838b8b6131a9565b92985090965094509250611eee868261468f565b9650611efa848661468f565b611f04908861468f565b9650611f10838861468f565b96505050965096509650965096915050565b60405162461bcd60e51b815260206004820152602160248201527f4552524f523a5052532d3233353a4e4f545f5945545f494d504c454d454e54456044820152601160fa1b606482015260840161060a565b600080611f81606e612522565b915091506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015611fc5573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611fe99190613f7c565b60405163bd7d9d8560e01b81526001600160601b03871660048201529091506000906001600160a01b0383169063bd7d9d8590602401600060405180830381865afa15801561203c573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526120649190810190614016565b90508060a001518160c00151036120a65760c081015160405163038a855760e51b81526001600160601b0388166004820152602481019190915260440161060a565b60008160c001518260a001516120bc9190614997565b905060006120d08587600001518a85612bd2565b9050818360c0018181516120e4919061468f565b9052506003546020840151604051639babe3bf60e01b81526001600160a01b0388811660048301526001600160601b03909216602482015260448101849052911690639babe3bf90606401600060405180830381600087803b15801561214957600080fd5b505af115801561215d573d6000803e3d6000fd5b50505050846001600160a01b0316639a960d52898561217a60ff90565b6040518463ffffffff1660e01b8152600401612198939291906141f7565b600060405180830381600087803b1580156121b257600080fd5b505af11580156121c6573d6000803e3d6000fd5b5050604051638d38cd4b60e01b815264ffffffffff8a16600482015273__$d53880c81dc91c20799140d711e5ab8718$__9250638d38cd4b9150602401602060405180830381865af4158015612220573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906122449190614195565b80156122cc57506101a083015160405163790a38ad60e01b815264ffffffffff909116600482015273__$d53880c81dc91c20799140d711e5ab8718$__9063790a38ad90602401602060405180830381865af41580156122a8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906122cc9190614195565b15610f8857610f888888611224565b6000806122f06001546001600160a01b031690565b6001600160a01b031663d39e604360285b61230961239c565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa15801561234e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115999190613f7c565b6000806123876001546001600160a01b031690565b6001600160a01b031663d39e60436046612301565b604051632392b61b60e21b81526003600482015260009073__$9dab98ad7ae1a426029e5739f922230a41$__90638e4ad86c90602401602060405180830381865af41580156123ef573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b3691906141bd565b61241b612799565b61249b82836001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa15801561245d573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061248191906143bc565b603c60008560405180602001604052806000815250610f06565b611d09637b6a51fd60e01b610ed9565b6124b3612799565b6124bc81611c00565b6124c46110df565b6001600160a01b0382166124eb5760405163f17ef42d60e01b815260040160405180910390fd5b50600080516020614ad283398151915280546001600160601b0316600160601b6001600160a01b0390931692909202919091179055565b61252a61392b565b60008061253f6001546001600160a01b031690565b6040516308b09a5f60e41b81523360048201529091506001600160a01b03821690638b09a5f090602401600060405180830381865afa158015612586573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526125ae9190810190614844565b92506125c483604001518560ff90811691161490565b6126065760405162461bcd60e51b815260206004820152601360248201527213d0929150d517d516541157d2539590531251606a1b604482015260640161060a565b60208301516040516305247a1760e51b81526001600160601b0390911660048201526000906001600160a01b0383169063a48f42e090602401600060405180830381865afa15801561265c573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526126849190810190614844565b6080015190508092506000836001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156126cd573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906126f19190613f7c565b6080860151604051629b7b3560e61b81526001600160a01b0391821660048201529192508216906326decd4090602401602060405180830381865afa15801561273e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906127629190614195565b1561279157608085015160405163d53987e560e01b81526001600160a01b03909116600482015260240161060a565b505050915091565b600080516020614af283398151915254600160401b900460ff166127d057604051631afcd79f60e31b815260040160405180910390fd5b565b6101da612799565b600080516020614af28339815191528054600160401b810460ff1615906001600160401b031660008115801561280d5750825b90506000826001600160401b031660011480156128295750303b155b905081158015612837575080155b156128555760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561287f57845460ff60401b1916600160401b1785555b6000808780602001905181019061289691906149aa565b90925090506128a5828a612413565b6001546001600160a01b031663d39e6043608c6128c061239c565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa158015612905573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906129299190613f7c565b600280546001600160a01b0319166001600160a01b039283161790556001541663d39e604360dc61295861239c565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa15801561299d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906129c19190613f7c565b600380546001600160a01b0319166001600160a01b03929092169190911790556129f163fec67fcb60e01b610ed9565b5050831561121b57845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d290602001611212565b6000612a4a8383670de0b6b3a7640000613842565b9392505050565b600080612a5c613969565b60608401516020860151604051634793b4ab60e01b81526001600160601b038216600482015291945092506000906001600160a01b03881690634793b4ab90602401600060405180830381865afa158015612abb573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052612ae391908101906146a2565b80519092506001600160601b03858116911614612b3b5760405162461bcd60e51b81526020600482015260166024820152750a09e989286b2be84aa9c88988abe9a92a69a82a886960531b604482015260640161060a565b6040516355e343a960e01b81526001600160601b03851660048201526000906001600160a01b038916906355e343a9906024016101c060405180830381865afa158015612b8c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612bb09190614773565b9050612bc48160a001518860800151611496565b915050945094509450949050565b60008115613182576000856001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015612c1a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612c3e9190613f7c565b60405163242bdc1960e21b81526001600160601b03871660048201526001600160a01b0391909116906390af70649060240161024060405180830381865afa158015612c8e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612cb29190614582565b60208101519091506000612cce6001546001600160a01b031690565b604051631c5da14d60e11b81526001600160601b03881660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015612d1d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612d419190613f7c565b90506000886001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015612d83573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612da79190613f7c565b60608501516040516355e343a960e01b81526001600160601b0390911660048201526001600160a01b0391909116906355e343a9906024016101c060405180830381865afa158015612dfd573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612e219190614773565b61014081015160a08601516040516346f0526160e11b8152899850929350909173__$a23651848365a6a5ca15f07b4331037f48$__90638de0a4c290612e6b9084906004016149d9565b602060405180830381865af4158015612e88573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612eac9190614195565b15612f18576040516317d5759960e31b81526001600160a01b0386169063beabacc890612ee190879086908d906004016149f0565b600060405180830381600087803b158015612efb57600080fd5b505af1158015612f0f573d6000803e3d6000fd5b5050505061317b565b60a086015160405163012ebd8360e21b815281516004820152602090910151602482015260448101889052600090819073__$a23651848365a6a5ca15f07b4331037f48$__906304baf60c906064016040805180830381865af4158015612f83573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612fa79190614a14565b91509150600088610160015190508a886001600160a01b03166321df0da76040518163ffffffff1660e01b8152600401602060405180830381865afa158015612ff4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906130189190613f7c565b604051636eb1769f60e11b81526001600160a01b038a811660048301528b81166024830152919091169063dd62ed3e90604401602060405180830381865afa158015613068573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061308c9190614510565b10156130b15786888c604051636d675c4360e01b815260040161060a939291906149f0565b6040516317d5759960e31b81526001600160a01b0389169063beabacc8906130e1908a90859088906004016149f0565b600060405180830381600087803b1580156130fb57600080fd5b505af115801561310f573d6000803e3d6000fd5b50506040516317d5759960e31b81526001600160a01b038b16925063beabacc89150613143908a90899087906004016149f0565b600060405180830381600087803b15801561315d57600080fd5b505af1158015613171573d6000803e3d6000fd5b50939b5050505050505b5050505050505b949350505050565b600061319461392b565b61319e606e612522565b506080015192915050565b600080600080600080886001600160a01b031663de7b5d146040518163ffffffff1660e01b8152600401602060405180830381865afa1580156131f0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906132149190613f7c565b9050806001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015613254573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906132789190613f7c565b9150506000886001600160a01b0316631bdd6b766040518163ffffffff1660e01b8152600401602060405180830381865afa1580156132bb573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906132df91906143bc565b604051634793b4ab60e01b81526001600160601b038a1660048201529091506000906001600160a01b03841690634793b4ab90602401600060405180830381865afa158015613332573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261335a91908101906146a2565b80519091506001600160601b038381169116146133c45760405162461bcd60e51b815260206004820152602260248201527f4552524f523a5052532d3033353a42554e444c455f504f4f4c5f4d49534d4154604482015261086960f31b606482015260840161060a565b6000836001600160a01b03166390af70648c6001600160a01b03166251884a6040518163ffffffff1660e01b8152600401602060405180830381865afa158015613412573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061343691906143bc565b6040516001600160e01b031960e084901b1681526001600160601b03909116600482015260240161024060405180830381865afa15801561347b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061349f9190614582565b60a081015160405163012ebd8360e21b8152815160048201526020909101516024820152604481018e905290915073__$a23651848365a6a5ca15f07b4331037f48$__906304baf60c906064016040805180830381865af4158015613508573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061352c9190614a14565b506040516355e343a960e01b81526001600160601b0385166004820152909850600091506001600160a01b038516906355e343a9906024016101c060405180830381865afa158015613582573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906135a69190614773565b60e081015160405163012ebd8360e21b8152815160048201526020909101516024820152604481018e905290915073__$a23651848365a6a5ca15f07b4331037f48$__906304baf60c906064016040805180830381865af415801561360f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906136339190614a14565b50809750505060008a6001600160a01b031663db6dcc956040518163ffffffff1660e01b8152600401602060405180830381865afa158015613679573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061369d91906143bc565b604051639ad69c6760e01b81526001600160601b03821660048201529091506000906001600160a01b03861690639ad69c679060240160a060405180830381865afa1580156136f0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906137149190614a38565b604080820151905163012ebd8360e21b8152815160048201526020909101516024820152604481018f905290915073__$a23651848365a6a5ca15f07b4331037f48$__906304baf60c906064016040805180830381865af415801561377d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906137a19190614a14565b5060208481015160405163012ebd8360e21b8152815160048201529101516024820152604481018f905290965073__$a23651848365a6a5ca15f07b4331037f48$__92506304baf60c91506064016040805180830381865af415801561380b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061382f9190614a14565b5080955050505050945094509450949050565b600080806000198587098587029250828110838203039150508060000361387c5783828161387257613872614abb565b0492505050612a4a565b8084116138c35760405162461bcd60e51b81526020600482015260156024820152744d6174683a206d756c446976206f766572666c6f7760581b604482015260640161060a565b600084868809600260036001881981018916988990049182028318808302840302808302840302808302840302808302840302808302840302918202909203026000889003889004909101858311909403939093029303949094049190911702949350505050565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a082019290925260c081019190915290565b60405180610120016040528060006001600160601b031681526020016139a2604051806040016040528060008152602001600081525090565b81526020016060815260200160008152602001600081526020016000815260200160008152602001600064ffffffffff168152602001600064ffffffffff1681525090565b6000602082840312156139f957600080fd5b81356001600160e01b031981168114612a4a57600080fd5b6001600160601b03811681146102f357600080fd5b600060208284031215613a3857600080fd5b8135612a4a81613a11565b60005b83811015613a5e578181015183820152602001613a46565b50506000910152565b60008151808452613a7f816020860160208601613a43565b601f01601f19169290920160200192915050565b6020815260006001600160601b038084511660208401528060208501511660408401525060ff604084015116606083015260608301511515608083015260018060a01b0360808401511660a083015260a0830151613afc60c08401826001600160a01b03169052565b5060c083015160e080840152613182610100840182613a67565b6001600160a01b03811681146102f357600080fd5b60ff811681146102f357600080fd5b80151581146102f357600080fd5b634e487b7160e01b600052604160045260246000fd5b60405161020081016001600160401b0381118282101715613b8157613b81613b48565b60405290565b60405161018081016001600160401b0381118282101715613b8157613b81613b48565b60405161012081016001600160401b0381118282101715613b8157613b81613b48565b60405161016081016001600160401b0381118282101715613b8157613b81613b48565b60405160e081016001600160401b0381118282101715613b8157613b81613b48565b604051601f8201601f191681016001600160401b0381118282101715613c3a57613c3a613b48565b604052919050565b60006001600160401b03821115613c5b57613c5b613b48565b50601f01601f191660200190565b600082601f830112613c7a57600080fd5b8135613c8d613c8882613c42565b613c12565b818152846020838601011115613ca257600080fd5b816020850160208301376000918101602001919091529392505050565b60008060008060008060c08789031215613cd857600080fd5b8635613ce381613b16565b95506020870135613cf381613a11565b94506040870135613d0381613b2b565b93506060870135613d1381613b3a565b92506080870135613d2381613b16565b915060a08701356001600160401b03811115613d3e57600080fd5b613d4a89828a01613c69565b9150509295509295509295565b600060208284031215613d6957600080fd5b81356001600160401b03811115613d7f57600080fd5b61318284828501613c69565b60008060408385031215613d9e57600080fd5b8235613da981613b16565b915060208301356001600160401b03811115613dc457600080fd5b613dd085828601613c69565b9150509250929050565b64ffffffffff811681146102f357600080fd5b60008060408385031215613e0057600080fd5b8235613e0b81613a11565b91506020830135613e1b81613dda565b809150509250929050565b60008060408385031215613e3957600080fd5b50508035926020909101359150565b600080600060608486031215613e5d57600080fd5b8335613e6881613a11565b92506020840135613e7881613b3a565b91506040840135613e8881613dda565b809150509250925092565b600060208284031215613ea557600080fd5b8135612a4a81613b16565b6001600160c01b0319811681146102f357600080fd5b60008060008060008060c08789031215613edf57600080fd5b8635613eea81613eb0565b9550602087013594506040870135935060608701356001600160401b03811115613f1357600080fd5b613f1f89828a01613c69565b9350506080870135613f3081613a11565b915060a0870135613f4081613eb0565b809150509295509295509295565b60008060408385031215613f6157600080fd5b8235613f6c81613b16565b91506020830135613e1b81613b16565b600060208284031215613f8e57600080fd5b8151612a4a81613b16565b8051613fa481613a11565b919050565b8051613fa481613eb0565b600082601f830112613fc557600080fd5b8151613fd3613c8882613c42565b818152846020838601011115613fe857600080fd5b613182826020830160208701613a43565b805161ffff81168114613fa457600080fd5b8051613fa481613dda565b60006020828403121561402857600080fd5b81516001600160401b038082111561403f57600080fd5b90830190610200828603121561405457600080fd5b61405c613b5e565b61406583613f99565b815261407360208401613f99565b602082015261408460408401613fa9565b604082015261409560608401613fa9565b60608201526080830151608082015260a083015160a082015260c083015160c082015260e083015160e082015261010080840151838111156140d657600080fd5b6140e288828701613fb4565b82840152505061012080840151838111156140fc57600080fd5b61410888828701613fb4565b828401525050610140915061411e828401613ff9565b828201526101609150614132828401613ff9565b82820152610180915081830151828201526101a0915061415382840161400b565b828201526101c0915061416782840161400b565b828201526101e0915061417b82840161400b565b91810191909152949350505050565b8051613fa481613b3a565b6000602082840312156141a757600080fd5b8151612a4a81613b3a565b8051613fa481613b2b565b6000602082840312156141cf57600080fd5b8151612a4a81613b2b565b6000602082840312156141ec57600080fd5b8151612a4a81613dda565b6001600160601b0384168152606060208201526142206060820184516001600160601b03169052565b6000602084015161423c60808401826001600160601b03169052565b5060408401516001600160c01b0319811660a08401525060608401516001600160c01b0319811660c084015250608084015160e083015260a0840151610100818185015260c08601519150610120828186015260e087015192506101408381870152828801519350610200925061016083818801526142bf610260880186613a67565b9450828901519250610180605f1988870301818901526142df8685613a67565b9550828a015193506101a092506142fb8389018561ffff169052565b9089015192506101c0906143148883018561ffff169052565b8901516101e0888101919091529189015164ffffffffff9081169488019490945288015183166102208701528701519091166102408501525060ff841660408401529050613182565b60006020828403121561436f57600080fd5b815162ffffff81168114612a4a57600080fd5b600181811c9082168061439657607f821691505b6020821081036143b657634e487b7160e01b600052602260045260246000fd5b50919050565b6000602082840312156143ce57600080fd5b8151612a4a81613a11565b601f82111561442357600081815260208120601f850160051c810160208610156144005750805b601f850160051c820191505b8181101561441f5782815560010161440c565b5050505b505050565b81516001600160401b0381111561444157614441613b48565b6144558161444f8454614382565b846143d9565b602080601f83116001811461448a57600084156144725750858301515b600019600386901b1c1916600185901b17855561441f565b600085815260208120601f198616915b828110156144b95788860151825594840194600190910190840161449a565b50858210156144d75787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6000602082840312156144f957600080fd5b81516001600160401b0381168114612a4a57600080fd5b60006020828403121561452257600080fd5b5051919050565b8051613fa481613b16565b60006040828403121561454657600080fd5b604051604081018181106001600160401b038211171561456857614568613b48565b604052825181526020928301519281019290925250919050565b6000610240828403121561459557600080fd5b61459d613b87565b6145a683614529565b81526145b460208401614529565b60208201526145c560408401613f99565b60408201526145d660608401613f99565b60608201526145e88460808501614534565b60808201526145fa8460c08501614534565b60a082015261010061460e85828601614534565b60c083015261014061462286828701614534565b60e0840152614635866101808701614534565b82840152614647866101c08701614534565b61012084015261465a610200860161418a565b908301525061466c6102208401614529565b6101608201529392505050565b634e487b7160e01b600052601160045260246000fd5b8082018082111561159957611599614679565b6000602082840312156146b457600080fd5b81516001600160401b03808211156146cb57600080fd5b9083019061014082860312156146e057600080fd5b6146e8613baa565b6146f183613f99565b81526147008660208501614534565b602082015260608301518281111561471757600080fd5b61472387828601613fb4565b6040830152506080830151606082015260a0830151608082015260c083015160a082015260e083015160c0820152610100915061476182840161400b565b60e082015261417b610120840161400b565b60006101c0828403121561478657600080fd5b61478e613bcd565b61479783613f99565b81526147a560208401614529565b60208201526147b66040840161418a565b60408201526147c76060840161418a565b60608201526147d86080840161418a565b608082015260a083015160a082015260c083015160c08201526147fe8460e08501614534565b60e082015261012061481285828601614534565b610100830152614826856101608601614534565b908201526148376101a08401614529565b6101408201529392505050565b60006020828403121561485657600080fd5b81516001600160401b038082111561486d57600080fd5b9083019060e0828603121561488157600080fd5b614889613bf0565b61489283613f99565b81526148a060208401613f99565b60208201526148b1604084016141b2565b60408201526148c26060840161418a565b60608201526148d360808401614529565b60808201526148e460a08401614529565b60a082015260c0830151828111156148fb57600080fd5b61490787828601613fb4565b60c08301525095945050505050565b6001600160601b03851681526080602082015260006149386080830186613a67565b828103604084015261494a8186613a67565b91505082606083015295945050505050565b8481526001600160401b0360c01b8416602082015282604082015260806060820152600061498d6080830184613a67565b9695505050505050565b8181038181111561159957611599614679565b600080604083850312156149bd57600080fd5b82516149c881613b16565b6020840151909250613e1b81613b16565b815181526020808301519082015260408101611599565b6001600160a01b039384168152919092166020820152604081019190915260600190565b60008060408385031215614a2757600080fd5b505080516020909101519092909150565b600060a08284031215614a4a57600080fd5b604051608081018181106001600160401b0382111715614a6c57614a6c613b48565b6040528251614a7a81613a11565b81526020830151614a8a81613b16565b6020820152614a9c8460408501614534565b60408201526080830151614aaf81613b16565b60608201529392505050565b634e487b7160e01b600052601260045260246000fdfe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00a2646970667358221220e4816ed424462718bc6f7f4a77e10215db58d3cf2686962aff97adde4cc71fa364736f6c63430008140033",
877
+ "linkReferences": {
878
+ "contracts/types/Fee.sol": {
879
+ "FeeLib": [
880
+ {
881
+ "length": 20,
882
+ "start": 12073
883
+ },
884
+ {
885
+ "length": 20,
886
+ "start": 12336
887
+ },
888
+ {
889
+ "length": 20,
890
+ "start": 13749
891
+ },
892
+ {
893
+ "length": 20,
894
+ "start": 14012
895
+ },
896
+ {
897
+ "length": 20,
898
+ "start": 14378
899
+ },
900
+ {
901
+ "length": 20,
902
+ "start": 14518
903
+ }
904
+ ]
905
+ },
906
+ "contracts/types/NftId.sol": {
907
+ "NftIdLib": [
908
+ {
909
+ "length": 20,
910
+ "start": 3570
911
+ },
912
+ {
913
+ "length": 20,
914
+ "start": 7721
915
+ }
916
+ ]
917
+ },
918
+ "contracts/types/Timestamp.sol": {
919
+ "TimestampLib": [
920
+ {
921
+ "length": 20,
922
+ "start": 1645
923
+ },
924
+ {
925
+ "length": 20,
926
+ "start": 1994
927
+ },
928
+ {
929
+ "length": 20,
930
+ "start": 2273
931
+ },
932
+ {
933
+ "length": 20,
934
+ "start": 2422
935
+ },
936
+ {
937
+ "length": 20,
938
+ "start": 2599
939
+ },
940
+ {
941
+ "length": 20,
942
+ "start": 5150
943
+ },
944
+ {
945
+ "length": 20,
946
+ "start": 5369
947
+ },
948
+ {
949
+ "length": 20,
950
+ "start": 6547
951
+ },
952
+ {
953
+ "length": 20,
954
+ "start": 8906
955
+ },
956
+ {
957
+ "length": 20,
958
+ "start": 9044
959
+ }
960
+ ]
961
+ },
962
+ "contracts/types/UFixed.sol": {
963
+ "UFixedLib": [
964
+ {
965
+ "length": 20,
966
+ "start": 5527
967
+ },
968
+ {
969
+ "length": 20,
970
+ "start": 5660
971
+ }
972
+ ]
973
+ },
974
+ "contracts/types/Version.sol": {
975
+ "VersionLib": [
976
+ {
977
+ "length": 20,
978
+ "start": 3006
979
+ },
980
+ {
981
+ "length": 20,
982
+ "start": 4218
983
+ }
984
+ ],
985
+ "VersionPartLib": [
986
+ {
987
+ "length": 20,
988
+ "start": 9371
989
+ }
990
+ ]
991
+ }
992
+ },
993
+ "deployedLinkReferences": {
994
+ "contracts/types/Fee.sol": {
995
+ "FeeLib": [
996
+ {
997
+ "length": 20,
998
+ "start": 11843
999
+ },
1000
+ {
1001
+ "length": 20,
1002
+ "start": 12106
1003
+ },
1004
+ {
1005
+ "length": 20,
1006
+ "start": 13519
1007
+ },
1008
+ {
1009
+ "length": 20,
1010
+ "start": 13782
1011
+ },
1012
+ {
1013
+ "length": 20,
1014
+ "start": 14148
1015
+ },
1016
+ {
1017
+ "length": 20,
1018
+ "start": 14288
1019
+ }
1020
+ ]
1021
+ },
1022
+ "contracts/types/NftId.sol": {
1023
+ "NftIdLib": [
1024
+ {
1025
+ "length": 20,
1026
+ "start": 3340
1027
+ },
1028
+ {
1029
+ "length": 20,
1030
+ "start": 7491
1031
+ }
1032
+ ]
1033
+ },
1034
+ "contracts/types/Timestamp.sol": {
1035
+ "TimestampLib": [
1036
+ {
1037
+ "length": 20,
1038
+ "start": 1415
1039
+ },
1040
+ {
1041
+ "length": 20,
1042
+ "start": 1764
1043
+ },
1044
+ {
1045
+ "length": 20,
1046
+ "start": 2043
1047
+ },
1048
+ {
1049
+ "length": 20,
1050
+ "start": 2192
1051
+ },
1052
+ {
1053
+ "length": 20,
1054
+ "start": 2369
1055
+ },
1056
+ {
1057
+ "length": 20,
1058
+ "start": 4920
1059
+ },
1060
+ {
1061
+ "length": 20,
1062
+ "start": 5139
1063
+ },
1064
+ {
1065
+ "length": 20,
1066
+ "start": 6317
1067
+ },
1068
+ {
1069
+ "length": 20,
1070
+ "start": 8676
1071
+ },
1072
+ {
1073
+ "length": 20,
1074
+ "start": 8814
1075
+ }
1076
+ ]
1077
+ },
1078
+ "contracts/types/UFixed.sol": {
1079
+ "UFixedLib": [
1080
+ {
1081
+ "length": 20,
1082
+ "start": 5297
1083
+ },
1084
+ {
1085
+ "length": 20,
1086
+ "start": 5430
1087
+ }
1088
+ ]
1089
+ },
1090
+ "contracts/types/Version.sol": {
1091
+ "VersionLib": [
1092
+ {
1093
+ "length": 20,
1094
+ "start": 2776
1095
+ },
1096
+ {
1097
+ "length": 20,
1098
+ "start": 3988
1099
+ }
1100
+ ],
1101
+ "VersionPartLib": [
1102
+ {
1103
+ "length": 20,
1104
+ "start": 9141
1105
+ }
1106
+ ]
1107
+ }
1108
+ }
1109
+ }