@etherisc/gif-next 0.0.2-f12cf4d-104 → 0.0.2-f13d67f-541

Sign up to get free protection for your applications and to get access to all the features.
Files changed (555) hide show
  1. package/README.md +86 -312
  2. package/artifacts/contracts/accounting/AccountingService.sol/AccountingService.dbg.json +4 -0
  3. package/artifacts/contracts/accounting/AccountingService.sol/AccountingService.json +1075 -0
  4. package/artifacts/contracts/accounting/AccountingServiceManager.sol/AccountingServiceManager.dbg.json +4 -0
  5. package/artifacts/contracts/accounting/AccountingServiceManager.sol/AccountingServiceManager.json +810 -0
  6. package/artifacts/contracts/accounting/IAccountingService.sol/IAccountingService.dbg.json +4 -0
  7. package/artifacts/contracts/accounting/IAccountingService.sol/IAccountingService.json +843 -0
  8. package/artifacts/contracts/authorization/AccessAdmin.sol/AccessAdmin.dbg.json +1 -1
  9. package/artifacts/contracts/authorization/AccessAdmin.sol/AccessAdmin.json +729 -287
  10. package/artifacts/contracts/authorization/AccessAdminLib.sol/AccessAdminLib.dbg.json +4 -0
  11. package/artifacts/contracts/authorization/AccessAdminLib.sol/AccessAdminLib.json +2008 -0
  12. package/artifacts/contracts/authorization/AccessManagerCloneable.sol/AccessManagerCloneable.dbg.json +1 -1
  13. package/artifacts/contracts/authorization/AccessManagerCloneable.sol/AccessManagerCloneable.json +202 -5
  14. package/artifacts/contracts/authorization/Authorization.sol/Authorization.dbg.json +1 -1
  15. package/artifacts/contracts/authorization/Authorization.sol/Authorization.json +438 -35
  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 +560 -220
  19. package/artifacts/contracts/authorization/IAuthorization.sol/IAuthorization.dbg.json +1 -1
  20. package/artifacts/contracts/authorization/IAuthorization.sol/IAuthorization.json +191 -21
  21. package/artifacts/contracts/authorization/IServiceAuthorization.sol/IServiceAuthorization.dbg.json +1 -1
  22. package/artifacts/contracts/authorization/IServiceAuthorization.sol/IServiceAuthorization.json +256 -16
  23. package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.dbg.json +1 -1
  24. package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.json +426 -27
  25. package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.dbg.json +1 -1
  26. package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.json +128 -218
  27. package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.dbg.json +1 -1
  28. package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.json +427 -53
  29. package/artifacts/contracts/distribution/Distribution.sol/Distribution.dbg.json +1 -1
  30. package/artifacts/contracts/distribution/Distribution.sol/Distribution.json +58 -137
  31. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.dbg.json +1 -1
  32. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.json +555 -217
  33. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +1 -1
  34. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.json +170 -82
  35. package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.dbg.json +1 -1
  36. package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.json +37 -116
  37. package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.dbg.json +1 -1
  38. package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.json +401 -78
  39. package/artifacts/contracts/examples/fire/DamageLevel.sol/DamageLevelLib.dbg.json +1 -1
  40. package/artifacts/contracts/examples/fire/FirePool.sol/FirePool.dbg.json +1 -1
  41. package/artifacts/contracts/examples/fire/FirePool.sol/FirePool.json +183 -138
  42. package/artifacts/contracts/examples/fire/FirePoolAuthorization.sol/FirePoolAuthorization.dbg.json +1 -1
  43. package/artifacts/contracts/examples/fire/FirePoolAuthorization.sol/FirePoolAuthorization.json +401 -59
  44. package/artifacts/contracts/examples/fire/FireProduct.sol/FireProduct.dbg.json +1 -1
  45. package/artifacts/contracts/examples/fire/FireProduct.sol/FireProduct.json +324 -260
  46. package/artifacts/contracts/examples/fire/FireProductAuthorization.sol/FireProductAuthorization.dbg.json +1 -1
  47. package/artifacts/contracts/examples/fire/FireProductAuthorization.sol/FireProductAuthorization.json +426 -52
  48. package/artifacts/contracts/examples/fire/FireUSD.sol/FireUSD.dbg.json +1 -1
  49. package/artifacts/contracts/examples/flight/FlightLib.sol/FlightLib.dbg.json +4 -0
  50. package/artifacts/contracts/examples/flight/FlightLib.sol/FlightLib.json +408 -0
  51. package/artifacts/contracts/examples/flight/FlightOracle.sol/FlightOracle.dbg.json +4 -0
  52. package/artifacts/contracts/examples/flight/FlightOracle.sol/FlightOracle.json +1198 -0
  53. package/artifacts/contracts/examples/flight/FlightOracleAuthorization.sol/FlightOracleAuthorization.dbg.json +4 -0
  54. package/artifacts/contracts/examples/flight/FlightOracleAuthorization.sol/FlightOracleAuthorization.json +849 -0
  55. package/artifacts/contracts/examples/flight/FlightPool.sol/FlightPool.dbg.json +4 -0
  56. package/artifacts/contracts/examples/flight/FlightPool.sol/FlightPool.json +1466 -0
  57. package/artifacts/contracts/examples/flight/FlightPoolAuthorization.sol/FlightPoolAuthorization.dbg.json +4 -0
  58. package/artifacts/contracts/examples/flight/FlightPoolAuthorization.sol/FlightPoolAuthorization.json +844 -0
  59. package/artifacts/contracts/examples/flight/FlightProduct.sol/FlightProduct.dbg.json +4 -0
  60. package/artifacts/contracts/examples/flight/FlightProduct.sol/FlightProduct.json +2185 -0
  61. package/artifacts/contracts/examples/flight/FlightProductAuthorization.sol/FlightProductAuthorization.dbg.json +4 -0
  62. package/artifacts/contracts/examples/flight/FlightProductAuthorization.sol/FlightProductAuthorization.json +844 -0
  63. package/artifacts/contracts/examples/flight/FlightUSD.sol/FlightUSD.dbg.json +4 -0
  64. package/artifacts/contracts/examples/flight/FlightUSD.sol/FlightUSD.json +376 -0
  65. package/artifacts/contracts/examples/flight/originalV1.sol/FlightDelayChainlink.dbg.json +4 -0
  66. package/artifacts/contracts/examples/flight/originalV1.sol/FlightDelayChainlink.json +901 -0
  67. package/artifacts/contracts/examples/unpermissioned/SimpleDistribution.sol/SimpleDistribution.dbg.json +1 -1
  68. package/artifacts/contracts/examples/unpermissioned/SimpleDistribution.sol/SimpleDistribution.json +214 -215
  69. package/artifacts/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol/SimpleDistributionAuthorization.dbg.json +4 -0
  70. package/artifacts/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol/SimpleDistributionAuthorization.json +844 -0
  71. package/artifacts/contracts/examples/unpermissioned/SimpleOracle.sol/SimpleOracle.dbg.json +1 -1
  72. package/artifacts/contracts/examples/unpermissioned/SimpleOracle.sol/SimpleOracle.json +94 -110
  73. package/artifacts/contracts/examples/unpermissioned/SimplePool.sol/SimplePool.dbg.json +1 -1
  74. package/artifacts/contracts/examples/unpermissioned/SimplePool.sol/SimplePool.json +196 -165
  75. package/artifacts/contracts/examples/unpermissioned/SimplePoolAuthorization.sol/SimplePoolAuthorization.dbg.json +4 -0
  76. package/artifacts/contracts/examples/unpermissioned/SimplePoolAuthorization.sol/SimplePoolAuthorization.json +844 -0
  77. package/artifacts/contracts/examples/unpermissioned/SimpleProduct.sol/SimpleProduct.dbg.json +1 -1
  78. package/artifacts/contracts/examples/unpermissioned/SimpleProduct.sol/SimpleProduct.json +600 -306
  79. package/artifacts/contracts/examples/unpermissioned/SimpleProductAuthorization.sol/SimpleProductAuthorization.dbg.json +4 -0
  80. package/artifacts/contracts/examples/unpermissioned/SimpleProductAuthorization.sol/SimpleProductAuthorization.json +844 -0
  81. package/artifacts/contracts/instance/BaseStore.sol/BaseStore.dbg.json +4 -0
  82. package/artifacts/contracts/{shared/IKeyValueStore.sol/IKeyValueStore.json → instance/BaseStore.sol/BaseStore.json} +51 -229
  83. package/artifacts/contracts/instance/BundleSet.sol/BundleSet.dbg.json +1 -1
  84. package/artifacts/contracts/instance/BundleSet.sol/BundleSet.json +193 -45
  85. package/artifacts/contracts/instance/IBaseStore.sol/IBaseStore.dbg.json +4 -0
  86. package/artifacts/contracts/instance/IBaseStore.sol/IBaseStore.json +304 -0
  87. package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
  88. package/artifacts/contracts/instance/IInstance.sol/IInstance.json +551 -50
  89. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +1 -1
  90. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +415 -15
  91. package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
  92. package/artifacts/contracts/instance/Instance.sol/Instance.json +606 -112
  93. package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.dbg.json +1 -1
  94. package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.json +1121 -374
  95. package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.dbg.json +1 -1
  96. package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.json +379 -68
  97. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +1 -1
  98. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +1136 -561
  99. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +1 -1
  100. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +419 -82
  101. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +1 -1
  102. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +100 -54
  103. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.dbg.json +1 -1
  104. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.json +1283 -1912
  105. package/artifacts/contracts/instance/ProductStore.sol/ProductStore.dbg.json +4 -0
  106. package/artifacts/contracts/instance/ProductStore.sol/ProductStore.json +3427 -0
  107. package/artifacts/contracts/instance/RiskSet.sol/RiskSet.dbg.json +4 -0
  108. package/artifacts/contracts/instance/RiskSet.sol/RiskSet.json +866 -0
  109. package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.dbg.json +1 -1
  110. package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.json +8 -8
  111. package/artifacts/contracts/instance/base/Cloneable.sol/Cloneable.dbg.json +1 -1
  112. package/artifacts/contracts/instance/base/ObjectCounter.sol/ObjectCounter.dbg.json +1 -1
  113. package/artifacts/contracts/instance/base/ObjectCounter.sol/ObjectCounter.json +2 -2
  114. package/artifacts/contracts/instance/base/ObjectLifecycle.sol/ObjectLifecycle.dbg.json +1 -1
  115. package/artifacts/contracts/instance/base/ObjectLifecycle.sol/ObjectLifecycle.json +2 -2
  116. package/artifacts/contracts/instance/base/ObjectSet.sol/ObjectSet.dbg.json +1 -1
  117. package/artifacts/contracts/instance/base/ObjectSet.sol/ObjectSet.json +16 -5
  118. package/artifacts/contracts/instance/base/ObjectSetHelperLib.sol/ObjectSetHelperLib.dbg.json +4 -0
  119. package/artifacts/contracts/instance/base/ObjectSetHelperLib.sol/ObjectSetHelperLib.json +168 -0
  120. package/artifacts/contracts/instance/module/IBundle.sol/IBundle.dbg.json +1 -1
  121. package/artifacts/contracts/instance/module/IComponents.sol/IComponents.dbg.json +1 -1
  122. package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.dbg.json +1 -1
  123. package/artifacts/contracts/instance/module/IPolicy.sol/IPolicy.dbg.json +1 -1
  124. package/artifacts/contracts/instance/module/IRisk.sol/IRisk.dbg.json +1 -1
  125. package/artifacts/contracts/mock/Dip.sol/Dip.dbg.json +1 -1
  126. package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.dbg.json +1 -1
  127. package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.json +77 -91
  128. package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.dbg.json +1 -1
  129. package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.json +425 -54
  130. package/artifacts/contracts/oracle/IOracle.sol/IOracle.dbg.json +1 -1
  131. package/artifacts/contracts/oracle/IOracleComponent.sol/IOracleComponent.dbg.json +1 -1
  132. package/artifacts/contracts/oracle/IOracleComponent.sol/IOracleComponent.json +41 -55
  133. package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.dbg.json +1 -1
  134. package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.json +56 -3
  135. package/artifacts/contracts/oracle/Oracle.sol/Oracle.dbg.json +1 -1
  136. package/artifacts/contracts/oracle/Oracle.sol/Oracle.json +61 -75
  137. package/artifacts/contracts/oracle/OracleService.sol/OracleService.dbg.json +1 -1
  138. package/artifacts/contracts/oracle/OracleService.sol/OracleService.json +141 -81
  139. package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.dbg.json +1 -1
  140. package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.json +134 -50
  141. package/artifacts/contracts/pool/BasicPool.sol/BasicPool.dbg.json +1 -1
  142. package/artifacts/contracts/pool/BasicPool.sol/BasicPool.json +102 -124
  143. package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.dbg.json +1 -1
  144. package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.json +401 -59
  145. package/artifacts/contracts/pool/BundleService.sol/BundleService.dbg.json +1 -1
  146. package/artifacts/contracts/pool/BundleService.sol/BundleService.json +298 -329
  147. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.dbg.json +1 -1
  148. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.json +133 -97
  149. package/artifacts/contracts/pool/IBundleService.sol/IBundleService.dbg.json +1 -1
  150. package/artifacts/contracts/pool/IBundleService.sol/IBundleService.json +200 -131
  151. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.dbg.json +1 -1
  152. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.json +59 -73
  153. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.dbg.json +1 -1
  154. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.json +333 -169
  155. package/artifacts/contracts/pool/Pool.sol/Pool.dbg.json +1 -1
  156. package/artifacts/contracts/pool/Pool.sol/Pool.json +72 -86
  157. package/artifacts/contracts/pool/PoolLib.sol/PoolLib.dbg.json +4 -0
  158. package/artifacts/contracts/pool/PoolLib.sol/PoolLib.json +522 -0
  159. package/artifacts/contracts/pool/PoolService.sol/PoolService.dbg.json +1 -1
  160. package/artifacts/contracts/pool/PoolService.sol/PoolService.json +565 -367
  161. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.dbg.json +1 -1
  162. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.json +169 -69
  163. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.dbg.json +1 -1
  164. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.json +313 -64
  165. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +1 -1
  166. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.json +123 -47
  167. package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.dbg.json +1 -1
  168. package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.json +193 -192
  169. package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.dbg.json +1 -1
  170. package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.json +426 -52
  171. package/artifacts/contracts/product/ClaimService.sol/ClaimService.dbg.json +1 -1
  172. package/artifacts/contracts/product/ClaimService.sol/ClaimService.json +292 -195
  173. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +1 -1
  174. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.json +142 -94
  175. package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.dbg.json +1 -1
  176. package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.json +268 -10
  177. package/artifacts/contracts/product/IClaimService.sol/IClaimService.dbg.json +1 -1
  178. package/artifacts/contracts/product/IClaimService.sol/IClaimService.json +181 -19
  179. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.dbg.json +1 -1
  180. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.json +160 -55
  181. package/artifacts/contracts/product/IPricingService.sol/IPricingService.dbg.json +1 -1
  182. package/artifacts/contracts/product/IPricingService.sol/IPricingService.json +77 -3
  183. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.dbg.json +1 -1
  184. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.json +168 -167
  185. package/artifacts/contracts/product/IRiskService.sol/IRiskService.dbg.json +1 -1
  186. package/artifacts/contracts/product/IRiskService.sol/IRiskService.json +258 -22
  187. package/artifacts/contracts/product/PolicyService.sol/PolicyService.dbg.json +1 -1
  188. package/artifacts/contracts/product/PolicyService.sol/PolicyService.json +283 -195
  189. package/artifacts/contracts/product/PolicyServiceLib.sol/PolicyServiceLib.dbg.json +4 -0
  190. package/artifacts/contracts/product/PolicyServiceLib.sol/PolicyServiceLib.json +783 -0
  191. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +1 -1
  192. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.json +153 -81
  193. package/artifacts/contracts/product/PricingService.sol/PricingService.dbg.json +1 -1
  194. package/artifacts/contracts/product/PricingService.sol/PricingService.json +135 -126
  195. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.dbg.json +1 -1
  196. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.json +118 -70
  197. package/artifacts/contracts/product/Product.sol/Product.dbg.json +1 -1
  198. package/artifacts/contracts/product/Product.sol/Product.json +187 -186
  199. package/artifacts/contracts/product/RiskService.sol/RiskService.dbg.json +1 -1
  200. package/artifacts/contracts/product/RiskService.sol/RiskService.json +326 -91
  201. package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.dbg.json +1 -1
  202. package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.json +123 -47
  203. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
  204. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +2 -2
  205. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
  206. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +54 -19
  207. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +1 -1
  208. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +56 -3
  209. package/artifacts/contracts/registry/IRelease.sol/IRelease.dbg.json +4 -0
  210. package/artifacts/contracts/registry/IRelease.sol/IRelease.json +24 -0
  211. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +1 -1
  212. package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
  213. package/artifacts/contracts/registry/Registry.sol/Registry.json +92 -57
  214. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.dbg.json +1 -1
  215. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.json +845 -489
  216. package/artifacts/contracts/registry/RegistryAuthorization.sol/RegistryAuthorization.dbg.json +4 -0
  217. package/artifacts/contracts/registry/RegistryAuthorization.sol/RegistryAuthorization.json +1137 -0
  218. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +1 -1
  219. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +71 -35
  220. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +1 -1
  221. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +99 -43
  222. package/artifacts/contracts/registry/ReleaseAdmin.sol/ReleaseAdmin.dbg.json +4 -0
  223. package/artifacts/contracts/registry/ReleaseAdmin.sol/ReleaseAdmin.json +2271 -0
  224. package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.dbg.json +1 -1
  225. package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.json +2 -2
  226. package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.dbg.json +1 -1
  227. package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.json +398 -64
  228. package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.dbg.json +1 -1
  229. package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.json +459 -26
  230. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +1 -1
  231. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +120 -60
  232. package/artifacts/contracts/shared/Component.sol/Component.dbg.json +1 -1
  233. package/artifacts/contracts/shared/Component.sol/Component.json +60 -60
  234. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.dbg.json +1 -1
  235. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.json +269 -561
  236. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.dbg.json +1 -1
  237. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.json +134 -86
  238. package/artifacts/contracts/shared/ContractLib.sol/ContractLib.dbg.json +1 -1
  239. package/artifacts/contracts/shared/ContractLib.sol/ContractLib.json +525 -4
  240. package/artifacts/contracts/shared/ContractLib.sol/IInstanceAdminHelper.dbg.json +4 -0
  241. package/artifacts/contracts/shared/ContractLib.sol/IInstanceAdminHelper.json +24 -0
  242. package/artifacts/contracts/shared/ContractLib.sol/ITargetHelper.dbg.json +4 -0
  243. package/artifacts/contracts/shared/ContractLib.sol/ITargetHelper.json +30 -0
  244. package/artifacts/contracts/shared/ContractLib.sol/ITokenRegistryHelper.dbg.json +4 -0
  245. package/artifacts/contracts/shared/ContractLib.sol/ITokenRegistryHelper.json +40 -0
  246. package/artifacts/contracts/shared/IComponent.sol/IComponent.dbg.json +1 -1
  247. package/artifacts/contracts/shared/IComponent.sol/IComponent.json +41 -41
  248. package/artifacts/contracts/shared/IComponentService.sol/IComponentService.dbg.json +1 -1
  249. package/artifacts/contracts/shared/IComponentService.sol/IComponentService.json +155 -382
  250. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.dbg.json +1 -1
  251. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.json +41 -55
  252. package/artifacts/contracts/shared/ILifecycle.sol/ILifecycle.dbg.json +1 -1
  253. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +1 -1
  254. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.json +19 -0
  255. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.dbg.json +1 -1
  256. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
  257. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +139 -1
  258. package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.dbg.json +1 -1
  259. package/artifacts/contracts/shared/IService.sol/IService.dbg.json +1 -1
  260. package/artifacts/contracts/shared/IService.sol/IService.json +56 -3
  261. package/artifacts/contracts/shared/InitializableERC165.sol/InitializableERC165.dbg.json +1 -1
  262. package/artifacts/contracts/shared/InitializableERC165.sol/InitializableERC165.json +2 -2
  263. package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.dbg.json +1 -1
  264. package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.json +60 -74
  265. package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.dbg.json +1 -1
  266. package/artifacts/contracts/shared/NftIdSet.sol/NftIdSet.dbg.json +1 -1
  267. package/artifacts/contracts/shared/NftIdSet.sol/NftIdSet.json +2 -2
  268. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +1 -1
  269. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +21 -2
  270. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.dbg.json +1 -1
  271. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.json +2 -2
  272. package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
  273. package/artifacts/contracts/shared/Registerable.sol/Registerable.json +137 -62
  274. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.dbg.json +1 -1
  275. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.json +2 -2
  276. package/artifacts/contracts/shared/Service.sol/Service.dbg.json +1 -1
  277. package/artifacts/contracts/shared/Service.sol/Service.json +51 -11
  278. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +1 -1
  279. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +63 -162
  280. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandlerBase.dbg.json +1 -1
  281. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandlerBase.json +118 -29
  282. package/artifacts/contracts/shared/TokenHandlerDeployerLib.sol/TokenHandlerDeployerLib.dbg.json +1 -1
  283. package/artifacts/contracts/shared/TokenHandlerDeployerLib.sol/TokenHandlerDeployerLib.json +32 -32
  284. package/artifacts/contracts/staking/IStaking.sol/IStaking.dbg.json +1 -1
  285. package/artifacts/contracts/staking/IStaking.sol/IStaking.json +1457 -145
  286. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.dbg.json +1 -1
  287. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.json +214 -110
  288. package/artifacts/contracts/staking/ITargetLimitHandler.sol/ITargetLimitHandler.dbg.json +4 -0
  289. package/artifacts/contracts/staking/ITargetLimitHandler.sol/ITargetLimitHandler.json +50 -0
  290. package/artifacts/contracts/staking/Staking.sol/Staking.dbg.json +1 -1
  291. package/artifacts/contracts/staking/Staking.sol/Staking.json +1634 -275
  292. package/artifacts/contracts/staking/StakingLib.sol/StakingLib.dbg.json +4 -0
  293. package/artifacts/contracts/staking/StakingLib.sol/StakingLib.json +470 -0
  294. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.dbg.json +1 -1
  295. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.json +149 -62
  296. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.dbg.json +1 -1
  297. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.json +294 -177
  298. package/artifacts/contracts/staking/StakingService.sol/StakingService.dbg.json +1 -1
  299. package/artifacts/contracts/staking/StakingService.sol/StakingService.json +253 -174
  300. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.dbg.json +1 -1
  301. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.json +102 -50
  302. package/artifacts/contracts/staking/StakingStore.sol/StakingStore.dbg.json +1 -1
  303. package/artifacts/contracts/staking/StakingStore.sol/StakingStore.json +1632 -818
  304. package/artifacts/contracts/staking/TargetHandler.sol/TargetHandler.dbg.json +4 -0
  305. package/artifacts/contracts/staking/TargetHandler.sol/TargetHandler.json +309 -0
  306. package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.dbg.json +1 -1
  307. package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.json +160 -88
  308. package/artifacts/contracts/type/AddressSet.sol/LibAddressSet.dbg.json +1 -1
  309. package/artifacts/contracts/type/Amount.sol/AmountLib.dbg.json +1 -1
  310. package/artifacts/contracts/type/Amount.sol/AmountLib.json +11 -11
  311. package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.dbg.json +1 -1
  312. package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.json +64 -19
  313. package/artifacts/contracts/type/ChainId.sol/ChainIdLib.dbg.json +4 -0
  314. package/artifacts/contracts/type/ChainId.sol/ChainIdLib.json +193 -0
  315. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.dbg.json +1 -1
  316. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.json +2 -2
  317. package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.dbg.json +1 -1
  318. package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.json +2 -2
  319. package/artifacts/contracts/type/Fee.sol/FeeLib.dbg.json +1 -1
  320. package/artifacts/contracts/type/Fee.sol/FeeLib.json +94 -38
  321. package/artifacts/contracts/type/Key32.sol/Key32Lib.dbg.json +1 -1
  322. package/artifacts/contracts/type/Key32.sol/Key32Lib.json +2 -2
  323. package/artifacts/contracts/type/Key32Set.sol/LibKey32Set.dbg.json +4 -0
  324. package/artifacts/contracts/type/Key32Set.sol/LibKey32Set.json +33 -0
  325. package/artifacts/contracts/type/NftId.sol/NftIdLib.dbg.json +1 -1
  326. package/artifacts/contracts/type/NftId.sol/NftIdLib.json +23 -4
  327. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.dbg.json +1 -1
  328. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.json +2 -2
  329. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.dbg.json +1 -1
  330. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.json +49 -50
  331. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.dbg.json +1 -1
  332. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.json +2 -2
  333. package/artifacts/contracts/type/Referral.sol/ReferralLib.dbg.json +1 -1
  334. package/artifacts/contracts/type/Referral.sol/ReferralLib.json +23 -4
  335. package/artifacts/contracts/type/RequestId.sol/RequestIdLib.dbg.json +1 -1
  336. package/artifacts/contracts/type/RequestId.sol/RequestIdLib.json +2 -2
  337. package/artifacts/contracts/type/RequestIdSet.sol/LibRequestIdSet.dbg.json +4 -0
  338. package/artifacts/contracts/type/RequestIdSet.sol/LibRequestIdSet.json +33 -0
  339. package/artifacts/contracts/type/RiskId.sol/RiskIdLib.dbg.json +1 -1
  340. package/artifacts/contracts/type/RiskId.sol/RiskIdLib.json +69 -7
  341. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.dbg.json +1 -1
  342. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.json +42 -157
  343. package/artifacts/contracts/type/Seconds.sol/SecondsLib.dbg.json +1 -1
  344. package/artifacts/contracts/type/Seconds.sol/SecondsLib.json +64 -2
  345. package/artifacts/contracts/type/Selector.sol/SelectorLib.dbg.json +1 -1
  346. package/artifacts/contracts/type/Selector.sol/SelectorLib.json +21 -2
  347. package/artifacts/contracts/type/Selector.sol/SelectorSetLib.dbg.json +1 -1
  348. package/artifacts/contracts/type/Selector.sol/SelectorSetLib.json +2 -2
  349. package/artifacts/contracts/type/StateId.sol/StateIdLib.dbg.json +1 -1
  350. package/artifacts/contracts/type/String.sol/StrLib.dbg.json +1 -1
  351. package/artifacts/contracts/type/String.sol/StrLib.json +69 -2
  352. package/artifacts/contracts/type/Timestamp.sol/TimestampLib.dbg.json +1 -1
  353. package/artifacts/contracts/type/Timestamp.sol/TimestampLib.json +37 -5
  354. package/artifacts/contracts/type/UFixed.sol/UFixedLib.dbg.json +1 -1
  355. package/artifacts/contracts/type/UFixed.sol/UFixedLib.json +61 -37
  356. package/artifacts/contracts/type/Version.sol/VersionLib.dbg.json +1 -1
  357. package/artifacts/contracts/type/Version.sol/VersionLib.json +2 -21
  358. package/artifacts/contracts/type/Version.sol/VersionPartLib.dbg.json +1 -1
  359. package/artifacts/contracts/type/Version.sol/VersionPartLib.json +101 -2
  360. package/artifacts/contracts/upgradeability/IVersionable.sol/IVersionable.dbg.json +1 -1
  361. package/artifacts/contracts/upgradeability/IVersionable.sol/IVersionable.json +10 -0
  362. package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.dbg.json +1 -1
  363. package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.json +81 -27
  364. package/artifacts/contracts/upgradeability/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +1 -1
  365. package/artifacts/contracts/upgradeability/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +15 -2
  366. package/artifacts/contracts/upgradeability/Versionable.sol/Versionable.dbg.json +1 -1
  367. package/artifacts/contracts/upgradeability/Versionable.sol/Versionable.json +10 -0
  368. package/contracts/accounting/AccountingService.sol +274 -0
  369. package/contracts/accounting/AccountingServiceManager.sol +38 -0
  370. package/contracts/accounting/IAccountingService.sol +47 -0
  371. package/contracts/authorization/AccessAdmin.sol +389 -306
  372. package/contracts/authorization/AccessAdminLib.sol +678 -0
  373. package/contracts/authorization/AccessManagerCloneable.sol +128 -4
  374. package/contracts/authorization/Authorization.sol +161 -260
  375. package/contracts/authorization/IAccess.sol +29 -12
  376. package/contracts/authorization/IAccessAdmin.sol +89 -84
  377. package/contracts/authorization/IAuthorization.sol +9 -43
  378. package/contracts/authorization/IServiceAuthorization.sol +55 -17
  379. package/contracts/authorization/ServiceAuthorization.sol +228 -34
  380. package/contracts/distribution/BasicDistribution.sol +19 -18
  381. package/contracts/distribution/BasicDistributionAuthorization.sol +30 -10
  382. package/contracts/distribution/Distribution.sol +45 -85
  383. package/contracts/distribution/DistributionService.sol +192 -99
  384. package/contracts/distribution/DistributionServiceManager.sol +1 -1
  385. package/contracts/distribution/IDistributionComponent.sol +3 -10
  386. package/contracts/distribution/IDistributionService.sol +38 -24
  387. package/contracts/examples/fire/FirePool.sol +6 -6
  388. package/contracts/examples/fire/FirePoolAuthorization.sol +2 -1
  389. package/contracts/examples/fire/FireProduct.sol +15 -13
  390. package/contracts/examples/fire/FireProductAuthorization.sol +2 -1
  391. package/contracts/examples/flight/FlightLib.sol +279 -0
  392. package/contracts/examples/flight/FlightOracle.sol +168 -0
  393. package/contracts/examples/flight/FlightOracleAuthorization.sol +34 -0
  394. package/contracts/examples/flight/FlightPool.sol +89 -0
  395. package/contracts/examples/flight/FlightPoolAuthorization.sol +37 -0
  396. package/contracts/examples/flight/FlightProduct.sol +470 -0
  397. package/contracts/examples/flight/FlightProductAuthorization.sol +44 -0
  398. package/contracts/examples/flight/FlightUSD.sol +26 -0
  399. package/contracts/examples/flight/originalV1.sol +396 -0
  400. package/contracts/examples/unpermissioned/SimpleDistribution.sol +34 -11
  401. package/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol +28 -0
  402. package/contracts/examples/unpermissioned/SimpleOracle.sol +4 -8
  403. package/contracts/examples/unpermissioned/SimplePool.sol +7 -13
  404. package/contracts/examples/unpermissioned/SimplePoolAuthorization.sol +28 -0
  405. package/contracts/examples/unpermissioned/SimpleProduct.sol +119 -27
  406. package/contracts/examples/unpermissioned/SimpleProductAuthorization.sol +28 -0
  407. package/contracts/instance/BaseStore.sol +93 -0
  408. package/contracts/instance/BundleSet.sol +42 -38
  409. package/contracts/instance/IBaseStore.sol +37 -0
  410. package/contracts/instance/IInstance.sol +109 -19
  411. package/contracts/instance/IInstanceService.sol +59 -11
  412. package/contracts/instance/Instance.sol +184 -65
  413. package/contracts/instance/InstanceAdmin.sol +221 -191
  414. package/contracts/instance/InstanceAuthorizationV3.sol +153 -72
  415. package/contracts/instance/InstanceReader.sol +447 -314
  416. package/contracts/instance/InstanceService.sol +305 -205
  417. package/contracts/instance/InstanceServiceManager.sol +1 -1
  418. package/contracts/instance/InstanceStore.sol +152 -116
  419. package/contracts/instance/ProductStore.sol +290 -0
  420. package/contracts/instance/RiskSet.sol +126 -0
  421. package/contracts/instance/TargetNames.sol +10 -0
  422. package/contracts/instance/base/BalanceStore.sol +4 -6
  423. package/contracts/instance/base/ObjectCounter.sol +1 -2
  424. package/contracts/instance/base/ObjectLifecycle.sol +6 -8
  425. package/contracts/instance/base/ObjectSet.sol +31 -33
  426. package/contracts/instance/base/ObjectSetHelperLib.sol +30 -0
  427. package/contracts/instance/module/IBundle.sol +6 -5
  428. package/contracts/instance/module/IComponents.sol +18 -8
  429. package/contracts/instance/module/IDistribution.sol +21 -8
  430. package/contracts/instance/module/IPolicy.sol +28 -8
  431. package/contracts/instance/module/IRisk.sol +5 -0
  432. package/contracts/oracle/BasicOracle.sol +3 -6
  433. package/contracts/oracle/BasicOracleAuthorization.sol +15 -8
  434. package/contracts/oracle/IOracle.sol +9 -4
  435. package/contracts/oracle/IOracleService.sol +12 -12
  436. package/contracts/oracle/Oracle.sol +5 -9
  437. package/contracts/oracle/OracleService.sol +98 -80
  438. package/contracts/oracle/OracleServiceManager.sol +1 -1
  439. package/contracts/pool/BasicPool.sol +4 -18
  440. package/contracts/pool/BasicPoolAuthorization.sol +29 -16
  441. package/contracts/pool/BundleService.sol +66 -165
  442. package/contracts/pool/BundleServiceManager.sol +1 -1
  443. package/contracts/pool/IBundleService.sol +27 -51
  444. package/contracts/pool/IPoolService.sol +56 -58
  445. package/contracts/pool/Pool.sol +15 -29
  446. package/contracts/pool/PoolLib.sol +341 -0
  447. package/contracts/pool/PoolService.sol +221 -227
  448. package/contracts/pool/PoolServiceManager.sol +1 -1
  449. package/contracts/product/ApplicationService.sol +93 -25
  450. package/contracts/product/ApplicationServiceManager.sol +1 -1
  451. package/contracts/product/BasicProduct.sol +4 -5
  452. package/contracts/product/BasicProductAuthorization.sol +33 -11
  453. package/contracts/product/ClaimService.sol +221 -209
  454. package/contracts/product/ClaimServiceManager.sol +1 -1
  455. package/contracts/product/IApplicationService.sol +28 -3
  456. package/contracts/product/IClaimService.sol +18 -5
  457. package/contracts/product/IPolicyService.sol +31 -11
  458. package/contracts/product/IPricingService.sol +1 -0
  459. package/contracts/product/IProductComponent.sol +4 -1
  460. package/contracts/product/IRiskService.sol +25 -10
  461. package/contracts/product/PolicyService.sol +252 -302
  462. package/contracts/product/PolicyServiceLib.sol +139 -0
  463. package/contracts/product/PolicyServiceManager.sol +1 -1
  464. package/contracts/product/PricingService.sol +52 -46
  465. package/contracts/product/PricingServiceManager.sol +3 -3
  466. package/contracts/product/Product.sol +95 -36
  467. package/contracts/product/RiskService.sol +130 -37
  468. package/contracts/product/RiskServiceManager.sol +1 -1
  469. package/contracts/registry/ChainNft.sol +4 -2
  470. package/contracts/registry/IRegistry.sol +23 -24
  471. package/contracts/registry/IRelease.sol +29 -0
  472. package/contracts/registry/Registry.sol +22 -11
  473. package/contracts/registry/RegistryAdmin.sol +94 -383
  474. package/contracts/registry/RegistryAuthorization.sol +337 -0
  475. package/contracts/registry/RegistryService.sol +4 -4
  476. package/contracts/registry/RegistryServiceManager.sol +1 -1
  477. package/contracts/registry/ReleaseAdmin.sol +199 -0
  478. package/contracts/registry/ReleaseLifecycle.sol +2 -0
  479. package/contracts/registry/ReleaseRegistry.sol +157 -117
  480. package/contracts/registry/ServiceAuthorizationV3.sol +193 -54
  481. package/contracts/registry/TokenRegistry.sol +61 -59
  482. package/contracts/shared/Component.sol +36 -55
  483. package/contracts/shared/ComponentService.sol +350 -438
  484. package/contracts/shared/ComponentServiceManager.sol +1 -1
  485. package/contracts/shared/ContractLib.sol +260 -2
  486. package/contracts/shared/IComponent.sol +1 -10
  487. package/contracts/shared/IComponentService.sol +22 -41
  488. package/contracts/shared/IInstanceLinkedComponent.sol +0 -11
  489. package/contracts/shared/INftOwnable.sol +2 -0
  490. package/contracts/shared/IRegisterable.sol +15 -5
  491. package/contracts/shared/IService.sol +3 -5
  492. package/contracts/shared/InitializableERC165.sol +9 -1
  493. package/contracts/shared/InstanceLinkedComponent.sol +62 -35
  494. package/contracts/shared/NftOwnable.sol +8 -6
  495. package/contracts/shared/PolicyHolder.sol +4 -3
  496. package/contracts/shared/Registerable.sol +42 -19
  497. package/contracts/shared/RegistryLinked.sol +1 -1
  498. package/contracts/shared/Service.sol +13 -30
  499. package/contracts/shared/TokenHandler.sol +45 -100
  500. package/contracts/staking/IStaking.sol +265 -72
  501. package/contracts/staking/IStakingService.sol +45 -75
  502. package/contracts/staking/ITargetLimitHandler.sol +17 -0
  503. package/contracts/staking/Staking.sol +502 -210
  504. package/contracts/staking/{StakeManagerLib.sol → StakingLib.sol} +55 -84
  505. package/contracts/staking/StakingManager.sol +4 -3
  506. package/contracts/staking/StakingReader.sol +58 -77
  507. package/contracts/staking/StakingService.sol +62 -194
  508. package/contracts/staking/StakingServiceManager.sol +6 -4
  509. package/contracts/staking/StakingStore.sol +1093 -330
  510. package/contracts/staking/TargetHandler.sol +132 -0
  511. package/contracts/staking/TargetManagerLib.sol +69 -46
  512. package/contracts/type/Amount.sol +4 -0
  513. package/contracts/type/Blocknumber.sol +17 -22
  514. package/contracts/type/ChainId.sol +101 -0
  515. package/contracts/type/Fee.sol +8 -8
  516. package/contracts/type/Key32.sol +2 -2
  517. package/contracts/type/Key32Set.sol +62 -0
  518. package/contracts/type/NftId.sol +6 -0
  519. package/contracts/type/ObjectType.sol +70 -68
  520. package/contracts/type/Referral.sol +6 -0
  521. package/contracts/type/RequestIdSet.sol +62 -0
  522. package/contracts/type/RiskId.sol +26 -8
  523. package/contracts/type/RoleId.sol +63 -45
  524. package/contracts/type/Seconds.sol +23 -0
  525. package/contracts/type/Selector.sol +5 -0
  526. package/contracts/type/String.sol +42 -0
  527. package/contracts/type/Timestamp.sol +14 -8
  528. package/contracts/type/UFixed.sol +35 -127
  529. package/contracts/type/Version.sol +54 -5
  530. package/contracts/upgradeability/IVersionable.sol +3 -0
  531. package/contracts/upgradeability/ProxyManager.sol +27 -13
  532. package/contracts/upgradeability/UpgradableProxyWithAdmin.sol +12 -2
  533. package/contracts/upgradeability/Versionable.sol +6 -3
  534. package/package.json +2 -2
  535. package/artifacts/contracts/authorization/ReleaseAccessManager.sol/ReleaseAccessManager.dbg.json +0 -4
  536. package/artifacts/contracts/authorization/ReleaseAccessManager.sol/ReleaseAccessManager.json +0 -1196
  537. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.dbg.json +0 -4
  538. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.json +0 -129
  539. package/artifacts/contracts/shared/ComponentVerifyingService.sol/ComponentVerifyingService.dbg.json +0 -4
  540. package/artifacts/contracts/shared/ComponentVerifyingService.sol/ComponentVerifyingService.json +0 -474
  541. package/artifacts/contracts/shared/IKeyValueStore.sol/IKeyValueStore.dbg.json +0 -4
  542. package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.dbg.json +0 -4
  543. package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.json +0 -538
  544. package/artifacts/contracts/staking/StakeManagerLib.sol/StakeManagerLib.dbg.json +0 -4
  545. package/artifacts/contracts/staking/StakeManagerLib.sol/StakeManagerLib.json +0 -440
  546. package/artifacts/contracts/staking/StakingLifecycle.sol/StakingLifecycle.dbg.json +0 -4
  547. package/artifacts/contracts/staking/StakingLifecycle.sol/StakingLifecycle.json +0 -205
  548. package/artifacts/contracts/type/UFixed.sol/MathLib.dbg.json +0 -4
  549. package/artifacts/contracts/type/UFixed.sol/MathLib.json +0 -16
  550. package/contracts/authorization/ReleaseAccessManager.sol +0 -38
  551. package/contracts/instance/module/IAccess.sol +0 -46
  552. package/contracts/shared/ComponentVerifyingService.sol +0 -128
  553. package/contracts/shared/IKeyValueStore.sol +0 -54
  554. package/contracts/shared/KeyValueStore.sol +0 -131
  555. package/contracts/staking/StakingLifecycle.sol +0 -23
