@etherisc/gif-next 0.0.2-df73b56-462 → 0.0.2-dfb8aa3-070

Sign up to get free protection for your applications and to get access to all the features.
Files changed (406) hide show
  1. package/artifacts/contracts/authorization/AccessAdmin.sol/AccessAdmin.dbg.json +1 -1
  2. package/artifacts/contracts/authorization/AccessAdmin.sol/AccessAdmin.json +96 -37
  3. package/artifacts/contracts/authorization/AccessManagerCloneable.sol/AccessManagerCloneable.dbg.json +1 -1
  4. package/artifacts/contracts/authorization/Authorization.sol/Authorization.dbg.json +1 -1
  5. package/artifacts/contracts/authorization/Authorization.sol/Authorization.json +67 -11
  6. package/artifacts/contracts/authorization/IAccess.sol/IAccess.dbg.json +1 -1
  7. package/artifacts/contracts/authorization/IAccessAdmin.sol/IAccessAdmin.dbg.json +1 -1
  8. package/artifacts/contracts/authorization/IAccessAdmin.sol/IAccessAdmin.json +60 -13
  9. package/artifacts/contracts/authorization/IAuthorization.sol/IAuthorization.dbg.json +1 -1
  10. package/artifacts/contracts/authorization/IAuthorization.sol/IAuthorization.json +40 -3
  11. package/artifacts/contracts/authorization/IServiceAuthorization.sol/IServiceAuthorization.dbg.json +1 -1
  12. package/artifacts/contracts/authorization/IServiceAuthorization.sol/IServiceAuthorization.json +19 -0
  13. package/artifacts/contracts/authorization/ReleaseAccessManager.sol/ReleaseAccessManager.dbg.json +4 -0
  14. package/artifacts/contracts/authorization/ReleaseAccessManager.sol/ReleaseAccessManager.json +1196 -0
  15. package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.dbg.json +1 -1
  16. package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.json +68 -5
  17. package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.dbg.json +1 -1
  18. package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.json +154 -94
  19. package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.dbg.json +1 -1
  20. package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.json +82 -22
  21. package/artifacts/contracts/distribution/Distribution.sol/Distribution.dbg.json +1 -1
  22. package/artifacts/contracts/distribution/Distribution.sol/Distribution.json +94 -58
  23. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.dbg.json +1 -1
  24. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.json +136 -86
  25. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +1 -1
  26. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.json +80 -60
  27. package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.dbg.json +1 -1
  28. package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.json +81 -58
  29. package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.dbg.json +1 -1
  30. package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.json +29 -0
  31. package/artifacts/contracts/examples/fire/DamageLevel.sol/DamageLevelLib.dbg.json +4 -0
  32. package/artifacts/contracts/examples/fire/DamageLevel.sol/DamageLevelLib.json +22 -0
  33. package/artifacts/contracts/examples/fire/FirePool.sol/FirePool.dbg.json +4 -0
  34. package/artifacts/contracts/examples/fire/FirePool.sol/FirePool.json +1538 -0
  35. package/artifacts/contracts/examples/fire/FirePoolAuthorization.sol/FirePoolAuthorization.dbg.json +4 -0
  36. package/artifacts/contracts/examples/fire/FirePoolAuthorization.sol/FirePoolAuthorization.json +470 -0
  37. package/artifacts/contracts/examples/fire/FireProduct.sol/FireProduct.dbg.json +4 -0
  38. package/artifacts/contracts/examples/fire/FireProduct.sol/FireProduct.json +2072 -0
  39. package/artifacts/contracts/examples/fire/FireProductAuthorization.sol/FireProductAuthorization.dbg.json +4 -0
  40. package/artifacts/contracts/examples/fire/FireProductAuthorization.sol/FireProductAuthorization.json +470 -0
  41. package/artifacts/contracts/examples/fire/FireUSD.sol/FireUSD.dbg.json +4 -0
  42. package/artifacts/contracts/examples/fire/FireUSD.sol/FireUSD.json +376 -0
  43. package/artifacts/contracts/examples/unpermissioned/SimpleDistribution.sol/SimpleDistribution.dbg.json +1 -1
  44. package/artifacts/contracts/examples/unpermissioned/SimpleDistribution.sol/SimpleDistribution.json +156 -96
  45. package/artifacts/contracts/examples/unpermissioned/SimpleOracle.sol/SimpleOracle.dbg.json +1 -1
  46. package/artifacts/contracts/examples/unpermissioned/SimpleOracle.sol/SimpleOracle.json +137 -77
  47. package/artifacts/contracts/examples/unpermissioned/SimplePool.sol/SimplePool.dbg.json +1 -1
  48. package/artifacts/contracts/examples/unpermissioned/SimplePool.sol/SimplePool.json +153 -106
  49. package/artifacts/contracts/examples/unpermissioned/SimpleProduct.sol/SimpleProduct.dbg.json +1 -1
  50. package/artifacts/contracts/examples/unpermissioned/SimpleProduct.sol/SimpleProduct.json +241 -129
  51. package/artifacts/contracts/instance/BundleSet.sol/BundleSet.dbg.json +1 -1
  52. package/artifacts/contracts/instance/BundleSet.sol/BundleSet.json +2 -2
  53. package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
  54. package/artifacts/contracts/instance/IInstance.sol/IInstance.json +53 -31
  55. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +1 -1
  56. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +29 -84
  57. package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
  58. package/artifacts/contracts/instance/Instance.sol/Instance.json +62 -40
  59. package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.dbg.json +1 -1
  60. package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.json +148 -118
  61. package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.dbg.json +1 -1
  62. package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.json +57 -97
  63. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +1 -1
  64. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +275 -77
  65. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +1 -1
  66. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +72 -130
  67. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +1 -1
  68. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +48 -40
  69. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.dbg.json +1 -1
  70. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.json +175 -104
  71. package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.dbg.json +1 -1
  72. package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.json +2 -2
  73. package/artifacts/contracts/instance/base/Cloneable.sol/Cloneable.dbg.json +1 -1
  74. package/artifacts/contracts/instance/base/ObjectCounter.sol/ObjectCounter.dbg.json +1 -1
  75. package/artifacts/contracts/instance/base/ObjectCounter.sol/ObjectCounter.json +2 -2
  76. package/artifacts/contracts/instance/base/ObjectLifecycle.sol/ObjectLifecycle.dbg.json +1 -1
  77. package/artifacts/contracts/instance/base/ObjectLifecycle.sol/ObjectLifecycle.json +46 -5
  78. package/artifacts/contracts/instance/base/ObjectSet.sol/ObjectSet.dbg.json +1 -1
  79. package/artifacts/contracts/instance/base/ObjectSet.sol/ObjectSet.json +2 -2
  80. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.dbg.json +1 -1
  81. package/artifacts/contracts/instance/module/IBundle.sol/IBundle.dbg.json +1 -1
  82. package/artifacts/contracts/instance/module/IComponents.sol/IComponents.dbg.json +1 -1
  83. package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.dbg.json +1 -1
  84. package/artifacts/contracts/instance/module/IPolicy.sol/IPolicy.dbg.json +1 -1
  85. package/artifacts/contracts/instance/module/IRisk.sol/IRisk.dbg.json +1 -1
  86. package/artifacts/contracts/mock/Dip.sol/Dip.dbg.json +1 -1
  87. package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.dbg.json +1 -1
  88. package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.json +135 -75
  89. package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.dbg.json +1 -1
  90. package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.json +84 -24
  91. package/artifacts/contracts/oracle/IOracle.sol/IOracle.dbg.json +1 -1
  92. package/artifacts/contracts/oracle/IOracleComponent.sol/IOracleComponent.dbg.json +1 -1
  93. package/artifacts/contracts/oracle/IOracleComponent.sol/IOracleComponent.json +76 -53
  94. package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.dbg.json +1 -1
  95. package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.json +43 -9
  96. package/artifacts/contracts/oracle/Oracle.sol/Oracle.dbg.json +1 -1
  97. package/artifacts/contracts/oracle/Oracle.sol/Oracle.json +89 -53
  98. package/artifacts/contracts/oracle/OracleService.sol/OracleService.dbg.json +1 -1
  99. package/artifacts/contracts/oracle/OracleService.sol/OracleService.json +86 -47
  100. package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.dbg.json +1 -1
  101. package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.json +48 -36
  102. package/artifacts/contracts/pool/BasicPool.sol/BasicPool.dbg.json +1 -1
  103. package/artifacts/contracts/pool/BasicPool.sol/BasicPool.json +89 -66
  104. package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.dbg.json +1 -1
  105. package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.json +82 -22
  106. package/artifacts/contracts/pool/BundleService.sol/BundleService.dbg.json +1 -1
  107. package/artifacts/contracts/pool/BundleService.sol/BundleService.json +180 -82
  108. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.dbg.json +1 -1
  109. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.json +90 -58
  110. package/artifacts/contracts/pool/IBundleService.sol/IBundleService.dbg.json +1 -1
  111. package/artifacts/contracts/pool/IBundleService.sol/IBundleService.json +53 -0
  112. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.dbg.json +1 -1
  113. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.json +76 -53
  114. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.dbg.json +1 -1
  115. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.json +200 -115
  116. package/artifacts/contracts/pool/Pool.sol/Pool.dbg.json +1 -1
  117. package/artifacts/contracts/pool/Pool.sol/Pool.json +89 -53
  118. package/artifacts/contracts/pool/PoolService.sol/PoolService.dbg.json +1 -1
  119. package/artifacts/contracts/pool/PoolService.sol/PoolService.json +312 -161
  120. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.dbg.json +1 -1
  121. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.json +81 -41
  122. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.dbg.json +1 -1
  123. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.json +66 -32
  124. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +1 -1
  125. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.json +45 -33
  126. package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.dbg.json +1 -1
  127. package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.json +145 -73
  128. package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.dbg.json +1 -1
  129. package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.json +82 -22
  130. package/artifacts/contracts/product/ClaimService.sol/ClaimService.dbg.json +1 -1
  131. package/artifacts/contracts/product/ClaimService.sol/ClaimService.json +175 -90
  132. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +1 -1
  133. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.json +82 -58
  134. package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.dbg.json +1 -1
  135. package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.json +29 -0
  136. package/artifacts/contracts/product/IClaimService.sol/IClaimService.dbg.json +1 -1
  137. package/artifacts/contracts/product/IClaimService.sol/IClaimService.json +64 -8
  138. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.dbg.json +1 -1
  139. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.json +58 -0
  140. package/artifacts/contracts/product/IPricingService.sol/IPricingService.dbg.json +1 -1
  141. package/artifacts/contracts/product/IPricingService.sol/IPricingService.json +80 -51
  142. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.dbg.json +1 -1
  143. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.json +132 -73
  144. package/artifacts/contracts/product/IRiskService.sol/IRiskService.dbg.json +1 -1
  145. package/artifacts/contracts/product/IRiskService.sol/IRiskService.json +29 -0
  146. package/artifacts/contracts/product/PolicyService.sol/PolicyService.dbg.json +1 -1
  147. package/artifacts/contracts/product/PolicyService.sol/PolicyService.json +139 -60
  148. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +1 -1
  149. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.json +67 -47
  150. package/artifacts/contracts/product/PricingService.sol/PricingService.dbg.json +1 -1
  151. package/artifacts/contracts/product/PricingService.sol/PricingService.json +149 -107
  152. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.dbg.json +1 -1
  153. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.json +61 -45
  154. package/artifacts/contracts/product/Product.sol/Product.dbg.json +1 -1
  155. package/artifacts/contracts/product/Product.sol/Product.json +145 -73
  156. package/artifacts/contracts/product/RiskService.sol/RiskService.dbg.json +1 -1
  157. package/artifacts/contracts/product/RiskService.sol/RiskService.json +60 -26
  158. package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.dbg.json +1 -1
  159. package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.json +42 -30
  160. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
  161. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +2 -2
  162. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
  163. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +67 -15
  164. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +1 -1
  165. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +114 -35
  166. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +1 -1
  167. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.json +5 -18
  168. package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
  169. package/artifacts/contracts/registry/Registry.sol/Registry.json +111 -51
  170. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.dbg.json +1 -1
  171. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.json +193 -165
  172. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +1 -1
  173. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +73 -172
  174. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +1 -1
  175. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +41 -29
  176. package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.dbg.json +1 -1
  177. package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.json +47 -6
  178. package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.dbg.json +1 -1
  179. package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.json +121 -223
  180. package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.dbg.json +1 -1
  181. package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.json +66 -8
  182. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +1 -1
  183. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +2 -2
  184. package/artifacts/contracts/shared/Component.sol/Component.dbg.json +1 -1
  185. package/artifacts/contracts/shared/Component.sol/Component.json +68 -28
  186. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.dbg.json +1 -1
  187. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.json +350 -155
  188. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.dbg.json +1 -1
  189. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.json +83 -63
  190. package/artifacts/contracts/shared/ComponentVerifyingService.sol/ComponentVerifyingService.dbg.json +1 -1
  191. package/artifacts/contracts/shared/ComponentVerifyingService.sol/ComponentVerifyingService.json +42 -0
  192. package/artifacts/contracts/shared/ContractLib.sol/ContractLib.dbg.json +1 -1
  193. package/artifacts/contracts/shared/ContractLib.sol/ContractLib.json +2 -2
  194. package/artifacts/contracts/shared/IComponent.sol/IComponent.dbg.json +1 -1
  195. package/artifacts/contracts/shared/IComponent.sol/IComponent.json +55 -28
  196. package/artifacts/contracts/shared/IComponentService.sol/IComponentService.dbg.json +1 -1
  197. package/artifacts/contracts/shared/IComponentService.sol/IComponentService.json +321 -19
  198. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.dbg.json +1 -1
  199. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.json +76 -53
  200. package/artifacts/contracts/shared/IKeyValueStore.sol/IKeyValueStore.dbg.json +1 -1
  201. package/artifacts/contracts/shared/IKeyValueStore.sol/IKeyValueStore.json +36 -0
  202. package/artifacts/contracts/shared/ILifecycle.sol/ILifecycle.dbg.json +1 -1
  203. package/artifacts/contracts/shared/ILifecycle.sol/ILifecycle.json +36 -0
  204. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +1 -1
  205. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.json +16 -0
  206. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.dbg.json +1 -1
  207. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.json +1 -1
  208. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
  209. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +29 -0
  210. package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.dbg.json +1 -1
  211. package/artifacts/contracts/shared/IService.sol/IService.dbg.json +1 -1
  212. package/artifacts/contracts/shared/IService.sol/IService.json +29 -0
  213. package/artifacts/contracts/shared/InitializableERC165.sol/InitializableERC165.dbg.json +1 -1
  214. package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.dbg.json +1 -1
  215. package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.json +89 -53
  216. package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.dbg.json +1 -1
  217. package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.json +42 -1
  218. package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.dbg.json +1 -1
  219. package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.json +42 -1
  220. package/artifacts/contracts/shared/NftIdSet.sol/NftIdSet.dbg.json +1 -1
  221. package/artifacts/contracts/shared/NftIdSet.sol/NftIdSet.json +2 -2
  222. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +1 -1
  223. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +18 -2
  224. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.dbg.json +1 -1
  225. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.json +3 -3
  226. package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
  227. package/artifacts/contracts/shared/Registerable.sol/Registerable.json +66 -8
  228. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.dbg.json +1 -1
  229. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.json +2 -2
  230. package/artifacts/contracts/shared/Service.sol/Service.dbg.json +1 -1
  231. package/artifacts/contracts/shared/Service.sol/Service.json +42 -0
  232. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +1 -1
  233. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +2 -2
  234. package/artifacts/contracts/shared/TokenHandlerDeployerLib.sol/TokenHandlerDeployerLib.dbg.json +1 -1
  235. package/artifacts/contracts/shared/TokenHandlerDeployerLib.sol/TokenHandlerDeployerLib.json +2 -2
  236. package/artifacts/contracts/staking/IStaking.sol/IStaking.dbg.json +1 -1
  237. package/artifacts/contracts/staking/IStaking.sol/IStaking.json +55 -28
  238. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.dbg.json +1 -1
  239. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.json +29 -21
  240. package/artifacts/contracts/staking/StakeManagerLib.sol/StakeManagerLib.dbg.json +1 -1
  241. package/artifacts/contracts/staking/StakeManagerLib.sol/StakeManagerLib.json +2 -2
  242. package/artifacts/contracts/staking/Staking.sol/Staking.dbg.json +1 -1
  243. package/artifacts/contracts/staking/Staking.sol/Staking.json +138 -78
  244. package/artifacts/contracts/staking/StakingLifecycle.sol/StakingLifecycle.dbg.json +1 -1
  245. package/artifacts/contracts/staking/StakingLifecycle.sol/StakingLifecycle.json +46 -5
  246. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.dbg.json +1 -1
  247. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.json +68 -42
  248. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.dbg.json +1 -1
  249. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.json +7 -12
  250. package/artifacts/contracts/staking/StakingService.sol/StakingService.dbg.json +1 -1
  251. package/artifacts/contracts/staking/StakingService.sol/StakingService.json +66 -53
  252. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.dbg.json +1 -1
  253. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.json +45 -33
  254. package/artifacts/contracts/staking/StakingStore.sol/StakingStore.dbg.json +1 -1
  255. package/artifacts/contracts/staking/StakingStore.sol/StakingStore.json +144 -103
  256. package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.dbg.json +1 -1
  257. package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.json +2 -2
  258. package/artifacts/contracts/type/AddressSet.sol/LibAddressSet.dbg.json +1 -1
  259. package/artifacts/contracts/type/Amount.sol/AmountLib.dbg.json +1 -1
  260. package/artifacts/contracts/type/Amount.sol/AmountLib.json +32 -8
  261. package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.dbg.json +1 -1
  262. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.dbg.json +1 -1
  263. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.json +28 -4
  264. package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.dbg.json +1 -1
  265. package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.json +2 -2
  266. package/artifacts/contracts/type/Fee.sol/FeeLib.dbg.json +1 -1
  267. package/artifacts/contracts/type/Fee.sol/FeeLib.json +2 -2
  268. package/artifacts/contracts/type/Key32.sol/Key32Lib.dbg.json +1 -1
  269. package/artifacts/contracts/type/Key32.sol/Key32Lib.json +2 -2
  270. package/artifacts/contracts/type/NftId.sol/NftIdLib.dbg.json +1 -1
  271. package/artifacts/contracts/type/NftId.sol/NftIdLib.json +2 -2
  272. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.dbg.json +1 -1
  273. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.json +2 -2
  274. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.dbg.json +1 -1
  275. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.json +2 -2
  276. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.dbg.json +1 -1
  277. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.json +19 -19
  278. package/artifacts/contracts/type/Referral.sol/ReferralLib.dbg.json +1 -1
  279. package/artifacts/contracts/type/Referral.sol/ReferralLib.json +2 -2
  280. package/artifacts/contracts/type/RequestId.sol/RequestIdLib.dbg.json +1 -1
  281. package/artifacts/contracts/type/RequestId.sol/RequestIdLib.json +2 -2
  282. package/artifacts/contracts/type/RiskId.sol/RiskIdLib.dbg.json +1 -1
  283. package/artifacts/contracts/type/RiskId.sol/RiskIdLib.json +60 -4
  284. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.dbg.json +1 -1
  285. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.json +2 -2
  286. package/artifacts/contracts/type/Seconds.sol/SecondsLib.dbg.json +1 -1
  287. package/artifacts/contracts/type/Selector.sol/SelectorLib.dbg.json +1 -1
  288. package/artifacts/contracts/type/Selector.sol/SelectorSetLib.dbg.json +1 -1
  289. package/artifacts/contracts/type/StateId.sol/StateIdLib.dbg.json +1 -1
  290. package/artifacts/contracts/type/StateId.sol/StateIdLib.json +15 -2
  291. package/artifacts/contracts/type/String.sol/StrLib.dbg.json +1 -1
  292. package/artifacts/contracts/type/Timestamp.sol/TimestampLib.dbg.json +1 -1
  293. package/artifacts/contracts/type/UFixed.sol/MathLib.dbg.json +1 -1
  294. package/artifacts/contracts/type/UFixed.sol/MathLib.json +2 -2
  295. package/artifacts/contracts/type/UFixed.sol/UFixedLib.dbg.json +1 -1
  296. package/artifacts/contracts/type/UFixed.sol/UFixedLib.json +15 -2
  297. package/artifacts/contracts/type/Version.sol/VersionLib.dbg.json +1 -1
  298. package/artifacts/contracts/type/Version.sol/VersionPartLib.dbg.json +1 -1
  299. package/artifacts/contracts/upgradeability/IVersionable.sol/IVersionable.dbg.json +1 -1
  300. package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.dbg.json +1 -1
  301. package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.json +28 -12
  302. package/artifacts/contracts/upgradeability/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +1 -1
  303. package/artifacts/contracts/upgradeability/Versionable.sol/Versionable.dbg.json +1 -1
  304. package/contracts/authorization/AccessAdmin.sol +65 -61
  305. package/contracts/authorization/Authorization.sol +111 -39
  306. package/contracts/authorization/IAccess.sol +1 -0
  307. package/contracts/authorization/IAccessAdmin.sol +4 -2
  308. package/contracts/authorization/IAuthorization.sol +13 -7
  309. package/contracts/authorization/IServiceAuthorization.sol +3 -1
  310. package/contracts/authorization/ReleaseAccessManager.sol +38 -0
  311. package/contracts/authorization/ServiceAuthorization.sol +26 -10
  312. package/contracts/distribution/BasicDistribution.sol +2 -1
  313. package/contracts/distribution/Distribution.sol +6 -16
  314. package/contracts/distribution/DistributionService.sol +55 -36
  315. package/contracts/distribution/IDistributionComponent.sol +1 -1
  316. package/contracts/examples/fire/DamageLevel.sol +59 -0
  317. package/contracts/examples/fire/FirePool.sol +73 -0
  318. package/contracts/examples/fire/FirePoolAuthorization.sol +34 -0
  319. package/contracts/examples/fire/FireProduct.sol +415 -0
  320. package/contracts/examples/fire/FireProductAuthorization.sol +44 -0
  321. package/contracts/examples/fire/FireUSD.sol +26 -0
  322. package/contracts/examples/unpermissioned/SimpleDistribution.sol +4 -4
  323. package/contracts/examples/unpermissioned/SimpleOracle.sol +4 -4
  324. package/contracts/examples/unpermissioned/SimplePool.sol +4 -4
  325. package/contracts/examples/unpermissioned/SimpleProduct.sol +10 -10
  326. package/contracts/instance/IInstance.sol +4 -1
  327. package/contracts/instance/IInstanceService.sol +0 -20
  328. package/contracts/instance/Instance.sol +20 -17
  329. package/contracts/instance/InstanceAdmin.sol +22 -30
  330. package/contracts/instance/InstanceAuthorizationV3.sol +9 -19
  331. package/contracts/instance/InstanceReader.sol +83 -18
  332. package/contracts/instance/InstanceService.sol +15 -70
  333. package/contracts/instance/module/IComponents.sol +6 -3
  334. package/contracts/instance/module/IPolicy.sol +2 -2
  335. package/contracts/oracle/BasicOracle.sol +0 -1
  336. package/contracts/oracle/IOracleService.sol +2 -1
  337. package/contracts/oracle/Oracle.sol +4 -15
  338. package/contracts/oracle/OracleService.sol +39 -29
  339. package/contracts/pool/BasicPool.sol +14 -26
  340. package/contracts/pool/BasicPoolAuthorization.sol +0 -1
  341. package/contracts/pool/BundleService.sol +75 -20
  342. package/contracts/pool/IBundleService.sol +9 -0
  343. package/contracts/pool/IPoolService.sol +21 -14
  344. package/contracts/pool/Pool.sol +22 -29
  345. package/contracts/pool/PoolService.sol +116 -80
  346. package/contracts/product/ApplicationService.sol +16 -4
  347. package/contracts/product/BasicProduct.sol +6 -6
  348. package/contracts/product/BasicProductAuthorization.sol +0 -1
  349. package/contracts/product/ClaimService.sol +108 -69
  350. package/contracts/product/IClaimService.sol +3 -2
  351. package/contracts/product/IPolicyService.sol +3 -0
  352. package/contracts/product/IPricingService.sol +9 -9
  353. package/contracts/product/IProductComponent.sol +23 -3
  354. package/contracts/product/PolicyService.sol +66 -21
  355. package/contracts/product/PricingService.sol +8 -8
  356. package/contracts/product/Product.sol +81 -52
  357. package/contracts/registry/ChainNft.sol +6 -9
  358. package/contracts/registry/IRegistry.sol +6 -3
  359. package/contracts/registry/IRegistryService.sol +5 -12
  360. package/contracts/registry/ITransferInterceptor.sol +1 -2
  361. package/contracts/registry/Registry.sol +21 -6
  362. package/contracts/registry/RegistryAdmin.sol +7 -23
  363. package/contracts/registry/RegistryService.sol +33 -44
  364. package/contracts/registry/ReleaseLifecycle.sol +6 -3
  365. package/contracts/registry/ReleaseRegistry.sol +201 -191
  366. package/contracts/registry/ServiceAuthorizationV3.sol +14 -19
  367. package/contracts/shared/Component.sol +25 -28
  368. package/contracts/shared/ComponentService.sol +235 -131
  369. package/contracts/shared/ComponentVerifyingService.sol +22 -13
  370. package/contracts/shared/IComponent.sol +6 -2
  371. package/contracts/shared/IComponentService.sol +25 -13
  372. package/contracts/shared/IInstanceLinkedComponent.sol +3 -11
  373. package/contracts/shared/ILifecycle.sol +3 -1
  374. package/contracts/shared/INftOwnable.sol +2 -0
  375. package/contracts/shared/IRegisterable.sol +11 -0
  376. package/contracts/shared/InstanceLinkedComponent.sol +68 -27
  377. package/contracts/shared/KeyValueStore.sol +1 -1
  378. package/contracts/shared/Lifecycle.sol +15 -4
  379. package/contracts/shared/NftOwnable.sol +23 -3
  380. package/contracts/shared/PolicyHolder.sol +4 -0
  381. package/contracts/shared/Registerable.sol +15 -5
  382. package/contracts/shared/Service.sol +4 -7
  383. package/contracts/staking/IStakingService.sol +0 -3
  384. package/contracts/staking/Staking.sol +2 -3
  385. package/contracts/staking/StakingReader.sol +12 -5
  386. package/contracts/staking/StakingService.sol +15 -15
  387. package/contracts/type/Amount.sol +15 -0
  388. package/contracts/type/ClaimId.sol +6 -1
  389. package/contracts/type/NftId.sol +1 -0
  390. package/contracts/type/ObjectType.sol +1 -0
  391. package/contracts/type/PayoutId.sol +10 -10
  392. package/contracts/type/RiskId.sol +15 -1
  393. package/contracts/type/RoleId.sol +0 -12
  394. package/contracts/type/StateId.sol +14 -1
  395. package/contracts/type/UFixed.sol +4 -0
  396. package/contracts/upgradeability/ProxyManager.sol +2 -1
  397. package/package.json +2 -1
  398. package/artifacts/contracts/authorization/IModuleAuthorization.sol/IModuleAuthorization.dbg.json +0 -4
  399. package/artifacts/contracts/authorization/IModuleAuthorization.sol/IModuleAuthorization.json +0 -290
  400. package/artifacts/contracts/authorization/ModuleAuthorization.sol/ModuleAuthorization.dbg.json +0 -4
  401. package/artifacts/contracts/authorization/ModuleAuthorization.sol/ModuleAuthorization.json +0 -390
  402. package/artifacts/contracts/shared/InitializableCustom.sol/InitializableCustom.dbg.json +0 -4
  403. package/artifacts/contracts/shared/InitializableCustom.sol/InitializableCustom.json +0 -39
  404. package/contracts/authorization/IModuleAuthorization.sol +0 -21
  405. package/contracts/authorization/ModuleAuthorization.sol +0 -78
  406. package/contracts/shared/InitializableCustom.sol +0 -177
