@etherisc/gif-next 0.0.2-efef0ea-320 → 0.0.2-f00a368-815

Sign up to get free protection for your applications and to get access to all the features.
Files changed (814) hide show
  1. package/README.md +345 -46
  2. package/artifacts/contracts/accounting/AccountingService.sol/AccountingService.dbg.json +4 -0
  3. package/artifacts/contracts/accounting/AccountingService.sol/AccountingService.json +1075 -0
  4. package/artifacts/contracts/accounting/AccountingServiceManager.sol/AccountingServiceManager.dbg.json +4 -0
  5. package/artifacts/contracts/accounting/AccountingServiceManager.sol/AccountingServiceManager.json +790 -0
  6. package/artifacts/contracts/accounting/IAccountingService.sol/IAccountingService.dbg.json +4 -0
  7. package/artifacts/contracts/accounting/IAccountingService.sol/IAccountingService.json +843 -0
  8. package/artifacts/contracts/authorization/AccessAdmin.sol/AccessAdmin.dbg.json +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 +1244 -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 +949 -0
  32. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.dbg.json +4 -0
  33. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.json +1850 -0
  34. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +4 -0
  35. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.json +950 -0
  36. package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.dbg.json +4 -0
  37. package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.json +848 -0
  38. package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.dbg.json +4 -0
  39. package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.json +1285 -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 +1480 -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 +2045 -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 +1423 -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 +1171 -0
  58. package/artifacts/contracts/examples/unpermissioned/SimplePool.sol/SimplePool.dbg.json +4 -0
  59. package/artifacts/contracts/examples/unpermissioned/SimplePool.sol/SimplePool.json +1647 -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 +2471 -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 +555 -1457
  70. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +4 -0
  71. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +1019 -0
  72. package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
  73. package/artifacts/contracts/instance/Instance.sol/Instance.json +639 -1805
  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 +1265 -0
  82. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +4 -0
  83. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +772 -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/{distribution/IDistribution.sol → IDistribution.sol}/IDistribution.json +1 -1
  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 +957 -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 +772 -0
  120. package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.dbg.json +4 -0
  121. package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.json +762 -0
  122. package/artifacts/contracts/oracle/Oracle.sol/Oracle.dbg.json +4 -0
  123. package/artifacts/contracts/oracle/Oracle.sol/Oracle.json +873 -0
  124. package/artifacts/contracts/oracle/OracleService.sol/OracleService.dbg.json +4 -0
  125. package/artifacts/contracts/oracle/OracleService.sol/OracleService.json +1042 -0
  126. package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.dbg.json +4 -0
  127. package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.json +810 -0
  128. package/artifacts/contracts/pool/BasicPool.sol/BasicPool.dbg.json +4 -0
  129. package/artifacts/contracts/pool/BasicPool.sol/BasicPool.json +1250 -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 +1454 -0
  134. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.dbg.json +4 -0
  135. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.json +870 -0
  136. package/artifacts/contracts/pool/IBundleService.sol/IBundleService.dbg.json +4 -0
  137. package/artifacts/contracts/pool/IBundleService.sol/IBundleService.json +1041 -0
  138. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.dbg.json +4 -0
  139. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.json +905 -0
  140. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.dbg.json +4 -0
  141. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.json +1449 -0
  142. package/artifacts/contracts/pool/Pool.sol/Pool.dbg.json +4 -0
  143. package/artifacts/contracts/pool/Pool.sol/Pool.json +1025 -0
  144. package/artifacts/contracts/pool/PoolLib.sol/PoolLib.dbg.json +4 -0
  145. package/artifacts/contracts/pool/PoolLib.sol/PoolLib.json +546 -0
  146. package/artifacts/contracts/pool/PoolService.sol/PoolService.dbg.json +4 -0
  147. package/artifacts/contracts/pool/PoolService.sol/PoolService.json +1833 -0
  148. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.dbg.json +4 -0
  149. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.json +866 -0
  150. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.dbg.json +4 -0
  151. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.json +1036 -0
  152. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +4 -0
  153. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.json +790 -0
  154. package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.dbg.json +4 -0
  155. package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.json +1159 -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 +1552 -0
  160. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +4 -0
  161. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.json +894 -0
  162. package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.dbg.json +4 -0
  163. package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.json +804 -0
  164. package/artifacts/contracts/product/IClaimService.sol/IClaimService.dbg.json +4 -0
  165. package/artifacts/contracts/product/IClaimService.sol/IClaimService.json +1104 -0
  166. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.dbg.json +4 -0
  167. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.json +1036 -0
  168. package/artifacts/contracts/product/IPricingService.sol/IPricingService.dbg.json +4 -0
  169. package/artifacts/contracts/product/IPricingService.sol/IPricingService.json +652 -0
  170. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.dbg.json +4 -0
  171. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.json +1016 -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} +263 -362
  174. package/artifacts/contracts/product/PolicyService.sol/PolicyService.dbg.json +4 -0
  175. package/artifacts/contracts/product/PolicyService.sol/PolicyService.json +1404 -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 +854 -0
  180. package/artifacts/contracts/product/PricingService.sol/PricingService.dbg.json +4 -0
  181. package/artifacts/contracts/product/PricingService.sol/PricingService.json +932 -0
  182. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.dbg.json +4 -0
  183. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.json +814 -0
  184. package/artifacts/contracts/product/Product.sol/Product.dbg.json +4 -0
  185. package/artifacts/contracts/product/Product.sol/Product.json +1117 -0
  186. package/artifacts/contracts/product/RiskService.sol/RiskService.dbg.json +4 -0
  187. package/artifacts/contracts/product/RiskService.sol/RiskService.json +780 -0
  188. package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.dbg.json +4 -0
  189. package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.json +774 -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 +1035 -119
  194. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +4 -0
  195. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +1072 -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 +1473 -231
  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 +1298 -0
  208. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +4 -0
  209. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +773 -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 +705 -0
  222. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.dbg.json +4 -0
  223. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.json +1535 -0
  224. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.dbg.json +4 -0
  225. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.json +854 -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 +630 -0
  236. package/artifacts/contracts/shared/IComponentService.sol/IComponentService.dbg.json +4 -0
  237. package/artifacts/contracts/shared/IComponentService.sol/IComponentService.json +1175 -0
  238. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.dbg.json +4 -0
  239. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.json +707 -0
  240. package/artifacts/contracts/shared/IKeyValueStore.sol/IKeyValueStore.dbg.json +4 -0
  241. package/artifacts/contracts/{instance/base → shared}/IKeyValueStore.sol/IKeyValueStore.json +122 -172
  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} +62 -70
  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 +248 -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} +212 -189
  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 +795 -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 +228 -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 +294 -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/base/InstanceBase.sol/InstanceBase.json → shared/Service.sol/Service.json} +242 -223
  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 +1646 -0
  282. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.dbg.json +4 -0
  283. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.json +1196 -0
  284. package/artifacts/contracts/staking/Staking.sol/Staking.dbg.json +4 -0
  285. package/artifacts/contracts/staking/Staking.sol/Staking.json +2054 -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 +842 -0
  292. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.dbg.json +4 -0
  293. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.json +616 -0
  294. package/artifacts/contracts/staking/StakingService.sol/StakingService.dbg.json +4 -0
  295. package/artifacts/contracts/staking/StakingService.sol/StakingService.json +1425 -0
  296. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.dbg.json +4 -0
  297. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.json +782 -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 +265 -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 +65 -0
  354. package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.dbg.json +4 -0
  355. package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.json +656 -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 +88 -0
  360. package/contracts/accounting/AccountingService.sol +274 -0
  361. package/contracts/accounting/AccountingServiceManager.sol +38 -0
  362. package/contracts/accounting/IAccountingService.sol +47 -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 +169 -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 +247 -0
  375. package/contracts/distribution/DistributionService.sol +448 -0
  376. package/contracts/distribution/DistributionServiceManager.sol +39 -0
  377. package/contracts/distribution/IDistributionComponent.sol +45 -0
  378. package/contracts/distribution/IDistributionService.sol +115 -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 +385 -0
  391. package/contracts/examples/unpermissioned/SimpleProductAuthorization.sol +28 -0
  392. package/contracts/instance/BundleSet.sol +130 -0
  393. package/contracts/instance/IInstance.sol +139 -47
  394. package/contracts/instance/IInstanceService.sol +113 -0
  395. package/contracts/instance/Instance.sol +338 -66
  396. package/contracts/instance/InstanceAdmin.sol +383 -0
  397. package/contracts/instance/InstanceAuthorizationV3.sol +266 -0
  398. package/contracts/instance/InstanceReader.sol +632 -0
  399. package/contracts/instance/InstanceService.sol +512 -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 +406 -0
  426. package/contracts/pool/BundleServiceManager.sol +39 -0
  427. package/contracts/pool/IBundleService.sol +121 -0
  428. package/contracts/pool/IPoolComponent.sol +62 -0
  429. package/contracts/pool/IPoolService.sol +170 -0
  430. package/contracts/pool/Pool.sol +343 -0
  431. package/contracts/pool/PoolLib.sol +359 -0
  432. package/contracts/pool/PoolService.sol +614 -0
  433. package/contracts/pool/PoolServiceManager.sol +39 -0
  434. package/contracts/product/ApplicationService.sol +327 -0
  435. package/contracts/product/ApplicationServiceManager.sol +38 -0
  436. package/contracts/product/BasicProduct.sol +49 -0
  437. package/contracts/product/BasicProductAuthorization.sol +63 -0
  438. package/contracts/product/ClaimService.sol +641 -0
  439. package/contracts/product/ClaimServiceManager.sol +38 -0
  440. package/contracts/product/IApplicationService.sol +88 -0
  441. package/contracts/product/IClaimService.sol +135 -0
  442. package/contracts/product/IPolicyService.sol +102 -0
  443. package/contracts/product/IPricingService.sol +40 -0
  444. package/contracts/product/IProductComponent.sol +62 -0
  445. package/contracts/product/IRiskService.sol +37 -0
  446. package/contracts/product/PolicyService.sol +645 -0
  447. package/contracts/product/PolicyServiceLib.sol +139 -0
  448. package/contracts/product/PolicyServiceManager.sol +39 -0
  449. package/contracts/product/PricingService.sol +306 -0
  450. package/contracts/product/PricingServiceManager.sol +39 -0
  451. package/contracts/product/Product.sol +472 -0
  452. package/contracts/product/RiskService.sol +163 -0
  453. package/contracts/product/RiskServiceManager.sol +39 -0
  454. package/contracts/registry/ChainNft.sol +130 -40
  455. package/contracts/registry/IRegistry.sol +147 -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 +637 -282
  460. package/contracts/registry/RegistryAdmin.sol +188 -0
  461. package/contracts/registry/RegistryAuthorization.sol +284 -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 +345 -0
  468. package/contracts/registry/TokenRegistry.sol +314 -0
  469. package/contracts/shared/Component.sol +210 -0
  470. package/contracts/shared/ComponentService.sol +679 -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 +111 -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 +27 -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 +129 -0
  489. package/contracts/shared/PolicyHolder.sol +63 -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 +195 -0
  496. package/contracts/staking/IStakingService.sol +170 -0
  497. package/contracts/staking/Staking.sol +605 -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 +199 -0
  502. package/contracts/staking/StakingService.sol +468 -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 +105 -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/{types → type}/Version.sol +62 -6
  529. package/contracts/upgradeability/IVersionable.sol +56 -0
  530. package/contracts/upgradeability/ProxyManager.sol +246 -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/Distribution.sol/Distribution.dbg.json +0 -4
  537. package/artifacts/contracts/components/Distribution.sol/Distribution.json +0 -405
  538. package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.dbg.json +0 -4
  539. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.dbg.json +0 -4
  540. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.json +0 -340
  541. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.dbg.json +0 -4
  542. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.json +0 -487
  543. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.dbg.json +0 -4
  544. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.json +0 -370
  545. package/artifacts/contracts/components/Pool.sol/Pool.dbg.json +0 -4
  546. package/artifacts/contracts/components/Pool.sol/Pool.json +0 -578
  547. package/artifacts/contracts/components/Product.sol/Product.dbg.json +0 -4
  548. package/artifacts/contracts/components/Product.sol/Product.json +0 -444
  549. package/artifacts/contracts/experiment/errors/Require.sol/Require.dbg.json +0 -4
  550. package/artifacts/contracts/experiment/errors/Require.sol/Require.json +0 -105
  551. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.dbg.json +0 -4
  552. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.json +0 -105
  553. package/artifacts/contracts/experiment/inheritance/A.sol/A.dbg.json +0 -4
  554. package/artifacts/contracts/experiment/inheritance/A.sol/A.json +0 -128
  555. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.dbg.json +0 -4
  556. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.json +0 -42
  557. package/artifacts/contracts/experiment/inheritance/B.sol/B.dbg.json +0 -4
  558. package/artifacts/contracts/experiment/inheritance/B.sol/B.json +0 -76
  559. package/artifacts/contracts/experiment/inheritance/C.sol/C.dbg.json +0 -4
  560. package/artifacts/contracts/experiment/inheritance/C.sol/C.json +0 -89
  561. package/artifacts/contracts/experiment/inheritance/IA.sol/IA.dbg.json +0 -4
  562. package/artifacts/contracts/experiment/inheritance/IA.sol/IA.json +0 -128
  563. package/artifacts/contracts/experiment/inheritance/IA.sol/ISharedA.dbg.json +0 -4
  564. package/artifacts/contracts/experiment/inheritance/IA.sol/ISharedA.json +0 -37
  565. package/artifacts/contracts/experiment/inheritance/IB.sol/IB.dbg.json +0 -4
  566. package/artifacts/contracts/experiment/inheritance/IB.sol/IB.json +0 -50
  567. package/artifacts/contracts/experiment/inheritance/IC.sol/IC.dbg.json +0 -4
  568. package/artifacts/contracts/experiment/inheritance/IC.sol/IC.json +0 -63
  569. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.dbg.json +0 -4
  570. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.json +0 -59
  571. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.dbg.json +0 -4
  572. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.json +0 -124
  573. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.dbg.json +0 -4
  574. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.json +0 -74
  575. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.dbg.json +0 -4
  576. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.json +0 -124
  577. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.dbg.json +0 -4
  578. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.json +0 -207
  579. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.dbg.json +0 -4
  580. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.json +0 -10
  581. package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.dbg.json +0 -4
  582. package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.json +0 -10
  583. package/artifacts/contracts/instance/IInstanceLinked.sol/IInstanceLinked.dbg.json +0 -4
  584. package/artifacts/contracts/instance/base/ComponentServiceBase.sol/ComponentServiceBase.dbg.json +0 -4
  585. package/artifacts/contracts/instance/base/ComponentServiceBase.sol/ComponentServiceBase.json +0 -387
  586. package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.dbg.json +0 -4
  587. package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.json +0 -113
  588. package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.dbg.json +0 -4
  589. package/artifacts/contracts/instance/base/ILifecycle.sol/ILifecycle.dbg.json +0 -4
  590. package/artifacts/contracts/instance/base/IService.sol/IService.dbg.json +0 -4
  591. package/artifacts/contracts/instance/base/IService.sol/IService.json +0 -341
  592. package/artifacts/contracts/instance/base/InstanceBase.sol/InstanceBase.dbg.json +0 -4
  593. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.dbg.json +0 -4
  594. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.json +0 -710
  595. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.dbg.json +0 -4
  596. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.json +0 -169
  597. package/artifacts/contracts/instance/base/ModuleBase.sol/ModuleBase.dbg.json +0 -4
  598. package/artifacts/contracts/instance/base/ServiceBase.sol/ServiceBase.dbg.json +0 -4
  599. package/artifacts/contracts/instance/base/ServiceBase.sol/ServiceBase.json +0 -387
  600. package/artifacts/contracts/instance/module/access/Access.sol/AccessModule.dbg.json +0 -4
  601. package/artifacts/contracts/instance/module/access/Access.sol/AccessModule.json +0 -333
  602. package/artifacts/contracts/instance/module/access/IAccess.sol/IAccess.dbg.json +0 -4
  603. package/artifacts/contracts/instance/module/access/IAccess.sol/IAccessModule.dbg.json +0 -4
  604. package/artifacts/contracts/instance/module/access/IAccess.sol/IAccessModule.json +0 -333
  605. package/artifacts/contracts/instance/module/bundle/BundleModule.sol/BundleModule.dbg.json +0 -4
  606. package/artifacts/contracts/instance/module/bundle/BundleModule.sol/BundleModule.json +0 -297
  607. package/artifacts/contracts/instance/module/bundle/IBundle.sol/IBundle.dbg.json +0 -4
  608. package/artifacts/contracts/instance/module/bundle/IBundle.sol/IBundleModule.dbg.json +0 -4
  609. package/artifacts/contracts/instance/module/bundle/IBundle.sol/IBundleModule.json +0 -297
  610. package/artifacts/contracts/instance/module/component/ComponentModule.sol/ComponentModule.dbg.json +0 -4
  611. package/artifacts/contracts/instance/module/component/ComponentModule.sol/ComponentModule.json +0 -117
  612. package/artifacts/contracts/instance/module/component/IComponent.sol/IComponent.dbg.json +0 -4
  613. package/artifacts/contracts/instance/module/component/IComponent.sol/IComponent.json +0 -10
  614. package/artifacts/contracts/instance/module/component/IComponent.sol/IComponentModule.dbg.json +0 -4
  615. package/artifacts/contracts/instance/module/component/IComponent.sol/IComponentModule.json +0 -117
  616. package/artifacts/contracts/instance/module/distribution/DistributionModule.sol/DistributionModule.dbg.json +0 -4
  617. package/artifacts/contracts/instance/module/distribution/DistributionModule.sol/DistributionModule.json +0 -10
  618. package/artifacts/contracts/instance/module/distribution/IDistribution.sol/IDistribution.dbg.json +0 -4
  619. package/artifacts/contracts/instance/module/distribution/IDistribution.sol/IDistributionModule.dbg.json +0 -4
  620. package/artifacts/contracts/instance/module/distribution/IDistribution.sol/IDistributionModule.json +0 -10
  621. package/artifacts/contracts/instance/module/policy/IPolicy.sol/IPolicy.dbg.json +0 -4
  622. package/artifacts/contracts/instance/module/policy/IPolicy.sol/IPolicyModule.dbg.json +0 -4
  623. package/artifacts/contracts/instance/module/policy/IPolicy.sol/IPolicyModule.json +0 -284
  624. package/artifacts/contracts/instance/module/policy/PolicyModule.sol/PolicyModule.dbg.json +0 -4
  625. package/artifacts/contracts/instance/module/policy/PolicyModule.sol/PolicyModule.json +0 -284
  626. package/artifacts/contracts/instance/module/pool/IPoolModule.sol/IPool.dbg.json +0 -4
  627. package/artifacts/contracts/instance/module/pool/IPoolModule.sol/IPool.json +0 -10
  628. package/artifacts/contracts/instance/module/pool/IPoolModule.sol/IPoolModule.dbg.json +0 -4
  629. package/artifacts/contracts/instance/module/pool/IPoolModule.sol/IPoolModule.json +0 -144
  630. package/artifacts/contracts/instance/module/pool/PoolModule.sol/PoolModule.dbg.json +0 -4
  631. package/artifacts/contracts/instance/module/pool/PoolModule.sol/PoolModule.json +0 -144
  632. package/artifacts/contracts/instance/module/risk/IRisk.sol/IRisk.dbg.json +0 -4
  633. package/artifacts/contracts/instance/module/risk/IRisk.sol/IRiskModule.dbg.json +0 -4
  634. package/artifacts/contracts/instance/module/risk/IRisk.sol/IRiskModule.json +0 -113
  635. package/artifacts/contracts/instance/module/risk/RiskModule.sol/RiskModule.dbg.json +0 -4
  636. package/artifacts/contracts/instance/module/risk/RiskModule.sol/RiskModule.json +0 -131
  637. package/artifacts/contracts/instance/module/treasury/ITreasury.sol/ITreasury.dbg.json +0 -4
  638. package/artifacts/contracts/instance/module/treasury/ITreasury.sol/ITreasury.json +0 -10
  639. package/artifacts/contracts/instance/module/treasury/ITreasury.sol/ITreasuryModule.dbg.json +0 -4
  640. package/artifacts/contracts/instance/module/treasury/ITreasury.sol/ITreasuryModule.json +0 -511
  641. package/artifacts/contracts/instance/module/treasury/TokenHandler.sol/TokenHandler.dbg.json +0 -4
  642. package/artifacts/contracts/instance/module/treasury/TokenHandler.sol/TokenHandler.json +0 -76
  643. package/artifacts/contracts/instance/module/treasury/TreasuryModule.sol/TreasuryModule.dbg.json +0 -4
  644. package/artifacts/contracts/instance/module/treasury/TreasuryModule.sol/TreasuryModule.json +0 -511
  645. package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.dbg.json +0 -4
  646. package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.json +0 -618
  647. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.dbg.json +0 -4
  648. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.json +0 -507
  649. package/artifacts/contracts/instance/service/IComponentOwnerService.sol/IComponentOwnerService.dbg.json +0 -4
  650. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.dbg.json +0 -4
  651. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.json +0 -366
  652. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.dbg.json +0 -4
  653. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.json +0 -481
  654. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.dbg.json +0 -4
  655. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.dbg.json +0 -4
  656. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.json +0 -630
  657. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.dbg.json +0 -4
  658. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.json +0 -945
  659. package/artifacts/contracts/registry/IChainNft.sol/IChainNft.dbg.json +0 -4
  660. package/artifacts/contracts/registry/IChainNft.sol/IChainNft.json +0 -452
  661. package/artifacts/contracts/registry/IRegistryLinked.sol/IRegistryLinked.dbg.json +0 -4
  662. package/artifacts/contracts/registry/RegistryUpgradeable.sol/RegistryUpgradeable.dbg.json +0 -4
  663. package/artifacts/contracts/registry/RegistryUpgradeable.sol/RegistryUpgradeable.json +0 -724
  664. package/artifacts/contracts/shared/ERC165.sol/ERC165.dbg.json +0 -4
  665. package/artifacts/contracts/shared/ERC165.sol/ERC165.json +0 -35
  666. package/artifacts/contracts/shared/IOwnable.sol/IOwnable.dbg.json +0 -4
  667. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.dbg.json +0 -4
  668. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.json +0 -205
  669. package/artifacts/contracts/shared/Proxy.sol/ProxyDeployer.dbg.json +0 -4
  670. package/artifacts/contracts/shared/Proxy.sol/ProxyDeployer.json +0 -248
  671. package/artifacts/contracts/shared/Proxy.sol/ProxyWithProxyAdminGetter.dbg.json +0 -4
  672. package/artifacts/contracts/shared/Proxy.sol/ProxyWithProxyAdminGetter.json +0 -129
  673. package/artifacts/contracts/shared/Versionable.sol/Versionable.dbg.json +0 -4
  674. package/artifacts/contracts/shared/Versionable.sol/Versionable.json +0 -251
  675. package/artifacts/contracts/shared/VersionableUpgradeable.sol/VersionableUpgradeable.dbg.json +0 -4
  676. package/artifacts/contracts/shared/VersionableUpgradeable.sol/VersionableUpgradeable.json +0 -228
  677. package/artifacts/contracts/test/TestDistribution.sol/TestDistribution.dbg.json +0 -4
  678. package/artifacts/contracts/test/TestDistribution.sol/TestDistribution.json +0 -405
  679. package/artifacts/contracts/test/TestFee.sol/TestFee.dbg.json +0 -4
  680. package/artifacts/contracts/test/TestFee.sol/TestFee.json +0 -119
  681. package/artifacts/contracts/test/TestPool.sol/TestPool.dbg.json +0 -4
  682. package/artifacts/contracts/test/TestPool.sol/TestPool.json +0 -578
  683. package/artifacts/contracts/test/TestProduct.sol/TestProduct.dbg.json +0 -4
  684. package/artifacts/contracts/test/TestProduct.sol/TestProduct.json +0 -575
  685. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.dbg.json +0 -4
  686. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.json +0 -137
  687. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.dbg.json +0 -4
  688. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.json +0 -116
  689. package/artifacts/contracts/test/TestService.sol/TestService.dbg.json +0 -4
  690. package/artifacts/contracts/test/TestService.sol/TestService.json +0 -466
  691. package/artifacts/contracts/test/TestToken.sol/TestUsdc.dbg.json +0 -4
  692. package/artifacts/contracts/test/TestToken.sol/TestUsdc.json +0 -338
  693. package/artifacts/contracts/test/TestVersion.sol/TestVersion.dbg.json +0 -4
  694. package/artifacts/contracts/test/TestVersion.sol/TestVersion.json +0 -218
  695. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.dbg.json +0 -4
  696. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.json +0 -293
  697. package/artifacts/contracts/test/Usdc.sol/USDC.dbg.json +0 -4
  698. package/artifacts/contracts/test/Usdc.sol/USDC.json +0 -338
  699. package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.dbg.json +0 -4
  700. package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.json +0 -10
  701. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.dbg.json +0 -4
  702. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.json +0 -174
  703. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.dbg.json +0 -4
  704. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.json +0 -10
  705. package/artifacts/contracts/types/Fee.sol/FeeLib.dbg.json +0 -4
  706. package/artifacts/contracts/types/Fee.sol/FeeLib.json +0 -257
  707. package/artifacts/contracts/types/Key32.sol/Key32Lib.dbg.json +0 -4
  708. package/artifacts/contracts/types/Key32.sol/Key32Lib.json +0 -111
  709. package/artifacts/contracts/types/NftId.sol/NftIdLib.dbg.json +0 -4
  710. package/artifacts/contracts/types/NftId.sol/NftIdLib.json +0 -153
  711. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.dbg.json +0 -4
  712. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.json +0 -10
  713. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.dbg.json +0 -4
  714. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.json +0 -92
  715. package/artifacts/contracts/types/ReferralId.sol/ReferralIdLib.dbg.json +0 -4
  716. package/artifacts/contracts/types/ReferralId.sol/ReferralIdLib.json +0 -99
  717. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.dbg.json +0 -4
  718. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.json +0 -86
  719. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.dbg.json +0 -4
  720. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.json +0 -30
  721. package/artifacts/contracts/types/StateId.sol/StateIdLib.dbg.json +0 -4
  722. package/artifacts/contracts/types/StateId.sol/StateIdLib.json +0 -92
  723. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.dbg.json +0 -4
  724. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.json +0 -236
  725. package/artifacts/contracts/types/UFixed.sol/UFixedMathLib.dbg.json +0 -4
  726. package/artifacts/contracts/types/UFixed.sol/UFixedMathLib.json +0 -479
  727. package/artifacts/contracts/types/Version.sol/VersionLib.dbg.json +0 -4
  728. package/artifacts/contracts/types/Version.sol/VersionLib.json +0 -177
  729. package/artifacts/contracts/types/Version.sol/VersionPartLib.dbg.json +0 -4
  730. package/artifacts/contracts/types/Version.sol/VersionPartLib.json +0 -30
  731. package/contracts/components/BaseComponent.sol +0 -94
  732. package/contracts/components/Distribution.sol +0 -132
  733. package/contracts/components/IBaseComponent.sol +0 -19
  734. package/contracts/components/IDistributionComponent.sol +0 -47
  735. package/contracts/components/IPoolComponent.sol +0 -71
  736. package/contracts/components/IProductComponent.sol +0 -38
  737. package/contracts/components/Pool.sol +0 -235
  738. package/contracts/components/Product.sol +0 -227
  739. package/contracts/experiment/errors/Require.sol +0 -38
  740. package/contracts/experiment/errors/Revert.sol +0 -44
  741. package/contracts/experiment/inheritance/A.sol +0 -53
  742. package/contracts/experiment/inheritance/B.sol +0 -28
  743. package/contracts/experiment/inheritance/C.sol +0 -34
  744. package/contracts/experiment/inheritance/IA.sol +0 -13
  745. package/contracts/experiment/inheritance/IB.sol +0 -10
  746. package/contracts/experiment/inheritance/IC.sol +0 -12
  747. package/contracts/experiment/statemachine/Dummy.sol +0 -27
  748. package/contracts/experiment/statemachine/ISM.sol +0 -25
  749. package/contracts/experiment/statemachine/README.md +0 -112
  750. package/contracts/experiment/statemachine/SM.sol +0 -57
  751. package/contracts/experiment/statemachine/SimpleStateMachine.sol +0 -31
  752. package/contracts/experiment/types/TypeA.sol +0 -47
  753. package/contracts/experiment/types/TypeB.sol +0 -29
  754. package/contracts/instance/IInstanceLinked.sol +0 -8
  755. package/contracts/instance/base/ComponentServiceBase.sol +0 -42
  756. package/contracts/instance/base/IInstanceBase.sol +0 -22
  757. package/contracts/instance/base/IKeyValueStore.sol +0 -50
  758. package/contracts/instance/base/IService.sol +0 -15
  759. package/contracts/instance/base/InstanceBase.sol +0 -91
  760. package/contracts/instance/base/KeyValueStore.sol +0 -161
  761. package/contracts/instance/base/Lifecycle.sol +0 -100
  762. package/contracts/instance/base/ModuleBase.sol +0 -57
  763. package/contracts/instance/base/ServiceBase.sol +0 -37
  764. package/contracts/instance/module/access/Access.sol +0 -149
  765. package/contracts/instance/module/access/IAccess.sol +0 -53
  766. package/contracts/instance/module/bundle/BundleModule.sol +0 -134
  767. package/contracts/instance/module/bundle/IBundle.sol +0 -53
  768. package/contracts/instance/module/component/ComponentModule.sol +0 -70
  769. package/contracts/instance/module/component/IComponent.sol +0 -28
  770. package/contracts/instance/module/distribution/DistributionModule.sol +0 -17
  771. package/contracts/instance/module/distribution/IDistribution.sol +0 -10
  772. package/contracts/instance/module/policy/IPolicy.sol +0 -63
  773. package/contracts/instance/module/policy/PolicyModule.sol +0 -91
  774. package/contracts/instance/module/pool/IPoolModule.sol +0 -40
  775. package/contracts/instance/module/pool/PoolModule.sol +0 -90
  776. package/contracts/instance/module/risk/IRisk.sol +0 -26
  777. package/contracts/instance/module/risk/RiskModule.sol +0 -62
  778. package/contracts/instance/module/treasury/ITreasury.sol +0 -82
  779. package/contracts/instance/module/treasury/TokenHandler.sol +0 -48
  780. package/contracts/instance/module/treasury/TreasuryModule.sol +0 -138
  781. package/contracts/instance/service/ComponentOwnerService.sol +0 -157
  782. package/contracts/instance/service/DistributionService.sol +0 -59
  783. package/contracts/instance/service/IComponentOwnerService.sol +0 -22
  784. package/contracts/instance/service/IDistributionService.sol +0 -12
  785. package/contracts/instance/service/IPoolService.sol +0 -37
  786. package/contracts/instance/service/IProductService.sol +0 -107
  787. package/contracts/instance/service/PoolService.sol +0 -149
  788. package/contracts/instance/service/ProductService.sol +0 -509
  789. package/contracts/registry/IChainNft.sol +0 -21
  790. package/contracts/registry/IRegistryLinked.sol +0 -8
  791. package/contracts/registry/RegistryUpgradeable.sol +0 -488
  792. package/contracts/shared/ERC165.sol +0 -21
  793. package/contracts/shared/IOwnable.sol +0 -6
  794. package/contracts/shared/IVersionable.sol +0 -65
  795. package/contracts/shared/Proxy.sol +0 -94
  796. package/contracts/shared/Versionable.sol +0 -99
  797. package/contracts/shared/VersionableUpgradeable.sol +0 -136
  798. package/contracts/test/TestDistribution.sol +0 -21
  799. package/contracts/test/TestFee.sol +0 -25
  800. package/contracts/test/TestPool.sol +0 -25
  801. package/contracts/test/TestProduct.sol +0 -72
  802. package/contracts/test/TestRegisterable.sol +0 -19
  803. package/contracts/test/TestRoleId.sol +0 -14
  804. package/contracts/test/TestService.sol +0 -32
  805. package/contracts/test/TestToken.sol +0 -26
  806. package/contracts/test/TestVersion.sol +0 -44
  807. package/contracts/test/TestVersionable.sol +0 -17
  808. package/contracts/types/ChainId.sol +0 -38
  809. package/contracts/types/Fee.sol +0 -56
  810. package/contracts/types/NftIdSet.sol +0 -60
  811. package/contracts/types/ObjectType.sol +0 -131
  812. package/contracts/types/ReferralId.sol +0 -48
  813. package/contracts/types/RiskId.sol +0 -43
  814. package/contracts/types/RoleId.sol +0 -38
