@etherisc/gif-next 0.0.2-ef2f083-203 → 0.0.2-ef82317-831

Sign up to get free protection for your applications and to get access to all the features.
Files changed (695) hide show
  1. package/README.md +121 -18
  2. package/artifacts/contracts/authorization/AccessAdmin.sol/AccessAdmin.dbg.json +4 -0
  3. package/artifacts/contracts/authorization/AccessAdmin.sol/AccessAdmin.json +1234 -0
  4. package/artifacts/contracts/authorization/AccessManagerCloneable.sol/AccessManagerCloneable.dbg.json +4 -0
  5. package/artifacts/contracts/authorization/AccessManagerCloneable.sol/AccessManagerCloneable.json +1206 -0
  6. package/artifacts/contracts/authorization/Authorization.sol/Authorization.dbg.json +4 -0
  7. package/artifacts/contracts/authorization/Authorization.sol/Authorization.json +358 -0
  8. package/artifacts/contracts/authorization/IAccess.sol/IAccess.dbg.json +4 -0
  9. package/artifacts/contracts/{instance/module/ISetup.sol/ISetup.json → authorization/IAccess.sol/IAccess.json} +2 -2
  10. package/artifacts/contracts/authorization/IAccessAdmin.sol/IAccessAdmin.dbg.json +4 -0
  11. package/artifacts/contracts/{instance/IAccessManagerSimple.sol/IAccessManagerSimple.json → authorization/IAccessAdmin.sol/IAccessAdmin.json} +483 -552
  12. package/artifacts/contracts/authorization/IAuthorization.sol/IAuthorization.dbg.json +4 -0
  13. package/artifacts/contracts/authorization/IAuthorization.sol/IAuthorization.json +258 -0
  14. package/artifacts/contracts/authorization/IModuleAuthorization.sol/IModuleAuthorization.dbg.json +4 -0
  15. package/artifacts/contracts/authorization/IModuleAuthorization.sol/IModuleAuthorization.json +290 -0
  16. package/artifacts/contracts/authorization/IServiceAuthorization.sol/IServiceAuthorization.dbg.json +4 -0
  17. package/artifacts/contracts/authorization/IServiceAuthorization.sol/IServiceAuthorization.json +148 -0
  18. package/artifacts/contracts/authorization/ModuleAuthorization.sol/ModuleAuthorization.dbg.json +4 -0
  19. package/artifacts/contracts/authorization/ModuleAuthorization.sol/ModuleAuthorization.json +390 -0
  20. package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.dbg.json +4 -0
  21. package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.json +190 -0
  22. package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.dbg.json +4 -0
  23. package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.json +1363 -0
  24. package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.dbg.json +4 -0
  25. package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.json +410 -0
  26. package/artifacts/contracts/distribution/Distribution.sol/Distribution.dbg.json +4 -0
  27. package/artifacts/contracts/distribution/Distribution.sol/Distribution.json +1033 -0
  28. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.dbg.json +4 -0
  29. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.json +1405 -0
  30. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +4 -0
  31. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.json +818 -0
  32. package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.dbg.json +4 -0
  33. package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.json +927 -0
  34. package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.dbg.json +4 -0
  35. package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.json +932 -0
  36. package/artifacts/contracts/examples/fire/DamageLevel.sol/DamageLevelLib.dbg.json +4 -0
  37. package/artifacts/contracts/examples/fire/DamageLevel.sol/DamageLevelLib.json +22 -0
  38. package/artifacts/contracts/examples/fire/FirePool.sol/FirePool.dbg.json +4 -0
  39. package/artifacts/contracts/examples/fire/FirePool.sol/FirePool.json +1512 -0
  40. package/artifacts/contracts/examples/fire/FirePoolAuthorization.sol/FirePoolAuthorization.dbg.json +4 -0
  41. package/artifacts/contracts/examples/fire/FirePoolAuthorization.sol/FirePoolAuthorization.json +410 -0
  42. package/artifacts/contracts/examples/fire/FireProduct.sol/FireProduct.dbg.json +4 -0
  43. package/artifacts/contracts/examples/fire/FireProduct.sol/FireProduct.json +1999 -0
  44. package/artifacts/contracts/examples/fire/FireProductAuthorization.sol/FireProductAuthorization.dbg.json +4 -0
  45. package/artifacts/contracts/examples/fire/FireProductAuthorization.sol/FireProductAuthorization.json +414 -0
  46. package/artifacts/contracts/examples/fire/FireUSD.sol/FireUSD.dbg.json +4 -0
  47. package/artifacts/contracts/examples/fire/FireUSD.sol/FireUSD.json +376 -0
  48. package/artifacts/contracts/examples/unpermissioned/SimpleDistribution.sol/SimpleDistribution.dbg.json +4 -0
  49. package/artifacts/contracts/examples/unpermissioned/SimpleDistribution.sol/SimpleDistribution.json +1432 -0
  50. package/artifacts/contracts/examples/unpermissioned/SimpleOracle.sol/SimpleOracle.dbg.json +4 -0
  51. package/artifacts/contracts/examples/unpermissioned/SimpleOracle.sol/SimpleOracle.json +1192 -0
  52. package/artifacts/contracts/examples/unpermissioned/SimplePool.sol/SimplePool.dbg.json +4 -0
  53. package/artifacts/contracts/examples/unpermissioned/SimplePool.sol/SimplePool.json +1566 -0
  54. package/artifacts/contracts/examples/unpermissioned/SimpleProduct.sol/SimpleProduct.dbg.json +4 -0
  55. package/artifacts/contracts/examples/unpermissioned/SimpleProduct.sol/SimpleProduct.json +2001 -0
  56. package/artifacts/contracts/instance/BundleSet.sol/BundleSet.dbg.json +4 -0
  57. package/artifacts/contracts/instance/BundleSet.sol/BundleSet.json +703 -0
  58. package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
  59. package/artifacts/contracts/instance/IInstance.sol/IInstance.json +518 -310
  60. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +1 -1
  61. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +447 -170
  62. package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
  63. package/artifacts/contracts/instance/Instance.sol/Instance.json +345 -3046
  64. package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.dbg.json +4 -0
  65. package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.json +1623 -0
  66. package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.dbg.json +4 -0
  67. package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.json +601 -0
  68. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +1 -1
  69. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +1100 -340
  70. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +1 -1
  71. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +526 -300
  72. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +1 -1
  73. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +338 -92
  74. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.dbg.json +4 -0
  75. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.json +3607 -0
  76. package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.dbg.json +4 -0
  77. package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.json +318 -0
  78. package/artifacts/contracts/instance/base/Cloneable.sol/Cloneable.dbg.json +4 -0
  79. package/artifacts/contracts/instance/{AccessManagedSimple.sol/AccessManagedSimple.json → base/Cloneable.sol/Cloneable.json} +38 -2
  80. package/artifacts/contracts/instance/base/ObjectCounter.sol/ObjectCounter.dbg.json +4 -0
  81. package/artifacts/contracts/instance/base/ObjectCounter.sol/ObjectCounter.json +10 -0
  82. package/artifacts/contracts/instance/base/ObjectLifecycle.sol/ObjectLifecycle.dbg.json +4 -0
  83. package/artifacts/contracts/instance/base/ObjectLifecycle.sol/ObjectLifecycle.json +182 -0
  84. package/artifacts/contracts/instance/base/ObjectSet.sol/ObjectSet.dbg.json +4 -0
  85. package/artifacts/contracts/instance/base/ObjectSet.sol/ObjectSet.json +181 -0
  86. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.dbg.json +1 -1
  87. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.json +30 -112
  88. package/artifacts/contracts/instance/module/IBundle.sol/IBundle.dbg.json +1 -1
  89. package/artifacts/contracts/instance/module/IComponents.sol/IComponents.dbg.json +4 -0
  90. package/artifacts/contracts/instance/module/{ITreasury.sol/ITreasury.json → IComponents.sol/IComponents.json} +2 -2
  91. package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.dbg.json +1 -1
  92. package/artifacts/contracts/instance/module/IPolicy.sol/IPolicy.dbg.json +1 -1
  93. package/artifacts/contracts/instance/module/IRisk.sol/IRisk.dbg.json +1 -1
  94. package/artifacts/contracts/mock/Dip.sol/Dip.dbg.json +4 -0
  95. package/artifacts/contracts/mock/Dip.sol/Dip.json +376 -0
  96. package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.dbg.json +4 -0
  97. package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.json +1000 -0
  98. package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.dbg.json +4 -0
  99. package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.json +418 -0
  100. package/artifacts/contracts/oracle/IOracle.sol/IOracle.dbg.json +4 -0
  101. package/artifacts/contracts/oracle/IOracle.sol/IOracle.json +52 -0
  102. package/artifacts/contracts/oracle/IOracleComponent.sol/IOracleComponent.dbg.json +4 -0
  103. package/artifacts/contracts/{instance/service/IProductService.sol/IProductService.json → oracle/IOracleComponent.sol/IOracleComponent.json} +405 -370
  104. package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.dbg.json +4 -0
  105. package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.json +675 -0
  106. package/artifacts/contracts/oracle/Oracle.sol/Oracle.dbg.json +4 -0
  107. package/artifacts/contracts/oracle/Oracle.sol/Oracle.json +892 -0
  108. package/artifacts/contracts/oracle/OracleService.sol/OracleService.dbg.json +4 -0
  109. package/artifacts/contracts/oracle/OracleService.sol/OracleService.json +927 -0
  110. package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.dbg.json +4 -0
  111. package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.json +710 -0
  112. package/artifacts/contracts/pool/BasicPool.sol/BasicPool.dbg.json +4 -0
  113. package/artifacts/contracts/pool/BasicPool.sol/BasicPool.json +1297 -0
  114. package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.dbg.json +4 -0
  115. package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.json +410 -0
  116. package/artifacts/contracts/pool/BundleService.sol/BundleService.dbg.json +4 -0
  117. package/artifacts/contracts/pool/BundleService.sol/BundleService.json +1431 -0
  118. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.dbg.json +4 -0
  119. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.json +822 -0
  120. package/artifacts/contracts/pool/IBundleService.sol/IBundleService.dbg.json +4 -0
  121. package/artifacts/contracts/pool/IBundleService.sol/IBundleService.json +931 -0
  122. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.dbg.json +4 -0
  123. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.json +958 -0
  124. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.dbg.json +4 -0
  125. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.json +1267 -0
  126. package/artifacts/contracts/pool/Pool.sol/Pool.dbg.json +4 -0
  127. package/artifacts/contracts/pool/Pool.sol/Pool.json +1083 -0
  128. package/artifacts/contracts/pool/PoolService.sol/PoolService.dbg.json +4 -0
  129. package/artifacts/contracts/pool/PoolService.sol/PoolService.json +1612 -0
  130. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.dbg.json +4 -0
  131. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.json +758 -0
  132. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.dbg.json +4 -0
  133. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.json +737 -0
  134. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +4 -0
  135. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.json +698 -0
  136. package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.dbg.json +4 -0
  137. package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.json +1119 -0
  138. package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.dbg.json +4 -0
  139. package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.json +410 -0
  140. package/artifacts/contracts/product/ClaimService.sol/ClaimService.dbg.json +4 -0
  141. package/artifacts/contracts/product/ClaimService.sol/ClaimService.json +1397 -0
  142. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +4 -0
  143. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.json +826 -0
  144. package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.dbg.json +4 -0
  145. package/artifacts/contracts/{instance/base/ComponentServiceBase.sol/ComponentServiceBase.json → product/IApplicationService.sol/IApplicationService.json} +222 -186
  146. package/artifacts/contracts/product/IClaimService.sol/IClaimService.dbg.json +4 -0
  147. package/artifacts/contracts/product/IClaimService.sol/IClaimService.json +913 -0
  148. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.dbg.json +4 -0
  149. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.json +896 -0
  150. package/artifacts/contracts/product/IPricingService.sol/IPricingService.dbg.json +4 -0
  151. package/artifacts/contracts/{instance/service/IPoolService.sol/IPoolService.json → product/IPricingService.sol/IPricingService.json} +267 -279
  152. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.dbg.json +4 -0
  153. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.json +971 -0
  154. package/artifacts/contracts/product/IRiskService.sol/IRiskService.dbg.json +4 -0
  155. package/artifacts/contracts/{instance/service/IComponentOwnerService.sol/IComponentOwnerService.json → product/IRiskService.sol/IRiskService.json} +125 -191
  156. package/artifacts/contracts/product/PolicyService.sol/PolicyService.dbg.json +4 -0
  157. package/artifacts/contracts/product/PolicyService.sol/PolicyService.json +1268 -0
  158. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +4 -0
  159. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.json +770 -0
  160. package/artifacts/contracts/product/PricingService.sol/PricingService.dbg.json +4 -0
  161. package/artifacts/contracts/product/PricingService.sol/PricingService.json +865 -0
  162. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.dbg.json +4 -0
  163. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.json +746 -0
  164. package/artifacts/contracts/product/Product.sol/Product.dbg.json +4 -0
  165. package/artifacts/contracts/product/Product.sol/Product.json +1077 -0
  166. package/artifacts/contracts/product/RiskService.sol/RiskService.dbg.json +4 -0
  167. package/artifacts/contracts/product/RiskService.sol/RiskService.json +588 -0
  168. package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.dbg.json +4 -0
  169. package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.json +682 -0
  170. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
  171. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +72 -16
  172. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
  173. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +560 -184
  174. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +1 -1
  175. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +356 -269
  176. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +1 -1
  177. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.json +18 -0
  178. package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
  179. package/artifacts/contracts/registry/Registry.sol/Registry.json +895 -228
  180. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.dbg.json +4 -0
  181. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.json +1858 -0
  182. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +1 -1
  183. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +291 -366
  184. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +1 -1
  185. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +313 -137
  186. package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.dbg.json +4 -0
  187. package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.json +164 -0
  188. package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.dbg.json +4 -0
  189. package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.json +1169 -0
  190. package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.dbg.json +4 -0
  191. package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.json +214 -0
  192. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +1 -1
  193. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +351 -100
  194. package/artifacts/contracts/shared/Component.sol/Component.dbg.json +4 -0
  195. package/artifacts/contracts/shared/Component.sol/Component.json +706 -0
  196. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.dbg.json +4 -0
  197. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.json +1573 -0
  198. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.dbg.json +4 -0
  199. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.json +794 -0
  200. package/artifacts/contracts/shared/ComponentVerifyingService.sol/ComponentVerifyingService.dbg.json +4 -0
  201. package/artifacts/contracts/shared/{RegisterableUpgradable.sol/RegisterableUpgradable.json → ComponentVerifyingService.sol/ComponentVerifyingService.json} +149 -159
  202. package/artifacts/contracts/shared/ContractLib.sol/ContractLib.dbg.json +4 -0
  203. package/artifacts/contracts/shared/ContractLib.sol/ContractLib.json +92 -0
  204. package/artifacts/contracts/shared/IComponent.sol/IComponent.dbg.json +4 -0
  205. package/artifacts/contracts/shared/IComponent.sol/IComponent.json +626 -0
  206. package/artifacts/contracts/shared/IComponentService.sol/IComponentService.dbg.json +4 -0
  207. package/artifacts/contracts/shared/IComponentService.sol/IComponentService.json +1033 -0
  208. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.dbg.json +4 -0
  209. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.json +721 -0
  210. package/artifacts/contracts/shared/IKeyValueStore.sol/IKeyValueStore.dbg.json +4 -0
  211. package/artifacts/contracts/{instance/base → shared}/IKeyValueStore.sol/IKeyValueStore.json +59 -14
  212. package/artifacts/contracts/shared/ILifecycle.sol/ILifecycle.dbg.json +4 -0
  213. package/artifacts/contracts/{instance/base → shared}/ILifecycle.sol/ILifecycle.json +1 -6
  214. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +1 -1
  215. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.json +34 -30
  216. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.dbg.json +4 -0
  217. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.json +175 -0
  218. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
  219. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +15 -35
  220. package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.dbg.json +4 -0
  221. package/artifacts/contracts/{experiment/inheritance/IA.sol/ISharedA.json → shared/IRegistryLinked.sol/IRegistryLinked.json} +15 -17
  222. package/artifacts/contracts/shared/IService.sol/IService.dbg.json +1 -1
  223. package/artifacts/contracts/shared/IService.sol/IService.json +97 -172
  224. package/artifacts/contracts/shared/InitializableERC165.sol/InitializableERC165.dbg.json +4 -0
  225. package/artifacts/contracts/shared/InitializableERC165.sol/InitializableERC165.json +53 -0
  226. package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.dbg.json +4 -0
  227. package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.json +814 -0
  228. package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.dbg.json +4 -0
  229. package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.json +497 -0
  230. package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.dbg.json +4 -0
  231. package/artifacts/contracts/{experiment/statemachine/ISM.sol/ISM.json → shared/Lifecycle.sol/Lifecycle.json} +54 -45
  232. package/artifacts/contracts/shared/NftIdSet.sol/NftIdSet.dbg.json +4 -0
  233. package/artifacts/contracts/shared/NftIdSet.sol/NftIdSet.json +306 -0
  234. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +1 -1
  235. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +65 -30
  236. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.dbg.json +4 -0
  237. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.json +198 -0
  238. package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
  239. package/artifacts/contracts/shared/Registerable.sol/Registerable.json +44 -54
  240. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.dbg.json +4 -0
  241. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.json +58 -0
  242. package/artifacts/contracts/shared/Service.sol/Service.dbg.json +1 -1
  243. package/artifacts/contracts/shared/Service.sol/Service.json +115 -183
  244. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +1 -1
  245. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +382 -9
  246. package/artifacts/contracts/shared/TokenHandlerDeployerLib.sol/TokenHandlerDeployerLib.dbg.json +4 -0
  247. package/artifacts/contracts/shared/TokenHandlerDeployerLib.sol/TokenHandlerDeployerLib.json +108 -0
  248. package/artifacts/contracts/staking/IStaking.sol/IStaking.dbg.json +4 -0
  249. package/artifacts/contracts/staking/IStaking.sol/IStaking.json +1459 -0
  250. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.dbg.json +4 -0
  251. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.json +1035 -0
  252. package/artifacts/contracts/staking/StakeManagerLib.sol/StakeManagerLib.dbg.json +4 -0
  253. package/artifacts/contracts/staking/StakeManagerLib.sol/StakeManagerLib.json +440 -0
  254. package/artifacts/contracts/staking/Staking.sol/Staking.dbg.json +4 -0
  255. package/artifacts/contracts/staking/Staking.sol/Staking.json +1849 -0
  256. package/artifacts/contracts/staking/StakingLifecycle.sol/StakingLifecycle.dbg.json +4 -0
  257. package/artifacts/contracts/staking/StakingLifecycle.sol/StakingLifecycle.json +164 -0
  258. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.dbg.json +4 -0
  259. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.json +750 -0
  260. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.dbg.json +4 -0
  261. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.json +587 -0
  262. package/artifacts/contracts/staking/StakingService.sol/StakingService.dbg.json +4 -0
  263. package/artifacts/contracts/staking/StakingService.sol/StakingService.json +1236 -0
  264. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.dbg.json +4 -0
  265. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.json +698 -0
  266. package/artifacts/contracts/staking/StakingStore.sol/StakingStore.dbg.json +4 -0
  267. package/artifacts/contracts/staking/StakingStore.sol/StakingStore.json +2242 -0
  268. package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.dbg.json +4 -0
  269. package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.json +607 -0
  270. package/artifacts/contracts/type/AddressSet.sol/LibAddressSet.dbg.json +4 -0
  271. package/artifacts/contracts/type/AddressSet.sol/LibAddressSet.json +10 -0
  272. package/artifacts/contracts/type/Amount.sol/AmountLib.dbg.json +4 -0
  273. package/artifacts/contracts/type/Amount.sol/AmountLib.json +398 -0
  274. package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.dbg.json +4 -0
  275. package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.json +225 -0
  276. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.dbg.json +4 -0
  277. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.json +203 -0
  278. package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.dbg.json +4 -0
  279. package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.json +104 -0
  280. package/artifacts/contracts/type/Fee.sol/FeeLib.dbg.json +4 -0
  281. package/artifacts/contracts/type/Fee.sol/FeeLib.json +317 -0
  282. package/artifacts/contracts/type/Key32.sol/Key32Lib.dbg.json +4 -0
  283. package/artifacts/contracts/type/Key32.sol/Key32Lib.json +125 -0
  284. package/artifacts/contracts/type/NftId.sol/NftIdLib.dbg.json +4 -0
  285. package/artifacts/contracts/type/NftId.sol/NftIdLib.json +209 -0
  286. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.dbg.json +4 -0
  287. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.json +33 -0
  288. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.dbg.json +4 -0
  289. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.json +239 -0
  290. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.dbg.json +4 -0
  291. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.json +209 -0
  292. package/artifacts/contracts/type/Referral.sol/ReferralLib.dbg.json +4 -0
  293. package/artifacts/contracts/type/Referral.sol/ReferralLib.json +142 -0
  294. package/artifacts/contracts/type/RequestId.sol/RequestIdLib.dbg.json +4 -0
  295. package/artifacts/contracts/type/RequestId.sol/RequestIdLib.json +204 -0
  296. package/artifacts/contracts/type/RiskId.sol/RiskIdLib.dbg.json +4 -0
  297. package/artifacts/contracts/type/RiskId.sol/RiskIdLib.json +142 -0
  298. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.dbg.json +4 -0
  299. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.json +369 -0
  300. package/artifacts/contracts/type/Seconds.sol/SecondsLib.dbg.json +4 -0
  301. package/artifacts/contracts/type/Seconds.sol/SecondsLib.json +246 -0
  302. package/artifacts/contracts/type/Selector.sol/SelectorLib.dbg.json +4 -0
  303. package/artifacts/contracts/type/Selector.sol/SelectorLib.json +129 -0
  304. package/artifacts/contracts/type/Selector.sol/SelectorSetLib.dbg.json +4 -0
  305. package/artifacts/contracts/type/Selector.sol/SelectorSetLib.json +10 -0
  306. package/artifacts/contracts/type/StateId.sol/StateIdLib.dbg.json +4 -0
  307. package/artifacts/contracts/{types → type}/StateId.sol/StateIdLib.json +3 -3
  308. package/artifacts/contracts/type/String.sol/StrLib.dbg.json +4 -0
  309. package/artifacts/contracts/type/String.sol/StrLib.json +132 -0
  310. package/artifacts/contracts/type/Timestamp.sol/TimestampLib.dbg.json +4 -0
  311. package/artifacts/contracts/type/Timestamp.sol/TimestampLib.json +312 -0
  312. package/artifacts/contracts/type/UFixed.sol/MathLib.dbg.json +4 -0
  313. package/artifacts/contracts/type/UFixed.sol/MathLib.json +16 -0
  314. package/artifacts/contracts/type/UFixed.sol/UFixedLib.dbg.json +4 -0
  315. package/artifacts/contracts/type/UFixed.sol/UFixedLib.json +548 -0
  316. package/artifacts/contracts/type/Version.sol/VersionLib.dbg.json +4 -0
  317. package/artifacts/contracts/type/Version.sol/VersionLib.json +177 -0
  318. package/artifacts/contracts/type/Version.sol/VersionPartLib.dbg.json +4 -0
  319. package/artifacts/contracts/type/Version.sol/VersionPartLib.json +68 -0
  320. package/artifacts/contracts/upgradeability/IVersionable.sol/IVersionable.dbg.json +4 -0
  321. package/artifacts/contracts/upgradeability/IVersionable.sol/IVersionable.json +55 -0
  322. package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.dbg.json +4 -0
  323. package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.json +586 -0
  324. package/artifacts/contracts/upgradeability/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +4 -0
  325. package/artifacts/contracts/upgradeability/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +129 -0
  326. package/artifacts/contracts/upgradeability/Versionable.sol/Versionable.dbg.json +4 -0
  327. package/artifacts/contracts/upgradeability/Versionable.sol/Versionable.json +78 -0
  328. package/contracts/authorization/AccessAdmin.sol +592 -0
  329. package/contracts/authorization/AccessManagerCloneable.sol +16 -0
  330. package/contracts/authorization/Authorization.sol +221 -0
  331. package/contracts/authorization/IAccess.sol +48 -0
  332. package/contracts/authorization/IAccessAdmin.sol +135 -0
  333. package/contracts/authorization/IAuthorization.sol +54 -0
  334. package/contracts/authorization/IModuleAuthorization.sol +21 -0
  335. package/contracts/authorization/IServiceAuthorization.sol +38 -0
  336. package/contracts/authorization/ModuleAuthorization.sol +78 -0
  337. package/contracts/authorization/ServiceAuthorization.sol +90 -0
  338. package/contracts/distribution/BasicDistribution.sol +138 -0
  339. package/contracts/distribution/BasicDistributionAuthorization.sol +47 -0
  340. package/contracts/distribution/Distribution.sol +295 -0
  341. package/contracts/distribution/DistributionService.sol +336 -0
  342. package/contracts/distribution/DistributionServiceManager.sol +39 -0
  343. package/contracts/distribution/IDistributionComponent.sol +52 -0
  344. package/contracts/distribution/IDistributionService.sol +101 -0
  345. package/contracts/examples/fire/DamageLevel.sol +59 -0
  346. package/contracts/examples/fire/FirePool.sol +75 -0
  347. package/contracts/examples/fire/FirePoolAuthorization.sol +34 -0
  348. package/contracts/examples/fire/FireProduct.sol +413 -0
  349. package/contracts/examples/fire/FireProductAuthorization.sol +45 -0
  350. package/contracts/examples/fire/FireUSD.sol +26 -0
  351. package/contracts/examples/unpermissioned/SimpleDistribution.sol +50 -0
  352. package/contracts/examples/unpermissioned/SimpleOracle.sol +137 -0
  353. package/contracts/examples/unpermissioned/SimplePool.sol +76 -0
  354. package/contracts/examples/unpermissioned/SimpleProduct.sol +351 -0
  355. package/contracts/instance/BundleSet.sol +126 -0
  356. package/contracts/instance/IInstance.sol +56 -26
  357. package/contracts/instance/IInstanceService.sol +78 -16
  358. package/contracts/instance/Instance.sol +159 -373
  359. package/contracts/instance/InstanceAdmin.sol +288 -0
  360. package/contracts/instance/InstanceAuthorizationV3.sol +204 -0
  361. package/contracts/instance/InstanceReader.sol +279 -74
  362. package/contracts/instance/InstanceService.sol +406 -99
  363. package/contracts/instance/InstanceServiceManager.sol +14 -31
  364. package/contracts/instance/InstanceStore.sol +287 -0
  365. package/contracts/instance/base/BalanceStore.sol +123 -0
  366. package/contracts/instance/base/Cloneable.sol +28 -0
  367. package/contracts/instance/base/ObjectCounter.sol +21 -0
  368. package/contracts/instance/base/ObjectLifecycle.sol +111 -0
  369. package/contracts/instance/base/ObjectSet.sol +79 -0
  370. package/contracts/instance/module/IAccess.sol +29 -21
  371. package/contracts/instance/module/IBundle.sol +8 -7
  372. package/contracts/instance/module/IComponents.sol +48 -0
  373. package/contracts/instance/module/IDistribution.sol +6 -4
  374. package/contracts/instance/module/IPolicy.sol +58 -19
  375. package/contracts/instance/module/IRisk.sol +1 -1
  376. package/contracts/{test/Usdc.sol → mock/Dip.sol} +6 -6
  377. package/contracts/oracle/BasicOracle.sol +48 -0
  378. package/contracts/oracle/BasicOracleAuthorization.sol +46 -0
  379. package/contracts/oracle/IOracle.sol +36 -0
  380. package/contracts/oracle/IOracleComponent.sol +33 -0
  381. package/contracts/oracle/IOracleService.sol +65 -0
  382. package/contracts/oracle/Oracle.sol +167 -0
  383. package/contracts/oracle/OracleService.sol +281 -0
  384. package/contracts/oracle/OracleServiceManager.sol +39 -0
  385. package/contracts/pool/BasicPool.sol +166 -0
  386. package/contracts/pool/BasicPoolAuthorization.sol +58 -0
  387. package/contracts/pool/BundleService.sol +461 -0
  388. package/contracts/pool/BundleServiceManager.sol +39 -0
  389. package/contracts/pool/IBundleService.sol +143 -0
  390. package/contracts/pool/IPoolComponent.sol +68 -0
  391. package/contracts/pool/IPoolService.sol +171 -0
  392. package/contracts/pool/Pool.sol +353 -0
  393. package/contracts/pool/PoolService.sol +563 -0
  394. package/contracts/pool/PoolServiceManager.sol +39 -0
  395. package/contracts/product/ApplicationService.sol +251 -0
  396. package/contracts/product/ApplicationServiceManager.sol +38 -0
  397. package/contracts/product/BasicProduct.sol +53 -0
  398. package/contracts/product/BasicProductAuthorization.sol +43 -0
  399. package/contracts/product/ClaimService.sol +581 -0
  400. package/contracts/product/ClaimServiceManager.sol +38 -0
  401. package/contracts/product/IApplicationService.sol +63 -0
  402. package/contracts/product/IClaimService.sol +123 -0
  403. package/contracts/product/IPolicyService.sol +80 -0
  404. package/contracts/product/IPricingService.sol +39 -0
  405. package/contracts/product/IProductComponent.sol +53 -0
  406. package/contracts/product/IRiskService.sol +33 -0
  407. package/contracts/product/PolicyService.sol +686 -0
  408. package/contracts/product/PolicyServiceManager.sol +39 -0
  409. package/contracts/product/PricingService.sol +300 -0
  410. package/contracts/product/PricingServiceManager.sol +39 -0
  411. package/contracts/product/Product.sol +432 -0
  412. package/contracts/product/RiskService.sol +96 -0
  413. package/contracts/product/RiskServiceManager.sol +39 -0
  414. package/contracts/registry/ChainNft.sol +79 -31
  415. package/contracts/registry/IRegistry.sol +124 -48
  416. package/contracts/registry/IRegistryService.sol +43 -16
  417. package/contracts/registry/ITransferInterceptor.sol +1 -0
  418. package/contracts/registry/Registry.sol +522 -304
  419. package/contracts/registry/RegistryAdmin.sol +464 -0
  420. package/contracts/registry/RegistryService.sol +146 -286
  421. package/contracts/registry/RegistryServiceManager.sol +26 -53
  422. package/contracts/registry/ReleaseLifecycle.sol +27 -0
  423. package/contracts/registry/ReleaseRegistry.sol +491 -0
  424. package/contracts/registry/ServiceAuthorizationV3.sol +198 -0
  425. package/contracts/registry/TokenRegistry.sol +261 -57
  426. package/contracts/shared/Component.sol +276 -0
  427. package/contracts/shared/ComponentService.sol +641 -0
  428. package/contracts/shared/ComponentServiceManager.sol +38 -0
  429. package/contracts/shared/ComponentVerifyingService.sol +116 -0
  430. package/contracts/shared/ContractLib.sol +38 -0
  431. package/contracts/shared/IComponent.sol +73 -0
  432. package/contracts/shared/IComponentService.sol +108 -0
  433. package/contracts/shared/IInstanceLinkedComponent.sol +49 -0
  434. package/contracts/{instance/base → shared}/IKeyValueStore.sol +16 -11
  435. package/contracts/{instance/base → shared}/ILifecycle.sol +3 -4
  436. package/contracts/shared/INftOwnable.sol +13 -12
  437. package/contracts/shared/IPolicyHolder.sol +35 -0
  438. package/contracts/shared/IRegisterable.sol +4 -6
  439. package/contracts/shared/IRegistryLinked.sol +11 -0
  440. package/contracts/shared/IService.sol +16 -6
  441. package/contracts/shared/InitializableERC165.sol +27 -0
  442. package/contracts/shared/InstanceLinkedComponent.sol +171 -0
  443. package/contracts/shared/KeyValueStore.sol +131 -0
  444. package/contracts/shared/Lifecycle.sol +77 -0
  445. package/contracts/shared/NftIdSet.sol +65 -0
  446. package/contracts/shared/NftOwnable.sol +60 -89
  447. package/contracts/shared/PolicyHolder.sol +62 -0
  448. package/contracts/shared/Registerable.sol +23 -38
  449. package/contracts/shared/RegistryLinked.sol +44 -0
  450. package/contracts/shared/Service.sol +63 -30
  451. package/contracts/shared/TokenHandler.sol +122 -10
  452. package/contracts/shared/TokenHandlerDeployerLib.sol +12 -0
  453. package/contracts/staking/IStaking.sol +168 -0
  454. package/contracts/staking/IStakingService.sol +160 -0
  455. package/contracts/staking/StakeManagerLib.sol +224 -0
  456. package/contracts/staking/Staking.sol +498 -0
  457. package/contracts/staking/StakingLifecycle.sol +23 -0
  458. package/contracts/staking/StakingManager.sol +52 -0
  459. package/contracts/staking/StakingReader.sol +190 -0
  460. package/contracts/staking/StakingService.sol +407 -0
  461. package/contracts/staking/StakingServiceManager.sol +44 -0
  462. package/contracts/staking/StakingStore.sol +605 -0
  463. package/contracts/staking/TargetManagerLib.sol +211 -0
  464. package/contracts/{types → type}/AddressSet.sol +1 -1
  465. package/contracts/type/Amount.sol +150 -0
  466. package/contracts/{types → type}/Blocknumber.sol +27 -3
  467. package/contracts/type/ClaimId.sol +80 -0
  468. package/contracts/{types → type}/DistributorType.sol +2 -2
  469. package/contracts/{types → type}/Fee.sol +33 -23
  470. package/contracts/{types → type}/NftId.sol +22 -15
  471. package/contracts/type/NftIdSet.sol +62 -0
  472. package/contracts/type/ObjectType.sol +276 -0
  473. package/contracts/type/PayoutId.sol +82 -0
  474. package/contracts/{types → type}/Referral.sol +6 -1
  475. package/contracts/type/RequestId.sol +75 -0
  476. package/contracts/{types → type}/RiskId.sol +16 -2
  477. package/contracts/type/RoleId.sol +174 -0
  478. package/contracts/type/Seconds.sol +101 -0
  479. package/contracts/type/Selector.sol +102 -0
  480. package/contracts/{types → type}/StateId.sol +35 -4
  481. package/contracts/type/String.sol +53 -0
  482. package/contracts/{types → type}/Timestamp.sol +34 -15
  483. package/contracts/{types → type}/UFixed.sol +39 -9
  484. package/contracts/{types → type}/Version.sol +5 -2
  485. package/contracts/{shared → upgradeability}/IVersionable.sol +5 -48
  486. package/contracts/upgradeability/ProxyManager.sol +231 -0
  487. package/contracts/{shared → upgradeability}/UpgradableProxyWithAdmin.sol +1 -3
  488. package/contracts/upgradeability/Versionable.sol +59 -0
  489. package/package.json +10 -7
  490. package/artifacts/contracts/components/BaseComponent.sol/BaseComponent.dbg.json +0 -4
  491. package/artifacts/contracts/components/BaseComponent.sol/BaseComponent.json +0 -327
  492. package/artifacts/contracts/components/Distribution.sol/Distribution.dbg.json +0 -4
  493. package/artifacts/contracts/components/Distribution.sol/Distribution.json +0 -670
  494. package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.dbg.json +0 -4
  495. package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.json +0 -280
  496. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.dbg.json +0 -4
  497. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.json +0 -204
  498. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.dbg.json +0 -4
  499. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.json +0 -249
  500. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.dbg.json +0 -4
  501. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.json +0 -157
  502. package/artifacts/contracts/components/Pool.sol/Pool.dbg.json +0 -4
  503. package/artifacts/contracts/components/Pool.sol/Pool.json +0 -790
  504. package/artifacts/contracts/components/Product.sol/Product.dbg.json +0 -4
  505. package/artifacts/contracts/components/Product.sol/Product.json +0 -775
  506. package/artifacts/contracts/experiment/cloning/Cloner.sol/Cloner.dbg.json +0 -4
  507. package/artifacts/contracts/experiment/cloning/Cloner.sol/Cloner.json +0 -66
  508. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock1.dbg.json +0 -4
  509. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock1.json +0 -24
  510. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock2.dbg.json +0 -4
  511. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock2.json +0 -42
  512. package/artifacts/contracts/experiment/errors/Require.sol/Require.dbg.json +0 -4
  513. package/artifacts/contracts/experiment/errors/Require.sol/Require.json +0 -105
  514. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.dbg.json +0 -4
  515. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.json +0 -105
  516. package/artifacts/contracts/experiment/inheritance/A.sol/A.dbg.json +0 -4
  517. package/artifacts/contracts/experiment/inheritance/A.sol/A.json +0 -128
  518. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.dbg.json +0 -4
  519. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.json +0 -42
  520. package/artifacts/contracts/experiment/inheritance/B.sol/B.dbg.json +0 -4
  521. package/artifacts/contracts/experiment/inheritance/B.sol/B.json +0 -76
  522. package/artifacts/contracts/experiment/inheritance/C.sol/C.dbg.json +0 -4
  523. package/artifacts/contracts/experiment/inheritance/C.sol/C.json +0 -89
  524. package/artifacts/contracts/experiment/inheritance/IA.sol/IA.dbg.json +0 -4
  525. package/artifacts/contracts/experiment/inheritance/IA.sol/IA.json +0 -128
  526. package/artifacts/contracts/experiment/inheritance/IA.sol/ISharedA.dbg.json +0 -4
  527. package/artifacts/contracts/experiment/inheritance/IB.sol/IB.dbg.json +0 -4
  528. package/artifacts/contracts/experiment/inheritance/IB.sol/IB.json +0 -50
  529. package/artifacts/contracts/experiment/inheritance/IC.sol/IC.dbg.json +0 -4
  530. package/artifacts/contracts/experiment/inheritance/IC.sol/IC.json +0 -63
  531. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.dbg.json +0 -4
  532. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.json +0 -59
  533. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.dbg.json +0 -4
  534. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.dbg.json +0 -4
  535. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.json +0 -74
  536. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.dbg.json +0 -4
  537. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.json +0 -124
  538. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.dbg.json +0 -4
  539. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.json +0 -207
  540. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.dbg.json +0 -4
  541. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.json +0 -10
  542. package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.dbg.json +0 -4
  543. package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.json +0 -10
  544. package/artifacts/contracts/instance/AccessManagedSimple.sol/AccessManagedSimple.dbg.json +0 -4
  545. package/artifacts/contracts/instance/AccessManagerSimple.sol/AccessManagerSimple.dbg.json +0 -4
  546. package/artifacts/contracts/instance/AccessManagerSimple.sol/AccessManagerSimple.json +0 -1132
  547. package/artifacts/contracts/instance/IAccessManagerSimple.sol/IAccessManagerSimple.dbg.json +0 -4
  548. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.dbg.json +0 -4
  549. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.json +0 -917
  550. package/artifacts/contracts/instance/base/ComponentServiceBase.sol/ComponentServiceBase.dbg.json +0 -4
  551. package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.dbg.json +0 -4
  552. package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.json +0 -113
  553. package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.dbg.json +0 -4
  554. package/artifacts/contracts/instance/base/ILifecycle.sol/ILifecycle.dbg.json +0 -4
  555. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.dbg.json +0 -4
  556. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.json +0 -502
  557. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.dbg.json +0 -4
  558. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.json +0 -169
  559. package/artifacts/contracts/instance/module/ISetup.sol/ISetup.dbg.json +0 -4
  560. package/artifacts/contracts/instance/module/ITreasury.sol/ITreasury.dbg.json +0 -4
  561. package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.dbg.json +0 -4
  562. package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.json +0 -827
  563. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.dbg.json +0 -4
  564. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.json +0 -641
  565. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +0 -4
  566. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.json +0 -428
  567. package/artifacts/contracts/instance/service/IComponentOwnerService.sol/IComponentOwnerService.dbg.json +0 -4
  568. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.dbg.json +0 -4
  569. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.json +0 -446
  570. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.dbg.json +0 -4
  571. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.dbg.json +0 -4
  572. package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.dbg.json +0 -4
  573. package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.json +0 -107
  574. package/artifacts/contracts/shared/ERC165.sol/ERC165.dbg.json +0 -4
  575. package/artifacts/contracts/shared/ERC165.sol/ERC165.json +0 -35
  576. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.dbg.json +0 -4
  577. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.json +0 -205
  578. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.dbg.json +0 -4
  579. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.json +0 -349
  580. package/artifacts/contracts/shared/RegisterableUpgradable.sol/RegisterableUpgradable.dbg.json +0 -4
  581. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +0 -4
  582. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +0 -129
  583. package/artifacts/contracts/shared/Versionable.sol/Versionable.dbg.json +0 -4
  584. package/artifacts/contracts/shared/Versionable.sol/Versionable.json +0 -228
  585. package/artifacts/contracts/test/TestFee.sol/TestFee.dbg.json +0 -4
  586. package/artifacts/contracts/test/TestFee.sol/TestFee.json +0 -119
  587. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.dbg.json +0 -4
  588. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.json +0 -305
  589. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.dbg.json +0 -4
  590. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.json +0 -116
  591. package/artifacts/contracts/test/TestService.sol/TestService.dbg.json +0 -4
  592. package/artifacts/contracts/test/TestService.sol/TestService.json +0 -600
  593. package/artifacts/contracts/test/TestToken.sol/TestUsdc.dbg.json +0 -4
  594. package/artifacts/contracts/test/TestToken.sol/TestUsdc.json +0 -376
  595. package/artifacts/contracts/test/TestVersion.sol/TestVersion.dbg.json +0 -4
  596. package/artifacts/contracts/test/TestVersion.sol/TestVersion.json +0 -218
  597. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.dbg.json +0 -4
  598. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.json +0 -286
  599. package/artifacts/contracts/test/Usdc.sol/USDC.dbg.json +0 -4
  600. package/artifacts/contracts/test/Usdc.sol/USDC.json +0 -376
  601. package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.dbg.json +0 -4
  602. package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.json +0 -10
  603. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.dbg.json +0 -4
  604. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.json +0 -174
  605. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.dbg.json +0 -4
  606. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.json +0 -10
  607. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.dbg.json +0 -4
  608. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.json +0 -104
  609. package/artifacts/contracts/types/Fee.sol/FeeLib.dbg.json +0 -4
  610. package/artifacts/contracts/types/Fee.sol/FeeLib.json +0 -257
  611. package/artifacts/contracts/types/Key32.sol/Key32Lib.dbg.json +0 -4
  612. package/artifacts/contracts/types/Key32.sol/Key32Lib.json +0 -125
  613. package/artifacts/contracts/types/NftId.sol/NftIdLib.dbg.json +0 -4
  614. package/artifacts/contracts/types/NftId.sol/NftIdLib.json +0 -153
  615. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.dbg.json +0 -4
  616. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.json +0 -10
  617. package/artifacts/contracts/types/NumberId.sol/NumberIdLib.dbg.json +0 -4
  618. package/artifacts/contracts/types/NumberId.sol/NumberIdLib.json +0 -100
  619. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.dbg.json +0 -4
  620. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.json +0 -92
  621. package/artifacts/contracts/types/Referral.sol/ReferralLib.dbg.json +0 -4
  622. package/artifacts/contracts/types/Referral.sol/ReferralLib.json +0 -123
  623. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.dbg.json +0 -4
  624. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.json +0 -86
  625. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.dbg.json +0 -4
  626. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.json +0 -156
  627. package/artifacts/contracts/types/StateId.sol/StateIdLib.dbg.json +0 -4
  628. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.dbg.json +0 -4
  629. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.json +0 -249
  630. package/artifacts/contracts/types/UFixed.sol/MathLib.dbg.json +0 -4
  631. package/artifacts/contracts/types/UFixed.sol/MathLib.json +0 -10
  632. package/artifacts/contracts/types/UFixed.sol/UFixedLib.dbg.json +0 -4
  633. package/artifacts/contracts/types/UFixed.sol/UFixedLib.json +0 -479
  634. package/artifacts/contracts/types/Version.sol/VersionLib.dbg.json +0 -4
  635. package/artifacts/contracts/types/Version.sol/VersionLib.json +0 -177
  636. package/artifacts/contracts/types/Version.sol/VersionPartLib.dbg.json +0 -4
  637. package/artifacts/contracts/types/Version.sol/VersionPartLib.json +0 -49
  638. package/contracts/components/BaseComponent.sol +0 -91
  639. package/contracts/components/Distribution.sol +0 -166
  640. package/contracts/components/IBaseComponent.sol +0 -25
  641. package/contracts/components/IDistributionComponent.sol +0 -46
  642. package/contracts/components/IPoolComponent.sol +0 -62
  643. package/contracts/components/IProductComponent.sol +0 -35
  644. package/contracts/components/Pool.sol +0 -258
  645. package/contracts/components/Product.sol +0 -297
  646. package/contracts/experiment/cloning/Cloner.sol +0 -47
  647. package/contracts/experiment/errors/Require.sol +0 -38
  648. package/contracts/experiment/errors/Revert.sol +0 -44
  649. package/contracts/experiment/inheritance/A.sol +0 -53
  650. package/contracts/experiment/inheritance/B.sol +0 -28
  651. package/contracts/experiment/inheritance/C.sol +0 -34
  652. package/contracts/experiment/inheritance/IA.sol +0 -13
  653. package/contracts/experiment/inheritance/IB.sol +0 -10
  654. package/contracts/experiment/inheritance/IC.sol +0 -12
  655. package/contracts/experiment/statemachine/Dummy.sol +0 -27
  656. package/contracts/experiment/statemachine/ISM.sol +0 -25
  657. package/contracts/experiment/statemachine/SM.sol +0 -57
  658. package/contracts/experiment/statemachine/SimpleStateMachine.sol +0 -31
  659. package/contracts/experiment/types/TypeA.sol +0 -47
  660. package/contracts/experiment/types/TypeB.sol +0 -29
  661. package/contracts/instance/AccessManagedSimple.sol +0 -115
  662. package/contracts/instance/AccessManagerSimple.sol +0 -692
  663. package/contracts/instance/IAccessManagerSimple.sol +0 -391
  664. package/contracts/instance/InstanceAccessManager.sol +0 -288
  665. package/contracts/instance/base/ComponentServiceBase.sol +0 -39
  666. package/contracts/instance/base/IInstanceBase.sol +0 -23
  667. package/contracts/instance/base/KeyValueStore.sol +0 -172
  668. package/contracts/instance/base/Lifecycle.sol +0 -100
  669. package/contracts/instance/module/ISetup.sol +0 -43
  670. package/contracts/instance/module/ITreasury.sol +0 -23
  671. package/contracts/instance/service/ComponentOwnerService.sol +0 -317
  672. package/contracts/instance/service/DistributionService.sol +0 -96
  673. package/contracts/instance/service/DistributionServiceManager.sol +0 -53
  674. package/contracts/instance/service/IComponentOwnerService.sol +0 -20
  675. package/contracts/instance/service/IDistributionService.sol +0 -12
  676. package/contracts/instance/service/IPoolService.sol +0 -37
  677. package/contracts/instance/service/IProductService.sol +0 -107
  678. package/contracts/shared/ContractDeployerLib.sol +0 -72
  679. package/contracts/shared/ERC165.sol +0 -25
  680. package/contracts/shared/ProxyManager.sol +0 -94
  681. package/contracts/shared/RegisterableUpgradable.sol +0 -16
  682. package/contracts/shared/Versionable.sol +0 -147
  683. package/contracts/test/TestFee.sol +0 -25
  684. package/contracts/test/TestRegisterable.sol +0 -18
  685. package/contracts/test/TestRoleId.sol +0 -14
  686. package/contracts/test/TestService.sol +0 -24
  687. package/contracts/test/TestToken.sol +0 -26
  688. package/contracts/test/TestVersion.sol +0 -44
  689. package/contracts/test/TestVersionable.sol +0 -17
  690. package/contracts/types/ChainId.sol +0 -38
  691. package/contracts/types/NftIdSet.sol +0 -60
  692. package/contracts/types/NumberId.sol +0 -52
  693. package/contracts/types/ObjectType.sol +0 -152
  694. package/contracts/types/RoleId.sol +0 -88
  695. /package/contracts/{types → type}/Key32.sol +0 -0
