@etherisc/gif-next 0.0.2-c04bff4-304 → 0.0.2-c0923b6-664

Sign up to get free protection for your applications and to get access to all the features.
Files changed (548) hide show
  1. package/README.md +142 -331
  2. package/artifacts/contracts/accounting/AccountingService.sol/AccountingService.dbg.json +4 -0
  3. package/artifacts/contracts/accounting/AccountingService.sol/AccountingService.json +1075 -0
  4. package/artifacts/contracts/accounting/AccountingServiceManager.sol/AccountingServiceManager.dbg.json +4 -0
  5. package/artifacts/contracts/accounting/AccountingServiceManager.sol/AccountingServiceManager.json +810 -0
  6. package/artifacts/contracts/accounting/IAccountingService.sol/IAccountingService.dbg.json +4 -0
  7. package/artifacts/contracts/accounting/IAccountingService.sol/IAccountingService.json +843 -0
  8. package/artifacts/contracts/authorization/AccessAdmin.sol/AccessAdmin.dbg.json +1 -1
  9. package/artifacts/contracts/authorization/AccessAdmin.sol/AccessAdmin.json +760 -278
  10. package/artifacts/contracts/authorization/AccessAdminLib.sol/AccessAdminLib.dbg.json +4 -0
  11. package/artifacts/contracts/authorization/AccessAdminLib.sol/AccessAdminLib.json +2008 -0
  12. package/artifacts/contracts/authorization/AccessManagerCloneable.sol/AccessManagerCloneable.dbg.json +1 -1
  13. package/artifacts/contracts/authorization/AccessManagerCloneable.sol/AccessManagerCloneable.json +202 -5
  14. package/artifacts/contracts/authorization/Authorization.sol/Authorization.dbg.json +1 -1
  15. package/artifacts/contracts/authorization/Authorization.sol/Authorization.json +485 -26
  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 +588 -220
  19. package/artifacts/contracts/authorization/IAuthorization.sol/IAuthorization.dbg.json +1 -1
  20. package/artifacts/contracts/authorization/IAuthorization.sol/IAuthorization.json +227 -20
  21. package/artifacts/contracts/authorization/IServiceAuthorization.sol/IServiceAuthorization.dbg.json +1 -1
  22. package/artifacts/contracts/authorization/IServiceAuthorization.sol/IServiceAuthorization.json +275 -16
  23. package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.dbg.json +1 -1
  24. package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.json +479 -17
  25. package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.dbg.json +1 -1
  26. package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.json +204 -312
  27. package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.dbg.json +1 -1
  28. package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.json +475 -41
  29. package/artifacts/contracts/distribution/Distribution.sol/Distribution.dbg.json +1 -1
  30. package/artifacts/contracts/distribution/Distribution.sol/Distribution.json +123 -196
  31. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.dbg.json +1 -1
  32. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.json +634 -225
  33. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +1 -1
  34. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.json +247 -84
  35. package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.dbg.json +1 -1
  36. package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.json +102 -170
  37. package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.dbg.json +1 -1
  38. package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.json +429 -77
  39. package/artifacts/contracts/examples/fire/DamageLevel.sol/DamageLevelLib.dbg.json +4 -0
  40. package/artifacts/contracts/examples/fire/DamageLevel.sol/DamageLevelLib.json +22 -0
  41. package/artifacts/contracts/examples/fire/FirePool.sol/FirePool.dbg.json +4 -0
  42. package/artifacts/contracts/examples/fire/FirePool.sol/FirePool.json +1474 -0
  43. package/artifacts/contracts/examples/fire/FirePoolAuthorization.sol/FirePoolAuthorization.dbg.json +4 -0
  44. package/artifacts/contracts/examples/fire/FirePoolAuthorization.sol/FirePoolAuthorization.json +844 -0
  45. package/artifacts/contracts/examples/fire/FireProduct.sol/FireProduct.dbg.json +4 -0
  46. package/artifacts/contracts/examples/fire/FireProduct.sol/FireProduct.json +2043 -0
  47. package/artifacts/contracts/examples/fire/FireProductAuthorization.sol/FireProductAuthorization.dbg.json +4 -0
  48. package/artifacts/contracts/examples/fire/FireProductAuthorization.sol/FireProductAuthorization.json +844 -0
  49. package/artifacts/contracts/examples/fire/FireUSD.sol/FireUSD.dbg.json +4 -0
  50. package/artifacts/contracts/examples/fire/FireUSD.sol/FireUSD.json +376 -0
  51. package/artifacts/contracts/examples/unpermissioned/SimpleDistribution.sol/SimpleDistribution.dbg.json +1 -1
  52. package/artifacts/contracts/examples/unpermissioned/SimpleDistribution.sol/SimpleDistribution.json +293 -275
  53. package/artifacts/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol/SimpleDistributionAuthorization.dbg.json +4 -0
  54. package/artifacts/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol/SimpleDistributionAuthorization.json +844 -0
  55. package/artifacts/contracts/examples/unpermissioned/SimpleOracle.sol/SimpleOracle.dbg.json +1 -1
  56. package/artifacts/contracts/examples/unpermissioned/SimpleOracle.sol/SimpleOracle.json +175 -185
  57. package/artifacts/contracts/examples/unpermissioned/SimplePool.sol/SimplePool.dbg.json +1 -1
  58. package/artifacts/contracts/examples/unpermissioned/SimplePool.sol/SimplePool.json +363 -243
  59. package/artifacts/contracts/examples/unpermissioned/SimplePoolAuthorization.sol/SimplePoolAuthorization.dbg.json +4 -0
  60. package/artifacts/contracts/examples/unpermissioned/SimplePoolAuthorization.sol/SimplePoolAuthorization.json +844 -0
  61. package/artifacts/contracts/examples/unpermissioned/SimpleProduct.sol/SimpleProduct.dbg.json +1 -1
  62. package/artifacts/contracts/examples/unpermissioned/SimpleProduct.sol/SimpleProduct.json +986 -389
  63. package/artifacts/contracts/examples/unpermissioned/SimpleProductAuthorization.sol/SimpleProductAuthorization.dbg.json +4 -0
  64. package/artifacts/contracts/examples/unpermissioned/SimpleProductAuthorization.sol/SimpleProductAuthorization.json +844 -0
  65. package/artifacts/contracts/instance/BaseStore.sol/BaseStore.dbg.json +4 -0
  66. package/artifacts/contracts/{shared/IKeyValueStore.sol/IKeyValueStore.json → instance/BaseStore.sol/BaseStore.json} +55 -197
  67. package/artifacts/contracts/instance/BundleSet.sol/BundleSet.dbg.json +1 -1
  68. package/artifacts/contracts/instance/BundleSet.sol/BundleSet.json +193 -45
  69. package/artifacts/contracts/instance/IBaseStore.sol/IBaseStore.dbg.json +4 -0
  70. package/artifacts/contracts/{shared/KeyValueStore.sol/KeyValueStore.json → instance/IBaseStore.sol/IBaseStore.json} +34 -227
  71. package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
  72. package/artifacts/contracts/instance/IInstance.sol/IInstance.json +587 -64
  73. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +1 -1
  74. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +405 -60
  75. package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
  76. package/artifacts/contracts/instance/Instance.sol/Instance.json +651 -119
  77. package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.dbg.json +1 -1
  78. package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.json +1154 -380
  79. package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.dbg.json +1 -1
  80. package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.json +363 -92
  81. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +1 -1
  82. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +1613 -937
  83. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +1 -1
  84. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +431 -131
  85. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +1 -1
  86. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +170 -61
  87. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.dbg.json +1 -1
  88. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.json +1272 -1820
  89. package/artifacts/contracts/instance/ProductStore.sol/ProductStore.dbg.json +4 -0
  90. package/artifacts/contracts/instance/ProductStore.sol/ProductStore.json +3427 -0
  91. package/artifacts/contracts/instance/RiskSet.sol/RiskSet.dbg.json +4 -0
  92. package/artifacts/contracts/instance/RiskSet.sol/RiskSet.json +866 -0
  93. package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.dbg.json +1 -1
  94. package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.json +8 -8
  95. package/artifacts/contracts/instance/base/Cloneable.sol/Cloneable.dbg.json +1 -1
  96. package/artifacts/contracts/instance/base/ObjectCounter.sol/ObjectCounter.dbg.json +1 -1
  97. package/artifacts/contracts/instance/base/ObjectCounter.sol/ObjectCounter.json +2 -2
  98. package/artifacts/contracts/instance/base/ObjectLifecycle.sol/ObjectLifecycle.dbg.json +1 -1
  99. package/artifacts/contracts/instance/base/ObjectLifecycle.sol/ObjectLifecycle.json +46 -5
  100. package/artifacts/contracts/instance/base/ObjectSet.sol/ObjectSet.dbg.json +1 -1
  101. package/artifacts/contracts/instance/base/ObjectSet.sol/ObjectSet.json +16 -5
  102. package/artifacts/contracts/instance/base/ObjectSetHelperLib.sol/ObjectSetHelperLib.dbg.json +4 -0
  103. package/artifacts/contracts/instance/base/ObjectSetHelperLib.sol/ObjectSetHelperLib.json +168 -0
  104. package/artifacts/contracts/instance/module/IBundle.sol/IBundle.dbg.json +1 -1
  105. package/artifacts/contracts/instance/module/IComponents.sol/IComponents.dbg.json +1 -1
  106. package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.dbg.json +1 -1
  107. package/artifacts/contracts/instance/module/IPolicy.sol/IPolicy.dbg.json +1 -1
  108. package/artifacts/contracts/instance/module/IRisk.sol/IRisk.dbg.json +1 -1
  109. package/artifacts/contracts/mock/Dip.sol/Dip.dbg.json +1 -1
  110. package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.dbg.json +1 -1
  111. package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.json +161 -193
  112. package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.dbg.json +1 -1
  113. package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.json +473 -42
  114. package/artifacts/contracts/oracle/IOracle.sol/IOracle.dbg.json +1 -1
  115. package/artifacts/contracts/oracle/IOracleComponent.sol/IOracleComponent.dbg.json +1 -1
  116. package/artifacts/contracts/oracle/IOracleComponent.sol/IOracleComponent.json +116 -119
  117. package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.dbg.json +1 -1
  118. package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.json +98 -11
  119. package/artifacts/contracts/oracle/Oracle.sol/Oracle.dbg.json +1 -1
  120. package/artifacts/contracts/oracle/Oracle.sol/Oracle.json +137 -145
  121. package/artifacts/contracts/oracle/OracleService.sol/OracleService.dbg.json +1 -1
  122. package/artifacts/contracts/oracle/OracleService.sol/OracleService.json +201 -81
  123. package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.dbg.json +1 -1
  124. package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.json +205 -54
  125. package/artifacts/contracts/pool/BasicPool.sol/BasicPool.dbg.json +1 -1
  126. package/artifacts/contracts/pool/BasicPool.sol/BasicPool.json +185 -201
  127. package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.dbg.json +1 -1
  128. package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.json +474 -40
  129. package/artifacts/contracts/pool/BundleService.sol/BundleService.dbg.json +1 -1
  130. package/artifacts/contracts/pool/BundleService.sol/BundleService.json +355 -279
  131. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.dbg.json +1 -1
  132. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.json +199 -84
  133. package/artifacts/contracts/pool/IBundleService.sol/IBundleService.dbg.json +1 -1
  134. package/artifacts/contracts/pool/IBundleService.sol/IBundleService.json +247 -121
  135. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.dbg.json +1 -1
  136. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.json +152 -166
  137. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.dbg.json +1 -1
  138. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.json +478 -227
  139. package/artifacts/contracts/pool/Pool.sol/Pool.dbg.json +1 -1
  140. package/artifacts/contracts/pool/Pool.sol/Pool.json +165 -184
  141. package/artifacts/contracts/pool/PoolLib.sol/PoolLib.dbg.json +4 -0
  142. package/artifacts/contracts/pool/PoolLib.sol/PoolLib.json +522 -0
  143. package/artifacts/contracts/pool/PoolService.sol/PoolService.dbg.json +1 -1
  144. package/artifacts/contracts/pool/PoolService.sol/PoolService.json +743 -379
  145. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.dbg.json +1 -1
  146. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.json +253 -62
  147. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.dbg.json +1 -1
  148. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.json +361 -57
  149. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +1 -1
  150. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.json +194 -51
  151. package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.dbg.json +1 -1
  152. package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.json +297 -244
  153. package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.dbg.json +1 -1
  154. package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.json +474 -40
  155. package/artifacts/contracts/product/ClaimService.sol/ClaimService.dbg.json +1 -1
  156. package/artifacts/contracts/product/ClaimService.sol/ClaimService.json +370 -159
  157. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +1 -1
  158. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.json +211 -80
  159. package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.dbg.json +1 -1
  160. package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.json +296 -9
  161. package/artifacts/contracts/product/IClaimService.sol/IClaimService.dbg.json +1 -1
  162. package/artifacts/contracts/product/IClaimService.sol/IClaimService.json +242 -24
  163. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.dbg.json +1 -1
  164. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.json +299 -48
  165. package/artifacts/contracts/product/IPricingService.sol/IPricingService.dbg.json +1 -1
  166. package/artifacts/contracts/product/IPricingService.sol/IPricingService.json +140 -37
  167. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.dbg.json +1 -1
  168. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.json +270 -212
  169. package/artifacts/contracts/product/IRiskService.sol/IRiskService.dbg.json +1 -1
  170. package/artifacts/contracts/product/IRiskService.sol/IRiskService.json +286 -21
  171. package/artifacts/contracts/product/PolicyService.sol/PolicyService.dbg.json +1 -1
  172. package/artifacts/contracts/product/PolicyService.sol/PolicyService.json +451 -151
  173. package/artifacts/contracts/product/PolicyServiceLib.sol/PolicyServiceLib.dbg.json +4 -0
  174. package/artifacts/contracts/product/PolicyServiceLib.sol/PolicyServiceLib.json +783 -0
  175. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +1 -1
  176. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.json +231 -72
  177. package/artifacts/contracts/product/PricingService.sol/PricingService.dbg.json +1 -1
  178. package/artifacts/contracts/product/PricingService.sol/PricingService.json +201 -129
  179. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.dbg.json +1 -1
  180. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.json +184 -65
  181. package/artifacts/contracts/product/Product.sol/Product.dbg.json +1 -1
  182. package/artifacts/contracts/product/Product.sol/Product.json +287 -234
  183. package/artifacts/contracts/product/RiskService.sol/RiskService.dbg.json +1 -1
  184. package/artifacts/contracts/product/RiskService.sol/RiskService.json +372 -82
  185. package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.dbg.json +1 -1
  186. package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.json +194 -51
  187. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
  188. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +2 -2
  189. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
  190. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +144 -33
  191. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +1 -1
  192. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +169 -37
  193. package/artifacts/contracts/registry/IRelease.sol/IRelease.dbg.json +4 -0
  194. package/artifacts/contracts/registry/IRelease.sol/IRelease.json +24 -0
  195. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +1 -1
  196. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.json +5 -18
  197. package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
  198. package/artifacts/contracts/registry/Registry.sol/Registry.json +188 -69
  199. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.dbg.json +1 -1
  200. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.json +872 -478
  201. package/artifacts/contracts/registry/RegistryAuthorization.sol/RegistryAuthorization.dbg.json +4 -0
  202. package/artifacts/contracts/registry/RegistryAuthorization.sol/RegistryAuthorization.json +1137 -0
  203. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +1 -1
  204. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +139 -181
  205. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +1 -1
  206. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +169 -46
  207. package/artifacts/contracts/registry/ReleaseAdmin.sol/ReleaseAdmin.dbg.json +4 -0
  208. package/artifacts/contracts/registry/ReleaseAdmin.sol/ReleaseAdmin.json +2271 -0
  209. package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.dbg.json +1 -1
  210. package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.json +47 -6
  211. package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.dbg.json +1 -1
  212. package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.json +490 -258
  213. package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.dbg.json +1 -1
  214. package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.json +511 -20
  215. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +1 -1
  216. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +120 -60
  217. package/artifacts/contracts/shared/Component.sol/Component.dbg.json +1 -1
  218. package/artifacts/contracts/shared/Component.sol/Component.json +113 -103
  219. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.dbg.json +1 -1
  220. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.json +502 -519
  221. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.dbg.json +1 -1
  222. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.json +215 -86
  223. package/artifacts/contracts/shared/ContractLib.sol/ContractLib.dbg.json +4 -0
  224. package/artifacts/contracts/shared/ContractLib.sol/ContractLib.json +632 -0
  225. package/artifacts/contracts/shared/ContractLib.sol/IInstanceAdminHelper.dbg.json +4 -0
  226. package/artifacts/contracts/shared/ContractLib.sol/IInstanceAdminHelper.json +24 -0
  227. package/artifacts/contracts/shared/ContractLib.sol/ITargetHelper.dbg.json +4 -0
  228. package/artifacts/contracts/shared/ContractLib.sol/ITargetHelper.json +30 -0
  229. package/artifacts/contracts/shared/ContractLib.sol/ITokenRegistryHelper.dbg.json +4 -0
  230. package/artifacts/contracts/shared/ContractLib.sol/ITokenRegistryHelper.json +40 -0
  231. package/artifacts/contracts/shared/IComponent.sol/IComponent.dbg.json +1 -1
  232. package/artifacts/contracts/shared/IComponent.sol/IComponent.json +93 -78
  233. package/artifacts/contracts/shared/IComponentService.sol/IComponentService.dbg.json +1 -1
  234. package/artifacts/contracts/shared/IComponentService.sol/IComponentService.json +432 -290
  235. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.dbg.json +1 -1
  236. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.json +116 -119
  237. package/artifacts/contracts/shared/ILifecycle.sol/ILifecycle.dbg.json +1 -1
  238. package/artifacts/contracts/shared/ILifecycle.sol/ILifecycle.json +36 -0
  239. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +1 -1
  240. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.json +35 -0
  241. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.dbg.json +1 -1
  242. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.json +16 -6
  243. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
  244. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +167 -0
  245. package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.dbg.json +1 -1
  246. package/artifacts/contracts/shared/IService.sol/IService.dbg.json +1 -1
  247. package/artifacts/contracts/shared/IService.sol/IService.json +84 -2
  248. package/artifacts/contracts/shared/InitializableERC165.sol/InitializableERC165.dbg.json +1 -1
  249. package/artifacts/contracts/shared/InitializableERC165.sol/InitializableERC165.json +2 -2
  250. package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.dbg.json +1 -1
  251. package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.json +136 -144
  252. package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.dbg.json +1 -1
  253. package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.json +42 -1
  254. package/artifacts/contracts/shared/NftIdSet.sol/NftIdSet.dbg.json +1 -1
  255. package/artifacts/contracts/shared/NftIdSet.sol/NftIdSet.json +2 -2
  256. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +1 -1
  257. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +37 -2
  258. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.dbg.json +1 -1
  259. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.json +18 -8
  260. package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
  261. package/artifacts/contracts/shared/Registerable.sol/Registerable.json +171 -38
  262. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.dbg.json +1 -1
  263. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.json +2 -2
  264. package/artifacts/contracts/shared/Service.sol/Service.dbg.json +1 -1
  265. package/artifacts/contracts/shared/Service.sol/Service.json +89 -2
  266. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +1 -1
  267. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +327 -73
  268. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandlerBase.dbg.json +4 -0
  269. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandlerBase.json +484 -0
  270. package/artifacts/contracts/shared/TokenHandlerDeployerLib.sol/TokenHandlerDeployerLib.dbg.json +1 -1
  271. package/artifacts/contracts/shared/TokenHandlerDeployerLib.sol/TokenHandlerDeployerLib.json +88 -24
  272. package/artifacts/contracts/staking/IStaking.sol/IStaking.dbg.json +1 -1
  273. package/artifacts/contracts/staking/IStaking.sol/IStaking.json +1492 -183
  274. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.dbg.json +1 -1
  275. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.json +235 -123
  276. package/artifacts/contracts/staking/ITargetLimitHandler.sol/ITargetLimitHandler.dbg.json +4 -0
  277. package/artifacts/contracts/staking/ITargetLimitHandler.sol/ITargetLimitHandler.json +50 -0
  278. package/artifacts/contracts/staking/Staking.sol/Staking.dbg.json +1 -1
  279. package/artifacts/contracts/staking/Staking.sol/Staking.json +1651 -304
  280. package/artifacts/contracts/staking/StakingLib.sol/StakingLib.dbg.json +4 -0
  281. package/artifacts/contracts/staking/StakingLib.sol/StakingLib.json +470 -0
  282. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.dbg.json +1 -1
  283. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.json +221 -68
  284. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.dbg.json +1 -1
  285. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.json +295 -183
  286. package/artifacts/contracts/staking/StakingService.sol/StakingService.dbg.json +1 -1
  287. package/artifacts/contracts/staking/StakingService.sol/StakingService.json +286 -173
  288. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.dbg.json +1 -1
  289. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.json +172 -53
  290. package/artifacts/contracts/staking/StakingStore.sol/StakingStore.dbg.json +1 -1
  291. package/artifacts/contracts/staking/StakingStore.sol/StakingStore.json +1645 -790
  292. package/artifacts/contracts/staking/TargetHandler.sol/TargetHandler.dbg.json +4 -0
  293. package/artifacts/contracts/staking/TargetHandler.sol/TargetHandler.json +309 -0
  294. package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.dbg.json +1 -1
  295. package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.json +160 -88
  296. package/artifacts/contracts/type/AddressSet.sol/LibAddressSet.dbg.json +1 -1
  297. package/artifacts/contracts/type/Amount.sol/AmountLib.dbg.json +1 -1
  298. package/artifacts/contracts/type/Amount.sol/AmountLib.json +35 -11
  299. package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.dbg.json +1 -1
  300. package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.json +64 -19
  301. package/artifacts/contracts/type/ChainId.sol/ChainIdLib.dbg.json +4 -0
  302. package/artifacts/contracts/type/ChainId.sol/ChainIdLib.json +193 -0
  303. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.dbg.json +1 -1
  304. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.json +28 -4
  305. package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.dbg.json +1 -1
  306. package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.json +2 -2
  307. package/artifacts/contracts/type/Fee.sol/FeeLib.dbg.json +1 -1
  308. package/artifacts/contracts/type/Fee.sol/FeeLib.json +94 -38
  309. package/artifacts/contracts/type/Key32.sol/Key32Lib.dbg.json +1 -1
  310. package/artifacts/contracts/type/Key32.sol/Key32Lib.json +2 -2
  311. package/artifacts/contracts/type/Key32Set.sol/LibKey32Set.dbg.json +4 -0
  312. package/artifacts/contracts/type/Key32Set.sol/LibKey32Set.json +33 -0
  313. package/artifacts/contracts/type/NftId.sol/NftIdLib.dbg.json +1 -1
  314. package/artifacts/contracts/type/NftId.sol/NftIdLib.json +23 -4
  315. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.dbg.json +1 -1
  316. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.json +2 -2
  317. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.dbg.json +1 -1
  318. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.json +33 -31
  319. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.dbg.json +1 -1
  320. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.json +19 -19
  321. package/artifacts/contracts/type/Referral.sol/ReferralLib.dbg.json +1 -1
  322. package/artifacts/contracts/type/Referral.sol/ReferralLib.json +2 -2
  323. package/artifacts/contracts/type/RequestId.sol/RequestIdLib.dbg.json +1 -1
  324. package/artifacts/contracts/type/RequestId.sol/RequestIdLib.json +2 -2
  325. package/artifacts/contracts/type/RiskId.sol/RiskIdLib.dbg.json +1 -1
  326. package/artifacts/contracts/type/RiskId.sol/RiskIdLib.json +125 -7
  327. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.dbg.json +1 -1
  328. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.json +42 -157
  329. package/artifacts/contracts/type/Seconds.sol/SecondsLib.dbg.json +1 -1
  330. package/artifacts/contracts/type/Seconds.sol/SecondsLib.json +45 -2
  331. package/artifacts/contracts/type/Selector.sol/SelectorLib.dbg.json +1 -1
  332. package/artifacts/contracts/type/Selector.sol/SelectorLib.json +21 -2
  333. package/artifacts/contracts/type/Selector.sol/SelectorSetLib.dbg.json +1 -1
  334. package/artifacts/contracts/type/Selector.sol/SelectorSetLib.json +2 -2
  335. package/artifacts/contracts/type/StateId.sol/StateIdLib.dbg.json +1 -1
  336. package/artifacts/contracts/type/StateId.sol/StateIdLib.json +15 -2
  337. package/artifacts/contracts/type/String.sol/StrLib.dbg.json +1 -1
  338. package/artifacts/contracts/type/String.sol/StrLib.json +50 -2
  339. package/artifacts/contracts/type/Timestamp.sol/TimestampLib.dbg.json +1 -1
  340. package/artifacts/contracts/type/Timestamp.sol/TimestampLib.json +3 -3
  341. package/artifacts/contracts/type/UFixed.sol/UFixedLib.dbg.json +1 -1
  342. package/artifacts/contracts/type/UFixed.sol/UFixedLib.json +73 -36
  343. package/artifacts/contracts/type/Version.sol/VersionLib.dbg.json +1 -1
  344. package/artifacts/contracts/type/Version.sol/VersionLib.json +2 -21
  345. package/artifacts/contracts/type/Version.sol/VersionPartLib.dbg.json +1 -1
  346. package/artifacts/contracts/type/Version.sol/VersionPartLib.json +101 -2
  347. package/artifacts/contracts/upgradeability/IVersionable.sol/IVersionable.dbg.json +1 -1
  348. package/artifacts/contracts/upgradeability/IVersionable.sol/IVersionable.json +10 -0
  349. package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.dbg.json +1 -1
  350. package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.json +144 -38
  351. package/artifacts/contracts/upgradeability/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +1 -1
  352. package/artifacts/contracts/upgradeability/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +15 -2
  353. package/artifacts/contracts/upgradeability/Versionable.sol/Versionable.dbg.json +1 -1
  354. package/artifacts/contracts/upgradeability/Versionable.sol/Versionable.json +10 -0
  355. package/contracts/accounting/AccountingService.sol +274 -0
  356. package/contracts/accounting/AccountingServiceManager.sol +38 -0
  357. package/contracts/accounting/IAccountingService.sol +47 -0
  358. package/contracts/authorization/AccessAdmin.sol +400 -310
  359. package/contracts/authorization/AccessAdminLib.sol +678 -0
  360. package/contracts/authorization/AccessManagerCloneable.sol +128 -4
  361. package/contracts/authorization/Authorization.sol +179 -206
  362. package/contracts/authorization/IAccess.sol +29 -11
  363. package/contracts/authorization/IAccessAdmin.sol +89 -83
  364. package/contracts/authorization/IAuthorization.sol +9 -37
  365. package/contracts/authorization/IServiceAuthorization.sol +57 -17
  366. package/contracts/authorization/ServiceAuthorization.sol +235 -25
  367. package/contracts/distribution/BasicDistribution.sol +21 -19
  368. package/contracts/distribution/BasicDistributionAuthorization.sol +30 -10
  369. package/contracts/distribution/Distribution.sol +45 -95
  370. package/contracts/distribution/DistributionService.sol +224 -112
  371. package/contracts/distribution/DistributionServiceManager.sol +6 -6
  372. package/contracts/distribution/IDistributionComponent.sol +4 -11
  373. package/contracts/distribution/IDistributionService.sol +38 -24
  374. package/contracts/examples/fire/DamageLevel.sol +59 -0
  375. package/contracts/examples/fire/FirePool.sol +86 -0
  376. package/contracts/examples/fire/FirePoolAuthorization.sol +35 -0
  377. package/contracts/examples/fire/FireProduct.sol +433 -0
  378. package/contracts/examples/fire/FireProductAuthorization.sol +45 -0
  379. package/contracts/examples/fire/FireUSD.sol +26 -0
  380. package/contracts/examples/unpermissioned/SimpleDistribution.sol +43 -12
  381. package/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol +28 -0
  382. package/contracts/examples/unpermissioned/SimpleOracle.sol +8 -12
  383. package/contracts/examples/unpermissioned/SimplePool.sol +36 -10
  384. package/contracts/examples/unpermissioned/SimplePoolAuthorization.sol +28 -0
  385. package/contracts/examples/unpermissioned/SimpleProduct.sol +134 -48
  386. package/contracts/examples/unpermissioned/SimpleProductAuthorization.sol +28 -0
  387. package/contracts/instance/BaseStore.sol +93 -0
  388. package/contracts/instance/BundleSet.sol +42 -38
  389. package/contracts/instance/IBaseStore.sol +37 -0
  390. package/contracts/instance/IInstance.sol +111 -18
  391. package/contracts/instance/IInstanceService.sol +61 -34
  392. package/contracts/instance/Instance.sol +196 -74
  393. package/contracts/instance/InstanceAdmin.sol +219 -197
  394. package/contracts/instance/InstanceAuthorizationV3.sol +154 -83
  395. package/contracts/instance/InstanceReader.sol +450 -274
  396. package/contracts/instance/InstanceService.sol +314 -267
  397. package/contracts/instance/InstanceServiceManager.sol +6 -7
  398. package/contracts/instance/InstanceStore.sol +152 -116
  399. package/contracts/instance/ProductStore.sol +290 -0
  400. package/contracts/instance/RiskSet.sol +126 -0
  401. package/contracts/instance/TargetNames.sol +10 -0
  402. package/contracts/instance/base/BalanceStore.sol +4 -6
  403. package/contracts/instance/base/ObjectCounter.sol +1 -2
  404. package/contracts/instance/base/ObjectLifecycle.sol +6 -8
  405. package/contracts/instance/base/ObjectSet.sol +31 -33
  406. package/contracts/instance/base/ObjectSetHelperLib.sol +30 -0
  407. package/contracts/instance/module/IBundle.sol +6 -5
  408. package/contracts/instance/module/IComponents.sol +28 -14
  409. package/contracts/instance/module/IDistribution.sol +21 -8
  410. package/contracts/instance/module/IPolicy.sol +30 -9
  411. package/contracts/instance/module/IRisk.sol +5 -0
  412. package/contracts/oracle/BasicOracle.sol +3 -7
  413. package/contracts/oracle/BasicOracleAuthorization.sol +15 -8
  414. package/contracts/oracle/IOracle.sol +9 -4
  415. package/contracts/oracle/IOracleService.sol +2 -1
  416. package/contracts/oracle/Oracle.sol +9 -24
  417. package/contracts/oracle/OracleService.sol +117 -86
  418. package/contracts/oracle/OracleServiceManager.sol +6 -6
  419. package/contracts/pool/BasicPool.sol +35 -40
  420. package/contracts/pool/BasicPoolAuthorization.sol +34 -11
  421. package/contracts/pool/BundleService.sol +115 -167
  422. package/contracts/pool/BundleServiceManager.sol +6 -6
  423. package/contracts/pool/IBundleService.sol +28 -46
  424. package/contracts/pool/IPoolComponent.sol +19 -15
  425. package/contracts/pool/IPoolService.sol +77 -67
  426. package/contracts/pool/Pool.sol +142 -137
  427. package/contracts/pool/PoolLib.sol +341 -0
  428. package/contracts/pool/PoolService.sol +355 -250
  429. package/contracts/pool/PoolServiceManager.sol +4 -4
  430. package/contracts/product/ApplicationService.sol +110 -31
  431. package/contracts/product/ApplicationServiceManager.sol +4 -4
  432. package/contracts/product/BasicProduct.sol +10 -15
  433. package/contracts/product/BasicProductAuthorization.sol +32 -12
  434. package/contracts/product/ClaimService.sol +328 -189
  435. package/contracts/product/ClaimServiceManager.sol +4 -4
  436. package/contracts/product/IApplicationService.sol +28 -3
  437. package/contracts/product/IClaimService.sol +21 -7
  438. package/contracts/product/IPolicyService.sol +41 -12
  439. package/contracts/product/IPricingService.sol +10 -9
  440. package/contracts/product/IProductComponent.sol +27 -4
  441. package/contracts/product/IRiskService.sol +25 -10
  442. package/contracts/product/PolicyService.sol +357 -285
  443. package/contracts/product/PolicyServiceLib.sol +139 -0
  444. package/contracts/product/PolicyServiceManager.sol +4 -4
  445. package/contracts/product/PricingService.sol +59 -54
  446. package/contracts/product/PricingServiceManager.sol +4 -4
  447. package/contracts/product/Product.sol +155 -89
  448. package/contracts/product/RiskService.sol +131 -39
  449. package/contracts/product/RiskServiceManager.sol +4 -4
  450. package/contracts/registry/ChainNft.sol +10 -11
  451. package/contracts/registry/IRegistry.sol +31 -27
  452. package/contracts/registry/IRegistryService.sol +5 -12
  453. package/contracts/registry/IRelease.sol +29 -0
  454. package/contracts/registry/ITransferInterceptor.sol +1 -2
  455. package/contracts/registry/Registry.sol +51 -17
  456. package/contracts/registry/RegistryAdmin.sol +94 -385
  457. package/contracts/registry/RegistryAuthorization.sol +337 -0
  458. package/contracts/registry/RegistryService.sol +37 -48
  459. package/contracts/registry/RegistryServiceManager.sol +3 -3
  460. package/contracts/registry/ReleaseAdmin.sol +199 -0
  461. package/contracts/registry/ReleaseLifecycle.sol +8 -3
  462. package/contracts/registry/ReleaseRegistry.sol +278 -244
  463. package/contracts/registry/ServiceAuthorizationV3.sol +204 -61
  464. package/contracts/registry/TokenRegistry.sol +61 -59
  465. package/contracts/shared/Component.sol +67 -125
  466. package/contracts/shared/ComponentService.sol +427 -377
  467. package/contracts/shared/ComponentServiceManager.sol +8 -5
  468. package/contracts/shared/ContractLib.sol +312 -0
  469. package/contracts/shared/IComponent.sol +6 -18
  470. package/contracts/shared/IComponentService.sol +43 -40
  471. package/contracts/shared/IInstanceLinkedComponent.sol +3 -22
  472. package/contracts/shared/ILifecycle.sol +3 -1
  473. package/contracts/shared/INftOwnable.sol +4 -0
  474. package/contracts/shared/IPolicyHolder.sol +12 -13
  475. package/contracts/shared/IRegisterable.sol +22 -1
  476. package/contracts/shared/IService.sol +3 -5
  477. package/contracts/shared/InitializableERC165.sol +9 -1
  478. package/contracts/shared/InstanceLinkedComponent.sol +72 -52
  479. package/contracts/shared/Lifecycle.sol +15 -4
  480. package/contracts/shared/NftOwnable.sol +29 -7
  481. package/contracts/shared/PolicyHolder.sol +15 -8
  482. package/contracts/shared/Registerable.sol +50 -19
  483. package/contracts/shared/RegistryLinked.sol +7 -13
  484. package/contracts/shared/Service.sol +18 -33
  485. package/contracts/shared/TokenHandler.sol +275 -72
  486. package/contracts/shared/TokenHandlerDeployerLib.sol +10 -2
  487. package/contracts/staking/IStaking.sol +270 -72
  488. package/contracts/staking/IStakingService.sol +45 -78
  489. package/contracts/staking/ITargetLimitHandler.sol +17 -0
  490. package/contracts/staking/Staking.sol +524 -225
  491. package/contracts/staking/{StakeManagerLib.sol → StakingLib.sol} +55 -84
  492. package/contracts/staking/StakingManager.sol +12 -9
  493. package/contracts/staking/StakingReader.sol +70 -82
  494. package/contracts/staking/StakingService.sol +62 -148
  495. package/contracts/staking/StakingServiceManager.sol +7 -5
  496. package/contracts/staking/StakingStore.sol +1093 -330
  497. package/contracts/staking/TargetHandler.sol +132 -0
  498. package/contracts/staking/TargetManagerLib.sol +69 -46
  499. package/contracts/type/Amount.sol +19 -0
  500. package/contracts/type/Blocknumber.sol +17 -22
  501. package/contracts/type/ChainId.sol +101 -0
  502. package/contracts/type/ClaimId.sol +6 -1
  503. package/contracts/type/Fee.sol +8 -8
  504. package/contracts/type/Key32.sol +2 -2
  505. package/contracts/type/Key32Set.sol +62 -0
  506. package/contracts/type/NftId.sol +7 -0
  507. package/contracts/type/ObjectType.sol +70 -38
  508. package/contracts/type/PayoutId.sol +10 -10
  509. package/contracts/type/RiskId.sol +38 -6
  510. package/contracts/type/RoleId.sol +61 -55
  511. package/contracts/type/Seconds.sol +19 -0
  512. package/contracts/type/Selector.sol +5 -0
  513. package/contracts/type/StateId.sol +14 -1
  514. package/contracts/type/String.sol +12 -0
  515. package/contracts/type/Timestamp.sol +4 -7
  516. package/contracts/type/UFixed.sol +38 -126
  517. package/contracts/type/Version.sol +54 -5
  518. package/contracts/upgradeability/IVersionable.sol +3 -0
  519. package/contracts/upgradeability/ProxyManager.sol +94 -46
  520. package/contracts/upgradeability/UpgradableProxyWithAdmin.sol +12 -2
  521. package/contracts/upgradeability/Versionable.sol +8 -5
  522. package/package.json +5 -4
  523. package/artifacts/contracts/authorization/IModuleAuthorization.sol/IModuleAuthorization.dbg.json +0 -4
  524. package/artifacts/contracts/authorization/IModuleAuthorization.sol/IModuleAuthorization.json +0 -290
  525. package/artifacts/contracts/authorization/ModuleAuthorization.sol/ModuleAuthorization.dbg.json +0 -4
  526. package/artifacts/contracts/authorization/ModuleAuthorization.sol/ModuleAuthorization.json +0 -390
  527. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.dbg.json +0 -4
  528. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.json +0 -129
  529. package/artifacts/contracts/shared/ComponentVerifyingService.sol/ComponentVerifyingService.dbg.json +0 -4
  530. package/artifacts/contracts/shared/ComponentVerifyingService.sol/ComponentVerifyingService.json +0 -427
  531. package/artifacts/contracts/shared/IKeyValueStore.sol/IKeyValueStore.dbg.json +0 -4
  532. package/artifacts/contracts/shared/InitializableCustom.sol/InitializableCustom.dbg.json +0 -4
  533. package/artifacts/contracts/shared/InitializableCustom.sol/InitializableCustom.json +0 -39
  534. package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.dbg.json +0 -4
  535. package/artifacts/contracts/staking/StakeManagerLib.sol/StakeManagerLib.dbg.json +0 -4
  536. package/artifacts/contracts/staking/StakeManagerLib.sol/StakeManagerLib.json +0 -440
  537. package/artifacts/contracts/staking/StakingLifecycle.sol/StakingLifecycle.dbg.json +0 -4
  538. package/artifacts/contracts/staking/StakingLifecycle.sol/StakingLifecycle.json +0 -164
  539. package/artifacts/contracts/type/UFixed.sol/MathLib.dbg.json +0 -4
  540. package/artifacts/contracts/type/UFixed.sol/MathLib.json +0 -16
  541. package/contracts/authorization/IModuleAuthorization.sol +0 -21
  542. package/contracts/authorization/ModuleAuthorization.sol +0 -78
  543. package/contracts/instance/module/IAccess.sol +0 -46
  544. package/contracts/shared/ComponentVerifyingService.sol +0 -117
  545. package/contracts/shared/IKeyValueStore.sol +0 -54
  546. package/contracts/shared/InitializableCustom.sol +0 -177
  547. package/contracts/shared/KeyValueStore.sol +0 -131
  548. package/contracts/staking/StakingLifecycle.sol +0 -23
