@etherisc/gif-next 0.0.2-d64ea51-772 → 0.0.2-d6609af-567

Sign up to get free protection for your applications and to get access to all the features.
Files changed (706) hide show
  1. package/README.md +121 -18
  2. package/artifacts/contracts/authorization/AccessAdmin.sol/AccessAdmin.dbg.json +4 -0
  3. package/artifacts/contracts/authorization/AccessAdmin.sol/AccessAdmin.json +1234 -0
  4. package/artifacts/contracts/authorization/AccessManagerCloneable.sol/AccessManagerCloneable.dbg.json +4 -0
  5. package/artifacts/contracts/authorization/AccessManagerCloneable.sol/AccessManagerCloneable.json +1206 -0
  6. package/artifacts/contracts/authorization/Authorization.sol/Authorization.dbg.json +4 -0
  7. package/artifacts/contracts/authorization/Authorization.sol/Authorization.json +358 -0
  8. package/artifacts/contracts/authorization/IAccess.sol/IAccess.dbg.json +4 -0
  9. package/artifacts/contracts/{instance/module/ISetup.sol/ISetup.json → authorization/IAccess.sol/IAccess.json} +2 -2
  10. package/artifacts/contracts/authorization/IAccessAdmin.sol/IAccessAdmin.dbg.json +4 -0
  11. package/artifacts/contracts/{instance/IAccessManagerSimple.sol/IAccessManagerSimple.json → authorization/IAccessAdmin.sol/IAccessAdmin.json} +483 -552
  12. package/artifacts/contracts/authorization/IAuthorization.sol/IAuthorization.dbg.json +4 -0
  13. package/artifacts/contracts/authorization/IAuthorization.sol/IAuthorization.json +258 -0
  14. package/artifacts/contracts/authorization/IModuleAuthorization.sol/IModuleAuthorization.dbg.json +4 -0
  15. package/artifacts/contracts/authorization/IModuleAuthorization.sol/IModuleAuthorization.json +290 -0
  16. package/artifacts/contracts/authorization/IServiceAuthorization.sol/IServiceAuthorization.dbg.json +4 -0
  17. package/artifacts/contracts/authorization/IServiceAuthorization.sol/IServiceAuthorization.json +148 -0
  18. package/artifacts/contracts/authorization/ModuleAuthorization.sol/ModuleAuthorization.dbg.json +4 -0
  19. package/artifacts/contracts/authorization/ModuleAuthorization.sol/ModuleAuthorization.json +390 -0
  20. package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.dbg.json +4 -0
  21. package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.json +190 -0
  22. package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.dbg.json +4 -0
  23. package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.json +1363 -0
  24. package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.dbg.json +4 -0
  25. package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.json +410 -0
  26. package/artifacts/contracts/distribution/Distribution.sol/Distribution.dbg.json +4 -0
  27. package/artifacts/contracts/distribution/Distribution.sol/Distribution.json +1033 -0
  28. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.dbg.json +4 -0
  29. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.json +1405 -0
  30. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +4 -0
  31. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.json +818 -0
  32. package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.dbg.json +4 -0
  33. package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.json +927 -0
  34. package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.dbg.json +4 -0
  35. package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.json +932 -0
  36. package/artifacts/contracts/examples/fire/DamageLevel.sol/DamageLevelLib.dbg.json +4 -0
  37. package/artifacts/contracts/examples/fire/DamageLevel.sol/DamageLevelLib.json +22 -0
  38. package/artifacts/contracts/examples/fire/FirePool.sol/FirePool.dbg.json +4 -0
  39. package/artifacts/contracts/examples/fire/FirePool.sol/FirePool.json +1512 -0
  40. package/artifacts/contracts/examples/fire/FirePoolAuthorization.sol/FirePoolAuthorization.dbg.json +4 -0
  41. package/artifacts/contracts/examples/fire/FirePoolAuthorization.sol/FirePoolAuthorization.json +410 -0
  42. package/artifacts/contracts/examples/fire/FireProduct.sol/FireProduct.dbg.json +4 -0
  43. package/artifacts/contracts/examples/fire/FireProduct.sol/FireProduct.json +1999 -0
  44. package/artifacts/contracts/examples/fire/FireProductAuthorization.sol/FireProductAuthorization.dbg.json +4 -0
  45. package/artifacts/contracts/examples/fire/FireProductAuthorization.sol/FireProductAuthorization.json +414 -0
  46. package/artifacts/contracts/examples/fire/FireUSD.sol/FireUSD.dbg.json +4 -0
  47. package/artifacts/contracts/examples/fire/FireUSD.sol/FireUSD.json +376 -0
  48. package/artifacts/contracts/examples/unpermissioned/SimpleDistribution.sol/SimpleDistribution.dbg.json +4 -0
  49. package/artifacts/contracts/examples/unpermissioned/SimpleDistribution.sol/SimpleDistribution.json +1432 -0
  50. package/artifacts/contracts/examples/unpermissioned/SimpleOracle.sol/SimpleOracle.dbg.json +4 -0
  51. package/artifacts/contracts/examples/unpermissioned/SimpleOracle.sol/SimpleOracle.json +1192 -0
  52. package/artifacts/contracts/examples/unpermissioned/SimplePool.sol/SimplePool.dbg.json +4 -0
  53. package/artifacts/contracts/examples/unpermissioned/SimplePool.sol/SimplePool.json +1566 -0
  54. package/artifacts/contracts/examples/unpermissioned/SimpleProduct.sol/SimpleProduct.dbg.json +4 -0
  55. package/artifacts/contracts/examples/unpermissioned/SimpleProduct.sol/SimpleProduct.json +2001 -0
  56. package/artifacts/contracts/instance/BundleSet.sol/BundleSet.dbg.json +4 -0
  57. package/artifacts/contracts/instance/BundleSet.sol/BundleSet.json +703 -0
  58. package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
  59. package/artifacts/contracts/instance/IInstance.sol/IInstance.json +277 -1290
  60. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +1 -1
  61. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +447 -170
  62. package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
  63. package/artifacts/contracts/instance/Instance.sol/Instance.json +346 -3093
  64. package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.dbg.json +4 -0
  65. package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.json +1623 -0
  66. package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.dbg.json +4 -0
  67. package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.json +601 -0
  68. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +1 -1
  69. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +1010 -379
  70. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +1 -1
  71. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +515 -393
  72. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +1 -1
  73. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +329 -123
  74. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.dbg.json +4 -0
  75. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.json +3607 -0
  76. package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.dbg.json +4 -0
  77. package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.json +318 -0
  78. package/artifacts/contracts/instance/base/Cloneable.sol/Cloneable.dbg.json +4 -0
  79. package/artifacts/contracts/instance/{AccessManagedSimple.sol/AccessManagedSimple.json → base/Cloneable.sol/Cloneable.json} +38 -2
  80. package/artifacts/contracts/instance/base/ObjectCounter.sol/ObjectCounter.dbg.json +4 -0
  81. package/artifacts/contracts/instance/base/ObjectCounter.sol/ObjectCounter.json +10 -0
  82. package/artifacts/contracts/instance/base/ObjectLifecycle.sol/ObjectLifecycle.dbg.json +4 -0
  83. package/artifacts/contracts/instance/base/ObjectLifecycle.sol/ObjectLifecycle.json +182 -0
  84. package/artifacts/contracts/instance/base/ObjectSet.sol/ObjectSet.dbg.json +4 -0
  85. package/artifacts/contracts/instance/base/ObjectSet.sol/ObjectSet.json +181 -0
  86. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.dbg.json +1 -1
  87. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.json +30 -112
  88. package/artifacts/contracts/instance/module/IBundle.sol/IBundle.dbg.json +1 -1
  89. package/artifacts/contracts/instance/module/IComponents.sol/IComponents.dbg.json +4 -0
  90. package/artifacts/contracts/instance/module/{ITreasury.sol/ITreasury.json → IComponents.sol/IComponents.json} +2 -2
  91. package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.dbg.json +1 -1
  92. package/artifacts/contracts/instance/module/IPolicy.sol/IPolicy.dbg.json +1 -1
  93. package/artifacts/contracts/instance/module/IRisk.sol/IRisk.dbg.json +1 -1
  94. package/artifacts/contracts/mock/Dip.sol/Dip.dbg.json +4 -0
  95. package/artifacts/contracts/mock/Dip.sol/Dip.json +376 -0
  96. package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.dbg.json +4 -0
  97. package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.json +1000 -0
  98. package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.dbg.json +4 -0
  99. package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.json +418 -0
  100. package/artifacts/contracts/oracle/IOracle.sol/IOracle.dbg.json +4 -0
  101. package/artifacts/contracts/oracle/IOracle.sol/IOracle.json +52 -0
  102. package/artifacts/contracts/oracle/IOracleComponent.sol/IOracleComponent.dbg.json +4 -0
  103. package/artifacts/contracts/{instance/service/IProductService.sol/IProductService.json → oracle/IOracleComponent.sol/IOracleComponent.json} +398 -372
  104. package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.dbg.json +4 -0
  105. package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.json +675 -0
  106. package/artifacts/contracts/oracle/Oracle.sol/Oracle.dbg.json +4 -0
  107. package/artifacts/contracts/oracle/Oracle.sol/Oracle.json +892 -0
  108. package/artifacts/contracts/oracle/OracleService.sol/OracleService.dbg.json +4 -0
  109. package/artifacts/contracts/oracle/OracleService.sol/OracleService.json +927 -0
  110. package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.dbg.json +4 -0
  111. package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.json +710 -0
  112. package/artifacts/contracts/pool/BasicPool.sol/BasicPool.dbg.json +4 -0
  113. package/artifacts/contracts/pool/BasicPool.sol/BasicPool.json +1297 -0
  114. package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.dbg.json +4 -0
  115. package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.json +410 -0
  116. package/artifacts/contracts/pool/BundleService.sol/BundleService.dbg.json +4 -0
  117. package/artifacts/contracts/pool/BundleService.sol/BundleService.json +1431 -0
  118. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.dbg.json +4 -0
  119. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.json +822 -0
  120. package/artifacts/contracts/pool/IBundleService.sol/IBundleService.dbg.json +4 -0
  121. package/artifacts/contracts/pool/IBundleService.sol/IBundleService.json +931 -0
  122. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.dbg.json +4 -0
  123. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.json +958 -0
  124. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.dbg.json +4 -0
  125. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.json +1267 -0
  126. package/artifacts/contracts/pool/Pool.sol/Pool.dbg.json +4 -0
  127. package/artifacts/contracts/pool/Pool.sol/Pool.json +1083 -0
  128. package/artifacts/contracts/pool/PoolService.sol/PoolService.dbg.json +4 -0
  129. package/artifacts/contracts/pool/PoolService.sol/PoolService.json +1612 -0
  130. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.dbg.json +4 -0
  131. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.json +758 -0
  132. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.dbg.json +4 -0
  133. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.json +737 -0
  134. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +4 -0
  135. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.json +698 -0
  136. package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.dbg.json +4 -0
  137. package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.json +1119 -0
  138. package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.dbg.json +4 -0
  139. package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.json +410 -0
  140. package/artifacts/contracts/product/ClaimService.sol/ClaimService.dbg.json +4 -0
  141. package/artifacts/contracts/product/ClaimService.sol/ClaimService.json +1397 -0
  142. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +4 -0
  143. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.json +826 -0
  144. package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.dbg.json +4 -0
  145. package/artifacts/contracts/{instance/base/ComponentServiceBase.sol/ComponentServiceBase.json → product/IApplicationService.sol/IApplicationService.json} +205 -228
  146. package/artifacts/contracts/product/IClaimService.sol/IClaimService.dbg.json +4 -0
  147. package/artifacts/contracts/product/IClaimService.sol/IClaimService.json +913 -0
  148. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.dbg.json +4 -0
  149. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.json +896 -0
  150. package/artifacts/contracts/product/IPricingService.sol/IPricingService.dbg.json +4 -0
  151. package/artifacts/contracts/{instance/service/IDistributionService.sol/IDistributionService.json → product/IPricingService.sol/IPricingService.json} +290 -187
  152. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.dbg.json +4 -0
  153. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.json +971 -0
  154. package/artifacts/contracts/product/IRiskService.sol/IRiskService.dbg.json +4 -0
  155. package/artifacts/contracts/{instance/service/IComponentOwnerService.sol/IComponentOwnerService.json → product/IRiskService.sol/IRiskService.json} +125 -191
  156. package/artifacts/contracts/product/PolicyService.sol/PolicyService.dbg.json +4 -0
  157. package/artifacts/contracts/product/PolicyService.sol/PolicyService.json +1268 -0
  158. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +4 -0
  159. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.json +770 -0
  160. package/artifacts/contracts/product/PricingService.sol/PricingService.dbg.json +4 -0
  161. package/artifacts/contracts/product/PricingService.sol/PricingService.json +865 -0
  162. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.dbg.json +4 -0
  163. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.json +746 -0
  164. package/artifacts/contracts/product/Product.sol/Product.dbg.json +4 -0
  165. package/artifacts/contracts/product/Product.sol/Product.json +1077 -0
  166. package/artifacts/contracts/product/RiskService.sol/RiskService.dbg.json +4 -0
  167. package/artifacts/contracts/product/RiskService.sol/RiskService.json +588 -0
  168. package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.dbg.json +4 -0
  169. package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.json +682 -0
  170. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
  171. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +72 -16
  172. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
  173. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +611 -127
  174. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +1 -1
  175. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +290 -297
  176. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +1 -1
  177. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.json +18 -0
  178. package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
  179. package/artifacts/contracts/registry/Registry.sol/Registry.json +940 -162
  180. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.dbg.json +4 -0
  181. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.json +1858 -0
  182. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +1 -1
  183. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +279 -410
  184. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +1 -1
  185. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +315 -131
  186. package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.dbg.json +4 -0
  187. package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.json +164 -0
  188. package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.dbg.json +4 -0
  189. package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.json +1169 -0
  190. package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.dbg.json +4 -0
  191. package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.json +214 -0
  192. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +1 -1
  193. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +351 -100
  194. package/artifacts/contracts/shared/Component.sol/Component.dbg.json +4 -0
  195. package/artifacts/contracts/shared/Component.sol/Component.json +706 -0
  196. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.dbg.json +4 -0
  197. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.json +1573 -0
  198. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.dbg.json +4 -0
  199. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.json +794 -0
  200. package/artifacts/contracts/shared/ComponentVerifyingService.sol/ComponentVerifyingService.dbg.json +4 -0
  201. package/artifacts/contracts/shared/{RegisterableUpgradable.sol/RegisterableUpgradable.json → ComponentVerifyingService.sol/ComponentVerifyingService.json} +149 -159
  202. package/artifacts/contracts/shared/ContractLib.sol/ContractLib.dbg.json +4 -0
  203. package/artifacts/contracts/shared/ContractLib.sol/ContractLib.json +92 -0
  204. package/artifacts/contracts/shared/IComponent.sol/IComponent.dbg.json +4 -0
  205. package/artifacts/contracts/{instance/service/IPoolService.sol/IPoolService.json → shared/IComponent.sol/IComponent.json} +316 -338
  206. package/artifacts/contracts/shared/IComponentService.sol/IComponentService.dbg.json +4 -0
  207. package/artifacts/contracts/shared/IComponentService.sol/IComponentService.json +1033 -0
  208. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.dbg.json +4 -0
  209. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.json +721 -0
  210. package/artifacts/contracts/shared/IKeyValueStore.sol/IKeyValueStore.dbg.json +4 -0
  211. package/artifacts/contracts/{instance/base → shared}/IKeyValueStore.sol/IKeyValueStore.json +59 -14
  212. package/artifacts/contracts/shared/ILifecycle.sol/ILifecycle.dbg.json +4 -0
  213. package/artifacts/contracts/{instance/base → shared}/ILifecycle.sol/ILifecycle.json +1 -6
  214. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +1 -1
  215. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.json +34 -30
  216. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.dbg.json +4 -0
  217. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.json +175 -0
  218. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
  219. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +15 -35
  220. package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.dbg.json +4 -0
  221. package/artifacts/contracts/{experiment/inheritance/IA.sol/ISharedA.json → shared/IRegistryLinked.sol/IRegistryLinked.json} +15 -17
  222. package/artifacts/contracts/shared/IService.sol/IService.dbg.json +1 -1
  223. package/artifacts/contracts/shared/IService.sol/IService.json +97 -172
  224. package/artifacts/contracts/shared/InitializableERC165.sol/InitializableERC165.dbg.json +4 -0
  225. package/artifacts/contracts/shared/InitializableERC165.sol/InitializableERC165.json +53 -0
  226. package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.dbg.json +4 -0
  227. package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.json +814 -0
  228. package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.dbg.json +4 -0
  229. package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.json +497 -0
  230. package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.dbg.json +4 -0
  231. package/artifacts/contracts/{experiment/statemachine/ISM.sol/ISM.json → shared/Lifecycle.sol/Lifecycle.json} +54 -45
  232. package/artifacts/contracts/shared/NftIdSet.sol/NftIdSet.dbg.json +4 -0
  233. package/artifacts/contracts/shared/NftIdSet.sol/NftIdSet.json +306 -0
  234. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +1 -1
  235. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +65 -30
  236. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.dbg.json +4 -0
  237. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.json +198 -0
  238. package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
  239. package/artifacts/contracts/shared/Registerable.sol/Registerable.json +44 -54
  240. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.dbg.json +4 -0
  241. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.json +58 -0
  242. package/artifacts/contracts/shared/Service.sol/Service.dbg.json +1 -1
  243. package/artifacts/contracts/shared/Service.sol/Service.json +115 -183
  244. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +1 -1
  245. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +382 -9
  246. package/artifacts/contracts/shared/TokenHandlerDeployerLib.sol/TokenHandlerDeployerLib.dbg.json +4 -0
  247. package/artifacts/contracts/shared/TokenHandlerDeployerLib.sol/TokenHandlerDeployerLib.json +108 -0
  248. package/artifacts/contracts/staking/IStaking.sol/IStaking.dbg.json +4 -0
  249. package/artifacts/contracts/staking/IStaking.sol/IStaking.json +1459 -0
  250. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.dbg.json +4 -0
  251. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.json +1035 -0
  252. package/artifacts/contracts/staking/StakeManagerLib.sol/StakeManagerLib.dbg.json +4 -0
  253. package/artifacts/contracts/staking/StakeManagerLib.sol/StakeManagerLib.json +440 -0
  254. package/artifacts/contracts/staking/Staking.sol/Staking.dbg.json +4 -0
  255. package/artifacts/contracts/staking/Staking.sol/Staking.json +1849 -0
  256. package/artifacts/contracts/staking/StakingLifecycle.sol/StakingLifecycle.dbg.json +4 -0
  257. package/artifacts/contracts/staking/StakingLifecycle.sol/StakingLifecycle.json +164 -0
  258. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.dbg.json +4 -0
  259. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.json +750 -0
  260. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.dbg.json +4 -0
  261. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.json +587 -0
  262. package/artifacts/contracts/staking/StakingService.sol/StakingService.dbg.json +4 -0
  263. package/artifacts/contracts/staking/StakingService.sol/StakingService.json +1236 -0
  264. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.dbg.json +4 -0
  265. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.json +698 -0
  266. package/artifacts/contracts/staking/StakingStore.sol/StakingStore.dbg.json +4 -0
  267. package/artifacts/contracts/staking/StakingStore.sol/StakingStore.json +2242 -0
  268. package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.dbg.json +4 -0
  269. package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.json +607 -0
  270. package/artifacts/contracts/type/AddressSet.sol/LibAddressSet.dbg.json +4 -0
  271. package/artifacts/contracts/type/AddressSet.sol/LibAddressSet.json +10 -0
  272. package/artifacts/contracts/type/Amount.sol/AmountLib.dbg.json +4 -0
  273. package/artifacts/contracts/type/Amount.sol/AmountLib.json +398 -0
  274. package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.dbg.json +4 -0
  275. package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.json +225 -0
  276. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.dbg.json +4 -0
  277. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.json +203 -0
  278. package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.dbg.json +4 -0
  279. package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.json +104 -0
  280. package/artifacts/contracts/type/Fee.sol/FeeLib.dbg.json +4 -0
  281. package/artifacts/contracts/type/Fee.sol/FeeLib.json +317 -0
  282. package/artifacts/contracts/type/Key32.sol/Key32Lib.dbg.json +4 -0
  283. package/artifacts/contracts/type/Key32.sol/Key32Lib.json +125 -0
  284. package/artifacts/contracts/type/NftId.sol/NftIdLib.dbg.json +4 -0
  285. package/artifacts/contracts/type/NftId.sol/NftIdLib.json +209 -0
  286. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.dbg.json +4 -0
  287. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.json +33 -0
  288. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.dbg.json +4 -0
  289. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.json +239 -0
  290. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.dbg.json +4 -0
  291. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.json +209 -0
  292. package/artifacts/contracts/type/Referral.sol/ReferralLib.dbg.json +4 -0
  293. package/artifacts/contracts/type/Referral.sol/ReferralLib.json +142 -0
  294. package/artifacts/contracts/type/RequestId.sol/RequestIdLib.dbg.json +4 -0
  295. package/artifacts/contracts/type/RequestId.sol/RequestIdLib.json +204 -0
  296. package/artifacts/contracts/type/RiskId.sol/RiskIdLib.dbg.json +4 -0
  297. package/artifacts/contracts/type/RiskId.sol/RiskIdLib.json +142 -0
  298. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.dbg.json +4 -0
  299. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.json +369 -0
  300. package/artifacts/contracts/type/Seconds.sol/SecondsLib.dbg.json +4 -0
  301. package/artifacts/contracts/type/Seconds.sol/SecondsLib.json +246 -0
  302. package/artifacts/contracts/type/Selector.sol/SelectorLib.dbg.json +4 -0
  303. package/artifacts/contracts/type/Selector.sol/SelectorLib.json +129 -0
  304. package/artifacts/contracts/type/Selector.sol/SelectorSetLib.dbg.json +4 -0
  305. package/artifacts/contracts/type/Selector.sol/SelectorSetLib.json +10 -0
  306. package/artifacts/contracts/type/StateId.sol/StateIdLib.dbg.json +4 -0
  307. package/artifacts/contracts/{types → type}/StateId.sol/StateIdLib.json +3 -3
  308. package/artifacts/contracts/type/String.sol/StrLib.dbg.json +4 -0
  309. package/artifacts/contracts/type/String.sol/StrLib.json +132 -0
  310. package/artifacts/contracts/type/Timestamp.sol/TimestampLib.dbg.json +4 -0
  311. package/artifacts/contracts/type/Timestamp.sol/TimestampLib.json +312 -0
  312. package/artifacts/contracts/type/UFixed.sol/MathLib.dbg.json +4 -0
  313. package/artifacts/contracts/type/UFixed.sol/MathLib.json +16 -0
  314. package/artifacts/contracts/type/UFixed.sol/UFixedLib.dbg.json +4 -0
  315. package/artifacts/contracts/type/UFixed.sol/UFixedLib.json +548 -0
  316. package/artifacts/contracts/type/Version.sol/VersionLib.dbg.json +4 -0
  317. package/artifacts/contracts/type/Version.sol/VersionLib.json +177 -0
  318. package/artifacts/contracts/type/Version.sol/VersionPartLib.dbg.json +4 -0
  319. package/artifacts/contracts/type/Version.sol/VersionPartLib.json +68 -0
  320. package/artifacts/contracts/upgradeability/IVersionable.sol/IVersionable.dbg.json +4 -0
  321. package/artifacts/contracts/upgradeability/IVersionable.sol/IVersionable.json +55 -0
  322. package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.dbg.json +4 -0
  323. package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.json +586 -0
  324. package/artifacts/contracts/upgradeability/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +4 -0
  325. package/artifacts/contracts/upgradeability/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +129 -0
  326. package/artifacts/contracts/upgradeability/Versionable.sol/Versionable.dbg.json +4 -0
  327. package/artifacts/contracts/upgradeability/Versionable.sol/Versionable.json +78 -0
  328. package/contracts/authorization/AccessAdmin.sol +592 -0
  329. package/contracts/authorization/AccessManagerCloneable.sol +16 -0
  330. package/contracts/authorization/Authorization.sol +221 -0
  331. package/contracts/authorization/IAccess.sol +48 -0
  332. package/contracts/authorization/IAccessAdmin.sol +135 -0
  333. package/contracts/authorization/IAuthorization.sol +54 -0
  334. package/contracts/authorization/IModuleAuthorization.sol +21 -0
  335. package/contracts/authorization/IServiceAuthorization.sol +38 -0
  336. package/contracts/authorization/ModuleAuthorization.sol +78 -0
  337. package/contracts/authorization/ServiceAuthorization.sol +90 -0
  338. package/contracts/distribution/BasicDistribution.sol +138 -0
  339. package/contracts/distribution/BasicDistributionAuthorization.sol +47 -0
  340. package/contracts/distribution/Distribution.sol +295 -0
  341. package/contracts/distribution/DistributionService.sol +336 -0
  342. package/contracts/distribution/DistributionServiceManager.sol +39 -0
  343. package/contracts/distribution/IDistributionComponent.sol +52 -0
  344. package/contracts/distribution/IDistributionService.sol +101 -0
  345. package/contracts/examples/fire/DamageLevel.sol +59 -0
  346. package/contracts/examples/fire/FirePool.sol +75 -0
  347. package/contracts/examples/fire/FirePoolAuthorization.sol +34 -0
  348. package/contracts/examples/fire/FireProduct.sol +413 -0
  349. package/contracts/examples/fire/FireProductAuthorization.sol +45 -0
  350. package/contracts/examples/fire/FireUSD.sol +26 -0
  351. package/contracts/examples/unpermissioned/SimpleDistribution.sol +50 -0
  352. package/contracts/examples/unpermissioned/SimpleOracle.sol +137 -0
  353. package/contracts/examples/unpermissioned/SimplePool.sol +76 -0
  354. package/contracts/examples/unpermissioned/SimpleProduct.sol +351 -0
  355. package/contracts/instance/BundleSet.sol +126 -0
  356. package/contracts/instance/IInstance.sol +56 -47
  357. package/contracts/instance/IInstanceService.sol +78 -16
  358. package/contracts/instance/Instance.sol +159 -373
  359. package/contracts/instance/InstanceAdmin.sol +288 -0
  360. package/contracts/instance/InstanceAuthorizationV3.sol +204 -0
  361. package/contracts/instance/InstanceReader.sol +264 -84
  362. package/contracts/instance/InstanceService.sol +421 -154
  363. package/contracts/instance/InstanceServiceManager.sol +14 -32
  364. package/contracts/instance/InstanceStore.sol +287 -0
  365. package/contracts/instance/base/BalanceStore.sol +123 -0
  366. package/contracts/instance/base/Cloneable.sol +28 -0
  367. package/contracts/instance/base/ObjectCounter.sol +21 -0
  368. package/contracts/instance/base/ObjectLifecycle.sol +111 -0
  369. package/contracts/instance/base/ObjectSet.sol +79 -0
  370. package/contracts/instance/module/IAccess.sol +29 -21
  371. package/contracts/instance/module/IBundle.sol +8 -8
  372. package/contracts/instance/module/IComponents.sol +48 -0
  373. package/contracts/instance/module/IDistribution.sol +6 -4
  374. package/contracts/instance/module/IPolicy.sol +58 -19
  375. package/contracts/instance/module/IRisk.sol +1 -1
  376. package/contracts/{test/Usdc.sol → mock/Dip.sol} +6 -6
  377. package/contracts/oracle/BasicOracle.sol +48 -0
  378. package/contracts/oracle/BasicOracleAuthorization.sol +46 -0
  379. package/contracts/oracle/IOracle.sol +36 -0
  380. package/contracts/oracle/IOracleComponent.sol +33 -0
  381. package/contracts/oracle/IOracleService.sol +65 -0
  382. package/contracts/oracle/Oracle.sol +167 -0
  383. package/contracts/oracle/OracleService.sol +281 -0
  384. package/contracts/oracle/OracleServiceManager.sol +39 -0
  385. package/contracts/pool/BasicPool.sol +166 -0
  386. package/contracts/pool/BasicPoolAuthorization.sol +58 -0
  387. package/contracts/pool/BundleService.sol +461 -0
  388. package/contracts/pool/BundleServiceManager.sol +39 -0
  389. package/contracts/pool/IBundleService.sol +143 -0
  390. package/contracts/pool/IPoolComponent.sol +68 -0
  391. package/contracts/pool/IPoolService.sol +171 -0
  392. package/contracts/pool/Pool.sol +353 -0
  393. package/contracts/pool/PoolService.sol +563 -0
  394. package/contracts/pool/PoolServiceManager.sol +39 -0
  395. package/contracts/product/ApplicationService.sol +251 -0
  396. package/contracts/product/ApplicationServiceManager.sol +38 -0
  397. package/contracts/product/BasicProduct.sol +53 -0
  398. package/contracts/product/BasicProductAuthorization.sol +43 -0
  399. package/contracts/product/ClaimService.sol +581 -0
  400. package/contracts/product/ClaimServiceManager.sol +38 -0
  401. package/contracts/product/IApplicationService.sol +63 -0
  402. package/contracts/product/IClaimService.sol +123 -0
  403. package/contracts/product/IPolicyService.sol +80 -0
  404. package/contracts/product/IPricingService.sol +39 -0
  405. package/contracts/product/IProductComponent.sol +53 -0
  406. package/contracts/product/IRiskService.sol +33 -0
  407. package/contracts/product/PolicyService.sol +686 -0
  408. package/contracts/product/PolicyServiceManager.sol +39 -0
  409. package/contracts/product/PricingService.sol +300 -0
  410. package/contracts/product/PricingServiceManager.sol +39 -0
  411. package/contracts/product/Product.sol +432 -0
  412. package/contracts/product/RiskService.sol +96 -0
  413. package/contracts/product/RiskServiceManager.sol +39 -0
  414. package/contracts/registry/ChainNft.sol +79 -31
  415. package/contracts/registry/IRegistry.sol +124 -35
  416. package/contracts/registry/IRegistryService.sol +38 -28
  417. package/contracts/registry/ITransferInterceptor.sol +1 -0
  418. package/contracts/registry/Registry.sol +532 -273
  419. package/contracts/registry/RegistryAdmin.sol +464 -0
  420. package/contracts/registry/RegistryService.sol +135 -234
  421. package/contracts/registry/RegistryServiceManager.sol +26 -53
  422. package/contracts/registry/ReleaseLifecycle.sol +27 -0
  423. package/contracts/registry/ReleaseRegistry.sol +491 -0
  424. package/contracts/registry/ServiceAuthorizationV3.sol +198 -0
  425. package/contracts/registry/TokenRegistry.sol +261 -57
  426. package/contracts/shared/Component.sol +276 -0
  427. package/contracts/shared/ComponentService.sol +641 -0
  428. package/contracts/shared/ComponentServiceManager.sol +38 -0
  429. package/contracts/shared/ComponentVerifyingService.sol +116 -0
  430. package/contracts/shared/ContractLib.sol +38 -0
  431. package/contracts/shared/IComponent.sol +73 -0
  432. package/contracts/shared/IComponentService.sol +108 -0
  433. package/contracts/shared/IInstanceLinkedComponent.sol +49 -0
  434. package/contracts/{instance/base → shared}/IKeyValueStore.sol +16 -11
  435. package/contracts/{instance/base → shared}/ILifecycle.sol +3 -4
  436. package/contracts/shared/INftOwnable.sol +13 -12
  437. package/contracts/shared/IPolicyHolder.sol +35 -0
  438. package/contracts/shared/IRegisterable.sol +4 -6
  439. package/contracts/shared/IRegistryLinked.sol +11 -0
  440. package/contracts/shared/IService.sol +16 -6
  441. package/contracts/shared/InitializableERC165.sol +27 -0
  442. package/contracts/shared/InstanceLinkedComponent.sol +171 -0
  443. package/contracts/shared/KeyValueStore.sol +131 -0
  444. package/contracts/shared/Lifecycle.sol +77 -0
  445. package/contracts/shared/NftIdSet.sol +65 -0
  446. package/contracts/shared/NftOwnable.sol +59 -86
  447. package/contracts/shared/PolicyHolder.sol +62 -0
  448. package/contracts/shared/Registerable.sol +23 -38
  449. package/contracts/shared/RegistryLinked.sol +44 -0
  450. package/contracts/shared/Service.sol +62 -30
  451. package/contracts/shared/TokenHandler.sol +122 -10
  452. package/contracts/shared/TokenHandlerDeployerLib.sol +12 -0
  453. package/contracts/staking/IStaking.sol +168 -0
  454. package/contracts/staking/IStakingService.sol +160 -0
  455. package/contracts/staking/StakeManagerLib.sol +224 -0
  456. package/contracts/staking/Staking.sol +498 -0
  457. package/contracts/staking/StakingLifecycle.sol +23 -0
  458. package/contracts/staking/StakingManager.sol +52 -0
  459. package/contracts/staking/StakingReader.sol +190 -0
  460. package/contracts/staking/StakingService.sol +407 -0
  461. package/contracts/staking/StakingServiceManager.sol +44 -0
  462. package/contracts/staking/StakingStore.sol +605 -0
  463. package/contracts/staking/TargetManagerLib.sol +211 -0
  464. package/contracts/{types → type}/AddressSet.sol +1 -1
  465. package/contracts/type/Amount.sol +150 -0
  466. package/contracts/{types → type}/Blocknumber.sol +27 -3
  467. package/contracts/type/ClaimId.sol +80 -0
  468. package/contracts/{types → type}/DistributorType.sol +2 -2
  469. package/contracts/{types → type}/Fee.sol +33 -23
  470. package/contracts/{types → type}/NftId.sol +22 -15
  471. package/contracts/type/NftIdSet.sol +62 -0
  472. package/contracts/type/ObjectType.sol +276 -0
  473. package/contracts/type/PayoutId.sol +82 -0
  474. package/contracts/{types → type}/Referral.sol +6 -1
  475. package/contracts/type/RequestId.sol +75 -0
  476. package/contracts/{types → type}/RiskId.sol +16 -2
  477. package/contracts/type/RoleId.sol +174 -0
  478. package/contracts/type/Seconds.sol +101 -0
  479. package/contracts/type/Selector.sol +102 -0
  480. package/contracts/{types → type}/StateId.sol +35 -4
  481. package/contracts/type/String.sol +53 -0
  482. package/contracts/{types → type}/Timestamp.sol +34 -15
  483. package/contracts/{types → type}/UFixed.sol +39 -9
  484. package/contracts/{types → type}/Version.sol +5 -2
  485. package/contracts/{shared → upgradeability}/IVersionable.sol +5 -48
  486. package/contracts/upgradeability/ProxyManager.sol +231 -0
  487. package/contracts/{shared → upgradeability}/UpgradableProxyWithAdmin.sol +1 -3
  488. package/contracts/upgradeability/Versionable.sol +59 -0
  489. package/package.json +10 -7
  490. package/artifacts/contracts/components/BaseComponent.sol/BaseComponent.dbg.json +0 -4
  491. package/artifacts/contracts/components/BaseComponent.sol/BaseComponent.json +0 -327
  492. package/artifacts/contracts/components/Distribution.sol/Distribution.dbg.json +0 -4
  493. package/artifacts/contracts/components/Distribution.sol/Distribution.json +0 -618
  494. package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.dbg.json +0 -4
  495. package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.json +0 -280
  496. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.dbg.json +0 -4
  497. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.json +0 -152
  498. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.dbg.json +0 -4
  499. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.json +0 -249
  500. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.dbg.json +0 -4
  501. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.json +0 -157
  502. package/artifacts/contracts/components/Pool.sol/Pool.dbg.json +0 -4
  503. package/artifacts/contracts/components/Pool.sol/Pool.json +0 -782
  504. package/artifacts/contracts/components/Product.sol/Product.dbg.json +0 -4
  505. package/artifacts/contracts/components/Product.sol/Product.json +0 -724
  506. package/artifacts/contracts/experiment/cloning/Cloner.sol/Cloner.dbg.json +0 -4
  507. package/artifacts/contracts/experiment/cloning/Cloner.sol/Cloner.json +0 -66
  508. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock1.dbg.json +0 -4
  509. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock1.json +0 -24
  510. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock2.dbg.json +0 -4
  511. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock2.json +0 -42
  512. package/artifacts/contracts/experiment/errors/Require.sol/Require.dbg.json +0 -4
  513. package/artifacts/contracts/experiment/errors/Require.sol/Require.json +0 -105
  514. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.dbg.json +0 -4
  515. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.json +0 -105
  516. package/artifacts/contracts/experiment/inheritance/A.sol/A.dbg.json +0 -4
  517. package/artifacts/contracts/experiment/inheritance/A.sol/A.json +0 -128
  518. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.dbg.json +0 -4
  519. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.json +0 -42
  520. package/artifacts/contracts/experiment/inheritance/B.sol/B.dbg.json +0 -4
  521. package/artifacts/contracts/experiment/inheritance/B.sol/B.json +0 -76
  522. package/artifacts/contracts/experiment/inheritance/C.sol/C.dbg.json +0 -4
  523. package/artifacts/contracts/experiment/inheritance/C.sol/C.json +0 -89
  524. package/artifacts/contracts/experiment/inheritance/IA.sol/IA.dbg.json +0 -4
  525. package/artifacts/contracts/experiment/inheritance/IA.sol/IA.json +0 -128
  526. package/artifacts/contracts/experiment/inheritance/IA.sol/ISharedA.dbg.json +0 -4
  527. package/artifacts/contracts/experiment/inheritance/IB.sol/IB.dbg.json +0 -4
  528. package/artifacts/contracts/experiment/inheritance/IB.sol/IB.json +0 -50
  529. package/artifacts/contracts/experiment/inheritance/IC.sol/IC.dbg.json +0 -4
  530. package/artifacts/contracts/experiment/inheritance/IC.sol/IC.json +0 -63
  531. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.dbg.json +0 -4
  532. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.json +0 -59
  533. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.dbg.json +0 -4
  534. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.dbg.json +0 -4
  535. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.json +0 -74
  536. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.dbg.json +0 -4
  537. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.json +0 -124
  538. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.dbg.json +0 -4
  539. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.json +0 -207
  540. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.dbg.json +0 -4
  541. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.json +0 -10
  542. package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.dbg.json +0 -4
  543. package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.json +0 -10
  544. package/artifacts/contracts/instance/AccessManagedSimple.sol/AccessManagedSimple.dbg.json +0 -4
  545. package/artifacts/contracts/instance/AccessManagerSimple.sol/AccessManagerSimple.dbg.json +0 -4
  546. package/artifacts/contracts/instance/AccessManagerSimple.sol/AccessManagerSimple.json +0 -1132
  547. package/artifacts/contracts/instance/IAccessManagerSimple.sol/IAccessManagerSimple.dbg.json +0 -4
  548. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.dbg.json +0 -4
  549. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.json +0 -917
  550. package/artifacts/contracts/instance/base/ComponentServiceBase.sol/ComponentServiceBase.dbg.json +0 -4
  551. package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.dbg.json +0 -4
  552. package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.json +0 -113
  553. package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.dbg.json +0 -4
  554. package/artifacts/contracts/instance/base/ILifecycle.sol/ILifecycle.dbg.json +0 -4
  555. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.dbg.json +0 -4
  556. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.json +0 -502
  557. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.dbg.json +0 -4
  558. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.json +0 -169
  559. package/artifacts/contracts/instance/module/ISetup.sol/ISetup.dbg.json +0 -4
  560. package/artifacts/contracts/instance/module/ITreasury.sol/ITreasury.dbg.json +0 -4
  561. package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.dbg.json +0 -4
  562. package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.json +0 -827
  563. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.dbg.json +0 -4
  564. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.json +0 -716
  565. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +0 -4
  566. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.json +0 -444
  567. package/artifacts/contracts/instance/service/IComponentOwnerService.sol/IComponentOwnerService.dbg.json +0 -4
  568. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.dbg.json +0 -4
  569. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.dbg.json +0 -4
  570. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.dbg.json +0 -4
  571. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.dbg.json +0 -4
  572. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.json +0 -926
  573. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.dbg.json +0 -4
  574. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.json +0 -448
  575. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.dbg.json +0 -4
  576. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.json +0 -1147
  577. package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.dbg.json +0 -4
  578. package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.json +0 -488
  579. package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.dbg.json +0 -4
  580. package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.json +0 -107
  581. package/artifacts/contracts/shared/ERC165.sol/ERC165.dbg.json +0 -4
  582. package/artifacts/contracts/shared/ERC165.sol/ERC165.json +0 -35
  583. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.dbg.json +0 -4
  584. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.json +0 -205
  585. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.dbg.json +0 -4
  586. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.json +0 -349
  587. package/artifacts/contracts/shared/RegisterableUpgradable.sol/RegisterableUpgradable.dbg.json +0 -4
  588. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +0 -4
  589. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +0 -129
  590. package/artifacts/contracts/shared/Versionable.sol/Versionable.dbg.json +0 -4
  591. package/artifacts/contracts/shared/Versionable.sol/Versionable.json +0 -228
  592. package/artifacts/contracts/test/TestFee.sol/TestFee.dbg.json +0 -4
  593. package/artifacts/contracts/test/TestFee.sol/TestFee.json +0 -119
  594. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.dbg.json +0 -4
  595. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.json +0 -305
  596. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.dbg.json +0 -4
  597. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.json +0 -116
  598. package/artifacts/contracts/test/TestService.sol/TestService.dbg.json +0 -4
  599. package/artifacts/contracts/test/TestService.sol/TestService.json +0 -600
  600. package/artifacts/contracts/test/TestToken.sol/TestUsdc.dbg.json +0 -4
  601. package/artifacts/contracts/test/TestToken.sol/TestUsdc.json +0 -376
  602. package/artifacts/contracts/test/TestVersion.sol/TestVersion.dbg.json +0 -4
  603. package/artifacts/contracts/test/TestVersion.sol/TestVersion.json +0 -218
  604. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.dbg.json +0 -4
  605. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.json +0 -286
  606. package/artifacts/contracts/test/Usdc.sol/USDC.dbg.json +0 -4
  607. package/artifacts/contracts/test/Usdc.sol/USDC.json +0 -376
  608. package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.dbg.json +0 -4
  609. package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.json +0 -10
  610. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.dbg.json +0 -4
  611. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.json +0 -174
  612. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.dbg.json +0 -4
  613. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.json +0 -10
  614. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.dbg.json +0 -4
  615. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.json +0 -104
  616. package/artifacts/contracts/types/Fee.sol/FeeLib.dbg.json +0 -4
  617. package/artifacts/contracts/types/Fee.sol/FeeLib.json +0 -257
  618. package/artifacts/contracts/types/Key32.sol/Key32Lib.dbg.json +0 -4
  619. package/artifacts/contracts/types/Key32.sol/Key32Lib.json +0 -125
  620. package/artifacts/contracts/types/NftId.sol/NftIdLib.dbg.json +0 -4
  621. package/artifacts/contracts/types/NftId.sol/NftIdLib.json +0 -153
  622. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.dbg.json +0 -4
  623. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.json +0 -10
  624. package/artifacts/contracts/types/NumberId.sol/NumberIdLib.dbg.json +0 -4
  625. package/artifacts/contracts/types/NumberId.sol/NumberIdLib.json +0 -100
  626. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.dbg.json +0 -4
  627. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.json +0 -92
  628. package/artifacts/contracts/types/Referral.sol/ReferralLib.dbg.json +0 -4
  629. package/artifacts/contracts/types/Referral.sol/ReferralLib.json +0 -123
  630. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.dbg.json +0 -4
  631. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.json +0 -86
  632. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.dbg.json +0 -4
  633. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.json +0 -156
  634. package/artifacts/contracts/types/StateId.sol/StateIdLib.dbg.json +0 -4
  635. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.dbg.json +0 -4
  636. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.json +0 -249
  637. package/artifacts/contracts/types/UFixed.sol/MathLib.dbg.json +0 -4
  638. package/artifacts/contracts/types/UFixed.sol/MathLib.json +0 -10
  639. package/artifacts/contracts/types/UFixed.sol/UFixedLib.dbg.json +0 -4
  640. package/artifacts/contracts/types/UFixed.sol/UFixedLib.json +0 -479
  641. package/artifacts/contracts/types/Version.sol/VersionLib.dbg.json +0 -4
  642. package/artifacts/contracts/types/Version.sol/VersionLib.json +0 -177
  643. package/artifacts/contracts/types/Version.sol/VersionPartLib.dbg.json +0 -4
  644. package/artifacts/contracts/types/Version.sol/VersionPartLib.json +0 -49
  645. package/contracts/components/BaseComponent.sol +0 -91
  646. package/contracts/components/Distribution.sol +0 -163
  647. package/contracts/components/IBaseComponent.sol +0 -25
  648. package/contracts/components/IDistributionComponent.sol +0 -44
  649. package/contracts/components/IPoolComponent.sol +0 -62
  650. package/contracts/components/IProductComponent.sol +0 -35
  651. package/contracts/components/Pool.sol +0 -246
  652. package/contracts/components/Product.sol +0 -288
  653. package/contracts/experiment/cloning/Cloner.sol +0 -47
  654. package/contracts/experiment/errors/Require.sol +0 -38
  655. package/contracts/experiment/errors/Revert.sol +0 -44
  656. package/contracts/experiment/inheritance/A.sol +0 -53
  657. package/contracts/experiment/inheritance/B.sol +0 -28
  658. package/contracts/experiment/inheritance/C.sol +0 -34
  659. package/contracts/experiment/inheritance/IA.sol +0 -13
  660. package/contracts/experiment/inheritance/IB.sol +0 -10
  661. package/contracts/experiment/inheritance/IC.sol +0 -12
  662. package/contracts/experiment/statemachine/Dummy.sol +0 -27
  663. package/contracts/experiment/statemachine/ISM.sol +0 -25
  664. package/contracts/experiment/statemachine/SM.sol +0 -57
  665. package/contracts/experiment/statemachine/SimpleStateMachine.sol +0 -31
  666. package/contracts/experiment/types/TypeA.sol +0 -47
  667. package/contracts/experiment/types/TypeB.sol +0 -29
  668. package/contracts/instance/AccessManagedSimple.sol +0 -115
  669. package/contracts/instance/AccessManagerSimple.sol +0 -692
  670. package/contracts/instance/IAccessManagerSimple.sol +0 -391
  671. package/contracts/instance/InstanceAccessManager.sol +0 -288
  672. package/contracts/instance/base/ComponentServiceBase.sol +0 -134
  673. package/contracts/instance/base/IInstanceBase.sol +0 -23
  674. package/contracts/instance/base/KeyValueStore.sol +0 -172
  675. package/contracts/instance/base/Lifecycle.sol +0 -100
  676. package/contracts/instance/module/ISetup.sol +0 -45
  677. package/contracts/instance/module/ITreasury.sol +0 -23
  678. package/contracts/instance/service/ComponentOwnerService.sol +0 -317
  679. package/contracts/instance/service/DistributionService.sol +0 -88
  680. package/contracts/instance/service/DistributionServiceManager.sol +0 -54
  681. package/contracts/instance/service/IComponentOwnerService.sol +0 -20
  682. package/contracts/instance/service/IDistributionService.sol +0 -12
  683. package/contracts/instance/service/IPoolService.sol +0 -41
  684. package/contracts/instance/service/IProductService.sol +0 -110
  685. package/contracts/instance/service/PoolService.sol +0 -201
  686. package/contracts/instance/service/PoolServiceManager.sol +0 -54
  687. package/contracts/instance/service/ProductService.sol +0 -563
  688. package/contracts/instance/service/ProductServiceManager.sol +0 -54
  689. package/contracts/shared/ContractDeployerLib.sol +0 -72
  690. package/contracts/shared/ERC165.sol +0 -25
  691. package/contracts/shared/ProxyManager.sol +0 -94
  692. package/contracts/shared/RegisterableUpgradable.sol +0 -16
  693. package/contracts/shared/Versionable.sol +0 -147
  694. package/contracts/test/TestFee.sol +0 -25
  695. package/contracts/test/TestRegisterable.sol +0 -18
  696. package/contracts/test/TestRoleId.sol +0 -14
  697. package/contracts/test/TestService.sol +0 -24
  698. package/contracts/test/TestToken.sol +0 -26
  699. package/contracts/test/TestVersion.sol +0 -44
  700. package/contracts/test/TestVersionable.sol +0 -17
  701. package/contracts/types/ChainId.sol +0 -38
  702. package/contracts/types/NftIdSet.sol +0 -60
  703. package/contracts/types/NumberId.sol +0 -52
  704. package/contracts/types/ObjectType.sol +0 -152
  705. package/contracts/types/RoleId.sol +0 -90
  706. /package/contracts/{types → type}/Key32.sol +0 -0