@@ -14,9 +14,116 @@
14
14
  "stateMutability": "nonpayable",
15
15
  "type": "constructor"
16
16
  },
17
+ {
18
+ "inputs": [
19
+ {
20
+ "internalType": "string",
21
+ "name": "commitHash",
22
+ "type": "string"
23
+ }
24
+ ],
25
+ "name": "ErrorAuthorizationCommitHashInvalid",
26
+ "type": "error"
27
+ },
28
+ {
29
+ "inputs": [],
30
+ "name": "ErrorAuthorizationMainTargetNameEmpty",
31
+ "type": "error"
32
+ },
33
+ {
34
+ "inputs": [
35
+ {
36
+ "internalType": "uint8",
37
+ "name": "release",
38
+ "type": "uint8"
39
+ }
40
+ ],
41
+ "name": "ErrorAuthorizationReleaseInvalid",
42
+ "type": "error"
43
+ },
44
+ {
45
+ "inputs": [],
46
+ "name": "ErrorAuthorizationTargetDomainZero",
47
+ "type": "error"
48
+ },
49
+ {
50
+ "inputs": [],
51
+ "name": "InvalidInitialization",
52
+ "type": "error"
53
+ },
54
+ {
55
+ "inputs": [],
56
+ "name": "NotInitializing",
57
+ "type": "error"
58
+ },
59
+ {
60
+ "anonymous": false,
61
+ "inputs": [
62
+ {
63
+ "indexed": false,
64
+ "internalType": "uint64",
65
+ "name": "version",
66
+ "type": "uint64"
67
+ }
68
+ ],
69
+ "name": "Initialized",
70
+ "type": "event"
71
+ },
72
+ {
73
+ "inputs": [],
74
+ "name": "COMMIT_HASH",
75
+ "outputs": [
76
+ {
77
+ "internalType": "string",
78
+ "name": "",
79
+ "type": "string"
80
+ }
81
+ ],
82
+ "stateMutability": "view",
83
+ "type": "function"
84
+ },
85
+ {
86
+ "inputs": [],
87
+ "name": "COMMIT_HASH_LENGTH",
88
+ "outputs": [
89
+ {
90
+ "internalType": "uint256",
91
+ "name": "",
92
+ "type": "uint256"
93
+ }
94
+ ],
95
+ "stateMutability": "view",
96
+ "type": "function"
97
+ },
98
+ {
99
+ "inputs": [],
100
+ "name": "COMPONENT_ROLE_MIN",
101
+ "outputs": [
102
+ {
103
+ "internalType": "uint64",
104
+ "name": "",
105
+ "type": "uint64"
106
+ }
107
+ ],
108
+ "stateMutability": "view",
109
+ "type": "function"
110
+ },
111
+ {
112
+ "inputs": [],
113
+ "name": "DOMAIN",
114
+ "outputs": [
115
+ {
116
+ "internalType": "ObjectType",
117
+ "name": "",
118
+ "type": "uint8"
119
+ }
120
+ ],
121
+ "stateMutability": "view",
122
+ "type": "function"
123
+ },
17
124
  {
18
125
  "inputs": [],
19
- "name": "GIF_RELEASE",
126
+ "name": "GIF_INITIAL_VERSION",
20
127
  "outputs": [
21
128
  {
22
129
  "internalType": "uint256",
@@ -27,6 +134,19 @@
27
134
  "stateMutability": "view",
28
135
  "type": "function"
29
136
  },
137
+ {
138
+ "inputs": [],
139
+ "name": "INSTANCE_ROLE_MIN",
140
+ "outputs": [
141
+ {
142
+ "internalType": "uint64",
143
+ "name": "",
144
+ "type": "uint64"
145
+ }
146
+ ],
147
+ "stateMutability": "view",
148
+ "type": "function"
149
+ },
30
150
  {
31
151
  "inputs": [],
32
152
  "name": "ROLE_NAME_SUFFIX",
@@ -42,7 +162,7 @@
42
162
  },
43
163
  {
44
164
  "inputs": [],
45
- "name": "SERVICE_ROLE_NAME_SUFFIX",
165
+ "name": "SERVICE_NAME_SUFFIX",
46
166
  "outputs": [
47
167
  {
48
168
  "internalType": "string",
@@ -84,6 +204,11 @@
84
204
  "internalType": "Timestamp",
85
205
  "name": "createdAt",
86
206
  "type": "uint40"
207
+ },
208
+ {
209
+ "internalType": "Blocknumber",
210
+ "name": "lastUpdateIn",
211
+ "type": "uint40"
87
212
  }
88
213
  ],
89
214
  "internalType": "struct IAccess.FunctionInfo[]",
@@ -113,19 +238,58 @@
113
238
  "stateMutability": "view",
114
239
  "type": "function"
115
240
  },
241
+ {
242
+ "inputs": [],
243
+ "name": "getCommitHash",
244
+ "outputs": [
245
+ {
246
+ "internalType": "string",
247
+ "name": "commitHash",
248
+ "type": "string"
249
+ }
250
+ ],
251
+ "stateMutability": "view",
252
+ "type": "function"
253
+ },
254
+ {
255
+ "inputs": [],
256
+ "name": "getDomain",
257
+ "outputs": [
258
+ {
259
+ "internalType": "ObjectType",
260
+ "name": "targetDomain",
261
+ "type": "uint8"
262
+ }
263
+ ],
264
+ "stateMutability": "view",
265
+ "type": "function"
266
+ },
116
267
  {
117
268
  "inputs": [],
118
269
  "name": "getMainTarget",
119
270
  "outputs": [
120
271
  {
121
272
  "internalType": "Str",
122
- "name": "",
273
+ "name": "target",
123
274
  "type": "bytes32"
124
275
  }
125
276
  ],
126
277
  "stateMutability": "view",
127
278
  "type": "function"
128
279
  },
280
+ {
281
+ "inputs": [],
282
+ "name": "getMainTargetName",
283
+ "outputs": [
284
+ {
285
+ "internalType": "string",
286
+ "name": "name",
287
+ "type": "string"
288
+ }
289
+ ],
290
+ "stateMutability": "view",
291
+ "type": "function"
292
+ },
129
293
  {
130
294
  "inputs": [],
131
295
  "name": "getRelease",
@@ -136,7 +300,7 @@
136
300
  "type": "uint8"
137
301
  }
138
302
  ],
139
- "stateMutability": "pure",
303
+ "stateMutability": "view",
140
304
  "type": "function"
141
305
  },
