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

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