@etherisc/gif-next 0.0.2-f4f92b3-338 → 0.0.2-f575800-762

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