@etherisc/gif-next 0.0.2-f1e0c66-773 → 0.0.2-f1f3b2c-994

Sign up to get free protection for your applications and to get access to all the features.
Files changed (423) hide show
  1. package/README.md +7 -2
  2. package/artifacts/contracts/authorization/AccessAdmin.sol/AccessAdmin.dbg.json +1 -1
  3. package/artifacts/contracts/authorization/AccessAdmin.sol/AccessAdmin.json +81 -63
  4. package/artifacts/contracts/authorization/AccessManagerCloneable.sol/AccessManagerCloneable.dbg.json +1 -1
  5. package/artifacts/contracts/authorization/Authorization.sol/Authorization.dbg.json +1 -1
  6. package/artifacts/contracts/authorization/Authorization.sol/Authorization.json +2 -2
  7. package/artifacts/contracts/authorization/IAccess.sol/IAccess.dbg.json +1 -1
  8. package/artifacts/contracts/authorization/IAccessAdmin.sol/IAccessAdmin.dbg.json +1 -1
  9. package/artifacts/contracts/authorization/IAccessAdmin.sol/IAccessAdmin.json +48 -30
  10. package/artifacts/contracts/authorization/IAuthorization.sol/IAuthorization.dbg.json +1 -1
  11. package/artifacts/contracts/authorization/IModuleAuthorization.sol/IModuleAuthorization.dbg.json +1 -1
  12. package/artifacts/contracts/authorization/IServiceAuthorization.sol/IServiceAuthorization.dbg.json +1 -1
  13. package/artifacts/contracts/authorization/IServiceAuthorization.sol/IServiceAuthorization.json +21 -2
  14. package/artifacts/contracts/authorization/ModuleAuthorization.sol/ModuleAuthorization.dbg.json +1 -1
  15. package/artifacts/contracts/authorization/ModuleAuthorization.sol/ModuleAuthorization.json +2 -2
  16. package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.dbg.json +1 -1
  17. package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.json +72 -9
  18. package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.dbg.json +1 -1
  19. package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.json +63 -248
  20. package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.dbg.json +1 -1
  21. package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.json +16 -16
  22. package/artifacts/contracts/distribution/Distribution.sol/Distribution.dbg.json +1 -1
  23. package/artifacts/contracts/distribution/Distribution.sol/Distribution.json +21 -222
  24. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.dbg.json +1 -1
  25. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.json +134 -286
  26. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +1 -1
  27. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.json +84 -120
  28. package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.dbg.json +1 -1
  29. package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.json +21 -37
  30. package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.dbg.json +1 -1
  31. package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.json +49 -62
  32. package/artifacts/contracts/examples/fire/DamageLevel.sol/DamageLevelLib.dbg.json +4 -0
  33. package/artifacts/contracts/examples/fire/DamageLevel.sol/DamageLevelLib.json +22 -0
  34. package/artifacts/contracts/examples/fire/FirePool.sol/FirePool.dbg.json +4 -0
  35. package/artifacts/contracts/examples/fire/FirePool.sol/FirePool.json +1512 -0
  36. package/artifacts/contracts/examples/fire/FirePoolAuthorization.sol/FirePoolAuthorization.dbg.json +4 -0
  37. package/artifacts/contracts/examples/fire/FirePoolAuthorization.sol/FirePoolAuthorization.json +410 -0
  38. package/artifacts/contracts/examples/fire/FireProduct.sol/FireProduct.dbg.json +4 -0
  39. package/artifacts/contracts/examples/fire/FireProduct.sol/FireProduct.json +1999 -0
  40. package/artifacts/contracts/examples/fire/FireProductAuthorization.sol/FireProductAuthorization.dbg.json +4 -0
  41. package/artifacts/contracts/examples/fire/FireProductAuthorization.sol/FireProductAuthorization.json +414 -0
  42. package/artifacts/contracts/examples/fire/FireUSD.sol/FireUSD.dbg.json +4 -0
  43. package/artifacts/contracts/examples/fire/FireUSD.sol/FireUSD.json +376 -0
  44. package/artifacts/contracts/examples/unpermissioned/SimpleDistribution.sol/SimpleDistribution.dbg.json +4 -0
  45. package/artifacts/contracts/examples/unpermissioned/SimpleDistribution.sol/SimpleDistribution.json +1432 -0
  46. package/artifacts/contracts/examples/unpermissioned/SimpleOracle.sol/SimpleOracle.dbg.json +4 -0
  47. package/artifacts/contracts/examples/unpermissioned/SimpleOracle.sol/SimpleOracle.json +1192 -0
  48. package/artifacts/contracts/examples/unpermissioned/SimplePool.sol/SimplePool.dbg.json +4 -0
  49. package/artifacts/contracts/examples/unpermissioned/SimplePool.sol/SimplePool.json +1566 -0
  50. package/artifacts/contracts/examples/unpermissioned/SimpleProduct.sol/SimpleProduct.dbg.json +4 -0
  51. package/artifacts/contracts/examples/unpermissioned/SimpleProduct.sol/SimpleProduct.json +2001 -0
  52. package/artifacts/contracts/instance/BundleSet.sol/BundleSet.dbg.json +1 -1
  53. package/artifacts/contracts/instance/BundleSet.sol/BundleSet.json +2 -2
  54. package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
  55. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +1 -1
  56. package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
  57. package/artifacts/contracts/instance/Instance.sol/Instance.json +10 -99
  58. package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.dbg.json +1 -1
  59. package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.json +145 -111
  60. package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.dbg.json +1 -1
  61. package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.json +14 -14
  62. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +1 -1
  63. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +437 -124
  64. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +1 -1
  65. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +39 -146
  66. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +1 -1
  67. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +61 -81
  68. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.dbg.json +1 -1
  69. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.json +285 -218
  70. package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.dbg.json +1 -1
  71. package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.json +2 -2
  72. package/artifacts/contracts/instance/base/Cloneable.sol/Cloneable.dbg.json +1 -1
  73. package/artifacts/contracts/instance/base/ObjectCounter.sol/ObjectCounter.dbg.json +1 -1
  74. package/artifacts/contracts/instance/base/ObjectCounter.sol/ObjectCounter.json +2 -2
  75. package/artifacts/contracts/instance/base/ObjectLifecycle.sol/ObjectLifecycle.dbg.json +1 -1
  76. package/artifacts/contracts/instance/base/ObjectLifecycle.sol/ObjectLifecycle.json +45 -4
  77. package/artifacts/contracts/instance/base/ObjectSet.sol/ObjectSet.dbg.json +1 -1
  78. package/artifacts/contracts/instance/base/ObjectSet.sol/ObjectSet.json +2 -2
  79. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.dbg.json +1 -1
  80. package/artifacts/contracts/instance/module/IBundle.sol/IBundle.dbg.json +1 -1
  81. package/artifacts/contracts/instance/module/IComponents.sol/IComponents.dbg.json +1 -1
  82. package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.dbg.json +1 -1
  83. package/artifacts/contracts/instance/module/IPolicy.sol/IPolicy.dbg.json +1 -1
  84. package/artifacts/contracts/instance/module/IRisk.sol/IRisk.dbg.json +1 -1
  85. package/artifacts/contracts/mock/Dip.sol/Dip.dbg.json +1 -1
  86. package/artifacts/contracts/mock/Dip.sol/Dip.json +2 -2
  87. package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.dbg.json +1 -1
  88. package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.json +47 -232
  89. package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.dbg.json +1 -1
  90. package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.json +18 -18
  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 +15 -31
  94. package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.dbg.json +1 -1
  95. package/artifacts/contracts/oracle/Oracle.sol/Oracle.dbg.json +1 -1
  96. package/artifacts/contracts/oracle/Oracle.sol/Oracle.json +15 -216
  97. package/artifacts/contracts/oracle/OracleService.sol/OracleService.dbg.json +1 -1
  98. package/artifacts/contracts/oracle/OracleService.sol/OracleService.json +37 -144
  99. package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.dbg.json +1 -1
  100. package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.json +60 -80
  101. package/artifacts/contracts/pool/BasicPool.sol/BasicPool.dbg.json +1 -1
  102. package/artifacts/contracts/pool/BasicPool.sol/BasicPool.json +51 -274
  103. package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.dbg.json +1 -1
  104. package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.json +16 -16
  105. package/artifacts/contracts/pool/BundleService.sol/BundleService.dbg.json +1 -1
  106. package/artifacts/contracts/pool/BundleService.sol/BundleService.json +319 -188
  107. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.dbg.json +1 -1
  108. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.json +130 -94
  109. package/artifacts/contracts/pool/IBundleService.sol/IBundleService.dbg.json +1 -1
  110. package/artifacts/contracts/pool/IBundleService.sol/IBundleService.json +149 -23
  111. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.dbg.json +1 -1
  112. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.json +44 -88
  113. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.dbg.json +1 -1
  114. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.json +360 -171
  115. package/artifacts/contracts/pool/Pool.sol/Pool.dbg.json +1 -1
  116. package/artifacts/contracts/pool/Pool.sol/Pool.json +41 -270
  117. package/artifacts/contracts/pool/PoolService.sol/PoolService.dbg.json +1 -1
  118. package/artifacts/contracts/pool/PoolService.sol/PoolService.json +492 -333
  119. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.dbg.json +1 -1
  120. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.json +98 -82
  121. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.dbg.json +1 -1
  122. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.json +36 -162
  123. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +1 -1
  124. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.json +57 -89
  125. package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.dbg.json +1 -1
  126. package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.json +43 -242
  127. package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.dbg.json +1 -1
  128. package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.json +16 -16
  129. package/artifacts/contracts/product/ClaimService.sol/ClaimService.dbg.json +1 -1
  130. package/artifacts/contracts/product/ClaimService.sol/ClaimService.json +263 -181
  131. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +1 -1
  132. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.json +104 -100
  133. package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.dbg.json +1 -1
  134. package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.json +5 -0
  135. package/artifacts/contracts/product/IClaimService.sol/IClaimService.dbg.json +1 -1
  136. package/artifacts/contracts/product/IClaimService.sol/IClaimService.json +147 -6
  137. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.dbg.json +1 -1
  138. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.json +282 -119
  139. package/artifacts/contracts/product/IPricingService.sol/IPricingService.dbg.json +1 -1
  140. package/artifacts/contracts/product/IPricingService.sol/IPricingService.json +43 -43
  141. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.dbg.json +1 -1
  142. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.json +43 -57
  143. package/artifacts/contracts/product/IRiskService.sol/IRiskService.dbg.json +4 -0
  144. package/artifacts/contracts/product/{IProductService.sol/IProductService.json → IRiskService.sol/IRiskService.json} +2 -2
  145. package/artifacts/contracts/product/PolicyService.sol/PolicyService.dbg.json +1 -1
  146. package/artifacts/contracts/product/PolicyService.sol/PolicyService.json +399 -327
  147. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +1 -1
  148. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.json +104 -100
  149. package/artifacts/contracts/product/PricingService.sol/PricingService.dbg.json +1 -1
  150. package/artifacts/contracts/product/PricingService.sol/PricingService.json +115 -267
  151. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.dbg.json +1 -1
  152. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.json +80 -120
  153. package/artifacts/contracts/product/Product.sol/Product.dbg.json +1 -1
  154. package/artifacts/contracts/product/Product.sol/Product.json +43 -242
  155. package/artifacts/contracts/product/RiskService.sol/RiskService.dbg.json +4 -0
  156. package/artifacts/contracts/product/RiskService.sol/RiskService.json +588 -0
  157. package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.dbg.json +4 -0
  158. package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.json +682 -0
  159. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
  160. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +59 -16
  161. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
  162. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +238 -34
  163. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +1 -1
  164. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +1 -1
  165. package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
  166. package/artifacts/contracts/registry/Registry.sol/Registry.json +436 -95
  167. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.dbg.json +1 -1
  168. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.json +261 -143
  169. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +1 -1
  170. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +23 -313
  171. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +1 -1
  172. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +52 -72
  173. package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.dbg.json +1 -1
  174. package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.json +46 -5
  175. package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.dbg.json +1 -1
  176. package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.json +117 -215
  177. package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.dbg.json +1 -1
  178. package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.json +70 -12
  179. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +1 -1
  180. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +2 -2
  181. package/artifacts/contracts/shared/Component.sol/Component.dbg.json +1 -1
  182. package/artifacts/contracts/shared/Component.sol/Component.json +15 -205
  183. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.dbg.json +1 -1
  184. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.json +89 -212
  185. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.dbg.json +1 -1
  186. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.json +96 -114
  187. package/artifacts/contracts/shared/ComponentVerifyingService.sol/ComponentVerifyingService.dbg.json +1 -1
  188. package/artifacts/contracts/shared/ComponentVerifyingService.sol/ComponentVerifyingService.json +5 -112
  189. package/artifacts/contracts/shared/ContractLib.sol/ContractLib.dbg.json +4 -0
  190. package/artifacts/contracts/shared/ContractLib.sol/ContractLib.json +92 -0
  191. package/artifacts/contracts/shared/IComponent.sol/IComponent.dbg.json +1 -1
  192. package/artifacts/contracts/shared/IComponent.sol/IComponent.json +15 -20
  193. package/artifacts/contracts/shared/IComponentService.sol/IComponentService.dbg.json +1 -1
  194. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.dbg.json +1 -1
  195. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.json +15 -31
  196. package/artifacts/contracts/shared/IKeyValueStore.sol/IKeyValueStore.dbg.json +1 -1
  197. package/artifacts/contracts/shared/IKeyValueStore.sol/IKeyValueStore.json +36 -0
  198. package/artifacts/contracts/shared/ILifecycle.sol/ILifecycle.dbg.json +1 -1
  199. package/artifacts/contracts/shared/ILifecycle.sol/ILifecycle.json +36 -0
  200. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +1 -1
  201. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.dbg.json +1 -1
  202. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.json +15 -47
  203. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
  204. package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.dbg.json +1 -1
  205. package/artifacts/contracts/shared/IService.sol/IService.dbg.json +1 -1
  206. package/artifacts/contracts/shared/InitializableERC165.sol/InitializableERC165.dbg.json +1 -1
  207. package/artifacts/contracts/shared/InitializableERC165.sol/InitializableERC165.json +2 -22
  208. package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.dbg.json +1 -1
  209. package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.json +15 -216
  210. package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.dbg.json +1 -1
  211. package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.json +41 -0
  212. package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.dbg.json +1 -1
  213. package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.json +41 -0
  214. package/artifacts/contracts/shared/NftIdSet.sol/NftIdSet.dbg.json +1 -1
  215. package/artifacts/contracts/shared/NftIdSet.sol/NftIdSet.json +2 -2
  216. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +1 -1
  217. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +6 -57
  218. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.dbg.json +1 -1
  219. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.json +19 -141
  220. package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
  221. package/artifacts/contracts/shared/Registerable.sol/Registerable.json +8 -97
  222. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.dbg.json +1 -1
  223. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.json +2 -15
  224. package/artifacts/contracts/shared/Service.sol/Service.dbg.json +1 -1
  225. package/artifacts/contracts/shared/Service.sol/Service.json +5 -112
  226. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +1 -1
  227. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +330 -11
  228. package/artifacts/contracts/shared/TokenHandlerDeployerLib.sol/TokenHandlerDeployerLib.dbg.json +4 -0
  229. package/artifacts/contracts/shared/TokenHandlerDeployerLib.sol/TokenHandlerDeployerLib.json +108 -0
  230. package/artifacts/contracts/staking/IStaking.sol/IStaking.dbg.json +1 -1
  231. package/artifacts/contracts/staking/IStaking.sol/IStaking.json +42 -21
  232. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.dbg.json +1 -1
  233. package/artifacts/contracts/staking/StakeManagerLib.sol/StakeManagerLib.dbg.json +1 -1
  234. package/artifacts/contracts/staking/StakeManagerLib.sol/StakeManagerLib.json +63 -93
  235. package/artifacts/contracts/staking/Staking.sol/Staking.dbg.json +1 -1
  236. package/artifacts/contracts/staking/Staking.sol/Staking.json +100 -256
  237. package/artifacts/contracts/staking/StakingLifecycle.sol/StakingLifecycle.dbg.json +1 -1
  238. package/artifacts/contracts/staking/StakingLifecycle.sol/StakingLifecycle.json +45 -4
  239. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.dbg.json +1 -1
  240. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.json +77 -88
  241. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.dbg.json +1 -1
  242. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.json +6 -11
  243. package/artifacts/contracts/staking/StakingService.sol/StakingService.dbg.json +1 -1
  244. package/artifacts/contracts/staking/StakingService.sol/StakingService.json +31 -138
  245. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.dbg.json +1 -1
  246. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.json +56 -76
  247. package/artifacts/contracts/staking/StakingStore.sol/StakingStore.dbg.json +1 -1
  248. package/artifacts/contracts/staking/StakingStore.sol/StakingStore.json +168 -127
  249. package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.dbg.json +1 -1
  250. package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.json +54 -23
  251. package/artifacts/contracts/type/AddressSet.sol/LibAddressSet.dbg.json +1 -1
  252. package/artifacts/contracts/type/Amount.sol/AmountLib.dbg.json +1 -1
  253. package/artifacts/contracts/type/Amount.sol/AmountLib.json +32 -8
  254. package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.dbg.json +1 -1
  255. package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.json +2 -2
  256. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.dbg.json +1 -1
  257. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.json +28 -4
  258. package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.dbg.json +1 -1
  259. package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.json +2 -2
  260. package/artifacts/contracts/type/Fee.sol/FeeLib.dbg.json +1 -1
  261. package/artifacts/contracts/type/Fee.sol/FeeLib.json +2 -2
  262. package/artifacts/contracts/type/Key32.sol/Key32Lib.dbg.json +1 -1
  263. package/artifacts/contracts/type/Key32.sol/Key32Lib.json +2 -2
  264. package/artifacts/contracts/type/NftId.sol/NftIdLib.dbg.json +1 -1
  265. package/artifacts/contracts/type/NftId.sol/NftIdLib.json +2 -2
  266. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.dbg.json +1 -1
  267. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.json +2 -2
  268. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.dbg.json +1 -1
  269. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.json +2 -2
  270. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.dbg.json +1 -1
  271. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.json +19 -19
  272. package/artifacts/contracts/type/Referral.sol/ReferralLib.dbg.json +1 -1
  273. package/artifacts/contracts/type/Referral.sol/ReferralLib.json +2 -2
  274. package/artifacts/contracts/type/RequestId.sol/RequestIdLib.dbg.json +1 -1
  275. package/artifacts/contracts/type/RequestId.sol/RequestIdLib.json +2 -2
  276. package/artifacts/contracts/type/RiskId.sol/RiskIdLib.dbg.json +1 -1
  277. package/artifacts/contracts/type/RiskId.sol/RiskIdLib.json +60 -4
  278. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.dbg.json +1 -1
  279. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.json +2 -2
  280. package/artifacts/contracts/type/Seconds.sol/SecondsLib.dbg.json +1 -1
  281. package/artifacts/contracts/type/Seconds.sol/SecondsLib.json +50 -2
  282. package/artifacts/contracts/type/Selector.sol/SelectorLib.dbg.json +1 -1
  283. package/artifacts/contracts/type/Selector.sol/SelectorSetLib.dbg.json +1 -1
  284. package/artifacts/contracts/type/StateId.sol/StateIdLib.dbg.json +1 -1
  285. package/artifacts/contracts/type/StateId.sol/StateIdLib.json +15 -2
  286. package/artifacts/contracts/type/String.sol/StrLib.dbg.json +1 -1
  287. package/artifacts/contracts/type/Timestamp.sol/TimestampLib.dbg.json +1 -1
  288. package/artifacts/contracts/type/Timestamp.sol/TimestampLib.json +23 -4
  289. package/artifacts/contracts/type/UFixed.sol/MathLib.dbg.json +1 -1
  290. package/artifacts/contracts/type/UFixed.sol/MathLib.json +2 -2
  291. package/artifacts/contracts/type/UFixed.sol/UFixedLib.dbg.json +1 -1
  292. package/artifacts/contracts/type/UFixed.sol/UFixedLib.json +15 -2
  293. package/artifacts/contracts/type/Version.sol/VersionLib.dbg.json +1 -1
  294. package/artifacts/contracts/type/Version.sol/VersionPartLib.dbg.json +1 -1
  295. package/artifacts/contracts/upgradeability/IVersionable.sol/IVersionable.dbg.json +1 -1
  296. package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.dbg.json +1 -1
  297. package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.json +39 -70
  298. package/artifacts/contracts/upgradeability/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +1 -1
  299. package/artifacts/contracts/upgradeability/Versionable.sol/Versionable.dbg.json +1 -1
  300. package/contracts/authorization/AccessAdmin.sol +31 -24
  301. package/contracts/authorization/Authorization.sol +5 -2
  302. package/contracts/authorization/IAccessAdmin.sol +3 -2
  303. package/contracts/authorization/IServiceAuthorization.sol +4 -2
  304. package/contracts/authorization/ServiceAuthorization.sol +27 -11
  305. package/contracts/distribution/Distribution.sol +1 -1
  306. package/contracts/distribution/DistributionService.sol +32 -33
  307. package/contracts/distribution/DistributionServiceManager.sol +6 -6
  308. package/contracts/distribution/IDistributionService.sol +9 -5
  309. package/contracts/examples/fire/DamageLevel.sol +59 -0
  310. package/contracts/examples/fire/FirePool.sol +75 -0
  311. package/contracts/examples/fire/FirePoolAuthorization.sol +34 -0
  312. package/contracts/examples/fire/FireProduct.sol +411 -0
  313. package/contracts/examples/fire/FireProductAuthorization.sol +45 -0
  314. package/contracts/examples/fire/FireUSD.sol +26 -0
  315. package/contracts/examples/unpermissioned/SimpleDistribution.sol +50 -0
  316. package/contracts/examples/unpermissioned/SimpleOracle.sol +137 -0
  317. package/contracts/examples/unpermissioned/SimplePool.sol +76 -0
  318. package/contracts/examples/unpermissioned/SimpleProduct.sol +351 -0
  319. package/contracts/instance/IInstance.sol +7 -30
  320. package/contracts/instance/Instance.sol +10 -35
  321. package/contracts/instance/InstanceAdmin.sol +29 -7
  322. package/contracts/instance/InstanceAuthorizationV3.sol +3 -3
  323. package/contracts/instance/InstanceReader.sol +115 -25
  324. package/contracts/instance/InstanceService.sol +63 -41
  325. package/contracts/instance/InstanceServiceManager.sol +6 -7
  326. package/contracts/instance/InstanceStore.sol +11 -1
  327. package/contracts/instance/base/ObjectLifecycle.sol +9 -4
  328. package/contracts/instance/module/IBundle.sol +1 -1
  329. package/contracts/instance/module/IComponents.sol +4 -7
  330. package/contracts/instance/module/IPolicy.sol +24 -24
  331. package/contracts/mock/Dip.sol +1 -1
  332. package/contracts/oracle/Oracle.sol +2 -1
  333. package/contracts/oracle/OracleService.sol +11 -8
  334. package/contracts/oracle/OracleServiceManager.sol +6 -6
  335. package/contracts/pool/BasicPool.sol +7 -5
  336. package/contracts/pool/BasicPoolAuthorization.sol +5 -2
  337. package/contracts/pool/BundleService.sol +166 -46
  338. package/contracts/pool/BundleServiceManager.sol +6 -6
  339. package/contracts/pool/IBundleService.sol +31 -8
  340. package/contracts/pool/IPoolComponent.sol +18 -8
  341. package/contracts/pool/IPoolService.sol +57 -36
  342. package/contracts/pool/Pool.sol +59 -34
  343. package/contracts/pool/PoolService.sol +231 -102
  344. package/contracts/pool/PoolServiceManager.sol +4 -4
  345. package/contracts/product/ApplicationService.sol +50 -29
  346. package/contracts/product/ApplicationServiceManager.sol +4 -4
  347. package/contracts/product/BasicProduct.sol +1 -0
  348. package/contracts/product/ClaimService.sol +251 -87
  349. package/contracts/product/ClaimServiceManager.sol +4 -4
  350. package/contracts/product/IApplicationService.sol +1 -0
  351. package/contracts/product/IClaimService.sol +31 -7
  352. package/contracts/product/IPolicyService.sol +34 -34
  353. package/contracts/product/IPricingService.sol +7 -7
  354. package/contracts/product/IProductComponent.sol +17 -4
  355. package/contracts/product/{IProductService.sol → IRiskService.sol} +1 -1
  356. package/contracts/product/PolicyService.sol +379 -192
  357. package/contracts/product/PolicyServiceManager.sol +4 -4
  358. package/contracts/product/PricingService.sol +46 -46
  359. package/contracts/product/PricingServiceManager.sol +3 -3
  360. package/contracts/product/Product.sol +81 -50
  361. package/contracts/product/{ProductService.sol → RiskService.sol} +7 -10
  362. package/contracts/product/RiskServiceManager.sol +39 -0
  363. package/contracts/registry/ChainNft.sol +65 -32
  364. package/contracts/registry/IRegistry.sol +51 -18
  365. package/contracts/registry/IRegistryService.sol +0 -9
  366. package/contracts/registry/Registry.sol +328 -197
  367. package/contracts/registry/RegistryAdmin.sol +134 -51
  368. package/contracts/registry/RegistryService.sol +55 -48
  369. package/contracts/registry/RegistryServiceManager.sol +2 -2
  370. package/contracts/registry/ReleaseLifecycle.sol +6 -3
  371. package/contracts/registry/ReleaseRegistry.sol +194 -183
  372. package/contracts/registry/ServiceAuthorizationV3.sol +8 -10
  373. package/contracts/shared/Component.sol +25 -29
  374. package/contracts/shared/ComponentService.sol +20 -30
  375. package/contracts/shared/ComponentServiceManager.sol +8 -5
  376. package/contracts/shared/ComponentVerifyingService.sol +2 -3
  377. package/contracts/shared/ContractLib.sol +38 -0
  378. package/contracts/shared/IComponent.sol +7 -4
  379. package/contracts/shared/IInstanceLinkedComponent.sol +8 -15
  380. package/contracts/shared/ILifecycle.sol +3 -1
  381. package/contracts/shared/IPolicyHolder.sol +12 -22
  382. package/contracts/shared/InitializableERC165.sol +2 -2
  383. package/contracts/shared/InstanceLinkedComponent.sol +5 -6
  384. package/contracts/shared/KeyValueStore.sol +1 -1
  385. package/contracts/shared/Lifecycle.sol +13 -2
  386. package/contracts/shared/NftOwnable.sol +5 -5
  387. package/contracts/shared/PolicyHolder.sol +15 -52
  388. package/contracts/shared/Registerable.sol +4 -4
  389. package/contracts/shared/RegistryLinked.sol +3 -2
  390. package/contracts/shared/Service.sol +16 -11
  391. package/contracts/shared/TokenHandler.sol +100 -19
  392. package/contracts/shared/TokenHandlerDeployerLib.sol +12 -0
  393. package/contracts/staking/IStaking.sol +2 -1
  394. package/contracts/staking/StakeManagerLib.sol +18 -25
  395. package/contracts/staking/Staking.sol +11 -29
  396. package/contracts/staking/StakingManager.sol +8 -6
  397. package/contracts/staking/StakingReader.sol +12 -5
  398. package/contracts/staking/StakingService.sol +10 -14
  399. package/contracts/staking/StakingServiceManager.sol +2 -2
  400. package/contracts/staking/TargetManagerLib.sol +7 -3
  401. package/contracts/type/Amount.sol +15 -0
  402. package/contracts/type/Blocknumber.sol +7 -1
  403. package/contracts/type/ClaimId.sol +6 -1
  404. package/contracts/type/NftId.sol +1 -0
  405. package/contracts/type/ObjectType.sol +16 -11
  406. package/contracts/type/PayoutId.sol +10 -10
  407. package/contracts/type/RiskId.sol +15 -1
  408. package/contracts/type/Seconds.sol +21 -1
  409. package/contracts/type/StateId.sol +15 -1
  410. package/contracts/type/Timestamp.sol +11 -1
  411. package/contracts/type/UFixed.sol +4 -0
  412. package/contracts/upgradeability/ProxyManager.sol +67 -34
  413. package/contracts/upgradeability/Versionable.sol +2 -2
  414. package/package.json +2 -1
  415. package/artifacts/contracts/product/IProductService.sol/IProductService.dbg.json +0 -4
  416. package/artifacts/contracts/product/ProductService.sol/ProductService.dbg.json +0 -4
  417. package/artifacts/contracts/product/ProductService.sol/ProductService.json +0 -708
  418. package/artifacts/contracts/product/ProductServiceManager.sol/ProductServiceManager.dbg.json +0 -4
  419. package/artifacts/contracts/product/ProductServiceManager.sol/ProductServiceManager.json +0 -702
  420. package/artifacts/contracts/shared/InitializableCustom.sol/InitializableCustom.dbg.json +0 -4
  421. package/artifacts/contracts/shared/InitializableCustom.sol/InitializableCustom.json +0 -39
  422. package/contracts/product/ProductServiceManager.sol +0 -39
  423. package/contracts/shared/InitializableCustom.sol +0 -177