142
306
  {
@@ -157,8 +321,8 @@
157
321
  "type": "uint64"
158
322
  },
159
323
  {
160
- "internalType": "enum IAccess.RoleType",
161
- "name": "roleType",
324
+ "internalType": "enum IAccess.TargetType",
325
+ "name": "targetType",
162
326
  "type": "uint8"
163
327
  },
164
328
  {
@@ -166,11 +330,6 @@
166
330
  "name": "maxMemberCount",
167
331
  "type": "uint32"
168
332
  },
169
- {
170
- "internalType": "Str",
171
- "name": "name",
172
- "type": "bytes32"
173
- },
174
333
  {
175
334
  "internalType": "Timestamp",
176
335
  "name": "createdAt",
@@ -180,6 +339,16 @@
180
339
  "internalType": "Timestamp",
181
340
  "name": "pausedAt",
182
341
  "type": "uint40"
342
+ },
343
+ {
344
+ "internalType": "Blocknumber",
345
+ "name": "lastUpdateIn",
346
+ "type": "uint40"
347
+ },
348
+ {
349
+ "internalType": "Str",
350
+ "name": "name",
351
+ "type": "bytes32"
183
352
  }
184
353
  ],
185
354
  "internalType": "struct IAccess.RoleInfo",
@@ -190,6 +359,25 @@
190
359
  "stateMutability": "view",
