@etherisc/gif-next 0.0.2-da77c50-824 → 0.0.2-db12733-152

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