@@ -3,11 +3,6 @@
3
3
  "contractName": "AccessAdmin",
4
4
  "sourceName": "contracts/authorization/AccessAdmin.sol",
5
5
  "abi": [
6
- {
7
- "inputs": [],
8
- "stateMutability": "nonpayable",
9
- "type": "constructor"
10
- },
11
6
  {
12
7
  "inputs": [
13
8
  {
@@ -48,12 +43,98 @@
48
43
  },
49
44
  {
50
45
  "inputs": [],
51
- "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",
52
58
  "type": "error"
53
59
  },
54
60
  {
55
61
  "inputs": [],
56
- "name": "ErrorAuthorityAlreadySet",
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",
57
138
  "type": "error"
58
139
  },
59
140
  {
@@ -62,9 +143,24 @@
62
143
  "internalType": "address",
63
144
  "name": "target",
64
145
  "type": "address"
146
+ },
147
+ {
148
+ "internalType": "enum IAccess.TargetType",
149
+ "name": "targetType",
150
+ "type": "uint8"
65
151
  }
66
152
  ],
67
- "name": "ErrorAuthorizeForAdminRoleInvalid",
153
+ "name": "ErrorAccessAdminInvalidTargetType",
154
+ "type": "error"
155
+ },
156
+ {
157
+ "inputs": [],
158
+ "name": "ErrorAccessAdminInvalidUseOfAdminRole",
159
+ "type": "error"
160
+ },
161
+ {
162
+ "inputs": [],
163
+ "name": "ErrorAccessAdminInvalidUseOfPublicRole",
68
164
  "type": "error"
69
165
  },
70
166
  {
@@ -73,14 +169,63 @@
73
169
  "internalType": "RoleId",
74
170
  "name": "adminRoleId",
75
171
  "type": "uint64"
172
+ },
173
+ {
174
+ "internalType": "address",
175
+ "name": "account",
176
+ "type": "address"
76
177
  }
77
178
  ],
78
- "name": "ErrorNotAdminOfRole",
179
+ "name": "ErrorAccessAdminNotAdminOfRole",
180
+ "type": "error"
181
+ },
182
+ {
183
+ "inputs": [
184
+ {
185
+ "internalType": "address",
186
+ "name": "authorization",
187
+ "type": "address"
188
+ }
189
+ ],
190
+ "name": "ErrorAccessAdminNotAuthorization",
191
+ "type": "error"
192
+ },
193
+ {
194
+ "inputs": [
195
+ {
196
+ "internalType": "address",
197
+ "name": "target",
198
+ "type": "address"
199
+ }
200
+ ],
201
+ "name": "ErrorAccessAdminNotComponentOrCustomTarget",
79
202
  "type": "error"
80
203
  },
81
204
  {
82
205
  "inputs": [],
83
- "name": "ErrorNotDeployer",
206
+ "name": "ErrorAccessAdminNotDeployer",
207
+ "type": "error"
208
+ },
209
+ {
210
+ "inputs": [
211
+ {
212
+ "internalType": "address",
213
+ "name": "registerable",
214
+ "type": "address"
215
+ }
216
+ ],
217
+ "name": "ErrorAccessAdminNotRegistered",
218
+ "type": "error"
219
+ },
220
+ {
221
+ "inputs": [
222
+ {
223
+ "internalType": "address",
224
+ "name": "registry",
225
+ "type": "address"
226
+ }
227
+ ],
228
+ "name": "ErrorAccessAdminNotRegistry",
84
229
  "type": "error"
85
230
  },
