@etherisc/gif-next 0.0.2-f0d86c2-077 → 0.0.2-f0ebcc7-306

Sign up to get free protection for your applications and to get access to all the features.
Files changed (789) hide show
  1. package/README.md +320 -27
  2. package/artifacts/contracts/accounting/AccountingService.sol/AccountingService.dbg.json +4 -0
  3. package/artifacts/contracts/accounting/AccountingService.sol/AccountingService.json +1007 -0
  4. package/artifacts/contracts/accounting/AccountingServiceManager.sol/AccountingServiceManager.dbg.json +4 -0
  5. package/artifacts/contracts/accounting/AccountingServiceManager.sol/AccountingServiceManager.json +744 -0
  6. package/artifacts/contracts/accounting/IAccountingService.sol/IAccountingService.dbg.json +4 -0
  7. package/artifacts/contracts/accounting/IAccountingService.sol/IAccountingService.json +791 -0
  8. package/artifacts/contracts/authorization/AccessAdmin.sol/AccessAdmin.dbg.json +4 -0
  9. package/artifacts/contracts/authorization/AccessAdmin.sol/AccessAdmin.json +1494 -0
  10. package/artifacts/contracts/authorization/AccessAdmin.sol/IAccessManagedChecker.dbg.json +4 -0
  11. package/artifacts/contracts/{shared/IOwnable.sol/IOwnable.json → authorization/AccessAdmin.sol/IAccessManagedChecker.json} +4 -4
  12. package/artifacts/contracts/authorization/AccessAdminLib.sol/AccessAdminLib.dbg.json +4 -0
  13. package/artifacts/contracts/authorization/AccessAdminLib.sol/AccessAdminLib.json +673 -0
  14. package/artifacts/contracts/authorization/AccessManagerCloneable.sol/AccessManagerCloneable.dbg.json +4 -0
  15. package/artifacts/contracts/authorization/AccessManagerCloneable.sol/AccessManagerCloneable.json +1403 -0
  16. package/artifacts/contracts/authorization/Authorization.sol/Authorization.dbg.json +4 -0
  17. package/artifacts/contracts/authorization/Authorization.sol/Authorization.json +615 -0
  18. package/artifacts/contracts/authorization/IAccess.sol/IAccess.dbg.json +4 -0
  19. package/artifacts/contracts/{instance/module/access → authorization}/IAccess.sol/IAccess.json +1 -1
  20. package/artifacts/contracts/authorization/IAccessAdmin.sol/IAccessAdmin.dbg.json +4 -0
  21. package/artifacts/contracts/authorization/IAccessAdmin.sol/IAccessAdmin.json +1224 -0
  22. package/artifacts/contracts/authorization/IAuthorization.sol/IAuthorization.dbg.json +4 -0
  23. package/artifacts/contracts/authorization/IAuthorization.sol/IAuthorization.json +382 -0
  24. package/artifacts/contracts/authorization/IServiceAuthorization.sol/IServiceAuthorization.dbg.json +4 -0
  25. package/artifacts/contracts/authorization/IServiceAuthorization.sol/IServiceAuthorization.json +167 -0
  26. package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.dbg.json +4 -0
  27. package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.json +253 -0
  28. package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.dbg.json +4 -0
  29. package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.json +1209 -0
  30. package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.dbg.json +4 -0
  31. package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.json +644 -0
  32. package/artifacts/contracts/distribution/Distribution.sol/Distribution.dbg.json +4 -0
  33. package/artifacts/contracts/distribution/Distribution.sol/Distribution.json +930 -0
  34. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.dbg.json +4 -0
  35. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.json +1580 -0
  36. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +4 -0
  37. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.json +868 -0
  38. package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.dbg.json +4 -0
  39. package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.json +829 -0
  40. package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.dbg.json +4 -0
  41. package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.json +1071 -0
  42. package/artifacts/contracts/examples/fire/DamageLevel.sol/DamageLevelLib.dbg.json +4 -0
  43. package/artifacts/contracts/examples/fire/DamageLevel.sol/DamageLevelLib.json +22 -0
  44. package/artifacts/contracts/examples/fire/FirePool.sol/FirePool.dbg.json +4 -0
  45. package/artifacts/contracts/examples/fire/FirePool.sol/FirePool.json +1445 -0
  46. package/artifacts/contracts/examples/fire/FirePoolAuthorization.sol/FirePoolAuthorization.dbg.json +4 -0
  47. package/artifacts/contracts/examples/fire/FirePoolAuthorization.sol/FirePoolAuthorization.json +644 -0
  48. package/artifacts/contracts/examples/fire/FireProduct.sol/FireProduct.dbg.json +4 -0
  49. package/artifacts/contracts/examples/fire/FireProduct.sol/FireProduct.json +2002 -0
  50. package/artifacts/contracts/examples/fire/FireProductAuthorization.sol/FireProductAuthorization.dbg.json +4 -0
  51. package/artifacts/contracts/examples/fire/FireProductAuthorization.sol/FireProductAuthorization.json +644 -0
  52. package/artifacts/contracts/examples/fire/FireUSD.sol/FireUSD.dbg.json +4 -0
  53. package/artifacts/contracts/examples/fire/FireUSD.sol/FireUSD.json +376 -0
  54. package/artifacts/contracts/examples/unpermissioned/SimpleDistribution.sol/SimpleDistribution.dbg.json +4 -0
  55. package/artifacts/contracts/examples/unpermissioned/SimpleDistribution.sol/SimpleDistribution.json +1388 -0
  56. package/artifacts/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol/SimpleDistributionAuthorization.dbg.json +4 -0
  57. package/artifacts/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol/SimpleDistributionAuthorization.json +644 -0
  58. package/artifacts/contracts/examples/unpermissioned/SimpleOracle.sol/SimpleOracle.dbg.json +4 -0
  59. package/artifacts/contracts/examples/unpermissioned/SimpleOracle.sol/SimpleOracle.json +1152 -0
  60. package/artifacts/contracts/examples/unpermissioned/SimplePool.sol/SimplePool.dbg.json +4 -0
  61. package/artifacts/contracts/examples/unpermissioned/SimplePool.sol/SimplePool.json +1612 -0
  62. package/artifacts/contracts/examples/unpermissioned/SimplePoolAuthorization.sol/SimplePoolAuthorization.dbg.json +4 -0
  63. package/artifacts/contracts/examples/unpermissioned/SimplePoolAuthorization.sol/SimplePoolAuthorization.json +644 -0
  64. package/artifacts/contracts/examples/unpermissioned/SimpleProduct.sol/SimpleProduct.dbg.json +4 -0
  65. package/artifacts/contracts/examples/unpermissioned/SimpleProduct.sol/SimpleProduct.json +2389 -0
  66. package/artifacts/contracts/examples/unpermissioned/SimpleProductAuthorization.sol/SimpleProductAuthorization.dbg.json +4 -0
  67. package/artifacts/contracts/examples/unpermissioned/SimpleProductAuthorization.sol/SimpleProductAuthorization.json +644 -0
  68. package/artifacts/contracts/instance/BundleSet.sol/BundleSet.dbg.json +4 -0
  69. package/artifacts/contracts/instance/BundleSet.sol/BundleSet.json +851 -0
  70. package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
  71. package/artifacts/contracts/instance/IInstance.sol/IInstance.json +373 -1390
  72. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +4 -0
  73. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +808 -0
  74. package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
  75. package/artifacts/contracts/instance/Instance.sol/Instance.json +454 -1613
  76. package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.dbg.json +4 -0
  77. package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.json +2036 -0
  78. package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.dbg.json +4 -0
  79. package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.json +716 -0
  80. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +4 -0
  81. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +2458 -0
  82. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +4 -0
  83. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +1054 -0
  84. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +4 -0
  85. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +734 -0
  86. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.dbg.json +4 -0
  87. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.json +3728 -0
  88. package/artifacts/contracts/instance/RiskSet.sol/RiskSet.dbg.json +4 -0
  89. package/artifacts/contracts/instance/RiskSet.sol/RiskSet.json +853 -0
  90. package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.dbg.json +4 -0
  91. package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.json +318 -0
  92. package/artifacts/contracts/instance/base/Cloneable.sol/Cloneable.dbg.json +4 -0
  93. package/artifacts/contracts/instance/base/Cloneable.sol/Cloneable.json +137 -0
  94. package/artifacts/contracts/instance/base/ObjectCounter.sol/ObjectCounter.dbg.json +4 -0
  95. package/artifacts/contracts/instance/base/ObjectCounter.sol/ObjectCounter.json +10 -0
  96. package/artifacts/contracts/instance/base/ObjectLifecycle.sol/ObjectLifecycle.dbg.json +4 -0
  97. package/artifacts/contracts/instance/base/ObjectLifecycle.sol/ObjectLifecycle.json +223 -0
  98. package/artifacts/contracts/instance/base/ObjectSet.sol/ObjectSet.dbg.json +4 -0
  99. package/artifacts/contracts/instance/base/ObjectSet.sol/ObjectSet.json +192 -0
  100. package/artifacts/contracts/instance/base/ObjectSetHelperLib.sol/ObjectSetHelperLib.dbg.json +4 -0
  101. package/artifacts/contracts/instance/base/ObjectSetHelperLib.sol/ObjectSetHelperLib.json +168 -0
  102. package/artifacts/contracts/instance/module/IBundle.sol/IBundle.dbg.json +4 -0
  103. package/artifacts/contracts/instance/module/{bundle/IBundle.sol → IBundle.sol}/IBundle.json +1 -1
  104. package/artifacts/contracts/instance/module/IComponents.sol/IComponents.dbg.json +4 -0
  105. package/artifacts/contracts/instance/{base/ModuleBase.sol/ModuleBase.json → module/IComponents.sol/IComponents.json} +2 -2
  106. package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.dbg.json +4 -0
  107. package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.json +10 -0
  108. package/artifacts/contracts/instance/module/IPolicy.sol/IPolicy.dbg.json +4 -0
  109. package/artifacts/contracts/instance/module/{policy/IPolicy.sol → IPolicy.sol}/IPolicy.json +1 -1
  110. package/artifacts/contracts/instance/module/IRisk.sol/IRisk.dbg.json +4 -0
  111. package/artifacts/contracts/instance/module/{risk/IRisk.sol → IRisk.sol}/IRisk.json +1 -1
  112. package/artifacts/contracts/mock/Dip.sol/Dip.dbg.json +4 -0
  113. package/artifacts/contracts/mock/Dip.sol/Dip.json +376 -0
  114. package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.dbg.json +4 -0
  115. package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.json +938 -0
  116. package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.dbg.json +4 -0
  117. package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.json +632 -0
  118. package/artifacts/contracts/oracle/IOracle.sol/IOracle.dbg.json +4 -0
  119. package/artifacts/contracts/oracle/IOracle.sol/IOracle.json +52 -0
  120. package/artifacts/contracts/oracle/IOracleComponent.sol/IOracleComponent.dbg.json +4 -0
  121. package/artifacts/contracts/oracle/IOracleComponent.sol/IOracleComponent.json +753 -0
  122. package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.dbg.json +4 -0
  123. package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.json +733 -0
  124. package/artifacts/contracts/oracle/Oracle.sol/Oracle.dbg.json +4 -0
  125. package/artifacts/contracts/oracle/Oracle.sol/Oracle.json +854 -0
  126. package/artifacts/contracts/oracle/OracleService.sol/OracleService.dbg.json +4 -0
  127. package/artifacts/contracts/oracle/OracleService.sol/OracleService.json +997 -0
  128. package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.dbg.json +4 -0
  129. package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.json +764 -0
  130. package/artifacts/contracts/pool/BasicPool.sol/BasicPool.dbg.json +4 -0
  131. package/artifacts/contracts/pool/BasicPool.sol/BasicPool.json +1231 -0
  132. package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.dbg.json +4 -0
  133. package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.json +644 -0
  134. package/artifacts/contracts/pool/BundleService.sol/BundleService.dbg.json +4 -0
  135. package/artifacts/contracts/pool/BundleService.sol/BundleService.json +1261 -0
  136. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.dbg.json +4 -0
  137. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.json +800 -0
  138. package/artifacts/contracts/pool/IBundleService.sol/IBundleService.dbg.json +4 -0
  139. package/artifacts/contracts/pool/IBundleService.sol/IBundleService.json +880 -0
  140. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.dbg.json +4 -0
  141. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.json +886 -0
  142. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.dbg.json +4 -0
  143. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.json +1230 -0
  144. package/artifacts/contracts/pool/Pool.sol/Pool.dbg.json +4 -0
  145. package/artifacts/contracts/pool/Pool.sol/Pool.json +1006 -0
  146. package/artifacts/contracts/pool/PoolLib.sol/PoolLib.dbg.json +4 -0
  147. package/artifacts/contracts/pool/PoolLib.sol/PoolLib.json +456 -0
  148. package/artifacts/contracts/pool/PoolService.sol/PoolService.dbg.json +4 -0
  149. package/artifacts/contracts/pool/PoolService.sol/PoolService.json +1574 -0
  150. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.dbg.json +4 -0
  151. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.json +808 -0
  152. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.dbg.json +4 -0
  153. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.json +879 -0
  154. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +4 -0
  155. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.json +740 -0
  156. package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.dbg.json +4 -0
  157. package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.json +1140 -0
  158. package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.dbg.json +4 -0
  159. package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.json +644 -0
  160. package/artifacts/contracts/product/ClaimService.sol/ClaimService.dbg.json +4 -0
  161. package/artifacts/contracts/product/ClaimService.sol/ClaimService.json +1496 -0
  162. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +4 -0
  163. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.json +848 -0
  164. package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.dbg.json +4 -0
  165. package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.json +639 -0
  166. package/artifacts/contracts/product/IClaimService.sol/IClaimService.dbg.json +4 -0
  167. package/artifacts/contracts/product/IClaimService.sol/IClaimService.json +1064 -0
  168. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.dbg.json +4 -0
  169. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.json +981 -0
  170. package/artifacts/contracts/product/IPricingService.sol/IPricingService.dbg.json +4 -0
  171. package/artifacts/contracts/product/IPricingService.sol/IPricingService.json +623 -0
  172. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.dbg.json +4 -0
  173. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.json +997 -0
  174. package/artifacts/contracts/product/IRiskService.sol/IRiskService.dbg.json +4 -0
  175. package/artifacts/contracts/{instance/service/IProductService.sol/IProductService.json → product/IRiskService.sol/IRiskService.json} +233 -230
  176. package/artifacts/contracts/product/PolicyService.sol/PolicyService.dbg.json +4 -0
  177. package/artifacts/contracts/product/PolicyService.sol/PolicyService.json +1333 -0
  178. package/artifacts/contracts/product/PolicyServiceLib.sol/PolicyServiceLib.dbg.json +4 -0
  179. package/artifacts/contracts/product/PolicyServiceLib.sol/PolicyServiceLib.json +293 -0
  180. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +4 -0
  181. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.json +808 -0
  182. package/artifacts/contracts/product/PricingService.sol/PricingService.dbg.json +4 -0
  183. package/artifacts/contracts/product/PricingService.sol/PricingService.json +911 -0
  184. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.dbg.json +4 -0
  185. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.json +764 -0
  186. package/artifacts/contracts/product/Product.sol/Product.dbg.json +4 -0
  187. package/artifacts/contracts/product/Product.sol/Product.json +1098 -0
  188. package/artifacts/contracts/product/RiskService.sol/RiskService.dbg.json +4 -0
  189. package/artifacts/contracts/product/RiskService.sol/RiskService.json +688 -0
  190. package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.dbg.json +4 -0
  191. package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.json +736 -0
  192. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
  193. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +242 -12
  194. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
  195. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +1024 -119
  196. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +4 -0
  197. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +1043 -0
  198. package/artifacts/contracts/registry/IRelease.sol/IRelease.dbg.json +4 -0
  199. package/artifacts/contracts/registry/IRelease.sol/IRelease.json +24 -0
  200. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +4 -0
  201. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.json +39 -0
  202. package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
  203. package/artifacts/contracts/registry/Registry.sol/Registry.json +1450 -219
  204. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.dbg.json +4 -0
  205. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.json +2018 -0
  206. package/artifacts/contracts/registry/RegistryAuthorization.sol/RegistryAuthorization.dbg.json +4 -0
  207. package/artifacts/contracts/registry/RegistryAuthorization.sol/RegistryAuthorization.json +878 -0
  208. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +4 -0
  209. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +1269 -0
  210. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +4 -0
  211. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +735 -0
  212. package/artifacts/contracts/registry/ReleaseAdmin.sol/ReleaseAdmin.dbg.json +4 -0
  213. package/artifacts/contracts/registry/ReleaseAdmin.sol/ReleaseAdmin.json +1954 -0
  214. package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.dbg.json +4 -0
  215. package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.json +205 -0
  216. package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.dbg.json +4 -0
  217. package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.json +1337 -0
  218. package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.dbg.json +4 -0
  219. package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.json +272 -0
  220. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +4 -0
  221. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +661 -0
  222. package/artifacts/contracts/shared/Component.sol/Component.dbg.json +4 -0
  223. package/artifacts/contracts/shared/Component.sol/Component.json +686 -0
  224. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.dbg.json +4 -0
  225. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.json +1556 -0
  226. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.dbg.json +4 -0
  227. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.json +816 -0
  228. package/artifacts/contracts/shared/ComponentVerifyingService.sol/ComponentVerifyingService.dbg.json +4 -0
  229. package/artifacts/contracts/shared/ComponentVerifyingService.sol/ComponentVerifyingService.json +485 -0
  230. package/artifacts/contracts/shared/ContractLib.sol/ContractLib.dbg.json +4 -0
  231. package/artifacts/contracts/shared/ContractLib.sol/ContractLib.json +597 -0
  232. package/artifacts/contracts/shared/ContractLib.sol/IInstanceAdminHelper.dbg.json +4 -0
  233. package/artifacts/contracts/{instance/IInstanceLinked.sol/IInstanceLinked.json → shared/ContractLib.sol/IInstanceAdminHelper.json} +5 -5
  234. package/artifacts/contracts/shared/ContractLib.sol/ITargetHelper.dbg.json +4 -0
  235. package/artifacts/contracts/shared/ContractLib.sol/ITargetHelper.json +30 -0
  236. package/artifacts/contracts/shared/ContractLib.sol/ITokenRegistryHelper.dbg.json +4 -0
  237. package/artifacts/contracts/shared/ContractLib.sol/ITokenRegistryHelper.json +40 -0
  238. package/artifacts/contracts/shared/IComponent.sol/IComponent.dbg.json +4 -0
  239. package/artifacts/contracts/shared/IComponent.sol/IComponent.json +611 -0
  240. package/artifacts/contracts/shared/IComponentService.sol/IComponentService.dbg.json +4 -0
  241. package/artifacts/contracts/shared/IComponentService.sol/IComponentService.json +1196 -0
  242. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.dbg.json +4 -0
  243. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.json +688 -0
  244. package/artifacts/contracts/shared/IKeyValueStore.sol/IKeyValueStore.dbg.json +4 -0
  245. package/artifacts/contracts/{instance/base → shared}/IKeyValueStore.sol/IKeyValueStore.json +140 -141
  246. package/artifacts/contracts/shared/ILifecycle.sol/ILifecycle.dbg.json +4 -0
  247. package/artifacts/contracts/{instance/base → shared}/ILifecycle.sol/ILifecycle.json +35 -4
  248. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +4 -0
  249. package/artifacts/contracts/{components/IBaseComponent.sol/IBaseComponent.json → shared/INftOwnable.sol/INftOwnable.json} +47 -74
  250. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.dbg.json +4 -0
  251. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.json +175 -0
  252. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
  253. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +229 -21
  254. package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.dbg.json +4 -0
  255. package/artifacts/contracts/{registry → shared}/IRegistryLinked.sol/IRegistryLinked.json +13 -2
  256. package/artifacts/contracts/shared/IService.sol/IService.dbg.json +4 -0
  257. package/artifacts/contracts/{instance/service/IComponentOwnerService.sol/IComponentOwnerService.json → shared/IService.sol/IService.json} +198 -163
  258. package/artifacts/contracts/shared/InitializableERC165.sol/InitializableERC165.dbg.json +4 -0
  259. package/artifacts/contracts/shared/InitializableERC165.sol/InitializableERC165.json +53 -0
  260. package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.dbg.json +4 -0
  261. package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.json +776 -0
  262. package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.dbg.json +4 -0
  263. package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.json +538 -0
  264. package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.dbg.json +4 -0
  265. package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.json +174 -0
  266. package/artifacts/contracts/shared/NftIdSet.sol/NftIdSet.dbg.json +4 -0
  267. package/artifacts/contracts/shared/NftIdSet.sol/NftIdSet.json +306 -0
  268. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +4 -0
  269. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +209 -0
  270. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.dbg.json +4 -0
  271. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.json +198 -0
  272. package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
  273. package/artifacts/contracts/shared/Registerable.sol/Registerable.json +275 -18
  274. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.dbg.json +4 -0
  275. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.json +58 -0
  276. package/artifacts/contracts/shared/Service.sol/Service.dbg.json +4 -0
  277. package/artifacts/contracts/{instance/service/IPoolService.sol/IPoolService.json → shared/Service.sol/Service.json} +248 -171
  278. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +4 -0
  279. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +723 -0
  280. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandlerBase.dbg.json +4 -0
  281. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandlerBase.json +484 -0
  282. package/artifacts/contracts/shared/TokenHandlerDeployerLib.sol/TokenHandlerDeployerLib.dbg.json +4 -0
  283. package/artifacts/contracts/shared/TokenHandlerDeployerLib.sol/TokenHandlerDeployerLib.json +172 -0
  284. package/artifacts/contracts/staking/IStaking.sol/IStaking.dbg.json +4 -0
  285. package/artifacts/contracts/staking/IStaking.sol/IStaking.json +1491 -0
  286. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.dbg.json +4 -0
  287. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.json +1167 -0
  288. package/artifacts/contracts/staking/Staking.sol/Staking.dbg.json +4 -0
  289. package/artifacts/contracts/staking/Staking.sol/Staking.json +1888 -0
  290. package/artifacts/contracts/staking/StakingLib.sol/StakingLib.dbg.json +4 -0
  291. package/artifacts/contracts/staking/StakingLib.sol/StakingLib.json +469 -0
  292. package/artifacts/contracts/staking/StakingLifecycle.sol/StakingLifecycle.dbg.json +4 -0
  293. package/artifacts/contracts/staking/StakingLifecycle.sol/StakingLifecycle.json +205 -0
  294. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.dbg.json +4 -0
  295. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.json +792 -0
  296. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.dbg.json +4 -0
  297. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.json +560 -0
  298. package/artifacts/contracts/staking/StakingService.sol/StakingService.dbg.json +4 -0
  299. package/artifacts/contracts/staking/StakingService.sol/StakingService.json +1380 -0
  300. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.dbg.json +4 -0
  301. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.json +736 -0
  302. package/artifacts/contracts/staking/StakingStore.sol/StakingStore.dbg.json +4 -0
  303. package/artifacts/contracts/staking/StakingStore.sol/StakingStore.json +2297 -0
  304. package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.dbg.json +4 -0
  305. package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.json +617 -0
  306. package/artifacts/contracts/type/AddressSet.sol/LibAddressSet.dbg.json +4 -0
  307. package/artifacts/contracts/type/AddressSet.sol/LibAddressSet.json +10 -0
  308. package/artifacts/contracts/type/Amount.sol/AmountLib.dbg.json +4 -0
  309. package/artifacts/contracts/type/Amount.sol/AmountLib.json +398 -0
  310. package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.dbg.json +4 -0
  311. package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.json +225 -0
  312. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.dbg.json +4 -0
  313. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.json +203 -0
  314. package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.dbg.json +4 -0
  315. package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.json +104 -0
  316. package/artifacts/contracts/type/Fee.sol/FeeLib.dbg.json +4 -0
  317. package/artifacts/contracts/type/Fee.sol/FeeLib.json +373 -0
  318. package/artifacts/contracts/type/Key32.sol/Key32Lib.dbg.json +4 -0
  319. package/artifacts/contracts/type/Key32.sol/Key32Lib.json +125 -0
  320. package/artifacts/contracts/type/Key32Set.sol/LibKey32Set.dbg.json +4 -0
  321. package/artifacts/contracts/type/Key32Set.sol/LibKey32Set.json +33 -0
  322. package/artifacts/contracts/type/NftId.sol/NftIdLib.dbg.json +4 -0
  323. package/artifacts/contracts/type/NftId.sol/NftIdLib.json +228 -0
  324. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.dbg.json +4 -0
  325. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.json +33 -0
  326. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.dbg.json +4 -0
  327. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.json +241 -0
  328. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.dbg.json +4 -0
  329. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.json +209 -0
  330. package/artifacts/contracts/type/Referral.sol/ReferralLib.dbg.json +4 -0
  331. package/artifacts/contracts/type/Referral.sol/ReferralLib.json +142 -0
  332. package/artifacts/contracts/type/RequestId.sol/RequestIdLib.dbg.json +4 -0
  333. package/artifacts/contracts/type/RequestId.sol/RequestIdLib.json +204 -0
  334. package/artifacts/contracts/type/RiskId.sol/RiskIdLib.dbg.json +4 -0
  335. package/artifacts/contracts/type/RiskId.sol/RiskIdLib.json +204 -0
  336. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.dbg.json +4 -0
  337. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.json +433 -0
  338. package/artifacts/contracts/type/Seconds.sol/SecondsLib.dbg.json +4 -0
  339. package/artifacts/contracts/type/Seconds.sol/SecondsLib.json +246 -0
  340. package/artifacts/contracts/type/Selector.sol/SelectorLib.dbg.json +4 -0
  341. package/artifacts/contracts/type/Selector.sol/SelectorLib.json +148 -0
  342. package/artifacts/contracts/type/Selector.sol/SelectorSetLib.dbg.json +4 -0
  343. package/artifacts/contracts/type/Selector.sol/SelectorSetLib.json +10 -0
  344. package/artifacts/contracts/type/StateId.sol/StateIdLib.dbg.json +4 -0
  345. package/artifacts/contracts/type/StateId.sol/StateIdLib.json +105 -0
  346. package/artifacts/contracts/type/String.sol/StrLib.dbg.json +4 -0
  347. package/artifacts/contracts/type/String.sol/StrLib.json +132 -0
  348. package/artifacts/contracts/type/Timestamp.sol/TimestampLib.dbg.json +4 -0
  349. package/artifacts/contracts/type/Timestamp.sol/TimestampLib.json +312 -0
  350. package/artifacts/contracts/type/UFixed.sol/UFixedLib.dbg.json +4 -0
  351. package/artifacts/contracts/type/UFixed.sol/UFixedLib.json +548 -0
  352. package/artifacts/contracts/type/Version.sol/VersionLib.dbg.json +4 -0
  353. package/artifacts/contracts/type/Version.sol/VersionLib.json +158 -0
  354. package/artifacts/contracts/type/Version.sol/VersionPartLib.dbg.json +4 -0
  355. package/artifacts/contracts/type/Version.sol/VersionPartLib.json +167 -0
  356. package/artifacts/contracts/upgradeability/IVersionable.sol/IVersionable.dbg.json +4 -0
  357. package/artifacts/contracts/upgradeability/IVersionable.sol/IVersionable.json +55 -0
  358. package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.dbg.json +4 -0
  359. package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.json +618 -0
  360. package/artifacts/contracts/upgradeability/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +4 -0
  361. package/artifacts/contracts/upgradeability/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +129 -0
  362. package/artifacts/contracts/upgradeability/Versionable.sol/Versionable.dbg.json +4 -0
  363. package/artifacts/contracts/upgradeability/Versionable.sol/Versionable.json +78 -0
  364. package/contracts/accounting/AccountingService.sol +262 -0
  365. package/contracts/accounting/AccountingServiceManager.sol +38 -0
  366. package/contracts/accounting/IAccountingService.sol +45 -0
  367. package/contracts/authorization/AccessAdmin.sol +704 -0
  368. package/contracts/authorization/AccessAdminLib.sol +183 -0
  369. package/contracts/authorization/AccessManagerCloneable.sol +158 -0
  370. package/contracts/authorization/Authorization.sol +365 -0
  371. package/contracts/authorization/IAccess.sol +49 -0
  372. package/contracts/authorization/IAccessAdmin.sol +170 -0
  373. package/contracts/authorization/IAuthorization.sol +80 -0
  374. package/contracts/authorization/IServiceAuthorization.sol +40 -0
  375. package/contracts/authorization/ServiceAuthorization.sol +106 -0
  376. package/contracts/distribution/BasicDistribution.sol +141 -0
  377. package/contracts/distribution/BasicDistributionAuthorization.sol +60 -0
  378. package/contracts/distribution/Distribution.sol +244 -0
  379. package/contracts/distribution/DistributionService.sol +385 -0
  380. package/contracts/distribution/DistributionServiceManager.sol +39 -0
  381. package/contracts/distribution/IDistributionComponent.sol +43 -0
  382. package/contracts/distribution/IDistributionService.sol +103 -0
  383. package/contracts/examples/fire/DamageLevel.sol +59 -0
  384. package/contracts/examples/fire/FirePool.sol +86 -0
  385. package/contracts/examples/fire/FirePoolAuthorization.sol +35 -0
  386. package/contracts/examples/fire/FireProduct.sol +433 -0
  387. package/contracts/examples/fire/FireProductAuthorization.sol +45 -0
  388. package/contracts/examples/fire/FireUSD.sol +26 -0
  389. package/contracts/examples/unpermissioned/SimpleDistribution.sol +81 -0
  390. package/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol +28 -0
  391. package/contracts/examples/unpermissioned/SimpleOracle.sol +133 -0
  392. package/contracts/examples/unpermissioned/SimplePool.sol +102 -0
  393. package/contracts/examples/unpermissioned/SimplePoolAuthorization.sol +28 -0
  394. package/contracts/examples/unpermissioned/SimpleProduct.sol +373 -0
  395. package/contracts/examples/unpermissioned/SimpleProductAuthorization.sol +28 -0
  396. package/contracts/instance/BundleSet.sol +130 -0
  397. package/contracts/instance/IInstance.sol +99 -45
  398. package/contracts/instance/IInstanceService.sol +88 -0
  399. package/contracts/instance/Instance.sol +291 -55
  400. package/contracts/instance/InstanceAdmin.sol +450 -0
  401. package/contracts/instance/InstanceAuthorizationV3.sol +235 -0
  402. package/contracts/instance/InstanceReader.sol +650 -0
  403. package/contracts/instance/InstanceService.sol +459 -0
  404. package/contracts/instance/InstanceServiceManager.sol +39 -0
  405. package/contracts/instance/InstanceStore.sol +298 -0
  406. package/contracts/instance/RiskSet.sol +118 -0
  407. package/contracts/instance/base/BalanceStore.sol +123 -0
  408. package/contracts/instance/base/Cloneable.sol +28 -0
  409. package/contracts/instance/base/ObjectCounter.sol +20 -0
  410. package/contracts/instance/base/ObjectLifecycle.sol +113 -0
  411. package/contracts/instance/base/ObjectSet.sol +77 -0
  412. package/contracts/instance/base/ObjectSetHelperLib.sol +30 -0
  413. package/contracts/instance/module/IBundle.sol +20 -0
  414. package/contracts/instance/module/IComponents.sol +50 -0
  415. package/contracts/instance/module/IDistribution.sol +44 -0
  416. package/contracts/instance/module/IPolicy.sol +85 -0
  417. package/contracts/instance/module/IRisk.sol +14 -0
  418. package/contracts/{test/Usdc.sol → mock/Dip.sol} +6 -6
  419. package/contracts/oracle/BasicOracle.sol +45 -0
  420. package/contracts/oracle/BasicOracleAuthorization.sol +37 -0
  421. package/contracts/oracle/IOracle.sol +36 -0
  422. package/contracts/oracle/IOracleComponent.sol +33 -0
  423. package/contracts/oracle/IOracleService.sol +66 -0
  424. package/contracts/oracle/Oracle.sol +154 -0
  425. package/contracts/oracle/OracleService.sol +310 -0
  426. package/contracts/oracle/OracleServiceManager.sol +39 -0
  427. package/contracts/pool/BasicPool.sol +173 -0
  428. package/contracts/pool/BasicPoolAuthorization.sol +76 -0
  429. package/contracts/pool/BundleService.sol +395 -0
  430. package/contracts/pool/BundleServiceManager.sol +39 -0
  431. package/contracts/pool/IBundleService.sol +115 -0
  432. package/contracts/pool/IPoolComponent.sol +62 -0
  433. package/contracts/pool/IPoolService.sol +165 -0
  434. package/contracts/pool/Pool.sol +343 -0
  435. package/contracts/pool/PoolLib.sol +216 -0
  436. package/contracts/pool/PoolService.sol +755 -0
  437. package/contracts/pool/PoolServiceManager.sol +39 -0
  438. package/contracts/product/ApplicationService.sol +274 -0
  439. package/contracts/product/ApplicationServiceManager.sol +38 -0
  440. package/contracts/product/BasicProduct.sol +49 -0
  441. package/contracts/product/BasicProductAuthorization.sol +56 -0
  442. package/contracts/product/ClaimService.sol +632 -0
  443. package/contracts/product/ClaimServiceManager.sol +38 -0
  444. package/contracts/product/IApplicationService.sol +69 -0
  445. package/contracts/product/IClaimService.sol +135 -0
  446. package/contracts/product/IPolicyService.sol +95 -0
  447. package/contracts/product/IPricingService.sol +40 -0
  448. package/contracts/product/IProductComponent.sol +62 -0
  449. package/contracts/product/IRiskService.sol +33 -0
  450. package/contracts/product/PolicyService.sol +664 -0
  451. package/contracts/product/PolicyServiceLib.sol +65 -0
  452. package/contracts/product/PolicyServiceManager.sol +39 -0
  453. package/contracts/product/PricingService.sol +309 -0
  454. package/contracts/product/PricingServiceManager.sol +39 -0
  455. package/contracts/product/Product.sol +467 -0
  456. package/contracts/product/RiskService.sol +154 -0
  457. package/contracts/product/RiskServiceManager.sol +39 -0
  458. package/contracts/registry/ChainNft.sol +130 -40
  459. package/contracts/registry/IRegistry.sol +138 -29
  460. package/contracts/registry/IRegistryService.sol +62 -0
  461. package/contracts/registry/IRelease.sol +26 -0
  462. package/contracts/registry/ITransferInterceptor.sol +6 -0
  463. package/contracts/registry/Registry.sol +631 -282
  464. package/contracts/registry/RegistryAdmin.sol +258 -0
  465. package/contracts/registry/RegistryAuthorization.sol +267 -0
  466. package/contracts/registry/RegistryService.sol +241 -0
  467. package/contracts/registry/RegistryServiceManager.sol +53 -0
  468. package/contracts/registry/ReleaseAdmin.sol +253 -0
  469. package/contracts/registry/ReleaseLifecycle.sol +32 -0
  470. package/contracts/registry/ReleaseRegistry.sol +517 -0
  471. package/contracts/registry/ServiceAuthorizationV3.sol +331 -0
  472. package/contracts/registry/TokenRegistry.sol +313 -0
  473. package/contracts/shared/Component.sol +210 -0
  474. package/contracts/shared/ComponentService.sol +708 -0
  475. package/contracts/shared/ComponentServiceManager.sol +38 -0
  476. package/contracts/shared/ComponentVerifyingService.sol +128 -0
  477. package/contracts/shared/ContractLib.sol +281 -0
  478. package/contracts/shared/IComponent.sol +58 -0
  479. package/contracts/shared/IComponentService.sol +112 -0
  480. package/contracts/shared/IInstanceLinkedComponent.sol +30 -0
  481. package/contracts/shared/IKeyValueStore.sol +54 -0
  482. package/contracts/{instance/base → shared}/ILifecycle.sol +6 -5
  483. package/contracts/shared/INftOwnable.sol +25 -0
  484. package/contracts/shared/IPolicyHolder.sol +35 -0
  485. package/contracts/shared/IRegisterable.sol +33 -20
  486. package/contracts/shared/IRegistryLinked.sol +11 -0
  487. package/contracts/shared/IService.sol +23 -0
  488. package/contracts/shared/InitializableERC165.sol +35 -0
  489. package/contracts/shared/InstanceLinkedComponent.sol +195 -0
  490. package/contracts/shared/KeyValueStore.sol +131 -0
  491. package/contracts/shared/Lifecycle.sol +88 -0
  492. package/contracts/shared/NftIdSet.sol +65 -0
  493. package/contracts/shared/NftOwnable.sol +127 -0
  494. package/contracts/shared/PolicyHolder.sol +62 -0
  495. package/contracts/shared/Registerable.sol +80 -60
  496. package/contracts/shared/RegistryLinked.sol +38 -0
  497. package/contracts/shared/Service.sol +65 -0
  498. package/contracts/shared/TokenHandler.sol +342 -0
  499. package/contracts/shared/TokenHandlerDeployerLib.sol +20 -0
  500. package/contracts/staking/IStaking.sol +175 -0
  501. package/contracts/staking/IStakingService.sol +172 -0
  502. package/contracts/staking/Staking.sol +546 -0
  503. package/contracts/staking/StakingLib.sol +281 -0
  504. package/contracts/staking/StakingLifecycle.sol +23 -0
  505. package/contracts/staking/StakingManager.sol +52 -0
  506. package/contracts/staking/StakingReader.sol +180 -0
  507. package/contracts/staking/StakingService.sol +464 -0
  508. package/contracts/staking/StakingServiceManager.sol +45 -0
  509. package/contracts/staking/StakingStore.sol +606 -0
  510. package/contracts/staking/TargetManagerLib.sol +211 -0
  511. package/contracts/{types → type}/AddressSet.sol +1 -1
  512. package/contracts/type/Amount.sol +150 -0
  513. package/contracts/{types → type}/Blocknumber.sol +27 -3
  514. package/contracts/type/ClaimId.sol +80 -0
  515. package/contracts/type/DistributorType.sol +55 -0
  516. package/contracts/type/Fee.sol +65 -0
  517. package/contracts/{types → type}/Key32.sol +10 -5
  518. package/contracts/type/Key32Set.sol +62 -0
  519. package/contracts/{types → type}/NftId.sol +28 -15
  520. package/contracts/type/NftIdSet.sol +62 -0
  521. package/contracts/type/ObjectType.sol +294 -0
  522. package/contracts/type/PayoutId.sol +82 -0
  523. package/contracts/type/Referral.sol +90 -0
  524. package/contracts/type/RequestId.sol +75 -0
  525. package/contracts/type/RiskId.sol +75 -0
  526. package/contracts/type/RoleId.sol +182 -0
  527. package/contracts/type/Seconds.sol +101 -0
  528. package/contracts/type/Selector.sol +107 -0
  529. package/contracts/{types → type}/StateId.sol +53 -5
  530. package/contracts/type/String.sol +53 -0
  531. package/contracts/{types → type}/Timestamp.sol +37 -19
  532. package/contracts/{types → type}/UFixed.sol +55 -19
  533. package/contracts/type/Version.sol +159 -0
  534. package/contracts/upgradeability/IVersionable.sol +53 -0
  535. package/contracts/upgradeability/ProxyManager.sol +232 -0
  536. package/contracts/upgradeability/UpgradableProxyWithAdmin.sol +14 -0
  537. package/contracts/upgradeability/Versionable.sol +59 -0
  538. package/package.json +13 -8
  539. package/artifacts/contracts/components/BaseComponent.sol/BaseComponent.dbg.json +0 -4
  540. package/artifacts/contracts/components/BaseComponent.sol/BaseComponent.json +0 -174
  541. package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.dbg.json +0 -4
  542. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.dbg.json +0 -4
  543. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.json +0 -356
  544. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.dbg.json +0 -4
  545. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.json +0 -279
  546. package/artifacts/contracts/components/Pool.sol/Pool.dbg.json +0 -4
  547. package/artifacts/contracts/components/Pool.sol/Pool.json +0 -387
  548. package/artifacts/contracts/components/Product.sol/Product.dbg.json +0 -4
  549. package/artifacts/contracts/components/Product.sol/Product.json +0 -305
  550. package/artifacts/contracts/experiment/errors/Require.sol/Require.dbg.json +0 -4
  551. package/artifacts/contracts/experiment/errors/Require.sol/Require.json +0 -105
  552. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.dbg.json +0 -4
  553. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.json +0 -105
  554. package/artifacts/contracts/experiment/inheritance/A.sol/A.dbg.json +0 -4
  555. package/artifacts/contracts/experiment/inheritance/A.sol/A.json +0 -128
  556. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.dbg.json +0 -4
  557. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.json +0 -42
  558. package/artifacts/contracts/experiment/inheritance/B.sol/B.dbg.json +0 -4
  559. package/artifacts/contracts/experiment/inheritance/B.sol/B.json +0 -76
  560. package/artifacts/contracts/experiment/inheritance/C.sol/C.dbg.json +0 -4
  561. package/artifacts/contracts/experiment/inheritance/C.sol/C.json +0 -89
  562. package/artifacts/contracts/experiment/inheritance/IA.sol/IA.dbg.json +0 -4
  563. package/artifacts/contracts/experiment/inheritance/IA.sol/IA.json +0 -128
  564. package/artifacts/contracts/experiment/inheritance/IA.sol/ISharedA.dbg.json +0 -4
  565. package/artifacts/contracts/experiment/inheritance/IA.sol/ISharedA.json +0 -37
  566. package/artifacts/contracts/experiment/inheritance/IB.sol/IB.dbg.json +0 -4
  567. package/artifacts/contracts/experiment/inheritance/IB.sol/IB.json +0 -50
  568. package/artifacts/contracts/experiment/inheritance/IC.sol/IC.dbg.json +0 -4
  569. package/artifacts/contracts/experiment/inheritance/IC.sol/IC.json +0 -63
  570. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.dbg.json +0 -4
  571. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.json +0 -59
  572. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.dbg.json +0 -4
  573. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.json +0 -124
  574. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.dbg.json +0 -4
  575. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.json +0 -74
  576. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.dbg.json +0 -4
  577. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.json +0 -124
  578. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.dbg.json +0 -4
  579. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.json +0 -207
  580. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.dbg.json +0 -4
  581. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.json +0 -10
  582. package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.dbg.json +0 -4
  583. package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.json +0 -10
  584. package/artifacts/contracts/instance/IInstanceLinked.sol/IInstanceLinked.dbg.json +0 -4
  585. package/artifacts/contracts/instance/base/ComponentServiceBase.sol/ComponentServiceBase.dbg.json +0 -4
  586. package/artifacts/contracts/instance/base/ComponentServiceBase.sol/ComponentServiceBase.json +0 -300
  587. package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.dbg.json +0 -4
  588. package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.json +0 -63
  589. package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.dbg.json +0 -4
  590. package/artifacts/contracts/instance/base/ILifecycle.sol/ILifecycle.dbg.json +0 -4
  591. package/artifacts/contracts/instance/base/IService.sol/IService.dbg.json +0 -4
  592. package/artifacts/contracts/instance/base/IService.sol/IService.json +0 -300
  593. package/artifacts/contracts/instance/base/InstanceBase.sol/InstanceBase.dbg.json +0 -4
  594. package/artifacts/contracts/instance/base/InstanceBase.sol/InstanceBase.json +0 -326
  595. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.dbg.json +0 -4
  596. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.json +0 -692
  597. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.dbg.json +0 -4
  598. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.json +0 -169
  599. package/artifacts/contracts/instance/base/ModuleBase.sol/ModuleBase.dbg.json +0 -4
  600. package/artifacts/contracts/instance/base/ServiceBase.sol/ServiceBase.dbg.json +0 -4
  601. package/artifacts/contracts/instance/base/ServiceBase.sol/ServiceBase.json +0 -300
  602. package/artifacts/contracts/instance/module/access/Access.sol/AccessModule.dbg.json +0 -4
  603. package/artifacts/contracts/instance/module/access/Access.sol/AccessModule.json +0 -333
  604. package/artifacts/contracts/instance/module/access/IAccess.sol/IAccess.dbg.json +0 -4
  605. package/artifacts/contracts/instance/module/access/IAccess.sol/IAccessModule.dbg.json +0 -4
  606. package/artifacts/contracts/instance/module/access/IAccess.sol/IAccessModule.json +0 -333
  607. package/artifacts/contracts/instance/module/bundle/BundleModule.sol/BundleModule.dbg.json +0 -4
  608. package/artifacts/contracts/instance/module/bundle/BundleModule.sol/BundleModule.json +0 -296
  609. package/artifacts/contracts/instance/module/bundle/IBundle.sol/IBundle.dbg.json +0 -4
  610. package/artifacts/contracts/instance/module/bundle/IBundle.sol/IBundleModule.dbg.json +0 -4
  611. package/artifacts/contracts/instance/module/bundle/IBundle.sol/IBundleModule.json +0 -296
  612. package/artifacts/contracts/instance/module/compensation/CompensationModule.sol/CompensationModule.dbg.json +0 -4
  613. package/artifacts/contracts/instance/module/compensation/CompensationModule.sol/CompensationModule.json +0 -10
  614. package/artifacts/contracts/instance/module/compensation/ICompensation.sol/ICompensation.dbg.json +0 -4
  615. package/artifacts/contracts/instance/module/compensation/ICompensation.sol/ICompensation.json +0 -10
  616. package/artifacts/contracts/instance/module/compensation/ICompensation.sol/ICompensationModule.dbg.json +0 -4
  617. package/artifacts/contracts/instance/module/compensation/ICompensation.sol/ICompensationModule.json +0 -10
  618. package/artifacts/contracts/instance/module/component/ComponentModule.sol/ComponentModule.dbg.json +0 -4
  619. package/artifacts/contracts/instance/module/component/ComponentModule.sol/ComponentModule.json +0 -188
  620. package/artifacts/contracts/instance/module/component/IComponent.sol/IComponent.dbg.json +0 -4
  621. package/artifacts/contracts/instance/module/component/IComponent.sol/IComponent.json +0 -10
  622. package/artifacts/contracts/instance/module/component/IComponent.sol/IComponentModule.dbg.json +0 -4
  623. package/artifacts/contracts/instance/module/component/IComponent.sol/IComponentModule.json +0 -188
  624. package/artifacts/contracts/instance/module/policy/IPolicy.sol/IPolicy.dbg.json +0 -4
  625. package/artifacts/contracts/instance/module/policy/IPolicy.sol/IPolicyModule.dbg.json +0 -4
  626. package/artifacts/contracts/instance/module/policy/IPolicy.sol/IPolicyModule.json +0 -261
  627. package/artifacts/contracts/instance/module/policy/PolicyModule.sol/PolicyModule.dbg.json +0 -4
  628. package/artifacts/contracts/instance/module/policy/PolicyModule.sol/PolicyModule.json +0 -261
  629. package/artifacts/contracts/instance/module/pool/IPoolModule.sol/IPool.dbg.json +0 -4
  630. package/artifacts/contracts/instance/module/pool/IPoolModule.sol/IPool.json +0 -10
  631. package/artifacts/contracts/instance/module/pool/IPoolModule.sol/IPoolModule.dbg.json +0 -4
  632. package/artifacts/contracts/instance/module/pool/IPoolModule.sol/IPoolModule.json +0 -149
  633. package/artifacts/contracts/instance/module/pool/PoolModule.sol/PoolModule.dbg.json +0 -4
  634. package/artifacts/contracts/instance/module/pool/PoolModule.sol/PoolModule.json +0 -149
  635. package/artifacts/contracts/instance/module/risk/IRisk.sol/IRisk.dbg.json +0 -4
  636. package/artifacts/contracts/instance/module/risk/IRisk.sol/IRiskModule.dbg.json +0 -4
  637. package/artifacts/contracts/instance/module/risk/IRisk.sol/IRiskModule.json +0 -10
  638. package/artifacts/contracts/instance/module/risk/RiskModule.sol/RiskModule.dbg.json +0 -4
  639. package/artifacts/contracts/instance/module/risk/RiskModule.sol/RiskModule.json +0 -10
  640. package/artifacts/contracts/instance/module/treasury/ITreasury.sol/ITreasury.dbg.json +0 -4
  641. package/artifacts/contracts/instance/module/treasury/ITreasury.sol/ITreasury.json +0 -10
  642. package/artifacts/contracts/instance/module/treasury/ITreasury.sol/ITreasuryModule.dbg.json +0 -4
  643. package/artifacts/contracts/instance/module/treasury/ITreasury.sol/ITreasuryModule.json +0 -533
  644. package/artifacts/contracts/instance/module/treasury/TokenHandler.sol/TokenHandler.dbg.json +0 -4
  645. package/artifacts/contracts/instance/module/treasury/TokenHandler.sol/TokenHandler.json +0 -76
  646. package/artifacts/contracts/instance/module/treasury/TreasuryModule.sol/TreasuryModule.dbg.json +0 -4
  647. package/artifacts/contracts/instance/module/treasury/TreasuryModule.sol/TreasuryModule.json +0 -533
  648. package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.dbg.json +0 -4
  649. package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.json +0 -523
  650. package/artifacts/contracts/instance/service/IComponentOwnerService.sol/IComponentOwnerService.dbg.json +0 -4
  651. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.dbg.json +0 -4
  652. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.dbg.json +0 -4
  653. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.dbg.json +0 -4
  654. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.json +0 -471
  655. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.dbg.json +0 -4
  656. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.json +0 -673
  657. package/artifacts/contracts/registry/IChainNft.sol/IChainNft.dbg.json +0 -4
  658. package/artifacts/contracts/registry/IChainNft.sol/IChainNft.json +0 -452
  659. package/artifacts/contracts/registry/IRegistryLinked.sol/IRegistryLinked.dbg.json +0 -4
  660. package/artifacts/contracts/shared/ERC165.sol/ERC165.dbg.json +0 -4
  661. package/artifacts/contracts/shared/ERC165.sol/ERC165.json +0 -35
  662. package/artifacts/contracts/shared/IOwnable.sol/IOwnable.dbg.json +0 -4
  663. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.dbg.json +0 -4
  664. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.json +0 -164
  665. package/artifacts/contracts/shared/Versionable.sol/Versionable.dbg.json +0 -4
  666. package/artifacts/contracts/shared/Versionable.sol/Versionable.json +0 -164
  667. package/artifacts/contracts/test/TestFee.sol/TestFee.dbg.json +0 -4
  668. package/artifacts/contracts/test/TestFee.sol/TestFee.json +0 -119
  669. package/artifacts/contracts/test/TestPool.sol/TestPool.dbg.json +0 -4
  670. package/artifacts/contracts/test/TestPool.sol/TestPool.json +0 -387
  671. package/artifacts/contracts/test/TestProduct.sol/TestProduct.dbg.json +0 -4
  672. package/artifacts/contracts/test/TestProduct.sol/TestProduct.json +0 -393
  673. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.dbg.json +0 -4
  674. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.json +0 -137
  675. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.dbg.json +0 -4
  676. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.json +0 -116
  677. package/artifacts/contracts/test/TestService.sol/TestService.dbg.json +0 -4
  678. package/artifacts/contracts/test/TestService.sol/TestService.json +0 -379
  679. package/artifacts/contracts/test/TestToken.sol/TestUsdc.dbg.json +0 -4
  680. package/artifacts/contracts/test/TestToken.sol/TestUsdc.json +0 -338
  681. package/artifacts/contracts/test/TestVersion.sol/TestVersion.dbg.json +0 -4
  682. package/artifacts/contracts/test/TestVersion.sol/TestVersion.json +0 -218
  683. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.dbg.json +0 -4
  684. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.json +0 -206
  685. package/artifacts/contracts/test/Usdc.sol/USDC.dbg.json +0 -4
  686. package/artifacts/contracts/test/Usdc.sol/USDC.json +0 -338
  687. package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.dbg.json +0 -4
  688. package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.json +0 -10
  689. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.dbg.json +0 -4
  690. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.json +0 -174
  691. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.dbg.json +0 -4
  692. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.json +0 -10
  693. package/artifacts/contracts/types/Fee.sol/FeeLib.dbg.json +0 -4
  694. package/artifacts/contracts/types/Fee.sol/FeeLib.json +0 -218
  695. package/artifacts/contracts/types/Key32.sol/Key32Lib.dbg.json +0 -4
  696. package/artifacts/contracts/types/Key32.sol/Key32Lib.json +0 -111
  697. package/artifacts/contracts/types/NftId.sol/NftIdLib.dbg.json +0 -4
  698. package/artifacts/contracts/types/NftId.sol/NftIdLib.json +0 -153
  699. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.dbg.json +0 -4
  700. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.json +0 -10
  701. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.dbg.json +0 -4
  702. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.json +0 -92
  703. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.dbg.json +0 -4
  704. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.json +0 -30
  705. package/artifacts/contracts/types/StateId.sol/StateIdLib.dbg.json +0 -4
  706. package/artifacts/contracts/types/StateId.sol/StateIdLib.json +0 -92
  707. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.dbg.json +0 -4
  708. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.json +0 -236
  709. package/artifacts/contracts/types/UFixed.sol/UFixedMathLib.dbg.json +0 -4
  710. package/artifacts/contracts/types/UFixed.sol/UFixedMathLib.json +0 -479
  711. package/artifacts/contracts/types/Version.sol/VersionLib.dbg.json +0 -4
  712. package/artifacts/contracts/types/Version.sol/VersionLib.json +0 -139
  713. package/artifacts/contracts/types/Version.sol/VersionPartLib.dbg.json +0 -4
  714. package/artifacts/contracts/types/Version.sol/VersionPartLib.json +0 -30
  715. package/contracts/components/BaseComponent.sol +0 -88
  716. package/contracts/components/IBaseComponent.sol +0 -19
  717. package/contracts/components/IPoolComponent.sol +0 -57
  718. package/contracts/components/IProductComponent.sol +0 -19
  719. package/contracts/components/Pool.sol +0 -174
  720. package/contracts/components/Product.sol +0 -117
  721. package/contracts/experiment/errors/Require.sol +0 -38
  722. package/contracts/experiment/errors/Revert.sol +0 -44
  723. package/contracts/experiment/inheritance/A.sol +0 -53
  724. package/contracts/experiment/inheritance/B.sol +0 -28
  725. package/contracts/experiment/inheritance/C.sol +0 -34
  726. package/contracts/experiment/inheritance/IA.sol +0 -13
  727. package/contracts/experiment/inheritance/IB.sol +0 -10
  728. package/contracts/experiment/inheritance/IC.sol +0 -12
  729. package/contracts/experiment/statemachine/Dummy.sol +0 -27
  730. package/contracts/experiment/statemachine/ISM.sol +0 -25
  731. package/contracts/experiment/statemachine/README.md +0 -112
  732. package/contracts/experiment/statemachine/SM.sol +0 -57
  733. package/contracts/experiment/statemachine/SimpleStateMachine.sol +0 -31
  734. package/contracts/experiment/types/TypeA.sol +0 -47
  735. package/contracts/experiment/types/TypeB.sol +0 -29
  736. package/contracts/instance/IInstanceLinked.sol +0 -8
  737. package/contracts/instance/base/ComponentServiceBase.sol +0 -42
  738. package/contracts/instance/base/IInstanceBase.sol +0 -14
  739. package/contracts/instance/base/IKeyValueStore.sol +0 -49
  740. package/contracts/instance/base/IService.sol +0 -15
  741. package/contracts/instance/base/InstanceBase.sol +0 -80
  742. package/contracts/instance/base/KeyValueStore.sol +0 -156
  743. package/contracts/instance/base/Lifecycle.sol +0 -95
  744. package/contracts/instance/base/ModuleBase.sol +0 -52
  745. package/contracts/instance/base/ServiceBase.sol +0 -37
  746. package/contracts/instance/module/access/Access.sol +0 -149
  747. package/contracts/instance/module/access/IAccess.sol +0 -53
  748. package/contracts/instance/module/bundle/BundleModule.sol +0 -136
  749. package/contracts/instance/module/bundle/IBundle.sol +0 -58
  750. package/contracts/instance/module/compensation/CompensationModule.sol +0 -8
  751. package/contracts/instance/module/compensation/ICompensation.sol +0 -10
  752. package/contracts/instance/module/component/ComponentModule.sol +0 -95
  753. package/contracts/instance/module/component/IComponent.sol +0 -53
  754. package/contracts/instance/module/policy/IPolicy.sol +0 -60
  755. package/contracts/instance/module/policy/PolicyModule.sol +0 -76
  756. package/contracts/instance/module/pool/IPoolModule.sol +0 -41
  757. package/contracts/instance/module/pool/PoolModule.sol +0 -87
  758. package/contracts/instance/module/risk/IRisk.sol +0 -10
  759. package/contracts/instance/module/risk/RiskModule.sol +0 -8
  760. package/contracts/instance/module/treasury/ITreasury.sol +0 -103
  761. package/contracts/instance/module/treasury/TokenHandler.sol +0 -48
  762. package/contracts/instance/module/treasury/TreasuryModule.sol +0 -152
  763. package/contracts/instance/service/ComponentOwnerService.sol +0 -170
  764. package/contracts/instance/service/IComponentOwnerService.sol +0 -22
  765. package/contracts/instance/service/IPoolService.sol +0 -30
  766. package/contracts/instance/service/IProductService.sol +0 -58
  767. package/contracts/instance/service/PoolService.sol +0 -123
  768. package/contracts/instance/service/ProductService.sol +0 -354
  769. package/contracts/registry/IChainNft.sol +0 -21
  770. package/contracts/registry/IRegistryLinked.sol +0 -8
  771. package/contracts/shared/ERC165.sol +0 -21
  772. package/contracts/shared/IOwnable.sol +0 -6
  773. package/contracts/shared/IVersionable.sol +0 -52
  774. package/contracts/shared/Versionable.sol +0 -89
  775. package/contracts/test/TestFee.sol +0 -25
  776. package/contracts/test/TestPool.sol +0 -22
  777. package/contracts/test/TestProduct.sol +0 -44
  778. package/contracts/test/TestRegisterable.sol +0 -19
  779. package/contracts/test/TestRoleId.sol +0 -14
  780. package/contracts/test/TestService.sol +0 -32
  781. package/contracts/test/TestToken.sol +0 -26
  782. package/contracts/test/TestVersion.sol +0 -44
  783. package/contracts/test/TestVersionable.sol +0 -17
  784. package/contracts/types/ChainId.sol +0 -38
  785. package/contracts/types/Fee.sol +0 -51
  786. package/contracts/types/NftIdSet.sol +0 -60
  787. package/contracts/types/ObjectType.sol +0 -115
  788. package/contracts/types/RoleId.sol +0 -38
  789. package/contracts/types/Version.sol +0 -95
