@etherisc/gif-next 0.0.2-fbe6493-116 → 0.0.2-fc41a4e-906

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