@etherisc/gif-next 0.0.2-da2c7dd-538 → 0.0.2-da87b00-860

Sign up to get free protection for your applications and to get access to all the features.
Files changed (469) hide show
  1. package/README.md +57 -1
  2. package/artifacts/contracts/accounting/AccountingService.sol/AccountingService.dbg.json +1 -1
  3. package/artifacts/contracts/accounting/AccountingService.sol/AccountingService.json +106 -38
  4. package/artifacts/contracts/accounting/AccountingServiceManager.sol/AccountingServiceManager.dbg.json +1 -1
  5. package/artifacts/contracts/accounting/AccountingServiceManager.sol/AccountingServiceManager.json +91 -45
  6. package/artifacts/contracts/accounting/IAccountingService.sol/IAccountingService.dbg.json +1 -1
  7. package/artifacts/contracts/accounting/IAccountingService.sol/IAccountingService.json +58 -6
  8. package/artifacts/contracts/authorization/AccessAdmin.sol/AccessAdmin.dbg.json +1 -1
  9. package/artifacts/contracts/authorization/AccessAdmin.sol/AccessAdmin.json +573 -288
  10. package/artifacts/contracts/authorization/AccessAdminLib.sol/AccessAdminLib.dbg.json +4 -0
  11. package/artifacts/contracts/authorization/AccessAdminLib.sol/AccessAdminLib.json +1289 -0
  12. package/artifacts/contracts/authorization/AccessManagerCloneable.sol/AccessManagerCloneable.dbg.json +1 -1
  13. package/artifacts/contracts/authorization/AccessManagerCloneable.sol/AccessManagerCloneable.json +8 -39
  14. package/artifacts/contracts/authorization/Authorization.sol/Authorization.dbg.json +1 -1
  15. package/artifacts/contracts/authorization/Authorization.sol/Authorization.json +295 -47
  16. package/artifacts/contracts/authorization/IAccess.sol/IAccess.dbg.json +1 -1
  17. package/artifacts/contracts/authorization/IAccessAdmin.sol/IAccessAdmin.dbg.json +1 -1
  18. package/artifacts/contracts/authorization/IAccessAdmin.sol/IAccessAdmin.json +452 -210
  19. package/artifacts/contracts/authorization/IAuthorization.sol/IAuthorization.dbg.json +1 -1
  20. package/artifacts/contracts/authorization/IAuthorization.sol/IAuthorization.json +119 -14
  21. package/artifacts/contracts/authorization/IServiceAuthorization.sol/IServiceAuthorization.dbg.json +1 -1
  22. package/artifacts/contracts/authorization/IServiceAuthorization.sol/IServiceAuthorization.json +246 -16
  23. package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.dbg.json +1 -1
  24. package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.json +420 -27
  25. package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.dbg.json +1 -1
  26. package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.json +64 -142
  27. package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.dbg.json +1 -1
  28. package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.json +275 -59
  29. package/artifacts/contracts/distribution/Distribution.sol/Distribution.dbg.json +1 -1
  30. package/artifacts/contracts/distribution/Distribution.sol/Distribution.json +21 -88
  31. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.dbg.json +1 -1
  32. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.json +448 -148
  33. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +1 -1
  34. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.json +143 -77
  35. package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.dbg.json +1 -1
  36. package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.json +20 -87
  37. package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.dbg.json +1 -1
  38. package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.json +296 -20
  39. package/artifacts/contracts/examples/fire/DamageLevel.sol/DamageLevelLib.dbg.json +1 -1
  40. package/artifacts/contracts/examples/fire/FirePool.sol/FirePool.dbg.json +1 -1
  41. package/artifacts/contracts/examples/fire/FirePool.sol/FirePool.json +109 -100
  42. package/artifacts/contracts/examples/fire/FirePoolAuthorization.sol/FirePoolAuthorization.dbg.json +1 -1
  43. package/artifacts/contracts/examples/fire/FirePoolAuthorization.sol/FirePoolAuthorization.json +274 -58
  44. package/artifacts/contracts/examples/fire/FireProduct.sol/FireProduct.dbg.json +1 -1
  45. package/artifacts/contracts/examples/fire/FireProduct.sol/FireProduct.json +145 -124
  46. package/artifacts/contracts/examples/fire/FireProductAuthorization.sol/FireProductAuthorization.dbg.json +1 -1
  47. package/artifacts/contracts/examples/fire/FireProductAuthorization.sol/FireProductAuthorization.json +274 -58
  48. package/artifacts/contracts/examples/fire/FireUSD.sol/FireUSD.dbg.json +1 -1
  49. package/artifacts/contracts/examples/unpermissioned/SimpleDistribution.sol/SimpleDistribution.dbg.json +1 -1
  50. package/artifacts/contracts/examples/unpermissioned/SimpleDistribution.sol/SimpleDistribution.json +126 -166
  51. package/artifacts/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol/SimpleDistributionAuthorization.dbg.json +1 -1
  52. package/artifacts/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol/SimpleDistributionAuthorization.json +274 -58
  53. package/artifacts/contracts/examples/unpermissioned/SimpleOracle.sol/SimpleOracle.dbg.json +1 -1
  54. package/artifacts/contracts/examples/unpermissioned/SimpleOracle.sol/SimpleOracle.json +39 -63
  55. package/artifacts/contracts/examples/unpermissioned/SimplePool.sol/SimplePool.dbg.json +1 -1
  56. package/artifacts/contracts/examples/unpermissioned/SimplePool.sol/SimplePool.json +130 -138
  57. package/artifacts/contracts/examples/unpermissioned/SimplePoolAuthorization.sol/SimplePoolAuthorization.dbg.json +1 -1
  58. package/artifacts/contracts/examples/unpermissioned/SimplePoolAuthorization.sol/SimplePoolAuthorization.json +274 -58
  59. package/artifacts/contracts/examples/unpermissioned/SimpleProduct.sol/SimpleProduct.dbg.json +1 -1
  60. package/artifacts/contracts/examples/unpermissioned/SimpleProduct.sol/SimpleProduct.json +333 -180
  61. package/artifacts/contracts/examples/unpermissioned/SimpleProductAuthorization.sol/SimpleProductAuthorization.dbg.json +1 -1
  62. package/artifacts/contracts/examples/unpermissioned/SimpleProductAuthorization.sol/SimpleProductAuthorization.json +274 -58
  63. package/artifacts/contracts/instance/BundleSet.sol/BundleSet.dbg.json +1 -1
  64. package/artifacts/contracts/instance/BundleSet.sol/BundleSet.json +2 -2
  65. package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
  66. package/artifacts/contracts/instance/IInstance.sol/IInstance.json +427 -28
  67. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +1 -1
  68. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +335 -12
  69. package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
  70. package/artifacts/contracts/instance/Instance.sol/Instance.json +430 -62
  71. package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.dbg.json +1 -1
  72. package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.json +822 -402
  73. package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.dbg.json +1 -1
  74. package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.json +299 -58
  75. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +1 -1
  76. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +619 -402
  77. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +1 -1
  78. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +367 -64
  79. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +1 -1
  80. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +83 -55
  81. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.dbg.json +1 -1
  82. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.json +448 -374
  83. package/artifacts/contracts/instance/RiskSet.sol/RiskSet.dbg.json +1 -1
  84. package/artifacts/contracts/instance/RiskSet.sol/RiskSet.json +101 -88
  85. package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.dbg.json +1 -1
  86. package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.json +8 -8
  87. package/artifacts/contracts/instance/base/Cloneable.sol/Cloneable.dbg.json +1 -1
  88. package/artifacts/contracts/instance/base/ObjectCounter.sol/ObjectCounter.dbg.json +1 -1
  89. package/artifacts/contracts/instance/base/ObjectCounter.sol/ObjectCounter.json +2 -2
  90. package/artifacts/contracts/instance/base/ObjectLifecycle.sol/ObjectLifecycle.dbg.json +1 -1
  91. package/artifacts/contracts/instance/base/ObjectLifecycle.sol/ObjectLifecycle.json +2 -2
  92. package/artifacts/contracts/instance/base/ObjectSet.sol/ObjectSet.dbg.json +1 -1
  93. package/artifacts/contracts/instance/base/ObjectSet.sol/ObjectSet.json +2 -2
  94. package/artifacts/contracts/instance/base/ObjectSetHelperLib.sol/ObjectSetHelperLib.dbg.json +1 -1
  95. package/artifacts/contracts/instance/base/ObjectSetHelperLib.sol/ObjectSetHelperLib.json +20 -20
  96. package/artifacts/contracts/instance/module/IBundle.sol/IBundle.dbg.json +1 -1
  97. package/artifacts/contracts/instance/module/IComponents.sol/IComponents.dbg.json +1 -1
  98. package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.dbg.json +1 -1
  99. package/artifacts/contracts/instance/module/IPolicy.sol/IPolicy.dbg.json +1 -1
  100. package/artifacts/contracts/instance/module/IRisk.sol/IRisk.dbg.json +1 -1
  101. package/artifacts/contracts/mock/Dip.sol/Dip.dbg.json +1 -1
  102. package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.dbg.json +1 -1
  103. package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.json +33 -35
  104. package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.dbg.json +1 -1
  105. package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.json +294 -53
  106. package/artifacts/contracts/oracle/IOracle.sol/IOracle.dbg.json +1 -1
  107. package/artifacts/contracts/oracle/IOracleComponent.sol/IOracleComponent.dbg.json +1 -1
  108. package/artifacts/contracts/oracle/IOracleComponent.sol/IOracleComponent.json +19 -21
  109. package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.dbg.json +1 -1
  110. package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.json +29 -0
  111. package/artifacts/contracts/oracle/Oracle.sol/Oracle.dbg.json +1 -1
  112. package/artifacts/contracts/oracle/Oracle.sol/Oracle.json +19 -21
  113. package/artifacts/contracts/oracle/OracleService.sol/OracleService.dbg.json +1 -1
  114. package/artifacts/contracts/oracle/OracleService.sol/OracleService.json +87 -42
  115. package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.dbg.json +1 -1
  116. package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.json +96 -50
  117. package/artifacts/contracts/pool/BasicPool.sol/BasicPool.dbg.json +1 -1
  118. package/artifacts/contracts/pool/BasicPool.sol/BasicPool.json +59 -69
  119. package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.dbg.json +1 -1
  120. package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.json +274 -58
  121. package/artifacts/contracts/pool/BundleService.sol/BundleService.dbg.json +1 -1
  122. package/artifacts/contracts/pool/BundleService.sol/BundleService.json +300 -123
  123. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.dbg.json +1 -1
  124. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.json +124 -58
  125. package/artifacts/contracts/pool/IBundleService.sol/IBundleService.dbg.json +1 -1
  126. package/artifacts/contracts/pool/IBundleService.sol/IBundleService.json +186 -33
  127. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.dbg.json +1 -1
  128. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.json +29 -31
  129. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.dbg.json +1 -1
  130. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.json +238 -19
  131. package/artifacts/contracts/pool/Pool.sol/Pool.dbg.json +1 -1
  132. package/artifacts/contracts/pool/Pool.sol/Pool.json +29 -31
  133. package/artifacts/contracts/pool/PoolLib.sol/PoolLib.dbg.json +1 -1
  134. package/artifacts/contracts/pool/PoolLib.sol/PoolLib.json +100 -34
  135. package/artifacts/contracts/pool/PoolService.sol/PoolService.dbg.json +1 -1
  136. package/artifacts/contracts/pool/PoolService.sol/PoolService.json +346 -87
  137. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.dbg.json +1 -1
  138. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.json +121 -63
  139. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.dbg.json +1 -1
  140. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.json +273 -50
  141. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +1 -1
  142. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.json +103 -41
  143. package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.dbg.json +1 -1
  144. package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.json +46 -48
  145. package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.dbg.json +1 -1
  146. package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.json +274 -58
  147. package/artifacts/contracts/product/ClaimService.sol/ClaimService.dbg.json +1 -1
  148. package/artifacts/contracts/product/ClaimService.sol/ClaimService.json +142 -102
  149. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +1 -1
  150. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.json +113 -75
  151. package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.dbg.json +1 -1
  152. package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.json +208 -1
  153. package/artifacts/contracts/product/IClaimService.sol/IClaimService.dbg.json +1 -1
  154. package/artifacts/contracts/product/IClaimService.sol/IClaimService.json +50 -10
  155. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.dbg.json +1 -1
  156. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.json +55 -0
  157. package/artifacts/contracts/product/IPricingService.sol/IPricingService.dbg.json +1 -1
  158. package/artifacts/contracts/product/IPricingService.sol/IPricingService.json +50 -0
  159. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.dbg.json +1 -1
  160. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.json +40 -42
  161. package/artifacts/contracts/product/IRiskService.sol/IRiskService.dbg.json +1 -1
  162. package/artifacts/contracts/product/IRiskService.sol/IRiskService.json +224 -18
  163. package/artifacts/contracts/product/PolicyService.sol/PolicyService.dbg.json +1 -1
  164. package/artifacts/contracts/product/PolicyService.sol/PolicyService.json +157 -86
  165. package/artifacts/contracts/product/PolicyServiceLib.sol/PolicyServiceLib.dbg.json +1 -1
  166. package/artifacts/contracts/product/PolicyServiceLib.sol/PolicyServiceLib.json +511 -21
  167. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +1 -1
  168. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.json +118 -72
  169. package/artifacts/contracts/product/PricingService.sol/PricingService.dbg.json +1 -1
  170. package/artifacts/contracts/product/PricingService.sol/PricingService.json +116 -114
  171. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.dbg.json +1 -1
  172. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.json +100 -70
  173. package/artifacts/contracts/product/Product.sol/Product.dbg.json +1 -1
  174. package/artifacts/contracts/product/Product.sol/Product.json +40 -42
  175. package/artifacts/contracts/product/RiskService.sol/RiskService.dbg.json +1 -1
  176. package/artifacts/contracts/product/RiskService.sol/RiskService.json +258 -44
  177. package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.dbg.json +1 -1
  178. package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.json +84 -42
  179. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
  180. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
  181. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +33 -22
  182. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +1 -1
  183. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +29 -0
  184. package/artifacts/contracts/registry/IRelease.sol/IRelease.dbg.json +1 -1
  185. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +1 -1
  186. package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
  187. package/artifacts/contracts/registry/Registry.sol/Registry.json +71 -60
  188. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.dbg.json +1 -1
  189. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.json +704 -472
  190. package/artifacts/contracts/registry/RegistryAuthorization.sol/RegistryAuthorization.dbg.json +4 -0
  191. package/artifacts/contracts/registry/RegistryAuthorization.sol/RegistryAuthorization.json +1074 -0
  192. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +1 -1
  193. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +47 -18
  194. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +1 -1
  195. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +76 -38
  196. package/artifacts/contracts/registry/ReleaseAdmin.sol/ReleaseAdmin.dbg.json +1 -1
  197. package/artifacts/contracts/registry/ReleaseAdmin.sol/ReleaseAdmin.json +710 -407
  198. package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.dbg.json +1 -1
  199. package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.json +2 -2
  200. package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.dbg.json +1 -1
  201. package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.json +184 -128
  202. package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.dbg.json +1 -1
  203. package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.json +437 -26
  204. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +1 -1
  205. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +119 -59
  206. package/artifacts/contracts/shared/Component.sol/Component.dbg.json +1 -1
  207. package/artifacts/contracts/shared/Component.sol/Component.json +19 -21
  208. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.dbg.json +1 -1
  209. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.json +212 -232
  210. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.dbg.json +1 -1
  211. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.json +113 -71
  212. package/artifacts/contracts/shared/ContractLib.sol/ContractLib.dbg.json +1 -1
  213. package/artifacts/contracts/shared/ContractLib.sol/ContractLib.json +130 -39
  214. package/artifacts/contracts/shared/ContractLib.sol/IInstanceAdminHelper.dbg.json +1 -1
  215. package/artifacts/contracts/shared/ContractLib.sol/ITargetHelper.dbg.json +1 -1
  216. package/artifacts/contracts/shared/ContractLib.sol/ITokenRegistryHelper.dbg.json +1 -1
  217. package/artifacts/contracts/shared/ContractLib.sol/ITokenRegistryHelper.json +2 -2
  218. package/artifacts/contracts/shared/IComponent.sol/IComponent.dbg.json +1 -1
  219. package/artifacts/contracts/shared/IComponent.sol/IComponent.json +19 -21
  220. package/artifacts/contracts/shared/IComponentService.sol/IComponentService.dbg.json +1 -1
  221. package/artifacts/contracts/shared/IComponentService.sol/IComponentService.json +119 -147
  222. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.dbg.json +1 -1
  223. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.json +19 -21
  224. package/artifacts/contracts/shared/IKeyValueStore.sol/IKeyValueStore.dbg.json +1 -1
  225. package/artifacts/contracts/shared/IKeyValueStore.sol/IKeyValueStore.json +6 -6
  226. package/artifacts/contracts/shared/ILifecycle.sol/ILifecycle.dbg.json +1 -1
  227. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +1 -1
  228. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.json +19 -0
  229. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.dbg.json +1 -1
  230. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
  231. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +19 -0
  232. package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.dbg.json +1 -1
  233. package/artifacts/contracts/shared/IService.sol/IService.dbg.json +1 -1
  234. package/artifacts/contracts/shared/IService.sol/IService.json +29 -0
  235. package/artifacts/contracts/shared/InitializableERC165.sol/InitializableERC165.dbg.json +1 -1
  236. package/artifacts/contracts/shared/InitializableERC165.sol/InitializableERC165.json +2 -2
  237. package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.dbg.json +1 -1
  238. package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.json +19 -21
  239. package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.dbg.json +1 -1
  240. package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.json +6 -6
  241. package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.dbg.json +1 -1
  242. package/artifacts/contracts/shared/NftIdSet.sol/NftIdSet.dbg.json +1 -1
  243. package/artifacts/contracts/shared/NftIdSet.sol/NftIdSet.json +2 -2
  244. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +1 -1
  245. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +21 -2
  246. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.dbg.json +1 -1
  247. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.json +2 -2
  248. package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
  249. package/artifacts/contracts/shared/Registerable.sol/Registerable.json +19 -0
  250. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.dbg.json +1 -1
  251. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.json +2 -2
  252. package/artifacts/contracts/shared/Service.sol/Service.dbg.json +1 -1
  253. package/artifacts/contracts/shared/Service.sol/Service.json +29 -0
  254. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +1 -1
  255. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +2 -2
  256. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandlerBase.dbg.json +1 -1
  257. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandlerBase.json +2 -2
  258. package/artifacts/contracts/shared/TokenHandlerDeployerLib.sol/TokenHandlerDeployerLib.dbg.json +1 -1
  259. package/artifacts/contracts/shared/TokenHandlerDeployerLib.sol/TokenHandlerDeployerLib.json +2 -2
  260. package/artifacts/contracts/staking/IStaking.sol/IStaking.dbg.json +1 -1
  261. package/artifacts/contracts/staking/IStaking.sol/IStaking.json +1450 -140
  262. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.dbg.json +1 -1
  263. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.json +161 -110
  264. package/artifacts/contracts/staking/ITargetLimitHandler.sol/ITargetLimitHandler.dbg.json +4 -0
  265. package/artifacts/contracts/staking/ITargetLimitHandler.sol/ITargetLimitHandler.json +50 -0
  266. package/artifacts/contracts/staking/Staking.sol/Staking.dbg.json +1 -1
  267. package/artifacts/contracts/staking/Staking.sol/Staking.json +1624 -272
  268. package/artifacts/contracts/staking/StakingLib.sol/StakingLib.dbg.json +4 -0
  269. package/artifacts/contracts/staking/StakingLib.sol/StakingLib.json +470 -0
  270. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.dbg.json +1 -1
  271. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.json +135 -68
  272. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.dbg.json +1 -1
  273. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.json +294 -177
  274. package/artifacts/contracts/staking/StakingService.sol/StakingService.dbg.json +1 -1
  275. package/artifacts/contracts/staking/StakingService.sol/StakingService.json +200 -157
  276. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.dbg.json +1 -1
  277. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.json +86 -52
  278. package/artifacts/contracts/staking/StakingStore.sol/StakingStore.dbg.json +1 -1
  279. package/artifacts/contracts/staking/StakingStore.sol/StakingStore.json +1600 -818
  280. package/artifacts/contracts/staking/TargetHandler.sol/TargetHandler.dbg.json +4 -0
  281. package/artifacts/contracts/staking/TargetHandler.sol/TargetHandler.json +309 -0
  282. package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.dbg.json +1 -1
  283. package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.json +159 -87
  284. package/artifacts/contracts/type/AddressSet.sol/LibAddressSet.dbg.json +1 -1
  285. package/artifacts/contracts/type/Amount.sol/AmountLib.dbg.json +1 -1
  286. package/artifacts/contracts/type/Amount.sol/AmountLib.json +10 -10
  287. package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.dbg.json +1 -1
  288. package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.json +45 -19
  289. package/artifacts/contracts/type/ChainId.sol/ChainIdLib.dbg.json +4 -0
  290. package/artifacts/contracts/type/ChainId.sol/ChainIdLib.json +193 -0
  291. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.dbg.json +1 -1
  292. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.json +2 -2
  293. package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.dbg.json +1 -1
  294. package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.json +2 -2
  295. package/artifacts/contracts/type/Fee.sol/FeeLib.dbg.json +1 -1
  296. package/artifacts/contracts/type/Fee.sol/FeeLib.json +93 -37
  297. package/artifacts/contracts/type/Key32.sol/Key32Lib.dbg.json +1 -1
  298. package/artifacts/contracts/type/Key32.sol/Key32Lib.json +2 -2
  299. package/artifacts/contracts/type/Key32Set.sol/LibKey32Set.dbg.json +1 -1
  300. package/artifacts/contracts/type/Key32Set.sol/LibKey32Set.json +2 -2
  301. package/artifacts/contracts/type/NftId.sol/NftIdLib.dbg.json +1 -1
  302. package/artifacts/contracts/type/NftId.sol/NftIdLib.json +2 -2
  303. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.dbg.json +1 -1
  304. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.json +2 -2
  305. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.dbg.json +1 -1
  306. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.json +33 -31
  307. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.dbg.json +1 -1
  308. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.json +2 -2
  309. package/artifacts/contracts/type/Referral.sol/ReferralLib.dbg.json +1 -1
  310. package/artifacts/contracts/type/Referral.sol/ReferralLib.json +2 -2
  311. package/artifacts/contracts/type/RequestId.sol/RequestIdLib.dbg.json +1 -1
  312. package/artifacts/contracts/type/RequestId.sol/RequestIdLib.json +2 -2
  313. package/artifacts/contracts/type/RiskId.sol/RiskIdLib.dbg.json +1 -1
  314. package/artifacts/contracts/type/RiskId.sol/RiskIdLib.json +2 -2
  315. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.dbg.json +1 -1
  316. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.json +39 -218
  317. package/artifacts/contracts/type/Seconds.sol/SecondsLib.dbg.json +1 -1
  318. package/artifacts/contracts/type/Seconds.sol/SecondsLib.json +45 -2
  319. package/artifacts/contracts/type/Selector.sol/SelectorLib.dbg.json +1 -1
  320. package/artifacts/contracts/type/Selector.sol/SelectorSetLib.dbg.json +1 -1
  321. package/artifacts/contracts/type/StateId.sol/StateIdLib.dbg.json +1 -1
  322. package/artifacts/contracts/type/String.sol/StrLib.dbg.json +1 -1
  323. package/artifacts/contracts/type/String.sol/StrLib.json +50 -2
  324. package/artifacts/contracts/type/Timestamp.sol/TimestampLib.dbg.json +1 -1
  325. package/artifacts/contracts/type/Timestamp.sol/TimestampLib.json +3 -3
  326. package/artifacts/contracts/type/UFixed.sol/UFixedLib.dbg.json +1 -1
  327. package/artifacts/contracts/type/UFixed.sol/UFixedLib.json +60 -36
  328. package/artifacts/contracts/type/Version.sol/VersionLib.dbg.json +1 -1
  329. package/artifacts/contracts/type/Version.sol/VersionLib.json +2 -2
  330. package/artifacts/contracts/type/Version.sol/VersionPartLib.dbg.json +1 -1
  331. package/artifacts/contracts/type/Version.sol/VersionPartLib.json +56 -2
  332. package/artifacts/contracts/upgradeability/IVersionable.sol/IVersionable.dbg.json +1 -1
  333. package/artifacts/contracts/upgradeability/IVersionable.sol/IVersionable.json +10 -0
  334. package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.dbg.json +1 -1
  335. package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.json +65 -27
  336. package/artifacts/contracts/upgradeability/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +1 -1
  337. package/artifacts/contracts/upgradeability/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +15 -2
  338. package/artifacts/contracts/upgradeability/Versionable.sol/Versionable.dbg.json +1 -1
  339. package/artifacts/contracts/upgradeability/Versionable.sol/Versionable.json +10 -0
  340. package/contracts/accounting/AccountingService.sol +15 -3
  341. package/contracts/accounting/IAccountingService.sol +4 -2
  342. package/contracts/authorization/AccessAdmin.sol +389 -298
  343. package/contracts/authorization/AccessAdminLib.sol +396 -0
  344. package/contracts/authorization/AccessManagerCloneable.sol +40 -31
  345. package/contracts/authorization/Authorization.sol +60 -228
  346. package/contracts/authorization/IAccess.sol +25 -7
  347. package/contracts/authorization/IAccessAdmin.sol +81 -80
  348. package/contracts/authorization/IAuthorization.sol +3 -51
  349. package/contracts/authorization/IServiceAuthorization.sol +55 -17
  350. package/contracts/authorization/ServiceAuthorization.sol +248 -34
  351. package/contracts/distribution/BasicDistribution.sol +6 -6
  352. package/contracts/distribution/BasicDistributionAuthorization.sol +11 -4
  353. package/contracts/distribution/Distribution.sol +10 -52
  354. package/contracts/distribution/DistributionService.sol +154 -64
  355. package/contracts/distribution/IDistributionComponent.sol +3 -10
  356. package/contracts/distribution/IDistributionService.sol +24 -10
  357. package/contracts/examples/fire/FirePool.sol +0 -4
  358. package/contracts/examples/fire/FireProduct.sol +6 -10
  359. package/contracts/examples/unpermissioned/SimpleDistribution.sol +32 -8
  360. package/contracts/examples/unpermissioned/SimpleOracle.sol +4 -8
  361. package/contracts/examples/unpermissioned/SimplePool.sol +0 -4
  362. package/contracts/examples/unpermissioned/SimpleProduct.sol +83 -23
  363. package/contracts/instance/IInstance.sol +87 -12
  364. package/contracts/instance/IInstanceService.sol +52 -7
  365. package/contracts/instance/Instance.sol +148 -48
  366. package/contracts/instance/InstanceAdmin.sol +227 -281
  367. package/contracts/instance/InstanceAuthorizationV3.sol +79 -26
  368. package/contracts/instance/InstanceReader.sol +375 -380
  369. package/contracts/instance/InstanceService.sol +230 -134
  370. package/contracts/instance/RiskSet.sol +10 -2
  371. package/contracts/instance/base/BalanceStore.sol +4 -6
  372. package/contracts/instance/base/ObjectLifecycle.sol +2 -6
  373. package/contracts/instance/module/IBundle.sol +6 -5
  374. package/contracts/instance/module/IComponents.sol +16 -5
  375. package/contracts/instance/module/IDistribution.sol +19 -7
  376. package/contracts/instance/module/IPolicy.sol +28 -8
  377. package/contracts/instance/module/IRisk.sol +2 -0
  378. package/contracts/oracle/BasicOracle.sol +2 -4
  379. package/contracts/oracle/BasicOracleAuthorization.sol +18 -2
  380. package/contracts/oracle/IOracle.sol +9 -4
  381. package/contracts/oracle/Oracle.sol +2 -4
  382. package/contracts/oracle/OracleService.sol +8 -8
  383. package/contracts/pool/BasicPool.sol +3 -16
  384. package/contracts/pool/BasicPoolAuthorization.sol +10 -5
  385. package/contracts/pool/BundleService.sol +34 -43
  386. package/contracts/pool/IBundleService.sol +14 -13
  387. package/contracts/pool/IPoolService.sol +7 -2
  388. package/contracts/pool/Pool.sol +4 -16
  389. package/contracts/pool/PoolLib.sol +127 -2
  390. package/contracts/pool/PoolService.sol +41 -184
  391. package/contracts/product/ApplicationService.sol +83 -15
  392. package/contracts/product/BasicProduct.sol +1 -3
  393. package/contracts/product/BasicProductAuthorization.sol +11 -4
  394. package/contracts/product/ClaimService.sol +56 -58
  395. package/contracts/product/IApplicationService.sol +24 -2
  396. package/contracts/product/IClaimService.sol +5 -4
  397. package/contracts/product/IPolicyService.sol +9 -2
  398. package/contracts/product/IPricingService.sol +1 -0
  399. package/contracts/product/IRiskService.sol +21 -3
  400. package/contracts/product/PolicyService.sol +31 -68
  401. package/contracts/product/PolicyServiceLib.sol +79 -5
  402. package/contracts/product/PricingService.sol +33 -31
  403. package/contracts/product/Product.sol +38 -14
  404. package/contracts/product/RiskService.sol +55 -9
  405. package/contracts/registry/IRegistry.sol +15 -9
  406. package/contracts/registry/IRelease.sol +6 -3
  407. package/contracts/registry/Registry.sol +15 -9
  408. package/contracts/registry/RegistryAdmin.sol +100 -263
  409. package/contracts/registry/RegistryAuthorization.sol +336 -0
  410. package/contracts/registry/RegistryService.sol +1 -1
  411. package/contracts/registry/ReleaseAdmin.sol +62 -112
  412. package/contracts/registry/ReleaseRegistry.sol +57 -43
  413. package/contracts/registry/ServiceAuthorizationV3.sol +128 -33
  414. package/contracts/registry/TokenRegistry.sol +56 -52
  415. package/contracts/shared/Component.sol +18 -31
  416. package/contracts/shared/ComponentService.sol +239 -244
  417. package/contracts/shared/ContractLib.sol +134 -75
  418. package/contracts/shared/IComponent.sol +1 -4
  419. package/contracts/shared/IComponentService.sol +21 -22
  420. package/contracts/shared/IKeyValueStore.sol +1 -1
  421. package/contracts/shared/INftOwnable.sol +2 -0
  422. package/contracts/shared/IRegisterable.sol +0 -1
  423. package/contracts/shared/InitializableERC165.sol +9 -1
  424. package/contracts/shared/InstanceLinkedComponent.sol +4 -7
  425. package/contracts/shared/KeyValueStore.sol +3 -3
  426. package/contracts/shared/NftOwnable.sol +4 -2
  427. package/contracts/shared/PolicyHolder.sol +3 -2
  428. package/contracts/shared/Registerable.sol +1 -4
  429. package/contracts/shared/Service.sol +6 -4
  430. package/contracts/shared/TokenHandler.sol +5 -4
  431. package/contracts/staking/IStaking.sol +266 -64
  432. package/contracts/staking/IStakingService.sol +44 -82
  433. package/contracts/staking/ITargetLimitHandler.sol +17 -0
  434. package/contracts/staking/Staking.sol +473 -202
  435. package/contracts/staking/{StakeManagerLib.sol → StakingLib.sol} +55 -84
  436. package/contracts/staking/StakingManager.sol +4 -3
  437. package/contracts/staking/StakingReader.sol +58 -77
  438. package/contracts/staking/StakingService.sol +49 -158
  439. package/contracts/staking/StakingServiceManager.sol +1 -0
  440. package/contracts/staking/StakingStore.sol +1089 -330
  441. package/contracts/staking/TargetHandler.sol +132 -0
  442. package/contracts/staking/TargetManagerLib.sol +69 -46
  443. package/contracts/type/Amount.sol +4 -0
  444. package/contracts/type/Blocknumber.sol +15 -15
  445. package/contracts/type/ChainId.sol +101 -0
  446. package/contracts/type/Fee.sol +8 -8
  447. package/contracts/type/NftId.sol +3 -3
  448. package/contracts/type/ObjectType.sol +21 -17
  449. package/contracts/type/RoleId.sol +57 -59
  450. package/contracts/type/Seconds.sol +19 -0
  451. package/contracts/type/String.sol +12 -0
  452. package/contracts/type/Timestamp.sol +4 -2
  453. package/contracts/type/UFixed.sol +28 -10
  454. package/contracts/type/Version.sol +39 -0
  455. package/contracts/upgradeability/IVersionable.sol +3 -0
  456. package/contracts/upgradeability/ProxyManager.sol +25 -11
  457. package/contracts/upgradeability/UpgradableProxyWithAdmin.sol +12 -2
  458. package/contracts/upgradeability/Versionable.sol +6 -3
  459. package/package.json +2 -2
  460. package/artifacts/contracts/authorization/AccessAdmin.sol/IAccessManagedChecker.dbg.json +0 -4
  461. package/artifacts/contracts/authorization/AccessAdmin.sol/IAccessManagedChecker.json +0 -24
  462. package/artifacts/contracts/shared/ComponentVerifyingService.sol/ComponentVerifyingService.dbg.json +0 -4
  463. package/artifacts/contracts/shared/ComponentVerifyingService.sol/ComponentVerifyingService.json +0 -485
  464. package/artifacts/contracts/staking/StakeManagerLib.sol/StakeManagerLib.dbg.json +0 -4
  465. package/artifacts/contracts/staking/StakeManagerLib.sol/StakeManagerLib.json +0 -440
  466. package/artifacts/contracts/staking/StakingLifecycle.sol/StakingLifecycle.dbg.json +0 -4
  467. package/artifacts/contracts/staking/StakingLifecycle.sol/StakingLifecycle.json +0 -205
  468. package/contracts/shared/ComponentVerifyingService.sol +0 -128
  469. package/contracts/staking/StakingLifecycle.sol +0 -23
