@etherisc/gif-next 0.0.2-c0457ac-280 → 0.0.2-c0923b6-664

Sign up to get free protection for your applications and to get access to all the features.
Files changed (612) hide show
  1. package/README.md +186 -330
  2. package/artifacts/contracts/accounting/AccountingService.sol/AccountingService.dbg.json +4 -0
  3. package/artifacts/contracts/accounting/AccountingService.sol/AccountingService.json +1075 -0
  4. package/artifacts/contracts/accounting/AccountingServiceManager.sol/AccountingServiceManager.dbg.json +4 -0
  5. package/artifacts/contracts/accounting/AccountingServiceManager.sol/AccountingServiceManager.json +810 -0
  6. package/artifacts/contracts/accounting/IAccountingService.sol/IAccountingService.dbg.json +4 -0
  7. package/artifacts/contracts/accounting/IAccountingService.sol/IAccountingService.json +843 -0
  8. package/artifacts/contracts/authorization/AccessAdmin.sol/AccessAdmin.dbg.json +4 -0
  9. package/artifacts/contracts/authorization/AccessAdmin.sol/AccessAdmin.json +1735 -0
  10. package/artifacts/contracts/authorization/AccessAdminLib.sol/AccessAdminLib.dbg.json +4 -0
  11. package/artifacts/contracts/authorization/AccessAdminLib.sol/AccessAdminLib.json +2008 -0
  12. package/artifacts/contracts/authorization/AccessManagerCloneable.sol/AccessManagerCloneable.dbg.json +4 -0
  13. package/artifacts/contracts/authorization/AccessManagerCloneable.sol/AccessManagerCloneable.json +1403 -0
  14. package/artifacts/contracts/authorization/Authorization.sol/Authorization.dbg.json +4 -0
  15. package/artifacts/contracts/authorization/Authorization.sol/Authorization.json +817 -0
  16. package/artifacts/contracts/authorization/IAccess.sol/IAccess.dbg.json +4 -0
  17. package/artifacts/contracts/authorization/IAccess.sol/IAccess.json +10 -0
  18. package/artifacts/contracts/authorization/IAccessAdmin.sol/IAccessAdmin.dbg.json +4 -0
  19. package/artifacts/contracts/{shared → authorization}/IAccessAdmin.sol/IAccessAdmin.json +567 -356
  20. package/artifacts/contracts/authorization/IAuthorization.sol/IAuthorization.dbg.json +4 -0
  21. package/artifacts/contracts/authorization/IAuthorization.sol/IAuthorization.json +465 -0
  22. package/artifacts/contracts/authorization/IServiceAuthorization.sol/IServiceAuthorization.dbg.json +4 -0
  23. package/artifacts/contracts/authorization/IServiceAuthorization.sol/IServiceAuthorization.json +407 -0
  24. package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.dbg.json +4 -0
  25. package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.json +652 -0
  26. package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.dbg.json +4 -0
  27. package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.json +1234 -0
  28. package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.dbg.json +4 -0
  29. package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.json +844 -0
  30. package/artifacts/contracts/distribution/Distribution.sol/Distribution.dbg.json +1 -1
  31. package/artifacts/contracts/distribution/Distribution.sol/Distribution.json +139 -616
  32. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.dbg.json +1 -1
  33. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.json +754 -323
  34. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +1 -1
  35. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.json +246 -122
  36. package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.dbg.json +1 -1
  37. package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.json +145 -282
  38. package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.dbg.json +1 -1
  39. package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.json +535 -78
  40. package/artifacts/contracts/examples/fire/DamageLevel.sol/DamageLevelLib.dbg.json +4 -0
  41. package/artifacts/contracts/examples/fire/DamageLevel.sol/DamageLevelLib.json +22 -0
  42. package/artifacts/contracts/examples/fire/FirePool.sol/FirePool.dbg.json +4 -0
  43. package/artifacts/contracts/examples/fire/FirePool.sol/FirePool.json +1474 -0
  44. package/artifacts/contracts/examples/fire/FirePoolAuthorization.sol/FirePoolAuthorization.dbg.json +4 -0
  45. package/artifacts/contracts/examples/fire/FirePoolAuthorization.sol/FirePoolAuthorization.json +844 -0
  46. package/artifacts/contracts/examples/fire/FireProduct.sol/FireProduct.dbg.json +4 -0
  47. package/artifacts/contracts/examples/fire/FireProduct.sol/FireProduct.json +2043 -0
  48. package/artifacts/contracts/examples/fire/FireProductAuthorization.sol/FireProductAuthorization.dbg.json +4 -0
  49. package/artifacts/contracts/examples/fire/FireProductAuthorization.sol/FireProductAuthorization.json +844 -0
  50. package/artifacts/contracts/examples/fire/FireUSD.sol/FireUSD.dbg.json +4 -0
  51. package/artifacts/contracts/examples/fire/FireUSD.sol/FireUSD.json +376 -0
  52. package/artifacts/contracts/examples/unpermissioned/SimpleDistribution.sol/SimpleDistribution.dbg.json +4 -0
  53. package/artifacts/contracts/examples/unpermissioned/SimpleDistribution.sol/SimpleDistribution.json +1429 -0
  54. package/artifacts/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol/SimpleDistributionAuthorization.dbg.json +4 -0
  55. package/artifacts/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol/SimpleDistributionAuthorization.json +844 -0
  56. package/artifacts/contracts/examples/unpermissioned/SimpleOracle.sol/SimpleOracle.dbg.json +4 -0
  57. package/artifacts/contracts/examples/unpermissioned/SimpleOracle.sol/SimpleOracle.json +1161 -0
  58. package/artifacts/contracts/examples/unpermissioned/SimplePool.sol/SimplePool.dbg.json +4 -0
  59. package/artifacts/contracts/examples/unpermissioned/SimplePool.sol/SimplePool.json +1637 -0
  60. package/artifacts/contracts/examples/unpermissioned/SimplePoolAuthorization.sol/SimplePoolAuthorization.dbg.json +4 -0
  61. package/artifacts/contracts/examples/unpermissioned/SimplePoolAuthorization.sol/SimplePoolAuthorization.json +844 -0
  62. package/artifacts/contracts/examples/unpermissioned/SimpleProduct.sol/SimpleProduct.dbg.json +4 -0
  63. package/artifacts/contracts/examples/unpermissioned/SimpleProduct.sol/SimpleProduct.json +2575 -0
  64. package/artifacts/contracts/examples/unpermissioned/SimpleProductAuthorization.sol/SimpleProductAuthorization.dbg.json +4 -0
  65. package/artifacts/contracts/examples/unpermissioned/SimpleProductAuthorization.sol/SimpleProductAuthorization.json +844 -0
  66. package/artifacts/contracts/instance/BaseStore.sol/BaseStore.dbg.json +4 -0
  67. package/artifacts/contracts/{shared/IKeyValueStore.sol/IKeyValueStore.json → instance/BaseStore.sol/BaseStore.json} +59 -195
  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/IBaseStore.sol/IBaseStore.dbg.json +4 -0
  71. package/artifacts/contracts/instance/IBaseStore.sol/IBaseStore.json +304 -0
  72. package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
  73. package/artifacts/contracts/instance/IInstance.sol/IInstance.json +590 -80
  74. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +1 -1
  75. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +408 -75
  76. package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
  77. package/artifacts/contracts/instance/Instance.sol/Instance.json +600 -218
  78. package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.dbg.json +1 -1
  79. package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.json +1998 -306
  80. package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.dbg.json +4 -0
  81. package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.json +872 -0
  82. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +1 -1
  83. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +1675 -850
  84. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +1 -1
  85. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +402 -274
  86. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +1 -1
  87. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +158 -124
  88. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.dbg.json +1 -1
  89. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.json +1298 -1857
  90. package/artifacts/contracts/instance/ProductStore.sol/ProductStore.dbg.json +4 -0
  91. package/artifacts/contracts/instance/ProductStore.sol/ProductStore.json +3427 -0
  92. package/artifacts/contracts/instance/RiskSet.sol/RiskSet.dbg.json +4 -0
  93. package/artifacts/contracts/instance/RiskSet.sol/RiskSet.json +866 -0
  94. package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.dbg.json +1 -1
  95. package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.json +8 -8
  96. package/artifacts/contracts/instance/base/Cloneable.sol/Cloneable.dbg.json +1 -1
  97. package/artifacts/contracts/instance/base/ObjectCounter.sol/ObjectCounter.dbg.json +1 -1
  98. package/artifacts/contracts/instance/base/ObjectCounter.sol/ObjectCounter.json +2 -2
  99. package/artifacts/contracts/instance/base/ObjectLifecycle.sol/ObjectLifecycle.dbg.json +4 -0
  100. package/artifacts/contracts/instance/base/ObjectLifecycle.sol/ObjectLifecycle.json +223 -0
  101. package/artifacts/contracts/instance/base/ObjectSet.sol/ObjectSet.dbg.json +4 -0
  102. package/artifacts/contracts/instance/base/ObjectSet.sol/ObjectSet.json +192 -0
  103. package/artifacts/contracts/instance/base/ObjectSetHelperLib.sol/ObjectSetHelperLib.dbg.json +4 -0
  104. package/artifacts/contracts/instance/base/ObjectSetHelperLib.sol/ObjectSetHelperLib.json +168 -0
  105. package/artifacts/contracts/instance/module/IBundle.sol/IBundle.dbg.json +1 -1
  106. package/artifacts/contracts/instance/module/IComponents.sol/IComponents.dbg.json +1 -1
  107. package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.dbg.json +1 -1
  108. package/artifacts/contracts/instance/module/IPolicy.sol/IPolicy.dbg.json +1 -1
  109. package/artifacts/contracts/instance/module/IRisk.sol/IRisk.dbg.json +1 -1
  110. package/artifacts/contracts/mock/Dip.sol/Dip.dbg.json +1 -1
  111. package/artifacts/contracts/mock/Dip.sol/Dip.json +2 -2
  112. package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.dbg.json +4 -0
  113. package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.json +947 -0
  114. package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.dbg.json +4 -0
  115. package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.json +849 -0
  116. package/artifacts/contracts/oracle/IOracle.sol/IOracle.dbg.json +1 -1
  117. package/artifacts/contracts/oracle/IOracle.sol/IOracle.json +43 -1
  118. package/artifacts/contracts/oracle/IOracleComponent.sol/IOracleComponent.dbg.json +1 -1
  119. package/artifacts/contracts/oracle/IOracleComponent.sol/IOracleComponent.json +142 -139
  120. package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.dbg.json +1 -1
  121. package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.json +98 -11
  122. package/artifacts/contracts/oracle/Oracle.sol/Oracle.dbg.json +1 -1
  123. package/artifacts/contracts/oracle/Oracle.sol/Oracle.json +140 -423
  124. package/artifacts/contracts/oracle/OracleService.sol/OracleService.dbg.json +1 -1
  125. package/artifacts/contracts/oracle/OracleService.sol/OracleService.json +198 -190
  126. package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.dbg.json +1 -1
  127. package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.json +195 -95
  128. package/artifacts/contracts/pool/BasicPool.sol/BasicPool.dbg.json +4 -0
  129. package/artifacts/contracts/pool/BasicPool.sol/BasicPool.json +1232 -0
  130. package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.dbg.json +4 -0
  131. package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.json +844 -0
  132. package/artifacts/contracts/pool/BundleService.sol/BundleService.dbg.json +1 -1
  133. package/artifacts/contracts/pool/BundleService.sol/BundleService.json +569 -265
  134. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.dbg.json +1 -1
  135. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.json +234 -102
  136. package/artifacts/contracts/pool/IBundleService.sol/IBundleService.dbg.json +1 -1
  137. package/artifacts/contracts/pool/IBundleService.sol/IBundleService.json +383 -53
  138. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.dbg.json +1 -1
  139. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.json +147 -406
  140. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.dbg.json +1 -1
  141. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.json +711 -340
  142. package/artifacts/contracts/pool/Pool.sol/Pool.dbg.json +1 -1
  143. package/artifacts/contracts/pool/Pool.sol/Pool.json +144 -694
  144. package/artifacts/contracts/pool/PoolLib.sol/PoolLib.dbg.json +4 -0
  145. package/artifacts/contracts/pool/PoolLib.sol/PoolLib.json +522 -0
  146. package/artifacts/contracts/pool/PoolService.sol/PoolService.dbg.json +1 -1
  147. package/artifacts/contracts/pool/PoolService.sol/PoolService.json +925 -545
  148. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.dbg.json +1 -1
  149. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.json +246 -102
  150. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.dbg.json +1 -1
  151. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.json +353 -180
  152. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +1 -1
  153. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.json +177 -97
  154. package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.dbg.json +4 -0
  155. package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.json +1149 -0
  156. package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.dbg.json +4 -0
  157. package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.json +844 -0
  158. package/artifacts/contracts/product/ClaimService.sol/ClaimService.dbg.json +1 -1
  159. package/artifacts/contracts/product/ClaimService.sol/ClaimService.json +466 -245
  160. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +1 -1
  161. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.json +204 -120
  162. package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.dbg.json +1 -1
  163. package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.json +301 -9
  164. package/artifacts/contracts/product/IClaimService.sol/IClaimService.dbg.json +1 -1
  165. package/artifacts/contracts/product/IClaimService.sol/IClaimService.json +350 -18
  166. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.dbg.json +1 -1
  167. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.json +417 -101
  168. package/artifacts/contracts/product/IPricingService.sol/IPricingService.dbg.json +1 -1
  169. package/artifacts/contracts/product/IPricingService.sol/IPricingService.json +183 -80
  170. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.dbg.json +1 -1
  171. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.json +282 -271
  172. package/artifacts/contracts/product/IRiskService.sol/IRiskService.dbg.json +4 -0
  173. package/artifacts/contracts/{shared/ComponentVerifyingService.sol/ComponentVerifyingService.json → product/IRiskService.sol/IRiskService.json} +283 -157
  174. package/artifacts/contracts/product/PolicyService.sol/PolicyService.dbg.json +1 -1
  175. package/artifacts/contracts/product/PolicyService.sol/PolicyService.json +532 -311
  176. package/artifacts/contracts/product/PolicyServiceLib.sol/PolicyServiceLib.dbg.json +4 -0
  177. package/artifacts/contracts/product/PolicyServiceLib.sol/PolicyServiceLib.json +783 -0
  178. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +1 -1
  179. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.json +213 -105
  180. package/artifacts/contracts/product/PricingService.sol/PricingService.dbg.json +1 -1
  181. package/artifacts/contracts/product/PricingService.sol/PricingService.json +249 -329
  182. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.dbg.json +1 -1
  183. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.json +177 -129
  184. package/artifacts/contracts/product/Product.sol/Product.dbg.json +1 -1
  185. package/artifacts/contracts/product/Product.sol/Product.json +316 -606
  186. package/artifacts/contracts/product/RiskService.sol/RiskService.dbg.json +4 -0
  187. package/artifacts/contracts/product/RiskService.sol/RiskService.json +873 -0
  188. package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.dbg.json +4 -0
  189. package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.json +794 -0
  190. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
  191. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +59 -16
  192. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
  193. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +384 -69
  194. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +1 -1
  195. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +97 -148
  196. package/artifacts/contracts/registry/IRelease.sol/IRelease.dbg.json +4 -0
  197. package/artifacts/contracts/registry/IRelease.sol/IRelease.json +24 -0
  198. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +1 -1
  199. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.json +5 -18
  200. package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
  201. package/artifacts/contracts/registry/Registry.sol/Registry.json +617 -133
  202. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.dbg.json +1 -1
  203. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.json +892 -538
  204. package/artifacts/contracts/registry/RegistryAuthorization.sol/RegistryAuthorization.dbg.json +4 -0
  205. package/artifacts/contracts/registry/RegistryAuthorization.sol/RegistryAuthorization.json +1137 -0
  206. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +1 -1
  207. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +136 -290
  208. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +1 -1
  209. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +159 -87
  210. package/artifacts/contracts/registry/ReleaseAdmin.sol/ReleaseAdmin.dbg.json +4 -0
  211. package/artifacts/contracts/registry/ReleaseAdmin.sol/ReleaseAdmin.json +2271 -0
  212. package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.dbg.json +4 -0
  213. package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.json +205 -0
  214. package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.dbg.json +4 -0
  215. package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.json +1401 -0
  216. package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.dbg.json +1 -1
  217. package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.json +545 -27
  218. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +1 -1
  219. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +120 -60
  220. package/artifacts/contracts/shared/Component.sol/Component.dbg.json +1 -1
  221. package/artifacts/contracts/shared/Component.sol/Component.json +86 -287
  222. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.dbg.json +1 -1
  223. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.json +609 -569
  224. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.dbg.json +1 -1
  225. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.json +210 -124
  226. package/artifacts/contracts/shared/ContractLib.sol/ContractLib.dbg.json +4 -0
  227. package/artifacts/contracts/shared/ContractLib.sol/ContractLib.json +632 -0
  228. package/artifacts/contracts/shared/ContractLib.sol/IInstanceAdminHelper.dbg.json +4 -0
  229. package/artifacts/contracts/shared/ContractLib.sol/IInstanceAdminHelper.json +24 -0
  230. package/artifacts/contracts/shared/ContractLib.sol/ITargetHelper.dbg.json +4 -0
  231. package/artifacts/contracts/shared/ContractLib.sol/ITargetHelper.json +30 -0
  232. package/artifacts/contracts/shared/ContractLib.sol/ITokenRegistryHelper.dbg.json +4 -0
  233. package/artifacts/contracts/shared/ContractLib.sol/ITokenRegistryHelper.json +40 -0
  234. package/artifacts/contracts/shared/IComponent.sol/IComponent.dbg.json +1 -1
  235. package/artifacts/contracts/shared/IComponent.sol/IComponent.json +92 -103
  236. package/artifacts/contracts/shared/IComponentService.sol/IComponentService.dbg.json +1 -1
  237. package/artifacts/contracts/shared/IComponentService.sol/IComponentService.json +535 -240
  238. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.dbg.json +1 -1
  239. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.json +131 -139
  240. package/artifacts/contracts/shared/ILifecycle.sol/ILifecycle.dbg.json +1 -1
  241. package/artifacts/contracts/shared/ILifecycle.sol/ILifecycle.json +34 -3
  242. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +1 -1
  243. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.json +35 -0
  244. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.dbg.json +1 -1
  245. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.json +15 -47
  246. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
  247. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +167 -0
  248. package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.dbg.json +1 -1
  249. package/artifacts/contracts/shared/IService.sol/IService.dbg.json +1 -1
  250. package/artifacts/contracts/shared/IService.sol/IService.json +84 -2
  251. package/artifacts/contracts/shared/InitializableERC165.sol/InitializableERC165.dbg.json +4 -0
  252. package/artifacts/contracts/shared/InitializableERC165.sol/InitializableERC165.json +53 -0
  253. package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.dbg.json +1 -1
  254. package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.json +125 -376
  255. package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.dbg.json +1 -1
  256. package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.json +42 -62
  257. package/artifacts/contracts/shared/NftIdSet.sol/NftIdSet.dbg.json +4 -0
  258. package/artifacts/contracts/shared/NftIdSet.sol/NftIdSet.json +306 -0
  259. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +1 -1
  260. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +41 -57
  261. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.dbg.json +1 -1
  262. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.json +19 -141
  263. package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
  264. package/artifacts/contracts/shared/Registerable.sol/Registerable.json +141 -97
  265. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.dbg.json +1 -1
  266. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.json +2 -15
  267. package/artifacts/contracts/shared/Service.sol/Service.dbg.json +1 -1
  268. package/artifacts/contracts/shared/Service.sol/Service.json +86 -111
  269. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +1 -1
  270. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +585 -12
  271. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandlerBase.dbg.json +4 -0
  272. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandlerBase.json +484 -0
  273. package/artifacts/contracts/shared/TokenHandlerDeployerLib.sol/TokenHandlerDeployerLib.dbg.json +4 -0
  274. package/artifacts/contracts/shared/TokenHandlerDeployerLib.sol/TokenHandlerDeployerLib.json +172 -0
  275. package/artifacts/contracts/staking/IStaking.sol/IStaking.dbg.json +1 -1
  276. package/artifacts/contracts/staking/IStaking.sol/IStaking.json +1513 -204
  277. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.dbg.json +1 -1
  278. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.json +235 -123
  279. package/artifacts/contracts/staking/ITargetLimitHandler.sol/ITargetLimitHandler.dbg.json +4 -0
  280. package/artifacts/contracts/staking/ITargetLimitHandler.sol/ITargetLimitHandler.json +50 -0
  281. package/artifacts/contracts/staking/Staking.sol/Staking.dbg.json +1 -1
  282. package/artifacts/contracts/staking/Staking.sol/Staking.json +1635 -465
  283. package/artifacts/contracts/staking/StakingLib.sol/StakingLib.dbg.json +4 -0
  284. package/artifacts/contracts/staking/StakingLib.sol/StakingLib.json +470 -0
  285. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.dbg.json +1 -1
  286. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.json +211 -105
  287. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.dbg.json +1 -1
  288. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.json +295 -183
  289. package/artifacts/contracts/staking/StakingService.sol/StakingService.dbg.json +1 -1
  290. package/artifacts/contracts/staking/StakingService.sol/StakingService.json +282 -281
  291. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.dbg.json +1 -1
  292. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.json +162 -94
  293. package/artifacts/contracts/staking/StakingStore.sol/StakingStore.dbg.json +1 -1
  294. package/artifacts/contracts/staking/StakingStore.sol/StakingStore.json +1637 -801
  295. package/artifacts/contracts/staking/TargetHandler.sol/TargetHandler.dbg.json +4 -0
  296. package/artifacts/contracts/staking/TargetHandler.sol/TargetHandler.json +309 -0
  297. package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.dbg.json +1 -1
  298. package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.json +184 -76
  299. package/artifacts/contracts/type/AddressSet.sol/LibAddressSet.dbg.json +1 -1
  300. package/artifacts/contracts/type/AddressSet.sol/LibAddressSet.json +2 -2
  301. package/artifacts/contracts/type/Amount.sol/AmountLib.dbg.json +1 -1
  302. package/artifacts/contracts/type/Amount.sol/AmountLib.json +63 -10
  303. package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.dbg.json +1 -1
  304. package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.json +64 -19
  305. package/artifacts/contracts/type/ChainId.sol/ChainIdLib.dbg.json +4 -0
  306. package/artifacts/contracts/type/ChainId.sol/ChainIdLib.json +193 -0
  307. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.dbg.json +1 -1
  308. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.json +28 -4
  309. package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.dbg.json +1 -1
  310. package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.json +4 -4
  311. package/artifacts/contracts/type/Fee.sol/FeeLib.dbg.json +1 -1
  312. package/artifacts/contracts/type/Fee.sol/FeeLib.json +98 -37
  313. package/artifacts/contracts/type/Key32.sol/Key32Lib.dbg.json +1 -1
  314. package/artifacts/contracts/type/Key32.sol/Key32Lib.json +2 -2
  315. package/artifacts/contracts/type/Key32Set.sol/LibKey32Set.dbg.json +4 -0
  316. package/artifacts/contracts/type/Key32Set.sol/LibKey32Set.json +33 -0
  317. package/artifacts/contracts/type/NftId.sol/NftIdLib.dbg.json +1 -1
  318. package/artifacts/contracts/type/NftId.sol/NftIdLib.json +23 -4
  319. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.dbg.json +1 -1
  320. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.json +2 -2
  321. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.dbg.json +1 -1
  322. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.json +59 -4
  323. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.dbg.json +1 -1
  324. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.json +19 -19
  325. package/artifacts/contracts/type/Referral.sol/ReferralLib.dbg.json +1 -1
  326. package/artifacts/contracts/type/Referral.sol/ReferralLib.json +4 -4
  327. package/artifacts/contracts/type/RequestId.sol/RequestIdLib.dbg.json +1 -1
  328. package/artifacts/contracts/type/RequestId.sol/RequestIdLib.json +4 -4
  329. package/artifacts/contracts/type/RiskId.sol/RiskIdLib.dbg.json +1 -1
  330. package/artifacts/contracts/type/RiskId.sol/RiskIdLib.json +125 -7
  331. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.dbg.json +1 -1
  332. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.json +79 -91
  333. package/artifacts/contracts/type/Seconds.sol/SecondsLib.dbg.json +1 -1
  334. package/artifacts/contracts/type/Seconds.sol/SecondsLib.json +93 -2
  335. package/artifacts/contracts/type/Selector.sol/SelectorLib.dbg.json +1 -1
  336. package/artifacts/contracts/type/Selector.sol/SelectorLib.json +21 -2
  337. package/artifacts/contracts/type/Selector.sol/SelectorSetLib.dbg.json +1 -1
  338. package/artifacts/contracts/type/Selector.sol/SelectorSetLib.json +2 -2
  339. package/artifacts/contracts/type/StateId.sol/StateIdLib.dbg.json +1 -1
  340. package/artifacts/contracts/type/StateId.sol/StateIdLib.json +15 -2
  341. package/artifacts/contracts/type/String.sol/StrLib.dbg.json +1 -1
  342. package/artifacts/contracts/type/String.sol/StrLib.json +50 -2
  343. package/artifacts/contracts/type/Timestamp.sol/TimestampLib.dbg.json +1 -1
  344. package/artifacts/contracts/type/Timestamp.sol/TimestampLib.json +24 -5
  345. package/artifacts/contracts/type/UFixed.sol/UFixedLib.dbg.json +1 -1
  346. package/artifacts/contracts/type/UFixed.sol/UFixedLib.json +126 -33
  347. package/artifacts/contracts/type/Version.sol/VersionLib.dbg.json +1 -1
  348. package/artifacts/contracts/type/Version.sol/VersionLib.json +2 -21
  349. package/artifacts/contracts/type/Version.sol/VersionPartLib.dbg.json +1 -1
  350. package/artifacts/contracts/type/Version.sol/VersionPartLib.json +120 -2
  351. package/artifacts/contracts/upgradeability/IVersionable.sol/IVersionable.dbg.json +4 -0
  352. package/artifacts/contracts/{shared → upgradeability}/IVersionable.sol/IVersionable.json +11 -1
  353. package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.dbg.json +4 -0
  354. package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.json +672 -0
  355. package/artifacts/contracts/upgradeability/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +4 -0
  356. package/artifacts/contracts/upgradeability/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +142 -0
  357. package/artifacts/contracts/upgradeability/Versionable.sol/Versionable.dbg.json +4 -0
  358. package/artifacts/contracts/{shared → upgradeability}/Versionable.sol/Versionable.json +11 -1
  359. package/contracts/accounting/AccountingService.sol +274 -0
  360. package/contracts/accounting/AccountingServiceManager.sol +38 -0
  361. package/contracts/accounting/IAccountingService.sol +47 -0
  362. package/contracts/authorization/AccessAdmin.sol +679 -0
  363. package/contracts/authorization/AccessAdminLib.sol +678 -0
  364. package/contracts/authorization/AccessManagerCloneable.sol +140 -0
  365. package/contracts/authorization/Authorization.sol +190 -0
  366. package/contracts/authorization/IAccess.sol +66 -0
  367. package/contracts/authorization/IAccessAdmin.sol +142 -0
  368. package/contracts/authorization/IAuthorization.sol +26 -0
  369. package/contracts/authorization/IServiceAuthorization.sol +78 -0
  370. package/contracts/authorization/ServiceAuthorization.sol +300 -0
  371. package/contracts/distribution/BasicDistribution.sol +140 -0
  372. package/contracts/distribution/BasicDistributionAuthorization.sol +67 -0
  373. package/contracts/distribution/Distribution.sol +125 -141
  374. package/contracts/distribution/DistributionService.sol +284 -133
  375. package/contracts/distribution/DistributionServiceManager.sol +8 -11
  376. package/contracts/distribution/IDistributionComponent.sol +21 -42
  377. package/contracts/distribution/IDistributionService.sol +60 -26
  378. package/contracts/examples/fire/DamageLevel.sol +59 -0
  379. package/contracts/examples/fire/FirePool.sol +86 -0
  380. package/contracts/examples/fire/FirePoolAuthorization.sol +35 -0
  381. package/contracts/examples/fire/FireProduct.sol +433 -0
  382. package/contracts/examples/fire/FireProductAuthorization.sol +45 -0
  383. package/contracts/examples/fire/FireUSD.sol +26 -0
  384. package/contracts/examples/unpermissioned/SimpleDistribution.sol +81 -0
  385. package/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol +28 -0
  386. package/contracts/examples/unpermissioned/SimpleOracle.sol +133 -0
  387. package/contracts/examples/unpermissioned/SimplePool.sol +102 -0
  388. package/contracts/examples/unpermissioned/SimplePoolAuthorization.sol +28 -0
  389. package/contracts/examples/unpermissioned/SimpleProduct.sol +437 -0
  390. package/contracts/examples/unpermissioned/SimpleProductAuthorization.sol +28 -0
  391. package/contracts/instance/BaseStore.sol +93 -0
  392. package/contracts/instance/BundleSet.sol +130 -0
  393. package/contracts/instance/IBaseStore.sol +37 -0
  394. package/contracts/instance/IInstance.sol +118 -49
  395. package/contracts/instance/IInstanceService.sol +68 -46
  396. package/contracts/instance/Instance.sol +221 -133
  397. package/contracts/instance/InstanceAdmin.sol +234 -258
  398. package/contracts/instance/InstanceAuthorizationV3.sol +275 -0
  399. package/contracts/instance/InstanceReader.sol +470 -256
  400. package/contracts/instance/InstanceService.sol +340 -265
  401. package/contracts/instance/InstanceServiceManager.sol +8 -13
  402. package/contracts/instance/InstanceStore.sol +163 -109
  403. package/contracts/instance/ProductStore.sol +290 -0
  404. package/contracts/instance/RiskSet.sol +126 -0
  405. package/contracts/instance/TargetNames.sol +10 -0
  406. package/contracts/instance/base/BalanceStore.sol +4 -6
  407. package/contracts/instance/base/ObjectCounter.sol +1 -2
  408. package/contracts/instance/base/ObjectLifecycle.sol +109 -0
  409. package/contracts/instance/base/ObjectSet.sol +77 -0
  410. package/contracts/instance/base/ObjectSetHelperLib.sol +30 -0
  411. package/contracts/instance/module/IBundle.sol +6 -5
  412. package/contracts/instance/module/IComponents.sol +29 -21
  413. package/contracts/instance/module/IDistribution.sol +21 -9
  414. package/contracts/instance/module/IPolicy.sol +50 -29
  415. package/contracts/instance/module/IRisk.sol +5 -0
  416. package/contracts/mock/Dip.sol +1 -1
  417. package/contracts/oracle/BasicOracle.sol +44 -0
  418. package/contracts/oracle/BasicOracleAuthorization.sol +53 -0
  419. package/contracts/oracle/IOracle.sol +25 -4
  420. package/contracts/oracle/IOracleComponent.sol +2 -1
  421. package/contracts/oracle/IOracleService.sol +2 -1
  422. package/contracts/oracle/Oracle.sol +60 -53
  423. package/contracts/oracle/OracleService.sol +119 -87
  424. package/contracts/oracle/OracleServiceManager.sol +8 -11
  425. package/contracts/pool/BasicPool.sol +161 -0
  426. package/contracts/pool/BasicPoolAuthorization.sol +81 -0
  427. package/contracts/pool/BundleService.sol +222 -132
  428. package/contracts/pool/BundleServiceManager.sol +8 -11
  429. package/contracts/pool/IBundleService.sol +43 -33
  430. package/contracts/pool/IPoolComponent.sol +20 -70
  431. package/contracts/pool/IPoolService.sol +97 -77
  432. package/contracts/pool/Pool.sol +196 -164
  433. package/contracts/pool/PoolLib.sol +341 -0
  434. package/contracts/pool/PoolService.sol +419 -257
  435. package/contracts/pool/PoolServiceManager.sol +6 -9
  436. package/contracts/product/ApplicationService.sol +154 -81
  437. package/contracts/product/ApplicationServiceManager.sol +6 -6
  438. package/contracts/product/BasicProduct.sol +48 -0
  439. package/contracts/product/BasicProductAuthorization.sol +63 -0
  440. package/contracts/product/ClaimService.sol +391 -207
  441. package/contracts/product/ClaimServiceManager.sol +6 -6
  442. package/contracts/product/IApplicationService.sol +29 -3
  443. package/contracts/product/IClaimService.sol +48 -11
  444. package/contracts/product/IPolicyService.sol +61 -37
  445. package/contracts/product/IPricingService.sol +11 -10
  446. package/contracts/product/IProductComponent.sol +29 -9
  447. package/contracts/product/IRiskService.sol +48 -0
  448. package/contracts/product/PolicyService.sol +445 -275
  449. package/contracts/product/PolicyServiceLib.sol +139 -0
  450. package/contracts/product/PolicyServiceManager.sol +6 -9
  451. package/contracts/product/PricingService.sol +90 -84
  452. package/contracts/product/PricingServiceManager.sol +6 -9
  453. package/contracts/product/Product.sol +261 -147
  454. package/contracts/product/RiskService.sol +189 -0
  455. package/contracts/product/RiskServiceManager.sol +39 -0
  456. package/contracts/registry/ChainNft.sol +72 -40
  457. package/contracts/registry/IRegistry.sol +84 -36
  458. package/contracts/registry/IRegistryService.sol +3 -10
  459. package/contracts/registry/IRelease.sol +29 -0
  460. package/contracts/registry/ITransferInterceptor.sol +1 -2
  461. package/contracts/registry/Registry.sol +378 -224
  462. package/contracts/registry/RegistryAdmin.sol +105 -265
  463. package/contracts/registry/RegistryAuthorization.sol +337 -0
  464. package/contracts/registry/RegistryService.sol +42 -67
  465. package/contracts/registry/RegistryServiceManager.sol +5 -5
  466. package/contracts/registry/ReleaseAdmin.sol +199 -0
  467. package/contracts/registry/ReleaseLifecycle.sol +32 -0
  468. package/contracts/registry/ReleaseRegistry.sol +525 -0
  469. package/contracts/registry/ServiceAuthorizationV3.sol +213 -71
  470. package/contracts/registry/TokenRegistry.sol +61 -59
  471. package/contracts/shared/Component.sol +71 -142
  472. package/contracts/shared/ComponentService.sol +459 -385
  473. package/contracts/shared/ComponentServiceManager.sol +10 -7
  474. package/contracts/shared/ContractLib.sol +312 -0
  475. package/contracts/shared/IComponent.sol +6 -18
  476. package/contracts/shared/IComponentService.sol +50 -41
  477. package/contracts/shared/IInstanceLinkedComponent.sol +10 -26
  478. package/contracts/shared/ILifecycle.sol +3 -2
  479. package/contracts/shared/INftOwnable.sol +4 -0
  480. package/contracts/shared/IPolicyHolder.sol +12 -22
  481. package/contracts/shared/IRegisterable.sol +22 -1
  482. package/contracts/shared/IService.sol +4 -6
  483. package/contracts/shared/{ERC165.sol → InitializableERC165.sol} +11 -3
  484. package/contracts/shared/InstanceLinkedComponent.sol +96 -48
  485. package/contracts/shared/Lifecycle.sol +30 -72
  486. package/contracts/shared/{NftIdSetManager.sol → NftIdSet.sol} +1 -1
  487. package/contracts/shared/NftOwnable.sol +33 -11
  488. package/contracts/shared/PolicyHolder.sol +20 -59
  489. package/contracts/shared/Registerable.sol +52 -21
  490. package/contracts/shared/RegistryLinked.sol +9 -14
  491. package/contracts/shared/Service.sol +22 -38
  492. package/contracts/shared/TokenHandler.sol +310 -26
  493. package/contracts/shared/TokenHandlerDeployerLib.sol +20 -0
  494. package/contracts/staking/IStaking.sol +271 -73
  495. package/contracts/staking/IStakingService.sol +48 -74
  496. package/contracts/staking/ITargetLimitHandler.sol +17 -0
  497. package/contracts/staking/Staking.sol +534 -250
  498. package/contracts/staking/StakingLib.sol +195 -0
  499. package/contracts/staking/StakingManager.sol +14 -15
  500. package/contracts/staking/StakingReader.sol +72 -88
  501. package/contracts/staking/StakingService.sol +62 -152
  502. package/contracts/staking/StakingServiceManager.sol +9 -7
  503. package/contracts/staking/StakingStore.sol +1096 -341
  504. package/contracts/staking/TargetHandler.sol +132 -0
  505. package/contracts/staking/TargetManagerLib.sol +73 -46
  506. package/contracts/type/Amount.sol +31 -5
  507. package/contracts/type/Blocknumber.sol +24 -23
  508. package/contracts/type/ChainId.sol +101 -0
  509. package/contracts/type/ClaimId.sol +6 -1
  510. package/contracts/type/Fee.sol +8 -8
  511. package/contracts/type/Key32.sol +2 -2
  512. package/contracts/type/Key32Set.sol +62 -0
  513. package/contracts/type/NftId.sol +7 -0
  514. package/contracts/type/ObjectType.sol +94 -28
  515. package/contracts/type/PayoutId.sol +10 -10
  516. package/contracts/type/Referral.sol +1 -0
  517. package/contracts/type/RiskId.sol +38 -6
  518. package/contracts/type/RoleId.sol +93 -114
  519. package/contracts/type/Seconds.sol +40 -1
  520. package/contracts/type/Selector.sol +5 -0
  521. package/contracts/type/StateId.sol +15 -1
  522. package/contracts/type/String.sol +12 -0
  523. package/contracts/type/Timestamp.sol +14 -7
  524. package/contracts/type/UFixed.sol +62 -125
  525. package/contracts/type/Version.sol +57 -6
  526. package/contracts/{shared → upgradeability}/IVersionable.sol +3 -0
  527. package/contracts/{shared → upgradeability}/ProxyManager.sol +97 -50
  528. package/contracts/upgradeability/UpgradableProxyWithAdmin.sol +24 -0
  529. package/contracts/{shared → upgradeability}/Versionable.sol +8 -5
  530. package/package.json +10 -6
  531. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.dbg.json +0 -4
  532. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.json +0 -709
  533. package/artifacts/contracts/instance/InstanceAuthorizationsLib.sol/InstanceAuthorizationsLib.dbg.json +0 -4
  534. package/artifacts/contracts/instance/InstanceAuthorizationsLib.sol/InstanceAuthorizationsLib.json +0 -228
  535. package/artifacts/contracts/instance/base/ObjectManager.sol/ObjectManager.dbg.json +0 -4
  536. package/artifacts/contracts/instance/base/ObjectManager.sol/ObjectManager.json +0 -187
  537. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.dbg.json +0 -4
  538. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.json +0 -129
  539. package/artifacts/contracts/product/IProductService.sol/IProductService.dbg.json +0 -4
  540. package/artifacts/contracts/product/IProductService.sol/IProductService.json +0 -400
  541. package/artifacts/contracts/product/ProductService.sol/ProductService.dbg.json +0 -4
  542. package/artifacts/contracts/product/ProductService.sol/ProductService.json +0 -708
  543. package/artifacts/contracts/product/ProductServiceManager.sol/ProductServiceManager.dbg.json +0 -4
  544. package/artifacts/contracts/product/ProductServiceManager.sol/ProductServiceManager.json +0 -702
  545. package/artifacts/contracts/registry/IServiceAuthorization.sol/IServiceAuthorization.dbg.json +0 -4
  546. package/artifacts/contracts/registry/IServiceAuthorization.sol/IServiceAuthorization.json +0 -129
  547. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.dbg.json +0 -4
  548. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.json +0 -1218
  549. package/artifacts/contracts/registry/ServiceAuthorization.sol/ServiceAuthorization.dbg.json +0 -4
  550. package/artifacts/contracts/registry/ServiceAuthorization.sol/ServiceAuthorization.json +0 -171
  551. package/artifacts/contracts/shared/AccessAdmin.sol/AccessAdmin.dbg.json +0 -4
  552. package/artifacts/contracts/shared/AccessAdmin.sol/AccessAdmin.json +0 -1559
  553. package/artifacts/contracts/shared/AccessManagerCustom.sol/AccessManagerCustom.dbg.json +0 -4
  554. package/artifacts/contracts/shared/AccessManagerCustom.sol/AccessManagerCustom.json +0 -1193
  555. package/artifacts/contracts/shared/AccessManagerExtended.sol/AccessManagerExtended.dbg.json +0 -4
  556. package/artifacts/contracts/shared/AccessManagerExtended.sol/AccessManagerExtended.json +0 -1747
  557. package/artifacts/contracts/shared/AccessManagerExtendedInitializeable.sol/AccessManagerExtendedInitializeable.dbg.json +0 -4
  558. package/artifacts/contracts/shared/AccessManagerExtendedInitializeable.sol/AccessManagerExtendedInitializeable.json +0 -1760
  559. package/artifacts/contracts/shared/AccessManagerExtendedWithDisable.sol/AccessManagerExtendedWithDisable.dbg.json +0 -4
  560. package/artifacts/contracts/shared/AccessManagerExtendedWithDisable.sol/AccessManagerExtendedWithDisable.json +0 -1838
  561. package/artifacts/contracts/shared/AccessManagerExtendedWithDisableInitializeable.sol/AccessManagerExtendedWithDisableInitializeable.dbg.json +0 -4
  562. package/artifacts/contracts/shared/AccessManagerExtendedWithDisableInitializeable.sol/AccessManagerExtendedWithDisableInitializeable.json +0 -1856
  563. package/artifacts/contracts/shared/ComponentVerifyingService.sol/ComponentVerifyingService.dbg.json +0 -4
  564. package/artifacts/contracts/shared/ERC165.sol/ERC165.dbg.json +0 -4
  565. package/artifacts/contracts/shared/ERC165.sol/ERC165.json +0 -73
  566. package/artifacts/contracts/shared/IAccessAdmin.sol/IAccessAdmin.dbg.json +0 -4
  567. package/artifacts/contracts/shared/IAccessManagerExtended.sol/IAccessManagerExtended.dbg.json +0 -4
  568. package/artifacts/contracts/shared/IAccessManagerExtended.sol/IAccessManagerExtended.json +0 -1562
  569. package/artifacts/contracts/shared/IAccessManagerExtendedWithDisable.sol/IAccessManagerExtendedWithDisable.dbg.json +0 -4
  570. package/artifacts/contracts/shared/IAccessManagerExtendedWithDisable.sol/IAccessManagerExtendedWithDisable.json +0 -1600
  571. package/artifacts/contracts/shared/IKeyValueStore.sol/IKeyValueStore.dbg.json +0 -4
  572. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.dbg.json +0 -4
  573. package/artifacts/contracts/shared/InitializableCustom.sol/InitializableCustom.dbg.json +0 -4
  574. package/artifacts/contracts/shared/InitializableCustom.sol/InitializableCustom.json +0 -39
  575. package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.dbg.json +0 -4
  576. package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.json +0 -571
  577. package/artifacts/contracts/shared/NftIdSetManager.sol/NftIdSetManager.dbg.json +0 -4
  578. package/artifacts/contracts/shared/NftIdSetManager.sol/NftIdSetManager.json +0 -306
  579. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.dbg.json +0 -4
  580. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.json +0 -617
  581. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +0 -4
  582. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +0 -129
  583. package/artifacts/contracts/shared/Versionable.sol/Versionable.dbg.json +0 -4
  584. package/artifacts/contracts/staking/StakeManagerLib.sol/StakeManagerLib.dbg.json +0 -4
  585. package/artifacts/contracts/staking/StakeManagerLib.sol/StakeManagerLib.json +0 -460
  586. package/artifacts/contracts/type/UFixed.sol/MathLib.dbg.json +0 -4
  587. package/artifacts/contracts/type/UFixed.sol/MathLib.json +0 -10
  588. package/contracts/instance/BundleManager.sol +0 -126
  589. package/contracts/instance/InstanceAuthorizationsLib.sol +0 -377
  590. package/contracts/instance/base/ObjectManager.sol +0 -80
  591. package/contracts/instance/module/IAccess.sol +0 -46
  592. package/contracts/product/IProductService.sol +0 -33
  593. package/contracts/product/ProductService.sol +0 -124
  594. package/contracts/product/ProductServiceManager.sol +0 -42
  595. package/contracts/registry/IServiceAuthorization.sol +0 -35
  596. package/contracts/registry/ReleaseManager.sol +0 -527
  597. package/contracts/registry/ServiceAuthorization.sol +0 -86
  598. package/contracts/shared/AccessAdmin.sol +0 -759
  599. package/contracts/shared/AccessManagerCustom.sol +0 -741
  600. package/contracts/shared/AccessManagerExtended.sol +0 -481
  601. package/contracts/shared/AccessManagerExtendedInitializeable.sol +0 -13
  602. package/contracts/shared/AccessManagerExtendedWithDisable.sol +0 -137
  603. package/contracts/shared/AccessManagerExtendedWithDisableInitializeable.sol +0 -14
  604. package/contracts/shared/ComponentVerifyingService.sol +0 -117
  605. package/contracts/shared/IAccessAdmin.sol +0 -168
  606. package/contracts/shared/IAccessManagerExtended.sol +0 -74
  607. package/contracts/shared/IAccessManagerExtendedWithDisable.sol +0 -18
  608. package/contracts/shared/IKeyValueStore.sol +0 -53
  609. package/contracts/shared/InitializableCustom.sol +0 -177
  610. package/contracts/shared/KeyValueStore.sol +0 -127
  611. package/contracts/shared/UpgradableProxyWithAdmin.sol +0 -16
  612. package/contracts/staking/StakeManagerLib.sol +0 -231