191
360
  "type": "function"
192
361
  },
362
+ {
363
+ "inputs": [
364
+ {
365
+ "internalType": "RoleId",
366
+ "name": "roleId",
367
+ "type": "uint64"
368
+ }
369
+ ],
370
+ "name": "getRoleName",
371
+ "outputs": [
372
+ {
373
+ "internalType": "string",
374
+ "name": "roleName",
375
+ "type": "string"
376
+ }
377
+ ],
378
+ "stateMutability": "view",
379
+ "type": "function"
380
+ },
193
381
  {
194
382
  "inputs": [],
195
383
  "name": "getRoles",
@@ -203,6 +391,44 @@
203
391
  "stateMutability": "view",
204
392
  "type": "function"
205
393
  },
394
+ {
395
+ "inputs": [
396
+ {
397
+ "internalType": "ObjectType",
398
+ "name": "serviceDomain",
399
+ "type": "uint8"
400
+ }
401
+ ],
402
+ "name": "getServiceAddress",
403
+ "outputs": [
404
+ {
405
+ "internalType": "address",
406
+ "name": "service",
407
+ "type": "address"
408
+ }
409
+ ],
410
+ "stateMutability": "view",
411
+ "type": "function"
412
+ },
413
+ {
414
+ "inputs": [
415
+ {
416
+ "internalType": "uint256",
417
+ "name": "idx",
418
+ "type": "uint256"
419
+ }
420
+ ],
421
+ "name": "getServiceDomain",
422
+ "outputs": [
423
+ {
424
+ "internalType": "ObjectType",
425
+ "name": "serviceDomain",
426
+ "type": "uint8"
427
+ }
428
+ ],
429
+ "stateMutability": "view",
430
+ "type": "function"
431
+ },
206
432
  {
207
433
  "inputs": [],
208
434
  "name": "getServiceDomains",
@@ -232,7 +458,7 @@
232
458
  "type": "uint64"
233
459
  }
234
460
  ],
235
- "stateMutability": "pure",
461
+ "stateMutability": "view",
236
462
  "type": "function"
237
463
  },
238
464
  {
@@ -247,7 +473,7 @@
247
473
  "outputs": [
248
474
  {
249
475
  "internalType": "Str",
250
- "name": "serviceTarget",
476
+ "name": "target",
251
477
  "type": "bytes32"
252
478
  }
253
479
  ],
@@ -270,20 +496,7 @@
270
496
  "type": "bytes32"
271
497
  }
272
498
  ],
273
- "stateMutability": "view",
274
- "type": "function"
275
- },
276
- {
277
- "inputs": [],
278
- "name": "getTargetName",
279
- "outputs": [
280
- {
281
- "internalType": "string",
282
- "name": "name",
283
- "type": "string"
284
- }
285
- ],
286
- "stateMutability": "view",
499
+ "stateMutability": "pure",
287
500
  "type": "function"
288
501
  },
289
502
  {
@@ -318,6 +531,32 @@
318
531
  "stateMutability": "view",
319
532
  "type": "function"
320
533
  },