@@ -43,7 +43,98 @@
43
43
  },
44
44
  {
45
45
  "inputs": [],
46
- "name": "ErrorAdminRoleMissing",
46
+ "name": "ErrorAccessAdminAccessManagerEmptyName",
47
+ "type": "error"
48
+ },
49
+ {
50
+ "inputs": [
51
+ {
52
+ "internalType": "address",
53
+ "name": "authority",
54
+ "type": "address"
55
+ }
56
+ ],
57
+ "name": "ErrorAccessAdminAccessManagerNotAccessManager",
58
+ "type": "error"
59
+ },
60
+ {
61
+ "inputs": [],
62
+ "name": "ErrorAccessAdminAdminRoleMissing",
63
+ "type": "error"
64
+ },
65
+ {
66
+ "inputs": [
67
+ {
68
+ "internalType": "address",
69
+ "name": "authorization",
70
+ "type": "address"
71
+ }
72
+ ],
73
+ "name": "ErrorAccessAdminAlreadyInitialized",
74
+ "type": "error"
75
+ },
76
+ {
77
+ "inputs": [
78
+ {
79
+ "internalType": "address",
80
+ "name": "authority",
81
+ "type": "address"
82
+ }
83
+ ],
84
+ "name": "ErrorAccessAdminAuthorityNotContract",
85
+ "type": "error"
86
+ },
87
+ {
88
+ "inputs": [
89
+ {
90
+ "internalType": "address",
91
+ "name": "target",
92
+ "type": "address"
93
+ }
94
+ ],
95
+ "name": "ErrorAccessAdminAuthorizeForAdminRoleInvalid",
96
+ "type": "error"
97
+ },
98
+ {
99
+ "inputs": [
100
+ {
101
+ "internalType": "address",
102
+ "name": "authorization",
103
+ "type": "address"
104
+ },
105
+ {
106
+ "internalType": "ObjectType",
107
+ "name": "expectedDomain",
108
+ "type": "uint8"
109
+ },
110
+ {
111
+ "internalType": "ObjectType",
112
+ "name": "actualDomain",
113
+ "type": "uint8"
114
+ }
115
+ ],
116
+ "name": "ErrorAccessAdminDomainMismatch",
117
+ "type": "error"
118
+ },
119
+ {
120
+ "inputs": [],
121
+ "name": "ErrorAccessAdminFunctionNameEmpty",
122
+ "type": "error"
123
+ },
124
+ {
125
+ "inputs": [
126
+ {
127
+ "internalType": "address",
128
+ "name": "target",
129
+ "type": "address"
130
+ },
131
+ {
132
+ "internalType": "enum IAccess.TargetType",
133
+ "name": "serviceTargetType",
134
+ "type": "uint8"
135
+ }
136
+ ],
137
+ "name": "ErrorAccessAdminInvalidServiceType",
47
138
  "type": "error"
48
139
  },
