@etherisc/gif-next 0.0.2-f13c010-035 → 0.0.2-f13d67f-541

Sign up to get free protection for your applications and to get access to all the features.
Files changed (560) hide show
  1. package/README.md +90 -317
  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 +132 -300
  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 +64 -173
  31. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.dbg.json +1 -1
  32. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.json +585 -231
  33. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +1 -1
  34. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.json +190 -78
  35. package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.dbg.json +1 -1
  36. package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.json +44 -135
  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 +160 -224
  42. package/artifacts/contracts/examples/fire/FirePoolAuthorization.sol/FirePoolAuthorization.dbg.json +1 -1
  43. package/artifacts/contracts/examples/fire/FirePoolAuthorization.sol/FirePoolAuthorization.json +426 -52
  44. package/artifacts/contracts/examples/fire/FireProduct.sol/FireProduct.dbg.json +1 -1
  45. package/artifacts/contracts/examples/fire/FireProduct.sol/FireProduct.json +308 -337
  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 +215 -257
  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 +95 -165
  73. package/artifacts/contracts/examples/unpermissioned/SimplePool.sol/SimplePool.dbg.json +1 -1
  74. package/artifacts/contracts/examples/unpermissioned/SimplePool.sol/SimplePool.json +278 -233
  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 +946 -466
  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 +417 -17
  91. package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
  92. package/artifacts/contracts/instance/Instance.sol/Instance.json +615 -105
  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 +1127 -557
  99. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +1 -1
  100. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +434 -81
  101. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +1 -1
  102. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +119 -49
  103. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.dbg.json +1 -1
  104. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.json +1286 -1925
  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 +83 -175
  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 +48 -74
  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 +67 -111
  137. package/artifacts/contracts/oracle/OracleService.sol/OracleService.dbg.json +1 -1
  138. package/artifacts/contracts/oracle/OracleService.sol/OracleService.json +157 -81
  139. package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.dbg.json +1 -1
  140. package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.json +154 -46
  141. package/artifacts/contracts/pool/BasicPool.sol/BasicPool.dbg.json +1 -1
  142. package/artifacts/contracts/pool/BasicPool.sol/BasicPool.json +106 -173
  143. package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.dbg.json +1 -1
  144. package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.json +426 -52
  145. package/artifacts/contracts/pool/BundleService.sol/BundleService.dbg.json +1 -1
  146. package/artifacts/contracts/pool/BundleService.sol/BundleService.json +317 -344
  147. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.dbg.json +1 -1
  148. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.json +144 -92
  149. package/artifacts/contracts/pool/IBundleService.sol/IBundleService.dbg.json +1 -1
  150. package/artifacts/contracts/pool/IBundleService.sol/IBundleService.json +219 -146
  151. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.dbg.json +1 -1
  152. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.json +63 -128
  153. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.dbg.json +1 -1
  154. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.json +380 -214
  155. package/artifacts/contracts/pool/Pool.sol/Pool.dbg.json +1 -1
  156. package/artifacts/contracts/pool/Pool.sol/Pool.json +76 -159
  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 +621 -413
  161. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.dbg.json +1 -1
  162. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.json +186 -66
  163. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.dbg.json +1 -1
  164. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.json +327 -62
  165. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +1 -1
  166. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.json +143 -43
  167. package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.dbg.json +1 -1
  168. package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.json +199 -223
  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 +294 -189
  173. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +1 -1
  174. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.json +151 -83
  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 +167 -56
  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 +175 -181
  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 +296 -194
  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 +169 -77
  193. package/artifacts/contracts/product/PricingService.sol/PricingService.dbg.json +1 -1
  194. package/artifacts/contracts/product/PricingService.sol/PricingService.json +139 -114
  195. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.dbg.json +1 -1
  196. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.json +131 -59
  197. package/artifacts/contracts/product/Product.sol/Product.dbg.json +1 -1
  198. package/artifacts/contracts/product/Product.sol/Product.json +193 -217
  199. package/artifacts/contracts/product/RiskService.sol/RiskService.dbg.json +1 -1
  200. package/artifacts/contracts/product/RiskService.sol/RiskService.json +338 -87
  201. package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.dbg.json +1 -1
  202. package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.json +141 -41
  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 +78 -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 +116 -57
  214. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.dbg.json +1 -1
  215. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.json +848 -479
  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 +89 -37
  220. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +1 -1
  221. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +119 -39
  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 +66 -96
  234. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.dbg.json +1 -1
  235. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.json +308 -542
  236. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.dbg.json +1 -1
  237. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.json +155 -83
  238. package/artifacts/contracts/shared/ContractLib.sol/ContractLib.dbg.json +1 -1
  239. package/artifacts/contracts/shared/ContractLib.sol/ContractLib.json +544 -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 +48 -60
  248. package/artifacts/contracts/shared/IComponentService.sol/IComponentService.dbg.json +1 -1
  249. package/artifacts/contracts/shared/IComponentService.sol/IComponentService.json +171 -356
  250. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.dbg.json +1 -1
  251. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.json +48 -74
  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 +66 -110
  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 +289 -112
  280. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandlerBase.dbg.json +4 -0
  281. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandlerBase.json +484 -0
  282. package/artifacts/contracts/shared/TokenHandlerDeployerLib.sol/TokenHandlerDeployerLib.dbg.json +1 -1
  283. package/artifacts/contracts/shared/TokenHandlerDeployerLib.sol/TokenHandlerDeployerLib.json +70 -30
  284. package/artifacts/contracts/staking/IStaking.sol/IStaking.dbg.json +1 -1
  285. package/artifacts/contracts/staking/IStaking.sol/IStaking.json +1446 -164
  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 +1583 -296
  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 +160 -69
  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 +257 -162
  300. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.dbg.json +1 -1
  301. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.json +122 -46
  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 +95 -25
  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 +21 -8
  388. package/contracts/examples/fire/FirePoolAuthorization.sol +2 -1
  389. package/contracts/examples/fire/FireProduct.sol +38 -20
  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 +39 -8
  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 +32 -6
  404. package/contracts/examples/unpermissioned/SimplePoolAuthorization.sol +28 -0
  405. package/contracts/examples/unpermissioned/SimpleProduct.sol +132 -46
  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 +61 -14
  412. package/contracts/instance/Instance.sol +184 -65
  413. package/contracts/instance/InstanceAdmin.sol +221 -193
  414. package/contracts/instance/InstanceAuthorizationV3.sol +153 -72
  415. package/contracts/instance/InstanceReader.sol +447 -314
  416. package/contracts/instance/InstanceService.sol +315 -214
  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 +19 -10
  429. package/contracts/instance/module/IDistribution.sol +21 -8
  430. package/contracts/instance/module/IPolicy.sol +28 -7
  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 -79
  438. package/contracts/oracle/OracleServiceManager.sol +1 -1
  439. package/contracts/pool/BasicPool.sol +26 -19
  440. package/contracts/pool/BasicPoolAuthorization.sol +34 -10
  441. package/contracts/pool/BundleService.sol +75 -182
  442. package/contracts/pool/BundleServiceManager.sol +1 -1
  443. package/contracts/pool/IBundleService.sol +28 -55
  444. package/contracts/pool/IPoolComponent.sol +1 -7
  445. package/contracts/pool/IPoolService.sol +65 -62
  446. package/contracts/pool/Pool.sol +111 -115
  447. package/contracts/pool/PoolLib.sol +341 -0
  448. package/contracts/pool/PoolService.sol +299 -229
  449. package/contracts/pool/PoolServiceManager.sol +1 -1
  450. package/contracts/product/ApplicationService.sol +93 -25
  451. package/contracts/product/ApplicationServiceManager.sol +1 -1
  452. package/contracts/product/BasicProduct.sol +10 -15
  453. package/contracts/product/BasicProductAuthorization.sol +33 -11
  454. package/contracts/product/ClaimService.sol +221 -207
  455. package/contracts/product/ClaimServiceManager.sol +1 -1
  456. package/contracts/product/IApplicationService.sol +28 -3
  457. package/contracts/product/IClaimService.sol +18 -5
  458. package/contracts/product/IPolicyService.sol +34 -12
  459. package/contracts/product/IPricingService.sol +1 -0
  460. package/contracts/product/IProductComponent.sol +4 -1
  461. package/contracts/product/IRiskService.sol +25 -10
  462. package/contracts/product/PolicyService.sol +260 -306
  463. package/contracts/product/PolicyServiceLib.sol +139 -0
  464. package/contracts/product/PolicyServiceManager.sol +1 -1
  465. package/contracts/product/PricingService.sol +52 -46
  466. package/contracts/product/PricingServiceManager.sol +3 -3
  467. package/contracts/product/Product.sol +106 -70
  468. package/contracts/product/RiskService.sol +130 -37
  469. package/contracts/product/RiskServiceManager.sol +1 -1
  470. package/contracts/registry/ChainNft.sol +4 -2
  471. package/contracts/registry/IRegistry.sol +25 -24
  472. package/contracts/registry/IRelease.sol +29 -0
  473. package/contracts/registry/Registry.sol +31 -12
  474. package/contracts/registry/RegistryAdmin.sol +94 -369
  475. package/contracts/registry/RegistryAuthorization.sol +337 -0
  476. package/contracts/registry/RegistryService.sol +4 -4
  477. package/contracts/registry/RegistryServiceManager.sol +1 -1
  478. package/contracts/registry/ReleaseAdmin.sol +199 -0
  479. package/contracts/registry/ReleaseLifecycle.sol +2 -0
  480. package/contracts/registry/ReleaseRegistry.sol +158 -134
  481. package/contracts/registry/ServiceAuthorizationV3.sol +200 -52
  482. package/contracts/registry/TokenRegistry.sol +61 -59
  483. package/contracts/shared/Component.sol +58 -119
  484. package/contracts/shared/ComponentService.sol +400 -395
  485. package/contracts/shared/ComponentServiceManager.sol +1 -1
  486. package/contracts/shared/ContractLib.sol +277 -3
  487. package/contracts/shared/IComponent.sol +2 -18
  488. package/contracts/shared/IComponentService.sol +28 -38
  489. package/contracts/shared/IInstanceLinkedComponent.sol +0 -11
  490. package/contracts/shared/INftOwnable.sol +2 -0
  491. package/contracts/shared/IRegisterable.sol +15 -5
  492. package/contracts/shared/IService.sol +3 -5
  493. package/contracts/shared/InitializableERC165.sol +9 -1
  494. package/contracts/shared/InstanceLinkedComponent.sol +63 -44
  495. package/contracts/shared/NftOwnable.sol +8 -6
  496. package/contracts/shared/PolicyHolder.sol +4 -3
  497. package/contracts/shared/Registerable.sol +41 -20
  498. package/contracts/shared/RegistryLinked.sol +7 -13
  499. package/contracts/shared/Service.sol +13 -30
  500. package/contracts/shared/TokenHandler.sol +264 -105
  501. package/contracts/shared/TokenHandlerDeployerLib.sol +10 -2
  502. package/contracts/staking/IStaking.sol +270 -72
  503. package/contracts/staking/IStakingService.sol +45 -75
  504. package/contracts/staking/ITargetLimitHandler.sol +17 -0
  505. package/contracts/staking/Staking.sol +522 -222
  506. package/contracts/staking/{StakeManagerLib.sol → StakingLib.sol} +55 -84
  507. package/contracts/staking/StakingManager.sol +4 -3
  508. package/contracts/staking/StakingReader.sol +58 -77
  509. package/contracts/staking/StakingService.sol +62 -148
  510. package/contracts/staking/StakingServiceManager.sol +6 -4
  511. package/contracts/staking/StakingStore.sol +1093 -330
  512. package/contracts/staking/TargetHandler.sol +132 -0
  513. package/contracts/staking/TargetManagerLib.sol +69 -46
  514. package/contracts/type/Amount.sol +4 -0
  515. package/contracts/type/Blocknumber.sol +17 -22
  516. package/contracts/type/ChainId.sol +101 -0
  517. package/contracts/type/Fee.sol +8 -8
  518. package/contracts/type/Key32.sol +2 -2
  519. package/contracts/type/Key32Set.sol +62 -0
  520. package/contracts/type/NftId.sol +6 -0
  521. package/contracts/type/ObjectType.sol +70 -68
  522. package/contracts/type/Referral.sol +6 -0
  523. package/contracts/type/RequestIdSet.sol +62 -0
  524. package/contracts/type/RiskId.sol +26 -8
  525. package/contracts/type/RoleId.sol +63 -45
  526. package/contracts/type/Seconds.sol +23 -0
  527. package/contracts/type/Selector.sol +5 -0
  528. package/contracts/type/String.sol +42 -0
  529. package/contracts/type/Timestamp.sol +14 -8
  530. package/contracts/type/UFixed.sol +35 -127
  531. package/contracts/type/Version.sol +54 -5
  532. package/contracts/upgradeability/IVersionable.sol +3 -0
  533. package/contracts/upgradeability/ProxyManager.sol +27 -13
  534. package/contracts/upgradeability/UpgradableProxyWithAdmin.sol +12 -2
  535. package/contracts/upgradeability/Versionable.sol +6 -3
  536. package/package.json +4 -4
  537. package/artifacts/contracts/authorization/ReleaseAccessManager.sol/ReleaseAccessManager.dbg.json +0 -4
  538. package/artifacts/contracts/authorization/ReleaseAccessManager.sol/ReleaseAccessManager.json +0 -1196
  539. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.dbg.json +0 -4
  540. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.json +0 -129
  541. package/artifacts/contracts/shared/ComponentServiceHelperLib.sol/ComponentServiceHelperLib.dbg.json +0 -4
  542. package/artifacts/contracts/shared/ComponentServiceHelperLib.sol/ComponentServiceHelperLib.json +0 -206
  543. package/artifacts/contracts/shared/ComponentVerifyingService.sol/ComponentVerifyingService.dbg.json +0 -4
  544. package/artifacts/contracts/shared/ComponentVerifyingService.sol/ComponentVerifyingService.json +0 -474
  545. package/artifacts/contracts/shared/IKeyValueStore.sol/IKeyValueStore.dbg.json +0 -4
  546. package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.dbg.json +0 -4
  547. package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.json +0 -538
  548. package/artifacts/contracts/staking/StakeManagerLib.sol/StakeManagerLib.dbg.json +0 -4
  549. package/artifacts/contracts/staking/StakeManagerLib.sol/StakeManagerLib.json +0 -440
  550. package/artifacts/contracts/staking/StakingLifecycle.sol/StakingLifecycle.dbg.json +0 -4
  551. package/artifacts/contracts/staking/StakingLifecycle.sol/StakingLifecycle.json +0 -205
  552. package/artifacts/contracts/type/UFixed.sol/MathLib.dbg.json +0 -4
  553. package/artifacts/contracts/type/UFixed.sol/MathLib.json +0 -16
  554. package/contracts/authorization/ReleaseAccessManager.sol +0 -38
  555. package/contracts/instance/module/IAccess.sol +0 -46
  556. package/contracts/shared/ComponentServiceHelperLib.sol +0 -118
  557. package/contracts/shared/ComponentVerifyingService.sol +0 -126
  558. package/contracts/shared/IKeyValueStore.sol +0 -54
  559. package/contracts/shared/KeyValueStore.sol +0 -131
  560. package/contracts/staking/StakingLifecycle.sol +0 -23
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../build-info/d007c09f346c1f63fa245b44a15fcd64.json"
3
+ "buildInfo": "../../../build-info/d354309e749e9f959e2ce2e5857f93a2.json"
4
4
  }
@@ -181,6 +181,72 @@
181
181
  "name": "AddressInsufficientBalance",
182
182
  "type": "error"
183
183
  },
