@etherisc/gif-next 0.0.2-e818783-565 → 0.0.2-e83e4a5-207

Sign up to get free protection for your applications and to get access to all the features.
Files changed (616) 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 +1253 -0
  4. package/artifacts/contracts/authorization/AccessManagerCloneable.sol/AccessManagerCloneable.dbg.json +4 -0
  5. package/artifacts/contracts/authorization/AccessManagerCloneable.sol/AccessManagerCloneable.json +1206 -0
  6. package/artifacts/contracts/authorization/Authorization.sol/Authorization.dbg.json +4 -0
  7. package/artifacts/contracts/authorization/Authorization.sol/Authorization.json +358 -0
  8. package/artifacts/contracts/authorization/IAccess.sol/IAccess.dbg.json +4 -0
  9. package/artifacts/contracts/{instance/module/ISetup.sol/ISetup.json → authorization/IAccess.sol/IAccess.json} +2 -2
  10. package/artifacts/contracts/authorization/IAccessAdmin.sol/IAccessAdmin.dbg.json +4 -0
  11. package/artifacts/contracts/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/{components → distribution}/Distribution.sol/Distribution.json +188 -342
  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 +77 -324
  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 +218 -2177
  40. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +1 -1
  41. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +194 -70
  42. package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
  43. package/artifacts/contracts/instance/Instance.sol/Instance.json +429 -2801
  44. package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.dbg.json +4 -0
  45. package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.json +1626 -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 +721 -389
  50. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +1 -1
  51. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +259 -239
  52. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +1 -1
  53. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +112 -119
  54. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.dbg.json +4 -0
  55. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.json +3591 -0
  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 +65 -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 +290 -56
  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/product/BasicProduct.sol/BasicProduct.json +1299 -0
  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/IClaimService.sol/IClaimService.json → product/IApplicationService.sol/IApplicationService.json} +96 -186
  125. package/artifacts/contracts/product/IClaimService.sol/IClaimService.dbg.json +4 -0
  126. package/artifacts/contracts/{instance/service/IPolicyService.sol/IPolicyService.json → product/IClaimService.sol/IClaimService.json} +93 -258
  127. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.dbg.json +4 -0
  128. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.json +720 -0
  129. package/artifacts/contracts/product/IPricingService.sol/IPricingService.dbg.json +4 -0
  130. package/artifacts/contracts/{instance/service/IApplicationService.sol/IApplicationService.json → product/IPricingService.sol/IPricingService.json} +63 -141
  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 +1746 -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 -95
  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/type/AddressSet.sol/LibAddressSet.json +10 -0
  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/type/DistributorType.sol/DistributorTypeLib.json +104 -0
  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/type/Key32.sol/Key32Lib.json +125 -0
  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/type/NftIdSet.sol/LibNftIdSet.json +33 -0
  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/type/RiskId.sol/RiskIdLib.json +86 -0
  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 +20 -7
  294. package/artifacts/contracts/type/UFixed.sol/MathLib.dbg.json +4 -0
  295. package/artifacts/contracts/type/UFixed.sol/MathLib.json +10 -0
  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/type/Version.sol/VersionLib.json +177 -0
  300. package/artifacts/contracts/type/Version.sol/VersionPartLib.dbg.json +4 -0
  301. package/artifacts/contracts/type/Version.sol/VersionPartLib.json +49 -0
  302. package/contracts/authorization/AccessAdmin.sol +591 -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 +157 -158
  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 -38
  319. package/contracts/instance/BundleManager.sol +5 -5
  320. package/contracts/instance/IInstance.sol +49 -65
  321. package/contracts/instance/IInstanceService.sol +47 -23
  322. package/contracts/instance/Instance.sol +148 -204
  323. package/contracts/instance/InstanceAdmin.sol +266 -0
  324. package/contracts/instance/InstanceAuthorizationV3.sol +202 -0
  325. package/contracts/instance/InstanceReader.sol +148 -60
  326. package/contracts/instance/InstanceService.sol +276 -311
  327. package/contracts/instance/InstanceServiceManager.sol +11 -21
  328. package/contracts/instance/InstanceStore.sol +276 -0
  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 +22 -15
  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 +33 -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 +13 -29
  366. package/contracts/product/IClaimService.sol +99 -0
  367. package/contracts/product/IPolicyService.sol +78 -0
  368. package/contracts/product/IPricingService.sol +39 -0
  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/product/PricingService.sol +300 -0
  374. package/contracts/product/PricingServiceManager.sol +42 -0
  375. package/contracts/{components → product}/Product.sol +152 -131
  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 -87
  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}/Fee.sol +24 -22
  432. package/contracts/{types → type}/NftId.sol +14 -16
  433. package/contracts/{types → type}/NftIdSet.sol +2 -2
  434. package/contracts/type/ObjectType.sol +275 -0
  435. package/contracts/{types → type}/Referral.sol +1 -1
  436. package/contracts/type/RequestId.sol +75 -0
  437. package/contracts/{types → type}/RiskId.sol +1 -1
  438. package/contracts/type/RoleId.sol +174 -0
  439. package/contracts/{types → type}/Seconds.sol +27 -0
  440. package/contracts/type/Selector.sol +102 -0
  441. package/contracts/{types → type}/StateId.sol +27 -2
  442. package/contracts/type/String.sol +53 -0
  443. package/contracts/{types → type}/Timestamp.sol +6 -2
  444. package/contracts/{types → type}/UFixed.sol +6 -0
  445. package/contracts/{types → type}/Version.sol +1 -1
  446. package/package.json +6 -3
  447. package/artifacts/contracts/components/Component.sol/Component.dbg.json +0 -4
  448. package/artifacts/contracts/components/Distribution.sol/Distribution.dbg.json +0 -4
  449. package/artifacts/contracts/components/IComponent.sol/IComponent.dbg.json +0 -4
  450. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.dbg.json +0 -4
  451. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.dbg.json +0 -4
  452. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.dbg.json +0 -4
  453. package/artifacts/contracts/components/Pool.sol/Pool.dbg.json +0 -4
  454. package/artifacts/contracts/components/Product.sol/Product.dbg.json +0 -4
  455. package/artifacts/contracts/instance/AccessManagerUpgradeableInitializeable.sol/AccessManagerUpgradeableInitializeable.dbg.json +0 -4
  456. package/artifacts/contracts/instance/AccessManagerUpgradeableInitializeable.sol/AccessManagerUpgradeableInitializeable.json +0 -1206
  457. package/artifacts/contracts/instance/Cloneable.sol/Cloneable.dbg.json +0 -4
  458. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.dbg.json +0 -4
  459. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.json +0 -1330
  460. package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.dbg.json +0 -4
  461. package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.json +0 -256
  462. package/artifacts/contracts/instance/base/ComponentService.sol/ComponentService.dbg.json +0 -4
  463. package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.dbg.json +0 -4
  464. package/artifacts/contracts/instance/base/ILifecycle.sol/ILifecycle.dbg.json +0 -4
  465. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.dbg.json +0 -4
  466. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.json +0 -532
  467. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.dbg.json +0 -4
  468. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.json +0 -194
  469. package/artifacts/contracts/instance/module/ISetup.sol/ISetup.dbg.json +0 -4
  470. package/artifacts/contracts/instance/module/ITreasury.sol/ITreasury.dbg.json +0 -4
  471. package/artifacts/contracts/instance/module/ITreasury.sol/ITreasury.json +0 -10
  472. package/artifacts/contracts/instance/service/ApplicationService.sol/ApplicationService.dbg.json +0 -4
  473. package/artifacts/contracts/instance/service/ApplicationService.sol/ApplicationService.json +0 -1060
  474. package/artifacts/contracts/instance/service/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +0 -4
  475. package/artifacts/contracts/instance/service/ApplicationServiceManager.sol/ApplicationServiceManager.json +0 -681
  476. package/artifacts/contracts/instance/service/BundleService.sol/BundleService.dbg.json +0 -4
  477. package/artifacts/contracts/instance/service/BundleService.sol/BundleService.json +0 -1266
  478. package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.dbg.json +0 -4
  479. package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.json +0 -725
  480. package/artifacts/contracts/instance/service/ClaimService.sol/ClaimService.dbg.json +0 -4
  481. package/artifacts/contracts/instance/service/ClaimService.sol/ClaimService.json +0 -1040
  482. package/artifacts/contracts/instance/service/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +0 -4
  483. package/artifacts/contracts/instance/service/ClaimServiceManager.sol/ClaimServiceManager.json +0 -685
  484. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.dbg.json +0 -4
  485. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.json +0 -1774
  486. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +0 -4
  487. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.json +0 -793
  488. package/artifacts/contracts/instance/service/IApplicationService.sol/IApplicationService.dbg.json +0 -4
  489. package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.dbg.json +0 -4
  490. package/artifacts/contracts/instance/service/IClaimService.sol/IClaimService.dbg.json +0 -4
  491. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.dbg.json +0 -4
  492. package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.dbg.json +0 -4
  493. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.dbg.json +0 -4
  494. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.dbg.json +0 -4
  495. package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.dbg.json +0 -4
  496. package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.json +0 -1511
  497. package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +0 -4
  498. package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.json +0 -741
  499. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.dbg.json +0 -4
  500. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.json +0 -1237
  501. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.dbg.json +0 -4
  502. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.json +0 -661
  503. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.dbg.json +0 -4
  504. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.json +0 -840
  505. package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.dbg.json +0 -4
  506. package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.json +0 -653
  507. package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.dbg.json +0 -4
  508. package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.json +0 -285
  509. package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.dbg.json +0 -4
  510. package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.json +0 -107
  511. package/artifacts/contracts/test/TestFee.sol/TestFee.dbg.json +0 -4
  512. package/artifacts/contracts/test/TestFee.sol/TestFee.json +0 -119
  513. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.dbg.json +0 -4
  514. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.json +0 -383
  515. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.dbg.json +0 -4
  516. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.json +0 -116
  517. package/artifacts/contracts/test/TestService.sol/TestService.dbg.json +0 -4
  518. package/artifacts/contracts/test/TestService.sol/TestService.json +0 -596
  519. package/artifacts/contracts/test/TestToken.sol/TestUsdc.dbg.json +0 -4
  520. package/artifacts/contracts/test/TestToken.sol/TestUsdc.json +0 -376
  521. package/artifacts/contracts/test/TestVersion.sol/TestVersion.dbg.json +0 -4
  522. package/artifacts/contracts/test/TestVersion.sol/TestVersion.json +0 -218
  523. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.dbg.json +0 -4
  524. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.json +0 -104
  525. package/artifacts/contracts/test/Usdc.sol/USDC.dbg.json +0 -4
  526. package/artifacts/contracts/test/Usdc.sol/USDC.json +0 -376
  527. package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.dbg.json +0 -4
  528. package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.json +0 -10
  529. package/artifacts/contracts/types/Amount.sol/AmountLib.dbg.json +0 -4
  530. package/artifacts/contracts/types/Amount.sol/AmountLib.json +0 -185
  531. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.dbg.json +0 -4
  532. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.json +0 -174
  533. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.dbg.json +0 -4
  534. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.json +0 -10
  535. package/artifacts/contracts/types/ClaimId.sol/ClaimIdLib.dbg.json +0 -4
  536. package/artifacts/contracts/types/ClaimId.sol/ClaimIdLib.json +0 -179
  537. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.dbg.json +0 -4
  538. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.json +0 -104
  539. package/artifacts/contracts/types/Fee.sol/FeeLib.dbg.json +0 -4
  540. package/artifacts/contracts/types/Fee.sol/FeeLib.json +0 -288
  541. package/artifacts/contracts/types/Key32.sol/Key32Lib.dbg.json +0 -4
  542. package/artifacts/contracts/types/Key32.sol/Key32Lib.json +0 -125
  543. package/artifacts/contracts/types/NftId.sol/NftIdLib.dbg.json +0 -4
  544. package/artifacts/contracts/types/NftId.sol/NftIdLib.json +0 -166
  545. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.dbg.json +0 -4
  546. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.json +0 -33
  547. package/artifacts/contracts/types/NumberId.sol/NumberIdLib.dbg.json +0 -4
  548. package/artifacts/contracts/types/NumberId.sol/NumberIdLib.json +0 -100
  549. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.dbg.json +0 -4
  550. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.json +0 -92
  551. package/artifacts/contracts/types/PayoutId.sol/PayoutIdLib.dbg.json +0 -4
  552. package/artifacts/contracts/types/PayoutId.sol/PayoutIdLib.json +0 -209
  553. package/artifacts/contracts/types/Referral.sol/ReferralLib.dbg.json +0 -4
  554. package/artifacts/contracts/types/Referral.sol/ReferralLib.json +0 -142
  555. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.dbg.json +0 -4
  556. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.json +0 -86
  557. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.dbg.json +0 -4
  558. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.json +0 -156
  559. package/artifacts/contracts/types/Seconds.sol/SecondsLib.dbg.json +0 -4
  560. package/artifacts/contracts/types/Seconds.sol/SecondsLib.json +0 -124
  561. package/artifacts/contracts/types/StateId.sol/StateIdLib.dbg.json +0 -4
  562. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.dbg.json +0 -4
  563. package/artifacts/contracts/types/UFixed.sol/MathLib.dbg.json +0 -4
  564. package/artifacts/contracts/types/UFixed.sol/MathLib.json +0 -10
  565. package/artifacts/contracts/types/UFixed.sol/UFixedLib.dbg.json +0 -4
  566. package/artifacts/contracts/types/UFixed.sol/UFixedLib.json +0 -479
  567. package/artifacts/contracts/types/Version.sol/VersionLib.dbg.json +0 -4
  568. package/artifacts/contracts/types/Version.sol/VersionLib.json +0 -177
  569. package/artifacts/contracts/types/Version.sol/VersionPartLib.dbg.json +0 -4
  570. package/artifacts/contracts/types/Version.sol/VersionPartLib.json +0 -49
  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 -302
  576. package/contracts/instance/AccessManagerUpgradeableInitializeable.sol +0 -13
  577. package/contracts/instance/Cloneable.sol +0 -51
  578. package/contracts/instance/InstanceAccessManager.sol +0 -527
  579. package/contracts/instance/base/ComponentService.sol +0 -121
  580. package/contracts/instance/base/KeyValueStore.sol +0 -180
  581. package/contracts/instance/base/Lifecycle.sol +0 -117
  582. package/contracts/instance/module/ISetup.sol +0 -33
  583. package/contracts/instance/module/ITreasury.sol +0 -23
  584. package/contracts/instance/service/ApplicationService.sol +0 -355
  585. package/contracts/instance/service/BundleService.sol +0 -436
  586. package/contracts/instance/service/BundleServiceManager.sol +0 -51
  587. package/contracts/instance/service/ClaimService.sol +0 -239
  588. package/contracts/instance/service/DistributionService.sol +0 -431
  589. package/contracts/instance/service/DistributionServiceManager.sol +0 -51
  590. package/contracts/instance/service/IClaimService.sol +0 -92
  591. package/contracts/instance/service/IPolicyService.sol +0 -137
  592. package/contracts/instance/service/IProductService.sol +0 -40
  593. package/contracts/instance/service/PolicyService.sol +0 -541
  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/ProductService.sol +0 -210
  598. package/contracts/instance/service/ProductServiceManager.sol +0 -54
  599. package/contracts/registry/RegistryAccessManager.sol +0 -216
  600. package/contracts/shared/ContractDeployerLib.sol +0 -72
  601. package/contracts/test/TestFee.sol +0 -25
  602. package/contracts/test/TestRegisterable.sol +0 -18
  603. package/contracts/test/TestRoleId.sol +0 -14
  604. package/contracts/test/TestService.sol +0 -25
  605. package/contracts/test/TestVersion.sol +0 -44
  606. package/contracts/test/TestVersionable.sol +0 -17
  607. package/contracts/test/Usdc.sol +0 -26
  608. package/contracts/types/Amount.sol +0 -65
  609. package/contracts/types/ChainId.sol +0 -38
  610. package/contracts/types/NumberId.sol +0 -52
  611. package/contracts/types/ObjectType.sol +0 -157
  612. package/contracts/types/RoleId.sol +0 -97
  613. /package/contracts/{types → type}/ClaimId.sol +0 -0
  614. /package/contracts/{types → type}/DistributorType.sol +0 -0
  615. /package/contracts/{types → type}/Key32.sol +0 -0
  616. /package/contracts/{types → type}/PayoutId.sol +0 -0
