@etherisc/gif-next 0.0.2-e922e07-736 → 0.0.2-e964d24-516

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