86
231
  {
@@ -89,9 +234,46 @@
89
234
  "internalType": "RoleId",
90
235
  "name": "roleId",
91
236
  "type": "uint64"
237
+ },
238
+ {
239
+ "internalType": "address",
240
+ "name": "account",
241
+ "type": "address"
242
+ }
243
+ ],
244
+ "name": "ErrorAccessAdminNotRoleOwner",
245
+ "type": "error"
246
+ },
247
+ {
248
+ "inputs": [
249
+ {
250
+ "internalType": "address",
251
+ "name": "serviceAuthorization",
252
+ "type": "address"
92
253
  }
93
254
  ],
94
- "name": "ErrorNotRoleOwner",
255
+ "name": "ErrorAccessAdminNotServiceAuthorization",
256
+ "type": "error"
257
+ },
258
+ {
259
+ "inputs": [
260
+ {
261
+ "internalType": "address",
262
+ "name": "authorization",
263
+ "type": "address"
264
+ },
265
+ {
266
+ "internalType": "VersionPart",
267
+ "name": "expectedRelease",
268
+ "type": "uint8"
269
+ },
270
+ {
271
+ "internalType": "VersionPart",
272
+ "name": "actualRelease",
273
+ "type": "uint8"
274
+ }
275
+ ],
276
+ "name": "ErrorAccessAdminReleaseMismatch",
95
277
  "type": "error"
96
278
  },
97
279
  {
@@ -102,7 +284,7 @@
102
284
  "type": "uint64"
103
285
  }
104
286
  ],
105
- "name": "ErrorRoleAdminNotExisting",
287
+ "name": "ErrorAccessAdminRoleAdminNotExisting",
106
288
  "type": "error"
107
289
  },
108
290
  {
@@ -118,7 +300,7 @@
118
300
  "type": "string"
119
301
  }
120
302
  ],
121
- "name": "ErrorRoleAlreadyCreated",
303
+ "name": "ErrorAccessAdminRoleAlreadyCreated",
122
304
  "type": "error"
123
305
  },
124
306
  {
@@ -129,7 +311,7 @@
129
311
  "type": "uint64"
130
312
  }
131
313
  ],
132
- "name": "ErrorRoleIsDisabled",
314
+ "name": "ErrorAccessAdminRoleIsLocked",
133
315
  "type": "error"
134
316
  },
135
317
  {
@@ -140,7 +322,39 @@
140
322
  "type": "uint64"
141
323
  }
142
324
  ],
143
- "name": "ErrorRoleIsLocked",
325
+ "name": "ErrorAccessAdminRoleIsPaused",
326
+ "type": "error"
327
+ },
328
+ {
329
+ "inputs": [
330
+ {
331
+ "internalType": "RoleId",
332
+ "name": "roleId",
333
+ "type": "uint64"
334
+ },
335
+ {
336
+ "internalType": "address",
337
+ "name": "notContract",
338
+ "type": "address"
339
+ }
340
+ ],
341
+ "name": "ErrorAccessAdminRoleMemberNotContract",
342
+ "type": "error"
343
+ },
344
+ {
345
+ "inputs": [
346
+ {
347
+ "internalType": "RoleId",
348
+ "name": "roleId",
349
+ "type": "uint64"
350
+ },
351
+ {
352
+ "internalType": "address",
353
+ "name": "expectedMember",
354
+ "type": "address"
355
+ }
356
+ ],
357
+ "name": "ErrorAccessAdminRoleMemberRemovalDisabled",
144
358
  "type": "error"
145
359
  },
146
360
  {
@@ -156,7 +370,7 @@
156
370
  "type": "uint256"
157
371
  }
158
372
  ],
159
- "name": "ErrorRoleMembersLimitReached",
373
+ "name": "ErrorAccessAdminRoleMembersLimitReached",
160
374
  "type": "error"
161
375
  },
162
376
  {
@@ -177,7 +391,7 @@
177
391
  "type": "uint64"
178
392
  }
179
393
  ],
180
- "name": "ErrorRoleNameAlreadyExists",
394
+ "name": "ErrorAccessAdminRoleNameAlreadyExists",
181
395
  "type": "error"
182
396
  },
183
397
  {
@@ -188,7 +402,7 @@
188
402
  "type": "uint64"
189
403
  }
190
404
  ],
191
- "name": "ErrorRoleNameEmpty",
405
+ "name": "ErrorAccessAdminRoleNameEmpty",
192
406
  "type": "error"
193
407
  },
194
408
  {
@@ -199,7 +413,7 @@
199
413
  "type": "uint64"
200
414
  }
201
415
  ],
202
- "name": "ErrorRoleRemovalDisabled",
416
+ "name": "ErrorAccessAdminRoleNotCustom",
203
417
  "type": "error"
204
418
  },
205
419
  {
@@ -210,12 +424,17 @@
210
424
  "type": "uint64"
211
425
  }
212
426
  ],
213
- "name": "ErrorRoleUnknown",
427
+ "name": "ErrorAccessAdminRoleUnknown",
428
+ "type": "error"
429
+ },
430
+ {
431
+ "inputs": [],
432
+ "name": "ErrorAccessAdminSelectorZero",
214
433
  "type": "error"
215
434
  },
216
435
  {
217
436
  "inputs": [],
218
- "name": "ErrorTagetNotLockable",
437
+ "name": "ErrorAccessAdminTagetNotLockable",
219
438
  "type": "error"
220
439
  },
221
440
  {
@@ -231,7 +450,23 @@
231
450
  "type": "string"
232
451
  }
233
452
  ],
234
- "name": "ErrorTargetAlreadyCreated",
453
+ "name": "ErrorAccessAdminTargetAlreadyCreated",
454
+ "type": "error"
455
+ },
456
+ {
457
+ "inputs": [
458
+ {
459
+ "internalType": "address",
460
+ "name": "target",
461
+ "type": "address"
462
+ },
463
+ {
464
+ "internalType": "bool",
465
+ "name": "isLocked",
466
+ "type": "bool"
467
+ }
468
+ ],
469
+ "name": "ErrorAccessAdminTargetAlreadyLocked",
235
470
  "type": "error"
236
471
  },
237
472
  {
@@ -247,7 +482,7 @@
247
482
  "type": "address"
248
483
  }
249
484
  ],
250
- "name": "ErrorTargetAuthorityMismatch",
485
+ "name": "ErrorAccessAdminTargetAuthorityMismatch",
251
486
  "type": "error"
252
487
  },
253
488
  {
@@ -268,7 +503,7 @@
268
503
  "type": "address"
269
504
  }
270
505
  ],
271
- "name": "ErrorTargetNameAlreadyExists",
506
+ "name": "ErrorAccessAdminTargetNameAlreadyExists",
272
507
  "type": "error"
273
508
  },
274
509
  {
@@ -279,7 +514,7 @@
279
514
  "type": "address"
280
515
  }
281
516
  ],
282
- "name": "ErrorTargetNameEmpty",
517
+ "name": "ErrorAccessAdminTargetNameEmpty",
283
518
  "type": "error"
284
519
  },
285
520
  {
@@ -290,7 +525,7 @@
290
525
  "type": "address"
291
526
  }
292
527
  ],
293
- "name": "ErrorTargetNotAccessManaged",
528
+ "name": "ErrorAccessAdminTargetNotAccessManaged",
294
529
  "type": "error"
295
530
  },
296
531
  {
@@ -301,22 +536,71 @@
301
536
  "type": "address"
302
537
  }
303
538
  ],
304
- "name": "ErrorTargetUnknown",
539
+ "name": "ErrorAccessAdminTargetNotCreated",
305
540
  "type": "error"
306
541
  },
307
542
  {
308
- "inputs": [],
309
- "name": "InvalidInitialization",
543
+ "inputs": [
544
+ {
545
+ "internalType": "address",
546
+ "name": "target",
547
+ "type": "address"
548
+ }
549
+ ],
550
+ "name": "ErrorAccessAdminTargetNotRegistered",
551
+ "type": "error"
552
+ },
553
+ {
554
+ "inputs": [
555
+ {
556
+ "internalType": "address",
557
+ "name": "target",
558
+ "type": "address"
559
+ },
560
+ {
561
+ "internalType": "ObjectType",
562
+ "name": "expectedType",
563
+ "type": "uint8"
564
+ },
565
+ {
566
+ "internalType": "ObjectType",
567
+ "name": "actualType",
568
+ "type": "uint8"
569
+ }
570
+ ],
571
+ "name": "ErrorAccessAdminTargetTypeMismatch",
572
+ "type": "error"
573
+ },
574
+ {
575
+ "inputs": [
576
+ {
577
+ "internalType": "address",
578
+ "name": "target",
579
+ "type": "address"
580
+ }
581
+ ],
582
+ "name": "ErrorAccessAdminTargetUnknown",
583
+ "type": "error"
584
+ },
585
+ {
586
+ "inputs": [
587
+ {
588
+ "internalType": "address",
589
+ "name": "registryAddress",
590
+ "type": "address"
591
+ }
592
+ ],
593
+ "name": "ErrorNotRegistry",
310
594
  "type": "error"
311
595
  },
312
596
  {
313
597
  "inputs": [],
314
- "name": "NotInitializing",
598
+ "name": "InvalidInitialization",
315
599
  "type": "error"
316
600
  },
317
601
  {
318
602
  "inputs": [],
319
- "name": "ReentrancyGuardReentrantCall",
603
+ "name": "NotInitializing",
320
604
  "type": "error"
321
605
  },
322
606
  {
@@ -348,6 +632,12 @@
348
632
  {
349
633
  "anonymous": false,
350
634
  "inputs": [
635
+ {
636
+ "indexed": false,
637
+ "internalType": "string",
638
+ "name": "admin",
639
+ "type": "string"
640
+ },
351
641
  {
352
642
  "indexed": false,
353
643
  "internalType": "address",
@@ -356,23 +646,60 @@
356
646
  },
357
647
  {
358
648
  "indexed": false,
359
- "internalType": "Selector",
360
- "name": "selector",
361
- "type": "bytes4"
649
+ "internalType": "string",
650
+ "name": "func",
651
+ "type": "string"
362
652
  },
653
+ {
654
+ "indexed": false,
655
+ "internalType": "Blocknumber",
656
+ "name": "lastUpdateIn",
657
+ "type": "uint40"
658
+ }
659
+ ],
660
+ "name": "LogAccessAdminFunctionGranted",
661
+ "type": "event"
662
+ },
663
+ {
664
+ "anonymous": false,
665
+ "inputs": [
363
666
  {
364
667
  "indexed": false,
365
668
  "internalType": "string",
366
- "name": "name",
669
+ "name": "admin",
367
670
  "type": "string"
671
+ },
672
+ {
673
+ "indexed": false,
674
+ "internalType": "RoleId",
675
+ "name": "roleId",
676
+ "type": "uint64"
677
+ },
678
+ {
679
+ "indexed": false,
680
+ "internalType": "bool",
681
+ "name": "active",
682
+ "type": "bool"
683
+ },
684
+ {
685
+ "indexed": false,
686
+ "internalType": "Blocknumber",
687
+ "name": "lastUpdateIn",
688
+ "type": "uint40"
368
689
  }
369
690
  ],
370
- "name": "LogFunctionCreated",
691
+ "name": "LogAccessAdminRoleActivatedSet",
371
692
  "type": "event"
372
693
  },
373
694
  {
374
695
  "anonymous": false,
375
696
  "inputs": [
697
+ {
698
+ "indexed": false,
699
+ "internalType": "string",
700
+ "name": "admin",
701
+ "type": "string"
702
+ },
376
703
  {
377
704
  "indexed": false,
378
705
  "internalType": "RoleId",
@@ -381,8 +708,8 @@
381
708
  },
382
709
  {
383
710
  "indexed": false,
384
- "internalType": "enum IAccess.RoleType",
385
- "name": "roleType",
711
+ "internalType": "enum IAccess.TargetType",
712
+ "name": "targetType",
386
713
  "type": "uint8"
387
714
  },
388
715
  {
@@ -398,53 +725,126 @@
398
725
  "type": "string"
399
726
  }
400
727
  ],
401
- "name": "LogRoleCreated",
728
+ "name": "LogAccessAdminRoleCreated",
402
729
  "type": "event"
403
730
  },
404
731
  {
405
732
  "anonymous": false,
406
733
  "inputs": [
734
+ {
735
+ "indexed": false,
736
+ "internalType": "string",
737
+ "name": "admin",
738
+ "type": "string"
739
+ },
407
740
  {
408
741
  "indexed": false,
409
742
  "internalType": "address",
410
- "name": "target",
743
+ "name": "account",
411
744
  "type": "address"
412
745
  },
413
746
  {
414
747
  "indexed": false,
415
748
  "internalType": "string",
416
- "name": "name",
749
+ "name": "roleName",
417
750
  "type": "string"
418
751
  }
419
752
  ],
420
- "name": "LogTargetCreated",
753
+ "name": "LogAccessAdminRoleGranted",
421
754
  "type": "event"
422
755
  },
423
756
  {
424
- "inputs": [],
425
- "name": "ADMIN_ROLE_NAME",
426
- "outputs": [
757
+ "anonymous": false,
758
+ "inputs": [
427
759
  {
760
+ "indexed": false,
428
761
  "internalType": "string",
429
- "name": "",
762
+ "name": "admin",
763
+ "type": "string"
764
+ },
765
+ {
766
+ "indexed": false,
767
+ "internalType": "address",
768
+ "name": "account",
769
+ "type": "address"
770
+ },
771
+ {
772
+ "indexed": false,
773
+ "internalType": "string",
774
+ "name": "roleName",
430
775
  "type": "string"
431
776
  }
432
777
  ],
433
- "stateMutability": "view",
434
- "type": "function"
778
+ "name": "LogAccessAdminRoleRevoked",
779
+ "type": "event"
435
780
  },
436
781
  {
437
- "inputs": [],
438
- "name": "PUBLIC_ROLE_NAME",
439
- "outputs": [
782
+ "anonymous": false,
783
+ "inputs": [
784
+ {
785
+ "indexed": false,
786
+ "internalType": "string",
787
+ "name": "admin",
788
+ "type": "string"
789
+ },
440
790
  {
791
+ "indexed": false,
441
792
  "internalType": "string",
442
- "name": "",
793
+ "name": "name",
443
794
  "type": "string"
795
+ },
796
+ {
797
+ "indexed": false,
798
+ "internalType": "bool",
799
+ "name": "managed",
800
+ "type": "bool"
801
+ },
802
+ {
803
+ "indexed": false,
804
+ "internalType": "address",
805
+ "name": "target",
806
+ "type": "address"
807
+ },
808
+ {
809
+ "indexed": false,
810
+ "internalType": "RoleId",
811
+ "name": "roleId",
812
+ "type": "uint64"
444
813
  }
445
814
  ],
446
- "stateMutability": "view",
447
- "type": "function"
815
+ "name": "LogAccessAdminTargetCreated",
816
+ "type": "event"
817
+ },
818
+ {
819
+ "anonymous": false,
820
+ "inputs": [
821
+ {
822
+ "indexed": false,
823
+ "internalType": "string",
824
+ "name": "admin",
825
+ "type": "string"
826
+ },
827
+ {
828
+ "indexed": false,
829
+ "internalType": "address",
830
+ "name": "target",
831
+ "type": "address"
832
+ },
833
+ {
834
+ "indexed": false,
835
+ "internalType": "bool",
836
+ "name": "locked",
837
+ "type": "bool"
838
+ },
839
+ {
840
+ "indexed": false,
841
+ "internalType": "Blocknumber",
842
+ "name": "lastUpdateIn",
843
+ "type": "uint40"
844
+ }
845
+ ],
846
+ "name": "LogAccessAdminTargetLockedSet",
847
+ "type": "event"
448
848
  },
449
849
  {
450
850
  "inputs": [],
@@ -479,29 +879,13 @@
479
879
  "type": "function"
480
880
  },
481
881
  {
482
- "inputs": [
483
- {
484
- "internalType": "address",
485
- "name": "caller",
486
- "type": "address"
487
- },
488
- {
489
- "internalType": "address",
490
- "name": "target",
491
- "type": "address"
492
- },
493
- {
494
- "internalType": "Selector",
495
- "name": "selector",
496
- "type": "bytes4"
497
- }
498
- ],
499
- "name": "canCall",
882
+ "inputs": [],
883
+ "name": "getAdminRole",
500
884
  "outputs": [
501
885
  {
502
- "internalType": "bool",
503
- "name": "can",
504
- "type": "bool"
886
+ "internalType": "RoleId",
887
+ "name": "roleId",
888
+ "type": "uint64"
505
889
  }
506
890
  ],
507
891
  "stateMutability": "view",
@@ -509,11 +893,11 @@
509
893
  },
510
894
  {
511
895
  "inputs": [],
512
- "name": "deployer",
896
+ "name": "getAuthorization",
513
897
  "outputs": [
514
898
  {
515
- "internalType": "address",
516
- "name": "",
899
+ "internalType": "contract IAuthorization",
900
+ "name": "authorization",
517
901
  "type": "address"
518
902
  }
519
903
  ],
@@ -521,9 +905,47 @@
521
905
  "type": "function"
522
906
  },
523
907
  {
524
- "inputs": [],
525
- "name": "getAdminRole",
908
+ "inputs": [
909
+ {
910
+ "internalType": "address",
911
+ "name": "target",
912
+ "type": "address"
913
+ },
914
+ {
915
+ "internalType": "uint256",
916
+ "name": "idx",
917
+ "type": "uint256"
918
+ }
919
+ ],
920
+ "name": "getAuthorizedFunction",
526
921
  "outputs": [
922
+ {
923
+ "components": [
924
+ {
925
+ "internalType": "Str",
926
+ "name": "name",
927
+ "type": "bytes32"
928
+ },
929
+ {
930
+ "internalType": "Selector",
931
+ "name": "selector",
932
+ "type": "bytes4"
933
+ },
934
+ {
935
+ "internalType": "Timestamp",
936
+ "name": "createdAt",
937
+ "type": "uint40"
938
+ },
939
+ {
940
+ "internalType": "Blocknumber",
941
+ "name": "lastUpdateIn",
942
+ "type": "uint40"
943
+ }
944
+ ],
945
+ "internalType": "struct IAccess.FunctionInfo",
946
+ "name": "func",
947
+ "type": "tuple"
948
+ },
527
949
  {
528
950
  "internalType": "RoleId",
529
951
  "name": "roleId",
@@ -541,12 +963,12 @@
541
963
  "type": "address"
542
964
  },
543
965
  {
544
- "internalType": "uint256",
545
- "name": "idx",
546
- "type": "uint256"
966
+ "internalType": "Selector",
967
+ "name": "selector",
968
+ "type": "bytes4"
547
969
  }
548
970
  ],
549
- "name": "getAuthorizedFunction",
971
+ "name": "getFunctionInfo",
550
972
  "outputs": [
551
973
  {
552
974
  "components": [
@@ -564,16 +986,29 @@
564
986
  "internalType": "Timestamp",
565
987
  "name": "createdAt",
566
988
  "type": "uint40"
989
+ },
990
+ {
991
+ "internalType": "Blocknumber",
992
+ "name": "lastUpdateIn",
993
+ "type": "uint40"
567
994
  }
568
995
  ],
569
996
  "internalType": "struct IAccess.FunctionInfo",
570
- "name": "func",
997
+ "name": "functionInfo",
571
998
  "type": "tuple"
572
- },
999
+ }
1000
+ ],
1001
+ "stateMutability": "view",
1002
+ "type": "function"
1003
+ },
1004
+ {
1005
+ "inputs": [],
1006
+ "name": "getLinkedNftId",
1007
+ "outputs": [
573
1008
  {
574
- "internalType": "RoleId",
575
- "name": "roleId",
576
- "type": "uint64"
1009
+ "internalType": "NftId",
1010
+ "name": "linkedNftId",
1011
+ "type": "uint96"
577
1012
  }
578
1013
  ],
579
1014
  "stateMutability": "view",
@@ -592,32 +1027,51 @@
592
1027
  "stateMutability": "view",
593
1028
  "type": "function"
594
1029
  },
1030
+ {
1031
+ "inputs": [],
1032
+ "name": "getRegistry",
1033
+ "outputs": [
1034
+ {
1035
+ "internalType": "contract IRegistry",
1036
+ "name": "registry",
1037
+ "type": "address"
1038
+ }
1039
+ ],
1040
+ "stateMutability": "view",
1041
+ "type": "function"
1042
+ },
1043
+ {
1044
+ "inputs": [],
1045
+ "name": "getRelease",
1046
+ "outputs": [
1047
+ {
1048
+ "internalType": "VersionPart",
1049
+ "name": "release",
1050
+ "type": "uint8"
1051
+ }
1052
+ ],
1053
+ "stateMutability": "view",
1054
+ "type": "function"
1055
+ },
595
1056
  {
596
1057
  "inputs": [
597
1058
  {
598
- "internalType": "Str",
1059
+ "internalType": "string",
599
1060
  "name": "name",
600
- "type": "bytes32"
1061
+ "type": "string"
601
1062
  }
602
1063
  ],
603
1064
  "name": "getRoleForName",
604
1065
  "outputs": [
605
1066
  {
606
- "components": [
607
- {
608
- "internalType": "RoleId",
609
- "name": "roleId",
610
- "type": "uint64"
611
- },
612
- {
613
- "internalType": "bool",
614
- "name": "exists",
615
- "type": "bool"
616
- }
617
- ],
618
- "internalType": "struct IAccess.RoleNameInfo",
619
- "name": "",
620
- "type": "tuple"
1067
+ "internalType": "RoleId",
1068
+ "name": "roleId",
1069
+ "type": "uint64"
1070
+ },
1071
+ {
1072
+ "internalType": "bool",
1073
+ "name": "exists",
1074
+ "type": "bool"
621
1075
  }
622
1076
  ],
623
1077
  "stateMutability": "view",
@@ -660,8 +1114,8 @@
660
1114
  "type": "uint64"
661
1115
  },
662
1116
  {
663
- "internalType": "enum IAccess.RoleType",
664
- "name": "roleType",
1117
+ "internalType": "enum IAccess.TargetType",
1118
+ "name": "targetType",
665
1119
  "type": "uint8"
666
1120
  },
667
1121
  {
@@ -670,14 +1124,24 @@
670
1124
  "type": "uint32"
671
1125
  },
672
1126
  {
673
- "internalType": "Str",
674
- "name": "name",
675
- "type": "bytes32"
1127
+ "internalType": "Timestamp",
1128
+ "name": "createdAt",
1129
+ "type": "uint40"
676
1130
  },
677
1131
  {
678
1132
  "internalType": "Timestamp",
679
- "name": "createdAt",
1133
+ "name": "pausedAt",
1134
+ "type": "uint40"
1135
+ },
1136
+ {
1137
+ "internalType": "Blocknumber",
1138
+ "name": "lastUpdateIn",
680
1139
  "type": "uint40"
1140
+ },
1141
+ {
1142
+ "internalType": "Str",
1143
+ "name": "name",
1144
+ "type": "bytes32"
681
1145
  }
682
1146
  ],
