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

Sign up to get free protection for your applications and to get access to all the features.
Files changed (555) hide show
  1. package/README.md +86 -312
  2. package/artifacts/contracts/accounting/AccountingService.sol/AccountingService.dbg.json +4 -0
  3. package/artifacts/contracts/accounting/AccountingService.sol/AccountingService.json +1075 -0
  4. package/artifacts/contracts/accounting/AccountingServiceManager.sol/AccountingServiceManager.dbg.json +4 -0
  5. package/artifacts/contracts/accounting/AccountingServiceManager.sol/AccountingServiceManager.json +810 -0
  6. package/artifacts/contracts/accounting/IAccountingService.sol/IAccountingService.dbg.json +4 -0
  7. package/artifacts/contracts/accounting/IAccountingService.sol/IAccountingService.json +843 -0
  8. package/artifacts/contracts/authorization/AccessAdmin.sol/AccessAdmin.dbg.json +1 -1
  9. package/artifacts/contracts/authorization/AccessAdmin.sol/AccessAdmin.json +729 -287
  10. package/artifacts/contracts/authorization/AccessAdminLib.sol/AccessAdminLib.dbg.json +4 -0
  11. package/artifacts/contracts/authorization/AccessAdminLib.sol/AccessAdminLib.json +2008 -0
  12. package/artifacts/contracts/authorization/AccessManagerCloneable.sol/AccessManagerCloneable.dbg.json +1 -1
  13. package/artifacts/contracts/authorization/AccessManagerCloneable.sol/AccessManagerCloneable.json +202 -5
  14. package/artifacts/contracts/authorization/Authorization.sol/Authorization.dbg.json +1 -1
  15. package/artifacts/contracts/authorization/Authorization.sol/Authorization.json +438 -35
  16. package/artifacts/contracts/authorization/IAccess.sol/IAccess.dbg.json +1 -1
  17. package/artifacts/contracts/authorization/IAccessAdmin.sol/IAccessAdmin.dbg.json +1 -1
  18. package/artifacts/contracts/authorization/IAccessAdmin.sol/IAccessAdmin.json +560 -220
  19. package/artifacts/contracts/authorization/IAuthorization.sol/IAuthorization.dbg.json +1 -1
  20. package/artifacts/contracts/authorization/IAuthorization.sol/IAuthorization.json +191 -21
  21. package/artifacts/contracts/authorization/IServiceAuthorization.sol/IServiceAuthorization.dbg.json +1 -1
  22. package/artifacts/contracts/authorization/IServiceAuthorization.sol/IServiceAuthorization.json +256 -16
  23. package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.dbg.json +1 -1
  24. package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.json +426 -27
  25. package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.dbg.json +1 -1
  26. package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.json +128 -218
  27. package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.dbg.json +1 -1
  28. package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.json +427 -53
  29. package/artifacts/contracts/distribution/Distribution.sol/Distribution.dbg.json +1 -1
  30. package/artifacts/contracts/distribution/Distribution.sol/Distribution.json +58 -137
  31. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.dbg.json +1 -1
  32. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.json +555 -217
  33. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +1 -1
  34. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.json +170 -82
  35. package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.dbg.json +1 -1
  36. package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.json +37 -116
  37. package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.dbg.json +1 -1
  38. package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.json +401 -78
  39. package/artifacts/contracts/examples/fire/DamageLevel.sol/DamageLevelLib.dbg.json +1 -1
  40. package/artifacts/contracts/examples/fire/FirePool.sol/FirePool.dbg.json +1 -1
  41. package/artifacts/contracts/examples/fire/FirePool.sol/FirePool.json +183 -138
  42. package/artifacts/contracts/examples/fire/FirePoolAuthorization.sol/FirePoolAuthorization.dbg.json +1 -1
  43. package/artifacts/contracts/examples/fire/FirePoolAuthorization.sol/FirePoolAuthorization.json +401 -59
  44. package/artifacts/contracts/examples/fire/FireProduct.sol/FireProduct.dbg.json +1 -1
  45. package/artifacts/contracts/examples/fire/FireProduct.sol/FireProduct.json +324 -260
  46. package/artifacts/contracts/examples/fire/FireProductAuthorization.sol/FireProductAuthorization.dbg.json +1 -1
  47. package/artifacts/contracts/examples/fire/FireProductAuthorization.sol/FireProductAuthorization.json +426 -52
  48. package/artifacts/contracts/examples/fire/FireUSD.sol/FireUSD.dbg.json +1 -1
  49. package/artifacts/contracts/examples/flight/FlightLib.sol/FlightLib.dbg.json +4 -0
  50. package/artifacts/contracts/examples/flight/FlightLib.sol/FlightLib.json +408 -0
  51. package/artifacts/contracts/examples/flight/FlightOracle.sol/FlightOracle.dbg.json +4 -0
  52. package/artifacts/contracts/examples/flight/FlightOracle.sol/FlightOracle.json +1198 -0
  53. package/artifacts/contracts/examples/flight/FlightOracleAuthorization.sol/FlightOracleAuthorization.dbg.json +4 -0
  54. package/artifacts/contracts/examples/flight/FlightOracleAuthorization.sol/FlightOracleAuthorization.json +849 -0
  55. package/artifacts/contracts/examples/flight/FlightPool.sol/FlightPool.dbg.json +4 -0
  56. package/artifacts/contracts/examples/flight/FlightPool.sol/FlightPool.json +1466 -0
  57. package/artifacts/contracts/examples/flight/FlightPoolAuthorization.sol/FlightPoolAuthorization.dbg.json +4 -0
  58. package/artifacts/contracts/examples/flight/FlightPoolAuthorization.sol/FlightPoolAuthorization.json +844 -0
  59. package/artifacts/contracts/examples/flight/FlightProduct.sol/FlightProduct.dbg.json +4 -0
  60. package/artifacts/contracts/examples/flight/FlightProduct.sol/FlightProduct.json +2185 -0
  61. package/artifacts/contracts/examples/flight/FlightProductAuthorization.sol/FlightProductAuthorization.dbg.json +4 -0
  62. package/artifacts/contracts/examples/flight/FlightProductAuthorization.sol/FlightProductAuthorization.json +844 -0
  63. package/artifacts/contracts/examples/flight/FlightUSD.sol/FlightUSD.dbg.json +4 -0
  64. package/artifacts/contracts/examples/flight/FlightUSD.sol/FlightUSD.json +376 -0
  65. package/artifacts/contracts/examples/flight/originalV1.sol/FlightDelayChainlink.dbg.json +4 -0
  66. package/artifacts/contracts/examples/flight/originalV1.sol/FlightDelayChainlink.json +901 -0
  67. package/artifacts/contracts/examples/unpermissioned/SimpleDistribution.sol/SimpleDistribution.dbg.json +1 -1
  68. package/artifacts/contracts/examples/unpermissioned/SimpleDistribution.sol/SimpleDistribution.json +214 -215
  69. package/artifacts/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol/SimpleDistributionAuthorization.dbg.json +4 -0
  70. package/artifacts/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol/SimpleDistributionAuthorization.json +844 -0
  71. package/artifacts/contracts/examples/unpermissioned/SimpleOracle.sol/SimpleOracle.dbg.json +1 -1
  72. package/artifacts/contracts/examples/unpermissioned/SimpleOracle.sol/SimpleOracle.json +94 -110
  73. package/artifacts/contracts/examples/unpermissioned/SimplePool.sol/SimplePool.dbg.json +1 -1
  74. package/artifacts/contracts/examples/unpermissioned/SimplePool.sol/SimplePool.json +196 -165
  75. package/artifacts/contracts/examples/unpermissioned/SimplePoolAuthorization.sol/SimplePoolAuthorization.dbg.json +4 -0
  76. package/artifacts/contracts/examples/unpermissioned/SimplePoolAuthorization.sol/SimplePoolAuthorization.json +844 -0
  77. package/artifacts/contracts/examples/unpermissioned/SimpleProduct.sol/SimpleProduct.dbg.json +1 -1
  78. package/artifacts/contracts/examples/unpermissioned/SimpleProduct.sol/SimpleProduct.json +600 -306
  79. package/artifacts/contracts/examples/unpermissioned/SimpleProductAuthorization.sol/SimpleProductAuthorization.dbg.json +4 -0
  80. package/artifacts/contracts/examples/unpermissioned/SimpleProductAuthorization.sol/SimpleProductAuthorization.json +844 -0
  81. package/artifacts/contracts/instance/BaseStore.sol/BaseStore.dbg.json +4 -0
  82. package/artifacts/contracts/{shared/IKeyValueStore.sol/IKeyValueStore.json → instance/BaseStore.sol/BaseStore.json} +51 -229
  83. package/artifacts/contracts/instance/BundleSet.sol/BundleSet.dbg.json +1 -1
  84. package/artifacts/contracts/instance/BundleSet.sol/BundleSet.json +193 -45
  85. package/artifacts/contracts/instance/IBaseStore.sol/IBaseStore.dbg.json +4 -0
  86. package/artifacts/contracts/instance/IBaseStore.sol/IBaseStore.json +304 -0
  87. package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
  88. package/artifacts/contracts/instance/IInstance.sol/IInstance.json +551 -50
  89. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +1 -1
  90. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +415 -15
  91. package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
  92. package/artifacts/contracts/instance/Instance.sol/Instance.json +606 -112
  93. package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.dbg.json +1 -1
  94. package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.json +1121 -374
  95. package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.dbg.json +1 -1
  96. package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.json +379 -68
  97. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +1 -1
  98. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +1136 -561
  99. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +1 -1
  100. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +419 -82
  101. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +1 -1
  102. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +100 -54
  103. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.dbg.json +1 -1
  104. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.json +1283 -1912
  105. package/artifacts/contracts/instance/ProductStore.sol/ProductStore.dbg.json +4 -0
  106. package/artifacts/contracts/instance/ProductStore.sol/ProductStore.json +3427 -0
  107. package/artifacts/contracts/instance/RiskSet.sol/RiskSet.dbg.json +4 -0
  108. package/artifacts/contracts/instance/RiskSet.sol/RiskSet.json +866 -0
  109. package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.dbg.json +1 -1
  110. package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.json +8 -8
  111. package/artifacts/contracts/instance/base/Cloneable.sol/Cloneable.dbg.json +1 -1
  112. package/artifacts/contracts/instance/base/ObjectCounter.sol/ObjectCounter.dbg.json +1 -1
  113. package/artifacts/contracts/instance/base/ObjectCounter.sol/ObjectCounter.json +2 -2
  114. package/artifacts/contracts/instance/base/ObjectLifecycle.sol/ObjectLifecycle.dbg.json +1 -1
  115. package/artifacts/contracts/instance/base/ObjectLifecycle.sol/ObjectLifecycle.json +2 -2
  116. package/artifacts/contracts/instance/base/ObjectSet.sol/ObjectSet.dbg.json +1 -1
  117. package/artifacts/contracts/instance/base/ObjectSet.sol/ObjectSet.json +16 -5
  118. package/artifacts/contracts/instance/base/ObjectSetHelperLib.sol/ObjectSetHelperLib.dbg.json +4 -0
  119. package/artifacts/contracts/instance/base/ObjectSetHelperLib.sol/ObjectSetHelperLib.json +168 -0
  120. package/artifacts/contracts/instance/module/IBundle.sol/IBundle.dbg.json +1 -1
  121. package/artifacts/contracts/instance/module/IComponents.sol/IComponents.dbg.json +1 -1
  122. package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.dbg.json +1 -1
  123. package/artifacts/contracts/instance/module/IPolicy.sol/IPolicy.dbg.json +1 -1
  124. package/artifacts/contracts/instance/module/IRisk.sol/IRisk.dbg.json +1 -1
  125. package/artifacts/contracts/mock/Dip.sol/Dip.dbg.json +1 -1
  126. package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.dbg.json +1 -1
  127. package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.json +77 -91
  128. package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.dbg.json +1 -1
  129. package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.json +425 -54
  130. package/artifacts/contracts/oracle/IOracle.sol/IOracle.dbg.json +1 -1
  131. package/artifacts/contracts/oracle/IOracleComponent.sol/IOracleComponent.dbg.json +1 -1
  132. package/artifacts/contracts/oracle/IOracleComponent.sol/IOracleComponent.json +41 -55
  133. package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.dbg.json +1 -1
  134. package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.json +56 -3
  135. package/artifacts/contracts/oracle/Oracle.sol/Oracle.dbg.json +1 -1
  136. package/artifacts/contracts/oracle/Oracle.sol/Oracle.json +61 -75
  137. package/artifacts/contracts/oracle/OracleService.sol/OracleService.dbg.json +1 -1
  138. package/artifacts/contracts/oracle/OracleService.sol/OracleService.json +141 -81
  139. package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.dbg.json +1 -1
  140. package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.json +134 -50
  141. package/artifacts/contracts/pool/BasicPool.sol/BasicPool.dbg.json +1 -1
  142. package/artifacts/contracts/pool/BasicPool.sol/BasicPool.json +102 -124
  143. package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.dbg.json +1 -1
  144. package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.json +401 -59
  145. package/artifacts/contracts/pool/BundleService.sol/BundleService.dbg.json +1 -1
  146. package/artifacts/contracts/pool/BundleService.sol/BundleService.json +298 -329
  147. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.dbg.json +1 -1
  148. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.json +133 -97
  149. package/artifacts/contracts/pool/IBundleService.sol/IBundleService.dbg.json +1 -1
  150. package/artifacts/contracts/pool/IBundleService.sol/IBundleService.json +200 -131
  151. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.dbg.json +1 -1
  152. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.json +59 -73
  153. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.dbg.json +1 -1
  154. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.json +333 -169
  155. package/artifacts/contracts/pool/Pool.sol/Pool.dbg.json +1 -1
  156. package/artifacts/contracts/pool/Pool.sol/Pool.json +72 -86
  157. package/artifacts/contracts/pool/PoolLib.sol/PoolLib.dbg.json +4 -0
  158. package/artifacts/contracts/pool/PoolLib.sol/PoolLib.json +522 -0
  159. package/artifacts/contracts/pool/PoolService.sol/PoolService.dbg.json +1 -1
  160. package/artifacts/contracts/pool/PoolService.sol/PoolService.json +565 -367
  161. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.dbg.json +1 -1
  162. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.json +169 -69
  163. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.dbg.json +1 -1
  164. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.json +313 -64
  165. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +1 -1
  166. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.json +123 -47
  167. package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.dbg.json +1 -1
  168. package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.json +193 -192
  169. package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.dbg.json +1 -1
  170. package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.json +426 -52
  171. package/artifacts/contracts/product/ClaimService.sol/ClaimService.dbg.json +1 -1
  172. package/artifacts/contracts/product/ClaimService.sol/ClaimService.json +292 -195
  173. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +1 -1
  174. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.json +142 -94
  175. package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.dbg.json +1 -1
  176. package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.json +268 -10
  177. package/artifacts/contracts/product/IClaimService.sol/IClaimService.dbg.json +1 -1
  178. package/artifacts/contracts/product/IClaimService.sol/IClaimService.json +181 -19
  179. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.dbg.json +1 -1
  180. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.json +160 -55
  181. package/artifacts/contracts/product/IPricingService.sol/IPricingService.dbg.json +1 -1
  182. package/artifacts/contracts/product/IPricingService.sol/IPricingService.json +77 -3
  183. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.dbg.json +1 -1
  184. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.json +168 -167
  185. package/artifacts/contracts/product/IRiskService.sol/IRiskService.dbg.json +1 -1
  186. package/artifacts/contracts/product/IRiskService.sol/IRiskService.json +258 -22
  187. package/artifacts/contracts/product/PolicyService.sol/PolicyService.dbg.json +1 -1
  188. package/artifacts/contracts/product/PolicyService.sol/PolicyService.json +283 -195
  189. package/artifacts/contracts/product/PolicyServiceLib.sol/PolicyServiceLib.dbg.json +4 -0
  190. package/artifacts/contracts/product/PolicyServiceLib.sol/PolicyServiceLib.json +783 -0
  191. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +1 -1
  192. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.json +153 -81
  193. package/artifacts/contracts/product/PricingService.sol/PricingService.dbg.json +1 -1
  194. package/artifacts/contracts/product/PricingService.sol/PricingService.json +135 -126
  195. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.dbg.json +1 -1
  196. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.json +118 -70
  197. package/artifacts/contracts/product/Product.sol/Product.dbg.json +1 -1
  198. package/artifacts/contracts/product/Product.sol/Product.json +187 -186
  199. package/artifacts/contracts/product/RiskService.sol/RiskService.dbg.json +1 -1
  200. package/artifacts/contracts/product/RiskService.sol/RiskService.json +326 -91
  201. package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.dbg.json +1 -1
  202. package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.json +123 -47
  203. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
  204. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +2 -2
  205. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
  206. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +54 -19
  207. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +1 -1
  208. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +56 -3
  209. package/artifacts/contracts/registry/IRelease.sol/IRelease.dbg.json +4 -0
  210. package/artifacts/contracts/registry/IRelease.sol/IRelease.json +24 -0
  211. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +1 -1
  212. package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
  213. package/artifacts/contracts/registry/Registry.sol/Registry.json +92 -57
  214. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.dbg.json +1 -1
  215. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.json +845 -489
  216. package/artifacts/contracts/registry/RegistryAuthorization.sol/RegistryAuthorization.dbg.json +4 -0
  217. package/artifacts/contracts/registry/RegistryAuthorization.sol/RegistryAuthorization.json +1137 -0
  218. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +1 -1
  219. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +71 -35
  220. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +1 -1
  221. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +99 -43
  222. package/artifacts/contracts/registry/ReleaseAdmin.sol/ReleaseAdmin.dbg.json +4 -0
  223. package/artifacts/contracts/registry/ReleaseAdmin.sol/ReleaseAdmin.json +2271 -0
  224. package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.dbg.json +1 -1
  225. package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.json +2 -2
  226. package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.dbg.json +1 -1
  227. package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.json +398 -64
  228. package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.dbg.json +1 -1
  229. package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.json +459 -26
  230. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +1 -1
  231. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +120 -60
  232. package/artifacts/contracts/shared/Component.sol/Component.dbg.json +1 -1
  233. package/artifacts/contracts/shared/Component.sol/Component.json +60 -60
  234. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.dbg.json +1 -1
  235. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.json +269 -561
  236. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.dbg.json +1 -1
  237. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.json +134 -86
  238. package/artifacts/contracts/shared/ContractLib.sol/ContractLib.dbg.json +1 -1
  239. package/artifacts/contracts/shared/ContractLib.sol/ContractLib.json +525 -4
  240. package/artifacts/contracts/shared/ContractLib.sol/IInstanceAdminHelper.dbg.json +4 -0
  241. package/artifacts/contracts/shared/ContractLib.sol/IInstanceAdminHelper.json +24 -0
  242. package/artifacts/contracts/shared/ContractLib.sol/ITargetHelper.dbg.json +4 -0
  243. package/artifacts/contracts/shared/ContractLib.sol/ITargetHelper.json +30 -0
  244. package/artifacts/contracts/shared/ContractLib.sol/ITokenRegistryHelper.dbg.json +4 -0
  245. package/artifacts/contracts/shared/ContractLib.sol/ITokenRegistryHelper.json +40 -0
  246. package/artifacts/contracts/shared/IComponent.sol/IComponent.dbg.json +1 -1
  247. package/artifacts/contracts/shared/IComponent.sol/IComponent.json +41 -41
  248. package/artifacts/contracts/shared/IComponentService.sol/IComponentService.dbg.json +1 -1
  249. package/artifacts/contracts/shared/IComponentService.sol/IComponentService.json +155 -382
  250. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.dbg.json +1 -1
  251. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.json +41 -55
  252. package/artifacts/contracts/shared/ILifecycle.sol/ILifecycle.dbg.json +1 -1
  253. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +1 -1
  254. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.json +19 -0
  255. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.dbg.json +1 -1
  256. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
  257. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +139 -1
  258. package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.dbg.json +1 -1
  259. package/artifacts/contracts/shared/IService.sol/IService.dbg.json +1 -1
  260. package/artifacts/contracts/shared/IService.sol/IService.json +56 -3
  261. package/artifacts/contracts/shared/InitializableERC165.sol/InitializableERC165.dbg.json +1 -1
  262. package/artifacts/contracts/shared/InitializableERC165.sol/InitializableERC165.json +2 -2
  263. package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.dbg.json +1 -1
  264. package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.json +60 -74
  265. package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.dbg.json +1 -1
  266. package/artifacts/contracts/shared/NftIdSet.sol/NftIdSet.dbg.json +1 -1
  267. package/artifacts/contracts/shared/NftIdSet.sol/NftIdSet.json +2 -2
  268. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +1 -1
  269. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +21 -2
  270. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.dbg.json +1 -1
  271. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.json +2 -2
  272. package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
  273. package/artifacts/contracts/shared/Registerable.sol/Registerable.json +137 -62
  274. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.dbg.json +1 -1
  275. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.json +2 -2
  276. package/artifacts/contracts/shared/Service.sol/Service.dbg.json +1 -1
  277. package/artifacts/contracts/shared/Service.sol/Service.json +51 -11
  278. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +1 -1
  279. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +63 -162
  280. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandlerBase.dbg.json +1 -1
  281. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandlerBase.json +118 -29
  282. package/artifacts/contracts/shared/TokenHandlerDeployerLib.sol/TokenHandlerDeployerLib.dbg.json +1 -1
  283. package/artifacts/contracts/shared/TokenHandlerDeployerLib.sol/TokenHandlerDeployerLib.json +32 -32
  284. package/artifacts/contracts/staking/IStaking.sol/IStaking.dbg.json +1 -1
  285. package/artifacts/contracts/staking/IStaking.sol/IStaking.json +1457 -145
  286. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.dbg.json +1 -1
  287. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.json +214 -110
  288. package/artifacts/contracts/staking/ITargetLimitHandler.sol/ITargetLimitHandler.dbg.json +4 -0
  289. package/artifacts/contracts/staking/ITargetLimitHandler.sol/ITargetLimitHandler.json +50 -0
  290. package/artifacts/contracts/staking/Staking.sol/Staking.dbg.json +1 -1
  291. package/artifacts/contracts/staking/Staking.sol/Staking.json +1634 -275
  292. package/artifacts/contracts/staking/StakingLib.sol/StakingLib.dbg.json +4 -0
  293. package/artifacts/contracts/staking/StakingLib.sol/StakingLib.json +470 -0
  294. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.dbg.json +1 -1
  295. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.json +149 -62
  296. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.dbg.json +1 -1
  297. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.json +294 -177
  298. package/artifacts/contracts/staking/StakingService.sol/StakingService.dbg.json +1 -1
  299. package/artifacts/contracts/staking/StakingService.sol/StakingService.json +253 -174
  300. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.dbg.json +1 -1
  301. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.json +102 -50
  302. package/artifacts/contracts/staking/StakingStore.sol/StakingStore.dbg.json +1 -1
  303. package/artifacts/contracts/staking/StakingStore.sol/StakingStore.json +1632 -818
  304. package/artifacts/contracts/staking/TargetHandler.sol/TargetHandler.dbg.json +4 -0
  305. package/artifacts/contracts/staking/TargetHandler.sol/TargetHandler.json +309 -0
  306. package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.dbg.json +1 -1
  307. package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.json +160 -88
  308. package/artifacts/contracts/type/AddressSet.sol/LibAddressSet.dbg.json +1 -1
  309. package/artifacts/contracts/type/Amount.sol/AmountLib.dbg.json +1 -1
  310. package/artifacts/contracts/type/Amount.sol/AmountLib.json +11 -11
  311. package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.dbg.json +1 -1
  312. package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.json +64 -19
  313. package/artifacts/contracts/type/ChainId.sol/ChainIdLib.dbg.json +4 -0
  314. package/artifacts/contracts/type/ChainId.sol/ChainIdLib.json +193 -0
  315. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.dbg.json +1 -1
  316. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.json +2 -2
  317. package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.dbg.json +1 -1
  318. package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.json +2 -2
  319. package/artifacts/contracts/type/Fee.sol/FeeLib.dbg.json +1 -1
  320. package/artifacts/contracts/type/Fee.sol/FeeLib.json +94 -38
  321. package/artifacts/contracts/type/Key32.sol/Key32Lib.dbg.json +1 -1
  322. package/artifacts/contracts/type/Key32.sol/Key32Lib.json +2 -2
  323. package/artifacts/contracts/type/Key32Set.sol/LibKey32Set.dbg.json +4 -0
  324. package/artifacts/contracts/type/Key32Set.sol/LibKey32Set.json +33 -0
  325. package/artifacts/contracts/type/NftId.sol/NftIdLib.dbg.json +1 -1
  326. package/artifacts/contracts/type/NftId.sol/NftIdLib.json +23 -4
  327. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.dbg.json +1 -1
  328. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.json +2 -2
  329. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.dbg.json +1 -1
  330. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.json +49 -50
  331. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.dbg.json +1 -1
  332. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.json +2 -2
  333. package/artifacts/contracts/type/Referral.sol/ReferralLib.dbg.json +1 -1
  334. package/artifacts/contracts/type/Referral.sol/ReferralLib.json +23 -4
  335. package/artifacts/contracts/type/RequestId.sol/RequestIdLib.dbg.json +1 -1
  336. package/artifacts/contracts/type/RequestId.sol/RequestIdLib.json +2 -2
  337. package/artifacts/contracts/type/RequestIdSet.sol/LibRequestIdSet.dbg.json +4 -0
  338. package/artifacts/contracts/type/RequestIdSet.sol/LibRequestIdSet.json +33 -0
  339. package/artifacts/contracts/type/RiskId.sol/RiskIdLib.dbg.json +1 -1
  340. package/artifacts/contracts/type/RiskId.sol/RiskIdLib.json +69 -7
  341. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.dbg.json +1 -1
  342. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.json +42 -157
  343. package/artifacts/contracts/type/Seconds.sol/SecondsLib.dbg.json +1 -1
  344. package/artifacts/contracts/type/Seconds.sol/SecondsLib.json +64 -2
  345. package/artifacts/contracts/type/Selector.sol/SelectorLib.dbg.json +1 -1
  346. package/artifacts/contracts/type/Selector.sol/SelectorLib.json +21 -2
  347. package/artifacts/contracts/type/Selector.sol/SelectorSetLib.dbg.json +1 -1
  348. package/artifacts/contracts/type/Selector.sol/SelectorSetLib.json +2 -2
  349. package/artifacts/contracts/type/StateId.sol/StateIdLib.dbg.json +1 -1
  350. package/artifacts/contracts/type/String.sol/StrLib.dbg.json +1 -1
  351. package/artifacts/contracts/type/String.sol/StrLib.json +69 -2
  352. package/artifacts/contracts/type/Timestamp.sol/TimestampLib.dbg.json +1 -1
  353. package/artifacts/contracts/type/Timestamp.sol/TimestampLib.json +37 -5
  354. package/artifacts/contracts/type/UFixed.sol/UFixedLib.dbg.json +1 -1
  355. package/artifacts/contracts/type/UFixed.sol/UFixedLib.json +61 -37
  356. package/artifacts/contracts/type/Version.sol/VersionLib.dbg.json +1 -1
  357. package/artifacts/contracts/type/Version.sol/VersionLib.json +2 -21
  358. package/artifacts/contracts/type/Version.sol/VersionPartLib.dbg.json +1 -1
  359. package/artifacts/contracts/type/Version.sol/VersionPartLib.json +101 -2
  360. package/artifacts/contracts/upgradeability/IVersionable.sol/IVersionable.dbg.json +1 -1
  361. package/artifacts/contracts/upgradeability/IVersionable.sol/IVersionable.json +10 -0
  362. package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.dbg.json +1 -1
  363. package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.json +81 -27
  364. package/artifacts/contracts/upgradeability/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +1 -1
  365. package/artifacts/contracts/upgradeability/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +15 -2
  366. package/artifacts/contracts/upgradeability/Versionable.sol/Versionable.dbg.json +1 -1
  367. package/artifacts/contracts/upgradeability/Versionable.sol/Versionable.json +10 -0
  368. package/contracts/accounting/AccountingService.sol +274 -0
  369. package/contracts/accounting/AccountingServiceManager.sol +38 -0
  370. package/contracts/accounting/IAccountingService.sol +47 -0
  371. package/contracts/authorization/AccessAdmin.sol +389 -306
  372. package/contracts/authorization/AccessAdminLib.sol +678 -0
  373. package/contracts/authorization/AccessManagerCloneable.sol +128 -4
  374. package/contracts/authorization/Authorization.sol +161 -260
  375. package/contracts/authorization/IAccess.sol +29 -12
  376. package/contracts/authorization/IAccessAdmin.sol +89 -84
  377. package/contracts/authorization/IAuthorization.sol +9 -43
  378. package/contracts/authorization/IServiceAuthorization.sol +55 -17
  379. package/contracts/authorization/ServiceAuthorization.sol +228 -34
  380. package/contracts/distribution/BasicDistribution.sol +19 -18
  381. package/contracts/distribution/BasicDistributionAuthorization.sol +30 -10
  382. package/contracts/distribution/Distribution.sol +45 -85
  383. package/contracts/distribution/DistributionService.sol +192 -99
  384. package/contracts/distribution/DistributionServiceManager.sol +1 -1
  385. package/contracts/distribution/IDistributionComponent.sol +3 -10
  386. package/contracts/distribution/IDistributionService.sol +38 -24
  387. package/contracts/examples/fire/FirePool.sol +6 -6
  388. package/contracts/examples/fire/FirePoolAuthorization.sol +2 -1
  389. package/contracts/examples/fire/FireProduct.sol +15 -13
  390. package/contracts/examples/fire/FireProductAuthorization.sol +2 -1
  391. package/contracts/examples/flight/FlightLib.sol +279 -0
  392. package/contracts/examples/flight/FlightOracle.sol +168 -0
  393. package/contracts/examples/flight/FlightOracleAuthorization.sol +34 -0
  394. package/contracts/examples/flight/FlightPool.sol +89 -0
  395. package/contracts/examples/flight/FlightPoolAuthorization.sol +37 -0
  396. package/contracts/examples/flight/FlightProduct.sol +470 -0
  397. package/contracts/examples/flight/FlightProductAuthorization.sol +44 -0
  398. package/contracts/examples/flight/FlightUSD.sol +26 -0
  399. package/contracts/examples/flight/originalV1.sol +396 -0
  400. package/contracts/examples/unpermissioned/SimpleDistribution.sol +34 -11
  401. package/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol +28 -0
  402. package/contracts/examples/unpermissioned/SimpleOracle.sol +4 -8
  403. package/contracts/examples/unpermissioned/SimplePool.sol +7 -13
  404. package/contracts/examples/unpermissioned/SimplePoolAuthorization.sol +28 -0
  405. package/contracts/examples/unpermissioned/SimpleProduct.sol +119 -27
  406. package/contracts/examples/unpermissioned/SimpleProductAuthorization.sol +28 -0
  407. package/contracts/instance/BaseStore.sol +93 -0
  408. package/contracts/instance/BundleSet.sol +42 -38
  409. package/contracts/instance/IBaseStore.sol +37 -0
  410. package/contracts/instance/IInstance.sol +109 -19
  411. package/contracts/instance/IInstanceService.sol +59 -11
  412. package/contracts/instance/Instance.sol +184 -65
  413. package/contracts/instance/InstanceAdmin.sol +221 -191
  414. package/contracts/instance/InstanceAuthorizationV3.sol +153 -72
  415. package/contracts/instance/InstanceReader.sol +447 -314
  416. package/contracts/instance/InstanceService.sol +305 -205
  417. package/contracts/instance/InstanceServiceManager.sol +1 -1
  418. package/contracts/instance/InstanceStore.sol +152 -116
  419. package/contracts/instance/ProductStore.sol +290 -0
  420. package/contracts/instance/RiskSet.sol +126 -0
  421. package/contracts/instance/TargetNames.sol +10 -0
  422. package/contracts/instance/base/BalanceStore.sol +4 -6
  423. package/contracts/instance/base/ObjectCounter.sol +1 -2
  424. package/contracts/instance/base/ObjectLifecycle.sol +6 -8
  425. package/contracts/instance/base/ObjectSet.sol +31 -33
  426. package/contracts/instance/base/ObjectSetHelperLib.sol +30 -0
  427. package/contracts/instance/module/IBundle.sol +6 -5
  428. package/contracts/instance/module/IComponents.sol +18 -8
  429. package/contracts/instance/module/IDistribution.sol +21 -8
  430. package/contracts/instance/module/IPolicy.sol +28 -8
  431. package/contracts/instance/module/IRisk.sol +5 -0
  432. package/contracts/oracle/BasicOracle.sol +3 -6
  433. package/contracts/oracle/BasicOracleAuthorization.sol +15 -8
  434. package/contracts/oracle/IOracle.sol +9 -4
  435. package/contracts/oracle/IOracleService.sol +12 -12
  436. package/contracts/oracle/Oracle.sol +5 -9
  437. package/contracts/oracle/OracleService.sol +98 -80
  438. package/contracts/oracle/OracleServiceManager.sol +1 -1
  439. package/contracts/pool/BasicPool.sol +4 -18
  440. package/contracts/pool/BasicPoolAuthorization.sol +29 -16
  441. package/contracts/pool/BundleService.sol +66 -165
  442. package/contracts/pool/BundleServiceManager.sol +1 -1
  443. package/contracts/pool/IBundleService.sol +27 -51
  444. package/contracts/pool/IPoolService.sol +56 -58
  445. package/contracts/pool/Pool.sol +15 -29
  446. package/contracts/pool/PoolLib.sol +341 -0
  447. package/contracts/pool/PoolService.sol +221 -227
  448. package/contracts/pool/PoolServiceManager.sol +1 -1
  449. package/contracts/product/ApplicationService.sol +93 -25
  450. package/contracts/product/ApplicationServiceManager.sol +1 -1
  451. package/contracts/product/BasicProduct.sol +4 -5
  452. package/contracts/product/BasicProductAuthorization.sol +33 -11
  453. package/contracts/product/ClaimService.sol +221 -209
  454. package/contracts/product/ClaimServiceManager.sol +1 -1
  455. package/contracts/product/IApplicationService.sol +28 -3
  456. package/contracts/product/IClaimService.sol +18 -5
  457. package/contracts/product/IPolicyService.sol +31 -11
  458. package/contracts/product/IPricingService.sol +1 -0
  459. package/contracts/product/IProductComponent.sol +4 -1
  460. package/contracts/product/IRiskService.sol +25 -10
  461. package/contracts/product/PolicyService.sol +252 -302
  462. package/contracts/product/PolicyServiceLib.sol +139 -0
  463. package/contracts/product/PolicyServiceManager.sol +1 -1
  464. package/contracts/product/PricingService.sol +52 -46
  465. package/contracts/product/PricingServiceManager.sol +3 -3
  466. package/contracts/product/Product.sol +95 -36
  467. package/contracts/product/RiskService.sol +130 -37
  468. package/contracts/product/RiskServiceManager.sol +1 -1
  469. package/contracts/registry/ChainNft.sol +4 -2
  470. package/contracts/registry/IRegistry.sol +23 -24
  471. package/contracts/registry/IRelease.sol +29 -0
  472. package/contracts/registry/Registry.sol +22 -11
  473. package/contracts/registry/RegistryAdmin.sol +94 -383
  474. package/contracts/registry/RegistryAuthorization.sol +337 -0
  475. package/contracts/registry/RegistryService.sol +4 -4
  476. package/contracts/registry/RegistryServiceManager.sol +1 -1
  477. package/contracts/registry/ReleaseAdmin.sol +199 -0
  478. package/contracts/registry/ReleaseLifecycle.sol +2 -0
  479. package/contracts/registry/ReleaseRegistry.sol +157 -117
  480. package/contracts/registry/ServiceAuthorizationV3.sol +193 -54
  481. package/contracts/registry/TokenRegistry.sol +61 -59
  482. package/contracts/shared/Component.sol +36 -55
  483. package/contracts/shared/ComponentService.sol +350 -438
  484. package/contracts/shared/ComponentServiceManager.sol +1 -1
  485. package/contracts/shared/ContractLib.sol +260 -2
  486. package/contracts/shared/IComponent.sol +1 -10
  487. package/contracts/shared/IComponentService.sol +22 -41
  488. package/contracts/shared/IInstanceLinkedComponent.sol +0 -11
  489. package/contracts/shared/INftOwnable.sol +2 -0
  490. package/contracts/shared/IRegisterable.sol +15 -5
  491. package/contracts/shared/IService.sol +3 -5
  492. package/contracts/shared/InitializableERC165.sol +9 -1
  493. package/contracts/shared/InstanceLinkedComponent.sol +62 -35
  494. package/contracts/shared/NftOwnable.sol +8 -6
  495. package/contracts/shared/PolicyHolder.sol +4 -3
  496. package/contracts/shared/Registerable.sol +42 -19
  497. package/contracts/shared/RegistryLinked.sol +1 -1
  498. package/contracts/shared/Service.sol +13 -30
  499. package/contracts/shared/TokenHandler.sol +45 -100
  500. package/contracts/staking/IStaking.sol +265 -72
  501. package/contracts/staking/IStakingService.sol +45 -75
  502. package/contracts/staking/ITargetLimitHandler.sol +17 -0
  503. package/contracts/staking/Staking.sol +502 -210
  504. package/contracts/staking/{StakeManagerLib.sol → StakingLib.sol} +55 -84
  505. package/contracts/staking/StakingManager.sol +4 -3
  506. package/contracts/staking/StakingReader.sol +58 -77
  507. package/contracts/staking/StakingService.sol +62 -194
  508. package/contracts/staking/StakingServiceManager.sol +6 -4
  509. package/contracts/staking/StakingStore.sol +1093 -330
  510. package/contracts/staking/TargetHandler.sol +132 -0
  511. package/contracts/staking/TargetManagerLib.sol +69 -46
  512. package/contracts/type/Amount.sol +4 -0
  513. package/contracts/type/Blocknumber.sol +17 -22
  514. package/contracts/type/ChainId.sol +101 -0
  515. package/contracts/type/Fee.sol +8 -8
  516. package/contracts/type/Key32.sol +2 -2
  517. package/contracts/type/Key32Set.sol +62 -0
  518. package/contracts/type/NftId.sol +6 -0
  519. package/contracts/type/ObjectType.sol +70 -68
  520. package/contracts/type/Referral.sol +6 -0
  521. package/contracts/type/RequestIdSet.sol +62 -0
  522. package/contracts/type/RiskId.sol +26 -8
  523. package/contracts/type/RoleId.sol +63 -45
  524. package/contracts/type/Seconds.sol +23 -0
  525. package/contracts/type/Selector.sol +5 -0
  526. package/contracts/type/String.sol +42 -0
  527. package/contracts/type/Timestamp.sol +14 -8
  528. package/contracts/type/UFixed.sol +35 -127
  529. package/contracts/type/Version.sol +54 -5
  530. package/contracts/upgradeability/IVersionable.sol +3 -0
  531. package/contracts/upgradeability/ProxyManager.sol +27 -13
  532. package/contracts/upgradeability/UpgradableProxyWithAdmin.sol +12 -2
  533. package/contracts/upgradeability/Versionable.sol +6 -3
  534. package/package.json +2 -2
  535. package/artifacts/contracts/authorization/ReleaseAccessManager.sol/ReleaseAccessManager.dbg.json +0 -4
  536. package/artifacts/contracts/authorization/ReleaseAccessManager.sol/ReleaseAccessManager.json +0 -1196
  537. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.dbg.json +0 -4
  538. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.json +0 -129
  539. package/artifacts/contracts/shared/ComponentVerifyingService.sol/ComponentVerifyingService.dbg.json +0 -4
  540. package/artifacts/contracts/shared/ComponentVerifyingService.sol/ComponentVerifyingService.json +0 -474
  541. package/artifacts/contracts/shared/IKeyValueStore.sol/IKeyValueStore.dbg.json +0 -4
  542. package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.dbg.json +0 -4
  543. package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.json +0 -538
  544. package/artifacts/contracts/staking/StakeManagerLib.sol/StakeManagerLib.dbg.json +0 -4
  545. package/artifacts/contracts/staking/StakeManagerLib.sol/StakeManagerLib.json +0 -440
  546. package/artifacts/contracts/staking/StakingLifecycle.sol/StakingLifecycle.dbg.json +0 -4
  547. package/artifacts/contracts/staking/StakingLifecycle.sol/StakingLifecycle.json +0 -205
  548. package/artifacts/contracts/type/UFixed.sol/MathLib.dbg.json +0 -4
  549. package/artifacts/contracts/type/UFixed.sol/MathLib.json +0 -16
  550. package/contracts/authorization/ReleaseAccessManager.sol +0 -38
  551. package/contracts/instance/module/IAccess.sol +0 -46
  552. package/contracts/shared/ComponentVerifyingService.sol +0 -128
  553. package/contracts/shared/IKeyValueStore.sol +0 -54
  554. package/contracts/shared/KeyValueStore.sol +0 -131
  555. package/contracts/staking/StakingLifecycle.sol +0 -23
