@etherisc/gif-next 0.0.2-fbe6493-116 → 0.0.2-fc0563c-260

Sign up to get free protection for your applications and to get access to all the features.
Files changed (538) hide show
  1. package/README.md +89 -9
  2. package/artifacts/contracts/accounting/AccountingService.sol/AccountingService.dbg.json +4 -0
  3. package/artifacts/contracts/accounting/AccountingService.sol/AccountingService.json +1075 -0
  4. package/artifacts/contracts/accounting/AccountingServiceManager.sol/AccountingServiceManager.dbg.json +4 -0
  5. package/artifacts/contracts/accounting/AccountingServiceManager.sol/AccountingServiceManager.json +790 -0
  6. package/artifacts/contracts/accounting/IAccountingService.sol/IAccountingService.dbg.json +4 -0
  7. package/artifacts/contracts/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 +673 -262
  10. package/artifacts/contracts/authorization/AccessAdminLib.sol/AccessAdminLib.dbg.json +4 -0
  11. package/artifacts/contracts/authorization/AccessAdminLib.sol/AccessAdminLib.json +1289 -0
  12. package/artifacts/contracts/authorization/AccessManagerCloneable.sol/AccessManagerCloneable.dbg.json +1 -1
  13. package/artifacts/contracts/authorization/AccessManagerCloneable.sol/AccessManagerCloneable.json +202 -5
  14. package/artifacts/contracts/authorization/Authorization.sol/Authorization.dbg.json +1 -1
  15. package/artifacts/contracts/authorization/Authorization.sol/Authorization.json +456 -24
  16. package/artifacts/contracts/authorization/IAccess.sol/IAccess.dbg.json +1 -1
  17. package/artifacts/contracts/authorization/IAccessAdmin.sol/IAccessAdmin.dbg.json +1 -1
  18. package/artifacts/contracts/authorization/IAccessAdmin.sol/IAccessAdmin.json +549 -209
  19. package/artifacts/contracts/authorization/IAuthorization.sol/IAuthorization.dbg.json +1 -1
  20. package/artifacts/contracts/authorization/IAuthorization.sol/IAuthorization.json +215 -18
  21. package/artifacts/contracts/authorization/IServiceAuthorization.sol/IServiceAuthorization.dbg.json +1 -1
  22. package/artifacts/contracts/authorization/IServiceAuthorization.sol/IServiceAuthorization.json +265 -16
  23. package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.dbg.json +1 -1
  24. package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.json +473 -17
  25. package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.dbg.json +1 -1
  26. package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.json +190 -464
  27. package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.dbg.json +1 -1
  28. package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.json +431 -36
  29. package/artifacts/contracts/distribution/Distribution.sol/Distribution.dbg.json +1 -1
  30. package/artifacts/contracts/distribution/Distribution.sol/Distribution.json +109 -356
  31. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.dbg.json +1 -1
  32. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.json +638 -386
  33. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +1 -1
  34. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.json +208 -132
  35. package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.dbg.json +1 -1
  36. package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.json +96 -191
  37. package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.dbg.json +1 -1
  38. package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.json +478 -108
  39. package/artifacts/contracts/examples/fire/DamageLevel.sol/DamageLevelLib.dbg.json +4 -0
  40. package/artifacts/contracts/examples/fire/DamageLevel.sol/DamageLevelLib.json +22 -0
  41. package/artifacts/contracts/examples/fire/FirePool.sol/FirePool.dbg.json +4 -0
  42. package/artifacts/contracts/examples/fire/FirePool.sol/FirePool.json +1472 -0
  43. package/artifacts/contracts/examples/fire/FirePoolAuthorization.sol/FirePoolAuthorization.dbg.json +4 -0
  44. package/artifacts/contracts/examples/fire/FirePoolAuthorization.sol/FirePoolAuthorization.json +805 -0
  45. package/artifacts/contracts/examples/fire/FireProduct.sol/FireProduct.dbg.json +4 -0
  46. package/artifacts/contracts/examples/fire/FireProduct.sol/FireProduct.json +2045 -0
  47. package/artifacts/contracts/examples/fire/FireProductAuthorization.sol/FireProductAuthorization.dbg.json +4 -0
  48. package/artifacts/contracts/examples/fire/FireProductAuthorization.sol/FireProductAuthorization.json +805 -0
  49. package/artifacts/contracts/examples/fire/FireUSD.sol/FireUSD.dbg.json +4 -0
  50. package/artifacts/contracts/examples/fire/FireUSD.sol/FireUSD.json +376 -0
  51. package/artifacts/contracts/examples/unpermissioned/SimpleDistribution.sol/SimpleDistribution.dbg.json +4 -0
  52. package/artifacts/contracts/examples/unpermissioned/SimpleDistribution.sol/SimpleDistribution.json +1423 -0
  53. package/artifacts/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol/SimpleDistributionAuthorization.dbg.json +4 -0
  54. package/artifacts/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol/SimpleDistributionAuthorization.json +805 -0
  55. package/artifacts/contracts/examples/unpermissioned/SimpleOracle.sol/SimpleOracle.dbg.json +4 -0
  56. package/artifacts/contracts/examples/unpermissioned/SimpleOracle.sol/SimpleOracle.json +1171 -0
  57. package/artifacts/contracts/examples/unpermissioned/SimplePool.sol/SimplePool.dbg.json +4 -0
  58. package/artifacts/contracts/examples/unpermissioned/SimplePool.sol/SimplePool.json +1639 -0
  59. package/artifacts/contracts/examples/unpermissioned/SimplePoolAuthorization.sol/SimplePoolAuthorization.dbg.json +4 -0
  60. package/artifacts/contracts/examples/unpermissioned/SimplePoolAuthorization.sol/SimplePoolAuthorization.json +805 -0
  61. package/artifacts/contracts/examples/unpermissioned/SimpleProduct.sol/SimpleProduct.dbg.json +4 -0
  62. package/artifacts/contracts/examples/unpermissioned/SimpleProduct.sol/SimpleProduct.json +2484 -0
  63. package/artifacts/contracts/examples/unpermissioned/SimpleProductAuthorization.sol/SimpleProductAuthorization.dbg.json +4 -0
  64. package/artifacts/contracts/examples/unpermissioned/SimpleProductAuthorization.sol/SimpleProductAuthorization.json +805 -0
  65. package/artifacts/contracts/instance/BundleSet.sol/BundleSet.dbg.json +1 -1
  66. package/artifacts/contracts/instance/BundleSet.sol/BundleSet.json +193 -45
  67. package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
  68. package/artifacts/contracts/instance/IInstance.sol/IInstance.json +560 -66
  69. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +1 -1
  70. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +377 -58
  71. package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
  72. package/artifacts/contracts/instance/Instance.sol/Instance.json +568 -166
  73. package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.dbg.json +1 -1
  74. package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.json +1034 -311
  75. package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.dbg.json +1 -1
  76. package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.json +369 -68
  77. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +1 -1
  78. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +1688 -735
  79. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +1 -1
  80. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +390 -228
  81. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +1 -1
  82. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +142 -104
  83. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.dbg.json +1 -1
  84. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.json +955 -640
  85. package/artifacts/contracts/instance/RiskSet.sol/RiskSet.dbg.json +4 -0
  86. package/artifacts/contracts/instance/RiskSet.sol/RiskSet.json +866 -0
  87. package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.dbg.json +1 -1
  88. package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.json +2 -2
  89. package/artifacts/contracts/instance/base/Cloneable.sol/Cloneable.dbg.json +1 -1
  90. package/artifacts/contracts/instance/base/ObjectCounter.sol/ObjectCounter.dbg.json +1 -1
  91. package/artifacts/contracts/instance/base/ObjectCounter.sol/ObjectCounter.json +2 -2
  92. package/artifacts/contracts/instance/base/ObjectLifecycle.sol/ObjectLifecycle.dbg.json +1 -1
  93. package/artifacts/contracts/instance/base/ObjectLifecycle.sol/ObjectLifecycle.json +46 -5
  94. package/artifacts/contracts/instance/base/ObjectSet.sol/ObjectSet.dbg.json +1 -1
  95. package/artifacts/contracts/instance/base/ObjectSet.sol/ObjectSet.json +16 -5
  96. package/artifacts/contracts/instance/base/ObjectSetHelperLib.sol/ObjectSetHelperLib.dbg.json +4 -0
  97. package/artifacts/contracts/instance/base/ObjectSetHelperLib.sol/ObjectSetHelperLib.json +168 -0
  98. package/artifacts/contracts/instance/module/IBundle.sol/IBundle.dbg.json +1 -1
  99. package/artifacts/contracts/instance/module/IComponents.sol/IComponents.dbg.json +1 -1
  100. package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.dbg.json +1 -1
  101. package/artifacts/contracts/instance/module/IPolicy.sol/IPolicy.dbg.json +1 -1
  102. package/artifacts/contracts/instance/module/IRisk.sol/IRisk.dbg.json +1 -1
  103. package/artifacts/contracts/mock/Dip.sol/Dip.dbg.json +1 -1
  104. package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.dbg.json +1 -1
  105. package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.json +135 -333
  106. package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.dbg.json +1 -1
  107. package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.json +429 -37
  108. package/artifacts/contracts/oracle/IOracle.sol/IOracle.dbg.json +1 -1
  109. package/artifacts/contracts/oracle/IOracleComponent.sol/IOracleComponent.dbg.json +1 -1
  110. package/artifacts/contracts/oracle/IOracleComponent.sol/IOracleComponent.json +103 -133
  111. package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.dbg.json +1 -1
  112. package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.json +98 -11
  113. package/artifacts/contracts/oracle/Oracle.sol/Oracle.dbg.json +1 -1
  114. package/artifacts/contracts/oracle/Oracle.sol/Oracle.json +111 -293
  115. package/artifacts/contracts/oracle/OracleService.sol/OracleService.dbg.json +1 -1
  116. package/artifacts/contracts/oracle/OracleService.sol/OracleService.json +198 -190
  117. package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.dbg.json +1 -1
  118. package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.json +176 -96
  119. package/artifacts/contracts/pool/BasicPool.sol/BasicPool.dbg.json +1 -1
  120. package/artifacts/contracts/pool/BasicPool.sol/BasicPool.json +160 -350
  121. package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.dbg.json +1 -1
  122. package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.json +430 -35
  123. package/artifacts/contracts/pool/BundleService.sol/BundleService.dbg.json +1 -1
  124. package/artifacts/contracts/pool/BundleService.sol/BundleService.json +348 -431
  125. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.dbg.json +1 -1
  126. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.json +169 -133
  127. package/artifacts/contracts/pool/IBundleService.sol/IBundleService.dbg.json +1 -1
  128. package/artifacts/contracts/pool/IBundleService.sol/IBundleService.json +247 -121
  129. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.dbg.json +1 -1
  130. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.json +141 -182
  131. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.dbg.json +1 -1
  132. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.json +517 -281
  133. package/artifacts/contracts/pool/Pool.sol/Pool.dbg.json +1 -1
  134. package/artifacts/contracts/pool/Pool.sol/Pool.json +139 -332
  135. package/artifacts/contracts/pool/PoolLib.sol/PoolLib.dbg.json +4 -0
  136. package/artifacts/contracts/pool/PoolLib.sol/PoolLib.json +522 -0
  137. package/artifacts/contracts/pool/PoolService.sol/PoolService.dbg.json +1 -1
  138. package/artifacts/contracts/pool/PoolService.sol/PoolService.json +701 -551
  139. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.dbg.json +1 -1
  140. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.json +205 -113
  141. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.dbg.json +1 -1
  142. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.json +357 -173
  143. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +1 -1
  144. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.json +164 -96
  145. package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.dbg.json +1 -1
  146. package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.json +288 -409
  147. package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.dbg.json +1 -1
  148. package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.json +430 -35
  149. package/artifacts/contracts/product/ClaimService.sol/ClaimService.dbg.json +1 -1
  150. package/artifacts/contracts/product/ClaimService.sol/ClaimService.json +453 -287
  151. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +1 -1
  152. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.json +186 -126
  153. package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.dbg.json +1 -1
  154. package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.json +296 -9
  155. package/artifacts/contracts/product/IClaimService.sol/IClaimService.dbg.json +1 -1
  156. package/artifacts/contracts/product/IClaimService.sol/IClaimService.json +333 -17
  157. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.dbg.json +1 -1
  158. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.json +300 -64
  159. package/artifacts/contracts/product/IPricingService.sol/IPricingService.dbg.json +1 -1
  160. package/artifacts/contracts/product/IPricingService.sol/IPricingService.json +183 -80
  161. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.dbg.json +1 -1
  162. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.json +257 -226
  163. package/artifacts/contracts/product/IRiskService.sol/IRiskService.dbg.json +4 -0
  164. package/artifacts/contracts/{shared/ComponentVerifyingService.sol/ComponentVerifyingService.json → product/IRiskService.sol/IRiskService.json} +283 -157
  165. package/artifacts/contracts/product/PolicyService.sol/PolicyService.dbg.json +1 -1
  166. package/artifacts/contracts/product/PolicyService.sol/PolicyService.json +385 -336
  167. package/artifacts/contracts/product/PolicyServiceLib.sol/PolicyServiceLib.dbg.json +4 -0
  168. package/artifacts/contracts/product/PolicyServiceLib.sol/PolicyServiceLib.json +783 -0
  169. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +1 -1
  170. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.json +174 -126
  171. package/artifacts/contracts/product/PricingService.sol/PricingService.dbg.json +1 -1
  172. package/artifacts/contracts/product/PricingService.sol/PricingService.json +247 -332
  173. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.dbg.json +1 -1
  174. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.json +164 -136
  175. package/artifacts/contracts/product/Product.sol/Product.dbg.json +1 -1
  176. package/artifacts/contracts/product/Product.sol/Product.json +280 -401
  177. package/artifacts/contracts/product/RiskService.sol/RiskService.dbg.json +4 -0
  178. package/artifacts/contracts/product/RiskService.sol/RiskService.json +873 -0
  179. package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.dbg.json +4 -0
  180. package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.json +774 -0
  181. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
  182. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +59 -16
  183. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
  184. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +356 -45
  185. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +1 -1
  186. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +169 -37
  187. package/artifacts/contracts/registry/IRelease.sol/IRelease.dbg.json +4 -0
  188. package/artifacts/contracts/registry/IRelease.sol/IRelease.json +24 -0
  189. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +1 -1
  190. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.json +5 -18
  191. package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
  192. package/artifacts/contracts/registry/Registry.sol/Registry.json +562 -106
  193. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.dbg.json +1 -1
  194. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.json +795 -394
  195. package/artifacts/contracts/registry/RegistryAuthorization.sol/RegistryAuthorization.dbg.json +4 -0
  196. package/artifacts/contracts/registry/RegistryAuthorization.sol/RegistryAuthorization.json +1053 -0
  197. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +1 -1
  198. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +136 -290
  199. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +1 -1
  200. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +140 -88
  201. package/artifacts/contracts/registry/ReleaseAdmin.sol/ReleaseAdmin.dbg.json +4 -0
  202. package/artifacts/contracts/registry/ReleaseAdmin.sol/ReleaseAdmin.json +2152 -0
  203. package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.dbg.json +1 -1
  204. package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.json +47 -6
  205. package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.dbg.json +1 -1
  206. package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.json +483 -253
  207. package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.dbg.json +1 -1
  208. package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.json +489 -20
  209. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +1 -1
  210. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +15 -15
  211. package/artifacts/contracts/shared/Component.sol/Component.dbg.json +1 -1
  212. package/artifacts/contracts/shared/Component.sol/Component.json +99 -252
  213. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.dbg.json +1 -1
  214. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.json +480 -696
  215. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.dbg.json +1 -1
  216. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.json +176 -146
  217. package/artifacts/contracts/shared/ContractLib.sol/ContractLib.dbg.json +4 -0
  218. package/artifacts/contracts/shared/ContractLib.sol/ContractLib.json +632 -0
  219. package/artifacts/contracts/shared/ContractLib.sol/IInstanceAdminHelper.dbg.json +4 -0
  220. package/artifacts/contracts/shared/ContractLib.sol/IInstanceAdminHelper.json +24 -0
  221. package/artifacts/contracts/shared/ContractLib.sol/ITargetHelper.dbg.json +4 -0
  222. package/artifacts/contracts/shared/ContractLib.sol/ITargetHelper.json +30 -0
  223. package/artifacts/contracts/shared/ContractLib.sol/ITokenRegistryHelper.dbg.json +4 -0
  224. package/artifacts/contracts/shared/ContractLib.sol/ITokenRegistryHelper.json +40 -0
  225. package/artifacts/contracts/shared/IComponent.sol/IComponent.dbg.json +1 -1
  226. package/artifacts/contracts/shared/IComponent.sol/IComponent.json +92 -93
  227. package/artifacts/contracts/shared/IComponentService.sol/IComponentService.dbg.json +1 -1
  228. package/artifacts/contracts/shared/IComponentService.sol/IComponentService.json +432 -290
  229. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.dbg.json +1 -1
  230. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.json +103 -133
  231. package/artifacts/contracts/shared/IKeyValueStore.sol/IKeyValueStore.dbg.json +1 -1
  232. package/artifacts/contracts/shared/IKeyValueStore.sol/IKeyValueStore.json +36 -0
  233. package/artifacts/contracts/shared/ILifecycle.sol/ILifecycle.dbg.json +1 -1
  234. package/artifacts/contracts/shared/ILifecycle.sol/ILifecycle.json +36 -0
  235. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +1 -1
  236. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.json +35 -0
  237. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.dbg.json +1 -1
  238. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.json +15 -47
  239. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
  240. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +167 -0
  241. package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.dbg.json +1 -1
  242. package/artifacts/contracts/shared/IService.sol/IService.dbg.json +1 -1
  243. package/artifacts/contracts/shared/IService.sol/IService.json +84 -2
  244. package/artifacts/contracts/shared/InitializableERC165.sol/InitializableERC165.dbg.json +1 -1
  245. package/artifacts/contracts/shared/InitializableERC165.sol/InitializableERC165.json +2 -22
  246. package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.dbg.json +1 -1
  247. package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.json +110 -292
  248. package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.dbg.json +1 -1
  249. package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.json +42 -1
  250. package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.dbg.json +1 -1
  251. package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.json +42 -1
  252. package/artifacts/contracts/shared/NftIdSet.sol/NftIdSet.dbg.json +1 -1
  253. package/artifacts/contracts/shared/NftIdSet.sol/NftIdSet.json +2 -2
  254. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +1 -1
  255. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +41 -57
  256. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.dbg.json +1 -1
  257. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.json +19 -141
  258. package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
  259. package/artifacts/contracts/shared/Registerable.sol/Registerable.json +141 -97
  260. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.dbg.json +1 -1
  261. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.json +2 -15
  262. package/artifacts/contracts/shared/Service.sol/Service.dbg.json +1 -1
  263. package/artifacts/contracts/shared/Service.sol/Service.json +86 -111
  264. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +1 -1
  265. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +544 -18
  266. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandlerBase.dbg.json +4 -0
  267. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandlerBase.json +484 -0
  268. package/artifacts/contracts/shared/TokenHandlerDeployerLib.sol/TokenHandlerDeployerLib.dbg.json +4 -0
  269. package/artifacts/contracts/shared/TokenHandlerDeployerLib.sol/TokenHandlerDeployerLib.json +172 -0
  270. package/artifacts/contracts/staking/IStaking.sol/IStaking.dbg.json +1 -1
  271. package/artifacts/contracts/staking/IStaking.sol/IStaking.json +341 -133
  272. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.dbg.json +1 -1
  273. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.json +184 -23
  274. package/artifacts/contracts/staking/Staking.sol/Staking.dbg.json +1 -1
  275. package/artifacts/contracts/staking/Staking.sol/Staking.json +468 -405
  276. package/artifacts/contracts/staking/StakingLib.sol/StakingLib.dbg.json +4 -0
  277. package/artifacts/contracts/staking/StakingLib.sol/StakingLib.json +469 -0
  278. package/artifacts/contracts/staking/StakingLifecycle.sol/StakingLifecycle.dbg.json +1 -1
  279. package/artifacts/contracts/staking/StakingLifecycle.sol/StakingLifecycle.json +46 -5
  280. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.dbg.json +1 -1
  281. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.json +177 -108
  282. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.dbg.json +1 -1
  283. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.json +91 -67
  284. package/artifacts/contracts/staking/StakingService.sol/StakingService.dbg.json +1 -1
  285. package/artifacts/contracts/staking/StakingService.sol/StakingService.json +253 -171
  286. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.dbg.json +1 -1
  287. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.json +157 -93
  288. package/artifacts/contracts/staking/StakingStore.sol/StakingStore.dbg.json +1 -1
  289. package/artifacts/contracts/staking/StakingStore.sol/StakingStore.json +205 -150
  290. package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.dbg.json +1 -1
  291. package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.json +91 -50
  292. package/artifacts/contracts/type/AddressSet.sol/LibAddressSet.dbg.json +1 -1
  293. package/artifacts/contracts/type/Amount.sol/AmountLib.dbg.json +1 -1
  294. package/artifacts/contracts/type/Amount.sol/AmountLib.json +35 -11
  295. package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.dbg.json +1 -1
  296. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.dbg.json +1 -1
  297. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.json +28 -4
  298. package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.dbg.json +1 -1
  299. package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.json +2 -2
  300. package/artifacts/contracts/type/Fee.sol/FeeLib.dbg.json +1 -1
  301. package/artifacts/contracts/type/Fee.sol/FeeLib.json +94 -38
  302. package/artifacts/contracts/type/Key32.sol/Key32Lib.dbg.json +1 -1
  303. package/artifacts/contracts/type/Key32.sol/Key32Lib.json +2 -2
  304. package/artifacts/contracts/type/Key32Set.sol/LibKey32Set.dbg.json +4 -0
  305. package/artifacts/contracts/type/Key32Set.sol/LibKey32Set.json +33 -0
  306. package/artifacts/contracts/type/NftId.sol/NftIdLib.dbg.json +1 -1
  307. package/artifacts/contracts/type/NftId.sol/NftIdLib.json +23 -4
  308. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.dbg.json +1 -1
  309. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.json +2 -2
  310. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.dbg.json +1 -1
  311. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.json +33 -31
  312. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.dbg.json +1 -1
  313. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.json +19 -19
  314. package/artifacts/contracts/type/Referral.sol/ReferralLib.dbg.json +1 -1
  315. package/artifacts/contracts/type/Referral.sol/ReferralLib.json +2 -2
  316. package/artifacts/contracts/type/RequestId.sol/RequestIdLib.dbg.json +1 -1
  317. package/artifacts/contracts/type/RequestId.sol/RequestIdLib.json +2 -2
  318. package/artifacts/contracts/type/RiskId.sol/RiskIdLib.dbg.json +1 -1
  319. package/artifacts/contracts/type/RiskId.sol/RiskIdLib.json +125 -7
  320. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.dbg.json +1 -1
  321. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.json +42 -157
  322. package/artifacts/contracts/type/Seconds.sol/SecondsLib.dbg.json +1 -1
  323. package/artifacts/contracts/type/Seconds.sol/SecondsLib.json +45 -2
  324. package/artifacts/contracts/type/Selector.sol/SelectorLib.dbg.json +1 -1
  325. package/artifacts/contracts/type/Selector.sol/SelectorLib.json +21 -2
  326. package/artifacts/contracts/type/Selector.sol/SelectorSetLib.dbg.json +1 -1
  327. package/artifacts/contracts/type/Selector.sol/SelectorSetLib.json +2 -2
  328. package/artifacts/contracts/type/StateId.sol/StateIdLib.dbg.json +1 -1
  329. package/artifacts/contracts/type/StateId.sol/StateIdLib.json +15 -2
  330. package/artifacts/contracts/type/String.sol/StrLib.dbg.json +1 -1
  331. package/artifacts/contracts/type/String.sol/StrLib.json +50 -2
  332. package/artifacts/contracts/type/Timestamp.sol/TimestampLib.dbg.json +1 -1
  333. package/artifacts/contracts/type/Timestamp.sol/TimestampLib.json +2 -2
  334. package/artifacts/contracts/type/UFixed.sol/UFixedLib.dbg.json +1 -1
  335. package/artifacts/contracts/type/UFixed.sol/UFixedLib.json +73 -36
  336. package/artifacts/contracts/type/Version.sol/VersionLib.dbg.json +1 -1
  337. package/artifacts/contracts/type/Version.sol/VersionLib.json +2 -21
  338. package/artifacts/contracts/type/Version.sol/VersionPartLib.dbg.json +1 -1
  339. package/artifacts/contracts/type/Version.sol/VersionPartLib.json +101 -2
  340. package/artifacts/contracts/upgradeability/IVersionable.sol/IVersionable.dbg.json +1 -1
  341. package/artifacts/contracts/upgradeability/IVersionable.sol/IVersionable.json +10 -0
  342. package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.dbg.json +1 -1
  343. package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.json +117 -78
  344. package/artifacts/contracts/upgradeability/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +1 -1
  345. package/artifacts/contracts/upgradeability/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +15 -2
  346. package/artifacts/contracts/upgradeability/Versionable.sol/Versionable.dbg.json +1 -1
  347. package/artifacts/contracts/upgradeability/Versionable.sol/Versionable.json +10 -0
  348. package/contracts/accounting/AccountingService.sol +274 -0
  349. package/contracts/accounting/AccountingServiceManager.sol +38 -0
  350. package/contracts/accounting/IAccountingService.sol +47 -0
  351. package/contracts/authorization/AccessAdmin.sol +456 -267
  352. package/contracts/authorization/AccessAdminLib.sol +396 -0
  353. package/contracts/authorization/AccessManagerCloneable.sol +146 -4
  354. package/contracts/authorization/Authorization.sol +159 -208
  355. package/contracts/authorization/IAccess.sol +25 -6
  356. package/contracts/authorization/IAccessAdmin.sol +87 -79
  357. package/contracts/authorization/IAuthorization.sol +9 -36
  358. package/contracts/authorization/IServiceAuthorization.sol +57 -17
  359. package/contracts/authorization/ServiceAuthorization.sol +254 -24
  360. package/contracts/distribution/BasicDistribution.sol +20 -17
  361. package/contracts/distribution/BasicDistributionAuthorization.sol +30 -10
  362. package/contracts/distribution/Distribution.sol +42 -90
  363. package/contracts/distribution/DistributionService.sol +242 -117
  364. package/contracts/distribution/DistributionServiceManager.sol +6 -6
  365. package/contracts/distribution/IDistributionComponent.sol +4 -11
  366. package/contracts/distribution/IDistributionService.sol +46 -26
  367. package/contracts/examples/fire/DamageLevel.sol +59 -0
  368. package/contracts/examples/fire/FirePool.sol +86 -0
  369. package/contracts/examples/fire/FirePoolAuthorization.sol +35 -0
  370. package/contracts/examples/fire/FireProduct.sol +433 -0
  371. package/contracts/examples/fire/FireProductAuthorization.sol +45 -0
  372. package/contracts/examples/fire/FireUSD.sol +26 -0
  373. package/contracts/examples/unpermissioned/SimpleDistribution.sol +81 -0
  374. package/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol +28 -0
  375. package/contracts/examples/unpermissioned/SimpleOracle.sol +133 -0
  376. package/contracts/examples/unpermissioned/SimplePool.sol +102 -0
  377. package/contracts/examples/unpermissioned/SimplePoolAuthorization.sol +28 -0
  378. package/contracts/examples/unpermissioned/SimpleProduct.sol +391 -0
  379. package/contracts/examples/unpermissioned/SimpleProductAuthorization.sol +28 -0
  380. package/contracts/instance/BundleSet.sol +42 -38
  381. package/contracts/instance/IInstance.sol +101 -42
  382. package/contracts/instance/IInstanceService.sol +56 -32
  383. package/contracts/instance/Instance.sol +189 -97
  384. package/contracts/instance/InstanceAdmin.sol +275 -158
  385. package/contracts/instance/InstanceAuthorizationV3.sol +120 -58
  386. package/contracts/instance/InstanceReader.sol +477 -253
  387. package/contracts/instance/InstanceService.sol +275 -243
  388. package/contracts/instance/InstanceServiceManager.sol +6 -7
  389. package/contracts/instance/InstanceStore.sol +23 -2
  390. package/contracts/instance/RiskSet.sol +126 -0
  391. package/contracts/instance/base/BalanceStore.sol +3 -5
  392. package/contracts/instance/base/ObjectCounter.sol +1 -2
  393. package/contracts/instance/base/ObjectLifecycle.sol +11 -8
  394. package/contracts/instance/base/ObjectSet.sol +31 -33
  395. package/contracts/instance/base/ObjectSetHelperLib.sol +30 -0
  396. package/contracts/instance/module/IBundle.sol +6 -5
  397. package/contracts/instance/module/IComponents.sol +29 -13
  398. package/contracts/instance/module/IDistribution.sol +21 -8
  399. package/contracts/instance/module/IPolicy.sol +49 -28
  400. package/contracts/instance/module/IRisk.sol +5 -0
  401. package/contracts/oracle/BasicOracle.sol +1 -4
  402. package/contracts/oracle/BasicOracleAuthorization.sol +15 -8
  403. package/contracts/oracle/IOracle.sol +9 -4
  404. package/contracts/oracle/IOracleService.sol +2 -1
  405. package/contracts/oracle/Oracle.sol +7 -19
  406. package/contracts/oracle/OracleService.sol +117 -85
  407. package/contracts/oracle/OracleServiceManager.sol +6 -6
  408. package/contracts/pool/BasicPool.sol +33 -37
  409. package/contracts/pool/BasicPoolAuthorization.sol +34 -11
  410. package/contracts/pool/BundleService.sol +113 -164
  411. package/contracts/pool/BundleServiceManager.sol +6 -6
  412. package/contracts/pool/IBundleService.sol +28 -45
  413. package/contracts/pool/IPoolComponent.sol +19 -15
  414. package/contracts/pool/IPoolService.sol +93 -73
  415. package/contracts/pool/Pool.sol +140 -135
  416. package/contracts/pool/PoolLib.sol +341 -0
  417. package/contracts/pool/PoolService.sol +377 -291
  418. package/contracts/pool/PoolServiceManager.sol +4 -4
  419. package/contracts/product/ApplicationService.sol +111 -34
  420. package/contracts/product/ApplicationServiceManager.sol +4 -4
  421. package/contracts/product/BasicProduct.sol +10 -13
  422. package/contracts/product/BasicProductAuthorization.sol +32 -12
  423. package/contracts/product/ClaimService.sol +382 -158
  424. package/contracts/product/ClaimServiceManager.sol +4 -4
  425. package/contracts/product/IApplicationService.sol +28 -3
  426. package/contracts/product/IClaimService.sol +43 -8
  427. package/contracts/product/IPolicyService.sol +47 -29
  428. package/contracts/product/IPricingService.sol +11 -10
  429. package/contracts/product/IProductComponent.sol +27 -5
  430. package/contracts/product/IRiskService.sol +48 -0
  431. package/contracts/product/PolicyService.sol +374 -324
  432. package/contracts/product/PolicyServiceLib.sol +139 -0
  433. package/contracts/product/PolicyServiceManager.sol +4 -4
  434. package/contracts/product/PricingService.sol +85 -83
  435. package/contracts/product/PricingServiceManager.sol +4 -4
  436. package/contracts/product/Product.sol +166 -96
  437. package/contracts/product/RiskService.sol +190 -0
  438. package/contracts/product/RiskServiceManager.sol +39 -0
  439. package/contracts/registry/ChainNft.sol +72 -40
  440. package/contracts/registry/IRegistry.sol +70 -29
  441. package/contracts/registry/IRegistryService.sol +5 -12
  442. package/contracts/registry/IRelease.sol +29 -0
  443. package/contracts/registry/ITransferInterceptor.sol +1 -2
  444. package/contracts/registry/Registry.sol +364 -204
  445. package/contracts/registry/RegistryAdmin.sol +110 -287
  446. package/contracts/registry/RegistryAuthorization.sol +284 -0
  447. package/contracts/registry/RegistryService.sol +38 -49
  448. package/contracts/registry/RegistryServiceManager.sol +3 -3
  449. package/contracts/registry/ReleaseAdmin.sol +195 -0
  450. package/contracts/registry/ReleaseLifecycle.sol +8 -3
  451. package/contracts/registry/ReleaseRegistry.sol +275 -240
  452. package/contracts/registry/ServiceAuthorizationV3.sol +202 -57
  453. package/contracts/registry/TokenRegistry.sol +12 -13
  454. package/contracts/shared/Component.sol +66 -137
  455. package/contracts/shared/ComponentService.sol +415 -376
  456. package/contracts/shared/ComponentServiceManager.sol +8 -5
  457. package/contracts/shared/ContractLib.sol +311 -0
  458. package/contracts/shared/IComponent.sol +6 -19
  459. package/contracts/shared/IComponentService.sol +43 -40
  460. package/contracts/shared/IInstanceLinkedComponent.sol +2 -28
  461. package/contracts/shared/ILifecycle.sol +3 -1
  462. package/contracts/shared/INftOwnable.sol +4 -0
  463. package/contracts/shared/IPolicyHolder.sol +12 -22
  464. package/contracts/shared/IRegisterable.sol +22 -1
  465. package/contracts/shared/IService.sol +3 -5
  466. package/contracts/shared/InitializableERC165.sol +10 -2
  467. package/contracts/shared/InstanceLinkedComponent.sol +72 -50
  468. package/contracts/shared/KeyValueStore.sol +1 -1
  469. package/contracts/shared/Lifecycle.sol +15 -4
  470. package/contracts/shared/NftOwnable.sol +31 -9
  471. package/contracts/shared/PolicyHolder.sol +18 -54
  472. package/contracts/shared/Registerable.sol +52 -21
  473. package/contracts/shared/RegistryLinked.sol +9 -14
  474. package/contracts/shared/Service.sol +20 -35
  475. package/contracts/shared/TokenHandler.sol +309 -29
  476. package/contracts/shared/TokenHandlerDeployerLib.sol +20 -0
  477. package/contracts/staking/IStaking.sol +48 -20
  478. package/contracts/staking/IStakingService.sol +21 -11
  479. package/contracts/staking/Staking.sol +198 -109
  480. package/contracts/staking/{StakeManagerLib.sol → StakingLib.sol} +95 -45
  481. package/contracts/staking/StakingManager.sol +8 -6
  482. package/contracts/staking/StakingReader.sol +40 -24
  483. package/contracts/staking/StakingService.sol +88 -27
  484. package/contracts/staking/StakingServiceManager.sol +6 -5
  485. package/contracts/staking/StakingStore.sol +3 -2
  486. package/contracts/staking/TargetManagerLib.sol +8 -4
  487. package/contracts/type/Amount.sol +15 -0
  488. package/contracts/type/ClaimId.sol +6 -1
  489. package/contracts/type/Fee.sol +8 -8
  490. package/contracts/type/Key32.sol +2 -2
  491. package/contracts/type/Key32Set.sol +62 -0
  492. package/contracts/type/NftId.sol +7 -0
  493. package/contracts/type/ObjectType.sol +73 -37
  494. package/contracts/type/PayoutId.sol +10 -10
  495. package/contracts/type/RiskId.sol +38 -6
  496. package/contracts/type/RoleId.sol +61 -55
  497. package/contracts/type/Seconds.sol +12 -0
  498. package/contracts/type/Selector.sol +5 -0
  499. package/contracts/type/StateId.sol +15 -1
  500. package/contracts/type/String.sol +12 -0
  501. package/contracts/type/Timestamp.sol +0 -5
  502. package/contracts/type/UFixed.sol +37 -126
  503. package/contracts/type/Version.sol +54 -5
  504. package/contracts/upgradeability/IVersionable.sol +3 -0
  505. package/contracts/upgradeability/ProxyManager.sol +93 -45
  506. package/contracts/upgradeability/UpgradableProxyWithAdmin.sol +7 -1
  507. package/contracts/upgradeability/Versionable.sol +8 -5
  508. package/package.json +5 -4
  509. package/artifacts/contracts/authorization/IModuleAuthorization.sol/IModuleAuthorization.dbg.json +0 -4
  510. package/artifacts/contracts/authorization/IModuleAuthorization.sol/IModuleAuthorization.json +0 -290
  511. package/artifacts/contracts/authorization/ModuleAuthorization.sol/ModuleAuthorization.dbg.json +0 -4
  512. package/artifacts/contracts/authorization/ModuleAuthorization.sol/ModuleAuthorization.json +0 -390
  513. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.dbg.json +0 -4
  514. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.json +0 -129
  515. package/artifacts/contracts/product/IProductService.sol/IProductService.dbg.json +0 -4
  516. package/artifacts/contracts/product/IProductService.sol/IProductService.json +0 -400
  517. package/artifacts/contracts/product/ProductService.sol/ProductService.dbg.json +0 -4
  518. package/artifacts/contracts/product/ProductService.sol/ProductService.json +0 -708
  519. package/artifacts/contracts/product/ProductServiceManager.sol/ProductServiceManager.dbg.json +0 -4
  520. package/artifacts/contracts/product/ProductServiceManager.sol/ProductServiceManager.json +0 -702
  521. package/artifacts/contracts/shared/ComponentVerifyingService.sol/ComponentVerifyingService.dbg.json +0 -4
  522. package/artifacts/contracts/shared/InitializableCustom.sol/InitializableCustom.dbg.json +0 -4
  523. package/artifacts/contracts/shared/InitializableCustom.sol/InitializableCustom.json +0 -39
  524. package/artifacts/contracts/shared/TokenTransferLib.sol/TokenTransferLib.dbg.json +0 -4
  525. package/artifacts/contracts/shared/TokenTransferLib.sol/TokenTransferLib.json +0 -42
  526. package/artifacts/contracts/staking/StakeManagerLib.sol/StakeManagerLib.dbg.json +0 -4
  527. package/artifacts/contracts/staking/StakeManagerLib.sol/StakeManagerLib.json +0 -470
  528. package/artifacts/contracts/type/UFixed.sol/MathLib.dbg.json +0 -4
  529. package/artifacts/contracts/type/UFixed.sol/MathLib.json +0 -16
  530. package/contracts/authorization/IModuleAuthorization.sol +0 -21
  531. package/contracts/authorization/ModuleAuthorization.sol +0 -78
  532. package/contracts/instance/module/IAccess.sol +0 -46
  533. package/contracts/product/IProductService.sol +0 -33
  534. package/contracts/product/ProductService.sol +0 -99
  535. package/contracts/product/ProductServiceManager.sol +0 -39
  536. package/contracts/shared/ComponentVerifyingService.sol +0 -117
  537. package/contracts/shared/InitializableCustom.sol +0 -177
  538. package/contracts/shared/TokenTransferLib.sol +0 -60
