@etherisc/gif-next 0.0.2-e0ff180-567 → 0.0.2-e14821a-976

Sign up to get free protection for your applications and to get access to all the features.
Files changed (739) hide show
  1. package/README.md +153 -22
  2. package/artifacts/contracts/accounting/AccountingService.sol/AccountingService.dbg.json +4 -0
  3. package/artifacts/contracts/accounting/AccountingService.sol/AccountingService.json +1088 -0
  4. package/artifacts/contracts/accounting/AccountingServiceManager.sol/AccountingServiceManager.dbg.json +4 -0
  5. package/artifacts/contracts/accounting/AccountingServiceManager.sol/AccountingServiceManager.json +803 -0
  6. package/artifacts/contracts/accounting/IAccountingService.sol/IAccountingService.dbg.json +4 -0
  7. package/artifacts/contracts/accounting/IAccountingService.sol/IAccountingService.json +843 -0
  8. package/artifacts/contracts/authorization/AccessAdmin.sol/AccessAdmin.dbg.json +4 -0
  9. package/artifacts/contracts/authorization/AccessAdmin.sol/AccessAdmin.json +1664 -0
  10. package/artifacts/contracts/authorization/AccessAdminLib.sol/AccessAdminLib.dbg.json +4 -0
  11. package/artifacts/contracts/authorization/AccessAdminLib.sol/AccessAdminLib.json +1289 -0
  12. package/artifacts/contracts/authorization/AccessManagerCloneable.sol/AccessManagerCloneable.dbg.json +4 -0
  13. package/artifacts/contracts/authorization/AccessManagerCloneable.sol/AccessManagerCloneable.json +1416 -0
  14. package/artifacts/contracts/authorization/Authorization.sol/Authorization.dbg.json +4 -0
  15. package/artifacts/contracts/authorization/Authorization.sol/Authorization.json +803 -0
  16. package/artifacts/contracts/authorization/IAccess.sol/IAccess.dbg.json +4 -0
  17. package/artifacts/contracts/{instance/module/ISetup.sol/ISetup.json → authorization/IAccess.sol/IAccess.json} +2 -2
  18. package/artifacts/contracts/authorization/IAccessAdmin.sol/IAccessAdmin.dbg.json +4 -0
  19. package/artifacts/contracts/authorization/IAccessAdmin.sol/IAccessAdmin.json +1372 -0
  20. package/artifacts/contracts/authorization/IAuthorization.sol/IAuthorization.dbg.json +4 -0
  21. package/artifacts/contracts/authorization/IAuthorization.sol/IAuthorization.json +455 -0
  22. package/artifacts/contracts/authorization/IServiceAuthorization.sol/IServiceAuthorization.dbg.json +4 -0
  23. package/artifacts/contracts/authorization/IServiceAuthorization.sol/IServiceAuthorization.json +397 -0
  24. package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.dbg.json +4 -0
  25. package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.json +659 -0
  26. package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.dbg.json +4 -0
  27. package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.json +1247 -0
  28. package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.dbg.json +4 -0
  29. package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.json +818 -0
  30. package/artifacts/contracts/distribution/Distribution.sol/Distribution.dbg.json +4 -0
  31. package/artifacts/contracts/{components/IDistributionComponent.sol/IDistributionComponent.json → distribution/Distribution.sol/Distribution.json} +311 -328
  32. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.dbg.json +4 -0
  33. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.json +1835 -0
  34. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +4 -0
  35. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.json +943 -0
  36. package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.dbg.json +4 -0
  37. package/artifacts/contracts/{components/Component.sol/Component.json → distribution/IDistributionComponent.sol/IDistributionComponent.json} +276 -280
  38. package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.dbg.json +4 -0
  39. package/artifacts/contracts/{instance/service → distribution}/IDistributionService.sol/IDistributionService.json +534 -340
  40. package/artifacts/contracts/examples/fire/DamageLevel.sol/DamageLevelLib.dbg.json +4 -0
  41. package/artifacts/contracts/examples/fire/DamageLevel.sol/DamageLevelLib.json +22 -0
  42. package/artifacts/contracts/examples/fire/FirePool.sol/FirePool.dbg.json +4 -0
  43. package/artifacts/contracts/examples/fire/FirePool.sol/FirePool.json +1487 -0
  44. package/artifacts/contracts/examples/fire/FirePoolAuthorization.sol/FirePoolAuthorization.dbg.json +4 -0
  45. package/artifacts/contracts/examples/fire/FirePoolAuthorization.sol/FirePoolAuthorization.json +818 -0
  46. package/artifacts/contracts/examples/fire/FireProduct.sol/FireProduct.dbg.json +4 -0
  47. package/artifacts/contracts/examples/fire/FireProduct.sol/FireProduct.json +2056 -0
  48. package/artifacts/contracts/examples/fire/FireProductAuthorization.sol/FireProductAuthorization.dbg.json +4 -0
  49. package/artifacts/contracts/examples/fire/FireProductAuthorization.sol/FireProductAuthorization.json +818 -0
  50. package/artifacts/contracts/examples/fire/FireUSD.sol/FireUSD.dbg.json +4 -0
  51. package/artifacts/contracts/examples/fire/FireUSD.sol/FireUSD.json +376 -0
  52. package/artifacts/contracts/examples/unpermissioned/SimpleDistribution.sol/SimpleDistribution.dbg.json +4 -0
  53. package/artifacts/contracts/examples/unpermissioned/SimpleDistribution.sol/SimpleDistribution.json +1442 -0
  54. package/artifacts/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol/SimpleDistributionAuthorization.dbg.json +4 -0
  55. package/artifacts/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol/SimpleDistributionAuthorization.json +818 -0
  56. package/artifacts/contracts/examples/unpermissioned/SimpleOracle.sol/SimpleOracle.dbg.json +4 -0
  57. package/artifacts/contracts/examples/unpermissioned/SimpleOracle.sol/SimpleOracle.json +1174 -0
  58. package/artifacts/contracts/examples/unpermissioned/SimplePool.sol/SimplePool.dbg.json +4 -0
  59. package/artifacts/contracts/examples/unpermissioned/SimplePool.sol/SimplePool.json +1650 -0
  60. package/artifacts/contracts/examples/unpermissioned/SimplePoolAuthorization.sol/SimplePoolAuthorization.dbg.json +4 -0
  61. package/artifacts/contracts/examples/unpermissioned/SimplePoolAuthorization.sol/SimplePoolAuthorization.json +818 -0
  62. package/artifacts/contracts/examples/unpermissioned/SimpleProduct.sol/SimpleProduct.dbg.json +4 -0
  63. package/artifacts/contracts/examples/unpermissioned/SimpleProduct.sol/SimpleProduct.json +2588 -0
  64. package/artifacts/contracts/examples/unpermissioned/SimpleProductAuthorization.sol/SimpleProductAuthorization.dbg.json +4 -0
  65. package/artifacts/contracts/examples/unpermissioned/SimpleProductAuthorization.sol/SimpleProductAuthorization.json +818 -0
  66. package/artifacts/contracts/instance/BaseStore.sol/BaseStore.dbg.json +4 -0
  67. package/artifacts/contracts/instance/{base/IKeyValueStore.sol/IKeyValueStore.json → BaseStore.sol/BaseStore.json} +87 -184
  68. package/artifacts/contracts/instance/BundleSet.sol/BundleSet.dbg.json +4 -0
  69. package/artifacts/contracts/instance/BundleSet.sol/BundleSet.json +851 -0
  70. package/artifacts/contracts/instance/IBaseStore.sol/IBaseStore.dbg.json +4 -0
  71. package/artifacts/contracts/instance/IBaseStore.sol/IBaseStore.json +304 -0
  72. package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
  73. package/artifacts/contracts/instance/IInstance.sol/IInstance.json +573 -1775
  74. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +1 -1
  75. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +530 -71
  76. package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
  77. package/artifacts/contracts/instance/Instance.sol/Instance.json +639 -2578
  78. package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.dbg.json +4 -0
  79. package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.json +2284 -0
  80. package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.dbg.json +4 -0
  81. package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.json +850 -0
  82. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +1 -1
  83. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +1866 -636
  84. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +1 -1
  85. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +571 -386
  86. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +1 -1
  87. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +216 -172
  88. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.dbg.json +4 -0
  89. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.json +3039 -0
  90. package/artifacts/contracts/instance/ProductStore.sol/ProductStore.dbg.json +4 -0
  91. package/artifacts/contracts/instance/ProductStore.sol/ProductStore.json +3427 -0
  92. package/artifacts/contracts/instance/RiskSet.sol/RiskSet.dbg.json +4 -0
  93. package/artifacts/contracts/instance/RiskSet.sol/RiskSet.json +866 -0
  94. package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.dbg.json +4 -0
  95. package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.json +318 -0
  96. package/artifacts/contracts/instance/base/Cloneable.sol/Cloneable.dbg.json +4 -0
  97. package/artifacts/contracts/instance/{Cloneable.sol → base/Cloneable.sol}/Cloneable.json +1 -54
  98. package/artifacts/contracts/instance/base/ObjectCounter.sol/ObjectCounter.dbg.json +4 -0
  99. package/artifacts/contracts/instance/base/ObjectCounter.sol/ObjectCounter.json +10 -0
  100. package/artifacts/contracts/instance/base/ObjectLifecycle.sol/ObjectLifecycle.dbg.json +4 -0
  101. package/artifacts/contracts/instance/base/ObjectLifecycle.sol/ObjectLifecycle.json +223 -0
  102. package/artifacts/contracts/instance/base/ObjectSet.sol/ObjectSet.dbg.json +4 -0
  103. package/artifacts/contracts/instance/base/ObjectSet.sol/ObjectSet.json +192 -0
  104. package/artifacts/contracts/instance/base/ObjectSetHelperLib.sol/ObjectSetHelperLib.dbg.json +4 -0
  105. package/artifacts/contracts/instance/base/ObjectSetHelperLib.sol/ObjectSetHelperLib.json +168 -0
  106. package/artifacts/contracts/instance/module/IBundle.sol/IBundle.dbg.json +1 -1
  107. package/artifacts/contracts/instance/module/IComponents.sol/IComponents.dbg.json +1 -1
  108. package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.dbg.json +1 -1
  109. package/artifacts/contracts/instance/module/IPolicy.sol/IPolicy.dbg.json +1 -1
  110. package/artifacts/contracts/instance/module/IRisk.sol/IRisk.dbg.json +1 -1
  111. package/artifacts/contracts/mock/Dip.sol/Dip.dbg.json +4 -0
  112. package/artifacts/contracts/mock/Dip.sol/Dip.json +376 -0
  113. package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.dbg.json +4 -0
  114. package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.json +960 -0
  115. package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.dbg.json +4 -0
  116. package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.json +823 -0
  117. package/artifacts/contracts/oracle/IOracle.sol/IOracle.dbg.json +4 -0
  118. package/artifacts/contracts/oracle/IOracle.sol/IOracle.json +52 -0
  119. package/artifacts/contracts/oracle/IOracleComponent.sol/IOracleComponent.dbg.json +4 -0
  120. package/artifacts/contracts/oracle/IOracleComponent.sol/IOracleComponent.json +762 -0
  121. package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.dbg.json +4 -0
  122. package/artifacts/contracts/{instance/service/IBundleService.sol/IBundleService.json → oracle/IOracleService.sol/IOracleService.json} +328 -225
  123. package/artifacts/contracts/oracle/Oracle.sol/Oracle.dbg.json +4 -0
  124. package/artifacts/contracts/oracle/Oracle.sol/Oracle.json +876 -0
  125. package/artifacts/contracts/oracle/OracleService.sol/OracleService.dbg.json +4 -0
  126. package/artifacts/contracts/oracle/OracleService.sol/OracleService.json +1055 -0
  127. package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.dbg.json +4 -0
  128. package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.json +823 -0
  129. package/artifacts/contracts/pool/BasicPool.sol/BasicPool.dbg.json +4 -0
  130. package/artifacts/contracts/{components/Pool.sol/Pool.json → pool/BasicPool.sol/BasicPool.json} +357 -488
  131. package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.dbg.json +4 -0
  132. package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.json +818 -0
  133. package/artifacts/contracts/pool/BundleService.sol/BundleService.dbg.json +4 -0
  134. package/artifacts/contracts/pool/BundleService.sol/BundleService.json +1464 -0
  135. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.dbg.json +4 -0
  136. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.json +879 -0
  137. package/artifacts/contracts/pool/IBundleService.sol/IBundleService.dbg.json +4 -0
  138. package/artifacts/contracts/pool/IBundleService.sol/IBundleService.json +1033 -0
  139. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.dbg.json +4 -0
  140. package/artifacts/contracts/{components/IProductComponent.sol/IProductComponent.json → pool/IPoolComponent.sol/IPoolComponent.json} +349 -284
  141. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.dbg.json +4 -0
  142. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.json +1397 -0
  143. package/artifacts/contracts/pool/Pool.sol/Pool.dbg.json +4 -0
  144. package/artifacts/contracts/{components/IPoolComponent.sol/IPoolComponent.json → pool/Pool.sol/Pool.json} +382 -418
  145. package/artifacts/contracts/pool/PoolLib.sol/PoolLib.dbg.json +4 -0
  146. package/artifacts/contracts/pool/PoolLib.sol/PoolLib.json +522 -0
  147. package/artifacts/contracts/pool/PoolService.sol/PoolService.dbg.json +4 -0
  148. package/artifacts/contracts/pool/PoolService.sol/PoolService.json +1807 -0
  149. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.dbg.json +4 -0
  150. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.json +879 -0
  151. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.dbg.json +4 -0
  152. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.json +1062 -0
  153. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +4 -0
  154. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.json +803 -0
  155. package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.dbg.json +4 -0
  156. package/artifacts/contracts/{components/Product.sol/Product.json → product/BasicProduct.sol/BasicProduct.json} +492 -497
  157. package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.dbg.json +4 -0
  158. package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.json +818 -0
  159. package/artifacts/contracts/product/ClaimService.sol/ClaimService.dbg.json +4 -0
  160. package/artifacts/contracts/product/ClaimService.sol/ClaimService.json +1546 -0
  161. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +4 -0
  162. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.json +891 -0
  163. package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.dbg.json +4 -0
  164. package/artifacts/contracts/{instance/service/IPoolService.sol/IPoolService.json → product/IApplicationService.sol/IApplicationService.json} +334 -374
  165. package/artifacts/contracts/product/IClaimService.sol/IClaimService.dbg.json +4 -0
  166. package/artifacts/contracts/product/IClaimService.sol/IClaimService.json +1104 -0
  167. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.dbg.json +4 -0
  168. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.json +1036 -0
  169. package/artifacts/contracts/product/IPricingService.sol/IPricingService.dbg.json +4 -0
  170. package/artifacts/contracts/{instance/service/IApplicationService.sol/IApplicationService.json → product/IPricingService.sol/IPricingService.json} +185 -155
  171. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.dbg.json +4 -0
  172. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.json +1006 -0
  173. package/artifacts/contracts/product/IRiskService.sol/IRiskService.dbg.json +4 -0
  174. package/artifacts/contracts/{instance/service/IPolicyService.sol/IPolicyService.json → product/IRiskService.sol/IRiskService.json} +223 -164
  175. package/artifacts/contracts/product/PolicyService.sol/PolicyService.dbg.json +4 -0
  176. package/artifacts/contracts/product/PolicyService.sol/PolicyService.json +1417 -0
  177. package/artifacts/contracts/product/PolicyServiceLib.sol/PolicyServiceLib.dbg.json +4 -0
  178. package/artifacts/contracts/product/PolicyServiceLib.sol/PolicyServiceLib.json +783 -0
  179. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +4 -0
  180. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.json +867 -0
  181. package/artifacts/contracts/product/PricingService.sol/PricingService.dbg.json +4 -0
  182. package/artifacts/contracts/product/PricingService.sol/PricingService.json +958 -0
  183. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.dbg.json +4 -0
  184. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.json +827 -0
  185. package/artifacts/contracts/product/Product.sol/Product.dbg.json +4 -0
  186. package/artifacts/contracts/product/Product.sol/Product.json +1120 -0
  187. package/artifacts/contracts/product/RiskService.sol/RiskService.dbg.json +4 -0
  188. package/artifacts/contracts/product/RiskService.sol/RiskService.json +886 -0
  189. package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.dbg.json +4 -0
  190. package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.json +787 -0
  191. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
  192. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +59 -16
  193. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
  194. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +499 -34
  195. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +1 -1
  196. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +315 -109
  197. package/artifacts/contracts/registry/IRelease.sol/IRelease.dbg.json +4 -0
  198. package/artifacts/contracts/registry/IRelease.sol/IRelease.json +24 -0
  199. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +1 -1
  200. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.json +5 -18
  201. package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
  202. package/artifacts/contracts/registry/Registry.sol/Registry.json +987 -131
  203. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.dbg.json +4 -0
  204. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.json +2160 -0
  205. package/artifacts/contracts/registry/RegistryAuthorization.sol/RegistryAuthorization.dbg.json +4 -0
  206. package/artifacts/contracts/registry/RegistryAuthorization.sol/RegistryAuthorization.json +1087 -0
  207. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +1 -1
  208. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +415 -262
  209. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +1 -1
  210. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +227 -111
  211. package/artifacts/contracts/registry/ReleaseAdmin.sol/ReleaseAdmin.dbg.json +4 -0
  212. package/artifacts/contracts/registry/ReleaseAdmin.sol/ReleaseAdmin.json +2152 -0
  213. package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.dbg.json +4 -0
  214. package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.json +205 -0
  215. package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.dbg.json +4 -0
  216. package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.json +1389 -0
  217. package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.dbg.json +4 -0
  218. package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.json +696 -0
  219. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +1 -1
  220. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +360 -137
  221. package/artifacts/contracts/shared/Component.sol/Component.dbg.json +4 -0
  222. package/artifacts/contracts/{instance/base/ComponentService.sol/ComponentService.json → shared/Component.sol/Component.json} +289 -188
  223. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.dbg.json +4 -0
  224. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.json +1577 -0
  225. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.dbg.json +4 -0
  226. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.json +875 -0
  227. package/artifacts/contracts/shared/ContractLib.sol/ContractLib.dbg.json +4 -0
  228. package/artifacts/contracts/shared/ContractLib.sol/ContractLib.json +632 -0
  229. package/artifacts/contracts/shared/ContractLib.sol/IInstanceAdminHelper.dbg.json +4 -0
  230. package/artifacts/contracts/shared/ContractLib.sol/IInstanceAdminHelper.json +24 -0
  231. package/artifacts/contracts/shared/ContractLib.sol/ITargetHelper.dbg.json +4 -0
  232. package/artifacts/contracts/shared/ContractLib.sol/ITargetHelper.json +30 -0
  233. package/artifacts/contracts/shared/ContractLib.sol/ITokenRegistryHelper.dbg.json +4 -0
  234. package/artifacts/contracts/shared/ContractLib.sol/ITokenRegistryHelper.json +40 -0
  235. package/artifacts/contracts/shared/IComponent.sol/IComponent.dbg.json +4 -0
  236. package/artifacts/contracts/{components → shared}/IComponent.sol/IComponent.json +153 -138
  237. package/artifacts/contracts/shared/IComponentService.sol/IComponentService.dbg.json +4 -0
  238. package/artifacts/contracts/{components/Distribution.sol/Distribution.json → shared/IComponentService.sol/IComponentService.json} +584 -738
  239. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.dbg.json +4 -0
  240. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.json +697 -0
  241. package/artifacts/contracts/shared/ILifecycle.sol/ILifecycle.dbg.json +4 -0
  242. package/artifacts/contracts/{instance/base → shared}/ILifecycle.sol/ILifecycle.json +35 -4
  243. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +1 -1
  244. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.json +38 -10
  245. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.dbg.json +1 -1
  246. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.json +59 -13
  247. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
  248. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +163 -3
  249. package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.dbg.json +1 -1
  250. package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.json +0 -13
  251. package/artifacts/contracts/shared/IService.sol/IService.dbg.json +1 -1
  252. package/artifacts/contracts/shared/IService.sol/IService.json +98 -5
  253. package/artifacts/contracts/shared/InitializableERC165.sol/InitializableERC165.dbg.json +4 -0
  254. package/artifacts/contracts/shared/InitializableERC165.sol/InitializableERC165.json +66 -0
  255. package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.dbg.json +4 -0
  256. package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.json +798 -0
  257. package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.dbg.json +4 -0
  258. package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.json +174 -0
  259. package/artifacts/contracts/shared/NftIdSet.sol/NftIdSet.dbg.json +4 -0
  260. package/artifacts/contracts/shared/NftIdSet.sol/NftIdSet.json +306 -0
  261. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +1 -1
  262. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +57 -67
  263. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.dbg.json +1 -1
  264. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.json +36 -73
  265. package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
  266. package/artifacts/contracts/shared/Registerable.sol/Registerable.json +160 -102
  267. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.dbg.json +1 -1
  268. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.json +2 -28
  269. package/artifacts/contracts/shared/Service.sol/Service.dbg.json +1 -1
  270. package/artifacts/contracts/shared/Service.sol/Service.json +110 -111
  271. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +1 -1
  272. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +635 -8
  273. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandlerBase.dbg.json +4 -0
  274. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandlerBase.json +484 -0
  275. package/artifacts/contracts/shared/TokenHandlerDeployerLib.sol/TokenHandlerDeployerLib.dbg.json +4 -0
  276. package/artifacts/contracts/shared/TokenHandlerDeployerLib.sol/TokenHandlerDeployerLib.json +172 -0
  277. package/artifacts/contracts/staking/IStaking.sol/IStaking.dbg.json +4 -0
  278. package/artifacts/contracts/staking/IStaking.sol/IStaking.json +2747 -0
  279. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.dbg.json +4 -0
  280. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.json +1147 -0
  281. package/artifacts/contracts/staking/ITargetLimitHandler.sol/ITargetLimitHandler.dbg.json +4 -0
  282. package/artifacts/contracts/staking/ITargetLimitHandler.sol/ITargetLimitHandler.json +50 -0
  283. package/artifacts/contracts/staking/Staking.sol/Staking.dbg.json +4 -0
  284. package/artifacts/contracts/staking/Staking.sol/Staking.json +3188 -0
  285. package/artifacts/contracts/staking/StakingLib.sol/StakingLib.dbg.json +4 -0
  286. package/artifacts/contracts/staking/StakingLib.sol/StakingLib.json +470 -0
  287. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.dbg.json +4 -0
  288. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.json +860 -0
  289. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.dbg.json +4 -0
  290. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.json +704 -0
  291. package/artifacts/contracts/staking/StakingService.sol/StakingService.dbg.json +4 -0
  292. package/artifacts/contracts/staking/StakingService.sol/StakingService.json +1357 -0
  293. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.dbg.json +4 -0
  294. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.json +779 -0
  295. package/artifacts/contracts/staking/StakingStore.sol/StakingStore.dbg.json +4 -0
  296. package/artifacts/contracts/staking/StakingStore.sol/StakingStore.json +3097 -0
  297. package/artifacts/contracts/staking/TargetHandler.sol/TargetHandler.dbg.json +4 -0
  298. package/artifacts/contracts/staking/TargetHandler.sol/TargetHandler.json +309 -0
  299. package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.dbg.json +4 -0
  300. package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.json +679 -0
  301. package/artifacts/contracts/type/AddressSet.sol/LibAddressSet.dbg.json +4 -0
  302. package/artifacts/contracts/type/AddressSet.sol/LibAddressSet.json +10 -0
  303. package/artifacts/contracts/type/Amount.sol/AmountLib.dbg.json +4 -0
  304. package/artifacts/contracts/type/Amount.sol/AmountLib.json +398 -0
  305. package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.dbg.json +4 -0
  306. package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.json +251 -0
  307. package/artifacts/contracts/type/ChainId.sol/ChainIdLib.dbg.json +4 -0
  308. package/artifacts/contracts/type/ChainId.sol/ChainIdLib.json +193 -0
  309. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.dbg.json +4 -0
  310. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.json +203 -0
  311. package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.dbg.json +4 -0
  312. package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.json +104 -0
  313. package/artifacts/contracts/type/Fee.sol/FeeLib.dbg.json +4 -0
  314. package/artifacts/contracts/type/Fee.sol/FeeLib.json +373 -0
  315. package/artifacts/contracts/type/Key32.sol/Key32Lib.dbg.json +4 -0
  316. package/artifacts/contracts/type/Key32.sol/Key32Lib.json +125 -0
  317. package/artifacts/contracts/type/Key32Set.sol/LibKey32Set.dbg.json +4 -0
  318. package/artifacts/contracts/type/Key32Set.sol/LibKey32Set.json +33 -0
  319. package/artifacts/contracts/type/NftId.sol/NftIdLib.dbg.json +4 -0
  320. package/artifacts/contracts/type/NftId.sol/NftIdLib.json +228 -0
  321. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.dbg.json +4 -0
  322. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.json +33 -0
  323. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.dbg.json +4 -0
  324. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.json +241 -0
  325. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.dbg.json +4 -0
  326. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.json +209 -0
  327. package/artifacts/contracts/type/Referral.sol/ReferralLib.dbg.json +4 -0
  328. package/artifacts/contracts/type/Referral.sol/ReferralLib.json +142 -0
  329. package/artifacts/contracts/type/RequestId.sol/RequestIdLib.dbg.json +4 -0
  330. package/artifacts/contracts/type/RequestId.sol/RequestIdLib.json +204 -0
  331. package/artifacts/contracts/type/RiskId.sol/RiskIdLib.dbg.json +4 -0
  332. package/artifacts/contracts/type/RiskId.sol/RiskIdLib.json +204 -0
  333. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.dbg.json +4 -0
  334. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.json +254 -0
  335. package/artifacts/contracts/type/Seconds.sol/SecondsLib.dbg.json +4 -0
  336. package/artifacts/contracts/type/Seconds.sol/SecondsLib.json +289 -0
  337. package/artifacts/contracts/type/Selector.sol/SelectorLib.dbg.json +4 -0
  338. package/artifacts/contracts/type/Selector.sol/SelectorLib.json +148 -0
  339. package/artifacts/contracts/type/Selector.sol/SelectorSetLib.dbg.json +4 -0
  340. package/artifacts/contracts/type/Selector.sol/SelectorSetLib.json +10 -0
  341. package/artifacts/contracts/type/StateId.sol/StateIdLib.dbg.json +4 -0
  342. package/artifacts/contracts/type/StateId.sol/StateIdLib.json +105 -0
  343. package/artifacts/contracts/type/String.sol/StrLib.dbg.json +4 -0
  344. package/artifacts/contracts/type/String.sol/StrLib.json +180 -0
  345. package/artifacts/contracts/type/Timestamp.sol/TimestampLib.dbg.json +4 -0
  346. package/artifacts/contracts/type/Timestamp.sol/TimestampLib.json +312 -0
  347. package/artifacts/contracts/type/UFixed.sol/UFixedLib.dbg.json +4 -0
  348. package/artifacts/contracts/type/UFixed.sol/UFixedLib.json +572 -0
  349. package/artifacts/contracts/type/Version.sol/VersionLib.dbg.json +4 -0
  350. package/artifacts/contracts/type/Version.sol/VersionLib.json +158 -0
  351. package/artifacts/contracts/type/Version.sol/VersionPartLib.dbg.json +4 -0
  352. package/artifacts/contracts/type/Version.sol/VersionPartLib.json +167 -0
  353. package/artifacts/contracts/upgradeability/IVersionable.sol/IVersionable.dbg.json +4 -0
  354. package/artifacts/contracts/{shared → upgradeability}/IVersionable.sol/IVersionable.json +11 -1
  355. package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.dbg.json +4 -0
  356. package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.json +669 -0
  357. package/artifacts/contracts/upgradeability/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +4 -0
  358. package/artifacts/contracts/upgradeability/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +129 -0
  359. package/artifacts/contracts/upgradeability/Versionable.sol/Versionable.dbg.json +4 -0
  360. package/artifacts/contracts/{shared → upgradeability}/Versionable.sol/Versionable.json +11 -1
  361. package/contracts/accounting/AccountingService.sol +274 -0
  362. package/contracts/accounting/AccountingServiceManager.sol +38 -0
  363. package/contracts/accounting/IAccountingService.sol +47 -0
  364. package/contracts/authorization/AccessAdmin.sol +780 -0
  365. package/contracts/authorization/AccessAdminLib.sol +396 -0
  366. package/contracts/authorization/AccessManagerCloneable.sol +158 -0
  367. package/contracts/authorization/Authorization.sol +169 -0
  368. package/contracts/authorization/IAccess.sol +67 -0
  369. package/contracts/authorization/IAccessAdmin.sol +144 -0
  370. package/contracts/authorization/IAuthorization.sol +26 -0
  371. package/contracts/authorization/IServiceAuthorization.sol +78 -0
  372. package/contracts/authorization/ServiceAuthorization.sol +320 -0
  373. package/contracts/distribution/BasicDistribution.sol +140 -0
  374. package/contracts/distribution/BasicDistributionAuthorization.sol +67 -0
  375. package/contracts/distribution/Distribution.sol +245 -0
  376. package/contracts/distribution/DistributionService.sol +465 -0
  377. package/contracts/distribution/DistributionServiceManager.sol +39 -0
  378. package/contracts/distribution/IDistributionComponent.sol +45 -0
  379. package/contracts/distribution/IDistributionService.sol +115 -0
  380. package/contracts/examples/fire/DamageLevel.sol +59 -0
  381. package/contracts/examples/fire/FirePool.sol +86 -0
  382. package/contracts/examples/fire/FirePoolAuthorization.sol +35 -0
  383. package/contracts/examples/fire/FireProduct.sol +433 -0
  384. package/contracts/examples/fire/FireProductAuthorization.sol +45 -0
  385. package/contracts/examples/fire/FireUSD.sol +26 -0
  386. package/contracts/examples/unpermissioned/SimpleDistribution.sol +81 -0
  387. package/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol +28 -0
  388. package/contracts/examples/unpermissioned/SimpleOracle.sol +133 -0
  389. package/contracts/examples/unpermissioned/SimplePool.sol +102 -0
  390. package/contracts/examples/unpermissioned/SimplePoolAuthorization.sol +28 -0
  391. package/contracts/examples/unpermissioned/SimpleProduct.sol +437 -0
  392. package/contracts/examples/unpermissioned/SimpleProductAuthorization.sol +28 -0
  393. package/contracts/instance/BaseStore.sol +93 -0
  394. package/contracts/instance/BundleSet.sol +130 -0
  395. package/contracts/instance/IBaseStore.sol +37 -0
  396. package/contracts/instance/IInstance.sol +131 -73
  397. package/contracts/instance/IInstanceService.sol +86 -39
  398. package/contracts/instance/Instance.sol +248 -224
  399. package/contracts/instance/InstanceAdmin.sol +379 -0
  400. package/contracts/instance/InstanceAuthorizationV3.sol +275 -0
  401. package/contracts/instance/InstanceReader.sol +513 -192
  402. package/contracts/instance/InstanceService.sol +432 -394
  403. package/contracts/instance/InstanceServiceManager.sol +14 -29
  404. package/contracts/instance/InstanceStore.sol +323 -0
  405. package/contracts/instance/ProductStore.sol +290 -0
  406. package/contracts/instance/RiskSet.sol +126 -0
  407. package/contracts/instance/TargetNames.sol +10 -0
  408. package/contracts/instance/base/BalanceStore.sol +121 -0
  409. package/contracts/instance/base/Cloneable.sol +28 -0
  410. package/contracts/instance/base/ObjectCounter.sol +20 -0
  411. package/contracts/instance/base/ObjectLifecycle.sol +109 -0
  412. package/contracts/instance/base/ObjectSet.sol +77 -0
  413. package/contracts/instance/base/ObjectSetHelperLib.sol +30 -0
  414. package/contracts/instance/module/IBundle.sol +9 -11
  415. package/contracts/instance/module/IComponents.sol +43 -24
  416. package/contracts/instance/module/IDistribution.sol +25 -12
  417. package/contracts/instance/module/IPolicy.sol +71 -38
  418. package/contracts/instance/module/IRisk.sol +6 -1
  419. package/contracts/{test/Usdc.sol → mock/Dip.sol} +6 -6
  420. package/contracts/oracle/BasicOracle.sol +44 -0
  421. package/contracts/oracle/BasicOracleAuthorization.sol +53 -0
  422. package/contracts/oracle/IOracle.sol +41 -0
  423. package/contracts/oracle/IOracleComponent.sol +33 -0
  424. package/contracts/oracle/IOracleService.sol +66 -0
  425. package/contracts/oracle/Oracle.sol +152 -0
  426. package/contracts/oracle/OracleService.sol +310 -0
  427. package/contracts/oracle/OracleServiceManager.sol +39 -0
  428. package/contracts/pool/BasicPool.sol +161 -0
  429. package/contracts/pool/BasicPoolAuthorization.sol +81 -0
  430. package/contracts/pool/BundleService.sol +401 -0
  431. package/contracts/pool/BundleServiceManager.sol +39 -0
  432. package/contracts/pool/IBundleService.sol +116 -0
  433. package/contracts/pool/IPoolComponent.sol +62 -0
  434. package/contracts/pool/IPoolService.sol +167 -0
  435. package/contracts/pool/Pool.sol +331 -0
  436. package/contracts/pool/PoolLib.sol +341 -0
  437. package/contracts/pool/PoolService.sol +635 -0
  438. package/contracts/pool/PoolServiceManager.sol +39 -0
  439. package/contracts/product/ApplicationService.sol +343 -0
  440. package/contracts/{instance/service → product}/ApplicationServiceManager.sol +12 -9
  441. package/contracts/product/BasicProduct.sol +48 -0
  442. package/contracts/product/BasicProductAuthorization.sol +63 -0
  443. package/contracts/product/ClaimService.sol +642 -0
  444. package/contracts/{instance/service → product}/ClaimServiceManager.sol +12 -9
  445. package/contracts/{instance/service → product}/IApplicationService.sol +41 -35
  446. package/contracts/product/IClaimService.sol +136 -0
  447. package/contracts/product/IPolicyService.sol +102 -0
  448. package/contracts/product/IPricingService.sol +40 -0
  449. package/contracts/product/IProductComponent.sol +62 -0
  450. package/contracts/product/IRiskService.sol +48 -0
  451. package/contracts/product/PolicyService.sol +680 -0
  452. package/contracts/product/PolicyServiceLib.sol +139 -0
  453. package/contracts/product/PolicyServiceManager.sol +39 -0
  454. package/contracts/product/PricingService.sol +318 -0
  455. package/contracts/product/PricingServiceManager.sol +39 -0
  456. package/contracts/product/Product.sol +491 -0
  457. package/contracts/product/RiskService.sol +189 -0
  458. package/contracts/product/RiskServiceManager.sol +39 -0
  459. package/contracts/registry/ChainNft.sol +79 -40
  460. package/contracts/registry/IRegistry.sol +104 -33
  461. package/contracts/registry/IRegistryService.sol +34 -40
  462. package/contracts/registry/IRelease.sol +29 -0
  463. package/contracts/registry/ITransferInterceptor.sol +1 -2
  464. package/contracts/registry/Registry.sol +469 -200
  465. package/contracts/registry/RegistryAdmin.sol +191 -0
  466. package/contracts/registry/RegistryAuthorization.sol +336 -0
  467. package/contracts/registry/RegistryService.sol +90 -131
  468. package/contracts/registry/RegistryServiceManager.sol +23 -32
  469. package/contracts/registry/ReleaseAdmin.sol +195 -0
  470. package/contracts/registry/ReleaseLifecycle.sol +32 -0
  471. package/contracts/registry/ReleaseRegistry.sol +525 -0
  472. package/contracts/registry/ServiceAuthorizationV3.sol +342 -0
  473. package/contracts/registry/TokenRegistry.sol +265 -64
  474. package/contracts/shared/Component.sol +210 -0
  475. package/contracts/shared/ComponentService.sol +705 -0
  476. package/contracts/shared/ComponentServiceManager.sol +38 -0
  477. package/contracts/shared/ContractLib.sol +312 -0
  478. package/contracts/shared/IComponent.sol +58 -0
  479. package/contracts/shared/IComponentService.sol +111 -0
  480. package/contracts/shared/IInstanceLinkedComponent.sol +30 -0
  481. package/contracts/{instance/base → shared}/ILifecycle.sol +5 -4
  482. package/contracts/shared/INftOwnable.sol +6 -2
  483. package/contracts/shared/IPolicyHolder.sol +23 -14
  484. package/contracts/shared/IRegisterable.sol +22 -1
  485. package/contracts/shared/IRegistryLinked.sol +0 -1
  486. package/contracts/shared/IService.sol +12 -5
  487. package/contracts/shared/InitializableERC165.sol +49 -0
  488. package/contracts/shared/InstanceLinkedComponent.sol +192 -0
  489. package/contracts/shared/Lifecycle.sol +88 -0
  490. package/contracts/shared/NftIdSet.sol +65 -0
  491. package/contracts/shared/NftOwnable.sol +39 -30
  492. package/contracts/shared/PolicyHolder.sol +23 -41
  493. package/contracts/shared/Registerable.sol +54 -22
  494. package/contracts/shared/RegistryLinked.sol +11 -21
  495. package/contracts/shared/Service.sol +36 -41
  496. package/contracts/shared/TokenHandler.sol +322 -13
  497. package/contracts/shared/TokenHandlerDeployerLib.sol +20 -0
  498. package/contracts/staking/IStaking.sol +367 -0
  499. package/contracts/staking/IStakingService.sol +127 -0
  500. package/contracts/staking/ITargetLimitHandler.sol +17 -0
  501. package/contracts/staking/Staking.sol +797 -0
  502. package/contracts/staking/StakingLib.sol +195 -0
  503. package/contracts/staking/StakingManager.sol +53 -0
  504. package/contracts/staking/StakingReader.sol +171 -0
  505. package/contracts/staking/StakingService.sol +320 -0
  506. package/contracts/staking/StakingServiceManager.sol +46 -0
  507. package/contracts/staking/StakingStore.sol +1368 -0
  508. package/contracts/staking/TargetHandler.sol +132 -0
  509. package/contracts/staking/TargetManagerLib.sol +234 -0
  510. package/contracts/{types → type}/AddressSet.sol +1 -1
  511. package/contracts/type/Amount.sol +154 -0
  512. package/contracts/{types → type}/Blocknumber.sol +36 -13
  513. package/contracts/type/ChainId.sol +101 -0
  514. package/contracts/{types → type}/ClaimId.sol +31 -3
  515. package/contracts/{types → type}/Fee.sol +28 -26
  516. package/contracts/{types → type}/Key32.sol +2 -2
  517. package/contracts/type/Key32Set.sol +62 -0
  518. package/contracts/{types → type}/NftId.sol +21 -16
  519. package/contracts/{types → type}/NftIdSet.sol +2 -2
  520. package/contracts/type/ObjectType.sol +307 -0
  521. package/contracts/type/PayoutId.sol +82 -0
  522. package/contracts/{types → type}/Referral.sol +2 -1
  523. package/contracts/type/RequestId.sol +75 -0
  524. package/contracts/type/RiskId.sol +75 -0
  525. package/contracts/type/RoleId.sol +180 -0
  526. package/contracts/type/Seconds.sol +120 -0
  527. package/contracts/type/Selector.sol +107 -0
  528. package/contracts/{types → type}/StateId.sol +47 -4
  529. package/contracts/type/String.sol +65 -0
  530. package/contracts/{types → type}/Timestamp.sol +23 -7
  531. package/contracts/type/UFixed.sol +263 -0
  532. package/contracts/{types → type}/Version.sol +58 -7
  533. package/contracts/{shared → upgradeability}/IVersionable.sol +4 -1
  534. package/contracts/{shared → upgradeability}/ProxyManager.sol +118 -41
  535. package/contracts/upgradeability/UpgradableProxyWithAdmin.sol +28 -0
  536. package/contracts/{shared → upgradeability}/Versionable.sol +9 -6
  537. package/package.json +12 -8
  538. package/artifacts/contracts/components/Component.sol/Component.dbg.json +0 -4
  539. package/artifacts/contracts/components/Distribution.sol/Distribution.dbg.json +0 -4
  540. package/artifacts/contracts/components/IComponent.sol/IComponent.dbg.json +0 -4
  541. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.dbg.json +0 -4
  542. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.dbg.json +0 -4
  543. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.dbg.json +0 -4
  544. package/artifacts/contracts/components/Pool.sol/Pool.dbg.json +0 -4
  545. package/artifacts/contracts/components/Product.sol/Product.dbg.json +0 -4
  546. package/artifacts/contracts/instance/AccessManagerUpgradeableInitializeable.sol/AccessManagerUpgradeableInitializeable.dbg.json +0 -4
  547. package/artifacts/contracts/instance/AccessManagerUpgradeableInitializeable.sol/AccessManagerUpgradeableInitializeable.json +0 -1206
  548. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.dbg.json +0 -4
  549. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.json +0 -778
  550. package/artifacts/contracts/instance/Cloneable.sol/Cloneable.dbg.json +0 -4
  551. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.dbg.json +0 -4
  552. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.json +0 -1330
  553. package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.dbg.json +0 -4
  554. package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.json +0 -256
  555. package/artifacts/contracts/instance/base/ComponentService.sol/ComponentService.dbg.json +0 -4
  556. package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.dbg.json +0 -4
  557. package/artifacts/contracts/instance/base/ILifecycle.sol/ILifecycle.dbg.json +0 -4
  558. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.dbg.json +0 -4
  559. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.json +0 -532
  560. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.dbg.json +0 -4
  561. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.json +0 -194
  562. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.dbg.json +0 -4
  563. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.json +0 -237
  564. package/artifacts/contracts/instance/module/ISetup.sol/ISetup.dbg.json +0 -4
  565. package/artifacts/contracts/instance/module/ITreasury.sol/ITreasury.dbg.json +0 -4
  566. package/artifacts/contracts/instance/module/ITreasury.sol/ITreasury.json +0 -10
  567. package/artifacts/contracts/instance/service/ApplicationService.sol/ApplicationService.dbg.json +0 -4
  568. package/artifacts/contracts/instance/service/ApplicationService.sol/ApplicationService.json +0 -1039
  569. package/artifacts/contracts/instance/service/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +0 -4
  570. package/artifacts/contracts/instance/service/ApplicationServiceManager.sol/ApplicationServiceManager.json +0 -673
  571. package/artifacts/contracts/instance/service/BundleService.sol/BundleService.dbg.json +0 -4
  572. package/artifacts/contracts/instance/service/BundleService.sol/BundleService.json +0 -1231
  573. package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.dbg.json +0 -4
  574. package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.json +0 -721
  575. package/artifacts/contracts/instance/service/ClaimService.sol/ClaimService.dbg.json +0 -4
  576. package/artifacts/contracts/instance/service/ClaimService.sol/ClaimService.json +0 -817
  577. package/artifacts/contracts/instance/service/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +0 -4
  578. package/artifacts/contracts/instance/service/ClaimServiceManager.sol/ClaimServiceManager.json +0 -641
  579. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.dbg.json +0 -4
  580. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.json +0 -1798
  581. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +0 -4
  582. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.json +0 -805
  583. package/artifacts/contracts/instance/service/IApplicationService.sol/IApplicationService.dbg.json +0 -4
  584. package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.dbg.json +0 -4
  585. package/artifacts/contracts/instance/service/IClaimService.sol/IClaimService.dbg.json +0 -4
  586. package/artifacts/contracts/instance/service/IClaimService.sol/IClaimService.json +0 -475
  587. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.dbg.json +0 -4
  588. package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.dbg.json +0 -4
  589. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.dbg.json +0 -4
  590. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.dbg.json +0 -4
  591. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.json +0 -450
  592. package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.dbg.json +0 -4
  593. package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.json +0 -1092
  594. package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +0 -4
  595. package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.json +0 -697
  596. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.dbg.json +0 -4
  597. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.json +0 -1237
  598. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.dbg.json +0 -4
  599. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.json +0 -661
  600. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.dbg.json +0 -4
  601. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.json +0 -840
  602. package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.dbg.json +0 -4
  603. package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.json +0 -653
  604. package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.dbg.json +0 -4
  605. package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.json +0 -285
  606. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.dbg.json +0 -4
  607. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.json +0 -559
  608. package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.dbg.json +0 -4
  609. package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.json +0 -107
  610. package/artifacts/contracts/shared/ERC165.sol/ERC165.dbg.json +0 -4
  611. package/artifacts/contracts/shared/ERC165.sol/ERC165.json +0 -73
  612. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.dbg.json +0 -4
  613. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.dbg.json +0 -4
  614. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.json +0 -582
  615. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +0 -4
  616. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +0 -129
  617. package/artifacts/contracts/shared/Versionable.sol/Versionable.dbg.json +0 -4
  618. package/artifacts/contracts/test/TestFee.sol/TestFee.dbg.json +0 -4
  619. package/artifacts/contracts/test/TestFee.sol/TestFee.json +0 -119
  620. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.dbg.json +0 -4
  621. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.json +0 -383
  622. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.dbg.json +0 -4
  623. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.json +0 -116
  624. package/artifacts/contracts/test/TestService.sol/TestService.dbg.json +0 -4
  625. package/artifacts/contracts/test/TestService.sol/TestService.json +0 -596
  626. package/artifacts/contracts/test/TestToken.sol/TestUsdc.dbg.json +0 -4
  627. package/artifacts/contracts/test/TestToken.sol/TestUsdc.json +0 -376
  628. package/artifacts/contracts/test/TestVersion.sol/TestVersion.dbg.json +0 -4
  629. package/artifacts/contracts/test/TestVersion.sol/TestVersion.json +0 -218
  630. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.dbg.json +0 -4
  631. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.json +0 -104
  632. package/artifacts/contracts/test/Usdc.sol/USDC.dbg.json +0 -4
  633. package/artifacts/contracts/test/Usdc.sol/USDC.json +0 -376
  634. package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.dbg.json +0 -4
  635. package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.json +0 -10
  636. package/artifacts/contracts/types/Amount.sol/AmountLib.dbg.json +0 -4
  637. package/artifacts/contracts/types/Amount.sol/AmountLib.json +0 -161
  638. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.dbg.json +0 -4
  639. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.json +0 -174
  640. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.dbg.json +0 -4
  641. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.json +0 -10
  642. package/artifacts/contracts/types/ClaimId.sol/ClaimIdLib.dbg.json +0 -4
  643. package/artifacts/contracts/types/ClaimId.sol/ClaimIdLib.json +0 -100
  644. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.dbg.json +0 -4
  645. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.json +0 -104
  646. package/artifacts/contracts/types/Fee.sol/FeeLib.dbg.json +0 -4
  647. package/artifacts/contracts/types/Fee.sol/FeeLib.json +0 -288
  648. package/artifacts/contracts/types/Key32.sol/Key32Lib.dbg.json +0 -4
  649. package/artifacts/contracts/types/Key32.sol/Key32Lib.json +0 -125
  650. package/artifacts/contracts/types/NftId.sol/NftIdLib.dbg.json +0 -4
  651. package/artifacts/contracts/types/NftId.sol/NftIdLib.json +0 -166
  652. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.dbg.json +0 -4
  653. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.json +0 -33
  654. package/artifacts/contracts/types/NumberId.sol/NumberIdLib.dbg.json +0 -4
  655. package/artifacts/contracts/types/NumberId.sol/NumberIdLib.json +0 -100
  656. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.dbg.json +0 -4
  657. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.json +0 -92
  658. package/artifacts/contracts/types/PayoutId.sol/PayoutIdLib.dbg.json +0 -4
  659. package/artifacts/contracts/types/PayoutId.sol/PayoutIdLib.json +0 -100
  660. package/artifacts/contracts/types/Referral.sol/ReferralLib.dbg.json +0 -4
  661. package/artifacts/contracts/types/Referral.sol/ReferralLib.json +0 -142
  662. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.dbg.json +0 -4
  663. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.json +0 -86
  664. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.dbg.json +0 -4
  665. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.json +0 -156
  666. package/artifacts/contracts/types/Seconds.sol/SecondsLib.dbg.json +0 -4
  667. package/artifacts/contracts/types/Seconds.sol/SecondsLib.json +0 -124
  668. package/artifacts/contracts/types/StateId.sol/StateIdLib.dbg.json +0 -4
  669. package/artifacts/contracts/types/StateId.sol/StateIdLib.json +0 -92
  670. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.dbg.json +0 -4
  671. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.json +0 -267
  672. package/artifacts/contracts/types/UFixed.sol/MathLib.dbg.json +0 -4
  673. package/artifacts/contracts/types/UFixed.sol/MathLib.json +0 -10
  674. package/artifacts/contracts/types/UFixed.sol/UFixedLib.dbg.json +0 -4
  675. package/artifacts/contracts/types/UFixed.sol/UFixedLib.json +0 -479
  676. package/artifacts/contracts/types/Version.sol/VersionLib.dbg.json +0 -4
  677. package/artifacts/contracts/types/Version.sol/VersionLib.json +0 -177
  678. package/artifacts/contracts/types/Version.sol/VersionPartLib.dbg.json +0 -4
  679. package/artifacts/contracts/types/Version.sol/VersionPartLib.json +0 -49
  680. package/contracts/components/Component.sol +0 -253
  681. package/contracts/components/Distribution.sol +0 -280
  682. package/contracts/components/IComponent.sol +0 -76
  683. package/contracts/components/IDistributionComponent.sol +0 -71
  684. package/contracts/components/IPoolComponent.sol +0 -113
  685. package/contracts/components/IProductComponent.sol +0 -40
  686. package/contracts/components/Pool.sol +0 -303
  687. package/contracts/components/Product.sol +0 -293
  688. package/contracts/instance/AccessManagerUpgradeableInitializeable.sol +0 -13
  689. package/contracts/instance/BundleManager.sol +0 -127
  690. package/contracts/instance/Cloneable.sol +0 -51
  691. package/contracts/instance/InstanceAccessManager.sol +0 -527
  692. package/contracts/instance/ObjectManager.sol +0 -82
  693. package/contracts/instance/base/ComponentService.sol +0 -121
  694. package/contracts/instance/base/IKeyValueStore.sol +0 -49
  695. package/contracts/instance/base/KeyValueStore.sol +0 -180
  696. package/contracts/instance/base/Lifecycle.sol +0 -109
  697. package/contracts/instance/module/IAccess.sol +0 -54
  698. package/contracts/instance/module/ISetup.sol +0 -33
  699. package/contracts/instance/module/ITreasury.sol +0 -23
  700. package/contracts/instance/service/ApplicationService.sol +0 -350
  701. package/contracts/instance/service/BundleService.sol +0 -431
  702. package/contracts/instance/service/BundleServiceManager.sol +0 -51
  703. package/contracts/instance/service/ClaimService.sol +0 -151
  704. package/contracts/instance/service/DistributionService.sol +0 -435
  705. package/contracts/instance/service/DistributionServiceManager.sol +0 -51
  706. package/contracts/instance/service/IBundleService.sol +0 -93
  707. package/contracts/instance/service/IClaimService.sol +0 -61
  708. package/contracts/instance/service/IDistributionService.sol +0 -99
  709. package/contracts/instance/service/IPolicyService.sol +0 -72
  710. package/contracts/instance/service/IPoolService.sol +0 -99
  711. package/contracts/instance/service/IProductService.sol +0 -40
  712. package/contracts/instance/service/PolicyService.sol +0 -362
  713. package/contracts/instance/service/PolicyServiceManager.sol +0 -54
  714. package/contracts/instance/service/PoolService.sol +0 -303
  715. package/contracts/instance/service/PoolServiceManager.sol +0 -51
  716. package/contracts/instance/service/ProductService.sol +0 -210
  717. package/contracts/instance/service/ProductServiceManager.sol +0 -54
  718. package/contracts/registry/RegistryAccessManager.sol +0 -216
  719. package/contracts/registry/ReleaseManager.sol +0 -324
  720. package/contracts/shared/ContractDeployerLib.sol +0 -72
  721. package/contracts/shared/ERC165.sol +0 -27
  722. package/contracts/shared/UpgradableProxyWithAdmin.sol +0 -16
  723. package/contracts/test/TestFee.sol +0 -25
  724. package/contracts/test/TestRegisterable.sol +0 -18
  725. package/contracts/test/TestRoleId.sol +0 -14
  726. package/contracts/test/TestService.sol +0 -25
  727. package/contracts/test/TestToken.sol +0 -26
  728. package/contracts/test/TestVersion.sol +0 -44
  729. package/contracts/test/TestVersionable.sol +0 -17
  730. package/contracts/types/Amount.sol +0 -60
  731. package/contracts/types/ChainId.sol +0 -38
  732. package/contracts/types/NumberId.sol +0 -52
  733. package/contracts/types/ObjectType.sol +0 -157
  734. package/contracts/types/PayoutId.sol +0 -54
  735. package/contracts/types/RiskId.sol +0 -43
  736. package/contracts/types/RoleId.sol +0 -97
  737. package/contracts/types/Seconds.sol +0 -54
  738. package/contracts/types/UFixed.sol +0 -326
  739. /package/contracts/{types → type}/DistributorType.sol +0 -0
