@etherisc/gif-next 0.0.2-f761c0d-394 → 0.0.2-f78f882-351

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