@etherisc/gif-next 0.0.2-e026265-044 → 0.0.2-e04dbfc-031

Sign up to get free protection for your applications and to get access to all the features.
Files changed (555) hide show
  1. package/README.md +59 -10
  2. package/artifacts/contracts/accounting/AccountingService.sol/AccountingService.dbg.json +4 -0
  3. package/artifacts/contracts/accounting/AccountingService.sol/AccountingService.json +1023 -0
  4. package/artifacts/contracts/accounting/AccountingServiceManager.sol/AccountingServiceManager.dbg.json +4 -0
  5. package/artifacts/contracts/accounting/AccountingServiceManager.sol/AccountingServiceManager.json +752 -0
  6. package/artifacts/contracts/accounting/IAccountingService.sol/IAccountingService.dbg.json +4 -0
  7. package/artifacts/contracts/accounting/IAccountingService.sol/IAccountingService.json +791 -0
  8. package/artifacts/contracts/authorization/AccessAdmin.sol/AccessAdmin.dbg.json +1 -1
  9. package/artifacts/contracts/authorization/AccessAdmin.sol/AccessAdmin.json +495 -254
  10. package/artifacts/contracts/authorization/AccessAdmin.sol/IAccessManagedChecker.dbg.json +4 -0
  11. package/artifacts/contracts/authorization/AccessAdmin.sol/IAccessManagedChecker.json +24 -0
  12. package/artifacts/contracts/authorization/AccessAdminLib.sol/AccessAdminLib.dbg.json +4 -0
  13. package/artifacts/contracts/authorization/AccessAdminLib.sol/AccessAdminLib.json +673 -0
  14. package/artifacts/contracts/authorization/AccessManagerCloneable.sol/AccessManagerCloneable.dbg.json +1 -1
  15. package/artifacts/contracts/authorization/AccessManagerCloneable.sol/AccessManagerCloneable.json +202 -5
  16. package/artifacts/contracts/authorization/Authorization.sol/Authorization.dbg.json +1 -1
  17. package/artifacts/contracts/authorization/Authorization.sol/Authorization.json +273 -16
  18. package/artifacts/contracts/authorization/IAccess.sol/IAccess.dbg.json +1 -1
  19. package/artifacts/contracts/authorization/IAccessAdmin.sol/IAccessAdmin.dbg.json +1 -1
  20. package/artifacts/contracts/authorization/IAccessAdmin.sol/IAccessAdmin.json +391 -199
  21. package/artifacts/contracts/authorization/IAuthorization.sol/IAuthorization.dbg.json +1 -1
  22. package/artifacts/contracts/authorization/IAuthorization.sol/IAuthorization.json +139 -15
  23. package/artifacts/contracts/authorization/IServiceAuthorization.sol/IServiceAuthorization.dbg.json +1 -1
  24. package/artifacts/contracts/authorization/IServiceAuthorization.sol/IServiceAuthorization.json +19 -0
  25. package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.dbg.json +1 -1
  26. package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.json +68 -5
  27. package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.dbg.json +1 -1
  28. package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.json +188 -447
  29. package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.dbg.json +1 -1
  30. package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.json +261 -27
  31. package/artifacts/contracts/distribution/Distribution.sol/Distribution.dbg.json +1 -1
  32. package/artifacts/contracts/distribution/Distribution.sol/Distribution.json +125 -365
  33. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.dbg.json +1 -1
  34. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.json +485 -283
  35. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +1 -1
  36. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.json +159 -109
  37. package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.dbg.json +1 -1
  38. package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.json +133 -183
  39. package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.dbg.json +1 -1
  40. package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.json +314 -86
  41. package/artifacts/contracts/examples/fire/DamageLevel.sol/DamageLevelLib.dbg.json +4 -0
  42. package/artifacts/contracts/examples/fire/DamageLevel.sol/DamageLevelLib.json +22 -0
  43. package/artifacts/contracts/examples/fire/FirePool.sol/FirePool.dbg.json +4 -0
  44. package/artifacts/contracts/examples/fire/FirePool.sol/FirePool.json +1491 -0
  45. package/artifacts/contracts/examples/fire/FirePoolAuthorization.sol/FirePoolAuthorization.dbg.json +4 -0
  46. package/artifacts/contracts/examples/fire/FirePoolAuthorization.sol/FirePoolAuthorization.json +644 -0
  47. package/artifacts/contracts/examples/fire/FireProduct.sol/FireProduct.dbg.json +4 -0
  48. package/artifacts/contracts/examples/fire/FireProduct.sol/FireProduct.json +2048 -0
  49. package/artifacts/contracts/examples/fire/FireProductAuthorization.sol/FireProductAuthorization.dbg.json +4 -0
  50. package/artifacts/contracts/examples/fire/FireProductAuthorization.sol/FireProductAuthorization.json +644 -0
  51. package/artifacts/contracts/examples/fire/FireUSD.sol/FireUSD.dbg.json +4 -0
  52. package/artifacts/contracts/examples/fire/FireUSD.sol/FireUSD.json +376 -0
  53. package/artifacts/contracts/examples/unpermissioned/SimpleDistribution.sol/SimpleDistribution.dbg.json +4 -0
  54. package/artifacts/contracts/examples/unpermissioned/SimpleDistribution.sol/SimpleDistribution.json +1447 -0
  55. package/artifacts/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol/SimpleDistributionAuthorization.dbg.json +4 -0
  56. package/artifacts/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol/SimpleDistributionAuthorization.json +644 -0
  57. package/artifacts/contracts/examples/unpermissioned/SimpleOracle.sol/SimpleOracle.dbg.json +4 -0
  58. package/artifacts/contracts/examples/unpermissioned/SimpleOracle.sol/SimpleOracle.json +1195 -0
  59. package/artifacts/contracts/examples/unpermissioned/SimplePool.sol/SimplePool.dbg.json +4 -0
  60. package/artifacts/contracts/examples/unpermissioned/SimplePool.sol/SimplePool.json +1671 -0
  61. package/artifacts/contracts/examples/unpermissioned/SimplePoolAuthorization.sol/SimplePoolAuthorization.dbg.json +4 -0
  62. package/artifacts/contracts/examples/unpermissioned/SimplePoolAuthorization.sol/SimplePoolAuthorization.json +644 -0
  63. package/artifacts/contracts/examples/unpermissioned/SimpleProduct.sol/SimpleProduct.dbg.json +4 -0
  64. package/artifacts/contracts/examples/unpermissioned/SimpleProduct.sol/SimpleProduct.json +2448 -0
  65. package/artifacts/contracts/examples/unpermissioned/SimpleProductAuthorization.sol/SimpleProductAuthorization.dbg.json +4 -0
  66. package/artifacts/contracts/examples/unpermissioned/SimpleProductAuthorization.sol/SimpleProductAuthorization.json +644 -0
  67. package/artifacts/contracts/instance/BundleSet.sol/BundleSet.dbg.json +4 -0
  68. package/artifacts/contracts/instance/BundleSet.sol/BundleSet.json +851 -0
  69. package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
  70. package/artifacts/contracts/instance/IInstance.sol/IInstance.json +224 -45
  71. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +1 -1
  72. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +143 -98
  73. package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
  74. package/artifacts/contracts/instance/Instance.sol/Instance.json +243 -133
  75. package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.dbg.json +1 -1
  76. package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.json +734 -324
  77. package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.dbg.json +1 -1
  78. package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.json +205 -90
  79. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +1 -1
  80. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +1026 -298
  81. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +1 -1
  82. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +171 -283
  83. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +1 -1
  84. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +96 -96
  85. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.dbg.json +1 -1
  86. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.json +640 -493
  87. package/artifacts/contracts/instance/RiskSet.sol/RiskSet.dbg.json +4 -0
  88. package/artifacts/contracts/instance/RiskSet.sol/RiskSet.json +853 -0
  89. package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.dbg.json +1 -1
  90. package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.json +2 -2
  91. package/artifacts/contracts/instance/base/Cloneable.sol/Cloneable.dbg.json +1 -1
  92. package/artifacts/contracts/instance/base/ObjectCounter.sol/ObjectCounter.dbg.json +1 -1
  93. package/artifacts/contracts/instance/base/ObjectCounter.sol/ObjectCounter.json +2 -2
  94. package/artifacts/contracts/instance/base/ObjectLifecycle.sol/ObjectLifecycle.dbg.json +1 -1
  95. package/artifacts/contracts/instance/base/ObjectLifecycle.sol/ObjectLifecycle.json +46 -5
  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 +1 -1
  101. package/artifacts/contracts/instance/module/IComponents.sol/IComponents.dbg.json +1 -1
  102. package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.dbg.json +1 -1
  103. package/artifacts/contracts/instance/module/IPolicy.sol/IPolicy.dbg.json +1 -1
  104. package/artifacts/contracts/instance/module/IRisk.sol/IRisk.dbg.json +1 -1
  105. package/artifacts/contracts/mock/Dip.sol/Dip.dbg.json +1 -1
  106. package/artifacts/contracts/mock/Dip.sol/Dip.json +2 -2
  107. package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.dbg.json +1 -1
  108. package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.json +139 -335
  109. package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.dbg.json +1 -1
  110. package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.json +243 -29
  111. package/artifacts/contracts/oracle/IOracle.sol/IOracle.dbg.json +1 -1
  112. package/artifacts/contracts/oracle/IOracleComponent.sol/IOracleComponent.dbg.json +1 -1
  113. package/artifacts/contracts/oracle/IOracleComponent.sol/IOracleComponent.json +128 -126
  114. package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.dbg.json +1 -1
  115. package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.json +69 -11
  116. package/artifacts/contracts/oracle/Oracle.sol/Oracle.dbg.json +1 -1
  117. package/artifacts/contracts/oracle/Oracle.sol/Oracle.json +115 -303
  118. package/artifacts/contracts/oracle/OracleService.sol/OracleService.dbg.json +1 -1
  119. package/artifacts/contracts/oracle/OracleService.sol/OracleService.json +169 -190
  120. package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.dbg.json +1 -1
  121. package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.json +130 -88
  122. package/artifacts/contracts/pool/BasicPool.sol/BasicPool.dbg.json +1 -1
  123. package/artifacts/contracts/pool/BasicPool.sol/BasicPool.json +162 -387
  124. package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.dbg.json +1 -1
  125. package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.json +261 -27
  126. package/artifacts/contracts/pool/BundleService.sol/BundleService.dbg.json +1 -1
  127. package/artifacts/contracts/pool/BundleService.sol/BundleService.json +343 -200
  128. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.dbg.json +1 -1
  129. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.json +149 -95
  130. package/artifacts/contracts/pool/IBundleService.sol/IBundleService.dbg.json +1 -1
  131. package/artifacts/contracts/pool/IBundleService.sol/IBundleService.json +206 -29
  132. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.dbg.json +1 -1
  133. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.json +143 -195
  134. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.dbg.json +1 -1
  135. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.json +464 -312
  136. package/artifacts/contracts/pool/Pool.sol/Pool.dbg.json +1 -1
  137. package/artifacts/contracts/pool/Pool.sol/Pool.json +128 -370
  138. package/artifacts/contracts/pool/PoolLib.sol/PoolLib.dbg.json +4 -0
  139. package/artifacts/contracts/pool/PoolLib.sol/PoolLib.json +472 -0
  140. package/artifacts/contracts/pool/PoolService.sol/PoolService.dbg.json +1 -1
  141. package/artifacts/contracts/pool/PoolService.sol/PoolService.json +683 -530
  142. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.dbg.json +1 -1
  143. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.json +179 -97
  144. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.dbg.json +1 -1
  145. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.json +208 -176
  146. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +1 -1
  147. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.json +108 -90
  148. package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.dbg.json +1 -1
  149. package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.json +258 -396
  150. package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.dbg.json +1 -1
  151. package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.json +261 -27
  152. package/artifacts/contracts/product/ClaimService.sol/ClaimService.dbg.json +1 -1
  153. package/artifacts/contracts/product/ClaimService.sol/ClaimService.json +431 -234
  154. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +1 -1
  155. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.json +148 -114
  156. package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.dbg.json +1 -1
  157. package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.json +136 -9
  158. package/artifacts/contracts/product/IClaimService.sol/IClaimService.dbg.json +1 -1
  159. package/artifacts/contracts/product/IClaimService.sol/IClaimService.json +308 -16
  160. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.dbg.json +1 -1
  161. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.json +365 -104
  162. package/artifacts/contracts/product/IPricingService.sol/IPricingService.dbg.json +1 -1
  163. package/artifacts/contracts/product/IPricingService.sol/IPricingService.json +157 -83
  164. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.dbg.json +1 -1
  165. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.json +250 -198
  166. package/artifacts/contracts/product/IRiskService.sol/IRiskService.dbg.json +4 -0
  167. package/artifacts/contracts/product/{IProductService.sol/IProductService.json → IRiskService.sol/IRiskService.json} +88 -8
  168. package/artifacts/contracts/product/PolicyService.sol/PolicyService.dbg.json +1 -1
  169. package/artifacts/contracts/product/PolicyService.sol/PolicyService.json +465 -307
  170. package/artifacts/contracts/product/PolicyServiceLib.sol/PolicyServiceLib.dbg.json +4 -0
  171. package/artifacts/contracts/product/PolicyServiceLib.sol/PolicyServiceLib.json +727 -0
  172. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +1 -1
  173. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.json +145 -99
  174. package/artifacts/contracts/product/PricingService.sol/PricingService.dbg.json +1 -1
  175. package/artifacts/contracts/product/PricingService.sol/PricingService.json +263 -308
  176. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.dbg.json +1 -1
  177. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.json +128 -122
  178. package/artifacts/contracts/product/Product.sol/Product.dbg.json +1 -1
  179. package/artifacts/contracts/product/Product.sol/Product.json +256 -394
  180. package/artifacts/contracts/product/RiskService.sol/RiskService.dbg.json +4 -0
  181. package/artifacts/contracts/product/RiskService.sol/RiskService.json +688 -0
  182. package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.dbg.json +4 -0
  183. package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.json +736 -0
  184. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
  185. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +59 -16
  186. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
  187. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +370 -22
  188. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +1 -1
  189. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +72 -152
  190. package/artifacts/contracts/registry/IRelease.sol/IRelease.dbg.json +4 -0
  191. package/artifacts/contracts/registry/IRelease.sol/IRelease.json +24 -0
  192. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +1 -1
  193. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.json +5 -18
  194. package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
  195. package/artifacts/contracts/registry/Registry.sol/Registry.json +597 -80
  196. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.dbg.json +1 -1
  197. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.json +641 -369
  198. package/artifacts/contracts/registry/RegistryAuthorization.sol/RegistryAuthorization.dbg.json +4 -0
  199. package/artifacts/contracts/registry/RegistryAuthorization.sol/RegistryAuthorization.json +878 -0
  200. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +1 -1
  201. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +109 -292
  202. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +1 -1
  203. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +94 -80
  204. package/artifacts/contracts/registry/ReleaseAdmin.sol/ReleaseAdmin.dbg.json +4 -0
  205. package/artifacts/contracts/registry/ReleaseAdmin.sol/ReleaseAdmin.json +1954 -0
  206. package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.dbg.json +1 -1
  207. package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.json +47 -6
  208. package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.dbg.json +4 -0
  209. package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.json +1337 -0
  210. package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.dbg.json +1 -1
  211. package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.json +66 -8
  212. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +1 -1
  213. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +4 -4
  214. package/artifacts/contracts/shared/Component.sol/Component.dbg.json +1 -1
  215. package/artifacts/contracts/shared/Component.sol/Component.json +76 -265
  216. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.dbg.json +1 -1
  217. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.json +557 -512
  218. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.dbg.json +1 -1
  219. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.json +138 -110
  220. package/artifacts/contracts/shared/ComponentVerifyingService.sol/ComponentVerifyingService.dbg.json +1 -1
  221. package/artifacts/contracts/shared/ComponentVerifyingService.sol/ComponentVerifyingService.json +57 -111
  222. package/artifacts/contracts/shared/ContractLib.sol/ContractLib.dbg.json +4 -0
  223. package/artifacts/contracts/shared/ContractLib.sol/ContractLib.json +597 -0
  224. package/artifacts/contracts/shared/ContractLib.sol/IInstanceAdminHelper.dbg.json +4 -0
  225. package/artifacts/contracts/shared/ContractLib.sol/IInstanceAdminHelper.json +24 -0
  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 +1 -1
  231. package/artifacts/contracts/shared/IComponent.sol/IComponent.json +89 -88
  232. package/artifacts/contracts/shared/IComponentService.sol/IComponentService.dbg.json +1 -1
  233. package/artifacts/contracts/shared/IComponentService.sol/IComponentService.json +533 -233
  234. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.dbg.json +1 -1
  235. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.json +117 -126
  236. package/artifacts/contracts/shared/IKeyValueStore.sol/IKeyValueStore.dbg.json +1 -1
  237. package/artifacts/contracts/shared/IKeyValueStore.sol/IKeyValueStore.json +36 -0
  238. package/artifacts/contracts/shared/ILifecycle.sol/ILifecycle.dbg.json +1 -1
  239. package/artifacts/contracts/shared/ILifecycle.sol/ILifecycle.json +36 -0
  240. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +1 -1
  241. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.json +16 -0
  242. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.dbg.json +1 -1
  243. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.json +15 -47
  244. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
  245. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +148 -0
  246. package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.dbg.json +1 -1
  247. package/artifacts/contracts/shared/IService.sol/IService.dbg.json +1 -1
  248. package/artifacts/contracts/shared/IService.sol/IService.json +55 -2
  249. package/artifacts/contracts/shared/InitializableERC165.sol/InitializableERC165.dbg.json +4 -0
  250. package/artifacts/contracts/shared/InitializableERC165.sol/InitializableERC165.json +53 -0
  251. package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.dbg.json +1 -1
  252. package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.json +104 -303
  253. package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.dbg.json +1 -1
  254. package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.json +42 -1
  255. package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.dbg.json +1 -1
  256. package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.json +42 -1
  257. package/artifacts/contracts/shared/NftIdSet.sol/NftIdSet.dbg.json +4 -0
  258. package/artifacts/contracts/shared/{NftIdSetManager.sol/NftIdSetManager.json → NftIdSet.sol/NftIdSet.json} +4 -4
  259. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +1 -1
  260. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +22 -57
  261. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.dbg.json +1 -1
  262. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.json +19 -141
  263. package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
  264. package/artifacts/contracts/shared/Registerable.sol/Registerable.json +122 -97
  265. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.dbg.json +1 -1
  266. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.json +2 -15
  267. package/artifacts/contracts/shared/Service.sol/Service.dbg.json +1 -1
  268. package/artifacts/contracts/shared/Service.sol/Service.json +57 -111
  269. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +1 -1
  270. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +585 -12
  271. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandlerBase.dbg.json +4 -0
  272. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandlerBase.json +484 -0
  273. package/artifacts/contracts/shared/TokenHandlerDeployerLib.sol/TokenHandlerDeployerLib.dbg.json +4 -0
  274. package/artifacts/contracts/shared/TokenHandlerDeployerLib.sol/TokenHandlerDeployerLib.json +172 -0
  275. package/artifacts/contracts/staking/IStaking.sol/IStaking.dbg.json +1 -1
  276. package/artifacts/contracts/staking/IStaking.sol/IStaking.json +196 -122
  277. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.dbg.json +1 -1
  278. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.json +151 -19
  279. package/artifacts/contracts/staking/Staking.sol/Staking.dbg.json +1 -1
  280. package/artifacts/contracts/staking/Staking.sol/Staking.json +293 -365
  281. package/artifacts/contracts/staking/StakingLib.sol/StakingLib.dbg.json +4 -0
  282. package/artifacts/contracts/staking/StakingLib.sol/StakingLib.json +469 -0
  283. package/artifacts/contracts/staking/StakingLifecycle.sol/StakingLifecycle.dbg.json +1 -1
  284. package/artifacts/contracts/staking/StakingLifecycle.sol/StakingLifecycle.json +46 -5
  285. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.dbg.json +1 -1
  286. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.json +135 -92
  287. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.dbg.json +1 -1
  288. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.json +31 -63
  289. package/artifacts/contracts/staking/StakingService.sol/StakingService.dbg.json +1 -1
  290. package/artifacts/contracts/staking/StakingService.sol/StakingService.json +220 -167
  291. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.dbg.json +1 -1
  292. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.json +111 -85
  293. package/artifacts/contracts/staking/StakingStore.sol/StakingStore.dbg.json +1 -1
  294. package/artifacts/contracts/staking/StakingStore.sol/StakingStore.json +192 -132
  295. package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.dbg.json +1 -1
  296. package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.json +69 -23
  297. package/artifacts/contracts/type/AddressSet.sol/LibAddressSet.dbg.json +1 -1
  298. package/artifacts/contracts/type/Amount.sol/AmountLib.dbg.json +1 -1
  299. package/artifacts/contracts/type/Amount.sol/AmountLib.json +61 -8
  300. package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.dbg.json +1 -1
  301. package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.json +2 -2
  302. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.dbg.json +1 -1
  303. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.json +28 -4
  304. package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.dbg.json +1 -1
  305. package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.json +2 -2
  306. package/artifacts/contracts/type/Fee.sol/FeeLib.dbg.json +1 -1
  307. package/artifacts/contracts/type/Fee.sol/FeeLib.json +7 -2
  308. package/artifacts/contracts/type/Key32.sol/Key32Lib.dbg.json +1 -1
  309. package/artifacts/contracts/type/Key32.sol/Key32Lib.json +2 -2
  310. package/artifacts/contracts/type/Key32Set.sol/LibKey32Set.dbg.json +4 -0
  311. package/artifacts/contracts/type/Key32Set.sol/LibKey32Set.json +33 -0
  312. package/artifacts/contracts/type/NftId.sol/NftIdLib.dbg.json +1 -1
  313. package/artifacts/contracts/type/NftId.sol/NftIdLib.json +23 -4
  314. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.dbg.json +1 -1
  315. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.json +2 -2
  316. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.dbg.json +1 -1
  317. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.json +33 -31
  318. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.dbg.json +1 -1
  319. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.json +19 -19
  320. package/artifacts/contracts/type/Referral.sol/ReferralLib.dbg.json +1 -1
  321. package/artifacts/contracts/type/Referral.sol/ReferralLib.json +2 -2
  322. package/artifacts/contracts/type/RequestId.sol/RequestIdLib.dbg.json +1 -1
  323. package/artifacts/contracts/type/RequestId.sol/RequestIdLib.json +2 -2
  324. package/artifacts/contracts/type/RiskId.sol/RiskIdLib.dbg.json +1 -1
  325. package/artifacts/contracts/type/RiskId.sol/RiskIdLib.json +125 -7
  326. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.dbg.json +1 -1
  327. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.json +79 -15
  328. package/artifacts/contracts/type/Seconds.sol/SecondsLib.dbg.json +1 -1
  329. package/artifacts/contracts/type/Seconds.sol/SecondsLib.json +50 -2
  330. package/artifacts/contracts/type/Selector.sol/SelectorLib.dbg.json +1 -1
  331. package/artifacts/contracts/type/Selector.sol/SelectorLib.json +21 -2
  332. package/artifacts/contracts/type/Selector.sol/SelectorSetLib.dbg.json +1 -1
  333. package/artifacts/contracts/type/Selector.sol/SelectorSetLib.json +2 -2
  334. package/artifacts/contracts/type/StateId.sol/StateIdLib.dbg.json +1 -1
  335. package/artifacts/contracts/type/StateId.sol/StateIdLib.json +15 -2
  336. package/artifacts/contracts/type/String.sol/StrLib.dbg.json +1 -1
  337. package/artifacts/contracts/type/Timestamp.sol/TimestampLib.dbg.json +1 -1
  338. package/artifacts/contracts/type/Timestamp.sol/TimestampLib.json +23 -4
  339. package/artifacts/contracts/type/UFixed.sol/UFixedLib.dbg.json +1 -1
  340. package/artifacts/contracts/type/UFixed.sol/UFixedLib.json +52 -2
  341. package/artifacts/contracts/type/Version.sol/VersionLib.dbg.json +1 -1
  342. package/artifacts/contracts/type/Version.sol/VersionLib.json +2 -21
  343. package/artifacts/contracts/type/Version.sol/VersionPartLib.dbg.json +1 -1
  344. package/artifacts/contracts/type/Version.sol/VersionPartLib.json +120 -2
  345. package/artifacts/contracts/upgradeability/IVersionable.sol/IVersionable.dbg.json +4 -0
  346. package/artifacts/contracts/{shared → upgradeability}/IVersionable.sol/IVersionable.json +1 -1
  347. package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.dbg.json +4 -0
  348. package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.json +618 -0
  349. package/artifacts/contracts/upgradeability/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +4 -0
  350. package/artifacts/contracts/{shared → upgradeability}/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +3 -3
  351. package/artifacts/contracts/upgradeability/Versionable.sol/Versionable.dbg.json +4 -0
  352. package/artifacts/contracts/{shared → upgradeability}/Versionable.sol/Versionable.json +1 -1
  353. package/contracts/accounting/AccountingService.sol +261 -0
  354. package/contracts/accounting/AccountingServiceManager.sol +38 -0
  355. package/contracts/accounting/IAccountingService.sol +45 -0
  356. package/contracts/authorization/AccessAdmin.sol +338 -225
  357. package/contracts/authorization/AccessAdminLib.sol +183 -0
  358. package/contracts/authorization/AccessManagerCloneable.sol +146 -4
  359. package/contracts/authorization/Authorization.sol +350 -203
  360. package/contracts/authorization/IAccess.sol +1 -0
  361. package/contracts/authorization/IAccessAdmin.sol +69 -35
  362. package/contracts/authorization/IAuthorization.sol +33 -7
  363. package/contracts/authorization/IServiceAuthorization.sol +3 -1
  364. package/contracts/authorization/ServiceAuthorization.sol +26 -10
  365. package/contracts/distribution/BasicDistribution.sol +19 -25
  366. package/contracts/distribution/BasicDistributionAuthorization.sol +26 -9
  367. package/contracts/distribution/Distribution.sol +42 -79
  368. package/contracts/distribution/DistributionService.sol +195 -108
  369. package/contracts/distribution/DistributionServiceManager.sol +8 -11
  370. package/contracts/distribution/IDistributionComponent.sol +9 -14
  371. package/contracts/distribution/IDistributionService.sol +40 -22
  372. package/contracts/examples/fire/DamageLevel.sol +59 -0
  373. package/contracts/examples/fire/FirePool.sol +90 -0
  374. package/contracts/examples/fire/FirePoolAuthorization.sol +35 -0
  375. package/contracts/examples/fire/FireProduct.sol +437 -0
  376. package/contracts/examples/fire/FireProductAuthorization.sol +45 -0
  377. package/contracts/examples/fire/FireUSD.sol +26 -0
  378. package/contracts/examples/unpermissioned/SimpleDistribution.sol +85 -0
  379. package/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol +28 -0
  380. package/contracts/examples/unpermissioned/SimpleOracle.sol +137 -0
  381. package/contracts/examples/unpermissioned/SimplePool.sol +106 -0
  382. package/contracts/examples/unpermissioned/SimplePoolAuthorization.sol +28 -0
  383. package/contracts/examples/unpermissioned/SimpleProduct.sol +377 -0
  384. package/contracts/examples/unpermissioned/SimpleProductAuthorization.sol +28 -0
  385. package/contracts/instance/BundleSet.sol +130 -0
  386. package/contracts/instance/IInstance.sol +67 -48
  387. package/contracts/instance/IInstanceService.sol +26 -34
  388. package/contracts/instance/Instance.sol +114 -72
  389. package/contracts/instance/InstanceAdmin.sol +289 -105
  390. package/contracts/instance/InstanceAuthorizationV3.sol +99 -66
  391. package/contracts/instance/InstanceReader.sol +288 -43
  392. package/contracts/instance/InstanceService.sol +211 -192
  393. package/contracts/instance/InstanceServiceManager.sol +8 -13
  394. package/contracts/instance/InstanceStore.sol +24 -2
  395. package/contracts/instance/RiskSet.sol +118 -0
  396. package/contracts/instance/base/ObjectCounter.sol +1 -2
  397. package/contracts/instance/base/ObjectLifecycle.sol +11 -4
  398. package/contracts/instance/base/ObjectSet.sol +77 -0
  399. package/contracts/instance/base/ObjectSetHelperLib.sol +30 -0
  400. package/contracts/instance/module/IBundle.sol +1 -1
  401. package/contracts/instance/module/IComponents.sol +14 -15
  402. package/contracts/instance/module/IDistribution.sol +5 -3
  403. package/contracts/instance/module/IPolicy.sol +26 -25
  404. package/contracts/instance/module/IRisk.sol +3 -0
  405. package/contracts/mock/Dip.sol +1 -1
  406. package/contracts/oracle/BasicOracle.sol +0 -1
  407. package/contracts/oracle/BasicOracleAuthorization.sol +3 -12
  408. package/contracts/oracle/IOracleComponent.sol +2 -1
  409. package/contracts/oracle/IOracleService.sol +2 -1
  410. package/contracts/oracle/Oracle.sol +21 -22
  411. package/contracts/oracle/OracleService.sol +117 -85
  412. package/contracts/oracle/OracleServiceManager.sol +8 -11
  413. package/contracts/pool/BasicPool.sol +38 -27
  414. package/contracts/pool/BasicPoolAuthorization.sol +36 -9
  415. package/contracts/pool/BundleService.sol +204 -105
  416. package/contracts/pool/BundleServiceManager.sol +8 -11
  417. package/contracts/pool/IBundleService.sol +31 -22
  418. package/contracts/pool/IPoolComponent.sol +20 -10
  419. package/contracts/pool/IPoolService.sol +90 -75
  420. package/contracts/pool/Pool.sol +145 -111
  421. package/contracts/pool/PoolLib.sol +309 -0
  422. package/contracts/pool/PoolService.sol +562 -255
  423. package/contracts/pool/PoolServiceManager.sol +6 -9
  424. package/contracts/product/ApplicationService.sol +102 -78
  425. package/contracts/product/ApplicationServiceManager.sol +6 -6
  426. package/contracts/product/BasicProduct.sol +13 -44
  427. package/contracts/product/BasicProductAuthorization.sol +25 -9
  428. package/contracts/product/ClaimService.sol +373 -175
  429. package/contracts/product/ClaimServiceManager.sol +6 -6
  430. package/contracts/product/IApplicationService.sol +9 -2
  431. package/contracts/product/IClaimService.sol +44 -8
  432. package/contracts/product/IPolicyService.sol +53 -36
  433. package/contracts/product/IPricingService.sol +11 -10
  434. package/contracts/product/IProductComponent.sol +28 -5
  435. package/contracts/product/{IProductService.sol → IRiskService.sol} +8 -8
  436. package/contracts/product/PolicyService.sol +462 -273
  437. package/contracts/product/PolicyServiceLib.sol +119 -0
  438. package/contracts/product/PolicyServiceManager.sol +6 -9
  439. package/contracts/product/PricingService.sol +71 -62
  440. package/contracts/product/PricingServiceManager.sol +6 -9
  441. package/contracts/product/Product.sol +169 -92
  442. package/contracts/product/RiskService.sol +154 -0
  443. package/contracts/product/RiskServiceManager.sol +39 -0
  444. package/contracts/registry/ChainNft.sol +72 -40
  445. package/contracts/registry/IRegistry.sol +74 -29
  446. package/contracts/registry/IRegistryService.sol +3 -10
  447. package/contracts/registry/IRelease.sol +26 -0
  448. package/contracts/registry/ITransferInterceptor.sol +1 -2
  449. package/contracts/registry/Registry.sol +368 -216
  450. package/contracts/registry/RegistryAdmin.sol +166 -273
  451. package/contracts/registry/RegistryAuthorization.sol +267 -0
  452. package/contracts/registry/RegistryService.sol +41 -66
  453. package/contracts/registry/RegistryServiceManager.sol +5 -5
  454. package/contracts/registry/ReleaseAdmin.sol +253 -0
  455. package/contracts/registry/ReleaseLifecycle.sol +8 -3
  456. package/contracts/registry/ReleaseRegistry.sol +517 -0
  457. package/contracts/registry/ServiceAuthorizationV3.sol +184 -52
  458. package/contracts/registry/TokenRegistry.sol +8 -10
  459. package/contracts/shared/Component.sol +73 -127
  460. package/contracts/shared/ComponentService.sol +459 -344
  461. package/contracts/shared/ComponentServiceManager.sol +10 -7
  462. package/contracts/shared/ComponentVerifyingService.sol +28 -17
  463. package/contracts/shared/ContractLib.sol +281 -0
  464. package/contracts/shared/IComponent.sol +8 -17
  465. package/contracts/shared/IComponentService.sol +47 -39
  466. package/contracts/shared/IInstanceLinkedComponent.sol +7 -27
  467. package/contracts/shared/ILifecycle.sol +3 -1
  468. package/contracts/shared/INftOwnable.sol +2 -0
  469. package/contracts/shared/IPolicyHolder.sol +12 -22
  470. package/contracts/shared/IRegisterable.sol +23 -1
  471. package/contracts/shared/IService.sol +4 -6
  472. package/contracts/shared/{ERC165.sol → InitializableERC165.sol} +11 -3
  473. package/contracts/shared/InstanceLinkedComponent.sol +81 -35
  474. package/contracts/shared/KeyValueStore.sol +1 -1
  475. package/contracts/shared/Lifecycle.sol +15 -4
  476. package/contracts/shared/{NftIdSetManager.sol → NftIdSet.sol} +1 -1
  477. package/contracts/shared/NftOwnable.sol +32 -11
  478. package/contracts/shared/PolicyHolder.sol +17 -57
  479. package/contracts/shared/Registerable.sol +52 -21
  480. package/contracts/shared/RegistryLinked.sol +9 -14
  481. package/contracts/shared/Service.sol +18 -36
  482. package/contracts/shared/TokenHandler.sol +310 -26
  483. package/contracts/shared/TokenHandlerDeployerLib.sol +20 -0
  484. package/contracts/staking/IStaking.sol +20 -13
  485. package/contracts/staking/IStakingService.sol +31 -9
  486. package/contracts/staking/Staking.sol +117 -84
  487. package/contracts/staking/{StakeManagerLib.sol → StakingLib.sol} +95 -45
  488. package/contracts/staking/StakingManager.sol +10 -12
  489. package/contracts/staking/StakingReader.sol +26 -33
  490. package/contracts/staking/StakingService.sol +93 -37
  491. package/contracts/staking/StakingServiceManager.sol +8 -7
  492. package/contracts/staking/StakingStore.sol +14 -23
  493. package/contracts/staking/TargetManagerLib.sol +7 -3
  494. package/contracts/type/Amount.sol +27 -5
  495. package/contracts/type/Blocknumber.sol +7 -1
  496. package/contracts/type/ClaimId.sol +6 -1
  497. package/contracts/type/Key32.sol +2 -2
  498. package/contracts/type/Key32Set.sol +62 -0
  499. package/contracts/type/NftId.sol +7 -0
  500. package/contracts/type/ObjectType.sol +60 -41
  501. package/contracts/type/PayoutId.sol +10 -10
  502. package/contracts/type/Referral.sol +1 -0
  503. package/contracts/type/RiskId.sol +38 -6
  504. package/contracts/type/RoleId.sol +23 -15
  505. package/contracts/type/Seconds.sol +21 -1
  506. package/contracts/type/Selector.sol +5 -0
  507. package/contracts/type/StateId.sol +15 -1
  508. package/contracts/type/Timestamp.sol +10 -5
  509. package/contracts/type/UFixed.sol +35 -122
  510. package/contracts/type/Version.sol +57 -6
  511. package/contracts/{shared → upgradeability}/ProxyManager.sol +71 -38
  512. package/contracts/{shared → upgradeability}/UpgradableProxyWithAdmin.sol +1 -3
  513. package/contracts/{shared → upgradeability}/Versionable.sol +2 -2
  514. package/package.json +7 -6
  515. package/artifacts/contracts/authorization/IModuleAuthorization.sol/IModuleAuthorization.dbg.json +0 -4
  516. package/artifacts/contracts/authorization/IModuleAuthorization.sol/IModuleAuthorization.json +0 -290
  517. package/artifacts/contracts/authorization/ModuleAuthorization.sol/ModuleAuthorization.dbg.json +0 -4
  518. package/artifacts/contracts/authorization/ModuleAuthorization.sol/ModuleAuthorization.json +0 -390
  519. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.dbg.json +0 -4
  520. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.json +0 -703
  521. package/artifacts/contracts/instance/base/ObjectManager.sol/ObjectManager.dbg.json +0 -4
  522. package/artifacts/contracts/instance/base/ObjectManager.sol/ObjectManager.json +0 -181
  523. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.dbg.json +0 -4
  524. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.json +0 -129
  525. package/artifacts/contracts/product/IProductService.sol/IProductService.dbg.json +0 -4
  526. package/artifacts/contracts/product/ProductService.sol/ProductService.dbg.json +0 -4
  527. package/artifacts/contracts/product/ProductService.sol/ProductService.json +0 -708
  528. package/artifacts/contracts/product/ProductServiceManager.sol/ProductServiceManager.dbg.json +0 -4
  529. package/artifacts/contracts/product/ProductServiceManager.sol/ProductServiceManager.json +0 -702
  530. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.dbg.json +0 -4
  531. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.json +0 -1159
  532. package/artifacts/contracts/shared/ERC165.sol/ERC165.dbg.json +0 -4
  533. package/artifacts/contracts/shared/ERC165.sol/ERC165.json +0 -73
  534. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.dbg.json +0 -4
  535. package/artifacts/contracts/shared/InitializableCustom.sol/InitializableCustom.dbg.json +0 -4
  536. package/artifacts/contracts/shared/InitializableCustom.sol/InitializableCustom.json +0 -39
  537. package/artifacts/contracts/shared/NftIdSetManager.sol/NftIdSetManager.dbg.json +0 -4
  538. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.dbg.json +0 -4
  539. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.json +0 -617
  540. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +0 -4
  541. package/artifacts/contracts/shared/Versionable.sol/Versionable.dbg.json +0 -4
  542. package/artifacts/contracts/staking/StakeManagerLib.sol/StakeManagerLib.dbg.json +0 -4
  543. package/artifacts/contracts/staking/StakeManagerLib.sol/StakeManagerLib.json +0 -460
  544. package/artifacts/contracts/type/UFixed.sol/MathLib.dbg.json +0 -4
  545. package/artifacts/contracts/type/UFixed.sol/MathLib.json +0 -10
  546. package/contracts/authorization/IModuleAuthorization.sol +0 -21
  547. package/contracts/authorization/ModuleAuthorization.sol +0 -78
  548. package/contracts/instance/BundleManager.sol +0 -126
  549. package/contracts/instance/base/ObjectManager.sol +0 -79
  550. package/contracts/instance/module/IAccess.sol +0 -46
  551. package/contracts/product/ProductService.sol +0 -124
  552. package/contracts/product/ProductServiceManager.sol +0 -42
  553. package/contracts/registry/ReleaseManager.sol +0 -487
  554. package/contracts/shared/InitializableCustom.sol +0 -177
  555. /package/contracts/{shared → upgradeability}/IVersionable.sol +0 -0