534
+ {
535
+ "inputs": [],
536
+ "name": "getTokenHandlerName",
537
+ "outputs": [
538
+ {
539
+ "internalType": "string",
540
+ "name": "",
541
+ "type": "string"
542
+ }
543
+ ],
544
+ "stateMutability": "view",
545
+ "type": "function"
546
+ },
547
+ {
548
+ "inputs": [],
549
+ "name": "getTokenHandlerTarget",
550
+ "outputs": [
551
+ {
552
+ "internalType": "Str",
553
+ "name": "",
554
+ "type": "bytes32"
555
+ }
556
+ ],
557
+ "stateMutability": "view",
558
+ "type": "function"
559
+ },
321
560
  {
322
561
  "inputs": [
323
562
  {
@@ -337,6 +576,25 @@
337
576
  "stateMutability": "view",
338
577
  "type": "function"
339
578
  },
579
+ {
580
+ "inputs": [
581
+ {
582
+ "internalType": "bytes4",
583
+ "name": "interfaceId",
584
+ "type": "bytes4"
585
+ }
586
+ ],
587
+ "name": "supportsInterface",
588
+ "outputs": [
589
+ {
590
+ "internalType": "bool",
591
+ "name": "",
592
+ "type": "bool"
593
+ }
594
+ ],
595
+ "stateMutability": "view",
596
+ "type": "function"
597
+ },
340
598
  {
341
599
  "inputs": [
342
600
  {
@@ -357,18 +615,54 @@
357
615
  "type": "function"
358
616
  }
359
617
  ],
360
- "bytecode": "0x60c0604052600960809081526810dbdb5c1bdb995b9d60ba1b60a0526002906100289082611343565b50348015610034575f80fd5b506040516123f63803806123f6833981016040819052610053916113fd565b8060026100608282611343565b50610069610080565b61007161008c565b610079610096565b505061166b565b61008a600f6103fe565b565b61008a600f6107ac565b5f6100af6100a26107b6565b6100aa610846565b6108c6565b90506100e681636c1e9dff60e01b604051806040016040528060058152602001647374616b6560d81b8152506109a060201b60201c565b604080518082019091526007815266756e7374616b6560c81b60208201526101189082906326889b0960e01b906109a0565b604080518082019091526006815265195e1d195b9960d21b60208201526101499082906379e872e960e11b906109a0565b60408051808201909152600a8152696c6f636b42756e646c6560b01b602082015261017e90829063fde0a3cd60e01b906109a0565b60408051808201909152600c81526b756e6c6f636b42756e646c6560a01b60208201526101b5908290630378874560e51b906109a0565b60408051808201909152600b81526a636c6f736542756e646c6560a81b60208201526101eb90829063d0d63b0960e01b906109a0565b60408051808201909152600c81526b73657442756e646c6546656560a01b602082015261022290829063636450f560e01b906109a0565b60408051808201909152601381527f7365744d617842616c616e6365416d6f756e7400000000000000000000000000602082015261026a90829063bca99e3960e01b906109a0565b6040805180820190915260078152667365744665657360c81b602082015261029c908290634133c3b360e11b906109a0565b6040805180820190915260058152647374616b6560d81b60208201526102cc908290636c1e9dff60e01b906109a0565b604080518082019091526007815266756e7374616b6560c81b60208201526102fe9082906326889b0960e01b906109a0565b604080518082019091526006815265195e1d195b9960d21b602082015261032f9082906379e872e960e11b906109a0565b60408051808201909152600c81526b77697468647261774665657360a01b60208201526103669082906301c6b21960e41b906109a0565b604080518082019091526012815271776974686472617742756e646c654665657360701b60208201526103a39082906354e5077960e01b906109a0565b6103b86103ae6107b6565b6100aa600f610b7d565b90506103fb81634deed57960e01b604051806040016040528060118152602001703b32b934b33ca0b8383634b1b0ba34b7b760791b8152506109a060201b60201c565b50565b5f8054600181018255818052602081047f290decd9548b62a8d60345a988386fc84ba6bc95484008f6362f93160ef3e56301805460ff858116601f9094166101000a848102910219909116179055604051632b95d28f60e21b8152600481019190915273__$0d958e68cba84670b8f4a3f2f2686b1c6b$__9063f7fa7a7c90829063ae574a3c906024015f60405180830381865af41580156104a2573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526104c991908101906113fd565b6104d1610c0e565b604051632b10f60d60e21b815260ff909116600482015273__$b659da7d8a6d2d32aa6c1e17da23dc2174$__9063ac43d83490602401602060405180830381865af4158015610522573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061054691906114ad565b6040518363ffffffff1660e01b81526004016105639291906114f2565b5f60405180830381865af415801561057d573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526105a491908101906113fd565b60405163cdc23e6960e01b815290915073__$9a094f9b231ed0f5f85a69be8408d93180$__9063cdc23e69906105de908490600401611534565b602060405180830381865af41580156105f9573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061061d91906114ad565b60ff83165f9081526001602052604081209190915561063b83610b7d565b604051632b95d28f60e21b815260ff851660048201529091505f9073__$0d958e68cba84670b8f4a3f2f2686b1c6b$__9063f7fa7a7c90829063ae574a3c906024015f60405180830381865af4158015610697573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526106be91908101906113fd565b6106c6610c0e565b604051632b10f60d60e21b815260ff909116600482015273__$b659da7d8a6d2d32aa6c1e17da23dc2174$__9063ac43d83490602401602060405180830381865af4158015610717573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061073b91906114ad565b6040518363ffffffff1660e01b815260040161075892919061154d565b5f60405180830381865af4158015610772573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f1916820160405261079991908101906113fd565b90506107a6838383610c82565b50505050565b6103fb815f610e19565b6060600280546107c5906112bf565b80601f01602080910402602001604051908101604052809291908181526020018280546107f1906112bf565b801561083c5780601f106108135761010080835404028352916020019161083c565b820191905f5260205f20905b81548152906001019060200180831161081f57829003601f168201915b5050505050905090565b604051637c3940bf60e01b81526001600160401b0360048201525f9073__$1d92393fa9ccd763988368ce8a1cb90d26$__90637c3940bf906024015b602060405180830381865af415801561089d573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906108c19190611593565b905090565b5f8073__$9a094f9b231ed0f5f85a69be8408d93180$__63cdc23e69856040518263ffffffff1660e01b81526004016108ff9190611534565b602060405180830381865af415801561091a573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061093e91906114ad565b5f8181526008602081815260408084208054600181018255908552828520600482040180546001600160401b03808c1660039094169096026101000a838102960219169490941790935593835260098152838320918352522091505092915050565b60408051606081019182905263cdc23e6960e01b90915283908073__$9a094f9b231ed0f5f85a69be8408d93180$__63cdc23e696109e18660648501611534565b602060405180830381865af41580156109fc573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610a2091906114ad565b8152604051636b15ee8b60e01b81526001600160e01b03198616600482015260209091019073__$0904195350e4c23ecb1d51df0a32586dcd$__90636b15ee8b90602401602060405180830381865af4158015610a7f573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610aa391906115b9565b6001600160e01b031916815260200173__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af4158015610af9573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b1d91906115e0565b64ffffffffff9081169091528254600181810185555f94855260209485902084516002909302019182559383015193018054604090930151909116640100000000026001600160481b031990921660e09390931c92909217179055505050565b5f73__$1d92393fa9ccd763988368ce8a1cb90d26$__63dda777d383610ba1610c0e565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865af4158015610be4573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610c089190611593565b92915050565b604051632392b61b60e21b8152600360048201525f9073__$b659da7d8a6d2d32aa6c1e17da23dc2174$__90638e4ad86c90602401602060405180830381865af4158015610c5e573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906108c19190611604565b60405163cdc23e6960e01b81525f9073__$9a094f9b231ed0f5f85a69be8408d93180$__9063cdc23e6990610cbb908790600401611534565b602060405180830381865af4158015610cd6573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610cfa91906114ad565b6003805460018181019092557fc2575a0e9e593c00f959f8c92f12db2869c3395a3b0502d05e2516446f71f85b018290555f82815260056020908152604091829020805460ff1916909317909255805163bc1b392d60e01b81529051929350610dcf92869273__$1d92393fa9ccd763988368ce8a1cb90d26$__9263bc1b392d92600480830193928290030181865af4158015610d99573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610dbd9190611593565b6001600160401b039081169116141590565b156107a657610ddd83610ec0565b610deb57610deb8383610f02565b5f81815260046020526040902080546001600160401b0385166001600160401b031990911617905550505050565b610ebc610e246107b6565b6040516311da4a5b60e31b815260ff851660048201526001600160401b038416602482015273__$1d92393fa9ccd763988368ce8a1cb90d26$__90638ed252d890604401602060405180830381865af4158015610e83573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610ea79190611593565b610eb7610eb26107b6565b610f1f565b610c82565b5050565b5f806001600160401b0383165f9081526007602052604090205468010000000000000000900460ff166003811115610efa57610efa611624565b141592915050565b610ebc82610f1a610f11610f66565b60018086610fa0565b61117d565b60608160405180604001604052806004815260200163526f6c6560e01b815250604051602001610f5092919061164f565b6040516020818303038152906040529050919050565b604051637c3940bf60e01b81525f600482018190529073__$1d92393fa9ccd763988368ce8a1cb90d26$__90637c3940bf90602401610882565b6040805160c0810182525f80825260208201819052918101829052606081018290526080810182905260a08101919091526040518060c00160405280866001600160401b03168152602001856003811115610ffd57610ffd611624565b81526020018463ffffffff16815260200173__$9a094f9b231ed0f5f85a69be8408d93180$__63cdc23e69856040518263ffffffff1660e01b81526004016110459190611534565b602060405180830381865af4158015611060573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061108491906114ad565b815260200173__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af41580156110d0573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906110f491906115e0565b64ffffffffff16815260200173__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__636ac5db196040518163ffffffff1660e01b8152600401602060405180830381865af4158015611147573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061116b91906115e0565b64ffffffffff16905295945050505050565b6006805460018101909155600481047ff652222313e28459528d920b65115c16c04f3efc82aaedc97be59f3f377c0d3f0180546001600160401b0380861660086003958616026101000a81810290830219909316929092179092555f9081526007602090815260409091208451815493166001600160401b03198416811782559185015185949193909284926001600160481b031990921617906801000000000000000090849081111561123357611233611624565b02179055506040820151815463ffffffff90911669010000000000000000000263ffffffff60481b199091161781556060820151600182015560808201516002909101805460a09093015164ffffffffff90811665010000000000026001600160501b03199094169216919091179190911790555050565b634e487b7160e01b5f52604160045260245ffd5b600181811c908216806112d357607f821691505b6020821081036112f157634e487b7160e01b5f52602260045260245ffd5b50919050565b601f82111561133e57805f5260205f20601f840160051c8101602085101561131c5750805b601f840160051c820191505b8181101561133b575f8155600101611328565b50505b505050565b81516001600160401b0381111561135c5761135c6112ab565b6113708161136a84546112bf565b846112f7565b6020601f8211600181146113a2575f831561138b5750848201515b5f19600385901b1c1916600184901b17845561133b565b5f84815260208120601f198516915b828110156113d157878501518255602094850194600190920191016113b1565b50848210156113ee57868401515f19600387901b60f8161c191681555b50505050600190811b01905550565b5f6020828403121561140d575f80fd5b81516001600160401b03811115611422575f80fd5b8201601f81018413611432575f80fd5b80516001600160401b0381111561144b5761144b6112ab565b604051601f8201601f19908116603f011681016001600160401b0381118282101715611479576114796112ab565b604052818152828201602001861015611490575f80fd5b8160208401602083015e5f91810160200191909152949350505050565b5f602082840312156114bd575f80fd5b5051919050565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b606081525f61150460608301856114c4565b828103602084015260078152665365727669636560c81b6020820152604081019150508260408301529392505050565b602081525f61154660208301846114c4565b9392505050565b606081525f61155f60608301856114c4565b8281036020840152600b81526a53657276696365526f6c6560a81b6020820152604081019150508260408301529392505050565b5f602082840312156115a3575f80fd5b81516001600160401b0381168114611546575f80fd5b5f602082840312156115c9575f80fd5b81516001600160e01b031981168114611546575f80fd5b5f602082840312156115f0575f80fd5b815164ffffffffff81168114611546575f80fd5b5f60208284031215611614575f80fd5b815160ff81168114611546575f80fd5b634e487b7160e01b5f52602160045260245ffd5b5f81518060208401855e5f93019283525090919050565b5f61166361165d8386611638565b84611638565b949350505050565b610d7e806116785f395ff3fe608060405234801561000f575f80fd5b5060043610610111575f3560e01c806376b707b71161009e578063c143892b1161006e578063c143892b14610291578063c5f34844146102bb578063c6a00179146102de578063da1b620b146102f1578063e8eba43514610304575f80fd5b806376b707b71461021c578063775f14b1146102365780638899278a146102765780638c5397b01461027e575f80fd5b80635bfa5027116100e45780635bfa50271461018b5780635c935ce0146101ab57806363fe3b56146101dd57806368c55b13146101f25780637106139814610207575f80fd5b80631e4afbbf146101155780634322699b1461013e578063433f95d61461015457806354e17da914610169575b5f80fd5b610128610123366004610972565b610317565b60405161013591906109a0565b60405180910390f35b6101466103c4565b604051908152602001610135565b61015c61045b565b6040516101359190610a3a565b610146610177366004610a61565b60ff165f9081526001602052604090205490565b61019e610199366004610a7c565b6104eb565b6040516101359190610aab565b6101cd6101b9366004610b37565b5f9081526005602052604090205460ff1690565b6040519015158152602001610135565b6101e56105c5565b6040516101359190610b4e565b6101fa61061a565b6040516101359190610b85565b61020f61068b565b6040516101359190610bbf565b610224610711565b60405160ff9091168152602001610135565b61025e610244366004610b37565b5f908152600460205260409020546001600160401b031690565b6040516001600160401b039091168152602001610135565b610146600381565b61020f61028c366004610b37565b610785565b61015c6040518060400160405280600b81526020016a53657276696365526f6c6560a81b81525081565b61015c60405180604001604052806004815260200163526f6c6560e01b81525081565b6101cd6102ec366004610a7c565b610815565b6101466102ff366004610c13565b610852565b61025e610312366004610a61565b6108d0565b5f8281526009602090815260408083206001600160401b03851684528252808320805482518185028101850190935280835260609492939192909184015b828210156103b8575f84815260209081902060408051606081018252600286029092018054835260019081015460e081901b6001600160e01b03191684860152640100000000900464ffffffffff16918301919091529083529092019101610355565b50505050905092915050565b5f610456600280546103d590610cc3565b80601f016020809104026020016040519081016040528092919081815260200182805461040190610cc3565b801561044c5780601f106104235761010080835404028352916020019161044c565b820191905f5260205f20905b81548152906001019060200180831161042f57829003601f168201915b5050505050610852565b905090565b60606002805461046a90610cc3565b80601f016020809104026020016040519081016040528092919081815260200182805461049690610cc3565b80156104e15780601f106104b8576101008083540402835291602001916104e1565b820191905f5260205f20905b8154815290600101906020018083116104c457829003601f168201915b5050505050905090565b6040805160c080820183525f8083526020808401829052838501829052606084018290526080840182905260a084018290526001600160401b038681168352600782529185902085519384019095528454918216835292939192830190600160401b900460ff16600381111561056357610563610a97565b600381111561057457610574610a97565b815281546901000000000000000000900463ffffffff1660208201526001820154604082015260029091015464ffffffffff8082166060840152650100000000009091041660809091015292915050565b606060038054806020026020016040519081016040528092919081815260200182805480156104e157602002820191905f5260205f20905b8154815260200190600101908083116105fd575050505050905090565b60605f8054806020026020016040519081016040528092919081815260200182805480156104e157602002820191905f5260205f20905f905b825461010083900a900460ff168152602060019283018181049485019490930390920291018084116106535790505050505050905090565b606060068054806020026020016040519081016040528092919081815260200182805480156104e157602002820191905f5260205f20905f905b82829054906101000a90046001600160401b03166001600160401b0316815260200190600801906020826007010492830192600103820291508084116106c55790505050505050905090565b604051632392b61b60e21b8152600360048201525f9073__$b659da7d8a6d2d32aa6c1e17da23dc2174$__90638e4ad86c90602401602060405180830381865af4158015610761573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906104569190610cfb565b5f8181526008602090815260409182902080548351818402810184019094528084526060939283018282801561080957602002820191905f5260205f20905f905b82829054906101000a90046001600160401b03166001600160401b0316815260200190600801906020826007010492830192600103820291508084116107c65790505b50505050509050919050565b5f806001600160401b0383165f90815260076020526040902054600160401b900460ff16600381111561084a5761084a610a97565b141592915050565b60405163cdc23e6960e01b81525f9073__$9a094f9b231ed0f5f85a69be8408d93180$__9063cdc23e699061088b908590600401610a3a565b602060405180830381865af41580156108a6573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906108ca9190610d16565b92915050565b5f73__$1d92393fa9ccd763988368ce8a1cb90d26$__63dda777d3836108f4610711565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865af4158015610937573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906108ca9190610d2d565b6001600160401b038116811461096f575f80fd5b50565b5f8060408385031215610983575f80fd5b8235915060208301356109958161095b565b809150509250929050565b602080825282518282018190525f918401906040840190835b81811015610a01578351805184526020808201516001600160e01b0319168186015260409182015164ffffffffff1691850191909152909301926060909201916001016109b9565b509095945050505050565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081525f610a4c6020830184610a0c565b9392505050565b60ff8116811461096f575f80fd5b5f60208284031215610a71575f80fd5b8135610a4c81610a53565b5f60208284031215610a8c575f80fd5b8135610a4c8161095b565b634e487b7160e01b5f52602160045260245ffd5b81516001600160401b03168152602082015160c082019060048110610ade57634e487b7160e01b5f52602160045260245ffd5b8060208401525063ffffffff6040840151166040830152606083015160608301526080830151610b17608084018264ffffffffff169052565b5060a0830151610b3060a084018264ffffffffff169052565b5092915050565b5f60208284031215610b47575f80fd5b5035919050565b602080825282518282018190525f918401906040840190835b81811015610a01578351835260209384019390920191600101610b67565b602080825282518282018190525f918401906040840190835b81811015610a0157835160ff16835260209384019390920191600101610b9e565b602080825282518282018190525f918401906040840190835b81811015610a015783516001600160401b0316835260209384019390920191600101610bd8565b634e487b7160e01b5f52604160045260245ffd5b5f60208284031215610c23575f80fd5b81356001600160401b03811115610c38575f80fd5b8201601f81018413610c48575f80fd5b80356001600160401b03811115610c6157610c61610bff565b604051601f8201601f19908116603f011681016001600160401b0381118282101715610c8f57610c8f610bff565b604052818152828201602001861015610ca6575f80fd5b816020840160208301375f91810160200191909152949350505050565b600181811c90821680610cd757607f821691505b602082108103610cf557634e487b7160e01b5f52602260045260245ffd5b50919050565b5f60208284031215610d0b575f80fd5b8151610a4c81610a53565b5f60208284031215610d26575f80fd5b5051919050565b5f60208284031215610d3d575f80fd5b8151610a4c8161095b56fea26469706673582212206b8ff32a6c34999f77bc6e2c52269d66f0404d0f50386445e5de1bd7de7bb61d64736f6c634300081a0033",
361
- "deployedBytecode": "0x608060405234801561000f575f80fd5b5060043610610111575f3560e01c806376b707b71161009e578063c143892b1161006e578063c143892b14610291578063c5f34844146102bb578063c6a00179146102de578063da1b620b146102f1578063e8eba43514610304575f80fd5b806376b707b71461021c578063775f14b1146102365780638899278a146102765780638c5397b01461027e575f80fd5b80635bfa5027116100e45780635bfa50271461018b5780635c935ce0146101ab57806363fe3b56146101dd57806368c55b13146101f25780637106139814610207575f80fd5b80631e4afbbf146101155780634322699b1461013e578063433f95d61461015457806354e17da914610169575b5f80fd5b610128610123366004610972565b610317565b60405161013591906109a0565b60405180910390f35b6101466103c4565b604051908152602001610135565b61015c61045b565b6040516101359190610a3a565b610146610177366004610a61565b60ff165f9081526001602052604090205490565b61019e610199366004610a7c565b6104eb565b6040516101359190610aab565b6101cd6101b9366004610b37565b5f9081526005602052604090205460ff1690565b6040519015158152602001610135565b6101e56105c5565b6040516101359190610b4e565b6101fa61061a565b6040516101359190610b85565b61020f61068b565b6040516101359190610bbf565b610224610711565b60405160ff9091168152602001610135565b61025e610244366004610b37565b5f908152600460205260409020546001600160401b031690565b6040516001600160401b039091168152602001610135565b610146600381565b61020f61028c366004610b37565b610785565b61015c6040518060400160405280600b81526020016a53657276696365526f6c6560a81b81525081565b61015c60405180604001604052806004815260200163526f6c6560e01b81525081565b6101cd6102ec366004610a7c565b610815565b6101466102ff366004610c13565b610852565b61025e610312366004610a61565b6108d0565b5f8281526009602090815260408083206001600160401b03851684528252808320805482518185028101850190935280835260609492939192909184015b828210156103b8575f84815260209081902060408051606081018252600286029092018054835260019081015460e081901b6001600160e01b03191684860152640100000000900464ffffffffff16918301919091529083529092019101610355565b50505050905092915050565b5f610456600280546103d590610cc3565b80601f016020809104026020016040519081016040528092919081815260200182805461040190610cc3565b801561044c5780601f106104235761010080835404028352916020019161044c565b820191905f5260205f20905b81548152906001019060200180831161042f57829003601f168201915b5050505050610852565b905090565b60606002805461046a90610cc3565b80601f016020809104026020016040519081016040528092919081815260200182805461049690610cc3565b80156104e15780601f106104b8576101008083540402835291602001916104e1565b820191905f5260205f20905b8154815290600101906020018083116104c457829003601f168201915b5050505050905090565b6040805160c080820183525f8083526020808401829052838501829052606084018290526080840182905260a084018290526001600160401b038681168352600782529185902085519384019095528454918216835292939192830190600160401b900460ff16600381111561056357610563610a97565b600381111561057457610574610a97565b815281546901000000000000000000900463ffffffff1660208201526001820154604082015260029091015464ffffffffff8082166060840152650100000000009091041660809091015292915050565b606060038054806020026020016040519081016040528092919081815260200182805480156104e157602002820191905f5260205f20905b8154815260200190600101908083116105fd575050505050905090565b60605f8054806020026020016040519081016040528092919081815260200182805480156104e157602002820191905f5260205f20905f905b825461010083900a900460ff168152602060019283018181049485019490930390920291018084116106535790505050505050905090565b606060068054806020026020016040519081016040528092919081815260200182805480156104e157602002820191905f5260205f20905f905b82829054906101000a90046001600160401b03166001600160401b0316815260200190600801906020826007010492830192600103820291508084116106c55790505050505050905090565b604051632392b61b60e21b8152600360048201525f9073__$b659da7d8a6d2d32aa6c1e17da23dc2174$__90638e4ad86c90602401602060405180830381865af4158015610761573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906104569190610cfb565b5f8181526008602090815260409182902080548351818402810184019094528084526060939283018282801561080957602002820191905f5260205f20905f905b82829054906101000a90046001600160401b03166001600160401b0316815260200190600801906020826007010492830192600103820291508084116107c65790505b50505050509050919050565b5f806001600160401b0383165f90815260076020526040902054600160401b900460ff16600381111561084a5761084a610a97565b141592915050565b60405163cdc23e6960e01b81525f9073__$9a094f9b231ed0f5f85a69be8408d93180$__9063cdc23e699061088b908590600401610a3a565b602060405180830381865af41580156108a6573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906108ca9190610d16565b92915050565b5f73__$1d92393fa9ccd763988368ce8a1cb90d26$__63dda777d3836108f4610711565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865af4158015610937573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906108ca9190610d2d565b6001600160401b038116811461096f575f80fd5b50565b5f8060408385031215610983575f80fd5b8235915060208301356109958161095b565b809150509250929050565b602080825282518282018190525f918401906040840190835b81811015610a01578351805184526020808201516001600160e01b0319168186015260409182015164ffffffffff1691850191909152909301926060909201916001016109b9565b509095945050505050565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081525f610a4c6020830184610a0c565b9392505050565b60ff8116811461096f575f80fd5b5f60208284031215610a71575f80fd5b8135610a4c81610a53565b5f60208284031215610a8c575f80fd5b8135610a4c8161095b565b634e487b7160e01b5f52602160045260245ffd5b81516001600160401b03168152602082015160c082019060048110610ade57634e487b7160e01b5f52602160045260245ffd5b8060208401525063ffffffff6040840151166040830152606083015160608301526080830151610b17608084018264ffffffffff169052565b5060a0830151610b3060a084018264ffffffffff169052565b5092915050565b5f60208284031215610b47575f80fd5b5035919050565b602080825282518282018190525f918401906040840190835b81811015610a01578351835260209384019390920191600101610b67565b602080825282518282018190525f918401906040840190835b81811015610a0157835160ff16835260209384019390920191600101610b9e565b602080825282518282018190525f918401906040840190835b81811015610a015783516001600160401b0316835260209384019390920191600101610bd8565b634e487b7160e01b5f52604160045260245ffd5b5f60208284031215610c23575f80fd5b81356001600160401b03811115610c38575f80fd5b8201601f81018413610c48575f80fd5b80356001600160401b03811115610c6157610c61610bff565b604051601f8201601f19908116603f011681016001600160401b0381118282101715610c8f57610c8f610bff565b604052818152828201602001861015610ca6575f80fd5b816020840160208301375f91810160200191909152949350505050565b600181811c90821680610cd757607f821691505b602082108103610cf557634e487b7160e01b5f52602260045260245ffd5b50919050565b5f60208284031215610d0b575f80fd5b8151610a4c81610a53565b5f60208284031215610d26575f80fd5b5051919050565b5f60208284031215610d3d575f80fd5b8151610a4c8161095b56fea26469706673582212206b8ff32a6c34999f77bc6e2c52269d66f0404d0f50386445e5de1bd7de7bb61d64736f6c634300081a0033",
618
+ "bytecode": "0x610100604052600b60c09081526a086dedae0dedccadce8a8d60ab1b60e052600e9061002b9082611f6e565b50348015610037575f80fd5b5060405161389238038061389283398101604081905261005691612080565b80600f600360405180606001604052806028815260200161386a60289139600560018585858583515f0361009d5760405163c0348f3560e01b815260040160405180910390fd5b6101178373__$0d958e68cba84670b8f4a3f2f2686b1c6b$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af41580156100e8573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061010c9190612120565b60ff90811691161490565b15610135576040516302e3f24160e11b815260040160405180910390fd5b73__$b659da7d8a6d2d32aa6c1e17da23dc2174$__63bb41432a6040518163ffffffff1660e01b8152600401602060405180830381865af415801561017c573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906101a09190612120565b604051632b10f60d60e21b815260ff909116600482015273__$b659da7d8a6d2d32aa6c1e17da23dc2174$__9063ac43d83490602401602060405180830381865af41580156101f1573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610215919061213b565b8260ff161080610307575073__$b659da7d8a6d2d32aa6c1e17da23dc2174$__63fbcaa8ed6040518163ffffffff1660e01b8152600401602060405180830381865af4158015610267573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061028b9190612120565b604051632b10f60d60e21b815260ff909116600482015273__$b659da7d8a6d2d32aa6c1e17da23dc2174$__9063ac43d83490602401602060405180830381865af41580156102dc573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610300919061213b565b8260ff1610155b1561032f57604051636164474d60e01b815260ff831660048201526024015b60405180910390fd5b602881511461035357806040516369306ec360e01b81526004016103269190612180565b6103936301ffc9a760e01b5f9081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b62d1d15b60e11b5f9081526020527fbfdfbaeb6ce3cef2dc92e70fc8227f58737fb6598199eb8999f7714e506efecb805460ff1916600117905560026103d98582611f6e565b5060405163cdc23e6960e01b815273__$9a094f9b231ed0f5f85a69be8408d93180$__9063cdc23e6990610411908790600401612180565b602060405180830381865af415801561042c573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610450919061213b565b60035560ff808416608052821660a052600161046c8282611f6e565b506104e8610478610a94565b73__$7ca0443fea8aec4ba68c2e8d18c5a8d73e$__63d09ce86c6040518163ffffffff1660e01b815260040160e060405180830381865af41580156104bf573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906104e391906121dd565b610b0e565b61053a6104f3610c76565b73__$7ca0443fea8aec4ba68c2e8d18c5a8d73e$__63aec48fc76040518163ffffffff1660e01b815260040160e060405180830381865af41580156104bf573d5f803e3d5ffd5b5050600d80546001600160801b0319166a0186a0000000000000006417905550600190508260078111156105705761057061226f565b0361060c576106076002805461058590611eeb565b80601f01602080910402602001604051908101604052809291908181526020018280546105b190611eeb565b80156105fc5780601f106105d3576101008083540402835291602001916105fc565b820191905f5260205f20905b8154815290600101906020018083116105df57829003601f168201915b5050610cb892505050565b6108f2565b60048260078111156106205761062061226f565b036106b7576106076002805461063590611eeb565b80601f016020809104026020016040519081016040528092919081815260200182805461066190611eeb565b80156106ac5780601f10610683576101008083540402835291602001916106ac565b820191905f5260205f20905b81548152906001019060200180831161068f57829003601f168201915b5050610dd392505050565b60405163037c8cb160e51b815260ff8616600482015273__$0d958e68cba84670b8f4a3f2f2686b1c6b$__90636f91962090602401602060405180830381865af4158015610707573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061072b9190612283565b15610749576040516302e3f24160e11b815260040160405180910390fd5b6040516368aebf7b60e01b81526201adb060048201525f9073__$1d92393fa9ccd763988368ce8a1cb90d26$__906368aebf7b90602401602060405180830381865af415801561079b573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906107bf91906122a2565b90505f610854600280546107d290611eeb565b80601f01602080910402602001604051908101604052809291908181526020018280546107fe90611eeb565b80156108495780601f1061082057610100808354040283529160200191610849565b820191905f5260205f20905b81548152906001019060200180831161082c57829003601f168201915b5050610eba92505050565b90506108ef6002805461086690611eeb565b80601f016020809104026020016040519081016040528092919081815260200182805461089290611eeb565b80156108dd5780601f106108b4576101008083540402835291602001916108dd565b820191905f5260205f20905b8154815290600101906020018083116108c057829003601f168201915b50505050508383610f0260201b60201c565b50505b6108fa6110e4565b6109026110fb565b8015610a4d578560405160200161091991906122d2565b604051602081830303815290604052600e90816109369190611f6e565b5060405163cdc23e6960e01b815273__$9a094f9b231ed0f5f85a69be8408d93180$__9063cdc23e699061096f90600e906004016122ef565b602060405180830381865af415801561098a573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906109ae919061213b565b600f55600e8054610a4591906109c390611eeb565b80601f01602080910402602001604051908101604052809291908181526020018280546109ef90611eeb565b8015610a3a5780601f10610a1157610100808354040283529160200191610a3a565b820191905f5260205f20905b815481529060010190602001808311610a1d57829003601f168201915b505061143192505050565b610a4d6114b3565b635a183bdb60e11b5f9081526020527f7eca8d71090247e4ddb022896f9503bf26cbfa0d8fb0110212f077e5ed799af8805460ff1916600117905550505050505050612488565b6040516368aebf7b60e01b81525f600482018190529073__$1d92393fa9ccd763988368ce8a1cb90d26$__906368aebf7b906024015b602060405180830381865af4158015610ae5573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b0991906122a2565b905090565b60068054600181019091557ff652222313e28459528d920b65115c16c04f3efc82aaedc97be59f3f377c0d3f6004820401805460039092166008026101000a6001600160401b0381810219909316858416918202179091555f908152600760208181526040909220845181546001600160401b031981169190951690811782559285015185949193909284926001600160481b0319169091179068010000000000000000908490811115610bc457610bc461226f565b0217905550604082015181546060840151608085015160a086015164ffffffffff908116600160b81b0264ffffffffff60b81b19928216600160901b0292909216600160901b600160e01b0319919093166d01000000000000000000000000000264ffffffffff60681b1963ffffffff90961669010000000000000000000295909516600160481b600160901b03199094169390931793909317919091161717815560c0909101516001909101555050565b6040516368aebf7b60e01b81526001600160401b0360048201525f9073__$1d92393fa9ccd763988368ce8a1cb90d26$__906368aebf7b90602401610aca565b565b600d80545f9173__$1d92393fa9ccd763988368ce8a1cb90d26$__916368aebf7b916001600160401b039091169084610cf083612376565b91906101000a8154816001600160401b0302191690836001600160401b031602179055506040518263ffffffff1660e01b8152600401610d3f91906001600160401b0391909116815260200190565b602060405180830381865af4158015610d5a573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610d7e91906122a2565b90505f82604051806040016040528060058152602001645f526f6c6560d81b815250604051602001610db19291906123ad565b60408051601f198184030181529190529050610dce838383610f02565b505050565b5f73__$1d92393fa9ccd763988368ce8a1cb90d26$__6368aebf7b600d600881819054906101000a90046001600160401b031680929190610e1390612376565b91906101000a8154816001600160401b0302191690836001600160401b031602179055506040518263ffffffff1660e01b8152600401610e6291906001600160401b0391909116815260200190565b602060405180830381865af4158015610e7d573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610ea191906122a2565b90505f610ead83610eba565b9050610dce838383610f02565b606081604051806040016040528060058152602001645f526f6c6560d81b815250604051602001610eec9291906123ad565b6040516020818303038152906040529050919050565b60405163cdc23e6960e01b81525f9073__$9a094f9b231ed0f5f85a69be8408d93180$__9063cdc23e6990610f3b908790600401612180565b602060405180830381865af4158015610f56573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610f7a919061213b565b6008805460018181019092557ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee3018290555f82815260096020908152604091829020805460ff1916909317909255805163bc1b392d60e01b8152905192935061104f92869273__$1d92393fa9ccd763988368ce8a1cb90d26$__9263bc1b392d92600480830193928290030181865af4158015611019573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061103d91906122a2565b6001600160401b039081169116141590565b156110de5761105d836115e7565b6110b7576110b78373__$7ca0443fea8aec4ba68c2e8d18c5a8d73e$__63650cbf89856040518263ffffffff1660e01b815260040161109c9190612180565b60e060405180830381865af41580156104bf573d5f803e3d5ffd5b5f818152600a6020526040902080546001600160401b0319166001600160401b0385161790555b50505050565b6110ef600b8061162b565b610cb6600f600c61162b565b5f611114611107611881565b61110f610c76565b611911565b905061114b81636c1e9dff60e01b604051806040016040528060058152602001647374616b6560d81b815250611a2560201b60201c565b604080518082019091526007815266756e7374616b6560c81b602082015261117d9082906326889b0960e01b90611a25565b604080518082019091526006815265195e1d195b9960d21b60208201526111ae9082906379e872e960e11b90611a25565b60408051808201909152600f81526e1cd95d109d5b991b19531bd8dad959608a1b60208201526111e8908290630346959960e51b90611a25565b60408051808201909152600b81526a636c6f736542756e646c6560a81b602082015261121e90829063d0d63b0960e01b90611a25565b60408051808201909152600c81526b73657442756e646c6546656560a01b60208201526112559082906337dd18a560e01b90611a25565b60408051808201909152601381527f7365744d617842616c616e6365416d6f756e7400000000000000000000000000602082015261129d90829063bca99e3960e01b90611a25565b6040805180820190915260078152667365744665657360c81b60208201526112cf908290638d9a753f60e01b90611a25565b6040805180820190915260058152647374616b6560d81b60208201526112ff908290636c1e9dff60e01b90611a25565b604080518082019091526007815266756e7374616b6560c81b60208201526113319082906326889b0960e01b90611a25565b604080518082019091526006815265195e1d195b9960d21b60208201526113629082906379e872e960e11b90611a25565b60408051808201909152600c81526b77697468647261774665657360a01b60208201526113999082906301c6b21960e41b90611a25565b604080518082019091526012815271776974686472617742756e646c654665657360701b60208201526113d69082906354e5077960e01b90611a25565b6113eb6113e1611881565b61110f600f611c9f565b905061142e81634deed57960e01b604051806040016040528060118152602001703b32b934b33ca0b8383634b1b0ba34b7b760791b815250611a2560201b60201c565b50565b61142e8173__$1d92393fa9ccd763988368ce8a1cb90d26$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af415801561147c573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906114a091906122a2565b60408051602081019091525f8152610f02565b5f6114c96114bf611cea565b61110f600b611c9f565b90506115028163ea0b3c7360e01b60405180604001604052806007815260200166617070726f766560c81b815250611a2560201b60201c565b6040805180820190915260098152681cd95d15d85b1b195d60ba1b602082015261153690829063deaa59df60e01b90611a25565b60408051808201909152600c81526b383ab9b42332b2aa37b5b2b760a11b602082015261156d908290633fd3433360e01b90611a25565b6115786113e1611cea565b90506115b3816379fc35e860e01b60405180604001604052806009815260200168383ab6362a37b5b2b760b91b815250611a2560201b60201c565b604080518082019091526009815268383ab9b42a37b5b2b760b91b602082015261142e9082906333f6af9b60e11b90611a25565b5f806001600160401b0383165f9081526007602081905260409091205468010000000000000000900460ff16908111156116235761162361226f565b141592915050565b6004805460018101825560208082047f8a35acfbc15ff81a39ae7d344fd709f28e8600b4aa8c65c6b64bfe7fe36bd19b01805460ff808816601f9095166101000a8581029102199091161790555f91825260059052604080822080546001600160a01b0386166001600160a01b031990911617905551632b95d28f60e21b8152909173__$0d958e68cba84670b8f4a3f2f2686b1c6b$__91630c3258f991839163ae574a3c916116e69189910160ff91909116815260200190565b5f60405180830381865af4158015611700573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526117279190810190612080565b6040805180820190915260078152665365727669636560c81b602082015261174d611cf9565b6040518463ffffffff1660e01b815260040161176b939291906123c9565b5f60405180830381865af4158015611785573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526117ac9190810190612080565b9050610dce8173__$1d92393fa9ccd763988368ce8a1cb90d26$__63645ceefe866117d5611cf9565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865af4158015611818573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061183c91906122a2565b83604051806040016040528060058152602001645f526f6c6560d81b81525060405160200161186c9291906123ad565b60408051601f19818403018152919052610f02565b60606002805461189090611eeb565b80601f01602080910402602001604051908101604052809291908181526020018280546118bc90611eeb565b80156119075780601f106118de57610100808354040283529160200191611907565b820191905f5260205f20905b8154815290600101906020018083116118ea57829003601f168201915b5050505050905090565b5f8073__$9a094f9b231ed0f5f85a69be8408d93180$__63cdc23e69856040518263ffffffff1660e01b815260040161194a9190612180565b602060405180830381865af4158015611965573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611989919061213b565b5f818152600c602090815260408083206001600160401b0388168452909152812054919250036119fc575f818152600b602090815260408220805460018101825590835291206004820401805460039092166008026101000a6001600160401b0381810219909316928616029190911790555b5f908152600c602090815260408083206001600160401b03861684529091529020905092915050565b60408051608081019182905263cdc23e6960e01b90915283908073__$9a094f9b231ed0f5f85a69be8408d93180$__63cdc23e69611a668660848501612180565b602060405180830381865af4158015611a81573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611aa5919061213b565b8152604051636b15ee8b60e01b81526001600160e01b03198616600482015260209091019073__$0904195350e4c23ecb1d51df0a32586dcd$__90636b15ee8b90602401602060405180830381865af4158015611b04573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611b289190612401565b6001600160e01b031916815260200173__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__639fa6a6e36040518163ffffffff1660e01b8152600401602060405180830381865af4158015611b7e573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611ba29190612428565b64ffffffffff16815260200173__$f55ca14f1ddce1b88fe30d23ae45f595f4$__639fa6a6e36040518163ffffffff1660e01b8152600401602060405180830381865af4158015611bf5573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611c199190612428565b64ffffffffff9081169091528254600181810185555f948552602094859020845160029093020191825593830151930180546040840151606090940151831669010000000000000000000264ffffffffff60481b1994909316640100000000026001600160481b031990911660e09590951c949094179390931791909116179055505050565b5f611cab82606361010c565b15611cbe57611cb8610c76565b92915050565b5f611cc883611d76565b5f818152600a60205260409020549091506001600160401b03165b9392505050565b6060600e805461189090611eeb565b60a051604051632392b61b60e21b81525f9173__$b659da7d8a6d2d32aa6c1e17da23dc2174$__91638e4ad86c91611d379160040190815260200190565b602060405180830381865af4158015611d52573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b099190612120565b604051632b95d28f60e21b815260ff821660048201525f90819073__$0d958e68cba84670b8f4a3f2f2686b1c6b$__90630c3258f990829063ae574a3c906024015f60405180830381865af4158015611dd1573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052611df89190810190612080565b611e00611cf9565b6040518363ffffffff1660e01b8152600401611e1d929190612443565b5f60405180830381865af4158015611e37573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052611e5e9190810190612080565b60405163cdc23e6960e01b815290915073__$9a094f9b231ed0f5f85a69be8408d93180$__9063cdc23e6990611e98908490600401612180565b602060405180830381865af4158015611eb3573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611ce3919061213b565b634e487b7160e01b5f52604160045260245ffd5b600181811c90821680611eff57607f821691505b602082108103611f1d57634e487b7160e01b5f52602260045260245ffd5b50919050565b601f821115610dce57805f5260205f20601f840160051c81016020851015611f485750805b601f840160051c820191505b81811015611f67575f8155600101611f54565b5050505050565b81516001600160401b03811115611f8757611f87611ed7565b611f9b81611f958454611eeb565b84611f23565b6020601f821160018114611fcd575f8315611fb65750848201515b5f19600385901b1c1916600184901b178455611f67565b5f84815260208120601f198516915b82811015611ffc5787850151825560209485019460019092019101611fdc565b508482101561201957868401515f19600387901b60f8161c191681555b50505050600190811b01905550565b60405160e081016001600160401b038111828210171561204a5761204a611ed7565b60405290565b604051601f8201601f191681016001600160401b038111828210171561207857612078611ed7565b604052919050565b5f60208284031215612090575f80fd5b81516001600160401b038111156120a5575f80fd5b8201601f810184136120b5575f80fd5b80516001600160401b038111156120ce576120ce611ed7565b6120e1601f8201601f1916602001612050565b8181528560208385010111156120f5575f80fd5b8160208401602083015e5f91810160200191909152949350505050565b60ff8116811461142e575f80fd5b5f60208284031215612130575f80fd5b8151611ce381612112565b5f6020828403121561214b575f80fd5b5051919050565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081525f611ce36020830184612152565b80516001600160401b03811681146121a8575f80fd5b919050565b805163ffffffff811681146121a8575f80fd5b64ffffffffff8116811461142e575f80fd5b80516121a8816121c0565b5f60e08284031280156121ee575f80fd5b506121f7612028565b61220083612192565b8152602083015160088110612213575f80fd5b6020820152612224604084016121ad565b6040820152612235606084016121d2565b6060820152612246608084016121d2565b608082015261225760a084016121d2565b60a082015260c0928301519281019290925250919050565b634e487b7160e01b5f52602160045260245ffd5b5f60208284031215612293575f80fd5b81518015158114611ce3575f80fd5b5f602082840312156122b2575f80fd5b611ce382612192565b5f81518060208401855e5f93019283525090919050565b5f6122dd82846122bb565b610a8d60f31b81526002019392505050565b602081525f80835461230081611eeb565b806020860152600182165f811461231e576001811461233a5761236b565b60ff1983166040870152604082151560051b870101935061236b565b865f5260205f205f5b8381101561236257815488820160400152600190910190602001612343565b87016040019450505b509195945050505050565b5f6001600160401b0382166002600160401b031981016123a457634e487b7160e01b5f52601160045260245ffd5b60010192915050565b5f6123c16123bb83866122bb565b846122bb565b949350505050565b606081525f6123db6060830186612152565b82810360208401526123ed8186612152565b91505060ff83166040830152949350505050565b5f60208284031215612411575f80fd5b81516001600160e01b031981168114611ce3575f80fd5b5f60208284031215612438575f80fd5b8151611ce3816121c0565b606081525f6124556060830185612152565b828103602084015260078152665365727669636560c81b60208201526040810191505060ff831660408301529392505050565b60805160a0516113ba6124b05f395f610aac01525f818161030b015261043601526113ba5ff3fe608060405234801561000f575f80fd5b50600436106101dc575f3560e01c80637106139811610109578063b79e14941161009e578063da44d6af1161006e578063da44d6af146104ac578063e8eba435146104b4578063f1d01027146104c7578063fef30334146104cf575f80fd5b8063b79e14941461045a578063c5f3484414610462578063c6a0017914610486578063da1b620b14610499575f80fd5b80638c5397b0116100d95780638c5397b01461040f578063a43e328114610422578063b1040cf81461042c578063b68d180914610434575f80fd5b806371061398146103b757806376b707b7146103cc578063775f14b1146103d457806384be8c00146103fc575f80fd5b806350a388ea1161017f5780635c935ce01161014f5780635c935ce01461037257806363fe3b561461038557806368c55b131461039a578063694ca5d3146103af575f80fd5b806350a388ea146102f357806352a9674b1461030657806354e17da91461033f5780635bfa502714610352575f80fd5b80631e4afbbf116101ba5780631e4afbbf146102865780633a591cf8146102a65780634322699b146102bb5780634a34a4de146102cd575f80fd5b806301ffc9a7146101e05780630ccbae511461022157806313efdd7a14610243575b5f80fd5b61020c6101ee366004610e12565b6001600160e01b0319165f9081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b61022b620186a081565b6040516001600160401b039091168152602001610218565b61026e610251366004610e4a565b60ff165f908152600560205260409020546001600160a01b031690565b6040516001600160a01b039091168152602001610218565b610299610294366004610e79565b6104d7565b6040516102189190610ea7565b6102ae610594565b6040516102189190610f54565b6003545b604051908152602001610218565b6102ae604051806040016040528060078152602001665365727669636560c81b81525081565b6102ae610301366004610f66565b610624565b61032d7f000000000000000000000000000000000000000000000000000000000000000081565b60405160ff9091168152602001610218565b6102bf61034d366004610e4a565b6106c3565b610365610360366004610f66565b61082b565b6040516102189190610f95565b61020c610380366004611040565b610919565b61038d610941565b6040516102189190611057565b6103a2610996565b604051610218919061108e565b6102ae610a08565b6103bf610a17565b60405161021891906110c8565b61032d610a9d565b61022b6103e2366004611040565b5f908152600a60205260409020546001600160401b031690565b61032d61040a366004611040565b610b35565b6103bf61041d366004611040565b610b6e565b61022b6201adb081565b600f546102bf565b7f000000000000000000000000000000000000000000000000000000000000000061032d565b6102bf602881565b6102ae604051806040016040528060058152602001645f526f6c6560d81b81525081565b61020c610494366004610f66565b610bfe565b6102bf6104a7366004611172565b610c3d565b6102bf600381565b61022b6104c2366004610e4a565b610cb5565b6102ae610cf2565b6102ae610d01565b5f828152600c602090815260408083206001600160401b03851684528252808320805482518185028101850190935280835260609492939192909184015b82821015610588575f8481526020908190206040805160808101825260028602909201805483526001908101546001600160e01b031960e082901b168486015264ffffffffff6401000000008204811693850193909352600160481b900490911660608301529083529092019101610515565b50505050905092915050565b6060600e80546105a3906111eb565b80601f01602080910402602001604051908101604052809291908181526020018280546105cf906111eb565b801561061a5780601f106105f15761010080835404028352916020019161061a565b820191905f5260205f20905b8154815290600101906020018083116105fd57829003601f168201915b5050505050905090565b6001600160401b0381165f9081526007602052604090819020600101549051631623433d60e31b815260609173__$9a094f9b231ed0f5f85a69be8408d93180$__9163b11a19e89161067c9160040190815260200190565b5f60405180830381865af4158015610696573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526106bd9190810190611223565b92915050565b604051632b95d28f60e21b815260ff821660048201525f90819073__$0d958e68cba84670b8f4a3f2f2686b1c6b$__90630c3258f990829063ae574a3c906024015f60405180830381865af415801561071e573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526107459190810190611223565b61074d610a9d565b6040518363ffffffff1660e01b815260040161076a929190611297565b5f60405180830381865af4158015610784573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526107ab9190810190611223565b60405163cdc23e6960e01b815290915073__$9a094f9b231ed0f5f85a69be8408d93180$__9063cdc23e69906107e5908490600401610f54565b602060405180830381865af4158015610800573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061082491906112dc565b9392505050565b6040805160e0810182525f80825260208201819052918101829052606081018290526080810182905260a0810182905260c08101919091526001600160401b038281165f90815260076020818152604092839020835160e0810190945280549485168452929390840191600160401b90910460ff16908111156108b0576108b0610f81565b60078111156108c1576108c1610f81565b8152815463ffffffff600160481b820416602083015264ffffffffff600160681b820481166040840152600160901b820481166060840152600160b81b90910416608082015260019091015460a09091015292915050565b5f61092682600354610d1d565b806106bd5750505f9081526009602052604090205460ff1690565b6060600880548060200260200160405190810160405280929190818152602001828054801561061a57602002820191905f5260205f20905b815481526020019060010190808311610979575050505050905090565b6060600480548060200260200160405190810160405280929190818152602001828054801561061a57602002820191905f5260205f20905f905b825461010083900a900460ff168152602060019283018181049485019490930390920291018084116109d05790505050505050905090565b6060600180546105a3906111eb565b6060600680548060200260200160405190810160405280929190818152602001828054801561061a57602002820191905f5260205f20905f905b82829054906101000a90046001600160401b03166001600160401b031681526020019060080190602082600701049283019260010382029150808411610a515790505050505050905090565b604051632392b61b60e21b81527f000000000000000000000000000000000000000000000000000000000000000060048201525f9073__$b659da7d8a6d2d32aa6c1e17da23dc2174$__90638e4ad86c90602401602060405180830381865af4158015610b0c573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b3091906112f3565b905090565b5f60048281548110610b4957610b4961130e565b905f5260205f2090602091828204019190069054906101000a900460ff169050919050565b5f818152600b6020908152604091829020805483518184028101840190945280845260609392830182828015610bf257602002820191905f5260205f20905f905b82829054906101000a90046001600160401b03166001600160401b031681526020019060080190602082600701049283019260010382029150808411610baf5790505b50505050509050919050565b5f806001600160401b0383165f90815260076020819052604090912054600160401b900460ff1690811115610c3557610c35610f81565b141592915050565b60405163cdc23e6960e01b81525f9073__$9a094f9b231ed0f5f85a69be8408d93180$__9063cdc23e6990610c76908590600401610f54565b602060405180830381865af4158015610c91573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906106bd91906112dc565b5f60ff8216606303610cc9576106bd610d98565b5f610cd3836106c3565b5f818152600a60205260409020549091506001600160401b0316610824565b6060600280546105a3906111eb565b60405180606001604052806028815260200161135d6028913981565b6040516303447c0360e41b815260048101839052602481018290525f9073__$9a094f9b231ed0f5f85a69be8408d93180$__90633447c03090604401602060405180830381865af4158015610d74573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906108249190611322565b6040516368aebf7b60e01b81526001600160401b0360048201525f9073__$1d92393fa9ccd763988368ce8a1cb90d26$__906368aebf7b90602401602060405180830381865af4158015610dee573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b309190611341565b5f60208284031215610e22575f80fd5b81356001600160e01b031981168114610824575f80fd5b60ff81168114610e47575f80fd5b50565b5f60208284031215610e5a575f80fd5b813561082481610e39565b6001600160401b0381168114610e47575f80fd5b5f8060408385031215610e8a575f80fd5b823591506020830135610e9c81610e65565b809150509250929050565b602080825282518282018190525f918401906040840190835b81811015610f1b5783518051845263ffffffff60e01b602082015116602085015264ffffffffff604082015116604085015264ffffffffff606082015116606085015250608083019250602084019350600181019050610ec0565b509095945050505050565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081525f6108246020830184610f26565b5f60208284031215610f76575f80fd5b813561082481610e65565b634e487b7160e01b5f52602160045260245ffd5b81516001600160401b03168152602082015160e082019060088110610fc857634e487b7160e01b5f52602160045260245ffd5b806020840152506040830151610fe6604084018263ffffffff169052565b506060830151610fff606084018264ffffffffff169052565b506080830151611018608084018264ffffffffff169052565b5060a083015161103160a084018264ffffffffff169052565b5060c092830151919092015290565b5f60208284031215611050575f80fd5b5035919050565b602080825282518282018190525f918401906040840190835b81811015610f1b578351835260209384019390920191600101611070565b602080825282518282018190525f918401906040840190835b81811015610f1b57835160ff168352602093840193909201916001016110a7565b602080825282518282018190525f918401906040840190835b81811015610f1b5783516001600160401b03168352602093840193909201916001016110e1565b634e487b7160e01b5f52604160045260245ffd5b604051601f8201601f191681016001600160401b038111828210171561114457611144611108565b604052919050565b5f6001600160401b0382111561116457611164611108565b50601f01601f191660200190565b5f60208284031215611182575f80fd5b81356001600160401b03811115611197575f80fd5b8201601f810184136111a7575f80fd5b80356111ba6111b58261114c565b61111c565b8181528560208385010111156111ce575f80fd5b816020840160208301375f91810160200191909152949350505050565b600181811c908216806111ff57607f821691505b60208210810361121d57634e487b7160e01b5f52602260045260245ffd5b50919050565b5f60208284031215611233575f80fd5b81516001600160401b03811115611248575f80fd5b8201601f81018413611258575f80fd5b80516112666111b58261114c565b81815285602083850101111561127a575f80fd5b8160208401602083015e5f91810160200191909152949350505050565b606081525f6112a96060830185610f26565b828103602084015260078152665365727669636560c81b60208201526040810191505060ff831660408301529392505050565b5f602082840312156112ec575f80fd5b5051919050565b5f60208284031215611303575f80fd5b815161082481610e39565b634e487b7160e01b5f52603260045260245ffd5b5f60208284031215611332575f80fd5b81518015158114610824575f80fd5b5f60208284031215611351575f80fd5b815161082481610e6556fe31613161316131613161316131613161316131613161316131613161316131613161316131613161a2646970667358221220112cc735d3d530157507bef2762f0509b9f37a853175859e75234f85ee96066f64736f6c634300081a003331613161316131613161316131613161316131613161316131613161316131613161316131613161",
619
+ "deployedBytecode": "0x608060405234801561000f575f80fd5b50600436106101dc575f3560e01c80637106139811610109578063b79e14941161009e578063da44d6af1161006e578063da44d6af146104ac578063e8eba435146104b4578063f1d01027146104c7578063fef30334146104cf575f80fd5b8063b79e14941461045a578063c5f3484414610462578063c6a0017914610486578063da1b620b14610499575f80fd5b80638c5397b0116100d95780638c5397b01461040f578063a43e328114610422578063b1040cf81461042c578063b68d180914610434575f80fd5b806371061398146103b757806376b707b7146103cc578063775f14b1146103d457806384be8c00146103fc575f80fd5b806350a388ea1161017f5780635c935ce01161014f5780635c935ce01461037257806363fe3b561461038557806368c55b131461039a578063694ca5d3146103af575f80fd5b806350a388ea146102f357806352a9674b1461030657806354e17da91461033f5780635bfa502714610352575f80fd5b80631e4afbbf116101ba5780631e4afbbf146102865780633a591cf8146102a65780634322699b146102bb5780634a34a4de146102cd575f80fd5b806301ffc9a7146101e05780630ccbae511461022157806313efdd7a14610243575b5f80fd5b61020c6101ee366004610e12565b6001600160e01b0319165f9081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b61022b620186a081565b6040516001600160401b039091168152602001610218565b61026e610251366004610e4a565b60ff165f908152600560205260409020546001600160a01b031690565b6040516001600160a01b039091168152602001610218565b610299610294366004610e79565b6104d7565b6040516102189190610ea7565b6102ae610594565b6040516102189190610f54565b6003545b604051908152602001610218565b6102ae604051806040016040528060078152602001665365727669636560c81b81525081565b6102ae610301366004610f66565b610624565b61032d7f000000000000000000000000000000000000000000000000000000000000000081565b60405160ff9091168152602001610218565b6102bf61034d366004610e4a565b6106c3565b610365610360366004610f66565b61082b565b6040516102189190610f95565b61020c610380366004611040565b610919565b61038d610941565b6040516102189190611057565b6103a2610996565b604051610218919061108e565b6102ae610a08565b6103bf610a17565b60405161021891906110c8565b61032d610a9d565b61022b6103e2366004611040565b5f908152600a60205260409020546001600160401b031690565b61032d61040a366004611040565b610b35565b6103bf61041d366004611040565b610b6e565b61022b6201adb081565b600f546102bf565b7f000000000000000000000000000000000000000000000000000000000000000061032d565b6102bf602881565b6102ae604051806040016040528060058152602001645f526f6c6560d81b81525081565b61020c610494366004610f66565b610bfe565b6102bf6104a7366004611172565b610c3d565b6102bf600381565b61022b6104c2366004610e4a565b610cb5565b6102ae610cf2565b6102ae610d01565b5f828152600c602090815260408083206001600160401b03851684528252808320805482518185028101850190935280835260609492939192909184015b82821015610588575f8481526020908190206040805160808101825260028602909201805483526001908101546001600160e01b031960e082901b168486015264ffffffffff6401000000008204811693850193909352600160481b900490911660608301529083529092019101610515565b50505050905092915050565b6060600e80546105a3906111eb565b80601f01602080910402602001604051908101604052809291908181526020018280546105cf906111eb565b801561061a5780601f106105f15761010080835404028352916020019161061a565b820191905f5260205f20905b8154815290600101906020018083116105fd57829003601f168201915b5050505050905090565b6001600160401b0381165f9081526007602052604090819020600101549051631623433d60e31b815260609173__$9a094f9b231ed0f5f85a69be8408d93180$__9163b11a19e89161067c9160040190815260200190565b5f60405180830381865af4158015610696573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526106bd9190810190611223565b92915050565b604051632b95d28f60e21b815260ff821660048201525f90819073__$0d958e68cba84670b8f4a3f2f2686b1c6b$__90630c3258f990829063ae574a3c906024015f60405180830381865af415801561071e573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526107459190810190611223565b61074d610a9d565b6040518363ffffffff1660e01b815260040161076a929190611297565b5f60405180830381865af4158015610784573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526107ab9190810190611223565b60405163cdc23e6960e01b815290915073__$9a094f9b231ed0f5f85a69be8408d93180$__9063cdc23e69906107e5908490600401610f54565b602060405180830381865af4158015610800573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061082491906112dc565b9392505050565b6040805160e0810182525f80825260208201819052918101829052606081018290526080810182905260a0810182905260c08101919091526001600160401b038281165f90815260076020818152604092839020835160e0810190945280549485168452929390840191600160401b90910460ff16908111156108b0576108b0610f81565b60078111156108c1576108c1610f81565b8152815463ffffffff600160481b820416602083015264ffffffffff600160681b820481166040840152600160901b820481166060840152600160b81b90910416608082015260019091015460a09091015292915050565b5f61092682600354610d1d565b806106bd5750505f9081526009602052604090205460ff1690565b6060600880548060200260200160405190810160405280929190818152602001828054801561061a57602002820191905f5260205f20905b815481526020019060010190808311610979575050505050905090565b6060600480548060200260200160405190810160405280929190818152602001828054801561061a57602002820191905f5260205f20905f905b825461010083900a900460ff168152602060019283018181049485019490930390920291018084116109d05790505050505050905090565b6060600180546105a3906111eb565b6060600680548060200260200160405190810160405280929190818152602001828054801561061a57602002820191905f5260205f20905f905b82829054906101000a90046001600160401b03166001600160401b031681526020019060080190602082600701049283019260010382029150808411610a515790505050505050905090565b604051632392b61b60e21b81527f000000000000000000000000000000000000000000000000000000000000000060048201525f9073__$b659da7d8a6d2d32aa6c1e17da23dc2174$__90638e4ad86c90602401602060405180830381865af4158015610b0c573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b3091906112f3565b905090565b5f60048281548110610b4957610b4961130e565b905f5260205f2090602091828204019190069054906101000a900460ff169050919050565b5f818152600b6020908152604091829020805483518184028101840190945280845260609392830182828015610bf257602002820191905f5260205f20905f905b82829054906101000a90046001600160401b03166001600160401b031681526020019060080190602082600701049283019260010382029150808411610baf5790505b50505050509050919050565b5f806001600160401b0383165f90815260076020819052604090912054600160401b900460ff1690811115610c3557610c35610f81565b141592915050565b60405163cdc23e6960e01b81525f9073__$9a094f9b231ed0f5f85a69be8408d93180$__9063cdc23e6990610c76908590600401610f54565b602060405180830381865af4158015610c91573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906106bd91906112dc565b5f60ff8216606303610cc9576106bd610d98565b5f610cd3836106c3565b5f818152600a60205260409020549091506001600160401b0316610824565b6060600280546105a3906111eb565b60405180606001604052806028815260200161135d6028913981565b6040516303447c0360e41b815260048101839052602481018290525f9073__$9a094f9b231ed0f5f85a69be8408d93180$__90633447c03090604401602060405180830381865af4158015610d74573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906108249190611322565b6040516368aebf7b60e01b81526001600160401b0360048201525f9073__$1d92393fa9ccd763988368ce8a1cb90d26$__906368aebf7b90602401602060405180830381865af4158015610dee573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b309190611341565b5f60208284031215610e22575f80fd5b81356001600160e01b031981168114610824575f80fd5b60ff81168114610e47575f80fd5b50565b5f60208284031215610e5a575f80fd5b813561082481610e39565b6001600160401b0381168114610e47575f80fd5b5f8060408385031215610e8a575f80fd5b823591506020830135610e9c81610e65565b809150509250929050565b602080825282518282018190525f918401906040840190835b81811015610f1b5783518051845263ffffffff60e01b602082015116602085015264ffffffffff604082015116604085015264ffffffffff606082015116606085015250608083019250602084019350600181019050610ec0565b509095945050505050565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081525f6108246020830184610f26565b5f60208284031215610f76575f80fd5b813561082481610e65565b634e487b7160e01b5f52602160045260245ffd5b81516001600160401b03168152602082015160e082019060088110610fc857634e487b7160e01b5f52602160045260245ffd5b806020840152506040830151610fe6604084018263ffffffff169052565b506060830151610fff606084018264ffffffffff169052565b506080830151611018608084018264ffffffffff169052565b5060a083015161103160a084018264ffffffffff169052565b5060c092830151919092015290565b5f60208284031215611050575f80fd5b5035919050565b602080825282518282018190525f918401906040840190835b81811015610f1b578351835260209384019390920191600101611070565b602080825282518282018190525f918401906040840190835b81811015610f1b57835160ff168352602093840193909201916001016110a7565b602080825282518282018190525f918401906040840190835b81811015610f1b5783516001600160401b03168352602093840193909201916001016110e1565b634e487b7160e01b5f52604160045260245ffd5b604051601f8201601f191681016001600160401b038111828210171561114457611144611108565b604052919050565b5f6001600160401b0382111561116457611164611108565b50601f01601f191660200190565b5f60208284031215611182575f80fd5b81356001600160401b03811115611197575f80fd5b8201601f810184136111a7575f80fd5b80356111ba6111b58261114c565b61111c565b8181528560208385010111156111ce575f80fd5b816020840160208301375f91810160200191909152949350505050565b600181811c908216806111ff57607f821691505b60208210810361121d57634e487b7160e01b5f52602260045260245ffd5b50919050565b5f60208284031215611233575f80fd5b81516001600160401b03811115611248575f80fd5b8201601f81018413611258575f80fd5b80516112666111b58261114c565b81815285602083850101111561127a575f80fd5b8160208401602083015e5f91810160200191909152949350505050565b606081525f6112a96060830185610f26565b828103602084015260078152665365727669636560c81b60208201526040810191505060ff831660408301529392505050565b5f602082840312156112ec575f80fd5b5051919050565b5f60208284031215611303575f80fd5b815161082481610e39565b634e487b7160e01b5f52603260045260245ffd5b5f60208284031215611332575f80fd5b81518015158114610824575f80fd5b5f60208284031215611351575f80fd5b815161082481610e6556fe31613161316131613161316131613161316131613161316131613161316131613161316131613161a2646970667358221220112cc735d3d530157507bef2762f0509b9f37a853175859e75234f85ee96066f64736f6c634300081a0033",
362
620
  "linkReferences": {
621
+ "contracts/authorization/AccessAdminLib.sol": {
622
+ "AccessAdminLib": [
623
+ {
624
+ "length": 20,
625
+ "start": 1146
626
+ },
627
+ {
628
+ "length": 20,
629
+ "start": 1269
630
+ },
631
+ {
632
+ "length": 20,
633
+ "start": 4199
634
+ }
635
+ ]
636
+ },
637
+ "contracts/type/Blocknumber.sol": {
638
+ "BlocknumberLib": [
639
+ {
640
+ "length": 20,
641
+ "start": 7088
642
+ }
643
+ ]
644
+ },
363
645
  "contracts/type/ObjectType.sol": {
364
646
  "ObjectTypeLib": [
365
647
  {
366
648
  "length": 20,
367
- "start": 1123
649
+ "start": 163
650
+ },
651
+ {
652
+ "length": 20,
653
+ "start": 1743
654
+ },
655
+ {
656
+ "length": 20,
657
+ "start": 5807
658
+ },
659
+ {
660
+ "length": 20,
661
+ "start": 7570
368
662
  },
369
663
  {
370
664
  "length": 20,
371
- "start": 1624
665
+ "start": 11151
372
666
  }
373
667
  ]
374
668
  },
@@ -376,27 +670,39 @@
376
670
  "RoleIdLib": [
377
671
  {
378
672
  "length": 20,
379
- "start": 2148
673
+ "start": 1891
674
+ },
675
+ {
676
+ "length": 20,
677
+ "start": 2732
678
+ },
679
+ {
680
+ "length": 20,
681
+ "start": 3220
682
+ },
683
+ {
684
+ "length": 20,
685
+ "start": 3264
380
686
  },
381
687
  {
382
688
  "length": 20,
383
- "start": 2944
689
+ "start": 3542
384
690
  },
385
691
  {
386
692
  "length": 20,
387
- "start": 3425
693
+ "start": 4065
388
694
  },
389
695
  {
390
696
  "length": 20,
391
- "start": 3659
697
+ "start": 5175
392
698
  },
393
699
  {
394
700
  "length": 20,
395
- "start": 3966
701
+ "start": 6068
396
702
  },
397
703
  {
398
704
  "length": 20,
399
- "start": 8011
705
+ "start": 12902
400
706
  }
401
707
  ]
402
708
  },
@@ -404,7 +710,7 @@
404
710
  "SelectorLib": [
405
711
  {
406
712
  "length": 20,
407
- "start": 2631
713
+ "start": 6860
408
714
  }
409
715
  ]
410
716
  },
@@ -412,43 +718,51 @@
412
718
  "StrLib": [
413
719
  {
414
720
  "length": 20,
415
- "start": 1462
721
+ "start": 1001
416
722
  },
417
723
  {
418
724
  "length": 20,
419
- "start": 2250
725
+ "start": 2374
420
726
  },
421
727
  {
422
728
  "length": 20,
423
- "start": 2492
729
+ "start": 3859
424
730
  },
425
731
  {
426
732
  "length": 20,
427
- "start": 3219
733
+ "start": 6421
428
734
  },
429
735
  {
430
736
  "length": 20,
431
- "start": 4112
737
+ "start": 6721
432
738
  },
433
739
  {
434
740
  "length": 20,
435
- "start": 7899
436
- }
437
- ]
438
- },
439
- "contracts/type/Timestamp.sol": {
440
- "TimestampLib": [
741
+ "start": 7792
742
+ },
441
743
  {
442
744
  "length": 20,
443
- "start": 2740
745
+ "start": 11010
444
746
  },
445
747
  {
446
748
  "length": 20,
447
- "start": 4235
749
+ "start": 11373
448
750
  },
449
751
  {
450
752
  "length": 20,
451
- "start": 4354
753
+ "start": 12542
754
+ },
755
+ {
756
+ "length": 20,
757
+ "start": 12780
758
+ }
759
+ ]
760
+ },
761
+ "contracts/type/Timestamp.sol": {
762
+ "TimestampLib": [
763
+ {
764
+ "length": 20,
765
+ "start": 6969
452
766
  }
453
767
  ]
454
768
  },
