@etherisc/gif-next 0.0.2-fe88ad7-208 → 0.0.2-fe8cf39-182

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