@etherisc/gif-next 0.0.2-d81820a-051 → 0.0.2-d8532da-980

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