@@ -0,0 +1,1265 @@
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": "ErrorVersionableInitializeNotImplemented",
372
+ "type": "error"
373
+ },
374
+ {
375
+ "inputs": [],
376
+ "name": "ErrorVersionableUpgradeNotImplemented",
377
+ "type": "error"
378
+ },
379
+ {
380
+ "inputs": [],
381
+ "name": "InvalidInitialization",
382
+ "type": "error"
383
+ },
384
+ {
385
+ "inputs": [],
386
+ "name": "NotInitializing",
387
+ "type": "error"
388
+ },
389
+ {
390
+ "inputs": [],
391
+ "name": "ReentrancyGuardReentrantCall",
392
+ "type": "error"
393
+ },
394
+ {
395
+ "anonymous": false,
396
+ "inputs": [
397
+ {
398
+ "indexed": false,
399
+ "internalType": "address",
400
+ "name": "authority",
401
+ "type": "address"
402
+ }
403
+ ],
404
+ "name": "AuthorityUpdated",
405
+ "type": "event"
406
+ },
407
+ {
408
+ "anonymous": false,
409
+ "inputs": [
410
+ {
411
+ "indexed": false,
412
+ "internalType": "uint64",
413
+ "name": "version",
414
+ "type": "uint64"
415
+ }
416
+ ],
417
+ "name": "Initialized",
418
+ "type": "event"
419
+ },
420
+ {
421
+ "anonymous": false,
422
+ "inputs": [
423
+ {
424
+ "indexed": false,
425
+ "internalType": "NftId",
426
+ "name": "instanceNftId",
427
+ "type": "uint96"
428
+ },
429
+ {
430
+ "indexed": false,
431
+ "internalType": "address",
432
+ "name": "instance",
433
+ "type": "address"
434
+ }
435
+ ],
436
+ "name": "LogInstanceCloned",
437
+ "type": "event"
438
+ },
439
+ {
440
+ "anonymous": false,
441
+ "inputs": [
442
+ {
443
+ "indexed": false,
444
+ "internalType": "NftId",
445
+ "name": "nftId",
446
+ "type": "uint96"
447
+ },
448
+ {
449
+ "indexed": false,
450
+ "internalType": "address",
451
+ "name": "owner",
452
+ "type": "address"
453
+ }
454
+ ],
455
+ "name": "LogNftOwnableNftLinkedToAddress",
456
+ "type": "event"
457
+ },
458
+ {
459
+ "inputs": [],
460
+ "name": "INSTANCE_CREATION_CODE_HASH",
461
+ "outputs": [
462
+ {
463
+ "internalType": "bytes32",
464
+ "name": "",
465
+ "type": "bytes32"
466
+ }
467
+ ],
468
+ "stateMutability": "view",
469
+ "type": "function"
470
+ },
471
+ {
472
+ "inputs": [],
473
+ "name": "NFT_OWNABLE_STORAGE_LOCATION_V1",
474
+ "outputs": [
475
+ {
476
+ "internalType": "bytes32",
477
+ "name": "",
478
+ "type": "bytes32"
479
+ }
480
+ ],
481
+ "stateMutability": "view",
482
+ "type": "function"
483
+ },
484
+ {
485
+ "inputs": [],
486
+ "name": "REGISTERABLE_LOCATION_V1",
487
+ "outputs": [
488
+ {
489
+ "internalType": "bytes32",
490
+ "name": "",
491
+ "type": "bytes32"
492
+ }
493
+ ],
494
+ "stateMutability": "view",
495
+ "type": "function"
496
+ },
497
+ {
498
+ "inputs": [],
499
+ "name": "authority",
500
+ "outputs": [
501
+ {
502
+ "internalType": "address",
503
+ "name": "",
504
+ "type": "address"
505
+ }
506
+ ],
507
+ "stateMutability": "view",
508
+ "type": "function"
509
+ },
510
+ {
511
+ "inputs": [
512
+ {
513
+ "internalType": "address",
514
+ "name": "target",
515
+ "type": "address"
516
+ },
517
+ {
518
+ "internalType": "RoleId",
519
+ "name": "roleId",
520
+ "type": "uint64"
521
+ },
522
+ {
523
+ "components": [
524
+ {
525
+ "internalType": "Str",
526
+ "name": "name",
527
+ "type": "bytes32"
528
+ },
529
+ {
530
+ "internalType": "Selector",
531
+ "name": "selector",
532
+ "type": "bytes4"
533
+ },
534
+ {
535
+ "internalType": "Timestamp",
536
+ "name": "createdAt",
537
+ "type": "uint40"
538
+ }
539
+ ],
540
+ "internalType": "struct IAccess.FunctionInfo[]",
541
+ "name": "functions",
542
+ "type": "tuple[]"
543
+ }
544
+ ],
545
+ "name": "authorizeFunctions",
546
+ "outputs": [],
547
+ "stateMutability": "nonpayable",
548
+ "type": "function"
549
+ },
550
+ {
551
+ "inputs": [
552
+ {
553
+ "internalType": "bool",
554
+ "name": "allowAnyToken",
555
+ "type": "bool"
556
+ }
557
+ ],
558
+ "name": "createInstance",
559
+ "outputs": [
560
+ {
561
+ "internalType": "contract IInstance",
562
+ "name": "instance",
563
+ "type": "address"
564
+ },
565
+ {
566
+ "internalType": "NftId",
567
+ "name": "instanceNftId",
568
+ "type": "uint96"
569
+ }
570
+ ],
571
+ "stateMutability": "nonpayable",
572
+ "type": "function"
573
+ },
574
+ {
575
+ "inputs": [
576
+ {
577
+ "internalType": "string",
578
+ "name": "roleName",
579
+ "type": "string"
580
+ },
581
+ {
582
+ "internalType": "RoleId",
583
+ "name": "adminRoleId",
584
+ "type": "uint64"
585
+ },
586
+ {
587
+ "internalType": "uint32",
588
+ "name": "maxMemberCount",
589
+ "type": "uint32"
590
+ }
591
+ ],
592
+ "name": "createRole",
593
+ "outputs": [
594
+ {
595
+ "internalType": "RoleId",
596
+ "name": "roleId",
597
+ "type": "uint64"
598
+ }
599
+ ],
600
+ "stateMutability": "nonpayable",
601
+ "type": "function"
602
+ },
603
+ {
604
+ "inputs": [
605
+ {
606
+ "internalType": "address",
607
+ "name": "target",
608
+ "type": "address"
609
+ },
610
+ {
611
+ "internalType": "string",
612
+ "name": "name",
613
+ "type": "string"
614
+ }
615
+ ],
616
+ "name": "createTarget",
617
+ "outputs": [
618
+ {
619
+ "internalType": "RoleId",
620
+ "name": "contractRoleId",
621
+ "type": "uint64"
622
+ }
623
+ ],
624
+ "stateMutability": "nonpayable",
625
+ "type": "function"
626
+ },
627
+ {
628
+ "inputs": [],
629
+ "name": "getDomain",
630
+ "outputs": [
631
+ {
632
+ "internalType": "ObjectType",
633
+ "name": "serviceDomain",
634
+ "type": "uint8"
635
+ }
636
+ ],
637
+ "stateMutability": "pure",
638
+ "type": "function"
639
+ },
640
+ {
641
+ "inputs": [],
642
+ "name": "getInitialInfo",
643
+ "outputs": [
644
+ {
645
+ "components": [
646
+ {
647
+ "internalType": "NftId",
648
+ "name": "nftId",
649
+ "type": "uint96"
650
+ },
651
+ {
652
+ "internalType": "NftId",
653
+ "name": "parentNftId",
654
+ "type": "uint96"
655
+ },
656
+ {
657
+ "internalType": "ObjectType",
658
+ "name": "objectType",
659
+ "type": "uint8"
660
+ },
661
+ {
662
+ "internalType": "bool",
663
+ "name": "isInterceptor",
664
+ "type": "bool"
665
+ },
666
+ {
667
+ "internalType": "address",
668
+ "name": "objectAddress",
669
+ "type": "address"
670
+ },
671
+ {
672
+ "internalType": "address",
673
+ "name": "initialOwner",
674
+ "type": "address"
675
+ },
676
+ {
677
+ "internalType": "bytes",
678
+ "name": "data",
679
+ "type": "bytes"
680
+ }
681
+ ],
682
+ "internalType": "struct IRegistry.ObjectInfo",
683
+ "name": "info",
684
+ "type": "tuple"
685
+ }
686
+ ],
687
+ "stateMutability": "view",
688
+ "type": "function"
689
+ },
690
+ {
691
+ "inputs": [],
692
+ "name": "getMasterInstanceReader",
693
+ "outputs": [
694
+ {
695
+ "internalType": "address",
696
+ "name": "",
697
+ "type": "address"
698
+ }
699
+ ],
700
+ "stateMutability": "view",
701
+ "type": "function"
702
+ },
703
+ {
704
+ "inputs": [],
705
+ "name": "getNftId",
706
+ "outputs": [
707
+ {
708
+ "internalType": "NftId",
709
+ "name": "",
710
+ "type": "uint96"
711
+ }
712
+ ],
713
+ "stateMutability": "view",
714
+ "type": "function"
715
+ },
716
+ {
717
+ "inputs": [],
718
+ "name": "getOwner",
719
+ "outputs": [
720
+ {
721
+ "internalType": "address",
722
+ "name": "",
723
+ "type": "address"
724
+ }
725
+ ],
726
+ "stateMutability": "view",
727
+ "type": "function"
728
+ },
729
+ {
730
+ "inputs": [],
731
+ "name": "getRegistry",
732
+ "outputs": [
733
+ {
734
+ "internalType": "contract IRegistry",
735
+ "name": "",
736
+ "type": "address"
737
+ }
738
+ ],
739
+ "stateMutability": "view",
740
+ "type": "function"
741
+ },
742
+ {
743
+ "inputs": [],
744
+ "name": "getRelease",
745
+ "outputs": [
746
+ {
747
+ "internalType": "VersionPart",
748
+ "name": "release",
749
+ "type": "uint8"
750
+ }
751
+ ],
752
+ "stateMutability": "view",
753
+ "type": "function"
754
+ },
755
+ {
756
+ "inputs": [],
757
+ "name": "getRoleId",
758
+ "outputs": [
759
+ {
760
+ "internalType": "RoleId",
761
+ "name": "serviceRoleId",
762
+ "type": "uint64"
763
+ }
764
+ ],
765
+ "stateMutability": "view",
766
+ "type": "function"
767
+ },
768
+ {
769
+ "inputs": [],
770
+ "name": "getVersion",
771
+ "outputs": [
772
+ {
773
+ "internalType": "Version",
774
+ "name": "",
775
+ "type": "uint24"
776
+ }
777
+ ],
778
+ "stateMutability": "pure",
779
+ "type": "function"
780
+ },
781
+ {
782
+ "inputs": [
783
+ {
784
+ "internalType": "RoleId",
785
+ "name": "roleId",
786
+ "type": "uint64"
787
+ },
788
+ {
789
+ "internalType": "address",
790
+ "name": "account",
791
+ "type": "address"
792
+ }
793
+ ],
794
+ "name": "grantRole",
795
+ "outputs": [],
796
+ "stateMutability": "nonpayable",
797
+ "type": "function"
798
+ },
799
+ {
800
+ "inputs": [
801
+ {
802
+ "internalType": "address",
803
+ "name": "activatedBy",
804
+ "type": "address"
805
+ },
806
+ {
807
+ "internalType": "bytes",
808
+ "name": "data",
809
+ "type": "bytes"
810
+ }
811
+ ],
812
+ "name": "initializeVersionable",
813
+ "outputs": [],
814
+ "stateMutability": "nonpayable",
815
+ "type": "function"
816
+ },
817
+ {
818
+ "inputs": [],
819
+ "name": "isActive",
820
+ "outputs": [
821
+ {
822
+ "internalType": "bool",
823
+ "name": "active",
824
+ "type": "bool"
825
+ }
826
+ ],
827
+ "stateMutability": "view",
828
+ "type": "function"
829
+ },
830
+ {
831
+ "inputs": [],
832
+ "name": "isConsumingScheduledOp",
833
+ "outputs": [
834
+ {
835
+ "internalType": "bytes4",
836
+ "name": "",
837
+ "type": "bytes4"
838
+ }
839
+ ],
840
+ "stateMutability": "view",
841
+ "type": "function"
842
+ },
843
+ {
844
+ "inputs": [],
845
+ "name": "linkToRegisteredNftId",
846
+ "outputs": [
847
+ {
848
+ "internalType": "NftId",
849
+ "name": "nftId",
850
+ "type": "uint96"
851
+ }
852
+ ],
853
+ "stateMutability": "nonpayable",
854
+ "type": "function"
855
+ },
856
+ {
857
+ "inputs": [
858
+ {
859
+ "internalType": "address",
860
+ "name": "rewardProvider",
861
+ "type": "address"
862
+ },
863
+ {
864
+ "internalType": "Amount",
865
+ "name": "dipAmount",
866
+ "type": "uint96"
867
+ }
868
+ ],
869
+ "name": "refillStakingRewardReserves",
870
+ "outputs": [],
871
+ "stateMutability": "nonpayable",
872
+ "type": "function"
873
+ },
874
+ {
875
+ "inputs": [
876
+ {
877
+ "internalType": "RoleId",
878
+ "name": "roleId",
879
+ "type": "uint64"
880
+ },
881
+ {
882
+ "internalType": "address",
883
+ "name": "account",
884
+ "type": "address"
885
+ }
886
+ ],
887
+ "name": "revokeRole",
888
+ "outputs": [],
889
+ "stateMutability": "nonpayable",
890
+ "type": "function"
891
+ },
892
+ {
893
+ "inputs": [
894
+ {
895
+ "internalType": "address",
896
+ "name": "instanceAddress",
897
+ "type": "address"
898
+ }
899
+ ],
900
+ "name": "setAndRegisterMasterInstance",
901
+ "outputs": [
902
+ {
903
+ "internalType": "NftId",
904
+ "name": "masterInstanceNftId",
905
+ "type": "uint96"
906
+ }
907
+ ],
908
+ "stateMutability": "nonpayable",
909
+ "type": "function"
910
+ },
911
+ {
912
+ "inputs": [
913
+ {
914
+ "internalType": "address",
915
+ "name": "newAuthority",
916
+ "type": "address"
917
+ }
918
+ ],
919
+ "name": "setAuthority",
920
+ "outputs": [],
921
+ "stateMutability": "nonpayable",
922
+ "type": "function"
923
+ },
924
+ {
925
+ "inputs": [
926
+ {
927
+ "internalType": "bool",
928
+ "name": "locked",
929
+ "type": "bool"
930
+ }
931
+ ],
932
+ "name": "setInstanceLocked",
933
+ "outputs": [],
934
+ "stateMutability": "nonpayable",
935
+ "type": "function"
936
+ },
937
+ {
938
+ "inputs": [
939
+ {
940
+ "internalType": "RoleId",
941
+ "name": "roleId",
942
+ "type": "uint64"
943
+ },
944
+ {
945
+ "internalType": "bool",
946
+ "name": "active",
947
+ "type": "bool"
948
+ }
949
+ ],
950
+ "name": "setRoleActive",
951
+ "outputs": [],
952
+ "stateMutability": "nonpayable",
953
+ "type": "function"
954
+ },
955
+ {
956
+ "inputs": [
957
+ {
958
+ "internalType": "Seconds",
959
+ "name": "stakeLockingPeriod",
960
+ "type": "uint40"
961
+ }
962
+ ],
963
+ "name": "setStakingLockingPeriod",
964
+ "outputs": [],
965
+ "stateMutability": "nonpayable",
966
+ "type": "function"
967
+ },
968
+ {
969
+ "inputs": [
970
+ {
971
+ "internalType": "Amount",
972
+ "name": "maxStakedAmount",
973
+ "type": "uint96"
974
+ }
975
+ ],
976
+ "name": "setStakingMaxAmount",
977
+ "outputs": [],
978
+ "stateMutability": "nonpayable",
979
+ "type": "function"
980
+ },
981
+ {
982
+ "inputs": [
983
+ {
984
+ "internalType": "UFixed",
985
+ "name": "rewardRate",
986
+ "type": "uint160"
987
+ }
988
+ ],
989
+ "name": "setStakingRewardRate",
990
+ "outputs": [],
991
+ "stateMutability": "nonpayable",
992
+ "type": "function"
993
+ },
994
+ {
995
+ "inputs": [
996
+ {
997
+ "internalType": "address",
998
+ "name": "target",
999
+ "type": "address"
1000
+ },
1001
+ {
1002
+ "internalType": "bool",
1003
+ "name": "locked",
1004
+ "type": "bool"
1005
+ }
1006
+ ],
1007
+ "name": "setTargetLocked",
1008
+ "outputs": [],
1009
+ "stateMutability": "nonpayable",
1010
+ "type": "function"
1011
+ },
1012
+ {
1013
+ "inputs": [
1014
+ {
1015
+ "internalType": "bytes4",
1016
+ "name": "interfaceId",
1017
+ "type": "bytes4"
1018
+ }
1019
+ ],
1020
+ "name": "supportsInterface",
1021
+ "outputs": [
1022
+ {
1023
+ "internalType": "bool",
1024
+ "name": "",
1025
+ "type": "bool"
1026
+ }
1027
+ ],
1028
+ "stateMutability": "view",
1029
+ "type": "function"
1030
+ },
1031
+ {
1032
+ "inputs": [
1033
+ {
1034
+ "internalType": "address",
1035
+ "name": "target",
1036
+ "type": "address"
1037
+ },
1038
+ {
1039
+ "components": [
1040
+ {
1041
+ "internalType": "Str",
1042
+ "name": "name",
1043
+ "type": "bytes32"
1044
+ },
1045
+ {
1046
+ "internalType": "Selector",
1047
+ "name": "selector",
1048
+ "type": "bytes4"
1049
+ },
1050
+ {
1051
+ "internalType": "Timestamp",
1052
+ "name": "createdAt",
1053
+ "type": "uint40"
1054
+ }
1055
+ ],
1056
+ "internalType": "struct IAccess.FunctionInfo[]",
1057
+ "name": "functions",
1058
+ "type": "tuple[]"
1059
+ }
1060
+ ],
1061
+ "name": "unauthorizeFunctions",
1062
+ "outputs": [],
1063
+ "stateMutability": "nonpayable",
1064
+ "type": "function"
1065
+ },
1066
+ {
1067
+ "inputs": [],
1068
+ "name": "upgradeInstanceReader",
1069
+ "outputs": [],
1070
+ "stateMutability": "nonpayable",
1071
+ "type": "function"
1072
+ },
1073
+ {
1074
+ "inputs": [
1075
+ {
1076
+ "internalType": "address",
1077
+ "name": "instanceReaderAddress",
1078
+ "type": "address"
1079
+ }
1080
+ ],
1081
+ "name": "upgradeMasterInstanceReader",
1082
+ "outputs": [],
1083
+ "stateMutability": "nonpayable",
1084
+ "type": "function"
1085
+ },
1086
+ {
1087
+ "inputs": [
1088
+ {
1089
+ "internalType": "bytes",
1090
+ "name": "data",
1091
+ "type": "bytes"
1092
+ }
1093
+ ],
1094
+ "name": "upgradeVersionable",
1095
+ "outputs": [],
1096
+ "stateMutability": "nonpayable",
1097
+ "type": "function"
1098
+ },
1099
+ {
1100
+ "inputs": [
1101
+ {
1102
+ "internalType": "Amount",
1103
+ "name": "dipAmount",
1104
+ "type": "uint96"
1105
+ }
1106
+ ],
1107
+ "name": "withdrawStakingRewardReserves",
1108
+ "outputs": [
1109
+ {
1110
+ "internalType": "Amount",
1111
+ "name": "newBalance",
1112
+ "type": "uint96"
1113
+ }
1114
+ ],
1115
+ "stateMutability": "nonpayable",
1116
+ "type": "function"
1117
+ }
1118
+ ],
1119
+ "bytecode": "0x6080604052348015600e575f80fd5b5060156019565b60c9565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00805468010000000000000000900460ff161560685760405163f92ee8a960e01b815260040160405180910390fd5b80546001600160401b039081161460c65780546001600160401b0319166001600160401b0390811782556040519081527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50565b61487a806100d65f395ff3fe608060405234801561000f575f80fd5b5060043610610229575f3560e01c80637a9e5e4b1161012a578063b428b0b0116100b4578063d127388711610079578063d127388714610505578063e52ba1cb1461053f578063edabac0314610552578063f153f82414610563578063f4b4ee4d14610576575f80fd5b8063b428b0b0146104c8578063b68d1809146104db578063b7d2b162146104e2578063bf7e214f146104f5578063c2651725146104fd575f80fd5b8063893d20e8116100fa578063893d20e8146104655780638fb360371461046d57806396cdfa3f1461048e578063a2356b3a146104a1578063ada9652e146104b4575f80fd5b80637a9e5e4b146104255780637de45f1314610438578063868923131461044b578063872309c71461045e575f80fd5b8063254f6866116101b65780635fa8aad41161017b5780635fa8aad4146103c0578063644c45e0146103d35780636a778e73146103f05780636c741e781461040357806376b707b71461040b575f80fd5b8063254f68661461034f5780632d764ef814610362578063329d6e741461037557806349bb9e4b146103885780635ab1bd531461039b575f80fd5b8063138461e0116101fc578063138461e0146102b45780631eff4b22146102d45780631f481d641461030957806322f3e2d41461033457806323dff7921461033c575f80fd5b806301ffc9a71461022d5780630d8e6e2c1461026e5780630fec111c1461028a57806311f778431461029f575b5f80fd5b61025961023b366004613ca1565b6001600160e01b0319165f9081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b610276610589565b60405162ffffff9091168152602001610265565b610292610610565b6040516102659190613cea565b6102b26102ad366004613d8a565b6107ca565b005b6102bc6108c6565b6040516001600160601b039091168152602001610265565b6102fb7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b604051908152602001610265565b61031c610317366004613ed2565b6108d0565b6040516001600160401b039091168152602001610265565b6102596109c2565b6102b261034a366004613f3e565b610a39565b6102b261035d366004613d8a565b610b1f565b6102b2610370366004613f87565b610c9a565b6102b2610383366004613fa2565b610d71565b6102b2610396366004613fd3565b610ebb565b6001546001600160a01b03165b6040516001600160a01b039091168152602001610265565b61031c6103ce366004613fd3565b610fb6565b5f805160206147e5833981519152546001600160601b03166102bc565b6102bc6103fe366004613d8a565b6110a5565b61031c611c4d565b610413611cd9565b60405160ff9091168152602001610265565b6102b2610433366004613d8a565b611d41565b6102b2610446366004614033565b611dc7565b6102b261045936600461404e565b611e99565b6102fb5f81565b6103a8611f4a565b61047561207b565b6040516001600160e01b03199091168152602001610265565b6102b261049c36600461406a565b6120b0565b6102b26104af366004614085565b612159565b6102fb5f805160206147e583398151915281565b6102b26104d63660046140b1565b612276565b600a610413565b6102b26104f03660046140b1565b61232e565b6103a86123e6565b6102b2612401565b61051861051336600461406a565b6124b9565b604080516001600160a01b0390931683526001600160601b03909116602083015201610265565b6102bc61054d366004614033565b612924565b6008546001600160a01b03166103a8565b6102b261057136600461419d565b612a39565b6102b26105843660046141df565b612adf565b604051632efe011360e01b8152600360048201525f60248201819052604482018190529073__$8eede297b65ed5a56eb3f84d8232ae93f5$__90632efe011390606401602060405180830381865af41580156105e7573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061060b919061423c565b905090565b6040805160e0810182525f8082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820152907f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e0016040528073__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af41580156106bc573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906106e09190614269565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a001610728611f4a565b6001600160a01b0316815260200182600101805461074590614284565b80601f016020809104026020016040519081016040528092919081815260200182805461077190614284565b80156107bc5780601f10610793576101008083540402835291602001916107bc565b820191905f5260205f20905b81548152906001019060200180831161079f57829003601f168201915b505050505081525091505090565b6107d6335b5f36612bbb565b6107e7336107e2611cd9565b612cb1565b5f6107fa6001546001600160a01b031690565b604051632f2a35f760e11b81523360048201526001600160a01b039190911690635e546bee90602401602060405180830381865afa15801561083e573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906108629190614269565b60035460405163c26efb0560e01b81529192506001600160a01b03169063c26efb059061089590849086906004016142bc565b5f604051808303815f87803b1580156108ac575f80fd5b505af11580156108be573d5f803e3d5ffd5b505050505050565b5f61060b30612fad565b5f6108da336107cf565b6108e6336107e2611cd9565b5f339050806001600160a01b031663311adb686040518163ffffffff1660e01b8152600401602060405180830381865afa158015610926573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061094a91906142de565b6001600160a01b0316631f481d648686866040518463ffffffff1660e01b8152600401610979939291906142f9565b6020604051808303815f875af1158015610995573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906109b99190614330565b95945050505050565b5f6109cb6123e6565b60405163a166aa8960e01b81523060048201526001600160a01b03919091169063a166aa8990602401602060405180830381865afa158015610a0f573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610a339190614356565b15905090565b610a42336107cf565b610a4e336107e2611cd9565b5f339050806001600160a01b031663311adb686040518163ffffffff1660e01b8152600401602060405180830381865afa158015610a8e573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610ab291906142de565b6040516311effbc960e11b81526001600160401b038516600482015283151560248201526001600160a01b0391909116906323dff792906044015b5f604051808303815f87803b158015610b04575f80fd5b505af1158015610b16573d5f803e3d5ffd5b50505050505050565b610b27611f4a565b6001600160a01b0316336001600160a01b031614610b5f5760405163086391f760e31b81523360048201526024015b60405180910390fd5b6008546001600160a01b0316610b88576040516358e5a4af60e01b815260040160405180910390fd5b6001600160a01b038116610baf57604051631aa1808560e31b815260040160405180910390fd5b6008546001600160a01b0390811690821603610bde57604051630666e2a560e01b815260040160405180910390fd5b6007546040805163379ed74560e21b8152905183926001600160a01b03908116929084169163de7b5d14916004808201926020929091908290030181865afa158015610c2c573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610c5091906142de565b6001600160a01b031614610c775760405163f026367160e01b815260040160405180910390fd5b50600880546001600160a01b0319166001600160a01b0392909216919091179055565b610ca3336107cf565b610caf336107e2611cd9565b5f610cc26001546001600160a01b031690565b604051632f2a35f760e11b81523360048201526001600160a01b039190911690635e546bee90602401602060405180830381865afa158015610d06573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610d2a9190614269565b60035460405163db1e36e760e01b81526001600160601b038316600482015264ffffffffff851660248201529192506001600160a01b03169063db1e36e790604401610895565b73__$8eede297b65ed5a56eb3f84d8232ae93f5$__63a123b37c610d93610589565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af4158015610dd1573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610df59190614330565b5f805160206148258339815191528054600160401b900460ff1680610e27575080546001600160401b03808416911610155b15610e455760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b178155610e6f836131ef565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a1505050565b5f805160206148258339815191528054600160401b810460ff1615906001600160401b03165f81158015610eec5750825b90505f826001600160401b03166001148015610f075750303b155b905081158015610f15575080155b15610f335760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315610f5d57845460ff60401b1916600160401b1785555b610f678787613210565b8315610b1657845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a150505050505050565b5f610fc0336107cf565b610fcc336107e2611cd9565b5f339050806001600160a01b031663311adb686040518163ffffffff1660e01b8152600401602060405180830381865afa15801561100c573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061103091906142de565b6001600160a01b0316635fa8aad485856040518363ffffffff1660e01b815260040161105d929190614371565b6020604051808303815f875af1158015611079573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061109d9190614330565b949350505050565b5f6110ae611f4a565b6001600160a01b0316336001600160a01b0316146110e15760405163086391f760e31b8152336004820152602401610b56565b6007546001600160a01b03161561110b57604051632c237de760e11b815260040160405180910390fd5b6006546001600160a01b0316156111355760405163ab0cc43960e01b815260040160405180910390fd5b6009546001600160a01b03161561115f5760405163558f4f7b60e11b815260040160405180910390fd5b600a546001600160a01b0316156111895760405163d518f81b60e01b815260040160405180910390fd5b6001600160a01b0382166111b0576040516309353e4560e11b815260040160405180910390fd5b5f8290505f816001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156111f1573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061121591906142de565b90505f826001600160a01b031663311adb686040518163ffffffff1660e01b8152600401602060405180830381865afa158015611254573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061127891906142de565b90505f8190505f846001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa1580156112bb573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906112df91906142de565b90505f8190505f866001600160a01b0316636dddada46040518163ffffffff1660e01b8152600401602060405180830381865afa158015611322573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061134691906142de565b90505f8190505f886001600160a01b0316630e0c586d6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611389573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906113ad91906142de565b90505f8190505f8a6001600160a01b031663d4cda0d86040518163ffffffff1660e01b8152600401602060405180830381865afa1580156113f0573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061141491906142de565b9050806001600160a01b038b1661143e576040516327ccc33d60e11b815260040160405180910390fd5b6001600160a01b038916611464576040516295661560e31b815260040160405180910390fd5b6001600160a01b03871661148b5760405163e267254160e01b815260040160405180910390fd5b6001600160a01b0385166114b25760405163bfebabd760e01b815260040160405180910390fd5b6001600160a01b0383166114d957604051634e336b1d60e11b815260040160405180910390fd5b6001600160a01b038116611500576040516301fa2a2b60e01b815260040160405180910390fd5b896001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561153c573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061156091906142de565b6001600160a01b03168c6001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156115a5573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906115c991906142de565b6001600160a01b0316146115f0576040516334ddf1a760e21b815260040160405180910390fd5b896001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561162c573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061165091906142de565b6001600160a01b0316866001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611695573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906116b991906142de565b6001600160a01b0316146116e05760405163e168da3760e01b815260040160405180910390fd5b896001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561171c573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061174091906142de565b6001600160a01b0316846001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611785573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906117a991906142de565b6001600160a01b0316146117d0576040516303bc742960e01b815260040160405180910390fd5b896001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561180c573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061183091906142de565b6001600160a01b0316826001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611875573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061189991906142de565b6001600160a01b0316146118c057604051631129422760e31b815260040160405180910390fd5b8b6001600160a01b0316866001600160a01b031663681e65f06040518163ffffffff1660e01b8152600401602060405180830381865afa158015611906573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061192a91906142de565b6001600160a01b03161461195157604051630bbd547960e01b815260040160405180910390fd5b8b6001600160a01b0316846001600160a01b031663681e65f06040518163ffffffff1660e01b8152600401602060405180830381865afa158015611997573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906119bb91906142de565b6001600160a01b0316146119e257604051632b34b6d960e01b815260040160405180910390fd5b8b6001600160a01b0316886001600160a01b031663de7b5d146040518163ffffffff1660e01b8152600401602060405180830381865afa158015611a28573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611a4c91906142de565b6001600160a01b031614611a73576040516331783c7160e11b815260040160405180910390fd5b8a60055f6101000a8154816001600160a01b0302191690836001600160a01b031602179055508860065f6101000a8154816001600160a01b0302191690836001600160a01b031602179055508d60075f6101000a8154816001600160a01b0302191690836001600160a01b031602179055508660085f6101000a8154816001600160a01b0302191690836001600160a01b031602179055508460095f6101000a8154816001600160a01b0302191690836001600160a01b0316021790555082600a5f6101000a8154816001600160a01b0302191690836001600160a01b0316021790555080600b5f6101000a8154816001600160a01b0302191690836001600160a01b031602179055505f60075f9054906101000a90046001600160a01b031690505f60025f9054906101000a90046001600160a01b03166001600160a01b031663026bc43b83611bc2611f4a565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044015f604051808303815f875af1158015611c0b573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052611c329190810190614405565b9050805f01519e505050505050505050505050505050919050565b5f73__$1d92393fa9ccd763988368ce8a1cb90d26$__63645ceefe600a611c72611cd9565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865af4158015611cb5573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061060b9190614330565b5f611ce26123e6565b6001600160a01b03166376b707b76040518163ffffffff1660e01b8152600401602060405180830381865afa158015611d1d573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061060b91906144d5565b33611d4a6123e6565b6001600160a01b0316816001600160a01b031614611d855760405162d1953b60e31b81526001600160a01b0382166004820152602401610b56565b816001600160a01b03163b5f03611dba576040516361798f2f60e11b81526001600160a01b0383166004820152602401610b56565b611dc3826133a9565b5050565b611dd0336107cf565b611ddc336107e2611cd9565b5f611def6001546001600160a01b031690565b604051632f2a35f760e11b81523360048201526001600160a01b039190911690635e546bee90602401602060405180830381865afa158015611e33573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611e579190614269565b600354604051634bae314b60e01b81526001600160601b038084166004830152851660248201529192506001600160a01b031690634bae314b90604401610895565b611ea2336107cf565b611eae336107e2611cd9565b5f339050806001600160a01b031663311adb686040518163ffffffff1660e01b8152600401602060405180830381865afa158015611eee573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611f1291906142de565b604051638689231360e01b81526001600160a01b03858116600483015284151560248301529190911690638689231390604401610aed565b5f805f805160206147e583398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015611fb6573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611fda9190614356565b15612065576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa15801561203b573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061205f91906142de565b91505090565b54600160601b90046001600160a01b0316919050565b5f8051602061480583398151915280545f9190600160a01b900460ff166120a2575f61205f565b638fb3603760e01b91505090565b6120b9336107cf565b6120c5336107e2611cd9565b5f339050806001600160a01b031663311adb686040518163ffffffff1660e01b8152600401602060405180830381865afa158015612105573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061212991906142de565b6040516396cdfa3f60e01b815283151560048201526001600160a01b0391909116906396cdfa3f90602401610895565b612162336107cf565b61216e336107e2611cd9565b5f6121816001546001600160a01b031690565b604051632f2a35f760e11b81523360048201526001600160a01b039190911690635e546bee90602401602060405180830381865afa1580156121c5573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906121e99190614269565b600354604051636f61deef60e11b81526001600160601b0380841660048301526001600160a01b038781166024840152908616604483015292935091169063dec3bdde906064016020604051808303815f875af115801561224c573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906122709190614269565b50505050565b61227f336107cf565b61228b336107e2611cd9565b5f339050806001600160a01b031663311adb686040518163ffffffff1660e01b8152600401602060405180830381865afa1580156122cb573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906122ef91906142de565b604051630b428b0b60e41b81526001600160401b03851660048201526001600160a01b038481166024830152919091169063b428b0b090604401610aed565b612337336107cf565b612343336107e2611cd9565b5f339050806001600160a01b031663311adb686040518163ffffffff1660e01b8152600401602060405180830381865afa158015612383573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906123a791906142de565b604051635be958b160e11b81526001600160401b03851660048201526001600160a01b038481166024830152919091169063b7d2b16290604401610aed565b5f80516020614805833981519152546001600160a01b031690565b61240a336107cf565b612416336107e2611cd9565b600854339081905f90612431906001600160a01b0316613409565b604051636791f7ab60e01b81526001600160a01b03858116600483015291925090821690636791f7ab906024015f604051808303815f87803b158015612475575f80fd5b505af1158015612487573d5f803e3d5ffd5b5050604051633def10c760e21b81526001600160a01b0384811660048301528516925063f7bc431c9150602401610aed565b5f806124c4336107cf565b335f6124ce613478565b90506124db818387613591565b60025460405163026bc43b60e01b81526001600160a01b038084166004830152858116602483015292965091169063026bc43b906044015f604051808303815f875af115801561252d573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526125549190810190614405565b5f015192505f60065f9054906101000a90046001600160a01b03166001600160a01b0316638e5bc2936040518163ffffffff1660e01b8152600401602060405180830381865afa1580156125aa573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906125ce91906142de565b9050816001600160a01b03166304d670b96125f16001546001600160a01b031690565b836125fa611cd9565b6040516001600160e01b031960e086901b1681526001600160a01b039384166004820152918316602483015260ff16604482015290881660648201526084015f604051808303815f87803b158015612650575f80fd5b505af1158015612662573d5f803e3d5ffd5b505050506126786001546001600160a01b031690565b6001600160a01b0316856001600160a01b0316635ab1bd536040518163ffffffff1660e01b8152600401602060405180830381865afa1580156126bd573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906126e191906142de565b6001600160a01b0316146126f7576126f76144f0565b61276d856001600160a01b03166376b707b76040518163ffffffff1660e01b8152600401602060405180830381865afa158015612736573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061275a91906144d5565b612762611cd9565b60ff90811691161490565b612779576127796144f0565b60035f9054906101000a90046001600160a01b03166001600160a01b03166375cd31058573__$fb6c7635e3c1acf7e7d82c7d43e7a24671$__63c6edc3dd6040518163ffffffff1660e01b8152600401602060405180830381865af41580156127e4573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906128089190614504565b73__$fb6c7635e3c1acf7e7d82c7d43e7a24671$__63f87bf3736040518163ffffffff1660e01b8152600401602060405180830381865af415801561284f573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061287391906142de565b6040516001600160e01b031960e086901b1681526001600160601b03909316600484015264ffffffffff90911660248301526001600160a01b031660448201526064015f604051808303815f87803b1580156128cd575f80fd5b505af11580156128df573d5f803e3d5ffd5b505050507f5f38ba73d945d51535b3c678f341052a70a580bed77c5db38464d02366c29fa884866040516129149291906142bc565b60405180910390a1505050915091565b5f61292e336107cf565b61293a336107e2611cd9565b5f61294d6001546001600160a01b031690565b604051632f2a35f760e11b81523360048201526001600160a01b039190911690635e546bee90602401602060405180830381865afa158015612991573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906129b59190614269565b6003546040516321ece65760e01b81526001600160601b038084166004830152861660248201529192506001600160a01b0316906321ece657906044016020604051808303815f875af1158015612a0e573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612a329190614269565b9392505050565b612a42336107cf565b612a4e336107e2611cd9565b5f339050806001600160a01b031663311adb686040518163ffffffff1660e01b8152600401602060405180830381865afa158015612a8e573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612ab291906142de565b6001600160a01b031663f153f82484846040518363ffffffff1660e01b8152600401610aed929190614583565b612ae8336107cf565b612af4336107e2611cd9565b5f339050806001600160a01b031663311adb686040518163ffffffff1660e01b8152600401602060405180830381865afa158015612b34573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612b5891906142de565b6001600160a01b031663f4b4ee4d8585856040518463ffffffff1660e01b8152600401612b87939291906145a6565b5f604051808303815f87803b158015612b9e575f80fd5b505af1158015612bb0573d5f803e3d5ffd5b50505050505b505050565b5f805160206148058339815191525f80612bf3612bd66123e6565b8730612be560045f8a8c6145d8565b612bee916145ff565b6136be565b91509150816108be5763ffffffff811615612c8e57825460ff60a01b1916600160a01b178355612c216123e6565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b8152600401612c5093929190614637565b5f604051808303815f87803b158015612c67575f80fd5b505af1158015612c79573d5f803e3d5ffd5b5050845460ff60a01b19168555506108be9050565b60405162d1953b60e31b81526001600160a01b0387166004820152602401610b56565b5f612cc46001546001600160a01b031690565b604051632f2a35f760e11b81526001600160a01b0385811660048301529192505f91831690635e546bee90602401602060405180830381865afa158015612d0d573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612d319190614269565b604051630a4d29dd60e31b81526001600160601b038216600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906352694ee890602401602060405180830381865af4158015612d8a573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612dae9190614356565b15612dd7576040516308afbeb960e31b81526001600160a01b0385166004820152602401610b56565b6040516305247a1760e51b81526001600160601b03821660048201525f906001600160a01b0384169063a48f42e0906024015f60405180830381865afa158015612e23573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052612e4a9190810190614405565b60400151905060ff8116600a14612e8857604051632e87cd2360e11b81526001600160a01b038616600482015260ff82166024820152604401610b56565b60405163b2466acf60e01b815260ff8516600482015273__$b659da7d8a6d2d32aa6c1e17da23dc2174$__9063b2466acf90602401602060405180830381865af4158015612ed8573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612efc9190614356565b15612fa6575f856001600160a01b03166376b707b76040518163ffffffff1660e01b8152600401602060405180830381865afa158015612f3e573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612f6291906144d5565b905060ff808216908616146108be57604051632f251c8760e21b81526001600160601b038416600482015260ff808716602483015282166044820152606401610b56565b5050505050565b5f805f805160206147e583398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015613019573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061303d9190614356565b156130695780546040516301ab8b6760e21b81526001600160601b039091166004820152602401610b56565b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038581166004830152919091169063c3c5a54790602401602060405180830381865afa1580156130bb573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906130df9190614356565b6131075760405163b9304b0d60e01b81526001600160a01b0384166004820152602401610b56565b6001546001600160a01b0316604051632f2a35f760e11b81526001600160a01b0385811660048301529190911690635e546bee90602401602060405180830381865afa158015613159573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061317d9190614269565b81546bffffffffffffffffffffffff19166001600160601b039190911690811782557f88857b75cbef7f257c9d5a473e28aaf6a91cc28f717f60f2cda3bcf5623d7b54906131c9611f4a565b6040516131d79291906142bc565b60405180910390a1546001600160601b031692915050565b6131f76137c6565b60405163502ec37160e01b815260040160405180910390fd5b5f805160206148258339815191528054600160401b810460ff1615906001600160401b03165f811580156132415750825b90505f826001600160401b0316600114801561325c5750303b155b90508115801561326a575080155b156132885760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff1916600117855583156132b257845460ff60401b1916600160401b1785555b5f80878060200190518101906132c89190614676565b915091506132d782828b6137fe565b6132e1600261389b565b600280546001600160a01b0319166001600160a01b039290921691909117905561330b600361389b565b600380546001600160a01b0319166001600160a01b0392909216919091179055613335600b61389b565b600480546001600160a01b0319166001600160a01b03929092169190911790556133656308a20d4560e31b613932565b50508315610b1657845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d290602001610fa5565b5f8051602061480583398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b5f763d602d80600a3d3981f3363d3d373d3d3d363d730000008260601b60e81c175f526e5af43d82803e903d91602b57fd5bf38260781b17602052603760095ff090506001600160a01b038116613473576040516330be1a3d60e21b815260040160405180910390fd5b919050565b5f806134f660065f9054906101000a90046001600160a01b03166001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156134cd573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906134f191906142de565b613409565b60065490915061350e906001600160a01b0316613409565b604080516379ccf11760e11b81526001600160a01b0384811660048301526024820192909252600d60448201526c24b739ba30b731b2a0b236b4b760991b606482015291935083169063f399e22e906084015f604051808303815f87803b158015613577575f80fd5b505af1158015613589573d5f803e3d5ffd5b505050505090565b6007545f9081906135aa906001600160a01b0316613409565b600b549091506001600160a01b038083169163d6d0a65b9188916135ce9116613409565b6009546135e3906001600160a01b0316613409565b600a546135f8906001600160a01b0316613409565b60085461360d906001600160a01b0316613409565b6001546001600160a01b0316613621611cd9565b6040516001600160e01b031960e08a901b1681526001600160a01b03978816600482015295871660248701529386166044860152918516606485015284166084840152831660a483015260ff1660c482015290871660e4820152851515610104820152610124015f604051808303815f87803b15801561369f575f80fd5b505af11580156136b1573d5f803e3d5ffd5b5092979650505050505050565b6040516001600160a01b03848116602483015283811660448301526001600160e01b0319831660648301525f9182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b1790525161372c91906146a3565b5f60405180830381855afa9150503d805f8114613764576040519150601f19603f3d011682016040523d82523d5f602084013e613769565b606091505b509150915081156137bb57604081511061379b578080602001905181019061379191906146b9565b90945092506137bb565b60208151106137bb57808060200190518101906137b89190614356565b93505b505094509492505050565b5f8051602061482583398151915254600160401b900460ff166137fc57604051631afcd79f60e31b815260040160405180910390fd5b565b6138066137c6565b61380e613965565b61388b8383846001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa15801561384f573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906138739190614269565b60085f8660405180602001604052805f815250613975565b612bb663daf9067160e01b613932565b5f6138ae6001546001600160a01b031690565b6001600160a01b031663d39e6043836138c5611cd9565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa158015613908573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061392c91906142de565b92915050565b61393a6137c6565b613962816001600160e01b0319165f908152602081905260409020805460ff19166001179055565b50565b61396d6137c6565b6137fc613ab2565b61397d6137c6565b604051632330f24760e01b81526001600160a01b038816600482015273__$fb599632d08395912d9d70eb2f0f93b5e2$__90632330f24790602401602060405180830381865af41580156139d3573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906139f79190614356565b613a1f5760405163cf6935e560e01b81526001600160a01b0388166004820152602401610b56565b613a2887613ae0565b613a328683613af1565b5f7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166cffffffffffffffffffffffffff1990911617600160601b60ff8816021760ff60681b1916600160681b86151502178155905060018101613aa1838261472a565b50612bb0634a531f3360e01b613932565b613aba6137c6565b60017f9b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f0055565b613ae86137c6565b61396281613b67565b613af96137c6565b613b01613b78565b613b0a82613bc0565b6001600160a01b038116613b315760405163f17ef42d60e01b815260040160405180910390fd5b5f805160206147e583398151915280546001600160601b0316600160601b6001600160a01b039093169290920291909117905550565b613b6f6137c6565b613962816133a9565b613b806137c6565b6137fc6301ffc9a760e01b5f9081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b613bc86137c6565b604051633334d16b60e01b81526001600160a01b038216600482015273__$fb599632d08395912d9d70eb2f0f93b5e2$__90633334d16b90602401602060405180830381865af4158015613c1e573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190613c429190614356565b613c6a5760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610b56565b600180546001600160a01b0319166001600160a01b0392909216919091179055565b6001600160e01b031981168114613962575f80fd5b5f60208284031215613cb1575f80fd5b8135612a3281613c8c565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081526001600160601b0382511660208201526001600160601b03602083015116604082015260ff60408301511660608201525f6060830151613d32608084018215159052565b5060808301516001600160a01b03811660a08401525060a08301516001600160a01b03811660c08401525060c083015160e08084015261109d610100840182613cbc565b6001600160a01b0381168114613962575f80fd5b5f60208284031215613d9a575f80fd5b8135612a3281613d76565b634e487b7160e01b5f52604160045260245ffd5b604051606081016001600160401b0381118282101715613ddb57613ddb613da5565b60405290565b60405160e081016001600160401b0381118282101715613ddb57613ddb613da5565b604051601f8201601f191681016001600160401b0381118282101715613e2b57613e2b613da5565b604052919050565b5f6001600160401b03821115613e4b57613e4b613da5565b50601f01601f191660200190565b5f82601f830112613e68575f80fd5b8135602083015f613e80613e7b84613e33565b613e03565b9050828152858383011115613e93575f80fd5b828260208301375f92810160200192909252509392505050565b6001600160401b0381168114613962575f80fd5b63ffffffff81168114613962575f80fd5b5f805f60608486031215613ee4575f80fd5b83356001600160401b03811115613ef9575f80fd5b613f0586828701613e59565b9350506020840135613f1681613ead565b91506040840135613f2681613ec1565b809150509250925092565b8015158114613962575f80fd5b5f8060408385031215613f4f575f80fd5b8235613f5a81613ead565b91506020830135613f6a81613f31565b809150509250929050565b64ffffffffff81168114613962575f80fd5b5f60208284031215613f97575f80fd5b8135612a3281613f75565b5f60208284031215613fb2575f80fd5b81356001600160401b03811115613fc7575f80fd5b61109d84828501613e59565b5f8060408385031215613fe4575f80fd5b8235613fef81613d76565b915060208301356001600160401b03811115614009575f80fd5b61401585828601613e59565b9150509250929050565b6001600160601b0381168114613962575f80fd5b5f60208284031215614043575f80fd5b8135612a328161401f565b5f806040838503121561405f575f80fd5b8235613f5a81613d76565b5f6020828403121561407a575f80fd5b8135612a3281613f31565b5f8060408385031215614096575f80fd5b82356140a181613d76565b91506020830135613f6a8161401f565b5f80604083850312156140c2575f80fd5b82356140cd81613ead565b91506020830135613f6a81613d76565b5f82601f8301126140ec575f80fd5b81356001600160401b0381111561410557614105613da5565b61411460208260051b01613e03565b80828252602082019150602060608402860101925085831115614135575f80fd5b602085015b838110156141935760608188031215614151575f80fd5b614159613db9565b81358152602082013561416b81613c8c565b6020820152604082013561417e81613f75565b6040820152835260209092019160600161413a565b5095945050505050565b5f80604083850312156141ae575f80fd5b82356141b981613d76565b915060208301356001600160401b038111156141d3575f80fd5b614015858286016140dd565b5f805f606084860312156141f1575f80fd5b83356141fc81613d76565b9250602084013561420c81613ead565b915060408401356001600160401b03811115614226575f80fd5b614232868287016140dd565b9150509250925092565b5f6020828403121561424c575f80fd5b815162ffffff81168114612a32575f80fd5b80516134738161401f565b5f60208284031215614279575f80fd5b8151612a328161401f565b600181811c9082168061429857607f821691505b6020821081036142b657634e487b7160e01b5f52602260045260245ffd5b50919050565b6001600160601b039290921682526001600160a01b0316602082015260400190565b5f602082840312156142ee575f80fd5b8151612a3281613d76565b606081525f61430b6060830186613cbc565b90506001600160401b038416602083015263ffffffff83166040830152949350505050565b5f60208284031215614340575f80fd5b8151612a3281613ead565b805161347381613f31565b5f60208284031215614366575f80fd5b8151612a3281613f31565b6001600160a01b03831681526040602082018190525f9061109d90830184613cbc565b805161347381613d76565b60ff81168114613962575f80fd5b80516134738161439f565b5f82601f8301126143c7575f80fd5b81516143d5613e7b82613e33565b8181528460208386010111156143e9575f80fd5b8160208501602083015e5f918101602001919091529392505050565b5f60208284031215614415575f80fd5b81516001600160401b0381111561442a575f80fd5b820160e0818503121561443b575f80fd5b614443613de1565b61444c8261425e565b815261445a6020830161425e565b602082015261446b604083016143ad565b604082015261447c6060830161434b565b606082015261448d60808301614394565b608082015261449e60a08301614394565b60a082015260c08201516001600160401b038111156144bb575f80fd5b6144c7868285016143b8565b60c083015250949350505050565b5f602082840312156144e5575f80fd5b8151612a328161439f565b634e487b7160e01b5f52600160045260245ffd5b5f60208284031215614514575f80fd5b8151612a3281613f75565b5f8151808452602084019350602083015f5b82811015614579578151805187526020808201516001600160e01b0319168189015260409182015164ffffffffff169188019190915260609096019590910190600101614531565b5093949350505050565b6001600160a01b03831681526040602082018190525f9061109d9083018461451f565b6001600160a01b03841681526001600160401b03831660208201526060604082018190525f906109b99083018461451f565b5f80858511156145e6575f80fd5b838611156145f2575f80fd5b5050820193919092039150565b80356001600160e01b03198116906004841015614630576001600160e01b0319600485900360031b81901b82161691505b5092915050565b6001600160a01b03841681526040602082018190528101829052818360608301375f818301606090810191909152601f909201601f1916010192915050565b5f8060408385031215614687575f80fd5b825161469281613d76565b6020840151909250613f6a81613d76565b5f82518060208501845e5f920191825250919050565b5f80604083850312156146ca575f80fd5b82516146d581613f31565b6020840151909250613f6a81613ec1565b601f821115612bb657805f5260205f20601f840160051c8101602085101561470b5750805b601f840160051c820191505b81811015612fa6575f8155600101614717565b81516001600160401b0381111561474357614743613da5565b614757816147518454614284565b846146e6565b6020601f821160018114614789575f83156147725750848201515b5f19600385901b1c1916600184901b178455612fa6565b5f84815260208120601f198516915b828110156147b85787850151825560209485019460019092019101614798565b50848210156147d557868401515f19600387901b60f8161c191681555b50505050600190811b0190555056fe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00f0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00a26469706673582212204050220f0e0a99385476413c4f5e971a1cfa7788489dadfe8297a4535f08304f64736f6c634300081a0033",
1120
+ "deployedBytecode": "0x608060405234801561000f575f80fd5b5060043610610229575f3560e01c80637a9e5e4b1161012a578063b428b0b0116100b4578063d127388711610079578063d127388714610505578063e52ba1cb1461053f578063edabac0314610552578063f153f82414610563578063f4b4ee4d14610576575f80fd5b8063b428b0b0146104c8578063b68d1809146104db578063b7d2b162146104e2578063bf7e214f146104f5578063c2651725146104fd575f80fd5b8063893d20e8116100fa578063893d20e8146104655780638fb360371461046d57806396cdfa3f1461048e578063a2356b3a146104a1578063ada9652e146104b4575f80fd5b80637a9e5e4b146104255780637de45f1314610438578063868923131461044b578063872309c71461045e575f80fd5b8063254f6866116101b65780635fa8aad41161017b5780635fa8aad4146103c0578063644c45e0146103d35780636a778e73146103f05780636c741e781461040357806376b707b71461040b575f80fd5b8063254f68661461034f5780632d764ef814610362578063329d6e741461037557806349bb9e4b146103885780635ab1bd531461039b575f80fd5b8063138461e0116101fc578063138461e0146102b45780631eff4b22146102d45780631f481d641461030957806322f3e2d41461033457806323dff7921461033c575f80fd5b806301ffc9a71461022d5780630d8e6e2c1461026e5780630fec111c1461028a57806311f778431461029f575b5f80fd5b61025961023b366004613ca1565b6001600160e01b0319165f9081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b610276610589565b60405162ffffff9091168152602001610265565b610292610610565b6040516102659190613cea565b6102b26102ad366004613d8a565b6107ca565b005b6102bc6108c6565b6040516001600160601b039091168152602001610265565b6102fb7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b604051908152602001610265565b61031c610317366004613ed2565b6108d0565b6040516001600160401b039091168152602001610265565b6102596109c2565b6102b261034a366004613f3e565b610a39565b6102b261035d366004613d8a565b610b1f565b6102b2610370366004613f87565b610c9a565b6102b2610383366004613fa2565b610d71565b6102b2610396366004613fd3565b610ebb565b6001546001600160a01b03165b6040516001600160a01b039091168152602001610265565b61031c6103ce366004613fd3565b610fb6565b5f805160206147e5833981519152546001600160601b03166102bc565b6102bc6103fe366004613d8a565b6110a5565b61031c611c4d565b610413611cd9565b60405160ff9091168152602001610265565b6102b2610433366004613d8a565b611d41565b6102b2610446366004614033565b611dc7565b6102b261045936600461404e565b611e99565b6102fb5f81565b6103a8611f4a565b61047561207b565b6040516001600160e01b03199091168152602001610265565b6102b261049c36600461406a565b6120b0565b6102b26104af366004614085565b612159565b6102fb5f805160206147e583398151915281565b6102b26104d63660046140b1565b612276565b600a610413565b6102b26104f03660046140b1565b61232e565b6103a86123e6565b6102b2612401565b61051861051336600461406a565b6124b9565b604080516001600160a01b0390931683526001600160601b03909116602083015201610265565b6102bc61054d366004614033565b612924565b6008546001600160a01b03166103a8565b6102b261057136600461419d565b612a39565b6102b26105843660046141df565b612adf565b604051632efe011360e01b8152600360048201525f60248201819052604482018190529073__$8eede297b65ed5a56eb3f84d8232ae93f5$__90632efe011390606401602060405180830381865af41580156105e7573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061060b919061423c565b905090565b6040805160e0810182525f8082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820152907f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e0016040528073__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af41580156106bc573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906106e09190614269565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a001610728611f4a565b6001600160a01b0316815260200182600101805461074590614284565b80601f016020809104026020016040519081016040528092919081815260200182805461077190614284565b80156107bc5780601f10610793576101008083540402835291602001916107bc565b820191905f5260205f20905b81548152906001019060200180831161079f57829003601f168201915b505050505081525091505090565b6107d6335b5f36612bbb565b6107e7336107e2611cd9565b612cb1565b5f6107fa6001546001600160a01b031690565b604051632f2a35f760e11b81523360048201526001600160a01b039190911690635e546bee90602401602060405180830381865afa15801561083e573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906108629190614269565b60035460405163c26efb0560e01b81529192506001600160a01b03169063c26efb059061089590849086906004016142bc565b5f604051808303815f87803b1580156108ac575f80fd5b505af11580156108be573d5f803e3d5ffd5b505050505050565b5f61060b30612fad565b5f6108da336107cf565b6108e6336107e2611cd9565b5f339050806001600160a01b031663311adb686040518163ffffffff1660e01b8152600401602060405180830381865afa158015610926573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061094a91906142de565b6001600160a01b0316631f481d648686866040518463ffffffff1660e01b8152600401610979939291906142f9565b6020604051808303815f875af1158015610995573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906109b99190614330565b95945050505050565b5f6109cb6123e6565b60405163a166aa8960e01b81523060048201526001600160a01b03919091169063a166aa8990602401602060405180830381865afa158015610a0f573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610a339190614356565b15905090565b610a42336107cf565b610a4e336107e2611cd9565b5f339050806001600160a01b031663311adb686040518163ffffffff1660e01b8152600401602060405180830381865afa158015610a8e573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610ab291906142de565b6040516311effbc960e11b81526001600160401b038516600482015283151560248201526001600160a01b0391909116906323dff792906044015b5f604051808303815f87803b158015610b04575f80fd5b505af1158015610b16573d5f803e3d5ffd5b50505050505050565b610b27611f4a565b6001600160a01b0316336001600160a01b031614610b5f5760405163086391f760e31b81523360048201526024015b60405180910390fd5b6008546001600160a01b0316610b88576040516358e5a4af60e01b815260040160405180910390fd5b6001600160a01b038116610baf57604051631aa1808560e31b815260040160405180910390fd5b6008546001600160a01b0390811690821603610bde57604051630666e2a560e01b815260040160405180910390fd5b6007546040805163379ed74560e21b8152905183926001600160a01b03908116929084169163de7b5d14916004808201926020929091908290030181865afa158015610c2c573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610c5091906142de565b6001600160a01b031614610c775760405163f026367160e01b815260040160405180910390fd5b50600880546001600160a01b0319166001600160a01b0392909216919091179055565b610ca3336107cf565b610caf336107e2611cd9565b5f610cc26001546001600160a01b031690565b604051632f2a35f760e11b81523360048201526001600160a01b039190911690635e546bee90602401602060405180830381865afa158015610d06573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610d2a9190614269565b60035460405163db1e36e760e01b81526001600160601b038316600482015264ffffffffff851660248201529192506001600160a01b03169063db1e36e790604401610895565b73__$8eede297b65ed5a56eb3f84d8232ae93f5$__63a123b37c610d93610589565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af4158015610dd1573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610df59190614330565b5f805160206148258339815191528054600160401b900460ff1680610e27575080546001600160401b03808416911610155b15610e455760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b178155610e6f836131ef565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a1505050565b5f805160206148258339815191528054600160401b810460ff1615906001600160401b03165f81158015610eec5750825b90505f826001600160401b03166001148015610f075750303b155b905081158015610f15575080155b15610f335760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315610f5d57845460ff60401b1916600160401b1785555b610f678787613210565b8315610b1657845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a150505050505050565b5f610fc0336107cf565b610fcc336107e2611cd9565b5f339050806001600160a01b031663311adb686040518163ffffffff1660e01b8152600401602060405180830381865afa15801561100c573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061103091906142de565b6001600160a01b0316635fa8aad485856040518363ffffffff1660e01b815260040161105d929190614371565b6020604051808303815f875af1158015611079573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061109d9190614330565b949350505050565b5f6110ae611f4a565b6001600160a01b0316336001600160a01b0316146110e15760405163086391f760e31b8152336004820152602401610b56565b6007546001600160a01b03161561110b57604051632c237de760e11b815260040160405180910390fd5b6006546001600160a01b0316156111355760405163ab0cc43960e01b815260040160405180910390fd5b6009546001600160a01b03161561115f5760405163558f4f7b60e11b815260040160405180910390fd5b600a546001600160a01b0316156111895760405163d518f81b60e01b815260040160405180910390fd5b6001600160a01b0382166111b0576040516309353e4560e11b815260040160405180910390fd5b5f8290505f816001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156111f1573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061121591906142de565b90505f826001600160a01b031663311adb686040518163ffffffff1660e01b8152600401602060405180830381865afa158015611254573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061127891906142de565b90505f8190505f846001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa1580156112bb573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906112df91906142de565b90505f8190505f866001600160a01b0316636dddada46040518163ffffffff1660e01b8152600401602060405180830381865afa158015611322573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061134691906142de565b90505f8190505f886001600160a01b0316630e0c586d6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611389573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906113ad91906142de565b90505f8190505f8a6001600160a01b031663d4cda0d86040518163ffffffff1660e01b8152600401602060405180830381865afa1580156113f0573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061141491906142de565b9050806001600160a01b038b1661143e576040516327ccc33d60e11b815260040160405180910390fd5b6001600160a01b038916611464576040516295661560e31b815260040160405180910390fd5b6001600160a01b03871661148b5760405163e267254160e01b815260040160405180910390fd5b6001600160a01b0385166114b25760405163bfebabd760e01b815260040160405180910390fd5b6001600160a01b0383166114d957604051634e336b1d60e11b815260040160405180910390fd5b6001600160a01b038116611500576040516301fa2a2b60e01b815260040160405180910390fd5b896001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561153c573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061156091906142de565b6001600160a01b03168c6001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156115a5573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906115c991906142de565b6001600160a01b0316146115f0576040516334ddf1a760e21b815260040160405180910390fd5b896001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561162c573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061165091906142de565b6001600160a01b0316866001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611695573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906116b991906142de565b6001600160a01b0316146116e05760405163e168da3760e01b815260040160405180910390fd5b896001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561171c573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061174091906142de565b6001600160a01b0316846001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611785573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906117a991906142de565b6001600160a01b0316146117d0576040516303bc742960e01b815260040160405180910390fd5b896001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561180c573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061183091906142de565b6001600160a01b0316826001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611875573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061189991906142de565b6001600160a01b0316146118c057604051631129422760e31b815260040160405180910390fd5b8b6001600160a01b0316866001600160a01b031663681e65f06040518163ffffffff1660e01b8152600401602060405180830381865afa158015611906573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061192a91906142de565b6001600160a01b03161461195157604051630bbd547960e01b815260040160405180910390fd5b8b6001600160a01b0316846001600160a01b031663681e65f06040518163ffffffff1660e01b8152600401602060405180830381865afa158015611997573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906119bb91906142de565b6001600160a01b0316146119e257604051632b34b6d960e01b815260040160405180910390fd5b8b6001600160a01b0316886001600160a01b031663de7b5d146040518163ffffffff1660e01b8152600401602060405180830381865afa158015611a28573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611a4c91906142de565b6001600160a01b031614611a73576040516331783c7160e11b815260040160405180910390fd5b8a60055f6101000a8154816001600160a01b0302191690836001600160a01b031602179055508860065f6101000a8154816001600160a01b0302191690836001600160a01b031602179055508d60075f6101000a8154816001600160a01b0302191690836001600160a01b031602179055508660085f6101000a8154816001600160a01b0302191690836001600160a01b031602179055508460095f6101000a8154816001600160a01b0302191690836001600160a01b0316021790555082600a5f6101000a8154816001600160a01b0302191690836001600160a01b0316021790555080600b5f6101000a8154816001600160a01b0302191690836001600160a01b031602179055505f60075f9054906101000a90046001600160a01b031690505f60025f9054906101000a90046001600160a01b03166001600160a01b031663026bc43b83611bc2611f4a565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044015f604051808303815f875af1158015611c0b573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052611c329190810190614405565b9050805f01519e505050505050505050505050505050919050565b5f73__$1d92393fa9ccd763988368ce8a1cb90d26$__63645ceefe600a611c72611cd9565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865af4158015611cb5573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061060b9190614330565b5f611ce26123e6565b6001600160a01b03166376b707b76040518163ffffffff1660e01b8152600401602060405180830381865afa158015611d1d573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061060b91906144d5565b33611d4a6123e6565b6001600160a01b0316816001600160a01b031614611d855760405162d1953b60e31b81526001600160a01b0382166004820152602401610b56565b816001600160a01b03163b5f03611dba576040516361798f2f60e11b81526001600160a01b0383166004820152602401610b56565b611dc3826133a9565b5050565b611dd0336107cf565b611ddc336107e2611cd9565b5f611def6001546001600160a01b031690565b604051632f2a35f760e11b81523360048201526001600160a01b039190911690635e546bee90602401602060405180830381865afa158015611e33573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611e579190614269565b600354604051634bae314b60e01b81526001600160601b038084166004830152851660248201529192506001600160a01b031690634bae314b90604401610895565b611ea2336107cf565b611eae336107e2611cd9565b5f339050806001600160a01b031663311adb686040518163ffffffff1660e01b8152600401602060405180830381865afa158015611eee573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611f1291906142de565b604051638689231360e01b81526001600160a01b03858116600483015284151560248301529190911690638689231390604401610aed565b5f805f805160206147e583398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015611fb6573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611fda9190614356565b15612065576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa15801561203b573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061205f91906142de565b91505090565b54600160601b90046001600160a01b0316919050565b5f8051602061480583398151915280545f9190600160a01b900460ff166120a2575f61205f565b638fb3603760e01b91505090565b6120b9336107cf565b6120c5336107e2611cd9565b5f339050806001600160a01b031663311adb686040518163ffffffff1660e01b8152600401602060405180830381865afa158015612105573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061212991906142de565b6040516396cdfa3f60e01b815283151560048201526001600160a01b0391909116906396cdfa3f90602401610895565b612162336107cf565b61216e336107e2611cd9565b5f6121816001546001600160a01b031690565b604051632f2a35f760e11b81523360048201526001600160a01b039190911690635e546bee90602401602060405180830381865afa1580156121c5573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906121e99190614269565b600354604051636f61deef60e11b81526001600160601b0380841660048301526001600160a01b038781166024840152908616604483015292935091169063dec3bdde906064016020604051808303815f875af115801561224c573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906122709190614269565b50505050565b61227f336107cf565b61228b336107e2611cd9565b5f339050806001600160a01b031663311adb686040518163ffffffff1660e01b8152600401602060405180830381865afa1580156122cb573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906122ef91906142de565b604051630b428b0b60e41b81526001600160401b03851660048201526001600160a01b038481166024830152919091169063b428b0b090604401610aed565b612337336107cf565b612343336107e2611cd9565b5f339050806001600160a01b031663311adb686040518163ffffffff1660e01b8152600401602060405180830381865afa158015612383573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906123a791906142de565b604051635be958b160e11b81526001600160401b03851660048201526001600160a01b038481166024830152919091169063b7d2b16290604401610aed565b5f80516020614805833981519152546001600160a01b031690565b61240a336107cf565b612416336107e2611cd9565b600854339081905f90612431906001600160a01b0316613409565b604051636791f7ab60e01b81526001600160a01b03858116600483015291925090821690636791f7ab906024015f604051808303815f87803b158015612475575f80fd5b505af1158015612487573d5f803e3d5ffd5b5050604051633def10c760e21b81526001600160a01b0384811660048301528516925063f7bc431c9150602401610aed565b5f806124c4336107cf565b335f6124ce613478565b90506124db818387613591565b60025460405163026bc43b60e01b81526001600160a01b038084166004830152858116602483015292965091169063026bc43b906044015f604051808303815f875af115801561252d573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526125549190810190614405565b5f015192505f60065f9054906101000a90046001600160a01b03166001600160a01b0316638e5bc2936040518163ffffffff1660e01b8152600401602060405180830381865afa1580156125aa573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906125ce91906142de565b9050816001600160a01b03166304d670b96125f16001546001600160a01b031690565b836125fa611cd9565b6040516001600160e01b031960e086901b1681526001600160a01b039384166004820152918316602483015260ff16604482015290881660648201526084015f604051808303815f87803b158015612650575f80fd5b505af1158015612662573d5f803e3d5ffd5b505050506126786001546001600160a01b031690565b6001600160a01b0316856001600160a01b0316635ab1bd536040518163ffffffff1660e01b8152600401602060405180830381865afa1580156126bd573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906126e191906142de565b6001600160a01b0316146126f7576126f76144f0565b61276d856001600160a01b03166376b707b76040518163ffffffff1660e01b8152600401602060405180830381865afa158015612736573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061275a91906144d5565b612762611cd9565b60ff90811691161490565b612779576127796144f0565b60035f9054906101000a90046001600160a01b03166001600160a01b03166375cd31058573__$fb6c7635e3c1acf7e7d82c7d43e7a24671$__63c6edc3dd6040518163ffffffff1660e01b8152600401602060405180830381865af41580156127e4573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906128089190614504565b73__$fb6c7635e3c1acf7e7d82c7d43e7a24671$__63f87bf3736040518163ffffffff1660e01b8152600401602060405180830381865af415801561284f573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061287391906142de565b6040516001600160e01b031960e086901b1681526001600160601b03909316600484015264ffffffffff90911660248301526001600160a01b031660448201526064015f604051808303815f87803b1580156128cd575f80fd5b505af11580156128df573d5f803e3d5ffd5b505050507f5f38ba73d945d51535b3c678f341052a70a580bed77c5db38464d02366c29fa884866040516129149291906142bc565b60405180910390a1505050915091565b5f61292e336107cf565b61293a336107e2611cd9565b5f61294d6001546001600160a01b031690565b604051632f2a35f760e11b81523360048201526001600160a01b039190911690635e546bee90602401602060405180830381865afa158015612991573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906129b59190614269565b6003546040516321ece65760e01b81526001600160601b038084166004830152861660248201529192506001600160a01b0316906321ece657906044016020604051808303815f875af1158015612a0e573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612a329190614269565b9392505050565b612a42336107cf565b612a4e336107e2611cd9565b5f339050806001600160a01b031663311adb686040518163ffffffff1660e01b8152600401602060405180830381865afa158015612a8e573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612ab291906142de565b6001600160a01b031663f153f82484846040518363ffffffff1660e01b8152600401610aed929190614583565b612ae8336107cf565b612af4336107e2611cd9565b5f339050806001600160a01b031663311adb686040518163ffffffff1660e01b8152600401602060405180830381865afa158015612b34573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612b5891906142de565b6001600160a01b031663f4b4ee4d8585856040518463ffffffff1660e01b8152600401612b87939291906145a6565b5f604051808303815f87803b158015612b9e575f80fd5b505af1158015612bb0573d5f803e3d5ffd5b50505050505b505050565b5f805160206148058339815191525f80612bf3612bd66123e6565b8730612be560045f8a8c6145d8565b612bee916145ff565b6136be565b91509150816108be5763ffffffff811615612c8e57825460ff60a01b1916600160a01b178355612c216123e6565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b8152600401612c5093929190614637565b5f604051808303815f87803b158015612c67575f80fd5b505af1158015612c79573d5f803e3d5ffd5b5050845460ff60a01b19168555506108be9050565b60405162d1953b60e31b81526001600160a01b0387166004820152602401610b56565b5f612cc46001546001600160a01b031690565b604051632f2a35f760e11b81526001600160a01b0385811660048301529192505f91831690635e546bee90602401602060405180830381865afa158015612d0d573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612d319190614269565b604051630a4d29dd60e31b81526001600160601b038216600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906352694ee890602401602060405180830381865af4158015612d8a573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612dae9190614356565b15612dd7576040516308afbeb960e31b81526001600160a01b0385166004820152602401610b56565b6040516305247a1760e51b81526001600160601b03821660048201525f906001600160a01b0384169063a48f42e0906024015f60405180830381865afa158015612e23573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052612e4a9190810190614405565b60400151905060ff8116600a14612e8857604051632e87cd2360e11b81526001600160a01b038616600482015260ff82166024820152604401610b56565b60405163b2466acf60e01b815260ff8516600482015273__$b659da7d8a6d2d32aa6c1e17da23dc2174$__9063b2466acf90602401602060405180830381865af4158015612ed8573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612efc9190614356565b15612fa6575f856001600160a01b03166376b707b76040518163ffffffff1660e01b8152600401602060405180830381865afa158015612f3e573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612f6291906144d5565b905060ff808216908616146108be57604051632f251c8760e21b81526001600160601b038416600482015260ff808716602483015282166044820152606401610b56565b5050505050565b5f805f805160206147e583398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015613019573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061303d9190614356565b156130695780546040516301ab8b6760e21b81526001600160601b039091166004820152602401610b56565b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038581166004830152919091169063c3c5a54790602401602060405180830381865afa1580156130bb573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906130df9190614356565b6131075760405163b9304b0d60e01b81526001600160a01b0384166004820152602401610b56565b6001546001600160a01b0316604051632f2a35f760e11b81526001600160a01b0385811660048301529190911690635e546bee90602401602060405180830381865afa158015613159573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061317d9190614269565b81546bffffffffffffffffffffffff19166001600160601b039190911690811782557f88857b75cbef7f257c9d5a473e28aaf6a91cc28f717f60f2cda3bcf5623d7b54906131c9611f4a565b6040516131d79291906142bc565b60405180910390a1546001600160601b031692915050565b6131f76137c6565b60405163502ec37160e01b815260040160405180910390fd5b5f805160206148258339815191528054600160401b810460ff1615906001600160401b03165f811580156132415750825b90505f826001600160401b0316600114801561325c5750303b155b90508115801561326a575080155b156132885760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff1916600117855583156132b257845460ff60401b1916600160401b1785555b5f80878060200190518101906132c89190614676565b915091506132d782828b6137fe565b6132e1600261389b565b600280546001600160a01b0319166001600160a01b039290921691909117905561330b600361389b565b600380546001600160a01b0319166001600160a01b0392909216919091179055613335600b61389b565b600480546001600160a01b0319166001600160a01b03929092169190911790556133656308a20d4560e31b613932565b50508315610b1657845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d290602001610fa5565b5f8051602061480583398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b5f763d602d80600a3d3981f3363d3d373d3d3d363d730000008260601b60e81c175f526e5af43d82803e903d91602b57fd5bf38260781b17602052603760095ff090506001600160a01b038116613473576040516330be1a3d60e21b815260040160405180910390fd5b919050565b5f806134f660065f9054906101000a90046001600160a01b03166001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156134cd573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906134f191906142de565b613409565b60065490915061350e906001600160a01b0316613409565b604080516379ccf11760e11b81526001600160a01b0384811660048301526024820192909252600d60448201526c24b739ba30b731b2a0b236b4b760991b606482015291935083169063f399e22e906084015f604051808303815f87803b158015613577575f80fd5b505af1158015613589573d5f803e3d5ffd5b505050505090565b6007545f9081906135aa906001600160a01b0316613409565b600b549091506001600160a01b038083169163d6d0a65b9188916135ce9116613409565b6009546135e3906001600160a01b0316613409565b600a546135f8906001600160a01b0316613409565b60085461360d906001600160a01b0316613409565b6001546001600160a01b0316613621611cd9565b6040516001600160e01b031960e08a901b1681526001600160a01b03978816600482015295871660248701529386166044860152918516606485015284166084840152831660a483015260ff1660c482015290871660e4820152851515610104820152610124015f604051808303815f87803b15801561369f575f80fd5b505af11580156136b1573d5f803e3d5ffd5b5092979650505050505050565b6040516001600160a01b03848116602483015283811660448301526001600160e01b0319831660648301525f9182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b1790525161372c91906146a3565b5f60405180830381855afa9150503d805f8114613764576040519150601f19603f3d011682016040523d82523d5f602084013e613769565b606091505b509150915081156137bb57604081511061379b578080602001905181019061379191906146b9565b90945092506137bb565b60208151106137bb57808060200190518101906137b89190614356565b93505b505094509492505050565b5f8051602061482583398151915254600160401b900460ff166137fc57604051631afcd79f60e31b815260040160405180910390fd5b565b6138066137c6565b61380e613965565b61388b8383846001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa15801561384f573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906138739190614269565b60085f8660405180602001604052805f815250613975565b612bb663daf9067160e01b613932565b5f6138ae6001546001600160a01b031690565b6001600160a01b031663d39e6043836138c5611cd9565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa158015613908573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061392c91906142de565b92915050565b61393a6137c6565b613962816001600160e01b0319165f908152602081905260409020805460ff19166001179055565b50565b61396d6137c6565b6137fc613ab2565b61397d6137c6565b604051632330f24760e01b81526001600160a01b038816600482015273__$fb599632d08395912d9d70eb2f0f93b5e2$__90632330f24790602401602060405180830381865af41580156139d3573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906139f79190614356565b613a1f5760405163cf6935e560e01b81526001600160a01b0388166004820152602401610b56565b613a2887613ae0565b613a328683613af1565b5f7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166cffffffffffffffffffffffffff1990911617600160601b60ff8816021760ff60681b1916600160681b86151502178155905060018101613aa1838261472a565b50612bb0634a531f3360e01b613932565b613aba6137c6565b60017f9b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f0055565b613ae86137c6565b61396281613b67565b613af96137c6565b613b01613b78565b613b0a82613bc0565b6001600160a01b038116613b315760405163f17ef42d60e01b815260040160405180910390fd5b5f805160206147e583398151915280546001600160601b0316600160601b6001600160a01b039093169290920291909117905550565b613b6f6137c6565b613962816133a9565b613b806137c6565b6137fc6301ffc9a760e01b5f9081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b613bc86137c6565b604051633334d16b60e01b81526001600160a01b038216600482015273__$fb599632d08395912d9d70eb2f0f93b5e2$__90633334d16b90602401602060405180830381865af4158015613c1e573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190613c429190614356565b613c6a5760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610b56565b600180546001600160a01b0319166001600160a01b0392909216919091179055565b6001600160e01b031981168114613962575f80fd5b5f60208284031215613cb1575f80fd5b8135612a3281613c8c565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081526001600160601b0382511660208201526001600160601b03602083015116604082015260ff60408301511660608201525f6060830151613d32608084018215159052565b5060808301516001600160a01b03811660a08401525060a08301516001600160a01b03811660c08401525060c083015160e08084015261109d610100840182613cbc565b6001600160a01b0381168114613962575f80fd5b5f60208284031215613d9a575f80fd5b8135612a3281613d76565b634e487b7160e01b5f52604160045260245ffd5b604051606081016001600160401b0381118282101715613ddb57613ddb613da5565b60405290565b60405160e081016001600160401b0381118282101715613ddb57613ddb613da5565b604051601f8201601f191681016001600160401b0381118282101715613e2b57613e2b613da5565b604052919050565b5f6001600160401b03821115613e4b57613e4b613da5565b50601f01601f191660200190565b5f82601f830112613e68575f80fd5b8135602083015f613e80613e7b84613e33565b613e03565b9050828152858383011115613e93575f80fd5b828260208301375f92810160200192909252509392505050565b6001600160401b0381168114613962575f80fd5b63ffffffff81168114613962575f80fd5b5f805f60608486031215613ee4575f80fd5b83356001600160401b03811115613ef9575f80fd5b613f0586828701613e59565b9350506020840135613f1681613ead565b91506040840135613f2681613ec1565b809150509250925092565b8015158114613962575f80fd5b5f8060408385031215613f4f575f80fd5b8235613f5a81613ead565b91506020830135613f6a81613f31565b809150509250929050565b64ffffffffff81168114613962575f80fd5b5f60208284031215613f97575f80fd5b8135612a3281613f75565b5f60208284031215613fb2575f80fd5b81356001600160401b03811115613fc7575f80fd5b61109d84828501613e59565b5f8060408385031215613fe4575f80fd5b8235613fef81613d76565b915060208301356001600160401b03811115614009575f80fd5b61401585828601613e59565b9150509250929050565b6001600160601b0381168114613962575f80fd5b5f60208284031215614043575f80fd5b8135612a328161401f565b5f806040838503121561405f575f80fd5b8235613f5a81613d76565b5f6020828403121561407a575f80fd5b8135612a3281613f31565b5f8060408385031215614096575f80fd5b82356140a181613d76565b91506020830135613f6a8161401f565b5f80604083850312156140c2575f80fd5b82356140cd81613ead565b91506020830135613f6a81613d76565b5f82601f8301126140ec575f80fd5b81356001600160401b0381111561410557614105613da5565b61411460208260051b01613e03565b80828252602082019150602060608402860101925085831115614135575f80fd5b602085015b838110156141935760608188031215614151575f80fd5b614159613db9565b81358152602082013561416b81613c8c565b6020820152604082013561417e81613f75565b6040820152835260209092019160600161413a565b5095945050505050565b5f80604083850312156141ae575f80fd5b82356141b981613d76565b915060208301356001600160401b038111156141d3575f80fd5b614015858286016140dd565b5f805f606084860312156141f1575f80fd5b83356141fc81613d76565b9250602084013561420c81613ead565b915060408401356001600160401b03811115614226575f80fd5b614232868287016140dd565b9150509250925092565b5f6020828403121561424c575f80fd5b815162ffffff81168114612a32575f80fd5b80516134738161401f565b5f60208284031215614279575f80fd5b8151612a328161401f565b600181811c9082168061429857607f821691505b6020821081036142b657634e487b7160e01b5f52602260045260245ffd5b50919050565b6001600160601b039290921682526001600160a01b0316602082015260400190565b5f602082840312156142ee575f80fd5b8151612a3281613d76565b606081525f61430b6060830186613cbc565b90506001600160401b038416602083015263ffffffff83166040830152949350505050565b5f60208284031215614340575f80fd5b8151612a3281613ead565b805161347381613f31565b5f60208284031215614366575f80fd5b8151612a3281613f31565b6001600160a01b03831681526040602082018190525f9061109d90830184613cbc565b805161347381613d76565b60ff81168114613962575f80fd5b80516134738161439f565b5f82601f8301126143c7575f80fd5b81516143d5613e7b82613e33565b8181528460208386010111156143e9575f80fd5b8160208501602083015e5f918101602001919091529392505050565b5f60208284031215614415575f80fd5b81516001600160401b0381111561442a575f80fd5b820160e0818503121561443b575f80fd5b614443613de1565b61444c8261425e565b815261445a6020830161425e565b602082015261446b604083016143ad565b604082015261447c6060830161434b565b606082015261448d60808301614394565b608082015261449e60a08301614394565b60a082015260c08201516001600160401b038111156144bb575f80fd5b6144c7868285016143b8565b60c083015250949350505050565b5f602082840312156144e5575f80fd5b8151612a328161439f565b634e487b7160e01b5f52600160045260245ffd5b5f60208284031215614514575f80fd5b8151612a3281613f75565b5f8151808452602084019350602083015f5b82811015614579578151805187526020808201516001600160e01b0319168189015260409182015164ffffffffff169188019190915260609096019590910190600101614531565b5093949350505050565b6001600160a01b03831681526040602082018190525f9061109d9083018461451f565b6001600160a01b03841681526001600160401b03831660208201526060604082018190525f906109b99083018461451f565b5f80858511156145e6575f80fd5b838611156145f2575f80fd5b5050820193919092039150565b80356001600160e01b03198116906004841015614630576001600160e01b0319600485900360031b81901b82161691505b5092915050565b6001600160a01b03841681526040602082018190528101829052818360608301375f818301606090810191909152601f909201601f1916010192915050565b5f8060408385031215614687575f80fd5b825161469281613d76565b6020840151909250613f6a81613d76565b5f82518060208501845e5f920191825250919050565b5f80604083850312156146ca575f80fd5b82516146d581613f31565b6020840151909250613f6a81613ec1565b601f821115612bb657805f5260205f20601f840160051c8101602085101561470b5750805b601f840160051c820191505b81811015612fa6575f8155600101614717565b81516001600160401b0381111561474357614743613da5565b614757816147518454614284565b846146e6565b6020601f821160018114614789575f83156147725750848201515b5f19600385901b1c1916600184901b178455612fa6565b5f84815260208120601f198516915b828110156147b85787850151825560209485019460019092019101614798565b50848210156147d557868401515f19600387901b60f8161c191681555b50505050600190811b0190555056fe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00f0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00a26469706673582212204050220f0e0a99385476413c4f5e971a1cfa7788489dadfe8297a4535f08304f64736f6c634300081a0033",
1121
+ "linkReferences": {
1122
+ "contracts/shared/ContractLib.sol": {
1123
+ "ContractLib": [
1124
+ {
1125
+ "length": 20,
1126
+ "start": 14961
1127
+ },
1128
+ {
1129
+ "length": 20,
1130
+ "start": 15548
1131
+ }
1132
+ ]
1133
+ },
1134
+ "contracts/staking/TargetManagerLib.sol": {
1135
+ "TargetManagerLib": [
1136
+ {
1137
+ "length": 20,
1138
+ "start": 10357
1139
+ },
1140
+ {
1141
+ "length": 20,
1142
+ "start": 10464
1143
+ }
1144
+ ]
1145
+ },
1146
+ "contracts/type/NftId.sol": {
1147
+ "NftIdLib": [
1148
+ {
1149
+ "length": 20,
1150
+ "start": 1869
1151
+ },
1152
+ {
1153
+ "length": 20,
1154
+ "start": 8276
1155
+ },
1156
+ {
1157
+ "length": 20,
1158
+ "start": 11816
1159
+ },
1160
+ {
1161
+ "length": 20,
1162
+ "start": 12471
1163
+ }
1164
+ ]
1165
+ },
1166
+ "contracts/type/RoleId.sol": {
1167
+ "RoleIdLib": [
1168
+ {
1169
+ "length": 20,
1170
+ "start": 7462
1171
+ }
1172
+ ]
1173
+ },
1174
+ "contracts/type/Version.sol": {
1175
+ "VersionLib": [
1176
+ {
1177
+ "length": 20,
1178
+ "start": 1669
1179
+ },
1180
+ {
1181
+ "length": 20,
1182
+ "start": 3657
1183
+ }
1184
+ ],
1185
+ "VersionPartLib": [
1186
+ {
1187
+ "length": 20,
1188
+ "start": 12150
1189
+ }
1190
+ ]
1191
+ }
1192
+ },
1193
+ "deployedLinkReferences": {
1194
+ "contracts/shared/ContractLib.sol": {
1195
+ "ContractLib": [
1196
+ {
1197
+ "length": 20,
1198
+ "start": 14747
1199
+ },
1200
+ {
1201
+ "length": 20,
1202
+ "start": 15334
1203
+ }
1204
+ ]
1205
+ },
1206
+ "contracts/staking/TargetManagerLib.sol": {
1207
+ "TargetManagerLib": [
1208
+ {
1209
+ "length": 20,
1210
+ "start": 10143
1211
+ },
1212
+ {
1213
+ "length": 20,
1214
+ "start": 10250
1215
+ }
1216
+ ]
1217
+ },
1218
+ "contracts/type/NftId.sol": {
1219
+ "NftIdLib": [
1220
+ {
1221
+ "length": 20,
1222
+ "start": 1655
1223
+ },
1224
+ {
1225
+ "length": 20,
1226
+ "start": 8062
1227
+ },
1228
+ {
1229
+ "length": 20,
1230
+ "start": 11602
1231
+ },
1232
+ {
1233
+ "length": 20,
1234
+ "start": 12257
1235
+ }
1236
+ ]
1237
+ },
1238
+ "contracts/type/RoleId.sol": {
1239
+ "RoleIdLib": [
1240
+ {
1241
+ "length": 20,
1242
+ "start": 7248
1243
+ }
1244
+ ]
1245
+ },
1246
+ "contracts/type/Version.sol": {
1247
+ "VersionLib": [
1248
+ {
1249
+ "length": 20,
1250
+ "start": 1455
1251
+ },
1252
+ {
1253
+ "length": 20,
1254
+ "start": 3443
1255
+ }
1256
+ ],
1257
+ "VersionPartLib": [
1258
+ {
1259
+ "length": 20,
1260
+ "start": 11936
1261
+ }
1262
+ ]
1263
+ }
1264
+ }
1265
+ }