@@ -0,0 +1,588 @@
1
+ {
2
+ "_format": "hh-sol-artifact-1",
3
+ "contractName": "RiskService",
4
+ "sourceName": "contracts/product/RiskService.sol",
5
+ "abi": [
6
+ {
7
+ "inputs": [
8
+ {
9
+ "internalType": "address",
10
+ "name": "authority",
11
+ "type": "address"
12
+ }
13
+ ],
14
+ "name": "AccessManagedInvalidAuthority",
15
+ "type": "error"
16
+ },
17
+ {
18
+ "inputs": [
19
+ {
20
+ "internalType": "address",
21
+ "name": "caller",
22
+ "type": "address"
23
+ },
24
+ {
25
+ "internalType": "uint32",
26
+ "name": "delay",
27
+ "type": "uint32"
28
+ }
29
+ ],
30
+ "name": "AccessManagedRequiredDelay",
31
+ "type": "error"
32
+ },
33
+ {
34
+ "inputs": [
35
+ {
36
+ "internalType": "address",
37
+ "name": "caller",
38
+ "type": "address"
39
+ }
40
+ ],
41
+ "name": "AccessManagedUnauthorized",
42
+ "type": "error"
43
+ },
44
+ {
45
+ "inputs": [
46
+ {
47
+ "internalType": "NftId",
48
+ "name": "componentNftId",
49
+ "type": "uint96"
50
+ }
51
+ ],
52
+ "name": "ErrorComponentVerifyingServiceComponentIsLocked",
53
+ "type": "error"
54
+ },
55
+ {
56
+ "inputs": [
57
+ {
58
+ "internalType": "NftId",
59
+ "name": "componentNftId",
60
+ "type": "uint96"
61
+ },
62
+ {
63
+ "internalType": "ObjectType",
64
+ "name": "expectedType",
65
+ "type": "uint8"
66
+ },
67
+ {
68
+ "internalType": "ObjectType",
69
+ "name": "actualType",
70
+ "type": "uint8"
71
+ }
72
+ ],
73
+ "name": "ErrorComponentVerifyingServiceComponentTypeInvalid",
74
+ "type": "error"
75
+ },
76
+ {
77
+ "inputs": [
78
+ {
79
+ "internalType": "NftId",
80
+ "name": "nftId",
81
+ "type": "uint96"
82
+ }
83
+ ],
84
+ "name": "ErrorNftOwnableAlreadyLinked",
85
+ "type": "error"
86
+ },
87
+ {
88
+ "inputs": [
89
+ {
90
+ "internalType": "address",
91
+ "name": "contractAddress",
92
+ "type": "address"
93
+ }
94
+ ],
95
+ "name": "ErrorNftOwnableContractNotRegistered",
96
+ "type": "error"
97
+ },
98
+ {
99
+ "inputs": [],
100
+ "name": "ErrorNftOwnableInitialOwnerZero",
101
+ "type": "error"
102
+ },
103
+ {
104
+ "inputs": [
105
+ {
106
+ "internalType": "address",
107
+ "name": "account",
108
+ "type": "address"
109
+ }
110
+ ],
111
+ "name": "ErrorNftOwnableNotOwner",
112
+ "type": "error"
113
+ },
114
+ {
115
+ "inputs": [
116
+ {
117
+ "internalType": "address",
118
+ "name": "registryAddress",
119
+ "type": "address"
120
+ }
121
+ ],
122
+ "name": "ErrorNotRegistry",
123
+ "type": "error"
124
+ },
125
+ {
126
+ "inputs": [],
127
+ "name": "ErrorServiceNotImplemented",
128
+ "type": "error"
129
+ },
130
+ {
131
+ "inputs": [],
132
+ "name": "InvalidInitialization",
133
+ "type": "error"
134
+ },
135
+ {
136
+ "inputs": [],
137
+ "name": "NotInitializing",
138
+ "type": "error"
139
+ },
140
+ {
141
+ "inputs": [],
142
+ "name": "ReentrancyGuardReentrantCall",
143
+ "type": "error"
144
+ },
145
+ {
146
+ "anonymous": false,
147
+ "inputs": [
148
+ {
149
+ "indexed": false,
150
+ "internalType": "address",
151
+ "name": "authority",
152
+ "type": "address"
153
+ }
154
+ ],
155
+ "name": "AuthorityUpdated",
156
+ "type": "event"
157
+ },
158
+ {
159
+ "anonymous": false,
160
+ "inputs": [
161
+ {
162
+ "indexed": false,
163
+ "internalType": "uint64",
164
+ "name": "version",
165
+ "type": "uint64"
166
+ }
167
+ ],
168
+ "name": "Initialized",
169
+ "type": "event"
170
+ },
171
+ {
172
+ "inputs": [],
173
+ "name": "NFT_OWNABLE_STORAGE_LOCATION_V1",
174
+ "outputs": [
175
+ {
176
+ "internalType": "bytes32",
177
+ "name": "",
178
+ "type": "bytes32"
179
+ }
180
+ ],
181
+ "stateMutability": "view",
182
+ "type": "function"
183
+ },
184
+ {
185
+ "inputs": [],
186
+ "name": "REGISTERABLE_LOCATION_V1",
187
+ "outputs": [
188
+ {
189
+ "internalType": "bytes32",
190
+ "name": "",
191
+ "type": "bytes32"
192
+ }
193
+ ],
194
+ "stateMutability": "view",
195
+ "type": "function"
196
+ },
197
+ {
198
+ "inputs": [],
199
+ "name": "authority",
200
+ "outputs": [
201
+ {
202
+ "internalType": "address",
203
+ "name": "",
204
+ "type": "address"
205
+ }
206
+ ],
207
+ "stateMutability": "view",
208
+ "type": "function"
209
+ },
210
+ {
211
+ "inputs": [
212
+ {
213
+ "internalType": "RiskId",
214
+ "name": "riskId",
215
+ "type": "bytes8"
216
+ },
217
+ {
218
+ "internalType": "bytes",
219
+ "name": "data",
220
+ "type": "bytes"
221
+ }
222
+ ],
223
+ "name": "createRisk",
224
+ "outputs": [],
225
+ "stateMutability": "nonpayable",
226
+ "type": "function"
227
+ },
228
+ {
229
+ "inputs": [],
230
+ "name": "getDomain",
231
+ "outputs": [
232
+ {
233
+ "internalType": "ObjectType",
234
+ "name": "serviceDomain",
235
+ "type": "uint8"
236
+ }
237
+ ],
238
+ "stateMutability": "pure",
239
+ "type": "function"
240
+ },
241
+ {
242
+ "inputs": [],
243
+ "name": "getInitialInfo",
244
+ "outputs": [
245
+ {
246
+ "components": [
247
+ {
248
+ "internalType": "NftId",
249
+ "name": "nftId",
250
+ "type": "uint96"
251
+ },
252
+ {
253
+ "internalType": "NftId",
254
+ "name": "parentNftId",
255
+ "type": "uint96"
256
+ },
257
+ {
258
+ "internalType": "ObjectType",
259
+ "name": "objectType",
260
+ "type": "uint8"
261
+ },
262
+ {
263
+ "internalType": "bool",
264
+ "name": "isInterceptor",
265
+ "type": "bool"
266
+ },
267
+ {
268
+ "internalType": "address",
269
+ "name": "objectAddress",
270
+ "type": "address"
271
+ },
272
+ {
273
+ "internalType": "address",
274
+ "name": "initialOwner",
275
+ "type": "address"
276
+ },
277
+ {
278
+ "internalType": "bytes",
279
+ "name": "data",
280
+ "type": "bytes"
281
+ }
282
+ ],
283
+ "internalType": "struct IRegistry.ObjectInfo",
284
+ "name": "info",
285
+ "type": "tuple"
286
+ }
287
+ ],
288
+ "stateMutability": "view",
289
+ "type": "function"
290
+ },
291
+ {
292
+ "inputs": [],
293
+ "name": "getNftId",
294
+ "outputs": [
295
+ {
296
+ "internalType": "NftId",
297
+ "name": "",
298
+ "type": "uint96"
299
+ }
300
+ ],
301
+ "stateMutability": "view",
302
+ "type": "function"
303
+ },
304
+ {
305
+ "inputs": [],
306
+ "name": "getOwner",
307
+ "outputs": [
308
+ {
309
+ "internalType": "address",
310
+ "name": "",
311
+ "type": "address"
312
+ }
313
+ ],
314
+ "stateMutability": "view",
315
+ "type": "function"
316
+ },
317
+ {
318
+ "inputs": [],
319
+ "name": "getRegistry",
320
+ "outputs": [
321
+ {
322
+ "internalType": "contract IRegistry",
323
+ "name": "",
324
+ "type": "address"
325
+ }
326
+ ],
327
+ "stateMutability": "view",
328
+ "type": "function"
329
+ },
330
+ {
331
+ "inputs": [],
332
+ "name": "getRoleId",
333
+ "outputs": [
334
+ {
335
+ "internalType": "RoleId",
336
+ "name": "serviceRoleId",
337
+ "type": "uint64"
338
+ }
339
+ ],
340
+ "stateMutability": "pure",
341
+ "type": "function"
342
+ },
343
+ {
344
+ "inputs": [],
345
+ "name": "getVersion",
346
+ "outputs": [
347
+ {
348
+ "internalType": "Version",
349
+ "name": "",
350
+ "type": "uint24"
351
+ }
352
+ ],
353
+ "stateMutability": "pure",
354
+ "type": "function"
355
+ },
356
+ {
357
+ "inputs": [
358
+ {
359
+ "internalType": "address",
360
+ "name": "activatedBy",
361
+ "type": "address"
362
+ },
363
+ {
364
+ "internalType": "bytes",
365
+ "name": "data",
366
+ "type": "bytes"
367
+ }
368
+ ],
369
+ "name": "initializeVersionable",
370
+ "outputs": [],
371
+ "stateMutability": "nonpayable",
372
+ "type": "function"
373
+ },
374
+ {
375
+ "inputs": [],
376
+ "name": "isConsumingScheduledOp",
377
+ "outputs": [
378
+ {
379
+ "internalType": "bytes4",
380
+ "name": "",
381
+ "type": "bytes4"
382
+ }
383
+ ],
384
+ "stateMutability": "view",
385
+ "type": "function"
386
+ },
387
+ {
388
+ "inputs": [],
389
+ "name": "linkToRegisteredNftId",
390
+ "outputs": [
391
+ {
392
+ "internalType": "NftId",
393
+ "name": "nftId",
394
+ "type": "uint96"
395
+ }
396
+ ],
397
+ "stateMutability": "nonpayable",
398
+ "type": "function"
399
+ },
400
+ {
401
+ "inputs": [
402
+ {
403
+ "internalType": "address",
404
+ "name": "newAuthority",
405
+ "type": "address"
406
+ }
407
+ ],
408
+ "name": "setAuthority",
409
+ "outputs": [],
410
+ "stateMutability": "nonpayable",
411
+ "type": "function"
412
+ },
413
+ {
414
+ "inputs": [
415
+ {
416
+ "internalType": "bytes4",
417
+ "name": "interfaceId",
418
+ "type": "bytes4"
419
+ }
420
+ ],
421
+ "name": "supportsInterface",
422
+ "outputs": [
423
+ {
424
+ "internalType": "bool",
425
+ "name": "",
426
+ "type": "bool"
427
+ }
428
+ ],
429
+ "stateMutability": "view",
430
+ "type": "function"
431
+ },
432
+ {
433
+ "inputs": [
434
+ {
435
+ "internalType": "RiskId",
436
+ "name": "riskId",
437
+ "type": "bytes8"
438
+ },
439
+ {
440
+ "internalType": "bytes",
441
+ "name": "data",
442
+ "type": "bytes"
443
+ }
444
+ ],
445
+ "name": "updateRisk",
446
+ "outputs": [],
447
+ "stateMutability": "nonpayable",
448
+ "type": "function"
449
+ },
450
+ {
451
+ "inputs": [
452
+ {
453
+ "internalType": "RiskId",
454
+ "name": "riskId",
455
+ "type": "bytes8"
456
+ },
457
+ {
458
+ "internalType": "StateId",
459
+ "name": "state",
460
+ "type": "uint8"
461
+ }
462
+ ],
463
+ "name": "updateRiskState",
464
+ "outputs": [],
465
+ "stateMutability": "nonpayable",
466
+ "type": "function"
467
+ },
468
+ {
469
+ "inputs": [
470
+ {
471
+ "internalType": "bytes",
472
+ "name": "data",
473
+ "type": "bytes"
474
+ }
475
+ ],
476
+ "name": "upgradeVersionable",
477
+ "outputs": [],
478
+ "stateMutability": "nonpayable",
479
+ "type": "function"
480
+ }
481
+ ],
482
+ "bytecode": "0x6080604052348015600e575f80fd5b5060156019565b60c9565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00805468010000000000000000900460ff161560685760405163f92ee8a960e01b815260040160405180910390fd5b80546001600160401b039081161460c65780546001600160401b0319166001600160401b0390811782556040519081527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50565b612415806100d65f395ff3fe608060405234801561000f575f80fd5b506004361061011c575f3560e01c8063644c45e0116100a95780638f997f6d1161006e5780638f997f6d146102b25780638fb36037146102c5578063ada9652e146102e6578063b68d1809146102fa578063bf7e214f14610309575f80fd5b8063644c45e0146102475780636c741e78146102645780637a9e5e4b146102845780637cef484214610297578063893d20e8146102aa575f80fd5b8063138461e0116100ef578063138461e0146101a75780631eff4b22146101c7578063329d6e74146101fc57806349bb9e4b1461020f5780635ab1bd5314610222575f80fd5b806301ffc9a714610120578063095e2b72146101615780630d8e6e2c146101765780630fec111c14610192575b5f80fd5b61014c61012e366004611bf1565b6001600160e01b0319165f9081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b61017461016f366004611d1f565b610326565b005b61017e610419565b60405162ffffff9091168152602001610158565b61019a6104a0565b6040516101589190611d97565b6101af61062c565b6040516001600160601b039091168152602001610158565b6101ee7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b604051908152602001610158565b61017461020a366004611e2b565b610636565b61017461021d366004611e70565b610780565b6001546001600160a01b03165b6040516001600160a01b039091168152602001610158565b5f80516020612380833981519152546001600160601b03166101af565b61026c61087c565b6040516001600160401b039091168152602001610158565b610174610292366004611e8c565b610972565b6101746102a5366004611eb5565b610a13565b61022f610ae7565b6101746102c0366004611d1f565b610c18565b6102cd610d9a565b6040516001600160e01b03199091168152602001610158565b6101ee5f8051602061238083398151915281565b604051600c8152602001610158565b5f805160206123a0833981519152546001600160a01b031661022f565b5f80610332600c610dcf565b92505091505f6040518060400160405280846001600160601b03168152602001858152509050816001600160a01b031663d4cda0d86040518163ffffffff1660e01b8152600401602060405180830381865afa158015610394573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906103b89190611eea565b6001600160a01b0316632f61088a86836040518363ffffffff1660e01b81526004016103e5929190611f2c565b5f604051808303815f87803b1580156103fc575f80fd5b505af115801561040e573d5f803e3d5ffd5b505050505050505050565b604051632efe011360e01b8152600360048201525f60248201819052604482018190529073__$8eede297b65ed5a56eb3f84d8232ae93f5$__90632efe011390606401602060405180830381865af4158015610477573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061049b9190611f50565b905090565b6104a8611bb4565b5f7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e0016040528073__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af415801561051e573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906105429190611f88565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a00161058a610ae7565b6001600160a01b031681526020018260010180546105a790611fa1565b80601f01602080910402602001604051908101604052809291908181526020018280546105d390611fa1565b801561061e5780601f106105f55761010080835404028352916020019161061e565b820191905f5260205f20905b81548152906001019060200180831161060157829003601f168201915b505050505081525091505090565b5f61049b30610e6b565b73__$8eede297b65ed5a56eb3f84d8232ae93f5$__63a123b37c610658610419565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af4158015610696573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906106ba9190611fed565b5f805160206123c08339815191528054600160401b900460ff16806106ec575080546001600160401b03808416911610155b1561070a5760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b17815561073483611064565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a1505050565b5f805160206123c08339815191528054600160401b810460ff1615906001600160401b03165f811580156107b15750825b90505f826001600160401b031660011480156107cc5750303b155b9050811580156107da575080155b156107f85760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561082257845460ff60401b1916600160401b1785555b61082c878761106c565b831561087357845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a15b50505050505050565b5f73__$1d92393fa9ccd763988368ce8a1cb90d26$__63dda777d3600c604051632392b61b60e21b81526003600482015273__$b659da7d8a6d2d32aa6c1e17da23dc2174$__90638e4ad86c90602401602060405180830381865af41580156108e7573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061090b9190612013565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865af415801561094e573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061049b9190611fed565b336109915f805160206123a0833981519152546001600160a01b031690565b6001600160a01b0316816001600160a01b0316146109d15760405162d1953b60e31b81526001600160a01b03821660048201526024015b60405180910390fd5b816001600160a01b03163b5f03610a06576040516361798f2f60e11b81526001600160a01b03831660048201526024016109c8565b610a0f826112f1565b5050565b5f610a1e600c610dcf565b92505050806001600160a01b031663d4cda0d86040518163ffffffff1660e01b8152600401602060405180830381865afa158015610a5e573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610a829190611eea565b604051633e77a42160e11b81526001600160c01b03198516600482015260ff841660248201526001600160a01b039190911690637cef4842906044015f604051808303815f87803b158015610ad5575f80fd5b505af1158015610873573d5f803e3d5ffd5b5f805f8051602061238083398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015610b53573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b77919061203d565b15610c02576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015610bd8573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610bfc9190611eea565b91505090565b54600160601b90046001600160a01b0316919050565b5f610c23600c610dcf565b925050505f816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015610c64573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610c889190611eea565b60405163887b1fa960e01b81526001600160c01b0319861660048201529091505f906001600160a01b0383169063887b1fa9906024015f60405180830381865afa158015610cd8573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052610cff91908101906120ae565b9050838160200181905250826001600160a01b031663d4cda0d86040518163ffffffff1660e01b8152600401602060405180830381865afa158015610d46573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610d6a9190611eea565b6001600160a01b031663a76ee018868360ff6040518463ffffffff1660e01b81526004016103e593929190612146565b5f805160206123a083398151915280545f9190600160a01b900460ff16610dc1575f610bfc565b638fb3603760e01b91505090565b5f610dd8611bb4565b5f610deb6001546001600160a01b031690565b604051632f2a35f760e11b81523360048201526001600160a01b039190911690635e546bee90602401602060405180830381865afa158015610e2f573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610e539190611f88565b9250610e6183856001611351565b9395909450915050565b5f805f8051602061238083398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015610ed7573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610efb919061203d565b15610f275780546040516301ab8b6760e21b81526001600160601b0390911660048201526024016109c8565b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038581166004830152919091169063c3c5a54790602401602060405180830381865afa158015610f79573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610f9d919061203d565b610fc55760405163b9304b0d60e01b81526001600160a01b03841660048201526024016109c8565b6001546001600160a01b0316604051632f2a35f760e11b81526001600160a01b0385811660048301529190911690635e546bee90602401602060405180830381865afa158015611017573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061103b9190611f88565b81546bffffffffffffffffffffffff19166001600160601b039190911690811790915592915050565b61011c6115ee565b5f805160206123c08339815191528054600160401b810460ff1615906001600160401b03165f8115801561109d5750825b90505f826001600160401b031660011480156110b85750303b155b9050811580156110c6575080155b156110e45760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561110e57845460ff60401b1916600160401b1785555b5f8087806020019051810190611124919061217d565b9150915061113382828b611626565b61113d600a61176b565b600280546001600160a01b0319166001600160a01b03928316179055600154166001600160a01b031663d39e6043600f611175610419565b60405163c9e66e2960e01b815262ffffff909116600482015273__$8eede297b65ed5a56eb3f84d8232ae93f5$__9063c9e66e2990602401602060405180830381865af41580156111c8573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906111ec9190612013565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa15801561122f573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906112539190611eea565b600380546001600160a01b0319166001600160a01b039290921691909117905561127d600261176b565b600480546001600160a01b0319166001600160a01b03929092169190911790556112ad63fa281c5d60e01b611873565b5050831561087357845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200161086a565b5f805160206123a083398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b611359611bb4565b5f8061136d6001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03881660048201529091506001600160a01b0382169063a48f42e0906024015f60405180830381865afa1580156113ba573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526113e191908101906121aa565b925060ff8516600b1461143f57604083015160ff86811691161461143a57604080840151905163b83d92cb60e01b81526001600160601b038816600482015260ff808816602483015290911660448201526064016109c8565b6114db565b61145a836040015161144f600c90565b60ff90811691161490565b806114705750611470836040015161144f600f90565b806114865750611486836040015161144f600e90565b8061149c575061149c836040015161144f600d90565b6114db57604080840151905163b83d92cb60e01b81526001600160601b038816600482015260ff808816602483015290911660448201526064016109c8565b6114e8836020015161189f565b915083156115e557816001600160a01b031663311adb686040518163ffffffff1660e01b8152600401602060405180830381865afa15801561152c573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906115509190611eea565b6080840151604051629b7b3560e61b81526001600160a01b0391821660048201529116906326decd4090602401602060405180830381865afa158015611598573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906115bc919061203d565b156115e557604051637d71120960e11b81526001600160601b03871660048201526024016109c8565b50935093915050565b5f805160206123c083398151915254600160401b900460ff1661162457604051631afcd79f60e31b815260040160405180910390fd5b565b61162e6115ee565b6116366118e9565b6001600160a01b038216156116535761164e826118f9565b6116ca565b5f61165e600261176b565b90506116c8816001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561169f573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906116c39190611eea565b6118f9565b505b61174683846001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa15801561170a573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061172e9190611f88565b60085f8560405180602001604052805f81525061190d565b611756634a531f3360e01b611873565b61176663daf9067160e01b611873565b505050565b5f61177e6001546001600160a01b031690565b604051632392b61b60e21b8152600360048201526001600160a01b03919091169063d39e604390849073__$b659da7d8a6d2d32aa6c1e17da23dc2174$__90638e4ad86c90602401602060405180830381865af41580156117e1573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906118059190612013565b6040516001600160e01b031960e085901b16815260ff9283166004820152911660248201526044015b602060405180830381865afa158015611849573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061186d9190611eea565b92915050565b61187b6115ee565b6001600160e01b0319165f908152602081905260409020805460ff19166001179055565b5f6118b26001546001600160a01b031690565b60405163bf8e179760e01b81526001600160601b03841660048201526001600160a01b03919091169063bf8e17979060240161182e565b6118f16115ee565b6116246119b2565b6119016115ee565b61190a816119e0565b50565b6119156115ee565b61191f82876119f1565b7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0387166cffffffffffffffffffffffffff1990911617600160601b60ff8716021760ff60681b1916600160681b851515021781557f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa3016119a883826122c5565b5050505050505050565b6119ba6115ee565b60017f9b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f0055565b6119e86115ee565b61190a816112f1565b6119f96115ee565b611a0281611a67565b611a0a611b6f565b6001600160a01b038216611a315760405163f17ef42d60e01b815260040160405180910390fd5b505f8051602061238083398151915280546001600160601b0316600160601b6001600160a01b0390931692909202919091179055565b611a6f6115ee565b806001600160a01b03163b5f03611aa45760405163fdeac91f60e01b81526001600160a01b03821660048201526024016109c8565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b8152634871d8b760e11b60048201526301ffc9a790602401602060405180830381865afa925050508015611b1e575060408051601f3d908101601f19168201909252611b1b9181019061203d565b60015b611b465760405163fdeac91f60e01b81526001600160a01b03821660048201526024016109c8565b80610a0f5760405163fdeac91f60e01b81526001600160a01b03831660048201526024016109c8565b611b776115ee565b6301ffc9a760e01b5f9081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b6040805160e0810182525f8082526020820181905291810182905260608082018390526080820183905260a082019290925260c081019190915290565b5f60208284031215611c01575f80fd5b81356001600160e01b031981168114611c18575f80fd5b9392505050565b80356001600160c01b031981168114611c36575f80fd5b919050565b634e487b7160e01b5f52604160045260245ffd5b60405160e081016001600160401b0381118282101715611c7157611c71611c3b565b60405290565b604051601f8201601f191681016001600160401b0381118282101715611c9f57611c9f611c3b565b604052919050565b5f6001600160401b03821115611cbf57611cbf611c3b565b50601f01601f191660200190565b5f82601f830112611cdc575f80fd5b8135611cef611cea82611ca7565b611c77565b818152846020838601011115611d03575f80fd5b816020850160208301375f918101602001919091529392505050565b5f8060408385031215611d30575f80fd5b611d3983611c1f565b915060208301356001600160401b03811115611d53575f80fd5b611d5f85828601611ccd565b9150509250929050565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081526001600160601b0382511660208201526001600160601b03602083015116604082015260ff60408301511660608201525f6060830151611ddf608084018215159052565b5060808301516001600160a01b03811660a08401525060a08301516001600160a01b03811660c08401525060c083015160e080840152611e23610100840182611d69565b949350505050565b5f60208284031215611e3b575f80fd5b81356001600160401b03811115611e50575f80fd5b611e2384828501611ccd565b6001600160a01b038116811461190a575f80fd5b5f8060408385031215611e81575f80fd5b8235611d3981611e5c565b5f60208284031215611e9c575f80fd5b8135611c1881611e5c565b60ff8116811461190a575f80fd5b5f8060408385031215611ec6575f80fd5b611ecf83611c1f565b91506020830135611edf81611ea7565b809150509250929050565b5f60208284031215611efa575f80fd5b8151611c1881611e5c565b6001600160601b0381511682525f602082015160406020850152611e236040850182611d69565b6001600160401b0360c01b83168152604060208201525f611e236040830184611f05565b5f60208284031215611f60575f80fd5b815162ffffff81168114611c18575f80fd5b80516001600160601b0381168114611c36575f80fd5b5f60208284031215611f98575f80fd5b611c1882611f72565b600181811c90821680611fb557607f821691505b602082108103611fd357634e487b7160e01b5f52602260045260245ffd5b50919050565b6001600160401b038116811461190a575f80fd5b5f60208284031215611ffd575f80fd5b8151611c1881611fd9565b8051611c3681611ea7565b5f60208284031215612023575f80fd5b8151611c1881611ea7565b80518015158114611c36575f80fd5b5f6020828403121561204d575f80fd5b611c188261202e565b8051611c3681611e5c565b5f82601f830112612070575f80fd5b815161207e611cea82611ca7565b818152846020838601011115612092575f80fd5b8160208501602083015e5f918101602001919091529392505050565b5f602082840312156120be575f80fd5b81516001600160401b038111156120d3575f80fd5b8201604081850312156120e4575f80fd5b604080519081016001600160401b038111828210171561210657612106611c3b565b60405261211282611f72565b815260208201516001600160401b0381111561212c575f80fd5b61213886828501612061565b602083015250949350505050565b6001600160401b0360c01b84168152606060208201525f61216a6060830185611f05565b905060ff83166040830152949350505050565b5f806040838503121561218e575f80fd5b825161219981611e5c565b6020840151909250611edf81611e5c565b5f602082840312156121ba575f80fd5b81516001600160401b038111156121cf575f80fd5b820160e081850312156121e0575f80fd5b6121e8611c4f565b6121f182611f72565b81526121ff60208301611f72565b602082015261221060408301612008565b60408201526122216060830161202e565b606082015261223260808301612056565b608082015261224360a08301612056565b60a082015260c08201516001600160401b03811115612260575f80fd5b61226c86828501612061565b60c083015250949350505050565b601f82111561176657805f5260205f20601f840160051c8101602085101561229f5750805b601f840160051c820191505b818110156122be575f81556001016122ab565b5050505050565b81516001600160401b038111156122de576122de611c3b565b6122f2816122ec8454611fa1565b8461227a565b6020601f821160018114612324575f831561230d5750848201515b5f19600385901b1c1916600184901b1784556122be565b5f84815260208120601f198516915b828110156123535787850151825560209485019460019092019101612333565b508482101561237057868401515f19600387901b60f8161c191681555b50505050600190811b0190555056fe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00f0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00a264697066735822122096768dbdc8ab9a489f0cf19eb712ce4eba658f0f4d5cd2d949fa032d153b36f464736f6c634300081a0033",
483
+ "deployedBytecode": "0x608060405234801561000f575f80fd5b506004361061011c575f3560e01c8063644c45e0116100a95780638f997f6d1161006e5780638f997f6d146102b25780638fb36037146102c5578063ada9652e146102e6578063b68d1809146102fa578063bf7e214f14610309575f80fd5b8063644c45e0146102475780636c741e78146102645780637a9e5e4b146102845780637cef484214610297578063893d20e8146102aa575f80fd5b8063138461e0116100ef578063138461e0146101a75780631eff4b22146101c7578063329d6e74146101fc57806349bb9e4b1461020f5780635ab1bd5314610222575f80fd5b806301ffc9a714610120578063095e2b72146101615780630d8e6e2c146101765780630fec111c14610192575b5f80fd5b61014c61012e366004611bf1565b6001600160e01b0319165f9081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b61017461016f366004611d1f565b610326565b005b61017e610419565b60405162ffffff9091168152602001610158565b61019a6104a0565b6040516101589190611d97565b6101af61062c565b6040516001600160601b039091168152602001610158565b6101ee7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b604051908152602001610158565b61017461020a366004611e2b565b610636565b61017461021d366004611e70565b610780565b6001546001600160a01b03165b6040516001600160a01b039091168152602001610158565b5f80516020612380833981519152546001600160601b03166101af565b61026c61087c565b6040516001600160401b039091168152602001610158565b610174610292366004611e8c565b610972565b6101746102a5366004611eb5565b610a13565b61022f610ae7565b6101746102c0366004611d1f565b610c18565b6102cd610d9a565b6040516001600160e01b03199091168152602001610158565b6101ee5f8051602061238083398151915281565b604051600c8152602001610158565b5f805160206123a0833981519152546001600160a01b031661022f565b5f80610332600c610dcf565b92505091505f6040518060400160405280846001600160601b03168152602001858152509050816001600160a01b031663d4cda0d86040518163ffffffff1660e01b8152600401602060405180830381865afa158015610394573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906103b89190611eea565b6001600160a01b0316632f61088a86836040518363ffffffff1660e01b81526004016103e5929190611f2c565b5f604051808303815f87803b1580156103fc575f80fd5b505af115801561040e573d5f803e3d5ffd5b505050505050505050565b604051632efe011360e01b8152600360048201525f60248201819052604482018190529073__$8eede297b65ed5a56eb3f84d8232ae93f5$__90632efe011390606401602060405180830381865af4158015610477573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061049b9190611f50565b905090565b6104a8611bb4565b5f7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e0016040528073__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af415801561051e573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906105429190611f88565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a00161058a610ae7565b6001600160a01b031681526020018260010180546105a790611fa1565b80601f01602080910402602001604051908101604052809291908181526020018280546105d390611fa1565b801561061e5780601f106105f55761010080835404028352916020019161061e565b820191905f5260205f20905b81548152906001019060200180831161060157829003601f168201915b505050505081525091505090565b5f61049b30610e6b565b73__$8eede297b65ed5a56eb3f84d8232ae93f5$__63a123b37c610658610419565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af4158015610696573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906106ba9190611fed565b5f805160206123c08339815191528054600160401b900460ff16806106ec575080546001600160401b03808416911610155b1561070a5760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b17815561073483611064565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a1505050565b5f805160206123c08339815191528054600160401b810460ff1615906001600160401b03165f811580156107b15750825b90505f826001600160401b031660011480156107cc5750303b155b9050811580156107da575080155b156107f85760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561082257845460ff60401b1916600160401b1785555b61082c878761106c565b831561087357845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a15b50505050505050565b5f73__$1d92393fa9ccd763988368ce8a1cb90d26$__63dda777d3600c604051632392b61b60e21b81526003600482015273__$b659da7d8a6d2d32aa6c1e17da23dc2174$__90638e4ad86c90602401602060405180830381865af41580156108e7573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061090b9190612013565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865af415801561094e573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061049b9190611fed565b336109915f805160206123a0833981519152546001600160a01b031690565b6001600160a01b0316816001600160a01b0316146109d15760405162d1953b60e31b81526001600160a01b03821660048201526024015b60405180910390fd5b816001600160a01b03163b5f03610a06576040516361798f2f60e11b81526001600160a01b03831660048201526024016109c8565b610a0f826112f1565b5050565b5f610a1e600c610dcf565b92505050806001600160a01b031663d4cda0d86040518163ffffffff1660e01b8152600401602060405180830381865afa158015610a5e573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610a829190611eea565b604051633e77a42160e11b81526001600160c01b03198516600482015260ff841660248201526001600160a01b039190911690637cef4842906044015f604051808303815f87803b158015610ad5575f80fd5b505af1158015610873573d5f803e3d5ffd5b5f805f8051602061238083398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015610b53573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b77919061203d565b15610c02576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015610bd8573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610bfc9190611eea565b91505090565b54600160601b90046001600160a01b0316919050565b5f610c23600c610dcf565b925050505f816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015610c64573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610c889190611eea565b60405163887b1fa960e01b81526001600160c01b0319861660048201529091505f906001600160a01b0383169063887b1fa9906024015f60405180830381865afa158015610cd8573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052610cff91908101906120ae565b9050838160200181905250826001600160a01b031663d4cda0d86040518163ffffffff1660e01b8152600401602060405180830381865afa158015610d46573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610d6a9190611eea565b6001600160a01b031663a76ee018868360ff6040518463ffffffff1660e01b81526004016103e593929190612146565b5f805160206123a083398151915280545f9190600160a01b900460ff16610dc1575f610bfc565b638fb3603760e01b91505090565b5f610dd8611bb4565b5f610deb6001546001600160a01b031690565b604051632f2a35f760e11b81523360048201526001600160a01b039190911690635e546bee90602401602060405180830381865afa158015610e2f573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610e539190611f88565b9250610e6183856001611351565b9395909450915050565b5f805f8051602061238083398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015610ed7573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610efb919061203d565b15610f275780546040516301ab8b6760e21b81526001600160601b0390911660048201526024016109c8565b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038581166004830152919091169063c3c5a54790602401602060405180830381865afa158015610f79573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610f9d919061203d565b610fc55760405163b9304b0d60e01b81526001600160a01b03841660048201526024016109c8565b6001546001600160a01b0316604051632f2a35f760e11b81526001600160a01b0385811660048301529190911690635e546bee90602401602060405180830381865afa158015611017573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061103b9190611f88565b81546bffffffffffffffffffffffff19166001600160601b039190911690811790915592915050565b61011c6115ee565b5f805160206123c08339815191528054600160401b810460ff1615906001600160401b03165f8115801561109d5750825b90505f826001600160401b031660011480156110b85750303b155b9050811580156110c6575080155b156110e45760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561110e57845460ff60401b1916600160401b1785555b5f8087806020019051810190611124919061217d565b9150915061113382828b611626565b61113d600a61176b565b600280546001600160a01b0319166001600160a01b03928316179055600154166001600160a01b031663d39e6043600f611175610419565b60405163c9e66e2960e01b815262ffffff909116600482015273__$8eede297b65ed5a56eb3f84d8232ae93f5$__9063c9e66e2990602401602060405180830381865af41580156111c8573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906111ec9190612013565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa15801561122f573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906112539190611eea565b600380546001600160a01b0319166001600160a01b039290921691909117905561127d600261176b565b600480546001600160a01b0319166001600160a01b03929092169190911790556112ad63fa281c5d60e01b611873565b5050831561087357845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200161086a565b5f805160206123a083398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b611359611bb4565b5f8061136d6001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03881660048201529091506001600160a01b0382169063a48f42e0906024015f60405180830381865afa1580156113ba573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526113e191908101906121aa565b925060ff8516600b1461143f57604083015160ff86811691161461143a57604080840151905163b83d92cb60e01b81526001600160601b038816600482015260ff808816602483015290911660448201526064016109c8565b6114db565b61145a836040015161144f600c90565b60ff90811691161490565b806114705750611470836040015161144f600f90565b806114865750611486836040015161144f600e90565b8061149c575061149c836040015161144f600d90565b6114db57604080840151905163b83d92cb60e01b81526001600160601b038816600482015260ff808816602483015290911660448201526064016109c8565b6114e8836020015161189f565b915083156115e557816001600160a01b031663311adb686040518163ffffffff1660e01b8152600401602060405180830381865afa15801561152c573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906115509190611eea565b6080840151604051629b7b3560e61b81526001600160a01b0391821660048201529116906326decd4090602401602060405180830381865afa158015611598573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906115bc919061203d565b156115e557604051637d71120960e11b81526001600160601b03871660048201526024016109c8565b50935093915050565b5f805160206123c083398151915254600160401b900460ff1661162457604051631afcd79f60e31b815260040160405180910390fd5b565b61162e6115ee565b6116366118e9565b6001600160a01b038216156116535761164e826118f9565b6116ca565b5f61165e600261176b565b90506116c8816001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561169f573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906116c39190611eea565b6118f9565b505b61174683846001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa15801561170a573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061172e9190611f88565b60085f8560405180602001604052805f81525061190d565b611756634a531f3360e01b611873565b61176663daf9067160e01b611873565b505050565b5f61177e6001546001600160a01b031690565b604051632392b61b60e21b8152600360048201526001600160a01b03919091169063d39e604390849073__$b659da7d8a6d2d32aa6c1e17da23dc2174$__90638e4ad86c90602401602060405180830381865af41580156117e1573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906118059190612013565b6040516001600160e01b031960e085901b16815260ff9283166004820152911660248201526044015b602060405180830381865afa158015611849573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061186d9190611eea565b92915050565b61187b6115ee565b6001600160e01b0319165f908152602081905260409020805460ff19166001179055565b5f6118b26001546001600160a01b031690565b60405163bf8e179760e01b81526001600160601b03841660048201526001600160a01b03919091169063bf8e17979060240161182e565b6118f16115ee565b6116246119b2565b6119016115ee565b61190a816119e0565b50565b6119156115ee565b61191f82876119f1565b7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0387166cffffffffffffffffffffffffff1990911617600160601b60ff8716021760ff60681b1916600160681b851515021781557f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa3016119a883826122c5565b5050505050505050565b6119ba6115ee565b60017f9b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f0055565b6119e86115ee565b61190a816112f1565b6119f96115ee565b611a0281611a67565b611a0a611b6f565b6001600160a01b038216611a315760405163f17ef42d60e01b815260040160405180910390fd5b505f8051602061238083398151915280546001600160601b0316600160601b6001600160a01b0390931692909202919091179055565b611a6f6115ee565b806001600160a01b03163b5f03611aa45760405163fdeac91f60e01b81526001600160a01b03821660048201526024016109c8565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b8152634871d8b760e11b60048201526301ffc9a790602401602060405180830381865afa925050508015611b1e575060408051601f3d908101601f19168201909252611b1b9181019061203d565b60015b611b465760405163fdeac91f60e01b81526001600160a01b03821660048201526024016109c8565b80610a0f5760405163fdeac91f60e01b81526001600160a01b03831660048201526024016109c8565b611b776115ee565b6301ffc9a760e01b5f9081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b6040805160e0810182525f8082526020820181905291810182905260608082018390526080820183905260a082019290925260c081019190915290565b5f60208284031215611c01575f80fd5b81356001600160e01b031981168114611c18575f80fd5b9392505050565b80356001600160c01b031981168114611c36575f80fd5b919050565b634e487b7160e01b5f52604160045260245ffd5b60405160e081016001600160401b0381118282101715611c7157611c71611c3b565b60405290565b604051601f8201601f191681016001600160401b0381118282101715611c9f57611c9f611c3b565b604052919050565b5f6001600160401b03821115611cbf57611cbf611c3b565b50601f01601f191660200190565b5f82601f830112611cdc575f80fd5b8135611cef611cea82611ca7565b611c77565b818152846020838601011115611d03575f80fd5b816020850160208301375f918101602001919091529392505050565b5f8060408385031215611d30575f80fd5b611d3983611c1f565b915060208301356001600160401b03811115611d53575f80fd5b611d5f85828601611ccd565b9150509250929050565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081526001600160601b0382511660208201526001600160601b03602083015116604082015260ff60408301511660608201525f6060830151611ddf608084018215159052565b5060808301516001600160a01b03811660a08401525060a08301516001600160a01b03811660c08401525060c083015160e080840152611e23610100840182611d69565b949350505050565b5f60208284031215611e3b575f80fd5b81356001600160401b03811115611e50575f80fd5b611e2384828501611ccd565b6001600160a01b038116811461190a575f80fd5b5f8060408385031215611e81575f80fd5b8235611d3981611e5c565b5f60208284031215611e9c575f80fd5b8135611c1881611e5c565b60ff8116811461190a575f80fd5b5f8060408385031215611ec6575f80fd5b611ecf83611c1f565b91506020830135611edf81611ea7565b809150509250929050565b5f60208284031215611efa575f80fd5b8151611c1881611e5c565b6001600160601b0381511682525f602082015160406020850152611e236040850182611d69565b6001600160401b0360c01b83168152604060208201525f611e236040830184611f05565b5f60208284031215611f60575f80fd5b815162ffffff81168114611c18575f80fd5b80516001600160601b0381168114611c36575f80fd5b5f60208284031215611f98575f80fd5b611c1882611f72565b600181811c90821680611fb557607f821691505b602082108103611fd357634e487b7160e01b5f52602260045260245ffd5b50919050565b6001600160401b038116811461190a575f80fd5b5f60208284031215611ffd575f80fd5b8151611c1881611fd9565b8051611c3681611ea7565b5f60208284031215612023575f80fd5b8151611c1881611ea7565b80518015158114611c36575f80fd5b5f6020828403121561204d575f80fd5b611c188261202e565b8051611c3681611e5c565b5f82601f830112612070575f80fd5b815161207e611cea82611ca7565b818152846020838601011115612092575f80fd5b8160208501602083015e5f918101602001919091529392505050565b5f602082840312156120be575f80fd5b81516001600160401b038111156120d3575f80fd5b8201604081850312156120e4575f80fd5b604080519081016001600160401b038111828210171561210657612106611c3b565b60405261211282611f72565b815260208201516001600160401b0381111561212c575f80fd5b61213886828501612061565b602083015250949350505050565b6001600160401b0360c01b84168152606060208201525f61216a6060830185611f05565b905060ff83166040830152949350505050565b5f806040838503121561218e575f80fd5b825161219981611e5c565b6020840151909250611edf81611e5c565b5f602082840312156121ba575f80fd5b81516001600160401b038111156121cf575f80fd5b820160e081850312156121e0575f80fd5b6121e8611c4f565b6121f182611f72565b81526121ff60208301611f72565b602082015261221060408301612008565b60408201526122216060830161202e565b606082015261223260808301612056565b608082015261224360a08301612056565b60a082015260c08201516001600160401b03811115612260575f80fd5b61226c86828501612061565b60c083015250949350505050565b601f82111561176657805f5260205f20601f840160051c8101602085101561229f5750805b601f840160051c820191505b818110156122be575f81556001016122ab565b5050505050565b81516001600160401b038111156122de576122de611c3b565b6122f2816122ec8454611fa1565b8461227a565b6020601f821160018114612324575f831561230d5750848201515b5f19600385901b1c1916600184901b1784556122be565b5f84815260208120601f198516915b828110156123535787850151825560209485019460019092019101612333565b508482101561237057868401515f19600387901b60f8161c191681555b50505050600190811b0190555056fe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00f0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00a264697066735822122096768dbdc8ab9a489f0cf19eb712ce4eba658f0f4d5cd2d949fa032d153b36f464736f6c634300081a0033",
484
+ "linkReferences": {
485
+ "contracts/type/NftId.sol": {
486
+ "NftIdLib": [
487
+ {
488
+ "length": 20,
489
+ "start": 1455
490
+ },
491
+ {
492
+ "length": 20,
493
+ "start": 3057
494
+ },
495
+ {
496
+ "length": 20,
497
+ "start": 3957
498
+ }
499
+ ]
500
+ },
501
+ "contracts/type/RoleId.sol": {
502
+ "RoleIdLib": [
503
+ {
504
+ "length": 20,
505
+ "start": 2389
506
+ }
507
+ ]
508
+ },
509
+ "contracts/type/Version.sol": {
510
+ "VersionLib": [
511
+ {
512
+ "length": 20,
513
+ "start": 1301
514
+ },
515
+ {
516
+ "length": 20,
517
+ "start": 1806
518
+ },
519
+ {
520
+ "length": 20,
521
+ "start": 4710
522
+ }
523
+ ],
524
+ "VersionPartLib": [
525
+ {
526
+ "length": 20,
527
+ "start": 2437
528
+ },
529
+ {
530
+ "length": 20,
531
+ "start": 6271
532
+ }
533
+ ]
534
+ }
535
+ },
536
+ "deployedLinkReferences": {
537
+ "contracts/type/NftId.sol": {
538
+ "NftIdLib": [
539
+ {
540
+ "length": 20,
541
+ "start": 1241
542
+ },
543
+ {
544
+ "length": 20,
545
+ "start": 2843
546
+ },
547
+ {
548
+ "length": 20,
549
+ "start": 3743
550
+ }
551
+ ]
552
+ },
553
+ "contracts/type/RoleId.sol": {
554
+ "RoleIdLib": [
555
+ {
556
+ "length": 20,
557
+ "start": 2175
558
+ }
559
+ ]
560
+ },
561
+ "contracts/type/Version.sol": {
562
+ "VersionLib": [
563
+ {
564
+ "length": 20,
565
+ "start": 1087
566
+ },
567
+ {
568
+ "length": 20,
569
+ "start": 1592
570
+ },
571
+ {
572
+ "length": 20,
573
+ "start": 4496
574
+ }
575
+ ],
576
+ "VersionPartLib": [
577
+ {
578
+ "length": 20,
579
+ "start": 2223
580
+ },
581
+ {
582
+ "length": 20,
583
+ "start": 6057
584
+ }
585
+ ]
586
+ }
587
+ }
588
+ }
@@ -0,0 +1,4 @@
1
+ {
2
+ "_format": "hh-sol-dbg-1",
3
+ "buildInfo": "../../../build-info/ecd4c94dd2b822154cd70506f32403f1.json"
4
+ }