@@ -41,6 +41,17 @@
41
41
  "name": "AccessManagedUnauthorized",
42
42
  "type": "error"
43
43
  },
44
+ {
45
+ "inputs": [
46
+ {
47
+ "internalType": "address",
48
+ "name": "authority",
49
+ "type": "address"
50
+ }
51
+ ],
52
+ "name": "ErrorAuthorityInvalid",
53
+ "type": "error"
54
+ },
44
55
  {
45
56
  "inputs": [],
46
57
  "name": "ErrorComponentNameLengthZero",
@@ -67,16 +78,6 @@
67
78
  "name": "ErrorComponentProductNftIdZero",
68
79
  "type": "error"
69
80
  },
70
- {
71
- "inputs": [],
72
- "name": "ErrorComponentTokenAddressNonzero",
73
- "type": "error"
74
- },
75
- {
76
- "inputs": [],
77
- "name": "ErrorComponentTokenAddressZero",
78
- "type": "error"
79
- },
80
81
  {
81
82
  "inputs": [],
82
83
  "name": "ErrorComponentWalletAddressIsSameAsCurrent",
@@ -200,6 +201,11 @@
200
201
  "name": "ErrorOracleNotImplemented",
201
202
  "type": "error"
202
203
  },
204
+ {
205
+ "inputs": [],
206
+ "name": "ErrorRegisterableNotActive",
207
+ "type": "error"
208
+ },
203
209
  {
204
210
  "inputs": [],
205
211
  "name": "InvalidInitialization",
@@ -312,26 +318,32 @@
312
318
  "type": "event"
313
319
  },
