@etherisc/gif-next 0.0.2-e200f36-952 → 0.0.2-e25d641-064

Sign up to get free protection for your applications and to get access to all the features.
Files changed (526) hide show
  1. package/README.md +85 -8
  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 +790 -0
  6. package/artifacts/contracts/accounting/IAccountingService.sol/IAccountingService.dbg.json +4 -0
  7. package/artifacts/contracts/{shared/ComponentVerifyingService.sol/ComponentVerifyingService.json → accounting/IAccountingService.sol/IAccountingService.json} +408 -104
  8. package/artifacts/contracts/authorization/AccessAdmin.sol/AccessAdmin.dbg.json +1 -1
  9. package/artifacts/contracts/authorization/AccessAdmin.sol/AccessAdmin.json +673 -262
  10. package/artifacts/contracts/authorization/AccessAdminLib.sol/AccessAdminLib.dbg.json +4 -0
  11. package/artifacts/contracts/authorization/AccessAdminLib.sol/AccessAdminLib.json +1289 -0
  12. package/artifacts/contracts/authorization/AccessManagerCloneable.sol/AccessManagerCloneable.dbg.json +1 -1
  13. package/artifacts/contracts/authorization/AccessManagerCloneable.sol/AccessManagerCloneable.json +202 -5
  14. package/artifacts/contracts/authorization/Authorization.sol/Authorization.dbg.json +1 -1
  15. package/artifacts/contracts/authorization/Authorization.sol/Authorization.json +456 -24
  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 +549 -209
  19. package/artifacts/contracts/authorization/IAuthorization.sol/IAuthorization.dbg.json +1 -1
  20. package/artifacts/contracts/authorization/IAuthorization.sol/IAuthorization.json +215 -18
  21. package/artifacts/contracts/authorization/IServiceAuthorization.sol/IServiceAuthorization.dbg.json +1 -1
  22. package/artifacts/contracts/authorization/IServiceAuthorization.sol/IServiceAuthorization.json +265 -16
  23. package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.dbg.json +1 -1
  24. package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.json +473 -17
  25. package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.dbg.json +1 -1
  26. package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.json +196 -441
  27. package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.dbg.json +1 -1
  28. package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.json +431 -36
  29. package/artifacts/contracts/distribution/Distribution.sol/Distribution.dbg.json +1 -1
  30. package/artifacts/contracts/distribution/Distribution.sol/Distribution.json +115 -325
  31. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.dbg.json +1 -1
  32. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.json +615 -318
  33. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +1 -1
  34. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.json +218 -126
  35. package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.dbg.json +1 -1
  36. package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.json +102 -160
  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 +1472 -0
  43. package/artifacts/contracts/examples/fire/FirePoolAuthorization.sol/FirePoolAuthorization.dbg.json +4 -0
  44. package/artifacts/contracts/examples/fire/FirePoolAuthorization.sol/FirePoolAuthorization.json +805 -0
  45. package/artifacts/contracts/examples/fire/FireProduct.sol/FireProduct.dbg.json +4 -0
  46. package/artifacts/contracts/examples/fire/FireProduct.sol/FireProduct.json +2045 -0
  47. package/artifacts/contracts/examples/fire/FireProductAuthorization.sol/FireProductAuthorization.dbg.json +4 -0
  48. package/artifacts/contracts/examples/fire/FireProductAuthorization.sol/FireProductAuthorization.json +805 -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 +4 -0
  52. package/artifacts/contracts/examples/unpermissioned/SimpleDistribution.sol/SimpleDistribution.json +1423 -0
  53. package/artifacts/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol/SimpleDistributionAuthorization.dbg.json +4 -0
  54. package/artifacts/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol/SimpleDistributionAuthorization.json +805 -0
  55. package/artifacts/contracts/examples/unpermissioned/SimpleOracle.sol/SimpleOracle.dbg.json +4 -0
  56. package/artifacts/contracts/examples/unpermissioned/SimpleOracle.sol/SimpleOracle.json +1171 -0
  57. package/artifacts/contracts/examples/unpermissioned/SimplePool.sol/SimplePool.dbg.json +4 -0
  58. package/artifacts/contracts/examples/unpermissioned/SimplePool.sol/SimplePool.json +1639 -0
  59. package/artifacts/contracts/examples/unpermissioned/SimplePoolAuthorization.sol/SimplePoolAuthorization.dbg.json +4 -0
  60. package/artifacts/contracts/examples/unpermissioned/SimplePoolAuthorization.sol/SimplePoolAuthorization.json +805 -0
  61. package/artifacts/contracts/examples/unpermissioned/SimpleProduct.sol/SimpleProduct.dbg.json +4 -0
  62. package/artifacts/contracts/examples/unpermissioned/SimpleProduct.sol/SimpleProduct.json +2551 -0
  63. package/artifacts/contracts/examples/unpermissioned/SimpleProductAuthorization.sol/SimpleProductAuthorization.dbg.json +4 -0
  64. package/artifacts/contracts/examples/unpermissioned/SimpleProductAuthorization.sol/SimpleProductAuthorization.json +805 -0
  65. package/artifacts/contracts/instance/BundleSet.sol/BundleSet.dbg.json +1 -1
  66. package/artifacts/contracts/instance/BundleSet.sol/BundleSet.json +193 -45
  67. package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
  68. package/artifacts/contracts/instance/IInstance.sol/IInstance.json +560 -66
  69. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +1 -1
  70. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +377 -58
  71. package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
  72. package/artifacts/contracts/instance/Instance.sol/Instance.json +568 -166
  73. package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.dbg.json +1 -1
  74. package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.json +1034 -311
  75. package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.dbg.json +1 -1
  76. package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.json +369 -68
  77. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +1 -1
  78. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +1652 -837
  79. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +1 -1
  80. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +390 -228
  81. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +1 -1
  82. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +142 -104
  83. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.dbg.json +1 -1
  84. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.json +878 -806
  85. package/artifacts/contracts/instance/RiskSet.sol/RiskSet.dbg.json +4 -0
  86. package/artifacts/contracts/instance/RiskSet.sol/RiskSet.json +866 -0
  87. package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.dbg.json +1 -1
  88. package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.json +2 -2
  89. package/artifacts/contracts/instance/base/Cloneable.sol/Cloneable.dbg.json +1 -1
  90. package/artifacts/contracts/instance/base/ObjectCounter.sol/ObjectCounter.dbg.json +1 -1
  91. package/artifacts/contracts/instance/base/ObjectCounter.sol/ObjectCounter.json +2 -2
  92. package/artifacts/contracts/instance/base/ObjectLifecycle.sol/ObjectLifecycle.dbg.json +1 -1
  93. package/artifacts/contracts/instance/base/ObjectLifecycle.sol/ObjectLifecycle.json +46 -5
  94. package/artifacts/contracts/instance/base/ObjectSet.sol/ObjectSet.dbg.json +1 -1
  95. package/artifacts/contracts/instance/base/ObjectSet.sol/ObjectSet.json +16 -5
  96. package/artifacts/contracts/instance/base/ObjectSetHelperLib.sol/ObjectSetHelperLib.dbg.json +4 -0
  97. package/artifacts/contracts/instance/base/ObjectSetHelperLib.sol/ObjectSetHelperLib.json +168 -0
  98. package/artifacts/contracts/instance/module/IBundle.sol/IBundle.dbg.json +1 -1
  99. package/artifacts/contracts/instance/module/IComponents.sol/IComponents.dbg.json +1 -1
  100. package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.dbg.json +1 -1
  101. package/artifacts/contracts/instance/module/IPolicy.sol/IPolicy.dbg.json +1 -1
  102. package/artifacts/contracts/instance/module/IRisk.sol/IRisk.dbg.json +1 -1
  103. package/artifacts/contracts/mock/Dip.sol/Dip.dbg.json +1 -1
  104. package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.dbg.json +1 -1
  105. package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.json +148 -317
  106. package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.dbg.json +1 -1
  107. package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.json +429 -37
  108. package/artifacts/contracts/oracle/IOracle.sol/IOracle.dbg.json +1 -1
  109. package/artifacts/contracts/oracle/IOracleComponent.sol/IOracleComponent.dbg.json +1 -1
  110. package/artifacts/contracts/oracle/IOracleComponent.sol/IOracleComponent.json +116 -109
  111. package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.dbg.json +1 -1
  112. package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.json +98 -11
  113. package/artifacts/contracts/oracle/Oracle.sol/Oracle.dbg.json +1 -1
  114. package/artifacts/contracts/oracle/Oracle.sol/Oracle.json +124 -269
  115. package/artifacts/contracts/oracle/OracleService.sol/OracleService.dbg.json +1 -1
  116. package/artifacts/contracts/oracle/OracleService.sol/OracleService.json +198 -190
  117. package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.dbg.json +1 -1
  118. package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.json +176 -96
  119. package/artifacts/contracts/pool/BasicPool.sol/BasicPool.dbg.json +1 -1
  120. package/artifacts/contracts/pool/BasicPool.sol/BasicPool.json +171 -324
  121. package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.dbg.json +1 -1
  122. package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.json +430 -35
  123. package/artifacts/contracts/pool/BundleService.sol/BundleService.dbg.json +1 -1
  124. package/artifacts/contracts/pool/BundleService.sol/BundleService.json +352 -388
  125. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.dbg.json +1 -1
  126. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.json +171 -127
  127. package/artifacts/contracts/pool/IBundleService.sol/IBundleService.dbg.json +1 -1
  128. package/artifacts/contracts/pool/IBundleService.sol/IBundleService.json +247 -121
  129. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.dbg.json +1 -1
  130. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.json +152 -156
  131. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.dbg.json +1 -1
  132. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.json +474 -233
  133. package/artifacts/contracts/pool/Pool.sol/Pool.dbg.json +1 -1
  134. package/artifacts/contracts/pool/Pool.sol/Pool.json +150 -306
  135. package/artifacts/contracts/pool/PoolLib.sol/PoolLib.dbg.json +4 -0
  136. package/artifacts/contracts/pool/PoolLib.sol/PoolLib.json +522 -0
  137. package/artifacts/contracts/pool/PoolService.sol/PoolService.dbg.json +1 -1
  138. package/artifacts/contracts/pool/PoolService.sol/PoolService.json +726 -484
  139. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.dbg.json +1 -1
  140. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.json +226 -106
  141. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.dbg.json +1 -1
  142. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.json +357 -173
  143. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +1 -1
  144. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.json +164 -96
  145. package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.dbg.json +1 -1
  146. package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.json +283 -367
  147. package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.dbg.json +1 -1
  148. package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.json +430 -35
  149. package/artifacts/contracts/product/ClaimService.sol/ClaimService.dbg.json +1 -1
  150. package/artifacts/contracts/product/ClaimService.sol/ClaimService.json +464 -243
  151. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +1 -1
  152. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.json +194 -122
  153. package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.dbg.json +1 -1
  154. package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.json +296 -9
  155. package/artifacts/contracts/product/IClaimService.sol/IClaimService.dbg.json +1 -1
  156. package/artifacts/contracts/product/IClaimService.sol/IClaimService.json +333 -17
  157. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.dbg.json +1 -1
  158. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.json +300 -59
  159. package/artifacts/contracts/product/IPricingService.sol/IPricingService.dbg.json +1 -1
  160. package/artifacts/contracts/product/IPricingService.sol/IPricingService.json +140 -37
  161. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.dbg.json +1 -1
  162. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.json +270 -202
  163. package/artifacts/contracts/product/IRiskService.sol/IRiskService.dbg.json +1 -1
  164. package/artifacts/contracts/product/IRiskService.sol/IRiskService.json +286 -21
  165. package/artifacts/contracts/product/PolicyService.sol/PolicyService.dbg.json +1 -1
  166. package/artifacts/contracts/product/PolicyService.sol/PolicyService.json +443 -265
  167. package/artifacts/contracts/product/PolicyServiceLib.sol/PolicyServiceLib.dbg.json +4 -0
  168. package/artifacts/contracts/product/PolicyServiceLib.sol/PolicyServiceLib.json +783 -0
  169. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +1 -1
  170. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.json +199 -111
  171. package/artifacts/contracts/product/PricingService.sol/PricingService.dbg.json +1 -1
  172. package/artifacts/contracts/product/PricingService.sol/PricingService.json +198 -238
  173. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.dbg.json +1 -1
  174. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.json +156 -108
  175. package/artifacts/contracts/product/Product.sol/Product.dbg.json +1 -1
  176. package/artifacts/contracts/product/Product.sol/Product.json +275 -359
  177. package/artifacts/contracts/product/RiskService.sol/RiskService.dbg.json +1 -1
  178. package/artifacts/contracts/product/RiskService.sol/RiskService.json +364 -186
  179. package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.dbg.json +1 -1
  180. package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.json +165 -93
  181. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
  182. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +59 -16
  183. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
  184. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +355 -44
  185. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +1 -1
  186. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +169 -37
  187. package/artifacts/contracts/registry/IRelease.sol/IRelease.dbg.json +4 -0
  188. package/artifacts/contracts/registry/IRelease.sol/IRelease.json +24 -0
  189. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +1 -1
  190. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.json +5 -18
  191. package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
  192. package/artifacts/contracts/registry/Registry.sol/Registry.json +561 -105
  193. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.dbg.json +1 -1
  194. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.json +795 -394
  195. package/artifacts/contracts/registry/RegistryAuthorization.sol/RegistryAuthorization.dbg.json +4 -0
  196. package/artifacts/contracts/registry/RegistryAuthorization.sol/RegistryAuthorization.json +1053 -0
  197. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +1 -1
  198. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +136 -290
  199. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +1 -1
  200. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +140 -88
  201. package/artifacts/contracts/registry/ReleaseAdmin.sol/ReleaseAdmin.dbg.json +4 -0
  202. package/artifacts/contracts/registry/ReleaseAdmin.sol/ReleaseAdmin.json +2152 -0
  203. package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.dbg.json +1 -1
  204. package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.json +47 -6
  205. package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.dbg.json +1 -1
  206. package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.json +483 -253
  207. package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.dbg.json +1 -1
  208. package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.json +489 -20
  209. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +1 -1
  210. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +15 -15
  211. package/artifacts/contracts/shared/Component.sol/Component.dbg.json +1 -1
  212. package/artifacts/contracts/shared/Component.sol/Component.json +100 -227
  213. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.dbg.json +1 -1
  214. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.json +474 -619
  215. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.dbg.json +1 -1
  216. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.json +179 -129
  217. package/artifacts/contracts/shared/ContractLib.sol/ContractLib.dbg.json +4 -0
  218. package/artifacts/contracts/shared/ContractLib.sol/ContractLib.json +632 -0
  219. package/artifacts/contracts/shared/ContractLib.sol/IInstanceAdminHelper.dbg.json +4 -0
  220. package/artifacts/contracts/shared/ContractLib.sol/IInstanceAdminHelper.json +24 -0
  221. package/artifacts/contracts/shared/ContractLib.sol/ITargetHelper.dbg.json +4 -0
  222. package/artifacts/contracts/shared/ContractLib.sol/ITargetHelper.json +30 -0
  223. package/artifacts/contracts/shared/ContractLib.sol/ITokenRegistryHelper.dbg.json +4 -0
  224. package/artifacts/contracts/shared/ContractLib.sol/ITokenRegistryHelper.json +40 -0
  225. package/artifacts/contracts/shared/IComponent.sol/IComponent.dbg.json +1 -1
  226. package/artifacts/contracts/shared/IComponent.sol/IComponent.json +93 -68
  227. package/artifacts/contracts/shared/IComponentService.sol/IComponentService.dbg.json +1 -1
  228. package/artifacts/contracts/shared/IComponentService.sol/IComponentService.json +432 -290
  229. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.dbg.json +1 -1
  230. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.json +116 -109
  231. package/artifacts/contracts/shared/IKeyValueStore.sol/IKeyValueStore.dbg.json +1 -1
  232. package/artifacts/contracts/shared/IKeyValueStore.sol/IKeyValueStore.json +36 -0
  233. package/artifacts/contracts/shared/ILifecycle.sol/ILifecycle.dbg.json +1 -1
  234. package/artifacts/contracts/shared/ILifecycle.sol/ILifecycle.json +36 -0
  235. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +1 -1
  236. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.json +35 -0
  237. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.dbg.json +1 -1
  238. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.json +15 -47
  239. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
  240. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +167 -0
  241. package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.dbg.json +1 -1
  242. package/artifacts/contracts/shared/IService.sol/IService.dbg.json +1 -1
  243. package/artifacts/contracts/shared/IService.sol/IService.json +84 -2
  244. package/artifacts/contracts/shared/InitializableERC165.sol/InitializableERC165.dbg.json +1 -1
  245. package/artifacts/contracts/shared/InitializableERC165.sol/InitializableERC165.json +2 -22
  246. package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.dbg.json +1 -1
  247. package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.json +123 -268
  248. package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.dbg.json +1 -1
  249. package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.json +42 -1
  250. package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.dbg.json +1 -1
  251. package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.json +42 -1
  252. package/artifacts/contracts/shared/NftIdSet.sol/NftIdSet.dbg.json +1 -1
  253. package/artifacts/contracts/shared/NftIdSet.sol/NftIdSet.json +2 -2
  254. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +1 -1
  255. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +41 -57
  256. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.dbg.json +1 -1
  257. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.json +19 -141
  258. package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
  259. package/artifacts/contracts/shared/Registerable.sol/Registerable.json +141 -97
  260. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.dbg.json +1 -1
  261. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.json +2 -15
  262. package/artifacts/contracts/shared/Service.sol/Service.dbg.json +1 -1
  263. package/artifacts/contracts/shared/Service.sol/Service.json +86 -111
  264. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +1 -1
  265. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +327 -73
  266. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandlerBase.dbg.json +4 -0
  267. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandlerBase.json +484 -0
  268. package/artifacts/contracts/shared/TokenHandlerDeployerLib.sol/TokenHandlerDeployerLib.dbg.json +1 -1
  269. package/artifacts/contracts/shared/TokenHandlerDeployerLib.sol/TokenHandlerDeployerLib.json +88 -24
  270. package/artifacts/contracts/staking/IStaking.sol/IStaking.dbg.json +1 -1
  271. package/artifacts/contracts/staking/IStaking.sol/IStaking.json +331 -107
  272. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.dbg.json +1 -1
  273. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.json +184 -23
  274. package/artifacts/contracts/staking/Staking.sol/Staking.dbg.json +1 -1
  275. package/artifacts/contracts/staking/Staking.sol/Staking.json +433 -330
  276. package/artifacts/contracts/staking/StakingLib.sol/StakingLib.dbg.json +4 -0
  277. package/artifacts/contracts/staking/StakingLib.sol/StakingLib.json +469 -0
  278. package/artifacts/contracts/staking/StakingLifecycle.sol/StakingLifecycle.dbg.json +1 -1
  279. package/artifacts/contracts/staking/StakingLifecycle.sol/StakingLifecycle.json +46 -5
  280. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.dbg.json +1 -1
  281. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.json +179 -98
  282. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.dbg.json +1 -1
  283. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.json +91 -67
  284. package/artifacts/contracts/staking/StakingService.sol/StakingService.dbg.json +1 -1
  285. package/artifacts/contracts/staking/StakingService.sol/StakingService.json +253 -171
  286. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.dbg.json +1 -1
  287. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.json +157 -93
  288. package/artifacts/contracts/staking/StakingStore.sol/StakingStore.dbg.json +1 -1
  289. package/artifacts/contracts/staking/StakingStore.sol/StakingStore.json +205 -150
  290. package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.dbg.json +1 -1
  291. package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.json +61 -51
  292. package/artifacts/contracts/type/AddressSet.sol/LibAddressSet.dbg.json +1 -1
  293. package/artifacts/contracts/type/Amount.sol/AmountLib.dbg.json +1 -1
  294. package/artifacts/contracts/type/Amount.sol/AmountLib.json +35 -11
  295. package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.dbg.json +1 -1
  296. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.dbg.json +1 -1
  297. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.json +28 -4
  298. package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.dbg.json +1 -1
  299. package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.json +2 -2
  300. package/artifacts/contracts/type/Fee.sol/FeeLib.dbg.json +1 -1
  301. package/artifacts/contracts/type/Fee.sol/FeeLib.json +94 -38
  302. package/artifacts/contracts/type/Key32.sol/Key32Lib.dbg.json +1 -1
  303. package/artifacts/contracts/type/Key32.sol/Key32Lib.json +2 -2
  304. package/artifacts/contracts/type/Key32Set.sol/LibKey32Set.dbg.json +4 -0
  305. package/artifacts/contracts/type/Key32Set.sol/LibKey32Set.json +33 -0
  306. package/artifacts/contracts/type/NftId.sol/NftIdLib.dbg.json +1 -1
  307. package/artifacts/contracts/type/NftId.sol/NftIdLib.json +23 -4
  308. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.dbg.json +1 -1
  309. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.json +2 -2
  310. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.dbg.json +1 -1
  311. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.json +33 -31
  312. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.dbg.json +1 -1
  313. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.json +19 -19
  314. package/artifacts/contracts/type/Referral.sol/ReferralLib.dbg.json +1 -1
  315. package/artifacts/contracts/type/Referral.sol/ReferralLib.json +2 -2
  316. package/artifacts/contracts/type/RequestId.sol/RequestIdLib.dbg.json +1 -1
  317. package/artifacts/contracts/type/RequestId.sol/RequestIdLib.json +2 -2
  318. package/artifacts/contracts/type/RiskId.sol/RiskIdLib.dbg.json +1 -1
  319. package/artifacts/contracts/type/RiskId.sol/RiskIdLib.json +125 -7
  320. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.dbg.json +1 -1
  321. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.json +42 -157
  322. package/artifacts/contracts/type/Seconds.sol/SecondsLib.dbg.json +1 -1
  323. package/artifacts/contracts/type/Seconds.sol/SecondsLib.json +21 -2
  324. package/artifacts/contracts/type/Selector.sol/SelectorLib.dbg.json +1 -1
  325. package/artifacts/contracts/type/Selector.sol/SelectorLib.json +21 -2
  326. package/artifacts/contracts/type/Selector.sol/SelectorSetLib.dbg.json +1 -1
  327. package/artifacts/contracts/type/Selector.sol/SelectorSetLib.json +2 -2
  328. package/artifacts/contracts/type/StateId.sol/StateIdLib.dbg.json +1 -1
  329. package/artifacts/contracts/type/StateId.sol/StateIdLib.json +15 -2
  330. package/artifacts/contracts/type/String.sol/StrLib.dbg.json +1 -1
  331. package/artifacts/contracts/type/String.sol/StrLib.json +50 -2
  332. package/artifacts/contracts/type/Timestamp.sol/TimestampLib.dbg.json +1 -1
  333. package/artifacts/contracts/type/Timestamp.sol/TimestampLib.json +2 -2
  334. package/artifacts/contracts/type/UFixed.sol/UFixedLib.dbg.json +1 -1
  335. package/artifacts/contracts/type/UFixed.sol/UFixedLib.json +73 -36
  336. package/artifacts/contracts/type/Version.sol/VersionLib.dbg.json +1 -1
  337. package/artifacts/contracts/type/Version.sol/VersionLib.json +2 -21
  338. package/artifacts/contracts/type/Version.sol/VersionPartLib.dbg.json +1 -1
  339. package/artifacts/contracts/type/Version.sol/VersionPartLib.json +101 -2
  340. package/artifacts/contracts/upgradeability/IVersionable.sol/IVersionable.dbg.json +1 -1
  341. package/artifacts/contracts/upgradeability/IVersionable.sol/IVersionable.json +10 -0
  342. package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.dbg.json +1 -1
  343. package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.json +117 -78
  344. package/artifacts/contracts/upgradeability/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +1 -1
  345. package/artifacts/contracts/upgradeability/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +15 -2
  346. package/artifacts/contracts/upgradeability/Versionable.sol/Versionable.dbg.json +1 -1
  347. package/artifacts/contracts/upgradeability/Versionable.sol/Versionable.json +10 -0
  348. package/contracts/accounting/AccountingService.sol +274 -0
  349. package/contracts/accounting/AccountingServiceManager.sol +38 -0
  350. package/contracts/accounting/IAccountingService.sol +47 -0
  351. package/contracts/authorization/AccessAdmin.sol +456 -267
  352. package/contracts/authorization/AccessAdminLib.sol +396 -0
  353. package/contracts/authorization/AccessManagerCloneable.sol +146 -4
  354. package/contracts/authorization/Authorization.sol +159 -207
  355. package/contracts/authorization/IAccess.sol +25 -6
  356. package/contracts/authorization/IAccessAdmin.sol +87 -79
  357. package/contracts/authorization/IAuthorization.sol +9 -36
  358. package/contracts/authorization/IServiceAuthorization.sol +57 -17
  359. package/contracts/authorization/ServiceAuthorization.sol +254 -24
  360. package/contracts/distribution/BasicDistribution.sol +20 -17
  361. package/contracts/distribution/BasicDistributionAuthorization.sol +30 -10
  362. package/contracts/distribution/Distribution.sol +42 -90
  363. package/contracts/distribution/DistributionService.sol +225 -113
  364. package/contracts/distribution/DistributionServiceManager.sol +6 -6
  365. package/contracts/distribution/IDistributionComponent.sol +4 -11
  366. package/contracts/distribution/IDistributionService.sol +38 -24
  367. package/contracts/examples/fire/DamageLevel.sol +59 -0
  368. package/contracts/examples/fire/FirePool.sol +86 -0
  369. package/contracts/examples/fire/FirePoolAuthorization.sol +35 -0
  370. package/contracts/examples/fire/FireProduct.sol +433 -0
  371. package/contracts/examples/fire/FireProductAuthorization.sol +45 -0
  372. package/contracts/examples/fire/FireUSD.sol +26 -0
  373. package/contracts/examples/unpermissioned/SimpleDistribution.sol +81 -0
  374. package/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol +28 -0
  375. package/contracts/examples/unpermissioned/SimpleOracle.sol +133 -0
  376. package/contracts/examples/unpermissioned/SimplePool.sol +102 -0
  377. package/contracts/examples/unpermissioned/SimplePoolAuthorization.sol +28 -0
  378. package/contracts/examples/unpermissioned/SimpleProduct.sol +422 -0
  379. package/contracts/examples/unpermissioned/SimpleProductAuthorization.sol +28 -0
  380. package/contracts/instance/BundleSet.sol +42 -38
  381. package/contracts/instance/IInstance.sol +99 -17
  382. package/contracts/instance/IInstanceService.sol +56 -32
  383. package/contracts/instance/Instance.sol +185 -68
  384. package/contracts/instance/InstanceAdmin.sol +276 -178
  385. package/contracts/instance/InstanceAuthorizationV3.sol +119 -56
  386. package/contracts/instance/InstanceReader.sol +474 -264
  387. package/contracts/instance/InstanceService.sol +271 -239
  388. package/contracts/instance/InstanceServiceManager.sol +6 -7
  389. package/contracts/instance/InstanceStore.sol +13 -6
  390. package/contracts/instance/RiskSet.sol +126 -0
  391. package/contracts/instance/base/BalanceStore.sol +3 -5
  392. package/contracts/instance/base/ObjectCounter.sol +1 -2
  393. package/contracts/instance/base/ObjectLifecycle.sol +7 -9
  394. package/contracts/instance/base/ObjectSet.sol +31 -33
  395. package/contracts/instance/base/ObjectSetHelperLib.sol +30 -0
  396. package/contracts/instance/module/IBundle.sol +6 -5
  397. package/contracts/instance/module/IComponents.sol +29 -13
  398. package/contracts/instance/module/IDistribution.sol +21 -8
  399. package/contracts/instance/module/IPolicy.sol +33 -12
  400. package/contracts/instance/module/IRisk.sol +5 -0
  401. package/contracts/oracle/BasicOracle.sol +1 -4
  402. package/contracts/oracle/BasicOracleAuthorization.sol +15 -8
  403. package/contracts/oracle/IOracle.sol +9 -4
  404. package/contracts/oracle/IOracleService.sol +2 -1
  405. package/contracts/oracle/Oracle.sol +6 -19
  406. package/contracts/oracle/OracleService.sol +117 -86
  407. package/contracts/oracle/OracleServiceManager.sol +6 -6
  408. package/contracts/pool/BasicPool.sol +33 -37
  409. package/contracts/pool/BasicPoolAuthorization.sol +34 -11
  410. package/contracts/pool/BundleService.sol +113 -165
  411. package/contracts/pool/BundleServiceManager.sol +6 -6
  412. package/contracts/pool/IBundleService.sol +28 -46
  413. package/contracts/pool/IPoolComponent.sol +19 -15
  414. package/contracts/pool/IPoolService.sol +77 -67
  415. package/contracts/pool/Pool.sol +139 -132
  416. package/contracts/pool/PoolLib.sol +341 -0
  417. package/contracts/pool/PoolService.sol +357 -252
  418. package/contracts/pool/PoolServiceManager.sol +4 -4
  419. package/contracts/product/ApplicationService.sol +109 -31
  420. package/contracts/product/ApplicationServiceManager.sol +4 -4
  421. package/contracts/product/BasicProduct.sol +9 -13
  422. package/contracts/product/BasicProductAuthorization.sol +32 -12
  423. package/contracts/product/ClaimService.sol +382 -157
  424. package/contracts/product/ClaimServiceManager.sol +4 -4
  425. package/contracts/product/IApplicationService.sol +28 -3
  426. package/contracts/product/IClaimService.sol +43 -8
  427. package/contracts/product/IPolicyService.sol +43 -14
  428. package/contracts/product/IPricingService.sol +10 -9
  429. package/contracts/product/IProductComponent.sol +27 -4
  430. package/contracts/product/IRiskService.sol +25 -10
  431. package/contracts/product/PolicyService.sol +354 -283
  432. package/contracts/product/PolicyServiceLib.sol +139 -0
  433. package/contracts/product/PolicyServiceManager.sol +4 -4
  434. package/contracts/product/PricingService.sol +59 -54
  435. package/contracts/product/PricingServiceManager.sol +4 -4
  436. package/contracts/product/Product.sol +168 -82
  437. package/contracts/product/RiskService.sol +130 -37
  438. package/contracts/product/RiskServiceManager.sol +4 -4
  439. package/contracts/registry/ChainNft.sol +72 -40
  440. package/contracts/registry/IRegistry.sol +69 -28
  441. package/contracts/registry/IRegistryService.sol +5 -12
  442. package/contracts/registry/IRelease.sol +29 -0
  443. package/contracts/registry/ITransferInterceptor.sol +1 -2
  444. package/contracts/registry/Registry.sol +363 -203
  445. package/contracts/registry/RegistryAdmin.sol +110 -296
  446. package/contracts/registry/RegistryAuthorization.sol +284 -0
  447. package/contracts/registry/RegistryService.sol +38 -49
  448. package/contracts/registry/RegistryServiceManager.sol +3 -3
  449. package/contracts/registry/ReleaseAdmin.sol +195 -0
  450. package/contracts/registry/ReleaseLifecycle.sol +8 -3
  451. package/contracts/registry/ReleaseRegistry.sol +275 -240
  452. package/contracts/registry/ServiceAuthorizationV3.sol +201 -55
  453. package/contracts/registry/TokenRegistry.sol +12 -13
  454. package/contracts/shared/Component.sol +65 -123
  455. package/contracts/shared/ComponentService.sol +412 -374
  456. package/contracts/shared/ComponentServiceManager.sol +8 -5
  457. package/contracts/shared/ContractLib.sol +311 -0
  458. package/contracts/shared/IComponent.sol +6 -18
  459. package/contracts/shared/IComponentService.sol +43 -40
  460. package/contracts/shared/IInstanceLinkedComponent.sol +3 -22
  461. package/contracts/shared/ILifecycle.sol +3 -1
  462. package/contracts/shared/INftOwnable.sol +4 -0
  463. package/contracts/shared/IPolicyHolder.sol +12 -22
  464. package/contracts/shared/IRegisterable.sol +22 -1
  465. package/contracts/shared/IService.sol +3 -5
  466. package/contracts/shared/InitializableERC165.sol +10 -2
  467. package/contracts/shared/InstanceLinkedComponent.sol +71 -49
  468. package/contracts/shared/KeyValueStore.sol +1 -1
  469. package/contracts/shared/Lifecycle.sol +15 -4
  470. package/contracts/shared/NftOwnable.sol +30 -8
  471. package/contracts/shared/PolicyHolder.sol +18 -54
  472. package/contracts/shared/Registerable.sol +52 -21
  473. package/contracts/shared/RegistryLinked.sol +9 -14
  474. package/contracts/shared/Service.sol +20 -35
  475. package/contracts/shared/TokenHandler.sol +275 -72
  476. package/contracts/shared/TokenHandlerDeployerLib.sol +10 -2
  477. package/contracts/staking/IStaking.sol +47 -19
  478. package/contracts/staking/IStakingService.sol +21 -11
  479. package/contracts/staking/Staking.sol +196 -88
  480. package/contracts/staking/{StakeManagerLib.sol → StakingLib.sol} +96 -21
  481. package/contracts/staking/StakingManager.sol +8 -6
  482. package/contracts/staking/StakingReader.sol +40 -24
  483. package/contracts/staking/StakingService.sol +88 -27
  484. package/contracts/staking/StakingServiceManager.sol +6 -5
  485. package/contracts/staking/StakingStore.sol +3 -2
  486. package/contracts/staking/TargetManagerLib.sol +1 -1
  487. package/contracts/type/Amount.sol +15 -0
  488. package/contracts/type/ClaimId.sol +6 -1
  489. package/contracts/type/Fee.sol +8 -8
  490. package/contracts/type/Key32.sol +2 -2
  491. package/contracts/type/Key32Set.sol +62 -0
  492. package/contracts/type/NftId.sol +7 -0
  493. package/contracts/type/ObjectType.sol +70 -38
  494. package/contracts/type/PayoutId.sol +10 -10
  495. package/contracts/type/RiskId.sol +38 -6
  496. package/contracts/type/RoleId.sol +61 -55
  497. package/contracts/type/Seconds.sol +4 -0
  498. package/contracts/type/Selector.sol +5 -0
  499. package/contracts/type/StateId.sol +15 -1
  500. package/contracts/type/String.sol +12 -0
  501. package/contracts/type/Timestamp.sol +0 -5
  502. package/contracts/type/UFixed.sol +37 -126
  503. package/contracts/type/Version.sol +54 -5
  504. package/contracts/upgradeability/IVersionable.sol +3 -0
  505. package/contracts/upgradeability/ProxyManager.sol +93 -45
  506. package/contracts/upgradeability/UpgradableProxyWithAdmin.sol +7 -1
  507. package/contracts/upgradeability/Versionable.sol +8 -5
  508. package/package.json +5 -4
  509. package/artifacts/contracts/authorization/IModuleAuthorization.sol/IModuleAuthorization.dbg.json +0 -4
  510. package/artifacts/contracts/authorization/IModuleAuthorization.sol/IModuleAuthorization.json +0 -290
  511. package/artifacts/contracts/authorization/ModuleAuthorization.sol/ModuleAuthorization.dbg.json +0 -4
  512. package/artifacts/contracts/authorization/ModuleAuthorization.sol/ModuleAuthorization.json +0 -390
  513. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.dbg.json +0 -4
  514. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.json +0 -129
  515. package/artifacts/contracts/shared/ComponentVerifyingService.sol/ComponentVerifyingService.dbg.json +0 -4
  516. package/artifacts/contracts/shared/InitializableCustom.sol/InitializableCustom.dbg.json +0 -4
  517. package/artifacts/contracts/shared/InitializableCustom.sol/InitializableCustom.json +0 -39
  518. package/artifacts/contracts/staking/StakeManagerLib.sol/StakeManagerLib.dbg.json +0 -4
  519. package/artifacts/contracts/staking/StakeManagerLib.sol/StakeManagerLib.json +0 -387
  520. package/artifacts/contracts/type/UFixed.sol/MathLib.dbg.json +0 -4
  521. package/artifacts/contracts/type/UFixed.sol/MathLib.json +0 -16
  522. package/contracts/authorization/IModuleAuthorization.sol +0 -21
  523. package/contracts/authorization/ModuleAuthorization.sol +0 -78
  524. package/contracts/instance/module/IAccess.sol +0 -46
  525. package/contracts/shared/ComponentVerifyingService.sol +0 -117
  526. package/contracts/shared/InitializableCustom.sol +0 -177