@@ -0,0 +1,1236 @@
1
+ {
2
+ "_format": "hh-sol-artifact-1",
3
+ "contractName": "StakingService",
4
+ "sourceName": "contracts/staking/StakingService.sol",
5
+ "abi": [
6
+ {
7
+ "inputs": [
8
+ {
9
+ "internalType": "address",
10
+ "name": "authority",
11
+ "type": "address"
12
+ }
13
+ ],
14
+ "name": "AccessManagedInvalidAuthority",
15
+ "type": "error"
16
+ },
17
+ {
18
+ "inputs": [
19
+ {
20
+ "internalType": "address",
21
+ "name": "caller",
22
+ "type": "address"
23
+ },
24
+ {
25
+ "internalType": "uint32",
26
+ "name": "delay",
27
+ "type": "uint32"
28
+ }
29
+ ],
30
+ "name": "AccessManagedRequiredDelay",
31
+ "type": "error"
32
+ },
33
+ {
34
+ "inputs": [
35
+ {
36
+ "internalType": "address",
37
+ "name": "caller",
38
+ "type": "address"
39
+ }
40
+ ],
41
+ "name": "AccessManagedUnauthorized",
42
+ "type": "error"
43
+ },
44
+ {
45
+ "inputs": [
46
+ {
47
+ "internalType": "NftId",
48
+ "name": "nftId",
49
+ "type": "uint96"
50
+ }
51
+ ],
52
+ "name": "ErrorNftOwnableAlreadyLinked",
53
+ "type": "error"
54
+ },
55
+ {
56
+ "inputs": [
57
+ {
58
+ "internalType": "address",
59
+ "name": "contractAddress",
60
+ "type": "address"
61
+ }
62
+ ],
63
+ "name": "ErrorNftOwnableContractNotRegistered",
64
+ "type": "error"
65
+ },
66
+ {
67
+ "inputs": [],
68
+ "name": "ErrorNftOwnableInitialOwnerZero",
69
+ "type": "error"
70
+ },
71
+ {
72
+ "inputs": [
73
+ {
74
+ "internalType": "address",
75
+ "name": "account",
76
+ "type": "address"
77
+ }
78
+ ],
79
+ "name": "ErrorNftOwnableNotOwner",
80
+ "type": "error"
81
+ },
82
+ {
83
+ "inputs": [
84
+ {
85
+ "internalType": "address",
86
+ "name": "registryAddress",
87
+ "type": "address"
88
+ }
89
+ ],
90
+ "name": "ErrorNotRegistry",
91
+ "type": "error"
92
+ },
93
+ {
94
+ "inputs": [],
95
+ "name": "ErrorServiceNotImplemented",
96
+ "type": "error"
97
+ },
98
+ {
99
+ "inputs": [
100
+ {
101
+ "internalType": "NftId",
102
+ "name": "targetNftId",
103
+ "type": "uint96"
104
+ },
105
+ {
106
+ "internalType": "address",
107
+ "name": "tokenHandler",
108
+ "type": "address"
109
+ },
110
+ {
111
+ "internalType": "uint256",
112
+ "name": "amount",
113
+ "type": "uint256"
114
+ },
115
+ {
116
+ "internalType": "uint256",
117
+ "name": "allowance",
118
+ "type": "uint256"
119
+ }
120
+ ],
121
+ "name": "ErrorStakingServiceDipAllowanceInsufficient",
122
+ "type": "error"
123
+ },
124
+ {
125
+ "inputs": [
126
+ {
127
+ "internalType": "NftId",
128
+ "name": "targetNftId",
129
+ "type": "uint96"
130
+ },
131
+ {
132
+ "internalType": "uint256",
133
+ "name": "amount",
134
+ "type": "uint256"
135
+ },
136
+ {
137
+ "internalType": "uint256",
138
+ "name": "balance",
139
+ "type": "uint256"
140
+ }
141
+ ],
142
+ "name": "ErrorStakingServiceDipBalanceInsufficient",
143
+ "type": "error"
144
+ },
145
+ {
146
+ "inputs": [
147
+ {
148
+ "internalType": "NftId",
149
+ "name": "targetNftId",
150
+ "type": "uint96"
151
+ }
152
+ ],
153
+ "name": "ErrorStakingServiceNotActiveTargetNftId",
154
+ "type": "error"
155
+ },
156
+ {
157
+ "inputs": [
158
+ {
159
+ "internalType": "NftId",
160
+ "name": "nftId",
161
+ "type": "uint96"
162
+ },
163
+ {
164
+ "internalType": "address",
165
+ "name": "expectedOwner",
166
+ "type": "address"
167
+ },
168
+ {
169
+ "internalType": "address",
170
+ "name": "owner",
171
+ "type": "address"
172
+ }
173
+ ],
174
+ "name": "ErrorStakingServiceNotNftOwner",
175
+ "type": "error"
176
+ },
177
+ {
178
+ "inputs": [
179
+ {
180
+ "internalType": "address",
181
+ "name": "stakingAddress",
182
+ "type": "address"
183
+ }
184
+ ],
185
+ "name": "ErrorStakingServiceNotStaking",
186
+ "type": "error"
187
+ },
188
+ {
189
+ "inputs": [
190
+ {
191
+ "internalType": "address",
192
+ "name": "stakingAddress",
193
+ "type": "address"
194
+ }
195
+ ],
196
+ "name": "ErrorStakingServiceNotSupportingIStaking",
197
+ "type": "error"
198
+ },
199
+ {
200
+ "inputs": [
201
+ {
202
+ "internalType": "NftId",
203
+ "name": "targetNftId",
204
+ "type": "uint96"
205
+ }
206
+ ],
207
+ "name": "ErrorStakingServiceNotTargetNftId",
208
+ "type": "error"
209
+ },
210
+ {
211
+ "inputs": [],
212
+ "name": "ErrorStakingServiceZeroTargetNftId",
213
+ "type": "error"
214
+ },
215
+ {
216
+ "inputs": [],
217
+ "name": "InvalidInitialization",
218
+ "type": "error"
219
+ },
220
+ {
221
+ "inputs": [],
222
+ "name": "NotInitializing",
223
+ "type": "error"
224
+ },
225
+ {
226
+ "inputs": [],
227
+ "name": "ReentrancyGuardReentrantCall",
228
+ "type": "error"
229
+ },
230
+ {
231
+ "anonymous": false,
232
+ "inputs": [
233
+ {
234
+ "indexed": false,
235
+ "internalType": "address",
236
+ "name": "authority",
237
+ "type": "address"
238
+ }
239
+ ],
240
+ "name": "AuthorityUpdated",
241
+ "type": "event"
242
+ },
243
+ {
244
+ "anonymous": false,
245
+ "inputs": [
246
+ {
247
+ "indexed": false,
248
+ "internalType": "uint64",
249
+ "name": "version",
250
+ "type": "uint64"
251
+ }
252
+ ],
253
+ "name": "Initialized",
254
+ "type": "event"
255
+ },
256
+ {
257
+ "anonymous": false,
258
+ "inputs": [
259
+ {
260
+ "indexed": false,
261
+ "internalType": "NftId",
262
+ "name": "instanceNftId",
263
+ "type": "uint96"
264
+ },
265
+ {
266
+ "indexed": false,
267
+ "internalType": "uint256",
268
+ "name": "chainId",
269
+ "type": "uint256"
270
+ }
271
+ ],
272
+ "name": "LogStakingServiceInstanceTargetRegistered",
273
+ "type": "event"
274
+ },
275
+ {
276
+ "anonymous": false,
277
+ "inputs": [
278
+ {
279
+ "indexed": false,
280
+ "internalType": "NftId",
281
+ "name": "targetNftId",
282
+ "type": "uint96"
283
+ },
284
+ {
285
+ "indexed": false,
286
+ "internalType": "Seconds",
287
+ "name": "oldLockingDuration",
288
+ "type": "uint40"
289
+ },
290
+ {
291
+ "indexed": false,
292
+ "internalType": "Seconds",
293
+ "name": "lockingDuration",
294
+ "type": "uint40"
295
+ }
296
+ ],
297
+ "name": "LogStakingServiceLockingPeriodSet",
298
+ "type": "event"
299
+ },
300
+ {
301
+ "anonymous": false,
302
+ "inputs": [
303
+ {
304
+ "indexed": false,
305
+ "internalType": "NftId",
306
+ "name": "protocolNftId",
307
+ "type": "uint96"
308
+ }
309
+ ],
310
+ "name": "LogStakingServiceProtocolTargetRegistered",
311
+ "type": "event"
312
+ },
313
+ {
314
+ "anonymous": false,
315
+ "inputs": [
316
+ {
317
+ "indexed": false,
318
+ "internalType": "NftId",
319
+ "name": "targetNftId",
320
+ "type": "uint96"
321
+ },
322
+ {
323
+ "indexed": false,
324
+ "internalType": "UFixed",
325
+ "name": "oldRewardRate",
326
+ "type": "uint256"
327
+ },
328
+ {
329
+ "indexed": false,
330
+ "internalType": "UFixed",
331
+ "name": "rewardRate",
332
+ "type": "uint256"
333
+ }
334
+ ],
335
+ "name": "LogStakingServiceRewardRateSet",
336
+ "type": "event"
337
+ },
338
+ {
339
+ "anonymous": false,
340
+ "inputs": [
341
+ {
342
+ "indexed": false,
343
+ "internalType": "NftId",
344
+ "name": "targetNftId",
345
+ "type": "uint96"
346
+ },
347
+ {
348
+ "indexed": false,
349
+ "internalType": "address",
350
+ "name": "targetOwner",
351
+ "type": "address"
352
+ },
353
+ {
354
+ "indexed": false,
355
+ "internalType": "Amount",
356
+ "name": "dipAmount",
357
+ "type": "uint96"
358
+ },
359
+ {
360
+ "indexed": false,
361
+ "internalType": "Amount",
362
+ "name": "newBalance",
363
+ "type": "uint96"
364
+ }
365
+ ],
366
+ "name": "LogStakingServiceRewardReservesDecreased",
367
+ "type": "event"
368
+ },
369
+ {
370
+ "anonymous": false,
371
+ "inputs": [
372
+ {
373
+ "indexed": false,
374
+ "internalType": "NftId",
375
+ "name": "targetNftId",
376
+ "type": "uint96"
377
+ },
378
+ {
379
+ "indexed": false,
380
+ "internalType": "address",
381
+ "name": "rewardProvider",
382
+ "type": "address"
383
+ },
384
+ {
385
+ "indexed": false,
386
+ "internalType": "Amount",
387
+ "name": "dipAmount",
388
+ "type": "uint96"
389
+ },
390
+ {
391
+ "indexed": false,
392
+ "internalType": "Amount",
393
+ "name": "newBalance",
394
+ "type": "uint96"
395
+ }
396
+ ],
397
+ "name": "LogStakingServiceRewardReservesIncreased",
398
+ "type": "event"
399
+ },
400
+ {
401
+ "anonymous": false,
402
+ "inputs": [
403
+ {
404
+ "indexed": false,
405
+ "internalType": "NftId",
406
+ "name": "stakeNftId",
407
+ "type": "uint96"
408
+ },
409
+ {
410
+ "indexed": false,
411
+ "internalType": "address",
412
+ "name": "stakeOwner",
413
+ "type": "address"
414
+ },
415
+ {
416
+ "indexed": false,
417
+ "internalType": "Amount",
418
+ "name": "rewardsClaimedAmount",
419
+ "type": "uint96"
420
+ }
421
+ ],
422
+ "name": "LogStakingServiceRewardsClaimed",
423
+ "type": "event"
424
+ },
425
+ {
426
+ "anonymous": false,
427
+ "inputs": [
428
+ {
429
+ "indexed": false,
430
+ "internalType": "NftId",
431
+ "name": "stakeNftId",
432
+ "type": "uint96"
433
+ }
434
+ ],
435
+ "name": "LogStakingServiceRewardsUpdated",
436
+ "type": "event"
437
+ },
438
+ {
439
+ "anonymous": false,
440
+ "inputs": [
441
+ {
442
+ "indexed": false,
443
+ "internalType": "NftId",
444
+ "name": "stakeNftId",
445
+ "type": "uint96"
446
+ },
447
+ {
448
+ "indexed": false,
449
+ "internalType": "NftId",
450
+ "name": "targetNftId",
451
+ "type": "uint96"
452
+ },
453
+ {
454
+ "indexed": false,
455
+ "internalType": "address",
456
+ "name": "owner",
457
+ "type": "address"
458
+ },
459
+ {
460
+ "indexed": false,
461
+ "internalType": "Amount",
462
+ "name": "stakedAmount",
463
+ "type": "uint96"
464
+ }
465
+ ],
466
+ "name": "LogStakingServiceStakeCreated",
467
+ "type": "event"
468
+ },
469
+ {
470
+ "anonymous": false,
471
+ "inputs": [
472
+ {
473
+ "indexed": false,
474
+ "internalType": "NftId",
475
+ "name": "stakeNftId",
476
+ "type": "uint96"
477
+ },
478
+ {
479
+ "indexed": false,
480
+ "internalType": "address",
481
+ "name": "owner",
482
+ "type": "address"
483
+ },
484
+ {
485
+ "indexed": false,
486
+ "internalType": "Amount",
487
+ "name": "stakedAmount",
488
+ "type": "uint96"
489
+ },
490
+ {
491
+ "indexed": false,
492
+ "internalType": "Amount",
493
+ "name": "stakeBalance",
494
+ "type": "uint96"
495
+ }
496
+ ],
497
+ "name": "LogStakingServiceStakeIncreased",
498
+ "type": "event"
499
+ },
500
+ {
501
+ "anonymous": false,
502
+ "inputs": [
503
+ {
504
+ "indexed": false,
505
+ "internalType": "NftId",
506
+ "name": "stakeNftId",
507
+ "type": "uint96"
508
+ },
509
+ {
510
+ "indexed": false,
511
+ "internalType": "address",
512
+ "name": "stakeOwner",
513
+ "type": "address"
514
+ },
515
+ {
516
+ "indexed": false,
517
+ "internalType": "Amount",
518
+ "name": "totalAmount",
519
+ "type": "uint96"
520
+ }
521
+ ],
522
+ "name": "LogStakingServiceUnstaked",
523
+ "type": "event"
524
+ },
525
+ {
526
+ "inputs": [],
527
+ "name": "NFT_OWNABLE_STORAGE_LOCATION_V1",
528
+ "outputs": [
529
+ {
530
+ "internalType": "bytes32",
531
+ "name": "",
532
+ "type": "bytes32"
533
+ }
534
+ ],
535
+ "stateMutability": "view",
536
+ "type": "function"
537
+ },
538
+ {
539
+ "inputs": [],
540
+ "name": "REGISTERABLE_LOCATION_V1",
541
+ "outputs": [
542
+ {
543
+ "internalType": "bytes32",
544
+ "name": "",
545
+ "type": "bytes32"
546
+ }
547
+ ],
548
+ "stateMutability": "view",
549
+ "type": "function"
550
+ },
551
+ {
552
+ "inputs": [],
553
+ "name": "STAKING_SERVICE_LOCATION_V1",
554
+ "outputs": [
555
+ {
556
+ "internalType": "bytes32",
557
+ "name": "",
558
+ "type": "bytes32"
559
+ }
560
+ ],
561
+ "stateMutability": "view",
562
+ "type": "function"
563
+ },
564
+ {
565
+ "inputs": [],
566
+ "name": "authority",
567
+ "outputs": [
568
+ {
569
+ "internalType": "address",
570
+ "name": "",
571
+ "type": "address"
572
+ }
573
+ ],
574
+ "stateMutability": "view",
575
+ "type": "function"
576
+ },
577
+ {
578
+ "inputs": [
579
+ {
580
+ "internalType": "NftId",
581
+ "name": "stakeNftId",
582
+ "type": "uint96"
583
+ }
584
+ ],
585
+ "name": "claimRewards",
586
+ "outputs": [],
587
+ "stateMutability": "nonpayable",
588
+ "type": "function"
589
+ },
590
+ {
591
+ "inputs": [
592
+ {
593
+ "internalType": "NftId",
594
+ "name": "targetNftId",
595
+ "type": "uint96"
596
+ },
597
+ {
598
+ "internalType": "Amount",
599
+ "name": "dipAmount",
600
+ "type": "uint96"
601
+ }
602
+ ],
603
+ "name": "create",
604
+ "outputs": [
605
+ {
606
+ "internalType": "NftId",
607
+ "name": "stakeNftId",
608
+ "type": "uint96"
609
+ }
610
+ ],
611
+ "stateMutability": "nonpayable",
612
+ "type": "function"
613
+ },
614
+ {
615
+ "inputs": [
616
+ {
617
+ "internalType": "NftId",
618
+ "name": "targetNftId",
619
+ "type": "uint96"
620
+ },
621
+ {
622
+ "internalType": "Seconds",
623
+ "name": "initialLockingPeriod",
624
+ "type": "uint40"
625
+ },
626
+ {
627
+ "internalType": "UFixed",
628
+ "name": "initialRewardRate",
629
+ "type": "uint256"
630
+ }
631
+ ],
632
+ "name": "createInstanceTarget",
633
+ "outputs": [],
634
+ "stateMutability": "nonpayable",
635
+ "type": "function"
636
+ },
637
+ {
638
+ "inputs": [],
639
+ "name": "getDipToken",
640
+ "outputs": [
641
+ {
642
+ "internalType": "contract IERC20Metadata",
643
+ "name": "dip",
644
+ "type": "address"
645
+ }
646
+ ],
647
+ "stateMutability": "nonpayable",
648
+ "type": "function"
649
+ },
650
+ {
651
+ "inputs": [],
652
+ "name": "getDomain",
653
+ "outputs": [
654
+ {
655
+ "internalType": "ObjectType",
656
+ "name": "serviceDomain",
657
+ "type": "uint8"
658
+ }
659
+ ],
660
+ "stateMutability": "pure",
661
+ "type": "function"
662
+ },
663
+ {
664
+ "inputs": [],
665
+ "name": "getInitialInfo",
666
+ "outputs": [
667
+ {
668
+ "components": [
669
+ {
670
+ "internalType": "NftId",
671
+ "name": "nftId",
672
+ "type": "uint96"
673
+ },
674
+ {
675
+ "internalType": "NftId",
676
+ "name": "parentNftId",
677
+ "type": "uint96"
678
+ },
679
+ {
680
+ "internalType": "ObjectType",
681
+ "name": "objectType",
682
+ "type": "uint8"
683
+ },
684
+ {
685
+ "internalType": "bool",
686
+ "name": "isInterceptor",
687
+ "type": "bool"
688
+ },
689
+ {
690
+ "internalType": "address",
691
+ "name": "objectAddress",
692
+ "type": "address"
693
+ },
694
+ {
695
+ "internalType": "address",
696
+ "name": "initialOwner",
697
+ "type": "address"
698
+ },
699
+ {
700
+ "internalType": "bytes",
701
+ "name": "data",
702
+ "type": "bytes"
703
+ }
704
+ ],
705
+ "internalType": "struct IRegistry.ObjectInfo",
706
+ "name": "info",
707
+ "type": "tuple"
708
+ }
709
+ ],
710
+ "stateMutability": "view",
711
+ "type": "function"
712
+ },
713
+ {
714
+ "inputs": [],
715
+ "name": "getNftId",
716
+ "outputs": [
717
+ {
718
+ "internalType": "NftId",
719
+ "name": "",
720
+ "type": "uint96"
721
+ }
722
+ ],
723
+ "stateMutability": "view",
724
+ "type": "function"
725
+ },
726
+ {
727
+ "inputs": [],
728
+ "name": "getOwner",
729
+ "outputs": [
730
+ {
731
+ "internalType": "address",
732
+ "name": "",
733
+ "type": "address"
734
+ }
735
+ ],
736
+ "stateMutability": "view",
737
+ "type": "function"
738
+ },
739
+ {
740
+ "inputs": [],
741
+ "name": "getRegistry",
742
+ "outputs": [
743
+ {
744
+ "internalType": "contract IRegistry",
745
+ "name": "",
746
+ "type": "address"
747
+ }
748
+ ],
749
+ "stateMutability": "view",
750
+ "type": "function"
751
+ },
752
+ {
753
+ "inputs": [],
754
+ "name": "getRoleId",
755
+ "outputs": [
756
+ {
757
+ "internalType": "RoleId",
758
+ "name": "serviceRoleId",
759
+ "type": "uint64"
760
+ }
761
+ ],
762
+ "stateMutability": "pure",
763
+ "type": "function"
764
+ },
765
+ {
766
+ "inputs": [],
767
+ "name": "getStaking",
768
+ "outputs": [
769
+ {
770
+ "internalType": "contract IStaking",
771
+ "name": "staking",
772
+ "type": "address"
773
+ }
774
+ ],
775
+ "stateMutability": "nonpayable",
776
+ "type": "function"
777
+ },
778
+ {
779
+ "inputs": [],
780
+ "name": "getTokenHandler",
781
+ "outputs": [
782
+ {
783
+ "internalType": "contract TokenHandler",
784
+ "name": "tokenHandler",
785
+ "type": "address"
786
+ }
787
+ ],
788
+ "stateMutability": "nonpayable",
789
+ "type": "function"
790
+ },
791
+ {
792
+ "inputs": [],
793
+ "name": "getVersion",
794
+ "outputs": [
795
+ {
796
+ "internalType": "Version",
797
+ "name": "",
798
+ "type": "uint24"
799
+ }
800
+ ],
801
+ "stateMutability": "pure",
802
+ "type": "function"
803
+ },
804
+ {
805
+ "inputs": [
806
+ {
807
+ "internalType": "address",
808
+ "name": "activatedBy",
809
+ "type": "address"
810
+ },
811
+ {
812
+ "internalType": "bytes",
813
+ "name": "data",
814
+ "type": "bytes"
815
+ }
816
+ ],
817
+ "name": "initializeVersionable",
818
+ "outputs": [],
819
+ "stateMutability": "nonpayable",
820
+ "type": "function"
821
+ },
822
+ {
823
+ "inputs": [],
824
+ "name": "isConsumingScheduledOp",
825
+ "outputs": [
826
+ {
827
+ "internalType": "bytes4",
828
+ "name": "",
829
+ "type": "bytes4"
830
+ }
831
+ ],
832
+ "stateMutability": "view",
833
+ "type": "function"
834
+ },
835
+ {
836
+ "inputs": [],
837
+ "name": "linkToRegisteredNftId",
838
+ "outputs": [
839
+ {
840
+ "internalType": "NftId",
841
+ "name": "nftId",
842
+ "type": "uint96"
843
+ }
844
+ ],
845
+ "stateMutability": "nonpayable",
846
+ "type": "function"
847
+ },
848
+ {
849
+ "inputs": [
850
+ {
851
+ "internalType": "NftId",
852
+ "name": "instanceNftId",
853
+ "type": "uint96"
854
+ },
855
+ {
856
+ "internalType": "address",
857
+ "name": "rewardProvider",
858
+ "type": "address"
859
+ },
860
+ {
861
+ "internalType": "Amount",
862
+ "name": "dipAmount",
863
+ "type": "uint96"
864
+ }
865
+ ],
866
+ "name": "refillInstanceRewardReserves",
867
+ "outputs": [
868
+ {
869
+ "internalType": "Amount",
870
+ "name": "newBalance",
871
+ "type": "uint96"
872
+ }
873
+ ],
874
+ "stateMutability": "nonpayable",
875
+ "type": "function"
876
+ },
877
+ {
878
+ "inputs": [
879
+ {
880
+ "internalType": "NftId",
881
+ "name": "targetNftId",
882
+ "type": "uint96"
883
+ },
884
+ {
885
+ "internalType": "Amount",
886
+ "name": "dipAmount",
887
+ "type": "uint96"
888
+ }
889
+ ],
890
+ "name": "refillRewardReservesBySender",
891
+ "outputs": [
892
+ {
893
+ "internalType": "Amount",
894
+ "name": "newBalance",
895
+ "type": "uint96"
896
+ }
897
+ ],
898
+ "stateMutability": "nonpayable",
899
+ "type": "function"
900
+ },
901
+ {
902
+ "inputs": [
903
+ {
904
+ "internalType": "NftId",
905
+ "name": "stakeNftId",
906
+ "type": "uint96"
907
+ },
908
+ {
909
+ "internalType": "NftId",
910
+ "name": "newTargetNftId",
911
+ "type": "uint96"
912
+ }
913
+ ],
914
+ "name": "restakeToNewTarget",
915
+ "outputs": [
916
+ {
917
+ "internalType": "NftId",
918
+ "name": "newStakeNftId",
919
+ "type": "uint96"
920
+ }
921
+ ],
922
+ "stateMutability": "nonpayable",
923
+ "type": "function"
924
+ },
925
+ {
926
+ "inputs": [
927
+ {
928
+ "internalType": "address",
929
+ "name": "newAuthority",
930
+ "type": "address"
931
+ }
932
+ ],
933
+ "name": "setAuthority",
934
+ "outputs": [],
935
+ "stateMutability": "nonpayable",
936
+ "type": "function"
937
+ },
938
+ {
939
+ "inputs": [
940
+ {
941
+ "internalType": "NftId",
942
+ "name": "instanceNftId",
943
+ "type": "uint96"
944
+ },
945
+ {
946
+ "internalType": "Seconds",
947
+ "name": "lockingPeriod",
948
+ "type": "uint40"
949
+ }
950
+ ],
951
+ "name": "setInstanceLockingPeriod",
952
+ "outputs": [],
953
+ "stateMutability": "nonpayable",
954
+ "type": "function"
955
+ },
956
+ {
957
+ "inputs": [
958
+ {
959
+ "internalType": "NftId",
960
+ "name": "instanceNftId",
961
+ "type": "uint96"
962
+ },
963
+ {
964
+ "internalType": "UFixed",
965
+ "name": "rewardRate",
966
+ "type": "uint256"
967
+ }
968
+ ],
969
+ "name": "setInstanceRewardRate",
970
+ "outputs": [],
971
+ "stateMutability": "nonpayable",
972
+ "type": "function"
973
+ },
974
+ {
975
+ "inputs": [
976
+ {
977
+ "internalType": "NftId",
978
+ "name": "targetNftId",
979
+ "type": "uint96"
980
+ },
981
+ {
982
+ "internalType": "address",
983
+ "name": "token",
984
+ "type": "address"
985
+ },
986
+ {
987
+ "internalType": "Amount",
988
+ "name": "amount",
989
+ "type": "uint96"
990
+ }
991
+ ],
992
+ "name": "setTotalValueLocked",
993
+ "outputs": [],
994
+ "stateMutability": "nonpayable",
995
+ "type": "function"
996
+ },
997
+ {
998
+ "inputs": [
999
+ {
1000
+ "internalType": "NftId",
1001
+ "name": "stakeNftId",
1002
+ "type": "uint96"
1003
+ },
1004
+ {
1005
+ "internalType": "Amount",
1006
+ "name": "dipAmount",
1007
+ "type": "uint96"
1008
+ }
1009
+ ],
1010
+ "name": "stake",
1011
+ "outputs": [],
1012
+ "stateMutability": "nonpayable",
1013
+ "type": "function"
1014
+ },
1015
+ {
1016
+ "inputs": [
1017
+ {
1018
+ "internalType": "bytes4",
1019
+ "name": "interfaceId",
1020
+ "type": "bytes4"
1021
+ }
1022
+ ],
1023
+ "name": "supportsInterface",
1024
+ "outputs": [
1025
+ {
1026
+ "internalType": "bool",
1027
+ "name": "",
1028
+ "type": "bool"
1029
+ }
1030
+ ],
1031
+ "stateMutability": "view",
1032
+ "type": "function"
1033
+ },
1034
+ {
1035
+ "inputs": [
1036
+ {
1037
+ "internalType": "NftId",
1038
+ "name": "stakeNftId",
1039
+ "type": "uint96"
1040
+ }
1041
+ ],
1042
+ "name": "unstake",
1043
+ "outputs": [],
1044
+ "stateMutability": "nonpayable",
1045
+ "type": "function"
1046
+ },
1047
+ {
1048
+ "inputs": [
1049
+ {
1050
+ "internalType": "NftId",
1051
+ "name": "stakeNftId",
1052
+ "type": "uint96"
1053
+ }
1054
+ ],
1055
+ "name": "updateRewards",
1056
+ "outputs": [],
1057
+ "stateMutability": "nonpayable",
1058
+ "type": "function"
1059
+ },
1060
+ {
1061
+ "inputs": [
1062
+ {
1063
+ "internalType": "bytes",
1064
+ "name": "data",
1065
+ "type": "bytes"
1066
+ }
1067
+ ],
1068
+ "name": "upgradeVersionable",
1069
+ "outputs": [],
1070
+ "stateMutability": "nonpayable",
1071
+ "type": "function"
1072
+ },
1073
+ {
1074
+ "inputs": [
1075
+ {
1076
+ "internalType": "NftId",
1077
+ "name": "instanceNftId",
1078
+ "type": "uint96"
1079
+ },
1080
+ {
1081
+ "internalType": "Amount",
1082
+ "name": "dipAmount",
1083
+ "type": "uint96"
1084
+ }
1085
+ ],
1086
+ "name": "withdrawInstanceRewardReserves",
1087
+ "outputs": [
1088
+ {
1089
+ "internalType": "Amount",
1090
+ "name": "newBalance",
1091
+ "type": "uint96"
1092
+ }
1093
+ ],
1094
+ "stateMutability": "nonpayable",
1095
+ "type": "function"
1096
+ }
1097
+ ],
1098
+ "bytecode": "0x6080604052348015600e575f80fd5b5060156019565b60c9565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00805468010000000000000000900460ff161560685760405163f92ee8a960e01b815260040160405180910390fd5b80546001600160401b039081161460c65780546001600160401b0319166001600160401b0390811782556040519081527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50565b6135ec806100d65f395ff3fe608060405234801561000f575f80fd5b50600436106101f2575f3560e01c80637a9e5e4b11610114578063a8b9328a116100a9578063db1e36e711610079578063db1e36e7146104cd578063dea4ccf2146104e0578063dec3bdde146104f3578063f11bcbe714610506578063f67fef6d14610536575f80fd5b8063a8b9328a1461048f578063ada9652e146104a2578063b68d1809146104b6578063bf7e214f146104c5575f80fd5b8063893d20e8116100e4578063893d20e81461043f5780638cf81e46146104475780638fb360371461045b578063943bd1971461047c575f80fd5b80637a9e5e4b146103d65780637b1391a6146103e957806381d9b45f1461041957806386b0e0191461042c575f80fd5b806343d752d31161018a5780636c1e9dff1161015a5780636c1e9dff1461037d5780636c741e7814610390578063719f761a146103b0578063756b30de146103c3575f80fd5b806343d752d3146102f857806349bb9e4b1461033c5780635ab1bd531461034f578063644c45e014610360575f80fd5b8063138461e0116101c5578063138461e01461027d5780631eff4b221461029d57806321ece657146102d2578063329d6e74146102e5575f80fd5b806301ffc9a7146101f65780630d8e6e2c146102375780630fec111c1461025357806310a0638a14610268575b5f80fd5b610222610204366004612c6c565b6001600160e01b0319165f9081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b61023f610549565b60405162ffffff909116815260200161022e565b61025b6105d0565b60405161022e9190612cc1565b61027b610276366004612d61565b61078e565b005b61028561084f565b6040516001600160601b03909116815260200161022e565b6102c47f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b60405190815260200161022e565b6102856102e0366004612d7c565b610859565b61027b6102f3366004612e97565b610a1f565b7f6548005c3f4340f82f348c576c0ff69f7f529cadd5ad41f96aae61abceeaa303546001600160a01b03165b6040516001600160a01b03909116815260200161022e565b61027b61034a366004612edc565b610b69565b6001546001600160a01b0316610324565b5f80516020613537833981519152546001600160601b0316610285565b61027b61038b366004612d7c565b610c65565b610398610f86565b6040516001600160401b03909116815260200161022e565b61027b6103be366004612d61565b61107c565b6102856103d1366004612d7c565b61127c565b61027b6103e4366004612f28565b6114e5565b7f6548005c3f4340f82f348c576c0ff69f7f529cadd5ad41f96aae61abceeaa301546001600160a01b0316610324565b61027b610427366004612f5c565b61156b565b61028561043a366004612d7c565b611658565b610324611676565b6102c45f8051602061357783398151915281565b6104636117a7565b6040516001600160e01b0319909116815260200161022e565b61027b61048a366004612f98565b6117dc565b61027b61049d366004612fe0565b6117ea565b6102c45f8051602061353783398151915281565b6040516003815260200161022e565b610324611877565b61027b6104db36600461300a565b611892565b61027b6104ee366004612d61565b611900565b610285610501366004612f98565b611b14565b7f6548005c3f4340f82f348c576c0ff69f7f529cadd5ad41f96aae61abceeaa302546001600160a01b0316610324565b610285610544366004612d7c565b611b29565b604051632efe011360e01b8152600360048201525f60248201819052604482018190529073__$8eede297b65ed5a56eb3f84d8232ae93f5$__90632efe011390606401602060405180830381865af41580156105a7573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906105cb919061303d565b905090565b6040805160e0810182525f8082526020820181905291810182905260608082018390526080820183905260a082019290925260c08101919091525f7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e0016040528073__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015610680573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906106a4919061306a565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a0016106ec611676565b6001600160a01b0316815260200182600101805461070990613085565b80601f016020809104026020016040519081016040528092919081815260200182805461073590613085565b80156107805780601f1061075757610100808354040283529160200191610780565b820191905f5260205f20905b81548152906001019060200180831161076357829003601f168201915b505050505081525091505090565b61079a335b5f36611be9565b5f5f80516020613577833981519152600181015460405163085031c560e11b81526001600160601b03851660048201529192506001600160a01b0316906310a0638a906024015f604051808303815f87803b1580156107f7575f80fd5b505af1158015610809573d5f803e3d5ffd5b50506040516001600160601b03851681527ff154111adc6084a644ef1d75dc89b5549b77bd22f0ceb8607501175f6cf3da35925060200190505b60405180910390a15050565b5f6105cb30611cdf565b5f61086333610793565b5f5f80516020613577833981519152600181015460405163e8ce883d60e01b81526001600160601b038088166004830152861660248201529192506001600160a01b03169063e8ce883d906044016020604051808303815f875af11580156108cd573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906108f1919061306a565b91505f6109066001546001600160a01b031690565b604051631c5da14d60e11b81526001600160601b03871660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015610953573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061097791906130c8565b90507f1cbf8b37af4df8c27db081983bda17400796238db4d1edf44edacf559b3a25d7858286866040516109ae94939291906130e3565b60405180910390a160018201546040516331449be960e11b81526001600160a01b039091169063628937d2906109ea9084908890600401613117565b5f604051808303815f87803b158015610a01575f80fd5b505af1158015610a13573d5f803e3d5ffd5b50505050505092915050565b73__$8eede297b65ed5a56eb3f84d8232ae93f5$__63a123b37c610a41610549565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af4158015610a7f573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610aa3919061314d565b5f805160206135978339815191528054600160401b900460ff1680610ad5575080546001600160401b03808416911610155b15610af35760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b178155610b1d83611ed8565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a1505050565b5f805160206135978339815191528054600160401b810460ff1615906001600160401b03165f81158015610b9a5750825b90505f826001600160401b03166001148015610bb55750303b155b905081158015610bc3575080155b15610be15760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315610c0b57845460ff60401b1916600160401b1785555b610c158787611ee0565b8315610c5c57845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a15b50505050505050565b610c6e33610793565b81610c816001546001600160a01b031690565b604051631c5da14d60e11b81526001600160601b03831660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015610cce573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610cf291906130c8565b6001600160a01b0316336001600160a01b031614610dcb5780610d1d6001546001600160a01b031690565b604051631c5da14d60e11b81526001600160601b03841660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015610d6a573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610d8e91906130c8565b604051620d652560ea1b81526001600160601b0390921660048301526001600160a01b031660248201523360448201526064015b60405180910390fd5b5f5f805160206135778339815191526001810154604051636c1e9dff60e01b81526001600160601b0380881660048301528616602482015291925033915f916001600160a01b031690636c1e9dff906044016020604051808303815f875af1158015610e39573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610e5d919061306a565b6040516330b8415f60e01b81526001600160601b038716600482015290915073__$3bac17678db7ae928afa209f2f44deec9c$__906330b8415f90602401602060405180830381865af4158015610eb6573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610eda9190613177565b15610f7e577f51bb449f96e2d4d2c1cbcba003bf8c0e4859c17581ce0bc7542fd6d6279e9b9d86838784604051610f1494939291906130e3565b60405180910390a1600183015460405163e3a817cd60e01b81526001600160a01b039091169063e3a817cd90610f509085908990600401613117565b5f604051808303815f87803b158015610f67575f80fd5b505af1158015610f79573d5f803e3d5ffd5b505050505b505050505050565b5f73__$1d92393fa9ccd763988368ce8a1cb90d26$__63dda777d36003604051632392b61b60e21b81526003600482015273__$b659da7d8a6d2d32aa6c1e17da23dc2174$__90638e4ad86c90602401602060405180830381865af4158015610ff1573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061101591906131a9565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865af4158015611058573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906105cb919061314d565b61108533610793565b806110986001546001600160a01b031690565b604051631c5da14d60e11b81526001600160601b03831660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa1580156110e5573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061110991906130c8565b6001600160a01b0316336001600160a01b0316146111345780610d1d6001546001600160a01b031690565b5f5f8051602061357783398151915260018101546040516338cfbb0d60e11b81526001600160601b038616600482015291925033915f916001600160a01b03169063719f761a906024016020604051808303815f875af115801561119a573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906111be919061306a565b604080516001600160601b0388811682526001600160a01b038616602083015283168183015290519192507f560ee8c0a69c814defd43602fe8eb63663bc8df678239a581d560f7ed67afda8919081900360600190a160018301546040516331449be960e11b81526001600160a01b039091169063628937d2906112489085908590600401613117565b5f604051808303815f87803b15801561125f575f80fd5b505af1158015611271573d5f803e3d5ffd5b505050505050505050565b5f61128633610793565b5f8051602061357783398151915280546040805160e0810180835263bc1b392d60e01b9052905133926001600160a01b031691638105cc7f91819073__$94a2c899be079b00d952d0d84fffaa5c34$__9063bc1b392d9060e4808501916020918187030181865af41580156112fd573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611321919061306a565b6001600160601b03168152602001886001600160601b03168152602001611346602190565b60ff1681526020015f151581526020015f6001600160a01b03168152602001846001600160a01b0316815260200160405180602001604052805f8152508152506040518263ffffffff1660e01b81526004016113a29190612cc1565b6020604051808303815f875af11580156113be573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906113e2919061306a565b6001830154604051630c7b317360e21b81526001600160601b0380841660048301528089166024830152871660448201529194506001600160a01b0316906331ecc5cc906064015f604051808303815f87803b158015611440575f80fd5b505af1158015611452573d5f803e3d5ffd5b5050604080516001600160601b03878116825289811660208301526001600160a01b038616828401528816606082015290517fbba1f5229b1626c1685c27c3604dd3296a6a69391e1ed009f8c176aa63b8e1d79350908190036080019150a1600182015460405163e3a817cd60e01b81526001600160a01b039091169063e3a817cd906109ea9084908890600401613117565b336114ee611877565b6001600160a01b0316816001600160a01b0316146115295760405162d1953b60e31b81526001600160a01b0382166004820152602401610dc2565b816001600160a01b03163b5f0361155e576040516361798f2f60e11b81526001600160a01b0383166004820152602401610dc2565b61156782612160565b5050565b61157433610793565b465f80516020613577833981519152600101546001600160a01b031663562119ee85600a6040516001600160e01b031960e085901b1681526001600160601b03909216600483015260ff1660248201526044810184905264ffffffffff861660648201526084810185905260a4015f604051808303815f87803b1580156115f9575f80fd5b505af115801561160b573d5f803e3d5ffd5b5050604080516001600160601b0388168152602081018590527f471a2845289928aa76c379fe01dc0310ebf5000e7a977935811e173bdda224bd935001905060405180910390a150505050565b5f61166233610793565b3361166e8482856121b9565b949350505050565b5f805f8051602061353783398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af41580156116e2573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906117069190613177565b15611791576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015611767573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061178b91906130c8565b91505090565b54600160601b90046001600160a01b0316919050565b5f8051602061355783398151915280545f9190600160a01b900460ff166117ce575f61178b565b638fb3603760e01b91505090565b6117e533610793565b505050565b6117f333610793565b7f6548005c3f4340f82f348c576c0ff69f7f529cadd5ad41f96aae61abceeaa30154604051632a80f67360e01b81526001600160601b0384166004820152602481018390526001600160a01b0390911690632a80f673906044015b5f604051808303815f87803b158015611865575f80fd5b505af1158015610f7e573d5f803e3d5ffd5b5f80516020613557833981519152546001600160a01b031690565b61189b33610793565b7f6548005c3f4340f82f348c576c0ff69f7f529cadd5ad41f96aae61abceeaa30154604051635ecf260f60e01b81526001600160601b038416600482015264ffffffffff831660248201526001600160a01b0390911690635ecf260f9060440161184e565b61190933610793565b8061191c6001546001600160a01b031690565b604051631c5da14d60e11b81526001600160601b03831660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015611969573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061198d91906130c8565b6001600160a01b0316336001600160a01b0316146119b85780610d1d6001546001600160a01b031690565b5f5f805160206135778339815191526001810154604051636f52667960e11b81526001600160601b038616600482015291925033915f9182916001600160a01b039091169063dea4ccf29060240160408051808303815f875af1158015611a21573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611a4591906131c4565b915091505f611a5483836122f0565b604080516001600160601b038a811682526001600160a01b038816602083015283168183015290519192507fce678d95d8c12c4b7d7089c8f7db920fe5cc49352696a601b9e41f65ea3fd239919081900360600190a160018501546040516331449be960e11b81526001600160a01b039091169063628937d290611ade9087908590600401613117565b5f604051808303815f87803b158015611af5575f80fd5b505af1158015611b07573d5f803e3d5ffd5b5050505050505050505050565b5f611b1e33610793565b61166e8484846121b9565b5f611b3333610793565b82611b466001546001600160a01b031690565b604051631c5da14d60e11b81526001600160601b03831660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015611b93573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611bb791906130c8565b6001600160a01b0316336001600160a01b031614611be25780610d1d6001546001600160a01b031690565b5092915050565b5f805160206135578339815191525f80611c21611c04611877565b8730611c1360045f8a8c6131f1565b611c1c91613218565b61237b565b9150915081610f7e5763ffffffff811615611cbc57825460ff60a01b1916600160a01b178355611c4f611877565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b8152600401611c7e9392919061324e565b5f604051808303815f87803b158015611c95575f80fd5b505af1158015611ca7573d5f803e3d5ffd5b5050845460ff60a01b1916855550610f7e9050565b60405162d1953b60e31b81526001600160a01b0387166004820152602401610dc2565b5f805f8051602061353783398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015611d4b573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611d6f9190613177565b15611d9b5780546040516301ab8b6760e21b81526001600160601b039091166004820152602401610dc2565b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038581166004830152919091169063c3c5a54790602401602060405180830381865afa158015611ded573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611e119190613177565b611e395760405163b9304b0d60e01b81526001600160a01b0384166004820152602401610dc2565b6001546001600160a01b0316604051632f2a35f760e11b81526001600160a01b0385811660048301529190911690635e546bee90602401602060405180830381865afa158015611e8b573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611eaf919061306a565b81546bffffffffffffffffffffffff19166001600160601b039190911690811790915592915050565b6101f2612483565b5f805160206135978339815191528054600160401b810460ff1615906001600160401b03165f81158015611f115750825b90505f826001600160401b03166001148015611f2c5750303b155b905081158015611f3a575080155b15611f585760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315611f8257845460ff60401b1916600160401b1785555b5f805f88806020019051810190611f99919061328d565b925092509250611faa82848c6124bb565b5f80516020613577833981519152611fc260026125fb565b81546001600160a01b0319166001600160a01b0391909116178155611fe682612702565b6001820180546001600160a01b0319166001600160a01b03929092169182179055604080516321df0da760e01b815290516321df0da7916004808201926020929091908290030181865afa158015612040573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061206491906130c8565b6002820180546001600160a01b0319166001600160a01b039283161790556001820154604080516343d752d360e01b8152905191909216916343d752d39160048083019260209291908290030181865afa1580156120c4573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906120e891906130c8565b6003820180546001600160a01b0319166001600160a01b039290921691909117905561211a638694498960e01b612975565b505050508315610c5c57845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d290602001610c53565b5f8051602061355783398151915280546001600160a01b0319166001600160a01b03831690811782556040519081527f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad90602001610843565b5f805f80516020613577833981519152600181015460405163de0eb85f60e01b81526001600160601b038089166004830152861660248201529192506001600160a01b03169063de0eb85f906044016020604051808303815f875af1158015612224573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612248919061306a565b91507fcf86366087b008a90b57f4e7b955b94599f589d7267649942abfd34305fe5b2f8585858560405161227f94939291906130e3565b60405180910390a1600181015460405163e3a817cd60e01b81526001600160a01b039091169063e3a817cd906122bb9087908790600401613117565b5f604051808303815f87803b1580156122d2575f80fd5b505af11580156122e4573d5f803e3d5ffd5b50505050509392505050565b60405163274acb3560e01b81526001600160601b038084166004830152821660248201525f9073__$3bac17678db7ae928afa209f2f44deec9c$__9063274acb3590604401602060405180830381865af4158015612350573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612374919061306a565b9392505050565b6040516001600160a01b03848116602483015283811660448301526001600160e01b0319831660648301525f9182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b179052516123e991906132cc565b5f60405180830381855afa9150503d805f8114612421576040519150601f19603f3d011682016040523d82523d5f602084013e612426565b606091505b50915091508115612478576040815110612458578080602001905181019061244e91906132e2565b9094509250612478565b602081511061247857808060200190518101906124759190613177565b93505b505094509492505050565b5f8051602061359783398151915254600160401b900460ff166124b957604051631afcd79f60e31b815260040160405180910390fd5b565b6124c3612483565b6124cb6129a1565b6001600160a01b038216156124e8576124e3826129b1565b61255f565b5f6124f360026125fb565b905061255d816001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015612534573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061255891906130c8565b6129b1565b505b6125db83846001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa15801561259f573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906125c3919061306a565b60085f8560405180602001604052805f8152506129c5565b6125eb634a531f3360e01b612975565b6117e563daf9067160e01b612975565b5f61260e6001546001600160a01b031690565b604051632392b61b60e21b8152600360048201526001600160a01b03919091169063d39e604390849073__$b659da7d8a6d2d32aa6c1e17da23dc2174$__90638e4ad86c90602401602060405180830381865af4158015612671573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061269591906131a9565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa1580156126d8573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906126fc91906130c8565b92915050565b5f806127166001546001600160a01b031690565b6040516308b09a5f60e41b81526001600160a01b0385811660048301529190911690638b09a5f0906024015f60405180830381865afa15801561275b573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526127829190810190613361565b80516040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af41580156127de573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906128029190613177565b15612853576128238160400151612817600390565b60ff9081169116141590565b1561284c57604051637dbf3cff60e11b81526001600160a01b0384166004820152602401610dc2565b5090919050565b6040516301ffc9a760e01b815263fef8804160e01b60048201526001600160a01b038416906301ffc9a790602401602060405180830381865afa15801561289c573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906128c09190613177565b6128e857604051632bf4d8e560e21b81526001600160a01b0384166004820152602401610dc2565b335f805160206135778339815191525460405163c4c79d8b60e01b81526001600160a01b03868116600483015283811660248301529091169063c4c79d8b906044015f604051808303815f875af1158015612945573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f1916820160405261296c9190810190613361565b50929392505050565b61297d612483565b6001600160e01b0319165f908152602081905260409020805460ff19166001179055565b6129a9612483565b6124b9612a6a565b6129b9612483565b6129c281612a98565b50565b6129cd612483565b6129d78287612aa9565b7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0387166cffffffffffffffffffffffffff1990911617600160601b60ff8716021760ff60681b1916600160681b851515021781557f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa301612a60838261347c565b5050505050505050565b612a72612483565b60017f9b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f0055565b612aa0612483565b6129c281612160565b612ab1612483565b612aba81612b1f565b612ac2612c27565b6001600160a01b038216612ae95760405163f17ef42d60e01b815260040160405180910390fd5b505f8051602061353783398151915280546001600160601b0316600160601b6001600160a01b0390931692909202919091179055565b612b27612483565b806001600160a01b03163b5f03612b5c5760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610dc2565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b8152634871d8b760e11b60048201526301ffc9a790602401602060405180830381865afa925050508015612bd6575060408051601f3d908101601f19168201909252612bd391810190613177565b60015b612bfe5760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610dc2565b806115675760405163fdeac91f60e01b81526001600160a01b0383166004820152602401610dc2565b612c2f612483565b6301ffc9a760e01b5f9081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b5f60208284031215612c7c575f80fd5b81356001600160e01b031981168114612374575f80fd5b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081526001600160601b0382511660208201526001600160601b03602083015116604082015260ff60408301511660608201525f6060830151612d09608084018215159052565b5060808301516001600160a01b03811660a08401525060a08301516001600160a01b03811660c08401525060c083015160e08084015261166e610100840182612c93565b6001600160601b03811681146129c2575f80fd5b5f60208284031215612d71575f80fd5b813561237481612d4d565b5f8060408385031215612d8d575f80fd5b8235612d9881612d4d565b91506020830135612da881612d4d565b809150509250929050565b634e487b7160e01b5f52604160045260245ffd5b60405160e081016001600160401b0381118282101715612de957612de9612db3565b60405290565b604051601f8201601f191681016001600160401b0381118282101715612e1757612e17612db3565b604052919050565b5f6001600160401b03821115612e3757612e37612db3565b50601f01601f191660200190565b5f82601f830112612e54575f80fd5b8135612e67612e6282612e1f565b612def565b818152846020838601011115612e7b575f80fd5b816020850160208301375f918101602001919091529392505050565b5f60208284031215612ea7575f80fd5b81356001600160401b03811115612ebc575f80fd5b61166e84828501612e45565b6001600160a01b03811681146129c2575f80fd5b5f8060408385031215612eed575f80fd5b8235612ef881612ec8565b915060208301356001600160401b03811115612f12575f80fd5b612f1e85828601612e45565b9150509250929050565b5f60208284031215612f38575f80fd5b813561237481612ec8565b803564ffffffffff81168114612f57575f80fd5b919050565b5f805f60608486031215612f6e575f80fd5b8335612f7981612d4d565b9250612f8760208501612f43565b929592945050506040919091013590565b5f805f60608486031215612faa575f80fd5b8335612fb581612d4d565b92506020840135612fc581612ec8565b91506040840135612fd581612d4d565b809150509250925092565b5f8060408385031215612ff1575f80fd5b8235612ffc81612d4d565b946020939093013593505050565b5f806040838503121561301b575f80fd5b823561302681612d4d565b915061303460208401612f43565b90509250929050565b5f6020828403121561304d575f80fd5b815162ffffff81168114612374575f80fd5b8051612f5781612d4d565b5f6020828403121561307a575f80fd5b815161237481612d4d565b600181811c9082168061309957607f821691505b6020821081036130b757634e487b7160e01b5f52602260045260245ffd5b50919050565b8051612f5781612ec8565b5f602082840312156130d8575f80fd5b815161237481612ec8565b6001600160601b0394851681526001600160a01b039390931660208401529083166040830152909116606082015260800190565b6001600160a01b039290921682526001600160601b0316602082015260400190565b6001600160401b03811681146129c2575f80fd5b5f6020828403121561315d575f80fd5b815161237481613139565b80518015158114612f57575f80fd5b5f60208284031215613187575f80fd5b61237482613168565b60ff811681146129c2575f80fd5b8051612f5781613190565b5f602082840312156131b9575f80fd5b815161237481613190565b5f80604083850312156131d5575f80fd5b82516131e081612d4d565b6020840151909250612da881612d4d565b5f80858511156131ff575f80fd5b8386111561320b575f80fd5b5050820193919092039150565b80356001600160e01b03198116906004841015611be2576001600160e01b031960049490940360031b84901b1690921692915050565b6001600160a01b03841681526040602082018190528101829052818360608301375f818301606090810191909152601f909201601f1916010192915050565b5f805f6060848603121561329f575f80fd5b83516132aa81612ec8565b60208501519093506132bb81612ec8565b6040850151909250612fd581612ec8565b5f82518060208501845e5f920191825250919050565b5f80604083850312156132f3575f80fd5b6132fc83613168565b9150602083015163ffffffff81168114612da8575f80fd5b5f82601f830112613323575f80fd5b8151613331612e6282612e1f565b818152846020838601011115613345575f80fd5b8160208501602083015e5f918101602001919091529392505050565b5f60208284031215613371575f80fd5b81516001600160401b03811115613386575f80fd5b820160e08185031215613397575f80fd5b61339f612dc7565b6133a88261305f565b81526133b66020830161305f565b60208201526133c76040830161319e565b60408201526133d860608301613168565b60608201526133e9608083016130bd565b60808201526133fa60a083016130bd565b60a082015260c08201516001600160401b03811115613417575f80fd5b61342386828501613314565b60c083015250949350505050565b601f8211156117e557805f5260205f20601f840160051c810160208510156134565750805b601f840160051c820191505b81811015613475575f8155600101613462565b5050505050565b81516001600160401b0381111561349557613495612db3565b6134a9816134a38454613085565b84613431565b6020601f8211600181146134db575f83156134c45750848201515b5f19600385901b1c1916600184901b178455613475565b5f84815260208120601f198516915b8281101561350a57878501518255602094850194600190920191016134ea565b508482101561352757868401515f19600387901b60f8161c191681555b50505050600190811b0190555056fe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a006548005c3f4340f82f348c576c0ff69f7f529cadd5ad41f96aae61abceeaa300f0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00a2646970667358221220a2f0ef6f0ab067908a590ede269fd1fee6d6b4d8aa6e2348a77568d87f4304aa64736f6c634300081a0033",
1099
+ "deployedBytecode": "0x608060405234801561000f575f80fd5b50600436106101f2575f3560e01c80637a9e5e4b11610114578063a8b9328a116100a9578063db1e36e711610079578063db1e36e7146104cd578063dea4ccf2146104e0578063dec3bdde146104f3578063f11bcbe714610506578063f67fef6d14610536575f80fd5b8063a8b9328a1461048f578063ada9652e146104a2578063b68d1809146104b6578063bf7e214f146104c5575f80fd5b8063893d20e8116100e4578063893d20e81461043f5780638cf81e46146104475780638fb360371461045b578063943bd1971461047c575f80fd5b80637a9e5e4b146103d65780637b1391a6146103e957806381d9b45f1461041957806386b0e0191461042c575f80fd5b806343d752d31161018a5780636c1e9dff1161015a5780636c1e9dff1461037d5780636c741e7814610390578063719f761a146103b0578063756b30de146103c3575f80fd5b806343d752d3146102f857806349bb9e4b1461033c5780635ab1bd531461034f578063644c45e014610360575f80fd5b8063138461e0116101c5578063138461e01461027d5780631eff4b221461029d57806321ece657146102d2578063329d6e74146102e5575f80fd5b806301ffc9a7146101f65780630d8e6e2c146102375780630fec111c1461025357806310a0638a14610268575b5f80fd5b610222610204366004612c6c565b6001600160e01b0319165f9081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b61023f610549565b60405162ffffff909116815260200161022e565b61025b6105d0565b60405161022e9190612cc1565b61027b610276366004612d61565b61078e565b005b61028561084f565b6040516001600160601b03909116815260200161022e565b6102c47f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b60405190815260200161022e565b6102856102e0366004612d7c565b610859565b61027b6102f3366004612e97565b610a1f565b7f6548005c3f4340f82f348c576c0ff69f7f529cadd5ad41f96aae61abceeaa303546001600160a01b03165b6040516001600160a01b03909116815260200161022e565b61027b61034a366004612edc565b610b69565b6001546001600160a01b0316610324565b5f80516020613537833981519152546001600160601b0316610285565b61027b61038b366004612d7c565b610c65565b610398610f86565b6040516001600160401b03909116815260200161022e565b61027b6103be366004612d61565b61107c565b6102856103d1366004612d7c565b61127c565b61027b6103e4366004612f28565b6114e5565b7f6548005c3f4340f82f348c576c0ff69f7f529cadd5ad41f96aae61abceeaa301546001600160a01b0316610324565b61027b610427366004612f5c565b61156b565b61028561043a366004612d7c565b611658565b610324611676565b6102c45f8051602061357783398151915281565b6104636117a7565b6040516001600160e01b0319909116815260200161022e565b61027b61048a366004612f98565b6117dc565b61027b61049d366004612fe0565b6117ea565b6102c45f8051602061353783398151915281565b6040516003815260200161022e565b610324611877565b61027b6104db36600461300a565b611892565b61027b6104ee366004612d61565b611900565b610285610501366004612f98565b611b14565b7f6548005c3f4340f82f348c576c0ff69f7f529cadd5ad41f96aae61abceeaa302546001600160a01b0316610324565b610285610544366004612d7c565b611b29565b604051632efe011360e01b8152600360048201525f60248201819052604482018190529073__$8eede297b65ed5a56eb3f84d8232ae93f5$__90632efe011390606401602060405180830381865af41580156105a7573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906105cb919061303d565b905090565b6040805160e0810182525f8082526020820181905291810182905260608082018390526080820183905260a082019290925260c08101919091525f7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e0016040528073__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015610680573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906106a4919061306a565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a0016106ec611676565b6001600160a01b0316815260200182600101805461070990613085565b80601f016020809104026020016040519081016040528092919081815260200182805461073590613085565b80156107805780601f1061075757610100808354040283529160200191610780565b820191905f5260205f20905b81548152906001019060200180831161076357829003601f168201915b505050505081525091505090565b61079a335b5f36611be9565b5f5f80516020613577833981519152600181015460405163085031c560e11b81526001600160601b03851660048201529192506001600160a01b0316906310a0638a906024015f604051808303815f87803b1580156107f7575f80fd5b505af1158015610809573d5f803e3d5ffd5b50506040516001600160601b03851681527ff154111adc6084a644ef1d75dc89b5549b77bd22f0ceb8607501175f6cf3da35925060200190505b60405180910390a15050565b5f6105cb30611cdf565b5f61086333610793565b5f5f80516020613577833981519152600181015460405163e8ce883d60e01b81526001600160601b038088166004830152861660248201529192506001600160a01b03169063e8ce883d906044016020604051808303815f875af11580156108cd573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906108f1919061306a565b91505f6109066001546001600160a01b031690565b604051631c5da14d60e11b81526001600160601b03871660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015610953573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061097791906130c8565b90507f1cbf8b37af4df8c27db081983bda17400796238db4d1edf44edacf559b3a25d7858286866040516109ae94939291906130e3565b60405180910390a160018201546040516331449be960e11b81526001600160a01b039091169063628937d2906109ea9084908890600401613117565b5f604051808303815f87803b158015610a01575f80fd5b505af1158015610a13573d5f803e3d5ffd5b50505050505092915050565b73__$8eede297b65ed5a56eb3f84d8232ae93f5$__63a123b37c610a41610549565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af4158015610a7f573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610aa3919061314d565b5f805160206135978339815191528054600160401b900460ff1680610ad5575080546001600160401b03808416911610155b15610af35760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b178155610b1d83611ed8565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a1505050565b5f805160206135978339815191528054600160401b810460ff1615906001600160401b03165f81158015610b9a5750825b90505f826001600160401b03166001148015610bb55750303b155b905081158015610bc3575080155b15610be15760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315610c0b57845460ff60401b1916600160401b1785555b610c158787611ee0565b8315610c5c57845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a15b50505050505050565b610c6e33610793565b81610c816001546001600160a01b031690565b604051631c5da14d60e11b81526001600160601b03831660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015610cce573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610cf291906130c8565b6001600160a01b0316336001600160a01b031614610dcb5780610d1d6001546001600160a01b031690565b604051631c5da14d60e11b81526001600160601b03841660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015610d6a573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610d8e91906130c8565b604051620d652560ea1b81526001600160601b0390921660048301526001600160a01b031660248201523360448201526064015b60405180910390fd5b5f5f805160206135778339815191526001810154604051636c1e9dff60e01b81526001600160601b0380881660048301528616602482015291925033915f916001600160a01b031690636c1e9dff906044016020604051808303815f875af1158015610e39573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610e5d919061306a565b6040516330b8415f60e01b81526001600160601b038716600482015290915073__$3bac17678db7ae928afa209f2f44deec9c$__906330b8415f90602401602060405180830381865af4158015610eb6573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610eda9190613177565b15610f7e577f51bb449f96e2d4d2c1cbcba003bf8c0e4859c17581ce0bc7542fd6d6279e9b9d86838784604051610f1494939291906130e3565b60405180910390a1600183015460405163e3a817cd60e01b81526001600160a01b039091169063e3a817cd90610f509085908990600401613117565b5f604051808303815f87803b158015610f67575f80fd5b505af1158015610f79573d5f803e3d5ffd5b505050505b505050505050565b5f73__$1d92393fa9ccd763988368ce8a1cb90d26$__63dda777d36003604051632392b61b60e21b81526003600482015273__$b659da7d8a6d2d32aa6c1e17da23dc2174$__90638e4ad86c90602401602060405180830381865af4158015610ff1573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061101591906131a9565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865af4158015611058573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906105cb919061314d565b61108533610793565b806110986001546001600160a01b031690565b604051631c5da14d60e11b81526001600160601b03831660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa1580156110e5573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061110991906130c8565b6001600160a01b0316336001600160a01b0316146111345780610d1d6001546001600160a01b031690565b5f5f8051602061357783398151915260018101546040516338cfbb0d60e11b81526001600160601b038616600482015291925033915f916001600160a01b03169063719f761a906024016020604051808303815f875af115801561119a573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906111be919061306a565b604080516001600160601b0388811682526001600160a01b038616602083015283168183015290519192507f560ee8c0a69c814defd43602fe8eb63663bc8df678239a581d560f7ed67afda8919081900360600190a160018301546040516331449be960e11b81526001600160a01b039091169063628937d2906112489085908590600401613117565b5f604051808303815f87803b15801561125f575f80fd5b505af1158015611271573d5f803e3d5ffd5b505050505050505050565b5f61128633610793565b5f8051602061357783398151915280546040805160e0810180835263bc1b392d60e01b9052905133926001600160a01b031691638105cc7f91819073__$94a2c899be079b00d952d0d84fffaa5c34$__9063bc1b392d9060e4808501916020918187030181865af41580156112fd573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611321919061306a565b6001600160601b03168152602001886001600160601b03168152602001611346602190565b60ff1681526020015f151581526020015f6001600160a01b03168152602001846001600160a01b0316815260200160405180602001604052805f8152508152506040518263ffffffff1660e01b81526004016113a29190612cc1565b6020604051808303815f875af11580156113be573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906113e2919061306a565b6001830154604051630c7b317360e21b81526001600160601b0380841660048301528089166024830152871660448201529194506001600160a01b0316906331ecc5cc906064015f604051808303815f87803b158015611440575f80fd5b505af1158015611452573d5f803e3d5ffd5b5050604080516001600160601b03878116825289811660208301526001600160a01b038616828401528816606082015290517fbba1f5229b1626c1685c27c3604dd3296a6a69391e1ed009f8c176aa63b8e1d79350908190036080019150a1600182015460405163e3a817cd60e01b81526001600160a01b039091169063e3a817cd906109ea9084908890600401613117565b336114ee611877565b6001600160a01b0316816001600160a01b0316146115295760405162d1953b60e31b81526001600160a01b0382166004820152602401610dc2565b816001600160a01b03163b5f0361155e576040516361798f2f60e11b81526001600160a01b0383166004820152602401610dc2565b61156782612160565b5050565b61157433610793565b465f80516020613577833981519152600101546001600160a01b031663562119ee85600a6040516001600160e01b031960e085901b1681526001600160601b03909216600483015260ff1660248201526044810184905264ffffffffff861660648201526084810185905260a4015f604051808303815f87803b1580156115f9575f80fd5b505af115801561160b573d5f803e3d5ffd5b5050604080516001600160601b0388168152602081018590527f471a2845289928aa76c379fe01dc0310ebf5000e7a977935811e173bdda224bd935001905060405180910390a150505050565b5f61166233610793565b3361166e8482856121b9565b949350505050565b5f805f8051602061353783398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af41580156116e2573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906117069190613177565b15611791576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015611767573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061178b91906130c8565b91505090565b54600160601b90046001600160a01b0316919050565b5f8051602061355783398151915280545f9190600160a01b900460ff166117ce575f61178b565b638fb3603760e01b91505090565b6117e533610793565b505050565b6117f333610793565b7f6548005c3f4340f82f348c576c0ff69f7f529cadd5ad41f96aae61abceeaa30154604051632a80f67360e01b81526001600160601b0384166004820152602481018390526001600160a01b0390911690632a80f673906044015b5f604051808303815f87803b158015611865575f80fd5b505af1158015610f7e573d5f803e3d5ffd5b5f80516020613557833981519152546001600160a01b031690565b61189b33610793565b7f6548005c3f4340f82f348c576c0ff69f7f529cadd5ad41f96aae61abceeaa30154604051635ecf260f60e01b81526001600160601b038416600482015264ffffffffff831660248201526001600160a01b0390911690635ecf260f9060440161184e565b61190933610793565b8061191c6001546001600160a01b031690565b604051631c5da14d60e11b81526001600160601b03831660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015611969573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061198d91906130c8565b6001600160a01b0316336001600160a01b0316146119b85780610d1d6001546001600160a01b031690565b5f5f805160206135778339815191526001810154604051636f52667960e11b81526001600160601b038616600482015291925033915f9182916001600160a01b039091169063dea4ccf29060240160408051808303815f875af1158015611a21573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611a4591906131c4565b915091505f611a5483836122f0565b604080516001600160601b038a811682526001600160a01b038816602083015283168183015290519192507fce678d95d8c12c4b7d7089c8f7db920fe5cc49352696a601b9e41f65ea3fd239919081900360600190a160018501546040516331449be960e11b81526001600160a01b039091169063628937d290611ade9087908590600401613117565b5f604051808303815f87803b158015611af5575f80fd5b505af1158015611b07573d5f803e3d5ffd5b5050505050505050505050565b5f611b1e33610793565b61166e8484846121b9565b5f611b3333610793565b82611b466001546001600160a01b031690565b604051631c5da14d60e11b81526001600160601b03831660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015611b93573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611bb791906130c8565b6001600160a01b0316336001600160a01b031614611be25780610d1d6001546001600160a01b031690565b5092915050565b5f805160206135578339815191525f80611c21611c04611877565b8730611c1360045f8a8c6131f1565b611c1c91613218565b61237b565b9150915081610f7e5763ffffffff811615611cbc57825460ff60a01b1916600160a01b178355611c4f611877565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b8152600401611c7e9392919061324e565b5f604051808303815f87803b158015611c95575f80fd5b505af1158015611ca7573d5f803e3d5ffd5b5050845460ff60a01b1916855550610f7e9050565b60405162d1953b60e31b81526001600160a01b0387166004820152602401610dc2565b5f805f8051602061353783398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015611d4b573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611d6f9190613177565b15611d9b5780546040516301ab8b6760e21b81526001600160601b039091166004820152602401610dc2565b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038581166004830152919091169063c3c5a54790602401602060405180830381865afa158015611ded573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611e119190613177565b611e395760405163b9304b0d60e01b81526001600160a01b0384166004820152602401610dc2565b6001546001600160a01b0316604051632f2a35f760e11b81526001600160a01b0385811660048301529190911690635e546bee90602401602060405180830381865afa158015611e8b573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611eaf919061306a565b81546bffffffffffffffffffffffff19166001600160601b039190911690811790915592915050565b6101f2612483565b5f805160206135978339815191528054600160401b810460ff1615906001600160401b03165f81158015611f115750825b90505f826001600160401b03166001148015611f2c5750303b155b905081158015611f3a575080155b15611f585760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315611f8257845460ff60401b1916600160401b1785555b5f805f88806020019051810190611f99919061328d565b925092509250611faa82848c6124bb565b5f80516020613577833981519152611fc260026125fb565b81546001600160a01b0319166001600160a01b0391909116178155611fe682612702565b6001820180546001600160a01b0319166001600160a01b03929092169182179055604080516321df0da760e01b815290516321df0da7916004808201926020929091908290030181865afa158015612040573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061206491906130c8565b6002820180546001600160a01b0319166001600160a01b039283161790556001820154604080516343d752d360e01b8152905191909216916343d752d39160048083019260209291908290030181865afa1580156120c4573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906120e891906130c8565b6003820180546001600160a01b0319166001600160a01b039290921691909117905561211a638694498960e01b612975565b505050508315610c5c57845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d290602001610c53565b5f8051602061355783398151915280546001600160a01b0319166001600160a01b03831690811782556040519081527f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad90602001610843565b5f805f80516020613577833981519152600181015460405163de0eb85f60e01b81526001600160601b038089166004830152861660248201529192506001600160a01b03169063de0eb85f906044016020604051808303815f875af1158015612224573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612248919061306a565b91507fcf86366087b008a90b57f4e7b955b94599f589d7267649942abfd34305fe5b2f8585858560405161227f94939291906130e3565b60405180910390a1600181015460405163e3a817cd60e01b81526001600160a01b039091169063e3a817cd906122bb9087908790600401613117565b5f604051808303815f87803b1580156122d2575f80fd5b505af11580156122e4573d5f803e3d5ffd5b50505050509392505050565b60405163274acb3560e01b81526001600160601b038084166004830152821660248201525f9073__$3bac17678db7ae928afa209f2f44deec9c$__9063274acb3590604401602060405180830381865af4158015612350573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612374919061306a565b9392505050565b6040516001600160a01b03848116602483015283811660448301526001600160e01b0319831660648301525f9182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b179052516123e991906132cc565b5f60405180830381855afa9150503d805f8114612421576040519150601f19603f3d011682016040523d82523d5f602084013e612426565b606091505b50915091508115612478576040815110612458578080602001905181019061244e91906132e2565b9094509250612478565b602081511061247857808060200190518101906124759190613177565b93505b505094509492505050565b5f8051602061359783398151915254600160401b900460ff166124b957604051631afcd79f60e31b815260040160405180910390fd5b565b6124c3612483565b6124cb6129a1565b6001600160a01b038216156124e8576124e3826129b1565b61255f565b5f6124f360026125fb565b905061255d816001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015612534573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061255891906130c8565b6129b1565b505b6125db83846001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa15801561259f573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906125c3919061306a565b60085f8560405180602001604052805f8152506129c5565b6125eb634a531f3360e01b612975565b6117e563daf9067160e01b612975565b5f61260e6001546001600160a01b031690565b604051632392b61b60e21b8152600360048201526001600160a01b03919091169063d39e604390849073__$b659da7d8a6d2d32aa6c1e17da23dc2174$__90638e4ad86c90602401602060405180830381865af4158015612671573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061269591906131a9565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa1580156126d8573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906126fc91906130c8565b92915050565b5f806127166001546001600160a01b031690565b6040516308b09a5f60e41b81526001600160a01b0385811660048301529190911690638b09a5f0906024015f60405180830381865afa15801561275b573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526127829190810190613361565b80516040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af41580156127de573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906128029190613177565b15612853576128238160400151612817600390565b60ff9081169116141590565b1561284c57604051637dbf3cff60e11b81526001600160a01b0384166004820152602401610dc2565b5090919050565b6040516301ffc9a760e01b815263fef8804160e01b60048201526001600160a01b038416906301ffc9a790602401602060405180830381865afa15801561289c573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906128c09190613177565b6128e857604051632bf4d8e560e21b81526001600160a01b0384166004820152602401610dc2565b335f805160206135778339815191525460405163c4c79d8b60e01b81526001600160a01b03868116600483015283811660248301529091169063c4c79d8b906044015f604051808303815f875af1158015612945573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f1916820160405261296c9190810190613361565b50929392505050565b61297d612483565b6001600160e01b0319165f908152602081905260409020805460ff19166001179055565b6129a9612483565b6124b9612a6a565b6129b9612483565b6129c281612a98565b50565b6129cd612483565b6129d78287612aa9565b7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0387166cffffffffffffffffffffffffff1990911617600160601b60ff8716021760ff60681b1916600160681b851515021781557f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa301612a60838261347c565b5050505050505050565b612a72612483565b60017f9b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f0055565b612aa0612483565b6129c281612160565b612ab1612483565b612aba81612b1f565b612ac2612c27565b6001600160a01b038216612ae95760405163f17ef42d60e01b815260040160405180910390fd5b505f8051602061353783398151915280546001600160601b0316600160601b6001600160a01b0390931692909202919091179055565b612b27612483565b806001600160a01b03163b5f03612b5c5760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610dc2565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b8152634871d8b760e11b60048201526301ffc9a790602401602060405180830381865afa925050508015612bd6575060408051601f3d908101601f19168201909252612bd391810190613177565b60015b612bfe5760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610dc2565b806115675760405163fdeac91f60e01b81526001600160a01b0383166004820152602401610dc2565b612c2f612483565b6301ffc9a760e01b5f9081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b5f60208284031215612c7c575f80fd5b81356001600160e01b031981168114612374575f80fd5b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081526001600160601b0382511660208201526001600160601b03602083015116604082015260ff60408301511660608201525f6060830151612d09608084018215159052565b5060808301516001600160a01b03811660a08401525060a08301516001600160a01b03811660c08401525060c083015160e08084015261166e610100840182612c93565b6001600160601b03811681146129c2575f80fd5b5f60208284031215612d71575f80fd5b813561237481612d4d565b5f8060408385031215612d8d575f80fd5b8235612d9881612d4d565b91506020830135612da881612d4d565b809150509250929050565b634e487b7160e01b5f52604160045260245ffd5b60405160e081016001600160401b0381118282101715612de957612de9612db3565b60405290565b604051601f8201601f191681016001600160401b0381118282101715612e1757612e17612db3565b604052919050565b5f6001600160401b03821115612e3757612e37612db3565b50601f01601f191660200190565b5f82601f830112612e54575f80fd5b8135612e67612e6282612e1f565b612def565b818152846020838601011115612e7b575f80fd5b816020850160208301375f918101602001919091529392505050565b5f60208284031215612ea7575f80fd5b81356001600160401b03811115612ebc575f80fd5b61166e84828501612e45565b6001600160a01b03811681146129c2575f80fd5b5f8060408385031215612eed575f80fd5b8235612ef881612ec8565b915060208301356001600160401b03811115612f12575f80fd5b612f1e85828601612e45565b9150509250929050565b5f60208284031215612f38575f80fd5b813561237481612ec8565b803564ffffffffff81168114612f57575f80fd5b919050565b5f805f60608486031215612f6e575f80fd5b8335612f7981612d4d565b9250612f8760208501612f43565b929592945050506040919091013590565b5f805f60608486031215612faa575f80fd5b8335612fb581612d4d565b92506020840135612fc581612ec8565b91506040840135612fd581612d4d565b809150509250925092565b5f8060408385031215612ff1575f80fd5b8235612ffc81612d4d565b946020939093013593505050565b5f806040838503121561301b575f80fd5b823561302681612d4d565b915061303460208401612f43565b90509250929050565b5f6020828403121561304d575f80fd5b815162ffffff81168114612374575f80fd5b8051612f5781612d4d565b5f6020828403121561307a575f80fd5b815161237481612d4d565b600181811c9082168061309957607f821691505b6020821081036130b757634e487b7160e01b5f52602260045260245ffd5b50919050565b8051612f5781612ec8565b5f602082840312156130d8575f80fd5b815161237481612ec8565b6001600160601b0394851681526001600160a01b039390931660208401529083166040830152909116606082015260800190565b6001600160a01b039290921682526001600160601b0316602082015260400190565b6001600160401b03811681146129c2575f80fd5b5f6020828403121561315d575f80fd5b815161237481613139565b80518015158114612f57575f80fd5b5f60208284031215613187575f80fd5b61237482613168565b60ff811681146129c2575f80fd5b8051612f5781613190565b5f602082840312156131b9575f80fd5b815161237481613190565b5f80604083850312156131d5575f80fd5b82516131e081612d4d565b6020840151909250612da881612d4d565b5f80858511156131ff575f80fd5b8386111561320b575f80fd5b5050820193919092039150565b80356001600160e01b03198116906004841015611be2576001600160e01b031960049490940360031b84901b1690921692915050565b6001600160a01b03841681526040602082018190528101829052818360608301375f818301606090810191909152601f909201601f1916010192915050565b5f805f6060848603121561329f575f80fd5b83516132aa81612ec8565b60208501519093506132bb81612ec8565b6040850151909250612fd581612ec8565b5f82518060208501845e5f920191825250919050565b5f80604083850312156132f3575f80fd5b6132fc83613168565b9150602083015163ffffffff81168114612da8575f80fd5b5f82601f830112613323575f80fd5b8151613331612e6282612e1f565b818152846020838601011115613345575f80fd5b8160208501602083015e5f918101602001919091529392505050565b5f60208284031215613371575f80fd5b81516001600160401b03811115613386575f80fd5b820160e08185031215613397575f80fd5b61339f612dc7565b6133a88261305f565b81526133b66020830161305f565b60208201526133c76040830161319e565b60408201526133d860608301613168565b60608201526133e9608083016130bd565b60808201526133fa60a083016130bd565b60a082015260c08201516001600160401b03811115613417575f80fd5b61342386828501613314565b60c083015250949350505050565b601f8211156117e557805f5260205f20601f840160051c810160208510156134565750805b601f840160051c820191505b81811015613475575f8155600101613462565b5050505050565b81516001600160401b0381111561349557613495612db3565b6134a9816134a38454613085565b84613431565b6020601f8211600181146134db575f83156134c45750848201515b5f19600385901b1c1916600184901b178455613475565b5f84815260208120601f198516915b8281101561350a57878501518255602094850194600190920191016134ea565b508482101561352757868401515f19600387901b60f8161c191681555b50505050600190811b0190555056fe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a006548005c3f4340f82f348c576c0ff69f7f529cadd5ad41f96aae61abceeaa300f0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00a2646970667358221220a2f0ef6f0ab067908a590ede269fd1fee6d6b4d8aa6e2348a77568d87f4304aa64736f6c634300081a0033",
1100
+ "linkReferences": {
1101
+ "contracts/type/Amount.sol": {
1102
+ "AmountLib": [
1103
+ {
1104
+ "length": 20,
1105
+ "start": 3924
1106
+ },
1107
+ {
1108
+ "length": 20,
1109
+ "start": 9198
1110
+ }
1111
+ ]
1112
+ },
1113
+ "contracts/type/NftId.sol": {
1114
+ "NftIdLib": [
1115
+ {
1116
+ "length": 20,
1117
+ "start": 1809
1118
+ },
1119
+ {
1120
+ "length": 20,
1121
+ "start": 5017
1122
+ },
1123
+ {
1124
+ "length": 20,
1125
+ "start": 6016
1126
+ },
1127
+ {
1128
+ "length": 20,
1129
+ "start": 7657
1130
+ },
1131
+ {
1132
+ "length": 20,
1133
+ "start": 10364
1134
+ }
1135
+ ]
1136
+ },
1137
+ "contracts/type/RoleId.sol": {
1138
+ "RoleIdLib": [
1139
+ {
1140
+ "length": 20,
1141
+ "start": 4191
1142
+ }
1143
+ ]
1144
+ },
1145
+ "contracts/type/Version.sol": {
1146
+ "VersionLib": [
1147
+ {
1148
+ "length": 20,
1149
+ "start": 1605
1150
+ },
1151
+ {
1152
+ "length": 20,
1153
+ "start": 2807
1154
+ }
1155
+ ],
1156
+ "VersionPartLib": [
1157
+ {
1158
+ "length": 20,
1159
+ "start": 4239
1160
+ },
1161
+ {
1162
+ "length": 20,
1163
+ "start": 9999
1164
+ }
1165
+ ]
1166
+ }
1167
+ },
1168
+ "deployedLinkReferences": {
1169
+ "contracts/type/Amount.sol": {
1170
+ "AmountLib": [
1171
+ {
1172
+ "length": 20,
1173
+ "start": 3710
1174
+ },
1175
+ {
1176
+ "length": 20,
1177
+ "start": 8984
1178
+ }
1179
+ ]
1180
+ },
1181
+ "contracts/type/NftId.sol": {
1182
+ "NftIdLib": [
1183
+ {
1184
+ "length": 20,
1185
+ "start": 1595
1186
+ },
1187
+ {
1188
+ "length": 20,
1189
+ "start": 4803
1190
+ },
1191
+ {
1192
+ "length": 20,
1193
+ "start": 5802
1194
+ },
1195
+ {
1196
+ "length": 20,
1197
+ "start": 7443
1198
+ },
1199
+ {
1200
+ "length": 20,
1201
+ "start": 10150
1202
+ }
1203
+ ]
1204
+ },
1205
+ "contracts/type/RoleId.sol": {
1206
+ "RoleIdLib": [
1207
+ {
1208
+ "length": 20,
1209
+ "start": 3977
1210
+ }
1211
+ ]
1212
+ },
1213
+ "contracts/type/Version.sol": {
1214
+ "VersionLib": [
1215
+ {
1216
+ "length": 20,
1217
+ "start": 1391
1218
+ },
1219
+ {
1220
+ "length": 20,
1221
+ "start": 2593
1222
+ }
1223
+ ],
1224
+ "VersionPartLib": [
1225
+ {
1226
+ "length": 20,
1227
+ "start": 4025
1228
+ },
1229
+ {
1230
+ "length": 20,
1231
+ "start": 9785
1232
+ }
1233
+ ]
1234
+ }
1235
+ }
1236
+ }