184
+ {
185
+ "inputs": [
186
+ {
187
+ "internalType": "address",
188
+ "name": "caller",
189
+ "type": "address"
190
+ }
191
+ ],
192
+ "name": "ErrorAccessManagerCallerAdminLocked",
193
+ "type": "error"
194
+ },
195
+ {
196
+ "inputs": [
197
+ {
198
+ "internalType": "address",
199
+ "name": "caller",
200
+ "type": "address"
201
+ }
202
+ ],
203
+ "name": "ErrorAccessManagerCallerNotAdmin",
204
+ "type": "error"
205
+ },
206
+ {
207
+ "inputs": [
208
+ {
209
+ "internalType": "VersionPart",
210
+ "name": "release",
211
+ "type": "uint8"
212
+ }
213
+ ],
214
+ "name": "ErrorAccessManagerInvalidRelease",
215
+ "type": "error"
216
+ },
217
+ {
218
+ "inputs": [
219
+ {
220
+ "internalType": "address",
221
+ "name": "registry",
222
+ "type": "address"
223
+ }
224
+ ],
225
+ "name": "ErrorAccessManagerRegistryAlreadySet",
226
+ "type": "error"
227
+ },
228
+ {
229
+ "inputs": [
230
+ {
231
+ "internalType": "address",
232
+ "name": "target",
233
+ "type": "address"
234
+ }
235
+ ],
236
+ "name": "ErrorAccessManagerTargetAdminLocked",
237
+ "type": "error"
238
+ },
239
+ {
240
+ "inputs": [
241
+ {
242
+ "internalType": "address",
243
+ "name": "registryAddress",
244
+ "type": "address"
245
+ }
246
+ ],
247
+ "name": "ErrorNotRegistry",
248
+ "type": "error"
249
+ },
184
250
  {
185
251
  "inputs": [],
186
252
  "name": "FailedInnerCall",
@@ -602,6 +668,24 @@
602
668
  "stateMutability": "nonpayable",
603
669
  "type": "function"
604
670
  },