@@ -1,1132 +0,0 @@
1
- {
2
- "_format": "hh-sol-artifact-1",
3
- "contractName": "AccessManagerSimple",
4
- "sourceName": "contracts/instance/AccessManagerSimple.sol",
5
- "abi": [
6
- {
7
- "inputs": [
8
- {
9
- "internalType": "address",
10
- "name": "initialAdmin",
11
- "type": "address"
12
- }
13
- ],
14
- "stateMutability": "nonpayable",
15
- "type": "constructor"
16
- },
17
- {
18
- "inputs": [
19
- {
20
- "internalType": "bytes32",
21
- "name": "operationId",
22
- "type": "bytes32"
23
- }
24
- ],
25
- "name": "AccessManagerAlreadyScheduled",
26
- "type": "error"
27
- },
28
- {
29
- "inputs": [],
30
- "name": "AccessManagerBadConfirmation",
31
- "type": "error"
32
- },
33
- {
34
- "inputs": [
35
- {
36
- "internalType": "bytes32",
37
- "name": "operationId",
38
- "type": "bytes32"
39
- }
40
- ],
41
- "name": "AccessManagerExpired",
42
- "type": "error"
43
- },
44
- {
45
- "inputs": [
46
- {
47
- "internalType": "address",
48
- "name": "initialAdmin",
49
- "type": "address"
50
- }
51
- ],
52
- "name": "AccessManagerInvalidInitialAdmin",
53
- "type": "error"
54
- },
55
- {
56
- "inputs": [
57
- {
58
- "internalType": "address",
59
- "name": "account",
60
- "type": "address"
61
- }
62
- ],
63
- "name": "AccessManagerLockedAccount",
64
- "type": "error"
65
- },
66
- {
67
- "inputs": [
68
- {
69
- "internalType": "uint64",
70
- "name": "roleId",
71
- "type": "uint64"
72
- }
73
- ],
74
- "name": "AccessManagerLockedRole",
75
- "type": "error"
76
- },
77
- {
78
- "inputs": [
79
- {
80
- "internalType": "bytes32",
81
- "name": "operationId",
82
- "type": "bytes32"
83
- }
84
- ],
85
- "name": "AccessManagerNotReady",
86
- "type": "error"
87
- },
88
- {
89
- "inputs": [
90
- {
91
- "internalType": "bytes32",
92
- "name": "operationId",
93
- "type": "bytes32"
94
- }
95
- ],
96
- "name": "AccessManagerNotScheduled",
97
- "type": "error"
98
- },
99
- {
100
- "inputs": [
101
- {
102
- "internalType": "address",
103
- "name": "msgsender",
104
- "type": "address"
105
- },
106
- {
107
- "internalType": "uint64",
108
- "name": "roleId",
109
- "type": "uint64"
110
- }
111
- ],
112
- "name": "AccessManagerUnauthorizedAccount",
113
- "type": "error"
114
- },
115
- {
116
- "inputs": [
117
- {
118
- "internalType": "address",
119
- "name": "caller",
120
- "type": "address"
121
- },
122
- {
123
- "internalType": "address",
124
- "name": "target",
125
- "type": "address"
126
- },
127
- {
128
- "internalType": "bytes4",
129
- "name": "selector",
130
- "type": "bytes4"
131
- }
132
- ],
133
- "name": "AccessManagerUnauthorizedCall",
134
- "type": "error"
135
- },
136
- {
137
- "inputs": [
138
- {
139
- "internalType": "address",
140
- "name": "msgsender",
141
- "type": "address"
142
- },
143
- {
144
- "internalType": "address",
145
- "name": "caller",
146
- "type": "address"
147
- },
148
- {
149
- "internalType": "address",
150
- "name": "target",
151
- "type": "address"
152
- },
153
- {
154
- "internalType": "bytes4",
155
- "name": "selector",
156
- "type": "bytes4"
157
- }
158
- ],
159
- "name": "AccessManagerUnauthorizedCancel",
160
- "type": "error"
161
- },
162
- {
163
- "inputs": [
164
- {
165
- "internalType": "address",
166
- "name": "target",
167
- "type": "address"
168
- }
169
- ],
170
- "name": "AccessManagerUnauthorizedConsume",
171
- "type": "error"
172
- },
173
- {
174
- "anonymous": false,
175
- "inputs": [
176
- {
177
- "indexed": true,
178
- "internalType": "bytes32",
179
- "name": "operationId",
180
- "type": "bytes32"
181
- },
182
- {
183
- "indexed": true,
184
- "internalType": "uint32",
185
- "name": "nonce",
186
- "type": "uint32"
187
- }
188
- ],
189
- "name": "OperationCanceled",
190
- "type": "event"
191
- },
192
- {
193
- "anonymous": false,
194
- "inputs": [
195
- {
196
- "indexed": true,
197
- "internalType": "bytes32",
198
- "name": "operationId",
199
- "type": "bytes32"
200
- },
201
- {
202
- "indexed": true,
203
- "internalType": "uint32",
204
- "name": "nonce",
205
- "type": "uint32"
206
- }
207
- ],
208
- "name": "OperationExecuted",
209
- "type": "event"
210
- },
211
- {
212
- "anonymous": false,
213
- "inputs": [
214
- {
215
- "indexed": true,
216
- "internalType": "bytes32",
217
- "name": "operationId",
218
- "type": "bytes32"
219
- },
220
- {
221
- "indexed": true,
222
- "internalType": "uint32",
223
- "name": "nonce",
224
- "type": "uint32"
225
- },
226
- {
227
- "indexed": false,
228
- "internalType": "uint48",
229
- "name": "schedule",
230
- "type": "uint48"
231
- },
232
- {
233
- "indexed": false,
234
- "internalType": "address",
235
- "name": "caller",
236
- "type": "address"
237
- },
238
- {
239
- "indexed": false,
240
- "internalType": "address",
241
- "name": "target",
242
- "type": "address"
243
- },
244
- {
245
- "indexed": false,
246
- "internalType": "bytes",
247
- "name": "data",
248
- "type": "bytes"
249
- }
250
- ],
251
- "name": "OperationScheduled",
252
- "type": "event"
253
- },
254
- {
255
- "anonymous": false,
256
- "inputs": [
257
- {
258
- "indexed": true,
259
- "internalType": "uint64",
260
- "name": "roleId",
261
- "type": "uint64"
262
- },
263
- {
264
- "indexed": true,
265
- "internalType": "uint64",
266
- "name": "admin",
267
- "type": "uint64"
268
- }
269
- ],
270
- "name": "RoleAdminChanged",
271
- "type": "event"
272
- },
273
- {
274
- "anonymous": false,
275
- "inputs": [
276
- {
277
- "indexed": true,
278
- "internalType": "uint64",
279
- "name": "roleId",
280
- "type": "uint64"
281
- },
282
- {
283
- "indexed": false,
284
- "internalType": "uint32",
285
- "name": "delay",
286
- "type": "uint32"
287
- },
288
- {
289
- "indexed": false,
290
- "internalType": "uint48",
291
- "name": "since",
292
- "type": "uint48"
293
- }
294
- ],
295
- "name": "RoleGrantDelayChanged",
296
- "type": "event"
297
- },
298
- {
299
- "anonymous": false,
300
- "inputs": [
301
- {
302
- "indexed": true,
303
- "internalType": "uint64",
304
- "name": "roleId",
305
- "type": "uint64"
306
- },
307
- {
308
- "indexed": true,
309
- "internalType": "address",
310
- "name": "account",
311
- "type": "address"
312
- },
313
- {
314
- "indexed": false,
315
- "internalType": "uint32",
316
- "name": "delay",
317
- "type": "uint32"
318
- },
319
- {
320
- "indexed": false,
321
- "internalType": "uint48",
322
- "name": "since",
323
- "type": "uint48"
324
- },
325
- {
326
- "indexed": false,
327
- "internalType": "bool",
328
- "name": "newMember",
329
- "type": "bool"
330
- }
331
- ],
332
- "name": "RoleGranted",
333
- "type": "event"
334
- },
335
- {
336
- "anonymous": false,
337
- "inputs": [
338
- {
339
- "indexed": true,
340
- "internalType": "uint64",
341
- "name": "roleId",
342
- "type": "uint64"
343
- },
344
- {
345
- "indexed": true,
346
- "internalType": "uint64",
347
- "name": "guardian",
348
- "type": "uint64"
349
- }
350
- ],
351
- "name": "RoleGuardianChanged",
352
- "type": "event"
353
- },
354
- {
355
- "anonymous": false,
356
- "inputs": [
357
- {
358
- "indexed": true,
359
- "internalType": "uint64",
360
- "name": "roleId",
361
- "type": "uint64"
362
- },
363
- {
364
- "indexed": false,
365
- "internalType": "string",
366
- "name": "label",
367
- "type": "string"
368
- }
369
- ],
370
- "name": "RoleLabel",
371
- "type": "event"
372
- },
373
- {
374
- "anonymous": false,
375
- "inputs": [
376
- {
377
- "indexed": true,
378
- "internalType": "uint64",
379
- "name": "roleId",
380
- "type": "uint64"
381
- },
382
- {
383
- "indexed": true,
384
- "internalType": "address",
385
- "name": "account",
386
- "type": "address"
387
- }
388
- ],
389
- "name": "RoleRevoked",
390
- "type": "event"
391
- },
392
- {
393
- "anonymous": false,
394
- "inputs": [
395
- {
396
- "indexed": true,
397
- "internalType": "address",
398
- "name": "target",
399
- "type": "address"
400
- },
401
- {
402
- "indexed": false,
403
- "internalType": "uint32",
404
- "name": "delay",
405
- "type": "uint32"
406
- },
407
- {
408
- "indexed": false,
409
- "internalType": "uint48",
410
- "name": "since",
411
- "type": "uint48"
412
- }
413
- ],
414
- "name": "TargetAdminDelayUpdated",
415
- "type": "event"
416
- },
417
- {
418
- "anonymous": false,
419
- "inputs": [
420
- {
421
- "indexed": true,
422
- "internalType": "address",
423
- "name": "target",
424
- "type": "address"
425
- },
426
- {
427
- "indexed": false,
428
- "internalType": "bool",
429
- "name": "closed",
430
- "type": "bool"
431
- }
432
- ],
433
- "name": "TargetClosed",
434
- "type": "event"
435
- },
436
- {
437
- "anonymous": false,
438
- "inputs": [
439
- {
440
- "indexed": true,
441
- "internalType": "address",
442
- "name": "target",
443
- "type": "address"
444
- },
445
- {
446
- "indexed": false,
447
- "internalType": "bytes4",
448
- "name": "selector",
449
- "type": "bytes4"
450
- },
451
- {
452
- "indexed": true,
453
- "internalType": "uint64",
454
- "name": "roleId",
455
- "type": "uint64"
456
- }
457
- ],
458
- "name": "TargetFunctionRoleUpdated",
459
- "type": "event"
460
- },
461
- {
462
- "inputs": [],
463
- "name": "ADMIN_ROLE",
464
- "outputs": [
465
- {
466
- "internalType": "uint64",
467
- "name": "",
468
- "type": "uint64"
469
- }
470
- ],
471
- "stateMutability": "view",
472
- "type": "function"
473
- },
474
- {
475
- "inputs": [],
476
- "name": "PUBLIC_ROLE",
477
- "outputs": [
478
- {
479
- "internalType": "uint64",
480
- "name": "",
481
- "type": "uint64"
482
- }
483
- ],
484
- "stateMutability": "view",
485
- "type": "function"
486
- },
487
- {
488
- "inputs": [
489
- {
490
- "internalType": "address",
491
- "name": "caller",
492
- "type": "address"
493
- },
494
- {
495
- "internalType": "address",
496
- "name": "target",
497
- "type": "address"
498
- },
499
- {
500
- "internalType": "bytes4",
501
- "name": "selector",
502
- "type": "bytes4"
503
- }
504
- ],
505
- "name": "canCall",
506
- "outputs": [
507
- {
508
- "internalType": "bool",
509
- "name": "immediate",
510
- "type": "bool"
511
- },
512
- {
513
- "internalType": "uint32",
514
- "name": "delay",
515
- "type": "uint32"
516
- }
517
- ],
518
- "stateMutability": "view",
519
- "type": "function"
520
- },
521
- {
522
- "inputs": [
523
- {
524
- "internalType": "address",
525
- "name": "caller",
526
- "type": "address"
527
- },
528
- {
529
- "internalType": "address",
530
- "name": "target",
531
- "type": "address"
532
- },
533
- {
534
- "internalType": "bytes",
535
- "name": "data",
536
- "type": "bytes"
537
- }
538
- ],
539
- "name": "cancel",
540
- "outputs": [
541
- {
542
- "internalType": "uint32",
543
- "name": "",
544
- "type": "uint32"
545
- }
546
- ],
547
- "stateMutability": "nonpayable",
548
- "type": "function"
549
- },
550
- {
551
- "inputs": [
552
- {
553
- "internalType": "address",
554
- "name": "caller",
555
- "type": "address"
556
- },
557
- {
558
- "internalType": "bytes",
559
- "name": "data",
560
- "type": "bytes"
561
- }
562
- ],
563
- "name": "consumeScheduledOp",
564
- "outputs": [],
565
- "stateMutability": "nonpayable",
566
- "type": "function"
567
- },
568
- {
569
- "inputs": [
570
- {
571
- "internalType": "address",
572
- "name": "target",
573
- "type": "address"
574
- },
575
- {
576
- "internalType": "bytes",
577
- "name": "data",
578
- "type": "bytes"
579
- }
580
- ],
581
- "name": "execute",
582
- "outputs": [
583
- {
584
- "internalType": "uint32",
585
- "name": "",
586
- "type": "uint32"
587
- }
588
- ],
589
- "stateMutability": "payable",
590
- "type": "function"
591
- },
592
- {
593
- "inputs": [],
594
- "name": "expiration",
595
- "outputs": [
596
- {
597
- "internalType": "uint32",
598
- "name": "",
599
- "type": "uint32"
600
- }
601
- ],
602
- "stateMutability": "view",
603
- "type": "function"
604
- },
605
- {
606
- "inputs": [
607
- {
608
- "internalType": "uint64",
609
- "name": "roleId",
610
- "type": "uint64"
611
- },
612
- {
613
- "internalType": "address",
614
- "name": "account",
615
- "type": "address"
616
- }
617
- ],
618
- "name": "getAccess",
619
- "outputs": [
620
- {
621
- "internalType": "uint48",
622
- "name": "since",
623
- "type": "uint48"
624
- },
625
- {
626
- "internalType": "uint32",
627
- "name": "currentDelay",
628
- "type": "uint32"
629
- },
630
- {
631
- "internalType": "uint32",
632
- "name": "pendingDelay",
633
- "type": "uint32"
634
- },
635
- {
636
- "internalType": "uint48",
637
- "name": "effect",
638
- "type": "uint48"
639
- }
640
- ],
641
- "stateMutability": "view",
642
- "type": "function"
643
- },
644
- {
645
- "inputs": [
646
- {
647
- "internalType": "bytes32",
648
- "name": "id",
649
- "type": "bytes32"
650
- }
651
- ],
652
- "name": "getNonce",
653
- "outputs": [
654
- {
655
- "internalType": "uint32",
656
- "name": "",
657
- "type": "uint32"
658
- }
659
- ],
660
- "stateMutability": "view",
661
- "type": "function"
662
- },
663
- {
664
- "inputs": [
665
- {
666
- "internalType": "uint64",
667
- "name": "roleId",
668
- "type": "uint64"
669
- }
670
- ],
671
- "name": "getRoleAdmin",
672
- "outputs": [
673
- {
674
- "internalType": "uint64",
675
- "name": "",
676
- "type": "uint64"
677
- }
678
- ],
679
- "stateMutability": "view",
680
- "type": "function"
681
- },
682
- {
683
- "inputs": [
684
- {
685
- "internalType": "uint64",
686
- "name": "roleId",
687
- "type": "uint64"
688
- }
689
- ],
690
- "name": "getRoleGrantDelay",
691
- "outputs": [
692
- {
693
- "internalType": "uint32",
694
- "name": "",
695
- "type": "uint32"
696
- }
697
- ],
698
- "stateMutability": "view",
699
- "type": "function"
700
- },
701
- {
702
- "inputs": [
703
- {
704
- "internalType": "uint64",
705
- "name": "roleId",
706
- "type": "uint64"
707
- }
708
- ],
709
- "name": "getRoleGuardian",
710
- "outputs": [
711
- {
712
- "internalType": "uint64",
713
- "name": "",
714
- "type": "uint64"
715
- }
716
- ],
717
- "stateMutability": "view",
718
- "type": "function"
719
- },
720
- {
721
- "inputs": [
722
- {
723
- "internalType": "bytes32",
724
- "name": "id",
725
- "type": "bytes32"
726
- }
727
- ],
728
- "name": "getSchedule",
729
- "outputs": [
730
- {
731
- "internalType": "uint48",
732
- "name": "",
733
- "type": "uint48"
734
- }
735
- ],
736
- "stateMutability": "view",
737
- "type": "function"
738
- },
739
- {
740
- "inputs": [
741
- {
742
- "internalType": "address",
743
- "name": "target",
744
- "type": "address"
745
- }
746
- ],
747
- "name": "getTargetAdminDelay",
748
- "outputs": [
749
- {
750
- "internalType": "uint32",
751
- "name": "",
752
- "type": "uint32"
753
- }
754
- ],
755
- "stateMutability": "view",
756
- "type": "function"
757
- },
758
- {
759
- "inputs": [
760
- {
761
- "internalType": "address",
762
- "name": "target",
763
- "type": "address"
764
- },
765
- {
766
- "internalType": "bytes4",
767
- "name": "selector",
768
- "type": "bytes4"
769
- }
770
- ],
771
- "name": "getTargetFunctionRole",
772
- "outputs": [
773
- {
774
- "internalType": "uint64",
775
- "name": "",
776
- "type": "uint64"
777
- }
778
- ],
779
- "stateMutability": "view",
780
- "type": "function"
781
- },
782
- {
783
- "inputs": [
784
- {
785
- "internalType": "uint64",
786
- "name": "roleId",
787
- "type": "uint64"
788
- },
789
- {
790
- "internalType": "address",
791
- "name": "account",
792
- "type": "address"
793
- },
794
- {
795
- "internalType": "uint32",
796
- "name": "executionDelay",
797
- "type": "uint32"
798
- }
799
- ],
800
- "name": "grantRole",
801
- "outputs": [],
802
- "stateMutability": "nonpayable",
803
- "type": "function"
804
- },
805
- {
806
- "inputs": [
807
- {
808
- "internalType": "uint64",
809
- "name": "roleId",
810
- "type": "uint64"
811
- },
812
- {
813
- "internalType": "address",
814
- "name": "account",
815
- "type": "address"
816
- }
817
- ],
818
- "name": "hasRole",
819
- "outputs": [
820
- {
821
- "internalType": "bool",
822
- "name": "isMember",
823
- "type": "bool"
824
- },
825
- {
826
- "internalType": "uint32",
827
- "name": "executionDelay",
828
- "type": "uint32"
829
- }
830
- ],
831
- "stateMutability": "view",
832
- "type": "function"
833
- },
834
- {
835
- "inputs": [
836
- {
837
- "internalType": "address",
838
- "name": "caller",
839
- "type": "address"
840
- },
841
- {
842
- "internalType": "address",
843
- "name": "target",
844
- "type": "address"
845
- },
846
- {
847
- "internalType": "bytes",
848
- "name": "data",
849
- "type": "bytes"
850
- }
851
- ],
852
- "name": "hashOperation",
853
- "outputs": [
854
- {
855
- "internalType": "bytes32",
856
- "name": "",
857
- "type": "bytes32"
858
- }
859
- ],
860
- "stateMutability": "view",
861
- "type": "function"
862
- },
863
- {
864
- "inputs": [
865
- {
866
- "internalType": "address",
867
- "name": "initialAdmin",
868
- "type": "address"
869
- }
870
- ],
871
- "name": "initialize",
872
- "outputs": [],
873
- "stateMutability": "nonpayable",
874
- "type": "function"
875
- },
876
- {
877
- "inputs": [
878
- {
879
- "internalType": "address",
880
- "name": "target",
881
- "type": "address"
882
- }
883
- ],
884
- "name": "isTargetClosed",
885
- "outputs": [
886
- {
887
- "internalType": "bool",
888
- "name": "",
889
- "type": "bool"
890
- }
891
- ],
892
- "stateMutability": "view",
893
- "type": "function"
894
- },
895
- {
896
- "inputs": [
897
- {
898
- "internalType": "uint64",
899
- "name": "roleId",
900
- "type": "uint64"
901
- },
902
- {
903
- "internalType": "string",
904
- "name": "label",
905
- "type": "string"
906
- }
907
- ],
908
- "name": "labelRole",
909
- "outputs": [],
910
- "stateMutability": "nonpayable",
911
- "type": "function"
912
- },
913
- {
914
- "inputs": [],
915
- "name": "minSetback",
916
- "outputs": [
917
- {
918
- "internalType": "uint32",
919
- "name": "",
920
- "type": "uint32"
921
- }
922
- ],
923
- "stateMutability": "view",
924
- "type": "function"
925
- },
926
- {
927
- "inputs": [
928
- {
929
- "internalType": "uint64",
930
- "name": "roleId",
931
- "type": "uint64"
932
- },
933
- {
934
- "internalType": "address",
935
- "name": "callerConfirmation",
936
- "type": "address"
937
- }
938
- ],
939
- "name": "renounceRole",
940
- "outputs": [],
941
- "stateMutability": "nonpayable",
942
- "type": "function"
943
- },
944
- {
945
- "inputs": [
946
- {
947
- "internalType": "uint64",
948
- "name": "roleId",
949
- "type": "uint64"
950
- },
951
- {
952
- "internalType": "address",
953
- "name": "account",
954
- "type": "address"
955
- }
956
- ],
957
- "name": "revokeRole",
958
- "outputs": [],
959
- "stateMutability": "nonpayable",
960
- "type": "function"
961
- },
962
- {
963
- "inputs": [
964
- {
965
- "internalType": "address",
966
- "name": "target",
967
- "type": "address"
968
- },
969
- {
970
- "internalType": "bytes",
971
- "name": "data",
972
- "type": "bytes"
973
- },
974
- {
975
- "internalType": "uint48",
976
- "name": "when",
977
- "type": "uint48"
978
- }
979
- ],
980
- "name": "schedule",
981
- "outputs": [
982
- {
983
- "internalType": "bytes32",
984
- "name": "operationId",
985
- "type": "bytes32"
986
- },
987
- {
988
- "internalType": "uint32",
989
- "name": "nonce",
990
- "type": "uint32"
991
- }
992
- ],
993
- "stateMutability": "nonpayable",
994
- "type": "function"
995
- },
996
- {
997
- "inputs": [
998
- {
999
- "internalType": "uint64",
1000
- "name": "roleId",
1001
- "type": "uint64"
1002
- },
1003
- {
1004
- "internalType": "uint32",
1005
- "name": "newDelay",
1006
- "type": "uint32"
1007
- }
1008
- ],
1009
- "name": "setGrantDelay",
1010
- "outputs": [],
1011
- "stateMutability": "nonpayable",
1012
- "type": "function"
1013
- },
1014
- {
1015
- "inputs": [
1016
- {
1017
- "internalType": "uint64",
1018
- "name": "roleId",
1019
- "type": "uint64"
1020
- },
1021
- {
1022
- "internalType": "uint64",
1023
- "name": "admin",
1024
- "type": "uint64"
1025
- }
1026
- ],
1027
- "name": "setRoleAdmin",
1028
- "outputs": [],
1029
- "stateMutability": "nonpayable",
1030
- "type": "function"
1031
- },
1032
- {
1033
- "inputs": [
1034
- {
1035
- "internalType": "uint64",
1036
- "name": "roleId",
1037
- "type": "uint64"
1038
- },
1039
- {
1040
- "internalType": "uint64",
1041
- "name": "guardian",
1042
- "type": "uint64"
1043
- }
1044
- ],
1045
- "name": "setRoleGuardian",
1046
- "outputs": [],
1047
- "stateMutability": "nonpayable",
1048
- "type": "function"
1049
- },
1050
- {
1051
- "inputs": [
1052
- {
1053
- "internalType": "address",
1054
- "name": "target",
1055
- "type": "address"
1056
- },
1057
- {
1058
- "internalType": "uint32",
1059
- "name": "newDelay",
1060
- "type": "uint32"
1061
- }
1062
- ],
1063
- "name": "setTargetAdminDelay",
1064
- "outputs": [],
1065
- "stateMutability": "nonpayable",
1066
- "type": "function"
1067
- },
1068
- {
1069
- "inputs": [
1070
- {
1071
- "internalType": "address",
1072
- "name": "target",
1073
- "type": "address"
1074
- },
1075
- {
1076
- "internalType": "bool",
1077
- "name": "closed",
1078
- "type": "bool"
1079
- }
1080
- ],
1081
- "name": "setTargetClosed",
1082
- "outputs": [],
1083
- "stateMutability": "nonpayable",
1084
- "type": "function"
1085
- },
1086
- {
1087
- "inputs": [
1088
- {
1089
- "internalType": "address",
1090
- "name": "target",
1091
- "type": "address"
1092
- },
1093
- {
1094
- "internalType": "bytes4[]",
1095
- "name": "selectors",
1096
- "type": "bytes4[]"
1097
- },
1098
- {
1099
- "internalType": "uint64",
1100
- "name": "roleId",
1101
- "type": "uint64"
1102
- }
1103
- ],
1104
- "name": "setTargetFunctionRole",
1105
- "outputs": [],
1106
- "stateMutability": "nonpayable",
1107
- "type": "function"
1108
- },
1109
- {
1110
- "inputs": [
1111
- {
1112
- "internalType": "address",
1113
- "name": "target",
1114
- "type": "address"
1115
- },
1116
- {
1117
- "internalType": "address",
1118
- "name": "newAuthority",
1119
- "type": "address"
1120
- }
1121
- ],
1122
- "name": "updateAuthority",
1123
- "outputs": [],
1124
- "stateMutability": "nonpayable",
1125
- "type": "function"
1126
- }
1127
- ],
1128
- "bytecode": "0x60806040523480156200001157600080fd5b5060405162001b6d38038062001b6d833981016040819052620000349162000259565b6200003f8162000046565b506200028b565b60005460ff1615620000aa5760405162461bcd60e51b815260206004820152602260248201527f4163636573734d616e616765723a20616c726561647920696e697469616c697a604482015261195960f21b60648201526084015b60405180910390fd5b6001600160a01b038116620000d657604051630409d6d160e11b815260006004820152602401620000a1565b620000e56000828180620000f6565b50506000805460ff19166001179055565b60006002600160401b03196001600160401b03861601620001365760405163061c6a4360e21b81526001600160401b0386166004820152602401620000a1565b6001600160401b03851660009081526002602090815260408083206001600160a01b038816845290915281205465ffffffffffff1615908115620001eb575060408051808201825265ffffffffffff428181168352600060208085018281526001600160401b038d168352600282528683206001600160a01b038d1684529091529490209251835494516001600160701b03166601000000000000026001600160a01b03199095169216919091179290921790555b6040805163ffffffff8616815265ffffffffffff831660208201528315158183015290516001600160a01b038816916001600160401b038a16917ff98448b987f1428e0e230e1f3c6e2ce15b5693eaf31827fbd0b1ec4b424ae7cf9181900360600190a35095945050505050565b6000602082840312156200026c57600080fd5b81516001600160a01b03811681146200028457600080fd5b9392505050565b6118d2806200029b6000396000f3fe6080604052600436106101e35760003560e01c80636d5115bd11610102578063b7d2b16211610095578063d22b598911610064578063d22b59891461064f578063d6bb62c61461066a578063f801a6981461068f578063fe0776f5146106d057600080fd5b8063b7d2b162146105d9578063c4d66de8146105f9578063cc1b6c8114610619578063d1f856ee1461062f57600080fd5b8063a166aa89116100d1578063a166aa89146104fb578063a64d95ce1461054f578063abd9bd2a1461056f578063b70096131461059d57600080fd5b80636d5115bd1461048657806375b238fc146104a6578063853551b8146104bb57806394c7d7ee146104db57600080fd5b806330cae1871161017a5780634665096d116101495780634665096d146103f95780634c1da1e21461040f578063529629521461042a578063530dd4561461044a57600080fd5b806330cae187146103715780633adc277a146103915780633ca7c02a146103c35780634136a33c146103de57600080fd5b806318ff183c116101b657806318ff183c146102c05780631cff79cd146102e057806325c471a0146102f75780633078f1141461031757600080fd5b806308d6122d146101e85780630b0a93ba1461020a57806312be87271461026a578063167bd395146102a0575b600080fd5b3480156101f457600080fd5b5061020861020336600461131e565b6106f0565b005b34801561021657600080fd5b5061024d6102253660046113b6565b6001600160401b03908116600090815260026020526040902060010154600160401b90041690565b6040516001600160401b0390911681526020015b60405180910390f35b34801561027657600080fd5b5061028b6102853660046113b6565b50600090565b60405163ffffffff9091168152602001610261565b3480156102ac57600080fd5b506102086102bb3660046113d1565b61074b565b3480156102cc57600080fd5b506102086102db36600461140f565b610761565b61028b6102ee36600461147e565b60009392505050565b34801561030357600080fd5b506102086103123660046114e6565b6107c8565b34801561032357600080fd5b5061033761033236600461152b565b6107e3565b604051610261949392919065ffffffffffff948516815263ffffffff93841660208201529190921660408201529116606082015260800190565b34801561037d57600080fd5b5061020861038c366004611547565b610824565b34801561039d57600080fd5b506103ac61028536600461157a565b60405165ffffffffffff9091168152602001610261565b3480156103cf57600080fd5b5061024d6001600160401b0381565b3480156103ea57600080fd5b5061028b61028536600461157a565b34801561040557600080fd5b5062093a8061028b565b34801561041b57600080fd5b5061028b610285366004611593565b34801561043657600080fd5b50610208610445366004611547565b610836565b34801561045657600080fd5b5061024d6104653660046113b6565b6001600160401b039081166000908152600260205260409020600101541690565b34801561049257600080fd5b5061024d6104a13660046115c8565b610848565b3480156104b257600080fd5b5061024d600081565b3480156104c757600080fd5b506102086104d63660046115f4565b610886565b3480156104e757600080fd5b506102086104f636600461147e565b505050565b34801561050757600080fd5b5061053f610516366004611593565b6001600160a01b031660009081526001602081905260409091200154600160701b900460ff1690565b6040519015158152602001610261565b34801561055b57600080fd5b5061020861056a366004611612565b610922565b34801561057b57600080fd5b5061058f61058a36600461163c565b61092a565b604051908152602001610261565b3480156105a957600080fd5b506105bd6105b83660046116a0565b610963565b60408051921515835263ffffffff909116602083015201610261565b3480156105e557600080fd5b506102086105f436600461152b565b6109e1565b34801561060557600080fd5b50610208610614366004611593565b6109f3565b34801561062557600080fd5b506206978061028b565b34801561063b57600080fd5b506105bd61064a36600461152b565b610a9a565b34801561065b57600080fd5b5061020861056a3660046116de565b34801561067657600080fd5b5061028b61068536600461163c565b6000949350505050565b34801561069b57600080fd5b506106b66106aa3660046116fc565b60008094509492505050565b6040805192835263ffffffff909116602083015201610261565b3480156106dc57600080fd5b506102086106eb36600461152b565b610b10565b6106f8610b39565b60005b8281101561074457610734858585848181106107195761071961176e565b905060200201602081019061072e9190611784565b84610ba4565b61073d8161179f565b90506106fb565b5050505050565b610753610b39565b61075d8282610c28565b5050565b610769610b39565b604051637a9e5e4b60e01b81526001600160a01b038281166004830152831690637a9e5e4b90602401600060405180830381600087803b1580156107ac57600080fd5b505af11580156107c0573d6000803e3d6000fd5b505050505050565b6107d0610b39565b6107dd8383600084610cce565b50505050565b6001600160401b03821660009081526002602090815260408083206001600160a01b038516845290915281205465ffffffffffff1690808092959194509250565b61082c610b39565b61075d8282610e36565b61083e610b39565b61075d8282610ed8565b6001600160a01b03821660009081526001602090815260408083206001600160e01b0319851684529091529020546001600160401b03165b92915050565b61088e610b39565b6001600160401b03831615806108ac57506001600160401b03838116145b156108da5760405163061c6a4360e21b81526001600160401b03841660048201526024015b60405180910390fd5b826001600160401b03167f1256f5b5ecb89caec12db449738f2fbcd1ba5806cf38f35413f4e5c15bf6a45083836040516109159291906117ef565b60405180910390a2505050565b61075d610b39565b600084848484604051602001610943949392919061180b565b604051602081830303815290604052805190602001209050949350505050565b6001600160a01b0382166000908152600160208190526040822001548190600160701b900460ff161561099b575060009050806109d9565b60006109a78585610848565b90506000806109b68389610a9a565b91509150816109c7576000806109d1565b63ffffffff811615815b945094505050505b935093915050565b6109e9610b39565b6104f68282610f88565b60005460ff1615610a515760405162461bcd60e51b815260206004820152602260248201527f4163636573734d616e616765723a20616c726561647920696e697469616c697a604482015261195960f21b60648201526084016108d1565b6001600160a01b038116610a7b57604051630409d6d160e11b8152600060048201526024016108d1565b610a89600082600080610cce565b50506000805460ff19166001179055565b60008067fffffffffffffffe196001600160401b03851601610ac25750600190506000610b09565b600080610acf86866107e3565b5050915091508165ffffffffffff16600014158015610afe57504265ffffffffffff168265ffffffffffff1611155b93509150610b099050565b9250929050565b6001600160a01b03811633146109e957604051635f159e6360e01b815260040160405180910390fd5b33600080610b48838236611075565b91509150816104f6578063ffffffff166000036104f6576000610b6b81366110ef565b5060405163f07e038f60e01b81526001600160a01b03871660048201526001600160401b038216602482015290925060440190506108d1565b6001600160a01b03831660008181526001602090815260408083206001600160e01b0319871680855290835292819020805467ffffffffffffffff19166001600160401b038716908117909155905192835292917f9ea6790c7dadfd01c9f8b9762b3682607af2c7e79e05a9f9fdf5580dde949151910160405180910390a3505050565b306001600160a01b03831603610c5c57604051630b40d17960e31b81526001600160a01b03831660048201526024016108d1565b6001600160a01b038216600081815260016020819052604091829020018054841515600160701b0260ff60701b19909116179055517f90d4e7bb7e5d933792b3562e1741306f8be94837e1348dacef9b6f1df56eb13890610cc290841515815260200190565b60405180910390a25050565b600067fffffffffffffffe196001600160401b03861601610d0d5760405163061c6a4360e21b81526001600160401b03861660048201526024016108d1565b6001600160401b03851660009081526002602090815260408083206001600160a01b038816845290915281205465ffffffffffff1615908115610dc8575060408051808201825265ffffffffffff428181168352600060208085018281526001600160401b038d168352600282528683206001600160a01b038d1684529091529490209251835494516dffffffffffffffffffffffffffff166601000000000000026001600160a01b03199095169216919091179290921790555b6040805163ffffffff8616815265ffffffffffff831660208201528315158183015290516001600160a01b038816916001600160401b038a16917ff98448b987f1428e0e230e1f3c6e2ce15b5693eaf31827fbd0b1ec4b424ae7cf9181900360600190a35095945050505050565b6001600160401b0382161580610e5457506001600160401b03828116145b15610e7d5760405163061c6a4360e21b81526001600160401b03831660048201526024016108d1565b6001600160401b03828116600081815260026020526040808220600101805467ffffffffffffffff19169486169485179055517f1fd6dd7631312dfac2205b52913f99de03b4d7e381d5d27d3dbfe0713e6e63409190a35050565b6001600160401b0382161580610ef657506001600160401b03828116145b15610f1f5760405163061c6a4360e21b81526001600160401b03831660048201526024016108d1565b6001600160401b0382811660008181526002602052604080822060010180546fffffffffffffffff00000000000000001916600160401b958716958602179055517f7a8059630b897b5de4c08ade69f8b90c3ead1f8596d62d10b6c4d14a0afb4ae29190a35050565b600067fffffffffffffffe196001600160401b03841601610fc75760405163061c6a4360e21b81526001600160401b03841660048201526024016108d1565b6001600160401b03831660009081526002602090815260408083206001600160a01b038616845290915281205465ffffffffffff16900361100a57506000610880565b6001600160401b03831660008181526002602090815260408083206001600160a01b038716808552925280832080546001600160a01b0319169055519092917ff229baa593af28c41b1d16b748cd7688f0c83aaf92d4be41c44005defe84c16691a350600192915050565b600080600483101561108c575060009050806109d9565b600080600061109b87876110ef565b925092509250826110b557600080945094505050506109d9565b6000806110c2848b610a9a565b91509150816110dc576000809650965050505050506109d9565b5060019960009950975050505050505050565b60008080600484101561110a575060009150819050806112c4565b600061111686866112cb565b90506001600160e01b031981166310a6aa3760e31b148061114757506001600160e01b031981166330cae18760e01b145b8061116257506001600160e01b0319811663294b14a960e11b145b8061117d57506001600160e01b03198116635326cae760e11b145b8061119857506001600160e01b0319811663d22b598960e01b145b156111ae576001600080935093509350506112c4565b6001600160e01b0319811663063fc60f60e21b14806111dd57506001600160e01b0319811663167bd39560e01b145b806111f857506001600160e01b031981166308d6122d60e01b145b1561122e57600061120d60246004888a611842565b81019061121a9190611593565b5060019450600093508392506112c4915050565b6001600160e01b0319811663012e238d60e51b148061125d57506001600160e01b03198116635be958b160e11b145b156112b757600061127260246004888a611842565b81019061127f91906113b6565b905060016112a8826001600160401b039081166000908152600260205260409020600101541690565b600094509450945050506112c4565b6000806000935093509350505b9250925092565b60006112da6004828486611842565b6112e39161186c565b9392505050565b6001600160a01b03811681146112ff57600080fd5b50565b80356001600160401b038116811461131957600080fd5b919050565b6000806000806060858703121561133457600080fd5b843561133f816112ea565b935060208501356001600160401b038082111561135b57600080fd5b818701915087601f83011261136f57600080fd5b81358181111561137e57600080fd5b8860208260051b850101111561139357600080fd5b6020830195508094505050506113ab60408601611302565b905092959194509250565b6000602082840312156113c857600080fd5b6112e382611302565b600080604083850312156113e457600080fd5b82356113ef816112ea565b91506020830135801515811461140457600080fd5b809150509250929050565b6000806040838503121561142257600080fd5b823561142d816112ea565b91506020830135611404816112ea565b60008083601f84011261144f57600080fd5b5081356001600160401b0381111561146657600080fd5b602083019150836020828501011115610b0957600080fd5b60008060006040848603121561149357600080fd5b833561149e816112ea565b925060208401356001600160401b038111156114b957600080fd5b6114c58682870161143d565b9497909650939450505050565b803563ffffffff8116811461131957600080fd5b6000806000606084860312156114fb57600080fd5b61150484611302565b92506020840135611514816112ea565b9150611522604085016114d2565b90509250925092565b6000806040838503121561153e57600080fd5b61142d83611302565b6000806040838503121561155a57600080fd5b61156383611302565b915061157160208401611302565b90509250929050565b60006020828403121561158c57600080fd5b5035919050565b6000602082840312156115a557600080fd5b81356112e3816112ea565b80356001600160e01b03198116811461131957600080fd5b600080604083850312156115db57600080fd5b82356115e6816112ea565b9150611571602084016115b0565b60008060006040848603121561160957600080fd5b61149e84611302565b6000806040838503121561162557600080fd5b61162e83611302565b9150611571602084016114d2565b6000806000806060858703121561165257600080fd5b843561165d816112ea565b9350602085013561166d816112ea565b925060408501356001600160401b0381111561168857600080fd5b6116948782880161143d565b95989497509550505050565b6000806000606084860312156116b557600080fd5b83356116c0816112ea565b925060208401356116d0816112ea565b9150611522604085016115b0565b600080604083850312156116f157600080fd5b823561162e816112ea565b6000806000806060858703121561171257600080fd5b843561171d816112ea565b935060208501356001600160401b0381111561173857600080fd5b6117448782880161143d565b909450925050604085013565ffffffffffff8116811461176357600080fd5b939692955090935050565b634e487b7160e01b600052603260045260246000fd5b60006020828403121561179657600080fd5b6112e3826115b0565b6000600182016117bf57634e487b7160e01b600052601160045260246000fd5b5060010190565b81835281816020850137506000828201602090810191909152601f909101601f19169091010190565b6020815260006118036020830184866117c6565b949350505050565b6001600160a01b0385811682528416602082015260606040820181905260009061183890830184866117c6565b9695505050505050565b6000808585111561185257600080fd5b8386111561185f57600080fd5b5050820193919092039150565b6001600160e01b031981358181169160048510156118945780818660040360031b1b83161692505b50509291505056fea2646970667358221220dfce4eeff5910998b4abe6eb2c8322de4f98e5f0aa905ed887a26ae57bcc658e64736f6c63430008140033",
1129
- "deployedBytecode": "0x6080604052600436106101e35760003560e01c80636d5115bd11610102578063b7d2b16211610095578063d22b598911610064578063d22b59891461064f578063d6bb62c61461066a578063f801a6981461068f578063fe0776f5146106d057600080fd5b8063b7d2b162146105d9578063c4d66de8146105f9578063cc1b6c8114610619578063d1f856ee1461062f57600080fd5b8063a166aa89116100d1578063a166aa89146104fb578063a64d95ce1461054f578063abd9bd2a1461056f578063b70096131461059d57600080fd5b80636d5115bd1461048657806375b238fc146104a6578063853551b8146104bb57806394c7d7ee146104db57600080fd5b806330cae1871161017a5780634665096d116101495780634665096d146103f95780634c1da1e21461040f578063529629521461042a578063530dd4561461044a57600080fd5b806330cae187146103715780633adc277a146103915780633ca7c02a146103c35780634136a33c146103de57600080fd5b806318ff183c116101b657806318ff183c146102c05780631cff79cd146102e057806325c471a0146102f75780633078f1141461031757600080fd5b806308d6122d146101e85780630b0a93ba1461020a57806312be87271461026a578063167bd395146102a0575b600080fd5b3480156101f457600080fd5b5061020861020336600461131e565b6106f0565b005b34801561021657600080fd5b5061024d6102253660046113b6565b6001600160401b03908116600090815260026020526040902060010154600160401b90041690565b6040516001600160401b0390911681526020015b60405180910390f35b34801561027657600080fd5b5061028b6102853660046113b6565b50600090565b60405163ffffffff9091168152602001610261565b3480156102ac57600080fd5b506102086102bb3660046113d1565b61074b565b3480156102cc57600080fd5b506102086102db36600461140f565b610761565b61028b6102ee36600461147e565b60009392505050565b34801561030357600080fd5b506102086103123660046114e6565b6107c8565b34801561032357600080fd5b5061033761033236600461152b565b6107e3565b604051610261949392919065ffffffffffff948516815263ffffffff93841660208201529190921660408201529116606082015260800190565b34801561037d57600080fd5b5061020861038c366004611547565b610824565b34801561039d57600080fd5b506103ac61028536600461157a565b60405165ffffffffffff9091168152602001610261565b3480156103cf57600080fd5b5061024d6001600160401b0381565b3480156103ea57600080fd5b5061028b61028536600461157a565b34801561040557600080fd5b5062093a8061028b565b34801561041b57600080fd5b5061028b610285366004611593565b34801561043657600080fd5b50610208610445366004611547565b610836565b34801561045657600080fd5b5061024d6104653660046113b6565b6001600160401b039081166000908152600260205260409020600101541690565b34801561049257600080fd5b5061024d6104a13660046115c8565b610848565b3480156104b257600080fd5b5061024d600081565b3480156104c757600080fd5b506102086104d63660046115f4565b610886565b3480156104e757600080fd5b506102086104f636600461147e565b505050565b34801561050757600080fd5b5061053f610516366004611593565b6001600160a01b031660009081526001602081905260409091200154600160701b900460ff1690565b6040519015158152602001610261565b34801561055b57600080fd5b5061020861056a366004611612565b610922565b34801561057b57600080fd5b5061058f61058a36600461163c565b61092a565b604051908152602001610261565b3480156105a957600080fd5b506105bd6105b83660046116a0565b610963565b60408051921515835263ffffffff909116602083015201610261565b3480156105e557600080fd5b506102086105f436600461152b565b6109e1565b34801561060557600080fd5b50610208610614366004611593565b6109f3565b34801561062557600080fd5b506206978061028b565b34801561063b57600080fd5b506105bd61064a36600461152b565b610a9a565b34801561065b57600080fd5b5061020861056a3660046116de565b34801561067657600080fd5b5061028b61068536600461163c565b6000949350505050565b34801561069b57600080fd5b506106b66106aa3660046116fc565b60008094509492505050565b6040805192835263ffffffff909116602083015201610261565b3480156106dc57600080fd5b506102086106eb36600461152b565b610b10565b6106f8610b39565b60005b8281101561074457610734858585848181106107195761071961176e565b905060200201602081019061072e9190611784565b84610ba4565b61073d8161179f565b90506106fb565b5050505050565b610753610b39565b61075d8282610c28565b5050565b610769610b39565b604051637a9e5e4b60e01b81526001600160a01b038281166004830152831690637a9e5e4b90602401600060405180830381600087803b1580156107ac57600080fd5b505af11580156107c0573d6000803e3d6000fd5b505050505050565b6107d0610b39565b6107dd8383600084610cce565b50505050565b6001600160401b03821660009081526002602090815260408083206001600160a01b038516845290915281205465ffffffffffff1690808092959194509250565b61082c610b39565b61075d8282610e36565b61083e610b39565b61075d8282610ed8565b6001600160a01b03821660009081526001602090815260408083206001600160e01b0319851684529091529020546001600160401b03165b92915050565b61088e610b39565b6001600160401b03831615806108ac57506001600160401b03838116145b156108da5760405163061c6a4360e21b81526001600160401b03841660048201526024015b60405180910390fd5b826001600160401b03167f1256f5b5ecb89caec12db449738f2fbcd1ba5806cf38f35413f4e5c15bf6a45083836040516109159291906117ef565b60405180910390a2505050565b61075d610b39565b600084848484604051602001610943949392919061180b565b604051602081830303815290604052805190602001209050949350505050565b6001600160a01b0382166000908152600160208190526040822001548190600160701b900460ff161561099b575060009050806109d9565b60006109a78585610848565b90506000806109b68389610a9a565b91509150816109c7576000806109d1565b63ffffffff811615815b945094505050505b935093915050565b6109e9610b39565b6104f68282610f88565b60005460ff1615610a515760405162461bcd60e51b815260206004820152602260248201527f4163636573734d616e616765723a20616c726561647920696e697469616c697a604482015261195960f21b60648201526084016108d1565b6001600160a01b038116610a7b57604051630409d6d160e11b8152600060048201526024016108d1565b610a89600082600080610cce565b50506000805460ff19166001179055565b60008067fffffffffffffffe196001600160401b03851601610ac25750600190506000610b09565b600080610acf86866107e3565b5050915091508165ffffffffffff16600014158015610afe57504265ffffffffffff168265ffffffffffff1611155b93509150610b099050565b9250929050565b6001600160a01b03811633146109e957604051635f159e6360e01b815260040160405180910390fd5b33600080610b48838236611075565b91509150816104f6578063ffffffff166000036104f6576000610b6b81366110ef565b5060405163f07e038f60e01b81526001600160a01b03871660048201526001600160401b038216602482015290925060440190506108d1565b6001600160a01b03831660008181526001602090815260408083206001600160e01b0319871680855290835292819020805467ffffffffffffffff19166001600160401b038716908117909155905192835292917f9ea6790c7dadfd01c9f8b9762b3682607af2c7e79e05a9f9fdf5580dde949151910160405180910390a3505050565b306001600160a01b03831603610c5c57604051630b40d17960e31b81526001600160a01b03831660048201526024016108d1565b6001600160a01b038216600081815260016020819052604091829020018054841515600160701b0260ff60701b19909116179055517f90d4e7bb7e5d933792b3562e1741306f8be94837e1348dacef9b6f1df56eb13890610cc290841515815260200190565b60405180910390a25050565b600067fffffffffffffffe196001600160401b03861601610d0d5760405163061c6a4360e21b81526001600160401b03861660048201526024016108d1565b6001600160401b03851660009081526002602090815260408083206001600160a01b038816845290915281205465ffffffffffff1615908115610dc8575060408051808201825265ffffffffffff428181168352600060208085018281526001600160401b038d168352600282528683206001600160a01b038d1684529091529490209251835494516dffffffffffffffffffffffffffff166601000000000000026001600160a01b03199095169216919091179290921790555b6040805163ffffffff8616815265ffffffffffff831660208201528315158183015290516001600160a01b038816916001600160401b038a16917ff98448b987f1428e0e230e1f3c6e2ce15b5693eaf31827fbd0b1ec4b424ae7cf9181900360600190a35095945050505050565b6001600160401b0382161580610e5457506001600160401b03828116145b15610e7d5760405163061c6a4360e21b81526001600160401b03831660048201526024016108d1565b6001600160401b03828116600081815260026020526040808220600101805467ffffffffffffffff19169486169485179055517f1fd6dd7631312dfac2205b52913f99de03b4d7e381d5d27d3dbfe0713e6e63409190a35050565b6001600160401b0382161580610ef657506001600160401b03828116145b15610f1f5760405163061c6a4360e21b81526001600160401b03831660048201526024016108d1565b6001600160401b0382811660008181526002602052604080822060010180546fffffffffffffffff00000000000000001916600160401b958716958602179055517f7a8059630b897b5de4c08ade69f8b90c3ead1f8596d62d10b6c4d14a0afb4ae29190a35050565b600067fffffffffffffffe196001600160401b03841601610fc75760405163061c6a4360e21b81526001600160401b03841660048201526024016108d1565b6001600160401b03831660009081526002602090815260408083206001600160a01b038616845290915281205465ffffffffffff16900361100a57506000610880565b6001600160401b03831660008181526002602090815260408083206001600160a01b038716808552925280832080546001600160a01b0319169055519092917ff229baa593af28c41b1d16b748cd7688f0c83aaf92d4be41c44005defe84c16691a350600192915050565b600080600483101561108c575060009050806109d9565b600080600061109b87876110ef565b925092509250826110b557600080945094505050506109d9565b6000806110c2848b610a9a565b91509150816110dc576000809650965050505050506109d9565b5060019960009950975050505050505050565b60008080600484101561110a575060009150819050806112c4565b600061111686866112cb565b90506001600160e01b031981166310a6aa3760e31b148061114757506001600160e01b031981166330cae18760e01b145b8061116257506001600160e01b0319811663294b14a960e11b145b8061117d57506001600160e01b03198116635326cae760e11b145b8061119857506001600160e01b0319811663d22b598960e01b145b156111ae576001600080935093509350506112c4565b6001600160e01b0319811663063fc60f60e21b14806111dd57506001600160e01b0319811663167bd39560e01b145b806111f857506001600160e01b031981166308d6122d60e01b145b1561122e57600061120d60246004888a611842565b81019061121a9190611593565b5060019450600093508392506112c4915050565b6001600160e01b0319811663012e238d60e51b148061125d57506001600160e01b03198116635be958b160e11b145b156112b757600061127260246004888a611842565b81019061127f91906113b6565b905060016112a8826001600160401b039081166000908152600260205260409020600101541690565b600094509450945050506112c4565b6000806000935093509350505b9250925092565b60006112da6004828486611842565b6112e39161186c565b9392505050565b6001600160a01b03811681146112ff57600080fd5b50565b80356001600160401b038116811461131957600080fd5b919050565b6000806000806060858703121561133457600080fd5b843561133f816112ea565b935060208501356001600160401b038082111561135b57600080fd5b818701915087601f83011261136f57600080fd5b81358181111561137e57600080fd5b8860208260051b850101111561139357600080fd5b6020830195508094505050506113ab60408601611302565b905092959194509250565b6000602082840312156113c857600080fd5b6112e382611302565b600080604083850312156113e457600080fd5b82356113ef816112ea565b91506020830135801515811461140457600080fd5b809150509250929050565b6000806040838503121561142257600080fd5b823561142d816112ea565b91506020830135611404816112ea565b60008083601f84011261144f57600080fd5b5081356001600160401b0381111561146657600080fd5b602083019150836020828501011115610b0957600080fd5b60008060006040848603121561149357600080fd5b833561149e816112ea565b925060208401356001600160401b038111156114b957600080fd5b6114c58682870161143d565b9497909650939450505050565b803563ffffffff8116811461131957600080fd5b6000806000606084860312156114fb57600080fd5b61150484611302565b92506020840135611514816112ea565b9150611522604085016114d2565b90509250925092565b6000806040838503121561153e57600080fd5b61142d83611302565b6000806040838503121561155a57600080fd5b61156383611302565b915061157160208401611302565b90509250929050565b60006020828403121561158c57600080fd5b5035919050565b6000602082840312156115a557600080fd5b81356112e3816112ea565b80356001600160e01b03198116811461131957600080fd5b600080604083850312156115db57600080fd5b82356115e6816112ea565b9150611571602084016115b0565b60008060006040848603121561160957600080fd5b61149e84611302565b6000806040838503121561162557600080fd5b61162e83611302565b9150611571602084016114d2565b6000806000806060858703121561165257600080fd5b843561165d816112ea565b9350602085013561166d816112ea565b925060408501356001600160401b0381111561168857600080fd5b6116948782880161143d565b95989497509550505050565b6000806000606084860312156116b557600080fd5b83356116c0816112ea565b925060208401356116d0816112ea565b9150611522604085016115b0565b600080604083850312156116f157600080fd5b823561162e816112ea565b6000806000806060858703121561171257600080fd5b843561171d816112ea565b935060208501356001600160401b0381111561173857600080fd5b6117448782880161143d565b909450925050604085013565ffffffffffff8116811461176357600080fd5b939692955090935050565b634e487b7160e01b600052603260045260246000fd5b60006020828403121561179657600080fd5b6112e3826115b0565b6000600182016117bf57634e487b7160e01b600052601160045260246000fd5b5060010190565b81835281816020850137506000828201602090810191909152601f909101601f19169091010190565b6020815260006118036020830184866117c6565b949350505050565b6001600160a01b0385811682528416602082015260606040820181905260009061183890830184866117c6565b9695505050505050565b6000808585111561185257600080fd5b8386111561185f57600080fd5b5050820193919092039150565b6001600160e01b031981358181169160048510156118945780818660040360031b1b83161692505b50509291505056fea2646970667358221220dfce4eeff5910998b4abe6eb2c8322de4f98e5f0aa905ed887a26ae57bcc658e64736f6c63430008140033",
1130
- "linkReferences": {},
1131
- "deployedLinkReferences": {}
1132
- }