@@ -0,0 +1,1289 @@
1
+ {
2
+ "_format": "hh-sol-artifact-1",
3
+ "contractName": "AccessAdminLib",
4
+ "sourceName": "contracts/authorization/AccessAdminLib.sol",
5
+ "abi": [
6
+ {
7
+ "inputs": [
8
+ {
9
+ "internalType": "address",
10
+ "name": "authorization",
11
+ "type": "address"
12
+ }
13
+ ],
14
+ "name": "ErrorAccessAdminAlreadyInitialized",
15
+ "type": "error"
16
+ },
17
+ {
18
+ "inputs": [
19
+ {
20
+ "internalType": "address",
21
+ "name": "authorization",
22
+ "type": "address"
23
+ },
24
+ {
25
+ "internalType": "ObjectType",
26
+ "name": "expectedDomain",
27
+ "type": "uint8"
28
+ },
29
+ {
30
+ "internalType": "ObjectType",
31
+ "name": "actualDomain",
32
+ "type": "uint8"
33
+ }
34
+ ],
35
+ "name": "ErrorAccessAdminDomainMismatch",
36
+ "type": "error"
37
+ },
38
+ {
39
+ "inputs": [],
40
+ "name": "ErrorAccessAdminFunctionNameEmpty",
41
+ "type": "error"
42
+ },
43
+ {
44
+ "inputs": [
45
+ {
46
+ "internalType": "address",
47
+ "name": "target",
48
+ "type": "address"
49
+ },
50
+ {
51
+ "internalType": "enum IAccess.TargetType",
52
+ "name": "serviceTargetType",
53
+ "type": "uint8"
54
+ }
55
+ ],
56
+ "name": "ErrorAccessAdminInvalidServiceType",
57
+ "type": "error"
58
+ },
59
+ {
60
+ "inputs": [
61
+ {
62
+ "internalType": "address",
63
+ "name": "target",
64
+ "type": "address"
65
+ },
66
+ {
67
+ "internalType": "enum IAccess.TargetType",
68
+ "name": "targetType",
69
+ "type": "uint8"
70
+ }
71
+ ],
72
+ "name": "ErrorAccessAdminInvalidTargetType",
73
+ "type": "error"
74
+ },
75
+ {
76
+ "inputs": [
77
+ {
78
+ "internalType": "address",
79
+ "name": "authorization",
80
+ "type": "address"
81
+ }
82
+ ],
83
+ "name": "ErrorAccessAdminNotAuthorization",
84
+ "type": "error"
85
+ },
86
+ {
87
+ "inputs": [
88
+ {
89
+ "internalType": "address",
90
+ "name": "registerable",
91
+ "type": "address"
92
+ }
93
+ ],
94
+ "name": "ErrorAccessAdminNotRegistered",
95
+ "type": "error"
96
+ },
97
+ {
98
+ "inputs": [
99
+ {
100
+ "internalType": "address",
101
+ "name": "registry",
102
+ "type": "address"
103
+ }
104
+ ],
105
+ "name": "ErrorAccessAdminNotRegistry",
106
+ "type": "error"
107
+ },
108
+ {
109
+ "inputs": [
110
+ {
111
+ "internalType": "address",
112
+ "name": "serviceAuthorization",
113
+ "type": "address"
114
+ }
115
+ ],
116
+ "name": "ErrorAccessAdminNotServiceAuthorization",
117
+ "type": "error"
118
+ },
119
+ {
120
+ "inputs": [
121
+ {
122
+ "internalType": "address",
123
+ "name": "authorization",
124
+ "type": "address"
125
+ },
126
+ {
127
+ "internalType": "VersionPart",
128
+ "name": "expectedRelease",
129
+ "type": "uint8"
130
+ },
131
+ {
132
+ "internalType": "VersionPart",
133
+ "name": "actualRelease",
134
+ "type": "uint8"
135
+ }
136
+ ],
137
+ "name": "ErrorAccessAdminReleaseMismatch",
138
+ "type": "error"
139
+ },
140
+ {
141
+ "inputs": [
142
+ {
143
+ "internalType": "RoleId",
144
+ "name": "adminRoleId",
145
+ "type": "uint64"
146
+ }
147
+ ],
148
+ "name": "ErrorAccessAdminRoleAdminNotExisting",
149
+ "type": "error"
150
+ },
151
+ {
152
+ "inputs": [
153
+ {
154
+ "internalType": "RoleId",
155
+ "name": "roleId",
156
+ "type": "uint64"
157
+ },
158
+ {
159
+ "internalType": "string",
160
+ "name": "name",
161
+ "type": "string"
162
+ }
163
+ ],
164
+ "name": "ErrorAccessAdminRoleAlreadyCreated",
165
+ "type": "error"
166
+ },
167
+ {
168
+ "inputs": [
169
+ {
170
+ "internalType": "RoleId",
171
+ "name": "roleId",
172
+ "type": "uint64"
173
+ },
174
+ {
175
+ "internalType": "string",
176
+ "name": "name",
177
+ "type": "string"
178
+ },
179
+ {
180
+ "internalType": "RoleId",
181
+ "name": "existingRoleId",
182
+ "type": "uint64"
183
+ }
184
+ ],
185
+ "name": "ErrorAccessAdminRoleNameAlreadyExists",
186
+ "type": "error"
187
+ },
188
+ {
189
+ "inputs": [
190
+ {
191
+ "internalType": "RoleId",
192
+ "name": "roleId",
193
+ "type": "uint64"
194
+ }
195
+ ],
196
+ "name": "ErrorAccessAdminRoleNameEmpty",
197
+ "type": "error"
198
+ },
199
+ {
200
+ "inputs": [],
201
+ "name": "ErrorAccessAdminSelectorZero",
202
+ "type": "error"
203
+ },
204
+ {
205
+ "inputs": [
206
+ {
207
+ "internalType": "address",
208
+ "name": "target",
209
+ "type": "address"
210
+ },
211
+ {
212
+ "internalType": "string",
213
+ "name": "name",
214
+ "type": "string"
215
+ }
216
+ ],
217
+ "name": "ErrorAccessAdminTargetAlreadyCreated",
218
+ "type": "error"
219
+ },
220
+ {
221
+ "inputs": [
222
+ {
223
+ "internalType": "address",
224
+ "name": "expectedAuthority",
225
+ "type": "address"
226
+ },
227
+ {
228
+ "internalType": "address",
229
+ "name": "actualAuthority",
230
+ "type": "address"
231
+ }
232
+ ],
233
+ "name": "ErrorAccessAdminTargetAuthorityMismatch",
234
+ "type": "error"
235
+ },
236
+ {
237
+ "inputs": [
238
+ {
239
+ "internalType": "address",
240
+ "name": "target",
241
+ "type": "address"
242
+ },
243
+ {
244
+ "internalType": "string",
245
+ "name": "name",
246
+ "type": "string"
247
+ },
248
+ {
249
+ "internalType": "address",
250
+ "name": "existingTarget",
251
+ "type": "address"
252
+ }
253
+ ],
254
+ "name": "ErrorAccessAdminTargetNameAlreadyExists",
255
+ "type": "error"
256
+ },
257
+ {
258
+ "inputs": [
259
+ {
260
+ "internalType": "address",
261
+ "name": "target",
262
+ "type": "address"
263
+ }
264
+ ],
265
+ "name": "ErrorAccessAdminTargetNameEmpty",
266
+ "type": "error"
267
+ },
268
+ {
269
+ "inputs": [
270
+ {
271
+ "internalType": "address",
272
+ "name": "target",
273
+ "type": "address"
274
+ }
275
+ ],
276
+ "name": "ErrorAccessAdminTargetNotAccessManaged",
277
+ "type": "error"
278
+ },
279
+ {
280
+ "inputs": [
281
+ {
282
+ "internalType": "address",
283
+ "name": "target",
284
+ "type": "address"
285
+ },
286
+ {
287
+ "internalType": "ObjectType",
288
+ "name": "expectedType",
289
+ "type": "uint8"
290
+ },
291
+ {
292
+ "internalType": "ObjectType",
293
+ "name": "actualType",
294
+ "type": "uint8"
295
+ }
296
+ ],
297
+ "name": "ErrorAccessAdminTargetTypeMismatch",
298
+ "type": "error"
299
+ },
300
+ {
301
+ "inputs": [],
302
+ "name": "COMPONENT_ROLE_FACTOR",
303
+ "outputs": [
304
+ {
305
+ "internalType": "uint64",
306
+ "name": "",
307
+ "type": "uint64"
308
+ }
309
+ ],
310
+ "stateMutability": "view",
311
+ "type": "function"
312
+ },
313
+ {
314
+ "inputs": [],
315
+ "name": "COMPONENT_ROLE_MAX",
316
+ "outputs": [
317
+ {
318
+ "internalType": "uint64",
319
+ "name": "",
320
+ "type": "uint64"
321
+ }
322
+ ],
323
+ "stateMutability": "view",
324
+ "type": "function"
325
+ },
326
+ {
327
+ "inputs": [],
328
+ "name": "COMPONENT_ROLE_MIN",
329
+ "outputs": [
330
+ {
331
+ "internalType": "uint64",
332
+ "name": "",
333
+ "type": "uint64"
334
+ }
335
+ ],
336
+ "stateMutability": "view",
337
+ "type": "function"
338
+ },
339
+ {
340
+ "inputs": [],
341
+ "name": "CORE_ROLE_MIN",
342
+ "outputs": [
343
+ {
344
+ "internalType": "uint64",
345
+ "name": "",
346
+ "type": "uint64"
347
+ }
348
+ ],
349
+ "stateMutability": "view",
350
+ "type": "function"
351
+ },
352
+ {
353
+ "inputs": [],
354
+ "name": "CUSTOM_ROLE_MIN",
355
+ "outputs": [
356
+ {
357
+ "internalType": "uint64",
358
+ "name": "",
359
+ "type": "uint64"
360
+ }
361
+ ],
362
+ "stateMutability": "view",
363
+ "type": "function"
364
+ },
365
+ {
366
+ "inputs": [],
367
+ "name": "INSTANCE_ROLE_MIN",
368
+ "outputs": [
369
+ {
370
+ "internalType": "uint64",
371
+ "name": "",
372
+ "type": "uint64"
373
+ }
374
+ ],
375
+ "stateMutability": "view",
376
+ "type": "function"
377
+ },
378
+ {
379
+ "inputs": [],
380
+ "name": "ROLE_SUFFIX",
381
+ "outputs": [
382
+ {
383
+ "internalType": "string",
384
+ "name": "",
385
+ "type": "string"
386
+ }
387
+ ],
388
+ "stateMutability": "view",
389
+ "type": "function"
390
+ },
391
+ {
392
+ "inputs": [],
393
+ "name": "SERVICE_DOMAIN_ROLE_FACTOR",
394
+ "outputs": [
395
+ {
396
+ "internalType": "uint64",
397
+ "name": "",
398
+ "type": "uint64"
399
+ }
400
+ ],
401
+ "stateMutability": "view",
402
+ "type": "function"
403
+ },
404
+ {
405
+ "inputs": [],
406
+ "name": "SERVICE_ROLE_FACTOR",
407
+ "outputs": [
408
+ {
409
+ "internalType": "uint64",
410
+ "name": "",
411
+ "type": "uint64"
412
+ }
413
+ ],
414
+ "stateMutability": "view",
415
+ "type": "function"
416
+ },
417
+ {
418
+ "inputs": [],
419
+ "name": "SERVICE_ROLE_MIN",
420
+ "outputs": [
421
+ {
422
+ "internalType": "uint64",
423
+ "name": "",
424
+ "type": "uint64"
425
+ }
426
+ ],
427
+ "stateMutability": "view",
428
+ "type": "function"
429
+ },
430
+ {
431
+ "inputs": [],
432
+ "name": "TOKEN_HANDLER_SUFFIX",
433
+ "outputs": [
434
+ {
435
+ "internalType": "string",
436
+ "name": "",
437
+ "type": "string"
438
+ }
439
+ ],
440
+ "stateMutability": "view",
441
+ "type": "function"
442
+ },
443
+ {
444
+ "inputs": [
445
+ {
446
+ "internalType": "address",
447
+ "name": "authorizationOld",
448
+ "type": "address"
449
+ },
450
+ {
451
+ "internalType": "address",
452
+ "name": "authorization",
453
+ "type": "address"
454
+ },
455
+ {
456
+ "internalType": "ObjectType",
457
+ "name": "expectedDomain",
458
+ "type": "uint8"
459
+ },
460
+ {
461
+ "internalType": "VersionPart",
462
+ "name": "expectedRelease",
463
+ "type": "uint8"
464
+ },
465
+ {
466
+ "internalType": "bool",
467
+ "name": "expectServiceAuthorization",
468
+ "type": "bool"
469
+ },
470
+ {
471
+ "internalType": "bool",
472
+ "name": "checkAlreadyInitialized",
473
+ "type": "bool"
474
+ }
475
+ ],
476
+ "name": "checkAuthorization",
477
+ "outputs": [],
478
+ "stateMutability": "view",
479
+ "type": "function"
480
+ },
481
+ {
482
+ "inputs": [
483
+ {
484
+ "internalType": "address",
485
+ "name": "registry",
486
+ "type": "address"
487
+ },
488
+ {
489
+ "internalType": "address",
490
+ "name": "target",
491
+ "type": "address"
492
+ },
493
+ {
494
+ "internalType": "ObjectType",
495
+ "name": "expectedType",
496
+ "type": "uint8"
497
+ }
498
+ ],
499
+ "name": "checkIsRegistered",
500
+ "outputs": [],
501
+ "stateMutability": "view",
502
+ "type": "function"
503
+ },
504
+ {
505
+ "inputs": [
506
+ {
507
+ "internalType": "address",
508
+ "name": "registry",
509
+ "type": "address"
510
+ }
511
+ ],
512
+ "name": "checkRegistry",
513
+ "outputs": [],
514
+ "stateMutability": "view",
515
+ "type": "function"
516
+ },
517
+ {
518
+ "inputs": [
519
+ {
520
+ "internalType": "contract IAccessAdmin",
521
+ "name": "accessAdmin",
522
+ "type": "IAccessAdmin"
523
+ },
524
+ {
525
+ "internalType": "RoleId",
526
+ "name": "roleId",
527
+ "type": "uint64"
528
+ },
529
+ {
530
+ "components": [
531
+ {
532
+ "internalType": "RoleId",
533
+ "name": "adminRoleId",
534
+ "type": "uint64"
535
+ },
536
+ {
537
+ "internalType": "enum IAccess.RoleType",
538
+ "name": "roleType",
539
+ "type": "IAccess.RoleType"
540
+ },
541
+ {
542
+ "internalType": "uint32",
543
+ "name": "maxMemberCount",
544
+ "type": "uint32"
545
+ },
546
+ {
547
+ "internalType": "Timestamp",
548
+ "name": "createdAt",
549
+ "type": "uint40"
550
+ },
551
+ {
552
+ "internalType": "Timestamp",
553
+ "name": "pausedAt",
554
+ "type": "uint40"
555
+ },
556
+ {
557
+ "internalType": "Str",
558
+ "name": "name",
559
+ "type": "bytes32"
560
+ }
561
+ ],
562
+ "internalType": "struct IAccess.RoleInfo",
563
+ "name": "info",
564
+ "type": "tuple"
565
+ }
566
+ ],
567
+ "name": "checkRoleCreation",
568
+ "outputs": [],
569
+ "stateMutability": "view",
570
+ "type": "function"
571
+ },
572
+ {
573
+ "inputs": [
574
+ {
575
+ "internalType": "contract IAccessAdmin",
576
+ "name": "accessAdmin",
577
+ "type": "IAccessAdmin"
578
+ },
579
+ {
580
+ "internalType": "address",
581
+ "name": "target",
582
+ "type": "address"
583
+ },
584
+ {
585
+ "internalType": "string",
586
+ "name": "targetName",
587
+ "type": "string"
588
+ },
589
+ {
590
+ "internalType": "bool",
591
+ "name": "checkAuthority",
592
+ "type": "bool"
593
+ }
594
+ ],
595
+ "name": "checkTargetCreation",
596
+ "outputs": [],
597
+ "stateMutability": "view",
598
+ "type": "function"
599
+ },
600
+ {
601
+ "inputs": [
602
+ {
603
+ "internalType": "uint64",
604
+ "name": "index",
605
+ "type": "uint64"
606
+ }
607
+ ],
608
+ "name": "getCustomRoleId",
609
+ "outputs": [
610
+ {
611
+ "internalType": "RoleId",
612
+ "name": "customRoleId",
613
+ "type": "uint64"
614
+ }
615
+ ],
616
+ "stateMutability": "pure",
617
+ "type": "function"
618
+ },
619
+ {
620
+ "inputs": [
621
+ {
622
+ "internalType": "ObjectType",
623
+ "name": "serviceDomain",
624
+ "type": "uint8"
625
+ }
626
+ ],
627
+ "name": "getGenericServiceRoleId",
628
+ "outputs": [
629
+ {
630
+ "internalType": "RoleId",
631
+ "name": "serviceRoleId",
632
+ "type": "uint64"
633
+ }
634
+ ],
635
+ "stateMutability": "pure",
636
+ "type": "function"
637
+ },
638
+ {
639
+ "inputs": [
640
+ {
641
+ "components": [
642
+ {
643
+ "internalType": "Str",
644
+ "name": "name",
645
+ "type": "bytes32"
646
+ },
647
+ {
648
+ "internalType": "Selector",
649
+ "name": "selector",
650
+ "type": "bytes4"
651
+ },
652
+ {
653
+ "internalType": "Timestamp",
654
+ "name": "createdAt",
655
+ "type": "uint40"
656
+ }
657
+ ],
658
+ "internalType": "struct IAccess.FunctionInfo[]",
659
+ "name": "functions",
660
+ "type": "tuple[]"
661
+ }
662
+ ],
663
+ "name": "getSelectors",
664
+ "outputs": [
665
+ {
666
+ "internalType": "bytes4[]",
667
+ "name": "selectors",
668
+ "type": "bytes4[]"
669
+ }
670
+ ],
671
+ "stateMutability": "pure",
672
+ "type": "function"
673
+ },
674
+ {
675
+ "inputs": [
676
+ {
677
+ "internalType": "address",
678
+ "name": "serviceAddress",
679
+ "type": "address"
680
+ },
681
+ {
682
+ "internalType": "enum IAccess.TargetType",
683
+ "name": "serviceTargetType",
684
+ "type": "IAccess.TargetType"
685
+ }
686
+ ],
687
+ "name": "getServiceRoleId",
688
+ "outputs": [
689
+ {
690
+ "internalType": "RoleId",
691
+ "name": "serviceRoleId",
692
+ "type": "uint64"
693
+ }
694
+ ],
695
+ "stateMutability": "view",
696
+ "type": "function"
697
+ },
698
+ {
699
+ "inputs": [
700
+ {
701
+ "internalType": "address",
702
+ "name": "target",
703
+ "type": "address"
704
+ },
705
+ {
706
+ "internalType": "enum IAccess.TargetType",
707
+ "name": "targetType",
708
+ "type": "IAccess.TargetType"
709
+ },
710
+ {
711
+ "internalType": "uint64",
712
+ "name": "index",
713
+ "type": "uint64"
714
+ }
715
+ ],
716
+ "name": "getTargetRoleId",
717
+ "outputs": [
718
+ {
719
+ "internalType": "RoleId",
720
+ "name": "targetRoleId",
721
+ "type": "uint64"
722
+ }
723
+ ],
724
+ "stateMutability": "view",
725
+ "type": "function"
726
+ },
727
+ {
728
+ "inputs": [
729
+ {
730
+ "internalType": "address",
731
+ "name": "target",
732
+ "type": "address"
733
+ },
734
+ {
735
+ "internalType": "string",
736
+ "name": "targetName",
737
+ "type": "string"
738
+ },
739
+ {
740
+ "internalType": "enum IAccess.TargetType",
741
+ "name": "targetType",
742
+ "type": "IAccess.TargetType"
743
+ }
744
+ ],
745
+ "name": "getTokenHandler",
746
+ "outputs": [
747
+ {
748
+ "internalType": "address",
749
+ "name": "tokenHandler",
750
+ "type": "address"
751
+ },
752
+ {
753
+ "internalType": "string",
754
+ "name": "tokenHandlerName",
755
+ "type": "string"
756
+ }
757
+ ],
758
+ "stateMutability": "view",
759
+ "type": "function"
760
+ },
761
+ {
762
+ "inputs": [
763
+ {
764
+ "internalType": "ObjectType",
765
+ "name": "serviceDomain",
766
+ "type": "uint8"
767
+ },
768
+ {
769
+ "internalType": "VersionPart",
770
+ "name": "release",
771
+ "type": "uint8"
772
+ }
773
+ ],
774
+ "name": "getVersionedServiceRoleId",
775
+ "outputs": [
776
+ {
777
+ "internalType": "RoleId",
778
+ "name": "serviceRoleId",
779
+ "type": "uint64"
780
+ }
781
+ ],
782
+ "stateMutability": "pure",
783
+ "type": "function"
784
+ },
785
+ {
786
+ "inputs": [
787
+ {
788
+ "internalType": "RoleId",
789
+ "name": "roleId",
790
+ "type": "uint64"
791
+ }
792
+ ],
793
+ "name": "isCustomRole",
794
+ "outputs": [
795
+ {
796
+ "internalType": "bool",
797
+ "name": "",
798
+ "type": "bool"
799
+ }
800
+ ],
801
+ "stateMutability": "pure",
802
+ "type": "function"
803
+ },
804
+ {
805
+ "inputs": [
806
+ {
807
+ "internalType": "bytes4",
808
+ "name": "selector",
809
+ "type": "bytes4"
810
+ },
811
+ {
812
+ "internalType": "string",
813
+ "name": "name",
814
+ "type": "string"
815
+ }
816
+ ],
817
+ "name": "toFunction",
818
+ "outputs": [
819
+ {
820
+ "components": [
821
+ {
822
+ "internalType": "Str",
823
+ "name": "name",
824
+ "type": "bytes32"
825
+ },
826
+ {
827
+ "internalType": "Selector",
828
+ "name": "selector",
829
+ "type": "bytes4"
830
+ },
831
+ {
832
+ "internalType": "Timestamp",
833
+ "name": "createdAt",
834
+ "type": "uint40"
835
+ }
836
+ ],
837
+ "internalType": "struct IAccess.FunctionInfo",
838
+ "name": "",
839
+ "type": "tuple"
840
+ }
841
+ ],
842
+ "stateMutability": "view",
843
+ "type": "function"
844
+ },
845
+ {
846
+ "inputs": [
847
+ {
848
+ "internalType": "RoleId",
849
+ "name": "adminRoleId",
850
+ "type": "uint64"
851
+ },
852
+ {
853
+ "internalType": "enum IAccess.RoleType",
854
+ "name": "roleType",
855
+ "type": "IAccess.RoleType"
856
+ },
857
+ {
858
+ "internalType": "uint32",
859
+ "name": "maxMemberCount",
860
+ "type": "uint32"
861
+ },
862
+ {
863
+ "internalType": "string",
864
+ "name": "name",
865
+ "type": "string"
866
+ }
867
+ ],
868
+ "name": "toRole",
869
+ "outputs": [
870
+ {
871
+ "components": [
872
+ {
873
+ "internalType": "RoleId",
874
+ "name": "adminRoleId",
875
+ "type": "uint64"
876
+ },
877
+ {
878
+ "internalType": "enum IAccess.RoleType",
879
+ "name": "roleType",
880
+ "type": "IAccess.RoleType"
881
+ },
882
+ {
883
+ "internalType": "uint32",
884
+ "name": "maxMemberCount",
885
+ "type": "uint32"
886
+ },
887
+ {
888
+ "internalType": "Timestamp",
889
+ "name": "createdAt",
890
+ "type": "uint40"
891
+ },
892
+ {
893
+ "internalType": "Timestamp",
894
+ "name": "pausedAt",
895
+ "type": "uint40"
896
+ },
897
+ {
898
+ "internalType": "Str",
899
+ "name": "name",
900
+ "type": "bytes32"
901
+ }
902
+ ],
903
+ "internalType": "struct IAccess.RoleInfo",
904
+ "name": "",
905
+ "type": "tuple"
906
+ }
907
+ ],
908
+ "stateMutability": "view",
909
+ "type": "function"
910
+ },
911
+ {
912
+ "inputs": [
913
+ {
914
+ "internalType": "string",
915
+ "name": "name",
916
+ "type": "string"
917
+ }
918
+ ],
919
+ "name": "toRoleName",
920
+ "outputs": [
921
+ {
922
+ "internalType": "string",
923
+ "name": "",
924
+ "type": "string"
925
+ }
926
+ ],
927
+ "stateMutability": "pure",
928
+ "type": "function"
929
+ }
930
+ ],
931
+ "bytecode": "0x61303b610034600b8282823980515f1a607314602857634e487b7160e01b5f525f60045260245ffd5b305f52607381538281f3fe73000000000000000000000000000000000000000030146080604052600436106101ac575f3560e01c80635b55eef2116100fe578063b1d4d5c31161009e578063ceaaf86b11610079578063ceaaf86b146103a3578063d27e68a9146103ad578063d4c3026c146103ce578063e03aefc2146103e1575f80fd5b8063b1d4d5c31461036c578063caf3ba4a146102c0578063cdfdf2a814610390575f80fd5b8063915f1dbb116100d9578063915f1dbb146103245780639b7ec44c1461034f578063a43e328114610362578063b05601aa146102c0575f80fd5b80635b55eef2146103115780636126bf441461032457806361890d9b1461032c575f80fd5b806337c339e51161016957806346729cd21161014457806346729cd2146102c05780634924730a146102c95780634eaf40a2146102de5780635a819662146102f1575f80fd5b806337c339e5146102845780634068538c14610297578063448111d7146102a0575f80fd5b806303d6f9be146101b057806304c713a7146101e057806305b81b9f1461020e5780630ccbae511461022157806315fb0abb1461022b578063195746e914610271575b5f80fd5b6101c36101be3660046122d9565b6103f4565b6040516001600160401b0390911681526020015b60405180910390f35b610201604051806040016040528060028152602001610a8d60f31b81525081565b6040516101d7919061233e565b6101c361021c366004612350565b61058b565b6101c3620186a081565b61023e6102393660046124a8565b610782565b60408051825181526020808401516001600160e01b031916908201529181015164ffffffffff16908201526060016101d7565b6101c361027f366004612528565b610972565b610201610292366004612570565b610b4b565b6101c3614a3881565b6102b36102ae3660046125bb565b610b93565b6040516101d791906126a7565b6101c36103e881565b6102dc6102d7366004612700565b610cbc565b005b6102dc6102ec366004612770565b6111ef565b6103046102ff36600461280b565b6114d9565b6040516101d7919061288f565b6101c361031f3660046128ff565b6116b6565b6101c3606481565b61033f61033a3660046128ff565b61170a565b60405190151581526020016101d7565b6102dc61035d36600461291a565b61179c565b6101c36201adb081565b610201604051806040016040528060058152602001645f526f6c6560d81b81525081565b6102dc61039e366004612957565b6118ff565b6101c3620f424081565b6103c06103bb366004612a12565b611dc0565b6040516101d7929190612a66565b6101c36103dc366004612a89565b611feb565b6102dc6103ef366004612ab5565b612226565b604051632b10f60d60e21b815260ff821660048201525f9073__$1d92393fa9ccd763988368ce8a1cb90d26$__906368aebf7b9073__$b659da7d8a6d2d32aa6c1e17da23dc2174$__9063ac43d83490602401602060405180830381865af4158015610462573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906104869190612ad0565b604051632b10f60d60e21b815260ff8716600482015273__$0d958e68cba84670b8f4a3f2f2686b1c6b$__9063ac43d83490602401602060405180830381865af41580156104d6573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906104fa9190612b0b565b610506906103e8612b3a565b610512906103e8612b63565b6001600160601b03166105259190612b82565b6040518263ffffffff1660e01b815260040161054391815260200190565b602060405180830381865af415801561055e573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906105829190612b95565b90505b92915050565b5f73__$1d92393fa9ccd763988368ce8a1cb90d26$__6368aebf7b73__$b659da7d8a6d2d32aa6c1e17da23dc2174$__63fbcaa8ed6040518163ffffffff1660e01b8152600401602060405180830381865af41580156105ed573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906106119190612bbb565b604051632b10f60d60e21b815260ff909116600482015273__$b659da7d8a6d2d32aa6c1e17da23dc2174$__9063ac43d83490602401602060405180830381865af4158015610662573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906106869190612ad0565b604051632b10f60d60e21b815260ff8616600482015273__$0d958e68cba84670b8f4a3f2f2686b1c6b$__9063ac43d83490602401602060405180830381865af41580156106d6573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906106fa9190612b0b565b610706906103e8612b3a565b610712906103e8612b63565b6001600160601b03166107259190612b82565b6040518263ffffffff1660e01b815260040161074391815260200190565b602060405180830381865af415801561075e573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906105859190612b95565b604080516060810182525f80825260208201819052918101919091526001600160e01b031983166107c657604051633f6ec33560e21b815260040160405180910390fd5b81515f036107e75760405163c075994d60e01b815260040160405180910390fd5b60408051606081019182905263cdc23e6960e01b9091528073__$9a094f9b231ed0f5f85a69be8408d93180$__63cdc23e69610826866064850161233e565b602060405180830381865af4158015610841573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906108659190612ad0565b8152604051636b15ee8b60e01b81526001600160e01b03198616600482015260209091019073__$0904195350e4c23ecb1d51df0a32586dcd$__90636b15ee8b90602401602060405180830381865af41580156108c4573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906108e89190612bd6565b6001600160e01b031916815260200173__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af415801561093e573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906109629190612bf1565b64ffffffffff1690529392505050565b5f60018360068111156109875761098761287b565b03610a1e5773__$1d92393fa9ccd763988368ce8a1cb90d26$__6368aebf7b6109b1846064612c0c565b6040516001600160e01b031960e084901b1681526001600160401b039091166004820152602401602060405180830381865af41580156109f3573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610a179190612b95565b9050610b44565b6003836006811115610a3257610a3261287b565b1480610a4f57506002836006811115610a4d57610a4d61287b565b145b15610a5e57610a178484611feb565b6004836006811115610a7257610a7261287b565b03610a9e5773__$1d92393fa9ccd763988368ce8a1cb90d26$__6368aebf7b6109b184620186a0612c0c565b6005836006811115610ab257610ab261287b565b03610ade5773__$1d92393fa9ccd763988368ce8a1cb90d26$__6368aebf7b6109b1846201adb0612c0c565b6006836006811115610af257610af261287b565b03610b1e5773__$1d92393fa9ccd763988368ce8a1cb90d26$__6368aebf7b6109b184620f4240612c0c565b838360405163058666f560e21b8152600401610b3b929190612c2b565b60405180910390fd5b9392505050565b606081604051806040016040528060058152602001645f526f6c6560d81b815250604051602001610b7d929190612c6f565b6040516020818303038152906040529050919050565b8051606090806001600160401b03811115610bb057610bb0612380565b604051908082528060200260200182016040528015610bd9578160200160208202803683370190505b5091505f5b81811015610cb557838181518110610bf857610bf8612c83565b6020908102919091018101510151604051636ea1af2560e11b81526001600160e01b0319909116600482015273__$0904195350e4c23ecb1d51df0a32586dcd$__9063dd435e4a90602401602060405180830381865af4158015610c5e573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610c829190612bd6565b838281518110610c9457610c94612c83565b6001600160e01b031990921660209283029190910190910152600101610bde565b5050919050565b60405163302d508560e11b81526001600160a01b03848116600483015285169063605aa10a90602401602060405180830381865afa158015610d00573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610d249190612ca2565b15610e25576040516312e1ebc560e01b81526001600160a01b0380851660048301528491908616906312e1ebc590602401608060405180830381865afa158015610d70573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610d949190612cbd565b51604051631623433d60e31b8152600481019190915273__$9a094f9b231ed0f5f85a69be8408d93180$__9063b11a19e8906024015f60405180830381865af4158015610de3573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052610e0a9190810190612d6e565b604051630bf898a560e31b8152600401610b3b929190612a66565b60405163cdc23e6960e01b81525f9073__$9a094f9b231ed0f5f85a69be8408d93180$__9063cdc23e6990610e5e90869060040161233e565b602060405180830381865af4158015610e79573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610e9d9190612ad0565b60405163a9dbaf2560e01b81526004810182905290915073__$9a094f9b231ed0f5f85a69be8408d93180$__9063a9dbaf2590602401602060405180830381865af4158015610eee573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610f129190612ad0565b5f03610f3c57604051638a0b84e560e01b81526001600160a01b0385166004820152602401610b3b565b604051631a0358a960e11b8152600481018290525f906001600160a01b03871690633406b15290602401602060405180830381865afa158015610f81573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610fa59190612dbd565b90506001600160a01b03811615610fd55784848260405163375fd50360e11b8152600401610b3b93929190612dd8565b6040516303d2026b60e21b81526001600160a01b038616600482015273__$fb599632d08395912d9d70eb2f0f93b5e2$__90630f4809ac90602401602060405180830381865af415801561102b573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061104f9190612ca2565b61107757604051637693f8d560e01b81526001600160a01b0386166004820152602401610b3b565b82156111e7575f856001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156110ba573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906110de9190612dbd565b9050866001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561111c573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906111409190612dbd565b6001600160a01b0316816001600160a01b0316146111e557866001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611194573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906111b89190612dbd565b604051630deaa28d60e31b81526001600160a01b0391821660048201529082166024820152604401610b3b565b505b505050505050565b80801561120457506001600160a01b03861615155b1561122d57604051631032fd6b60e01b81526001600160a01b0387166004820152602401610b3b565b81156112de5760405163d905700760e01b815273__$fb599632d08395912d9d70eb2f0f93b5e2$__9063d90570079061127290889062d1d15b60e11b90600401612e13565b602060405180830381865af415801561128d573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906112b19190612ca2565b6112d95760405163bea2481f60e01b81526001600160a01b0386166004820152602401610b3b565b611385565b60405163d905700760e01b815273__$fb599632d08395912d9d70eb2f0f93b5e2$__9063d90570079061131e908890635a183bdb60e11b90600401612e13565b602060405180830381865af4158015611339573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061135d9190612ca2565b61138557604051637737699b60e01b81526001600160a01b0386166004820152602401610b3b565b5f856001600160a01b031663b68d18096040518163ffffffff1660e01b8152600401602060405180830381865afa1580156113c2573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906113e69190612bbb565b905060ff8082169086161461142a5760405163a1eb7bc960e01b81526001600160a01b038716600482015260ff808716602483015282166044820152606401610b3b565b5f866001600160a01b03166376b707b76040518163ffffffff1660e01b8152600401602060405180830381865afa158015611467573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061148b9190612bbb565b905060ff808216908616146114cf57604051630fc1a0bf60e41b81526001600160a01b038816600482015260ff808716602483015282166044820152606401610b3b565b5050505050505050565b6040805160c0810182525f80825260208201819052918101829052606081018290526080810182905260a08101919091526040518060c00160405280866001600160401b031681526020018560038111156115365761153661287b565b81526020018463ffffffff16815260200173__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af415801561158e573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906115b29190612bf1565b64ffffffffff16815260200173__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__636ac5db196040518163ffffffff1660e01b8152600401602060405180830381865af4158015611605573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906116299190612bf1565b64ffffffffff16815260200173__$9a094f9b231ed0f5f85a69be8408d93180$__63cdc23e69856040518263ffffffff1660e01b815260040161166c919061233e565b602060405180830381865af4158015611687573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906116ab9190612ad0565b905295945050505050565b5f73__$1d92393fa9ccd763988368ce8a1cb90d26$__6368aebf7b6116de84620f4240612c0c565b6040516001600160e01b031960e084901b1681526001600160401b039091166004820152602401610743565b604051631517388760e21b81526001600160401b03821660048201525f90620f42409073__$1d92393fa9ccd763988368ce8a1cb90d26$__9063545ce21c90602401602060405180830381865af4158015611767573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061178b9190612b95565b6001600160401b0316101592915050565b6117a583612226565b6040516308b09a5f60e41b81526001600160a01b0383811660048301525f9190851690638b09a5f0906024015f60405180830381865afa1580156117eb573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526118129190810190612e54565b604090810151905163037c8cb160e51b815260ff8216600482015290915073__$0d958e68cba84670b8f4a3f2f2686b1c6b$__90636f91962090602401602060405180830381865af415801561186a573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061188e9190612ca2565b156118b757604051633b69638960e11b81526001600160a01b0384166004820152602401610b3b565b60ff808216908316146118f95760405163b1feebfb60e01b81526001600160a01b038416600482015260ff808416602483015282166044820152606401610b3b565b50505050565b60405163c6a0017960e01b81526001600160401b03831660048201526001600160a01b0384169063c6a0017990602401602060405180830381865afa15801561194a573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061196e9190612ca2565b15611a7857604051635bfa502760e01b81526001600160401b038316600482015282906001600160a01b03851690635bfa50279060240160c060405180830381865afa1580156119c0573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906119e49190612f24565b60a00151604051631623433d60e31b8152600481019190915273__$9a094f9b231ed0f5f85a69be8408d93180$__9063b11a19e8906024015f60405180830381865af4158015611a36573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052611a5d9190810190612d6e565b60405163c2f92fd360e01b8152600401610b3b929190612faa565b805160405163c6a0017960e01b81526001600160401b0390911660048201526001600160a01b0384169063c6a0017990602401602060405180830381865afa158015611ac6573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611aea9190612ca2565b611b15578051604051634731add760e11b81526001600160401b039091166004820152602401610b3b565b60a081015160405163a9dbaf2560e01b8152600481019190915273__$9a094f9b231ed0f5f85a69be8408d93180$__9063a9dbaf2590602401602060405180830381865af4158015611b69573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611b8d9190612ad0565b5f03611bb75760405163ce242fe760e01b81526001600160401b0383166004820152602401610b3b565b5f836001600160a01b0316639cad005273__$9a094f9b231ed0f5f85a69be8408d93180$__63b11a19e88560a001516040518263ffffffff1660e01b8152600401611c0491815260200190565b5f60405180830381865af4158015611c1e573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052611c459190810190612d6e565b6040518263ffffffff1660e01b8152600401611c61919061233e565b602060405180830381865afa158015611c7c573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611ca09190612b95565b60405163a42e52e960e01b81526001600160401b038216600482015290915073__$1d92393fa9ccd763988368ce8a1cb90d26$__9063a42e52e990602401602060405180830381865af4158015611cf9573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611d1d9190612ca2565b156118f95760a0820151604051631623433d60e31b8152849173__$9a094f9b231ed0f5f85a69be8408d93180$__9163b11a19e891611d629160040190815260200190565b5f60405180830381865af4158015611d7c573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052611da39190810190612d6e565b8260405163ab0b63a360e01b8152600401610b3b93929190612fcb565b5f60606005836006811115611dd757611dd761287b565b14158015611df757506001836006811115611df457611df461287b565b14155b15611e1357505060408051602081019091525f80825290611fe3565b604051631627905560e01b81526001600160a01b038616600482015273__$fb599632d08395912d9d70eb2f0f93b5e2$__90631627905590602401602060405180830381865af4158015611e69573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611e8d9190612ca2565b611ea857505060408051602081019091525f80825290611fe3565b60405163d905700760e01b815273__$fb599632d08395912d9d70eb2f0f93b5e2$__9063d905700790611ee89088906306e9e5ff60e31b90600401612e13565b602060405180830381865af4158015611f03573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611f279190612ca2565b611f4257505060408051602081019091525f80825290611fe3565b846001600160a01b03166343d752d36040518163ffffffff1660e01b8152600401602060405180830381865afa158015611f7e573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611fa29190612dbd565b915083604051806040016040528060028152602001610a8d60f31b815250604051602001611fd1929190612c6f565b60405160208183030381529060405290505b935093915050565b5f8260038360068111156120015761200161287b565b036121505773__$1d92393fa9ccd763988368ce8a1cb90d26$__63645ceefe826001600160a01b031663b68d18096040518163ffffffff1660e01b8152600401602060405180830381865afa15801561205c573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906120809190612bbb565b836001600160a01b03166376b707b76040518163ffffffff1660e01b8152600401602060405180830381865afa1580156120bc573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906120e09190612bbb565b6040516001600160e01b031960e085901b16815260ff9283166004820152911660248201526044015b602060405180830381865af4158015612124573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906121489190612b95565b915050610585565b60028360068111156121645761216461287b565b036122095773__$1d92393fa9ccd763988368ce8a1cb90d26$__63383ff861826001600160a01b031663b68d18096040518163ffffffff1660e01b8152600401602060405180830381865afa1580156121bf573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906121e39190612bbb565b6040516001600160e01b031960e084901b16815260ff9091166004820152602401612109565b838360405163f46de64d60e01b8152600401610b3b929190612c2b565b604051633334d16b60e01b81526001600160a01b038216600482015273__$fb599632d08395912d9d70eb2f0f93b5e2$__90633334d16b90602401602060405180830381865af415801561227c573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906122a09190612ca2565b6122c85760405163375acd0b60e11b81526001600160a01b0382166004820152602401610b3b565b50565b60ff811681146122c8575f80fd5b5f80604083850312156122ea575f80fd5b82356122f5816122cb565b91506020830135612305816122cb565b809150509250929050565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081525f6105826020830184612310565b5f60208284031215612360575f80fd5b8135610b44816122cb565b6001600160e01b0319811681146122c8575f80fd5b634e487b7160e01b5f52604160045260245ffd5b604051606081016001600160401b03811182821017156123b6576123b6612380565b60405290565b60405160c081016001600160401b03811182821017156123b6576123b6612380565b60405160e081016001600160401b03811182821017156123b6576123b6612380565b604051601f8201601f191681016001600160401b038111828210171561242857612428612380565b604052919050565b5f6001600160401b0382111561244857612448612380565b50601f01601f191660200190565b5f82601f830112612465575f80fd5b813561247861247382612430565b612400565b81815284602083860101111561248c575f80fd5b816020850160208301375f918101602001919091529392505050565b5f80604083850312156124b9575f80fd5b82356124c48161236b565b915060208301356001600160401b038111156124de575f80fd5b6124ea85828601612456565b9150509250929050565b6001600160a01b03811681146122c8575f80fd5b600781106122c8575f80fd5b6001600160401b03811681146122c8575f80fd5b5f805f6060848603121561253a575f80fd5b8335612545816124f4565b9250602084013561255581612508565b9150604084013561256581612514565b809150509250925092565b5f60208284031215612580575f80fd5b81356001600160401b03811115612595575f80fd5b6125a184828501612456565b949350505050565b64ffffffffff811681146122c8575f80fd5b5f602082840312156125cb575f80fd5b81356001600160401b038111156125e0575f80fd5b8201601f810184136125f0575f80fd5b80356001600160401b0381111561260957612609612380565b61261860208260051b01612400565b80828252602082019150602060608402850101925086831115612639575f80fd5b6020840193505b8284101561269d5760608488031215612657575f80fd5b61265f612394565b8435815260208501356126718161236b565b60208201526040850135612684816125a9565b6040820152825260609390930192602090910190612640565b9695505050505050565b602080825282518282018190525f918401906040840190835b818110156126e85783516001600160e01b0319168352602093840193909201916001016126c0565b509095945050505050565b80151581146122c8575f80fd5b5f805f8060808587031215612713575f80fd5b843561271e816124f4565b9350602085013561272e816124f4565b925060408501356001600160401b03811115612748575f80fd5b61275487828801612456565b9250506060850135612765816126f3565b939692955090935050565b5f805f805f8060c08789031215612785575f80fd5b8635612790816124f4565b955060208701356127a0816124f4565b945060408701356127b0816122cb565b935060608701356127c0816122cb565b925060808701356127d0816126f3565b915060a08701356127e0816126f3565b809150509295509295509295565b600481106122c8575f80fd5b63ffffffff811681146122c8575f80fd5b5f805f806080858703121561281e575f80fd5b843561282981612514565b93506020850135612839816127ee565b92506040850135612849816127fa565b915060608501356001600160401b03811115612863575f80fd5b61286f87828801612456565b91505092959194509250565b634e487b7160e01b5f52602160045260245ffd5b81516001600160401b03168152602082015160c0820190600481106128b6576128b661287b565b8060208401525063ffffffff604084015116604083015264ffffffffff606084015116606083015264ffffffffff608084015116608083015260a083015160a083015292915050565b5f6020828403121561290f575f80fd5b8135610b4481612514565b5f805f6060848603121561292c575f80fd5b8335612937816124f4565b92506020840135612947816124f4565b91506040840135612565816122cb565b5f805f83850361010081121561296b575f80fd5b8435612976816124f4565b9350602085013561298681612514565b925060c0603f1982011215612999575f80fd5b506129a26123bc565b60408501356129b081612514565b815260608501356129c0816127ee565b602082015260808501356129d3816127fa565b604082015260a08501356129e6816125a9565b606082015260c08501356129f9816125a9565b608082015260e0949094013560a0850152509093909250565b5f805f60608486031215612a24575f80fd5b8335612a2f816124f4565b925060208401356001600160401b03811115612a49575f80fd5b612a5586828701612456565b925050604084013561256581612508565b6001600160a01b03831681526040602082018190525f906125a190830184612310565b5f8060408385031215612a9a575f80fd5b8235612aa5816124f4565b9150602083013561230581612508565b5f60208284031215612ac5575f80fd5b8135610b44816124f4565b5f60208284031215612ae0575f80fd5b5051919050565b6001600160601b03811681146122c8575f80fd5b8051612b0681612ae7565b919050565b5f60208284031215612b1b575f80fd5b8151610b4481612ae7565b634e487b7160e01b5f52601160045260245ffd5b6001600160601b038181168382160290811690818114612b5c57612b5c612b26565b5092915050565b6001600160601b03818116838216019081111561058557610585612b26565b8082018082111561058557610585612b26565b5f60208284031215612ba5575f80fd5b8151610b4481612514565b8051612b06816122cb565b5f60208284031215612bcb575f80fd5b8151610b44816122cb565b5f60208284031215612be6575f80fd5b8151610b448161236b565b5f60208284031215612c01575f80fd5b8151610b44816125a9565b6001600160401b03818116838216019081111561058557610585612b26565b6001600160a01b03831681526040810160078310612c4b57612c4b61287b565b8260208301529392505050565b5f81518060208401855e5f93019283525090919050565b5f6125a1612c7d8386612c58565b84612c58565b634e487b7160e01b5f52603260045260245ffd5b8051612b06816126f3565b5f60208284031215612cb2575f80fd5b8151610b44816126f3565b5f6080828403128015612cce575f80fd5b50604051608081016001600160401b0381118282101715612cf157612cf1612380565b604052825181526020830151612d0681612508565b60208201526040830151612d1981612514565b60408201526060830151612d2c816125a9565b60608201529392505050565b5f612d4561247384612430565b9050828152838383011115612d58575f80fd5b8282602083015e5f602084830101529392505050565b5f60208284031215612d7e575f80fd5b81516001600160401b03811115612d93575f80fd5b8201601f81018413612da3575f80fd5b6125a184825160208401612d38565b8051612b06816124f4565b5f60208284031215612dcd575f80fd5b8151610b44816124f4565b6001600160a01b03841681526060602082018190525f90612dfb90830185612310565b905060018060a01b0383166040830152949350505050565b6001600160a01b039290921682526001600160e01b031916602082015260400190565b5f82601f830112612e45575f80fd5b61058283835160208501612d38565b5f60208284031215612e64575f80fd5b81516001600160401b03811115612e79575f80fd5b820160e08185031215612e8a575f80fd5b612e926123de565b612e9b82612afb565b8152612ea960208301612afb565b6020820152612eba60408301612bb0565b6040820152612ecb60608301612c97565b6060820152612edc60808301612db2565b6080820152612eed60a08301612db2565b60a082015260c08201516001600160401b03811115612f0a575f80fd5b612f1686828501612e36565b60c083015250949350505050565b5f60c0828403128015612f35575f80fd5b50612f3e6123bc565b8251612f4981612514565b81526020830151612f59816127ee565b60208201526040830151612f6c816127fa565b60408201526060830151612f7f816125a9565b60608201526080830151612f92816125a9565b608082015260a0928301519281019290925250919050565b6001600160401b0383168152604060208201525f6125a16040830184612310565b6001600160401b0384168152606060208201525f612fec6060830185612310565b90506001600160401b038316604083015294935050505056fea2646970667358221220fd24f313d671cb69e6a14016c745d21353463e4105fc301ced8c6eeb23ac323864736f6c634300081a0033",
932
+ "deployedBytecode": "0x73000000000000000000000000000000000000000030146080604052600436106101ac575f3560e01c80635b55eef2116100fe578063b1d4d5c31161009e578063ceaaf86b11610079578063ceaaf86b146103a3578063d27e68a9146103ad578063d4c3026c146103ce578063e03aefc2146103e1575f80fd5b8063b1d4d5c31461036c578063caf3ba4a146102c0578063cdfdf2a814610390575f80fd5b8063915f1dbb116100d9578063915f1dbb146103245780639b7ec44c1461034f578063a43e328114610362578063b05601aa146102c0575f80fd5b80635b55eef2146103115780636126bf441461032457806361890d9b1461032c575f80fd5b806337c339e51161016957806346729cd21161014457806346729cd2146102c05780634924730a146102c95780634eaf40a2146102de5780635a819662146102f1575f80fd5b806337c339e5146102845780634068538c14610297578063448111d7146102a0575f80fd5b806303d6f9be146101b057806304c713a7146101e057806305b81b9f1461020e5780630ccbae511461022157806315fb0abb1461022b578063195746e914610271575b5f80fd5b6101c36101be3660046122d9565b6103f4565b6040516001600160401b0390911681526020015b60405180910390f35b610201604051806040016040528060028152602001610a8d60f31b81525081565b6040516101d7919061233e565b6101c361021c366004612350565b61058b565b6101c3620186a081565b61023e6102393660046124a8565b610782565b60408051825181526020808401516001600160e01b031916908201529181015164ffffffffff16908201526060016101d7565b6101c361027f366004612528565b610972565b610201610292366004612570565b610b4b565b6101c3614a3881565b6102b36102ae3660046125bb565b610b93565b6040516101d791906126a7565b6101c36103e881565b6102dc6102d7366004612700565b610cbc565b005b6102dc6102ec366004612770565b6111ef565b6103046102ff36600461280b565b6114d9565b6040516101d7919061288f565b6101c361031f3660046128ff565b6116b6565b6101c3606481565b61033f61033a3660046128ff565b61170a565b60405190151581526020016101d7565b6102dc61035d36600461291a565b61179c565b6101c36201adb081565b610201604051806040016040528060058152602001645f526f6c6560d81b81525081565b6102dc61039e366004612957565b6118ff565b6101c3620f424081565b6103c06103bb366004612a12565b611dc0565b6040516101d7929190612a66565b6101c36103dc366004612a89565b611feb565b6102dc6103ef366004612ab5565b612226565b604051632b10f60d60e21b815260ff821660048201525f9073__$1d92393fa9ccd763988368ce8a1cb90d26$__906368aebf7b9073__$b659da7d8a6d2d32aa6c1e17da23dc2174$__9063ac43d83490602401602060405180830381865af4158015610462573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906104869190612ad0565b604051632b10f60d60e21b815260ff8716600482015273__$0d958e68cba84670b8f4a3f2f2686b1c6b$__9063ac43d83490602401602060405180830381865af41580156104d6573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906104fa9190612b0b565b610506906103e8612b3a565b610512906103e8612b63565b6001600160601b03166105259190612b82565b6040518263ffffffff1660e01b815260040161054391815260200190565b602060405180830381865af415801561055e573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906105829190612b95565b90505b92915050565b5f73__$1d92393fa9ccd763988368ce8a1cb90d26$__6368aebf7b73__$b659da7d8a6d2d32aa6c1e17da23dc2174$__63fbcaa8ed6040518163ffffffff1660e01b8152600401602060405180830381865af41580156105ed573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906106119190612bbb565b604051632b10f60d60e21b815260ff909116600482015273__$b659da7d8a6d2d32aa6c1e17da23dc2174$__9063ac43d83490602401602060405180830381865af4158015610662573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906106869190612ad0565b604051632b10f60d60e21b815260ff8616600482015273__$0d958e68cba84670b8f4a3f2f2686b1c6b$__9063ac43d83490602401602060405180830381865af41580156106d6573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906106fa9190612b0b565b610706906103e8612b3a565b610712906103e8612b63565b6001600160601b03166107259190612b82565b6040518263ffffffff1660e01b815260040161074391815260200190565b602060405180830381865af415801561075e573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906105859190612b95565b604080516060810182525f80825260208201819052918101919091526001600160e01b031983166107c657604051633f6ec33560e21b815260040160405180910390fd5b81515f036107e75760405163c075994d60e01b815260040160405180910390fd5b60408051606081019182905263cdc23e6960e01b9091528073__$9a094f9b231ed0f5f85a69be8408d93180$__63cdc23e69610826866064850161233e565b602060405180830381865af4158015610841573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906108659190612ad0565b8152604051636b15ee8b60e01b81526001600160e01b03198616600482015260209091019073__$0904195350e4c23ecb1d51df0a32586dcd$__90636b15ee8b90602401602060405180830381865af41580156108c4573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906108e89190612bd6565b6001600160e01b031916815260200173__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af415801561093e573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906109629190612bf1565b64ffffffffff1690529392505050565b5f60018360068111156109875761098761287b565b03610a1e5773__$1d92393fa9ccd763988368ce8a1cb90d26$__6368aebf7b6109b1846064612c0c565b6040516001600160e01b031960e084901b1681526001600160401b039091166004820152602401602060405180830381865af41580156109f3573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610a179190612b95565b9050610b44565b6003836006811115610a3257610a3261287b565b1480610a4f57506002836006811115610a4d57610a4d61287b565b145b15610a5e57610a178484611feb565b6004836006811115610a7257610a7261287b565b03610a9e5773__$1d92393fa9ccd763988368ce8a1cb90d26$__6368aebf7b6109b184620186a0612c0c565b6005836006811115610ab257610ab261287b565b03610ade5773__$1d92393fa9ccd763988368ce8a1cb90d26$__6368aebf7b6109b1846201adb0612c0c565b6006836006811115610af257610af261287b565b03610b1e5773__$1d92393fa9ccd763988368ce8a1cb90d26$__6368aebf7b6109b184620f4240612c0c565b838360405163058666f560e21b8152600401610b3b929190612c2b565b60405180910390fd5b9392505050565b606081604051806040016040528060058152602001645f526f6c6560d81b815250604051602001610b7d929190612c6f565b6040516020818303038152906040529050919050565b8051606090806001600160401b03811115610bb057610bb0612380565b604051908082528060200260200182016040528015610bd9578160200160208202803683370190505b5091505f5b81811015610cb557838181518110610bf857610bf8612c83565b6020908102919091018101510151604051636ea1af2560e11b81526001600160e01b0319909116600482015273__$0904195350e4c23ecb1d51df0a32586dcd$__9063dd435e4a90602401602060405180830381865af4158015610c5e573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610c829190612bd6565b838281518110610c9457610c94612c83565b6001600160e01b031990921660209283029190910190910152600101610bde565b5050919050565b60405163302d508560e11b81526001600160a01b03848116600483015285169063605aa10a90602401602060405180830381865afa158015610d00573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610d249190612ca2565b15610e25576040516312e1ebc560e01b81526001600160a01b0380851660048301528491908616906312e1ebc590602401608060405180830381865afa158015610d70573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610d949190612cbd565b51604051631623433d60e31b8152600481019190915273__$9a094f9b231ed0f5f85a69be8408d93180$__9063b11a19e8906024015f60405180830381865af4158015610de3573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052610e0a9190810190612d6e565b604051630bf898a560e31b8152600401610b3b929190612a66565b60405163cdc23e6960e01b81525f9073__$9a094f9b231ed0f5f85a69be8408d93180$__9063cdc23e6990610e5e90869060040161233e565b602060405180830381865af4158015610e79573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610e9d9190612ad0565b60405163a9dbaf2560e01b81526004810182905290915073__$9a094f9b231ed0f5f85a69be8408d93180$__9063a9dbaf2590602401602060405180830381865af4158015610eee573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610f129190612ad0565b5f03610f3c57604051638a0b84e560e01b81526001600160a01b0385166004820152602401610b3b565b604051631a0358a960e11b8152600481018290525f906001600160a01b03871690633406b15290602401602060405180830381865afa158015610f81573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610fa59190612dbd565b90506001600160a01b03811615610fd55784848260405163375fd50360e11b8152600401610b3b93929190612dd8565b6040516303d2026b60e21b81526001600160a01b038616600482015273__$fb599632d08395912d9d70eb2f0f93b5e2$__90630f4809ac90602401602060405180830381865af415801561102b573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061104f9190612ca2565b61107757604051637693f8d560e01b81526001600160a01b0386166004820152602401610b3b565b82156111e7575f856001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156110ba573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906110de9190612dbd565b9050866001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561111c573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906111409190612dbd565b6001600160a01b0316816001600160a01b0316146111e557866001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611194573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906111b89190612dbd565b604051630deaa28d60e31b81526001600160a01b0391821660048201529082166024820152604401610b3b565b505b505050505050565b80801561120457506001600160a01b03861615155b1561122d57604051631032fd6b60e01b81526001600160a01b0387166004820152602401610b3b565b81156112de5760405163d905700760e01b815273__$fb599632d08395912d9d70eb2f0f93b5e2$__9063d90570079061127290889062d1d15b60e11b90600401612e13565b602060405180830381865af415801561128d573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906112b19190612ca2565b6112d95760405163bea2481f60e01b81526001600160a01b0386166004820152602401610b3b565b611385565b60405163d905700760e01b815273__$fb599632d08395912d9d70eb2f0f93b5e2$__9063d90570079061131e908890635a183bdb60e11b90600401612e13565b602060405180830381865af4158015611339573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061135d9190612ca2565b61138557604051637737699b60e01b81526001600160a01b0386166004820152602401610b3b565b5f856001600160a01b031663b68d18096040518163ffffffff1660e01b8152600401602060405180830381865afa1580156113c2573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906113e69190612bbb565b905060ff8082169086161461142a5760405163a1eb7bc960e01b81526001600160a01b038716600482015260ff808716602483015282166044820152606401610b3b565b5f866001600160a01b03166376b707b76040518163ffffffff1660e01b8152600401602060405180830381865afa158015611467573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061148b9190612bbb565b905060ff808216908616146114cf57604051630fc1a0bf60e41b81526001600160a01b038816600482015260ff808716602483015282166044820152606401610b3b565b5050505050505050565b6040805160c0810182525f80825260208201819052918101829052606081018290526080810182905260a08101919091526040518060c00160405280866001600160401b031681526020018560038111156115365761153661287b565b81526020018463ffffffff16815260200173__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af415801561158e573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906115b29190612bf1565b64ffffffffff16815260200173__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__636ac5db196040518163ffffffff1660e01b8152600401602060405180830381865af4158015611605573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906116299190612bf1565b64ffffffffff16815260200173__$9a094f9b231ed0f5f85a69be8408d93180$__63cdc23e69856040518263ffffffff1660e01b815260040161166c919061233e565b602060405180830381865af4158015611687573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906116ab9190612ad0565b905295945050505050565b5f73__$1d92393fa9ccd763988368ce8a1cb90d26$__6368aebf7b6116de84620f4240612c0c565b6040516001600160e01b031960e084901b1681526001600160401b039091166004820152602401610743565b604051631517388760e21b81526001600160401b03821660048201525f90620f42409073__$1d92393fa9ccd763988368ce8a1cb90d26$__9063545ce21c90602401602060405180830381865af4158015611767573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061178b9190612b95565b6001600160401b0316101592915050565b6117a583612226565b6040516308b09a5f60e41b81526001600160a01b0383811660048301525f9190851690638b09a5f0906024015f60405180830381865afa1580156117eb573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526118129190810190612e54565b604090810151905163037c8cb160e51b815260ff8216600482015290915073__$0d958e68cba84670b8f4a3f2f2686b1c6b$__90636f91962090602401602060405180830381865af415801561186a573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061188e9190612ca2565b156118b757604051633b69638960e11b81526001600160a01b0384166004820152602401610b3b565b60ff808216908316146118f95760405163b1feebfb60e01b81526001600160a01b038416600482015260ff808416602483015282166044820152606401610b3b565b50505050565b60405163c6a0017960e01b81526001600160401b03831660048201526001600160a01b0384169063c6a0017990602401602060405180830381865afa15801561194a573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061196e9190612ca2565b15611a7857604051635bfa502760e01b81526001600160401b038316600482015282906001600160a01b03851690635bfa50279060240160c060405180830381865afa1580156119c0573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906119e49190612f24565b60a00151604051631623433d60e31b8152600481019190915273__$9a094f9b231ed0f5f85a69be8408d93180$__9063b11a19e8906024015f60405180830381865af4158015611a36573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052611a5d9190810190612d6e565b60405163c2f92fd360e01b8152600401610b3b929190612faa565b805160405163c6a0017960e01b81526001600160401b0390911660048201526001600160a01b0384169063c6a0017990602401602060405180830381865afa158015611ac6573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611aea9190612ca2565b611b15578051604051634731add760e11b81526001600160401b039091166004820152602401610b3b565b60a081015160405163a9dbaf2560e01b8152600481019190915273__$9a094f9b231ed0f5f85a69be8408d93180$__9063a9dbaf2590602401602060405180830381865af4158015611b69573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611b8d9190612ad0565b5f03611bb75760405163ce242fe760e01b81526001600160401b0383166004820152602401610b3b565b5f836001600160a01b0316639cad005273__$9a094f9b231ed0f5f85a69be8408d93180$__63b11a19e88560a001516040518263ffffffff1660e01b8152600401611c0491815260200190565b5f60405180830381865af4158015611c1e573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052611c459190810190612d6e565b6040518263ffffffff1660e01b8152600401611c61919061233e565b602060405180830381865afa158015611c7c573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611ca09190612b95565b60405163a42e52e960e01b81526001600160401b038216600482015290915073__$1d92393fa9ccd763988368ce8a1cb90d26$__9063a42e52e990602401602060405180830381865af4158015611cf9573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611d1d9190612ca2565b156118f95760a0820151604051631623433d60e31b8152849173__$9a094f9b231ed0f5f85a69be8408d93180$__9163b11a19e891611d629160040190815260200190565b5f60405180830381865af4158015611d7c573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052611da39190810190612d6e565b8260405163ab0b63a360e01b8152600401610b3b93929190612fcb565b5f60606005836006811115611dd757611dd761287b565b14158015611df757506001836006811115611df457611df461287b565b14155b15611e1357505060408051602081019091525f80825290611fe3565b604051631627905560e01b81526001600160a01b038616600482015273__$fb599632d08395912d9d70eb2f0f93b5e2$__90631627905590602401602060405180830381865af4158015611e69573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611e8d9190612ca2565b611ea857505060408051602081019091525f80825290611fe3565b60405163d905700760e01b815273__$fb599632d08395912d9d70eb2f0f93b5e2$__9063d905700790611ee89088906306e9e5ff60e31b90600401612e13565b602060405180830381865af4158015611f03573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611f279190612ca2565b611f4257505060408051602081019091525f80825290611fe3565b846001600160a01b03166343d752d36040518163ffffffff1660e01b8152600401602060405180830381865afa158015611f7e573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611fa29190612dbd565b915083604051806040016040528060028152602001610a8d60f31b815250604051602001611fd1929190612c6f565b60405160208183030381529060405290505b935093915050565b5f8260038360068111156120015761200161287b565b036121505773__$1d92393fa9ccd763988368ce8a1cb90d26$__63645ceefe826001600160a01b031663b68d18096040518163ffffffff1660e01b8152600401602060405180830381865afa15801561205c573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906120809190612bbb565b836001600160a01b03166376b707b76040518163ffffffff1660e01b8152600401602060405180830381865afa1580156120bc573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906120e09190612bbb565b6040516001600160e01b031960e085901b16815260ff9283166004820152911660248201526044015b602060405180830381865af4158015612124573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906121489190612b95565b915050610585565b60028360068111156121645761216461287b565b036122095773__$1d92393fa9ccd763988368ce8a1cb90d26$__63383ff861826001600160a01b031663b68d18096040518163ffffffff1660e01b8152600401602060405180830381865afa1580156121bf573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906121e39190612bbb565b6040516001600160e01b031960e084901b16815260ff9091166004820152602401612109565b838360405163f46de64d60e01b8152600401610b3b929190612c2b565b604051633334d16b60e01b81526001600160a01b038216600482015273__$fb599632d08395912d9d70eb2f0f93b5e2$__90633334d16b90602401602060405180830381865af415801561227c573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906122a09190612ca2565b6122c85760405163375acd0b60e11b81526001600160a01b0382166004820152602401610b3b565b50565b60ff811681146122c8575f80fd5b5f80604083850312156122ea575f80fd5b82356122f5816122cb565b91506020830135612305816122cb565b809150509250929050565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081525f6105826020830184612310565b5f60208284031215612360575f80fd5b8135610b44816122cb565b6001600160e01b0319811681146122c8575f80fd5b634e487b7160e01b5f52604160045260245ffd5b604051606081016001600160401b03811182821017156123b6576123b6612380565b60405290565b60405160c081016001600160401b03811182821017156123b6576123b6612380565b60405160e081016001600160401b03811182821017156123b6576123b6612380565b604051601f8201601f191681016001600160401b038111828210171561242857612428612380565b604052919050565b5f6001600160401b0382111561244857612448612380565b50601f01601f191660200190565b5f82601f830112612465575f80fd5b813561247861247382612430565b612400565b81815284602083860101111561248c575f80fd5b816020850160208301375f918101602001919091529392505050565b5f80604083850312156124b9575f80fd5b82356124c48161236b565b915060208301356001600160401b038111156124de575f80fd5b6124ea85828601612456565b9150509250929050565b6001600160a01b03811681146122c8575f80fd5b600781106122c8575f80fd5b6001600160401b03811681146122c8575f80fd5b5f805f6060848603121561253a575f80fd5b8335612545816124f4565b9250602084013561255581612508565b9150604084013561256581612514565b809150509250925092565b5f60208284031215612580575f80fd5b81356001600160401b03811115612595575f80fd5b6125a184828501612456565b949350505050565b64ffffffffff811681146122c8575f80fd5b5f602082840312156125cb575f80fd5b81356001600160401b038111156125e0575f80fd5b8201601f810184136125f0575f80fd5b80356001600160401b0381111561260957612609612380565b61261860208260051b01612400565b80828252602082019150602060608402850101925086831115612639575f80fd5b6020840193505b8284101561269d5760608488031215612657575f80fd5b61265f612394565b8435815260208501356126718161236b565b60208201526040850135612684816125a9565b6040820152825260609390930192602090910190612640565b9695505050505050565b602080825282518282018190525f918401906040840190835b818110156126e85783516001600160e01b0319168352602093840193909201916001016126c0565b509095945050505050565b80151581146122c8575f80fd5b5f805f8060808587031215612713575f80fd5b843561271e816124f4565b9350602085013561272e816124f4565b925060408501356001600160401b03811115612748575f80fd5b61275487828801612456565b9250506060850135612765816126f3565b939692955090935050565b5f805f805f8060c08789031215612785575f80fd5b8635612790816124f4565b955060208701356127a0816124f4565b945060408701356127b0816122cb565b935060608701356127c0816122cb565b925060808701356127d0816126f3565b915060a08701356127e0816126f3565b809150509295509295509295565b600481106122c8575f80fd5b63ffffffff811681146122c8575f80fd5b5f805f806080858703121561281e575f80fd5b843561282981612514565b93506020850135612839816127ee565b92506040850135612849816127fa565b915060608501356001600160401b03811115612863575f80fd5b61286f87828801612456565b91505092959194509250565b634e487b7160e01b5f52602160045260245ffd5b81516001600160401b03168152602082015160c0820190600481106128b6576128b661287b565b8060208401525063ffffffff604084015116604083015264ffffffffff606084015116606083015264ffffffffff608084015116608083015260a083015160a083015292915050565b5f6020828403121561290f575f80fd5b8135610b4481612514565b5f805f6060848603121561292c575f80fd5b8335612937816124f4565b92506020840135612947816124f4565b91506040840135612565816122cb565b5f805f83850361010081121561296b575f80fd5b8435612976816124f4565b9350602085013561298681612514565b925060c0603f1982011215612999575f80fd5b506129a26123bc565b60408501356129b081612514565b815260608501356129c0816127ee565b602082015260808501356129d3816127fa565b604082015260a08501356129e6816125a9565b606082015260c08501356129f9816125a9565b608082015260e0949094013560a0850152509093909250565b5f805f60608486031215612a24575f80fd5b8335612a2f816124f4565b925060208401356001600160401b03811115612a49575f80fd5b612a5586828701612456565b925050604084013561256581612508565b6001600160a01b03831681526040602082018190525f906125a190830184612310565b5f8060408385031215612a9a575f80fd5b8235612aa5816124f4565b9150602083013561230581612508565b5f60208284031215612ac5575f80fd5b8135610b44816124f4565b5f60208284031215612ae0575f80fd5b5051919050565b6001600160601b03811681146122c8575f80fd5b8051612b0681612ae7565b919050565b5f60208284031215612b1b575f80fd5b8151610b4481612ae7565b634e487b7160e01b5f52601160045260245ffd5b6001600160601b038181168382160290811690818114612b5c57612b5c612b26565b5092915050565b6001600160601b03818116838216019081111561058557610585612b26565b8082018082111561058557610585612b26565b5f60208284031215612ba5575f80fd5b8151610b4481612514565b8051612b06816122cb565b5f60208284031215612bcb575f80fd5b8151610b44816122cb565b5f60208284031215612be6575f80fd5b8151610b448161236b565b5f60208284031215612c01575f80fd5b8151610b44816125a9565b6001600160401b03818116838216019081111561058557610585612b26565b6001600160a01b03831681526040810160078310612c4b57612c4b61287b565b8260208301529392505050565b5f81518060208401855e5f93019283525090919050565b5f6125a1612c7d8386612c58565b84612c58565b634e487b7160e01b5f52603260045260245ffd5b8051612b06816126f3565b5f60208284031215612cb2575f80fd5b8151610b44816126f3565b5f6080828403128015612cce575f80fd5b50604051608081016001600160401b0381118282101715612cf157612cf1612380565b604052825181526020830151612d0681612508565b60208201526040830151612d1981612514565b60408201526060830151612d2c816125a9565b60608201529392505050565b5f612d4561247384612430565b9050828152838383011115612d58575f80fd5b8282602083015e5f602084830101529392505050565b5f60208284031215612d7e575f80fd5b81516001600160401b03811115612d93575f80fd5b8201601f81018413612da3575f80fd5b6125a184825160208401612d38565b8051612b06816124f4565b5f60208284031215612dcd575f80fd5b8151610b44816124f4565b6001600160a01b03841681526060602082018190525f90612dfb90830185612310565b905060018060a01b0383166040830152949350505050565b6001600160a01b039290921682526001600160e01b031916602082015260400190565b5f82601f830112612e45575f80fd5b61058283835160208501612d38565b5f60208284031215612e64575f80fd5b81516001600160401b03811115612e79575f80fd5b820160e08185031215612e8a575f80fd5b612e926123de565b612e9b82612afb565b8152612ea960208301612afb565b6020820152612eba60408301612bb0565b6040820152612ecb60608301612c97565b6060820152612edc60808301612db2565b6080820152612eed60a08301612db2565b60a082015260c08201516001600160401b03811115612f0a575f80fd5b612f1686828501612e36565b60c083015250949350505050565b5f60c0828403128015612f35575f80fd5b50612f3e6123bc565b8251612f4981612514565b81526020830151612f59816127ee565b60208201526040830151612f6c816127fa565b60408201526060830151612f7f816125a9565b60608201526080830151612f92816125a9565b608082015260a0928301519281019290925250919050565b6001600160401b0383168152604060208201525f6125a16040830184612310565b6001600160401b0384168152606060208201525f612fec6060830185612310565b90506001600160401b038316604083015294935050505056fea2646970667358221220fd24f313d671cb69e6a14016c745d21353463e4105fc301ced8c6eeb23ac323864736f6c634300081a0033",
933
+ "linkReferences": {
934
+ "contracts/shared/ContractLib.sol": {
935
+ "ContractLib": [
936
+ {
937
+ "length": 20,
938
+ "start": 4135
939
+ },
940
+ {
941
+ "length": 20,
942
+ "start": 4726
943
+ },
944
+ {
945
+ "length": 20,
946
+ "start": 4897
947
+ },
948
+ {
949
+ "length": 20,
950
+ "start": 7781
951
+ },
952
+ {
953
+ "length": 20,
954
+ "start": 7915
955
+ },
956
+ {
957
+ "length": 20,
958
+ "start": 8824
959
+ }
960
+ ]
961
+ },
962
+ "contracts/type/ObjectType.sol": {
963
+ "ObjectTypeLib": [
964
+ {
965
+ "length": 20,
966
+ "start": 1234
967
+ },
968
+ {
969
+ "length": 20,
970
+ "start": 1746
971
+ },
972
+ {
973
+ "length": 20,
974
+ "start": 6246
975
+ }
976
+ ]
977
+ },
978
+ "contracts/type/RoleId.sol": {
979
+ "RoleIdLib": [
980
+ {
981
+ "length": 20,
982
+ "start": 1090
983
+ },
984
+ {
985
+ "length": 20,
986
+ "start": 1474
987
+ },
988
+ {
989
+ "length": 20,
990
+ "start": 2498
991
+ },
992
+ {
993
+ "length": 20,
994
+ "start": 2733
995
+ },
996
+ {
997
+ "length": 20,
998
+ "start": 2797
999
+ },
1000
+ {
1001
+ "length": 20,
1002
+ "start": 2861
1003
+ },
1004
+ {
1005
+ "length": 20,
1006
+ "start": 5869
1007
+ },
1008
+ {
1009
+ "length": 20,
1010
+ "start": 5987
1011
+ },
1012
+ {
1013
+ "length": 20,
1014
+ "start": 7413
1015
+ },
1016
+ {
1017
+ "length": 20,
1018
+ "start": 8252
1019
+ },
1020
+ {
1021
+ "length": 20,
1022
+ "start": 8607
1023
+ }
1024
+ ]
1025
+ },
1026
+ "contracts/type/Selector.sol": {
1027
+ "SelectorLib": [
1028
+ {
1029
+ "length": 20,
1030
+ "start": 2240
1031
+ },
1032
+ {
1033
+ "length": 20,
1034
+ "start": 3162
1035
+ }
1036
+ ]
1037
+ },
1038
+ "contracts/type/String.sol": {
1039
+ "StrLib": [
1040
+ {
1041
+ "length": 20,
1042
+ "start": 2101
1043
+ },
1044
+ {
1045
+ "length": 20,
1046
+ "start": 3552
1047
+ },
1048
+ {
1049
+ "length": 20,
1050
+ "start": 3690
1051
+ },
1052
+ {
1053
+ "length": 20,
1054
+ "start": 3818
1055
+ },
1056
+ {
1057
+ "length": 20,
1058
+ "start": 5739
1059
+ },
1060
+ {
1061
+ "length": 20,
1062
+ "start": 6707
1063
+ },
1064
+ {
1065
+ "length": 20,
1066
+ "start": 7013
1067
+ },
1068
+ {
1069
+ "length": 20,
1070
+ "start": 7165
1071
+ },
1072
+ {
1073
+ "length": 20,
1074
+ "start": 7532
1075
+ }
1076
+ ]
1077
+ },
1078
+ "contracts/type/Timestamp.sol": {
1079
+ "TimestampLib": [
1080
+ {
1081
+ "length": 20,
1082
+ "start": 2349
1083
+ },
1084
+ {
1085
+ "length": 20,
1086
+ "start": 5501
1087
+ },
1088
+ {
1089
+ "length": 20,
1090
+ "start": 5620
1091
+ }
1092
+ ]
1093
+ },
1094
+ "contracts/type/Version.sol": {
1095
+ "VersionPartLib": [
1096
+ {
1097
+ "length": 20,
1098
+ "start": 1118
1099
+ },
1100
+ {
1101
+ "length": 20,
1102
+ "start": 1500
1103
+ },
1104
+ {
1105
+ "length": 20,
1106
+ "start": 1630
1107
+ }
1108
+ ]
1109
+ }
1110
+ },
1111
+ "deployedLinkReferences": {
1112
+ "contracts/shared/ContractLib.sol": {
1113
+ "ContractLib": [
1114
+ {
1115
+ "length": 20,
1116
+ "start": 4083
1117
+ },
1118
+ {
1119
+ "length": 20,
1120
+ "start": 4674
1121
+ },
1122
+ {
1123
+ "length": 20,
1124
+ "start": 4845
1125
+ },
1126
+ {
1127
+ "length": 20,
1128
+ "start": 7729
1129
+ },
1130
+ {
1131
+ "length": 20,
1132
+ "start": 7863
1133
+ },
1134
+ {
1135
+ "length": 20,
1136
+ "start": 8772
1137
+ }
1138
+ ]
1139
+ },
1140
+ "contracts/type/ObjectType.sol": {
1141
+ "ObjectTypeLib": [
1142
+ {
1143
+ "length": 20,
1144
+ "start": 1182
1145
+ },
1146
+ {
1147
+ "length": 20,
1148
+ "start": 1694
1149
+ },
1150
+ {
1151
+ "length": 20,
1152
+ "start": 6194
1153
+ }
1154
+ ]
1155
+ },
1156
+ "contracts/type/RoleId.sol": {
1157
+ "RoleIdLib": [
1158
+ {
1159
+ "length": 20,
1160
+ "start": 1038
1161
+ },
1162
+ {
1163
+ "length": 20,
1164
+ "start": 1422
1165
+ },
1166
+ {
1167
+ "length": 20,
1168
+ "start": 2446
1169
+ },
1170
+ {
1171
+ "length": 20,
1172
+ "start": 2681
1173
+ },
1174
+ {
1175
+ "length": 20,
1176
+ "start": 2745
1177
+ },
1178
+ {
1179
+ "length": 20,
1180
+ "start": 2809
1181
+ },
1182
+ {
1183
+ "length": 20,
1184
+ "start": 5817
1185
+ },
1186
+ {
1187
+ "length": 20,
1188
+ "start": 5935
1189
+ },
1190
+ {
1191
+ "length": 20,
1192
+ "start": 7361
1193
+ },
1194
+ {
1195
+ "length": 20,
1196
+ "start": 8200
1197
+ },
1198
+ {
1199
+ "length": 20,
1200
+ "start": 8555
1201
+ }
1202
+ ]
1203
+ },
1204
+ "contracts/type/Selector.sol": {
1205
+ "SelectorLib": [
1206
+ {
1207
+ "length": 20,
1208
+ "start": 2188
1209
+ },
1210
+ {
1211
+ "length": 20,
1212
+ "start": 3110
1213
+ }
1214
+ ]
1215
+ },
1216
+ "contracts/type/String.sol": {
1217
+ "StrLib": [
1218
+ {
1219
+ "length": 20,
1220
+ "start": 2049
1221
+ },
1222
+ {
1223
+ "length": 20,
1224
+ "start": 3500
1225
+ },
1226
+ {
1227
+ "length": 20,
1228
+ "start": 3638
1229
+ },
1230
+ {
1231
+ "length": 20,
1232
+ "start": 3766
1233
+ },
1234
+ {
1235
+ "length": 20,
1236
+ "start": 5687
1237
+ },
1238
+ {
1239
+ "length": 20,
1240
+ "start": 6655
1241
+ },
1242
+ {
1243
+ "length": 20,
1244
+ "start": 6961
1245
+ },
1246
+ {
1247
+ "length": 20,
1248
+ "start": 7113
1249
+ },
1250
+ {
1251
+ "length": 20,
1252
+ "start": 7480
1253
+ }
1254
+ ]
1255
+ },
1256
+ "contracts/type/Timestamp.sol": {
1257
+ "TimestampLib": [
1258
+ {
1259
+ "length": 20,
1260
+ "start": 2297
1261
+ },
1262
+ {
1263
+ "length": 20,
1264
+ "start": 5449
1265
+ },
1266
+ {
1267
+ "length": 20,
1268
+ "start": 5568
1269
+ }
1270
+ ]
1271
+ },
1272
+ "contracts/type/Version.sol": {
1273
+ "VersionPartLib": [
1274
+ {
1275
+ "length": 20,
1276
+ "start": 1066
1277
+ },
1278
+ {
1279
+ "length": 20,
1280
+ "start": 1448
1281
+ },
1282
+ {
1283
+ "length": 20,
1284
+ "start": 1578
1285
+ }
1286
+ ]
1287
+ }
1288
+ }
1289
+ }