314
320
  {
315
- "inputs": [],
316
- "name": "COMPONENT_LOCATION_V1",
317
- "outputs": [
321
+ "anonymous": false,
322
+ "inputs": [
318
323
  {
319
- "internalType": "bytes32",
320
- "name": "",
321
- "type": "bytes32"
324
+ "indexed": false,
325
+ "internalType": "NftId",
326
+ "name": "nftId",
327
+ "type": "uint96"
328
+ },
329
+ {
330
+ "indexed": false,
331
+ "internalType": "address",
332
+ "name": "owner",
333
+ "type": "address"
322
334
  }
323
335
  ],
324
- "stateMutability": "view",
325
- "type": "function"
336
+ "name": "LogNftOwnableNftLinkedToAddress",
337
+ "type": "event"
326
338
  },
327
339
  {
328
340
  "inputs": [],
329
- "name": "GIF_RELEASE",
341
+ "name": "COMPONENT_LOCATION_V1",
330
342
  "outputs": [
331
343
  {
332
- "internalType": "uint256",
344
+ "internalType": "bytes32",
333
345
  "name": "",
334
- "type": "uint256"
346
+ "type": "bytes32"
335
347
  }
336
348
  ],
337
349
  "stateMutability": "view",
@@ -389,24 +401,6 @@
389
401
  "stateMutability": "view",
390
402
  "type": "function"
391
403
  },
392
- {
393
- "inputs": [
394
- {
395
- "internalType": "contract IERC20Metadata",
396
- "name": "token",
397
- "type": "address"
398
- },
399
- {
400
- "internalType": "Amount",
401
- "name": "amount",
402
- "type": "uint96"
403
- }
404
- ],
405
- "name": "approveTokenHandler",
406
- "outputs": [],
407
- "stateMutability": "nonpayable",
408
- "type": "function"
409
- },
410
404
  {
411
405
  "inputs": [],
412
406
  "name": "authority",
@@ -457,20 +451,10 @@
457
451
  "name": "name",
458
452
  "type": "string"
459
453
  },
460
- {
461
- "internalType": "contract IERC20Metadata",
462
- "name": "token",
463
- "type": "address"
464
- },
465
454
  {
466
455
  "internalType": "contract TokenHandler",
467
456
  "name": "tokenHandler",
468
457
  "type": "address"
469
- },
470
- {
471
- "internalType": "bytes",
472
- "name": "data",
473
- "type": "bytes"
474
458
  }
475
459
  ],