683
1147
  "internalType": "struct IAccess.RoleInfo",
@@ -768,14 +1232,24 @@
768
1232
  "type": "bytes32"
769
1233
  },
770
1234
  {
771
- "internalType": "bool",
772
- "name": "isCustom",
773
- "type": "bool"
1235
+ "internalType": "enum IAccess.TargetType",
1236
+ "name": "targetType",
1237
+ "type": "uint8"
1238
+ },
1239
+ {
1240
+ "internalType": "RoleId",
1241
+ "name": "roleId",
1242
+ "type": "uint64"
774
1243
  },
775
1244
  {
776
1245
  "internalType": "Timestamp",
777
1246
  "name": "createdAt",
778
1247
  "type": "uint40"
1248
+ },
1249
+ {
1250
+ "internalType": "Blocknumber",
1251
+ "name": "lastUpdateIn",
1252
+ "type": "uint40"
779
1253
  }
780
1254
  ],
781
1255
  "internalType": "struct IAccess.TargetInfo",
@@ -790,20 +1264,59 @@
790
1264
  "inputs": [
791
1265
  {
792
1266
  "internalType": "address",
793
- "name": "account",
1267
+ "name": "authority",
794
1268
  "type": "address"
795
1269
  },
1270
+ {
1271
+ "internalType": "string",
1272
+ "name": "adminName",
1273
+ "type": "string"
1274
+ }
1275
+ ],
1276
+ "name": "initialize",
1277
+ "outputs": [],
1278
+ "stateMutability": "nonpayable",
1279
+ "type": "function"
1280
+ },
1281
+ {
1282
+ "inputs": [],
1283
+ "name": "isConsumingScheduledOp",
1284
+ "outputs": [
1285
+ {
1286
+ "internalType": "bytes4",
1287
+ "name": "",
1288
+ "type": "bytes4"
1289
+ }
1290
+ ],
1291
+ "stateMutability": "view",
1292
+ "type": "function"
1293
+ },
1294
+ {
1295
+ "inputs": [],
1296
+ "name": "isLocked",
1297
+ "outputs": [
1298
+ {
1299
+ "internalType": "bool",
1300
+ "name": "locked",
1301
+ "type": "bool"
1302
+ }
1303
+ ],
1304
+ "stateMutability": "view",
1305
+ "type": "function"
1306
+ },
1307
+ {
1308
+ "inputs": [
796
1309
  {
797
1310
  "internalType": "RoleId",
798
1311
  "name": "roleId",
799
1312
  "type": "uint64"
800
1313
  }
801
1314
  ],
802
- "name": "hasAdminRole",
1315
+ "name": "isRoleActive",
803
1316
  "outputs": [
804
1317
  {
805
1318
  "internalType": "bool",
806
- "name": "",
1319
+ "name": "isActive",
807
1320
  "type": "bool"
808
1321
  }
809
1322
  ],
@@ -812,18 +1325,18 @@
812
1325
  },
