@etherisc/gif-next 0.0.2-f0d86c2-077 → 0.0.2-f0ebcc7-306

Sign up to get free protection for your applications and to get access to all the features.
Files changed (789) hide show
  1. package/README.md +320 -27
  2. package/artifacts/contracts/accounting/AccountingService.sol/AccountingService.dbg.json +4 -0
  3. package/artifacts/contracts/accounting/AccountingService.sol/AccountingService.json +1007 -0
  4. package/artifacts/contracts/accounting/AccountingServiceManager.sol/AccountingServiceManager.dbg.json +4 -0
  5. package/artifacts/contracts/accounting/AccountingServiceManager.sol/AccountingServiceManager.json +744 -0
  6. package/artifacts/contracts/accounting/IAccountingService.sol/IAccountingService.dbg.json +4 -0
  7. package/artifacts/contracts/accounting/IAccountingService.sol/IAccountingService.json +791 -0
  8. package/artifacts/contracts/authorization/AccessAdmin.sol/AccessAdmin.dbg.json +4 -0
  9. package/artifacts/contracts/authorization/AccessAdmin.sol/AccessAdmin.json +1494 -0
  10. package/artifacts/contracts/authorization/AccessAdmin.sol/IAccessManagedChecker.dbg.json +4 -0
  11. package/artifacts/contracts/{shared/IOwnable.sol/IOwnable.json → authorization/AccessAdmin.sol/IAccessManagedChecker.json} +4 -4
  12. package/artifacts/contracts/authorization/AccessAdminLib.sol/AccessAdminLib.dbg.json +4 -0
  13. package/artifacts/contracts/authorization/AccessAdminLib.sol/AccessAdminLib.json +673 -0
  14. package/artifacts/contracts/authorization/AccessManagerCloneable.sol/AccessManagerCloneable.dbg.json +4 -0
  15. package/artifacts/contracts/authorization/AccessManagerCloneable.sol/AccessManagerCloneable.json +1403 -0
  16. package/artifacts/contracts/authorization/Authorization.sol/Authorization.dbg.json +4 -0
  17. package/artifacts/contracts/authorization/Authorization.sol/Authorization.json +615 -0
  18. package/artifacts/contracts/authorization/IAccess.sol/IAccess.dbg.json +4 -0
  19. package/artifacts/contracts/{instance/module/access → authorization}/IAccess.sol/IAccess.json +1 -1
  20. package/artifacts/contracts/authorization/IAccessAdmin.sol/IAccessAdmin.dbg.json +4 -0
  21. package/artifacts/contracts/authorization/IAccessAdmin.sol/IAccessAdmin.json +1224 -0
  22. package/artifacts/contracts/authorization/IAuthorization.sol/IAuthorization.dbg.json +4 -0
  23. package/artifacts/contracts/authorization/IAuthorization.sol/IAuthorization.json +382 -0
  24. package/artifacts/contracts/authorization/IServiceAuthorization.sol/IServiceAuthorization.dbg.json +4 -0
  25. package/artifacts/contracts/authorization/IServiceAuthorization.sol/IServiceAuthorization.json +167 -0
  26. package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.dbg.json +4 -0
  27. package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.json +253 -0
  28. package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.dbg.json +4 -0
  29. package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.json +1209 -0
  30. package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.dbg.json +4 -0
  31. package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.json +644 -0
  32. package/artifacts/contracts/distribution/Distribution.sol/Distribution.dbg.json +4 -0
  33. package/artifacts/contracts/distribution/Distribution.sol/Distribution.json +930 -0
  34. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.dbg.json +4 -0
  35. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.json +1580 -0
  36. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +4 -0
  37. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.json +868 -0
  38. package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.dbg.json +4 -0
  39. package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.json +829 -0
  40. package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.dbg.json +4 -0
  41. package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.json +1071 -0
  42. package/artifacts/contracts/examples/fire/DamageLevel.sol/DamageLevelLib.dbg.json +4 -0
  43. package/artifacts/contracts/examples/fire/DamageLevel.sol/DamageLevelLib.json +22 -0
  44. package/artifacts/contracts/examples/fire/FirePool.sol/FirePool.dbg.json +4 -0
  45. package/artifacts/contracts/examples/fire/FirePool.sol/FirePool.json +1445 -0
  46. package/artifacts/contracts/examples/fire/FirePoolAuthorization.sol/FirePoolAuthorization.dbg.json +4 -0
  47. package/artifacts/contracts/examples/fire/FirePoolAuthorization.sol/FirePoolAuthorization.json +644 -0
  48. package/artifacts/contracts/examples/fire/FireProduct.sol/FireProduct.dbg.json +4 -0
  49. package/artifacts/contracts/examples/fire/FireProduct.sol/FireProduct.json +2002 -0
  50. package/artifacts/contracts/examples/fire/FireProductAuthorization.sol/FireProductAuthorization.dbg.json +4 -0
  51. package/artifacts/contracts/examples/fire/FireProductAuthorization.sol/FireProductAuthorization.json +644 -0
  52. package/artifacts/contracts/examples/fire/FireUSD.sol/FireUSD.dbg.json +4 -0
  53. package/artifacts/contracts/examples/fire/FireUSD.sol/FireUSD.json +376 -0
  54. package/artifacts/contracts/examples/unpermissioned/SimpleDistribution.sol/SimpleDistribution.dbg.json +4 -0
  55. package/artifacts/contracts/examples/unpermissioned/SimpleDistribution.sol/SimpleDistribution.json +1388 -0
  56. package/artifacts/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol/SimpleDistributionAuthorization.dbg.json +4 -0
  57. package/artifacts/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol/SimpleDistributionAuthorization.json +644 -0
  58. package/artifacts/contracts/examples/unpermissioned/SimpleOracle.sol/SimpleOracle.dbg.json +4 -0
  59. package/artifacts/contracts/examples/unpermissioned/SimpleOracle.sol/SimpleOracle.json +1152 -0
  60. package/artifacts/contracts/examples/unpermissioned/SimplePool.sol/SimplePool.dbg.json +4 -0
  61. package/artifacts/contracts/examples/unpermissioned/SimplePool.sol/SimplePool.json +1612 -0
  62. package/artifacts/contracts/examples/unpermissioned/SimplePoolAuthorization.sol/SimplePoolAuthorization.dbg.json +4 -0
  63. package/artifacts/contracts/examples/unpermissioned/SimplePoolAuthorization.sol/SimplePoolAuthorization.json +644 -0
  64. package/artifacts/contracts/examples/unpermissioned/SimpleProduct.sol/SimpleProduct.dbg.json +4 -0
  65. package/artifacts/contracts/examples/unpermissioned/SimpleProduct.sol/SimpleProduct.json +2389 -0
  66. package/artifacts/contracts/examples/unpermissioned/SimpleProductAuthorization.sol/SimpleProductAuthorization.dbg.json +4 -0
  67. package/artifacts/contracts/examples/unpermissioned/SimpleProductAuthorization.sol/SimpleProductAuthorization.json +644 -0
  68. package/artifacts/contracts/instance/BundleSet.sol/BundleSet.dbg.json +4 -0
  69. package/artifacts/contracts/instance/BundleSet.sol/BundleSet.json +851 -0
  70. package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
  71. package/artifacts/contracts/instance/IInstance.sol/IInstance.json +373 -1390
  72. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +4 -0
  73. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +808 -0
  74. package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
  75. package/artifacts/contracts/instance/Instance.sol/Instance.json +454 -1613
  76. package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.dbg.json +4 -0
  77. package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.json +2036 -0
  78. package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.dbg.json +4 -0
  79. package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.json +716 -0
  80. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +4 -0
  81. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +2458 -0
  82. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +4 -0
  83. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +1054 -0
  84. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +4 -0
  85. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +734 -0
  86. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.dbg.json +4 -0
  87. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.json +3728 -0
  88. package/artifacts/contracts/instance/RiskSet.sol/RiskSet.dbg.json +4 -0
  89. package/artifacts/contracts/instance/RiskSet.sol/RiskSet.json +853 -0
  90. package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.dbg.json +4 -0
  91. package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.json +318 -0
  92. package/artifacts/contracts/instance/base/Cloneable.sol/Cloneable.dbg.json +4 -0
  93. package/artifacts/contracts/instance/base/Cloneable.sol/Cloneable.json +137 -0
  94. package/artifacts/contracts/instance/base/ObjectCounter.sol/ObjectCounter.dbg.json +4 -0
  95. package/artifacts/contracts/instance/base/ObjectCounter.sol/ObjectCounter.json +10 -0
  96. package/artifacts/contracts/instance/base/ObjectLifecycle.sol/ObjectLifecycle.dbg.json +4 -0
  97. package/artifacts/contracts/instance/base/ObjectLifecycle.sol/ObjectLifecycle.json +223 -0
  98. package/artifacts/contracts/instance/base/ObjectSet.sol/ObjectSet.dbg.json +4 -0
  99. package/artifacts/contracts/instance/base/ObjectSet.sol/ObjectSet.json +192 -0
  100. package/artifacts/contracts/instance/base/ObjectSetHelperLib.sol/ObjectSetHelperLib.dbg.json +4 -0
  101. package/artifacts/contracts/instance/base/ObjectSetHelperLib.sol/ObjectSetHelperLib.json +168 -0
  102. package/artifacts/contracts/instance/module/IBundle.sol/IBundle.dbg.json +4 -0
  103. package/artifacts/contracts/instance/module/{bundle/IBundle.sol → IBundle.sol}/IBundle.json +1 -1
  104. package/artifacts/contracts/instance/module/IComponents.sol/IComponents.dbg.json +4 -0
  105. package/artifacts/contracts/instance/{base/ModuleBase.sol/ModuleBase.json → module/IComponents.sol/IComponents.json} +2 -2
  106. package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.dbg.json +4 -0
  107. package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.json +10 -0
  108. package/artifacts/contracts/instance/module/IPolicy.sol/IPolicy.dbg.json +4 -0
  109. package/artifacts/contracts/instance/module/{policy/IPolicy.sol → IPolicy.sol}/IPolicy.json +1 -1
  110. package/artifacts/contracts/instance/module/IRisk.sol/IRisk.dbg.json +4 -0
  111. package/artifacts/contracts/instance/module/{risk/IRisk.sol → IRisk.sol}/IRisk.json +1 -1
  112. package/artifacts/contracts/mock/Dip.sol/Dip.dbg.json +4 -0
  113. package/artifacts/contracts/mock/Dip.sol/Dip.json +376 -0
  114. package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.dbg.json +4 -0
  115. package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.json +938 -0
  116. package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.dbg.json +4 -0
  117. package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.json +632 -0
  118. package/artifacts/contracts/oracle/IOracle.sol/IOracle.dbg.json +4 -0
  119. package/artifacts/contracts/oracle/IOracle.sol/IOracle.json +52 -0
  120. package/artifacts/contracts/oracle/IOracleComponent.sol/IOracleComponent.dbg.json +4 -0
  121. package/artifacts/contracts/oracle/IOracleComponent.sol/IOracleComponent.json +753 -0
  122. package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.dbg.json +4 -0
  123. package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.json +733 -0
  124. package/artifacts/contracts/oracle/Oracle.sol/Oracle.dbg.json +4 -0
  125. package/artifacts/contracts/oracle/Oracle.sol/Oracle.json +854 -0
  126. package/artifacts/contracts/oracle/OracleService.sol/OracleService.dbg.json +4 -0
  127. package/artifacts/contracts/oracle/OracleService.sol/OracleService.json +997 -0
  128. package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.dbg.json +4 -0
  129. package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.json +764 -0
  130. package/artifacts/contracts/pool/BasicPool.sol/BasicPool.dbg.json +4 -0
  131. package/artifacts/contracts/pool/BasicPool.sol/BasicPool.json +1231 -0
  132. package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.dbg.json +4 -0
  133. package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.json +644 -0
  134. package/artifacts/contracts/pool/BundleService.sol/BundleService.dbg.json +4 -0
  135. package/artifacts/contracts/pool/BundleService.sol/BundleService.json +1261 -0
  136. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.dbg.json +4 -0
  137. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.json +800 -0
  138. package/artifacts/contracts/pool/IBundleService.sol/IBundleService.dbg.json +4 -0
  139. package/artifacts/contracts/pool/IBundleService.sol/IBundleService.json +880 -0
  140. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.dbg.json +4 -0
  141. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.json +886 -0
  142. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.dbg.json +4 -0
  143. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.json +1230 -0
  144. package/artifacts/contracts/pool/Pool.sol/Pool.dbg.json +4 -0
  145. package/artifacts/contracts/pool/Pool.sol/Pool.json +1006 -0
  146. package/artifacts/contracts/pool/PoolLib.sol/PoolLib.dbg.json +4 -0
  147. package/artifacts/contracts/pool/PoolLib.sol/PoolLib.json +456 -0
  148. package/artifacts/contracts/pool/PoolService.sol/PoolService.dbg.json +4 -0
  149. package/artifacts/contracts/pool/PoolService.sol/PoolService.json +1574 -0
  150. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.dbg.json +4 -0
  151. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.json +808 -0
  152. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.dbg.json +4 -0
  153. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.json +879 -0
  154. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +4 -0
  155. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.json +740 -0
  156. package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.dbg.json +4 -0
  157. package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.json +1140 -0
  158. package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.dbg.json +4 -0
  159. package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.json +644 -0
  160. package/artifacts/contracts/product/ClaimService.sol/ClaimService.dbg.json +4 -0
  161. package/artifacts/contracts/product/ClaimService.sol/ClaimService.json +1496 -0
  162. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +4 -0
  163. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.json +848 -0
  164. package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.dbg.json +4 -0
  165. package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.json +639 -0
  166. package/artifacts/contracts/product/IClaimService.sol/IClaimService.dbg.json +4 -0
  167. package/artifacts/contracts/product/IClaimService.sol/IClaimService.json +1064 -0
  168. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.dbg.json +4 -0
  169. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.json +981 -0
  170. package/artifacts/contracts/product/IPricingService.sol/IPricingService.dbg.json +4 -0
  171. package/artifacts/contracts/product/IPricingService.sol/IPricingService.json +623 -0
  172. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.dbg.json +4 -0
  173. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.json +997 -0
  174. package/artifacts/contracts/product/IRiskService.sol/IRiskService.dbg.json +4 -0
  175. package/artifacts/contracts/{instance/service/IProductService.sol/IProductService.json → product/IRiskService.sol/IRiskService.json} +233 -230
  176. package/artifacts/contracts/product/PolicyService.sol/PolicyService.dbg.json +4 -0
  177. package/artifacts/contracts/product/PolicyService.sol/PolicyService.json +1333 -0
  178. package/artifacts/contracts/product/PolicyServiceLib.sol/PolicyServiceLib.dbg.json +4 -0
  179. package/artifacts/contracts/product/PolicyServiceLib.sol/PolicyServiceLib.json +293 -0
  180. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +4 -0
  181. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.json +808 -0
  182. package/artifacts/contracts/product/PricingService.sol/PricingService.dbg.json +4 -0
  183. package/artifacts/contracts/product/PricingService.sol/PricingService.json +911 -0
  184. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.dbg.json +4 -0
  185. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.json +764 -0
  186. package/artifacts/contracts/product/Product.sol/Product.dbg.json +4 -0
  187. package/artifacts/contracts/product/Product.sol/Product.json +1098 -0
  188. package/artifacts/contracts/product/RiskService.sol/RiskService.dbg.json +4 -0
  189. package/artifacts/contracts/product/RiskService.sol/RiskService.json +688 -0
  190. package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.dbg.json +4 -0
  191. package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.json +736 -0
  192. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
  193. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +242 -12
  194. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
  195. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +1024 -119
  196. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +4 -0
  197. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +1043 -0
  198. package/artifacts/contracts/registry/IRelease.sol/IRelease.dbg.json +4 -0
  199. package/artifacts/contracts/registry/IRelease.sol/IRelease.json +24 -0
  200. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +4 -0
  201. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.json +39 -0
  202. package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
  203. package/artifacts/contracts/registry/Registry.sol/Registry.json +1450 -219
  204. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.dbg.json +4 -0
  205. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.json +2018 -0
  206. package/artifacts/contracts/registry/RegistryAuthorization.sol/RegistryAuthorization.dbg.json +4 -0
  207. package/artifacts/contracts/registry/RegistryAuthorization.sol/RegistryAuthorization.json +878 -0
  208. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +4 -0
  209. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +1269 -0
  210. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +4 -0
  211. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +735 -0
  212. package/artifacts/contracts/registry/ReleaseAdmin.sol/ReleaseAdmin.dbg.json +4 -0
  213. package/artifacts/contracts/registry/ReleaseAdmin.sol/ReleaseAdmin.json +1954 -0
  214. package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.dbg.json +4 -0
  215. package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.json +205 -0
  216. package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.dbg.json +4 -0
  217. package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.json +1337 -0
  218. package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.dbg.json +4 -0
  219. package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.json +272 -0
  220. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +4 -0
  221. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +661 -0
  222. package/artifacts/contracts/shared/Component.sol/Component.dbg.json +4 -0
  223. package/artifacts/contracts/shared/Component.sol/Component.json +686 -0
  224. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.dbg.json +4 -0
  225. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.json +1556 -0
  226. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.dbg.json +4 -0
  227. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.json +816 -0
  228. package/artifacts/contracts/shared/ComponentVerifyingService.sol/ComponentVerifyingService.dbg.json +4 -0
  229. package/artifacts/contracts/shared/ComponentVerifyingService.sol/ComponentVerifyingService.json +485 -0
  230. package/artifacts/contracts/shared/ContractLib.sol/ContractLib.dbg.json +4 -0
  231. package/artifacts/contracts/shared/ContractLib.sol/ContractLib.json +597 -0
  232. package/artifacts/contracts/shared/ContractLib.sol/IInstanceAdminHelper.dbg.json +4 -0
  233. package/artifacts/contracts/{instance/IInstanceLinked.sol/IInstanceLinked.json → shared/ContractLib.sol/IInstanceAdminHelper.json} +5 -5
  234. package/artifacts/contracts/shared/ContractLib.sol/ITargetHelper.dbg.json +4 -0
  235. package/artifacts/contracts/shared/ContractLib.sol/ITargetHelper.json +30 -0
  236. package/artifacts/contracts/shared/ContractLib.sol/ITokenRegistryHelper.dbg.json +4 -0
  237. package/artifacts/contracts/shared/ContractLib.sol/ITokenRegistryHelper.json +40 -0
  238. package/artifacts/contracts/shared/IComponent.sol/IComponent.dbg.json +4 -0
  239. package/artifacts/contracts/shared/IComponent.sol/IComponent.json +611 -0
  240. package/artifacts/contracts/shared/IComponentService.sol/IComponentService.dbg.json +4 -0
  241. package/artifacts/contracts/shared/IComponentService.sol/IComponentService.json +1196 -0
  242. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.dbg.json +4 -0
  243. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.json +688 -0
  244. package/artifacts/contracts/shared/IKeyValueStore.sol/IKeyValueStore.dbg.json +4 -0
  245. package/artifacts/contracts/{instance/base → shared}/IKeyValueStore.sol/IKeyValueStore.json +140 -141
  246. package/artifacts/contracts/shared/ILifecycle.sol/ILifecycle.dbg.json +4 -0
  247. package/artifacts/contracts/{instance/base → shared}/ILifecycle.sol/ILifecycle.json +35 -4
  248. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +4 -0
  249. package/artifacts/contracts/{components/IBaseComponent.sol/IBaseComponent.json → shared/INftOwnable.sol/INftOwnable.json} +47 -74
  250. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.dbg.json +4 -0
  251. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.json +175 -0
  252. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
  253. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +229 -21
  254. package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.dbg.json +4 -0
  255. package/artifacts/contracts/{registry → shared}/IRegistryLinked.sol/IRegistryLinked.json +13 -2
  256. package/artifacts/contracts/shared/IService.sol/IService.dbg.json +4 -0
  257. package/artifacts/contracts/{instance/service/IComponentOwnerService.sol/IComponentOwnerService.json → shared/IService.sol/IService.json} +198 -163
  258. package/artifacts/contracts/shared/InitializableERC165.sol/InitializableERC165.dbg.json +4 -0
  259. package/artifacts/contracts/shared/InitializableERC165.sol/InitializableERC165.json +53 -0
  260. package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.dbg.json +4 -0
  261. package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.json +776 -0
  262. package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.dbg.json +4 -0
  263. package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.json +538 -0
  264. package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.dbg.json +4 -0
  265. package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.json +174 -0
  266. package/artifacts/contracts/shared/NftIdSet.sol/NftIdSet.dbg.json +4 -0
  267. package/artifacts/contracts/shared/NftIdSet.sol/NftIdSet.json +306 -0
  268. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +4 -0
  269. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +209 -0
  270. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.dbg.json +4 -0
  271. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.json +198 -0
  272. package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
  273. package/artifacts/contracts/shared/Registerable.sol/Registerable.json +275 -18
  274. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.dbg.json +4 -0
  275. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.json +58 -0
  276. package/artifacts/contracts/shared/Service.sol/Service.dbg.json +4 -0
  277. package/artifacts/contracts/{instance/service/IPoolService.sol/IPoolService.json → shared/Service.sol/Service.json} +248 -171
  278. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +4 -0
  279. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +723 -0
  280. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandlerBase.dbg.json +4 -0
  281. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandlerBase.json +484 -0
  282. package/artifacts/contracts/shared/TokenHandlerDeployerLib.sol/TokenHandlerDeployerLib.dbg.json +4 -0
  283. package/artifacts/contracts/shared/TokenHandlerDeployerLib.sol/TokenHandlerDeployerLib.json +172 -0
  284. package/artifacts/contracts/staking/IStaking.sol/IStaking.dbg.json +4 -0
  285. package/artifacts/contracts/staking/IStaking.sol/IStaking.json +1491 -0
  286. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.dbg.json +4 -0
  287. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.json +1167 -0
  288. package/artifacts/contracts/staking/Staking.sol/Staking.dbg.json +4 -0
  289. package/artifacts/contracts/staking/Staking.sol/Staking.json +1888 -0
  290. package/artifacts/contracts/staking/StakingLib.sol/StakingLib.dbg.json +4 -0
  291. package/artifacts/contracts/staking/StakingLib.sol/StakingLib.json +469 -0
  292. package/artifacts/contracts/staking/StakingLifecycle.sol/StakingLifecycle.dbg.json +4 -0
  293. package/artifacts/contracts/staking/StakingLifecycle.sol/StakingLifecycle.json +205 -0
  294. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.dbg.json +4 -0
  295. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.json +792 -0
  296. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.dbg.json +4 -0
  297. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.json +560 -0
  298. package/artifacts/contracts/staking/StakingService.sol/StakingService.dbg.json +4 -0
  299. package/artifacts/contracts/staking/StakingService.sol/StakingService.json +1380 -0
  300. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.dbg.json +4 -0
  301. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.json +736 -0
  302. package/artifacts/contracts/staking/StakingStore.sol/StakingStore.dbg.json +4 -0
  303. package/artifacts/contracts/staking/StakingStore.sol/StakingStore.json +2297 -0
  304. package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.dbg.json +4 -0
  305. package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.json +617 -0
  306. package/artifacts/contracts/type/AddressSet.sol/LibAddressSet.dbg.json +4 -0
  307. package/artifacts/contracts/type/AddressSet.sol/LibAddressSet.json +10 -0
  308. package/artifacts/contracts/type/Amount.sol/AmountLib.dbg.json +4 -0
  309. package/artifacts/contracts/type/Amount.sol/AmountLib.json +398 -0
  310. package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.dbg.json +4 -0
  311. package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.json +225 -0
  312. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.dbg.json +4 -0
  313. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.json +203 -0
  314. package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.dbg.json +4 -0
  315. package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.json +104 -0
  316. package/artifacts/contracts/type/Fee.sol/FeeLib.dbg.json +4 -0
  317. package/artifacts/contracts/type/Fee.sol/FeeLib.json +373 -0
  318. package/artifacts/contracts/type/Key32.sol/Key32Lib.dbg.json +4 -0
  319. package/artifacts/contracts/type/Key32.sol/Key32Lib.json +125 -0
  320. package/artifacts/contracts/type/Key32Set.sol/LibKey32Set.dbg.json +4 -0
  321. package/artifacts/contracts/type/Key32Set.sol/LibKey32Set.json +33 -0
  322. package/artifacts/contracts/type/NftId.sol/NftIdLib.dbg.json +4 -0
  323. package/artifacts/contracts/type/NftId.sol/NftIdLib.json +228 -0
  324. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.dbg.json +4 -0
  325. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.json +33 -0
  326. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.dbg.json +4 -0
  327. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.json +241 -0
  328. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.dbg.json +4 -0
  329. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.json +209 -0
  330. package/artifacts/contracts/type/Referral.sol/ReferralLib.dbg.json +4 -0
  331. package/artifacts/contracts/type/Referral.sol/ReferralLib.json +142 -0
  332. package/artifacts/contracts/type/RequestId.sol/RequestIdLib.dbg.json +4 -0
  333. package/artifacts/contracts/type/RequestId.sol/RequestIdLib.json +204 -0
  334. package/artifacts/contracts/type/RiskId.sol/RiskIdLib.dbg.json +4 -0
  335. package/artifacts/contracts/type/RiskId.sol/RiskIdLib.json +204 -0
  336. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.dbg.json +4 -0
  337. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.json +433 -0
  338. package/artifacts/contracts/type/Seconds.sol/SecondsLib.dbg.json +4 -0
  339. package/artifacts/contracts/type/Seconds.sol/SecondsLib.json +246 -0
  340. package/artifacts/contracts/type/Selector.sol/SelectorLib.dbg.json +4 -0
  341. package/artifacts/contracts/type/Selector.sol/SelectorLib.json +148 -0
  342. package/artifacts/contracts/type/Selector.sol/SelectorSetLib.dbg.json +4 -0
  343. package/artifacts/contracts/type/Selector.sol/SelectorSetLib.json +10 -0
  344. package/artifacts/contracts/type/StateId.sol/StateIdLib.dbg.json +4 -0
  345. package/artifacts/contracts/type/StateId.sol/StateIdLib.json +105 -0
  346. package/artifacts/contracts/type/String.sol/StrLib.dbg.json +4 -0
  347. package/artifacts/contracts/type/String.sol/StrLib.json +132 -0
  348. package/artifacts/contracts/type/Timestamp.sol/TimestampLib.dbg.json +4 -0
  349. package/artifacts/contracts/type/Timestamp.sol/TimestampLib.json +312 -0
  350. package/artifacts/contracts/type/UFixed.sol/UFixedLib.dbg.json +4 -0
  351. package/artifacts/contracts/type/UFixed.sol/UFixedLib.json +548 -0
  352. package/artifacts/contracts/type/Version.sol/VersionLib.dbg.json +4 -0
  353. package/artifacts/contracts/type/Version.sol/VersionLib.json +158 -0
  354. package/artifacts/contracts/type/Version.sol/VersionPartLib.dbg.json +4 -0
  355. package/artifacts/contracts/type/Version.sol/VersionPartLib.json +167 -0
  356. package/artifacts/contracts/upgradeability/IVersionable.sol/IVersionable.dbg.json +4 -0
  357. package/artifacts/contracts/upgradeability/IVersionable.sol/IVersionable.json +55 -0
  358. package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.dbg.json +4 -0
  359. package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.json +618 -0
  360. package/artifacts/contracts/upgradeability/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +4 -0
  361. package/artifacts/contracts/upgradeability/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +129 -0
  362. package/artifacts/contracts/upgradeability/Versionable.sol/Versionable.dbg.json +4 -0
  363. package/artifacts/contracts/upgradeability/Versionable.sol/Versionable.json +78 -0
  364. package/contracts/accounting/AccountingService.sol +262 -0
  365. package/contracts/accounting/AccountingServiceManager.sol +38 -0
  366. package/contracts/accounting/IAccountingService.sol +45 -0
  367. package/contracts/authorization/AccessAdmin.sol +704 -0
  368. package/contracts/authorization/AccessAdminLib.sol +183 -0
  369. package/contracts/authorization/AccessManagerCloneable.sol +158 -0
  370. package/contracts/authorization/Authorization.sol +365 -0
  371. package/contracts/authorization/IAccess.sol +49 -0
  372. package/contracts/authorization/IAccessAdmin.sol +170 -0
  373. package/contracts/authorization/IAuthorization.sol +80 -0
  374. package/contracts/authorization/IServiceAuthorization.sol +40 -0
  375. package/contracts/authorization/ServiceAuthorization.sol +106 -0
  376. package/contracts/distribution/BasicDistribution.sol +141 -0
  377. package/contracts/distribution/BasicDistributionAuthorization.sol +60 -0
  378. package/contracts/distribution/Distribution.sol +244 -0
  379. package/contracts/distribution/DistributionService.sol +385 -0
  380. package/contracts/distribution/DistributionServiceManager.sol +39 -0
  381. package/contracts/distribution/IDistributionComponent.sol +43 -0
  382. package/contracts/distribution/IDistributionService.sol +103 -0
  383. package/contracts/examples/fire/DamageLevel.sol +59 -0
  384. package/contracts/examples/fire/FirePool.sol +86 -0
  385. package/contracts/examples/fire/FirePoolAuthorization.sol +35 -0
  386. package/contracts/examples/fire/FireProduct.sol +433 -0
  387. package/contracts/examples/fire/FireProductAuthorization.sol +45 -0
  388. package/contracts/examples/fire/FireUSD.sol +26 -0
  389. package/contracts/examples/unpermissioned/SimpleDistribution.sol +81 -0
  390. package/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol +28 -0
  391. package/contracts/examples/unpermissioned/SimpleOracle.sol +133 -0
  392. package/contracts/examples/unpermissioned/SimplePool.sol +102 -0
  393. package/contracts/examples/unpermissioned/SimplePoolAuthorization.sol +28 -0
  394. package/contracts/examples/unpermissioned/SimpleProduct.sol +373 -0
  395. package/contracts/examples/unpermissioned/SimpleProductAuthorization.sol +28 -0
  396. package/contracts/instance/BundleSet.sol +130 -0
  397. package/contracts/instance/IInstance.sol +99 -45
  398. package/contracts/instance/IInstanceService.sol +88 -0
  399. package/contracts/instance/Instance.sol +291 -55
  400. package/contracts/instance/InstanceAdmin.sol +450 -0
  401. package/contracts/instance/InstanceAuthorizationV3.sol +235 -0
  402. package/contracts/instance/InstanceReader.sol +650 -0
  403. package/contracts/instance/InstanceService.sol +459 -0
  404. package/contracts/instance/InstanceServiceManager.sol +39 -0
  405. package/contracts/instance/InstanceStore.sol +298 -0
  406. package/contracts/instance/RiskSet.sol +118 -0
  407. package/contracts/instance/base/BalanceStore.sol +123 -0
  408. package/contracts/instance/base/Cloneable.sol +28 -0
  409. package/contracts/instance/base/ObjectCounter.sol +20 -0
  410. package/contracts/instance/base/ObjectLifecycle.sol +113 -0
  411. package/contracts/instance/base/ObjectSet.sol +77 -0
  412. package/contracts/instance/base/ObjectSetHelperLib.sol +30 -0
  413. package/contracts/instance/module/IBundle.sol +20 -0
  414. package/contracts/instance/module/IComponents.sol +50 -0
  415. package/contracts/instance/module/IDistribution.sol +44 -0
  416. package/contracts/instance/module/IPolicy.sol +85 -0
  417. package/contracts/instance/module/IRisk.sol +14 -0
  418. package/contracts/{test/Usdc.sol → mock/Dip.sol} +6 -6
  419. package/contracts/oracle/BasicOracle.sol +45 -0
  420. package/contracts/oracle/BasicOracleAuthorization.sol +37 -0
  421. package/contracts/oracle/IOracle.sol +36 -0
  422. package/contracts/oracle/IOracleComponent.sol +33 -0
  423. package/contracts/oracle/IOracleService.sol +66 -0
  424. package/contracts/oracle/Oracle.sol +154 -0
  425. package/contracts/oracle/OracleService.sol +310 -0
  426. package/contracts/oracle/OracleServiceManager.sol +39 -0
  427. package/contracts/pool/BasicPool.sol +173 -0
  428. package/contracts/pool/BasicPoolAuthorization.sol +76 -0
  429. package/contracts/pool/BundleService.sol +395 -0
  430. package/contracts/pool/BundleServiceManager.sol +39 -0
  431. package/contracts/pool/IBundleService.sol +115 -0
  432. package/contracts/pool/IPoolComponent.sol +62 -0
  433. package/contracts/pool/IPoolService.sol +165 -0
  434. package/contracts/pool/Pool.sol +343 -0
  435. package/contracts/pool/PoolLib.sol +216 -0
  436. package/contracts/pool/PoolService.sol +755 -0
  437. package/contracts/pool/PoolServiceManager.sol +39 -0
  438. package/contracts/product/ApplicationService.sol +274 -0
  439. package/contracts/product/ApplicationServiceManager.sol +38 -0
  440. package/contracts/product/BasicProduct.sol +49 -0
  441. package/contracts/product/BasicProductAuthorization.sol +56 -0
  442. package/contracts/product/ClaimService.sol +632 -0
  443. package/contracts/product/ClaimServiceManager.sol +38 -0
  444. package/contracts/product/IApplicationService.sol +69 -0
  445. package/contracts/product/IClaimService.sol +135 -0
  446. package/contracts/product/IPolicyService.sol +95 -0
  447. package/contracts/product/IPricingService.sol +40 -0
  448. package/contracts/product/IProductComponent.sol +62 -0
  449. package/contracts/product/IRiskService.sol +33 -0
  450. package/contracts/product/PolicyService.sol +664 -0
  451. package/contracts/product/PolicyServiceLib.sol +65 -0
  452. package/contracts/product/PolicyServiceManager.sol +39 -0
  453. package/contracts/product/PricingService.sol +309 -0
  454. package/contracts/product/PricingServiceManager.sol +39 -0
  455. package/contracts/product/Product.sol +467 -0
  456. package/contracts/product/RiskService.sol +154 -0
  457. package/contracts/product/RiskServiceManager.sol +39 -0
  458. package/contracts/registry/ChainNft.sol +130 -40
  459. package/contracts/registry/IRegistry.sol +138 -29
  460. package/contracts/registry/IRegistryService.sol +62 -0
  461. package/contracts/registry/IRelease.sol +26 -0
  462. package/contracts/registry/ITransferInterceptor.sol +6 -0
  463. package/contracts/registry/Registry.sol +631 -282
  464. package/contracts/registry/RegistryAdmin.sol +258 -0
  465. package/contracts/registry/RegistryAuthorization.sol +267 -0
  466. package/contracts/registry/RegistryService.sol +241 -0
  467. package/contracts/registry/RegistryServiceManager.sol +53 -0
  468. package/contracts/registry/ReleaseAdmin.sol +253 -0
  469. package/contracts/registry/ReleaseLifecycle.sol +32 -0
  470. package/contracts/registry/ReleaseRegistry.sol +517 -0
  471. package/contracts/registry/ServiceAuthorizationV3.sol +331 -0
  472. package/contracts/registry/TokenRegistry.sol +313 -0
  473. package/contracts/shared/Component.sol +210 -0
  474. package/contracts/shared/ComponentService.sol +708 -0
  475. package/contracts/shared/ComponentServiceManager.sol +38 -0
  476. package/contracts/shared/ComponentVerifyingService.sol +128 -0
  477. package/contracts/shared/ContractLib.sol +281 -0
  478. package/contracts/shared/IComponent.sol +58 -0
  479. package/contracts/shared/IComponentService.sol +112 -0
  480. package/contracts/shared/IInstanceLinkedComponent.sol +30 -0
  481. package/contracts/shared/IKeyValueStore.sol +54 -0
  482. package/contracts/{instance/base → shared}/ILifecycle.sol +6 -5
  483. package/contracts/shared/INftOwnable.sol +25 -0
  484. package/contracts/shared/IPolicyHolder.sol +35 -0
  485. package/contracts/shared/IRegisterable.sol +33 -20
  486. package/contracts/shared/IRegistryLinked.sol +11 -0
  487. package/contracts/shared/IService.sol +23 -0
  488. package/contracts/shared/InitializableERC165.sol +35 -0
  489. package/contracts/shared/InstanceLinkedComponent.sol +195 -0
  490. package/contracts/shared/KeyValueStore.sol +131 -0
  491. package/contracts/shared/Lifecycle.sol +88 -0
  492. package/contracts/shared/NftIdSet.sol +65 -0
  493. package/contracts/shared/NftOwnable.sol +127 -0
  494. package/contracts/shared/PolicyHolder.sol +62 -0
  495. package/contracts/shared/Registerable.sol +80 -60
  496. package/contracts/shared/RegistryLinked.sol +38 -0
  497. package/contracts/shared/Service.sol +65 -0
  498. package/contracts/shared/TokenHandler.sol +342 -0
  499. package/contracts/shared/TokenHandlerDeployerLib.sol +20 -0
  500. package/contracts/staking/IStaking.sol +175 -0
  501. package/contracts/staking/IStakingService.sol +172 -0
  502. package/contracts/staking/Staking.sol +546 -0
  503. package/contracts/staking/StakingLib.sol +281 -0
  504. package/contracts/staking/StakingLifecycle.sol +23 -0
  505. package/contracts/staking/StakingManager.sol +52 -0
  506. package/contracts/staking/StakingReader.sol +180 -0
  507. package/contracts/staking/StakingService.sol +464 -0
  508. package/contracts/staking/StakingServiceManager.sol +45 -0
  509. package/contracts/staking/StakingStore.sol +606 -0
  510. package/contracts/staking/TargetManagerLib.sol +211 -0
  511. package/contracts/{types → type}/AddressSet.sol +1 -1
  512. package/contracts/type/Amount.sol +150 -0
  513. package/contracts/{types → type}/Blocknumber.sol +27 -3
  514. package/contracts/type/ClaimId.sol +80 -0
  515. package/contracts/type/DistributorType.sol +55 -0
  516. package/contracts/type/Fee.sol +65 -0
  517. package/contracts/{types → type}/Key32.sol +10 -5
  518. package/contracts/type/Key32Set.sol +62 -0
  519. package/contracts/{types → type}/NftId.sol +28 -15
  520. package/contracts/type/NftIdSet.sol +62 -0
  521. package/contracts/type/ObjectType.sol +294 -0
  522. package/contracts/type/PayoutId.sol +82 -0
  523. package/contracts/type/Referral.sol +90 -0
  524. package/contracts/type/RequestId.sol +75 -0
  525. package/contracts/type/RiskId.sol +75 -0
  526. package/contracts/type/RoleId.sol +182 -0
  527. package/contracts/type/Seconds.sol +101 -0
  528. package/contracts/type/Selector.sol +107 -0
  529. package/contracts/{types → type}/StateId.sol +53 -5
  530. package/contracts/type/String.sol +53 -0
  531. package/contracts/{types → type}/Timestamp.sol +37 -19
  532. package/contracts/{types → type}/UFixed.sol +55 -19
  533. package/contracts/type/Version.sol +159 -0
  534. package/contracts/upgradeability/IVersionable.sol +53 -0
  535. package/contracts/upgradeability/ProxyManager.sol +232 -0
  536. package/contracts/upgradeability/UpgradableProxyWithAdmin.sol +14 -0
  537. package/contracts/upgradeability/Versionable.sol +59 -0
  538. package/package.json +13 -8
  539. package/artifacts/contracts/components/BaseComponent.sol/BaseComponent.dbg.json +0 -4
  540. package/artifacts/contracts/components/BaseComponent.sol/BaseComponent.json +0 -174
  541. package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.dbg.json +0 -4
  542. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.dbg.json +0 -4
  543. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.json +0 -356
  544. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.dbg.json +0 -4
  545. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.json +0 -279
  546. package/artifacts/contracts/components/Pool.sol/Pool.dbg.json +0 -4
  547. package/artifacts/contracts/components/Pool.sol/Pool.json +0 -387
  548. package/artifacts/contracts/components/Product.sol/Product.dbg.json +0 -4
  549. package/artifacts/contracts/components/Product.sol/Product.json +0 -305
  550. package/artifacts/contracts/experiment/errors/Require.sol/Require.dbg.json +0 -4
  551. package/artifacts/contracts/experiment/errors/Require.sol/Require.json +0 -105
  552. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.dbg.json +0 -4
  553. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.json +0 -105
  554. package/artifacts/contracts/experiment/inheritance/A.sol/A.dbg.json +0 -4
  555. package/artifacts/contracts/experiment/inheritance/A.sol/A.json +0 -128
  556. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.dbg.json +0 -4
  557. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.json +0 -42
  558. package/artifacts/contracts/experiment/inheritance/B.sol/B.dbg.json +0 -4
  559. package/artifacts/contracts/experiment/inheritance/B.sol/B.json +0 -76
  560. package/artifacts/contracts/experiment/inheritance/C.sol/C.dbg.json +0 -4
  561. package/artifacts/contracts/experiment/inheritance/C.sol/C.json +0 -89
  562. package/artifacts/contracts/experiment/inheritance/IA.sol/IA.dbg.json +0 -4
  563. package/artifacts/contracts/experiment/inheritance/IA.sol/IA.json +0 -128
  564. package/artifacts/contracts/experiment/inheritance/IA.sol/ISharedA.dbg.json +0 -4
  565. package/artifacts/contracts/experiment/inheritance/IA.sol/ISharedA.json +0 -37
  566. package/artifacts/contracts/experiment/inheritance/IB.sol/IB.dbg.json +0 -4
  567. package/artifacts/contracts/experiment/inheritance/IB.sol/IB.json +0 -50
  568. package/artifacts/contracts/experiment/inheritance/IC.sol/IC.dbg.json +0 -4
  569. package/artifacts/contracts/experiment/inheritance/IC.sol/IC.json +0 -63
  570. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.dbg.json +0 -4
  571. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.json +0 -59
  572. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.dbg.json +0 -4
  573. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.json +0 -124
  574. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.dbg.json +0 -4
  575. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.json +0 -74
  576. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.dbg.json +0 -4
  577. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.json +0 -124
  578. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.dbg.json +0 -4
  579. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.json +0 -207
  580. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.dbg.json +0 -4
  581. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.json +0 -10
  582. package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.dbg.json +0 -4
  583. package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.json +0 -10
  584. package/artifacts/contracts/instance/IInstanceLinked.sol/IInstanceLinked.dbg.json +0 -4
  585. package/artifacts/contracts/instance/base/ComponentServiceBase.sol/ComponentServiceBase.dbg.json +0 -4
  586. package/artifacts/contracts/instance/base/ComponentServiceBase.sol/ComponentServiceBase.json +0 -300
  587. package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.dbg.json +0 -4
  588. package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.json +0 -63
  589. package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.dbg.json +0 -4
  590. package/artifacts/contracts/instance/base/ILifecycle.sol/ILifecycle.dbg.json +0 -4
  591. package/artifacts/contracts/instance/base/IService.sol/IService.dbg.json +0 -4
  592. package/artifacts/contracts/instance/base/IService.sol/IService.json +0 -300
  593. package/artifacts/contracts/instance/base/InstanceBase.sol/InstanceBase.dbg.json +0 -4
  594. package/artifacts/contracts/instance/base/InstanceBase.sol/InstanceBase.json +0 -326
  595. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.dbg.json +0 -4
  596. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.json +0 -692
  597. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.dbg.json +0 -4
  598. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.json +0 -169
  599. package/artifacts/contracts/instance/base/ModuleBase.sol/ModuleBase.dbg.json +0 -4
  600. package/artifacts/contracts/instance/base/ServiceBase.sol/ServiceBase.dbg.json +0 -4
  601. package/artifacts/contracts/instance/base/ServiceBase.sol/ServiceBase.json +0 -300
  602. package/artifacts/contracts/instance/module/access/Access.sol/AccessModule.dbg.json +0 -4
  603. package/artifacts/contracts/instance/module/access/Access.sol/AccessModule.json +0 -333
  604. package/artifacts/contracts/instance/module/access/IAccess.sol/IAccess.dbg.json +0 -4
  605. package/artifacts/contracts/instance/module/access/IAccess.sol/IAccessModule.dbg.json +0 -4
  606. package/artifacts/contracts/instance/module/access/IAccess.sol/IAccessModule.json +0 -333
  607. package/artifacts/contracts/instance/module/bundle/BundleModule.sol/BundleModule.dbg.json +0 -4
  608. package/artifacts/contracts/instance/module/bundle/BundleModule.sol/BundleModule.json +0 -296
  609. package/artifacts/contracts/instance/module/bundle/IBundle.sol/IBundle.dbg.json +0 -4
  610. package/artifacts/contracts/instance/module/bundle/IBundle.sol/IBundleModule.dbg.json +0 -4
  611. package/artifacts/contracts/instance/module/bundle/IBundle.sol/IBundleModule.json +0 -296
  612. package/artifacts/contracts/instance/module/compensation/CompensationModule.sol/CompensationModule.dbg.json +0 -4
  613. package/artifacts/contracts/instance/module/compensation/CompensationModule.sol/CompensationModule.json +0 -10
  614. package/artifacts/contracts/instance/module/compensation/ICompensation.sol/ICompensation.dbg.json +0 -4
  615. package/artifacts/contracts/instance/module/compensation/ICompensation.sol/ICompensation.json +0 -10
  616. package/artifacts/contracts/instance/module/compensation/ICompensation.sol/ICompensationModule.dbg.json +0 -4
  617. package/artifacts/contracts/instance/module/compensation/ICompensation.sol/ICompensationModule.json +0 -10
  618. package/artifacts/contracts/instance/module/component/ComponentModule.sol/ComponentModule.dbg.json +0 -4
  619. package/artifacts/contracts/instance/module/component/ComponentModule.sol/ComponentModule.json +0 -188
  620. package/artifacts/contracts/instance/module/component/IComponent.sol/IComponent.dbg.json +0 -4
  621. package/artifacts/contracts/instance/module/component/IComponent.sol/IComponent.json +0 -10
  622. package/artifacts/contracts/instance/module/component/IComponent.sol/IComponentModule.dbg.json +0 -4
  623. package/artifacts/contracts/instance/module/component/IComponent.sol/IComponentModule.json +0 -188
  624. package/artifacts/contracts/instance/module/policy/IPolicy.sol/IPolicy.dbg.json +0 -4
  625. package/artifacts/contracts/instance/module/policy/IPolicy.sol/IPolicyModule.dbg.json +0 -4
  626. package/artifacts/contracts/instance/module/policy/IPolicy.sol/IPolicyModule.json +0 -261
  627. package/artifacts/contracts/instance/module/policy/PolicyModule.sol/PolicyModule.dbg.json +0 -4
  628. package/artifacts/contracts/instance/module/policy/PolicyModule.sol/PolicyModule.json +0 -261
  629. package/artifacts/contracts/instance/module/pool/IPoolModule.sol/IPool.dbg.json +0 -4
  630. package/artifacts/contracts/instance/module/pool/IPoolModule.sol/IPool.json +0 -10
  631. package/artifacts/contracts/instance/module/pool/IPoolModule.sol/IPoolModule.dbg.json +0 -4
  632. package/artifacts/contracts/instance/module/pool/IPoolModule.sol/IPoolModule.json +0 -149
  633. package/artifacts/contracts/instance/module/pool/PoolModule.sol/PoolModule.dbg.json +0 -4
  634. package/artifacts/contracts/instance/module/pool/PoolModule.sol/PoolModule.json +0 -149
  635. package/artifacts/contracts/instance/module/risk/IRisk.sol/IRisk.dbg.json +0 -4
  636. package/artifacts/contracts/instance/module/risk/IRisk.sol/IRiskModule.dbg.json +0 -4
  637. package/artifacts/contracts/instance/module/risk/IRisk.sol/IRiskModule.json +0 -10
  638. package/artifacts/contracts/instance/module/risk/RiskModule.sol/RiskModule.dbg.json +0 -4
  639. package/artifacts/contracts/instance/module/risk/RiskModule.sol/RiskModule.json +0 -10
  640. package/artifacts/contracts/instance/module/treasury/ITreasury.sol/ITreasury.dbg.json +0 -4
  641. package/artifacts/contracts/instance/module/treasury/ITreasury.sol/ITreasury.json +0 -10
  642. package/artifacts/contracts/instance/module/treasury/ITreasury.sol/ITreasuryModule.dbg.json +0 -4
  643. package/artifacts/contracts/instance/module/treasury/ITreasury.sol/ITreasuryModule.json +0 -533
  644. package/artifacts/contracts/instance/module/treasury/TokenHandler.sol/TokenHandler.dbg.json +0 -4
  645. package/artifacts/contracts/instance/module/treasury/TokenHandler.sol/TokenHandler.json +0 -76
  646. package/artifacts/contracts/instance/module/treasury/TreasuryModule.sol/TreasuryModule.dbg.json +0 -4
  647. package/artifacts/contracts/instance/module/treasury/TreasuryModule.sol/TreasuryModule.json +0 -533
  648. package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.dbg.json +0 -4
  649. package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.json +0 -523
  650. package/artifacts/contracts/instance/service/IComponentOwnerService.sol/IComponentOwnerService.dbg.json +0 -4
  651. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.dbg.json +0 -4
  652. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.dbg.json +0 -4
  653. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.dbg.json +0 -4
  654. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.json +0 -471
  655. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.dbg.json +0 -4
  656. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.json +0 -673
  657. package/artifacts/contracts/registry/IChainNft.sol/IChainNft.dbg.json +0 -4
  658. package/artifacts/contracts/registry/IChainNft.sol/IChainNft.json +0 -452
  659. package/artifacts/contracts/registry/IRegistryLinked.sol/IRegistryLinked.dbg.json +0 -4
  660. package/artifacts/contracts/shared/ERC165.sol/ERC165.dbg.json +0 -4
  661. package/artifacts/contracts/shared/ERC165.sol/ERC165.json +0 -35
  662. package/artifacts/contracts/shared/IOwnable.sol/IOwnable.dbg.json +0 -4
  663. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.dbg.json +0 -4
  664. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.json +0 -164
  665. package/artifacts/contracts/shared/Versionable.sol/Versionable.dbg.json +0 -4
  666. package/artifacts/contracts/shared/Versionable.sol/Versionable.json +0 -164
  667. package/artifacts/contracts/test/TestFee.sol/TestFee.dbg.json +0 -4
  668. package/artifacts/contracts/test/TestFee.sol/TestFee.json +0 -119
  669. package/artifacts/contracts/test/TestPool.sol/TestPool.dbg.json +0 -4
  670. package/artifacts/contracts/test/TestPool.sol/TestPool.json +0 -387
  671. package/artifacts/contracts/test/TestProduct.sol/TestProduct.dbg.json +0 -4
  672. package/artifacts/contracts/test/TestProduct.sol/TestProduct.json +0 -393
  673. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.dbg.json +0 -4
  674. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.json +0 -137
  675. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.dbg.json +0 -4
  676. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.json +0 -116
  677. package/artifacts/contracts/test/TestService.sol/TestService.dbg.json +0 -4
  678. package/artifacts/contracts/test/TestService.sol/TestService.json +0 -379
  679. package/artifacts/contracts/test/TestToken.sol/TestUsdc.dbg.json +0 -4
  680. package/artifacts/contracts/test/TestToken.sol/TestUsdc.json +0 -338
  681. package/artifacts/contracts/test/TestVersion.sol/TestVersion.dbg.json +0 -4
  682. package/artifacts/contracts/test/TestVersion.sol/TestVersion.json +0 -218
  683. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.dbg.json +0 -4
  684. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.json +0 -206
  685. package/artifacts/contracts/test/Usdc.sol/USDC.dbg.json +0 -4
  686. package/artifacts/contracts/test/Usdc.sol/USDC.json +0 -338
  687. package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.dbg.json +0 -4
  688. package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.json +0 -10
  689. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.dbg.json +0 -4
  690. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.json +0 -174
  691. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.dbg.json +0 -4
  692. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.json +0 -10
  693. package/artifacts/contracts/types/Fee.sol/FeeLib.dbg.json +0 -4
  694. package/artifacts/contracts/types/Fee.sol/FeeLib.json +0 -218
  695. package/artifacts/contracts/types/Key32.sol/Key32Lib.dbg.json +0 -4
  696. package/artifacts/contracts/types/Key32.sol/Key32Lib.json +0 -111
  697. package/artifacts/contracts/types/NftId.sol/NftIdLib.dbg.json +0 -4
  698. package/artifacts/contracts/types/NftId.sol/NftIdLib.json +0 -153
  699. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.dbg.json +0 -4
  700. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.json +0 -10
  701. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.dbg.json +0 -4
  702. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.json +0 -92
  703. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.dbg.json +0 -4
  704. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.json +0 -30
  705. package/artifacts/contracts/types/StateId.sol/StateIdLib.dbg.json +0 -4
  706. package/artifacts/contracts/types/StateId.sol/StateIdLib.json +0 -92
  707. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.dbg.json +0 -4
  708. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.json +0 -236
  709. package/artifacts/contracts/types/UFixed.sol/UFixedMathLib.dbg.json +0 -4
  710. package/artifacts/contracts/types/UFixed.sol/UFixedMathLib.json +0 -479
  711. package/artifacts/contracts/types/Version.sol/VersionLib.dbg.json +0 -4
  712. package/artifacts/contracts/types/Version.sol/VersionLib.json +0 -139
  713. package/artifacts/contracts/types/Version.sol/VersionPartLib.dbg.json +0 -4
  714. package/artifacts/contracts/types/Version.sol/VersionPartLib.json +0 -30
  715. package/contracts/components/BaseComponent.sol +0 -88
  716. package/contracts/components/IBaseComponent.sol +0 -19
  717. package/contracts/components/IPoolComponent.sol +0 -57
  718. package/contracts/components/IProductComponent.sol +0 -19
  719. package/contracts/components/Pool.sol +0 -174
  720. package/contracts/components/Product.sol +0 -117
  721. package/contracts/experiment/errors/Require.sol +0 -38
  722. package/contracts/experiment/errors/Revert.sol +0 -44
  723. package/contracts/experiment/inheritance/A.sol +0 -53
  724. package/contracts/experiment/inheritance/B.sol +0 -28
  725. package/contracts/experiment/inheritance/C.sol +0 -34
  726. package/contracts/experiment/inheritance/IA.sol +0 -13
  727. package/contracts/experiment/inheritance/IB.sol +0 -10
  728. package/contracts/experiment/inheritance/IC.sol +0 -12
  729. package/contracts/experiment/statemachine/Dummy.sol +0 -27
  730. package/contracts/experiment/statemachine/ISM.sol +0 -25
  731. package/contracts/experiment/statemachine/README.md +0 -112
  732. package/contracts/experiment/statemachine/SM.sol +0 -57
  733. package/contracts/experiment/statemachine/SimpleStateMachine.sol +0 -31
  734. package/contracts/experiment/types/TypeA.sol +0 -47
  735. package/contracts/experiment/types/TypeB.sol +0 -29
  736. package/contracts/instance/IInstanceLinked.sol +0 -8
  737. package/contracts/instance/base/ComponentServiceBase.sol +0 -42
  738. package/contracts/instance/base/IInstanceBase.sol +0 -14
  739. package/contracts/instance/base/IKeyValueStore.sol +0 -49
  740. package/contracts/instance/base/IService.sol +0 -15
  741. package/contracts/instance/base/InstanceBase.sol +0 -80
  742. package/contracts/instance/base/KeyValueStore.sol +0 -156
  743. package/contracts/instance/base/Lifecycle.sol +0 -95
  744. package/contracts/instance/base/ModuleBase.sol +0 -52
  745. package/contracts/instance/base/ServiceBase.sol +0 -37
  746. package/contracts/instance/module/access/Access.sol +0 -149
  747. package/contracts/instance/module/access/IAccess.sol +0 -53
  748. package/contracts/instance/module/bundle/BundleModule.sol +0 -136
  749. package/contracts/instance/module/bundle/IBundle.sol +0 -58
  750. package/contracts/instance/module/compensation/CompensationModule.sol +0 -8
  751. package/contracts/instance/module/compensation/ICompensation.sol +0 -10
  752. package/contracts/instance/module/component/ComponentModule.sol +0 -95
  753. package/contracts/instance/module/component/IComponent.sol +0 -53
  754. package/contracts/instance/module/policy/IPolicy.sol +0 -60
  755. package/contracts/instance/module/policy/PolicyModule.sol +0 -76
  756. package/contracts/instance/module/pool/IPoolModule.sol +0 -41
  757. package/contracts/instance/module/pool/PoolModule.sol +0 -87
  758. package/contracts/instance/module/risk/IRisk.sol +0 -10
  759. package/contracts/instance/module/risk/RiskModule.sol +0 -8
  760. package/contracts/instance/module/treasury/ITreasury.sol +0 -103
  761. package/contracts/instance/module/treasury/TokenHandler.sol +0 -48
  762. package/contracts/instance/module/treasury/TreasuryModule.sol +0 -152
  763. package/contracts/instance/service/ComponentOwnerService.sol +0 -170
  764. package/contracts/instance/service/IComponentOwnerService.sol +0 -22
  765. package/contracts/instance/service/IPoolService.sol +0 -30
  766. package/contracts/instance/service/IProductService.sol +0 -58
  767. package/contracts/instance/service/PoolService.sol +0 -123
  768. package/contracts/instance/service/ProductService.sol +0 -354
  769. package/contracts/registry/IChainNft.sol +0 -21
  770. package/contracts/registry/IRegistryLinked.sol +0 -8
  771. package/contracts/shared/ERC165.sol +0 -21
  772. package/contracts/shared/IOwnable.sol +0 -6
  773. package/contracts/shared/IVersionable.sol +0 -52
  774. package/contracts/shared/Versionable.sol +0 -89
  775. package/contracts/test/TestFee.sol +0 -25
  776. package/contracts/test/TestPool.sol +0 -22
  777. package/contracts/test/TestProduct.sol +0 -44
  778. package/contracts/test/TestRegisterable.sol +0 -19
  779. package/contracts/test/TestRoleId.sol +0 -14
  780. package/contracts/test/TestService.sol +0 -32
  781. package/contracts/test/TestToken.sol +0 -26
  782. package/contracts/test/TestVersion.sol +0 -44
  783. package/contracts/test/TestVersionable.sol +0 -17
  784. package/contracts/types/ChainId.sol +0 -38
  785. package/contracts/types/Fee.sol +0 -51
  786. package/contracts/types/NftIdSet.sol +0 -60
  787. package/contracts/types/ObjectType.sol +0 -115
  788. package/contracts/types/RoleId.sol +0 -38
  789. package/contracts/types/Version.sol +0 -95
