@etherisc/gif-next 0.0.2-8d47fa1-080 → 0.0.2-8d69bcd-543

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