@@ -58,19 +58,18 @@
58
58
  "type": "error"
59
59
  },
60
60
  {
61
- "inputs": [
62
- {
63
- "internalType": "NftId",
64
- "name": "instanceNftId",
65
- "type": "uint96"
66
- }
67
- ],
68
- "name": "ErrorComponentNotInstance",
61
+ "inputs": [],
62
+ "name": "ErrorComponentProductNftIdNonzero",
63
+ "type": "error"
64
+ },
65
+ {
66
+ "inputs": [],
67
+ "name": "ErrorComponentProductNftIdZero",
69
68
  "type": "error"
70
69
  },
71
70
  {
72
71
  "inputs": [],
73
- "name": "ErrorComponentProductNftAlreadySet",
72
+ "name": "ErrorComponentTokenAddressNonzero",
74
73
  "type": "error"
75
74
  },
76
75
  {
@@ -93,6 +92,38 @@
93
92
  "name": "ErrorComponentWalletNotComponent",
94
93
  "type": "error"
95
94
  },
95
+ {
96
+ "inputs": [
97
+ {
98
+ "internalType": "NftId",
99
+ "name": "nftId",
100
+ "type": "uint96"
101
+ },
102
+ {
103
+ "internalType": "ObjectType",
104
+ "name": "objectType",
105
+ "type": "uint8"
106
+ }
107
+ ],
108
+ "name": "ErrorInstanceLinkedComponentNotProduct",
109
+ "type": "error"
110
+ },
111
+ {
112
+ "inputs": [
113
+ {
114
+ "internalType": "ObjectType",
115
+ "name": "requiredType",
116
+ "type": "uint8"
117
+ },
118
+ {
119
+ "internalType": "ObjectType",
120
+ "name": "objectType",
121
+ "type": "uint8"
122
+ }
123
+ ],
124
+ "name": "ErrorInstanceLinkedComponentTypeMismatch",
125
+ "type": "error"
126
+ },
96
127
  {
97
128
  "inputs": [
98
129
  {
@@ -120,6 +151,22 @@
120
151
  "name": "ErrorNftOwnableInitialOwnerZero",
121
152
  "type": "error"
122
153
  },
154
+ {
155
+ "inputs": [
156
+ {
157
+ "internalType": "NftId",
158
+ "name": "nftId",
159
+ "type": "uint96"
160
+ },
161
+ {
162
+ "internalType": "ObjectType",
163
+ "name": "expectedObjectType",
164
+ "type": "uint8"
165
+ }
166
+ ],
167
+ "name": "ErrorNftOwnableInvalidType",
168
+ "type": "error"
169
+ },
123
170
  {
124
171
  "inputs": [
125
172
  {
@@ -192,6 +239,12 @@
192
239
  "internalType": "Amount",
193
240
  "name": "limit",
194
241
  "type": "uint96"
242
+ },
243
+ {
244
+ "indexed": false,
245
+ "internalType": "bool",
246
+ "name": "isMaxAmount",
247
+ "type": "bool"
195
248
  }
196
249
  ],
197
250
  "name": "LogComponentTokenHandlerApproved",
@@ -254,6 +307,19 @@
254
307
  "stateMutability": "view",
255
308
  "type": "function"
256
309
  },
310
+ {
311
+ "inputs": [],
312
+ "name": "GIF_RELEASE",
313
+ "outputs": [
314
+ {
315
+ "internalType": "uint256",
316
+ "name": "",
317
+ "type": "uint256"
318
+ }
319
+ ],
320
+ "stateMutability": "view",
321
+ "type": "function"
322
+ },
257
323
  {
258
324
  "inputs": [],
259
325
  "name": "INSTANCE_LINKED_COMPONENT_LOCATION_V1",
@@ -452,11 +518,6 @@
452
518
  "name": "name",
453
519
  "type": "string"
454
520
  },
455
- {
456
- "internalType": "NftId",
457
- "name": "productNftId",
458
- "type": "uint96"
459
- },
460
521
  {
461
522
  "internalType": "contract IERC20Metadata",
462
523
  "name": "token",
@@ -486,19 +547,6 @@
486
547
  "stateMutability": "view",
487
548
  "type": "function"
488
549
  },
489
- {
490
- "inputs": [],
491
- "name": "getDistributionNftId",
492
- "outputs": [
493
- {
494
- "internalType": "NftId",
495
- "name": "distributionNftId",
496
- "type": "uint96"
497
- }
498
- ],
499
- "stateMutability": "view",
500
- "type": "function"
501
- },
502
550
  {
503
551
  "inputs": [],
504
552
  "name": "getInitialComponentInfo",
@@ -510,11 +558,6 @@
510
558
  "name": "name",
511
559
  "type": "string"
512
560
  },
513
- {
514
- "internalType": "NftId",
515
- "name": "productNftId",
516
- "type": "uint96"
517
- },
518
561
  {
519
562
  "internalType": "contract IERC20Metadata",
520
563
  "name": "token",
@@ -600,20 +643,40 @@
600
643
  "outputs": [
601
644
  {
602
645
  "components": [
646
+ {
647
+ "internalType": "bool",
648
+ "name": "isProcessingFundedClaims",
649
+ "type": "bool"
650
+ },
651
+ {
652
+ "internalType": "bool",
653
+ "name": "hasDistribution",
654
+ "type": "bool"
655
+ },
656
+ {
657
+ "internalType": "uint8",
658
+ "name": "expectedNumberOfOracles",
659
+ "type": "uint8"
660
+ },
661
+ {
662
+ "internalType": "uint8",
663
+ "name": "numberOfOracles",
664
+ "type": "uint8"
665
+ },
603
666
  {
604
667
  "internalType": "NftId",
605
- "name": "distributionNftId",
668
+ "name": "poolNftId",
606
669
  "type": "uint96"
607
670
  },
608
671
  {
609
672
  "internalType": "NftId",
610
- "name": "poolNftId",
673
+ "name": "distributionNftId",
611
674
  "type": "uint96"
612
675
  },
613
676
  {
614
- "internalType": "bool",
615
- "name": "isProcessingFundedClaims",
616
- "type": "bool"
677
+ "internalType": "NftId[]",
678
+ "name": "oracleNftId",
679
+ "type": "uint96[]"
617
680
  },
618
681
  {
619
682
  "components": [
@@ -797,12 +860,12 @@
797
860
  },
798
861
  {
799
862
  "inputs": [],
800
- "name": "getPoolNftId",
863
+ "name": "getRegistry",
801
864
  "outputs": [
802
865
  {
803
- "internalType": "NftId",
804
- "name": "poolNftId",
805
- "type": "uint96"
866
+ "internalType": "contract IRegistry",
867
+ "name": "",
868
+ "type": "address"
806
869
  }
807
870
  ],
808
871
  "stateMutability": "view",
@@ -810,28 +873,15 @@
810
873
  },
811
874
  {
812
875
  "inputs": [],
813
- "name": "getProductNftId",
876
+ "name": "getRelease",
814
877
  "outputs": [
815
878
  {
816
- "internalType": "NftId",
817
- "name": "productNftId",
818
- "type": "uint96"
879
+ "internalType": "VersionPart",
880
+ "name": "release",
881
+ "type": "uint8"
819
882
  }
820
883
  ],
821
- "stateMutability": "view",
822
- "type": "function"
823
- },
824
- {
825
- "inputs": [],
826
- "name": "getRegistry",
827
- "outputs": [
828
- {
829
- "internalType": "contract IRegistry",
830
- "name": "",
831
- "type": "address"
832
- }
833
- ],
834
- "stateMutability": "view",
884
+ "stateMutability": "pure",
835
885
  "type": "function"
836
886
  },
837
887
  {
@@ -934,6 +984,11 @@
934
984
  },
935
985
  {
936
986
  "inputs": [
987
+ {
988
+ "internalType": "address",
989
+ "name": "from",
990
+ "type": "address"
991
+ },
937
992
  {
938
993
  "internalType": "address",
939
994
  "name": "to",
@@ -943,9 +998,14 @@
943
998
  "internalType": "uint256",
944
999
  "name": "tokenId",
945
1000
  "type": "uint256"
1001
+ },
1002
+ {
1003
+ "internalType": "address",
1004
+ "name": "operator",
1005
+ "type": "address"
946
1006
  }
947
1007
  ],
948
- "name": "nftMint",
1008
+ "name": "nftTransferFrom",
949
1009
  "outputs": [],
950
1010
  "stateMutability": "nonpayable",
951
1011
  "type": "function"
@@ -953,30 +1013,42 @@
953
1013
  {
954
1014
  "inputs": [
955
1015
  {
956
- "internalType": "address",
957
- "name": "from",
958
- "type": "address"
1016
+ "internalType": "NftId",
1017
+ "name": "policyNftId",
1018
+ "type": "uint96"
959
1019
  },
960
1020
  {
961
- "internalType": "address",
962
- "name": "to",
963
- "type": "address"
1021
+ "internalType": "ClaimId",
1022
+ "name": "claimId",
1023
+ "type": "uint16"
964
1024
  },
965
1025
  {
966
- "internalType": "uint256",
967
- "name": "tokenId",
968
- "type": "uint256"
1026
+ "internalType": "Amount",
1027
+ "name": "availableAmount",
1028
+ "type": "uint96"
969
1029
  }
970
1030
  ],
971
- "name": "nftTransferFrom",
1031
+ "name": "processFundedClaim",
972
1032
  "outputs": [],
973
1033
  "stateMutability": "nonpayable",
974
1034
  "type": "function"
975
1035
  },
976
1036
  {
977
- "inputs": [],
978
- "name": "register",
979
- "outputs": [],
1037
+ "inputs": [
1038
+ {
1039
+ "internalType": "address",
1040
+ "name": "component",
1041
+ "type": "address"
1042
+ }
1043
+ ],
1044
+ "name": "registerComponent",
1045
+ "outputs": [
1046
+ {
1047
+ "internalType": "NftId",
1048
+ "name": "componentNftId",
1049
+ "type": "uint96"
1050
+ }
1051
+ ],
980
1052
  "stateMutability": "nonpayable",
981
1053
  "type": "function"
982
1054
  },
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../build-info/bb527b66bace75f3186e90c8491949c9.json"
3
+ "buildInfo": "../../../build-info/acc82443fc6a12a57286b340307ede8d.json"
4
4
  }
@@ -16,7 +16,7 @@
16
16
  },
17
17
  {
18
18
  "inputs": [],
19
- "name": "GIF_VERSION",
19
+ "name": "GIF_RELEASE",
20
20
  "outputs": [
21
21
  {
22
22
  "internalType": "uint256",
@@ -113,6 +113,19 @@
113
113
  "stateMutability": "view",
114
114
  "type": "function"
115
115
  },
116
+ {
117
+ "inputs": [],
118
+ "name": "getMainTarget",
119
+ "outputs": [
120
+ {
121
+ "internalType": "Str",
122
+ "name": "",
123
+ "type": "bytes32"
124
+ }
125
+ ],
126
+ "stateMutability": "view",
127
+ "type": "function"
128
+ },
116
129
  {
117
130
  "inputs": [],
118
131
  "name": "getRelease",
@@ -162,6 +175,11 @@
162
175
  "internalType": "Timestamp",
163
176
  "name": "createdAt",
164
177
  "type": "uint40"
178
+ },
179
+ {
180
+ "internalType": "Timestamp",
181
+ "name": "pausedAt",
182
+ "type": "uint40"
165
183
  }
166
184
  ],
167
185
  "internalType": "struct IAccess.RoleInfo",
@@ -185,6 +203,19 @@
185
203
  "stateMutability": "view",
186
204
  "type": "function"
187
205
  },
206
+ {
207
+ "inputs": [],
208
+ "name": "getServiceDomains",
209
+ "outputs": [
210
+ {
211
+ "internalType": "ObjectType[]",
212
+ "name": "serviceDomains",
213
+ "type": "uint8[]"
214
+ }
215
+ ],
216
+ "stateMutability": "view",
217
+ "type": "function"
218
+ },
188
219
  {
189
220
  "inputs": [
190
221
  {
@@ -205,12 +236,37 @@
205
236
  "type": "function"
206
237
  },
207
238
  {
208
- "inputs": [],
239
+ "inputs": [
240
+ {
241
+ "internalType": "ObjectType",
242
+ "name": "serviceDomain",
243
+ "type": "uint8"
244
+ }
245
+ ],
246
+ "name": "getServiceTarget",
247
+ "outputs": [
248
+ {
249
+ "internalType": "Str",
250
+ "name": "serviceTarget",
251
+ "type": "bytes32"
252
+ }
253
+ ],
254
+ "stateMutability": "view",
255
+ "type": "function"
256
+ },
257
+ {
258
+ "inputs": [
259
+ {
260
+ "internalType": "string",
261
+ "name": "targetName",
262
+ "type": "string"
263
+ }
264
+ ],
209
265
  "name": "getTarget",
210
266
  "outputs": [
211
267
  {
212
268
  "internalType": "Str",
213
- "name": "",
269
+ "name": "target",
214
270
  "type": "bytes32"
215
271
  }
216
272
  ],
@@ -301,30 +357,30 @@
301
357
  "type": "function"
302
358
  }
303
359
  ],
304
- "bytecode": "0x60c0604052600960809081526810dbdb5c1bdb995b9d60ba1b60a0525f906100279082610af5565b50348015610033575f80fd5b5060405161188a38038061188a83398101604081905261005291610baf565b805f61005e8282610af5565b50610067610078565b61006f610082565b5050610d6a565b565b610076600c61010e565b5f61009b61008e6101a8565b610096610237565b6102b7565b90506100d48163b6b412ba60e01b604051806040016040528060078152602001667365744665657360c81b81525061039460201b60201c565b60408051808201909152600c81526b77697468647261774665657360a01b602082015261010b9082906301c6b21960e41b90610394565b50565b61010b6101196101a8565b6040516311da4a5b60e31b815260ff841660048201525f602482015273__$1d92393fa9ccd763988368ce8a1cb90d26$__90638ed252d890604401602060405180830381865af415801561016f573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906101939190610c5f565b6101a361019e6101a8565b610571565b6105b8565b60605f80546101b690610a71565b80601f01602080910402602001604051908101604052809291908181526020018280546101e290610a71565b801561022d5780601f106102045761010080835404028352916020019161022d565b820191905f5260205f20905b81548152906001019060200180831161021057829003601f168201915b5050505050905090565b604051637c3940bf60e01b81526001600160401b0360048201525f9073__$1d92393fa9ccd763988368ce8a1cb90d26$__90637c3940bf906024015b602060405180830381865af415801561028e573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906102b29190610c5f565b905090565b5f8073__$9a094f9b231ed0f5f85a69be8408d93180$__63cdc23e69856040518263ffffffff1660e01b81526004016102f09190610c8c565b602060405180830381865af415801561030b573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061032f9190610cc1565b5f8181526006602090815260408083208054600181018255908452828420600482040180546001600160401b03808b1660086003909516949094026101000a848102910219909116179055938352600782528083209383529290522091505092915050565b60408051606081019182905263cdc23e6960e01b90915283908073__$9a094f9b231ed0f5f85a69be8408d93180$__63cdc23e696103d58660648501610c8c565b602060405180830381865af41580156103f0573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906104149190610cc1565b8152604051636b15ee8b60e01b81526001600160e01b03198616600482015260209091019073__$0904195350e4c23ecb1d51df0a32586dcd$__90636b15ee8b90602401602060405180830381865af4158015610473573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906104979190610cd8565b6001600160e01b031916815260200173__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af41580156104ed573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906105119190610cff565b64ffffffffff9081169091528254600181810185555f94855260209485902084516002909302019182559383015193018054604090930151909116640100000000026001600160481b031990921660e09390931c92909217179055505050565b60608160405180604001604052806004815260200163526f6c6560e01b8152506040516020016105a2929190610d3a565b6040516020818303038152906040529050919050565b60405163cdc23e6960e01b81525f9073__$9a094f9b231ed0f5f85a69be8408d93180$__9063cdc23e69906105f1908790600401610c8c565b602060405180830381865af415801561060c573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906106309190610cc1565b6001805480820182557fb10e2d527612073b26eecdfd717e6a320cf44b4afac2b0732d9fcbe2b7fa0cf6018290555f82815260036020908152604091829020805460ff1916909317909255805163bc1b392d60e01b8152905192935061070292869273__$1d92393fa9ccd763988368ce8a1cb90d26$__9263bc1b392d92600480830193928290030181865af41580156106cc573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906106f09190610c5f565b6001600160401b039081169116141590565b15610745576107108361074b565b61071e5761071e838361078d565b5f81815260026020526040902080546001600160401b0319166001600160401b0385161790555b50505050565b5f806001600160401b0383165f9081526005602052604090205468010000000000000000900460ff16600381111561078557610785610d56565b141592915050565b6107aa826107a561079c6107ae565b600180866107e8565b610947565b5050565b604051637c3940bf60e01b81525f600482018190529073__$1d92393fa9ccd763988368ce8a1cb90d26$__90637c3940bf90602401610273565b6040805160a0810182525f808252602082018190529181018290526060810182905260808101919091526040518060a00160405280866001600160401b0316815260200185600381111561083e5761083e610d56565b81526020018463ffffffff16815260200173__$9a094f9b231ed0f5f85a69be8408d93180$__63cdc23e69856040518263ffffffff1660e01b81526004016108869190610c8c565b602060405180830381865af41580156108a1573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906108c59190610cc1565b815260200173__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af4158015610911573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906109359190610cff565b64ffffffffff16905295945050505050565b600480546001810182559081047f8a35acfbc15ff81a39ae7d344fd709f28e8600b4aa8c65c6b64bfe7fe36bd19b0180546001600160401b0380861660086003958616026101000a81810290830219909316929092179092555f9081526005602090815260409091208451815493166001600160401b03198416811782559185015185949193909284926001600160481b03199092161790680100000000000000009084908111156109fb576109fb610d56565b02179055506040820151815463ffffffff60481b1916690100000000000000000063ffffffff90921691909102178155606082015160018201556080909101516002909101805464ffffffffff191664ffffffffff9092169190911790555050565b634e487b7160e01b5f52604160045260245ffd5b600181811c90821680610a8557607f821691505b602082108103610aa357634e487b7160e01b5f52602260045260245ffd5b50919050565b601f821115610af057805f5260205f20601f840160051c81016020851015610ace5750805b601f840160051c820191505b81811015610aed575f8155600101610ada565b50505b505050565b81516001600160401b03811115610b0e57610b0e610a5d565b610b2281610b1c8454610a71565b84610aa9565b6020601f821160018114610b54575f8315610b3d5750848201515b5f19600385901b1c1916600184901b178455610aed565b5f84815260208120601f198516915b82811015610b835787850151825560209485019460019092019101610b63565b5084821015610ba057868401515f19600387901b60f8161c191681555b50505050600190811b01905550565b5f60208284031215610bbf575f80fd5b81516001600160401b03811115610bd4575f80fd5b8201601f81018413610be4575f80fd5b80516001600160401b03811115610bfd57610bfd610a5d565b604051601f8201601f19908116603f011681016001600160401b0381118282101715610c2b57610c2b610a5d565b604052818152828201602001861015610c42575f80fd5b8160208401602083015e5f91810160200191909152949350505050565b5f60208284031215610c6f575f80fd5b81516001600160401b0381168114610c85575f80fd5b9392505050565b602081525f82518060208401528060208501604085015e5f604082850101526040601f19601f83011684010191505092915050565b5f60208284031215610cd1575f80fd5b5051919050565b5f60208284031215610ce8575f80fd5b81516001600160e01b031981168114610c85575f80fd5b5f60208284031215610d0f575f80fd5b815164ffffffffff81168114610c85575f80fd5b5f81518060208401855e5f93019283525090919050565b5f610d4e610d488386610d23565b84610d23565b949350505050565b634e487b7160e01b5f52602160045260245ffd5b610b1380610d775f395ff3fe608060405234801561000f575f80fd5b50600436106100f0575f3560e01c806376b707b711610093578063c5f3484411610063578063c5f3484414610259578063c6a001791461027c578063e8eba4351461028f578063f00e6a2a146102a2575f80fd5b806376b707b7146101c0578063775f14b1146101da5780638c5397b01461021c578063c143892b1461022f575f80fd5b80635bfa5027116100ce5780635bfa5027146101445780635c935ce01461016457806363fe3b561461019657806371061398146101ab575f80fd5b806318029ab4146100f45780631e4afbbf1461010f578063433f95d61461012f575b5f80fd5b6100fc600381565b6040519081526020015b60405180910390f35b61012261011d36600461081b565b6102aa565b6040516101069190610849565b610137610358565b60405161010691906108b5565b6101576101523660046108ea565b6103e7565b6040516101069190610920565b61018661017236600461098c565b5f9081526003602052604090205460ff1690565b6040519015158152602001610106565b61019e6104a9565b60405161010691906109a3565b6101b36104fe565b60405161010691906109da565b6101c8610586565b60405160ff9091168152602001610106565b6102036101e836600461098c565b5f9081526002602052604090205467ffffffffffffffff1690565b60405167ffffffffffffffff9091168152602001610106565b6101b361022a36600461098c565b6105ff565b6101376040518060400160405280600b81526020016a53657276696365526f6c6560a81b81525081565b61013760405180604001604052806004815260200163526f6c6560e01b81525081565b61018661028a3660046108ea565b610691565b61020361029d366004610a29565b6106cf565b6100fc610760565b5f82815260076020908152604080832067ffffffffffffffff851684528252808320805482518185028101850190935280835260609492939192909184015b8282101561034c575f84815260209081902060408051606081018252600286029092018054835260019081015460e081901b6001600160e01b03191684860152640100000000900464ffffffffff169183019190915290835290920191016102e9565b50505050905092915050565b60605f805461036690610a44565b80601f016020809104026020016040519081016040528092919081815260200182805461039290610a44565b80156103dd5780601f106103b4576101008083540402835291602001916103dd565b820191905f5260205f20905b8154815290600101906020018083116103c057829003601f168201915b5050505050905090565b6040805160a080820183525f8083526020808401829052838501829052606084018290526080840182905267ffffffffffffffff8681168352600582529185902085519384019095528454918216835292939192830190600160401b900460ff1660038111156104595761045961090c565b600381111561046a5761046a61090c565b815281546901000000000000000000900463ffffffff1660208201526001820154604082015260029091015464ffffffffff1660609091015292915050565b606060018054806020026020016040519081016040528092919081815260200182805480156103dd57602002820191905f5260205f20905b8154815260200190600101908083116104e1575050505050905090565b606060048054806020026020016040519081016040528092919081815260200182805480156103dd57602002820191905f5260205f20905f905b82829054906101000a900467ffffffffffffffff1667ffffffffffffffff16815260200190600801906020826007010492830192600103820291508084116105385790505050505050905090565b604051632392b61b60e21b8152600360048201525f9073__$b659da7d8a6d2d32aa6c1e17da23dc2174$__90638e4ad86c90602401602060405180830381865af41580156105d6573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906105fa9190610a7c565b905090565b5f8181526006602090815260409182902080548351818402810184019094528084526060939283018282801561068557602002820191905f5260205f20905f905b82829054906101000a900467ffffffffffffffff1667ffffffffffffffff16815260200190600801906020826007010492830192600103820291508084116106405790505b50505050509050919050565b5f8067ffffffffffffffff83165f90815260056020526040902054600160401b900460ff1660038111156106c7576106c761090c565b141592915050565b5f73__$1d92393fa9ccd763988368ce8a1cb90d26$__63dda777d3836106f3610586565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865af4158015610736573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061075a9190610a97565b92915050565b6001545f901561078b5760015f8154811061077d5761077d610ab2565b905f5260205f200154905090565b60405163cdc23e6960e01b8152602060048201525f602482015273__$9a094f9b231ed0f5f85a69be8408d93180$__9063cdc23e6990604401602060405180830381865af41580156107df573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906105fa9190610ac6565b67ffffffffffffffff81168114610818575f80fd5b50565b5f806040838503121561082c575f80fd5b82359150602083013561083e81610803565b809150509250929050565b602080825282518282018190525f918401906040840190835b818110156108aa578351805184526020808201516001600160e01b0319168186015260409182015164ffffffffff169185019190915290930192606090920191600101610862565b509095945050505050565b602081525f82518060208401528060208501604085015e5f604082850101526040601f19601f83011684010191505092915050565b5f602082840312156108fa575f80fd5b813561090581610803565b9392505050565b634e487b7160e01b5f52602160045260245ffd5b815167ffffffffffffffff168152602082015160a08201906004811061095457634e487b7160e01b5f52602160045260245ffd5b8060208401525063ffffffff60408401511660408301526060830151606083015264ffffffffff608084015116608083015292915050565b5f6020828403121561099c575f80fd5b5035919050565b602080825282518282018190525f918401906040840190835b818110156108aa5783518352602093840193909201916001016109bc565b602080825282518282018190525f918401906040840190835b818110156108aa57835167ffffffffffffffff168352602093840193909201916001016109f3565b60ff81168114610818575f80fd5b5f60208284031215610a39575f80fd5b813561090581610a1b565b600181811c90821680610a5857607f821691505b602082108103610a7657634e487b7160e01b5f52602260045260245ffd5b50919050565b5f60208284031215610a8c575f80fd5b815161090581610a1b565b5f60208284031215610aa7575f80fd5b815161090581610803565b634e487b7160e01b5f52603260045260245ffd5b5f60208284031215610ad6575f80fd5b505191905056fea2646970667358221220b69e23c8694c3e75a84746d8469cd68aed246ed328d666c6c60ac38267f82beb64736f6c634300081a0033",
305
- "deployedBytecode": "0x608060405234801561000f575f80fd5b50600436106100f0575f3560e01c806376b707b711610093578063c5f3484411610063578063c5f3484414610259578063c6a001791461027c578063e8eba4351461028f578063f00e6a2a146102a2575f80fd5b806376b707b7146101c0578063775f14b1146101da5780638c5397b01461021c578063c143892b1461022f575f80fd5b80635bfa5027116100ce5780635bfa5027146101445780635c935ce01461016457806363fe3b561461019657806371061398146101ab575f80fd5b806318029ab4146100f45780631e4afbbf1461010f578063433f95d61461012f575b5f80fd5b6100fc600381565b6040519081526020015b60405180910390f35b61012261011d36600461081b565b6102aa565b6040516101069190610849565b610137610358565b60405161010691906108b5565b6101576101523660046108ea565b6103e7565b6040516101069190610920565b61018661017236600461098c565b5f9081526003602052604090205460ff1690565b6040519015158152602001610106565b61019e6104a9565b60405161010691906109a3565b6101b36104fe565b60405161010691906109da565b6101c8610586565b60405160ff9091168152602001610106565b6102036101e836600461098c565b5f9081526002602052604090205467ffffffffffffffff1690565b60405167ffffffffffffffff9091168152602001610106565b6101b361022a36600461098c565b6105ff565b6101376040518060400160405280600b81526020016a53657276696365526f6c6560a81b81525081565b61013760405180604001604052806004815260200163526f6c6560e01b81525081565b61018661028a3660046108ea565b610691565b61020361029d366004610a29565b6106cf565b6100fc610760565b5f82815260076020908152604080832067ffffffffffffffff851684528252808320805482518185028101850190935280835260609492939192909184015b8282101561034c575f84815260209081902060408051606081018252600286029092018054835260019081015460e081901b6001600160e01b03191684860152640100000000900464ffffffffff169183019190915290835290920191016102e9565b50505050905092915050565b60605f805461036690610a44565b80601f016020809104026020016040519081016040528092919081815260200182805461039290610a44565b80156103dd5780601f106103b4576101008083540402835291602001916103dd565b820191905f5260205f20905b8154815290600101906020018083116103c057829003601f168201915b5050505050905090565b6040805160a080820183525f8083526020808401829052838501829052606084018290526080840182905267ffffffffffffffff8681168352600582529185902085519384019095528454918216835292939192830190600160401b900460ff1660038111156104595761045961090c565b600381111561046a5761046a61090c565b815281546901000000000000000000900463ffffffff1660208201526001820154604082015260029091015464ffffffffff1660609091015292915050565b606060018054806020026020016040519081016040528092919081815260200182805480156103dd57602002820191905f5260205f20905b8154815260200190600101908083116104e1575050505050905090565b606060048054806020026020016040519081016040528092919081815260200182805480156103dd57602002820191905f5260205f20905f905b82829054906101000a900467ffffffffffffffff1667ffffffffffffffff16815260200190600801906020826007010492830192600103820291508084116105385790505050505050905090565b604051632392b61b60e21b8152600360048201525f9073__$b659da7d8a6d2d32aa6c1e17da23dc2174$__90638e4ad86c90602401602060405180830381865af41580156105d6573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906105fa9190610a7c565b905090565b5f8181526006602090815260409182902080548351818402810184019094528084526060939283018282801561068557602002820191905f5260205f20905f905b82829054906101000a900467ffffffffffffffff1667ffffffffffffffff16815260200190600801906020826007010492830192600103820291508084116106405790505b50505050509050919050565b5f8067ffffffffffffffff83165f90815260056020526040902054600160401b900460ff1660038111156106c7576106c761090c565b141592915050565b5f73__$1d92393fa9ccd763988368ce8a1cb90d26$__63dda777d3836106f3610586565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865af4158015610736573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061075a9190610a97565b92915050565b6001545f901561078b5760015f8154811061077d5761077d610ab2565b905f5260205f200154905090565b60405163cdc23e6960e01b8152602060048201525f602482015273__$9a094f9b231ed0f5f85a69be8408d93180$__9063cdc23e6990604401602060405180830381865af41580156107df573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906105fa9190610ac6565b67ffffffffffffffff81168114610818575f80fd5b50565b5f806040838503121561082c575f80fd5b82359150602083013561083e81610803565b809150509250929050565b602080825282518282018190525f918401906040840190835b818110156108aa578351805184526020808201516001600160e01b0319168186015260409182015164ffffffffff169185019190915290930192606090920191600101610862565b509095945050505050565b602081525f82518060208401528060208501604085015e5f604082850101526040601f19601f83011684010191505092915050565b5f602082840312156108fa575f80fd5b813561090581610803565b9392505050565b634e487b7160e01b5f52602160045260245ffd5b815167ffffffffffffffff168152602082015160a08201906004811061095457634e487b7160e01b5f52602160045260245ffd5b8060208401525063ffffffff60408401511660408301526060830151606083015264ffffffffff608084015116608083015292915050565b5f6020828403121561099c575f80fd5b5035919050565b602080825282518282018190525f918401906040840190835b818110156108aa5783518352602093840193909201916001016109bc565b602080825282518282018190525f918401906040840190835b818110156108aa57835167ffffffffffffffff168352602093840193909201916001016109f3565b60ff81168114610818575f80fd5b5f60208284031215610a39575f80fd5b813561090581610a1b565b600181811c90821680610a5857607f821691505b602082108103610a7657634e487b7160e01b5f52602260045260245ffd5b50919050565b5f60208284031215610a8c575f80fd5b815161090581610a1b565b5f60208284031215610aa7575f80fd5b815161090581610803565b634e487b7160e01b5f52603260045260245ffd5b5f60208284031215610ad6575f80fd5b505191905056fea2646970667358221220b69e23c8694c3e75a84746d8469cd68aed246ed328d666c6c60ac38267f82beb64736f6c634300081a0033",
360
+ "bytecode": "0x60c0604052600960809081526810dbdb5c1bdb995b9d60ba1b60a0526002906100289082610ba1565b50348015610034575f80fd5b50604051611ba1380380611ba183398101604081905261005391610c5b565b8060026100608282610ba1565b5061006961007a565b610071610084565b5050610e16565b565b610078600c610110565b5f61009d61009061011a565b6100986101aa565b61022a565b90506100d68163b6b412ba60e01b604051806040016040528060078152602001667365744665657360c81b81525061030460201b60201c565b60408051808201909152600c81526b77697468647261774665657360a01b602082015261010d9082906301c6b21960e41b90610304565b50565b61010d815f6104e1565b60606002805461012990610b1d565b80601f016020809104026020016040519081016040528092919081815260200182805461015590610b1d565b80156101a05780601f10610177576101008083540402835291602001916101a0565b820191905f5260205f20905b81548152906001019060200180831161018357829003601f168201915b5050505050905090565b604051637c3940bf60e01b81526001600160401b0360048201525f9073__$1d92393fa9ccd763988368ce8a1cb90d26$__90637c3940bf906024015b602060405180830381865af4158015610201573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906102259190610d0b565b905090565b5f8073__$9a094f9b231ed0f5f85a69be8408d93180$__63cdc23e69856040518263ffffffff1660e01b81526004016102639190610d38565b602060405180830381865af415801561027e573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906102a29190610d6d565b5f8181526008602081815260408084208054600181018255908552828520600482040180546001600160401b03808c1660039094169096026101000a838102960219169490941790935593835260098152838320918352522091505092915050565b60408051606081019182905263cdc23e6960e01b90915283908073__$9a094f9b231ed0f5f85a69be8408d93180$__63cdc23e696103458660648501610d38565b602060405180830381865af4158015610360573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906103849190610d6d565b8152604051636b15ee8b60e01b81526001600160e01b03198616600482015260209091019073__$0904195350e4c23ecb1d51df0a32586dcd$__90636b15ee8b90602401602060405180830381865af41580156103e3573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906104079190610d84565b6001600160e01b031916815260200173__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af415801561045d573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906104819190610dab565b64ffffffffff9081169091528254600181810185555f94855260209485902084516002909302019182559383015193018054604090930151909116640100000000026001600160481b031990921660e09390931c92909217179055505050565b6105846104ec61011a565b6040516311da4a5b60e31b815260ff851660048201526001600160401b038416602482015273__$1d92393fa9ccd763988368ce8a1cb90d26$__90638ed252d890604401602060405180830381865af415801561054b573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061056f9190610d0b565b61057f61057a61011a565b610588565b6105cf565b5050565b60608160405180604001604052806004815260200163526f6c6560e01b8152506040516020016105b9929190610de6565b6040516020818303038152906040529050919050565b60405163cdc23e6960e01b81525f9073__$9a094f9b231ed0f5f85a69be8408d93180$__9063cdc23e6990610608908790600401610d38565b602060405180830381865af4158015610623573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906106479190610d6d565b6003805460018181019092557fc2575a0e9e593c00f959f8c92f12db2869c3395a3b0502d05e2516446f71f85b018290555f82815260056020908152604091829020805460ff1916909317909255805163bc1b392d60e01b8152905192935061071c92869273__$1d92393fa9ccd763988368ce8a1cb90d26$__9263bc1b392d92600480830193928290030181865af41580156106e6573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061070a9190610d0b565b6001600160401b039081169116141590565b1561075f5761072a83610765565b6107385761073883836107a7565b5f81815260046020526040902080546001600160401b0319166001600160401b0385161790555b50505050565b5f806001600160401b0383165f9081526007602052604090205468010000000000000000900460ff16600381111561079f5761079f610e02565b141592915050565b610584826107bf6107b66107c4565b600180866107fe565b6109db565b604051637c3940bf60e01b81525f600482018190529073__$1d92393fa9ccd763988368ce8a1cb90d26$__90637c3940bf906024016101e6565b6040805160c0810182525f80825260208201819052918101829052606081018290526080810182905260a08101919091526040518060c00160405280866001600160401b0316815260200185600381111561085b5761085b610e02565b81526020018463ffffffff16815260200173__$9a094f9b231ed0f5f85a69be8408d93180$__63cdc23e69856040518263ffffffff1660e01b81526004016108a39190610d38565b602060405180830381865af41580156108be573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906108e29190610d6d565b815260200173__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af415801561092e573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906109529190610dab565b64ffffffffff16815260200173__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__636ac5db196040518163ffffffff1660e01b8152600401602060405180830381865af41580156109a5573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906109c99190610dab565b64ffffffffff16905295945050505050565b6006805460018101909155600481047ff652222313e28459528d920b65115c16c04f3efc82aaedc97be59f3f377c0d3f0180546001600160401b0380861660086003958616026101000a81810290830219909316929092179092555f9081526007602090815260409091208451815493166001600160401b03198416811782559185015185949193909284926001600160481b0319909216179068010000000000000000908490811115610a9157610a91610e02565b02179055506040820151815463ffffffff90911669010000000000000000000263ffffffff60481b199091161781556060820151600182015560808201516002909101805460a09093015164ffffffffff90811665010000000000026001600160501b03199094169216919091179190911790555050565b634e487b7160e01b5f52604160045260245ffd5b600181811c90821680610b3157607f821691505b602082108103610b4f57634e487b7160e01b5f52602260045260245ffd5b50919050565b601f821115610b9c57805f5260205f20601f840160051c81016020851015610b7a5750805b601f840160051c820191505b81811015610b99575f8155600101610b86565b50505b505050565b81516001600160401b03811115610bba57610bba610b09565b610bce81610bc88454610b1d565b84610b55565b6020601f821160018114610c00575f8315610be95750848201515b5f19600385901b1c1916600184901b178455610b99565b5f84815260208120601f198516915b82811015610c2f5787850151825560209485019460019092019101610c0f565b5084821015610c4c57868401515f19600387901b60f8161c191681555b50505050600190811b01905550565b5f60208284031215610c6b575f80fd5b81516001600160401b03811115610c80575f80fd5b8201601f81018413610c90575f80fd5b80516001600160401b03811115610ca957610ca9610b09565b604051601f8201601f19908116603f011681016001600160401b0381118282101715610cd757610cd7610b09565b604052818152828201602001861015610cee575f80fd5b8160208401602083015e5f91810160200191909152949350505050565b5f60208284031215610d1b575f80fd5b81516001600160401b0381168114610d31575f80fd5b9392505050565b602081525f82518060208401528060208501604085015e5f604082850101526040601f19601f83011684010191505092915050565b5f60208284031215610d7d575f80fd5b5051919050565b5f60208284031215610d94575f80fd5b81516001600160e01b031981168114610d31575f80fd5b5f60208284031215610dbb575f80fd5b815164ffffffffff81168114610d31575f80fd5b5f81518060208401855e5f93019283525090919050565b5f610dfa610df48386610dcf565b84610dcf565b949350505050565b634e487b7160e01b5f52602160045260245ffd5b610d7e80610e235f395ff3fe608060405234801561000f575f80fd5b5060043610610111575f3560e01c806376b707b71161009e578063c143892b1161006e578063c143892b14610291578063c5f34844146102bb578063c6a00179146102de578063da1b620b146102f1578063e8eba43514610304575f80fd5b806376b707b71461021c578063775f14b1146102365780638899278a146102765780638c5397b01461027e575f80fd5b80635bfa5027116100e45780635bfa50271461018b5780635c935ce0146101ab57806363fe3b56146101dd57806368c55b13146101f25780637106139814610207575f80fd5b80631e4afbbf146101155780634322699b1461013e578063433f95d61461015457806354e17da914610169575b5f80fd5b610128610123366004610972565b610317565b60405161013591906109a0565b60405180910390f35b6101466103c4565b604051908152602001610135565b61015c61045b565b6040516101359190610a3a565b610146610177366004610a61565b60ff165f9081526001602052604090205490565b61019e610199366004610a7c565b6104eb565b6040516101359190610aab565b6101cd6101b9366004610b37565b5f9081526005602052604090205460ff1690565b6040519015158152602001610135565b6101e56105c5565b6040516101359190610b4e565b6101fa61061a565b6040516101359190610b85565b61020f61068b565b6040516101359190610bbf565b610224610711565b60405160ff9091168152602001610135565b61025e610244366004610b37565b5f908152600460205260409020546001600160401b031690565b6040516001600160401b039091168152602001610135565b610146600381565b61020f61028c366004610b37565b610785565b61015c6040518060400160405280600b81526020016a53657276696365526f6c6560a81b81525081565b61015c60405180604001604052806004815260200163526f6c6560e01b81525081565b6101cd6102ec366004610a7c565b610815565b6101466102ff366004610c13565b610852565b61025e610312366004610a61565b6108d0565b5f8281526009602090815260408083206001600160401b03851684528252808320805482518185028101850190935280835260609492939192909184015b828210156103b8575f84815260209081902060408051606081018252600286029092018054835260019081015460e081901b6001600160e01b03191684860152640100000000900464ffffffffff16918301919091529083529092019101610355565b50505050905092915050565b5f610456600280546103d590610cc3565b80601f016020809104026020016040519081016040528092919081815260200182805461040190610cc3565b801561044c5780601f106104235761010080835404028352916020019161044c565b820191905f5260205f20905b81548152906001019060200180831161042f57829003601f168201915b5050505050610852565b905090565b60606002805461046a90610cc3565b80601f016020809104026020016040519081016040528092919081815260200182805461049690610cc3565b80156104e15780601f106104b8576101008083540402835291602001916104e1565b820191905f5260205f20905b8154815290600101906020018083116104c457829003601f168201915b5050505050905090565b6040805160c080820183525f8083526020808401829052838501829052606084018290526080840182905260a084018290526001600160401b038681168352600782529185902085519384019095528454918216835292939192830190600160401b900460ff16600381111561056357610563610a97565b600381111561057457610574610a97565b815281546901000000000000000000900463ffffffff1660208201526001820154604082015260029091015464ffffffffff8082166060840152650100000000009091041660809091015292915050565b606060038054806020026020016040519081016040528092919081815260200182805480156104e157602002820191905f5260205f20905b8154815260200190600101908083116105fd575050505050905090565b60605f8054806020026020016040519081016040528092919081815260200182805480156104e157602002820191905f5260205f20905f905b825461010083900a900460ff168152602060019283018181049485019490930390920291018084116106535790505050505050905090565b606060068054806020026020016040519081016040528092919081815260200182805480156104e157602002820191905f5260205f20905f905b82829054906101000a90046001600160401b03166001600160401b0316815260200190600801906020826007010492830192600103820291508084116106c55790505050505050905090565b604051632392b61b60e21b8152600360048201525f9073__$b659da7d8a6d2d32aa6c1e17da23dc2174$__90638e4ad86c90602401602060405180830381865af4158015610761573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906104569190610cfb565b5f8181526008602090815260409182902080548351818402810184019094528084526060939283018282801561080957602002820191905f5260205f20905f905b82829054906101000a90046001600160401b03166001600160401b0316815260200190600801906020826007010492830192600103820291508084116107c65790505b50505050509050919050565b5f806001600160401b0383165f90815260076020526040902054600160401b900460ff16600381111561084a5761084a610a97565b141592915050565b60405163cdc23e6960e01b81525f9073__$9a094f9b231ed0f5f85a69be8408d93180$__9063cdc23e699061088b908590600401610a3a565b602060405180830381865af41580156108a6573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906108ca9190610d16565b92915050565b5f73__$1d92393fa9ccd763988368ce8a1cb90d26$__63dda777d3836108f4610711565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865af4158015610937573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906108ca9190610d2d565b6001600160401b038116811461096f575f80fd5b50565b5f8060408385031215610983575f80fd5b8235915060208301356109958161095b565b809150509250929050565b602080825282518282018190525f918401906040840190835b81811015610a01578351805184526020808201516001600160e01b0319168186015260409182015164ffffffffff1691850191909152909301926060909201916001016109b9565b509095945050505050565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081525f610a4c6020830184610a0c565b9392505050565b60ff8116811461096f575f80fd5b5f60208284031215610a71575f80fd5b8135610a4c81610a53565b5f60208284031215610a8c575f80fd5b8135610a4c8161095b565b634e487b7160e01b5f52602160045260245ffd5b81516001600160401b03168152602082015160c082019060048110610ade57634e487b7160e01b5f52602160045260245ffd5b8060208401525063ffffffff6040840151166040830152606083015160608301526080830151610b17608084018264ffffffffff169052565b5060a0830151610b3060a084018264ffffffffff169052565b5092915050565b5f60208284031215610b47575f80fd5b5035919050565b602080825282518282018190525f918401906040840190835b81811015610a01578351835260209384019390920191600101610b67565b602080825282518282018190525f918401906040840190835b81811015610a0157835160ff16835260209384019390920191600101610b9e565b602080825282518282018190525f918401906040840190835b81811015610a015783516001600160401b0316835260209384019390920191600101610bd8565b634e487b7160e01b5f52604160045260245ffd5b5f60208284031215610c23575f80fd5b81356001600160401b03811115610c38575f80fd5b8201601f81018413610c48575f80fd5b80356001600160401b03811115610c6157610c61610bff565b604051601f8201601f19908116603f011681016001600160401b0381118282101715610c8f57610c8f610bff565b604052818152828201602001861015610ca6575f80fd5b816020840160208301375f91810160200191909152949350505050565b600181811c90821680610cd757607f821691505b602082108103610cf557634e487b7160e01b5f52602260045260245ffd5b50919050565b5f60208284031215610d0b575f80fd5b8151610a4c81610a53565b5f60208284031215610d26575f80fd5b5051919050565b5f60208284031215610d3d575f80fd5b8151610a4c8161095b56fea2646970667358221220a47ec831a5aeb99da91ecb28455d1c6986cddc434220bca2475e18f757afd56464736f6c634300081a0033",
361
+ "deployedBytecode": "0x608060405234801561000f575f80fd5b5060043610610111575f3560e01c806376b707b71161009e578063c143892b1161006e578063c143892b14610291578063c5f34844146102bb578063c6a00179146102de578063da1b620b146102f1578063e8eba43514610304575f80fd5b806376b707b71461021c578063775f14b1146102365780638899278a146102765780638c5397b01461027e575f80fd5b80635bfa5027116100e45780635bfa50271461018b5780635c935ce0146101ab57806363fe3b56146101dd57806368c55b13146101f25780637106139814610207575f80fd5b80631e4afbbf146101155780634322699b1461013e578063433f95d61461015457806354e17da914610169575b5f80fd5b610128610123366004610972565b610317565b60405161013591906109a0565b60405180910390f35b6101466103c4565b604051908152602001610135565b61015c61045b565b6040516101359190610a3a565b610146610177366004610a61565b60ff165f9081526001602052604090205490565b61019e610199366004610a7c565b6104eb565b6040516101359190610aab565b6101cd6101b9366004610b37565b5f9081526005602052604090205460ff1690565b6040519015158152602001610135565b6101e56105c5565b6040516101359190610b4e565b6101fa61061a565b6040516101359190610b85565b61020f61068b565b6040516101359190610bbf565b610224610711565b60405160ff9091168152602001610135565b61025e610244366004610b37565b5f908152600460205260409020546001600160401b031690565b6040516001600160401b039091168152602001610135565b610146600381565b61020f61028c366004610b37565b610785565b61015c6040518060400160405280600b81526020016a53657276696365526f6c6560a81b81525081565b61015c60405180604001604052806004815260200163526f6c6560e01b81525081565b6101cd6102ec366004610a7c565b610815565b6101466102ff366004610c13565b610852565b61025e610312366004610a61565b6108d0565b5f8281526009602090815260408083206001600160401b03851684528252808320805482518185028101850190935280835260609492939192909184015b828210156103b8575f84815260209081902060408051606081018252600286029092018054835260019081015460e081901b6001600160e01b03191684860152640100000000900464ffffffffff16918301919091529083529092019101610355565b50505050905092915050565b5f610456600280546103d590610cc3565b80601f016020809104026020016040519081016040528092919081815260200182805461040190610cc3565b801561044c5780601f106104235761010080835404028352916020019161044c565b820191905f5260205f20905b81548152906001019060200180831161042f57829003601f168201915b5050505050610852565b905090565b60606002805461046a90610cc3565b80601f016020809104026020016040519081016040528092919081815260200182805461049690610cc3565b80156104e15780601f106104b8576101008083540402835291602001916104e1565b820191905f5260205f20905b8154815290600101906020018083116104c457829003601f168201915b5050505050905090565b6040805160c080820183525f8083526020808401829052838501829052606084018290526080840182905260a084018290526001600160401b038681168352600782529185902085519384019095528454918216835292939192830190600160401b900460ff16600381111561056357610563610a97565b600381111561057457610574610a97565b815281546901000000000000000000900463ffffffff1660208201526001820154604082015260029091015464ffffffffff8082166060840152650100000000009091041660809091015292915050565b606060038054806020026020016040519081016040528092919081815260200182805480156104e157602002820191905f5260205f20905b8154815260200190600101908083116105fd575050505050905090565b60605f8054806020026020016040519081016040528092919081815260200182805480156104e157602002820191905f5260205f20905f905b825461010083900a900460ff168152602060019283018181049485019490930390920291018084116106535790505050505050905090565b606060068054806020026020016040519081016040528092919081815260200182805480156104e157602002820191905f5260205f20905f905b82829054906101000a90046001600160401b03166001600160401b0316815260200190600801906020826007010492830192600103820291508084116106c55790505050505050905090565b604051632392b61b60e21b8152600360048201525f9073__$b659da7d8a6d2d32aa6c1e17da23dc2174$__90638e4ad86c90602401602060405180830381865af4158015610761573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906104569190610cfb565b5f8181526008602090815260409182902080548351818402810184019094528084526060939283018282801561080957602002820191905f5260205f20905f905b82829054906101000a90046001600160401b03166001600160401b0316815260200190600801906020826007010492830192600103820291508084116107c65790505b50505050509050919050565b5f806001600160401b0383165f90815260076020526040902054600160401b900460ff16600381111561084a5761084a610a97565b141592915050565b60405163cdc23e6960e01b81525f9073__$9a094f9b231ed0f5f85a69be8408d93180$__9063cdc23e699061088b908590600401610a3a565b602060405180830381865af41580156108a6573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906108ca9190610d16565b92915050565b5f73__$1d92393fa9ccd763988368ce8a1cb90d26$__63dda777d3836108f4610711565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865af4158015610937573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906108ca9190610d2d565b6001600160401b038116811461096f575f80fd5b50565b5f8060408385031215610983575f80fd5b8235915060208301356109958161095b565b809150509250929050565b602080825282518282018190525f918401906040840190835b81811015610a01578351805184526020808201516001600160e01b0319168186015260409182015164ffffffffff1691850191909152909301926060909201916001016109b9565b509095945050505050565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081525f610a4c6020830184610a0c565b9392505050565b60ff8116811461096f575f80fd5b5f60208284031215610a71575f80fd5b8135610a4c81610a53565b5f60208284031215610a8c575f80fd5b8135610a4c8161095b565b634e487b7160e01b5f52602160045260245ffd5b81516001600160401b03168152602082015160c082019060048110610ade57634e487b7160e01b5f52602160045260245ffd5b8060208401525063ffffffff6040840151166040830152606083015160608301526080830151610b17608084018264ffffffffff169052565b5060a0830151610b3060a084018264ffffffffff169052565b5092915050565b5f60208284031215610b47575f80fd5b5035919050565b602080825282518282018190525f918401906040840190835b81811015610a01578351835260209384019390920191600101610b67565b602080825282518282018190525f918401906040840190835b81811015610a0157835160ff16835260209384019390920191600101610b9e565b602080825282518282018190525f918401906040840190835b81811015610a015783516001600160401b0316835260209384019390920191600101610bd8565b634e487b7160e01b5f52604160045260245ffd5b5f60208284031215610c23575f80fd5b81356001600160401b03811115610c38575f80fd5b8201601f81018413610c48575f80fd5b80356001600160401b03811115610c6157610c61610bff565b604051601f8201601f19908116603f011681016001600160401b0381118282101715610c8f57610c8f610bff565b604052818152828201602001861015610ca6575f80fd5b816020840160208301375f91810160200191909152949350505050565b600181811c90821680610cd757607f821691505b602082108103610cf557634e487b7160e01b5f52602260045260245ffd5b50919050565b5f60208284031215610d0b575f80fd5b8151610a4c81610a53565b5f60208284031215610d26575f80fd5b5051919050565b5f60208284031215610d3d575f80fd5b8151610a4c8161095b56fea2646970667358221220a47ec831a5aeb99da91ecb28455d1c6986cddc434220bca2475e18f757afd56464736f6c634300081a0033",
306
362
  "linkReferences": {
307
363
  "contracts/type/RoleId.sol": {
308
364
  "RoleIdLib": [
309
365
  {
310
366
  "length": 20,
311
- "start": 311
367
+ "start": 456
312
368
  },
313
369
  {
314
370
  "length": 20,
315
- "start": 597
371
+ "start": 1299
316
372
  },
317
373
  {
318
374
  "length": 20,
319
- "start": 1684
375
+ "start": 1710
320
376
  },
321
377
  {
322
378
  "length": 20,
323
- "start": 1990
379
+ "start": 2012
324
380
  },
325
381
  {
326
382
  "length": 20,
327
- "start": 5193
383
+ "start": 5878
328
384
  }
329
385
  ]
330
386
  },
@@ -332,7 +388,7 @@
332
388
  "SelectorLib": [
333
389
  {
334
390
  "length": 20,
335
- "start": 1083
391
+ "start": 939
336
392
  }
337
393
  ]
338
394
  },
@@ -340,23 +396,23 @@
340
396
  "StrLib": [
341
397
  {
342
398
  "length": 20,
343
- "start": 699
399
+ "start": 558
344
400
  },
345
401
  {
346
402
  "length": 20,
347
- "start": 944
403
+ "start": 800
348
404
  },
349
405
  {
350
406
  "length": 20,
351
- "start": 1481
407
+ "start": 1504
352
408
  },
353
409
  {
354
410
  "length": 20,
355
- "start": 2129
411
+ "start": 2158
356
412
  },
357
413
  {
358
414
  "length": 20,
359
- "start": 5406
415
+ "start": 5766
360
416
  }
361
417
  ]
362
418
  },
@@ -364,11 +420,15 @@
364
420
  "TimestampLib": [
365
421
  {
366
422
  "length": 20,
367
- "start": 1192
423
+ "start": 1048
424
+ },
425
+ {
426
+ "length": 20,
427
+ "start": 2281
368
428
  },
369
429
  {
370
430
  "length": 20,
371
- "start": 2252
431
+ "start": 2400
372
432
  }
373
433
  ]
374
434
  },
@@ -376,7 +436,7 @@
376
436
  "VersionPartLib": [
377
437
  {
378
438
  "length": 20,
379
- "start": 4885
439
+ "start": 5452
380
440
  }
381
441
  ]
382
442
  }
@@ -386,7 +446,7 @@
386
446
  "RoleIdLib": [
387
447
  {
388
448
  "length": 20,
389
- "start": 1746
449
+ "start": 2259
390
450
  }
391
451
  ]
392
452
  },
@@ -394,7 +454,7 @@
394
454
  "StrLib": [
395
455
  {
396
456
  "length": 20,
397
- "start": 1959
457
+ "start": 2147
398
458
  }
399
459
  ]
400
460
  },
@@ -402,7 +462,7 @@
402
462
  "VersionPartLib": [
403
463
  {
404
464
  "length": 20,
405
- "start": 1438
465
+ "start": 1833
406
466
  }
407
467
  ]
408
468
  }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../build-info/bb527b66bace75f3186e90c8491949c9.json"
3
+ "buildInfo": "../../../build-info/acc82443fc6a12a57286b340307ede8d.json"
4
4
  }