@etherisc/gif-next 0.0.2-f08d150-296 → 0.0.2-f0ccf08-591

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