@etherisc/gif-next 0.0.2-da77c50-824 → 0.0.2-db7f30b-255

Sign up to get free protection for your applications and to get access to all the features.
Files changed (724) hide show
  1. package/README.md +297 -25
  2. package/artifacts/contracts/authorization/AccessAdmin.sol/AccessAdmin.dbg.json +4 -0
  3. package/artifacts/contracts/authorization/AccessAdmin.sol/AccessAdmin.json +1293 -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 +414 -0
  8. package/artifacts/contracts/authorization/IAccess.sol/IAccess.dbg.json +4 -0
  9. package/artifacts/contracts/{instance/module/access → authorization}/IAccess.sol/IAccess.json +1 -1
  10. package/artifacts/contracts/authorization/IAccessAdmin.sol/IAccessAdmin.dbg.json +4 -0
  11. package/artifacts/contracts/authorization/IAccessAdmin.sol/IAccessAdmin.json +1060 -0
  12. package/artifacts/contracts/authorization/IAuthorization.sol/IAuthorization.dbg.json +4 -0
  13. package/artifacts/contracts/authorization/IAuthorization.sol/IAuthorization.json +295 -0
  14. package/artifacts/contracts/authorization/IServiceAuthorization.sol/IServiceAuthorization.dbg.json +4 -0
  15. package/artifacts/contracts/authorization/IServiceAuthorization.sol/IServiceAuthorization.json +167 -0
  16. package/artifacts/contracts/authorization/ReleaseAccessManager.sol/ReleaseAccessManager.dbg.json +4 -0
  17. package/artifacts/contracts/authorization/ReleaseAccessManager.sol/ReleaseAccessManager.json +1196 -0
  18. package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.dbg.json +4 -0
  19. package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.json +253 -0
  20. package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.dbg.json +4 -0
  21. package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.json +1394 -0
  22. package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.dbg.json +4 -0
  23. package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.json +470 -0
  24. package/artifacts/contracts/distribution/Distribution.sol/Distribution.dbg.json +4 -0
  25. package/artifacts/contracts/distribution/Distribution.sol/Distribution.json +1048 -0
  26. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.dbg.json +4 -0
  27. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.json +1455 -0
  28. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +4 -0
  29. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.json +838 -0
  30. package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.dbg.json +4 -0
  31. package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.json +929 -0
  32. package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.dbg.json +4 -0
  33. package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.json +961 -0
  34. package/artifacts/contracts/examples/fire/DamageLevel.sol/DamageLevelLib.dbg.json +4 -0
  35. package/artifacts/contracts/examples/fire/DamageLevel.sol/DamageLevelLib.json +22 -0
  36. package/artifacts/contracts/examples/fire/FirePool.sol/FirePool.dbg.json +4 -0
  37. package/artifacts/contracts/examples/fire/FirePool.sol/FirePool.json +1530 -0
  38. package/artifacts/contracts/examples/fire/FirePoolAuthorization.sol/FirePoolAuthorization.dbg.json +4 -0
  39. package/artifacts/contracts/examples/fire/FirePoolAuthorization.sol/FirePoolAuthorization.json +470 -0
  40. package/artifacts/contracts/examples/fire/FireProduct.sol/FireProduct.dbg.json +4 -0
  41. package/artifacts/contracts/examples/fire/FireProduct.sol/FireProduct.json +2064 -0
  42. package/artifacts/contracts/examples/fire/FireProductAuthorization.sol/FireProductAuthorization.dbg.json +4 -0
  43. package/artifacts/contracts/examples/fire/FireProductAuthorization.sol/FireProductAuthorization.json +470 -0
  44. package/artifacts/contracts/examples/fire/FireUSD.sol/FireUSD.dbg.json +4 -0
  45. package/artifacts/contracts/examples/fire/FireUSD.sol/FireUSD.json +376 -0
  46. package/artifacts/contracts/examples/unpermissioned/SimpleDistribution.sol/SimpleDistribution.dbg.json +4 -0
  47. package/artifacts/contracts/examples/unpermissioned/SimpleDistribution.sol/SimpleDistribution.json +1463 -0
  48. package/artifacts/contracts/examples/unpermissioned/SimpleOracle.sol/SimpleOracle.dbg.json +4 -0
  49. package/artifacts/contracts/examples/unpermissioned/SimpleOracle.sol/SimpleOracle.json +1223 -0
  50. package/artifacts/contracts/examples/unpermissioned/SimplePool.sol/SimplePool.dbg.json +4 -0
  51. package/artifacts/contracts/examples/unpermissioned/SimplePool.sol/SimplePool.json +1584 -0
  52. package/artifacts/contracts/examples/unpermissioned/SimpleProduct.sol/SimpleProduct.dbg.json +4 -0
  53. package/artifacts/contracts/examples/unpermissioned/SimpleProduct.sol/SimpleProduct.json +2087 -0
  54. package/artifacts/contracts/instance/BundleSet.sol/BundleSet.dbg.json +4 -0
  55. package/artifacts/contracts/instance/BundleSet.sol/BundleSet.json +703 -0
  56. package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
  57. package/artifacts/contracts/instance/IInstance.sol/IInstance.json +301 -1649
  58. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +4 -0
  59. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +702 -0
  60. package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
  61. package/artifacts/contracts/instance/Instance.sol/Instance.json +392 -1843
  62. package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.dbg.json +4 -0
  63. package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.json +1653 -0
  64. package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.dbg.json +4 -0
  65. package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.json +561 -0
  66. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +4 -0
  67. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +2058 -0
  68. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +4 -0
  69. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +995 -0
  70. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +4 -0
  71. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +722 -0
  72. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.dbg.json +4 -0
  73. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.json +3678 -0
  74. package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.dbg.json +4 -0
  75. package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.json +318 -0
  76. package/artifacts/contracts/instance/base/Cloneable.sol/Cloneable.dbg.json +4 -0
  77. package/artifacts/contracts/instance/base/Cloneable.sol/Cloneable.json +137 -0
  78. package/artifacts/contracts/instance/base/ObjectCounter.sol/ObjectCounter.dbg.json +4 -0
  79. package/artifacts/contracts/instance/base/ObjectCounter.sol/ObjectCounter.json +10 -0
  80. package/artifacts/contracts/instance/base/ObjectLifecycle.sol/ObjectLifecycle.dbg.json +4 -0
  81. package/artifacts/contracts/instance/base/ObjectLifecycle.sol/ObjectLifecycle.json +223 -0
  82. package/artifacts/contracts/instance/base/ObjectSet.sol/ObjectSet.dbg.json +4 -0
  83. package/artifacts/contracts/instance/base/ObjectSet.sol/ObjectSet.json +181 -0
  84. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.dbg.json +4 -0
  85. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.json +129 -0
  86. package/artifacts/contracts/instance/module/IBundle.sol/IBundle.dbg.json +4 -0
  87. package/artifacts/contracts/instance/module/{bundle/IBundle.sol → IBundle.sol}/IBundle.json +1 -1
  88. package/artifacts/contracts/instance/module/IComponents.sol/IComponents.dbg.json +4 -0
  89. package/artifacts/contracts/instance/module/IComponents.sol/IComponents.json +10 -0
  90. package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.dbg.json +4 -0
  91. package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.json +10 -0
  92. package/artifacts/contracts/instance/module/IPolicy.sol/IPolicy.dbg.json +4 -0
  93. package/artifacts/contracts/instance/module/{policy/IPolicy.sol → IPolicy.sol}/IPolicy.json +1 -1
  94. package/artifacts/contracts/instance/module/IRisk.sol/IRisk.dbg.json +4 -0
  95. package/artifacts/contracts/instance/module/{pool/IPoolModule.sol/IPool.json → IRisk.sol/IRisk.json} +2 -2
  96. package/artifacts/contracts/mock/Dip.sol/Dip.dbg.json +4 -0
  97. package/artifacts/contracts/mock/Dip.sol/Dip.json +376 -0
  98. package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.dbg.json +4 -0
  99. package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.json +1031 -0
  100. package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.dbg.json +4 -0
  101. package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.json +478 -0
  102. package/artifacts/contracts/oracle/IOracle.sol/IOracle.dbg.json +4 -0
  103. package/artifacts/contracts/oracle/IOracle.sol/IOracle.json +52 -0
  104. package/artifacts/contracts/oracle/IOracleComponent.sol/IOracleComponent.dbg.json +4 -0
  105. package/artifacts/contracts/oracle/IOracleComponent.sol/IOracleComponent.json +788 -0
  106. package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.dbg.json +4 -0
  107. package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.json +709 -0
  108. package/artifacts/contracts/oracle/Oracle.sol/Oracle.dbg.json +4 -0
  109. package/artifacts/contracts/oracle/Oracle.sol/Oracle.json +907 -0
  110. package/artifacts/contracts/oracle/OracleService.sol/OracleService.dbg.json +4 -0
  111. package/artifacts/contracts/oracle/OracleService.sol/OracleService.json +966 -0
  112. package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.dbg.json +4 -0
  113. package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.json +722 -0
  114. package/artifacts/contracts/pool/BasicPool.sol/BasicPool.dbg.json +4 -0
  115. package/artifacts/contracts/pool/BasicPool.sol/BasicPool.json +1299 -0
  116. package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.dbg.json +4 -0
  117. package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.json +470 -0
  118. package/artifacts/contracts/pool/BundleService.sol/BundleService.dbg.json +4 -0
  119. package/artifacts/contracts/pool/BundleService.sol/BundleService.json +1465 -0
  120. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.dbg.json +4 -0
  121. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.json +834 -0
  122. package/artifacts/contracts/pool/IBundleService.sol/IBundleService.dbg.json +4 -0
  123. package/artifacts/contracts/pool/IBundleService.sol/IBundleService.json +960 -0
  124. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.dbg.json +4 -0
  125. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.json +960 -0
  126. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.dbg.json +4 -0
  127. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.json +1283 -0
  128. package/artifacts/contracts/pool/Pool.sol/Pool.dbg.json +4 -0
  129. package/artifacts/contracts/pool/Pool.sol/Pool.json +1098 -0
  130. package/artifacts/contracts/pool/PoolService.sol/PoolService.dbg.json +4 -0
  131. package/artifacts/contracts/pool/PoolService.sol/PoolService.json +1625 -0
  132. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.dbg.json +4 -0
  133. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.json +766 -0
  134. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.dbg.json +4 -0
  135. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.json +771 -0
  136. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +4 -0
  137. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.json +710 -0
  138. package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.dbg.json +4 -0
  139. package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.json +1173 -0
  140. package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.dbg.json +4 -0
  141. package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.json +470 -0
  142. package/artifacts/contracts/product/ClaimService.sol/ClaimService.dbg.json +4 -0
  143. package/artifacts/contracts/product/ClaimService.sol/ClaimService.json +1431 -0
  144. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +4 -0
  145. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.json +838 -0
  146. package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.dbg.json +4 -0
  147. package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.json +546 -0
  148. package/artifacts/contracts/product/IClaimService.sol/IClaimService.dbg.json +4 -0
  149. package/artifacts/contracts/product/IClaimService.sol/IClaimService.json +942 -0
  150. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.dbg.json +4 -0
  151. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.json +925 -0
  152. package/artifacts/contracts/product/IPricingService.sol/IPricingService.dbg.json +4 -0
  153. package/artifacts/contracts/product/IPricingService.sol/IPricingService.json +578 -0
  154. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.dbg.json +4 -0
  155. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.json +1012 -0
  156. package/artifacts/contracts/product/IRiskService.sol/IRiskService.dbg.json +4 -0
  157. package/artifacts/contracts/product/IRiskService.sol/IRiskService.json +429 -0
  158. package/artifacts/contracts/product/PolicyService.sol/PolicyService.dbg.json +4 -0
  159. package/artifacts/contracts/product/PolicyService.sol/PolicyService.json +1302 -0
  160. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +4 -0
  161. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.json +782 -0
  162. package/artifacts/contracts/product/PricingService.sol/PricingService.dbg.json +4 -0
  163. package/artifacts/contracts/product/PricingService.sol/PricingService.json +907 -0
  164. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.dbg.json +4 -0
  165. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.json +762 -0
  166. package/artifacts/contracts/product/Product.sol/Product.dbg.json +4 -0
  167. package/artifacts/contracts/product/Product.sol/Product.json +1131 -0
  168. package/artifacts/contracts/product/RiskService.sol/RiskService.dbg.json +4 -0
  169. package/artifacts/contracts/product/RiskService.sol/RiskService.json +622 -0
  170. package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.dbg.json +4 -0
  171. package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.json +694 -0
  172. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
  173. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +242 -12
  174. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
  175. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +976 -119
  176. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +4 -0
  177. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +1019 -0
  178. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +4 -0
  179. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.json +39 -0
  180. package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
  181. package/artifacts/contracts/registry/Registry.sol/Registry.json +1403 -220
  182. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.dbg.json +4 -0
  183. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.json +1886 -0
  184. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +4 -0
  185. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +1246 -0
  186. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +4 -0
  187. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +713 -0
  188. package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.dbg.json +4 -0
  189. package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.json +205 -0
  190. package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.dbg.json +4 -0
  191. package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.json +1067 -0
  192. package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.dbg.json +4 -0
  193. package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.json +272 -0
  194. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +4 -0
  195. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +661 -0
  196. package/artifacts/contracts/shared/Component.sol/Component.dbg.json +4 -0
  197. package/artifacts/contracts/shared/Component.sol/Component.json +725 -0
  198. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.dbg.json +4 -0
  199. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.json +1785 -0
  200. package/artifacts/contracts/shared/ComponentServiceHelperLib.sol/ComponentServiceHelperLib.dbg.json +4 -0
  201. package/artifacts/contracts/shared/ComponentServiceHelperLib.sol/ComponentServiceHelperLib.json +206 -0
  202. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.dbg.json +4 -0
  203. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.json +810 -0
  204. package/artifacts/contracts/shared/ComponentVerifyingService.sol/ComponentVerifyingService.dbg.json +4 -0
  205. package/artifacts/contracts/{instance/service/IProductService.sol/IProductService.json → shared/ComponentVerifyingService.sol/ComponentVerifyingService.json} +232 -235
  206. package/artifacts/contracts/shared/ContractLib.sol/ContractLib.dbg.json +4 -0
  207. package/artifacts/contracts/shared/ContractLib.sol/ContractLib.json +92 -0
  208. package/artifacts/contracts/shared/IComponent.sol/IComponent.dbg.json +4 -0
  209. package/artifacts/contracts/shared/IComponent.sol/IComponent.json +632 -0
  210. package/artifacts/contracts/shared/IComponentService.sol/IComponentService.dbg.json +4 -0
  211. package/artifacts/contracts/shared/IComponentService.sol/IComponentService.json +1360 -0
  212. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.dbg.json +4 -0
  213. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.json +723 -0
  214. package/artifacts/contracts/shared/IKeyValueStore.sol/IKeyValueStore.dbg.json +4 -0
  215. package/artifacts/contracts/shared/IKeyValueStore.sol/IKeyValueStore.json +510 -0
  216. package/artifacts/contracts/shared/ILifecycle.sol/ILifecycle.dbg.json +4 -0
  217. package/artifacts/contracts/{instance/module/lifecycle → shared}/ILifecycle.sol/ILifecycle.json +65 -53
  218. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +4 -0
  219. package/artifacts/contracts/{components/IBaseComponent.sol/IBaseComponent.json → shared/INftOwnable.sol/INftOwnable.json} +47 -74
  220. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.dbg.json +4 -0
  221. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.json +175 -0
  222. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
  223. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +113 -24
  224. package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.dbg.json +4 -0
  225. package/artifacts/contracts/{registry → shared}/IRegistryLinked.sol/IRegistryLinked.json +13 -2
  226. package/artifacts/contracts/shared/IService.sol/IService.dbg.json +4 -0
  227. package/artifacts/contracts/{instance/service/IComponentOwnerService.sol/IComponentOwnerService.json → shared/IService.sol/IService.json} +182 -171
  228. package/artifacts/contracts/shared/InitializableERC165.sol/InitializableERC165.dbg.json +4 -0
  229. package/artifacts/contracts/shared/InitializableERC165.sol/InitializableERC165.json +53 -0
  230. package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.dbg.json +4 -0
  231. package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.json +829 -0
  232. package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.dbg.json +4 -0
  233. package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.json +538 -0
  234. package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.dbg.json +4 -0
  235. package/artifacts/contracts/{instance/module/lifecycle/ILifecycle.sol/ILifecycleModule.json → shared/Lifecycle.sol/Lifecycle.json} +50 -58
  236. package/artifacts/contracts/shared/NftIdSet.sol/NftIdSet.dbg.json +4 -0
  237. package/artifacts/contracts/shared/NftIdSet.sol/NftIdSet.json +306 -0
  238. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +4 -0
  239. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +209 -0
  240. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.dbg.json +4 -0
  241. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.json +198 -0
  242. package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
  243. package/artifacts/contracts/shared/Registerable.sol/Registerable.json +224 -23
  244. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.dbg.json +4 -0
  245. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.json +58 -0
  246. package/artifacts/contracts/shared/Service.sol/Service.dbg.json +4 -0
  247. package/artifacts/contracts/{instance/service/IPoolService.sol/IPoolService.json → shared/Service.sol/Service.json} +239 -173
  248. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +4 -0
  249. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +511 -0
  250. package/artifacts/contracts/shared/TokenHandlerDeployerLib.sol/TokenHandlerDeployerLib.dbg.json +4 -0
  251. package/artifacts/contracts/shared/TokenHandlerDeployerLib.sol/TokenHandlerDeployerLib.json +108 -0
  252. package/artifacts/contracts/staking/IStaking.sol/IStaking.dbg.json +4 -0
  253. package/artifacts/contracts/staking/IStaking.sol/IStaking.json +1465 -0
  254. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.dbg.json +4 -0
  255. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.json +1043 -0
  256. package/artifacts/contracts/staking/StakeManagerLib.sol/StakeManagerLib.dbg.json +4 -0
  257. package/artifacts/contracts/staking/StakeManagerLib.sol/StakeManagerLib.json +440 -0
  258. package/artifacts/contracts/staking/Staking.sol/Staking.dbg.json +4 -0
  259. package/artifacts/contracts/staking/Staking.sol/Staking.json +1880 -0
  260. package/artifacts/contracts/staking/StakingLifecycle.sol/StakingLifecycle.dbg.json +4 -0
  261. package/artifacts/contracts/staking/StakingLifecycle.sol/StakingLifecycle.json +205 -0
  262. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.dbg.json +4 -0
  263. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.json +772 -0
  264. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.dbg.json +4 -0
  265. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.json +587 -0
  266. package/artifacts/contracts/staking/StakingService.sol/StakingService.dbg.json +4 -0
  267. package/artifacts/contracts/staking/StakingService.sol/StakingService.json +1249 -0
  268. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.dbg.json +4 -0
  269. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.json +710 -0
  270. package/artifacts/contracts/staking/StakingStore.sol/StakingStore.dbg.json +4 -0
  271. package/artifacts/contracts/staking/StakingStore.sol/StakingStore.json +2283 -0
  272. package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.dbg.json +4 -0
  273. package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.json +607 -0
  274. package/artifacts/contracts/type/AddressSet.sol/LibAddressSet.dbg.json +4 -0
  275. package/artifacts/contracts/type/AddressSet.sol/LibAddressSet.json +10 -0
  276. package/artifacts/contracts/type/Amount.sol/AmountLib.dbg.json +4 -0
  277. package/artifacts/contracts/type/Amount.sol/AmountLib.json +398 -0
  278. package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.dbg.json +4 -0
  279. package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.json +225 -0
  280. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.dbg.json +4 -0
  281. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.json +203 -0
  282. package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.dbg.json +4 -0
  283. package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.json +104 -0
  284. package/artifacts/contracts/type/Fee.sol/FeeLib.dbg.json +4 -0
  285. package/artifacts/contracts/type/Fee.sol/FeeLib.json +317 -0
  286. package/artifacts/contracts/type/Key32.sol/Key32Lib.dbg.json +4 -0
  287. package/artifacts/contracts/type/Key32.sol/Key32Lib.json +125 -0
  288. package/artifacts/contracts/type/NftId.sol/NftIdLib.dbg.json +4 -0
  289. package/artifacts/contracts/type/NftId.sol/NftIdLib.json +209 -0
  290. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.dbg.json +4 -0
  291. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.json +33 -0
  292. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.dbg.json +4 -0
  293. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.json +239 -0
  294. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.dbg.json +4 -0
  295. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.json +209 -0
  296. package/artifacts/contracts/type/Referral.sol/ReferralLib.dbg.json +4 -0
  297. package/artifacts/contracts/type/Referral.sol/ReferralLib.json +142 -0
  298. package/artifacts/contracts/type/RequestId.sol/RequestIdLib.dbg.json +4 -0
  299. package/artifacts/contracts/type/RequestId.sol/RequestIdLib.json +204 -0
  300. package/artifacts/contracts/type/RiskId.sol/RiskIdLib.dbg.json +4 -0
  301. package/artifacts/contracts/type/RiskId.sol/RiskIdLib.json +142 -0
  302. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.dbg.json +4 -0
  303. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.json +369 -0
  304. package/artifacts/contracts/type/Seconds.sol/SecondsLib.dbg.json +4 -0
  305. package/artifacts/contracts/type/Seconds.sol/SecondsLib.json +246 -0
  306. package/artifacts/contracts/type/Selector.sol/SelectorLib.dbg.json +4 -0
  307. package/artifacts/contracts/type/Selector.sol/SelectorLib.json +129 -0
  308. package/artifacts/contracts/type/Selector.sol/SelectorSetLib.dbg.json +4 -0
  309. package/artifacts/contracts/type/Selector.sol/SelectorSetLib.json +10 -0
  310. package/artifacts/contracts/type/StateId.sol/StateIdLib.dbg.json +4 -0
  311. package/artifacts/contracts/type/StateId.sol/StateIdLib.json +105 -0
  312. package/artifacts/contracts/type/String.sol/StrLib.dbg.json +4 -0
  313. package/artifacts/contracts/type/String.sol/StrLib.json +132 -0
  314. package/artifacts/contracts/type/Timestamp.sol/TimestampLib.dbg.json +4 -0
  315. package/artifacts/contracts/type/Timestamp.sol/TimestampLib.json +312 -0
  316. package/artifacts/contracts/type/UFixed.sol/MathLib.dbg.json +4 -0
  317. package/artifacts/contracts/type/UFixed.sol/MathLib.json +16 -0
  318. package/artifacts/contracts/type/UFixed.sol/UFixedLib.dbg.json +4 -0
  319. package/artifacts/contracts/type/UFixed.sol/UFixedLib.json +548 -0
  320. package/artifacts/contracts/type/Version.sol/VersionLib.dbg.json +4 -0
  321. package/artifacts/contracts/type/Version.sol/VersionLib.json +177 -0
  322. package/artifacts/contracts/type/Version.sol/VersionPartLib.dbg.json +4 -0
  323. package/artifacts/contracts/type/Version.sol/VersionPartLib.json +68 -0
  324. package/artifacts/contracts/upgradeability/IVersionable.sol/IVersionable.dbg.json +4 -0
  325. package/artifacts/contracts/upgradeability/IVersionable.sol/IVersionable.json +55 -0
  326. package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.dbg.json +4 -0
  327. package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.json +602 -0
  328. package/artifacts/contracts/upgradeability/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +4 -0
  329. package/artifacts/contracts/upgradeability/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +129 -0
  330. package/artifacts/contracts/upgradeability/Versionable.sol/Versionable.dbg.json +4 -0
  331. package/artifacts/contracts/upgradeability/Versionable.sol/Versionable.json +78 -0
  332. package/contracts/authorization/AccessAdmin.sol +596 -0
  333. package/contracts/authorization/AccessManagerCloneable.sol +16 -0
  334. package/contracts/authorization/Authorization.sol +289 -0
  335. package/contracts/authorization/IAccess.sol +49 -0
  336. package/contracts/authorization/IAccessAdmin.sol +137 -0
  337. package/contracts/authorization/IAuthorization.sol +60 -0
  338. package/contracts/authorization/IServiceAuthorization.sol +40 -0
  339. package/contracts/authorization/ReleaseAccessManager.sol +38 -0
  340. package/contracts/authorization/ServiceAuthorization.sol +106 -0
  341. package/contracts/distribution/BasicDistribution.sol +139 -0
  342. package/contracts/distribution/BasicDistributionAuthorization.sol +47 -0
  343. package/contracts/distribution/Distribution.sol +285 -0
  344. package/contracts/distribution/DistributionService.sol +355 -0
  345. package/contracts/distribution/DistributionServiceManager.sol +39 -0
  346. package/contracts/distribution/IDistributionComponent.sol +52 -0
  347. package/contracts/distribution/IDistributionService.sol +101 -0
  348. package/contracts/examples/fire/DamageLevel.sol +59 -0
  349. package/contracts/examples/fire/FirePool.sol +73 -0
  350. package/contracts/examples/fire/FirePoolAuthorization.sol +34 -0
  351. package/contracts/examples/fire/FireProduct.sol +415 -0
  352. package/contracts/examples/fire/FireProductAuthorization.sol +44 -0
  353. package/contracts/examples/fire/FireUSD.sol +26 -0
  354. package/contracts/examples/unpermissioned/SimpleDistribution.sol +50 -0
  355. package/contracts/examples/unpermissioned/SimpleOracle.sol +137 -0
  356. package/contracts/examples/unpermissioned/SimplePool.sol +76 -0
  357. package/contracts/examples/unpermissioned/SimpleProduct.sol +351 -0
  358. package/contracts/instance/BundleSet.sol +126 -0
  359. package/contracts/instance/IInstance.sol +59 -43
  360. package/contracts/instance/IInstanceService.sol +72 -0
  361. package/contracts/instance/Instance.sol +218 -48
  362. package/contracts/instance/InstanceAdmin.sol +279 -0
  363. package/contracts/instance/InstanceAuthorizationV3.sol +194 -0
  364. package/contracts/instance/InstanceReader.sol +495 -0
  365. package/contracts/instance/InstanceService.sol +413 -0
  366. package/contracts/instance/InstanceServiceManager.sol +39 -0
  367. package/contracts/instance/InstanceStore.sol +287 -0
  368. package/contracts/instance/base/BalanceStore.sol +123 -0
  369. package/contracts/instance/base/Cloneable.sol +28 -0
  370. package/contracts/instance/base/ObjectCounter.sol +21 -0
  371. package/contracts/instance/base/ObjectLifecycle.sol +111 -0
  372. package/contracts/instance/base/ObjectSet.sol +79 -0
  373. package/contracts/instance/module/IAccess.sol +46 -0
  374. package/contracts/instance/module/IBundle.sol +20 -0
  375. package/contracts/instance/module/IComponents.sol +51 -0
  376. package/contracts/instance/module/IDistribution.sol +41 -0
  377. package/contracts/instance/module/IPolicy.sol +84 -0
  378. package/contracts/instance/module/IRisk.sol +11 -0
  379. package/contracts/{test/TestToken.sol → mock/Dip.sol} +6 -6
  380. package/contracts/oracle/BasicOracle.sol +47 -0
  381. package/contracts/oracle/BasicOracleAuthorization.sol +46 -0
  382. package/contracts/oracle/IOracle.sol +36 -0
  383. package/contracts/oracle/IOracleComponent.sol +33 -0
  384. package/contracts/oracle/IOracleService.sol +66 -0
  385. package/contracts/oracle/Oracle.sol +156 -0
  386. package/contracts/oracle/OracleService.sol +291 -0
  387. package/contracts/oracle/OracleServiceManager.sol +39 -0
  388. package/contracts/pool/BasicPool.sol +154 -0
  389. package/contracts/pool/BasicPoolAuthorization.sol +57 -0
  390. package/contracts/pool/BundleService.sol +493 -0
  391. package/contracts/pool/BundleServiceManager.sol +39 -0
  392. package/contracts/pool/IBundleService.sol +143 -0
  393. package/contracts/pool/IPoolComponent.sol +68 -0
  394. package/contracts/pool/IPoolService.sol +167 -0
  395. package/contracts/pool/Pool.sol +335 -0
  396. package/contracts/pool/PoolService.sol +544 -0
  397. package/contracts/pool/PoolServiceManager.sol +39 -0
  398. package/contracts/product/ApplicationService.sol +259 -0
  399. package/contracts/product/ApplicationServiceManager.sol +38 -0
  400. package/contracts/product/BasicProduct.sol +53 -0
  401. package/contracts/product/BasicProductAuthorization.sol +42 -0
  402. package/contracts/product/ClaimService.sol +612 -0
  403. package/contracts/product/ClaimServiceManager.sol +38 -0
  404. package/contracts/product/IApplicationService.sol +63 -0
  405. package/contracts/product/IClaimService.sol +123 -0
  406. package/contracts/product/IPolicyService.sol +80 -0
  407. package/contracts/product/IPricingService.sol +39 -0
  408. package/contracts/product/IProductComponent.sol +59 -0
  409. package/contracts/product/IRiskService.sol +33 -0
  410. package/contracts/product/PolicyService.sol +691 -0
  411. package/contracts/product/PolicyServiceManager.sol +39 -0
  412. package/contracts/product/PricingService.sol +300 -0
  413. package/contracts/product/PricingServiceManager.sol +39 -0
  414. package/contracts/product/Product.sol +455 -0
  415. package/contracts/product/RiskService.sol +96 -0
  416. package/contracts/product/RiskServiceManager.sol +39 -0
  417. package/contracts/registry/ChainNft.sol +128 -40
  418. package/contracts/registry/IRegistry.sol +142 -28
  419. package/contracts/registry/IRegistryService.sol +62 -0
  420. package/contracts/registry/ITransferInterceptor.sol +6 -0
  421. package/contracts/registry/Registry.sol +618 -282
  422. package/contracts/registry/RegistryAdmin.sol +448 -0
  423. package/contracts/registry/RegistryService.sol +241 -0
  424. package/contracts/registry/RegistryServiceManager.sol +53 -0
  425. package/contracts/registry/ReleaseLifecycle.sol +30 -0
  426. package/contracts/registry/ReleaseRegistry.sol +501 -0
  427. package/contracts/registry/ServiceAuthorizationV3.sol +194 -0
  428. package/contracts/registry/TokenRegistry.sol +315 -0
  429. package/contracts/shared/Component.sol +259 -0
  430. package/contracts/shared/ComponentService.sol +686 -0
  431. package/contracts/shared/ComponentServiceHelperLib.sol +118 -0
  432. package/contracts/shared/ComponentServiceManager.sol +38 -0
  433. package/contracts/shared/ComponentVerifyingService.sol +126 -0
  434. package/contracts/shared/ContractLib.sol +38 -0
  435. package/contracts/shared/IComponent.sol +74 -0
  436. package/contracts/shared/IComponentService.sol +121 -0
  437. package/contracts/shared/IInstanceLinkedComponent.sol +41 -0
  438. package/contracts/shared/IKeyValueStore.sol +54 -0
  439. package/contracts/shared/ILifecycle.sol +31 -0
  440. package/contracts/shared/INftOwnable.sol +25 -0
  441. package/contracts/shared/IPolicyHolder.sol +35 -0
  442. package/contracts/shared/IRegisterable.sol +23 -21
  443. package/contracts/shared/IRegistryLinked.sol +11 -0
  444. package/contracts/shared/IService.sol +25 -0
  445. package/contracts/shared/InitializableERC165.sol +27 -0
  446. package/contracts/shared/InstanceLinkedComponent.sol +213 -0
  447. package/contracts/shared/KeyValueStore.sol +131 -0
  448. package/contracts/shared/Lifecycle.sol +88 -0
  449. package/contracts/shared/NftIdSet.sol +65 -0
  450. package/contracts/shared/NftOwnable.sol +127 -0
  451. package/contracts/shared/PolicyHolder.sol +62 -0
  452. package/contracts/shared/Registerable.sol +62 -63
  453. package/contracts/shared/RegistryLinked.sol +44 -0
  454. package/contracts/shared/Service.sol +84 -0
  455. package/contracts/shared/TokenHandler.sol +180 -0
  456. package/contracts/shared/TokenHandlerDeployerLib.sol +12 -0
  457. package/contracts/staking/IStaking.sol +168 -0
  458. package/contracts/staking/IStakingService.sol +157 -0
  459. package/contracts/staking/StakeManagerLib.sol +224 -0
  460. package/contracts/staking/Staking.sol +497 -0
  461. package/contracts/staking/StakingLifecycle.sol +23 -0
  462. package/contracts/staking/StakingManager.sol +52 -0
  463. package/contracts/staking/StakingReader.sol +190 -0
  464. package/contracts/staking/StakingService.sol +407 -0
  465. package/contracts/staking/StakingServiceManager.sol +44 -0
  466. package/contracts/staking/StakingStore.sol +605 -0
  467. package/contracts/staking/TargetManagerLib.sol +211 -0
  468. package/contracts/{types → type}/AddressSet.sol +1 -1
  469. package/contracts/type/Amount.sol +150 -0
  470. package/contracts/{types → type}/Blocknumber.sol +27 -3
  471. package/contracts/type/ClaimId.sol +80 -0
  472. package/contracts/type/DistributorType.sol +55 -0
  473. package/contracts/type/Fee.sol +66 -0
  474. package/contracts/type/Key32.sol +50 -0
  475. package/contracts/type/NftId.sol +79 -0
  476. package/contracts/type/NftIdSet.sol +62 -0
  477. package/contracts/type/ObjectType.sol +276 -0
  478. package/contracts/type/PayoutId.sol +82 -0
  479. package/contracts/type/Referral.sol +90 -0
  480. package/contracts/type/RequestId.sol +75 -0
  481. package/contracts/type/RiskId.sol +57 -0
  482. package/contracts/type/RoleId.sol +162 -0
  483. package/contracts/type/Seconds.sol +101 -0
  484. package/contracts/type/Selector.sol +102 -0
  485. package/contracts/{types → type}/StateId.sol +60 -6
  486. package/contracts/type/String.sol +53 -0
  487. package/contracts/{types → type}/Timestamp.sol +38 -15
  488. package/contracts/type/UFixed.sol +355 -0
  489. package/contracts/{types → type}/Version.sol +46 -27
  490. package/contracts/upgradeability/IVersionable.sol +53 -0
  491. package/contracts/upgradeability/ProxyManager.sol +232 -0
  492. package/contracts/upgradeability/UpgradableProxyWithAdmin.sol +14 -0
  493. package/contracts/upgradeability/Versionable.sol +59 -0
  494. package/package.json +12 -7
  495. package/artifacts/contracts/components/BaseComponent.sol/BaseComponent.dbg.json +0 -4
  496. package/artifacts/contracts/components/BaseComponent.sol/BaseComponent.json +0 -174
  497. package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.dbg.json +0 -4
  498. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.dbg.json +0 -4
  499. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.json +0 -356
  500. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.dbg.json +0 -4
  501. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.json +0 -279
  502. package/artifacts/contracts/components/Pool.sol/Pool.dbg.json +0 -4
  503. package/artifacts/contracts/components/Pool.sol/Pool.json +0 -387
  504. package/artifacts/contracts/components/Product.sol/Product.dbg.json +0 -4
  505. package/artifacts/contracts/components/Product.sol/Product.json +0 -305
  506. package/artifacts/contracts/experiment/errors/Require.sol/Require.dbg.json +0 -4
  507. package/artifacts/contracts/experiment/errors/Require.sol/Require.json +0 -105
  508. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.dbg.json +0 -4
  509. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.json +0 -105
  510. package/artifacts/contracts/experiment/inheritance/A.sol/A.dbg.json +0 -4
  511. package/artifacts/contracts/experiment/inheritance/A.sol/A.json +0 -128
  512. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.dbg.json +0 -4
  513. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.json +0 -42
  514. package/artifacts/contracts/experiment/inheritance/B.sol/B.dbg.json +0 -4
  515. package/artifacts/contracts/experiment/inheritance/B.sol/B.json +0 -76
  516. package/artifacts/contracts/experiment/inheritance/C.sol/C.dbg.json +0 -4
  517. package/artifacts/contracts/experiment/inheritance/C.sol/C.json +0 -89
  518. package/artifacts/contracts/experiment/inheritance/IA.sol/IA.dbg.json +0 -4
  519. package/artifacts/contracts/experiment/inheritance/IA.sol/IA.json +0 -128
  520. package/artifacts/contracts/experiment/inheritance/IA.sol/ISharedA.dbg.json +0 -4
  521. package/artifacts/contracts/experiment/inheritance/IA.sol/ISharedA.json +0 -37
  522. package/artifacts/contracts/experiment/inheritance/IB.sol/IB.dbg.json +0 -4
  523. package/artifacts/contracts/experiment/inheritance/IB.sol/IB.json +0 -50
  524. package/artifacts/contracts/experiment/inheritance/IC.sol/IC.dbg.json +0 -4
  525. package/artifacts/contracts/experiment/inheritance/IC.sol/IC.json +0 -63
  526. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.dbg.json +0 -4
  527. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.json +0 -59
  528. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.dbg.json +0 -4
  529. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.json +0 -124
  530. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.dbg.json +0 -4
  531. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.json +0 -74
  532. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.dbg.json +0 -4
  533. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.json +0 -124
  534. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.dbg.json +0 -4
  535. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.json +0 -207
  536. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.dbg.json +0 -4
  537. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.json +0 -10
  538. package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.dbg.json +0 -4
  539. package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.json +0 -10
  540. package/artifacts/contracts/instance/IInstanceLinked.sol/IInstanceLinked.dbg.json +0 -4
  541. package/artifacts/contracts/instance/IInstanceLinked.sol/IInstanceLinked.json +0 -24
  542. package/artifacts/contracts/instance/IServiceLinked.sol/IServiceLinked.dbg.json +0 -4
  543. package/artifacts/contracts/instance/IServiceLinked.sol/IServiceLinked.json +0 -50
  544. package/artifacts/contracts/instance/InstanceBase.sol/InstanceBase.dbg.json +0 -4
  545. package/artifacts/contracts/instance/InstanceBase.sol/InstanceBase.json +0 -313
  546. package/artifacts/contracts/instance/module/access/Access.sol/AccessModule.dbg.json +0 -4
  547. package/artifacts/contracts/instance/module/access/Access.sol/AccessModule.json +0 -333
  548. package/artifacts/contracts/instance/module/access/IAccess.sol/IAccess.dbg.json +0 -4
  549. package/artifacts/contracts/instance/module/access/IAccess.sol/IAccessModule.dbg.json +0 -4
  550. package/artifacts/contracts/instance/module/access/IAccess.sol/IAccessModule.json +0 -333
  551. package/artifacts/contracts/instance/module/bundle/BundleModule.sol/BundleModule.dbg.json +0 -4
  552. package/artifacts/contracts/instance/module/bundle/BundleModule.sol/BundleModule.json +0 -276
  553. package/artifacts/contracts/instance/module/bundle/IBundle.sol/IBundle.dbg.json +0 -4
  554. package/artifacts/contracts/instance/module/bundle/IBundle.sol/IBundleModule.dbg.json +0 -4
  555. package/artifacts/contracts/instance/module/bundle/IBundle.sol/IBundleModule.json +0 -276
  556. package/artifacts/contracts/instance/module/component/ComponentModule.sol/ComponentModule.dbg.json +0 -4
  557. package/artifacts/contracts/instance/module/component/ComponentModule.sol/ComponentModule.json +0 -188
  558. package/artifacts/contracts/instance/module/component/IComponent.sol/IComponent.dbg.json +0 -4
  559. package/artifacts/contracts/instance/module/component/IComponent.sol/IComponent.json +0 -10
  560. package/artifacts/contracts/instance/module/component/IComponent.sol/IComponentModule.dbg.json +0 -4
  561. package/artifacts/contracts/instance/module/component/IComponent.sol/IComponentModule.json +0 -188
  562. package/artifacts/contracts/instance/module/lifecycle/ILifecycle.sol/ILifecycle.dbg.json +0 -4
  563. package/artifacts/contracts/instance/module/lifecycle/ILifecycle.sol/ILifecycleModule.dbg.json +0 -4
  564. package/artifacts/contracts/instance/module/lifecycle/LifecycleModule.sol/LifecycleModule.dbg.json +0 -4
  565. package/artifacts/contracts/instance/module/lifecycle/LifecycleModule.sol/LifecycleModule.json +0 -221
  566. package/artifacts/contracts/instance/module/policy/IPolicy.sol/IPolicy.dbg.json +0 -4
  567. package/artifacts/contracts/instance/module/policy/IPolicy.sol/IPolicyModule.dbg.json +0 -4
  568. package/artifacts/contracts/instance/module/policy/IPolicy.sol/IPolicyModule.json +0 -261
  569. package/artifacts/contracts/instance/module/policy/PolicyModule.sol/PolicyModule.dbg.json +0 -4
  570. package/artifacts/contracts/instance/module/policy/PolicyModule.sol/PolicyModule.json +0 -261
  571. package/artifacts/contracts/instance/module/pool/IPoolModule.sol/IPool.dbg.json +0 -4
  572. package/artifacts/contracts/instance/module/pool/IPoolModule.sol/IPoolModule.dbg.json +0 -4
  573. package/artifacts/contracts/instance/module/pool/IPoolModule.sol/IPoolModule.json +0 -149
  574. package/artifacts/contracts/instance/module/pool/PoolModule.sol/PoolModule.dbg.json +0 -4
  575. package/artifacts/contracts/instance/module/pool/PoolModule.sol/PoolModule.json +0 -149
  576. package/artifacts/contracts/instance/module/product/IProductModule.sol/IProductModule.dbg.json +0 -4
  577. package/artifacts/contracts/instance/module/product/IProductModule.sol/IProductModule.json +0 -10
  578. package/artifacts/contracts/instance/module/product/ProductModule.sol/ProductModule.dbg.json +0 -4
  579. package/artifacts/contracts/instance/module/product/ProductModule.sol/ProductModule.json +0 -10
  580. package/artifacts/contracts/instance/module/treasury/ITreasury.sol/ITreasury.dbg.json +0 -4
  581. package/artifacts/contracts/instance/module/treasury/ITreasury.sol/ITreasury.json +0 -10
  582. package/artifacts/contracts/instance/module/treasury/ITreasury.sol/ITreasuryModule.dbg.json +0 -4
  583. package/artifacts/contracts/instance/module/treasury/ITreasury.sol/ITreasuryModule.json +0 -538
  584. package/artifacts/contracts/instance/module/treasury/TokenHandler.sol/TokenHandler.dbg.json +0 -4
  585. package/artifacts/contracts/instance/module/treasury/TokenHandler.sol/TokenHandler.json +0 -76
  586. package/artifacts/contracts/instance/module/treasury/TreasuryModule.sol/TreasuryModule.dbg.json +0 -4
  587. package/artifacts/contracts/instance/module/treasury/TreasuryModule.sol/TreasuryModule.json +0 -538
  588. package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.dbg.json +0 -4
  589. package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.json +0 -519
  590. package/artifacts/contracts/instance/service/ComponentServiceBase.sol/ComponentServiceBase.dbg.json +0 -4
  591. package/artifacts/contracts/instance/service/ComponentServiceBase.sol/ComponentServiceBase.json +0 -300
  592. package/artifacts/contracts/instance/service/IComponentOwnerService.sol/IComponentOwnerService.dbg.json +0 -4
  593. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.dbg.json +0 -4
  594. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.dbg.json +0 -4
  595. package/artifacts/contracts/instance/service/IService.sol/IService.dbg.json +0 -4
  596. package/artifacts/contracts/instance/service/IService.sol/IService.json +0 -300
  597. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.dbg.json +0 -4
  598. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.json +0 -499
  599. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.dbg.json +0 -4
  600. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.json +0 -685
  601. package/artifacts/contracts/instance/service/ServiceBase.sol/ServiceBase.dbg.json +0 -4
  602. package/artifacts/contracts/instance/service/ServiceBase.sol/ServiceBase.json +0 -300
  603. package/artifacts/contracts/registry/IChainNft.sol/IChainNft.dbg.json +0 -4
  604. package/artifacts/contracts/registry/IChainNft.sol/IChainNft.json +0 -452
  605. package/artifacts/contracts/registry/IRegistryLinked.sol/IRegistryLinked.dbg.json +0 -4
  606. package/artifacts/contracts/shared/ERC165.sol/ERC165.dbg.json +0 -4
  607. package/artifacts/contracts/shared/ERC165.sol/ERC165.json +0 -35
  608. package/artifacts/contracts/shared/IOwnable.sol/IOwnable.dbg.json +0 -4
  609. package/artifacts/contracts/shared/IOwnable.sol/IOwnable.json +0 -24
  610. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.dbg.json +0 -4
  611. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.json +0 -164
  612. package/artifacts/contracts/shared/Versionable.sol/Versionable.dbg.json +0 -4
  613. package/artifacts/contracts/shared/Versionable.sol/Versionable.json +0 -164
  614. package/artifacts/contracts/test/TestFee.sol/TestFee.dbg.json +0 -4
  615. package/artifacts/contracts/test/TestFee.sol/TestFee.json +0 -95
  616. package/artifacts/contracts/test/TestPool.sol/TestPool.dbg.json +0 -4
  617. package/artifacts/contracts/test/TestPool.sol/TestPool.json +0 -387
  618. package/artifacts/contracts/test/TestProduct.sol/TestProduct.dbg.json +0 -4
  619. package/artifacts/contracts/test/TestProduct.sol/TestProduct.json +0 -393
  620. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.dbg.json +0 -4
  621. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.json +0 -137
  622. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.dbg.json +0 -4
  623. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.json +0 -82
  624. package/artifacts/contracts/test/TestService.sol/TestService.dbg.json +0 -4
  625. package/artifacts/contracts/test/TestService.sol/TestService.json +0 -407
  626. package/artifacts/contracts/test/TestToken.sol/TestUsdc.dbg.json +0 -4
  627. package/artifacts/contracts/test/TestToken.sol/TestUsdc.json +0 -338
  628. package/artifacts/contracts/test/TestVersion.sol/TestVersion.dbg.json +0 -4
  629. package/artifacts/contracts/test/TestVersion.sol/TestVersion.json +0 -222
  630. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.dbg.json +0 -4
  631. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.json +0 -230
  632. package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.dbg.json +0 -4
  633. package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.json +0 -10
  634. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.dbg.json +0 -4
  635. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.json +0 -174
  636. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.dbg.json +0 -4
  637. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.json +0 -10
  638. package/artifacts/contracts/types/NftId.sol/NftIdLib.dbg.json +0 -4
  639. package/artifacts/contracts/types/NftId.sol/NftIdLib.json +0 -92
  640. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.dbg.json +0 -4
  641. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.json +0 -10
  642. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.dbg.json +0 -4
  643. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.json +0 -92
  644. package/artifacts/contracts/types/StateId.sol/StateIdLib.dbg.json +0 -4
  645. package/artifacts/contracts/types/StateId.sol/StateIdLib.json +0 -92
  646. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.dbg.json +0 -4
  647. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.json +0 -236
  648. package/artifacts/contracts/types/UFixed.sol/UFixedMathLib.dbg.json +0 -4
  649. package/artifacts/contracts/types/UFixed.sol/UFixedMathLib.json +0 -453
  650. package/artifacts/contracts/types/Version.sol/VersionLib.dbg.json +0 -4
  651. package/artifacts/contracts/types/Version.sol/VersionLib.json +0 -78
  652. package/artifacts/contracts/types/Version.sol/VersionPartLib.dbg.json +0 -4
  653. package/artifacts/contracts/types/Version.sol/VersionPartLib.json +0 -30
  654. package/contracts/components/BaseComponent.sol +0 -89
  655. package/contracts/components/IBaseComponent.sol +0 -19
  656. package/contracts/components/IPoolComponent.sol +0 -57
  657. package/contracts/components/IProductComponent.sol +0 -19
  658. package/contracts/components/Pool.sol +0 -174
  659. package/contracts/components/Product.sol +0 -117
  660. package/contracts/experiment/errors/Require.sol +0 -38
  661. package/contracts/experiment/errors/Revert.sol +0 -44
  662. package/contracts/experiment/inheritance/A.sol +0 -53
  663. package/contracts/experiment/inheritance/B.sol +0 -28
  664. package/contracts/experiment/inheritance/C.sol +0 -34
  665. package/contracts/experiment/inheritance/IA.sol +0 -13
  666. package/contracts/experiment/inheritance/IB.sol +0 -10
  667. package/contracts/experiment/inheritance/IC.sol +0 -12
  668. package/contracts/experiment/statemachine/Dummy.sol +0 -27
  669. package/contracts/experiment/statemachine/ISM.sol +0 -25
  670. package/contracts/experiment/statemachine/README.md +0 -112
  671. package/contracts/experiment/statemachine/SM.sol +0 -57
  672. package/contracts/experiment/statemachine/SimpleStateMachine.sol +0 -31
  673. package/contracts/experiment/types/TypeA.sol +0 -47
  674. package/contracts/experiment/types/TypeB.sol +0 -29
  675. package/contracts/instance/IInstanceLinked.sol +0 -8
  676. package/contracts/instance/IServiceLinked.sol +0 -12
  677. package/contracts/instance/InstanceBase.sol +0 -74
  678. package/contracts/instance/module/access/Access.sol +0 -149
  679. package/contracts/instance/module/access/IAccess.sol +0 -53
  680. package/contracts/instance/module/bundle/BundleModule.sol +0 -228
  681. package/contracts/instance/module/bundle/IBundle.sol +0 -53
  682. package/contracts/instance/module/component/ComponentModule.sol +0 -104
  683. package/contracts/instance/module/component/IComponent.sol +0 -53
  684. package/contracts/instance/module/lifecycle/ILifecycle.sol +0 -47
  685. package/contracts/instance/module/lifecycle/LifecycleModule.sol +0 -89
  686. package/contracts/instance/module/policy/IPolicy.sol +0 -60
  687. package/contracts/instance/module/policy/PolicyModule.sol +0 -84
  688. package/contracts/instance/module/pool/IPoolModule.sol +0 -41
  689. package/contracts/instance/module/pool/PoolModule.sol +0 -87
  690. package/contracts/instance/module/product/IProductModule.sol +0 -6
  691. package/contracts/instance/module/product/ProductModule.sol +0 -8
  692. package/contracts/instance/module/treasury/ITreasury.sol +0 -104
  693. package/contracts/instance/module/treasury/TokenHandler.sol +0 -48
  694. package/contracts/instance/module/treasury/TreasuryModule.sol +0 -148
  695. package/contracts/instance/service/ComponentOwnerService.sol +0 -174
  696. package/contracts/instance/service/ComponentServiceBase.sol +0 -41
  697. package/contracts/instance/service/IComponentOwnerService.sol +0 -22
  698. package/contracts/instance/service/IPoolService.sol +0 -30
  699. package/contracts/instance/service/IProductService.sol +0 -58
  700. package/contracts/instance/service/IService.sol +0 -15
  701. package/contracts/instance/service/PoolService.sol +0 -98
  702. package/contracts/instance/service/ProductService.sol +0 -358
  703. package/contracts/instance/service/ServiceBase.sol +0 -39
  704. package/contracts/registry/IChainNft.sol +0 -21
  705. package/contracts/registry/IRegistryLinked.sol +0 -8
  706. package/contracts/shared/ERC165.sol +0 -21
  707. package/contracts/shared/IOwnable.sol +0 -6
  708. package/contracts/shared/IVersionable.sol +0 -52
  709. package/contracts/shared/Versionable.sol +0 -92
  710. package/contracts/test/TestFee.sol +0 -25
  711. package/contracts/test/TestPool.sol +0 -22
  712. package/contracts/test/TestProduct.sol +0 -44
  713. package/contracts/test/TestRegisterable.sol +0 -19
  714. package/contracts/test/TestRoleId.sol +0 -14
  715. package/contracts/test/TestService.sol +0 -35
  716. package/contracts/test/TestVersion.sol +0 -47
  717. package/contracts/test/TestVersionable.sol +0 -20
  718. package/contracts/types/ChainId.sol +0 -38
  719. package/contracts/types/Fee.sol +0 -32
  720. package/contracts/types/NftId.sol +0 -57
  721. package/contracts/types/NftIdSet.sol +0 -60
  722. package/contracts/types/ObjectType.sol +0 -115
  723. package/contracts/types/RoleId.sol +0 -36
  724. package/contracts/types/UFixed.sol +0 -206