49
140
  {
@@ -52,9 +143,24 @@
52
143
  "internalType": "address",
53
144
  "name": "target",
54
145
  "type": "address"
146
+ },
147
+ {
148
+ "internalType": "enum IAccess.TargetType",
149
+ "name": "targetType",
150
+ "type": "uint8"
55
151
  }
56
152
  ],
57
- "name": "ErrorAuthorizeForAdminRoleInvalid",
153
+ "name": "ErrorAccessAdminInvalidTargetType",
154
+ "type": "error"
155
+ },
156
+ {
157
+ "inputs": [],
158
+ "name": "ErrorAccessAdminInvalidUserOfAdminRole",
159
+ "type": "error"
160
+ },
161
+ {
162
+ "inputs": [],
163
+ "name": "ErrorAccessAdminInvalidUserOfPublicRole",
58
164
  "type": "error"
59
165
  },
60
166
  {
@@ -63,25 +169,52 @@
63
169
  "internalType": "RoleId",
64
170
  "name": "adminRoleId",
65
171
  "type": "uint64"
172
+ },
173
+ {
174
+ "internalType": "address",
175
+ "name": "account",
176
+ "type": "address"
177
+ }
178
+ ],
179
+ "name": "ErrorAccessAdminNotAdminOfRole",
180
+ "type": "error"
181
+ },
182
+ {
183
+ "inputs": [
184
+ {
185
+ "internalType": "address",
186
+ "name": "authorization",
187
+ "type": "address"
66
188
  }
67
189
  ],
68
- "name": "ErrorNotAdminOfRole",
190
+ "name": "ErrorAccessAdminNotAuthorization",
69
191
  "type": "error"
70
192
  },
71
193
  {
72
194
  "inputs": [],
73
- "name": "ErrorNotDeployer",
195
+ "name": "ErrorAccessAdminNotDeployer",
74
196
  "type": "error"
75
197
  },
76
198
  {
77
199
  "inputs": [
78
200
  {
79
201
  "internalType": "address",
80
- "name": "registryAddress",
202
+ "name": "registerable",
81
203
  "type": "address"
82
204
  }
83
205
  ],
84
- "name": "ErrorNotRegistry",
206
+ "name": "ErrorAccessAdminNotRegistered",
207
+ "type": "error"
208
+ },
209
+ {
210
+ "inputs": [
211
+ {
212
+ "internalType": "address",
213
+ "name": "registry",
214
+ "type": "address"
215
+ }
216
+ ],
217
+ "name": "ErrorAccessAdminNotRegistry",
85
218
  "type": "error"
86
219
  },
87
220
  {
@@ -90,9 +223,46 @@
90
223
  "internalType": "RoleId",
91
224
  "name": "roleId",
92
225
  "type": "uint64"
226
+ },
227
+ {
228
+ "internalType": "address",
229
+ "name": "account",
230
+ "type": "address"
231
+ }
232
+ ],
233
+ "name": "ErrorAccessAdminNotRoleOwner",
234
+ "type": "error"
235
+ },
236
+ {
237
+ "inputs": [
238
+ {
239
+ "internalType": "address",
240
+ "name": "serviceAuthorization",
241
+ "type": "address"
242
+ }
243
+ ],
244
+ "name": "ErrorAccessAdminNotServiceAuthorization",
245
+ "type": "error"
246
+ },
247
+ {
248
+ "inputs": [
249
+ {
250
+ "internalType": "address",
251
+ "name": "authorization",
252
+ "type": "address"
253
+ },
254
+ {
255
+ "internalType": "VersionPart",
256
+ "name": "expectedRelease",
257
+ "type": "uint8"
258
+ },
259
+ {
260
+ "internalType": "VersionPart",
261
+ "name": "actualRelease",
262
+ "type": "uint8"
93
263
  }
94
264
  ],
95
- "name": "ErrorNotRoleOwner",
265
+ "name": "ErrorAccessAdminReleaseMismatch",
96
266
  "type": "error"
97
267
  },
98
268
  {
@@ -103,7 +273,7 @@
103
273
  "type": "uint64"
104
274
  }
105
275
  ],
106
- "name": "ErrorRoleAdminNotExisting",
276
+ "name": "ErrorAccessAdminRoleAdminNotExisting",
107
277
  "type": "error"
108
278
  },
109
279
  {
@@ -119,7 +289,7 @@
119
289
  "type": "string"
120
290
  }
121
291
  ],
122
- "name": "ErrorRoleAlreadyCreated",
292
+ "name": "ErrorAccessAdminRoleAlreadyCreated",
123
293
  "type": "error"
124
294
  },
125
295
  {
@@ -130,7 +300,7 @@
130
300
  "type": "uint64"
131
301
  }
132
302
  ],
133
- "name": "ErrorRoleIsLocked",
303
+ "name": "ErrorAccessAdminRoleIsLocked",
134
304
  "type": "error"
135
305
  },
136
306
  {
@@ -141,7 +311,7 @@
141
311
  "type": "uint64"
142
312
  }
143
313
  ],
144
- "name": "ErrorRoleIsPaused",
314
+ "name": "ErrorAccessAdminRoleIsPaused",
145
315
  "type": "error"
146
316
  },
147
317
  {
@@ -157,7 +327,7 @@
157
327
  "type": "address"
158
328
  }
159
329
  ],
160
- "name": "ErrorRoleMemberNotContract",
330
+ "name": "ErrorAccessAdminRoleMemberNotContract",
161
331
  "type": "error"
162
332
  },
163
333
  {
@@ -173,7 +343,7 @@
173
343
  "type": "address"
174
344
  }
175
345
  ],
176
- "name": "ErrorRoleMemberRemovalDisabled",
346
+ "name": "ErrorAccessAdminRoleMemberRemovalDisabled",
177
347
  "type": "error"
178
348
  },
179
349
  {
@@ -189,7 +359,7 @@
189
359
  "type": "uint256"
190
360
  }
191
361
  ],
192
- "name": "ErrorRoleMembersLimitReached",
362
+ "name": "ErrorAccessAdminRoleMembersLimitReached",
193
363
  "type": "error"
194
364
  },
195
365
  {
@@ -210,7 +380,18 @@
210
380
  "type": "uint64"
211
381
  }
212
382
  ],
213
- "name": "ErrorRoleNameAlreadyExists",
383
+ "name": "ErrorAccessAdminRoleNameAlreadyExists",
384
+ "type": "error"
385
+ },
386
+ {
387
+ "inputs": [
388
+ {
389
+ "internalType": "RoleId",
390
+ "name": "roleId",
391
+ "type": "uint64"
392
+ }
393
+ ],
394
+ "name": "ErrorAccessAdminRoleNameEmpty",
214
395
  "type": "error"
215
396
  },
216
397
  {
@@ -221,7 +402,7 @@
221
402
  "type": "uint64"
222
403
  }
223
404
  ],
224
- "name": "ErrorRoleNameEmpty",
405
+ "name": "ErrorAccessAdminRoleNotCustom",
225
406
  "type": "error"
226
407
  },
227
408
  {
@@ -232,12 +413,17 @@
232
413
  "type": "uint64"
233
414
  }
234
415
  ],
235
- "name": "ErrorRoleUnknown",
416
+ "name": "ErrorAccessAdminRoleUnknown",
417
+ "type": "error"
418
+ },
419
+ {
420
+ "inputs": [],
421
+ "name": "ErrorAccessAdminSelectorZero",
236
422
  "type": "error"
237
423
  },
238
424
  {
239
425
  "inputs": [],
240
- "name": "ErrorTagetNotLockable",
426
+ "name": "ErrorAccessAdminTagetNotLockable",
241
427
  "type": "error"
242
428
  },
243
429
  {
@@ -253,7 +439,7 @@
253
439
  "type": "string"
254
440
  }
255
441
  ],
256
- "name": "ErrorTargetAlreadyCreated",
442
+ "name": "ErrorAccessAdminTargetAlreadyCreated",
257
443
  "type": "error"
258
444
  },
259
445
  {
@@ -269,7 +455,7 @@
269
455
  "type": "bool"
270
456
  }
271
457
  ],
272
- "name": "ErrorTargetAlreadyLocked",
458
+ "name": "ErrorAccessAdminTargetAlreadyLocked",
273
459
  "type": "error"
274
460
  },
275
461
  {
@@ -285,7 +471,7 @@
285
471
  "type": "address"
286
472
  }
287
473
  ],
288
- "name": "ErrorTargetAuthorityMismatch",
474
+ "name": "ErrorAccessAdminTargetAuthorityMismatch",
289
475
  "type": "error"
290
476
  },
291
477
  {
@@ -306,7 +492,40 @@
306
492
  "type": "address"
307
493
  }
308
494
  ],
309
- "name": "ErrorTargetNameAlreadyExists",
495
+ "name": "ErrorAccessAdminTargetNameAlreadyExists",
496
+ "type": "error"
497
+ },
498
+ {
499
+ "inputs": [
500
+ {
501
+ "internalType": "address",
502
+ "name": "target",
503
+ "type": "address"
504
+ }
505
+ ],
506
+ "name": "ErrorAccessAdminTargetNameEmpty",
507
+ "type": "error"
508
+ },
509
+ {
510
+ "inputs": [
511
+ {
512
+ "internalType": "address",
513
+ "name": "target",
514
+ "type": "address"
515
+ }
516
+ ],
517
+ "name": "ErrorAccessAdminTargetNotAccessManaged",
518
+ "type": "error"
519
+ },
520
+ {
521
+ "inputs": [
522
+ {
523
+ "internalType": "address",
524
+ "name": "target",
525
+ "type": "address"
526
+ }
527
+ ],
528
+ "name": "ErrorAccessAdminTargetNotCreated",
310
529
  "type": "error"
311
530
  },
312
531
  {
@@ -317,7 +536,7 @@
317
536
  "type": "address"
318
537
  }
319
538
  ],
320
- "name": "ErrorTargetNameEmpty",
539
+ "name": "ErrorAccessAdminTargetNotRegistered",
321
540
  "type": "error"
322
541
  },
323
542
  {
@@ -326,9 +545,19 @@
326
545
  "internalType": "address",
327
546
  "name": "target",
328
547
  "type": "address"
548
+ },
549
+ {
550
+ "internalType": "ObjectType",
551
+ "name": "expectedType",
552
+ "type": "uint8"
553
+ },
554
+ {
555
+ "internalType": "ObjectType",
556
+ "name": "actualType",
557
+ "type": "uint8"
329
558
  }
330
559
  ],
331
- "name": "ErrorTargetNotAccessManaged",
560
+ "name": "ErrorAccessAdminTargetTypeMismatch",
332
561
  "type": "error"
333
562
  },
334
563
  {
@@ -339,7 +568,18 @@
339
568
  "type": "address"
340
569
  }
341
570
  ],
342
- "name": "ErrorTargetUnknown",
571
+ "name": "ErrorAccessAdminTargetUnknown",
572
+ "type": "error"
573
+ },
574
+ {
575
+ "inputs": [
576
+ {
577
+ "internalType": "address",
578
+ "name": "registryAddress",
579
+ "type": "address"
580
+ }
581
+ ],
582
+ "name": "ErrorNotRegistry",
343
583
  "type": "error"
344
584
  },
