@etherisc/gif-next 0.0.2-f1e0c66-773 → 0.0.2-f1e6957-384

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