@@ -7,486 +7,349 @@
7
7
  "inputs": [
8
8
  {
9
9
  "internalType": "address",
10
- "name": "registry",
10
+ "name": "authority",
11
11
  "type": "address"
12
- },
13
- {
14
- "internalType": "NftId",
15
- "name": "registryNftId",
16
- "type": "uint96"
17
12
  }
18
13
  ],
19
- "stateMutability": "nonpayable",
20
- "type": "constructor"
14
+ "name": "AccessManagedInvalidAuthority",
15
+ "type": "error"
21
16
  },
22
17
  {
23
18
  "inputs": [
24
19
  {
25
- "internalType": "NftId",
26
- "name": "nftId",
27
- "type": "uint96"
28
- },
29
- {
30
- "internalType": "ObjectType",
31
- "name": "objectType",
32
- "type": "uint8"
33
- },
34
- {
35
- "internalType": "StateId",
36
- "name": "fromStateId",
37
- "type": "uint8"
20
+ "internalType": "address",
21
+ "name": "caller",
22
+ "type": "address"
38
23
  },
39
24
  {
40
- "internalType": "StateId",
41
- "name": "toStateId",
42
- "type": "uint8"
25
+ "internalType": "uint32",
26
+ "name": "delay",
27
+ "type": "uint32"
43
28
  }
44
29
  ],
45
- "name": "ErrorInvalidStateTransition",
30
+ "name": "AccessManagedRequiredDelay",
46
31
  "type": "error"
47
32
  },
48
33
  {
49
34
  "inputs": [
50
35
  {
51
- "internalType": "NftId",
52
- "name": "nftId",
53
- "type": "uint96"
54
- },
55
- {
56
- "internalType": "ObjectType",
57
- "name": "objectType",
58
- "type": "uint8"
36
+ "internalType": "address",
37
+ "name": "caller",
38
+ "type": "address"
59
39
  }
60
40
  ],
61
- "name": "ErrorNoLifecycle",
41
+ "name": "AccessManagedUnauthorized",
62
42
  "type": "error"
63
43
  },
64
44
  {
65
- "anonymous": false,
66
45
  "inputs": [
67
46
  {
68
- "indexed": false,
69
- "internalType": "RoleId",
70
- "name": "role",
71
- "type": "bytes8"
72
- },
73
- {
74
- "indexed": false,
75
- "internalType": "string",
76
- "name": "roleName",
77
- "type": "string"
47
+ "internalType": "address",
48
+ "name": "instanceBundleSet",
49
+ "type": "address"
78
50
  }
79
51
  ],
80
- "name": "LogAccessRoleCreated",
81
- "type": "event"
52
+ "name": "ErrorInstanceBundleSetAlreadySet",
53
+ "type": "error"
82
54
  },
83
55
  {
84
- "anonymous": false,
85
56
  "inputs": [
86
57
  {
87
- "indexed": false,
88
- "internalType": "RoleId",
89
- "name": "role",
90
- "type": "bytes8"
91
- },
92
- {
93
- "indexed": false,
94
58
  "internalType": "address",
95
- "name": "member",
59
+ "name": "instanceAuthority",
96
60
  "type": "address"
97
- },
61
+ }
62
+ ],
63
+ "name": "ErrorInstanceBundleSetAuthorityMismatch",
64
+ "type": "error"
65
+ },
66
+ {
67
+ "inputs": [
98
68
  {
99
- "indexed": false,
100
- "internalType": "bool",
101
- "name": "isMember",
102
- "type": "bool"
69
+ "internalType": "address",
70
+ "name": "instance",
71
+ "type": "address"
103
72
  }
104
73
  ],
105
- "name": "LogAccessRoleGranted",
106
- "type": "event"
74
+ "name": "ErrorInstanceBundleSetInstanceMismatch",
75
+ "type": "error"
107
76
  },
108
77
  {
109
- "anonymous": false,
110
78
  "inputs": [
111
79
  {
112
- "indexed": false,
113
- "internalType": "RoleId",
114
- "name": "role",
115
- "type": "bytes8"
116
- },
80
+ "internalType": "address",
81
+ "name": "InstanceAdmin",
82
+ "type": "address"
83
+ }
84
+ ],
85
+ "name": "ErrorInstanceInstanceAdminAlreadySet",
86
+ "type": "error"
87
+ },
88
+ {
89
+ "inputs": [
117
90
  {
118
- "indexed": false,
119
- "internalType": "bool",
120
- "name": "active",
121
- "type": "bool"
91
+ "internalType": "address",
92
+ "name": "instanceAuthority",
93
+ "type": "address"
122
94
  }
123
95
  ],
124
- "name": "LogAccessRoleStateSet",
125
- "type": "event"
96
+ "name": "ErrorInstanceInstanceAdminAuthorityMismatch",
97
+ "type": "error"
98
+ },
99
+ {
100
+ "inputs": [],
101
+ "name": "ErrorInstanceInstanceAdminZero",
102
+ "type": "error"
126
103
  },
127
104
  {
128
- "anonymous": false,
129
105
  "inputs": [
130
106
  {
131
- "indexed": false,
132
- "internalType": "NftId",
133
- "name": "nftId",
134
- "type": "uint96"
135
- },
107
+ "internalType": "address",
108
+ "name": "instanceAuthority",
109
+ "type": "address"
110
+ }
111
+ ],
112
+ "name": "ErrorInstanceInstanceReaderInstanceMismatch",
113
+ "type": "error"
114
+ },
115
+ {
116
+ "inputs": [
136
117
  {
137
- "indexed": false,
138
- "internalType": "StateId",
139
- "name": "fromStateId",
140
- "type": "uint8"
141
- },
118
+ "internalType": "address",
119
+ "name": "instanceStore",
120
+ "type": "address"
121
+ }
122
+ ],
123
+ "name": "ErrorInstanceInstanceStoreAlreadySet",
124
+ "type": "error"
125
+ },
126
+ {
127
+ "inputs": [
142
128
  {
143
- "indexed": false,
144
- "internalType": "StateId",
145
- "name": "toStateId",
146
- "type": "uint8"
129
+ "internalType": "address",
130
+ "name": "instanceAuthority",
131
+ "type": "address"
147
132
  }
148
133
  ],
149
- "name": "LogBundleStateChanged",
150
- "type": "event"
134
+ "name": "ErrorInstanceInstanceStoreAuthorityMismatch",
135
+ "type": "error"
151
136
  },
152
137
  {
153
- "anonymous": false,
154
138
  "inputs": [
155
139
  {
156
- "indexed": false,
157
140
  "internalType": "NftId",
158
141
  "name": "nftId",
159
142
  "type": "uint96"
160
- },
161
- {
162
- "indexed": false,
163
- "internalType": "ObjectType",
164
- "name": "objectType",
165
- "type": "uint8"
166
- },
167
- {
168
- "indexed": false,
169
- "internalType": "StateId",
170
- "name": "fromStateId",
171
- "type": "uint8"
172
- },
143
+ }
144
+ ],
145
+ "name": "ErrorNftOwnableAlreadyLinked",
146
+ "type": "error"
147
+ },
148
+ {
149
+ "inputs": [
173
150
  {
174
- "indexed": false,
175
- "internalType": "StateId",
176
- "name": "toStateId",
177
- "type": "uint8"
151
+ "internalType": "address",
152
+ "name": "contractAddress",
153
+ "type": "address"
178
154
  }
179
155
  ],
180
- "name": "LogComponentStateChanged",
181
- "type": "event"
156
+ "name": "ErrorNftOwnableContractNotRegistered",
157
+ "type": "error"
158
+ },
159
+ {
160
+ "inputs": [],
161
+ "name": "ErrorNftOwnableInitialOwnerZero",
162
+ "type": "error"
182
163
  },
183
164
  {
184
- "anonymous": false,
185
165
  "inputs": [
186
166
  {
187
- "indexed": false,
188
167
  "internalType": "NftId",
189
168
  "name": "nftId",
190
169
  "type": "uint96"
191
170
  },
192
171
  {
193
- "indexed": false,
194
- "internalType": "StateId",
195
- "name": "fromStateId",
196
- "type": "uint8"
197
- },
198
- {
199
- "indexed": false,
200
- "internalType": "StateId",
201
- "name": "toStateId",
172
+ "internalType": "ObjectType",
173
+ "name": "expectedObjectType",
202
174
  "type": "uint8"
203
175
  }
204
176
  ],
205
- "name": "LogPolicyStateChanged",
206
- "type": "event"
177
+ "name": "ErrorNftOwnableInvalidType",
178
+ "type": "error"
207
179
  },
208
180
  {
209
- "anonymous": false,
210
181
  "inputs": [
211
182
  {
212
- "indexed": false,
213
- "internalType": "Version",
214
- "name": "version",
215
- "type": "uint24"
216
- },
217
- {
218
- "indexed": false,
219
- "internalType": "address",
220
- "name": "implementation",
221
- "type": "address"
222
- },
223
- {
224
- "indexed": false,
225
183
  "internalType": "address",
226
- "name": "activatedBy",
184
+ "name": "account",
227
185
  "type": "address"
228
186
  }
229
187
  ],
230
- "name": "LogVersionableActivated",
231
- "type": "event"
188
+ "name": "ErrorNftOwnableNotOwner",
189
+ "type": "error"
232
190
  },
233
191
  {
234
192
  "inputs": [
235
193
  {
236
194
  "internalType": "address",
237
- "name": "implementation",
238
- "type": "address"
239
- },
240
- {
241
- "internalType": "address",
242
- "name": "activatedBy",
195
+ "name": "registryAddress",
243
196
  "type": "address"
244
197
  }
245
198
  ],
246
- "name": "activate",
247
- "outputs": [],
248
- "stateMutability": "nonpayable",
249
- "type": "function"
199
+ "name": "ErrorNotRegistry",
200
+ "type": "error"
201
+ },
202
+ {
203
+ "inputs": [],
204
+ "name": "InvalidInitialization",
205
+ "type": "error"
206
+ },
207
+ {
208
+ "inputs": [],
209
+ "name": "NotInitializing",
210
+ "type": "error"
250
211
  },
251
212
  {
213
+ "anonymous": false,
252
214
  "inputs": [
253
215
  {
254
- "internalType": "NftId",
255
- "name": "bundleNftId",
256
- "type": "uint96"
257
- },
258
- {
259
- "internalType": "NftId",
260
- "name": "poolNftId",
261
- "type": "uint96"
262
- },
263
- {
264
- "internalType": "uint256",
265
- "name": "",
266
- "type": "uint256"
216
+ "indexed": false,
217
+ "internalType": "address",
218
+ "name": "authority",
219
+ "type": "address"
267
220
  }
268
221
  ],
269
- "name": "addBundleToPool",
270
- "outputs": [],
271
- "stateMutability": "nonpayable",
272
- "type": "function"
222
+ "name": "AuthorityUpdated",
223
+ "type": "event"
273
224
  },
274
225
  {
226
+ "anonymous": false,
275
227
  "inputs": [
276
228
  {
277
- "internalType": "uint256",
278
- "name": "amount",
279
- "type": "uint256"
280
- },
281
- {
282
- "components": [
283
- {
284
- "internalType": "UFixed",
285
- "name": "fractionalFee",
286
- "type": "uint256"
287
- },
288
- {
289
- "internalType": "uint256",
290
- "name": "fixedFee",
291
- "type": "uint256"
292
- }
293
- ],
294
- "internalType": "struct Fee",
295
- "name": "fee",
296
- "type": "tuple"
229
+ "indexed": false,
230
+ "internalType": "uint64",
231
+ "name": "version",
232
+ "type": "uint64"
297
233
  }
298
234
  ],
299
- "name": "calculateFeeAmount",
235
+ "name": "Initialized",
236
+ "type": "event"
237
+ },
238
+ {
239
+ "inputs": [],
240
+ "name": "GIF_RELEASE",
300
241
  "outputs": [
301
242
  {
302
243
  "internalType": "uint256",
303
- "name": "feeAmount",
304
- "type": "uint256"
305
- },
306
- {
307
- "internalType": "uint256",
308
- "name": "netAmount",
244
+ "name": "",
309
245
  "type": "uint256"
310
246
  }
311
247
  ],
312
- "stateMutability": "pure",
248
+ "stateMutability": "view",
313
249
  "type": "function"
314
250
  },
