@etherisc/gif-next 0.0.2-ff282a4-523 → 0.0.2-ff3a8a0-504

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