@@ -0,0 +1,849 @@
1
+ {
2
+ "_format": "hh-sol-artifact-1",
3
+ "contractName": "BasicOracleAuthorization",
4
+ "sourceName": "contracts/oracle/BasicOracleAuthorization.sol",
5
+ "abi": [
6
+ {
7
+ "inputs": [
8
+ {
9
+ "internalType": "string",
10
+ "name": "componentName",
11
+ "type": "string"
12
+ },
13
+ {
14
+ "internalType": "string",
15
+ "name": "commitHash",
16
+ "type": "string"
17
+ }
18
+ ],
19
+ "stateMutability": "nonpayable",
20
+ "type": "constructor"
21
+ },
22
+ {
23
+ "inputs": [
24
+ {
25
+ "internalType": "string",
26
+ "name": "commitHash",
27
+ "type": "string"
28
+ }
29
+ ],
30
+ "name": "ErrorAuthorizationCommitHashInvalid",
31
+ "type": "error"
32
+ },
33
+ {
34
+ "inputs": [],
35
+ "name": "ErrorAuthorizationMainTargetNameEmpty",
36
+ "type": "error"
37
+ },
38
+ {
39
+ "inputs": [
40
+ {
41
+ "internalType": "uint8",
42
+ "name": "release",
43
+ "type": "uint8"
44
+ }
45
+ ],
46
+ "name": "ErrorAuthorizationReleaseInvalid",
47
+ "type": "error"
48
+ },
49
+ {
50
+ "inputs": [],
51
+ "name": "ErrorAuthorizationTargetDomainZero",
52
+ "type": "error"
53
+ },
54
+ {
55
+ "inputs": [],
56
+ "name": "InvalidInitialization",
57
+ "type": "error"
58
+ },
59
+ {
60
+ "inputs": [],
61
+ "name": "NotInitializing",
62
+ "type": "error"
63
+ },
64
+ {
65
+ "anonymous": false,
66
+ "inputs": [
67
+ {
68
+ "indexed": false,
69
+ "internalType": "uint64",
70
+ "name": "version",
71
+ "type": "uint64"
72
+ }
73
+ ],
74
+ "name": "Initialized",
75
+ "type": "event"
76
+ },
77
+ {
78
+ "inputs": [],
79
+ "name": "COMMIT_HASH",
80
+ "outputs": [
81
+ {
82
+ "internalType": "string",
83
+ "name": "",
84
+ "type": "string"
85
+ }
86
+ ],
87
+ "stateMutability": "view",
88
+ "type": "function"
89
+ },
90
+ {
91
+ "inputs": [],
92
+ "name": "COMMIT_HASH_LENGTH",
93
+ "outputs": [
94
+ {
95
+ "internalType": "uint256",
96
+ "name": "",
97
+ "type": "uint256"
98
+ }
99
+ ],
100
+ "stateMutability": "view",
101
+ "type": "function"
102
+ },
103
+ {
104
+ "inputs": [],
105
+ "name": "COMPONENT_ROLE_MIN",
106
+ "outputs": [
107
+ {
108
+ "internalType": "uint64",
109
+ "name": "",
110
+ "type": "uint64"
111
+ }
112
+ ],
113
+ "stateMutability": "view",
114
+ "type": "function"
115
+ },
116
+ {
117
+ "inputs": [],
118
+ "name": "DOMAIN",
119
+ "outputs": [
120
+ {
121
+ "internalType": "ObjectType",
122
+ "name": "",
123
+ "type": "uint8"
124
+ }
125
+ ],
126
+ "stateMutability": "view",
127
+ "type": "function"
128
+ },
129
+ {
130
+ "inputs": [],
131
+ "name": "GIF_INITIAL_VERSION",
132
+ "outputs": [
133
+ {
134
+ "internalType": "uint256",
135
+ "name": "",
136
+ "type": "uint256"
137
+ }
138
+ ],
139
+ "stateMutability": "view",
140
+ "type": "function"
141
+ },
142
+ {
143
+ "inputs": [],
144
+ "name": "INSTANCE_ROLE_MIN",
145
+ "outputs": [
146
+ {
147
+ "internalType": "uint64",
148
+ "name": "",
149
+ "type": "uint64"
150
+ }
151
+ ],
152
+ "stateMutability": "view",
153
+ "type": "function"
154
+ },
155
+ {
156
+ "inputs": [],
157
+ "name": "ROLE_NAME_SUFFIX",
158
+ "outputs": [
159
+ {
160
+ "internalType": "string",
161
+ "name": "",
162
+ "type": "string"
163
+ }
164
+ ],
165
+ "stateMutability": "view",
166
+ "type": "function"
167
+ },
168
+ {
169
+ "inputs": [],
170
+ "name": "SERVICE_NAME_SUFFIX",
171
+ "outputs": [
172
+ {
173
+ "internalType": "string",
174
+ "name": "",
175
+ "type": "string"
176
+ }
177
+ ],
178
+ "stateMutability": "view",
179
+ "type": "function"
180
+ },
181
+ {
182
+ "inputs": [
183
+ {
184
+ "internalType": "Str",
185
+ "name": "target",
186
+ "type": "bytes32"
187
+ },
188
+ {
189
+ "internalType": "RoleId",
190
+ "name": "roleId",
191
+ "type": "uint64"
192
+ }
193
+ ],
194
+ "name": "getAuthorizedFunctions",
195
+ "outputs": [
196
+ {
197
+ "components": [
198
+ {
199
+ "internalType": "Str",
200
+ "name": "name",
201
+ "type": "bytes32"
202
+ },
203
+ {
204
+ "internalType": "Selector",
205
+ "name": "selector",
206
+ "type": "bytes4"
207
+ },
208
+ {
209
+ "internalType": "Timestamp",
210
+ "name": "createdAt",
211
+ "type": "uint40"
212
+ },
213
+ {
214
+ "internalType": "Blocknumber",
215
+ "name": "lastUpdateIn",
216
+ "type": "uint40"
217
+ }
218
+ ],
219
+ "internalType": "struct IAccess.FunctionInfo[]",
220
+ "name": "authorizatedFunctions",
221
+ "type": "tuple[]"
222
+ }
223
+ ],
224
+ "stateMutability": "view",
225
+ "type": "function"
226
+ },
227
+ {
228
+ "inputs": [
229
+ {
230
+ "internalType": "Str",
231
+ "name": "target",
232
+ "type": "bytes32"
233
+ }
234
+ ],
235
+ "name": "getAuthorizedRoles",
236
+ "outputs": [
237
+ {
238
+ "internalType": "RoleId[]",
239
+ "name": "roleIds",
240
+ "type": "uint64[]"
241
+ }
242
+ ],
243
+ "stateMutability": "view",
244
+ "type": "function"
245
+ },
246
+ {
247
+ "inputs": [],
248
+ "name": "getCommitHash",
249
+ "outputs": [
250
+ {
251
+ "internalType": "string",
252
+ "name": "commitHash",
253
+ "type": "string"
254
+ }
255
+ ],
256
+ "stateMutability": "view",
257
+ "type": "function"
258
+ },
259
+ {
260
+ "inputs": [],
261
+ "name": "getDomain",
262
+ "outputs": [
263
+ {
264
+ "internalType": "ObjectType",
265
+ "name": "targetDomain",
266
+ "type": "uint8"
267
+ }
268
+ ],
269
+ "stateMutability": "view",
270
+ "type": "function"
271
+ },
272
+ {
273
+ "inputs": [],
274
+ "name": "getMainTarget",
275
+ "outputs": [
276
+ {
277
+ "internalType": "Str",
278
+ "name": "target",
279
+ "type": "bytes32"
280
+ }
281
+ ],
282
+ "stateMutability": "view",
283
+ "type": "function"
284
+ },
285
+ {
286
+ "inputs": [],
287
+ "name": "getMainTargetName",
288
+ "outputs": [
289
+ {
290
+ "internalType": "string",
291
+ "name": "name",
292
+ "type": "string"
293
+ }
294
+ ],
295
+ "stateMutability": "view",
296
+ "type": "function"
297
+ },
298
+ {
299
+ "inputs": [],
300
+ "name": "getRelease",
301
+ "outputs": [
302
+ {
303
+ "internalType": "VersionPart",
304
+ "name": "release",
305
+ "type": "uint8"
306
+ }
307
+ ],
308
+ "stateMutability": "view",
309
+ "type": "function"
310
+ },
311
+ {
312
+ "inputs": [
313
+ {
314
+ "internalType": "RoleId",
315
+ "name": "roleId",
316
+ "type": "uint64"
317
+ }
318
+ ],
319
+ "name": "getRoleInfo",
320
+ "outputs": [
321
+ {
322
+ "components": [
323
+ {
324
+ "internalType": "RoleId",
325
+ "name": "adminRoleId",
326
+ "type": "uint64"
327
+ },
328
+ {
329
+ "internalType": "enum IAccess.TargetType",
330
+ "name": "targetType",
331
+ "type": "uint8"
332
+ },
333
+ {
334
+ "internalType": "uint32",
335
+ "name": "maxMemberCount",
336
+ "type": "uint32"
337
+ },
338
+ {
339
+ "internalType": "Timestamp",
340
+ "name": "createdAt",
341
+ "type": "uint40"
342
+ },
343
+ {
344
+ "internalType": "Timestamp",
345
+ "name": "pausedAt",
346
+ "type": "uint40"
347
+ },
348
+ {
349
+ "internalType": "Blocknumber",
350
+ "name": "lastUpdateIn",
351
+ "type": "uint40"
352
+ },
353
+ {
354
+ "internalType": "Str",
355
+ "name": "name",
356
+ "type": "bytes32"
357
+ }
358
+ ],
359
+ "internalType": "struct IAccess.RoleInfo",
360
+ "name": "info",
361
+ "type": "tuple"
362
+ }
363
+ ],
364
+ "stateMutability": "view",
365
+ "type": "function"
366
+ },
367
+ {
368
+ "inputs": [
369
+ {
370
+ "internalType": "RoleId",
371
+ "name": "roleId",
372
+ "type": "uint64"
373
+ }
374
+ ],
375
+ "name": "getRoleName",
376
+ "outputs": [
377
+ {
378
+ "internalType": "string",
379
+ "name": "roleName",
380
+ "type": "string"
381
+ }
382
+ ],
383
+ "stateMutability": "view",
384
+ "type": "function"
385
+ },
386
+ {
387
+ "inputs": [],
388
+ "name": "getRoles",
389
+ "outputs": [
390
+ {
391
+ "internalType": "RoleId[]",
392
+ "name": "roles",
393
+ "type": "uint64[]"
394
+ }
395
+ ],
396
+ "stateMutability": "view",
397
+ "type": "function"
398
+ },
399
+ {
400
+ "inputs": [
401
+ {
402
+ "internalType": "ObjectType",
403
+ "name": "serviceDomain",
404
+ "type": "uint8"
405
+ }
406
+ ],
407
+ "name": "getServiceAddress",
408
+ "outputs": [
409
+ {
410
+ "internalType": "address",
411
+ "name": "service",
412
+ "type": "address"
413
+ }
414
+ ],
415
+ "stateMutability": "view",
416
+ "type": "function"
417
+ },
418
+ {
419
+ "inputs": [
420
+ {
421
+ "internalType": "uint256",
422
+ "name": "idx",
423
+ "type": "uint256"
424
+ }
425
+ ],
426
+ "name": "getServiceDomain",
427
+ "outputs": [
428
+ {
429
+ "internalType": "ObjectType",
430
+ "name": "serviceDomain",
431
+ "type": "uint8"
432
+ }
433
+ ],
434
+ "stateMutability": "view",
435
+ "type": "function"
436
+ },
437
+ {
438
+ "inputs": [],
439
+ "name": "getServiceDomains",
440
+ "outputs": [
441
+ {
442
+ "internalType": "ObjectType[]",
443
+ "name": "serviceDomains",
444
+ "type": "uint8[]"
445
+ }
446
+ ],
447
+ "stateMutability": "view",
448
+ "type": "function"
449
+ },
450
+ {
451
+ "inputs": [
452
+ {
453
+ "internalType": "ObjectType",
454
+ "name": "serviceDomain",
455
+ "type": "uint8"
456
+ }
457
+ ],
458
+ "name": "getServiceRole",
459
+ "outputs": [
460
+ {
461
+ "internalType": "RoleId",
462
+ "name": "serviceRoleId",
463
+ "type": "uint64"
464
+ }
465
+ ],
466
+ "stateMutability": "view",
467
+ "type": "function"
468
+ },
469
+ {
470
+ "inputs": [
471
+ {
472
+ "internalType": "ObjectType",
473
+ "name": "serviceDomain",
474
+ "type": "uint8"
475
+ }
476
+ ],
477
+ "name": "getServiceTarget",
478
+ "outputs": [
479
+ {
480
+ "internalType": "Str",
481
+ "name": "target",
482
+ "type": "bytes32"
483
+ }
484
+ ],
485
+ "stateMutability": "view",
486
+ "type": "function"
487
+ },
488
+ {
489
+ "inputs": [
490
+ {
491
+ "internalType": "string",
492
+ "name": "targetName",
493
+ "type": "string"
494
+ }
495
+ ],
496
+ "name": "getTarget",
497
+ "outputs": [
498
+ {
499
+ "internalType": "Str",
500
+ "name": "target",
501
+ "type": "bytes32"
502
+ }
503
+ ],
504
+ "stateMutability": "pure",
505
+ "type": "function"
506
+ },
507
+ {
508
+ "inputs": [
509
+ {
510
+ "internalType": "Str",
511
+ "name": "target",
512
+ "type": "bytes32"
513
+ }
514
+ ],
515
+ "name": "getTargetRole",
516
+ "outputs": [
517
+ {
518
+ "internalType": "RoleId",
519
+ "name": "roleId",
520
+ "type": "uint64"
521
+ }
522
+ ],
523
+ "stateMutability": "view",
524
+ "type": "function"
525
+ },
526
+ {
527
+ "inputs": [],
528
+ "name": "getTargets",
529
+ "outputs": [
530
+ {
531
+ "internalType": "Str[]",
532
+ "name": "targets",
533
+ "type": "bytes32[]"
534
+ }
535
+ ],
536
+ "stateMutability": "view",
537
+ "type": "function"
538
+ },
539
+ {
540
+ "inputs": [],
541
+ "name": "getTokenHandlerName",
542
+ "outputs": [
543
+ {
544
+ "internalType": "string",
545
+ "name": "",
546
+ "type": "string"
547
+ }
548
+ ],
549
+ "stateMutability": "view",
550
+ "type": "function"
551
+ },
552
+ {
553
+ "inputs": [],
554
+ "name": "getTokenHandlerTarget",
555
+ "outputs": [
556
+ {
557
+ "internalType": "Str",
558
+ "name": "",
559
+ "type": "bytes32"
560
+ }
561
+ ],
562
+ "stateMutability": "view",
563
+ "type": "function"
564
+ },
565
+ {
566
+ "inputs": [
567
+ {
568
+ "internalType": "RoleId",
569
+ "name": "roleId",
570
+ "type": "uint64"
571
+ }
572
+ ],
573
+ "name": "roleExists",
574
+ "outputs": [
575
+ {
576
+ "internalType": "bool",
577
+ "name": "exists",
578
+ "type": "bool"
579
+ }
580
+ ],
581
+ "stateMutability": "view",
582
+ "type": "function"
583
+ },
584
+ {
585
+ "inputs": [
586
+ {
587
+ "internalType": "bytes4",
588
+ "name": "interfaceId",
589
+ "type": "bytes4"
590
+ }
591
+ ],
592
+ "name": "supportsInterface",
593
+ "outputs": [
594
+ {
595
+ "internalType": "bool",
596
+ "name": "",
597
+ "type": "bool"
598
+ }
599
+ ],
600
+ "stateMutability": "view",
601
+ "type": "function"
602
+ },
603
+ {
604
+ "inputs": [
605
+ {
606
+ "internalType": "Str",
607
+ "name": "target",
608
+ "type": "bytes32"
609
+ }
610
+ ],
611
+ "name": "targetExists",
612
+ "outputs": [
613
+ {
614
+ "internalType": "bool",
615
+ "name": "exists",
616
+ "type": "bool"
617
+ }
618
+ ],
619
+ "stateMutability": "view",
620
+ "type": "function"
621
+ }
622
+ ],
623
+ "bytecode": "0x610100604052600b60c09081526a086dedae0dedccadce8a8d60ab1b60e052600e9061002b9082611b9e565b50348015610037575f80fd5b506040516134f73803806134f783398101604081905261005691611d09565b81600d60038360055f8585858583515f036100845760405163c0348f3560e01b815260040160405180910390fd5b6100fe8373__$0d958e68cba84670b8f4a3f2f2686b1c6b$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af41580156100cf573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906100f39190611d7c565b60ff90811691161490565b1561011c576040516302e3f24160e11b815260040160405180910390fd5b73__$b659da7d8a6d2d32aa6c1e17da23dc2174$__63bb41432a6040518163ffffffff1660e01b8152600401602060405180830381865af4158015610163573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906101879190611d7c565b604051632b10f60d60e21b815260ff909116600482015273__$b659da7d8a6d2d32aa6c1e17da23dc2174$__9063ac43d83490602401602060405180830381865af41580156101d8573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906101fc9190611d97565b8260ff1610806102ee575073__$b659da7d8a6d2d32aa6c1e17da23dc2174$__63fbcaa8ed6040518163ffffffff1660e01b8152600401602060405180830381865af415801561024e573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906102729190611d7c565b604051632b10f60d60e21b815260ff909116600482015273__$b659da7d8a6d2d32aa6c1e17da23dc2174$__9063ac43d83490602401602060405180830381865af41580156102c3573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906102e79190611d97565b8260ff1610155b1561031657604051636164474d60e01b815260ff831660048201526024015b60405180910390fd5b602881511461033a57806040516369306ec360e01b815260040161030d9190611ddc565b61037a6301ffc9a760e01b5f9081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b62d1d15b60e11b5f9081526020527fbfdfbaeb6ce3cef2dc92e70fc8227f58737fb6598199eb8999f7714e506efecb805460ff1916600117905560026103c08582611b9e565b5060405163cdc23e6960e01b815273__$9a094f9b231ed0f5f85a69be8408d93180$__9063cdc23e69906103f8908790600401611ddc565b602060405180830381865af4158015610413573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906104379190611d97565b60035560ff808416608052821660a05260016104538282611b9e565b506104cf61045f610a74565b73__$7ca0443fea8aec4ba68c2e8d18c5a8d73e$__63d09ce86c6040518163ffffffff1660e01b815260040160e060405180830381865af41580156104a6573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906104ca9190611e39565b610aee565b6105216104da610c56565b73__$7ca0443fea8aec4ba68c2e8d18c5a8d73e$__63aec48fc76040518163ffffffff1660e01b815260040160e060405180830381865af41580156104a6573d5f803e3d5ffd5b5050600d80546001600160801b0319166a0186a00000000000000064179055506001905082600781111561055757610557611ecb565b036105f3576105ee6002805461056c90611b1b565b80601f016020809104026020016040519081016040528092919081815260200182805461059890611b1b565b80156105e35780601f106105ba576101008083540402835291602001916105e3565b820191905f5260205f20905b8154815290600101906020018083116105c657829003601f168201915b5050610c9892505050565b6108d9565b600482600781111561060757610607611ecb565b0361069e576105ee6002805461061c90611b1b565b80601f016020809104026020016040519081016040528092919081815260200182805461064890611b1b565b80156106935780601f1061066a57610100808354040283529160200191610693565b820191905f5260205f20905b81548152906001019060200180831161067657829003601f168201915b5050610db392505050565b60405163037c8cb160e51b815260ff8616600482015273__$0d958e68cba84670b8f4a3f2f2686b1c6b$__90636f91962090602401602060405180830381865af41580156106ee573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906107129190611edf565b15610730576040516302e3f24160e11b815260040160405180910390fd5b6040516368aebf7b60e01b81526201adb060048201525f9073__$1d92393fa9ccd763988368ce8a1cb90d26$__906368aebf7b90602401602060405180830381865af4158015610782573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906107a69190611efe565b90505f61083b600280546107b990611b1b565b80601f01602080910402602001604051908101604052809291908181526020018280546107e590611b1b565b80156108305780601f1061080757610100808354040283529160200191610830565b820191905f5260205f20905b81548152906001019060200180831161081357829003601f168201915b5050610e9a92505050565b90506108d66002805461084d90611b1b565b80601f016020809104026020016040519081016040528092919081815260200182805461087990611b1b565b80156108c45780601f1061089b576101008083540402835291602001916108c4565b820191905f5260205f20905b8154815290600101906020018083116108a757829003601f168201915b50505050508383610ee260201b60201c565b50505b6108e16110c4565b6108e96110d0565b8015610a2c57856040516020016109009190611f2e565b604051602081830303815290604052600e908161091d9190611b9e565b5060405163cdc23e6960e01b815273__$9a094f9b231ed0f5f85a69be8408d93180$__9063cdc23e699061095690600e90600401611f4b565b602060405180830381865af4158015610971573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906109959190611d97565b600f55600e8054610a2c91906109aa90611b1b565b80601f01602080910402602001604051908101604052809291908181526020018280546109d690611b1b565b8015610a215780601f106109f857610100808354040283529160200191610a21565b820191905f5260205f20905b815481529060010190602001808311610a0457829003601f168201915b50506111a492505050565b635a183bdb60e11b5f9081526020527f7eca8d71090247e4ddb022896f9503bf26cbfa0d8fb0110212f077e5ed799af8805460ff191660011790555050505050505050612115565b6040516368aebf7b60e01b81525f600482018190529073__$1d92393fa9ccd763988368ce8a1cb90d26$__906368aebf7b906024015b602060405180830381865af4158015610ac5573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610ae99190611efe565b905090565b60068054600181019091557ff652222313e28459528d920b65115c16c04f3efc82aaedc97be59f3f377c0d3f6004820401805460039092166008026101000a6001600160401b0381810219909316858416918202179091555f908152600760208181526040909220845181546001600160401b031981169190951690811782559285015185949193909284926001600160481b0319169091179068010000000000000000908490811115610ba457610ba4611ecb565b0217905550604082015181546060840151608085015160a086015164ffffffffff908116600160b81b0264ffffffffff60b81b19928216600160901b0292909216600160901b600160e01b0319919093166d01000000000000000000000000000264ffffffffff60681b1963ffffffff90961669010000000000000000000295909516600160481b600160901b03199094169390931793909317919091161717815560c0909101516001909101555050565b6040516368aebf7b60e01b81526001600160401b0360048201525f9073__$1d92393fa9ccd763988368ce8a1cb90d26$__906368aebf7b90602401610aaa565b565b600d80545f9173__$1d92393fa9ccd763988368ce8a1cb90d26$__916368aebf7b916001600160401b039091169084610cd083611fd2565b91906101000a8154816001600160401b0302191690836001600160401b031602179055506040518263ffffffff1660e01b8152600401610d1f91906001600160401b0391909116815260200190565b602060405180830381865af4158015610d3a573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610d5e9190611efe565b90505f82604051806040016040528060058152602001645f526f6c6560d81b815250604051602001610d91929190612009565b60408051601f198184030181529190529050610dae838383610ee2565b505050565b5f73__$1d92393fa9ccd763988368ce8a1cb90d26$__6368aebf7b600d600881819054906101000a90046001600160401b031680929190610df390611fd2565b91906101000a8154816001600160401b0302191690836001600160401b031602179055506040518263ffffffff1660e01b8152600401610e4291906001600160401b0391909116815260200190565b602060405180830381865af4158015610e5d573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610e819190611efe565b90505f610e8d83610e9a565b9050610dae838383610ee2565b606081604051806040016040528060058152602001645f526f6c6560d81b815250604051602001610ecc929190612009565b6040516020818303038152906040529050919050565b60405163cdc23e6960e01b81525f9073__$9a094f9b231ed0f5f85a69be8408d93180$__9063cdc23e6990610f1b908790600401611ddc565b602060405180830381865af4158015610f36573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610f5a9190611d97565b6008805460018181019092557ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee3018290555f82815260096020908152604091829020805460ff1916909317909255805163bc1b392d60e01b8152905192935061102f92869273__$1d92393fa9ccd763988368ce8a1cb90d26$__9263bc1b392d92600480830193928290030181865af4158015610ff9573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061101d9190611efe565b6001600160401b039081169116141590565b156110be5761103d83611226565b611097576110978373__$7ca0443fea8aec4ba68c2e8d18c5a8d73e$__63650cbf89856040518263ffffffff1660e01b815260040161107c9190611ddc565b60e060405180830381865af41580156104a6573d5f803e3d5ffd5b5f818152600a6020526040902080546001600160401b0319166001600160401b0385161790555b50505050565b610c96600d600f61126a565b5f6110eb6110dc6114c0565b6110e6600d611550565b61159b565b905061112481630b29e28e60e01b604051806040016040528060078152602001661c995c5d595cdd60ca1b8152506116af60201b60201c565b60408051808201909152600681526518d85b98d95b60d21b6020820152611155908290634c125e7960e01b906116af565b6111686111606114c0565b6110e6610c56565b90506111a18163cf4ee77a60e01b604051806040016040528060078152602001661c995cdc1bdb9960ca1b8152506116af60201b60201c565b50565b6111a18173__$1d92393fa9ccd763988368ce8a1cb90d26$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af41580156111ef573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906112139190611efe565b60408051602081019091525f8152610ee2565b5f806001600160401b0383165f9081526007602081905260409091205468010000000000000000900460ff169081111561126257611262611ecb565b141592915050565b6004805460018101825560208082047f8a35acfbc15ff81a39ae7d344fd709f28e8600b4aa8c65c6b64bfe7fe36bd19b01805460ff808816601f9095166101000a8581029102199091161790555f91825260059052604080822080546001600160a01b0386166001600160a01b031990911617905551632b95d28f60e21b8152909173__$0d958e68cba84670b8f4a3f2f2686b1c6b$__91630c3258f991839163ae574a3c916113259189910160ff91909116815260200190565b5f60405180830381865af415801561133f573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526113669190810190612025565b6040805180820190915260078152665365727669636560c81b602082015261138c611929565b6040518463ffffffff1660e01b81526004016113aa93929190612056565b5f60405180830381865af41580156113c4573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526113eb9190810190612025565b9050610dae8173__$1d92393fa9ccd763988368ce8a1cb90d26$__63645ceefe86611414611929565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865af4158015611457573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061147b9190611efe565b83604051806040016040528060058152602001645f526f6c6560d81b8152506040516020016114ab929190612009565b60408051601f19818403018152919052610ee2565b6060600280546114cf90611b1b565b80601f01602080910402602001604051908101604052809291908181526020018280546114fb90611b1b565b80156115465780601f1061151d57610100808354040283529160200191611546565b820191905f5260205f20905b81548152906001019060200180831161152957829003601f168201915b5050505050905090565b5f61155c8260636100f3565b1561156f57611569610c56565b92915050565b5f611579836119a6565b5f818152600a60205260409020549091506001600160401b03165b9392505050565b5f8073__$9a094f9b231ed0f5f85a69be8408d93180$__63cdc23e69856040518263ffffffff1660e01b81526004016115d49190611ddc565b602060405180830381865af41580156115ef573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906116139190611d97565b5f818152600c602090815260408083206001600160401b038816845290915281205491925003611686575f818152600b602090815260408220805460018101825590835291206004820401805460039092166008026101000a6001600160401b0381810219909316928616029190911790555b5f908152600c602090815260408083206001600160401b03861684529091529020905092915050565b60408051608081019182905263cdc23e6960e01b90915283908073__$9a094f9b231ed0f5f85a69be8408d93180$__63cdc23e696116f08660848501611ddc565b602060405180830381865af415801561170b573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061172f9190611d97565b8152604051636b15ee8b60e01b81526001600160e01b03198616600482015260209091019073__$0904195350e4c23ecb1d51df0a32586dcd$__90636b15ee8b90602401602060405180830381865af415801561178e573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906117b2919061208e565b6001600160e01b031916815260200173__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__639fa6a6e36040518163ffffffff1660e01b8152600401602060405180830381865af4158015611808573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061182c91906120b5565b64ffffffffff16815260200173__$f55ca14f1ddce1b88fe30d23ae45f595f4$__639fa6a6e36040518163ffffffff1660e01b8152600401602060405180830381865af415801561187f573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906118a391906120b5565b64ffffffffff9081169091528254600181810185555f948552602094859020845160029093020191825593830151930180546040840151606090940151831669010000000000000000000264ffffffffff60481b1994909316640100000000026001600160481b031990911660e09590951c949094179390931791909116179055505050565b60a051604051632392b61b60e21b81525f9173__$b659da7d8a6d2d32aa6c1e17da23dc2174$__91638e4ad86c916119679160040190815260200190565b602060405180830381865af4158015611982573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610ae99190611d7c565b604051632b95d28f60e21b815260ff821660048201525f90819073__$0d958e68cba84670b8f4a3f2f2686b1c6b$__90630c3258f990829063ae574a3c906024015f60405180830381865af4158015611a01573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052611a289190810190612025565b611a30611929565b6040518363ffffffff1660e01b8152600401611a4d9291906120d0565b5f60405180830381865af4158015611a67573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052611a8e9190810190612025565b60405163cdc23e6960e01b815290915073__$9a094f9b231ed0f5f85a69be8408d93180$__9063cdc23e6990611ac8908490600401611ddc565b602060405180830381865af4158015611ae3573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906115949190611d97565b634e487b7160e01b5f52604160045260245ffd5b600181811c90821680611b2f57607f821691505b602082108103611b4d57634e487b7160e01b5f52602260045260245ffd5b50919050565b601f821115610dae57805f5260205f20601f840160051c81016020851015611b785750805b601f840160051c820191505b81811015611b97575f8155600101611b84565b5050505050565b81516001600160401b03811115611bb757611bb7611b07565b611bcb81611bc58454611b1b565b84611b53565b6020601f821160018114611bfd575f8315611be65750848201515b5f19600385901b1c1916600184901b178455611b97565b5f84815260208120601f198516915b82811015611c2c5787850151825560209485019460019092019101611c0c565b5084821015611c4957868401515f19600387901b60f8161c191681555b50505050600190811b01905550565b60405160e081016001600160401b0381118282101715611c7a57611c7a611b07565b60405290565b5f82601f830112611c8f575f80fd5b81516001600160401b03811115611ca857611ca8611b07565b604051601f8201601f19908116603f011681016001600160401b0381118282101715611cd657611cd6611b07565b604052818152838201602001851015611ced575f80fd5b8160208501602083015e5f918101602001919091529392505050565b5f8060408385031215611d1a575f80fd5b82516001600160401b03811115611d2f575f80fd5b611d3b85828601611c80565b602085015190935090506001600160401b03811115611d58575f80fd5b611d6485828601611c80565b9150509250929050565b60ff811681146111a1575f80fd5b5f60208284031215611d8c575f80fd5b815161159481611d6e565b5f60208284031215611da7575f80fd5b5051919050565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081525f6115946020830184611dae565b80516001600160401b0381168114611e04575f80fd5b919050565b805163ffffffff81168114611e04575f80fd5b64ffffffffff811681146111a1575f80fd5b8051611e0481611e1c565b5f60e0828403128015611e4a575f80fd5b50611e53611c58565b611e5c83611dee565b8152602083015160088110611e6f575f80fd5b6020820152611e8060408401611e09565b6040820152611e9160608401611e2e565b6060820152611ea260808401611e2e565b6080820152611eb360a08401611e2e565b60a082015260c0928301519281019290925250919050565b634e487b7160e01b5f52602160045260245ffd5b5f60208284031215611eef575f80fd5b81518015158114611594575f80fd5b5f60208284031215611f0e575f80fd5b61159482611dee565b5f81518060208401855e5f93019283525090919050565b5f611f398284611f17565b610a8d60f31b81526002019392505050565b602081525f808354611f5c81611b1b565b806020860152600182165f8114611f7a5760018114611f9657611fc7565b60ff1983166040870152604082151560051b8701019350611fc7565b865f5260205f205f5b83811015611fbe57815488820160400152600190910190602001611f9f565b87016040019450505b509195945050505050565b5f6001600160401b0382166002600160401b0319810161200057634e487b7160e01b5f52601160045260245ffd5b60010192915050565b5f61201d6120178386611f17565b84611f17565b949350505050565b5f60208284031215612035575f80fd5b81516001600160401b0381111561204a575f80fd5b61201d84828501611c80565b606081525f6120686060830186611dae565b828103602084015261207a8186611dae565b91505060ff83166040830152949350505050565b5f6020828403121561209e575f80fd5b81516001600160e01b031981168114611594575f80fd5b5f602082840312156120c5575f80fd5b815161159481611e1c565b606081525f6120e26060830185611dae565b828103602084015260078152665365727669636560c81b60208201526040810191505060ff831660408301529392505050565b60805160a0516113ba61213d5f395f610aac01525f818161030b015261043601526113ba5ff3fe608060405234801561000f575f80fd5b50600436106101dc575f3560e01c80637106139811610109578063b79e14941161009e578063da44d6af1161006e578063da44d6af146104ac578063e8eba435146104b4578063f1d01027146104c7578063fef30334146104cf575f80fd5b8063b79e14941461045a578063c5f3484414610462578063c6a0017914610486578063da1b620b14610499575f80fd5b80638c5397b0116100d95780638c5397b01461040f578063a43e328114610422578063b1040cf81461042c578063b68d180914610434575f80fd5b806371061398146103b757806376b707b7146103cc578063775f14b1146103d457806384be8c00146103fc575f80fd5b806350a388ea1161017f5780635c935ce01161014f5780635c935ce01461037257806363fe3b561461038557806368c55b131461039a578063694ca5d3146103af575f80fd5b806350a388ea146102f357806352a9674b1461030657806354e17da91461033f5780635bfa502714610352575f80fd5b80631e4afbbf116101ba5780631e4afbbf146102865780633a591cf8146102a65780634322699b146102bb5780634a34a4de146102cd575f80fd5b806301ffc9a7146101e05780630ccbae511461022157806313efdd7a14610243575b5f80fd5b61020c6101ee366004610e12565b6001600160e01b0319165f9081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b61022b620186a081565b6040516001600160401b039091168152602001610218565b61026e610251366004610e4a565b60ff165f908152600560205260409020546001600160a01b031690565b6040516001600160a01b039091168152602001610218565b610299610294366004610e79565b6104d7565b6040516102189190610ea7565b6102ae610594565b6040516102189190610f54565b6003545b604051908152602001610218565b6102ae604051806040016040528060078152602001665365727669636560c81b81525081565b6102ae610301366004610f66565b610624565b61032d7f000000000000000000000000000000000000000000000000000000000000000081565b60405160ff9091168152602001610218565b6102bf61034d366004610e4a565b6106c3565b610365610360366004610f66565b61082b565b6040516102189190610f95565b61020c610380366004611040565b610919565b61038d610941565b6040516102189190611057565b6103a2610996565b604051610218919061108e565b6102ae610a08565b6103bf610a17565b60405161021891906110c8565b61032d610a9d565b61022b6103e2366004611040565b5f908152600a60205260409020546001600160401b031690565b61032d61040a366004611040565b610b35565b6103bf61041d366004611040565b610b6e565b61022b6201adb081565b600f546102bf565b7f000000000000000000000000000000000000000000000000000000000000000061032d565b6102bf602881565b6102ae604051806040016040528060058152602001645f526f6c6560d81b81525081565b61020c610494366004610f66565b610bfe565b6102bf6104a7366004611172565b610c3d565b6102bf600381565b61022b6104c2366004610e4a565b610cb5565b6102ae610cf2565b6102ae610d01565b5f828152600c602090815260408083206001600160401b03851684528252808320805482518185028101850190935280835260609492939192909184015b82821015610588575f8481526020908190206040805160808101825260028602909201805483526001908101546001600160e01b031960e082901b168486015264ffffffffff6401000000008204811693850193909352600160481b900490911660608301529083529092019101610515565b50505050905092915050565b6060600e80546105a3906111eb565b80601f01602080910402602001604051908101604052809291908181526020018280546105cf906111eb565b801561061a5780601f106105f15761010080835404028352916020019161061a565b820191905f5260205f20905b8154815290600101906020018083116105fd57829003601f168201915b5050505050905090565b6001600160401b0381165f9081526007602052604090819020600101549051631623433d60e31b815260609173__$9a094f9b231ed0f5f85a69be8408d93180$__9163b11a19e89161067c9160040190815260200190565b5f60405180830381865af4158015610696573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526106bd9190810190611223565b92915050565b604051632b95d28f60e21b815260ff821660048201525f90819073__$0d958e68cba84670b8f4a3f2f2686b1c6b$__90630c3258f990829063ae574a3c906024015f60405180830381865af415801561071e573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526107459190810190611223565b61074d610a9d565b6040518363ffffffff1660e01b815260040161076a929190611297565b5f60405180830381865af4158015610784573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526107ab9190810190611223565b60405163cdc23e6960e01b815290915073__$9a094f9b231ed0f5f85a69be8408d93180$__9063cdc23e69906107e5908490600401610f54565b602060405180830381865af4158015610800573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061082491906112dc565b9392505050565b6040805160e0810182525f80825260208201819052918101829052606081018290526080810182905260a0810182905260c08101919091526001600160401b038281165f90815260076020818152604092839020835160e0810190945280549485168452929390840191600160401b90910460ff16908111156108b0576108b0610f81565b60078111156108c1576108c1610f81565b8152815463ffffffff600160481b820416602083015264ffffffffff600160681b820481166040840152600160901b820481166060840152600160b81b90910416608082015260019091015460a09091015292915050565b5f61092682600354610d1d565b806106bd5750505f9081526009602052604090205460ff1690565b6060600880548060200260200160405190810160405280929190818152602001828054801561061a57602002820191905f5260205f20905b815481526020019060010190808311610979575050505050905090565b6060600480548060200260200160405190810160405280929190818152602001828054801561061a57602002820191905f5260205f20905f905b825461010083900a900460ff168152602060019283018181049485019490930390920291018084116109d05790505050505050905090565b6060600180546105a3906111eb565b6060600680548060200260200160405190810160405280929190818152602001828054801561061a57602002820191905f5260205f20905f905b82829054906101000a90046001600160401b03166001600160401b031681526020019060080190602082600701049283019260010382029150808411610a515790505050505050905090565b604051632392b61b60e21b81527f000000000000000000000000000000000000000000000000000000000000000060048201525f9073__$b659da7d8a6d2d32aa6c1e17da23dc2174$__90638e4ad86c90602401602060405180830381865af4158015610b0c573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b3091906112f3565b905090565b5f60048281548110610b4957610b4961130e565b905f5260205f2090602091828204019190069054906101000a900460ff169050919050565b5f818152600b6020908152604091829020805483518184028101840190945280845260609392830182828015610bf257602002820191905f5260205f20905f905b82829054906101000a90046001600160401b03166001600160401b031681526020019060080190602082600701049283019260010382029150808411610baf5790505b50505050509050919050565b5f806001600160401b0383165f90815260076020819052604090912054600160401b900460ff1690811115610c3557610c35610f81565b141592915050565b60405163cdc23e6960e01b81525f9073__$9a094f9b231ed0f5f85a69be8408d93180$__9063cdc23e6990610c76908590600401610f54565b602060405180830381865af4158015610c91573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906106bd91906112dc565b5f60ff8216606303610cc9576106bd610d98565b5f610cd3836106c3565b5f818152600a60205260409020549091506001600160401b0316610824565b6060600280546105a3906111eb565b60405180606001604052806028815260200161135d6028913981565b6040516303447c0360e41b815260048101839052602481018290525f9073__$9a094f9b231ed0f5f85a69be8408d93180$__90633447c03090604401602060405180830381865af4158015610d74573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906108249190611322565b6040516368aebf7b60e01b81526001600160401b0360048201525f9073__$1d92393fa9ccd763988368ce8a1cb90d26$__906368aebf7b90602401602060405180830381865af4158015610dee573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b309190611341565b5f60208284031215610e22575f80fd5b81356001600160e01b031981168114610824575f80fd5b60ff81168114610e47575f80fd5b50565b5f60208284031215610e5a575f80fd5b813561082481610e39565b6001600160401b0381168114610e47575f80fd5b5f8060408385031215610e8a575f80fd5b823591506020830135610e9c81610e65565b809150509250929050565b602080825282518282018190525f918401906040840190835b81811015610f1b5783518051845263ffffffff60e01b602082015116602085015264ffffffffff604082015116604085015264ffffffffff606082015116606085015250608083019250602084019350600181019050610ec0565b509095945050505050565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081525f6108246020830184610f26565b5f60208284031215610f76575f80fd5b813561082481610e65565b634e487b7160e01b5f52602160045260245ffd5b81516001600160401b03168152602082015160e082019060088110610fc857634e487b7160e01b5f52602160045260245ffd5b806020840152506040830151610fe6604084018263ffffffff169052565b506060830151610fff606084018264ffffffffff169052565b506080830151611018608084018264ffffffffff169052565b5060a083015161103160a084018264ffffffffff169052565b5060c092830151919092015290565b5f60208284031215611050575f80fd5b5035919050565b602080825282518282018190525f918401906040840190835b81811015610f1b578351835260209384019390920191600101611070565b602080825282518282018190525f918401906040840190835b81811015610f1b57835160ff168352602093840193909201916001016110a7565b602080825282518282018190525f918401906040840190835b81811015610f1b5783516001600160401b03168352602093840193909201916001016110e1565b634e487b7160e01b5f52604160045260245ffd5b604051601f8201601f191681016001600160401b038111828210171561114457611144611108565b604052919050565b5f6001600160401b0382111561116457611164611108565b50601f01601f191660200190565b5f60208284031215611182575f80fd5b81356001600160401b03811115611197575f80fd5b8201601f810184136111a7575f80fd5b80356111ba6111b58261114c565b61111c565b8181528560208385010111156111ce575f80fd5b816020840160208301375f91810160200191909152949350505050565b600181811c908216806111ff57607f821691505b60208210810361121d57634e487b7160e01b5f52602260045260245ffd5b50919050565b5f60208284031215611233575f80fd5b81516001600160401b03811115611248575f80fd5b8201601f81018413611258575f80fd5b80516112666111b58261114c565b81815285602083850101111561127a575f80fd5b8160208401602083015e5f91810160200191909152949350505050565b606081525f6112a96060830185610f26565b828103602084015260078152665365727669636560c81b60208201526040810191505060ff831660408301529392505050565b5f602082840312156112ec575f80fd5b5051919050565b5f60208284031215611303575f80fd5b815161082481610e39565b634e487b7160e01b5f52603260045260245ffd5b5f60208284031215611332575f80fd5b81518015158114610824575f80fd5b5f60208284031215611351575f80fd5b815161082481610e6556fe31613161316131613161316131613161316131613161316131613161316131613161316131613161a264697066735822122098bf930fcd39a31e316bef17bc6625f8860158b83f5a0cde0be390825d8237fc64736f6c634300081a0033",
624
+ "deployedBytecode": "0x608060405234801561000f575f80fd5b50600436106101dc575f3560e01c80637106139811610109578063b79e14941161009e578063da44d6af1161006e578063da44d6af146104ac578063e8eba435146104b4578063f1d01027146104c7578063fef30334146104cf575f80fd5b8063b79e14941461045a578063c5f3484414610462578063c6a0017914610486578063da1b620b14610499575f80fd5b80638c5397b0116100d95780638c5397b01461040f578063a43e328114610422578063b1040cf81461042c578063b68d180914610434575f80fd5b806371061398146103b757806376b707b7146103cc578063775f14b1146103d457806384be8c00146103fc575f80fd5b806350a388ea1161017f5780635c935ce01161014f5780635c935ce01461037257806363fe3b561461038557806368c55b131461039a578063694ca5d3146103af575f80fd5b806350a388ea146102f357806352a9674b1461030657806354e17da91461033f5780635bfa502714610352575f80fd5b80631e4afbbf116101ba5780631e4afbbf146102865780633a591cf8146102a65780634322699b146102bb5780634a34a4de146102cd575f80fd5b806301ffc9a7146101e05780630ccbae511461022157806313efdd7a14610243575b5f80fd5b61020c6101ee366004610e12565b6001600160e01b0319165f9081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b61022b620186a081565b6040516001600160401b039091168152602001610218565b61026e610251366004610e4a565b60ff165f908152600560205260409020546001600160a01b031690565b6040516001600160a01b039091168152602001610218565b610299610294366004610e79565b6104d7565b6040516102189190610ea7565b6102ae610594565b6040516102189190610f54565b6003545b604051908152602001610218565b6102ae604051806040016040528060078152602001665365727669636560c81b81525081565b6102ae610301366004610f66565b610624565b61032d7f000000000000000000000000000000000000000000000000000000000000000081565b60405160ff9091168152602001610218565b6102bf61034d366004610e4a565b6106c3565b610365610360366004610f66565b61082b565b6040516102189190610f95565b61020c610380366004611040565b610919565b61038d610941565b6040516102189190611057565b6103a2610996565b604051610218919061108e565b6102ae610a08565b6103bf610a17565b60405161021891906110c8565b61032d610a9d565b61022b6103e2366004611040565b5f908152600a60205260409020546001600160401b031690565b61032d61040a366004611040565b610b35565b6103bf61041d366004611040565b610b6e565b61022b6201adb081565b600f546102bf565b7f000000000000000000000000000000000000000000000000000000000000000061032d565b6102bf602881565b6102ae604051806040016040528060058152602001645f526f6c6560d81b81525081565b61020c610494366004610f66565b610bfe565b6102bf6104a7366004611172565b610c3d565b6102bf600381565b61022b6104c2366004610e4a565b610cb5565b6102ae610cf2565b6102ae610d01565b5f828152600c602090815260408083206001600160401b03851684528252808320805482518185028101850190935280835260609492939192909184015b82821015610588575f8481526020908190206040805160808101825260028602909201805483526001908101546001600160e01b031960e082901b168486015264ffffffffff6401000000008204811693850193909352600160481b900490911660608301529083529092019101610515565b50505050905092915050565b6060600e80546105a3906111eb565b80601f01602080910402602001604051908101604052809291908181526020018280546105cf906111eb565b801561061a5780601f106105f15761010080835404028352916020019161061a565b820191905f5260205f20905b8154815290600101906020018083116105fd57829003601f168201915b5050505050905090565b6001600160401b0381165f9081526007602052604090819020600101549051631623433d60e31b815260609173__$9a094f9b231ed0f5f85a69be8408d93180$__9163b11a19e89161067c9160040190815260200190565b5f60405180830381865af4158015610696573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526106bd9190810190611223565b92915050565b604051632b95d28f60e21b815260ff821660048201525f90819073__$0d958e68cba84670b8f4a3f2f2686b1c6b$__90630c3258f990829063ae574a3c906024015f60405180830381865af415801561071e573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526107459190810190611223565b61074d610a9d565b6040518363ffffffff1660e01b815260040161076a929190611297565b5f60405180830381865af4158015610784573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526107ab9190810190611223565b60405163cdc23e6960e01b815290915073__$9a094f9b231ed0f5f85a69be8408d93180$__9063cdc23e69906107e5908490600401610f54565b602060405180830381865af4158015610800573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061082491906112dc565b9392505050565b6040805160e0810182525f80825260208201819052918101829052606081018290526080810182905260a0810182905260c08101919091526001600160401b038281165f90815260076020818152604092839020835160e0810190945280549485168452929390840191600160401b90910460ff16908111156108b0576108b0610f81565b60078111156108c1576108c1610f81565b8152815463ffffffff600160481b820416602083015264ffffffffff600160681b820481166040840152600160901b820481166060840152600160b81b90910416608082015260019091015460a09091015292915050565b5f61092682600354610d1d565b806106bd5750505f9081526009602052604090205460ff1690565b6060600880548060200260200160405190810160405280929190818152602001828054801561061a57602002820191905f5260205f20905b815481526020019060010190808311610979575050505050905090565b6060600480548060200260200160405190810160405280929190818152602001828054801561061a57602002820191905f5260205f20905f905b825461010083900a900460ff168152602060019283018181049485019490930390920291018084116109d05790505050505050905090565b6060600180546105a3906111eb565b6060600680548060200260200160405190810160405280929190818152602001828054801561061a57602002820191905f5260205f20905f905b82829054906101000a90046001600160401b03166001600160401b031681526020019060080190602082600701049283019260010382029150808411610a515790505050505050905090565b604051632392b61b60e21b81527f000000000000000000000000000000000000000000000000000000000000000060048201525f9073__$b659da7d8a6d2d32aa6c1e17da23dc2174$__90638e4ad86c90602401602060405180830381865af4158015610b0c573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b3091906112f3565b905090565b5f60048281548110610b4957610b4961130e565b905f5260205f2090602091828204019190069054906101000a900460ff169050919050565b5f818152600b6020908152604091829020805483518184028101840190945280845260609392830182828015610bf257602002820191905f5260205f20905f905b82829054906101000a90046001600160401b03166001600160401b031681526020019060080190602082600701049283019260010382029150808411610baf5790505b50505050509050919050565b5f806001600160401b0383165f90815260076020819052604090912054600160401b900460ff1690811115610c3557610c35610f81565b141592915050565b60405163cdc23e6960e01b81525f9073__$9a094f9b231ed0f5f85a69be8408d93180$__9063cdc23e6990610c76908590600401610f54565b602060405180830381865af4158015610c91573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906106bd91906112dc565b5f60ff8216606303610cc9576106bd610d98565b5f610cd3836106c3565b5f818152600a60205260409020549091506001600160401b0316610824565b6060600280546105a3906111eb565b60405180606001604052806028815260200161135d6028913981565b6040516303447c0360e41b815260048101839052602481018290525f9073__$9a094f9b231ed0f5f85a69be8408d93180$__90633447c03090604401602060405180830381865af4158015610d74573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906108249190611322565b6040516368aebf7b60e01b81526001600160401b0360048201525f9073__$1d92393fa9ccd763988368ce8a1cb90d26$__906368aebf7b90602401602060405180830381865af4158015610dee573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b309190611341565b5f60208284031215610e22575f80fd5b81356001600160e01b031981168114610824575f80fd5b60ff81168114610e47575f80fd5b50565b5f60208284031215610e5a575f80fd5b813561082481610e39565b6001600160401b0381168114610e47575f80fd5b5f8060408385031215610e8a575f80fd5b823591506020830135610e9c81610e65565b809150509250929050565b602080825282518282018190525f918401906040840190835b81811015610f1b5783518051845263ffffffff60e01b602082015116602085015264ffffffffff604082015116604085015264ffffffffff606082015116606085015250608083019250602084019350600181019050610ec0565b509095945050505050565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081525f6108246020830184610f26565b5f60208284031215610f76575f80fd5b813561082481610e65565b634e487b7160e01b5f52602160045260245ffd5b81516001600160401b03168152602082015160e082019060088110610fc857634e487b7160e01b5f52602160045260245ffd5b806020840152506040830151610fe6604084018263ffffffff169052565b506060830151610fff606084018264ffffffffff169052565b506080830151611018608084018264ffffffffff169052565b5060a083015161103160a084018264ffffffffff169052565b5060c092830151919092015290565b5f60208284031215611050575f80fd5b5035919050565b602080825282518282018190525f918401906040840190835b81811015610f1b578351835260209384019390920191600101611070565b602080825282518282018190525f918401906040840190835b81811015610f1b57835160ff168352602093840193909201916001016110a7565b602080825282518282018190525f918401906040840190835b81811015610f1b5783516001600160401b03168352602093840193909201916001016110e1565b634e487b7160e01b5f52604160045260245ffd5b604051601f8201601f191681016001600160401b038111828210171561114457611144611108565b604052919050565b5f6001600160401b0382111561116457611164611108565b50601f01601f191660200190565b5f60208284031215611182575f80fd5b81356001600160401b03811115611197575f80fd5b8201601f810184136111a7575f80fd5b80356111ba6111b58261114c565b61111c565b8181528560208385010111156111ce575f80fd5b816020840160208301375f91810160200191909152949350505050565b600181811c908216806111ff57607f821691505b60208210810361121d57634e487b7160e01b5f52602260045260245ffd5b50919050565b5f60208284031215611233575f80fd5b81516001600160401b03811115611248575f80fd5b8201601f81018413611258575f80fd5b80516112666111b58261114c565b81815285602083850101111561127a575f80fd5b8160208401602083015e5f91810160200191909152949350505050565b606081525f6112a96060830185610f26565b828103602084015260078152665365727669636560c81b60208201526040810191505060ff831660408301529392505050565b5f602082840312156112ec575f80fd5b5051919050565b5f60208284031215611303575f80fd5b815161082481610e39565b634e487b7160e01b5f52603260045260245ffd5b5f60208284031215611332575f80fd5b81518015158114610824575f80fd5b5f60208284031215611351575f80fd5b815161082481610e6556fe31613161316131613161316131613161316131613161316131613161316131613161316131613161a264697066735822122098bf930fcd39a31e316bef17bc6625f8860158b83f5a0cde0be390825d8237fc64736f6c634300081a0033",
625
+ "linkReferences": {
626
+ "contracts/authorization/AccessAdminLib.sol": {
627
+ "AccessAdminLib": [
628
+ {
629
+ "length": 20,
630
+ "start": 1121
631
+ },
632
+ {
633
+ "length": 20,
634
+ "start": 1244
635
+ },
636
+ {
637
+ "length": 20,
638
+ "start": 4167
639
+ }
640
+ ]
641
+ },
642
+ "contracts/type/Blocknumber.sol": {
643
+ "BlocknumberLib": [
644
+ {
645
+ "length": 20,
646
+ "start": 6202
647
+ }
648
+ ]
649
+ },
650
+ "contracts/type/ObjectType.sol": {
651
+ "ObjectTypeLib": [
652
+ {
653
+ "length": 20,
654
+ "start": 138
655
+ },
656
+ {
657
+ "length": 20,
658
+ "start": 1718
659
+ },
660
+ {
661
+ "length": 20,
662
+ "start": 4846
663
+ },
664
+ {
665
+ "length": 20,
666
+ "start": 6594
667
+ },
668
+ {
669
+ "length": 20,
670
+ "start": 10268
671
+ }
672
+ ]
673
+ },
674
+ "contracts/type/RoleId.sol": {
675
+ "RoleIdLib": [
676
+ {
677
+ "length": 20,
678
+ "start": 1866
679
+ },
680
+ {
681
+ "length": 20,
682
+ "start": 2700
683
+ },
684
+ {
685
+ "length": 20,
686
+ "start": 3188
687
+ },
688
+ {
689
+ "length": 20,
690
+ "start": 3232
691
+ },
692
+ {
693
+ "length": 20,
694
+ "start": 3510
695
+ },
696
+ {
697
+ "length": 20,
698
+ "start": 4033
699
+ },
700
+ {
701
+ "length": 20,
702
+ "start": 4522
703
+ },
704
+ {
705
+ "length": 20,
706
+ "start": 5107
707
+ },
708
+ {
709
+ "length": 20,
710
+ "start": 12019
711
+ }
712
+ ]
713
+ },
714
+ "contracts/type/Selector.sol": {
715
+ "SelectorLib": [
716
+ {
717
+ "length": 20,
718
+ "start": 5974
719
+ }
720
+ ]
721
+ },
722
+ "contracts/type/String.sol": {
723
+ "StrLib": [
724
+ {
725
+ "length": 20,
726
+ "start": 976
727
+ },
728
+ {
729
+ "length": 20,
730
+ "start": 2349
731
+ },
732
+ {
733
+ "length": 20,
734
+ "start": 3827
735
+ },
736
+ {
737
+ "length": 20,
738
+ "start": 5535
739
+ },
740
+ {
741
+ "length": 20,
742
+ "start": 5835
743
+ },
744
+ {
745
+ "length": 20,
746
+ "start": 6816
747
+ },
748
+ {
749
+ "length": 20,
750
+ "start": 10127
751
+ },
752
+ {
753
+ "length": 20,
754
+ "start": 10490
755
+ },
756
+ {
757
+ "length": 20,
758
+ "start": 11659
759
+ },
760
+ {
761
+ "length": 20,
762
+ "start": 11897
763
+ }
764
+ ]
765
+ },
766
+ "contracts/type/Timestamp.sol": {
767
+ "TimestampLib": [
768
+ {
769
+ "length": 20,
770
+ "start": 6083
771
+ }
772
+ ]
773
+ },
774
+ "contracts/type/Version.sol": {
775
+ "VersionPartLib": [
776
+ {
777
+ "length": 20,
778
+ "start": 286
779
+ },
780
+ {
781
+ "length": 20,
782
+ "start": 416
783
+ },
784
+ {
785
+ "length": 20,
786
+ "start": 521
787
+ },
788
+ {
789
+ "length": 20,
790
+ "start": 651
791
+ },
792
+ {
793
+ "length": 20,
794
+ "start": 6461
795
+ },
796
+ {
797
+ "length": 20,
798
+ "start": 11281
799
+ }
800
+ ]
801
+ }
802
+ },
803
+ "deployedLinkReferences": {
804
+ "contracts/type/ObjectType.sol": {
805
+ "ObjectTypeLib": [
806
+ {
807
+ "length": 20,
808
+ "start": 1759
809
+ }
810
+ ]
811
+ },
812
+ "contracts/type/RoleId.sol": {
813
+ "RoleIdLib": [
814
+ {
815
+ "length": 20,
816
+ "start": 3510
817
+ }
818
+ ]
819
+ },
820
+ "contracts/type/String.sol": {
821
+ "StrLib": [
822
+ {
823
+ "length": 20,
824
+ "start": 1618
825
+ },
826
+ {
827
+ "length": 20,
828
+ "start": 1981
829
+ },
830
+ {
831
+ "length": 20,
832
+ "start": 3150
833
+ },
834
+ {
835
+ "length": 20,
836
+ "start": 3388
837
+ }
838
+ ]
839
+ },
840
+ "contracts/type/Version.sol": {
841
+ "VersionPartLib": [
842
+ {
843
+ "length": 20,
844
+ "start": 2772
845
+ }
846
+ ]
847
+ }
848
+ }
849
+ }