@@ -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
  {
@@ -68,6 +79,22 @@
68
79
  "name": "ErrorNftOwnableInitialOwnerZero",
69
80
  "type": "error"
70
81
  },
82
+ {
83
+ "inputs": [
84
+ {
85
+ "internalType": "NftId",
86
+ "name": "nftId",
87
+ "type": "uint96"
88
+ },
89
+ {
90
+ "internalType": "ObjectType",
91
+ "name": "expectedObjectType",
92
+ "type": "uint8"
93
+ }
94
+ ],
95
+ "name": "ErrorNftOwnableInvalidType",
96
+ "type": "error"
97
+ },
71
98
  {
72
99
  "inputs": [
73
100
  {
@@ -90,6 +117,11 @@
90
117
  "name": "ErrorNotRegistry",
91
118
  "type": "error"
92
119
  },
120
+ {
121
+ "inputs": [],
122
+ "name": "ErrorRegisterableNotActive",
123
+ "type": "error"
124
+ },
93
125
  {
94
126
  "inputs": [
95
127
  {
@@ -123,17 +155,6 @@
123
155
  "name": "ErrorRegistryServiceNotComponent",
124
156
  "type": "error"
125
157
  },
126
- {
127
- "inputs": [
128
- {
129
- "internalType": "address",
130
- "name": "notDistribution",
131
- "type": "address"
132
- }
133
- ],
134
- "name": "ErrorRegistryServiceNotDistribution",
135
- "type": "error"
136
- },
137
158
  {
138
159
  "inputs": [
139
160
  {
@@ -149,22 +170,22 @@
149
170
  "inputs": [
150
171
  {
151
172
  "internalType": "address",
152
- "name": "notPool",
173
+ "name": "notProduct",
153
174
  "type": "address"
154
175
  }
155
176
  ],
156
- "name": "ErrorRegistryServiceNotPool",
177
+ "name": "ErrorRegistryServiceNotProduct",
157
178
  "type": "error"
158
179
  },
159
180
  {
160
181
  "inputs": [
161
182
  {
162
183
  "internalType": "address",
163
- "name": "notProduct",
184
+ "name": "notProductLinkedComponent",
164
185
  "type": "address"
165
186
  }
166
187
  ],
167
- "name": "ErrorRegistryServiceNotProduct",
188
+ "name": "ErrorRegistryServiceNotProductLinkedComponent",
168
189
  "type": "error"
169
190
  },
170
191
  {
@@ -335,7 +356,12 @@
335
356
  },
336
357
  {
337
358
  "inputs": [],
338
- "name": "ErrorServiceNotImplemented",
359
+ "name": "ErrorVersionableInitializeNotImplemented",
360
+ "type": "error"
361
+ },
362
+ {
363
+ "inputs": [],
364
+ "name": "ErrorVersionableUpgradeNotImplemented",
339
365
  "type": "error"
340
366
  },
341
367
  {
@@ -348,6 +374,11 @@
348
374
  "name": "NotInitializing",
349
375
  "type": "error"
350
376
  },
377
+ {
378
+ "inputs": [],
379
+ "name": "ReentrancyGuardReentrantCall",
380
+ "type": "error"
381
+ },
351
382
  {
352
383
  "anonymous": false,
353
384
  "inputs": [
@@ -374,6 +405,25 @@
374
405
  "name": "Initialized",
375
406
  "type": "event"
376
407
  },
408
+ {
409
+ "anonymous": false,
410
+ "inputs": [
411
+ {
412
+ "indexed": false,
413
+ "internalType": "NftId",
414
+ "name": "nftId",
415
+ "type": "uint96"
416
+ },
417
+ {
418
+ "indexed": false,
419
+ "internalType": "address",
420
+ "name": "owner",
421
+ "type": "address"
422
+ }
423
+ ],
424
+ "name": "LogNftOwnableNftLinkedToAddress",
425
+ "type": "event"
426
+ },
377
427
  {
378
428
  "inputs": [],
379
429
  "name": "NFT_OWNABLE_STORAGE_LOCATION_V1",
@@ -528,6 +578,19 @@
528
578
  "stateMutability": "view",
529
579
  "type": "function"
530
580
  },
581
+ {
582
+ "inputs": [],
583
+ "name": "getRelease",
584
+ "outputs": [
585
+ {
586
+ "internalType": "VersionPart",
587
+ "name": "release",
588
+ "type": "uint8"
589
+ }
590
+ ],
591
+ "stateMutability": "view",
592
+ "type": "function"
593
+ },
531
594
  {
532
595
  "inputs": [],
533
596
  "name": "getRoleId",
@@ -538,7 +601,7 @@
538
601
  "type": "uint64"
539
602
  }
540
603
  ],
541
- "stateMutability": "pure",
604
+ "stateMutability": "view",
542
605
  "type": "function"
543
606
  },
544
607
  {
@@ -554,121 +617,35 @@
554
617
  "stateMutability": "pure",
555
618
  "type": "function"
556
619
  },
557
- {
558
- "inputs": [],
559
- "name": "initializeERC165",
560
- "outputs": [],
561
- "stateMutability": "nonpayable",
562
- "type": "function"
563
- },
564
- {
565
- "inputs": [
566
- {
567
- "internalType": "address",
568
- "name": "initialOwner",
569
- "type": "address"
570
- },
571
- {
572
- "internalType": "address",
573
- "name": "registryAddress",
574
- "type": "address"
575
- }
576
- ],
577
- "name": "initializeNftOwnable",
578
- "outputs": [],
579
- "stateMutability": "nonpayable",
580
- "type": "function"
581
- },
582
620
  {
583
621
  "inputs": [
584
622
  {
585
623
  "internalType": "address",
586
- "name": "registryAddress",
587
- "type": "address"
588
- },
589
- {
590
- "internalType": "NftId",
591
- "name": "parentNftId",
592
- "type": "uint96"
593
- },
594
- {
595
- "internalType": "ObjectType",
596
- "name": "objectType",
597
- "type": "uint8"
598
- },
599
- {
600
- "internalType": "bool",
601
- "name": "isInterceptor",
602
- "type": "bool"
603
- },
604
- {
605
- "internalType": "address",
606
- "name": "initialOwner",
624
+ "name": "activatedBy",
607
625
  "type": "address"
608
626
  },
609
627
  {
610
628
  "internalType": "bytes",
611
- "name": "registryData",
629
+ "name": "data",
612
630
  "type": "bytes"
613
631
  }
614
632
  ],
615
- "name": "initializeRegisterable",
616
- "outputs": [],
617
- "stateMutability": "nonpayable",
618
- "type": "function"
619
- },
620
- {
621
- "inputs": [
622
- {
623
- "internalType": "address",
624
- "name": "registryAddress",
625
- "type": "address"
626
- }
627
- ],
628
- "name": "initializeRegistryLinked",
629
- "outputs": [],
630
- "stateMutability": "nonpayable",
631
- "type": "function"
632
- },
633
- {
634
- "inputs": [
635
- {
636
- "internalType": "address",
637
- "name": "registry",
638
- "type": "address"
639
- },
640
- {
641
- "internalType": "address",
642
- "name": "authority",
643
- "type": "address"
644
- },
645
- {
646
- "internalType": "address",
647
- "name": "initialOwner",
648
- "type": "address"
649
- }
650
- ],
651
- "name": "initializeService",
633
+ "name": "initializeVersionable",
652
634
  "outputs": [],
653
635
  "stateMutability": "nonpayable",
654
636
  "type": "function"
655
637
  },
656
638
  {
657
- "inputs": [
658
- {
659
- "internalType": "address",
660
- "name": "activatedBy",
661
- "type": "address"
662
- },
639
+ "inputs": [],
640
+ "name": "isActive",
641
+ "outputs": [
663
642
  {
664
- "internalType": "bytes",
665
- "name": "data",
666
- "type": "bytes"
643
+ "internalType": "bool",
644
+ "name": "active",
645
+ "type": "bool"
667
646
  }
668
647
  ],
669
- "name": "initializeVersionable",
670
- "outputs": [],
671
- "stateMutability": "nonpayable",
648
+ "stateMutability": "view",
672
649
  "type": "function"
673
650
  },
674
651
  {
@@ -753,133 +730,6 @@
753
730
  "stateMutability": "nonpayable",
754
731
  "type": "function"
755
732
  },
756
- {
757
- "inputs": [
758
- {
759
- "internalType": "contract IComponent",
760
- "name": "component",
761
- "type": "address"
762
- },
763
- {
764
- "internalType": "ObjectType",
765
- "name": "objectType",
766
- "type": "uint8"
767
- },
768
- {
769
- "internalType": "address",
770
- "name": "initialOwner",
771
- "type": "address"
772
- }
773
- ],
774
- "name": "registerComponent",
775
- "outputs": [
776
- {
777
- "components": [
778
- {
779
- "internalType": "NftId",
780
- "name": "nftId",
781
- "type": "uint96"
782
- },
783
- {
784
- "internalType": "NftId",
785
- "name": "parentNftId",
786
- "type": "uint96"
787
- },
788
- {
789
- "internalType": "ObjectType",
790
- "name": "objectType",
791
- "type": "uint8"
792
- },
793
- {
794
- "internalType": "bool",
795
- "name": "isInterceptor",
796
- "type": "bool"
797
- },
798
- {
799
- "internalType": "address",
800
- "name": "objectAddress",
801
- "type": "address"
802
- },
803
- {
804
- "internalType": "address",
805
- "name": "initialOwner",
806
- "type": "address"
807
- },
808
- {
809
- "internalType": "bytes",
810
- "name": "data",
811
- "type": "bytes"
812
- }
813
- ],
814
- "internalType": "struct IRegistry.ObjectInfo",
815
- "name": "info",
816
- "type": "tuple"
817
- }
818
- ],
819
- "stateMutability": "nonpayable",
820
- "type": "function"
821
- },
822
- {
823
- "inputs": [
824
- {
825
- "internalType": "contract IComponent",
826
- "name": "distribution",
827
- "type": "address"
828
- },
829
- {
830
- "internalType": "address",
831
- "name": "owner",
832
- "type": "address"
833
- }
834
- ],
835
- "name": "registerDistribution",
836
- "outputs": [
837
- {
838
- "components": [
839
- {
840
- "internalType": "NftId",
841
- "name": "nftId",
842
- "type": "uint96"
843
- },
844
- {
845
- "internalType": "NftId",
846
- "name": "parentNftId",
847
- "type": "uint96"
848
- },
849
- {
850
- "internalType": "ObjectType",
851
- "name": "objectType",
852
- "type": "uint8"
853
- },
854
- {
855
- "internalType": "bool",
856
- "name": "isInterceptor",
857
- "type": "bool"
858
- },
859
- {
860
- "internalType": "address",
861
- "name": "objectAddress",
862
- "type": "address"
863
- },
864
- {
865
- "internalType": "address",
866
- "name": "initialOwner",
867
- "type": "address"
868
- },
869
- {
870
- "internalType": "bytes",
871
- "name": "data",
872
- "type": "bytes"
873
- }
874
- ],
875
- "internalType": "struct IRegistry.ObjectInfo",
876
- "name": "info",
877
- "type": "tuple"
878
- }
879
- ],
880
- "stateMutability": "nonpayable",
881
- "type": "function"
882
- },
883
733
  {
884
734
  "inputs": [
885
735
  {
@@ -997,19 +847,6 @@
997
847
  "stateMutability": "nonpayable",
998
848
  "type": "function"
999
849
  },
1000
- {
1001
- "inputs": [
1002
- {
1003
- "internalType": "bytes4",
1004
- "name": "interfaceId",
1005
- "type": "bytes4"
1006
- }
1007
- ],
1008
- "name": "registerInterface",
1009
- "outputs": [],
1010
- "stateMutability": "nonpayable",
1011
- "type": "function"
1012
- },
1013
850
  {
1014
851
  "inputs": [
1015
852
  {
@@ -1070,16 +907,16 @@
1070
907
  "inputs": [
1071
908
  {
1072
909
  "internalType": "contract IComponent",
1073
- "name": "pool",
910
+ "name": "product",
1074
911
  "type": "address"
1075
912
  },
1076
913
  {
1077
914
  "internalType": "address",
1078
- "name": "owner",
915
+ "name": "initialOwner",
1079
916
  "type": "address"
1080
917
  }
1081
918
  ],
1082
- "name": "registerPool",
919
+ "name": "registerProduct",
1083
920
  "outputs": [
1084
921
  {
1085
922
  "components": [
@@ -1131,16 +968,21 @@
1131
968
  "inputs": [
1132
969
  {
1133
970
  "internalType": "contract IComponent",
1134
- "name": "product",
971
+ "name": "component",
1135
972
  "type": "address"
1136
973
  },
974
+ {
975
+ "internalType": "ObjectType",
976
+ "name": "objectType",
977
+ "type": "uint8"
978
+ },
1137
979
  {
1138
980
  "internalType": "address",
1139
- "name": "owner",
981
+ "name": "initialOwner",
1140
982
  "type": "address"
1141
983
  }
1142
984
  ],
1143
- "name": "registerProduct",
985
+ "name": "registerProductLinkedComponent",
1144
986
  "outputs": [
1145
987
  {
1146
988
  "components": [
@@ -1351,22 +1193,34 @@
1351
1193
  "type": "function"
1352
1194
  }
1353
1195
  ],
1354
- "bytecode": "0x6080604052348015600e575f80fd5b5060156019565b60c9565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00805468010000000000000000900460ff161560685760405163f92ee8a960e01b815260040160405180910390fd5b80546001600160401b039081161460c65780546001600160401b0319166001600160401b0390811782556040519081527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50565b612b63806100d65f395ff3fe608060405234801561000f575f80fd5b50600436106101f2575f3560e01c8063675393bf116101145780638fbc2d81116100a9578063c2bf08c811610079578063c2bf08c81461047b578063c4c79d8b1461048e578063d943342d146104a1578063ed841d0c146104b4578063f7c34ee0146104bb575f80fd5b80638fbc2d811461043d578063ada9652e14610450578063b68d180914610464578063bf7e214f14610473575f80fd5b80638105cc7f116100e45780638105cc7f146103fa578063893d20e81461040d5780638e32e979146104155780638fb3603714610428575f80fd5b8063675393bf146103a15780636c741e78146103b45780637286e5e5146103d45780637a9e5e4b146103e7575f80fd5b8063329d6e741161018a5780635ab1bd531161015a5780635ab1bd53146103395780635c992fed1461035e5780635d96628914610371578063644c45e014610384575f80fd5b8063329d6e74146102f857806336fc697e1461030b57806349bb9e4b1461031357806357a8fba714610326575f80fd5b8063138461e0116101c5578063138461e01461027b5780631eff4b221461029b578063214cdb80146102d057806327bb7a33146102e5575f80fd5b806301ffc9a7146101f6578063026bc43b146102375780630d8e6e2c146102575780630fec111c14610273575b5f80fd5b610222610204366004612180565b6001600160e01b0319165f9081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b61024a6102453660046121d2565b6104ce565b60405161022e9190612237565b61025f610686565b60405162ffffff909116815260200161022e565b61024a61070d565b610283610899565b6040516001600160601b03909116815260200161022e565b6102c27f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b60405190815260200161022e565b6102e36102de366004612180565b6108a3565b005b6102e36102f33660046123ff565b6108cf565b6102e3610306366004612492565b610974565b6102e3610abe565b6102e36103213660046124c3565b610b03565b61028361033436600461250f565b610bff565b6001546001600160a01b03165b6040516001600160a01b03909116815260200161022e565b61028361036c36600461250f565b610c8a565b61024a61037f3660046121d2565b610c9f565b5f80516020612ace833981519152546001600160601b0316610283565b6102e36103af3660046125df565b610de5565b6103bc610ef7565b6040516001600160401b03909116815260200161022e565b61024a6103e23660046121d2565b610fed565b6102e36103f53660046125df565b6110a3565b61028361040836600461250f565b611125565b61034661113a565b6102e36104233660046125fa565b61126b565b6104306113a8565b60405161022e9190612642565b61024a61044b3660046121d2565b6113dd565b6102c25f80516020612ace83398151915281565b6040516002815260200161022e565b610346611493565b61028361048936600461250f565b6114ae565b61024a61049c3660046121d2565b6114c3565b61024a6104af366004612657565b6114df565b6102c25f81565b6102e36104c93660046121d2565b611626565b6104d6612143565b6104e2335b5f3661169c565b6040516301ffc9a760e01b81526001600160a01b038416906301ffc9a79061051590632b1cb34b60e11b90600401612642565b602060405180830381865afa158015610530573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610554919061268f565b61058157604051631c8275e960e21b81526001600160a01b03841660048201526024015b60405180910390fd5b61058e83600a5b8461179a565b90506105a26001546001600160a01b031690565b6001600160a01b031663a5df9e4e826040518263ffffffff1660e01b81526004016105cd9190612237565b6020604051808303815f875af11580156105e9573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061060d91906126b5565b6001600160601b0316815260408051629c230f60e51b815290516001600160a01b0385169163138461e091600480830192602092919082900301815f875af115801561065b573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061067f91906126b5565b5092915050565b604051632efe011360e01b8152600360048201525f60248201819052604482018190529073__$8eede297b65ed5a56eb3f84d8232ae93f5$__90632efe011390606401602060405180830381865af41580156106e4573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061070891906126d0565b905090565b610715612143565b5f7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e0016040528073__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af415801561078b573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906107af91906126b5565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a0016107f761113a565b6001600160a01b03168152602001826001018054610814906126f2565b80601f0160208091040260200160405190810160405280929190818152602001828054610840906126f2565b801561088b5780601f106108625761010080835404028352916020019161088b565b820191905f5260205f20905b81548152906001019060200180831161086e57829003601f168201915b505050505081525091505090565b5f61070830611a0b565b6108ab611c04565b6001600160e01b0319165f908152602081905260409020805460ff19166001179055565b6108d7611c04565b6108e18287611626565b7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0387166cffffffffffffffffffffffffff1990911617600160601b60ff8716021760ff60681b1916600160681b851515021781557f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30161096a8382612775565b5050505050505050565b73__$8eede297b65ed5a56eb3f84d8232ae93f5$__63a123b37c610996610686565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af41580156109d4573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906109f89190612843565b5f80516020612b0e8339815191528054600160401b900460ff1680610a2a575080546001600160401b03808416911610155b15610a485760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b178155610a7283611c3c565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a1505050565b610ac6611c04565b6301ffc9a760e01b5f9081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b5f80516020612b0e8339815191528054600160401b810460ff1615906001600160401b03165f81158015610b345750825b90505f826001600160401b03166001148015610b4f5750303b155b905081158015610b5d575080155b15610b7b5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315610ba557845460ff60401b1916600160401b1785555b610baf8787611c44565b8315610bf657845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a15b50505050505050565b5f610c09336104db565b610c1482601c611d5f565b6001546040516352efcf2760e11b81526001600160a01b039091169063a5df9e4e90610c44908590600401612237565b6020604051808303815f875af1158015610c60573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610c8491906126b5565b92915050565b5f610c94336104db565b610c14826015611d5f565b610ca7612143565b610cb0336104db565b6040516301ffc9a760e01b81526001600160a01b038416906301ffc9a790610ce39063a388186360e01b90600401612642565b602060405180830381865afa158015610cfe573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610d22919061268f565b610d4a5760405163704b6c6d60e11b81526001600160a01b0384166004820152602401610578565b610d5583600c610588565b9050610d696001546001600160a01b031690565b6001600160a01b031663a5df9e4e826040518263ffffffff1660e01b8152600401610d949190612237565b6020604051808303815f875af1158015610db0573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610dd491906126b5565b6001600160601b0316815292915050565b610ded611c04565b806001600160a01b03163b5f03610e225760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610578565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b81526301ffc9a790610e68906318788cbb60e11b90600401612642565b602060405180830381865afa925050508015610ea1575060408051601f3d908101601f19168201909252610e9e9181019061268f565b60015b610ec95760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610578565b80610ef25760405163fdeac91f60e01b81526001600160a01b0383166004820152602401610578565b505b50565b5f73__$1d92393fa9ccd763988368ce8a1cb90d26$__63dda777d36002604051632392b61b60e21b81526003600482015273__$b659da7d8a6d2d32aa6c1e17da23dc2174$__90638e4ad86c90602401602060405180830381865af4158015610f62573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610f869190612869565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865af4158015610fc9573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906107089190612843565b610ff5612143565b610ffe336104db565b6040516301ffc9a760e01b81526001600160a01b038416906301ffc9a79061103190636ec6c77160e11b90600401612642565b602060405180830381865afa15801561104c573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611070919061268f565b611098576040516304c983f360e41b81526001600160a01b0384166004820152602401610578565b610d5583600f610588565b336110ac611493565b6001600160a01b0316816001600160a01b0316146110e75760405162d1953b60e31b81526001600160a01b0382166004820152602401610578565b816001600160a01b03163b5f0361111c576040516361798f2f60e11b81526001600160a01b0383166004820152602401610578565b610ef282611eb8565b5f61112f336104db565b610c14826020611d5f565b5f805f80516020612ace83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af41580156111a6573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906111ca919061268f565b15611255576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa15801561122b573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061124f919061288f565b91505090565b54600160601b90046001600160a01b0316919050565b611273611c04565b6112ef83846001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa1580156112b3573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906112d791906126b5565b60085f8560405180602001604052805f8152506108cf565b6001600160a01b0382161561130c5761130782611f18565b611383565b5f6113176002611f29565b9050611381816001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611358573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061137c919061288f565b611f18565b505b611393634a531f3360e01b6108a3565b6113a363daf9067160e01b6108a3565b505050565b5f80516020612aee83398151915280545f9190600160a01b900460ff166113cf575f61124f565b638fb3603760e01b91505090565b6113e5612143565b6113ee336104db565b6040516301ffc9a760e01b81526001600160a01b038416906301ffc9a790611421906301a39f4760e01b90600401612642565b602060405180830381865afa15801561143c573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611460919061268f565b611488576040516367237f5b60e11b81526001600160a01b0384166004820152602401610578565b610d5583600e610588565b5f80516020612aee833981519152546001600160a01b031690565b5f6114b8336104db565b610c1482601e611d5f565b6114cb612143565b6114d4336104db565b610d55836003610588565b6114e7612143565b6114f0336104db565b6040516301ffc9a760e01b81526001600160a01b038516906301ffc9a79061152390632986755f60e11b90600401612642565b602060405180830381865afa15801561153e573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611562919061268f565b61158a57604051632624ae7760e01b81526001600160a01b0385166004820152602401610578565b61159584848461179a565b90506115a96001546001600160a01b031690565b6001600160a01b031663a5df9e4e826040518263ffffffff1660e01b81526004016115d49190612237565b6020604051808303815f875af11580156115f0573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061161491906126b5565b6001600160601b031681529392505050565b61162e611c04565b61163781610de5565b61163f610abe565b6001600160a01b0382166116665760405163f17ef42d60e01b815260040160405180910390fd5b505f80516020612ace83398151915280546001600160601b0316600160601b6001600160a01b0390931692909202919091179055565b5f80516020612aee8339815191525f806116d46116b7611493565b87306116c660045f8a8c6128aa565b6116cf916128d1565b61202a565b91509150816117925763ffffffff81161561176f57825460ff60a01b1916600160a01b178355611702611493565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b815260040161173193929190612907565b5f604051808303815f87803b158015611748575f80fd5b505af115801561175a573d5f803e3d5ffd5b5050845460ff60a01b19168555506117929050565b60405162d1953b60e31b81526001600160a01b0387166004820152602401610578565b505050505050565b6117a2612143565b836001600160a01b0316630fec111c6040518163ffffffff1660e01b81526004015f60405180830381865afa1580156117dd573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526118049190810190612993565b9050836001600160a01b031681608001516001600160a01b0316146118555760808101516040516306704ad960e11b81526001600160a01b0380871660048301529091166024820152604401610578565b604081015160ff8481169116146118a157604080820151905163137f2ac560e31b81526001600160a01b038616600482015260ff80861660248301529091166044820152606401610578565b60a08101516001600160a01b03808216908416146118ed576040516335ce70c360e21b81526001600160a01b038087166004830152808516602483015282166044820152606401610578565b846001600160a01b0316816001600160a01b03160361192a57604051638e80a3f960e01b81526001600160a01b0386166004820152602401610578565b6001600160a01b03811661195c576040516343e40cb560e01b81526001600160a01b0386166004820152602401610578565b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038381166004830152919091169063c3c5a54790602401602060405180830381865afa1580156119ae573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906119d2919061268f565b15611a03576040516309ad872b60e41b81526001600160a01b03808716600483015282166024820152604401610578565b509392505050565b5f805f80516020612ace83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015611a77573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611a9b919061268f565b15611ac75780546040516301ab8b6760e21b81526001600160601b039091166004820152602401610578565b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038581166004830152919091169063c3c5a54790602401602060405180830381865afa158015611b19573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611b3d919061268f565b611b655760405163b9304b0d60e01b81526001600160a01b0384166004820152602401610578565b6001546001600160a01b0316604051636939560f60e11b81526001600160a01b038581166004830152919091169063d272ac1e90602401602060405180830381865afa158015611bb7573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611bdb91906126b5565b81546bffffffffffffffffffffffff19166001600160601b039190911690811790915592915050565b5f80516020612b0e83398151915254600160401b900460ff16611c3a57604051631afcd79f60e31b815260040160405180910390fd5b565b6101f2611c04565b5f80516020612b0e8339815191528054600160401b810460ff1615906001600160401b03165f81158015611c755750825b90505f826001600160401b03166001148015611c905750303b155b905081158015611c9e575080155b15611cbc5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315611ce657845460ff60401b1916600160401b1785555b5f8087806020019051810190611cfc9190612a55565b91509150611d0b82828b61126b565b611d1b6393a3e0eb60e01b6108a3565b50508315610bf657845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d290602001610bed565b60808201516001600160a01b031615611d965760408083015190516340fda83160e11b815260ff9091166004820152602401610578565b604082015160ff828116911614611dd3576040808301519051632e5fbed960e21b815260ff80841660048301529091166024820152604401610578565b60a08201516001600160a01b038116611e0a576040808401519051633312954f60e21b815260ff9091166004820152602401610578565b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038381166004830152919091169063c3c5a54790602401602060405180830381865afa158015611e5c573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611e80919061268f565b156113a357604080840151905163b4139d2560e01b815260ff90911660048201526001600160a01b0382166024820152604401610578565b5f80516020612aee83398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b611f20611c04565b610ef481612132565b5f611f3c6001546001600160a01b031690565b604051632392b61b60e21b8152600360048201526001600160a01b03919091169063d39e604390849073__$b659da7d8a6d2d32aa6c1e17da23dc2174$__90638e4ad86c90602401602060405180830381865af4158015611f9f573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611fc39190612869565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa158015612006573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610c84919061288f565b6040516001600160a01b03848116602483015283811660448301526001600160e01b0319831660648301525f9182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b179052516120989190612a82565b5f60405180830381855afa9150503d805f81146120d0576040519150601f19603f3d011682016040523d82523d5f602084013e6120d5565b606091505b5091509150811561212757604081511061210757808060200190518101906120fd9190612a98565b9094509250612127565b60208151106121275780806020019051810190612124919061268f565b93505b505094509492505050565b61213a611c04565b610ef481611eb8565b6040805160e0810182525f8082526020820181905291810182905260608082018390526080820183905260a082019290925260c081019190915290565b5f60208284031215612190575f80fd5b81356001600160e01b0319811681146121a7575f80fd5b9392505050565b6001600160a01b0381168114610ef4575f80fd5b80356121cd816121ae565b919050565b5f80604083850312156121e3575f80fd5b82356121ee816121ae565b915060208301356121fe816121ae565b809150509250929050565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081526001600160601b0382511660208201526001600160601b03602083015116604082015260ff60408301511660608201525f606083015161227f608084018215159052565b5060808301516001600160a01b03811660a08401525060a08301516001600160a01b03811660c08401525060c083015160e0808401526122c3610100840182612209565b949350505050565b6001600160601b0381168114610ef4575f80fd5b80356121cd816122cb565b60ff81168114610ef4575f80fd5b80356121cd816122ea565b8015158114610ef4575f80fd5b80356121cd81612303565b634e487b7160e01b5f52604160045260245ffd5b60405160e081016001600160401b03811182821017156123515761235161231b565b60405290565b604051601f8201601f191681016001600160401b038111828210171561237f5761237f61231b565b604052919050565b5f6001600160401b0382111561239f5761239f61231b565b50601f01601f191660200190565b5f82601f8301126123bc575f80fd5b81356123cf6123ca82612387565b612357565b8181528460208386010111156123e3575f80fd5b816020850160208301375f918101602001919091529392505050565b5f805f805f8060c08789031215612414575f80fd5b863561241f816121ae565b9550602087013561242f816122cb565b9450604087013561243f816122ea565b9350606087013561244f81612303565b9250608087013561245f816121ae565b915060a08701356001600160401b03811115612479575f80fd5b61248589828a016123ad565b9150509295509295509295565b5f602082840312156124a2575f80fd5b81356001600160401b038111156124b7575f80fd5b6122c3848285016123ad565b5f80604083850312156124d4575f80fd5b82356124df816121ae565b915060208301356001600160401b038111156124f9575f80fd5b612505858286016123ad565b9150509250929050565b5f6020828403121561251f575f80fd5b81356001600160401b03811115612534575f80fd5b820160e08185031215612545575f80fd5b61254d61232f565b612556826122df565b8152612564602083016122df565b6020820152612575604083016122f8565b604082015261258660608301612310565b6060820152612597608083016121c2565b60808201526125a860a083016121c2565b60a082015260c08201356001600160401b038111156125c5575f80fd5b6125d1868285016123ad565b60c083015250949350505050565b5f602082840312156125ef575f80fd5b81356121a7816121ae565b5f805f6060848603121561260c575f80fd5b8335612617816121ae565b92506020840135612627816121ae565b91506040840135612637816121ae565b809150509250925092565b6001600160e01b031991909116815260200190565b5f805f60608486031215612669575f80fd5b8335612674816121ae565b92506020840135612627816122ea565b80516121cd81612303565b5f6020828403121561269f575f80fd5b81516121a781612303565b80516121cd816122cb565b5f602082840312156126c5575f80fd5b81516121a7816122cb565b5f602082840312156126e0575f80fd5b815162ffffff811681146121a7575f80fd5b600181811c9082168061270657607f821691505b60208210810361272457634e487b7160e01b5f52602260045260245ffd5b50919050565b601f8211156113a357805f5260205f20601f840160051c8101602085101561274f5750805b601f840160051c820191505b8181101561276e575f815560010161275b565b5050505050565b81516001600160401b0381111561278e5761278e61231b565b6127a28161279c84546126f2565b8461272a565b6020601f8211600181146127d4575f83156127bd5750848201515b5f19600385901b1c1916600184901b17845561276e565b5f84815260208120601f198516915b8281101561280357878501518255602094850194600190920191016127e3565b508482101561282057868401515f19600387901b60f8161c191681555b50505050600190811b01905550565b6001600160401b0381168114610ef4575f80fd5b5f60208284031215612853575f80fd5b81516121a78161282f565b80516121cd816122ea565b5f60208284031215612879575f80fd5b81516121a7816122ea565b80516121cd816121ae565b5f6020828403121561289f575f80fd5b81516121a7816121ae565b5f80858511156128b8575f80fd5b838611156128c4575f80fd5b5050820193919092039150565b80356001600160e01b0319811690600484101561067f576001600160e01b031960049490940360031b84901b1690921692915050565b6001600160a01b03841681526040602082018190528101829052818360608301375f818301606090810191909152601f909201601f1916010192915050565b5f82601f830112612955575f80fd5b81516129636123ca82612387565b818152846020838601011115612977575f80fd5b8160208501602083015e5f918101602001919091529392505050565b5f602082840312156129a3575f80fd5b81516001600160401b038111156129b8575f80fd5b820160e081850312156129c9575f80fd5b6129d161232f565b6129da826126aa565b81526129e8602083016126aa565b60208201526129f96040830161285e565b6040820152612a0a60608301612684565b6060820152612a1b60808301612884565b6080820152612a2c60a08301612884565b60a082015260c08201516001600160401b03811115612a49575f80fd5b6125d186828501612946565b5f8060408385031215612a66575f80fd5b8251612a71816121ae565b60208401519092506121fe816121ae565b5f82518060208501845e5f920191825250919050565b5f8060408385031215612aa9575f80fd5b8251612ab481612303565b602084015190925063ffffffff811681146121fe575f80fdfe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00f0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00a264697066735822122018601965cd0d990c035955b847f61f5356a45d74e71955323b373a02fa407a4b64736f6c634300081a0033",
1355
- "deployedBytecode": "0x608060405234801561000f575f80fd5b50600436106101f2575f3560e01c8063675393bf116101145780638fbc2d81116100a9578063c2bf08c811610079578063c2bf08c81461047b578063c4c79d8b1461048e578063d943342d146104a1578063ed841d0c146104b4578063f7c34ee0146104bb575f80fd5b80638fbc2d811461043d578063ada9652e14610450578063b68d180914610464578063bf7e214f14610473575f80fd5b80638105cc7f116100e45780638105cc7f146103fa578063893d20e81461040d5780638e32e979146104155780638fb3603714610428575f80fd5b8063675393bf146103a15780636c741e78146103b45780637286e5e5146103d45780637a9e5e4b146103e7575f80fd5b8063329d6e741161018a5780635ab1bd531161015a5780635ab1bd53146103395780635c992fed1461035e5780635d96628914610371578063644c45e014610384575f80fd5b8063329d6e74146102f857806336fc697e1461030b57806349bb9e4b1461031357806357a8fba714610326575f80fd5b8063138461e0116101c5578063138461e01461027b5780631eff4b221461029b578063214cdb80146102d057806327bb7a33146102e5575f80fd5b806301ffc9a7146101f6578063026bc43b146102375780630d8e6e2c146102575780630fec111c14610273575b5f80fd5b610222610204366004612180565b6001600160e01b0319165f9081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b61024a6102453660046121d2565b6104ce565b60405161022e9190612237565b61025f610686565b60405162ffffff909116815260200161022e565b61024a61070d565b610283610899565b6040516001600160601b03909116815260200161022e565b6102c27f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b60405190815260200161022e565b6102e36102de366004612180565b6108a3565b005b6102e36102f33660046123ff565b6108cf565b6102e3610306366004612492565b610974565b6102e3610abe565b6102e36103213660046124c3565b610b03565b61028361033436600461250f565b610bff565b6001546001600160a01b03165b6040516001600160a01b03909116815260200161022e565b61028361036c36600461250f565b610c8a565b61024a61037f3660046121d2565b610c9f565b5f80516020612ace833981519152546001600160601b0316610283565b6102e36103af3660046125df565b610de5565b6103bc610ef7565b6040516001600160401b03909116815260200161022e565b61024a6103e23660046121d2565b610fed565b6102e36103f53660046125df565b6110a3565b61028361040836600461250f565b611125565b61034661113a565b6102e36104233660046125fa565b61126b565b6104306113a8565b60405161022e9190612642565b61024a61044b3660046121d2565b6113dd565b6102c25f80516020612ace83398151915281565b6040516002815260200161022e565b610346611493565b61028361048936600461250f565b6114ae565b61024a61049c3660046121d2565b6114c3565b61024a6104af366004612657565b6114df565b6102c25f81565b6102e36104c93660046121d2565b611626565b6104d6612143565b6104e2335b5f3661169c565b6040516301ffc9a760e01b81526001600160a01b038416906301ffc9a79061051590632b1cb34b60e11b90600401612642565b602060405180830381865afa158015610530573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610554919061268f565b61058157604051631c8275e960e21b81526001600160a01b03841660048201526024015b60405180910390fd5b61058e83600a5b8461179a565b90506105a26001546001600160a01b031690565b6001600160a01b031663a5df9e4e826040518263ffffffff1660e01b81526004016105cd9190612237565b6020604051808303815f875af11580156105e9573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061060d91906126b5565b6001600160601b0316815260408051629c230f60e51b815290516001600160a01b0385169163138461e091600480830192602092919082900301815f875af115801561065b573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061067f91906126b5565b5092915050565b604051632efe011360e01b8152600360048201525f60248201819052604482018190529073__$8eede297b65ed5a56eb3f84d8232ae93f5$__90632efe011390606401602060405180830381865af41580156106e4573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061070891906126d0565b905090565b610715612143565b5f7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e0016040528073__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af415801561078b573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906107af91906126b5565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a0016107f761113a565b6001600160a01b03168152602001826001018054610814906126f2565b80601f0160208091040260200160405190810160405280929190818152602001828054610840906126f2565b801561088b5780601f106108625761010080835404028352916020019161088b565b820191905f5260205f20905b81548152906001019060200180831161086e57829003601f168201915b505050505081525091505090565b5f61070830611a0b565b6108ab611c04565b6001600160e01b0319165f908152602081905260409020805460ff19166001179055565b6108d7611c04565b6108e18287611626565b7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0387166cffffffffffffffffffffffffff1990911617600160601b60ff8716021760ff60681b1916600160681b851515021781557f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30161096a8382612775565b5050505050505050565b73__$8eede297b65ed5a56eb3f84d8232ae93f5$__63a123b37c610996610686565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af41580156109d4573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906109f89190612843565b5f80516020612b0e8339815191528054600160401b900460ff1680610a2a575080546001600160401b03808416911610155b15610a485760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b178155610a7283611c3c565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a1505050565b610ac6611c04565b6301ffc9a760e01b5f9081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b5f80516020612b0e8339815191528054600160401b810460ff1615906001600160401b03165f81158015610b345750825b90505f826001600160401b03166001148015610b4f5750303b155b905081158015610b5d575080155b15610b7b5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315610ba557845460ff60401b1916600160401b1785555b610baf8787611c44565b8315610bf657845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a15b50505050505050565b5f610c09336104db565b610c1482601c611d5f565b6001546040516352efcf2760e11b81526001600160a01b039091169063a5df9e4e90610c44908590600401612237565b6020604051808303815f875af1158015610c60573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610c8491906126b5565b92915050565b5f610c94336104db565b610c14826015611d5f565b610ca7612143565b610cb0336104db565b6040516301ffc9a760e01b81526001600160a01b038416906301ffc9a790610ce39063a388186360e01b90600401612642565b602060405180830381865afa158015610cfe573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610d22919061268f565b610d4a5760405163704b6c6d60e11b81526001600160a01b0384166004820152602401610578565b610d5583600c610588565b9050610d696001546001600160a01b031690565b6001600160a01b031663a5df9e4e826040518263ffffffff1660e01b8152600401610d949190612237565b6020604051808303815f875af1158015610db0573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610dd491906126b5565b6001600160601b0316815292915050565b610ded611c04565b806001600160a01b03163b5f03610e225760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610578565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b81526301ffc9a790610e68906318788cbb60e11b90600401612642565b602060405180830381865afa925050508015610ea1575060408051601f3d908101601f19168201909252610e9e9181019061268f565b60015b610ec95760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610578565b80610ef25760405163fdeac91f60e01b81526001600160a01b0383166004820152602401610578565b505b50565b5f73__$1d92393fa9ccd763988368ce8a1cb90d26$__63dda777d36002604051632392b61b60e21b81526003600482015273__$b659da7d8a6d2d32aa6c1e17da23dc2174$__90638e4ad86c90602401602060405180830381865af4158015610f62573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610f869190612869565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865af4158015610fc9573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906107089190612843565b610ff5612143565b610ffe336104db565b6040516301ffc9a760e01b81526001600160a01b038416906301ffc9a79061103190636ec6c77160e11b90600401612642565b602060405180830381865afa15801561104c573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611070919061268f565b611098576040516304c983f360e41b81526001600160a01b0384166004820152602401610578565b610d5583600f610588565b336110ac611493565b6001600160a01b0316816001600160a01b0316146110e75760405162d1953b60e31b81526001600160a01b0382166004820152602401610578565b816001600160a01b03163b5f0361111c576040516361798f2f60e11b81526001600160a01b0383166004820152602401610578565b610ef282611eb8565b5f61112f336104db565b610c14826020611d5f565b5f805f80516020612ace83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af41580156111a6573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906111ca919061268f565b15611255576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa15801561122b573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061124f919061288f565b91505090565b54600160601b90046001600160a01b0316919050565b611273611c04565b6112ef83846001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa1580156112b3573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906112d791906126b5565b60085f8560405180602001604052805f8152506108cf565b6001600160a01b0382161561130c5761130782611f18565b611383565b5f6113176002611f29565b9050611381816001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611358573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061137c919061288f565b611f18565b505b611393634a531f3360e01b6108a3565b6113a363daf9067160e01b6108a3565b505050565b5f80516020612aee83398151915280545f9190600160a01b900460ff166113cf575f61124f565b638fb3603760e01b91505090565b6113e5612143565b6113ee336104db565b6040516301ffc9a760e01b81526001600160a01b038416906301ffc9a790611421906301a39f4760e01b90600401612642565b602060405180830381865afa15801561143c573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611460919061268f565b611488576040516367237f5b60e11b81526001600160a01b0384166004820152602401610578565b610d5583600e610588565b5f80516020612aee833981519152546001600160a01b031690565b5f6114b8336104db565b610c1482601e611d5f565b6114cb612143565b6114d4336104db565b610d55836003610588565b6114e7612143565b6114f0336104db565b6040516301ffc9a760e01b81526001600160a01b038516906301ffc9a79061152390632986755f60e11b90600401612642565b602060405180830381865afa15801561153e573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611562919061268f565b61158a57604051632624ae7760e01b81526001600160a01b0385166004820152602401610578565b61159584848461179a565b90506115a96001546001600160a01b031690565b6001600160a01b031663a5df9e4e826040518263ffffffff1660e01b81526004016115d49190612237565b6020604051808303815f875af11580156115f0573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061161491906126b5565b6001600160601b031681529392505050565b61162e611c04565b61163781610de5565b61163f610abe565b6001600160a01b0382166116665760405163f17ef42d60e01b815260040160405180910390fd5b505f80516020612ace83398151915280546001600160601b0316600160601b6001600160a01b0390931692909202919091179055565b5f80516020612aee8339815191525f806116d46116b7611493565b87306116c660045f8a8c6128aa565b6116cf916128d1565b61202a565b91509150816117925763ffffffff81161561176f57825460ff60a01b1916600160a01b178355611702611493565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b815260040161173193929190612907565b5f604051808303815f87803b158015611748575f80fd5b505af115801561175a573d5f803e3d5ffd5b5050845460ff60a01b19168555506117929050565b60405162d1953b60e31b81526001600160a01b0387166004820152602401610578565b505050505050565b6117a2612143565b836001600160a01b0316630fec111c6040518163ffffffff1660e01b81526004015f60405180830381865afa1580156117dd573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526118049190810190612993565b9050836001600160a01b031681608001516001600160a01b0316146118555760808101516040516306704ad960e11b81526001600160a01b0380871660048301529091166024820152604401610578565b604081015160ff8481169116146118a157604080820151905163137f2ac560e31b81526001600160a01b038616600482015260ff80861660248301529091166044820152606401610578565b60a08101516001600160a01b03808216908416146118ed576040516335ce70c360e21b81526001600160a01b038087166004830152808516602483015282166044820152606401610578565b846001600160a01b0316816001600160a01b03160361192a57604051638e80a3f960e01b81526001600160a01b0386166004820152602401610578565b6001600160a01b03811661195c576040516343e40cb560e01b81526001600160a01b0386166004820152602401610578565b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038381166004830152919091169063c3c5a54790602401602060405180830381865afa1580156119ae573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906119d2919061268f565b15611a03576040516309ad872b60e41b81526001600160a01b03808716600483015282166024820152604401610578565b509392505050565b5f805f80516020612ace83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015611a77573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611a9b919061268f565b15611ac75780546040516301ab8b6760e21b81526001600160601b039091166004820152602401610578565b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038581166004830152919091169063c3c5a54790602401602060405180830381865afa158015611b19573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611b3d919061268f565b611b655760405163b9304b0d60e01b81526001600160a01b0384166004820152602401610578565b6001546001600160a01b0316604051636939560f60e11b81526001600160a01b038581166004830152919091169063d272ac1e90602401602060405180830381865afa158015611bb7573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611bdb91906126b5565b81546bffffffffffffffffffffffff19166001600160601b039190911690811790915592915050565b5f80516020612b0e83398151915254600160401b900460ff16611c3a57604051631afcd79f60e31b815260040160405180910390fd5b565b6101f2611c04565b5f80516020612b0e8339815191528054600160401b810460ff1615906001600160401b03165f81158015611c755750825b90505f826001600160401b03166001148015611c905750303b155b905081158015611c9e575080155b15611cbc5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315611ce657845460ff60401b1916600160401b1785555b5f8087806020019051810190611cfc9190612a55565b91509150611d0b82828b61126b565b611d1b6393a3e0eb60e01b6108a3565b50508315610bf657845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d290602001610bed565b60808201516001600160a01b031615611d965760408083015190516340fda83160e11b815260ff9091166004820152602401610578565b604082015160ff828116911614611dd3576040808301519051632e5fbed960e21b815260ff80841660048301529091166024820152604401610578565b60a08201516001600160a01b038116611e0a576040808401519051633312954f60e21b815260ff9091166004820152602401610578565b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038381166004830152919091169063c3c5a54790602401602060405180830381865afa158015611e5c573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611e80919061268f565b156113a357604080840151905163b4139d2560e01b815260ff90911660048201526001600160a01b0382166024820152604401610578565b5f80516020612aee83398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b611f20611c04565b610ef481612132565b5f611f3c6001546001600160a01b031690565b604051632392b61b60e21b8152600360048201526001600160a01b03919091169063d39e604390849073__$b659da7d8a6d2d32aa6c1e17da23dc2174$__90638e4ad86c90602401602060405180830381865af4158015611f9f573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611fc39190612869565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa158015612006573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610c84919061288f565b6040516001600160a01b03848116602483015283811660448301526001600160e01b0319831660648301525f9182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b179052516120989190612a82565b5f60405180830381855afa9150503d805f81146120d0576040519150601f19603f3d011682016040523d82523d5f602084013e6120d5565b606091505b5091509150811561212757604081511061210757808060200190518101906120fd9190612a98565b9094509250612127565b60208151106121275780806020019051810190612124919061268f565b93505b505094509492505050565b61213a611c04565b610ef481611eb8565b6040805160e0810182525f8082526020820181905291810182905260608082018390526080820183905260a082019290925260c081019190915290565b5f60208284031215612190575f80fd5b81356001600160e01b0319811681146121a7575f80fd5b9392505050565b6001600160a01b0381168114610ef4575f80fd5b80356121cd816121ae565b919050565b5f80604083850312156121e3575f80fd5b82356121ee816121ae565b915060208301356121fe816121ae565b809150509250929050565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081526001600160601b0382511660208201526001600160601b03602083015116604082015260ff60408301511660608201525f606083015161227f608084018215159052565b5060808301516001600160a01b03811660a08401525060a08301516001600160a01b03811660c08401525060c083015160e0808401526122c3610100840182612209565b949350505050565b6001600160601b0381168114610ef4575f80fd5b80356121cd816122cb565b60ff81168114610ef4575f80fd5b80356121cd816122ea565b8015158114610ef4575f80fd5b80356121cd81612303565b634e487b7160e01b5f52604160045260245ffd5b60405160e081016001600160401b03811182821017156123515761235161231b565b60405290565b604051601f8201601f191681016001600160401b038111828210171561237f5761237f61231b565b604052919050565b5f6001600160401b0382111561239f5761239f61231b565b50601f01601f191660200190565b5f82601f8301126123bc575f80fd5b81356123cf6123ca82612387565b612357565b8181528460208386010111156123e3575f80fd5b816020850160208301375f918101602001919091529392505050565b5f805f805f8060c08789031215612414575f80fd5b863561241f816121ae565b9550602087013561242f816122cb565b9450604087013561243f816122ea565b9350606087013561244f81612303565b9250608087013561245f816121ae565b915060a08701356001600160401b03811115612479575f80fd5b61248589828a016123ad565b9150509295509295509295565b5f602082840312156124a2575f80fd5b81356001600160401b038111156124b7575f80fd5b6122c3848285016123ad565b5f80604083850312156124d4575f80fd5b82356124df816121ae565b915060208301356001600160401b038111156124f9575f80fd5b612505858286016123ad565b9150509250929050565b5f6020828403121561251f575f80fd5b81356001600160401b03811115612534575f80fd5b820160e08185031215612545575f80fd5b61254d61232f565b612556826122df565b8152612564602083016122df565b6020820152612575604083016122f8565b604082015261258660608301612310565b6060820152612597608083016121c2565b60808201526125a860a083016121c2565b60a082015260c08201356001600160401b038111156125c5575f80fd5b6125d1868285016123ad565b60c083015250949350505050565b5f602082840312156125ef575f80fd5b81356121a7816121ae565b5f805f6060848603121561260c575f80fd5b8335612617816121ae565b92506020840135612627816121ae565b91506040840135612637816121ae565b809150509250925092565b6001600160e01b031991909116815260200190565b5f805f60608486031215612669575f80fd5b8335612674816121ae565b92506020840135612627816122ea565b80516121cd81612303565b5f6020828403121561269f575f80fd5b81516121a781612303565b80516121cd816122cb565b5f602082840312156126c5575f80fd5b81516121a7816122cb565b5f602082840312156126e0575f80fd5b815162ffffff811681146121a7575f80fd5b600181811c9082168061270657607f821691505b60208210810361272457634e487b7160e01b5f52602260045260245ffd5b50919050565b601f8211156113a357805f5260205f20601f840160051c8101602085101561274f5750805b601f840160051c820191505b8181101561276e575f815560010161275b565b5050505050565b81516001600160401b0381111561278e5761278e61231b565b6127a28161279c84546126f2565b8461272a565b6020601f8211600181146127d4575f83156127bd5750848201515b5f19600385901b1c1916600184901b17845561276e565b5f84815260208120601f198516915b8281101561280357878501518255602094850194600190920191016127e3565b508482101561282057868401515f19600387901b60f8161c191681555b50505050600190811b01905550565b6001600160401b0381168114610ef4575f80fd5b5f60208284031215612853575f80fd5b81516121a78161282f565b80516121cd816122ea565b5f60208284031215612879575f80fd5b81516121a7816122ea565b80516121cd816121ae565b5f6020828403121561289f575f80fd5b81516121a7816121ae565b5f80858511156128b8575f80fd5b838611156128c4575f80fd5b5050820193919092039150565b80356001600160e01b0319811690600484101561067f576001600160e01b031960049490940360031b84901b1690921692915050565b6001600160a01b03841681526040602082018190528101829052818360608301375f818301606090810191909152601f909201601f1916010192915050565b5f82601f830112612955575f80fd5b81516129636123ca82612387565b818152846020838601011115612977575f80fd5b8160208501602083015e5f918101602001919091529392505050565b5f602082840312156129a3575f80fd5b81516001600160401b038111156129b8575f80fd5b820160e081850312156129c9575f80fd5b6129d161232f565b6129da826126aa565b81526129e8602083016126aa565b60208201526129f96040830161285e565b6040820152612a0a60608301612684565b6060820152612a1b60808301612884565b6080820152612a2c60a08301612884565b60a082015260c08201516001600160401b03811115612a49575f80fd5b6125d186828501612946565b5f8060408385031215612a66575f80fd5b8251612a71816121ae565b60208401519092506121fe816121ae565b5f82518060208501845e5f920191825250919050565b5f8060408385031215612aa9575f80fd5b8251612ab481612303565b602084015190925063ffffffff811681146121fe575f80fdfe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00f0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00a264697066735822122018601965cd0d990c035955b847f61f5356a45d74e71955323b373a02fa407a4b64736f6c634300081a0033",
1196
+ "bytecode": "0x6080604052348015600e575f80fd5b5060156019565b60c9565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00805468010000000000000000900460ff161560685760405163f92ee8a960e01b815260040160405180910390fd5b80546001600160401b039081161460c65780546001600160401b0319166001600160401b0390811782556040519081527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50565b6128cb806100d65f395ff3fe608060405234801561000f575f80fd5b50600436106101a1575f3560e01c80635d966289116100f35780638fb3603711610093578063bf7e214f1161006e578063bf7e214f146103e1578063c2bf08c8146103e9578063c4c79d8b146103fc578063ed841d0c1461040f575f80fd5b80638fb36037146103a5578063ada9652e146103c6578063b68d1809146103da575f80fd5b806376b707b7116100ce57806376b707b71461035d5780637a9e5e4b146103775780638105cc7f1461038a578063893d20e81461039d575f80fd5b80635d9662891461030d578063644c45e0146103205780636c741e781461033d575f80fd5b806322f3e2d41161015e57806349bb9e4b1161013957806349bb9e4b146102af57806357a8fba7146102c25780635ab1bd53146102d55780635c992fed146102fa575f80fd5b806322f3e2d41461027f578063329d6e74146102875780633f429c921461029c575f80fd5b806301ffc9a7146101a5578063026bc43b146101e65780630d8e6e2c146102065780630fec111c14610222578063138461e01461022a5780631eff4b221461024a575b5f80fd5b6101d16101b3366004611fdd565b6001600160e01b0319165f9081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b6101f96101f436600461202f565b610416565b6040516101dd9190612094565b61020e6105cc565b60405162ffffff90911681526020016101dd565b6101f9610653565b6102326107df565b6040516001600160601b0390911681526020016101dd565b6102717f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b6040519081526020016101dd565b6101d16107e9565b61029a61029536600461220c565b610860565b005b6101f96102aa366004612256565b6109bd565b61029a6102bd36600461229e565b610b4a565b6102326102d0366004612321565b610c58565b6001546001600160a01b03165b6040516001600160a01b0390911681526020016101dd565b610232610308366004612321565b610ce3565b6101f961031b36600461202f565b610cf8565b5f80516020612856833981519152546001600160601b0316610232565b610345610e39565b6040516001600160401b0390911681526020016101dd565b610365610ec5565b60405160ff90911681526020016101dd565b61029a6103853660046123f1565b610f2d565b610232610398366004612321565b610fb3565b6102e2610fc8565b6103ad6110f9565b6040516001600160e01b031990911681526020016101dd565b6102715f8051602061285683398151915281565b6002610365565b6102e261112e565b6102326103f7366004612321565b611149565b6101f961040a36600461202f565b61115e565b6102715f81565b61041e611fa0565b61042a335b5f3661117a565b6040516301ffc9a760e01b81526001622370f560e21b031960048201526001600160a01b038416906301ffc9a790602401602060405180830381865afa158015610476573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061049a9190612417565b6104c757604051631c8275e960e21b81526001600160a01b03841660048201526024015b60405180910390fd5b6104d483600a5b84611278565b90506104e86001546001600160a01b031690565b6001600160a01b031663a5df9e4e826040518263ffffffff1660e01b81526004016105139190612094565b6020604051808303815f875af115801561052f573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610553919061243d565b6001600160601b0316815260408051629c230f60e51b815290516001600160a01b0385169163138461e091600480830192602092919082900301815f875af11580156105a1573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906105c5919061243d565b5092915050565b604051632efe011360e01b8152600360048201525f60248201819052604482018190529073__$8eede297b65ed5a56eb3f84d8232ae93f5$__90632efe011390606401602060405180830381865af415801561062a573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061064e9190612458565b905090565b61065b611fa0565b5f7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e0016040528073__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af41580156106d1573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906106f5919061243d565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a00161073d610fc8565b6001600160a01b0316815260200182600101805461075a9061247a565b80601f01602080910402602001604051908101604052809291908181526020018280546107869061247a565b80156107d15780601f106107a8576101008083540402835291602001916107d1565b820191905f5260205f20905b8154815290600101906020018083116107b457829003601f168201915b505050505081525091505090565b5f61064e306114e9565b5f6107f261112e565b60405163a166aa8960e01b81523060048201526001600160a01b03919091169063a166aa8990602401602060405180830381865afa158015610836573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061085a9190612417565b15905090565b73__$8eede297b65ed5a56eb3f84d8232ae93f5$__63a123b37c6108826105cc565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af41580156108c0573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906108e491906124c6565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a008054600160401b900460ff1680610929575080546001600160401b03808416911610155b156109475760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b1781556109718361173f565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a1505050565b6109c5611fa0565b6109ce33610423565b6040516301ffc9a760e01b81526306e9e5ff60e31b60048201526001600160a01b038516906301ffc9a790602401602060405180830381865afa158015610a17573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610a3b9190612417565b610a6357604051632624ae7760e01b81526001600160a01b03851660048201526024016104be565b60ff8316600e1480610a78575060ff8316600d145b80610a86575060ff8316600f145b610aae576040516329e5065360e11b81526001600160a01b03851660048201526024016104be565b610ab9848484611278565b9050610acd6001546001600160a01b031690565b6001600160a01b031663a5df9e4e826040518263ffffffff1660e01b8152600401610af89190612094565b6020604051808303815f875af1158015610b14573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b38919061243d565b6001600160601b031681529392505050565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a008054600160401b810460ff1615906001600160401b03165f81158015610b8e5750825b90505f826001600160401b03166001148015610ba95750303b155b905081158015610bb7575080155b15610bd55760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315610bff57845460ff60401b1916600160401b1785555b610c098787611760565b8315610c4f57845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50505050505050565b5f610c6233610423565b610c6d8260176117a3565b6001546040516352efcf2760e11b81526001600160a01b039091169063a5df9e4e90610c9d908590600401612094565b6020604051808303815f875af1158015610cb9573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610cdd919061243d565b92915050565b5f610ced33610423565b610c6d8260156117a3565b610d00611fa0565b610d0933610423565b6040516301ffc9a760e01b8152630cdf80bd60e31b60048201526001600160a01b038416906301ffc9a790602401602060405180830381865afa158015610d52573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610d769190612417565b610d9e5760405163704b6c6d60e11b81526001600160a01b03841660048201526024016104be565b610da983600c6104ce565b9050610dbd6001546001600160a01b031690565b6001600160a01b031663a5df9e4e826040518263ffffffff1660e01b8152600401610de89190612094565b6020604051808303815f875af1158015610e04573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610e28919061243d565b6001600160601b0316815292915050565b5f73__$1d92393fa9ccd763988368ce8a1cb90d26$__63645ceefe6002610e5e610ec5565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865af4158015610ea1573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061064e91906124c6565b5f610ece61112e565b6001600160a01b03166376b707b76040518163ffffffff1660e01b8152600401602060405180830381865afa158015610f09573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061064e91906124ec565b33610f3661112e565b6001600160a01b0316816001600160a01b031614610f715760405162d1953b60e31b81526001600160a01b03821660048201526024016104be565b816001600160a01b03163b5f03610fa6576040516361798f2f60e11b81526001600160a01b03831660048201526024016104be565b610faf826119f0565b5050565b5f610fbd33610423565b610c6d82601e6117a3565b5f805f8051602061285683398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015611034573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906110589190612417565b156110e3576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa1580156110b9573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906110dd9190612512565b91505090565b54600160601b90046001600160a01b0316919050565b5f8051602061287683398151915280545f9190600160a01b900460ff16611120575f6110dd565b638fb3603760e01b91505090565b5f80516020612876833981519152546001600160a01b031690565b5f61115333610423565b610c6d8260166117a3565b611166611fa0565b61116f33610423565b610da98360036104ce565b5f805160206128768339815191525f806111b261119561112e565b87306111a460045f8a8c61252d565b6111ad91612554565b611a50565b91509150816112705763ffffffff81161561124d57825460ff60a01b1916600160a01b1783556111e061112e565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b815260040161120f9392919061258a565b5f604051808303815f87803b158015611226575f80fd5b505af1158015611238573d5f803e3d5ffd5b5050845460ff60a01b19168555506112709050565b60405162d1953b60e31b81526001600160a01b03871660048201526024016104be565b505050505050565b611280611fa0565b836001600160a01b0316630fec111c6040518163ffffffff1660e01b81526004015f60405180830381865afa1580156112bb573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526112e29190810190612616565b9050836001600160a01b031681608001516001600160a01b0316146113335760808101516040516306704ad960e11b81526001600160a01b03808716600483015290911660248201526044016104be565b604081015160ff84811691161461137f57604080820151905163137f2ac560e31b81526001600160a01b038616600482015260ff808616602483015290911660448201526064016104be565b60a08101516001600160a01b03808216908416146113cb576040516335ce70c360e21b81526001600160a01b0380871660048301528085166024830152821660448201526064016104be565b846001600160a01b0316816001600160a01b03160361140857604051638e80a3f960e01b81526001600160a01b03861660048201526024016104be565b6001600160a01b03811661143a576040516343e40cb560e01b81526001600160a01b03861660048201526024016104be565b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038381166004830152919091169063c3c5a54790602401602060405180830381865afa15801561148c573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906114b09190612417565b156114e1576040516309ad872b60e41b81526001600160a01b038087166004830152821660248201526044016104be565b509392505050565b5f805f8051602061285683398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015611555573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906115799190612417565b156115a55780546040516301ab8b6760e21b81526001600160601b0390911660048201526024016104be565b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038581166004830152919091169063c3c5a54790602401602060405180830381865afa1580156115f7573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061161b9190612417565b6116435760405163b9304b0d60e01b81526001600160a01b03841660048201526024016104be565b6001546001600160a01b0316604051632f2a35f760e11b81526001600160a01b0385811660048301529190911690635e546bee90602401602060405180830381865afa158015611695573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906116b9919061243d565b81546bffffffffffffffffffffffff19166001600160601b039190911690811782557f88857b75cbef7f257c9d5a473e28aaf6a91cc28f717f60f2cda3bcf5623d7b5490611705610fc8565b604080516001600160601b0390931683526001600160a01b0390911660208301520160405180910390a1546001600160601b031692915050565b611747611b58565b60405163502ec37160e01b815260040160405180910390fd5b611768611b58565b5f808280602001905181019061177e91906126d8565b9150915061178d828286611ba3565b61179d6328342add60e01b611c3c565b50505050565b60808201516001600160a01b0316156117da5760408083015190516340fda83160e11b815260ff90911660048201526024016104be565b604082015160ff828116911614611817576040808301519051632e5fbed960e21b815260ff808416600483015290911660248201526044016104be565b60a08201516001600160a01b03811661184e576040808401519051633312954f60e21b815260ff90911660048201526024016104be565b336001600160a01b0382160361188257604051633bb3291360e01b81526001600160a01b03821660048201526024016104be565b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038381166004830152919091169063c3c5a54790602401602060405180830381865afa1580156118d4573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906118f89190612417565b156119eb575f6119106001546001600160a01b031690565b6040516308b09a5f60e41b81526001600160a01b0384811660048301529190911690638b09a5f0906024015f60405180830381865afa158015611955573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f1916820160405261197c9190810190612616565b60400151905060ff811660021480611997575060ff81166003145b806119a5575060ff81166008145b806119b3575060ff8116600a145b1561179d57604080850151905163b4139d2560e01b815260ff90911660048201526001600160a01b03831660248201526044016104be565b505050565b5f8051602061287683398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b6040516001600160a01b03848116602483015283811660448301526001600160e01b0319831660648301525f9182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b17905251611abe9190612705565b5f60405180830381855afa9150503d805f8114611af6576040519150601f19603f3d011682016040523d82523d5f602084013e611afb565b606091505b50915091508115611b4d576040815110611b2d5780806020019051810190611b23919061271b565b9094509250611b4d565b6020815110611b4d5780806020019051810190611b4a9190612417565b93505b505094509492505050565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a0054600160401b900460ff16611ba157604051631afcd79f60e31b815260040160405180910390fd5b565b611bab611b58565b611bb3611c6f565b611c308383846001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa158015611bf4573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611c18919061243d565b60085f8660405180602001604052805f815250611c7f565b6119eb63daf9067160e01b5b611c44611b58565b611c6c816001600160e01b0319165f908152602081905260409020805460ff19166001179055565b50565b611c77611b58565b611ba1611dc6565b611c87611b58565b604051632330f24760e01b81526001600160a01b038816600482015273__$fb599632d08395912d9d70eb2f0f93b5e2$__90632330f24790602401602060405180830381865af4158015611cdd573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611d019190612417565b611d295760405163cf6935e560e01b81526001600160a01b03881660048201526024016104be565b611d3287611df4565b611d3c8683611e05565b5f7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166cffffffffffffffffffffffffff1990911617600160601b60ff8816021760ff60681b1916600160681b86151502178155905060018101611dab838261279b565b50611dbc634a531f3360e01b611c3c565b5050505050505050565b611dce611b58565b60017f9b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f0055565b611dfc611b58565b611c6c81611e7b565b611e0d611b58565b611e15611e8c565b611e1e82611ed4565b6001600160a01b038116611e455760405163f17ef42d60e01b815260040160405180910390fd5b5f8051602061285683398151915280546001600160601b0316600160601b6001600160a01b039093169290920291909117905550565b611e83611b58565b611c6c816119f0565b611e94611b58565b611ba16301ffc9a760e01b5f9081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b611edc611b58565b604051633334d16b60e01b81526001600160a01b038216600482015273__$fb599632d08395912d9d70eb2f0f93b5e2$__90633334d16b90602401602060405180830381865af4158015611f32573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611f569190612417565b611f7e5760405163fdeac91f60e01b81526001600160a01b03821660048201526024016104be565b600180546001600160a01b0319166001600160a01b0392909216919091179055565b6040805160e0810182525f8082526020820181905291810182905260608082018390526080820183905260a082019290925260c081019190915290565b5f60208284031215611fed575f80fd5b81356001600160e01b031981168114612004575f80fd5b9392505050565b6001600160a01b0381168114611c6c575f80fd5b803561202a8161200b565b919050565b5f8060408385031215612040575f80fd5b823561204b8161200b565b9150602083013561205b8161200b565b809150509250929050565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081526001600160601b0382511660208201526001600160601b03602083015116604082015260ff60408301511660608201525f60608301516120dc608084018215159052565b5060808301516001600160a01b03811660a08401525060a08301516001600160a01b03811660c08401525060c083015160e080840152612120610100840182612066565b949350505050565b634e487b7160e01b5f52604160045260245ffd5b60405160e081016001600160401b038111828210171561215e5761215e612128565b60405290565b604051601f8201601f191681016001600160401b038111828210171561218c5761218c612128565b604052919050565b5f6001600160401b038211156121ac576121ac612128565b50601f01601f191660200190565b5f82601f8301126121c9575f80fd5b81356121dc6121d782612194565b612164565b8181528460208386010111156121f0575f80fd5b816020850160208301375f918101602001919091529392505050565b5f6020828403121561221c575f80fd5b81356001600160401b03811115612231575f80fd5b612120848285016121ba565b60ff81168114611c6c575f80fd5b803561202a8161223d565b5f805f60608486031215612268575f80fd5b83356122738161200b565b925060208401356122838161223d565b915060408401356122938161200b565b809150509250925092565b5f80604083850312156122af575f80fd5b82356122ba8161200b565b915060208301356001600160401b038111156122d4575f80fd5b6122e0858286016121ba565b9150509250929050565b6001600160601b0381168114611c6c575f80fd5b803561202a816122ea565b8015158114611c6c575f80fd5b803561202a81612309565b5f60208284031215612331575f80fd5b81356001600160401b03811115612346575f80fd5b820160e08185031215612357575f80fd5b61235f61213c565b612368826122fe565b8152612376602083016122fe565b60208201526123876040830161224b565b604082015261239860608301612316565b60608201526123a96080830161201f565b60808201526123ba60a0830161201f565b60a082015260c08201356001600160401b038111156123d7575f80fd5b6123e3868285016121ba565b60c083015250949350505050565b5f60208284031215612401575f80fd5b81356120048161200b565b805161202a81612309565b5f60208284031215612427575f80fd5b815161200481612309565b805161202a816122ea565b5f6020828403121561244d575f80fd5b8151612004816122ea565b5f60208284031215612468575f80fd5b815162ffffff81168114612004575f80fd5b600181811c9082168061248e57607f821691505b6020821081036124ac57634e487b7160e01b5f52602260045260245ffd5b50919050565b6001600160401b0381168114611c6c575f80fd5b5f602082840312156124d6575f80fd5b8151612004816124b2565b805161202a8161223d565b5f602082840312156124fc575f80fd5b81516120048161223d565b805161202a8161200b565b5f60208284031215612522575f80fd5b81516120048161200b565b5f808585111561253b575f80fd5b83861115612547575f80fd5b5050820193919092039150565b80356001600160e01b031981169060048410156105c5576001600160e01b031960049490940360031b84901b1690921692915050565b6001600160a01b03841681526040602082018190528101829052818360608301375f818301606090810191909152601f909201601f1916010192915050565b5f82601f8301126125d8575f80fd5b81516125e66121d782612194565b8181528460208386010111156125fa575f80fd5b8160208501602083015e5f918101602001919091529392505050565b5f60208284031215612626575f80fd5b81516001600160401b0381111561263b575f80fd5b820160e0818503121561264c575f80fd5b61265461213c565b61265d82612432565b815261266b60208301612432565b602082015261267c604083016124e1565b604082015261268d6060830161240c565b606082015261269e60808301612507565b60808201526126af60a08301612507565b60a082015260c08201516001600160401b038111156126cc575f80fd5b6123e3868285016125c9565b5f80604083850312156126e9575f80fd5b82516126f48161200b565b602084015190925061205b8161200b565b5f82518060208501845e5f920191825250919050565b5f806040838503121561272c575f80fd5b825161273781612309565b602084015190925063ffffffff8116811461205b575f80fd5b601f8211156119eb57805f5260205f20601f840160051c810160208510156127755750805b601f840160051c820191505b81811015612794575f8155600101612781565b5050505050565b81516001600160401b038111156127b4576127b4612128565b6127c8816127c2845461247a565b84612750565b6020601f8211600181146127fa575f83156127e35750848201515b5f19600385901b1c1916600184901b178455612794565b5f84815260208120601f198516915b828110156128295787850151825560209485019460019092019101612809565b508482101561284657868401515f19600387901b60f8161c191681555b50505050600190811b0190555056fe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00a26469706673582212209c06bf693e1781feb41cc6c0eba4bc4c3e179c92140230e17a1e0680f5c9b7fa64736f6c634300081a0033",
1197
+ "deployedBytecode": "0x608060405234801561000f575f80fd5b50600436106101a1575f3560e01c80635d966289116100f35780638fb3603711610093578063bf7e214f1161006e578063bf7e214f146103e1578063c2bf08c8146103e9578063c4c79d8b146103fc578063ed841d0c1461040f575f80fd5b80638fb36037146103a5578063ada9652e146103c6578063b68d1809146103da575f80fd5b806376b707b7116100ce57806376b707b71461035d5780637a9e5e4b146103775780638105cc7f1461038a578063893d20e81461039d575f80fd5b80635d9662891461030d578063644c45e0146103205780636c741e781461033d575f80fd5b806322f3e2d41161015e57806349bb9e4b1161013957806349bb9e4b146102af57806357a8fba7146102c25780635ab1bd53146102d55780635c992fed146102fa575f80fd5b806322f3e2d41461027f578063329d6e74146102875780633f429c921461029c575f80fd5b806301ffc9a7146101a5578063026bc43b146101e65780630d8e6e2c146102065780630fec111c14610222578063138461e01461022a5780631eff4b221461024a575b5f80fd5b6101d16101b3366004611fdd565b6001600160e01b0319165f9081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b6101f96101f436600461202f565b610416565b6040516101dd9190612094565b61020e6105cc565b60405162ffffff90911681526020016101dd565b6101f9610653565b6102326107df565b6040516001600160601b0390911681526020016101dd565b6102717f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b6040519081526020016101dd565b6101d16107e9565b61029a61029536600461220c565b610860565b005b6101f96102aa366004612256565b6109bd565b61029a6102bd36600461229e565b610b4a565b6102326102d0366004612321565b610c58565b6001546001600160a01b03165b6040516001600160a01b0390911681526020016101dd565b610232610308366004612321565b610ce3565b6101f961031b36600461202f565b610cf8565b5f80516020612856833981519152546001600160601b0316610232565b610345610e39565b6040516001600160401b0390911681526020016101dd565b610365610ec5565b60405160ff90911681526020016101dd565b61029a6103853660046123f1565b610f2d565b610232610398366004612321565b610fb3565b6102e2610fc8565b6103ad6110f9565b6040516001600160e01b031990911681526020016101dd565b6102715f8051602061285683398151915281565b6002610365565b6102e261112e565b6102326103f7366004612321565b611149565b6101f961040a36600461202f565b61115e565b6102715f81565b61041e611fa0565b61042a335b5f3661117a565b6040516301ffc9a760e01b81526001622370f560e21b031960048201526001600160a01b038416906301ffc9a790602401602060405180830381865afa158015610476573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061049a9190612417565b6104c757604051631c8275e960e21b81526001600160a01b03841660048201526024015b60405180910390fd5b6104d483600a5b84611278565b90506104e86001546001600160a01b031690565b6001600160a01b031663a5df9e4e826040518263ffffffff1660e01b81526004016105139190612094565b6020604051808303815f875af115801561052f573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610553919061243d565b6001600160601b0316815260408051629c230f60e51b815290516001600160a01b0385169163138461e091600480830192602092919082900301815f875af11580156105a1573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906105c5919061243d565b5092915050565b604051632efe011360e01b8152600360048201525f60248201819052604482018190529073__$8eede297b65ed5a56eb3f84d8232ae93f5$__90632efe011390606401602060405180830381865af415801561062a573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061064e9190612458565b905090565b61065b611fa0565b5f7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e0016040528073__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af41580156106d1573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906106f5919061243d565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a00161073d610fc8565b6001600160a01b0316815260200182600101805461075a9061247a565b80601f01602080910402602001604051908101604052809291908181526020018280546107869061247a565b80156107d15780601f106107a8576101008083540402835291602001916107d1565b820191905f5260205f20905b8154815290600101906020018083116107b457829003601f168201915b505050505081525091505090565b5f61064e306114e9565b5f6107f261112e565b60405163a166aa8960e01b81523060048201526001600160a01b03919091169063a166aa8990602401602060405180830381865afa158015610836573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061085a9190612417565b15905090565b73__$8eede297b65ed5a56eb3f84d8232ae93f5$__63a123b37c6108826105cc565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af41580156108c0573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906108e491906124c6565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a008054600160401b900460ff1680610929575080546001600160401b03808416911610155b156109475760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b1781556109718361173f565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a1505050565b6109c5611fa0565b6109ce33610423565b6040516301ffc9a760e01b81526306e9e5ff60e31b60048201526001600160a01b038516906301ffc9a790602401602060405180830381865afa158015610a17573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610a3b9190612417565b610a6357604051632624ae7760e01b81526001600160a01b03851660048201526024016104be565b60ff8316600e1480610a78575060ff8316600d145b80610a86575060ff8316600f145b610aae576040516329e5065360e11b81526001600160a01b03851660048201526024016104be565b610ab9848484611278565b9050610acd6001546001600160a01b031690565b6001600160a01b031663a5df9e4e826040518263ffffffff1660e01b8152600401610af89190612094565b6020604051808303815f875af1158015610b14573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b38919061243d565b6001600160601b031681529392505050565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a008054600160401b810460ff1615906001600160401b03165f81158015610b8e5750825b90505f826001600160401b03166001148015610ba95750303b155b905081158015610bb7575080155b15610bd55760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315610bff57845460ff60401b1916600160401b1785555b610c098787611760565b8315610c4f57845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50505050505050565b5f610c6233610423565b610c6d8260176117a3565b6001546040516352efcf2760e11b81526001600160a01b039091169063a5df9e4e90610c9d908590600401612094565b6020604051808303815f875af1158015610cb9573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610cdd919061243d565b92915050565b5f610ced33610423565b610c6d8260156117a3565b610d00611fa0565b610d0933610423565b6040516301ffc9a760e01b8152630cdf80bd60e31b60048201526001600160a01b038416906301ffc9a790602401602060405180830381865afa158015610d52573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610d769190612417565b610d9e5760405163704b6c6d60e11b81526001600160a01b03841660048201526024016104be565b610da983600c6104ce565b9050610dbd6001546001600160a01b031690565b6001600160a01b031663a5df9e4e826040518263ffffffff1660e01b8152600401610de89190612094565b6020604051808303815f875af1158015610e04573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610e28919061243d565b6001600160601b0316815292915050565b5f73__$1d92393fa9ccd763988368ce8a1cb90d26$__63645ceefe6002610e5e610ec5565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865af4158015610ea1573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061064e91906124c6565b5f610ece61112e565b6001600160a01b03166376b707b76040518163ffffffff1660e01b8152600401602060405180830381865afa158015610f09573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061064e91906124ec565b33610f3661112e565b6001600160a01b0316816001600160a01b031614610f715760405162d1953b60e31b81526001600160a01b03821660048201526024016104be565b816001600160a01b03163b5f03610fa6576040516361798f2f60e11b81526001600160a01b03831660048201526024016104be565b610faf826119f0565b5050565b5f610fbd33610423565b610c6d82601e6117a3565b5f805f8051602061285683398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015611034573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906110589190612417565b156110e3576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa1580156110b9573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906110dd9190612512565b91505090565b54600160601b90046001600160a01b0316919050565b5f8051602061287683398151915280545f9190600160a01b900460ff16611120575f6110dd565b638fb3603760e01b91505090565b5f80516020612876833981519152546001600160a01b031690565b5f61115333610423565b610c6d8260166117a3565b611166611fa0565b61116f33610423565b610da98360036104ce565b5f805160206128768339815191525f806111b261119561112e565b87306111a460045f8a8c61252d565b6111ad91612554565b611a50565b91509150816112705763ffffffff81161561124d57825460ff60a01b1916600160a01b1783556111e061112e565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b815260040161120f9392919061258a565b5f604051808303815f87803b158015611226575f80fd5b505af1158015611238573d5f803e3d5ffd5b5050845460ff60a01b19168555506112709050565b60405162d1953b60e31b81526001600160a01b03871660048201526024016104be565b505050505050565b611280611fa0565b836001600160a01b0316630fec111c6040518163ffffffff1660e01b81526004015f60405180830381865afa1580156112bb573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526112e29190810190612616565b9050836001600160a01b031681608001516001600160a01b0316146113335760808101516040516306704ad960e11b81526001600160a01b03808716600483015290911660248201526044016104be565b604081015160ff84811691161461137f57604080820151905163137f2ac560e31b81526001600160a01b038616600482015260ff808616602483015290911660448201526064016104be565b60a08101516001600160a01b03808216908416146113cb576040516335ce70c360e21b81526001600160a01b0380871660048301528085166024830152821660448201526064016104be565b846001600160a01b0316816001600160a01b03160361140857604051638e80a3f960e01b81526001600160a01b03861660048201526024016104be565b6001600160a01b03811661143a576040516343e40cb560e01b81526001600160a01b03861660048201526024016104be565b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038381166004830152919091169063c3c5a54790602401602060405180830381865afa15801561148c573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906114b09190612417565b156114e1576040516309ad872b60e41b81526001600160a01b038087166004830152821660248201526044016104be565b509392505050565b5f805f8051602061285683398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015611555573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906115799190612417565b156115a55780546040516301ab8b6760e21b81526001600160601b0390911660048201526024016104be565b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038581166004830152919091169063c3c5a54790602401602060405180830381865afa1580156115f7573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061161b9190612417565b6116435760405163b9304b0d60e01b81526001600160a01b03841660048201526024016104be565b6001546001600160a01b0316604051632f2a35f760e11b81526001600160a01b0385811660048301529190911690635e546bee90602401602060405180830381865afa158015611695573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906116b9919061243d565b81546bffffffffffffffffffffffff19166001600160601b039190911690811782557f88857b75cbef7f257c9d5a473e28aaf6a91cc28f717f60f2cda3bcf5623d7b5490611705610fc8565b604080516001600160601b0390931683526001600160a01b0390911660208301520160405180910390a1546001600160601b031692915050565b611747611b58565b60405163502ec37160e01b815260040160405180910390fd5b611768611b58565b5f808280602001905181019061177e91906126d8565b9150915061178d828286611ba3565b61179d6328342add60e01b611c3c565b50505050565b60808201516001600160a01b0316156117da5760408083015190516340fda83160e11b815260ff90911660048201526024016104be565b604082015160ff828116911614611817576040808301519051632e5fbed960e21b815260ff808416600483015290911660248201526044016104be565b60a08201516001600160a01b03811661184e576040808401519051633312954f60e21b815260ff90911660048201526024016104be565b336001600160a01b0382160361188257604051633bb3291360e01b81526001600160a01b03821660048201526024016104be565b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038381166004830152919091169063c3c5a54790602401602060405180830381865afa1580156118d4573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906118f89190612417565b156119eb575f6119106001546001600160a01b031690565b6040516308b09a5f60e41b81526001600160a01b0384811660048301529190911690638b09a5f0906024015f60405180830381865afa158015611955573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f1916820160405261197c9190810190612616565b60400151905060ff811660021480611997575060ff81166003145b806119a5575060ff81166008145b806119b3575060ff8116600a145b1561179d57604080850151905163b4139d2560e01b815260ff90911660048201526001600160a01b03831660248201526044016104be565b505050565b5f8051602061287683398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b6040516001600160a01b03848116602483015283811660448301526001600160e01b0319831660648301525f9182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b17905251611abe9190612705565b5f60405180830381855afa9150503d805f8114611af6576040519150601f19603f3d011682016040523d82523d5f602084013e611afb565b606091505b50915091508115611b4d576040815110611b2d5780806020019051810190611b23919061271b565b9094509250611b4d565b6020815110611b4d5780806020019051810190611b4a9190612417565b93505b505094509492505050565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a0054600160401b900460ff16611ba157604051631afcd79f60e31b815260040160405180910390fd5b565b611bab611b58565b611bb3611c6f565b611c308383846001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa158015611bf4573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611c18919061243d565b60085f8660405180602001604052805f815250611c7f565b6119eb63daf9067160e01b5b611c44611b58565b611c6c816001600160e01b0319165f908152602081905260409020805460ff19166001179055565b50565b611c77611b58565b611ba1611dc6565b611c87611b58565b604051632330f24760e01b81526001600160a01b038816600482015273__$fb599632d08395912d9d70eb2f0f93b5e2$__90632330f24790602401602060405180830381865af4158015611cdd573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611d019190612417565b611d295760405163cf6935e560e01b81526001600160a01b03881660048201526024016104be565b611d3287611df4565b611d3c8683611e05565b5f7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166cffffffffffffffffffffffffff1990911617600160601b60ff8816021760ff60681b1916600160681b86151502178155905060018101611dab838261279b565b50611dbc634a531f3360e01b611c3c565b5050505050505050565b611dce611b58565b60017f9b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f0055565b611dfc611b58565b611c6c81611e7b565b611e0d611b58565b611e15611e8c565b611e1e82611ed4565b6001600160a01b038116611e455760405163f17ef42d60e01b815260040160405180910390fd5b5f8051602061285683398151915280546001600160601b0316600160601b6001600160a01b039093169290920291909117905550565b611e83611b58565b611c6c816119f0565b611e94611b58565b611ba16301ffc9a760e01b5f9081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b611edc611b58565b604051633334d16b60e01b81526001600160a01b038216600482015273__$fb599632d08395912d9d70eb2f0f93b5e2$__90633334d16b90602401602060405180830381865af4158015611f32573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611f569190612417565b611f7e5760405163fdeac91f60e01b81526001600160a01b03821660048201526024016104be565b600180546001600160a01b0319166001600160a01b0392909216919091179055565b6040805160e0810182525f8082526020820181905291810182905260608082018390526080820183905260a082019290925260c081019190915290565b5f60208284031215611fed575f80fd5b81356001600160e01b031981168114612004575f80fd5b9392505050565b6001600160a01b0381168114611c6c575f80fd5b803561202a8161200b565b919050565b5f8060408385031215612040575f80fd5b823561204b8161200b565b9150602083013561205b8161200b565b809150509250929050565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081526001600160601b0382511660208201526001600160601b03602083015116604082015260ff60408301511660608201525f60608301516120dc608084018215159052565b5060808301516001600160a01b03811660a08401525060a08301516001600160a01b03811660c08401525060c083015160e080840152612120610100840182612066565b949350505050565b634e487b7160e01b5f52604160045260245ffd5b60405160e081016001600160401b038111828210171561215e5761215e612128565b60405290565b604051601f8201601f191681016001600160401b038111828210171561218c5761218c612128565b604052919050565b5f6001600160401b038211156121ac576121ac612128565b50601f01601f191660200190565b5f82601f8301126121c9575f80fd5b81356121dc6121d782612194565b612164565b8181528460208386010111156121f0575f80fd5b816020850160208301375f918101602001919091529392505050565b5f6020828403121561221c575f80fd5b81356001600160401b03811115612231575f80fd5b612120848285016121ba565b60ff81168114611c6c575f80fd5b803561202a8161223d565b5f805f60608486031215612268575f80fd5b83356122738161200b565b925060208401356122838161223d565b915060408401356122938161200b565b809150509250925092565b5f80604083850312156122af575f80fd5b82356122ba8161200b565b915060208301356001600160401b038111156122d4575f80fd5b6122e0858286016121ba565b9150509250929050565b6001600160601b0381168114611c6c575f80fd5b803561202a816122ea565b8015158114611c6c575f80fd5b803561202a81612309565b5f60208284031215612331575f80fd5b81356001600160401b03811115612346575f80fd5b820160e08185031215612357575f80fd5b61235f61213c565b612368826122fe565b8152612376602083016122fe565b60208201526123876040830161224b565b604082015261239860608301612316565b60608201526123a96080830161201f565b60808201526123ba60a0830161201f565b60a082015260c08201356001600160401b038111156123d7575f80fd5b6123e3868285016121ba565b60c083015250949350505050565b5f60208284031215612401575f80fd5b81356120048161200b565b805161202a81612309565b5f60208284031215612427575f80fd5b815161200481612309565b805161202a816122ea565b5f6020828403121561244d575f80fd5b8151612004816122ea565b5f60208284031215612468575f80fd5b815162ffffff81168114612004575f80fd5b600181811c9082168061248e57607f821691505b6020821081036124ac57634e487b7160e01b5f52602260045260245ffd5b50919050565b6001600160401b0381168114611c6c575f80fd5b5f602082840312156124d6575f80fd5b8151612004816124b2565b805161202a8161223d565b5f602082840312156124fc575f80fd5b81516120048161223d565b805161202a8161200b565b5f60208284031215612522575f80fd5b81516120048161200b565b5f808585111561253b575f80fd5b83861115612547575f80fd5b5050820193919092039150565b80356001600160e01b031981169060048410156105c5576001600160e01b031960049490940360031b84901b1690921692915050565b6001600160a01b03841681526040602082018190528101829052818360608301375f818301606090810191909152601f909201601f1916010192915050565b5f82601f8301126125d8575f80fd5b81516125e66121d782612194565b8181528460208386010111156125fa575f80fd5b8160208501602083015e5f918101602001919091529392505050565b5f60208284031215612626575f80fd5b81516001600160401b0381111561263b575f80fd5b820160e0818503121561264c575f80fd5b61265461213c565b61265d82612432565b815261266b60208301612432565b602082015261267c604083016124e1565b604082015261268d6060830161240c565b606082015261269e60808301612507565b60808201526126af60a08301612507565b60a082015260c08201516001600160401b038111156126cc575f80fd5b6123e3868285016125c9565b5f80604083850312156126e9575f80fd5b82516126f48161200b565b602084015190925061205b8161200b565b5f82518060208501845e5f920191825250919050565b5f806040838503121561272c575f80fd5b825161273781612309565b602084015190925063ffffffff8116811461205b575f80fd5b601f8211156119eb57805f5260205f20601f840160051c810160208510156127755750805b601f840160051c820191505b81811015612794575f8155600101612781565b5050505050565b81516001600160401b038111156127b4576127b4612128565b6127c8816127c2845461247a565b84612750565b6020601f8211600181146127fa575f83156127e35750848201515b5f19600385901b1c1916600184901b178455612794565b5f84815260208120601f198516915b828110156128295787850151825560209485019460019092019101612809565b508482101561284657868401515f19600387901b60f8161c191681555b50505050600190811b0190555056fe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00a26469706673582212209c06bf693e1781feb41cc6c0eba4bc4c3e179c92140230e17a1e0680f5c9b7fa64736f6c634300081a0033",
1356
1198
  "linkReferences": {
1199
+ "contracts/shared/ContractLib.sol": {
1200
+ "ContractLib": [
1201
+ {
1202
+ "length": 20,
1203
+ "start": 7547
1204
+ },
1205
+ {
1206
+ "length": 20,
1207
+ "start": 8144
1208
+ }
1209
+ ]
1210
+ },
1357
1211
  "contracts/type/NftId.sol": {
1358
1212
  "NftIdLib": [
1359
1213
  {
1360
1214
  "length": 20,
1361
- "start": 2076
1215
+ "start": 1890
1362
1216
  },
1363
1217
  {
1364
1218
  "length": 20,
1365
- "start": 4676
1219
+ "start": 4306
1366
1220
  },
1367
1221
  {
1368
1222
  "length": 20,
1369
- "start": 6933
1223
+ "start": 5619
1370
1224
  }
1371
1225
  ]
1372
1226
  },
@@ -1374,7 +1228,7 @@
1374
1228
  "RoleIdLib": [
1375
1229
  {
1376
1230
  "length": 20,
1377
- "start": 4048
1231
+ "start": 3858
1378
1232
  }
1379
1233
  ]
1380
1234
  },
@@ -1382,39 +1236,41 @@
1382
1236
  "VersionLib": [
1383
1237
  {
1384
1238
  "length": 20,
1385
- "start": 1922
1239
+ "start": 1736
1386
1240
  },
1387
1241
  {
1388
1242
  "length": 20,
1389
- "start": 2636
1243
+ "start": 2360
1390
1244
  }
1391
- ],
1392
- "VersionPartLib": [
1245
+ ]
1246
+ }
1247
+ },
1248
+ "deployedLinkReferences": {
1249
+ "contracts/shared/ContractLib.sol": {
1250
+ "ContractLib": [
1393
1251
  {
1394
1252
  "length": 20,
1395
- "start": 4096
1253
+ "start": 7333
1396
1254
  },
1397
1255
  {
1398
1256
  "length": 20,
1399
- "start": 8253
1257
+ "start": 7930
1400
1258
  }
1401
1259
  ]
1402
- }
1403
- },
1404
- "deployedLinkReferences": {
1260
+ },
1405
1261
  "contracts/type/NftId.sol": {
1406
1262
  "NftIdLib": [
1407
1263
  {
1408
1264
  "length": 20,
1409
- "start": 1862
1265
+ "start": 1676
1410
1266
  },
1411
1267
  {
1412
1268
  "length": 20,
1413
- "start": 4462
1269
+ "start": 4092
1414
1270
  },
1415
1271
  {
1416
1272
  "length": 20,
1417
- "start": 6719
1273
+ "start": 5405
1418
1274
  }
1419
1275
  ]
1420
1276
  },
@@ -1422,7 +1278,7 @@
1422
1278
  "RoleIdLib": [
1423
1279
  {
1424
1280
  "length": 20,
1425
- "start": 3834
1281
+ "start": 3644
1426
1282
  }
1427
1283
  ]
1428
1284
  },
@@ -1430,21 +1286,11 @@
1430
1286
  "VersionLib": [
1431
1287
  {
1432
1288
  "length": 20,
1433
- "start": 1708
1434
- },
1435
- {
1436
- "length": 20,
1437
- "start": 2422
1438
- }
1439
- ],
1440
- "VersionPartLib": [
1441
- {
1442
- "length": 20,
1443
- "start": 3882
1289
+ "start": 1522
1444
1290
  },
1445
1291
  {
1446
1292
  "length": 20,
1447
- "start": 8039
1293
+ "start": 2146
1448
1294
  }
1449
1295
  ]
1450
1296
  }