@etherisc/gif-next 0.0.2-d96b9e1-825 → 0.0.2-d9d5e42-801

Sign up to get free protection for your applications and to get access to all the features.
Files changed (779) hide show
  1. package/README.md +383 -21
  2. package/artifacts/contracts/accounting/AccountingService.sol/AccountingService.dbg.json +4 -0
  3. package/artifacts/contracts/accounting/AccountingService.sol/AccountingService.json +1046 -0
  4. package/artifacts/contracts/accounting/AccountingServiceManager.sol/AccountingServiceManager.dbg.json +4 -0
  5. package/artifacts/contracts/accounting/AccountingServiceManager.sol/AccountingServiceManager.json +752 -0
  6. package/artifacts/contracts/accounting/IAccountingService.sol/IAccountingService.dbg.json +4 -0
  7. package/artifacts/contracts/accounting/IAccountingService.sol/IAccountingService.json +814 -0
  8. package/artifacts/contracts/authorization/AccessAdmin.sol/AccessAdmin.dbg.json +4 -0
  9. package/artifacts/contracts/authorization/AccessAdmin.sol/AccessAdmin.json +1664 -0
  10. package/artifacts/contracts/authorization/AccessAdminLib.sol/AccessAdminLib.dbg.json +4 -0
  11. package/artifacts/contracts/authorization/AccessAdminLib.sol/AccessAdminLib.json +1289 -0
  12. package/artifacts/contracts/authorization/AccessManagerCloneable.sol/AccessManagerCloneable.dbg.json +4 -0
  13. package/artifacts/contracts/authorization/AccessManagerCloneable.sol/AccessManagerCloneable.json +1403 -0
  14. package/artifacts/contracts/authorization/Authorization.sol/Authorization.dbg.json +4 -0
  15. package/artifacts/contracts/authorization/Authorization.sol/Authorization.json +790 -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 +1372 -0
  20. package/artifacts/contracts/authorization/IAuthorization.sol/IAuthorization.dbg.json +4 -0
  21. package/artifacts/contracts/authorization/IAuthorization.sol/IAuthorization.json +455 -0
  22. package/artifacts/contracts/authorization/IServiceAuthorization.sol/IServiceAuthorization.dbg.json +4 -0
  23. package/artifacts/contracts/authorization/IServiceAuthorization.sol/IServiceAuthorization.json +397 -0
  24. package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.dbg.json +4 -0
  25. package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.json +646 -0
  26. package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.dbg.json +4 -0
  27. package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.json +1225 -0
  28. package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.dbg.json +4 -0
  29. package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.json +805 -0
  30. package/artifacts/contracts/distribution/Distribution.sol/Distribution.dbg.json +4 -0
  31. package/artifacts/contracts/distribution/Distribution.sol/Distribution.json +930 -0
  32. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.dbg.json +4 -0
  33. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.json +1665 -0
  34. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +4 -0
  35. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.json +912 -0
  36. package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.dbg.json +4 -0
  37. package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.json +829 -0
  38. package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.dbg.json +4 -0
  39. package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.json +1100 -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 +1461 -0
  44. package/artifacts/contracts/examples/fire/FirePoolAuthorization.sol/FirePoolAuthorization.dbg.json +4 -0
  45. package/artifacts/contracts/examples/fire/FirePoolAuthorization.sol/FirePoolAuthorization.json +805 -0
  46. package/artifacts/contracts/examples/fire/FireProduct.sol/FireProduct.dbg.json +4 -0
  47. package/artifacts/contracts/examples/fire/FireProduct.sol/FireProduct.json +2018 -0
  48. package/artifacts/contracts/examples/fire/FireProductAuthorization.sol/FireProductAuthorization.dbg.json +4 -0
  49. package/artifacts/contracts/examples/fire/FireProductAuthorization.sol/FireProductAuthorization.json +805 -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 +1404 -0
  54. package/artifacts/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol/SimpleDistributionAuthorization.dbg.json +4 -0
  55. package/artifacts/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol/SimpleDistributionAuthorization.json +805 -0
  56. package/artifacts/contracts/examples/unpermissioned/SimpleOracle.sol/SimpleOracle.dbg.json +4 -0
  57. package/artifacts/contracts/examples/unpermissioned/SimpleOracle.sol/SimpleOracle.json +1152 -0
  58. package/artifacts/contracts/examples/unpermissioned/SimplePool.sol/SimplePool.dbg.json +4 -0
  59. package/artifacts/contracts/examples/unpermissioned/SimplePool.sol/SimplePool.json +1628 -0
  60. package/artifacts/contracts/examples/unpermissioned/SimplePoolAuthorization.sol/SimplePoolAuthorization.dbg.json +4 -0
  61. package/artifacts/contracts/examples/unpermissioned/SimplePoolAuthorization.sol/SimplePoolAuthorization.json +805 -0
  62. package/artifacts/contracts/examples/unpermissioned/SimpleProduct.sol/SimpleProduct.dbg.json +4 -0
  63. package/artifacts/contracts/examples/unpermissioned/SimpleProduct.sol/SimpleProduct.json +2405 -0
  64. package/artifacts/contracts/examples/unpermissioned/SimpleProductAuthorization.sol/SimpleProductAuthorization.dbg.json +4 -0
  65. package/artifacts/contracts/examples/unpermissioned/SimpleProductAuthorization.sol/SimpleProductAuthorization.json +805 -0
  66. package/artifacts/contracts/instance/BundleSet.sol/BundleSet.dbg.json +4 -0
  67. package/artifacts/contracts/instance/BundleSet.sol/BundleSet.json +851 -0
  68. package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
  69. package/artifacts/contracts/instance/IInstance.sol/IInstance.json +577 -1316
  70. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +4 -0
  71. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +990 -0
  72. package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
  73. package/artifacts/contracts/instance/Instance.sol/Instance.json +670 -1539
  74. package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.dbg.json +4 -0
  75. package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.json +2349 -0
  76. package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.dbg.json +4 -0
  77. package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.json +902 -0
  78. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +4 -0
  79. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +2646 -0
  80. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +4 -0
  81. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +1236 -0
  82. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +4 -0
  83. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +734 -0
  84. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.dbg.json +4 -0
  85. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.json +3784 -0
  86. package/artifacts/contracts/instance/RiskSet.sol/RiskSet.dbg.json +4 -0
  87. package/artifacts/contracts/instance/RiskSet.sol/RiskSet.json +853 -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 +192 -0
  98. package/artifacts/contracts/instance/base/ObjectSetHelperLib.sol/ObjectSetHelperLib.dbg.json +4 -0
  99. package/artifacts/contracts/instance/base/ObjectSetHelperLib.sol/ObjectSetHelperLib.json +168 -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/IDistribution.sol/IDistribution.json +10 -0
  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 +938 -0
  114. package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.dbg.json +4 -0
  115. package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.json +810 -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 +753 -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 +854 -0
  124. package/artifacts/contracts/oracle/OracleService.sol/OracleService.dbg.json +4 -0
  125. package/artifacts/contracts/oracle/OracleService.sol/OracleService.json +1013 -0
  126. package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.dbg.json +4 -0
  127. package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.json +772 -0
  128. package/artifacts/contracts/pool/BasicPool.sol/BasicPool.dbg.json +4 -0
  129. package/artifacts/contracts/pool/BasicPool.sol/BasicPool.json +1231 -0
  130. package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.dbg.json +4 -0
  131. package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.json +805 -0
  132. package/artifacts/contracts/pool/BundleService.sol/BundleService.dbg.json +4 -0
  133. package/artifacts/contracts/pool/BundleService.sol/BundleService.json +1293 -0
  134. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.dbg.json +4 -0
  135. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.json +832 -0
  136. package/artifacts/contracts/pool/IBundleService.sol/IBundleService.dbg.json +4 -0
  137. package/artifacts/contracts/pool/IBundleService.sol/IBundleService.json +880 -0
  138. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.dbg.json +4 -0
  139. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.json +886 -0
  140. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.dbg.json +4 -0
  141. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.json +1230 -0
  142. package/artifacts/contracts/pool/Pool.sol/Pool.dbg.json +4 -0
  143. package/artifacts/contracts/pool/Pool.sol/Pool.json +1006 -0
  144. package/artifacts/contracts/pool/PoolLib.sol/PoolLib.dbg.json +4 -0
  145. package/artifacts/contracts/pool/PoolLib.sol/PoolLib.json +546 -0
  146. package/artifacts/contracts/pool/PoolService.sol/PoolService.dbg.json +4 -0
  147. package/artifacts/contracts/pool/PoolService.sol/PoolService.json +1614 -0
  148. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.dbg.json +4 -0
  149. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.json +828 -0
  150. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.dbg.json +4 -0
  151. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.json +871 -0
  152. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +4 -0
  153. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.json +752 -0
  154. package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.dbg.json +4 -0
  155. package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.json +1140 -0
  156. package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.dbg.json +4 -0
  157. package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.json +805 -0
  158. package/artifacts/contracts/product/ClaimService.sol/ClaimService.dbg.json +4 -0
  159. package/artifacts/contracts/product/ClaimService.sol/ClaimService.json +1512 -0
  160. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +4 -0
  161. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.json +856 -0
  162. package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.dbg.json +4 -0
  163. package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.json +639 -0
  164. package/artifacts/contracts/product/IClaimService.sol/IClaimService.dbg.json +4 -0
  165. package/artifacts/contracts/product/IClaimService.sol/IClaimService.json +1064 -0
  166. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.dbg.json +4 -0
  167. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.json +981 -0
  168. package/artifacts/contracts/product/IPricingService.sol/IPricingService.dbg.json +4 -0
  169. package/artifacts/contracts/product/IPricingService.sol/IPricingService.json +623 -0
  170. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.dbg.json +4 -0
  171. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.json +997 -0
  172. package/artifacts/contracts/product/IRiskService.sol/IRiskService.dbg.json +4 -0
  173. package/artifacts/contracts/{instance/service/IProductService.sol/IProductService.json → product/IRiskService.sol/IRiskService.json} +233 -230
  174. package/artifacts/contracts/product/PolicyService.sol/PolicyService.dbg.json +4 -0
  175. package/artifacts/contracts/product/PolicyService.sol/PolicyService.json +1341 -0
  176. package/artifacts/contracts/product/PolicyServiceLib.sol/PolicyServiceLib.dbg.json +4 -0
  177. package/artifacts/contracts/product/PolicyServiceLib.sol/PolicyServiceLib.json +783 -0
  178. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +4 -0
  179. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.json +812 -0
  180. package/artifacts/contracts/product/PricingService.sol/PricingService.dbg.json +4 -0
  181. package/artifacts/contracts/product/PricingService.sol/PricingService.json +903 -0
  182. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.dbg.json +4 -0
  183. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.json +776 -0
  184. package/artifacts/contracts/product/Product.sol/Product.dbg.json +4 -0
  185. package/artifacts/contracts/product/Product.sol/Product.json +1098 -0
  186. package/artifacts/contracts/product/RiskService.sol/RiskService.dbg.json +4 -0
  187. package/artifacts/contracts/product/RiskService.sol/RiskService.json +688 -0
  188. package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.dbg.json +4 -0
  189. package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.json +736 -0
  190. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
  191. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +242 -12
  192. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
  193. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +1024 -119
  194. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +4 -0
  195. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +1043 -0
  196. package/artifacts/contracts/registry/IRelease.sol/IRelease.dbg.json +4 -0
  197. package/artifacts/contracts/{instance/IInstanceLinked.sol/IInstanceLinked.json → registry/IRelease.sol/IRelease.json} +6 -6
  198. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +4 -0
  199. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.json +39 -0
  200. package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
  201. package/artifacts/contracts/registry/Registry.sol/Registry.json +1450 -219
  202. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.dbg.json +4 -0
  203. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.json +2147 -0
  204. package/artifacts/contracts/registry/RegistryAuthorization.sol/RegistryAuthorization.dbg.json +4 -0
  205. package/artifacts/contracts/registry/RegistryAuthorization.sol/RegistryAuthorization.json +1053 -0
  206. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +4 -0
  207. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +1269 -0
  208. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +4 -0
  209. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +735 -0
  210. package/artifacts/contracts/registry/ReleaseAdmin.sol/ReleaseAdmin.dbg.json +4 -0
  211. package/artifacts/contracts/registry/ReleaseAdmin.sol/ReleaseAdmin.json +2152 -0
  212. package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.dbg.json +4 -0
  213. package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.json +205 -0
  214. package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.dbg.json +4 -0
  215. package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.json +1389 -0
  216. package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.dbg.json +4 -0
  217. package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.json +683 -0
  218. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +4 -0
  219. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +661 -0
  220. package/artifacts/contracts/shared/Component.sol/Component.dbg.json +4 -0
  221. package/artifacts/contracts/shared/Component.sol/Component.json +686 -0
  222. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.dbg.json +4 -0
  223. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.json +1487 -0
  224. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.dbg.json +4 -0
  225. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.json +816 -0
  226. package/artifacts/contracts/shared/ContractLib.sol/ContractLib.dbg.json +4 -0
  227. package/artifacts/contracts/shared/ContractLib.sol/ContractLib.json +632 -0
  228. package/artifacts/contracts/shared/ContractLib.sol/IInstanceAdminHelper.dbg.json +4 -0
  229. package/artifacts/contracts/shared/{IOwnable.sol/IOwnable.json → ContractLib.sol/IInstanceAdminHelper.json} +5 -5
  230. package/artifacts/contracts/shared/ContractLib.sol/ITargetHelper.dbg.json +4 -0
  231. package/artifacts/contracts/shared/ContractLib.sol/ITargetHelper.json +30 -0
  232. package/artifacts/contracts/shared/ContractLib.sol/ITokenRegistryHelper.dbg.json +4 -0
  233. package/artifacts/contracts/shared/ContractLib.sol/ITokenRegistryHelper.json +40 -0
  234. package/artifacts/contracts/shared/IComponent.sol/IComponent.dbg.json +4 -0
  235. package/artifacts/contracts/shared/IComponent.sol/IComponent.json +611 -0
  236. package/artifacts/contracts/shared/IComponentService.sol/IComponentService.dbg.json +4 -0
  237. package/artifacts/contracts/shared/IComponentService.sol/IComponentService.json +1127 -0
  238. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.dbg.json +4 -0
  239. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.json +688 -0
  240. package/artifacts/contracts/shared/IKeyValueStore.sol/IKeyValueStore.dbg.json +4 -0
  241. package/artifacts/contracts/{instance/base → shared}/IKeyValueStore.sol/IKeyValueStore.json +140 -141
  242. package/artifacts/contracts/shared/ILifecycle.sol/ILifecycle.dbg.json +4 -0
  243. package/artifacts/contracts/{instance/base → shared}/ILifecycle.sol/ILifecycle.json +35 -4
  244. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +4 -0
  245. package/artifacts/contracts/{components/IBaseComponent.sol/IBaseComponent.json → shared/INftOwnable.sol/INftOwnable.json} +47 -74
  246. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.dbg.json +4 -0
  247. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.json +175 -0
  248. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
  249. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +229 -21
  250. package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.dbg.json +4 -0
  251. package/artifacts/contracts/{registry → shared}/IRegistryLinked.sol/IRegistryLinked.json +13 -2
  252. package/artifacts/contracts/shared/IService.sol/IService.dbg.json +4 -0
  253. package/artifacts/contracts/{instance/service/IComponentOwnerService.sol/IComponentOwnerService.json → shared/IService.sol/IService.json} +198 -163
  254. package/artifacts/contracts/shared/InitializableERC165.sol/InitializableERC165.dbg.json +4 -0
  255. package/artifacts/contracts/shared/InitializableERC165.sol/InitializableERC165.json +53 -0
  256. package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.dbg.json +4 -0
  257. package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.json +776 -0
  258. package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.dbg.json +4 -0
  259. package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.json +538 -0
  260. package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.dbg.json +4 -0
  261. package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.json +174 -0
  262. package/artifacts/contracts/shared/NftIdSet.sol/NftIdSet.dbg.json +4 -0
  263. package/artifacts/contracts/shared/NftIdSet.sol/NftIdSet.json +306 -0
  264. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +4 -0
  265. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +209 -0
  266. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.dbg.json +4 -0
  267. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.json +198 -0
  268. package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
  269. package/artifacts/contracts/shared/Registerable.sol/Registerable.json +275 -18
  270. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.dbg.json +4 -0
  271. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.json +58 -0
  272. package/artifacts/contracts/shared/Service.sol/Service.dbg.json +4 -0
  273. package/artifacts/contracts/{instance/service/IPoolService.sol/IPoolService.json → shared/Service.sol/Service.json} +248 -171
  274. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +4 -0
  275. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +723 -0
  276. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandlerBase.dbg.json +4 -0
  277. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandlerBase.json +484 -0
  278. package/artifacts/contracts/shared/TokenHandlerDeployerLib.sol/TokenHandlerDeployerLib.dbg.json +4 -0
  279. package/artifacts/contracts/shared/TokenHandlerDeployerLib.sol/TokenHandlerDeployerLib.json +172 -0
  280. package/artifacts/contracts/staking/IStaking.sol/IStaking.dbg.json +4 -0
  281. package/artifacts/contracts/staking/IStaking.sol/IStaking.json +1617 -0
  282. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.dbg.json +4 -0
  283. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.json +1167 -0
  284. package/artifacts/contracts/staking/Staking.sol/Staking.dbg.json +4 -0
  285. package/artifacts/contracts/staking/Staking.sol/Staking.json +2025 -0
  286. package/artifacts/contracts/staking/StakingLib.sol/StakingLib.dbg.json +4 -0
  287. package/artifacts/contracts/staking/StakingLib.sol/StakingLib.json +469 -0
  288. package/artifacts/contracts/staking/StakingLifecycle.sol/StakingLifecycle.dbg.json +4 -0
  289. package/artifacts/contracts/staking/StakingLifecycle.sol/StakingLifecycle.json +205 -0
  290. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.dbg.json +4 -0
  291. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.json +804 -0
  292. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.dbg.json +4 -0
  293. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.json +616 -0
  294. package/artifacts/contracts/staking/StakingService.sol/StakingService.dbg.json +4 -0
  295. package/artifacts/contracts/staking/StakingService.sol/StakingService.json +1396 -0
  296. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.dbg.json +4 -0
  297. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.json +744 -0
  298. package/artifacts/contracts/staking/StakingStore.sol/StakingStore.dbg.json +4 -0
  299. package/artifacts/contracts/staking/StakingStore.sol/StakingStore.json +2297 -0
  300. package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.dbg.json +4 -0
  301. package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.json +617 -0
  302. package/artifacts/contracts/type/AddressSet.sol/LibAddressSet.dbg.json +4 -0
  303. package/artifacts/contracts/type/AddressSet.sol/LibAddressSet.json +10 -0
  304. package/artifacts/contracts/type/Amount.sol/AmountLib.dbg.json +4 -0
  305. package/artifacts/contracts/type/Amount.sol/AmountLib.json +398 -0
  306. package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.dbg.json +4 -0
  307. package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.json +225 -0
  308. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.dbg.json +4 -0
  309. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.json +203 -0
  310. package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.dbg.json +4 -0
  311. package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.json +104 -0
  312. package/artifacts/contracts/type/Fee.sol/FeeLib.dbg.json +4 -0
  313. package/artifacts/contracts/type/Fee.sol/FeeLib.json +373 -0
  314. package/artifacts/contracts/type/Key32.sol/Key32Lib.dbg.json +4 -0
  315. package/artifacts/contracts/type/Key32.sol/Key32Lib.json +125 -0
  316. package/artifacts/contracts/type/Key32Set.sol/LibKey32Set.dbg.json +4 -0
  317. package/artifacts/contracts/type/Key32Set.sol/LibKey32Set.json +33 -0
  318. package/artifacts/contracts/type/NftId.sol/NftIdLib.dbg.json +4 -0
  319. package/artifacts/contracts/type/NftId.sol/NftIdLib.json +228 -0
  320. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.dbg.json +4 -0
  321. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.json +33 -0
  322. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.dbg.json +4 -0
  323. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.json +241 -0
  324. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.dbg.json +4 -0
  325. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.json +209 -0
  326. package/artifacts/contracts/type/Referral.sol/ReferralLib.dbg.json +4 -0
  327. package/artifacts/contracts/type/Referral.sol/ReferralLib.json +142 -0
  328. package/artifacts/contracts/type/RequestId.sol/RequestIdLib.dbg.json +4 -0
  329. package/artifacts/contracts/type/RequestId.sol/RequestIdLib.json +204 -0
  330. package/artifacts/contracts/type/RiskId.sol/RiskIdLib.dbg.json +4 -0
  331. package/artifacts/contracts/type/RiskId.sol/RiskIdLib.json +204 -0
  332. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.dbg.json +4 -0
  333. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.json +254 -0
  334. package/artifacts/contracts/type/Seconds.sol/SecondsLib.dbg.json +4 -0
  335. package/artifacts/contracts/type/Seconds.sol/SecondsLib.json +265 -0
  336. package/artifacts/contracts/type/Selector.sol/SelectorLib.dbg.json +4 -0
  337. package/artifacts/contracts/type/Selector.sol/SelectorLib.json +148 -0
  338. package/artifacts/contracts/type/Selector.sol/SelectorSetLib.dbg.json +4 -0
  339. package/artifacts/contracts/type/Selector.sol/SelectorSetLib.json +10 -0
  340. package/artifacts/contracts/type/StateId.sol/StateIdLib.dbg.json +4 -0
  341. package/artifacts/contracts/type/StateId.sol/StateIdLib.json +105 -0
  342. package/artifacts/contracts/type/String.sol/StrLib.dbg.json +4 -0
  343. package/artifacts/contracts/type/String.sol/StrLib.json +180 -0
  344. package/artifacts/contracts/type/Timestamp.sol/TimestampLib.dbg.json +4 -0
  345. package/artifacts/contracts/type/Timestamp.sol/TimestampLib.json +312 -0
  346. package/artifacts/contracts/type/UFixed.sol/UFixedLib.dbg.json +4 -0
  347. package/artifacts/contracts/type/UFixed.sol/UFixedLib.json +572 -0
  348. package/artifacts/contracts/type/Version.sol/VersionLib.dbg.json +4 -0
  349. package/artifacts/contracts/type/Version.sol/VersionLib.json +158 -0
  350. package/artifacts/contracts/type/Version.sol/VersionPartLib.dbg.json +4 -0
  351. package/artifacts/contracts/type/Version.sol/VersionPartLib.json +167 -0
  352. package/artifacts/contracts/upgradeability/IVersionable.sol/IVersionable.dbg.json +4 -0
  353. package/artifacts/contracts/upgradeability/IVersionable.sol/IVersionable.json +55 -0
  354. package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.dbg.json +4 -0
  355. package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.json +618 -0
  356. package/artifacts/contracts/upgradeability/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +4 -0
  357. package/artifacts/contracts/upgradeability/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +142 -0
  358. package/artifacts/contracts/upgradeability/Versionable.sol/Versionable.dbg.json +4 -0
  359. package/artifacts/contracts/upgradeability/Versionable.sol/Versionable.json +78 -0
  360. package/contracts/accounting/AccountingService.sol +274 -0
  361. package/contracts/accounting/AccountingServiceManager.sol +38 -0
  362. package/contracts/accounting/IAccountingService.sol +47 -0
  363. package/contracts/authorization/AccessAdmin.sol +780 -0
  364. package/contracts/authorization/AccessAdminLib.sol +396 -0
  365. package/contracts/authorization/AccessManagerCloneable.sol +158 -0
  366. package/contracts/authorization/Authorization.sol +174 -0
  367. package/contracts/authorization/IAccess.sol +67 -0
  368. package/contracts/authorization/IAccessAdmin.sol +144 -0
  369. package/contracts/authorization/IAuthorization.sol +27 -0
  370. package/contracts/authorization/IServiceAuthorization.sol +78 -0
  371. package/contracts/authorization/ServiceAuthorization.sol +320 -0
  372. package/contracts/distribution/BasicDistribution.sol +141 -0
  373. package/contracts/distribution/BasicDistributionAuthorization.sol +67 -0
  374. package/contracts/distribution/Distribution.sol +247 -0
  375. package/contracts/distribution/DistributionService.sol +435 -0
  376. package/contracts/distribution/DistributionServiceManager.sol +39 -0
  377. package/contracts/distribution/IDistributionComponent.sol +45 -0
  378. package/contracts/distribution/IDistributionService.sol +109 -0
  379. package/contracts/examples/fire/DamageLevel.sol +59 -0
  380. package/contracts/examples/fire/FirePool.sol +86 -0
  381. package/contracts/examples/fire/FirePoolAuthorization.sol +35 -0
  382. package/contracts/examples/fire/FireProduct.sol +433 -0
  383. package/contracts/examples/fire/FireProductAuthorization.sol +45 -0
  384. package/contracts/examples/fire/FireUSD.sol +26 -0
  385. package/contracts/examples/unpermissioned/SimpleDistribution.sol +81 -0
  386. package/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol +28 -0
  387. package/contracts/examples/unpermissioned/SimpleOracle.sol +133 -0
  388. package/contracts/examples/unpermissioned/SimplePool.sol +102 -0
  389. package/contracts/examples/unpermissioned/SimplePoolAuthorization.sol +28 -0
  390. package/contracts/examples/unpermissioned/SimpleProduct.sol +373 -0
  391. package/contracts/examples/unpermissioned/SimpleProductAuthorization.sol +28 -0
  392. package/contracts/instance/BundleSet.sol +130 -0
  393. package/contracts/instance/IInstance.sol +138 -45
  394. package/contracts/instance/IInstanceService.sol +113 -0
  395. package/contracts/instance/Instance.sol +332 -54
  396. package/contracts/instance/InstanceAdmin.sol +383 -0
  397. package/contracts/instance/InstanceAuthorizationV3.sol +266 -0
  398. package/contracts/instance/InstanceReader.sol +632 -0
  399. package/contracts/instance/InstanceService.sol +512 -0
  400. package/contracts/instance/InstanceServiceManager.sol +39 -0
  401. package/contracts/instance/InstanceStore.sol +298 -0
  402. package/contracts/instance/RiskSet.sol +118 -0
  403. package/contracts/instance/base/BalanceStore.sol +121 -0
  404. package/contracts/instance/base/Cloneable.sol +28 -0
  405. package/contracts/instance/base/ObjectCounter.sol +20 -0
  406. package/contracts/instance/base/ObjectLifecycle.sol +113 -0
  407. package/contracts/instance/base/ObjectSet.sol +77 -0
  408. package/contracts/instance/base/ObjectSetHelperLib.sol +30 -0
  409. package/contracts/instance/module/IBundle.sol +21 -0
  410. package/contracts/instance/module/IComponents.sol +62 -0
  411. package/contracts/instance/module/IDistribution.sol +54 -0
  412. package/contracts/instance/module/IPolicy.sol +105 -0
  413. package/contracts/instance/module/IRisk.sol +16 -0
  414. package/contracts/{test/TestToken.sol → mock/Dip.sol} +6 -6
  415. package/contracts/oracle/BasicOracle.sol +45 -0
  416. package/contracts/oracle/BasicOracleAuthorization.sol +53 -0
  417. package/contracts/oracle/IOracle.sol +41 -0
  418. package/contracts/oracle/IOracleComponent.sol +33 -0
  419. package/contracts/oracle/IOracleService.sol +66 -0
  420. package/contracts/oracle/Oracle.sol +154 -0
  421. package/contracts/oracle/OracleService.sol +310 -0
  422. package/contracts/oracle/OracleServiceManager.sol +39 -0
  423. package/contracts/pool/BasicPool.sol +173 -0
  424. package/contracts/pool/BasicPoolAuthorization.sol +82 -0
  425. package/contracts/pool/BundleService.sol +394 -0
  426. package/contracts/pool/BundleServiceManager.sol +39 -0
  427. package/contracts/pool/IBundleService.sol +115 -0
  428. package/contracts/pool/IPoolComponent.sol +62 -0
  429. package/contracts/pool/IPoolService.sol +165 -0
  430. package/contracts/pool/Pool.sol +343 -0
  431. package/contracts/pool/PoolLib.sol +356 -0
  432. package/contracts/pool/PoolService.sol +589 -0
  433. package/contracts/pool/PoolServiceManager.sol +39 -0
  434. package/contracts/product/ApplicationService.sol +299 -0
  435. package/contracts/product/ApplicationServiceManager.sol +38 -0
  436. package/contracts/product/BasicProduct.sol +49 -0
  437. package/contracts/product/BasicProductAuthorization.sol +63 -0
  438. package/contracts/product/ClaimService.sol +631 -0
  439. package/contracts/product/ClaimServiceManager.sol +38 -0
  440. package/contracts/product/IApplicationService.sol +69 -0
  441. package/contracts/product/IClaimService.sol +135 -0
  442. package/contracts/product/IPolicyService.sol +94 -0
  443. package/contracts/product/IPricingService.sol +40 -0
  444. package/contracts/product/IProductComponent.sol +62 -0
  445. package/contracts/product/IRiskService.sol +33 -0
  446. package/contracts/product/PolicyService.sol +637 -0
  447. package/contracts/product/PolicyServiceLib.sol +139 -0
  448. package/contracts/product/PolicyServiceManager.sol +39 -0
  449. package/contracts/product/PricingService.sol +306 -0
  450. package/contracts/product/PricingServiceManager.sol +39 -0
  451. package/contracts/product/Product.sol +469 -0
  452. package/contracts/product/RiskService.sol +157 -0
  453. package/contracts/product/RiskServiceManager.sol +39 -0
  454. package/contracts/registry/ChainNft.sol +130 -40
  455. package/contracts/registry/IRegistry.sol +142 -29
  456. package/contracts/registry/IRegistryService.sol +62 -0
  457. package/contracts/registry/IRelease.sol +29 -0
  458. package/contracts/registry/ITransferInterceptor.sol +6 -0
  459. package/contracts/registry/Registry.sol +631 -282
  460. package/contracts/registry/RegistryAdmin.sol +188 -0
  461. package/contracts/registry/RegistryAuthorization.sol +284 -0
  462. package/contracts/registry/RegistryService.sol +241 -0
  463. package/contracts/registry/RegistryServiceManager.sol +53 -0
  464. package/contracts/registry/ReleaseAdmin.sol +195 -0
  465. package/contracts/registry/ReleaseLifecycle.sol +32 -0
  466. package/contracts/registry/ReleaseRegistry.sol +520 -0
  467. package/contracts/registry/ServiceAuthorizationV3.sol +345 -0
  468. package/contracts/registry/TokenRegistry.sol +314 -0
  469. package/contracts/shared/Component.sol +210 -0
  470. package/contracts/shared/ComponentService.sol +678 -0
  471. package/contracts/shared/ComponentServiceManager.sol +38 -0
  472. package/contracts/shared/ContractLib.sol +311 -0
  473. package/contracts/shared/IComponent.sol +58 -0
  474. package/contracts/shared/IComponentService.sol +110 -0
  475. package/contracts/shared/IInstanceLinkedComponent.sol +30 -0
  476. package/contracts/shared/IKeyValueStore.sol +54 -0
  477. package/contracts/{instance/base → shared}/ILifecycle.sol +6 -5
  478. package/contracts/shared/INftOwnable.sol +25 -0
  479. package/contracts/shared/IPolicyHolder.sol +35 -0
  480. package/contracts/shared/IRegisterable.sol +31 -19
  481. package/contracts/shared/IRegistryLinked.sol +11 -0
  482. package/contracts/shared/IService.sol +23 -0
  483. package/contracts/shared/InitializableERC165.sol +35 -0
  484. package/contracts/shared/InstanceLinkedComponent.sol +194 -0
  485. package/contracts/shared/KeyValueStore.sol +131 -0
  486. package/contracts/shared/Lifecycle.sol +88 -0
  487. package/contracts/shared/NftIdSet.sol +65 -0
  488. package/contracts/shared/NftOwnable.sol +127 -0
  489. package/contracts/shared/PolicyHolder.sol +63 -0
  490. package/contracts/shared/Registerable.sol +80 -60
  491. package/contracts/shared/RegistryLinked.sol +38 -0
  492. package/contracts/shared/Service.sol +67 -0
  493. package/contracts/shared/TokenHandler.sol +342 -0
  494. package/contracts/shared/TokenHandlerDeployerLib.sol +20 -0
  495. package/contracts/staking/IStaking.sol +195 -0
  496. package/contracts/staking/IStakingService.sol +170 -0
  497. package/contracts/staking/Staking.sol +605 -0
  498. package/contracts/staking/StakingLib.sol +281 -0
  499. package/contracts/staking/StakingLifecycle.sol +23 -0
  500. package/contracts/staking/StakingManager.sol +52 -0
  501. package/contracts/staking/StakingReader.sol +199 -0
  502. package/contracts/staking/StakingService.sol +468 -0
  503. package/contracts/staking/StakingServiceManager.sol +45 -0
  504. package/contracts/staking/StakingStore.sol +606 -0
  505. package/contracts/staking/TargetManagerLib.sol +211 -0
  506. package/contracts/{types → type}/AddressSet.sol +1 -1
  507. package/contracts/type/Amount.sol +150 -0
  508. package/contracts/{types → type}/Blocknumber.sol +27 -3
  509. package/contracts/type/ClaimId.sol +80 -0
  510. package/contracts/type/DistributorType.sol +55 -0
  511. package/contracts/type/Fee.sol +66 -0
  512. package/contracts/{types → type}/Key32.sol +10 -5
  513. package/contracts/type/Key32Set.sol +62 -0
  514. package/contracts/{types → type}/NftId.sol +28 -15
  515. package/contracts/type/NftIdSet.sol +62 -0
  516. package/contracts/type/ObjectType.sol +307 -0
  517. package/contracts/type/PayoutId.sol +82 -0
  518. package/contracts/type/Referral.sol +90 -0
  519. package/contracts/type/RequestId.sol +75 -0
  520. package/contracts/type/RiskId.sol +75 -0
  521. package/contracts/type/RoleId.sol +180 -0
  522. package/contracts/type/Seconds.sol +105 -0
  523. package/contracts/type/Selector.sol +107 -0
  524. package/contracts/{types → type}/StateId.sol +53 -5
  525. package/contracts/type/String.sol +65 -0
  526. package/contracts/{types → type}/Timestamp.sol +37 -19
  527. package/contracts/{types → type}/UFixed.sol +90 -34
  528. package/contracts/type/Version.sol +159 -0
  529. package/contracts/upgradeability/IVersionable.sol +53 -0
  530. package/contracts/upgradeability/ProxyManager.sol +234 -0
  531. package/contracts/upgradeability/UpgradableProxyWithAdmin.sol +20 -0
  532. package/contracts/upgradeability/Versionable.sol +62 -0
  533. package/package.json +16 -8
  534. package/artifacts/contracts/components/BaseComponent.sol/BaseComponent.dbg.json +0 -4
  535. package/artifacts/contracts/components/BaseComponent.sol/BaseComponent.json +0 -174
  536. package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.dbg.json +0 -4
  537. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.dbg.json +0 -4
  538. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.json +0 -356
  539. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.dbg.json +0 -4
  540. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.json +0 -279
  541. package/artifacts/contracts/components/Pool.sol/Pool.dbg.json +0 -4
  542. package/artifacts/contracts/components/Pool.sol/Pool.json +0 -387
  543. package/artifacts/contracts/components/Product.sol/Product.dbg.json +0 -4
  544. package/artifacts/contracts/components/Product.sol/Product.json +0 -305
  545. package/artifacts/contracts/experiment/errors/Require.sol/Require.dbg.json +0 -4
  546. package/artifacts/contracts/experiment/errors/Require.sol/Require.json +0 -105
  547. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.dbg.json +0 -4
  548. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.json +0 -105
  549. package/artifacts/contracts/experiment/inheritance/A.sol/A.dbg.json +0 -4
  550. package/artifacts/contracts/experiment/inheritance/A.sol/A.json +0 -128
  551. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.dbg.json +0 -4
  552. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.json +0 -42
  553. package/artifacts/contracts/experiment/inheritance/B.sol/B.dbg.json +0 -4
  554. package/artifacts/contracts/experiment/inheritance/B.sol/B.json +0 -76
  555. package/artifacts/contracts/experiment/inheritance/C.sol/C.dbg.json +0 -4
  556. package/artifacts/contracts/experiment/inheritance/C.sol/C.json +0 -89
  557. package/artifacts/contracts/experiment/inheritance/IA.sol/IA.dbg.json +0 -4
  558. package/artifacts/contracts/experiment/inheritance/IA.sol/IA.json +0 -128
  559. package/artifacts/contracts/experiment/inheritance/IA.sol/ISharedA.dbg.json +0 -4
  560. package/artifacts/contracts/experiment/inheritance/IA.sol/ISharedA.json +0 -37
  561. package/artifacts/contracts/experiment/inheritance/IB.sol/IB.dbg.json +0 -4
  562. package/artifacts/contracts/experiment/inheritance/IB.sol/IB.json +0 -50
  563. package/artifacts/contracts/experiment/inheritance/IC.sol/IC.dbg.json +0 -4
  564. package/artifacts/contracts/experiment/inheritance/IC.sol/IC.json +0 -63
  565. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.dbg.json +0 -4
  566. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.json +0 -59
  567. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.dbg.json +0 -4
  568. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.json +0 -124
  569. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.dbg.json +0 -4
  570. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.json +0 -74
  571. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.dbg.json +0 -4
  572. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.json +0 -124
  573. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.dbg.json +0 -4
  574. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.json +0 -207
  575. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.dbg.json +0 -4
  576. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.json +0 -10
  577. package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.dbg.json +0 -4
  578. package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.json +0 -10
  579. package/artifacts/contracts/instance/IInstanceLinked.sol/IInstanceLinked.dbg.json +0 -4
  580. package/artifacts/contracts/instance/base/ComponentServiceBase.sol/ComponentServiceBase.dbg.json +0 -4
  581. package/artifacts/contracts/instance/base/ComponentServiceBase.sol/ComponentServiceBase.json +0 -300
  582. package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.dbg.json +0 -4
  583. package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.json +0 -63
  584. package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.dbg.json +0 -4
  585. package/artifacts/contracts/instance/base/ILifecycle.sol/ILifecycle.dbg.json +0 -4
  586. package/artifacts/contracts/instance/base/IService.sol/IService.dbg.json +0 -4
  587. package/artifacts/contracts/instance/base/IService.sol/IService.json +0 -300
  588. package/artifacts/contracts/instance/base/InstanceBase.sol/InstanceBase.dbg.json +0 -4
  589. package/artifacts/contracts/instance/base/InstanceBase.sol/InstanceBase.json +0 -326
  590. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.dbg.json +0 -4
  591. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.json +0 -692
  592. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.dbg.json +0 -4
  593. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.json +0 -169
  594. package/artifacts/contracts/instance/base/ModuleBase.sol/ModuleBase.dbg.json +0 -4
  595. package/artifacts/contracts/instance/base/ServiceBase.sol/ServiceBase.dbg.json +0 -4
  596. package/artifacts/contracts/instance/base/ServiceBase.sol/ServiceBase.json +0 -300
  597. package/artifacts/contracts/instance/module/access/Access.sol/AccessModule.dbg.json +0 -4
  598. package/artifacts/contracts/instance/module/access/Access.sol/AccessModule.json +0 -333
  599. package/artifacts/contracts/instance/module/access/IAccess.sol/IAccess.dbg.json +0 -4
  600. package/artifacts/contracts/instance/module/access/IAccess.sol/IAccessModule.dbg.json +0 -4
  601. package/artifacts/contracts/instance/module/access/IAccess.sol/IAccessModule.json +0 -333
  602. package/artifacts/contracts/instance/module/bundle/BundleModule.sol/BundleModule.dbg.json +0 -4
  603. package/artifacts/contracts/instance/module/bundle/BundleModule.sol/BundleModule.json +0 -296
  604. package/artifacts/contracts/instance/module/bundle/IBundle.sol/IBundle.dbg.json +0 -4
  605. package/artifacts/contracts/instance/module/bundle/IBundle.sol/IBundleModule.dbg.json +0 -4
  606. package/artifacts/contracts/instance/module/bundle/IBundle.sol/IBundleModule.json +0 -296
  607. package/artifacts/contracts/instance/module/compensation/CompensationModule.sol/CompensationModule.dbg.json +0 -4
  608. package/artifacts/contracts/instance/module/compensation/CompensationModule.sol/CompensationModule.json +0 -10
  609. package/artifacts/contracts/instance/module/compensation/ICompensation.sol/ICompensation.dbg.json +0 -4
  610. package/artifacts/contracts/instance/module/compensation/ICompensation.sol/ICompensation.json +0 -10
  611. package/artifacts/contracts/instance/module/compensation/ICompensation.sol/ICompensationModule.dbg.json +0 -4
  612. package/artifacts/contracts/instance/module/compensation/ICompensation.sol/ICompensationModule.json +0 -10
  613. package/artifacts/contracts/instance/module/component/ComponentModule.sol/ComponentModule.dbg.json +0 -4
  614. package/artifacts/contracts/instance/module/component/ComponentModule.sol/ComponentModule.json +0 -188
  615. package/artifacts/contracts/instance/module/component/IComponent.sol/IComponent.dbg.json +0 -4
  616. package/artifacts/contracts/instance/module/component/IComponent.sol/IComponent.json +0 -10
  617. package/artifacts/contracts/instance/module/component/IComponent.sol/IComponentModule.dbg.json +0 -4
  618. package/artifacts/contracts/instance/module/component/IComponent.sol/IComponentModule.json +0 -188
  619. package/artifacts/contracts/instance/module/policy/IPolicy.sol/IPolicy.dbg.json +0 -4
  620. package/artifacts/contracts/instance/module/policy/IPolicy.sol/IPolicyModule.dbg.json +0 -4
  621. package/artifacts/contracts/instance/module/policy/IPolicy.sol/IPolicyModule.json +0 -261
  622. package/artifacts/contracts/instance/module/policy/PolicyModule.sol/PolicyModule.dbg.json +0 -4
  623. package/artifacts/contracts/instance/module/policy/PolicyModule.sol/PolicyModule.json +0 -261
  624. package/artifacts/contracts/instance/module/pool/IPoolModule.sol/IPool.dbg.json +0 -4
  625. package/artifacts/contracts/instance/module/pool/IPoolModule.sol/IPool.json +0 -10
  626. package/artifacts/contracts/instance/module/pool/IPoolModule.sol/IPoolModule.dbg.json +0 -4
  627. package/artifacts/contracts/instance/module/pool/IPoolModule.sol/IPoolModule.json +0 -149
  628. package/artifacts/contracts/instance/module/pool/PoolModule.sol/PoolModule.dbg.json +0 -4
  629. package/artifacts/contracts/instance/module/pool/PoolModule.sol/PoolModule.json +0 -149
  630. package/artifacts/contracts/instance/module/risk/IRisk.sol/IRisk.dbg.json +0 -4
  631. package/artifacts/contracts/instance/module/risk/IRisk.sol/IRiskModule.dbg.json +0 -4
  632. package/artifacts/contracts/instance/module/risk/IRisk.sol/IRiskModule.json +0 -10
  633. package/artifacts/contracts/instance/module/risk/RiskModule.sol/RiskModule.dbg.json +0 -4
  634. package/artifacts/contracts/instance/module/risk/RiskModule.sol/RiskModule.json +0 -10
  635. package/artifacts/contracts/instance/module/treasury/ITreasury.sol/ITreasury.dbg.json +0 -4
  636. package/artifacts/contracts/instance/module/treasury/ITreasury.sol/ITreasury.json +0 -10
  637. package/artifacts/contracts/instance/module/treasury/ITreasury.sol/ITreasuryModule.dbg.json +0 -4
  638. package/artifacts/contracts/instance/module/treasury/ITreasury.sol/ITreasuryModule.json +0 -533
  639. package/artifacts/contracts/instance/module/treasury/TokenHandler.sol/TokenHandler.dbg.json +0 -4
  640. package/artifacts/contracts/instance/module/treasury/TokenHandler.sol/TokenHandler.json +0 -76
  641. package/artifacts/contracts/instance/module/treasury/TreasuryModule.sol/TreasuryModule.dbg.json +0 -4
  642. package/artifacts/contracts/instance/module/treasury/TreasuryModule.sol/TreasuryModule.json +0 -533
  643. package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.dbg.json +0 -4
  644. package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.json +0 -491
  645. package/artifacts/contracts/instance/service/IComponentOwnerService.sol/IComponentOwnerService.dbg.json +0 -4
  646. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.dbg.json +0 -4
  647. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.dbg.json +0 -4
  648. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.dbg.json +0 -4
  649. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.json +0 -471
  650. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.dbg.json +0 -4
  651. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.json +0 -673
  652. package/artifacts/contracts/registry/IChainNft.sol/IChainNft.dbg.json +0 -4
  653. package/artifacts/contracts/registry/IChainNft.sol/IChainNft.json +0 -452
  654. package/artifacts/contracts/registry/IRegistryLinked.sol/IRegistryLinked.dbg.json +0 -4
  655. package/artifacts/contracts/shared/ERC165.sol/ERC165.dbg.json +0 -4
  656. package/artifacts/contracts/shared/ERC165.sol/ERC165.json +0 -35
  657. package/artifacts/contracts/shared/IOwnable.sol/IOwnable.dbg.json +0 -4
  658. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.dbg.json +0 -4
  659. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.json +0 -164
  660. package/artifacts/contracts/shared/Versionable.sol/Versionable.dbg.json +0 -4
  661. package/artifacts/contracts/shared/Versionable.sol/Versionable.json +0 -164
  662. package/artifacts/contracts/test/TestFee.sol/TestFee.dbg.json +0 -4
  663. package/artifacts/contracts/test/TestFee.sol/TestFee.json +0 -119
  664. package/artifacts/contracts/test/TestPool.sol/TestPool.dbg.json +0 -4
  665. package/artifacts/contracts/test/TestPool.sol/TestPool.json +0 -387
  666. package/artifacts/contracts/test/TestProduct.sol/TestProduct.dbg.json +0 -4
  667. package/artifacts/contracts/test/TestProduct.sol/TestProduct.json +0 -393
  668. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.dbg.json +0 -4
  669. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.json +0 -137
  670. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.dbg.json +0 -4
  671. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.json +0 -82
  672. package/artifacts/contracts/test/TestService.sol/TestService.dbg.json +0 -4
  673. package/artifacts/contracts/test/TestService.sol/TestService.json +0 -379
  674. package/artifacts/contracts/test/TestToken.sol/TestUsdc.dbg.json +0 -4
  675. package/artifacts/contracts/test/TestToken.sol/TestUsdc.json +0 -338
  676. package/artifacts/contracts/test/TestVersion.sol/TestVersion.dbg.json +0 -4
  677. package/artifacts/contracts/test/TestVersion.sol/TestVersion.json +0 -218
  678. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.dbg.json +0 -4
  679. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.json +0 -206
  680. package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.dbg.json +0 -4
  681. package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.json +0 -10
  682. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.dbg.json +0 -4
  683. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.json +0 -174
  684. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.dbg.json +0 -4
  685. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.json +0 -10
  686. package/artifacts/contracts/types/Fee.sol/FeeLib.dbg.json +0 -4
  687. package/artifacts/contracts/types/Fee.sol/FeeLib.json +0 -218
  688. package/artifacts/contracts/types/Key32.sol/Key32Lib.dbg.json +0 -4
  689. package/artifacts/contracts/types/Key32.sol/Key32Lib.json +0 -111
  690. package/artifacts/contracts/types/NftId.sol/NftIdLib.dbg.json +0 -4
  691. package/artifacts/contracts/types/NftId.sol/NftIdLib.json +0 -153
  692. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.dbg.json +0 -4
  693. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.json +0 -10
  694. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.dbg.json +0 -4
  695. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.json +0 -92
  696. package/artifacts/contracts/types/StateId.sol/StateIdLib.dbg.json +0 -4
  697. package/artifacts/contracts/types/StateId.sol/StateIdLib.json +0 -92
  698. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.dbg.json +0 -4
  699. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.json +0 -236
  700. package/artifacts/contracts/types/UFixed.sol/UFixedMathLib.dbg.json +0 -4
  701. package/artifacts/contracts/types/UFixed.sol/UFixedMathLib.json +0 -453
  702. package/artifacts/contracts/types/Version.sol/VersionLib.dbg.json +0 -4
  703. package/artifacts/contracts/types/Version.sol/VersionLib.json +0 -139
  704. package/artifacts/contracts/types/Version.sol/VersionPartLib.dbg.json +0 -4
  705. package/artifacts/contracts/types/Version.sol/VersionPartLib.json +0 -30
  706. package/contracts/components/BaseComponent.sol +0 -88
  707. package/contracts/components/IBaseComponent.sol +0 -19
  708. package/contracts/components/IPoolComponent.sol +0 -57
  709. package/contracts/components/IProductComponent.sol +0 -19
  710. package/contracts/components/Pool.sol +0 -174
  711. package/contracts/components/Product.sol +0 -117
  712. package/contracts/experiment/errors/Require.sol +0 -38
  713. package/contracts/experiment/errors/Revert.sol +0 -44
  714. package/contracts/experiment/inheritance/A.sol +0 -53
  715. package/contracts/experiment/inheritance/B.sol +0 -28
  716. package/contracts/experiment/inheritance/C.sol +0 -34
  717. package/contracts/experiment/inheritance/IA.sol +0 -13
  718. package/contracts/experiment/inheritance/IB.sol +0 -10
  719. package/contracts/experiment/inheritance/IC.sol +0 -12
  720. package/contracts/experiment/statemachine/Dummy.sol +0 -27
  721. package/contracts/experiment/statemachine/ISM.sol +0 -25
  722. package/contracts/experiment/statemachine/README.md +0 -112
  723. package/contracts/experiment/statemachine/SM.sol +0 -57
  724. package/contracts/experiment/statemachine/SimpleStateMachine.sol +0 -31
  725. package/contracts/experiment/types/TypeA.sol +0 -47
  726. package/contracts/experiment/types/TypeB.sol +0 -29
  727. package/contracts/instance/IInstanceLinked.sol +0 -8
  728. package/contracts/instance/base/ComponentServiceBase.sol +0 -42
  729. package/contracts/instance/base/IInstanceBase.sol +0 -14
  730. package/contracts/instance/base/IKeyValueStore.sol +0 -49
  731. package/contracts/instance/base/IService.sol +0 -15
  732. package/contracts/instance/base/InstanceBase.sol +0 -80
  733. package/contracts/instance/base/KeyValueStore.sol +0 -147
  734. package/contracts/instance/base/Lifecycle.sol +0 -95
  735. package/contracts/instance/base/ModuleBase.sol +0 -52
  736. package/contracts/instance/base/ServiceBase.sol +0 -37
  737. package/contracts/instance/module/access/Access.sol +0 -149
  738. package/contracts/instance/module/access/IAccess.sol +0 -53
  739. package/contracts/instance/module/bundle/BundleModule.sol +0 -136
  740. package/contracts/instance/module/bundle/IBundle.sol +0 -58
  741. package/contracts/instance/module/compensation/CompensationModule.sol +0 -8
  742. package/contracts/instance/module/compensation/ICompensation.sol +0 -10
  743. package/contracts/instance/module/component/ComponentModule.sol +0 -95
  744. package/contracts/instance/module/component/IComponent.sol +0 -53
  745. package/contracts/instance/module/policy/IPolicy.sol +0 -60
  746. package/contracts/instance/module/policy/PolicyModule.sol +0 -76
  747. package/contracts/instance/module/pool/IPoolModule.sol +0 -41
  748. package/contracts/instance/module/pool/PoolModule.sol +0 -87
  749. package/contracts/instance/module/risk/IRisk.sol +0 -10
  750. package/contracts/instance/module/risk/RiskModule.sol +0 -8
  751. package/contracts/instance/module/treasury/ITreasury.sol +0 -103
  752. package/contracts/instance/module/treasury/TokenHandler.sol +0 -48
  753. package/contracts/instance/module/treasury/TreasuryModule.sol +0 -152
  754. package/contracts/instance/service/ComponentOwnerService.sol +0 -170
  755. package/contracts/instance/service/IComponentOwnerService.sol +0 -22
  756. package/contracts/instance/service/IPoolService.sol +0 -30
  757. package/contracts/instance/service/IProductService.sol +0 -58
  758. package/contracts/instance/service/PoolService.sol +0 -123
  759. package/contracts/instance/service/ProductService.sol +0 -354
  760. package/contracts/registry/IChainNft.sol +0 -21
  761. package/contracts/registry/IRegistryLinked.sol +0 -8
  762. package/contracts/shared/ERC165.sol +0 -21
  763. package/contracts/shared/IOwnable.sol +0 -6
  764. package/contracts/shared/IVersionable.sol +0 -52
  765. package/contracts/shared/Versionable.sol +0 -89
  766. package/contracts/test/TestFee.sol +0 -25
  767. package/contracts/test/TestPool.sol +0 -22
  768. package/contracts/test/TestProduct.sol +0 -44
  769. package/contracts/test/TestRegisterable.sol +0 -19
  770. package/contracts/test/TestRoleId.sol +0 -14
  771. package/contracts/test/TestService.sol +0 -32
  772. package/contracts/test/TestVersion.sol +0 -44
  773. package/contracts/test/TestVersionable.sol +0 -17
  774. package/contracts/types/ChainId.sol +0 -38
  775. package/contracts/types/Fee.sol +0 -51
  776. package/contracts/types/NftIdSet.sol +0 -60
  777. package/contracts/types/ObjectType.sol +0 -115
  778. package/contracts/types/RoleId.sol +0 -36
  779. package/contracts/types/Version.sol +0 -95
