@etherisc/gif-next 0.0.2-f9bc4c7-556 → 0.0.2-fa35bce-363

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