476
460
  "internalType": "struct IComponents.ComponentInfo",
@@ -492,20 +476,10 @@
492
476
  "name": "name",
493
477
  "type": "string"
494
478
  },
495
- {
496
- "internalType": "contract IERC20Metadata",
497
- "name": "token",
498
- "type": "address"
499
- },
500
479
  {
501
480
  "internalType": "contract TokenHandler",
502
481
  "name": "tokenHandler",
503
482
  "type": "address"
504
- },
505
- {
506
- "internalType": "bytes",
507
- "name": "data",
508
- "type": "bytes"
509
483
  }
510
484
  ],
511
485
  "internalType": "struct IComponents.ComponentInfo",
@@ -641,7 +615,7 @@
641
615
  "type": "uint8"
642
616
  }
643
617
  ],
644
- "stateMutability": "pure",
618
+ "stateMutability": "view",
645
619
  "type": "function"
646
620
  },
647
621
  {
@@ -670,6 +644,19 @@
670
644
  "stateMutability": "view",
671
645
  "type": "function"
672
646
  },
647
+ {
648
+ "inputs": [],
649
+ "name": "getVersion",
650
+ "outputs": [
651
+ {
652
+ "internalType": "Version",
653
+ "name": "version",
654
+ "type": "uint24"
655
+ }
656
+ ],
657
+ "stateMutability": "view",
658
+ "type": "function"
659
+ },
673
660
  {
674
661
  "inputs": [],
675
662
  "name": "getWallet",
@@ -683,6 +670,19 @@
683
670
  "stateMutability": "view",
684
671
  "type": "function"
685
672
  },
673
+ {
674
+ "inputs": [],
675
+ "name": "isActive",
676
+ "outputs": [
677
+ {
678
+ "internalType": "bool",
679
+ "name": "active",
680
+ "type": "bool"
681
+ }
682
+ ],
683
+ "stateMutability": "view",
684
+ "type": "function"
685
+ },
686
686
  {
687
687
  "inputs": [],
688
688
  "name": "isConsumingScheduledOp",
@@ -748,13 +748,6 @@
748
748
  "stateMutability": "nonpayable",
749
749
  "type": "function"
750
750
  },