@@ -0,0 +1,1628 @@
1
+ {
2
+ "_format": "hh-sol-artifact-1",
3
+ "contractName": "SimplePool",
4
+ "sourceName": "contracts/examples/unpermissioned/SimplePool.sol",
5
+ "abi": [
6
+ {
7
+ "inputs": [
8
+ {
9
+ "internalType": "address",
10
+ "name": "registry",
11
+ "type": "address"
12
+ },
13
+ {
14
+ "internalType": "NftId",
15
+ "name": "productNftId",
16
+ "type": "uint96"
17
+ },
18
+ {
19
+ "components": [
20
+ {
21
+ "internalType": "Amount",
22
+ "name": "maxBalanceAmount",
23
+ "type": "uint96"
24
+ },
25
+ {
26
+ "internalType": "UFixed",
27
+ "name": "collateralizationLevel",
28
+ "type": "uint160"
29
+ },
30
+ {
31
+ "internalType": "UFixed",
32
+ "name": "retentionLevel",
33
+ "type": "uint160"
34
+ },
35
+ {
36
+ "internalType": "bool",
37
+ "name": "isInterceptingBundleTransfers",
38
+ "type": "bool"
39
+ },
40
+ {
41
+ "internalType": "bool",
42
+ "name": "isProcessingConfirmedClaims",
43
+ "type": "bool"
44
+ },
45
+ {
46
+ "internalType": "bool",
47
+ "name": "isExternallyManaged",
48
+ "type": "bool"
49
+ },
50
+ {
51
+ "internalType": "bool",
52
+ "name": "isVerifyingApplications",
53
+ "type": "bool"
54
+ }
55
+ ],
56
+ "internalType": "struct IComponents.PoolInfo",
57
+ "name": "poolInfo",
58
+ "type": "tuple"
59
+ },
60
+ {
61
+ "internalType": "contract IAuthorization",
62
+ "name": "authorization",
63
+ "type": "address"
64
+ },
65
+ {
66
+ "internalType": "address",
67
+ "name": "initialOwner",
68
+ "type": "address"
69
+ }
70
+ ],
71
+ "stateMutability": "nonpayable",
72
+ "type": "constructor"
73
+ },
74
+ {
75
+ "inputs": [
76
+ {
77
+ "internalType": "address",
78
+ "name": "authority",
79
+ "type": "address"
80
+ }
81
+ ],
82
+ "name": "AccessManagedInvalidAuthority",
83
+ "type": "error"
84
+ },
85
+ {
86
+ "inputs": [
87
+ {
88
+ "internalType": "address",
89
+ "name": "caller",
90
+ "type": "address"
91
+ },
92
+ {
93
+ "internalType": "uint32",
94
+ "name": "delay",
95
+ "type": "uint32"
96
+ }
97
+ ],
98
+ "name": "AccessManagedRequiredDelay",
99
+ "type": "error"
100
+ },
101
+ {
102
+ "inputs": [
103
+ {
104
+ "internalType": "address",
105
+ "name": "caller",
106
+ "type": "address"
107
+ }
108
+ ],
109
+ "name": "AccessManagedUnauthorized",
110
+ "type": "error"
111
+ },
112
+ {
113
+ "inputs": [
114
+ {
115
+ "internalType": "address",
116
+ "name": "authority",
117
+ "type": "address"
118
+ }
119
+ ],
120
+ "name": "ErrorAuthorityInvalid",
121
+ "type": "error"
122
+ },
123
+ {
124
+ "inputs": [],
125
+ "name": "ErrorComponentNameLengthZero",
126
+ "type": "error"
127
+ },
128
+ {
129
+ "inputs": [
130
+ {
131
+ "internalType": "address",
132
+ "name": "caller",
133
+ "type": "address"
134
+ }
135
+ ],
136
+ "name": "ErrorComponentNotChainNft",
137
+ "type": "error"
138
+ },
139
+ {
140
+ "inputs": [],
141
+ "name": "ErrorComponentProductNftIdNonzero",
142
+ "type": "error"
143
+ },
144
+ {
145
+ "inputs": [],
146
+ "name": "ErrorComponentProductNftIdZero",
147
+ "type": "error"
148
+ },
149
+ {
150
+ "inputs": [],
151
+ "name": "ErrorComponentWalletAddressIsSameAsCurrent",
152
+ "type": "error"
153
+ },
154
+ {
155
+ "inputs": [],
156
+ "name": "ErrorComponentWalletAddressZero",
157
+ "type": "error"
158
+ },
159
+ {
160
+ "inputs": [],
161
+ "name": "ErrorComponentWalletNotComponent",
162
+ "type": "error"
163
+ },
164
+ {
165
+ "inputs": [
166
+ {
167
+ "internalType": "NftId",
168
+ "name": "nftId",
169
+ "type": "uint96"
170
+ },
171
+ {
172
+ "internalType": "ObjectType",
173
+ "name": "objectType",
174
+ "type": "uint8"
175
+ }
176
+ ],
177
+ "name": "ErrorInstanceLinkedComponentNotProduct",
178
+ "type": "error"
179
+ },
180
+ {
181
+ "inputs": [
182
+ {
183
+ "internalType": "ObjectType",
184
+ "name": "requiredType",
185
+ "type": "uint8"
186
+ },
187
+ {
188
+ "internalType": "ObjectType",
189
+ "name": "objectType",
190
+ "type": "uint8"
191
+ }
192
+ ],
193
+ "name": "ErrorInstanceLinkedComponentTypeMismatch",
194
+ "type": "error"
195
+ },
196
+ {
197
+ "inputs": [
198
+ {
199
+ "internalType": "NftId",
200
+ "name": "nftId",
201
+ "type": "uint96"
202
+ }
203
+ ],
204
+ "name": "ErrorNftOwnableAlreadyLinked",
205
+ "type": "error"
206
+ },
207
+ {
208
+ "inputs": [
209
+ {
210
+ "internalType": "address",
211
+ "name": "contractAddress",
212
+ "type": "address"
213
+ }
214
+ ],
215
+ "name": "ErrorNftOwnableContractNotRegistered",
216
+ "type": "error"
217
+ },
218
+ {
219
+ "inputs": [],
220
+ "name": "ErrorNftOwnableInitialOwnerZero",
221
+ "type": "error"
222
+ },
223
+ {
224
+ "inputs": [
225
+ {
226
+ "internalType": "NftId",
227
+ "name": "nftId",
228
+ "type": "uint96"
229
+ },
230
+ {
231
+ "internalType": "ObjectType",
232
+ "name": "expectedObjectType",
233
+ "type": "uint8"
234
+ }
235
+ ],
236
+ "name": "ErrorNftOwnableInvalidType",
237
+ "type": "error"
238
+ },
239
+ {
240
+ "inputs": [
241
+ {
242
+ "internalType": "address",
243
+ "name": "account",
244
+ "type": "address"
245
+ }
246
+ ],
247
+ "name": "ErrorNftOwnableNotOwner",
248
+ "type": "error"
249
+ },
250
+ {
251
+ "inputs": [
252
+ {
253
+ "internalType": "address",
254
+ "name": "registryAddress",
255
+ "type": "address"
256
+ }
257
+ ],
258
+ "name": "ErrorNotRegistry",
259
+ "type": "error"
260
+ },
261
+ {
262
+ "inputs": [
263
+ {
264
+ "internalType": "NftId",
265
+ "name": "applicationNftId",
266
+ "type": "uint96"
267
+ }
268
+ ],
269
+ "name": "ErrorPoolApplicationBundleMismatch",
270
+ "type": "error"
271
+ },
272
+ {
273
+ "inputs": [
274
+ {
275
+ "internalType": "NftId",
276
+ "name": "bundleNftId",
277
+ "type": "uint96"
278
+ },
279
+ {
280
+ "internalType": "address",
281
+ "name": "caller",
282
+ "type": "address"
283
+ }
284
+ ],
285
+ "name": "ErrorPoolNotBundleOwner",
286
+ "type": "error"
287
+ },
288
+ {
289
+ "inputs": [
290
+ {
291
+ "internalType": "address",
292
+ "name": "caller",
293
+ "type": "address"
294
+ }
295
+ ],
296
+ "name": "ErrorPoolNotPoolService",
297
+ "type": "error"
298
+ },
299
+ {
300
+ "inputs": [],
301
+ "name": "ErrorRegisterableNotActive",
302
+ "type": "error"
303
+ },
304
+ {
305
+ "inputs": [],
306
+ "name": "InvalidInitialization",
307
+ "type": "error"
308
+ },
309
+ {
310
+ "inputs": [],
311
+ "name": "NotInitializing",
312
+ "type": "error"
313
+ },
314
+ {
315
+ "anonymous": false,
316
+ "inputs": [
317
+ {
318
+ "indexed": false,
319
+ "internalType": "address",
320
+ "name": "authority",
321
+ "type": "address"
322
+ }
323
+ ],
324
+ "name": "AuthorityUpdated",
325
+ "type": "event"
326
+ },
327
+ {
328
+ "anonymous": false,
329
+ "inputs": [
330
+ {
331
+ "indexed": false,
332
+ "internalType": "uint64",
333
+ "name": "version",
334
+ "type": "uint64"
335
+ }
336
+ ],
337
+ "name": "Initialized",
338
+ "type": "event"
339
+ },
340
+ {
341
+ "anonymous": false,
342
+ "inputs": [
343
+ {
344
+ "indexed": false,
345
+ "internalType": "address",
346
+ "name": "tokenHandler",
347
+ "type": "address"
348
+ },
349
+ {
350
+ "indexed": false,
351
+ "internalType": "address",
352
+ "name": "token",
353
+ "type": "address"
354
+ },
355
+ {
356
+ "indexed": false,
357
+ "internalType": "Amount",
358
+ "name": "limit",
359
+ "type": "uint96"
360
+ },
361
+ {
362
+ "indexed": false,
363
+ "internalType": "bool",
364
+ "name": "isMaxAmount",
365
+ "type": "bool"
366
+ }
367
+ ],
368
+ "name": "LogComponentTokenHandlerApproved",
369
+ "type": "event"
370
+ },
371
+ {
372
+ "anonymous": false,
373
+ "inputs": [
374
+ {
375
+ "indexed": false,
376
+ "internalType": "address",
377
+ "name": "oldWallet",
378
+ "type": "address"
379
+ },
380
+ {
381
+ "indexed": false,
382
+ "internalType": "address",
383
+ "name": "newWallet",
384
+ "type": "address"
385
+ }
386
+ ],
387
+ "name": "LogComponentWalletAddressChanged",
388
+ "type": "event"
389
+ },
390
+ {
391
+ "anonymous": false,
392
+ "inputs": [
393
+ {
394
+ "indexed": false,
395
+ "internalType": "address",
396
+ "name": "from",
397
+ "type": "address"
398
+ },
399
+ {
400
+ "indexed": false,
401
+ "internalType": "address",
402
+ "name": "to",
403
+ "type": "address"
404
+ },
405
+ {
406
+ "indexed": false,
407
+ "internalType": "uint256",
408
+ "name": "amount",
409
+ "type": "uint256"
410
+ }
411
+ ],
412
+ "name": "LogComponentWalletTokensTransferred",
413
+ "type": "event"
414
+ },
415
+ {
416
+ "anonymous": false,
417
+ "inputs": [
418
+ {
419
+ "indexed": false,
420
+ "internalType": "address",
421
+ "name": "pool",
422
+ "type": "address"
423
+ },
424
+ {
425
+ "indexed": false,
426
+ "internalType": "NftId",
427
+ "name": "applicationNftId",
428
+ "type": "uint96"
429
+ },
430
+ {
431
+ "indexed": false,
432
+ "internalType": "Amount",
433
+ "name": "collateralizationAmount",
434
+ "type": "uint96"
435
+ }
436
+ ],
437
+ "name": "LogPoolVerifiedByPool",
438
+ "type": "event"
439
+ },
440
+ {
441
+ "inputs": [],
442
+ "name": "COMPONENT_LOCATION_V1",
443
+ "outputs": [
444
+ {
445
+ "internalType": "bytes32",
446
+ "name": "",
447
+ "type": "bytes32"
448
+ }
449
+ ],
450
+ "stateMutability": "view",
451
+ "type": "function"
452
+ },
453
+ {
454
+ "inputs": [],
455
+ "name": "INSTANCE_LINKED_COMPONENT_LOCATION_V1",
456
+ "outputs": [
457
+ {
458
+ "internalType": "bytes32",
459
+ "name": "",
460
+ "type": "bytes32"
461
+ }
462
+ ],
463
+ "stateMutability": "view",
464
+ "type": "function"
465
+ },
466
+ {
467
+ "inputs": [],
468
+ "name": "NFT_OWNABLE_STORAGE_LOCATION_V1",
469
+ "outputs": [
470
+ {
471
+ "internalType": "bytes32",
472
+ "name": "",
473
+ "type": "bytes32"
474
+ }
475
+ ],
476
+ "stateMutability": "view",
477
+ "type": "function"
478
+ },
479
+ {
480
+ "inputs": [],
481
+ "name": "POOL_STORAGE_LOCATION_V1",
482
+ "outputs": [
483
+ {
484
+ "internalType": "bytes32",
485
+ "name": "",
486
+ "type": "bytes32"
487
+ }
488
+ ],
489
+ "stateMutability": "view",
490
+ "type": "function"
491
+ },
492
+ {
493
+ "inputs": [],
494
+ "name": "REGISTERABLE_LOCATION_V1",
495
+ "outputs": [
496
+ {
497
+ "internalType": "bytes32",
498
+ "name": "",
499
+ "type": "bytes32"
500
+ }
501
+ ],
502
+ "stateMutability": "view",
503
+ "type": "function"
504
+ },
505
+ {
506
+ "inputs": [
507
+ {
508
+ "internalType": "NftId",
509
+ "name": "applicationNftId",
510
+ "type": "uint96"
511
+ },
512
+ {
513
+ "internalType": "bytes",
514
+ "name": "applicationData",
515
+ "type": "bytes"
516
+ },
517
+ {
518
+ "internalType": "NftId",
519
+ "name": "bundleNftId",
520
+ "type": "uint96"
521
+ },
522
+ {
523
+ "internalType": "bytes",
524
+ "name": "bundleFilter",
525
+ "type": "bytes"
526
+ },
527
+ {
528
+ "internalType": "Amount",
529
+ "name": "collateralizationAmount",
530
+ "type": "uint96"
531
+ }
532
+ ],
533
+ "name": "applicationMatchesBundle",
534
+ "outputs": [
535
+ {
536
+ "internalType": "bool",
537
+ "name": "isMatching",
538
+ "type": "bool"
539
+ }
540
+ ],
541
+ "stateMutability": "view",
542
+ "type": "function"
543
+ },
544
+ {
545
+ "inputs": [
546
+ {
547
+ "internalType": "contract IERC20Metadata",
548
+ "name": "token",
549
+ "type": "address"
550
+ },
551
+ {
552
+ "internalType": "Amount",
553
+ "name": "amount",
554
+ "type": "uint96"
555
+ }
556
+ ],
557
+ "name": "approveTokenHandler",
558
+ "outputs": [],
559
+ "stateMutability": "nonpayable",
560
+ "type": "function"
561
+ },
562
+ {
563
+ "inputs": [],
564
+ "name": "authority",
565
+ "outputs": [
566
+ {
567
+ "internalType": "address",
568
+ "name": "",
569
+ "type": "address"
570
+ }
571
+ ],
572
+ "stateMutability": "view",
573
+ "type": "function"
574
+ },
575
+ {
576
+ "inputs": [
577
+ {
578
+ "internalType": "NftId",
579
+ "name": "bundleNftId",
580
+ "type": "uint96"
581
+ }
582
+ ],
583
+ "name": "closeBundle",
584
+ "outputs": [],
585
+ "stateMutability": "nonpayable",
586
+ "type": "function"
587
+ },
588
+ {
589
+ "inputs": [
590
+ {
591
+ "components": [
592
+ {
593
+ "internalType": "UFixed",
594
+ "name": "fractionalFee",
595
+ "type": "uint160"
596
+ },
597
+ {
598
+ "internalType": "Amount",
599
+ "name": "fixedFee",
600
+ "type": "uint96"
601
+ }
602
+ ],
603
+ "internalType": "struct Fee",
604
+ "name": "fee",
605
+ "type": "tuple"
606
+ },
607
+ {
608
+ "internalType": "uint256",
609
+ "name": "initialAmount",
610
+ "type": "uint256"
611
+ },
612
+ {
613
+ "internalType": "Seconds",
614
+ "name": "lifetime",
615
+ "type": "uint40"
616
+ },
617
+ {
618
+ "internalType": "bytes",
619
+ "name": "filter",
620
+ "type": "bytes"
621
+ }
622
+ ],
623
+ "name": "createBundle",
624
+ "outputs": [
625
+ {
626
+ "internalType": "NftId",
627
+ "name": "bundleNftId",
628
+ "type": "uint96"
629
+ },
630
+ {
631
+ "internalType": "uint256",
632
+ "name": "netStakedAmountInt",
633
+ "type": "uint256"
634
+ }
635
+ ],
636
+ "stateMutability": "nonpayable",
637
+ "type": "function"
638
+ },
639
+ {
640
+ "inputs": [
641
+ {
642
+ "internalType": "Amount",
643
+ "name": "amount",
644
+ "type": "uint96"
645
+ }
646
+ ],
647
+ "name": "defundPoolWallet",
648
+ "outputs": [],
649
+ "stateMutability": "nonpayable",
650
+ "type": "function"
651
+ },
652
+ {
653
+ "inputs": [
654
+ {
655
+ "internalType": "NftId",
656
+ "name": "bundleNftId",
657
+ "type": "uint96"
658
+ },
659
+ {
660
+ "internalType": "Seconds",
661
+ "name": "lifetimeExtension",
662
+ "type": "uint40"
663
+ }
664
+ ],
665
+ "name": "extend",
666
+ "outputs": [
667
+ {
668
+ "internalType": "Timestamp",
669
+ "name": "newExpiredAt",
670
+ "type": "uint40"
671
+ }
672
+ ],
673
+ "stateMutability": "nonpayable",
674
+ "type": "function"
675
+ },
676
+ {
677
+ "inputs": [
678
+ {
679
+ "internalType": "Amount",
680
+ "name": "amount",
681
+ "type": "uint96"
682
+ }
683
+ ],
684
+ "name": "fundPoolWallet",
685
+ "outputs": [],
686
+ "stateMutability": "nonpayable",
687
+ "type": "function"
688
+ },
689
+ {
690
+ "inputs": [],
691
+ "name": "getAuthorization",
692
+ "outputs": [
693
+ {
694
+ "internalType": "contract IAuthorization",
695
+ "name": "authorization",
696
+ "type": "address"
697
+ }
698
+ ],
699
+ "stateMutability": "view",
700
+ "type": "function"
701
+ },
702
+ {
703
+ "inputs": [],
704
+ "name": "getComponentInfo",
705
+ "outputs": [
706
+ {
707
+ "components": [
708
+ {
709
+ "internalType": "string",
710
+ "name": "name",
711
+ "type": "string"
712
+ },
713
+ {
714
+ "internalType": "contract TokenHandler",
715
+ "name": "tokenHandler",
716
+ "type": "address"
717
+ },
718
+ {
719
+ "internalType": "bytes",
720
+ "name": "data",
721
+ "type": "bytes"
722
+ }
723
+ ],
724
+ "internalType": "struct IComponents.ComponentInfo",
725
+ "name": "info",
726
+ "type": "tuple"
727
+ }
728
+ ],
729
+ "stateMutability": "view",
730
+ "type": "function"
731
+ },
732
+ {
733
+ "inputs": [
734
+ {
735
+ "internalType": "bytes",
736
+ "name": "name",
737
+ "type": "bytes"
738
+ }
739
+ ],
740
+ "name": "getContractLocation",
741
+ "outputs": [
742
+ {
743
+ "internalType": "bytes32",
744
+ "name": "hash",
745
+ "type": "bytes32"
746
+ }
747
+ ],
748
+ "stateMutability": "pure",
749
+ "type": "function"
750
+ },
751
+ {
752
+ "inputs": [],
753
+ "name": "getInitialComponentInfo",
754
+ "outputs": [
755
+ {
756
+ "components": [
757
+ {
758
+ "internalType": "string",
759
+ "name": "name",
760
+ "type": "string"
761
+ },
762
+ {
763
+ "internalType": "contract TokenHandler",
764
+ "name": "tokenHandler",
765
+ "type": "address"
766
+ },
767
+ {
768
+ "internalType": "bytes",
769
+ "name": "data",
770
+ "type": "bytes"
771
+ }
772
+ ],
773
+ "internalType": "struct IComponents.ComponentInfo",
774
+ "name": "info",
775
+ "type": "tuple"
776
+ }
777
+ ],
778
+ "stateMutability": "view",
779
+ "type": "function"
780
+ },
781
+ {
782
+ "inputs": [],
783
+ "name": "getInitialInfo",
784
+ "outputs": [
785
+ {
786
+ "components": [
787
+ {
788
+ "internalType": "NftId",
789
+ "name": "nftId",
790
+ "type": "uint96"
791
+ },
792
+ {
793
+ "internalType": "NftId",
794
+ "name": "parentNftId",
795
+ "type": "uint96"
796
+ },
797
+ {
798
+ "internalType": "ObjectType",
799
+ "name": "objectType",
800
+ "type": "uint8"
801
+ },
802
+ {
803
+ "internalType": "bool",
804
+ "name": "isInterceptor",
805
+ "type": "bool"
806
+ },
807
+ {
808
+ "internalType": "address",
809
+ "name": "objectAddress",
810
+ "type": "address"
811
+ },
812
+ {
813
+ "internalType": "address",
814
+ "name": "initialOwner",
815
+ "type": "address"
816
+ },
817
+ {
818
+ "internalType": "bytes",
819
+ "name": "data",
820
+ "type": "bytes"
821
+ }
822
+ ],
823
+ "internalType": "struct IRegistry.ObjectInfo",
824
+ "name": "info",
825
+ "type": "tuple"
826
+ }
827
+ ],
828
+ "stateMutability": "view",
829
+ "type": "function"
830
+ },
831
+ {
832
+ "inputs": [],
833
+ "name": "getInitialPoolInfo",
834
+ "outputs": [
835
+ {
836
+ "components": [
837
+ {
838
+ "internalType": "Amount",
839
+ "name": "maxBalanceAmount",
840
+ "type": "uint96"
841
+ },
842
+ {
843
+ "internalType": "UFixed",
844
+ "name": "collateralizationLevel",
845
+ "type": "uint160"
846
+ },
847
+ {
848
+ "internalType": "UFixed",
849
+ "name": "retentionLevel",
850
+ "type": "uint160"
851
+ },
852
+ {
853
+ "internalType": "bool",
854
+ "name": "isInterceptingBundleTransfers",
855
+ "type": "bool"
856
+ },
857
+ {
858
+ "internalType": "bool",
859
+ "name": "isProcessingConfirmedClaims",
860
+ "type": "bool"
861
+ },
862
+ {
863
+ "internalType": "bool",
864
+ "name": "isExternallyManaged",
865
+ "type": "bool"
866
+ },
867
+ {
868
+ "internalType": "bool",
869
+ "name": "isVerifyingApplications",
870
+ "type": "bool"
871
+ }
872
+ ],
873
+ "internalType": "struct IComponents.PoolInfo",
874
+ "name": "poolInfo",
875
+ "type": "tuple"
876
+ }
877
+ ],
878
+ "stateMutability": "view",
879
+ "type": "function"
880
+ },
881
+ {
882
+ "inputs": [],
883
+ "name": "getInstance",
884
+ "outputs": [
885
+ {
886
+ "internalType": "contract IInstance",
887
+ "name": "instance",
888
+ "type": "address"
889
+ }
890
+ ],
891
+ "stateMutability": "view",
892
+ "type": "function"
893
+ },
894
+ {
895
+ "inputs": [],
896
+ "name": "getName",
897
+ "outputs": [
898
+ {
899
+ "internalType": "string",
900
+ "name": "name",
901
+ "type": "string"
902
+ }
903
+ ],
904
+ "stateMutability": "view",
905
+ "type": "function"
906
+ },
907
+ {
908
+ "inputs": [],
909
+ "name": "getNftId",
910
+ "outputs": [
911
+ {
912
+ "internalType": "NftId",
913
+ "name": "",
914
+ "type": "uint96"
915
+ }
916
+ ],
917
+ "stateMutability": "view",
918
+ "type": "function"
919
+ },
920
+ {
921
+ "inputs": [],
922
+ "name": "getOwner",
923
+ "outputs": [
924
+ {
925
+ "internalType": "address",
926
+ "name": "",
927
+ "type": "address"
928
+ }
929
+ ],
930
+ "stateMutability": "view",
931
+ "type": "function"
932
+ },
933
+ {
934
+ "inputs": [],
935
+ "name": "getRegistry",
936
+ "outputs": [
937
+ {
938
+ "internalType": "contract IRegistry",
939
+ "name": "",
940
+ "type": "address"
941
+ }
942
+ ],
943
+ "stateMutability": "view",
944
+ "type": "function"
945
+ },
946
+ {
947
+ "inputs": [],
948
+ "name": "getRelease",
949
+ "outputs": [
950
+ {
951
+ "internalType": "VersionPart",
952
+ "name": "release",
953
+ "type": "uint8"
954
+ }
955
+ ],
956
+ "stateMutability": "view",
957
+ "type": "function"
958
+ },
959
+ {
960
+ "inputs": [],
961
+ "name": "getToken",
962
+ "outputs": [
963
+ {
964
+ "internalType": "contract IERC20Metadata",
965
+ "name": "token",
966
+ "type": "address"
967
+ }
968
+ ],
969
+ "stateMutability": "view",
970
+ "type": "function"
971
+ },
972
+ {
973
+ "inputs": [],
974
+ "name": "getTokenHandler",
975
+ "outputs": [
976
+ {
977
+ "internalType": "contract TokenHandler",
978
+ "name": "tokenHandler",
979
+ "type": "address"
980
+ }
981
+ ],
982
+ "stateMutability": "view",
983
+ "type": "function"
984
+ },
985
+ {
986
+ "inputs": [],
987
+ "name": "getVersion",
988
+ "outputs": [
989
+ {
990
+ "internalType": "Version",
991
+ "name": "version",
992
+ "type": "uint24"
993
+ }
994
+ ],
995
+ "stateMutability": "view",
996
+ "type": "function"
997
+ },
998
+ {
999
+ "inputs": [],
1000
+ "name": "getWallet",
1001
+ "outputs": [
1002
+ {
1003
+ "internalType": "address",
1004
+ "name": "walletAddress",
1005
+ "type": "address"
1006
+ }
1007
+ ],
1008
+ "stateMutability": "view",
1009
+ "type": "function"
1010
+ },
1011
+ {
1012
+ "inputs": [
1013
+ {
1014
+ "internalType": "address",
1015
+ "name": "registry",
1016
+ "type": "address"
1017
+ },
1018
+ {
1019
+ "internalType": "NftId",
1020
+ "name": "productNftId",
1021
+ "type": "uint96"
1022
+ },
1023
+ {
1024
+ "components": [
1025
+ {
1026
+ "internalType": "Amount",
1027
+ "name": "maxBalanceAmount",
1028
+ "type": "uint96"
1029
+ },
1030
+ {
1031
+ "internalType": "UFixed",
1032
+ "name": "collateralizationLevel",
1033
+ "type": "uint160"
1034
+ },
1035
+ {
1036
+ "internalType": "UFixed",
1037
+ "name": "retentionLevel",
1038
+ "type": "uint160"
1039
+ },
1040
+ {
1041
+ "internalType": "bool",
1042
+ "name": "isInterceptingBundleTransfers",
1043
+ "type": "bool"
1044
+ },
1045
+ {
1046
+ "internalType": "bool",
1047
+ "name": "isProcessingConfirmedClaims",
1048
+ "type": "bool"
1049
+ },
1050
+ {
1051
+ "internalType": "bool",
1052
+ "name": "isExternallyManaged",
1053
+ "type": "bool"
1054
+ },
1055
+ {
1056
+ "internalType": "bool",
1057
+ "name": "isVerifyingApplications",
1058
+ "type": "bool"
1059
+ }
1060
+ ],
1061
+ "internalType": "struct IComponents.PoolInfo",
1062
+ "name": "poolInfo",
1063
+ "type": "tuple"
1064
+ },
1065
+ {
1066
+ "internalType": "contract IAuthorization",
1067
+ "name": "authorization",
1068
+ "type": "address"
1069
+ },
1070
+ {
1071
+ "internalType": "address",
1072
+ "name": "initialOwner",
1073
+ "type": "address"
1074
+ }
1075
+ ],
1076
+ "name": "initialize",
1077
+ "outputs": [],
1078
+ "stateMutability": "nonpayable",
1079
+ "type": "function"
1080
+ },
1081
+ {
1082
+ "inputs": [],
1083
+ "name": "isActive",
1084
+ "outputs": [
1085
+ {
1086
+ "internalType": "bool",
1087
+ "name": "active",
1088
+ "type": "bool"
1089
+ }
1090
+ ],
1091
+ "stateMutability": "view",
1092
+ "type": "function"
1093
+ },
1094
+ {
1095
+ "inputs": [],
1096
+ "name": "isConsumingScheduledOp",
1097
+ "outputs": [
1098
+ {
1099
+ "internalType": "bytes4",
1100
+ "name": "",
1101
+ "type": "bytes4"
1102
+ }
1103
+ ],
1104
+ "stateMutability": "view",
1105
+ "type": "function"
1106
+ },
1107
+ {
1108
+ "inputs": [],
1109
+ "name": "isNftInterceptor",
1110
+ "outputs": [
1111
+ {
1112
+ "internalType": "bool",
1113
+ "name": "isInterceptor",
1114
+ "type": "bool"
1115
+ }
1116
+ ],
1117
+ "stateMutability": "view",
1118
+ "type": "function"
1119
+ },
1120
+ {
1121
+ "inputs": [],
1122
+ "name": "isRegistered",
1123
+ "outputs": [
1124
+ {
1125
+ "internalType": "bool",
1126
+ "name": "",
1127
+ "type": "bool"
1128
+ }
1129
+ ],
1130
+ "stateMutability": "view",
1131
+ "type": "function"
1132
+ },
1133
+ {
1134
+ "inputs": [],
1135
+ "name": "linkToRegisteredNftId",
1136
+ "outputs": [
1137
+ {
1138
+ "internalType": "NftId",
1139
+ "name": "nftId",
1140
+ "type": "uint96"
1141
+ }
1142
+ ],
1143
+ "stateMutability": "nonpayable",
1144
+ "type": "function"
1145
+ },
1146
+ {
1147
+ "inputs": [
1148
+ {
1149
+ "internalType": "NftId",
1150
+ "name": "bundleNftId",
1151
+ "type": "uint96"
1152
+ }
1153
+ ],
1154
+ "name": "lockBundle",
1155
+ "outputs": [],
1156
+ "stateMutability": "nonpayable",
1157
+ "type": "function"
1158
+ },
1159
+ {
1160
+ "inputs": [
1161
+ {
1162
+ "internalType": "address",
1163
+ "name": "from",
1164
+ "type": "address"
1165
+ },
1166
+ {
1167
+ "internalType": "address",
1168
+ "name": "to",
1169
+ "type": "address"
1170
+ },
1171
+ {
1172
+ "internalType": "uint256",
1173
+ "name": "tokenId",
1174
+ "type": "uint256"
1175
+ },
1176
+ {
1177
+ "internalType": "address",
1178
+ "name": "operator",
1179
+ "type": "address"
1180
+ }
1181
+ ],
1182
+ "name": "nftTransferFrom",
1183
+ "outputs": [],
1184
+ "stateMutability": "nonpayable",
1185
+ "type": "function"
1186
+ },
1187
+ {
1188
+ "inputs": [
1189
+ {
1190
+ "internalType": "NftId",
1191
+ "name": "policyNftId",
1192
+ "type": "uint96"
1193
+ },
1194
+ {
1195
+ "internalType": "ClaimId",
1196
+ "name": "claimId",
1197
+ "type": "uint16"
1198
+ },
1199
+ {
1200
+ "internalType": "Amount",
1201
+ "name": "amount",
1202
+ "type": "uint96"
1203
+ }
1204
+ ],
1205
+ "name": "processConfirmedClaim",
1206
+ "outputs": [],
1207
+ "stateMutability": "nonpayable",
1208
+ "type": "function"
1209
+ },
1210
+ {
1211
+ "inputs": [
1212
+ {
1213
+ "internalType": "address",
1214
+ "name": "newAuthority",
1215
+ "type": "address"
1216
+ }
1217
+ ],
1218
+ "name": "setAuthority",
1219
+ "outputs": [],
1220
+ "stateMutability": "nonpayable",
1221
+ "type": "function"
1222
+ },
1223
+ {
1224
+ "inputs": [
1225
+ {
1226
+ "internalType": "NftId",
1227
+ "name": "bundleNftId",
1228
+ "type": "uint96"
1229
+ },
1230
+ {
1231
+ "components": [
1232
+ {
1233
+ "internalType": "UFixed",
1234
+ "name": "fractionalFee",
1235
+ "type": "uint160"
1236
+ },
1237
+ {
1238
+ "internalType": "Amount",
1239
+ "name": "fixedFee",
1240
+ "type": "uint96"
1241
+ }
1242
+ ],
1243
+ "internalType": "struct Fee",
1244
+ "name": "fee",
1245
+ "type": "tuple"
1246
+ }
1247
+ ],
1248
+ "name": "setBundleFee",
1249
+ "outputs": [],
1250
+ "stateMutability": "nonpayable",
1251
+ "type": "function"
1252
+ },
1253
+ {
1254
+ "inputs": [
1255
+ {
1256
+ "components": [
1257
+ {
1258
+ "internalType": "UFixed",
1259
+ "name": "fractionalFee",
1260
+ "type": "uint160"
1261
+ },
1262
+ {
1263
+ "internalType": "Amount",
1264
+ "name": "fixedFee",
1265
+ "type": "uint96"
1266
+ }
1267
+ ],
1268
+ "internalType": "struct Fee",
1269
+ "name": "poolFee",
1270
+ "type": "tuple"
1271
+ },
1272
+ {
1273
+ "components": [
1274
+ {
1275
+ "internalType": "UFixed",
1276
+ "name": "fractionalFee",
1277
+ "type": "uint160"
1278
+ },
1279
+ {
1280
+ "internalType": "Amount",
1281
+ "name": "fixedFee",
1282
+ "type": "uint96"
1283
+ }
1284
+ ],
1285
+ "internalType": "struct Fee",
1286
+ "name": "stakingFee",
1287
+ "type": "tuple"
1288
+ },
1289
+ {
1290
+ "components": [
1291
+ {
1292
+ "internalType": "UFixed",
1293
+ "name": "fractionalFee",
1294
+ "type": "uint160"
1295
+ },
1296
+ {
1297
+ "internalType": "Amount",
1298
+ "name": "fixedFee",
1299
+ "type": "uint96"
1300
+ }
1301
+ ],
1302
+ "internalType": "struct Fee",
1303
+ "name": "performanceFee",
1304
+ "type": "tuple"
1305
+ }
1306
+ ],
1307
+ "name": "setFees",
1308
+ "outputs": [],
1309
+ "stateMutability": "nonpayable",
1310
+ "type": "function"
1311
+ },
1312
+ {
1313
+ "inputs": [
1314
+ {
1315
+ "internalType": "bool",
1316
+ "name": "locked",
1317
+ "type": "bool"
1318
+ }
1319
+ ],
1320
+ "name": "setLocked",
1321
+ "outputs": [],
1322
+ "stateMutability": "nonpayable",
1323
+ "type": "function"
1324
+ },
1325
+ {
1326
+ "inputs": [
1327
+ {
1328
+ "internalType": "Amount",
1329
+ "name": "maxBalanceAmount",
1330
+ "type": "uint96"
1331
+ }
1332
+ ],
1333
+ "name": "setMaxBalanceAmount",
1334
+ "outputs": [],
1335
+ "stateMutability": "nonpayable",
1336
+ "type": "function"
1337
+ },
1338
+ {
1339
+ "inputs": [
1340
+ {
1341
+ "internalType": "address",
1342
+ "name": "newWallet",
1343
+ "type": "address"
1344
+ }
1345
+ ],
1346
+ "name": "setWallet",
1347
+ "outputs": [],
1348
+ "stateMutability": "nonpayable",
1349
+ "type": "function"
1350
+ },
1351
+ {
1352
+ "inputs": [
1353
+ {
1354
+ "internalType": "NftId",
1355
+ "name": "bundleNftId",
1356
+ "type": "uint96"
1357
+ },
1358
+ {
1359
+ "internalType": "Amount",
1360
+ "name": "amount",
1361
+ "type": "uint96"
1362
+ }
1363
+ ],
1364
+ "name": "stake",
1365
+ "outputs": [],
1366
+ "stateMutability": "nonpayable",
1367
+ "type": "function"
1368
+ },
1369
+ {
1370
+ "inputs": [
1371
+ {
1372
+ "internalType": "bytes4",
1373
+ "name": "interfaceId",
1374
+ "type": "bytes4"
1375
+ }
1376
+ ],
1377
+ "name": "supportsInterface",
1378
+ "outputs": [
1379
+ {
1380
+ "internalType": "bool",
1381
+ "name": "",
1382
+ "type": "bool"
1383
+ }
1384
+ ],
1385
+ "stateMutability": "view",
1386
+ "type": "function"
1387
+ },
1388
+ {
1389
+ "inputs": [
1390
+ {
1391
+ "internalType": "NftId",
1392
+ "name": "bundleNftId",
1393
+ "type": "uint96"
1394
+ }
1395
+ ],
1396
+ "name": "unlockBundle",
1397
+ "outputs": [],
1398
+ "stateMutability": "nonpayable",
1399
+ "type": "function"
1400
+ },
1401
+ {
1402
+ "inputs": [
1403
+ {
1404
+ "internalType": "NftId",
1405
+ "name": "bundleNftId",
1406
+ "type": "uint96"
1407
+ },
1408
+ {
1409
+ "internalType": "Amount",
1410
+ "name": "amount",
1411
+ "type": "uint96"
1412
+ }
1413
+ ],
1414
+ "name": "unstake",
1415
+ "outputs": [],
1416
+ "stateMutability": "nonpayable",
1417
+ "type": "function"
1418
+ },
1419
+ {
1420
+ "inputs": [
1421
+ {
1422
+ "internalType": "NftId",
1423
+ "name": "applicationNftId",
1424
+ "type": "uint96"
1425
+ },
1426
+ {
1427
+ "internalType": "NftId",
1428
+ "name": "bundleNftId",
1429
+ "type": "uint96"
1430
+ },
1431
+ {
1432
+ "internalType": "Amount",
1433
+ "name": "collateralizationAmount",
1434
+ "type": "uint96"
1435
+ }
1436
+ ],
1437
+ "name": "verifyApplication",
1438
+ "outputs": [],
1439
+ "stateMutability": "nonpayable",
1440
+ "type": "function"
1441
+ },
1442
+ {
1443
+ "inputs": [
1444
+ {
1445
+ "internalType": "NftId",
1446
+ "name": "bundleNftId",
1447
+ "type": "uint96"
1448
+ },
1449
+ {
1450
+ "internalType": "Amount",
1451
+ "name": "amount",
1452
+ "type": "uint96"
1453
+ }
1454
+ ],
1455
+ "name": "withdrawBundleFees",
1456
+ "outputs": [
1457
+ {
1458
+ "internalType": "Amount",
1459
+ "name": "withdrawnAmount",
1460
+ "type": "uint96"
1461
+ }
1462
+ ],
1463
+ "stateMutability": "nonpayable",
1464
+ "type": "function"
1465
+ },
1466
+ {
1467
+ "inputs": [
1468
+ {
1469
+ "internalType": "Amount",
1470
+ "name": "amount",
1471
+ "type": "uint96"
1472
+ }
1473
+ ],
1474
+ "name": "withdrawFees",
1475
+ "outputs": [
1476
+ {
1477
+ "internalType": "Amount",
1478
+ "name": "withdrawnAmount",
1479
+ "type": "uint96"
1480
+ }
1481
+ ],
1482
+ "stateMutability": "nonpayable",
1483
+ "type": "function"
1484
+ }
1485
+ ],
1486
+ "bytecode": "0x608060405234801561000f575f80fd5b50604051615ac0380380615ac083398101604081905261002e91610d83565b61003b8585858585610045565b5050505050611190565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00805468010000000000000000810460ff1615906001600160401b03165f8115801561008e5750825b90505f826001600160401b031660011480156100a95750303b155b9050811580156100b7575080155b156100d55760405163f92ee8a960e01b815260040160405180910390fd5b84546001600160401b0319166001178555831561010357845460ff60401b1916680100000000000000001785555b6101398a8a6040518060400160405280600a81526020016914da5b5c1b19541bdbdb60b21b8152508b8b8b61018b60201b60201c565b831561017f57845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50505050505050505050565b6101936101be565b6101b686868686868660405180602001604052805f81525061020e60201b60201c565b505050505050565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a005468010000000000000000900460ff1661020c57604051631afcd79f60e31b815260040160405180910390fd5b565b6102166101be565b61022c878787600f6060890151889088886103a7565b5f7f25e3e51823fbfffb988e0a2744bb93722d9f3e906c07cc0a9e77884c46c58300855160208701516001600160601b039091166c010000000000000000000000006001600160a01b0392831602178255604087015160018301805460608a015160808b015160a08c015160c08d0151959096166001600160a81b031990931692909217600160a01b911515919091021761ffff60a81b1916600160a81b9115159190910260ff60b01b191617600160b01b931515939093029290921760ff60b81b1916600160b81b91151591909102179055905061031161030c600f90565b6105cb565b6003820180546001600160a01b0319166001600160a01b039290921691909117905561033e61030c601690565b6004820180546001600160a01b0319166001600160a01b039290921691909117905561036b61030c600b90565b6002820180546001600160a01b0319166001600160a01b039290921691909117905561039d635a48579360e11b610662565b5050505050505050565b6103af6101be565b5f6103bb898988610695565b90505f7fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f0060405163bf8e179760e01b81526001600160601b03841660048201529091506001600160a01b038b169063bf8e179790602401602060405180830381865afa15801561042d573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906104519190610e76565b81546001600160a01b0319166001600160a01b039190911690811782556040805163bf7e214f60e01b815290516104f0929163bf7e214f9160048083019260209291908290030181865afa1580156104ab573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906104cf9190610e76565b8b8b8b8b8a8a60405180602001604052805f8152508b61074060201b60201c565b8054604080516302cd307160e01b815290516001600160a01b03909216916302cd3071916004808201926020929091908290030181865afa158015610537573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061055b9190610e76565b6001820180546001600160a01b03199081166001600160a01b039384161790915560028301805490911691881691909117905561059961030c600b90565b6003820180546001600160a01b0319166001600160a01b039290921691909117905561017f63a9c1bc6f60e01b610662565b5f6105de6001546001600160a01b031690565b6001600160a01b031663d39e6043836105f5610810565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa158015610638573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061065c9190610e76565b92915050565b61066a6101be565b610692816001600160e01b0319165f908152602081905260409020805460ff19166001179055565b50565b5f60ff8216600c036106b6576106ad8484600a6108a6565b50829050610739565b5f6106c38585600c6108a6565b60405163677d3feb60e11b81526001600160601b03861660048201529091506001600160a01b0382169063cefa7fd690602401602060405180830381865afa158015610711573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906107359190610e91565b9150505b9392505050565b6107486101be565b85515f036107695760405163591eebf360e11b815260040160405180910390fd5b61077889898988888888610970565b7fffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f00806107a48882610f30565b5060018101805460ff1916861515179055600281016107c38382610f30565b506107ce600b6105cb565b6003820180546001600160a01b0319166001600160a01b0392909216919091179055610800634a531f3360e01b610662565b61017f6306e9e5ff60e31b610662565b5f6108427ff3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00546001600160a01b031690565b6001600160a01b03166376b707b76040518163ffffffff1660e01b8152600401602060405180830381865afa15801561087d573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906108a19190611003565b905090565b6040516305247a1760e51b81526001600160601b038316600482015283905f906001600160a01b0383169063a48f42e0906024015f60405180830381865afa1580156108f4573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f1916820160405261091b91908101906110a7565b905061093281604001518460ff9081169116141590565b1561096857604080820151905163b0c1f6eb60e01b815260ff808616600483015290911660248201526044015b60405180910390fd5b509392505050565b6109786101be565b604051632330f24760e01b81526001600160a01b038816600482015273__$fb599632d08395912d9d70eb2f0f93b5e2$__90632330f24790602401602060405180830381865af41580156109ce573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906109f29190611177565b610a1a5760405163cf6935e560e01b81526001600160a01b038816600482015260240161095f565b610a2387610aba565b610a2d8683610acb565b5f7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166001600160681b0319909116176c0100000000000000000000000060ff8816021760ff60681b19166d010000000000000000000000000086151502178155905060018101610aa98382610f30565b5061039d634a531f3360e01b610662565b610ac26101be565b61069281610b5d565b610ad36101be565b610adb610b6e565b610ae482610bb6565b6001600160a01b038116610b0b5760405163f17ef42d60e01b815260040160405180910390fd5b7f07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f0080546001600160601b03166c010000000000000000000000006001600160a01b039093169290920291909117905550565b610b656101be565b61069281610c82565b610b766101be565b61020c6301ffc9a760e01b5f9081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b610bbe6101be565b604051633334d16b60e01b81526001600160a01b038216600482015273__$fb599632d08395912d9d70eb2f0f93b5e2$__90633334d16b90602401602060405180830381865af4158015610c14573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610c389190611177565b610c605760405163fdeac91f60e01b81526001600160a01b038216600482015260240161095f565b600180546001600160a01b0319166001600160a01b0392909216919091179055565b7ff3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a0080546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b6001600160a01b0381168114610692575f80fd5b8051610d1481610cf5565b919050565b6001600160601b0381168114610692575f80fd5b8051610d1481610d19565b634e487b7160e01b5f52604160045260245ffd5b60405160e081016001600160401b0381118282101715610d6e57610d6e610d38565b60405290565b80518015158114610d14575f80fd5b5f805f805f858703610160811215610d99575f80fd5b8651610da481610cf5565b6020880151909650610db581610d19565b945060e0603f1982011215610dc8575f80fd5b50610dd1610d4c565b6040870151610ddf81610d19565b81526060870151610def81610cf5565b60208201526080870151610e0281610cf5565b6040820152610e1360a08801610d74565b6060820152610e2460c08801610d74565b6080820152610e3560e08801610d74565b60a0820152610e476101008801610d74565b60c08201529250610e5b6101208701610d09565b9150610e6a6101408701610d09565b90509295509295909350565b5f60208284031215610e86575f80fd5b815161073981610cf5565b5f60208284031215610ea1575f80fd5b815161073981610d19565b600181811c90821680610ec057607f821691505b602082108103610ede57634e487b7160e01b5f52602260045260245ffd5b50919050565b601f821115610f2b57805f5260205f20601f840160051c81016020851015610f095750805b601f840160051c820191505b81811015610f28575f8155600101610f15565b50505b505050565b81516001600160401b03811115610f4957610f49610d38565b610f5d81610f578454610eac565b84610ee4565b6020601f821160018114610f8f575f8315610f785750848201515b5f19600385901b1c1916600184901b178455610f28565b5f84815260208120601f198516915b82811015610fbe5787850151825560209485019460019092019101610f9e565b5084821015610fdb57868401515f19600387901b60f8161c191681555b50505050600190811b01905550565b60ff81168114610692575f80fd5b8051610d1481610fea565b5f60208284031215611013575f80fd5b815161073981610fea565b5f82601f83011261102d575f80fd5b81516001600160401b0381111561104657611046610d38565b604051601f8201601f19908116603f011681016001600160401b038111828210171561107457611074610d38565b60405281815283820160200185101561108b575f80fd5b8160208501602083015e5f918101602001919091529392505050565b5f602082840312156110b7575f80fd5b81516001600160401b038111156110cc575f80fd5b820160e081850312156110dd575f80fd5b6110e5610d4c565b6110ee82610d2d565b81526110fc60208301610d2d565b602082015261110d60408301610ff8565b604082015261111e60608301610d74565b606082015261112f60808301610d09565b608082015261114060a08301610d09565b60a082015260c08201516001600160401b0381111561115d575f80fd5b6111698682850161101e565b60c083015250949350505050565b5f60208284031215611187575f80fd5b61073982610d74565b6149238061119d5f395ff3fe608060405234801561000f575f80fd5b50600436106102e5575f3560e01c8063644c45e011610195578063ad12ad60116100e4578063d80a1b5f1161009e578063ea15869f11610079578063ea15869f146107ba578063ee378463146107e1578063f3d0e5d2146107f4578063fde0a3cd1461081d575f80fd5b8063d80a1b5f14610758578063de7b5d141461078a578063deaa59df146107a7575f80fd5b8063ad12ad60146106fb578063ada9652e1461070e578063b423086c14610722578063bca99e391461072a578063bf7e214f1461073d578063d0d63b0914610745575f80fd5b806385ba83441161014f5780638e4a508e1161012a5780638e4a508e1461069f5780638fb36037146106b257806390edbd35146106d357806392f37d78146106e8575f80fd5b806385ba8344146105a6578063893d20e8146106845780638d9a753f1461068c575f80fd5b8063644c45e0146105065780636bd1c0eb146105235780636c1e9dff146105535780636f10e8a01461056657806376b707b7146105795780637a9e5e4b14610593575f80fd5b806322f3e2d41161025157806343d752d31161020b5780635741e5e9116101e65780635741e5e9146104c75780635ab1bd53146104cf5780635e1767ea146104e05780635f3d10d4146104f3575f80fd5b806343d752d3146104995780634deed579146104a157806354e50779146104b4575f80fd5b806322f3e2d41461043157806326889b09146104395780632eb3e6f41461044c578063329c71c01461046057806337dd18a514610473578063419197fe14610486575f80fd5b806317d7de7c116102a257806317d7de7c146103bd5780631c6b2190146103d25780631eff4b22146103e5578063211e28b61461040c57806321df0da7146104215780632236684414610429575f80fd5b806301ffc9a7146102e95780630d8e6e2c1461032a5780630fec111c146103465780630ffeecca1461035b578063132996041461037d578063138461e01461039d575b5f80fd5b6103156102f7366004613753565b6001600160e01b0319165f9081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b610332610830565b60405162ffffff9091168152602001610321565b61034e6108b7565b60405161032191906137a8565b61036f5f8051602061486e83398151915281565b604051908152602001610321565b610385610a71565b6040516001600160a01b039091168152602001610321565b6103a5610ad9565b6040516001600160601b039091168152602001610321565b6103c5610ae3565b604051610321919061383c565b6103a56103e0366004613862565b610af3565b61036f7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b61041f61041a366004613895565b610b51565b005b610385610b98565b610315610bdc565b610315610cd2565b61041f6104473660046138b0565b610d49565b61036f5f805160206148ae83398151915281565b61041f61046e366004613862565b610e2a565b61041f610481366004613a30565b610e33565b61041f610494366004613a64565b610f13565b610385610f65565b61041f6104af366004613a80565b610f77565b6103a56104c23660046138b0565b611134565b610315611218565b6001546001600160a01b0316610385565b61036f6104ee366004613b40565b6112ce565b61041f610501366004613b7c565b611317565b5f8051602061482e833981519152546001600160601b03166103a5565b7fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f02546001600160a01b0316610385565b61041f6105613660046138b0565b61144e565b61041f610574366004613862565b611527565b610581611605565b60405160ff9091168152602001610321565b61041f6105a1366004613c70565b61166d565b6106776040805160e0810182525f80825260208201819052918101829052606081018290526080810182905260a0810182905260c08101919091525f8051602061486e8339815191526040805160e08101825282546001600160601b03811682526001600160a01b03600160601b909104811660208301526001909301549283169181019190915260ff600160a01b8304811615156060830152600160a81b8304811615156080830152600160b01b83048116151560a0830152600160b81b909204909116151560c0820152919050565b6040516103219190613c8b565b6103856116ef565b61041f61069a366004613d11565b611820565b61041f6106ad366004613862565b611874565b6106ba61187d565b6040516001600160e01b03199091168152602001610321565b6106db6118b2565b6040516103219190613d54565b6103156106f6366004613da2565b6118d7565b61041f610709366004613e3d565b611902565b61036f5f8051602061482e83398151915281565b6106db6119a4565b61041f610738366004613862565b6119b4565b610385611a01565b61041f610753366004613862565b611a1c565b61076b610766366004613e9f565b611af4565b604080516001600160601b039093168352602083019190915201610321565b5f805160206148ae833981519152546001600160a01b0316610385565b61041f6107b5366004613c70565b611c4a565b61036f7fffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f0081565b61041f6107ef366004613f44565b611c97565b610807610802366004613f71565b611cad565b60405164ffffffffff9091168152602001610321565b61041f61082b366004613862565b611d87565b604051632efe011360e01b8152600160048201525f60248201819052604482018190529073__$8eede297b65ed5a56eb3f84d8232ae93f5$__90632efe011390606401602060405180830381865af415801561088e573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906108b29190613f9d565b905090565b6040805160e0810182525f8082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820152907f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e0016040528073__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015610963573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906109879190613fca565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a0016109cf6116ef565b6001600160a01b031681526020018260010180546109ec90613fe5565b80601f0160208091040260200160405190810160405280929190818152602001828054610a1890613fe5565b8015610a635780601f10610a3a57610100808354040283529160200191610a63565b820191905f5260205f20905b815481529060010190602001808311610a4657829003601f168201915b505050505081525091505090565b5f610a7a610f65565b6001600160a01b031663132996046040518163ffffffff1660e01b8152600401602060405180830381865afa158015610ab5573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906108b29190614028565b5f6108b230611e5f565b6060610aed6118b2565b51919050565b5f610b00335b5f36612058565b610b086116ef565b6001600160a01b0316336001600160a01b031614610b405760405163086391f760e31b81523360048201526024015b60405180910390fd5b610b498261214e565b90505b919050565b610b596116ef565b6001600160a01b0316336001600160a01b031614610b8c5760405163086391f760e31b8152336004820152602401610b37565b610b95816121d2565b50565b5f610ba1610f65565b6001600160a01b03166382bfefc86040518163ffffffff1660e01b8152600401602060405180830381865afa158015610ab5573d5f803e3d5ffd5b5f610bef6001546001600160a01b031690565b604051632f2a35f760e11b81523060048201526001600160a01b039190911690635e546bee90602401602060405180830381865afa158015610c33573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610c579190613fca565b6040516330b8415f60e01b81526001600160601b03909116600482015273__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015610cae573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906108b2919061404e565b5f610cdb611a01565b60405163a166aa8960e01b81523060048201526001600160a01b03919091169063a166aa8990602401602060405180830381865afa158015610d1f573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610d43919061404e565b15905090565b610d5233610af9565b81610d656001546001600160a01b031690565b604051631c5da14d60e11b81526001600160601b03831660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015610db2573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610dd69190614028565b6001600160a01b0316336001600160a01b031614610e0b578033604051636efdd32b60e11b8152600401610b37929190614069565b826016610e188282612248565b610e22858561237c565b505050505050565b610b958161240e565b610e3c33610af9565b81610e4f6001546001600160a01b031690565b604051631c5da14d60e11b81526001600160601b03831660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015610e9c573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610ec09190614028565b6001600160a01b0316336001600160a01b031614610ef5578033604051636efdd32b60e11b8152600401610b37929190614069565b826016610f028282612248565b610f0c8585612452565b5050505050565b610f1c33610af9565b610f246116ef565b6001600160a01b0316336001600160a01b031614610f575760405163086391f760e31b8152336004820152602401610b37565b610f6182826124b9565b5050565b5f610f6e6118b2565b60200151905090565b610f8033610af9565b826015610f8d8282612248565b5f610fbf7fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f01546001600160a01b031690565b60405163bd7d9d8560e01b81526001600160601b03881660048201529091506110bb9087906001600160a01b0384169063bd7d9d85906024015f60405180830381865afa158015611012573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052611039919081019061410c565b6101c00151604051634793b4ab60e01b81526001600160601b038916600482015288906001600160a01b03861690634793b4ab906024015f60405180830381865afa15801561108a573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526110b191908101906142d4565b60a00151886118d7565b6110e357604051636b468c9b60e01b81526001600160601b0387166004820152602401610b37565b604080513081526001600160601b03888116602083015286168183015290517fcca48a0200c526a7c48f1e770c739ef8e82d7b30e26825735858705fbcda4e079181900360600190a1505050505050565b5f61113e33610af9565b826111516001546001600160a01b031690565b604051631c5da14d60e11b81526001600160601b03831660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa15801561119e573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906111c29190614028565b6001600160a01b0316336001600160a01b0316146111f7578033604051636efdd32b60e11b8152600401610b37929190614069565b8360166112048282612248565b61120e8686612519565b9695505050505050565b5f611221610bdc565b156112a5576001546001600160a01b03166040516308b09a5f60e41b81523060048201526001600160a01b039190911690638b09a5f0906024015f60405180830381865afa158015611275573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f1916820160405261129c91908101906143b1565b60600151905090565b507fffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f015460ff1690565b805160208201205f9060ff19906112e790600190614481565b6040516020016112f991815260200190565b60405160208183030381529060405280519060200120169050919050565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a008054600160401b810460ff1615906001600160401b03165f8115801561135b5750825b90505f826001600160401b031660011480156113765750303b155b905081158015611384575080155b156113a25760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff1916600117855583156113cc57845460ff60401b1916600160401b1785555b6113fc8a8a6040518060400160405280600a81526020016914da5b5c1b19541bdbdb60b21b8152508b8b8b612566565b831561144257845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50505050505050505050565b61145733610af9565b8161146a6001546001600160a01b031690565b604051631c5da14d60e11b81526001600160601b03831660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa1580156114b7573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906114db9190614028565b6001600160a01b0316336001600160a01b031614611510578033604051636efdd32b60e11b8152600401610b37929190614069565b82601661151d8282612248565b610e22858561258b565b61153033610af9565b806115436001546001600160a01b031690565b604051631c5da14d60e11b81526001600160601b03831660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015611590573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906115b49190614028565b6001600160a01b0316336001600160a01b0316146115e9578033604051636efdd32b60e11b8152600401610b37929190614069565b8160166115f68282612248565b6115ff846125d8565b50505050565b5f61160e611a01565b6001600160a01b03166376b707b76040518163ffffffff1660e01b8152600401602060405180830381865afa158015611649573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906108b291906144a0565b33611676611a01565b6001600160a01b0316816001600160a01b0316146116b15760405162d1953b60e31b81526001600160a01b0382166004820152602401610b37565b816001600160a01b03163b5f036116e6576040516361798f2f60e11b81526001600160a01b0383166004820152602401610b37565b610f618261261d565b5f805f8051602061482e83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af415801561175b573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061177f919061404e565b1561180a576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa1580156117e0573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906118049190614028565b91505090565b54600160601b90046001600160a01b0316919050565b61182933610af9565b6118316116ef565b6001600160a01b0316336001600160a01b0316146118645760405163086391f760e31b8152336004820152602401610b37565b61186f83838361267d565b505050565b610b9581612702565b5f8051602061484e83398151915280545f9190600160a01b900460ff166118a4575f611804565b638fb3603760e01b91505090565b6118ba61372a565b6118c2610bdc565b156118cf576108b2612747565b6108b26119a4565b5f8560156118e58282612248565b8560166118f28282612248565b5060019998505050505050505050565b6001546001600160a01b03166001600160a01b031663120726c36040518163ffffffff1660e01b8152600401602060405180830381865afa158015611949573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061196d9190614028565b6001600160a01b0316336001600160a01b03161461199f5760405162f0630960e01b8152336004820152602401610b37565b6115ff565b6119ac61372a565b6108b2612747565b6119bd33610af9565b6119c56116ef565b6001600160a01b0316336001600160a01b0316146119f85760405163086391f760e31b8152336004820152602401610b37565b610b958161292d565b5f8051602061484e833981519152546001600160a01b031690565b611a2533610af9565b80611a386001546001600160a01b031690565b604051631c5da14d60e11b81526001600160601b03831660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015611a85573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611aa99190614028565b6001600160a01b0316336001600160a01b031614611ade578033604051636efdd32b60e11b8152600401610b37929190614069565b816016611aeb8282612248565b6115ff84612972565b5f805f3390505f611b3c828a8989898080601f0160208091040260200160405190810160405280939291908181526020018383808284375f920191909152506129b792505050565b9350611bbf8473__$3bac17678db7ae928afa209f2f44deec9c$__634c41dd968b6040518263ffffffff1660e01b8152600401611b7b91815260200190565b602060405180830381865af4158015611b96573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611bba9190613fca565b61258b565b60405163046e44af60e11b81526001600160601b038216600482015290915073__$3bac17678db7ae928afa209f2f44deec9c$__906308dc895e90602401602060405180830381865af4158015611c18573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611c3c91906144bb565b925050509550959350505050565b611c5333610af9565b611c5b6116ef565b6001600160a01b0316336001600160a01b031614611c8e5760405163086391f760e31b8152336004820152602401610b37565b610b9581612a42565b611ca033610af9565b826015610f0c8282612248565b5f611cb733610af9565b82611cca6001546001600160a01b031690565b604051631c5da14d60e11b81526001600160601b03831660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015611d17573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611d3b9190614028565b6001600160a01b0316336001600160a01b031614611d70578033604051636efdd32b60e11b8152600401610b37929190614069565b836016611d7d8282612248565b61120e8686612ab7565b611d9033610af9565b80611da36001546001600160a01b031690565b604051631c5da14d60e11b81526001600160601b03831660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015611df0573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611e149190614028565b6001600160a01b0316336001600160a01b031614611e49578033604051636efdd32b60e11b8152600401610b37929190614069565b816016611e568282612248565b6115ff84612b4a565b5f805f8051602061482e83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015611ecb573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611eef919061404e565b15611f1b5780546040516301ab8b6760e21b81526001600160601b039091166004820152602401610b37565b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038581166004830152919091169063c3c5a54790602401602060405180830381865afa158015611f6d573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611f91919061404e565b611fb95760405163b9304b0d60e01b81526001600160a01b0384166004820152602401610b37565b6001546001600160a01b0316604051632f2a35f760e11b81526001600160a01b0385811660048301529190911690635e546bee90602401602060405180830381865afa15801561200b573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061202f9190613fca565b81546bffffffffffffffffffffffff19166001600160601b039190911690811790915592915050565b5f8051602061484e8339815191525f80612090612073611a01565b873061208260045f8a8c6144d2565b61208b916144f9565b612b8f565b9150915081610e225763ffffffff81161561212b57825460ff60a01b1916600160a01b1783556120be611a01565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b81526004016120ed9392919061452f565b5f604051808303815f87803b158015612104575f80fd5b505af1158015612116573d5f803e3d5ffd5b5050845460ff60a01b1916855550610e229050565b60405162d1953b60e31b81526001600160a01b0387166004820152602401610b37565b5f5f805160206148ae833981519152600301546040516301c6b21960e41b81526001600160601b03841660048201526001600160a01b0390911690631c6b2190906024016020604051808303815f875af11580156121ae573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b499190613fca565b7fffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f035460405163108f145b60e11b815282151560048201526001600160a01b039091169063211e28b6906024015b5f604051808303815f87803b158015612236575f80fd5b505af1158015610f0c573d5f803e3d5ffd5b60405163037c8cb160e51b815260ff8216600482015273__$0d958e68cba84670b8f4a3f2f2686b1c6b$__90636f91962090602401602060405180830381865af4158015612298573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906122bc919061404e565b8061234a57506001546001600160a01b0316604051635b12715d60e11b81526001600160601b038416600482015260ff831660248201526001600160a01b03919091169063b624e2ba90604401602060405180830381865afa158015612324573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612348919061404e565b155b15610f615760405163d711af7560e01b81526001600160601b038316600482015260ff82166024820152604401610b37565b5f8051602061488e833981519152546040516326889b0960e01b81526001600160601b038481166004830152831660248201525f916001600160a01b0316906326889b09906044015b6020604051808303815f875af11580156123e1573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906124059190613fca565b90505b92915050565b5f8051602061488e8339815191525460405162ca71c760e61b81526001600160601b03831660048201526001600160a01b039091169063329c71c09060240161221f565b5f805160206148ce8339815191525460405163a5fbe47960e01b81526001600160a01b039091169063a5fbe47990612490908590859060040161458f565b5f604051808303815f87803b1580156124a7575f80fd5b505af1158015610e22573d5f803e3d5ffd5b7fffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f03546040516320c8cbff60e11b81526001600160a01b0384811660048301526001600160601b03841660248301529091169063419197fe90604401612490565b5f8051602061488e833981519152546040516354e5077960e01b81526001600160601b038481166004830152831660248201525f916001600160a01b0316906354e50779906044016123c5565b61256e612c97565b610e2286868686868660405180602001604052805f815250612ce2565b5f8051602061488e83398151915254604051636c1e9dff60e01b81526001600160601b038481166004830152831660248201525f916001600160a01b031690636c1e9dff906044016123c5565b5f805160206148ce833981519152546040516306fa456560e01b81526001600160601b03831660048201526001600160a01b03909116906306fa45659060240161221f565b5f8051602061484e83398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b7f25e3e51823fbfffb988e0a2744bb93722d9f3e906c07cc0a9e77884c46c583025460405163cf2f336560e01b81526001600160a01b039091169063cf2f3365906126d0908690869086906004016145ac565b5f604051808303815f87803b1580156126e7575f80fd5b505af11580156126f9573d5f803e3d5ffd5b50505050505050565b5f8051602061488e83398151915254604051634725284760e11b81526001600160601b03831660048201526001600160a01b0390911690638e4a508e9060240161221f565b61274f61372a565b5f6127626001546001600160a01b031690565b604051632f2a35f760e11b81523060048201526001600160a01b039190911690635e546bee90602401602060405180830381865afa1580156127a6573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906127ca9190613fca565b6040516330b8415f60e01b81526001600160601b038216600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015612823573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612847919061404e565b15612925577fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f01546001600160a01b03166001600160a01b031663f0ea17c36128a35f8051602061482e833981519152546001600160601b031690565b6040516001600160e01b031960e084901b1681526001600160601b0390911660048201526024015f60405180830381865afa1580156128e4573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f1916820160405261290b91908101906145d4565b60208101519092506001600160a01b031615612925575090565b611804612e56565b5f8051602061488e8339815191525460405163bca99e3960e01b81526001600160601b03831660048201526001600160a01b039091169063bca99e399060240161221f565b5f8051602061488e8339815191525460405163d0d63b0960e01b81526001600160601b03831660048201526001600160a01b039091169063d0d63b099060240161221f565b5f805160206148ce83398151915254604051637eddc94b60e11b81525f916001600160a01b03169063fdbb9296906129f990889088908890889060040161468e565b6020604051808303815f875af1158015612a15573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612a399190613fca565b95945050505050565b612a4a6116ef565b6001600160a01b0316336001600160a01b031614612a7d5760405163086391f760e31b8152336004820152602401610b37565b612a87600b612f3a565b60405163deaa59df60e01b81526001600160a01b038381166004830152919091169063deaa59df9060240161221f565b5f5f8051602061486e8339815191526004908101546040516379e872e960e11b81526001600160601b0386169281019290925264ffffffffff841660248301526001600160a01b03169063f3d0e5d2906044016020604051808303815f875af1158015612b26573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061240591906146c9565b5f805160206148ce8339815191525460405163b5346af560e01b81526001600160601b03831660048201526001600160a01b039091169063b5346af59060240161221f565b6040516001600160a01b03848116602483015283811660448301526001600160e01b0319831660648301525f9182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b17905251612bfd91906146e4565b5f60405180830381855afa9150503d805f8114612c35576040519150601f19603f3d011682016040523d82523d5f602084013e612c3a565b606091505b50915091508115612c8c576040815110612c6c5780806020019051810190612c6291906146fa565b9094509250612c8c565b6020815110612c8c5780806020019051810190612c89919061404e565b93505b505094509492505050565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a0054600160401b900460ff16612ce057604051631afcd79f60e31b815260040160405180910390fd5b565b612cea612c97565b612cff878787600f8789606001518888612fcb565b5f5f8051602061486e833981519152855160208701516001600160601b03909116600160601b6001600160a01b0392831602178255604087015160018301805460608a015160808b015160a08c015160c08d0151959096166001600160a81b031990931692909217600160a01b911515919091021761ffff60a81b1916600160a81b9115159190910260ff60b01b191617600160b01b931515939093029290921760ff60b81b1916600160b81b911515919091021790559050612dc2600f612f3a565b6003820180546001600160a01b0319166001600160a01b0392909216919091179055612dee6016612f3a565b6004820180546001600160a01b0319166001600160a01b0392909216919091179055612e1a600b612f3a565b6002820180546001600160a01b0319166001600160a01b0392909216919091179055612e4c635a48579360e11b6131d1565b5050505050505050565b612e5e61372a565b5f7fffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f0090506040518060600160405280825f018054612e9b90613fe5565b80601f0160208091040260200160405190810160405280929190818152602001828054612ec790613fe5565b8015612f125780601f10612ee957610100808354040283529160200191612f12565b820191905f5260205f20905b815481529060010190602001808311612ef557829003601f168201915b505050505081526020015f6001600160a01b031681526020018260020180546109ec90613fe5565b5f612f4d6001546001600160a01b031690565b6001600160a01b031663d39e604383612f64611605565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa158015612fa7573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b499190614028565b612fd3612c97565b5f612fdf898988613201565b90505f5f805160206148ae83398151915260405163bf8e179760e01b81526001600160601b03841660048201529091506001600160a01b038b169063bf8e179790602401602060405180830381865afa15801561303e573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906130629190614028565b81546001600160a01b0319166001600160a01b039190911690811782556040805163bf7e214f60e01b815290516130fb929163bf7e214f9160048083019260209291908290030181865afa1580156130bc573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906130e09190614028565b8b8b8b8b8a8a60405180602001604052805f8152508b6132ac565b8054604080516302cd307160e01b815290516001600160a01b03909216916302cd3071916004808201926020929091908290030181865afa158015613142573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906131669190614028565b6001820180546001600160a01b03199081166001600160a01b03938416179091556002830180549091169188169190911790556131a3600b612f3a565b6003820180546001600160a01b0319166001600160a01b039290921691909117905561144263a9c1bc6f60e01b5b6131d9612c97565b610b95816001600160e01b0319165f908152602081905260409020805460ff19166001179055565b5f60ff8216600c03613222576132198484600a61337c565b508290506132a5565b5f61322f8585600c61337c565b60405163677d3feb60e11b81526001600160601b03861660048201529091506001600160a01b0382169063cefa7fd690602401602060405180830381865afa15801561327d573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906132a19190613fca565b9150505b9392505050565b6132b4612c97565b85515f036132d55760405163591eebf360e11b815260040160405180910390fd5b6132e489898988888888613441565b7fffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f00806133108882614773565b5060018101805460ff19168615151790556002810161332f8382614773565b5061333a600b612f3a565b6003820180546001600160a01b0319166001600160a01b039290921691909117905561336c634a531f3360e01b6131d1565b6114426306e9e5ff60e31b6131d1565b6040516305247a1760e51b81526001600160601b038316600482015283905f906001600160a01b0383169063a48f42e0906024015f60405180830381865afa1580156133ca573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526133f191908101906143b1565b905061340881604001518460ff9081169116141590565b1561343957604080820151905163b0c1f6eb60e01b815260ff80861660048301529091166024820152604401610b37565b509392505050565b613449612c97565b604051632330f24760e01b81526001600160a01b038816600482015273__$fb599632d08395912d9d70eb2f0f93b5e2$__90632330f24790602401602060405180830381865af415801561349f573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906134c3919061404e565b6134eb5760405163cf6935e560e01b81526001600160a01b0388166004820152602401610b37565b6134f48761357e565b6134fe868361358f565b5f7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166cffffffffffffffffffffffffff1990911617600160601b60ff8816021760ff60681b1916600160681b8615150217815590506001810161356d8382614773565b50612e4c634a531f3360e01b6131d1565b613586612c97565b610b9581613605565b613597612c97565b61359f613616565b6135a88261365e565b6001600160a01b0381166135cf5760405163f17ef42d60e01b815260040160405180910390fd5b5f8051602061482e83398151915280546001600160601b0316600160601b6001600160a01b039093169290920291909117905550565b61360d612c97565b610b958161261d565b61361e612c97565b612ce06301ffc9a760e01b5f9081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b613666612c97565b604051633334d16b60e01b81526001600160a01b038216600482015273__$fb599632d08395912d9d70eb2f0f93b5e2$__90633334d16b90602401602060405180830381865af41580156136bc573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906136e0919061404e565b6137085760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610b37565b600180546001600160a01b0319166001600160a01b0392909216919091179055565b6040518060600160405280606081526020015f6001600160a01b03168152602001606081525090565b5f60208284031215613763575f80fd5b81356001600160e01b0319811681146132a5575f80fd5b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081526001600160601b0382511660208201526001600160601b03602083015116604082015260ff60408301511660608201525f60608301516137f0608084018215159052565b5060808301516001600160a01b03811660a08401525060a08301516001600160a01b03811660c08401525060c083015160e08084015261383461010084018261377a565b949350505050565b602081525f612405602083018461377a565b6001600160601b0381168114610b95575f80fd5b5f60208284031215613872575f80fd5b81356132a58161384e565b8015158114610b95575f80fd5b8035610b4c8161387d565b5f602082840312156138a5575f80fd5b81356132a58161387d565b5f80604083850312156138c1575f80fd5b82356138cc8161384e565b915060208301356138dc8161384e565b809150509250929050565b634e487b7160e01b5f52604160045260245ffd5b604080519081016001600160401b038111828210171561391d5761391d6138e7565b60405290565b60405160e081016001600160401b038111828210171561391d5761391d6138e7565b60405161020081016001600160401b038111828210171561391d5761391d6138e7565b60405160c081016001600160401b038111828210171561391d5761391d6138e7565b604051606081016001600160401b038111828210171561391d5761391d6138e7565b604051601f8201601f191681016001600160401b03811182821017156139d4576139d46138e7565b604052919050565b6001600160a01b0381168114610b95575f80fd5b5f60408284031215613a00575f80fd5b613a086138fb565b90508135613a15816139dc565b81526020820135613a258161384e565b602082015292915050565b5f8060608385031215613a41575f80fd5b8235613a4c8161384e565b9150613a5b84602085016139f0565b90509250929050565b5f8060408385031215613a75575f80fd5b82356138cc816139dc565b5f805f60608486031215613a92575f80fd5b8335613a9d8161384e565b92506020840135613aad8161384e565b91506040840135613abd8161384e565b809150509250925092565b5f6001600160401b03821115613ae057613ae06138e7565b50601f01601f191660200190565b5f82601f830112613afd575f80fd5b8135613b10613b0b82613ac8565b6139ac565b818152846020838601011115613b24575f80fd5b816020850160208301375f918101602001919091529392505050565b5f60208284031215613b50575f80fd5b81356001600160401b03811115613b65575f80fd5b61383484828501613aee565b8035610b4c816139dc565b5f805f805f858703610160811215613b92575f80fd5b8635613b9d816139dc565b95506020870135613bad8161384e565b945060e0603f1982011215613bc0575f80fd5b50613bc9613923565b6040870135613bd78161384e565b81526060870135613be7816139dc565b60208201526080870135613bfa816139dc565b604082015260a0870135613c0d8161387d565b6060820152613c1e60c0880161388a565b6080820152613c2f60e0880161388a565b60a0820152613c41610100880161388a565b60c08201529250613c556101208701613b71565b9150613c646101408701613b71565b90509295509295909350565b5f60208284031215613c80575f80fd5b81356132a5816139dc565b5f60e0820190506001600160601b03835116825260018060a01b03602084015116602083015260018060a01b0360408401511660408301526060830151151560608301526080830151613ce2608084018215159052565b5060a0830151613cf660a084018215159052565b5060c0830151613d0a60c084018215159052565b5092915050565b5f805f60c08486031215613d23575f80fd5b613d2d85856139f0565b9250613d3c85604086016139f0565b9150613d4b85608086016139f0565b90509250925092565b602081525f825160606020840152613d6f608084018261377a565b60208501516001600160a01b0316604085810191909152850151848203601f19016060860152909150612a39828261377a565b5f805f805f60a08688031215613db6575f80fd5b8535613dc18161384e565b945060208601356001600160401b03811115613ddb575f80fd5b613de788828901613aee565b9450506040860135613df88161384e565b925060608601356001600160401b03811115613e12575f80fd5b613e1e88828901613aee565b9250506080860135613e2f8161384e565b809150509295509295909350565b5f805f8060808587031215613e50575f80fd5b8435613e5b816139dc565b93506020850135613e6b816139dc565b9250604085013591506060850135613e82816139dc565b939692955090935050565b64ffffffffff81168114610b95575f80fd5b5f805f805f60a08688031215613eb3575f80fd5b613ebd87876139f0565b9450604086013593506060860135613ed481613e8d565b925060808601356001600160401b03811115613eee575f80fd5b8601601f81018813613efe575f80fd5b80356001600160401b03811115613f13575f80fd5b886020828401011115613f24575f80fd5b959894975092955050506020019190565b61ffff81168114610b95575f80fd5b5f805f60608486031215613f56575f80fd5b8335613f618161384e565b92506020840135613aad81613f35565b5f8060408385031215613f82575f80fd5b8235613f8d8161384e565b915060208301356138dc81613e8d565b5f60208284031215613fad575f80fd5b815162ffffff811681146132a5575f80fd5b8051610b4c8161384e565b5f60208284031215613fda575f80fd5b81516132a58161384e565b600181811c90821680613ff957607f821691505b60208210810361401757634e487b7160e01b5f52602260045260245ffd5b50919050565b8051610b4c816139dc565b5f60208284031215614038575f80fd5b81516132a5816139dc565b8051610b4c8161387d565b5f6020828403121561405e575f80fd5b81516132a58161387d565b6001600160601b039290921682526001600160a01b0316602082015260400190565b80516001600160c01b031981168114610b4c575f80fd5b8051610b4c81613f35565b8051610b4c81613e8d565b5f6140c5613b0b84613ac8565b90508281528383830111156140d8575f80fd5b8282602083015e5f602084830101529392505050565b5f82601f8301126140fd575f80fd5b612405838351602085016140b8565b5f6020828403121561411c575f80fd5b81516001600160401b03811115614131575f80fd5b82016102008185031215614143575f80fd5b61414b613945565b61415482613fbf565b815261416260208301613fbf565b60208201526141736040830161408b565b604082015261418460608301613fbf565b606082015261419560808301613fbf565b60808201526141a660a0830161408b565b60a08201526141b760c083016140a2565b60c08201526141c860e083016140a2565b60e08201526141da6101008301613fbf565b6101008201526141ed6101208301613fbf565b61012082015261420061014083016140ad565b61014082015261421361016083016140ad565b61016082015261422661018083016140ad565b6101808201526142396101a083016140ad565b6101a08201526101c08201516001600160401b03811115614258575f80fd5b614264868285016140ee565b6101c0830152506101e08201516001600160401b03811115614284575f80fd5b614290868285016140ee565b6101e083015250949350505050565b5f604082840312156142af575f80fd5b6142b76138fb565b905081516142c4816139dc565b81526020820151613a258161384e565b5f602082840312156142e4575f80fd5b81516001600160401b038111156142f9575f80fd5b820160e0818503121561430a575f80fd5b614312613968565b815161431d81613e8d565b8152602082015161432d81613e8d565b602082015261433e604083016140ad565b604082015261434f60608301613fbf565b6060820152614361856080840161429f565b608082015260c08201516001600160401b0381111561437e575f80fd5b61438a868285016140ee565b60a083015250949350505050565b60ff81168114610b95575f80fd5b8051610b4c81614398565b5f602082840312156143c1575f80fd5b81516001600160401b038111156143d6575f80fd5b820160e081850312156143e7575f80fd5b6143ef613923565b6143f882613fbf565b815261440660208301613fbf565b6020820152614417604083016143a6565b604082015261442860608301614043565b60608201526144396080830161401d565b608082015261444a60a0830161401d565b60a082015260c08201516001600160401b03811115614467575f80fd5b614473868285016140ee565b60c083015250949350505050565b8181038181111561240857634e487b7160e01b5f52601160045260245ffd5b5f602082840312156144b0575f80fd5b81516132a581614398565b5f602082840312156144cb575f80fd5b5051919050565b5f80858511156144e0575f80fd5b838611156144ec575f80fd5b5050820193919092039150565b80356001600160e01b03198116906004841015613d0a576001600160e01b031960049490940360031b84901b1690921692915050565b6001600160a01b03841681526040602082018190528101829052818360608301375f818301606090810191909152601f909201601f1916010192915050565b80516001600160a01b031682526020908101516001600160601b0316910152565b6001600160601b0383168152606081016132a5602083018461456e565b60c081016145ba828661456e565b6145c7604083018561456e565b613834608083018461456e565b5f602082840312156145e4575f80fd5b81516001600160401b038111156145f9575f80fd5b82016060818503121561460a575f80fd5b61461261398a565b81516001600160401b03811115614627575f80fd5b8201601f81018613614637575f80fd5b614646868251602084016140b8565b8252506020820151614657816139dc565b602082015260408201516001600160401b03811115614674575f80fd5b614680868285016140ee565b604083015250949350505050565b6001600160a01b03851681526146a7602082018561456e565b64ffffffffff8316606082015260a060808201525f61120e60a083018461377a565b5f602082840312156146d9575f80fd5b81516132a581613e8d565b5f82518060208501845e5f920191825250919050565b5f806040838503121561470b575f80fd5b82516147168161387d565b602084015190925063ffffffff811681146138dc575f80fd5b601f82111561186f57805f5260205f20601f840160051c810160208510156147545750805b601f840160051c820191505b81811015610f0c575f8155600101614760565b81516001600160401b0381111561478c5761478c6138e7565b6147a08161479a8454613fe5565b8461472f565b6020601f8211600181146147d2575f83156147bb5750848201515b5f19600385901b1c1916600184901b178455610f0c565b5f84815260208120601f198516915b8281101561480157878501518255602094850194600190920191016147e1565b508482101561481e57868401515f19600387901b60f8161c191681555b50505050600190811b0190555056fe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a0025e3e51823fbfffb988e0a2744bb93722d9f3e906c07cc0a9e77884c46c5830025e3e51823fbfffb988e0a2744bb93722d9f3e906c07cc0a9e77884c46c58303ffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f0025e3e51823fbfffb988e0a2744bb93722d9f3e906c07cc0a9e77884c46c58304a2646970667358221220123d96a31fa4a125db6e16254d1b31f51a230a96dd20997d8e970814f0b1fb0a64736f6c634300081a0033",
1487
+ "deployedBytecode": "0x608060405234801561000f575f80fd5b50600436106102e5575f3560e01c8063644c45e011610195578063ad12ad60116100e4578063d80a1b5f1161009e578063ea15869f11610079578063ea15869f146107ba578063ee378463146107e1578063f3d0e5d2146107f4578063fde0a3cd1461081d575f80fd5b8063d80a1b5f14610758578063de7b5d141461078a578063deaa59df146107a7575f80fd5b8063ad12ad60146106fb578063ada9652e1461070e578063b423086c14610722578063bca99e391461072a578063bf7e214f1461073d578063d0d63b0914610745575f80fd5b806385ba83441161014f5780638e4a508e1161012a5780638e4a508e1461069f5780638fb36037146106b257806390edbd35146106d357806392f37d78146106e8575f80fd5b806385ba8344146105a6578063893d20e8146106845780638d9a753f1461068c575f80fd5b8063644c45e0146105065780636bd1c0eb146105235780636c1e9dff146105535780636f10e8a01461056657806376b707b7146105795780637a9e5e4b14610593575f80fd5b806322f3e2d41161025157806343d752d31161020b5780635741e5e9116101e65780635741e5e9146104c75780635ab1bd53146104cf5780635e1767ea146104e05780635f3d10d4146104f3575f80fd5b806343d752d3146104995780634deed579146104a157806354e50779146104b4575f80fd5b806322f3e2d41461043157806326889b09146104395780632eb3e6f41461044c578063329c71c01461046057806337dd18a514610473578063419197fe14610486575f80fd5b806317d7de7c116102a257806317d7de7c146103bd5780631c6b2190146103d25780631eff4b22146103e5578063211e28b61461040c57806321df0da7146104215780632236684414610429575f80fd5b806301ffc9a7146102e95780630d8e6e2c1461032a5780630fec111c146103465780630ffeecca1461035b578063132996041461037d578063138461e01461039d575b5f80fd5b6103156102f7366004613753565b6001600160e01b0319165f9081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b610332610830565b60405162ffffff9091168152602001610321565b61034e6108b7565b60405161032191906137a8565b61036f5f8051602061486e83398151915281565b604051908152602001610321565b610385610a71565b6040516001600160a01b039091168152602001610321565b6103a5610ad9565b6040516001600160601b039091168152602001610321565b6103c5610ae3565b604051610321919061383c565b6103a56103e0366004613862565b610af3565b61036f7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b61041f61041a366004613895565b610b51565b005b610385610b98565b610315610bdc565b610315610cd2565b61041f6104473660046138b0565b610d49565b61036f5f805160206148ae83398151915281565b61041f61046e366004613862565b610e2a565b61041f610481366004613a30565b610e33565b61041f610494366004613a64565b610f13565b610385610f65565b61041f6104af366004613a80565b610f77565b6103a56104c23660046138b0565b611134565b610315611218565b6001546001600160a01b0316610385565b61036f6104ee366004613b40565b6112ce565b61041f610501366004613b7c565b611317565b5f8051602061482e833981519152546001600160601b03166103a5565b7fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f02546001600160a01b0316610385565b61041f6105613660046138b0565b61144e565b61041f610574366004613862565b611527565b610581611605565b60405160ff9091168152602001610321565b61041f6105a1366004613c70565b61166d565b6106776040805160e0810182525f80825260208201819052918101829052606081018290526080810182905260a0810182905260c08101919091525f8051602061486e8339815191526040805160e08101825282546001600160601b03811682526001600160a01b03600160601b909104811660208301526001909301549283169181019190915260ff600160a01b8304811615156060830152600160a81b8304811615156080830152600160b01b83048116151560a0830152600160b81b909204909116151560c0820152919050565b6040516103219190613c8b565b6103856116ef565b61041f61069a366004613d11565b611820565b61041f6106ad366004613862565b611874565b6106ba61187d565b6040516001600160e01b03199091168152602001610321565b6106db6118b2565b6040516103219190613d54565b6103156106f6366004613da2565b6118d7565b61041f610709366004613e3d565b611902565b61036f5f8051602061482e83398151915281565b6106db6119a4565b61041f610738366004613862565b6119b4565b610385611a01565b61041f610753366004613862565b611a1c565b61076b610766366004613e9f565b611af4565b604080516001600160601b039093168352602083019190915201610321565b5f805160206148ae833981519152546001600160a01b0316610385565b61041f6107b5366004613c70565b611c4a565b61036f7fffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f0081565b61041f6107ef366004613f44565b611c97565b610807610802366004613f71565b611cad565b60405164ffffffffff9091168152602001610321565b61041f61082b366004613862565b611d87565b604051632efe011360e01b8152600160048201525f60248201819052604482018190529073__$8eede297b65ed5a56eb3f84d8232ae93f5$__90632efe011390606401602060405180830381865af415801561088e573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906108b29190613f9d565b905090565b6040805160e0810182525f8082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820152907f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e0016040528073__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015610963573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906109879190613fca565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a0016109cf6116ef565b6001600160a01b031681526020018260010180546109ec90613fe5565b80601f0160208091040260200160405190810160405280929190818152602001828054610a1890613fe5565b8015610a635780601f10610a3a57610100808354040283529160200191610a63565b820191905f5260205f20905b815481529060010190602001808311610a4657829003601f168201915b505050505081525091505090565b5f610a7a610f65565b6001600160a01b031663132996046040518163ffffffff1660e01b8152600401602060405180830381865afa158015610ab5573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906108b29190614028565b5f6108b230611e5f565b6060610aed6118b2565b51919050565b5f610b00335b5f36612058565b610b086116ef565b6001600160a01b0316336001600160a01b031614610b405760405163086391f760e31b81523360048201526024015b60405180910390fd5b610b498261214e565b90505b919050565b610b596116ef565b6001600160a01b0316336001600160a01b031614610b8c5760405163086391f760e31b8152336004820152602401610b37565b610b95816121d2565b50565b5f610ba1610f65565b6001600160a01b03166382bfefc86040518163ffffffff1660e01b8152600401602060405180830381865afa158015610ab5573d5f803e3d5ffd5b5f610bef6001546001600160a01b031690565b604051632f2a35f760e11b81523060048201526001600160a01b039190911690635e546bee90602401602060405180830381865afa158015610c33573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610c579190613fca565b6040516330b8415f60e01b81526001600160601b03909116600482015273__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015610cae573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906108b2919061404e565b5f610cdb611a01565b60405163a166aa8960e01b81523060048201526001600160a01b03919091169063a166aa8990602401602060405180830381865afa158015610d1f573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610d43919061404e565b15905090565b610d5233610af9565b81610d656001546001600160a01b031690565b604051631c5da14d60e11b81526001600160601b03831660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015610db2573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610dd69190614028565b6001600160a01b0316336001600160a01b031614610e0b578033604051636efdd32b60e11b8152600401610b37929190614069565b826016610e188282612248565b610e22858561237c565b505050505050565b610b958161240e565b610e3c33610af9565b81610e4f6001546001600160a01b031690565b604051631c5da14d60e11b81526001600160601b03831660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015610e9c573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610ec09190614028565b6001600160a01b0316336001600160a01b031614610ef5578033604051636efdd32b60e11b8152600401610b37929190614069565b826016610f028282612248565b610f0c8585612452565b5050505050565b610f1c33610af9565b610f246116ef565b6001600160a01b0316336001600160a01b031614610f575760405163086391f760e31b8152336004820152602401610b37565b610f6182826124b9565b5050565b5f610f6e6118b2565b60200151905090565b610f8033610af9565b826015610f8d8282612248565b5f610fbf7fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f01546001600160a01b031690565b60405163bd7d9d8560e01b81526001600160601b03881660048201529091506110bb9087906001600160a01b0384169063bd7d9d85906024015f60405180830381865afa158015611012573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052611039919081019061410c565b6101c00151604051634793b4ab60e01b81526001600160601b038916600482015288906001600160a01b03861690634793b4ab906024015f60405180830381865afa15801561108a573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526110b191908101906142d4565b60a00151886118d7565b6110e357604051636b468c9b60e01b81526001600160601b0387166004820152602401610b37565b604080513081526001600160601b03888116602083015286168183015290517fcca48a0200c526a7c48f1e770c739ef8e82d7b30e26825735858705fbcda4e079181900360600190a1505050505050565b5f61113e33610af9565b826111516001546001600160a01b031690565b604051631c5da14d60e11b81526001600160601b03831660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa15801561119e573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906111c29190614028565b6001600160a01b0316336001600160a01b0316146111f7578033604051636efdd32b60e11b8152600401610b37929190614069565b8360166112048282612248565b61120e8686612519565b9695505050505050565b5f611221610bdc565b156112a5576001546001600160a01b03166040516308b09a5f60e41b81523060048201526001600160a01b039190911690638b09a5f0906024015f60405180830381865afa158015611275573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f1916820160405261129c91908101906143b1565b60600151905090565b507fffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f015460ff1690565b805160208201205f9060ff19906112e790600190614481565b6040516020016112f991815260200190565b60405160208183030381529060405280519060200120169050919050565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a008054600160401b810460ff1615906001600160401b03165f8115801561135b5750825b90505f826001600160401b031660011480156113765750303b155b905081158015611384575080155b156113a25760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff1916600117855583156113cc57845460ff60401b1916600160401b1785555b6113fc8a8a6040518060400160405280600a81526020016914da5b5c1b19541bdbdb60b21b8152508b8b8b612566565b831561144257845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50505050505050505050565b61145733610af9565b8161146a6001546001600160a01b031690565b604051631c5da14d60e11b81526001600160601b03831660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa1580156114b7573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906114db9190614028565b6001600160a01b0316336001600160a01b031614611510578033604051636efdd32b60e11b8152600401610b37929190614069565b82601661151d8282612248565b610e22858561258b565b61153033610af9565b806115436001546001600160a01b031690565b604051631c5da14d60e11b81526001600160601b03831660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015611590573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906115b49190614028565b6001600160a01b0316336001600160a01b0316146115e9578033604051636efdd32b60e11b8152600401610b37929190614069565b8160166115f68282612248565b6115ff846125d8565b50505050565b5f61160e611a01565b6001600160a01b03166376b707b76040518163ffffffff1660e01b8152600401602060405180830381865afa158015611649573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906108b291906144a0565b33611676611a01565b6001600160a01b0316816001600160a01b0316146116b15760405162d1953b60e31b81526001600160a01b0382166004820152602401610b37565b816001600160a01b03163b5f036116e6576040516361798f2f60e11b81526001600160a01b0383166004820152602401610b37565b610f618261261d565b5f805f8051602061482e83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af415801561175b573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061177f919061404e565b1561180a576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa1580156117e0573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906118049190614028565b91505090565b54600160601b90046001600160a01b0316919050565b61182933610af9565b6118316116ef565b6001600160a01b0316336001600160a01b0316146118645760405163086391f760e31b8152336004820152602401610b37565b61186f83838361267d565b505050565b610b9581612702565b5f8051602061484e83398151915280545f9190600160a01b900460ff166118a4575f611804565b638fb3603760e01b91505090565b6118ba61372a565b6118c2610bdc565b156118cf576108b2612747565b6108b26119a4565b5f8560156118e58282612248565b8560166118f28282612248565b5060019998505050505050505050565b6001546001600160a01b03166001600160a01b031663120726c36040518163ffffffff1660e01b8152600401602060405180830381865afa158015611949573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061196d9190614028565b6001600160a01b0316336001600160a01b03161461199f5760405162f0630960e01b8152336004820152602401610b37565b6115ff565b6119ac61372a565b6108b2612747565b6119bd33610af9565b6119c56116ef565b6001600160a01b0316336001600160a01b0316146119f85760405163086391f760e31b8152336004820152602401610b37565b610b958161292d565b5f8051602061484e833981519152546001600160a01b031690565b611a2533610af9565b80611a386001546001600160a01b031690565b604051631c5da14d60e11b81526001600160601b03831660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015611a85573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611aa99190614028565b6001600160a01b0316336001600160a01b031614611ade578033604051636efdd32b60e11b8152600401610b37929190614069565b816016611aeb8282612248565b6115ff84612972565b5f805f3390505f611b3c828a8989898080601f0160208091040260200160405190810160405280939291908181526020018383808284375f920191909152506129b792505050565b9350611bbf8473__$3bac17678db7ae928afa209f2f44deec9c$__634c41dd968b6040518263ffffffff1660e01b8152600401611b7b91815260200190565b602060405180830381865af4158015611b96573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611bba9190613fca565b61258b565b60405163046e44af60e11b81526001600160601b038216600482015290915073__$3bac17678db7ae928afa209f2f44deec9c$__906308dc895e90602401602060405180830381865af4158015611c18573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611c3c91906144bb565b925050509550959350505050565b611c5333610af9565b611c5b6116ef565b6001600160a01b0316336001600160a01b031614611c8e5760405163086391f760e31b8152336004820152602401610b37565b610b9581612a42565b611ca033610af9565b826015610f0c8282612248565b5f611cb733610af9565b82611cca6001546001600160a01b031690565b604051631c5da14d60e11b81526001600160601b03831660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015611d17573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611d3b9190614028565b6001600160a01b0316336001600160a01b031614611d70578033604051636efdd32b60e11b8152600401610b37929190614069565b836016611d7d8282612248565b61120e8686612ab7565b611d9033610af9565b80611da36001546001600160a01b031690565b604051631c5da14d60e11b81526001600160601b03831660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015611df0573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611e149190614028565b6001600160a01b0316336001600160a01b031614611e49578033604051636efdd32b60e11b8152600401610b37929190614069565b816016611e568282612248565b6115ff84612b4a565b5f805f8051602061482e83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015611ecb573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611eef919061404e565b15611f1b5780546040516301ab8b6760e21b81526001600160601b039091166004820152602401610b37565b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038581166004830152919091169063c3c5a54790602401602060405180830381865afa158015611f6d573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611f91919061404e565b611fb95760405163b9304b0d60e01b81526001600160a01b0384166004820152602401610b37565b6001546001600160a01b0316604051632f2a35f760e11b81526001600160a01b0385811660048301529190911690635e546bee90602401602060405180830381865afa15801561200b573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061202f9190613fca565b81546bffffffffffffffffffffffff19166001600160601b039190911690811790915592915050565b5f8051602061484e8339815191525f80612090612073611a01565b873061208260045f8a8c6144d2565b61208b916144f9565b612b8f565b9150915081610e225763ffffffff81161561212b57825460ff60a01b1916600160a01b1783556120be611a01565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b81526004016120ed9392919061452f565b5f604051808303815f87803b158015612104575f80fd5b505af1158015612116573d5f803e3d5ffd5b5050845460ff60a01b1916855550610e229050565b60405162d1953b60e31b81526001600160a01b0387166004820152602401610b37565b5f5f805160206148ae833981519152600301546040516301c6b21960e41b81526001600160601b03841660048201526001600160a01b0390911690631c6b2190906024016020604051808303815f875af11580156121ae573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b499190613fca565b7fffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f035460405163108f145b60e11b815282151560048201526001600160a01b039091169063211e28b6906024015b5f604051808303815f87803b158015612236575f80fd5b505af1158015610f0c573d5f803e3d5ffd5b60405163037c8cb160e51b815260ff8216600482015273__$0d958e68cba84670b8f4a3f2f2686b1c6b$__90636f91962090602401602060405180830381865af4158015612298573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906122bc919061404e565b8061234a57506001546001600160a01b0316604051635b12715d60e11b81526001600160601b038416600482015260ff831660248201526001600160a01b03919091169063b624e2ba90604401602060405180830381865afa158015612324573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612348919061404e565b155b15610f615760405163d711af7560e01b81526001600160601b038316600482015260ff82166024820152604401610b37565b5f8051602061488e833981519152546040516326889b0960e01b81526001600160601b038481166004830152831660248201525f916001600160a01b0316906326889b09906044015b6020604051808303815f875af11580156123e1573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906124059190613fca565b90505b92915050565b5f8051602061488e8339815191525460405162ca71c760e61b81526001600160601b03831660048201526001600160a01b039091169063329c71c09060240161221f565b5f805160206148ce8339815191525460405163a5fbe47960e01b81526001600160a01b039091169063a5fbe47990612490908590859060040161458f565b5f604051808303815f87803b1580156124a7575f80fd5b505af1158015610e22573d5f803e3d5ffd5b7fffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f03546040516320c8cbff60e11b81526001600160a01b0384811660048301526001600160601b03841660248301529091169063419197fe90604401612490565b5f8051602061488e833981519152546040516354e5077960e01b81526001600160601b038481166004830152831660248201525f916001600160a01b0316906354e50779906044016123c5565b61256e612c97565b610e2286868686868660405180602001604052805f815250612ce2565b5f8051602061488e83398151915254604051636c1e9dff60e01b81526001600160601b038481166004830152831660248201525f916001600160a01b031690636c1e9dff906044016123c5565b5f805160206148ce833981519152546040516306fa456560e01b81526001600160601b03831660048201526001600160a01b03909116906306fa45659060240161221f565b5f8051602061484e83398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b7f25e3e51823fbfffb988e0a2744bb93722d9f3e906c07cc0a9e77884c46c583025460405163cf2f336560e01b81526001600160a01b039091169063cf2f3365906126d0908690869086906004016145ac565b5f604051808303815f87803b1580156126e7575f80fd5b505af11580156126f9573d5f803e3d5ffd5b50505050505050565b5f8051602061488e83398151915254604051634725284760e11b81526001600160601b03831660048201526001600160a01b0390911690638e4a508e9060240161221f565b61274f61372a565b5f6127626001546001600160a01b031690565b604051632f2a35f760e11b81523060048201526001600160a01b039190911690635e546bee90602401602060405180830381865afa1580156127a6573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906127ca9190613fca565b6040516330b8415f60e01b81526001600160601b038216600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015612823573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612847919061404e565b15612925577fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f01546001600160a01b03166001600160a01b031663f0ea17c36128a35f8051602061482e833981519152546001600160601b031690565b6040516001600160e01b031960e084901b1681526001600160601b0390911660048201526024015f60405180830381865afa1580156128e4573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f1916820160405261290b91908101906145d4565b60208101519092506001600160a01b031615612925575090565b611804612e56565b5f8051602061488e8339815191525460405163bca99e3960e01b81526001600160601b03831660048201526001600160a01b039091169063bca99e399060240161221f565b5f8051602061488e8339815191525460405163d0d63b0960e01b81526001600160601b03831660048201526001600160a01b039091169063d0d63b099060240161221f565b5f805160206148ce83398151915254604051637eddc94b60e11b81525f916001600160a01b03169063fdbb9296906129f990889088908890889060040161468e565b6020604051808303815f875af1158015612a15573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612a399190613fca565b95945050505050565b612a4a6116ef565b6001600160a01b0316336001600160a01b031614612a7d5760405163086391f760e31b8152336004820152602401610b37565b612a87600b612f3a565b60405163deaa59df60e01b81526001600160a01b038381166004830152919091169063deaa59df9060240161221f565b5f5f8051602061486e8339815191526004908101546040516379e872e960e11b81526001600160601b0386169281019290925264ffffffffff841660248301526001600160a01b03169063f3d0e5d2906044016020604051808303815f875af1158015612b26573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061240591906146c9565b5f805160206148ce8339815191525460405163b5346af560e01b81526001600160601b03831660048201526001600160a01b039091169063b5346af59060240161221f565b6040516001600160a01b03848116602483015283811660448301526001600160e01b0319831660648301525f9182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b17905251612bfd91906146e4565b5f60405180830381855afa9150503d805f8114612c35576040519150601f19603f3d011682016040523d82523d5f602084013e612c3a565b606091505b50915091508115612c8c576040815110612c6c5780806020019051810190612c6291906146fa565b9094509250612c8c565b6020815110612c8c5780806020019051810190612c89919061404e565b93505b505094509492505050565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a0054600160401b900460ff16612ce057604051631afcd79f60e31b815260040160405180910390fd5b565b612cea612c97565b612cff878787600f8789606001518888612fcb565b5f5f8051602061486e833981519152855160208701516001600160601b03909116600160601b6001600160a01b0392831602178255604087015160018301805460608a015160808b015160a08c015160c08d0151959096166001600160a81b031990931692909217600160a01b911515919091021761ffff60a81b1916600160a81b9115159190910260ff60b01b191617600160b01b931515939093029290921760ff60b81b1916600160b81b911515919091021790559050612dc2600f612f3a565b6003820180546001600160a01b0319166001600160a01b0392909216919091179055612dee6016612f3a565b6004820180546001600160a01b0319166001600160a01b0392909216919091179055612e1a600b612f3a565b6002820180546001600160a01b0319166001600160a01b0392909216919091179055612e4c635a48579360e11b6131d1565b5050505050505050565b612e5e61372a565b5f7fffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f0090506040518060600160405280825f018054612e9b90613fe5565b80601f0160208091040260200160405190810160405280929190818152602001828054612ec790613fe5565b8015612f125780601f10612ee957610100808354040283529160200191612f12565b820191905f5260205f20905b815481529060010190602001808311612ef557829003601f168201915b505050505081526020015f6001600160a01b031681526020018260020180546109ec90613fe5565b5f612f4d6001546001600160a01b031690565b6001600160a01b031663d39e604383612f64611605565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa158015612fa7573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b499190614028565b612fd3612c97565b5f612fdf898988613201565b90505f5f805160206148ae83398151915260405163bf8e179760e01b81526001600160601b03841660048201529091506001600160a01b038b169063bf8e179790602401602060405180830381865afa15801561303e573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906130629190614028565b81546001600160a01b0319166001600160a01b039190911690811782556040805163bf7e214f60e01b815290516130fb929163bf7e214f9160048083019260209291908290030181865afa1580156130bc573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906130e09190614028565b8b8b8b8b8a8a60405180602001604052805f8152508b6132ac565b8054604080516302cd307160e01b815290516001600160a01b03909216916302cd3071916004808201926020929091908290030181865afa158015613142573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906131669190614028565b6001820180546001600160a01b03199081166001600160a01b03938416179091556002830180549091169188169190911790556131a3600b612f3a565b6003820180546001600160a01b0319166001600160a01b039290921691909117905561144263a9c1bc6f60e01b5b6131d9612c97565b610b95816001600160e01b0319165f908152602081905260409020805460ff19166001179055565b5f60ff8216600c03613222576132198484600a61337c565b508290506132a5565b5f61322f8585600c61337c565b60405163677d3feb60e11b81526001600160601b03861660048201529091506001600160a01b0382169063cefa7fd690602401602060405180830381865afa15801561327d573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906132a19190613fca565b9150505b9392505050565b6132b4612c97565b85515f036132d55760405163591eebf360e11b815260040160405180910390fd5b6132e489898988888888613441565b7fffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f00806133108882614773565b5060018101805460ff19168615151790556002810161332f8382614773565b5061333a600b612f3a565b6003820180546001600160a01b0319166001600160a01b039290921691909117905561336c634a531f3360e01b6131d1565b6114426306e9e5ff60e31b6131d1565b6040516305247a1760e51b81526001600160601b038316600482015283905f906001600160a01b0383169063a48f42e0906024015f60405180830381865afa1580156133ca573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526133f191908101906143b1565b905061340881604001518460ff9081169116141590565b1561343957604080820151905163b0c1f6eb60e01b815260ff80861660048301529091166024820152604401610b37565b509392505050565b613449612c97565b604051632330f24760e01b81526001600160a01b038816600482015273__$fb599632d08395912d9d70eb2f0f93b5e2$__90632330f24790602401602060405180830381865af415801561349f573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906134c3919061404e565b6134eb5760405163cf6935e560e01b81526001600160a01b0388166004820152602401610b37565b6134f48761357e565b6134fe868361358f565b5f7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166cffffffffffffffffffffffffff1990911617600160601b60ff8816021760ff60681b1916600160681b8615150217815590506001810161356d8382614773565b50612e4c634a531f3360e01b6131d1565b613586612c97565b610b9581613605565b613597612c97565b61359f613616565b6135a88261365e565b6001600160a01b0381166135cf5760405163f17ef42d60e01b815260040160405180910390fd5b5f8051602061482e83398151915280546001600160601b0316600160601b6001600160a01b039093169290920291909117905550565b61360d612c97565b610b958161261d565b61361e612c97565b612ce06301ffc9a760e01b5f9081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b613666612c97565b604051633334d16b60e01b81526001600160a01b038216600482015273__$fb599632d08395912d9d70eb2f0f93b5e2$__90633334d16b90602401602060405180830381865af41580156136bc573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906136e0919061404e565b6137085760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610b37565b600180546001600160a01b0319166001600160a01b0392909216919091179055565b6040518060600160405280606081526020015f6001600160a01b03168152602001606081525090565b5f60208284031215613763575f80fd5b81356001600160e01b0319811681146132a5575f80fd5b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081526001600160601b0382511660208201526001600160601b03602083015116604082015260ff60408301511660608201525f60608301516137f0608084018215159052565b5060808301516001600160a01b03811660a08401525060a08301516001600160a01b03811660c08401525060c083015160e08084015261383461010084018261377a565b949350505050565b602081525f612405602083018461377a565b6001600160601b0381168114610b95575f80fd5b5f60208284031215613872575f80fd5b81356132a58161384e565b8015158114610b95575f80fd5b8035610b4c8161387d565b5f602082840312156138a5575f80fd5b81356132a58161387d565b5f80604083850312156138c1575f80fd5b82356138cc8161384e565b915060208301356138dc8161384e565b809150509250929050565b634e487b7160e01b5f52604160045260245ffd5b604080519081016001600160401b038111828210171561391d5761391d6138e7565b60405290565b60405160e081016001600160401b038111828210171561391d5761391d6138e7565b60405161020081016001600160401b038111828210171561391d5761391d6138e7565b60405160c081016001600160401b038111828210171561391d5761391d6138e7565b604051606081016001600160401b038111828210171561391d5761391d6138e7565b604051601f8201601f191681016001600160401b03811182821017156139d4576139d46138e7565b604052919050565b6001600160a01b0381168114610b95575f80fd5b5f60408284031215613a00575f80fd5b613a086138fb565b90508135613a15816139dc565b81526020820135613a258161384e565b602082015292915050565b5f8060608385031215613a41575f80fd5b8235613a4c8161384e565b9150613a5b84602085016139f0565b90509250929050565b5f8060408385031215613a75575f80fd5b82356138cc816139dc565b5f805f60608486031215613a92575f80fd5b8335613a9d8161384e565b92506020840135613aad8161384e565b91506040840135613abd8161384e565b809150509250925092565b5f6001600160401b03821115613ae057613ae06138e7565b50601f01601f191660200190565b5f82601f830112613afd575f80fd5b8135613b10613b0b82613ac8565b6139ac565b818152846020838601011115613b24575f80fd5b816020850160208301375f918101602001919091529392505050565b5f60208284031215613b50575f80fd5b81356001600160401b03811115613b65575f80fd5b61383484828501613aee565b8035610b4c816139dc565b5f805f805f858703610160811215613b92575f80fd5b8635613b9d816139dc565b95506020870135613bad8161384e565b945060e0603f1982011215613bc0575f80fd5b50613bc9613923565b6040870135613bd78161384e565b81526060870135613be7816139dc565b60208201526080870135613bfa816139dc565b604082015260a0870135613c0d8161387d565b6060820152613c1e60c0880161388a565b6080820152613c2f60e0880161388a565b60a0820152613c41610100880161388a565b60c08201529250613c556101208701613b71565b9150613c646101408701613b71565b90509295509295909350565b5f60208284031215613c80575f80fd5b81356132a5816139dc565b5f60e0820190506001600160601b03835116825260018060a01b03602084015116602083015260018060a01b0360408401511660408301526060830151151560608301526080830151613ce2608084018215159052565b5060a0830151613cf660a084018215159052565b5060c0830151613d0a60c084018215159052565b5092915050565b5f805f60c08486031215613d23575f80fd5b613d2d85856139f0565b9250613d3c85604086016139f0565b9150613d4b85608086016139f0565b90509250925092565b602081525f825160606020840152613d6f608084018261377a565b60208501516001600160a01b0316604085810191909152850151848203601f19016060860152909150612a39828261377a565b5f805f805f60a08688031215613db6575f80fd5b8535613dc18161384e565b945060208601356001600160401b03811115613ddb575f80fd5b613de788828901613aee565b9450506040860135613df88161384e565b925060608601356001600160401b03811115613e12575f80fd5b613e1e88828901613aee565b9250506080860135613e2f8161384e565b809150509295509295909350565b5f805f8060808587031215613e50575f80fd5b8435613e5b816139dc565b93506020850135613e6b816139dc565b9250604085013591506060850135613e82816139dc565b939692955090935050565b64ffffffffff81168114610b95575f80fd5b5f805f805f60a08688031215613eb3575f80fd5b613ebd87876139f0565b9450604086013593506060860135613ed481613e8d565b925060808601356001600160401b03811115613eee575f80fd5b8601601f81018813613efe575f80fd5b80356001600160401b03811115613f13575f80fd5b886020828401011115613f24575f80fd5b959894975092955050506020019190565b61ffff81168114610b95575f80fd5b5f805f60608486031215613f56575f80fd5b8335613f618161384e565b92506020840135613aad81613f35565b5f8060408385031215613f82575f80fd5b8235613f8d8161384e565b915060208301356138dc81613e8d565b5f60208284031215613fad575f80fd5b815162ffffff811681146132a5575f80fd5b8051610b4c8161384e565b5f60208284031215613fda575f80fd5b81516132a58161384e565b600181811c90821680613ff957607f821691505b60208210810361401757634e487b7160e01b5f52602260045260245ffd5b50919050565b8051610b4c816139dc565b5f60208284031215614038575f80fd5b81516132a5816139dc565b8051610b4c8161387d565b5f6020828403121561405e575f80fd5b81516132a58161387d565b6001600160601b039290921682526001600160a01b0316602082015260400190565b80516001600160c01b031981168114610b4c575f80fd5b8051610b4c81613f35565b8051610b4c81613e8d565b5f6140c5613b0b84613ac8565b90508281528383830111156140d8575f80fd5b8282602083015e5f602084830101529392505050565b5f82601f8301126140fd575f80fd5b612405838351602085016140b8565b5f6020828403121561411c575f80fd5b81516001600160401b03811115614131575f80fd5b82016102008185031215614143575f80fd5b61414b613945565b61415482613fbf565b815261416260208301613fbf565b60208201526141736040830161408b565b604082015261418460608301613fbf565b606082015261419560808301613fbf565b60808201526141a660a0830161408b565b60a08201526141b760c083016140a2565b60c08201526141c860e083016140a2565b60e08201526141da6101008301613fbf565b6101008201526141ed6101208301613fbf565b61012082015261420061014083016140ad565b61014082015261421361016083016140ad565b61016082015261422661018083016140ad565b6101808201526142396101a083016140ad565b6101a08201526101c08201516001600160401b03811115614258575f80fd5b614264868285016140ee565b6101c0830152506101e08201516001600160401b03811115614284575f80fd5b614290868285016140ee565b6101e083015250949350505050565b5f604082840312156142af575f80fd5b6142b76138fb565b905081516142c4816139dc565b81526020820151613a258161384e565b5f602082840312156142e4575f80fd5b81516001600160401b038111156142f9575f80fd5b820160e0818503121561430a575f80fd5b614312613968565b815161431d81613e8d565b8152602082015161432d81613e8d565b602082015261433e604083016140ad565b604082015261434f60608301613fbf565b6060820152614361856080840161429f565b608082015260c08201516001600160401b0381111561437e575f80fd5b61438a868285016140ee565b60a083015250949350505050565b60ff81168114610b95575f80fd5b8051610b4c81614398565b5f602082840312156143c1575f80fd5b81516001600160401b038111156143d6575f80fd5b820160e081850312156143e7575f80fd5b6143ef613923565b6143f882613fbf565b815261440660208301613fbf565b6020820152614417604083016143a6565b604082015261442860608301614043565b60608201526144396080830161401d565b608082015261444a60a0830161401d565b60a082015260c08201516001600160401b03811115614467575f80fd5b614473868285016140ee565b60c083015250949350505050565b8181038181111561240857634e487b7160e01b5f52601160045260245ffd5b5f602082840312156144b0575f80fd5b81516132a581614398565b5f602082840312156144cb575f80fd5b5051919050565b5f80858511156144e0575f80fd5b838611156144ec575f80fd5b5050820193919092039150565b80356001600160e01b03198116906004841015613d0a576001600160e01b031960049490940360031b84901b1690921692915050565b6001600160a01b03841681526040602082018190528101829052818360608301375f818301606090810191909152601f909201601f1916010192915050565b80516001600160a01b031682526020908101516001600160601b0316910152565b6001600160601b0383168152606081016132a5602083018461456e565b60c081016145ba828661456e565b6145c7604083018561456e565b613834608083018461456e565b5f602082840312156145e4575f80fd5b81516001600160401b038111156145f9575f80fd5b82016060818503121561460a575f80fd5b61461261398a565b81516001600160401b03811115614627575f80fd5b8201601f81018613614637575f80fd5b614646868251602084016140b8565b8252506020820151614657816139dc565b602082015260408201516001600160401b03811115614674575f80fd5b614680868285016140ee565b604083015250949350505050565b6001600160a01b03851681526146a7602082018561456e565b64ffffffffff8316606082015260a060808201525f61120e60a083018461377a565b5f602082840312156146d9575f80fd5b81516132a581613e8d565b5f82518060208501845e5f920191825250919050565b5f806040838503121561470b575f80fd5b82516147168161387d565b602084015190925063ffffffff811681146138dc575f80fd5b601f82111561186f57805f5260205f20601f840160051c810160208510156147545750805b601f840160051c820191505b81811015610f0c575f8155600101614760565b81516001600160401b0381111561478c5761478c6138e7565b6147a08161479a8454613fe5565b8461472f565b6020601f8211600181146147d2575f83156147bb5750848201515b5f19600385901b1c1916600184901b178455610f0c565b5f84815260208120601f198516915b8281101561480157878501518255602094850194600190920191016147e1565b508482101561481e57868401515f19600387901b60f8161c191681555b50505050600190811b0190555056fe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a0025e3e51823fbfffb988e0a2744bb93722d9f3e906c07cc0a9e77884c46c5830025e3e51823fbfffb988e0a2744bb93722d9f3e906c07cc0a9e77884c46c58303ffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f0025e3e51823fbfffb988e0a2744bb93722d9f3e906c07cc0a9e77884c46c58304a2646970667358221220123d96a31fa4a125db6e16254d1b31f51a230a96dd20997d8e970814f0b1fb0a64736f6c634300081a0033",
1488
+ "linkReferences": {
1489
+ "contracts/shared/ContractLib.sol": {
1490
+ "ContractLib": [
1491
+ {
1492
+ "length": 20,
1493
+ "start": 2454
1494
+ },
1495
+ {
1496
+ "length": 20,
1497
+ "start": 3036
1498
+ },
1499
+ {
1500
+ "length": 20,
1501
+ "start": 17924
1502
+ },
1503
+ {
1504
+ "length": 20,
1505
+ "start": 18465
1506
+ }
1507
+ ]
1508
+ },
1509
+ "contracts/type/Amount.sol": {
1510
+ "AmountLib": [
1511
+ {
1512
+ "length": 20,
1513
+ "start": 11489
1514
+ },
1515
+ {
1516
+ "length": 20,
1517
+ "start": 11645
1518
+ }
1519
+ ]
1520
+ },
1521
+ "contracts/type/NftId.sol": {
1522
+ "NftIdLib": [
1523
+ {
1524
+ "length": 20,
1525
+ "start": 6843
1526
+ },
1527
+ {
1528
+ "length": 20,
1529
+ "start": 7699
1530
+ },
1531
+ {
1532
+ "length": 20,
1533
+ "start": 10432
1534
+ },
1535
+ {
1536
+ "length": 20,
1537
+ "start": 12336
1538
+ },
1539
+ {
1540
+ "length": 20,
1541
+ "start": 14728
1542
+ }
1543
+ ]
1544
+ },
1545
+ "contracts/type/ObjectType.sol": {
1546
+ "ObjectTypeLib": [
1547
+ {
1548
+ "length": 20,
1549
+ "start": 13309
1550
+ }
1551
+ ]
1552
+ },
1553
+ "contracts/type/Version.sol": {
1554
+ "VersionLib": [
1555
+ {
1556
+ "length": 20,
1557
+ "start": 6643
1558
+ }
1559
+ ]
1560
+ }
1561
+ },
1562
+ "deployedLinkReferences": {
1563
+ "contracts/shared/ContractLib.sol": {
1564
+ "ContractLib": [
1565
+ {
1566
+ "length": 20,
1567
+ "start": 13415
1568
+ },
1569
+ {
1570
+ "length": 20,
1571
+ "start": 13956
1572
+ }
1573
+ ]
1574
+ },
1575
+ "contracts/type/Amount.sol": {
1576
+ "AmountLib": [
1577
+ {
1578
+ "length": 20,
1579
+ "start": 6980
1580
+ },
1581
+ {
1582
+ "length": 20,
1583
+ "start": 7136
1584
+ }
1585
+ ]
1586
+ },
1587
+ "contracts/type/NftId.sol": {
1588
+ "NftIdLib": [
1589
+ {
1590
+ "length": 20,
1591
+ "start": 2334
1592
+ },
1593
+ {
1594
+ "length": 20,
1595
+ "start": 3190
1596
+ },
1597
+ {
1598
+ "length": 20,
1599
+ "start": 5923
1600
+ },
1601
+ {
1602
+ "length": 20,
1603
+ "start": 7827
1604
+ },
1605
+ {
1606
+ "length": 20,
1607
+ "start": 10219
1608
+ }
1609
+ ]
1610
+ },
1611
+ "contracts/type/ObjectType.sol": {
1612
+ "ObjectTypeLib": [
1613
+ {
1614
+ "length": 20,
1615
+ "start": 8800
1616
+ }
1617
+ ]
1618
+ },
1619
+ "contracts/type/Version.sol": {
1620
+ "VersionLib": [
1621
+ {
1622
+ "length": 20,
1623
+ "start": 2134
1624
+ }
1625
+ ]
1626
+ }
1627
+ }
1628
+ }