@etherisc/gif-next 0.0.2-f1e0c66-773 → 0.0.2-f1e6957-384

Sign up to get free protection for your applications and to get access to all the features.
Files changed (559) hide show
  1. package/README.md +137 -333
  2. package/artifacts/contracts/accounting/AccountingService.sol/AccountingService.dbg.json +4 -0
  3. package/artifacts/contracts/accounting/AccountingService.sol/AccountingService.json +1075 -0
  4. package/artifacts/contracts/accounting/AccountingServiceManager.sol/AccountingServiceManager.dbg.json +4 -0
  5. package/artifacts/contracts/accounting/AccountingServiceManager.sol/AccountingServiceManager.json +810 -0
  6. package/artifacts/contracts/accounting/IAccountingService.sol/IAccountingService.dbg.json +4 -0
  7. package/artifacts/contracts/accounting/IAccountingService.sol/IAccountingService.json +843 -0
  8. package/artifacts/contracts/authorization/AccessAdmin.sol/AccessAdmin.dbg.json +1 -1
  9. package/artifacts/contracts/authorization/AccessAdmin.sol/AccessAdmin.json +760 -278
  10. package/artifacts/contracts/authorization/AccessAdminLib.sol/AccessAdminLib.dbg.json +4 -0
  11. package/artifacts/contracts/authorization/AccessAdminLib.sol/AccessAdminLib.json +2008 -0
  12. package/artifacts/contracts/authorization/AccessManagerCloneable.sol/AccessManagerCloneable.dbg.json +1 -1
  13. package/artifacts/contracts/authorization/AccessManagerCloneable.sol/AccessManagerCloneable.json +202 -5
  14. package/artifacts/contracts/authorization/Authorization.sol/Authorization.dbg.json +1 -1
  15. package/artifacts/contracts/authorization/Authorization.sol/Authorization.json +485 -26
  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 +588 -220
  19. package/artifacts/contracts/authorization/IAuthorization.sol/IAuthorization.dbg.json +1 -1
  20. package/artifacts/contracts/authorization/IAuthorization.sol/IAuthorization.json +227 -20
  21. package/artifacts/contracts/authorization/IServiceAuthorization.sol/IServiceAuthorization.dbg.json +1 -1
  22. package/artifacts/contracts/authorization/IServiceAuthorization.sol/IServiceAuthorization.json +275 -16
  23. package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.dbg.json +1 -1
  24. package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.json +479 -17
  25. package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.dbg.json +1 -1
  26. package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.json +183 -497
  27. package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.dbg.json +1 -1
  28. package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.json +475 -41
  29. package/artifacts/contracts/distribution/Distribution.sol/Distribution.dbg.json +1 -1
  30. package/artifacts/contracts/distribution/Distribution.sol/Distribution.json +102 -397
  31. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.dbg.json +1 -1
  32. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.json +644 -392
  33. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +1 -1
  34. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.json +227 -131
  35. package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.dbg.json +1 -1
  36. package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.json +96 -201
  37. package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.dbg.json +1 -1
  38. package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.json +476 -137
  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 +1474 -0
  43. package/artifacts/contracts/examples/fire/FirePoolAuthorization.sol/FirePoolAuthorization.dbg.json +4 -0
  44. package/artifacts/contracts/examples/fire/FirePoolAuthorization.sol/FirePoolAuthorization.json +844 -0
  45. package/artifacts/contracts/examples/fire/FireProduct.sol/FireProduct.dbg.json +4 -0
  46. package/artifacts/contracts/examples/fire/FireProduct.sol/FireProduct.json +2043 -0
  47. package/artifacts/contracts/examples/fire/FireProductAuthorization.sol/FireProductAuthorization.dbg.json +4 -0
  48. package/artifacts/contracts/examples/fire/FireProductAuthorization.sol/FireProductAuthorization.json +844 -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 +1429 -0
  53. package/artifacts/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol/SimpleDistributionAuthorization.dbg.json +4 -0
  54. package/artifacts/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol/SimpleDistributionAuthorization.json +844 -0
  55. package/artifacts/contracts/examples/unpermissioned/SimpleOracle.sol/SimpleOracle.dbg.json +4 -0
  56. package/artifacts/contracts/examples/unpermissioned/SimpleOracle.sol/SimpleOracle.json +1161 -0
  57. package/artifacts/contracts/examples/unpermissioned/SimplePool.sol/SimplePool.dbg.json +4 -0
  58. package/artifacts/contracts/examples/unpermissioned/SimplePool.sol/SimplePool.json +1637 -0
  59. package/artifacts/contracts/examples/unpermissioned/SimplePoolAuthorization.sol/SimplePoolAuthorization.dbg.json +4 -0
  60. package/artifacts/contracts/examples/unpermissioned/SimplePoolAuthorization.sol/SimplePoolAuthorization.json +844 -0
  61. package/artifacts/contracts/examples/unpermissioned/SimpleProduct.sol/SimpleProduct.dbg.json +4 -0
  62. package/artifacts/contracts/examples/unpermissioned/SimpleProduct.sol/SimpleProduct.json +2575 -0
  63. package/artifacts/contracts/examples/unpermissioned/SimpleProductAuthorization.sol/SimpleProductAuthorization.dbg.json +4 -0
  64. package/artifacts/contracts/examples/unpermissioned/SimpleProductAuthorization.sol/SimpleProductAuthorization.json +844 -0
  65. package/artifacts/contracts/instance/BaseStore.sol/BaseStore.dbg.json +4 -0
  66. package/artifacts/contracts/{shared/IKeyValueStore.sol/IKeyValueStore.json → instance/BaseStore.sol/BaseStore.json} +55 -197
  67. package/artifacts/contracts/instance/BundleSet.sol/BundleSet.dbg.json +1 -1
  68. package/artifacts/contracts/instance/BundleSet.sol/BundleSet.json +193 -45
  69. package/artifacts/contracts/instance/IBaseStore.sol/IBaseStore.dbg.json +4 -0
  70. package/artifacts/contracts/{shared/KeyValueStore.sol/KeyValueStore.json → instance/IBaseStore.sol/IBaseStore.json} +34 -227
  71. package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
  72. package/artifacts/contracts/instance/IInstance.sol/IInstance.json +587 -64
  73. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +1 -1
  74. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +405 -60
  75. package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
  76. package/artifacts/contracts/instance/Instance.sol/Instance.json +625 -182
  77. package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.dbg.json +1 -1
  78. package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.json +1154 -380
  79. package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.dbg.json +1 -1
  80. package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.json +363 -92
  81. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +1 -1
  82. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +1645 -849
  83. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +1 -1
  84. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +419 -231
  85. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +1 -1
  86. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +160 -102
  87. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.dbg.json +1 -1
  88. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.json +1300 -1842
  89. package/artifacts/contracts/instance/ProductStore.sol/ProductStore.dbg.json +4 -0
  90. package/artifacts/contracts/instance/ProductStore.sol/ProductStore.json +3427 -0
  91. package/artifacts/contracts/instance/RiskSet.sol/RiskSet.dbg.json +4 -0
  92. package/artifacts/contracts/instance/RiskSet.sol/RiskSet.json +866 -0
  93. package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.dbg.json +1 -1
  94. package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.json +8 -8
  95. package/artifacts/contracts/instance/base/Cloneable.sol/Cloneable.dbg.json +1 -1
  96. package/artifacts/contracts/instance/base/ObjectCounter.sol/ObjectCounter.dbg.json +1 -1
  97. package/artifacts/contracts/instance/base/ObjectCounter.sol/ObjectCounter.json +2 -2
  98. package/artifacts/contracts/instance/base/ObjectLifecycle.sol/ObjectLifecycle.dbg.json +1 -1
  99. package/artifacts/contracts/instance/base/ObjectLifecycle.sol/ObjectLifecycle.json +46 -5
  100. package/artifacts/contracts/instance/base/ObjectSet.sol/ObjectSet.dbg.json +1 -1
  101. package/artifacts/contracts/instance/base/ObjectSet.sol/ObjectSet.json +16 -5
  102. package/artifacts/contracts/instance/base/ObjectSetHelperLib.sol/ObjectSetHelperLib.dbg.json +4 -0
  103. package/artifacts/contracts/instance/base/ObjectSetHelperLib.sol/ObjectSetHelperLib.json +168 -0
  104. package/artifacts/contracts/instance/module/IBundle.sol/IBundle.dbg.json +1 -1
  105. package/artifacts/contracts/instance/module/IComponents.sol/IComponents.dbg.json +1 -1
  106. package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.dbg.json +1 -1
  107. package/artifacts/contracts/instance/module/IPolicy.sol/IPolicy.dbg.json +1 -1
  108. package/artifacts/contracts/instance/module/IRisk.sol/IRisk.dbg.json +1 -1
  109. package/artifacts/contracts/mock/Dip.sol/Dip.dbg.json +1 -1
  110. package/artifacts/contracts/mock/Dip.sol/Dip.json +2 -2
  111. package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.dbg.json +1 -1
  112. package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.json +127 -365
  113. package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.dbg.json +1 -1
  114. package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.json +473 -42
  115. package/artifacts/contracts/oracle/IOracle.sol/IOracle.dbg.json +1 -1
  116. package/artifacts/contracts/oracle/IOracleComponent.sol/IOracleComponent.dbg.json +1 -1
  117. package/artifacts/contracts/oracle/IOracleComponent.sol/IOracleComponent.json +103 -143
  118. package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.dbg.json +1 -1
  119. package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.json +98 -11
  120. package/artifacts/contracts/oracle/Oracle.sol/Oracle.dbg.json +1 -1
  121. package/artifacts/contracts/oracle/Oracle.sol/Oracle.json +103 -333
  122. package/artifacts/contracts/oracle/OracleService.sol/OracleService.dbg.json +1 -1
  123. package/artifacts/contracts/oracle/OracleService.sol/OracleService.json +198 -190
  124. package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.dbg.json +1 -1
  125. package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.json +195 -95
  126. package/artifacts/contracts/pool/BasicPool.sol/BasicPool.dbg.json +1 -1
  127. package/artifacts/contracts/pool/BasicPool.sol/BasicPool.json +160 -448
  128. package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.dbg.json +1 -1
  129. package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.json +474 -40
  130. package/artifacts/contracts/pool/BundleService.sol/BundleService.dbg.json +1 -1
  131. package/artifacts/contracts/pool/BundleService.sol/BundleService.json +502 -364
  132. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.dbg.json +1 -1
  133. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.json +212 -112
  134. package/artifacts/contracts/pool/IBundleService.sol/IBundleService.dbg.json +1 -1
  135. package/artifacts/contracts/pool/IBundleService.sol/IBundleService.json +340 -112
  136. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.dbg.json +1 -1
  137. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.json +139 -246
  138. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.dbg.json +1 -1
  139. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.json +711 -340
  140. package/artifacts/contracts/pool/Pool.sol/Pool.dbg.json +1 -1
  141. package/artifacts/contracts/pool/Pool.sol/Pool.json +129 -426
  142. package/artifacts/contracts/pool/PoolLib.sol/PoolLib.dbg.json +4 -0
  143. package/artifacts/contracts/pool/PoolLib.sol/PoolLib.json +522 -0
  144. package/artifacts/contracts/pool/PoolService.sol/PoolService.dbg.json +1 -1
  145. package/artifacts/contracts/pool/PoolService.sol/PoolService.json +925 -545
  146. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.dbg.json +1 -1
  147. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.json +246 -102
  148. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.dbg.json +1 -1
  149. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.json +353 -180
  150. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +1 -1
  151. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.json +177 -97
  152. package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.dbg.json +1 -1
  153. package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.json +266 -435
  154. package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.dbg.json +1 -1
  155. package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.json +474 -40
  156. package/artifacts/contracts/product/ClaimService.sol/ClaimService.dbg.json +1 -1
  157. package/artifacts/contracts/product/ClaimService.sol/ClaimService.json +466 -245
  158. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +1 -1
  159. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.json +204 -120
  160. package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.dbg.json +1 -1
  161. package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.json +301 -9
  162. package/artifacts/contracts/product/IClaimService.sol/IClaimService.dbg.json +1 -1
  163. package/artifacts/contracts/product/IClaimService.sol/IClaimService.json +350 -18
  164. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.dbg.json +1 -1
  165. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.json +405 -102
  166. package/artifacts/contracts/product/IPricingService.sol/IPricingService.dbg.json +1 -1
  167. package/artifacts/contracts/product/IPricingService.sol/IPricingService.json +183 -80
  168. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.dbg.json +1 -1
  169. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.json +257 -236
  170. package/artifacts/contracts/product/IRiskService.sol/IRiskService.dbg.json +4 -0
  171. package/artifacts/contracts/{shared/ComponentVerifyingService.sol/ComponentVerifyingService.json → product/IRiskService.sol/IRiskService.json} +283 -157
  172. package/artifacts/contracts/product/PolicyService.sol/PolicyService.dbg.json +1 -1
  173. package/artifacts/contracts/product/PolicyService.sol/PolicyService.json +511 -303
  174. package/artifacts/contracts/product/PolicyServiceLib.sol/PolicyServiceLib.dbg.json +4 -0
  175. package/artifacts/contracts/product/PolicyServiceLib.sol/PolicyServiceLib.json +783 -0
  176. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +1 -1
  177. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.json +213 -105
  178. package/artifacts/contracts/product/PricingService.sol/PricingService.dbg.json +1 -1
  179. package/artifacts/contracts/product/PricingService.sol/PricingService.json +247 -332
  180. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.dbg.json +1 -1
  181. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.json +177 -129
  182. package/artifacts/contracts/product/Product.sol/Product.dbg.json +1 -1
  183. package/artifacts/contracts/product/Product.sol/Product.json +258 -427
  184. package/artifacts/contracts/product/RiskService.sol/RiskService.dbg.json +4 -0
  185. package/artifacts/contracts/product/RiskService.sol/RiskService.json +873 -0
  186. package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.dbg.json +4 -0
  187. package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.json +794 -0
  188. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
  189. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +59 -16
  190. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
  191. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +359 -48
  192. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +1 -1
  193. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +169 -37
  194. package/artifacts/contracts/registry/IRelease.sol/IRelease.dbg.json +4 -0
  195. package/artifacts/contracts/registry/IRelease.sol/IRelease.json +24 -0
  196. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +1 -1
  197. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.json +5 -18
  198. package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
  199. package/artifacts/contracts/registry/Registry.sol/Registry.json +565 -109
  200. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.dbg.json +1 -1
  201. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.json +913 -404
  202. package/artifacts/contracts/registry/RegistryAuthorization.sol/RegistryAuthorization.dbg.json +4 -0
  203. package/artifacts/contracts/registry/RegistryAuthorization.sol/RegistryAuthorization.json +1137 -0
  204. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +1 -1
  205. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +136 -290
  206. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +1 -1
  207. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +159 -87
  208. package/artifacts/contracts/registry/ReleaseAdmin.sol/ReleaseAdmin.dbg.json +4 -0
  209. package/artifacts/contracts/registry/ReleaseAdmin.sol/ReleaseAdmin.json +2271 -0
  210. package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.dbg.json +1 -1
  211. package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.json +47 -6
  212. package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.dbg.json +1 -1
  213. package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.json +495 -253
  214. package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.dbg.json +1 -1
  215. package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.json +511 -20
  216. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +1 -1
  217. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +120 -60
  218. package/artifacts/contracts/shared/Component.sol/Component.dbg.json +1 -1
  219. package/artifacts/contracts/shared/Component.sol/Component.json +86 -287
  220. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.dbg.json +1 -1
  221. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.json +493 -638
  222. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.dbg.json +1 -1
  223. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.json +198 -128
  224. package/artifacts/contracts/shared/ContractLib.sol/ContractLib.dbg.json +4 -0
  225. package/artifacts/contracts/shared/ContractLib.sol/ContractLib.json +632 -0
  226. package/artifacts/contracts/shared/ContractLib.sol/IInstanceAdminHelper.dbg.json +4 -0
  227. package/artifacts/contracts/shared/ContractLib.sol/IInstanceAdminHelper.json +24 -0
  228. package/artifacts/contracts/shared/ContractLib.sol/ITargetHelper.dbg.json +4 -0
  229. package/artifacts/contracts/shared/ContractLib.sol/ITargetHelper.json +30 -0
  230. package/artifacts/contracts/shared/ContractLib.sol/ITokenRegistryHelper.dbg.json +4 -0
  231. package/artifacts/contracts/shared/ContractLib.sol/ITokenRegistryHelper.json +40 -0
  232. package/artifacts/contracts/shared/IComponent.sol/IComponent.dbg.json +1 -1
  233. package/artifacts/contracts/shared/IComponent.sol/IComponent.json +92 -103
  234. package/artifacts/contracts/shared/IComponentService.sol/IComponentService.dbg.json +1 -1
  235. package/artifacts/contracts/shared/IComponentService.sol/IComponentService.json +432 -290
  236. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.dbg.json +1 -1
  237. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.json +103 -143
  238. package/artifacts/contracts/shared/ILifecycle.sol/ILifecycle.dbg.json +1 -1
  239. package/artifacts/contracts/shared/ILifecycle.sol/ILifecycle.json +36 -0
  240. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +1 -1
  241. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.json +35 -0
  242. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.dbg.json +1 -1
  243. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.json +15 -47
  244. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
  245. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +167 -0
  246. package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.dbg.json +1 -1
  247. package/artifacts/contracts/shared/IService.sol/IService.dbg.json +1 -1
  248. package/artifacts/contracts/shared/IService.sol/IService.json +84 -2
  249. package/artifacts/contracts/shared/InitializableERC165.sol/InitializableERC165.dbg.json +1 -1
  250. package/artifacts/contracts/shared/InitializableERC165.sol/InitializableERC165.json +2 -22
  251. package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.dbg.json +1 -1
  252. package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.json +102 -332
  253. package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.dbg.json +1 -1
  254. package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.json +42 -1
  255. package/artifacts/contracts/shared/NftIdSet.sol/NftIdSet.dbg.json +1 -1
  256. package/artifacts/contracts/shared/NftIdSet.sol/NftIdSet.json +2 -2
  257. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +1 -1
  258. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +41 -57
  259. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.dbg.json +1 -1
  260. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.json +19 -141
  261. package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
  262. package/artifacts/contracts/shared/Registerable.sol/Registerable.json +141 -97
  263. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.dbg.json +1 -1
  264. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.json +2 -15
  265. package/artifacts/contracts/shared/Service.sol/Service.dbg.json +1 -1
  266. package/artifacts/contracts/shared/Service.sol/Service.json +86 -111
  267. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +1 -1
  268. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +585 -12
  269. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandlerBase.dbg.json +4 -0
  270. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandlerBase.json +484 -0
  271. package/artifacts/contracts/shared/TokenHandlerDeployerLib.sol/TokenHandlerDeployerLib.dbg.json +4 -0
  272. package/artifacts/contracts/shared/TokenHandlerDeployerLib.sol/TokenHandlerDeployerLib.json +172 -0
  273. package/artifacts/contracts/staking/IStaking.sol/IStaking.dbg.json +1 -1
  274. package/artifacts/contracts/staking/IStaking.sol/IStaking.json +1513 -204
  275. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.dbg.json +1 -1
  276. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.json +235 -123
  277. package/artifacts/contracts/staking/ITargetLimitHandler.sol/ITargetLimitHandler.dbg.json +4 -0
  278. package/artifacts/contracts/staking/ITargetLimitHandler.sol/ITargetLimitHandler.json +50 -0
  279. package/artifacts/contracts/staking/Staking.sol/Staking.dbg.json +1 -1
  280. package/artifacts/contracts/staking/Staking.sol/Staking.json +1635 -465
  281. package/artifacts/contracts/staking/StakingLib.sol/StakingLib.dbg.json +4 -0
  282. package/artifacts/contracts/staking/StakingLib.sol/StakingLib.json +470 -0
  283. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.dbg.json +1 -1
  284. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.json +211 -105
  285. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.dbg.json +1 -1
  286. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.json +295 -183
  287. package/artifacts/contracts/staking/StakingService.sol/StakingService.dbg.json +1 -1
  288. package/artifacts/contracts/staking/StakingService.sol/StakingService.json +282 -281
  289. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.dbg.json +1 -1
  290. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.json +162 -94
  291. package/artifacts/contracts/staking/StakingStore.sol/StakingStore.dbg.json +1 -1
  292. package/artifacts/contracts/staking/StakingStore.sol/StakingStore.json +1645 -790
  293. package/artifacts/contracts/staking/TargetHandler.sol/TargetHandler.dbg.json +4 -0
  294. package/artifacts/contracts/staking/TargetHandler.sol/TargetHandler.json +309 -0
  295. package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.dbg.json +1 -1
  296. package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.json +180 -77
  297. package/artifacts/contracts/type/AddressSet.sol/LibAddressSet.dbg.json +1 -1
  298. package/artifacts/contracts/type/Amount.sol/AmountLib.dbg.json +1 -1
  299. package/artifacts/contracts/type/Amount.sol/AmountLib.json +35 -11
  300. package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.dbg.json +1 -1
  301. package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.json +64 -19
  302. package/artifacts/contracts/type/ChainId.sol/ChainIdLib.dbg.json +4 -0
  303. package/artifacts/contracts/type/ChainId.sol/ChainIdLib.json +193 -0
  304. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.dbg.json +1 -1
  305. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.json +28 -4
  306. package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.dbg.json +1 -1
  307. package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.json +2 -2
  308. package/artifacts/contracts/type/Fee.sol/FeeLib.dbg.json +1 -1
  309. package/artifacts/contracts/type/Fee.sol/FeeLib.json +94 -38
  310. package/artifacts/contracts/type/Key32.sol/Key32Lib.dbg.json +1 -1
  311. package/artifacts/contracts/type/Key32.sol/Key32Lib.json +2 -2
  312. package/artifacts/contracts/type/Key32Set.sol/LibKey32Set.dbg.json +4 -0
  313. package/artifacts/contracts/type/Key32Set.sol/LibKey32Set.json +33 -0
  314. package/artifacts/contracts/type/NftId.sol/NftIdLib.dbg.json +1 -1
  315. package/artifacts/contracts/type/NftId.sol/NftIdLib.json +23 -4
  316. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.dbg.json +1 -1
  317. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.json +2 -2
  318. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.dbg.json +1 -1
  319. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.json +33 -31
  320. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.dbg.json +1 -1
  321. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.json +19 -19
  322. package/artifacts/contracts/type/Referral.sol/ReferralLib.dbg.json +1 -1
  323. package/artifacts/contracts/type/Referral.sol/ReferralLib.json +2 -2
  324. package/artifacts/contracts/type/RequestId.sol/RequestIdLib.dbg.json +1 -1
  325. package/artifacts/contracts/type/RequestId.sol/RequestIdLib.json +2 -2
  326. package/artifacts/contracts/type/RiskId.sol/RiskIdLib.dbg.json +1 -1
  327. package/artifacts/contracts/type/RiskId.sol/RiskIdLib.json +125 -7
  328. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.dbg.json +1 -1
  329. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.json +42 -157
  330. package/artifacts/contracts/type/Seconds.sol/SecondsLib.dbg.json +1 -1
  331. package/artifacts/contracts/type/Seconds.sol/SecondsLib.json +93 -2
  332. package/artifacts/contracts/type/Selector.sol/SelectorLib.dbg.json +1 -1
  333. package/artifacts/contracts/type/Selector.sol/SelectorLib.json +21 -2
  334. package/artifacts/contracts/type/Selector.sol/SelectorSetLib.dbg.json +1 -1
  335. package/artifacts/contracts/type/Selector.sol/SelectorSetLib.json +2 -2
  336. package/artifacts/contracts/type/StateId.sol/StateIdLib.dbg.json +1 -1
  337. package/artifacts/contracts/type/StateId.sol/StateIdLib.json +15 -2
  338. package/artifacts/contracts/type/String.sol/StrLib.dbg.json +1 -1
  339. package/artifacts/contracts/type/String.sol/StrLib.json +50 -2
  340. package/artifacts/contracts/type/Timestamp.sol/TimestampLib.dbg.json +1 -1
  341. package/artifacts/contracts/type/Timestamp.sol/TimestampLib.json +24 -5
  342. package/artifacts/contracts/type/UFixed.sol/UFixedLib.dbg.json +1 -1
  343. package/artifacts/contracts/type/UFixed.sol/UFixedLib.json +73 -36
  344. package/artifacts/contracts/type/Version.sol/VersionLib.dbg.json +1 -1
  345. package/artifacts/contracts/type/Version.sol/VersionLib.json +2 -21
  346. package/artifacts/contracts/type/Version.sol/VersionPartLib.dbg.json +1 -1
  347. package/artifacts/contracts/type/Version.sol/VersionPartLib.json +101 -2
  348. package/artifacts/contracts/upgradeability/IVersionable.sol/IVersionable.dbg.json +1 -1
  349. package/artifacts/contracts/upgradeability/IVersionable.sol/IVersionable.json +10 -0
  350. package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.dbg.json +1 -1
  351. package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.json +134 -79
  352. package/artifacts/contracts/upgradeability/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +1 -1
  353. package/artifacts/contracts/upgradeability/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +15 -2
  354. package/artifacts/contracts/upgradeability/Versionable.sol/Versionable.dbg.json +1 -1
  355. package/artifacts/contracts/upgradeability/Versionable.sol/Versionable.json +10 -0
  356. package/contracts/accounting/AccountingService.sol +274 -0
  357. package/contracts/accounting/AccountingServiceManager.sol +38 -0
  358. package/contracts/accounting/IAccountingService.sol +47 -0
  359. package/contracts/authorization/AccessAdmin.sol +401 -313
  360. package/contracts/authorization/AccessAdminLib.sol +678 -0
  361. package/contracts/authorization/AccessManagerCloneable.sol +128 -4
  362. package/contracts/authorization/Authorization.sol +179 -207
  363. package/contracts/authorization/IAccess.sol +29 -11
  364. package/contracts/authorization/IAccessAdmin.sol +89 -83
  365. package/contracts/authorization/IAuthorization.sol +9 -37
  366. package/contracts/authorization/IServiceAuthorization.sol +57 -17
  367. package/contracts/authorization/ServiceAuthorization.sol +235 -25
  368. package/contracts/distribution/BasicDistribution.sol +21 -19
  369. package/contracts/distribution/BasicDistributionAuthorization.sol +30 -10
  370. package/contracts/distribution/Distribution.sol +46 -96
  371. package/contracts/distribution/DistributionService.sol +243 -132
  372. package/contracts/distribution/DistributionServiceManager.sol +6 -6
  373. package/contracts/distribution/IDistributionComponent.sol +4 -11
  374. package/contracts/distribution/IDistributionService.sol +47 -29
  375. package/contracts/examples/fire/DamageLevel.sol +59 -0
  376. package/contracts/examples/fire/FirePool.sol +86 -0
  377. package/contracts/examples/fire/FirePoolAuthorization.sol +35 -0
  378. package/contracts/examples/fire/FireProduct.sol +433 -0
  379. package/contracts/examples/fire/FireProductAuthorization.sol +45 -0
  380. package/contracts/examples/fire/FireUSD.sol +26 -0
  381. package/contracts/examples/unpermissioned/SimpleDistribution.sol +81 -0
  382. package/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol +28 -0
  383. package/contracts/examples/unpermissioned/SimpleOracle.sol +133 -0
  384. package/contracts/examples/unpermissioned/SimplePool.sol +102 -0
  385. package/contracts/examples/unpermissioned/SimplePoolAuthorization.sol +28 -0
  386. package/contracts/examples/unpermissioned/SimpleProduct.sol +437 -0
  387. package/contracts/examples/unpermissioned/SimpleProductAuthorization.sol +28 -0
  388. package/contracts/instance/BaseStore.sol +93 -0
  389. package/contracts/instance/BundleSet.sol +42 -38
  390. package/contracts/instance/IBaseStore.sol +37 -0
  391. package/contracts/instance/IInstance.sol +113 -43
  392. package/contracts/instance/IInstanceService.sol +61 -34
  393. package/contracts/instance/Instance.sol +201 -104
  394. package/contracts/instance/InstanceAdmin.sol +218 -177
  395. package/contracts/instance/InstanceAuthorizationV3.sol +154 -83
  396. package/contracts/instance/InstanceReader.sol +456 -255
  397. package/contracts/instance/InstanceService.sol +333 -262
  398. package/contracts/instance/InstanceServiceManager.sol +6 -7
  399. package/contracts/instance/InstanceStore.sol +153 -107
  400. package/contracts/instance/ProductStore.sol +290 -0
  401. package/contracts/instance/RiskSet.sol +126 -0
  402. package/contracts/instance/TargetNames.sol +10 -0
  403. package/contracts/instance/base/BalanceStore.sol +4 -6
  404. package/contracts/instance/base/ObjectCounter.sol +1 -2
  405. package/contracts/instance/base/ObjectLifecycle.sol +13 -10
  406. package/contracts/instance/base/ObjectSet.sol +31 -33
  407. package/contracts/instance/base/ObjectSetHelperLib.sol +30 -0
  408. package/contracts/instance/module/IBundle.sol +6 -5
  409. package/contracts/instance/module/IComponents.sol +29 -20
  410. package/contracts/instance/module/IDistribution.sol +21 -8
  411. package/contracts/instance/module/IPolicy.sol +50 -29
  412. package/contracts/instance/module/IRisk.sol +5 -0
  413. package/contracts/mock/Dip.sol +1 -1
  414. package/contracts/oracle/BasicOracle.sol +3 -7
  415. package/contracts/oracle/BasicOracleAuthorization.sol +15 -8
  416. package/contracts/oracle/IOracle.sol +9 -4
  417. package/contracts/oracle/IOracleService.sol +2 -1
  418. package/contracts/oracle/Oracle.sol +11 -25
  419. package/contracts/oracle/OracleService.sol +119 -87
  420. package/contracts/oracle/OracleServiceManager.sol +6 -6
  421. package/contracts/pool/BasicPool.sol +40 -43
  422. package/contracts/pool/BasicPoolAuthorization.sol +39 -13
  423. package/contracts/pool/BundleService.sol +200 -155
  424. package/contracts/pool/BundleServiceManager.sol +6 -6
  425. package/contracts/pool/IBundleService.sol +42 -46
  426. package/contracts/pool/IPoolComponent.sol +19 -15
  427. package/contracts/pool/IPoolService.sol +97 -77
  428. package/contracts/pool/Pool.sol +145 -142
  429. package/contracts/pool/PoolLib.sol +341 -0
  430. package/contracts/pool/PoolService.sol +413 -233
  431. package/contracts/pool/PoolServiceManager.sol +4 -4
  432. package/contracts/product/ApplicationService.sol +144 -47
  433. package/contracts/product/ApplicationServiceManager.sol +4 -4
  434. package/contracts/product/BasicProduct.sol +11 -15
  435. package/contracts/product/BasicProductAuthorization.sol +32 -12
  436. package/contracts/product/ClaimService.sol +394 -185
  437. package/contracts/product/ClaimServiceManager.sol +4 -4
  438. package/contracts/product/IApplicationService.sol +29 -3
  439. package/contracts/product/IClaimService.sol +48 -11
  440. package/contracts/product/IPolicyService.sol +61 -39
  441. package/contracts/product/IPricingService.sol +11 -10
  442. package/contracts/product/IProductComponent.sol +27 -5
  443. package/contracts/product/IRiskService.sol +48 -0
  444. package/contracts/product/PolicyService.sol +434 -288
  445. package/contracts/product/PolicyServiceLib.sol +139 -0
  446. package/contracts/product/PolicyServiceManager.sol +4 -4
  447. package/contracts/product/PricingService.sol +90 -84
  448. package/contracts/product/PricingServiceManager.sol +4 -4
  449. package/contracts/product/Product.sol +198 -108
  450. package/contracts/product/RiskService.sol +189 -0
  451. package/contracts/product/RiskServiceManager.sol +39 -0
  452. package/contracts/registry/ChainNft.sol +72 -40
  453. package/contracts/registry/IRegistry.sol +70 -32
  454. package/contracts/registry/IRegistryService.sol +5 -12
  455. package/contracts/registry/IRelease.sol +29 -0
  456. package/contracts/registry/ITransferInterceptor.sol +1 -2
  457. package/contracts/registry/Registry.sol +367 -207
  458. package/contracts/registry/RegistryAdmin.sol +99 -291
  459. package/contracts/registry/RegistryAuthorization.sol +337 -0
  460. package/contracts/registry/RegistryService.sol +38 -49
  461. package/contracts/registry/RegistryServiceManager.sol +3 -3
  462. package/contracts/registry/ReleaseAdmin.sol +199 -0
  463. package/contracts/registry/ReleaseLifecycle.sol +8 -3
  464. package/contracts/registry/ReleaseRegistry.sol +279 -239
  465. package/contracts/registry/ServiceAuthorizationV3.sol +205 -63
  466. package/contracts/registry/TokenRegistry.sol +61 -59
  467. package/contracts/shared/Component.sol +72 -142
  468. package/contracts/shared/ComponentService.sol +428 -388
  469. package/contracts/shared/ComponentServiceManager.sol +8 -5
  470. package/contracts/shared/ContractLib.sol +312 -0
  471. package/contracts/shared/IComponent.sol +6 -18
  472. package/contracts/shared/IComponentService.sol +43 -40
  473. package/contracts/shared/IInstanceLinkedComponent.sol +6 -32
  474. package/contracts/shared/ILifecycle.sol +3 -1
  475. package/contracts/shared/INftOwnable.sol +4 -0
  476. package/contracts/shared/IPolicyHolder.sol +12 -22
  477. package/contracts/shared/IRegisterable.sol +22 -1
  478. package/contracts/shared/IService.sol +3 -5
  479. package/contracts/shared/InitializableERC165.sol +10 -2
  480. package/contracts/shared/InstanceLinkedComponent.sol +74 -54
  481. package/contracts/shared/Lifecycle.sol +15 -4
  482. package/contracts/shared/NftOwnable.sol +31 -9
  483. package/contracts/shared/PolicyHolder.sol +18 -54
  484. package/contracts/shared/Registerable.sol +52 -21
  485. package/contracts/shared/RegistryLinked.sol +9 -14
  486. package/contracts/shared/Service.sol +20 -35
  487. package/contracts/shared/TokenHandler.sol +310 -26
  488. package/contracts/shared/TokenHandlerDeployerLib.sol +20 -0
  489. package/contracts/staking/IStaking.sol +270 -71
  490. package/contracts/staking/IStakingService.sol +45 -78
  491. package/contracts/staking/ITargetLimitHandler.sol +17 -0
  492. package/contracts/staking/Staking.sol +526 -245
  493. package/contracts/staking/StakingLib.sol +195 -0
  494. package/contracts/staking/StakingManager.sol +12 -9
  495. package/contracts/staking/StakingReader.sol +70 -82
  496. package/contracts/staking/StakingService.sol +62 -152
  497. package/contracts/staking/StakingServiceManager.sol +7 -5
  498. package/contracts/staking/StakingStore.sol +1093 -330
  499. package/contracts/staking/TargetHandler.sol +132 -0
  500. package/contracts/staking/TargetManagerLib.sol +73 -46
  501. package/contracts/type/Amount.sol +19 -0
  502. package/contracts/type/Blocknumber.sol +24 -23
  503. package/contracts/type/ChainId.sol +101 -0
  504. package/contracts/type/ClaimId.sol +6 -1
  505. package/contracts/type/Fee.sol +8 -8
  506. package/contracts/type/Key32.sol +2 -2
  507. package/contracts/type/Key32Set.sol +62 -0
  508. package/contracts/type/NftId.sol +7 -0
  509. package/contracts/type/ObjectType.sol +73 -37
  510. package/contracts/type/PayoutId.sol +10 -10
  511. package/contracts/type/RiskId.sol +38 -6
  512. package/contracts/type/RoleId.sol +61 -55
  513. package/contracts/type/Seconds.sol +40 -1
  514. package/contracts/type/Selector.sol +5 -0
  515. package/contracts/type/StateId.sol +15 -1
  516. package/contracts/type/String.sol +12 -0
  517. package/contracts/type/Timestamp.sol +14 -7
  518. package/contracts/type/UFixed.sol +38 -126
  519. package/contracts/type/Version.sol +54 -5
  520. package/contracts/upgradeability/IVersionable.sol +3 -0
  521. package/contracts/upgradeability/ProxyManager.sol +94 -46
  522. package/contracts/upgradeability/UpgradableProxyWithAdmin.sol +12 -2
  523. package/contracts/upgradeability/Versionable.sol +8 -5
  524. package/package.json +5 -4
  525. package/artifacts/contracts/authorization/IModuleAuthorization.sol/IModuleAuthorization.dbg.json +0 -4
  526. package/artifacts/contracts/authorization/IModuleAuthorization.sol/IModuleAuthorization.json +0 -290
  527. package/artifacts/contracts/authorization/ModuleAuthorization.sol/ModuleAuthorization.dbg.json +0 -4
  528. package/artifacts/contracts/authorization/ModuleAuthorization.sol/ModuleAuthorization.json +0 -390
  529. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.dbg.json +0 -4
  530. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.json +0 -129
  531. package/artifacts/contracts/product/IProductService.sol/IProductService.dbg.json +0 -4
  532. package/artifacts/contracts/product/IProductService.sol/IProductService.json +0 -400
  533. package/artifacts/contracts/product/ProductService.sol/ProductService.dbg.json +0 -4
  534. package/artifacts/contracts/product/ProductService.sol/ProductService.json +0 -708
  535. package/artifacts/contracts/product/ProductServiceManager.sol/ProductServiceManager.dbg.json +0 -4
  536. package/artifacts/contracts/product/ProductServiceManager.sol/ProductServiceManager.json +0 -702
  537. package/artifacts/contracts/shared/ComponentVerifyingService.sol/ComponentVerifyingService.dbg.json +0 -4
  538. package/artifacts/contracts/shared/IKeyValueStore.sol/IKeyValueStore.dbg.json +0 -4
  539. package/artifacts/contracts/shared/InitializableCustom.sol/InitializableCustom.dbg.json +0 -4
  540. package/artifacts/contracts/shared/InitializableCustom.sol/InitializableCustom.json +0 -39
  541. package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.dbg.json +0 -4
  542. package/artifacts/contracts/staking/StakeManagerLib.sol/StakeManagerLib.dbg.json +0 -4
  543. package/artifacts/contracts/staking/StakeManagerLib.sol/StakeManagerLib.json +0 -470
  544. package/artifacts/contracts/staking/StakingLifecycle.sol/StakingLifecycle.dbg.json +0 -4
  545. package/artifacts/contracts/staking/StakingLifecycle.sol/StakingLifecycle.json +0 -164
  546. package/artifacts/contracts/type/UFixed.sol/MathLib.dbg.json +0 -4
  547. package/artifacts/contracts/type/UFixed.sol/MathLib.json +0 -16
  548. package/contracts/authorization/IModuleAuthorization.sol +0 -21
  549. package/contracts/authorization/ModuleAuthorization.sol +0 -78
  550. package/contracts/instance/module/IAccess.sol +0 -46
  551. package/contracts/product/IProductService.sol +0 -33
  552. package/contracts/product/ProductService.sol +0 -99
  553. package/contracts/product/ProductServiceManager.sol +0 -39
  554. package/contracts/shared/ComponentVerifyingService.sol +0 -117
  555. package/contracts/shared/IKeyValueStore.sol +0 -54
  556. package/contracts/shared/InitializableCustom.sol +0 -177
  557. package/contracts/shared/KeyValueStore.sol +0 -131
  558. package/contracts/staking/StakeManagerLib.sol +0 -231
  559. package/contracts/staking/StakingLifecycle.sol +0 -23