@@ -0,0 +1,1494 @@
1
+ {
2
+ "_format": "hh-sol-artifact-1",
3
+ "contractName": "AccessAdmin",
4
+ "sourceName": "contracts/authorization/AccessAdmin.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": "ErrorAccessAdminAccessManagerEmptyName",
47
+ "type": "error"
48
+ },
49
+ {
50
+ "inputs": [
51
+ {
52
+ "internalType": "address",
53
+ "name": "authority",
54
+ "type": "address"
55
+ }
56
+ ],
57
+ "name": "ErrorAccessAdminAccessManagerNotAccessManager",
58
+ "type": "error"
59
+ },
60
+ {
61
+ "inputs": [],
62
+ "name": "ErrorAccessAdminAdminRoleMissing",
63
+ "type": "error"
64
+ },
65
+ {
66
+ "inputs": [
67
+ {
68
+ "internalType": "address",
69
+ "name": "authorization",
70
+ "type": "address"
71
+ }
72
+ ],
73
+ "name": "ErrorAccessAdminAlreadyInitialized",
74
+ "type": "error"
75
+ },
76
+ {
77
+ "inputs": [
78
+ {
79
+ "internalType": "address",
80
+ "name": "authority",
81
+ "type": "address"
82
+ }
83
+ ],
84
+ "name": "ErrorAccessAdminAuthorityNotContract",
85
+ "type": "error"
86
+ },
87
+ {
88
+ "inputs": [
89
+ {
90
+ "internalType": "address",
91
+ "name": "target",
92
+ "type": "address"
93
+ }
94
+ ],
95
+ "name": "ErrorAccessAdminAuthorizeForAdminRoleInvalid",
96
+ "type": "error"
97
+ },
98
+ {
99
+ "inputs": [
100
+ {
101
+ "internalType": "address",
102
+ "name": "authorization",
103
+ "type": "address"
104
+ },
105
+ {
106
+ "internalType": "ObjectType",
107
+ "name": "expectedDomain",
108
+ "type": "uint8"
109
+ },
110
+ {
111
+ "internalType": "ObjectType",
112
+ "name": "actualDomain",
113
+ "type": "uint8"
114
+ }
115
+ ],
116
+ "name": "ErrorAccessAdminDomainMismatch",
117
+ "type": "error"
118
+ },
119
+ {
120
+ "inputs": [
121
+ {
122
+ "internalType": "RoleId",
123
+ "name": "adminRoleId",
124
+ "type": "uint64"
125
+ },
126
+ {
127
+ "internalType": "address",
128
+ "name": "account",
129
+ "type": "address"
130
+ }
131
+ ],
132
+ "name": "ErrorAccessAdminNotAdminOfRole",
133
+ "type": "error"
134
+ },
135
+ {
136
+ "inputs": [
137
+ {
138
+ "internalType": "address",
139
+ "name": "authorization",
140
+ "type": "address"
141
+ }
142
+ ],
143
+ "name": "ErrorAccessAdminNotAuthorization",
144
+ "type": "error"
145
+ },
146
+ {
147
+ "inputs": [],
148
+ "name": "ErrorAccessAdminNotDeployer",
149
+ "type": "error"
150
+ },
151
+ {
152
+ "inputs": [
153
+ {
154
+ "internalType": "address",
155
+ "name": "registerable",
156
+ "type": "address"
157
+ }
158
+ ],
159
+ "name": "ErrorAccessAdminNotRegistered",
160
+ "type": "error"
161
+ },
162
+ {
163
+ "inputs": [
164
+ {
165
+ "internalType": "address",
166
+ "name": "registry",
167
+ "type": "address"
168
+ }
169
+ ],
170
+ "name": "ErrorAccessAdminNotRegistry",
171
+ "type": "error"
172
+ },
173
+ {
174
+ "inputs": [
175
+ {
176
+ "internalType": "RoleId",
177
+ "name": "roleId",
178
+ "type": "uint64"
179
+ },
180
+ {
181
+ "internalType": "address",
182
+ "name": "account",
183
+ "type": "address"
184
+ }
185
+ ],
186
+ "name": "ErrorAccessAdminNotRoleOwner",
187
+ "type": "error"
188
+ },
189
+ {
190
+ "inputs": [
191
+ {
192
+ "internalType": "address",
193
+ "name": "authorization",
194
+ "type": "address"
195
+ },
196
+ {
197
+ "internalType": "VersionPart",
198
+ "name": "expectedRelease",
199
+ "type": "uint8"
200
+ },
201
+ {
202
+ "internalType": "VersionPart",
203
+ "name": "actualRelease",
204
+ "type": "uint8"
205
+ }
206
+ ],
207
+ "name": "ErrorAccessAdminReleaseMismatch",
208
+ "type": "error"
209
+ },
210
+ {
211
+ "inputs": [
212
+ {
213
+ "internalType": "RoleId",
214
+ "name": "adminRoleId",
215
+ "type": "uint64"
216
+ }
217
+ ],
218
+ "name": "ErrorAccessAdminRoleAdminNotExisting",
219
+ "type": "error"
220
+ },
221
+ {
222
+ "inputs": [
223
+ {
224
+ "internalType": "RoleId",
225
+ "name": "roleId",
226
+ "type": "uint64"
227
+ },
228
+ {
229
+ "internalType": "string",
230
+ "name": "name",
231
+ "type": "string"
232
+ }
233
+ ],
234
+ "name": "ErrorAccessAdminRoleAlreadyCreated",
235
+ "type": "error"
236
+ },
237
+ {
238
+ "inputs": [
239
+ {
240
+ "internalType": "RoleId",
241
+ "name": "roleId",
242
+ "type": "uint64"
243
+ }
244
+ ],
245
+ "name": "ErrorAccessAdminRoleIsLocked",
246
+ "type": "error"
247
+ },
248
+ {
249
+ "inputs": [
250
+ {
251
+ "internalType": "RoleId",
252
+ "name": "roleId",
253
+ "type": "uint64"
254
+ }
255
+ ],
256
+ "name": "ErrorAccessAdminRoleIsPaused",
257
+ "type": "error"
258
+ },
259
+ {
260
+ "inputs": [
261
+ {
262
+ "internalType": "RoleId",
263
+ "name": "roleId",
264
+ "type": "uint64"
265
+ },
266
+ {
267
+ "internalType": "address",
268
+ "name": "notContract",
269
+ "type": "address"
270
+ }
271
+ ],
272
+ "name": "ErrorAccessAdminRoleMemberNotContract",
273
+ "type": "error"
274
+ },
275
+ {
276
+ "inputs": [
277
+ {
278
+ "internalType": "RoleId",
279
+ "name": "roleId",
280
+ "type": "uint64"
281
+ },
282
+ {
283
+ "internalType": "address",
284
+ "name": "expectedMember",
285
+ "type": "address"
286
+ }
287
+ ],
288
+ "name": "ErrorAccessAdminRoleMemberRemovalDisabled",
289
+ "type": "error"
290
+ },
291
+ {
292
+ "inputs": [
293
+ {
294
+ "internalType": "RoleId",
295
+ "name": "roleId",
296
+ "type": "uint64"
297
+ },
298
+ {
299
+ "internalType": "uint256",
300
+ "name": "memberCountLimit",
301
+ "type": "uint256"
302
+ }
303
+ ],
304
+ "name": "ErrorAccessAdminRoleMembersLimitReached",
305
+ "type": "error"
306
+ },
307
+ {
308
+ "inputs": [
309
+ {
310
+ "internalType": "RoleId",
311
+ "name": "roleId",
312
+ "type": "uint64"
313
+ },
314
+ {
315
+ "internalType": "string",
316
+ "name": "name",
317
+ "type": "string"
318
+ },
319
+ {
320
+ "internalType": "RoleId",
321
+ "name": "existingRoleId",
322
+ "type": "uint64"
323
+ }
324
+ ],
325
+ "name": "ErrorAccessAdminRoleNameAlreadyExists",
326
+ "type": "error"
327
+ },
328
+ {
329
+ "inputs": [
330
+ {
331
+ "internalType": "RoleId",
332
+ "name": "roleId",
333
+ "type": "uint64"
334
+ }
335
+ ],
336
+ "name": "ErrorAccessAdminRoleNameEmpty",
337
+ "type": "error"
338
+ },
339
+ {
340
+ "inputs": [
341
+ {
342
+ "internalType": "RoleId",
343
+ "name": "roleId",
344
+ "type": "uint64"
345
+ }
346
+ ],
347
+ "name": "ErrorAccessAdminRoleUnknown",
348
+ "type": "error"
349
+ },
350
+ {
351
+ "inputs": [],
352
+ "name": "ErrorAccessAdminTagetNotLockable",
353
+ "type": "error"
354
+ },
355
+ {
356
+ "inputs": [
357
+ {
358
+ "internalType": "address",
359
+ "name": "target",
360
+ "type": "address"
361
+ },
362
+ {
363
+ "internalType": "string",
364
+ "name": "name",
365
+ "type": "string"
366
+ }
367
+ ],
368
+ "name": "ErrorAccessAdminTargetAlreadyCreated",
369
+ "type": "error"
370
+ },
371
+ {
372
+ "inputs": [
373
+ {
374
+ "internalType": "address",
375
+ "name": "target",
376
+ "type": "address"
377
+ },
378
+ {
379
+ "internalType": "bool",
380
+ "name": "isLocked",
381
+ "type": "bool"
382
+ }
383
+ ],
384
+ "name": "ErrorAccessAdminTargetAlreadyLocked",
385
+ "type": "error"
386
+ },
387
+ {
388
+ "inputs": [
389
+ {
390
+ "internalType": "address",
391
+ "name": "expectedAuthority",
392
+ "type": "address"
393
+ },
394
+ {
395
+ "internalType": "address",
396
+ "name": "actualAuthority",
397
+ "type": "address"
398
+ }
399
+ ],
400
+ "name": "ErrorAccessAdminTargetAuthorityMismatch",
401
+ "type": "error"
402
+ },
403
+ {
404
+ "inputs": [
405
+ {
406
+ "internalType": "address",
407
+ "name": "target",
408
+ "type": "address"
409
+ },
410
+ {
411
+ "internalType": "string",
412
+ "name": "name",
413
+ "type": "string"
414
+ },
415
+ {
416
+ "internalType": "address",
417
+ "name": "existingTarget",
418
+ "type": "address"
419
+ }
420
+ ],
421
+ "name": "ErrorAccessAdminTargetNameAlreadyExists",
422
+ "type": "error"
423
+ },
424
+ {
425
+ "inputs": [
426
+ {
427
+ "internalType": "address",
428
+ "name": "target",
429
+ "type": "address"
430
+ }
431
+ ],
432
+ "name": "ErrorAccessAdminTargetNameEmpty",
433
+ "type": "error"
434
+ },
435
+ {
436
+ "inputs": [
437
+ {
438
+ "internalType": "address",
439
+ "name": "target",
440
+ "type": "address"
441
+ }
442
+ ],
443
+ "name": "ErrorAccessAdminTargetNotAccessManaged",
444
+ "type": "error"
445
+ },
446
+ {
447
+ "inputs": [
448
+ {
449
+ "internalType": "address",
450
+ "name": "target",
451
+ "type": "address"
452
+ }
453
+ ],
454
+ "name": "ErrorAccessAdminTargetNotCreated",
455
+ "type": "error"
456
+ },
457
+ {
458
+ "inputs": [
459
+ {
460
+ "internalType": "address",
461
+ "name": "target",
462
+ "type": "address"
463
+ }
464
+ ],
465
+ "name": "ErrorAccessAdminTargetNotRegistered",
466
+ "type": "error"
467
+ },
468
+ {
469
+ "inputs": [
470
+ {
471
+ "internalType": "address",
472
+ "name": "target",
473
+ "type": "address"
474
+ },
475
+ {
476
+ "internalType": "ObjectType",
477
+ "name": "expectedType",
478
+ "type": "uint8"
479
+ },
480
+ {
481
+ "internalType": "ObjectType",
482
+ "name": "actualType",
483
+ "type": "uint8"
484
+ }
485
+ ],
486
+ "name": "ErrorAccessAdminTargetTypeMismatch",
487
+ "type": "error"
488
+ },
489
+ {
490
+ "inputs": [
491
+ {
492
+ "internalType": "address",
493
+ "name": "target",
494
+ "type": "address"
495
+ }
496
+ ],
497
+ "name": "ErrorAccessAdminTargetUnknown",
498
+ "type": "error"
499
+ },
500
+ {
501
+ "inputs": [
502
+ {
503
+ "internalType": "address",
504
+ "name": "registryAddress",
505
+ "type": "address"
506
+ }
507
+ ],
508
+ "name": "ErrorNotRegistry",
509
+ "type": "error"
510
+ },
511
+ {
512
+ "inputs": [],
513
+ "name": "InvalidInitialization",
514
+ "type": "error"
515
+ },
516
+ {
517
+ "inputs": [],
518
+ "name": "NotInitializing",
519
+ "type": "error"
520
+ },
521
+ {
522
+ "inputs": [],
523
+ "name": "ReentrancyGuardReentrantCall",
524
+ "type": "error"
525
+ },
526
+ {
527
+ "anonymous": false,
528
+ "inputs": [
529
+ {
530
+ "indexed": false,
531
+ "internalType": "address",
532
+ "name": "authority",
533
+ "type": "address"
534
+ }
535
+ ],
536
+ "name": "AuthorityUpdated",
537
+ "type": "event"
538
+ },
539
+ {
540
+ "anonymous": false,
541
+ "inputs": [
542
+ {
543
+ "indexed": false,
544
+ "internalType": "uint64",
545
+ "name": "version",
546
+ "type": "uint64"
547
+ }
548
+ ],
549
+ "name": "Initialized",
550
+ "type": "event"
551
+ },
552
+ {
553
+ "anonymous": false,
554
+ "inputs": [
555
+ {
556
+ "indexed": false,
557
+ "internalType": "string",
558
+ "name": "admin",
559
+ "type": "string"
560
+ },
561
+ {
562
+ "indexed": false,
563
+ "internalType": "address",
564
+ "name": "target",
565
+ "type": "address"
566
+ },
567
+ {
568
+ "indexed": false,
569
+ "internalType": "string",
570
+ "name": "func",
571
+ "type": "string"
572
+ }
573
+ ],
574
+ "name": "LogAccessAdminFunctionGranted",
575
+ "type": "event"
576
+ },
577
+ {
578
+ "anonymous": false,
579
+ "inputs": [
580
+ {
581
+ "indexed": false,
582
+ "internalType": "string",
583
+ "name": "admin",
584
+ "type": "string"
585
+ },
586
+ {
587
+ "indexed": false,
588
+ "internalType": "RoleId",
589
+ "name": "roleId",
590
+ "type": "uint64"
591
+ },
592
+ {
593
+ "indexed": false,
594
+ "internalType": "enum IAccess.RoleType",
595
+ "name": "roleType",
596
+ "type": "uint8"
597
+ },
598
+ {
599
+ "indexed": false,
600
+ "internalType": "RoleId",
601
+ "name": "roleAdminId",
602
+ "type": "uint64"
603
+ },
604
+ {
605
+ "indexed": false,
606
+ "internalType": "string",
607
+ "name": "name",
608
+ "type": "string"
609
+ }
610
+ ],
611
+ "name": "LogAccessAdminRoleCreated",
612
+ "type": "event"
613
+ },
614
+ {
615
+ "anonymous": false,
616
+ "inputs": [
617
+ {
618
+ "indexed": false,
619
+ "internalType": "string",
620
+ "name": "admin",
621
+ "type": "string"
622
+ },
623
+ {
624
+ "indexed": false,
625
+ "internalType": "address",
626
+ "name": "account",
627
+ "type": "address"
628
+ },
629
+ {
630
+ "indexed": false,
631
+ "internalType": "string",
632
+ "name": "roleName",
633
+ "type": "string"
634
+ }
635
+ ],
636
+ "name": "LogAccessAdminRoleGranted",
637
+ "type": "event"
638
+ },
639
+ {
640
+ "anonymous": false,
641
+ "inputs": [
642
+ {
643
+ "indexed": false,
644
+ "internalType": "string",
645
+ "name": "admin",
646
+ "type": "string"
647
+ },
648
+ {
649
+ "indexed": false,
650
+ "internalType": "address",
651
+ "name": "account",
652
+ "type": "address"
653
+ },
654
+ {
655
+ "indexed": false,
656
+ "internalType": "string",
657
+ "name": "roleName",
658
+ "type": "string"
659
+ }
660
+ ],
661
+ "name": "LogAccessAdminRoleRevoked",
662
+ "type": "event"
663
+ },
664
+ {
665
+ "anonymous": false,
666
+ "inputs": [
667
+ {
668
+ "indexed": false,
669
+ "internalType": "string",
670
+ "name": "admin",
671
+ "type": "string"
672
+ },
673
+ {
674
+ "indexed": false,
675
+ "internalType": "address",
676
+ "name": "target",
677
+ "type": "address"
678
+ },
679
+ {
680
+ "indexed": false,
681
+ "internalType": "string",
682
+ "name": "name",
683
+ "type": "string"
684
+ }
685
+ ],
686
+ "name": "LogAccessAdminTargetCreated",
687
+ "type": "event"
688
+ },
689
+ {
690
+ "inputs": [],
691
+ "name": "ADMIN_ROLE_NAME",
692
+ "outputs": [
693
+ {
694
+ "internalType": "string",
695
+ "name": "",
696
+ "type": "string"
697
+ }
698
+ ],
699
+ "stateMutability": "view",
700
+ "type": "function"
701
+ },
702
+ {
703
+ "inputs": [],
704
+ "name": "PUBLIC_ROLE_NAME",
705
+ "outputs": [
706
+ {
707
+ "internalType": "string",
708
+ "name": "",
709
+ "type": "string"
710
+ }
711
+ ],
712
+ "stateMutability": "view",
713
+ "type": "function"
714
+ },
715
+ {
716
+ "inputs": [],
717
+ "name": "authority",
718
+ "outputs": [
719
+ {
720
+ "internalType": "address",
721
+ "name": "",
722
+ "type": "address"
723
+ }
724
+ ],
725
+ "stateMutability": "view",
726
+ "type": "function"
727
+ },
728
+ {
729
+ "inputs": [
730
+ {
731
+ "internalType": "address",
732
+ "name": "target",
733
+ "type": "address"
734
+ }
735
+ ],
736
+ "name": "authorizedFunctions",
737
+ "outputs": [
738
+ {
739
+ "internalType": "uint256",
740
+ "name": "numberOfFunctions",
741
+ "type": "uint256"
742
+ }
743
+ ],
744
+ "stateMutability": "view",
745
+ "type": "function"
746
+ },
747
+ {
748
+ "inputs": [],
749
+ "name": "deployer",
750
+ "outputs": [
751
+ {
752
+ "internalType": "address",
753
+ "name": "",
754
+ "type": "address"
755
+ }
756
+ ],
757
+ "stateMutability": "view",
758
+ "type": "function"
759
+ },
760
+ {
761
+ "inputs": [],
762
+ "name": "getAdminRole",
763
+ "outputs": [
764
+ {
765
+ "internalType": "RoleId",
766
+ "name": "roleId",
767
+ "type": "uint64"
768
+ }
769
+ ],
770
+ "stateMutability": "view",
771
+ "type": "function"
772
+ },
773
+ {
774
+ "inputs": [],
775
+ "name": "getAuthorization",
776
+ "outputs": [
777
+ {
778
+ "internalType": "contract IAuthorization",
779
+ "name": "authorization",
780
+ "type": "address"
781
+ }
782
+ ],
783
+ "stateMutability": "view",
784
+ "type": "function"
785
+ },
786
+ {
787
+ "inputs": [
788
+ {
789
+ "internalType": "address",
790
+ "name": "target",
791
+ "type": "address"
792
+ },
793
+ {
794
+ "internalType": "uint256",
795
+ "name": "idx",
796
+ "type": "uint256"
797
+ }
798
+ ],
799
+ "name": "getAuthorizedFunction",
800
+ "outputs": [
801
+ {
802
+ "components": [
803
+ {
804
+ "internalType": "Str",
805
+ "name": "name",
806
+ "type": "bytes32"
807
+ },
808
+ {
809
+ "internalType": "Selector",
810
+ "name": "selector",
811
+ "type": "bytes4"
812
+ },
813
+ {
814
+ "internalType": "Timestamp",
815
+ "name": "createdAt",
816
+ "type": "uint40"
817
+ }
818
+ ],
819
+ "internalType": "struct IAccess.FunctionInfo",
820
+ "name": "func",
821
+ "type": "tuple"
822
+ },
823
+ {
824
+ "internalType": "RoleId",
825
+ "name": "roleId",
826
+ "type": "uint64"
827
+ }
828
+ ],
829
+ "stateMutability": "view",
830
+ "type": "function"
831
+ },
832
+ {
833
+ "inputs": [],
834
+ "name": "getLinkedNftId",
835
+ "outputs": [
836
+ {
837
+ "internalType": "NftId",
838
+ "name": "linkedNftId",
839
+ "type": "uint96"
840
+ }
841
+ ],
842
+ "stateMutability": "view",
843
+ "type": "function"
844
+ },
845
+ {
846
+ "inputs": [],
847
+ "name": "getLinkedOwner",
848
+ "outputs": [
849
+ {
850
+ "internalType": "address",
851
+ "name": "linkedOwner",
852
+ "type": "address"
853
+ }
854
+ ],
855
+ "stateMutability": "view",
856
+ "type": "function"
857
+ },
858
+ {
859
+ "inputs": [],
860
+ "name": "getPublicRole",
861
+ "outputs": [
862
+ {
863
+ "internalType": "RoleId",
864
+ "name": "roleId",
865
+ "type": "uint64"
866
+ }
867
+ ],
868
+ "stateMutability": "view",
869
+ "type": "function"
870
+ },
871
+ {
872
+ "inputs": [],
873
+ "name": "getRegistry",
874
+ "outputs": [
875
+ {
876
+ "internalType": "contract IRegistry",
877
+ "name": "registry",
878
+ "type": "address"
879
+ }
880
+ ],
881
+ "stateMutability": "view",
882
+ "type": "function"
883
+ },
884
+ {
885
+ "inputs": [],
886
+ "name": "getRelease",
887
+ "outputs": [
888
+ {
889
+ "internalType": "VersionPart",
890
+ "name": "release",
891
+ "type": "uint8"
892
+ }
893
+ ],
894
+ "stateMutability": "view",
895
+ "type": "function"
896
+ },
897
+ {
898
+ "inputs": [
899
+ {
900
+ "internalType": "string",
901
+ "name": "name",
902
+ "type": "string"
903
+ }
904
+ ],
905
+ "name": "getRoleForName",
906
+ "outputs": [
907
+ {
908
+ "internalType": "RoleId",
909
+ "name": "roleId",
910
+ "type": "uint64"
911
+ }
912
+ ],
913
+ "stateMutability": "view",
914
+ "type": "function"
915
+ },
916
+ {
917
+ "inputs": [
918
+ {
919
+ "internalType": "uint256",
920
+ "name": "idx",
921
+ "type": "uint256"
922
+ }
923
+ ],
924
+ "name": "getRoleId",
925
+ "outputs": [
926
+ {
927
+ "internalType": "RoleId",
928
+ "name": "roleId",
929
+ "type": "uint64"
930
+ }
931
+ ],
932
+ "stateMutability": "view",
933
+ "type": "function"
934
+ },
935
+ {
936
+ "inputs": [
937
+ {
938
+ "internalType": "RoleId",
939
+ "name": "roleId",
940
+ "type": "uint64"
941
+ }
942
+ ],
943
+ "name": "getRoleInfo",
944
+ "outputs": [
945
+ {
946
+ "components": [
947
+ {
948
+ "internalType": "RoleId",
949
+ "name": "adminRoleId",
950
+ "type": "uint64"
951
+ },
952
+ {
953
+ "internalType": "enum IAccess.RoleType",
954
+ "name": "roleType",
955
+ "type": "uint8"
956
+ },
957
+ {
958
+ "internalType": "uint32",
959
+ "name": "maxMemberCount",
960
+ "type": "uint32"
961
+ },
962
+ {
963
+ "internalType": "Str",
964
+ "name": "name",
965
+ "type": "bytes32"
966
+ },
967
+ {
968
+ "internalType": "Timestamp",
969
+ "name": "createdAt",
970
+ "type": "uint40"
971
+ },
972
+ {
973
+ "internalType": "Timestamp",
974
+ "name": "pausedAt",
975
+ "type": "uint40"
976
+ }
977
+ ],
978
+ "internalType": "struct IAccess.RoleInfo",
979
+ "name": "",
980
+ "type": "tuple"
981
+ }
982
+ ],
983
+ "stateMutability": "view",
984
+ "type": "function"
985
+ },
986
+ {
987
+ "inputs": [
988
+ {
989
+ "internalType": "RoleId",
990
+ "name": "roleId",
991
+ "type": "uint64"
992
+ },
993
+ {
994
+ "internalType": "uint256",
995
+ "name": "idx",
996
+ "type": "uint256"
997
+ }
998
+ ],
999
+ "name": "getRoleMember",
1000
+ "outputs": [
1001
+ {
1002
+ "internalType": "address",
1003
+ "name": "account",
1004
+ "type": "address"
1005
+ }
1006
+ ],
1007
+ "stateMutability": "view",
1008
+ "type": "function"
1009
+ },
1010
+ {
1011
+ "inputs": [
1012
+ {
1013
+ "internalType": "uint256",
1014
+ "name": "idx",
1015
+ "type": "uint256"
1016
+ }
1017
+ ],
1018
+ "name": "getTargetAddress",
1019
+ "outputs": [
1020
+ {
1021
+ "internalType": "address",
1022
+ "name": "target",
1023
+ "type": "address"
1024
+ }
1025
+ ],
1026
+ "stateMutability": "view",
1027
+ "type": "function"
1028
+ },
1029
+ {
1030
+ "inputs": [
1031
+ {
1032
+ "internalType": "Str",
1033
+ "name": "name",
1034
+ "type": "bytes32"
1035
+ }
1036
+ ],
1037
+ "name": "getTargetForName",
1038
+ "outputs": [
1039
+ {
1040
+ "internalType": "address",
1041
+ "name": "target",
1042
+ "type": "address"
1043
+ }
1044
+ ],
1045
+ "stateMutability": "view",
1046
+ "type": "function"
1047
+ },
1048
+ {
1049
+ "inputs": [
1050
+ {
1051
+ "internalType": "address",
1052
+ "name": "target",
1053
+ "type": "address"
1054
+ }
1055
+ ],
1056
+ "name": "getTargetInfo",
1057
+ "outputs": [
1058
+ {
1059
+ "components": [
1060
+ {
1061
+ "internalType": "Str",
1062
+ "name": "name",
1063
+ "type": "bytes32"
1064
+ },
1065
+ {
1066
+ "internalType": "bool",
1067
+ "name": "isCustom",
1068
+ "type": "bool"
1069
+ },
1070
+ {
1071
+ "internalType": "Timestamp",
1072
+ "name": "createdAt",
1073
+ "type": "uint40"
1074
+ }
1075
+ ],
1076
+ "internalType": "struct IAccess.TargetInfo",
1077
+ "name": "targetInfo",
1078
+ "type": "tuple"
1079
+ }
1080
+ ],
1081
+ "stateMutability": "view",
1082
+ "type": "function"
1083
+ },
1084
+ {
1085
+ "inputs": [
1086
+ {
1087
+ "internalType": "address",
1088
+ "name": "account",
1089
+ "type": "address"
1090
+ },
1091
+ {
1092
+ "internalType": "RoleId",
1093
+ "name": "roleId",
1094
+ "type": "uint64"
1095
+ }
1096
+ ],
1097
+ "name": "hasAdminRole",
1098
+ "outputs": [
1099
+ {
1100
+ "internalType": "bool",
1101
+ "name": "",
1102
+ "type": "bool"
1103
+ }
1104
+ ],
1105
+ "stateMutability": "view",
1106
+ "type": "function"
1107
+ },
1108
+ {
1109
+ "inputs": [
1110
+ {
1111
+ "internalType": "address",
1112
+ "name": "account",
1113
+ "type": "address"
1114
+ },
1115
+ {
1116
+ "internalType": "RoleId",
1117
+ "name": "roleId",
1118
+ "type": "uint64"
1119
+ }
1120
+ ],
1121
+ "name": "hasRole",
1122
+ "outputs": [
1123
+ {
1124
+ "internalType": "bool",
1125
+ "name": "",
1126
+ "type": "bool"
1127
+ }
1128
+ ],
1129
+ "stateMutability": "view",
1130
+ "type": "function"
1131
+ },
1132
+ {
1133
+ "inputs": [
1134
+ {
1135
+ "internalType": "address",
1136
+ "name": "authority",
1137
+ "type": "address"
1138
+ },
1139
+ {
1140
+ "internalType": "string",
1141
+ "name": "adminName",
1142
+ "type": "string"
1143
+ }
1144
+ ],
1145
+ "name": "initialize",
1146
+ "outputs": [],
1147
+ "stateMutability": "nonpayable",
1148
+ "type": "function"
1149
+ },
1150
+ {
1151
+ "inputs": [],
1152
+ "name": "isConsumingScheduledOp",
1153
+ "outputs": [
1154
+ {
1155
+ "internalType": "bytes4",
1156
+ "name": "",
1157
+ "type": "bytes4"
1158
+ }
1159
+ ],
1160
+ "stateMutability": "view",
1161
+ "type": "function"
1162
+ },
1163
+ {
1164
+ "inputs": [],
1165
+ "name": "isLocked",
1166
+ "outputs": [
1167
+ {
1168
+ "internalType": "bool",
1169
+ "name": "locked",
1170
+ "type": "bool"
1171
+ }
1172
+ ],
1173
+ "stateMutability": "view",
1174
+ "type": "function"
1175
+ },
1176
+ {
1177
+ "inputs": [
1178
+ {
1179
+ "internalType": "address",
1180
+ "name": "target",
1181
+ "type": "address"
1182
+ }
1183
+ ],
1184
+ "name": "isTargetLocked",
1185
+ "outputs": [
1186
+ {
1187
+ "internalType": "bool",
1188
+ "name": "locked",
1189
+ "type": "bool"
1190
+ }
1191
+ ],
1192
+ "stateMutability": "view",
1193
+ "type": "function"
1194
+ },
1195
+ {
1196
+ "inputs": [
1197
+ {
1198
+ "internalType": "RoleId",
1199
+ "name": "roleId",
1200
+ "type": "uint64"
1201
+ }
1202
+ ],
1203
+ "name": "roleExists",
1204
+ "outputs": [
1205
+ {
1206
+ "internalType": "bool",
1207
+ "name": "exists",
1208
+ "type": "bool"
1209
+ }
1210
+ ],
1211
+ "stateMutability": "view",
1212
+ "type": "function"
1213
+ },
1214
+ {
1215
+ "inputs": [
1216
+ {
1217
+ "internalType": "RoleId",
1218
+ "name": "roleId",
1219
+ "type": "uint64"
1220
+ }
1221
+ ],
1222
+ "name": "roleMembers",
1223
+ "outputs": [
1224
+ {
1225
+ "internalType": "uint256",
1226
+ "name": "numberOfMembers",
1227
+ "type": "uint256"
1228
+ }
1229
+ ],
1230
+ "stateMutability": "view",
1231
+ "type": "function"
1232
+ },
1233
+ {
1234
+ "inputs": [],
1235
+ "name": "roles",
1236
+ "outputs": [
1237
+ {
1238
+ "internalType": "uint256",
1239
+ "name": "numberOfRoles",
1240
+ "type": "uint256"
1241
+ }
1242
+ ],
1243
+ "stateMutability": "view",
1244
+ "type": "function"
1245
+ },
1246
+ {
1247
+ "inputs": [
1248
+ {
1249
+ "internalType": "address",
1250
+ "name": "newAuthority",
1251
+ "type": "address"
1252
+ }
1253
+ ],
1254
+ "name": "setAuthority",
1255
+ "outputs": [],
1256
+ "stateMutability": "nonpayable",
1257
+ "type": "function"
1258
+ },
1259
+ {
1260
+ "inputs": [
1261
+ {
1262
+ "internalType": "address",
1263
+ "name": "target",
1264
+ "type": "address"
1265
+ }
1266
+ ],
1267
+ "name": "targetExists",
1268
+ "outputs": [
1269
+ {
1270
+ "internalType": "bool",
1271
+ "name": "exists",
1272
+ "type": "bool"
1273
+ }
1274
+ ],
1275
+ "stateMutability": "view",
1276
+ "type": "function"
1277
+ },
1278
+ {
1279
+ "inputs": [],
1280
+ "name": "targets",
1281
+ "outputs": [
1282
+ {
1283
+ "internalType": "uint256",
1284
+ "name": "numberOfTargets",
1285
+ "type": "uint256"
1286
+ }
1287
+ ],
1288
+ "stateMutability": "view",
1289
+ "type": "function"
1290
+ }
1291
+ ],
1292
+ "bytecode": "0x6080604052348015600e575f80fd5b5061231a8061001c5f395ff3fe608060405234801561000f575f80fd5b50600436106101e7575f3560e01c80637a9e5e4b11610109578063bf7e214f1161009e578063d78a83b11161006e578063d78a83b114610550578063dd22b08a14610563578063f399e22e1461056b578063f60458ba1461057e575f80fd5b8063bf7e214f146104fc578063c6a0017914610519578063cd55e51b1461052c578063d5f394881461053f575f80fd5b8063a4e2d634116100d9578063a4e2d6341461048e578063b3ecf23614610496578063bc62a0a51461049e578063bcfb11b0146104d3575f80fd5b80637a9e5e4b1461043d5780638308ceb1146104525780638fb360371461045a5780639cad00521461047b575f80fd5b80633fd855611161017f57806364fc31421161014f57806364fc3142146103ec5780636bd1c0eb146103ff578063728a61a81461041057806376b707b714610423575f80fd5b80633fd85561146103865780635ab1bd53146103b15780635bfa5027146103b9578063605aa10a146103d9575f80fd5b806326decd40116101ba57806326decd40146103085780633406b1521461032b57806335471f801461036b578063392f5f641461037e575f80fd5b806303014974146101eb57806312e1ebc51461021157806324913ce6146102ac57806326d60fb414610300575b5f80fd5b6101fe6101f9366004611af8565b6105a9565b6040519081526020015b60405180910390f35b61028161021f366004611b27565b60408051606080820183525f80835260208084018290529284018190526001600160a01b03949094168452600882529282902082519384018352805484526001015460ff8116151591840191909152610100900464ffffffffff169082015290565b60408051825181526020808401511515908201529181015164ffffffffff1690820152606001610208565b6102bf6102ba366004611b42565b6105cf565b60408051835181526020808501516001600160e01b031916908201529281015164ffffffffff16908301526001600160401b03166060820152608001610208565b600a546101fe565b61031b610316366004611b27565b61085f565b6040519015158152602001610208565b610353610339366004611b6c565b5f908152600960205260409020546001600160a01b031690565b6040516001600160a01b039091168152602001610208565b6101fe610379366004611b27565b6108cb565b6006546101fe565b610399610394366004611b6c565b610955565b6040516001600160401b039091168152602001610208565b610353610997565b6103cc6103c7366004611af8565b610a07565b6040516102089190611bb7565b61031b6103e7366004611b27565b610adb565b61031b6103fa366004611c1e565b610b50565b6002546001600160a01b0316610353565b61035361041e366004611b6c565b610bd6565b61042b610c04565b60405160ff9091168152602001610208565b61045061044b366004611b27565b610c6f565b005b610399610d10565b610462610d7b565b6040516001600160e01b03199091168152602001610208565b610399610489366004611d39565b610db1565b61031b610e4a565b610399610eb5565b6104c66040518060400160405280600981526020016841646d696e526f6c6560b81b81525081565b6040516102089190611da0565b6104c66040518060400160405280600a8152602001695075626c6963526f6c6560b01b81525081565b5f805160206122c5833981519152546001600160a01b0316610353565b61031b610527366004611af8565b610efc565b61031b61053a366004611c1e565b610f5a565b6003546001600160a01b0316610353565b61035361055e366004611db2565b610f88565b610353610fa9565b610450610579366004611dce565b611009565b600354600160a01b90046001600160601b03166040516001600160601b039091168152602001610208565b6001600160401b0381165f9081526007602052604081206105c990611117565b92915050565b604080516060810182525f80825260208083018290528284018290526001600160a01b0386168252600b9052828120925163dfe63db960e01b81526004810193909352602483018490529091819073__$8df0087758613aef8a614b5774fdb3323b$__9063dfe63db990604401602060405180830381865af4158015610657573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061067b9190611e25565b6001600160a01b038681165f908152600c602090815260408083206001600160e01b03198681168086529184529382902082516060810184528154815260019182015460e081901b9096169481019490945264010000000090940464ffffffffff168383015292549051636ea1af2560e11b8152600481019390935290965092935073__$1d92393fa9ccd763988368ce8a1cb90d26$__92637c3940bf921690636d5115bd90899073__$0904195350e4c23ecb1d51df0a32586dcd$__9063dd435e4a90602401602060405180830381865af415801561075d573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906107819190611e25565b6040516001600160e01b031960e085901b811682526001600160a01b03909316600482015291166024820152604401602060405180830381865afa1580156107cb573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906107ef9190611e40565b6040516001600160e01b031960e084901b1681526001600160401b039091166004820152602401602060405180830381865af4158015610831573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906108559190611e40565b9150509250929050565b60015460405163a166aa8960e01b81526001600160a01b0383811660048301525f92169063a166aa8990602401602060405180830381865afa1580156108a7573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906105c99190611e6f565b6001600160a01b0381165f908152600b6020526040808220905163868b3e0760e01b8152600481019190915273__$8df0087758613aef8a614b5774fdb3323b$__9063868b3e0790602401602060405180830381865af4158015610931573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906105c99190611e88565b5f6006828154811061096957610969611e9f565b905f5260205f2090600491828204019190066008029054906101000a90046001600160401b03169050919050565b60015460408051635ab1bd5360e01b815290515f926001600160a01b031691635ab1bd539160048083019260209291908290030181865afa1580156109de573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610a029190611eb3565b905090565b6040805160c080820183525f8083526020808401829052838501829052606084018290526080840182905260a084018290526001600160401b038681168352600482529185902085519384019095528454918216835292939192830190600160401b900460ff166003811115610a7f57610a7f611b83565b6003811115610a9057610a90611b83565b81528154600160481b900463ffffffff1660208201526001820154604082015260029091015464ffffffffff8082166060840152650100000000009091041660809091015292915050565b6001600160a01b0381165f90815260086020526040808220600101549051638d38cd4b60e01b815261010090910464ffffffffff16600482015273__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__90638d38cd4b906024015b602060405180830381865af41580156108a7573d5f803e3d5ffd5b6001546040516368fc2b7760e11b81526001600160401b03831660048201526001600160a01b0384811660248301525f92839291169063d1f856ee906044016040805180830381865afa158015610ba9573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610bcd9190611ee1565b50949350505050565b5f600a8281548110610bea57610bea611e9f565b5f918252602090912001546001600160a01b031692915050565b600154604080516376b707b760e01b815290515f926001600160a01b0316916376b707b79160048083019260209291908290030181865afa158015610c4b573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610a029190611f12565b33610c8e5f805160206122c5833981519152546001600160a01b031690565b6001600160a01b0316816001600160a01b031614610cce5760405162d1953b60e31b81526001600160a01b03821660048201526024015b60405180910390fd5b816001600160a01b03163b5f03610d03576040516361798f2f60e11b81526001600160a01b0383166004820152602401610cc5565b610d0c82611120565b5050565b60015460408051631e53e01560e11b815290515f926001600160a01b031691633ca7c02a9160048083019260209291908290030181865afa158015610d57573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610a029190611e40565b5f805160206122c583398151915280545f9190600160a01b900460ff16610da2575f610dab565b638fb3603760e01b5b91505090565b5f60055f73__$9a094f9b231ed0f5f85a69be8408d93180$__63cdc23e69856040518263ffffffff1660e01b8152600401610dec9190611da0565b602060405180830381865af4158015610e07573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610e2b9190611e88565b815260208101919091526040015f20546001600160401b031692915050565b60015460408051632938b58d60e21b815290515f926001600160a01b03169163a4e2d6349160048083019260209291908290030181865afa158015610e91573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610a029190611e6f565b60015460408051631d6c8e3f60e21b815290515f926001600160a01b0316916375b238fc9160048083019260209291908290030181865afa158015610d57573d5f803e3d5ffd5b6001600160401b0381165f908152600460208190526040808320600201549051638d38cd4b60e01b815264ffffffffff9091169181019190915273__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__90638d38cd4b90602401610b35565b6001600160401b038082165f908152600460205260408120549091610f8191859116610b50565b9392505050565b6001600160401b0382165f908152600760205260408120610f819083611181565b5f610fb2610997565b600354604051631c5da14d60e11b8152600160a01b9091046001600160601b031660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa1580156109de573d5f803e3d5ffd5b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a008054600160401b810460ff1615906001600160401b03165f8115801561104d5750825b90505f826001600160401b031660011480156110685750303b155b905081158015611076575080155b156110945760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff1916600117855583156110be57845460ff60401b1916600160401b1785555b6110c8878761118c565b831561110e57845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50505050505050565b5f6105c9825490565b5f805160206122c583398151915280546001600160a01b0319166001600160a01b03831690811782556040519081527f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad906020015b60405180910390a15050565b5f610f81838361145c565b611194611482565b6003546001600160a01b03166111b757600380546001600160a01b031916331790555b6003546001600160a01b031633146111e25760405163410f583d60e11b815260040160405180910390fd5b604051631627905560e01b81526001600160a01b038316600482015273__$fb599632d08395912d9d70eb2f0f93b5e2$__90631627905590602401602060405180830381865af4158015611238573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061125c9190611e6f565b6112845760405163a91c340960e01b81526001600160a01b0383166004820152602401610cc5565b80515f036112a55760405163ea69a8ad60e01b815260040160405180910390fd5b600180546001600160a01b0319166001600160a01b03841690811790915560405163189acdbd60e31b815230600482015263c4d66de8906024015f604051808303815f87803b1580156112f6575f80fd5b505af1158015611308573d5f803e3d5ffd5b5050604051632330f24760e01b81526001600160a01b038516600482015273__$fb599632d08395912d9d70eb2f0f93b5e2$__9250632330f2479150602401602060405180830381865af4158015611362573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906113869190611e6f565b6113ae57604051637595cb1960e01b81526001600160a01b0383166004820152602401610cc5565b6113b7826114cd565b5f6113c28282611fb6565b5073__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af415801561140a573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061142e9190612070565b600360146101000a8154816001600160601b0302191690836001600160601b03160217905550610d0c6114e1565b5f825f01828154811061147157611471611e9f565b905f5260205f200154905092915050565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a0054600160401b900460ff166114cb57604051631afcd79f60e31b815260040160405180910390fd5b565b6114d5611482565b6114de8161172d565b50565b6114e9611482565b5f73__$1d92393fa9ccd763988368ce8a1cb90d26$__637c3940bf60015f9054906101000a90046001600160a01b03166001600160a01b03166375b238fc6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611554573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906115789190611e40565b6040516001600160e01b031960e084901b1681526001600160401b039091166004820152602401602060405180830381865af41580156115ba573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906115de9190611e40565b90506116956115eb61173e565b73__$7ca0443fea8aec4ba68c2e8d18c5a8d73e$__635a81966261160d61173e565b6001806040518060400160405280600981526020016841646d696e526f6c6560b81b8152506040518563ffffffff1660e01b81526004016116519493929190612096565b60c060405180830381865af415801561166c573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061169091906120ee565b61178f565b6001600160401b0381165f9081526007602052604090206116b69030611a44565b506114de6116c2611a58565b73__$7ca0443fea8aec4ba68c2e8d18c5a8d73e$__635a8196626116e461173e565b600263ffffffff6040518060400160405280600a8152602001695075626c6963526f6c6560b01b8152506040518563ffffffff1660e01b81526004016116519493929190612096565b611735611482565b6114de81611120565b604051637c3940bf60e01b81525f600482018190529073__$1d92393fa9ccd763988368ce8a1cb90d26$__90637c3940bf906024015b602060405180830381865af4158015610d57573d5f803e3d5ffd5b73__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af41580156117d6573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906117fa919061216f565b64ffffffffff1660808201526001600160401b038083165f90815260046020908152604090912083518154931667ffffffffffffffff1984168117825591840151849391929091839168ffffffffffffffffff1990911617600160401b83600381111561186957611869611b83565b0217905550604082810151825463ffffffff909116600160481b026cffffffff0000000000000000001990911617825560608084015160018085019190915560808501516002909401805460a09096015164ffffffffff908116650100000000000269ffffffffffffffffffff1990971695169490941794909417909255805180820182526001600160401b03808716808352602080840187815295880180515f908152600583528681209551865498511515600160401b0268ffffffffffffffffff199099169086161797909717909455600680549788018155865260048088047ff652222313e28459528d920b65115c16c04f3efc82aaedc97be59f3f377c0d3f01805460039099166008026101000a938402939094021990971691909117909155850151855191519251631623433d60e31b81527f089dc3e37715ee5f5f527a09ca053081e6a74ab2cde2b4471c37f8b9b81af45c95889492939273__$9a094f9b231ed0f5f85a69be8408d93180$__9263b11a19e8926119f292910190815260200190565b5f60405180830381865af4158015611a0c573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052611a339190810190612188565b6040516111759594939291906121fc565b5f610f81836001600160a01b038416611a98565b604051637c3940bf60e01b81526001600160401b0360048201525f9073__$1d92393fa9ccd763988368ce8a1cb90d26$__90637c3940bf90602401611774565b5f818152600183016020526040812054611add57508154600181810184555f8481526020808220909301849055845484825282860190935260409020919091556105c9565b505f6105c9565b6001600160401b03811681146114de575f80fd5b5f60208284031215611b08575f80fd5b8135610f8181611ae4565b6001600160a01b03811681146114de575f80fd5b5f60208284031215611b37575f80fd5b8135610f8181611b13565b5f8060408385031215611b53575f80fd5b8235611b5e81611b13565b946020939093013593505050565b5f60208284031215611b7c575f80fd5b5035919050565b634e487b7160e01b5f52602160045260245ffd5b60048110611bb357634e487b7160e01b5f52602160045260245ffd5b9052565b81516001600160401b0316815260208083015160c0830191611bdb90840182611b97565b5063ffffffff60408401511660408301526060830151606083015264ffffffffff608084015116608083015264ffffffffff60a08401511660a083015292915050565b5f8060408385031215611c2f575f80fd5b8235611c3a81611b13565b91506020830135611c4a81611ae4565b809150509250929050565b634e487b7160e01b5f52604160045260245ffd5b60405160c081016001600160401b0381118282101715611c8b57611c8b611c55565b60405290565b604051601f8201601f191681016001600160401b0381118282101715611cb957611cb9611c55565b604052919050565b5f6001600160401b03821115611cd957611cd9611c55565b50601f01601f191660200190565b5f82601f830112611cf6575f80fd5b8135611d09611d0482611cc1565b611c91565b818152846020838601011115611d1d575f80fd5b816020850160208301375f918101602001919091529392505050565b5f60208284031215611d49575f80fd5b81356001600160401b03811115611d5e575f80fd5b611d6a84828501611ce7565b949350505050565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081525f610f816020830184611d72565b5f8060408385031215611dc3575f80fd5b8235611b5e81611ae4565b5f8060408385031215611ddf575f80fd5b8235611dea81611b13565b915060208301356001600160401b03811115611e04575f80fd5b61085585828601611ce7565b6001600160e01b0319811681146114de575f80fd5b5f60208284031215611e35575f80fd5b8151610f8181611e10565b5f60208284031215611e50575f80fd5b8151610f8181611ae4565b80518015158114611e6a575f80fd5b919050565b5f60208284031215611e7f575f80fd5b610f8182611e5b565b5f60208284031215611e98575f80fd5b5051919050565b634e487b7160e01b5f52603260045260245ffd5b5f60208284031215611ec3575f80fd5b8151610f8181611b13565b805163ffffffff81168114611e6a575f80fd5b5f8060408385031215611ef2575f80fd5b611efb83611e5b565b9150611f0960208401611ece565b90509250929050565b5f60208284031215611f22575f80fd5b815160ff81168114610f81575f80fd5b600181811c90821680611f4657607f821691505b602082108103611f6457634e487b7160e01b5f52602260045260245ffd5b50919050565b601f821115611fb157805f5260205f20601f840160051c81016020851015611f8f5750805b601f840160051c820191505b81811015611fae575f8155600101611f9b565b50505b505050565b81516001600160401b03811115611fcf57611fcf611c55565b611fe381611fdd8454611f32565b84611f6a565b6020601f821160018114612015575f8315611ffe5750848201515b5f19600385901b1c1916600184901b178455611fae565b5f84815260208120601f198516915b828110156120445787850151825560209485019460019092019101612024565b508482101561206157868401515f19600387901b60f8161c191681555b50505050600190811b01905550565b5f60208284031215612080575f80fd5b81516001600160601b0381168114610f81575f80fd5b6001600160401b03851681526120af6020820185611b97565b63ffffffff83166040820152608060608201525f6120d06080830184611d72565b9695505050505050565b805164ffffffffff81168114611e6a575f80fd5b5f60c08284031280156120ff575f80fd5b50612108611c69565b825161211381611ae4565b8152602083015160048110612126575f80fd5b602082015261213760408401611ece565b604082015260608381015190820152612152608084016120da565b608082015261216360a084016120da565b60a08201529392505050565b5f6020828403121561217f575f80fd5b610f81826120da565b5f60208284031215612198575f80fd5b81516001600160401b038111156121ad575f80fd5b8201601f810184136121bd575f80fd5b80516121cb611d0482611cc1565b8181528560208385010111156121df575f80fd5b8160208401602083015e5f91810160200191909152949350505050565b60a081525f80875461220d81611f32565b8060a0860152600182165f811461222b576001811461224757612278565b60ff19831660c087015260c082151560051b8701019350612278565b8a5f5260205f205f5b8381101561226f57815488820160c00152600190910190602001612250565b870160c0019450505b5050506001600160401b03871660208401526122976040840187611b97565b6001600160401b038516606084015282810360808401526122b88185611d72565b9897505050505050505056fef3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00a26469706673582212208a4f88a63dd61a48fcf0268e1987d2a022302b277399fd379f39193bc758103b64736f6c634300081a0033",
1293
+ "deployedBytecode": "0x608060405234801561000f575f80fd5b50600436106101e7575f3560e01c80637a9e5e4b11610109578063bf7e214f1161009e578063d78a83b11161006e578063d78a83b114610550578063dd22b08a14610563578063f399e22e1461056b578063f60458ba1461057e575f80fd5b8063bf7e214f146104fc578063c6a0017914610519578063cd55e51b1461052c578063d5f394881461053f575f80fd5b8063a4e2d634116100d9578063a4e2d6341461048e578063b3ecf23614610496578063bc62a0a51461049e578063bcfb11b0146104d3575f80fd5b80637a9e5e4b1461043d5780638308ceb1146104525780638fb360371461045a5780639cad00521461047b575f80fd5b80633fd855611161017f57806364fc31421161014f57806364fc3142146103ec5780636bd1c0eb146103ff578063728a61a81461041057806376b707b714610423575f80fd5b80633fd85561146103865780635ab1bd53146103b15780635bfa5027146103b9578063605aa10a146103d9575f80fd5b806326decd40116101ba57806326decd40146103085780633406b1521461032b57806335471f801461036b578063392f5f641461037e575f80fd5b806303014974146101eb57806312e1ebc51461021157806324913ce6146102ac57806326d60fb414610300575b5f80fd5b6101fe6101f9366004611af8565b6105a9565b6040519081526020015b60405180910390f35b61028161021f366004611b27565b60408051606080820183525f80835260208084018290529284018190526001600160a01b03949094168452600882529282902082519384018352805484526001015460ff8116151591840191909152610100900464ffffffffff169082015290565b60408051825181526020808401511515908201529181015164ffffffffff1690820152606001610208565b6102bf6102ba366004611b42565b6105cf565b60408051835181526020808501516001600160e01b031916908201529281015164ffffffffff16908301526001600160401b03166060820152608001610208565b600a546101fe565b61031b610316366004611b27565b61085f565b6040519015158152602001610208565b610353610339366004611b6c565b5f908152600960205260409020546001600160a01b031690565b6040516001600160a01b039091168152602001610208565b6101fe610379366004611b27565b6108cb565b6006546101fe565b610399610394366004611b6c565b610955565b6040516001600160401b039091168152602001610208565b610353610997565b6103cc6103c7366004611af8565b610a07565b6040516102089190611bb7565b61031b6103e7366004611b27565b610adb565b61031b6103fa366004611c1e565b610b50565b6002546001600160a01b0316610353565b61035361041e366004611b6c565b610bd6565b61042b610c04565b60405160ff9091168152602001610208565b61045061044b366004611b27565b610c6f565b005b610399610d10565b610462610d7b565b6040516001600160e01b03199091168152602001610208565b610399610489366004611d39565b610db1565b61031b610e4a565b610399610eb5565b6104c66040518060400160405280600981526020016841646d696e526f6c6560b81b81525081565b6040516102089190611da0565b6104c66040518060400160405280600a8152602001695075626c6963526f6c6560b01b81525081565b5f805160206122c5833981519152546001600160a01b0316610353565b61031b610527366004611af8565b610efc565b61031b61053a366004611c1e565b610f5a565b6003546001600160a01b0316610353565b61035361055e366004611db2565b610f88565b610353610fa9565b610450610579366004611dce565b611009565b600354600160a01b90046001600160601b03166040516001600160601b039091168152602001610208565b6001600160401b0381165f9081526007602052604081206105c990611117565b92915050565b604080516060810182525f80825260208083018290528284018290526001600160a01b0386168252600b9052828120925163dfe63db960e01b81526004810193909352602483018490529091819073__$8df0087758613aef8a614b5774fdb3323b$__9063dfe63db990604401602060405180830381865af4158015610657573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061067b9190611e25565b6001600160a01b038681165f908152600c602090815260408083206001600160e01b03198681168086529184529382902082516060810184528154815260019182015460e081901b9096169481019490945264010000000090940464ffffffffff168383015292549051636ea1af2560e11b8152600481019390935290965092935073__$1d92393fa9ccd763988368ce8a1cb90d26$__92637c3940bf921690636d5115bd90899073__$0904195350e4c23ecb1d51df0a32586dcd$__9063dd435e4a90602401602060405180830381865af415801561075d573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906107819190611e25565b6040516001600160e01b031960e085901b811682526001600160a01b03909316600482015291166024820152604401602060405180830381865afa1580156107cb573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906107ef9190611e40565b6040516001600160e01b031960e084901b1681526001600160401b039091166004820152602401602060405180830381865af4158015610831573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906108559190611e40565b9150509250929050565b60015460405163a166aa8960e01b81526001600160a01b0383811660048301525f92169063a166aa8990602401602060405180830381865afa1580156108a7573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906105c99190611e6f565b6001600160a01b0381165f908152600b6020526040808220905163868b3e0760e01b8152600481019190915273__$8df0087758613aef8a614b5774fdb3323b$__9063868b3e0790602401602060405180830381865af4158015610931573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906105c99190611e88565b5f6006828154811061096957610969611e9f565b905f5260205f2090600491828204019190066008029054906101000a90046001600160401b03169050919050565b60015460408051635ab1bd5360e01b815290515f926001600160a01b031691635ab1bd539160048083019260209291908290030181865afa1580156109de573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610a029190611eb3565b905090565b6040805160c080820183525f8083526020808401829052838501829052606084018290526080840182905260a084018290526001600160401b038681168352600482529185902085519384019095528454918216835292939192830190600160401b900460ff166003811115610a7f57610a7f611b83565b6003811115610a9057610a90611b83565b81528154600160481b900463ffffffff1660208201526001820154604082015260029091015464ffffffffff8082166060840152650100000000009091041660809091015292915050565b6001600160a01b0381165f90815260086020526040808220600101549051638d38cd4b60e01b815261010090910464ffffffffff16600482015273__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__90638d38cd4b906024015b602060405180830381865af41580156108a7573d5f803e3d5ffd5b6001546040516368fc2b7760e11b81526001600160401b03831660048201526001600160a01b0384811660248301525f92839291169063d1f856ee906044016040805180830381865afa158015610ba9573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610bcd9190611ee1565b50949350505050565b5f600a8281548110610bea57610bea611e9f565b5f918252602090912001546001600160a01b031692915050565b600154604080516376b707b760e01b815290515f926001600160a01b0316916376b707b79160048083019260209291908290030181865afa158015610c4b573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610a029190611f12565b33610c8e5f805160206122c5833981519152546001600160a01b031690565b6001600160a01b0316816001600160a01b031614610cce5760405162d1953b60e31b81526001600160a01b03821660048201526024015b60405180910390fd5b816001600160a01b03163b5f03610d03576040516361798f2f60e11b81526001600160a01b0383166004820152602401610cc5565b610d0c82611120565b5050565b60015460408051631e53e01560e11b815290515f926001600160a01b031691633ca7c02a9160048083019260209291908290030181865afa158015610d57573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610a029190611e40565b5f805160206122c583398151915280545f9190600160a01b900460ff16610da2575f610dab565b638fb3603760e01b5b91505090565b5f60055f73__$9a094f9b231ed0f5f85a69be8408d93180$__63cdc23e69856040518263ffffffff1660e01b8152600401610dec9190611da0565b602060405180830381865af4158015610e07573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610e2b9190611e88565b815260208101919091526040015f20546001600160401b031692915050565b60015460408051632938b58d60e21b815290515f926001600160a01b03169163a4e2d6349160048083019260209291908290030181865afa158015610e91573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610a029190611e6f565b60015460408051631d6c8e3f60e21b815290515f926001600160a01b0316916375b238fc9160048083019260209291908290030181865afa158015610d57573d5f803e3d5ffd5b6001600160401b0381165f908152600460208190526040808320600201549051638d38cd4b60e01b815264ffffffffff9091169181019190915273__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__90638d38cd4b90602401610b35565b6001600160401b038082165f908152600460205260408120549091610f8191859116610b50565b9392505050565b6001600160401b0382165f908152600760205260408120610f819083611181565b5f610fb2610997565b600354604051631c5da14d60e11b8152600160a01b9091046001600160601b031660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa1580156109de573d5f803e3d5ffd5b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a008054600160401b810460ff1615906001600160401b03165f8115801561104d5750825b90505f826001600160401b031660011480156110685750303b155b905081158015611076575080155b156110945760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff1916600117855583156110be57845460ff60401b1916600160401b1785555b6110c8878761118c565b831561110e57845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50505050505050565b5f6105c9825490565b5f805160206122c583398151915280546001600160a01b0319166001600160a01b03831690811782556040519081527f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad906020015b60405180910390a15050565b5f610f81838361145c565b611194611482565b6003546001600160a01b03166111b757600380546001600160a01b031916331790555b6003546001600160a01b031633146111e25760405163410f583d60e11b815260040160405180910390fd5b604051631627905560e01b81526001600160a01b038316600482015273__$fb599632d08395912d9d70eb2f0f93b5e2$__90631627905590602401602060405180830381865af4158015611238573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061125c9190611e6f565b6112845760405163a91c340960e01b81526001600160a01b0383166004820152602401610cc5565b80515f036112a55760405163ea69a8ad60e01b815260040160405180910390fd5b600180546001600160a01b0319166001600160a01b03841690811790915560405163189acdbd60e31b815230600482015263c4d66de8906024015f604051808303815f87803b1580156112f6575f80fd5b505af1158015611308573d5f803e3d5ffd5b5050604051632330f24760e01b81526001600160a01b038516600482015273__$fb599632d08395912d9d70eb2f0f93b5e2$__9250632330f2479150602401602060405180830381865af4158015611362573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906113869190611e6f565b6113ae57604051637595cb1960e01b81526001600160a01b0383166004820152602401610cc5565b6113b7826114cd565b5f6113c28282611fb6565b5073__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af415801561140a573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061142e9190612070565b600360146101000a8154816001600160601b0302191690836001600160601b03160217905550610d0c6114e1565b5f825f01828154811061147157611471611e9f565b905f5260205f200154905092915050565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a0054600160401b900460ff166114cb57604051631afcd79f60e31b815260040160405180910390fd5b565b6114d5611482565b6114de8161172d565b50565b6114e9611482565b5f73__$1d92393fa9ccd763988368ce8a1cb90d26$__637c3940bf60015f9054906101000a90046001600160a01b03166001600160a01b03166375b238fc6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611554573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906115789190611e40565b6040516001600160e01b031960e084901b1681526001600160401b039091166004820152602401602060405180830381865af41580156115ba573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906115de9190611e40565b90506116956115eb61173e565b73__$7ca0443fea8aec4ba68c2e8d18c5a8d73e$__635a81966261160d61173e565b6001806040518060400160405280600981526020016841646d696e526f6c6560b81b8152506040518563ffffffff1660e01b81526004016116519493929190612096565b60c060405180830381865af415801561166c573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061169091906120ee565b61178f565b6001600160401b0381165f9081526007602052604090206116b69030611a44565b506114de6116c2611a58565b73__$7ca0443fea8aec4ba68c2e8d18c5a8d73e$__635a8196626116e461173e565b600263ffffffff6040518060400160405280600a8152602001695075626c6963526f6c6560b01b8152506040518563ffffffff1660e01b81526004016116519493929190612096565b611735611482565b6114de81611120565b604051637c3940bf60e01b81525f600482018190529073__$1d92393fa9ccd763988368ce8a1cb90d26$__90637c3940bf906024015b602060405180830381865af4158015610d57573d5f803e3d5ffd5b73__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af41580156117d6573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906117fa919061216f565b64ffffffffff1660808201526001600160401b038083165f90815260046020908152604090912083518154931667ffffffffffffffff1984168117825591840151849391929091839168ffffffffffffffffff1990911617600160401b83600381111561186957611869611b83565b0217905550604082810151825463ffffffff909116600160481b026cffffffff0000000000000000001990911617825560608084015160018085019190915560808501516002909401805460a09096015164ffffffffff908116650100000000000269ffffffffffffffffffff1990971695169490941794909417909255805180820182526001600160401b03808716808352602080840187815295880180515f908152600583528681209551865498511515600160401b0268ffffffffffffffffff199099169086161797909717909455600680549788018155865260048088047ff652222313e28459528d920b65115c16c04f3efc82aaedc97be59f3f377c0d3f01805460039099166008026101000a938402939094021990971691909117909155850151855191519251631623433d60e31b81527f089dc3e37715ee5f5f527a09ca053081e6a74ab2cde2b4471c37f8b9b81af45c95889492939273__$9a094f9b231ed0f5f85a69be8408d93180$__9263b11a19e8926119f292910190815260200190565b5f60405180830381865af4158015611a0c573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052611a339190810190612188565b6040516111759594939291906121fc565b5f610f81836001600160a01b038416611a98565b604051637c3940bf60e01b81526001600160401b0360048201525f9073__$1d92393fa9ccd763988368ce8a1cb90d26$__90637c3940bf90602401611774565b5f818152600183016020526040812054611add57508154600181810184555f8481526020808220909301849055845484825282860190935260409020919091556105c9565b505f6105c9565b6001600160401b03811681146114de575f80fd5b5f60208284031215611b08575f80fd5b8135610f8181611ae4565b6001600160a01b03811681146114de575f80fd5b5f60208284031215611b37575f80fd5b8135610f8181611b13565b5f8060408385031215611b53575f80fd5b8235611b5e81611b13565b946020939093013593505050565b5f60208284031215611b7c575f80fd5b5035919050565b634e487b7160e01b5f52602160045260245ffd5b60048110611bb357634e487b7160e01b5f52602160045260245ffd5b9052565b81516001600160401b0316815260208083015160c0830191611bdb90840182611b97565b5063ffffffff60408401511660408301526060830151606083015264ffffffffff608084015116608083015264ffffffffff60a08401511660a083015292915050565b5f8060408385031215611c2f575f80fd5b8235611c3a81611b13565b91506020830135611c4a81611ae4565b809150509250929050565b634e487b7160e01b5f52604160045260245ffd5b60405160c081016001600160401b0381118282101715611c8b57611c8b611c55565b60405290565b604051601f8201601f191681016001600160401b0381118282101715611cb957611cb9611c55565b604052919050565b5f6001600160401b03821115611cd957611cd9611c55565b50601f01601f191660200190565b5f82601f830112611cf6575f80fd5b8135611d09611d0482611cc1565b611c91565b818152846020838601011115611d1d575f80fd5b816020850160208301375f918101602001919091529392505050565b5f60208284031215611d49575f80fd5b81356001600160401b03811115611d5e575f80fd5b611d6a84828501611ce7565b949350505050565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081525f610f816020830184611d72565b5f8060408385031215611dc3575f80fd5b8235611b5e81611ae4565b5f8060408385031215611ddf575f80fd5b8235611dea81611b13565b915060208301356001600160401b03811115611e04575f80fd5b61085585828601611ce7565b6001600160e01b0319811681146114de575f80fd5b5f60208284031215611e35575f80fd5b8151610f8181611e10565b5f60208284031215611e50575f80fd5b8151610f8181611ae4565b80518015158114611e6a575f80fd5b919050565b5f60208284031215611e7f575f80fd5b610f8182611e5b565b5f60208284031215611e98575f80fd5b5051919050565b634e487b7160e01b5f52603260045260245ffd5b5f60208284031215611ec3575f80fd5b8151610f8181611b13565b805163ffffffff81168114611e6a575f80fd5b5f8060408385031215611ef2575f80fd5b611efb83611e5b565b9150611f0960208401611ece565b90509250929050565b5f60208284031215611f22575f80fd5b815160ff81168114610f81575f80fd5b600181811c90821680611f4657607f821691505b602082108103611f6457634e487b7160e01b5f52602260045260245ffd5b50919050565b601f821115611fb157805f5260205f20601f840160051c81016020851015611f8f5750805b601f840160051c820191505b81811015611fae575f8155600101611f9b565b50505b505050565b81516001600160401b03811115611fcf57611fcf611c55565b611fe381611fdd8454611f32565b84611f6a565b6020601f821160018114612015575f8315611ffe5750848201515b5f19600385901b1c1916600184901b178455611fae565b5f84815260208120601f198516915b828110156120445787850151825560209485019460019092019101612024565b508482101561206157868401515f19600387901b60f8161c191681555b50505050600190811b01905550565b5f60208284031215612080575f80fd5b81516001600160601b0381168114610f81575f80fd5b6001600160401b03851681526120af6020820185611b97565b63ffffffff83166040820152608060608201525f6120d06080830184611d72565b9695505050505050565b805164ffffffffff81168114611e6a575f80fd5b5f60c08284031280156120ff575f80fd5b50612108611c69565b825161211381611ae4565b8152602083015160048110612126575f80fd5b602082015261213760408401611ece565b604082015260608381015190820152612152608084016120da565b608082015261216360a084016120da565b60a08201529392505050565b5f6020828403121561217f575f80fd5b610f81826120da565b5f60208284031215612198575f80fd5b81516001600160401b038111156121ad575f80fd5b8201601f810184136121bd575f80fd5b80516121cb611d0482611cc1565b8181528560208385010111156121df575f80fd5b8160208401602083015e5f91810160200191909152949350505050565b60a081525f80875461220d81611f32565b8060a0860152600182165f811461222b576001811461224757612278565b60ff19831660c087015260c082151560051b8701019350612278565b8a5f5260205f205f5b8381101561226f57815488820160c00152600190910190602001612250565b870160c0019450505b5050506001600160401b03871660208401526122976040840187611b97565b6001600160401b038516606084015282810360808401526122b88185611d72565b9897505050505050505056fef3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00a26469706673582212208a4f88a63dd61a48fcf0268e1987d2a022302b277399fd379f39193bc758103b64736f6c634300081a0033",
1294
+ "linkReferences": {
1295
+ "contracts/authorization/AccessAdminLib.sol": {
1296
+ "AccessAdminLib": [
1297
+ {
1298
+ "length": 20,
1299
+ "start": 5641
1300
+ },
1301
+ {
1302
+ "length": 20,
1303
+ "start": 5856
1304
+ }
1305
+ ]
1306
+ },
1307
+ "contracts/shared/ContractLib.sol": {
1308
+ "ContractLib": [
1309
+ {
1310
+ "length": 20,
1311
+ "start": 4636
1312
+ },
1313
+ {
1314
+ "length": 20,
1315
+ "start": 4932
1316
+ }
1317
+ ]
1318
+ },
1319
+ "contracts/type/NftId.sol": {
1320
+ "NftIdLib": [
1321
+ {
1322
+ "length": 20,
1323
+ "start": 5089
1324
+ }
1325
+ ]
1326
+ },
1327
+ "contracts/type/RoleId.sol": {
1328
+ "RoleIdLib": [
1329
+ {
1330
+ "length": 20,
1331
+ "start": 1819
1332
+ },
1333
+ {
1334
+ "length": 20,
1335
+ "start": 5384
1336
+ },
1337
+ {
1338
+ "length": 20,
1339
+ "start": 6002
1340
+ },
1341
+ {
1342
+ "length": 20,
1343
+ "start": 6802
1344
+ }
1345
+ ]
1346
+ },
1347
+ "contracts/type/Selector.sol": {
1348
+ "SelectorLib": [
1349
+ {
1350
+ "length": 20,
1351
+ "start": 1857
1352
+ }
1353
+ ],
1354
+ "SelectorSetLib": [
1355
+ {
1356
+ "length": 20,
1357
+ "start": 1595
1358
+ },
1359
+ {
1360
+ "length": 20,
1361
+ "start": 2325
1362
+ }
1363
+ ]
1364
+ },
1365
+ "contracts/type/String.sol": {
1366
+ "StrLib": [
1367
+ {
1368
+ "length": 20,
1369
+ "start": 3539
1370
+ },
1371
+ {
1372
+ "length": 20,
1373
+ "start": 6629
1374
+ }
1375
+ ]
1376
+ },
1377
+ "contracts/type/Timestamp.sol": {
1378
+ "TimestampLib": [
1379
+ {
1380
+ "length": 20,
1381
+ "start": 2867
1382
+ },
1383
+ {
1384
+ "length": 20,
1385
+ "start": 3924
1386
+ },
1387
+ {
1388
+ "length": 20,
1389
+ "start": 6061
1390
+ }
1391
+ ]
1392
+ }
1393
+ },
1394
+ "deployedLinkReferences": {
1395
+ "contracts/authorization/AccessAdminLib.sol": {
1396
+ "AccessAdminLib": [
1397
+ {
1398
+ "length": 20,
1399
+ "start": 5613
1400
+ },
1401
+ {
1402
+ "length": 20,
1403
+ "start": 5828
1404
+ }
1405
+ ]
1406
+ },
1407
+ "contracts/shared/ContractLib.sol": {
1408
+ "ContractLib": [
1409
+ {
1410
+ "length": 20,
1411
+ "start": 4608
1412
+ },
1413
+ {
1414
+ "length": 20,
1415
+ "start": 4904
1416
+ }
1417
+ ]
1418
+ },
1419
+ "contracts/type/NftId.sol": {
1420
+ "NftIdLib": [
1421
+ {
1422
+ "length": 20,
1423
+ "start": 5061
1424
+ }
1425
+ ]
1426
+ },
1427
+ "contracts/type/RoleId.sol": {
1428
+ "RoleIdLib": [
1429
+ {
1430
+ "length": 20,
1431
+ "start": 1791
1432
+ },
1433
+ {
1434
+ "length": 20,
1435
+ "start": 5356
1436
+ },
1437
+ {
1438
+ "length": 20,
1439
+ "start": 5974
1440
+ },
1441
+ {
1442
+ "length": 20,
1443
+ "start": 6774
1444
+ }
1445
+ ]
1446
+ },
1447
+ "contracts/type/Selector.sol": {
1448
+ "SelectorLib": [
1449
+ {
1450
+ "length": 20,
1451
+ "start": 1829
1452
+ }
1453
+ ],
1454
+ "SelectorSetLib": [
1455
+ {
1456
+ "length": 20,
1457
+ "start": 1567
1458
+ },
1459
+ {
1460
+ "length": 20,
1461
+ "start": 2297
1462
+ }
1463
+ ]
1464
+ },
1465
+ "contracts/type/String.sol": {
1466
+ "StrLib": [
1467
+ {
1468
+ "length": 20,
1469
+ "start": 3511
1470
+ },
1471
+ {
1472
+ "length": 20,
1473
+ "start": 6601
1474
+ }
1475
+ ]
1476
+ },
1477
+ "contracts/type/Timestamp.sol": {
1478
+ "TimestampLib": [
1479
+ {
1480
+ "length": 20,
1481
+ "start": 2839
1482
+ },
1483
+ {
1484
+ "length": 20,
1485
+ "start": 3896
1486
+ },
1487
+ {
1488
+ "length": 20,
1489
+ "start": 6033
1490
+ }
1491
+ ]
1492
+ }
1493
+ }
1494
+ }