@@ -0,0 +1,1491 @@
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": "0x608060405234801561000f575f80fd5b50604051614eaf380380614eaf83398101604081905261002e91611146565b5f3390506101c1868686866040518060e0016040528073__$3bac17678db7ae928afa209f2f44deec9c$__636ac5db196040518163ffffffff1660e01b8152600401602060405180830381865af415801561008b573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906100af91906111e0565b6001600160601b031681526020015f151581526020015f151581526020015f151581526020015f1515815260200173__$bf7bc340cbb9229ef1de2c568356e67902$__63901717d16040518163ffffffff1660e01b8152600401602060405180830381865af4158015610124573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061014891906111fb565b815260200173__$bf7bc340cbb9229ef1de2c568356e67902$__63901717d16040518163ffffffff1660e01b8152600401602060405180830381865af4158015610194573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906101b891906111fb565b905287876101cc565b5050505050506114b5565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00805468010000000000000000810460ff1615906001600160401b03165f811580156102155750825b90505f826001600160401b031660011480156102305750303b155b90508115801561023e575080155b1561025c5760405163f92ee8a960e01b815260040160405180910390fd5b84546001600160401b0319166001178555831561028a57845460ff60401b1916680100000000000000001785555b6102998c8c8c8c8c8c8c6102ed565b83156102df57845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b505050505050505050505050565b6102f5610322565b6103198787878787878760405180602001604052805f81525061037260201b60201c565b50505050505050565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a005468010000000000000000900460ff1661037057604051631afcd79f60e31b815260040160405180910390fd5b565b61037a610322565b61039188888888600f60208a015189908989610534565b83517f25e3e51823fbfffb988e0a2744bb93722d9f3e906c07cc0a9e77884c46c58300805460208701516040880151606089015160808a01516001600160601b039096166001600160681b0319909416939093176c01000000000000000000000000921515929092029190911761ffff60681b1916600160681b9115159190910260ff60701b191617600160701b911515919091021760ff60781b1916600160781b9215159290920291909117815560a08501517f25e3e51823fbfffb988e0a2744bb93722d9f3e906c07cc0a9e77884c46c583015560c08501517f25e3e51823fbfffb988e0a2744bb93722d9f3e906c07cc0a9e77884c46c583025561049d600f610776565b610776565b6004820180546001600160a01b0319166001600160a01b03929092169190911790556104ca610498601690565b6005820180546001600160a01b0319166001600160a01b03929092169190911790556104f7610498600b90565b6003820180546001600160a01b0319166001600160a01b0392909216919091179055610529635a48579360e11b61080d565b505050505050505050565b61053c610322565b5f6105488a8a88610840565b90505f7fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f0060405163bf8e179760e01b81526001600160601b03841660048201529091506001600160a01b038c169063bf8e179790602401602060405180830381865afa1580156105ba573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906105de9190611212565b81546001600160a01b0319166001600160a01b039190911690811782556040805163bf7e214f60e01b8152905161067e929163bf7e214f9160048083019260209291908290030181865afa158015610638573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061065c9190611212565b8c8c8c8c8c8b8b60405180602001604052805f8152508c6108eb60201b60201c565b8054604080516302cd307160e01b815290516001600160a01b03909216916302cd3071916004808201926020929091908290030181865afa1580156106c5573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906106e99190611212565b6001820180546001600160a01b03199081166001600160a01b0393841617909155600283018054909116918816919091179055610727610498600b90565b6003820180546001600160a01b0319166001600160a01b0392909216919091179055610759634a531f3360e01b61080d565b61076963a9c1bc6f60e01b61080d565b5050505050505050505050565b5f6107896001546001600160a01b031690565b6001600160a01b031663d39e6043836107a0610b72565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa1580156107e3573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906108079190611212565b92915050565b610815610322565b61083d816001600160e01b0319165f908152602081905260409020805460ff19166001179055565b50565b5f60ff8216600c03610861576108588484600a610c08565b508290506108e4565b5f61086e8585600c610c08565b60405163677d3feb60e11b81526001600160601b03861660048201529091506001600160a01b0382169063cefa7fd690602401602060405180830381865afa1580156108bc573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906108e091906111e0565b9150505b9392505050565b6108f3610322565b5f896001600160a01b031663caed98976040518163ffffffff1660e01b8152600401602060405180830381865afa158015610930573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906109549190611212565b90505f8b6001600160a01b03166376b707b76040518163ffffffff1660e01b8152600401602060405180830381865afa158015610993573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906109b79190611246565b905060ff8716600314610a8257604051637d482da160e01b81526001600160a01b0380841660048301528916602482015246604482015260ff8216606482015273__$fb599632d08395912d9d70eb2f0f93b5e2$__90637d482da190608401602060405180830381865af4158015610a31573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610a559190611270565b610a8257604051638071294b60e01b81526001600160a01b03891660048201526024015b60405180910390fd5b88515f03610aa35760405163591eebf360e11b815260040160405180910390fd5b610ab28c8c8c8a8a8a8a610ccd565b7fffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f0080610ade8b8261130d565b50600181018054881515600160a01b026001600160a81b03199091166001600160a01b038c161717905560028101610b16858261130d565b50610b21600b610776565b6003820180546001600160a01b0319166001600160a01b0392909216919091179055610b53634a531f3360e01b61080d565b610b636306e9e5ff60e31b61080d565b50505050505050505050505050565b5f610ba47ff3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00546001600160a01b031690565b6001600160a01b03166376b707b76040518163ffffffff1660e01b8152600401602060405180830381865afa158015610bdf573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610c039190611246565b905090565b6040516305247a1760e51b81526001600160601b038316600482015283905f906001600160a01b0383169063a48f42e0906024015f60405180830381865afa158015610c56573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052610c7d91908101906113e5565b9050610c9481604001518460ff9081169116141590565b15610cc557604080820151905163b0c1f6eb60e01b815260ff80861660048301529091166024820152604401610a79565b509392505050565b610cd5610322565b604051632330f24760e01b81526001600160a01b038816600482015273__$fb599632d08395912d9d70eb2f0f93b5e2$__90632330f24790602401602060405180830381865af4158015610d2b573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610d4f9190611270565b610d775760405163cf6935e560e01b81526001600160a01b0388166004820152602401610a79565b610d8087610e17565b610d8a8683610e28565b5f7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166001600160681b0319909116176c0100000000000000000000000060ff8816021760ff60681b1916600160681b86151502178155905060018101610dfc838261130d565b50610e0d634a531f3360e01b61080d565b5050505050505050565b610e1f610322565b61083d81610eba565b610e30610322565b610e38610ecb565b610e4182610f13565b6001600160a01b038116610e685760405163f17ef42d60e01b815260040160405180910390fd5b7f07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f0080546001600160601b03166c010000000000000000000000006001600160a01b039093169290920291909117905550565b610ec2610322565b61083d81610fdf565b610ed3610322565b6103706301ffc9a760e01b5f9081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b610f1b610322565b604051633334d16b60e01b81526001600160a01b038216600482015273__$fb599632d08395912d9d70eb2f0f93b5e2$__90633334d16b90602401602060405180830381865af4158015610f71573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610f959190611270565b610fbd5760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610a79565b600180546001600160a01b0319166001600160a01b0392909216919091179055565b7ff3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a0080546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b6001600160a01b038116811461083d575f80fd5b805161107181611052565b919050565b6001600160601b038116811461083d575f80fd5b805161107181611076565b634e487b7160e01b5f52604160045260245ffd5b60405160e081016001600160401b03811182821017156110cb576110cb611095565b60405290565b5f806001600160401b038411156110ea576110ea611095565b50604051601f19601f85018116603f011681018181106001600160401b038211171561111857611118611095565b60405283815290508082840185101561112f575f80fd5b8383602083015e5f60208583010152509392505050565b5f805f805f60a0868803121561115a575f80fd5b855161116581611052565b602087015190955061117681611076565b60408701519094506001600160401b03811115611191575f80fd5b8601601f810188136111a1575f80fd5b6111b0888251602084016110d1565b93505060608601516111c181611052565b60808701519092506111d281611052565b809150509295509295909350565b5f602082840312156111f0575f80fd5b81516108e481611076565b5f6020828403121561120b575f80fd5b5051919050565b5f60208284031215611222575f80fd5b81516108e481611052565b60ff8116811461083d575f80fd5b80516110718161122d565b5f60208284031215611256575f80fd5b81516108e48161122d565b80518015158114611071575f80fd5b5f60208284031215611280575f80fd5b6108e482611261565b600181811c9082168061129d57607f821691505b6020821081036112bb57634e487b7160e01b5f52602260045260245ffd5b50919050565b601f82111561130857805f5260205f20601f840160051c810160208510156112e65750805b601f840160051c820191505b81811015611305575f81556001016112f2565b50505b505050565b81516001600160401b0381111561132657611326611095565b61133a816113348454611289565b846112c1565b6020601f82116001811461136c575f83156113555750848201515b5f19600385901b1c1916600184901b178455611305565b5f84815260208120601f198516915b8281101561139b578785015182556020948501946001909201910161137b565b50848210156113b857868401515f19600387901b60f8161c191681555b50505050600190811b01905550565b5f82601f8301126113d6575f80fd5b6108e4838351602085016110d1565b5f602082840312156113f5575f80fd5b81516001600160401b0381111561140a575f80fd5b820160e0818503121561141b575f80fd5b6114236110a9565b61142c8261108a565b815261143a6020830161108a565b602082015261144b6040830161123b565b604082015261145c60608301611261565b606082015261146d60808301611066565b608082015261147e60a08301611066565b60a082015260c08201516001600160401b0381111561149b575f80fd5b6114a7868285016113c7565b60c083015250949350505050565b6139ed806114c25f395ff3fe608060405234801561000f575f80fd5b5060043610610297575f3560e01c80636bd1c0eb11610161578063ad12ad60116100ca578063de7b5d1411610084578063de7b5d1414610785578063deaa59df146107b5578063ea15869f146107c8578063ee378463146107ef578063f3d0e5d214610802578063fde0a3cd1461082b575f80fd5b8063ad12ad6014610728578063ada9652e1461073b578063b423086c1461074f578063bca99e3914610757578063bf7e214f1461076a578063d0d63b0914610772575f80fd5b806385ba83441161011b57806385ba83441461056b578063893d20e8146106a45780638f503857146106ac5780638fb36037146106df57806390edbd351461070057806392f37d7814610715575f80fd5b80636bd1c0eb146104d55780636c1e9dff146105055780636f10e8a01461051857806376b707b71461052b5780637a9e5e4b146105455780638267876614610558575f80fd5b806322f3e2d41161020357806354e50779116101bd57806354e50779146104665780635741e5e9146104795780635ab1bd53146104815780635e1767ea14610492578063636450f5146104a5578063644c45e0146104b8575f80fd5b806322f3e2d4146103f657806326889b09146103fe5780632eb3e6f414610411578063419197fe1461043857806343d752d31461044b5780634deed57914610453575f80fd5b806317d7de7c1161025457806317d7de7c146103825780631c6b2190146103975780631eff4b22146103aa578063211e28b6146103d157806321df0da7146103e657806322366844146103ee575f80fd5b806301ffc9a71461029b5780630d8e6e2c146102dc5780630fec111c146102f85780630ffeecca1461030d5780631329960414610342578063138461e014610362575b5f80fd5b6102c76102a9366004612b4a565b6001600160e01b0319165f9081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b6102e461083e565b60405162ffffff90911681526020016102d3565b6103006108c5565b6040516102d39190612ba6565b6103347f25e3e51823fbfffb988e0a2744bb93722d9f3e906c07cc0a9e77884c46c5830081565b6040519081526020016102d3565b61034a610a7f565b6040516001600160a01b0390911681526020016102d3565b61036a610ae7565b6040516001600160601b0390911681526020016102d3565b61038a610af1565b6040516102d39190612c3a565b61036a6103a5366004612c60565b610b01565b6103347f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b6103e46103df366004612c88565b610b5f565b005b61034a610ba6565b6102c7610bb8565b6102c7610cae565b6103e461040c366004612ca3565b610d25565b6103347fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f0081565b6103e4610446366004612cee565b610e06565b61034a610e58565b6103e4610461366004612d0a565b610e6a565b61036a610474366004612ca3565b611026565b6102c761110a565b6001546001600160a01b031661034a565b6103346104a0366004612ebf565b6111c7565b6103e46104b3366004612f1f565b611210565b5f80516020613938833981519152546001600160601b031661036a565b7fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f02546001600160a01b031661034a565b6103e4610513366004612ca3565b6112f0565b6103e4610526366004612c60565b6113c9565b6105336114a7565b60405160ff90911681526020016102d3565b6103e4610553366004612f53565b61150f565b6103e4610566366004612f6e565b611591565b61063e6040805160e0810182525f80825260208201819052918101829052606081018290526080810182905260a0810182905260c08101919091527f25e3e51823fbfffb988e0a2744bb93722d9f3e906c07cc0a9e77884c46c583006040805160e08101825282546001600160601b038116825260ff600160601b8204811615156020840152600160681b82048116151593830193909352600160701b8104831615156060830152600160781b900490911615156080820152600182015460a082015260029091015460c0820152919050565b6040516102d391905f60e0820190506001600160601b03835116825260208301511515602083015260408301511515604083015260608301511515606083015260808301511515608083015260a083015160a083015260c083015160c083015292915050565b61034a6115e5565b6106bf6106ba366004612fc3565b611716565b604080516001600160601b039384168152929091166020830152016102d3565b6106e7611756565b6040516001600160e01b031990911681526020016102d3565b61070861178b565b6040516102d39190612fff565b6102c761072336600461305c565b6117b0565b6103e46107363660046130f7565b6117db565b6103345f8051602061393883398151915281565b61070861187d565b6103e4610765366004612c60565b61188d565b61034a6118da565b6103e4610780366004612c60565b6118f5565b7fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f00546001600160a01b031661034a565b6103e46107c3366004612f53565b6119cd565b6103347fffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f0081565b6103e46107fd366004613156565b611a1a565b610815610810366004613183565b611a30565b60405164ffffffffff90911681526020016102d3565b6103e4610839366004612c60565b611b0a565b604051632efe011360e01b8152600160048201525f60248201819052604482018190529073__$8eede297b65ed5a56eb3f84d8232ae93f5$__90632efe011390606401602060405180830381865af415801561089c573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906108c091906131af565b905090565b6040805160e0810182525f8082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820152907f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e0016040528073__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015610971573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061099591906131dc565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a0016109dd6115e5565b6001600160a01b031681526020018260010180546109fa906131f7565b80601f0160208091040260200160405190810160405280929190818152602001828054610a26906131f7565b8015610a715780601f10610a4857610100808354040283529160200191610a71565b820191905f5260205f20905b815481529060010190602001808311610a5457829003601f168201915b505050505081525091505090565b5f610a88610e58565b6001600160a01b031663132996046040518163ffffffff1660e01b8152600401602060405180830381865afa158015610ac3573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906108c0919061323a565b5f6108c030611be2565b6060610afb61178b565b51919050565b5f610b0e335b5f36611ddb565b610b166115e5565b6001600160a01b0316336001600160a01b031614610b4e5760405163086391f760e31b81523360048201526024015b60405180910390fd5b610b5782611ed1565b90505b919050565b610b676115e5565b6001600160a01b0316336001600160a01b031614610b9a5760405163086391f760e31b8152336004820152602401610b45565b610ba381611f68565b50565b5f610baf61178b565b60200151905090565b5f610bcb6001546001600160a01b031690565b604051632f2a35f760e11b81523060048201526001600160a01b039190911690635e546bee90602401602060405180830381865afa158015610c0f573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610c3391906131dc565b6040516330b8415f60e01b81526001600160601b03909116600482015273__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015610c8a573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906108c09190613260565b5f610cb76118da565b60405163a166aa8960e01b81523060048201526001600160a01b03919091169063a166aa8990602401602060405180830381865afa158015610cfb573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610d1f9190613260565b15905090565b610d2e33610b07565b81610d416001546001600160a01b031690565b604051631c5da14d60e11b81526001600160601b03831660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015610d8e573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610db2919061323a565b6001600160a01b0316336001600160a01b031614610de7578033604051636efdd32b60e11b8152600401610b4592919061327b565b826016610df48282611fde565b610dfe8585612115565b505050505050565b610e0f33610b07565b610e176115e5565b6001600160a01b0316336001600160a01b031614610e4a5760405163086391f760e31b8152336004820152602401610b45565b610e5482826121a7565b5050565b5f610e6161178b565b60400151905090565b610e7333610b07565b826015610e808282611fde565b5f610eb27fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f01546001600160a01b031690565b60405163bd7d9d8560e01b81526001600160601b0388166004820152909150610fad9087906001600160a01b0384169063bd7d9d85906024015f60405180830381865afa158015610f05573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052610f2c919081019061331e565b60e00151604051634793b4ab60e01b81526001600160601b038916600482015288906001600160a01b03861690634793b4ab906024015f60405180830381865afa158015610f7c573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052610fa391908101906134b1565b60400151886117b0565b610fd557604051636b468c9b60e01b81526001600160601b0387166004820152602401610b45565b604080513081526001600160601b03888116602083015286168183015290517fcca48a0200c526a7c48f1e770c739ef8e82d7b30e26825735858705fbcda4e079181900360600190a1505050505050565b5f61103033610b07565b826110436001546001600160a01b031690565b604051631c5da14d60e11b81526001600160601b03831660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015611090573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906110b4919061323a565b6001600160a01b0316336001600160a01b0316146110e9578033604051636efdd32b60e11b8152600401610b4592919061327b565b8360166110f68282611fde565b611100868661222c565b9695505050505050565b5f611113610bb8565b15611197576001546001600160a01b03166040516308b09a5f60e41b81523060048201526001600160a01b039190911690638b09a5f0906024015f60405180830381865afa158015611167573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f1916820160405261118e91908101906135aa565b60600151905090565b507fffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f0154600160a01b900460ff1690565b805160208201205f9060ff19906111e09060019061367a565b6040516020016111f291815260200190565b60405160208183030381529060405280519060200120169050919050565b61121933610b07565b8161122c6001546001600160a01b031690565b604051631c5da14d60e11b81526001600160601b03831660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015611279573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061129d919061323a565b6001600160a01b0316336001600160a01b0316146112d2578033604051636efdd32b60e11b8152600401610b4592919061327b565b8260166112df8282611fde565b6112e98585612279565b5050505050565b6112f933610b07565b8161130c6001546001600160a01b031690565b604051631c5da14d60e11b81526001600160601b03831660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015611359573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061137d919061323a565b6001600160a01b0316336001600160a01b0316146113b2578033604051636efdd32b60e11b8152600401610b4592919061327b565b8260166113bf8282611fde565b610dfe85856122b7565b6113d233610b07565b806113e56001546001600160a01b031690565b604051631c5da14d60e11b81526001600160601b03831660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015611432573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611456919061323a565b6001600160a01b0316336001600160a01b03161461148b578033604051636efdd32b60e11b8152600401610b4592919061327b565b8160166114988282611fde565b6114a184612304565b50505050565b5f6114b06118da565b6001600160a01b03166376b707b76040518163ffffffff1660e01b8152600401602060405180830381865afa1580156114eb573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906108c09190613699565b336115186118da565b6001600160a01b0316816001600160a01b0316146115535760405162d1953b60e31b81526001600160a01b0382166004820152602401610b45565b816001600160a01b03163b5f03611588576040516361798f2f60e11b81526001600160a01b0383166004820152602401610b45565b610e5482612349565b61159a33610b07565b6115a26115e5565b6001600160a01b0316336001600160a01b0316146115d55760405163086391f760e31b8152336004820152602401610b45565b6115e08383836123a9565b505050565b5f805f8051602061393883398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015611651573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906116759190613260565b15611700576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa1580156116d6573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906116fa919061323a565b91505090565b54600160601b90046001600160a01b0316919050565b5f8061172133610b07565b5f33905061173f81878660405180602001604052805f81525061242e565b925061174b83866122b7565b915050935093915050565b5f8051602061395883398151915280545f9190600160a01b900460ff1661177d575f6116fa565b638fb3603760e01b91505090565b611793612b12565b61179b610bb8565b156117a8576108c06124b9565b6108c061187d565b5f8560156117be8282611fde565b8560166117cb8282611fde565b5060019998505050505050505050565b6001546001600160a01b03166001600160a01b031663120726c36040518163ffffffff1660e01b8152600401602060405180830381865afa158015611822573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611846919061323a565b6001600160a01b0316336001600160a01b0316146118785760405162f0630960e01b8152336004820152602401610b45565b6114a1565b611885612b12565b6108c06124b9565b61189633610b07565b61189e6115e5565b6001600160a01b0316336001600160a01b0316146118d15760405163086391f760e31b8152336004820152602401610b45565b610ba38161269f565b5f80516020613958833981519152546001600160a01b031690565b6118fe33610b07565b806119116001546001600160a01b031690565b604051631c5da14d60e11b81526001600160601b03831660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa15801561195e573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611982919061323a565b6001600160a01b0316336001600160a01b0316146119b7578033604051636efdd32b60e11b8152600401610b4592919061327b565b8160166119c48282611fde565b6114a1846126e4565b6119d633610b07565b6119de6115e5565b6001600160a01b0316336001600160a01b031614611a115760405163086391f760e31b8152336004820152602401610b45565b610ba381612729565b611a2333610b07565b8260156112e98282611fde565b5f611a3a33610b07565b82611a4d6001546001600160a01b031690565b604051631c5da14d60e11b81526001600160601b03831660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015611a9a573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611abe919061323a565b6001600160a01b0316336001600160a01b031614611af3578033604051636efdd32b60e11b8152600401610b4592919061327b565b836016611b008282611fde565b611100868661279e565b611b1333610b07565b80611b266001546001600160a01b031690565b604051631c5da14d60e11b81526001600160601b03831660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015611b73573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611b97919061323a565b6001600160a01b0316336001600160a01b031614611bcc578033604051636efdd32b60e11b8152600401610b4592919061327b565b816016611bd98282611fde565b6114a184612842565b5f805f8051602061393883398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015611c4e573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611c729190613260565b15611c9e5780546040516301ab8b6760e21b81526001600160601b039091166004820152602401610b45565b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038581166004830152919091169063c3c5a54790602401602060405180830381865afa158015611cf0573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611d149190613260565b611d3c5760405163b9304b0d60e01b81526001600160a01b0384166004820152602401610b45565b6001546001600160a01b0316604051632f2a35f760e11b81526001600160a01b0385811660048301529190911690635e546bee90602401602060405180830381865afa158015611d8e573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611db291906131dc565b81546bffffffffffffffffffffffff19166001600160601b039190911690811790915592915050565b5f805160206139588339815191525f80611e13611df66118da565b8730611e0560045f8a8c6136b4565b611e0e916136db565b612887565b9150915081610dfe5763ffffffff811615611eae57825460ff60a01b1916600160a01b178355611e416118da565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b8152600401611e7093929190613713565b5f604051808303815f87803b158015611e87575f80fd5b505af1158015611e99573d5f803e3d5ffd5b5050845460ff60a01b1916855550610dfe9050565b60405162d1953b60e31b81526001600160a01b0387166004820152602401610b45565b5f7fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f00600301546040516301c6b21960e41b81526001600160601b03841660048201526001600160a01b0390911690631c6b2190906024016020604051808303815f875af1158015611f44573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b5791906131dc565b7fffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f035460405163108f145b60e11b815282151560048201526001600160a01b039091169063211e28b6906024015b5f604051808303815f87803b158015611fcc575f80fd5b505af11580156112e9573d5f803e3d5ffd5b60405163b2466acf60e01b815260ff8216600482015273__$0d958e68cba84670b8f4a3f2f2686b1c6b$__9063b2466acf90602401602060405180830381865af415801561202e573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906120529190613260565b61205e5761205e613752565b6001546001600160a01b0316604051635b12715d60e11b81526001600160601b038416600482015260ff831660248201526001600160a01b03919091169063b624e2ba90604401602060405180830381865afa1580156120c0573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906120e49190613260565b610e545760405163d711af7560e01b81526001600160601b038316600482015260ff82166024820152604401610b45565b5f80516020613998833981519152546040516326889b0960e01b81526001600160601b038481166004830152831660248201525f916001600160a01b0316906326889b09906044015b6020604051808303815f875af115801561217a573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061219e91906131dc565b90505b92915050565b7fffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f03546040516320c8cbff60e11b81526001600160a01b0384811660048301526001600160601b03841660248301529091169063419197fe906044015b5f604051808303815f87803b15801561221a575f80fd5b505af1158015610dfe573d5f803e3d5ffd5b5f80516020613998833981519152546040516354e5077960e01b81526001600160601b038481166004830152831660248201525f916001600160a01b0316906354e507799060440161215e565b5f8051602061397883398151915254604051630fc7479b60e11b81526001600160a01b0390911690631f8e8f36906122039085908590600401613766565b5f8051602061399883398151915254604051636c1e9dff60e01b81526001600160601b038481166004830152831660248201525f916001600160a01b031690636c1e9dff9060440161215e565b5f80516020613978833981519152546040516306fa456560e01b81526001600160601b03831660048201526001600160a01b03909116906306fa456590602401611fb5565b5f8051602061395883398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b7f25e3e51823fbfffb988e0a2744bb93722d9f3e906c07cc0a9e77884c46c583035460405163c142a30360e01b81526001600160a01b039091169063c142a303906123fc9086908690869060040161378d565b5f604051808303815f87803b158015612413575f80fd5b505af1158015612425573d5f803e3d5ffd5b50505050505050565b5f8051602061397883398151915254604051632ecfc1cb60e21b81525f916001600160a01b03169063bb3f072c906124709088908890889088906004016137c3565b6020604051808303815f875af115801561248c573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906124b091906131dc565b95945050505050565b6124c1612b12565b5f6124d46001546001600160a01b031690565b604051632f2a35f760e11b81523060048201526001600160a01b039190911690635e546bee90602401602060405180830381865afa158015612518573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061253c91906131dc565b6040516330b8415f60e01b81526001600160601b038216600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015612595573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906125b99190613260565b15612697577fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f01546001600160a01b03166001600160a01b031663f0ea17c36126155f80516020613938833981519152546001600160601b031690565b6040516001600160e01b031960e084901b1681526001600160601b0390911660048201526024015f60405180830381865afa158015612656573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f1916820160405261267d9190810190613808565b60408101519092506001600160a01b031615612697575090565b6116fa61298f565b5f805160206139988339815191525460405163bca99e3960e01b81526001600160601b03831660048201526001600160a01b039091169063bca99e3990602401611fb5565b5f805160206139988339815191525460405163d0d63b0960e01b81526001600160601b03831660048201526001600160a01b039091169063d0d63b0990602401611fb5565b6127316115e5565b6001600160a01b0316336001600160a01b0316146127645760405163086391f760e31b8152336004820152602401610b45565b61276e600b612a81565b60405163deaa59df60e01b81526001600160a01b038381166004830152919091169063deaa59df90602401611fb5565b5f7f25e3e51823fbfffb988e0a2744bb93722d9f3e906c07cc0a9e77884c46c58300600501546040516379e872e960e11b81526001600160601b038516600482015264ffffffffff841660248201526001600160a01b039091169063f3d0e5d2906044016020604051808303815f875af115801561281e573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061219e91906138d1565b5f805160206139788339815191525460405163b5346af560e01b81526001600160601b03831660048201526001600160a01b039091169063b5346af590602401611fb5565b6040516001600160a01b03848116602483015283811660448301526001600160e01b0319831660648301525f9182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b179052516128f591906138ec565b5f60405180830381855afa9150503d805f811461292d576040519150601f19603f3d011682016040523d82523d5f602084013e612932565b606091505b50915091508115612984576040815110612964578080602001905181019061295a9190613902565b9094509250612984565b602081511061298457808060200190518101906129819190613260565b93505b505094509492505050565b612997612b12565b5f7fffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f0090506040518060800160405280825f0180546129d4906131f7565b80601f0160208091040260200160405190810160405280929190818152602001828054612a00906131f7565b8015612a4b5780601f10612a2257610100808354040283529160200191612a4b565b820191905f5260205f20905b815481529060010190602001808311612a2e57829003601f168201915b505050918352505060018301546001600160a01b031660208201525f60408201526002830180546060909201916109fa906131f7565b5f612a946001546001600160a01b031690565b6001600160a01b031663d39e604383612aab6114a7565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa158015612aee573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b57919061323a565b6040518060800160405280606081526020015f6001600160a01b031681526020015f6001600160a01b03168152602001606081525090565b5f60208284031215612b5a575f80fd5b81356001600160e01b031981168114612b71575f80fd5b9392505050565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081526001600160601b0382511660208201526001600160601b03602083015116604082015260ff60408301511660608201525f6060830151612bee608084018215159052565b5060808301516001600160a01b03811660a08401525060a08301516001600160a01b03811660c08401525060c083015160e080840152612c32610100840182612b78565b949350505050565b602081525f61219e6020830184612b78565b6001600160601b0381168114610ba3575f80fd5b5f60208284031215612c70575f80fd5b8135612b7181612c4c565b8015158114610ba3575f80fd5b5f60208284031215612c98575f80fd5b8135612b7181612c7b565b5f8060408385031215612cb4575f80fd5b8235612cbf81612c4c565b91506020830135612ccf81612c4c565b809150509250929050565b6001600160a01b0381168114610ba3575f80fd5b5f8060408385031215612cff575f80fd5b8235612cbf81612cda565b5f805f60608486031215612d1c575f80fd5b8335612d2781612c4c565b92506020840135612d3781612c4c565b91506040840135612d4781612c4c565b809150509250925092565b634e487b7160e01b5f52604160045260245ffd5b604080519081016001600160401b0381118282101715612d8857612d88612d52565b60405290565b60405161020081016001600160401b0381118282101715612d8857612d88612d52565b60405160c081016001600160401b0381118282101715612d8857612d88612d52565b60405160e081016001600160401b0381118282101715612d8857612d88612d52565b604051608081016001600160401b0381118282101715612d8857612d88612d52565b604051601f8201601f191681016001600160401b0381118282101715612e3f57612e3f612d52565b604052919050565b5f6001600160401b03821115612e5f57612e5f612d52565b50601f01601f191660200190565b5f82601f830112612e7c575f80fd5b8135612e8f612e8a82612e47565b612e17565b818152846020838601011115612ea3575f80fd5b816020850160208301375f918101602001919091529392505050565b5f60208284031215612ecf575f80fd5b81356001600160401b03811115612ee4575f80fd5b612c3284828501612e6d565b5f60408284031215612f00575f80fd5b612f08612d66565b823581526020928301359281019290925250919050565b5f8060608385031215612f30575f80fd5b8235612f3b81612c4c565b9150612f4a8460208501612ef0565b90509250929050565b5f60208284031215612f63575f80fd5b8135612b7181612cda565b5f805f60c08486031215612f80575f80fd5b612f8a8585612ef0565b9250612f998560408601612ef0565b9150612fa88560808601612ef0565b90509250925092565b64ffffffffff81168114610ba3575f80fd5b5f805f60808486031215612fd5575f80fd5b612fdf8585612ef0565b92506040840135612fef81612c4c565b91506060840135612d4781612fb1565b602081525f82516080602084015261301a60a0840182612b78565b60208501516001600160a01b0390811660408681019190915286015116606080860191909152850151848203601f190160808601529091506124b08282612b78565b5f805f805f60a08688031215613070575f80fd5b853561307b81612c4c565b945060208601356001600160401b03811115613095575f80fd5b6130a188828901612e6d565b94505060408601356130b281612c4c565b925060608601356001600160401b038111156130cc575f80fd5b6130d888828901612e6d565b92505060808601356130e981612c4c565b809150509295509295909350565b5f805f806080858703121561310a575f80fd5b843561311581612cda565b9350602085013561312581612cda565b925060408501359150606085013561313c81612cda565b939692955090935050565b61ffff81168114610ba3575f80fd5b5f805f60608486031215613168575f80fd5b833561317381612c4c565b92506020840135612d3781613147565b5f8060408385031215613194575f80fd5b823561319f81612c4c565b91506020830135612ccf81612fb1565b5f602082840312156131bf575f80fd5b815162ffffff81168114612b71575f80fd5b8051610b5a81612c4c565b5f602082840312156131ec575f80fd5b8151612b7181612c4c565b600181811c9082168061320b57607f821691505b60208210810361322957634e487b7160e01b5f52602260045260245ffd5b50919050565b8051610b5a81612cda565b5f6020828403121561324a575f80fd5b8151612b7181612cda565b8051610b5a81612c7b565b5f60208284031215613270575f80fd5b8151612b7181612c7b565b6001600160601b039290921682526001600160a01b0316602082015260400190565b80516001600160c01b031981168114610b5a575f80fd5b8051610b5a81612fb1565b5f6132cc612e8a84612e47565b90508281528383830111156132df575f80fd5b8282602083015e5f602084830101529392505050565b5f82601f830112613304575f80fd5b61219e838351602085016132bf565b8051610b5a81613147565b5f6020828403121561332e575f80fd5b81516001600160401b03811115613343575f80fd5b82016102008185031215613355575f80fd5b61335d612d8e565b613366826131d1565b8152613374602083016131d1565b60208201526133856040830161329d565b60408201526133966060830161329d565b60608201526133a7608083016131d1565b60808201526133b860a083016131d1565b60a08201526133c960c083016132b4565b60c082015260e08201516001600160401b038111156133e6575f80fd5b6133f2868285016132f5565b60e0830152506101008201516001600160401b03811115613411575f80fd5b61341d868285016132f5565b610100830152506134316101208301613313565b6101208201526134446101408301613313565b61014082015261345761016083016131d1565b61016082015261346a61018083016131d1565b61018082015261347d6101a083016132b4565b6101a08201526134906101c083016132b4565b6101c08201526134a36101e083016132b4565b6101e0820152949350505050565b5f602082840312156134c1575f80fd5b81516001600160401b038111156134d6575f80fd5b820180840360e08112156134e8575f80fd5b6134f0612db1565b82516134fb81612c4c565b81526040601f198301121561350e575f80fd5b613516612d66565b6020848101518252604085015181830152820152606083015191506001600160401b03821115613544575f80fd5b613550868385016132f5565b6040820152613561608084016132b4565b606082015261357260a084016132b4565b608082015261358360c084016132b4565b60a082015295945050505050565b60ff81168114610ba3575f80fd5b8051610b5a81613591565b5f602082840312156135ba575f80fd5b81516001600160401b038111156135cf575f80fd5b820160e081850312156135e0575f80fd5b6135e8612dd3565b6135f1826131d1565b81526135ff602083016131d1565b60208201526136106040830161359f565b604082015261362160608301613255565b60608201526136326080830161322f565b608082015261364360a0830161322f565b60a082015260c08201516001600160401b03811115613660575f80fd5b61366c868285016132f5565b60c083015250949350505050565b818103818111156121a157634e487b7160e01b5f52601160045260245ffd5b5f602082840312156136a9575f80fd5b8151612b7181613591565b5f80858511156136c2575f80fd5b838611156136ce575f80fd5b5050820193919092039150565b80356001600160e01b0319811690600484101561370c576001600160e01b0319600485900360031b81901b82161691505b5092915050565b6001600160a01b03841681526040602082018190528101829052818360608301375f818301606090810191909152601f909201601f1916010192915050565b634e487b7160e01b5f52600160045260245ffd5b6001600160601b038316815260608101612b71602083018480518252602090810151910152565b8351815260208085015181830152835160408301528381015160608301528251608083015282015160a082015260c08101612c32565b6001600160a01b03851681526137e6602082018580518252602090810151910152565b64ffffffffff8316606082015260a060808201525f61110060a0830184612b78565b5f60208284031215613818575f80fd5b81516001600160401b0381111561382d575f80fd5b82016080818503121561383e575f80fd5b613846612df5565b81516001600160401b0381111561385b575f80fd5b8201601f8101861361386b575f80fd5b61387a868251602084016132bf565b8252506138896020830161322f565b602082015261389a6040830161322f565b604082015260608201516001600160401b038111156138b7575f80fd5b6138c3868285016132f5565b606083015250949350505050565b5f602082840312156138e1575f80fd5b8151612b7181612fb1565b5f82518060208501845e5f920191825250919050565b5f8060408385031215613913575f80fd5b825161391e81612c7b565b602084015190925063ffffffff81168114612ccf575f80fdfe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a0025e3e51823fbfffb988e0a2744bb93722d9f3e906c07cc0a9e77884c46c5830525e3e51823fbfffb988e0a2744bb93722d9f3e906c07cc0a9e77884c46c58304a2646970667358221220cadf3a876139bc942980621c1fbbd5e5bb9db6ec5eb19121822bd00f785e306564736f6c634300081a0033",
1370
+ "deployedBytecode": "0x608060405234801561000f575f80fd5b5060043610610297575f3560e01c80636bd1c0eb11610161578063ad12ad60116100ca578063de7b5d1411610084578063de7b5d1414610785578063deaa59df146107b5578063ea15869f146107c8578063ee378463146107ef578063f3d0e5d214610802578063fde0a3cd1461082b575f80fd5b8063ad12ad6014610728578063ada9652e1461073b578063b423086c1461074f578063bca99e3914610757578063bf7e214f1461076a578063d0d63b0914610772575f80fd5b806385ba83441161011b57806385ba83441461056b578063893d20e8146106a45780638f503857146106ac5780638fb36037146106df57806390edbd351461070057806392f37d7814610715575f80fd5b80636bd1c0eb146104d55780636c1e9dff146105055780636f10e8a01461051857806376b707b71461052b5780637a9e5e4b146105455780638267876614610558575f80fd5b806322f3e2d41161020357806354e50779116101bd57806354e50779146104665780635741e5e9146104795780635ab1bd53146104815780635e1767ea14610492578063636450f5146104a5578063644c45e0146104b8575f80fd5b806322f3e2d4146103f657806326889b09146103fe5780632eb3e6f414610411578063419197fe1461043857806343d752d31461044b5780634deed57914610453575f80fd5b806317d7de7c1161025457806317d7de7c146103825780631c6b2190146103975780631eff4b22146103aa578063211e28b6146103d157806321df0da7146103e657806322366844146103ee575f80fd5b806301ffc9a71461029b5780630d8e6e2c146102dc5780630fec111c146102f85780630ffeecca1461030d5780631329960414610342578063138461e014610362575b5f80fd5b6102c76102a9366004612b4a565b6001600160e01b0319165f9081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b6102e461083e565b60405162ffffff90911681526020016102d3565b6103006108c5565b6040516102d39190612ba6565b6103347f25e3e51823fbfffb988e0a2744bb93722d9f3e906c07cc0a9e77884c46c5830081565b6040519081526020016102d3565b61034a610a7f565b6040516001600160a01b0390911681526020016102d3565b61036a610ae7565b6040516001600160601b0390911681526020016102d3565b61038a610af1565b6040516102d39190612c3a565b61036a6103a5366004612c60565b610b01565b6103347f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b6103e46103df366004612c88565b610b5f565b005b61034a610ba6565b6102c7610bb8565b6102c7610cae565b6103e461040c366004612ca3565b610d25565b6103347fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f0081565b6103e4610446366004612cee565b610e06565b61034a610e58565b6103e4610461366004612d0a565b610e6a565b61036a610474366004612ca3565b611026565b6102c761110a565b6001546001600160a01b031661034a565b6103346104a0366004612ebf565b6111c7565b6103e46104b3366004612f1f565b611210565b5f80516020613938833981519152546001600160601b031661036a565b7fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f02546001600160a01b031661034a565b6103e4610513366004612ca3565b6112f0565b6103e4610526366004612c60565b6113c9565b6105336114a7565b60405160ff90911681526020016102d3565b6103e4610553366004612f53565b61150f565b6103e4610566366004612f6e565b611591565b61063e6040805160e0810182525f80825260208201819052918101829052606081018290526080810182905260a0810182905260c08101919091527f25e3e51823fbfffb988e0a2744bb93722d9f3e906c07cc0a9e77884c46c583006040805160e08101825282546001600160601b038116825260ff600160601b8204811615156020840152600160681b82048116151593830193909352600160701b8104831615156060830152600160781b900490911615156080820152600182015460a082015260029091015460c0820152919050565b6040516102d391905f60e0820190506001600160601b03835116825260208301511515602083015260408301511515604083015260608301511515606083015260808301511515608083015260a083015160a083015260c083015160c083015292915050565b61034a6115e5565b6106bf6106ba366004612fc3565b611716565b604080516001600160601b039384168152929091166020830152016102d3565b6106e7611756565b6040516001600160e01b031990911681526020016102d3565b61070861178b565b6040516102d39190612fff565b6102c761072336600461305c565b6117b0565b6103e46107363660046130f7565b6117db565b6103345f8051602061393883398151915281565b61070861187d565b6103e4610765366004612c60565b61188d565b61034a6118da565b6103e4610780366004612c60565b6118f5565b7fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f00546001600160a01b031661034a565b6103e46107c3366004612f53565b6119cd565b6103347fffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f0081565b6103e46107fd366004613156565b611a1a565b610815610810366004613183565b611a30565b60405164ffffffffff90911681526020016102d3565b6103e4610839366004612c60565b611b0a565b604051632efe011360e01b8152600160048201525f60248201819052604482018190529073__$8eede297b65ed5a56eb3f84d8232ae93f5$__90632efe011390606401602060405180830381865af415801561089c573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906108c091906131af565b905090565b6040805160e0810182525f8082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820152907f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e0016040528073__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015610971573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061099591906131dc565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a0016109dd6115e5565b6001600160a01b031681526020018260010180546109fa906131f7565b80601f0160208091040260200160405190810160405280929190818152602001828054610a26906131f7565b8015610a715780601f10610a4857610100808354040283529160200191610a71565b820191905f5260205f20905b815481529060010190602001808311610a5457829003601f168201915b505050505081525091505090565b5f610a88610e58565b6001600160a01b031663132996046040518163ffffffff1660e01b8152600401602060405180830381865afa158015610ac3573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906108c0919061323a565b5f6108c030611be2565b6060610afb61178b565b51919050565b5f610b0e335b5f36611ddb565b610b166115e5565b6001600160a01b0316336001600160a01b031614610b4e5760405163086391f760e31b81523360048201526024015b60405180910390fd5b610b5782611ed1565b90505b919050565b610b676115e5565b6001600160a01b0316336001600160a01b031614610b9a5760405163086391f760e31b8152336004820152602401610b45565b610ba381611f68565b50565b5f610baf61178b565b60200151905090565b5f610bcb6001546001600160a01b031690565b604051632f2a35f760e11b81523060048201526001600160a01b039190911690635e546bee90602401602060405180830381865afa158015610c0f573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610c3391906131dc565b6040516330b8415f60e01b81526001600160601b03909116600482015273__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015610c8a573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906108c09190613260565b5f610cb76118da565b60405163a166aa8960e01b81523060048201526001600160a01b03919091169063a166aa8990602401602060405180830381865afa158015610cfb573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610d1f9190613260565b15905090565b610d2e33610b07565b81610d416001546001600160a01b031690565b604051631c5da14d60e11b81526001600160601b03831660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015610d8e573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610db2919061323a565b6001600160a01b0316336001600160a01b031614610de7578033604051636efdd32b60e11b8152600401610b4592919061327b565b826016610df48282611fde565b610dfe8585612115565b505050505050565b610e0f33610b07565b610e176115e5565b6001600160a01b0316336001600160a01b031614610e4a5760405163086391f760e31b8152336004820152602401610b45565b610e5482826121a7565b5050565b5f610e6161178b565b60400151905090565b610e7333610b07565b826015610e808282611fde565b5f610eb27fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f01546001600160a01b031690565b60405163bd7d9d8560e01b81526001600160601b0388166004820152909150610fad9087906001600160a01b0384169063bd7d9d85906024015f60405180830381865afa158015610f05573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052610f2c919081019061331e565b60e00151604051634793b4ab60e01b81526001600160601b038916600482015288906001600160a01b03861690634793b4ab906024015f60405180830381865afa158015610f7c573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052610fa391908101906134b1565b60400151886117b0565b610fd557604051636b468c9b60e01b81526001600160601b0387166004820152602401610b45565b604080513081526001600160601b03888116602083015286168183015290517fcca48a0200c526a7c48f1e770c739ef8e82d7b30e26825735858705fbcda4e079181900360600190a1505050505050565b5f61103033610b07565b826110436001546001600160a01b031690565b604051631c5da14d60e11b81526001600160601b03831660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015611090573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906110b4919061323a565b6001600160a01b0316336001600160a01b0316146110e9578033604051636efdd32b60e11b8152600401610b4592919061327b565b8360166110f68282611fde565b611100868661222c565b9695505050505050565b5f611113610bb8565b15611197576001546001600160a01b03166040516308b09a5f60e41b81523060048201526001600160a01b039190911690638b09a5f0906024015f60405180830381865afa158015611167573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f1916820160405261118e91908101906135aa565b60600151905090565b507fffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f0154600160a01b900460ff1690565b805160208201205f9060ff19906111e09060019061367a565b6040516020016111f291815260200190565b60405160208183030381529060405280519060200120169050919050565b61121933610b07565b8161122c6001546001600160a01b031690565b604051631c5da14d60e11b81526001600160601b03831660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015611279573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061129d919061323a565b6001600160a01b0316336001600160a01b0316146112d2578033604051636efdd32b60e11b8152600401610b4592919061327b565b8260166112df8282611fde565b6112e98585612279565b5050505050565b6112f933610b07565b8161130c6001546001600160a01b031690565b604051631c5da14d60e11b81526001600160601b03831660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015611359573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061137d919061323a565b6001600160a01b0316336001600160a01b0316146113b2578033604051636efdd32b60e11b8152600401610b4592919061327b565b8260166113bf8282611fde565b610dfe85856122b7565b6113d233610b07565b806113e56001546001600160a01b031690565b604051631c5da14d60e11b81526001600160601b03831660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015611432573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611456919061323a565b6001600160a01b0316336001600160a01b03161461148b578033604051636efdd32b60e11b8152600401610b4592919061327b565b8160166114988282611fde565b6114a184612304565b50505050565b5f6114b06118da565b6001600160a01b03166376b707b76040518163ffffffff1660e01b8152600401602060405180830381865afa1580156114eb573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906108c09190613699565b336115186118da565b6001600160a01b0316816001600160a01b0316146115535760405162d1953b60e31b81526001600160a01b0382166004820152602401610b45565b816001600160a01b03163b5f03611588576040516361798f2f60e11b81526001600160a01b0383166004820152602401610b45565b610e5482612349565b61159a33610b07565b6115a26115e5565b6001600160a01b0316336001600160a01b0316146115d55760405163086391f760e31b8152336004820152602401610b45565b6115e08383836123a9565b505050565b5f805f8051602061393883398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015611651573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906116759190613260565b15611700576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa1580156116d6573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906116fa919061323a565b91505090565b54600160601b90046001600160a01b0316919050565b5f8061172133610b07565b5f33905061173f81878660405180602001604052805f81525061242e565b925061174b83866122b7565b915050935093915050565b5f8051602061395883398151915280545f9190600160a01b900460ff1661177d575f6116fa565b638fb3603760e01b91505090565b611793612b12565b61179b610bb8565b156117a8576108c06124b9565b6108c061187d565b5f8560156117be8282611fde565b8560166117cb8282611fde565b5060019998505050505050505050565b6001546001600160a01b03166001600160a01b031663120726c36040518163ffffffff1660e01b8152600401602060405180830381865afa158015611822573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611846919061323a565b6001600160a01b0316336001600160a01b0316146118785760405162f0630960e01b8152336004820152602401610b45565b6114a1565b611885612b12565b6108c06124b9565b61189633610b07565b61189e6115e5565b6001600160a01b0316336001600160a01b0316146118d15760405163086391f760e31b8152336004820152602401610b45565b610ba38161269f565b5f80516020613958833981519152546001600160a01b031690565b6118fe33610b07565b806119116001546001600160a01b031690565b604051631c5da14d60e11b81526001600160601b03831660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa15801561195e573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611982919061323a565b6001600160a01b0316336001600160a01b0316146119b7578033604051636efdd32b60e11b8152600401610b4592919061327b565b8160166119c48282611fde565b6114a1846126e4565b6119d633610b07565b6119de6115e5565b6001600160a01b0316336001600160a01b031614611a115760405163086391f760e31b8152336004820152602401610b45565b610ba381612729565b611a2333610b07565b8260156112e98282611fde565b5f611a3a33610b07565b82611a4d6001546001600160a01b031690565b604051631c5da14d60e11b81526001600160601b03831660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015611a9a573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611abe919061323a565b6001600160a01b0316336001600160a01b031614611af3578033604051636efdd32b60e11b8152600401610b4592919061327b565b836016611b008282611fde565b611100868661279e565b611b1333610b07565b80611b266001546001600160a01b031690565b604051631c5da14d60e11b81526001600160601b03831660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015611b73573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611b97919061323a565b6001600160a01b0316336001600160a01b031614611bcc578033604051636efdd32b60e11b8152600401610b4592919061327b565b816016611bd98282611fde565b6114a184612842565b5f805f8051602061393883398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015611c4e573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611c729190613260565b15611c9e5780546040516301ab8b6760e21b81526001600160601b039091166004820152602401610b45565b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038581166004830152919091169063c3c5a54790602401602060405180830381865afa158015611cf0573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611d149190613260565b611d3c5760405163b9304b0d60e01b81526001600160a01b0384166004820152602401610b45565b6001546001600160a01b0316604051632f2a35f760e11b81526001600160a01b0385811660048301529190911690635e546bee90602401602060405180830381865afa158015611d8e573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611db291906131dc565b81546bffffffffffffffffffffffff19166001600160601b039190911690811790915592915050565b5f805160206139588339815191525f80611e13611df66118da565b8730611e0560045f8a8c6136b4565b611e0e916136db565b612887565b9150915081610dfe5763ffffffff811615611eae57825460ff60a01b1916600160a01b178355611e416118da565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b8152600401611e7093929190613713565b5f604051808303815f87803b158015611e87575f80fd5b505af1158015611e99573d5f803e3d5ffd5b5050845460ff60a01b1916855550610dfe9050565b60405162d1953b60e31b81526001600160a01b0387166004820152602401610b45565b5f7fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f00600301546040516301c6b21960e41b81526001600160601b03841660048201526001600160a01b0390911690631c6b2190906024016020604051808303815f875af1158015611f44573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b5791906131dc565b7fffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f035460405163108f145b60e11b815282151560048201526001600160a01b039091169063211e28b6906024015b5f604051808303815f87803b158015611fcc575f80fd5b505af11580156112e9573d5f803e3d5ffd5b60405163b2466acf60e01b815260ff8216600482015273__$0d958e68cba84670b8f4a3f2f2686b1c6b$__9063b2466acf90602401602060405180830381865af415801561202e573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906120529190613260565b61205e5761205e613752565b6001546001600160a01b0316604051635b12715d60e11b81526001600160601b038416600482015260ff831660248201526001600160a01b03919091169063b624e2ba90604401602060405180830381865afa1580156120c0573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906120e49190613260565b610e545760405163d711af7560e01b81526001600160601b038316600482015260ff82166024820152604401610b45565b5f80516020613998833981519152546040516326889b0960e01b81526001600160601b038481166004830152831660248201525f916001600160a01b0316906326889b09906044015b6020604051808303815f875af115801561217a573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061219e91906131dc565b90505b92915050565b7fffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f03546040516320c8cbff60e11b81526001600160a01b0384811660048301526001600160601b03841660248301529091169063419197fe906044015b5f604051808303815f87803b15801561221a575f80fd5b505af1158015610dfe573d5f803e3d5ffd5b5f80516020613998833981519152546040516354e5077960e01b81526001600160601b038481166004830152831660248201525f916001600160a01b0316906354e507799060440161215e565b5f8051602061397883398151915254604051630fc7479b60e11b81526001600160a01b0390911690631f8e8f36906122039085908590600401613766565b5f8051602061399883398151915254604051636c1e9dff60e01b81526001600160601b038481166004830152831660248201525f916001600160a01b031690636c1e9dff9060440161215e565b5f80516020613978833981519152546040516306fa456560e01b81526001600160601b03831660048201526001600160a01b03909116906306fa456590602401611fb5565b5f8051602061395883398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b7f25e3e51823fbfffb988e0a2744bb93722d9f3e906c07cc0a9e77884c46c583035460405163c142a30360e01b81526001600160a01b039091169063c142a303906123fc9086908690869060040161378d565b5f604051808303815f87803b158015612413575f80fd5b505af1158015612425573d5f803e3d5ffd5b50505050505050565b5f8051602061397883398151915254604051632ecfc1cb60e21b81525f916001600160a01b03169063bb3f072c906124709088908890889088906004016137c3565b6020604051808303815f875af115801561248c573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906124b091906131dc565b95945050505050565b6124c1612b12565b5f6124d46001546001600160a01b031690565b604051632f2a35f760e11b81523060048201526001600160a01b039190911690635e546bee90602401602060405180830381865afa158015612518573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061253c91906131dc565b6040516330b8415f60e01b81526001600160601b038216600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015612595573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906125b99190613260565b15612697577fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f01546001600160a01b03166001600160a01b031663f0ea17c36126155f80516020613938833981519152546001600160601b031690565b6040516001600160e01b031960e084901b1681526001600160601b0390911660048201526024015f60405180830381865afa158015612656573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f1916820160405261267d9190810190613808565b60408101519092506001600160a01b031615612697575090565b6116fa61298f565b5f805160206139988339815191525460405163bca99e3960e01b81526001600160601b03831660048201526001600160a01b039091169063bca99e3990602401611fb5565b5f805160206139988339815191525460405163d0d63b0960e01b81526001600160601b03831660048201526001600160a01b039091169063d0d63b0990602401611fb5565b6127316115e5565b6001600160a01b0316336001600160a01b0316146127645760405163086391f760e31b8152336004820152602401610b45565b61276e600b612a81565b60405163deaa59df60e01b81526001600160a01b038381166004830152919091169063deaa59df90602401611fb5565b5f7f25e3e51823fbfffb988e0a2744bb93722d9f3e906c07cc0a9e77884c46c58300600501546040516379e872e960e11b81526001600160601b038516600482015264ffffffffff841660248201526001600160a01b039091169063f3d0e5d2906044016020604051808303815f875af115801561281e573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061219e91906138d1565b5f805160206139788339815191525460405163b5346af560e01b81526001600160601b03831660048201526001600160a01b039091169063b5346af590602401611fb5565b6040516001600160a01b03848116602483015283811660448301526001600160e01b0319831660648301525f9182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b179052516128f591906138ec565b5f60405180830381855afa9150503d805f811461292d576040519150601f19603f3d011682016040523d82523d5f602084013e612932565b606091505b50915091508115612984576040815110612964578080602001905181019061295a9190613902565b9094509250612984565b602081511061298457808060200190518101906129819190613260565b93505b505094509492505050565b612997612b12565b5f7fffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f0090506040518060800160405280825f0180546129d4906131f7565b80601f0160208091040260200160405190810160405280929190818152602001828054612a00906131f7565b8015612a4b5780601f10612a2257610100808354040283529160200191612a4b565b820191905f5260205f20905b815481529060010190602001808311612a2e57829003601f168201915b505050918352505060018301546001600160a01b031660208201525f60408201526002830180546060909201916109fa906131f7565b5f612a946001546001600160a01b031690565b6001600160a01b031663d39e604383612aab6114a7565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa158015612aee573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b57919061323a565b6040518060800160405280606081526020015f6001600160a01b031681526020015f6001600160a01b03168152602001606081525090565b5f60208284031215612b5a575f80fd5b81356001600160e01b031981168114612b71575f80fd5b9392505050565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081526001600160601b0382511660208201526001600160601b03602083015116604082015260ff60408301511660608201525f6060830151612bee608084018215159052565b5060808301516001600160a01b03811660a08401525060a08301516001600160a01b03811660c08401525060c083015160e080840152612c32610100840182612b78565b949350505050565b602081525f61219e6020830184612b78565b6001600160601b0381168114610ba3575f80fd5b5f60208284031215612c70575f80fd5b8135612b7181612c4c565b8015158114610ba3575f80fd5b5f60208284031215612c98575f80fd5b8135612b7181612c7b565b5f8060408385031215612cb4575f80fd5b8235612cbf81612c4c565b91506020830135612ccf81612c4c565b809150509250929050565b6001600160a01b0381168114610ba3575f80fd5b5f8060408385031215612cff575f80fd5b8235612cbf81612cda565b5f805f60608486031215612d1c575f80fd5b8335612d2781612c4c565b92506020840135612d3781612c4c565b91506040840135612d4781612c4c565b809150509250925092565b634e487b7160e01b5f52604160045260245ffd5b604080519081016001600160401b0381118282101715612d8857612d88612d52565b60405290565b60405161020081016001600160401b0381118282101715612d8857612d88612d52565b60405160c081016001600160401b0381118282101715612d8857612d88612d52565b60405160e081016001600160401b0381118282101715612d8857612d88612d52565b604051608081016001600160401b0381118282101715612d8857612d88612d52565b604051601f8201601f191681016001600160401b0381118282101715612e3f57612e3f612d52565b604052919050565b5f6001600160401b03821115612e5f57612e5f612d52565b50601f01601f191660200190565b5f82601f830112612e7c575f80fd5b8135612e8f612e8a82612e47565b612e17565b818152846020838601011115612ea3575f80fd5b816020850160208301375f918101602001919091529392505050565b5f60208284031215612ecf575f80fd5b81356001600160401b03811115612ee4575f80fd5b612c3284828501612e6d565b5f60408284031215612f00575f80fd5b612f08612d66565b823581526020928301359281019290925250919050565b5f8060608385031215612f30575f80fd5b8235612f3b81612c4c565b9150612f4a8460208501612ef0565b90509250929050565b5f60208284031215612f63575f80fd5b8135612b7181612cda565b5f805f60c08486031215612f80575f80fd5b612f8a8585612ef0565b9250612f998560408601612ef0565b9150612fa88560808601612ef0565b90509250925092565b64ffffffffff81168114610ba3575f80fd5b5f805f60808486031215612fd5575f80fd5b612fdf8585612ef0565b92506040840135612fef81612c4c565b91506060840135612d4781612fb1565b602081525f82516080602084015261301a60a0840182612b78565b60208501516001600160a01b0390811660408681019190915286015116606080860191909152850151848203601f190160808601529091506124b08282612b78565b5f805f805f60a08688031215613070575f80fd5b853561307b81612c4c565b945060208601356001600160401b03811115613095575f80fd5b6130a188828901612e6d565b94505060408601356130b281612c4c565b925060608601356001600160401b038111156130cc575f80fd5b6130d888828901612e6d565b92505060808601356130e981612c4c565b809150509295509295909350565b5f805f806080858703121561310a575f80fd5b843561311581612cda565b9350602085013561312581612cda565b925060408501359150606085013561313c81612cda565b939692955090935050565b61ffff81168114610ba3575f80fd5b5f805f60608486031215613168575f80fd5b833561317381612c4c565b92506020840135612d3781613147565b5f8060408385031215613194575f80fd5b823561319f81612c4c565b91506020830135612ccf81612fb1565b5f602082840312156131bf575f80fd5b815162ffffff81168114612b71575f80fd5b8051610b5a81612c4c565b5f602082840312156131ec575f80fd5b8151612b7181612c4c565b600181811c9082168061320b57607f821691505b60208210810361322957634e487b7160e01b5f52602260045260245ffd5b50919050565b8051610b5a81612cda565b5f6020828403121561324a575f80fd5b8151612b7181612cda565b8051610b5a81612c7b565b5f60208284031215613270575f80fd5b8151612b7181612c7b565b6001600160601b039290921682526001600160a01b0316602082015260400190565b80516001600160c01b031981168114610b5a575f80fd5b8051610b5a81612fb1565b5f6132cc612e8a84612e47565b90508281528383830111156132df575f80fd5b8282602083015e5f602084830101529392505050565b5f82601f830112613304575f80fd5b61219e838351602085016132bf565b8051610b5a81613147565b5f6020828403121561332e575f80fd5b81516001600160401b03811115613343575f80fd5b82016102008185031215613355575f80fd5b61335d612d8e565b613366826131d1565b8152613374602083016131d1565b60208201526133856040830161329d565b60408201526133966060830161329d565b60608201526133a7608083016131d1565b60808201526133b860a083016131d1565b60a08201526133c960c083016132b4565b60c082015260e08201516001600160401b038111156133e6575f80fd5b6133f2868285016132f5565b60e0830152506101008201516001600160401b03811115613411575f80fd5b61341d868285016132f5565b610100830152506134316101208301613313565b6101208201526134446101408301613313565b61014082015261345761016083016131d1565b61016082015261346a61018083016131d1565b61018082015261347d6101a083016132b4565b6101a08201526134906101c083016132b4565b6101c08201526134a36101e083016132b4565b6101e0820152949350505050565b5f602082840312156134c1575f80fd5b81516001600160401b038111156134d6575f80fd5b820180840360e08112156134e8575f80fd5b6134f0612db1565b82516134fb81612c4c565b81526040601f198301121561350e575f80fd5b613516612d66565b6020848101518252604085015181830152820152606083015191506001600160401b03821115613544575f80fd5b613550868385016132f5565b6040820152613561608084016132b4565b606082015261357260a084016132b4565b608082015261358360c084016132b4565b60a082015295945050505050565b60ff81168114610ba3575f80fd5b8051610b5a81613591565b5f602082840312156135ba575f80fd5b81516001600160401b038111156135cf575f80fd5b820160e081850312156135e0575f80fd5b6135e8612dd3565b6135f1826131d1565b81526135ff602083016131d1565b60208201526136106040830161359f565b604082015261362160608301613255565b60608201526136326080830161322f565b608082015261364360a0830161322f565b60a082015260c08201516001600160401b03811115613660575f80fd5b61366c868285016132f5565b60c083015250949350505050565b818103818111156121a157634e487b7160e01b5f52601160045260245ffd5b5f602082840312156136a9575f80fd5b8151612b7181613591565b5f80858511156136c2575f80fd5b838611156136ce575f80fd5b5050820193919092039150565b80356001600160e01b0319811690600484101561370c576001600160e01b0319600485900360031b81901b82161691505b5092915050565b6001600160a01b03841681526040602082018190528101829052818360608301375f818301606090810191909152601f909201601f1916010192915050565b634e487b7160e01b5f52600160045260245ffd5b6001600160601b038316815260608101612b71602083018480518252602090810151910152565b8351815260208085015181830152835160408301528381015160608301528251608083015282015160a082015260c08101612c32565b6001600160a01b03851681526137e6602082018580518252602090810151910152565b64ffffffffff8316606082015260a060808201525f61110060a0830184612b78565b5f60208284031215613818575f80fd5b81516001600160401b0381111561382d575f80fd5b82016080818503121561383e575f80fd5b613846612df5565b81516001600160401b0381111561385b575f80fd5b8201601f8101861361386b575f80fd5b61387a868251602084016132bf565b8252506138896020830161322f565b602082015261389a6040830161322f565b604082015260608201516001600160401b038111156138b7575f80fd5b6138c3868285016132f5565b606083015250949350505050565b5f602082840312156138e1575f80fd5b8151612b7181612fb1565b5f82518060208501845e5f920191825250919050565b5f8060408385031215613913575f80fd5b825161391e81612c7b565b602084015190925063ffffffff81168114612ccf575f80fdfe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a0025e3e51823fbfffb988e0a2744bb93722d9f3e906c07cc0a9e77884c46c5830525e3e51823fbfffb988e0a2744bb93722d9f3e906c07cc0a9e77884c46c58304a2646970667358221220cadf3a876139bc942980621c1fbbd5e5bb9db6ec5eb19121822bd00f785e306564736f6c634300081a0033",
1371
+ "linkReferences": {
1372
+ "contracts/shared/ContractLib.sol": {
1373
+ "ContractLib": [
1374
+ {
1375
+ "length": 20,
1376
+ "start": 2553
1377
+ },
1378
+ {
1379
+ "length": 20,
1380
+ "start": 3315
1381
+ },
1382
+ {
1383
+ "length": 20,
1384
+ "start": 3897
1385
+ }
1386
+ ]
1387
+ },
1388
+ "contracts/type/Amount.sol": {
1389
+ "AmountLib": [
1390
+ {
1391
+ "length": 20,
1392
+ "start": 70
1393
+ }
1394
+ ]
1395
+ },
1396
+ "contracts/type/NftId.sol": {
1397
+ "NftIdLib": [
1398
+ {
1399
+ "length": 20,
1400
+ "start": 7662
1401
+ },
1402
+ {
1403
+ "length": 20,
1404
+ "start": 8468
1405
+ },
1406
+ {
1407
+ "length": 20,
1408
+ "start": 10971
1409
+ },
1410
+ {
1411
+ "length": 20,
1412
+ "start": 12504
1413
+ },
1414
+ {
1415
+ "length": 20,
1416
+ "start": 14879
1417
+ }
1418
+ ]
1419
+ },
1420
+ "contracts/type/ObjectType.sol": {
1421
+ "ObjectTypeLib": [
1422
+ {
1423
+ "length": 20,
1424
+ "start": 13496
1425
+ }
1426
+ ]
1427
+ },
1428
+ "contracts/type/UFixed.sol": {
1429
+ "UFixedLib": [
1430
+ {
1431
+ "length": 20,
1432
+ "start": 223
1433
+ },
1434
+ {
1435
+ "length": 20,
1436
+ "start": 335
1437
+ }
1438
+ ]
1439
+ },
1440
+ "contracts/type/Version.sol": {
1441
+ "VersionLib": [
1442
+ {
1443
+ "length": 20,
1444
+ "start": 7462
1445
+ }
1446
+ ]
1447
+ }
1448
+ },
1449
+ "deployedLinkReferences": {
1450
+ "contracts/type/NftId.sol": {
1451
+ "NftIdLib": [
1452
+ {
1453
+ "length": 20,
1454
+ "start": 2348
1455
+ },
1456
+ {
1457
+ "length": 20,
1458
+ "start": 3154
1459
+ },
1460
+ {
1461
+ "length": 20,
1462
+ "start": 5657
1463
+ },
1464
+ {
1465
+ "length": 20,
1466
+ "start": 7190
1467
+ },
1468
+ {
1469
+ "length": 20,
1470
+ "start": 9565
1471
+ }
1472
+ ]
1473
+ },
1474
+ "contracts/type/ObjectType.sol": {
1475
+ "ObjectTypeLib": [
1476
+ {
1477
+ "length": 20,
1478
+ "start": 8182
1479
+ }
1480
+ ]
1481
+ },
1482
+ "contracts/type/Version.sol": {
1483
+ "VersionLib": [
1484
+ {
1485
+ "length": 20,
1486
+ "start": 2148
1487
+ }
1488
+ ]
1489
+ }
1490
+ }
1491
+ }