813
1326
  {
814
1327
  "inputs": [
815
- {
816
- "internalType": "address",
817
- "name": "account",
818
- "type": "address"
819
- },
820
1328
  {
821
1329
  "internalType": "RoleId",
822
1330
  "name": "roleId",
823
1331
  "type": "uint64"
1332
+ },
1333
+ {
1334
+ "internalType": "address",
1335
+ "name": "account",
1336
+ "type": "address"
824
1337
  }
825
1338
  ],
826
- "name": "hasRole",
1339
+ "name": "isRoleAdmin",
827
1340
  "outputs": [
828
1341
  {
829
1342
  "internalType": "bool",
@@ -837,16 +1350,16 @@
837
1350
  {
838
1351
  "inputs": [
839
1352
  {
840
- "internalType": "address",
841
- "name": "target",
842
- "type": "address"
1353
+ "internalType": "RoleId",
1354
+ "name": "roleId",
1355
+ "type": "uint64"
843
1356
  }
844
1357
  ],
845
- "name": "isAccessManaged",
1358
+ "name": "isRoleCustom",
846
1359
  "outputs": [
847
1360
  {
848
1361
  "internalType": "bool",
849
- "name": "",
1362
+ "name": "isActive",
850
1363
  "type": "bool"
851
1364
  }
852
1365
  ],
@@ -854,13 +1367,24 @@
854
1367
  "type": "function"
855
1368
  },
856
1369
  {
857
- "inputs": [],
858
- "name": "isConsumingScheduledOp",
1370
+ "inputs": [
1371
+ {
1372
+ "internalType": "RoleId",
1373
+ "name": "roleId",
1374
+ "type": "uint64"
1375
+ },
1376
+ {
1377
+ "internalType": "address",
1378
+ "name": "account",
1379
+ "type": "address"
1380
+ }
1381
+ ],
1382
+ "name": "isRoleMember",
859
1383
  "outputs": [
860
1384
  {
861
- "internalType": "bytes4",
1385
+ "internalType": "bool",
862
1386
  "name": "",
863
- "type": "bytes4"
1387
+ "type": "bool"
864
1388
  }
865
1389
  ],
866
1390
  "stateMutability": "view",
@@ -980,130 +1504,68 @@
980
1504
  ],
981
1505
  "stateMutability": "view",
982
1506
  "type": "function"
983
- },
984
- {
985
- "inputs": [
1507
+ }
1508
+ ],
1509
+ "bytecode": "0x6080604052348015600e575f80fd5b5061266d8061001c5f395ff3fe608060405234801561000f575f80fd5b50600436106101dc575f3560e01c80636bd1c0eb116101095780639cad00521161009e578063c6a001791161006e578063c6a0017914610507578063d78a83b11461051a578063f399e22e1461052d578063f60458ba14610540575f80fd5b80639cad0052146104a8578063a4e2d634146104da578063b3ecf236146104e2578063bf7e214f146104ea575f80fd5b80637f0cf947116100d95780637f0cf947146104595780638308ceb11461046c57806387c73e5a146104745780638fb3603714610487575f80fd5b80636bd1c0eb14610406578063728a61a81461041757806376b707b71461042a5780637a9e5e4b14610444575f80fd5b8063392f5f641161017f5780635ab1bd531161014f5780635ab1bd53146103b85780635bfa5027146103c0578063605aa10a146103e057806366c3bc95146103f3575f80fd5b8063392f5f64146102c55780633fd85561146102cd578063409c724c146102f8578063480cebd1146103a5575f80fd5b806326d60fb4116101ba57806326d60fb41461024757806326decd401461024f5780633406b1521461027257806335471f80146102b2575f80fd5b806303014974146101e057806312e1ebc51461020657806324913ce614610226575b5f80fd5b6101f36101ee366004611d12565b61056b565b6040519081526020015b60405180910390f35b610219610214366004611d41565b610591565b6040516101fd9190611d90565b610239610234366004611de7565b610653565b6040516101fd929190611e11565b600a546101f3565b61026261025d366004611d41565b6108fa565b60405190151581526020016101fd565b61029a610280366004611e6d565b5f908152600960205260409020546001600160a01b031690565b6040516001600160a01b0390911681526020016101fd565b6101f36102c0366004611d41565b6109d7565b6005546101f3565b6102e06102db366004611e6d565b610a61565b6040516001600160401b0390911681526020016101fd565b610398610306366004611e99565b60408051608080820183525f808352602080840182905283850182905260609384018290526001600160a01b03969096168152600c86528381206001600160e01b03199586168252865283902083519182018452805482526001015460e081901b9094169481019490945264ffffffffff6401000000008404811692850192909252600160481b909204169082015290565b6040516101fd9190611ed0565b6102626103b3366004611f16565b610aa3565b61029a610ad0565b6103d36103ce366004611d12565b610b40565b6040516101fd9190611f42565b6102626103ee366004611d41565b610c28565b610262610401366004611d12565b610c9e565b6002546001600160a01b031661029a565b61029a610425366004611e6d565b610d47565b610432610d75565b60405160ff90911681526020016101fd565b610457610452366004611d41565b610de0565b005b610262610467366004611f16565b610e81565b6102e0610f07565b610262610482366004611d12565b610f72565b61048f610faf565b6040516001600160e01b031990911681526020016101fd565b6104bb6104b63660046120a4565b610fe5565b604080516001600160401b0390931683529015156020830152016101fd565b61026261117e565b6102e06111e9565b5f80516020612618833981519152546001600160a01b031661029a565b610262610515366004611d12565b611230565b61029a6105283660046120dd565b61126d565b61045761053b3660046120f9565b61128e565b600254600160a01b90046001600160601b03166040516001600160601b0390911681526020016101fd565b6001600160401b0381165f90815260076020526040812061058b9061139c565b92915050565b6040805160a080820183525f808352602080840182905283850182905260608401829052608084018290526001600160a01b038616825260088152908490208451928301909452835482526001840154929391929083019060ff1660078111156105fd576105fd611d5c565b600781111561060e5761060e611d5c565b8152600191909101546001600160401b03610100820416602083015264ffffffffff600160481b820481166040840152600160701b9091041660609091015292915050565b604080516080810182525f8082526020808301829052828401829052606083018290526001600160a01b0386168252600b9052828120925163dfe63db960e01b81526004810193909352602483018490529091819073__$8df0087758613aef8a614b5774fdb3323b$__9063dfe63db990604401602060405180830381865af41580156106e2573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610706919061213b565b6001600160a01b038681165f908152600c602090815260408083206001600160e01b03198681168086529184529382902082516080810184528154815260019182015460e081901b9096169481019490945264ffffffffff6401000000008604811685850152600160481b909504909416606084015292549051636ea1af2560e11b8152600481019390935290965092935073__$1d92393fa9ccd763988368ce8a1cb90d26$__926368aebf7b921690636d5115bd90899073__$0904195350e4c23ecb1d51df0a32586dcd$__9063dd435e4a90602401602060405180830381865af41580156107f8573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061081c919061213b565b6040516001600160e01b031960e085901b811682526001600160a01b03909316600482015291166024820152604401602060405180830381865afa158015610866573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061088a9190612156565b6040516001600160e01b031960e084901b1681526001600160401b039091166004820152602401602060405180830381865af41580156108cc573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906108f09190612156565b9150509250929050565b60015460408051632938b58d60e21b815290515f926001600160a01b03169163a4e2d6349160048083019260209291908290030181865afa158015610941573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906109659190612185565b8061058b575060015460405163a166aa8960e01b81526001600160a01b0384811660048301529091169063a166aa8990602401602060405180830381865afa1580156109b3573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061058b9190612185565b6001600160a01b0381165f908152600b6020526040808220905163868b3e0760e01b8152600481019190915273__$8df0087758613aef8a614b5774fdb3323b$__9063868b3e0790602401602060405180830381865af4158015610a3d573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061058b919061219e565b5f60058281548110610a7557610a756121b5565b905f5260205f2090600491828204019190066008029054906101000a90046001600160401b03169050919050565b6001600160401b038083165f908152600360205260408120549091610ac9911683610e81565b9392505050565b60015460408051635ab1bd5360e01b815290515f926001600160a01b031691635ab1bd539160048083019260209291908290030181865afa158015610b17573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b3b91906121c9565b905090565b6040805160e080820183525f8083526020808401829052838501829052606084018290526080840182905260a0840182905260c084018290526001600160401b038681168352600382529185902085519384019095528454918216835292939192830190600160401b900460ff166007811115610bbf57610bbf611d5c565b6007811115610bd057610bd0611d5c565b8152815463ffffffff600160481b820416602083015264ffffffffff600160681b820481166040840152600160901b820481166060840152600160b81b90910416608082015260019091015460a09091015292915050565b6001600160a01b0381165f90815260086020526040808220600101549051638d38cd4b60e01b8152600160481b90910464ffffffffff16600482015273__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__90638d38cd4b90602401602060405180830381865af41580156109b3573d5f803e3d5ffd5b6001600160401b0381165f908152600360209081526040808320548151639fa6a6e360e01b8152915161058b93600160901b90920464ffffffffff169273__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__92639fa6a6e3926004808401938290030181865af4158015610d14573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610d389190612201565b64ffffffffff90811691161190565b5f600a8281548110610d5b57610d5b6121b5565b5f918252602090912001546001600160a01b031692915050565b600154604080516376b707b760e01b815290515f926001600160a01b0316916376b707b79160048083019260209291908290030181865afa158015610dbc573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b3b919061221c565b33610dff5f80516020612618833981519152546001600160a01b031690565b6001600160a01b0316816001600160a01b031614610e3f5760405162d1953b60e31b81526001600160a01b03821660048201526024015b60405180910390fd5b816001600160a01b03163b5f03610e74576040516361798f2f60e11b81526001600160a01b0383166004820152602401610e36565b610e7d826113a5565b5050565b6001546040516368fc2b7760e11b81526001600160401b03841660048201526001600160a01b0383811660248301525f92839291169063d1f856ee906044016040805180830381865afa158015610eda573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610efe919061224f565b50949350505050565b60015460408051631e53e01560e11b815290515f926001600160a01b031691633ca7c02a9160048083019260209291908290030181865afa158015610f4e573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b3b9190612156565b5f60076001600160401b0383165f90815260036020526040902054600160401b900460ff166007811115610fa857610fa8611d5c565b1492915050565b5f8051602061261883398151915280545f9190600160a01b900460ff16610fd6575f610fdf565b638fb3603760e01b5b91505090565b5f8060045f73__$9a094f9b231ed0f5f85a69be8408d93180$__63cdc23e69866040518263ffffffff1660e01b815260040161102191906122ae565b602060405180830381865af415801561103c573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611060919061219e565b8152602081019190915260409081015f90812054915163a42e52e960e01b81526001600160401b03909216600483018190529350915073__$1d92393fa9ccd763988368ce8a1cb90d26$__9063a42e52e990602401602060405180830381865af41580156110d0573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906110f49190612185565b80611170575060405163c68eb45560e01b815273__$7ca0443fea8aec4ba68c2e8d18c5a8d73e$__9063c68eb455906111319086906004016122ae565b602060405180830381865af415801561114c573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906111709190612185565b15611179575060015b915091565b60015460408051632938b58d60e21b815290515f926001600160a01b03169163a4e2d6349160048083019260209291908290030181865afa1580156111c5573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b3b9190612185565b60015460408051631d6c8e3f60e21b815290515f926001600160a01b0316916375b238fc9160048083019260209291908290030181865afa158015610f4e573d5f803e3d5ffd5b5f806001600160401b0383165f90815260036020526040902054600160401b900460ff16600781111561126557611265611d5c565b141592915050565b6001600160401b0382165f908152600760205260408120610ac99083611406565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a008054600160401b810460ff1615906001600160401b03165f811580156112d25750825b90505f826001600160401b031660011480156112ed5750303b155b9050811580156112fb575080155b156113195760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561134357845460ff60401b1916600160401b1785555b61134d8787611411565b831561139357845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50505050505050565b5f61058b825490565b5f8051602061261883398151915280546001600160a01b0319166001600160a01b03831690811782556040519081527f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad906020015b60405180910390a15050565b5f610ac98383611816565b61141961183c565b604051631f424a2760e21b815273__$7ca0443fea8aec4ba68c2e8d18c5a8d73e$__90637d09289c9061145290859085906004016122c0565b5f6040518083038186803b158015611468575f80fd5b505af415801561147a573d5f803e3d5ffd5b5050600180546001600160a01b0319166001600160a01b03861690811790915560405163189acdbd60e31b815230600482015290925063c4d66de891506024015f604051808303815f87803b1580156114d1575f80fd5b505af11580156114e3573d5f803e3d5ffd5b5050604051632330f24760e01b81526001600160a01b038516600482015273__$fb599632d08395912d9d70eb2f0f93b5e2$__9250632330f2479150602401602060405180830381865af415801561153d573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906115619190612185565b61158957604051637595cb1960e01b81526001600160a01b0383166004820152602401610e36565b61159282611887565b5f61159d8282612367565b5073__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af41580156115e5573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906116099190612421565b600260146101000a8154816001600160601b0302191690836001600160601b031602179055506116aa61163a61189b565b73__$7ca0443fea8aec4ba68c2e8d18c5a8d73e$__63d09ce86c6040518163ffffffff1660e01b815260040160e060405180830381865af4158015611681573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906116a59190612447565b6118ec565b6117c33060075f73__$1d92393fa9ccd763988368ce8a1cb90d26$__6368aebf7b60015f9054906101000a90046001600160a01b03166001600160a01b03166375b238fc6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561171b573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061173f9190612156565b6040516001600160e01b031960e084901b1681526001600160401b039091166004820152602401602060405180830381865af4158015611781573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906117a59190612156565b6001600160401b0316815260208101919091526040015f2090611c4d565b50610e7d6117cf611c61565b73__$7ca0443fea8aec4ba68c2e8d18c5a8d73e$__63aec48fc76040518163ffffffff1660e01b815260040160e060405180830381865af4158015611681573d5f803e3d5ffd5b5f825f01828154811061182b5761182b6121b5565b905f5260205f200154905092915050565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a0054600160401b900460ff1661188557604051631afcd79f60e31b815260040160405180910390fd5b565b61188f61183c565b61189881611ca1565b50565b6040516368aebf7b60e01b81525f600482018190529073__$1d92393fa9ccd763988368ce8a1cb90d26$__906368aebf7b906024015b602060405180830381865af4158015610f4e573d5f803e3d5ffd5b73__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__639fa6a6e36040518163ffffffff1660e01b8152600401602060405180830381865af4158015611933573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906119579190612201565b64ffffffffff16606082015260408051636ac5db1960e01b8152905173__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__91636ac5db199160048083019260209291908290030181865af41580156119b1573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906119d59190612201565b64ffffffffff1660808201526001600160401b038083165f90815260036020908152604090912083518154931667ffffffffffffffff1984168117825591840151849391929091839168ffffffffffffffffff1990911617600160401b836007811115611a4457611a44611d5c565b021790555060408281015182546060850151608086015160a087015164ffffffffff908116600160b81b0264ffffffffff60b81b19928216600160901b029290921669ffffffffffffffffffff60901b1991909316600160681b0264ffffffffff60681b1963ffffffff909616600160481b029590951671ffffffffffffffffff000000000000000000199094169390931793909317919091161717825560c092830151600192830155805180820182526001600160401b03808716808352602080840186815296880180515f9081526004808452878220965187549a511515600160401b0268ffffffffffffffffff19909b16908716179990991790955560058054978801815585528787047f036b6384b5eca791c62761152d0c79bb0604c104a5fb6f4eb0703f3154bb3db001805460039098166008026101000a938402939094021990961691909117909155850151855193519251631623433d60e31b81527f089dc3e37715ee5f5f527a09ca053081e6a74ab2cde2b4471c37f8b9b81af45c95929488949293909273__$9a094f9b231ed0f5f85a69be8408d93180$__9263b11a19e892611bfb92910190815260200190565b5f60405180830381865af4158015611c15573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052611c3c91908101906124db565b6040516113fa95949392919061254f565b5f610ac9836001600160a01b038416611cb2565b6040516368aebf7b60e01b81526001600160401b0360048201525f9073__$1d92393fa9ccd763988368ce8a1cb90d26$__906368aebf7b906024016118d1565b611ca961183c565b611898816113a5565b5f818152600183016020526040812054611cf757508154600181810184555f84815260208082209093018490558454848252828601909352604090209190915561058b565b505f61058b565b6001600160401b0381168114611898575f80fd5b5f60208284031215611d22575f80fd5b8135610ac981611cfe565b6001600160a01b0381168114611898575f80fd5b5f60208284031215611d51575f80fd5b8135610ac981611d2d565b634e487b7160e01b5f52602160045260245ffd5b60088110611d8c57634e487b7160e01b5f52602160045260245ffd5b9052565b8151815260208083015160a0830191611dab90840182611d70565b506001600160401b03604084015116604083015264ffffffffff606084015116606083015264ffffffffff608084015116608083015292915050565b5f8060408385031215611df8575f80fd5b8235611e0381611d2d565b946020939093013593505050565b60a08101611e5782858051825263ffffffff60e01b602082015116602083015264ffffffffff604082015116604083015264ffffffffff60608201511660608301525050565b6001600160401b03831660808301529392505050565b5f60208284031215611e7d575f80fd5b5035919050565b6001600160e01b031981168114611898575f80fd5b5f8060408385031215611eaa575f80fd5b8235611eb581611d2d565b91506020830135611ec581611e84565b809150509250929050565b6080810161058b82848051825263ffffffff60e01b602082015116602083015264ffffffffff604082015116604083015264ffffffffff60608201511660608301525050565b5f8060408385031215611f27575f80fd5b8235611f3281611cfe565b91506020830135611ec581611d2d565b81516001600160401b0316815260208083015160e0830191611f6690840182611d70565b5063ffffffff604084015116604083015264ffffffffff606084015116606083015264ffffffffff608084015116608083015260a0830151611fb160a084018264ffffffffff169052565b5060c092830151919092015290565b634e487b7160e01b5f52604160045260245ffd5b60405160e081016001600160401b0381118282101715611ff657611ff6611fc0565b60405290565b604051601f8201601f191681016001600160401b038111828210171561202457612024611fc0565b604052919050565b5f6001600160401b0382111561204457612044611fc0565b50601f01601f191660200190565b5f82601f830112612061575f80fd5b813561207461206f8261202c565b611ffc565b818152846020838601011115612088575f80fd5b816020850160208301375f918101602001919091529392505050565b5f602082840312156120b4575f80fd5b81356001600160401b038111156120c9575f80fd5b6120d584828501612052565b949350505050565b5f80604083850312156120ee575f80fd5b8235611e0381611cfe565b5f806040838503121561210a575f80fd5b823561211581611d2d565b915060208301356001600160401b0381111561212f575f80fd5b6108f085828601612052565b5f6020828403121561214b575f80fd5b8151610ac981611e84565b5f60208284031215612166575f80fd5b8151610ac981611cfe565b80518015158114612180575f80fd5b919050565b5f60208284031215612195575f80fd5b610ac982612171565b5f602082840312156121ae575f80fd5b5051919050565b634e487b7160e01b5f52603260045260245ffd5b5f602082840312156121d9575f80fd5b8151610ac981611d2d565b64ffffffffff81168114611898575f80fd5b8051612180816121e4565b5f60208284031215612211575f80fd5b8151610ac9816121e4565b5f6020828403121561222c575f80fd5b815160ff81168114610ac9575f80fd5b805163ffffffff81168114612180575f80fd5b5f8060408385031215612260575f80fd5b61226983612171565b91506122776020840161223c565b90509250929050565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081525f610ac96020830184612280565b6001600160a01b03831681526040602082018190525f906120d590830184612280565b600181811c908216806122f757607f821691505b60208210810361231557634e487b7160e01b5f52602260045260245ffd5b50919050565b601f82111561236257805f5260205f20601f840160051c810160208510156123405750805b601f840160051c820191505b8181101561235f575f815560010161234c565b50505b505050565b81516001600160401b0381111561238057612380611fc0565b6123948161238e84546122e3565b8461231b565b6020601f8211600181146123c6575f83156123af5750848201515b5f19600385901b1c1916600184901b17845561235f565b5f84815260208120601f198516915b828110156123f557878501518255602094850194600190920191016123d5565b508482101561241257868401515f19600387901b60f8161c191681555b50505050600190811b01905550565b5f60208284031215612431575f80fd5b81516001600160601b0381168114610ac9575f80fd5b5f60e0828403128015612458575f80fd5b50612461611fd4565b825161246c81611cfe565b815260208301516008811061247f575f80fd5b60208201526124906040840161223c565b60408201526124a1606084016121f6565b60608201526124b2608084016121f6565b60808201526124c360a084016121f6565b60a082015260c0928301519281019290925250919050565b5f602082840312156124eb575f80fd5b81516001600160401b03811115612500575f80fd5b8201601f81018413612510575f80fd5b805161251e61206f8261202c565b818152856020838501011115612532575f80fd5b8160208401602083015e5f91810160200191909152949350505050565b60a081525f808754612560816122e3565b8060a0860152600182165f811461257e576001811461259a576125cb565b60ff19831660c087015260c082151560051b87010193506125cb565b8a5f5260205f205f5b838110156125c257815488820160c001526001909101906020016125a3565b870160c0019450505b5050506001600160401b03871660208401526125ea6040840187611d70565b6001600160401b0385166060840152828103608084015261260b8185612280565b9897505050505050505056fef3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00a26469706673582212209e174f5856a8b2d5c20e4a5b98038905d56a90d9df20cf2e514104b1359c488564736f6c634300081a0033",
1510
+ "deployedBytecode": "0x608060405234801561000f575f80fd5b50600436106101dc575f3560e01c80636bd1c0eb116101095780639cad00521161009e578063c6a001791161006e578063c6a0017914610507578063d78a83b11461051a578063f399e22e1461052d578063f60458ba14610540575f80fd5b80639cad0052146104a8578063a4e2d634146104da578063b3ecf236146104e2578063bf7e214f146104ea575f80fd5b80637f0cf947116100d95780637f0cf947146104595780638308ceb11461046c57806387c73e5a146104745780638fb3603714610487575f80fd5b80636bd1c0eb14610406578063728a61a81461041757806376b707b71461042a5780637a9e5e4b14610444575f80fd5b8063392f5f641161017f5780635ab1bd531161014f5780635ab1bd53146103b85780635bfa5027146103c0578063605aa10a146103e057806366c3bc95146103f3575f80fd5b8063392f5f64146102c55780633fd85561146102cd578063409c724c146102f8578063480cebd1146103a5575f80fd5b806326d60fb4116101ba57806326d60fb41461024757806326decd401461024f5780633406b1521461027257806335471f80146102b2575f80fd5b806303014974146101e057806312e1ebc51461020657806324913ce614610226575b5f80fd5b6101f36101ee366004611d12565b61056b565b6040519081526020015b60405180910390f35b610219610214366004611d41565b610591565b6040516101fd9190611d90565b610239610234366004611de7565b610653565b6040516101fd929190611e11565b600a546101f3565b61026261025d366004611d41565b6108fa565b60405190151581526020016101fd565b61029a610280366004611e6d565b5f908152600960205260409020546001600160a01b031690565b6040516001600160a01b0390911681526020016101fd565b6101f36102c0366004611d41565b6109d7565b6005546101f3565b6102e06102db366004611e6d565b610a61565b6040516001600160401b0390911681526020016101fd565b610398610306366004611e99565b60408051608080820183525f808352602080840182905283850182905260609384018290526001600160a01b03969096168152600c86528381206001600160e01b03199586168252865283902083519182018452805482526001015460e081901b9094169481019490945264ffffffffff6401000000008404811692850192909252600160481b909204169082015290565b6040516101fd9190611ed0565b6102626103b3366004611f16565b610aa3565b61029a610ad0565b6103d36103ce366004611d12565b610b40565b6040516101fd9190611f42565b6102626103ee366004611d41565b610c28565b610262610401366004611d12565b610c9e565b6002546001600160a01b031661029a565b61029a610425366004611e6d565b610d47565b610432610d75565b60405160ff90911681526020016101fd565b610457610452366004611d41565b610de0565b005b610262610467366004611f16565b610e81565b6102e0610f07565b610262610482366004611d12565b610f72565b61048f610faf565b6040516001600160e01b031990911681526020016101fd565b6104bb6104b63660046120a4565b610fe5565b604080516001600160401b0390931683529015156020830152016101fd565b61026261117e565b6102e06111e9565b5f80516020612618833981519152546001600160a01b031661029a565b610262610515366004611d12565b611230565b61029a6105283660046120dd565b61126d565b61045761053b3660046120f9565b61128e565b600254600160a01b90046001600160601b03166040516001600160601b0390911681526020016101fd565b6001600160401b0381165f90815260076020526040812061058b9061139c565b92915050565b6040805160a080820183525f808352602080840182905283850182905260608401829052608084018290526001600160a01b038616825260088152908490208451928301909452835482526001840154929391929083019060ff1660078111156105fd576105fd611d5c565b600781111561060e5761060e611d5c565b8152600191909101546001600160401b03610100820416602083015264ffffffffff600160481b820481166040840152600160701b9091041660609091015292915050565b604080516080810182525f8082526020808301829052828401829052606083018290526001600160a01b0386168252600b9052828120925163dfe63db960e01b81526004810193909352602483018490529091819073__$8df0087758613aef8a614b5774fdb3323b$__9063dfe63db990604401602060405180830381865af41580156106e2573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610706919061213b565b6001600160a01b038681165f908152600c602090815260408083206001600160e01b03198681168086529184529382902082516080810184528154815260019182015460e081901b9096169481019490945264ffffffffff6401000000008604811685850152600160481b909504909416606084015292549051636ea1af2560e11b8152600481019390935290965092935073__$1d92393fa9ccd763988368ce8a1cb90d26$__926368aebf7b921690636d5115bd90899073__$0904195350e4c23ecb1d51df0a32586dcd$__9063dd435e4a90602401602060405180830381865af41580156107f8573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061081c919061213b565b6040516001600160e01b031960e085901b811682526001600160a01b03909316600482015291166024820152604401602060405180830381865afa158015610866573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061088a9190612156565b6040516001600160e01b031960e084901b1681526001600160401b039091166004820152602401602060405180830381865af41580156108cc573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906108f09190612156565b9150509250929050565b60015460408051632938b58d60e21b815290515f926001600160a01b03169163a4e2d6349160048083019260209291908290030181865afa158015610941573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906109659190612185565b8061058b575060015460405163a166aa8960e01b81526001600160a01b0384811660048301529091169063a166aa8990602401602060405180830381865afa1580156109b3573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061058b9190612185565b6001600160a01b0381165f908152600b6020526040808220905163868b3e0760e01b8152600481019190915273__$8df0087758613aef8a614b5774fdb3323b$__9063868b3e0790602401602060405180830381865af4158015610a3d573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061058b919061219e565b5f60058281548110610a7557610a756121b5565b905f5260205f2090600491828204019190066008029054906101000a90046001600160401b03169050919050565b6001600160401b038083165f908152600360205260408120549091610ac9911683610e81565b9392505050565b60015460408051635ab1bd5360e01b815290515f926001600160a01b031691635ab1bd539160048083019260209291908290030181865afa158015610b17573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b3b91906121c9565b905090565b6040805160e080820183525f8083526020808401829052838501829052606084018290526080840182905260a0840182905260c084018290526001600160401b038681168352600382529185902085519384019095528454918216835292939192830190600160401b900460ff166007811115610bbf57610bbf611d5c565b6007811115610bd057610bd0611d5c565b8152815463ffffffff600160481b820416602083015264ffffffffff600160681b820481166040840152600160901b820481166060840152600160b81b90910416608082015260019091015460a09091015292915050565b6001600160a01b0381165f90815260086020526040808220600101549051638d38cd4b60e01b8152600160481b90910464ffffffffff16600482015273__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__90638d38cd4b90602401602060405180830381865af41580156109b3573d5f803e3d5ffd5b6001600160401b0381165f908152600360209081526040808320548151639fa6a6e360e01b8152915161058b93600160901b90920464ffffffffff169273__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__92639fa6a6e3926004808401938290030181865af4158015610d14573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610d389190612201565b64ffffffffff90811691161190565b5f600a8281548110610d5b57610d5b6121b5565b5f918252602090912001546001600160a01b031692915050565b600154604080516376b707b760e01b815290515f926001600160a01b0316916376b707b79160048083019260209291908290030181865afa158015610dbc573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b3b919061221c565b33610dff5f80516020612618833981519152546001600160a01b031690565b6001600160a01b0316816001600160a01b031614610e3f5760405162d1953b60e31b81526001600160a01b03821660048201526024015b60405180910390fd5b816001600160a01b03163b5f03610e74576040516361798f2f60e11b81526001600160a01b0383166004820152602401610e36565b610e7d826113a5565b5050565b6001546040516368fc2b7760e11b81526001600160401b03841660048201526001600160a01b0383811660248301525f92839291169063d1f856ee906044016040805180830381865afa158015610eda573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610efe919061224f565b50949350505050565b60015460408051631e53e01560e11b815290515f926001600160a01b031691633ca7c02a9160048083019260209291908290030181865afa158015610f4e573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b3b9190612156565b5f60076001600160401b0383165f90815260036020526040902054600160401b900460ff166007811115610fa857610fa8611d5c565b1492915050565b5f8051602061261883398151915280545f9190600160a01b900460ff16610fd6575f610fdf565b638fb3603760e01b5b91505090565b5f8060045f73__$9a094f9b231ed0f5f85a69be8408d93180$__63cdc23e69866040518263ffffffff1660e01b815260040161102191906122ae565b602060405180830381865af415801561103c573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611060919061219e565b8152602081019190915260409081015f90812054915163a42e52e960e01b81526001600160401b03909216600483018190529350915073__$1d92393fa9ccd763988368ce8a1cb90d26$__9063a42e52e990602401602060405180830381865af41580156110d0573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906110f49190612185565b80611170575060405163c68eb45560e01b815273__$7ca0443fea8aec4ba68c2e8d18c5a8d73e$__9063c68eb455906111319086906004016122ae565b602060405180830381865af415801561114c573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906111709190612185565b15611179575060015b915091565b60015460408051632938b58d60e21b815290515f926001600160a01b03169163a4e2d6349160048083019260209291908290030181865afa1580156111c5573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b3b9190612185565b60015460408051631d6c8e3f60e21b815290515f926001600160a01b0316916375b238fc9160048083019260209291908290030181865afa158015610f4e573d5f803e3d5ffd5b5f806001600160401b0383165f90815260036020526040902054600160401b900460ff16600781111561126557611265611d5c565b141592915050565b6001600160401b0382165f908152600760205260408120610ac99083611406565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a008054600160401b810460ff1615906001600160401b03165f811580156112d25750825b90505f826001600160401b031660011480156112ed5750303b155b9050811580156112fb575080155b156113195760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561134357845460ff60401b1916600160401b1785555b61134d8787611411565b831561139357845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50505050505050565b5f61058b825490565b5f8051602061261883398151915280546001600160a01b0319166001600160a01b03831690811782556040519081527f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad906020015b60405180910390a15050565b5f610ac98383611816565b61141961183c565b604051631f424a2760e21b815273__$7ca0443fea8aec4ba68c2e8d18c5a8d73e$__90637d09289c9061145290859085906004016122c0565b5f6040518083038186803b158015611468575f80fd5b505af415801561147a573d5f803e3d5ffd5b5050600180546001600160a01b0319166001600160a01b03861690811790915560405163189acdbd60e31b815230600482015290925063c4d66de891506024015f604051808303815f87803b1580156114d1575f80fd5b505af11580156114e3573d5f803e3d5ffd5b5050604051632330f24760e01b81526001600160a01b038516600482015273__$fb599632d08395912d9d70eb2f0f93b5e2$__9250632330f2479150602401602060405180830381865af415801561153d573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906115619190612185565b61158957604051637595cb1960e01b81526001600160a01b0383166004820152602401610e36565b61159282611887565b5f61159d8282612367565b5073__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af41580156115e5573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906116099190612421565b600260146101000a8154816001600160601b0302191690836001600160601b031602179055506116aa61163a61189b565b73__$7ca0443fea8aec4ba68c2e8d18c5a8d73e$__63d09ce86c6040518163ffffffff1660e01b815260040160e060405180830381865af4158015611681573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906116a59190612447565b6118ec565b6117c33060075f73__$1d92393fa9ccd763988368ce8a1cb90d26$__6368aebf7b60015f9054906101000a90046001600160a01b03166001600160a01b03166375b238fc6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561171b573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061173f9190612156565b6040516001600160e01b031960e084901b1681526001600160401b039091166004820152602401602060405180830381865af4158015611781573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906117a59190612156565b6001600160401b0316815260208101919091526040015f2090611c4d565b50610e7d6117cf611c61565b73__$7ca0443fea8aec4ba68c2e8d18c5a8d73e$__63aec48fc76040518163ffffffff1660e01b815260040160e060405180830381865af4158015611681573d5f803e3d5ffd5b5f825f01828154811061182b5761182b6121b5565b905f5260205f200154905092915050565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a0054600160401b900460ff1661188557604051631afcd79f60e31b815260040160405180910390fd5b565b61188f61183c565b61189881611ca1565b50565b6040516368aebf7b60e01b81525f600482018190529073__$1d92393fa9ccd763988368ce8a1cb90d26$__906368aebf7b906024015b602060405180830381865af4158015610f4e573d5f803e3d5ffd5b73__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__639fa6a6e36040518163ffffffff1660e01b8152600401602060405180830381865af4158015611933573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906119579190612201565b64ffffffffff16606082015260408051636ac5db1960e01b8152905173__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__91636ac5db199160048083019260209291908290030181865af41580156119b1573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906119d59190612201565b64ffffffffff1660808201526001600160401b038083165f90815260036020908152604090912083518154931667ffffffffffffffff1984168117825591840151849391929091839168ffffffffffffffffff1990911617600160401b836007811115611a4457611a44611d5c565b021790555060408281015182546060850151608086015160a087015164ffffffffff908116600160b81b0264ffffffffff60b81b19928216600160901b029290921669ffffffffffffffffffff60901b1991909316600160681b0264ffffffffff60681b1963ffffffff909616600160481b029590951671ffffffffffffffffff000000000000000000199094169390931793909317919091161717825560c092830151600192830155805180820182526001600160401b03808716808352602080840186815296880180515f9081526004808452878220965187549a511515600160401b0268ffffffffffffffffff19909b16908716179990991790955560058054978801815585528787047f036b6384b5eca791c62761152d0c79bb0604c104a5fb6f4eb0703f3154bb3db001805460039098166008026101000a938402939094021990961691909117909155850151855193519251631623433d60e31b81527f089dc3e37715ee5f5f527a09ca053081e6a74ab2cde2b4471c37f8b9b81af45c95929488949293909273__$9a094f9b231ed0f5f85a69be8408d93180$__9263b11a19e892611bfb92910190815260200190565b5f60405180830381865af4158015611c15573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052611c3c91908101906124db565b6040516113fa95949392919061254f565b5f610ac9836001600160a01b038416611cb2565b6040516368aebf7b60e01b81526001600160401b0360048201525f9073__$1d92393fa9ccd763988368ce8a1cb90d26$__906368aebf7b906024016118d1565b611ca961183c565b611898816113a5565b5f818152600183016020526040812054611cf757508154600181810184555f84815260208082209093018490558454848252828601909352604090209190915561058b565b505f61058b565b6001600160401b0381168114611898575f80fd5b5f60208284031215611d22575f80fd5b8135610ac981611cfe565b6001600160a01b0381168114611898575f80fd5b5f60208284031215611d51575f80fd5b8135610ac981611d2d565b634e487b7160e01b5f52602160045260245ffd5b60088110611d8c57634e487b7160e01b5f52602160045260245ffd5b9052565b8151815260208083015160a0830191611dab90840182611d70565b506001600160401b03604084015116604083015264ffffffffff606084015116606083015264ffffffffff608084015116608083015292915050565b5f8060408385031215611df8575f80fd5b8235611e0381611d2d565b946020939093013593505050565b60a08101611e5782858051825263ffffffff60e01b602082015116602083015264ffffffffff604082015116604083015264ffffffffff60608201511660608301525050565b6001600160401b03831660808301529392505050565b5f60208284031215611e7d575f80fd5b5035919050565b6001600160e01b031981168114611898575f80fd5b5f8060408385031215611eaa575f80fd5b8235611eb581611d2d565b91506020830135611ec581611e84565b809150509250929050565b6080810161058b82848051825263ffffffff60e01b602082015116602083015264ffffffffff604082015116604083015264ffffffffff60608201511660608301525050565b5f8060408385031215611f27575f80fd5b8235611f3281611cfe565b91506020830135611ec581611d2d565b81516001600160401b0316815260208083015160e0830191611f6690840182611d70565b5063ffffffff604084015116604083015264ffffffffff606084015116606083015264ffffffffff608084015116608083015260a0830151611fb160a084018264ffffffffff169052565b5060c092830151919092015290565b634e487b7160e01b5f52604160045260245ffd5b60405160e081016001600160401b0381118282101715611ff657611ff6611fc0565b60405290565b604051601f8201601f191681016001600160401b038111828210171561202457612024611fc0565b604052919050565b5f6001600160401b0382111561204457612044611fc0565b50601f01601f191660200190565b5f82601f830112612061575f80fd5b813561207461206f8261202c565b611ffc565b818152846020838601011115612088575f80fd5b816020850160208301375f918101602001919091529392505050565b5f602082840312156120b4575f80fd5b81356001600160401b038111156120c9575f80fd5b6120d584828501612052565b949350505050565b5f80604083850312156120ee575f80fd5b8235611e0381611cfe565b5f806040838503121561210a575f80fd5b823561211581611d2d565b915060208301356001600160401b0381111561212f575f80fd5b6108f085828601612052565b5f6020828403121561214b575f80fd5b8151610ac981611e84565b5f60208284031215612166575f80fd5b8151610ac981611cfe565b80518015158114612180575f80fd5b919050565b5f60208284031215612195575f80fd5b610ac982612171565b5f602082840312156121ae575f80fd5b5051919050565b634e487b7160e01b5f52603260045260245ffd5b5f602082840312156121d9575f80fd5b8151610ac981611d2d565b64ffffffffff81168114611898575f80fd5b8051612180816121e4565b5f60208284031215612211575f80fd5b8151610ac9816121e4565b5f6020828403121561222c575f80fd5b815160ff81168114610ac9575f80fd5b805163ffffffff81168114612180575f80fd5b5f8060408385031215612260575f80fd5b61226983612171565b91506122776020840161223c565b90509250929050565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081525f610ac96020830184612280565b6001600160a01b03831681526040602082018190525f906120d590830184612280565b600181811c908216806122f757607f821691505b60208210810361231557634e487b7160e01b5f52602260045260245ffd5b50919050565b601f82111561236257805f5260205f20601f840160051c810160208510156123405750805b601f840160051c820191505b8181101561235f575f815560010161234c565b50505b505050565b81516001600160401b0381111561238057612380611fc0565b6123948161238e84546122e3565b8461231b565b6020601f8211600181146123c6575f83156123af5750848201515b5f19600385901b1c1916600184901b17845561235f565b5f84815260208120601f198516915b828110156123f557878501518255602094850194600190920191016123d5565b508482101561241257868401515f19600387901b60f8161c191681555b50505050600190811b01905550565b5f60208284031215612431575f80fd5b81516001600160601b0381168114610ac9575f80fd5b5f60e0828403128015612458575f80fd5b50612461611fd4565b825161246c81611cfe565b815260208301516008811061247f575f80fd5b60208201526124906040840161223c565b60408201526124a1606084016121f6565b60608201526124b2608084016121f6565b60808201526124c360a084016121f6565b60a082015260c0928301519281019290925250919050565b5f602082840312156124eb575f80fd5b81516001600160401b03811115612500575f80fd5b8201601f81018413612510575f80fd5b805161251e61206f8261202c565b818152856020838501011115612532575f80fd5b8160208401602083015e5f91810160200191909152949350505050565b60a081525f808754612560816122e3565b8060a0860152600182165f811461257e576001811461259a576125cb565b60ff19831660c087015260c082151560051b87010193506125cb565b8a5f5260205f205f5b838110156125c257815488820160c001526001909101906020016125a3565b870160c0019450505b5050506001600160401b03871660208401526125ea6040840187611d70565b6001600160401b0385166060840152828103608084015261260b8185612280565b9897505050505050505056fef3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00a26469706673582212209e174f5856a8b2d5c20e4a5b98038905d56a90d9df20cf2e514104b1359c488564736f6c634300081a0033",
1511
+ "linkReferences": {
1512
+ "contracts/authorization/AccessAdminLib.sol": {
1513
+ "AccessAdminLib": [
986
1514
  {
987
- "internalType": "bytes4",
988
- "name": "selector",
989
- "type": "bytes4"
1515
+ "length": 20,
1516
+ "start": 4389
990
1517
  },
991
1518
  {
992
- "internalType": "string",
993
- "name": "name",
994
- "type": "string"
995
- }
996
- ],
997
- "name": "toFunction",
998
- "outputs": [
999
- {
1000
- "components": [
1001
- {
1002
- "internalType": "Str",
1003
- "name": "name",
1004
- "type": "bytes32"
1005
- },
1006
- {
1007
- "internalType": "Selector",
1008
- "name": "selector",
1009
- "type": "bytes4"
1010
- },
1011
- {
1012
- "internalType": "Timestamp",
1013
- "name": "createdAt",
1014
- "type": "uint40"
1015
- }
1016
- ],
1017
- "internalType": "struct IAccess.FunctionInfo",
1018
- "name": "",
1019
- "type": "tuple"
1020
- }
1021
- ],
1022
- "stateMutability": "view",
1023
- "type": "function"
1024
- },
1025
- {
1026
- "inputs": [
1027
- {
1028
- "internalType": "RoleId",
1029
- "name": "adminRoleId",
1030
- "type": "uint64"
1519
+ "length": 20,
1520
+ "start": 5188
1031
1521
  },
1032
1522
  {
1033
- "internalType": "enum IAccess.RoleType",
1034
- "name": "roleType",
1035
- "type": "uint8"
1523
+ "length": 20,
1524
+ "start": 5720
1036
1525
  },
1037
1526
  {
1038
- "internalType": "uint32",
1039
- "name": "maxMemberCount",
1040
- "type": "uint32"
1041
- },
1527
+ "length": 20,
1528
+ "start": 6125
1529
+ }
1530
+ ]
1531
+ },
1532
+ "contracts/shared/ContractLib.sol": {
1533
+ "ContractLib": [
1042
1534
  {
1043
- "internalType": "string",
1044
- "name": "name",
1045
- "type": "string"
1535
+ "length": 20,
1536
+ "start": 5407
1046
1537
  }
1047
- ],
1048
- "name": "toRole",
1049
- "outputs": [
1538
+ ]
1539
+ },
1540
+ "contracts/type/NftId.sol": {
1541
+ "NftIdLib": [
1050
1542
  {
1051
- "components": [
1052
- {
1053
- "internalType": "RoleId",
1054
- "name": "adminRoleId",
1055
- "type": "uint64"
1056
- },
1057
- {
1058
- "internalType": "enum IAccess.RoleType",
1059
- "name": "roleType",
1060
- "type": "uint8"
1061
- },
1062
- {
1063
- "internalType": "uint32",
1064
- "name": "maxMemberCount",
1065
- "type": "uint32"
1066
- },
1067
- {
1068
- "internalType": "Str",
1069
- "name": "name",
1070
- "type": "bytes32"
1071
- },
1072
- {
1073
- "internalType": "Timestamp",
1074
- "name": "createdAt",
1075
- "type": "uint40"
1076
- }
1077
- ],
1078
- "internalType": "struct IAccess.RoleInfo",
1079
- "name": "",
1080
- "type": "tuple"
1543
+ "length": 20,
1544
+ "start": 5564
1081
1545
  }
1082
- ],
1083
- "stateMutability": "view",
1084
- "type": "function"
1085
- }
1086
- ],
1087
- "bytecode": "0x608060405234801561000f575f80fd5b50600180546001600160a01b0319163317905560405161002e90610815565b604051809103905ff080158015610047573d5f803e3d5ffd5b505f80546001600160a01b0319166001600160a01b0392909216918217905560405163189acdbd60e31b815230600482015263c4d66de8906024015f604051808303815f87803b158015610099575f80fd5b505af11580156100ab573d5f803e3d5ffd5b50505f546100c492506001600160a01b031690506100d1565b6100cc610145565b610a09565b7ff3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a0080546001600160a01b0319166001600160a01b03831690811782556040519081527f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad906020015b60405180910390a15050565b5f73__$1d92393fa9ccd763988368ce8a1cb90d26$__637c3940bf5f8054906101000a90046001600160a01b03166001600160a01b03166375b238fc6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156101ae573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906101d29190610836565b6040516001600160e01b031960e084901b1681526001600160401b039091166004820152602401602060405180830381865af4158015610214573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906102389190610836565b90506102856102456102f5565b6102806102506102f5565b6001806040518060400160405280600981526020016841646d696e526f6c6560b81b81525061036f60201b60201c565b6104ce565b6001600160401b0381165f9081526005602052604090206102a6903061076c565b506102f26102b2610789565b6102806102bd6102f5565b600263ffffffff6040518060400160405280600a8152602001695075626c6963526f6c6560b01b81525061036f60201b60201c565b50565b604051637c3940bf60e01b81525f600482018190529073__$1d92393fa9ccd763988368ce8a1cb90d26$__90637c3940bf906024015b602060405180830381865af4158015610346573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061036a9190610836565b905090565b6040805160a0810182525f808252602082018190529181018290526060810182905260808101919091526040518060a00160405280866001600160401b031681526020018560038111156103c5576103c5610858565b81526020018463ffffffff16815260200173__$9a094f9b231ed0f5f85a69be8408d93180$__63cdc23e69856040518263ffffffff1660e01b815260040161040d919061089a565b602060405180830381865af4158015610428573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061044c91906108ac565b815260200173__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af4158015610498573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906104bc91906108c3565b64ffffffffff16905295945050505050565b73__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af4158015610515573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061053991906108c3565b64ffffffffff1660808201526001600160401b038083165f9081526002602090815260409091208351815493166001600160401b03198416811782559184015184939192909183916001600160481b031990911617680100000000000000008360038111156105aa576105aa610858565b0217905550604082810151825463ffffffff90911669010000000000000000000263ffffffff60481b199091161782556060808401516001808501919091556080909401516002909301805464ffffffffff90941664ffffffffff1990941693909317909255805180820182526001600160401b03808716808352602080840187815295880180515f9081526003808452878220965187549951151568010000000000000000026001600160481b0319909a169087161798909817909555600480549889018155948590528488047f8a35acfbc15ff81a39ae7d344fd709f28e8600b4aa8c65c6b64bfe7fe36bd19b018054989097166008026101000a92830292909302199096161790935592840151845192519151631623433d60e31b81527f450614a3feeef5c4e204a5b960f0b368083de37223fc452a8b3c2cb93d075a05948794929373__$9a094f9b231ed0f5f85a69be8408d93180$__9263b11a19e89261071b92910190815260200190565b5f60405180830381865af4158015610735573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f1916820160405261075c91908101906108fb565b60405161013994939291906109ab565b5f610780836001600160a01b0384166107c9565b90505b92915050565b604051637c3940bf60e01b81526001600160401b0360048201525f9073__$1d92393fa9ccd763988368ce8a1cb90d26$__90637c3940bf9060240161032b565b5f81815260018301602052604081205461080e57508154600181810184555f848152602080822090930184905584548482528286019093526040902091909155610783565b505f610783565b612bbd806121fb83390190565b6001600160401b03811681146102f2575f80fd5b5f60208284031215610846575f80fd5b815161085181610822565b9392505050565b634e487b7160e01b5f52602160045260245ffd5b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081525f610780602083018461086c565b5f602082840312156108bc575f80fd5b5051919050565b5f602082840312156108d3575f80fd5b815164ffffffffff81168114610851575f80fd5b634e487b7160e01b5f52604160045260245ffd5b5f6020828403121561090b575f80fd5b81516001600160401b03811115610920575f80fd5b8201601f81018413610930575f80fd5b80516001600160401b03811115610949576109496108e7565b604051601f8201601f19908116603f011681016001600160401b0381118282101715610977576109776108e7565b60405281815282820160200186101561098e575f80fd5b8160208401602083015e5f91810160200191909152949350505050565b6001600160401b03851681525f600485106109d457634e487b7160e01b5f52602160045260245ffd5b602082018590526001600160401b03841660408301526080606083018190526109ff9083018461086c565b9695505050505050565b6117e580610a165f395ff3fe608060405234801561000f575f80fd5b50600436106101c6575f3560e01c806364fc3142116100fe578063b70096131161009e578063c6a001791161006e578063c6a0017914610584578063cd55e51b14610597578063d5f39488146105aa578063d78a83b1146105bb575f80fd5b8063b7009613146104f6578063bc62a0a514610509578063bcfb11b01461053e578063bf7e214f14610567575f80fd5b80638308ceb1116100d95780638308ceb1146104445780638fb360371461044c57806392bdd9bd1461046d578063b3ecf236146104ee575f80fd5b806364fc314214610409578063728a61a81461041c5780637a9e5e4b1461042f575f80fd5b80633406b152116101695780633fd85561116101445780633fd85561146103985780635bfa5027146103c35780635cb870b1146103e3578063605aa10a146103f6575f80fd5b80633406b1521461033d57806335471f801461037d578063392f5f6414610390575f80fd5b806315fb0abb116101a457806315fb0abb146102ae57806324913ce6146102ce57806326d60fb41461032257806326decd401461032a575f80fd5b806303014974146101ca5780630f4809ac146101f057806312e1ebc514610213575b5f80fd5b6101dd6101d8366004611316565b6105ce565b6040519081526020015b60405180910390f35b6102036101fe36600461134c565b6105f4565b60405190151581526020016101e7565b61028361022136600461134c565b60408051606080820183525f80835260208084018290529284018190526001600160a01b03949094168452600682529282902082519384018352805484526001015460ff8116151591840191909152610100900464ffffffffff169082015290565b60408051825181526020808401511515908201529181015164ffffffffff16908201526060016101e7565b6102c16102bc366004611417565b61068a565b6040516101e79190611459565b6102e16102dc36600461148b565b61082d565b60408051835181526020808501516001600160e01b031916908201529281015164ffffffffff16908301526001600160401b031660608201526080016101e7565b6008546101dd565b61020361033836600461134c565b610abb565b61036561034b3660046114b3565b5f908152600760205260409020546001600160a01b031690565b6040516001600160a01b0390911681526020016101e7565b6101dd61038b36600461134c565b610b27565b6004546101dd565b6103ab6103a63660046114b3565b610bb1565b6040516001600160401b0390911681526020016101e7565b6103d66103d1366004611316565b610bf3565b6040516101e791906114de565b6103d66103f136600461155a565b610cb4565b61020361040436600461134c565b610e13565b6102036104173660046115cd565b610e88565b61036561042a3660046114b3565b610f0b565b61044261043d36600461134c565b610f39565b005b6103ab610fda565b610454611053565b6040516001600160e01b031990911681526020016101e7565b6104c861047b3660046114b3565b604080518082019091525f8082526020820152505f908152600360209081526040918290208251808401909352546001600160401b0381168352600160401b900460ff1615159082015290565b6040805182516001600160401b03168152602092830151151592810192909252016101e7565b6103ab611089565b610203610504366004611602565b6110d9565b6105316040518060400160405280600981526020016841646d696e526f6c6560b81b81525081565b6040516101e79190611674565b6105316040518060400160405280600a8152602001695075626c6963526f6c6560b01b81525081565b5f80516020611790833981519152546001600160a01b0316610365565b610203610592366004611316565b6111bf565b6102036105a53660046115cd565b61121b565b6001546001600160a01b0316610365565b6103656105c9366004611686565b611249565b6001600160401b0381165f9081526005602052604081206105ee9061126a565b92915050565b5f813b61060257505f919050565b60408051600481526024810182526020810180516001600160e01b031663bf7e214f60e01b17905290515f916001600160a01b0385169161064391906116a2565b5f60405180830381855afa9150503d805f811461067b576040519150601f19603f3d011682016040523d82523d5f602084013e610680565b606091505b5090949350505050565b60408051606080820183525f808352602083018190528284015282519081019283905263cdc23e6960e01b909252908073__$9a094f9b231ed0f5f85a69be8408d93180$__63cdc23e696106e18660648501611674565b602060405180830381865af41580156106fc573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061072091906116b8565b8152604051636b15ee8b60e01b81526001600160e01b03198616600482015260209091019073__$0904195350e4c23ecb1d51df0a32586dcd$__90636b15ee8b90602401602060405180830381865af415801561077f573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906107a391906116cf565b6001600160e01b031916815260200173__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af41580156107f9573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061081d91906116ea565b64ffffffffff1690529392505050565b604080516060810182525f80825260208083018290528284018290526001600160a01b038616825260099052828120925163dfe63db960e01b81526004810193909352602483018490529091819073__$8df0087758613aef8a614b5774fdb3323b$__9063dfe63db990604401602060405180830381865af41580156108b5573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906108d991906116cf565b6001600160a01b038681165f908152600a602090815260408083206001600160e01b031986811680865291845282852083516060810185528154815260019091015460e081901b90921694810194909452640100000000900464ffffffffff168383015292549051636ea1af2560e11b8152600481019390935290965092935073__$1d92393fa9ccd763988368ce8a1cb90d26$__92637c3940bf921690636d5115bd90899073__$0904195350e4c23ecb1d51df0a32586dcd$__9063dd435e4a90602401602060405180830381865af41580156109b9573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906109dd91906116cf565b6040516001600160e01b031960e085901b811682526001600160a01b03909316600482015291166024820152604401602060405180830381865afa158015610a27573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610a4b919061170e565b6040516001600160e01b031960e084901b1681526001600160401b039091166004820152602401602060405180830381865af4158015610a8d573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610ab1919061170e565b9150509250929050565b5f805460405163a166aa8960e01b81526001600160a01b0384811660048301529091169063a166aa8990602401602060405180830381865afa158015610b03573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906105ee9190611738565b6001600160a01b0381165f90815260096020526040808220905163868b3e0760e01b8152600481019190915273__$8df0087758613aef8a614b5774fdb3323b$__9063868b3e0790602401602060405180830381865af4158015610b8d573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906105ee91906116b8565b5f60048281548110610bc557610bc5611751565b905f5260205f2090600491828204019190066008029054906101000a90046001600160401b03169050919050565b6040805160a080820183525f808352602080840182905283850182905260608401829052608084018290526001600160401b038681168352600282529185902085519384019095528454918216835292939192830190600160401b900460ff166003811115610c6457610c646114ca565b6003811115610c7557610c756114ca565b815281546901000000000000000000900463ffffffff1660208201526001820154604082015260029091015464ffffffffff1660609091015292915050565b6040805160a0810182525f808252602082018190529181018290526060810182905260808101919091526040518060a00160405280866001600160401b03168152602001856003811115610d0a57610d0a6114ca565b81526020018463ffffffff16815260200173__$9a094f9b231ed0f5f85a69be8408d93180$__63cdc23e69856040518263ffffffff1660e01b8152600401610d529190611674565b602060405180830381865af4158015610d6d573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610d9191906116b8565b815260200173__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af4158015610ddd573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610e0191906116ea565b64ffffffffff16905295945050505050565b6001600160a01b0381165f90815260066020526040808220600101549051638d38cd4b60e01b815261010090910464ffffffffff16600482015273__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__90638d38cd4b906024015b602060405180830381865af4158015610b03573d5f803e3d5ffd5b5f80546040516368fc2b7760e11b81526001600160401b03841660048201526001600160a01b0385811660248301528392169063d1f856ee906044016040805180830381865afa158015610ede573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610f029190611765565b50949350505050565b5f60088281548110610f1f57610f1f611751565b5f918252602090912001546001600160a01b031692915050565b33610f585f80516020611790833981519152546001600160a01b031690565b6001600160a01b0316816001600160a01b031614610f985760405162d1953b60e31b81526001600160a01b03821660048201526024015b60405180910390fd5b816001600160a01b03163b5f03610fcd576040516361798f2f60e11b81526001600160a01b0383166004820152602401610f8f565b610fd682611273565b5050565b5f805f9054906101000a90046001600160a01b03166001600160a01b0316633ca7c02a6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561102a573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061104e919061170e565b905090565b5f8051602061179083398151915280545f9190600160a01b900460ff1661107a575f611083565b638fb3603760e01b5b91505090565b5f805f9054906101000a90046001600160a01b03166001600160a01b03166375b238fc6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561102a573d5f803e3d5ffd5b5f8054604051636ea1af2560e11b81526001600160e01b0319841660048201526001600160a01b039091169063b7009613908690869073__$0904195350e4c23ecb1d51df0a32586dcd$__9063dd435e4a90602401602060405180830381865af4158015611149573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061116d91906116cf565b60405160e085901b6001600160e01b031990811682526001600160a01b0394851660048301529290931660248401521660448201526064016040805180830381865afa158015610ede573d5f803e3d5ffd5b6001600160401b0381165f908152600260208190526040808320909101549051638d38cd4b60e01b815264ffffffffff909116600482015273__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__90638d38cd4b90602401610e6d565b6001600160401b038082165f90815260026020526040812054909161124291859116610e88565b9392505050565b6001600160401b0382165f90815260056020526040812061124290836112d3565b5f6105ee825490565b5f8051602061179083398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b5f61124283835f825f0182815481106112ee576112ee611751565b905f5260205f200154905092915050565b6001600160401b0381168114611313575f80fd5b50565b5f60208284031215611326575f80fd5b8135611242816112ff565b80356001600160a01b0381168114611347575f80fd5b919050565b5f6020828403121561135c575f80fd5b61124282611331565b6001600160e01b031981168114611313575f80fd5b634e487b7160e01b5f52604160045260245ffd5b5f82601f83011261139d575f80fd5b81356001600160401b038111156113b6576113b661137a565b604051601f8201601f19908116603f011681016001600160401b03811182821017156113e4576113e461137a565b6040528181528382016020018510156113fb575f80fd5b816020850160208301375f918101602001919091529392505050565b5f8060408385031215611428575f80fd5b823561143381611365565b915060208301356001600160401b0381111561144d575f80fd5b610ab18582860161138e565b815181526020808301516001600160e01b0319169082015260408083015164ffffffffff1690820152606081016105ee565b5f806040838503121561149c575f80fd5b6114a583611331565b946020939093013593505050565b5f602082840312156114c3575f80fd5b5035919050565b634e487b7160e01b5f52602160045260245ffd5b81516001600160401b03168152602082015160a08201906004811061151157634e487b7160e01b5f52602160045260245ffd5b8060208401525063ffffffff60408401511660408301526060830151606083015264ffffffffff608084015116608083015292915050565b63ffffffff81168114611313575f80fd5b5f805f806080858703121561156d575f80fd5b8435611578816112ff565b935060208501356004811061158b575f80fd5b9250604085013561159b81611549565b915060608501356001600160401b038111156115b5575f80fd5b6115c18782880161138e565b91505092959194509250565b5f80604083850312156115de575f80fd5b6115e783611331565b915060208301356115f7816112ff565b809150509250929050565b5f805f60608486031215611614575f80fd5b61161d84611331565b925061162b60208501611331565b9150604084013561163b81611365565b809150509250925092565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081525f6112426020830184611646565b5f8060408385031215611697575f80fd5b82356114a5816112ff565b5f82518060208501845e5f920191825250919050565b5f602082840312156116c8575f80fd5b5051919050565b5f602082840312156116df575f80fd5b815161124281611365565b5f602082840312156116fa575f80fd5b815164ffffffffff81168114611242575f80fd5b5f6020828403121561171e575f80fd5b8151611242816112ff565b80518015158114611347575f80fd5b5f60208284031215611748575f80fd5b61124282611729565b634e487b7160e01b5f52603260045260245ffd5b5f8060408385031215611776575f80fd5b61177f83611729565b915060208301516115f78161154956fef3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00a26469706673582212208af1b769751cfca41e4d62d9f6c4b1d5d7519034150ecb5db287387a539313ac64736f6c634300081a00336080604052348015600e575f80fd5b50612ba18061001c5f395ff3fe6080604052600436106101e6575f3560e01c80636d5115bd11610108578063b70096131161009d578063d1f856ee1161006d578063d1f856ee146105e9578063d22b598914610608578063d6bb62c614610627578063f801a69814610646578063fe0776f51461067f575f80fd5b8063b70096131461055b578063b7d2b16214610596578063c4d66de8146105b5578063cc1b6c81146105d4575f80fd5b8063a166aa89116100d8578063a166aa89146104b4578063a64d95ce146104e3578063abd9bd2a14610502578063ac9650d81461052f575f80fd5b80636d5115bd1461044457806375b238fc14610463578063853551b81461047657806394c7d7ee14610495575f80fd5b806330cae1871161017e5780634665096d1161014e5780634665096d146103d25780634c1da1e2146103e75780635296295214610406578063530dd45614610425575f80fd5b806330cae187146103445780633adc277a146103635780633ca7c02a146103995780634136a33c146103b3575f80fd5b806318ff183c116101b957806318ff183c1461029a5780631cff79cd146102b957806325c471a0146102cc5780633078f114146102eb575f80fd5b806308d6122d146101ea5780630b0a93ba1461020b57806312be872714610247578063167bd3951461027b575b5f80fd5b3480156101f5575f80fd5b50610209610204366004612483565b61069e565b005b348015610216575f80fd5b5061022a6102253660046124e5565b6106f0565b6040516001600160401b0390911681526020015b60405180910390f35b348015610252575f80fd5b506102666102613660046124e5565b610727565b60405163ffffffff909116815260200161023e565b348015610286575f80fd5b506102096102953660046124fe565b610771565b3480156102a5575f80fd5b506102096102b4366004612539565b610787565b6102666102c73660046125a2565b6107e9565b3480156102d7575f80fd5b506102096102e6366004612605565b61092a565b3480156102f6575f80fd5b5061030a610305366004612647565b61094c565b60405161023e949392919065ffffffffffff948516815263ffffffff93841660208201529190921660408201529116606082015260800190565b34801561034f575f80fd5b5061020961035e366004612661565b6109bf565b34801561036e575f80fd5b5061038261037d366004612692565b6109d1565b60405165ffffffffffff909116815260200161023e565b3480156103a4575f80fd5b5061022a6001600160401b0381565b3480156103be575f80fd5b506102666103cd366004612692565b610a13565b3480156103dd575f80fd5b5062093a80610266565b3480156103f2575f80fd5b506102666104013660046126a9565b610a3e565b348015610411575f80fd5b50610209610420366004612661565b610a78565b348015610430575f80fd5b5061022a61043f3660046124e5565b610a8a565b34801561044f575f80fd5b5061022a61045e3660046126d9565b610aba565b34801561046e575f80fd5b5061022a5f81565b348015610481575f80fd5b50610209610490366004612705565b610b01565b3480156104a0575f80fd5b506102096104af3660046125a2565b610b98565b3480156104bf575f80fd5b506104d36104ce3660046126a9565b610c42565b604051901515815260200161023e565b3480156104ee575f80fd5b506102096104fd366004612720565b610c79565b34801561050d575f80fd5b5061052161051c366004612748565b610c8b565b60405190815260200161023e565b34801561053a575f80fd5b5061054e6105493660046127a8565b610cc3565b60405161023e91906127e6565b348015610566575f80fd5b5061057a61057536600461286a565b610da8565b60408051921515835263ffffffff90911660208301520161023e565b3480156105a1575f80fd5b506102096105b0366004612647565b610e29565b3480156105c0575f80fd5b506102096105cf3660046126a9565b610e40565b3480156105df575f80fd5b5062069780610266565b3480156105f4575f80fd5b5061057a610603366004612647565b610f4b565b348015610613575f80fd5b506102096106223660046128b2565b610fc4565b348015610632575f80fd5b50610266610641366004612748565b610fd6565b348015610651575f80fd5b506106656106603660046128ce565b611139565b6040805192835263ffffffff90911660208301520161023e565b34801561068a575f80fd5b50610209610699366004612647565b6112d5565b6106a66112fe565b5f5b828110156106e9576106e1858585848181106106c6576106c661293b565b90506020020160208101906106db919061294f565b84611375565b6001016106a8565b5050505050565b5f806106fa611401565b6001600160401b039384165f9081526001918201602052604090200154600160401b900490921692915050565b5f80610731611401565b6001600160401b0384165f90815260018281016020526040909120015490915061076a90600160801b90046001600160701b0316611425565b9392505050565b6107796112fe565b6107838282611443565b5050565b61078f6112fe565b604051637a9e5e4b60e01b81526001600160a01b038281166004830152831690637a9e5e4b906024015f604051808303815f87803b1580156107cf575f80fd5b505af11580156107e1573d5f803e3d5ffd5b505050505050565b5f806107f3611401565b9050335f80610804838989896114e7565b915091508115801561081a575063ffffffff8116155b1561086d57828861082b8989611538565b6040516381c6f24b60e01b81526001600160a01b0393841660048201529290911660248301526001600160e01b03191660448201526064015b60405180910390fd5b5f61087a848a8a8a610c8b565b90505f63ffffffff83161515806108a05750610895826109d1565b65ffffffffffff1615155b156108b1576108ae8261154f565b90505b60038601546108c98b6108c48c8c611538565b611660565b87600301819055506109128b8b8b8080601f0160208091040260200160405190810160405280939291908181526020018383808284375f920191909152503492506116a2915050565b50600390960195909555509293505050509392505050565b6109326112fe565b610946838361094086610727565b8461173b565b50505050565b5f805f805f610959611401565b6001600160401b0388165f90815260018201602090815260408083206001600160a01b038b1684529091529020805465ffffffffffff81169750919250906109b090600160301b90046001600160701b0316611995565b979a9199509750945050505050565b6109c76112fe565b61078382826119b6565b5f806109db611401565b5f84815260028201602052604090205490915065ffffffffffff166109ff81611a66565b610a095780610a0b565b5f5b949350505050565b5f80610a1d611401565b5f93845260020160205250506040902054600160301b900463ffffffff1690565b5f80610a48611401565b6001600160a01b0384165f9081526020829052604090206001015490915061076a906001600160701b0316611425565b610a806112fe565b6107838282611a94565b5f80610a94611401565b6001600160401b039384165f908152600191820160205260409020015490921692915050565b5f80610ac4611401565b6001600160a01b0385165f908152602091825260408082206001600160e01b03198716835290925220546001600160401b03169150505b92915050565b610b096112fe565b6001600160401b0383161580610b2757506001600160401b03838116145b15610b505760405163061c6a4360e21b81526001600160401b0384166004820152602401610864565b826001600160401b03167f1256f5b5ecb89caec12db449738f2fbcd1ba5806cf38f35413f4e5c15bf6a4508383604051610b8b929190612992565b60405180910390a2505050565b60408051638fb3603760e01b80825291513392918391638fb36037916004808201926020929091908290030181865afa158015610bd7573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610bfb91906129a5565b6001600160e01b03191614610c2e57604051630641fee960e31b81526001600160a01b0382166004820152602401610864565b6106e9610c3d85838686610c8b565b61154f565b5f80610c4c611401565b6001600160a01b039093165f9081526020939093525050604090206001015460ff600160701b9091041690565b610c816112fe565b6107838282611b52565b5f84848484604051602001610ca394939291906129c0565b604051602081830303815290604052805190602001209050949350505050565b604080515f815260208101909152606090826001600160401b03811115610cec57610cec612a27565b604051908082528060200260200182016040528015610d1f57816020015b6060815260200190600190039081610d0a5790505b5091505f5b83811015610da057610d7b30868684818110610d4257610d4261293b565b9050602002810190610d549190612a3b565b85604051602001610d6793929190612a94565b604051602081830303815290604052611c7c565b838281518110610d8d57610d8d61293b565b6020908102919091010152600101610d24565b505092915050565b5f80610db384610c42565b15610dc257505f905080610e21565b306001600160a01b03861603610de657610ddc8484611cee565b5f91509150610e21565b5f610df18585610aba565b90505f80610dff8389610f4b565b9150915081610e0f575f80610e19565b63ffffffff811615815b945094505050505b935093915050565b610e316112fe565b610e3b8282611d12565b505050565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a008054600160401b810460ff1615906001600160401b03165f81158015610e845750825b90505f826001600160401b03166001148015610e9f5750303b155b905081158015610ead575080155b15610ecb5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315610ef557845460ff60401b1916600160401b1785555b610efe86611e0d565b83156107e157845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a1505050505050565b5f8067fffffffffffffffe196001600160401b03851601610f715750600190505f610fbd565b5f80610f7d868661094c565b5050915091508165ffffffffffff165f14158015610fb25750610f9e611e21565b65ffffffffffff168265ffffffffffff1611155b93509150610fbd9050565b9250929050565b610fcc6112fe565b6107838282611e30565b5f80610fe0611401565b9050335f610fee8686611538565b90505f610ffd89898989610c8b565b5f81815260028601602052604081205491925065ffffffffffff909116900361103c5760405163060a299b60e41b815260048101829052602401610864565b826001600160a01b0316896001600160a01b0316146110d5575f6110605f85610f4b565b5090505f61107a6110746102258c87610aba565b86610f4b565b50905081158015611089575080155b156110d257604051630ff89d4760e21b81526001600160a01b038087166004830152808d1660248301528b1660448201526001600160e01b031985166064820152608401610864565b50505b5f818152600285016020526040808220805465ffffffffffff1916908190559051600160301b90910463ffffffff1691829184917fbd9ac67a6e2f6463b80927326310338bcbb4bdb7936ce1365ea3e01067e7b9f791a39998505050505050505050565b5f805f611144611401565b9050335f611154828a8a8a6114e7565b9150505f8163ffffffff16611167611e21565b6111719190612aa9565b905063ffffffff821615806111a757505f8765ffffffffffff161180156111a757508065ffffffffffff168765ffffffffffff16105b156111b857828a61082b8b8b611538565b6111d28765ffffffffffff168265ffffffffffff16611ef8565b96506111e0838b8b8b610c8b565b95506111eb86611f0d565b836002015f8781526020019081526020015f205f0160069054906101000a900463ffffffff16600101945086846002015f8881526020019081526020015f205f015f6101000a81548165ffffffffffff021916908365ffffffffffff16021790555084846002015f8881526020019081526020015f205f0160066101000a81548163ffffffff021916908363ffffffff1602179055508463ffffffff16867f82a2da5dee54ea8021c6545b4444620291e07ee83be6dd57edb175062715f3b489868e8e8e6040516112c0959493929190612ac7565b60405180910390a35050505094509492505050565b6001600160a01b0381163314610e3157604051635f159e6360e01b815260040160405180910390fd5b335f8061130c838236611f67565b9150915081610e3b578063ffffffff165f03611366575f61132d8136612018565b5060405163f07e038f60e01b81526001600160a01b03871660048201526001600160401b03821660248201529092506044019050610864565b610946610c3d84305f36610c8b565b5f61137e611401565b6001600160a01b0385165f818152602083815260408083206001600160e01b0319891680855290835292819020805467ffffffffffffffff19166001600160401b03891690811790915590519283529394507f9ea6790c7dadfd01c9f8b9762b3682607af2c7e79e05a9f9fdf5580dde949151910160405180910390a350505050565b7f40c6c8c28789853c7efd823ab20824bbd71718a8a5915e855f6f288c9a26ad0090565b5f80611439836001600160701b0316611995565b5090949350505050565b5f61144c611401565b9050306001600160a01b0384160361148257604051630b40d17960e31b81526001600160a01b0384166004820152602401610864565b6001600160a01b0383165f81815260208390526040908190206001018054851515600160701b0260ff60701b19909116179055517f90d4e7bb7e5d933792b3562e1741306f8be94837e1348dacef9b6f1df56eb13890610b8b90851515815260200190565b5f80306001600160a01b0386160361150d57611504868585611f67565b9150915061152f565b600483106115295761152486866105758787611538565b611504565b505f9050805b94509492505050565b5f6115466004828486612a00565b61076a91612b0c565b5f80611559611401565b5f84815260028201602052604081205491925065ffffffffffff821691600160301b900463ffffffff16908290036115a75760405163060a299b60e41b815260048101869052602401610864565b6115af611e21565b65ffffffffffff168265ffffffffffff1611156115e257604051630c65b5bd60e11b815260048101869052602401610864565b6115eb82611a66565b1561160c57604051631e2975b960e21b815260048101869052602401610864565b5f858152600284016020526040808220805465ffffffffffff191690555163ffffffff83169187917f76a2a46953689d4861a5d3f6ed883ad7e6af674a21f8e162707159fc9dde614d9190a3949350505050565b604080516001600160a01b03939093166020808501919091526001600160e01b0319929092168382015280518084038201815260609093019052815191012090565b6060814710156116c75760405163cd78605960e01b8152306004820152602401610864565b5f80856001600160a01b031684866040516116e29190612b44565b5f6040518083038185875af1925050503d805f811461171c576040519150601f19603f3d011682016040523d82523d5f602084013e611721565b606091505b50915091506117318683836121d9565b9695505050505050565b5f80611745611401565b905067fffffffffffffffe196001600160401b038716016117845760405163061c6a4360e21b81526001600160401b0387166004820152602401610864565b6001600160401b0386165f90815260018201602090815260408083206001600160a01b038916845290915281205465ffffffffffff1615908115611878578563ffffffff166117d1611e21565b6117db9190612aa9565b905060405180604001604052808265ffffffffffff1681526020016118098763ffffffff1663ffffffff1690565b6001600160701b039081169091526001600160401b038a165f90815260018601602090815260408083206001600160a01b038d1684528252909120835181549490920151909216600160301b026001600160a01b031990931665ffffffffffff90911617919091179055611926565b6001600160401b0388165f90815260018401602090815260408083206001600160a01b038b1684529091528120546118c391600160301b9091046001600160701b0316908790612235565b6001600160401b038a165f90815260018601602090815260408083206001600160a01b038d168452909152902080546001600160701b03909316600160301b0273ffffffffffffffffffffffffffff000000000000199093169290921790915590505b6040805163ffffffff8716815265ffffffffffff831660208201528315158183015290516001600160a01b038916916001600160401b038b16917ff98448b987f1428e0e230e1f3c6e2ce15b5693eaf31827fbd0b1ec4b424ae7cf9181900360600190a3509695505050505050565b5f805f6119a9846119a4611e21565b6122db565b9250925092509193909250565b5f6119bf611401565b90506001600160401b03831615806119df57506001600160401b03838116145b15611a085760405163061c6a4360e21b81526001600160401b0384166004820152602401610864565b6001600160401b038381165f81815260018481016020526040808320909101805467ffffffffffffffff19169487169485179055517f1fd6dd7631312dfac2205b52913f99de03b4d7e381d5d27d3dbfe0713e6e63409190a3505050565b5f611a6f611e21565b65ffffffffffff16611a8462093a8084612aa9565b65ffffffffffff16111592915050565b5f611a9d611401565b90506001600160401b0383161580611abd57506001600160401b03838116145b15611ae65760405163061c6a4360e21b81526001600160401b0384166004820152602401610864565b6001600160401b038381165f8181526001848101602052604080832090910180546fffffffffffffffff00000000000000001916600160401b958816958602179055517f7a8059630b897b5de4c08ade69f8b90c3ead1f8596d62d10b6c4d14a0afb4ae29190a3505050565b5f611b5b611401565b905067fffffffffffffffe196001600160401b03841601611b9a5760405163061c6a4360e21b81526001600160401b0384166004820152602401610864565b6001600160401b0383165f9081526001828101602052604082200154611bd490600160801b90046001600160701b03168462069780612235565b6001600160401b0386165f81815260018087016020526040918290200180546001600160701b03909516600160801b026dffffffffffffffffffffffffffff60801b199095169490941790935591519092507ffeb69018ee8b8fd50ea86348f1267d07673379f72cffdeccec63853ee8ce8b4890611c6e908690859063ffffffff92909216825265ffffffffffff16602082015260400190565b60405180910390a250505050565b60605f80846001600160a01b031684604051611c989190612b44565b5f60405180830381855af49150503d805f8114611cd0576040519150601f19603f3d011682016040523d82523d5f602084013e611cd5565b606091505b5091509150611ce58583836121d9565b95945050505050565b5f80611cf8611401565b9050611d048484611660565b600390910154149392505050565b5f80611d1c611401565b905067fffffffffffffffe196001600160401b03851601611d5b5760405163061c6a4360e21b81526001600160401b0385166004820152602401610864565b6001600160401b0384165f90815260018201602090815260408083206001600160a01b038716845290915281205465ffffffffffff169003611da0575f915050610afb565b6001600160401b0384165f81815260018301602090815260408083206001600160a01b038816808552925280832080546001600160a01b0319169055519092917ff229baa593af28c41b1d16b748cd7688f0c83aaf92d4be41c44005defe84c16691a35060019392505050565b611e1561232d565b611e1e81612378565b50565b5f611e2b426123b5565b905090565b5f611e39611401565b90505f611e6f83620697806001600160a01b0387165f908152602086905260409020600101546001600160701b03169190612235565b6001600160a01b0386165f818152602086815260409182902060010180546dffffffffffffffffffffffffffff19166001600160701b039690961695909517909455805163ffffffff8816815265ffffffffffff841694810194909452919350917fa56b76017453f399ec2327ba00375dbfb1fd070ff854341ad6191e6a2e2de19c9101611c6e565b5f818311611f06578161076a565b5090919050565b5f611f16611401565b5f83815260028201602052604090205490915065ffffffffffff168015801590611f465750611f4481611a66565b155b15610e3b5760405163813e945960e01b815260048101849052602401610864565b5f806004831015611f7c57505f905080610e21565b306001600160a01b03861603611f9f57610ddc30611f9a8686611538565b611cee565b5f805f611fac8787612018565b92509250925082611fc5575f8094509450505050610e21565b5f80611fd1848b610f4b565b9150915081611fea575f80965096505050505050610e21565b6120008363ffffffff168263ffffffff16611ef8565b63ffffffff8116159b909a5098505050505050505050565b5f8080600484101561203157505f9150819050806121d2565b5f61203c8686611538565b90506001600160e01b031981166310a6aa3760e31b148061206d57506001600160e01b031981166330cae18760e01b145b8061208857506001600160e01b0319811663294b14a960e11b145b806120a357506001600160e01b03198116635326cae760e11b145b806120be57506001600160e01b0319811663d22b598960e01b145b156120d35760015f80935093509350506121d2565b6001600160e01b0319811663063fc60f60e21b148061210257506001600160e01b0319811663167bd39560e01b145b8061211d57506001600160e01b031981166308d6122d60e01b145b1561215c575f61213160246004888a612a00565b81019061213e91906126a9565b90505f61214a82610a3e565b600196505f955093506121d292505050565b6001600160e01b0319811663012e238d60e51b148061218b57506001600160e01b03198116635be958b160e11b145b156121c7575f61219f60246004888a612a00565b8101906121ac91906124e5565b905060016121b982610a8a565b5f94509450945050506121d2565b5f805f935093509350505b9250925092565b6060826121ee576121e9826123eb565b61076a565b815115801561220557506001600160a01b0384163b155b1561222e57604051639996b31560e01b81526001600160a01b0385166004820152602401610864565b508061076a565b5f805f61224a866001600160701b0316611425565b90505f6122858563ffffffff168763ffffffff168463ffffffff1611612270575f61227a565b61227a8885612b4f565b63ffffffff16611ef8565b90508063ffffffff16612296611e21565b6122a09190612aa9565b925063ffffffff8616602083901b67ffffffff0000000016604085901b6dffffffffffff000000000000000016171793505050935093915050565b5f808069ffffffffffffffffffff602086901c166001600160701b03861665ffffffffffff604088901c81169087168111156123195782828261231d565b815f805b9550955095505050509250925092565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a0054600160401b900460ff1661237657604051631afcd79f60e31b815260040160405180910390fd5b565b61238061232d565b6001600160a01b0381166123a957604051630409d6d160e11b81525f6004820152602401610864565b6107835f825f8061173b565b5f65ffffffffffff8211156123e7576040516306dfcc6560e41b81526030600482015260248101839052604401610864565b5090565b8051156123fb5780518082602001fd5b604051630a12f52160e11b815260040160405180910390fd5b6001600160a01b0381168114611e1e575f80fd5b5f8083601f840112612438575f80fd5b5081356001600160401b0381111561244e575f80fd5b6020830191508360208260051b8501011115610fbd575f80fd5b80356001600160401b038116811461247e575f80fd5b919050565b5f805f8060608587031215612496575f80fd5b84356124a181612414565b935060208501356001600160401b038111156124bb575f80fd5b6124c787828801612428565b90945092506124da905060408601612468565b905092959194509250565b5f602082840312156124f5575f80fd5b61076a82612468565b5f806040838503121561250f575f80fd5b823561251a81612414565b91506020830135801515811461252e575f80fd5b809150509250929050565b5f806040838503121561254a575f80fd5b823561255581612414565b9150602083013561252e81612414565b5f8083601f840112612575575f80fd5b5081356001600160401b0381111561258b575f80fd5b602083019150836020828501011115610fbd575f80fd5b5f805f604084860312156125b4575f80fd5b83356125bf81612414565b925060208401356001600160401b038111156125d9575f80fd5b6125e586828701612565565b9497909650939450505050565b803563ffffffff8116811461247e575f80fd5b5f805f60608486031215612617575f80fd5b61262084612468565b9250602084013561263081612414565b915061263e604085016125f2565b90509250925092565b5f8060408385031215612658575f80fd5b61255583612468565b5f8060408385031215612672575f80fd5b61267b83612468565b915061268960208401612468565b90509250929050565b5f602082840312156126a2575f80fd5b5035919050565b5f602082840312156126b9575f80fd5b813561076a81612414565b6001600160e01b031981168114611e1e575f80fd5b5f80604083850312156126ea575f80fd5b82356126f581612414565b9150602083013561252e816126c4565b5f805f60408486031215612717575f80fd5b6125bf84612468565b5f8060408385031215612731575f80fd5b61273a83612468565b9150612689602084016125f2565b5f805f806060858703121561275b575f80fd5b843561276681612414565b9350602085013561277681612414565b925060408501356001600160401b03811115612790575f80fd5b61279c87828801612565565b95989497509550505050565b5f80602083850312156127b9575f80fd5b82356001600160401b038111156127ce575f80fd5b6127da85828601612428565b90969095509350505050565b5f602082016020835280845180835260408501915060408160051b8601019250602086015f5b8281101561285e57603f19878603018452815180518087528060208301602089015e5f602082890101526020601f19601f8301168801019650505060208201915060208401935060018101905061280c565b50929695505050505050565b5f805f6060848603121561287c575f80fd5b833561288781612414565b9250602084013561289781612414565b915060408401356128a7816126c4565b809150509250925092565b5f80604083850312156128c3575f80fd5b823561273a81612414565b5f805f80606085870312156128e1575f80fd5b84356128ec81612414565b935060208501356001600160401b03811115612906575f80fd5b61291287828801612565565b909450925050604085013565ffffffffffff81168114612930575f80fd5b939692955090935050565b634e487b7160e01b5f52603260045260245ffd5b5f6020828403121561295f575f80fd5b813561076a816126c4565b81835281816020850137505f828201602090810191909152601f909101601f19169091010190565b602081525f610a0b60208301848661296a565b5f602082840312156129b5575f80fd5b815161076a816126c4565b6001600160a01b038581168252841660208201526060604082018190525f90611731908301848661296a565b634e487b7160e01b5f52601160045260245ffd5b5f8085851115612a0e575f80fd5b83861115612a1a575f80fd5b5050820193919092039150565b634e487b7160e01b5f52604160045260245ffd5b5f808335601e19843603018112612a50575f80fd5b8301803591506001600160401b03821115612a69575f80fd5b602001915036819003821315610fbd575f80fd5b5f81518060208401855e5f93019283525090919050565b828482375f8382015f81526117318185612a7d565b65ffffffffffff8181168382160190811115610afb57610afb6129ec565b65ffffffffffff861681526001600160a01b038581166020830152841660408201526080606082018190525f90612b01908301848661296a565b979650505050505050565b80356001600160e01b03198116906004841015612b3d576001600160e01b0319600485900360031b81901b82161691505b5092915050565b5f61076a8284612a7d565b63ffffffff8281168282160390811115610afb57610afb6129ec56fea264697066735822122072759d7b5f96dd0caaed8321f069e3fdd1f047ae911241936fca832d24aebe4c64736f6c634300081a0033",
1088
- "deployedBytecode": "0x608060405234801561000f575f80fd5b50600436106101c6575f3560e01c806364fc3142116100fe578063b70096131161009e578063c6a001791161006e578063c6a0017914610584578063cd55e51b14610597578063d5f39488146105aa578063d78a83b1146105bb575f80fd5b8063b7009613146104f6578063bc62a0a514610509578063bcfb11b01461053e578063bf7e214f14610567575f80fd5b80638308ceb1116100d95780638308ceb1146104445780638fb360371461044c57806392bdd9bd1461046d578063b3ecf236146104ee575f80fd5b806364fc314214610409578063728a61a81461041c5780637a9e5e4b1461042f575f80fd5b80633406b152116101695780633fd85561116101445780633fd85561146103985780635bfa5027146103c35780635cb870b1146103e3578063605aa10a146103f6575f80fd5b80633406b1521461033d57806335471f801461037d578063392f5f6414610390575f80fd5b806315fb0abb116101a457806315fb0abb146102ae57806324913ce6146102ce57806326d60fb41461032257806326decd401461032a575f80fd5b806303014974146101ca5780630f4809ac146101f057806312e1ebc514610213575b5f80fd5b6101dd6101d8366004611316565b6105ce565b6040519081526020015b60405180910390f35b6102036101fe36600461134c565b6105f4565b60405190151581526020016101e7565b61028361022136600461134c565b60408051606080820183525f80835260208084018290529284018190526001600160a01b03949094168452600682529282902082519384018352805484526001015460ff8116151591840191909152610100900464ffffffffff169082015290565b60408051825181526020808401511515908201529181015164ffffffffff16908201526060016101e7565b6102c16102bc366004611417565b61068a565b6040516101e79190611459565b6102e16102dc36600461148b565b61082d565b60408051835181526020808501516001600160e01b031916908201529281015164ffffffffff16908301526001600160401b031660608201526080016101e7565b6008546101dd565b61020361033836600461134c565b610abb565b61036561034b3660046114b3565b5f908152600760205260409020546001600160a01b031690565b6040516001600160a01b0390911681526020016101e7565b6101dd61038b36600461134c565b610b27565b6004546101dd565b6103ab6103a63660046114b3565b610bb1565b6040516001600160401b0390911681526020016101e7565b6103d66103d1366004611316565b610bf3565b6040516101e791906114de565b6103d66103f136600461155a565b610cb4565b61020361040436600461134c565b610e13565b6102036104173660046115cd565b610e88565b61036561042a3660046114b3565b610f0b565b61044261043d36600461134c565b610f39565b005b6103ab610fda565b610454611053565b6040516001600160e01b031990911681526020016101e7565b6104c861047b3660046114b3565b604080518082019091525f8082526020820152505f908152600360209081526040918290208251808401909352546001600160401b0381168352600160401b900460ff1615159082015290565b6040805182516001600160401b03168152602092830151151592810192909252016101e7565b6103ab611089565b610203610504366004611602565b6110d9565b6105316040518060400160405280600981526020016841646d696e526f6c6560b81b81525081565b6040516101e79190611674565b6105316040518060400160405280600a8152602001695075626c6963526f6c6560b01b81525081565b5f80516020611790833981519152546001600160a01b0316610365565b610203610592366004611316565b6111bf565b6102036105a53660046115cd565b61121b565b6001546001600160a01b0316610365565b6103656105c9366004611686565b611249565b6001600160401b0381165f9081526005602052604081206105ee9061126a565b92915050565b5f813b61060257505f919050565b60408051600481526024810182526020810180516001600160e01b031663bf7e214f60e01b17905290515f916001600160a01b0385169161064391906116a2565b5f60405180830381855afa9150503d805f811461067b576040519150601f19603f3d011682016040523d82523d5f602084013e610680565b606091505b5090949350505050565b60408051606080820183525f808352602083018190528284015282519081019283905263cdc23e6960e01b909252908073__$9a094f9b231ed0f5f85a69be8408d93180$__63cdc23e696106e18660648501611674565b602060405180830381865af41580156106fc573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061072091906116b8565b8152604051636b15ee8b60e01b81526001600160e01b03198616600482015260209091019073__$0904195350e4c23ecb1d51df0a32586dcd$__90636b15ee8b90602401602060405180830381865af415801561077f573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906107a391906116cf565b6001600160e01b031916815260200173__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af41580156107f9573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061081d91906116ea565b64ffffffffff1690529392505050565b604080516060810182525f80825260208083018290528284018290526001600160a01b038616825260099052828120925163dfe63db960e01b81526004810193909352602483018490529091819073__$8df0087758613aef8a614b5774fdb3323b$__9063dfe63db990604401602060405180830381865af41580156108b5573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906108d991906116cf565b6001600160a01b038681165f908152600a602090815260408083206001600160e01b031986811680865291845282852083516060810185528154815260019091015460e081901b90921694810194909452640100000000900464ffffffffff168383015292549051636ea1af2560e11b8152600481019390935290965092935073__$1d92393fa9ccd763988368ce8a1cb90d26$__92637c3940bf921690636d5115bd90899073__$0904195350e4c23ecb1d51df0a32586dcd$__9063dd435e4a90602401602060405180830381865af41580156109b9573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906109dd91906116cf565b6040516001600160e01b031960e085901b811682526001600160a01b03909316600482015291166024820152604401602060405180830381865afa158015610a27573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610a4b919061170e565b6040516001600160e01b031960e084901b1681526001600160401b039091166004820152602401602060405180830381865af4158015610a8d573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610ab1919061170e565b9150509250929050565b5f805460405163a166aa8960e01b81526001600160a01b0384811660048301529091169063a166aa8990602401602060405180830381865afa158015610b03573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906105ee9190611738565b6001600160a01b0381165f90815260096020526040808220905163868b3e0760e01b8152600481019190915273__$8df0087758613aef8a614b5774fdb3323b$__9063868b3e0790602401602060405180830381865af4158015610b8d573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906105ee91906116b8565b5f60048281548110610bc557610bc5611751565b905f5260205f2090600491828204019190066008029054906101000a90046001600160401b03169050919050565b6040805160a080820183525f808352602080840182905283850182905260608401829052608084018290526001600160401b038681168352600282529185902085519384019095528454918216835292939192830190600160401b900460ff166003811115610c6457610c646114ca565b6003811115610c7557610c756114ca565b815281546901000000000000000000900463ffffffff1660208201526001820154604082015260029091015464ffffffffff1660609091015292915050565b6040805160a0810182525f808252602082018190529181018290526060810182905260808101919091526040518060a00160405280866001600160401b03168152602001856003811115610d0a57610d0a6114ca565b81526020018463ffffffff16815260200173__$9a094f9b231ed0f5f85a69be8408d93180$__63cdc23e69856040518263ffffffff1660e01b8152600401610d529190611674565b602060405180830381865af4158015610d6d573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610d9191906116b8565b815260200173__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af4158015610ddd573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610e0191906116ea565b64ffffffffff16905295945050505050565b6001600160a01b0381165f90815260066020526040808220600101549051638d38cd4b60e01b815261010090910464ffffffffff16600482015273__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__90638d38cd4b906024015b602060405180830381865af4158015610b03573d5f803e3d5ffd5b5f80546040516368fc2b7760e11b81526001600160401b03841660048201526001600160a01b0385811660248301528392169063d1f856ee906044016040805180830381865afa158015610ede573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610f029190611765565b50949350505050565b5f60088281548110610f1f57610f1f611751565b5f918252602090912001546001600160a01b031692915050565b33610f585f80516020611790833981519152546001600160a01b031690565b6001600160a01b0316816001600160a01b031614610f985760405162d1953b60e31b81526001600160a01b03821660048201526024015b60405180910390fd5b816001600160a01b03163b5f03610fcd576040516361798f2f60e11b81526001600160a01b0383166004820152602401610f8f565b610fd682611273565b5050565b5f805f9054906101000a90046001600160a01b03166001600160a01b0316633ca7c02a6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561102a573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061104e919061170e565b905090565b5f8051602061179083398151915280545f9190600160a01b900460ff1661107a575f611083565b638fb3603760e01b5b91505090565b5f805f9054906101000a90046001600160a01b03166001600160a01b03166375b238fc6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561102a573d5f803e3d5ffd5b5f8054604051636ea1af2560e11b81526001600160e01b0319841660048201526001600160a01b039091169063b7009613908690869073__$0904195350e4c23ecb1d51df0a32586dcd$__9063dd435e4a90602401602060405180830381865af4158015611149573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061116d91906116cf565b60405160e085901b6001600160e01b031990811682526001600160a01b0394851660048301529290931660248401521660448201526064016040805180830381865afa158015610ede573d5f803e3d5ffd5b6001600160401b0381165f908152600260208190526040808320909101549051638d38cd4b60e01b815264ffffffffff909116600482015273__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__90638d38cd4b90602401610e6d565b6001600160401b038082165f90815260026020526040812054909161124291859116610e88565b9392505050565b6001600160401b0382165f90815260056020526040812061124290836112d3565b5f6105ee825490565b5f8051602061179083398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b5f61124283835f825f0182815481106112ee576112ee611751565b905f5260205f200154905092915050565b6001600160401b0381168114611313575f80fd5b50565b5f60208284031215611326575f80fd5b8135611242816112ff565b80356001600160a01b0381168114611347575f80fd5b919050565b5f6020828403121561135c575f80fd5b61124282611331565b6001600160e01b031981168114611313575f80fd5b634e487b7160e01b5f52604160045260245ffd5b5f82601f83011261139d575f80fd5b81356001600160401b038111156113b6576113b661137a565b604051601f8201601f19908116603f011681016001600160401b03811182821017156113e4576113e461137a565b6040528181528382016020018510156113fb575f80fd5b816020850160208301375f918101602001919091529392505050565b5f8060408385031215611428575f80fd5b823561143381611365565b915060208301356001600160401b0381111561144d575f80fd5b610ab18582860161138e565b815181526020808301516001600160e01b0319169082015260408083015164ffffffffff1690820152606081016105ee565b5f806040838503121561149c575f80fd5b6114a583611331565b946020939093013593505050565b5f602082840312156114c3575f80fd5b5035919050565b634e487b7160e01b5f52602160045260245ffd5b81516001600160401b03168152602082015160a08201906004811061151157634e487b7160e01b5f52602160045260245ffd5b8060208401525063ffffffff60408401511660408301526060830151606083015264ffffffffff608084015116608083015292915050565b63ffffffff81168114611313575f80fd5b5f805f806080858703121561156d575f80fd5b8435611578816112ff565b935060208501356004811061158b575f80fd5b9250604085013561159b81611549565b915060608501356001600160401b038111156115b5575f80fd5b6115c18782880161138e565b91505092959194509250565b5f80604083850312156115de575f80fd5b6115e783611331565b915060208301356115f7816112ff565b809150509250929050565b5f805f60608486031215611614575f80fd5b61161d84611331565b925061162b60208501611331565b9150604084013561163b81611365565b809150509250925092565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081525f6112426020830184611646565b5f8060408385031215611697575f80fd5b82356114a5816112ff565b5f82518060208501845e5f920191825250919050565b5f602082840312156116c8575f80fd5b5051919050565b5f602082840312156116df575f80fd5b815161124281611365565b5f602082840312156116fa575f80fd5b815164ffffffffff81168114611242575f80fd5b5f6020828403121561171e575f80fd5b8151611242816112ff565b80518015158114611347575f80fd5b5f60208284031215611748575f80fd5b61124282611729565b634e487b7160e01b5f52603260045260245ffd5b5f8060408385031215611776575f80fd5b61177f83611729565b915060208301516115f78161154956fef3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00a26469706673582212208af1b769751cfca41e4d62d9f6c4b1d5d7519034150ecb5db287387a539313ac64736f6c634300081a0033",
1089
- "linkReferences": {
1546
+ ]
1547
+ },
1090
1548
  "contracts/type/RoleId.sol": {
1091
1549
  "RoleIdLib": [
1092
1550
  {
1093
1551
  "length": 20,
1094
- "start": 328
1552
+ "start": 1974
1553
+ },
1554
+ {
1555
+ "length": 20,
1556
+ "start": 4276
1095
1557
  },
1096
1558
  {
1097
1559
  "length": 20,
1098
- "start": 781
1560
+ "start": 5839
1099
1561
  },
1100
1562
  {
1101
1563
  "length": 20,
1102
- "start": 1959
1564
+ "start": 6351
1103
1565
  },
1104
1566
  {
1105
1567
  "length": 20,
1106
- "start": 4977
1568
+ "start": 7323
1107
1569
  }
1108
1570
  ]
1109
1571
  },