671
+ {
672
+ "inputs": [
673
+ {
674
+ "internalType": "address",
675
+ "name": "registry",
676
+ "type": "address"
677
+ },
678
+ {
679
+ "internalType": "VersionPart",
680
+ "name": "release",
681
+ "type": "uint8"
682
+ }
683
+ ],
684
+ "name": "completeSetup",
685
+ "outputs": [],
686
+ "stateMutability": "nonpayable",
687
+ "type": "function"
688
+ },
605
689
  {
606
690
  "inputs": [
607
691
  {
@@ -715,6 +799,32 @@
715
799
  "stateMutability": "view",
716
800
  "type": "function"
717
801
  },
802
+ {
803
+ "inputs": [],
804
+ "name": "getRegistry",
805
+ "outputs": [
806
+ {
807
+ "internalType": "contract IRegistry",
808
+ "name": "",
809
+ "type": "address"
810
+ }
811
+ ],
812
+ "stateMutability": "view",
813
+ "type": "function"
814
+ },
815
+ {
816
+ "inputs": [],
817
+ "name": "getRelease",
818
+ "outputs": [
819
+ {
820
+ "internalType": "VersionPart",
821
+ "name": "release",
822
+ "type": "uint8"
823
+ }
824
+ ],
825
+ "stateMutability": "view",
826
+ "type": "function"
827
+ },
718
828
  {
719
829
  "inputs": [
720
830
  {
@@ -919,7 +1029,7 @@
919
1029
  "inputs": [
920
1030
  {
921
1031
  "internalType": "address",
922
- "name": "initialAdmin",
1032
+ "name": "admin",
923
1033
  "type": "address"
924
1034
  }
925
1035
  ],
@@ -928,6 +1038,19 @@
928
1038
  "stateMutability": "nonpayable",
929
1039
  "type": "function"
930
1040
  },
1041
+ {
1042
+ "inputs": [],
1043
+ "name": "isLocked",
1044
+ "outputs": [
1045
+ {
1046
+ "internalType": "bool",
1047
+ "name": "",
1048
+ "type": "bool"
1049
+ }
1050
+ ],
1051
+ "stateMutability": "view",
1052
+ "type": "function"
1053
+ },
931
1054
  {
932
1055
  "inputs": [
933
1056
  {
@@ -1085,6 +1208,19 @@
1085
1208
  "stateMutability": "nonpayable",
1086
1209
  "type": "function"
1087
1210
  },
1211
+ {
1212
+ "inputs": [
1213
+ {
1214
+ "internalType": "bool",
1215
+ "name": "locked",
1216
+ "type": "bool"
1217
+ }
1218
+ ],
1219
+ "name": "setLocked",
1220
+ "outputs": [],
1221
+ "stateMutability": "nonpayable",
1222
+ "type": "function"
1223
+ },
1088
1224
  {
1089
1225
  "inputs": [
1090
1226
  {
@@ -1180,6 +1316,25 @@
1180
1316
  "stateMutability": "nonpayable",
1181
1317
  "type": "function"
1182
1318
  },
1319
+ {
1320
+ "inputs": [
1321
+ {
1322
+ "internalType": "bytes4",
1323
+ "name": "interfaceId",
1324
+ "type": "bytes4"
1325
+ }
1326
+ ],
1327
+ "name": "supportsInterface",
1328
+ "outputs": [
1329
+ {
1330
+ "internalType": "bool",
1331
+ "name": "",
1332
+ "type": "bool"
1333
+ }
1334
+ ],
1335
+ "stateMutability": "view",
1336
+ "type": "function"
1337
+ },
1183
1338
  {
1184
1339
  "inputs": [
1185
1340
  {
@@ -1199,8 +1354,50 @@
1199
1354
  "type": "function"
1200
1355
  }
1201
1356
  ],
1202
- "bytecode": "0x6080604052348015600e575f80fd5b50612ba18061001c5f395ff3fe6080604052600436106101e6575f3560e01c80636d5115bd11610108578063b70096131161009d578063d1f856ee1161006d578063d1f856ee146105e9578063d22b598914610608578063d6bb62c614610627578063f801a69814610646578063fe0776f51461067f575f80fd5b8063b70096131461055b578063b7d2b16214610596578063c4d66de8146105b5578063cc1b6c81146105d4575f80fd5b8063a166aa89116100d8578063a166aa89146104b4578063a64d95ce146104e3578063abd9bd2a14610502578063ac9650d81461052f575f80fd5b80636d5115bd1461044457806375b238fc14610463578063853551b81461047657806394c7d7ee14610495575f80fd5b806330cae1871161017e5780634665096d1161014e5780634665096d146103d25780634c1da1e2146103e75780635296295214610406578063530dd45614610425575f80fd5b806330cae187146103445780633adc277a146103635780633ca7c02a146103995780634136a33c146103b3575f80fd5b806318ff183c116101b957806318ff183c1461029a5780631cff79cd146102b957806325c471a0146102cc5780633078f114146102eb575f80fd5b806308d6122d146101ea5780630b0a93ba1461020b57806312be872714610247578063167bd3951461027b575b5f80fd5b3480156101f5575f80fd5b50610209610204366004612483565b61069e565b005b348015610216575f80fd5b5061022a6102253660046124e5565b6106f0565b6040516001600160401b0390911681526020015b60405180910390f35b348015610252575f80fd5b506102666102613660046124e5565b610727565b60405163ffffffff909116815260200161023e565b348015610286575f80fd5b506102096102953660046124fe565b610771565b3480156102a5575f80fd5b506102096102b4366004612539565b610787565b6102666102c73660046125a2565b6107e9565b3480156102d7575f80fd5b506102096102e6366004612605565b61092a565b3480156102f6575f80fd5b5061030a610305366004612647565b61094c565b60405161023e949392919065ffffffffffff948516815263ffffffff93841660208201529190921660408201529116606082015260800190565b34801561034f575f80fd5b5061020961035e366004612661565b6109bf565b34801561036e575f80fd5b5061038261037d366004612692565b6109d1565b60405165ffffffffffff909116815260200161023e565b3480156103a4575f80fd5b5061022a6001600160401b0381565b3480156103be575f80fd5b506102666103cd366004612692565b610a13565b3480156103dd575f80fd5b5062093a80610266565b3480156103f2575f80fd5b506102666104013660046126a9565b610a3e565b348015610411575f80fd5b50610209610420366004612661565b610a78565b348015610430575f80fd5b5061022a61043f3660046124e5565b610a8a565b34801561044f575f80fd5b5061022a61045e3660046126d9565b610aba565b34801561046e575f80fd5b5061022a5f81565b348015610481575f80fd5b50610209610490366004612705565b610b01565b3480156104a0575f80fd5b506102096104af3660046125a2565b610b98565b3480156104bf575f80fd5b506104d36104ce3660046126a9565b610c42565b604051901515815260200161023e565b3480156104ee575f80fd5b506102096104fd366004612720565b610c79565b34801561050d575f80fd5b5061052161051c366004612748565b610c8b565b60405190815260200161023e565b34801561053a575f80fd5b5061054e6105493660046127a8565b610cc3565b60405161023e91906127e6565b348015610566575f80fd5b5061057a61057536600461286a565b610da8565b60408051921515835263ffffffff90911660208301520161023e565b3480156105a1575f80fd5b506102096105b0366004612647565b610e29565b3480156105c0575f80fd5b506102096105cf3660046126a9565b610e40565b3480156105df575f80fd5b5062069780610266565b3480156105f4575f80fd5b5061057a610603366004612647565b610f4b565b348015610613575f80fd5b506102096106223660046128b2565b610fc4565b348015610632575f80fd5b50610266610641366004612748565b610fd6565b348015610651575f80fd5b506106656106603660046128ce565b611139565b6040805192835263ffffffff90911660208301520161023e565b34801561068a575f80fd5b50610209610699366004612647565b6112d5565b6106a66112fe565b5f5b828110156106e9576106e1858585848181106106c6576106c661293b565b90506020020160208101906106db919061294f565b84611375565b6001016106a8565b5050505050565b5f806106fa611401565b6001600160401b039384165f9081526001918201602052604090200154600160401b900490921692915050565b5f80610731611401565b6001600160401b0384165f90815260018281016020526040909120015490915061076a90600160801b90046001600160701b0316611425565b9392505050565b6107796112fe565b6107838282611443565b5050565b61078f6112fe565b604051637a9e5e4b60e01b81526001600160a01b038281166004830152831690637a9e5e4b906024015f604051808303815f87803b1580156107cf575f80fd5b505af11580156107e1573d5f803e3d5ffd5b505050505050565b5f806107f3611401565b9050335f80610804838989896114e7565b915091508115801561081a575063ffffffff8116155b1561086d57828861082b8989611538565b6040516381c6f24b60e01b81526001600160a01b0393841660048201529290911660248301526001600160e01b03191660448201526064015b60405180910390fd5b5f61087a848a8a8a610c8b565b90505f63ffffffff83161515806108a05750610895826109d1565b65ffffffffffff1615155b156108b1576108ae8261154f565b90505b60038601546108c98b6108c48c8c611538565b611660565b87600301819055506109128b8b8b8080601f0160208091040260200160405190810160405280939291908181526020018383808284375f920191909152503492506116a2915050565b50600390960195909555509293505050509392505050565b6109326112fe565b610946838361094086610727565b8461173b565b50505050565b5f805f805f610959611401565b6001600160401b0388165f90815260018201602090815260408083206001600160a01b038b1684529091529020805465ffffffffffff81169750919250906109b090600160301b90046001600160701b0316611995565b979a9199509750945050505050565b6109c76112fe565b61078382826119b6565b5f806109db611401565b5f84815260028201602052604090205490915065ffffffffffff166109ff81611a66565b610a095780610a0b565b5f5b949350505050565b5f80610a1d611401565b5f93845260020160205250506040902054600160301b900463ffffffff1690565b5f80610a48611401565b6001600160a01b0384165f9081526020829052604090206001015490915061076a906001600160701b0316611425565b610a806112fe565b6107838282611a94565b5f80610a94611401565b6001600160401b039384165f908152600191820160205260409020015490921692915050565b5f80610ac4611401565b6001600160a01b0385165f908152602091825260408082206001600160e01b03198716835290925220546001600160401b03169150505b92915050565b610b096112fe565b6001600160401b0383161580610b2757506001600160401b03838116145b15610b505760405163061c6a4360e21b81526001600160401b0384166004820152602401610864565b826001600160401b03167f1256f5b5ecb89caec12db449738f2fbcd1ba5806cf38f35413f4e5c15bf6a4508383604051610b8b929190612992565b60405180910390a2505050565b60408051638fb3603760e01b80825291513392918391638fb36037916004808201926020929091908290030181865afa158015610bd7573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610bfb91906129a5565b6001600160e01b03191614610c2e57604051630641fee960e31b81526001600160a01b0382166004820152602401610864565b6106e9610c3d85838686610c8b565b61154f565b5f80610c4c611401565b6001600160a01b039093165f9081526020939093525050604090206001015460ff600160701b9091041690565b610c816112fe565b6107838282611b52565b5f84848484604051602001610ca394939291906129c0565b604051602081830303815290604052805190602001209050949350505050565b604080515f815260208101909152606090826001600160401b03811115610cec57610cec612a27565b604051908082528060200260200182016040528015610d1f57816020015b6060815260200190600190039081610d0a5790505b5091505f5b83811015610da057610d7b30868684818110610d4257610d4261293b565b9050602002810190610d549190612a3b565b85604051602001610d6793929190612a94565b604051602081830303815290604052611c7c565b838281518110610d8d57610d8d61293b565b6020908102919091010152600101610d24565b505092915050565b5f80610db384610c42565b15610dc257505f905080610e21565b306001600160a01b03861603610de657610ddc8484611cee565b5f91509150610e21565b5f610df18585610aba565b90505f80610dff8389610f4b565b9150915081610e0f575f80610e19565b63ffffffff811615815b945094505050505b935093915050565b610e316112fe565b610e3b8282611d12565b505050565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a008054600160401b810460ff1615906001600160401b03165f81158015610e845750825b90505f826001600160401b03166001148015610e9f5750303b155b905081158015610ead575080155b15610ecb5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315610ef557845460ff60401b1916600160401b1785555b610efe86611e0d565b83156107e157845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a1505050505050565b5f8067fffffffffffffffe196001600160401b03851601610f715750600190505f610fbd565b5f80610f7d868661094c565b5050915091508165ffffffffffff165f14158015610fb25750610f9e611e21565b65ffffffffffff168265ffffffffffff1611155b93509150610fbd9050565b9250929050565b610fcc6112fe565b6107838282611e30565b5f80610fe0611401565b9050335f610fee8686611538565b90505f610ffd89898989610c8b565b5f81815260028601602052604081205491925065ffffffffffff909116900361103c5760405163060a299b60e41b815260048101829052602401610864565b826001600160a01b0316896001600160a01b0316146110d5575f6110605f85610f4b565b5090505f61107a6110746102258c87610aba565b86610f4b565b50905081158015611089575080155b156110d257604051630ff89d4760e21b81526001600160a01b038087166004830152808d1660248301528b1660448201526001600160e01b031985166064820152608401610864565b50505b5f818152600285016020526040808220805465ffffffffffff1916908190559051600160301b90910463ffffffff1691829184917fbd9ac67a6e2f6463b80927326310338bcbb4bdb7936ce1365ea3e01067e7b9f791a39998505050505050505050565b5f805f611144611401565b9050335f611154828a8a8a6114e7565b9150505f8163ffffffff16611167611e21565b6111719190612aa9565b905063ffffffff821615806111a757505f8765ffffffffffff161180156111a757508065ffffffffffff168765ffffffffffff16105b156111b857828a61082b8b8b611538565b6111d28765ffffffffffff168265ffffffffffff16611ef8565b96506111e0838b8b8b610c8b565b95506111eb86611f0d565b836002015f8781526020019081526020015f205f0160069054906101000a900463ffffffff16600101945086846002015f8881526020019081526020015f205f015f6101000a81548165ffffffffffff021916908365ffffffffffff16021790555084846002015f8881526020019081526020015f205f0160066101000a81548163ffffffff021916908363ffffffff1602179055508463ffffffff16867f82a2da5dee54ea8021c6545b4444620291e07ee83be6dd57edb175062715f3b489868e8e8e6040516112c0959493929190612ac7565b60405180910390a35050505094509492505050565b6001600160a01b0381163314610e3157604051635f159e6360e01b815260040160405180910390fd5b335f8061130c838236611f67565b9150915081610e3b578063ffffffff165f03611366575f61132d8136612018565b5060405163f07e038f60e01b81526001600160a01b03871660048201526001600160401b03821660248201529092506044019050610864565b610946610c3d84305f36610c8b565b5f61137e611401565b6001600160a01b0385165f818152602083815260408083206001600160e01b0319891680855290835292819020805467ffffffffffffffff19166001600160401b03891690811790915590519283529394507f9ea6790c7dadfd01c9f8b9762b3682607af2c7e79e05a9f9fdf5580dde949151910160405180910390a350505050565b7f40c6c8c28789853c7efd823ab20824bbd71718a8a5915e855f6f288c9a26ad0090565b5f80611439836001600160701b0316611995565b5090949350505050565b5f61144c611401565b9050306001600160a01b0384160361148257604051630b40d17960e31b81526001600160a01b0384166004820152602401610864565b6001600160a01b0383165f81815260208390526040908190206001018054851515600160701b0260ff60701b19909116179055517f90d4e7bb7e5d933792b3562e1741306f8be94837e1348dacef9b6f1df56eb13890610b8b90851515815260200190565b5f80306001600160a01b0386160361150d57611504868585611f67565b9150915061152f565b600483106115295761152486866105758787611538565b611504565b505f9050805b94509492505050565b5f6115466004828486612a00565b61076a91612b0c565b5f80611559611401565b5f84815260028201602052604081205491925065ffffffffffff821691600160301b900463ffffffff16908290036115a75760405163060a299b60e41b815260048101869052602401610864565b6115af611e21565b65ffffffffffff168265ffffffffffff1611156115e257604051630c65b5bd60e11b815260048101869052602401610864565b6115eb82611a66565b1561160c57604051631e2975b960e21b815260048101869052602401610864565b5f858152600284016020526040808220805465ffffffffffff191690555163ffffffff83169187917f76a2a46953689d4861a5d3f6ed883ad7e6af674a21f8e162707159fc9dde614d9190a3949350505050565b604080516001600160a01b03939093166020808501919091526001600160e01b0319929092168382015280518084038201815260609093019052815191012090565b6060814710156116c75760405163cd78605960e01b8152306004820152602401610864565b5f80856001600160a01b031684866040516116e29190612b44565b5f6040518083038185875af1925050503d805f811461171c576040519150601f19603f3d011682016040523d82523d5f602084013e611721565b606091505b50915091506117318683836121d9565b9695505050505050565b5f80611745611401565b905067fffffffffffffffe196001600160401b038716016117845760405163061c6a4360e21b81526001600160401b0387166004820152602401610864565b6001600160401b0386165f90815260018201602090815260408083206001600160a01b038916845290915281205465ffffffffffff1615908115611878578563ffffffff166117d1611e21565b6117db9190612aa9565b905060405180604001604052808265ffffffffffff1681526020016118098763ffffffff1663ffffffff1690565b6001600160701b039081169091526001600160401b038a165f90815260018601602090815260408083206001600160a01b038d1684528252909120835181549490920151909216600160301b026001600160a01b031990931665ffffffffffff90911617919091179055611926565b6001600160401b0388165f90815260018401602090815260408083206001600160a01b038b1684529091528120546118c391600160301b9091046001600160701b0316908790612235565b6001600160401b038a165f90815260018601602090815260408083206001600160a01b038d168452909152902080546001600160701b03909316600160301b0273ffffffffffffffffffffffffffff000000000000199093169290921790915590505b6040805163ffffffff8716815265ffffffffffff831660208201528315158183015290516001600160a01b038916916001600160401b038b16917ff98448b987f1428e0e230e1f3c6e2ce15b5693eaf31827fbd0b1ec4b424ae7cf9181900360600190a3509695505050505050565b5f805f6119a9846119a4611e21565b6122db565b9250925092509193909250565b5f6119bf611401565b90506001600160401b03831615806119df57506001600160401b03838116145b15611a085760405163061c6a4360e21b81526001600160401b0384166004820152602401610864565b6001600160401b038381165f81815260018481016020526040808320909101805467ffffffffffffffff19169487169485179055517f1fd6dd7631312dfac2205b52913f99de03b4d7e381d5d27d3dbfe0713e6e63409190a3505050565b5f611a6f611e21565b65ffffffffffff16611a8462093a8084612aa9565b65ffffffffffff16111592915050565b5f611a9d611401565b90506001600160401b0383161580611abd57506001600160401b03838116145b15611ae65760405163061c6a4360e21b81526001600160401b0384166004820152602401610864565b6001600160401b038381165f8181526001848101602052604080832090910180546fffffffffffffffff00000000000000001916600160401b958816958602179055517f7a8059630b897b5de4c08ade69f8b90c3ead1f8596d62d10b6c4d14a0afb4ae29190a3505050565b5f611b5b611401565b905067fffffffffffffffe196001600160401b03841601611b9a5760405163061c6a4360e21b81526001600160401b0384166004820152602401610864565b6001600160401b0383165f9081526001828101602052604082200154611bd490600160801b90046001600160701b03168462069780612235565b6001600160401b0386165f81815260018087016020526040918290200180546001600160701b03909516600160801b026dffffffffffffffffffffffffffff60801b199095169490941790935591519092507ffeb69018ee8b8fd50ea86348f1267d07673379f72cffdeccec63853ee8ce8b4890611c6e908690859063ffffffff92909216825265ffffffffffff16602082015260400190565b60405180910390a250505050565b60605f80846001600160a01b031684604051611c989190612b44565b5f60405180830381855af49150503d805f8114611cd0576040519150601f19603f3d011682016040523d82523d5f602084013e611cd5565b606091505b5091509150611ce58583836121d9565b95945050505050565b5f80611cf8611401565b9050611d048484611660565b600390910154149392505050565b5f80611d1c611401565b905067fffffffffffffffe196001600160401b03851601611d5b5760405163061c6a4360e21b81526001600160401b0385166004820152602401610864565b6001600160401b0384165f90815260018201602090815260408083206001600160a01b038716845290915281205465ffffffffffff169003611da0575f915050610afb565b6001600160401b0384165f81815260018301602090815260408083206001600160a01b038816808552925280832080546001600160a01b0319169055519092917ff229baa593af28c41b1d16b748cd7688f0c83aaf92d4be41c44005defe84c16691a35060019392505050565b611e1561232d565b611e1e81612378565b50565b5f611e2b426123b5565b905090565b5f611e39611401565b90505f611e6f83620697806001600160a01b0387165f908152602086905260409020600101546001600160701b03169190612235565b6001600160a01b0386165f818152602086815260409182902060010180546dffffffffffffffffffffffffffff19166001600160701b039690961695909517909455805163ffffffff8816815265ffffffffffff841694810194909452919350917fa56b76017453f399ec2327ba00375dbfb1fd070ff854341ad6191e6a2e2de19c9101611c6e565b5f818311611f06578161076a565b5090919050565b5f611f16611401565b5f83815260028201602052604090205490915065ffffffffffff168015801590611f465750611f4481611a66565b155b15610e3b5760405163813e945960e01b815260048101849052602401610864565b5f806004831015611f7c57505f905080610e21565b306001600160a01b03861603611f9f57610ddc30611f9a8686611538565b611cee565b5f805f611fac8787612018565b92509250925082611fc5575f8094509450505050610e21565b5f80611fd1848b610f4b565b9150915081611fea575f80965096505050505050610e21565b6120008363ffffffff168263ffffffff16611ef8565b63ffffffff8116159b909a5098505050505050505050565b5f8080600484101561203157505f9150819050806121d2565b5f61203c8686611538565b90506001600160e01b031981166310a6aa3760e31b148061206d57506001600160e01b031981166330cae18760e01b145b8061208857506001600160e01b0319811663294b14a960e11b145b806120a357506001600160e01b03198116635326cae760e11b145b806120be57506001600160e01b0319811663d22b598960e01b145b156120d35760015f80935093509350506121d2565b6001600160e01b0319811663063fc60f60e21b148061210257506001600160e01b0319811663167bd39560e01b145b8061211d57506001600160e01b031981166308d6122d60e01b145b1561215c575f61213160246004888a612a00565b81019061213e91906126a9565b90505f61214a82610a3e565b600196505f955093506121d292505050565b6001600160e01b0319811663012e238d60e51b148061218b57506001600160e01b03198116635be958b160e11b145b156121c7575f61219f60246004888a612a00565b8101906121ac91906124e5565b905060016121b982610a8a565b5f94509450945050506121d2565b5f805f935093509350505b9250925092565b6060826121ee576121e9826123eb565b61076a565b815115801561220557506001600160a01b0384163b155b1561222e57604051639996b31560e01b81526001600160a01b0385166004820152602401610864565b508061076a565b5f805f61224a866001600160701b0316611425565b90505f6122858563ffffffff168763ffffffff168463ffffffff1611612270575f61227a565b61227a8885612b4f565b63ffffffff16611ef8565b90508063ffffffff16612296611e21565b6122a09190612aa9565b925063ffffffff8616602083901b67ffffffff0000000016604085901b6dffffffffffff000000000000000016171793505050935093915050565b5f808069ffffffffffffffffffff602086901c166001600160701b03861665ffffffffffff604088901c81169087168111156123195782828261231d565b815f805b9550955095505050509250925092565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a0054600160401b900460ff1661237657604051631afcd79f60e31b815260040160405180910390fd5b565b61238061232d565b6001600160a01b0381166123a957604051630409d6d160e11b81525f6004820152602401610864565b6107835f825f8061173b565b5f65ffffffffffff8211156123e7576040516306dfcc6560e41b81526030600482015260248101839052604401610864565b5090565b8051156123fb5780518082602001fd5b604051630a12f52160e11b815260040160405180910390fd5b6001600160a01b0381168114611e1e575f80fd5b5f8083601f840112612438575f80fd5b5081356001600160401b0381111561244e575f80fd5b6020830191508360208260051b8501011115610fbd575f80fd5b80356001600160401b038116811461247e575f80fd5b919050565b5f805f8060608587031215612496575f80fd5b84356124a181612414565b935060208501356001600160401b038111156124bb575f80fd5b6124c787828801612428565b90945092506124da905060408601612468565b905092959194509250565b5f602082840312156124f5575f80fd5b61076a82612468565b5f806040838503121561250f575f80fd5b823561251a81612414565b91506020830135801515811461252e575f80fd5b809150509250929050565b5f806040838503121561254a575f80fd5b823561255581612414565b9150602083013561252e81612414565b5f8083601f840112612575575f80fd5b5081356001600160401b0381111561258b575f80fd5b602083019150836020828501011115610fbd575f80fd5b5f805f604084860312156125b4575f80fd5b83356125bf81612414565b925060208401356001600160401b038111156125d9575f80fd5b6125e586828701612565565b9497909650939450505050565b803563ffffffff8116811461247e575f80fd5b5f805f60608486031215612617575f80fd5b61262084612468565b9250602084013561263081612414565b915061263e604085016125f2565b90509250925092565b5f8060408385031215612658575f80fd5b61255583612468565b5f8060408385031215612672575f80fd5b61267b83612468565b915061268960208401612468565b90509250929050565b5f602082840312156126a2575f80fd5b5035919050565b5f602082840312156126b9575f80fd5b813561076a81612414565b6001600160e01b031981168114611e1e575f80fd5b5f80604083850312156126ea575f80fd5b82356126f581612414565b9150602083013561252e816126c4565b5f805f60408486031215612717575f80fd5b6125bf84612468565b5f8060408385031215612731575f80fd5b61273a83612468565b9150612689602084016125f2565b5f805f806060858703121561275b575f80fd5b843561276681612414565b9350602085013561277681612414565b925060408501356001600160401b03811115612790575f80fd5b61279c87828801612565565b95989497509550505050565b5f80602083850312156127b9575f80fd5b82356001600160401b038111156127ce575f80fd5b6127da85828601612428565b90969095509350505050565b5f602082016020835280845180835260408501915060408160051b8601019250602086015f5b8281101561285e57603f19878603018452815180518087528060208301602089015e5f602082890101526020601f19601f8301168801019650505060208201915060208401935060018101905061280c565b50929695505050505050565b5f805f6060848603121561287c575f80fd5b833561288781612414565b9250602084013561289781612414565b915060408401356128a7816126c4565b809150509250925092565b5f80604083850312156128c3575f80fd5b823561273a81612414565b5f805f80606085870312156128e1575f80fd5b84356128ec81612414565b935060208501356001600160401b03811115612906575f80fd5b61291287828801612565565b909450925050604085013565ffffffffffff81168114612930575f80fd5b939692955090935050565b634e487b7160e01b5f52603260045260245ffd5b5f6020828403121561295f575f80fd5b813561076a816126c4565b81835281816020850137505f828201602090810191909152601f909101601f19169091010190565b602081525f610a0b60208301848661296a565b5f602082840312156129b5575f80fd5b815161076a816126c4565b6001600160a01b038581168252841660208201526060604082018190525f90611731908301848661296a565b634e487b7160e01b5f52601160045260245ffd5b5f8085851115612a0e575f80fd5b83861115612a1a575f80fd5b5050820193919092039150565b634e487b7160e01b5f52604160045260245ffd5b5f808335601e19843603018112612a50575f80fd5b8301803591506001600160401b03821115612a69575f80fd5b602001915036819003821315610fbd575f80fd5b5f81518060208401855e5f93019283525090919050565b828482375f8382015f81526117318185612a7d565b65ffffffffffff8181168382160190811115610afb57610afb6129ec565b65ffffffffffff861681526001600160a01b038581166020830152841660408201526080606082018190525f90612b01908301848661296a565b979650505050505050565b80356001600160e01b03198116906004841015612b3d576001600160e01b0319600485900360031b81901b82161691505b5092915050565b5f61076a8284612a7d565b63ffffffff8281168282160390811115610afb57610afb6129ec56fea264697066735822122072759d7b5f96dd0caaed8321f069e3fdd1f047ae911241936fca832d24aebe4c64736f6c634300081a0033",
1203
- "deployedBytecode": "0x6080604052600436106101e6575f3560e01c80636d5115bd11610108578063b70096131161009d578063d1f856ee1161006d578063d1f856ee146105e9578063d22b598914610608578063d6bb62c614610627578063f801a69814610646578063fe0776f51461067f575f80fd5b8063b70096131461055b578063b7d2b16214610596578063c4d66de8146105b5578063cc1b6c81146105d4575f80fd5b8063a166aa89116100d8578063a166aa89146104b4578063a64d95ce146104e3578063abd9bd2a14610502578063ac9650d81461052f575f80fd5b80636d5115bd1461044457806375b238fc14610463578063853551b81461047657806394c7d7ee14610495575f80fd5b806330cae1871161017e5780634665096d1161014e5780634665096d146103d25780634c1da1e2146103e75780635296295214610406578063530dd45614610425575f80fd5b806330cae187146103445780633adc277a146103635780633ca7c02a146103995780634136a33c146103b3575f80fd5b806318ff183c116101b957806318ff183c1461029a5780631cff79cd146102b957806325c471a0146102cc5780633078f114146102eb575f80fd5b806308d6122d146101ea5780630b0a93ba1461020b57806312be872714610247578063167bd3951461027b575b5f80fd5b3480156101f5575f80fd5b50610209610204366004612483565b61069e565b005b348015610216575f80fd5b5061022a6102253660046124e5565b6106f0565b6040516001600160401b0390911681526020015b60405180910390f35b348015610252575f80fd5b506102666102613660046124e5565b610727565b60405163ffffffff909116815260200161023e565b348015610286575f80fd5b506102096102953660046124fe565b610771565b3480156102a5575f80fd5b506102096102b4366004612539565b610787565b6102666102c73660046125a2565b6107e9565b3480156102d7575f80fd5b506102096102e6366004612605565b61092a565b3480156102f6575f80fd5b5061030a610305366004612647565b61094c565b60405161023e949392919065ffffffffffff948516815263ffffffff93841660208201529190921660408201529116606082015260800190565b34801561034f575f80fd5b5061020961035e366004612661565b6109bf565b34801561036e575f80fd5b5061038261037d366004612692565b6109d1565b60405165ffffffffffff909116815260200161023e565b3480156103a4575f80fd5b5061022a6001600160401b0381565b3480156103be575f80fd5b506102666103cd366004612692565b610a13565b3480156103dd575f80fd5b5062093a80610266565b3480156103f2575f80fd5b506102666104013660046126a9565b610a3e565b348015610411575f80fd5b50610209610420366004612661565b610a78565b348015610430575f80fd5b5061022a61043f3660046124e5565b610a8a565b34801561044f575f80fd5b5061022a61045e3660046126d9565b610aba565b34801561046e575f80fd5b5061022a5f81565b348015610481575f80fd5b50610209610490366004612705565b610b01565b3480156104a0575f80fd5b506102096104af3660046125a2565b610b98565b3480156104bf575f80fd5b506104d36104ce3660046126a9565b610c42565b604051901515815260200161023e565b3480156104ee575f80fd5b506102096104fd366004612720565b610c79565b34801561050d575f80fd5b5061052161051c366004612748565b610c8b565b60405190815260200161023e565b34801561053a575f80fd5b5061054e6105493660046127a8565b610cc3565b60405161023e91906127e6565b348015610566575f80fd5b5061057a61057536600461286a565b610da8565b60408051921515835263ffffffff90911660208301520161023e565b3480156105a1575f80fd5b506102096105b0366004612647565b610e29565b3480156105c0575f80fd5b506102096105cf3660046126a9565b610e40565b3480156105df575f80fd5b5062069780610266565b3480156105f4575f80fd5b5061057a610603366004612647565b610f4b565b348015610613575f80fd5b506102096106223660046128b2565b610fc4565b348015610632575f80fd5b50610266610641366004612748565b610fd6565b348015610651575f80fd5b506106656106603660046128ce565b611139565b6040805192835263ffffffff90911660208301520161023e565b34801561068a575f80fd5b50610209610699366004612647565b6112d5565b6106a66112fe565b5f5b828110156106e9576106e1858585848181106106c6576106c661293b565b90506020020160208101906106db919061294f565b84611375565b6001016106a8565b5050505050565b5f806106fa611401565b6001600160401b039384165f9081526001918201602052604090200154600160401b900490921692915050565b5f80610731611401565b6001600160401b0384165f90815260018281016020526040909120015490915061076a90600160801b90046001600160701b0316611425565b9392505050565b6107796112fe565b6107838282611443565b5050565b61078f6112fe565b604051637a9e5e4b60e01b81526001600160a01b038281166004830152831690637a9e5e4b906024015f604051808303815f87803b1580156107cf575f80fd5b505af11580156107e1573d5f803e3d5ffd5b505050505050565b5f806107f3611401565b9050335f80610804838989896114e7565b915091508115801561081a575063ffffffff8116155b1561086d57828861082b8989611538565b6040516381c6f24b60e01b81526001600160a01b0393841660048201529290911660248301526001600160e01b03191660448201526064015b60405180910390fd5b5f61087a848a8a8a610c8b565b90505f63ffffffff83161515806108a05750610895826109d1565b65ffffffffffff1615155b156108b1576108ae8261154f565b90505b60038601546108c98b6108c48c8c611538565b611660565b87600301819055506109128b8b8b8080601f0160208091040260200160405190810160405280939291908181526020018383808284375f920191909152503492506116a2915050565b50600390960195909555509293505050509392505050565b6109326112fe565b610946838361094086610727565b8461173b565b50505050565b5f805f805f610959611401565b6001600160401b0388165f90815260018201602090815260408083206001600160a01b038b1684529091529020805465ffffffffffff81169750919250906109b090600160301b90046001600160701b0316611995565b979a9199509750945050505050565b6109c76112fe565b61078382826119b6565b5f806109db611401565b5f84815260028201602052604090205490915065ffffffffffff166109ff81611a66565b610a095780610a0b565b5f5b949350505050565b5f80610a1d611401565b5f93845260020160205250506040902054600160301b900463ffffffff1690565b5f80610a48611401565b6001600160a01b0384165f9081526020829052604090206001015490915061076a906001600160701b0316611425565b610a806112fe565b6107838282611a94565b5f80610a94611401565b6001600160401b039384165f908152600191820160205260409020015490921692915050565b5f80610ac4611401565b6001600160a01b0385165f908152602091825260408082206001600160e01b03198716835290925220546001600160401b03169150505b92915050565b610b096112fe565b6001600160401b0383161580610b2757506001600160401b03838116145b15610b505760405163061c6a4360e21b81526001600160401b0384166004820152602401610864565b826001600160401b03167f1256f5b5ecb89caec12db449738f2fbcd1ba5806cf38f35413f4e5c15bf6a4508383604051610b8b929190612992565b60405180910390a2505050565b60408051638fb3603760e01b80825291513392918391638fb36037916004808201926020929091908290030181865afa158015610bd7573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610bfb91906129a5565b6001600160e01b03191614610c2e57604051630641fee960e31b81526001600160a01b0382166004820152602401610864565b6106e9610c3d85838686610c8b565b61154f565b5f80610c4c611401565b6001600160a01b039093165f9081526020939093525050604090206001015460ff600160701b9091041690565b610c816112fe565b6107838282611b52565b5f84848484604051602001610ca394939291906129c0565b604051602081830303815290604052805190602001209050949350505050565b604080515f815260208101909152606090826001600160401b03811115610cec57610cec612a27565b604051908082528060200260200182016040528015610d1f57816020015b6060815260200190600190039081610d0a5790505b5091505f5b83811015610da057610d7b30868684818110610d4257610d4261293b565b9050602002810190610d549190612a3b565b85604051602001610d6793929190612a94565b604051602081830303815290604052611c7c565b838281518110610d8d57610d8d61293b565b6020908102919091010152600101610d24565b505092915050565b5f80610db384610c42565b15610dc257505f905080610e21565b306001600160a01b03861603610de657610ddc8484611cee565b5f91509150610e21565b5f610df18585610aba565b90505f80610dff8389610f4b565b9150915081610e0f575f80610e19565b63ffffffff811615815b945094505050505b935093915050565b610e316112fe565b610e3b8282611d12565b505050565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a008054600160401b810460ff1615906001600160401b03165f81158015610e845750825b90505f826001600160401b03166001148015610e9f5750303b155b905081158015610ead575080155b15610ecb5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315610ef557845460ff60401b1916600160401b1785555b610efe86611e0d565b83156107e157845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a1505050505050565b5f8067fffffffffffffffe196001600160401b03851601610f715750600190505f610fbd565b5f80610f7d868661094c565b5050915091508165ffffffffffff165f14158015610fb25750610f9e611e21565b65ffffffffffff168265ffffffffffff1611155b93509150610fbd9050565b9250929050565b610fcc6112fe565b6107838282611e30565b5f80610fe0611401565b9050335f610fee8686611538565b90505f610ffd89898989610c8b565b5f81815260028601602052604081205491925065ffffffffffff909116900361103c5760405163060a299b60e41b815260048101829052602401610864565b826001600160a01b0316896001600160a01b0316146110d5575f6110605f85610f4b565b5090505f61107a6110746102258c87610aba565b86610f4b565b50905081158015611089575080155b156110d257604051630ff89d4760e21b81526001600160a01b038087166004830152808d1660248301528b1660448201526001600160e01b031985166064820152608401610864565b50505b5f818152600285016020526040808220805465ffffffffffff1916908190559051600160301b90910463ffffffff1691829184917fbd9ac67a6e2f6463b80927326310338bcbb4bdb7936ce1365ea3e01067e7b9f791a39998505050505050505050565b5f805f611144611401565b9050335f611154828a8a8a6114e7565b9150505f8163ffffffff16611167611e21565b6111719190612aa9565b905063ffffffff821615806111a757505f8765ffffffffffff161180156111a757508065ffffffffffff168765ffffffffffff16105b156111b857828a61082b8b8b611538565b6111d28765ffffffffffff168265ffffffffffff16611ef8565b96506111e0838b8b8b610c8b565b95506111eb86611f0d565b836002015f8781526020019081526020015f205f0160069054906101000a900463ffffffff16600101945086846002015f8881526020019081526020015f205f015f6101000a81548165ffffffffffff021916908365ffffffffffff16021790555084846002015f8881526020019081526020015f205f0160066101000a81548163ffffffff021916908363ffffffff1602179055508463ffffffff16867f82a2da5dee54ea8021c6545b4444620291e07ee83be6dd57edb175062715f3b489868e8e8e6040516112c0959493929190612ac7565b60405180910390a35050505094509492505050565b6001600160a01b0381163314610e3157604051635f159e6360e01b815260040160405180910390fd5b335f8061130c838236611f67565b9150915081610e3b578063ffffffff165f03611366575f61132d8136612018565b5060405163f07e038f60e01b81526001600160a01b03871660048201526001600160401b03821660248201529092506044019050610864565b610946610c3d84305f36610c8b565b5f61137e611401565b6001600160a01b0385165f818152602083815260408083206001600160e01b0319891680855290835292819020805467ffffffffffffffff19166001600160401b03891690811790915590519283529394507f9ea6790c7dadfd01c9f8b9762b3682607af2c7e79e05a9f9fdf5580dde949151910160405180910390a350505050565b7f40c6c8c28789853c7efd823ab20824bbd71718a8a5915e855f6f288c9a26ad0090565b5f80611439836001600160701b0316611995565b5090949350505050565b5f61144c611401565b9050306001600160a01b0384160361148257604051630b40d17960e31b81526001600160a01b0384166004820152602401610864565b6001600160a01b0383165f81815260208390526040908190206001018054851515600160701b0260ff60701b19909116179055517f90d4e7bb7e5d933792b3562e1741306f8be94837e1348dacef9b6f1df56eb13890610b8b90851515815260200190565b5f80306001600160a01b0386160361150d57611504868585611f67565b9150915061152f565b600483106115295761152486866105758787611538565b611504565b505f9050805b94509492505050565b5f6115466004828486612a00565b61076a91612b0c565b5f80611559611401565b5f84815260028201602052604081205491925065ffffffffffff821691600160301b900463ffffffff16908290036115a75760405163060a299b60e41b815260048101869052602401610864565b6115af611e21565b65ffffffffffff168265ffffffffffff1611156115e257604051630c65b5bd60e11b815260048101869052602401610864565b6115eb82611a66565b1561160c57604051631e2975b960e21b815260048101869052602401610864565b5f858152600284016020526040808220805465ffffffffffff191690555163ffffffff83169187917f76a2a46953689d4861a5d3f6ed883ad7e6af674a21f8e162707159fc9dde614d9190a3949350505050565b604080516001600160a01b03939093166020808501919091526001600160e01b0319929092168382015280518084038201815260609093019052815191012090565b6060814710156116c75760405163cd78605960e01b8152306004820152602401610864565b5f80856001600160a01b031684866040516116e29190612b44565b5f6040518083038185875af1925050503d805f811461171c576040519150601f19603f3d011682016040523d82523d5f602084013e611721565b606091505b50915091506117318683836121d9565b9695505050505050565b5f80611745611401565b905067fffffffffffffffe196001600160401b038716016117845760405163061c6a4360e21b81526001600160401b0387166004820152602401610864565b6001600160401b0386165f90815260018201602090815260408083206001600160a01b038916845290915281205465ffffffffffff1615908115611878578563ffffffff166117d1611e21565b6117db9190612aa9565b905060405180604001604052808265ffffffffffff1681526020016118098763ffffffff1663ffffffff1690565b6001600160701b039081169091526001600160401b038a165f90815260018601602090815260408083206001600160a01b038d1684528252909120835181549490920151909216600160301b026001600160a01b031990931665ffffffffffff90911617919091179055611926565b6001600160401b0388165f90815260018401602090815260408083206001600160a01b038b1684529091528120546118c391600160301b9091046001600160701b0316908790612235565b6001600160401b038a165f90815260018601602090815260408083206001600160a01b038d168452909152902080546001600160701b03909316600160301b0273ffffffffffffffffffffffffffff000000000000199093169290921790915590505b6040805163ffffffff8716815265ffffffffffff831660208201528315158183015290516001600160a01b038916916001600160401b038b16917ff98448b987f1428e0e230e1f3c6e2ce15b5693eaf31827fbd0b1ec4b424ae7cf9181900360600190a3509695505050505050565b5f805f6119a9846119a4611e21565b6122db565b9250925092509193909250565b5f6119bf611401565b90506001600160401b03831615806119df57506001600160401b03838116145b15611a085760405163061c6a4360e21b81526001600160401b0384166004820152602401610864565b6001600160401b038381165f81815260018481016020526040808320909101805467ffffffffffffffff19169487169485179055517f1fd6dd7631312dfac2205b52913f99de03b4d7e381d5d27d3dbfe0713e6e63409190a3505050565b5f611a6f611e21565b65ffffffffffff16611a8462093a8084612aa9565b65ffffffffffff16111592915050565b5f611a9d611401565b90506001600160401b0383161580611abd57506001600160401b03838116145b15611ae65760405163061c6a4360e21b81526001600160401b0384166004820152602401610864565b6001600160401b038381165f8181526001848101602052604080832090910180546fffffffffffffffff00000000000000001916600160401b958816958602179055517f7a8059630b897b5de4c08ade69f8b90c3ead1f8596d62d10b6c4d14a0afb4ae29190a3505050565b5f611b5b611401565b905067fffffffffffffffe196001600160401b03841601611b9a5760405163061c6a4360e21b81526001600160401b0384166004820152602401610864565b6001600160401b0383165f9081526001828101602052604082200154611bd490600160801b90046001600160701b03168462069780612235565b6001600160401b0386165f81815260018087016020526040918290200180546001600160701b03909516600160801b026dffffffffffffffffffffffffffff60801b199095169490941790935591519092507ffeb69018ee8b8fd50ea86348f1267d07673379f72cffdeccec63853ee8ce8b4890611c6e908690859063ffffffff92909216825265ffffffffffff16602082015260400190565b60405180910390a250505050565b60605f80846001600160a01b031684604051611c989190612b44565b5f60405180830381855af49150503d805f8114611cd0576040519150601f19603f3d011682016040523d82523d5f602084013e611cd5565b606091505b5091509150611ce58583836121d9565b95945050505050565b5f80611cf8611401565b9050611d048484611660565b600390910154149392505050565b5f80611d1c611401565b905067fffffffffffffffe196001600160401b03851601611d5b5760405163061c6a4360e21b81526001600160401b0385166004820152602401610864565b6001600160401b0384165f90815260018201602090815260408083206001600160a01b038716845290915281205465ffffffffffff169003611da0575f915050610afb565b6001600160401b0384165f81815260018301602090815260408083206001600160a01b038816808552925280832080546001600160a01b0319169055519092917ff229baa593af28c41b1d16b748cd7688f0c83aaf92d4be41c44005defe84c16691a35060019392505050565b611e1561232d565b611e1e81612378565b50565b5f611e2b426123b5565b905090565b5f611e39611401565b90505f611e6f83620697806001600160a01b0387165f908152602086905260409020600101546001600160701b03169190612235565b6001600160a01b0386165f818152602086815260409182902060010180546dffffffffffffffffffffffffffff19166001600160701b039690961695909517909455805163ffffffff8816815265ffffffffffff841694810194909452919350917fa56b76017453f399ec2327ba00375dbfb1fd070ff854341ad6191e6a2e2de19c9101611c6e565b5f818311611f06578161076a565b5090919050565b5f611f16611401565b5f83815260028201602052604090205490915065ffffffffffff168015801590611f465750611f4481611a66565b155b15610e3b5760405163813e945960e01b815260048101849052602401610864565b5f806004831015611f7c57505f905080610e21565b306001600160a01b03861603611f9f57610ddc30611f9a8686611538565b611cee565b5f805f611fac8787612018565b92509250925082611fc5575f8094509450505050610e21565b5f80611fd1848b610f4b565b9150915081611fea575f80965096505050505050610e21565b6120008363ffffffff168263ffffffff16611ef8565b63ffffffff8116159b909a5098505050505050505050565b5f8080600484101561203157505f9150819050806121d2565b5f61203c8686611538565b90506001600160e01b031981166310a6aa3760e31b148061206d57506001600160e01b031981166330cae18760e01b145b8061208857506001600160e01b0319811663294b14a960e11b145b806120a357506001600160e01b03198116635326cae760e11b145b806120be57506001600160e01b0319811663d22b598960e01b145b156120d35760015f80935093509350506121d2565b6001600160e01b0319811663063fc60f60e21b148061210257506001600160e01b0319811663167bd39560e01b145b8061211d57506001600160e01b031981166308d6122d60e01b145b1561215c575f61213160246004888a612a00565b81019061213e91906126a9565b90505f61214a82610a3e565b600196505f955093506121d292505050565b6001600160e01b0319811663012e238d60e51b148061218b57506001600160e01b03198116635be958b160e11b145b156121c7575f61219f60246004888a612a00565b8101906121ac91906124e5565b905060016121b982610a8a565b5f94509450945050506121d2565b5f805f935093509350505b9250925092565b6060826121ee576121e9826123eb565b61076a565b815115801561220557506001600160a01b0384163b155b1561222e57604051639996b31560e01b81526001600160a01b0385166004820152602401610864565b508061076a565b5f805f61224a866001600160701b0316611425565b90505f6122858563ffffffff168763ffffffff168463ffffffff1611612270575f61227a565b61227a8885612b4f565b63ffffffff16611ef8565b90508063ffffffff16612296611e21565b6122a09190612aa9565b925063ffffffff8616602083901b67ffffffff0000000016604085901b6dffffffffffff000000000000000016171793505050935093915050565b5f808069ffffffffffffffffffff602086901c166001600160701b03861665ffffffffffff604088901c81169087168111156123195782828261231d565b815f805b9550955095505050509250925092565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a0054600160401b900460ff1661237657604051631afcd79f60e31b815260040160405180910390fd5b565b61238061232d565b6001600160a01b0381166123a957604051630409d6d160e11b81525f6004820152602401610864565b6107835f825f8061173b565b5f65ffffffffffff8211156123e7576040516306dfcc6560e41b81526030600482015260248101839052604401610864565b5090565b8051156123fb5780518082602001fd5b604051630a12f52160e11b815260040160405180910390fd5b6001600160a01b0381168114611e1e575f80fd5b5f8083601f840112612438575f80fd5b5081356001600160401b0381111561244e575f80fd5b6020830191508360208260051b8501011115610fbd575f80fd5b80356001600160401b038116811461247e575f80fd5b919050565b5f805f8060608587031215612496575f80fd5b84356124a181612414565b935060208501356001600160401b038111156124bb575f80fd5b6124c787828801612428565b90945092506124da905060408601612468565b905092959194509250565b5f602082840312156124f5575f80fd5b61076a82612468565b5f806040838503121561250f575f80fd5b823561251a81612414565b91506020830135801515811461252e575f80fd5b809150509250929050565b5f806040838503121561254a575f80fd5b823561255581612414565b9150602083013561252e81612414565b5f8083601f840112612575575f80fd5b5081356001600160401b0381111561258b575f80fd5b602083019150836020828501011115610fbd575f80fd5b5f805f604084860312156125b4575f80fd5b83356125bf81612414565b925060208401356001600160401b038111156125d9575f80fd5b6125e586828701612565565b9497909650939450505050565b803563ffffffff8116811461247e575f80fd5b5f805f60608486031215612617575f80fd5b61262084612468565b9250602084013561263081612414565b915061263e604085016125f2565b90509250925092565b5f8060408385031215612658575f80fd5b61255583612468565b5f8060408385031215612672575f80fd5b61267b83612468565b915061268960208401612468565b90509250929050565b5f602082840312156126a2575f80fd5b5035919050565b5f602082840312156126b9575f80fd5b813561076a81612414565b6001600160e01b031981168114611e1e575f80fd5b5f80604083850312156126ea575f80fd5b82356126f581612414565b9150602083013561252e816126c4565b5f805f60408486031215612717575f80fd5b6125bf84612468565b5f8060408385031215612731575f80fd5b61273a83612468565b9150612689602084016125f2565b5f805f806060858703121561275b575f80fd5b843561276681612414565b9350602085013561277681612414565b925060408501356001600160401b03811115612790575f80fd5b61279c87828801612565565b95989497509550505050565b5f80602083850312156127b9575f80fd5b82356001600160401b038111156127ce575f80fd5b6127da85828601612428565b90969095509350505050565b5f602082016020835280845180835260408501915060408160051b8601019250602086015f5b8281101561285e57603f19878603018452815180518087528060208301602089015e5f602082890101526020601f19601f8301168801019650505060208201915060208401935060018101905061280c565b50929695505050505050565b5f805f6060848603121561287c575f80fd5b833561288781612414565b9250602084013561289781612414565b915060408401356128a7816126c4565b809150509250925092565b5f80604083850312156128c3575f80fd5b823561273a81612414565b5f805f80606085870312156128e1575f80fd5b84356128ec81612414565b935060208501356001600160401b03811115612906575f80fd5b61291287828801612565565b909450925050604085013565ffffffffffff81168114612930575f80fd5b939692955090935050565b634e487b7160e01b5f52603260045260245ffd5b5f6020828403121561295f575f80fd5b813561076a816126c4565b81835281816020850137505f828201602090810191909152601f909101601f19169091010190565b602081525f610a0b60208301848661296a565b5f602082840312156129b5575f80fd5b815161076a816126c4565b6001600160a01b038581168252841660208201526060604082018190525f90611731908301848661296a565b634e487b7160e01b5f52601160045260245ffd5b5f8085851115612a0e575f80fd5b83861115612a1a575f80fd5b5050820193919092039150565b634e487b7160e01b5f52604160045260245ffd5b5f808335601e19843603018112612a50575f80fd5b8301803591506001600160401b03821115612a69575f80fd5b602001915036819003821315610fbd575f80fd5b5f81518060208401855e5f93019283525090919050565b828482375f8382015f81526117318185612a7d565b65ffffffffffff8181168382160190811115610afb57610afb6129ec565b65ffffffffffff861681526001600160a01b038581166020830152841660408201526080606082018190525f90612b01908301848661296a565b979650505050505050565b80356001600160e01b03198116906004841015612b3d576001600160e01b0319600485900360031b81901b82161691505b5092915050565b5f61076a8284612a7d565b63ffffffff8281168282160390811115610afb57610afb6129ec56fea264697066735822122072759d7b5f96dd0caaed8321f069e3fdd1f047ae911241936fca832d24aebe4c64736f6c634300081a0033",
1204
- "linkReferences": {},
1205
- "deployedLinkReferences": {}
1357
+ "bytecode": "0x6080604052348015600e575f80fd5b506131cc8061001c5f395ff3fe608060405260043610610228575f3560e01c80635ab1bd5311610129578063ac9650d8116100a8578063d1f856ee1161006d578063d1f856ee14610711578063d22b598914610730578063d6bb62c61461074f578063f801a6981461076e578063fe0776f5146107a7575f80fd5b8063ac9650d814610657578063b700961314610683578063b7d2b162146106be578063c4d66de8146106dd578063cc1b6c81146106fc575f80fd5b806394c7d7ee116100ee57806394c7d7ee146105af578063a166aa89146105ce578063a4e2d634146105ed578063a64d95ce1461060b578063abd9bd2a1461062a575f80fd5b80635ab1bd531461050c5780636d5115bd1461053357806375b238fc1461055257806376b707b714610565578063853551b814610590575f80fd5b806325c471a0116101b55780634136a33c1161017a5780634136a33c1461047b5780634665096d1461049a5780634c1da1e2146104af57806352962952146104ce578063530dd456146104ed575f80fd5b806325c471a0146103945780633078f114146103b357806330cae1871461040c5780633adc277a1461042b5780633ca7c02a14610461575f80fd5b8063167bd395116101fb578063167bd3951461030557806318ff183c146103245780631cff79cd146103435780631ed8cf4614610356578063211e28b614610375575f80fd5b806301ffc9a71461022c57806308d6122d146102795780630b0a93ba1461029a57806312be8727146102d1575b5f80fd5b348015610237575f80fd5b506102646102463660046129d9565b6001600160e01b0319165f9081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b348015610284575f80fd5b50610298610293366004612a63565b6107c6565b005b3480156102a5575f80fd5b506102b96102b4366004612ac5565b610818565b6040516001600160401b039091168152602001610270565b3480156102dc575f80fd5b506102f06102eb366004612ac5565b61084f565b60405163ffffffff9091168152602001610270565b348015610310575f80fd5b5061029861031f366004612aeb565b610899565b34801561032f575f80fd5b5061029861033e366004612b22565b6108af565b6102f0610351366004612b8b565b610911565b348015610361575f80fd5b50610298610370366004612bdb565b610a52565b348015610380575f80fd5b5061029861038f366004612c0c565b610bd8565b34801561039f575f80fd5b506102986103ae366004612c3a565b610c25565b3480156103be575f80fd5b506103d26103cd366004612c7c565b610c47565b604051610270949392919065ffffffffffff948516815263ffffffff93841660208201529190921660408201529116606082015260800190565b348015610417575f80fd5b50610298610426366004612c96565b610cba565b348015610436575f80fd5b5061044a610445366004612cc7565b610ccc565b60405165ffffffffffff9091168152602001610270565b34801561046c575f80fd5b506102b96001600160401b0381565b348015610486575f80fd5b506102f0610495366004612cc7565b610d0e565b3480156104a5575f80fd5b5062093a806102f0565b3480156104ba575f80fd5b506102f06104c9366004612cde565b610d39565b3480156104d9575f80fd5b506102986104e8366004612c96565b610d73565b3480156104f8575f80fd5b506102b9610507366004612ac5565b610d85565b348015610517575f80fd5b506001546040516001600160a01b039091168152602001610270565b34801561053e575f80fd5b506102b961054d366004612cf9565b610db5565b34801561055d575f80fd5b506102b95f81565b348015610570575f80fd5b50600154600160a01b900460ff1660405160ff9091168152602001610270565b34801561059b575f80fd5b506102986105aa366004612d25565b610dfc565b3480156105ba575f80fd5b506102986105c9366004612b8b565b610e93565b3480156105d9575f80fd5b506102646105e8366004612cde565b610f3d565b3480156105f8575f80fd5b50600154600160a81b900460ff16610264565b348015610616575f80fd5b50610298610625366004612d40565b610f74565b348015610635575f80fd5b50610649610644366004612d68565b610f86565b604051908152602001610270565b348015610662575f80fd5b50610676610671366004612dc8565b610fbe565b6040516102709190612dfa565b34801561068e575f80fd5b506106a261069d366004612e7e565b6110a3565b60408051921515835263ffffffff909116602083015201610270565b3480156106c9575f80fd5b506102986106d8366004612c7c565b6110f4565b3480156106e8575f80fd5b506102986106f7366004612cde565b61110b565b348015610707575f80fd5b50620697806102f0565b34801561071c575f80fd5b506106a261072b366004612c7c565b61122e565b34801561073b575f80fd5b5061029861074a366004612ec6565b6112a7565b34801561075a575f80fd5b506102f0610769366004612d68565b6112b9565b348015610779575f80fd5b5061078d610788366004612ee2565b61141c565b6040805192835263ffffffff909116602083015201610270565b3480156107b2575f80fd5b506102986107c1366004612c7c565b6115b8565b6107ce6115e1565b5f5b8281101561081157610809858585848181106107ee576107ee612f4f565b905060200201602081019061080391906129d9565b84611658565b6001016107d0565b5050505050565b5f806108226116e4565b6001600160401b039384165f9081526001918201602052604090200154600160401b900490921692915050565b5f806108596116e4565b6001600160401b0384165f90815260018281016020526040909120015490915061089290600160801b90046001600160701b0316611708565b9392505050565b6108a16115e1565b6108ab8282611726565b5050565b6108b76115e1565b604051637a9e5e4b60e01b81526001600160a01b038281166004830152831690637a9e5e4b906024015f604051808303815f87803b1580156108f7575f80fd5b505af1158015610909573d5f803e3d5ffd5b505050505050565b5f8061091b6116e4565b9050335f8061092c838989896117ca565b9150915081158015610942575063ffffffff8116155b15610995578288610953898961181b565b6040516381c6f24b60e01b81526001600160a01b0393841660048201529290911660248301526001600160e01b03191660448201526064015b60405180910390fd5b5f6109a2848a8a8a610f86565b90505f63ffffffff83161515806109c857506109bd82610ccc565b65ffffffffffff1615155b156109d9576109d682611832565b90505b60038601546109f18b6109ec8c8c61181b565b611943565b8760030181905550610a3a8b8b8b8080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250349250611985915050565b50600390960195909555509293505050509392505050565b5f610a5d5f3361122e565b50905080610a805760405163f30cccb960e01b815233600482015260240161098c565b604051632b10f60d60e21b815260ff8316600482015273__$b659da7d8a6d2d32aa6c1e17da23dc2174$__9063ac43d83490602401602060405180830381865af4158015610ad0573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610af49190612f63565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a008054600160401b900460ff1680610b39575080546001600160401b03808416911610155b15610b575760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b178155610b8185611a1e565b610b8a84611a73565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15050505050565b5f610be35f3361122e565b50905080610c065760405163f30cccb960e01b815233600482015260240161098c565b5060018054911515600160a81b0260ff60a81b19909216919091179055565b610c2d6115e1565b610c418383610c3b8661084f565b84611b29565b50505050565b5f805f805f610c546116e4565b6001600160401b0388165f90815260018201602090815260408083206001600160a01b038b1684529091529020805465ffffffffffff8116975091925090610cab90600160301b90046001600160701b0316611d83565b979a9199509750945050505050565b610cc26115e1565b6108ab8282611da4565b5f80610cd66116e4565b5f84815260028201602052604090205490915065ffffffffffff16610cfa81611e54565b610d045780610d06565b5f5b949350505050565b5f80610d186116e4565b5f93845260020160205250506040902054600160301b900463ffffffff1690565b5f80610d436116e4565b6001600160a01b0384165f90815260208290526040902060010154909150610892906001600160701b0316611708565b610d7b6115e1565b6108ab8282611e82565b5f80610d8f6116e4565b6001600160401b039384165f908152600191820160205260409020015490921692915050565b5f80610dbf6116e4565b6001600160a01b0385165f908152602091825260408082206001600160e01b03198716835290925220546001600160401b03169150505b92915050565b610e046115e1565b6001600160401b0383161580610e2257506001600160401b03838116145b15610e4b5760405163061c6a4360e21b81526001600160401b038416600482015260240161098c565b826001600160401b03167f1256f5b5ecb89caec12db449738f2fbcd1ba5806cf38f35413f4e5c15bf6a4508383604051610e86929190612fa2565b60405180910390a2505050565b60408051638fb3603760e01b80825291513392918391638fb36037916004808201926020929091908290030181865afa158015610ed2573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610ef69190612fb5565b6001600160e01b03191614610f2957604051630641fee960e31b81526001600160a01b038216600482015260240161098c565b610811610f3885838686610f86565b611832565b5f80610f476116e4565b6001600160a01b039093165f9081526020939093525050604090206001015460ff600160701b9091041690565b610f7c6115e1565b6108ab8282611f40565b5f84848484604051602001610f9e9493929190612fd0565b604051602081830303815290604052805190602001209050949350505050565b604080515f815260208101909152606090826001600160401b03811115610fe757610fe7613037565b60405190808252806020026020018201604052801561101a57816020015b60608152602001906001900390816110055790505b5091505f5b8381101561109b576110763086868481811061103d5761103d612f4f565b905060200281019061104f919061304b565b85604051602001611062939291906130a4565b60405160208183030381529060405261206a565b83828151811061108857611088612f4f565b602090810291909101015260010161101f565b505092915050565b6001545f908190600160a81b900460ff16156110dd5760405163738ba2f760e01b81526001600160a01b038516600482015260240161098c565b6110e88585856120dc565b90969095509350505050565b6110fc6115e1565b611106828261215d565b505050565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a008054600160401b810460ff1615906001600160401b03165f8115801561114f5750825b90505f826001600160401b0316600114801561116a5750303b155b905081158015611178575080155b156111965760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff1916600117855583156111c057845460ff60401b1916600160401b1785555b6111c8612258565b6111d1866122a2565b6111e16309990e3960e41b6122b3565b831561090957845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a1505050505050565b5f8067fffffffffffffffe196001600160401b038516016112545750600190505f6112a0565b5f806112608686610c47565b5050915091508165ffffffffffff165f1415801561129557506112816122e3565b65ffffffffffff168265ffffffffffff1611155b935091506112a09050565b9250929050565b6112af6115e1565b6108ab82826122f2565b5f806112c36116e4565b9050335f6112d1868661181b565b90505f6112e089898989610f86565b5f81815260028601602052604081205491925065ffffffffffff909116900361131f5760405163060a299b60e41b81526004810182905260240161098c565b826001600160a01b0316896001600160a01b0316146113b8575f6113435f8561122e565b5090505f61135d6113576102b48c87610db5565b8661122e565b5090508115801561136c575080155b156113b557604051630ff89d4760e21b81526001600160a01b038087166004830152808d1660248301528b1660448201526001600160e01b03198516606482015260840161098c565b50505b5f818152600285016020526040808220805465ffffffffffff1916908190559051600160301b90910463ffffffff1691829184917fbd9ac67a6e2f6463b80927326310338bcbb4bdb7936ce1365ea3e01067e7b9f791a39998505050505050505050565b5f805f6114276116e4565b9050335f611437828a8a8a6117ca565b9150505f8163ffffffff1661144a6122e3565b61145491906130b9565b905063ffffffff8216158061148a57505f8765ffffffffffff1611801561148a57508065ffffffffffff168765ffffffffffff16105b1561149b57828a6109538b8b61181b565b6114b58765ffffffffffff168265ffffffffffff166123ba565b96506114c3838b8b8b610f86565b95506114ce866123cf565b836002015f8781526020019081526020015f205f0160069054906101000a900463ffffffff16600101945086846002015f8881526020019081526020015f205f015f6101000a81548165ffffffffffff021916908365ffffffffffff16021790555084846002015f8881526020019081526020015f205f0160066101000a81548163ffffffff021916908363ffffffff1602179055508463ffffffff16867f82a2da5dee54ea8021c6545b4444620291e07ee83be6dd57edb175062715f3b489868e8e8e6040516115a39594939291906130d7565b60405180910390a35050505094509492505050565b6001600160a01b03811633146110fc57604051635f159e6360e01b815260040160405180910390fd5b335f806115ef838236612429565b9150915081611106578063ffffffff165f03611649575f61161081366124da565b5060405163f07e038f60e01b81526001600160a01b03871660048201526001600160401b0382166024820152909250604401905061098c565b610c41610f3884305f36610f86565b5f6116616116e4565b6001600160a01b0385165f818152602083815260408083206001600160e01b0319891680855290835292819020805467ffffffffffffffff19166001600160401b03891690811790915590519283529394507f9ea6790c7dadfd01c9f8b9762b3682607af2c7e79e05a9f9fdf5580dde949151910160405180910390a350505050565b7f40c6c8c28789853c7efd823ab20824bbd71718a8a5915e855f6f288c9a26ad0090565b5f8061171c836001600160701b0316611d83565b5090949350505050565b5f61172f6116e4565b9050306001600160a01b0384160361176557604051630b40d17960e31b81526001600160a01b038416600482015260240161098c565b6001600160a01b0383165f81815260208390526040908190206001018054851515600160701b0260ff60701b19909116179055517f90d4e7bb7e5d933792b3562e1741306f8be94837e1348dacef9b6f1df56eb13890610e8690851515815260200190565b5f80306001600160a01b038616036117f0576117e7868585612429565b91509150611812565b6004831061180c57611807868661069d878761181b565b6117e7565b505f9050805b94509492505050565b5f6118296004828486613010565b6108929161311c565b5f8061183c6116e4565b5f84815260028201602052604081205491925065ffffffffffff821691600160301b900463ffffffff169082900361188a5760405163060a299b60e41b81526004810186905260240161098c565b6118926122e3565b65ffffffffffff168265ffffffffffff1611156118c557604051630c65b5bd60e11b81526004810186905260240161098c565b6118ce82611e54565b156118ef57604051631e2975b960e21b81526004810186905260240161098c565b5f858152600284016020526040808220805465ffffffffffff191690555163ffffffff83169187917f76a2a46953689d4861a5d3f6ed883ad7e6af674a21f8e162707159fc9dde614d9190a3949350505050565b604080516001600160a01b03939093166020808501919091526001600160e01b0319929092168382015280518084038201815260609093019052815191012090565b6060814710156119aa5760405163cd78605960e01b815230600482015260240161098c565b5f80856001600160a01b031684866040516119c59190613154565b5f6040518083038185875af1925050503d805f81146119ff576040519150601f19603f3d011682016040523d82523d5f602084013e611a04565b606091505b5091509150611a1486838361269b565b9695505050505050565b5f611a316001546001600160a01b031690565b6001600160a01b031614611a675760015460405163e869a54d60e01b81526001600160a01b03909116600482015260240161098c565b611a70816126f7565b50565b60405163a52ec52960e01b815260ff8216600482015273__$b659da7d8a6d2d32aa6c1e17da23dc2174$__9063a52ec52990602401602060405180830381865af4158015611ac3573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611ae7919061315f565b611b09576040516324bf213560e21b815260ff8216600482015260240161098c565b6001805460ff909216600160a01b0260ff60a01b19909216919091179055565b5f80611b336116e4565b905067fffffffffffffffe196001600160401b03871601611b725760405163061c6a4360e21b81526001600160401b038716600482015260240161098c565b6001600160401b0386165f90815260018201602090815260408083206001600160a01b038916845290915281205465ffffffffffff1615908115611c66578563ffffffff16611bbf6122e3565b611bc991906130b9565b905060405180604001604052808265ffffffffffff168152602001611bf78763ffffffff1663ffffffff1690565b6001600160701b039081169091526001600160401b038a165f90815260018601602090815260408083206001600160a01b038d1684528252909120835181549490920151909216600160301b026001600160a01b031990931665ffffffffffff90911617919091179055611d14565b6001600160401b0388165f90815260018401602090815260408083206001600160a01b038b168452909152812054611cb191600160301b9091046001600160701b03169087906127c3565b6001600160401b038a165f90815260018601602090815260408083206001600160a01b038d168452909152902080546001600160701b03909316600160301b0273ffffffffffffffffffffffffffff000000000000199093169290921790915590505b6040805163ffffffff8716815265ffffffffffff831660208201528315158183015290516001600160a01b038916916001600160401b038b16917ff98448b987f1428e0e230e1f3c6e2ce15b5693eaf31827fbd0b1ec4b424ae7cf9181900360600190a3509695505050505050565b5f805f611d9784611d926122e3565b612869565b9250925092509193909250565b5f611dad6116e4565b90506001600160401b0383161580611dcd57506001600160401b03838116145b15611df65760405163061c6a4360e21b81526001600160401b038416600482015260240161098c565b6001600160401b038381165f81815260018481016020526040808320909101805467ffffffffffffffff19169487169485179055517f1fd6dd7631312dfac2205b52913f99de03b4d7e381d5d27d3dbfe0713e6e63409190a3505050565b5f611e5d6122e3565b65ffffffffffff16611e7262093a80846130b9565b65ffffffffffff16111592915050565b5f611e8b6116e4565b90506001600160401b0383161580611eab57506001600160401b03838116145b15611ed45760405163061c6a4360e21b81526001600160401b038416600482015260240161098c565b6001600160401b038381165f8181526001848101602052604080832090910180546fffffffffffffffff00000000000000001916600160401b958816958602179055517f7a8059630b897b5de4c08ade69f8b90c3ead1f8596d62d10b6c4d14a0afb4ae29190a3505050565b5f611f496116e4565b905067fffffffffffffffe196001600160401b03841601611f885760405163061c6a4360e21b81526001600160401b038416600482015260240161098c565b6001600160401b0383165f9081526001828101602052604082200154611fc290600160801b90046001600160701b031684620697806127c3565b6001600160401b0386165f81815260018087016020526040918290200180546001600160701b03909516600160801b026dffffffffffffffffffffffffffff60801b199095169490941790935591519092507ffeb69018ee8b8fd50ea86348f1267d07673379f72cffdeccec63853ee8ce8b489061205c908690859063ffffffff92909216825265ffffffffffff16602082015260400190565b60405180910390a250505050565b60605f80846001600160a01b0316846040516120869190613154565b5f60405180830381855af49150503d805f81146120be576040519150601f19603f3d011682016040523d82523d5f602084013e6120c3565b606091505b50915091506120d385838361269b565b95945050505050565b5f806120e784610f3d565b156120f657505f905080612155565b306001600160a01b0386160361211a5761211084846128bb565b5f91509150612155565b5f6121258585610db5565b90505f80612133838961122e565b9150915081612143575f8061214d565b63ffffffff811615815b945094505050505b935093915050565b5f806121676116e4565b905067fffffffffffffffe196001600160401b038516016121a65760405163061c6a4360e21b81526001600160401b038516600482015260240161098c565b6001600160401b0384165f90815260018201602090815260408083206001600160a01b038716845290915281205465ffffffffffff1690036121eb575f915050610df6565b6001600160401b0384165f81815260018301602090815260408083206001600160a01b038816808552925280832080546001600160a01b0319169055519092917ff229baa593af28c41b1d16b748cd7688f0c83aaf92d4be41c44005defe84c16691a35060019392505050565b6122606128df565b6122a06301ffc9a760e01b5f9081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b565b6122aa6128df565b611a7081612928565b6122bb6128df565b611a70816001600160e01b0319165f908152602081905260409020805460ff19166001179055565b5f6122ed42612965565b905090565b5f6122fb6116e4565b90505f61233183620697806001600160a01b0387165f908152602086905260409020600101546001600160701b031691906127c3565b6001600160a01b0386165f818152602086815260409182902060010180546dffffffffffffffffffffffffffff19166001600160701b039690961695909517909455805163ffffffff8816815265ffffffffffff841694810194909452919350917fa56b76017453f399ec2327ba00375dbfb1fd070ff854341ad6191e6a2e2de19c910161205c565b5f8183116123c85781610892565b5090919050565b5f6123d86116e4565b5f83815260028201602052604090205490915065ffffffffffff168015801590612408575061240681611e54565b155b156111065760405163813e945960e01b81526004810184905260240161098c565b5f80600483101561243e57505f905080612155565b306001600160a01b03861603612461576121103061245c868661181b565b6128bb565b5f805f61246e87876124da565b92509250925082612487575f8094509450505050612155565b5f80612493848b61122e565b91509150816124ac575f80965096505050505050612155565b6124c28363ffffffff168263ffffffff166123ba565b63ffffffff8116159b909a5098505050505050505050565b5f808060048410156124f357505f915081905080612694565b5f6124fe868661181b565b90506001600160e01b031981166310a6aa3760e31b148061252f57506001600160e01b031981166330cae18760e01b145b8061254a57506001600160e01b0319811663294b14a960e11b145b8061256557506001600160e01b03198116635326cae760e11b145b8061258057506001600160e01b0319811663d22b598960e01b145b156125955760015f8093509350935050612694565b6001600160e01b0319811663063fc60f60e21b14806125c457506001600160e01b0319811663167bd39560e01b145b806125df57506001600160e01b031981166308d6122d60e01b145b1561261e575f6125f360246004888a613010565b8101906126009190612cde565b90505f61260c82610d39565b600196505f9550935061269492505050565b6001600160e01b0319811663012e238d60e51b148061264d57506001600160e01b03198116635be958b160e11b145b15612689575f61266160246004888a613010565b81019061266e9190612ac5565b9050600161267b82610d85565b5f9450945094505050612694565b5f805f935093509350505b9250925092565b6060826126b0576126ab8261299b565b610892565b81511580156126c757506001600160a01b0384163b155b156126f057604051639996b31560e01b81526001600160a01b038516600482015260240161098c565b5080610892565b6126ff6128df565b604051633334d16b60e01b81526001600160a01b038216600482015273__$fb599632d08395912d9d70eb2f0f93b5e2$__90633334d16b90602401602060405180830381865af4158015612755573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612779919061315f565b6127a15760405163fdeac91f60e01b81526001600160a01b038216600482015260240161098c565b600180546001600160a01b0319166001600160a01b0392909216919091179055565b5f805f6127d8866001600160701b0316611708565b90505f6128138563ffffffff168763ffffffff168463ffffffff16116127fe575f612808565b612808888561317a565b63ffffffff166123ba565b90508063ffffffff166128246122e3565b61282e91906130b9565b925063ffffffff8616602083901b67ffffffff0000000016604085901b6dffffffffffff000000000000000016171793505050935093915050565b5f808069ffffffffffffffffffff602086901c166001600160701b03861665ffffffffffff604088901c81169087168111156128a7578282826128ab565b815f805b9550955095505050509250925092565b5f806128c56116e4565b90506128d18484611943565b600390910154149392505050565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a0054600160401b900460ff166122a057604051631afcd79f60e31b815260040160405180910390fd5b6129306128df565b6001600160a01b03811661295957604051630409d6d160e11b81525f600482015260240161098c565b6108ab5f825f80611b29565b5f65ffffffffffff821115612997576040516306dfcc6560e41b8152603060048201526024810183905260440161098c565b5090565b8051156129ab5780518082602001fd5b604051630a12f52160e11b815260040160405180910390fd5b6001600160e01b031981168114611a70575f80fd5b5f602082840312156129e9575f80fd5b8135610892816129c4565b6001600160a01b0381168114611a70575f80fd5b5f8083601f840112612a18575f80fd5b5081356001600160401b03811115612a2e575f80fd5b6020830191508360208260051b85010111156112a0575f80fd5b80356001600160401b0381168114612a5e575f80fd5b919050565b5f805f8060608587031215612a76575f80fd5b8435612a81816129f4565b935060208501356001600160401b03811115612a9b575f80fd5b612aa787828801612a08565b9094509250612aba905060408601612a48565b905092959194509250565b5f60208284031215612ad5575f80fd5b61089282612a48565b8015158114611a70575f80fd5b5f8060408385031215612afc575f80fd5b8235612b07816129f4565b91506020830135612b1781612ade565b809150509250929050565b5f8060408385031215612b33575f80fd5b8235612b3e816129f4565b91506020830135612b17816129f4565b5f8083601f840112612b5e575f80fd5b5081356001600160401b03811115612b74575f80fd5b6020830191508360208285010111156112a0575f80fd5b5f805f60408486031215612b9d575f80fd5b8335612ba8816129f4565b925060208401356001600160401b03811115612bc2575f80fd5b612bce86828701612b4e565b9497909650939450505050565b5f8060408385031215612bec575f80fd5b8235612bf7816129f4565b9150602083013560ff81168114612b17575f80fd5b5f60208284031215612c1c575f80fd5b813561089281612ade565b803563ffffffff81168114612a5e575f80fd5b5f805f60608486031215612c4c575f80fd5b612c5584612a48565b92506020840135612c65816129f4565b9150612c7360408501612c27565b90509250925092565b5f8060408385031215612c8d575f80fd5b612b3e83612a48565b5f8060408385031215612ca7575f80fd5b612cb083612a48565b9150612cbe60208401612a48565b90509250929050565b5f60208284031215612cd7575f80fd5b5035919050565b5f60208284031215612cee575f80fd5b8135610892816129f4565b5f8060408385031215612d0a575f80fd5b8235612d15816129f4565b91506020830135612b17816129c4565b5f805f60408486031215612d37575f80fd5b612ba884612a48565b5f8060408385031215612d51575f80fd5b612d5a83612a48565b9150612cbe60208401612c27565b5f805f8060608587031215612d7b575f80fd5b8435612d86816129f4565b93506020850135612d96816129f4565b925060408501356001600160401b03811115612db0575f80fd5b612dbc87828801612b4e565b95989497509550505050565b5f8060208385031215612dd9575f80fd5b82356001600160401b03811115612dee575f80fd5b6110e885828601612a08565b5f602082016020835280845180835260408501915060408160051b8601019250602086015f5b82811015612e7257603f19878603018452815180518087528060208301602089015e5f602082890101526020601f19601f83011688010196505050602082019150602084019350600181019050612e20565b50929695505050505050565b5f805f60608486031215612e90575f80fd5b8335612e9b816129f4565b92506020840135612eab816129f4565b91506040840135612ebb816129c4565b809150509250925092565b5f8060408385031215612ed7575f80fd5b8235612d5a816129f4565b5f805f8060608587031215612ef5575f80fd5b8435612f00816129f4565b935060208501356001600160401b03811115612f1a575f80fd5b612f2687828801612b4e565b909450925050604085013565ffffffffffff81168114612f44575f80fd5b939692955090935050565b634e487b7160e01b5f52603260045260245ffd5b5f60208284031215612f73575f80fd5b5051919050565b81835281816020850137505f828201602090810191909152601f909101601f19169091010190565b602081525f610d06602083018486612f7a565b5f60208284031215612fc5575f80fd5b8151610892816129c4565b6001600160a01b038581168252841660208201526060604082018190525f90611a149083018486612f7a565b634e487b7160e01b5f52601160045260245ffd5b5f808585111561301e575f80fd5b8386111561302a575f80fd5b5050820193919092039150565b634e487b7160e01b5f52604160045260245ffd5b5f808335601e19843603018112613060575f80fd5b8301803591506001600160401b03821115613079575f80fd5b6020019150368190038213156112a0575f80fd5b5f81518060208401855e5f93019283525090919050565b828482375f8382015f8152611a14818561308d565b65ffffffffffff8181168382160190811115610df657610df6612ffc565b65ffffffffffff861681526001600160a01b038581166020830152841660408201526080606082018190525f906131119083018486612f7a565b979650505050505050565b80356001600160e01b0319811690600484101561314d576001600160e01b0319600485900360031b81901b82161691505b5092915050565b5f610892828461308d565b5f6020828403121561316f575f80fd5b815161089281612ade565b63ffffffff8281168282160390811115610df657610df6612ffc56fea264697066735822122096fd51ac9f4c8ebb77393636286f2b605bd334a544d84c6ad5869060bc3c21bb64736f6c634300081a0033",
1358
+ "deployedBytecode": "0x608060405260043610610228575f3560e01c80635ab1bd5311610129578063ac9650d8116100a8578063d1f856ee1161006d578063d1f856ee14610711578063d22b598914610730578063d6bb62c61461074f578063f801a6981461076e578063fe0776f5146107a7575f80fd5b8063ac9650d814610657578063b700961314610683578063b7d2b162146106be578063c4d66de8146106dd578063cc1b6c81146106fc575f80fd5b806394c7d7ee116100ee57806394c7d7ee146105af578063a166aa89146105ce578063a4e2d634146105ed578063a64d95ce1461060b578063abd9bd2a1461062a575f80fd5b80635ab1bd531461050c5780636d5115bd1461053357806375b238fc1461055257806376b707b714610565578063853551b814610590575f80fd5b806325c471a0116101b55780634136a33c1161017a5780634136a33c1461047b5780634665096d1461049a5780634c1da1e2146104af57806352962952146104ce578063530dd456146104ed575f80fd5b806325c471a0146103945780633078f114146103b357806330cae1871461040c5780633adc277a1461042b5780633ca7c02a14610461575f80fd5b8063167bd395116101fb578063167bd3951461030557806318ff183c146103245780631cff79cd146103435780631ed8cf4614610356578063211e28b614610375575f80fd5b806301ffc9a71461022c57806308d6122d146102795780630b0a93ba1461029a57806312be8727146102d1575b5f80fd5b348015610237575f80fd5b506102646102463660046129d9565b6001600160e01b0319165f9081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b348015610284575f80fd5b50610298610293366004612a63565b6107c6565b005b3480156102a5575f80fd5b506102b96102b4366004612ac5565b610818565b6040516001600160401b039091168152602001610270565b3480156102dc575f80fd5b506102f06102eb366004612ac5565b61084f565b60405163ffffffff9091168152602001610270565b348015610310575f80fd5b5061029861031f366004612aeb565b610899565b34801561032f575f80fd5b5061029861033e366004612b22565b6108af565b6102f0610351366004612b8b565b610911565b348015610361575f80fd5b50610298610370366004612bdb565b610a52565b348015610380575f80fd5b5061029861038f366004612c0c565b610bd8565b34801561039f575f80fd5b506102986103ae366004612c3a565b610c25565b3480156103be575f80fd5b506103d26103cd366004612c7c565b610c47565b604051610270949392919065ffffffffffff948516815263ffffffff93841660208201529190921660408201529116606082015260800190565b348015610417575f80fd5b50610298610426366004612c96565b610cba565b348015610436575f80fd5b5061044a610445366004612cc7565b610ccc565b60405165ffffffffffff9091168152602001610270565b34801561046c575f80fd5b506102b96001600160401b0381565b348015610486575f80fd5b506102f0610495366004612cc7565b610d0e565b3480156104a5575f80fd5b5062093a806102f0565b3480156104ba575f80fd5b506102f06104c9366004612cde565b610d39565b3480156104d9575f80fd5b506102986104e8366004612c96565b610d73565b3480156104f8575f80fd5b506102b9610507366004612ac5565b610d85565b348015610517575f80fd5b506001546040516001600160a01b039091168152602001610270565b34801561053e575f80fd5b506102b961054d366004612cf9565b610db5565b34801561055d575f80fd5b506102b95f81565b348015610570575f80fd5b50600154600160a01b900460ff1660405160ff9091168152602001610270565b34801561059b575f80fd5b506102986105aa366004612d25565b610dfc565b3480156105ba575f80fd5b506102986105c9366004612b8b565b610e93565b3480156105d9575f80fd5b506102646105e8366004612cde565b610f3d565b3480156105f8575f80fd5b50600154600160a81b900460ff16610264565b348015610616575f80fd5b50610298610625366004612d40565b610f74565b348015610635575f80fd5b50610649610644366004612d68565b610f86565b604051908152602001610270565b348015610662575f80fd5b50610676610671366004612dc8565b610fbe565b6040516102709190612dfa565b34801561068e575f80fd5b506106a261069d366004612e7e565b6110a3565b60408051921515835263ffffffff909116602083015201610270565b3480156106c9575f80fd5b506102986106d8366004612c7c565b6110f4565b3480156106e8575f80fd5b506102986106f7366004612cde565b61110b565b348015610707575f80fd5b50620697806102f0565b34801561071c575f80fd5b506106a261072b366004612c7c565b61122e565b34801561073b575f80fd5b5061029861074a366004612ec6565b6112a7565b34801561075a575f80fd5b506102f0610769366004612d68565b6112b9565b348015610779575f80fd5b5061078d610788366004612ee2565b61141c565b6040805192835263ffffffff909116602083015201610270565b3480156107b2575f80fd5b506102986107c1366004612c7c565b6115b8565b6107ce6115e1565b5f5b8281101561081157610809858585848181106107ee576107ee612f4f565b905060200201602081019061080391906129d9565b84611658565b6001016107d0565b5050505050565b5f806108226116e4565b6001600160401b039384165f9081526001918201602052604090200154600160401b900490921692915050565b5f806108596116e4565b6001600160401b0384165f90815260018281016020526040909120015490915061089290600160801b90046001600160701b0316611708565b9392505050565b6108a16115e1565b6108ab8282611726565b5050565b6108b76115e1565b604051637a9e5e4b60e01b81526001600160a01b038281166004830152831690637a9e5e4b906024015f604051808303815f87803b1580156108f7575f80fd5b505af1158015610909573d5f803e3d5ffd5b505050505050565b5f8061091b6116e4565b9050335f8061092c838989896117ca565b9150915081158015610942575063ffffffff8116155b15610995578288610953898961181b565b6040516381c6f24b60e01b81526001600160a01b0393841660048201529290911660248301526001600160e01b03191660448201526064015b60405180910390fd5b5f6109a2848a8a8a610f86565b90505f63ffffffff83161515806109c857506109bd82610ccc565b65ffffffffffff1615155b156109d9576109d682611832565b90505b60038601546109f18b6109ec8c8c61181b565b611943565b8760030181905550610a3a8b8b8b8080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250349250611985915050565b50600390960195909555509293505050509392505050565b5f610a5d5f3361122e565b50905080610a805760405163f30cccb960e01b815233600482015260240161098c565b604051632b10f60d60e21b815260ff8316600482015273__$b659da7d8a6d2d32aa6c1e17da23dc2174$__9063ac43d83490602401602060405180830381865af4158015610ad0573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610af49190612f63565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a008054600160401b900460ff1680610b39575080546001600160401b03808416911610155b15610b575760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b178155610b8185611a1e565b610b8a84611a73565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15050505050565b5f610be35f3361122e565b50905080610c065760405163f30cccb960e01b815233600482015260240161098c565b5060018054911515600160a81b0260ff60a81b19909216919091179055565b610c2d6115e1565b610c418383610c3b8661084f565b84611b29565b50505050565b5f805f805f610c546116e4565b6001600160401b0388165f90815260018201602090815260408083206001600160a01b038b1684529091529020805465ffffffffffff8116975091925090610cab90600160301b90046001600160701b0316611d83565b979a9199509750945050505050565b610cc26115e1565b6108ab8282611da4565b5f80610cd66116e4565b5f84815260028201602052604090205490915065ffffffffffff16610cfa81611e54565b610d045780610d06565b5f5b949350505050565b5f80610d186116e4565b5f93845260020160205250506040902054600160301b900463ffffffff1690565b5f80610d436116e4565b6001600160a01b0384165f90815260208290526040902060010154909150610892906001600160701b0316611708565b610d7b6115e1565b6108ab8282611e82565b5f80610d8f6116e4565b6001600160401b039384165f908152600191820160205260409020015490921692915050565b5f80610dbf6116e4565b6001600160a01b0385165f908152602091825260408082206001600160e01b03198716835290925220546001600160401b03169150505b92915050565b610e046115e1565b6001600160401b0383161580610e2257506001600160401b03838116145b15610e4b5760405163061c6a4360e21b81526001600160401b038416600482015260240161098c565b826001600160401b03167f1256f5b5ecb89caec12db449738f2fbcd1ba5806cf38f35413f4e5c15bf6a4508383604051610e86929190612fa2565b60405180910390a2505050565b60408051638fb3603760e01b80825291513392918391638fb36037916004808201926020929091908290030181865afa158015610ed2573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610ef69190612fb5565b6001600160e01b03191614610f2957604051630641fee960e31b81526001600160a01b038216600482015260240161098c565b610811610f3885838686610f86565b611832565b5f80610f476116e4565b6001600160a01b039093165f9081526020939093525050604090206001015460ff600160701b9091041690565b610f7c6115e1565b6108ab8282611f40565b5f84848484604051602001610f9e9493929190612fd0565b604051602081830303815290604052805190602001209050949350505050565b604080515f815260208101909152606090826001600160401b03811115610fe757610fe7613037565b60405190808252806020026020018201604052801561101a57816020015b60608152602001906001900390816110055790505b5091505f5b8381101561109b576110763086868481811061103d5761103d612f4f565b905060200281019061104f919061304b565b85604051602001611062939291906130a4565b60405160208183030381529060405261206a565b83828151811061108857611088612f4f565b602090810291909101015260010161101f565b505092915050565b6001545f908190600160a81b900460ff16156110dd5760405163738ba2f760e01b81526001600160a01b038516600482015260240161098c565b6110e88585856120dc565b90969095509350505050565b6110fc6115e1565b611106828261215d565b505050565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a008054600160401b810460ff1615906001600160401b03165f8115801561114f5750825b90505f826001600160401b0316600114801561116a5750303b155b905081158015611178575080155b156111965760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff1916600117855583156111c057845460ff60401b1916600160401b1785555b6111c8612258565b6111d1866122a2565b6111e16309990e3960e41b6122b3565b831561090957845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a1505050505050565b5f8067fffffffffffffffe196001600160401b038516016112545750600190505f6112a0565b5f806112608686610c47565b5050915091508165ffffffffffff165f1415801561129557506112816122e3565b65ffffffffffff168265ffffffffffff1611155b935091506112a09050565b9250929050565b6112af6115e1565b6108ab82826122f2565b5f806112c36116e4565b9050335f6112d1868661181b565b90505f6112e089898989610f86565b5f81815260028601602052604081205491925065ffffffffffff909116900361131f5760405163060a299b60e41b81526004810182905260240161098c565b826001600160a01b0316896001600160a01b0316146113b8575f6113435f8561122e565b5090505f61135d6113576102b48c87610db5565b8661122e565b5090508115801561136c575080155b156113b557604051630ff89d4760e21b81526001600160a01b038087166004830152808d1660248301528b1660448201526001600160e01b03198516606482015260840161098c565b50505b5f818152600285016020526040808220805465ffffffffffff1916908190559051600160301b90910463ffffffff1691829184917fbd9ac67a6e2f6463b80927326310338bcbb4bdb7936ce1365ea3e01067e7b9f791a39998505050505050505050565b5f805f6114276116e4565b9050335f611437828a8a8a6117ca565b9150505f8163ffffffff1661144a6122e3565b61145491906130b9565b905063ffffffff8216158061148a57505f8765ffffffffffff1611801561148a57508065ffffffffffff168765ffffffffffff16105b1561149b57828a6109538b8b61181b565b6114b58765ffffffffffff168265ffffffffffff166123ba565b96506114c3838b8b8b610f86565b95506114ce866123cf565b836002015f8781526020019081526020015f205f0160069054906101000a900463ffffffff16600101945086846002015f8881526020019081526020015f205f015f6101000a81548165ffffffffffff021916908365ffffffffffff16021790555084846002015f8881526020019081526020015f205f0160066101000a81548163ffffffff021916908363ffffffff1602179055508463ffffffff16867f82a2da5dee54ea8021c6545b4444620291e07ee83be6dd57edb175062715f3b489868e8e8e6040516115a39594939291906130d7565b60405180910390a35050505094509492505050565b6001600160a01b03811633146110fc57604051635f159e6360e01b815260040160405180910390fd5b335f806115ef838236612429565b9150915081611106578063ffffffff165f03611649575f61161081366124da565b5060405163f07e038f60e01b81526001600160a01b03871660048201526001600160401b0382166024820152909250604401905061098c565b610c41610f3884305f36610f86565b5f6116616116e4565b6001600160a01b0385165f818152602083815260408083206001600160e01b0319891680855290835292819020805467ffffffffffffffff19166001600160401b03891690811790915590519283529394507f9ea6790c7dadfd01c9f8b9762b3682607af2c7e79e05a9f9fdf5580dde949151910160405180910390a350505050565b7f40c6c8c28789853c7efd823ab20824bbd71718a8a5915e855f6f288c9a26ad0090565b5f8061171c836001600160701b0316611d83565b5090949350505050565b5f61172f6116e4565b9050306001600160a01b0384160361176557604051630b40d17960e31b81526001600160a01b038416600482015260240161098c565b6001600160a01b0383165f81815260208390526040908190206001018054851515600160701b0260ff60701b19909116179055517f90d4e7bb7e5d933792b3562e1741306f8be94837e1348dacef9b6f1df56eb13890610e8690851515815260200190565b5f80306001600160a01b038616036117f0576117e7868585612429565b91509150611812565b6004831061180c57611807868661069d878761181b565b6117e7565b505f9050805b94509492505050565b5f6118296004828486613010565b6108929161311c565b5f8061183c6116e4565b5f84815260028201602052604081205491925065ffffffffffff821691600160301b900463ffffffff169082900361188a5760405163060a299b60e41b81526004810186905260240161098c565b6118926122e3565b65ffffffffffff168265ffffffffffff1611156118c557604051630c65b5bd60e11b81526004810186905260240161098c565b6118ce82611e54565b156118ef57604051631e2975b960e21b81526004810186905260240161098c565b5f858152600284016020526040808220805465ffffffffffff191690555163ffffffff83169187917f76a2a46953689d4861a5d3f6ed883ad7e6af674a21f8e162707159fc9dde614d9190a3949350505050565b604080516001600160a01b03939093166020808501919091526001600160e01b0319929092168382015280518084038201815260609093019052815191012090565b6060814710156119aa5760405163cd78605960e01b815230600482015260240161098c565b5f80856001600160a01b031684866040516119c59190613154565b5f6040518083038185875af1925050503d805f81146119ff576040519150601f19603f3d011682016040523d82523d5f602084013e611a04565b606091505b5091509150611a1486838361269b565b9695505050505050565b5f611a316001546001600160a01b031690565b6001600160a01b031614611a675760015460405163e869a54d60e01b81526001600160a01b03909116600482015260240161098c565b611a70816126f7565b50565b60405163a52ec52960e01b815260ff8216600482015273__$b659da7d8a6d2d32aa6c1e17da23dc2174$__9063a52ec52990602401602060405180830381865af4158015611ac3573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611ae7919061315f565b611b09576040516324bf213560e21b815260ff8216600482015260240161098c565b6001805460ff909216600160a01b0260ff60a01b19909216919091179055565b5f80611b336116e4565b905067fffffffffffffffe196001600160401b03871601611b725760405163061c6a4360e21b81526001600160401b038716600482015260240161098c565b6001600160401b0386165f90815260018201602090815260408083206001600160a01b038916845290915281205465ffffffffffff1615908115611c66578563ffffffff16611bbf6122e3565b611bc991906130b9565b905060405180604001604052808265ffffffffffff168152602001611bf78763ffffffff1663ffffffff1690565b6001600160701b039081169091526001600160401b038a165f90815260018601602090815260408083206001600160a01b038d1684528252909120835181549490920151909216600160301b026001600160a01b031990931665ffffffffffff90911617919091179055611d14565b6001600160401b0388165f90815260018401602090815260408083206001600160a01b038b168452909152812054611cb191600160301b9091046001600160701b03169087906127c3565b6001600160401b038a165f90815260018601602090815260408083206001600160a01b038d168452909152902080546001600160701b03909316600160301b0273ffffffffffffffffffffffffffff000000000000199093169290921790915590505b6040805163ffffffff8716815265ffffffffffff831660208201528315158183015290516001600160a01b038916916001600160401b038b16917ff98448b987f1428e0e230e1f3c6e2ce15b5693eaf31827fbd0b1ec4b424ae7cf9181900360600190a3509695505050505050565b5f805f611d9784611d926122e3565b612869565b9250925092509193909250565b5f611dad6116e4565b90506001600160401b0383161580611dcd57506001600160401b03838116145b15611df65760405163061c6a4360e21b81526001600160401b038416600482015260240161098c565b6001600160401b038381165f81815260018481016020526040808320909101805467ffffffffffffffff19169487169485179055517f1fd6dd7631312dfac2205b52913f99de03b4d7e381d5d27d3dbfe0713e6e63409190a3505050565b5f611e5d6122e3565b65ffffffffffff16611e7262093a80846130b9565b65ffffffffffff16111592915050565b5f611e8b6116e4565b90506001600160401b0383161580611eab57506001600160401b03838116145b15611ed45760405163061c6a4360e21b81526001600160401b038416600482015260240161098c565b6001600160401b038381165f8181526001848101602052604080832090910180546fffffffffffffffff00000000000000001916600160401b958816958602179055517f7a8059630b897b5de4c08ade69f8b90c3ead1f8596d62d10b6c4d14a0afb4ae29190a3505050565b5f611f496116e4565b905067fffffffffffffffe196001600160401b03841601611f885760405163061c6a4360e21b81526001600160401b038416600482015260240161098c565b6001600160401b0383165f9081526001828101602052604082200154611fc290600160801b90046001600160701b031684620697806127c3565b6001600160401b0386165f81815260018087016020526040918290200180546001600160701b03909516600160801b026dffffffffffffffffffffffffffff60801b199095169490941790935591519092507ffeb69018ee8b8fd50ea86348f1267d07673379f72cffdeccec63853ee8ce8b489061205c908690859063ffffffff92909216825265ffffffffffff16602082015260400190565b60405180910390a250505050565b60605f80846001600160a01b0316846040516120869190613154565b5f60405180830381855af49150503d805f81146120be576040519150601f19603f3d011682016040523d82523d5f602084013e6120c3565b606091505b50915091506120d385838361269b565b95945050505050565b5f806120e784610f3d565b156120f657505f905080612155565b306001600160a01b0386160361211a5761211084846128bb565b5f91509150612155565b5f6121258585610db5565b90505f80612133838961122e565b9150915081612143575f8061214d565b63ffffffff811615815b945094505050505b935093915050565b5f806121676116e4565b905067fffffffffffffffe196001600160401b038516016121a65760405163061c6a4360e21b81526001600160401b038516600482015260240161098c565b6001600160401b0384165f90815260018201602090815260408083206001600160a01b038716845290915281205465ffffffffffff1690036121eb575f915050610df6565b6001600160401b0384165f81815260018301602090815260408083206001600160a01b038816808552925280832080546001600160a01b0319169055519092917ff229baa593af28c41b1d16b748cd7688f0c83aaf92d4be41c44005defe84c16691a35060019392505050565b6122606128df565b6122a06301ffc9a760e01b5f9081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b565b6122aa6128df565b611a7081612928565b6122bb6128df565b611a70816001600160e01b0319165f908152602081905260409020805460ff19166001179055565b5f6122ed42612965565b905090565b5f6122fb6116e4565b90505f61233183620697806001600160a01b0387165f908152602086905260409020600101546001600160701b031691906127c3565b6001600160a01b0386165f818152602086815260409182902060010180546dffffffffffffffffffffffffffff19166001600160701b039690961695909517909455805163ffffffff8816815265ffffffffffff841694810194909452919350917fa56b76017453f399ec2327ba00375dbfb1fd070ff854341ad6191e6a2e2de19c910161205c565b5f8183116123c85781610892565b5090919050565b5f6123d86116e4565b5f83815260028201602052604090205490915065ffffffffffff168015801590612408575061240681611e54565b155b156111065760405163813e945960e01b81526004810184905260240161098c565b5f80600483101561243e57505f905080612155565b306001600160a01b03861603612461576121103061245c868661181b565b6128bb565b5f805f61246e87876124da565b92509250925082612487575f8094509450505050612155565b5f80612493848b61122e565b91509150816124ac575f80965096505050505050612155565b6124c28363ffffffff168263ffffffff166123ba565b63ffffffff8116159b909a5098505050505050505050565b5f808060048410156124f357505f915081905080612694565b5f6124fe868661181b565b90506001600160e01b031981166310a6aa3760e31b148061252f57506001600160e01b031981166330cae18760e01b145b8061254a57506001600160e01b0319811663294b14a960e11b145b8061256557506001600160e01b03198116635326cae760e11b145b8061258057506001600160e01b0319811663d22b598960e01b145b156125955760015f8093509350935050612694565b6001600160e01b0319811663063fc60f60e21b14806125c457506001600160e01b0319811663167bd39560e01b145b806125df57506001600160e01b031981166308d6122d60e01b145b1561261e575f6125f360246004888a613010565b8101906126009190612cde565b90505f61260c82610d39565b600196505f9550935061269492505050565b6001600160e01b0319811663012e238d60e51b148061264d57506001600160e01b03198116635be958b160e11b145b15612689575f61266160246004888a613010565b81019061266e9190612ac5565b9050600161267b82610d85565b5f9450945094505050612694565b5f805f935093509350505b9250925092565b6060826126b0576126ab8261299b565b610892565b81511580156126c757506001600160a01b0384163b155b156126f057604051639996b31560e01b81526001600160a01b038516600482015260240161098c565b5080610892565b6126ff6128df565b604051633334d16b60e01b81526001600160a01b038216600482015273__$fb599632d08395912d9d70eb2f0f93b5e2$__90633334d16b90602401602060405180830381865af4158015612755573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612779919061315f565b6127a15760405163fdeac91f60e01b81526001600160a01b038216600482015260240161098c565b600180546001600160a01b0319166001600160a01b0392909216919091179055565b5f805f6127d8866001600160701b0316611708565b90505f6128138563ffffffff168763ffffffff168463ffffffff16116127fe575f612808565b612808888561317a565b63ffffffff166123ba565b90508063ffffffff166128246122e3565b61282e91906130b9565b925063ffffffff8616602083901b67ffffffff0000000016604085901b6dffffffffffff000000000000000016171793505050935093915050565b5f808069ffffffffffffffffffff602086901c166001600160701b03861665ffffffffffff604088901c81169087168111156128a7578282826128ab565b815f805b9550955095505050509250925092565b5f806128c56116e4565b90506128d18484611943565b600390910154149392505050565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a0054600160401b900460ff166122a057604051631afcd79f60e31b815260040160405180910390fd5b6129306128df565b6001600160a01b03811661295957604051630409d6d160e11b81525f600482015260240161098c565b6108ab5f825f80611b29565b5f65ffffffffffff821115612997576040516306dfcc6560e41b8152603060048201526024810183905260440161098c565b5090565b8051156129ab5780518082602001fd5b604051630a12f52160e11b815260040160405180910390fd5b6001600160e01b031981168114611a70575f80fd5b5f602082840312156129e9575f80fd5b8135610892816129c4565b6001600160a01b0381168114611a70575f80fd5b5f8083601f840112612a18575f80fd5b5081356001600160401b03811115612a2e575f80fd5b6020830191508360208260051b85010111156112a0575f80fd5b80356001600160401b0381168114612a5e575f80fd5b919050565b5f805f8060608587031215612a76575f80fd5b8435612a81816129f4565b935060208501356001600160401b03811115612a9b575f80fd5b612aa787828801612a08565b9094509250612aba905060408601612a48565b905092959194509250565b5f60208284031215612ad5575f80fd5b61089282612a48565b8015158114611a70575f80fd5b5f8060408385031215612afc575f80fd5b8235612b07816129f4565b91506020830135612b1781612ade565b809150509250929050565b5f8060408385031215612b33575f80fd5b8235612b3e816129f4565b91506020830135612b17816129f4565b5f8083601f840112612b5e575f80fd5b5081356001600160401b03811115612b74575f80fd5b6020830191508360208285010111156112a0575f80fd5b5f805f60408486031215612b9d575f80fd5b8335612ba8816129f4565b925060208401356001600160401b03811115612bc2575f80fd5b612bce86828701612b4e565b9497909650939450505050565b5f8060408385031215612bec575f80fd5b8235612bf7816129f4565b9150602083013560ff81168114612b17575f80fd5b5f60208284031215612c1c575f80fd5b813561089281612ade565b803563ffffffff81168114612a5e575f80fd5b5f805f60608486031215612c4c575f80fd5b612c5584612a48565b92506020840135612c65816129f4565b9150612c7360408501612c27565b90509250925092565b5f8060408385031215612c8d575f80fd5b612b3e83612a48565b5f8060408385031215612ca7575f80fd5b612cb083612a48565b9150612cbe60208401612a48565b90509250929050565b5f60208284031215612cd7575f80fd5b5035919050565b5f60208284031215612cee575f80fd5b8135610892816129f4565b5f8060408385031215612d0a575f80fd5b8235612d15816129f4565b91506020830135612b17816129c4565b5f805f60408486031215612d37575f80fd5b612ba884612a48565b5f8060408385031215612d51575f80fd5b612d5a83612a48565b9150612cbe60208401612c27565b5f805f8060608587031215612d7b575f80fd5b8435612d86816129f4565b93506020850135612d96816129f4565b925060408501356001600160401b03811115612db0575f80fd5b612dbc87828801612b4e565b95989497509550505050565b5f8060208385031215612dd9575f80fd5b82356001600160401b03811115612dee575f80fd5b6110e885828601612a08565b5f602082016020835280845180835260408501915060408160051b8601019250602086015f5b82811015612e7257603f19878603018452815180518087528060208301602089015e5f602082890101526020601f19601f83011688010196505050602082019150602084019350600181019050612e20565b50929695505050505050565b5f805f60608486031215612e90575f80fd5b8335612e9b816129f4565b92506020840135612eab816129f4565b91506040840135612ebb816129c4565b809150509250925092565b5f8060408385031215612ed7575f80fd5b8235612d5a816129f4565b5f805f8060608587031215612ef5575f80fd5b8435612f00816129f4565b935060208501356001600160401b03811115612f1a575f80fd5b612f2687828801612b4e565b909450925050604085013565ffffffffffff81168114612f44575f80fd5b939692955090935050565b634e487b7160e01b5f52603260045260245ffd5b5f60208284031215612f73575f80fd5b5051919050565b81835281816020850137505f828201602090810191909152601f909101601f19169091010190565b602081525f610d06602083018486612f7a565b5f60208284031215612fc5575f80fd5b8151610892816129c4565b6001600160a01b038581168252841660208201526060604082018190525f90611a149083018486612f7a565b634e487b7160e01b5f52601160045260245ffd5b5f808585111561301e575f80fd5b8386111561302a575f80fd5b5050820193919092039150565b634e487b7160e01b5f52604160045260245ffd5b5f808335601e19843603018112613060575f80fd5b8301803591506001600160401b03821115613079575f80fd5b6020019150368190038213156112a0575f80fd5b5f81518060208401855e5f93019283525090919050565b828482375f8382015f8152611a14818561308d565b65ffffffffffff8181168382160190811115610df657610df6612ffc565b65ffffffffffff861681526001600160a01b038581166020830152841660408201526080606082018190525f906131119083018486612f7a565b979650505050505050565b80356001600160e01b0319811690600484101561314d576001600160e01b0319600485900360031b81901b82161691505b5092915050565b5f610892828461308d565b5f6020828403121561316f575f80fd5b815161089281612ade565b63ffffffff8281168282160390811115610df657610df6612ffc56fea264697066735822122096fd51ac9f4c8ebb77393636286f2b605bd334a544d84c6ad5869060bc3c21bb64736f6c634300081a0033",
1359
+ "linkReferences": {
1360
+ "contracts/shared/ContractLib.sol": {
1361
+ "ContractLib": [
1362
+ {
1363
+ "length": 20,
1364
+ "start": 10041
1365
+ }
1366
+ ]
1367
+ },
1368
+ "contracts/type/Version.sol": {
1369
+ "VersionPartLib": [
1370
+ {
1371
+ "length": 20,
1372
+ "start": 2740
1373
+ },
1374
+ {
1375
+ "length": 20,
1376
+ "start": 6823
1377
+ }
1378
+ ]
1379
+ }
1380
+ },
1381
+ "deployedLinkReferences": {
1382
+ "contracts/shared/ContractLib.sol": {
1383
+ "ContractLib": [
1384
+ {
1385
+ "length": 20,
1386
+ "start": 10013
1387
+ }
1388
+ ]
1389
+ },
1390
+ "contracts/type/Version.sol": {
1391
+ "VersionPartLib": [
1392
+ {
1393
+ "length": 20,
1394
+ "start": 2712
1395
+ },
1396
+ {
1397
+ "length": 20,
1398
+ "start": 6795
1399
+ }
1400
+ ]
1401
+ }
1402
+ }
1206
1403
  }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../build-info/d007c09f346c1f63fa245b44a15fcd64.json"
3
+ "buildInfo": "../../../build-info/d354309e749e9f959e2ce2e5857f93a2.json"
4
4
  }