@@ -456,29 +770,45 @@
456
770
  "VersionPartLib": [
457
771
  {
458
772
  "length": 20,
459
- "start": 1258
773
+ "start": 311
460
774
  },
461
775
  {
462
776
  "length": 20,
463
- "start": 1759
777
+ "start": 441
778
+ },
779
+ {
780
+ "length": 20,
781
+ "start": 546
464
782
  },
465
783
  {
466
784
  "length": 20,
467
- "start": 3110
785
+ "start": 676
468
786
  },
469
787
  {
470
788
  "length": 20,
471
- "start": 7585
789
+ "start": 7437
790
+ },
791
+ {
792
+ "length": 20,
793
+ "start": 12164
472
794
  }
473
795
  ]
474
796
  }
475
797
  },
476
798
  "deployedLinkReferences": {
799
+ "contracts/type/ObjectType.sol": {
800
+ "ObjectTypeLib": [
801
+ {
802
+ "length": 20,
803
+ "start": 1759
804
+ }
805
+ ]
806
+ },
477
807
  "contracts/type/RoleId.sol": {
478
808
  "RoleIdLib": [
479
809
  {
480
810
  "length": 20,
481
- "start": 2259
811
+ "start": 3510
482
812
  }
483
813
  ]
484
814
  },
@@ -486,7 +816,19 @@
486
816
  "StrLib": [
487
817
  {
488
818
  "length": 20,
489
- "start": 2147
819
+ "start": 1618
820
+ },
821
+ {
822
+ "length": 20,
823
+ "start": 1981
824
+ },
825
+ {
826
+ "length": 20,
827
+ "start": 3150
828
+ },
829
+ {
830
+ "length": 20,
831
+ "start": 3388
490
832
  }
491
833
  ]
492
834
  },
@@ -494,7 +836,7 @@
494
836
  "VersionPartLib": [
495
837
  {
496
838
  "length": 20,
497
- "start": 1833
839
+ "start": 2772
498
840
  }
499
841
  ]
500
842
  }