@@ -0,0 +1,1612 @@
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": "bool",
27
+ "name": "isInterceptingBundleTransfers",
28
+ "type": "bool"
29
+ },
30
+ {
31
+ "internalType": "bool",
32
+ "name": "isProcessingConfirmedClaims",
33
+ "type": "bool"
34
+ },
35
+ {
36
+ "internalType": "bool",
37
+ "name": "isExternallyManaged",
38
+ "type": "bool"
39
+ },
40
+ {
41
+ "internalType": "bool",
42
+ "name": "isVerifyingApplications",
43
+ "type": "bool"
44
+ },
45
+ {
46
+ "internalType": "UFixed",
47
+ "name": "collateralizationLevel",
48
+ "type": "uint128"
49
+ },
50
+ {
51
+ "internalType": "UFixed",
52
+ "name": "retentionLevel",
53
+ "type": "uint128"
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": "uint128"
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": "bool",
844
+ "name": "isInterceptingBundleTransfers",
845
+ "type": "bool"
846
+ },
847
+ {
848
+ "internalType": "bool",
849
+ "name": "isProcessingConfirmedClaims",
850
+ "type": "bool"
851
+ },
852
+ {
853
+ "internalType": "bool",
854
+ "name": "isExternallyManaged",
855
+ "type": "bool"
856
+ },
857
+ {
858
+ "internalType": "bool",
859
+ "name": "isVerifyingApplications",
860
+ "type": "bool"
861
+ },
862
+ {
863
+ "internalType": "UFixed",
864
+ "name": "collateralizationLevel",
865
+ "type": "uint128"
866
+ },
867
+ {
868
+ "internalType": "UFixed",
869
+ "name": "retentionLevel",
870
+ "type": "uint128"
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": "bool",
1032
+ "name": "isInterceptingBundleTransfers",
1033
+ "type": "bool"
1034
+ },
1035
+ {
1036
+ "internalType": "bool",
1037
+ "name": "isProcessingConfirmedClaims",
1038
+ "type": "bool"
1039
+ },
1040
+ {
1041
+ "internalType": "bool",
1042
+ "name": "isExternallyManaged",
1043
+ "type": "bool"
1044
+ },
1045
+ {
1046
+ "internalType": "bool",
1047
+ "name": "isVerifyingApplications",
1048
+ "type": "bool"
1049
+ },
1050
+ {
1051
+ "internalType": "UFixed",
1052
+ "name": "collateralizationLevel",
1053
+ "type": "uint128"
1054
+ },
1055
+ {
1056
+ "internalType": "UFixed",
1057
+ "name": "retentionLevel",
1058
+ "type": "uint128"
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": "uint128"
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": "uint128"
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": "uint128"
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": "uint128"
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": "0x608060405234801561000f575f80fd5b50604051615afc380380615afc83398101604081905261002e91610dd2565b61003b8585858585610045565b50505050506111db565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00805468010000000000000000810460ff1615906001600160401b03165f8115801561008e5750825b90505f826001600160401b031660011480156100a95750303b155b9050811580156100b7575080155b156100d55760405163f92ee8a960e01b815260040160405180910390fd5b84546001600160401b0319166001178555831561010357845460ff60401b1916680100000000000000001785555b6101398a8a6040518060400160405280600a81526020016914da5b5c1b19541bdbdb60b21b8152508b8b8b61018b60201b60201c565b831561017f57845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50505050505050505050565b6101936101be565b6101b686868686868660405180602001604052805f81525061020e60201b60201c565b505050505050565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a005468010000000000000000900460ff1661020c57604051631afcd79f60e31b815260040160405180910390fd5b565b6102166101be565b61022c878787600f6020890151889088886103da565b83517f25e3e51823fbfffb988e0a2744bb93722d9f3e906c07cc0a9e77884c46c58300805460208701516040880151606089015160808a015160a08b01516001600160801b03908116600160801b02911515600160781b0281166001600160781b03931515600160701b0260ff60701b19951515600160681b029590951661ffff60681b199615156c01000000000000000000000000026001600160681b03199098166001600160601b03909a169990991796909617949094169690961791909117169190911792909217815560c08601517f25e3e51823fbfffb988e0a2744bb93722d9f3e906c07cc0a9e77884c46c583018054919093166001600160801b031990911617909155610344600f61060e565b61060e565b6003820180546001600160a01b0319166001600160a01b039290921691909117905561037161033f601690565b6004820180546001600160a01b0319166001600160a01b039290921691909117905561039e61033f600b90565b6002820180546001600160a01b0319166001600160a01b03929092169190911790556103d0635a48579360e11b6106a5565b5050505050505050565b6103e26101be565b5f6103ee8989886106d8565b90505f7fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f0060405163bf8e179760e01b81526001600160601b03841660048201529091506001600160a01b038b169063bf8e179790602401602060405180830381865afa158015610460573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906104849190610ec1565b81546001600160a01b0319166001600160a01b039190911690811782556040805163bf7e214f60e01b81529051610523929163bf7e214f9160048083019260209291908290030181865afa1580156104de573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906105029190610ec1565b8b8b8b8b8a8a60405180602001604052805f8152508b61078360201b60201c565b8054604080516302cd307160e01b815290516001600160a01b03909216916302cd3071916004808201926020929091908290030181865afa15801561056a573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061058e9190610ec1565b6001820180546001600160a01b03199081166001600160a01b03938416179091556002830180549091169188169190911790556105cc61033f600b90565b6003820180546001600160a01b0319166001600160a01b03929092169190911790556105fe634a531f3360e01b6106a5565b61017f63a9c1bc6f60e01b6106a5565b5f6106216001546001600160a01b031690565b6001600160a01b031663d39e604383610638610853565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa15801561067b573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061069f9190610ec1565b92915050565b6106ad6101be565b6106d5816001600160e01b0319165f908152602081905260409020805460ff19166001179055565b50565b5f60ff8216600c036106f9576106f08484600a6108e9565b5082905061077c565b5f6107068585600c6108e9565b60405163677d3feb60e11b81526001600160601b03861660048201529091506001600160a01b0382169063cefa7fd690602401602060405180830381865afa158015610754573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906107789190610edc565b9150505b9392505050565b61078b6101be565b85515f036107ac5760405163591eebf360e11b815260040160405180910390fd5b6107bb898989888888886109b3565b7fffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f00806107e78882610f7b565b5060018101805460ff1916861515179055600281016108068382610f7b565b50610811600b61060e565b6003820180546001600160a01b0319166001600160a01b0392909216919091179055610843634a531f3360e01b6106a5565b61017f6306e9e5ff60e31b6106a5565b5f6108857ff3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00546001600160a01b031690565b6001600160a01b03166376b707b76040518163ffffffff1660e01b8152600401602060405180830381865afa1580156108c0573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906108e4919061104e565b905090565b6040516305247a1760e51b81526001600160601b038316600482015283905f906001600160a01b0383169063a48f42e0906024015f60405180830381865afa158015610937573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f1916820160405261095e91908101906110f2565b905061097581604001518460ff9081169116141590565b156109ab57604080820151905163b0c1f6eb60e01b815260ff808616600483015290911660248201526044015b60405180910390fd5b509392505050565b6109bb6101be565b604051632330f24760e01b81526001600160a01b038816600482015273__$fb599632d08395912d9d70eb2f0f93b5e2$__90632330f24790602401602060405180830381865af4158015610a11573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610a3591906111c2565b610a5d5760405163cf6935e560e01b81526001600160a01b03881660048201526024016109a2565b610a6687610af3565b610a708683610b04565b5f7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166001600160681b0319909116176c0100000000000000000000000060ff8816021760ff60681b1916600160681b86151502178155905060018101610ae28382610f7b565b506103d0634a531f3360e01b6106a5565b610afb6101be565b6106d581610b96565b610b0c6101be565b610b14610ba7565b610b1d82610bef565b6001600160a01b038116610b445760405163f17ef42d60e01b815260040160405180910390fd5b7f07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f0080546001600160601b03166c010000000000000000000000006001600160a01b039093169290920291909117905550565b610b9e6101be565b6106d581610cbb565b610baf6101be565b61020c6301ffc9a760e01b5f9081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b610bf76101be565b604051633334d16b60e01b81526001600160a01b038216600482015273__$fb599632d08395912d9d70eb2f0f93b5e2$__90633334d16b90602401602060405180830381865af4158015610c4d573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610c7191906111c2565b610c995760405163fdeac91f60e01b81526001600160a01b03821660048201526024016109a2565b600180546001600160a01b0319166001600160a01b0392909216919091179055565b7ff3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a0080546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b6001600160a01b03811681146106d5575f80fd5b8051610d4d81610d2e565b919050565b6001600160601b03811681146106d5575f80fd5b8051610d4d81610d52565b634e487b7160e01b5f52604160045260245ffd5b60405160e081016001600160401b0381118282101715610da757610da7610d71565b60405290565b80518015158114610d4d575f80fd5b80516001600160801b0381168114610d4d575f80fd5b5f805f805f858703610160811215610de8575f80fd5b8651610df381610d2e565b6020880151909650610e0481610d52565b945060e0603f1982011215610e17575f80fd5b50610e20610d85565b6040870151610e2e81610d52565b8152610e3c60608801610dad565b6020820152610e4d60808801610dad565b6040820152610e5e60a08801610dad565b6060820152610e6f60c08801610dad565b6080820152610e8060e08801610dbc565b60a0820152610e926101008801610dbc565b60c08201529250610ea66101208701610d42565b9150610eb56101408701610d42565b90509295509295909350565b5f60208284031215610ed1575f80fd5b815161077c81610d2e565b5f60208284031215610eec575f80fd5b815161077c81610d52565b600181811c90821680610f0b57607f821691505b602082108103610f2957634e487b7160e01b5f52602260045260245ffd5b50919050565b601f821115610f7657805f5260205f20601f840160051c81016020851015610f545750805b601f840160051c820191505b81811015610f73575f8155600101610f60565b50505b505050565b81516001600160401b03811115610f9457610f94610d71565b610fa881610fa28454610ef7565b84610f2f565b6020601f821160018114610fda575f8315610fc35750848201515b5f19600385901b1c1916600184901b178455610f73565b5f84815260208120601f198516915b828110156110095787850151825560209485019460019092019101610fe9565b508482101561102657868401515f19600387901b60f8161c191681555b50505050600190811b01905550565b60ff811681146106d5575f80fd5b8051610d4d81611035565b5f6020828403121561105e575f80fd5b815161077c81611035565b5f82601f830112611078575f80fd5b81516001600160401b0381111561109157611091610d71565b604051601f8201601f19908116603f011681016001600160401b03811182821017156110bf576110bf610d71565b6040528181528382016020018510156110d6575f80fd5b8160208501602083015e5f918101602001919091529392505050565b5f60208284031215611102575f80fd5b81516001600160401b03811115611117575f80fd5b820160e08185031215611128575f80fd5b611130610d85565b61113982610d66565b815261114760208301610d66565b602082015261115860408301611043565b604082015261116960608301610dad565b606082015261117a60808301610d42565b608082015261118b60a08301610d42565b60a082015260c08201516001600160401b038111156111a8575f80fd5b6111b486828501611069565b60c083015250949350505050565b5f602082840312156111d2575f80fd5b61077c82610dad565b614914806111e85f395ff3fe608060405234801561000f575f80fd5b50600436106102e5575f3560e01c80636a75e98411610195578063ad12ad60116100e4578063d0d63b091161009e578063ea15869f11610079578063ea15869f146107b7578063ee378463146107de578063f3d0e5d2146107f1578063fde0a3cd1461081a575f80fd5b8063d0d63b0914610774578063de7b5d1414610787578063deaa59df146107a4575f80fd5b8063ad12ad6014610717578063ada9652e1461072a578063b423086c1461073e578063bca99e3914610746578063bf7e214f14610759578063c398c95114610761575f80fd5b806385ba83441161014f5780638fb360371161012a5780638fb36037146106bb57806390edbd35146106dc578063912391b3146106f157806392f37d7814610704575f80fd5b806385ba8344146105c5578063893d20e8146106a05780638e4a508e146106a8575f80fd5b80636a75e984146105105780636bd1c0eb146105425780636c1e9dff146105725780636f10e8a01461058557806376b707b7146105985780637a9e5e4b146105b2575f80fd5b8063223668441161025157806343d752d31161020b5780635741e5e9116101e65780635741e5e9146104c75780635ab1bd53146104cf5780635e1767ea146104e0578063644c45e0146104f3575f80fd5b806343d752d3146104995780634deed579146104a157806354e50779146104b4575f80fd5b8063223668441461043c57806322f3e2d41461044457806326889b091461044c5780632eb3e6f41461045f578063329c71c014610473578063419197fe14610486575f80fd5b806317d7de7c116102a257806317d7de7c146103bd5780631c6b2190146103d25780631e5dd070146103e55780631eff4b22146103fa578063211e28b61461042157806321df0da714610434575f80fd5b806301ffc9a7146102e95780630d8e6e2c1461032a5780630fec111c146103465780630ffeecca1461035b578063132996041461037d578063138461e01461039d575b5f80fd5b6103156102f736600461372b565b6001600160e01b0319165f9081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b61033261082d565b60405162ffffff9091168152602001610321565b61034e6108b4565b6040516103219190613780565b61036f5f8051602061485f83398151915281565b604051908152602001610321565b610385610a6e565b6040516001600160a01b039091168152602001610321565b6103a5610ad6565b6040516001600160601b039091168152602001610321565b6103c5610ae0565b6040516103219190613814565b6103a56103e036600461383a565b610af0565b6103f86103f33660046139a9565b610b4e565b005b61036f7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b6103f861042f3660046139f5565b610c2e565b610385610c75565b610315610cb9565b610315610daf565b6103f861045a366004613a10565b610e26565b61036f5f8051602061489f83398151915281565b6103f861048136600461383a565b610f07565b6103f8610494366004613a5b565b610f10565b610385610f62565b6103f86104af366004613a77565b610f74565b6103a56104c2366004613a10565b611130565b610315611214565b6001546001600160a01b0316610385565b61036f6104ee366004613b37565b6112ca565b5f8051602061481f833981519152546001600160601b03166103a5565b61052361051e366004613b7a565b611313565b604080516001600160601b039093168352602083019190915201610321565b7fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f02546001600160a01b0316610385565b6103f8610580366004613a10565b611469565b6103f861059336600461383a565b611542565b6105a0611620565b60405160ff9091168152602001610321565b6103f86105c0366004613c1b565b611688565b6106936040805160e0810182525f80825260208201819052918101829052606081018290526080810182905260a0810182905260c08101919091525f8051602061485f8339815191526040805160e08101825282546001600160601b038116825260ff600160601b8204811615156020840152600160681b82048116151593830193909352600160701b8104831615156060830152600160781b8104909216151560808201526001600160801b03600160801b909204821660a08201526001909201541660c0820152919050565b6040516103219190613c36565b61038561170a565b6103f86106b636600461383a565b61183b565b6106c3611844565b6040516001600160e01b03199091168152602001610321565b6106e4611879565b6040516103219190613cb6565b6103f86106ff366004613d04565b61189e565b610315610712366004613df8565b6119d5565b6103f8610725366004613e93565b611a00565b61036f5f8051602061481f83398151915281565b6106e4611aa2565b6103f861075436600461383a565b611ab2565b610385611aff565b6103f861076f366004613ee3565b611b1a565b6103f861078236600461383a565b611b6e565b5f8051602061489f833981519152546001600160a01b0316610385565b6103f86107b2366004613c1b565b611c46565b61036f7fffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f0081565b6103f86107ec366004613f35565b611c93565b6108046107ff366004613f62565b611ca9565b60405164ffffffffff9091168152602001610321565b6103f861082836600461383a565b611d83565b604051632efe011360e01b8152600160048201525f60248201819052604482018190529073__$8eede297b65ed5a56eb3f84d8232ae93f5$__90632efe011390606401602060405180830381865af415801561088b573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906108af9190613f8e565b905090565b6040805160e0810182525f8082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820152907f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e0016040528073__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015610960573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906109849190613fbb565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a0016109cc61170a565b6001600160a01b031681526020018260010180546109e990613fd6565b80601f0160208091040260200160405190810160405280929190818152602001828054610a1590613fd6565b8015610a605780601f10610a3757610100808354040283529160200191610a60565b820191905f5260205f20905b815481529060010190602001808311610a4357829003601f168201915b505050505081525091505090565b5f610a77610f62565b6001600160a01b031663132996046040518163ffffffff1660e01b8152600401602060405180830381865afa158015610ab2573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906108af9190614019565b5f6108af30611e5b565b6060610aea611879565b51919050565b5f610afd335b5f36612054565b610b0561170a565b6001600160a01b0316336001600160a01b031614610b3d5760405163086391f760e31b81523360048201526024015b60405180910390fd5b610b468261214a565b90505b919050565b610b5733610af6565b81610b6a6001546001600160a01b031690565b604051631c5da14d60e11b81526001600160601b03831660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015610bb7573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610bdb9190614019565b6001600160a01b0316336001600160a01b031614610c10578033604051636efdd32b60e11b8152600401610b34929190614034565b826016610c1d82826121ce565b610c278585612285565b5050505050565b610c3661170a565b6001600160a01b0316336001600160a01b031614610c695760405163086391f760e31b8152336004820152602401610b34565b610c72816122ec565b50565b5f610c7e610f62565b6001600160a01b03166382bfefc86040518163ffffffff1660e01b8152600401602060405180830381865afa158015610ab2573d5f803e3d5ffd5b5f610ccc6001546001600160a01b031690565b604051632f2a35f760e11b81523060048201526001600160a01b039190911690635e546bee90602401602060405180830381865afa158015610d10573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610d349190613fbb565b6040516330b8415f60e01b81526001600160601b03909116600482015273__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015610d8b573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906108af9190614061565b5f610db8611aff565b60405163a166aa8960e01b81523060048201526001600160a01b03919091169063a166aa8990602401602060405180830381865afa158015610dfc573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610e209190614061565b15905090565b610e2f33610af6565b81610e426001546001600160a01b031690565b604051631c5da14d60e11b81526001600160601b03831660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015610e8f573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610eb39190614019565b6001600160a01b0316336001600160a01b031614610ee8578033604051636efdd32b60e11b8152600401610b34929190614034565b826016610ef582826121ce565b610eff8585612362565b505050505050565b610c72816123f4565b610f1933610af6565b610f2161170a565b6001600160a01b0316336001600160a01b031614610f545760405163086391f760e31b8152336004820152602401610b34565b610f5e8282612438565b5050565b5f610f6b611879565b60200151905090565b610f7d33610af6565b826015610f8a82826121ce565b5f610fbc7fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f01546001600160a01b031690565b60405163bd7d9d8560e01b81526001600160601b03881660048201529091506110b79087906001600160a01b0384169063bd7d9d85906024015f60405180830381865afa15801561100f573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f1916820160405261103691908101906140fd565b60e00151604051634793b4ab60e01b81526001600160601b038916600482015288906001600160a01b03861690634793b4ab906024015f60405180830381865afa158015611086573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526110ad91908101906142c5565b60a00151886119d5565b6110df57604051636b468c9b60e01b81526001600160601b0387166004820152602401610b34565b604080513081526001600160601b03888116602083015286168183015290517fcca48a0200c526a7c48f1e770c739ef8e82d7b30e26825735858705fbcda4e079181900360600190a1505050505050565b5f61113a33610af6565b8261114d6001546001600160a01b031690565b604051631c5da14d60e11b81526001600160601b03831660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa15801561119a573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906111be9190614019565b6001600160a01b0316336001600160a01b0316146111f3578033604051636efdd32b60e11b8152600401610b34929190614034565b83601661120082826121ce565b61120a8686612498565b9695505050505050565b5f61121d610cb9565b156112a1576001546001600160a01b03166040516308b09a5f60e41b81523060048201526001600160a01b039190911690638b09a5f0906024015f60405180830381865afa158015611271573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f1916820160405261129891908101906143a2565b60600151905090565b507fffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f015460ff1690565b805160208201205f9060ff19906112e390600190614472565b6040516020016112f591815260200190565b60405160208183030381529060405280519060200120169050919050565b5f805f3390505f61135b828a8989898080601f0160208091040260200160405190810160405280939291908181526020018383808284375f920191909152506124e592505050565b93506113de8473__$3bac17678db7ae928afa209f2f44deec9c$__634c41dd968b6040518263ffffffff1660e01b815260040161139a91815260200190565b602060405180830381865af41580156113b5573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906113d99190613fbb565b61256e565b60405163046e44af60e11b81526001600160601b038216600482015290915073__$3bac17678db7ae928afa209f2f44deec9c$__906308dc895e90602401602060405180830381865af4158015611437573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061145b9190614491565b925050509550959350505050565b61147233610af6565b816114856001546001600160a01b031690565b604051631c5da14d60e11b81526001600160601b03831660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa1580156114d2573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906114f69190614019565b6001600160a01b0316336001600160a01b03161461152b578033604051636efdd32b60e11b8152600401610b34929190614034565b82601661153882826121ce565b610eff858561256e565b61154b33610af6565b8061155e6001546001600160a01b031690565b604051631c5da14d60e11b81526001600160601b03831660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa1580156115ab573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906115cf9190614019565b6001600160a01b0316336001600160a01b031614611604578033604051636efdd32b60e11b8152600401610b34929190614034565b81601661161182826121ce565b61161a846125bb565b50505050565b5f611629611aff565b6001600160a01b03166376b707b76040518163ffffffff1660e01b8152600401602060405180830381865afa158015611664573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906108af91906144a8565b33611691611aff565b6001600160a01b0316816001600160a01b0316146116cc5760405162d1953b60e31b81526001600160a01b0382166004820152602401610b34565b816001600160a01b03163b5f03611701576040516361798f2f60e11b81526001600160a01b0383166004820152602401610b34565b610f5e82612600565b5f805f8051602061481f83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015611776573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061179a9190614061565b15611825576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa1580156117fb573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061181f9190614019565b91505090565b54600160601b90046001600160a01b0316919050565b610c7281612660565b5f8051602061483f83398151915280545f9190600160a01b900460ff1661186b575f61181f565b638fb3603760e01b91505090565b611881613702565b611889610cb9565b15611896576108af6126a5565b6108af611aa2565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a008054600160401b810460ff1615906001600160401b03165f811580156118e25750825b90505f826001600160401b031660011480156118fd5750303b155b90508115801561190b575080155b156119295760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561195357845460ff60401b1916600160401b1785555b6119838a8a6040518060400160405280600a81526020016914da5b5c1b19541bdbdb60b21b8152508b8b8b61288b565b83156119c957845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50505050505050505050565b5f8560156119e382826121ce565b8560166119f082826121ce565b5060019998505050505050505050565b6001546001600160a01b03166001600160a01b031663120726c36040518163ffffffff1660e01b8152600401602060405180830381865afa158015611a47573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611a6b9190614019565b6001600160a01b0316336001600160a01b031614611a9d5760405162f0630960e01b8152336004820152602401610b34565b61161a565b611aaa613702565b6108af6126a5565b611abb33610af6565b611ac361170a565b6001600160a01b0316336001600160a01b031614611af65760405163086391f760e31b8152336004820152602401610b34565b610c72816128b0565b5f8051602061483f833981519152546001600160a01b031690565b611b2333610af6565b611b2b61170a565b6001600160a01b0316336001600160a01b031614611b5e5760405163086391f760e31b8152336004820152602401610b34565b611b698383836128f5565b505050565b611b7733610af6565b80611b8a6001546001600160a01b031690565b604051631c5da14d60e11b81526001600160601b03831660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015611bd7573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611bfb9190614019565b6001600160a01b0316336001600160a01b031614611c30578033604051636efdd32b60e11b8152600401610b34929190614034565b816016611c3d82826121ce565b61161a8461297a565b611c4f33610af6565b611c5761170a565b6001600160a01b0316336001600160a01b031614611c8a5760405163086391f760e31b8152336004820152602401610b34565b610c72816129bf565b611c9c33610af6565b826015610c2782826121ce565b5f611cb333610af6565b82611cc66001546001600160a01b031690565b604051631c5da14d60e11b81526001600160601b03831660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015611d13573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611d379190614019565b6001600160a01b0316336001600160a01b031614611d6c578033604051636efdd32b60e11b8152600401610b34929190614034565b836016611d7982826121ce565b61120a8686612a34565b611d8c33610af6565b80611d9f6001546001600160a01b031690565b604051631c5da14d60e11b81526001600160601b03831660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015611dec573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611e109190614019565b6001600160a01b0316336001600160a01b031614611e45578033604051636efdd32b60e11b8152600401610b34929190614034565b816016611e5282826121ce565b61161a84612ac7565b5f805f8051602061481f83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015611ec7573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611eeb9190614061565b15611f175780546040516301ab8b6760e21b81526001600160601b039091166004820152602401610b34565b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038581166004830152919091169063c3c5a54790602401602060405180830381865afa158015611f69573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611f8d9190614061565b611fb55760405163b9304b0d60e01b81526001600160a01b0384166004820152602401610b34565b6001546001600160a01b0316604051632f2a35f760e11b81526001600160a01b0385811660048301529190911690635e546bee90602401602060405180830381865afa158015612007573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061202b9190613fbb565b81546bffffffffffffffffffffffff19166001600160601b039190911690811790915592915050565b5f8051602061483f8339815191525f8061208c61206f611aff565b873061207e60045f8a8c6144c3565b612087916144ea565b612b0c565b9150915081610eff5763ffffffff81161561212757825460ff60a01b1916600160a01b1783556120ba611aff565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b81526004016120e993929190614520565b5f604051808303815f87803b158015612100575f80fd5b505af1158015612112573d5f803e3d5ffd5b5050845460ff60a01b1916855550610eff9050565b60405162d1953b60e31b81526001600160a01b0387166004820152602401610b34565b5f5f8051602061489f833981519152600301546040516301c6b21960e41b81526001600160601b03841660048201526001600160a01b0390911690631c6b2190906024016020604051808303815f875af11580156121aa573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b469190613fbb565b6001546001600160a01b0316604051635b12715d60e11b81526001600160601b038416600482015260ff831660248201526001600160a01b03919091169063b624e2ba90604401602060405180830381865afa158015612230573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906122549190614061565b610f5e5760405163d711af7560e01b81526001600160601b038316600482015260ff82166024820152604401610b34565b5f805160206148bf83398151915254604051637464dbeb60e01b81526001600160a01b0390911690637464dbeb906122c39085908590600401614580565b5f604051808303815f87803b1580156122da575f80fd5b505af1158015610eff573d5f803e3d5ffd5b7fffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f035460405163108f145b60e11b815282151560048201526001600160a01b039091169063211e28b6906024015b5f604051808303815f87803b158015612350575f80fd5b505af1158015610c27573d5f803e3d5ffd5b5f8051602061487f833981519152546040516326889b0960e01b81526001600160601b038481166004830152831660248201525f916001600160a01b0316906326889b09906044015b6020604051808303815f875af11580156123c7573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906123eb9190613fbb565b90505b92915050565b5f8051602061487f8339815191525460405162ca71c760e61b81526001600160601b03831660048201526001600160a01b039091169063329c71c090602401612339565b7fffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f03546040516320c8cbff60e11b81526001600160a01b0384811660048301526001600160601b03841660248301529091169063419197fe906044016122c3565b5f8051602061487f833981519152546040516354e5077960e01b81526001600160601b038481166004830152831660248201525f916001600160a01b0316906354e50779906044016123ab565b5f805160206148bf83398151915254604051623db28b60e11b81525f916001600160a01b031690627b65169061252590889088908890889060040161459d565b6020604051808303815f875af1158015612541573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906125659190613fbb565b95945050505050565b5f8051602061487f83398151915254604051636c1e9dff60e01b81526001600160601b038481166004830152831660248201525f916001600160a01b031690636c1e9dff906044016123ab565b5f805160206148bf833981519152546040516306fa456560e01b81526001600160601b03831660048201526001600160a01b03909116906306fa456590602401612339565b5f8051602061483f83398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b5f8051602061487f83398151915254604051634725284760e11b81526001600160601b03831660048201526001600160a01b0390911690638e4a508e90602401612339565b6126ad613702565b5f6126c06001546001600160a01b031690565b604051632f2a35f760e11b81523060048201526001600160a01b039190911690635e546bee90602401602060405180830381865afa158015612704573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906127289190613fbb565b6040516330b8415f60e01b81526001600160601b038216600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015612781573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906127a59190614061565b15612883577fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f01546001600160a01b03166001600160a01b031663f0ea17c36128015f8051602061481f833981519152546001600160601b031690565b6040516001600160e01b031960e084901b1681526001600160601b0390911660048201526024015f60405180830381865afa158015612842573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f1916820160405261286991908101906145d8565b60208101519092506001600160a01b031615612883575090565b61181f612c14565b612893612cf8565b610eff86868686868660405180602001604052805f815250612d43565b5f8051602061487f8339815191525460405163bca99e3960e01b81526001600160601b03831660048201526001600160a01b039091169063bca99e3990602401612339565b7f25e3e51823fbfffb988e0a2744bb93722d9f3e906c07cc0a9e77884c46c58302546040516376e8dc4560e11b81526001600160a01b039091169063edd1b88a9061294890869086908690600401614692565b5f604051808303815f87803b15801561295f575f80fd5b505af1158015612971573d5f803e3d5ffd5b50505050505050565b5f8051602061487f8339815191525460405163d0d63b0960e01b81526001600160601b03831660048201526001600160a01b039091169063d0d63b0990602401612339565b6129c761170a565b6001600160a01b0316336001600160a01b0316146129fa5760405163086391f760e31b8152336004820152602401610b34565b612a04600b612f02565b60405163deaa59df60e01b81526001600160a01b038381166004830152919091169063deaa59df90602401612339565b5f5f8051602061485f8339815191526004908101546040516379e872e960e11b81526001600160601b0386169281019290925264ffffffffff841660248301526001600160a01b03169063f3d0e5d2906044016020604051808303815f875af1158015612aa3573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906123eb91906146ba565b5f805160206148bf8339815191525460405163b5346af560e01b81526001600160601b03831660048201526001600160a01b039091169063b5346af590602401612339565b6040516001600160a01b03848116602483015283811660448301526001600160e01b0319831660648301525f9182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b17905251612b7a91906146d5565b5f60405180830381855afa9150503d805f8114612bb2576040519150601f19603f3d011682016040523d82523d5f602084013e612bb7565b606091505b50915091508115612c09576040815110612be95780806020019051810190612bdf91906146eb565b9094509250612c09565b6020815110612c095780806020019051810190612c069190614061565b93505b505094509492505050565b612c1c613702565b5f7fffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f0090506040518060600160405280825f018054612c5990613fd6565b80601f0160208091040260200160405190810160405280929190818152602001828054612c8590613fd6565b8015612cd05780601f10612ca757610100808354040283529160200191612cd0565b820191905f5260205f20905b815481529060010190602001808311612cb357829003601f168201915b505050505081526020015f6001600160a01b031681526020018260020180546109e990613fd6565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a0054600160401b900460ff16612d4157604051631afcd79f60e31b815260040160405180910390fd5b565b612d4b612cf8565b612d60878787600f8789602001518888612f93565b83515f8051602061485f833981519152805460208701516040880151606089015160808a015160a08b01516001600160801b03908116600160801b02911515600160781b0281166effffffffffffffffffffffffffffff931515600160701b0260ff60701b19951515600160681b029590951661ffff60681b19961515600160601b026cffffffffffffffffffffffffff199098166001600160601b03909a169990991796909617949094169690961791909117169190911792909217815560c08601517f25e3e51823fbfffb988e0a2744bb93722d9f3e906c07cc0a9e77884c46c583018054919093166fffffffffffffffffffffffffffffffff1990911617909155612e6e600f612f02565b6003820180546001600160a01b0319166001600160a01b0392909216919091179055612e9a6016612f02565b6004820180546001600160a01b0319166001600160a01b0392909216919091179055612ec6600b612f02565b6002820180546001600160a01b0319166001600160a01b0392909216919091179055612ef8635a48579360e11b6131a9565b5050505050505050565b5f612f156001546001600160a01b031690565b6001600160a01b031663d39e604383612f2c611620565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa158015612f6f573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b469190614019565b612f9b612cf8565b5f612fa78989886131d9565b90505f5f8051602061489f83398151915260405163bf8e179760e01b81526001600160601b03841660048201529091506001600160a01b038b169063bf8e179790602401602060405180830381865afa158015613006573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061302a9190614019565b81546001600160a01b0319166001600160a01b039190911690811782556040805163bf7e214f60e01b815290516130c3929163bf7e214f9160048083019260209291908290030181865afa158015613084573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906130a89190614019565b8b8b8b8b8a8a60405180602001604052805f8152508b613284565b8054604080516302cd307160e01b815290516001600160a01b03909216916302cd3071916004808201926020929091908290030181865afa15801561310a573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061312e9190614019565b6001820180546001600160a01b03199081166001600160a01b039384161790915560028301805490911691881691909117905561316b600b612f02565b6003820180546001600160a01b0319166001600160a01b039290921691909117905561319d634a531f3360e01b6131a9565b6119c963a9c1bc6f60e01b5b6131b1612cf8565b610c72816001600160e01b0319165f908152602081905260409020805460ff19166001179055565b5f60ff8216600c036131fa576131f18484600a613354565b5082905061327d565b5f6132078585600c613354565b60405163677d3feb60e11b81526001600160601b03861660048201529091506001600160a01b0382169063cefa7fd690602401602060405180830381865afa158015613255573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906132799190613fbb565b9150505b9392505050565b61328c612cf8565b85515f036132ad5760405163591eebf360e11b815260040160405180910390fd5b6132bc89898988888888613419565b7fffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f00806132e88882614764565b5060018101805460ff1916861515179055600281016133078382614764565b50613312600b612f02565b6003820180546001600160a01b0319166001600160a01b0392909216919091179055613344634a531f3360e01b6131a9565b6119c96306e9e5ff60e31b6131a9565b6040516305247a1760e51b81526001600160601b038316600482015283905f906001600160a01b0383169063a48f42e0906024015f60405180830381865afa1580156133a2573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526133c991908101906143a2565b90506133e081604001518460ff9081169116141590565b1561341157604080820151905163b0c1f6eb60e01b815260ff80861660048301529091166024820152604401610b34565b509392505050565b613421612cf8565b604051632330f24760e01b81526001600160a01b038816600482015273__$fb599632d08395912d9d70eb2f0f93b5e2$__90632330f24790602401602060405180830381865af4158015613477573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061349b9190614061565b6134c35760405163cf6935e560e01b81526001600160a01b0388166004820152602401610b34565b6134cc87613556565b6134d68683613567565b5f7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166cffffffffffffffffffffffffff1990911617600160601b60ff8816021760ff60681b1916600160681b861515021781559050600181016135458382614764565b50612ef8634a531f3360e01b6131a9565b61355e612cf8565b610c72816135dd565b61356f612cf8565b6135776135ee565b61358082613636565b6001600160a01b0381166135a75760405163f17ef42d60e01b815260040160405180910390fd5b5f8051602061481f83398151915280546001600160601b0316600160601b6001600160a01b039093169290920291909117905550565b6135e5612cf8565b610c7281612600565b6135f6612cf8565b612d416301ffc9a760e01b5f9081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b61363e612cf8565b604051633334d16b60e01b81526001600160a01b038216600482015273__$fb599632d08395912d9d70eb2f0f93b5e2$__90633334d16b90602401602060405180830381865af4158015613694573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906136b89190614061565b6136e05760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610b34565b600180546001600160a01b0319166001600160a01b0392909216919091179055565b6040518060600160405280606081526020015f6001600160a01b03168152602001606081525090565b5f6020828403121561373b575f80fd5b81356001600160e01b03198116811461327d575f80fd5b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081526001600160601b0382511660208201526001600160601b03602083015116604082015260ff60408301511660608201525f60608301516137c8608084018215159052565b5060808301516001600160a01b03811660a08401525060a08301516001600160a01b03811660c08401525060c083015160e08084015261380c610100840182613752565b949350505050565b602081525f6123eb6020830184613752565b6001600160601b0381168114610c72575f80fd5b5f6020828403121561384a575f80fd5b813561327d81613826565b634e487b7160e01b5f52604160045260245ffd5b604080519081016001600160401b038111828210171561388b5761388b613855565b60405290565b60405160e081016001600160401b038111828210171561388b5761388b613855565b60405161020081016001600160401b038111828210171561388b5761388b613855565b60405160c081016001600160401b038111828210171561388b5761388b613855565b604051606081016001600160401b038111828210171561388b5761388b613855565b604051601f8201601f191681016001600160401b038111828210171561394257613942613855565b604052919050565b6001600160801b0381168114610c72575f80fd5b8035610b498161394a565b5f60408284031215613979575f80fd5b613981613869565b9050813561398e8161394a565b8152602082013561399e81613826565b602082015292915050565b5f80606083850312156139ba575f80fd5b82356139c581613826565b91506139d48460208501613969565b90509250929050565b8015158114610c72575f80fd5b8035610b49816139dd565b5f60208284031215613a05575f80fd5b813561327d816139dd565b5f8060408385031215613a21575f80fd5b8235613a2c81613826565b91506020830135613a3c81613826565b809150509250929050565b6001600160a01b0381168114610c72575f80fd5b5f8060408385031215613a6c575f80fd5b8235613a2c81613a47565b5f805f60608486031215613a89575f80fd5b8335613a9481613826565b92506020840135613aa481613826565b91506040840135613ab481613826565b809150509250925092565b5f6001600160401b03821115613ad757613ad7613855565b50601f01601f191660200190565b5f82601f830112613af4575f80fd5b8135613b07613b0282613abf565b61391a565b818152846020838601011115613b1b575f80fd5b816020850160208301375f918101602001919091529392505050565b5f60208284031215613b47575f80fd5b81356001600160401b03811115613b5c575f80fd5b61380c84828501613ae5565b64ffffffffff81168114610c72575f80fd5b5f805f805f60a08688031215613b8e575f80fd5b613b988787613969565b9450604086013593506060860135613baf81613b68565b925060808601356001600160401b03811115613bc9575f80fd5b8601601f81018813613bd9575f80fd5b80356001600160401b03811115613bee575f80fd5b886020828401011115613bff575f80fd5b959894975092955050506020019190565b8035610b4981613a47565b5f60208284031215613c2b575f80fd5b813561327d81613a47565b5f60e0820190506001600160601b03835116825260208301511515602083015260408301511515604083015260608301511515606083015260808301511515608083015260a0830151613c9460a08401826001600160801b03169052565b5060c0830151613caf60c08401826001600160801b03169052565b5092915050565b602081525f825160606020840152613cd16080840182613752565b60208501516001600160a01b0316604085810191909152850151848203601f190160608601529091506125658282613752565b5f805f805f858703610160811215613d1a575f80fd5b8635613d2581613a47565b95506020870135613d3581613826565b945060e0603f1982011215613d48575f80fd5b50613d51613891565b6040870135613d5f81613826565b81526060870135613d6f816139dd565b60208201526080870135613d82816139dd565b604082015260a0870135613d95816139dd565b6060820152613da660c088016139ea565b6080820152613db760e0880161395e565b60a0820152613dc9610100880161395e565b60c08201529250613ddd6101208701613c10565b9150613dec6101408701613c10565b90509295509295909350565b5f805f805f60a08688031215613e0c575f80fd5b8535613e1781613826565b945060208601356001600160401b03811115613e31575f80fd5b613e3d88828901613ae5565b9450506040860135613e4e81613826565b925060608601356001600160401b03811115613e68575f80fd5b613e7488828901613ae5565b9250506080860135613e8581613826565b809150509295509295909350565b5f805f8060808587031215613ea6575f80fd5b8435613eb181613a47565b93506020850135613ec181613a47565b9250604085013591506060850135613ed881613a47565b939692955090935050565b5f805f60c08486031215613ef5575f80fd5b613eff8585613969565b9250613f0e8560408601613969565b9150613f1d8560808601613969565b90509250925092565b61ffff81168114610c72575f80fd5b5f805f60608486031215613f47575f80fd5b8335613f5281613826565b92506020840135613aa481613f26565b5f8060408385031215613f73575f80fd5b8235613f7e81613826565b91506020830135613a3c81613b68565b5f60208284031215613f9e575f80fd5b815162ffffff8116811461327d575f80fd5b8051610b4981613826565b5f60208284031215613fcb575f80fd5b815161327d81613826565b600181811c90821680613fea57607f821691505b60208210810361400857634e487b7160e01b5f52602260045260245ffd5b50919050565b8051610b4981613a47565b5f60208284031215614029575f80fd5b815161327d81613a47565b6001600160601b039290921682526001600160a01b0316602082015260400190565b8051610b49816139dd565b5f60208284031215614071575f80fd5b815161327d816139dd565b80516001600160c01b031981168114610b49575f80fd5b8051610b4981613b68565b5f6140ab613b0284613abf565b90508281528383830111156140be575f80fd5b8282602083015e5f602084830101529392505050565b5f82601f8301126140e3575f80fd5b6123eb8383516020850161409e565b8051610b4981613f26565b5f6020828403121561410d575f80fd5b81516001600160401b03811115614122575f80fd5b82016102008185031215614134575f80fd5b61413c6138b3565b61414582613fb0565b815261415360208301613fb0565b60208201526141646040830161407c565b60408201526141756060830161407c565b606082015261418660808301613fb0565b608082015261419760a08301613fb0565b60a08201526141a860c08301614093565b60c082015260e08201516001600160401b038111156141c5575f80fd5b6141d1868285016140d4565b60e0830152506101008201516001600160401b038111156141f0575f80fd5b6141fc868285016140d4565b6101008301525061421061012083016140f2565b61012082015261422361014083016140f2565b6101408201526142366101608301613fb0565b6101608201526142496101808301613fb0565b61018082015261425c6101a08301614093565b6101a082015261426f6101c08301614093565b6101c08201526142826101e08301614093565b6101e0820152949350505050565b5f604082840312156142a0575f80fd5b6142a8613869565b905081516142b58161394a565b8152602082015161399e81613826565b5f602082840312156142d5575f80fd5b81516001600160401b038111156142ea575f80fd5b820160e081850312156142fb575f80fd5b6143036138d6565b815161430e81613b68565b8152602082015161431e81613b68565b602082015261432f60408301614093565b604082015261434060608301613fb0565b60608201526143528560808401614290565b608082015260c08201516001600160401b0381111561436f575f80fd5b61437b868285016140d4565b60a083015250949350505050565b60ff81168114610c72575f80fd5b8051610b4981614389565b5f602082840312156143b2575f80fd5b81516001600160401b038111156143c7575f80fd5b820160e081850312156143d8575f80fd5b6143e0613891565b6143e982613fb0565b81526143f760208301613fb0565b602082015261440860408301614397565b604082015261441960608301614056565b606082015261442a6080830161400e565b608082015261443b60a0830161400e565b60a082015260c08201516001600160401b03811115614458575f80fd5b614464868285016140d4565b60c083015250949350505050565b818103818111156123ee57634e487b7160e01b5f52601160045260245ffd5b5f602082840312156144a1575f80fd5b5051919050565b5f602082840312156144b8575f80fd5b815161327d81614389565b5f80858511156144d1575f80fd5b838611156144dd575f80fd5b5050820193919092039150565b80356001600160e01b03198116906004841015613caf576001600160e01b031960049490940360031b84901b1690921692915050565b6001600160a01b03841681526040602082018190528101829052818360608301375f818301606090810191909152601f909201601f1916010192915050565b80516001600160801b031682526020908101516001600160601b0316910152565b6001600160601b03831681526060810161327d602083018461455f565b6001600160a01b03851681526145b6602082018561455f565b64ffffffffff8316606082015260a060808201525f61120a60a0830184613752565b5f602082840312156145e8575f80fd5b81516001600160401b038111156145fd575f80fd5b82016060818503121561460e575f80fd5b6146166138f8565b81516001600160401b0381111561462b575f80fd5b8201601f8101861361463b575f80fd5b61464a8682516020840161409e565b825250602082015161465b81613a47565b602082015260408201516001600160401b03811115614678575f80fd5b614684868285016140d4565b604083015250949350505050565b60c081016146a0828661455f565b6146ad604083018561455f565b61380c608083018461455f565b5f602082840312156146ca575f80fd5b815161327d81613b68565b5f82518060208501845e5f920191825250919050565b5f80604083850312156146fc575f80fd5b8251614707816139dd565b602084015190925063ffffffff81168114613a3c575f80fd5b601f821115611b6957805f5260205f20601f840160051c810160208510156147455750805b601f840160051c820191505b81811015610c27575f8155600101614751565b81516001600160401b0381111561477d5761477d613855565b6147918161478b8454613fd6565b84614720565b6020601f8211600181146147c3575f83156147ac5750848201515b5f19600385901b1c1916600184901b178455610c27565b5f84815260208120601f198516915b828110156147f257878501518255602094850194600190920191016147d2565b508482101561480f57868401515f19600387901b60f8161c191681555b50505050600190811b0190555056fe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a0025e3e51823fbfffb988e0a2744bb93722d9f3e906c07cc0a9e77884c46c5830025e3e51823fbfffb988e0a2744bb93722d9f3e906c07cc0a9e77884c46c58303ffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f0025e3e51823fbfffb988e0a2744bb93722d9f3e906c07cc0a9e77884c46c58304a2646970667358221220076732625063d57fc26e7a3f8861712b09a0f00af97192b943921c8eb2a407f864736f6c634300081a0033",
1487
+ "deployedBytecode": "0x608060405234801561000f575f80fd5b50600436106102e5575f3560e01c80636a75e98411610195578063ad12ad60116100e4578063d0d63b091161009e578063ea15869f11610079578063ea15869f146107b7578063ee378463146107de578063f3d0e5d2146107f1578063fde0a3cd1461081a575f80fd5b8063d0d63b0914610774578063de7b5d1414610787578063deaa59df146107a4575f80fd5b8063ad12ad6014610717578063ada9652e1461072a578063b423086c1461073e578063bca99e3914610746578063bf7e214f14610759578063c398c95114610761575f80fd5b806385ba83441161014f5780638fb360371161012a5780638fb36037146106bb57806390edbd35146106dc578063912391b3146106f157806392f37d7814610704575f80fd5b806385ba8344146105c5578063893d20e8146106a05780638e4a508e146106a8575f80fd5b80636a75e984146105105780636bd1c0eb146105425780636c1e9dff146105725780636f10e8a01461058557806376b707b7146105985780637a9e5e4b146105b2575f80fd5b8063223668441161025157806343d752d31161020b5780635741e5e9116101e65780635741e5e9146104c75780635ab1bd53146104cf5780635e1767ea146104e0578063644c45e0146104f3575f80fd5b806343d752d3146104995780634deed579146104a157806354e50779146104b4575f80fd5b8063223668441461043c57806322f3e2d41461044457806326889b091461044c5780632eb3e6f41461045f578063329c71c014610473578063419197fe14610486575f80fd5b806317d7de7c116102a257806317d7de7c146103bd5780631c6b2190146103d25780631e5dd070146103e55780631eff4b22146103fa578063211e28b61461042157806321df0da714610434575f80fd5b806301ffc9a7146102e95780630d8e6e2c1461032a5780630fec111c146103465780630ffeecca1461035b578063132996041461037d578063138461e01461039d575b5f80fd5b6103156102f736600461372b565b6001600160e01b0319165f9081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b61033261082d565b60405162ffffff9091168152602001610321565b61034e6108b4565b6040516103219190613780565b61036f5f8051602061485f83398151915281565b604051908152602001610321565b610385610a6e565b6040516001600160a01b039091168152602001610321565b6103a5610ad6565b6040516001600160601b039091168152602001610321565b6103c5610ae0565b6040516103219190613814565b6103a56103e036600461383a565b610af0565b6103f86103f33660046139a9565b610b4e565b005b61036f7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b6103f861042f3660046139f5565b610c2e565b610385610c75565b610315610cb9565b610315610daf565b6103f861045a366004613a10565b610e26565b61036f5f8051602061489f83398151915281565b6103f861048136600461383a565b610f07565b6103f8610494366004613a5b565b610f10565b610385610f62565b6103f86104af366004613a77565b610f74565b6103a56104c2366004613a10565b611130565b610315611214565b6001546001600160a01b0316610385565b61036f6104ee366004613b37565b6112ca565b5f8051602061481f833981519152546001600160601b03166103a5565b61052361051e366004613b7a565b611313565b604080516001600160601b039093168352602083019190915201610321565b7fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f02546001600160a01b0316610385565b6103f8610580366004613a10565b611469565b6103f861059336600461383a565b611542565b6105a0611620565b60405160ff9091168152602001610321565b6103f86105c0366004613c1b565b611688565b6106936040805160e0810182525f80825260208201819052918101829052606081018290526080810182905260a0810182905260c08101919091525f8051602061485f8339815191526040805160e08101825282546001600160601b038116825260ff600160601b8204811615156020840152600160681b82048116151593830193909352600160701b8104831615156060830152600160781b8104909216151560808201526001600160801b03600160801b909204821660a08201526001909201541660c0820152919050565b6040516103219190613c36565b61038561170a565b6103f86106b636600461383a565b61183b565b6106c3611844565b6040516001600160e01b03199091168152602001610321565b6106e4611879565b6040516103219190613cb6565b6103f86106ff366004613d04565b61189e565b610315610712366004613df8565b6119d5565b6103f8610725366004613e93565b611a00565b61036f5f8051602061481f83398151915281565b6106e4611aa2565b6103f861075436600461383a565b611ab2565b610385611aff565b6103f861076f366004613ee3565b611b1a565b6103f861078236600461383a565b611b6e565b5f8051602061489f833981519152546001600160a01b0316610385565b6103f86107b2366004613c1b565b611c46565b61036f7fffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f0081565b6103f86107ec366004613f35565b611c93565b6108046107ff366004613f62565b611ca9565b60405164ffffffffff9091168152602001610321565b6103f861082836600461383a565b611d83565b604051632efe011360e01b8152600160048201525f60248201819052604482018190529073__$8eede297b65ed5a56eb3f84d8232ae93f5$__90632efe011390606401602060405180830381865af415801561088b573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906108af9190613f8e565b905090565b6040805160e0810182525f8082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820152907f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e0016040528073__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015610960573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906109849190613fbb565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a0016109cc61170a565b6001600160a01b031681526020018260010180546109e990613fd6565b80601f0160208091040260200160405190810160405280929190818152602001828054610a1590613fd6565b8015610a605780601f10610a3757610100808354040283529160200191610a60565b820191905f5260205f20905b815481529060010190602001808311610a4357829003601f168201915b505050505081525091505090565b5f610a77610f62565b6001600160a01b031663132996046040518163ffffffff1660e01b8152600401602060405180830381865afa158015610ab2573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906108af9190614019565b5f6108af30611e5b565b6060610aea611879565b51919050565b5f610afd335b5f36612054565b610b0561170a565b6001600160a01b0316336001600160a01b031614610b3d5760405163086391f760e31b81523360048201526024015b60405180910390fd5b610b468261214a565b90505b919050565b610b5733610af6565b81610b6a6001546001600160a01b031690565b604051631c5da14d60e11b81526001600160601b03831660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015610bb7573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610bdb9190614019565b6001600160a01b0316336001600160a01b031614610c10578033604051636efdd32b60e11b8152600401610b34929190614034565b826016610c1d82826121ce565b610c278585612285565b5050505050565b610c3661170a565b6001600160a01b0316336001600160a01b031614610c695760405163086391f760e31b8152336004820152602401610b34565b610c72816122ec565b50565b5f610c7e610f62565b6001600160a01b03166382bfefc86040518163ffffffff1660e01b8152600401602060405180830381865afa158015610ab2573d5f803e3d5ffd5b5f610ccc6001546001600160a01b031690565b604051632f2a35f760e11b81523060048201526001600160a01b039190911690635e546bee90602401602060405180830381865afa158015610d10573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610d349190613fbb565b6040516330b8415f60e01b81526001600160601b03909116600482015273__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015610d8b573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906108af9190614061565b5f610db8611aff565b60405163a166aa8960e01b81523060048201526001600160a01b03919091169063a166aa8990602401602060405180830381865afa158015610dfc573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610e209190614061565b15905090565b610e2f33610af6565b81610e426001546001600160a01b031690565b604051631c5da14d60e11b81526001600160601b03831660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015610e8f573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610eb39190614019565b6001600160a01b0316336001600160a01b031614610ee8578033604051636efdd32b60e11b8152600401610b34929190614034565b826016610ef582826121ce565b610eff8585612362565b505050505050565b610c72816123f4565b610f1933610af6565b610f2161170a565b6001600160a01b0316336001600160a01b031614610f545760405163086391f760e31b8152336004820152602401610b34565b610f5e8282612438565b5050565b5f610f6b611879565b60200151905090565b610f7d33610af6565b826015610f8a82826121ce565b5f610fbc7fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f01546001600160a01b031690565b60405163bd7d9d8560e01b81526001600160601b03881660048201529091506110b79087906001600160a01b0384169063bd7d9d85906024015f60405180830381865afa15801561100f573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f1916820160405261103691908101906140fd565b60e00151604051634793b4ab60e01b81526001600160601b038916600482015288906001600160a01b03861690634793b4ab906024015f60405180830381865afa158015611086573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526110ad91908101906142c5565b60a00151886119d5565b6110df57604051636b468c9b60e01b81526001600160601b0387166004820152602401610b34565b604080513081526001600160601b03888116602083015286168183015290517fcca48a0200c526a7c48f1e770c739ef8e82d7b30e26825735858705fbcda4e079181900360600190a1505050505050565b5f61113a33610af6565b8261114d6001546001600160a01b031690565b604051631c5da14d60e11b81526001600160601b03831660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa15801561119a573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906111be9190614019565b6001600160a01b0316336001600160a01b0316146111f3578033604051636efdd32b60e11b8152600401610b34929190614034565b83601661120082826121ce565b61120a8686612498565b9695505050505050565b5f61121d610cb9565b156112a1576001546001600160a01b03166040516308b09a5f60e41b81523060048201526001600160a01b039190911690638b09a5f0906024015f60405180830381865afa158015611271573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f1916820160405261129891908101906143a2565b60600151905090565b507fffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f015460ff1690565b805160208201205f9060ff19906112e390600190614472565b6040516020016112f591815260200190565b60405160208183030381529060405280519060200120169050919050565b5f805f3390505f61135b828a8989898080601f0160208091040260200160405190810160405280939291908181526020018383808284375f920191909152506124e592505050565b93506113de8473__$3bac17678db7ae928afa209f2f44deec9c$__634c41dd968b6040518263ffffffff1660e01b815260040161139a91815260200190565b602060405180830381865af41580156113b5573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906113d99190613fbb565b61256e565b60405163046e44af60e11b81526001600160601b038216600482015290915073__$3bac17678db7ae928afa209f2f44deec9c$__906308dc895e90602401602060405180830381865af4158015611437573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061145b9190614491565b925050509550959350505050565b61147233610af6565b816114856001546001600160a01b031690565b604051631c5da14d60e11b81526001600160601b03831660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa1580156114d2573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906114f69190614019565b6001600160a01b0316336001600160a01b03161461152b578033604051636efdd32b60e11b8152600401610b34929190614034565b82601661153882826121ce565b610eff858561256e565b61154b33610af6565b8061155e6001546001600160a01b031690565b604051631c5da14d60e11b81526001600160601b03831660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa1580156115ab573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906115cf9190614019565b6001600160a01b0316336001600160a01b031614611604578033604051636efdd32b60e11b8152600401610b34929190614034565b81601661161182826121ce565b61161a846125bb565b50505050565b5f611629611aff565b6001600160a01b03166376b707b76040518163ffffffff1660e01b8152600401602060405180830381865afa158015611664573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906108af91906144a8565b33611691611aff565b6001600160a01b0316816001600160a01b0316146116cc5760405162d1953b60e31b81526001600160a01b0382166004820152602401610b34565b816001600160a01b03163b5f03611701576040516361798f2f60e11b81526001600160a01b0383166004820152602401610b34565b610f5e82612600565b5f805f8051602061481f83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015611776573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061179a9190614061565b15611825576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa1580156117fb573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061181f9190614019565b91505090565b54600160601b90046001600160a01b0316919050565b610c7281612660565b5f8051602061483f83398151915280545f9190600160a01b900460ff1661186b575f61181f565b638fb3603760e01b91505090565b611881613702565b611889610cb9565b15611896576108af6126a5565b6108af611aa2565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a008054600160401b810460ff1615906001600160401b03165f811580156118e25750825b90505f826001600160401b031660011480156118fd5750303b155b90508115801561190b575080155b156119295760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561195357845460ff60401b1916600160401b1785555b6119838a8a6040518060400160405280600a81526020016914da5b5c1b19541bdbdb60b21b8152508b8b8b61288b565b83156119c957845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50505050505050505050565b5f8560156119e382826121ce565b8560166119f082826121ce565b5060019998505050505050505050565b6001546001600160a01b03166001600160a01b031663120726c36040518163ffffffff1660e01b8152600401602060405180830381865afa158015611a47573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611a6b9190614019565b6001600160a01b0316336001600160a01b031614611a9d5760405162f0630960e01b8152336004820152602401610b34565b61161a565b611aaa613702565b6108af6126a5565b611abb33610af6565b611ac361170a565b6001600160a01b0316336001600160a01b031614611af65760405163086391f760e31b8152336004820152602401610b34565b610c72816128b0565b5f8051602061483f833981519152546001600160a01b031690565b611b2333610af6565b611b2b61170a565b6001600160a01b0316336001600160a01b031614611b5e5760405163086391f760e31b8152336004820152602401610b34565b611b698383836128f5565b505050565b611b7733610af6565b80611b8a6001546001600160a01b031690565b604051631c5da14d60e11b81526001600160601b03831660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015611bd7573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611bfb9190614019565b6001600160a01b0316336001600160a01b031614611c30578033604051636efdd32b60e11b8152600401610b34929190614034565b816016611c3d82826121ce565b61161a8461297a565b611c4f33610af6565b611c5761170a565b6001600160a01b0316336001600160a01b031614611c8a5760405163086391f760e31b8152336004820152602401610b34565b610c72816129bf565b611c9c33610af6565b826015610c2782826121ce565b5f611cb333610af6565b82611cc66001546001600160a01b031690565b604051631c5da14d60e11b81526001600160601b03831660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015611d13573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611d379190614019565b6001600160a01b0316336001600160a01b031614611d6c578033604051636efdd32b60e11b8152600401610b34929190614034565b836016611d7982826121ce565b61120a8686612a34565b611d8c33610af6565b80611d9f6001546001600160a01b031690565b604051631c5da14d60e11b81526001600160601b03831660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015611dec573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611e109190614019565b6001600160a01b0316336001600160a01b031614611e45578033604051636efdd32b60e11b8152600401610b34929190614034565b816016611e5282826121ce565b61161a84612ac7565b5f805f8051602061481f83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015611ec7573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611eeb9190614061565b15611f175780546040516301ab8b6760e21b81526001600160601b039091166004820152602401610b34565b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038581166004830152919091169063c3c5a54790602401602060405180830381865afa158015611f69573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611f8d9190614061565b611fb55760405163b9304b0d60e01b81526001600160a01b0384166004820152602401610b34565b6001546001600160a01b0316604051632f2a35f760e11b81526001600160a01b0385811660048301529190911690635e546bee90602401602060405180830381865afa158015612007573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061202b9190613fbb565b81546bffffffffffffffffffffffff19166001600160601b039190911690811790915592915050565b5f8051602061483f8339815191525f8061208c61206f611aff565b873061207e60045f8a8c6144c3565b612087916144ea565b612b0c565b9150915081610eff5763ffffffff81161561212757825460ff60a01b1916600160a01b1783556120ba611aff565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b81526004016120e993929190614520565b5f604051808303815f87803b158015612100575f80fd5b505af1158015612112573d5f803e3d5ffd5b5050845460ff60a01b1916855550610eff9050565b60405162d1953b60e31b81526001600160a01b0387166004820152602401610b34565b5f5f8051602061489f833981519152600301546040516301c6b21960e41b81526001600160601b03841660048201526001600160a01b0390911690631c6b2190906024016020604051808303815f875af11580156121aa573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b469190613fbb565b6001546001600160a01b0316604051635b12715d60e11b81526001600160601b038416600482015260ff831660248201526001600160a01b03919091169063b624e2ba90604401602060405180830381865afa158015612230573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906122549190614061565b610f5e5760405163d711af7560e01b81526001600160601b038316600482015260ff82166024820152604401610b34565b5f805160206148bf83398151915254604051637464dbeb60e01b81526001600160a01b0390911690637464dbeb906122c39085908590600401614580565b5f604051808303815f87803b1580156122da575f80fd5b505af1158015610eff573d5f803e3d5ffd5b7fffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f035460405163108f145b60e11b815282151560048201526001600160a01b039091169063211e28b6906024015b5f604051808303815f87803b158015612350575f80fd5b505af1158015610c27573d5f803e3d5ffd5b5f8051602061487f833981519152546040516326889b0960e01b81526001600160601b038481166004830152831660248201525f916001600160a01b0316906326889b09906044015b6020604051808303815f875af11580156123c7573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906123eb9190613fbb565b90505b92915050565b5f8051602061487f8339815191525460405162ca71c760e61b81526001600160601b03831660048201526001600160a01b039091169063329c71c090602401612339565b7fffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f03546040516320c8cbff60e11b81526001600160a01b0384811660048301526001600160601b03841660248301529091169063419197fe906044016122c3565b5f8051602061487f833981519152546040516354e5077960e01b81526001600160601b038481166004830152831660248201525f916001600160a01b0316906354e50779906044016123ab565b5f805160206148bf83398151915254604051623db28b60e11b81525f916001600160a01b031690627b65169061252590889088908890889060040161459d565b6020604051808303815f875af1158015612541573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906125659190613fbb565b95945050505050565b5f8051602061487f83398151915254604051636c1e9dff60e01b81526001600160601b038481166004830152831660248201525f916001600160a01b031690636c1e9dff906044016123ab565b5f805160206148bf833981519152546040516306fa456560e01b81526001600160601b03831660048201526001600160a01b03909116906306fa456590602401612339565b5f8051602061483f83398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b5f8051602061487f83398151915254604051634725284760e11b81526001600160601b03831660048201526001600160a01b0390911690638e4a508e90602401612339565b6126ad613702565b5f6126c06001546001600160a01b031690565b604051632f2a35f760e11b81523060048201526001600160a01b039190911690635e546bee90602401602060405180830381865afa158015612704573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906127289190613fbb565b6040516330b8415f60e01b81526001600160601b038216600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015612781573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906127a59190614061565b15612883577fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f01546001600160a01b03166001600160a01b031663f0ea17c36128015f8051602061481f833981519152546001600160601b031690565b6040516001600160e01b031960e084901b1681526001600160601b0390911660048201526024015f60405180830381865afa158015612842573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f1916820160405261286991908101906145d8565b60208101519092506001600160a01b031615612883575090565b61181f612c14565b612893612cf8565b610eff86868686868660405180602001604052805f815250612d43565b5f8051602061487f8339815191525460405163bca99e3960e01b81526001600160601b03831660048201526001600160a01b039091169063bca99e3990602401612339565b7f25e3e51823fbfffb988e0a2744bb93722d9f3e906c07cc0a9e77884c46c58302546040516376e8dc4560e11b81526001600160a01b039091169063edd1b88a9061294890869086908690600401614692565b5f604051808303815f87803b15801561295f575f80fd5b505af1158015612971573d5f803e3d5ffd5b50505050505050565b5f8051602061487f8339815191525460405163d0d63b0960e01b81526001600160601b03831660048201526001600160a01b039091169063d0d63b0990602401612339565b6129c761170a565b6001600160a01b0316336001600160a01b0316146129fa5760405163086391f760e31b8152336004820152602401610b34565b612a04600b612f02565b60405163deaa59df60e01b81526001600160a01b038381166004830152919091169063deaa59df90602401612339565b5f5f8051602061485f8339815191526004908101546040516379e872e960e11b81526001600160601b0386169281019290925264ffffffffff841660248301526001600160a01b03169063f3d0e5d2906044016020604051808303815f875af1158015612aa3573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906123eb91906146ba565b5f805160206148bf8339815191525460405163b5346af560e01b81526001600160601b03831660048201526001600160a01b039091169063b5346af590602401612339565b6040516001600160a01b03848116602483015283811660448301526001600160e01b0319831660648301525f9182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b17905251612b7a91906146d5565b5f60405180830381855afa9150503d805f8114612bb2576040519150601f19603f3d011682016040523d82523d5f602084013e612bb7565b606091505b50915091508115612c09576040815110612be95780806020019051810190612bdf91906146eb565b9094509250612c09565b6020815110612c095780806020019051810190612c069190614061565b93505b505094509492505050565b612c1c613702565b5f7fffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f0090506040518060600160405280825f018054612c5990613fd6565b80601f0160208091040260200160405190810160405280929190818152602001828054612c8590613fd6565b8015612cd05780601f10612ca757610100808354040283529160200191612cd0565b820191905f5260205f20905b815481529060010190602001808311612cb357829003601f168201915b505050505081526020015f6001600160a01b031681526020018260020180546109e990613fd6565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a0054600160401b900460ff16612d4157604051631afcd79f60e31b815260040160405180910390fd5b565b612d4b612cf8565b612d60878787600f8789602001518888612f93565b83515f8051602061485f833981519152805460208701516040880151606089015160808a015160a08b01516001600160801b03908116600160801b02911515600160781b0281166effffffffffffffffffffffffffffff931515600160701b0260ff60701b19951515600160681b029590951661ffff60681b19961515600160601b026cffffffffffffffffffffffffff199098166001600160601b03909a169990991796909617949094169690961791909117169190911792909217815560c08601517f25e3e51823fbfffb988e0a2744bb93722d9f3e906c07cc0a9e77884c46c583018054919093166fffffffffffffffffffffffffffffffff1990911617909155612e6e600f612f02565b6003820180546001600160a01b0319166001600160a01b0392909216919091179055612e9a6016612f02565b6004820180546001600160a01b0319166001600160a01b0392909216919091179055612ec6600b612f02565b6002820180546001600160a01b0319166001600160a01b0392909216919091179055612ef8635a48579360e11b6131a9565b5050505050505050565b5f612f156001546001600160a01b031690565b6001600160a01b031663d39e604383612f2c611620565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa158015612f6f573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b469190614019565b612f9b612cf8565b5f612fa78989886131d9565b90505f5f8051602061489f83398151915260405163bf8e179760e01b81526001600160601b03841660048201529091506001600160a01b038b169063bf8e179790602401602060405180830381865afa158015613006573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061302a9190614019565b81546001600160a01b0319166001600160a01b039190911690811782556040805163bf7e214f60e01b815290516130c3929163bf7e214f9160048083019260209291908290030181865afa158015613084573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906130a89190614019565b8b8b8b8b8a8a60405180602001604052805f8152508b613284565b8054604080516302cd307160e01b815290516001600160a01b03909216916302cd3071916004808201926020929091908290030181865afa15801561310a573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061312e9190614019565b6001820180546001600160a01b03199081166001600160a01b039384161790915560028301805490911691881691909117905561316b600b612f02565b6003820180546001600160a01b0319166001600160a01b039290921691909117905561319d634a531f3360e01b6131a9565b6119c963a9c1bc6f60e01b5b6131b1612cf8565b610c72816001600160e01b0319165f908152602081905260409020805460ff19166001179055565b5f60ff8216600c036131fa576131f18484600a613354565b5082905061327d565b5f6132078585600c613354565b60405163677d3feb60e11b81526001600160601b03861660048201529091506001600160a01b0382169063cefa7fd690602401602060405180830381865afa158015613255573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906132799190613fbb565b9150505b9392505050565b61328c612cf8565b85515f036132ad5760405163591eebf360e11b815260040160405180910390fd5b6132bc89898988888888613419565b7fffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f00806132e88882614764565b5060018101805460ff1916861515179055600281016133078382614764565b50613312600b612f02565b6003820180546001600160a01b0319166001600160a01b0392909216919091179055613344634a531f3360e01b6131a9565b6119c96306e9e5ff60e31b6131a9565b6040516305247a1760e51b81526001600160601b038316600482015283905f906001600160a01b0383169063a48f42e0906024015f60405180830381865afa1580156133a2573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526133c991908101906143a2565b90506133e081604001518460ff9081169116141590565b1561341157604080820151905163b0c1f6eb60e01b815260ff80861660048301529091166024820152604401610b34565b509392505050565b613421612cf8565b604051632330f24760e01b81526001600160a01b038816600482015273__$fb599632d08395912d9d70eb2f0f93b5e2$__90632330f24790602401602060405180830381865af4158015613477573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061349b9190614061565b6134c35760405163cf6935e560e01b81526001600160a01b0388166004820152602401610b34565b6134cc87613556565b6134d68683613567565b5f7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166cffffffffffffffffffffffffff1990911617600160601b60ff8816021760ff60681b1916600160681b861515021781559050600181016135458382614764565b50612ef8634a531f3360e01b6131a9565b61355e612cf8565b610c72816135dd565b61356f612cf8565b6135776135ee565b61358082613636565b6001600160a01b0381166135a75760405163f17ef42d60e01b815260040160405180910390fd5b5f8051602061481f83398151915280546001600160601b0316600160601b6001600160a01b039093169290920291909117905550565b6135e5612cf8565b610c7281612600565b6135f6612cf8565b612d416301ffc9a760e01b5f9081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b61363e612cf8565b604051633334d16b60e01b81526001600160a01b038216600482015273__$fb599632d08395912d9d70eb2f0f93b5e2$__90633334d16b90602401602060405180830381865af4158015613694573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906136b89190614061565b6136e05760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610b34565b600180546001600160a01b0319166001600160a01b0392909216919091179055565b6040518060600160405280606081526020015f6001600160a01b03168152602001606081525090565b5f6020828403121561373b575f80fd5b81356001600160e01b03198116811461327d575f80fd5b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081526001600160601b0382511660208201526001600160601b03602083015116604082015260ff60408301511660608201525f60608301516137c8608084018215159052565b5060808301516001600160a01b03811660a08401525060a08301516001600160a01b03811660c08401525060c083015160e08084015261380c610100840182613752565b949350505050565b602081525f6123eb6020830184613752565b6001600160601b0381168114610c72575f80fd5b5f6020828403121561384a575f80fd5b813561327d81613826565b634e487b7160e01b5f52604160045260245ffd5b604080519081016001600160401b038111828210171561388b5761388b613855565b60405290565b60405160e081016001600160401b038111828210171561388b5761388b613855565b60405161020081016001600160401b038111828210171561388b5761388b613855565b60405160c081016001600160401b038111828210171561388b5761388b613855565b604051606081016001600160401b038111828210171561388b5761388b613855565b604051601f8201601f191681016001600160401b038111828210171561394257613942613855565b604052919050565b6001600160801b0381168114610c72575f80fd5b8035610b498161394a565b5f60408284031215613979575f80fd5b613981613869565b9050813561398e8161394a565b8152602082013561399e81613826565b602082015292915050565b5f80606083850312156139ba575f80fd5b82356139c581613826565b91506139d48460208501613969565b90509250929050565b8015158114610c72575f80fd5b8035610b49816139dd565b5f60208284031215613a05575f80fd5b813561327d816139dd565b5f8060408385031215613a21575f80fd5b8235613a2c81613826565b91506020830135613a3c81613826565b809150509250929050565b6001600160a01b0381168114610c72575f80fd5b5f8060408385031215613a6c575f80fd5b8235613a2c81613a47565b5f805f60608486031215613a89575f80fd5b8335613a9481613826565b92506020840135613aa481613826565b91506040840135613ab481613826565b809150509250925092565b5f6001600160401b03821115613ad757613ad7613855565b50601f01601f191660200190565b5f82601f830112613af4575f80fd5b8135613b07613b0282613abf565b61391a565b818152846020838601011115613b1b575f80fd5b816020850160208301375f918101602001919091529392505050565b5f60208284031215613b47575f80fd5b81356001600160401b03811115613b5c575f80fd5b61380c84828501613ae5565b64ffffffffff81168114610c72575f80fd5b5f805f805f60a08688031215613b8e575f80fd5b613b988787613969565b9450604086013593506060860135613baf81613b68565b925060808601356001600160401b03811115613bc9575f80fd5b8601601f81018813613bd9575f80fd5b80356001600160401b03811115613bee575f80fd5b886020828401011115613bff575f80fd5b959894975092955050506020019190565b8035610b4981613a47565b5f60208284031215613c2b575f80fd5b813561327d81613a47565b5f60e0820190506001600160601b03835116825260208301511515602083015260408301511515604083015260608301511515606083015260808301511515608083015260a0830151613c9460a08401826001600160801b03169052565b5060c0830151613caf60c08401826001600160801b03169052565b5092915050565b602081525f825160606020840152613cd16080840182613752565b60208501516001600160a01b0316604085810191909152850151848203601f190160608601529091506125658282613752565b5f805f805f858703610160811215613d1a575f80fd5b8635613d2581613a47565b95506020870135613d3581613826565b945060e0603f1982011215613d48575f80fd5b50613d51613891565b6040870135613d5f81613826565b81526060870135613d6f816139dd565b60208201526080870135613d82816139dd565b604082015260a0870135613d95816139dd565b6060820152613da660c088016139ea565b6080820152613db760e0880161395e565b60a0820152613dc9610100880161395e565b60c08201529250613ddd6101208701613c10565b9150613dec6101408701613c10565b90509295509295909350565b5f805f805f60a08688031215613e0c575f80fd5b8535613e1781613826565b945060208601356001600160401b03811115613e31575f80fd5b613e3d88828901613ae5565b9450506040860135613e4e81613826565b925060608601356001600160401b03811115613e68575f80fd5b613e7488828901613ae5565b9250506080860135613e8581613826565b809150509295509295909350565b5f805f8060808587031215613ea6575f80fd5b8435613eb181613a47565b93506020850135613ec181613a47565b9250604085013591506060850135613ed881613a47565b939692955090935050565b5f805f60c08486031215613ef5575f80fd5b613eff8585613969565b9250613f0e8560408601613969565b9150613f1d8560808601613969565b90509250925092565b61ffff81168114610c72575f80fd5b5f805f60608486031215613f47575f80fd5b8335613f5281613826565b92506020840135613aa481613f26565b5f8060408385031215613f73575f80fd5b8235613f7e81613826565b91506020830135613a3c81613b68565b5f60208284031215613f9e575f80fd5b815162ffffff8116811461327d575f80fd5b8051610b4981613826565b5f60208284031215613fcb575f80fd5b815161327d81613826565b600181811c90821680613fea57607f821691505b60208210810361400857634e487b7160e01b5f52602260045260245ffd5b50919050565b8051610b4981613a47565b5f60208284031215614029575f80fd5b815161327d81613a47565b6001600160601b039290921682526001600160a01b0316602082015260400190565b8051610b49816139dd565b5f60208284031215614071575f80fd5b815161327d816139dd565b80516001600160c01b031981168114610b49575f80fd5b8051610b4981613b68565b5f6140ab613b0284613abf565b90508281528383830111156140be575f80fd5b8282602083015e5f602084830101529392505050565b5f82601f8301126140e3575f80fd5b6123eb8383516020850161409e565b8051610b4981613f26565b5f6020828403121561410d575f80fd5b81516001600160401b03811115614122575f80fd5b82016102008185031215614134575f80fd5b61413c6138b3565b61414582613fb0565b815261415360208301613fb0565b60208201526141646040830161407c565b60408201526141756060830161407c565b606082015261418660808301613fb0565b608082015261419760a08301613fb0565b60a08201526141a860c08301614093565b60c082015260e08201516001600160401b038111156141c5575f80fd5b6141d1868285016140d4565b60e0830152506101008201516001600160401b038111156141f0575f80fd5b6141fc868285016140d4565b6101008301525061421061012083016140f2565b61012082015261422361014083016140f2565b6101408201526142366101608301613fb0565b6101608201526142496101808301613fb0565b61018082015261425c6101a08301614093565b6101a082015261426f6101c08301614093565b6101c08201526142826101e08301614093565b6101e0820152949350505050565b5f604082840312156142a0575f80fd5b6142a8613869565b905081516142b58161394a565b8152602082015161399e81613826565b5f602082840312156142d5575f80fd5b81516001600160401b038111156142ea575f80fd5b820160e081850312156142fb575f80fd5b6143036138d6565b815161430e81613b68565b8152602082015161431e81613b68565b602082015261432f60408301614093565b604082015261434060608301613fb0565b60608201526143528560808401614290565b608082015260c08201516001600160401b0381111561436f575f80fd5b61437b868285016140d4565b60a083015250949350505050565b60ff81168114610c72575f80fd5b8051610b4981614389565b5f602082840312156143b2575f80fd5b81516001600160401b038111156143c7575f80fd5b820160e081850312156143d8575f80fd5b6143e0613891565b6143e982613fb0565b81526143f760208301613fb0565b602082015261440860408301614397565b604082015261441960608301614056565b606082015261442a6080830161400e565b608082015261443b60a0830161400e565b60a082015260c08201516001600160401b03811115614458575f80fd5b614464868285016140d4565b60c083015250949350505050565b818103818111156123ee57634e487b7160e01b5f52601160045260245ffd5b5f602082840312156144a1575f80fd5b5051919050565b5f602082840312156144b8575f80fd5b815161327d81614389565b5f80858511156144d1575f80fd5b838611156144dd575f80fd5b5050820193919092039150565b80356001600160e01b03198116906004841015613caf576001600160e01b031960049490940360031b84901b1690921692915050565b6001600160a01b03841681526040602082018190528101829052818360608301375f818301606090810191909152601f909201601f1916010192915050565b80516001600160801b031682526020908101516001600160601b0316910152565b6001600160601b03831681526060810161327d602083018461455f565b6001600160a01b03851681526145b6602082018561455f565b64ffffffffff8316606082015260a060808201525f61120a60a0830184613752565b5f602082840312156145e8575f80fd5b81516001600160401b038111156145fd575f80fd5b82016060818503121561460e575f80fd5b6146166138f8565b81516001600160401b0381111561462b575f80fd5b8201601f8101861361463b575f80fd5b61464a8682516020840161409e565b825250602082015161465b81613a47565b602082015260408201516001600160401b03811115614678575f80fd5b614684868285016140d4565b604083015250949350505050565b60c081016146a0828661455f565b6146ad604083018561455f565b61380c608083018461455f565b5f602082840312156146ca575f80fd5b815161327d81613b68565b5f82518060208501845e5f920191825250919050565b5f80604083850312156146fc575f80fd5b8251614707816139dd565b602084015190925063ffffffff81168114613a3c575f80fd5b601f821115611b6957805f5260205f20601f840160051c810160208510156147455750805b601f840160051c820191505b81811015610c27575f8155600101614751565b81516001600160401b0381111561477d5761477d613855565b6147918161478b8454613fd6565b84614720565b6020601f8211600181146147c3575f83156147ac5750848201515b5f19600385901b1c1916600184901b178455610c27565b5f84815260208120601f198516915b828110156147f257878501518255602094850194600190920191016147d2565b508482101561480f57868401515f19600387901b60f8161c191681555b50505050600190811b0190555056fe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a0025e3e51823fbfffb988e0a2744bb93722d9f3e906c07cc0a9e77884c46c5830025e3e51823fbfffb988e0a2744bb93722d9f3e906c07cc0a9e77884c46c58303ffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f0025e3e51823fbfffb988e0a2744bb93722d9f3e906c07cc0a9e77884c46c58304a2646970667358221220076732625063d57fc26e7a3f8861712b09a0f00af97192b943921c8eb2a407f864736f6c634300081a0033",
1488
+ "linkReferences": {
1489
+ "contracts/shared/ContractLib.sol": {
1490
+ "ContractLib": [
1491
+ {
1492
+ "length": 20,
1493
+ "start": 2521
1494
+ },
1495
+ {
1496
+ "length": 20,
1497
+ "start": 3093
1498
+ },
1499
+ {
1500
+ "length": 20,
1501
+ "start": 17959
1502
+ },
1503
+ {
1504
+ "length": 20,
1505
+ "start": 18500
1506
+ }
1507
+ ]
1508
+ },
1509
+ "contracts/type/Amount.sol": {
1510
+ "AmountLib": [
1511
+ {
1512
+ "length": 20,
1513
+ "start": 9547
1514
+ },
1515
+ {
1516
+ "length": 20,
1517
+ "start": 9703
1518
+ }
1519
+ ]
1520
+ },
1521
+ "contracts/type/NftId.sol": {
1522
+ "NftIdLib": [
1523
+ {
1524
+ "length": 20,
1525
+ "start": 6915
1526
+ },
1527
+ {
1528
+ "length": 20,
1529
+ "start": 7995
1530
+ },
1531
+ {
1532
+ "length": 20,
1533
+ "start": 10534
1534
+ },
1535
+ {
1536
+ "length": 20,
1537
+ "start": 12407
1538
+ },
1539
+ {
1540
+ "length": 20,
1541
+ "start": 14641
1542
+ }
1543
+ ]
1544
+ },
1545
+ "contracts/type/Version.sol": {
1546
+ "VersionLib": [
1547
+ {
1548
+ "length": 20,
1549
+ "start": 6715
1550
+ }
1551
+ ]
1552
+ }
1553
+ },
1554
+ "deployedLinkReferences": {
1555
+ "contracts/shared/ContractLib.sol": {
1556
+ "ContractLib": [
1557
+ {
1558
+ "length": 20,
1559
+ "start": 13375
1560
+ },
1561
+ {
1562
+ "length": 20,
1563
+ "start": 13916
1564
+ }
1565
+ ]
1566
+ },
1567
+ "contracts/type/Amount.sol": {
1568
+ "AmountLib": [
1569
+ {
1570
+ "length": 20,
1571
+ "start": 4963
1572
+ },
1573
+ {
1574
+ "length": 20,
1575
+ "start": 5119
1576
+ }
1577
+ ]
1578
+ },
1579
+ "contracts/type/NftId.sol": {
1580
+ "NftIdLib": [
1581
+ {
1582
+ "length": 20,
1583
+ "start": 2331
1584
+ },
1585
+ {
1586
+ "length": 20,
1587
+ "start": 3411
1588
+ },
1589
+ {
1590
+ "length": 20,
1591
+ "start": 5950
1592
+ },
1593
+ {
1594
+ "length": 20,
1595
+ "start": 7823
1596
+ },
1597
+ {
1598
+ "length": 20,
1599
+ "start": 10057
1600
+ }
1601
+ ]
1602
+ },
1603
+ "contracts/type/Version.sol": {
1604
+ "VersionLib": [
1605
+ {
1606
+ "length": 20,
1607
+ "start": 2131
1608
+ }
1609
+ ]
1610
+ }
1611
+ }
1612
+ }