@@ -41,6 +41,17 @@
41
41
  "name": "AccessManagedUnauthorized",
42
42
  "type": "error"
43
43
  },
44
+ {
45
+ "inputs": [
46
+ {
47
+ "internalType": "address",
48
+ "name": "authority",
49
+ "type": "address"
50
+ }
51
+ ],
52
+ "name": "ErrorAuthorityInvalid",
53
+ "type": "error"
54
+ },
44
55
  {
45
56
  "inputs": [
46
57
  {
@@ -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$__90638e4ad86c90602401602060405180830381865af4158015611f9f573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611fc39190612869565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa158015612006573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610c84919061288f565b6040516001600160a01b03848116602483015283811660448301526001600160e01b0319831660648301525f9182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b179052516120989190612a82565b5f60405180830381855afa9150503d805f81146120d0576040519150601f19603f3d011682016040523d82523d5f602084013e6120d5565b606091505b5091509150811561212757604081511061210757808060200190518101906120fd9190612a98565b9094509250612127565b60208151106121275780806020019051810190612124919061268f565b93505b505094509492505050565b61213a611c04565b610ef481611eb8565b6040805160e0810182525f8082526020820181905291810182905260608082018390526080820183905260a082019290925260c081019190915290565b5f60208284031215612190575f80fd5b81356001600160e01b0319811681146121a7575f80fd5b9392505050565b6001600160a01b0381168114610ef4575f80fd5b80356121cd816121ae565b919050565b5f80604083850312156121e3575f80fd5b82356121ee816121ae565b915060208301356121fe816121ae565b809150509250929050565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081526001600160601b0382511660208201526001600160601b03602083015116604082015260ff60408301511660608201525f606083015161227f608084018215159052565b5060808301516001600160a01b03811660a08401525060a08301516001600160a01b03811660c08401525060c083015160e0808401526122c3610100840182612209565b949350505050565b6001600160601b0381168114610ef4575f80fd5b80356121cd816122cb565b60ff81168114610ef4575f80fd5b80356121cd816122ea565b8015158114610ef4575f80fd5b80356121cd81612303565b634e487b7160e01b5f52604160045260245ffd5b60405160e081016001600160401b03811182821017156123515761235161231b565b60405290565b604051601f8201601f191681016001600160401b038111828210171561237f5761237f61231b565b604052919050565b5f6001600160401b0382111561239f5761239f61231b565b50601f01601f191660200190565b5f82601f8301126123bc575f80fd5b81356123cf6123ca82612387565b612357565b8181528460208386010111156123e3575f80fd5b816020850160208301375f918101602001919091529392505050565b5f805f805f8060c08789031215612414575f80fd5b863561241f816121ae565b9550602087013561242f816122cb565b9450604087013561243f816122ea565b9350606087013561244f81612303565b9250608087013561245f816121ae565b915060a08701356001600160401b03811115612479575f80fd5b61248589828a016123ad565b9150509295509295509295565b5f602082840312156124a2575f80fd5b81356001600160401b038111156124b7575f80fd5b6122c3848285016123ad565b5f80604083850312156124d4575f80fd5b82356124df816121ae565b915060208301356001600160401b038111156124f9575f80fd5b612505858286016123ad565b9150509250929050565b5f6020828403121561251f575f80fd5b81356001600160401b03811115612534575f80fd5b820160e08185031215612545575f80fd5b61254d61232f565b612556826122df565b8152612564602083016122df565b6020820152612575604083016122f8565b604082015261258660608301612310565b6060820152612597608083016121c2565b60808201526125a860a083016121c2565b60a082015260c08201356001600160401b038111156125c5575f80fd5b6125d1868285016123ad565b60c083015250949350505050565b5f602082840312156125ef575f80fd5b81356121a7816121ae565b5f805f6060848603121561260c575f80fd5b8335612617816121ae565b92506020840135612627816121ae565b91506040840135612637816121ae565b809150509250925092565b6001600160e01b031991909116815260200190565b5f805f60608486031215612669575f80fd5b8335612674816121ae565b92506020840135612627816122ea565b80516121cd81612303565b5f6020828403121561269f575f80fd5b81516121a781612303565b80516121cd816122cb565b5f602082840312156126c5575f80fd5b81516121a7816122cb565b5f602082840312156126e0575f80fd5b815162ffffff811681146121a7575f80fd5b600181811c9082168061270657607f821691505b60208210810361272457634e487b7160e01b5f52602260045260245ffd5b50919050565b601f8211156113a357805f5260205f20601f840160051c8101602085101561274f5750805b601f840160051c820191505b8181101561276e575f815560010161275b565b5050505050565b81516001600160401b0381111561278e5761278e61231b565b6127a28161279c84546126f2565b8461272a565b6020601f8211600181146127d4575f83156127bd5750848201515b5f19600385901b1c1916600184901b17845561276e565b5f84815260208120601f198516915b8281101561280357878501518255602094850194600190920191016127e3565b508482101561282057868401515f19600387901b60f8161c191681555b50505050600190811b01905550565b6001600160401b0381168114610ef4575f80fd5b5f60208284031215612853575f80fd5b81516121a78161282f565b80516121cd816122ea565b5f60208284031215612879575f80fd5b81516121a7816122ea565b80516121cd816121ae565b5f6020828403121561289f575f80fd5b81516121a7816121ae565b5f80858511156128b8575f80fd5b838611156128c4575f80fd5b5050820193919092039150565b80356001600160e01b0319811690600484101561067f576001600160e01b031960049490940360031b84901b1690921692915050565b6001600160a01b03841681526040602082018190528101829052818360608301375f818301606090810191909152601f909201601f1916010192915050565b5f82601f830112612955575f80fd5b81516129636123ca82612387565b818152846020838601011115612977575f80fd5b8160208501602083015e5f918101602001919091529392505050565b5f602082840312156129a3575f80fd5b81516001600160401b038111156129b8575f80fd5b820160e081850312156129c9575f80fd5b6129d161232f565b6129da826126aa565b81526129e8602083016126aa565b60208201526129f96040830161285e565b6040820152612a0a60608301612684565b6060820152612a1b60808301612884565b6080820152612a2c60a08301612884565b60a082015260c08201516001600160401b03811115612a49575f80fd5b6125d186828501612946565b5f8060408385031215612a66575f80fd5b8251612a71816121ae565b60208401519092506121fe816121ae565b5f82518060208501845e5f920191825250919050565b5f8060408385031215612aa9575f80fd5b8251612ab481612303565b602084015190925063ffffffff811681146121fe575f80fdfe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00f0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00a2646970667358221220ad31a27ed360e5a50a18473ce94902e14d73f7a04df23ef54ca2629bdea3b10264736f6c634300081a0033",
1355
- "deployedBytecode": "0x608060405234801561000f575f80fd5b50600436106101f2575f3560e01c8063675393bf116101145780638fbc2d81116100a9578063c2bf08c811610079578063c2bf08c81461047b578063c4c79d8b1461048e578063d943342d146104a1578063ed841d0c146104b4578063f7c34ee0146104bb575f80fd5b80638fbc2d811461043d578063ada9652e14610450578063b68d180914610464578063bf7e214f14610473575f80fd5b80638105cc7f116100e45780638105cc7f146103fa578063893d20e81461040d5780638e32e979146104155780638fb3603714610428575f80fd5b8063675393bf146103a15780636c741e78146103b45780637286e5e5146103d45780637a9e5e4b146103e7575f80fd5b8063329d6e741161018a5780635ab1bd531161015a5780635ab1bd53146103395780635c992fed1461035e5780635d96628914610371578063644c45e014610384575f80fd5b8063329d6e74146102f857806336fc697e1461030b57806349bb9e4b1461031357806357a8fba714610326575f80fd5b8063138461e0116101c5578063138461e01461027b5780631eff4b221461029b578063214cdb80146102d057806327bb7a33146102e5575f80fd5b806301ffc9a7146101f6578063026bc43b146102375780630d8e6e2c146102575780630fec111c14610273575b5f80fd5b610222610204366004612180565b6001600160e01b0319165f9081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b61024a6102453660046121d2565b6104ce565b60405161022e9190612237565b61025f610686565b60405162ffffff909116815260200161022e565b61024a61070d565b610283610899565b6040516001600160601b03909116815260200161022e565b6102c27f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b60405190815260200161022e565b6102e36102de366004612180565b6108a3565b005b6102e36102f33660046123ff565b6108cf565b6102e3610306366004612492565b610974565b6102e3610abe565b6102e36103213660046124c3565b610b03565b61028361033436600461250f565b610bff565b6001546001600160a01b03165b6040516001600160a01b03909116815260200161022e565b61028361036c36600461250f565b610c8a565b61024a61037f3660046121d2565b610c9f565b5f80516020612ace833981519152546001600160601b0316610283565b6102e36103af3660046125df565b610de5565b6103bc610ef7565b6040516001600160401b03909116815260200161022e565b61024a6103e23660046121d2565b610fed565b6102e36103f53660046125df565b6110a3565b61028361040836600461250f565b611125565b61034661113a565b6102e36104233660046125fa565b61126b565b6104306113a8565b60405161022e9190612642565b61024a61044b3660046121d2565b6113dd565b6102c25f80516020612ace83398151915281565b6040516002815260200161022e565b610346611493565b61028361048936600461250f565b6114ae565b61024a61049c3660046121d2565b6114c3565b61024a6104af366004612657565b6114df565b6102c25f81565b6102e36104c93660046121d2565b611626565b6104d6612143565b6104e2335b5f3661169c565b6040516301ffc9a760e01b81526001600160a01b038416906301ffc9a79061051590632b1cb34b60e11b90600401612642565b602060405180830381865afa158015610530573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610554919061268f565b61058157604051631c8275e960e21b81526001600160a01b03841660048201526024015b60405180910390fd5b61058e83600a5b8461179a565b90506105a26001546001600160a01b031690565b6001600160a01b031663a5df9e4e826040518263ffffffff1660e01b81526004016105cd9190612237565b6020604051808303815f875af11580156105e9573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061060d91906126b5565b6001600160601b0316815260408051629c230f60e51b815290516001600160a01b0385169163138461e091600480830192602092919082900301815f875af115801561065b573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061067f91906126b5565b5092915050565b604051632efe011360e01b8152600360048201525f60248201819052604482018190529073__$8eede297b65ed5a56eb3f84d8232ae93f5$__90632efe011390606401602060405180830381865af41580156106e4573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061070891906126d0565b905090565b610715612143565b5f7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e0016040528073__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af415801561078b573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906107af91906126b5565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a0016107f761113a565b6001600160a01b03168152602001826001018054610814906126f2565b80601f0160208091040260200160405190810160405280929190818152602001828054610840906126f2565b801561088b5780601f106108625761010080835404028352916020019161088b565b820191905f5260205f20905b81548152906001019060200180831161086e57829003601f168201915b505050505081525091505090565b5f61070830611a0b565b6108ab611c04565b6001600160e01b0319165f908152602081905260409020805460ff19166001179055565b6108d7611c04565b6108e18287611626565b7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0387166cffffffffffffffffffffffffff1990911617600160601b60ff8716021760ff60681b1916600160681b851515021781557f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30161096a8382612775565b5050505050505050565b73__$8eede297b65ed5a56eb3f84d8232ae93f5$__63a123b37c610996610686565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af41580156109d4573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906109f89190612843565b5f80516020612b0e8339815191528054600160401b900460ff1680610a2a575080546001600160401b03808416911610155b15610a485760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b178155610a7283611c3c565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a1505050565b610ac6611c04565b6301ffc9a760e01b5f9081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b5f80516020612b0e8339815191528054600160401b810460ff1615906001600160401b03165f81158015610b345750825b90505f826001600160401b03166001148015610b4f5750303b155b905081158015610b5d575080155b15610b7b5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315610ba557845460ff60401b1916600160401b1785555b610baf8787611c44565b8315610bf657845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a15b50505050505050565b5f610c09336104db565b610c1482601c611d5f565b6001546040516352efcf2760e11b81526001600160a01b039091169063a5df9e4e90610c44908590600401612237565b6020604051808303815f875af1158015610c60573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610c8491906126b5565b92915050565b5f610c94336104db565b610c14826015611d5f565b610ca7612143565b610cb0336104db565b6040516301ffc9a760e01b81526001600160a01b038416906301ffc9a790610ce39063a388186360e01b90600401612642565b602060405180830381865afa158015610cfe573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610d22919061268f565b610d4a5760405163704b6c6d60e11b81526001600160a01b0384166004820152602401610578565b610d5583600c610588565b9050610d696001546001600160a01b031690565b6001600160a01b031663a5df9e4e826040518263ffffffff1660e01b8152600401610d949190612237565b6020604051808303815f875af1158015610db0573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610dd491906126b5565b6001600160601b0316815292915050565b610ded611c04565b806001600160a01b03163b5f03610e225760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610578565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b81526301ffc9a790610e68906318788cbb60e11b90600401612642565b602060405180830381865afa925050508015610ea1575060408051601f3d908101601f19168201909252610e9e9181019061268f565b60015b610ec95760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610578565b80610ef25760405163fdeac91f60e01b81526001600160a01b0383166004820152602401610578565b505b50565b5f73__$1d92393fa9ccd763988368ce8a1cb90d26$__63dda777d36002604051632392b61b60e21b81526003600482015273__$b659da7d8a6d2d32aa6c1e17da23dc2174$__90638e4ad86c90602401602060405180830381865af4158015610f62573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610f869190612869565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865af4158015610fc9573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906107089190612843565b610ff5612143565b610ffe336104db565b6040516301ffc9a760e01b81526001600160a01b038416906301ffc9a79061103190636ec6c77160e11b90600401612642565b602060405180830381865afa15801561104c573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611070919061268f565b611098576040516304c983f360e41b81526001600160a01b0384166004820152602401610578565b610d5583600f610588565b336110ac611493565b6001600160a01b0316816001600160a01b0316146110e75760405162d1953b60e31b81526001600160a01b0382166004820152602401610578565b816001600160a01b03163b5f0361111c576040516361798f2f60e11b81526001600160a01b0383166004820152602401610578565b610ef282611eb8565b5f61112f336104db565b610c14826020611d5f565b5f805f80516020612ace83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af41580156111a6573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906111ca919061268f565b15611255576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa15801561122b573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061124f919061288f565b91505090565b54600160601b90046001600160a01b0316919050565b611273611c04565b6112ef83846001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa1580156112b3573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906112d791906126b5565b60085f8560405180602001604052805f8152506108cf565b6001600160a01b0382161561130c5761130782611f18565b611383565b5f6113176002611f29565b9050611381816001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611358573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061137c919061288f565b611f18565b505b611393634a531f3360e01b6108a3565b6113a363daf9067160e01b6108a3565b505050565b5f80516020612aee83398151915280545f9190600160a01b900460ff166113cf575f61124f565b638fb3603760e01b91505090565b6113e5612143565b6113ee336104db565b6040516301ffc9a760e01b81526001600160a01b038416906301ffc9a790611421906301a39f4760e01b90600401612642565b602060405180830381865afa15801561143c573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611460919061268f565b611488576040516367237f5b60e11b81526001600160a01b0384166004820152602401610578565b610d5583600e610588565b5f80516020612aee833981519152546001600160a01b031690565b5f6114b8336104db565b610c1482601e611d5f565b6114cb612143565b6114d4336104db565b610d55836003610588565b6114e7612143565b6114f0336104db565b6040516301ffc9a760e01b81526001600160a01b038516906301ffc9a79061152390632986755f60e11b90600401612642565b602060405180830381865afa15801561153e573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611562919061268f565b61158a57604051632624ae7760e01b81526001600160a01b0385166004820152602401610578565b61159584848461179a565b90506115a96001546001600160a01b031690565b6001600160a01b031663a5df9e4e826040518263ffffffff1660e01b81526004016115d49190612237565b6020604051808303815f875af11580156115f0573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061161491906126b5565b6001600160601b031681529392505050565b61162e611c04565b61163781610de5565b61163f610abe565b6001600160a01b0382166116665760405163f17ef42d60e01b815260040160405180910390fd5b505f80516020612ace83398151915280546001600160601b0316600160601b6001600160a01b0390931692909202919091179055565b5f80516020612aee8339815191525f806116d46116b7611493565b87306116c660045f8a8c6128aa565b6116cf916128d1565b61202a565b91509150816117925763ffffffff81161561176f57825460ff60a01b1916600160a01b178355611702611493565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b815260040161173193929190612907565b5f604051808303815f87803b158015611748575f80fd5b505af115801561175a573d5f803e3d5ffd5b5050845460ff60a01b19168555506117929050565b60405162d1953b60e31b81526001600160a01b0387166004820152602401610578565b505050505050565b6117a2612143565b836001600160a01b0316630fec111c6040518163ffffffff1660e01b81526004015f60405180830381865afa1580156117dd573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526118049190810190612993565b9050836001600160a01b031681608001516001600160a01b0316146118555760808101516040516306704ad960e11b81526001600160a01b0380871660048301529091166024820152604401610578565b604081015160ff8481169116146118a157604080820151905163137f2ac560e31b81526001600160a01b038616600482015260ff80861660248301529091166044820152606401610578565b60a08101516001600160a01b03808216908416146118ed576040516335ce70c360e21b81526001600160a01b038087166004830152808516602483015282166044820152606401610578565b846001600160a01b0316816001600160a01b03160361192a57604051638e80a3f960e01b81526001600160a01b0386166004820152602401610578565b6001600160a01b03811661195c576040516343e40cb560e01b81526001600160a01b0386166004820152602401610578565b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038381166004830152919091169063c3c5a54790602401602060405180830381865afa1580156119ae573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906119d2919061268f565b15611a03576040516309ad872b60e41b81526001600160a01b03808716600483015282166024820152604401610578565b509392505050565b5f805f80516020612ace83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015611a77573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611a9b919061268f565b15611ac75780546040516301ab8b6760e21b81526001600160601b039091166004820152602401610578565b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038581166004830152919091169063c3c5a54790602401602060405180830381865afa158015611b19573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611b3d919061268f565b611b655760405163b9304b0d60e01b81526001600160a01b0384166004820152602401610578565b6001546001600160a01b0316604051636939560f60e11b81526001600160a01b038581166004830152919091169063d272ac1e90602401602060405180830381865afa158015611bb7573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611bdb91906126b5565b81546bffffffffffffffffffffffff19166001600160601b039190911690811790915592915050565b5f80516020612b0e83398151915254600160401b900460ff16611c3a57604051631afcd79f60e31b815260040160405180910390fd5b565b6101f2611c04565b5f80516020612b0e8339815191528054600160401b810460ff1615906001600160401b03165f81158015611c755750825b90505f826001600160401b03166001148015611c905750303b155b905081158015611c9e575080155b15611cbc5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315611ce657845460ff60401b1916600160401b1785555b5f8087806020019051810190611cfc9190612a55565b91509150611d0b82828b61126b565b611d1b6393a3e0eb60e01b6108a3565b50508315610bf657845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d290602001610bed565b60808201516001600160a01b031615611d965760408083015190516340fda83160e11b815260ff9091166004820152602401610578565b604082015160ff828116911614611dd3576040808301519051632e5fbed960e21b815260ff80841660048301529091166024820152604401610578565b60a08201516001600160a01b038116611e0a576040808401519051633312954f60e21b815260ff9091166004820152602401610578565b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038381166004830152919091169063c3c5a54790602401602060405180830381865afa158015611e5c573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611e80919061268f565b156113a357604080840151905163b4139d2560e01b815260ff90911660048201526001600160a01b0382166024820152604401610578565b5f80516020612aee83398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b611f20611c04565b610ef481612132565b5f611f3c6001546001600160a01b031690565b604051632392b61b60e21b8152600360048201526001600160a01b03919091169063d39e604390849073__$b659da7d8a6d2d32aa6c1e17da23dc2174$__90638e4ad86c90602401602060405180830381865af4158015611f9f573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611fc39190612869565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa158015612006573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610c84919061288f565b6040516001600160a01b03848116602483015283811660448301526001600160e01b0319831660648301525f9182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b179052516120989190612a82565b5f60405180830381855afa9150503d805f81146120d0576040519150601f19603f3d011682016040523d82523d5f602084013e6120d5565b606091505b5091509150811561212757604081511061210757808060200190518101906120fd9190612a98565b9094509250612127565b60208151106121275780806020019051810190612124919061268f565b93505b505094509492505050565b61213a611c04565b610ef481611eb8565b6040805160e0810182525f8082526020820181905291810182905260608082018390526080820183905260a082019290925260c081019190915290565b5f60208284031215612190575f80fd5b81356001600160e01b0319811681146121a7575f80fd5b9392505050565b6001600160a01b0381168114610ef4575f80fd5b80356121cd816121ae565b919050565b5f80604083850312156121e3575f80fd5b82356121ee816121ae565b915060208301356121fe816121ae565b809150509250929050565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081526001600160601b0382511660208201526001600160601b03602083015116604082015260ff60408301511660608201525f606083015161227f608084018215159052565b5060808301516001600160a01b03811660a08401525060a08301516001600160a01b03811660c08401525060c083015160e0808401526122c3610100840182612209565b949350505050565b6001600160601b0381168114610ef4575f80fd5b80356121cd816122cb565b60ff81168114610ef4575f80fd5b80356121cd816122ea565b8015158114610ef4575f80fd5b80356121cd81612303565b634e487b7160e01b5f52604160045260245ffd5b60405160e081016001600160401b03811182821017156123515761235161231b565b60405290565b604051601f8201601f191681016001600160401b038111828210171561237f5761237f61231b565b604052919050565b5f6001600160401b0382111561239f5761239f61231b565b50601f01601f191660200190565b5f82601f8301126123bc575f80fd5b81356123cf6123ca82612387565b612357565b8181528460208386010111156123e3575f80fd5b816020850160208301375f918101602001919091529392505050565b5f805f805f8060c08789031215612414575f80fd5b863561241f816121ae565b9550602087013561242f816122cb565b9450604087013561243f816122ea565b9350606087013561244f81612303565b9250608087013561245f816121ae565b915060a08701356001600160401b03811115612479575f80fd5b61248589828a016123ad565b9150509295509295509295565b5f602082840312156124a2575f80fd5b81356001600160401b038111156124b7575f80fd5b6122c3848285016123ad565b5f80604083850312156124d4575f80fd5b82356124df816121ae565b915060208301356001600160401b038111156124f9575f80fd5b612505858286016123ad565b9150509250929050565b5f6020828403121561251f575f80fd5b81356001600160401b03811115612534575f80fd5b820160e08185031215612545575f80fd5b61254d61232f565b612556826122df565b8152612564602083016122df565b6020820152612575604083016122f8565b604082015261258660608301612310565b6060820152612597608083016121c2565b60808201526125a860a083016121c2565b60a082015260c08201356001600160401b038111156125c5575f80fd5b6125d1868285016123ad565b60c083015250949350505050565b5f602082840312156125ef575f80fd5b81356121a7816121ae565b5f805f6060848603121561260c575f80fd5b8335612617816121ae565b92506020840135612627816121ae565b91506040840135612637816121ae565b809150509250925092565b6001600160e01b031991909116815260200190565b5f805f60608486031215612669575f80fd5b8335612674816121ae565b92506020840135612627816122ea565b80516121cd81612303565b5f6020828403121561269f575f80fd5b81516121a781612303565b80516121cd816122cb565b5f602082840312156126c5575f80fd5b81516121a7816122cb565b5f602082840312156126e0575f80fd5b815162ffffff811681146121a7575f80fd5b600181811c9082168061270657607f821691505b60208210810361272457634e487b7160e01b5f52602260045260245ffd5b50919050565b601f8211156113a357805f5260205f20601f840160051c8101602085101561274f5750805b601f840160051c820191505b8181101561276e575f815560010161275b565b5050505050565b81516001600160401b0381111561278e5761278e61231b565b6127a28161279c84546126f2565b8461272a565b6020601f8211600181146127d4575f83156127bd5750848201515b5f19600385901b1c1916600184901b17845561276e565b5f84815260208120601f198516915b8281101561280357878501518255602094850194600190920191016127e3565b508482101561282057868401515f19600387901b60f8161c191681555b50505050600190811b01905550565b6001600160401b0381168114610ef4575f80fd5b5f60208284031215612853575f80fd5b81516121a78161282f565b80516121cd816122ea565b5f60208284031215612879575f80fd5b81516121a7816122ea565b80516121cd816121ae565b5f6020828403121561289f575f80fd5b81516121a7816121ae565b5f80858511156128b8575f80fd5b838611156128c4575f80fd5b5050820193919092039150565b80356001600160e01b0319811690600484101561067f576001600160e01b031960049490940360031b84901b1690921692915050565b6001600160a01b03841681526040602082018190528101829052818360608301375f818301606090810191909152601f909201601f1916010192915050565b5f82601f830112612955575f80fd5b81516129636123ca82612387565b818152846020838601011115612977575f80fd5b8160208501602083015e5f918101602001919091529392505050565b5f602082840312156129a3575f80fd5b81516001600160401b038111156129b8575f80fd5b820160e081850312156129c9575f80fd5b6129d161232f565b6129da826126aa565b81526129e8602083016126aa565b60208201526129f96040830161285e565b6040820152612a0a60608301612684565b6060820152612a1b60808301612884565b6080820152612a2c60a08301612884565b60a082015260c08201516001600160401b03811115612a49575f80fd5b6125d186828501612946565b5f8060408385031215612a66575f80fd5b8251612a71816121ae565b60208401519092506121fe816121ae565b5f82518060208501845e5f920191825250919050565b5f8060408385031215612aa9575f80fd5b8251612ab481612303565b602084015190925063ffffffff811681146121fe575f80fdfe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00f0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00a2646970667358221220ad31a27ed360e5a50a18473ce94902e14d73f7a04df23ef54ca2629bdea3b10264736f6c634300081a0033",
1196
+ "bytecode": "0x6080604052348015600e575f80fd5b5060156019565b60c9565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00805468010000000000000000900460ff161560685760405163f92ee8a960e01b815260040160405180910390fd5b80546001600160401b039081161460c65780546001600160401b0319166001600160401b0390811782556040519081527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50565b6128c8806100d65f395ff3fe608060405234801561000f575f80fd5b50600436106101a1575f3560e01c80635d966289116100f35780638fb3603711610093578063bf7e214f1161006e578063bf7e214f146103e1578063c2bf08c8146103e9578063c4c79d8b146103fc578063ed841d0c1461040f575f80fd5b80638fb36037146103a5578063ada9652e146103c6578063b68d1809146103da575f80fd5b806376b707b7116100ce57806376b707b71461035d5780637a9e5e4b146103775780638105cc7f1461038a578063893d20e81461039d575f80fd5b80635d9662891461030d578063644c45e0146103205780636c741e781461033d575f80fd5b806322f3e2d41161015e57806349bb9e4b1161013957806349bb9e4b146102af57806357a8fba7146102c25780635ab1bd53146102d55780635c992fed146102fa575f80fd5b806322f3e2d41461027f578063329d6e74146102875780633f429c921461029c575f80fd5b806301ffc9a7146101a5578063026bc43b146101e65780630d8e6e2c146102065780630fec111c14610222578063138461e01461022a5780631eff4b221461024a575b5f80fd5b6101d16101b3366004611fda565b6001600160e01b0319165f9081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b6101f96101f436600461202c565b610416565b6040516101dd9190612091565b61020e6105c9565b60405162ffffff90911681526020016101dd565b6101f9610650565b6102326107dc565b6040516001600160601b0390911681526020016101dd565b6102717f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b6040519081526020016101dd565b6101d16107e6565b61029a610295366004612209565b61085d565b005b6101f96102aa366004612253565b6109ba565b61029a6102bd36600461229b565b610b47565b6102326102d036600461231e565b610c55565b6001546001600160a01b03165b6040516001600160a01b0390911681526020016101dd565b61023261030836600461231e565b610ce0565b6101f961031b36600461202c565b610cf5565b5f80516020612853833981519152546001600160601b0316610232565b610345610e36565b6040516001600160401b0390911681526020016101dd565b610365610ec2565b60405160ff90911681526020016101dd565b61029a6103853660046123ee565b610f2a565b61023261039836600461231e565b610fb0565b6102e2610fc5565b6103ad6110f6565b6040516001600160e01b031990911681526020016101dd565b6102715f8051602061285383398151915281565b6002610365565b6102e261112b565b6102326103f736600461231e565b611146565b6101f961040a36600461202c565b61115b565b6102715f81565b61041e611f9d565b61042a335b5f36611177565b6040516301ffc9a760e01b815263850aeec760e01b60048201526001600160a01b038416906301ffc9a790602401602060405180830381865afa158015610473573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906104979190612414565b6104c457604051631c8275e960e21b81526001600160a01b03841660048201526024015b60405180910390fd5b6104d183600a5b84611275565b90506104e56001546001600160a01b031690565b6001600160a01b031663a5df9e4e826040518263ffffffff1660e01b81526004016105109190612091565b6020604051808303815f875af115801561052c573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610550919061243a565b6001600160601b0316815260408051629c230f60e51b815290516001600160a01b0385169163138461e091600480830192602092919082900301815f875af115801561059e573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906105c2919061243a565b5092915050565b604051632efe011360e01b8152600360048201525f60248201819052604482018190529073__$8eede297b65ed5a56eb3f84d8232ae93f5$__90632efe011390606401602060405180830381865af4158015610627573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061064b9190612455565b905090565b610658611f9d565b5f7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e0016040528073__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af41580156106ce573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906106f2919061243a565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a00161073a610fc5565b6001600160a01b0316815260200182600101805461075790612477565b80601f016020809104026020016040519081016040528092919081815260200182805461078390612477565b80156107ce5780601f106107a5576101008083540402835291602001916107ce565b820191905f5260205f20905b8154815290600101906020018083116107b157829003601f168201915b505050505081525091505090565b5f61064b306114e6565b5f6107ef61112b565b60405163a166aa8960e01b81523060048201526001600160a01b03919091169063a166aa8990602401602060405180830381865afa158015610833573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906108579190612414565b15905090565b73__$8eede297b65ed5a56eb3f84d8232ae93f5$__63a123b37c61087f6105c9565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af41580156108bd573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906108e191906124c3565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a008054600160401b900460ff1680610926575080546001600160401b03808416911610155b156109445760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b17815561096e8361173c565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a1505050565b6109c2611f9d565b6109cb33610423565b6040516301ffc9a760e01b81526306e9e5ff60e31b60048201526001600160a01b038516906301ffc9a790602401602060405180830381865afa158015610a14573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610a389190612414565b610a6057604051632624ae7760e01b81526001600160a01b03851660048201526024016104bb565b60ff8316600e1480610a75575060ff8316600d145b80610a83575060ff8316600f145b610aab576040516329e5065360e11b81526001600160a01b03851660048201526024016104bb565b610ab6848484611275565b9050610aca6001546001600160a01b031690565b6001600160a01b031663a5df9e4e826040518263ffffffff1660e01b8152600401610af59190612091565b6020604051808303815f875af1158015610b11573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b35919061243a565b6001600160601b031681529392505050565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a008054600160401b810460ff1615906001600160401b03165f81158015610b8b5750825b90505f826001600160401b03166001148015610ba65750303b155b905081158015610bb4575080155b15610bd25760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315610bfc57845460ff60401b1916600160401b1785555b610c06878761175d565b8315610c4c57845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50505050505050565b5f610c5f33610423565b610c6a8260176117a0565b6001546040516352efcf2760e11b81526001600160a01b039091169063a5df9e4e90610c9a908590600401612091565b6020604051808303815f875af1158015610cb6573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610cda919061243a565b92915050565b5f610cea33610423565b610c6a8260156117a0565b610cfd611f9d565b610d0633610423565b6040516301ffc9a760e01b8152630cdf80bd60e31b60048201526001600160a01b038416906301ffc9a790602401602060405180830381865afa158015610d4f573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610d739190612414565b610d9b5760405163704b6c6d60e11b81526001600160a01b03841660048201526024016104bb565b610da683600c6104cb565b9050610dba6001546001600160a01b031690565b6001600160a01b031663a5df9e4e826040518263ffffffff1660e01b8152600401610de59190612091565b6020604051808303815f875af1158015610e01573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610e25919061243a565b6001600160601b0316815292915050565b5f73__$1d92393fa9ccd763988368ce8a1cb90d26$__63645ceefe6002610e5b610ec2565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865af4158015610e9e573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061064b91906124c3565b5f610ecb61112b565b6001600160a01b03166376b707b76040518163ffffffff1660e01b8152600401602060405180830381865afa158015610f06573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061064b91906124e9565b33610f3361112b565b6001600160a01b0316816001600160a01b031614610f6e5760405162d1953b60e31b81526001600160a01b03821660048201526024016104bb565b816001600160a01b03163b5f03610fa3576040516361798f2f60e11b81526001600160a01b03831660048201526024016104bb565b610fac826119ed565b5050565b5f610fba33610423565b610c6a82601e6117a0565b5f805f8051602061285383398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015611031573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906110559190612414565b156110e0576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa1580156110b6573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906110da919061250f565b91505090565b54600160601b90046001600160a01b0316919050565b5f8051602061287383398151915280545f9190600160a01b900460ff1661111d575f6110da565b638fb3603760e01b91505090565b5f80516020612873833981519152546001600160a01b031690565b5f61115033610423565b610c6a8260166117a0565b611163611f9d565b61116c33610423565b610da68360036104cb565b5f805160206128738339815191525f806111af61119261112b565b87306111a160045f8a8c61252a565b6111aa91612551565b611a4d565b915091508161126d5763ffffffff81161561124a57825460ff60a01b1916600160a01b1783556111dd61112b565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b815260040161120c93929190612587565b5f604051808303815f87803b158015611223575f80fd5b505af1158015611235573d5f803e3d5ffd5b5050845460ff60a01b191685555061126d9050565b60405162d1953b60e31b81526001600160a01b03871660048201526024016104bb565b505050505050565b61127d611f9d565b836001600160a01b0316630fec111c6040518163ffffffff1660e01b81526004015f60405180830381865afa1580156112b8573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526112df9190810190612613565b9050836001600160a01b031681608001516001600160a01b0316146113305760808101516040516306704ad960e11b81526001600160a01b03808716600483015290911660248201526044016104bb565b604081015160ff84811691161461137c57604080820151905163137f2ac560e31b81526001600160a01b038616600482015260ff808616602483015290911660448201526064016104bb565b60a08101516001600160a01b03808216908416146113c8576040516335ce70c360e21b81526001600160a01b0380871660048301528085166024830152821660448201526064016104bb565b846001600160a01b0316816001600160a01b03160361140557604051638e80a3f960e01b81526001600160a01b03861660048201526024016104bb565b6001600160a01b038116611437576040516343e40cb560e01b81526001600160a01b03861660048201526024016104bb565b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038381166004830152919091169063c3c5a54790602401602060405180830381865afa158015611489573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906114ad9190612414565b156114de576040516309ad872b60e41b81526001600160a01b038087166004830152821660248201526044016104bb565b509392505050565b5f805f8051602061285383398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015611552573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906115769190612414565b156115a25780546040516301ab8b6760e21b81526001600160601b0390911660048201526024016104bb565b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038581166004830152919091169063c3c5a54790602401602060405180830381865afa1580156115f4573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906116189190612414565b6116405760405163b9304b0d60e01b81526001600160a01b03841660048201526024016104bb565b6001546001600160a01b0316604051632f2a35f760e11b81526001600160a01b0385811660048301529190911690635e546bee90602401602060405180830381865afa158015611692573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906116b6919061243a565b81546bffffffffffffffffffffffff19166001600160601b039190911690811782557f88857b75cbef7f257c9d5a473e28aaf6a91cc28f717f60f2cda3bcf5623d7b5490611702610fc5565b604080516001600160601b0390931683526001600160a01b0390911660208301520160405180910390a1546001600160601b031692915050565b611744611b55565b60405163502ec37160e01b815260040160405180910390fd5b611765611b55565b5f808280602001905181019061177b91906126d5565b9150915061178a828286611ba0565b61179a6328342add60e01b611c39565b50505050565b60808201516001600160a01b0316156117d75760408083015190516340fda83160e11b815260ff90911660048201526024016104bb565b604082015160ff828116911614611814576040808301519051632e5fbed960e21b815260ff808416600483015290911660248201526044016104bb565b60a08201516001600160a01b03811661184b576040808401519051633312954f60e21b815260ff90911660048201526024016104bb565b336001600160a01b0382160361187f57604051633bb3291360e01b81526001600160a01b03821660048201526024016104bb565b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038381166004830152919091169063c3c5a54790602401602060405180830381865afa1580156118d1573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906118f59190612414565b156119e8575f61190d6001546001600160a01b031690565b6040516308b09a5f60e41b81526001600160a01b0384811660048301529190911690638b09a5f0906024015f60405180830381865afa158015611952573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526119799190810190612613565b60400151905060ff811660021480611994575060ff81166003145b806119a2575060ff81166008145b806119b0575060ff8116600a145b1561179a57604080850151905163b4139d2560e01b815260ff90911660048201526001600160a01b03831660248201526044016104bb565b505050565b5f8051602061287383398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b6040516001600160a01b03848116602483015283811660448301526001600160e01b0319831660648301525f9182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b17905251611abb9190612702565b5f60405180830381855afa9150503d805f8114611af3576040519150601f19603f3d011682016040523d82523d5f602084013e611af8565b606091505b50915091508115611b4a576040815110611b2a5780806020019051810190611b209190612718565b9094509250611b4a565b6020815110611b4a5780806020019051810190611b479190612414565b93505b505094509492505050565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a0054600160401b900460ff16611b9e57604051631afcd79f60e31b815260040160405180910390fd5b565b611ba8611b55565b611bb0611c6c565b611c2d8383846001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa158015611bf1573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611c15919061243a565b60085f8660405180602001604052805f815250611c7c565b6119e863daf9067160e01b5b611c41611b55565b611c69816001600160e01b0319165f908152602081905260409020805460ff19166001179055565b50565b611c74611b55565b611b9e611dc3565b611c84611b55565b604051632330f24760e01b81526001600160a01b038816600482015273__$fb599632d08395912d9d70eb2f0f93b5e2$__90632330f24790602401602060405180830381865af4158015611cda573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611cfe9190612414565b611d265760405163cf6935e560e01b81526001600160a01b03881660048201526024016104bb565b611d2f87611df1565b611d398683611e02565b5f7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166cffffffffffffffffffffffffff1990911617600160601b60ff8816021760ff60681b1916600160681b86151502178155905060018101611da88382612798565b50611db9634a531f3360e01b611c39565b5050505050505050565b611dcb611b55565b60017f9b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f0055565b611df9611b55565b611c6981611e78565b611e0a611b55565b611e12611e89565b611e1b82611ed1565b6001600160a01b038116611e425760405163f17ef42d60e01b815260040160405180910390fd5b5f8051602061285383398151915280546001600160601b0316600160601b6001600160a01b039093169290920291909117905550565b611e80611b55565b611c69816119ed565b611e91611b55565b611b9e6301ffc9a760e01b5f9081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b611ed9611b55565b604051633334d16b60e01b81526001600160a01b038216600482015273__$fb599632d08395912d9d70eb2f0f93b5e2$__90633334d16b90602401602060405180830381865af4158015611f2f573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611f539190612414565b611f7b5760405163fdeac91f60e01b81526001600160a01b03821660048201526024016104bb565b600180546001600160a01b0319166001600160a01b0392909216919091179055565b6040805160e0810182525f8082526020820181905291810182905260608082018390526080820183905260a082019290925260c081019190915290565b5f60208284031215611fea575f80fd5b81356001600160e01b031981168114612001575f80fd5b9392505050565b6001600160a01b0381168114611c69575f80fd5b803561202781612008565b919050565b5f806040838503121561203d575f80fd5b823561204881612008565b9150602083013561205881612008565b809150509250929050565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081526001600160601b0382511660208201526001600160601b03602083015116604082015260ff60408301511660608201525f60608301516120d9608084018215159052565b5060808301516001600160a01b03811660a08401525060a08301516001600160a01b03811660c08401525060c083015160e08084015261211d610100840182612063565b949350505050565b634e487b7160e01b5f52604160045260245ffd5b60405160e081016001600160401b038111828210171561215b5761215b612125565b60405290565b604051601f8201601f191681016001600160401b038111828210171561218957612189612125565b604052919050565b5f6001600160401b038211156121a9576121a9612125565b50601f01601f191660200190565b5f82601f8301126121c6575f80fd5b81356121d96121d482612191565b612161565b8181528460208386010111156121ed575f80fd5b816020850160208301375f918101602001919091529392505050565b5f60208284031215612219575f80fd5b81356001600160401b0381111561222e575f80fd5b61211d848285016121b7565b60ff81168114611c69575f80fd5b80356120278161223a565b5f805f60608486031215612265575f80fd5b833561227081612008565b925060208401356122808161223a565b9150604084013561229081612008565b809150509250925092565b5f80604083850312156122ac575f80fd5b82356122b781612008565b915060208301356001600160401b038111156122d1575f80fd5b6122dd858286016121b7565b9150509250929050565b6001600160601b0381168114611c69575f80fd5b8035612027816122e7565b8015158114611c69575f80fd5b803561202781612306565b5f6020828403121561232e575f80fd5b81356001600160401b03811115612343575f80fd5b820160e08185031215612354575f80fd5b61235c612139565b612365826122fb565b8152612373602083016122fb565b602082015261238460408301612248565b604082015261239560608301612313565b60608201526123a66080830161201c565b60808201526123b760a0830161201c565b60a082015260c08201356001600160401b038111156123d4575f80fd5b6123e0868285016121b7565b60c083015250949350505050565b5f602082840312156123fe575f80fd5b813561200181612008565b805161202781612306565b5f60208284031215612424575f80fd5b815161200181612306565b8051612027816122e7565b5f6020828403121561244a575f80fd5b8151612001816122e7565b5f60208284031215612465575f80fd5b815162ffffff81168114612001575f80fd5b600181811c9082168061248b57607f821691505b6020821081036124a957634e487b7160e01b5f52602260045260245ffd5b50919050565b6001600160401b0381168114611c69575f80fd5b5f602082840312156124d3575f80fd5b8151612001816124af565b80516120278161223a565b5f602082840312156124f9575f80fd5b81516120018161223a565b805161202781612008565b5f6020828403121561251f575f80fd5b815161200181612008565b5f8085851115612538575f80fd5b83861115612544575f80fd5b5050820193919092039150565b80356001600160e01b031981169060048410156105c2576001600160e01b031960049490940360031b84901b1690921692915050565b6001600160a01b03841681526040602082018190528101829052818360608301375f818301606090810191909152601f909201601f1916010192915050565b5f82601f8301126125d5575f80fd5b81516125e36121d482612191565b8181528460208386010111156125f7575f80fd5b8160208501602083015e5f918101602001919091529392505050565b5f60208284031215612623575f80fd5b81516001600160401b03811115612638575f80fd5b820160e08185031215612649575f80fd5b612651612139565b61265a8261242f565b81526126686020830161242f565b6020820152612679604083016124de565b604082015261268a60608301612409565b606082015261269b60808301612504565b60808201526126ac60a08301612504565b60a082015260c08201516001600160401b038111156126c9575f80fd5b6123e0868285016125c6565b5f80604083850312156126e6575f80fd5b82516126f181612008565b602084015190925061205881612008565b5f82518060208501845e5f920191825250919050565b5f8060408385031215612729575f80fd5b825161273481612306565b602084015190925063ffffffff81168114612058575f80fd5b601f8211156119e857805f5260205f20601f840160051c810160208510156127725750805b601f840160051c820191505b81811015612791575f815560010161277e565b5050505050565b81516001600160401b038111156127b1576127b1612125565b6127c5816127bf8454612477565b8461274d565b6020601f8211600181146127f7575f83156127e05750848201515b5f19600385901b1c1916600184901b178455612791565b5f84815260208120601f198516915b828110156128265787850151825560209485019460019092019101612806565b508482101561284357868401515f19600387901b60f8161c191681555b50505050600190811b0190555056fe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00a264697066735822122069e20f5a8fb607ee8c205e31955d5d780762a3cb9a6c4cc9a502a24eaff5ff5464736f6c634300081a0033",
1197
+ "deployedBytecode": "0x608060405234801561000f575f80fd5b50600436106101a1575f3560e01c80635d966289116100f35780638fb3603711610093578063bf7e214f1161006e578063bf7e214f146103e1578063c2bf08c8146103e9578063c4c79d8b146103fc578063ed841d0c1461040f575f80fd5b80638fb36037146103a5578063ada9652e146103c6578063b68d1809146103da575f80fd5b806376b707b7116100ce57806376b707b71461035d5780637a9e5e4b146103775780638105cc7f1461038a578063893d20e81461039d575f80fd5b80635d9662891461030d578063644c45e0146103205780636c741e781461033d575f80fd5b806322f3e2d41161015e57806349bb9e4b1161013957806349bb9e4b146102af57806357a8fba7146102c25780635ab1bd53146102d55780635c992fed146102fa575f80fd5b806322f3e2d41461027f578063329d6e74146102875780633f429c921461029c575f80fd5b806301ffc9a7146101a5578063026bc43b146101e65780630d8e6e2c146102065780630fec111c14610222578063138461e01461022a5780631eff4b221461024a575b5f80fd5b6101d16101b3366004611fda565b6001600160e01b0319165f9081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b6101f96101f436600461202c565b610416565b6040516101dd9190612091565b61020e6105c9565b60405162ffffff90911681526020016101dd565b6101f9610650565b6102326107dc565b6040516001600160601b0390911681526020016101dd565b6102717f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b6040519081526020016101dd565b6101d16107e6565b61029a610295366004612209565b61085d565b005b6101f96102aa366004612253565b6109ba565b61029a6102bd36600461229b565b610b47565b6102326102d036600461231e565b610c55565b6001546001600160a01b03165b6040516001600160a01b0390911681526020016101dd565b61023261030836600461231e565b610ce0565b6101f961031b36600461202c565b610cf5565b5f80516020612853833981519152546001600160601b0316610232565b610345610e36565b6040516001600160401b0390911681526020016101dd565b610365610ec2565b60405160ff90911681526020016101dd565b61029a6103853660046123ee565b610f2a565b61023261039836600461231e565b610fb0565b6102e2610fc5565b6103ad6110f6565b6040516001600160e01b031990911681526020016101dd565b6102715f8051602061285383398151915281565b6002610365565b6102e261112b565b6102326103f736600461231e565b611146565b6101f961040a36600461202c565b61115b565b6102715f81565b61041e611f9d565b61042a335b5f36611177565b6040516301ffc9a760e01b815263850aeec760e01b60048201526001600160a01b038416906301ffc9a790602401602060405180830381865afa158015610473573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906104979190612414565b6104c457604051631c8275e960e21b81526001600160a01b03841660048201526024015b60405180910390fd5b6104d183600a5b84611275565b90506104e56001546001600160a01b031690565b6001600160a01b031663a5df9e4e826040518263ffffffff1660e01b81526004016105109190612091565b6020604051808303815f875af115801561052c573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610550919061243a565b6001600160601b0316815260408051629c230f60e51b815290516001600160a01b0385169163138461e091600480830192602092919082900301815f875af115801561059e573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906105c2919061243a565b5092915050565b604051632efe011360e01b8152600360048201525f60248201819052604482018190529073__$8eede297b65ed5a56eb3f84d8232ae93f5$__90632efe011390606401602060405180830381865af4158015610627573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061064b9190612455565b905090565b610658611f9d565b5f7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e0016040528073__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af41580156106ce573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906106f2919061243a565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a00161073a610fc5565b6001600160a01b0316815260200182600101805461075790612477565b80601f016020809104026020016040519081016040528092919081815260200182805461078390612477565b80156107ce5780601f106107a5576101008083540402835291602001916107ce565b820191905f5260205f20905b8154815290600101906020018083116107b157829003601f168201915b505050505081525091505090565b5f61064b306114e6565b5f6107ef61112b565b60405163a166aa8960e01b81523060048201526001600160a01b03919091169063a166aa8990602401602060405180830381865afa158015610833573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906108579190612414565b15905090565b73__$8eede297b65ed5a56eb3f84d8232ae93f5$__63a123b37c61087f6105c9565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af41580156108bd573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906108e191906124c3565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a008054600160401b900460ff1680610926575080546001600160401b03808416911610155b156109445760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b17815561096e8361173c565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a1505050565b6109c2611f9d565b6109cb33610423565b6040516301ffc9a760e01b81526306e9e5ff60e31b60048201526001600160a01b038516906301ffc9a790602401602060405180830381865afa158015610a14573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610a389190612414565b610a6057604051632624ae7760e01b81526001600160a01b03851660048201526024016104bb565b60ff8316600e1480610a75575060ff8316600d145b80610a83575060ff8316600f145b610aab576040516329e5065360e11b81526001600160a01b03851660048201526024016104bb565b610ab6848484611275565b9050610aca6001546001600160a01b031690565b6001600160a01b031663a5df9e4e826040518263ffffffff1660e01b8152600401610af59190612091565b6020604051808303815f875af1158015610b11573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b35919061243a565b6001600160601b031681529392505050565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a008054600160401b810460ff1615906001600160401b03165f81158015610b8b5750825b90505f826001600160401b03166001148015610ba65750303b155b905081158015610bb4575080155b15610bd25760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315610bfc57845460ff60401b1916600160401b1785555b610c06878761175d565b8315610c4c57845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50505050505050565b5f610c5f33610423565b610c6a8260176117a0565b6001546040516352efcf2760e11b81526001600160a01b039091169063a5df9e4e90610c9a908590600401612091565b6020604051808303815f875af1158015610cb6573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610cda919061243a565b92915050565b5f610cea33610423565b610c6a8260156117a0565b610cfd611f9d565b610d0633610423565b6040516301ffc9a760e01b8152630cdf80bd60e31b60048201526001600160a01b038416906301ffc9a790602401602060405180830381865afa158015610d4f573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610d739190612414565b610d9b5760405163704b6c6d60e11b81526001600160a01b03841660048201526024016104bb565b610da683600c6104cb565b9050610dba6001546001600160a01b031690565b6001600160a01b031663a5df9e4e826040518263ffffffff1660e01b8152600401610de59190612091565b6020604051808303815f875af1158015610e01573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610e25919061243a565b6001600160601b0316815292915050565b5f73__$1d92393fa9ccd763988368ce8a1cb90d26$__63645ceefe6002610e5b610ec2565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865af4158015610e9e573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061064b91906124c3565b5f610ecb61112b565b6001600160a01b03166376b707b76040518163ffffffff1660e01b8152600401602060405180830381865afa158015610f06573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061064b91906124e9565b33610f3361112b565b6001600160a01b0316816001600160a01b031614610f6e5760405162d1953b60e31b81526001600160a01b03821660048201526024016104bb565b816001600160a01b03163b5f03610fa3576040516361798f2f60e11b81526001600160a01b03831660048201526024016104bb565b610fac826119ed565b5050565b5f610fba33610423565b610c6a82601e6117a0565b5f805f8051602061285383398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015611031573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906110559190612414565b156110e0576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa1580156110b6573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906110da919061250f565b91505090565b54600160601b90046001600160a01b0316919050565b5f8051602061287383398151915280545f9190600160a01b900460ff1661111d575f6110da565b638fb3603760e01b91505090565b5f80516020612873833981519152546001600160a01b031690565b5f61115033610423565b610c6a8260166117a0565b611163611f9d565b61116c33610423565b610da68360036104cb565b5f805160206128738339815191525f806111af61119261112b565b87306111a160045f8a8c61252a565b6111aa91612551565b611a4d565b915091508161126d5763ffffffff81161561124a57825460ff60a01b1916600160a01b1783556111dd61112b565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b815260040161120c93929190612587565b5f604051808303815f87803b158015611223575f80fd5b505af1158015611235573d5f803e3d5ffd5b5050845460ff60a01b191685555061126d9050565b60405162d1953b60e31b81526001600160a01b03871660048201526024016104bb565b505050505050565b61127d611f9d565b836001600160a01b0316630fec111c6040518163ffffffff1660e01b81526004015f60405180830381865afa1580156112b8573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526112df9190810190612613565b9050836001600160a01b031681608001516001600160a01b0316146113305760808101516040516306704ad960e11b81526001600160a01b03808716600483015290911660248201526044016104bb565b604081015160ff84811691161461137c57604080820151905163137f2ac560e31b81526001600160a01b038616600482015260ff808616602483015290911660448201526064016104bb565b60a08101516001600160a01b03808216908416146113c8576040516335ce70c360e21b81526001600160a01b0380871660048301528085166024830152821660448201526064016104bb565b846001600160a01b0316816001600160a01b03160361140557604051638e80a3f960e01b81526001600160a01b03861660048201526024016104bb565b6001600160a01b038116611437576040516343e40cb560e01b81526001600160a01b03861660048201526024016104bb565b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038381166004830152919091169063c3c5a54790602401602060405180830381865afa158015611489573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906114ad9190612414565b156114de576040516309ad872b60e41b81526001600160a01b038087166004830152821660248201526044016104bb565b509392505050565b5f805f8051602061285383398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015611552573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906115769190612414565b156115a25780546040516301ab8b6760e21b81526001600160601b0390911660048201526024016104bb565b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038581166004830152919091169063c3c5a54790602401602060405180830381865afa1580156115f4573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906116189190612414565b6116405760405163b9304b0d60e01b81526001600160a01b03841660048201526024016104bb565b6001546001600160a01b0316604051632f2a35f760e11b81526001600160a01b0385811660048301529190911690635e546bee90602401602060405180830381865afa158015611692573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906116b6919061243a565b81546bffffffffffffffffffffffff19166001600160601b039190911690811782557f88857b75cbef7f257c9d5a473e28aaf6a91cc28f717f60f2cda3bcf5623d7b5490611702610fc5565b604080516001600160601b0390931683526001600160a01b0390911660208301520160405180910390a1546001600160601b031692915050565b611744611b55565b60405163502ec37160e01b815260040160405180910390fd5b611765611b55565b5f808280602001905181019061177b91906126d5565b9150915061178a828286611ba0565b61179a6328342add60e01b611c39565b50505050565b60808201516001600160a01b0316156117d75760408083015190516340fda83160e11b815260ff90911660048201526024016104bb565b604082015160ff828116911614611814576040808301519051632e5fbed960e21b815260ff808416600483015290911660248201526044016104bb565b60a08201516001600160a01b03811661184b576040808401519051633312954f60e21b815260ff90911660048201526024016104bb565b336001600160a01b0382160361187f57604051633bb3291360e01b81526001600160a01b03821660048201526024016104bb565b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038381166004830152919091169063c3c5a54790602401602060405180830381865afa1580156118d1573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906118f59190612414565b156119e8575f61190d6001546001600160a01b031690565b6040516308b09a5f60e41b81526001600160a01b0384811660048301529190911690638b09a5f0906024015f60405180830381865afa158015611952573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526119799190810190612613565b60400151905060ff811660021480611994575060ff81166003145b806119a2575060ff81166008145b806119b0575060ff8116600a145b1561179a57604080850151905163b4139d2560e01b815260ff90911660048201526001600160a01b03831660248201526044016104bb565b505050565b5f8051602061287383398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b6040516001600160a01b03848116602483015283811660448301526001600160e01b0319831660648301525f9182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b17905251611abb9190612702565b5f60405180830381855afa9150503d805f8114611af3576040519150601f19603f3d011682016040523d82523d5f602084013e611af8565b606091505b50915091508115611b4a576040815110611b2a5780806020019051810190611b209190612718565b9094509250611b4a565b6020815110611b4a5780806020019051810190611b479190612414565b93505b505094509492505050565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a0054600160401b900460ff16611b9e57604051631afcd79f60e31b815260040160405180910390fd5b565b611ba8611b55565b611bb0611c6c565b611c2d8383846001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa158015611bf1573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611c15919061243a565b60085f8660405180602001604052805f815250611c7c565b6119e863daf9067160e01b5b611c41611b55565b611c69816001600160e01b0319165f908152602081905260409020805460ff19166001179055565b50565b611c74611b55565b611b9e611dc3565b611c84611b55565b604051632330f24760e01b81526001600160a01b038816600482015273__$fb599632d08395912d9d70eb2f0f93b5e2$__90632330f24790602401602060405180830381865af4158015611cda573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611cfe9190612414565b611d265760405163cf6935e560e01b81526001600160a01b03881660048201526024016104bb565b611d2f87611df1565b611d398683611e02565b5f7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166cffffffffffffffffffffffffff1990911617600160601b60ff8816021760ff60681b1916600160681b86151502178155905060018101611da88382612798565b50611db9634a531f3360e01b611c39565b5050505050505050565b611dcb611b55565b60017f9b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f0055565b611df9611b55565b611c6981611e78565b611e0a611b55565b611e12611e89565b611e1b82611ed1565b6001600160a01b038116611e425760405163f17ef42d60e01b815260040160405180910390fd5b5f8051602061285383398151915280546001600160601b0316600160601b6001600160a01b039093169290920291909117905550565b611e80611b55565b611c69816119ed565b611e91611b55565b611b9e6301ffc9a760e01b5f9081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b611ed9611b55565b604051633334d16b60e01b81526001600160a01b038216600482015273__$fb599632d08395912d9d70eb2f0f93b5e2$__90633334d16b90602401602060405180830381865af4158015611f2f573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611f539190612414565b611f7b5760405163fdeac91f60e01b81526001600160a01b03821660048201526024016104bb565b600180546001600160a01b0319166001600160a01b0392909216919091179055565b6040805160e0810182525f8082526020820181905291810182905260608082018390526080820183905260a082019290925260c081019190915290565b5f60208284031215611fea575f80fd5b81356001600160e01b031981168114612001575f80fd5b9392505050565b6001600160a01b0381168114611c69575f80fd5b803561202781612008565b919050565b5f806040838503121561203d575f80fd5b823561204881612008565b9150602083013561205881612008565b809150509250929050565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081526001600160601b0382511660208201526001600160601b03602083015116604082015260ff60408301511660608201525f60608301516120d9608084018215159052565b5060808301516001600160a01b03811660a08401525060a08301516001600160a01b03811660c08401525060c083015160e08084015261211d610100840182612063565b949350505050565b634e487b7160e01b5f52604160045260245ffd5b60405160e081016001600160401b038111828210171561215b5761215b612125565b60405290565b604051601f8201601f191681016001600160401b038111828210171561218957612189612125565b604052919050565b5f6001600160401b038211156121a9576121a9612125565b50601f01601f191660200190565b5f82601f8301126121c6575f80fd5b81356121d96121d482612191565b612161565b8181528460208386010111156121ed575f80fd5b816020850160208301375f918101602001919091529392505050565b5f60208284031215612219575f80fd5b81356001600160401b0381111561222e575f80fd5b61211d848285016121b7565b60ff81168114611c69575f80fd5b80356120278161223a565b5f805f60608486031215612265575f80fd5b833561227081612008565b925060208401356122808161223a565b9150604084013561229081612008565b809150509250925092565b5f80604083850312156122ac575f80fd5b82356122b781612008565b915060208301356001600160401b038111156122d1575f80fd5b6122dd858286016121b7565b9150509250929050565b6001600160601b0381168114611c69575f80fd5b8035612027816122e7565b8015158114611c69575f80fd5b803561202781612306565b5f6020828403121561232e575f80fd5b81356001600160401b03811115612343575f80fd5b820160e08185031215612354575f80fd5b61235c612139565b612365826122fb565b8152612373602083016122fb565b602082015261238460408301612248565b604082015261239560608301612313565b60608201526123a66080830161201c565b60808201526123b760a0830161201c565b60a082015260c08201356001600160401b038111156123d4575f80fd5b6123e0868285016121b7565b60c083015250949350505050565b5f602082840312156123fe575f80fd5b813561200181612008565b805161202781612306565b5f60208284031215612424575f80fd5b815161200181612306565b8051612027816122e7565b5f6020828403121561244a575f80fd5b8151612001816122e7565b5f60208284031215612465575f80fd5b815162ffffff81168114612001575f80fd5b600181811c9082168061248b57607f821691505b6020821081036124a957634e487b7160e01b5f52602260045260245ffd5b50919050565b6001600160401b0381168114611c69575f80fd5b5f602082840312156124d3575f80fd5b8151612001816124af565b80516120278161223a565b5f602082840312156124f9575f80fd5b81516120018161223a565b805161202781612008565b5f6020828403121561251f575f80fd5b815161200181612008565b5f8085851115612538575f80fd5b83861115612544575f80fd5b5050820193919092039150565b80356001600160e01b031981169060048410156105c2576001600160e01b031960049490940360031b84901b1690921692915050565b6001600160a01b03841681526040602082018190528101829052818360608301375f818301606090810191909152601f909201601f1916010192915050565b5f82601f8301126125d5575f80fd5b81516125e36121d482612191565b8181528460208386010111156125f7575f80fd5b8160208501602083015e5f918101602001919091529392505050565b5f60208284031215612623575f80fd5b81516001600160401b03811115612638575f80fd5b820160e08185031215612649575f80fd5b612651612139565b61265a8261242f565b81526126686020830161242f565b6020820152612679604083016124de565b604082015261268a60608301612409565b606082015261269b60808301612504565b60808201526126ac60a08301612504565b60a082015260c08201516001600160401b038111156126c9575f80fd5b6123e0868285016125c6565b5f80604083850312156126e6575f80fd5b82516126f181612008565b602084015190925061205881612008565b5f82518060208501845e5f920191825250919050565b5f8060408385031215612729575f80fd5b825161273481612306565b602084015190925063ffffffff81168114612058575f80fd5b601f8211156119e857805f5260205f20601f840160051c810160208510156127725750805b601f840160051c820191505b81811015612791575f815560010161277e565b5050505050565b81516001600160401b038111156127b1576127b1612125565b6127c5816127bf8454612477565b8461274d565b6020601f8211600181146127f7575f83156127e05750848201515b5f19600385901b1c1916600184901b178455612791565b5f84815260208120601f198516915b828110156128265787850151825560209485019460019092019101612806565b508482101561284357868401515f19600387901b60f8161c191681555b50505050600190811b0190555056fe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00a264697066735822122069e20f5a8fb607ee8c205e31955d5d780762a3cb9a6c4cc9a502a24eaff5ff5464736f6c634300081a0033",
1356
1198
  "linkReferences": {
1199
+ "contracts/shared/ContractLib.sol": {
1200
+ "ContractLib": [
1201
+ {
1202
+ "length": 20,
1203
+ "start": 7544
1204
+ },
1205
+ {
1206
+ "length": 20,
1207
+ "start": 8141
1208
+ }
1209
+ ]
1210
+ },
1357
1211
  "contracts/type/NftId.sol": {
1358
1212
  "NftIdLib": [
1359
1213
  {
1360
1214
  "length": 20,
1361
- "start": 2076
1215
+ "start": 1887
1362
1216
  },
1363
1217
  {
1364
1218
  "length": 20,
1365
- "start": 4676
1219
+ "start": 4303
1366
1220
  },
1367
1221
  {
1368
1222
  "length": 20,
1369
- "start": 6933
1223
+ "start": 5616
1370
1224
  }
1371
1225
  ]
1372
1226
  },
@@ -1374,7 +1228,7 @@
1374
1228
  "RoleIdLib": [
1375
1229
  {
1376
1230
  "length": 20,
1377
- "start": 4048
1231
+ "start": 3855
1378
1232
  }
1379
1233
  ]
1380
1234
  },
@@ -1382,39 +1236,41 @@
1382
1236
  "VersionLib": [
1383
1237
  {
1384
1238
  "length": 20,
1385
- "start": 1922
1239
+ "start": 1733
1386
1240
  },
1387
1241
  {
1388
1242
  "length": 20,
1389
- "start": 2636
1243
+ "start": 2357
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": 7330
1396
1254
  },
1397
1255
  {
1398
1256
  "length": 20,
1399
- "start": 8253
1257
+ "start": 7927
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": 1673
1410
1266
  },
1411
1267
  {
1412
1268
  "length": 20,
1413
- "start": 4462
1269
+ "start": 4089
1414
1270
  },
1415
1271
  {
1416
1272
  "length": 20,
1417
- "start": 6719
1273
+ "start": 5402
1418
1274
  }
1419
1275
  ]
1420
1276
  },
@@ -1422,7 +1278,7 @@
1422
1278
  "RoleIdLib": [
1423
1279
  {
1424
1280
  "length": 20,
1425
- "start": 3834
1281
+ "start": 3641
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": 1519
1444
1290
  },
1445
1291
  {
1446
1292
  "length": 20,
1447
- "start": 8039
1293
+ "start": 2143
1448
1294
  }
1449
1295
  ]
1450
1296
  }