315
251
  {
316
- "inputs": [
317
- {
318
- "internalType": "NftId",
319
- "name": "nftId",
320
- "type": "uint96"
321
- },
322
- {
323
- "internalType": "ObjectType",
324
- "name": "objectType",
325
- "type": "uint8"
326
- },
327
- {
328
- "internalType": "StateId",
329
- "name": "fromId",
330
- "type": "uint8"
331
- },
252
+ "inputs": [],
253
+ "name": "NFT_OWNABLE_STORAGE_LOCATION_V1",
254
+ "outputs": [
332
255
  {
333
- "internalType": "StateId",
334
- "name": "toId",
335
- "type": "uint8"
256
+ "internalType": "bytes32",
257
+ "name": "",
258
+ "type": "bytes32"
336
259
  }
337
260
  ],
338
- "name": "checkAndLogTransition",
261
+ "stateMutability": "view",
262
+ "type": "function"
263
+ },
264
+ {
265
+ "inputs": [],
266
+ "name": "REGISTERABLE_LOCATION_V1",
339
267
  "outputs": [
340
268
  {
341
- "internalType": "StateId",
269
+ "internalType": "bytes32",
342
270
  "name": "",
343
- "type": "uint8"
271
+ "type": "bytes32"
344
272
  }
345
273
  ],
346
- "stateMutability": "nonpayable",
274
+ "stateMutability": "view",
347
275
  "type": "function"
348
276
  },
349
277
  {
350
- "inputs": [
278
+ "inputs": [],
279
+ "name": "authority",
280
+ "outputs": [
351
281
  {
352
- "internalType": "NftId",
353
- "name": "bundleNftId",
354
- "type": "uint96"
355
- },
356
- {
357
- "internalType": "NftId",
358
- "name": "policyNftId",
359
- "type": "uint96"
360
- },
361
- {
362
- "internalType": "uint256",
363
- "name": "collateralAmount",
364
- "type": "uint256"
282
+ "internalType": "address",
283
+ "name": "",
284
+ "type": "address"
365
285
  }
366
286
  ],
367
- "name": "collateralizePolicy",
368
- "outputs": [],
369
- "stateMutability": "nonpayable",
287
+ "stateMutability": "view",
370
288
  "type": "function"
371
289
  },
372
290
  {
373
291
  "inputs": [
374
292
  {
375
- "internalType": "NftId",
376
- "name": "productNftId",
377
- "type": "uint96"
378
- },
379
- {
380
- "internalType": "NftId",
381
- "name": "policyNftId",
382
- "type": "uint96"
383
- },
384
- {
385
- "internalType": "uint256",
386
- "name": "sumInsuredAmount",
387
- "type": "uint256"
388
- },
389
- {
390
- "internalType": "uint256",
391
- "name": "premiumAmount",
392
- "type": "uint256"
393
- },
394
- {
395
- "internalType": "uint256",
396
- "name": "lifetime",
397
- "type": "uint256"
293
+ "internalType": "string",
294
+ "name": "roleName",
295
+ "type": "string"
398
296
  },
399
297
  {
400
- "internalType": "NftId",
401
- "name": "bundleNftId",
402
- "type": "uint96"
298
+ "internalType": "string",
299
+ "name": "adminName",
300
+ "type": "string"
403
301
  }
404
302
  ],
405
- "name": "createApplication",
406
- "outputs": [],
407
- "stateMutability": "nonpayable",
408
- "type": "function"
409
- },
410
- {
411
- "inputs": [
412
- {
413
- "internalType": "NftId",
414
- "name": "bundleNftId",
415
- "type": "uint96"
416
- },
417
- {
418
- "internalType": "NftId",
419
- "name": "poolNftId",
420
- "type": "uint96"
421
- },
422
- {
423
- "internalType": "uint256",
424
- "name": "amount",
425
- "type": "uint256"
426
- },
303
+ "name": "createRole",
304
+ "outputs": [
427
305
  {
428
- "internalType": "uint256",
429
- "name": "lifetime",
430
- "type": "uint256"
306
+ "internalType": "RoleId",
307
+ "name": "roleId",
308
+ "type": "uint64"
431
309
  },
432
310
  {
433
- "internalType": "bytes",
434
- "name": "filter",
435
- "type": "bytes"
311
+ "internalType": "RoleId",
312
+ "name": "admin",
313
+ "type": "uint64"
436
314
  }
437
315
  ],
438
- "name": "createBundleInfo",
439
- "outputs": [],
440
316
  "stateMutability": "nonpayable",
441
317
  "type": "function"
442
318
  },
443
319
  {
444
320
  "inputs": [
321
+ {
322
+ "internalType": "address",
323
+ "name": "target",
324
+ "type": "address"
325
+ },
445
326
  {
446
327
  "internalType": "string",
447
- "name": "roleName",
328
+ "name": "name",
448
329
  "type": "string"
449
330
  }
450
331
  ],
451
- "name": "createRole",
452
- "outputs": [
453
- {
454
- "internalType": "RoleId",
455
- "name": "role",
456
- "type": "bytes8"
457
- }
458
- ],
332
+ "name": "createTarget",
333
+ "outputs": [],
459
334
  "stateMutability": "nonpayable",
460
335
  "type": "function"
461
336
  },
462
337
  {
463
- "inputs": [
464
- {
465
- "internalType": "NftId",
466
- "name": "poolNftId",
467
- "type": "uint96"
468
- }
469
- ],
470
- "name": "getBundleCount",
338
+ "inputs": [],
339
+ "name": "getBundleSet",
471
340
  "outputs": [
472
341
  {
473
- "internalType": "uint256",
474
- "name": "bundleCount",
475
- "type": "uint256"
342
+ "internalType": "contract BundleSet",
343
+ "name": "",
344
+ "type": "address"
476
345
  }
477
346
  ],
478
347
  "stateMutability": "view",
479
348
  "type": "function"
480
349
  },
481
350
  {
482
- "inputs": [
483
- {
484
- "internalType": "NftId",
485
- "name": "bundleNftId",
486
- "type": "uint96"
487
- }
488
- ],
489
- "name": "getBundleInfo",
351
+ "inputs": [],
352
+ "name": "getInitialInfo",
490
353
  "outputs": [
491
354
  {
492
355
  "components": [
@@ -497,57 +360,37 @@
497
360
  },
498
361
  {
499
362
  "internalType": "NftId",
500
- "name": "poolNftId",
363
+ "name": "parentNftId",
501
364
  "type": "uint96"
502
365
  },
503
366
  {
504
- "internalType": "StateId",
505
- "name": "state",
367
+ "internalType": "ObjectType",
368
+ "name": "objectType",
506
369
  "type": "uint8"
507
370
  },
508
371
  {
509
- "internalType": "bytes",
510
- "name": "filter",
511
- "type": "bytes"
512
- },
513
- {
514
- "internalType": "uint256",
515
- "name": "capitalAmount",
516
- "type": "uint256"
517
- },
518
- {
519
- "internalType": "uint256",
520
- "name": "lockedAmount",
521
- "type": "uint256"
522
- },
523
- {
524
- "internalType": "uint256",
525
- "name": "balanceAmount",
526
- "type": "uint256"
527
- },
528
- {
529
- "internalType": "Timestamp",
530
- "name": "createdAt",
531
- "type": "uint40"
372
+ "internalType": "bool",
373
+ "name": "isInterceptor",
374
+ "type": "bool"
532
375
  },
533
376
  {
534
- "internalType": "Timestamp",
535
- "name": "expiredAt",
536
- "type": "uint40"
377
+ "internalType": "address",
378
+ "name": "objectAddress",
379
+ "type": "address"
537
380
  },
538
381
  {
539
- "internalType": "Timestamp",
540
- "name": "closedAt",
541
- "type": "uint40"
382
+ "internalType": "address",
383
+ "name": "initialOwner",
384
+ "type": "address"
542
385
  },
543
386
  {
544
- "internalType": "Blocknumber",
545
- "name": "updatedIn",
546
- "type": "uint32"
387
+ "internalType": "bytes",
388
+ "name": "data",
389
+ "type": "bytes"
547
390
  }
548
391
  ],
549
- "internalType": "struct IBundle.BundleInfo",
550
- "name": "bundleInfo",
392
+ "internalType": "struct IRegistry.ObjectInfo",
393
+ "name": "info",
551
394
  "type": "tuple"
552
395
  }
553
396
  ],
@@ -555,24 +398,13 @@
555
398
  "type": "function"
556
399
  },
557
400
  {
558
- "inputs": [
559
- {
560
- "internalType": "NftId",
561
- "name": "poolNftId",
562
- "type": "uint96"
563
- },
564
- {
565
- "internalType": "uint256",
566
- "name": "index",
567
- "type": "uint256"
568
- }
569
- ],
570
- "name": "getBundleNftId",
401
+ "inputs": [],
402
+ "name": "getInstanceAdmin",
571
403
  "outputs": [
572
404
  {
573
- "internalType": "NftId",
574
- "name": "bundleNftId",
575
- "type": "uint96"
405
+ "internalType": "contract InstanceAdmin",
406
+ "name": "",
407
+ "type": "address"
576
408
  }
577
409
  ],
578
410
  "stateMutability": "view",
@@ -580,67 +412,51 @@
580
412
  },
581
413
  {
582
414
  "inputs": [],
583
- "name": "getComponentCount",
415
+ "name": "getInstanceReader",
584
416
  "outputs": [
585
417
  {
586
- "internalType": "uint256",
587
- "name": "numberOfCompnents",
588
- "type": "uint256"
418
+ "internalType": "contract InstanceReader",
419
+ "name": "",
420
+ "type": "address"
589
421
  }
590
422
  ],
591
423
  "stateMutability": "view",
592
424
  "type": "function"
593
425
  },
594
426
  {
595
- "inputs": [
596
- {
597
- "internalType": "uint256",
598
- "name": "idx",
599
- "type": "uint256"
600
- }
601
- ],
602
- "name": "getComponentId",
427
+ "inputs": [],
428
+ "name": "getInstanceStore",
603
429
  "outputs": [
604
430
  {
605
- "internalType": "NftId",
606
- "name": "componentNftId",
607
- "type": "uint96"
431
+ "internalType": "contract InstanceStore",
432
+ "name": "",
433
+ "type": "address"
608
434
  }
609
435
  ],
610
436
  "stateMutability": "view",
611
437
  "type": "function"
612
438
  },
613
439
  {
614
- "inputs": [
440
+ "inputs": [],
441
+ "name": "getNftId",
442
+ "outputs": [
615
443
  {
616
444
  "internalType": "NftId",
617
- "name": "nftId",
445
+ "name": "",
618
446
  "type": "uint96"
619
447
  }
620
448
  ],
621
- "name": "getComponentInfo",
449
+ "stateMutability": "view",
450
+ "type": "function"
451
+ },
452
+ {
453
+ "inputs": [],
454
+ "name": "getOwner",
622
455
  "outputs": [
623
456
  {
624
- "components": [
625
- {
626
- "internalType": "NftId",
627
- "name": "nftId",
628
- "type": "uint96"
629
- },
630
- {
631
- "internalType": "StateId",
632
- "name": "state",
633
- "type": "uint8"
634
- },
635
- {
636
- "internalType": "contract IERC20Metadata",
637
- "name": "token",
638
- "type": "address"
639
- }
640
- ],
641
- "internalType": "struct IComponent.ComponentInfo",
457
+ "internalType": "address",
642
458
  "name": "",
643
- "type": "tuple"
459
+ "type": "address"
644
460
  }
645
461
  ],
646
462
  "stateMutability": "view",
@@ -648,11 +464,11 @@
648
464
  },
649
465
  {
650
466
  "inputs": [],
651
- "name": "getComponentOwnerService",
467
+ "name": "getRegistry",
652
468
  "outputs": [
653
469
  {
654
- "internalType": "contract IComponentOwnerService",
655
- "name": "service",
470
+ "internalType": "contract IRegistry",
471
+ "name": "",
656
472
  "type": "address"
657
473
  }
658
474
  ],
@@ -661,67 +477,81 @@
661
477
  },
662
478
  {
663
479
  "inputs": [],
664
- "name": "getData",
480
+ "name": "getRelease",
665
481
  "outputs": [
666
482
  {
667
- "internalType": "bytes",
668
- "name": "data",
669
- "type": "bytes"
483
+ "internalType": "VersionPart",
484
+ "name": "release",
485
+ "type": "uint8"
670
486
  }
671
487
  ],
672
- "stateMutability": "view",
488
+ "stateMutability": "pure",
673
489
  "type": "function"
674
490
  },
675
491
  {
676
492
  "inputs": [
677
493
  {
678
- "internalType": "UFixed",
679
- "name": "fractionalFee",
680
- "type": "uint256"
494
+ "internalType": "RoleId",
495
+ "name": "roleId",
496
+ "type": "uint64"
681
497
  },
682
498
  {
683
- "internalType": "uint256",
684
- "name": "fixedFee",
685
- "type": "uint256"
686
- }
687
- ],
688
- "name": "getFee",
689
- "outputs": [
690
- {
691
- "components": [
692
- {
693
- "internalType": "UFixed",
694
- "name": "fractionalFee",
695
- "type": "uint256"
696
- },
697
- {
698
- "internalType": "uint256",
699
- "name": "fixedFee",
700
- "type": "uint256"
701
- }
702
- ],
703
- "internalType": "struct Fee",
704
- "name": "fee",
705
- "type": "tuple"
499
+ "internalType": "address",
500
+ "name": "account",
501
+ "type": "address"
706
502
  }
707
503
  ],
708
- "stateMutability": "pure",
504
+ "name": "grantRole",
505
+ "outputs": [],
506
+ "stateMutability": "nonpayable",
709
507
  "type": "function"
710
508
  },
711
509
  {
712
510
  "inputs": [
713
511
  {
714
- "internalType": "ObjectType",
715
- "name": "objectType",
716
- "type": "uint8"
512
+ "internalType": "contract InstanceAdmin",
513
+ "name": "instanceAdmin",
514
+ "type": "address"
515
+ },
516
+ {
517
+ "internalType": "contract InstanceStore",
518
+ "name": "instanceStore",
519
+ "type": "address"
520
+ },
521
+ {
522
+ "internalType": "contract BundleSet",
523
+ "name": "bundleManager",
524
+ "type": "address"
525
+ },
526
+ {
527
+ "internalType": "contract InstanceReader",
528
+ "name": "instanceReader",
529
+ "type": "address"
530
+ },
531
+ {
532
+ "internalType": "contract IRegistry",
533
+ "name": "registry",
534
+ "type": "address"
535
+ },
536
+ {
537
+ "internalType": "address",
538
+ "name": "initialOwner",
539
+ "type": "address"
717
540
  }
718
541
  ],
719
- "name": "getInitialState",
542
+ "name": "initialize",
543
+ "outputs": [],
544
+ "stateMutability": "nonpayable",
545
+ "type": "function"
546
+ },
547
+ {
548
+ "inputs": [],
549
+ "name": "isConsumingScheduledOp",
720
550
  "outputs": [
721
551
  {
722
- "internalType": "StateId",
552
+ "internalType": "bytes4",
723
553
  "name": "",
724
- "type": "uint8"
554
+ "type": "bytes4"
725
555
  }
726
556
  ],
727
557
  "stateMutability": "view",
@@ -729,7 +559,7 @@
729
559
  },
730
560
  {
731
561
  "inputs": [],
732
- "name": "getNftId",
562
+ "name": "linkToRegisteredNftId",
733
563
  "outputs": [
734
564
  {
735
565
  "internalType": "NftId",
@@ -737,1072 +567,83 @@
737
567
  "type": "uint96"
738
568
  }
739
569
  ],
740
- "stateMutability": "view",
570
+ "stateMutability": "nonpayable",
741
571
  "type": "function"
742
572
  },
743
573
  {
744
- "inputs": [],
745
- "name": "getOwner",
746
- "outputs": [
574
+ "inputs": [
575
+ {
576
+ "internalType": "address",
577
+ "name": "from",
578
+ "type": "address"
579
+ },
580
+ {
581
+ "internalType": "address",
582
+ "name": "to",
583
+ "type": "address"
584
+ },
585
+ {
586
+ "internalType": "uint256",
587
+ "name": "tokenId",
588
+ "type": "uint256"
589
+ },
747
590
  {
748
591
  "internalType": "address",
749
- "name": "owner",
592
+ "name": "operator",
750
593
  "type": "address"
751
594
  }
752
595
  ],
753
- "stateMutability": "view",
754
- "type": "function"
755
- },
756
- {
757
- "inputs": [],
758
- "name": "getParentNftId",
759
- "outputs": [
760
- {
761
- "internalType": "NftId",
762
- "name": "nftId",
763
- "type": "uint96"
764
- }
765
- ],
766
- "stateMutability": "view",
767
- "type": "function"
768
- },
769
- {
770
- "inputs": [
771
- {
772
- "internalType": "NftId",
773
- "name": "nftId",
774
- "type": "uint96"
775
- }
776
- ],
777
- "name": "getPolicyInfo",
778
- "outputs": [
779
- {
780
- "components": [
781
- {
782
- "internalType": "NftId",
783
- "name": "nftId",
784
- "type": "uint96"
785
- },
786
- {
787
- "internalType": "NftId",
788
- "name": "productNftId",
789
- "type": "uint96"
790
- },
791
- {
792
- "internalType": "NftId",
793
- "name": "bundleNftId",
794
- "type": "uint96"
795
- },
796
- {
797
- "internalType": "address",
798
- "name": "beneficiary",
799
- "type": "address"
800
- },
801
- {
802
- "internalType": "StateId",
803
- "name": "state",
804
- "type": "uint8"
805
- },
806
- {
807
- "internalType": "uint256",
808
- "name": "sumInsuredAmount",
809
- "type": "uint256"
810
- },
811
- {
812
- "internalType": "uint256",
813
- "name": "premiumAmount",
814
- "type": "uint256"
815
- },
816
- {
817
- "internalType": "uint256",
818
- "name": "premiumPaidAmount",
819
- "type": "uint256"
820
- },
821
- {
822
- "internalType": "uint256",
823
- "name": "lifetime",
824
- "type": "uint256"
825
- },
826
- {
827
- "internalType": "bytes",
828
- "name": "data",
829
- "type": "bytes"
830
- },
831
- {
832
- "internalType": "Timestamp",
833
- "name": "createdAt",
834
- "type": "uint40"
835
- },
836
- {
837
- "internalType": "Timestamp",
838
- "name": "activatedAt",
839
- "type": "uint40"
840
- },
841
- {
842
- "internalType": "Timestamp",
843
- "name": "expiredAt",
844
- "type": "uint40"
845
- },
846
- {
847
- "internalType": "Timestamp",
848
- "name": "closedAt",
849
- "type": "uint40"
850
- },
851
- {
852
- "internalType": "Blocknumber",
853
- "name": "updatedIn",
854
- "type": "uint32"
855
- }
856
- ],
857
- "internalType": "struct IPolicy.PolicyInfo",
858
- "name": "info",
859
- "type": "tuple"
860
- }
861
- ],
862
- "stateMutability": "view",
863
- "type": "function"
864
- },
865
- {
866
- "inputs": [
867
- {
868
- "internalType": "NftId",
869
- "name": "nftId",
870
- "type": "uint96"
871
- }
872
- ],
873
- "name": "getPoolInfo",
874
- "outputs": [
875
- {
876
- "components": [
877
- {
878
- "internalType": "NftId",
879
- "name": "nftId",
880
- "type": "uint96"
881
- },
882
- {
883
- "internalType": "bool",
884
- "name": "isVerifying",
885
- "type": "bool"
886
- },
887
- {
888
- "internalType": "UFixed",
889
- "name": "collateralizationLevel",
890
- "type": "uint256"
891
- }
892
- ],
893
- "internalType": "struct IPool.PoolInfo",
894
- "name": "info",
895
- "type": "tuple"
896
- }
897
- ],
898
- "stateMutability": "view",
899
- "type": "function"
900
- },
901
- {
902
- "inputs": [],
903
- "name": "getPoolService",
904
- "outputs": [
905
- {
906
- "internalType": "contract IPoolService",
907
- "name": "service",
908
- "type": "address"
909
- }
910
- ],
911
- "stateMutability": "view",
912
- "type": "function"
913
- },
914
- {
915
- "inputs": [
916
- {
917
- "internalType": "NftId",
918
- "name": "poolNftId",
919
- "type": "uint96"
920
- }
921
- ],
922
- "name": "getPoolSetup",
923
- "outputs": [
924
- {
925
- "components": [
926
- {
927
- "internalType": "NftId",
928
- "name": "poolNftId",
929
- "type": "uint96"
930
- },
931
- {
932
- "internalType": "address",
933
- "name": "wallet",
934
- "type": "address"
935
- },
936
- {
937
- "components": [
938
- {
939
- "internalType": "UFixed",
940
- "name": "fractionalFee",
941
- "type": "uint256"
942
- },
943
- {
944
- "internalType": "uint256",
945
- "name": "fixedFee",
946
- "type": "uint256"
947
- }
948
- ],
949
- "internalType": "struct Fee",
950
- "name": "stakingFee",
951
- "type": "tuple"
952
- },
953
- {
954
- "components": [
955
- {
956
- "internalType": "UFixed",
957
- "name": "fractionalFee",
958
- "type": "uint256"
959
- },
960
- {
961
- "internalType": "uint256",
962
- "name": "fixedFee",
963
- "type": "uint256"
964
- }
965
- ],
966
- "internalType": "struct Fee",
967
- "name": "performanceFee",
968
- "type": "tuple"
969
- }
970
- ],
971
- "internalType": "struct ITreasury.PoolSetup",
972
- "name": "setup",
973
- "type": "tuple"
974
- }
975
- ],
976
- "stateMutability": "view",
977
- "type": "function"
978
- },
979
- {
980
- "inputs": [],
981
- "name": "getProductService",
982
- "outputs": [
983
- {
984
- "internalType": "contract IProductService",
985
- "name": "service",
986
- "type": "address"
987
- }
988
- ],
989
- "stateMutability": "view",
990
- "type": "function"
991
- },
992
- {
993
- "inputs": [
994
- {
995
- "internalType": "NftId",
996
- "name": "productNftId",
997
- "type": "uint96"
998
- }
999
- ],
1000
- "name": "getProductSetup",
1001
- "outputs": [
1002
- {
1003
- "components": [
1004
- {
1005
- "internalType": "NftId",
1006
- "name": "productNftId",
1007
- "type": "uint96"
1008
- },
1009
- {
1010
- "internalType": "NftId",
1011
- "name": "distributorNftId",
1012
- "type": "uint96"
1013
- },
1014
- {
1015
- "internalType": "NftId",
1016
- "name": "poolNftId",
1017
- "type": "uint96"
1018
- },
1019
- {
1020
- "internalType": "contract IERC20Metadata",
1021
- "name": "token",
1022
- "type": "address"
1023
- },
1024
- {
1025
- "internalType": "contract TokenHandler",
1026
- "name": "tokenHandler",
1027
- "type": "address"
1028
- },
1029
- {
1030
- "internalType": "address",
1031
- "name": "wallet",
1032
- "type": "address"
1033
- },
1034
- {
1035
- "components": [
1036
- {
1037
- "internalType": "UFixed",
1038
- "name": "fractionalFee",
1039
- "type": "uint256"
1040
- },
1041
- {
1042
- "internalType": "uint256",
1043
- "name": "fixedFee",
1044
- "type": "uint256"
1045
- }
1046
- ],
1047
- "internalType": "struct Fee",
1048
- "name": "policyFee",
1049
- "type": "tuple"
1050
- },
1051
- {
1052
- "components": [
1053
- {
1054
- "internalType": "UFixed",
1055
- "name": "fractionalFee",
1056
- "type": "uint256"
1057
- },
1058
- {
1059
- "internalType": "uint256",
1060
- "name": "fixedFee",
1061
- "type": "uint256"
1062
- }
1063
- ],
1064
- "internalType": "struct Fee",
1065
- "name": "processingFee",
1066
- "type": "tuple"
1067
- }
1068
- ],
1069
- "internalType": "struct ITreasury.ProductSetup",
1070
- "name": "setup",
1071
- "type": "tuple"
1072
- }
1073
- ],
1074
- "stateMutability": "view",
1075
- "type": "function"
1076
- },
1077
- {
1078
- "inputs": [],
1079
- "name": "getRegistry",
1080
- "outputs": [
1081
- {
1082
- "internalType": "contract IRegistry",
1083
- "name": "registry",
1084
- "type": "address"
1085
- }
1086
- ],
1087
- "stateMutability": "view",
1088
- "type": "function"
1089
- },
1090
- {
1091
- "inputs": [
1092
- {
1093
- "internalType": "uint256",
1094
- "name": "idx",
1095
- "type": "uint256"
1096
- }
1097
- ],
1098
- "name": "getRole",
1099
- "outputs": [
1100
- {
1101
- "internalType": "RoleId",
1102
- "name": "role",
1103
- "type": "bytes8"
1104
- }
1105
- ],
1106
- "stateMutability": "view",
1107
- "type": "function"
1108
- },
1109
- {
1110
- "inputs": [],
1111
- "name": "getRoleCount",
1112
- "outputs": [
1113
- {
1114
- "internalType": "uint256",
1115
- "name": "roles",
1116
- "type": "uint256"
1117
- }
1118
- ],
1119
- "stateMutability": "view",
1120
- "type": "function"
1121
- },
1122
- {
1123
- "inputs": [
1124
- {
1125
- "internalType": "string",
1126
- "name": "roleName",
1127
- "type": "string"
1128
- }
1129
- ],
1130
- "name": "getRoleId",
1131
- "outputs": [
1132
- {
1133
- "internalType": "RoleId",
1134
- "name": "role",
1135
- "type": "bytes8"
1136
- }
1137
- ],
1138
- "stateMutability": "pure",
1139
- "type": "function"
1140
- },
1141
- {
1142
- "inputs": [
1143
- {
1144
- "internalType": "RoleId",
1145
- "name": "role",
1146
- "type": "bytes8"
1147
- }
1148
- ],
1149
- "name": "getRoleInfo",
1150
- "outputs": [
1151
- {
1152
- "components": [
1153
- {
1154
- "internalType": "RoleId",
1155
- "name": "id",
1156
- "type": "bytes8"
1157
- },
1158
- {
1159
- "internalType": "string",
1160
- "name": "name",
1161
- "type": "string"
1162
- },
1163
- {
1164
- "internalType": "bool",
1165
- "name": "isActive",
1166
- "type": "bool"
1167
- }
1168
- ],
1169
- "internalType": "struct IAccess.RoleInfo",
1170
- "name": "info",
1171
- "type": "tuple"
1172
- }
1173
- ],
1174
- "stateMutability": "view",
1175
- "type": "function"
1176
- },
1177
- {
1178
- "inputs": [
1179
- {
1180
- "internalType": "RoleId",
1181
- "name": "role",
1182
- "type": "bytes8"
1183
- },
1184
- {
1185
- "internalType": "uint256",
1186
- "name": "idx",
1187
- "type": "uint256"
1188
- }
1189
- ],
1190
- "name": "getRoleMember",
1191
- "outputs": [
1192
- {
1193
- "internalType": "address",
1194
- "name": "roleMembers",
1195
- "type": "address"
1196
- }
1197
- ],
1198
- "stateMutability": "view",
1199
- "type": "function"
1200
- },
1201
- {
1202
- "inputs": [
1203
- {
1204
- "internalType": "RoleId",
1205
- "name": "role",
1206
- "type": "bytes8"
1207
- }
1208
- ],
1209
- "name": "getRoleMemberCount",
1210
- "outputs": [
1211
- {
1212
- "internalType": "uint256",
1213
- "name": "roleMembers",
1214
- "type": "uint256"
1215
- }
1216
- ],
1217
- "stateMutability": "view",
1218
- "type": "function"
1219
- },
1220
- {
1221
- "inputs": [
1222
- {
1223
- "internalType": "NftId",
1224
- "name": "productNftId",
1225
- "type": "uint96"
1226
- }
1227
- ],
1228
- "name": "getTokenHandler",
1229
- "outputs": [
1230
- {
1231
- "internalType": "contract TokenHandler",
1232
- "name": "tokenHandler",
1233
- "type": "address"
1234
- }
1235
- ],
1236
- "stateMutability": "view",
1237
- "type": "function"
1238
- },
1239
- {
1240
- "inputs": [],
1241
- "name": "getType",
1242
- "outputs": [
1243
- {
1244
- "internalType": "ObjectType",
1245
- "name": "objectType",
1246
- "type": "uint8"
1247
- }
1248
- ],
1249
- "stateMutability": "pure",
1250
- "type": "function"
1251
- },
1252
- {
1253
- "inputs": [
1254
- {
1255
- "internalType": "uint256",
1256
- "name": "a",
1257
- "type": "uint256"
1258
- },
1259
- {
1260
- "internalType": "int8",
1261
- "name": "exp",
1262
- "type": "int8"
1263
- }
1264
- ],
1265
- "name": "getUFixed",
1266
- "outputs": [
1267
- {
1268
- "internalType": "UFixed",
1269
- "name": "",
1270
- "type": "uint256"
1271
- }
1272
- ],
1273
- "stateMutability": "pure",
1274
- "type": "function"
1275
- },
1276
- {
1277
- "inputs": [
1278
- {
1279
- "internalType": "uint256",
1280
- "name": "a",
1281
- "type": "uint256"
1282
- }
1283
- ],
1284
- "name": "getUFixed",
1285
- "outputs": [
1286
- {
1287
- "internalType": "UFixed",
1288
- "name": "",
1289
- "type": "uint256"
1290
- }
1291
- ],
1292
- "stateMutability": "pure",
1293
- "type": "function"
1294
- },
1295
- {
1296
- "inputs": [],
1297
- "name": "getVersion",
1298
- "outputs": [
1299
- {
1300
- "internalType": "Version",
1301
- "name": "",
1302
- "type": "uint24"
1303
- }
1304
- ],
1305
- "stateMutability": "pure",
1306
- "type": "function"
1307
- },
1308
- {
1309
- "inputs": [
1310
- {
1311
- "internalType": "uint256",
1312
- "name": "idx",
1313
- "type": "uint256"
1314
- }
1315
- ],
1316
- "name": "getVersion",
1317
- "outputs": [
1318
- {
1319
- "internalType": "Version",
1320
- "name": "",
1321
- "type": "uint24"
1322
- }
1323
- ],
1324
- "stateMutability": "view",
1325
- "type": "function"
1326
- },
1327
- {
1328
- "inputs": [],
1329
- "name": "getVersionCount",
1330
- "outputs": [
1331
- {
1332
- "internalType": "uint256",
1333
- "name": "",
1334
- "type": "uint256"
1335
- }
1336
- ],
1337
- "stateMutability": "view",
1338
- "type": "function"
1339
- },
1340
- {
1341
- "inputs": [
1342
- {
1343
- "internalType": "Version",
1344
- "name": "_version",
1345
- "type": "uint24"
1346
- }
1347
- ],
1348
- "name": "getVersionInfo",
1349
- "outputs": [
1350
- {
1351
- "components": [
1352
- {
1353
- "internalType": "Version",
1354
- "name": "version",
1355
- "type": "uint24"
1356
- },
1357
- {
1358
- "internalType": "address",
1359
- "name": "implementation",
1360
- "type": "address"
1361
- },
1362
- {
1363
- "internalType": "address",
1364
- "name": "activatedBy",
1365
- "type": "address"
1366
- },
1367
- {
1368
- "internalType": "Blocknumber",
1369
- "name": "activatedIn",
1370
- "type": "uint32"
1371
- },
1372
- {
1373
- "internalType": "Timestamp",
1374
- "name": "activatedAt",
1375
- "type": "uint40"
1376
- }
1377
- ],
1378
- "internalType": "struct IVersionable.VersionInfo",
1379
- "name": "",
1380
- "type": "tuple"
1381
- }
1382
- ],
1383
- "stateMutability": "view",
1384
- "type": "function"
1385
- },
1386
- {
1387
- "inputs": [],
1388
- "name": "getZeroFee",
1389
- "outputs": [
1390
- {
1391
- "components": [
1392
- {
1393
- "internalType": "UFixed",
1394
- "name": "fractionalFee",
1395
- "type": "uint256"
1396
- },
1397
- {
1398
- "internalType": "uint256",
1399
- "name": "fixedFee",
1400
- "type": "uint256"
1401
- }
1402
- ],
1403
- "internalType": "struct Fee",
1404
- "name": "fee",
1405
- "type": "tuple"
1406
- }
1407
- ],
1408
- "stateMutability": "pure",
1409
- "type": "function"
1410
- },
1411
- {
1412
- "inputs": [
1413
- {
1414
- "internalType": "RoleId",
1415
- "name": "role",
1416
- "type": "bytes8"
1417
- },
1418
- {
1419
- "internalType": "address",
1420
- "name": "member",
1421
- "type": "address"
1422
- }
1423
- ],
1424
- "name": "grantRole",
1425
- "outputs": [],
1426
- "stateMutability": "nonpayable",
1427
- "type": "function"
1428
- },
1429
- {
1430
- "inputs": [
1431
- {
1432
- "internalType": "RoleId",
1433
- "name": "role",
1434
- "type": "bytes8"
1435
- },
1436
- {
1437
- "internalType": "address",
1438
- "name": "member",
1439
- "type": "address"
1440
- }
1441
- ],
1442
- "name": "hasRole",
1443
- "outputs": [
1444
- {
1445
- "internalType": "bool",
1446
- "name": "",
1447
- "type": "bool"
1448
- }
1449
- ],
1450
- "stateMutability": "view",
1451
- "type": "function"
1452
- },
1453
- {
1454
- "inputs": [
1455
- {
1456
- "internalType": "Version",
1457
- "name": "_version",
1458
- "type": "uint24"
1459
- }
1460
- ],
1461
- "name": "isActivated",
1462
- "outputs": [
1463
- {
1464
- "internalType": "bool",
1465
- "name": "",
1466
- "type": "bool"
1467
- }
1468
- ],
1469
- "stateMutability": "view",
1470
- "type": "function"
1471
- },
1472
- {
1473
- "inputs": [
1474
- {
1475
- "internalType": "ObjectType",
1476
- "name": "objectType",
1477
- "type": "uint8"
1478
- },
1479
- {
1480
- "internalType": "StateId",
1481
- "name": "fromId",
1482
- "type": "uint8"
1483
- },
1484
- {
1485
- "internalType": "StateId",
1486
- "name": "toId",
1487
- "type": "uint8"
1488
- }
1489
- ],
1490
- "name": "isValidTransition",
1491
- "outputs": [
1492
- {
1493
- "internalType": "bool",
1494
- "name": "",
1495
- "type": "bool"
1496
- }
1497
- ],
1498
- "stateMutability": "view",
1499
- "type": "function"
1500
- },
1501
- {
1502
- "inputs": [],
1503
- "name": "register",
1504
- "outputs": [
1505
- {
1506
- "internalType": "NftId",
1507
- "name": "nftId",
1508
- "type": "uint96"
1509
- }
1510
- ],
1511
- "stateMutability": "nonpayable",
1512
- "type": "function"
1513
- },
1514
- {
1515
- "inputs": [
1516
- {
1517
- "internalType": "NftId",
1518
- "name": "nftId",
1519
- "type": "uint96"
1520
- },
1521
- {
1522
- "internalType": "ObjectType",
1523
- "name": "objectType",
1524
- "type": "uint8"
1525
- },
1526
- {
1527
- "internalType": "contract IERC20Metadata",
1528
- "name": "token",
1529
- "type": "address"
1530
- }
1531
- ],
1532
- "name": "registerComponent",
1533
- "outputs": [],
1534
- "stateMutability": "nonpayable",
1535
- "type": "function"
1536
- },
1537
- {
1538
- "inputs": [
1539
- {
1540
- "internalType": "NftId",
1541
- "name": "poolNftId",
1542
- "type": "uint96"
1543
- },
1544
- {
1545
- "internalType": "address",
1546
- "name": "wallet",
1547
- "type": "address"
1548
- },
1549
- {
1550
- "components": [
1551
- {
1552
- "internalType": "UFixed",
1553
- "name": "fractionalFee",
1554
- "type": "uint256"
1555
- },
1556
- {
1557
- "internalType": "uint256",
1558
- "name": "fixedFee",
1559
- "type": "uint256"
1560
- }
1561
- ],
1562
- "internalType": "struct Fee",
1563
- "name": "stakingFee",
1564
- "type": "tuple"
1565
- },
1566
- {
1567
- "components": [
1568
- {
1569
- "internalType": "UFixed",
1570
- "name": "fractionalFee",
1571
- "type": "uint256"
1572
- },
1573
- {
1574
- "internalType": "uint256",
1575
- "name": "fixedFee",
1576
- "type": "uint256"
1577
- }
1578
- ],
1579
- "internalType": "struct Fee",
1580
- "name": "performanceFee",
1581
- "type": "tuple"
1582
- }
1583
- ],
1584
- "name": "registerPool",
1585
- "outputs": [],
1586
- "stateMutability": "nonpayable",
596
+ "name": "nftTransferFrom",
597
+ "outputs": [],
598
+ "stateMutability": "nonpayable",
1587
599
  "type": "function"
1588
600
  },
1589
601
  {
1590
602
  "inputs": [
1591
603
  {
1592
- "internalType": "NftId",
1593
- "name": "nftId",
604
+ "internalType": "Amount",
605
+ "name": "dipAmount",
1594
606
  "type": "uint96"
1595
- },
1596
- {
1597
- "internalType": "bool",
1598
- "name": "isVerifying",
1599
- "type": "bool"
1600
- },
1601
- {
1602
- "internalType": "UFixed",
1603
- "name": "collateralizationRate",
1604
- "type": "uint256"
1605
607
  }
1606
608
  ],
1607
- "name": "registerPool",
609
+ "name": "refillStakingRewardReserves",
1608
610
  "outputs": [],
1609
611
  "stateMutability": "nonpayable",
1610
612
  "type": "function"
1611
613
  },
1612
614
  {
1613
615
  "inputs": [
1614
- {
1615
- "internalType": "NftId",
1616
- "name": "productNftId",
1617
- "type": "uint96"
1618
- },
1619
- {
1620
- "internalType": "NftId",
1621
- "name": "distributorNftId",
1622
- "type": "uint96"
1623
- },
1624
- {
1625
- "internalType": "NftId",
1626
- "name": "poolNftId",
1627
- "type": "uint96"
1628
- },
1629
- {
1630
- "internalType": "contract IERC20Metadata",
1631
- "name": "token",
1632
- "type": "address"
1633
- },
1634
616
  {
1635
617
  "internalType": "address",
1636
- "name": "wallet",
618
+ "name": "product",
1637
619
  "type": "address"
1638
- },
1639
- {
1640
- "components": [
1641
- {
1642
- "internalType": "UFixed",
1643
- "name": "fractionalFee",
1644
- "type": "uint256"
1645
- },
1646
- {
1647
- "internalType": "uint256",
1648
- "name": "fixedFee",
1649
- "type": "uint256"
1650
- }
1651
- ],
1652
- "internalType": "struct Fee",
1653
- "name": "policyFee",
1654
- "type": "tuple"
1655
- },
1656
- {
1657
- "components": [
1658
- {
1659
- "internalType": "UFixed",
1660
- "name": "fractionalFee",
1661
- "type": "uint256"
1662
- },
1663
- {
1664
- "internalType": "uint256",
1665
- "name": "fixedFee",
1666
- "type": "uint256"
1667
- }
1668
- ],
1669
- "internalType": "struct Fee",
1670
- "name": "processingFee",
1671
- "type": "tuple"
1672
620
  }
1673
621
  ],
1674
622
  "name": "registerProduct",
1675
- "outputs": [],
1676
- "stateMutability": "nonpayable",
1677
- "type": "function"
1678
- },
1679
- {
1680
- "inputs": [
1681
- {
1682
- "internalType": "NftId",
1683
- "name": "bundleNftId",
1684
- "type": "uint96"
1685
- },
623
+ "outputs": [
1686
624
  {
1687
625
  "internalType": "NftId",
1688
- "name": "policyNftId",
626
+ "name": "productNftId",
1689
627
  "type": "uint96"
1690
628
  }
1691
629
  ],
1692
- "name": "releasePolicy",
1693
- "outputs": [
1694
- {
1695
- "internalType": "uint256",
1696
- "name": "collateralAmount",
1697
- "type": "uint256"
1698
- }
1699
- ],
1700
- "stateMutability": "nonpayable",
1701
- "type": "function"
1702
- },
1703
- {
1704
- "inputs": [
1705
- {
1706
- "internalType": "RoleId",
1707
- "name": "role",
1708
- "type": "bytes8"
1709
- },
1710
- {
1711
- "internalType": "address",
1712
- "name": "member",
1713
- "type": "address"
1714
- }
1715
- ],
1716
- "name": "revokeRole",
1717
- "outputs": [],
1718
630
  "stateMutability": "nonpayable",
1719
631
  "type": "function"
1720
632
  },
1721
633
  {
1722
- "inputs": [
1723
- {
1724
- "internalType": "RoleId",
1725
- "name": "role",
1726
- "type": "bytes8"
1727
- }
1728
- ],
1729
- "name": "roleExists",
1730
- "outputs": [
1731
- {
1732
- "internalType": "bool",
1733
- "name": "",
1734
- "type": "bool"
1735
- }
1736
- ],
1737
- "stateMutability": "view",
1738
- "type": "function"
1739
- },
1740
- {
1741
- "inputs": [
1742
- {
1743
- "components": [
1744
- {
1745
- "internalType": "NftId",
1746
- "name": "nftId",
1747
- "type": "uint96"
1748
- },
1749
- {
1750
- "internalType": "NftId",
1751
- "name": "poolNftId",
1752
- "type": "uint96"
1753
- },
1754
- {
1755
- "internalType": "StateId",
1756
- "name": "state",
1757
- "type": "uint8"
1758
- },
1759
- {
1760
- "internalType": "bytes",
1761
- "name": "filter",
1762
- "type": "bytes"
1763
- },
1764
- {
1765
- "internalType": "uint256",
1766
- "name": "capitalAmount",
1767
- "type": "uint256"
1768
- },
1769
- {
1770
- "internalType": "uint256",
1771
- "name": "lockedAmount",
1772
- "type": "uint256"
1773
- },
1774
- {
1775
- "internalType": "uint256",
1776
- "name": "balanceAmount",
1777
- "type": "uint256"
1778
- },
1779
- {
1780
- "internalType": "Timestamp",
1781
- "name": "createdAt",
1782
- "type": "uint40"
1783
- },
1784
- {
1785
- "internalType": "Timestamp",
1786
- "name": "expiredAt",
1787
- "type": "uint40"
1788
- },
1789
- {
1790
- "internalType": "Timestamp",
1791
- "name": "closedAt",
1792
- "type": "uint40"
1793
- },
1794
- {
1795
- "internalType": "Blocknumber",
1796
- "name": "updatedIn",
1797
- "type": "uint32"
1798
- }
1799
- ],
1800
- "internalType": "struct IBundle.BundleInfo",
1801
- "name": "bundleInfo",
1802
- "type": "tuple"
634
+ "inputs": [
635
+ {
636
+ "internalType": "RoleId",
637
+ "name": "roleId",
638
+ "type": "uint64"
639
+ },
640
+ {
641
+ "internalType": "address",
642
+ "name": "account",
643
+ "type": "address"
1803
644
  }
1804
645
  ],
1805
- "name": "setBundleInfo",
646
+ "name": "revokeRole",
1806
647
  "outputs": [],
1807
648
  "stateMutability": "nonpayable",
1808
649
  "type": "function"
@@ -1810,125 +651,38 @@
1810
651
  {
1811
652
  "inputs": [
1812
653
  {
1813
- "components": [
1814
- {
1815
- "internalType": "NftId",
1816
- "name": "nftId",
1817
- "type": "uint96"
1818
- },
1819
- {
1820
- "internalType": "StateId",
1821
- "name": "state",
1822
- "type": "uint8"
1823
- },
1824
- {
1825
- "internalType": "contract IERC20Metadata",
1826
- "name": "token",
1827
- "type": "address"
1828
- }
1829
- ],
1830
- "internalType": "struct IComponent.ComponentInfo",
1831
- "name": "info",
1832
- "type": "tuple"
654
+ "internalType": "address",
655
+ "name": "newAuthority",
656
+ "type": "address"
1833
657
  }
1834
658
  ],
1835
- "name": "setComponentInfo",
1836
- "outputs": [
659
+ "name": "setAuthority",
660
+ "outputs": [],
661
+ "stateMutability": "nonpayable",
662
+ "type": "function"
663
+ },
664
+ {
665
+ "inputs": [
1837
666
  {
1838
- "internalType": "NftId",
1839
- "name": "nftId",
1840
- "type": "uint96"
667
+ "internalType": "contract InstanceReader",
668
+ "name": "instanceReader",
669
+ "type": "address"
1841
670
  }
1842
671
  ],
672
+ "name": "setInstanceReader",
673
+ "outputs": [],
1843
674
  "stateMutability": "nonpayable",
1844
675
  "type": "function"
1845
676
  },
1846
677
  {
1847
678
  "inputs": [
1848
679
  {
1849
- "components": [
1850
- {
1851
- "internalType": "NftId",
1852
- "name": "nftId",
1853
- "type": "uint96"
1854
- },
1855
- {
1856
- "internalType": "NftId",
1857
- "name": "productNftId",
1858
- "type": "uint96"
1859
- },
1860
- {
1861
- "internalType": "NftId",
1862
- "name": "bundleNftId",
1863
- "type": "uint96"
1864
- },
1865
- {
1866
- "internalType": "address",
1867
- "name": "beneficiary",
1868
- "type": "address"
1869
- },
1870
- {
1871
- "internalType": "StateId",
1872
- "name": "state",
1873
- "type": "uint8"
1874
- },
1875
- {
1876
- "internalType": "uint256",
1877
- "name": "sumInsuredAmount",
1878
- "type": "uint256"
1879
- },
1880
- {
1881
- "internalType": "uint256",
1882
- "name": "premiumAmount",
1883
- "type": "uint256"
1884
- },
1885
- {
1886
- "internalType": "uint256",
1887
- "name": "premiumPaidAmount",
1888
- "type": "uint256"
1889
- },
1890
- {
1891
- "internalType": "uint256",
1892
- "name": "lifetime",
1893
- "type": "uint256"
1894
- },
1895
- {
1896
- "internalType": "bytes",
1897
- "name": "data",
1898
- "type": "bytes"
1899
- },
1900
- {
1901
- "internalType": "Timestamp",
1902
- "name": "createdAt",
1903
- "type": "uint40"
1904
- },
1905
- {
1906
- "internalType": "Timestamp",
1907
- "name": "activatedAt",
1908
- "type": "uint40"
1909
- },
1910
- {
1911
- "internalType": "Timestamp",
1912
- "name": "expiredAt",
1913
- "type": "uint40"
1914
- },
1915
- {
1916
- "internalType": "Timestamp",
1917
- "name": "closedAt",
1918
- "type": "uint40"
1919
- },
1920
- {
1921
- "internalType": "Blocknumber",
1922
- "name": "updatedIn",
1923
- "type": "uint32"
1924
- }
1925
- ],
1926
- "internalType": "struct IPolicy.PolicyInfo",
1927
- "name": "policyInfo",
1928
- "type": "tuple"
680
+ "internalType": "Seconds",
681
+ "name": "stakeLockingPeriod",
682
+ "type": "uint40"
1929
683
  }
1930
684
  ],
1931
- "name": "setPolicyInfo",
685
+ "name": "setStakingLockingPeriod",
1932
686
  "outputs": [],
1933
687
  "stateMutability": "nonpayable",
1934
688
  "type": "function"
@@ -1936,46 +690,12 @@
1936
690
  {
1937
691
  "inputs": [
1938
692
  {
1939
- "internalType": "NftId",
1940
- "name": "poolNftId",
1941
- "type": "uint96"
1942
- },
1943
- {
1944
- "components": [
1945
- {
1946
- "internalType": "UFixed",
1947
- "name": "fractionalFee",
1948
- "type": "uint256"
1949
- },
1950
- {
1951
- "internalType": "uint256",
1952
- "name": "fixedFee",
1953
- "type": "uint256"
1954
- }
1955
- ],
1956
- "internalType": "struct Fee",
1957
- "name": "stakingFee",
1958
- "type": "tuple"
1959
- },
1960
- {
1961
- "components": [
1962
- {
1963
- "internalType": "UFixed",
1964
- "name": "fractionalFee",
1965
- "type": "uint256"
1966
- },
1967
- {
1968
- "internalType": "uint256",
1969
- "name": "fixedFee",
1970
- "type": "uint256"
1971
- }
1972
- ],
1973
- "internalType": "struct Fee",
1974
- "name": "performanceFee",
1975
- "type": "tuple"
693
+ "internalType": "UFixed",
694
+ "name": "rewardRate",
695
+ "type": "uint256"
1976
696
  }
1977
697
  ],
1978
- "name": "setPoolFees",
698
+ "name": "setStakingRewardRate",
1979
699
  "outputs": [],
1980
700
  "stateMutability": "nonpayable",
1981
701
  "type": "function"
@@ -1983,46 +703,22 @@
1983
703
  {
1984
704
  "inputs": [
1985
705
  {
1986
- "internalType": "NftId",
1987
- "name": "productNftId",
1988
- "type": "uint96"
706
+ "internalType": "string",
707
+ "name": "targetName",
708
+ "type": "string"
1989
709
  },
1990
710
  {
1991
- "components": [
1992
- {
1993
- "internalType": "UFixed",
1994
- "name": "fractionalFee",
1995
- "type": "uint256"
1996
- },
1997
- {
1998
- "internalType": "uint256",
1999
- "name": "fixedFee",
2000
- "type": "uint256"
2001
- }
2002
- ],
2003
- "internalType": "struct Fee",
2004
- "name": "policyFee",
2005
- "type": "tuple"
711
+ "internalType": "bytes4[]",
712
+ "name": "selectors",
713
+ "type": "bytes4[]"
2006
714
  },
2007
715
  {
2008
- "components": [
2009
- {
2010
- "internalType": "UFixed",
2011
- "name": "fractionalFee",
2012
- "type": "uint256"
2013
- },
2014
- {
2015
- "internalType": "uint256",
2016
- "name": "fixedFee",
2017
- "type": "uint256"
2018
- }
2019
- ],
2020
- "internalType": "struct Fee",
2021
- "name": "processingFee",
2022
- "type": "tuple"
716
+ "internalType": "RoleId",
717
+ "name": "roleId",
718
+ "type": "uint64"
2023
719
  }
2024
720
  ],
2025
- "name": "setProductFees",
721
+ "name": "setTargetFunctionRole",
2026
722
  "outputs": [],
2027
723
  "stateMutability": "nonpayable",
2028
724
  "type": "function"
@@ -2030,17 +726,17 @@
2030
726
  {
2031
727
  "inputs": [
2032
728
  {
2033
- "internalType": "RoleId",
2034
- "name": "role",
2035
- "type": "bytes8"
729
+ "internalType": "address",
730
+ "name": "target",
731
+ "type": "address"
2036
732
  },
2037
733
  {
2038
734
  "internalType": "bool",
2039
- "name": "active",
735
+ "name": "locked",
2040
736
  "type": "bool"
2041
737
  }
2042
738
  ],
2043
- "name": "setRoleState",
739
+ "name": "setTargetLocked",
2044
740
  "outputs": [],
2045
741
  "stateMutability": "nonpayable",
2046
742
  "type": "function"
@@ -2063,224 +759,77 @@
2063
759
  ],
2064
760
  "stateMutability": "view",
2065
761
  "type": "function"
2066
- }
2067
- ],
2068
- "bytecode": "0x60e06040523480156200001157600080fd5b50604051620077ad380380620077ad833981016040819052620000349162001456565b818181816200004560003362000474565b6301ffc9a760e01b60005260026020527f71203db6a8b906f8e7c7701ea536708e3d7c6018d3ad50e5680c3241edacce17805460ff191660011790556001600160a01b038216620000dd5760405162461bcd60e51b815260206004820152601b60248201527f4552524f523a5247422d3031303a52454749535452595f5a45524f000000000060448201526064015b60405180910390fd5b6001600160a01b03821660808190526040516301ffc9a760e01b81526306ecd8ef60e01b60048201526301ffc9a790602401602060405180830381865afa1580156200012d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200015391906200149e565b620001a15760405162461bcd60e51b815260206004820152601a60248201527f4552524f523a5247422d3031313a4e4f545f52454749535452590000000000006044820152606401620000d4565b6001600160601b03811660a081905260805160405163e74d052f60e01b815260048101929092526001600160a01b03169063e74d052f90602401602060405180830381865afa158015620001f9573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200021f91906200149e565b620002795760405162461bcd60e51b815260206004820152602360248201527f4552524f523a5247422d3031323a504152454e545f4e4f545f5245474953544560448201526214915160ea1b6064820152608401620000d4565b3360c052631dfba64760e11b60005260026020527ffc5164b528507fb56c225cc68864b8f0ef1e129250403b69e252bd0b2789bfea805460ff191660011790555050630cc0a10960e01b60005260026020527f06f4e33d2ce7c0973a7c224b2899406defdb8885f5882370cb69478e6016b453805460ff19166001179055620003016200074b565b506200034c905062000312620008de565b60408051808201909152601481527f4469737472696275746f724f776e6572526f6c6500000000000000000000000060208201526200092b565b620003866200035a62000990565b60408051808201909152600f81526e4f7261636c654f776e6572526f6c6560881b60208201526200092b565b620003be62000394620009ca565b60408051808201909152600d81526c506f6f6c4f776e6572526f6c6560981b60208201526200092b565b620003f9620003cc62000a02565b60408051808201909152601081526f50726f647563744f776e6572526f6c6560801b60208201526200092b565b600d8054306001600160a01b031991821681179092556011805490911690911790556200042e62000428606490565b62000a42565b6200043a607862000a42565b62000446608262000a42565b6200045062000b73565b6200045a62000d2a565b5050601580546001600160a01b03191630179055620017a2565b60006200048062000f97565b90506200048d8162000fa8565b15620004ec5760405162461bcd60e51b815260206004820152602760248201527f4552524f523a56524e2d3030313a56455253494f4e5f414c52454144595f41436044820152661512559055115160ca1b6064820152608401620000d4565b60015415620005ac5760018054600091906200050a908290620014df565b815481106200051d576200051d620014f5565b90600052602060002090600a91828204019190066003029054906101000a900462ffffff1690506200055082826200104c565b620005aa5760405162461bcd60e51b8152602060048201526024808201527f4552524f523a56524e2d3030323a56455253494f4e5f4e4f545f494e4352454160448201526353494e4760e01b6064820152608401620000d4565b505b600180548082018255600091909152600a8082047fb10e2d527612073b26eecdfd717e6a320cf44b4afac2b0732d9fcbe2b7fa0cf601805462ffffff808616600394909506939093026101000a848102930219169190911790556040805160a0810182529182526001600160a01b03808616602084015284169082015260608101620006354390565b63ffffffff1681526020014264ffffffffff90811690915262ffffff8084166000908152602081815260409182902085518154928701516001600160a01b039081166301000000026001600160b81b0319909416919095161791909117815584820151600190910180546060870151608090970151909516600160c01b0264ffffffffff60c01b1963ffffffff909716600160a01b026001600160c01b031990961692909416919091179390931793909316179055517f68e7327fca0057a787cde34ababb9ef9844ba8065ee03e8781d8122fc15d4419906200073e9083908690869062ffffff9390931683526001600160a01b03918216602084015216604082015260600190565b60405180910390a1505050565b60006200075762000f97565b60405163c9e66e2960e01b815262ffffff909116600482015273__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__9063c9e66e2990602401602060405180830381865af4158015620007ad573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620007d391906200150b565b90506200081c6040518060400160405280601581526020017f436f6d706f6e656e744f776e6572536572766963650000000000000000000000815250826200105e60201b60201c565b600380546001600160a01b0319166001600160a01b039290921691909117905560408051808201909152600e81526d50726f647563745365727669636560901b60208201526200086d90826200105e565b600480546001600160a01b0319166001600160a01b039290921691909117905560408051808201909152600b81526a506f6f6c5365727669636560a81b6020820152620008bb90826200105e565b600580546001600160a01b0319166001600160a01b039290921691909117905550565b6000620009266040518060400160405280601481526020017f4469737472696275746f724f776e6572526f6c650000000000000000000000008152506200113160201b60201c565b905090565b604080516060810182526001600160c01b031984168152602081018390526001918101919091526200095d8162001163565b7f34e1f82fc40bf14028ae2a3150f074e7715e20ed8e30e250f8789cee718c648583836040516200073e92919062001578565b6000620009266040518060400160405280600f81526020016e4f7261636c654f776e6572526f6c6560881b8152506200113160201b60201c565b6000620009266040518060400160405280600d81526020016c506f6f6c4f776e6572526f6c6560981b8152506200113160201b60201c565b6000620009266040518060400160405280601081526020016f50726f647563744f776e6572526f6c6560801b8152506200113160201b60201c565b606490565b60ff81166000908152601260209081526040808320805460ff1916606490811790915560138352818420908452909152812060019162000a80606e90565b60ff908116825260208083019390935260409182016000908120805460ff191695151595909517909455841683526013909152812060019162000ac1606e90565b60ff1660ff168152602001908152602001600020600062000ae762000a3d60201b60201c565b60ff908116825260208083019390935260409182016000908120805460ff191695151595909517909455841683526013909152812060019162000b28606e90565b60ff1660ff168152602001908152602001600020600062000b4e6200124660201b60201c565b60ff1681526020810191909152604001600020805460ff191691151591909117905550565b60d2600090815260126020527f8abd79d2c9af309cd354b73057265bd4872c5c303d4996bc882615d683cfe7c2805460ff1916606417905560019060139062000bba60d290565b60ff1660ff168152602001908152602001600020600062000be062000a3d60201b60201c565b60ff1660ff168152602001908152602001600020600062000c066200124160201b60201c565b60ff16815260208101919091526040016000908120805460ff19169215159290921790915560019060139062000c3a60d290565b60ff1660ff168152602001908152602001600020600062000c606200124160201b60201c565b60ff1660ff168152602001908152602001600020600062000c8662000a3d60201b60201c565b60ff16815260208101919091526040016000908120805460ff19169215159290921790915560019060139062000cba60d290565b60ff1660ff168152602001908152602001600020600062000ce06200124160201b60201c565b60ff1660ff168152602001908152602001600020600062000d066200124b60201b60201c565b60ff1681526020810191909152604001600020805460ff1916911515919091179055565b60c8600090815260126020527f7f5e610a07c00efd358a9ca9fe4176531c20c22db02aa408e24d88c54cc13d1f805460ff1916600a17905560019060139062000d7160c890565b60ff1660ff168152602001908152602001600020600062000d976200125060201b60201c565b60ff1660ff168152602001908152602001600020600062000dbd6200125560201b60201c565b60ff16815260208101919091526040016000908120805460ff19169215159290921790915560019060139062000df160c890565b60ff1660ff168152602001908152602001600020600062000e176200125060201b60201c565b60ff1660ff168152602001908152602001600020600062000e3d6200125a60201b60201c565b60ff16815260208101919091526040016000908120805460ff19169215159290921790915560019060139062000e7160c890565b60ff1660ff168152602001908152602001600020600062000e976200125060201b60201c565b60ff1660ff168152602001908152602001600020600062000ebd6200125f60201b60201c565b60ff16815260208101919091526040016000908120805460ff19169215159290921790915560019060139062000ef160c890565b60ff1660ff168152602001908152602001600020600062000f176200125f60201b60201c565b60ff1660ff168152602001908152602001600020600062000f3d62000a3d60201b60201c565b60ff16815260208101919091526040016000908120805460ff19169215159290921790915560019060139062000f7160c890565b60ff1660ff168152602001908152602001600020600062000ce062000a3d60201b60201c565b600062000926600360008062001264565b62ffffff8116600090815260208190526040808220600101549051631bbffab160e21b8152600160a01b90910463ffffffff166004820152819073__$5f476116ae21c5294e0c0761c07efa7e1c$__90636effeac490602401602060405180830381865af41580156200101f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620010459190620015a7565b1192915050565b62ffffff808216908316115b92915050565b60805160405163a3bcd81d60e01b81526000916001600160a01b03169063a3bcd81d90620010939086908690600401620015c1565b602060405180830381865afa158015620010b1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620010d79190620015e8565b90506001600160a01b038116620010585760405162461bcd60e51b815260206004820152601c60248201527f4552524f523a494e532d3030313a4e4f545f52454749535445524544000000006044820152606401620000d4565b60008160405160200162001146919062001606565b604051602081830303815290604052805190602001209050919050565b80516001600160c01b031981166000908152600660209081526040909120835181546001600160401b03191660c09190911c178155908301518391906001820190620011b09082620016c0565b50604091909101516002909101805460ff1916911515919091179055620011d7816200140e565b6200123d57600780546001810182556000919091527fa66cc928b5edb82af9bd49922954155ab7b0942694bea4ce44661d9a8736c688600482040180546001600160401b0360039093166008026101000a928302191660c084901c929092029190911790555b5050565b606e90565b60d290565b60c890565b600a90565b601490565b601e90565b602890565b604051632b10f60d60e21b815260ff84166004820152600090819073__$9dab98ad7ae1a426029e5739f922230a41$__9063ac43d83490602401602060405180830381865af4158015620012bc573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620012e29190620015a7565b604051632b10f60d60e21b815260ff8616600482015290915060009073__$9dab98ad7ae1a426029e5739f922230a41$__9063ac43d83490602401602060405180830381865af41580156200133b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620013619190620015a7565b604051632b10f60d60e21b815260ff8616600482015290915060009073__$9dab98ad7ae1a426029e5739f922230a41$__9063ac43d83490602401602060405180830381865af4158015620013ba573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620013e09190620015a7565b905080620013f7600884901b601086901b6200178c565b6200140391906200178c565b979650505050505050565b6001600160c01b0319818116600081815260066020526040812054909260c09190911b161462001058565b80516001600160a01b03811681146200145157600080fd5b919050565b600080604083850312156200146a57600080fd5b620014758362001439565b60208401519092506001600160601b03811681146200149357600080fd5b809150509250929050565b600060208284031215620014b157600080fd5b81518015158114620014c257600080fd5b9392505050565b634e487b7160e01b600052601160045260246000fd5b81810381811115620010585762001058620014c9565b634e487b7160e01b600052603260045260246000fd5b6000602082840312156200151e57600080fd5b815160ff81168114620014c257600080fd5b6000815180845260005b8181101562001558576020818501810151868301820152016200153a565b506000602082860101526020601f19601f83011685010191505092915050565b6001600160c01b0319831681526040602082018190526000906200159f9083018462001530565b949350505050565b600060208284031215620015ba57600080fd5b5051919050565b604081526000620015d6604083018562001530565b905060ff831660208301529392505050565b600060208284031215620015fb57600080fd5b620014c28262001439565b602081526000620014c2602083018462001530565b634e487b7160e01b600052604160045260246000fd5b600181811c908216806200164657607f821691505b6020821081036200166757634e487b7160e01b600052602260045260246000fd5b50919050565b601f821115620016bb57600081815260208120601f850160051c81016020861015620016965750805b601f850160051c820191505b81811015620016b757828155600101620016a2565b5050505b505050565b81516001600160401b03811115620016dc57620016dc6200161b565b620016f481620016ed845462001631565b846200166d565b602080601f8311600181146200172c5760008415620017135750858301515b600019600386901b1c1916600185901b178555620016b7565b600085815260208120601f198616915b828110156200175d578886015182559484019460019091019084016200173c565b50858210156200177c5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b80820180821115620010585762001058620014c9565b60805160a05160c051615fbf620017ee6000396000613f3b015260006105310152600081816107890152818161128101528181611d0b01528181613eba0152613f7e0152615fbf6000f3fe60806040523480156200001157600080fd5b5060043610620004095760003560e01c8063893d20e8116200021d578063bd62faf71162000131578063dc261c3a11620000bb578063e9e96c701162000086578063e9e96c701462000c1a578063ee0fdf711462000c31578063f0ea17c31462000c48578063f274e87d1462000cf957600080fd5b8063dc261c3a1462000b84578063e03eeb851462000bd5578063e1f64d771462000bec578063e79597401462000c0357600080fd5b8063d0bb064c11620000fc578063d0bb064c1462000aaf578063d250185c1462000b3f578063dad73bed1462000b56578063db70354c1462000b6d57600080fd5b8063bd62faf71462000a35578063bd7d9d851462000a4c578063c2bf7d261462000a72578063cf5ccedb1462000a8957600080fd5b806399fd467711620001b3578063af17d38a116200017e578063af17d38a14620009d9578063b88da75914620009f0578063b8c510671462000a07578063b9f36dde1462000a1e57600080fd5b806399fd4677146200095c578063a310e2a31462000973578063a7f3669b14620009ab578063a90be90714620009c257600080fd5b8063946dfcfe11620001f4578063946dfcfe146200090e5780639555c4db14620009175780639675513d146200092e57806398457437146200094557600080fd5b8063893d20e8146200089c5780638b59fe2a14620008a657806393865aec14620008bd57600080fd5b80634793b4ab1162000321578063674d0ccf11620002ab57806375a07ed2116200027657806375a07ed214620008215780637fec8b31146200083857806383d33319146200084f57806387c56586146200085857600080fd5b8063674d0ccf14620007cf57806369a44a1b14620007e65780636b9bf08b14620007fd5780636fa29853146200080f57600080fd5b806357f80bbf11620002ec57806357f80bbf14620006e75780635ab1bd5314620007875780635fe9f2a514620007ae578063644c45e014620007c557600080fd5b80634793b4ab14620005f55780634d459c90146200061b5780634fd077f514620006905780635312fdc214620006b657600080fd5b80631aa3a00811620003a3578063349195f9116200036e578063349195f914620005935780633bc5de30146200059c5780634288121d14620005b857806345c5a27d14620005de57600080fd5b80631aa3a008146200050c57806331b62a3b146200052f57806331e48e3214620005565780633300a8a8146200056d57600080fd5b80630d0ccc5b11620003e45780630d0ccc5b14620004835780630d35818114620004a95780630d8e6e2c14620004e557806315dae03e146200050457600080fd5b806301ffc9a7146200040e5780630591087414620004535780630abd8434146200046c575b600080fd5b6200043e6200041f366004620047d3565b6001600160e01b03191660009081526002602052604090205460ff1690565b60405190151581526020015b60405180910390f35b6200046a6200046436600462004825565b62000d26565b005b6200043e6200047d366004620048d7565b620010b9565b6200049a62000494366004620048fe565b6200115d565b6040519081526020016200044a565b620004d2620004ba36600462004953565b60ff9081166000908152601260205260409020541690565b60405160ff90911681526020016200044a565b620004ef620011e8565b60405162ffffff90911681526020016200044a565b6032620004d2565b62000516620011fe565b6040516001600160601b0390911681526020016200044a565b7f000000000000000000000000000000000000000000000000000000000000000062000516565b6200046a6200056736600462004aa8565b620012f9565b620005846200057e36600462004b4a565b62001444565b6040516200044a919062004b6a565b600f546200049a565b604080516020810182526000815290516200044a919062004c1d565b6004546001600160a01b03165b6040516001600160a01b0390911681526020016200044a565b6200046a620005ef36600462004cf8565b620014ca565b6200060c6200060636600462004b4a565b62001746565b6040516200044a919062004e1b565b620006326200062c366004620048d7565b620018f5565b60408051825162ffffff1681526020808401516001600160a01b039081169183019190915283830151169181019190915260608083015163ffffffff169082015260809182015164ffffffffff169181019190915260a0016200044a565b620006a7620006a136600462004b4a565b620019f0565b6040516200044a919062004f08565b620006cd620006c736600462004fbd565b62001aa8565b6040516001600160c01b031990911681526020016200044a565b62000759620006f836600462004b4a565b6040805160608082018352600080835260208084018290529284018190526001600160601b039485168152601683528390208351918201845280549485168252600160601b90940460ff161515918101919091526001909201549082015290565b6040805182516001600160601b0316815260208084015115159082015291810151908201526060016200044a565b7f0000000000000000000000000000000000000000000000000000000000000000620005c5565b6200046a620007bf36600462004fd7565b62001aea565b6200051662001cf3565b6200049a620007e036600462005151565b62001d5b565b6200049a620007f736600462004b4a565b62001d7f565b6005546001600160a01b0316620005c5565b6003546001600160a01b0316620005c5565b6200046a620008323660046200516f565b62001e10565b620005166200084936600462004fbd565b62002143565b6007546200049a565b604080518082018252600080825260209182018190528251808401845281815282018190528251808401909352808352908201525b6040516200044a9190620051dd565b620005c56200218b565b6200046a620008b7366004620051f5565b62002197565b6200046a620008ce36600462005247565b6001600160601b039092166000908152601a6020908152604090912082516001820155918101516002830155825160038301559190910151600490910155565b6001546200049a565b6200046a6200092836600462005295565b620023b6565b6200049a6200093f366004620052c8565b620023c6565b6200046a62000956366004620052fb565b62002530565b6200043e6200096d36600462005341565b620026b0565b620005c56200098436600462004b4a565b6001600160601b03166000908152601860205260409020600201546001600160a01b031690565b620004d2620009bc36600462005360565b620026e7565b6200049a620009d336600462004fbd565b620028f1565b620006cd620009ea366004620053c5565b6200292d565b620004ef62000a0136600462004fbd565b62002a49565b620006cd62000a18366004620053c5565b62002ae1565b6200046a62000a2f36600462005341565b62002aee565b6200051662000a463660046200541a565b62002c57565b62000a6362000a5d36600462004b4a565b6200309a565b6040516200044a919062005495565b6200046a62000a8336600462005341565b6200329f565b62000aa062000a9a36600462005151565b6200349f565b6040516200044a9190620055c7565b6200046a62000ac036600462005610565b604080516080810182526001600160601b039586168082526001600160a01b039586166020808401918252838501968752606084019586526000928352601a81529390912091519051909516600160601b0294909516939093178455905180516001850155820151600284015551805160038401550151600490910155565b6200088d62000b5036600462005673565b6200359d565b6200046a62000b67366004620056a5565b620035dd565b6200051662000b7e366004620056d6565b620037fb565b6200046a62000b9536600462005247565b6001600160601b03909216600090815260186020908152604090912082516004820155918101516005830155825160068301559190910151600790910155565b6200046a62000be636600462005705565b62003892565b6200046a62000bfd366004620052fb565b620039d8565b620005c562000c143660046200573a565b62003b2c565b6200043e62000c2b36600462005759565b62003b51565b6200043e62000c4236600462005151565b62003b85565b62000cc162000c5936600462004b4a565b6040805160608082018352600080835260208084018290529284018190526001600160601b039485168152600e83528390208351918201845280549485168252600160601b90940460ff16918101919091526001909201546001600160a01b03169082015290565b6040805182516001600160601b0316815260208084015160ff1690820152918101516001600160a01b0316908201526060016200044a565b62000d1062000d0a366004620057a0565b62003bb0565b604080519283526020830191909152016200044a565b306001600160a01b0316636b9bf08b6040518163ffffffff1660e01b81526004016020604051808303816000875af115801562000d67573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000d8d9190620057d0565b6001600160a01b0316336001600160a01b03161462000df35760405162461bcd60e51b815260206004820152601e60248201527f4552524f523a42444c2d3030313a4e4f545f504f4f4c5f53455256494345000060448201526064015b60405180910390fd5b60408051610160810182526001600160601b03888116825287166020820152600d5490918201906001600160a01b0316630d35818160d26040516001600160e01b031960e084901b16815260ff9091166004820152602401602060405180830381865afa15801562000e69573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000e8f9190620057f0565b60ff16815260200183838080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920182905250938552505050602082018790526040820152606081018690526080014264ffffffffff16815260200142604051631ded81af60e31b815264ffffffffff90911660048201526024810186905273__$d53880c81dc91c20799140d711e5ab8718$__9063ef6c0d7890604401602060405180830381865af415801562000f52573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000f78919062005810565b64ffffffffff168152602001600064ffffffffff1681526020014363ffffffff1690526001600160601b038088166000908152600a602090815260409182902084518154928601519386015160ff16600160c01b0260ff60c01b19948616600160601b026001600160c01b03199094169190951617919091179190911691909117815560608201516001820190620010119082620058bf565b506080820151600282015560a0820151600382015560c0820151600482015560e0820151600590910180546101008401516101208501516101409095015163ffffffff16600160781b0263ffffffff60781b1964ffffffffff968716600160501b021668ffffffffffffffffff60501b19928716600160281b0269ffffffffffffffffffff199094169690951695909517919091171691909117919091179055505050505050565b62ffffff8116600090815260208190526040808220600101549051631bbffab160e21b8152600160a01b90910463ffffffff166004820152819073__$5f476116ae21c5294e0c0761c07efa7e1c$__90636effeac490602401602060405180830381865af415801562001130573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200115691906200598b565b1192915050565b604051631488c84560e01b815260048101839052600082810b60248301529073__$fa7f345063a1bf0cf2bd14a32ccc1b6018$__90631488c84590604401602060405180830381865af4158015620011b9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620011df91906200598b565b90505b92915050565b6000620011f9600360008062003ce3565b905090565b60006200120a6200218b565b6001600160a01b0316336001600160a01b0316146200126c5760405162461bcd60e51b815260206004820152601760248201527f4552524f523a5247422d3030313a4e4f545f4f574e4552000000000000000000604482015260640162000dea565b604051632210724360e11b81523060048201527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031690634420e486906024016020604051808303816000875af1158015620012d3573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620011f99190620059a5565b600087856040516200130b9062004707565b6001600160601b0390921682526001600160a01b03166020820152604001604051809103906000f08015801562001346573d6000803e3d6000fd5b5060408051610100810182526001600160601b039a8b16808252998b166020808301918252998c168284019081526001600160a01b03998a1660608401908152948a1660808401908152988a1660a0840190815260c0840198895260e0840197885260009c8d5260188c5293909b20915182549151908d166001600160c01b031990921691909117600160601b918d1682021782559951925192909a169187169098021760018901555091516002870180546001600160a01b03199081169286169290921790559451600387018054909616931692909217909355518051600485015581015160058401559051805160068401550151600790910155565b6200144e62004715565b506001600160601b039081166000908152601a6020908152604091829020825160808101845281549485168152600160601b9094046001600160a01b0316848301528251808401845260018201548152600282015481840152848401528251808401909352600381015483526004015490820152606082015290565b306001600160a01b0316636b9bf08b6040518163ffffffff1660e01b81526004016020604051808303816000875af11580156200150b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620015319190620057d0565b6001600160a01b0316336001600160a01b03161480620015c85750306001600160a01b0316634288121d6040518163ffffffff1660e01b81526004016020604051808303816000875af11580156200158d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620015b39190620057d0565b6001600160a01b0316336001600160a01b0316145b620016285760405162461bcd60e51b815260206004820152602960248201527f4552524f523a42444c2d3030333a4e4f545f504f4f4c5f4f525f50524f445543604482015268545f5345525649434560b81b606482015260840162000dea565b80516001600160601b039081166000908152600a602090815260409182902084518154928601519386015160ff16600160c01b0260ff60c01b19948616600160601b026001600160c01b03199094169190951617919091179190911691909117815560608201518291906001820190620016a39082620058bf565b506080820151600282015560a0820151600382015560c0820151600482015560e0820151600590910180546101008401516101208501516101409095015163ffffffff16600160781b0263ffffffff60781b1964ffffffffff968716600160501b021668ffffffffffffffffff60501b19928716600160281b0269ffffffffffffffffffff19909416969095169590951791909117169190911791909117905550565b60408051610160810182526000808252602082018190529181018290526060808201526080810182905260a0810182905260c0810182905260e08101829052610100810182905261012081018290526101408101919091526001600160601b038281166000908152600a602090815260409182902082516101608101845281548086168252600160601b810490951692810192909252600160c01b90930460ff1691810191909152600182018054919291606084019190620018089062005830565b80601f0160208091040260200160405190810160405280929190818152602001828054620018369062005830565b8015620018875780601f106200185b5761010080835404028352916020019162001887565b820191906000526020600020905b8154815290600101906020018083116200186957829003601f168201915b505050918352505060028201546020820152600382015460408201526004820154606082015260059091015464ffffffffff8082166080840152600160281b8204811660a0840152600160501b82041660c0830152600160781b900463ffffffff1660e09091015292915050565b6040805160a0810182526000808252602082018190529181018290526060810182905260808101919091526200192b82620010b9565b620019795760405162461bcd60e51b815260206004820152601d60248201527f4552524f523a56524e2d3032303a56455253494f4e5f554e4b4e4f574e000000604482015260640162000dea565b5062ffffff90811660009081526020818152604091829020825160a0810184528154948516815263010000009094046001600160a01b03908116928501929092526001015490811691830191909152600160a01b810463ffffffff166060830152600160c01b900464ffffffffff16608082015290565b620019fa62004786565b506001600160601b0390811660009081526018602090815260409182902082516101008101845281548086168252600160601b908190048616828501526001830154958616828601526001600160a01b03950485166060820152600282015485166080820152600382015490941660a0850152825180840184526004820154815260058201548184015260c0850152825180840190935260068101548352600701549082015260e082015290565b60006007828154811062001ac05762001ac0620059c5565b90600052602060002090600491828204019190066008029054906101000a900460c01b9050919050565b306001600160a01b0316634288121d6040518163ffffffff1660e01b81526004016020604051808303816000875af115801562001b2b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062001b519190620057d0565b6001600160a01b0316336001600160a01b03161462001b845760405162461bcd60e51b815260040162000dea90620059db565b80516001600160601b0390811660009081526014602090815260409182902084518154928601519085166001600160c01b031990931692909217600160601b928516830217815591840151606085015193166001600160a01b0390931602919091176001820155608082015160028201805460ff191660ff90921691909117905560a0820151600382015560c0820151600482015560e082015160058201556101008201516006820155610120820151829190600782019062001c489082620058bf565b50610140820151600890910180546101608401516101808501516101a08601516101c09096015163ffffffff16600160a01b0263ffffffff60a01b1964ffffffffff978816600160781b0264ffffffffff60781b19938916600160501b029390931669ffffffffffffffffffff60501b19948916600160281b0269ffffffffffffffffffff199096169890971697909717939093179190911693909317929092179290921617905550565b604051636939560f60e11b81523060048201526000907f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169063d272ac1e90602401602060405180830381865afa158015620012d3573d6000803e3d6000fd5b6001600160c01b031981166000908152600960205260408120620011e29062003e8d565b6001600160601b038116600090815260176020526040808220905163697d0f1b60e11b8152600481019190915273__$0dc988b1672de335b826773df9015af2da$__9063d2fa1e36906024015b602060405180830381865af415801562001dea573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620011e291906200598b565b306001600160a01b0316634288121d6040518163ffffffff1660e01b81526004016020604051808303816000875af115801562001e51573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062001e779190620057d0565b6001600160a01b0316336001600160a01b03161462001eaa5760405162461bcd60e51b815260040162000dea90620059db565b604080516101e0810182526001600160601b03878116825288811660208301528316918101919091526000606082015260155460808201906001600160a01b0316630d35818160c86040516001600160e01b031960e084901b16815260ff9091166004820152602401602060405180830381865afa15801562001f31573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062001f579190620057f0565b60ff1681526020018581526020018481526020016000815260200183815260200160405180602001604052806000815250815260200162001f954290565b64ffffffffff168152602001600064ffffffffff168152602001600064ffffffffff168152602001600064ffffffffff1681526020014363ffffffff1690526001600160601b0386811660009081526014602090815260409182902084518154928601519085166001600160c01b031990931692909217600160601b928516830217815591840151606085015193166001600160a01b0390931602919091176001820155608082015160028201805460ff191660ff90921691909117905560a0820151600382015560c0820151600482015560e0820151600582015561010082015160068201556101208201516007820190620020939082620058bf565b50610140820151600890910180546101608401516101808501516101a08601516101c09096015163ffffffff16600160a01b0263ffffffff60a01b1964ffffffffff978816600160781b0264ffffffffff60781b19938916600160501b029390931669ffffffffffffffffffff60501b19948916600160281b0269ffffffffffffffffffff1990961698909716979097179390931791909116939093179290921792909216179055505050505050565b6000600f82815481106200215b576200215b620059c5565b9060005260206000209060029182820401919006600c029054906101000a90046001600160601b03169050919050565b6000620011f962003e98565b306001600160a01b0316636fa298536040518163ffffffff1660e01b8152600401602060405180830381865afa158015620021d6573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620021fc9190620057d0565b6001600160a01b0316336001600160a01b0316146200225e5760405162461bcd60e51b815260206004820152601f60248201527f4552524f523a434d502d3030313a4e4f545f4f574e45525f5345525649434500604482015260640162000dea565b604080516060810182526001600160601b03851681526011549151630d35818160e01b815260ff85166004820152909160208301916001600160a01b0390911690630d35818190602401602060405180830381865afa158015620022c6573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620022ec9190620057f0565b60ff90811682526001600160a01b039384166020928301526001600160601b039586166000818152600e845260408082208651815496880151909516600160601b026001600160681b0319909616948a1694909417949094178355939092015160019182018054919095166001600160a01b031990911617909355600f805480850182559252600282047f8d1108e10bcb7c27dddfc02ed9d693a074039d026cf4ea4240b40f7d581ac80201805492909316600c026101000a908102940219169290921790915550565b620023c2828262003ffa565b5050565b6000306001600160a01b0316634288121d6040518163ffffffff1660e01b81526004016020604051808303816000875af115801562002409573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200242f9190620057d0565b6001600160a01b0316336001600160a01b031614620024625760405162461bcd60e51b815260040162000dea9062005a1c565b506001600160601b038083166000818152600c602090815260408083209486168352938152838220805490839055928252600b9052829020915163539eabab60e11b8152909173__$0dc988b1672de335b826773df9015af2da$__9163a73d575691620024e59186906004019182526001600160601b0316602082015260400190565b602060405180830381865af415801562002503573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062002529919062005a5d565b5092915050565b6001600160601b03828116600090815260176020526040908190209051632bfdd6b960e01b81526004810182905291851660248301529073__$0dc988b1672de335b826773df9015af2da$__90632bfdd6b990604401602060405180830381865af4158015620025a4573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620025ca919062005a5d565b15620026235760405162461bcd60e51b815260206004820152602160248201527f4552524f523a504c2d3032303a42554e444c455f414c52454144595f414444456044820152601160fa1b606482015260840162000dea565b604051631461054360e31b8152600481018290526001600160601b038516602482015273__$0dc988b1672de335b826773df9015af2da$__9063a3082a1890604401602060405180830381865af415801562002683573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620026a9919062005a5d565b5050505050565b6001600160c01b0319821660009081526008602090815260408083206001600160a01b038516845290915281205460ff16620011df565b60ff80841660009081526013602090815260408083208685168452825280832085851684529091528120549091166200275857604051630cdd837760e21b81526001600160601b038616600482015260ff808616602483015280851660448301528316606482015260840162000dea565b6200276b8460c85b60ff90811691161490565b15620027c857604080516001600160601b038716815260ff80861660208301528416918101919091527f3453c320908f5844705a0f2acbb230412df911a60544eca9236d16f5f9f1f6f6906060015b60405180910390a1620028e9565b620027d58460d262002760565b156200282957604080516001600160601b038716815260ff80861660208301528416918101919091527f92e25bf636cb4bfa6edf8b4fa57c0d64b6d959e3c6376d17c9bcc168fe36be1990606001620027ba565b6200283684606462002760565b806200284a57506200284a84607862002760565b806200285e57506200285e84608262002760565b15620028bb57604080516001600160601b038716815260ff80871660208301528086169282019290925290831660608201527fcc75054af33cdb7ef0c6dd9d4cb6f22e1dc2d22204db49d769d5da19579fb84e90608001620027ba565b60405163024acc7560e21b81526001600160601b038616600482015260ff8516602482015260440162000dea565b509392505050565b6040516322f5db0f60e11b81526004810182905260009073__$fa7f345063a1bf0cf2bd14a32ccc1b6018$__906345ebb61e9060240162001dcc565b6000306001600160a01b031663893d20e86040518163ffffffff1660e01b8152600401602060405180830381865afa1580156200296e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620029949190620057d0565b6001600160a01b0316336001600160a01b031614620029c75760405162461bcd60e51b815260040162000dea9062005a8a565b620029d282620042cb565b9050620029df8162003b85565b1562002a385760405162461bcd60e51b815260206004820152602160248201527f4552524f523a4143532d3031303a524f4c455f414c52454144595f45584953546044820152605360f81b606482015260840162000dea565b62002a448183620042fd565b919050565b600154600090821062002a9f5760405162461bcd60e51b815260206004820152601d60248201527f4552524f523a56524e2d3031303a494e4445585f544f4f5f4c41524745000000604482015260640162000dea565b6001828154811062002ab55762002ab5620059c5565b90600052602060002090600a91828204019190066003029054906101000a900462ffffff169050919050565b6000620011e282620042cb565b6001600160c01b0319828116600081815260066020526040902054849260c09190911b161462002b325760405162461bcd60e51b815260040162000dea9062005ac1565b306001600160a01b031663893d20e86040518163ffffffff1660e01b8152600401602060405180830381865afa15801562002b71573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062002b979190620057d0565b6001600160a01b0316336001600160a01b03161462002bca5760405162461bcd60e51b815260040162000dea9062005a8a565b6001600160c01b0319831660008181526008602090815260408083206001600160a01b03871684528252808320805460ff19169055928252600990522062002c13908362004362565b507fab64a6bff51dad0663bf6702fca25a9e2751ecc0353d6fe92d169875453966848383600060405162002c4a9392919062005af8565b60405180910390a1505050565b6000306001600160a01b0316636fa298536040518163ffffffff1660e01b8152600401602060405180830381865afa15801562002c98573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062002cbe9190620057d0565b6001600160a01b0316336001600160a01b03161462002d205760405162461bcd60e51b815260206004820152601f60248201527f4552524f523a434d502d3030313a4e4f545f4f574e45525f5345525649434500604482015260640162000dea565b5080516040516330b8415f60e01b81526001600160601b038216600482015273__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af415801562002d7c573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062002da2919062005a5d565b801562002e4157506001600160601b038181166000818152600e60205260409081902054905163c4cade9d60e01b815292166004830152602482015273__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__9063c4cade9d90604401602060405180830381865af415801562002e1b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062002e41919062005a5d565b62002e8f5760405162461bcd60e51b815260206004820152601f60248201527f4552524f523a434d502d3030363a434f4d504f4e454e545f554e4b4e4f574e00604482015260640162000dea565b6000306001600160a01b0316635ab1bd536040518163ffffffff1660e01b8152600401602060405180830381865afa15801562002ed0573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062002ef69190620057d0565b6040516305247a1760e51b81526001600160601b03841660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa15801562002f46573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405262002f70919081019062005b71565b6040908101516011546001600160601b0385166000818152600e6020908152908590205490880151945163a7f3669b60e01b8152600481019290925260ff8085166024840152600160601b9091048116604483015290931660648401529092506001600160a01b03169063a7f3669b906084016020604051808303816000875af115801562003003573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620030299190620057f0565b50506001600160601b038082166000908152600e6020908152604091829020855181549287015160ff16600160601b026001600160681b031990931694169390931717825590920151600190920180546001600160a01b039093166001600160a01b03199093169290921790915590565b604080516101e08101825260008082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820183905260e0820183905261010082018390526101208201526101408101829052610160810182905261018081018290526101a081018290526101c08101919091526001600160601b0382811660009081526014602090815260409182902082516101e08101845281548086168252600160601b9081900486169382019390935260018201549485169381019390935292046001600160a01b03166060820152600282015460ff166080820152600382015460a0820152600482015460c0820152600582015460e0820152600682015461010082015260078201805491929161012084019190620031c19062005830565b80601f0160208091040260200160405190810160405280929190818152602001828054620031ef9062005830565b8015620032405780601f10620032145761010080835404028352916020019162003240565b820191906000526020600020905b8154815290600101906020018083116200322257829003601f168201915b50505091835250506008919091015464ffffffffff8082166020840152600160281b820481166040840152600160501b820481166060840152600160781b8204166080830152600160a01b900463ffffffff1660a09091015292915050565b6001600160c01b0319828116600081815260066020526040902054849260c09190911b1614620032e35760405162461bcd60e51b815260040162000dea9062005ac1565b306001600160a01b031663893d20e86040518163ffffffff1660e01b8152600401602060405180830381865afa15801562003322573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620033489190620057d0565b6001600160a01b0316336001600160a01b0316146200337b5760405162461bcd60e51b815260040162000dea9062005a8a565b6001600160c01b0319831660009081526006602052604090206002015460ff16620033e95760405162461bcd60e51b815260206004820152601d60248201527f4552524f523a4143532d3034303a524f4c455f4e4f545f414354495645000000604482015260640162000dea565b6001600160c01b0319831660008181526008602090815260408083206001600160a01b03871684528252808320805460ff19166001179055928252600990522062003435908362004379565b506001600160c01b0319831660009081526008602090815260408083206001600160a01b0386168452909152908190205490517fab64a6bff51dad0663bf6702fca25a9e2751ecc0353d6fe92d169875453966849162002c4a918691869160ff9091169062005af8565b6040805160608082018352600080835260208084018390528385018290526001600160c01b0319868116835260068252918590208551938401909552845460c01b90911682526001840180549394929391840191620034fe9062005830565b80601f01602080910402602001604051908101604052809291908181526020018280546200352c9062005830565b80156200357d5780601f1062003551576101008083540402835291602001916200357d565b820191906000526020600020905b8154815290600101906020018083116200355f57829003601f168201915b50505091835250506002919091015460ff16151560209091015292915050565b6040805180820190915260008082526020820152620011df8383604080518082018252600080825260209182015281518083019092529281529182015290565b6001600160c01b0319828116600081815260066020526040902054849260c09190911b1614620036215760405162461bcd60e51b815260040162000dea9062005ac1565b306001600160a01b031663893d20e86040518163ffffffff1660e01b8152600401602060405180830381865afa15801562003660573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620036869190620057d0565b6001600160a01b0316336001600160a01b031614620036b95760405162461bcd60e51b815260040162000dea9062005a8a565b6001600160c01b03198084166000908152600660209081526040808320815160608101909252805460c01b9094168152600184018054939491939192840191620037039062005830565b80601f0160208091040260200160405190810160405280929190818152602001828054620037319062005830565b8015620037825780601f10620037565761010080835404028352916020019162003782565b820191906000526020600020905b8154815290600101906020018083116200376457829003601f168201915b50505091835250506002919091015460ff16151560209091015283151560408201529050620037b18162004390565b604080516001600160c01b03198616815284151560208201527feaffaec948991ecc6e201ba4f67ba865fbf66aace3d2f2823dc5483cc9813fda910160405180910390a150505050565b6001600160601b038216600090815260176020526040808220905163e797d89960e01b815260048101919091526024810183905273__$0dc988b1672de335b826773df9015af2da$__9063e797d89990604401602060405180830381865af41580156200386c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620011df9190620059a5565b6001600160601b0383811660009081526016602052604090819020549051630a4d29dd60e31b81529116600482015273__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906352694ee890602401602060405180830381865af4158015620038fe573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062003924919062005a5d565b620039725760405162461bcd60e51b815260206004820152601c60248201527f4552524f523a504c2d3031303a414c52454144595f4352454154454400000000604482015260640162000dea565b604080516060810182526001600160601b039485168082529315156020808301918252828401948552600095865260169052919093209251835491511515600160601b026001600160681b03199092169416939093179290921781559051600190910155565b306001600160a01b0316634288121d6040518163ffffffff1660e01b81526004016020604051808303816000875af115801562003a19573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062003a3f9190620057d0565b6001600160a01b0316336001600160a01b03161462003a725760405162461bcd60e51b815260040162000dea9062005a1c565b6001600160601b038381166000818152600c60209081526040808320948716808452948252808320869055928252600b90528190209051631461054360e31b81526004810191909152602481019190915273__$0dc988b1672de335b826773df9015af2da$__9063a3082a1890604401602060405180830381865af415801562003b00573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062003b26919062005a5d565b50505050565b6001600160c01b031982166000908152600960205260408120620011df90836200446e565b60ff8084166000908152601360209081526040808320868516845282528083208585168452909152902054165b9392505050565b6001600160c01b0319818116600081815260066020526040812054909260c09190911b1614620011e2565b600080600062003c3f73__$fa7f345063a1bf0cf2bd14a32ccc1b6018$__6345ebb61e876040518263ffffffff1660e01b815260040162003bf391815260200190565b602060405180830381865af415801562003c11573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062003c3791906200598b565b85516200447c565b6020850151604051632255341b60e11b8152600481018390529192509073__$fa7f345063a1bf0cf2bd14a32ccc1b6018$__906344aa683690602401602060405180830381865af415801562003c99573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062003cbf91906200598b565b62003ccb919062005c60565b925062003cd9838662005c76565b9150509250929050565b604051632b10f60d60e21b815260ff84166004820152600090819073__$9dab98ad7ae1a426029e5739f922230a41$__9063ac43d83490602401602060405180830381865af415801562003d3b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062003d6191906200598b565b604051632b10f60d60e21b815260ff8616600482015290915060009073__$9dab98ad7ae1a426029e5739f922230a41$__9063ac43d83490602401602060405180830381865af415801562003dba573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062003de091906200598b565b604051632b10f60d60e21b815260ff8616600482015290915060009073__$9dab98ad7ae1a426029e5739f922230a41$__9063ac43d83490602401602060405180830381865af415801562003e39573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062003e5f91906200598b565b90508062003e76600884901b601086901b62005c60565b62003e82919062005c60565b979650505050505050565b6000620011e2825490565b604051636939560f60e11b815230600482015260009081906001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063d272ac1e90602401602060405180830381865afa15801562003f02573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062003f289190620059a5565b90506001600160601b03811662003f60577f000000000000000000000000000000000000000000000000000000000000000091505090565b60405163df33330b60e01b81526001600160601b03821660048201527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169063df33330b90602401602060405180830381865afa15801562003fce573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062003ff49190620057d0565b91505090565b600062004006620011e8565b90506200401381620010b9565b15620040725760405162461bcd60e51b815260206004820152602760248201527f4552524f523a56524e2d3030313a56455253494f4e5f414c52454144595f41436044820152661512559055115160ca1b606482015260840162000dea565b60015415620041395760018054600091906200409090829062005c76565b81548110620040a357620040a3620059c5565b90600052602060002090600a91828204019190066003029054906101000a900462ffffff169050620040dd828262ffffff90811691161190565b620041375760405162461bcd60e51b8152602060048201526024808201527f4552524f523a56524e2d3030323a56455253494f4e5f4e4f545f494e4352454160448201526353494e4760e01b606482015260840162000dea565b505b600180548082018255600091909152600a8082047fb10e2d527612073b26eecdfd717e6a320cf44b4afac2b0732d9fcbe2b7fa0cf601805462ffffff808616600394909506939093026101000a848102930219169190911790556040805160a0810182529182526001600160a01b03808616602084015284169082015260608101620041c24390565b63ffffffff1681526020014264ffffffffff90811690915262ffffff8084166000908152602081815260409182902085518154928701516001600160a01b039081166301000000026001600160b81b0319909416919095161791909117815584820151600190910180546060870151608090970151909516600160c01b0264ffffffffff60c01b1963ffffffff909716600160a01b026001600160c01b031990961692909416919091179390931793909316179055517f68e7327fca0057a787cde34ababb9ef9844ba8065ee03e8781d8122fc15d44199062002c4a9083908690869062ffffff9390931683526001600160a01b03918216602084015216604082015260600190565b600081604051602001620042e0919062004c1d565b604051602081830303815290604052805190602001209050919050565b604080516060810182526001600160c01b031984168152602081018390526001918101919091526200432f8162004390565b7f34e1f82fc40bf14028ae2a3150f074e7715e20ed8e30e250f8789cee718c6485838360405162002c4a92919062005c8c565b6000620011df836001600160a01b03841662004493565b6000620011df836001600160a01b03841662004597565b80516001600160c01b0319811660009081526006602090815260409091208351815467ffffffffffffffff191660c09190911c178155908301518391906001820190620043de9082620058bf565b50604091909101516002909101805460ff1916911515919091179055620044058162003b85565b620023c257600780546001810182556000919091527fa66cc928b5edb82af9bd49922954155ab7b0942694bea4ce44661d9a8736c688600482040180546001600160401b0360039093166008026101000a928302191660c09390931c9190910291909117905550565b6000620011df8383620045e9565b6000620011df8383670de0b6b3a764000062004616565b600081815260018301602052604081205480156200458c576000620044ba60018362005c76565b8554909150600090620044d09060019062005c76565b90508181146200453c576000866000018281548110620044f457620044f4620059c5565b90600052602060002001549050808760000184815481106200451a576200451a620059c5565b6000918252602080832090910192909255918252600188019052604090208390555b855486908062004550576200455062005cb3565b600190038181906000526020600020016000905590558560010160008681526020019081526020016000206000905560019350505050620011e2565b6000915050620011e2565b6000818152600183016020526040812054620045e057508154600181810184556000848152602080822090930184905584548482528286019093526040902091909155620011e2565b506000620011e2565b6000826000018281548110620046035762004603620059c5565b9060005260206000200154905092915050565b600080806000198587098587029250828110838203039150508060000362004655578382816200464a576200464a62005cc9565b049250505062003b7e565b8084116200469e5760405162461bcd60e51b81526020600482015260156024820152744d6174683a206d756c446976206f766572666c6f7760581b604482015260640162000dea565b60008486880960026001871981018816978890046003810283188082028403028082028403028082028403028082028403028082028403029081029092039091026000889003889004909101858311909403939093029303949094049190911702949350505050565b6102aa8062005ce083390190565b604051806080016040528060006001600160601b0316815260200160006001600160a01b031681526020016200475e604051806040016040528060008152602001600081525090565b815260200162004781604051806040016040528060008152602001600081525090565b905290565b604080516101008101825260008082526020808301829052828401829052606083018290526080830182905260a0830182905283518085019094528184528301529060c08201906200475e565b600060208284031215620047e657600080fd5b81356001600160e01b03198116811462003b7e57600080fd5b6001600160601b03811681146200481557600080fd5b50565b803562002a4481620047ff565b60008060008060008060a087890312156200483f57600080fd5b86356200484c81620047ff565b955060208701356200485e81620047ff565b9450604087013593506060870135925060808701356001600160401b03808211156200488957600080fd5b818901915089601f8301126200489e57600080fd5b813581811115620048ae57600080fd5b8a6020828501011115620048c157600080fd5b6020830194508093505050509295509295509295565b600060208284031215620048ea57600080fd5b813562ffffff8116811462003b7e57600080fd5b600080604083850312156200491257600080fd5b8235915060208301358060000b81146200492b57600080fd5b809150509250929050565b60ff811681146200481557600080fd5b803562002a448162004936565b6000602082840312156200496657600080fd5b813562003b7e8162004936565b6001600160a01b03811681146200481557600080fd5b803562002a448162004973565b634e487b7160e01b600052604160045260246000fd5b60405161016081016001600160401b0381118282101715620049d257620049d262004996565b60405290565b6040516101e081016001600160401b0381118282101715620049d257620049d262004996565b60405160c081016001600160401b0381118282101715620049d257620049d262004996565b604051601f8201601f191681016001600160401b038111828210171562004a4e5762004a4e62004996565b604052919050565b60006040828403121562004a6957600080fd5b604051604081018181106001600160401b038211171562004a8e5762004a8e62004996565b604052823581526020928301359281019290925250919050565b6000806000806000806000610120888a03121562004ac557600080fd5b873562004ad281620047ff565b9650602088013562004ae481620047ff565b9550604088013562004af681620047ff565b9450606088013562004b088162004973565b9350608088013562004b1a8162004973565b925062004b2b8960a08a0162004a56565b915062004b3c8960e08a0162004a56565b905092959891949750929550565b60006020828403121562004b5d57600080fd5b813562003b7e81620047ff565b81516001600160601b031681526020808301516001600160a01b03169082015260408083015160c083019162004bac9084018280518252602090810151910152565b50606083015180516080840152602081015160a084015262002529565b60005b8381101562004be657818101518382015260200162004bcc565b50506000910152565b6000815180845262004c0981602086016020860162004bc9565b601f01601f19169290920160200192915050565b602081526000620011df602083018462004bef565b60006001600160401b0382111562004c4e5762004c4e62004996565b50601f01601f191660200190565b600062004c7362004c6d8462004c32565b62004a23565b905082815283838301111562004c8857600080fd5b828260208301376000602084830101529392505050565b600082601f83011262004cb157600080fd5b620011df8383356020850162004c5c565b64ffffffffff811681146200481557600080fd5b803562002a448162004cc2565b803563ffffffff8116811462002a4457600080fd5b60006020828403121562004d0b57600080fd5b81356001600160401b038082111562004d2357600080fd5b90830190610160828603121562004d3957600080fd5b62004d43620049ac565b62004d4e8362004818565b815262004d5e6020840162004818565b602082015262004d716040840162004946565b604082015260608301358281111562004d8957600080fd5b62004d978782860162004c9f565b6060830152506080830135608082015260a083013560a082015260c083013560c082015262004dc960e0840162004cd6565b60e0820152610100915062004de082840162004cd6565b82820152610120915062004df682840162004cd6565b82820152610140915062004e0c82840162004ce3565b91810191909152949350505050565b6020815262004e366020820183516001600160601b03169052565b6000602083015162004e5360408401826001600160601b03169052565b50604083015160ff8116606084015250606083015161016080608085015262004e8161018085018362004bef565b9150608085015160a085015260a085015160c085015260c085015160e085015260e085015161010062004ebc8187018364ffffffffff169052565b860151905061012062004ed78682018364ffffffffff169052565b860151905061014062004ef28682018364ffffffffff169052565b9095015163ffffffff1693019290925250919050565b81516001600160601b039081168252602080840151821690830152604080840151909116908201526060808301516001600160a01b03169082015260808083015161014083019162004f64908401826001600160a01b03169052565b5060a083015162004f8060a08401826001600160a01b03169052565b5060c083015162004f9e60c084018280518252602090810151910152565b5060e08301518051610100840152602081015161012084015262002529565b60006020828403121562004fd057600080fd5b5035919050565b60006020828403121562004fea57600080fd5b81356001600160401b03808211156200500257600080fd5b908301906101e082860312156200501857600080fd5b62005022620049d8565b6200502d8362004818565b81526200503d6020840162004818565b6020820152620050506040840162004818565b6040820152620050636060840162004989565b6060820152620050766080840162004946565b608082015260a083013560a082015260c083013560c082015260e083013560e08201526101008084013581830152506101208084013583811115620050ba57600080fd5b620050c88882870162004c9f565b8284015250506101409150620050e082840162004cd6565b828201526101609150620050f682840162004cd6565b8282015261018091506200510c82840162004cd6565b828201526101a091506200512282840162004cd6565b828201526101c0915062004e0c82840162004ce3565b80356001600160c01b03198116811462002a4457600080fd5b6000602082840312156200516457600080fd5b620011df8262005138565b60008060008060008060c087890312156200518957600080fd5b86356200519681620047ff565b95506020870135620051a881620047ff565b945060408701359350606087013592506080870135915060a0870135620051cf81620047ff565b809150509295509295509295565b815181526020808301519082015260408101620011e2565b6000806000606084860312156200520b57600080fd5b83356200521881620047ff565b925060208401356200522a8162004936565b915060408401356200523c8162004973565b809150509250925092565b600080600060a084860312156200525d57600080fd5b83356200526a81620047ff565b92506200527b856020860162004a56565b91506200528c856060860162004a56565b90509250925092565b60008060408385031215620052a957600080fd5b8235620052b68162004973565b915060208301356200492b8162004973565b60008060408385031215620052dc57600080fd5b8235620052e981620047ff565b915060208301356200492b81620047ff565b6000806000606084860312156200531157600080fd5b83356200531e81620047ff565b925060208401356200533081620047ff565b929592945050506040919091013590565b600080604083850312156200535557600080fd5b620052b68362005138565b600080600080608085870312156200537757600080fd5b84356200538481620047ff565b93506020850135620053968162004936565b92506040850135620053a88162004936565b91506060850135620053ba8162004936565b939692955090935050565b600060208284031215620053d857600080fd5b81356001600160401b03811115620053ef57600080fd5b8201601f810184136200540157600080fd5b620054128482356020840162004c5c565b949350505050565b6000606082840312156200542d57600080fd5b604051606081018181106001600160401b038211171562005452576200545262004996565b60405282356200546281620047ff565b81526020830135620054748162004936565b60208201526040830135620054898162004973565b60408201529392505050565b60208152620054b06020820183516001600160601b03169052565b60006020830151620054cd60408401826001600160601b03169052565b5060408301516001600160601b03811660608401525060608301516001600160a01b038116608084015250608083015160ff811660a08401525060a083015160c083015260c083015160e083015260e08301516101008181850152808501519150506101208181850152808501519150506101e061014081818601526200555961020086018462004bef565b90860151909250610160620055768682018364ffffffffff169052565b8601519050610180620055918682018364ffffffffff169052565b86015190506101a0620055ac8682018364ffffffffff169052565b86015190506101c062004ef28682018364ffffffffff169052565b602080825282516001600160c01b0319168282015282015160606040830152600090620055f8608084018262004bef565b90506040840151151560608401528091505092915050565b60008060008060c085870312156200562757600080fd5b84356200563481620047ff565b93506020850135620056468162004973565b925062005657866040870162004a56565b915062005668866080870162004a56565b905092959194509250565b600080604083850312156200568757600080fd5b50508035926020909101359150565b80151581146200481557600080fd5b60008060408385031215620056b957600080fd5b620056c48362005138565b915060208301356200492b8162005696565b60008060408385031215620056ea57600080fd5b8235620056f781620047ff565b946020939093013593505050565b6000806000606084860312156200571b57600080fd5b83356200572881620047ff565b92506020840135620053308162005696565b600080604083850312156200574e57600080fd5b620056f78362005138565b6000806000606084860312156200576f57600080fd5b83356200577c8162004936565b925060208401356200578e8162004936565b915060408401356200523c8162004936565b60008060608385031215620057b457600080fd5b82359150620057c7846020850162004a56565b90509250929050565b600060208284031215620057e357600080fd5b815162003b7e8162004973565b6000602082840312156200580357600080fd5b815162003b7e8162004936565b6000602082840312156200582357600080fd5b815162003b7e8162004cc2565b600181811c908216806200584557607f821691505b6020821081036200586657634e487b7160e01b600052602260045260246000fd5b50919050565b601f821115620058ba57600081815260208120601f850160051c81016020861015620058955750805b601f850160051c820191505b81811015620058b657828155600101620058a1565b5050505b505050565b81516001600160401b03811115620058db57620058db62004996565b620058f381620058ec845462005830565b846200586c565b602080601f8311600181146200592b5760008415620059125750858301515b600019600386901b1c1916600185901b178555620058b6565b600085815260208120601f198616915b828110156200595c578886015182559484019460019091019084016200593b565b50858210156200597b5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6000602082840312156200599e57600080fd5b5051919050565b600060208284031215620059b857600080fd5b815162003b7e81620047ff565b634e487b7160e01b600052603260045260246000fd5b60208082526021908201527f4552524f523a504f4c2d3030313a4e4f545f50524f445543545f5345525649436040820152604560f81b606082015260800190565b60208082526021908201527f4552524f523a42444c2d3030323a4e4f545f50524f445543545f5345525649436040820152604560f81b606082015260800190565b60006020828403121562005a7057600080fd5b815162003b7e8162005696565b805162002a448162004973565b60208082526017908201527f4552524f523a4143532d3030313a4e4f545f4f574e4552000000000000000000604082015260600190565b6020808252601f908201527f4552524f523a4143532d3030323a524f4c455f4e4f545f4558495354494e4700604082015260600190565b6001600160c01b03199390931683526001600160a01b039190911660208301521515604082015260600190565b600082601f83011262005b3757600080fd5b815162005b4862004c6d8262004c32565b81815284602083860101111562005b5e57600080fd5b6200541282602083016020870162004bc9565b60006020828403121562005b8457600080fd5b81516001600160401b038082111562005b9c57600080fd5b9083019060c0828603121562005bb157600080fd5b62005bbb620049fe565b825162005bc881620047ff565b8152602083015162005bda81620047ff565b6020820152604083015162005bef8162004936565b604082015262005c026060840162005a7d565b606082015262005c156080840162005a7d565b608082015260a08301518281111562005c2d57600080fd5b62005c3b8782860162005b25565b60a08301525095945050505050565b634e487b7160e01b600052601160045260246000fd5b80820180821115620011e257620011e262005c4a565b81810381811115620011e257620011e262005c4a565b6001600160401b0360c01b8316815260406020820152600062005412604083018462004bef565b634e487b7160e01b600052603160045260246000fd5b634e487b7160e01b600052601260045260246000fdfe608060405234801561001057600080fd5b506040516102aa3803806102aa83398101604081905261002f9161005b565b6001600160a01b03166c01000000000000000000000000026001600160601b03909116176000556100ad565b6000806040838503121561006e57600080fd5b82516001600160601b038116811461008557600080fd5b60208401519092506001600160a01b03811681146100a257600080fd5b809150509250929050565b6101ee806100bc6000396000f3fe608060405234801561001057600080fd5b50600436106100405760003560e01c806251884a1461004557806321df0da71461006a578063beabacc814610095575b600080fd5b6000546040516bffffffffffffffffffffffff90911681526020015b60405180910390f35b600054600160601b90046001600160a01b03166040516001600160a01b039091168152602001610061565b6100a86100a3366004610153565b6100aa565b005b6000546040516323b872dd60e01b81526001600160a01b038581166004830152848116602483015260448201849052600160601b909204909116906323b872dd906064016020604051808303816000875af115801561010d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610131919061018f565b50505050565b80356001600160a01b038116811461014e57600080fd5b919050565b60008060006060848603121561016857600080fd5b61017184610137565b925061017f60208501610137565b9150604084013590509250925092565b6000602082840312156101a157600080fd5b815180151581146101b157600080fd5b939250505056fea2646970667358221220de87685d485f45728fb2b557cd6d2622e4a09f86c8a90bedde65101a59e1a77864736f6c63430008140033a2646970667358221220c19be969115f54b7deb05559272fd77b633fdf09fa54c9c8b121ea4a5939e82664736f6c63430008140033",
2069
- "deployedBytecode": "0x60806040523480156200001157600080fd5b5060043610620004095760003560e01c8063893d20e8116200021d578063bd62faf71162000131578063dc261c3a11620000bb578063e9e96c701162000086578063e9e96c701462000c1a578063ee0fdf711462000c31578063f0ea17c31462000c48578063f274e87d1462000cf957600080fd5b8063dc261c3a1462000b84578063e03eeb851462000bd5578063e1f64d771462000bec578063e79597401462000c0357600080fd5b8063d0bb064c11620000fc578063d0bb064c1462000aaf578063d250185c1462000b3f578063dad73bed1462000b56578063db70354c1462000b6d57600080fd5b8063bd62faf71462000a35578063bd7d9d851462000a4c578063c2bf7d261462000a72578063cf5ccedb1462000a8957600080fd5b806399fd467711620001b3578063af17d38a116200017e578063af17d38a14620009d9578063b88da75914620009f0578063b8c510671462000a07578063b9f36dde1462000a1e57600080fd5b806399fd4677146200095c578063a310e2a31462000973578063a7f3669b14620009ab578063a90be90714620009c257600080fd5b8063946dfcfe11620001f4578063946dfcfe146200090e5780639555c4db14620009175780639675513d146200092e57806398457437146200094557600080fd5b8063893d20e8146200089c5780638b59fe2a14620008a657806393865aec14620008bd57600080fd5b80634793b4ab1162000321578063674d0ccf11620002ab57806375a07ed2116200027657806375a07ed214620008215780637fec8b31146200083857806383d33319146200084f57806387c56586146200085857600080fd5b8063674d0ccf14620007cf57806369a44a1b14620007e65780636b9bf08b14620007fd5780636fa29853146200080f57600080fd5b806357f80bbf11620002ec57806357f80bbf14620006e75780635ab1bd5314620007875780635fe9f2a514620007ae578063644c45e014620007c557600080fd5b80634793b4ab14620005f55780634d459c90146200061b5780634fd077f514620006905780635312fdc214620006b657600080fd5b80631aa3a00811620003a3578063349195f9116200036e578063349195f914620005935780633bc5de30146200059c5780634288121d14620005b857806345c5a27d14620005de57600080fd5b80631aa3a008146200050c57806331b62a3b146200052f57806331e48e3214620005565780633300a8a8146200056d57600080fd5b80630d0ccc5b11620003e45780630d0ccc5b14620004835780630d35818114620004a95780630d8e6e2c14620004e557806315dae03e146200050457600080fd5b806301ffc9a7146200040e5780630591087414620004535780630abd8434146200046c575b600080fd5b6200043e6200041f366004620047d3565b6001600160e01b03191660009081526002602052604090205460ff1690565b60405190151581526020015b60405180910390f35b6200046a6200046436600462004825565b62000d26565b005b6200043e6200047d366004620048d7565b620010b9565b6200049a62000494366004620048fe565b6200115d565b6040519081526020016200044a565b620004d2620004ba36600462004953565b60ff9081166000908152601260205260409020541690565b60405160ff90911681526020016200044a565b620004ef620011e8565b60405162ffffff90911681526020016200044a565b6032620004d2565b62000516620011fe565b6040516001600160601b0390911681526020016200044a565b7f000000000000000000000000000000000000000000000000000000000000000062000516565b6200046a6200056736600462004aa8565b620012f9565b620005846200057e36600462004b4a565b62001444565b6040516200044a919062004b6a565b600f546200049a565b604080516020810182526000815290516200044a919062004c1d565b6004546001600160a01b03165b6040516001600160a01b0390911681526020016200044a565b6200046a620005ef36600462004cf8565b620014ca565b6200060c6200060636600462004b4a565b62001746565b6040516200044a919062004e1b565b620006326200062c366004620048d7565b620018f5565b60408051825162ffffff1681526020808401516001600160a01b039081169183019190915283830151169181019190915260608083015163ffffffff169082015260809182015164ffffffffff169181019190915260a0016200044a565b620006a7620006a136600462004b4a565b620019f0565b6040516200044a919062004f08565b620006cd620006c736600462004fbd565b62001aa8565b6040516001600160c01b031990911681526020016200044a565b62000759620006f836600462004b4a565b6040805160608082018352600080835260208084018290529284018190526001600160601b039485168152601683528390208351918201845280549485168252600160601b90940460ff161515918101919091526001909201549082015290565b6040805182516001600160601b0316815260208084015115159082015291810151908201526060016200044a565b7f0000000000000000000000000000000000000000000000000000000000000000620005c5565b6200046a620007bf36600462004fd7565b62001aea565b6200051662001cf3565b6200049a620007e036600462005151565b62001d5b565b6200049a620007f736600462004b4a565b62001d7f565b6005546001600160a01b0316620005c5565b6003546001600160a01b0316620005c5565b6200046a620008323660046200516f565b62001e10565b620005166200084936600462004fbd565b62002143565b6007546200049a565b604080518082018252600080825260209182018190528251808401845281815282018190528251808401909352808352908201525b6040516200044a9190620051dd565b620005c56200218b565b6200046a620008b7366004620051f5565b62002197565b6200046a620008ce36600462005247565b6001600160601b039092166000908152601a6020908152604090912082516001820155918101516002830155825160038301559190910151600490910155565b6001546200049a565b6200046a6200092836600462005295565b620023b6565b6200049a6200093f366004620052c8565b620023c6565b6200046a62000956366004620052fb565b62002530565b6200043e6200096d36600462005341565b620026b0565b620005c56200098436600462004b4a565b6001600160601b03166000908152601860205260409020600201546001600160a01b031690565b620004d2620009bc36600462005360565b620026e7565b6200049a620009d336600462004fbd565b620028f1565b620006cd620009ea366004620053c5565b6200292d565b620004ef62000a0136600462004fbd565b62002a49565b620006cd62000a18366004620053c5565b62002ae1565b6200046a62000a2f36600462005341565b62002aee565b6200051662000a463660046200541a565b62002c57565b62000a6362000a5d36600462004b4a565b6200309a565b6040516200044a919062005495565b6200046a62000a8336600462005341565b6200329f565b62000aa062000a9a36600462005151565b6200349f565b6040516200044a9190620055c7565b6200046a62000ac036600462005610565b604080516080810182526001600160601b039586168082526001600160a01b039586166020808401918252838501968752606084019586526000928352601a81529390912091519051909516600160601b0294909516939093178455905180516001850155820151600284015551805160038401550151600490910155565b6200088d62000b5036600462005673565b6200359d565b6200046a62000b67366004620056a5565b620035dd565b6200051662000b7e366004620056d6565b620037fb565b6200046a62000b9536600462005247565b6001600160601b03909216600090815260186020908152604090912082516004820155918101516005830155825160068301559190910151600790910155565b6200046a62000be636600462005705565b62003892565b6200046a62000bfd366004620052fb565b620039d8565b620005c562000c143660046200573a565b62003b2c565b6200043e62000c2b36600462005759565b62003b51565b6200043e62000c4236600462005151565b62003b85565b62000cc162000c5936600462004b4a565b6040805160608082018352600080835260208084018290529284018190526001600160601b039485168152600e83528390208351918201845280549485168252600160601b90940460ff16918101919091526001909201546001600160a01b03169082015290565b6040805182516001600160601b0316815260208084015160ff1690820152918101516001600160a01b0316908201526060016200044a565b62000d1062000d0a366004620057a0565b62003bb0565b604080519283526020830191909152016200044a565b306001600160a01b0316636b9bf08b6040518163ffffffff1660e01b81526004016020604051808303816000875af115801562000d67573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000d8d9190620057d0565b6001600160a01b0316336001600160a01b03161462000df35760405162461bcd60e51b815260206004820152601e60248201527f4552524f523a42444c2d3030313a4e4f545f504f4f4c5f53455256494345000060448201526064015b60405180910390fd5b60408051610160810182526001600160601b03888116825287166020820152600d5490918201906001600160a01b0316630d35818160d26040516001600160e01b031960e084901b16815260ff9091166004820152602401602060405180830381865afa15801562000e69573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000e8f9190620057f0565b60ff16815260200183838080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920182905250938552505050602082018790526040820152606081018690526080014264ffffffffff16815260200142604051631ded81af60e31b815264ffffffffff90911660048201526024810186905273__$d53880c81dc91c20799140d711e5ab8718$__9063ef6c0d7890604401602060405180830381865af415801562000f52573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000f78919062005810565b64ffffffffff168152602001600064ffffffffff1681526020014363ffffffff1690526001600160601b038088166000908152600a602090815260409182902084518154928601519386015160ff16600160c01b0260ff60c01b19948616600160601b026001600160c01b03199094169190951617919091179190911691909117815560608201516001820190620010119082620058bf565b506080820151600282015560a0820151600382015560c0820151600482015560e0820151600590910180546101008401516101208501516101409095015163ffffffff16600160781b0263ffffffff60781b1964ffffffffff968716600160501b021668ffffffffffffffffff60501b19928716600160281b0269ffffffffffffffffffff199094169690951695909517919091171691909117919091179055505050505050565b62ffffff8116600090815260208190526040808220600101549051631bbffab160e21b8152600160a01b90910463ffffffff166004820152819073__$5f476116ae21c5294e0c0761c07efa7e1c$__90636effeac490602401602060405180830381865af415801562001130573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200115691906200598b565b1192915050565b604051631488c84560e01b815260048101839052600082810b60248301529073__$fa7f345063a1bf0cf2bd14a32ccc1b6018$__90631488c84590604401602060405180830381865af4158015620011b9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620011df91906200598b565b90505b92915050565b6000620011f9600360008062003ce3565b905090565b60006200120a6200218b565b6001600160a01b0316336001600160a01b0316146200126c5760405162461bcd60e51b815260206004820152601760248201527f4552524f523a5247422d3030313a4e4f545f4f574e4552000000000000000000604482015260640162000dea565b604051632210724360e11b81523060048201527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031690634420e486906024016020604051808303816000875af1158015620012d3573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620011f99190620059a5565b600087856040516200130b9062004707565b6001600160601b0390921682526001600160a01b03166020820152604001604051809103906000f08015801562001346573d6000803e3d6000fd5b5060408051610100810182526001600160601b039a8b16808252998b166020808301918252998c168284019081526001600160a01b03998a1660608401908152948a1660808401908152988a1660a0840190815260c0840198895260e0840197885260009c8d5260188c5293909b20915182549151908d166001600160c01b031990921691909117600160601b918d1682021782559951925192909a169187169098021760018901555091516002870180546001600160a01b03199081169286169290921790559451600387018054909616931692909217909355518051600485015581015160058401559051805160068401550151600790910155565b6200144e62004715565b506001600160601b039081166000908152601a6020908152604091829020825160808101845281549485168152600160601b9094046001600160a01b0316848301528251808401845260018201548152600282015481840152848401528251808401909352600381015483526004015490820152606082015290565b306001600160a01b0316636b9bf08b6040518163ffffffff1660e01b81526004016020604051808303816000875af11580156200150b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620015319190620057d0565b6001600160a01b0316336001600160a01b03161480620015c85750306001600160a01b0316634288121d6040518163ffffffff1660e01b81526004016020604051808303816000875af11580156200158d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620015b39190620057d0565b6001600160a01b0316336001600160a01b0316145b620016285760405162461bcd60e51b815260206004820152602960248201527f4552524f523a42444c2d3030333a4e4f545f504f4f4c5f4f525f50524f445543604482015268545f5345525649434560b81b606482015260840162000dea565b80516001600160601b039081166000908152600a602090815260409182902084518154928601519386015160ff16600160c01b0260ff60c01b19948616600160601b026001600160c01b03199094169190951617919091179190911691909117815560608201518291906001820190620016a39082620058bf565b506080820151600282015560a0820151600382015560c0820151600482015560e0820151600590910180546101008401516101208501516101409095015163ffffffff16600160781b0263ffffffff60781b1964ffffffffff968716600160501b021668ffffffffffffffffff60501b19928716600160281b0269ffffffffffffffffffff19909416969095169590951791909117169190911791909117905550565b60408051610160810182526000808252602082018190529181018290526060808201526080810182905260a0810182905260c0810182905260e08101829052610100810182905261012081018290526101408101919091526001600160601b038281166000908152600a602090815260409182902082516101608101845281548086168252600160601b810490951692810192909252600160c01b90930460ff1691810191909152600182018054919291606084019190620018089062005830565b80601f0160208091040260200160405190810160405280929190818152602001828054620018369062005830565b8015620018875780601f106200185b5761010080835404028352916020019162001887565b820191906000526020600020905b8154815290600101906020018083116200186957829003601f168201915b505050918352505060028201546020820152600382015460408201526004820154606082015260059091015464ffffffffff8082166080840152600160281b8204811660a0840152600160501b82041660c0830152600160781b900463ffffffff1660e09091015292915050565b6040805160a0810182526000808252602082018190529181018290526060810182905260808101919091526200192b82620010b9565b620019795760405162461bcd60e51b815260206004820152601d60248201527f4552524f523a56524e2d3032303a56455253494f4e5f554e4b4e4f574e000000604482015260640162000dea565b5062ffffff90811660009081526020818152604091829020825160a0810184528154948516815263010000009094046001600160a01b03908116928501929092526001015490811691830191909152600160a01b810463ffffffff166060830152600160c01b900464ffffffffff16608082015290565b620019fa62004786565b506001600160601b0390811660009081526018602090815260409182902082516101008101845281548086168252600160601b908190048616828501526001830154958616828601526001600160a01b03950485166060820152600282015485166080820152600382015490941660a0850152825180840184526004820154815260058201548184015260c0850152825180840190935260068101548352600701549082015260e082015290565b60006007828154811062001ac05762001ac0620059c5565b90600052602060002090600491828204019190066008029054906101000a900460c01b9050919050565b306001600160a01b0316634288121d6040518163ffffffff1660e01b81526004016020604051808303816000875af115801562001b2b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062001b519190620057d0565b6001600160a01b0316336001600160a01b03161462001b845760405162461bcd60e51b815260040162000dea90620059db565b80516001600160601b0390811660009081526014602090815260409182902084518154928601519085166001600160c01b031990931692909217600160601b928516830217815591840151606085015193166001600160a01b0390931602919091176001820155608082015160028201805460ff191660ff90921691909117905560a0820151600382015560c0820151600482015560e082015160058201556101008201516006820155610120820151829190600782019062001c489082620058bf565b50610140820151600890910180546101608401516101808501516101a08601516101c09096015163ffffffff16600160a01b0263ffffffff60a01b1964ffffffffff978816600160781b0264ffffffffff60781b19938916600160501b029390931669ffffffffffffffffffff60501b19948916600160281b0269ffffffffffffffffffff199096169890971697909717939093179190911693909317929092179290921617905550565b604051636939560f60e11b81523060048201526000907f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169063d272ac1e90602401602060405180830381865afa158015620012d3573d6000803e3d6000fd5b6001600160c01b031981166000908152600960205260408120620011e29062003e8d565b6001600160601b038116600090815260176020526040808220905163697d0f1b60e11b8152600481019190915273__$0dc988b1672de335b826773df9015af2da$__9063d2fa1e36906024015b602060405180830381865af415801562001dea573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620011e291906200598b565b306001600160a01b0316634288121d6040518163ffffffff1660e01b81526004016020604051808303816000875af115801562001e51573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062001e779190620057d0565b6001600160a01b0316336001600160a01b03161462001eaa5760405162461bcd60e51b815260040162000dea90620059db565b604080516101e0810182526001600160601b03878116825288811660208301528316918101919091526000606082015260155460808201906001600160a01b0316630d35818160c86040516001600160e01b031960e084901b16815260ff9091166004820152602401602060405180830381865afa15801562001f31573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062001f579190620057f0565b60ff1681526020018581526020018481526020016000815260200183815260200160405180602001604052806000815250815260200162001f954290565b64ffffffffff168152602001600064ffffffffff168152602001600064ffffffffff168152602001600064ffffffffff1681526020014363ffffffff1690526001600160601b0386811660009081526014602090815260409182902084518154928601519085166001600160c01b031990931692909217600160601b928516830217815591840151606085015193166001600160a01b0390931602919091176001820155608082015160028201805460ff191660ff90921691909117905560a0820151600382015560c0820151600482015560e0820151600582015561010082015160068201556101208201516007820190620020939082620058bf565b50610140820151600890910180546101608401516101808501516101a08601516101c09096015163ffffffff16600160a01b0263ffffffff60a01b1964ffffffffff978816600160781b0264ffffffffff60781b19938916600160501b029390931669ffffffffffffffffffff60501b19948916600160281b0269ffffffffffffffffffff1990961698909716979097179390931791909116939093179290921792909216179055505050505050565b6000600f82815481106200215b576200215b620059c5565b9060005260206000209060029182820401919006600c029054906101000a90046001600160601b03169050919050565b6000620011f962003e98565b306001600160a01b0316636fa298536040518163ffffffff1660e01b8152600401602060405180830381865afa158015620021d6573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620021fc9190620057d0565b6001600160a01b0316336001600160a01b0316146200225e5760405162461bcd60e51b815260206004820152601f60248201527f4552524f523a434d502d3030313a4e4f545f4f574e45525f5345525649434500604482015260640162000dea565b604080516060810182526001600160601b03851681526011549151630d35818160e01b815260ff85166004820152909160208301916001600160a01b0390911690630d35818190602401602060405180830381865afa158015620022c6573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620022ec9190620057f0565b60ff90811682526001600160a01b039384166020928301526001600160601b039586166000818152600e845260408082208651815496880151909516600160601b026001600160681b0319909616948a1694909417949094178355939092015160019182018054919095166001600160a01b031990911617909355600f805480850182559252600282047f8d1108e10bcb7c27dddfc02ed9d693a074039d026cf4ea4240b40f7d581ac80201805492909316600c026101000a908102940219169290921790915550565b620023c2828262003ffa565b5050565b6000306001600160a01b0316634288121d6040518163ffffffff1660e01b81526004016020604051808303816000875af115801562002409573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200242f9190620057d0565b6001600160a01b0316336001600160a01b031614620024625760405162461bcd60e51b815260040162000dea9062005a1c565b506001600160601b038083166000818152600c602090815260408083209486168352938152838220805490839055928252600b9052829020915163539eabab60e11b8152909173__$0dc988b1672de335b826773df9015af2da$__9163a73d575691620024e59186906004019182526001600160601b0316602082015260400190565b602060405180830381865af415801562002503573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062002529919062005a5d565b5092915050565b6001600160601b03828116600090815260176020526040908190209051632bfdd6b960e01b81526004810182905291851660248301529073__$0dc988b1672de335b826773df9015af2da$__90632bfdd6b990604401602060405180830381865af4158015620025a4573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620025ca919062005a5d565b15620026235760405162461bcd60e51b815260206004820152602160248201527f4552524f523a504c2d3032303a42554e444c455f414c52454144595f414444456044820152601160fa1b606482015260840162000dea565b604051631461054360e31b8152600481018290526001600160601b038516602482015273__$0dc988b1672de335b826773df9015af2da$__9063a3082a1890604401602060405180830381865af415801562002683573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620026a9919062005a5d565b5050505050565b6001600160c01b0319821660009081526008602090815260408083206001600160a01b038516845290915281205460ff16620011df565b60ff80841660009081526013602090815260408083208685168452825280832085851684529091528120549091166200275857604051630cdd837760e21b81526001600160601b038616600482015260ff808616602483015280851660448301528316606482015260840162000dea565b6200276b8460c85b60ff90811691161490565b15620027c857604080516001600160601b038716815260ff80861660208301528416918101919091527f3453c320908f5844705a0f2acbb230412df911a60544eca9236d16f5f9f1f6f6906060015b60405180910390a1620028e9565b620027d58460d262002760565b156200282957604080516001600160601b038716815260ff80861660208301528416918101919091527f92e25bf636cb4bfa6edf8b4fa57c0d64b6d959e3c6376d17c9bcc168fe36be1990606001620027ba565b6200283684606462002760565b806200284a57506200284a84607862002760565b806200285e57506200285e84608262002760565b15620028bb57604080516001600160601b038716815260ff80871660208301528086169282019290925290831660608201527fcc75054af33cdb7ef0c6dd9d4cb6f22e1dc2d22204db49d769d5da19579fb84e90608001620027ba565b60405163024acc7560e21b81526001600160601b038616600482015260ff8516602482015260440162000dea565b509392505050565b6040516322f5db0f60e11b81526004810182905260009073__$fa7f345063a1bf0cf2bd14a32ccc1b6018$__906345ebb61e9060240162001dcc565b6000306001600160a01b031663893d20e86040518163ffffffff1660e01b8152600401602060405180830381865afa1580156200296e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620029949190620057d0565b6001600160a01b0316336001600160a01b031614620029c75760405162461bcd60e51b815260040162000dea9062005a8a565b620029d282620042cb565b9050620029df8162003b85565b1562002a385760405162461bcd60e51b815260206004820152602160248201527f4552524f523a4143532d3031303a524f4c455f414c52454144595f45584953546044820152605360f81b606482015260840162000dea565b62002a448183620042fd565b919050565b600154600090821062002a9f5760405162461bcd60e51b815260206004820152601d60248201527f4552524f523a56524e2d3031303a494e4445585f544f4f5f4c41524745000000604482015260640162000dea565b6001828154811062002ab55762002ab5620059c5565b90600052602060002090600a91828204019190066003029054906101000a900462ffffff169050919050565b6000620011e282620042cb565b6001600160c01b0319828116600081815260066020526040902054849260c09190911b161462002b325760405162461bcd60e51b815260040162000dea9062005ac1565b306001600160a01b031663893d20e86040518163ffffffff1660e01b8152600401602060405180830381865afa15801562002b71573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062002b979190620057d0565b6001600160a01b0316336001600160a01b03161462002bca5760405162461bcd60e51b815260040162000dea9062005a8a565b6001600160c01b0319831660008181526008602090815260408083206001600160a01b03871684528252808320805460ff19169055928252600990522062002c13908362004362565b507fab64a6bff51dad0663bf6702fca25a9e2751ecc0353d6fe92d169875453966848383600060405162002c4a9392919062005af8565b60405180910390a1505050565b6000306001600160a01b0316636fa298536040518163ffffffff1660e01b8152600401602060405180830381865afa15801562002c98573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062002cbe9190620057d0565b6001600160a01b0316336001600160a01b03161462002d205760405162461bcd60e51b815260206004820152601f60248201527f4552524f523a434d502d3030313a4e4f545f4f574e45525f5345525649434500604482015260640162000dea565b5080516040516330b8415f60e01b81526001600160601b038216600482015273__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af415801562002d7c573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062002da2919062005a5d565b801562002e4157506001600160601b038181166000818152600e60205260409081902054905163c4cade9d60e01b815292166004830152602482015273__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__9063c4cade9d90604401602060405180830381865af415801562002e1b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062002e41919062005a5d565b62002e8f5760405162461bcd60e51b815260206004820152601f60248201527f4552524f523a434d502d3030363a434f4d504f4e454e545f554e4b4e4f574e00604482015260640162000dea565b6000306001600160a01b0316635ab1bd536040518163ffffffff1660e01b8152600401602060405180830381865afa15801562002ed0573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062002ef69190620057d0565b6040516305247a1760e51b81526001600160601b03841660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa15801562002f46573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405262002f70919081019062005b71565b6040908101516011546001600160601b0385166000818152600e6020908152908590205490880151945163a7f3669b60e01b8152600481019290925260ff8085166024840152600160601b9091048116604483015290931660648401529092506001600160a01b03169063a7f3669b906084016020604051808303816000875af115801562003003573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620030299190620057f0565b50506001600160601b038082166000908152600e6020908152604091829020855181549287015160ff16600160601b026001600160681b031990931694169390931717825590920151600190920180546001600160a01b039093166001600160a01b03199093169290921790915590565b604080516101e08101825260008082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820183905260e0820183905261010082018390526101208201526101408101829052610160810182905261018081018290526101a081018290526101c08101919091526001600160601b0382811660009081526014602090815260409182902082516101e08101845281548086168252600160601b9081900486169382019390935260018201549485169381019390935292046001600160a01b03166060820152600282015460ff166080820152600382015460a0820152600482015460c0820152600582015460e0820152600682015461010082015260078201805491929161012084019190620031c19062005830565b80601f0160208091040260200160405190810160405280929190818152602001828054620031ef9062005830565b8015620032405780601f10620032145761010080835404028352916020019162003240565b820191906000526020600020905b8154815290600101906020018083116200322257829003601f168201915b50505091835250506008919091015464ffffffffff8082166020840152600160281b820481166040840152600160501b820481166060840152600160781b8204166080830152600160a01b900463ffffffff1660a09091015292915050565b6001600160c01b0319828116600081815260066020526040902054849260c09190911b1614620032e35760405162461bcd60e51b815260040162000dea9062005ac1565b306001600160a01b031663893d20e86040518163ffffffff1660e01b8152600401602060405180830381865afa15801562003322573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620033489190620057d0565b6001600160a01b0316336001600160a01b0316146200337b5760405162461bcd60e51b815260040162000dea9062005a8a565b6001600160c01b0319831660009081526006602052604090206002015460ff16620033e95760405162461bcd60e51b815260206004820152601d60248201527f4552524f523a4143532d3034303a524f4c455f4e4f545f414354495645000000604482015260640162000dea565b6001600160c01b0319831660008181526008602090815260408083206001600160a01b03871684528252808320805460ff19166001179055928252600990522062003435908362004379565b506001600160c01b0319831660009081526008602090815260408083206001600160a01b0386168452909152908190205490517fab64a6bff51dad0663bf6702fca25a9e2751ecc0353d6fe92d169875453966849162002c4a918691869160ff9091169062005af8565b6040805160608082018352600080835260208084018390528385018290526001600160c01b0319868116835260068252918590208551938401909552845460c01b90911682526001840180549394929391840191620034fe9062005830565b80601f01602080910402602001604051908101604052809291908181526020018280546200352c9062005830565b80156200357d5780601f1062003551576101008083540402835291602001916200357d565b820191906000526020600020905b8154815290600101906020018083116200355f57829003601f168201915b50505091835250506002919091015460ff16151560209091015292915050565b6040805180820190915260008082526020820152620011df8383604080518082018252600080825260209182015281518083019092529281529182015290565b6001600160c01b0319828116600081815260066020526040902054849260c09190911b1614620036215760405162461bcd60e51b815260040162000dea9062005ac1565b306001600160a01b031663893d20e86040518163ffffffff1660e01b8152600401602060405180830381865afa15801562003660573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620036869190620057d0565b6001600160a01b0316336001600160a01b031614620036b95760405162461bcd60e51b815260040162000dea9062005a8a565b6001600160c01b03198084166000908152600660209081526040808320815160608101909252805460c01b9094168152600184018054939491939192840191620037039062005830565b80601f0160208091040260200160405190810160405280929190818152602001828054620037319062005830565b8015620037825780601f10620037565761010080835404028352916020019162003782565b820191906000526020600020905b8154815290600101906020018083116200376457829003601f168201915b50505091835250506002919091015460ff16151560209091015283151560408201529050620037b18162004390565b604080516001600160c01b03198616815284151560208201527feaffaec948991ecc6e201ba4f67ba865fbf66aace3d2f2823dc5483cc9813fda910160405180910390a150505050565b6001600160601b038216600090815260176020526040808220905163e797d89960e01b815260048101919091526024810183905273__$0dc988b1672de335b826773df9015af2da$__9063e797d89990604401602060405180830381865af41580156200386c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620011df9190620059a5565b6001600160601b0383811660009081526016602052604090819020549051630a4d29dd60e31b81529116600482015273__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906352694ee890602401602060405180830381865af4158015620038fe573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062003924919062005a5d565b620039725760405162461bcd60e51b815260206004820152601c60248201527f4552524f523a504c2d3031303a414c52454144595f4352454154454400000000604482015260640162000dea565b604080516060810182526001600160601b039485168082529315156020808301918252828401948552600095865260169052919093209251835491511515600160601b026001600160681b03199092169416939093179290921781559051600190910155565b306001600160a01b0316634288121d6040518163ffffffff1660e01b81526004016020604051808303816000875af115801562003a19573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062003a3f9190620057d0565b6001600160a01b0316336001600160a01b03161462003a725760405162461bcd60e51b815260040162000dea9062005a1c565b6001600160601b038381166000818152600c60209081526040808320948716808452948252808320869055928252600b90528190209051631461054360e31b81526004810191909152602481019190915273__$0dc988b1672de335b826773df9015af2da$__9063a3082a1890604401602060405180830381865af415801562003b00573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062003b26919062005a5d565b50505050565b6001600160c01b031982166000908152600960205260408120620011df90836200446e565b60ff8084166000908152601360209081526040808320868516845282528083208585168452909152902054165b9392505050565b6001600160c01b0319818116600081815260066020526040812054909260c09190911b1614620011e2565b600080600062003c3f73__$fa7f345063a1bf0cf2bd14a32ccc1b6018$__6345ebb61e876040518263ffffffff1660e01b815260040162003bf391815260200190565b602060405180830381865af415801562003c11573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062003c3791906200598b565b85516200447c565b6020850151604051632255341b60e11b8152600481018390529192509073__$fa7f345063a1bf0cf2bd14a32ccc1b6018$__906344aa683690602401602060405180830381865af415801562003c99573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062003cbf91906200598b565b62003ccb919062005c60565b925062003cd9838662005c76565b9150509250929050565b604051632b10f60d60e21b815260ff84166004820152600090819073__$9dab98ad7ae1a426029e5739f922230a41$__9063ac43d83490602401602060405180830381865af415801562003d3b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062003d6191906200598b565b604051632b10f60d60e21b815260ff8616600482015290915060009073__$9dab98ad7ae1a426029e5739f922230a41$__9063ac43d83490602401602060405180830381865af415801562003dba573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062003de091906200598b565b604051632b10f60d60e21b815260ff8616600482015290915060009073__$9dab98ad7ae1a426029e5739f922230a41$__9063ac43d83490602401602060405180830381865af415801562003e39573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062003e5f91906200598b565b90508062003e76600884901b601086901b62005c60565b62003e82919062005c60565b979650505050505050565b6000620011e2825490565b604051636939560f60e11b815230600482015260009081906001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063d272ac1e90602401602060405180830381865afa15801562003f02573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062003f289190620059a5565b90506001600160601b03811662003f60577f000000000000000000000000000000000000000000000000000000000000000091505090565b60405163df33330b60e01b81526001600160601b03821660048201527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169063df33330b90602401602060405180830381865afa15801562003fce573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062003ff49190620057d0565b91505090565b600062004006620011e8565b90506200401381620010b9565b15620040725760405162461bcd60e51b815260206004820152602760248201527f4552524f523a56524e2d3030313a56455253494f4e5f414c52454144595f41436044820152661512559055115160ca1b606482015260840162000dea565b60015415620041395760018054600091906200409090829062005c76565b81548110620040a357620040a3620059c5565b90600052602060002090600a91828204019190066003029054906101000a900462ffffff169050620040dd828262ffffff90811691161190565b620041375760405162461bcd60e51b8152602060048201526024808201527f4552524f523a56524e2d3030323a56455253494f4e5f4e4f545f494e4352454160448201526353494e4760e01b606482015260840162000dea565b505b600180548082018255600091909152600a8082047fb10e2d527612073b26eecdfd717e6a320cf44b4afac2b0732d9fcbe2b7fa0cf601805462ffffff808616600394909506939093026101000a848102930219169190911790556040805160a0810182529182526001600160a01b03808616602084015284169082015260608101620041c24390565b63ffffffff1681526020014264ffffffffff90811690915262ffffff8084166000908152602081815260409182902085518154928701516001600160a01b039081166301000000026001600160b81b0319909416919095161791909117815584820151600190910180546060870151608090970151909516600160c01b0264ffffffffff60c01b1963ffffffff909716600160a01b026001600160c01b031990961692909416919091179390931793909316179055517f68e7327fca0057a787cde34ababb9ef9844ba8065ee03e8781d8122fc15d44199062002c4a9083908690869062ffffff9390931683526001600160a01b03918216602084015216604082015260600190565b600081604051602001620042e0919062004c1d565b604051602081830303815290604052805190602001209050919050565b604080516060810182526001600160c01b031984168152602081018390526001918101919091526200432f8162004390565b7f34e1f82fc40bf14028ae2a3150f074e7715e20ed8e30e250f8789cee718c6485838360405162002c4a92919062005c8c565b6000620011df836001600160a01b03841662004493565b6000620011df836001600160a01b03841662004597565b80516001600160c01b0319811660009081526006602090815260409091208351815467ffffffffffffffff191660c09190911c178155908301518391906001820190620043de9082620058bf565b50604091909101516002909101805460ff1916911515919091179055620044058162003b85565b620023c257600780546001810182556000919091527fa66cc928b5edb82af9bd49922954155ab7b0942694bea4ce44661d9a8736c688600482040180546001600160401b0360039093166008026101000a928302191660c09390931c9190910291909117905550565b6000620011df8383620045e9565b6000620011df8383670de0b6b3a764000062004616565b600081815260018301602052604081205480156200458c576000620044ba60018362005c76565b8554909150600090620044d09060019062005c76565b90508181146200453c576000866000018281548110620044f457620044f4620059c5565b90600052602060002001549050808760000184815481106200451a576200451a620059c5565b6000918252602080832090910192909255918252600188019052604090208390555b855486908062004550576200455062005cb3565b600190038181906000526020600020016000905590558560010160008681526020019081526020016000206000905560019350505050620011e2565b6000915050620011e2565b6000818152600183016020526040812054620045e057508154600181810184556000848152602080822090930184905584548482528286019093526040902091909155620011e2565b506000620011e2565b6000826000018281548110620046035762004603620059c5565b9060005260206000200154905092915050565b600080806000198587098587029250828110838203039150508060000362004655578382816200464a576200464a62005cc9565b049250505062003b7e565b8084116200469e5760405162461bcd60e51b81526020600482015260156024820152744d6174683a206d756c446976206f766572666c6f7760581b604482015260640162000dea565b60008486880960026001871981018816978890046003810283188082028403028082028403028082028403028082028403028082028403029081029092039091026000889003889004909101858311909403939093029303949094049190911702949350505050565b6102aa8062005ce083390190565b604051806080016040528060006001600160601b0316815260200160006001600160a01b031681526020016200475e604051806040016040528060008152602001600081525090565b815260200162004781604051806040016040528060008152602001600081525090565b905290565b604080516101008101825260008082526020808301829052828401829052606083018290526080830182905260a0830182905283518085019094528184528301529060c08201906200475e565b600060208284031215620047e657600080fd5b81356001600160e01b03198116811462003b7e57600080fd5b6001600160601b03811681146200481557600080fd5b50565b803562002a4481620047ff565b60008060008060008060a087890312156200483f57600080fd5b86356200484c81620047ff565b955060208701356200485e81620047ff565b9450604087013593506060870135925060808701356001600160401b03808211156200488957600080fd5b818901915089601f8301126200489e57600080fd5b813581811115620048ae57600080fd5b8a6020828501011115620048c157600080fd5b6020830194508093505050509295509295509295565b600060208284031215620048ea57600080fd5b813562ffffff8116811462003b7e57600080fd5b600080604083850312156200491257600080fd5b8235915060208301358060000b81146200492b57600080fd5b809150509250929050565b60ff811681146200481557600080fd5b803562002a448162004936565b6000602082840312156200496657600080fd5b813562003b7e8162004936565b6001600160a01b03811681146200481557600080fd5b803562002a448162004973565b634e487b7160e01b600052604160045260246000fd5b60405161016081016001600160401b0381118282101715620049d257620049d262004996565b60405290565b6040516101e081016001600160401b0381118282101715620049d257620049d262004996565b60405160c081016001600160401b0381118282101715620049d257620049d262004996565b604051601f8201601f191681016001600160401b038111828210171562004a4e5762004a4e62004996565b604052919050565b60006040828403121562004a6957600080fd5b604051604081018181106001600160401b038211171562004a8e5762004a8e62004996565b604052823581526020928301359281019290925250919050565b6000806000806000806000610120888a03121562004ac557600080fd5b873562004ad281620047ff565b9650602088013562004ae481620047ff565b9550604088013562004af681620047ff565b9450606088013562004b088162004973565b9350608088013562004b1a8162004973565b925062004b2b8960a08a0162004a56565b915062004b3c8960e08a0162004a56565b905092959891949750929550565b60006020828403121562004b5d57600080fd5b813562003b7e81620047ff565b81516001600160601b031681526020808301516001600160a01b03169082015260408083015160c083019162004bac9084018280518252602090810151910152565b50606083015180516080840152602081015160a084015262002529565b60005b8381101562004be657818101518382015260200162004bcc565b50506000910152565b6000815180845262004c0981602086016020860162004bc9565b601f01601f19169290920160200192915050565b602081526000620011df602083018462004bef565b60006001600160401b0382111562004c4e5762004c4e62004996565b50601f01601f191660200190565b600062004c7362004c6d8462004c32565b62004a23565b905082815283838301111562004c8857600080fd5b828260208301376000602084830101529392505050565b600082601f83011262004cb157600080fd5b620011df8383356020850162004c5c565b64ffffffffff811681146200481557600080fd5b803562002a448162004cc2565b803563ffffffff8116811462002a4457600080fd5b60006020828403121562004d0b57600080fd5b81356001600160401b038082111562004d2357600080fd5b90830190610160828603121562004d3957600080fd5b62004d43620049ac565b62004d4e8362004818565b815262004d5e6020840162004818565b602082015262004d716040840162004946565b604082015260608301358281111562004d8957600080fd5b62004d978782860162004c9f565b6060830152506080830135608082015260a083013560a082015260c083013560c082015262004dc960e0840162004cd6565b60e0820152610100915062004de082840162004cd6565b82820152610120915062004df682840162004cd6565b82820152610140915062004e0c82840162004ce3565b91810191909152949350505050565b6020815262004e366020820183516001600160601b03169052565b6000602083015162004e5360408401826001600160601b03169052565b50604083015160ff8116606084015250606083015161016080608085015262004e8161018085018362004bef565b9150608085015160a085015260a085015160c085015260c085015160e085015260e085015161010062004ebc8187018364ffffffffff169052565b860151905061012062004ed78682018364ffffffffff169052565b860151905061014062004ef28682018364ffffffffff169052565b9095015163ffffffff1693019290925250919050565b81516001600160601b039081168252602080840151821690830152604080840151909116908201526060808301516001600160a01b03169082015260808083015161014083019162004f64908401826001600160a01b03169052565b5060a083015162004f8060a08401826001600160a01b03169052565b5060c083015162004f9e60c084018280518252602090810151910152565b5060e08301518051610100840152602081015161012084015262002529565b60006020828403121562004fd057600080fd5b5035919050565b60006020828403121562004fea57600080fd5b81356001600160401b03808211156200500257600080fd5b908301906101e082860312156200501857600080fd5b62005022620049d8565b6200502d8362004818565b81526200503d6020840162004818565b6020820152620050506040840162004818565b6040820152620050636060840162004989565b6060820152620050766080840162004946565b608082015260a083013560a082015260c083013560c082015260e083013560e08201526101008084013581830152506101208084013583811115620050ba57600080fd5b620050c88882870162004c9f565b8284015250506101409150620050e082840162004cd6565b828201526101609150620050f682840162004cd6565b8282015261018091506200510c82840162004cd6565b828201526101a091506200512282840162004cd6565b828201526101c0915062004e0c82840162004ce3565b80356001600160c01b03198116811462002a4457600080fd5b6000602082840312156200516457600080fd5b620011df8262005138565b60008060008060008060c087890312156200518957600080fd5b86356200519681620047ff565b95506020870135620051a881620047ff565b945060408701359350606087013592506080870135915060a0870135620051cf81620047ff565b809150509295509295509295565b815181526020808301519082015260408101620011e2565b6000806000606084860312156200520b57600080fd5b83356200521881620047ff565b925060208401356200522a8162004936565b915060408401356200523c8162004973565b809150509250925092565b600080600060a084860312156200525d57600080fd5b83356200526a81620047ff565b92506200527b856020860162004a56565b91506200528c856060860162004a56565b90509250925092565b60008060408385031215620052a957600080fd5b8235620052b68162004973565b915060208301356200492b8162004973565b60008060408385031215620052dc57600080fd5b8235620052e981620047ff565b915060208301356200492b81620047ff565b6000806000606084860312156200531157600080fd5b83356200531e81620047ff565b925060208401356200533081620047ff565b929592945050506040919091013590565b600080604083850312156200535557600080fd5b620052b68362005138565b600080600080608085870312156200537757600080fd5b84356200538481620047ff565b93506020850135620053968162004936565b92506040850135620053a88162004936565b91506060850135620053ba8162004936565b939692955090935050565b600060208284031215620053d857600080fd5b81356001600160401b03811115620053ef57600080fd5b8201601f810184136200540157600080fd5b620054128482356020840162004c5c565b949350505050565b6000606082840312156200542d57600080fd5b604051606081018181106001600160401b038211171562005452576200545262004996565b60405282356200546281620047ff565b81526020830135620054748162004936565b60208201526040830135620054898162004973565b60408201529392505050565b60208152620054b06020820183516001600160601b03169052565b60006020830151620054cd60408401826001600160601b03169052565b5060408301516001600160601b03811660608401525060608301516001600160a01b038116608084015250608083015160ff811660a08401525060a083015160c083015260c083015160e083015260e08301516101008181850152808501519150506101208181850152808501519150506101e061014081818601526200555961020086018462004bef565b90860151909250610160620055768682018364ffffffffff169052565b8601519050610180620055918682018364ffffffffff169052565b86015190506101a0620055ac8682018364ffffffffff169052565b86015190506101c062004ef28682018364ffffffffff169052565b602080825282516001600160c01b0319168282015282015160606040830152600090620055f8608084018262004bef565b90506040840151151560608401528091505092915050565b60008060008060c085870312156200562757600080fd5b84356200563481620047ff565b93506020850135620056468162004973565b925062005657866040870162004a56565b915062005668866080870162004a56565b905092959194509250565b600080604083850312156200568757600080fd5b50508035926020909101359150565b80151581146200481557600080fd5b60008060408385031215620056b957600080fd5b620056c48362005138565b915060208301356200492b8162005696565b60008060408385031215620056ea57600080fd5b8235620056f781620047ff565b946020939093013593505050565b6000806000606084860312156200571b57600080fd5b83356200572881620047ff565b92506020840135620053308162005696565b600080604083850312156200574e57600080fd5b620056f78362005138565b6000806000606084860312156200576f57600080fd5b83356200577c8162004936565b925060208401356200578e8162004936565b915060408401356200523c8162004936565b60008060608385031215620057b457600080fd5b82359150620057c7846020850162004a56565b90509250929050565b600060208284031215620057e357600080fd5b815162003b7e8162004973565b6000602082840312156200580357600080fd5b815162003b7e8162004936565b6000602082840312156200582357600080fd5b815162003b7e8162004cc2565b600181811c908216806200584557607f821691505b6020821081036200586657634e487b7160e01b600052602260045260246000fd5b50919050565b601f821115620058ba57600081815260208120601f850160051c81016020861015620058955750805b601f850160051c820191505b81811015620058b657828155600101620058a1565b5050505b505050565b81516001600160401b03811115620058db57620058db62004996565b620058f381620058ec845462005830565b846200586c565b602080601f8311600181146200592b5760008415620059125750858301515b600019600386901b1c1916600185901b178555620058b6565b600085815260208120601f198616915b828110156200595c578886015182559484019460019091019084016200593b565b50858210156200597b5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6000602082840312156200599e57600080fd5b5051919050565b600060208284031215620059b857600080fd5b815162003b7e81620047ff565b634e487b7160e01b600052603260045260246000fd5b60208082526021908201527f4552524f523a504f4c2d3030313a4e4f545f50524f445543545f5345525649436040820152604560f81b606082015260800190565b60208082526021908201527f4552524f523a42444c2d3030323a4e4f545f50524f445543545f5345525649436040820152604560f81b606082015260800190565b60006020828403121562005a7057600080fd5b815162003b7e8162005696565b805162002a448162004973565b60208082526017908201527f4552524f523a4143532d3030313a4e4f545f4f574e4552000000000000000000604082015260600190565b6020808252601f908201527f4552524f523a4143532d3030323a524f4c455f4e4f545f4558495354494e4700604082015260600190565b6001600160c01b03199390931683526001600160a01b039190911660208301521515604082015260600190565b600082601f83011262005b3757600080fd5b815162005b4862004c6d8262004c32565b81815284602083860101111562005b5e57600080fd5b6200541282602083016020870162004bc9565b60006020828403121562005b8457600080fd5b81516001600160401b038082111562005b9c57600080fd5b9083019060c0828603121562005bb157600080fd5b62005bbb620049fe565b825162005bc881620047ff565b8152602083015162005bda81620047ff565b6020820152604083015162005bef8162004936565b604082015262005c026060840162005a7d565b606082015262005c156080840162005a7d565b608082015260a08301518281111562005c2d57600080fd5b62005c3b8782860162005b25565b60a08301525095945050505050565b634e487b7160e01b600052601160045260246000fd5b80820180821115620011e257620011e262005c4a565b81810381811115620011e257620011e262005c4a565b6001600160401b0360c01b8316815260406020820152600062005412604083018462004bef565b634e487b7160e01b600052603160045260246000fd5b634e487b7160e01b600052601260045260246000fdfe608060405234801561001057600080fd5b506040516102aa3803806102aa83398101604081905261002f9161005b565b6001600160a01b03166c01000000000000000000000000026001600160601b03909116176000556100ad565b6000806040838503121561006e57600080fd5b82516001600160601b038116811461008557600080fd5b60208401519092506001600160a01b03811681146100a257600080fd5b809150509250929050565b6101ee806100bc6000396000f3fe608060405234801561001057600080fd5b50600436106100405760003560e01c806251884a1461004557806321df0da71461006a578063beabacc814610095575b600080fd5b6000546040516bffffffffffffffffffffffff90911681526020015b60405180910390f35b600054600160601b90046001600160a01b03166040516001600160a01b039091168152602001610061565b6100a86100a3366004610153565b6100aa565b005b6000546040516323b872dd60e01b81526001600160a01b038581166004830152848116602483015260448201849052600160601b909204909116906323b872dd906064016020604051808303816000875af115801561010d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610131919061018f565b50505050565b80356001600160a01b038116811461014e57600080fd5b919050565b60008060006060848603121561016857600080fd5b61017184610137565b925061017f60208501610137565b9150604084013590509250925092565b6000602082840312156101a157600080fd5b815180151581146101b157600080fd5b939250505056fea2646970667358221220de87685d485f45728fb2b557cd6d2622e4a09f86c8a90bedde65101a59e1a77864736f6c63430008140033a2646970667358221220c19be969115f54b7deb05559272fd77b633fdf09fa54c9c8b121ea4a5939e82664736f6c63430008140033",
2070
- "linkReferences": {
2071
- "contracts/types/Blocknumber.sol": {
2072
- "BlocknumberLib": [
2073
- {
2074
- "length": 20,
2075
- "start": 4068
2076
- },
2077
- {
2078
- "length": 20,
2079
- "start": 10467
2080
- }
2081
- ]
2082
- },
2083
- "contracts/types/NftId.sol": {
2084
- "NftIdLib": [
2085
- {
2086
- "length": 20,
2087
- "start": 17711
2088
- },
2089
- {
2090
- "length": 20,
2091
- "start": 17870
2092
- },
2093
- {
2094
- "length": 20,
2095
- "start": 20657
2096
- }
2097
- ]
2098
762
  },
2099
- "contracts/types/NftIdSet.sol": {
2100
- "LibNftIdSet": [
2101
- {
2102
- "length": 20,
2103
- "start": 13724
2104
- },
2105
- {
2106
- "length": 20,
2107
- "start": 15512
2108
- },
2109
- {
2110
- "length": 20,
2111
- "start": 15703
2112
- },
2113
- {
2114
- "length": 20,
2115
- "start": 15926
2116
- },
2117
- {
2118
- "length": 20,
2119
- "start": 20511
2120
- },
763
+ {
764
+ "inputs": [
2121
765
  {
2122
- "length": 20,
2123
- "start": 21171
766
+ "internalType": "Amount",
767
+ "name": "dipAmount",
768
+ "type": "uint96"
2124
769
  }
2125
- ]
2126
- },
2127
- "contracts/types/Timestamp.sol": {
2128
- "TimestampLib": [
770
+ ],
771
+ "name": "withdrawStakingRewardReserves",
772
+ "outputs": [
2129
773
  {
2130
- "length": 20,
2131
- "start": 9989
774
+ "internalType": "Amount",
775
+ "name": "newBalance",
776
+ "type": "uint96"
2132
777
  }
2133
- ]
2134
- },
2135
- "contracts/types/UFixed.sol": {
2136
- "UFixedMathLib": [
2137
- {
2138
- "length": 20,
2139
- "start": 10604
2140
- },
778
+ ],
779
+ "stateMutability": "nonpayable",
780
+ "type": "function"
781
+ }
782
+ ],
783
+ "bytecode": "0x6080604052348015600e575f80fd5b506122c28061001c5f395ff3fe608060405234801561000f575f80fd5b50600436106101dc575f3560e01c80637a9e5e4b11610109578063b7d2b1621161009e578063d2192dbf1161006e578063d2192dbf14610443578063d4cda0d814610476578063e52ba1cb14610487578063f7bc431c1461049a575f80fd5b8063b7d2b16214610407578063b7d6851914610415578063bf7e214f14610428578063cc2a9a5b14610430575f80fd5b80638fb36037116100d95780638fb36037146103ac578063ad12ad60146103cd578063ada9652e146103e0578063b428b0b0146103f4575f80fd5b80637a9e5e4b1461037b578063868923131461038e5780638899278a1461039c578063893d20e8146103a4575f80fd5b80632d764ef81161017f5780635fa8aad41161014f5780635fa8aad414610320578063644c45e0146103335780636dddada41461035057806376b707b714610361575f80fd5b80632d764ef8146102d8578063311adb68146102eb5780634f8b8aba146102fc5780635ab1bd531461030f575f80fd5b8063138461e0116101ba578063138461e01461025b5780631eff4b221461027b57806329db8c3d146102b05780632d46f5df146102c5575f80fd5b806301ffc9a7146101e057806302cd3071146102215780630fec111c14610246575b5f80fd5b61020c6101ee366004611afd565b6001600160e01b0319165f9081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b6005546001600160a01b03165b6040516001600160a01b039091168152602001610218565b61024e6104ad565b6040516102189190611b59565b61026361066b565b6040516001600160601b039091168152602001610218565b6102a27f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b604051908152602001610218565b6102c36102be366004611ca0565b61067a565b005b6102636102d3366004611d5d565b6106c0565b6102c36102e6366004611d78565b610772565b6004546001600160a01b031661022e565b6102c361030a366004611db0565b610810565b6001546001600160a01b031661022e565b6102c361032e366004611dcb565b6108b8565b5f8051602061224d833981519152546001600160601b0316610263565b6006546001600160a01b031661022e565b6103696108f7565b60405160ff9091168152602001610218565b6102c3610389366004611d5d565b61096b565b6102c361032e366004611e24565b6102a2600381565b61022e6109ed565b6103b4610b1e565b6040516001600160e01b03199091168152602001610218565b6102c36103db366004611e5b565b610b53565b6102a25f8051602061224d83398151915281565b6102c3610402366004611eab565b610bda565b6102c361032e366004611eab565b6102c3610423366004611ed5565b610c57565b61022e610cc3565b6102c361043e366004611eec565b610cde565b610456610451366004611f6a565b611229565b604080516001600160401b03938416815292909116602083015201610218565b6007546001600160a01b031661022e565b610263610495366004611db0565b61126d565b6102c36104a8366004611d5d565b6112e2565b6040805160e0810182525f8082526020820181905291810182905260608082018390526080820183905260a082019290925260c08101919091525f7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e0016040528073__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af415801561055d573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906105819190611fb7565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a0016105c96109ed565b6001600160a01b031681526020018260010180546105e690611fd2565b80601f016020809104026020016040519081016040528092919081815260200182805461061290611fd2565b801561065d5780601f106106345761010080835404028352916020019161065d565b820191905f5260205f20905b81548152906001019060200180831161064057829003601f168201915b505050505081525091505090565b5f610675306113a2565b905090565b6106826109ed565b6001600160a01b0316336001600160a01b0316146106ba5760405163086391f760e31b81523360048201526024015b60405180910390fd5b50505050565b5f6106c96109ed565b6001600160a01b0316336001600160a01b0316146106fc5760405163086391f760e31b81523360048201526024016106b1565b600254604051632d46f5df60e01b81526001600160a01b03848116600483015290911690632d46f5df906024015b6020604051808303815f875af1158015610746573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061076a9190611fb7565b90505b919050565b61077a6109ed565b6001600160a01b0316336001600160a01b0316146107ad5760405163086391f760e31b81523360048201526024016106b1565b6003546040516305aec9df60e31b815264ffffffffff831660048201526001600160a01b0390911690632d764ef8906024015b5f604051808303815f87803b1580156107f7575f80fd5b505af1158015610809573d5f803e3d5ffd5b5050505050565b6108186109ed565b6001600160a01b0316336001600160a01b03161461084b5760405163086391f760e31b81523360048201526024016106b1565b60035460405163511ab59d60e11b815233600482018190526001600160601b0384166024830152916001600160a01b03169063a2356b3a906044015b5f604051808303815f87803b15801561089e575f80fd5b505af11580156108b0573d5f803e3d5ffd5b505050505050565b6108c06109ed565b6001600160a01b0316336001600160a01b0316146108f35760405163086391f760e31b81523360048201526024016106b1565b5050565b604051632392b61b60e21b8152600360048201525f9073__$b659da7d8a6d2d32aa6c1e17da23dc2174$__90638e4ad86c90602401602060405180830381865af4158015610947573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610675919061200a565b33610974610cc3565b6001600160a01b0316816001600160a01b0316146109af5760405162d1953b60e31b81526001600160a01b03821660048201526024016106b1565b816001600160a01b03163b5f036109e4576040516361798f2f60e11b81526001600160a01b03831660048201526024016106b1565b6108f38261159b565b5f805f8051602061224d83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015610a59573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610a7d919061202a565b15610b08576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015610ade573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b029190612045565b91505090565b54600160601b90046001600160a01b0316919050565b5f8051602061226d83398151915280545f9190600160a01b900460ff16610b45575f610b02565b638fb3603760e01b91505090565b6001546001600160a01b03166001600160a01b031663120726c36040518163ffffffff1660e01b8152600401602060405180830381865afa158015610b9a573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610bbe9190612045565b6001600160a01b0316336001600160a01b0316146106ba575f80fd5b610be26109ed565b6001600160a01b0316336001600160a01b031614610c155760405163086391f760e31b81523360048201526024016106b1565b60048054604051630b428b0b60e41b81526001600160401b038516928101929092526001600160a01b038381166024840152169063b428b0b090604401610887565b610c5f6109ed565b6001600160a01b0316336001600160a01b031614610c925760405163086391f760e31b81523360048201526024016106b1565b60035460405163b7d6851960e01b8152600481018390526001600160a01b039091169063b7d68519906024016107e0565b5f8051602061226d833981519152546001600160a01b031690565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a008054600160401b810460ff1615906001600160401b03165f81158015610d225750825b90505f826001600160401b03166001148015610d3d5750303b155b905081158015610d4b575080155b15610d695760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315610d9357845460ff60401b1916600160401b1785555b600480546001600160a01b0319166001600160a01b038d1690811782556040805163bf7e214f60e01b815290515f9363bf7e214f928082019260209290918290030181865afa158015610de8573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610e0c9190612045565b6001600160a01b031603610e33576040516377dbcd1760e01b815260040160405180910390fd5b610eaf60045f9054906101000a90046001600160a01b03166001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610e86573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610eaa9190612045565b6115fb565b610f2c87886001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa158015610eef573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610f139190611fb7565b600a60018a60405180602001604052805f81525061160f565b600780546001600160a01b03808d166001600160a01b03199283168117909355600680548d831690841617905560058054918c16919092161790556040805163204a7f0760e21b81529051638129fc1c916004808201925f9290919082900301818387803b158015610f9c575f80fd5b505af1158015610fae573d5f803e3d5ffd5b5050505060065f9054906101000a90046001600160a01b03166001600160a01b0316638129fc1c6040518163ffffffff1660e01b81526004015f604051808303815f87803b158015610ffe575f80fd5b505af1158015611010573d5f803e3d5ffd5b5050505060055f9054906101000a90046001600160a01b03166001600160a01b0316638129fc1c6040518163ffffffff1660e01b81526004015f604051808303815f87803b158015611060575f80fd5b505af1158015611072573d5f803e3d5ffd5b505050506110886001546001600160a01b031690565b6001600160a01b031663d39e6043600b6110a06108f7565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa1580156110e3573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906111079190612045565b600280546001600160a01b0319166001600160a01b03928316179055600154166001600160a01b031663d39e6043600a61113f6108f7565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa158015611182573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906111a69190612045565b600380546001600160a01b0319166001600160a01b03929092169190911790556111d663b698dabd60e01b6116b4565b831561121c57845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b5050505050505050505050565b5f806112336109ed565b6001600160a01b0316336001600160a01b0316146112665760405163086391f760e31b81523360048201526024016106b1565b9250929050565b5f6112766109ed565b6001600160a01b0316336001600160a01b0316146112a95760405163086391f760e31b81523360048201526024016106b1565b60035460405163e52ba1cb60e01b81526001600160601b03841660048201526001600160a01b039091169063e52ba1cb9060240161072a565b6112ed335f366116e0565b306001600160a01b0316816001600160a01b031663de7b5d146040518163ffffffff1660e01b8152600401602060405180830381865afa158015611333573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906113579190612045565b6001600160a01b031614611380576040516345789cf560e01b81523060048201526024016106b1565b600580546001600160a01b0319166001600160a01b0392909216919091179055565b5f805f8051602061224d83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af415801561140e573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611432919061202a565b1561145e5780546040516301ab8b6760e21b81526001600160601b0390911660048201526024016106b1565b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038581166004830152919091169063c3c5a54790602401602060405180830381865afa1580156114b0573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906114d4919061202a565b6114fc5760405163b9304b0d60e01b81526001600160a01b03841660048201526024016106b1565b6001546001600160a01b0316604051632f2a35f760e11b81526001600160a01b0385811660048301529190911690635e546bee90602401602060405180830381865afa15801561154e573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906115729190611fb7565b81546bffffffffffffffffffffffff19166001600160601b039190911690811790915592915050565b5f8051602061226d83398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b6116036117d6565b61160c81611821565b50565b6116176117d6565b6116218683611832565b7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0387166cffffffffffffffffffffffffff1990911617600160601b60ff8716021760ff60681b1916600160681b851515021781557f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa3016116aa83826120a9565b5050505050505050565b6116bc6117d6565b6001600160e01b0319165f908152602081905260409020805460ff19166001179055565b5f8051602061226d8339815191525f806117186116fb610cc3565b873061170a60045f8a8c612163565b6117139161218a565b6118a8565b91509150816108b05763ffffffff8116156117b357825460ff60a01b1916600160a01b178355611746610cc3565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b8152600401611775939291906121c2565b5f604051808303815f87803b15801561178c575f80fd5b505af115801561179e573d5f803e3d5ffd5b5050845460ff60a01b19168555506108b09050565b60405162d1953b60e31b81526001600160a01b03871660048201526024016106b1565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a0054600160401b900460ff1661181f57604051631afcd79f60e31b815260040160405180910390fd5b565b6118296117d6565b61160c8161159b565b61183a6117d6565b611843826119b0565b61184b611ab8565b6001600160a01b0381166118725760405163f17ef42d60e01b815260040160405180910390fd5b5f8051602061224d83398151915280546001600160601b0316600160601b6001600160a01b039093169290920291909117905550565b6040516001600160a01b03848116602483015283811660448301526001600160e01b0319831660648301525f9182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b179052516119169190612201565b5f60405180830381855afa9150503d805f811461194e576040519150601f19603f3d011682016040523d82523d5f602084013e611953565b606091505b509150915081156119a5576040815110611985578080602001905181019061197b9190612217565b90945092506119a5565b60208151106119a557808060200190518101906119a2919061202a565b93505b505094509492505050565b6119b86117d6565b806001600160a01b03163b5f036119ed5760405163fdeac91f60e01b81526001600160a01b03821660048201526024016106b1565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b81526325713e4b60e21b60048201526301ffc9a790602401602060405180830381865afa925050508015611a67575060408051601f3d908101601f19168201909252611a649181019061202a565b60015b611a8f5760405163fdeac91f60e01b81526001600160a01b03821660048201526024016106b1565b806108f35760405163fdeac91f60e01b81526001600160a01b03831660048201526024016106b1565b611ac06117d6565b6301ffc9a760e01b5f9081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b5f60208284031215611b0d575f80fd5b81356001600160e01b031981168114611b24575f80fd5b9392505050565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081526001600160601b0382511660208201526001600160601b03602083015116604082015260ff60408301511660608201525f6060830151611ba1608084018215159052565b5060808301516001600160a01b03811660a08401525060a08301516001600160a01b03811660c08401525060c083015160e080840152611be5610100840182611b2b565b949350505050565b634e487b7160e01b5f52604160045260245ffd5b5f82601f830112611c10575f80fd5b81356001600160401b03811115611c2957611c29611bed565b604051601f8201601f19908116603f011681016001600160401b0381118282101715611c5757611c57611bed565b604052818152838201602001851015611c6e575f80fd5b816020850160208301375f918101602001919091529392505050565b80356001600160401b038116811461076d575f80fd5b5f805f8060608587031215611cb3575f80fd5b84356001600160401b03811115611cc8575f80fd5b611cd487828801611c01565b94505060208501356001600160401b03811115611cef575f80fd5b8501601f81018713611cff575f80fd5b80356001600160401b03811115611d14575f80fd5b8760208260051b8401011115611d28575f80fd5b60209190910193509150611d3e60408601611c8a565b905092959194509250565b6001600160a01b038116811461160c575f80fd5b5f60208284031215611d6d575f80fd5b8135611b2481611d49565b5f60208284031215611d88575f80fd5b813564ffffffffff81168114611b24575f80fd5b6001600160601b038116811461160c575f80fd5b5f60208284031215611dc0575f80fd5b8135611b2481611d9c565b5f8060408385031215611ddc575f80fd5b8235611de781611d49565b915060208301356001600160401b03811115611e01575f80fd5b611e0d85828601611c01565b9150509250929050565b801515811461160c575f80fd5b5f8060408385031215611e35575f80fd5b8235611e4081611d49565b91506020830135611e5081611e17565b809150509250929050565b5f805f8060808587031215611e6e575f80fd5b8435611e7981611d49565b93506020850135611e8981611d49565b9250604085013591506060850135611ea081611d49565b939692955090935050565b5f8060408385031215611ebc575f80fd5b611ec583611c8a565b91506020830135611e5081611d49565b5f60208284031215611ee5575f80fd5b5035919050565b5f805f805f8060c08789031215611f01575f80fd5b8635611f0c81611d49565b95506020870135611f1c81611d49565b94506040870135611f2c81611d49565b93506060870135611f3c81611d49565b92506080870135611f4c81611d49565b915060a0870135611f5c81611d49565b809150509295509295509295565b5f8060408385031215611f7b575f80fd5b82356001600160401b03811115611f90575f80fd5b611f9c85828601611c01565b92505060208301356001600160401b03811115611e01575f80fd5b5f60208284031215611fc7575f80fd5b8151611b2481611d9c565b600181811c90821680611fe657607f821691505b60208210810361200457634e487b7160e01b5f52602260045260245ffd5b50919050565b5f6020828403121561201a575f80fd5b815160ff81168114611b24575f80fd5b5f6020828403121561203a575f80fd5b8151611b2481611e17565b5f60208284031215612055575f80fd5b8151611b2481611d49565b601f8211156120a457805f5260205f20601f840160051c810160208510156120855750805b601f840160051c820191505b81811015610809575f8155600101612091565b505050565b81516001600160401b038111156120c2576120c2611bed565b6120d6816120d08454611fd2565b84612060565b6020601f821160018114612108575f83156120f15750848201515b5f19600385901b1c1916600184901b178455610809565b5f84815260208120601f198516915b828110156121375787850151825560209485019460019092019101612117565b508482101561215457868401515f19600387901b60f8161c191681555b50505050600190811b01905550565b5f8085851115612171575f80fd5b8386111561217d575f80fd5b5050820193919092039150565b80356001600160e01b031981169060048410156121bb576001600160e01b0319600485900360031b81901b82161691505b5092915050565b6001600160a01b03841681526040602082018190528101829052818360608301375f818301606090810191909152601f909201601f1916010192915050565b5f82518060208501845e5f920191825250919050565b5f8060408385031215612228575f80fd5b825161223381611e17565b602084015190925063ffffffff81168114611e50575f80fdfe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00a2646970667358221220653006059b4131ddc8990252d578d7fc6ab8c6500134f0ba34bed28a8566df8164736f6c634300081a0033",
784
+ "deployedBytecode": "0x608060405234801561000f575f80fd5b50600436106101dc575f3560e01c80637a9e5e4b11610109578063b7d2b1621161009e578063d2192dbf1161006e578063d2192dbf14610443578063d4cda0d814610476578063e52ba1cb14610487578063f7bc431c1461049a575f80fd5b8063b7d2b16214610407578063b7d6851914610415578063bf7e214f14610428578063cc2a9a5b14610430575f80fd5b80638fb36037116100d95780638fb36037146103ac578063ad12ad60146103cd578063ada9652e146103e0578063b428b0b0146103f4575f80fd5b80637a9e5e4b1461037b578063868923131461038e5780638899278a1461039c578063893d20e8146103a4575f80fd5b80632d764ef81161017f5780635fa8aad41161014f5780635fa8aad414610320578063644c45e0146103335780636dddada41461035057806376b707b714610361575f80fd5b80632d764ef8146102d8578063311adb68146102eb5780634f8b8aba146102fc5780635ab1bd531461030f575f80fd5b8063138461e0116101ba578063138461e01461025b5780631eff4b221461027b57806329db8c3d146102b05780632d46f5df146102c5575f80fd5b806301ffc9a7146101e057806302cd3071146102215780630fec111c14610246575b5f80fd5b61020c6101ee366004611afd565b6001600160e01b0319165f9081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b6005546001600160a01b03165b6040516001600160a01b039091168152602001610218565b61024e6104ad565b6040516102189190611b59565b61026361066b565b6040516001600160601b039091168152602001610218565b6102a27f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b604051908152602001610218565b6102c36102be366004611ca0565b61067a565b005b6102636102d3366004611d5d565b6106c0565b6102c36102e6366004611d78565b610772565b6004546001600160a01b031661022e565b6102c361030a366004611db0565b610810565b6001546001600160a01b031661022e565b6102c361032e366004611dcb565b6108b8565b5f8051602061224d833981519152546001600160601b0316610263565b6006546001600160a01b031661022e565b6103696108f7565b60405160ff9091168152602001610218565b6102c3610389366004611d5d565b61096b565b6102c361032e366004611e24565b6102a2600381565b61022e6109ed565b6103b4610b1e565b6040516001600160e01b03199091168152602001610218565b6102c36103db366004611e5b565b610b53565b6102a25f8051602061224d83398151915281565b6102c3610402366004611eab565b610bda565b6102c361032e366004611eab565b6102c3610423366004611ed5565b610c57565b61022e610cc3565b6102c361043e366004611eec565b610cde565b610456610451366004611f6a565b611229565b604080516001600160401b03938416815292909116602083015201610218565b6007546001600160a01b031661022e565b610263610495366004611db0565b61126d565b6102c36104a8366004611d5d565b6112e2565b6040805160e0810182525f8082526020820181905291810182905260608082018390526080820183905260a082019290925260c08101919091525f7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e0016040528073__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af415801561055d573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906105819190611fb7565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a0016105c96109ed565b6001600160a01b031681526020018260010180546105e690611fd2565b80601f016020809104026020016040519081016040528092919081815260200182805461061290611fd2565b801561065d5780601f106106345761010080835404028352916020019161065d565b820191905f5260205f20905b81548152906001019060200180831161064057829003601f168201915b505050505081525091505090565b5f610675306113a2565b905090565b6106826109ed565b6001600160a01b0316336001600160a01b0316146106ba5760405163086391f760e31b81523360048201526024015b60405180910390fd5b50505050565b5f6106c96109ed565b6001600160a01b0316336001600160a01b0316146106fc5760405163086391f760e31b81523360048201526024016106b1565b600254604051632d46f5df60e01b81526001600160a01b03848116600483015290911690632d46f5df906024015b6020604051808303815f875af1158015610746573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061076a9190611fb7565b90505b919050565b61077a6109ed565b6001600160a01b0316336001600160a01b0316146107ad5760405163086391f760e31b81523360048201526024016106b1565b6003546040516305aec9df60e31b815264ffffffffff831660048201526001600160a01b0390911690632d764ef8906024015b5f604051808303815f87803b1580156107f7575f80fd5b505af1158015610809573d5f803e3d5ffd5b5050505050565b6108186109ed565b6001600160a01b0316336001600160a01b03161461084b5760405163086391f760e31b81523360048201526024016106b1565b60035460405163511ab59d60e11b815233600482018190526001600160601b0384166024830152916001600160a01b03169063a2356b3a906044015b5f604051808303815f87803b15801561089e575f80fd5b505af11580156108b0573d5f803e3d5ffd5b505050505050565b6108c06109ed565b6001600160a01b0316336001600160a01b0316146108f35760405163086391f760e31b81523360048201526024016106b1565b5050565b604051632392b61b60e21b8152600360048201525f9073__$b659da7d8a6d2d32aa6c1e17da23dc2174$__90638e4ad86c90602401602060405180830381865af4158015610947573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610675919061200a565b33610974610cc3565b6001600160a01b0316816001600160a01b0316146109af5760405162d1953b60e31b81526001600160a01b03821660048201526024016106b1565b816001600160a01b03163b5f036109e4576040516361798f2f60e11b81526001600160a01b03831660048201526024016106b1565b6108f38261159b565b5f805f8051602061224d83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015610a59573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610a7d919061202a565b15610b08576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015610ade573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b029190612045565b91505090565b54600160601b90046001600160a01b0316919050565b5f8051602061226d83398151915280545f9190600160a01b900460ff16610b45575f610b02565b638fb3603760e01b91505090565b6001546001600160a01b03166001600160a01b031663120726c36040518163ffffffff1660e01b8152600401602060405180830381865afa158015610b9a573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610bbe9190612045565b6001600160a01b0316336001600160a01b0316146106ba575f80fd5b610be26109ed565b6001600160a01b0316336001600160a01b031614610c155760405163086391f760e31b81523360048201526024016106b1565b60048054604051630b428b0b60e41b81526001600160401b038516928101929092526001600160a01b038381166024840152169063b428b0b090604401610887565b610c5f6109ed565b6001600160a01b0316336001600160a01b031614610c925760405163086391f760e31b81523360048201526024016106b1565b60035460405163b7d6851960e01b8152600481018390526001600160a01b039091169063b7d68519906024016107e0565b5f8051602061226d833981519152546001600160a01b031690565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a008054600160401b810460ff1615906001600160401b03165f81158015610d225750825b90505f826001600160401b03166001148015610d3d5750303b155b905081158015610d4b575080155b15610d695760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315610d9357845460ff60401b1916600160401b1785555b600480546001600160a01b0319166001600160a01b038d1690811782556040805163bf7e214f60e01b815290515f9363bf7e214f928082019260209290918290030181865afa158015610de8573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610e0c9190612045565b6001600160a01b031603610e33576040516377dbcd1760e01b815260040160405180910390fd5b610eaf60045f9054906101000a90046001600160a01b03166001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610e86573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610eaa9190612045565b6115fb565b610f2c87886001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa158015610eef573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610f139190611fb7565b600a60018a60405180602001604052805f81525061160f565b600780546001600160a01b03808d166001600160a01b03199283168117909355600680548d831690841617905560058054918c16919092161790556040805163204a7f0760e21b81529051638129fc1c916004808201925f9290919082900301818387803b158015610f9c575f80fd5b505af1158015610fae573d5f803e3d5ffd5b5050505060065f9054906101000a90046001600160a01b03166001600160a01b0316638129fc1c6040518163ffffffff1660e01b81526004015f604051808303815f87803b158015610ffe575f80fd5b505af1158015611010573d5f803e3d5ffd5b5050505060055f9054906101000a90046001600160a01b03166001600160a01b0316638129fc1c6040518163ffffffff1660e01b81526004015f604051808303815f87803b158015611060575f80fd5b505af1158015611072573d5f803e3d5ffd5b505050506110886001546001600160a01b031690565b6001600160a01b031663d39e6043600b6110a06108f7565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa1580156110e3573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906111079190612045565b600280546001600160a01b0319166001600160a01b03928316179055600154166001600160a01b031663d39e6043600a61113f6108f7565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa158015611182573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906111a69190612045565b600380546001600160a01b0319166001600160a01b03929092169190911790556111d663b698dabd60e01b6116b4565b831561121c57845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b5050505050505050505050565b5f806112336109ed565b6001600160a01b0316336001600160a01b0316146112665760405163086391f760e31b81523360048201526024016106b1565b9250929050565b5f6112766109ed565b6001600160a01b0316336001600160a01b0316146112a95760405163086391f760e31b81523360048201526024016106b1565b60035460405163e52ba1cb60e01b81526001600160601b03841660048201526001600160a01b039091169063e52ba1cb9060240161072a565b6112ed335f366116e0565b306001600160a01b0316816001600160a01b031663de7b5d146040518163ffffffff1660e01b8152600401602060405180830381865afa158015611333573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906113579190612045565b6001600160a01b031614611380576040516345789cf560e01b81523060048201526024016106b1565b600580546001600160a01b0319166001600160a01b0392909216919091179055565b5f805f8051602061224d83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af415801561140e573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611432919061202a565b1561145e5780546040516301ab8b6760e21b81526001600160601b0390911660048201526024016106b1565b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038581166004830152919091169063c3c5a54790602401602060405180830381865afa1580156114b0573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906114d4919061202a565b6114fc5760405163b9304b0d60e01b81526001600160a01b03841660048201526024016106b1565b6001546001600160a01b0316604051632f2a35f760e11b81526001600160a01b0385811660048301529190911690635e546bee90602401602060405180830381865afa15801561154e573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906115729190611fb7565b81546bffffffffffffffffffffffff19166001600160601b039190911690811790915592915050565b5f8051602061226d83398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b6116036117d6565b61160c81611821565b50565b6116176117d6565b6116218683611832565b7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0387166cffffffffffffffffffffffffff1990911617600160601b60ff8716021760ff60681b1916600160681b851515021781557f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa3016116aa83826120a9565b5050505050505050565b6116bc6117d6565b6001600160e01b0319165f908152602081905260409020805460ff19166001179055565b5f8051602061226d8339815191525f806117186116fb610cc3565b873061170a60045f8a8c612163565b6117139161218a565b6118a8565b91509150816108b05763ffffffff8116156117b357825460ff60a01b1916600160a01b178355611746610cc3565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b8152600401611775939291906121c2565b5f604051808303815f87803b15801561178c575f80fd5b505af115801561179e573d5f803e3d5ffd5b5050845460ff60a01b19168555506108b09050565b60405162d1953b60e31b81526001600160a01b03871660048201526024016106b1565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a0054600160401b900460ff1661181f57604051631afcd79f60e31b815260040160405180910390fd5b565b6118296117d6565b61160c8161159b565b61183a6117d6565b611843826119b0565b61184b611ab8565b6001600160a01b0381166118725760405163f17ef42d60e01b815260040160405180910390fd5b5f8051602061224d83398151915280546001600160601b0316600160601b6001600160a01b039093169290920291909117905550565b6040516001600160a01b03848116602483015283811660448301526001600160e01b0319831660648301525f9182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b179052516119169190612201565b5f60405180830381855afa9150503d805f811461194e576040519150601f19603f3d011682016040523d82523d5f602084013e611953565b606091505b509150915081156119a5576040815110611985578080602001905181019061197b9190612217565b90945092506119a5565b60208151106119a557808060200190518101906119a2919061202a565b93505b505094509492505050565b6119b86117d6565b806001600160a01b03163b5f036119ed5760405163fdeac91f60e01b81526001600160a01b03821660048201526024016106b1565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b81526325713e4b60e21b60048201526301ffc9a790602401602060405180830381865afa925050508015611a67575060408051601f3d908101601f19168201909252611a649181019061202a565b60015b611a8f5760405163fdeac91f60e01b81526001600160a01b03821660048201526024016106b1565b806108f35760405163fdeac91f60e01b81526001600160a01b03831660048201526024016106b1565b611ac06117d6565b6301ffc9a760e01b5f9081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b5f60208284031215611b0d575f80fd5b81356001600160e01b031981168114611b24575f80fd5b9392505050565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081526001600160601b0382511660208201526001600160601b03602083015116604082015260ff60408301511660608201525f6060830151611ba1608084018215159052565b5060808301516001600160a01b03811660a08401525060a08301516001600160a01b03811660c08401525060c083015160e080840152611be5610100840182611b2b565b949350505050565b634e487b7160e01b5f52604160045260245ffd5b5f82601f830112611c10575f80fd5b81356001600160401b03811115611c2957611c29611bed565b604051601f8201601f19908116603f011681016001600160401b0381118282101715611c5757611c57611bed565b604052818152838201602001851015611c6e575f80fd5b816020850160208301375f918101602001919091529392505050565b80356001600160401b038116811461076d575f80fd5b5f805f8060608587031215611cb3575f80fd5b84356001600160401b03811115611cc8575f80fd5b611cd487828801611c01565b94505060208501356001600160401b03811115611cef575f80fd5b8501601f81018713611cff575f80fd5b80356001600160401b03811115611d14575f80fd5b8760208260051b8401011115611d28575f80fd5b60209190910193509150611d3e60408601611c8a565b905092959194509250565b6001600160a01b038116811461160c575f80fd5b5f60208284031215611d6d575f80fd5b8135611b2481611d49565b5f60208284031215611d88575f80fd5b813564ffffffffff81168114611b24575f80fd5b6001600160601b038116811461160c575f80fd5b5f60208284031215611dc0575f80fd5b8135611b2481611d9c565b5f8060408385031215611ddc575f80fd5b8235611de781611d49565b915060208301356001600160401b03811115611e01575f80fd5b611e0d85828601611c01565b9150509250929050565b801515811461160c575f80fd5b5f8060408385031215611e35575f80fd5b8235611e4081611d49565b91506020830135611e5081611e17565b809150509250929050565b5f805f8060808587031215611e6e575f80fd5b8435611e7981611d49565b93506020850135611e8981611d49565b9250604085013591506060850135611ea081611d49565b939692955090935050565b5f8060408385031215611ebc575f80fd5b611ec583611c8a565b91506020830135611e5081611d49565b5f60208284031215611ee5575f80fd5b5035919050565b5f805f805f8060c08789031215611f01575f80fd5b8635611f0c81611d49565b95506020870135611f1c81611d49565b94506040870135611f2c81611d49565b93506060870135611f3c81611d49565b92506080870135611f4c81611d49565b915060a0870135611f5c81611d49565b809150509295509295509295565b5f8060408385031215611f7b575f80fd5b82356001600160401b03811115611f90575f80fd5b611f9c85828601611c01565b92505060208301356001600160401b03811115611e01575f80fd5b5f60208284031215611fc7575f80fd5b8151611b2481611d9c565b600181811c90821680611fe657607f821691505b60208210810361200457634e487b7160e01b5f52602260045260245ffd5b50919050565b5f6020828403121561201a575f80fd5b815160ff81168114611b24575f80fd5b5f6020828403121561203a575f80fd5b8151611b2481611e17565b5f60208284031215612055575f80fd5b8151611b2481611d49565b601f8211156120a457805f5260205f20601f840160051c810160208510156120855750805b601f840160051c820191505b81811015610809575f8155600101612091565b505050565b81516001600160401b038111156120c2576120c2611bed565b6120d6816120d08454611fd2565b84612060565b6020601f821160018114612108575f83156120f15750848201515b5f19600385901b1c1916600184901b178455610809565b5f84815260208120601f198516915b828110156121375787850151825560209485019460019092019101612117565b508482101561215457868401515f19600387901b60f8161c191681555b50505050600190811b01905550565b5f8085851115612171575f80fd5b8386111561217d575f80fd5b5050820193919092039150565b80356001600160e01b031981169060048410156121bb576001600160e01b0319600485900360031b81901b82161691505b5092915050565b6001600160a01b03841681526040602082018190528101829052818360608301375f818301606090810191909152601f909201601f1916010192915050565b5f82518060208501845e5f920191825250919050565b5f8060408385031215612228575f80fd5b825161223381611e17565b602084015190925063ffffffff81168114611e50575f80fdfe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00a2646970667358221220653006059b4131ddc8990252d578d7fc6ab8c6500134f0ba34bed28a8566df8164736f6c634300081a0033",
785
+ "linkReferences": {
786
+ "contracts/type/NftId.sol": {
787
+ "NftIdLib": [
2141
788
  {
2142
789
  "length": 20,
2143
- "start": 16632
790
+ "start": 1332
2144
791
  },
2145
792
  {
2146
793
  "length": 20,
2147
- "start": 21417
794
+ "start": 2621
2148
795
  },
2149
796
  {
2150
797
  "length": 20,
2151
- "start": 21580
798
+ "start": 5106
2152
799
  }
2153
800
  ]
2154
801
  },
2155
- "contracts/types/Version.sol": {
2156
- "VersionLib": [
2157
- {
2158
- "length": 20,
2159
- "start": 1906
2160
- }
2161
- ],
802
+ "contracts/type/Version.sol": {
2162
803
  "VersionPartLib": [
2163
804
  {
2164
805
  "length": 20,
2165
- "start": 4737
2166
- },
2167
- {
2168
- "length": 20,
2169
- "start": 4864
2170
- },
2171
- {
2172
- "length": 20,
2173
- "start": 4991
2174
- },
2175
- {
2176
- "length": 20,
2177
- "start": 21742
2178
- },
2179
- {
2180
- "length": 20,
2181
- "start": 21869
2182
- },
2183
- {
2184
- "length": 20,
2185
- "start": 21996
806
+ "start": 2347
2186
807
  }
2187
808
  ]
2188
809
  }
2189
810
  },
2190
811
  "deployedLinkReferences": {
2191
- "contracts/types/Blocknumber.sol": {
2192
- "BlocknumberLib": [
2193
- {
2194
- "length": 20,
2195
- "start": 4341
2196
- }
2197
- ]
2198
- },
2199
- "contracts/types/NftId.sol": {
812
+ "contracts/type/NftId.sol": {
2200
813
  "NftIdLib": [
2201
814
  {
2202
815
  "length": 20,
2203
- "start": 11585
2204
- },
2205
- {
2206
- "length": 20,
2207
- "start": 11744
2208
- },
2209
- {
2210
- "length": 20,
2211
- "start": 14531
2212
- }
2213
- ]
2214
- },
2215
- "contracts/types/NftIdSet.sol": {
2216
- "LibNftIdSet": [
2217
- {
2218
- "length": 20,
2219
- "start": 7598
2220
- },
2221
- {
2222
- "length": 20,
2223
- "start": 9386
2224
- },
2225
- {
2226
- "length": 20,
2227
- "start": 9577
2228
- },
2229
- {
2230
- "length": 20,
2231
- "start": 9800
2232
- },
2233
- {
2234
- "length": 20,
2235
- "start": 14385
2236
- },
2237
- {
2238
- "length": 20,
2239
- "start": 15045
2240
- }
2241
- ]
2242
- },
2243
- "contracts/types/Timestamp.sol": {
2244
- "TimestampLib": [
2245
- {
2246
- "length": 20,
2247
- "start": 3863
2248
- }
2249
- ]
2250
- },
2251
- "contracts/types/UFixed.sol": {
2252
- "UFixedMathLib": [
2253
- {
2254
- "length": 20,
2255
- "start": 4478
2256
- },
2257
- {
2258
- "length": 20,
2259
- "start": 10506
816
+ "start": 1304
2260
817
  },
2261
818
  {
2262
819
  "length": 20,
2263
- "start": 15291
820
+ "start": 2593
2264
821
  },
2265
822
  {
2266
823
  "length": 20,
2267
- "start": 15454
824
+ "start": 5078
2268
825
  }
2269
826
  ]
2270
827
  },
2271
- "contracts/types/Version.sol": {
828
+ "contracts/type/Version.sol": {
2272
829
  "VersionPartLib": [
2273
830
  {
2274
831
  "length": 20,
2275
- "start": 15616
2276
- },
2277
- {
2278
- "length": 20,
2279
- "start": 15743
2280
- },
2281
- {
2282
- "length": 20,
2283
- "start": 15870
832
+ "start": 2319
2284
833
  }
2285
834
  ]
2286
835
  }