@@ -0,0 +1,1253 @@
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
+ "inputs": [],
319
+ "name": "ReentrancyGuardReentrantCall",
320
+ "type": "error"
321
+ },
322
+ {
323
+ "anonymous": false,
324
+ "inputs": [
325
+ {
326
+ "indexed": false,
327
+ "internalType": "address",
328
+ "name": "authority",
329
+ "type": "address"
330
+ }
331
+ ],
332
+ "name": "AuthorityUpdated",
333
+ "type": "event"
334
+ },
335
+ {
336
+ "anonymous": false,
337
+ "inputs": [
338
+ {
339
+ "indexed": false,
340
+ "internalType": "uint64",
341
+ "name": "version",
342
+ "type": "uint64"
343
+ }
344
+ ],
345
+ "name": "Initialized",
346
+ "type": "event"
347
+ },
348
+ {
349
+ "anonymous": false,
350
+ "inputs": [
351
+ {
352
+ "indexed": false,
353
+ "internalType": "address",
354
+ "name": "target",
355
+ "type": "address"
356
+ },
357
+ {
358
+ "indexed": false,
359
+ "internalType": "Selector",
360
+ "name": "selector",
361
+ "type": "bytes4"
362
+ },
363
+ {
364
+ "indexed": false,
365
+ "internalType": "string",
366
+ "name": "name",
367
+ "type": "string"
368
+ }
369
+ ],
370
+ "name": "LogFunctionCreated",
371
+ "type": "event"
372
+ },
373
+ {
374
+ "anonymous": false,
375
+ "inputs": [
376
+ {
377
+ "indexed": false,
378
+ "internalType": "RoleId",
379
+ "name": "roleId",
380
+ "type": "uint64"
381
+ },
382
+ {
383
+ "indexed": false,
384
+ "internalType": "enum IAccess.RoleType",
385
+ "name": "roleType",
386
+ "type": "uint8"
387
+ },
388
+ {
389
+ "indexed": false,
390
+ "internalType": "RoleId",
391
+ "name": "roleAdminId",
392
+ "type": "uint64"
393
+ },
394
+ {
395
+ "indexed": false,
396
+ "internalType": "string",
397
+ "name": "name",
398
+ "type": "string"
399
+ }
400
+ ],
401
+ "name": "LogRoleCreated",
402
+ "type": "event"
403
+ },
404
+ {
405
+ "anonymous": false,
406
+ "inputs": [
407
+ {
408
+ "indexed": false,
409
+ "internalType": "address",
410
+ "name": "target",
411
+ "type": "address"
412
+ },
413
+ {
414
+ "indexed": false,
415
+ "internalType": "string",
416
+ "name": "name",
417
+ "type": "string"
418
+ }
419
+ ],
420
+ "name": "LogTargetCreated",
421
+ "type": "event"
422
+ },
423
+ {
424
+ "inputs": [],
425
+ "name": "ADMIN_ROLE_NAME",
426
+ "outputs": [
427
+ {
428
+ "internalType": "string",
429
+ "name": "",
430
+ "type": "string"
431
+ }
432
+ ],
433
+ "stateMutability": "view",
434
+ "type": "function"
435
+ },
436
+ {
437
+ "inputs": [],
438
+ "name": "PUBLIC_ROLE_NAME",
439
+ "outputs": [
440
+ {
441
+ "internalType": "string",
442
+ "name": "",
443
+ "type": "string"
444
+ }
445
+ ],
446
+ "stateMutability": "view",
447
+ "type": "function"
448
+ },
449
+ {
450
+ "inputs": [],
451
+ "name": "authority",
452
+ "outputs": [
453
+ {
454
+ "internalType": "address",
455
+ "name": "",
456
+ "type": "address"
457
+ }
458
+ ],
459
+ "stateMutability": "view",
460
+ "type": "function"
461
+ },
462
+ {
463
+ "inputs": [
464
+ {
465
+ "internalType": "address",
466
+ "name": "target",
467
+ "type": "address"
468
+ }
469
+ ],
470
+ "name": "authorizedFunctions",
471
+ "outputs": [
472
+ {
473
+ "internalType": "uint256",
474
+ "name": "numberOfFunctions",
475
+ "type": "uint256"
476
+ }
477
+ ],
478
+ "stateMutability": "view",
479
+ "type": "function"
480
+ },
481
+ {
482
+ "inputs": [
483
+ {
484
+ "internalType": "address",
485
+ "name": "caller",
486
+ "type": "address"
487
+ },
488
+ {
489
+ "internalType": "address",
490
+ "name": "target",
491
+ "type": "address"
492
+ },
493
+ {
494
+ "internalType": "Selector",
495
+ "name": "selector",
496
+ "type": "bytes4"
497
+ }
498
+ ],
499
+ "name": "canCall",
500
+ "outputs": [
501
+ {
502
+ "internalType": "bool",
503
+ "name": "can",
504
+ "type": "bool"
505
+ }
506
+ ],
507
+ "stateMutability": "view",
508
+ "type": "function"
509
+ },
510
+ {
511
+ "inputs": [],
512
+ "name": "deployer",
513
+ "outputs": [
514
+ {
515
+ "internalType": "address",
516
+ "name": "",
517
+ "type": "address"
518
+ }
519
+ ],
520
+ "stateMutability": "view",
521
+ "type": "function"
522
+ },
523
+ {
524
+ "inputs": [],
525
+ "name": "getAdminRole",
526
+ "outputs": [
527
+ {
528
+ "internalType": "RoleId",
529
+ "name": "roleId",
530
+ "type": "uint64"
531
+ }
532
+ ],
533
+ "stateMutability": "view",
534
+ "type": "function"
535
+ },
536
+ {
537
+ "inputs": [
538
+ {
539
+ "internalType": "address",
540
+ "name": "target",
541
+ "type": "address"
542
+ },
543
+ {
544
+ "internalType": "uint256",
545
+ "name": "idx",
546
+ "type": "uint256"
547
+ }
548
+ ],
549
+ "name": "getAuthorizedFunction",
550
+ "outputs": [
551
+ {
552
+ "components": [
553
+ {
554
+ "internalType": "Str",
555
+ "name": "name",
556
+ "type": "bytes32"
557
+ },
558
+ {
559
+ "internalType": "Selector",
560
+ "name": "selector",
561
+ "type": "bytes4"
562
+ },
563
+ {
564
+ "internalType": "Timestamp",
565
+ "name": "createdAt",
566
+ "type": "uint40"
567
+ }
568
+ ],
569
+ "internalType": "struct IAccess.FunctionInfo",
570
+ "name": "func",
571
+ "type": "tuple"
572
+ },
573
+ {
574
+ "internalType": "RoleId",
575
+ "name": "roleId",
576
+ "type": "uint64"
577
+ }
578
+ ],
579
+ "stateMutability": "view",
580
+ "type": "function"
581
+ },
582
+ {
583
+ "inputs": [],
584
+ "name": "getPublicRole",
585
+ "outputs": [
586
+ {
587
+ "internalType": "RoleId",
588
+ "name": "roleId",
589
+ "type": "uint64"
590
+ }
591
+ ],
592
+ "stateMutability": "view",
593
+ "type": "function"
594
+ },
595
+ {
596
+ "inputs": [
597
+ {
598
+ "internalType": "Str",
599
+ "name": "name",
600
+ "type": "bytes32"
601
+ }
602
+ ],
603
+ "name": "getRoleForName",
604
+ "outputs": [
605
+ {
606
+ "components": [
607
+ {
608
+ "internalType": "RoleId",
609
+ "name": "roleId",
610
+ "type": "uint64"
611
+ },
612
+ {
613
+ "internalType": "bool",
614
+ "name": "exists",
615
+ "type": "bool"
616
+ }
617
+ ],
618
+ "internalType": "struct IAccess.RoleNameInfo",
619
+ "name": "",
620
+ "type": "tuple"
621
+ }
622
+ ],
623
+ "stateMutability": "view",
624
+ "type": "function"
625
+ },
626
+ {
627
+ "inputs": [
628
+ {
629
+ "internalType": "uint256",
630
+ "name": "idx",
631
+ "type": "uint256"
632
+ }
633
+ ],
634
+ "name": "getRoleId",
635
+ "outputs": [
636
+ {
637
+ "internalType": "RoleId",
638
+ "name": "roleId",
639
+ "type": "uint64"
640
+ }
641
+ ],
642
+ "stateMutability": "view",
643
+ "type": "function"
644
+ },
645
+ {
646
+ "inputs": [
647
+ {
648
+ "internalType": "RoleId",
649
+ "name": "roleId",
650
+ "type": "uint64"
651
+ }
652
+ ],
653
+ "name": "getRoleInfo",
654
+ "outputs": [
655
+ {
656
+ "components": [
657
+ {
658
+ "internalType": "RoleId",
659
+ "name": "adminRoleId",
660
+ "type": "uint64"
661
+ },
662
+ {
663
+ "internalType": "enum IAccess.RoleType",
664
+ "name": "roleType",
665
+ "type": "uint8"
666
+ },
667
+ {
668
+ "internalType": "uint32",
669
+ "name": "maxMemberCount",
670
+ "type": "uint32"
671
+ },
672
+ {
673
+ "internalType": "Str",
674
+ "name": "name",
675
+ "type": "bytes32"
676
+ },
677
+ {
678
+ "internalType": "Timestamp",
679
+ "name": "createdAt",
680
+ "type": "uint40"
681
+ }
682
+ ],
683
+ "internalType": "struct IAccess.RoleInfo",
684
+ "name": "",
685
+ "type": "tuple"
686
+ }
687
+ ],
688
+ "stateMutability": "view",
689
+ "type": "function"
690
+ },
691
+ {
692
+ "inputs": [
693
+ {
694
+ "internalType": "RoleId",
695
+ "name": "roleId",
696
+ "type": "uint64"
697
+ },
698
+ {
699
+ "internalType": "uint256",
700
+ "name": "idx",
701
+ "type": "uint256"
702
+ }
703
+ ],
704
+ "name": "getRoleMember",
705
+ "outputs": [
706
+ {
707
+ "internalType": "address",
708
+ "name": "account",
709
+ "type": "address"
710
+ }
711
+ ],
712
+ "stateMutability": "view",
713
+ "type": "function"
714
+ },
715
+ {
716
+ "inputs": [
717
+ {
718
+ "internalType": "uint256",
719
+ "name": "idx",
720
+ "type": "uint256"
721
+ }
722
+ ],
723
+ "name": "getTargetAddress",
724
+ "outputs": [
725
+ {
726
+ "internalType": "address",
727
+ "name": "target",
728
+ "type": "address"
729
+ }
730
+ ],
731
+ "stateMutability": "view",
732
+ "type": "function"
733
+ },
734
+ {
735
+ "inputs": [
736
+ {
737
+ "internalType": "Str",
738
+ "name": "name",
739
+ "type": "bytes32"
740
+ }
741
+ ],
742
+ "name": "getTargetForName",
743
+ "outputs": [
744
+ {
745
+ "internalType": "address",
746
+ "name": "target",
747
+ "type": "address"
748
+ }
749
+ ],
750
+ "stateMutability": "view",
751
+ "type": "function"
752
+ },
753
+ {
754
+ "inputs": [
755
+ {
756
+ "internalType": "address",
757
+ "name": "target",
758
+ "type": "address"
759
+ }
760
+ ],
761
+ "name": "getTargetInfo",
762
+ "outputs": [
763
+ {
764
+ "components": [
765
+ {
766
+ "internalType": "Str",
767
+ "name": "name",
768
+ "type": "bytes32"
769
+ },
770
+ {
771
+ "internalType": "bool",
772
+ "name": "isCustom",
773
+ "type": "bool"
774
+ },
775
+ {
776
+ "internalType": "Timestamp",
777
+ "name": "createdAt",
778
+ "type": "uint40"
779
+ }
780
+ ],
781
+ "internalType": "struct IAccess.TargetInfo",
782
+ "name": "targetInfo",
783
+ "type": "tuple"
784
+ }
785
+ ],
786
+ "stateMutability": "view",
787
+ "type": "function"
788
+ },
789
+ {
790
+ "inputs": [
791
+ {
792
+ "internalType": "address",
793
+ "name": "account",
794
+ "type": "address"
795
+ },
796
+ {
797
+ "internalType": "RoleId",
798
+ "name": "roleId",
799
+ "type": "uint64"
800
+ }
801
+ ],
802
+ "name": "hasAdminRole",
803
+ "outputs": [
804
+ {
805
+ "internalType": "bool",
806
+ "name": "",
807
+ "type": "bool"
808
+ }
809
+ ],
810
+ "stateMutability": "view",
811
+ "type": "function"
812
+ },
813
+ {
814
+ "inputs": [
815
+ {
816
+ "internalType": "address",
817
+ "name": "account",
818
+ "type": "address"
819
+ },
820
+ {
821
+ "internalType": "RoleId",
822
+ "name": "roleId",
823
+ "type": "uint64"
824
+ }
825
+ ],
826
+ "name": "hasRole",
827
+ "outputs": [
828
+ {
829
+ "internalType": "bool",
830
+ "name": "",
831
+ "type": "bool"
832
+ }
833
+ ],
834
+ "stateMutability": "view",
835
+ "type": "function"
836
+ },
837
+ {
838
+ "inputs": [
839
+ {
840
+ "internalType": "address",
841
+ "name": "target",
842
+ "type": "address"
843
+ }
844
+ ],
845
+ "name": "isAccessManaged",
846
+ "outputs": [
847
+ {
848
+ "internalType": "bool",
849
+ "name": "",
850
+ "type": "bool"
851
+ }
852
+ ],
853
+ "stateMutability": "view",
854
+ "type": "function"
855
+ },
856
+ {
857
+ "inputs": [],
858
+ "name": "isConsumingScheduledOp",
859
+ "outputs": [
860
+ {
861
+ "internalType": "bytes4",
862
+ "name": "",
863
+ "type": "bytes4"
864
+ }
865
+ ],
866
+ "stateMutability": "view",
867
+ "type": "function"
868
+ },
869
+ {
870
+ "inputs": [
871
+ {
872
+ "internalType": "address",
873
+ "name": "target",
874
+ "type": "address"
875
+ }
876
+ ],
877
+ "name": "isTargetLocked",
878
+ "outputs": [
879
+ {
880
+ "internalType": "bool",
881
+ "name": "locked",
882
+ "type": "bool"
883
+ }
884
+ ],
885
+ "stateMutability": "view",
886
+ "type": "function"
887
+ },
888
+ {
889
+ "inputs": [
890
+ {
891
+ "internalType": "RoleId",
892
+ "name": "roleId",
893
+ "type": "uint64"
894
+ }
895
+ ],
896
+ "name": "roleExists",
897
+ "outputs": [
898
+ {
899
+ "internalType": "bool",
900
+ "name": "exists",
901
+ "type": "bool"
902
+ }
903
+ ],
904
+ "stateMutability": "view",
905
+ "type": "function"
906
+ },
907
+ {
908
+ "inputs": [
909
+ {
910
+ "internalType": "RoleId",
911
+ "name": "roleId",
912
+ "type": "uint64"
913
+ }
914
+ ],
915
+ "name": "roleMembers",
916
+ "outputs": [
917
+ {
918
+ "internalType": "uint256",
919
+ "name": "numberOfMembers",
920
+ "type": "uint256"
921
+ }
922
+ ],
923
+ "stateMutability": "view",
924
+ "type": "function"
925
+ },
926
+ {
927
+ "inputs": [],
928
+ "name": "roles",
929
+ "outputs": [
930
+ {
931
+ "internalType": "uint256",
932
+ "name": "numberOfRoles",
933
+ "type": "uint256"
934
+ }
935
+ ],
936
+ "stateMutability": "view",
937
+ "type": "function"
938
+ },
939
+ {
940
+ "inputs": [
941
+ {
942
+ "internalType": "address",
943
+ "name": "newAuthority",
944
+ "type": "address"
945
+ }
946
+ ],
947
+ "name": "setAuthority",
948
+ "outputs": [],
949
+ "stateMutability": "nonpayable",
950
+ "type": "function"
951
+ },
952
+ {
953
+ "inputs": [
954
+ {
955
+ "internalType": "address",
956
+ "name": "target",
957
+ "type": "address"
958
+ }
959
+ ],
960
+ "name": "targetExists",
961
+ "outputs": [
962
+ {
963
+ "internalType": "bool",
964
+ "name": "exists",
965
+ "type": "bool"
966
+ }
967
+ ],
968
+ "stateMutability": "view",
969
+ "type": "function"
970
+ },
971
+ {
972
+ "inputs": [],
973
+ "name": "targets",
974
+ "outputs": [
975
+ {
976
+ "internalType": "uint256",
977
+ "name": "numberOfTargets",
978
+ "type": "uint256"
979
+ }
980
+ ],
981
+ "stateMutability": "view",
982
+ "type": "function"
983
+ },
984
+ {
985
+ "inputs": [
986
+ {
987
+ "internalType": "bytes4",
988
+ "name": "selector",
989
+ "type": "bytes4"
990
+ },
991
+ {
992
+ "internalType": "string",
993
+ "name": "name",
994
+ "type": "string"
995
+ }
996
+ ],
997
+ "name": "toFunction",
998
+ "outputs": [
999
+ {
1000
+ "components": [
1001
+ {
1002
+ "internalType": "Str",
1003
+ "name": "name",
1004
+ "type": "bytes32"
1005
+ },
1006
+ {
1007
+ "internalType": "Selector",
1008
+ "name": "selector",
1009
+ "type": "bytes4"
1010
+ },
1011
+ {
1012
+ "internalType": "Timestamp",
1013
+ "name": "createdAt",
1014
+ "type": "uint40"
1015
+ }
1016
+ ],
1017
+ "internalType": "struct IAccess.FunctionInfo",
1018
+ "name": "",
1019
+ "type": "tuple"
1020
+ }
1021
+ ],
1022
+ "stateMutability": "view",
1023
+ "type": "function"
1024
+ },
1025
+ {
1026
+ "inputs": [
1027
+ {
1028
+ "internalType": "RoleId",
1029
+ "name": "adminRoleId",
1030
+ "type": "uint64"
1031
+ },
1032
+ {
1033
+ "internalType": "enum IAccess.RoleType",
1034
+ "name": "roleType",
1035
+ "type": "uint8"
1036
+ },
1037
+ {
1038
+ "internalType": "uint32",
1039
+ "name": "maxMemberCount",
1040
+ "type": "uint32"
1041
+ },
1042
+ {
1043
+ "internalType": "string",
1044
+ "name": "name",
1045
+ "type": "string"
1046
+ }
1047
+ ],
1048
+ "name": "toRole",
1049
+ "outputs": [
1050
+ {
1051
+ "components": [
1052
+ {
1053
+ "internalType": "RoleId",
1054
+ "name": "adminRoleId",
1055
+ "type": "uint64"
1056
+ },
1057
+ {
1058
+ "internalType": "enum IAccess.RoleType",
1059
+ "name": "roleType",
1060
+ "type": "uint8"
1061
+ },
1062
+ {
1063
+ "internalType": "uint32",
1064
+ "name": "maxMemberCount",
1065
+ "type": "uint32"
1066
+ },
1067
+ {
1068
+ "internalType": "Str",
1069
+ "name": "name",
1070
+ "type": "bytes32"
1071
+ },
1072
+ {
1073
+ "internalType": "Timestamp",
1074
+ "name": "createdAt",
1075
+ "type": "uint40"
1076
+ }
1077
+ ],
1078
+ "internalType": "struct IAccess.RoleInfo",
1079
+ "name": "",
1080
+ "type": "tuple"
1081
+ }
1082
+ ],
1083
+ "stateMutability": "view",
1084
+ "type": "function"
1085
+ }
1086
+ ],
1087
+ "bytecode": "0x608060405234801561000f575f80fd5b50600180546001600160a01b0319163317905560405161002e906108d2565b604051809103905ff080158015610047573d5f803e3d5ffd5b505f80546001600160a01b0319166001600160a01b0392909216918217905560405163189acdbd60e31b815230600482015263c4d66de8906024015f604051808303815f87803b158015610099575f80fd5b505af11580156100ab573d5f803e3d5ffd5b50505f546100c492506001600160a01b031690506100d9565b6100cc61014d565b6100d4610300565b610ac6565b7ff3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a0080546001600160a01b0319166001600160a01b03831690811782556040519081527f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad906020015b60405180910390a15050565b5f73__$1d92393fa9ccd763988368ce8a1cb90d26$__637c3940bf5f8054906101000a90046001600160a01b03166001600160a01b03166375b238fc6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156101b6573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906101da91906108f3565b6040516001600160e01b031960e084901b1681526001600160401b039091166004820152602401602060405180830381865af415801561021c573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061024091906108f3565b9050606061028f61024f6103b2565b61028a61025a6103b2565b6001806040518060400160405280600981526020016841646d696e526f6c6560b81b81525061042c60201b60201c565b61058b565b6001600160401b0382165f9081526005602052604090206102b09030610829565b506102fc6102bc610846565b61028a6102c76103b2565b600263ffffffff6040518060400160405280600a8152602001695075626c6963526f6c6560b01b81525061042c60201b60201c565b5050565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00805468010000000000000000900460ff16156103505760405163f92ee8a960e01b815260040160405180910390fd5b80546001600160401b03908116146103af5780546001600160401b0319166001600160401b0390811782556040519081527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50565b604051637c3940bf60e01b81525f600482018190529073__$1d92393fa9ccd763988368ce8a1cb90d26$__90637c3940bf906024015b602060405180830381865af4158015610403573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061042791906108f3565b905090565b6040805160a0810182525f808252602082018190529181018290526060810182905260808101919091526040518060a00160405280866001600160401b0316815260200185600381111561048257610482610915565b81526020018463ffffffff16815260200173__$9a094f9b231ed0f5f85a69be8408d93180$__63cdc23e69856040518263ffffffff1660e01b81526004016104ca9190610957565b602060405180830381865af41580156104e5573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906105099190610969565b815260200173__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af4158015610555573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906105799190610980565b64ffffffffff16905295945050505050565b73__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af41580156105d2573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906105f69190610980565b64ffffffffff1660808201526001600160401b038083165f9081526002602090815260409091208351815493166001600160401b03198416811782559184015184939192909183916001600160481b0319909116176801000000000000000083600381111561066757610667610915565b0217905550604082810151825463ffffffff90911669010000000000000000000263ffffffff60481b199091161782556060808401516001808501919091556080909401516002909301805464ffffffffff90941664ffffffffff1990941693909317909255805180820182526001600160401b03808716808352602080840187815295880180515f9081526003808452878220965187549951151568010000000000000000026001600160481b0319909a169087161798909817909555600480549889018155948590528488047f8a35acfbc15ff81a39ae7d344fd709f28e8600b4aa8c65c6b64bfe7fe36bd19b018054989097166008026101000a92830292909302199096161790935592840151845192519151631623433d60e31b81527f450614a3feeef5c4e204a5b960f0b368083de37223fc452a8b3c2cb93d075a05948794929373__$9a094f9b231ed0f5f85a69be8408d93180$__9263b11a19e8926107d892910190815260200190565b5f60405180830381865af41580156107f2573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f1916820160405261081991908101906109b8565b6040516101419493929190610a68565b5f61083d836001600160a01b038416610886565b90505b92915050565b604051637c3940bf60e01b81526001600160401b0360048201525f9073__$1d92393fa9ccd763988368ce8a1cb90d26$__90637c3940bf906024016103e8565b5f8181526001830160205260408120546108cb57508154600181810184555f848152602080822090930184905584548482528286019093526040902091909155610840565b505f610840565b612b9c806122b883390190565b6001600160401b03811681146103af575f80fd5b5f60208284031215610903575f80fd5b815161090e816108df565b9392505050565b634e487b7160e01b5f52602160045260245ffd5b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081525f61083d6020830184610929565b5f60208284031215610979575f80fd5b5051919050565b5f60208284031215610990575f80fd5b815164ffffffffff8116811461090e575f80fd5b634e487b7160e01b5f52604160045260245ffd5b5f602082840312156109c8575f80fd5b81516001600160401b038111156109dd575f80fd5b8201601f810184136109ed575f80fd5b80516001600160401b03811115610a0657610a066109a4565b604051601f8201601f19908116603f011681016001600160401b0381118282101715610a3457610a346109a4565b604052818152828201602001861015610a4b575f80fd5b8160208401602083015e5f91810160200191909152949350505050565b6001600160401b03851681525f60048510610a9157634e487b7160e01b5f52602160045260245ffd5b602082018590526001600160401b0384166040830152608060608301819052610abc90830184610929565b9695505050505050565b6117e580610ad35f395ff3fe608060405234801561000f575f80fd5b50600436106101c6575f3560e01c806364fc3142116100fe578063b70096131161009e578063c6a001791161006e578063c6a0017914610584578063cd55e51b14610597578063d5f39488146105aa578063d78a83b1146105bb575f80fd5b8063b7009613146104f6578063bc62a0a514610509578063bcfb11b01461053e578063bf7e214f14610567575f80fd5b80638308ceb1116100d95780638308ceb1146104445780638fb360371461044c57806392bdd9bd1461046d578063b3ecf236146104ee575f80fd5b806364fc314214610409578063728a61a81461041c5780637a9e5e4b1461042f575f80fd5b80633406b152116101695780633fd85561116101445780633fd85561146103985780635bfa5027146103c35780635cb870b1146103e3578063605aa10a146103f6575f80fd5b80633406b1521461033d57806335471f801461037d578063392f5f6414610390575f80fd5b806315fb0abb116101a457806315fb0abb146102ae57806324913ce6146102ce57806326d60fb41461032257806326decd401461032a575f80fd5b806303014974146101ca5780630f4809ac146101f057806312e1ebc514610213575b5f80fd5b6101dd6101d8366004611316565b6105ce565b6040519081526020015b60405180910390f35b6102036101fe36600461134c565b6105f4565b60405190151581526020016101e7565b61028361022136600461134c565b60408051606080820183525f80835260208084018290529284018190526001600160a01b03949094168452600682529282902082519384018352805484526001015460ff8116151591840191909152610100900464ffffffffff169082015290565b60408051825181526020808401511515908201529181015164ffffffffff16908201526060016101e7565b6102c16102bc366004611417565b61068a565b6040516101e79190611459565b6102e16102dc36600461148b565b61082d565b60408051835181526020808501516001600160e01b031916908201529281015164ffffffffff16908301526001600160401b031660608201526080016101e7565b6008546101dd565b61020361033836600461134c565b610abb565b61036561034b3660046114b3565b5f908152600760205260409020546001600160a01b031690565b6040516001600160a01b0390911681526020016101e7565b6101dd61038b36600461134c565b610b27565b6004546101dd565b6103ab6103a63660046114b3565b610bb1565b6040516001600160401b0390911681526020016101e7565b6103d66103d1366004611316565b610bf3565b6040516101e791906114de565b6103d66103f136600461155a565b610cb4565b61020361040436600461134c565b610e13565b6102036104173660046115cd565b610e88565b61036561042a3660046114b3565b610f0b565b61044261043d36600461134c565b610f39565b005b6103ab610fda565b610454611053565b6040516001600160e01b031990911681526020016101e7565b6104c861047b3660046114b3565b604080518082019091525f8082526020820152505f908152600360209081526040918290208251808401909352546001600160401b0381168352600160401b900460ff1615159082015290565b6040805182516001600160401b03168152602092830151151592810192909252016101e7565b6103ab611089565b610203610504366004611602565b6110d9565b6105316040518060400160405280600981526020016841646d696e526f6c6560b81b81525081565b6040516101e79190611674565b6105316040518060400160405280600a8152602001695075626c6963526f6c6560b01b81525081565b5f80516020611790833981519152546001600160a01b0316610365565b610203610592366004611316565b6111bf565b6102036105a53660046115cd565b61121b565b6001546001600160a01b0316610365565b6103656105c9366004611686565b611249565b6001600160401b0381165f9081526005602052604081206105ee9061126a565b92915050565b5f813b61060257505f919050565b60408051600481526024810182526020810180516001600160e01b031663bf7e214f60e01b17905290515f916001600160a01b0385169161064391906116a2565b5f60405180830381855afa9150503d805f811461067b576040519150601f19603f3d011682016040523d82523d5f602084013e610680565b606091505b5090949350505050565b60408051606080820183525f808352602083018190528284015282519081019283905263cdc23e6960e01b909252908073__$9a094f9b231ed0f5f85a69be8408d93180$__63cdc23e696106e18660648501611674565b602060405180830381865af41580156106fc573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061072091906116b8565b8152604051636b15ee8b60e01b81526001600160e01b03198616600482015260209091019073__$0904195350e4c23ecb1d51df0a32586dcd$__90636b15ee8b90602401602060405180830381865af415801561077f573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906107a391906116cf565b6001600160e01b031916815260200173__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af41580156107f9573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061081d91906116ea565b64ffffffffff1690529392505050565b604080516060810182525f80825260208083018290528284018290526001600160a01b038616825260099052828120925163dfe63db960e01b81526004810193909352602483018490529091819073__$8df0087758613aef8a614b5774fdb3323b$__9063dfe63db990604401602060405180830381865af41580156108b5573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906108d991906116cf565b6001600160a01b038681165f908152600a602090815260408083206001600160e01b031986811680865291845282852083516060810185528154815260019091015460e081901b90921694810194909452640100000000900464ffffffffff168383015292549051636ea1af2560e11b8152600481019390935290965092935073__$1d92393fa9ccd763988368ce8a1cb90d26$__92637c3940bf921690636d5115bd90899073__$0904195350e4c23ecb1d51df0a32586dcd$__9063dd435e4a90602401602060405180830381865af41580156109b9573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906109dd91906116cf565b6040516001600160e01b031960e085901b811682526001600160a01b03909316600482015291166024820152604401602060405180830381865afa158015610a27573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610a4b919061170e565b6040516001600160e01b031960e084901b1681526001600160401b039091166004820152602401602060405180830381865af4158015610a8d573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610ab1919061170e565b9150509250929050565b5f805460405163a166aa8960e01b81526001600160a01b0384811660048301529091169063a166aa8990602401602060405180830381865afa158015610b03573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906105ee9190611738565b6001600160a01b0381165f90815260096020526040808220905163868b3e0760e01b8152600481019190915273__$8df0087758613aef8a614b5774fdb3323b$__9063868b3e0790602401602060405180830381865af4158015610b8d573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906105ee91906116b8565b5f60048281548110610bc557610bc5611751565b905f5260205f2090600491828204019190066008029054906101000a90046001600160401b03169050919050565b6040805160a080820183525f808352602080840182905283850182905260608401829052608084018290526001600160401b038681168352600282529185902085519384019095528454918216835292939192830190600160401b900460ff166003811115610c6457610c646114ca565b6003811115610c7557610c756114ca565b815281546901000000000000000000900463ffffffff1660208201526001820154604082015260029091015464ffffffffff1660609091015292915050565b6040805160a0810182525f808252602082018190529181018290526060810182905260808101919091526040518060a00160405280866001600160401b03168152602001856003811115610d0a57610d0a6114ca565b81526020018463ffffffff16815260200173__$9a094f9b231ed0f5f85a69be8408d93180$__63cdc23e69856040518263ffffffff1660e01b8152600401610d529190611674565b602060405180830381865af4158015610d6d573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610d9191906116b8565b815260200173__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af4158015610ddd573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610e0191906116ea565b64ffffffffff16905295945050505050565b6001600160a01b0381165f90815260066020526040808220600101549051638d38cd4b60e01b815261010090910464ffffffffff16600482015273__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__90638d38cd4b906024015b602060405180830381865af4158015610b03573d5f803e3d5ffd5b5f80546040516368fc2b7760e11b81526001600160401b03841660048201526001600160a01b0385811660248301528392169063d1f856ee906044016040805180830381865afa158015610ede573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610f029190611765565b50949350505050565b5f60088281548110610f1f57610f1f611751565b5f918252602090912001546001600160a01b031692915050565b33610f585f80516020611790833981519152546001600160a01b031690565b6001600160a01b0316816001600160a01b031614610f985760405162d1953b60e31b81526001600160a01b03821660048201526024015b60405180910390fd5b816001600160a01b03163b5f03610fcd576040516361798f2f60e11b81526001600160a01b0383166004820152602401610f8f565b610fd682611273565b5050565b5f805f9054906101000a90046001600160a01b03166001600160a01b0316633ca7c02a6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561102a573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061104e919061170e565b905090565b5f8051602061179083398151915280545f9190600160a01b900460ff1661107a575f611083565b638fb3603760e01b5b91505090565b5f805f9054906101000a90046001600160a01b03166001600160a01b03166375b238fc6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561102a573d5f803e3d5ffd5b5f8054604051636ea1af2560e11b81526001600160e01b0319841660048201526001600160a01b039091169063b7009613908690869073__$0904195350e4c23ecb1d51df0a32586dcd$__9063dd435e4a90602401602060405180830381865af4158015611149573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061116d91906116cf565b60405160e085901b6001600160e01b031990811682526001600160a01b0394851660048301529290931660248401521660448201526064016040805180830381865afa158015610ede573d5f803e3d5ffd5b6001600160401b0381165f908152600260208190526040808320909101549051638d38cd4b60e01b815264ffffffffff909116600482015273__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__90638d38cd4b90602401610e6d565b6001600160401b038082165f90815260026020526040812054909161124291859116610e88565b9392505050565b6001600160401b0382165f90815260056020526040812061124290836112d3565b5f6105ee825490565b5f8051602061179083398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b5f61124283835f825f0182815481106112ee576112ee611751565b905f5260205f200154905092915050565b6001600160401b0381168114611313575f80fd5b50565b5f60208284031215611326575f80fd5b8135611242816112ff565b80356001600160a01b0381168114611347575f80fd5b919050565b5f6020828403121561135c575f80fd5b61124282611331565b6001600160e01b031981168114611313575f80fd5b634e487b7160e01b5f52604160045260245ffd5b5f82601f83011261139d575f80fd5b81356001600160401b038111156113b6576113b661137a565b604051601f8201601f19908116603f011681016001600160401b03811182821017156113e4576113e461137a565b6040528181528382016020018510156113fb575f80fd5b816020850160208301375f918101602001919091529392505050565b5f8060408385031215611428575f80fd5b823561143381611365565b915060208301356001600160401b0381111561144d575f80fd5b610ab18582860161138e565b815181526020808301516001600160e01b0319169082015260408083015164ffffffffff1690820152606081016105ee565b5f806040838503121561149c575f80fd5b6114a583611331565b946020939093013593505050565b5f602082840312156114c3575f80fd5b5035919050565b634e487b7160e01b5f52602160045260245ffd5b81516001600160401b03168152602082015160a08201906004811061151157634e487b7160e01b5f52602160045260245ffd5b8060208401525063ffffffff60408401511660408301526060830151606083015264ffffffffff608084015116608083015292915050565b63ffffffff81168114611313575f80fd5b5f805f806080858703121561156d575f80fd5b8435611578816112ff565b935060208501356004811061158b575f80fd5b9250604085013561159b81611549565b915060608501356001600160401b038111156115b5575f80fd5b6115c18782880161138e565b91505092959194509250565b5f80604083850312156115de575f80fd5b6115e783611331565b915060208301356115f7816112ff565b809150509250929050565b5f805f60608486031215611614575f80fd5b61161d84611331565b925061162b60208501611331565b9150604084013561163b81611365565b809150509250925092565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081525f6112426020830184611646565b5f8060408385031215611697575f80fd5b82356114a5816112ff565b5f82518060208501845e5f920191825250919050565b5f602082840312156116c8575f80fd5b5051919050565b5f602082840312156116df575f80fd5b815161124281611365565b5f602082840312156116fa575f80fd5b815164ffffffffff81168114611242575f80fd5b5f6020828403121561171e575f80fd5b8151611242816112ff565b80518015158114611347575f80fd5b5f60208284031215611748575f80fd5b61124282611729565b634e487b7160e01b5f52603260045260245ffd5b5f8060408385031215611776575f80fd5b61177f83611729565b915060208301516115f78161154956fef3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00a2646970667358221220b8b8daec40aea8f03df239ed6aed39d38bf36873e4a1a917863e7101da98105a64736f6c634300081a00336080604052348015600e575f80fd5b50612b808061001c5f395ff3fe6080604052600436106101e6575f3560e01c80636d5115bd11610108578063b70096131161009d578063d1f856ee1161006d578063d1f856ee146105e9578063d22b598914610608578063d6bb62c614610627578063f801a69814610646578063fe0776f51461067f575f80fd5b8063b70096131461055b578063b7d2b16214610596578063c4d66de8146105b5578063cc1b6c81146105d4575f80fd5b8063a166aa89116100d8578063a166aa89146104b4578063a64d95ce146104e3578063abd9bd2a14610502578063ac9650d81461052f575f80fd5b80636d5115bd1461044457806375b238fc14610463578063853551b81461047657806394c7d7ee14610495575f80fd5b806330cae1871161017e5780634665096d1161014e5780634665096d146103d25780634c1da1e2146103e75780635296295214610406578063530dd45614610425575f80fd5b806330cae187146103445780633adc277a146103635780633ca7c02a146103995780634136a33c146103b3575f80fd5b806318ff183c116101b957806318ff183c1461029a5780631cff79cd146102b957806325c471a0146102cc5780633078f114146102eb575f80fd5b806308d6122d146101ea5780630b0a93ba1461020b57806312be872714610247578063167bd3951461027b575b5f80fd5b3480156101f5575f80fd5b50610209610204366004612485565b61069e565b005b348015610216575f80fd5b5061022a6102253660046124e7565b6106f0565b6040516001600160401b0390911681526020015b60405180910390f35b348015610252575f80fd5b506102666102613660046124e7565b610727565b60405163ffffffff909116815260200161023e565b348015610286575f80fd5b50610209610295366004612500565b610771565b3480156102a5575f80fd5b506102096102b436600461253b565b610787565b6102666102c73660046125a4565b6107e9565b3480156102d7575f80fd5b506102096102e6366004612607565b61092a565b3480156102f6575f80fd5b5061030a610305366004612649565b61094c565b60405161023e949392919065ffffffffffff948516815263ffffffff93841660208201529190921660408201529116606082015260800190565b34801561034f575f80fd5b5061020961035e366004612663565b6109bf565b34801561036e575f80fd5b5061038261037d366004612694565b6109d1565b60405165ffffffffffff909116815260200161023e565b3480156103a4575f80fd5b5061022a6001600160401b0381565b3480156103be575f80fd5b506102666103cd366004612694565b610a13565b3480156103dd575f80fd5b5062093a80610266565b3480156103f2575f80fd5b506102666104013660046126ab565b610a3e565b348015610411575f80fd5b50610209610420366004612663565b610a78565b348015610430575f80fd5b5061022a61043f3660046124e7565b610a8a565b34801561044f575f80fd5b5061022a61045e3660046126db565b610aba565b34801561046e575f80fd5b5061022a5f81565b348015610481575f80fd5b50610209610490366004612707565b610b01565b3480156104a0575f80fd5b506102096104af3660046125a4565b610b98565b3480156104bf575f80fd5b506104d36104ce3660046126ab565b610c42565b604051901515815260200161023e565b3480156104ee575f80fd5b506102096104fd366004612722565b610c79565b34801561050d575f80fd5b5061052161051c36600461274a565b610c8b565b60405190815260200161023e565b34801561053a575f80fd5b5061054e6105493660046127aa565b610cc3565b60405161023e91906127e8565b348015610566575f80fd5b5061057a61057536600461286c565b610daa565b60408051921515835263ffffffff90911660208301520161023e565b3480156105a1575f80fd5b506102096105b0366004612649565b610e2b565b3480156105c0575f80fd5b506102096105cf3660046126ab565b610e42565b3480156105df575f80fd5b5062069780610266565b3480156105f4575f80fd5b5061057a610603366004612649565b610f4d565b348015610613575f80fd5b506102096106223660046128b4565b610fc6565b348015610632575f80fd5b5061026661064136600461274a565b610fd8565b348015610651575f80fd5b506106656106603660046128d0565b61113b565b6040805192835263ffffffff90911660208301520161023e565b34801561068a575f80fd5b50610209610699366004612649565b6112d7565b6106a6611300565b5f5b828110156106e9576106e1858585848181106106c6576106c661293d565b90506020020160208101906106db9190612951565b84611377565b6001016106a8565b5050505050565b5f806106fa611403565b6001600160401b039384165f9081526001918201602052604090200154600160401b900490921692915050565b5f80610731611403565b6001600160401b0384165f90815260018281016020526040909120015490915061076a90600160801b90046001600160701b0316611427565b9392505050565b610779611300565b6107838282611445565b5050565b61078f611300565b604051637a9e5e4b60e01b81526001600160a01b038281166004830152831690637a9e5e4b906024015f604051808303815f87803b1580156107cf575f80fd5b505af11580156107e1573d5f803e3d5ffd5b505050505050565b5f806107f3611403565b9050335f80610804838989896114e9565b915091508115801561081a575063ffffffff8116155b1561086d57828861082b898961153a565b6040516381c6f24b60e01b81526001600160a01b0393841660048201529290911660248301526001600160e01b03191660448201526064015b60405180910390fd5b5f61087a848a8a8a610c8b565b90505f63ffffffff83161515806108a05750610895826109d1565b65ffffffffffff1615155b156108b1576108ae82611551565b90505b60038601546108c98b6108c48c8c61153a565b611662565b87600301819055506109128b8b8b8080601f0160208091040260200160405190810160405280939291908181526020018383808284375f920191909152503492506116a4915050565b50600390960195909555509293505050509392505050565b610932611300565b610946838361094086610727565b8461173d565b50505050565b5f805f805f610959611403565b6001600160401b0388165f90815260018201602090815260408083206001600160a01b038b1684529091529020805465ffffffffffff81169750919250906109b090600160301b90046001600160701b0316611997565b979a9199509750945050505050565b6109c7611300565b61078382826119b8565b5f806109db611403565b5f84815260028201602052604090205490915065ffffffffffff166109ff81611a68565b610a095780610a0b565b5f5b949350505050565b5f80610a1d611403565b5f93845260020160205250506040902054600160301b900463ffffffff1690565b5f80610a48611403565b6001600160a01b0384165f9081526020829052604090206001015490915061076a906001600160701b0316611427565b610a80611300565b6107838282611a96565b5f80610a94611403565b6001600160401b039384165f908152600191820160205260409020015490921692915050565b5f80610ac4611403565b6001600160a01b0385165f908152602091825260408082206001600160e01b03198716835290925220546001600160401b03169150505b92915050565b610b09611300565b6001600160401b0383161580610b2757506001600160401b03838116145b15610b505760405163061c6a4360e21b81526001600160401b0384166004820152602401610864565b826001600160401b03167f1256f5b5ecb89caec12db449738f2fbcd1ba5806cf38f35413f4e5c15bf6a4508383604051610b8b929190612994565b60405180910390a2505050565b60408051638fb3603760e01b80825291513392918391638fb36037916004808201926020929091908290030181865afa158015610bd7573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610bfb91906129a7565b6001600160e01b03191614610c2e57604051630641fee960e31b81526001600160a01b0382166004820152602401610864565b6106e9610c3d85838686610c8b565b611551565b5f80610c4c611403565b6001600160a01b039093165f9081526020939093525050604090206001015460ff600160701b9091041690565b610c81611300565b6107838282611b54565b5f84848484604051602001610ca394939291906129c2565b604051602081830303815290604052805190602001209050949350505050565b6060816001600160401b03811115610cdd57610cdd6129ee565b604051908082528060200260200182016040528015610d1057816020015b6060815260200190600190039081610cfb5790505b5090505f5b82811015610da357610d7e30858584818110610d3357610d3361293d565b9050602002810190610d459190612a02565b8080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250611c7e92505050565b828281518110610d9057610d9061293d565b6020908102919091010152600101610d15565b5092915050565b5f80610db584610c42565b15610dc457505f905080610e23565b306001600160a01b03861603610de857610dde8484611cf0565b5f91509150610e23565b5f610df38585610aba565b90505f80610e018389610f4d565b9150915081610e11575f80610e1b565b63ffffffff811615815b945094505050505b935093915050565b610e33611300565b610e3d8282611d14565b505050565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a008054600160401b810460ff1615906001600160401b03165f81158015610e865750825b90505f826001600160401b03166001148015610ea15750303b155b905081158015610eaf575080155b15610ecd5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315610ef757845460ff60401b1916600160401b1785555b610f0086611e0f565b83156107e157845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a1505050505050565b5f8067fffffffffffffffe196001600160401b03851601610f735750600190505f610fbf565b5f80610f7f868661094c565b5050915091508165ffffffffffff165f14158015610fb45750610fa0611e23565b65ffffffffffff168265ffffffffffff1611155b93509150610fbf9050565b9250929050565b610fce611300565b6107838282611e32565b5f80610fe2611403565b9050335f610ff0868661153a565b90505f610fff89898989610c8b565b5f81815260028601602052604081205491925065ffffffffffff909116900361103e5760405163060a299b60e41b815260048101829052602401610864565b826001600160a01b0316896001600160a01b0316146110d7575f6110625f85610f4d565b5090505f61107c6110766102258c87610aba565b86610f4d565b5090508115801561108b575080155b156110d457604051630ff89d4760e21b81526001600160a01b038087166004830152808d1660248301528b1660448201526001600160e01b031985166064820152608401610864565b50505b5f818152600285016020526040808220805465ffffffffffff1916908190559051600160301b90910463ffffffff1691829184917fbd9ac67a6e2f6463b80927326310338bcbb4bdb7936ce1365ea3e01067e7b9f791a39998505050505050505050565b5f805f611146611403565b9050335f611156828a8a8a6114e9565b9150505f8163ffffffff16611169611e23565b6111739190612a58565b905063ffffffff821615806111a957505f8765ffffffffffff161180156111a957508065ffffffffffff168765ffffffffffff16105b156111ba57828a61082b8b8b61153a565b6111d48765ffffffffffff168265ffffffffffff16611efa565b96506111e2838b8b8b610c8b565b95506111ed86611f0f565b836002015f8781526020019081526020015f205f0160069054906101000a900463ffffffff16600101945086846002015f8881526020019081526020015f205f015f6101000a81548165ffffffffffff021916908365ffffffffffff16021790555084846002015f8881526020019081526020015f205f0160066101000a81548163ffffffff021916908363ffffffff1602179055508463ffffffff16867f82a2da5dee54ea8021c6545b4444620291e07ee83be6dd57edb175062715f3b489868e8e8e6040516112c2959493929190612a76565b60405180910390a35050505094509492505050565b6001600160a01b0381163314610e3357604051635f159e6360e01b815260040160405180910390fd5b335f8061130e838236611f69565b9150915081610e3d578063ffffffff165f03611368575f61132f813661201a565b5060405163f07e038f60e01b81526001600160a01b03871660048201526001600160401b03821660248201529092506044019050610864565b610946610c3d84305f36610c8b565b5f611380611403565b6001600160a01b0385165f818152602083815260408083206001600160e01b0319891680855290835292819020805467ffffffffffffffff19166001600160401b03891690811790915590519283529394507f9ea6790c7dadfd01c9f8b9762b3682607af2c7e79e05a9f9fdf5580dde949151910160405180910390a350505050565b7f40c6c8c28789853c7efd823ab20824bbd71718a8a5915e855f6f288c9a26ad0090565b5f8061143b836001600160701b0316611997565b5090949350505050565b5f61144e611403565b9050306001600160a01b0384160361148457604051630b40d17960e31b81526001600160a01b0384166004820152602401610864565b6001600160a01b0383165f81815260208390526040908190206001018054851515600160701b0260ff60701b19909116179055517f90d4e7bb7e5d933792b3562e1741306f8be94837e1348dacef9b6f1df56eb13890610b8b90851515815260200190565b5f80306001600160a01b0386160361150f57611506868585611f69565b91509150611531565b6004831061152b576115268686610575878761153a565b611506565b505f9050805b94509492505050565b5f6115486004828486612abb565b61076a91612ae2565b5f8061155b611403565b5f84815260028201602052604081205491925065ffffffffffff821691600160301b900463ffffffff16908290036115a95760405163060a299b60e41b815260048101869052602401610864565b6115b1611e23565b65ffffffffffff168265ffffffffffff1611156115e457604051630c65b5bd60e11b815260048101869052602401610864565b6115ed82611a68565b1561160e57604051631e2975b960e21b815260048101869052602401610864565b5f858152600284016020526040808220805465ffffffffffff191690555163ffffffff83169187917f76a2a46953689d4861a5d3f6ed883ad7e6af674a21f8e162707159fc9dde614d9190a3949350505050565b604080516001600160a01b03939093166020808501919091526001600160e01b0319929092168382015280518084038201815260609093019052815191012090565b6060814710156116c95760405163cd78605960e01b8152306004820152602401610864565b5f80856001600160a01b031684866040516116e49190612b18565b5f6040518083038185875af1925050503d805f811461171e576040519150601f19603f3d011682016040523d82523d5f602084013e611723565b606091505b50915091506117338683836121db565b9695505050505050565b5f80611747611403565b905067fffffffffffffffe196001600160401b038716016117865760405163061c6a4360e21b81526001600160401b0387166004820152602401610864565b6001600160401b0386165f90815260018201602090815260408083206001600160a01b038916845290915281205465ffffffffffff161590811561187a578563ffffffff166117d3611e23565b6117dd9190612a58565b905060405180604001604052808265ffffffffffff16815260200161180b8763ffffffff1663ffffffff1690565b6001600160701b039081169091526001600160401b038a165f90815260018601602090815260408083206001600160a01b038d1684528252909120835181549490920151909216600160301b026001600160a01b031990931665ffffffffffff90911617919091179055611928565b6001600160401b0388165f90815260018401602090815260408083206001600160a01b038b1684529091528120546118c591600160301b9091046001600160701b0316908790612237565b6001600160401b038a165f90815260018601602090815260408083206001600160a01b038d168452909152902080546001600160701b03909316600160301b0273ffffffffffffffffffffffffffff000000000000199093169290921790915590505b6040805163ffffffff8716815265ffffffffffff831660208201528315158183015290516001600160a01b038916916001600160401b038b16917ff98448b987f1428e0e230e1f3c6e2ce15b5693eaf31827fbd0b1ec4b424ae7cf9181900360600190a3509695505050505050565b5f805f6119ab846119a6611e23565b6122dd565b9250925092509193909250565b5f6119c1611403565b90506001600160401b03831615806119e157506001600160401b03838116145b15611a0a5760405163061c6a4360e21b81526001600160401b0384166004820152602401610864565b6001600160401b038381165f81815260018481016020526040808320909101805467ffffffffffffffff19169487169485179055517f1fd6dd7631312dfac2205b52913f99de03b4d7e381d5d27d3dbfe0713e6e63409190a3505050565b5f611a71611e23565b65ffffffffffff16611a8662093a8084612a58565b65ffffffffffff16111592915050565b5f611a9f611403565b90506001600160401b0383161580611abf57506001600160401b03838116145b15611ae85760405163061c6a4360e21b81526001600160401b0384166004820152602401610864565b6001600160401b038381165f8181526001848101602052604080832090910180546fffffffffffffffff00000000000000001916600160401b958816958602179055517f7a8059630b897b5de4c08ade69f8b90c3ead1f8596d62d10b6c4d14a0afb4ae29190a3505050565b5f611b5d611403565b905067fffffffffffffffe196001600160401b03841601611b9c5760405163061c6a4360e21b81526001600160401b0384166004820152602401610864565b6001600160401b0383165f9081526001828101602052604082200154611bd690600160801b90046001600160701b03168462069780612237565b6001600160401b0386165f81815260018087016020526040918290200180546001600160701b03909516600160801b026dffffffffffffffffffffffffffff60801b199095169490941790935591519092507ffeb69018ee8b8fd50ea86348f1267d07673379f72cffdeccec63853ee8ce8b4890611c70908690859063ffffffff92909216825265ffffffffffff16602082015260400190565b60405180910390a250505050565b60605f80846001600160a01b031684604051611c9a9190612b18565b5f60405180830381855af49150503d805f8114611cd2576040519150601f19603f3d011682016040523d82523d5f602084013e611cd7565b606091505b5091509150611ce78583836121db565b95945050505050565b5f80611cfa611403565b9050611d068484611662565b600390910154149392505050565b5f80611d1e611403565b905067fffffffffffffffe196001600160401b03851601611d5d5760405163061c6a4360e21b81526001600160401b0385166004820152602401610864565b6001600160401b0384165f90815260018201602090815260408083206001600160a01b038716845290915281205465ffffffffffff169003611da2575f915050610afb565b6001600160401b0384165f81815260018301602090815260408083206001600160a01b038816808552925280832080546001600160a01b0319169055519092917ff229baa593af28c41b1d16b748cd7688f0c83aaf92d4be41c44005defe84c16691a35060019392505050565b611e1761232f565b611e208161237a565b50565b5f611e2d426123b7565b905090565b5f611e3b611403565b90505f611e7183620697806001600160a01b0387165f908152602086905260409020600101546001600160701b03169190612237565b6001600160a01b0386165f818152602086815260409182902060010180546dffffffffffffffffffffffffffff19166001600160701b039690961695909517909455805163ffffffff8816815265ffffffffffff841694810194909452919350917fa56b76017453f399ec2327ba00375dbfb1fd070ff854341ad6191e6a2e2de19c9101611c70565b5f818311611f08578161076a565b5090919050565b5f611f18611403565b5f83815260028201602052604090205490915065ffffffffffff168015801590611f485750611f4681611a68565b155b15610e3d5760405163813e945960e01b815260048101849052602401610864565b5f806004831015611f7e57505f905080610e23565b306001600160a01b03861603611fa157610dde30611f9c868661153a565b611cf0565b5f805f611fae878761201a565b92509250925082611fc7575f8094509450505050610e23565b5f80611fd3848b610f4d565b9150915081611fec575f80965096505050505050610e23565b6120028363ffffffff168263ffffffff16611efa565b63ffffffff8116159b909a5098505050505050505050565b5f8080600484101561203357505f9150819050806121d4565b5f61203e868661153a565b90506001600160e01b031981166310a6aa3760e31b148061206f57506001600160e01b031981166330cae18760e01b145b8061208a57506001600160e01b0319811663294b14a960e11b145b806120a557506001600160e01b03198116635326cae760e11b145b806120c057506001600160e01b0319811663d22b598960e01b145b156120d55760015f80935093509350506121d4565b6001600160e01b0319811663063fc60f60e21b148061210457506001600160e01b0319811663167bd39560e01b145b8061211f57506001600160e01b031981166308d6122d60e01b145b1561215e575f61213360246004888a612abb565b81019061214091906126ab565b90505f61214c82610a3e565b600196505f955093506121d492505050565b6001600160e01b0319811663012e238d60e51b148061218d57506001600160e01b03198116635be958b160e11b145b156121c9575f6121a160246004888a612abb565b8101906121ae91906124e7565b905060016121bb82610a8a565b5f94509450945050506121d4565b5f805f935093509350505b9250925092565b6060826121f0576121eb826123ed565b61076a565b815115801561220757506001600160a01b0384163b155b1561223057604051639996b31560e01b81526001600160a01b0385166004820152602401610864565b508061076a565b5f805f61224c866001600160701b0316611427565b90505f6122878563ffffffff168763ffffffff168463ffffffff1611612272575f61227c565b61227c8885612b2e565b63ffffffff16611efa565b90508063ffffffff16612298611e23565b6122a29190612a58565b925063ffffffff8616602083901b67ffffffff0000000016604085901b6dffffffffffff000000000000000016171793505050935093915050565b5f808069ffffffffffffffffffff602086901c166001600160701b03861665ffffffffffff604088901c811690871681111561231b5782828261231f565b815f805b9550955095505050509250925092565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a0054600160401b900460ff1661237857604051631afcd79f60e31b815260040160405180910390fd5b565b61238261232f565b6001600160a01b0381166123ab57604051630409d6d160e11b81525f6004820152602401610864565b6107835f825f8061173d565b5f65ffffffffffff8211156123e9576040516306dfcc6560e41b81526030600482015260248101839052604401610864565b5090565b8051156123fd5780518082602001fd5b604051630a12f52160e11b815260040160405180910390fd5b6001600160a01b0381168114611e20575f80fd5b5f8083601f84011261243a575f80fd5b5081356001600160401b03811115612450575f80fd5b6020830191508360208260051b8501011115610fbf575f80fd5b80356001600160401b0381168114612480575f80fd5b919050565b5f805f8060608587031215612498575f80fd5b84356124a381612416565b935060208501356001600160401b038111156124bd575f80fd5b6124c98782880161242a565b90945092506124dc90506040860161246a565b905092959194509250565b5f602082840312156124f7575f80fd5b61076a8261246a565b5f8060408385031215612511575f80fd5b823561251c81612416565b915060208301358015158114612530575f80fd5b809150509250929050565b5f806040838503121561254c575f80fd5b823561255781612416565b9150602083013561253081612416565b5f8083601f840112612577575f80fd5b5081356001600160401b0381111561258d575f80fd5b602083019150836020828501011115610fbf575f80fd5b5f805f604084860312156125b6575f80fd5b83356125c181612416565b925060208401356001600160401b038111156125db575f80fd5b6125e786828701612567565b9497909650939450505050565b803563ffffffff81168114612480575f80fd5b5f805f60608486031215612619575f80fd5b6126228461246a565b9250602084013561263281612416565b9150612640604085016125f4565b90509250925092565b5f806040838503121561265a575f80fd5b6125578361246a565b5f8060408385031215612674575f80fd5b61267d8361246a565b915061268b6020840161246a565b90509250929050565b5f602082840312156126a4575f80fd5b5035919050565b5f602082840312156126bb575f80fd5b813561076a81612416565b6001600160e01b031981168114611e20575f80fd5b5f80604083850312156126ec575f80fd5b82356126f781612416565b91506020830135612530816126c6565b5f805f60408486031215612719575f80fd5b6125c18461246a565b5f8060408385031215612733575f80fd5b61273c8361246a565b915061268b602084016125f4565b5f805f806060858703121561275d575f80fd5b843561276881612416565b9350602085013561277881612416565b925060408501356001600160401b03811115612792575f80fd5b61279e87828801612567565b95989497509550505050565b5f80602083850312156127bb575f80fd5b82356001600160401b038111156127d0575f80fd5b6127dc8582860161242a565b90969095509350505050565b5f602082016020835280845180835260408501915060408160051b8601019250602086015f5b8281101561286057603f19878603018452815180518087528060208301602089015e5f602082890101526020601f19601f8301168801019650505060208201915060208401935060018101905061280e565b50929695505050505050565b5f805f6060848603121561287e575f80fd5b833561288981612416565b9250602084013561289981612416565b915060408401356128a9816126c6565b809150509250925092565b5f80604083850312156128c5575f80fd5b823561273c81612416565b5f805f80606085870312156128e3575f80fd5b84356128ee81612416565b935060208501356001600160401b03811115612908575f80fd5b61291487828801612567565b909450925050604085013565ffffffffffff81168114612932575f80fd5b939692955090935050565b634e487b7160e01b5f52603260045260245ffd5b5f60208284031215612961575f80fd5b813561076a816126c6565b81835281816020850137505f828201602090810191909152601f909101601f19169091010190565b602081525f610a0b60208301848661296c565b5f602082840312156129b7575f80fd5b815161076a816126c6565b6001600160a01b038581168252841660208201526060604082018190525f90611733908301848661296c565b634e487b7160e01b5f52604160045260245ffd5b5f808335601e19843603018112612a17575f80fd5b8301803591506001600160401b03821115612a30575f80fd5b602001915036819003821315610fbf575f80fd5b634e487b7160e01b5f52601160045260245ffd5b65ffffffffffff8181168382160190811115610afb57610afb612a44565b65ffffffffffff861681526001600160a01b038581166020830152841660408201526080606082018190525f90612ab0908301848661296c565b979650505050505050565b5f8085851115612ac9575f80fd5b83861115612ad5575f80fd5b5050820193919092039150565b80356001600160e01b03198116906004841015610da3576001600160e01b031960049490940360031b84901b1690921692915050565b5f82518060208501845e5f920191825250919050565b63ffffffff8281168282160390811115610afb57610afb612a4456fea2646970667358221220e85812857d8281b205740214c619335e68dad2f5f6b66bd745defc3c199957ad64736f6c634300081a0033",
1088
+ "deployedBytecode": "0x608060405234801561000f575f80fd5b50600436106101c6575f3560e01c806364fc3142116100fe578063b70096131161009e578063c6a001791161006e578063c6a0017914610584578063cd55e51b14610597578063d5f39488146105aa578063d78a83b1146105bb575f80fd5b8063b7009613146104f6578063bc62a0a514610509578063bcfb11b01461053e578063bf7e214f14610567575f80fd5b80638308ceb1116100d95780638308ceb1146104445780638fb360371461044c57806392bdd9bd1461046d578063b3ecf236146104ee575f80fd5b806364fc314214610409578063728a61a81461041c5780637a9e5e4b1461042f575f80fd5b80633406b152116101695780633fd85561116101445780633fd85561146103985780635bfa5027146103c35780635cb870b1146103e3578063605aa10a146103f6575f80fd5b80633406b1521461033d57806335471f801461037d578063392f5f6414610390575f80fd5b806315fb0abb116101a457806315fb0abb146102ae57806324913ce6146102ce57806326d60fb41461032257806326decd401461032a575f80fd5b806303014974146101ca5780630f4809ac146101f057806312e1ebc514610213575b5f80fd5b6101dd6101d8366004611316565b6105ce565b6040519081526020015b60405180910390f35b6102036101fe36600461134c565b6105f4565b60405190151581526020016101e7565b61028361022136600461134c565b60408051606080820183525f80835260208084018290529284018190526001600160a01b03949094168452600682529282902082519384018352805484526001015460ff8116151591840191909152610100900464ffffffffff169082015290565b60408051825181526020808401511515908201529181015164ffffffffff16908201526060016101e7565b6102c16102bc366004611417565b61068a565b6040516101e79190611459565b6102e16102dc36600461148b565b61082d565b60408051835181526020808501516001600160e01b031916908201529281015164ffffffffff16908301526001600160401b031660608201526080016101e7565b6008546101dd565b61020361033836600461134c565b610abb565b61036561034b3660046114b3565b5f908152600760205260409020546001600160a01b031690565b6040516001600160a01b0390911681526020016101e7565b6101dd61038b36600461134c565b610b27565b6004546101dd565b6103ab6103a63660046114b3565b610bb1565b6040516001600160401b0390911681526020016101e7565b6103d66103d1366004611316565b610bf3565b6040516101e791906114de565b6103d66103f136600461155a565b610cb4565b61020361040436600461134c565b610e13565b6102036104173660046115cd565b610e88565b61036561042a3660046114b3565b610f0b565b61044261043d36600461134c565b610f39565b005b6103ab610fda565b610454611053565b6040516001600160e01b031990911681526020016101e7565b6104c861047b3660046114b3565b604080518082019091525f8082526020820152505f908152600360209081526040918290208251808401909352546001600160401b0381168352600160401b900460ff1615159082015290565b6040805182516001600160401b03168152602092830151151592810192909252016101e7565b6103ab611089565b610203610504366004611602565b6110d9565b6105316040518060400160405280600981526020016841646d696e526f6c6560b81b81525081565b6040516101e79190611674565b6105316040518060400160405280600a8152602001695075626c6963526f6c6560b01b81525081565b5f80516020611790833981519152546001600160a01b0316610365565b610203610592366004611316565b6111bf565b6102036105a53660046115cd565b61121b565b6001546001600160a01b0316610365565b6103656105c9366004611686565b611249565b6001600160401b0381165f9081526005602052604081206105ee9061126a565b92915050565b5f813b61060257505f919050565b60408051600481526024810182526020810180516001600160e01b031663bf7e214f60e01b17905290515f916001600160a01b0385169161064391906116a2565b5f60405180830381855afa9150503d805f811461067b576040519150601f19603f3d011682016040523d82523d5f602084013e610680565b606091505b5090949350505050565b60408051606080820183525f808352602083018190528284015282519081019283905263cdc23e6960e01b909252908073__$9a094f9b231ed0f5f85a69be8408d93180$__63cdc23e696106e18660648501611674565b602060405180830381865af41580156106fc573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061072091906116b8565b8152604051636b15ee8b60e01b81526001600160e01b03198616600482015260209091019073__$0904195350e4c23ecb1d51df0a32586dcd$__90636b15ee8b90602401602060405180830381865af415801561077f573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906107a391906116cf565b6001600160e01b031916815260200173__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af41580156107f9573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061081d91906116ea565b64ffffffffff1690529392505050565b604080516060810182525f80825260208083018290528284018290526001600160a01b038616825260099052828120925163dfe63db960e01b81526004810193909352602483018490529091819073__$8df0087758613aef8a614b5774fdb3323b$__9063dfe63db990604401602060405180830381865af41580156108b5573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906108d991906116cf565b6001600160a01b038681165f908152600a602090815260408083206001600160e01b031986811680865291845282852083516060810185528154815260019091015460e081901b90921694810194909452640100000000900464ffffffffff168383015292549051636ea1af2560e11b8152600481019390935290965092935073__$1d92393fa9ccd763988368ce8a1cb90d26$__92637c3940bf921690636d5115bd90899073__$0904195350e4c23ecb1d51df0a32586dcd$__9063dd435e4a90602401602060405180830381865af41580156109b9573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906109dd91906116cf565b6040516001600160e01b031960e085901b811682526001600160a01b03909316600482015291166024820152604401602060405180830381865afa158015610a27573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610a4b919061170e565b6040516001600160e01b031960e084901b1681526001600160401b039091166004820152602401602060405180830381865af4158015610a8d573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610ab1919061170e565b9150509250929050565b5f805460405163a166aa8960e01b81526001600160a01b0384811660048301529091169063a166aa8990602401602060405180830381865afa158015610b03573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906105ee9190611738565b6001600160a01b0381165f90815260096020526040808220905163868b3e0760e01b8152600481019190915273__$8df0087758613aef8a614b5774fdb3323b$__9063868b3e0790602401602060405180830381865af4158015610b8d573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906105ee91906116b8565b5f60048281548110610bc557610bc5611751565b905f5260205f2090600491828204019190066008029054906101000a90046001600160401b03169050919050565b6040805160a080820183525f808352602080840182905283850182905260608401829052608084018290526001600160401b038681168352600282529185902085519384019095528454918216835292939192830190600160401b900460ff166003811115610c6457610c646114ca565b6003811115610c7557610c756114ca565b815281546901000000000000000000900463ffffffff1660208201526001820154604082015260029091015464ffffffffff1660609091015292915050565b6040805160a0810182525f808252602082018190529181018290526060810182905260808101919091526040518060a00160405280866001600160401b03168152602001856003811115610d0a57610d0a6114ca565b81526020018463ffffffff16815260200173__$9a094f9b231ed0f5f85a69be8408d93180$__63cdc23e69856040518263ffffffff1660e01b8152600401610d529190611674565b602060405180830381865af4158015610d6d573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610d9191906116b8565b815260200173__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af4158015610ddd573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610e0191906116ea565b64ffffffffff16905295945050505050565b6001600160a01b0381165f90815260066020526040808220600101549051638d38cd4b60e01b815261010090910464ffffffffff16600482015273__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__90638d38cd4b906024015b602060405180830381865af4158015610b03573d5f803e3d5ffd5b5f80546040516368fc2b7760e11b81526001600160401b03841660048201526001600160a01b0385811660248301528392169063d1f856ee906044016040805180830381865afa158015610ede573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610f029190611765565b50949350505050565b5f60088281548110610f1f57610f1f611751565b5f918252602090912001546001600160a01b031692915050565b33610f585f80516020611790833981519152546001600160a01b031690565b6001600160a01b0316816001600160a01b031614610f985760405162d1953b60e31b81526001600160a01b03821660048201526024015b60405180910390fd5b816001600160a01b03163b5f03610fcd576040516361798f2f60e11b81526001600160a01b0383166004820152602401610f8f565b610fd682611273565b5050565b5f805f9054906101000a90046001600160a01b03166001600160a01b0316633ca7c02a6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561102a573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061104e919061170e565b905090565b5f8051602061179083398151915280545f9190600160a01b900460ff1661107a575f611083565b638fb3603760e01b5b91505090565b5f805f9054906101000a90046001600160a01b03166001600160a01b03166375b238fc6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561102a573d5f803e3d5ffd5b5f8054604051636ea1af2560e11b81526001600160e01b0319841660048201526001600160a01b039091169063b7009613908690869073__$0904195350e4c23ecb1d51df0a32586dcd$__9063dd435e4a90602401602060405180830381865af4158015611149573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061116d91906116cf565b60405160e085901b6001600160e01b031990811682526001600160a01b0394851660048301529290931660248401521660448201526064016040805180830381865afa158015610ede573d5f803e3d5ffd5b6001600160401b0381165f908152600260208190526040808320909101549051638d38cd4b60e01b815264ffffffffff909116600482015273__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__90638d38cd4b90602401610e6d565b6001600160401b038082165f90815260026020526040812054909161124291859116610e88565b9392505050565b6001600160401b0382165f90815260056020526040812061124290836112d3565b5f6105ee825490565b5f8051602061179083398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b5f61124283835f825f0182815481106112ee576112ee611751565b905f5260205f200154905092915050565b6001600160401b0381168114611313575f80fd5b50565b5f60208284031215611326575f80fd5b8135611242816112ff565b80356001600160a01b0381168114611347575f80fd5b919050565b5f6020828403121561135c575f80fd5b61124282611331565b6001600160e01b031981168114611313575f80fd5b634e487b7160e01b5f52604160045260245ffd5b5f82601f83011261139d575f80fd5b81356001600160401b038111156113b6576113b661137a565b604051601f8201601f19908116603f011681016001600160401b03811182821017156113e4576113e461137a565b6040528181528382016020018510156113fb575f80fd5b816020850160208301375f918101602001919091529392505050565b5f8060408385031215611428575f80fd5b823561143381611365565b915060208301356001600160401b0381111561144d575f80fd5b610ab18582860161138e565b815181526020808301516001600160e01b0319169082015260408083015164ffffffffff1690820152606081016105ee565b5f806040838503121561149c575f80fd5b6114a583611331565b946020939093013593505050565b5f602082840312156114c3575f80fd5b5035919050565b634e487b7160e01b5f52602160045260245ffd5b81516001600160401b03168152602082015160a08201906004811061151157634e487b7160e01b5f52602160045260245ffd5b8060208401525063ffffffff60408401511660408301526060830151606083015264ffffffffff608084015116608083015292915050565b63ffffffff81168114611313575f80fd5b5f805f806080858703121561156d575f80fd5b8435611578816112ff565b935060208501356004811061158b575f80fd5b9250604085013561159b81611549565b915060608501356001600160401b038111156115b5575f80fd5b6115c18782880161138e565b91505092959194509250565b5f80604083850312156115de575f80fd5b6115e783611331565b915060208301356115f7816112ff565b809150509250929050565b5f805f60608486031215611614575f80fd5b61161d84611331565b925061162b60208501611331565b9150604084013561163b81611365565b809150509250925092565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081525f6112426020830184611646565b5f8060408385031215611697575f80fd5b82356114a5816112ff565b5f82518060208501845e5f920191825250919050565b5f602082840312156116c8575f80fd5b5051919050565b5f602082840312156116df575f80fd5b815161124281611365565b5f602082840312156116fa575f80fd5b815164ffffffffff81168114611242575f80fd5b5f6020828403121561171e575f80fd5b8151611242816112ff565b80518015158114611347575f80fd5b5f60208284031215611748575f80fd5b61124282611729565b634e487b7160e01b5f52603260045260245ffd5b5f8060408385031215611776575f80fd5b61177f83611729565b915060208301516115f78161154956fef3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00a2646970667358221220b8b8daec40aea8f03df239ed6aed39d38bf36873e4a1a917863e7101da98105a64736f6c634300081a0033",
1089
+ "linkReferences": {
1090
+ "contracts/type/RoleId.sol": {
1091
+ "RoleIdLib": [
1092
+ {
1093
+ "length": 20,
1094
+ "start": 336
1095
+ },
1096
+ {
1097
+ "length": 20,
1098
+ "start": 970
1099
+ },
1100
+ {
1101
+ "length": 20,
1102
+ "start": 2148
1103
+ },
1104
+ {
1105
+ "length": 20,
1106
+ "start": 5166
1107
+ }
1108
+ ]
1109
+ },
1110
+ "contracts/type/Selector.sol": {
1111
+ "SelectorLib": [
1112
+ {
1113
+ "length": 20,
1114
+ "start": 4634
1115
+ },
1116
+ {
1117
+ "length": 20,
1118
+ "start": 5204
1119
+ },
1120
+ {
1121
+ "length": 20,
1122
+ "start": 7140
1123
+ }
1124
+ ],
1125
+ "SelectorSetLib": [
1126
+ {
1127
+ "length": 20,
1128
+ "start": 4944
1129
+ },
1130
+ {
1131
+ "length": 20,
1132
+ "start": 5672
1133
+ }
1134
+ ]
1135
+ },
1136
+ "contracts/type/String.sol": {
1137
+ "StrLib": [
1138
+ {
1139
+ "length": 20,
1140
+ "start": 1173
1141
+ },
1142
+ {
1143
+ "length": 20,
1144
+ "start": 1967
1145
+ },
1146
+ {
1147
+ "length": 20,
1148
+ "start": 4495
1149
+ },
1150
+ {
1151
+ "length": 20,
1152
+ "start": 6128
1153
+ }
1154
+ ]
1155
+ },
1156
+ "contracts/type/Timestamp.sol": {
1157
+ "TimestampLib": [
1158
+ {
1159
+ "length": 20,
1160
+ "start": 1296
1161
+ },
1162
+ {
1163
+ "length": 20,
1164
+ "start": 1421
1165
+ },
1166
+ {
1167
+ "length": 20,
1168
+ "start": 4743
1169
+ },
1170
+ {
1171
+ "length": 20,
1172
+ "start": 6251
1173
+ },
1174
+ {
1175
+ "length": 20,
1176
+ "start": 6434
1177
+ },
1178
+ {
1179
+ "length": 20,
1180
+ "start": 7372
1181
+ }
1182
+ ]
1183
+ }
1184
+ },
1185
+ "deployedLinkReferences": {
1186
+ "contracts/type/RoleId.sol": {
1187
+ "RoleIdLib": [
1188
+ {
1189
+ "length": 20,
1190
+ "start": 2395
1191
+ }
1192
+ ]
1193
+ },
1194
+ "contracts/type/Selector.sol": {
1195
+ "SelectorLib": [
1196
+ {
1197
+ "length": 20,
1198
+ "start": 1863
1199
+ },
1200
+ {
1201
+ "length": 20,
1202
+ "start": 2433
1203
+ },
1204
+ {
1205
+ "length": 20,
1206
+ "start": 4369
1207
+ }
1208
+ ],
1209
+ "SelectorSetLib": [
1210
+ {
1211
+ "length": 20,
1212
+ "start": 2173
1213
+ },
1214
+ {
1215
+ "length": 20,
1216
+ "start": 2901
1217
+ }
1218
+ ]
1219
+ },
1220
+ "contracts/type/String.sol": {
1221
+ "StrLib": [
1222
+ {
1223
+ "length": 20,
1224
+ "start": 1724
1225
+ },
1226
+ {
1227
+ "length": 20,
1228
+ "start": 3357
1229
+ }
1230
+ ]
1231
+ },
1232
+ "contracts/type/Timestamp.sol": {
1233
+ "TimestampLib": [
1234
+ {
1235
+ "length": 20,
1236
+ "start": 1972
1237
+ },
1238
+ {
1239
+ "length": 20,
1240
+ "start": 3480
1241
+ },
1242
+ {
1243
+ "length": 20,
1244
+ "start": 3663
1245
+ },
1246
+ {
1247
+ "length": 20,
1248
+ "start": 4601
1249
+ }
1250
+ ]
1251
+ }
1252
+ }
1253
+ }