@etherisc/gif-next 0.0.2-d408403-475 → 0.0.2-d43ca2d-657

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