@etherisc/gif-next 0.0.2-f080b71-868 → 0.0.2-f08528a-758

Sign up to get free protection for your applications and to get access to all the features.
Files changed (615) hide show
  1. package/README.md +20 -3
  2. package/artifacts/contracts/authorization/AccessAdmin.sol/AccessAdmin.dbg.json +4 -0
  3. package/artifacts/contracts/authorization/AccessAdmin.sol/AccessAdmin.json +1248 -0
  4. package/artifacts/contracts/authorization/AccessManagerCloneable.sol/AccessManagerCloneable.dbg.json +4 -0
  5. package/artifacts/contracts/{instance/AccessManagerUpgradeableInitializeable.sol/AccessManagerUpgradeableInitializeable.json → authorization/AccessManagerCloneable.sol/AccessManagerCloneable.json} +4 -4
  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/authorization/IAccessAdmin.sol/IAccessAdmin.json +1032 -0
  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 +1505 -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 +1191 -0
  28. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.dbg.json +4 -0
  29. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.json +1394 -0
  30. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +4 -0
  31. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.json +826 -0
  32. package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.dbg.json +4 -0
  33. package/artifacts/contracts/{components → distribution}/IDistributionComponent.sol/IDistributionComponent.json +184 -253
  34. package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.dbg.json +4 -0
  35. package/artifacts/contracts/{instance/service → distribution}/IDistributionService.sol/IDistributionService.json +81 -109
  36. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.dbg.json +1 -1
  37. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.json +37 -112
  38. package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
  39. package/artifacts/contracts/instance/IInstance.sol/IInstance.json +160 -81
  40. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +1 -1
  41. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +184 -81
  42. package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
  43. package/artifacts/contracts/instance/Instance.sol/Instance.json +153 -168
  44. package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.dbg.json +4 -0
  45. package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.json +1621 -0
  46. package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.dbg.json +4 -0
  47. package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.json +601 -0
  48. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +1 -1
  49. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +821 -385
  50. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +1 -1
  51. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +273 -177
  52. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +1 -1
  53. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +126 -65
  54. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.dbg.json +1 -1
  55. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.json +1471 -557
  56. package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.dbg.json +4 -0
  57. package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.json +318 -0
  58. package/artifacts/contracts/instance/base/Cloneable.sol/Cloneable.dbg.json +4 -0
  59. package/artifacts/contracts/instance/{Cloneable.sol → base/Cloneable.sol}/Cloneable.json +1 -54
  60. package/artifacts/contracts/instance/base/ObjectCounter.sol/ObjectCounter.dbg.json +4 -0
  61. package/artifacts/contracts/instance/base/ObjectCounter.sol/ObjectCounter.json +10 -0
  62. package/artifacts/contracts/instance/base/ObjectLifecycle.sol/ObjectLifecycle.dbg.json +4 -0
  63. package/artifacts/contracts/instance/base/ObjectLifecycle.sol/ObjectLifecycle.json +182 -0
  64. package/artifacts/contracts/instance/base/ObjectManager.sol/ObjectManager.dbg.json +4 -0
  65. package/artifacts/contracts/instance/base/ObjectManager.sol/ObjectManager.json +181 -0
  66. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.dbg.json +1 -1
  67. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.json +8 -116
  68. package/artifacts/contracts/instance/module/IBundle.sol/IBundle.dbg.json +1 -1
  69. package/artifacts/contracts/instance/module/IComponents.sol/IComponents.dbg.json +1 -1
  70. package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.dbg.json +1 -1
  71. package/artifacts/contracts/instance/module/IPolicy.sol/IPolicy.dbg.json +1 -1
  72. package/artifacts/contracts/instance/module/IRisk.sol/IRisk.dbg.json +1 -1
  73. package/artifacts/contracts/mock/Dip.sol/Dip.dbg.json +4 -0
  74. package/artifacts/contracts/mock/Dip.sol/Dip.json +376 -0
  75. package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.dbg.json +4 -0
  76. package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.json +1155 -0
  77. package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.dbg.json +4 -0
  78. package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.json +418 -0
  79. package/artifacts/contracts/oracle/IOracle.sol/IOracle.dbg.json +4 -0
  80. package/artifacts/contracts/oracle/IOracle.sol/IOracle.json +52 -0
  81. package/artifacts/contracts/oracle/IOracleComponent.sol/IOracleComponent.dbg.json +4 -0
  82. package/artifacts/contracts/{components/IProductComponent.sol/IProductComponent.json → oracle/IOracleComponent.sol/IOracleComponent.json} +160 -218
  83. package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.dbg.json +4 -0
  84. package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.json +675 -0
  85. package/artifacts/contracts/oracle/Oracle.sol/Oracle.dbg.json +4 -0
  86. package/artifacts/contracts/oracle/Oracle.sol/Oracle.json +1063 -0
  87. package/artifacts/contracts/oracle/OracleService.sol/OracleService.dbg.json +4 -0
  88. package/artifacts/contracts/oracle/OracleService.sol/OracleService.json +1034 -0
  89. package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.dbg.json +4 -0
  90. package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.json +730 -0
  91. package/artifacts/contracts/pool/BasicPool.sol/BasicPool.dbg.json +4 -0
  92. package/artifacts/contracts/{components/Pool.sol/Pool.json → pool/BasicPool.sol/BasicPool.json} +254 -153
  93. package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.dbg.json +4 -0
  94. package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.json +410 -0
  95. package/artifacts/contracts/pool/BundleService.sol/BundleService.dbg.json +4 -0
  96. package/artifacts/contracts/pool/BundleService.sol/BundleService.json +1134 -0
  97. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.dbg.json +4 -0
  98. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.json +754 -0
  99. package/artifacts/contracts/pool/IBundleService.sol/IBundleService.dbg.json +4 -0
  100. package/artifacts/contracts/{instance/service → pool}/IBundleService.sol/IBundleService.json +71 -48
  101. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.dbg.json +4 -0
  102. package/artifacts/contracts/{components → pool}/IPoolComponent.sol/IPoolComponent.json +191 -296
  103. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.dbg.json +4 -0
  104. package/artifacts/contracts/{instance/service → pool}/IPoolService.sol/IPoolService.json +294 -60
  105. package/artifacts/contracts/pool/Pool.sol/Pool.dbg.json +4 -0
  106. package/artifacts/contracts/pool/Pool.sol/Pool.json +1269 -0
  107. package/artifacts/contracts/pool/PoolService.sol/PoolService.dbg.json +4 -0
  108. package/artifacts/contracts/pool/PoolService.sol/PoolService.json +1453 -0
  109. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.dbg.json +4 -0
  110. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.json +742 -0
  111. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.dbg.json +4 -0
  112. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.json +863 -0
  113. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +4 -0
  114. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.json +730 -0
  115. package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.dbg.json +4 -0
  116. package/artifacts/contracts/{components/Distribution.sol/Distribution.json → product/BasicProduct.sol/BasicProduct.json} +370 -400
  117. package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.dbg.json +4 -0
  118. package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.json +410 -0
  119. package/artifacts/contracts/product/ClaimService.sol/ClaimService.dbg.json +4 -0
  120. package/artifacts/contracts/product/ClaimService.sol/ClaimService.json +1315 -0
  121. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +4 -0
  122. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.json +822 -0
  123. package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.dbg.json +4 -0
  124. package/artifacts/contracts/{instance/service → product}/IApplicationService.sol/IApplicationService.json +58 -21
  125. package/artifacts/contracts/product/IClaimService.sol/IClaimService.dbg.json +4 -0
  126. package/artifacts/contracts/{instance/service → product}/IClaimService.sol/IClaimService.json +336 -39
  127. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.dbg.json +4 -0
  128. package/artifacts/contracts/{instance/service → product}/IPolicyService.sol/IPolicyService.json +178 -106
  129. package/artifacts/contracts/product/IPricingService.sol/IPricingService.dbg.json +4 -0
  130. package/artifacts/contracts/{instance/service → product}/IPricingService.sol/IPricingService.json +50 -19
  131. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.dbg.json +4 -0
  132. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.json +966 -0
  133. package/artifacts/contracts/product/IProductService.sol/IProductService.dbg.json +4 -0
  134. package/artifacts/contracts/{instance/service → product}/IProductService.sol/IProductService.json +11 -61
  135. package/artifacts/contracts/product/PolicyService.sol/PolicyService.dbg.json +4 -0
  136. package/artifacts/contracts/product/PolicyService.sol/PolicyService.json +1183 -0
  137. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +4 -0
  138. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.json +766 -0
  139. package/artifacts/contracts/product/PricingService.sol/PricingService.dbg.json +4 -0
  140. package/artifacts/contracts/product/PricingService.sol/PricingService.json +1012 -0
  141. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.dbg.json +4 -0
  142. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.json +786 -0
  143. package/artifacts/contracts/product/Product.sol/Product.dbg.json +4 -0
  144. package/artifacts/contracts/{components → product}/Product.sol/Product.json +338 -248
  145. package/artifacts/contracts/product/ProductService.sol/ProductService.dbg.json +4 -0
  146. package/artifacts/contracts/product/ProductService.sol/ProductService.json +708 -0
  147. package/artifacts/contracts/product/ProductServiceManager.sol/ProductServiceManager.dbg.json +4 -0
  148. package/artifacts/contracts/product/ProductServiceManager.sol/ProductServiceManager.json +702 -0
  149. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
  150. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +2 -2
  151. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
  152. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +135 -29
  153. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +1 -1
  154. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +310 -53
  155. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +1 -1
  156. package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
  157. package/artifacts/contracts/registry/Registry.sol/Registry.json +371 -43
  158. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.dbg.json +4 -0
  159. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.json +1741 -0
  160. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +1 -1
  161. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +367 -73
  162. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +1 -1
  163. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +105 -54
  164. package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.dbg.json +4 -0
  165. package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.json +164 -0
  166. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.dbg.json +1 -1
  167. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.json +697 -97
  168. package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.dbg.json +4 -0
  169. package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.json +214 -0
  170. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +1 -1
  171. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +316 -153
  172. package/artifacts/contracts/shared/Component.sol/Component.dbg.json +4 -0
  173. package/artifacts/contracts/{components → shared}/Component.sol/Component.json +139 -85
  174. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.dbg.json +4 -0
  175. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.json +1487 -0
  176. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.dbg.json +4 -0
  177. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.json +784 -0
  178. package/artifacts/contracts/shared/ComponentVerifyingService.sol/ComponentVerifyingService.dbg.json +4 -0
  179. package/artifacts/contracts/{instance/base/ComponentService.sol/ComponentService.json → shared/ComponentVerifyingService.sol/ComponentVerifyingService.json} +27 -127
  180. package/artifacts/contracts/shared/ERC165.sol/ERC165.dbg.json +1 -1
  181. package/artifacts/contracts/shared/ERC165.sol/ERC165.json +2 -2
  182. package/artifacts/contracts/shared/IComponent.sol/IComponent.dbg.json +4 -0
  183. package/artifacts/contracts/{components → shared}/IComponent.sol/IComponent.json +110 -84
  184. package/artifacts/contracts/shared/IComponentService.sol/IComponentService.dbg.json +4 -0
  185. package/artifacts/contracts/shared/IComponentService.sol/IComponentService.json +880 -0
  186. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.dbg.json +4 -0
  187. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.json +718 -0
  188. package/artifacts/contracts/shared/IKeyValueStore.sol/IKeyValueStore.dbg.json +4 -0
  189. package/artifacts/contracts/{instance/base → shared}/IKeyValueStore.sol/IKeyValueStore.json +59 -14
  190. package/artifacts/contracts/shared/ILifecycle.sol/ILifecycle.dbg.json +4 -0
  191. package/artifacts/contracts/{instance/base → shared}/ILifecycle.sol/ILifecycle.json +1 -6
  192. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +1 -1
  193. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.json +3 -10
  194. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.dbg.json +1 -1
  195. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.json +87 -9
  196. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
  197. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +3 -10
  198. package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.dbg.json +1 -1
  199. package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.json +0 -13
  200. package/artifacts/contracts/shared/IService.sol/IService.dbg.json +1 -1
  201. package/artifacts/contracts/shared/IService.sol/IService.json +17 -6
  202. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.dbg.json +1 -1
  203. package/artifacts/contracts/shared/InitializableCustom.sol/InitializableCustom.dbg.json +4 -0
  204. package/artifacts/contracts/shared/InitializableCustom.sol/InitializableCustom.json +39 -0
  205. package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.dbg.json +4 -0
  206. package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.json +996 -0
  207. package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.dbg.json +4 -0
  208. package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.json +497 -0
  209. package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.dbg.json +4 -0
  210. package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.json +133 -0
  211. package/artifacts/contracts/shared/NftIdSetManager.sol/NftIdSetManager.dbg.json +4 -0
  212. package/artifacts/contracts/shared/NftIdSetManager.sol/NftIdSetManager.json +306 -0
  213. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +1 -1
  214. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +15 -22
  215. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.dbg.json +1 -1
  216. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.json +98 -26
  217. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.dbg.json +1 -1
  218. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.json +70 -35
  219. package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
  220. package/artifacts/contracts/shared/Registerable.sol/Registerable.json +23 -22
  221. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.dbg.json +1 -1
  222. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.json +2 -15
  223. package/artifacts/contracts/shared/Service.sol/Service.dbg.json +1 -1
  224. package/artifacts/contracts/shared/Service.sol/Service.json +17 -6
  225. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +1 -1
  226. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +60 -6
  227. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +1 -1
  228. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +2 -2
  229. package/artifacts/contracts/shared/Versionable.sol/Versionable.dbg.json +1 -1
  230. package/artifacts/contracts/staking/IStaking.sol/IStaking.dbg.json +4 -0
  231. package/artifacts/contracts/staking/IStaking.sol/IStaking.json +1438 -0
  232. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.dbg.json +4 -0
  233. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.json +1035 -0
  234. package/artifacts/contracts/staking/StakeManagerLib.sol/StakeManagerLib.dbg.json +4 -0
  235. package/artifacts/contracts/staking/StakeManagerLib.sol/StakeManagerLib.json +460 -0
  236. package/artifacts/contracts/staking/Staking.sol/Staking.dbg.json +4 -0
  237. package/artifacts/contracts/staking/Staking.sol/Staking.json +2005 -0
  238. package/artifacts/contracts/staking/StakingLifecycle.sol/StakingLifecycle.dbg.json +4 -0
  239. package/artifacts/contracts/staking/StakingLifecycle.sol/StakingLifecycle.json +164 -0
  240. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.dbg.json +4 -0
  241. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.json +761 -0
  242. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.dbg.json +4 -0
  243. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.json +592 -0
  244. package/artifacts/contracts/staking/StakingService.sol/StakingService.dbg.json +4 -0
  245. package/artifacts/contracts/staking/StakingService.sol/StakingService.json +1343 -0
  246. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.dbg.json +4 -0
  247. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.json +718 -0
  248. package/artifacts/contracts/staking/StakingStore.sol/StakingStore.dbg.json +4 -0
  249. package/artifacts/contracts/staking/StakingStore.sol/StakingStore.json +2237 -0
  250. package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.dbg.json +4 -0
  251. package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.json +571 -0
  252. package/artifacts/contracts/type/AddressSet.sol/LibAddressSet.dbg.json +4 -0
  253. package/artifacts/contracts/{types → type}/AddressSet.sol/LibAddressSet.json +3 -3
  254. package/artifacts/contracts/type/Amount.sol/AmountLib.dbg.json +4 -0
  255. package/artifacts/contracts/type/Amount.sol/AmountLib.json +345 -0
  256. package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.dbg.json +4 -0
  257. package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.json +225 -0
  258. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.dbg.json +4 -0
  259. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.json +179 -0
  260. package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.dbg.json +4 -0
  261. package/artifacts/contracts/{types → type}/DistributorType.sol/DistributorTypeLib.json +5 -5
  262. package/artifacts/contracts/type/Fee.sol/FeeLib.dbg.json +4 -0
  263. package/artifacts/contracts/type/Fee.sol/FeeLib.json +312 -0
  264. package/artifacts/contracts/type/Key32.sol/Key32Lib.dbg.json +4 -0
  265. package/artifacts/contracts/{types → type}/Key32.sol/Key32Lib.json +3 -3
  266. package/artifacts/contracts/type/NftId.sol/NftIdLib.dbg.json +4 -0
  267. package/artifacts/contracts/type/NftId.sol/NftIdLib.json +209 -0
  268. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.dbg.json +4 -0
  269. package/artifacts/contracts/{types → type}/NftIdSet.sol/LibNftIdSet.json +3 -3
  270. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.dbg.json +4 -0
  271. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.json +239 -0
  272. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.dbg.json +4 -0
  273. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.json +209 -0
  274. package/artifacts/contracts/type/Referral.sol/ReferralLib.dbg.json +4 -0
  275. package/artifacts/contracts/type/Referral.sol/ReferralLib.json +142 -0
  276. package/artifacts/contracts/type/RequestId.sol/RequestIdLib.dbg.json +4 -0
  277. package/artifacts/contracts/type/RequestId.sol/RequestIdLib.json +204 -0
  278. package/artifacts/contracts/type/RiskId.sol/RiskIdLib.dbg.json +4 -0
  279. package/artifacts/contracts/{types → type}/RiskId.sol/RiskIdLib.json +5 -5
  280. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.dbg.json +4 -0
  281. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.json +369 -0
  282. package/artifacts/contracts/type/Seconds.sol/SecondsLib.dbg.json +4 -0
  283. package/artifacts/contracts/type/Seconds.sol/SecondsLib.json +198 -0
  284. package/artifacts/contracts/type/Selector.sol/SelectorLib.dbg.json +4 -0
  285. package/artifacts/contracts/type/Selector.sol/SelectorLib.json +129 -0
  286. package/artifacts/contracts/type/Selector.sol/SelectorSetLib.dbg.json +4 -0
  287. package/artifacts/contracts/type/Selector.sol/SelectorSetLib.json +10 -0
  288. package/artifacts/contracts/type/StateId.sol/StateIdLib.dbg.json +4 -0
  289. package/artifacts/contracts/{types → type}/StateId.sol/StateIdLib.json +3 -3
  290. package/artifacts/contracts/type/String.sol/StrLib.dbg.json +4 -0
  291. package/artifacts/contracts/type/String.sol/StrLib.json +132 -0
  292. package/artifacts/contracts/type/Timestamp.sol/TimestampLib.dbg.json +4 -0
  293. package/artifacts/contracts/{types → type}/Timestamp.sol/TimestampLib.json +33 -7
  294. package/artifacts/contracts/type/UFixed.sol/MathLib.dbg.json +4 -0
  295. package/artifacts/contracts/{types → type}/UFixed.sol/MathLib.json +3 -3
  296. package/artifacts/contracts/type/UFixed.sol/UFixedLib.dbg.json +4 -0
  297. package/artifacts/contracts/type/UFixed.sol/UFixedLib.json +498 -0
  298. package/artifacts/contracts/type/Version.sol/VersionLib.dbg.json +4 -0
  299. package/artifacts/contracts/{types → type}/Version.sol/VersionLib.json +3 -3
  300. package/artifacts/contracts/type/Version.sol/VersionPartLib.dbg.json +4 -0
  301. package/artifacts/contracts/{types → type}/Version.sol/VersionPartLib.json +3 -3
  302. package/contracts/authorization/AccessAdmin.sol +588 -0
  303. package/contracts/authorization/AccessManagerCloneable.sol +16 -0
  304. package/contracts/authorization/Authorization.sol +218 -0
  305. package/contracts/authorization/IAccess.sol +48 -0
  306. package/contracts/authorization/IAccessAdmin.sol +136 -0
  307. package/contracts/authorization/IAuthorization.sol +54 -0
  308. package/contracts/authorization/IModuleAuthorization.sol +21 -0
  309. package/contracts/authorization/IServiceAuthorization.sol +38 -0
  310. package/contracts/authorization/ModuleAuthorization.sol +78 -0
  311. package/contracts/authorization/ServiceAuthorization.sol +90 -0
  312. package/contracts/distribution/BasicDistribution.sol +149 -0
  313. package/contracts/distribution/BasicDistributionAuthorization.sol +43 -0
  314. package/contracts/{components → distribution}/Distribution.sol +162 -159
  315. package/contracts/distribution/DistributionService.sol +302 -0
  316. package/contracts/distribution/DistributionServiceManager.sol +42 -0
  317. package/contracts/distribution/IDistributionComponent.sol +48 -0
  318. package/contracts/{instance/service → distribution}/IDistributionService.sol +24 -24
  319. package/contracts/instance/BundleManager.sol +8 -9
  320. package/contracts/instance/IInstance.sol +48 -22
  321. package/contracts/instance/IInstanceService.sol +44 -36
  322. package/contracts/instance/Instance.sol +134 -107
  323. package/contracts/instance/InstanceAdmin.sol +266 -0
  324. package/contracts/instance/InstanceAuthorizationV3.sol +202 -0
  325. package/contracts/instance/InstanceReader.sol +164 -58
  326. package/contracts/instance/InstanceService.sol +279 -156
  327. package/contracts/instance/InstanceServiceManager.sol +11 -21
  328. package/contracts/instance/InstanceStore.sol +154 -97
  329. package/contracts/instance/base/BalanceStore.sol +123 -0
  330. package/contracts/instance/base/Cloneable.sol +28 -0
  331. package/contracts/instance/base/ObjectCounter.sol +21 -0
  332. package/contracts/instance/base/ObjectLifecycle.sol +106 -0
  333. package/contracts/instance/{ObjectManager.sol → base/ObjectManager.sol} +13 -16
  334. package/contracts/instance/module/IAccess.sol +4 -12
  335. package/contracts/instance/module/IBundle.sol +6 -9
  336. package/contracts/instance/module/IComponents.sol +21 -10
  337. package/contracts/instance/module/IDistribution.sol +7 -6
  338. package/contracts/instance/module/IPolicy.sol +28 -16
  339. package/contracts/instance/module/IRisk.sol +1 -1
  340. package/contracts/{test/TestToken.sol → mock/Dip.sol} +5 -5
  341. package/contracts/oracle/BasicOracle.sol +48 -0
  342. package/contracts/oracle/BasicOracleAuthorization.sol +46 -0
  343. package/contracts/oracle/IOracle.sol +36 -0
  344. package/contracts/oracle/IOracleComponent.sol +32 -0
  345. package/contracts/oracle/IOracleService.sol +65 -0
  346. package/contracts/oracle/Oracle.sol +157 -0
  347. package/contracts/oracle/OracleService.sol +278 -0
  348. package/contracts/oracle/OracleServiceManager.sol +42 -0
  349. package/contracts/pool/BasicPool.sol +164 -0
  350. package/contracts/pool/BasicPoolAuthorization.sol +49 -0
  351. package/contracts/pool/BundleService.sol +296 -0
  352. package/contracts/pool/BundleServiceManager.sol +42 -0
  353. package/contracts/{instance/service → pool}/IBundleService.sol +35 -23
  354. package/contracts/pool/IPoolComponent.sol +52 -0
  355. package/contracts/{instance/service → pool}/IPoolService.sol +72 -21
  356. package/contracts/pool/Pool.sol +311 -0
  357. package/contracts/pool/PoolService.sol +452 -0
  358. package/contracts/pool/PoolServiceManager.sol +42 -0
  359. package/contracts/product/ApplicationService.sol +254 -0
  360. package/contracts/{instance/service → product}/ApplicationServiceManager.sol +11 -8
  361. package/contracts/product/BasicProduct.sol +82 -0
  362. package/contracts/product/BasicProductAuthorization.sol +40 -0
  363. package/contracts/product/ClaimService.sol +442 -0
  364. package/contracts/{instance/service → product}/ClaimServiceManager.sol +11 -8
  365. package/contracts/{instance/service → product}/IApplicationService.sol +15 -17
  366. package/contracts/product/IClaimService.sol +99 -0
  367. package/contracts/{instance/service → product}/IPolicyService.sol +37 -33
  368. package/contracts/{instance/service → product}/IPricingService.sol +14 -11
  369. package/contracts/product/IProductComponent.sol +39 -0
  370. package/contracts/product/IProductService.sol +33 -0
  371. package/contracts/product/PolicyService.sol +475 -0
  372. package/contracts/product/PolicyServiceManager.sol +42 -0
  373. package/contracts/{instance/service → product}/PricingService.sol +110 -85
  374. package/contracts/product/PricingServiceManager.sol +42 -0
  375. package/contracts/{components → product}/Product.sol +210 -114
  376. package/contracts/product/ProductService.sol +124 -0
  377. package/contracts/product/ProductServiceManager.sol +42 -0
  378. package/contracts/registry/ChainNft.sol +8 -1
  379. package/contracts/registry/IRegistry.sol +41 -21
  380. package/contracts/registry/IRegistryService.sol +37 -36
  381. package/contracts/registry/Registry.sol +194 -83
  382. package/contracts/registry/RegistryAdmin.sol +365 -0
  383. package/contracts/registry/RegistryService.sol +71 -91
  384. package/contracts/registry/RegistryServiceManager.sol +21 -30
  385. package/contracts/registry/ReleaseLifecycle.sol +27 -0
  386. package/contracts/registry/ReleaseManager.sol +356 -193
  387. package/contracts/registry/ServiceAuthorizationV3.sol +200 -0
  388. package/contracts/registry/TokenRegistry.sol +261 -62
  389. package/contracts/shared/Component.sol +281 -0
  390. package/contracts/shared/ComponentService.sol +581 -0
  391. package/contracts/shared/ComponentServiceManager.sol +35 -0
  392. package/contracts/shared/ComponentVerifyingService.sol +117 -0
  393. package/contracts/shared/ERC165.sol +1 -1
  394. package/contracts/{components → shared}/IComponent.sol +23 -29
  395. package/contracts/shared/IComponentService.sol +102 -0
  396. package/contracts/shared/IInstanceLinkedComponent.sol +50 -0
  397. package/contracts/{instance/base → shared}/IKeyValueStore.sol +16 -11
  398. package/contracts/{instance/base → shared}/ILifecycle.sol +3 -4
  399. package/contracts/shared/INftOwnable.sol +2 -2
  400. package/contracts/shared/IPolicyHolder.sol +29 -10
  401. package/contracts/shared/IRegistryLinked.sol +0 -1
  402. package/contracts/shared/IService.sol +11 -2
  403. package/contracts/shared/IVersionable.sol +1 -1
  404. package/contracts/shared/InitializableCustom.sol +177 -0
  405. package/contracts/shared/InstanceLinkedComponent.sol +151 -0
  406. package/contracts/shared/KeyValueStore.sol +131 -0
  407. package/contracts/shared/Lifecycle.sol +77 -0
  408. package/contracts/shared/NftIdSetManager.sol +65 -0
  409. package/contracts/shared/NftOwnable.sol +3 -16
  410. package/contracts/shared/PolicyHolder.sol +40 -19
  411. package/contracts/shared/ProxyManager.sol +34 -4
  412. package/contracts/shared/Registerable.sol +13 -12
  413. package/contracts/shared/RegistryLinked.sol +0 -5
  414. package/contracts/shared/Service.sol +32 -21
  415. package/contracts/shared/TokenHandler.sol +27 -2
  416. package/contracts/shared/Versionable.sol +1 -1
  417. package/contracts/staking/IStaking.sol +168 -0
  418. package/contracts/staking/IStakingService.sol +153 -0
  419. package/contracts/staking/StakeManagerLib.sol +231 -0
  420. package/contracts/staking/Staking.sol +513 -0
  421. package/contracts/staking/StakingLifecycle.sol +23 -0
  422. package/contracts/staking/StakingManager.sol +54 -0
  423. package/contracts/staking/StakingReader.sol +187 -0
  424. package/contracts/staking/StakingService.sol +411 -0
  425. package/contracts/staking/StakingServiceManager.sol +44 -0
  426. package/contracts/staking/StakingStore.sol +615 -0
  427. package/contracts/staking/TargetManagerLib.sol +207 -0
  428. package/contracts/{types → type}/AddressSet.sol +1 -1
  429. package/contracts/type/Amount.sol +128 -0
  430. package/contracts/{types → type}/Blocknumber.sol +20 -3
  431. package/contracts/{types → type}/ClaimId.sol +25 -2
  432. package/contracts/{types → type}/Fee.sol +24 -22
  433. package/contracts/{types → type}/NftId.sol +14 -16
  434. package/contracts/{types → type}/NftIdSet.sol +2 -2
  435. package/contracts/type/ObjectType.sol +275 -0
  436. package/contracts/{types → type}/PayoutId.sol +33 -5
  437. package/contracts/{types → type}/Referral.sol +1 -1
  438. package/contracts/type/RequestId.sol +75 -0
  439. package/contracts/{types → type}/RiskId.sol +1 -1
  440. package/contracts/type/RoleId.sol +174 -0
  441. package/contracts/{types → type}/Seconds.sol +27 -0
  442. package/contracts/type/Selector.sol +102 -0
  443. package/contracts/{types → type}/StateId.sol +33 -4
  444. package/contracts/type/String.sol +53 -0
  445. package/contracts/{types → type}/Timestamp.sol +10 -1
  446. package/contracts/{types → type}/UFixed.sol +6 -0
  447. package/contracts/{types → type}/Version.sol +1 -1
  448. package/package.json +6 -3
  449. package/artifacts/contracts/components/Component.sol/Component.dbg.json +0 -4
  450. package/artifacts/contracts/components/Distribution.sol/Distribution.dbg.json +0 -4
  451. package/artifacts/contracts/components/IComponent.sol/IComponent.dbg.json +0 -4
  452. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.dbg.json +0 -4
  453. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.dbg.json +0 -4
  454. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.dbg.json +0 -4
  455. package/artifacts/contracts/components/Pool.sol/Pool.dbg.json +0 -4
  456. package/artifacts/contracts/components/Product.sol/Product.dbg.json +0 -4
  457. package/artifacts/contracts/instance/AccessManagerUpgradeableInitializeable.sol/AccessManagerUpgradeableInitializeable.dbg.json +0 -4
  458. package/artifacts/contracts/instance/Cloneable.sol/Cloneable.dbg.json +0 -4
  459. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.dbg.json +0 -4
  460. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.json +0 -1348
  461. package/artifacts/contracts/instance/InstanceAuthorizationsLib.sol/InstanceAuthorizationsLib.dbg.json +0 -4
  462. package/artifacts/contracts/instance/InstanceAuthorizationsLib.sol/InstanceAuthorizationsLib.json +0 -124
  463. package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.dbg.json +0 -4
  464. package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.json +0 -256
  465. package/artifacts/contracts/instance/base/ComponentService.sol/ComponentService.dbg.json +0 -4
  466. package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.dbg.json +0 -4
  467. package/artifacts/contracts/instance/base/ILifecycle.sol/ILifecycle.dbg.json +0 -4
  468. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.dbg.json +0 -4
  469. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.json +0 -532
  470. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.dbg.json +0 -4
  471. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.json +0 -194
  472. package/artifacts/contracts/instance/module/ISetup.sol/ISetup.dbg.json +0 -4
  473. package/artifacts/contracts/instance/module/ITreasury.sol/ITreasury.dbg.json +0 -4
  474. package/artifacts/contracts/instance/module/ITreasury.sol/ITreasury.json +0 -10
  475. package/artifacts/contracts/instance/service/ApplicationService.sol/ApplicationService.dbg.json +0 -4
  476. package/artifacts/contracts/instance/service/ApplicationService.sol/ApplicationService.json +0 -860
  477. package/artifacts/contracts/instance/service/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +0 -4
  478. package/artifacts/contracts/instance/service/ApplicationServiceManager.sol/ApplicationServiceManager.json +0 -641
  479. package/artifacts/contracts/instance/service/BundleService.sol/BundleService.dbg.json +0 -4
  480. package/artifacts/contracts/instance/service/BundleService.sol/BundleService.json +0 -1276
  481. package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.dbg.json +0 -4
  482. package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.json +0 -717
  483. package/artifacts/contracts/instance/service/ClaimService.sol/ClaimService.dbg.json +0 -4
  484. package/artifacts/contracts/instance/service/ClaimService.sol/ClaimService.json +0 -849
  485. package/artifacts/contracts/instance/service/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +0 -4
  486. package/artifacts/contracts/instance/service/ClaimServiceManager.sol/ClaimServiceManager.json +0 -641
  487. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.dbg.json +0 -4
  488. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.json +0 -1539
  489. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +0 -4
  490. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.json +0 -769
  491. package/artifacts/contracts/instance/service/IApplicationService.sol/IApplicationService.dbg.json +0 -4
  492. package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.dbg.json +0 -4
  493. package/artifacts/contracts/instance/service/IClaimService.sol/IClaimService.dbg.json +0 -4
  494. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.dbg.json +0 -4
  495. package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.dbg.json +0 -4
  496. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.dbg.json +0 -4
  497. package/artifacts/contracts/instance/service/IPricingService.sol/IPricingService.dbg.json +0 -4
  498. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.dbg.json +0 -4
  499. package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.dbg.json +0 -4
  500. package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.json +0 -1166
  501. package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +0 -4
  502. package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.json +0 -697
  503. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.dbg.json +0 -4
  504. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.json +0 -1269
  505. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.dbg.json +0 -4
  506. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.json +0 -661
  507. package/artifacts/contracts/instance/service/PricingService.sol/PricingService.dbg.json +0 -4
  508. package/artifacts/contracts/instance/service/PricingService.sol/PricingService.json +0 -988
  509. package/artifacts/contracts/instance/service/PricingServiceManager.sol/PricingServiceManager.dbg.json +0 -4
  510. package/artifacts/contracts/instance/service/PricingServiceManager.sol/PricingServiceManager.json +0 -689
  511. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.dbg.json +0 -4
  512. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.json +0 -872
  513. package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.dbg.json +0 -4
  514. package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.json +0 -653
  515. package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.dbg.json +0 -4
  516. package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.json +0 -285
  517. package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.dbg.json +0 -4
  518. package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.json +0 -107
  519. package/artifacts/contracts/test/TestFee.sol/TestFee.dbg.json +0 -4
  520. package/artifacts/contracts/test/TestFee.sol/TestFee.json +0 -119
  521. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.dbg.json +0 -4
  522. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.json +0 -383
  523. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.dbg.json +0 -4
  524. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.json +0 -116
  525. package/artifacts/contracts/test/TestService.sol/TestService.dbg.json +0 -4
  526. package/artifacts/contracts/test/TestService.sol/TestService.json +0 -596
  527. package/artifacts/contracts/test/TestToken.sol/TestUsdc.dbg.json +0 -4
  528. package/artifacts/contracts/test/TestToken.sol/TestUsdc.json +0 -376
  529. package/artifacts/contracts/test/TestVersion.sol/TestVersion.dbg.json +0 -4
  530. package/artifacts/contracts/test/TestVersion.sol/TestVersion.json +0 -218
  531. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.dbg.json +0 -4
  532. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.json +0 -104
  533. package/artifacts/contracts/test/Usdc.sol/USDC.dbg.json +0 -4
  534. package/artifacts/contracts/test/Usdc.sol/USDC.json +0 -376
  535. package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.dbg.json +0 -4
  536. package/artifacts/contracts/types/Amount.sol/AmountLib.dbg.json +0 -4
  537. package/artifacts/contracts/types/Amount.sol/AmountLib.json +0 -161
  538. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.dbg.json +0 -4
  539. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.json +0 -174
  540. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.dbg.json +0 -4
  541. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.json +0 -10
  542. package/artifacts/contracts/types/ClaimId.sol/ClaimIdLib.dbg.json +0 -4
  543. package/artifacts/contracts/types/ClaimId.sol/ClaimIdLib.json +0 -100
  544. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.dbg.json +0 -4
  545. package/artifacts/contracts/types/Fee.sol/FeeLib.dbg.json +0 -4
  546. package/artifacts/contracts/types/Fee.sol/FeeLib.json +0 -288
  547. package/artifacts/contracts/types/Key32.sol/Key32Lib.dbg.json +0 -4
  548. package/artifacts/contracts/types/NftId.sol/NftIdLib.dbg.json +0 -4
  549. package/artifacts/contracts/types/NftId.sol/NftIdLib.json +0 -166
  550. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.dbg.json +0 -4
  551. package/artifacts/contracts/types/NumberId.sol/NumberIdLib.dbg.json +0 -4
  552. package/artifacts/contracts/types/NumberId.sol/NumberIdLib.json +0 -100
  553. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.dbg.json +0 -4
  554. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.json +0 -92
  555. package/artifacts/contracts/types/PayoutId.sol/PayoutIdLib.dbg.json +0 -4
  556. package/artifacts/contracts/types/PayoutId.sol/PayoutIdLib.json +0 -100
  557. package/artifacts/contracts/types/Referral.sol/ReferralLib.dbg.json +0 -4
  558. package/artifacts/contracts/types/Referral.sol/ReferralLib.json +0 -142
  559. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.dbg.json +0 -4
  560. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.dbg.json +0 -4
  561. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.json +0 -156
  562. package/artifacts/contracts/types/Seconds.sol/SecondsLib.dbg.json +0 -4
  563. package/artifacts/contracts/types/Seconds.sol/SecondsLib.json +0 -124
  564. package/artifacts/contracts/types/StateId.sol/StateIdLib.dbg.json +0 -4
  565. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.dbg.json +0 -4
  566. package/artifacts/contracts/types/UFixed.sol/MathLib.dbg.json +0 -4
  567. package/artifacts/contracts/types/UFixed.sol/UFixedLib.dbg.json +0 -4
  568. package/artifacts/contracts/types/UFixed.sol/UFixedLib.json +0 -479
  569. package/artifacts/contracts/types/Version.sol/VersionLib.dbg.json +0 -4
  570. package/artifacts/contracts/types/Version.sol/VersionPartLib.dbg.json +0 -4
  571. package/contracts/components/Component.sol +0 -253
  572. package/contracts/components/IDistributionComponent.sol +0 -71
  573. package/contracts/components/IPoolComponent.sol +0 -113
  574. package/contracts/components/IProductComponent.sol +0 -40
  575. package/contracts/components/Pool.sol +0 -303
  576. package/contracts/instance/AccessManagerUpgradeableInitializeable.sol +0 -13
  577. package/contracts/instance/Cloneable.sol +0 -51
  578. package/contracts/instance/InstanceAccessManager.sol +0 -540
  579. package/contracts/instance/InstanceAuthorizationsLib.sol +0 -299
  580. package/contracts/instance/base/ComponentService.sol +0 -147
  581. package/contracts/instance/base/KeyValueStore.sol +0 -180
  582. package/contracts/instance/base/Lifecycle.sol +0 -109
  583. package/contracts/instance/module/ISetup.sol +0 -33
  584. package/contracts/instance/module/ITreasury.sol +0 -23
  585. package/contracts/instance/service/ApplicationService.sol +0 -183
  586. package/contracts/instance/service/BundleService.sol +0 -431
  587. package/contracts/instance/service/BundleServiceManager.sol +0 -51
  588. package/contracts/instance/service/ClaimService.sol +0 -145
  589. package/contracts/instance/service/DistributionService.sol +0 -346
  590. package/contracts/instance/service/DistributionServiceManager.sol +0 -51
  591. package/contracts/instance/service/IClaimService.sol +0 -61
  592. package/contracts/instance/service/IProductService.sol +0 -40
  593. package/contracts/instance/service/PolicyService.sol +0 -376
  594. package/contracts/instance/service/PolicyServiceManager.sol +0 -54
  595. package/contracts/instance/service/PoolService.sol +0 -303
  596. package/contracts/instance/service/PoolServiceManager.sol +0 -51
  597. package/contracts/instance/service/PricingServiceManager.sol +0 -51
  598. package/contracts/instance/service/ProductService.sol +0 -210
  599. package/contracts/instance/service/ProductServiceManager.sol +0 -54
  600. package/contracts/registry/RegistryAccessManager.sol +0 -216
  601. package/contracts/shared/ContractDeployerLib.sol +0 -72
  602. package/contracts/test/TestFee.sol +0 -25
  603. package/contracts/test/TestRegisterable.sol +0 -18
  604. package/contracts/test/TestRoleId.sol +0 -14
  605. package/contracts/test/TestService.sol +0 -25
  606. package/contracts/test/TestVersion.sol +0 -44
  607. package/contracts/test/TestVersionable.sol +0 -17
  608. package/contracts/test/Usdc.sol +0 -26
  609. package/contracts/types/Amount.sol +0 -60
  610. package/contracts/types/ChainId.sol +0 -38
  611. package/contracts/types/NumberId.sol +0 -52
  612. package/contracts/types/ObjectType.sol +0 -161
  613. package/contracts/types/RoleId.sol +0 -97
  614. /package/contracts/{types → type}/DistributorType.sol +0 -0
  615. /package/contracts/{types → type}/Key32.sol +0 -0