@@ -1111,109 +1573,129 @@
1111
1573
  "SelectorLib": [
1112
1574
  {
1113
1575
  "length": 20,
1114
- "start": 4445
1115
- },
1576
+ "start": 2012
1577
+ }
1578
+ ],
1579
+ "SelectorSetLib": [
1116
1580
  {
1117
1581
  "length": 20,
1118
- "start": 5015
1582
+ "start": 1734
1119
1583
  },
1120
1584
  {
1121
1585
  "length": 20,
1122
- "start": 6951
1586
+ "start": 2593
1123
1587
  }
1124
- ],
1125
- "SelectorSetLib": [
1588
+ ]
1589
+ },
1590
+ "contracts/type/String.sol": {
1591
+ "StrLib": [
1126
1592
  {
1127
1593
  "length": 20,
1128
- "start": 4755
1594
+ "start": 4104
1129
1595
  },
1130
1596
  {
1131
1597
  "length": 20,
1132
- "start": 5483
1598
+ "start": 7150
1133
1599
  }
1134
1600
  ]
1135
1601
  },
1136
- "contracts/type/String.sol": {
1137
- "StrLib": [
1602
+ "contracts/type/Timestamp.sol": {
1603
+ "TimestampLib": [
1138
1604
  {
1139
1605
  "length": 20,
1140
- "start": 984
1606
+ "start": 3202
1141
1607
  },
1142
1608
  {
1143
1609
  "length": 20,
1144
- "start": 1778
1610
+ "start": 3321
1145
1611
  },
1146
1612
  {
1147
1613
  "length": 20,
1148
- "start": 4306
1614
+ "start": 6410
1149
1615
  },
1150
1616
  {
1151
1617
  "length": 20,
1152
- "start": 5939
1618
+ "start": 6545
1153
1619
  }
1154
1620
  ]
1155
- },
1156
- "contracts/type/Timestamp.sol": {
1157
- "TimestampLib": [
1621
+ }
1622
+ },
1623
+ "deployedLinkReferences": {
1624
+ "contracts/authorization/AccessAdminLib.sol": {
1625
+ "AccessAdminLib": [
1158
1626
  {
1159
1627
  "length": 20,
1160
- "start": 1107
1628
+ "start": 4361
1161
1629
  },
1162
1630
  {
1163
1631
  "length": 20,
1164
- "start": 1232
1632
+ "start": 5160
1165
1633
  },
1166
1634
  {
1167
1635
  "length": 20,
1168
- "start": 4554
1636
+ "start": 5692
1169
1637
  },
1170
1638
  {
1171
1639
  "length": 20,
1172
- "start": 6062
1173
- },
1640
+ "start": 6097
1641
+ }
1642
+ ]
1643
+ },
1644
+ "contracts/shared/ContractLib.sol": {
1645
+ "ContractLib": [
1174
1646
  {
1175
1647
  "length": 20,
1176
- "start": 6245
1177
- },
1648
+ "start": 5379
1649
+ }
1650
+ ]
1651
+ },
1652
+ "contracts/type/NftId.sol": {
1653
+ "NftIdLib": [
1178
1654
  {
1179
1655
  "length": 20,
1180
- "start": 7183
1656
+ "start": 5536
1181
1657
  }
1182
1658
  ]
1183
- }
1184
- },
1185
- "deployedLinkReferences": {
1659
+ },
1186
1660
  "contracts/type/RoleId.sol": {
1187
1661
  "RoleIdLib": [
1188
1662
  {
1189
1663
  "length": 20,
1190
- "start": 2395
1191
- }
1192
- ]
1193
- },
1194
- "contracts/type/Selector.sol": {
1195
- "SelectorLib": [
1664
+ "start": 1946
1665
+ },
1666
+ {
1667
+ "length": 20,
1668
+ "start": 4248
1669
+ },
1196
1670
  {
1197
1671
  "length": 20,
1198
- "start": 1863
1672
+ "start": 5811
1199
1673
  },
1200
1674
  {
1201
1675
  "length": 20,
1202
- "start": 2433
1676
+ "start": 6323
1203
1677
  },
1204
1678
  {
1205
1679
  "length": 20,
1206
- "start": 4369
1680
+ "start": 7295
1681
+ }
1682
+ ]
1683
+ },
1684
+ "contracts/type/Selector.sol": {
1685
+ "SelectorLib": [
1686
+ {
1687
+ "length": 20,
1688
+ "start": 1984
1207
1689
  }
1208
1690
  ],
1209
1691
  "SelectorSetLib": [
1210
1692
  {
1211
1693
  "length": 20,
1212
- "start": 2173
1694
+ "start": 1706
1213
1695
  },
1214
1696
  {
1215
1697
  "length": 20,
1216
- "start": 2901
1698
+ "start": 2565
1217
1699
  }
1218
1700
  ]
1219
1701
  },
@@ -1221,11 +1703,11 @@
1221
1703
  "StrLib": [
1222
1704
  {
1223
1705
  "length": 20,
1224
- "start": 1724
1706
+ "start": 4076
1225
1707
  },
1226
1708
  {
1227
1709
  "length": 20,
1228
- "start": 3357
1710
+ "start": 7122
1229
1711
  }
1230
1712
  ]
1231
1713
  },
@@ -1233,19 +1715,19 @@
1233
1715
  "TimestampLib": [
1234
1716
  {
1235
1717
  "length": 20,
1236
- "start": 1972
1718
+ "start": 3174
1237
1719
  },
1238
1720
  {
1239
1721
  "length": 20,
1240
- "start": 3480
1722
+ "start": 3293
1241
1723
  },
1242
1724
  {
1243
1725
  "length": 20,
1244
- "start": 3663
1726
+ "start": 6382
1245
1727
  },
1246
1728
  {
1247
1729
  "length": 20,
1248
- "start": 4601
1730
+ "start": 6517
1249
1731
  }
1250
1732
  ]
1251
1733
  }