751
- {
752
- "inputs": [],
753
- "name": "lock",
754
- "outputs": [],
755
- "stateMutability": "nonpayable",
756
- "type": "function"
757
- },
758
751
  {
759
752
  "inputs": [
760
753
  {
@@ -861,13 +854,6 @@
861
854
  "stateMutability": "view",
862
855
  "type": "function"
863
856
  },
864
- {
865
- "inputs": [],
866
- "name": "unlock",
867
- "outputs": [],
868
- "stateMutability": "nonpayable",
869
- "type": "function"
870
- },
871
857
  {
872
858
  "inputs": [
873
859
  {
@@ -880,7 +866,7 @@
880
866
  "outputs": [
881
867
  {
882
868
  "internalType": "Amount",
883
- "name": "withdrawnAmount",
869
+ "name": "",
884
870
  "type": "uint96"
885
871
  }
886
872
  ],
@@ -888,38 +874,38 @@
888
874
  "type": "function"
889
875
  }
890
876
  ],
891
- "bytecode": "0x6080604052348015600e575f80fd5b506120818061001c5f395ff3fe608060405234801561000f575f80fd5b5060043610610208575f3560e01c8063644c45e01161011f578063a69df4b5116100a9578063bf7e214f11610079578063bf7e214f146104b6578063cf4ee77a146104be578063de7b5d14146104d1578063ea15869f14610501578063f83d08ba14610528575f80fd5b8063a69df4b51461047f578063ad12ad6014610487578063ada9652e1461049a578063b423086c146104ae575f80fd5b806387ef9ba0116100ef57806387ef9ba0146104335780638899278a14610439578063893d20e8146104415780638fb360371461044957806390edbd351461046a575f80fd5b8063644c45e0146103b95780636bd1c0eb146103d657806376b707b7146104065780637a9e5e4b14610420575f80fd5b806321df0da7116101a057806343d752d31161017057806343d752d31461035e5780634bd100e4146103665780634c125e791461038d5780635741e5e9146103a05780635ab1bd53146103a8575f80fd5b806321df0da714610314578063223668441461031c5780632eb3e6f414610324578063419197fe1461034b575f80fd5b8063138461e0116101db578063138461e01461029757806317d7de7c146102b75780631c6b2190146102cc5780631eff4b22146102df575f80fd5b806301ffc9a71461020c5780630b29e28e1461024d5780630fec111c146102625780631329960414610277575b5f80fd5b61023861021a3660046117cc565b6001600160e01b0319165f9081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b61026061025b366004611829565b610530565b005b61026a610543565b6040516102449190611903565b61027f610701565b6040516001600160a01b039091168152602001610244565b61029f61076e565b6040516001600160601b039091168152602001610244565b6102bf610778565b6040516102449190611997565b61029f6102da3660046119a9565b610788565b6103067f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b604051908152602001610244565b61027f61080a565b61023861081c565b6103067fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f0081565b6102606103593660046119d8565b610912565b61027f61095b565b6103067faab7c0ea03d290e56d6c060e0733d3ebcbe647f7694616a2ec52738a64b2f90081565b61026061039b366004611a0f565b61096d565b610238610979565b6001546001600160a01b031661027f565b5f8051602061200c833981519152546001600160601b031661029f565b7fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f02546001600160a01b031661027f565b61040e610a36565b60405160ff9091168152602001610244565b61026061042e366004611a28565b610aaa565b5f610238565b610306600381565b61027f610b2c565b610451610c5d565b6040516001600160e01b03199091168152602001610244565b610472610c92565b6040516102449190611a43565b610260610cb7565b610260610495366004611aa9565b610d55565b6103065f8051602061200c83398151915281565b610472610df7565b61027f610e07565b6102606104cc366004611bad565b610e22565b7fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f00546001600160a01b031661027f565b6103067fffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f0081565b610260610e35565b61053c335b5f36610ea9565b5050505050565b6040805160e0810182525f8082526020820181905291810182905260608082018390526080820183905260a082019290925260c08101919091525f7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e0016040528073__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af41580156105f3573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906106179190611c42565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a00161065f610b2c565b6001600160a01b0316815260200182600101805461067c90611c5d565b80601f01602080910402602001604051908101604052809291908181526020018280546106a890611c5d565b80156106f35780601f106106ca576101008083540402835291602001916106f3565b820191905f5260205f20905b8154815290600101906020018083116106d657829003601f168201915b505050505081525091505090565b5f61070a61095b565b6001600160a01b031663132996046040518163ffffffff1660e01b8152600401602060405180830381865afa158015610745573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906107699190611ca0565b905090565b5f61076930610fa7565b6060610782610c92565b51919050565b5f610791610b2c565b6001600160a01b0316336001600160a01b0316146107c95760405163086391f760e31b81523360048201526024015b60405180910390fd5b6107d233610535565b60405163ca49882f60e01b815260206004820152600c60248201526b77697468647261774665657360a01b60448201526064016107c0565b5f610813610c92565b60200151905090565b5f61082f6001546001600160a01b031690565b604051632f2a35f760e11b81523060048201526001600160a01b039190911690635e546bee90602401602060405180830381865afa158015610873573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906108979190611c42565b6040516330b8415f60e01b81526001600160601b03909116600482015273__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af41580156108ee573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906107699190611cca565b61091a610b2c565b6001600160a01b0316336001600160a01b03161461094d5760405163086391f760e31b81523360048201526024016107c0565b61095782826111a0565b5050565b5f610964610c92565b60400151905090565b61097633610535565b50565b5f61098261081c565b15610a06576001546001600160a01b03166040516308b09a5f60e41b81523060048201526001600160a01b039190911690638b09a5f0906024015f60405180830381865afa1580156109d6573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526109fd9190810190611d50565b60600151905090565b507fffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f0154600160a01b900460ff1690565b604051632392b61b60e21b8152600360048201525f9073__$b659da7d8a6d2d32aa6c1e17da23dc2174$__90638e4ad86c90602401602060405180830381865af4158015610a86573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906107699190611e20565b33610ab3610e07565b6001600160a01b0316816001600160a01b031614610aee5760405162d1953b60e31b81526001600160a01b03821660048201526024016107c0565b816001600160a01b03163b5f03610b23576040516361798f2f60e11b81526001600160a01b03831660048201526024016107c0565b61095782611227565b5f805f8051602061200c83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015610b98573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610bbc9190611cca565b15610c47576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015610c1d573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610c419190611ca0565b91505090565b54600160601b90046001600160a01b0316919050565b5f8051602061202c83398151915280545f9190600160a01b900460ff16610c84575f610c41565b638fb3603760e01b91505090565b610c9a611794565b610ca261081c565b15610caf57610769611287565b610769610df7565b610cbf610b2c565b6001600160a01b0316336001600160a01b031614610cf25760405163086391f760e31b81523360048201526024016107c0565b610cfc600a61146d565b60405163581e954760e11b81525f60048201526001600160a01b03919091169063b03d2a8e906024015b5f604051808303815f87803b158015610d3d575f80fd5b505af1158015610d4f573d5f803e3d5ffd5b50505050565b6001546001600160a01b03166001600160a01b031663120726c36040518163ffffffff1660e01b8152600401602060405180830381865afa158015610d9c573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610dc09190611ca0565b6001600160a01b0316336001600160a01b031614610df25760405162f0630960e01b81523360048201526024016107c0565b610d4f565b610dff611794565b610769611287565b5f8051602061202c833981519152546001600160a01b031690565b610e2b33610535565b6109578282611504565b610e3d610b2c565b6001600160a01b0316336001600160a01b031614610e705760405163086391f760e31b81523360048201526024016107c0565b610e7a600a61146d565b60405163581e954760e11b8152600160048201526001600160a01b03919091169063b03d2a8e90602401610d26565b5f8051602061202c8339815191525f80610ee1610ec4610e07565b8730610ed360045f8a8c611e3b565b610edc91611e62565b61159a565b9150915081610f9f5763ffffffff811615610f7c57825460ff60a01b1916600160a01b178355610f0f610e07565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b8152600401610f3e93929190611e9a565b5f604051808303815f87803b158015610f55575f80fd5b505af1158015610f67573d5f803e3d5ffd5b5050845460ff60a01b1916855550610f9f9050565b60405162d1953b60e31b81526001600160a01b03871660048201526024016107c0565b505050505050565b5f805f8051602061200c83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015611013573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906110379190611cca565b156110635780546040516301ab8b6760e21b81526001600160601b0390911660048201526024016107c0565b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038581166004830152919091169063c3c5a54790602401602060405180830381865afa1580156110b5573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906110d99190611cca565b6111015760405163b9304b0d60e01b81526001600160a01b03841660048201526024016107c0565b6001546001600160a01b0316604051632f2a35f760e11b81526001600160a01b0385811660048301529190911690635e546bee90602401602060405180830381865afa158015611153573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906111779190611c42565b81546bffffffffffffffffffffffff19166001600160601b039190911690811790915592915050565b7fffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f00600301546040516320c8cbff60e11b81526001600160a01b0384811660048301526001600160601b03841660248301529091169063419197fe906044015f604051808303815f87803b158015611215575f80fd5b505af1158015610f9f573d5f803e3d5ffd5b5f8051602061202c83398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b61128f611794565b5f6112a26001546001600160a01b031690565b604051632f2a35f760e11b81523060048201526001600160a01b039190911690635e546bee90602401602060405180830381865afa1580156112e6573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061130a9190611c42565b6040516330b8415f60e01b81526001600160601b038216600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015611363573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906113879190611cca565b15611465577fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f01546001600160a01b03166001600160a01b031663f0ea17c36113e35f8051602061200c833981519152546001600160601b031690565b6040516001600160e01b031960e084901b1681526001600160601b0390911660048201526024015f60405180830381865afa158015611424573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f1916820160405261144b9190810190611ed9565b60408101519092506001600160a01b031615611465575090565b610c416116a2565b5f6114806001546001600160a01b031690565b6001600160a01b031663d39e604383611497610a36565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa1580156114da573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906114fe9190611ca0565b92915050565b7faab7c0ea03d290e56d6c060e0733d3ebcbe647f7694616a2ec52738a64b2f901546040516367a773bd60e11b81526001600160a01b039091169063cf4ee77a906115559085908590600401611fa2565b6020604051808303815f875af1158015611571573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906115959190611cca565b505050565b6040516001600160a01b03848116602483015283811660448301526001600160e01b0319831660648301525f9182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b179052516116089190611fc3565b5f60405180830381855afa9150503d805f8114611640576040519150601f19603f3d011682016040523d82523d5f602084013e611645565b606091505b50915091508115611697576040815110611677578080602001905181019061166d9190611fd9565b9094509250611697565b602081511061169757808060200190518101906116949190611cca565b93505b505094509492505050565b6116aa611794565b5f7fffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f0090506040518060800160405280825f0180546116e790611c5d565b80601f016020809104026020016040519081016040528092919081815260200182805461171390611c5d565b801561175e5780601f106117355761010080835404028352916020019161175e565b820191905f5260205f20905b81548152906001019060200180831161174157829003601f168201915b505050918352505060018301546001600160a01b031660208201525f604082015260028301805460609092019161067c90611c5d565b6040518060800160405280606081526020015f6001600160a01b031681526020015f6001600160a01b03168152602001606081525090565b5f602082840312156117dc575f80fd5b81356001600160e01b0319811681146117f3575f80fd5b9392505050565b80356001600160401b0381168114611810575f80fd5b919050565b6001600160601b0381168114610976575f80fd5b5f805f805f6080868803121561183d575f80fd5b611846866117fa565b9450602086013561185681611815565b935060408601356001600160401b03811115611870575f80fd5b8601601f81018813611880575f80fd5b80356001600160401b03811115611895575f80fd5b8860208284010111156118a6575f80fd5b60209190910193509150606086013564ffffffffff811681146118c7575f80fd5b809150509295509295909350565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081526001600160601b0382511660208201526001600160601b03602083015116604082015260ff60408301511660608201525f606083015161194b608084018215159052565b5060808301516001600160a01b03811660a08401525060a08301516001600160a01b03811660c08401525060c083015160e08084015261198f6101008401826118d5565b949350505050565b602081525f6117f360208301846118d5565b5f602082840312156119b9575f80fd5b81356117f381611815565b6001600160a01b0381168114610976575f80fd5b5f80604083850312156119e9575f80fd5b82356119f4816119c4565b91506020830135611a0481611815565b809150509250929050565b5f60208284031215611a1f575f80fd5b6117f3826117fa565b5f60208284031215611a38575f80fd5b81356117f3816119c4565b602081525f825160806020840152611a5e60a08401826118d5565b60208501516001600160a01b0390811660408681019190915286015116606080860191909152850151848203601f19016080860152909150611aa082826118d5565b95945050505050565b5f805f8060808587031215611abc575f80fd5b8435611ac7816119c4565b93506020850135611ad7816119c4565b9250604085013591506060850135611aee816119c4565b939692955090935050565b634e487b7160e01b5f52604160045260245ffd5b60405160e081016001600160401b0381118282101715611b2f57611b2f611af9565b60405290565b604051608081016001600160401b0381118282101715611b2f57611b2f611af9565b604051601f8201601f191681016001600160401b0381118282101715611b7f57611b7f611af9565b604052919050565b5f6001600160401b03821115611b9f57611b9f611af9565b50601f01601f191660200190565b5f8060408385031215611bbe575f80fd5b611bc7836117fa565b915060208301356001600160401b03811115611be1575f80fd5b8301601f81018513611bf1575f80fd5b8035611c04611bff82611b87565b611b57565b818152866020838501011115611c18575f80fd5b816020840160208301375f602083830101528093505050509250929050565b805161181081611815565b5f60208284031215611c52575f80fd5b81516117f381611815565b600181811c90821680611c7157607f821691505b602082108103611c8f57634e487b7160e01b5f52602260045260245ffd5b50919050565b8051611810816119c4565b5f60208284031215611cb0575f80fd5b81516117f3816119c4565b80518015158114611810575f80fd5b5f60208284031215611cda575f80fd5b6117f382611cbb565b60ff81168114610976575f80fd5b805161181081611ce3565b5f611d09611bff84611b87565b9050828152838383011115611d1c575f80fd5b8282602083015e5f602084830101529392505050565b5f82601f830112611d41575f80fd5b6117f383835160208501611cfc565b5f60208284031215611d60575f80fd5b81516001600160401b03811115611d75575f80fd5b820160e08185031215611d86575f80fd5b611d8e611b0d565b611d9782611c37565b8152611da560208301611c37565b6020820152611db660408301611cf1565b6040820152611dc760608301611cbb565b6060820152611dd860808301611c95565b6080820152611de960a08301611c95565b60a082015260c08201516001600160401b03811115611e06575f80fd5b611e1286828501611d32565b60c083015250949350505050565b5f60208284031215611e30575f80fd5b81516117f381611ce3565b5f8085851115611e49575f80fd5b83861115611e55575f80fd5b5050820193919092039150565b80356001600160e01b03198116906004841015611e93576001600160e01b0319600485900360031b81901b82161691505b5092915050565b6001600160a01b03841681526040602082018190528101829052818360608301375f818301606090810191909152601f909201601f1916010192915050565b5f60208284031215611ee9575f80fd5b81516001600160401b03811115611efe575f80fd5b820160808185031215611f0f575f80fd5b611f17611b35565b81516001600160401b03811115611f2c575f80fd5b8201601f81018613611f3c575f80fd5b611f4b86825160208401611cfc565b825250611f5a60208301611c95565b6020820152611f6b60408301611c95565b604082015260608201516001600160401b03811115611f88575f80fd5b611f9486828501611d32565b606083015250949350505050565b6001600160401b0383168152604060208201525f61198f60408301846118d5565b5f82518060208501845e5f920191825250919050565b5f8060408385031215611fea575f80fd5b611ff383611cbb565b9150602083015163ffffffff81168114611a04575f80fdfe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00a264697066735822122077c57abaa29bccfb2522064fbfc4967a2fc71fe5f5eb4c0e3a7e1dd0ed399c1b64736f6c634300081a0033",
892
- "deployedBytecode": "0x608060405234801561000f575f80fd5b5060043610610208575f3560e01c8063644c45e01161011f578063a69df4b5116100a9578063bf7e214f11610079578063bf7e214f146104b6578063cf4ee77a146104be578063de7b5d14146104d1578063ea15869f14610501578063f83d08ba14610528575f80fd5b8063a69df4b51461047f578063ad12ad6014610487578063ada9652e1461049a578063b423086c146104ae575f80fd5b806387ef9ba0116100ef57806387ef9ba0146104335780638899278a14610439578063893d20e8146104415780638fb360371461044957806390edbd351461046a575f80fd5b8063644c45e0146103b95780636bd1c0eb146103d657806376b707b7146104065780637a9e5e4b14610420575f80fd5b806321df0da7116101a057806343d752d31161017057806343d752d31461035e5780634bd100e4146103665780634c125e791461038d5780635741e5e9146103a05780635ab1bd53146103a8575f80fd5b806321df0da714610314578063223668441461031c5780632eb3e6f414610324578063419197fe1461034b575f80fd5b8063138461e0116101db578063138461e01461029757806317d7de7c146102b75780631c6b2190146102cc5780631eff4b22146102df575f80fd5b806301ffc9a71461020c5780630b29e28e1461024d5780630fec111c146102625780631329960414610277575b5f80fd5b61023861021a3660046117cc565b6001600160e01b0319165f9081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b61026061025b366004611829565b610530565b005b61026a610543565b6040516102449190611903565b61027f610701565b6040516001600160a01b039091168152602001610244565b61029f61076e565b6040516001600160601b039091168152602001610244565b6102bf610778565b6040516102449190611997565b61029f6102da3660046119a9565b610788565b6103067f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b604051908152602001610244565b61027f61080a565b61023861081c565b6103067fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f0081565b6102606103593660046119d8565b610912565b61027f61095b565b6103067faab7c0ea03d290e56d6c060e0733d3ebcbe647f7694616a2ec52738a64b2f90081565b61026061039b366004611a0f565b61096d565b610238610979565b6001546001600160a01b031661027f565b5f8051602061200c833981519152546001600160601b031661029f565b7fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f02546001600160a01b031661027f565b61040e610a36565b60405160ff9091168152602001610244565b61026061042e366004611a28565b610aaa565b5f610238565b610306600381565b61027f610b2c565b610451610c5d565b6040516001600160e01b03199091168152602001610244565b610472610c92565b6040516102449190611a43565b610260610cb7565b610260610495366004611aa9565b610d55565b6103065f8051602061200c83398151915281565b610472610df7565b61027f610e07565b6102606104cc366004611bad565b610e22565b7fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f00546001600160a01b031661027f565b6103067fffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f0081565b610260610e35565b61053c335b5f36610ea9565b5050505050565b6040805160e0810182525f8082526020820181905291810182905260608082018390526080820183905260a082019290925260c08101919091525f7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e0016040528073__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af41580156105f3573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906106179190611c42565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a00161065f610b2c565b6001600160a01b0316815260200182600101805461067c90611c5d565b80601f01602080910402602001604051908101604052809291908181526020018280546106a890611c5d565b80156106f35780601f106106ca576101008083540402835291602001916106f3565b820191905f5260205f20905b8154815290600101906020018083116106d657829003601f168201915b505050505081525091505090565b5f61070a61095b565b6001600160a01b031663132996046040518163ffffffff1660e01b8152600401602060405180830381865afa158015610745573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906107699190611ca0565b905090565b5f61076930610fa7565b6060610782610c92565b51919050565b5f610791610b2c565b6001600160a01b0316336001600160a01b0316146107c95760405163086391f760e31b81523360048201526024015b60405180910390fd5b6107d233610535565b60405163ca49882f60e01b815260206004820152600c60248201526b77697468647261774665657360a01b60448201526064016107c0565b5f610813610c92565b60200151905090565b5f61082f6001546001600160a01b031690565b604051632f2a35f760e11b81523060048201526001600160a01b039190911690635e546bee90602401602060405180830381865afa158015610873573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906108979190611c42565b6040516330b8415f60e01b81526001600160601b03909116600482015273__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af41580156108ee573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906107699190611cca565b61091a610b2c565b6001600160a01b0316336001600160a01b03161461094d5760405163086391f760e31b81523360048201526024016107c0565b61095782826111a0565b5050565b5f610964610c92565b60400151905090565b61097633610535565b50565b5f61098261081c565b15610a06576001546001600160a01b03166040516308b09a5f60e41b81523060048201526001600160a01b039190911690638b09a5f0906024015f60405180830381865afa1580156109d6573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526109fd9190810190611d50565b60600151905090565b507fffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f0154600160a01b900460ff1690565b604051632392b61b60e21b8152600360048201525f9073__$b659da7d8a6d2d32aa6c1e17da23dc2174$__90638e4ad86c90602401602060405180830381865af4158015610a86573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906107699190611e20565b33610ab3610e07565b6001600160a01b0316816001600160a01b031614610aee5760405162d1953b60e31b81526001600160a01b03821660048201526024016107c0565b816001600160a01b03163b5f03610b23576040516361798f2f60e11b81526001600160a01b03831660048201526024016107c0565b61095782611227565b5f805f8051602061200c83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015610b98573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610bbc9190611cca565b15610c47576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015610c1d573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610c419190611ca0565b91505090565b54600160601b90046001600160a01b0316919050565b5f8051602061202c83398151915280545f9190600160a01b900460ff16610c84575f610c41565b638fb3603760e01b91505090565b610c9a611794565b610ca261081c565b15610caf57610769611287565b610769610df7565b610cbf610b2c565b6001600160a01b0316336001600160a01b031614610cf25760405163086391f760e31b81523360048201526024016107c0565b610cfc600a61146d565b60405163581e954760e11b81525f60048201526001600160a01b03919091169063b03d2a8e906024015b5f604051808303815f87803b158015610d3d575f80fd5b505af1158015610d4f573d5f803e3d5ffd5b50505050565b6001546001600160a01b03166001600160a01b031663120726c36040518163ffffffff1660e01b8152600401602060405180830381865afa158015610d9c573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610dc09190611ca0565b6001600160a01b0316336001600160a01b031614610df25760405162f0630960e01b81523360048201526024016107c0565b610d4f565b610dff611794565b610769611287565b5f8051602061202c833981519152546001600160a01b031690565b610e2b33610535565b6109578282611504565b610e3d610b2c565b6001600160a01b0316336001600160a01b031614610e705760405163086391f760e31b81523360048201526024016107c0565b610e7a600a61146d565b60405163581e954760e11b8152600160048201526001600160a01b03919091169063b03d2a8e90602401610d26565b5f8051602061202c8339815191525f80610ee1610ec4610e07565b8730610ed360045f8a8c611e3b565b610edc91611e62565b61159a565b9150915081610f9f5763ffffffff811615610f7c57825460ff60a01b1916600160a01b178355610f0f610e07565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b8152600401610f3e93929190611e9a565b5f604051808303815f87803b158015610f55575f80fd5b505af1158015610f67573d5f803e3d5ffd5b5050845460ff60a01b1916855550610f9f9050565b60405162d1953b60e31b81526001600160a01b03871660048201526024016107c0565b505050505050565b5f805f8051602061200c83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015611013573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906110379190611cca565b156110635780546040516301ab8b6760e21b81526001600160601b0390911660048201526024016107c0565b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038581166004830152919091169063c3c5a54790602401602060405180830381865afa1580156110b5573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906110d99190611cca565b6111015760405163b9304b0d60e01b81526001600160a01b03841660048201526024016107c0565b6001546001600160a01b0316604051632f2a35f760e11b81526001600160a01b0385811660048301529190911690635e546bee90602401602060405180830381865afa158015611153573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906111779190611c42565b81546bffffffffffffffffffffffff19166001600160601b039190911690811790915592915050565b7fffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f00600301546040516320c8cbff60e11b81526001600160a01b0384811660048301526001600160601b03841660248301529091169063419197fe906044015f604051808303815f87803b158015611215575f80fd5b505af1158015610f9f573d5f803e3d5ffd5b5f8051602061202c83398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b61128f611794565b5f6112a26001546001600160a01b031690565b604051632f2a35f760e11b81523060048201526001600160a01b039190911690635e546bee90602401602060405180830381865afa1580156112e6573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061130a9190611c42565b6040516330b8415f60e01b81526001600160601b038216600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015611363573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906113879190611cca565b15611465577fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f01546001600160a01b03166001600160a01b031663f0ea17c36113e35f8051602061200c833981519152546001600160601b031690565b6040516001600160e01b031960e084901b1681526001600160601b0390911660048201526024015f60405180830381865afa158015611424573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f1916820160405261144b9190810190611ed9565b60408101519092506001600160a01b031615611465575090565b610c416116a2565b5f6114806001546001600160a01b031690565b6001600160a01b031663d39e604383611497610a36565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa1580156114da573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906114fe9190611ca0565b92915050565b7faab7c0ea03d290e56d6c060e0733d3ebcbe647f7694616a2ec52738a64b2f901546040516367a773bd60e11b81526001600160a01b039091169063cf4ee77a906115559085908590600401611fa2565b6020604051808303815f875af1158015611571573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906115959190611cca565b505050565b6040516001600160a01b03848116602483015283811660448301526001600160e01b0319831660648301525f9182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b179052516116089190611fc3565b5f60405180830381855afa9150503d805f8114611640576040519150601f19603f3d011682016040523d82523d5f602084013e611645565b606091505b50915091508115611697576040815110611677578080602001905181019061166d9190611fd9565b9094509250611697565b602081511061169757808060200190518101906116949190611cca565b93505b505094509492505050565b6116aa611794565b5f7fffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f0090506040518060800160405280825f0180546116e790611c5d565b80601f016020809104026020016040519081016040528092919081815260200182805461171390611c5d565b801561175e5780601f106117355761010080835404028352916020019161175e565b820191905f5260205f20905b81548152906001019060200180831161174157829003601f168201915b505050918352505060018301546001600160a01b031660208201525f604082015260028301805460609092019161067c90611c5d565b6040518060800160405280606081526020015f6001600160a01b031681526020015f6001600160a01b03168152602001606081525090565b5f602082840312156117dc575f80fd5b81356001600160e01b0319811681146117f3575f80fd5b9392505050565b80356001600160401b0381168114611810575f80fd5b919050565b6001600160601b0381168114610976575f80fd5b5f805f805f6080868803121561183d575f80fd5b611846866117fa565b9450602086013561185681611815565b935060408601356001600160401b03811115611870575f80fd5b8601601f81018813611880575f80fd5b80356001600160401b03811115611895575f80fd5b8860208284010111156118a6575f80fd5b60209190910193509150606086013564ffffffffff811681146118c7575f80fd5b809150509295509295909350565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081526001600160601b0382511660208201526001600160601b03602083015116604082015260ff60408301511660608201525f606083015161194b608084018215159052565b5060808301516001600160a01b03811660a08401525060a08301516001600160a01b03811660c08401525060c083015160e08084015261198f6101008401826118d5565b949350505050565b602081525f6117f360208301846118d5565b5f602082840312156119b9575f80fd5b81356117f381611815565b6001600160a01b0381168114610976575f80fd5b5f80604083850312156119e9575f80fd5b82356119f4816119c4565b91506020830135611a0481611815565b809150509250929050565b5f60208284031215611a1f575f80fd5b6117f3826117fa565b5f60208284031215611a38575f80fd5b81356117f3816119c4565b602081525f825160806020840152611a5e60a08401826118d5565b60208501516001600160a01b0390811660408681019190915286015116606080860191909152850151848203601f19016080860152909150611aa082826118d5565b95945050505050565b5f805f8060808587031215611abc575f80fd5b8435611ac7816119c4565b93506020850135611ad7816119c4565b9250604085013591506060850135611aee816119c4565b939692955090935050565b634e487b7160e01b5f52604160045260245ffd5b60405160e081016001600160401b0381118282101715611b2f57611b2f611af9565b60405290565b604051608081016001600160401b0381118282101715611b2f57611b2f611af9565b604051601f8201601f191681016001600160401b0381118282101715611b7f57611b7f611af9565b604052919050565b5f6001600160401b03821115611b9f57611b9f611af9565b50601f01601f191660200190565b5f8060408385031215611bbe575f80fd5b611bc7836117fa565b915060208301356001600160401b03811115611be1575f80fd5b8301601f81018513611bf1575f80fd5b8035611c04611bff82611b87565b611b57565b818152866020838501011115611c18575f80fd5b816020840160208301375f602083830101528093505050509250929050565b805161181081611815565b5f60208284031215611c52575f80fd5b81516117f381611815565b600181811c90821680611c7157607f821691505b602082108103611c8f57634e487b7160e01b5f52602260045260245ffd5b50919050565b8051611810816119c4565b5f60208284031215611cb0575f80fd5b81516117f3816119c4565b80518015158114611810575f80fd5b5f60208284031215611cda575f80fd5b6117f382611cbb565b60ff81168114610976575f80fd5b805161181081611ce3565b5f611d09611bff84611b87565b9050828152838383011115611d1c575f80fd5b8282602083015e5f602084830101529392505050565b5f82601f830112611d41575f80fd5b6117f383835160208501611cfc565b5f60208284031215611d60575f80fd5b81516001600160401b03811115611d75575f80fd5b820160e08185031215611d86575f80fd5b611d8e611b0d565b611d9782611c37565b8152611da560208301611c37565b6020820152611db660408301611cf1565b6040820152611dc760608301611cbb565b6060820152611dd860808301611c95565b6080820152611de960a08301611c95565b60a082015260c08201516001600160401b03811115611e06575f80fd5b611e1286828501611d32565b60c083015250949350505050565b5f60208284031215611e30575f80fd5b81516117f381611ce3565b5f8085851115611e49575f80fd5b83861115611e55575f80fd5b5050820193919092039150565b80356001600160e01b03198116906004841015611e93576001600160e01b0319600485900360031b81901b82161691505b5092915050565b6001600160a01b03841681526040602082018190528101829052818360608301375f818301606090810191909152601f909201601f1916010192915050565b5f60208284031215611ee9575f80fd5b81516001600160401b03811115611efe575f80fd5b820160808185031215611f0f575f80fd5b611f17611b35565b81516001600160401b03811115611f2c575f80fd5b8201601f81018613611f3c575f80fd5b611f4b86825160208401611cfc565b825250611f5a60208301611c95565b6020820152611f6b60408301611c95565b604082015260608201516001600160401b03811115611f88575f80fd5b611f9486828501611d32565b606083015250949350505050565b6001600160401b0383168152604060208201525f61198f60408301846118d5565b5f82518060208501845e5f920191825250919050565b5f8060408385031215611fea575f80fd5b611ff383611cbb565b9150602083015163ffffffff81168114611a04575f80fdfe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00a264697066735822122077c57abaa29bccfb2522064fbfc4967a2fc71fe5f5eb4c0e3a7e1dd0ed399c1b64736f6c634300081a0033",
877
+ "bytecode": "0x6080604052348015600e575f80fd5b50611ecf8061001c5f395ff3fe608060405234801561000f575f80fd5b50600436106101f2575f3560e01c80635741e5e9116101145780638fb36037116100a9578063b423086c11610079578063b423086c14610499578063bf7e214f146104a1578063cf4ee77a146104a9578063de7b5d14146104bc578063ea15869f146104ec575f80fd5b80638fb360371461043c57806390edbd351461045d578063ad12ad6014610472578063ada9652e14610485575f80fd5b806376b707b7116100e457806376b707b7146104015780637a9e5e4b1461041b57806387ef9ba01461042e578063893d20e814610434575f80fd5b80635741e5e91461039b5780635ab1bd53146103a3578063644c45e0146103b45780636bd1c0eb146103d1575f80fd5b80631eff4b221161018a5780632eb3e6f41161015a5780632eb3e6f41461033257806343d752d3146103595780634bd100e4146103615780634c125e7914610388575f80fd5b80631eff4b22146102e557806321df0da71461031a578063223668441461032257806322f3e2d41461032a575f80fd5b806313299604116101c5578063132996041461027d578063138461e01461029d57806317d7de7c146102bd5780631c6b2190146102d2575f80fd5b806301ffc9a7146101f65780630b29e28e146102375780630d8e6e2c1461024c5780630fec111c14610268575b5f80fd5b610222610204366004611683565b6001600160e01b0319165f9081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b61024a6102453660046116e0565b610513565b005b610254610526565b60405162ffffff909116815260200161022e565b6102706105ad565b60405161022e91906117ba565b610285610767565b6040516001600160a01b03909116815260200161022e565b6102a56107cf565b6040516001600160601b03909116815260200161022e565b6102c56107d9565b60405161022e919061184e565b6102a56102e0366004611860565b6107e9565b61030c7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b60405190815260200161022e565b61028561086b565b6102226108af565b6102226109a5565b61030c7fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f0081565b610285610a1c565b61030c7faab7c0ea03d290e56d6c060e0733d3ebcbe647f7694616a2ec52738a64b2f90081565b61024a61039636600461187b565b610a2e565b610222610a3a565b6001546001600160a01b0316610285565b5f80516020611e5a833981519152546001600160601b03166102a5565b7fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f02546001600160a01b0316610285565b610409610af0565b60405160ff909116815260200161022e565b61024a6104293660046118a8565b610b58565b5f610222565b610285610bde565b610444610d0f565b6040516001600160e01b0319909116815260200161022e565b610465610d44565b60405161022e91906118c3565b61024a6104803660046118ff565b610d75565b61030c5f80516020611e5a83398151915281565b610465610e18565b610285610e34565b61024a6104b7366004611a03565b610e4f565b7fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f00546001600160a01b0316610285565b61030c7fffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f0081565b61051f335b5f36610e62565b5050505050565b604051632efe011360e01b8152600160048201525f60248201819052604482018190529073__$8eede297b65ed5a56eb3f84d8232ae93f5$__90632efe011390606401602060405180830381865af4158015610584573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906105a89190611a8d565b905090565b6040805160e0810182525f8082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820152907f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e0016040528073__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015610659573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061067d9190611aba565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a0016106c5610bde565b6001600160a01b031681526020018260010180546106e290611ad5565b80601f016020809104026020016040519081016040528092919081815260200182805461070e90611ad5565b80156107595780601f1061073057610100808354040283529160200191610759565b820191905f5260205f20905b81548152906001019060200180831161073c57829003601f168201915b505050505081525091505090565b5f610770610a1c565b6001600160a01b031663132996046040518163ffffffff1660e01b8152600401602060405180830381865afa1580156107ab573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906105a89190611b18565b5f6105a830610f60565b60606107e3610d44565b51919050565b5f6107f2610bde565b6001600160a01b0316336001600160a01b03161461082a5760405163086391f760e31b81523360048201526024015b60405180910390fd5b61083333610518565b60405163ca49882f60e01b815260206004820152600c60248201526b77697468647261774665657360a01b6044820152606401610821565b5f610874610a1c565b6001600160a01b03166382bfefc86040518163ffffffff1660e01b8152600401602060405180830381865afa1580156107ab573d5f803e3d5ffd5b5f6108c26001546001600160a01b031690565b604051632f2a35f760e11b81523060048201526001600160a01b039190911690635e546bee90602401602060405180830381865afa158015610906573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061092a9190611aba565b6040516330b8415f60e01b81526001600160601b03909116600482015273__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015610981573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906105a89190611b42565b5f6109ae610e34565b60405163a166aa8960e01b81523060048201526001600160a01b03919091169063a166aa8990602401602060405180830381865afa1580156109f2573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610a169190611b42565b15905090565b5f610a25610d44565b60200151905090565b610a3733610518565b50565b5f610a436108af565b15610ac7576001546001600160a01b03166040516308b09a5f60e41b81523060048201526001600160a01b039190911690638b09a5f0906024015f60405180830381865afa158015610a97573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052610abe9190810190611bc8565b60600151905090565b507fffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f015460ff1690565b5f610af9610e34565b6001600160a01b03166376b707b76040518163ffffffff1660e01b8152600401602060405180830381865afa158015610b34573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906105a89190611c98565b33610b61610e34565b6001600160a01b0316816001600160a01b031614610b9c5760405162d1953b60e31b81526001600160a01b0382166004820152602401610821565b816001600160a01b03163b5f03610bd1576040516361798f2f60e11b81526001600160a01b0383166004820152602401610821565b610bda826111b6565b5050565b5f805f80516020611e5a83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015610c4a573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610c6e9190611b42565b15610cf9576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015610ccf573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610cf39190611b18565b91505090565b54600160601b90046001600160a01b0316919050565b5f80516020611e7a83398151915280545f9190600160a01b900460ff16610d36575f610cf3565b638fb3603760e01b91505090565b60408051808201909152606081525f6020820152610d606108af565b15610d6d576105a8611216565b6105a8610e18565b6001546001600160a01b03166001600160a01b031663120726c36040518163ffffffff1660e01b8152600401602060405180830381865afa158015610dbc573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610de09190611b18565b6001600160a01b0316336001600160a01b031614610e125760405162f0630960e01b8152336004820152602401610821565b50505050565b60408051808201909152606081525f60208201526105a8611216565b5f80516020611e7a833981519152546001600160a01b031690565b610e5833610518565b610bda8282611408565b5f80516020611e7a8339815191525f80610e9a610e7d610e34565b8730610e8c60045f8a8c611cb3565b610e9591611cda565b61149e565b9150915081610f585763ffffffff811615610f3557825460ff60a01b1916600160a01b178355610ec8610e34565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b8152600401610ef793929190611d12565b5f604051808303815f87803b158015610f0e575f80fd5b505af1158015610f20573d5f803e3d5ffd5b5050845460ff60a01b1916855550610f589050565b60405162d1953b60e31b81526001600160a01b0387166004820152602401610821565b505050505050565b5f805f80516020611e5a83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015610fcc573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610ff09190611b42565b1561101c5780546040516301ab8b6760e21b81526001600160601b039091166004820152602401610821565b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038581166004830152919091169063c3c5a54790602401602060405180830381865afa15801561106e573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906110929190611b42565b6110ba5760405163b9304b0d60e01b81526001600160a01b0384166004820152602401610821565b6001546001600160a01b0316604051632f2a35f760e11b81526001600160a01b0385811660048301529190911690635e546bee90602401602060405180830381865afa15801561110c573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906111309190611aba565b81546bffffffffffffffffffffffff19166001600160601b039190911690811782557f88857b75cbef7f257c9d5a473e28aaf6a91cc28f717f60f2cda3bcf5623d7b549061117c610bde565b604080516001600160601b0390931683526001600160a01b0390911660208301520160405180910390a1546001600160601b031692915050565b5f80516020611e7a83398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b60408051808201909152606081525f60208201525f61123d6001546001600160a01b031690565b604051632f2a35f760e11b81523060048201526001600160a01b039190911690635e546bee90602401602060405180830381865afa158015611281573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906112a59190611aba565b6040516330b8415f60e01b81526001600160601b038216600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af41580156112fe573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906113229190611b42565b15611400577fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f01546001600160a01b03166001600160a01b031663f0ea17c361137e5f80516020611e5a833981519152546001600160601b031690565b6040516001600160e01b031960e084901b1681526001600160601b0390911660048201526024015f60405180830381865afa1580156113bf573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526113e69190810190611d51565b60208101519092506001600160a01b031615611400575090565b610cf36115a6565b7faab7c0ea03d290e56d6c060e0733d3ebcbe647f7694616a2ec52738a64b2f901546040516367a773bd60e11b81526001600160a01b039091169063cf4ee77a906114599085908590600401611de5565b6020604051808303815f875af1158015611475573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906114999190611b42565b505050565b6040516001600160a01b03848116602483015283811660448301526001600160e01b0319831660648301525f9182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b1790525161150c9190611e06565b5f60405180830381855afa9150503d805f8114611544576040519150601f19603f3d011682016040523d82523d5f602084013e611549565b606091505b5091509150811561159b57604081511061157b57808060200190518101906115719190611e1c565b909450925061159b565b602081511061159b57808060200190518101906115989190611b42565b93505b505094509492505050565b60408051808201909152606081525f60208201525f7fffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f0090506040518060400160405280825f0180546115f790611ad5565b80601f016020809104026020016040519081016040528092919081815260200182805461162390611ad5565b801561166e5780601f106116455761010080835404028352916020019161166e565b820191905f5260205f20905b81548152906001019060200180831161165157829003601f168201915b50505091835250505f60209091015292915050565b5f60208284031215611693575f80fd5b81356001600160e01b0319811681146116aa575f80fd5b9392505050565b80356001600160401b03811681146116c7575f80fd5b919050565b6001600160601b0381168114610a37575f80fd5b5f805f805f608086880312156116f4575f80fd5b6116fd866116b1565b9450602086013561170d816116cc565b935060408601356001600160401b03811115611727575f80fd5b8601601f81018813611737575f80fd5b80356001600160401b0381111561174c575f80fd5b88602082840101111561175d575f80fd5b60209190910193509150606086013564ffffffffff8116811461177e575f80fd5b809150509295509295909350565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081526001600160601b0382511660208201526001600160601b03602083015116604082015260ff60408301511660608201525f6060830151611802608084018215159052565b5060808301516001600160a01b03811660a08401525060a08301516001600160a01b03811660c08401525060c083015160e08084015261184661010084018261178c565b949350505050565b602081525f6116aa602083018461178c565b5f60208284031215611870575f80fd5b81356116aa816116cc565b5f6020828403121561188b575f80fd5b6116aa826116b1565b6001600160a01b0381168114610a37575f80fd5b5f602082840312156118b8575f80fd5b81356116aa81611894565b602081525f8251604060208401526118de606084018261178c565b602094909401516001600160a01b0316604093909301929092525090919050565b5f805f8060808587031215611912575f80fd5b843561191d81611894565b9350602085013561192d81611894565b925060408501359150606085013561194481611894565b939692955090935050565b634e487b7160e01b5f52604160045260245ffd5b60405160e081016001600160401b03811182821017156119855761198561194f565b60405290565b604080519081016001600160401b03811182821017156119855761198561194f565b604051601f8201601f191681016001600160401b03811182821017156119d5576119d561194f565b604052919050565b5f6001600160401b038211156119f5576119f561194f565b50601f01601f191660200190565b5f8060408385031215611a14575f80fd5b611a1d836116b1565b915060208301356001600160401b03811115611a37575f80fd5b8301601f81018513611a47575f80fd5b8035611a5a611a55826119dd565b6119ad565b818152866020838501011115611a6e575f80fd5b816020840160208301375f602083830101528093505050509250929050565b5f60208284031215611a9d575f80fd5b815162ffffff811681146116aa575f80fd5b80516116c7816116cc565b5f60208284031215611aca575f80fd5b81516116aa816116cc565b600181811c90821680611ae957607f821691505b602082108103611b0757634e487b7160e01b5f52602260045260245ffd5b50919050565b80516116c781611894565b5f60208284031215611b28575f80fd5b81516116aa81611894565b805180151581146116c7575f80fd5b5f60208284031215611b52575f80fd5b6116aa82611b33565b60ff81168114610a37575f80fd5b80516116c781611b5b565b5f611b81611a55846119dd565b9050828152838383011115611b94575f80fd5b8282602083015e5f602084830101529392505050565b5f82601f830112611bb9575f80fd5b6116aa83835160208501611b74565b5f60208284031215611bd8575f80fd5b81516001600160401b03811115611bed575f80fd5b820160e08185031215611bfe575f80fd5b611c06611963565b611c0f82611aaf565b8152611c1d60208301611aaf565b6020820152611c2e60408301611b69565b6040820152611c3f60608301611b33565b6060820152611c5060808301611b0d565b6080820152611c6160a08301611b0d565b60a082015260c08201516001600160401b03811115611c7e575f80fd5b611c8a86828501611baa565b60c083015250949350505050565b5f60208284031215611ca8575f80fd5b81516116aa81611b5b565b5f8085851115611cc1575f80fd5b83861115611ccd575f80fd5b5050820193919092039150565b80356001600160e01b03198116906004841015611d0b576001600160e01b0319600485900360031b81901b82161691505b5092915050565b6001600160a01b03841681526040602082018190528101829052818360608301375f818301606090810191909152601f909201601f1916010192915050565b5f60208284031215611d61575f80fd5b81516001600160401b03811115611d76575f80fd5b820160408185031215611d87575f80fd5b611d8f61198b565b81516001600160401b03811115611da4575f80fd5b8201601f81018613611db4575f80fd5b611dc386825160208401611b74565b82525060208201519150611dd682611894565b60208101919091529392505050565b6001600160401b0383168152604060208201525f611846604083018461178c565b5f82518060208501845e5f920191825250919050565b5f8060408385031215611e2d575f80fd5b611e3683611b33565b9150602083015163ffffffff81168114611e4e575f80fd5b80915050925092905056fe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00a2646970667358221220473feec45c9ecf467eb57fa20206e6900082032ccfce9e85aa8261abecdb3a0364736f6c634300081a0033",
878
+ "deployedBytecode": "0x608060405234801561000f575f80fd5b50600436106101f2575f3560e01c80635741e5e9116101145780638fb36037116100a9578063b423086c11610079578063b423086c14610499578063bf7e214f146104a1578063cf4ee77a146104a9578063de7b5d14146104bc578063ea15869f146104ec575f80fd5b80638fb360371461043c57806390edbd351461045d578063ad12ad6014610472578063ada9652e14610485575f80fd5b806376b707b7116100e457806376b707b7146104015780637a9e5e4b1461041b57806387ef9ba01461042e578063893d20e814610434575f80fd5b80635741e5e91461039b5780635ab1bd53146103a3578063644c45e0146103b45780636bd1c0eb146103d1575f80fd5b80631eff4b221161018a5780632eb3e6f41161015a5780632eb3e6f41461033257806343d752d3146103595780634bd100e4146103615780634c125e7914610388575f80fd5b80631eff4b22146102e557806321df0da71461031a578063223668441461032257806322f3e2d41461032a575f80fd5b806313299604116101c5578063132996041461027d578063138461e01461029d57806317d7de7c146102bd5780631c6b2190146102d2575f80fd5b806301ffc9a7146101f65780630b29e28e146102375780630d8e6e2c1461024c5780630fec111c14610268575b5f80fd5b610222610204366004611683565b6001600160e01b0319165f9081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b61024a6102453660046116e0565b610513565b005b610254610526565b60405162ffffff909116815260200161022e565b6102706105ad565b60405161022e91906117ba565b610285610767565b6040516001600160a01b03909116815260200161022e565b6102a56107cf565b6040516001600160601b03909116815260200161022e565b6102c56107d9565b60405161022e919061184e565b6102a56102e0366004611860565b6107e9565b61030c7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b60405190815260200161022e565b61028561086b565b6102226108af565b6102226109a5565b61030c7fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f0081565b610285610a1c565b61030c7faab7c0ea03d290e56d6c060e0733d3ebcbe647f7694616a2ec52738a64b2f90081565b61024a61039636600461187b565b610a2e565b610222610a3a565b6001546001600160a01b0316610285565b5f80516020611e5a833981519152546001600160601b03166102a5565b7fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f02546001600160a01b0316610285565b610409610af0565b60405160ff909116815260200161022e565b61024a6104293660046118a8565b610b58565b5f610222565b610285610bde565b610444610d0f565b6040516001600160e01b0319909116815260200161022e565b610465610d44565b60405161022e91906118c3565b61024a6104803660046118ff565b610d75565b61030c5f80516020611e5a83398151915281565b610465610e18565b610285610e34565b61024a6104b7366004611a03565b610e4f565b7fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f00546001600160a01b0316610285565b61030c7fffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f0081565b61051f335b5f36610e62565b5050505050565b604051632efe011360e01b8152600160048201525f60248201819052604482018190529073__$8eede297b65ed5a56eb3f84d8232ae93f5$__90632efe011390606401602060405180830381865af4158015610584573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906105a89190611a8d565b905090565b6040805160e0810182525f8082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820152907f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e0016040528073__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015610659573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061067d9190611aba565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a0016106c5610bde565b6001600160a01b031681526020018260010180546106e290611ad5565b80601f016020809104026020016040519081016040528092919081815260200182805461070e90611ad5565b80156107595780601f1061073057610100808354040283529160200191610759565b820191905f5260205f20905b81548152906001019060200180831161073c57829003601f168201915b505050505081525091505090565b5f610770610a1c565b6001600160a01b031663132996046040518163ffffffff1660e01b8152600401602060405180830381865afa1580156107ab573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906105a89190611b18565b5f6105a830610f60565b60606107e3610d44565b51919050565b5f6107f2610bde565b6001600160a01b0316336001600160a01b03161461082a5760405163086391f760e31b81523360048201526024015b60405180910390fd5b61083333610518565b60405163ca49882f60e01b815260206004820152600c60248201526b77697468647261774665657360a01b6044820152606401610821565b5f610874610a1c565b6001600160a01b03166382bfefc86040518163ffffffff1660e01b8152600401602060405180830381865afa1580156107ab573d5f803e3d5ffd5b5f6108c26001546001600160a01b031690565b604051632f2a35f760e11b81523060048201526001600160a01b039190911690635e546bee90602401602060405180830381865afa158015610906573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061092a9190611aba565b6040516330b8415f60e01b81526001600160601b03909116600482015273__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015610981573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906105a89190611b42565b5f6109ae610e34565b60405163a166aa8960e01b81523060048201526001600160a01b03919091169063a166aa8990602401602060405180830381865afa1580156109f2573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610a169190611b42565b15905090565b5f610a25610d44565b60200151905090565b610a3733610518565b50565b5f610a436108af565b15610ac7576001546001600160a01b03166040516308b09a5f60e41b81523060048201526001600160a01b039190911690638b09a5f0906024015f60405180830381865afa158015610a97573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052610abe9190810190611bc8565b60600151905090565b507fffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f015460ff1690565b5f610af9610e34565b6001600160a01b03166376b707b76040518163ffffffff1660e01b8152600401602060405180830381865afa158015610b34573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906105a89190611c98565b33610b61610e34565b6001600160a01b0316816001600160a01b031614610b9c5760405162d1953b60e31b81526001600160a01b0382166004820152602401610821565b816001600160a01b03163b5f03610bd1576040516361798f2f60e11b81526001600160a01b0383166004820152602401610821565b610bda826111b6565b5050565b5f805f80516020611e5a83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015610c4a573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610c6e9190611b42565b15610cf9576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015610ccf573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610cf39190611b18565b91505090565b54600160601b90046001600160a01b0316919050565b5f80516020611e7a83398151915280545f9190600160a01b900460ff16610d36575f610cf3565b638fb3603760e01b91505090565b60408051808201909152606081525f6020820152610d606108af565b15610d6d576105a8611216565b6105a8610e18565b6001546001600160a01b03166001600160a01b031663120726c36040518163ffffffff1660e01b8152600401602060405180830381865afa158015610dbc573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610de09190611b18565b6001600160a01b0316336001600160a01b031614610e125760405162f0630960e01b8152336004820152602401610821565b50505050565b60408051808201909152606081525f60208201526105a8611216565b5f80516020611e7a833981519152546001600160a01b031690565b610e5833610518565b610bda8282611408565b5f80516020611e7a8339815191525f80610e9a610e7d610e34565b8730610e8c60045f8a8c611cb3565b610e9591611cda565b61149e565b9150915081610f585763ffffffff811615610f3557825460ff60a01b1916600160a01b178355610ec8610e34565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b8152600401610ef793929190611d12565b5f604051808303815f87803b158015610f0e575f80fd5b505af1158015610f20573d5f803e3d5ffd5b5050845460ff60a01b1916855550610f589050565b60405162d1953b60e31b81526001600160a01b0387166004820152602401610821565b505050505050565b5f805f80516020611e5a83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015610fcc573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610ff09190611b42565b1561101c5780546040516301ab8b6760e21b81526001600160601b039091166004820152602401610821565b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038581166004830152919091169063c3c5a54790602401602060405180830381865afa15801561106e573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906110929190611b42565b6110ba5760405163b9304b0d60e01b81526001600160a01b0384166004820152602401610821565b6001546001600160a01b0316604051632f2a35f760e11b81526001600160a01b0385811660048301529190911690635e546bee90602401602060405180830381865afa15801561110c573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906111309190611aba565b81546bffffffffffffffffffffffff19166001600160601b039190911690811782557f88857b75cbef7f257c9d5a473e28aaf6a91cc28f717f60f2cda3bcf5623d7b549061117c610bde565b604080516001600160601b0390931683526001600160a01b0390911660208301520160405180910390a1546001600160601b031692915050565b5f80516020611e7a83398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b60408051808201909152606081525f60208201525f61123d6001546001600160a01b031690565b604051632f2a35f760e11b81523060048201526001600160a01b039190911690635e546bee90602401602060405180830381865afa158015611281573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906112a59190611aba565b6040516330b8415f60e01b81526001600160601b038216600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af41580156112fe573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906113229190611b42565b15611400577fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f01546001600160a01b03166001600160a01b031663f0ea17c361137e5f80516020611e5a833981519152546001600160601b031690565b6040516001600160e01b031960e084901b1681526001600160601b0390911660048201526024015f60405180830381865afa1580156113bf573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526113e69190810190611d51565b60208101519092506001600160a01b031615611400575090565b610cf36115a6565b7faab7c0ea03d290e56d6c060e0733d3ebcbe647f7694616a2ec52738a64b2f901546040516367a773bd60e11b81526001600160a01b039091169063cf4ee77a906114599085908590600401611de5565b6020604051808303815f875af1158015611475573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906114999190611b42565b505050565b6040516001600160a01b03848116602483015283811660448301526001600160e01b0319831660648301525f9182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b1790525161150c9190611e06565b5f60405180830381855afa9150503d805f8114611544576040519150601f19603f3d011682016040523d82523d5f602084013e611549565b606091505b5091509150811561159b57604081511061157b57808060200190518101906115719190611e1c565b909450925061159b565b602081511061159b57808060200190518101906115989190611b42565b93505b505094509492505050565b60408051808201909152606081525f60208201525f7fffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f0090506040518060400160405280825f0180546115f790611ad5565b80601f016020809104026020016040519081016040528092919081815260200182805461162390611ad5565b801561166e5780601f106116455761010080835404028352916020019161166e565b820191905f5260205f20905b81548152906001019060200180831161165157829003601f168201915b50505091835250505f60209091015292915050565b5f60208284031215611693575f80fd5b81356001600160e01b0319811681146116aa575f80fd5b9392505050565b80356001600160401b03811681146116c7575f80fd5b919050565b6001600160601b0381168114610a37575f80fd5b5f805f805f608086880312156116f4575f80fd5b6116fd866116b1565b9450602086013561170d816116cc565b935060408601356001600160401b03811115611727575f80fd5b8601601f81018813611737575f80fd5b80356001600160401b0381111561174c575f80fd5b88602082840101111561175d575f80fd5b60209190910193509150606086013564ffffffffff8116811461177e575f80fd5b809150509295509295909350565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081526001600160601b0382511660208201526001600160601b03602083015116604082015260ff60408301511660608201525f6060830151611802608084018215159052565b5060808301516001600160a01b03811660a08401525060a08301516001600160a01b03811660c08401525060c083015160e08084015261184661010084018261178c565b949350505050565b602081525f6116aa602083018461178c565b5f60208284031215611870575f80fd5b81356116aa816116cc565b5f6020828403121561188b575f80fd5b6116aa826116b1565b6001600160a01b0381168114610a37575f80fd5b5f602082840312156118b8575f80fd5b81356116aa81611894565b602081525f8251604060208401526118de606084018261178c565b602094909401516001600160a01b0316604093909301929092525090919050565b5f805f8060808587031215611912575f80fd5b843561191d81611894565b9350602085013561192d81611894565b925060408501359150606085013561194481611894565b939692955090935050565b634e487b7160e01b5f52604160045260245ffd5b60405160e081016001600160401b03811182821017156119855761198561194f565b60405290565b604080519081016001600160401b03811182821017156119855761198561194f565b604051601f8201601f191681016001600160401b03811182821017156119d5576119d561194f565b604052919050565b5f6001600160401b038211156119f5576119f561194f565b50601f01601f191660200190565b5f8060408385031215611a14575f80fd5b611a1d836116b1565b915060208301356001600160401b03811115611a37575f80fd5b8301601f81018513611a47575f80fd5b8035611a5a611a55826119dd565b6119ad565b818152866020838501011115611a6e575f80fd5b816020840160208301375f602083830101528093505050509250929050565b5f60208284031215611a9d575f80fd5b815162ffffff811681146116aa575f80fd5b80516116c7816116cc565b5f60208284031215611aca575f80fd5b81516116aa816116cc565b600181811c90821680611ae957607f821691505b602082108103611b0757634e487b7160e01b5f52602260045260245ffd5b50919050565b80516116c781611894565b5f60208284031215611b28575f80fd5b81516116aa81611894565b805180151581146116c7575f80fd5b5f60208284031215611b52575f80fd5b6116aa82611b33565b60ff81168114610a37575f80fd5b80516116c781611b5b565b5f611b81611a55846119dd565b9050828152838383011115611b94575f80fd5b8282602083015e5f602084830101529392505050565b5f82601f830112611bb9575f80fd5b6116aa83835160208501611b74565b5f60208284031215611bd8575f80fd5b81516001600160401b03811115611bed575f80fd5b820160e08185031215611bfe575f80fd5b611c06611963565b611c0f82611aaf565b8152611c1d60208301611aaf565b6020820152611c2e60408301611b69565b6040820152611c3f60608301611b33565b6060820152611c5060808301611b0d565b6080820152611c6160a08301611b0d565b60a082015260c08201516001600160401b03811115611c7e575f80fd5b611c8a86828501611baa565b60c083015250949350505050565b5f60208284031215611ca8575f80fd5b81516116aa81611b5b565b5f8085851115611cc1575f80fd5b83861115611ccd575f80fd5b5050820193919092039150565b80356001600160e01b03198116906004841015611d0b576001600160e01b0319600485900360031b81901b82161691505b5092915050565b6001600160a01b03841681526040602082018190528101829052818360608301375f818301606090810191909152601f909201601f1916010192915050565b5f60208284031215611d61575f80fd5b81516001600160401b03811115611d76575f80fd5b820160408185031215611d87575f80fd5b611d8f61198b565b81516001600160401b03811115611da4575f80fd5b8201601f81018613611db4575f80fd5b611dc386825160208401611b74565b82525060208201519150611dd682611894565b60208101919091529392505050565b6001600160401b0383168152604060208201525f611846604083018461178c565b5f82518060208501845e5f920191825250919050565b5f8060408385031215611e2d575f80fd5b611e3683611b33565b9150602083015163ffffffff81168114611e4e575f80fd5b80915050925092905056fe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00a2646970667358221220473feec45c9ecf467eb57fa20206e6900082032ccfce9e85aa8261abecdb3a0364736f6c634300081a0033",
893
879
  "linkReferences": {
894
880
  "contracts/type/NftId.sol": {
895
881
  "NftIdLib": [
896
882
  {
897
883
  "length": 20,
898
- "start": 1482
884
+ "start": 1584
899
885
  },
900
886
  {
901
887
  "length": 20,
902
- "start": 2258
888
+ "start": 2405
903
889
  },
904
890
  {
905
891
  "length": 20,
906
- "start": 2940
892
+ "start": 3118
907
893
  },
908
894
  {
909
895
  "length": 20,
910
- "start": 4087
896
+ "start": 4016
911
897
  },
912
898
  {
913
899
  "length": 20,
914
- "start": 4935
900
+ "start": 4834
915
901
  }
916
902
  ]
917
903
  },
918
904
  "contracts/type/Version.sol": {
919
- "VersionPartLib": [
905
+ "VersionLib": [
920
906
  {
921
907
  "length": 20,
922
- "start": 2666
908
+ "start": 1384
923
909
  }
924
910
  ]
925
911
  }
@@ -929,31 +915,31 @@
929
915
  "NftIdLib": [
930
916
  {
931
917
  "length": 20,
932
- "start": 1454
918
+ "start": 1556
933
919
  },
934
920
  {
935
921
  "length": 20,
936
- "start": 2230
922
+ "start": 2377
937
923
  },
938
924
  {
939
925
  "length": 20,
940
- "start": 2912
926
+ "start": 3090
941
927
  },
942
928
  {
943
929
  "length": 20,
944
- "start": 4059
930
+ "start": 3988
945
931
  },
946
932
  {
947
933
  "length": 20,
948
- "start": 4907
934
+ "start": 4806
949
935
  }
950
936
  ]
951
937
  },
952
938
  "contracts/type/Version.sol": {
953
- "VersionPartLib": [
939
+ "VersionLib": [
954
940
  {
955
941
  "length": 20,
956
- "start": 2638
942
+ "start": 1356
957
943
  }
958
944
  ]
959
945
  }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../build-info/07d82f1dc8f74cd984692082cfe2d8b4.json"
3
+ "buildInfo": "../../../build-info/d354309e749e9f959e2ce2e5857f93a2.json"
4
4
  }