@@ -0,0 +1,1248 @@
1
+ {
2
+ "_format": "hh-sol-artifact-1",
3
+ "contractName": "AccessAdmin",
4
+ "sourceName": "contracts/authorization/AccessAdmin.sol",
5
+ "abi": [
6
+ {
7
+ "inputs": [],
8
+ "stateMutability": "nonpayable",
9
+ "type": "constructor"
10
+ },
11
+ {
12
+ "inputs": [
13
+ {
14
+ "internalType": "address",
15
+ "name": "authority",
16
+ "type": "address"
17
+ }
18
+ ],
19
+ "name": "AccessManagedInvalidAuthority",
20
+ "type": "error"
21
+ },
22
+ {
23
+ "inputs": [
24
+ {
25
+ "internalType": "address",
26
+ "name": "caller",
27
+ "type": "address"
28
+ },
29
+ {
30
+ "internalType": "uint32",
31
+ "name": "delay",
32
+ "type": "uint32"
33
+ }
34
+ ],
35
+ "name": "AccessManagedRequiredDelay",
36
+ "type": "error"
37
+ },
38
+ {
39
+ "inputs": [
40
+ {
41
+ "internalType": "address",
42
+ "name": "caller",
43
+ "type": "address"
44
+ }
45
+ ],
46
+ "name": "AccessManagedUnauthorized",
47
+ "type": "error"
48
+ },
49
+ {
50
+ "inputs": [],
51
+ "name": "ErrorAdminRoleMissing",
52
+ "type": "error"
53
+ },
54
+ {
55
+ "inputs": [],
56
+ "name": "ErrorAuthorityAlreadySet",
57
+ "type": "error"
58
+ },
59
+ {
60
+ "inputs": [
61
+ {
62
+ "internalType": "address",
63
+ "name": "target",
64
+ "type": "address"
65
+ }
66
+ ],
67
+ "name": "ErrorAuthorizeForAdminRoleInvalid",
68
+ "type": "error"
69
+ },
70
+ {
71
+ "inputs": [
72
+ {
73
+ "internalType": "RoleId",
74
+ "name": "adminRoleId",
75
+ "type": "uint64"
76
+ }
77
+ ],
78
+ "name": "ErrorNotAdminOfRole",
79
+ "type": "error"
80
+ },
81
+ {
82
+ "inputs": [],
83
+ "name": "ErrorNotDeployer",
84
+ "type": "error"
85
+ },
86
+ {
87
+ "inputs": [
88
+ {
89
+ "internalType": "RoleId",
90
+ "name": "roleId",
91
+ "type": "uint64"
92
+ }
93
+ ],
94
+ "name": "ErrorNotRoleOwner",
95
+ "type": "error"
96
+ },
97
+ {
98
+ "inputs": [
99
+ {
100
+ "internalType": "RoleId",
101
+ "name": "adminRoleId",
102
+ "type": "uint64"
103
+ }
104
+ ],
105
+ "name": "ErrorRoleAdminNotExisting",
106
+ "type": "error"
107
+ },
108
+ {
109
+ "inputs": [
110
+ {
111
+ "internalType": "RoleId",
112
+ "name": "roleId",
113
+ "type": "uint64"
114
+ },
115
+ {
116
+ "internalType": "string",
117
+ "name": "name",
118
+ "type": "string"
119
+ }
120
+ ],
121
+ "name": "ErrorRoleAlreadyCreated",
122
+ "type": "error"
123
+ },
124
+ {
125
+ "inputs": [
126
+ {
127
+ "internalType": "RoleId",
128
+ "name": "roleId",
129
+ "type": "uint64"
130
+ }
131
+ ],
132
+ "name": "ErrorRoleIsDisabled",
133
+ "type": "error"
134
+ },
135
+ {
136
+ "inputs": [
137
+ {
138
+ "internalType": "RoleId",
139
+ "name": "roleId",
140
+ "type": "uint64"
141
+ }
142
+ ],
143
+ "name": "ErrorRoleIsLocked",
144
+ "type": "error"
145
+ },
146
+ {
147
+ "inputs": [
148
+ {
149
+ "internalType": "RoleId",
150
+ "name": "roleId",
151
+ "type": "uint64"
152
+ },
153
+ {
154
+ "internalType": "uint256",
155
+ "name": "memberCountLimit",
156
+ "type": "uint256"
157
+ }
158
+ ],
159
+ "name": "ErrorRoleMembersLimitReached",
160
+ "type": "error"
161
+ },
162
+ {
163
+ "inputs": [
164
+ {
165
+ "internalType": "RoleId",
166
+ "name": "roleId",
167
+ "type": "uint64"
168
+ },
169
+ {
170
+ "internalType": "string",
171
+ "name": "name",
172
+ "type": "string"
173
+ },
174
+ {
175
+ "internalType": "RoleId",
176
+ "name": "existingRoleId",
177
+ "type": "uint64"
178
+ }
179
+ ],
180
+ "name": "ErrorRoleNameAlreadyExists",
181
+ "type": "error"
182
+ },
183
+ {
184
+ "inputs": [
185
+ {
186
+ "internalType": "RoleId",
187
+ "name": "roleId",
188
+ "type": "uint64"
189
+ }
190
+ ],
191
+ "name": "ErrorRoleNameEmpty",
192
+ "type": "error"
193
+ },
194
+ {
195
+ "inputs": [
196
+ {
197
+ "internalType": "RoleId",
198
+ "name": "roleId",
199
+ "type": "uint64"
200
+ }
201
+ ],
202
+ "name": "ErrorRoleRemovalDisabled",
203
+ "type": "error"
204
+ },
205
+ {
206
+ "inputs": [
207
+ {
208
+ "internalType": "RoleId",
209
+ "name": "roleId",
210
+ "type": "uint64"
211
+ }
212
+ ],
213
+ "name": "ErrorRoleUnknown",
214
+ "type": "error"
215
+ },
216
+ {
217
+ "inputs": [],
218
+ "name": "ErrorTagetNotLockable",
219
+ "type": "error"
220
+ },
221
+ {
222
+ "inputs": [
223
+ {
224
+ "internalType": "address",
225
+ "name": "target",
226
+ "type": "address"
227
+ },
228
+ {
229
+ "internalType": "string",
230
+ "name": "name",
231
+ "type": "string"
232
+ }
233
+ ],
234
+ "name": "ErrorTargetAlreadyCreated",
235
+ "type": "error"
236
+ },
237
+ {
238
+ "inputs": [
239
+ {
240
+ "internalType": "address",
241
+ "name": "expectedAuthority",
242
+ "type": "address"
243
+ },
244
+ {
245
+ "internalType": "address",
246
+ "name": "actualAuthority",
247
+ "type": "address"
248
+ }
249
+ ],
250
+ "name": "ErrorTargetAuthorityMismatch",
251
+ "type": "error"
252
+ },
253
+ {
254
+ "inputs": [
255
+ {
256
+ "internalType": "address",
257
+ "name": "target",
258
+ "type": "address"
259
+ },
260
+ {
261
+ "internalType": "string",
262
+ "name": "name",
263
+ "type": "string"
264
+ },
265
+ {
266
+ "internalType": "address",
267
+ "name": "existingTarget",
268
+ "type": "address"
269
+ }
270
+ ],
271
+ "name": "ErrorTargetNameAlreadyExists",
272
+ "type": "error"
273
+ },
274
+ {
275
+ "inputs": [
276
+ {
277
+ "internalType": "address",
278
+ "name": "target",
279
+ "type": "address"
280
+ }
281
+ ],
282
+ "name": "ErrorTargetNameEmpty",
283
+ "type": "error"
284
+ },
285
+ {
286
+ "inputs": [
287
+ {
288
+ "internalType": "address",
289
+ "name": "target",
290
+ "type": "address"
291
+ }
292
+ ],
293
+ "name": "ErrorTargetNotAccessManaged",
294
+ "type": "error"
295
+ },
296
+ {
297
+ "inputs": [
298
+ {
299
+ "internalType": "address",
300
+ "name": "target",
301
+ "type": "address"
302
+ }
303
+ ],
304
+ "name": "ErrorTargetUnknown",
305
+ "type": "error"
306
+ },
307
+ {
308
+ "inputs": [],
309
+ "name": "InvalidInitialization",
310
+ "type": "error"
311
+ },
312
+ {
313
+ "inputs": [],
314
+ "name": "NotInitializing",
315
+ "type": "error"
316
+ },
317
+ {
318
+ "anonymous": false,
319
+ "inputs": [
320
+ {
321
+ "indexed": false,
322
+ "internalType": "address",
323
+ "name": "authority",
324
+ "type": "address"
325
+ }
326
+ ],
327
+ "name": "AuthorityUpdated",
328
+ "type": "event"
329
+ },
330
+ {
331
+ "anonymous": false,
332
+ "inputs": [
333
+ {
334
+ "indexed": false,
335
+ "internalType": "uint64",
336
+ "name": "version",
337
+ "type": "uint64"
338
+ }
339
+ ],
340
+ "name": "Initialized",
341
+ "type": "event"
342
+ },
343
+ {
344
+ "anonymous": false,
345
+ "inputs": [
346
+ {
347
+ "indexed": false,
348
+ "internalType": "address",
349
+ "name": "target",
350
+ "type": "address"
351
+ },
352
+ {
353
+ "indexed": false,
354
+ "internalType": "Selector",
355
+ "name": "selector",
356
+ "type": "bytes4"
357
+ },
358
+ {
359
+ "indexed": false,
360
+ "internalType": "string",
361
+ "name": "name",
362
+ "type": "string"
363
+ }
364
+ ],
365
+ "name": "LogFunctionCreated",
366
+ "type": "event"
367
+ },
368
+ {
369
+ "anonymous": false,
370
+ "inputs": [
371
+ {
372
+ "indexed": false,
373
+ "internalType": "RoleId",
374
+ "name": "roleId",
375
+ "type": "uint64"
376
+ },
377
+ {
378
+ "indexed": false,
379
+ "internalType": "enum IAccess.RoleType",
380
+ "name": "roleType",
381
+ "type": "uint8"
382
+ },
383
+ {
384
+ "indexed": false,
385
+ "internalType": "RoleId",
386
+ "name": "roleAdminId",
387
+ "type": "uint64"
388
+ },
389
+ {
390
+ "indexed": false,
391
+ "internalType": "string",
392
+ "name": "name",
393
+ "type": "string"
394
+ }
395
+ ],
396
+ "name": "LogRoleCreated",
397
+ "type": "event"
398
+ },
399
+ {
400
+ "anonymous": false,
401
+ "inputs": [
402
+ {
403
+ "indexed": false,
404
+ "internalType": "address",
405
+ "name": "target",
406
+ "type": "address"
407
+ },
408
+ {
409
+ "indexed": false,
410
+ "internalType": "string",
411
+ "name": "name",
412
+ "type": "string"
413
+ }
414
+ ],
415
+ "name": "LogTargetCreated",
416
+ "type": "event"
417
+ },
418
+ {
419
+ "inputs": [],
420
+ "name": "ADMIN_ROLE_NAME",
421
+ "outputs": [
422
+ {
423
+ "internalType": "string",
424
+ "name": "",
425
+ "type": "string"
426
+ }
427
+ ],
428
+ "stateMutability": "view",
429
+ "type": "function"
430
+ },
431
+ {
432
+ "inputs": [],
433
+ "name": "PUBLIC_ROLE_NAME",
434
+ "outputs": [
435
+ {
436
+ "internalType": "string",
437
+ "name": "",
438
+ "type": "string"
439
+ }
440
+ ],
441
+ "stateMutability": "view",
442
+ "type": "function"
443
+ },
444
+ {
445
+ "inputs": [],
446
+ "name": "authority",
447
+ "outputs": [
448
+ {
449
+ "internalType": "address",
450
+ "name": "",
451
+ "type": "address"
452
+ }
453
+ ],
454
+ "stateMutability": "view",
455
+ "type": "function"
456
+ },
457
+ {
458
+ "inputs": [
459
+ {
460
+ "internalType": "address",
461
+ "name": "target",
462
+ "type": "address"
463
+ }
464
+ ],
465
+ "name": "authorizedFunctions",
466
+ "outputs": [
467
+ {
468
+ "internalType": "uint256",
469
+ "name": "numberOfFunctions",
470
+ "type": "uint256"
471
+ }
472
+ ],
473
+ "stateMutability": "view",
474
+ "type": "function"
475
+ },
476
+ {
477
+ "inputs": [
478
+ {
479
+ "internalType": "address",
480
+ "name": "caller",
481
+ "type": "address"
482
+ },
483
+ {
484
+ "internalType": "address",
485
+ "name": "target",
486
+ "type": "address"
487
+ },
488
+ {
489
+ "internalType": "Selector",
490
+ "name": "selector",
491
+ "type": "bytes4"
492
+ }
493
+ ],
494
+ "name": "canCall",
495
+ "outputs": [
496
+ {
497
+ "internalType": "bool",
498
+ "name": "can",
499
+ "type": "bool"
500
+ }
501
+ ],
502
+ "stateMutability": "view",
503
+ "type": "function"
504
+ },
505
+ {
506
+ "inputs": [],
507
+ "name": "deployer",
508
+ "outputs": [
509
+ {
510
+ "internalType": "address",
511
+ "name": "",
512
+ "type": "address"
513
+ }
514
+ ],
515
+ "stateMutability": "view",
516
+ "type": "function"
517
+ },
518
+ {
519
+ "inputs": [],
520
+ "name": "getAdminRole",
521
+ "outputs": [
522
+ {
523
+ "internalType": "RoleId",
524
+ "name": "roleId",
525
+ "type": "uint64"
526
+ }
527
+ ],
528
+ "stateMutability": "view",
529
+ "type": "function"
530
+ },
531
+ {
532
+ "inputs": [
533
+ {
534
+ "internalType": "address",
535
+ "name": "target",
536
+ "type": "address"
537
+ },
538
+ {
539
+ "internalType": "uint256",
540
+ "name": "idx",
541
+ "type": "uint256"
542
+ }
543
+ ],
544
+ "name": "getAuthorizedFunction",
545
+ "outputs": [
546
+ {
547
+ "components": [
548
+ {
549
+ "internalType": "Str",
550
+ "name": "name",
551
+ "type": "bytes32"
552
+ },
553
+ {
554
+ "internalType": "Selector",
555
+ "name": "selector",
556
+ "type": "bytes4"
557
+ },
558
+ {
559
+ "internalType": "Timestamp",
560
+ "name": "createdAt",
561
+ "type": "uint40"
562
+ }
563
+ ],
564
+ "internalType": "struct IAccess.FunctionInfo",
565
+ "name": "func",
566
+ "type": "tuple"
567
+ },
568
+ {
569
+ "internalType": "RoleId",
570
+ "name": "roleId",
571
+ "type": "uint64"
572
+ }
573
+ ],
574
+ "stateMutability": "view",
575
+ "type": "function"
576
+ },
577
+ {
578
+ "inputs": [],
579
+ "name": "getPublicRole",
580
+ "outputs": [
581
+ {
582
+ "internalType": "RoleId",
583
+ "name": "roleId",
584
+ "type": "uint64"
585
+ }
586
+ ],
587
+ "stateMutability": "view",
588
+ "type": "function"
589
+ },
590
+ {
591
+ "inputs": [
592
+ {
593
+ "internalType": "Str",
594
+ "name": "name",
595
+ "type": "bytes32"
596
+ }
597
+ ],
598
+ "name": "getRoleForName",
599
+ "outputs": [
600
+ {
601
+ "components": [
602
+ {
603
+ "internalType": "RoleId",
604
+ "name": "roleId",
605
+ "type": "uint64"
606
+ },
607
+ {
608
+ "internalType": "bool",
609
+ "name": "exists",
610
+ "type": "bool"
611
+ }
612
+ ],
613
+ "internalType": "struct IAccess.RoleNameInfo",
614
+ "name": "",
615
+ "type": "tuple"
616
+ }
617
+ ],
618
+ "stateMutability": "view",
619
+ "type": "function"
620
+ },
621
+ {
622
+ "inputs": [
623
+ {
624
+ "internalType": "uint256",
625
+ "name": "idx",
626
+ "type": "uint256"
627
+ }
628
+ ],
629
+ "name": "getRoleId",
630
+ "outputs": [
631
+ {
632
+ "internalType": "RoleId",
633
+ "name": "roleId",
634
+ "type": "uint64"
635
+ }
636
+ ],
637
+ "stateMutability": "view",
638
+ "type": "function"
639
+ },
640
+ {
641
+ "inputs": [
642
+ {
643
+ "internalType": "RoleId",
644
+ "name": "roleId",
645
+ "type": "uint64"
646
+ }
647
+ ],
648
+ "name": "getRoleInfo",
649
+ "outputs": [
650
+ {
651
+ "components": [
652
+ {
653
+ "internalType": "RoleId",
654
+ "name": "adminRoleId",
655
+ "type": "uint64"
656
+ },
657
+ {
658
+ "internalType": "enum IAccess.RoleType",
659
+ "name": "roleType",
660
+ "type": "uint8"
661
+ },
662
+ {
663
+ "internalType": "uint32",
664
+ "name": "maxMemberCount",
665
+ "type": "uint32"
666
+ },
667
+ {
668
+ "internalType": "Str",
669
+ "name": "name",
670
+ "type": "bytes32"
671
+ },
672
+ {
673
+ "internalType": "Timestamp",
674
+ "name": "createdAt",
675
+ "type": "uint40"
676
+ }
677
+ ],
678
+ "internalType": "struct IAccess.RoleInfo",
679
+ "name": "",
680
+ "type": "tuple"
681
+ }
682
+ ],
683
+ "stateMutability": "view",
684
+ "type": "function"
685
+ },
686
+ {
687
+ "inputs": [
688
+ {
689
+ "internalType": "RoleId",
690
+ "name": "roleId",
691
+ "type": "uint64"
692
+ },
693
+ {
694
+ "internalType": "uint256",
695
+ "name": "idx",
696
+ "type": "uint256"
697
+ }
698
+ ],
699
+ "name": "getRoleMember",
700
+ "outputs": [
701
+ {
702
+ "internalType": "address",
703
+ "name": "account",
704
+ "type": "address"
705
+ }
706
+ ],
707
+ "stateMutability": "view",
708
+ "type": "function"
709
+ },
710
+ {
711
+ "inputs": [
712
+ {
713
+ "internalType": "uint256",
714
+ "name": "idx",
715
+ "type": "uint256"
716
+ }
717
+ ],
718
+ "name": "getTargetAddress",
719
+ "outputs": [
720
+ {
721
+ "internalType": "address",
722
+ "name": "target",
723
+ "type": "address"
724
+ }
725
+ ],
726
+ "stateMutability": "view",
727
+ "type": "function"
728
+ },
729
+ {
730
+ "inputs": [
731
+ {
732
+ "internalType": "Str",
733
+ "name": "name",
734
+ "type": "bytes32"
735
+ }
736
+ ],
737
+ "name": "getTargetForName",
738
+ "outputs": [
739
+ {
740
+ "internalType": "address",
741
+ "name": "target",
742
+ "type": "address"
743
+ }
744
+ ],
745
+ "stateMutability": "view",
746
+ "type": "function"
747
+ },
748
+ {
749
+ "inputs": [
750
+ {
751
+ "internalType": "address",
752
+ "name": "target",
753
+ "type": "address"
754
+ }
755
+ ],
756
+ "name": "getTargetInfo",
757
+ "outputs": [
758
+ {
759
+ "components": [
760
+ {
761
+ "internalType": "Str",
762
+ "name": "name",
763
+ "type": "bytes32"
764
+ },
765
+ {
766
+ "internalType": "bool",
767
+ "name": "isCustom",
768
+ "type": "bool"
769
+ },
770
+ {
771
+ "internalType": "Timestamp",
772
+ "name": "createdAt",
773
+ "type": "uint40"
774
+ }
775
+ ],
776
+ "internalType": "struct IAccess.TargetInfo",
777
+ "name": "targetInfo",
778
+ "type": "tuple"
779
+ }
780
+ ],
781
+ "stateMutability": "view",
782
+ "type": "function"
783
+ },
784
+ {
785
+ "inputs": [
786
+ {
787
+ "internalType": "address",
788
+ "name": "account",
789
+ "type": "address"
790
+ },
791
+ {
792
+ "internalType": "RoleId",
793
+ "name": "roleId",
794
+ "type": "uint64"
795
+ }
796
+ ],
797
+ "name": "hasAdminRole",
798
+ "outputs": [
799
+ {
800
+ "internalType": "bool",
801
+ "name": "",
802
+ "type": "bool"
803
+ }
804
+ ],
805
+ "stateMutability": "view",
806
+ "type": "function"
807
+ },
808
+ {
809
+ "inputs": [
810
+ {
811
+ "internalType": "address",
812
+ "name": "account",
813
+ "type": "address"
814
+ },
815
+ {
816
+ "internalType": "RoleId",
817
+ "name": "roleId",
818
+ "type": "uint64"
819
+ }
820
+ ],
821
+ "name": "hasRole",
822
+ "outputs": [
823
+ {
824
+ "internalType": "bool",
825
+ "name": "",
826
+ "type": "bool"
827
+ }
828
+ ],
829
+ "stateMutability": "view",
830
+ "type": "function"
831
+ },
832
+ {
833
+ "inputs": [
834
+ {
835
+ "internalType": "address",
836
+ "name": "target",
837
+ "type": "address"
838
+ }
839
+ ],
840
+ "name": "isAccessManaged",
841
+ "outputs": [
842
+ {
843
+ "internalType": "bool",
844
+ "name": "",
845
+ "type": "bool"
846
+ }
847
+ ],
848
+ "stateMutability": "view",
849
+ "type": "function"
850
+ },
851
+ {
852
+ "inputs": [],
853
+ "name": "isConsumingScheduledOp",
854
+ "outputs": [
855
+ {
856
+ "internalType": "bytes4",
857
+ "name": "",
858
+ "type": "bytes4"
859
+ }
860
+ ],
861
+ "stateMutability": "view",
862
+ "type": "function"
863
+ },
864
+ {
865
+ "inputs": [
866
+ {
867
+ "internalType": "address",
868
+ "name": "target",
869
+ "type": "address"
870
+ }
871
+ ],
872
+ "name": "isTargetLocked",
873
+ "outputs": [
874
+ {
875
+ "internalType": "bool",
876
+ "name": "locked",
877
+ "type": "bool"
878
+ }
879
+ ],
880
+ "stateMutability": "view",
881
+ "type": "function"
882
+ },
883
+ {
884
+ "inputs": [
885
+ {
886
+ "internalType": "RoleId",
887
+ "name": "roleId",
888
+ "type": "uint64"
889
+ }
890
+ ],
891
+ "name": "roleExists",
892
+ "outputs": [
893
+ {
894
+ "internalType": "bool",
895
+ "name": "exists",
896
+ "type": "bool"
897
+ }
898
+ ],
899
+ "stateMutability": "view",
900
+ "type": "function"
901
+ },
902
+ {
903
+ "inputs": [
904
+ {
905
+ "internalType": "RoleId",
906
+ "name": "roleId",
907
+ "type": "uint64"
908
+ }
909
+ ],
910
+ "name": "roleMembers",
911
+ "outputs": [
912
+ {
913
+ "internalType": "uint256",
914
+ "name": "numberOfMembers",
915
+ "type": "uint256"
916
+ }
917
+ ],
918
+ "stateMutability": "view",
919
+ "type": "function"
920
+ },
921
+ {
922
+ "inputs": [],
923
+ "name": "roles",
924
+ "outputs": [
925
+ {
926
+ "internalType": "uint256",
927
+ "name": "numberOfRoles",
928
+ "type": "uint256"
929
+ }
930
+ ],
931
+ "stateMutability": "view",
932
+ "type": "function"
933
+ },
934
+ {
935
+ "inputs": [
936
+ {
937
+ "internalType": "address",
938
+ "name": "newAuthority",
939
+ "type": "address"
940
+ }
941
+ ],
942
+ "name": "setAuthority",
943
+ "outputs": [],
944
+ "stateMutability": "nonpayable",
945
+ "type": "function"
946
+ },
947
+ {
948
+ "inputs": [
949
+ {
950
+ "internalType": "address",
951
+ "name": "target",
952
+ "type": "address"
953
+ }
954
+ ],
955
+ "name": "targetExists",
956
+ "outputs": [
957
+ {
958
+ "internalType": "bool",
959
+ "name": "exists",
960
+ "type": "bool"
961
+ }
962
+ ],
963
+ "stateMutability": "view",
964
+ "type": "function"
965
+ },
966
+ {
967
+ "inputs": [],
968
+ "name": "targets",
969
+ "outputs": [
970
+ {
971
+ "internalType": "uint256",
972
+ "name": "numberOfTargets",
973
+ "type": "uint256"
974
+ }
975
+ ],
976
+ "stateMutability": "view",
977
+ "type": "function"
978
+ },
979
+ {
980
+ "inputs": [
981
+ {
982
+ "internalType": "bytes4",
983
+ "name": "selector",
984
+ "type": "bytes4"
985
+ },
986
+ {
987
+ "internalType": "string",
988
+ "name": "name",
989
+ "type": "string"
990
+ }
991
+ ],
992
+ "name": "toFunction",
993
+ "outputs": [
994
+ {
995
+ "components": [
996
+ {
997
+ "internalType": "Str",
998
+ "name": "name",
999
+ "type": "bytes32"
1000
+ },
1001
+ {
1002
+ "internalType": "Selector",
1003
+ "name": "selector",
1004
+ "type": "bytes4"
1005
+ },
1006
+ {
1007
+ "internalType": "Timestamp",
1008
+ "name": "createdAt",
1009
+ "type": "uint40"
1010
+ }
1011
+ ],
1012
+ "internalType": "struct IAccess.FunctionInfo",
1013
+ "name": "",
1014
+ "type": "tuple"
1015
+ }
1016
+ ],
1017
+ "stateMutability": "view",
1018
+ "type": "function"
1019
+ },
1020
+ {
1021
+ "inputs": [
1022
+ {
1023
+ "internalType": "RoleId",
1024
+ "name": "adminRoleId",
1025
+ "type": "uint64"
1026
+ },
1027
+ {
1028
+ "internalType": "enum IAccess.RoleType",
1029
+ "name": "roleType",
1030
+ "type": "uint8"
1031
+ },
1032
+ {
1033
+ "internalType": "uint32",
1034
+ "name": "maxMemberCount",
1035
+ "type": "uint32"
1036
+ },
1037
+ {
1038
+ "internalType": "string",
1039
+ "name": "name",
1040
+ "type": "string"
1041
+ }
1042
+ ],
1043
+ "name": "toRole",
1044
+ "outputs": [
1045
+ {
1046
+ "components": [
1047
+ {
1048
+ "internalType": "RoleId",
1049
+ "name": "adminRoleId",
1050
+ "type": "uint64"
1051
+ },
1052
+ {
1053
+ "internalType": "enum IAccess.RoleType",
1054
+ "name": "roleType",
1055
+ "type": "uint8"
1056
+ },
1057
+ {
1058
+ "internalType": "uint32",
1059
+ "name": "maxMemberCount",
1060
+ "type": "uint32"
1061
+ },
1062
+ {
1063
+ "internalType": "Str",
1064
+ "name": "name",
1065
+ "type": "bytes32"
1066
+ },
1067
+ {
1068
+ "internalType": "Timestamp",
1069
+ "name": "createdAt",
1070
+ "type": "uint40"
1071
+ }
1072
+ ],
1073
+ "internalType": "struct IAccess.RoleInfo",
1074
+ "name": "",
1075
+ "type": "tuple"
1076
+ }
1077
+ ],
1078
+ "stateMutability": "view",
1079
+ "type": "function"
1080
+ }
1081
+ ],
1082
+ "bytecode": "0x60806040523480156200001157600080fd5b50600180546001600160a01b0319163317905560405162000032906200093f565b604051809103906000f0801580156200004f573d6000803e3d6000fd5b50600080546001600160a01b0319166001600160a01b0392909216918217905560405163189acdbd60e31b815230600482015263c4d66de890602401600060405180830381600087803b158015620000a657600080fd5b505af1158015620000bb573d6000803e3d6000fd5b5050600054620000d792506001600160a01b03169050620000f1565b620000e162000165565b620000eb62000336565b62000b78565b7ff3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a0080546001600160a01b0319166001600160a01b03831690811782556040519081527f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad906020015b60405180910390a15050565b600073__$1d92393fa9ccd763988368ce8a1cb90d26$__637c3940bf60008054906101000a90046001600160a01b03166001600160a01b03166375b238fc6040518163ffffffff1660e01b8152600401602060405180830381865afa158015620001d3573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620001f9919062000963565b6040516001600160e01b031960e084901b1681526001600160401b039091166004820152602401602060405180830381865af41580156200023e573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000264919062000963565b90506060620002bb62000276620003ea565b620002b562000284620003ea565b6001806040518060400160405280600981526020016841646d696e526f6c6560b81b8152506200046a60201b60201c565b620005d9565b6001600160401b0382166000908152600560205260409020620002df90306200088b565b5062000332620002ee620008ab565b620002b5620002fc620003ea565b600263ffffffff6040518060400160405280600a8152602001695075626c6963526f6c6560b01b8152506200046a60201b60201c565b5050565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00805468010000000000000000900460ff1615620003875760405163f92ee8a960e01b815260040160405180910390fd5b80546001600160401b0390811614620003e75780546001600160401b0319166001600160401b0390811782556040519081527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50565b604051637c3940bf60e01b81526000600482018190529073__$1d92393fa9ccd763988368ce8a1cb90d26$__90637c3940bf906024015b602060405180830381865af41580156200043f573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000465919062000963565b905090565b6040805160a0810182526000808252602082018190529181018290526060810182905260808101919091526040518060a00160405280866001600160401b03168152602001856003811115620004c457620004c46200098a565b81526020018463ffffffff16815260200173__$9a094f9b231ed0f5f85a69be8408d93180$__63cdc23e69856040518263ffffffff1660e01b81526004016200050e9190620009f4565b602060405180830381865af41580156200052c573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000552919062000a09565b815260200173__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af4158015620005a1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620005c7919062000a23565b64ffffffffff16905295945050505050565b73__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af415801562000623573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000649919062000a23565b64ffffffffff1660808201526001600160401b0380831660009081526002602090815260409091208351815493166001600160401b03198416811782559184015184939192909183916001600160481b03199091161768010000000000000000836003811115620006be57620006be6200098a565b0217905550604082810151825463ffffffff90911669010000000000000000000263ffffffff60481b199091161782556060808401516001808501919091556080909401516002909301805464ffffffffff90941664ffffffffff1990941693909317909255805180820182526001600160401b038087168083526020808401878152958801805160009081526003808452878220965187549951151568010000000000000000026001600160481b0319909a169087161798909817909555600480549889018155948590528488047f8a35acfbc15ff81a39ae7d344fd709f28e8600b4aa8c65c6b64bfe7fe36bd19b018054989097166008026101000a92830292909302199096161790935592840151845192519151631623433d60e31b81527f450614a3feeef5c4e204a5b960f0b368083de37223fc452a8b3c2cb93d075a05948794929373__$9a094f9b231ed0f5f85a69be8408d93180$__9263b11a19e8926200083192910190815260200190565b600060405180830381865af41580156200084f573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405262000879919081019062000a62565b60405162000159949392919062000b1a565b6000620008a2836001600160a01b038416620008ed565b90505b92915050565b604051637c3940bf60e01b81526001600160401b03600482015260009073__$1d92393fa9ccd763988368ce8a1cb90d26$__90637c3940bf9060240162000421565b60008181526001830160205260408120546200093657508154600181810184556000848152602080822090930184905584548482528286019093526040902091909155620008a5565b506000620008a5565b612cfc806200242483390190565b6001600160401b0381168114620003e757600080fd5b6000602082840312156200097657600080fd5b815162000983816200094d565b9392505050565b634e487b7160e01b600052602160045260246000fd5b60005b83811015620009bd578181015183820152602001620009a3565b50506000910152565b60008151808452620009e0816020860160208601620009a0565b601f01601f19169290920160200192915050565b602081526000620008a26020830184620009c6565b60006020828403121562000a1c57600080fd5b5051919050565b60006020828403121562000a3657600080fd5b815164ffffffffff811681146200098357600080fd5b634e487b7160e01b600052604160045260246000fd5b60006020828403121562000a7557600080fd5b81516001600160401b038082111562000a8d57600080fd5b818401915084601f83011262000aa257600080fd5b81518181111562000ab75762000ab762000a4c565b604051601f8201601f19908116603f0116810190838211818310171562000ae25762000ae262000a4c565b8160405282815287602084870101111562000afc57600080fd5b62000b0f836020830160208801620009a0565b979650505050505050565b6001600160401b0385811682526000906004861062000b4957634e487b7160e01b600052602160045260246000fd5b8560208401528085166040840152506080606083015262000b6e6080830184620009c6565b9695505050505050565b61189c8062000b886000396000f3fe608060405234801561001057600080fd5b50600436106101cf5760003560e01c806364fc314211610104578063b7009613116100a2578063c6a0017911610071578063c6a0017914610593578063cd55e51b146105a6578063d5f39488146105b9578063d78a83b1146105ca57600080fd5b8063b700961314610504578063bc62a0a514610517578063bcfb11b01461054c578063bf7e214f1461057557600080fd5b80638308ceb1116100de5780638308ceb1146104505780638fb360371461045857806392bdd9bd14610479578063b3ecf236146104fc57600080fd5b806364fc314214610415578063728a61a8146104285780637a9e5e4b1461043b57600080fd5b80633406b152116101715780633fd855611161014b5780633fd85561146103a45780635bfa5027146103cf5780635cb870b1146103ef578063605aa10a1461040257600080fd5b80633406b1521461034857806335471f8014610389578063392f5f641461039c57600080fd5b806315fb0abb116101ad57806315fb0abb146102b957806324913ce6146102d957806326d60fb41461032d57806326decd401461033557600080fd5b806303014974146101d45780630f4809ac146101fa57806312e1ebc51461021d575b600080fd5b6101e76101e2366004611371565b6105dd565b6040519081526020015b60405180910390f35b61020d6102083660046113aa565b610604565b60405190151581526020016101f1565b61028e61022b3660046113aa565b6040805160608082018352600080835260208084018290529284018190526001600160a01b03949094168452600682529282902082519384018352805484526001015460ff8116151591840191909152610100900464ffffffffff169082015290565b60408051825181526020808401511515908201529181015164ffffffffff16908201526060016101f1565b6102cc6102c736600461147d565b6106a0565b6040516101f191906114c2565b6102ec6102e73660046114f4565b61084a565b60408051835181526020808501516001600160e01b031916908201529281015164ffffffffff16908301526001600160401b031660608201526080016101f1565b6008546101e7565b61020d6103433660046113aa565b610ae2565b61037161035636600461151e565b6000908152600760205260409020546001600160a01b031690565b6040516001600160a01b0390911681526020016101f1565b6101e76103973660046113aa565b610b51565b6004546101e7565b6103b76103b236600461151e565b610bde565b6040516001600160401b0390911681526020016101f1565b6103e26103dd366004611371565b610c23565b6040516101f1919061154d565b6103e26103fd3660046115cc565b610ce5565b61020d6104103660046113aa565b610e49565b61020d610423366004611644565b610ec1565b61037161043636600461151e565b610f47565b61044e6104493660046113aa565b610f77565b005b6103b761101a565b610460611097565b6040516001600160e01b031990911681526020016101f1565b6104d661048736600461151e565b6040805180820190915260008082526020820152506000908152600360209081526040918290208251808401909352546001600160401b0381168352600160401b900460ff1615159082015290565b6040805182516001600160401b03168152602092830151151592810192909252016101f1565b6103b76110d0565b61020d61051236600461167b565b611124565b61053f6040518060400160405280600981526020016841646d696e526f6c6560b81b81525081565b6040516101f19190611712565b61053f6040518060400160405280600a8152602001695075626c6963526f6c6560b01b81525081565b600080516020611847833981519152546001600160a01b0316610371565b61020d6105a1366004611371565b61120f565b61020d6105b4366004611644565b61126c565b6001546001600160a01b0316610371565b6103716105d8366004611725565b61129b565b6001600160401b03811660009081526005602052604081206105fe906112bd565b92915050565b6000813b61061457506000919050565b60408051600481526024810182526020810180516001600160e01b031663bf7e214f60e01b17905290516000916001600160a01b038516916106569190611743565b600060405180830381855afa9150503d8060008114610691576040519150601f19603f3d011682016040523d82523d6000602084013e610696565b606091505b5090949350505050565b60408051606080820183526000808352602083018190528284015282519081019283905263cdc23e6960e01b909252908073__$9a094f9b231ed0f5f85a69be8408d93180$__63cdc23e696106f88660648501611712565b602060405180830381865af4158015610715573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610739919061175f565b8152604051636b15ee8b60e01b81526001600160e01b03198616600482015260209091019073__$0904195350e4c23ecb1d51df0a32586dcd$__90636b15ee8b90602401602060405180830381865af415801561079a573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107be9190611778565b6001600160e01b031916815260200173__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af4158015610816573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061083a9190611795565b64ffffffffff1690529392505050565b60408051606081018252600080825260208083018290528284018290526001600160a01b038616825260099052828120925163dfe63db960e01b81526004810193909352602483018490529091819073__$8df0087758613aef8a614b5774fdb3323b$__9063dfe63db990604401602060405180830381865af41580156108d5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108f99190611778565b6001600160a01b038681166000908152600a602090815260408083206001600160e01b031986811680865291845282852083516060810185528154815260019091015460e081901b90921694810194909452640100000000900464ffffffffff168383015292549051636ea1af2560e11b8152600481019390935290965092935073__$1d92393fa9ccd763988368ce8a1cb90d26$__92637c3940bf921690636d5115bd90899073__$0904195350e4c23ecb1d51df0a32586dcd$__9063dd435e4a90602401602060405180830381865af41580156109dc573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a009190611778565b6040516001600160e01b031960e085901b811682526001600160a01b03909316600482015291166024820152604401602060405180830381865afa158015610a4c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a7091906117bc565b6040516001600160e01b031960e084901b1681526001600160401b039091166004820152602401602060405180830381865af4158015610ab4573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ad891906117bc565b9150509250929050565b6000805460405163a166aa8960e01b81526001600160a01b0384811660048301529091169063a166aa8990602401602060405180830381865afa158015610b2d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105fe91906117e9565b6001600160a01b038116600090815260096020526040808220905163868b3e0760e01b8152600481019190915273__$8df0087758613aef8a614b5774fdb3323b$__9063868b3e0790602401602060405180830381865af4158015610bba573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105fe919061175f565b600060048281548110610bf357610bf3611804565b90600052602060002090600491828204019190066008029054906101000a90046001600160401b03169050919050565b6040805160a080820183526000808352602080840182905283850182905260608401829052608084018290526001600160401b038681168352600282529185902085519384019095528454918216835292939192830190600160401b900460ff166003811115610c9557610c95611537565b6003811115610ca657610ca6611537565b815281546901000000000000000000900463ffffffff1660208201526001820154604082015260029091015464ffffffffff1660609091015292915050565b6040805160a0810182526000808252602082018190529181018290526060810182905260808101919091526040518060a00160405280866001600160401b03168152602001856003811115610d3c57610d3c611537565b81526020018463ffffffff16815260200173__$9a094f9b231ed0f5f85a69be8408d93180$__63cdc23e69856040518263ffffffff1660e01b8152600401610d849190611712565b602060405180830381865af4158015610da1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610dc5919061175f565b815260200173__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af4158015610e13573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e379190611795565b64ffffffffff16905295945050505050565b6001600160a01b038116600090815260066020526040808220600101549051638d38cd4b60e01b815261010090910464ffffffffff16600482015273__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__90638d38cd4b906024015b602060405180830381865af4158015610b2d573d6000803e3d6000fd5b600080546040516368fc2b7760e11b81526001600160401b03841660048201526001600160a01b0385811660248301528392169063d1f856ee906044016040805180830381865afa158015610f1a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f3e919061181a565b50949350505050565b600060088281548110610f5c57610f5c611804565b6000918252602090912001546001600160a01b031692915050565b33610f97600080516020611847833981519152546001600160a01b031690565b6001600160a01b0316816001600160a01b031614610fd75760405162d1953b60e31b81526001600160a01b03821660048201526024015b60405180910390fd5b816001600160a01b03163b60000361100d576040516361798f2f60e11b81526001600160a01b0383166004820152602401610fce565b611016826112c7565b5050565b60008060009054906101000a90046001600160a01b03166001600160a01b0316633ca7c02a6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561106e573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061109291906117bc565b905090565b600080516020611847833981519152805460009190600160a01b900460ff166110c15760006110ca565b638fb3603760e01b5b91505090565b60008060009054906101000a90046001600160a01b03166001600160a01b03166375b238fc6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561106e573d6000803e3d6000fd5b60008054604051636ea1af2560e11b81526001600160e01b0319841660048201526001600160a01b039091169063b7009613908690869073__$0904195350e4c23ecb1d51df0a32586dcd$__9063dd435e4a90602401602060405180830381865af4158015611197573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111bb9190611778565b60405160e085901b6001600160e01b031990811682526001600160a01b0394851660048301529290931660248401521660448201526064016040805180830381865afa158015610f1a573d6000803e3d6000fd5b6001600160401b0381166000908152600260208190526040808320909101549051638d38cd4b60e01b815264ffffffffff909116600482015273__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__90638d38cd4b90602401610ea4565b6001600160401b03808216600090815260026020526040812054909161129491859116610ec1565b9392505050565b6001600160401b03821660009081526005602052604081206112949083611328565b60006105fe825490565b60008051602061184783398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b60006112948383600082600001828154811061134657611346611804565b9060005260206000200154905092915050565b6001600160401b038116811461136e57600080fd5b50565b60006020828403121561138357600080fd5b813561129481611359565b80356001600160a01b03811681146113a557600080fd5b919050565b6000602082840312156113bc57600080fd5b6112948261138e565b6001600160e01b03198116811461136e57600080fd5b634e487b7160e01b600052604160045260246000fd5b600082601f83011261140257600080fd5b81356001600160401b038082111561141c5761141c6113db565b604051601f8301601f19908116603f01168101908282118183101715611444576114446113db565b8160405283815286602085880101111561145d57600080fd5b836020870160208301376000602085830101528094505050505092915050565b6000806040838503121561149057600080fd5b823561149b816113c5565b915060208301356001600160401b038111156114b657600080fd5b610ad8858286016113f1565b815181526020808301516001600160e01b0319169082015260408083015164ffffffffff1690820152606081016105fe565b6000806040838503121561150757600080fd5b6115108361138e565b946020939093013593505050565b60006020828403121561153057600080fd5b5035919050565b634e487b7160e01b600052602160045260246000fd5b81516001600160401b03168152602082015160a08201906004811061158257634e487b7160e01b600052602160045260246000fd5b8060208401525063ffffffff60408401511660408301526060830151606083015264ffffffffff608084015116608083015292915050565b63ffffffff8116811461136e57600080fd5b600080600080608085870312156115e257600080fd5b84356115ed81611359565b935060208501356004811061160157600080fd5b92506040850135611611816115ba565b915060608501356001600160401b0381111561162c57600080fd5b611638878288016113f1565b91505092959194509250565b6000806040838503121561165757600080fd5b6116608361138e565b9150602083013561167081611359565b809150509250929050565b60008060006060848603121561169057600080fd5b6116998461138e565b92506116a76020850161138e565b915060408401356116b7816113c5565b809150509250925092565b60005b838110156116dd5781810151838201526020016116c5565b50506000910152565b600081518084526116fe8160208601602086016116c2565b601f01601f19169290920160200192915050565b60208152600061129460208301846116e6565b6000806040838503121561173857600080fd5b823561151081611359565b600082516117558184602087016116c2565b9190910192915050565b60006020828403121561177157600080fd5b5051919050565b60006020828403121561178a57600080fd5b8151611294816113c5565b6000602082840312156117a757600080fd5b815164ffffffffff8116811461129457600080fd5b6000602082840312156117ce57600080fd5b815161129481611359565b805180151581146113a557600080fd5b6000602082840312156117fb57600080fd5b611294826117d9565b634e487b7160e01b600052603260045260246000fd5b6000806040838503121561182d57600080fd5b611836836117d9565b91506020830151611670816115ba56fef3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00a2646970667358221220b02dc9d79bff1c5f577ee15f694aa5048599d03f4eb2221579327e925def408864736f6c63430008140033608060405234801561001057600080fd5b50612cdc806100206000396000f3fe6080604052600436106101ee5760003560e01c80636d5115bd1161010d578063b7009613116100a0578063d1f856ee1161006f578063d1f856ee1461060e578063d22b59891461062e578063d6bb62c61461064e578063f801a6981461066e578063fe0776f5146106a857600080fd5b8063b70096131461057c578063b7d2b162146105b8578063c4d66de8146105d8578063cc1b6c81146105f857600080fd5b8063a166aa89116100dc578063a166aa89146104d1578063a64d95ce14610501578063abd9bd2a14610521578063ac9650d81461054f57600080fd5b80636d5115bd1461045c57806375b238fc1461047c578063853551b81461049157806394c7d7ee146104b157600080fd5b806330cae187116101855780634665096d116101545780634665096d146103e65780634c1da1e2146103fc578063529629521461041c578063530dd4561461043c57600080fd5b806330cae187146103545780633adc277a146103745780633ca7c02a146103ab5780634136a33c146103c657600080fd5b806318ff183c116101c157806318ff183c146102a75780631cff79cd146102c757806325c471a0146102da5780633078f114146102fa57600080fd5b806308d6122d146101f35780630b0a93ba1461021557806312be872714610252578063167bd39514610287575b600080fd5b3480156101ff57600080fd5b5061021361020e36600461255f565b6106c8565b005b34801561022157600080fd5b506102356102303660046125c5565b610723565b6040516001600160401b0390911681526020015b60405180910390f35b34801561025e57600080fd5b5061027261026d3660046125c5565b61075c565b60405163ffffffff9091168152602001610249565b34801561029357600080fd5b506102136102a23660046125e0565b6107a8565b3480156102b357600080fd5b506102136102c236600461261e565b6107be565b6102726102d536600461268d565b610825565b3480156102e657600080fd5b506102136102f53660046126f5565b61096b565b34801561030657600080fd5b5061031a61031536600461273a565b61098d565b604051610249949392919065ffffffffffff948516815263ffffffff93841660208201529190921660408201529116606082015260800190565b34801561036057600080fd5b5061021361036f366004612756565b610a04565b34801561038057600080fd5b5061039461038f366004612789565b610a16565b60405165ffffffffffff9091168152602001610249565b3480156103b757600080fd5b506102356001600160401b0381565b3480156103d257600080fd5b506102726103e1366004612789565b610a5b565b3480156103f257600080fd5b5062093a80610272565b34801561040857600080fd5b506102726104173660046127a2565b610a88565b34801561042857600080fd5b50610213610437366004612756565b610ac4565b34801561044857600080fd5b506102356104573660046125c5565b610ad6565b34801561046857600080fd5b506102356104773660046127d5565b610b08565b34801561048857600080fd5b50610235600081565b34801561049d57600080fd5b506102136104ac366004612803565b610b51565b3480156104bd57600080fd5b506102136104cc36600461268d565b610be8565b3480156104dd57600080fd5b506104f16104ec3660046127a2565b610c94565b6040519015158152602001610249565b34801561050d57600080fd5b5061021361051c366004612821565b610ccd565b34801561052d57600080fd5b5061054161053c36600461284b565b610cdf565b604051908152602001610249565b34801561055b57600080fd5b5061056f61056a3660046128af565b610d18565b6040516102499190612914565b34801561058857600080fd5b5061059c61059736600461298e565b610e0c565b60408051921515835263ffffffff909116602083015201610249565b3480156105c457600080fd5b506102136105d336600461273a565b610e93565b3480156105e457600080fd5b506102136105f33660046127a2565b610eaa565b34801561060457600080fd5b5062069780610272565b34801561061a57600080fd5b5061059c61062936600461273a565b610fb7565b34801561063a57600080fd5b506102136106493660046129d9565b611034565b34801561065a57600080fd5b5061027261066936600461284b565b611046565b34801561067a57600080fd5b5061068e6106893660046129f7565b6111b1565b6040805192835263ffffffff909116602083015201610249565b3480156106b457600080fd5b506102136106c336600461273a565b61135c565b6106d0611385565b60005b8281101561071c5761070c858585848181106106f1576106f1612a69565b90506020020160208101906107069190612a7f565b84611400565b61071581612ab2565b90506106d3565b5050505050565b60008061072e61148e565b6001600160401b0393841660009081526001918201602052604090200154600160401b900490921692915050565b60008061076761148e565b6001600160401b03841660009081526001828101602052604090912001549091506107a190600160801b90046001600160701b03166114b2565b9392505050565b6107b0611385565b6107ba82826114d1565b5050565b6107c6611385565b604051637a9e5e4b60e01b81526001600160a01b038281166004830152831690637a9e5e4b90602401600060405180830381600087803b15801561080957600080fd5b505af115801561081d573d6000803e3d6000fd5b505050505050565b60008061083061148e565b90503360008061084283898989611577565b9150915081158015610858575063ffffffff8116155b156108ab57828861086989896115ca565b6040516381c6f24b60e01b81526001600160a01b0393841660048201529290911660248301526001600160e01b03191660448201526064015b60405180910390fd5b60006108b9848a8a8a610cdf565b9050600063ffffffff83161515806108e057506108d582610a16565b65ffffffffffff1615155b156108f1576108ee826115e2565b90505b60038601546109098b6109048c8c6115ca565b6116f6565b87600301819055506109538b8b8b8080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250349250611738915050565b50600390960195909555509293505050509392505050565b610973611385565b61098783836109818661075c565b846117d5565b50505050565b600080600080600061099d61148e565b6001600160401b038816600090815260018201602090815260408083206001600160a01b038b1684529091529020805465ffffffffffff81169750919250906109f590600160301b90046001600160701b0316611a34565b979a9199509750945050505050565b610a0c611385565b6107ba8282611a57565b600080610a2161148e565b600084815260028201602052604090205490915065ffffffffffff16610a4681611b09565b610a505780610a53565b60005b949350505050565b600080610a6661148e565b600093845260020160205250506040902054600160301b900463ffffffff1690565b600080610a9361148e565b6001600160a01b0384166000908152602082905260409020600101549091506107a1906001600160701b03166114b2565b610acc611385565b6107ba8282611b38565b600080610ae161148e565b6001600160401b039384166000908152600191820160205260409020015490921692915050565b600080610b1361148e565b6001600160a01b0385166000908152602091825260408082206001600160e01b03198716835290925220546001600160401b03169150505b92915050565b610b59611385565b6001600160401b0383161580610b7757506001600160401b03838116145b15610ba05760405163061c6a4360e21b81526001600160401b03841660048201526024016108a2565b826001600160401b03167f1256f5b5ecb89caec12db449738f2fbcd1ba5806cf38f35413f4e5c15bf6a4508383604051610bdb929190612af4565b60405180910390a2505050565b60408051638fb3603760e01b80825291513392918391638fb36037916004808201926020929091908290030181865afa158015610c29573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c4d9190612b08565b6001600160e01b03191614610c8057604051630641fee960e31b81526001600160a01b03821660048201526024016108a2565b61071c610c8f85838686610cdf565b6115e2565b600080610c9f61148e565b6001600160a01b0390931660009081526020939093525050604090206001015460ff600160701b9091041690565b610cd5611385565b6107ba8282611bf8565b600084848484604051602001610cf89493929190612b25565b604051602081830303815290604052805190602001209050949350505050565b6060816001600160401b03811115610d3257610d32612b52565b604051908082528060200260200182016040528015610d6557816020015b6060815260200190600190039081610d505790505b50905060005b82811015610e0557610dd530858584818110610d8957610d89612a69565b9050602002810190610d9b9190612b68565b8080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250611d2592505050565b828281518110610de757610de7612a69565b60200260200101819052508080610dfd90612ab2565b915050610d6b565b5092915050565b600080610e1884610c94565b15610e2857506000905080610e8b565b306001600160a01b03861603610e4d57610e428484611d9b565b600091509150610e8b565b6000610e598585610b08565b9050600080610e688389610fb7565b9150915081610e7957600080610e83565b63ffffffff811615815b945094505050505b935093915050565b610e9b611385565b610ea58282611dc0565b505050565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a008054600160401b810460ff1615906001600160401b0316600081158015610eef5750825b90506000826001600160401b03166001148015610f0b5750303b155b905081158015610f19575080155b15610f375760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315610f6157845460ff60401b1916600160401b1785555b610f6a86611ebf565b831561081d57845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a1505050505050565b60008067fffffffffffffffe196001600160401b03851601610fdf575060019050600061102d565b600080610fec868661098d565b5050915091508165ffffffffffff16600014158015611022575061100e611ed3565b65ffffffffffff168265ffffffffffff1611155b9350915061102d9050565b9250929050565b61103c611385565b6107ba8282611ee3565b60008061105161148e565b905033600061106086866115ca565b9050600061107089898989610cdf565b600081815260028601602052604081205491925065ffffffffffff90911690036110b05760405163060a299b60e41b8152600481018290526024016108a2565b826001600160a01b0316896001600160a01b03161461114c5760006110d6600085610fb7565b50905060006110f16110eb6102308c87610b08565b86610fb7565b50905081158015611100575080155b1561114957604051630ff89d4760e21b81526001600160a01b038087166004830152808d1660248301528b1660448201526001600160e01b0319851660648201526084016108a2565b50505b6000818152600285016020526040808220805465ffffffffffff1916908190559051600160301b90910463ffffffff1691829184917fbd9ac67a6e2f6463b80927326310338bcbb4bdb7936ce1365ea3e01067e7b9f791a39998505050505050505050565b60008060006111be61148e565b90503360006111cf828a8a8a611577565b91505060008163ffffffff166111e3611ed3565b6111ed9190612bae565b905063ffffffff82161580611224575060008765ffffffffffff1611801561122457508065ffffffffffff168765ffffffffffff16105b1561123557828a6108698b8b6115ca565b61124f8765ffffffffffff168265ffffffffffff16611faf565b965061125d838b8b8b610cdf565b955061126886611fc5565b83600201600087815260200190815260200160002060000160069054906101000a900463ffffffff1660010194508684600201600088815260200190815260200160002060000160006101000a81548165ffffffffffff021916908365ffffffffffff1602179055508484600201600088815260200190815260200160002060000160066101000a81548163ffffffff021916908363ffffffff1602179055508463ffffffff16867f82a2da5dee54ea8021c6545b4444620291e07ee83be6dd57edb175062715f3b489868e8e8e604051611347959493929190612bcd565b60405180910390a35050505094509492505050565b6001600160a01b0381163314610e9b57604051635f159e6360e01b815260040160405180910390fd5b33600080611394838236612021565b9150915081610ea5578063ffffffff166000036113f05760006113b781366120d9565b5060405163f07e038f60e01b81526001600160a01b03871660048201526001600160401b038216602482015290925060440190506108a2565b610987610c8f8430600036610cdf565b600061140a61148e565b6001600160a01b0385166000818152602083815260408083206001600160e01b0319891680855290835292819020805467ffffffffffffffff19166001600160401b03891690811790915590519283529394507f9ea6790c7dadfd01c9f8b9762b3682607af2c7e79e05a9f9fdf5580dde949151910160405180910390a350505050565b7f40c6c8c28789853c7efd823ab20824bbd71718a8a5915e855f6f288c9a26ad0090565b6000806114c7836001600160701b0316611a34565b5090949350505050565b60006114db61148e565b9050306001600160a01b0384160361151157604051630b40d17960e31b81526001600160a01b03841660048201526024016108a2565b6001600160a01b038316600081815260208390526040908190206001018054851515600160701b0260ff60701b19909116179055517f90d4e7bb7e5d933792b3562e1741306f8be94837e1348dacef9b6f1df56eb13890610bdb90851515815260200190565b600080306001600160a01b0386160361159e57611595868585612021565b915091506115c1565b600483106115ba576115b5868661059787876115ca565b611595565b5060009050805b94509492505050565b60006115d96004828486612c13565b6107a191612c3d565b6000806115ed61148e565b600084815260028201602052604081205491925065ffffffffffff821691600160301b900463ffffffff169082900361163c5760405163060a299b60e41b8152600481018690526024016108a2565b611644611ed3565b65ffffffffffff168265ffffffffffff16111561167757604051630c65b5bd60e11b8152600481018690526024016108a2565b61168082611b09565b156116a157604051631e2975b960e21b8152600481018690526024016108a2565b6000858152600284016020526040808220805465ffffffffffff191690555163ffffffff83169187917f76a2a46953689d4861a5d3f6ed883ad7e6af674a21f8e162707159fc9dde614d9190a3949350505050565b604080516001600160a01b03939093166020808501919091526001600160e01b0319929092168382015280518084038201815260609093019052815191012090565b60608147101561175d5760405163cd78605960e01b81523060048201526024016108a2565b600080856001600160a01b031684866040516117799190612c6d565b60006040518083038185875af1925050503d80600081146117b6576040519150601f19603f3d011682016040523d82523d6000602084013e6117bb565b606091505b50915091506117cb8683836122a5565b9695505050505050565b6000806117e061148e565b905067fffffffffffffffe196001600160401b0387160161181f5760405163061c6a4360e21b81526001600160401b03871660048201526024016108a2565b6001600160401b038616600090815260018201602090815260408083206001600160a01b038916845290915281205465ffffffffffff1615908115611915578563ffffffff1661186d611ed3565b6118779190612bae565b905060405180604001604052808265ffffffffffff1681526020016118a58763ffffffff1663ffffffff1690565b6001600160701b039081169091526001600160401b038a16600090815260018601602090815260408083206001600160a01b038d1684528252909120835181549490920151909216600160301b026001600160a01b031990931665ffffffffffff909116179190911790556119c5565b6001600160401b038816600090815260018401602090815260408083206001600160a01b038b16845290915281205461196191600160301b9091046001600160701b0316908790612301565b6001600160401b038a16600090815260018601602090815260408083206001600160a01b038d168452909152902080546001600160701b03909316600160301b0273ffffffffffffffffffffffffffff000000000000199093169290921790915590505b6040805163ffffffff8716815265ffffffffffff831660208201528315158183015290516001600160a01b038916916001600160401b038b16917ff98448b987f1428e0e230e1f3c6e2ce15b5693eaf31827fbd0b1ec4b424ae7cf9181900360600190a3509695505050505050565b6000806000611a4a84611a45611ed3565b6123ab565b9250925092509193909250565b6000611a6161148e565b90506001600160401b0383161580611a8157506001600160401b03838116145b15611aaa5760405163061c6a4360e21b81526001600160401b03841660048201526024016108a2565b6001600160401b03838116600081815260018481016020526040808320909101805467ffffffffffffffff19169487169485179055517f1fd6dd7631312dfac2205b52913f99de03b4d7e381d5d27d3dbfe0713e6e63409190a3505050565b6000611b13611ed3565b65ffffffffffff16611b2862093a8084612bae565b65ffffffffffff16111592915050565b6000611b4261148e565b90506001600160401b0383161580611b6257506001600160401b03838116145b15611b8b5760405163061c6a4360e21b81526001600160401b03841660048201526024016108a2565b6001600160401b0383811660008181526001848101602052604080832090910180546fffffffffffffffff00000000000000001916600160401b958816958602179055517f7a8059630b897b5de4c08ade69f8b90c3ead1f8596d62d10b6c4d14a0afb4ae29190a3505050565b6000611c0261148e565b905067fffffffffffffffe196001600160401b03841601611c415760405163061c6a4360e21b81526001600160401b03841660048201526024016108a2565b6001600160401b03831660009081526001828101602052604082200154611c7c90600160801b90046001600160701b03168462069780612301565b6001600160401b038616600081815260018087016020526040918290200180546001600160701b03909516600160801b026dffffffffffffffffffffffffffff60801b199095169490941790935591519092507ffeb69018ee8b8fd50ea86348f1267d07673379f72cffdeccec63853ee8ce8b4890611d17908690859063ffffffff92909216825265ffffffffffff16602082015260400190565b60405180910390a250505050565b6060600080846001600160a01b031684604051611d429190612c6d565b600060405180830381855af49150503d8060008114611d7d576040519150601f19603f3d011682016040523d82523d6000602084013e611d82565b606091505b5091509150611d928583836122a5565b95945050505050565b600080611da661148e565b9050611db284846116f6565b600390910154149392505050565b600080611dcb61148e565b905067fffffffffffffffe196001600160401b03851601611e0a5760405163061c6a4360e21b81526001600160401b03851660048201526024016108a2565b6001600160401b038416600090815260018201602090815260408083206001600160a01b038716845290915281205465ffffffffffff169003611e51576000915050610b4b565b6001600160401b038416600081815260018301602090815260408083206001600160a01b038816808552925280832080546001600160a01b0319169055519092917ff229baa593af28c41b1d16b748cd7688f0c83aaf92d4be41c44005defe84c16691a35060019392505050565b611ec76123ff565b611ed08161244a565b50565b6000611ede4261248a565b905090565b6000611eed61148e565b90506000611f2583620697806001600160a01b0387166000908152602086905260409020600101546001600160701b03169190612301565b6001600160a01b0386166000818152602086815260409182902060010180546dffffffffffffffffffffffffffff19166001600160701b039690961695909517909455805163ffffffff8816815265ffffffffffff841694810194909452919350917fa56b76017453f399ec2327ba00375dbfb1fd070ff854341ad6191e6a2e2de19c9101611d17565b6000818311611fbe57816107a1565b5090919050565b6000611fcf61148e565b600083815260028201602052604090205490915065ffffffffffff1680158015906120005750611ffe81611b09565b155b15610ea55760405163813e945960e01b8152600481018490526024016108a2565b600080600483101561203857506000905080610e8b565b306001600160a01b0386160361205b57610e423061205686866115ca565b611d9b565b600080600061206a87876120d9565b925092509250826120845760008094509450505050610e8b565b600080612091848b610fb7565b91509150816120ab57600080965096505050505050610e8b565b6120c18363ffffffff168263ffffffff16611faf565b63ffffffff8116159b909a5098505050505050505050565b6000808060048410156120f45750600091508190508061229e565b600061210086866115ca565b90506001600160e01b031981166310a6aa3760e31b148061213157506001600160e01b031981166330cae18760e01b145b8061214c57506001600160e01b0319811663294b14a960e11b145b8061216757506001600160e01b03198116635326cae760e11b145b8061218257506001600160e01b0319811663d22b598960e01b145b156121985760016000809350935093505061229e565b6001600160e01b0319811663063fc60f60e21b14806121c757506001600160e01b0319811663167bd39560e01b145b806121e257506001600160e01b031981166308d6122d60e01b145b156122245760006121f760246004888a612c13565b81019061220491906127a2565b9050600061221182610a88565b6001965060009550935061229e92505050565b6001600160e01b0319811663012e238d60e51b148061225357506001600160e01b03198116635be958b160e11b145b1561229157600061226860246004888a612c13565b81019061227591906125c5565b9050600161228282610ad6565b6000945094509450505061229e565b6000806000935093509350505b9250925092565b6060826122ba576122b5826124c1565b6107a1565b81511580156122d157506001600160a01b0384163b155b156122fa57604051639996b31560e01b81526001600160a01b03851660048201526024016108a2565b50806107a1565b6000806000612318866001600160701b03166114b2565b905060006123558563ffffffff168763ffffffff168463ffffffff161161234057600061234a565b61234a8885612c89565b63ffffffff16611faf565b90508063ffffffff16612366611ed3565b6123709190612bae565b925063ffffffff8616602083901b67ffffffff0000000016604085901b6dffffffffffff000000000000000016171793505050935093915050565b6000808069ffffffffffffffffffff602086901c166001600160701b03861665ffffffffffff604088901c81169087168111156123ea578282826123ef565b816000805b9550955095505050509250925092565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a0054600160401b900460ff1661244857604051631afcd79f60e31b815260040160405180910390fd5b565b6124526123ff565b6001600160a01b03811661247c57604051630409d6d160e11b8152600060048201526024016108a2565b6107ba6000826000806117d5565b600065ffffffffffff8211156124bd576040516306dfcc6560e41b815260306004820152602481018390526044016108a2565b5090565b8051156124d15780518082602001fd5b604051630a12f52160e11b815260040160405180910390fd5b6001600160a01b0381168114611ed057600080fd5b60008083601f84011261251157600080fd5b5081356001600160401b0381111561252857600080fd5b6020830191508360208260051b850101111561102d57600080fd5b80356001600160401b038116811461255a57600080fd5b919050565b6000806000806060858703121561257557600080fd5b8435612580816124ea565b935060208501356001600160401b0381111561259b57600080fd5b6125a7878288016124ff565b90945092506125ba905060408601612543565b905092959194509250565b6000602082840312156125d757600080fd5b6107a182612543565b600080604083850312156125f357600080fd5b82356125fe816124ea565b91506020830135801515811461261357600080fd5b809150509250929050565b6000806040838503121561263157600080fd5b823561263c816124ea565b91506020830135612613816124ea565b60008083601f84011261265e57600080fd5b5081356001600160401b0381111561267557600080fd5b60208301915083602082850101111561102d57600080fd5b6000806000604084860312156126a257600080fd5b83356126ad816124ea565b925060208401356001600160401b038111156126c857600080fd5b6126d48682870161264c565b9497909650939450505050565b803563ffffffff8116811461255a57600080fd5b60008060006060848603121561270a57600080fd5b61271384612543565b92506020840135612723816124ea565b9150612731604085016126e1565b90509250925092565b6000806040838503121561274d57600080fd5b61263c83612543565b6000806040838503121561276957600080fd5b61277283612543565b915061278060208401612543565b90509250929050565b60006020828403121561279b57600080fd5b5035919050565b6000602082840312156127b457600080fd5b81356107a1816124ea565b6001600160e01b031981168114611ed057600080fd5b600080604083850312156127e857600080fd5b82356127f3816124ea565b91506020830135612613816127bf565b60008060006040848603121561281857600080fd5b6126ad84612543565b6000806040838503121561283457600080fd5b61283d83612543565b9150612780602084016126e1565b6000806000806060858703121561286157600080fd5b843561286c816124ea565b9350602085013561287c816124ea565b925060408501356001600160401b0381111561289757600080fd5b6128a38782880161264c565b95989497509550505050565b600080602083850312156128c257600080fd5b82356001600160401b038111156128d857600080fd5b6128e4858286016124ff565b90969095509350505050565b60005b8381101561290b5781810151838201526020016128f3565b50506000910152565b6000602080830181845280855180835260408601915060408160051b870101925083870160005b8281101561298157878503603f1901845281518051808752612962818989018a85016128f0565b601f01601f19169590950186019450928501929085019060010161293b565b5092979650505050505050565b6000806000606084860312156129a357600080fd5b83356129ae816124ea565b925060208401356129be816124ea565b915060408401356129ce816127bf565b809150509250925092565b600080604083850312156129ec57600080fd5b823561283d816124ea565b60008060008060608587031215612a0d57600080fd5b8435612a18816124ea565b935060208501356001600160401b03811115612a3357600080fd5b612a3f8782880161264c565b909450925050604085013565ffffffffffff81168114612a5e57600080fd5b939692955090935050565b634e487b7160e01b600052603260045260246000fd5b600060208284031215612a9157600080fd5b81356107a1816127bf565b634e487b7160e01b600052601160045260246000fd5b600060018201612ac457612ac4612a9c565b5060010190565b81835281816020850137506000828201602090810191909152601f909101601f19169091010190565b602081526000610a53602083018486612acb565b600060208284031215612b1a57600080fd5b81516107a1816127bf565b6001600160a01b038581168252841660208201526060604082018190526000906117cb9083018486612acb565b634e487b7160e01b600052604160045260246000fd5b6000808335601e19843603018112612b7f57600080fd5b8301803591506001600160401b03821115612b9957600080fd5b60200191503681900382131561102d57600080fd5b65ffffffffffff818116838216019080821115610e0557610e05612a9c565b65ffffffffffff861681526001600160a01b03858116602083015284166040820152608060608201819052600090612c089083018486612acb565b979650505050505050565b60008085851115612c2357600080fd5b83861115612c3057600080fd5b5050820193919092039150565b6001600160e01b03198135818116916004851015612c655780818660040360031b1b83161692505b505092915050565b60008251612c7f8184602087016128f0565b9190910192915050565b63ffffffff828116828216039080821115610e0557610e05612a9c56fea2646970667358221220d90c907b9cd4243786a4f95db68f98d524e16d328be01d980ac80bfeb2d3db1f64736f6c63430008140033",
1083
+ "deployedBytecode": "0x608060405234801561001057600080fd5b50600436106101cf5760003560e01c806364fc314211610104578063b7009613116100a2578063c6a0017911610071578063c6a0017914610593578063cd55e51b146105a6578063d5f39488146105b9578063d78a83b1146105ca57600080fd5b8063b700961314610504578063bc62a0a514610517578063bcfb11b01461054c578063bf7e214f1461057557600080fd5b80638308ceb1116100de5780638308ceb1146104505780638fb360371461045857806392bdd9bd14610479578063b3ecf236146104fc57600080fd5b806364fc314214610415578063728a61a8146104285780637a9e5e4b1461043b57600080fd5b80633406b152116101715780633fd855611161014b5780633fd85561146103a45780635bfa5027146103cf5780635cb870b1146103ef578063605aa10a1461040257600080fd5b80633406b1521461034857806335471f8014610389578063392f5f641461039c57600080fd5b806315fb0abb116101ad57806315fb0abb146102b957806324913ce6146102d957806326d60fb41461032d57806326decd401461033557600080fd5b806303014974146101d45780630f4809ac146101fa57806312e1ebc51461021d575b600080fd5b6101e76101e2366004611371565b6105dd565b6040519081526020015b60405180910390f35b61020d6102083660046113aa565b610604565b60405190151581526020016101f1565b61028e61022b3660046113aa565b6040805160608082018352600080835260208084018290529284018190526001600160a01b03949094168452600682529282902082519384018352805484526001015460ff8116151591840191909152610100900464ffffffffff169082015290565b60408051825181526020808401511515908201529181015164ffffffffff16908201526060016101f1565b6102cc6102c736600461147d565b6106a0565b6040516101f191906114c2565b6102ec6102e73660046114f4565b61084a565b60408051835181526020808501516001600160e01b031916908201529281015164ffffffffff16908301526001600160401b031660608201526080016101f1565b6008546101e7565b61020d6103433660046113aa565b610ae2565b61037161035636600461151e565b6000908152600760205260409020546001600160a01b031690565b6040516001600160a01b0390911681526020016101f1565b6101e76103973660046113aa565b610b51565b6004546101e7565b6103b76103b236600461151e565b610bde565b6040516001600160401b0390911681526020016101f1565b6103e26103dd366004611371565b610c23565b6040516101f1919061154d565b6103e26103fd3660046115cc565b610ce5565b61020d6104103660046113aa565b610e49565b61020d610423366004611644565b610ec1565b61037161043636600461151e565b610f47565b61044e6104493660046113aa565b610f77565b005b6103b761101a565b610460611097565b6040516001600160e01b031990911681526020016101f1565b6104d661048736600461151e565b6040805180820190915260008082526020820152506000908152600360209081526040918290208251808401909352546001600160401b0381168352600160401b900460ff1615159082015290565b6040805182516001600160401b03168152602092830151151592810192909252016101f1565b6103b76110d0565b61020d61051236600461167b565b611124565b61053f6040518060400160405280600981526020016841646d696e526f6c6560b81b81525081565b6040516101f19190611712565b61053f6040518060400160405280600a8152602001695075626c6963526f6c6560b01b81525081565b600080516020611847833981519152546001600160a01b0316610371565b61020d6105a1366004611371565b61120f565b61020d6105b4366004611644565b61126c565b6001546001600160a01b0316610371565b6103716105d8366004611725565b61129b565b6001600160401b03811660009081526005602052604081206105fe906112bd565b92915050565b6000813b61061457506000919050565b60408051600481526024810182526020810180516001600160e01b031663bf7e214f60e01b17905290516000916001600160a01b038516916106569190611743565b600060405180830381855afa9150503d8060008114610691576040519150601f19603f3d011682016040523d82523d6000602084013e610696565b606091505b5090949350505050565b60408051606080820183526000808352602083018190528284015282519081019283905263cdc23e6960e01b909252908073__$9a094f9b231ed0f5f85a69be8408d93180$__63cdc23e696106f88660648501611712565b602060405180830381865af4158015610715573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610739919061175f565b8152604051636b15ee8b60e01b81526001600160e01b03198616600482015260209091019073__$0904195350e4c23ecb1d51df0a32586dcd$__90636b15ee8b90602401602060405180830381865af415801561079a573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107be9190611778565b6001600160e01b031916815260200173__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af4158015610816573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061083a9190611795565b64ffffffffff1690529392505050565b60408051606081018252600080825260208083018290528284018290526001600160a01b038616825260099052828120925163dfe63db960e01b81526004810193909352602483018490529091819073__$8df0087758613aef8a614b5774fdb3323b$__9063dfe63db990604401602060405180830381865af41580156108d5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108f99190611778565b6001600160a01b038681166000908152600a602090815260408083206001600160e01b031986811680865291845282852083516060810185528154815260019091015460e081901b90921694810194909452640100000000900464ffffffffff168383015292549051636ea1af2560e11b8152600481019390935290965092935073__$1d92393fa9ccd763988368ce8a1cb90d26$__92637c3940bf921690636d5115bd90899073__$0904195350e4c23ecb1d51df0a32586dcd$__9063dd435e4a90602401602060405180830381865af41580156109dc573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a009190611778565b6040516001600160e01b031960e085901b811682526001600160a01b03909316600482015291166024820152604401602060405180830381865afa158015610a4c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a7091906117bc565b6040516001600160e01b031960e084901b1681526001600160401b039091166004820152602401602060405180830381865af4158015610ab4573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ad891906117bc565b9150509250929050565b6000805460405163a166aa8960e01b81526001600160a01b0384811660048301529091169063a166aa8990602401602060405180830381865afa158015610b2d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105fe91906117e9565b6001600160a01b038116600090815260096020526040808220905163868b3e0760e01b8152600481019190915273__$8df0087758613aef8a614b5774fdb3323b$__9063868b3e0790602401602060405180830381865af4158015610bba573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105fe919061175f565b600060048281548110610bf357610bf3611804565b90600052602060002090600491828204019190066008029054906101000a90046001600160401b03169050919050565b6040805160a080820183526000808352602080840182905283850182905260608401829052608084018290526001600160401b038681168352600282529185902085519384019095528454918216835292939192830190600160401b900460ff166003811115610c9557610c95611537565b6003811115610ca657610ca6611537565b815281546901000000000000000000900463ffffffff1660208201526001820154604082015260029091015464ffffffffff1660609091015292915050565b6040805160a0810182526000808252602082018190529181018290526060810182905260808101919091526040518060a00160405280866001600160401b03168152602001856003811115610d3c57610d3c611537565b81526020018463ffffffff16815260200173__$9a094f9b231ed0f5f85a69be8408d93180$__63cdc23e69856040518263ffffffff1660e01b8152600401610d849190611712565b602060405180830381865af4158015610da1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610dc5919061175f565b815260200173__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af4158015610e13573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e379190611795565b64ffffffffff16905295945050505050565b6001600160a01b038116600090815260066020526040808220600101549051638d38cd4b60e01b815261010090910464ffffffffff16600482015273__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__90638d38cd4b906024015b602060405180830381865af4158015610b2d573d6000803e3d6000fd5b600080546040516368fc2b7760e11b81526001600160401b03841660048201526001600160a01b0385811660248301528392169063d1f856ee906044016040805180830381865afa158015610f1a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f3e919061181a565b50949350505050565b600060088281548110610f5c57610f5c611804565b6000918252602090912001546001600160a01b031692915050565b33610f97600080516020611847833981519152546001600160a01b031690565b6001600160a01b0316816001600160a01b031614610fd75760405162d1953b60e31b81526001600160a01b03821660048201526024015b60405180910390fd5b816001600160a01b03163b60000361100d576040516361798f2f60e11b81526001600160a01b0383166004820152602401610fce565b611016826112c7565b5050565b60008060009054906101000a90046001600160a01b03166001600160a01b0316633ca7c02a6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561106e573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061109291906117bc565b905090565b600080516020611847833981519152805460009190600160a01b900460ff166110c15760006110ca565b638fb3603760e01b5b91505090565b60008060009054906101000a90046001600160a01b03166001600160a01b03166375b238fc6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561106e573d6000803e3d6000fd5b60008054604051636ea1af2560e11b81526001600160e01b0319841660048201526001600160a01b039091169063b7009613908690869073__$0904195350e4c23ecb1d51df0a32586dcd$__9063dd435e4a90602401602060405180830381865af4158015611197573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111bb9190611778565b60405160e085901b6001600160e01b031990811682526001600160a01b0394851660048301529290931660248401521660448201526064016040805180830381865afa158015610f1a573d6000803e3d6000fd5b6001600160401b0381166000908152600260208190526040808320909101549051638d38cd4b60e01b815264ffffffffff909116600482015273__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__90638d38cd4b90602401610ea4565b6001600160401b03808216600090815260026020526040812054909161129491859116610ec1565b9392505050565b6001600160401b03821660009081526005602052604081206112949083611328565b60006105fe825490565b60008051602061184783398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b60006112948383600082600001828154811061134657611346611804565b9060005260206000200154905092915050565b6001600160401b038116811461136e57600080fd5b50565b60006020828403121561138357600080fd5b813561129481611359565b80356001600160a01b03811681146113a557600080fd5b919050565b6000602082840312156113bc57600080fd5b6112948261138e565b6001600160e01b03198116811461136e57600080fd5b634e487b7160e01b600052604160045260246000fd5b600082601f83011261140257600080fd5b81356001600160401b038082111561141c5761141c6113db565b604051601f8301601f19908116603f01168101908282118183101715611444576114446113db565b8160405283815286602085880101111561145d57600080fd5b836020870160208301376000602085830101528094505050505092915050565b6000806040838503121561149057600080fd5b823561149b816113c5565b915060208301356001600160401b038111156114b657600080fd5b610ad8858286016113f1565b815181526020808301516001600160e01b0319169082015260408083015164ffffffffff1690820152606081016105fe565b6000806040838503121561150757600080fd5b6115108361138e565b946020939093013593505050565b60006020828403121561153057600080fd5b5035919050565b634e487b7160e01b600052602160045260246000fd5b81516001600160401b03168152602082015160a08201906004811061158257634e487b7160e01b600052602160045260246000fd5b8060208401525063ffffffff60408401511660408301526060830151606083015264ffffffffff608084015116608083015292915050565b63ffffffff8116811461136e57600080fd5b600080600080608085870312156115e257600080fd5b84356115ed81611359565b935060208501356004811061160157600080fd5b92506040850135611611816115ba565b915060608501356001600160401b0381111561162c57600080fd5b611638878288016113f1565b91505092959194509250565b6000806040838503121561165757600080fd5b6116608361138e565b9150602083013561167081611359565b809150509250929050565b60008060006060848603121561169057600080fd5b6116998461138e565b92506116a76020850161138e565b915060408401356116b7816113c5565b809150509250925092565b60005b838110156116dd5781810151838201526020016116c5565b50506000910152565b600081518084526116fe8160208601602086016116c2565b601f01601f19169290920160200192915050565b60208152600061129460208301846116e6565b6000806040838503121561173857600080fd5b823561151081611359565b600082516117558184602087016116c2565b9190910192915050565b60006020828403121561177157600080fd5b5051919050565b60006020828403121561178a57600080fd5b8151611294816113c5565b6000602082840312156117a757600080fd5b815164ffffffffff8116811461129457600080fd5b6000602082840312156117ce57600080fd5b815161129481611359565b805180151581146113a557600080fd5b6000602082840312156117fb57600080fd5b611294826117d9565b634e487b7160e01b600052603260045260246000fd5b6000806040838503121561182d57600080fd5b611836836117d9565b91506020830151611670816115ba56fef3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00a2646970667358221220b02dc9d79bff1c5f577ee15f694aa5048599d03f4eb2221579327e925def408864736f6c63430008140033",
1084
+ "linkReferences": {
1085
+ "contracts/type/RoleId.sol": {
1086
+ "RoleIdLib": [
1087
+ {
1088
+ "length": 20,
1089
+ "start": 361
1090
+ },
1091
+ {
1092
+ "length": 20,
1093
+ "start": 1027
1094
+ },
1095
+ {
1096
+ "length": 20,
1097
+ "start": 2250
1098
+ },
1099
+ {
1100
+ "length": 20,
1101
+ "start": 5380
1102
+ }
1103
+ ]
1104
+ },
1105
+ "contracts/type/Selector.sol": {
1106
+ "SelectorLib": [
1107
+ {
1108
+ "length": 20,
1109
+ "start": 4840
1110
+ },
1111
+ {
1112
+ "length": 20,
1113
+ "start": 5418
1114
+ },
1115
+ {
1116
+ "length": 20,
1117
+ "start": 7397
1118
+ }
1119
+ ],
1120
+ "SelectorSetLib": [
1121
+ {
1122
+ "length": 20,
1123
+ "start": 5155
1124
+ },
1125
+ {
1126
+ "length": 20,
1127
+ "start": 5896
1128
+ }
1129
+ ]
1130
+ },
1131
+ "contracts/type/String.sol": {
1132
+ "StrLib": [
1133
+ {
1134
+ "length": 20,
1135
+ "start": 1239
1136
+ },
1137
+ {
1138
+ "length": 20,
1139
+ "start": 2055
1140
+ },
1141
+ {
1142
+ "length": 20,
1143
+ "start": 4699
1144
+ },
1145
+ {
1146
+ "length": 20,
1147
+ "start": 6359
1148
+ }
1149
+ ]
1150
+ },
1151
+ "contracts/type/Timestamp.sol": {
1152
+ "TimestampLib": [
1153
+ {
1154
+ "length": 20,
1155
+ "start": 1369
1156
+ },
1157
+ {
1158
+ "length": 20,
1159
+ "start": 1499
1160
+ },
1161
+ {
1162
+ "length": 20,
1163
+ "start": 4951
1164
+ },
1165
+ {
1166
+ "length": 20,
1167
+ "start": 6484
1168
+ },
1169
+ {
1170
+ "length": 20,
1171
+ "start": 6670
1172
+ },
1173
+ {
1174
+ "length": 20,
1175
+ "start": 7634
1176
+ }
1177
+ ]
1178
+ }
1179
+ },
1180
+ "deployedLinkReferences": {
1181
+ "contracts/type/RoleId.sol": {
1182
+ "RoleIdLib": [
1183
+ {
1184
+ "length": 20,
1185
+ "start": 2428
1186
+ }
1187
+ ]
1188
+ },
1189
+ "contracts/type/Selector.sol": {
1190
+ "SelectorLib": [
1191
+ {
1192
+ "length": 20,
1193
+ "start": 1888
1194
+ },
1195
+ {
1196
+ "length": 20,
1197
+ "start": 2466
1198
+ },
1199
+ {
1200
+ "length": 20,
1201
+ "start": 4445
1202
+ }
1203
+ ],
1204
+ "SelectorSetLib": [
1205
+ {
1206
+ "length": 20,
1207
+ "start": 2203
1208
+ },
1209
+ {
1210
+ "length": 20,
1211
+ "start": 2944
1212
+ }
1213
+ ]
1214
+ },
1215
+ "contracts/type/String.sol": {
1216
+ "StrLib": [
1217
+ {
1218
+ "length": 20,
1219
+ "start": 1747
1220
+ },
1221
+ {
1222
+ "length": 20,
1223
+ "start": 3407
1224
+ }
1225
+ ]
1226
+ },
1227
+ "contracts/type/Timestamp.sol": {
1228
+ "TimestampLib": [
1229
+ {
1230
+ "length": 20,
1231
+ "start": 1999
1232
+ },
1233
+ {
1234
+ "length": 20,
1235
+ "start": 3532
1236
+ },
1237
+ {
1238
+ "length": 20,
1239
+ "start": 3718
1240
+ },
1241
+ {
1242
+ "length": 20,
1243
+ "start": 4682
1244
+ }
1245
+ ]
1246
+ }
1247
+ }
1248
+ }