@@ -0,0 +1,1464 @@
1
+ {
2
+ "_format": "hh-sol-artifact-1",
3
+ "contractName": "BundleService",
4
+ "sourceName": "contracts/pool/BundleService.sol",
5
+ "abi": [
6
+ {
7
+ "inputs": [
8
+ {
9
+ "internalType": "address",
10
+ "name": "authority",
11
+ "type": "address"
12
+ }
13
+ ],
14
+ "name": "AccessManagedInvalidAuthority",
15
+ "type": "error"
16
+ },
17
+ {
18
+ "inputs": [
19
+ {
20
+ "internalType": "address",
21
+ "name": "caller",
22
+ "type": "address"
23
+ },
24
+ {
25
+ "internalType": "uint32",
26
+ "name": "delay",
27
+ "type": "uint32"
28
+ }
29
+ ],
30
+ "name": "AccessManagedRequiredDelay",
31
+ "type": "error"
32
+ },
33
+ {
34
+ "inputs": [
35
+ {
36
+ "internalType": "address",
37
+ "name": "caller",
38
+ "type": "address"
39
+ }
40
+ ],
41
+ "name": "AccessManagedUnauthorized",
42
+ "type": "error"
43
+ },
44
+ {
45
+ "inputs": [
46
+ {
47
+ "internalType": "address",
48
+ "name": "authority",
49
+ "type": "address"
50
+ }
51
+ ],
52
+ "name": "ErrorAuthorityInvalid",
53
+ "type": "error"
54
+ },
55
+ {
56
+ "inputs": [
57
+ {
58
+ "internalType": "NftId",
59
+ "name": "bundleNftId",
60
+ "type": "uint96"
61
+ },
62
+ {
63
+ "internalType": "StateId",
64
+ "name": "state",
65
+ "type": "uint8"
66
+ },
67
+ {
68
+ "internalType": "Timestamp",
69
+ "name": "expiredAt",
70
+ "type": "uint40"
71
+ }
72
+ ],
73
+ "name": "ErrorBundleServiceBundleNotOpen",
74
+ "type": "error"
75
+ },
76
+ {
77
+ "inputs": [
78
+ {
79
+ "internalType": "NftId",
80
+ "name": "bundleNftId",
81
+ "type": "uint96"
82
+ },
83
+ {
84
+ "internalType": "NftId",
85
+ "name": "expectedPool",
86
+ "type": "uint96"
87
+ },
88
+ {
89
+ "internalType": "NftId",
90
+ "name": "actualPool",
91
+ "type": "uint96"
92
+ }
93
+ ],
94
+ "name": "ErrorBundleServiceBundlePoolMismatch",
95
+ "type": "error"
96
+ },
97
+ {
98
+ "inputs": [
99
+ {
100
+ "internalType": "NftId",
101
+ "name": "bundleNftId",
102
+ "type": "uint96"
103
+ }
104
+ ],
105
+ "name": "ErrorBundleServiceBundleUnknown",
106
+ "type": "error"
107
+ },
108
+ {
109
+ "inputs": [
110
+ {
111
+ "internalType": "NftId",
112
+ "name": "bundleNftId",
113
+ "type": "uint96"
114
+ },
115
+ {
116
+ "internalType": "uint256",
117
+ "name": "openPoliciesCount",
118
+ "type": "uint256"
119
+ }
120
+ ],
121
+ "name": "ErrorBundleServiceBundleWithOpenPolicies",
122
+ "type": "error"
123
+ },
124
+ {
125
+ "inputs": [
126
+ {
127
+ "internalType": "NftId",
128
+ "name": "bundleNftId",
129
+ "type": "uint96"
130
+ },
131
+ {
132
+ "internalType": "Amount",
133
+ "name": "capacityAmount",
134
+ "type": "uint96"
135
+ },
136
+ {
137
+ "internalType": "Amount",
138
+ "name": "collateralAmount",
139
+ "type": "uint96"
140
+ }
141
+ ],
142
+ "name": "ErrorBundleServiceCapacityInsufficient",
143
+ "type": "error"
144
+ },
145
+ {
146
+ "inputs": [],
147
+ "name": "ErrorBundleServiceExtensionLifetimeIsZero",
148
+ "type": "error"
149
+ },
150
+ {
151
+ "inputs": [
152
+ {
153
+ "internalType": "address",
154
+ "name": "bundleOwner",
155
+ "type": "address"
156
+ },
157
+ {
158
+ "internalType": "address",
159
+ "name": "tokenHandlerAddress",
160
+ "type": "address"
161
+ },
162
+ {
163
+ "internalType": "Amount",
164
+ "name": "amount",
165
+ "type": "uint96"
166
+ }
167
+ ],
168
+ "name": "ErrorBundleServiceInsufficientAllowance",
169
+ "type": "error"
170
+ },
171
+ {
172
+ "inputs": [
173
+ {
174
+ "internalType": "NftId",
175
+ "name": "policyNftId",
176
+ "type": "uint96"
177
+ }
178
+ ],
179
+ "name": "ErrorBundleServicePolicyNotCloseable",
180
+ "type": "error"
181
+ },
182
+ {
183
+ "inputs": [
184
+ {
185
+ "internalType": "Amount",
186
+ "name": "amount",
187
+ "type": "uint96"
188
+ },
189
+ {
190
+ "internalType": "Amount",
191
+ "name": "limit",
192
+ "type": "uint96"
193
+ }
194
+ ],
195
+ "name": "ErrorBundleServiceUnstakeAmountExceedsLimit",
196
+ "type": "error"
197
+ },
198
+ {
199
+ "inputs": [
200
+ {
201
+ "internalType": "NftId",
202
+ "name": "nftId",
203
+ "type": "uint96"
204
+ }
205
+ ],
206
+ "name": "ErrorNftOwnableAlreadyLinked",
207
+ "type": "error"
208
+ },
209
+ {
210
+ "inputs": [
211
+ {
212
+ "internalType": "address",
213
+ "name": "contractAddress",
214
+ "type": "address"
215
+ }
216
+ ],
217
+ "name": "ErrorNftOwnableContractNotRegistered",
218
+ "type": "error"
219
+ },
220
+ {
221
+ "inputs": [],
222
+ "name": "ErrorNftOwnableInitialOwnerZero",
223
+ "type": "error"
224
+ },
225
+ {
226
+ "inputs": [
227
+ {
228
+ "internalType": "NftId",
229
+ "name": "nftId",
230
+ "type": "uint96"
231
+ },
232
+ {
233
+ "internalType": "ObjectType",
234
+ "name": "expectedObjectType",
235
+ "type": "uint8"
236
+ }
237
+ ],
238
+ "name": "ErrorNftOwnableInvalidType",
239
+ "type": "error"
240
+ },
241
+ {
242
+ "inputs": [
243
+ {
244
+ "internalType": "address",
245
+ "name": "account",
246
+ "type": "address"
247
+ }
248
+ ],
249
+ "name": "ErrorNftOwnableNotOwner",
250
+ "type": "error"
251
+ },
252
+ {
253
+ "inputs": [
254
+ {
255
+ "internalType": "address",
256
+ "name": "registryAddress",
257
+ "type": "address"
258
+ }
259
+ ],
260
+ "name": "ErrorNotRegistry",
261
+ "type": "error"
262
+ },
263
+ {
264
+ "inputs": [],
265
+ "name": "ErrorRegisterableNotActive",
266
+ "type": "error"
267
+ },
268
+ {
269
+ "inputs": [],
270
+ "name": "ErrorVersionableInitializeNotImplemented",
271
+ "type": "error"
272
+ },
273
+ {
274
+ "inputs": [],
275
+ "name": "ErrorVersionableUpgradeNotImplemented",
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
+ "inputs": [],
290
+ "name": "ReentrancyGuardReentrantCall",
291
+ "type": "error"
292
+ },
293
+ {
294
+ "anonymous": false,
295
+ "inputs": [
296
+ {
297
+ "indexed": false,
298
+ "internalType": "address",
299
+ "name": "authority",
300
+ "type": "address"
301
+ }
302
+ ],
303
+ "name": "AuthorityUpdated",
304
+ "type": "event"
305
+ },
306
+ {
307
+ "anonymous": false,
308
+ "inputs": [
309
+ {
310
+ "indexed": false,
311
+ "internalType": "uint64",
312
+ "name": "version",
313
+ "type": "uint64"
314
+ }
315
+ ],
316
+ "name": "Initialized",
317
+ "type": "event"
318
+ },
319
+ {
320
+ "anonymous": false,
321
+ "inputs": [
322
+ {
323
+ "indexed": false,
324
+ "internalType": "NftId",
325
+ "name": "bundleNftId",
326
+ "type": "uint96"
327
+ }
328
+ ],
329
+ "name": "LogBundleServiceBundleClosed",
330
+ "type": "event"
331
+ },
332
+ {
333
+ "anonymous": false,
334
+ "inputs": [
335
+ {
336
+ "indexed": false,
337
+ "internalType": "NftId",
338
+ "name": "bundleNftId",
339
+ "type": "uint96"
340
+ },
341
+ {
342
+ "indexed": false,
343
+ "internalType": "NftId",
344
+ "name": "poolNftId",
345
+ "type": "uint96"
346
+ },
347
+ {
348
+ "indexed": false,
349
+ "internalType": "Seconds",
350
+ "name": "lifetime",
351
+ "type": "uint40"
352
+ }
353
+ ],
354
+ "name": "LogBundleServiceBundleCreated",
355
+ "type": "event"
356
+ },
357
+ {
358
+ "anonymous": false,
359
+ "inputs": [
360
+ {
361
+ "indexed": false,
362
+ "internalType": "NftId",
363
+ "name": "bundleNftId",
364
+ "type": "uint96"
365
+ },
366
+ {
367
+ "indexed": false,
368
+ "internalType": "Seconds",
369
+ "name": "lifetimeExtension",
370
+ "type": "uint40"
371
+ },
372
+ {
373
+ "indexed": false,
374
+ "internalType": "Timestamp",
375
+ "name": "extendedExpiredAt",
376
+ "type": "uint40"
377
+ }
378
+ ],
379
+ "name": "LogBundleServiceBundleExtended",
380
+ "type": "event"
381
+ },
382
+ {
383
+ "anonymous": false,
384
+ "inputs": [
385
+ {
386
+ "indexed": false,
387
+ "internalType": "NftId",
388
+ "name": "bundleNftId",
389
+ "type": "uint96"
390
+ },
391
+ {
392
+ "indexed": false,
393
+ "internalType": "Amount",
394
+ "name": "fixedFee",
395
+ "type": "uint96"
396
+ },
397
+ {
398
+ "indexed": false,
399
+ "internalType": "UFixed",
400
+ "name": "fractionalFee",
401
+ "type": "uint160"
402
+ }
403
+ ],
404
+ "name": "LogBundleServiceBundleFeeUpdated",
405
+ "type": "event"
406
+ },
407
+ {
408
+ "anonymous": false,
409
+ "inputs": [
410
+ {
411
+ "indexed": false,
412
+ "internalType": "NftId",
413
+ "name": "bundleNftId",
414
+ "type": "uint96"
415
+ }
416
+ ],
417
+ "name": "LogBundleServiceBundleLocked",
418
+ "type": "event"
419
+ },
420
+ {
421
+ "anonymous": false,
422
+ "inputs": [
423
+ {
424
+ "indexed": false,
425
+ "internalType": "NftId",
426
+ "name": "bundleNftId",
427
+ "type": "uint96"
428
+ },
429
+ {
430
+ "indexed": false,
431
+ "internalType": "Amount",
432
+ "name": "amount",
433
+ "type": "uint96"
434
+ }
435
+ ],
436
+ "name": "LogBundleServiceBundleStaked",
437
+ "type": "event"
438
+ },
439
+ {
440
+ "anonymous": false,
441
+ "inputs": [
442
+ {
443
+ "indexed": false,
444
+ "internalType": "NftId",
445
+ "name": "bundleNftId",
446
+ "type": "uint96"
447
+ }
448
+ ],
449
+ "name": "LogBundleServiceBundleUnlocked",
450
+ "type": "event"
451
+ },
452
+ {
453
+ "anonymous": false,
454
+ "inputs": [
455
+ {
456
+ "indexed": false,
457
+ "internalType": "NftId",
458
+ "name": "bundleNftId",
459
+ "type": "uint96"
460
+ },
461
+ {
462
+ "indexed": false,
463
+ "internalType": "Amount",
464
+ "name": "amount",
465
+ "type": "uint96"
466
+ }
467
+ ],
468
+ "name": "LogBundleServiceBundleUnstaked",
469
+ "type": "event"
470
+ },
471
+ {
472
+ "anonymous": false,
473
+ "inputs": [
474
+ {
475
+ "indexed": false,
476
+ "internalType": "NftId",
477
+ "name": "bundleNftId",
478
+ "type": "uint96"
479
+ },
480
+ {
481
+ "indexed": false,
482
+ "internalType": "NftId",
483
+ "name": "policyNftId",
484
+ "type": "uint96"
485
+ },
486
+ {
487
+ "indexed": false,
488
+ "internalType": "Amount",
489
+ "name": "collateralAmount",
490
+ "type": "uint96"
491
+ }
492
+ ],
493
+ "name": "LogBundleServiceCollateralLocked",
494
+ "type": "event"
495
+ },
496
+ {
497
+ "anonymous": false,
498
+ "inputs": [
499
+ {
500
+ "indexed": false,
501
+ "internalType": "NftId",
502
+ "name": "bundleNftId",
503
+ "type": "uint96"
504
+ },
505
+ {
506
+ "indexed": false,
507
+ "internalType": "NftId",
508
+ "name": "policyNftId",
509
+ "type": "uint96"
510
+ },
511
+ {
512
+ "indexed": false,
513
+ "internalType": "Amount",
514
+ "name": "collateralAmount",
515
+ "type": "uint96"
516
+ }
517
+ ],
518
+ "name": "LogBundleServiceCollateralReleased",
519
+ "type": "event"
520
+ },
521
+ {
522
+ "anonymous": false,
523
+ "inputs": [
524
+ {
525
+ "indexed": false,
526
+ "internalType": "NftId",
527
+ "name": "nftId",
528
+ "type": "uint96"
529
+ },
530
+ {
531
+ "indexed": false,
532
+ "internalType": "address",
533
+ "name": "owner",
534
+ "type": "address"
535
+ }
536
+ ],
537
+ "name": "LogNftOwnableNftLinkedToAddress",
538
+ "type": "event"
539
+ },
540
+ {
541
+ "inputs": [],
542
+ "name": "BUNDLE_SERVICE_STORAGE_LOCATION_V3_0",
543
+ "outputs": [
544
+ {
545
+ "internalType": "bytes32",
546
+ "name": "",
547
+ "type": "bytes32"
548
+ }
549
+ ],
550
+ "stateMutability": "view",
551
+ "type": "function"
552
+ },
553
+ {
554
+ "inputs": [],
555
+ "name": "INITIALIZABLE_ERC165_STORAGE_LOCATION_V3_0",
556
+ "outputs": [
557
+ {
558
+ "internalType": "bytes32",
559
+ "name": "",
560
+ "type": "bytes32"
561
+ }
562
+ ],
563
+ "stateMutability": "view",
564
+ "type": "function"
565
+ },
566
+ {
567
+ "inputs": [],
568
+ "name": "NAME",
569
+ "outputs": [
570
+ {
571
+ "internalType": "string",
572
+ "name": "",
573
+ "type": "string"
574
+ }
575
+ ],
576
+ "stateMutability": "view",
577
+ "type": "function"
578
+ },
579
+ {
580
+ "inputs": [],
581
+ "name": "NFT_OWNABLE_STORAGE_LOCATION_V3_0",
582
+ "outputs": [
583
+ {
584
+ "internalType": "bytes32",
585
+ "name": "",
586
+ "type": "bytes32"
587
+ }
588
+ ],
589
+ "stateMutability": "view",
590
+ "type": "function"
591
+ },
592
+ {
593
+ "inputs": [],
594
+ "name": "REGISTERABLE_STORAGE_LOCATION_V3_0",
595
+ "outputs": [
596
+ {
597
+ "internalType": "bytes32",
598
+ "name": "",
599
+ "type": "bytes32"
600
+ }
601
+ ],
602
+ "stateMutability": "view",
603
+ "type": "function"
604
+ },
605
+ {
606
+ "inputs": [],
607
+ "name": "authority",
608
+ "outputs": [
609
+ {
610
+ "internalType": "address",
611
+ "name": "",
612
+ "type": "address"
613
+ }
614
+ ],
615
+ "stateMutability": "view",
616
+ "type": "function"
617
+ },
618
+ {
619
+ "inputs": [
620
+ {
621
+ "internalType": "contract IInstance",
622
+ "name": "instance",
623
+ "type": "address"
624
+ },
625
+ {
626
+ "internalType": "NftId",
627
+ "name": "bundleNftId",
628
+ "type": "uint96"
629
+ }
630
+ ],
631
+ "name": "close",
632
+ "outputs": [
633
+ {
634
+ "internalType": "Amount",
635
+ "name": "unstakedAmount",
636
+ "type": "uint96"
637
+ },
638
+ {
639
+ "internalType": "Amount",
640
+ "name": "feeAmount",
641
+ "type": "uint96"
642
+ }
643
+ ],
644
+ "stateMutability": "nonpayable",
645
+ "type": "function"
646
+ },
647
+ {
648
+ "inputs": [
649
+ {
650
+ "internalType": "address",
651
+ "name": "owner",
652
+ "type": "address"
653
+ },
654
+ {
655
+ "components": [
656
+ {
657
+ "internalType": "UFixed",
658
+ "name": "fractionalFee",
659
+ "type": "uint160"
660
+ },
661
+ {
662
+ "internalType": "Amount",
663
+ "name": "fixedFee",
664
+ "type": "uint96"
665
+ }
666
+ ],
667
+ "internalType": "struct Fee",
668
+ "name": "bundleFee",
669
+ "type": "tuple"
670
+ },
671
+ {
672
+ "internalType": "Seconds",
673
+ "name": "lifetime",
674
+ "type": "uint40"
675
+ },
676
+ {
677
+ "internalType": "bytes",
678
+ "name": "filter",
679
+ "type": "bytes"
680
+ }
681
+ ],
682
+ "name": "create",
683
+ "outputs": [
684
+ {
685
+ "internalType": "NftId",
686
+ "name": "bundleNftId",
687
+ "type": "uint96"
688
+ }
689
+ ],
690
+ "stateMutability": "nonpayable",
691
+ "type": "function"
692
+ },
693
+ {
694
+ "inputs": [
695
+ {
696
+ "internalType": "NftId",
697
+ "name": "bundleNftId",
698
+ "type": "uint96"
699
+ },
700
+ {
701
+ "internalType": "Seconds",
702
+ "name": "lifetimeExtension",
703
+ "type": "uint40"
704
+ }
705
+ ],
706
+ "name": "extend",
707
+ "outputs": [
708
+ {
709
+ "internalType": "Timestamp",
710
+ "name": "extendedExpiredAt",
711
+ "type": "uint40"
712
+ }
713
+ ],
714
+ "stateMutability": "nonpayable",
715
+ "type": "function"
716
+ },
717
+ {
718
+ "inputs": [],
719
+ "name": "getDomain",
720
+ "outputs": [
721
+ {
722
+ "internalType": "ObjectType",
723
+ "name": "serviceDomain",
724
+ "type": "uint8"
725
+ }
726
+ ],
727
+ "stateMutability": "pure",
728
+ "type": "function"
729
+ },
730
+ {
731
+ "inputs": [],
732
+ "name": "getInitialInfo",
733
+ "outputs": [
734
+ {
735
+ "components": [
736
+ {
737
+ "internalType": "NftId",
738
+ "name": "nftId",
739
+ "type": "uint96"
740
+ },
741
+ {
742
+ "internalType": "NftId",
743
+ "name": "parentNftId",
744
+ "type": "uint96"
745
+ },
746
+ {
747
+ "internalType": "ObjectType",
748
+ "name": "objectType",
749
+ "type": "uint8"
750
+ },
751
+ {
752
+ "internalType": "bool",
753
+ "name": "isInterceptor",
754
+ "type": "bool"
755
+ },
756
+ {
757
+ "internalType": "address",
758
+ "name": "objectAddress",
759
+ "type": "address"
760
+ },
761
+ {
762
+ "internalType": "address",
763
+ "name": "initialOwner",
764
+ "type": "address"
765
+ },
766
+ {
767
+ "internalType": "bytes",
768
+ "name": "data",
769
+ "type": "bytes"
770
+ }
771
+ ],
772
+ "internalType": "struct IRegistry.ObjectInfo",
773
+ "name": "info",
774
+ "type": "tuple"
775
+ }
776
+ ],
777
+ "stateMutability": "view",
778
+ "type": "function"
779
+ },
780
+ {
781
+ "inputs": [],
782
+ "name": "getNftId",
783
+ "outputs": [
784
+ {
785
+ "internalType": "NftId",
786
+ "name": "",
787
+ "type": "uint96"
788
+ }
789
+ ],
790
+ "stateMutability": "view",
791
+ "type": "function"
792
+ },
793
+ {
794
+ "inputs": [],
795
+ "name": "getOwner",
796
+ "outputs": [
797
+ {
798
+ "internalType": "address",
799
+ "name": "",
800
+ "type": "address"
801
+ }
802
+ ],
803
+ "stateMutability": "view",
804
+ "type": "function"
805
+ },
806
+ {
807
+ "inputs": [],
808
+ "name": "getRegistry",
809
+ "outputs": [
810
+ {
811
+ "internalType": "contract IRegistry",
812
+ "name": "",
813
+ "type": "address"
814
+ }
815
+ ],
816
+ "stateMutability": "view",
817
+ "type": "function"
818
+ },
819
+ {
820
+ "inputs": [],
821
+ "name": "getRelease",
822
+ "outputs": [
823
+ {
824
+ "internalType": "VersionPart",
825
+ "name": "release",
826
+ "type": "uint8"
827
+ }
828
+ ],
829
+ "stateMutability": "view",
830
+ "type": "function"
831
+ },
832
+ {
833
+ "inputs": [],
834
+ "name": "getRoleId",
835
+ "outputs": [
836
+ {
837
+ "internalType": "RoleId",
838
+ "name": "serviceRoleId",
839
+ "type": "uint64"
840
+ }
841
+ ],
842
+ "stateMutability": "view",
843
+ "type": "function"
844
+ },
845
+ {
846
+ "inputs": [],
847
+ "name": "getVersion",
848
+ "outputs": [
849
+ {
850
+ "internalType": "Version",
851
+ "name": "",
852
+ "type": "uint24"
853
+ }
854
+ ],
855
+ "stateMutability": "pure",
856
+ "type": "function"
857
+ },
858
+ {
859
+ "inputs": [
860
+ {
861
+ "internalType": "address",
862
+ "name": "activatedBy",
863
+ "type": "address"
864
+ },
865
+ {
866
+ "internalType": "bytes",
867
+ "name": "data",
868
+ "type": "bytes"
869
+ }
870
+ ],
871
+ "name": "initializeVersionable",
872
+ "outputs": [],
873
+ "stateMutability": "nonpayable",
874
+ "type": "function"
875
+ },
876
+ {
877
+ "inputs": [],
878
+ "name": "isActive",
879
+ "outputs": [
880
+ {
881
+ "internalType": "bool",
882
+ "name": "active",
883
+ "type": "bool"
884
+ }
885
+ ],
886
+ "stateMutability": "view",
887
+ "type": "function"
888
+ },
889
+ {
890
+ "inputs": [],
891
+ "name": "isConsumingScheduledOp",
892
+ "outputs": [
893
+ {
894
+ "internalType": "bytes4",
895
+ "name": "",
896
+ "type": "bytes4"
897
+ }
898
+ ],
899
+ "stateMutability": "view",
900
+ "type": "function"
901
+ },
902
+ {
903
+ "inputs": [],
904
+ "name": "linkToRegisteredNftId",
905
+ "outputs": [
906
+ {
907
+ "internalType": "NftId",
908
+ "name": "nftId",
909
+ "type": "uint96"
910
+ }
911
+ ],
912
+ "stateMutability": "nonpayable",
913
+ "type": "function"
914
+ },
915
+ {
916
+ "inputs": [
917
+ {
918
+ "internalType": "contract IInstance",
919
+ "name": "instance",
920
+ "type": "address"
921
+ },
922
+ {
923
+ "internalType": "NftId",
924
+ "name": "policyNftId",
925
+ "type": "uint96"
926
+ },
927
+ {
928
+ "internalType": "NftId",
929
+ "name": "bundleNftId",
930
+ "type": "uint96"
931
+ },
932
+ {
933
+ "internalType": "Amount",
934
+ "name": "collateralAmount",
935
+ "type": "uint96"
936
+ }
937
+ ],
938
+ "name": "lockCollateral",
939
+ "outputs": [],
940
+ "stateMutability": "nonpayable",
941
+ "type": "function"
942
+ },
943
+ {
944
+ "inputs": [
945
+ {
946
+ "internalType": "contract InstanceStore",
947
+ "name": "instanceStore",
948
+ "type": "address"
949
+ },
950
+ {
951
+ "internalType": "NftId",
952
+ "name": "policyNftId",
953
+ "type": "uint96"
954
+ },
955
+ {
956
+ "internalType": "NftId",
957
+ "name": "bundleNftId",
958
+ "type": "uint96"
959
+ },
960
+ {
961
+ "internalType": "Amount",
962
+ "name": "collateralAmount",
963
+ "type": "uint96"
964
+ }
965
+ ],
966
+ "name": "releaseCollateral",
967
+ "outputs": [],
968
+ "stateMutability": "nonpayable",
969
+ "type": "function"
970
+ },
971
+ {
972
+ "inputs": [
973
+ {
974
+ "internalType": "address",
975
+ "name": "newAuthority",
976
+ "type": "address"
977
+ }
978
+ ],
979
+ "name": "setAuthority",
980
+ "outputs": [],
981
+ "stateMutability": "nonpayable",
982
+ "type": "function"
983
+ },
984
+ {
985
+ "inputs": [
986
+ {
987
+ "internalType": "NftId",
988
+ "name": "bundleNftId",
989
+ "type": "uint96"
990
+ },
991
+ {
992
+ "components": [
993
+ {
994
+ "internalType": "UFixed",
995
+ "name": "fractionalFee",
996
+ "type": "uint160"
997
+ },
998
+ {
999
+ "internalType": "Amount",
1000
+ "name": "fixedFee",
1001
+ "type": "uint96"
1002
+ }
1003
+ ],
1004
+ "internalType": "struct Fee",
1005
+ "name": "fee",
1006
+ "type": "tuple"
1007
+ }
1008
+ ],
1009
+ "name": "setFee",
1010
+ "outputs": [],
1011
+ "stateMutability": "nonpayable",
1012
+ "type": "function"
1013
+ },
1014
+ {
1015
+ "inputs": [
1016
+ {
1017
+ "internalType": "NftId",
1018
+ "name": "bundleNftId",
1019
+ "type": "uint96"
1020
+ },
1021
+ {
1022
+ "internalType": "bool",
1023
+ "name": "locked",
1024
+ "type": "bool"
1025
+ }
1026
+ ],
1027
+ "name": "setLocked",
1028
+ "outputs": [],
1029
+ "stateMutability": "nonpayable",
1030
+ "type": "function"
1031
+ },
1032
+ {
1033
+ "inputs": [
1034
+ {
1035
+ "internalType": "contract InstanceReader",
1036
+ "name": "instanceReader",
1037
+ "type": "address"
1038
+ },
1039
+ {
1040
+ "internalType": "contract InstanceStore",
1041
+ "name": "instanceStore",
1042
+ "type": "address"
1043
+ },
1044
+ {
1045
+ "internalType": "NftId",
1046
+ "name": "bundleNftId",
1047
+ "type": "uint96"
1048
+ },
1049
+ {
1050
+ "internalType": "Amount",
1051
+ "name": "amount",
1052
+ "type": "uint96"
1053
+ }
1054
+ ],
1055
+ "name": "stake",
1056
+ "outputs": [],
1057
+ "stateMutability": "nonpayable",
1058
+ "type": "function"
1059
+ },
1060
+ {
1061
+ "inputs": [
1062
+ {
1063
+ "internalType": "bytes4",
1064
+ "name": "interfaceId",
1065
+ "type": "bytes4"
1066
+ }
1067
+ ],
1068
+ "name": "supportsInterface",
1069
+ "outputs": [
1070
+ {
1071
+ "internalType": "bool",
1072
+ "name": "",
1073
+ "type": "bool"
1074
+ }
1075
+ ],
1076
+ "stateMutability": "view",
1077
+ "type": "function"
1078
+ },
1079
+ {
1080
+ "inputs": [
1081
+ {
1082
+ "internalType": "contract InstanceStore",
1083
+ "name": "instanceStore",
1084
+ "type": "address"
1085
+ },
1086
+ {
1087
+ "internalType": "NftId",
1088
+ "name": "bundleNftId",
1089
+ "type": "uint96"
1090
+ },
1091
+ {
1092
+ "internalType": "Amount",
1093
+ "name": "amount",
1094
+ "type": "uint96"
1095
+ }
1096
+ ],
1097
+ "name": "unstake",
1098
+ "outputs": [
1099
+ {
1100
+ "internalType": "Amount",
1101
+ "name": "unstakedAmount",
1102
+ "type": "uint96"
1103
+ }
1104
+ ],
1105
+ "stateMutability": "nonpayable",
1106
+ "type": "function"
1107
+ },
1108
+ {
1109
+ "inputs": [
1110
+ {
1111
+ "internalType": "bytes",
1112
+ "name": "data",
1113
+ "type": "bytes"
1114
+ }
1115
+ ],
1116
+ "name": "upgradeVersionable",
1117
+ "outputs": [],
1118
+ "stateMutability": "nonpayable",
1119
+ "type": "function"
1120
+ }
1121
+ ],
1122
+ "bytecode": "0x6080604052348015600e575f80fd5b5060156019565b60c9565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00805468010000000000000000900460ff161560685760405163f92ee8a960e01b815260040160405180910390fd5b80546001600160401b039081161460c65780546001600160401b0319166001600160401b0390811782556040519081527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50565b614a01806100d65f395ff3fe608060405234801561000f575f80fd5b50600436106101d1575f3560e01c8063893d20e8116100fe578063b4f273bd1161009e578063c725889f1161006e578063c725889f14610491578063d42a24b1146104a5578063f3d0e5d2146104b8578063fdbb9296146104e1575f80fd5b8063b4f273bd14610448578063b68d18091461046f578063bf7e214f14610476578063c548949d1461047e575f80fd5b8063a3f4df7e116100d9578063a3f4df7e146103b6578063a5fbe479146103ef578063aa9acb2c14610402578063ad328d9f14610435575f80fd5b8063893d20e8146103795780638fb3603714610381578063971e692a146103a2575f80fd5b806349bb9e4b11610174578063644c45e011610144578063644c45e01461030f5780636c741e781461032c57806376b707b71461034c5780637a9e5e4b14610366575f80fd5b806349bb9e4b146102a35780634adcf909146102b657806355298fbc146102c95780635ab1bd53146102eb575f80fd5b8063138461e0116101af578063138461e01461025357806322f3e2d4146102735780632d2cf2221461027b578063329d6e741461028e575f80fd5b806301ffc9a7146101d55780630d8e6e2c146102225780630fec111c1461023e575b5f80fd5b61020d6101e3366004613dc3565b6001600160e01b0319165f9081525f8051602061498c833981519152602052604090205460ff1690565b60405190151581526020015b60405180910390f35b61022a6104f4565b60405162ffffff9091168152602001610219565b61024661057b565b6040516102199190613e18565b61025b610735565b6040516001600160601b039091168152602001610219565b61020d61073f565b61025b610289366004613ed4565b6107b6565b6102a161029c366004614022565b610afe565b005b6102a16102b1366004614053565b610c48565b6102a16102c436600461409f565b610d44565b6102dd5f8051602061498c83398151915281565b604051908152602001610219565b5f546001600160a01b03165b6040516001600160a01b039091168152602001610219565b5f8051602061496c833981519152546001600160601b031661025b565b6103346111fa565b6040516001600160401b039091168152602001610219565b610354611286565b60405160ff9091168152602001610219565b6102a16103743660046140f8565b6112ee565b6102f7611374565b6103896114a4565b6040516001600160e01b03199091168152602001610219565b6102dd5f8051602061494c83398151915281565b6103e26040518060400160405280600d81526020016c42756e646c655365727669636560981b81525081565b6040516102199190614113565b6102a16103fd366004614165565b6114d9565b610415610410366004614199565b61187c565b604080516001600160601b03938416815292909116602083015201610219565b6102a161044336600461409f565b611cfe565b6102dd7f66ed5788a8bec6ff1e7b389e8e939876404dd6c85eb5e16ebccc687f21cd620081565b6016610354565b6102f7611dec565b6102a161048c3660046141d0565b611e07565b6102dd5f8051602061496c83398151915281565b6102a16104b336600461420b565b612186565b6104cb6104c6366004614249565b6123d9565b60405164ffffffffff9091168152602001610219565b61025b6104ef366004614275565b612971565b604051632efe011360e01b8152600360048201525f60248201819052604482018190529073__$8eede297b65ed5a56eb3f84d8232ae93f5$__90632efe011390606401602060405180830381865af4158015610552573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906105769190614314565b905090565b6040805160e0810182525f8082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820152907f66ed5788a8bec6ff1e7b389e8e939876404dd6c85eb5e16ebccc687f21cd620090506040518060e0016040528073__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015610627573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061064b9190614346565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a001610693611374565b6001600160a01b031681526020018260010180546106b090614361565b80601f01602080910402602001604051908101604052809291908181526020018280546106dc90614361565b80156107275780601f106106fe57610100808354040283529160200191610727565b820191905f5260205f20905b81548152906001019060200180831161070a57829003601f168201915b505050505081525091505090565b5f61057630612f41565b5f610748611dec565b60405163a166aa8960e01b81523060048201526001600160a01b03919091169063a166aa8990602401602060405180830381865afa15801561078c573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906107b09190614399565b15905090565b5f6107c3335b5f36613195565b6107ce836016613293565b6040516317bb785d60e21b81526001600160601b03841660048201525f90819081906001600160a01b03881690635eede17490602401606060405180830381865afa15801561081f573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061084391906143b4565b9250925092508493505f6108608461085b85856133c6565b613452565b9050856001600160601b031673__$3bac17678db7ae928afa209f2f44deec9c$__63262b32d2909173__$3bac17678db7ae928afa209f2f44deec9c$__636ac5db196040518163ffffffff1660e01b8152600401602060405180830381865af41580156108cf573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906108f39190614346565b6040516001600160e01b031960e085901b1681526001600160601b03928316600482015291166024820152604401602060405180830381865af415801561093c573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906109609190614399565b15610969578094505b610973858261349c565b156109a85760405162f808ef60e61b81526001600160601b038088166004830152821660248201526044015b60405180910390fd5b7f46b8ce3500c11673bb6f380e5e46ed88536ecfaa352cb594644cb469c5a14d02546040805163bc1b392d60e01b815290515f8051602061494c833981519152926001600160a01b03169163e618053f918c918c918b9173__$3bac17678db7ae928afa209f2f44deec9c$__9163bc1b392d916004808201926020929091908290030181865af4158015610a3e573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610a629190614346565b6040518563ffffffff1660e01b8152600401610a8194939291906143f3565b5f604051808303815f87803b158015610a98575f80fd5b505af1158015610aaa573d5f803e3d5ffd5b5050604080516001600160601b03808d1682528a1660208201527f880218d69bf84dcbfcc344ac7a33e4855f791f14a1297cc12b011329032dd4e4935001905060405180910390a150505050509392505050565b73__$8eede297b65ed5a56eb3f84d8232ae93f5$__63a123b37c610b206104f4565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af4158015610b5e573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b829190614439565b5f805160206149ac8339815191528054600160401b900460ff1680610bb4575080546001600160401b03808416911610155b15610bd25760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b178155610bfc83613521565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a1505050565b5f805160206149ac8339815191528054600160401b810460ff1615906001600160401b03165f81158015610c795750825b90505f826001600160401b03166001148015610c945750303b155b905081158015610ca2575080155b15610cc05760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315610cea57845460ff60401b1916600160401b1785555b610cf48787613542565b8315610d3b57845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a15b50505050505050565b610d4d336107bc565b610d58836015613293565b610d63826016613293565b5f846001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015610da0573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610dc49190614454565b90505f856001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015610e03573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610e279190614454565b604051637d8f1e8160e01b81526001600160601b03861660048201526001600160a01b039190911690637d8f1e8190602401602060405180830381865afa158015610e74573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610e98919061447d565b604051634793b4ab60e01b81526001600160601b03861660048201529091505f906001600160a01b03841690634793b4ab906024015f60405180830381865afa158015610ee7573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052610f0e9190810190614525565b9050610f238260055b60ff9081169116141590565b80610fab5750610fab816020015173__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__639fa6a6e36040518163ffffffff1660e01b8152600401602060405180830381865af4158015610f78573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610f9c91906145e9565b64ffffffffff90811691161090565b15610ff057602081015160405163bf5b8f0960e01b81526001600160601b038716600482015260ff8416602482015264ffffffffff909116604482015260640161099f565b50505f856001600160a01b031663d4cda0d86040518163ffffffff1660e01b8152600401602060405180830381865afa15801561102f573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906110539190614454565b6040516317bb785d60e21b81526001600160601b03861660048201529091505f90819081906001600160a01b03851690635eede17490602401606060405180830381865afa1580156110a7573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906110cb91906143b4565b9250925092505f6110e08461085b85856133c6565b90506110ec81886136f0565b156111255760405163826a5ff960e01b81526001600160601b03808a16600483015280831660248301528816604482015260640161099f565b505060405163248a77dd60e01b81526001600160601b038088166004830152861660248201526001600160a01b038416925063248a77dd91506044016020604051808303815f875af115801561117d573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906111a19190614346565b50604080516001600160601b03808716825280881660208301528516918101919091527f33e52c65ac538b657291335d8a7d5bc3ac977bb87bb0220bb94bc3c889761db5906060015b60405180910390a1505050505050565b5f73__$1d92393fa9ccd763988368ce8a1cb90d26$__63645ceefe601661121f611286565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865af4158015611262573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906105769190614439565b5f61128f611dec565b6001600160a01b03166376b707b76040518163ffffffff1660e01b8152600401602060405180830381865afa1580156112ca573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610576919061447d565b336112f7611dec565b6001600160a01b0316816001600160a01b0316146113325760405162d1953b60e31b81526001600160a01b038216600482015260240161099f565b816001600160a01b03163b5f03611367576040516361798f2f60e11b81526001600160a01b038316600482015260240161099f565b6113708261373a565b5050565b5f805f8051602061496c83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af41580156113e0573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906114049190614399565b1561148e575f546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015611464573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906114889190614454565b91505090565b54600160601b90046001600160a01b0316919050565b5f8051602061492c83398151915280545f9190600160a01b900460ff166114cb575f611488565b638fb3603760e01b91505090565b6114e2336107bc565b6114ed826016613293565b5f8073__$19db5f0436f9beab06d91aaebdafaf50ff$__6339b8cee861151a5f546001600160a01b031690565b6040516001600160e01b031960e084901b1681526001600160a01b0390911660048201523360248201526044016040805180830381865af4158015611561573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906115859190614604565b915091505f816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa1580156115c6573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906115ea9190614454565b604051634793b4ab60e01b81526001600160601b03871660048201529091505f906001600160a01b03831690634793b4ab906024015f60405180830381865afa158015611639573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526116609190810190614525565b6060810151604051630a4d29dd60e31b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906352694ee890602401602060405180830381865af41580156116bf573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906116e39190614399565b1561170c576040516349e9f38360e01b81526001600160601b038716600482015260240161099f565b61171a81606001518561379a565b1561175957606081015160405163dab86e4560e01b81526001600160601b0380891660048301529182166024820152908516604482015260640161099f565b848160800181905250826001600160a01b031663d4cda0d86040518163ffffffff1660e01b8152600401602060405180830381865afa15801561179e573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906117c29190614454565b6001600160a01b03166308077cd9878360ff6040518463ffffffff1660e01b81526004016117f2939291906146b5565b5f604051808303815f87803b158015611809575f80fd5b505af115801561181b573d5f803e3d5ffd5b505050506020858101518651604080516001600160601b03808c168252909316938301939093526001600160a01b0316918101919091527f99ad3408b4d3b9cc1730a03c40ed8bb2296d6b60a84877f887fd1a0c03bae880906060016111ea565b5f80611887336107bc565b611892836016613293565b5f846001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa1580156118cf573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906118f39190614454565b90505f856001600160a01b0316636dddada46040518163ffffffff1660e01b8152600401602060405180830381865afa158015611932573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906119569190614454565b6040516322cc1d4560e11b81526001600160601b03871660048201529091505f906001600160a01b038316906345983a8a90602401602060405180830381865afa1580156119a6573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906119ca91906146e9565b905080156119fd576040516356a410b760e01b81526001600160601b03871660048201526024810182905260440161099f565b5f876001600160a01b031663d4cda0d86040518163ffffffff1660e01b8152600401602060405180830381865afa158015611a3a573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611a5e9190614454565b90506001600160a01b03811663fe1f18d68860c86040516001600160e01b031960e085901b1681526001600160601b03909216600483015260ff1660248201526044015f604051808303815f87803b158015611ab8575f80fd5b505af1158015611aca573d5f803e3d5ffd5b505060405163b5346af560e01b81526001600160601b038a1660048201526001600160a01b038616925063b5346af591506024015f604051808303815f87803b158015611b15575f80fd5b505af1158015611b27573d5f803e3d5ffd5b50506040516308a390bb60e21b81526001600160601b038a1660048201525f92506001600160a01b038716915063228e42ec90602401602060405180830381865afa158015611b78573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611b9c9190614346565b604051630232ca4960e01b81526001600160601b038a1660048201529091506001600160a01b03861690630232ca4990602401602060405180830381865afa158015611bea573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611c0e9190614346565b9550611c1a8187613452565b7f46b8ce3500c11673bb6f380e5e46ed88536ecfaa352cb594644cb469c5a14d025460405163e618053f60e01b81529198505f8051602061494c833981519152916001600160a01b039091169063e618053f90611c819086908d908d908d906004016143f3565b5f604051808303815f87803b158015611c98575f80fd5b505af1158015611caa573d5f803e3d5ffd5b50506040516001600160601b038c1681527f3a12bd8160a5ced8b160505cad1dedc4066b23192a8769aa61df7cc0048e7e7f95506020019350611cec92505050565b60405180910390a15050509250929050565b611d07336107bc565b611d12836015613293565b611d1d826016613293565b6040516353ebe12960e01b81526001600160601b038084166004830152821660248201526001600160a01b038516906353ebe129906044016020604051808303815f875af1158015611d71573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611d959190614346565b50604080516001600160601b03808516825280861660208301528316918101919091527f754583c2f5c9141a2573d05c9393b224e6cdb41e95ff925387ca636b44dd6969906060015b60405180910390a150505050565b5f8051602061492c833981519152546001600160a01b031690565b611e10336107bc565b611e1b826016613293565b604051634793b4ab60e01b81526001600160601b03831660048201525f906001600160a01b03861690634793b4ab906024015f60405180830381865afa158015611e67573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052611e8e9190810190614525565b604051637d8f1e8160e01b81526001600160601b03851660048201529091505f906001600160a01b03871690637d8f1e8190602401602060405180830381865afa158015611ede573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611f02919061447d565b9050611f0f816005610f17565b8015611f215750611f2181606e610f17565b80611f765750611f76826020015173__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__639fa6a6e36040518163ffffffff1660e01b8152600401602060405180830381865af4158015610f78573d5f803e3d5ffd5b80611ffa57506040828101519051638d38cd4b60e01b815264ffffffffff909116600482015273__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__90638d38cd4b90602401602060405180830381865af4158015611fd6573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611ffa9190614399565b1561203f57602082015160405163bf5b8f0960e01b81526001600160601b038616600482015260ff8316602482015264ffffffffff909116604482015260640161099f565b7f46b8ce3500c11673bb6f380e5e46ed88536ecfaa352cb594644cb469c5a14d02546040805163bc1b392d60e01b815290515f8051602061494c833981519152926001600160a01b0316916325e451d39189918991899173__$3bac17678db7ae928afa209f2f44deec9c$__9163bc1b392d916004808201926020929091908290030181865af41580156120d5573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906120f99190614346565b6040518563ffffffff1660e01b815260040161211894939291906143f3565b5f604051808303815f87803b15801561212f575f80fd5b505af1158015612141573d5f803e3d5ffd5b5050604080516001600160601b03808a168252881660208201527fa28e59e09413d1a65be1e647628258b4c56a9b39bec520a56addf90098fad1b39350019050610d32565b61218f336107bc565b61219a826016613293565b5f73__$19db5f0436f9beab06d91aaebdafaf50ff$__6339b8cee86121c65f546001600160a01b031690565b6040516001600160e01b031960e084901b1681526001600160a01b0390911660048201523360248201526044016040805180830381865af415801561220d573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906122319190614604565b9150505f816001600160a01b0316636dddada46040518163ffffffff1660e01b8152600401602060405180830381865afa158015612271573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906122959190614454565b9050821561233c5760405163b5346af560e01b81526001600160601b03851660048201526001600160a01b0382169063b5346af5906024015f604051808303815f87803b1580156122e4575f80fd5b505af11580156122f6573d5f803e3d5ffd5b50506040516001600160601b03871681527f6764112d27879e5bb12f07fde08a48629ec22e603c75c9942ba62a06c95a55f49250602001905060405180910390a16123d3565b6040516306fa456560e01b81526001600160601b03851660048201526001600160a01b038216906306fa4565906024015f604051808303815f87803b158015612383575f80fd5b505af1158015612395573d5f803e3d5ffd5b50506040516001600160601b03871681527fd25855e82e25fff079ef5da5f5dd1bf7911edfda08359f5b968e972504dc492b92506020019050611dde565b50505050565b5f6123e3336107bc565b6123ee836016613293565b5f8073__$19db5f0436f9beab06d91aaebdafaf50ff$__6339b8cee861241b5f546001600160a01b031690565b6040516001600160e01b031960e084901b1681526001600160a01b0390911660048201523360248201526044016040805180830381865af4158015612462573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906124869190614604565b915091505f816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa1580156124c7573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906124eb9190614454565b604051634793b4ab60e01b81526001600160601b03881660048201526001600160a01b039190911690634793b4ab906024015f60405180830381865afa158015612537573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f1916820160405261255e9190810190614525565b90505f826001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa15801561259d573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906125c19190614454565b604051637d8f1e8160e01b81526001600160601b03891660048201526001600160a01b039190911690637d8f1e8190602401602060405180830381865afa15801561260e573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612632919061447d565b905061264282606001518561379a565b1561268157606082015160405163dab86e4560e01b81526001600160601b03808a1660048301529182166024820152908516604482015260640161099f565b61268c816005610f17565b806126e157506126e1826020015173__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__639fa6a6e36040518163ffffffff1660e01b8152600401602060405180830381865af4158015610f78573d5f803e3d5ffd5b1561272657602082015160405163bf5b8f0960e01b81526001600160601b038916600482015260ff8316602482015264ffffffffff909116604482015260640161099f565b60405163790a38ad60e01b815264ffffffffff8716600482015273__$71e292c09eace9601b3e21e68a1278917a$__9063790a38ad90602401602060405180830381865af415801561277a573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061279e9190614399565b156127bc576040516307f6a6ab60e31b815260040160405180910390fd5b60208201516040516352bcc5a760e11b815264ffffffffff9182166004820152908716602482015273__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__9063a5798b4e90604401602060405180830381865af415801561281e573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061284291906145e9565b64ffffffffff16602080840182905260408051631a99b41b60e31b815290519297506001600160a01b0386169263d4cda0d8926004808401939192918290030181865afa158015612895573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906128b99190614454565b6001600160a01b03166308077cd9888460ff6040518463ffffffff1660e01b81526004016128e9939291906146b5565b5f604051808303815f87803b158015612900575f80fd5b505af1158015612912573d5f803e3d5ffd5b5050604080516001600160601b038b16815264ffffffffff8a8116602083015289168183015290517f47dde095fac4cfe7361ede303a6499020b475037d805fa37784e682c423ddc929350908190036060019150a15050505092915050565b5f61297b336107bc565b5f8073__$19db5f0436f9beab06d91aaebdafaf50ff$__6339b8cee86129a85f546001600160a01b031690565b6040516001600160e01b031960e084901b1681526001600160a01b0390911660048201523360248201526044016040805180830381865af41580156129ef573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612a139190614604565b915091505f612a2c5f8051602061494c83398151915290565b9050806001015f9054906101000a90046001600160a01b03166001600160a01b031663c2bf08c86040518060e0016040528073__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015612aa5573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612ac99190614346565b6001600160601b03168152602001866001600160601b03168152602001612aee601690565b60ff1681526020015f151581526020015f6001600160a01b031681526020018c6001600160a01b0316815260200160405180602001604052805f8152508152506040518263ffffffff1660e01b8152600401612b4a9190613e18565b6020604051808303815f875af1158015612b66573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612b8a9190614346565b93505f826001600160a01b031663d4cda0d86040518163ffffffff1660e01b8152600401602060405180830381865afa158015612bc9573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612bed9190614454565b9050806001600160a01b031663d7719f46866040518060c0016040528073__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__639fa6a6e36040518163ffffffff1660e01b8152600401602060405180830381865af4158015612c51573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612c7591906145e9565b64ffffffffff16815260200173__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__639fa6a6e36040518163ffffffff1660e01b8152600401602060405180830381865af4158015612cc8573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612cec91906145e9565b6040516352bcc5a760e11b815264ffffffffff9182166004820152908e16602482015273__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__9063a5798b4e90604401602060405180830381865af4158015612d49573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612d6d91906145e9565b64ffffffffff1681526020015f64ffffffffff168152602001886001600160601b031681526020018d81526020018b8b8080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525050509152506040516001600160e01b031960e085901b168152612df4929190600401614700565b5f604051808303815f87803b158015612e0b575f80fd5b505af1158015612e1d573d5f803e3d5ffd5b505050505f836001600160a01b0316636dddada46040518163ffffffff1660e01b8152600401602060405180830381865afa158015612e5e573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612e829190614454565b6040516346f0e8a760e11b81526001600160601b03881660048201529091506001600160a01b03821690638de1d14e906024015f604051808303815f87803b158015612ecc575f80fd5b505af1158015612ede573d5f803e3d5ffd5b5050604080516001600160601b038a811682528916602082015264ffffffffff8d168183015290517f363f6af8f27940ba02562ed8833fbff90cf71ffdce52d284d109943a01260e539350908190036060019150a1505050505095945050505050565b5f805f8051602061496c83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015612fad573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612fd19190614399565b15612ffd5780546040516301ab8b6760e21b81526001600160601b03909116600482015260240161099f565b5f546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038581166004830152919091169063c3c5a54790602401602060405180830381865afa15801561304e573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906130729190614399565b61309a5760405163b9304b0d60e01b81526001600160a01b038416600482015260240161099f565b5f546001600160a01b0316604051632f2a35f760e11b81526001600160a01b0385811660048301529190911690635e546bee90602401602060405180830381865afa1580156130eb573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061310f9190614346565b81546bffffffffffffffffffffffff19166001600160601b039190911690811782557f88857b75cbef7f257c9d5a473e28aaf6a91cc28f717f60f2cda3bcf5623d7b549061315b611374565b604080516001600160601b0390931683526001600160a01b0390911660208301520160405180910390a1546001600160601b031692915050565b5f8051602061492c8339815191525f806131cd6131b0611dec565b87306131bf60045f8a8c614721565b6131c891614748565b6137e4565b915091508161328b5763ffffffff81161561326857825460ff60a01b1916600160a01b1783556131fb611dec565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b815260040161322a93929190614780565b5f604051808303815f87803b158015613241575f80fd5b505af1158015613253573d5f803e3d5ffd5b5050845460ff60a01b191685555061328b9050565b60405162d1953b60e31b81526001600160a01b038716600482015260240161099f565b505050505050565b60405163037c8cb160e51b815260ff8216600482015273__$0d958e68cba84670b8f4a3f2f2686b1c6b$__90636f91962090602401602060405180830381865af41580156132e3573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906133079190614399565b8061339457505f546001600160a01b0316604051635b12715d60e11b81526001600160601b038416600482015260ff831660248201526001600160a01b03919091169063b624e2ba90604401602060405180830381865afa15801561336e573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906133929190614399565b155b156113705760405163d711af7560e01b81526001600160601b038316600482015260ff8216602482015260440161099f565b60405163274acb3560e01b81526001600160601b038084166004830152821660248201525f9073__$3bac17678db7ae928afa209f2f44deec9c$__9063274acb35906044015b602060405180830381865af4158015613427573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061344b9190614346565b9392505050565b6040516363cf551160e11b81526001600160601b038084166004830152821660248201525f9073__$3bac17678db7ae928afa209f2f44deec9c$__9063c79eaa229060440161340c565b604051632601631360e21b81526001600160601b038084166004830152821660248201525f9073__$3bac17678db7ae928afa209f2f44deec9c$__906398058c4c906044015b602060405180830381865af41580156134fd573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061344b9190614399565b6135296138ec565b60405163502ec37160e01b815260040160405180910390fd5b5f805160206149ac8339815191528054600160401b810460ff1615906001600160401b03165f811580156135735750825b90505f826001600160401b0316600114801561358e5750303b155b90508115801561359c575080155b156135ba5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff1916600117855583156135e457845460ff60401b1916600160401b1785555b5f80878060200190518101906135fa91906147bf565b9150915061360982828b613924565b5f8051602061494c83398151915261362160026139c6565b6001820180546001600160a01b0319166001600160a01b039290921691909117905561364d60286139c6565b6002820180546001600160a01b0319166001600160a01b0392909216919091179055613679600b6139c6565b6003820180546001600160a01b0319166001600160a01b03929092169190911790556136ab63daaa6e8960e01b613a4d565b5050508315610d3b57845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d290602001610d32565b6040516304d40eb160e11b81526001600160601b038084166004830152821660248201525f9073__$3bac17678db7ae928afa209f2f44deec9c$__906309a81d62906044016134e2565b5f8051602061492c83398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b6040516399009c5160e01b81526001600160601b038084166004830152821660248201525f9073__$94a2c899be079b00d952d0d84fffaa5c34$__906399009c51906044016134e2565b6040516001600160a01b03848116602483015283811660448301526001600160e01b0319831660648301525f9182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b1790525161385291906147db565b5f60405180830381855afa9150503d805f811461388a576040519150601f19603f3d011682016040523d82523d5f602084013e61388f565b606091505b509150915081156138e15760408151106138c157808060200190518101906138b791906147f1565b90945092506138e1565b60208151106138e157808060200190518101906138de9190614399565b93505b505094509492505050565b5f805160206149ac83398151915254600160401b900460ff1661392257604051631afcd79f60e31b815260040160405180910390fd5b565b61392c6138ec565b613934613a8a565b6139b18383846001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa158015613975573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906139999190614346565b60085f8660405180602001604052805f815250613a9a565b6139c163daf9067160e01b613a4d565b505050565b5f80546001600160a01b031663d39e6043836139e0611286565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa158015613a23573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190613a479190614454565b92915050565b613a556138ec565b6001600160e01b031981165f9081525f8051602061498c83398151915260205260409020805460ff1916600117905550565b50565b613a926138ec565b613922613be1565b613aa26138ec565b604051632330f24760e01b81526001600160a01b038816600482015273__$fb599632d08395912d9d70eb2f0f93b5e2$__90632330f24790602401602060405180830381865af4158015613af8573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190613b1c9190614399565b613b445760405163cf6935e560e01b81526001600160a01b038816600482015260240161099f565b613b4d87613c0f565b613b578683613c20565b5f7f66ed5788a8bec6ff1e7b389e8e939876404dd6c85eb5e16ebccc687f21cd620080546001600160601b0388166cffffffffffffffffffffffffff1990911617600160601b60ff8816021760ff60681b1916600160681b86151502178155905060018101613bc68382614871565b50613bd7634a531f3360e01b613a4d565b5050505050505050565b613be96138ec565b60017f9b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f0055565b613c176138ec565b613a8781613c96565b613c286138ec565b613c30613ca7565b613c3982613cf8565b6001600160a01b038116613c605760405163f17ef42d60e01b815260040160405180910390fd5b5f8051602061496c83398151915280546001600160601b0316600160601b6001600160a01b039093169290920291909117905550565b613c9e6138ec565b613a878161373a565b613caf6138ec565b6301ffc9a760e01b5f525f8051602061498c8339815191526020527f7449848146f4dbd52693c0731b5cd097b0a676ddfe6ffc213ebb4853f36e5619805460ff19166001179055565b613d006138ec565b604051633334d16b60e01b81526001600160a01b038216600482015273__$fb599632d08395912d9d70eb2f0f93b5e2$__90633334d16b90602401602060405180830381865af4158015613d56573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190613d7a9190614399565b613da25760405163fdeac91f60e01b81526001600160a01b038216600482015260240161099f565b5f80546001600160a01b0319166001600160a01b0392909216919091179055565b5f60208284031215613dd3575f80fd5b81356001600160e01b03198116811461344b575f80fd5b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081526001600160601b0382511660208201526001600160601b03602083015116604082015260ff60408301511660608201525f6060830151613e60608084018215159052565b5060808301516001600160a01b03811660a08401525060a08301516001600160a01b03811660c08401525060c083015160e080840152613ea4610100840182613dea565b949350505050565b6001600160a01b0381168114613a87575f80fd5b6001600160601b0381168114613a87575f80fd5b5f805f60608486031215613ee6575f80fd5b8335613ef181613eac565b92506020840135613f0181613ec0565b91506040840135613f1181613ec0565b809150509250925092565b634e487b7160e01b5f52604160045260245ffd5b604080519081016001600160401b0381118282101715613f5257613f52613f1c565b60405290565b60405160c081016001600160401b0381118282101715613f5257613f52613f1c565b604051601f8201601f191681016001600160401b0381118282101715613fa257613fa2613f1c565b604052919050565b5f6001600160401b03821115613fc257613fc2613f1c565b50601f01601f191660200190565b5f82601f830112613fdf575f80fd5b8135613ff2613fed82613faa565b613f7a565b818152846020838601011115614006575f80fd5b816020850160208301375f918101602001919091529392505050565b5f60208284031215614032575f80fd5b81356001600160401b03811115614047575f80fd5b613ea484828501613fd0565b5f8060408385031215614064575f80fd5b823561406f81613eac565b915060208301356001600160401b03811115614089575f80fd5b61409585828601613fd0565b9150509250929050565b5f805f80608085870312156140b2575f80fd5b84356140bd81613eac565b935060208501356140cd81613ec0565b925060408501356140dd81613ec0565b915060608501356140ed81613ec0565b939692955090935050565b5f60208284031215614108575f80fd5b813561344b81613eac565b602081525f61344b6020830184613dea565b5f60408284031215614135575f80fd5b61413d613f30565b9050813561414a81613eac565b8152602082013561415a81613ec0565b602082015292915050565b5f8060608385031215614176575f80fd5b823561418181613ec0565b91506141908460208501614125565b90509250929050565b5f80604083850312156141aa575f80fd5b82356141b581613eac565b915060208301356141c581613ec0565b809150509250929050565b5f805f80608085870312156141e3575f80fd5b84356141ee81613eac565b935060208501356140cd81613eac565b8015158114613a87575f80fd5b5f806040838503121561421c575f80fd5b823561422781613ec0565b915060208301356141c5816141fe565b64ffffffffff81168114613a87575f80fd5b5f806040838503121561425a575f80fd5b823561426581613ec0565b915060208301356141c581614237565b5f805f805f60a08688031215614289575f80fd5b853561429481613eac565b94506142a38760208801614125565b935060608601356142b381614237565b925060808601356001600160401b038111156142cd575f80fd5b8601601f810188136142dd575f80fd5b80356001600160401b038111156142f2575f80fd5b886020828401011115614303575f80fd5b959894975092955050506020019190565b5f60208284031215614324575f80fd5b815162ffffff8116811461344b575f80fd5b805161434181613ec0565b919050565b5f60208284031215614356575f80fd5b815161344b81613ec0565b600181811c9082168061437557607f821691505b60208210810361439357634e487b7160e01b5f52602260045260245ffd5b50919050565b5f602082840312156143a9575f80fd5b815161344b816141fe565b5f805f606084860312156143c6575f80fd5b83516143d181613ec0565b60208501519093506143e281613ec0565b6040850151909250613f1181613ec0565b6001600160a01b039490941684526001600160601b039283166020850152908216604084015216606082015260800190565b6001600160401b0381168114613a87575f80fd5b5f60208284031215614449575f80fd5b815161344b81614425565b5f60208284031215614464575f80fd5b815161344b81613eac565b60ff81168114613a87575f80fd5b5f6020828403121561448d575f80fd5b815161344b8161446f565b805161434181614237565b5f604082840312156144b3575f80fd5b6144bb613f30565b905081516144c881613eac565b8152602082015161415a81613ec0565b5f82601f8301126144e7575f80fd5b81516144f5613fed82613faa565b818152846020838601011115614509575f80fd5b8160208501602083015e5f918101602001919091529392505050565b5f60208284031215614535575f80fd5b81516001600160401b0381111561454a575f80fd5b820160e0818503121561455b575f80fd5b614563613f58565b815161456e81614237565b8152602082015161457e81614237565b602082015261458f60408301614498565b60408201526145a060608301614336565b60608201526145b285608084016144a3565b608082015260c08201516001600160401b038111156145cf575f80fd5b6145db868285016144d8565b60a083015250949350505050565b5f602082840312156145f9575f80fd5b815161344b81614237565b5f8060408385031215614615575f80fd5b825161462081613ec0565b60208401519092506141c581613eac565b64ffffffffff815116825264ffffffffff602082015116602083015264ffffffffff60408201511660408301526001600160601b0360608201511660608301525f60808201516080840160018060a01b0382511681526001600160601b036020830151166020820152505060a082015160e060c0850152613ea460e0850182613dea565b6001600160601b0384168152606060208201525f6146d66060830185614631565b905060ff83166040830152949350505050565b5f602082840312156146f9575f80fd5b5051919050565b6001600160601b0383168152604060208201525f613ea46040830184614631565b5f808585111561472f575f80fd5b8386111561473b575f80fd5b5050820193919092039150565b80356001600160e01b03198116906004841015614779576001600160e01b0319600485900360031b81901b82161691505b5092915050565b6001600160a01b03841681526040602082018190528101829052818360608301375f818301606090810191909152601f909201601f1916010192915050565b5f80604083850312156147d0575f80fd5b825161462081613eac565b5f82518060208501845e5f920191825250919050565b5f8060408385031215614802575f80fd5b825161480d816141fe565b602084015190925063ffffffff811681146141c5575f80fd5b601f8211156139c157805f5260205f20601f840160051c8101602085101561484b5750805b601f840160051c820191505b8181101561486a575f8155600101614857565b5050505050565b81516001600160401b0381111561488a5761488a613f1c565b61489e816148988454614361565b84614826565b6020601f8211600181146148d0575f83156148b95750848201515b5f19600385901b1c1916600184901b17845561486a565b5f84815260208120601f198516915b828110156148ff57878501518255602094850194600190920191016148df565b508482101561491c57868401515f19600387901b60f8161c191681555b50505050600190811b0190555056fef3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a0046b8ce3500c11673bb6f380e5e46ed88536ecfaa352cb594644cb469c5a14d0075a854a54bf614cac5ba72c2235143229b43a26f8eb448270fb97a467532e3002c5de3b4947d23a15785cdf804e1e581a3c5f54c0357f66e3f442def0f390100f0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00a2646970667358221220947739f98f8d733f8ebb0c0c8958d0c511ba25e8da95e488cb2d9ab3d8d12eda64736f6c634300081a0033",
1123
+ "deployedBytecode": "0x608060405234801561000f575f80fd5b50600436106101d1575f3560e01c8063893d20e8116100fe578063b4f273bd1161009e578063c725889f1161006e578063c725889f14610491578063d42a24b1146104a5578063f3d0e5d2146104b8578063fdbb9296146104e1575f80fd5b8063b4f273bd14610448578063b68d18091461046f578063bf7e214f14610476578063c548949d1461047e575f80fd5b8063a3f4df7e116100d9578063a3f4df7e146103b6578063a5fbe479146103ef578063aa9acb2c14610402578063ad328d9f14610435575f80fd5b8063893d20e8146103795780638fb3603714610381578063971e692a146103a2575f80fd5b806349bb9e4b11610174578063644c45e011610144578063644c45e01461030f5780636c741e781461032c57806376b707b71461034c5780637a9e5e4b14610366575f80fd5b806349bb9e4b146102a35780634adcf909146102b657806355298fbc146102c95780635ab1bd53146102eb575f80fd5b8063138461e0116101af578063138461e01461025357806322f3e2d4146102735780632d2cf2221461027b578063329d6e741461028e575f80fd5b806301ffc9a7146101d55780630d8e6e2c146102225780630fec111c1461023e575b5f80fd5b61020d6101e3366004613dc3565b6001600160e01b0319165f9081525f8051602061498c833981519152602052604090205460ff1690565b60405190151581526020015b60405180910390f35b61022a6104f4565b60405162ffffff9091168152602001610219565b61024661057b565b6040516102199190613e18565b61025b610735565b6040516001600160601b039091168152602001610219565b61020d61073f565b61025b610289366004613ed4565b6107b6565b6102a161029c366004614022565b610afe565b005b6102a16102b1366004614053565b610c48565b6102a16102c436600461409f565b610d44565b6102dd5f8051602061498c83398151915281565b604051908152602001610219565b5f546001600160a01b03165b6040516001600160a01b039091168152602001610219565b5f8051602061496c833981519152546001600160601b031661025b565b6103346111fa565b6040516001600160401b039091168152602001610219565b610354611286565b60405160ff9091168152602001610219565b6102a16103743660046140f8565b6112ee565b6102f7611374565b6103896114a4565b6040516001600160e01b03199091168152602001610219565b6102dd5f8051602061494c83398151915281565b6103e26040518060400160405280600d81526020016c42756e646c655365727669636560981b81525081565b6040516102199190614113565b6102a16103fd366004614165565b6114d9565b610415610410366004614199565b61187c565b604080516001600160601b03938416815292909116602083015201610219565b6102a161044336600461409f565b611cfe565b6102dd7f66ed5788a8bec6ff1e7b389e8e939876404dd6c85eb5e16ebccc687f21cd620081565b6016610354565b6102f7611dec565b6102a161048c3660046141d0565b611e07565b6102dd5f8051602061496c83398151915281565b6102a16104b336600461420b565b612186565b6104cb6104c6366004614249565b6123d9565b60405164ffffffffff9091168152602001610219565b61025b6104ef366004614275565b612971565b604051632efe011360e01b8152600360048201525f60248201819052604482018190529073__$8eede297b65ed5a56eb3f84d8232ae93f5$__90632efe011390606401602060405180830381865af4158015610552573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906105769190614314565b905090565b6040805160e0810182525f8082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820152907f66ed5788a8bec6ff1e7b389e8e939876404dd6c85eb5e16ebccc687f21cd620090506040518060e0016040528073__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015610627573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061064b9190614346565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a001610693611374565b6001600160a01b031681526020018260010180546106b090614361565b80601f01602080910402602001604051908101604052809291908181526020018280546106dc90614361565b80156107275780601f106106fe57610100808354040283529160200191610727565b820191905f5260205f20905b81548152906001019060200180831161070a57829003601f168201915b505050505081525091505090565b5f61057630612f41565b5f610748611dec565b60405163a166aa8960e01b81523060048201526001600160a01b03919091169063a166aa8990602401602060405180830381865afa15801561078c573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906107b09190614399565b15905090565b5f6107c3335b5f36613195565b6107ce836016613293565b6040516317bb785d60e21b81526001600160601b03841660048201525f90819081906001600160a01b03881690635eede17490602401606060405180830381865afa15801561081f573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061084391906143b4565b9250925092508493505f6108608461085b85856133c6565b613452565b9050856001600160601b031673__$3bac17678db7ae928afa209f2f44deec9c$__63262b32d2909173__$3bac17678db7ae928afa209f2f44deec9c$__636ac5db196040518163ffffffff1660e01b8152600401602060405180830381865af41580156108cf573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906108f39190614346565b6040516001600160e01b031960e085901b1681526001600160601b03928316600482015291166024820152604401602060405180830381865af415801561093c573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906109609190614399565b15610969578094505b610973858261349c565b156109a85760405162f808ef60e61b81526001600160601b038088166004830152821660248201526044015b60405180910390fd5b7f46b8ce3500c11673bb6f380e5e46ed88536ecfaa352cb594644cb469c5a14d02546040805163bc1b392d60e01b815290515f8051602061494c833981519152926001600160a01b03169163e618053f918c918c918b9173__$3bac17678db7ae928afa209f2f44deec9c$__9163bc1b392d916004808201926020929091908290030181865af4158015610a3e573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610a629190614346565b6040518563ffffffff1660e01b8152600401610a8194939291906143f3565b5f604051808303815f87803b158015610a98575f80fd5b505af1158015610aaa573d5f803e3d5ffd5b5050604080516001600160601b03808d1682528a1660208201527f880218d69bf84dcbfcc344ac7a33e4855f791f14a1297cc12b011329032dd4e4935001905060405180910390a150505050509392505050565b73__$8eede297b65ed5a56eb3f84d8232ae93f5$__63a123b37c610b206104f4565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af4158015610b5e573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b829190614439565b5f805160206149ac8339815191528054600160401b900460ff1680610bb4575080546001600160401b03808416911610155b15610bd25760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b178155610bfc83613521565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a1505050565b5f805160206149ac8339815191528054600160401b810460ff1615906001600160401b03165f81158015610c795750825b90505f826001600160401b03166001148015610c945750303b155b905081158015610ca2575080155b15610cc05760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315610cea57845460ff60401b1916600160401b1785555b610cf48787613542565b8315610d3b57845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a15b50505050505050565b610d4d336107bc565b610d58836015613293565b610d63826016613293565b5f846001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015610da0573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610dc49190614454565b90505f856001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015610e03573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610e279190614454565b604051637d8f1e8160e01b81526001600160601b03861660048201526001600160a01b039190911690637d8f1e8190602401602060405180830381865afa158015610e74573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610e98919061447d565b604051634793b4ab60e01b81526001600160601b03861660048201529091505f906001600160a01b03841690634793b4ab906024015f60405180830381865afa158015610ee7573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052610f0e9190810190614525565b9050610f238260055b60ff9081169116141590565b80610fab5750610fab816020015173__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__639fa6a6e36040518163ffffffff1660e01b8152600401602060405180830381865af4158015610f78573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610f9c91906145e9565b64ffffffffff90811691161090565b15610ff057602081015160405163bf5b8f0960e01b81526001600160601b038716600482015260ff8416602482015264ffffffffff909116604482015260640161099f565b50505f856001600160a01b031663d4cda0d86040518163ffffffff1660e01b8152600401602060405180830381865afa15801561102f573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906110539190614454565b6040516317bb785d60e21b81526001600160601b03861660048201529091505f90819081906001600160a01b03851690635eede17490602401606060405180830381865afa1580156110a7573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906110cb91906143b4565b9250925092505f6110e08461085b85856133c6565b90506110ec81886136f0565b156111255760405163826a5ff960e01b81526001600160601b03808a16600483015280831660248301528816604482015260640161099f565b505060405163248a77dd60e01b81526001600160601b038088166004830152861660248201526001600160a01b038416925063248a77dd91506044016020604051808303815f875af115801561117d573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906111a19190614346565b50604080516001600160601b03808716825280881660208301528516918101919091527f33e52c65ac538b657291335d8a7d5bc3ac977bb87bb0220bb94bc3c889761db5906060015b60405180910390a1505050505050565b5f73__$1d92393fa9ccd763988368ce8a1cb90d26$__63645ceefe601661121f611286565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865af4158015611262573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906105769190614439565b5f61128f611dec565b6001600160a01b03166376b707b76040518163ffffffff1660e01b8152600401602060405180830381865afa1580156112ca573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610576919061447d565b336112f7611dec565b6001600160a01b0316816001600160a01b0316146113325760405162d1953b60e31b81526001600160a01b038216600482015260240161099f565b816001600160a01b03163b5f03611367576040516361798f2f60e11b81526001600160a01b038316600482015260240161099f565b6113708261373a565b5050565b5f805f8051602061496c83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af41580156113e0573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906114049190614399565b1561148e575f546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015611464573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906114889190614454565b91505090565b54600160601b90046001600160a01b0316919050565b5f8051602061492c83398151915280545f9190600160a01b900460ff166114cb575f611488565b638fb3603760e01b91505090565b6114e2336107bc565b6114ed826016613293565b5f8073__$19db5f0436f9beab06d91aaebdafaf50ff$__6339b8cee861151a5f546001600160a01b031690565b6040516001600160e01b031960e084901b1681526001600160a01b0390911660048201523360248201526044016040805180830381865af4158015611561573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906115859190614604565b915091505f816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa1580156115c6573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906115ea9190614454565b604051634793b4ab60e01b81526001600160601b03871660048201529091505f906001600160a01b03831690634793b4ab906024015f60405180830381865afa158015611639573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526116609190810190614525565b6060810151604051630a4d29dd60e31b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906352694ee890602401602060405180830381865af41580156116bf573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906116e39190614399565b1561170c576040516349e9f38360e01b81526001600160601b038716600482015260240161099f565b61171a81606001518561379a565b1561175957606081015160405163dab86e4560e01b81526001600160601b0380891660048301529182166024820152908516604482015260640161099f565b848160800181905250826001600160a01b031663d4cda0d86040518163ffffffff1660e01b8152600401602060405180830381865afa15801561179e573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906117c29190614454565b6001600160a01b03166308077cd9878360ff6040518463ffffffff1660e01b81526004016117f2939291906146b5565b5f604051808303815f87803b158015611809575f80fd5b505af115801561181b573d5f803e3d5ffd5b505050506020858101518651604080516001600160601b03808c168252909316938301939093526001600160a01b0316918101919091527f99ad3408b4d3b9cc1730a03c40ed8bb2296d6b60a84877f887fd1a0c03bae880906060016111ea565b5f80611887336107bc565b611892836016613293565b5f846001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa1580156118cf573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906118f39190614454565b90505f856001600160a01b0316636dddada46040518163ffffffff1660e01b8152600401602060405180830381865afa158015611932573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906119569190614454565b6040516322cc1d4560e11b81526001600160601b03871660048201529091505f906001600160a01b038316906345983a8a90602401602060405180830381865afa1580156119a6573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906119ca91906146e9565b905080156119fd576040516356a410b760e01b81526001600160601b03871660048201526024810182905260440161099f565b5f876001600160a01b031663d4cda0d86040518163ffffffff1660e01b8152600401602060405180830381865afa158015611a3a573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611a5e9190614454565b90506001600160a01b03811663fe1f18d68860c86040516001600160e01b031960e085901b1681526001600160601b03909216600483015260ff1660248201526044015f604051808303815f87803b158015611ab8575f80fd5b505af1158015611aca573d5f803e3d5ffd5b505060405163b5346af560e01b81526001600160601b038a1660048201526001600160a01b038616925063b5346af591506024015f604051808303815f87803b158015611b15575f80fd5b505af1158015611b27573d5f803e3d5ffd5b50506040516308a390bb60e21b81526001600160601b038a1660048201525f92506001600160a01b038716915063228e42ec90602401602060405180830381865afa158015611b78573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611b9c9190614346565b604051630232ca4960e01b81526001600160601b038a1660048201529091506001600160a01b03861690630232ca4990602401602060405180830381865afa158015611bea573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611c0e9190614346565b9550611c1a8187613452565b7f46b8ce3500c11673bb6f380e5e46ed88536ecfaa352cb594644cb469c5a14d025460405163e618053f60e01b81529198505f8051602061494c833981519152916001600160a01b039091169063e618053f90611c819086908d908d908d906004016143f3565b5f604051808303815f87803b158015611c98575f80fd5b505af1158015611caa573d5f803e3d5ffd5b50506040516001600160601b038c1681527f3a12bd8160a5ced8b160505cad1dedc4066b23192a8769aa61df7cc0048e7e7f95506020019350611cec92505050565b60405180910390a15050509250929050565b611d07336107bc565b611d12836015613293565b611d1d826016613293565b6040516353ebe12960e01b81526001600160601b038084166004830152821660248201526001600160a01b038516906353ebe129906044016020604051808303815f875af1158015611d71573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611d959190614346565b50604080516001600160601b03808516825280861660208301528316918101919091527f754583c2f5c9141a2573d05c9393b224e6cdb41e95ff925387ca636b44dd6969906060015b60405180910390a150505050565b5f8051602061492c833981519152546001600160a01b031690565b611e10336107bc565b611e1b826016613293565b604051634793b4ab60e01b81526001600160601b03831660048201525f906001600160a01b03861690634793b4ab906024015f60405180830381865afa158015611e67573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052611e8e9190810190614525565b604051637d8f1e8160e01b81526001600160601b03851660048201529091505f906001600160a01b03871690637d8f1e8190602401602060405180830381865afa158015611ede573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611f02919061447d565b9050611f0f816005610f17565b8015611f215750611f2181606e610f17565b80611f765750611f76826020015173__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__639fa6a6e36040518163ffffffff1660e01b8152600401602060405180830381865af4158015610f78573d5f803e3d5ffd5b80611ffa57506040828101519051638d38cd4b60e01b815264ffffffffff909116600482015273__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__90638d38cd4b90602401602060405180830381865af4158015611fd6573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611ffa9190614399565b1561203f57602082015160405163bf5b8f0960e01b81526001600160601b038616600482015260ff8316602482015264ffffffffff909116604482015260640161099f565b7f46b8ce3500c11673bb6f380e5e46ed88536ecfaa352cb594644cb469c5a14d02546040805163bc1b392d60e01b815290515f8051602061494c833981519152926001600160a01b0316916325e451d39189918991899173__$3bac17678db7ae928afa209f2f44deec9c$__9163bc1b392d916004808201926020929091908290030181865af41580156120d5573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906120f99190614346565b6040518563ffffffff1660e01b815260040161211894939291906143f3565b5f604051808303815f87803b15801561212f575f80fd5b505af1158015612141573d5f803e3d5ffd5b5050604080516001600160601b03808a168252881660208201527fa28e59e09413d1a65be1e647628258b4c56a9b39bec520a56addf90098fad1b39350019050610d32565b61218f336107bc565b61219a826016613293565b5f73__$19db5f0436f9beab06d91aaebdafaf50ff$__6339b8cee86121c65f546001600160a01b031690565b6040516001600160e01b031960e084901b1681526001600160a01b0390911660048201523360248201526044016040805180830381865af415801561220d573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906122319190614604565b9150505f816001600160a01b0316636dddada46040518163ffffffff1660e01b8152600401602060405180830381865afa158015612271573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906122959190614454565b9050821561233c5760405163b5346af560e01b81526001600160601b03851660048201526001600160a01b0382169063b5346af5906024015f604051808303815f87803b1580156122e4575f80fd5b505af11580156122f6573d5f803e3d5ffd5b50506040516001600160601b03871681527f6764112d27879e5bb12f07fde08a48629ec22e603c75c9942ba62a06c95a55f49250602001905060405180910390a16123d3565b6040516306fa456560e01b81526001600160601b03851660048201526001600160a01b038216906306fa4565906024015f604051808303815f87803b158015612383575f80fd5b505af1158015612395573d5f803e3d5ffd5b50506040516001600160601b03871681527fd25855e82e25fff079ef5da5f5dd1bf7911edfda08359f5b968e972504dc492b92506020019050611dde565b50505050565b5f6123e3336107bc565b6123ee836016613293565b5f8073__$19db5f0436f9beab06d91aaebdafaf50ff$__6339b8cee861241b5f546001600160a01b031690565b6040516001600160e01b031960e084901b1681526001600160a01b0390911660048201523360248201526044016040805180830381865af4158015612462573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906124869190614604565b915091505f816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa1580156124c7573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906124eb9190614454565b604051634793b4ab60e01b81526001600160601b03881660048201526001600160a01b039190911690634793b4ab906024015f60405180830381865afa158015612537573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f1916820160405261255e9190810190614525565b90505f826001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa15801561259d573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906125c19190614454565b604051637d8f1e8160e01b81526001600160601b03891660048201526001600160a01b039190911690637d8f1e8190602401602060405180830381865afa15801561260e573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612632919061447d565b905061264282606001518561379a565b1561268157606082015160405163dab86e4560e01b81526001600160601b03808a1660048301529182166024820152908516604482015260640161099f565b61268c816005610f17565b806126e157506126e1826020015173__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__639fa6a6e36040518163ffffffff1660e01b8152600401602060405180830381865af4158015610f78573d5f803e3d5ffd5b1561272657602082015160405163bf5b8f0960e01b81526001600160601b038916600482015260ff8316602482015264ffffffffff909116604482015260640161099f565b60405163790a38ad60e01b815264ffffffffff8716600482015273__$71e292c09eace9601b3e21e68a1278917a$__9063790a38ad90602401602060405180830381865af415801561277a573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061279e9190614399565b156127bc576040516307f6a6ab60e31b815260040160405180910390fd5b60208201516040516352bcc5a760e11b815264ffffffffff9182166004820152908716602482015273__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__9063a5798b4e90604401602060405180830381865af415801561281e573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061284291906145e9565b64ffffffffff16602080840182905260408051631a99b41b60e31b815290519297506001600160a01b0386169263d4cda0d8926004808401939192918290030181865afa158015612895573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906128b99190614454565b6001600160a01b03166308077cd9888460ff6040518463ffffffff1660e01b81526004016128e9939291906146b5565b5f604051808303815f87803b158015612900575f80fd5b505af1158015612912573d5f803e3d5ffd5b5050604080516001600160601b038b16815264ffffffffff8a8116602083015289168183015290517f47dde095fac4cfe7361ede303a6499020b475037d805fa37784e682c423ddc929350908190036060019150a15050505092915050565b5f61297b336107bc565b5f8073__$19db5f0436f9beab06d91aaebdafaf50ff$__6339b8cee86129a85f546001600160a01b031690565b6040516001600160e01b031960e084901b1681526001600160a01b0390911660048201523360248201526044016040805180830381865af41580156129ef573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612a139190614604565b915091505f612a2c5f8051602061494c83398151915290565b9050806001015f9054906101000a90046001600160a01b03166001600160a01b031663c2bf08c86040518060e0016040528073__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015612aa5573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612ac99190614346565b6001600160601b03168152602001866001600160601b03168152602001612aee601690565b60ff1681526020015f151581526020015f6001600160a01b031681526020018c6001600160a01b0316815260200160405180602001604052805f8152508152506040518263ffffffff1660e01b8152600401612b4a9190613e18565b6020604051808303815f875af1158015612b66573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612b8a9190614346565b93505f826001600160a01b031663d4cda0d86040518163ffffffff1660e01b8152600401602060405180830381865afa158015612bc9573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612bed9190614454565b9050806001600160a01b031663d7719f46866040518060c0016040528073__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__639fa6a6e36040518163ffffffff1660e01b8152600401602060405180830381865af4158015612c51573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612c7591906145e9565b64ffffffffff16815260200173__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__639fa6a6e36040518163ffffffff1660e01b8152600401602060405180830381865af4158015612cc8573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612cec91906145e9565b6040516352bcc5a760e11b815264ffffffffff9182166004820152908e16602482015273__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__9063a5798b4e90604401602060405180830381865af4158015612d49573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612d6d91906145e9565b64ffffffffff1681526020015f64ffffffffff168152602001886001600160601b031681526020018d81526020018b8b8080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525050509152506040516001600160e01b031960e085901b168152612df4929190600401614700565b5f604051808303815f87803b158015612e0b575f80fd5b505af1158015612e1d573d5f803e3d5ffd5b505050505f836001600160a01b0316636dddada46040518163ffffffff1660e01b8152600401602060405180830381865afa158015612e5e573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612e829190614454565b6040516346f0e8a760e11b81526001600160601b03881660048201529091506001600160a01b03821690638de1d14e906024015f604051808303815f87803b158015612ecc575f80fd5b505af1158015612ede573d5f803e3d5ffd5b5050604080516001600160601b038a811682528916602082015264ffffffffff8d168183015290517f363f6af8f27940ba02562ed8833fbff90cf71ffdce52d284d109943a01260e539350908190036060019150a1505050505095945050505050565b5f805f8051602061496c83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015612fad573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612fd19190614399565b15612ffd5780546040516301ab8b6760e21b81526001600160601b03909116600482015260240161099f565b5f546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038581166004830152919091169063c3c5a54790602401602060405180830381865afa15801561304e573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906130729190614399565b61309a5760405163b9304b0d60e01b81526001600160a01b038416600482015260240161099f565b5f546001600160a01b0316604051632f2a35f760e11b81526001600160a01b0385811660048301529190911690635e546bee90602401602060405180830381865afa1580156130eb573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061310f9190614346565b81546bffffffffffffffffffffffff19166001600160601b039190911690811782557f88857b75cbef7f257c9d5a473e28aaf6a91cc28f717f60f2cda3bcf5623d7b549061315b611374565b604080516001600160601b0390931683526001600160a01b0390911660208301520160405180910390a1546001600160601b031692915050565b5f8051602061492c8339815191525f806131cd6131b0611dec565b87306131bf60045f8a8c614721565b6131c891614748565b6137e4565b915091508161328b5763ffffffff81161561326857825460ff60a01b1916600160a01b1783556131fb611dec565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b815260040161322a93929190614780565b5f604051808303815f87803b158015613241575f80fd5b505af1158015613253573d5f803e3d5ffd5b5050845460ff60a01b191685555061328b9050565b60405162d1953b60e31b81526001600160a01b038716600482015260240161099f565b505050505050565b60405163037c8cb160e51b815260ff8216600482015273__$0d958e68cba84670b8f4a3f2f2686b1c6b$__90636f91962090602401602060405180830381865af41580156132e3573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906133079190614399565b8061339457505f546001600160a01b0316604051635b12715d60e11b81526001600160601b038416600482015260ff831660248201526001600160a01b03919091169063b624e2ba90604401602060405180830381865afa15801561336e573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906133929190614399565b155b156113705760405163d711af7560e01b81526001600160601b038316600482015260ff8216602482015260440161099f565b60405163274acb3560e01b81526001600160601b038084166004830152821660248201525f9073__$3bac17678db7ae928afa209f2f44deec9c$__9063274acb35906044015b602060405180830381865af4158015613427573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061344b9190614346565b9392505050565b6040516363cf551160e11b81526001600160601b038084166004830152821660248201525f9073__$3bac17678db7ae928afa209f2f44deec9c$__9063c79eaa229060440161340c565b604051632601631360e21b81526001600160601b038084166004830152821660248201525f9073__$3bac17678db7ae928afa209f2f44deec9c$__906398058c4c906044015b602060405180830381865af41580156134fd573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061344b9190614399565b6135296138ec565b60405163502ec37160e01b815260040160405180910390fd5b5f805160206149ac8339815191528054600160401b810460ff1615906001600160401b03165f811580156135735750825b90505f826001600160401b0316600114801561358e5750303b155b90508115801561359c575080155b156135ba5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff1916600117855583156135e457845460ff60401b1916600160401b1785555b5f80878060200190518101906135fa91906147bf565b9150915061360982828b613924565b5f8051602061494c83398151915261362160026139c6565b6001820180546001600160a01b0319166001600160a01b039290921691909117905561364d60286139c6565b6002820180546001600160a01b0319166001600160a01b0392909216919091179055613679600b6139c6565b6003820180546001600160a01b0319166001600160a01b03929092169190911790556136ab63daaa6e8960e01b613a4d565b5050508315610d3b57845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d290602001610d32565b6040516304d40eb160e11b81526001600160601b038084166004830152821660248201525f9073__$3bac17678db7ae928afa209f2f44deec9c$__906309a81d62906044016134e2565b5f8051602061492c83398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b6040516399009c5160e01b81526001600160601b038084166004830152821660248201525f9073__$94a2c899be079b00d952d0d84fffaa5c34$__906399009c51906044016134e2565b6040516001600160a01b03848116602483015283811660448301526001600160e01b0319831660648301525f9182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b1790525161385291906147db565b5f60405180830381855afa9150503d805f811461388a576040519150601f19603f3d011682016040523d82523d5f602084013e61388f565b606091505b509150915081156138e15760408151106138c157808060200190518101906138b791906147f1565b90945092506138e1565b60208151106138e157808060200190518101906138de9190614399565b93505b505094509492505050565b5f805160206149ac83398151915254600160401b900460ff1661392257604051631afcd79f60e31b815260040160405180910390fd5b565b61392c6138ec565b613934613a8a565b6139b18383846001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa158015613975573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906139999190614346565b60085f8660405180602001604052805f815250613a9a565b6139c163daf9067160e01b613a4d565b505050565b5f80546001600160a01b031663d39e6043836139e0611286565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa158015613a23573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190613a479190614454565b92915050565b613a556138ec565b6001600160e01b031981165f9081525f8051602061498c83398151915260205260409020805460ff1916600117905550565b50565b613a926138ec565b613922613be1565b613aa26138ec565b604051632330f24760e01b81526001600160a01b038816600482015273__$fb599632d08395912d9d70eb2f0f93b5e2$__90632330f24790602401602060405180830381865af4158015613af8573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190613b1c9190614399565b613b445760405163cf6935e560e01b81526001600160a01b038816600482015260240161099f565b613b4d87613c0f565b613b578683613c20565b5f7f66ed5788a8bec6ff1e7b389e8e939876404dd6c85eb5e16ebccc687f21cd620080546001600160601b0388166cffffffffffffffffffffffffff1990911617600160601b60ff8816021760ff60681b1916600160681b86151502178155905060018101613bc68382614871565b50613bd7634a531f3360e01b613a4d565b5050505050505050565b613be96138ec565b60017f9b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f0055565b613c176138ec565b613a8781613c96565b613c286138ec565b613c30613ca7565b613c3982613cf8565b6001600160a01b038116613c605760405163f17ef42d60e01b815260040160405180910390fd5b5f8051602061496c83398151915280546001600160601b0316600160601b6001600160a01b039093169290920291909117905550565b613c9e6138ec565b613a878161373a565b613caf6138ec565b6301ffc9a760e01b5f525f8051602061498c8339815191526020527f7449848146f4dbd52693c0731b5cd097b0a676ddfe6ffc213ebb4853f36e5619805460ff19166001179055565b613d006138ec565b604051633334d16b60e01b81526001600160a01b038216600482015273__$fb599632d08395912d9d70eb2f0f93b5e2$__90633334d16b90602401602060405180830381865af4158015613d56573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190613d7a9190614399565b613da25760405163fdeac91f60e01b81526001600160a01b038216600482015260240161099f565b5f80546001600160a01b0319166001600160a01b0392909216919091179055565b5f60208284031215613dd3575f80fd5b81356001600160e01b03198116811461344b575f80fd5b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081526001600160601b0382511660208201526001600160601b03602083015116604082015260ff60408301511660608201525f6060830151613e60608084018215159052565b5060808301516001600160a01b03811660a08401525060a08301516001600160a01b03811660c08401525060c083015160e080840152613ea4610100840182613dea565b949350505050565b6001600160a01b0381168114613a87575f80fd5b6001600160601b0381168114613a87575f80fd5b5f805f60608486031215613ee6575f80fd5b8335613ef181613eac565b92506020840135613f0181613ec0565b91506040840135613f1181613ec0565b809150509250925092565b634e487b7160e01b5f52604160045260245ffd5b604080519081016001600160401b0381118282101715613f5257613f52613f1c565b60405290565b60405160c081016001600160401b0381118282101715613f5257613f52613f1c565b604051601f8201601f191681016001600160401b0381118282101715613fa257613fa2613f1c565b604052919050565b5f6001600160401b03821115613fc257613fc2613f1c565b50601f01601f191660200190565b5f82601f830112613fdf575f80fd5b8135613ff2613fed82613faa565b613f7a565b818152846020838601011115614006575f80fd5b816020850160208301375f918101602001919091529392505050565b5f60208284031215614032575f80fd5b81356001600160401b03811115614047575f80fd5b613ea484828501613fd0565b5f8060408385031215614064575f80fd5b823561406f81613eac565b915060208301356001600160401b03811115614089575f80fd5b61409585828601613fd0565b9150509250929050565b5f805f80608085870312156140b2575f80fd5b84356140bd81613eac565b935060208501356140cd81613ec0565b925060408501356140dd81613ec0565b915060608501356140ed81613ec0565b939692955090935050565b5f60208284031215614108575f80fd5b813561344b81613eac565b602081525f61344b6020830184613dea565b5f60408284031215614135575f80fd5b61413d613f30565b9050813561414a81613eac565b8152602082013561415a81613ec0565b602082015292915050565b5f8060608385031215614176575f80fd5b823561418181613ec0565b91506141908460208501614125565b90509250929050565b5f80604083850312156141aa575f80fd5b82356141b581613eac565b915060208301356141c581613ec0565b809150509250929050565b5f805f80608085870312156141e3575f80fd5b84356141ee81613eac565b935060208501356140cd81613eac565b8015158114613a87575f80fd5b5f806040838503121561421c575f80fd5b823561422781613ec0565b915060208301356141c5816141fe565b64ffffffffff81168114613a87575f80fd5b5f806040838503121561425a575f80fd5b823561426581613ec0565b915060208301356141c581614237565b5f805f805f60a08688031215614289575f80fd5b853561429481613eac565b94506142a38760208801614125565b935060608601356142b381614237565b925060808601356001600160401b038111156142cd575f80fd5b8601601f810188136142dd575f80fd5b80356001600160401b038111156142f2575f80fd5b886020828401011115614303575f80fd5b959894975092955050506020019190565b5f60208284031215614324575f80fd5b815162ffffff8116811461344b575f80fd5b805161434181613ec0565b919050565b5f60208284031215614356575f80fd5b815161344b81613ec0565b600181811c9082168061437557607f821691505b60208210810361439357634e487b7160e01b5f52602260045260245ffd5b50919050565b5f602082840312156143a9575f80fd5b815161344b816141fe565b5f805f606084860312156143c6575f80fd5b83516143d181613ec0565b60208501519093506143e281613ec0565b6040850151909250613f1181613ec0565b6001600160a01b039490941684526001600160601b039283166020850152908216604084015216606082015260800190565b6001600160401b0381168114613a87575f80fd5b5f60208284031215614449575f80fd5b815161344b81614425565b5f60208284031215614464575f80fd5b815161344b81613eac565b60ff81168114613a87575f80fd5b5f6020828403121561448d575f80fd5b815161344b8161446f565b805161434181614237565b5f604082840312156144b3575f80fd5b6144bb613f30565b905081516144c881613eac565b8152602082015161415a81613ec0565b5f82601f8301126144e7575f80fd5b81516144f5613fed82613faa565b818152846020838601011115614509575f80fd5b8160208501602083015e5f918101602001919091529392505050565b5f60208284031215614535575f80fd5b81516001600160401b0381111561454a575f80fd5b820160e0818503121561455b575f80fd5b614563613f58565b815161456e81614237565b8152602082015161457e81614237565b602082015261458f60408301614498565b60408201526145a060608301614336565b60608201526145b285608084016144a3565b608082015260c08201516001600160401b038111156145cf575f80fd5b6145db868285016144d8565b60a083015250949350505050565b5f602082840312156145f9575f80fd5b815161344b81614237565b5f8060408385031215614615575f80fd5b825161462081613ec0565b60208401519092506141c581613eac565b64ffffffffff815116825264ffffffffff602082015116602083015264ffffffffff60408201511660408301526001600160601b0360608201511660608301525f60808201516080840160018060a01b0382511681526001600160601b036020830151166020820152505060a082015160e060c0850152613ea460e0850182613dea565b6001600160601b0384168152606060208201525f6146d66060830185614631565b905060ff83166040830152949350505050565b5f602082840312156146f9575f80fd5b5051919050565b6001600160601b0383168152604060208201525f613ea46040830184614631565b5f808585111561472f575f80fd5b8386111561473b575f80fd5b5050820193919092039150565b80356001600160e01b03198116906004841015614779576001600160e01b0319600485900360031b81901b82161691505b5092915050565b6001600160a01b03841681526040602082018190528101829052818360608301375f818301606090810191909152601f909201601f1916010192915050565b5f80604083850312156147d0575f80fd5b825161462081613eac565b5f82518060208501845e5f920191825250919050565b5f8060408385031215614802575f80fd5b825161480d816141fe565b602084015190925063ffffffff811681146141c5575f80fd5b601f8211156139c157805f5260205f20601f840160051c8101602085101561484b5750805b601f840160051c820191505b8181101561486a575f8155600101614857565b5050505050565b81516001600160401b0381111561488a5761488a613f1c565b61489e816148988454614361565b84614826565b6020601f8211600181146148d0575f83156148b95750848201515b5f19600385901b1c1916600184901b17845561486a565b5f84815260208120601f198516915b828110156148ff57878501518255602094850194600190920191016148df565b508482101561491c57868401515f19600387901b60f8161c191681555b50505050600190811b0190555056fef3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a0046b8ce3500c11673bb6f380e5e46ed88536ecfaa352cb594644cb469c5a14d0075a854a54bf614cac5ba72c2235143229b43a26f8eb448270fb97a467532e3002c5de3b4947d23a15785cdf804e1e581a3c5f54c0357f66e3f442def0f390100f0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00a2646970667358221220947739f98f8d733f8ebb0c0c8958d0c511ba25e8da95e488cb2d9ab3d8d12eda64736f6c634300081a0033",
1124
+ "linkReferences": {
1125
+ "contracts/pool/PoolLib.sol": {
1126
+ "PoolLib": [
1127
+ {
1128
+ "length": 20,
1129
+ "start": 5575
1130
+ },
1131
+ {
1132
+ "length": 20,
1133
+ "start": 8819
1134
+ },
1135
+ {
1136
+ "length": 20,
1137
+ "start": 9416
1138
+ },
1139
+ {
1140
+ "length": 20,
1141
+ "start": 10837
1142
+ }
1143
+ ]
1144
+ },
1145
+ "contracts/shared/ContractLib.sol": {
1146
+ "ContractLib": [
1147
+ {
1148
+ "length": 20,
1149
+ "start": 15254
1150
+ },
1151
+ {
1152
+ "length": 20,
1153
+ "start": 15860
1154
+ }
1155
+ ]
1156
+ },
1157
+ "contracts/type/Amount.sol": {
1158
+ "AmountLib": [
1159
+ {
1160
+ "length": 20,
1161
+ "start": 2372
1162
+ },
1163
+ {
1164
+ "length": 20,
1165
+ "start": 2400
1166
+ },
1167
+ {
1168
+ "length": 20,
1169
+ "start": 2775
1170
+ },
1171
+ {
1172
+ "length": 20,
1173
+ "start": 8558
1174
+ },
1175
+ {
1176
+ "length": 20,
1177
+ "start": 13508
1178
+ },
1179
+ {
1180
+ "length": 20,
1181
+ "start": 13648
1182
+ },
1183
+ {
1184
+ "length": 20,
1185
+ "start": 13722
1186
+ },
1187
+ {
1188
+ "length": 20,
1189
+ "start": 14318
1190
+ }
1191
+ ]
1192
+ },
1193
+ "contracts/type/NftId.sol": {
1194
+ "NftIdLib": [
1195
+ {
1196
+ "length": 20,
1197
+ "start": 1720
1198
+ },
1199
+ {
1200
+ "length": 20,
1201
+ "start": 5246
1202
+ },
1203
+ {
1204
+ "length": 20,
1205
+ "start": 5981
1206
+ },
1207
+ {
1208
+ "length": 20,
1209
+ "start": 11062
1210
+ },
1211
+ {
1212
+ "length": 20,
1213
+ "start": 12363
1214
+ },
1215
+ {
1216
+ "length": 20,
1217
+ "start": 14488
1218
+ }
1219
+ ]
1220
+ },
1221
+ "contracts/type/ObjectType.sol": {
1222
+ "ObjectTypeLib": [
1223
+ {
1224
+ "length": 20,
1225
+ "start": 13185
1226
+ }
1227
+ ]
1228
+ },
1229
+ "contracts/type/RoleId.sol": {
1230
+ "RoleIdLib": [
1231
+ {
1232
+ "length": 20,
1233
+ "start": 4819
1234
+ }
1235
+ ]
1236
+ },
1237
+ "contracts/type/Seconds.sol": {
1238
+ "SecondsLib": [
1239
+ {
1240
+ "length": 20,
1241
+ "start": 10264
1242
+ }
1243
+ ]
1244
+ },
1245
+ "contracts/type/Timestamp.sol": {
1246
+ "TimestampLib": [
1247
+ {
1248
+ "length": 20,
1249
+ "start": 4105
1250
+ },
1251
+ {
1252
+ "length": 20,
1253
+ "start": 8199
1254
+ },
1255
+ {
1256
+ "length": 20,
1257
+ "start": 8308
1258
+ },
1259
+ {
1260
+ "length": 20,
1261
+ "start": 10098
1262
+ },
1263
+ {
1264
+ "length": 20,
1265
+ "start": 10428
1266
+ },
1267
+ {
1268
+ "length": 20,
1269
+ "start": 11490
1270
+ },
1271
+ {
1272
+ "length": 20,
1273
+ "start": 11609
1274
+ },
1275
+ {
1276
+ "length": 20,
1277
+ "start": 11751
1278
+ }
1279
+ ]
1280
+ },
1281
+ "contracts/type/Version.sol": {
1282
+ "VersionLib": [
1283
+ {
1284
+ "length": 20,
1285
+ "start": 1520
1286
+ },
1287
+ {
1288
+ "length": 20,
1289
+ "start": 3030
1290
+ }
1291
+ ]
1292
+ }
1293
+ },
1294
+ "deployedLinkReferences": {
1295
+ "contracts/pool/PoolLib.sol": {
1296
+ "PoolLib": [
1297
+ {
1298
+ "length": 20,
1299
+ "start": 5361
1300
+ },
1301
+ {
1302
+ "length": 20,
1303
+ "start": 8605
1304
+ },
1305
+ {
1306
+ "length": 20,
1307
+ "start": 9202
1308
+ },
1309
+ {
1310
+ "length": 20,
1311
+ "start": 10623
1312
+ }
1313
+ ]
1314
+ },
1315
+ "contracts/shared/ContractLib.sol": {
1316
+ "ContractLib": [
1317
+ {
1318
+ "length": 20,
1319
+ "start": 15040
1320
+ },
1321
+ {
1322
+ "length": 20,
1323
+ "start": 15646
1324
+ }
1325
+ ]
1326
+ },
1327
+ "contracts/type/Amount.sol": {
1328
+ "AmountLib": [
1329
+ {
1330
+ "length": 20,
1331
+ "start": 2158
1332
+ },
1333
+ {
1334
+ "length": 20,
1335
+ "start": 2186
1336
+ },
1337
+ {
1338
+ "length": 20,
1339
+ "start": 2561
1340
+ },
1341
+ {
1342
+ "length": 20,
1343
+ "start": 8344
1344
+ },
1345
+ {
1346
+ "length": 20,
1347
+ "start": 13294
1348
+ },
1349
+ {
1350
+ "length": 20,
1351
+ "start": 13434
1352
+ },
1353
+ {
1354
+ "length": 20,
1355
+ "start": 13508
1356
+ },
1357
+ {
1358
+ "length": 20,
1359
+ "start": 14104
1360
+ }
1361
+ ]
1362
+ },
1363
+ "contracts/type/NftId.sol": {
1364
+ "NftIdLib": [
1365
+ {
1366
+ "length": 20,
1367
+ "start": 1506
1368
+ },
1369
+ {
1370
+ "length": 20,
1371
+ "start": 5032
1372
+ },
1373
+ {
1374
+ "length": 20,
1375
+ "start": 5767
1376
+ },
1377
+ {
1378
+ "length": 20,
1379
+ "start": 10848
1380
+ },
1381
+ {
1382
+ "length": 20,
1383
+ "start": 12149
1384
+ },
1385
+ {
1386
+ "length": 20,
1387
+ "start": 14274
1388
+ }
1389
+ ]
1390
+ },
1391
+ "contracts/type/ObjectType.sol": {
1392
+ "ObjectTypeLib": [
1393
+ {
1394
+ "length": 20,
1395
+ "start": 12971
1396
+ }
1397
+ ]
1398
+ },
1399
+ "contracts/type/RoleId.sol": {
1400
+ "RoleIdLib": [
1401
+ {
1402
+ "length": 20,
1403
+ "start": 4605
1404
+ }
1405
+ ]
1406
+ },
1407
+ "contracts/type/Seconds.sol": {
1408
+ "SecondsLib": [
1409
+ {
1410
+ "length": 20,
1411
+ "start": 10050
1412
+ }
1413
+ ]
1414
+ },
1415
+ "contracts/type/Timestamp.sol": {
1416
+ "TimestampLib": [
1417
+ {
1418
+ "length": 20,
1419
+ "start": 3891
1420
+ },
1421
+ {
1422
+ "length": 20,
1423
+ "start": 7985
1424
+ },
1425
+ {
1426
+ "length": 20,
1427
+ "start": 8094
1428
+ },
1429
+ {
1430
+ "length": 20,
1431
+ "start": 9884
1432
+ },
1433
+ {
1434
+ "length": 20,
1435
+ "start": 10214
1436
+ },
1437
+ {
1438
+ "length": 20,
1439
+ "start": 11276
1440
+ },
1441
+ {
1442
+ "length": 20,
1443
+ "start": 11395
1444
+ },
1445
+ {
1446
+ "length": 20,
1447
+ "start": 11537
1448
+ }
1449
+ ]
1450
+ },
1451
+ "contracts/type/Version.sol": {
1452
+ "VersionLib": [
1453
+ {
1454
+ "length": 20,
1455
+ "start": 1306
1456
+ },
1457
+ {
1458
+ "length": 20,
1459
+ "start": 2816
1460
+ }
1461
+ ]
1462
+ }
1463
+ }
1464
+ }