@etherisc/gif-next 0.0.2-f8e07c7-917 → 0.0.2-f946ccd-184

Sign up to get free protection for your applications and to get access to all the features.
Files changed (412) hide show
  1. package/README.md +19 -2
  2. package/artifacts/contracts/authorization/AccessAdmin.sol/AccessAdmin.dbg.json +1 -1
  3. package/artifacts/contracts/authorization/AccessAdmin.sol/AccessAdmin.json +33 -52
  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 +0 -19
  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/ModuleAuthorization.sol/ModuleAuthorization.dbg.json +1 -1
  14. package/artifacts/contracts/authorization/ModuleAuthorization.sol/ModuleAuthorization.json +2 -2
  15. package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.dbg.json +1 -1
  16. package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.json +2 -2
  17. package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.dbg.json +1 -1
  18. package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.json +66 -248
  19. package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.dbg.json +1 -1
  20. package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.json +16 -16
  21. package/artifacts/contracts/distribution/Distribution.sol/Distribution.dbg.json +1 -1
  22. package/artifacts/contracts/distribution/Distribution.sol/Distribution.json +24 -222
  23. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.dbg.json +1 -1
  24. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.json +228 -217
  25. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +1 -1
  26. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.json +93 -101
  27. package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.dbg.json +1 -1
  28. package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.json +24 -37
  29. package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.dbg.json +1 -1
  30. package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.json +120 -31
  31. package/artifacts/contracts/examples/fire/FirePool.sol/FirePool.dbg.json +4 -0
  32. package/artifacts/contracts/examples/fire/FirePool.sol/FirePool.json +1463 -0
  33. package/artifacts/contracts/examples/fire/FirePoolAuthorization.sol/FirePoolAuthorization.dbg.json +4 -0
  34. package/artifacts/contracts/examples/fire/FirePoolAuthorization.sol/FirePoolAuthorization.json +410 -0
  35. package/artifacts/contracts/examples/fire/FireProduct.sol/FireProduct.dbg.json +4 -0
  36. package/artifacts/contracts/examples/fire/FireProduct.sol/FireProduct.json +1712 -0
  37. package/artifacts/contracts/examples/fire/FireProductAuthorization.sol/FireProductAuthorization.dbg.json +4 -0
  38. package/artifacts/contracts/examples/fire/FireProductAuthorization.sol/FireProductAuthorization.json +414 -0
  39. package/artifacts/contracts/examples/fire/FireUSD.sol/FireUSD.dbg.json +4 -0
  40. package/artifacts/contracts/examples/fire/FireUSD.sol/FireUSD.json +376 -0
  41. package/artifacts/contracts/examples/unpermissioned/SimpleDistribution.sol/SimpleDistribution.dbg.json +4 -0
  42. package/artifacts/contracts/examples/unpermissioned/SimpleDistribution.sol/SimpleDistribution.json +1411 -0
  43. package/artifacts/contracts/examples/unpermissioned/SimpleOracle.sol/SimpleOracle.dbg.json +4 -0
  44. package/artifacts/contracts/examples/unpermissioned/SimpleOracle.sol/SimpleOracle.json +1171 -0
  45. package/artifacts/contracts/examples/unpermissioned/SimplePool.sol/SimplePool.dbg.json +4 -0
  46. package/artifacts/contracts/examples/unpermissioned/SimplePool.sol/SimplePool.json +1517 -0
  47. package/artifacts/contracts/examples/unpermissioned/SimpleProduct.sol/SimpleProduct.dbg.json +4 -0
  48. package/artifacts/contracts/examples/unpermissioned/SimpleProduct.sol/SimpleProduct.json +1978 -0
  49. package/artifacts/contracts/instance/BundleSet.sol/BundleSet.dbg.json +1 -1
  50. package/artifacts/contracts/instance/BundleSet.sol/BundleSet.json +2 -2
  51. package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
  52. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +1 -1
  53. package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
  54. package/artifacts/contracts/instance/Instance.sol/Instance.json +10 -99
  55. package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.dbg.json +1 -1
  56. package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.json +97 -100
  57. package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.dbg.json +1 -1
  58. package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.json +14 -14
  59. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +1 -1
  60. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +238 -123
  61. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +1 -1
  62. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +39 -146
  63. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +1 -1
  64. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +61 -81
  65. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.dbg.json +1 -1
  66. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.json +215 -219
  67. package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.dbg.json +1 -1
  68. package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.json +2 -2
  69. package/artifacts/contracts/instance/base/Cloneable.sol/Cloneable.dbg.json +1 -1
  70. package/artifacts/contracts/instance/base/ObjectCounter.sol/ObjectCounter.dbg.json +1 -1
  71. package/artifacts/contracts/instance/base/ObjectCounter.sol/ObjectCounter.json +2 -2
  72. package/artifacts/contracts/instance/base/ObjectLifecycle.sol/ObjectLifecycle.dbg.json +1 -1
  73. package/artifacts/contracts/instance/base/ObjectLifecycle.sol/ObjectLifecycle.json +2 -2
  74. package/artifacts/contracts/instance/base/ObjectSet.sol/ObjectSet.dbg.json +1 -1
  75. package/artifacts/contracts/instance/base/ObjectSet.sol/ObjectSet.json +2 -2
  76. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.dbg.json +1 -1
  77. package/artifacts/contracts/instance/module/IBundle.sol/IBundle.dbg.json +1 -1
  78. package/artifacts/contracts/instance/module/IComponents.sol/IComponents.dbg.json +1 -1
  79. package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.dbg.json +1 -1
  80. package/artifacts/contracts/instance/module/IPolicy.sol/IPolicy.dbg.json +1 -1
  81. package/artifacts/contracts/instance/module/IRisk.sol/IRisk.dbg.json +1 -1
  82. package/artifacts/contracts/mock/Dip.sol/Dip.dbg.json +1 -1
  83. package/artifacts/contracts/mock/Dip.sol/Dip.json +2 -2
  84. package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.dbg.json +1 -1
  85. package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.json +32 -238
  86. package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.dbg.json +1 -1
  87. package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.json +2 -2
  88. package/artifacts/contracts/oracle/IOracle.sol/IOracle.dbg.json +1 -1
  89. package/artifacts/contracts/oracle/IOracleComponent.sol/IOracleComponent.dbg.json +1 -1
  90. package/artifacts/contracts/oracle/IOracleComponent.sol/IOracleComponent.json +0 -37
  91. package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.dbg.json +1 -1
  92. package/artifacts/contracts/oracle/Oracle.sol/Oracle.dbg.json +1 -1
  93. package/artifacts/contracts/oracle/Oracle.sol/Oracle.json +0 -222
  94. package/artifacts/contracts/oracle/OracleService.sol/OracleService.dbg.json +1 -1
  95. package/artifacts/contracts/oracle/OracleService.sol/OracleService.json +37 -144
  96. package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.dbg.json +1 -1
  97. package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.json +60 -80
  98. package/artifacts/contracts/pool/BasicPool.sol/BasicPool.dbg.json +1 -1
  99. package/artifacts/contracts/pool/BasicPool.sol/BasicPool.json +36 -284
  100. package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.dbg.json +1 -1
  101. package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.json +16 -16
  102. package/artifacts/contracts/pool/BundleService.sol/BundleService.dbg.json +1 -1
  103. package/artifacts/contracts/pool/BundleService.sol/BundleService.json +396 -163
  104. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.dbg.json +1 -1
  105. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.json +137 -89
  106. package/artifacts/contracts/pool/IBundleService.sol/IBundleService.dbg.json +1 -1
  107. package/artifacts/contracts/pool/IBundleService.sol/IBundleService.json +205 -1
  108. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.dbg.json +1 -1
  109. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.json +26 -95
  110. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.dbg.json +1 -1
  111. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.json +220 -100
  112. package/artifacts/contracts/pool/Pool.sol/Pool.dbg.json +1 -1
  113. package/artifacts/contracts/pool/Pool.sol/Pool.json +26 -280
  114. package/artifacts/contracts/pool/PoolService.sol/PoolService.dbg.json +1 -1
  115. package/artifacts/contracts/pool/PoolService.sol/PoolService.json +269 -248
  116. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.dbg.json +1 -1
  117. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.json +66 -82
  118. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.dbg.json +1 -1
  119. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.json +36 -162
  120. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +1 -1
  121. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.json +57 -89
  122. package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.dbg.json +1 -1
  123. package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.json +3 -225
  124. package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.dbg.json +1 -1
  125. package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.json +2 -2
  126. package/artifacts/contracts/product/ClaimService.sol/ClaimService.dbg.json +1 -1
  127. package/artifacts/contracts/product/ClaimService.sol/ClaimService.json +206 -175
  128. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +1 -1
  129. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.json +92 -100
  130. package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.dbg.json +1 -1
  131. package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.json +5 -0
  132. package/artifacts/contracts/product/IClaimService.sol/IClaimService.dbg.json +1 -1
  133. package/artifacts/contracts/product/IClaimService.sol/IClaimService.json +114 -0
  134. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.dbg.json +1 -1
  135. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.json +266 -119
  136. package/artifacts/contracts/product/IPricingService.sol/IPricingService.dbg.json +1 -1
  137. package/artifacts/contracts/product/IPricingService.sol/IPricingService.json +43 -43
  138. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.dbg.json +1 -1
  139. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.json +0 -37
  140. package/artifacts/contracts/product/IRiskService.sol/IRiskService.dbg.json +4 -0
  141. package/artifacts/contracts/product/{IProductService.sol/IProductService.json → IRiskService.sol/IRiskService.json} +2 -2
  142. package/artifacts/contracts/product/PolicyService.sol/PolicyService.dbg.json +1 -1
  143. package/artifacts/contracts/product/PolicyService.sol/PolicyService.json +372 -316
  144. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +1 -1
  145. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.json +104 -100
  146. package/artifacts/contracts/product/PricingService.sol/PricingService.dbg.json +1 -1
  147. package/artifacts/contracts/product/PricingService.sol/PricingService.json +118 -265
  148. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.dbg.json +1 -1
  149. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.json +80 -120
  150. package/artifacts/contracts/product/Product.sol/Product.dbg.json +1 -1
  151. package/artifacts/contracts/product/Product.sol/Product.json +3 -225
  152. package/artifacts/contracts/product/RiskService.sol/RiskService.dbg.json +4 -0
  153. package/artifacts/contracts/product/RiskService.sol/RiskService.json +588 -0
  154. package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.dbg.json +4 -0
  155. package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.json +682 -0
  156. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
  157. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +59 -16
  158. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
  159. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +221 -21
  160. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +1 -1
  161. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +1 -1
  162. package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
  163. package/artifacts/contracts/registry/Registry.sol/Registry.json +419 -82
  164. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.dbg.json +1 -1
  165. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.json +243 -131
  166. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +1 -1
  167. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +23 -130
  168. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +1 -1
  169. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +52 -72
  170. package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.dbg.json +1 -1
  171. package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.json +2 -2
  172. package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.dbg.json +1 -1
  173. package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.json +24 -14
  174. package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.dbg.json +1 -1
  175. package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.json +6 -6
  176. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +1 -1
  177. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +2 -2
  178. package/artifacts/contracts/shared/Component.sol/Component.dbg.json +1 -1
  179. package/artifacts/contracts/shared/Component.sol/Component.json +0 -211
  180. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.dbg.json +1 -1
  181. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.json +132 -199
  182. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.dbg.json +1 -1
  183. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.json +96 -114
  184. package/artifacts/contracts/shared/ComponentVerifyingService.sol/ComponentVerifyingService.dbg.json +1 -1
  185. package/artifacts/contracts/shared/ComponentVerifyingService.sol/ComponentVerifyingService.json +5 -112
  186. package/artifacts/contracts/shared/ContractLib.sol/ContractLib.dbg.json +4 -0
  187. package/artifacts/contracts/shared/ContractLib.sol/ContractLib.json +92 -0
  188. package/artifacts/contracts/shared/IComponent.sol/IComponent.dbg.json +1 -1
  189. package/artifacts/contracts/shared/IComponent.sol/IComponent.json +0 -26
  190. package/artifacts/contracts/shared/IComponentService.sol/IComponentService.dbg.json +1 -1
  191. package/artifacts/contracts/shared/IComponentService.sol/IComponentService.json +56 -0
  192. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.dbg.json +1 -1
  193. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.json +0 -37
  194. package/artifacts/contracts/shared/IKeyValueStore.sol/IKeyValueStore.dbg.json +1 -1
  195. package/artifacts/contracts/shared/ILifecycle.sol/ILifecycle.dbg.json +1 -1
  196. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +1 -1
  197. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.dbg.json +1 -1
  198. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.json +14 -46
  199. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
  200. package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.dbg.json +1 -1
  201. package/artifacts/contracts/shared/IService.sol/IService.dbg.json +1 -1
  202. package/artifacts/contracts/shared/InitializableCustom.sol/InitializableCustom.dbg.json +1 -1
  203. package/artifacts/contracts/shared/InitializableERC165.sol/InitializableERC165.dbg.json +4 -0
  204. package/artifacts/contracts/shared/InitializableERC165.sol/InitializableERC165.json +53 -0
  205. package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.dbg.json +1 -1
  206. package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.json +0 -222
  207. package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.dbg.json +1 -1
  208. package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.dbg.json +1 -1
  209. package/artifacts/contracts/shared/NftIdSet.sol/NftIdSet.dbg.json +1 -1
  210. package/artifacts/contracts/shared/NftIdSet.sol/NftIdSet.json +2 -2
  211. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +1 -1
  212. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +6 -57
  213. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.dbg.json +1 -1
  214. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.json +18 -140
  215. package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
  216. package/artifacts/contracts/shared/Registerable.sol/Registerable.json +8 -97
  217. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.dbg.json +1 -1
  218. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.json +2 -15
  219. package/artifacts/contracts/shared/Service.sol/Service.dbg.json +1 -1
  220. package/artifacts/contracts/shared/Service.sol/Service.json +5 -112
  221. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +1 -1
  222. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +330 -11
  223. package/artifacts/contracts/shared/TokenHandlerDeployerLib.sol/TokenHandlerDeployerLib.dbg.json +4 -0
  224. package/artifacts/contracts/shared/TokenHandlerDeployerLib.sol/TokenHandlerDeployerLib.json +108 -0
  225. package/artifacts/contracts/staking/IStaking.sol/IStaking.dbg.json +1 -1
  226. package/artifacts/contracts/staking/IStaking.sol/IStaking.json +27 -27
  227. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.dbg.json +1 -1
  228. package/artifacts/contracts/staking/StakeManagerLib.sol/StakeManagerLib.dbg.json +1 -1
  229. package/artifacts/contracts/staking/StakeManagerLib.sol/StakeManagerLib.json +73 -93
  230. package/artifacts/contracts/staking/Staking.sol/Staking.dbg.json +1 -1
  231. package/artifacts/contracts/staking/Staking.sol/Staking.json +85 -262
  232. package/artifacts/contracts/staking/StakingLifecycle.sol/StakingLifecycle.dbg.json +1 -1
  233. package/artifacts/contracts/staking/StakingLifecycle.sol/StakingLifecycle.json +2 -2
  234. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.dbg.json +1 -1
  235. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.json +77 -88
  236. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.dbg.json +1 -1
  237. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.json +6 -6
  238. package/artifacts/contracts/staking/StakingService.sol/StakingService.dbg.json +1 -1
  239. package/artifacts/contracts/staking/StakingService.sol/StakingService.json +31 -138
  240. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.dbg.json +1 -1
  241. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.json +56 -76
  242. package/artifacts/contracts/staking/StakingStore.sol/StakingStore.dbg.json +1 -1
  243. package/artifacts/contracts/staking/StakingStore.sol/StakingStore.json +89 -84
  244. package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.dbg.json +1 -1
  245. package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.json +59 -23
  246. package/artifacts/contracts/type/AddressSet.sol/LibAddressSet.dbg.json +1 -1
  247. package/artifacts/contracts/type/Amount.sol/AmountLib.dbg.json +1 -1
  248. package/artifacts/contracts/type/Amount.sol/AmountLib.json +37 -8
  249. package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.dbg.json +1 -1
  250. package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.json +2 -2
  251. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.dbg.json +1 -1
  252. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.json +2 -2
  253. package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.dbg.json +1 -1
  254. package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.json +2 -2
  255. package/artifacts/contracts/type/Fee.sol/FeeLib.dbg.json +1 -1
  256. package/artifacts/contracts/type/Fee.sol/FeeLib.json +7 -2
  257. package/artifacts/contracts/type/Key32.sol/Key32Lib.dbg.json +1 -1
  258. package/artifacts/contracts/type/Key32.sol/Key32Lib.json +2 -2
  259. package/artifacts/contracts/type/NftId.sol/NftIdLib.dbg.json +1 -1
  260. package/artifacts/contracts/type/NftId.sol/NftIdLib.json +2 -2
  261. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.dbg.json +1 -1
  262. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.json +2 -2
  263. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.dbg.json +1 -1
  264. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.json +2 -2
  265. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.dbg.json +1 -1
  266. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.json +2 -2
  267. package/artifacts/contracts/type/Referral.sol/ReferralLib.dbg.json +1 -1
  268. package/artifacts/contracts/type/Referral.sol/ReferralLib.json +2 -2
  269. package/artifacts/contracts/type/RequestId.sol/RequestIdLib.dbg.json +1 -1
  270. package/artifacts/contracts/type/RequestId.sol/RequestIdLib.json +2 -2
  271. package/artifacts/contracts/type/RiskId.sol/RiskIdLib.dbg.json +1 -1
  272. package/artifacts/contracts/type/RiskId.sol/RiskIdLib.json +60 -4
  273. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.dbg.json +1 -1
  274. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.json +2 -2
  275. package/artifacts/contracts/type/Seconds.sol/SecondsLib.dbg.json +1 -1
  276. package/artifacts/contracts/type/Seconds.sol/SecondsLib.json +50 -2
  277. package/artifacts/contracts/type/Selector.sol/SelectorLib.dbg.json +1 -1
  278. package/artifacts/contracts/type/Selector.sol/SelectorSetLib.dbg.json +1 -1
  279. package/artifacts/contracts/type/StateId.sol/StateIdLib.dbg.json +1 -1
  280. package/artifacts/contracts/type/StateId.sol/StateIdLib.json +2 -2
  281. package/artifacts/contracts/type/String.sol/StrLib.dbg.json +1 -1
  282. package/artifacts/contracts/type/Timestamp.sol/TimestampLib.dbg.json +1 -1
  283. package/artifacts/contracts/type/Timestamp.sol/TimestampLib.json +23 -4
  284. package/artifacts/contracts/type/UFixed.sol/MathLib.dbg.json +1 -1
  285. package/artifacts/contracts/type/UFixed.sol/MathLib.json +9 -3
  286. package/artifacts/contracts/type/UFixed.sol/UFixedLib.dbg.json +1 -1
  287. package/artifacts/contracts/type/UFixed.sol/UFixedLib.json +39 -2
  288. package/artifacts/contracts/type/Version.sol/VersionLib.dbg.json +1 -1
  289. package/artifacts/contracts/type/Version.sol/VersionPartLib.dbg.json +1 -1
  290. package/artifacts/contracts/upgradeability/IVersionable.sol/IVersionable.dbg.json +1 -1
  291. package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.dbg.json +1 -1
  292. package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.json +39 -70
  293. package/artifacts/contracts/upgradeability/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +1 -1
  294. package/artifacts/contracts/upgradeability/Versionable.sol/Versionable.dbg.json +1 -1
  295. package/contracts/authorization/AccessAdmin.sol +25 -24
  296. package/contracts/authorization/Authorization.sol +0 -1
  297. package/contracts/authorization/IAccessAdmin.sol +0 -1
  298. package/contracts/distribution/BasicDistribution.sol +4 -15
  299. package/contracts/distribution/BasicDistributionAuthorization.sol +2 -1
  300. package/contracts/distribution/Distribution.sol +22 -11
  301. package/contracts/distribution/DistributionService.sol +73 -25
  302. package/contracts/distribution/DistributionServiceManager.sol +6 -6
  303. package/contracts/distribution/IDistributionComponent.sol +6 -1
  304. package/contracts/distribution/IDistributionService.sol +18 -2
  305. package/contracts/examples/fire/FirePool.sol +75 -0
  306. package/contracts/examples/fire/FirePoolAuthorization.sol +34 -0
  307. package/contracts/examples/fire/FireProduct.sol +324 -0
  308. package/contracts/examples/fire/FireProductAuthorization.sol +35 -0
  309. package/contracts/examples/fire/FireUSD.sol +26 -0
  310. package/contracts/examples/unpermissioned/SimpleDistribution.sol +50 -0
  311. package/contracts/examples/unpermissioned/SimpleOracle.sol +137 -0
  312. package/contracts/examples/unpermissioned/SimplePool.sol +76 -0
  313. package/contracts/examples/unpermissioned/SimpleProduct.sol +351 -0
  314. package/contracts/instance/IInstance.sol +7 -30
  315. package/contracts/instance/Instance.sol +10 -35
  316. package/contracts/instance/InstanceAdmin.sol +23 -4
  317. package/contracts/instance/InstanceAuthorizationV3.sol +3 -3
  318. package/contracts/instance/InstanceReader.sol +32 -7
  319. package/contracts/instance/InstanceService.sol +62 -39
  320. package/contracts/instance/InstanceServiceManager.sol +6 -7
  321. package/contracts/instance/InstanceStore.sol +12 -1
  322. package/contracts/instance/base/ObjectLifecycle.sol +9 -4
  323. package/contracts/instance/module/IBundle.sol +1 -1
  324. package/contracts/instance/module/IComponents.sol +1 -6
  325. package/contracts/instance/module/IDistribution.sol +0 -1
  326. package/contracts/instance/module/IPolicy.sol +22 -22
  327. package/contracts/mock/Dip.sol +1 -1
  328. package/contracts/oracle/Oracle.sol +4 -7
  329. package/contracts/oracle/OracleService.sol +9 -6
  330. package/contracts/oracle/OracleServiceManager.sol +6 -6
  331. package/contracts/pool/BasicPool.sol +7 -5
  332. package/contracts/pool/BasicPoolAuthorization.sol +8 -2
  333. package/contracts/pool/BundleService.sol +184 -30
  334. package/contracts/pool/BundleServiceManager.sol +6 -6
  335. package/contracts/pool/IBundleService.sol +33 -5
  336. package/contracts/pool/IPoolComponent.sol +7 -0
  337. package/contracts/pool/IPoolService.sol +36 -26
  338. package/contracts/pool/Pool.sol +39 -24
  339. package/contracts/pool/PoolService.sol +157 -85
  340. package/contracts/pool/PoolServiceManager.sol +4 -4
  341. package/contracts/product/ApplicationService.sol +43 -26
  342. package/contracts/product/ApplicationServiceManager.sol +4 -4
  343. package/contracts/product/BasicProduct.sol +3 -32
  344. package/contracts/product/ClaimService.sol +208 -78
  345. package/contracts/product/ClaimServiceManager.sol +4 -4
  346. package/contracts/product/IApplicationService.sol +1 -0
  347. package/contracts/product/IClaimService.sol +28 -5
  348. package/contracts/product/IPolicyService.sol +31 -32
  349. package/contracts/product/IPricingService.sol +7 -7
  350. package/contracts/product/IProductComponent.sol +0 -1
  351. package/contracts/product/{IProductService.sol → IRiskService.sol} +1 -1
  352. package/contracts/product/PolicyService.sol +370 -194
  353. package/contracts/product/PolicyServiceManager.sol +4 -4
  354. package/contracts/product/PricingService.sol +46 -46
  355. package/contracts/product/PricingServiceManager.sol +3 -3
  356. package/contracts/product/Product.sol +67 -34
  357. package/contracts/product/{ProductService.sol → RiskService.sol} +7 -10
  358. package/contracts/product/RiskServiceManager.sol +39 -0
  359. package/contracts/registry/ChainNft.sol +65 -32
  360. package/contracts/registry/IRegistry.sol +49 -15
  361. package/contracts/registry/Registry.sol +321 -195
  362. package/contracts/registry/RegistryAdmin.sol +150 -51
  363. package/contracts/registry/RegistryService.sol +2 -2
  364. package/contracts/registry/RegistryServiceManager.sol +2 -2
  365. package/contracts/registry/ReleaseRegistry.sol +12 -8
  366. package/contracts/registry/ServiceAuthorizationV3.sol +2 -3
  367. package/contracts/shared/Component.sol +23 -29
  368. package/contracts/shared/ComponentService.sol +51 -32
  369. package/contracts/shared/ComponentServiceManager.sol +8 -5
  370. package/contracts/shared/ComponentVerifyingService.sol +1 -1
  371. package/contracts/shared/ContractLib.sol +38 -0
  372. package/contracts/shared/IComponent.sol +4 -4
  373. package/contracts/shared/IComponentService.sol +5 -9
  374. package/contracts/shared/IInstanceLinkedComponent.sol +8 -15
  375. package/contracts/shared/IPolicyHolder.sol +12 -22
  376. package/contracts/shared/{ERC165.sol → InitializableERC165.sol} +3 -3
  377. package/contracts/shared/InstanceLinkedComponent.sol +4 -4
  378. package/contracts/shared/NftOwnable.sol +7 -7
  379. package/contracts/shared/PolicyHolder.sol +14 -58
  380. package/contracts/shared/Registerable.sol +4 -4
  381. package/contracts/shared/RegistryLinked.sol +3 -2
  382. package/contracts/shared/Service.sol +16 -11
  383. package/contracts/shared/TokenHandler.sol +100 -19
  384. package/contracts/shared/TokenHandlerDeployerLib.sol +12 -0
  385. package/contracts/staking/IStaking.sol +2 -1
  386. package/contracts/staking/StakeManagerLib.sol +18 -25
  387. package/contracts/staking/Staking.sol +11 -27
  388. package/contracts/staking/StakingManager.sol +8 -6
  389. package/contracts/staking/StakingService.sol +10 -14
  390. package/contracts/staking/StakingServiceManager.sol +2 -2
  391. package/contracts/staking/TargetManagerLib.sol +7 -3
  392. package/contracts/type/Amount.sol +12 -5
  393. package/contracts/type/Blocknumber.sol +7 -1
  394. package/contracts/type/NftId.sol +1 -0
  395. package/contracts/type/ObjectType.sol +15 -11
  396. package/contracts/type/Referral.sol +1 -0
  397. package/contracts/type/RiskId.sol +15 -1
  398. package/contracts/type/Seconds.sol +21 -1
  399. package/contracts/type/StateId.sol +1 -0
  400. package/contracts/type/Timestamp.sol +11 -1
  401. package/contracts/type/UFixed.sol +29 -10
  402. package/contracts/upgradeability/ProxyManager.sol +67 -34
  403. package/contracts/upgradeability/Versionable.sol +2 -2
  404. package/package.json +1 -1
  405. package/artifacts/contracts/product/IProductService.sol/IProductService.dbg.json +0 -4
  406. package/artifacts/contracts/product/ProductService.sol/ProductService.dbg.json +0 -4
  407. package/artifacts/contracts/product/ProductService.sol/ProductService.json +0 -708
  408. package/artifacts/contracts/product/ProductServiceManager.sol/ProductServiceManager.dbg.json +0 -4
  409. package/artifacts/contracts/product/ProductServiceManager.sol/ProductServiceManager.json +0 -702
  410. package/artifacts/contracts/shared/ERC165.sol/ERC165.dbg.json +0 -4
  411. package/artifacts/contracts/shared/ERC165.sol/ERC165.json +0 -73
  412. package/contracts/product/ProductServiceManager.sol +0 -39
