@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,1581 @@
1
+ {
2
+ "_format": "hh-sol-artifact-1",
3
+ "contractName": "ComponentService",
4
+ "sourceName": "contracts/shared/ComponentService.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": "address",
59
+ "name": "component",
60
+ "type": "address"
61
+ }
62
+ ],
63
+ "name": "ErrorComponentServiceAlreadyRegistered",
64
+ "type": "error"
65
+ },
66
+ {
67
+ "inputs": [
68
+ {
69
+ "internalType": "address",
70
+ "name": "instanceAddress",
71
+ "type": "address"
72
+ },
73
+ {
74
+ "internalType": "VersionPart",
75
+ "name": "instanceVersion",
76
+ "type": "uint8"
77
+ }
78
+ ],
79
+ "name": "ErrorComponentServiceInstanceVersionMismatch",
80
+ "type": "error"
81
+ },
82
+ {
83
+ "inputs": [
84
+ {
85
+ "internalType": "address",
86
+ "name": "component",
87
+ "type": "address"
88
+ },
89
+ {
90
+ "internalType": "ObjectType",
91
+ "name": "requiredType",
92
+ "type": "uint8"
93
+ },
94
+ {
95
+ "internalType": "ObjectType",
96
+ "name": "componentType",
97
+ "type": "uint8"
98
+ }
99
+ ],
100
+ "name": "ErrorComponentServiceInvalidType",
101
+ "type": "error"
102
+ },
103
+ {
104
+ "inputs": [],
105
+ "name": "ErrorComponentServiceNewWalletAddressZero",
106
+ "type": "error"
107
+ },
108
+ {
109
+ "inputs": [
110
+ {
111
+ "internalType": "address",
112
+ "name": "component",
113
+ "type": "address"
114
+ }
115
+ ],
116
+ "name": "ErrorComponentServiceNotComponent",
117
+ "type": "error"
118
+ },
119
+ {
120
+ "inputs": [
121
+ {
122
+ "internalType": "address",
123
+ "name": "instanceAddress",
124
+ "type": "address"
125
+ },
126
+ {
127
+ "internalType": "ObjectType",
128
+ "name": "objectType",
129
+ "type": "uint8"
130
+ }
131
+ ],
132
+ "name": "ErrorComponentServiceNotInstance",
133
+ "type": "error"
134
+ },
135
+ {
136
+ "inputs": [
137
+ {
138
+ "internalType": "address",
139
+ "name": "component",
140
+ "type": "address"
141
+ }
142
+ ],
143
+ "name": "ErrorComponentServiceNotInstanceLinkedComponent",
144
+ "type": "error"
145
+ },
146
+ {
147
+ "inputs": [
148
+ {
149
+ "internalType": "address",
150
+ "name": "instanceAddress",
151
+ "type": "address"
152
+ }
153
+ ],
154
+ "name": "ErrorComponentServiceNotRegistered",
155
+ "type": "error"
156
+ },
157
+ {
158
+ "inputs": [
159
+ {
160
+ "internalType": "NftId",
161
+ "name": "nftId",
162
+ "type": "uint96"
163
+ },
164
+ {
165
+ "internalType": "ObjectType",
166
+ "name": "objectType",
167
+ "type": "uint8"
168
+ }
169
+ ],
170
+ "name": "ErrorComponentServiceParentNotInstance",
171
+ "type": "error"
172
+ },
173
+ {
174
+ "inputs": [
175
+ {
176
+ "internalType": "NftId",
177
+ "name": "nftId",
178
+ "type": "uint96"
179
+ },
180
+ {
181
+ "internalType": "ObjectType",
182
+ "name": "objectType",
183
+ "type": "uint8"
184
+ }
185
+ ],
186
+ "name": "ErrorComponentServiceParentNotProduct",
187
+ "type": "error"
188
+ },
189
+ {
190
+ "inputs": [
191
+ {
192
+ "internalType": "address",
193
+ "name": "component",
194
+ "type": "address"
195
+ },
196
+ {
197
+ "internalType": "VersionPart",
198
+ "name": "componentRelease",
199
+ "type": "uint8"
200
+ },
201
+ {
202
+ "internalType": "VersionPart",
203
+ "name": "parentRelease",
204
+ "type": "uint8"
205
+ }
206
+ ],
207
+ "name": "ErrorComponentServiceReleaseMismatch",
208
+ "type": "error"
209
+ },
210
+ {
211
+ "inputs": [
212
+ {
213
+ "internalType": "NftId",
214
+ "name": "senderNftId",
215
+ "type": "uint96"
216
+ },
217
+ {
218
+ "internalType": "NftId",
219
+ "name": "compnentParentNftId",
220
+ "type": "uint96"
221
+ }
222
+ ],
223
+ "name": "ErrorComponentServiceSenderNotComponentParent",
224
+ "type": "error"
225
+ },
226
+ {
227
+ "inputs": [
228
+ {
229
+ "internalType": "address",
230
+ "name": "sender",
231
+ "type": "address"
232
+ }
233
+ ],
234
+ "name": "ErrorComponentServiceSenderNotRegistered",
235
+ "type": "error"
236
+ },
237
+ {
238
+ "inputs": [
239
+ {
240
+ "internalType": "address",
241
+ "name": "component",
242
+ "type": "address"
243
+ },
244
+ {
245
+ "internalType": "ObjectType",
246
+ "name": "invalidType",
247
+ "type": "uint8"
248
+ }
249
+ ],
250
+ "name": "ErrorComponentServiceTypeNotSupported",
251
+ "type": "error"
252
+ },
253
+ {
254
+ "inputs": [],
255
+ "name": "ErrorComponentServiceWalletAddressIsSameAsCurrent",
256
+ "type": "error"
257
+ },
258
+ {
259
+ "inputs": [],
260
+ "name": "ErrorComponentServiceWalletAddressZero",
261
+ "type": "error"
262
+ },
263
+ {
264
+ "inputs": [
265
+ {
266
+ "internalType": "address",
267
+ "name": "wallet",
268
+ "type": "address"
269
+ },
270
+ {
271
+ "internalType": "address",
272
+ "name": "spender",
273
+ "type": "address"
274
+ },
275
+ {
276
+ "internalType": "uint256",
277
+ "name": "allowance",
278
+ "type": "uint256"
279
+ },
280
+ {
281
+ "internalType": "uint256",
282
+ "name": "amount",
283
+ "type": "uint256"
284
+ }
285
+ ],
286
+ "name": "ErrorComponentServiceWalletAllowanceTooSmall",
287
+ "type": "error"
288
+ },
289
+ {
290
+ "inputs": [
291
+ {
292
+ "internalType": "Amount",
293
+ "name": "withdrawnAmount",
294
+ "type": "uint96"
295
+ },
296
+ {
297
+ "internalType": "Amount",
298
+ "name": "withdrawLimit",
299
+ "type": "uint96"
300
+ }
301
+ ],
302
+ "name": "ErrorComponentServiceWithdrawAmountExceedsLimit",
303
+ "type": "error"
304
+ },
305
+ {
306
+ "inputs": [],
307
+ "name": "ErrorComponentServiceWithdrawAmountIsZero",
308
+ "type": "error"
309
+ },
310
+ {
311
+ "inputs": [
312
+ {
313
+ "internalType": "NftId",
314
+ "name": "nftId",
315
+ "type": "uint96"
316
+ }
317
+ ],
318
+ "name": "ErrorNftOwnableAlreadyLinked",
319
+ "type": "error"
320
+ },
321
+ {
322
+ "inputs": [
323
+ {
324
+ "internalType": "address",
325
+ "name": "contractAddress",
326
+ "type": "address"
327
+ }
328
+ ],
329
+ "name": "ErrorNftOwnableContractNotRegistered",
330
+ "type": "error"
331
+ },
332
+ {
333
+ "inputs": [],
334
+ "name": "ErrorNftOwnableInitialOwnerZero",
335
+ "type": "error"
336
+ },
337
+ {
338
+ "inputs": [
339
+ {
340
+ "internalType": "NftId",
341
+ "name": "nftId",
342
+ "type": "uint96"
343
+ },
344
+ {
345
+ "internalType": "ObjectType",
346
+ "name": "expectedObjectType",
347
+ "type": "uint8"
348
+ }
349
+ ],
350
+ "name": "ErrorNftOwnableInvalidType",
351
+ "type": "error"
352
+ },
353
+ {
354
+ "inputs": [
355
+ {
356
+ "internalType": "address",
357
+ "name": "account",
358
+ "type": "address"
359
+ }
360
+ ],
361
+ "name": "ErrorNftOwnableNotOwner",
362
+ "type": "error"
363
+ },
364
+ {
365
+ "inputs": [
366
+ {
367
+ "internalType": "address",
368
+ "name": "registryAddress",
369
+ "type": "address"
370
+ }
371
+ ],
372
+ "name": "ErrorNotRegistry",
373
+ "type": "error"
374
+ },
375
+ {
376
+ "inputs": [
377
+ {
378
+ "internalType": "NftId",
379
+ "name": "productNftId",
380
+ "type": "uint96"
381
+ },
382
+ {
383
+ "internalType": "NftId",
384
+ "name": "distributionNftId",
385
+ "type": "uint96"
386
+ }
387
+ ],
388
+ "name": "ErrorProductServiceDistributionAlreadyRegistered",
389
+ "type": "error"
390
+ },
391
+ {
392
+ "inputs": [
393
+ {
394
+ "internalType": "NftId",
395
+ "name": "productNftId",
396
+ "type": "uint96"
397
+ }
398
+ ],
399
+ "name": "ErrorProductServiceNoDistributionExpected",
400
+ "type": "error"
401
+ },
402
+ {
403
+ "inputs": [
404
+ {
405
+ "internalType": "NftId",
406
+ "name": "productNftId",
407
+ "type": "uint96"
408
+ }
409
+ ],
410
+ "name": "ErrorProductServiceNoOraclesExpected",
411
+ "type": "error"
412
+ },
413
+ {
414
+ "inputs": [
415
+ {
416
+ "internalType": "NftId",
417
+ "name": "productNftId",
418
+ "type": "uint96"
419
+ },
420
+ {
421
+ "internalType": "uint8",
422
+ "name": "expectedOracles",
423
+ "type": "uint8"
424
+ }
425
+ ],
426
+ "name": "ErrorProductServiceOraclesAlreadyRegistered",
427
+ "type": "error"
428
+ },
429
+ {
430
+ "inputs": [
431
+ {
432
+ "internalType": "NftId",
433
+ "name": "productNftId",
434
+ "type": "uint96"
435
+ },
436
+ {
437
+ "internalType": "NftId",
438
+ "name": "poolNftId",
439
+ "type": "uint96"
440
+ }
441
+ ],
442
+ "name": "ErrorProductServicePoolAlreadyRegistered",
443
+ "type": "error"
444
+ },
445
+ {
446
+ "inputs": [],
447
+ "name": "ErrorRegisterableNotActive",
448
+ "type": "error"
449
+ },
450
+ {
451
+ "inputs": [],
452
+ "name": "InvalidInitialization",
453
+ "type": "error"
454
+ },
455
+ {
456
+ "inputs": [],
457
+ "name": "NotInitializing",
458
+ "type": "error"
459
+ },
460
+ {
461
+ "inputs": [],
462
+ "name": "ReentrancyGuardReentrantCall",
463
+ "type": "error"
464
+ },
465
+ {
466
+ "anonymous": false,
467
+ "inputs": [
468
+ {
469
+ "indexed": false,
470
+ "internalType": "address",
471
+ "name": "authority",
472
+ "type": "address"
473
+ }
474
+ ],
475
+ "name": "AuthorityUpdated",
476
+ "type": "event"
477
+ },
478
+ {
479
+ "anonymous": false,
480
+ "inputs": [
481
+ {
482
+ "indexed": false,
483
+ "internalType": "uint64",
484
+ "name": "version",
485
+ "type": "uint64"
486
+ }
487
+ ],
488
+ "name": "Initialized",
489
+ "type": "event"
490
+ },
491
+ {
492
+ "anonymous": false,
493
+ "inputs": [
494
+ {
495
+ "indexed": false,
496
+ "internalType": "NftId",
497
+ "name": "componentNftId",
498
+ "type": "uint96"
499
+ },
500
+ {
501
+ "indexed": false,
502
+ "internalType": "address",
503
+ "name": "recipient",
504
+ "type": "address"
505
+ },
506
+ {
507
+ "indexed": false,
508
+ "internalType": "address",
509
+ "name": "token",
510
+ "type": "address"
511
+ },
512
+ {
513
+ "indexed": false,
514
+ "internalType": "Amount",
515
+ "name": "withdrawnAmount",
516
+ "type": "uint96"
517
+ }
518
+ ],
519
+ "name": "LogComponentServiceComponentFeesWithdrawn",
520
+ "type": "event"
521
+ },
522
+ {
523
+ "anonymous": false,
524
+ "inputs": [
525
+ {
526
+ "indexed": false,
527
+ "internalType": "NftId",
528
+ "name": "distributionNftId",
529
+ "type": "uint96"
530
+ }
531
+ ],
532
+ "name": "LogComponentServiceDistributionFeesUpdated",
533
+ "type": "event"
534
+ },
535
+ {
536
+ "anonymous": false,
537
+ "inputs": [
538
+ {
539
+ "indexed": false,
540
+ "internalType": "NftId",
541
+ "name": "poolNftId",
542
+ "type": "uint96"
543
+ }
544
+ ],
545
+ "name": "LogComponentServicePoolFeesUpdated",
546
+ "type": "event"
547
+ },
548
+ {
549
+ "anonymous": false,
550
+ "inputs": [
551
+ {
552
+ "indexed": false,
553
+ "internalType": "NftId",
554
+ "name": "productNftId",
555
+ "type": "uint96"
556
+ }
557
+ ],
558
+ "name": "LogComponentServiceProductFeesUpdated",
559
+ "type": "event"
560
+ },
561
+ {
562
+ "anonymous": false,
563
+ "inputs": [
564
+ {
565
+ "indexed": false,
566
+ "internalType": "NftId",
567
+ "name": "instanceNftId",
568
+ "type": "uint96"
569
+ },
570
+ {
571
+ "indexed": false,
572
+ "internalType": "NftId",
573
+ "name": "componentNftId",
574
+ "type": "uint96"
575
+ },
576
+ {
577
+ "indexed": false,
578
+ "internalType": "ObjectType",
579
+ "name": "componentType",
580
+ "type": "uint8"
581
+ },
582
+ {
583
+ "indexed": false,
584
+ "internalType": "address",
585
+ "name": "component",
586
+ "type": "address"
587
+ },
588
+ {
589
+ "indexed": false,
590
+ "internalType": "address",
591
+ "name": "token",
592
+ "type": "address"
593
+ },
594
+ {
595
+ "indexed": false,
596
+ "internalType": "address",
597
+ "name": "initialOwner",
598
+ "type": "address"
599
+ }
600
+ ],
601
+ "name": "LogComponentServiceRegistered",
602
+ "type": "event"
603
+ },
604
+ {
605
+ "anonymous": false,
606
+ "inputs": [
607
+ {
608
+ "indexed": false,
609
+ "internalType": "NftId",
610
+ "name": "nftId",
611
+ "type": "uint96"
612
+ },
613
+ {
614
+ "indexed": false,
615
+ "internalType": "string",
616
+ "name": "feeName",
617
+ "type": "string"
618
+ },
619
+ {
620
+ "indexed": false,
621
+ "internalType": "UFixed",
622
+ "name": "previousFractionalFee",
623
+ "type": "uint256"
624
+ },
625
+ {
626
+ "indexed": false,
627
+ "internalType": "uint256",
628
+ "name": "previousFixedFee",
629
+ "type": "uint256"
630
+ },
631
+ {
632
+ "indexed": false,
633
+ "internalType": "UFixed",
634
+ "name": "newFractionalFee",
635
+ "type": "uint256"
636
+ },
637
+ {
638
+ "indexed": false,
639
+ "internalType": "uint256",
640
+ "name": "newFixedFee",
641
+ "type": "uint256"
642
+ }
643
+ ],
644
+ "name": "LogComponentServiceUpdateFee",
645
+ "type": "event"
646
+ },
647
+ {
648
+ "anonymous": false,
649
+ "inputs": [
650
+ {
651
+ "indexed": false,
652
+ "internalType": "NftId",
653
+ "name": "componentNftId",
654
+ "type": "uint96"
655
+ },
656
+ {
657
+ "indexed": false,
658
+ "internalType": "address",
659
+ "name": "currentWallet",
660
+ "type": "address"
661
+ },
662
+ {
663
+ "indexed": false,
664
+ "internalType": "address",
665
+ "name": "newWallet",
666
+ "type": "address"
667
+ }
668
+ ],
669
+ "name": "LogComponentServiceWalletAddressChanged",
670
+ "type": "event"
671
+ },
672
+ {
673
+ "anonymous": false,
674
+ "inputs": [
675
+ {
676
+ "indexed": false,
677
+ "internalType": "NftId",
678
+ "name": "componentNftId",
679
+ "type": "uint96"
680
+ },
681
+ {
682
+ "indexed": false,
683
+ "internalType": "address",
684
+ "name": "currentWallet",
685
+ "type": "address"
686
+ },
687
+ {
688
+ "indexed": false,
689
+ "internalType": "address",
690
+ "name": "newWallet",
691
+ "type": "address"
692
+ },
693
+ {
694
+ "indexed": false,
695
+ "internalType": "uint256",
696
+ "name": "currentBalance",
697
+ "type": "uint256"
698
+ }
699
+ ],
700
+ "name": "LogComponentServiceWalletTokensTransferred",
701
+ "type": "event"
702
+ },
703
+ {
704
+ "inputs": [],
705
+ "name": "NFT_OWNABLE_STORAGE_LOCATION_V1",
706
+ "outputs": [
707
+ {
708
+ "internalType": "bytes32",
709
+ "name": "",
710
+ "type": "bytes32"
711
+ }
712
+ ],
713
+ "stateMutability": "view",
714
+ "type": "function"
715
+ },
716
+ {
717
+ "inputs": [],
718
+ "name": "REGISTERABLE_LOCATION_V1",
719
+ "outputs": [
720
+ {
721
+ "internalType": "bytes32",
722
+ "name": "",
723
+ "type": "bytes32"
724
+ }
725
+ ],
726
+ "stateMutability": "view",
727
+ "type": "function"
728
+ },
729
+ {
730
+ "inputs": [
731
+ {
732
+ "internalType": "contract IERC20Metadata",
733
+ "name": "token",
734
+ "type": "address"
735
+ },
736
+ {
737
+ "internalType": "Amount",
738
+ "name": "amount",
739
+ "type": "uint96"
740
+ }
741
+ ],
742
+ "name": "approveStakingTokenHandler",
743
+ "outputs": [],
744
+ "stateMutability": "nonpayable",
745
+ "type": "function"
746
+ },
747
+ {
748
+ "inputs": [
749
+ {
750
+ "internalType": "contract IERC20Metadata",
751
+ "name": "token",
752
+ "type": "address"
753
+ },
754
+ {
755
+ "internalType": "Amount",
756
+ "name": "amount",
757
+ "type": "uint96"
758
+ }
759
+ ],
760
+ "name": "approveTokenHandler",
761
+ "outputs": [],
762
+ "stateMutability": "nonpayable",
763
+ "type": "function"
764
+ },
765
+ {
766
+ "inputs": [],
767
+ "name": "authority",
768
+ "outputs": [
769
+ {
770
+ "internalType": "address",
771
+ "name": "",
772
+ "type": "address"
773
+ }
774
+ ],
775
+ "stateMutability": "view",
776
+ "type": "function"
777
+ },
778
+ {
779
+ "inputs": [],
780
+ "name": "getDomain",
781
+ "outputs": [
782
+ {
783
+ "internalType": "ObjectType",
784
+ "name": "serviceDomain",
785
+ "type": "uint8"
786
+ }
787
+ ],
788
+ "stateMutability": "pure",
789
+ "type": "function"
790
+ },
791
+ {
792
+ "inputs": [],
793
+ "name": "getInitialInfo",
794
+ "outputs": [
795
+ {
796
+ "components": [
797
+ {
798
+ "internalType": "NftId",
799
+ "name": "nftId",
800
+ "type": "uint96"
801
+ },
802
+ {
803
+ "internalType": "NftId",
804
+ "name": "parentNftId",
805
+ "type": "uint96"
806
+ },
807
+ {
808
+ "internalType": "ObjectType",
809
+ "name": "objectType",
810
+ "type": "uint8"
811
+ },
812
+ {
813
+ "internalType": "bool",
814
+ "name": "isInterceptor",
815
+ "type": "bool"
816
+ },
817
+ {
818
+ "internalType": "address",
819
+ "name": "objectAddress",
820
+ "type": "address"
821
+ },
822
+ {
823
+ "internalType": "address",
824
+ "name": "initialOwner",
825
+ "type": "address"
826
+ },
827
+ {
828
+ "internalType": "bytes",
829
+ "name": "data",
830
+ "type": "bytes"
831
+ }
832
+ ],
833
+ "internalType": "struct IRegistry.ObjectInfo",
834
+ "name": "info",
835
+ "type": "tuple"
836
+ }
837
+ ],
838
+ "stateMutability": "view",
839
+ "type": "function"
840
+ },
841
+ {
842
+ "inputs": [],
843
+ "name": "getNftId",
844
+ "outputs": [
845
+ {
846
+ "internalType": "NftId",
847
+ "name": "",
848
+ "type": "uint96"
849
+ }
850
+ ],
851
+ "stateMutability": "view",
852
+ "type": "function"
853
+ },
854
+ {
855
+ "inputs": [],
856
+ "name": "getOwner",
857
+ "outputs": [
858
+ {
859
+ "internalType": "address",
860
+ "name": "",
861
+ "type": "address"
862
+ }
863
+ ],
864
+ "stateMutability": "view",
865
+ "type": "function"
866
+ },
867
+ {
868
+ "inputs": [],
869
+ "name": "getRegistry",
870
+ "outputs": [
871
+ {
872
+ "internalType": "contract IRegistry",
873
+ "name": "",
874
+ "type": "address"
875
+ }
876
+ ],
877
+ "stateMutability": "view",
878
+ "type": "function"
879
+ },
880
+ {
881
+ "inputs": [],
882
+ "name": "getRelease",
883
+ "outputs": [
884
+ {
885
+ "internalType": "VersionPart",
886
+ "name": "release",
887
+ "type": "uint8"
888
+ }
889
+ ],
890
+ "stateMutability": "view",
891
+ "type": "function"
892
+ },
893
+ {
894
+ "inputs": [],
895
+ "name": "getRoleId",
896
+ "outputs": [
897
+ {
898
+ "internalType": "RoleId",
899
+ "name": "serviceRoleId",
900
+ "type": "uint64"
901
+ }
902
+ ],
903
+ "stateMutability": "view",
904
+ "type": "function"
905
+ },
906
+ {
907
+ "inputs": [],
908
+ "name": "getVersion",
909
+ "outputs": [
910
+ {
911
+ "internalType": "Version",
912
+ "name": "",
913
+ "type": "uint24"
914
+ }
915
+ ],
916
+ "stateMutability": "pure",
917
+ "type": "function"
918
+ },
919
+ {
920
+ "inputs": [
921
+ {
922
+ "internalType": "address",
923
+ "name": "activatedBy",
924
+ "type": "address"
925
+ },
926
+ {
927
+ "internalType": "bytes",
928
+ "name": "data",
929
+ "type": "bytes"
930
+ }
931
+ ],
932
+ "name": "initializeVersionable",
933
+ "outputs": [],
934
+ "stateMutability": "nonpayable",
935
+ "type": "function"
936
+ },
937
+ {
938
+ "inputs": [],
939
+ "name": "isActive",
940
+ "outputs": [
941
+ {
942
+ "internalType": "bool",
943
+ "name": "active",
944
+ "type": "bool"
945
+ }
946
+ ],
947
+ "stateMutability": "view",
948
+ "type": "function"
949
+ },
950
+ {
951
+ "inputs": [],
952
+ "name": "isConsumingScheduledOp",
953
+ "outputs": [
954
+ {
955
+ "internalType": "bytes4",
956
+ "name": "",
957
+ "type": "bytes4"
958
+ }
959
+ ],
960
+ "stateMutability": "view",
961
+ "type": "function"
962
+ },
963
+ {
964
+ "inputs": [],
965
+ "name": "linkToRegisteredNftId",
966
+ "outputs": [
967
+ {
968
+ "internalType": "NftId",
969
+ "name": "nftId",
970
+ "type": "uint96"
971
+ }
972
+ ],
973
+ "stateMutability": "nonpayable",
974
+ "type": "function"
975
+ },
976
+ {
977
+ "inputs": [
978
+ {
979
+ "internalType": "address",
980
+ "name": "component",
981
+ "type": "address"
982
+ }
983
+ ],
984
+ "name": "registerComponent",
985
+ "outputs": [
986
+ {
987
+ "internalType": "NftId",
988
+ "name": "componentNftId",
989
+ "type": "uint96"
990
+ }
991
+ ],
992
+ "stateMutability": "nonpayable",
993
+ "type": "function"
994
+ },
995
+ {
996
+ "inputs": [
997
+ {
998
+ "internalType": "address",
999
+ "name": "productAddress",
1000
+ "type": "address"
1001
+ }
1002
+ ],
1003
+ "name": "registerProduct",
1004
+ "outputs": [
1005
+ {
1006
+ "internalType": "NftId",
1007
+ "name": "productNftId",
1008
+ "type": "uint96"
1009
+ }
1010
+ ],
1011
+ "stateMutability": "nonpayable",
1012
+ "type": "function"
1013
+ },
1014
+ {
1015
+ "inputs": [
1016
+ {
1017
+ "internalType": "address",
1018
+ "name": "newAuthority",
1019
+ "type": "address"
1020
+ }
1021
+ ],
1022
+ "name": "setAuthority",
1023
+ "outputs": [],
1024
+ "stateMutability": "nonpayable",
1025
+ "type": "function"
1026
+ },
1027
+ {
1028
+ "inputs": [
1029
+ {
1030
+ "components": [
1031
+ {
1032
+ "internalType": "UFixed",
1033
+ "name": "fractionalFee",
1034
+ "type": "uint256"
1035
+ },
1036
+ {
1037
+ "internalType": "uint256",
1038
+ "name": "fixedFee",
1039
+ "type": "uint256"
1040
+ }
1041
+ ],
1042
+ "internalType": "struct Fee",
1043
+ "name": "distributionFee",
1044
+ "type": "tuple"
1045
+ },
1046
+ {
1047
+ "components": [
1048
+ {
1049
+ "internalType": "UFixed",
1050
+ "name": "fractionalFee",
1051
+ "type": "uint256"
1052
+ },
1053
+ {
1054
+ "internalType": "uint256",
1055
+ "name": "fixedFee",
1056
+ "type": "uint256"
1057
+ }
1058
+ ],
1059
+ "internalType": "struct Fee",
1060
+ "name": "minDistributionOwnerFee",
1061
+ "type": "tuple"
1062
+ }
1063
+ ],
1064
+ "name": "setDistributionFees",
1065
+ "outputs": [],
1066
+ "stateMutability": "nonpayable",
1067
+ "type": "function"
1068
+ },
1069
+ {
1070
+ "inputs": [
1071
+ {
1072
+ "internalType": "address",
1073
+ "name": "componentAddress",
1074
+ "type": "address"
1075
+ },
1076
+ {
1077
+ "internalType": "bool",
1078
+ "name": "locked",
1079
+ "type": "bool"
1080
+ }
1081
+ ],
1082
+ "name": "setLockedFromComponent",
1083
+ "outputs": [],
1084
+ "stateMutability": "nonpayable",
1085
+ "type": "function"
1086
+ },
1087
+ {
1088
+ "inputs": [
1089
+ {
1090
+ "internalType": "address",
1091
+ "name": "componentAddress",
1092
+ "type": "address"
1093
+ },
1094
+ {
1095
+ "internalType": "bool",
1096
+ "name": "locked",
1097
+ "type": "bool"
1098
+ }
1099
+ ],
1100
+ "name": "setLockedFromInstance",
1101
+ "outputs": [],
1102
+ "stateMutability": "nonpayable",
1103
+ "type": "function"
1104
+ },
1105
+ {
1106
+ "inputs": [
1107
+ {
1108
+ "components": [
1109
+ {
1110
+ "internalType": "UFixed",
1111
+ "name": "fractionalFee",
1112
+ "type": "uint256"
1113
+ },
1114
+ {
1115
+ "internalType": "uint256",
1116
+ "name": "fixedFee",
1117
+ "type": "uint256"
1118
+ }
1119
+ ],
1120
+ "internalType": "struct Fee",
1121
+ "name": "poolFee",
1122
+ "type": "tuple"
1123
+ },
1124
+ {
1125
+ "components": [
1126
+ {
1127
+ "internalType": "UFixed",
1128
+ "name": "fractionalFee",
1129
+ "type": "uint256"
1130
+ },
1131
+ {
1132
+ "internalType": "uint256",
1133
+ "name": "fixedFee",
1134
+ "type": "uint256"
1135
+ }
1136
+ ],
1137
+ "internalType": "struct Fee",
1138
+ "name": "stakingFee",
1139
+ "type": "tuple"
1140
+ },
1141
+ {
1142
+ "components": [
1143
+ {
1144
+ "internalType": "UFixed",
1145
+ "name": "fractionalFee",
1146
+ "type": "uint256"
1147
+ },
1148
+ {
1149
+ "internalType": "uint256",
1150
+ "name": "fixedFee",
1151
+ "type": "uint256"
1152
+ }
1153
+ ],
1154
+ "internalType": "struct Fee",
1155
+ "name": "performanceFee",
1156
+ "type": "tuple"
1157
+ }
1158
+ ],
1159
+ "name": "setPoolFees",
1160
+ "outputs": [],
1161
+ "stateMutability": "nonpayable",
1162
+ "type": "function"
1163
+ },
1164
+ {
1165
+ "inputs": [
1166
+ {
1167
+ "components": [
1168
+ {
1169
+ "internalType": "UFixed",
1170
+ "name": "fractionalFee",
1171
+ "type": "uint256"
1172
+ },
1173
+ {
1174
+ "internalType": "uint256",
1175
+ "name": "fixedFee",
1176
+ "type": "uint256"
1177
+ }
1178
+ ],
1179
+ "internalType": "struct Fee",
1180
+ "name": "productFee",
1181
+ "type": "tuple"
1182
+ },
1183
+ {
1184
+ "components": [
1185
+ {
1186
+ "internalType": "UFixed",
1187
+ "name": "fractionalFee",
1188
+ "type": "uint256"
1189
+ },
1190
+ {
1191
+ "internalType": "uint256",
1192
+ "name": "fixedFee",
1193
+ "type": "uint256"
1194
+ }
1195
+ ],
1196
+ "internalType": "struct Fee",
1197
+ "name": "processingFee",
1198
+ "type": "tuple"
1199
+ }
1200
+ ],
1201
+ "name": "setProductFees",
1202
+ "outputs": [],
1203
+ "stateMutability": "nonpayable",
1204
+ "type": "function"
1205
+ },
1206
+ {
1207
+ "inputs": [
1208
+ {
1209
+ "internalType": "address",
1210
+ "name": "newWallet",
1211
+ "type": "address"
1212
+ }
1213
+ ],
1214
+ "name": "setWallet",
1215
+ "outputs": [],
1216
+ "stateMutability": "nonpayable",
1217
+ "type": "function"
1218
+ },
1219
+ {
1220
+ "inputs": [
1221
+ {
1222
+ "internalType": "bytes4",
1223
+ "name": "interfaceId",
1224
+ "type": "bytes4"
1225
+ }
1226
+ ],
1227
+ "name": "supportsInterface",
1228
+ "outputs": [
1229
+ {
1230
+ "internalType": "bool",
1231
+ "name": "",
1232
+ "type": "bool"
1233
+ }
1234
+ ],
1235
+ "stateMutability": "view",
1236
+ "type": "function"
1237
+ },
1238
+ {
1239
+ "inputs": [
1240
+ {
1241
+ "internalType": "bytes",
1242
+ "name": "data",
1243
+ "type": "bytes"
1244
+ }
1245
+ ],
1246
+ "name": "upgradeVersionable",
1247
+ "outputs": [],
1248
+ "stateMutability": "nonpayable",
1249
+ "type": "function"
1250
+ },
1251
+ {
1252
+ "inputs": [
1253
+ {
1254
+ "internalType": "Amount",
1255
+ "name": "amount",
1256
+ "type": "uint96"
1257
+ }
1258
+ ],
1259
+ "name": "withdrawFees",
1260
+ "outputs": [
1261
+ {
1262
+ "internalType": "Amount",
1263
+ "name": "withdrawnAmount",
1264
+ "type": "uint96"
1265
+ }
1266
+ ],
1267
+ "stateMutability": "nonpayable",
1268
+ "type": "function"
1269
+ }
1270
+ ],
1271
+ "bytecode": "0x6080604052348015600e575f80fd5b5060156019565b60c9565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00805468010000000000000000900460ff161560685760405163f92ee8a960e01b815260040160405180910390fd5b80546001600160401b039081161460c65780546001600160401b0319166001600160401b0390811782556040519081527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50565b615962806100d65f395ff3fe608060405234801561000f575f80fd5b50600436106101c6575f3560e01c80636078a3b2116100fe5780638fb360371161009e578063bf7e214f1161006e578063bf7e214f14610419578063c142a30314610421578063deaa59df14610434578063f133a56614610447575f80fd5b80638fb36037146103ca578063ada9652e146103eb578063ae1fa5e6146103ff578063b68d180914610412575f80fd5b80636c741e78116100d95780636c741e781461037557806376b707b7146103955780637a9e5e4b146103af578063893d20e8146103c2575f80fd5b80636078a3b214610332578063644c45e01461034557806367ba1c1014610362575f80fd5b80632d46f5df1161016957806337a897ee1161014457806337a897ee146102d4578063419197fe146102e757806349bb9e4b146102fa5780635ab1bd531461030d575f80fd5b80632d46f5df146102995780633192acb2146102ac578063329d6e74146102c1575f80fd5b8063138461e0116101a4578063138461e01461023c5780631c6b21901461025c5780631eff4b221461026f57806322f3e2d414610291575f80fd5b806301ffc9a7146101ca5780630d8e6e2c1461020b5780630fec111c14610227575b5f80fd5b6101f66101d8366004614a2c565b6001600160e01b0319165f9081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b61021361045a565b60405162ffffff9091168152602001610202565b61022f6104e1565b6040516102029190614a81565b61024461068c565b6040516001600160601b039091168152602001610202565b61024461026a366004614b29565b610696565b6102835f805160206158cd83398151915281565b604051908152602001610202565b6101f6610e42565b6102446102a7366004614b58565b610eb9565b6102bf6102ba366004614b73565b61101a565b005b6102bf6102cf366004614cf5565b611185565b6102bf6102e2366004614d55565b6112cf565b6102bf6102f5366004614b73565b6115f0565b6102bf610308366004614d7f565b611749565b6001546001600160a01b03165b6040516001600160a01b039091168152602001610202565b610244610340366004614b58565b611837565b5f805160206158ad833981519152546001600160601b0316610244565b6102bf610370366004614d55565b611922565b61037d611cb2565b6040516001600160401b039091168152602001610202565b61039d611d3e565b60405160ff9091168152602001610202565b6102bf6103bd366004614b58565b611d5a565b61031a611ddc565b6103d2611f0d565b6040516001600160e01b03199091168152602001610202565b6102835f805160206158ad83398151915281565b6102bf61040d366004614dd8565b611f55565b600b61039d565b61031a611fde565b6102bf61042f366004614e04565b61200c565b6102bf610442366004614b58565b6123ac565b6102bf610455366004614dd8565b6124eb565b604051632efe011360e01b8152600360048201525f60248201819052604482018190529073__$8eede297b65ed5a56eb3f84d8232ae93f5$__90632efe011390606401602060405180830381865af41580156104b8573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906104dc9190614e47565b905090565b6040805160e0810182525f8082526020820181905291810182905260608082018390526080820183905260a082019290925260c08101919091525f5f805160206158cd83398151915290506040518060e0016040528073__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af415801561057e573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906105a29190614e74565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160701b909104161515606082015230608082015260a0016105ea611ddc565b6001600160a01b0316815260200182600101805461060790614e8f565b80601f016020809104026020016040519081016040528092919081815260200182805461063390614e8f565b801561067e5780601f106106555761010080835404028352916020019161067e565b820191905f5260205f20905b81548152906001019060200180831161066157829003601f168201915b505050505081525091505090565b5f6104dc3061284c565b5f80806106a3600b612a45565b915091505f816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa1580156106e4573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906107089190614ec1565b60405163f0ea17c360e01b81526001600160601b03851660048201526001600160a01b03919091169063f0ea17c3906024015f60405180830381865afa158015610754573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f1916820160405261077b9190810190614f3b565b90505f81604001516001600160a01b031663132996046040518163ffffffff1660e01b8152600401602060405180830381865afa1580156107be573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906107e29190614ec1565b9050859450846001600160601b031673__$3bac17678db7ae928afa209f2f44deec9c$__63262b32d2909173__$3bac17678db7ae928afa209f2f44deec9c$__636ac5db196040518163ffffffff1660e01b8152600401602060405180830381865af4158015610854573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906108789190614e74565b6040516001600160e01b031960e085901b1681526001600160601b03928316600482015291166024820152604401602060405180830381865af41580156108c1573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906108e5919061500f565b156109c257826001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015610926573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061094a9190614ec1565b604051630232ca4960e01b81526001600160601b03861660048201526001600160a01b039190911690630232ca4990602401602060405180830381865afa158015610997573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906109bb9190614e74565b9450610be9565b604051630a4d29dd60e31b81526001600160601b038616600482015273__$3bac17678db7ae928afa209f2f44deec9c$__906352694ee890602401602060405180830381865af4158015610a18573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610a3c919061500f565b15610a5a5760405163b079ec2b60e01b815260040160405180910390fd5b5f836001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015610a97573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610abb9190614ec1565b604051630232ca4960e01b81526001600160601b03871660048201526001600160a01b039190911690630232ca4990602401602060405180830381865afa158015610b08573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b2c9190614e74565b604051632601631360e21b81526001600160601b0388811660048301528216602482015290915073__$3bac17678db7ae928afa209f2f44deec9c$__906398058c4c90604401602060405180830381865af4158015610b8d573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610bb1919061500f565b15610be75760405163151dbb3f60e01b81526001600160601b038088166004830152821660248201526044015b60405180910390fd5b505b60025f9054906101000a90046001600160a01b03166001600160a01b031663346696cc846001600160a01b031663d4cda0d86040518163ffffffff1660e01b8152600401602060405180830381865afa158015610c48573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610c6c9190614ec1565b6040516001600160e01b031960e084901b1681526001600160a01b0390911660048201526001600160601b038088166024830152881660448201526064015f604051808303815f87803b158015610cc1575f80fd5b505af1158015610cd3573d5f803e3d5ffd5b505050505f610cea6001546001600160a01b031690565b604051631c5da14d60e11b81526001600160601b03871660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015610d37573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610d5b9190614ec1565b602080850151604080516001600160601b03808b1682526001600160a01b0380871695830195909552939092169082015290881660608201529091507f694f0f8f2682e6c05697feed9065540f51c00d4510b16dbdb60606c6e5abfde99060800160405180910390a1604080840151905163153c361360e21b81526001600160a01b03848116600483015283811660248301526001600160601b0389166044830152909116906354f0d84c906064015b5f604051808303815f87803b158015610e22575f80fd5b505af1158015610e34573d5f803e3d5ffd5b505050505050505050919050565b5f610e4b611fde565b60405163a166aa8960e01b81523060048201526001600160a01b03919091169063a166aa8990602401602060405180830381865afa158015610e8f573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610eb3919061500f565b15905090565b5f610ec2612a5b565b81610ecc81612a92565b5f80610ed985600c612b44565b604080516330422f5360e21b81529051919950939650919450889350506001600160a01b0380851692639654005792899286169163c108bd4c916004808301925f9291908290030181865afa158015610f34573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052610f5b91908101906150fa565b6040518363ffffffff1660e01b8152600401610f78929190615419565b5f604051808303815f87803b158015610f8f575f80fd5b505af1158015610fa1573d5f803e3d5ffd5b50506040516392e2a62f60e01b81526001600160a01b038481166004830152861692506392e2a62f91506024015f604051808303815f87803b158015610fe5575f80fd5b505af1158015610ff7573d5f803e3d5ffd5b505050505050505061101560015f805160206158ed83398151915255565b919050565b73__$fb599632d08395912d9d70eb2f0f93b5e2$__630c21dea26110466001546001600160a01b031690565b6040516001600160e01b031960e084901b1681526001600160a01b0390911660048201523360248201526044015f60405180830381865af415801561108d573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526110b491908101906154e4565b505f336001600160a01b03166343d752d36040518163ffffffff1660e01b8152600401602060405180830381865afa1580156110f2573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906111169190614ec1565b60405163ea0b3c7360e01b81526001600160a01b0385811660048301526001600160601b03851660248301529192509082169063ea0b3c73906044015b5f604051808303815f87803b15801561116a575f80fd5b505af115801561117c573d5f803e3d5ffd5b50505050505050565b73__$8eede297b65ed5a56eb3f84d8232ae93f5$__63a123b37c6111a761045a565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af41580156111e5573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906112099190615529565b5f8051602061590d8339815191528054600160401b900460ff168061123b575080546001600160401b03808416911610155b156112595760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b1781556112838361307e565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a1505050565b5f806112db600e612a45565b915091505f8061134a836001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015611320573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906113449190614ec1565b85613086565b915091505f73__$58e11c6004c5796aaa8c56e718245e69a2$__632b324dc0836101400151896040518363ffffffff1660e01b815260040161138d929190615544565b602060405180830381865af41580156113a8573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906113cc919061500f565b61141457611408836040518060400160405280600f81526020016e446973747269627574696f6e46656560881b8152508461014001518a613265565b50610140810186905260015b61016082015160405162acc93760e61b815273__$58e11c6004c5796aaa8c56e718245e69a2$__91632b324dc09161145191908a90600401615544565b602060405180830381865af415801561146c573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611490919061500f565b6114e6576114da836040518060400160405280601781526020017f4d696e446973747269627574696f6e4f776e657246656500000000000000000081525084610160015189613265565b50610160810185905260015b801561117c57836001600160a01b031663d4cda0d86040518163ffffffff1660e01b8152600401602060405180830381865afa158015611528573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061154c9190614ec1565b6001600160a01b0316632ee46ad9848460ff6040518463ffffffff1660e01b815260040161157c9392919061556a565b5f604051808303815f87803b158015611593575f80fd5b505af11580156115a5573d5f803e3d5ffd5b50506040516001600160601b03881681527f37bea7afe3960b639e98d9161b22f53a172300df8ec6ee71fd0a5321dcecd59b925060200190505b60405180910390a150505050505050565b5f806115fc600b612a45565b915091505f816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa15801561163d573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906116619190614ec1565b60405163f0ea17c360e01b81526001600160601b03851660048201526001600160a01b03919091169063f0ea17c3906024015f60405180830381865afa1580156116ad573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526116d49190810190614f3b565b604090810151905163ea0b3c7360e01b81526001600160a01b0387811660048301526001600160601b03871660248301529192509082169063ea0b3c73906044015f604051808303815f87803b15801561172c575f80fd5b505af115801561173e573d5f803e3d5ffd5b505050505050505050565b5f8051602061590d8339815191528054600160401b810460ff1615906001600160401b03165f8115801561177a5750825b90505f826001600160401b031660011480156117955750303b155b9050811580156117a3575080155b156117c15760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff1916600117855583156117eb57845460ff60401b1916600160401b1785555b6117f587876132b8565b831561117c57845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020016115df565b5f8161184281612a92565b5f836001600160a01b0316630fec111c6040518163ffffffff1660e01b81526004015f60405180830381865afa15801561187e573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526118a591908101906154e4565b60400151905060ff8116600f036118c7576118bf84613450565b92505061191c565b60ff8116600e036118db576118bf8461377d565b60ff8116600d036118ef576118bf846139d9565b604051630de61afd60e41b81526001600160a01b038516600482015260ff82166024820152604401610bde565b50919050565b61192a612a5b565b5f80611936600c612a45565b915091505f816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015611977573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061199b9190614ec1565b6040516302d764c760e21b81526001600160601b03851660048201526001600160a01b039190911690630b5d931c906024015f60405180830381865afa1580156119e7573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052611a0e91908101906150fa565b90505f73__$58e11c6004c5796aaa8c56e718245e69a2$__632b324dc0836101000151886040518363ffffffff1660e01b8152600401611a4f929190615544565b602060405180830381865af4158015611a6a573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611a8e919061500f565b611ad157611ac5846040518060400160405280600a81526020016950726f6475637446656560b01b81525084610100015189613265565b50610100810185905260015b61012082015160405162acc93760e61b815273__$58e11c6004c5796aaa8c56e718245e69a2$__91632b324dc091611b0e91908990600401615544565b602060405180830381865af4158015611b29573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611b4d919061500f565b611b9357611b87846040518060400160405280600d81526020016c50726f63657373696e6746656560981b81525084610120015188613265565b50610120810184905260015b8015611c9457826001600160a01b031663d4cda0d86040518163ffffffff1660e01b8152600401602060405180830381865afa158015611bd5573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611bf99190614ec1565b6001600160a01b0316632ee46ad9858460ff6040518463ffffffff1660e01b8152600401611c299392919061556a565b5f604051808303815f87803b158015611c40575f80fd5b505af1158015611c52573d5f803e3d5ffd5b50506040516001600160601b03871681527f385da3b17e82d72dd7e4cbe895c7d7d3fbb4c8768e0866dd69f44581a0ded2bc9250602001905060405180910390a15b50505050611cae60015f805160206158ed83398151915255565b5050565b5f73__$1d92393fa9ccd763988368ce8a1cb90d26$__63dda777d3600b611cd7611d3e565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865af4158015611d1a573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906104dc9190615529565b5f805160206158cd83398151915254600160681b900460ff1690565b33611d63611fde565b6001600160a01b0316816001600160a01b031614611d9e5760405162d1953b60e31b81526001600160a01b0382166004820152602401610bde565b816001600160a01b03163b5f03611dd3576040516361798f2f60e11b81526001600160a01b0383166004820152602401610bde565b611cae82613bc3565b5f805f805160206158ad83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015611e48573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611e6c919061500f565b15611ef7576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015611ecd573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611ef19190614ec1565b91505090565b54600160601b90046001600160a01b0316919050565b7ff3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a0080545f9190600160a01b900460ff16611f47575f611ef1565b638fb3603760e01b91505090565b33611f5f81612a92565b5f611f6b600b5f613c36565b915050611fd8816001600160a01b031663311adb686040518163ffffffff1660e01b8152600401602060405180830381865afa158015611fad573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611fd19190614ec1565b8585613de8565b50505050565b7ff3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00546001600160a01b031690565b5f80612018600f612a45565b915091505f8061205d836001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015611320573d5f803e3d5ffd5b915091505f73__$58e11c6004c5796aaa8c56e718245e69a2$__632b324dc08361018001518a6040518363ffffffff1660e01b81526004016120a0929190615544565b602060405180830381865af41580156120bb573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906120df919061500f565b61211f576121138360405180604001604052806007815260200166506f6f6c46656560c81b8152508461018001518b613265565b50610180810187905260015b6101a082015160405162acc93760e61b815273__$58e11c6004c5796aaa8c56e718245e69a2$__91632b324dc09161215c91908b90600401615544565b602060405180830381865af4158015612177573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061219b919061500f565b6121de576121d2836040518060400160405280600a8152602001695374616b696e6746656560b01b815250846101a001518a613265565b506101a0810186905260015b6101c082015160405162acc93760e61b815273__$58e11c6004c5796aaa8c56e718245e69a2$__91632b324dc09161221b91908a90600401615544565b602060405180830381865af4158015612236573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061225a919061500f565b6122a157612295836040518060400160405280600e81526020016d506572666f726d616e636546656560901b815250846101c0015189613265565b506101c0810185905260015b80156123a257836001600160a01b031663d4cda0d86040518163ffffffff1660e01b8152600401602060405180830381865afa1580156122e3573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906123079190614ec1565b6001600160a01b0316632ee46ad9848460ff6040518463ffffffff1660e01b81526004016123379392919061556a565b5f604051808303815f87803b15801561234e575f80fd5b505af1158015612360573d5f803e3d5ffd5b50506040516001600160601b03881681527f7a446b749117c015e0932e31190fc133582c9c5151e31209479cc9d21941f0359250602001905060405180910390a15b5050505050505050565b5f806123b8600b612a45565b915091505f816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa1580156123f9573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061241d9190614ec1565b60405163f0ea17c360e01b81526001600160601b03851660048201526001600160a01b03919091169063f0ea17c3906024015f60405180830381865afa158015612469573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526124909190810190614f3b565b604090810151905163deaa59df60e01b81526001600160a01b0386811660048301529192509082169063deaa59df906024015f604051808303815f87803b1580156124d9575f80fd5b505af11580156123a2573d5f803e3d5ffd5b5f6124fe6001546001600160a01b031690565b604051632f2a35f760e11b81523360048201526001600160a01b039190911690635e546bee90602401602060405180830381865afa158015612542573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906125669190614e74565b604051630a4d29dd60e31b81526001600160601b038216600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906352694ee890602401602060405180830381865af41580156125bf573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906125e3919061500f565b1561260357604051632c057fb960e11b8152336004820152602401610bde565b5f6126166001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03841660048201526001600160a01b03919091169063a48f42e0906024015f60405180830381865afa158015612662573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f1916820160405261268991908101906154e4565b6040015190506126a281600a5b60ff9081169116141590565b156126cb57604051630a7f204160e21b815233600482015260ff82166024820152604401610bde565b5f336001600160a01b03166376b707b76040518163ffffffff1660e01b8152600401602060405180830381865afa158015612708573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061272c919061559e565b90506127b18161273a61045a565b60405163c9e66e2960e01b815262ffffff909116600482015273__$8eede297b65ed5a56eb3f84d8232ae93f5$__9063c9e66e2990602401602060405180830381865af415801561278d573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612696919061559e565b156127da576040516302d3414160e31b815233600482015260ff82166024820152604401610bde565b5f3390505f81905061117c816001600160a01b031663311adb686040518163ffffffff1660e01b8152600401602060405180830381865afa158015612821573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906128459190614ec1565b8888613de8565b5f805f805160206158ad83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af41580156128b8573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906128dc919061500f565b156129085780546040516301ab8b6760e21b81526001600160601b039091166004820152602401610bde565b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038581166004830152919091169063c3c5a54790602401602060405180830381865afa15801561295a573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061297e919061500f565b6129a65760405163b9304b0d60e01b81526001600160a01b0384166004820152602401610bde565b6001546001600160a01b0316604051632f2a35f760e11b81526001600160a01b0385811660048301529190911690635e546bee90602401602060405180830381865afa1580156129f8573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612a1c9190614e74565b81546bffffffffffffffffffffffff19166001600160601b039190911690811790915592915050565b5f80612a52836001613c36565b91509150915091565b5f805160206158ed833981519152805460011901612a8c57604051633ee5aeb560e01b815260040160405180910390fd5b60029055565b60405163d905700760e01b81526001600160a01b038216600482015263a9c1bc6f60e01b602482015273__$fb599632d08395912d9d70eb2f0f93b5e2$__9063d905700790604401602060405180830381865af4158015612af5573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612b19919061500f565b612b415760405163b03d8c4360e01b81526001600160a01b0382166004820152602401610bde565b50565b5f805f805f805f805f612b69612b626001546001600160a01b031690565b8c8c613e1e565b809550819650829a508397508498505050505050826001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015612bb9573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612bdd9190614ec1565b9850826001600160a01b031663311adb686040518163ffffffff1660e01b8152600401602060405180830381865afa158015612c1b573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612c3f9190614ec1565b9750826001600160a01b031663d4cda0d86040518163ffffffff1660e01b8152600401602060405180830381865afa158015612c7d573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612ca19190614ec1565b965060ff8a16600c03612d2d57600354604051635d96628960e01b81526001600160a01b038481166004830152838116602483015290911690635d966289906044015f604051808303815f875af1158015612cfe573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052612d2591908101906154e4565b519450612db1565b600354604051631fa14e4960e11b81526001600160a01b03848116600483015260ff8d166024830152838116604483015290911690633f429c92906064015f604051808303815f875af1158015612d86573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052612dad91908101906154e4565b5194505b5f826001600160a01b031663b423086c6040518163ffffffff1660e01b81526004015f60405180830381865afa158015612ded573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052612e149190810190614f3b565b602081015190915073__$51089c37ca0df1177a910c640c8c5f8165$__6350c6470d612e486001546001600160a01b031690565b86848e6001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015612e86573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612eaa9190614ec1565b60405160e086901b6001600160e01b03191681526001600160a01b039485166004820152928416602484015290831660448301529091166064820152608401602060405180830381865af4158015612f04573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612f289190614ec1565b6001600160a01b03908116604080850191909152516328f72e8760e01b8152908a16906328f72e8790612f61908a9086906004016155b9565b5f604051808303815f87803b158015612f78575f80fd5b505af1158015612f8a573d5f803e3d5ffd5b50505050836001600160a01b031663138461e06040518163ffffffff1660e01b81526004016020604051808303815f875af1158015612fcb573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612fef9190614e74565b50604080516001600160601b0388811682528916602082015260ff8e16818301526001600160a01b0386811660608301528381166080830152851660a082015290517f269a46dac9ba8227194b6513fdb68da07796b42aa1d111f1eaec8f2126aed6c69181900360c00190a15050505050509295509295909350565b60015f805160206158ed83398151915255565b6101c6614499565b5f613165604080516101e0810182525f808252602080830182905282840182905260608084018390526080840183905260a0840183905260c0840183905260e08401528351808501855282815280820183905261010084015283518085018552828152808201839052610120840152835180850185528281528082018390526101408401528351808501855282815280820183905261016084015283518085018552828152808201839052610180840152835180850185528281528082018390526101a08401528351808501909452818452830152906101c082015290565b6001546001600160a01b03166040516305247a1760e51b81526001600160601b03851660048201526001600160a01b03919091169063a48f42e0906024015f60405180830381865afa1580156131bd573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526131e491908101906154e4565b602001516040516302d764c760e21b81526001600160601b03821660048201529092506001600160a01b03851690630b5d931c906024015f60405180830381865afa158015613235573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f1916820160405261325c91908101906150fa565b90509250929050565b81516020808401518351918401516040517f52d1fb99d890f3b2be95c262d870f89c22614249751b9fe6124d341bedbd70db946132aa948a948a949293909290615625565b60405180910390a150505050565b5f8051602061590d8339815191528054600160401b810460ff1615906001600160401b03165f811580156132e95750825b90505f826001600160401b031660011480156133045750303b155b905081158015613312575080155b156133305760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561335a57845460ff60401b1916600160401b1785555b5f8087806020019051810190613370919061566b565b9150915061337f82828b6144d1565b6133896022614573565b600280546001600160a01b0319166001600160a01b03929092169190911781556133b290614573565b600380546001600160a01b0319166001600160a01b03929092169190911790556133dc600a614573565b600480546001600160a01b0319166001600160a01b039290921691909117905561340c6331803d1360e01b61460a565b5050831561117c57845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020016115df565b5f8080808061346086600f612b44565b6040516302d764c760e21b81526001600160601b0383166004820152909950939750919550935091505f906001600160a01b03861690630b5d931c906024015f60405180830381865afa1580156134b9573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526134e091908101906150fa565b60a08101516040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af415801561353f573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190613563919061500f565b1561359a5760a08101516040516397f129bf60e01b81526001600160601b0380851660048301529091166024820152604401610bde565b5f879050836001600160a01b031663fe7fc94188836001600160a01b03166385ba83446040518163ffffffff1660e01b815260040160e060405180830381865afa1580156135ea573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061360e9190615698565b604080516001600160e01b031960e086901b1681526001600160601b03938416600482015282519093166024840152602082015115156044840152810151151560648301526060810151151560848301526080810151151560a483015260a081015160c483015260c0015160e4820152610104015f604051808303815f87803b158015613699575f80fd5b505af11580156136ab573d5f803e3d5ffd5b505050506001600160601b03871660a0830152604051632ee46ad960e01b81526001600160a01b03851690632ee46ad9906136ef908690869060ff9060040161556a565b5f604051808303815f87803b158015613706575f80fd5b505af1158015613718573d5f803e3d5ffd5b50506040516392e2a62f60e01b81526001600160a01b038481166004830152881692506392e2a62f91506024015f604051808303815f87803b15801561375c575f80fd5b505af115801561376e573d5f803e3d5ffd5b50505050505050505050919050565b5f613786612a5b565b5f80808061379586600e612b44565b6040516302d764c760e21b81526001600160601b0383166004820152909950939750919550935091505f906001600160a01b03861690630b5d931c906024015f60405180830381865afa1580156137ee573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f1916820160405261381591908101906150fa565b905080604001516138445760405163931d421760e01b81526001600160601b0383166004820152602401610bde565b60c08101516040516330b8415f60e01b81526001600160601b03909116600482015273__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af41580156138a0573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906138c4919061500f565b156138fb5760c08101516040516323a0cc7160e11b81526001600160601b0380851660048301529091166024820152604401610bde565b6001600160601b03861660c0820152604051632ee46ad960e01b81526001600160a01b03841690632ee46ad99061393b908590859060ff9060040161556a565b5f604051808303815f87803b158015613952575f80fd5b505af1158015613964573d5f803e3d5ffd5b50506040516392e2a62f60e01b81526001600160a01b038a81166004830152871692506392e2a62f91506024015f604051808303815f87803b1580156139a8575f80fd5b505af11580156139ba573d5f803e3d5ffd5b50505050505050505061101560015f805160206158ed83398151915255565b5f808080806139e986600d612b44565b6040516302d764c760e21b81526001600160601b0383166004820152909950939750919550935091505f906001600160a01b03861690630b5d931c906024015f60405180830381865afa158015613a42573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052613a6991908101906150fa565b9050806060015160ff165f03613a9d57604051634435e56b60e01b81526001600160601b0383166004820152602401610bde565b806060015160ff16816080015160ff1603613ae55760608101516040516379060d1360e11b81526001600160601b038416600482015260ff9091166024820152604401610bde565b858160e00151826080015160ff1681518110613b0357613b03615726565b6001600160601b039092166020928302919091019091015260808101805190613b2b8261573a565b60ff169052506001600160a01b038316632ee46ad98383613b4a60ff90565b6040518463ffffffff1660e01b8152600401613b689392919061556a565b5f604051808303815f87803b158015613b7f575f80fd5b505af1158015613b91573d5f803e3d5ffd5b50506040516392e2a62f60e01b81526001600160a01b038a81166004830152871692506392e2a62f9150602401610e0b565b7ff3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a0080546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b6040805160e0810182525f8082526020820181905291810182905260608082018390526080820183905260a0820183905260c082015281905f613c7a86600b612696565b15613d345773__$fb599632d08395912d9d70eb2f0f93b5e2$__635c990ed3613cab6001546001600160a01b031690565b6040516001600160e01b031960e084901b1681526001600160a01b03909116600482015233602482015260ff8916604482015287151560648201526084015f60405180830381865af4158015613d03573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052613d2a9190810190615764565b9092509050613ddc565b73__$fb599632d08395912d9d70eb2f0f93b5e2$__63aa13a988613d606001546001600160a01b031690565b6040516001600160e01b031960e084901b1681526001600160a01b03909116600482015233602482015287151560448201526064015f60405180830381865af4158015613daf573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052613dd69190810190615764565b90925090505b90519590945092505050565b604051638689231360e01b81526001600160a01b0383811660048301528215156024830152841690638689231390604401611153565b6040516308b09a5f60e41b81523360048201525f90819081908190819081906001600160a01b038a1690638b09a5f0906024015f60405180830381865afa158015613e6b573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052613e9291908101906154e4565b8051604051630a4d29dd60e31b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906352694ee890602401602060405180830381865af4158015613eee573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190613f12919061500f565b15613f325760405163f75940a160e01b8152336004820152602401610bde565b805f015193508792505f836001600160a01b0316630fec111c6040518163ffffffff1660e01b81526004015f60405180830381865afa158015613f77573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052613f9e91908101906154e4565b9050613fb581604001518960ff9081169116141590565b15613ff5576040808201519051634a2e948760e11b81526001600160a01b038b16600482015260ff808b1660248301529091166044820152606401610bde565b6001546001600160a01b0316604051632f2a35f760e11b81526001600160a01b038b811660048301529190911690635e546bee90602401602060405180830381865afa158015614047573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061406b9190614e74565b6040516330b8415f60e01b81526001600160601b03909116600482015273__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af41580156140c2573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906140e6919061500f565b1561410f576040516322e6526160e11b81526001600160a01b038a166004820152602401610bde565b60405163bf8e179760e01b81526001600160601b03861660048201525f906001600160a01b038c169063bf8e179790602401602060405180830381865afa15801561415c573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906141809190614ec1565b9050614221856001600160a01b03166376b707b76040518163ffffffff1660e01b8152600401602060405180830381865afa1580156141c1573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906141e5919061559e565b826001600160a01b03166376b707b76040518163ffffffff1660e01b8152600401602060405180830381865afa15801561278d573d5f803e3d5ffd5b1561431c5789856001600160a01b03166376b707b76040518163ffffffff1660e01b8152600401602060405180830381865afa158015614263573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190614287919061559e565b826001600160a01b03166376b707b76040518163ffffffff1660e01b8152600401602060405180830381865afa1580156142c3573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906142e7919061559e565b6040516381ce428760e01b81526001600160a01b03909316600484015260ff9182166024840152166044820152606401610bde565b61432d8260200151845f0151614636565b156143655782516020830151604051633e22765160e11b81526001600160601b03928316600482015291166024820152604401610bde565b60ff8916600c036143c2576143808360400151612696600a90565b156143b9578251604080850151905163179bdfb960e01b81526001600160601b03909216600483015260ff166024820152604401610bde565b82519750614412565b6143d28360400151612696600c90565b1561440a578251604080850151905162d4546160e11b81526001600160601b03909216600483015260ff166024820152604401610bde565b826020015197505b60a082015160405163bf8e179760e01b81526001600160601b038a1660048201529094506001600160a01b038c169063bf8e179790602401602060405180830381865afa158015614465573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906144899190614ec1565b9650505050939792965093509350565b5f8051602061590d83398151915254600160401b900460ff166144cf57604051631afcd79f60e31b815260040160405180910390fd5b565b6144d9614499565b6144e16146c1565b61455e8383846001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa158015614522573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906145469190614e74565b60085f8660405180602001604052805f8152506146d1565b61456e63daf9067160e01b61460a565b505050565b5f6145866001546001600160a01b031690565b6001600160a01b031663d39e60438361459d611d3e565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa1580156145e0573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906146049190614ec1565b92915050565b614612614499565b6001600160e01b0319165f908152602081905260409020805460ff19166001179055565b6040516399009c5160e01b81526001600160601b038084166004830152821660248201525f9073__$94a2c899be079b00d952d0d84fffaa5c34$__906399009c5190604401602060405180830381865af4158015614696573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906146ba919061500f565b9392505050565b6146c9614499565b6144cf61487b565b6146d9614499565b604051632330f24760e01b81526001600160a01b038816600482015273__$fb599632d08395912d9d70eb2f0f93b5e2$__90632330f24790602401602060405180830381865af415801561472f573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190614753919061500f565b61477b5760405163cf6935e560e01b81526001600160a01b0388166004820152602401610bde565b61478487614883565b61478e8683614894565b5f805160206158cd83398151915280546001600160601b0387166cffffffffffffffffffffffffff1990911617600160601b60ff871602178155604080516376b707b760e01b815290516001600160a01b038a16916376b707b79160048083019260209291908290030181865afa15801561480b573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061482f919061559e565b815461ffff60681b1916600160681b60ff929092169190910260ff60701b191617600160701b851515021781556001810161486a83826157f2565b506123a2634a531f3360e01b61460a565b61306b614499565b61488b614499565b612b418161490a565b61489c614499565b6148a58261491b565b6148ad6149e7565b6001600160a01b0381166148d45760405163f17ef42d60e01b815260040160405180910390fd5b5f805160206158ad83398151915280546001600160601b0316600160601b6001600160a01b039093169290920291909117905550565b614912614499565b612b4181613bc3565b614923614499565b604051633334d16b60e01b81526001600160a01b038216600482015273__$fb599632d08395912d9d70eb2f0f93b5e2$__90633334d16b90602401602060405180830381865af4158015614979573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061499d919061500f565b6149c55760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610bde565b600180546001600160a01b0319166001600160a01b0392909216919091179055565b6149ef614499565b6301ffc9a760e01b5f9081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b5f60208284031215614a3c575f80fd5b81356001600160e01b0319811681146146ba575f80fd5b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081526001600160601b0382511660208201526001600160601b03602083015116604082015260ff60408301511660608201525f6060830151614ac9608084018215159052565b5060808301516001600160a01b03811660a08401525060a08301516001600160a01b03811660c08401525060c083015160e080840152614b0d610100840182614a53565b949350505050565b6001600160601b0381168114612b41575f80fd5b5f60208284031215614b39575f80fd5b81356146ba81614b15565b6001600160a01b0381168114612b41575f80fd5b5f60208284031215614b68575f80fd5b81356146ba81614b44565b5f8060408385031215614b84575f80fd5b8235614b8f81614b44565b91506020830135614b9f81614b15565b809150509250929050565b634e487b7160e01b5f52604160045260245ffd5b604080519081016001600160401b0381118282101715614be057614be0614baa565b60405290565b604051608081016001600160401b0381118282101715614be057614be0614baa565b6040516101e081016001600160401b0381118282101715614be057614be0614baa565b60405160e081016001600160401b0381118282101715614be057614be0614baa565b604051601f8201601f191681016001600160401b0381118282101715614c7557614c75614baa565b604052919050565b5f6001600160401b03821115614c9557614c95614baa565b50601f01601f191660200190565b5f82601f830112614cb2575f80fd5b8135614cc5614cc082614c7d565b614c4d565b818152846020838601011115614cd9575f80fd5b816020850160208301375f918101602001919091529392505050565b5f60208284031215614d05575f80fd5b81356001600160401b03811115614d1a575f80fd5b614b0d84828501614ca3565b5f60408284031215614d36575f80fd5b614d3e614bbe565b823581526020928301359281019290925250919050565b5f8060808385031215614d66575f80fd5b614d708484614d26565b915061325c8460408501614d26565b5f8060408385031215614d90575f80fd5b8235614d9b81614b44565b915060208301356001600160401b03811115614db5575f80fd5b614dc185828601614ca3565b9150509250929050565b8015158114612b41575f80fd5b5f8060408385031215614de9575f80fd5b8235614df481614b44565b91506020830135614b9f81614dcb565b5f805f60c08486031215614e16575f80fd5b614e208585614d26565b9250614e2f8560408601614d26565b9150614e3e8560808601614d26565b90509250925092565b5f60208284031215614e57575f80fd5b815162ffffff811681146146ba575f80fd5b805161101581614b15565b5f60208284031215614e84575f80fd5b81516146ba81614b15565b600181811c90821680614ea357607f821691505b60208210810361191c57634e487b7160e01b5f52602260045260245ffd5b5f60208284031215614ed1575f80fd5b81516146ba81614b44565b5f614ee9614cc084614c7d565b9050828152838383011115614efc575f80fd5b8282602083015e5f602084830101529392505050565b805161101581614b44565b5f82601f830112614f2c575f80fd5b6146ba83835160208501614edc565b5f60208284031215614f4b575f80fd5b81516001600160401b03811115614f60575f80fd5b820160808185031215614f71575f80fd5b614f79614be6565b81516001600160401b03811115614f8e575f80fd5b8201601f81018613614f9e575f80fd5b614fad86825160208401614edc565b825250614fbc60208301614f12565b6020820152614fcd60408301614f12565b604082015260608201516001600160401b03811115614fea575f80fd5b614ff686828501614f1d565b606083015250949350505050565b805161101581614dcb565b5f6020828403121561501f575f80fd5b81516146ba81614dcb565b60ff81168114612b41575f80fd5b80516110158161502a565b5f82601f830112615052575f80fd5b81516001600160401b0381111561506b5761506b614baa565b8060051b61507b60208201614c4d565b91825260208185018101929081019086841115615096575f80fd5b6020860192505b838310156150c15782516150b081614b15565b82526020928301929091019061509d565b9695505050505050565b5f604082840312156150db575f80fd5b6150e3614bbe565b825181526020928301519281019290925250919050565b5f6020828403121561510a575f80fd5b81516001600160401b0381111561511f575f80fd5b82016102c08185031215615131575f80fd5b615139614c08565b61514282615004565b815261515060208301615004565b602082015261516160408301615004565b604082015261517260608301615038565b606082015261518360808301615038565b608082015261519460a08301614e69565b60a08201526151a560c08301614e69565b60c082015260e08201516001600160401b038111156151c2575f80fd5b6151ce86828501615043565b60e0830152506151e28561010084016150cb565b6101008201526151f68561014084016150cb565b61012082015261520a8561018084016150cb565b61014082015261521e856101c084016150cb565b6101608201526152328561020084016150cb565b6101808201526152468561024084016150cb565b6101a082015261525a8561028084016150cb565b6101c0820152949350505050565b5f8151808452602084019350602083015f5b828110156152a15781516001600160601b031686526020958601959091019060010161527a565b5093949350505050565b8051151582525f60208201516152c5602085018215159052565b5060408201516152d9604085018215159052565b5060608201516152ee606085018260ff169052565b506080820151615303608085018260ff169052565b5060a082015161531e60a08501826001600160601b03169052565b5060c082015161533960c08501826001600160601b03169052565b5060e08201516102c060e08501526153556102c0850182615268565b905061010083015161537561010086018280518252602090810151910152565b506101208301518051610140860152602081015161016086015250610140830151805161018086015260208101516101a08601525061016083015180516101c086015260208101516101e08601525061018083015180516102008601526020810151610220860152506101a083015180516102408601526020810151610260860152506101c0830151805161028086015260208101516102a0860152509392505050565b6001600160601b0383168152604060208201525f614b0d60408301846152ab565b5f60e0828403121561544a575f80fd5b615452614c2b565b905061545d82614e69565b815261546b60208301614e69565b602082015261547c60408301615038565b604082015261548d60608301615004565b606082015261549e60808301614f12565b60808201526154af60a08301614f12565b60a082015260c08201516001600160401b038111156154cc575f80fd5b6154d884828501614f1d565b60c08301525092915050565b5f602082840312156154f4575f80fd5b81516001600160401b03811115615509575f80fd5b614b0d8482850161543a565b6001600160401b0381168114612b41575f80fd5b5f60208284031215615539575f80fd5b81516146ba81615515565b8251815260208084015181830152825160408301528201516060820152608081016146ba565b6001600160601b0384168152606060208201525f61558b60608301856152ab565b905060ff83166040830152949350505050565b5f602082840312156155ae575f80fd5b81516146ba8161502a565b6001600160601b0383168152604060208201525f8251608060408401526155e360c0840182614a53565b60208501516001600160a01b0390811660608681019190915260408701519091166080860152850151848203603f190160a08601529091506150c18282614a53565b6001600160601b038716815260c060208201525f61564660c0830188614a53565b90508560408301528460608301528360808301528260a0830152979650505050505050565b5f806040838503121561567c575f80fd5b825161568781614b44565b6020840151909250614b9f81614b44565b5f60e08284031280156156a9575f80fd5b506156b2614c2b565b82516156bd81614b15565b815260208301516156cd81614dcb565b602082015260408301516156e081614dcb565b604082015260608301516156f381614dcb565b606082015261570460808401615004565b608082015260a0838101519082015260c0928301519281019290925250919050565b634e487b7160e01b5f52603260045260245ffd5b5f60ff821660ff810361575b57634e487b7160e01b5f52601160045260245ffd5b60010192915050565b5f8060408385031215615775575f80fd5b82516001600160401b0381111561578a575f80fd5b6157968582860161543a565b9250506020830151614b9f81614b44565b601f82111561456e57805f5260205f20601f840160051c810160208510156157cc5750805b601f840160051c820191505b818110156157eb575f81556001016157d8565b5050505050565b81516001600160401b0381111561580b5761580b614baa565b61581f816158198454614e8f565b846157a7565b6020601f821160018114615851575f831561583a5750848201515b5f19600385901b1c1916600184901b1784556157eb565b5f84815260208120601f198516915b828110156158805787850151825560209485019460019092019101615860565b508482101561589d57868401515f19600387901b60f8161c191681555b50505050600190811b0190555056fe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f006548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa3009b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f00f0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00a2646970667358221220d1d04f379327e5860dc3ab52cc73698116afcf0be80aef39d23bd898ae97d1f864736f6c634300081a0033",
1272
+ "deployedBytecode": "0x608060405234801561000f575f80fd5b50600436106101c6575f3560e01c80636078a3b2116100fe5780638fb360371161009e578063bf7e214f1161006e578063bf7e214f14610419578063c142a30314610421578063deaa59df14610434578063f133a56614610447575f80fd5b80638fb36037146103ca578063ada9652e146103eb578063ae1fa5e6146103ff578063b68d180914610412575f80fd5b80636c741e78116100d95780636c741e781461037557806376b707b7146103955780637a9e5e4b146103af578063893d20e8146103c2575f80fd5b80636078a3b214610332578063644c45e01461034557806367ba1c1014610362575f80fd5b80632d46f5df1161016957806337a897ee1161014457806337a897ee146102d4578063419197fe146102e757806349bb9e4b146102fa5780635ab1bd531461030d575f80fd5b80632d46f5df146102995780633192acb2146102ac578063329d6e74146102c1575f80fd5b8063138461e0116101a4578063138461e01461023c5780631c6b21901461025c5780631eff4b221461026f57806322f3e2d414610291575f80fd5b806301ffc9a7146101ca5780630d8e6e2c1461020b5780630fec111c14610227575b5f80fd5b6101f66101d8366004614a2c565b6001600160e01b0319165f9081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b61021361045a565b60405162ffffff9091168152602001610202565b61022f6104e1565b6040516102029190614a81565b61024461068c565b6040516001600160601b039091168152602001610202565b61024461026a366004614b29565b610696565b6102835f805160206158cd83398151915281565b604051908152602001610202565b6101f6610e42565b6102446102a7366004614b58565b610eb9565b6102bf6102ba366004614b73565b61101a565b005b6102bf6102cf366004614cf5565b611185565b6102bf6102e2366004614d55565b6112cf565b6102bf6102f5366004614b73565b6115f0565b6102bf610308366004614d7f565b611749565b6001546001600160a01b03165b6040516001600160a01b039091168152602001610202565b610244610340366004614b58565b611837565b5f805160206158ad833981519152546001600160601b0316610244565b6102bf610370366004614d55565b611922565b61037d611cb2565b6040516001600160401b039091168152602001610202565b61039d611d3e565b60405160ff9091168152602001610202565b6102bf6103bd366004614b58565b611d5a565b61031a611ddc565b6103d2611f0d565b6040516001600160e01b03199091168152602001610202565b6102835f805160206158ad83398151915281565b6102bf61040d366004614dd8565b611f55565b600b61039d565b61031a611fde565b6102bf61042f366004614e04565b61200c565b6102bf610442366004614b58565b6123ac565b6102bf610455366004614dd8565b6124eb565b604051632efe011360e01b8152600360048201525f60248201819052604482018190529073__$8eede297b65ed5a56eb3f84d8232ae93f5$__90632efe011390606401602060405180830381865af41580156104b8573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906104dc9190614e47565b905090565b6040805160e0810182525f8082526020820181905291810182905260608082018390526080820183905260a082019290925260c08101919091525f5f805160206158cd83398151915290506040518060e0016040528073__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af415801561057e573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906105a29190614e74565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160701b909104161515606082015230608082015260a0016105ea611ddc565b6001600160a01b0316815260200182600101805461060790614e8f565b80601f016020809104026020016040519081016040528092919081815260200182805461063390614e8f565b801561067e5780601f106106555761010080835404028352916020019161067e565b820191905f5260205f20905b81548152906001019060200180831161066157829003601f168201915b505050505081525091505090565b5f6104dc3061284c565b5f80806106a3600b612a45565b915091505f816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa1580156106e4573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906107089190614ec1565b60405163f0ea17c360e01b81526001600160601b03851660048201526001600160a01b03919091169063f0ea17c3906024015f60405180830381865afa158015610754573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f1916820160405261077b9190810190614f3b565b90505f81604001516001600160a01b031663132996046040518163ffffffff1660e01b8152600401602060405180830381865afa1580156107be573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906107e29190614ec1565b9050859450846001600160601b031673__$3bac17678db7ae928afa209f2f44deec9c$__63262b32d2909173__$3bac17678db7ae928afa209f2f44deec9c$__636ac5db196040518163ffffffff1660e01b8152600401602060405180830381865af4158015610854573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906108789190614e74565b6040516001600160e01b031960e085901b1681526001600160601b03928316600482015291166024820152604401602060405180830381865af41580156108c1573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906108e5919061500f565b156109c257826001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015610926573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061094a9190614ec1565b604051630232ca4960e01b81526001600160601b03861660048201526001600160a01b039190911690630232ca4990602401602060405180830381865afa158015610997573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906109bb9190614e74565b9450610be9565b604051630a4d29dd60e31b81526001600160601b038616600482015273__$3bac17678db7ae928afa209f2f44deec9c$__906352694ee890602401602060405180830381865af4158015610a18573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610a3c919061500f565b15610a5a5760405163b079ec2b60e01b815260040160405180910390fd5b5f836001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015610a97573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610abb9190614ec1565b604051630232ca4960e01b81526001600160601b03871660048201526001600160a01b039190911690630232ca4990602401602060405180830381865afa158015610b08573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b2c9190614e74565b604051632601631360e21b81526001600160601b0388811660048301528216602482015290915073__$3bac17678db7ae928afa209f2f44deec9c$__906398058c4c90604401602060405180830381865af4158015610b8d573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610bb1919061500f565b15610be75760405163151dbb3f60e01b81526001600160601b038088166004830152821660248201526044015b60405180910390fd5b505b60025f9054906101000a90046001600160a01b03166001600160a01b031663346696cc846001600160a01b031663d4cda0d86040518163ffffffff1660e01b8152600401602060405180830381865afa158015610c48573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610c6c9190614ec1565b6040516001600160e01b031960e084901b1681526001600160a01b0390911660048201526001600160601b038088166024830152881660448201526064015f604051808303815f87803b158015610cc1575f80fd5b505af1158015610cd3573d5f803e3d5ffd5b505050505f610cea6001546001600160a01b031690565b604051631c5da14d60e11b81526001600160601b03871660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015610d37573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610d5b9190614ec1565b602080850151604080516001600160601b03808b1682526001600160a01b0380871695830195909552939092169082015290881660608201529091507f694f0f8f2682e6c05697feed9065540f51c00d4510b16dbdb60606c6e5abfde99060800160405180910390a1604080840151905163153c361360e21b81526001600160a01b03848116600483015283811660248301526001600160601b0389166044830152909116906354f0d84c906064015b5f604051808303815f87803b158015610e22575f80fd5b505af1158015610e34573d5f803e3d5ffd5b505050505050505050919050565b5f610e4b611fde565b60405163a166aa8960e01b81523060048201526001600160a01b03919091169063a166aa8990602401602060405180830381865afa158015610e8f573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610eb3919061500f565b15905090565b5f610ec2612a5b565b81610ecc81612a92565b5f80610ed985600c612b44565b604080516330422f5360e21b81529051919950939650919450889350506001600160a01b0380851692639654005792899286169163c108bd4c916004808301925f9291908290030181865afa158015610f34573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052610f5b91908101906150fa565b6040518363ffffffff1660e01b8152600401610f78929190615419565b5f604051808303815f87803b158015610f8f575f80fd5b505af1158015610fa1573d5f803e3d5ffd5b50506040516392e2a62f60e01b81526001600160a01b038481166004830152861692506392e2a62f91506024015f604051808303815f87803b158015610fe5575f80fd5b505af1158015610ff7573d5f803e3d5ffd5b505050505050505061101560015f805160206158ed83398151915255565b919050565b73__$fb599632d08395912d9d70eb2f0f93b5e2$__630c21dea26110466001546001600160a01b031690565b6040516001600160e01b031960e084901b1681526001600160a01b0390911660048201523360248201526044015f60405180830381865af415801561108d573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526110b491908101906154e4565b505f336001600160a01b03166343d752d36040518163ffffffff1660e01b8152600401602060405180830381865afa1580156110f2573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906111169190614ec1565b60405163ea0b3c7360e01b81526001600160a01b0385811660048301526001600160601b03851660248301529192509082169063ea0b3c73906044015b5f604051808303815f87803b15801561116a575f80fd5b505af115801561117c573d5f803e3d5ffd5b50505050505050565b73__$8eede297b65ed5a56eb3f84d8232ae93f5$__63a123b37c6111a761045a565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af41580156111e5573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906112099190615529565b5f8051602061590d8339815191528054600160401b900460ff168061123b575080546001600160401b03808416911610155b156112595760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b1781556112838361307e565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a1505050565b5f806112db600e612a45565b915091505f8061134a836001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015611320573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906113449190614ec1565b85613086565b915091505f73__$58e11c6004c5796aaa8c56e718245e69a2$__632b324dc0836101400151896040518363ffffffff1660e01b815260040161138d929190615544565b602060405180830381865af41580156113a8573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906113cc919061500f565b61141457611408836040518060400160405280600f81526020016e446973747269627574696f6e46656560881b8152508461014001518a613265565b50610140810186905260015b61016082015160405162acc93760e61b815273__$58e11c6004c5796aaa8c56e718245e69a2$__91632b324dc09161145191908a90600401615544565b602060405180830381865af415801561146c573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611490919061500f565b6114e6576114da836040518060400160405280601781526020017f4d696e446973747269627574696f6e4f776e657246656500000000000000000081525084610160015189613265565b50610160810185905260015b801561117c57836001600160a01b031663d4cda0d86040518163ffffffff1660e01b8152600401602060405180830381865afa158015611528573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061154c9190614ec1565b6001600160a01b0316632ee46ad9848460ff6040518463ffffffff1660e01b815260040161157c9392919061556a565b5f604051808303815f87803b158015611593575f80fd5b505af11580156115a5573d5f803e3d5ffd5b50506040516001600160601b03881681527f37bea7afe3960b639e98d9161b22f53a172300df8ec6ee71fd0a5321dcecd59b925060200190505b60405180910390a150505050505050565b5f806115fc600b612a45565b915091505f816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa15801561163d573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906116619190614ec1565b60405163f0ea17c360e01b81526001600160601b03851660048201526001600160a01b03919091169063f0ea17c3906024015f60405180830381865afa1580156116ad573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526116d49190810190614f3b565b604090810151905163ea0b3c7360e01b81526001600160a01b0387811660048301526001600160601b03871660248301529192509082169063ea0b3c73906044015f604051808303815f87803b15801561172c575f80fd5b505af115801561173e573d5f803e3d5ffd5b505050505050505050565b5f8051602061590d8339815191528054600160401b810460ff1615906001600160401b03165f8115801561177a5750825b90505f826001600160401b031660011480156117955750303b155b9050811580156117a3575080155b156117c15760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff1916600117855583156117eb57845460ff60401b1916600160401b1785555b6117f587876132b8565b831561117c57845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020016115df565b5f8161184281612a92565b5f836001600160a01b0316630fec111c6040518163ffffffff1660e01b81526004015f60405180830381865afa15801561187e573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526118a591908101906154e4565b60400151905060ff8116600f036118c7576118bf84613450565b92505061191c565b60ff8116600e036118db576118bf8461377d565b60ff8116600d036118ef576118bf846139d9565b604051630de61afd60e41b81526001600160a01b038516600482015260ff82166024820152604401610bde565b50919050565b61192a612a5b565b5f80611936600c612a45565b915091505f816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015611977573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061199b9190614ec1565b6040516302d764c760e21b81526001600160601b03851660048201526001600160a01b039190911690630b5d931c906024015f60405180830381865afa1580156119e7573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052611a0e91908101906150fa565b90505f73__$58e11c6004c5796aaa8c56e718245e69a2$__632b324dc0836101000151886040518363ffffffff1660e01b8152600401611a4f929190615544565b602060405180830381865af4158015611a6a573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611a8e919061500f565b611ad157611ac5846040518060400160405280600a81526020016950726f6475637446656560b01b81525084610100015189613265565b50610100810185905260015b61012082015160405162acc93760e61b815273__$58e11c6004c5796aaa8c56e718245e69a2$__91632b324dc091611b0e91908990600401615544565b602060405180830381865af4158015611b29573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611b4d919061500f565b611b9357611b87846040518060400160405280600d81526020016c50726f63657373696e6746656560981b81525084610120015188613265565b50610120810184905260015b8015611c9457826001600160a01b031663d4cda0d86040518163ffffffff1660e01b8152600401602060405180830381865afa158015611bd5573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611bf99190614ec1565b6001600160a01b0316632ee46ad9858460ff6040518463ffffffff1660e01b8152600401611c299392919061556a565b5f604051808303815f87803b158015611c40575f80fd5b505af1158015611c52573d5f803e3d5ffd5b50506040516001600160601b03871681527f385da3b17e82d72dd7e4cbe895c7d7d3fbb4c8768e0866dd69f44581a0ded2bc9250602001905060405180910390a15b50505050611cae60015f805160206158ed83398151915255565b5050565b5f73__$1d92393fa9ccd763988368ce8a1cb90d26$__63dda777d3600b611cd7611d3e565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865af4158015611d1a573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906104dc9190615529565b5f805160206158cd83398151915254600160681b900460ff1690565b33611d63611fde565b6001600160a01b0316816001600160a01b031614611d9e5760405162d1953b60e31b81526001600160a01b0382166004820152602401610bde565b816001600160a01b03163b5f03611dd3576040516361798f2f60e11b81526001600160a01b0383166004820152602401610bde565b611cae82613bc3565b5f805f805160206158ad83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015611e48573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611e6c919061500f565b15611ef7576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015611ecd573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611ef19190614ec1565b91505090565b54600160601b90046001600160a01b0316919050565b7ff3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a0080545f9190600160a01b900460ff16611f47575f611ef1565b638fb3603760e01b91505090565b33611f5f81612a92565b5f611f6b600b5f613c36565b915050611fd8816001600160a01b031663311adb686040518163ffffffff1660e01b8152600401602060405180830381865afa158015611fad573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611fd19190614ec1565b8585613de8565b50505050565b7ff3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00546001600160a01b031690565b5f80612018600f612a45565b915091505f8061205d836001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015611320573d5f803e3d5ffd5b915091505f73__$58e11c6004c5796aaa8c56e718245e69a2$__632b324dc08361018001518a6040518363ffffffff1660e01b81526004016120a0929190615544565b602060405180830381865af41580156120bb573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906120df919061500f565b61211f576121138360405180604001604052806007815260200166506f6f6c46656560c81b8152508461018001518b613265565b50610180810187905260015b6101a082015160405162acc93760e61b815273__$58e11c6004c5796aaa8c56e718245e69a2$__91632b324dc09161215c91908b90600401615544565b602060405180830381865af4158015612177573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061219b919061500f565b6121de576121d2836040518060400160405280600a8152602001695374616b696e6746656560b01b815250846101a001518a613265565b506101a0810186905260015b6101c082015160405162acc93760e61b815273__$58e11c6004c5796aaa8c56e718245e69a2$__91632b324dc09161221b91908a90600401615544565b602060405180830381865af4158015612236573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061225a919061500f565b6122a157612295836040518060400160405280600e81526020016d506572666f726d616e636546656560901b815250846101c0015189613265565b506101c0810185905260015b80156123a257836001600160a01b031663d4cda0d86040518163ffffffff1660e01b8152600401602060405180830381865afa1580156122e3573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906123079190614ec1565b6001600160a01b0316632ee46ad9848460ff6040518463ffffffff1660e01b81526004016123379392919061556a565b5f604051808303815f87803b15801561234e575f80fd5b505af1158015612360573d5f803e3d5ffd5b50506040516001600160601b03881681527f7a446b749117c015e0932e31190fc133582c9c5151e31209479cc9d21941f0359250602001905060405180910390a15b5050505050505050565b5f806123b8600b612a45565b915091505f816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa1580156123f9573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061241d9190614ec1565b60405163f0ea17c360e01b81526001600160601b03851660048201526001600160a01b03919091169063f0ea17c3906024015f60405180830381865afa158015612469573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526124909190810190614f3b565b604090810151905163deaa59df60e01b81526001600160a01b0386811660048301529192509082169063deaa59df906024015f604051808303815f87803b1580156124d9575f80fd5b505af11580156123a2573d5f803e3d5ffd5b5f6124fe6001546001600160a01b031690565b604051632f2a35f760e11b81523360048201526001600160a01b039190911690635e546bee90602401602060405180830381865afa158015612542573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906125669190614e74565b604051630a4d29dd60e31b81526001600160601b038216600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906352694ee890602401602060405180830381865af41580156125bf573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906125e3919061500f565b1561260357604051632c057fb960e11b8152336004820152602401610bde565b5f6126166001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03841660048201526001600160a01b03919091169063a48f42e0906024015f60405180830381865afa158015612662573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f1916820160405261268991908101906154e4565b6040015190506126a281600a5b60ff9081169116141590565b156126cb57604051630a7f204160e21b815233600482015260ff82166024820152604401610bde565b5f336001600160a01b03166376b707b76040518163ffffffff1660e01b8152600401602060405180830381865afa158015612708573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061272c919061559e565b90506127b18161273a61045a565b60405163c9e66e2960e01b815262ffffff909116600482015273__$8eede297b65ed5a56eb3f84d8232ae93f5$__9063c9e66e2990602401602060405180830381865af415801561278d573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612696919061559e565b156127da576040516302d3414160e31b815233600482015260ff82166024820152604401610bde565b5f3390505f81905061117c816001600160a01b031663311adb686040518163ffffffff1660e01b8152600401602060405180830381865afa158015612821573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906128459190614ec1565b8888613de8565b5f805f805160206158ad83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af41580156128b8573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906128dc919061500f565b156129085780546040516301ab8b6760e21b81526001600160601b039091166004820152602401610bde565b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038581166004830152919091169063c3c5a54790602401602060405180830381865afa15801561295a573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061297e919061500f565b6129a65760405163b9304b0d60e01b81526001600160a01b0384166004820152602401610bde565b6001546001600160a01b0316604051632f2a35f760e11b81526001600160a01b0385811660048301529190911690635e546bee90602401602060405180830381865afa1580156129f8573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612a1c9190614e74565b81546bffffffffffffffffffffffff19166001600160601b039190911690811790915592915050565b5f80612a52836001613c36565b91509150915091565b5f805160206158ed833981519152805460011901612a8c57604051633ee5aeb560e01b815260040160405180910390fd5b60029055565b60405163d905700760e01b81526001600160a01b038216600482015263a9c1bc6f60e01b602482015273__$fb599632d08395912d9d70eb2f0f93b5e2$__9063d905700790604401602060405180830381865af4158015612af5573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612b19919061500f565b612b415760405163b03d8c4360e01b81526001600160a01b0382166004820152602401610bde565b50565b5f805f805f805f805f612b69612b626001546001600160a01b031690565b8c8c613e1e565b809550819650829a508397508498505050505050826001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015612bb9573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612bdd9190614ec1565b9850826001600160a01b031663311adb686040518163ffffffff1660e01b8152600401602060405180830381865afa158015612c1b573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612c3f9190614ec1565b9750826001600160a01b031663d4cda0d86040518163ffffffff1660e01b8152600401602060405180830381865afa158015612c7d573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612ca19190614ec1565b965060ff8a16600c03612d2d57600354604051635d96628960e01b81526001600160a01b038481166004830152838116602483015290911690635d966289906044015f604051808303815f875af1158015612cfe573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052612d2591908101906154e4565b519450612db1565b600354604051631fa14e4960e11b81526001600160a01b03848116600483015260ff8d166024830152838116604483015290911690633f429c92906064015f604051808303815f875af1158015612d86573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052612dad91908101906154e4565b5194505b5f826001600160a01b031663b423086c6040518163ffffffff1660e01b81526004015f60405180830381865afa158015612ded573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052612e149190810190614f3b565b602081015190915073__$51089c37ca0df1177a910c640c8c5f8165$__6350c6470d612e486001546001600160a01b031690565b86848e6001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015612e86573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612eaa9190614ec1565b60405160e086901b6001600160e01b03191681526001600160a01b039485166004820152928416602484015290831660448301529091166064820152608401602060405180830381865af4158015612f04573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612f289190614ec1565b6001600160a01b03908116604080850191909152516328f72e8760e01b8152908a16906328f72e8790612f61908a9086906004016155b9565b5f604051808303815f87803b158015612f78575f80fd5b505af1158015612f8a573d5f803e3d5ffd5b50505050836001600160a01b031663138461e06040518163ffffffff1660e01b81526004016020604051808303815f875af1158015612fcb573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612fef9190614e74565b50604080516001600160601b0388811682528916602082015260ff8e16818301526001600160a01b0386811660608301528381166080830152851660a082015290517f269a46dac9ba8227194b6513fdb68da07796b42aa1d111f1eaec8f2126aed6c69181900360c00190a15050505050509295509295909350565b60015f805160206158ed83398151915255565b6101c6614499565b5f613165604080516101e0810182525f808252602080830182905282840182905260608084018390526080840183905260a0840183905260c0840183905260e08401528351808501855282815280820183905261010084015283518085018552828152808201839052610120840152835180850185528281528082018390526101408401528351808501855282815280820183905261016084015283518085018552828152808201839052610180840152835180850185528281528082018390526101a08401528351808501909452818452830152906101c082015290565b6001546001600160a01b03166040516305247a1760e51b81526001600160601b03851660048201526001600160a01b03919091169063a48f42e0906024015f60405180830381865afa1580156131bd573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526131e491908101906154e4565b602001516040516302d764c760e21b81526001600160601b03821660048201529092506001600160a01b03851690630b5d931c906024015f60405180830381865afa158015613235573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f1916820160405261325c91908101906150fa565b90509250929050565b81516020808401518351918401516040517f52d1fb99d890f3b2be95c262d870f89c22614249751b9fe6124d341bedbd70db946132aa948a948a949293909290615625565b60405180910390a150505050565b5f8051602061590d8339815191528054600160401b810460ff1615906001600160401b03165f811580156132e95750825b90505f826001600160401b031660011480156133045750303b155b905081158015613312575080155b156133305760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561335a57845460ff60401b1916600160401b1785555b5f8087806020019051810190613370919061566b565b9150915061337f82828b6144d1565b6133896022614573565b600280546001600160a01b0319166001600160a01b03929092169190911781556133b290614573565b600380546001600160a01b0319166001600160a01b03929092169190911790556133dc600a614573565b600480546001600160a01b0319166001600160a01b039290921691909117905561340c6331803d1360e01b61460a565b5050831561117c57845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020016115df565b5f8080808061346086600f612b44565b6040516302d764c760e21b81526001600160601b0383166004820152909950939750919550935091505f906001600160a01b03861690630b5d931c906024015f60405180830381865afa1580156134b9573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526134e091908101906150fa565b60a08101516040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af415801561353f573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190613563919061500f565b1561359a5760a08101516040516397f129bf60e01b81526001600160601b0380851660048301529091166024820152604401610bde565b5f879050836001600160a01b031663fe7fc94188836001600160a01b03166385ba83446040518163ffffffff1660e01b815260040160e060405180830381865afa1580156135ea573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061360e9190615698565b604080516001600160e01b031960e086901b1681526001600160601b03938416600482015282519093166024840152602082015115156044840152810151151560648301526060810151151560848301526080810151151560a483015260a081015160c483015260c0015160e4820152610104015f604051808303815f87803b158015613699575f80fd5b505af11580156136ab573d5f803e3d5ffd5b505050506001600160601b03871660a0830152604051632ee46ad960e01b81526001600160a01b03851690632ee46ad9906136ef908690869060ff9060040161556a565b5f604051808303815f87803b158015613706575f80fd5b505af1158015613718573d5f803e3d5ffd5b50506040516392e2a62f60e01b81526001600160a01b038481166004830152881692506392e2a62f91506024015f604051808303815f87803b15801561375c575f80fd5b505af115801561376e573d5f803e3d5ffd5b50505050505050505050919050565b5f613786612a5b565b5f80808061379586600e612b44565b6040516302d764c760e21b81526001600160601b0383166004820152909950939750919550935091505f906001600160a01b03861690630b5d931c906024015f60405180830381865afa1580156137ee573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f1916820160405261381591908101906150fa565b905080604001516138445760405163931d421760e01b81526001600160601b0383166004820152602401610bde565b60c08101516040516330b8415f60e01b81526001600160601b03909116600482015273__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af41580156138a0573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906138c4919061500f565b156138fb5760c08101516040516323a0cc7160e11b81526001600160601b0380851660048301529091166024820152604401610bde565b6001600160601b03861660c0820152604051632ee46ad960e01b81526001600160a01b03841690632ee46ad99061393b908590859060ff9060040161556a565b5f604051808303815f87803b158015613952575f80fd5b505af1158015613964573d5f803e3d5ffd5b50506040516392e2a62f60e01b81526001600160a01b038a81166004830152871692506392e2a62f91506024015f604051808303815f87803b1580156139a8575f80fd5b505af11580156139ba573d5f803e3d5ffd5b50505050505050505061101560015f805160206158ed83398151915255565b5f808080806139e986600d612b44565b6040516302d764c760e21b81526001600160601b0383166004820152909950939750919550935091505f906001600160a01b03861690630b5d931c906024015f60405180830381865afa158015613a42573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052613a6991908101906150fa565b9050806060015160ff165f03613a9d57604051634435e56b60e01b81526001600160601b0383166004820152602401610bde565b806060015160ff16816080015160ff1603613ae55760608101516040516379060d1360e11b81526001600160601b038416600482015260ff9091166024820152604401610bde565b858160e00151826080015160ff1681518110613b0357613b03615726565b6001600160601b039092166020928302919091019091015260808101805190613b2b8261573a565b60ff169052506001600160a01b038316632ee46ad98383613b4a60ff90565b6040518463ffffffff1660e01b8152600401613b689392919061556a565b5f604051808303815f87803b158015613b7f575f80fd5b505af1158015613b91573d5f803e3d5ffd5b50506040516392e2a62f60e01b81526001600160a01b038a81166004830152871692506392e2a62f9150602401610e0b565b7ff3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a0080546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b6040805160e0810182525f8082526020820181905291810182905260608082018390526080820183905260a0820183905260c082015281905f613c7a86600b612696565b15613d345773__$fb599632d08395912d9d70eb2f0f93b5e2$__635c990ed3613cab6001546001600160a01b031690565b6040516001600160e01b031960e084901b1681526001600160a01b03909116600482015233602482015260ff8916604482015287151560648201526084015f60405180830381865af4158015613d03573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052613d2a9190810190615764565b9092509050613ddc565b73__$fb599632d08395912d9d70eb2f0f93b5e2$__63aa13a988613d606001546001600160a01b031690565b6040516001600160e01b031960e084901b1681526001600160a01b03909116600482015233602482015287151560448201526064015f60405180830381865af4158015613daf573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052613dd69190810190615764565b90925090505b90519590945092505050565b604051638689231360e01b81526001600160a01b0383811660048301528215156024830152841690638689231390604401611153565b6040516308b09a5f60e41b81523360048201525f90819081908190819081906001600160a01b038a1690638b09a5f0906024015f60405180830381865afa158015613e6b573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052613e9291908101906154e4565b8051604051630a4d29dd60e31b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906352694ee890602401602060405180830381865af4158015613eee573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190613f12919061500f565b15613f325760405163f75940a160e01b8152336004820152602401610bde565b805f015193508792505f836001600160a01b0316630fec111c6040518163ffffffff1660e01b81526004015f60405180830381865afa158015613f77573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052613f9e91908101906154e4565b9050613fb581604001518960ff9081169116141590565b15613ff5576040808201519051634a2e948760e11b81526001600160a01b038b16600482015260ff808b1660248301529091166044820152606401610bde565b6001546001600160a01b0316604051632f2a35f760e11b81526001600160a01b038b811660048301529190911690635e546bee90602401602060405180830381865afa158015614047573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061406b9190614e74565b6040516330b8415f60e01b81526001600160601b03909116600482015273__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af41580156140c2573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906140e6919061500f565b1561410f576040516322e6526160e11b81526001600160a01b038a166004820152602401610bde565b60405163bf8e179760e01b81526001600160601b03861660048201525f906001600160a01b038c169063bf8e179790602401602060405180830381865afa15801561415c573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906141809190614ec1565b9050614221856001600160a01b03166376b707b76040518163ffffffff1660e01b8152600401602060405180830381865afa1580156141c1573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906141e5919061559e565b826001600160a01b03166376b707b76040518163ffffffff1660e01b8152600401602060405180830381865afa15801561278d573d5f803e3d5ffd5b1561431c5789856001600160a01b03166376b707b76040518163ffffffff1660e01b8152600401602060405180830381865afa158015614263573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190614287919061559e565b826001600160a01b03166376b707b76040518163ffffffff1660e01b8152600401602060405180830381865afa1580156142c3573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906142e7919061559e565b6040516381ce428760e01b81526001600160a01b03909316600484015260ff9182166024840152166044820152606401610bde565b61432d8260200151845f0151614636565b156143655782516020830151604051633e22765160e11b81526001600160601b03928316600482015291166024820152604401610bde565b60ff8916600c036143c2576143808360400151612696600a90565b156143b9578251604080850151905163179bdfb960e01b81526001600160601b03909216600483015260ff166024820152604401610bde565b82519750614412565b6143d28360400151612696600c90565b1561440a578251604080850151905162d4546160e11b81526001600160601b03909216600483015260ff166024820152604401610bde565b826020015197505b60a082015160405163bf8e179760e01b81526001600160601b038a1660048201529094506001600160a01b038c169063bf8e179790602401602060405180830381865afa158015614465573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906144899190614ec1565b9650505050939792965093509350565b5f8051602061590d83398151915254600160401b900460ff166144cf57604051631afcd79f60e31b815260040160405180910390fd5b565b6144d9614499565b6144e16146c1565b61455e8383846001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa158015614522573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906145469190614e74565b60085f8660405180602001604052805f8152506146d1565b61456e63daf9067160e01b61460a565b505050565b5f6145866001546001600160a01b031690565b6001600160a01b031663d39e60438361459d611d3e565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa1580156145e0573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906146049190614ec1565b92915050565b614612614499565b6001600160e01b0319165f908152602081905260409020805460ff19166001179055565b6040516399009c5160e01b81526001600160601b038084166004830152821660248201525f9073__$94a2c899be079b00d952d0d84fffaa5c34$__906399009c5190604401602060405180830381865af4158015614696573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906146ba919061500f565b9392505050565b6146c9614499565b6144cf61487b565b6146d9614499565b604051632330f24760e01b81526001600160a01b038816600482015273__$fb599632d08395912d9d70eb2f0f93b5e2$__90632330f24790602401602060405180830381865af415801561472f573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190614753919061500f565b61477b5760405163cf6935e560e01b81526001600160a01b0388166004820152602401610bde565b61478487614883565b61478e8683614894565b5f805160206158cd83398151915280546001600160601b0387166cffffffffffffffffffffffffff1990911617600160601b60ff871602178155604080516376b707b760e01b815290516001600160a01b038a16916376b707b79160048083019260209291908290030181865afa15801561480b573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061482f919061559e565b815461ffff60681b1916600160681b60ff929092169190910260ff60701b191617600160701b851515021781556001810161486a83826157f2565b506123a2634a531f3360e01b61460a565b61306b614499565b61488b614499565b612b418161490a565b61489c614499565b6148a58261491b565b6148ad6149e7565b6001600160a01b0381166148d45760405163f17ef42d60e01b815260040160405180910390fd5b5f805160206158ad83398151915280546001600160601b0316600160601b6001600160a01b039093169290920291909117905550565b614912614499565b612b4181613bc3565b614923614499565b604051633334d16b60e01b81526001600160a01b038216600482015273__$fb599632d08395912d9d70eb2f0f93b5e2$__90633334d16b90602401602060405180830381865af4158015614979573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061499d919061500f565b6149c55760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610bde565b600180546001600160a01b0319166001600160a01b0392909216919091179055565b6149ef614499565b6301ffc9a760e01b5f9081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b5f60208284031215614a3c575f80fd5b81356001600160e01b0319811681146146ba575f80fd5b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081526001600160601b0382511660208201526001600160601b03602083015116604082015260ff60408301511660608201525f6060830151614ac9608084018215159052565b5060808301516001600160a01b03811660a08401525060a08301516001600160a01b03811660c08401525060c083015160e080840152614b0d610100840182614a53565b949350505050565b6001600160601b0381168114612b41575f80fd5b5f60208284031215614b39575f80fd5b81356146ba81614b15565b6001600160a01b0381168114612b41575f80fd5b5f60208284031215614b68575f80fd5b81356146ba81614b44565b5f8060408385031215614b84575f80fd5b8235614b8f81614b44565b91506020830135614b9f81614b15565b809150509250929050565b634e487b7160e01b5f52604160045260245ffd5b604080519081016001600160401b0381118282101715614be057614be0614baa565b60405290565b604051608081016001600160401b0381118282101715614be057614be0614baa565b6040516101e081016001600160401b0381118282101715614be057614be0614baa565b60405160e081016001600160401b0381118282101715614be057614be0614baa565b604051601f8201601f191681016001600160401b0381118282101715614c7557614c75614baa565b604052919050565b5f6001600160401b03821115614c9557614c95614baa565b50601f01601f191660200190565b5f82601f830112614cb2575f80fd5b8135614cc5614cc082614c7d565b614c4d565b818152846020838601011115614cd9575f80fd5b816020850160208301375f918101602001919091529392505050565b5f60208284031215614d05575f80fd5b81356001600160401b03811115614d1a575f80fd5b614b0d84828501614ca3565b5f60408284031215614d36575f80fd5b614d3e614bbe565b823581526020928301359281019290925250919050565b5f8060808385031215614d66575f80fd5b614d708484614d26565b915061325c8460408501614d26565b5f8060408385031215614d90575f80fd5b8235614d9b81614b44565b915060208301356001600160401b03811115614db5575f80fd5b614dc185828601614ca3565b9150509250929050565b8015158114612b41575f80fd5b5f8060408385031215614de9575f80fd5b8235614df481614b44565b91506020830135614b9f81614dcb565b5f805f60c08486031215614e16575f80fd5b614e208585614d26565b9250614e2f8560408601614d26565b9150614e3e8560808601614d26565b90509250925092565b5f60208284031215614e57575f80fd5b815162ffffff811681146146ba575f80fd5b805161101581614b15565b5f60208284031215614e84575f80fd5b81516146ba81614b15565b600181811c90821680614ea357607f821691505b60208210810361191c57634e487b7160e01b5f52602260045260245ffd5b5f60208284031215614ed1575f80fd5b81516146ba81614b44565b5f614ee9614cc084614c7d565b9050828152838383011115614efc575f80fd5b8282602083015e5f602084830101529392505050565b805161101581614b44565b5f82601f830112614f2c575f80fd5b6146ba83835160208501614edc565b5f60208284031215614f4b575f80fd5b81516001600160401b03811115614f60575f80fd5b820160808185031215614f71575f80fd5b614f79614be6565b81516001600160401b03811115614f8e575f80fd5b8201601f81018613614f9e575f80fd5b614fad86825160208401614edc565b825250614fbc60208301614f12565b6020820152614fcd60408301614f12565b604082015260608201516001600160401b03811115614fea575f80fd5b614ff686828501614f1d565b606083015250949350505050565b805161101581614dcb565b5f6020828403121561501f575f80fd5b81516146ba81614dcb565b60ff81168114612b41575f80fd5b80516110158161502a565b5f82601f830112615052575f80fd5b81516001600160401b0381111561506b5761506b614baa565b8060051b61507b60208201614c4d565b91825260208185018101929081019086841115615096575f80fd5b6020860192505b838310156150c15782516150b081614b15565b82526020928301929091019061509d565b9695505050505050565b5f604082840312156150db575f80fd5b6150e3614bbe565b825181526020928301519281019290925250919050565b5f6020828403121561510a575f80fd5b81516001600160401b0381111561511f575f80fd5b82016102c08185031215615131575f80fd5b615139614c08565b61514282615004565b815261515060208301615004565b602082015261516160408301615004565b604082015261517260608301615038565b606082015261518360808301615038565b608082015261519460a08301614e69565b60a08201526151a560c08301614e69565b60c082015260e08201516001600160401b038111156151c2575f80fd5b6151ce86828501615043565b60e0830152506151e28561010084016150cb565b6101008201526151f68561014084016150cb565b61012082015261520a8561018084016150cb565b61014082015261521e856101c084016150cb565b6101608201526152328561020084016150cb565b6101808201526152468561024084016150cb565b6101a082015261525a8561028084016150cb565b6101c0820152949350505050565b5f8151808452602084019350602083015f5b828110156152a15781516001600160601b031686526020958601959091019060010161527a565b5093949350505050565b8051151582525f60208201516152c5602085018215159052565b5060408201516152d9604085018215159052565b5060608201516152ee606085018260ff169052565b506080820151615303608085018260ff169052565b5060a082015161531e60a08501826001600160601b03169052565b5060c082015161533960c08501826001600160601b03169052565b5060e08201516102c060e08501526153556102c0850182615268565b905061010083015161537561010086018280518252602090810151910152565b506101208301518051610140860152602081015161016086015250610140830151805161018086015260208101516101a08601525061016083015180516101c086015260208101516101e08601525061018083015180516102008601526020810151610220860152506101a083015180516102408601526020810151610260860152506101c0830151805161028086015260208101516102a0860152509392505050565b6001600160601b0383168152604060208201525f614b0d60408301846152ab565b5f60e0828403121561544a575f80fd5b615452614c2b565b905061545d82614e69565b815261546b60208301614e69565b602082015261547c60408301615038565b604082015261548d60608301615004565b606082015261549e60808301614f12565b60808201526154af60a08301614f12565b60a082015260c08201516001600160401b038111156154cc575f80fd5b6154d884828501614f1d565b60c08301525092915050565b5f602082840312156154f4575f80fd5b81516001600160401b03811115615509575f80fd5b614b0d8482850161543a565b6001600160401b0381168114612b41575f80fd5b5f60208284031215615539575f80fd5b81516146ba81615515565b8251815260208084015181830152825160408301528201516060820152608081016146ba565b6001600160601b0384168152606060208201525f61558b60608301856152ab565b905060ff83166040830152949350505050565b5f602082840312156155ae575f80fd5b81516146ba8161502a565b6001600160601b0383168152604060208201525f8251608060408401526155e360c0840182614a53565b60208501516001600160a01b0390811660608681019190915260408701519091166080860152850151848203603f190160a08601529091506150c18282614a53565b6001600160601b038716815260c060208201525f61564660c0830188614a53565b90508560408301528460608301528360808301528260a0830152979650505050505050565b5f806040838503121561567c575f80fd5b825161568781614b44565b6020840151909250614b9f81614b44565b5f60e08284031280156156a9575f80fd5b506156b2614c2b565b82516156bd81614b15565b815260208301516156cd81614dcb565b602082015260408301516156e081614dcb565b604082015260608301516156f381614dcb565b606082015261570460808401615004565b608082015260a0838101519082015260c0928301519281019290925250919050565b634e487b7160e01b5f52603260045260245ffd5b5f60ff821660ff810361575b57634e487b7160e01b5f52601160045260245ffd5b60010192915050565b5f8060408385031215615775575f80fd5b82516001600160401b0381111561578a575f80fd5b6157968582860161543a565b9250506020830151614b9f81614b44565b601f82111561456e57805f5260205f20601f840160051c810160208510156157cc5750805b601f840160051c820191505b818110156157eb575f81556001016157d8565b5050505050565b81516001600160401b0381111561580b5761580b614baa565b61581f816158198454614e8f565b846157a7565b6020601f821160018114615851575f831561583a5750848201515b5f19600385901b1c1916600184901b1784556157eb565b5f84815260208120601f198516915b828110156158805787850151825560209485019460019092019101615860565b508482101561589d57868401515f19600387901b60f8161c191681555b50505050600190811b0190555056fe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f006548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa3009b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f00f0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00a2646970667358221220d1d04f379327e5860dc3ab52cc73698116afcf0be80aef39d23bd898ae97d1f864736f6c634300081a0033",
1273
+ "linkReferences": {
1274
+ "contracts/shared/ContractLib.sol": {
1275
+ "ContractLib": [
1276
+ {
1277
+ "length": 20,
1278
+ "start": 4338
1279
+ },
1280
+ {
1281
+ "length": 20,
1282
+ "start": 11155
1283
+ },
1284
+ {
1285
+ "length": 20,
1286
+ "start": 15703
1287
+ },
1288
+ {
1289
+ "length": 20,
1290
+ "start": 15884
1291
+ },
1292
+ {
1293
+ "length": 20,
1294
+ "start": 18381
1295
+ },
1296
+ {
1297
+ "length": 20,
1298
+ "start": 18967
1299
+ }
1300
+ ]
1301
+ },
1302
+ "contracts/shared/TokenHandlerDeployerLib.sol": {
1303
+ "TokenHandlerDeployerLib": [
1304
+ {
1305
+ "length": 20,
1306
+ "start": 12020
1307
+ }
1308
+ ]
1309
+ },
1310
+ "contracts/type/Amount.sol": {
1311
+ "AmountLib": [
1312
+ {
1313
+ "length": 20,
1314
+ "start": 2249
1315
+ },
1316
+ {
1317
+ "length": 20,
1318
+ "start": 2277
1319
+ },
1320
+ {
1321
+ "length": 20,
1322
+ "start": 2742
1323
+ },
1324
+ {
1325
+ "length": 20,
1326
+ "start": 3115
1327
+ }
1328
+ ]
1329
+ },
1330
+ "contracts/type/Fee.sol": {
1331
+ "FeeLib": [
1332
+ {
1333
+ "length": 20,
1334
+ "start": 5159
1335
+ },
1336
+ {
1337
+ "length": 20,
1338
+ "start": 5374
1339
+ },
1340
+ {
1341
+ "length": 20,
1342
+ "start": 6889
1343
+ },
1344
+ {
1345
+ "length": 20,
1346
+ "start": 7099
1347
+ },
1348
+ {
1349
+ "length": 20,
1350
+ "start": 8506
1351
+ },
1352
+ {
1353
+ "length": 20,
1354
+ "start": 8713
1355
+ },
1356
+ {
1357
+ "length": 20,
1358
+ "start": 8904
1359
+ }
1360
+ ]
1361
+ },
1362
+ "contracts/type/NftId.sol": {
1363
+ "NftIdLib": [
1364
+ {
1365
+ "length": 20,
1366
+ "start": 1551
1367
+ },
1368
+ {
1369
+ "length": 20,
1370
+ "start": 7910
1371
+ },
1372
+ {
1373
+ "length": 20,
1374
+ "start": 9821
1375
+ },
1376
+ {
1377
+ "length": 20,
1378
+ "start": 10582
1379
+ },
1380
+ {
1381
+ "length": 20,
1382
+ "start": 13789
1383
+ },
1384
+ {
1385
+ "length": 20,
1386
+ "start": 14654
1387
+ },
1388
+ {
1389
+ "length": 20,
1390
+ "start": 16268
1391
+ },
1392
+ {
1393
+ "length": 20,
1394
+ "start": 16736
1395
+ },
1396
+ {
1397
+ "length": 20,
1398
+ "start": 18228
1399
+ }
1400
+ ]
1401
+ },
1402
+ "contracts/type/RoleId.sol": {
1403
+ "RoleIdLib": [
1404
+ {
1405
+ "length": 20,
1406
+ "start": 7563
1407
+ }
1408
+ ]
1409
+ },
1410
+ "contracts/type/Version.sol": {
1411
+ "VersionLib": [
1412
+ {
1413
+ "length": 20,
1414
+ "start": 1366
1415
+ },
1416
+ {
1417
+ "length": 20,
1418
+ "start": 4701
1419
+ },
1420
+ {
1421
+ "length": 20,
1422
+ "start": 10283
1423
+ }
1424
+ ]
1425
+ }
1426
+ },
1427
+ "deployedLinkReferences": {
1428
+ "contracts/shared/ContractLib.sol": {
1429
+ "ContractLib": [
1430
+ {
1431
+ "length": 20,
1432
+ "start": 4124
1433
+ },
1434
+ {
1435
+ "length": 20,
1436
+ "start": 10941
1437
+ },
1438
+ {
1439
+ "length": 20,
1440
+ "start": 15489
1441
+ },
1442
+ {
1443
+ "length": 20,
1444
+ "start": 15670
1445
+ },
1446
+ {
1447
+ "length": 20,
1448
+ "start": 18167
1449
+ },
1450
+ {
1451
+ "length": 20,
1452
+ "start": 18753
1453
+ }
1454
+ ]
1455
+ },
1456
+ "contracts/shared/TokenHandlerDeployerLib.sol": {
1457
+ "TokenHandlerDeployerLib": [
1458
+ {
1459
+ "length": 20,
1460
+ "start": 11806
1461
+ }
1462
+ ]
1463
+ },
1464
+ "contracts/type/Amount.sol": {
1465
+ "AmountLib": [
1466
+ {
1467
+ "length": 20,
1468
+ "start": 2035
1469
+ },
1470
+ {
1471
+ "length": 20,
1472
+ "start": 2063
1473
+ },
1474
+ {
1475
+ "length": 20,
1476
+ "start": 2528
1477
+ },
1478
+ {
1479
+ "length": 20,
1480
+ "start": 2901
1481
+ }
1482
+ ]
1483
+ },
1484
+ "contracts/type/Fee.sol": {
1485
+ "FeeLib": [
1486
+ {
1487
+ "length": 20,
1488
+ "start": 4945
1489
+ },
1490
+ {
1491
+ "length": 20,
1492
+ "start": 5160
1493
+ },
1494
+ {
1495
+ "length": 20,
1496
+ "start": 6675
1497
+ },
1498
+ {
1499
+ "length": 20,
1500
+ "start": 6885
1501
+ },
1502
+ {
1503
+ "length": 20,
1504
+ "start": 8292
1505
+ },
1506
+ {
1507
+ "length": 20,
1508
+ "start": 8499
1509
+ },
1510
+ {
1511
+ "length": 20,
1512
+ "start": 8690
1513
+ }
1514
+ ]
1515
+ },
1516
+ "contracts/type/NftId.sol": {
1517
+ "NftIdLib": [
1518
+ {
1519
+ "length": 20,
1520
+ "start": 1337
1521
+ },
1522
+ {
1523
+ "length": 20,
1524
+ "start": 7696
1525
+ },
1526
+ {
1527
+ "length": 20,
1528
+ "start": 9607
1529
+ },
1530
+ {
1531
+ "length": 20,
1532
+ "start": 10368
1533
+ },
1534
+ {
1535
+ "length": 20,
1536
+ "start": 13575
1537
+ },
1538
+ {
1539
+ "length": 20,
1540
+ "start": 14440
1541
+ },
1542
+ {
1543
+ "length": 20,
1544
+ "start": 16054
1545
+ },
1546
+ {
1547
+ "length": 20,
1548
+ "start": 16522
1549
+ },
1550
+ {
1551
+ "length": 20,
1552
+ "start": 18014
1553
+ }
1554
+ ]
1555
+ },
1556
+ "contracts/type/RoleId.sol": {
1557
+ "RoleIdLib": [
1558
+ {
1559
+ "length": 20,
1560
+ "start": 7349
1561
+ }
1562
+ ]
1563
+ },
1564
+ "contracts/type/Version.sol": {
1565
+ "VersionLib": [
1566
+ {
1567
+ "length": 20,
1568
+ "start": 1152
1569
+ },
1570
+ {
1571
+ "length": 20,
1572
+ "start": 4487
1573
+ },
1574
+ {
1575
+ "length": 20,
1576
+ "start": 10069
1577
+ }
1578
+ ]
1579
+ }
1580
+ }
1581
+ }