345
585
  {
@@ -388,20 +628,20 @@
388
628
  "inputs": [
389
629
  {
390
630
  "indexed": false,
391
- "internalType": "address",
392
- "name": "target",
393
- "type": "address"
631
+ "internalType": "string",
632
+ "name": "admin",
633
+ "type": "string"
394
634
  },
395
635
  {
396
636
  "indexed": false,
397
- "internalType": "string",
398
- "name": "functionName",
399
- "type": "string"
637
+ "internalType": "address",
638
+ "name": "target",
639
+ "type": "address"
400
640
  },
401
641
  {
402
642
  "indexed": false,
403
643
  "internalType": "string",
404
- "name": "roleName",
644
+ "name": "func",
405
645
  "type": "string"
406
646
  }
407
647
  ],
@@ -411,6 +651,12 @@
411
651
  {
412
652
  "anonymous": false,
413
653
  "inputs": [
654
+ {
655
+ "indexed": false,
656
+ "internalType": "string",
657
+ "name": "admin",
658
+ "type": "string"
659
+ },
414
660
  {
415
661
  "indexed": false,
416
662
  "internalType": "RoleId",
@@ -442,6 +688,12 @@
442
688
  {
443
689
  "anonymous": false,
444
690
  "inputs": [
691
+ {
692
+ "indexed": false,
693
+ "internalType": "string",
694
+ "name": "admin",
695
+ "type": "string"
696
+ },
445
697
  {
446
698
  "indexed": false,
447
699
  "internalType": "address",
@@ -461,6 +713,12 @@
461
713
  {
462
714
  "anonymous": false,
463
715
  "inputs": [
716
+ {
717
+ "indexed": false,
718
+ "internalType": "string",
719
+ "name": "admin",
720
+ "type": "string"
721
+ },
464
722
  {
465
723
  "indexed": false,
466
724
  "internalType": "address",
@@ -482,15 +740,33 @@
482
740
  "inputs": [
483
741
  {
484
742
  "indexed": false,
485
- "internalType": "address",
486
- "name": "target",
487
- "type": "address"
743
+ "internalType": "string",
744
+ "name": "admin",
745
+ "type": "string"
488
746
  },
489
747
  {
490
748
  "indexed": false,
491
749
  "internalType": "string",
492
750
  "name": "name",
493
751
  "type": "string"
752
+ },
753
+ {
754
+ "indexed": false,
755
+ "internalType": "bool",
756
+ "name": "managed",
757
+ "type": "bool"
758
+ },
759
+ {
760
+ "indexed": false,
761
+ "internalType": "address",
762
+ "name": "target",
763
+ "type": "address"
764
+ },
765
+ {
766
+ "indexed": false,
767
+ "internalType": "RoleId",
768
+ "name": "roleId",
769
+ "type": "uint64"
494
770
  }
495
771
  ],
496
772
  "name": "LogAccessAdminTargetCreated",
@@ -498,36 +774,10 @@
498
774
  },
499
775
  {
500
776
  "inputs": [],
501
- "name": "ADMIN_ROLE_NAME",
777
+ "name": "authority",
502
778
  "outputs": [
503
779
  {
504
- "internalType": "string",
505
- "name": "",
506
- "type": "string"
507
- }
508
- ],
509
- "stateMutability": "view",
510
- "type": "function"
511
- },
512
- {
513
- "inputs": [],
514
- "name": "PUBLIC_ROLE_NAME",
515
- "outputs": [
516
- {
517
- "internalType": "string",
518
- "name": "",
519
- "type": "string"
520
- }
521
- ],
522
- "stateMutability": "view",
523
- "type": "function"
524
- },
525
- {
526
- "inputs": [],
527
- "name": "authority",
528
- "outputs": [
529
- {
530
- "internalType": "address",
780
+ "internalType": "address",
531
781
  "name": "",
532
782
  "type": "address"
533
783
  }
@@ -555,29 +805,13 @@
555
805
  "type": "function"
556
806
  },
557
807
  {
558
- "inputs": [
559
- {
560
- "internalType": "address",
561
- "name": "caller",
562
- "type": "address"
563
- },
808
+ "inputs": [],
809
+ "name": "deployer",
810
+ "outputs": [
564
811
  {
565
812
  "internalType": "address",
566
- "name": "target",
813
+ "name": "",
567
814
  "type": "address"
568
- },
569
- {
570
- "internalType": "Selector",
571
- "name": "selector",
572
- "type": "bytes4"
573
- }
574
- ],
575
- "name": "canCall",
576
- "outputs": [
577
- {
578
- "internalType": "bool",
579
- "name": "can",
580
- "type": "bool"
581
815
  }
582
816
  ],
583
817
  "stateMutability": "view",
@@ -585,12 +819,12 @@
585
819
  },
586
820
  {
587
821
  "inputs": [],
588
- "name": "deployer",
822
+ "name": "getAdminRole",
589
823
  "outputs": [
590
824
  {
591
- "internalType": "address",
592
- "name": "",
593
- "type": "address"
825
+ "internalType": "RoleId",
826
+ "name": "roleId",
827
+ "type": "uint64"
594
828
  }
595
829
  ],
596
830
  "stateMutability": "view",
@@ -598,12 +832,12 @@
598
832
  },
599
833
  {
600
834
  "inputs": [],
601
- "name": "getAdminRole",
835
+ "name": "getAuthorization",
602
836
  "outputs": [
603
837
  {
604
- "internalType": "RoleId",
605
- "name": "roleId",
606
- "type": "uint64"
838
+ "internalType": "contract IAuthorization",
839
+ "name": "authorization",
840
+ "type": "address"
607
841
  }
608
842
  ],
609
843
  "stateMutability": "view",
@@ -655,6 +889,32 @@
655
889
  "stateMutability": "view",
656
890
  "type": "function"
657
891
  },
892
+ {
893
+ "inputs": [],
894
+ "name": "getLinkedNftId",
895
+ "outputs": [
896
+ {
897
+ "internalType": "NftId",
898
+ "name": "linkedNftId",
899
+ "type": "uint96"
900
+ }
901
+ ],
902
+ "stateMutability": "view",
903
+ "type": "function"
904
+ },
905
+ {
906
+ "inputs": [],
907
+ "name": "getLinkedOwner",
908
+ "outputs": [
909
+ {
910
+ "internalType": "address",
911
+ "name": "linkedOwner",
912
+ "type": "address"
913
+ }
914
+ ],
915
+ "stateMutability": "view",
916
+ "type": "function"
917
+ },
658
918
  {
659
919
  "inputs": [],
660
920
  "name": "getPublicRole",
@@ -697,29 +957,17 @@
697
957
  {
698
958
  "inputs": [
699
959
  {
700
- "internalType": "Str",
960
+ "internalType": "string",
701
961
  "name": "name",
702
- "type": "bytes32"
962
+ "type": "string"
703
963
  }
704
964
  ],
705
965
  "name": "getRoleForName",
706
966
  "outputs": [
707
967
  {
708
- "components": [
709
- {
710
- "internalType": "RoleId",
711
- "name": "roleId",
712
- "type": "uint64"
713
- },
714
- {
715
- "internalType": "bool",
716
- "name": "exists",
717
- "type": "bool"
718
- }
719
- ],
720
- "internalType": "struct IAccess.RoleNameInfo",
721
- "name": "",
722
- "type": "tuple"
968
+ "internalType": "RoleId",
969
+ "name": "roleId",
970
+ "type": "uint64"
723
971
  }
724
972
  ],
725
973
  "stateMutability": "view",
@@ -771,11 +1019,6 @@
771
1019
  "name": "maxMemberCount",
772
1020
  "type": "uint32"
773
1021
  },
774
- {
775
- "internalType": "Str",
776
- "name": "name",
777
- "type": "bytes32"
778
- },
779
1022
  {
780
1023
  "internalType": "Timestamp",
781
1024
  "name": "createdAt",
@@ -785,6 +1028,11 @@
785
1028
  "internalType": "Timestamp",
786
1029
  "name": "pausedAt",
787
1030
  "type": "uint40"
1031
+ },
1032
+ {
1033
+ "internalType": "Str",
1034
+ "name": "name",
1035
+ "type": "bytes32"
788
1036
  }
789
1037
  ],
790
1038
  "internalType": "struct IAccess.RoleInfo",
@@ -875,9 +1123,14 @@
875
1123
  "type": "bytes32"
876
1124
  },
877
1125
  {
878
- "internalType": "bool",
879
- "name": "isCustom",
880
- "type": "bool"
1126
+ "internalType": "enum IAccess.TargetType",
1127
+ "name": "targetType",
1128
+ "type": "uint8"
1129
+ },
1130
+ {
1131
+ "internalType": "RoleId",
1132
+ "name": "roleId",
1133
+ "type": "uint64"
881
1134
  },
882
1135
  {
883
1136
  "internalType": "Timestamp",
@@ -897,20 +1150,59 @@
897
1150
  "inputs": [
898
1151
  {
899
1152
  "internalType": "address",
900
- "name": "account",
1153
+ "name": "authority",
901
1154
  "type": "address"
902
1155
  },
1156
+ {
1157
+ "internalType": "string",
1158
+ "name": "adminName",
1159
+ "type": "string"
1160
+ }
1161
+ ],
1162
+ "name": "initialize",
1163
+ "outputs": [],
1164
+ "stateMutability": "nonpayable",
1165
+ "type": "function"
1166
+ },
1167
+ {
1168
+ "inputs": [],
1169
+ "name": "isConsumingScheduledOp",
1170
+ "outputs": [
1171
+ {
1172
+ "internalType": "bytes4",
1173
+ "name": "",
1174
+ "type": "bytes4"
1175
+ }
1176
+ ],
1177
+ "stateMutability": "view",
1178
+ "type": "function"
1179
+ },
1180
+ {
1181
+ "inputs": [],
1182
+ "name": "isLocked",
1183
+ "outputs": [
1184
+ {
1185
+ "internalType": "bool",
1186
+ "name": "locked",
1187
+ "type": "bool"
1188
+ }
1189
+ ],
1190
+ "stateMutability": "view",
1191
+ "type": "function"
1192
+ },
1193
+ {
1194
+ "inputs": [
903
1195
  {
904
1196
  "internalType": "RoleId",
905
1197
  "name": "roleId",
906
1198
  "type": "uint64"
907
1199
  }
908
1200
  ],
909
- "name": "hasAdminRole",
1201
+ "name": "isRoleActive",
910
1202
  "outputs": [
911
1203
  {
912
1204
  "internalType": "bool",
913
- "name": "",
1205
+ "name": "isActive",
914
1206
  "type": "bool"
915
1207
  }
916
1208
  ],
@@ -919,22 +1211,41 @@
919
1211
  },
920
1212
  {
921
1213
  "inputs": [
1214
+ {
1215
+ "internalType": "RoleId",
1216
+ "name": "roleId",
1217
+ "type": "uint64"
1218
+ },
922
1219
  {
923
1220
  "internalType": "address",
924
1221
  "name": "account",
925
1222
  "type": "address"
926
- },
1223
+ }
1224
+ ],
1225
+ "name": "isRoleAdmin",
1226
+ "outputs": [
1227
+ {
1228
+ "internalType": "bool",
1229
+ "name": "",
1230
+ "type": "bool"
1231
+ }
1232
+ ],
1233
+ "stateMutability": "view",
1234
+ "type": "function"
1235
+ },
1236
+ {
1237
+ "inputs": [
927
1238
  {
928
1239
  "internalType": "RoleId",
929
1240
  "name": "roleId",
930
1241
  "type": "uint64"
931
1242
  }
932
1243
  ],
933
- "name": "hasRole",
1244
+ "name": "isRoleCustom",
934
1245
  "outputs": [
935
1246
  {
936
1247
  "internalType": "bool",
937
- "name": "",
1248
+ "name": "isActive",
938
1249
  "type": "bool"
939
1250
  }
940
1251
  ],
@@ -944,24 +1255,22 @@
944
1255
  {
945
1256
  "inputs": [
946
1257
  {
947
- "internalType": "contract AccessManagerCloneable",
948
- "name": "authority",
1258
+ "internalType": "RoleId",
1259
+ "name": "roleId",
1260
+ "type": "uint64"
1261
+ },
1262
+ {
1263
+ "internalType": "address",
1264
+ "name": "account",
949
1265
  "type": "address"
950
1266
  }
951
1267
  ],
952
- "name": "initialize",
953
- "outputs": [],
954
- "stateMutability": "nonpayable",
955
- "type": "function"
956
- },
957
- {
958
- "inputs": [],
959
- "name": "isConsumingScheduledOp",
1268
+ "name": "isRoleMember",
960
1269
  "outputs": [
961
1270
  {
962
- "internalType": "bytes4",
1271
+ "internalType": "bool",
963
1272
  "name": "",
964
- "type": "bytes4"
1273
+ "type": "bool"
965
1274
  }
966
1275
  ],
967
1276
  "stateMutability": "view",
@@ -1005,6 +1314,25 @@
1005
1314
  "stateMutability": "view",
1006
1315
  "type": "function"
1007
1316
  },
1317
+ {
1318
+ "inputs": [
1319
+ {
1320
+ "internalType": "string",
1321
+ "name": "name",
1322
+ "type": "string"
1323
+ }
1324
+ ],
1325
+ "name": "roleExists",
1326
+ "outputs": [
1327
+ {
1328
+ "internalType": "bool",
1329
+ "name": "exists",
1330
+ "type": "bool"
1331
+ }
1332
+ ],
1333
+ "stateMutability": "view",
1334
+ "type": "function"
1335
+ },
1008
1336
  {
1009
1337
  "inputs": [
1010
1338
  {
@@ -1081,135 +1409,64 @@
1081
1409
  ],
1082
1410
  "stateMutability": "view",
1083
1411
  "type": "function"
1084
- },
1085
- {
1086
- "inputs": [
1412
+ }
1413
+ ],
1414
+ "bytecode": "0x6080604052348015600e575f80fd5b506127878061001c5f395ff3fe608060405234801561000f575f80fd5b50600436106101f2575f3560e01c806376b707b711610114578063b3ecf236116100a9578063d5f3948811610079578063d5f39488146104aa578063d78a83b1146104bb578063dd22b08a146104ce578063f399e22e146104d6578063f60458ba146104e9575f80fd5b8063b3ecf2361461045f578063bf7e214f14610467578063c6a0017914610484578063d00cce4114610497575f80fd5b806387c73e5a116100e457806387c73e5a146104105780638fb36037146104235780639cad005214610444578063a4e2d63414610457575f80fd5b806376b707b7146103c65780637a9e5e4b146103e05780637f0cf947146103f55780638308ceb114610408575f80fd5b80633fd855611161018a578063605aa10a1161015a578063605aa10a1461037c57806366c3bc951461038f5780636bd1c0eb146103a2578063728a61a8146103b3575f80fd5b80633fd8556114610316578063480cebd1146103415780635ab1bd53146103545780635bfa50271461035c575f80fd5b806326decd40116101c557806326decd40146102985780633406b152146102bb57806335471f80146102fb578063392f5f641461030e575f80fd5b806303014974146101f657806312e1ebc51461021c57806324913ce61461023c57806326d60fb414610290575b5f80fd5b610209610204366004611ef3565b610514565b6040519081526020015b60405180910390f35b61022f61022a366004611f22565b61053a565b6040516102139190611f51565b61024f61024a366004611fa0565b6105e6565b60408051835181526020808501516001600160e01b031916908201529281015164ffffffffff16908301526001600160401b03166060820152608001610213565b600a54610209565b6102ab6102a6366004611f22565b610876565b6040519015158152602001610213565b6102e36102c9366004611fca565b5f908152600960205260409020546001600160a01b031690565b6040516001600160a01b039091168152602001610213565b610209610309366004611f22565b610953565b600654610209565b610329610324366004611fca565b6109dd565b6040516001600160401b039091168152602001610213565b6102ab61034f366004611fe1565b610a1f565b6102e3610a4c565b61036f61036a366004611ef3565b610abc565b604051610213919061202c565b6102ab61038a366004611f22565b610b8f565b6102ab61039d366004611ef3565b610c06565b6002546001600160a01b03166102e3565b6102e36103c1366004611fca565b610cae565b6103ce610cdc565b60405160ff9091168152602001610213565b6103f36103ee366004611f22565b610d47565b005b6102ab610403366004611fe1565b610de8565b610329610e6e565b6102ab61041e366004611ef3565b610ed9565b61042b610f16565b6040516001600160e01b03199091168152602001610213565b610329610452366004612177565b610f4c565b6102ab610fe5565b610329611050565b5f80516020612732833981519152546001600160a01b03166102e3565b6102ab610492366004611ef3565b611097565b6102ab6104a5366004612177565b6110f8565b6003546001600160a01b03166102e3565b6102e36104c93660046121b0565b611312565b6102e3611333565b6103f36104e43660046121cc565b611393565b600354600160a01b90046001600160601b03166040516001600160601b039091168152602001610213565b6001600160401b0381165f908152600760205260408120610534906114a1565b92915050565b60408051608080820183525f8083526020808401829052838501829052606084018290526001600160a01b038616825260088152908490208451928301909452835482526001840154929391929083019060ff16600681111561059f5761059f611f3d565b60068111156105b0576105b0611f3d565b81526001919091015461010081046001600160401b03166020830152600160481b900464ffffffffff1660409091015292915050565b604080516060810182525f80825260208083018290528284018290526001600160a01b0386168252600b9052828120925163dfe63db960e01b81526004810193909352602483018490529091819073__$8df0087758613aef8a614b5774fdb3323b$__9063dfe63db990604401602060405180830381865af415801561066e573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906106929190612223565b6001600160a01b038681165f908152600c602090815260408083206001600160e01b03198681168086529184529382902082516060810184528154815260019182015460e081901b9096169481019490945264010000000090940464ffffffffff168383015292549051636ea1af2560e11b8152600481019390935290965092935073__$1d92393fa9ccd763988368ce8a1cb90d26$__926368aebf7b921690636d5115bd90899073__$0904195350e4c23ecb1d51df0a32586dcd$__9063dd435e4a90602401602060405180830381865af4158015610774573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906107989190612223565b6040516001600160e01b031960e085901b811682526001600160a01b03909316600482015291166024820152604401602060405180830381865afa1580156107e2573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610806919061223e565b6040516001600160e01b031960e084901b1681526001600160401b039091166004820152602401602060405180830381865af4158015610848573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061086c919061223e565b9150509250929050565b60015460408051632938b58d60e21b815290515f926001600160a01b03169163a4e2d6349160048083019260209291908290030181865afa1580156108bd573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906108e1919061226d565b80610534575060015460405163a166aa8960e01b81526001600160a01b0384811660048301529091169063a166aa8990602401602060405180830381865afa15801561092f573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610534919061226d565b6001600160a01b0381165f908152600b6020526040808220905163868b3e0760e01b8152600481019190915273__$8df0087758613aef8a614b5774fdb3323b$__9063868b3e0790602401602060405180830381865af41580156109b9573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906105349190612286565b5f600682815481106109f1576109f161229d565b905f5260205f2090600491828204019190066008029054906101000a90046001600160401b03169050919050565b6001600160401b038083165f908152600460205260408120549091610a45911683610de8565b9392505050565b60015460408051635ab1bd5360e01b815290515f926001600160a01b031691635ab1bd539160048083019260209291908290030181865afa158015610a93573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610ab791906122b1565b905090565b6040805160c080820183525f8083526020808401829052838501829052606084018290526080840182905260a084018290526001600160401b038681168352600482529185902085519384019095528454918216835292939192830190600160401b900460ff166003811115610b3457610b34611f3d565b6003811115610b4557610b45611f3d565b8152815463ffffffff600160481b820416602083015264ffffffffff600160681b820481166040840152600160901b90910416606082015260019091015460809091015292915050565b6001600160a01b0381165f90815260086020526040808220600101549051638d38cd4b60e01b8152600160481b90910464ffffffffff16600482015273__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__90638d38cd4b906024015b602060405180830381865af415801561092f573d5f803e3d5ffd5b6001600160401b0381165f908152600460208181526040808420548151639fa6a6e360e01b8152915161053494600160901b90920464ffffffffff169373__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__93639fa6a6e39381810193918290030181865af4158015610c7b573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610c9f91906122e0565b64ffffffffff90811691161190565b5f600a8281548110610cc257610cc261229d565b5f918252602090912001546001600160a01b031692915050565b600154604080516376b707b760e01b815290515f926001600160a01b0316916376b707b79160048083019260209291908290030181865afa158015610d23573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610ab791906122f9565b33610d665f80516020612732833981519152546001600160a01b031690565b6001600160a01b0316816001600160a01b031614610da65760405162d1953b60e31b81526001600160a01b03821660048201526024015b60405180910390fd5b816001600160a01b03163b5f03610ddb576040516361798f2f60e11b81526001600160a01b0383166004820152602401610d9d565b610de4826114aa565b5050565b6001546040516368fc2b7760e11b81526001600160401b03841660048201526001600160a01b0383811660248301525f92839291169063d1f856ee906044016040805180830381865afa158015610e41573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610e65919061232c565b50949350505050565b60015460408051631e53e01560e11b815290515f926001600160a01b031691633ca7c02a9160048083019260209291908290030181865afa158015610eb5573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610ab7919061223e565b5f60036001600160401b0383165f90815260046020526040902054600160401b900460ff166003811115610f0f57610f0f611f3d565b1492915050565b5f8051602061273283398151915280545f9190600160a01b900460ff16610f3d575f610f46565b638fb3603760e01b5b91505090565b5f60055f73__$9a094f9b231ed0f5f85a69be8408d93180$__63cdc23e69856040518263ffffffff1660e01b8152600401610f87919061238b565b602060405180830381865af4158015610fa2573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610fc69190612286565b815260208101919091526040015f20546001600160401b031692915050565b60015460408051632938b58d60e21b815290515f926001600160a01b03169163a4e2d6349160048083019260209291908290030181865afa15801561102c573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610ab7919061226d565b60015460408051631d6c8e3f60e21b815290515f926001600160a01b0316916375b238fc9160048083019260209291908290030181865afa158015610eb5573d5f803e3d5ffd5b6001600160401b0381165f908152600460208190526040808320549051638d38cd4b60e01b8152600160681b90910464ffffffffff169181019190915273__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__90638d38cd4b90602401610beb565b5f73__$9a094f9b231ed0f5f85a69be8408d93180$__6321a496428361113a60408051808201909152600981526841646d696e526f6c6560b81b602082015290565b6040518363ffffffff1660e01b815260040161115792919061239d565b602060405180830381865af4158015611172573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611196919061226d565b8061123a575073__$9a094f9b231ed0f5f85a69be8408d93180$__6321a49642836111de60408051808201909152600a8152695075626c6963526f6c6560b01b602082015290565b6040518363ffffffff1660e01b81526004016111fb92919061239d565b602060405180830381865af4158015611216573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061123a919061226d565b1561124757506001919050565b60055f73__$9a094f9b231ed0f5f85a69be8408d93180$__63cdc23e69856040518263ffffffff1660e01b8152600401611281919061238b565b602060405180830381865af415801561129c573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906112c09190612286565b8152602081019190915260409081015f2054905163a42e52e960e01b81526001600160401b03909116600482015273__$1d92393fa9ccd763988368ce8a1cb90d26$__9063a42e52e990602401610beb565b6001600160401b0382165f908152600760205260408120610a45908361150b565b5f61133c610a4c565b600354604051631c5da14d60e11b8152600160a01b9091046001600160601b031660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015610a93573d5f803e3d5ffd5b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a008054600160401b810460ff1615906001600160401b03165f811580156113d75750825b90505f826001600160401b031660011480156113f25750303b155b905081158015611400575080155b1561141e5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561144857845460ff60401b1916600160401b1785555b6114528787611516565b831561149857845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50505050505050565b5f610534825490565b5f8051602061273283398151915280546001600160a01b0319166001600160a01b03831690811782556040519081527f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad906020015b60405180910390a15050565b5f610a4583836117e6565b61151e61180c565b6003546001600160a01b031661154157600380546001600160a01b031916331790555b6003546001600160a01b0316331461156c5760405163410f583d60e11b815260040160405180910390fd5b604051631627905560e01b81526001600160a01b038316600482015273__$fb599632d08395912d9d70eb2f0f93b5e2$__90631627905590602401602060405180830381865af41580156115c2573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906115e6919061226d565b61160e5760405163a91c340960e01b81526001600160a01b0383166004820152602401610d9d565b80515f0361162f5760405163ea69a8ad60e01b815260040160405180910390fd5b600180546001600160a01b0319166001600160a01b03841690811790915560405163189acdbd60e31b815230600482015263c4d66de8906024015f604051808303815f87803b158015611680575f80fd5b505af1158015611692573d5f803e3d5ffd5b5050604051632330f24760e01b81526001600160a01b038516600482015273__$fb599632d08395912d9d70eb2f0f93b5e2$__9250632330f2479150602401602060405180830381865af41580156116ec573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611710919061226d565b61173857604051637595cb1960e01b81526001600160a01b0383166004820152602401610d9d565b61174182611857565b5f61174c828261244e565b5073__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015611794573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906117b89190612508565b600360146101000a8154816001600160601b0302191690836001600160601b03160217905550610de461186b565b5f825f0182815481106117fb576117fb61229d565b905f5260205f200154905092915050565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a0054600160401b900460ff1661185557604051631afcd79f60e31b815260040160405180910390fd5b565b61185f61180c565b61186881611aa2565b50565b61187361180c565b61192d61187e611ab3565b73__$7ca0443fea8aec4ba68c2e8d18c5a8d73e$__635a8196626118a0611ab3565b600260016118ca60408051808201909152600981526841646d696e526f6c6560b81b602082015290565b6040518563ffffffff1660e01b81526004016118e9949392919061252e565b60c060405180830381865af4158015611904573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906119289190612572565b611b04565b611a463060075f73__$1d92393fa9ccd763988368ce8a1cb90d26$__6368aebf7b60015f9054906101000a90046001600160a01b03166001600160a01b03166375b238fc6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561199e573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906119c2919061223e565b6040516001600160e01b031960e084901b1681526001600160401b039091166004820152602401602060405180830381865af4158015611a04573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611a28919061223e565b6001600160401b0316815260208101919091526040015f2090611e3f565b50611855611a52611e53565b73__$7ca0443fea8aec4ba68c2e8d18c5a8d73e$__635a819662611a74611ab3565b600163ffffffff6118ca60408051808201909152600a8152695075626c6963526f6c6560b01b602082015290565b611aaa61180c565b611868816114aa565b6040516368aebf7b60e01b81525f600482018190529073__$1d92393fa9ccd763988368ce8a1cb90d26$__906368aebf7b906024015b602060405180830381865af4158015610eb5573d5f803e3d5ffd5b73__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__639fa6a6e36040518163ffffffff1660e01b8152600401602060405180830381865af4158015611b4b573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611b6f91906122e0565b64ffffffffff16606082015260408051636ac5db1960e01b8152905173__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__91636ac5db199160048083019260209291908290030181865af4158015611bc9573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611bed91906122e0565b64ffffffffff1660808201526001600160401b038083165f90815260046020908152604090912083518154931667ffffffffffffffff1984168117825591840151849391929091839168ffffffffffffffffff1990911617600160401b836003811115611c5c57611c5c611f3d565b021790555060408281015182546060850151608086015164ffffffffff908116600160901b0264ffffffffff60901b1991909216600160681b0264ffffffffff60681b1963ffffffff909516600160481b029490941671ffffffffffffffffff0000000000000000001990931692909217929092171617825560a092830151600192830155805180820182526001600160401b03808716808352602080840186815296880180515f908152600583528681209551865499511515600160401b0268ffffffffffffffffff19909a169086161798909817909455600680549687018155875260048087047ff652222313e28459528d920b65115c16c04f3efc82aaedc97be59f3f377c0d3f01805460039098166008026101000a938402939094021990961691909117909155850151855191519251631623433d60e31b81527f089dc3e37715ee5f5f527a09ca053081e6a74ab2cde2b4471c37f8b9b81af45c9594889492939273__$9a094f9b231ed0f5f85a69be8408d93180$__9263b11a19e892611ded92910190815260200190565b5f60405180830381865af4158015611e07573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052611e2e91908101906125f5565b6040516114ff959493929190612669565b5f610a45836001600160a01b038416611e93565b6040516368aebf7b60e01b81526001600160401b0360048201525f9073__$1d92393fa9ccd763988368ce8a1cb90d26$__906368aebf7b90602401611ae9565b5f818152600183016020526040812054611ed857508154600181810184555f848152602080822090930184905584548482528286019093526040902091909155610534565b505f610534565b6001600160401b0381168114611868575f80fd5b5f60208284031215611f03575f80fd5b8135610a4581611edf565b6001600160a01b0381168114611868575f80fd5b5f60208284031215611f32575f80fd5b8135610a4581611f0e565b634e487b7160e01b5f52602160045260245ffd5b815181526020820151608082019060078110611f6f57611f6f611f3d565b806020840152506001600160401b03604084015116604083015264ffffffffff606084015116606083015292915050565b5f8060408385031215611fb1575f80fd5b8235611fbc81611f0e565b946020939093013593505050565b5f60208284031215611fda575f80fd5b5035919050565b5f8060408385031215611ff2575f80fd5b8235611ffd81611edf565b9150602083013561200d81611f0e565b809150509250929050565b6004811061202857612028611f3d565b9052565b81516001600160401b0316815260208083015160c083019161205090840182612018565b5063ffffffff604084015116604083015264ffffffffff606084015116606083015264ffffffffff608084015116608083015260a083015160a083015292915050565b634e487b7160e01b5f52604160045260245ffd5b60405160c081016001600160401b03811182821017156120c9576120c9612093565b60405290565b604051601f8201601f191681016001600160401b03811182821017156120f7576120f7612093565b604052919050565b5f6001600160401b0382111561211757612117612093565b50601f01601f191660200190565b5f82601f830112612134575f80fd5b8135612147612142826120ff565b6120cf565b81815284602083860101111561215b575f80fd5b816020850160208301375f918101602001919091529392505050565b5f60208284031215612187575f80fd5b81356001600160401b0381111561219c575f80fd5b6121a884828501612125565b949350505050565b5f80604083850312156121c1575f80fd5b8235611fbc81611edf565b5f80604083850312156121dd575f80fd5b82356121e881611f0e565b915060208301356001600160401b03811115612202575f80fd5b61086c85828601612125565b6001600160e01b031981168114611868575f80fd5b5f60208284031215612233575f80fd5b8151610a458161220e565b5f6020828403121561224e575f80fd5b8151610a4581611edf565b80518015158114612268575f80fd5b919050565b5f6020828403121561227d575f80fd5b610a4582612259565b5f60208284031215612296575f80fd5b5051919050565b634e487b7160e01b5f52603260045260245ffd5b5f602082840312156122c1575f80fd5b8151610a4581611f0e565b805164ffffffffff81168114612268575f80fd5b5f602082840312156122f0575f80fd5b610a45826122cc565b5f60208284031215612309575f80fd5b815160ff81168114610a45575f80fd5b805163ffffffff81168114612268575f80fd5b5f806040838503121561233d575f80fd5b61234683612259565b915061235460208401612319565b90509250929050565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081525f610a45602083018461235d565b604081525f6123af604083018561235d565b82810360208401526123c1818561235d565b95945050505050565b600181811c908216806123de57607f821691505b6020821081036123fc57634e487b7160e01b5f52602260045260245ffd5b50919050565b601f82111561244957805f5260205f20601f840160051c810160208510156124275750805b601f840160051c820191505b81811015612446575f8155600101612433565b50505b505050565b81516001600160401b0381111561246757612467612093565b61247b8161247584546123ca565b84612402565b6020601f8211600181146124ad575f83156124965750848201515b5f19600385901b1c1916600184901b178455612446565b5f84815260208120601f198516915b828110156124dc57878501518255602094850194600190920191016124bc565b50848210156124f957868401515f19600387901b60f8161c191681555b50505050600190811b01905550565b5f60208284031215612518575f80fd5b81516001600160601b0381168114610a45575f80fd5b6001600160401b03851681526125476020820185612018565b63ffffffff83166040820152608060608201525f612568608083018461235d565b9695505050505050565b5f60c0828403128015612583575f80fd5b5061258c6120a7565b825161259781611edf565b81526020830151600481106125aa575f80fd5b60208201526125bb60408401612319565b60408201526125cc606084016122cc565b60608201526125dd608084016122cc565b608082015260a0928301519281019290925250919050565b5f60208284031215612605575f80fd5b81516001600160401b0381111561261a575f80fd5b8201601f8101841361262a575f80fd5b8051612638612142826120ff565b81815285602083850101111561264c575f80fd5b8160208401602083015e5f91810160200191909152949350505050565b60a081525f80875461267a816123ca565b8060a0860152600182165f811461269857600181146126b4576126e5565b60ff19831660c087015260c082151560051b87010193506126e5565b8a5f5260205f205f5b838110156126dc57815488820160c001526001909101906020016126bd565b870160c0019450505b5050506001600160401b03871660208401526127046040840187612018565b6001600160401b03851660608401528281036080840152612725818561235d565b9897505050505050505056fef3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00a264697066735822122040cfc09af2fb3e2076f49787910a2bb8edd12fe8881a1046c50246b7802c4b9664736f6c634300081a0033",
1415
+ "deployedBytecode": "0x608060405234801561000f575f80fd5b50600436106101f2575f3560e01c806376b707b711610114578063b3ecf236116100a9578063d5f3948811610079578063d5f39488146104aa578063d78a83b1146104bb578063dd22b08a146104ce578063f399e22e146104d6578063f60458ba146104e9575f80fd5b8063b3ecf2361461045f578063bf7e214f14610467578063c6a0017914610484578063d00cce4114610497575f80fd5b806387c73e5a116100e457806387c73e5a146104105780638fb36037146104235780639cad005214610444578063a4e2d63414610457575f80fd5b806376b707b7146103c65780637a9e5e4b146103e05780637f0cf947146103f55780638308ceb114610408575f80fd5b80633fd855611161018a578063605aa10a1161015a578063605aa10a1461037c57806366c3bc951461038f5780636bd1c0eb146103a2578063728a61a8146103b3575f80fd5b80633fd8556114610316578063480cebd1146103415780635ab1bd53146103545780635bfa50271461035c575f80fd5b806326decd40116101c557806326decd40146102985780633406b152146102bb57806335471f80146102fb578063392f5f641461030e575f80fd5b806303014974146101f657806312e1ebc51461021c57806324913ce61461023c57806326d60fb414610290575b5f80fd5b610209610204366004611ef3565b610514565b6040519081526020015b60405180910390f35b61022f61022a366004611f22565b61053a565b6040516102139190611f51565b61024f61024a366004611fa0565b6105e6565b60408051835181526020808501516001600160e01b031916908201529281015164ffffffffff16908301526001600160401b03166060820152608001610213565b600a54610209565b6102ab6102a6366004611f22565b610876565b6040519015158152602001610213565b6102e36102c9366004611fca565b5f908152600960205260409020546001600160a01b031690565b6040516001600160a01b039091168152602001610213565b610209610309366004611f22565b610953565b600654610209565b610329610324366004611fca565b6109dd565b6040516001600160401b039091168152602001610213565b6102ab61034f366004611fe1565b610a1f565b6102e3610a4c565b61036f61036a366004611ef3565b610abc565b604051610213919061202c565b6102ab61038a366004611f22565b610b8f565b6102ab61039d366004611ef3565b610c06565b6002546001600160a01b03166102e3565b6102e36103c1366004611fca565b610cae565b6103ce610cdc565b60405160ff9091168152602001610213565b6103f36103ee366004611f22565b610d47565b005b6102ab610403366004611fe1565b610de8565b610329610e6e565b6102ab61041e366004611ef3565b610ed9565b61042b610f16565b6040516001600160e01b03199091168152602001610213565b610329610452366004612177565b610f4c565b6102ab610fe5565b610329611050565b5f80516020612732833981519152546001600160a01b03166102e3565b6102ab610492366004611ef3565b611097565b6102ab6104a5366004612177565b6110f8565b6003546001600160a01b03166102e3565b6102e36104c93660046121b0565b611312565b6102e3611333565b6103f36104e43660046121cc565b611393565b600354600160a01b90046001600160601b03166040516001600160601b039091168152602001610213565b6001600160401b0381165f908152600760205260408120610534906114a1565b92915050565b60408051608080820183525f8083526020808401829052838501829052606084018290526001600160a01b038616825260088152908490208451928301909452835482526001840154929391929083019060ff16600681111561059f5761059f611f3d565b60068111156105b0576105b0611f3d565b81526001919091015461010081046001600160401b03166020830152600160481b900464ffffffffff1660409091015292915050565b604080516060810182525f80825260208083018290528284018290526001600160a01b0386168252600b9052828120925163dfe63db960e01b81526004810193909352602483018490529091819073__$8df0087758613aef8a614b5774fdb3323b$__9063dfe63db990604401602060405180830381865af415801561066e573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906106929190612223565b6001600160a01b038681165f908152600c602090815260408083206001600160e01b03198681168086529184529382902082516060810184528154815260019182015460e081901b9096169481019490945264010000000090940464ffffffffff168383015292549051636ea1af2560e11b8152600481019390935290965092935073__$1d92393fa9ccd763988368ce8a1cb90d26$__926368aebf7b921690636d5115bd90899073__$0904195350e4c23ecb1d51df0a32586dcd$__9063dd435e4a90602401602060405180830381865af4158015610774573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906107989190612223565b6040516001600160e01b031960e085901b811682526001600160a01b03909316600482015291166024820152604401602060405180830381865afa1580156107e2573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610806919061223e565b6040516001600160e01b031960e084901b1681526001600160401b039091166004820152602401602060405180830381865af4158015610848573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061086c919061223e565b9150509250929050565b60015460408051632938b58d60e21b815290515f926001600160a01b03169163a4e2d6349160048083019260209291908290030181865afa1580156108bd573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906108e1919061226d565b80610534575060015460405163a166aa8960e01b81526001600160a01b0384811660048301529091169063a166aa8990602401602060405180830381865afa15801561092f573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610534919061226d565b6001600160a01b0381165f908152600b6020526040808220905163868b3e0760e01b8152600481019190915273__$8df0087758613aef8a614b5774fdb3323b$__9063868b3e0790602401602060405180830381865af41580156109b9573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906105349190612286565b5f600682815481106109f1576109f161229d565b905f5260205f2090600491828204019190066008029054906101000a90046001600160401b03169050919050565b6001600160401b038083165f908152600460205260408120549091610a45911683610de8565b9392505050565b60015460408051635ab1bd5360e01b815290515f926001600160a01b031691635ab1bd539160048083019260209291908290030181865afa158015610a93573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610ab791906122b1565b905090565b6040805160c080820183525f8083526020808401829052838501829052606084018290526080840182905260a084018290526001600160401b038681168352600482529185902085519384019095528454918216835292939192830190600160401b900460ff166003811115610b3457610b34611f3d565b6003811115610b4557610b45611f3d565b8152815463ffffffff600160481b820416602083015264ffffffffff600160681b820481166040840152600160901b90910416606082015260019091015460809091015292915050565b6001600160a01b0381165f90815260086020526040808220600101549051638d38cd4b60e01b8152600160481b90910464ffffffffff16600482015273__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__90638d38cd4b906024015b602060405180830381865af415801561092f573d5f803e3d5ffd5b6001600160401b0381165f908152600460208181526040808420548151639fa6a6e360e01b8152915161053494600160901b90920464ffffffffff169373__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__93639fa6a6e39381810193918290030181865af4158015610c7b573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610c9f91906122e0565b64ffffffffff90811691161190565b5f600a8281548110610cc257610cc261229d565b5f918252602090912001546001600160a01b031692915050565b600154604080516376b707b760e01b815290515f926001600160a01b0316916376b707b79160048083019260209291908290030181865afa158015610d23573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610ab791906122f9565b33610d665f80516020612732833981519152546001600160a01b031690565b6001600160a01b0316816001600160a01b031614610da65760405162d1953b60e31b81526001600160a01b03821660048201526024015b60405180910390fd5b816001600160a01b03163b5f03610ddb576040516361798f2f60e11b81526001600160a01b0383166004820152602401610d9d565b610de4826114aa565b5050565b6001546040516368fc2b7760e11b81526001600160401b03841660048201526001600160a01b0383811660248301525f92839291169063d1f856ee906044016040805180830381865afa158015610e41573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610e65919061232c565b50949350505050565b60015460408051631e53e01560e11b815290515f926001600160a01b031691633ca7c02a9160048083019260209291908290030181865afa158015610eb5573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610ab7919061223e565b5f60036001600160401b0383165f90815260046020526040902054600160401b900460ff166003811115610f0f57610f0f611f3d565b1492915050565b5f8051602061273283398151915280545f9190600160a01b900460ff16610f3d575f610f46565b638fb3603760e01b5b91505090565b5f60055f73__$9a094f9b231ed0f5f85a69be8408d93180$__63cdc23e69856040518263ffffffff1660e01b8152600401610f87919061238b565b602060405180830381865af4158015610fa2573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610fc69190612286565b815260208101919091526040015f20546001600160401b031692915050565b60015460408051632938b58d60e21b815290515f926001600160a01b03169163a4e2d6349160048083019260209291908290030181865afa15801561102c573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610ab7919061226d565b60015460408051631d6c8e3f60e21b815290515f926001600160a01b0316916375b238fc9160048083019260209291908290030181865afa158015610eb5573d5f803e3d5ffd5b6001600160401b0381165f908152600460208190526040808320549051638d38cd4b60e01b8152600160681b90910464ffffffffff169181019190915273__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__90638d38cd4b90602401610beb565b5f73__$9a094f9b231ed0f5f85a69be8408d93180$__6321a496428361113a60408051808201909152600981526841646d696e526f6c6560b81b602082015290565b6040518363ffffffff1660e01b815260040161115792919061239d565b602060405180830381865af4158015611172573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611196919061226d565b8061123a575073__$9a094f9b231ed0f5f85a69be8408d93180$__6321a49642836111de60408051808201909152600a8152695075626c6963526f6c6560b01b602082015290565b6040518363ffffffff1660e01b81526004016111fb92919061239d565b602060405180830381865af4158015611216573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061123a919061226d565b1561124757506001919050565b60055f73__$9a094f9b231ed0f5f85a69be8408d93180$__63cdc23e69856040518263ffffffff1660e01b8152600401611281919061238b565b602060405180830381865af415801561129c573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906112c09190612286565b8152602081019190915260409081015f2054905163a42e52e960e01b81526001600160401b03909116600482015273__$1d92393fa9ccd763988368ce8a1cb90d26$__9063a42e52e990602401610beb565b6001600160401b0382165f908152600760205260408120610a45908361150b565b5f61133c610a4c565b600354604051631c5da14d60e11b8152600160a01b9091046001600160601b031660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015610a93573d5f803e3d5ffd5b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a008054600160401b810460ff1615906001600160401b03165f811580156113d75750825b90505f826001600160401b031660011480156113f25750303b155b905081158015611400575080155b1561141e5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561144857845460ff60401b1916600160401b1785555b6114528787611516565b831561149857845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50505050505050565b5f610534825490565b5f8051602061273283398151915280546001600160a01b0319166001600160a01b03831690811782556040519081527f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad906020015b60405180910390a15050565b5f610a4583836117e6565b61151e61180c565b6003546001600160a01b031661154157600380546001600160a01b031916331790555b6003546001600160a01b0316331461156c5760405163410f583d60e11b815260040160405180910390fd5b604051631627905560e01b81526001600160a01b038316600482015273__$fb599632d08395912d9d70eb2f0f93b5e2$__90631627905590602401602060405180830381865af41580156115c2573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906115e6919061226d565b61160e5760405163a91c340960e01b81526001600160a01b0383166004820152602401610d9d565b80515f0361162f5760405163ea69a8ad60e01b815260040160405180910390fd5b600180546001600160a01b0319166001600160a01b03841690811790915560405163189acdbd60e31b815230600482015263c4d66de8906024015f604051808303815f87803b158015611680575f80fd5b505af1158015611692573d5f803e3d5ffd5b5050604051632330f24760e01b81526001600160a01b038516600482015273__$fb599632d08395912d9d70eb2f0f93b5e2$__9250632330f2479150602401602060405180830381865af41580156116ec573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611710919061226d565b61173857604051637595cb1960e01b81526001600160a01b0383166004820152602401610d9d565b61174182611857565b5f61174c828261244e565b5073__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015611794573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906117b89190612508565b600360146101000a8154816001600160601b0302191690836001600160601b03160217905550610de461186b565b5f825f0182815481106117fb576117fb61229d565b905f5260205f200154905092915050565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a0054600160401b900460ff1661185557604051631afcd79f60e31b815260040160405180910390fd5b565b61185f61180c565b61186881611aa2565b50565b61187361180c565b61192d61187e611ab3565b73__$7ca0443fea8aec4ba68c2e8d18c5a8d73e$__635a8196626118a0611ab3565b600260016118ca60408051808201909152600981526841646d696e526f6c6560b81b602082015290565b6040518563ffffffff1660e01b81526004016118e9949392919061252e565b60c060405180830381865af4158015611904573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906119289190612572565b611b04565b611a463060075f73__$1d92393fa9ccd763988368ce8a1cb90d26$__6368aebf7b60015f9054906101000a90046001600160a01b03166001600160a01b03166375b238fc6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561199e573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906119c2919061223e565b6040516001600160e01b031960e084901b1681526001600160401b039091166004820152602401602060405180830381865af4158015611a04573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611a28919061223e565b6001600160401b0316815260208101919091526040015f2090611e3f565b50611855611a52611e53565b73__$7ca0443fea8aec4ba68c2e8d18c5a8d73e$__635a819662611a74611ab3565b600163ffffffff6118ca60408051808201909152600a8152695075626c6963526f6c6560b01b602082015290565b611aaa61180c565b611868816114aa565b6040516368aebf7b60e01b81525f600482018190529073__$1d92393fa9ccd763988368ce8a1cb90d26$__906368aebf7b906024015b602060405180830381865af4158015610eb5573d5f803e3d5ffd5b73__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__639fa6a6e36040518163ffffffff1660e01b8152600401602060405180830381865af4158015611b4b573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611b6f91906122e0565b64ffffffffff16606082015260408051636ac5db1960e01b8152905173__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__91636ac5db199160048083019260209291908290030181865af4158015611bc9573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611bed91906122e0565b64ffffffffff1660808201526001600160401b038083165f90815260046020908152604090912083518154931667ffffffffffffffff1984168117825591840151849391929091839168ffffffffffffffffff1990911617600160401b836003811115611c5c57611c5c611f3d565b021790555060408281015182546060850151608086015164ffffffffff908116600160901b0264ffffffffff60901b1991909216600160681b0264ffffffffff60681b1963ffffffff909516600160481b029490941671ffffffffffffffffff0000000000000000001990931692909217929092171617825560a092830151600192830155805180820182526001600160401b03808716808352602080840186815296880180515f908152600583528681209551865499511515600160401b0268ffffffffffffffffff19909a169086161798909817909455600680549687018155875260048087047ff652222313e28459528d920b65115c16c04f3efc82aaedc97be59f3f377c0d3f01805460039098166008026101000a938402939094021990961691909117909155850151855191519251631623433d60e31b81527f089dc3e37715ee5f5f527a09ca053081e6a74ab2cde2b4471c37f8b9b81af45c9594889492939273__$9a094f9b231ed0f5f85a69be8408d93180$__9263b11a19e892611ded92910190815260200190565b5f60405180830381865af4158015611e07573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052611e2e91908101906125f5565b6040516114ff959493929190612669565b5f610a45836001600160a01b038416611e93565b6040516368aebf7b60e01b81526001600160401b0360048201525f9073__$1d92393fa9ccd763988368ce8a1cb90d26$__906368aebf7b90602401611ae9565b5f818152600183016020526040812054611ed857508154600181810184555f848152602080822090930184905584548482528286019093526040902091909155610534565b505f610534565b6001600160401b0381168114611868575f80fd5b5f60208284031215611f03575f80fd5b8135610a4581611edf565b6001600160a01b0381168114611868575f80fd5b5f60208284031215611f32575f80fd5b8135610a4581611f0e565b634e487b7160e01b5f52602160045260245ffd5b815181526020820151608082019060078110611f6f57611f6f611f3d565b806020840152506001600160401b03604084015116604083015264ffffffffff606084015116606083015292915050565b5f8060408385031215611fb1575f80fd5b8235611fbc81611f0e565b946020939093013593505050565b5f60208284031215611fda575f80fd5b5035919050565b5f8060408385031215611ff2575f80fd5b8235611ffd81611edf565b9150602083013561200d81611f0e565b809150509250929050565b6004811061202857612028611f3d565b9052565b81516001600160401b0316815260208083015160c083019161205090840182612018565b5063ffffffff604084015116604083015264ffffffffff606084015116606083015264ffffffffff608084015116608083015260a083015160a083015292915050565b634e487b7160e01b5f52604160045260245ffd5b60405160c081016001600160401b03811182821017156120c9576120c9612093565b60405290565b604051601f8201601f191681016001600160401b03811182821017156120f7576120f7612093565b604052919050565b5f6001600160401b0382111561211757612117612093565b50601f01601f191660200190565b5f82601f830112612134575f80fd5b8135612147612142826120ff565b6120cf565b81815284602083860101111561215b575f80fd5b816020850160208301375f918101602001919091529392505050565b5f60208284031215612187575f80fd5b81356001600160401b0381111561219c575f80fd5b6121a884828501612125565b949350505050565b5f80604083850312156121c1575f80fd5b8235611fbc81611edf565b5f80604083850312156121dd575f80fd5b82356121e881611f0e565b915060208301356001600160401b03811115612202575f80fd5b61086c85828601612125565b6001600160e01b031981168114611868575f80fd5b5f60208284031215612233575f80fd5b8151610a458161220e565b5f6020828403121561224e575f80fd5b8151610a4581611edf565b80518015158114612268575f80fd5b919050565b5f6020828403121561227d575f80fd5b610a4582612259565b5f60208284031215612296575f80fd5b5051919050565b634e487b7160e01b5f52603260045260245ffd5b5f602082840312156122c1575f80fd5b8151610a4581611f0e565b805164ffffffffff81168114612268575f80fd5b5f602082840312156122f0575f80fd5b610a45826122cc565b5f60208284031215612309575f80fd5b815160ff81168114610a45575f80fd5b805163ffffffff81168114612268575f80fd5b5f806040838503121561233d575f80fd5b61234683612259565b915061235460208401612319565b90509250929050565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081525f610a45602083018461235d565b604081525f6123af604083018561235d565b82810360208401526123c1818561235d565b95945050505050565b600181811c908216806123de57607f821691505b6020821081036123fc57634e487b7160e01b5f52602260045260245ffd5b50919050565b601f82111561244957805f5260205f20601f840160051c810160208510156124275750805b601f840160051c820191505b81811015612446575f8155600101612433565b50505b505050565b81516001600160401b0381111561246757612467612093565b61247b8161247584546123ca565b84612402565b6020601f8211600181146124ad575f83156124965750848201515b5f19600385901b1c1916600184901b178455612446565b5f84815260208120601f198516915b828110156124dc57878501518255602094850194600190920191016124bc565b50848210156124f957868401515f19600387901b60f8161c191681555b50505050600190811b01905550565b5f60208284031215612518575f80fd5b81516001600160601b0381168114610a45575f80fd5b6001600160401b03851681526125476020820185612018565b63ffffffff83166040820152608060608201525f612568608083018461235d565b9695505050505050565b5f60c0828403128015612583575f80fd5b5061258c6120a7565b825161259781611edf565b81526020830151600481106125aa575f80fd5b60208201526125bb60408401612319565b60408201526125cc606084016122cc565b60608201526125dd608084016122cc565b608082015260a0928301519281019290925250919050565b5f60208284031215612605575f80fd5b81516001600160401b0381111561261a575f80fd5b8201601f8101841361262a575f80fd5b8051612638612142826120ff565b81815285602083850101111561264c575f80fd5b8160208401602083015e5f91810160200191909152949350505050565b60a081525f80875461267a816123ca565b8060a0860152600182165f811461269857600181146126b4576126e5565b60ff19831660c087015260c082151560051b87010193506126e5565b8a5f5260205f205f5b838110156126dc57815488820160c001526001909101906020016126bd565b870160c0019450505b5050506001600160401b03871660208401526127046040840187612018565b6001600160401b03851660608401528281036080840152612725818561235d565b9897505050505050505056fef3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00a264697066735822122040cfc09af2fb3e2076f49787910a2bb8edd12fe8881a1046c50246b7802c4b9664736f6c634300081a0033",
1416
+ "linkReferences": {
1417
+ "contracts/authorization/AccessAdminLib.sol": {
1418
+ "AccessAdminLib": [
1087
1419
  {
1088
- "internalType": "bytes4",
1089
- "name": "selector",
1090
- "type": "bytes4"
1420
+ "length": 20,
1421
+ "start": 6300
1091
1422
  },
1092
1423
  {
1093
- "internalType": "string",
1094
- "name": "name",
1095
- "type": "string"
1096
- }
1097
- ],
1098
- "name": "toFunction",
1099
- "outputs": [
1100
- {
1101
- "components": [
1102
- {
1103
- "internalType": "Str",
1104
- "name": "name",
1105
- "type": "bytes32"
1106
- },
1107
- {
1108
- "internalType": "Selector",
1109
- "name": "selector",
1110
- "type": "bytes4"
1111
- },
1112
- {
1113
- "internalType": "Timestamp",
1114
- "name": "createdAt",
1115
- "type": "uint40"
1116
- }
1117
- ],
1118
- "internalType": "struct IAccess.FunctionInfo",
1119
- "name": "",
1120
- "type": "tuple"
1424
+ "length": 20,
1425
+ "start": 6768
1121
1426
  }
1122
- ],
1123
- "stateMutability": "view",
1124
- "type": "function"
1427
+ ]
1125
1428
  },
1126
- {
1127
- "inputs": [
1429
+ "contracts/shared/ContractLib.sol": {
1430
+ "ContractLib": [
1128
1431
  {
1129
- "internalType": "RoleId",
1130
- "name": "adminRoleId",
1131
- "type": "uint64"
1132
- },
1133
- {
1134
- "internalType": "enum IAccess.RoleType",
1135
- "name": "roleType",
1136
- "type": "uint8"
1137
- },
1138
- {
1139
- "internalType": "uint32",
1140
- "name": "maxMemberCount",
1141
- "type": "uint32"
1432
+ "length": 20,
1433
+ "start": 5542
1142
1434
  },
1143
1435
  {
1144
- "internalType": "string",
1145
- "name": "name",
1146
- "type": "string"
1436
+ "length": 20,
1437
+ "start": 5838
1147
1438
  }
1148
- ],
1149
- "name": "toRole",
1150
- "outputs": [
1439
+ ]
1440
+ },
1441
+ "contracts/type/NftId.sol": {
1442
+ "NftIdLib": [
1151
1443
  {
1152
- "components": [
1153
- {
1154
- "internalType": "RoleId",
1155
- "name": "adminRoleId",
1156
- "type": "uint64"
1157
- },
1158
- {
1159
- "internalType": "enum IAccess.RoleType",
1160
- "name": "roleType",
1161
- "type": "uint8"
1162
- },
1163
- {
1164
- "internalType": "uint32",
1165
- "name": "maxMemberCount",
1166
- "type": "uint32"
1167
- },
1168
- {
1169
- "internalType": "Str",
1170
- "name": "name",
1171
- "type": "bytes32"
1172
- },
1173
- {
1174
- "internalType": "Timestamp",
1175
- "name": "createdAt",
1176
- "type": "uint40"
1177
- },
1178
- {
1179
- "internalType": "Timestamp",
1180
- "name": "pausedAt",
1181
- "type": "uint40"
1182
- }
1183
- ],
1184
- "internalType": "struct IAccess.RoleInfo",
1185
- "name": "",
1186
- "type": "tuple"
1444
+ "length": 20,
1445
+ "start": 5995
1187
1446
  }
1188
- ],
1189
- "stateMutability": "view",
1190
- "type": "function"
1191
- }
1192
- ],
1193
- "bytecode": "0x6080604052348015600e575f80fd5b506121d28061001c5f395ff3fe608060405234801561000f575f80fd5b50600436106101dc575f3560e01c8063728a61a811610109578063bc62a0a51161009e578063c6a001791161006e578063c6a00179146105bc578063cd55e51b146105cf578063d5f39488146105e2578063d78a83b1146105f3575f80fd5b8063bc62a0a51461052e578063bcfb11b014610563578063bf7e214f1461058c578063c4d66de8146105a9575f80fd5b80638fb36037116100d95780638fb360371461047157806392bdd9bd14610492578063b3ecf23614610513578063b70096131461051b575f80fd5b8063728a61a81461042757806376b707b71461043a5780637a9e5e4b146104545780638308ceb114610469575f80fd5b806335471f801161017f5780635bfa50271161014f5780635bfa5027146103ce5780635cb870b1146103ee578063605aa10a1461040157806364fc314214610414575f80fd5b806335471f8014610380578063392f5f64146103935780633fd855611461039b5780635ab1bd53146103c6575f80fd5b806324913ce6116101ba57806324913ce6146102c157806326d60fb41461031557806326decd401461031d5780633406b15214610340575f80fd5b806303014974146101e057806312e1ebc51461020657806315fb0abb146102a1575b5f80fd5b6101f36101ee366004611be0565b610606565b6040519081526020015b60405180910390f35b610276610214366004611c0f565b60408051606080820183525f80835260208084018290529284018190526001600160a01b03949094168452600682529282902082519384018352805484526001015460ff8116151591840191909152610100900464ffffffffff169082015290565b60408051825181526020808401511515908201529181015164ffffffffff16908201526060016101fd565b6102b46102af366004611cfb565b61062c565b6040516101fd9190611d3d565b6102d46102cf366004611d6f565b6107cf565b60408051835181526020808501516001600160e01b031916908201529281015164ffffffffff16908301526001600160401b031660608201526080016101fd565b6008546101f3565b61033061032b366004611c0f565b610a5d565b60405190151581526020016101fd565b61036861034e366004611d99565b5f908152600760205260409020546001600160a01b031690565b6040516001600160a01b0390911681526020016101fd565b6101f361038e366004611c0f565b610ac9565b6004546101f3565b6103ae6103a9366004611d99565b610b53565b6040516001600160401b0390911681526020016101fd565b610368610b95565b6103e16103dc366004611be0565b610c0e565b6040516101fd9190611de4565b6103e16103fc366004611e5c565b610ce2565b61033061040f366004611c0f565b610ebf565b610330610422366004611ecf565b610f34565b610368610435366004611d99565b610fb7565b610442610fe5565b60405160ff90911681526020016101fd565b610467610462366004611c0f565b611059565b005b6103ae6110fa565b61047961116e565b6040516001600160e01b031990911681526020016101fd565b6104ed6104a0366004611d99565b604080518082019091525f8082526020820152505f908152600360209081526040918290208251808401909352546001600160401b0381168352600160401b900460ff1615159082015290565b6040805182516001600160401b03168152602092830151151592810192909252016101fd565b6103ae6111a4565b610330610529366004611f06565b6111f4565b6105566040518060400160405280600981526020016841646d696e526f6c6560b81b81525081565b6040516101fd9190611f7c565b6105566040518060400160405280600a8152602001695075626c6963526f6c6560b01b81525081565b5f8051602061217d833981519152546001600160a01b0316610368565b6104676105b7366004611c0f565b6112da565b6103306105ca366004611be0565b6113e6565b6103306105dd366004611ecf565b611442565b6001546001600160a01b0316610368565b610368610601366004611f8e565b611470565b6001600160401b0381165f90815260056020526040812061062690611491565b92915050565b60408051606080820183525f808352602083018190528284015282519081019283905263cdc23e6960e01b909252908073__$9a094f9b231ed0f5f85a69be8408d93180$__63cdc23e696106838660648501611f7c565b602060405180830381865af415801561069e573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906106c29190611faa565b8152604051636b15ee8b60e01b81526001600160e01b03198616600482015260209091019073__$0904195350e4c23ecb1d51df0a32586dcd$__90636b15ee8b90602401602060405180830381865af4158015610721573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906107459190611fc1565b6001600160e01b031916815260200173__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af415801561079b573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906107bf9190611fdc565b64ffffffffff1690529392505050565b604080516060810182525f80825260208083018290528284018290526001600160a01b038616825260099052828120925163dfe63db960e01b81526004810193909352602483018490529091819073__$8df0087758613aef8a614b5774fdb3323b$__9063dfe63db990604401602060405180830381865af4158015610857573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061087b9190611fc1565b6001600160a01b038681165f908152600a602090815260408083206001600160e01b031986811680865291845282852083516060810185528154815260019091015460e081901b90921694810194909452640100000000900464ffffffffff168383015292549051636ea1af2560e11b8152600481019390935290965092935073__$1d92393fa9ccd763988368ce8a1cb90d26$__92637c3940bf921690636d5115bd90899073__$0904195350e4c23ecb1d51df0a32586dcd$__9063dd435e4a90602401602060405180830381865af415801561095b573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061097f9190611fc1565b6040516001600160e01b031960e085901b811682526001600160a01b03909316600482015291166024820152604401602060405180830381865afa1580156109c9573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906109ed9190612000565b6040516001600160e01b031960e084901b1681526001600160401b039091166004820152602401602060405180830381865af4158015610a2f573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610a539190612000565b9150509250929050565b5f805460405163a166aa8960e01b81526001600160a01b0384811660048301529091169063a166aa8990602401602060405180830381865afa158015610aa5573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610626919061202f565b6001600160a01b0381165f90815260096020526040808220905163868b3e0760e01b8152600481019190915273__$8df0087758613aef8a614b5774fdb3323b$__9063868b3e0790602401602060405180830381865af4158015610b2f573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906106269190611faa565b5f60048281548110610b6757610b67612048565b905f5260205f2090600491828204019190066008029054906101000a90046001600160401b03169050919050565b5f805f9054906101000a90046001600160a01b03166001600160a01b0316635ab1bd536040518163ffffffff1660e01b8152600401602060405180830381865afa158015610be5573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610c09919061205c565b905090565b6040805160c080820183525f8083526020808401829052838501829052606084018290526080840182905260a084018290526001600160401b038681168352600282529185902085519384019095528454918216835292939192830190600160401b900460ff166003811115610c8657610c86611db0565b6003811115610c9757610c97611db0565b81528154600160481b900463ffffffff1660208201526001820154604082015260029091015464ffffffffff8082166060840152650100000000009091041660809091015292915050565b6040805160c0810182525f80825260208201819052918101829052606081018290526080810182905260a08101919091526040518060c00160405280866001600160401b03168152602001856003811115610d3f57610d3f611db0565b81526020018463ffffffff16815260200173__$9a094f9b231ed0f5f85a69be8408d93180$__63cdc23e69856040518263ffffffff1660e01b8152600401610d879190611f7c565b602060405180830381865af4158015610da2573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610dc69190611faa565b815260200173__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af4158015610e12573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610e369190611fdc565b64ffffffffff16815260200173__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__636ac5db196040518163ffffffff1660e01b8152600401602060405180830381865af4158015610e89573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610ead9190611fdc565b64ffffffffff16905295945050505050565b6001600160a01b0381165f90815260066020526040808220600101549051638d38cd4b60e01b815261010090910464ffffffffff16600482015273__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__90638d38cd4b906024015b602060405180830381865af4158015610aa5573d5f803e3d5ffd5b5f80546040516368fc2b7760e11b81526001600160401b03841660048201526001600160a01b0385811660248301528392169063d1f856ee906044016040805180830381865afa158015610f8a573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610fae9190612077565b50949350505050565b5f60088281548110610fcb57610fcb612048565b5f918252602090912001546001600160a01b031692915050565b5f805f9054906101000a90046001600160a01b03166001600160a01b03166376b707b76040518163ffffffff1660e01b8152600401602060405180830381865afa158015611035573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610c0991906120a1565b336110785f8051602061217d833981519152546001600160a01b031690565b6001600160a01b0316816001600160a01b0316146110b85760405162d1953b60e31b81526001600160a01b03821660048201526024015b60405180910390fd5b816001600160a01b03163b5f036110ed576040516361798f2f60e11b81526001600160a01b03831660048201526024016110af565b6110f68261149a565b5050565b5f805f9054906101000a90046001600160a01b03166001600160a01b0316633ca7c02a6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561114a573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610c099190612000565b5f8051602061217d83398151915280545f9190600160a01b900460ff16611195575f61119e565b638fb3603760e01b5b91505090565b5f805f9054906101000a90046001600160a01b03166001600160a01b03166375b238fc6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561114a573d5f803e3d5ffd5b5f8054604051636ea1af2560e11b81526001600160e01b0319841660048201526001600160a01b039091169063b7009613908690869073__$0904195350e4c23ecb1d51df0a32586dcd$__9063dd435e4a90602401602060405180830381865af4158015611264573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906112889190611fc1565b60405160e085901b6001600160e01b031990811682526001600160a01b0394851660048301529290931660248401521660448201526064016040805180830381865afa158015610f8a573d5f803e3d5ffd5b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a008054600160401b810460ff1615906001600160401b03165f8115801561131e5750825b90505f826001600160401b031660011480156113395750303b155b905081158015611347575080155b156113655760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561138f57845460ff60401b1916600160401b1785555b611398866114fb565b83156113de57845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b505050505050565b6001600160401b0381165f908152600260208190526040808320909101549051638d38cd4b60e01b815264ffffffffff909116600482015273__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__90638d38cd4b90602401610f19565b6001600160401b038082165f90815260026020526040812054909161146991859116610f34565b9392505050565b6001600160401b0382165f90815260056020526040812061146990836115db565b5f610626825490565b5f8051602061217d83398151915280546001600160a01b0319166001600160a01b03831690811782556040519081527f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad906020015b60405180910390a15050565b6115036115e6565b6001546001600160a01b031661152657600180546001600160a01b031916331790555b6001546001600160a01b0316331461155157604051635adaa55f60e11b815260040160405180910390fd5b60405163189acdbd60e31b81523060048201526001600160a01b0382169063c4d66de8906024015f604051808303815f87803b15801561158f575f80fd5b505af11580156115a1573d5f803e3d5ffd5b505050506115ae81611631565b5f80546001600160a01b0319166001600160a01b0383161790556115d0611642565b6115d86117eb565b50565b5f61146983836117f3565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a0054600160401b900460ff1661162f57604051631afcd79f60e31b815260040160405180910390fd5b565b6116396115e6565b6115d881611819565b61164a6115e6565b5f73__$1d92393fa9ccd763988368ce8a1cb90d26$__637c3940bf5f8054906101000a90046001600160a01b03166001600160a01b03166375b238fc6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156116b3573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906116d79190612000565b6040516001600160e01b031960e084901b1681526001600160401b039091166004820152602401602060405180830381865af4158015611719573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061173d9190612000565b905061178461174a61182a565b61177f61175561182a565b6001806040518060400160405280600981526020016841646d696e526f6c6560b81b815250610ce2565b61187b565b6001600160401b0381165f9081526005602052604090206117a59030611b2c565b506115d86117b1611b40565b61177f6117bc61182a565b600263ffffffff6040518060400160405280600a8152602001695075626c6963526f6c6560b01b815250610ce2565b61162f6115e6565b5f825f01828154811061180857611808612048565b905f5260205f200154905092915050565b6118216115e6565b6115d88161149a565b604051637c3940bf60e01b81525f600482018190529073__$1d92393fa9ccd763988368ce8a1cb90d26$__90637c3940bf906024015b602060405180830381865af415801561114a573d5f803e3d5ffd5b73__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af41580156118c2573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906118e69190611fdc565b64ffffffffff1660808201526001600160401b038083165f90815260026020908152604090912083518154931667ffffffffffffffff1984168117825591840151849391929091839168ffffffffffffffffff1990911617600160401b83600381111561195557611955611db0565b0217905550604082810151825463ffffffff909116600160481b026cffffffff0000000000000000001990911617825560608084015160018085019190915560808501516002909401805460a09096015164ffffffffff908116650100000000000269ffffffffffffffffffff1990971695169490941794909417909255805180820182526001600160401b03808716808352602080840187815295880180515f90815260038084528782209651875499511515600160401b0268ffffffffffffffffff19909a169087161798909817909555600480549889018155948590528488047f8a35acfbc15ff81a39ae7d344fd709f28e8600b4aa8c65c6b64bfe7fe36bd19b018054989097166008026101000a92830292909302199096161790935592840151845192519151631623433d60e31b81527f90bccf38fba6eb0172b42feacbb3c44b872faddb5ad70fa8d438cf9ab4459a03948794929373__$9a094f9b231ed0f5f85a69be8408d93180$__9263b11a19e892611adb92910190815260200190565b5f60405180830381865af4158015611af5573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052611b1c91908101906120c1565b6040516114ef9493929190612135565b5f611469836001600160a01b038416611b80565b604051637c3940bf60e01b81526001600160401b0360048201525f9073__$1d92393fa9ccd763988368ce8a1cb90d26$__90637c3940bf90602401611860565b5f818152600183016020526040812054611bc557508154600181810184555f848152602080822090930184905584548482528286019093526040902091909155610626565b505f610626565b6001600160401b03811681146115d8575f80fd5b5f60208284031215611bf0575f80fd5b813561146981611bcc565b6001600160a01b03811681146115d8575f80fd5b5f60208284031215611c1f575f80fd5b813561146981611bfb565b6001600160e01b0319811681146115d8575f80fd5b634e487b7160e01b5f52604160045260245ffd5b604051601f8201601f191681016001600160401b0381118282101715611c7b57611c7b611c3f565b604052919050565b5f6001600160401b03821115611c9b57611c9b611c3f565b50601f01601f191660200190565b5f82601f830112611cb8575f80fd5b8135611ccb611cc682611c83565b611c53565b818152846020838601011115611cdf575f80fd5b816020850160208301375f918101602001919091529392505050565b5f8060408385031215611d0c575f80fd5b8235611d1781611c2a565b915060208301356001600160401b03811115611d31575f80fd5b610a5385828601611ca9565b815181526020808301516001600160e01b0319169082015260408083015164ffffffffff169082015260608101610626565b5f8060408385031215611d80575f80fd5b8235611d8b81611bfb565b946020939093013593505050565b5f60208284031215611da9575f80fd5b5035919050565b634e487b7160e01b5f52602160045260245ffd5b60048110611de057634e487b7160e01b5f52602160045260245ffd5b9052565b81516001600160401b0316815260208083015160c0830191611e0890840182611dc4565b5063ffffffff60408401511660408301526060830151606083015264ffffffffff608084015116608083015264ffffffffff60a08401511660a083015292915050565b63ffffffff811681146115d8575f80fd5b5f805f8060808587031215611e6f575f80fd5b8435611e7a81611bcc565b9350602085013560048110611e8d575f80fd5b92506040850135611e9d81611e4b565b915060608501356001600160401b03811115611eb7575f80fd5b611ec387828801611ca9565b91505092959194509250565b5f8060408385031215611ee0575f80fd5b8235611eeb81611bfb565b91506020830135611efb81611bcc565b809150509250929050565b5f805f60608486031215611f18575f80fd5b8335611f2381611bfb565b92506020840135611f3381611bfb565b91506040840135611f4381611c2a565b809150509250925092565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081525f6114696020830184611f4e565b5f8060408385031215611f9f575f80fd5b8235611d8b81611bcc565b5f60208284031215611fba575f80fd5b5051919050565b5f60208284031215611fd1575f80fd5b815161146981611c2a565b5f60208284031215611fec575f80fd5b815164ffffffffff81168114611469575f80fd5b5f60208284031215612010575f80fd5b815161146981611bcc565b8051801515811461202a575f80fd5b919050565b5f6020828403121561203f575f80fd5b6114698261201b565b634e487b7160e01b5f52603260045260245ffd5b5f6020828403121561206c575f80fd5b815161146981611bfb565b5f8060408385031215612088575f80fd5b6120918361201b565b91506020830151611efb81611e4b565b5f602082840312156120b1575f80fd5b815160ff81168114611469575f80fd5b5f602082840312156120d1575f80fd5b81516001600160401b038111156120e6575f80fd5b8201601f810184136120f6575f80fd5b8051612104611cc682611c83565b818152856020838501011115612118575f80fd5b8160208401602083015e5f91810160200191909152949350505050565b6001600160401b038516815261214e6020820185611dc4565b6001600160401b0383166040820152608060608201525f6121726080830184611f4e565b969550505050505056fef3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00a26469706673582212208a4f883cb75ca55d51253f3a181f96af545db082c36d317df70473afd9a57d9264736f6c634300081a0033",
1194
- "deployedBytecode": "0x608060405234801561000f575f80fd5b50600436106101dc575f3560e01c8063728a61a811610109578063bc62a0a51161009e578063c6a001791161006e578063c6a00179146105bc578063cd55e51b146105cf578063d5f39488146105e2578063d78a83b1146105f3575f80fd5b8063bc62a0a51461052e578063bcfb11b014610563578063bf7e214f1461058c578063c4d66de8146105a9575f80fd5b80638fb36037116100d95780638fb360371461047157806392bdd9bd14610492578063b3ecf23614610513578063b70096131461051b575f80fd5b8063728a61a81461042757806376b707b71461043a5780637a9e5e4b146104545780638308ceb114610469575f80fd5b806335471f801161017f5780635bfa50271161014f5780635bfa5027146103ce5780635cb870b1146103ee578063605aa10a1461040157806364fc314214610414575f80fd5b806335471f8014610380578063392f5f64146103935780633fd855611461039b5780635ab1bd53146103c6575f80fd5b806324913ce6116101ba57806324913ce6146102c157806326d60fb41461031557806326decd401461031d5780633406b15214610340575f80fd5b806303014974146101e057806312e1ebc51461020657806315fb0abb146102a1575b5f80fd5b6101f36101ee366004611be0565b610606565b6040519081526020015b60405180910390f35b610276610214366004611c0f565b60408051606080820183525f80835260208084018290529284018190526001600160a01b03949094168452600682529282902082519384018352805484526001015460ff8116151591840191909152610100900464ffffffffff169082015290565b60408051825181526020808401511515908201529181015164ffffffffff16908201526060016101fd565b6102b46102af366004611cfb565b61062c565b6040516101fd9190611d3d565b6102d46102cf366004611d6f565b6107cf565b60408051835181526020808501516001600160e01b031916908201529281015164ffffffffff16908301526001600160401b031660608201526080016101fd565b6008546101f3565b61033061032b366004611c0f565b610a5d565b60405190151581526020016101fd565b61036861034e366004611d99565b5f908152600760205260409020546001600160a01b031690565b6040516001600160a01b0390911681526020016101fd565b6101f361038e366004611c0f565b610ac9565b6004546101f3565b6103ae6103a9366004611d99565b610b53565b6040516001600160401b0390911681526020016101fd565b610368610b95565b6103e16103dc366004611be0565b610c0e565b6040516101fd9190611de4565b6103e16103fc366004611e5c565b610ce2565b61033061040f366004611c0f565b610ebf565b610330610422366004611ecf565b610f34565b610368610435366004611d99565b610fb7565b610442610fe5565b60405160ff90911681526020016101fd565b610467610462366004611c0f565b611059565b005b6103ae6110fa565b61047961116e565b6040516001600160e01b031990911681526020016101fd565b6104ed6104a0366004611d99565b604080518082019091525f8082526020820152505f908152600360209081526040918290208251808401909352546001600160401b0381168352600160401b900460ff1615159082015290565b6040805182516001600160401b03168152602092830151151592810192909252016101fd565b6103ae6111a4565b610330610529366004611f06565b6111f4565b6105566040518060400160405280600981526020016841646d696e526f6c6560b81b81525081565b6040516101fd9190611f7c565b6105566040518060400160405280600a8152602001695075626c6963526f6c6560b01b81525081565b5f8051602061217d833981519152546001600160a01b0316610368565b6104676105b7366004611c0f565b6112da565b6103306105ca366004611be0565b6113e6565b6103306105dd366004611ecf565b611442565b6001546001600160a01b0316610368565b610368610601366004611f8e565b611470565b6001600160401b0381165f90815260056020526040812061062690611491565b92915050565b60408051606080820183525f808352602083018190528284015282519081019283905263cdc23e6960e01b909252908073__$9a094f9b231ed0f5f85a69be8408d93180$__63cdc23e696106838660648501611f7c565b602060405180830381865af415801561069e573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906106c29190611faa565b8152604051636b15ee8b60e01b81526001600160e01b03198616600482015260209091019073__$0904195350e4c23ecb1d51df0a32586dcd$__90636b15ee8b90602401602060405180830381865af4158015610721573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906107459190611fc1565b6001600160e01b031916815260200173__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af415801561079b573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906107bf9190611fdc565b64ffffffffff1690529392505050565b604080516060810182525f80825260208083018290528284018290526001600160a01b038616825260099052828120925163dfe63db960e01b81526004810193909352602483018490529091819073__$8df0087758613aef8a614b5774fdb3323b$__9063dfe63db990604401602060405180830381865af4158015610857573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061087b9190611fc1565b6001600160a01b038681165f908152600a602090815260408083206001600160e01b031986811680865291845282852083516060810185528154815260019091015460e081901b90921694810194909452640100000000900464ffffffffff168383015292549051636ea1af2560e11b8152600481019390935290965092935073__$1d92393fa9ccd763988368ce8a1cb90d26$__92637c3940bf921690636d5115bd90899073__$0904195350e4c23ecb1d51df0a32586dcd$__9063dd435e4a90602401602060405180830381865af415801561095b573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061097f9190611fc1565b6040516001600160e01b031960e085901b811682526001600160a01b03909316600482015291166024820152604401602060405180830381865afa1580156109c9573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906109ed9190612000565b6040516001600160e01b031960e084901b1681526001600160401b039091166004820152602401602060405180830381865af4158015610a2f573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610a539190612000565b9150509250929050565b5f805460405163a166aa8960e01b81526001600160a01b0384811660048301529091169063a166aa8990602401602060405180830381865afa158015610aa5573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610626919061202f565b6001600160a01b0381165f90815260096020526040808220905163868b3e0760e01b8152600481019190915273__$8df0087758613aef8a614b5774fdb3323b$__9063868b3e0790602401602060405180830381865af4158015610b2f573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906106269190611faa565b5f60048281548110610b6757610b67612048565b905f5260205f2090600491828204019190066008029054906101000a90046001600160401b03169050919050565b5f805f9054906101000a90046001600160a01b03166001600160a01b0316635ab1bd536040518163ffffffff1660e01b8152600401602060405180830381865afa158015610be5573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610c09919061205c565b905090565b6040805160c080820183525f8083526020808401829052838501829052606084018290526080840182905260a084018290526001600160401b038681168352600282529185902085519384019095528454918216835292939192830190600160401b900460ff166003811115610c8657610c86611db0565b6003811115610c9757610c97611db0565b81528154600160481b900463ffffffff1660208201526001820154604082015260029091015464ffffffffff8082166060840152650100000000009091041660809091015292915050565b6040805160c0810182525f80825260208201819052918101829052606081018290526080810182905260a08101919091526040518060c00160405280866001600160401b03168152602001856003811115610d3f57610d3f611db0565b81526020018463ffffffff16815260200173__$9a094f9b231ed0f5f85a69be8408d93180$__63cdc23e69856040518263ffffffff1660e01b8152600401610d879190611f7c565b602060405180830381865af4158015610da2573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610dc69190611faa565b815260200173__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af4158015610e12573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610e369190611fdc565b64ffffffffff16815260200173__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__636ac5db196040518163ffffffff1660e01b8152600401602060405180830381865af4158015610e89573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610ead9190611fdc565b64ffffffffff16905295945050505050565b6001600160a01b0381165f90815260066020526040808220600101549051638d38cd4b60e01b815261010090910464ffffffffff16600482015273__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__90638d38cd4b906024015b602060405180830381865af4158015610aa5573d5f803e3d5ffd5b5f80546040516368fc2b7760e11b81526001600160401b03841660048201526001600160a01b0385811660248301528392169063d1f856ee906044016040805180830381865afa158015610f8a573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610fae9190612077565b50949350505050565b5f60088281548110610fcb57610fcb612048565b5f918252602090912001546001600160a01b031692915050565b5f805f9054906101000a90046001600160a01b03166001600160a01b03166376b707b76040518163ffffffff1660e01b8152600401602060405180830381865afa158015611035573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610c0991906120a1565b336110785f8051602061217d833981519152546001600160a01b031690565b6001600160a01b0316816001600160a01b0316146110b85760405162d1953b60e31b81526001600160a01b03821660048201526024015b60405180910390fd5b816001600160a01b03163b5f036110ed576040516361798f2f60e11b81526001600160a01b03831660048201526024016110af565b6110f68261149a565b5050565b5f805f9054906101000a90046001600160a01b03166001600160a01b0316633ca7c02a6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561114a573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610c099190612000565b5f8051602061217d83398151915280545f9190600160a01b900460ff16611195575f61119e565b638fb3603760e01b5b91505090565b5f805f9054906101000a90046001600160a01b03166001600160a01b03166375b238fc6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561114a573d5f803e3d5ffd5b5f8054604051636ea1af2560e11b81526001600160e01b0319841660048201526001600160a01b039091169063b7009613908690869073__$0904195350e4c23ecb1d51df0a32586dcd$__9063dd435e4a90602401602060405180830381865af4158015611264573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906112889190611fc1565b60405160e085901b6001600160e01b031990811682526001600160a01b0394851660048301529290931660248401521660448201526064016040805180830381865afa158015610f8a573d5f803e3d5ffd5b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a008054600160401b810460ff1615906001600160401b03165f8115801561131e5750825b90505f826001600160401b031660011480156113395750303b155b905081158015611347575080155b156113655760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561138f57845460ff60401b1916600160401b1785555b611398866114fb565b83156113de57845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b505050505050565b6001600160401b0381165f908152600260208190526040808320909101549051638d38cd4b60e01b815264ffffffffff909116600482015273__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__90638d38cd4b90602401610f19565b6001600160401b038082165f90815260026020526040812054909161146991859116610f34565b9392505050565b6001600160401b0382165f90815260056020526040812061146990836115db565b5f610626825490565b5f8051602061217d83398151915280546001600160a01b0319166001600160a01b03831690811782556040519081527f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad906020015b60405180910390a15050565b6115036115e6565b6001546001600160a01b031661152657600180546001600160a01b031916331790555b6001546001600160a01b0316331461155157604051635adaa55f60e11b815260040160405180910390fd5b60405163189acdbd60e31b81523060048201526001600160a01b0382169063c4d66de8906024015f604051808303815f87803b15801561158f575f80fd5b505af11580156115a1573d5f803e3d5ffd5b505050506115ae81611631565b5f80546001600160a01b0319166001600160a01b0383161790556115d0611642565b6115d86117eb565b50565b5f61146983836117f3565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a0054600160401b900460ff1661162f57604051631afcd79f60e31b815260040160405180910390fd5b565b6116396115e6565b6115d881611819565b61164a6115e6565b5f73__$1d92393fa9ccd763988368ce8a1cb90d26$__637c3940bf5f8054906101000a90046001600160a01b03166001600160a01b03166375b238fc6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156116b3573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906116d79190612000565b6040516001600160e01b031960e084901b1681526001600160401b039091166004820152602401602060405180830381865af4158015611719573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061173d9190612000565b905061178461174a61182a565b61177f61175561182a565b6001806040518060400160405280600981526020016841646d696e526f6c6560b81b815250610ce2565b61187b565b6001600160401b0381165f9081526005602052604090206117a59030611b2c565b506115d86117b1611b40565b61177f6117bc61182a565b600263ffffffff6040518060400160405280600a8152602001695075626c6963526f6c6560b01b815250610ce2565b61162f6115e6565b5f825f01828154811061180857611808612048565b905f5260205f200154905092915050565b6118216115e6565b6115d88161149a565b604051637c3940bf60e01b81525f600482018190529073__$1d92393fa9ccd763988368ce8a1cb90d26$__90637c3940bf906024015b602060405180830381865af415801561114a573d5f803e3d5ffd5b73__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af41580156118c2573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906118e69190611fdc565b64ffffffffff1660808201526001600160401b038083165f90815260026020908152604090912083518154931667ffffffffffffffff1984168117825591840151849391929091839168ffffffffffffffffff1990911617600160401b83600381111561195557611955611db0565b0217905550604082810151825463ffffffff909116600160481b026cffffffff0000000000000000001990911617825560608084015160018085019190915560808501516002909401805460a09096015164ffffffffff908116650100000000000269ffffffffffffffffffff1990971695169490941794909417909255805180820182526001600160401b03808716808352602080840187815295880180515f90815260038084528782209651875499511515600160401b0268ffffffffffffffffff19909a169087161798909817909555600480549889018155948590528488047f8a35acfbc15ff81a39ae7d344fd709f28e8600b4aa8c65c6b64bfe7fe36bd19b018054989097166008026101000a92830292909302199096161790935592840151845192519151631623433d60e31b81527f90bccf38fba6eb0172b42feacbb3c44b872faddb5ad70fa8d438cf9ab4459a03948794929373__$9a094f9b231ed0f5f85a69be8408d93180$__9263b11a19e892611adb92910190815260200190565b5f60405180830381865af4158015611af5573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052611b1c91908101906120c1565b6040516114ef9493929190612135565b5f611469836001600160a01b038416611b80565b604051637c3940bf60e01b81526001600160401b0360048201525f9073__$1d92393fa9ccd763988368ce8a1cb90d26$__90637c3940bf90602401611860565b5f818152600183016020526040812054611bc557508154600181810184555f848152602080822090930184905584548482528286019093526040902091909155610626565b505f610626565b6001600160401b03811681146115d8575f80fd5b5f60208284031215611bf0575f80fd5b813561146981611bcc565b6001600160a01b03811681146115d8575f80fd5b5f60208284031215611c1f575f80fd5b813561146981611bfb565b6001600160e01b0319811681146115d8575f80fd5b634e487b7160e01b5f52604160045260245ffd5b604051601f8201601f191681016001600160401b0381118282101715611c7b57611c7b611c3f565b604052919050565b5f6001600160401b03821115611c9b57611c9b611c3f565b50601f01601f191660200190565b5f82601f830112611cb8575f80fd5b8135611ccb611cc682611c83565b611c53565b818152846020838601011115611cdf575f80fd5b816020850160208301375f918101602001919091529392505050565b5f8060408385031215611d0c575f80fd5b8235611d1781611c2a565b915060208301356001600160401b03811115611d31575f80fd5b610a5385828601611ca9565b815181526020808301516001600160e01b0319169082015260408083015164ffffffffff169082015260608101610626565b5f8060408385031215611d80575f80fd5b8235611d8b81611bfb565b946020939093013593505050565b5f60208284031215611da9575f80fd5b5035919050565b634e487b7160e01b5f52602160045260245ffd5b60048110611de057634e487b7160e01b5f52602160045260245ffd5b9052565b81516001600160401b0316815260208083015160c0830191611e0890840182611dc4565b5063ffffffff60408401511660408301526060830151606083015264ffffffffff608084015116608083015264ffffffffff60a08401511660a083015292915050565b63ffffffff811681146115d8575f80fd5b5f805f8060808587031215611e6f575f80fd5b8435611e7a81611bcc565b9350602085013560048110611e8d575f80fd5b92506040850135611e9d81611e4b565b915060608501356001600160401b03811115611eb7575f80fd5b611ec387828801611ca9565b91505092959194509250565b5f8060408385031215611ee0575f80fd5b8235611eeb81611bfb565b91506020830135611efb81611bcc565b809150509250929050565b5f805f60608486031215611f18575f80fd5b8335611f2381611bfb565b92506020840135611f3381611bfb565b91506040840135611f4381611c2a565b809150509250925092565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081525f6114696020830184611f4e565b5f8060408385031215611f9f575f80fd5b8235611d8b81611bcc565b5f60208284031215611fba575f80fd5b5051919050565b5f60208284031215611fd1575f80fd5b815161146981611c2a565b5f60208284031215611fec575f80fd5b815164ffffffffff81168114611469575f80fd5b5f60208284031215612010575f80fd5b815161146981611bcc565b8051801515811461202a575f80fd5b919050565b5f6020828403121561203f575f80fd5b6114698261201b565b634e487b7160e01b5f52603260045260245ffd5b5f6020828403121561206c575f80fd5b815161146981611bfb565b5f8060408385031215612088575f80fd5b6120918361201b565b91506020830151611efb81611e4b565b5f602082840312156120b1575f80fd5b815160ff81168114611469575f80fd5b5f602082840312156120d1575f80fd5b81516001600160401b038111156120e6575f80fd5b8201601f810184136120f6575f80fd5b8051612104611cc682611c83565b818152856020838501011115612118575f80fd5b8160208401602083015e5f91810160200191909152949350505050565b6001600160401b038516815261214e6020820185611dc4565b6001600160401b0383166040820152608060608201525f6121726080830184611f4e565b969550505050505056fef3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00a26469706673582212208a4f883cb75ca55d51253f3a181f96af545db082c36d317df70473afd9a57d9264736f6c634300081a0033",
1195
- "linkReferences": {
1447
+ ]
1448
+ },
1196
1449
  "contracts/type/RoleId.sol": {
1197
1450
  "RoleIdLib": [
1198
1451
  {
1199
1452
  "length": 20,
1200
- "start": 2329
1453
+ "start": 1842
1454
+ },
1455
+ {
1456
+ "length": 20,
1457
+ "start": 4876
1201
1458
  },
1202
1459
  {
1203
1460
  "length": 20,
1204
- "start": 5737
1461
+ "start": 6482
1205
1462
  },
1206
1463
  {
1207
1464
  "length": 20,
1208
- "start": 6238
1465
+ "start": 6887
1209
1466
  },
1210
1467
  {
1211
1468
  "length": 20,
1212
- "start": 7034
1469
+ "start": 7821
1213
1470
  }
1214
1471
  ]
1215
1472
  },
@@ -1217,25 +1474,17 @@
1217
1474
  "SelectorLib": [
1218
1475
  {
1219
1476
  "length": 20,
1220
- "start": 1797
1221
- },
1222
- {
1223
- "length": 20,
1224
- "start": 2367
1225
- },
1226
- {
1227
- "length": 20,
1228
- "start": 4680
1477
+ "start": 1880
1229
1478
  }
1230
1479
  ],
1231
1480
  "SelectorSetLib": [
1232
1481
  {
1233
1482
  "length": 20,
1234
- "start": 2107
1483
+ "start": 1618
1235
1484
  },
1236
1485
  {
1237
1486
  "length": 20,
1238
- "start": 2835
1487
+ "start": 2461
1239
1488
  }
1240
1489
  ]
1241
1490
  },
@@ -1243,15 +1492,23 @@
1243
1492
  "StrLib": [
1244
1493
  {
1245
1494
  "length": 20,
1246
- "start": 1658
1495
+ "start": 3950
1247
1496
  },
1248
1497
  {
1249
1498
  "length": 20,
1250
- "start": 3438
1499
+ "start": 4375
1251
1500
  },
1252
1501
  {
1253
1502
  "length": 20,
1254
- "start": 6862
1503
+ "start": 4538
1504
+ },
1505
+ {
1506
+ "length": 20,
1507
+ "start": 4712
1508
+ },
1509
+ {
1510
+ "length": 20,
1511
+ "start": 7648
1255
1512
  }
1256
1513
  ]
1257
1514
  },
@@ -1259,75 +1516,99 @@
1259
1516
  "TimestampLib": [
1260
1517
  {
1261
1518
  "length": 20,
1262
- "start": 1906
1519
+ "start": 3049
1263
1520
  },
1264
1521
  {
1265
1522
  "length": 20,
1266
- "start": 3561
1523
+ "start": 3169
1267
1524
  },
1268
1525
  {
1269
1526
  "length": 20,
1270
- "start": 3680
1527
+ "start": 4338
1271
1528
  },
1272
1529
  {
1273
1530
  "length": 20,
1274
- "start": 3863
1531
+ "start": 6946
1275
1532
  },
1276
1533
  {
1277
1534
  "length": 20,
1278
- "start": 5180
1279
- },
1280
- {
1281
- "length": 20,
1282
- "start": 6297
1535
+ "start": 7081
1283
1536
  }
1284
1537
  ]
1285
1538
  }
1286
1539
  },
1287
1540
  "deployedLinkReferences": {
1288
- "contracts/type/RoleId.sol": {
1289
- "RoleIdLib": [
1541
+ "contracts/authorization/AccessAdminLib.sol": {
1542
+ "AccessAdminLib": [
1290
1543
  {
1291
1544
  "length": 20,
1292
- "start": 2301
1545
+ "start": 6272
1293
1546
  },
1294
1547
  {
1295
1548
  "length": 20,
1296
- "start": 5709
1297
- },
1549
+ "start": 6740
1550
+ }
1551
+ ]
1552
+ },
1553
+ "contracts/shared/ContractLib.sol": {
1554
+ "ContractLib": [
1298
1555
  {
1299
1556
  "length": 20,
1300
- "start": 6210
1557
+ "start": 5514
1301
1558
  },
1302
1559
  {
1303
1560
  "length": 20,
1304
- "start": 7006
1561
+ "start": 5810
1305
1562
  }
1306
1563
  ]
1307
1564
  },
1308
- "contracts/type/Selector.sol": {
1309
- "SelectorLib": [
1565
+ "contracts/type/NftId.sol": {
1566
+ "NftIdLib": [
1567
+ {
1568
+ "length": 20,
1569
+ "start": 5967
1570
+ }
1571
+ ]
1572
+ },
1573
+ "contracts/type/RoleId.sol": {
1574
+ "RoleIdLib": [
1575
+ {
1576
+ "length": 20,
1577
+ "start": 1814
1578
+ },
1579
+ {
1580
+ "length": 20,
1581
+ "start": 4848
1582
+ },
1310
1583
  {
1311
1584
  "length": 20,
1312
- "start": 1769
1585
+ "start": 6454
1313
1586
  },
1314
1587
  {
1315
1588
  "length": 20,
1316
- "start": 2339
1589
+ "start": 6859
1317
1590
  },
1318
1591
  {
1319
1592
  "length": 20,
1320
- "start": 4652
1593
+ "start": 7793
1594
+ }
1595
+ ]
1596
+ },
1597
+ "contracts/type/Selector.sol": {
1598
+ "SelectorLib": [
1599
+ {
1600
+ "length": 20,
1601
+ "start": 1852
1321
1602
  }
1322
1603
  ],
1323
1604
  "SelectorSetLib": [
1324
1605
  {
1325
1606
  "length": 20,
1326
- "start": 2079
1607
+ "start": 1590
1327
1608
  },
1328
1609
  {
1329
1610
  "length": 20,
1330
- "start": 2807
1611
+ "start": 2433
1331
1612
  }
1332
1613
  ]
1333
1614
  },
@@ -1335,15 +1616,23 @@
1335
1616
  "StrLib": [
1336
1617
  {
1337
1618
  "length": 20,
1338
- "start": 1630
1619
+ "start": 3922
1620
+ },
1621
+ {
1622
+ "length": 20,
1623
+ "start": 4347
1339
1624
  },
1340
1625
  {
1341
1626
  "length": 20,
1342
- "start": 3410
1627
+ "start": 4510
1343
1628
  },
1344
1629
  {
1345
1630
  "length": 20,
1346
- "start": 6834
1631
+ "start": 4684
1632
+ },
1633
+ {
1634
+ "length": 20,
1635
+ "start": 7620
1347
1636
  }
1348
1637
  ]
1349
1638
  },
@@ -1351,27 +1640,23 @@
1351
1640
  "TimestampLib": [
1352
1641
  {
1353
1642
  "length": 20,
1354
- "start": 1878
1355
- },
1356
- {
1357
- "length": 20,
1358
- "start": 3533
1643
+ "start": 3021
1359
1644
  },
1360
1645
  {
1361
1646
  "length": 20,
1362
- "start": 3652
1647
+ "start": 3141
1363
1648
  },
1364
1649
  {
1365
1650
  "length": 20,
1366
- "start": 3835
1651
+ "start": 4310
1367
1652
  },
1368
1653
  {
1369
1654
  "length": 20,
1370
- "start": 5152
1655
+ "start": 6918
1371
1656
  },
1372
1657
  {
1373
1658
  "length": 20,
1374
- "start": 6269
1659
+ "start": 7053
1375
1660
  }
1376
1661
  ]
1377
1662
  }