@@ -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": "0x6080604052348015600e575f80fd5b5060156019565b60c9565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00805468010000000000000000900460ff161560685760405163f92ee8a960e01b815260040160405180910390fd5b80546001600160401b039081161460c65780546001600160401b0319166001600160401b0390811782556040519081527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50565b61245a806100d65f395ff3fe608060405234801561000f575f80fd5b506004361061011c575f3560e01c8063644c45e0116100a95780638f997f6d1161006e5780638f997f6d146102b25780638fb36037146102c5578063ada9652e146102e6578063b68d1809146102fa578063bf7e214f14610309575f80fd5b8063644c45e0146102475780636c741e78146102645780637a9e5e4b146102845780637cef484214610297578063893d20e8146102aa575f80fd5b8063138461e0116100ef578063138461e0146101a75780631eff4b22146101c7578063329d6e74146101fc57806349bb9e4b1461020f5780635ab1bd5314610222575f80fd5b806301ffc9a714610120578063095e2b72146101615780630d8e6e2c146101765780630fec111c14610192575b5f80fd5b61014c61012e366004611c36565b6001600160e01b0319165f9081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b61017461016f366004611d64565b610326565b005b61017e610419565b60405162ffffff9091168152602001610158565b61019a6104a0565b6040516101589190611ddc565b6101af61062c565b6040516001600160601b039091168152602001610158565b6101ee7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b604051908152602001610158565b61017461020a366004611e70565b610636565b61017461021d366004611eb5565b610780565b6001546001600160a01b03165b6040516001600160a01b039091168152602001610158565b5f805160206123c5833981519152546001600160601b03166101af565b61026c61087c565b6040516001600160401b039091168152602001610158565b610174610292366004611ed1565b610972565b6101746102a5366004611efa565b610a13565b61022f610ae7565b6101746102c0366004611d64565b610c18565b6102cd610d9a565b6040516001600160e01b03199091168152602001610158565b6101ee5f805160206123c583398151915281565b604051600c8152602001610158565b5f805160206123e5833981519152546001600160a01b031661022f565b5f80610332600c610dcf565b92505091505f6040518060400160405280846001600160601b03168152602001858152509050816001600160a01b031663d4cda0d86040518163ffffffff1660e01b8152600401602060405180830381865afa158015610394573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906103b89190611f2f565b6001600160a01b0316632f61088a86836040518363ffffffff1660e01b81526004016103e5929190611f71565b5f604051808303815f87803b1580156103fc575f80fd5b505af115801561040e573d5f803e3d5ffd5b505050505050505050565b604051632efe011360e01b8152600360048201525f60248201819052604482018190529073__$8eede297b65ed5a56eb3f84d8232ae93f5$__90632efe011390606401602060405180830381865af4158015610477573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061049b9190611f95565b905090565b6104a8611bf9565b5f7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e0016040528073__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af415801561051e573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906105429190611fcd565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a00161058a610ae7565b6001600160a01b031681526020018260010180546105a790611fe6565b80601f01602080910402602001604051908101604052809291908181526020018280546105d390611fe6565b801561061e5780601f106105f55761010080835404028352916020019161061e565b820191905f5260205f20905b81548152906001019060200180831161060157829003601f168201915b505050505081525091505090565b5f61049b30610e6b565b73__$8eede297b65ed5a56eb3f84d8232ae93f5$__63a123b37c610658610419565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af4158015610696573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906106ba9190612032565b5f805160206124058339815191528054600160401b900460ff16806106ec575080546001600160401b03808416911610155b1561070a5760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b17815561073483611064565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a1505050565b5f805160206124058339815191528054600160401b810460ff1615906001600160401b03165f811580156107b15750825b90505f826001600160401b031660011480156107cc5750303b155b9050811580156107da575080155b156107f85760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561082257845460ff60401b1916600160401b1785555b61082c878761106c565b831561087357845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a15b50505050505050565b5f73__$1d92393fa9ccd763988368ce8a1cb90d26$__63dda777d3600c604051632392b61b60e21b81526003600482015273__$b659da7d8a6d2d32aa6c1e17da23dc2174$__90638e4ad86c90602401602060405180830381865af41580156108e7573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061090b9190612058565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865af415801561094e573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061049b9190612032565b336109915f805160206123e5833981519152546001600160a01b031690565b6001600160a01b0316816001600160a01b0316146109d15760405162d1953b60e31b81526001600160a01b03821660048201526024015b60405180910390fd5b816001600160a01b03163b5f03610a06576040516361798f2f60e11b81526001600160a01b03831660048201526024016109c8565b610a0f826112f1565b5050565b5f610a1e600c610dcf565b92505050806001600160a01b031663d4cda0d86040518163ffffffff1660e01b8152600401602060405180830381865afa158015610a5e573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610a829190611f2f565b604051633e77a42160e11b81526001600160c01b03198516600482015260ff841660248201526001600160a01b039190911690637cef4842906044015f604051808303815f87803b158015610ad5575f80fd5b505af1158015610873573d5f803e3d5ffd5b5f805f805160206123c583398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015610b53573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b779190612082565b15610c02576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015610bd8573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610bfc9190611f2f565b91505090565b54600160601b90046001600160a01b0316919050565b5f610c23600c610dcf565b925050505f816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015610c64573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610c889190611f2f565b60405163887b1fa960e01b81526001600160c01b0319861660048201529091505f906001600160a01b0383169063887b1fa9906024015f60405180830381865afa158015610cd8573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052610cff91908101906120f3565b9050838160200181905250826001600160a01b031663d4cda0d86040518163ffffffff1660e01b8152600401602060405180830381865afa158015610d46573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610d6a9190611f2f565b6001600160a01b031663a76ee018868360ff6040518463ffffffff1660e01b81526004016103e59392919061218b565b5f805160206123e583398151915280545f9190600160a01b900460ff16610dc1575f610bfc565b638fb3603760e01b91505090565b5f610dd8611bf9565b5f610deb6001546001600160a01b031690565b604051632f2a35f760e11b81523360048201526001600160a01b039190911690635e546bee90602401602060405180830381865afa158015610e2f573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610e539190611fcd565b9250610e6183856001611351565b9395909450915050565b5f805f805160206123c583398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015610ed7573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610efb9190612082565b15610f275780546040516301ab8b6760e21b81526001600160601b0390911660048201526024016109c8565b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038581166004830152919091169063c3c5a54790602401602060405180830381865afa158015610f79573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610f9d9190612082565b610fc55760405163b9304b0d60e01b81526001600160a01b03841660048201526024016109c8565b6001546001600160a01b0316604051632f2a35f760e11b81526001600160a01b0385811660048301529190911690635e546bee90602401602060405180830381865afa158015611017573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061103b9190611fcd565b81546bffffffffffffffffffffffff19166001600160601b039190911690811790915592915050565b61011c6115ee565b5f805160206124058339815191528054600160401b810460ff1615906001600160401b03165f8115801561109d5750825b90505f826001600160401b031660011480156110b85750303b155b9050811580156110c6575080155b156110e45760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561110e57845460ff60401b1916600160401b1785555b5f808780602001905181019061112491906121c2565b9150915061113382828b611626565b61113d600a61176b565b600280546001600160a01b0319166001600160a01b03928316179055600154166001600160a01b031663d39e6043600f611175610419565b60405163c9e66e2960e01b815262ffffff909116600482015273__$8eede297b65ed5a56eb3f84d8232ae93f5$__9063c9e66e2990602401602060405180830381865af41580156111c8573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906111ec9190612058565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa15801561122f573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906112539190611f2f565b600380546001600160a01b0319166001600160a01b039290921691909117905561127d600261176b565b600480546001600160a01b0319166001600160a01b03929092169190911790556112ad63fa281c5d60e01b611872565b5050831561087357845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200161086a565b5f805160206123e583398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b611359611bf9565b5f8061136d6001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03881660048201529091506001600160a01b0382169063a48f42e0906024015f60405180830381865afa1580156113ba573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526113e191908101906121ef565b925060ff8516600b1461143f57604083015160ff86811691161461143a57604080840151905163b83d92cb60e01b81526001600160601b038816600482015260ff808816602483015290911660448201526064016109c8565b6114db565b61145a836040015161144f600c90565b60ff90811691161490565b806114705750611470836040015161144f600f90565b806114865750611486836040015161144f600e90565b8061149c575061149c836040015161144f600d90565b6114db57604080840151905163b83d92cb60e01b81526001600160601b038816600482015260ff808816602483015290911660448201526064016109c8565b6114e8836020015161189e565b915083156115e557816001600160a01b031663311adb686040518163ffffffff1660e01b8152600401602060405180830381865afa15801561152c573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906115509190611f2f565b6080840151604051629b7b3560e61b81526001600160a01b0391821660048201529116906326decd4090602401602060405180830381865afa158015611598573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906115bc9190612082565b156115e557604051637d71120960e11b81526001600160601b03871660048201526024016109c8565b50935093915050565b5f8051602061240583398151915254600160401b900460ff1661162457604051631afcd79f60e31b815260040160405180910390fd5b565b61162e6115ee565b61163661192e565b6001600160a01b038216156116535761164e8261193e565b6116ca565b5f61165e600261176b565b90506116c8816001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561169f573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906116c39190611f2f565b61193e565b505b61174683846001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa15801561170a573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061172e9190611fcd565b60085f8560405180602001604052805f815250611952565b611756634a531f3360e01b611872565b61176663daf9067160e01b611872565b505050565b5f61177e6001546001600160a01b031690565b604051632392b61b60e21b8152600360048201526001600160a01b03919091169063d39e604390849073__$b659da7d8a6d2d32aa6c1e17da23dc2174$__90638e4ad86c90602401602060405180830381865af41580156117e1573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906118059190612058565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa158015611848573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061186c9190611f2f565b92915050565b61187a6115ee565b6001600160e01b0319165f908152602081905260409020805460ff19166001179055565b5f6118b16001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03841660048201526001600160a01b03919091169063a48f42e0906024015f60405180830381865afa1580156118fd573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f1916820160405261192491908101906121ef565b6080015192915050565b6119366115ee565b6116246119f7565b6119466115ee565b61194f81611a25565b50565b61195a6115ee565b6119648287611a36565b7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0387166cffffffffffffffffffffffffff1990911617600160601b60ff8716021760ff60681b1916600160681b851515021781557f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa3016119ed838261230a565b5050505050505050565b6119ff6115ee565b60017f9b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f0055565b611a2d6115ee565b61194f816112f1565b611a3e6115ee565b611a4781611aac565b611a4f611bb4565b6001600160a01b038216611a765760405163f17ef42d60e01b815260040160405180910390fd5b505f805160206123c583398151915280546001600160601b0316600160601b6001600160a01b0390931692909202919091179055565b611ab46115ee565b806001600160a01b03163b5f03611ae95760405163fdeac91f60e01b81526001600160a01b03821660048201526024016109c8565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b8152632f6da6f960e01b60048201526301ffc9a790602401602060405180830381865afa925050508015611b63575060408051601f3d908101601f19168201909252611b6091810190612082565b60015b611b8b5760405163fdeac91f60e01b81526001600160a01b03821660048201526024016109c8565b80610a0f5760405163fdeac91f60e01b81526001600160a01b03831660048201526024016109c8565b611bbc6115ee565b6301ffc9a760e01b5f9081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b6040805160e0810182525f8082526020820181905291810182905260608082018390526080820183905260a082019290925260c081019190915290565b5f60208284031215611c46575f80fd5b81356001600160e01b031981168114611c5d575f80fd5b9392505050565b80356001600160c01b031981168114611c7b575f80fd5b919050565b634e487b7160e01b5f52604160045260245ffd5b60405160e081016001600160401b0381118282101715611cb657611cb6611c80565b60405290565b604051601f8201601f191681016001600160401b0381118282101715611ce457611ce4611c80565b604052919050565b5f6001600160401b03821115611d0457611d04611c80565b50601f01601f191660200190565b5f82601f830112611d21575f80fd5b8135611d34611d2f82611cec565b611cbc565b818152846020838601011115611d48575f80fd5b816020850160208301375f918101602001919091529392505050565b5f8060408385031215611d75575f80fd5b611d7e83611c64565b915060208301356001600160401b03811115611d98575f80fd5b611da485828601611d12565b9150509250929050565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081526001600160601b0382511660208201526001600160601b03602083015116604082015260ff60408301511660608201525f6060830151611e24608084018215159052565b5060808301516001600160a01b03811660a08401525060a08301516001600160a01b03811660c08401525060c083015160e080840152611e68610100840182611dae565b949350505050565b5f60208284031215611e80575f80fd5b81356001600160401b03811115611e95575f80fd5b611e6884828501611d12565b6001600160a01b038116811461194f575f80fd5b5f8060408385031215611ec6575f80fd5b8235611d7e81611ea1565b5f60208284031215611ee1575f80fd5b8135611c5d81611ea1565b60ff8116811461194f575f80fd5b5f8060408385031215611f0b575f80fd5b611f1483611c64565b91506020830135611f2481611eec565b809150509250929050565b5f60208284031215611f3f575f80fd5b8151611c5d81611ea1565b6001600160601b0381511682525f602082015160406020850152611e686040850182611dae565b6001600160401b0360c01b83168152604060208201525f611e686040830184611f4a565b5f60208284031215611fa5575f80fd5b815162ffffff81168114611c5d575f80fd5b80516001600160601b0381168114611c7b575f80fd5b5f60208284031215611fdd575f80fd5b611c5d82611fb7565b600181811c90821680611ffa57607f821691505b60208210810361201857634e487b7160e01b5f52602260045260245ffd5b50919050565b6001600160401b038116811461194f575f80fd5b5f60208284031215612042575f80fd5b8151611c5d8161201e565b8051611c7b81611eec565b5f60208284031215612068575f80fd5b8151611c5d81611eec565b80518015158114611c7b575f80fd5b5f60208284031215612092575f80fd5b611c5d82612073565b8051611c7b81611ea1565b5f82601f8301126120b5575f80fd5b81516120c3611d2f82611cec565b8181528460208386010111156120d7575f80fd5b8160208501602083015e5f918101602001919091529392505050565b5f60208284031215612103575f80fd5b81516001600160401b03811115612118575f80fd5b820160408185031215612129575f80fd5b604080519081016001600160401b038111828210171561214b5761214b611c80565b60405261215782611fb7565b815260208201516001600160401b03811115612171575f80fd5b61217d868285016120a6565b602083015250949350505050565b6001600160401b0360c01b84168152606060208201525f6121af6060830185611f4a565b905060ff83166040830152949350505050565b5f80604083850312156121d3575f80fd5b82516121de81611ea1565b6020840151909250611f2481611ea1565b5f602082840312156121ff575f80fd5b81516001600160401b03811115612214575f80fd5b820160e08185031215612225575f80fd5b61222d611c94565b61223682611fb7565b815261224460208301611fb7565b60208201526122556040830161204d565b604082015261226660608301612073565b60608201526122776080830161209b565b608082015261228860a0830161209b565b60a082015260c08201516001600160401b038111156122a5575f80fd5b6122b1868285016120a6565b60c083015250949350505050565b601f82111561176657805f5260205f20601f840160051c810160208510156122e45750805b601f840160051c820191505b81811015612303575f81556001016122f0565b5050505050565b81516001600160401b0381111561232357612323611c80565b612337816123318454611fe6565b846122bf565b6020601f821160018114612369575f83156123525750848201515b5f19600385901b1c1916600184901b178455612303565b5f84815260208120601f198516915b828110156123985787850151825560209485019460019092019101612378565b50848210156123b557868401515f19600387901b60f8161c191681555b50505050600190811b0190555056fe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00f0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00a2646970667358221220761c84fabc2b1c2463dc8dab38410e0e76daf7bb18ea0aed257989a27855366b64736f6c634300081a0033",
483
+ "deployedBytecode": "0x608060405234801561000f575f80fd5b506004361061011c575f3560e01c8063644c45e0116100a95780638f997f6d1161006e5780638f997f6d146102b25780638fb36037146102c5578063ada9652e146102e6578063b68d1809146102fa578063bf7e214f14610309575f80fd5b8063644c45e0146102475780636c741e78146102645780637a9e5e4b146102845780637cef484214610297578063893d20e8146102aa575f80fd5b8063138461e0116100ef578063138461e0146101a75780631eff4b22146101c7578063329d6e74146101fc57806349bb9e4b1461020f5780635ab1bd5314610222575f80fd5b806301ffc9a714610120578063095e2b72146101615780630d8e6e2c146101765780630fec111c14610192575b5f80fd5b61014c61012e366004611c36565b6001600160e01b0319165f9081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b61017461016f366004611d64565b610326565b005b61017e610419565b60405162ffffff9091168152602001610158565b61019a6104a0565b6040516101589190611ddc565b6101af61062c565b6040516001600160601b039091168152602001610158565b6101ee7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b604051908152602001610158565b61017461020a366004611e70565b610636565b61017461021d366004611eb5565b610780565b6001546001600160a01b03165b6040516001600160a01b039091168152602001610158565b5f805160206123c5833981519152546001600160601b03166101af565b61026c61087c565b6040516001600160401b039091168152602001610158565b610174610292366004611ed1565b610972565b6101746102a5366004611efa565b610a13565b61022f610ae7565b6101746102c0366004611d64565b610c18565b6102cd610d9a565b6040516001600160e01b03199091168152602001610158565b6101ee5f805160206123c583398151915281565b604051600c8152602001610158565b5f805160206123e5833981519152546001600160a01b031661022f565b5f80610332600c610dcf565b92505091505f6040518060400160405280846001600160601b03168152602001858152509050816001600160a01b031663d4cda0d86040518163ffffffff1660e01b8152600401602060405180830381865afa158015610394573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906103b89190611f2f565b6001600160a01b0316632f61088a86836040518363ffffffff1660e01b81526004016103e5929190611f71565b5f604051808303815f87803b1580156103fc575f80fd5b505af115801561040e573d5f803e3d5ffd5b505050505050505050565b604051632efe011360e01b8152600360048201525f60248201819052604482018190529073__$8eede297b65ed5a56eb3f84d8232ae93f5$__90632efe011390606401602060405180830381865af4158015610477573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061049b9190611f95565b905090565b6104a8611bf9565b5f7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e0016040528073__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af415801561051e573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906105429190611fcd565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a00161058a610ae7565b6001600160a01b031681526020018260010180546105a790611fe6565b80601f01602080910402602001604051908101604052809291908181526020018280546105d390611fe6565b801561061e5780601f106105f55761010080835404028352916020019161061e565b820191905f5260205f20905b81548152906001019060200180831161060157829003601f168201915b505050505081525091505090565b5f61049b30610e6b565b73__$8eede297b65ed5a56eb3f84d8232ae93f5$__63a123b37c610658610419565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af4158015610696573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906106ba9190612032565b5f805160206124058339815191528054600160401b900460ff16806106ec575080546001600160401b03808416911610155b1561070a5760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b17815561073483611064565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a1505050565b5f805160206124058339815191528054600160401b810460ff1615906001600160401b03165f811580156107b15750825b90505f826001600160401b031660011480156107cc5750303b155b9050811580156107da575080155b156107f85760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561082257845460ff60401b1916600160401b1785555b61082c878761106c565b831561087357845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a15b50505050505050565b5f73__$1d92393fa9ccd763988368ce8a1cb90d26$__63dda777d3600c604051632392b61b60e21b81526003600482015273__$b659da7d8a6d2d32aa6c1e17da23dc2174$__90638e4ad86c90602401602060405180830381865af41580156108e7573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061090b9190612058565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865af415801561094e573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061049b9190612032565b336109915f805160206123e5833981519152546001600160a01b031690565b6001600160a01b0316816001600160a01b0316146109d15760405162d1953b60e31b81526001600160a01b03821660048201526024015b60405180910390fd5b816001600160a01b03163b5f03610a06576040516361798f2f60e11b81526001600160a01b03831660048201526024016109c8565b610a0f826112f1565b5050565b5f610a1e600c610dcf565b92505050806001600160a01b031663d4cda0d86040518163ffffffff1660e01b8152600401602060405180830381865afa158015610a5e573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610a829190611f2f565b604051633e77a42160e11b81526001600160c01b03198516600482015260ff841660248201526001600160a01b039190911690637cef4842906044015f604051808303815f87803b158015610ad5575f80fd5b505af1158015610873573d5f803e3d5ffd5b5f805f805160206123c583398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015610b53573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b779190612082565b15610c02576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015610bd8573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610bfc9190611f2f565b91505090565b54600160601b90046001600160a01b0316919050565b5f610c23600c610dcf565b925050505f816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015610c64573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610c889190611f2f565b60405163887b1fa960e01b81526001600160c01b0319861660048201529091505f906001600160a01b0383169063887b1fa9906024015f60405180830381865afa158015610cd8573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052610cff91908101906120f3565b9050838160200181905250826001600160a01b031663d4cda0d86040518163ffffffff1660e01b8152600401602060405180830381865afa158015610d46573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610d6a9190611f2f565b6001600160a01b031663a76ee018868360ff6040518463ffffffff1660e01b81526004016103e59392919061218b565b5f805160206123e583398151915280545f9190600160a01b900460ff16610dc1575f610bfc565b638fb3603760e01b91505090565b5f610dd8611bf9565b5f610deb6001546001600160a01b031690565b604051632f2a35f760e11b81523360048201526001600160a01b039190911690635e546bee90602401602060405180830381865afa158015610e2f573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610e539190611fcd565b9250610e6183856001611351565b9395909450915050565b5f805f805160206123c583398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015610ed7573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610efb9190612082565b15610f275780546040516301ab8b6760e21b81526001600160601b0390911660048201526024016109c8565b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038581166004830152919091169063c3c5a54790602401602060405180830381865afa158015610f79573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610f9d9190612082565b610fc55760405163b9304b0d60e01b81526001600160a01b03841660048201526024016109c8565b6001546001600160a01b0316604051632f2a35f760e11b81526001600160a01b0385811660048301529190911690635e546bee90602401602060405180830381865afa158015611017573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061103b9190611fcd565b81546bffffffffffffffffffffffff19166001600160601b039190911690811790915592915050565b61011c6115ee565b5f805160206124058339815191528054600160401b810460ff1615906001600160401b03165f8115801561109d5750825b90505f826001600160401b031660011480156110b85750303b155b9050811580156110c6575080155b156110e45760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561110e57845460ff60401b1916600160401b1785555b5f808780602001905181019061112491906121c2565b9150915061113382828b611626565b61113d600a61176b565b600280546001600160a01b0319166001600160a01b03928316179055600154166001600160a01b031663d39e6043600f611175610419565b60405163c9e66e2960e01b815262ffffff909116600482015273__$8eede297b65ed5a56eb3f84d8232ae93f5$__9063c9e66e2990602401602060405180830381865af41580156111c8573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906111ec9190612058565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa15801561122f573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906112539190611f2f565b600380546001600160a01b0319166001600160a01b039290921691909117905561127d600261176b565b600480546001600160a01b0319166001600160a01b03929092169190911790556112ad63fa281c5d60e01b611872565b5050831561087357845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200161086a565b5f805160206123e583398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b611359611bf9565b5f8061136d6001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03881660048201529091506001600160a01b0382169063a48f42e0906024015f60405180830381865afa1580156113ba573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526113e191908101906121ef565b925060ff8516600b1461143f57604083015160ff86811691161461143a57604080840151905163b83d92cb60e01b81526001600160601b038816600482015260ff808816602483015290911660448201526064016109c8565b6114db565b61145a836040015161144f600c90565b60ff90811691161490565b806114705750611470836040015161144f600f90565b806114865750611486836040015161144f600e90565b8061149c575061149c836040015161144f600d90565b6114db57604080840151905163b83d92cb60e01b81526001600160601b038816600482015260ff808816602483015290911660448201526064016109c8565b6114e8836020015161189e565b915083156115e557816001600160a01b031663311adb686040518163ffffffff1660e01b8152600401602060405180830381865afa15801561152c573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906115509190611f2f565b6080840151604051629b7b3560e61b81526001600160a01b0391821660048201529116906326decd4090602401602060405180830381865afa158015611598573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906115bc9190612082565b156115e557604051637d71120960e11b81526001600160601b03871660048201526024016109c8565b50935093915050565b5f8051602061240583398151915254600160401b900460ff1661162457604051631afcd79f60e31b815260040160405180910390fd5b565b61162e6115ee565b61163661192e565b6001600160a01b038216156116535761164e8261193e565b6116ca565b5f61165e600261176b565b90506116c8816001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561169f573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906116c39190611f2f565b61193e565b505b61174683846001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa15801561170a573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061172e9190611fcd565b60085f8560405180602001604052805f815250611952565b611756634a531f3360e01b611872565b61176663daf9067160e01b611872565b505050565b5f61177e6001546001600160a01b031690565b604051632392b61b60e21b8152600360048201526001600160a01b03919091169063d39e604390849073__$b659da7d8a6d2d32aa6c1e17da23dc2174$__90638e4ad86c90602401602060405180830381865af41580156117e1573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906118059190612058565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa158015611848573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061186c9190611f2f565b92915050565b61187a6115ee565b6001600160e01b0319165f908152602081905260409020805460ff19166001179055565b5f6118b16001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03841660048201526001600160a01b03919091169063a48f42e0906024015f60405180830381865afa1580156118fd573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f1916820160405261192491908101906121ef565b6080015192915050565b6119366115ee565b6116246119f7565b6119466115ee565b61194f81611a25565b50565b61195a6115ee565b6119648287611a36565b7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0387166cffffffffffffffffffffffffff1990911617600160601b60ff8716021760ff60681b1916600160681b851515021781557f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa3016119ed838261230a565b5050505050505050565b6119ff6115ee565b60017f9b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f0055565b611a2d6115ee565b61194f816112f1565b611a3e6115ee565b611a4781611aac565b611a4f611bb4565b6001600160a01b038216611a765760405163f17ef42d60e01b815260040160405180910390fd5b505f805160206123c583398151915280546001600160601b0316600160601b6001600160a01b0390931692909202919091179055565b611ab46115ee565b806001600160a01b03163b5f03611ae95760405163fdeac91f60e01b81526001600160a01b03821660048201526024016109c8565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b8152632f6da6f960e01b60048201526301ffc9a790602401602060405180830381865afa925050508015611b63575060408051601f3d908101601f19168201909252611b6091810190612082565b60015b611b8b5760405163fdeac91f60e01b81526001600160a01b03821660048201526024016109c8565b80610a0f5760405163fdeac91f60e01b81526001600160a01b03831660048201526024016109c8565b611bbc6115ee565b6301ffc9a760e01b5f9081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b6040805160e0810182525f8082526020820181905291810182905260608082018390526080820183905260a082019290925260c081019190915290565b5f60208284031215611c46575f80fd5b81356001600160e01b031981168114611c5d575f80fd5b9392505050565b80356001600160c01b031981168114611c7b575f80fd5b919050565b634e487b7160e01b5f52604160045260245ffd5b60405160e081016001600160401b0381118282101715611cb657611cb6611c80565b60405290565b604051601f8201601f191681016001600160401b0381118282101715611ce457611ce4611c80565b604052919050565b5f6001600160401b03821115611d0457611d04611c80565b50601f01601f191660200190565b5f82601f830112611d21575f80fd5b8135611d34611d2f82611cec565b611cbc565b818152846020838601011115611d48575f80fd5b816020850160208301375f918101602001919091529392505050565b5f8060408385031215611d75575f80fd5b611d7e83611c64565b915060208301356001600160401b03811115611d98575f80fd5b611da485828601611d12565b9150509250929050565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081526001600160601b0382511660208201526001600160601b03602083015116604082015260ff60408301511660608201525f6060830151611e24608084018215159052565b5060808301516001600160a01b03811660a08401525060a08301516001600160a01b03811660c08401525060c083015160e080840152611e68610100840182611dae565b949350505050565b5f60208284031215611e80575f80fd5b81356001600160401b03811115611e95575f80fd5b611e6884828501611d12565b6001600160a01b038116811461194f575f80fd5b5f8060408385031215611ec6575f80fd5b8235611d7e81611ea1565b5f60208284031215611ee1575f80fd5b8135611c5d81611ea1565b60ff8116811461194f575f80fd5b5f8060408385031215611f0b575f80fd5b611f1483611c64565b91506020830135611f2481611eec565b809150509250929050565b5f60208284031215611f3f575f80fd5b8151611c5d81611ea1565b6001600160601b0381511682525f602082015160406020850152611e686040850182611dae565b6001600160401b0360c01b83168152604060208201525f611e686040830184611f4a565b5f60208284031215611fa5575f80fd5b815162ffffff81168114611c5d575f80fd5b80516001600160601b0381168114611c7b575f80fd5b5f60208284031215611fdd575f80fd5b611c5d82611fb7565b600181811c90821680611ffa57607f821691505b60208210810361201857634e487b7160e01b5f52602260045260245ffd5b50919050565b6001600160401b038116811461194f575f80fd5b5f60208284031215612042575f80fd5b8151611c5d8161201e565b8051611c7b81611eec565b5f60208284031215612068575f80fd5b8151611c5d81611eec565b80518015158114611c7b575f80fd5b5f60208284031215612092575f80fd5b611c5d82612073565b8051611c7b81611ea1565b5f82601f8301126120b5575f80fd5b81516120c3611d2f82611cec565b8181528460208386010111156120d7575f80fd5b8160208501602083015e5f918101602001919091529392505050565b5f60208284031215612103575f80fd5b81516001600160401b03811115612118575f80fd5b820160408185031215612129575f80fd5b604080519081016001600160401b038111828210171561214b5761214b611c80565b60405261215782611fb7565b815260208201516001600160401b03811115612171575f80fd5b61217d868285016120a6565b602083015250949350505050565b6001600160401b0360c01b84168152606060208201525f6121af6060830185611f4a565b905060ff83166040830152949350505050565b5f80604083850312156121d3575f80fd5b82516121de81611ea1565b6020840151909250611f2481611ea1565b5f602082840312156121ff575f80fd5b81516001600160401b03811115612214575f80fd5b820160e08185031215612225575f80fd5b61222d611c94565b61223682611fb7565b815261224460208301611fb7565b60208201526122556040830161204d565b604082015261226660608301612073565b60608201526122776080830161209b565b608082015261228860a0830161209b565b60a082015260c08201516001600160401b038111156122a5575f80fd5b6122b1868285016120a6565b60c083015250949350505050565b601f82111561176657805f5260205f20601f840160051c810160208510156122e45750805b601f840160051c820191505b81811015612303575f81556001016122f0565b5050505050565b81516001600160401b0381111561232357612323611c80565b612337816123318454611fe6565b846122bf565b6020601f821160018114612369575f83156123525750848201515b5f19600385901b1c1916600184901b178455612303565b5f84815260208120601f198516915b828110156123985787850151825560209485019460019092019101612378565b50848210156123b557868401515f19600387901b60f8161c191681555b50505050600190811b0190555056fe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00f0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00a2646970667358221220761c84fabc2b1c2463dc8dab38410e0e76daf7bb18ea0aed257989a27855366b64736f6c634300081a0033",
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/36584fefa2ccd62790a37608c0192411.json"
4
+ }