@etherisc/gif-next 0.0.2-da2c7dd-538 → 0.0.2-da87b00-860

Sign up to get free protection for your applications and to get access to all the features.
Files changed (469) hide show
  1. package/README.md +57 -1
  2. package/artifacts/contracts/accounting/AccountingService.sol/AccountingService.dbg.json +1 -1
  3. package/artifacts/contracts/accounting/AccountingService.sol/AccountingService.json +106 -38
  4. package/artifacts/contracts/accounting/AccountingServiceManager.sol/AccountingServiceManager.dbg.json +1 -1
  5. package/artifacts/contracts/accounting/AccountingServiceManager.sol/AccountingServiceManager.json +91 -45
  6. package/artifacts/contracts/accounting/IAccountingService.sol/IAccountingService.dbg.json +1 -1
  7. package/artifacts/contracts/accounting/IAccountingService.sol/IAccountingService.json +58 -6
  8. package/artifacts/contracts/authorization/AccessAdmin.sol/AccessAdmin.dbg.json +1 -1
  9. package/artifacts/contracts/authorization/AccessAdmin.sol/AccessAdmin.json +573 -288
  10. package/artifacts/contracts/authorization/AccessAdminLib.sol/AccessAdminLib.dbg.json +4 -0
  11. package/artifacts/contracts/authorization/AccessAdminLib.sol/AccessAdminLib.json +1289 -0
  12. package/artifacts/contracts/authorization/AccessManagerCloneable.sol/AccessManagerCloneable.dbg.json +1 -1
  13. package/artifacts/contracts/authorization/AccessManagerCloneable.sol/AccessManagerCloneable.json +8 -39
  14. package/artifacts/contracts/authorization/Authorization.sol/Authorization.dbg.json +1 -1
  15. package/artifacts/contracts/authorization/Authorization.sol/Authorization.json +295 -47
  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 +452 -210
  19. package/artifacts/contracts/authorization/IAuthorization.sol/IAuthorization.dbg.json +1 -1
  20. package/artifacts/contracts/authorization/IAuthorization.sol/IAuthorization.json +119 -14
  21. package/artifacts/contracts/authorization/IServiceAuthorization.sol/IServiceAuthorization.dbg.json +1 -1
  22. package/artifacts/contracts/authorization/IServiceAuthorization.sol/IServiceAuthorization.json +246 -16
  23. package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.dbg.json +1 -1
  24. package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.json +420 -27
  25. package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.dbg.json +1 -1
  26. package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.json +64 -142
  27. package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.dbg.json +1 -1
  28. package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.json +275 -59
  29. package/artifacts/contracts/distribution/Distribution.sol/Distribution.dbg.json +1 -1
  30. package/artifacts/contracts/distribution/Distribution.sol/Distribution.json +21 -88
  31. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.dbg.json +1 -1
  32. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.json +448 -148
  33. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +1 -1
  34. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.json +143 -77
  35. package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.dbg.json +1 -1
  36. package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.json +20 -87
  37. package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.dbg.json +1 -1
  38. package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.json +296 -20
  39. package/artifacts/contracts/examples/fire/DamageLevel.sol/DamageLevelLib.dbg.json +1 -1
  40. package/artifacts/contracts/examples/fire/FirePool.sol/FirePool.dbg.json +1 -1
  41. package/artifacts/contracts/examples/fire/FirePool.sol/FirePool.json +109 -100
  42. package/artifacts/contracts/examples/fire/FirePoolAuthorization.sol/FirePoolAuthorization.dbg.json +1 -1
  43. package/artifacts/contracts/examples/fire/FirePoolAuthorization.sol/FirePoolAuthorization.json +274 -58
  44. package/artifacts/contracts/examples/fire/FireProduct.sol/FireProduct.dbg.json +1 -1
  45. package/artifacts/contracts/examples/fire/FireProduct.sol/FireProduct.json +145 -124
  46. package/artifacts/contracts/examples/fire/FireProductAuthorization.sol/FireProductAuthorization.dbg.json +1 -1
  47. package/artifacts/contracts/examples/fire/FireProductAuthorization.sol/FireProductAuthorization.json +274 -58
  48. package/artifacts/contracts/examples/fire/FireUSD.sol/FireUSD.dbg.json +1 -1
  49. package/artifacts/contracts/examples/unpermissioned/SimpleDistribution.sol/SimpleDistribution.dbg.json +1 -1
  50. package/artifacts/contracts/examples/unpermissioned/SimpleDistribution.sol/SimpleDistribution.json +126 -166
  51. package/artifacts/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol/SimpleDistributionAuthorization.dbg.json +1 -1
  52. package/artifacts/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol/SimpleDistributionAuthorization.json +274 -58
  53. package/artifacts/contracts/examples/unpermissioned/SimpleOracle.sol/SimpleOracle.dbg.json +1 -1
  54. package/artifacts/contracts/examples/unpermissioned/SimpleOracle.sol/SimpleOracle.json +39 -63
  55. package/artifacts/contracts/examples/unpermissioned/SimplePool.sol/SimplePool.dbg.json +1 -1
  56. package/artifacts/contracts/examples/unpermissioned/SimplePool.sol/SimplePool.json +130 -138
  57. package/artifacts/contracts/examples/unpermissioned/SimplePoolAuthorization.sol/SimplePoolAuthorization.dbg.json +1 -1
  58. package/artifacts/contracts/examples/unpermissioned/SimplePoolAuthorization.sol/SimplePoolAuthorization.json +274 -58
  59. package/artifacts/contracts/examples/unpermissioned/SimpleProduct.sol/SimpleProduct.dbg.json +1 -1
  60. package/artifacts/contracts/examples/unpermissioned/SimpleProduct.sol/SimpleProduct.json +333 -180
  61. package/artifacts/contracts/examples/unpermissioned/SimpleProductAuthorization.sol/SimpleProductAuthorization.dbg.json +1 -1
  62. package/artifacts/contracts/examples/unpermissioned/SimpleProductAuthorization.sol/SimpleProductAuthorization.json +274 -58
  63. package/artifacts/contracts/instance/BundleSet.sol/BundleSet.dbg.json +1 -1
  64. package/artifacts/contracts/instance/BundleSet.sol/BundleSet.json +2 -2
  65. package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
  66. package/artifacts/contracts/instance/IInstance.sol/IInstance.json +427 -28
  67. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +1 -1
  68. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +335 -12
  69. package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
  70. package/artifacts/contracts/instance/Instance.sol/Instance.json +430 -62
  71. package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.dbg.json +1 -1
  72. package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.json +822 -402
  73. package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.dbg.json +1 -1
  74. package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.json +299 -58
  75. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +1 -1
  76. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +619 -402
  77. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +1 -1
  78. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +367 -64
  79. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +1 -1
  80. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +83 -55
  81. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.dbg.json +1 -1
  82. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.json +448 -374
  83. package/artifacts/contracts/instance/RiskSet.sol/RiskSet.dbg.json +1 -1
  84. package/artifacts/contracts/instance/RiskSet.sol/RiskSet.json +101 -88
  85. package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.dbg.json +1 -1
  86. package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.json +8 -8
  87. package/artifacts/contracts/instance/base/Cloneable.sol/Cloneable.dbg.json +1 -1
  88. package/artifacts/contracts/instance/base/ObjectCounter.sol/ObjectCounter.dbg.json +1 -1
  89. package/artifacts/contracts/instance/base/ObjectCounter.sol/ObjectCounter.json +2 -2
  90. package/artifacts/contracts/instance/base/ObjectLifecycle.sol/ObjectLifecycle.dbg.json +1 -1
  91. package/artifacts/contracts/instance/base/ObjectLifecycle.sol/ObjectLifecycle.json +2 -2
  92. package/artifacts/contracts/instance/base/ObjectSet.sol/ObjectSet.dbg.json +1 -1
  93. package/artifacts/contracts/instance/base/ObjectSet.sol/ObjectSet.json +2 -2
  94. package/artifacts/contracts/instance/base/ObjectSetHelperLib.sol/ObjectSetHelperLib.dbg.json +1 -1
  95. package/artifacts/contracts/instance/base/ObjectSetHelperLib.sol/ObjectSetHelperLib.json +20 -20
  96. package/artifacts/contracts/instance/module/IBundle.sol/IBundle.dbg.json +1 -1
  97. package/artifacts/contracts/instance/module/IComponents.sol/IComponents.dbg.json +1 -1
  98. package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.dbg.json +1 -1
  99. package/artifacts/contracts/instance/module/IPolicy.sol/IPolicy.dbg.json +1 -1
  100. package/artifacts/contracts/instance/module/IRisk.sol/IRisk.dbg.json +1 -1
  101. package/artifacts/contracts/mock/Dip.sol/Dip.dbg.json +1 -1
  102. package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.dbg.json +1 -1
  103. package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.json +33 -35
  104. package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.dbg.json +1 -1
  105. package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.json +294 -53
  106. package/artifacts/contracts/oracle/IOracle.sol/IOracle.dbg.json +1 -1
  107. package/artifacts/contracts/oracle/IOracleComponent.sol/IOracleComponent.dbg.json +1 -1
  108. package/artifacts/contracts/oracle/IOracleComponent.sol/IOracleComponent.json +19 -21
  109. package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.dbg.json +1 -1
  110. package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.json +29 -0
  111. package/artifacts/contracts/oracle/Oracle.sol/Oracle.dbg.json +1 -1
  112. package/artifacts/contracts/oracle/Oracle.sol/Oracle.json +19 -21
  113. package/artifacts/contracts/oracle/OracleService.sol/OracleService.dbg.json +1 -1
  114. package/artifacts/contracts/oracle/OracleService.sol/OracleService.json +87 -42
  115. package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.dbg.json +1 -1
  116. package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.json +96 -50
  117. package/artifacts/contracts/pool/BasicPool.sol/BasicPool.dbg.json +1 -1
  118. package/artifacts/contracts/pool/BasicPool.sol/BasicPool.json +59 -69
  119. package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.dbg.json +1 -1
  120. package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.json +274 -58
  121. package/artifacts/contracts/pool/BundleService.sol/BundleService.dbg.json +1 -1
  122. package/artifacts/contracts/pool/BundleService.sol/BundleService.json +300 -123
  123. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.dbg.json +1 -1
  124. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.json +124 -58
  125. package/artifacts/contracts/pool/IBundleService.sol/IBundleService.dbg.json +1 -1
  126. package/artifacts/contracts/pool/IBundleService.sol/IBundleService.json +186 -33
  127. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.dbg.json +1 -1
  128. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.json +29 -31
  129. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.dbg.json +1 -1
  130. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.json +238 -19
  131. package/artifacts/contracts/pool/Pool.sol/Pool.dbg.json +1 -1
  132. package/artifacts/contracts/pool/Pool.sol/Pool.json +29 -31
  133. package/artifacts/contracts/pool/PoolLib.sol/PoolLib.dbg.json +1 -1
  134. package/artifacts/contracts/pool/PoolLib.sol/PoolLib.json +100 -34
  135. package/artifacts/contracts/pool/PoolService.sol/PoolService.dbg.json +1 -1
  136. package/artifacts/contracts/pool/PoolService.sol/PoolService.json +346 -87
  137. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.dbg.json +1 -1
  138. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.json +121 -63
  139. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.dbg.json +1 -1
  140. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.json +273 -50
  141. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +1 -1
  142. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.json +103 -41
  143. package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.dbg.json +1 -1
  144. package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.json +46 -48
  145. package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.dbg.json +1 -1
  146. package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.json +274 -58
  147. package/artifacts/contracts/product/ClaimService.sol/ClaimService.dbg.json +1 -1
  148. package/artifacts/contracts/product/ClaimService.sol/ClaimService.json +142 -102
  149. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +1 -1
  150. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.json +113 -75
  151. package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.dbg.json +1 -1
  152. package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.json +208 -1
  153. package/artifacts/contracts/product/IClaimService.sol/IClaimService.dbg.json +1 -1
  154. package/artifacts/contracts/product/IClaimService.sol/IClaimService.json +50 -10
  155. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.dbg.json +1 -1
  156. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.json +55 -0
  157. package/artifacts/contracts/product/IPricingService.sol/IPricingService.dbg.json +1 -1
  158. package/artifacts/contracts/product/IPricingService.sol/IPricingService.json +50 -0
  159. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.dbg.json +1 -1
  160. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.json +40 -42
  161. package/artifacts/contracts/product/IRiskService.sol/IRiskService.dbg.json +1 -1
  162. package/artifacts/contracts/product/IRiskService.sol/IRiskService.json +224 -18
  163. package/artifacts/contracts/product/PolicyService.sol/PolicyService.dbg.json +1 -1
  164. package/artifacts/contracts/product/PolicyService.sol/PolicyService.json +157 -86
  165. package/artifacts/contracts/product/PolicyServiceLib.sol/PolicyServiceLib.dbg.json +1 -1
  166. package/artifacts/contracts/product/PolicyServiceLib.sol/PolicyServiceLib.json +511 -21
  167. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +1 -1
  168. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.json +118 -72
  169. package/artifacts/contracts/product/PricingService.sol/PricingService.dbg.json +1 -1
  170. package/artifacts/contracts/product/PricingService.sol/PricingService.json +116 -114
  171. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.dbg.json +1 -1
  172. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.json +100 -70
  173. package/artifacts/contracts/product/Product.sol/Product.dbg.json +1 -1
  174. package/artifacts/contracts/product/Product.sol/Product.json +40 -42
  175. package/artifacts/contracts/product/RiskService.sol/RiskService.dbg.json +1 -1
  176. package/artifacts/contracts/product/RiskService.sol/RiskService.json +258 -44
  177. package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.dbg.json +1 -1
  178. package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.json +84 -42
  179. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
  180. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
  181. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +33 -22
  182. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +1 -1
  183. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +29 -0
  184. package/artifacts/contracts/registry/IRelease.sol/IRelease.dbg.json +1 -1
  185. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +1 -1
  186. package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
  187. package/artifacts/contracts/registry/Registry.sol/Registry.json +71 -60
  188. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.dbg.json +1 -1
  189. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.json +704 -472
  190. package/artifacts/contracts/registry/RegistryAuthorization.sol/RegistryAuthorization.dbg.json +4 -0
  191. package/artifacts/contracts/registry/RegistryAuthorization.sol/RegistryAuthorization.json +1074 -0
  192. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +1 -1
  193. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +47 -18
  194. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +1 -1
  195. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +76 -38
  196. package/artifacts/contracts/registry/ReleaseAdmin.sol/ReleaseAdmin.dbg.json +1 -1
  197. package/artifacts/contracts/registry/ReleaseAdmin.sol/ReleaseAdmin.json +710 -407
  198. package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.dbg.json +1 -1
  199. package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.json +2 -2
  200. package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.dbg.json +1 -1
  201. package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.json +184 -128
  202. package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.dbg.json +1 -1
  203. package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.json +437 -26
  204. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +1 -1
  205. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +119 -59
  206. package/artifacts/contracts/shared/Component.sol/Component.dbg.json +1 -1
  207. package/artifacts/contracts/shared/Component.sol/Component.json +19 -21
  208. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.dbg.json +1 -1
  209. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.json +212 -232
  210. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.dbg.json +1 -1
  211. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.json +113 -71
  212. package/artifacts/contracts/shared/ContractLib.sol/ContractLib.dbg.json +1 -1
  213. package/artifacts/contracts/shared/ContractLib.sol/ContractLib.json +130 -39
  214. package/artifacts/contracts/shared/ContractLib.sol/IInstanceAdminHelper.dbg.json +1 -1
  215. package/artifacts/contracts/shared/ContractLib.sol/ITargetHelper.dbg.json +1 -1
  216. package/artifacts/contracts/shared/ContractLib.sol/ITokenRegistryHelper.dbg.json +1 -1
  217. package/artifacts/contracts/shared/ContractLib.sol/ITokenRegistryHelper.json +2 -2
  218. package/artifacts/contracts/shared/IComponent.sol/IComponent.dbg.json +1 -1
  219. package/artifacts/contracts/shared/IComponent.sol/IComponent.json +19 -21
  220. package/artifacts/contracts/shared/IComponentService.sol/IComponentService.dbg.json +1 -1
  221. package/artifacts/contracts/shared/IComponentService.sol/IComponentService.json +119 -147
  222. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.dbg.json +1 -1
  223. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.json +19 -21
  224. package/artifacts/contracts/shared/IKeyValueStore.sol/IKeyValueStore.dbg.json +1 -1
  225. package/artifacts/contracts/shared/IKeyValueStore.sol/IKeyValueStore.json +6 -6
  226. package/artifacts/contracts/shared/ILifecycle.sol/ILifecycle.dbg.json +1 -1
  227. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +1 -1
  228. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.json +19 -0
  229. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.dbg.json +1 -1
  230. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
  231. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +19 -0
  232. package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.dbg.json +1 -1
  233. package/artifacts/contracts/shared/IService.sol/IService.dbg.json +1 -1
  234. package/artifacts/contracts/shared/IService.sol/IService.json +29 -0
  235. package/artifacts/contracts/shared/InitializableERC165.sol/InitializableERC165.dbg.json +1 -1
  236. package/artifacts/contracts/shared/InitializableERC165.sol/InitializableERC165.json +2 -2
  237. package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.dbg.json +1 -1
  238. package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.json +19 -21
  239. package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.dbg.json +1 -1
  240. package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.json +6 -6
  241. package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.dbg.json +1 -1
  242. package/artifacts/contracts/shared/NftIdSet.sol/NftIdSet.dbg.json +1 -1
  243. package/artifacts/contracts/shared/NftIdSet.sol/NftIdSet.json +2 -2
  244. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +1 -1
  245. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +21 -2
  246. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.dbg.json +1 -1
  247. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.json +2 -2
  248. package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
  249. package/artifacts/contracts/shared/Registerable.sol/Registerable.json +19 -0
  250. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.dbg.json +1 -1
  251. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.json +2 -2
  252. package/artifacts/contracts/shared/Service.sol/Service.dbg.json +1 -1
  253. package/artifacts/contracts/shared/Service.sol/Service.json +29 -0
  254. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +1 -1
  255. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +2 -2
  256. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandlerBase.dbg.json +1 -1
  257. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandlerBase.json +2 -2
  258. package/artifacts/contracts/shared/TokenHandlerDeployerLib.sol/TokenHandlerDeployerLib.dbg.json +1 -1
  259. package/artifacts/contracts/shared/TokenHandlerDeployerLib.sol/TokenHandlerDeployerLib.json +2 -2
  260. package/artifacts/contracts/staking/IStaking.sol/IStaking.dbg.json +1 -1
  261. package/artifacts/contracts/staking/IStaking.sol/IStaking.json +1450 -140
  262. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.dbg.json +1 -1
  263. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.json +161 -110
  264. package/artifacts/contracts/staking/ITargetLimitHandler.sol/ITargetLimitHandler.dbg.json +4 -0
  265. package/artifacts/contracts/staking/ITargetLimitHandler.sol/ITargetLimitHandler.json +50 -0
  266. package/artifacts/contracts/staking/Staking.sol/Staking.dbg.json +1 -1
  267. package/artifacts/contracts/staking/Staking.sol/Staking.json +1624 -272
  268. package/artifacts/contracts/staking/StakingLib.sol/StakingLib.dbg.json +4 -0
  269. package/artifacts/contracts/staking/StakingLib.sol/StakingLib.json +470 -0
  270. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.dbg.json +1 -1
  271. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.json +135 -68
  272. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.dbg.json +1 -1
  273. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.json +294 -177
  274. package/artifacts/contracts/staking/StakingService.sol/StakingService.dbg.json +1 -1
  275. package/artifacts/contracts/staking/StakingService.sol/StakingService.json +200 -157
  276. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.dbg.json +1 -1
  277. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.json +86 -52
  278. package/artifacts/contracts/staking/StakingStore.sol/StakingStore.dbg.json +1 -1
  279. package/artifacts/contracts/staking/StakingStore.sol/StakingStore.json +1600 -818
  280. package/artifacts/contracts/staking/TargetHandler.sol/TargetHandler.dbg.json +4 -0
  281. package/artifacts/contracts/staking/TargetHandler.sol/TargetHandler.json +309 -0
  282. package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.dbg.json +1 -1
  283. package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.json +159 -87
  284. package/artifacts/contracts/type/AddressSet.sol/LibAddressSet.dbg.json +1 -1
  285. package/artifacts/contracts/type/Amount.sol/AmountLib.dbg.json +1 -1
  286. package/artifacts/contracts/type/Amount.sol/AmountLib.json +10 -10
  287. package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.dbg.json +1 -1
  288. package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.json +45 -19
  289. package/artifacts/contracts/type/ChainId.sol/ChainIdLib.dbg.json +4 -0
  290. package/artifacts/contracts/type/ChainId.sol/ChainIdLib.json +193 -0
  291. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.dbg.json +1 -1
  292. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.json +2 -2
  293. package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.dbg.json +1 -1
  294. package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.json +2 -2
  295. package/artifacts/contracts/type/Fee.sol/FeeLib.dbg.json +1 -1
  296. package/artifacts/contracts/type/Fee.sol/FeeLib.json +93 -37
  297. package/artifacts/contracts/type/Key32.sol/Key32Lib.dbg.json +1 -1
  298. package/artifacts/contracts/type/Key32.sol/Key32Lib.json +2 -2
  299. package/artifacts/contracts/type/Key32Set.sol/LibKey32Set.dbg.json +1 -1
  300. package/artifacts/contracts/type/Key32Set.sol/LibKey32Set.json +2 -2
  301. package/artifacts/contracts/type/NftId.sol/NftIdLib.dbg.json +1 -1
  302. package/artifacts/contracts/type/NftId.sol/NftIdLib.json +2 -2
  303. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.dbg.json +1 -1
  304. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.json +2 -2
  305. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.dbg.json +1 -1
  306. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.json +33 -31
  307. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.dbg.json +1 -1
  308. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.json +2 -2
  309. package/artifacts/contracts/type/Referral.sol/ReferralLib.dbg.json +1 -1
  310. package/artifacts/contracts/type/Referral.sol/ReferralLib.json +2 -2
  311. package/artifacts/contracts/type/RequestId.sol/RequestIdLib.dbg.json +1 -1
  312. package/artifacts/contracts/type/RequestId.sol/RequestIdLib.json +2 -2
  313. package/artifacts/contracts/type/RiskId.sol/RiskIdLib.dbg.json +1 -1
  314. package/artifacts/contracts/type/RiskId.sol/RiskIdLib.json +2 -2
  315. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.dbg.json +1 -1
  316. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.json +39 -218
  317. package/artifacts/contracts/type/Seconds.sol/SecondsLib.dbg.json +1 -1
  318. package/artifacts/contracts/type/Seconds.sol/SecondsLib.json +45 -2
  319. package/artifacts/contracts/type/Selector.sol/SelectorLib.dbg.json +1 -1
  320. package/artifacts/contracts/type/Selector.sol/SelectorSetLib.dbg.json +1 -1
  321. package/artifacts/contracts/type/StateId.sol/StateIdLib.dbg.json +1 -1
  322. package/artifacts/contracts/type/String.sol/StrLib.dbg.json +1 -1
  323. package/artifacts/contracts/type/String.sol/StrLib.json +50 -2
  324. package/artifacts/contracts/type/Timestamp.sol/TimestampLib.dbg.json +1 -1
  325. package/artifacts/contracts/type/Timestamp.sol/TimestampLib.json +3 -3
  326. package/artifacts/contracts/type/UFixed.sol/UFixedLib.dbg.json +1 -1
  327. package/artifacts/contracts/type/UFixed.sol/UFixedLib.json +60 -36
  328. package/artifacts/contracts/type/Version.sol/VersionLib.dbg.json +1 -1
  329. package/artifacts/contracts/type/Version.sol/VersionLib.json +2 -2
  330. package/artifacts/contracts/type/Version.sol/VersionPartLib.dbg.json +1 -1
  331. package/artifacts/contracts/type/Version.sol/VersionPartLib.json +56 -2
  332. package/artifacts/contracts/upgradeability/IVersionable.sol/IVersionable.dbg.json +1 -1
  333. package/artifacts/contracts/upgradeability/IVersionable.sol/IVersionable.json +10 -0
  334. package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.dbg.json +1 -1
  335. package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.json +65 -27
  336. package/artifacts/contracts/upgradeability/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +1 -1
  337. package/artifacts/contracts/upgradeability/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +15 -2
  338. package/artifacts/contracts/upgradeability/Versionable.sol/Versionable.dbg.json +1 -1
  339. package/artifacts/contracts/upgradeability/Versionable.sol/Versionable.json +10 -0
  340. package/contracts/accounting/AccountingService.sol +15 -3
  341. package/contracts/accounting/IAccountingService.sol +4 -2
  342. package/contracts/authorization/AccessAdmin.sol +389 -298
  343. package/contracts/authorization/AccessAdminLib.sol +396 -0
  344. package/contracts/authorization/AccessManagerCloneable.sol +40 -31
  345. package/contracts/authorization/Authorization.sol +60 -228
  346. package/contracts/authorization/IAccess.sol +25 -7
  347. package/contracts/authorization/IAccessAdmin.sol +81 -80
  348. package/contracts/authorization/IAuthorization.sol +3 -51
  349. package/contracts/authorization/IServiceAuthorization.sol +55 -17
  350. package/contracts/authorization/ServiceAuthorization.sol +248 -34
  351. package/contracts/distribution/BasicDistribution.sol +6 -6
  352. package/contracts/distribution/BasicDistributionAuthorization.sol +11 -4
  353. package/contracts/distribution/Distribution.sol +10 -52
  354. package/contracts/distribution/DistributionService.sol +154 -64
  355. package/contracts/distribution/IDistributionComponent.sol +3 -10
  356. package/contracts/distribution/IDistributionService.sol +24 -10
  357. package/contracts/examples/fire/FirePool.sol +0 -4
  358. package/contracts/examples/fire/FireProduct.sol +6 -10
  359. package/contracts/examples/unpermissioned/SimpleDistribution.sol +32 -8
  360. package/contracts/examples/unpermissioned/SimpleOracle.sol +4 -8
  361. package/contracts/examples/unpermissioned/SimplePool.sol +0 -4
  362. package/contracts/examples/unpermissioned/SimpleProduct.sol +83 -23
  363. package/contracts/instance/IInstance.sol +87 -12
  364. package/contracts/instance/IInstanceService.sol +52 -7
  365. package/contracts/instance/Instance.sol +148 -48
  366. package/contracts/instance/InstanceAdmin.sol +227 -281
  367. package/contracts/instance/InstanceAuthorizationV3.sol +79 -26
  368. package/contracts/instance/InstanceReader.sol +375 -380
  369. package/contracts/instance/InstanceService.sol +230 -134
  370. package/contracts/instance/RiskSet.sol +10 -2
  371. package/contracts/instance/base/BalanceStore.sol +4 -6
  372. package/contracts/instance/base/ObjectLifecycle.sol +2 -6
  373. package/contracts/instance/module/IBundle.sol +6 -5
  374. package/contracts/instance/module/IComponents.sol +16 -5
  375. package/contracts/instance/module/IDistribution.sol +19 -7
  376. package/contracts/instance/module/IPolicy.sol +28 -8
  377. package/contracts/instance/module/IRisk.sol +2 -0
  378. package/contracts/oracle/BasicOracle.sol +2 -4
  379. package/contracts/oracle/BasicOracleAuthorization.sol +18 -2
  380. package/contracts/oracle/IOracle.sol +9 -4
  381. package/contracts/oracle/Oracle.sol +2 -4
  382. package/contracts/oracle/OracleService.sol +8 -8
  383. package/contracts/pool/BasicPool.sol +3 -16
  384. package/contracts/pool/BasicPoolAuthorization.sol +10 -5
  385. package/contracts/pool/BundleService.sol +34 -43
  386. package/contracts/pool/IBundleService.sol +14 -13
  387. package/contracts/pool/IPoolService.sol +7 -2
  388. package/contracts/pool/Pool.sol +4 -16
  389. package/contracts/pool/PoolLib.sol +127 -2
  390. package/contracts/pool/PoolService.sol +41 -184
  391. package/contracts/product/ApplicationService.sol +83 -15
  392. package/contracts/product/BasicProduct.sol +1 -3
  393. package/contracts/product/BasicProductAuthorization.sol +11 -4
  394. package/contracts/product/ClaimService.sol +56 -58
  395. package/contracts/product/IApplicationService.sol +24 -2
  396. package/contracts/product/IClaimService.sol +5 -4
  397. package/contracts/product/IPolicyService.sol +9 -2
  398. package/contracts/product/IPricingService.sol +1 -0
  399. package/contracts/product/IRiskService.sol +21 -3
  400. package/contracts/product/PolicyService.sol +31 -68
  401. package/contracts/product/PolicyServiceLib.sol +79 -5
  402. package/contracts/product/PricingService.sol +33 -31
  403. package/contracts/product/Product.sol +38 -14
  404. package/contracts/product/RiskService.sol +55 -9
  405. package/contracts/registry/IRegistry.sol +15 -9
  406. package/contracts/registry/IRelease.sol +6 -3
  407. package/contracts/registry/Registry.sol +15 -9
  408. package/contracts/registry/RegistryAdmin.sol +100 -263
  409. package/contracts/registry/RegistryAuthorization.sol +336 -0
  410. package/contracts/registry/RegistryService.sol +1 -1
  411. package/contracts/registry/ReleaseAdmin.sol +62 -112
  412. package/contracts/registry/ReleaseRegistry.sol +57 -43
  413. package/contracts/registry/ServiceAuthorizationV3.sol +128 -33
  414. package/contracts/registry/TokenRegistry.sol +56 -52
  415. package/contracts/shared/Component.sol +18 -31
  416. package/contracts/shared/ComponentService.sol +239 -244
  417. package/contracts/shared/ContractLib.sol +134 -75
  418. package/contracts/shared/IComponent.sol +1 -4
  419. package/contracts/shared/IComponentService.sol +21 -22
  420. package/contracts/shared/IKeyValueStore.sol +1 -1
  421. package/contracts/shared/INftOwnable.sol +2 -0
  422. package/contracts/shared/IRegisterable.sol +0 -1
  423. package/contracts/shared/InitializableERC165.sol +9 -1
  424. package/contracts/shared/InstanceLinkedComponent.sol +4 -7
  425. package/contracts/shared/KeyValueStore.sol +3 -3
  426. package/contracts/shared/NftOwnable.sol +4 -2
  427. package/contracts/shared/PolicyHolder.sol +3 -2
  428. package/contracts/shared/Registerable.sol +1 -4
  429. package/contracts/shared/Service.sol +6 -4
  430. package/contracts/shared/TokenHandler.sol +5 -4
  431. package/contracts/staking/IStaking.sol +266 -64
  432. package/contracts/staking/IStakingService.sol +44 -82
  433. package/contracts/staking/ITargetLimitHandler.sol +17 -0
  434. package/contracts/staking/Staking.sol +473 -202
  435. package/contracts/staking/{StakeManagerLib.sol → StakingLib.sol} +55 -84
  436. package/contracts/staking/StakingManager.sol +4 -3
  437. package/contracts/staking/StakingReader.sol +58 -77
  438. package/contracts/staking/StakingService.sol +49 -158
  439. package/contracts/staking/StakingServiceManager.sol +1 -0
  440. package/contracts/staking/StakingStore.sol +1089 -330
  441. package/contracts/staking/TargetHandler.sol +132 -0
  442. package/contracts/staking/TargetManagerLib.sol +69 -46
  443. package/contracts/type/Amount.sol +4 -0
  444. package/contracts/type/Blocknumber.sol +15 -15
  445. package/contracts/type/ChainId.sol +101 -0
  446. package/contracts/type/Fee.sol +8 -8
  447. package/contracts/type/NftId.sol +3 -3
  448. package/contracts/type/ObjectType.sol +21 -17
  449. package/contracts/type/RoleId.sol +57 -59
  450. package/contracts/type/Seconds.sol +19 -0
  451. package/contracts/type/String.sol +12 -0
  452. package/contracts/type/Timestamp.sol +4 -2
  453. package/contracts/type/UFixed.sol +28 -10
  454. package/contracts/type/Version.sol +39 -0
  455. package/contracts/upgradeability/IVersionable.sol +3 -0
  456. package/contracts/upgradeability/ProxyManager.sol +25 -11
  457. package/contracts/upgradeability/UpgradableProxyWithAdmin.sol +12 -2
  458. package/contracts/upgradeability/Versionable.sol +6 -3
  459. package/package.json +2 -2
  460. package/artifacts/contracts/authorization/AccessAdmin.sol/IAccessManagedChecker.dbg.json +0 -4
  461. package/artifacts/contracts/authorization/AccessAdmin.sol/IAccessManagedChecker.json +0 -24
  462. package/artifacts/contracts/shared/ComponentVerifyingService.sol/ComponentVerifyingService.dbg.json +0 -4
  463. package/artifacts/contracts/shared/ComponentVerifyingService.sol/ComponentVerifyingService.json +0 -485
  464. package/artifacts/contracts/staking/StakeManagerLib.sol/StakeManagerLib.dbg.json +0 -4
  465. package/artifacts/contracts/staking/StakeManagerLib.sol/StakeManagerLib.json +0 -440
  466. package/artifacts/contracts/staking/StakingLifecycle.sol/StakingLifecycle.dbg.json +0 -4
  467. package/artifacts/contracts/staking/StakingLifecycle.sol/StakingLifecycle.json +0 -205
  468. package/contracts/shared/ComponentVerifyingService.sol +0 -128
  469. package/contracts/staking/StakingLifecycle.sol +0 -23
package/README.md CHANGED
@@ -154,7 +154,7 @@ https://hardhat.org/hardhat-runner/docs/guides/compile-contracts
154
154
  #### find methods missing the `restricted` modifier
155
155
 
156
156
  ```bash
157
- hh run scripts/find_unrestricted_methods.ts.ts
157
+ hh run scripts/find_unrestricted_methods.ts
158
158
  ```
159
159
 
160
160
  Checks all public/external methods in services and components for methods that are missing the `restricted` modifier but should have one.
@@ -209,9 +209,12 @@ forge coverage --report lcov
209
209
  | ft | forge test |
210
210
  | ftf | forge test --nmt "_longRunning" |
211
211
  | ftt | forge test -vvvv --mt |
212
+ | fttg | forge test -vvvv --gas-report --mt |
212
213
  | fttw | forge test -vvvv --watch --mt |
213
214
  | ftc | forge test -vvvv --mc |
214
215
  | ftcw | forge test -vvvv --watch --mc |
216
+ | fcf | forge coverage --nmt "_longRunning" |
217
+ | fcfr | forge coverage --nmt "_longRunning" --report lcov |
215
218
 
216
219
  **Important**: All profiles are run using the foundry `ci` profile which disables the optimizer (for speed).
217
220
 
@@ -543,3 +546,56 @@ contracts
543
546
  NftId.sol
544
547
  ObjectType.sol
545
548
 
549
+ ## Storage layout
550
+
551
+ ### Analysis tool
552
+
553
+ Command line call
554
+
555
+ ```bash
556
+ hh run scripts/analyze_storage_layout.ts
557
+ ```
558
+
559
+ Analyses contract `MockStorageLayout.sol` and writes the storage layout to `storage_layout.json` and `storage_layout.csv`.
560
+ New structs must be added to `MockStorageLayout` to be included in analysis.
561
+
562
+ Storage layout details:
563
+ - Items fill up the current slot if possible
564
+ - If not enough space is left in the current slot, the item is placed in the next slot
565
+ - Stucts and arrays always start a new slot
566
+ - Items following a struct or array always start a new slot
567
+
568
+ More at https://docs.soliditylang.org/en/latest/internals/layout_in_storage.html
569
+
570
+ ### Custom types sizes
571
+
572
+ | Type | Size |
573
+ | --- | --- |
574
+ | Amount | 12 bytes |
575
+ | Blocknumber | 4 bytes |
576
+ | ClaimId | 2 bytes |
577
+ | DistributorType | 8 bytes |
578
+ | NftId | 12 bytes |
579
+ | ObjectType | 1 byte |
580
+ | ReferralId | 8 bytes |
581
+ | RoleId | 1 byte |
582
+ | RiskId | 8 bytes |
583
+ | Seconds | 5 bytes |
584
+ | Selector | 4 bytes |
585
+ | StateId | 1 byte |
586
+ | Str | 32 bytes |
587
+ | Timestamp | 5 bytes |
588
+ | Version | 3 byte |
589
+ | VersionPart | 1 byte |
590
+ | UFixed | 20 bytes |
591
+ | address | 20 bytes |
592
+ | uint256 | 32 bytes |
593
+ | uint128 | 16 bytes |
594
+ | uint160 | 20 bytes |
595
+ | uint64 | 8 bytes |
596
+ | uint32 | 4 bytes |
597
+ | uint16 | 2 bytes |
598
+ | string | 32 bytes |
599
+ | bytes | 32 bytes |
600
+ | bytes8 | 8 byte |
601
+ | bool | 1 byte |
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../build-info/fe6349146d06341fb21f060b157460cc.json"
3
+ "buildInfo": "../../../build-info/8b432be61b97da527635e48878c086a2.json"
4
4
  }
@@ -122,6 +122,16 @@
122
122
  "name": "ErrorRegisterableNotActive",
123
123
  "type": "error"
124
124
  },
125
+ {
126
+ "inputs": [],
127
+ "name": "ErrorVersionableInitializeNotImplemented",
128
+ "type": "error"
129
+ },
130
+ {
131
+ "inputs": [],
132
+ "name": "ErrorVersionableUpgradeNotImplemented",
133
+ "type": "error"
134
+ },
125
135
  {
126
136
  "inputs": [],
127
137
  "name": "InvalidInitialization",
@@ -182,30 +192,49 @@
182
192
  "indexed": false,
183
193
  "internalType": "UFixed",
184
194
  "name": "previousFractionalFee",
185
- "type": "uint256"
195
+ "type": "uint160"
186
196
  },
187
197
  {
188
198
  "indexed": false,
189
- "internalType": "uint256",
199
+ "internalType": "Amount",
190
200
  "name": "previousFixedFee",
191
- "type": "uint256"
201
+ "type": "uint96"
192
202
  },
193
203
  {
194
204
  "indexed": false,
195
205
  "internalType": "UFixed",
196
206
  "name": "newFractionalFee",
197
- "type": "uint256"
207
+ "type": "uint160"
198
208
  },
199
209
  {
200
210
  "indexed": false,
201
- "internalType": "uint256",
211
+ "internalType": "Amount",
202
212
  "name": "newFixedFee",
203
- "type": "uint256"
213
+ "type": "uint96"
204
214
  }
205
215
  ],
206
216
  "name": "LogComponentServiceUpdateFee",
207
217
  "type": "event"
208
218
  },
219
+ {
220
+ "anonymous": false,
221
+ "inputs": [
222
+ {
223
+ "indexed": false,
224
+ "internalType": "NftId",
225
+ "name": "nftId",
226
+ "type": "uint96"
227
+ },
228
+ {
229
+ "indexed": false,
230
+ "internalType": "address",
231
+ "name": "owner",
232
+ "type": "address"
233
+ }
234
+ ],
235
+ "name": "LogNftOwnableNftLinkedToAddress",
236
+ "type": "event"
237
+ },
209
238
  {
210
239
  "inputs": [],
211
240
  "name": "NFT_OWNABLE_STORAGE_LOCATION_V1",
@@ -735,6 +764,29 @@
735
764
  "stateMutability": "nonpayable",
736
765
  "type": "function"
737
766
  },
767
+ {
768
+ "inputs": [
769
+ {
770
+ "internalType": "contract InstanceStore",
771
+ "name": "instanceStore",
772
+ "type": "address"
773
+ },
774
+ {
775
+ "internalType": "NftId",
776
+ "name": "productNftId",
777
+ "type": "uint96"
778
+ },
779
+ {
780
+ "internalType": "Amount",
781
+ "name": "feeAmount",
782
+ "type": "uint96"
783
+ }
784
+ ],
785
+ "name": "increaseProductFeesForPool",
786
+ "outputs": [],
787
+ "stateMutability": "nonpayable",
788
+ "type": "function"
789
+ },
738
790
  {
739
791
  "inputs": [
740
792
  {
@@ -838,18 +890,18 @@
838
890
  "type": "function"
839
891
  }
840
892
  ],
841
- "bytecode": "0x6080604052348015600e575f80fd5b5060156019565b60c9565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00805468010000000000000000900460ff161560685760405163f92ee8a960e01b815260040160405180910390fd5b80546001600160401b039081161460c65780546001600160401b0319166001600160401b0390811782556040519081527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50565b6123fb806100d65f395ff3fe608060405234801561000f575f80fd5b50600436106101dc575f3560e01c806367438c501161010957806389fad8a21161009e578063bf7e214f1161006e578063bf7e214f14610454578063d165cb641461045c578063d56cd3d51461046f578063e618053f146103f2575f80fd5b806389fad8a2146104055780638fb3603714610418578063ada9652e14610439578063b68d18091461044d575f80fd5b806376b707b7116100d957806376b707b7146103ab5780637a9e5e4b146103d7578063893d20e8146103ea578063899cc04c146103f2575f80fd5b806367438c50146103525780636c741e78146103655780636e1728071461038557806374933c2f14610398575f80fd5b806325e451d31161017f5780635ab1bd531161014f5780635ab1bd53146102fd5780635eec0264146102b1578063644c45e014610322578063661017811461033f575f80fd5b806325e451d3146102b1578063329d6e74146102c4578063346696cc146102d757806349bb9e4b146102ea575f80fd5b806311a14677116101ba57806311a1467714610252578063138461e0146102675780631eff4b221461028757806322f3e2d4146102a9575f80fd5b806301ffc9a7146101e05780630d8e6e2c146102215780630fec111c1461023d575b5f80fd5b61020c6101ee366004611d2f565b6001600160e01b0319165f9081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b610229610482565b60405162ffffff9091168152602001610218565b610245610509565b6040516102189190611d84565b610265610260366004611e40565b6106b0565b005b61026f6106da565b6040516001600160601b039091168152602001610218565b61029b5f8051602061238683398151915281565b604051908152602001610218565b61020c6106e4565b6102656102bf366004611e40565b61075b565b6102656102d2366004611f36565b61077d565b6102656102e5366004611f67565b6108c7565b6102656102f8366004611faf565b61094c565b6001546001600160a01b03165b6040516001600160a01b039091168152602001610218565b5f80516020612346833981519152546001600160601b031661026f565b61026561034d366004611e40565b610a48565b610265610360366004611f67565b610a5c565b61036d610abe565b6040516001600160401b039091168152602001610218565b610265610393366004611f67565b610b5b565b6102656103a6366004611e40565b610b6f565b5f8051602061238683398151915254600160681b900460ff165b60405160ff9091168152602001610218565b6102656103e5366004611ffb565b610b83565b61030a610c0e565b610265610400366004611e40565b610d3f565b610265610413366004611e40565b610d53565b610420610d5e565b6040516001600160e01b03199091168152602001610218565b61029b5f8051602061234683398151915281565b60286103c5565b61030a610d93565b61026561046a366004611e40565b610dae565b61026561047d366004611e40565b610dc2565b604051632efe011360e01b8152600360048201525f60248201819052604482018190529073__$8eede297b65ed5a56eb3f84d8232ae93f5$__90632efe011390606401602060405180830381865af41580156104e0573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906105049190612016565b905090565b6040805160e0810182525f8082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820152905f8051602061238683398151915290506040518060e0016040528073__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af41580156105a2573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906105c69190612038565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160701b909104161515606082015230608082015260a00161060e610c0e565b6001600160a01b0316815260200182600101805461062b90612053565b80601f016020809104026020016040519081016040528092919081815260200182805461065790612053565b80156106a25780601f10610679576101008083540402835291602001916106a2565b820191905f5260205f20905b81548152906001019060200180831161068557829003601f168201915b505050505081525091505090565b6106bc335b5f36610dd6565b6106c783600e610ed4565b6106d45f85858585610f8b565b50505050565b5f61050430611385565b5f6106ed610d93565b60405163a166aa8960e01b81523060048201526001600160a01b03919091169063a166aa8990602401602060405180830381865afa158015610731573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610755919061209f565b15905090565b610764336106b5565b61076f836016610ed4565b6106d4600185858585610f8b565b73__$8eede297b65ed5a56eb3f84d8232ae93f5$__63a123b37c61079f610482565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af41580156107dd573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061080191906120cc565b5f805160206123a68339815191528054600160401b900460ff1680610833575080546001600160401b03808416911610155b156108515760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b17815561087b8361157e565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a1505050565b6108d0336106b5565b6109475f848473__$3bac17678db7ae928afa209f2f44deec9c$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af415801561091d573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906109419190612038565b85610f8b565b505050565b5f805160206123a68339815191528054600160401b810460ff1615906001600160401b03165f8115801561097d5750825b90505f826001600160401b031660011480156109985750303b155b9050811580156109a6575080155b156109c45760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff1916600117855583156109ee57845460ff60401b1916600160401b1785555b6109f88787611586565b8315610a3f57845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a15b50505050505050565b610a51336106b5565b6106c7836017610ed4565b610a65336106b5565b610a7082600c610ed4565b6109476001848473__$3bac17678db7ae928afa209f2f44deec9c$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af415801561091d573d5f803e3d5ffd5b5f73__$1d92393fa9ccd763988368ce8a1cb90d26$__63dda777d360285f8051602061238683398151915254600160681b900460ff166040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865af4158015610b37573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061050491906120cc565b610b64336106b5565b6108d082600c610ed4565b610b78336106b5565b61076f83600e610ed4565b33610b8c610d93565b6001600160a01b0316816001600160a01b031614610bcc5760405162d1953b60e31b81526001600160a01b03821660048201526024015b60405180910390fd5b816001600160a01b03163b5f03610c01576040516361798f2f60e11b81526001600160a01b0383166004820152602401610bc3565b610c0a826116a1565b5050565b5f805f8051602061234683398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015610c7a573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610c9e919061209f565b15610d29576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015610cff573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610d2391906120e7565b91505090565b54600160601b90046001600160a01b0316919050565b610d48336106b5565b6106c7836016610ed4565b6106c783600f610ed4565b5f8051602061236683398151915280545f9190600160a01b900460ff16610d85575f610d23565b638fb3603760e01b91505090565b5f80516020612366833981519152546001600160a01b031690565b610db7336106b5565b61076f836017610ed4565b610dcb336106b5565b61076f83600f610ed4565b5f805160206123668339815191525f80610e0e610df1610d93565b8730610e0060045f8a8c612102565b610e0991612129565b611701565b9150915081610ecc5763ffffffff811615610ea957825460ff60a01b1916600160a01b178355610e3c610d93565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b8152600401610e6b93929190612161565b5f604051808303815f87803b158015610e82575f80fd5b505af1158015610e94573d5f803e3d5ffd5b5050845460ff60a01b1916855550610ecc9050565b60405162d1953b60e31b81526001600160a01b0387166004820152602401610bc3565b505050505050565b6001546001600160a01b0316604051635b12715d60e11b81526001600160601b038416600482015260ff831660248201526001600160a01b03919091169063b624e2ba90604401602060405180830381865afa158015610f36573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610f5a919061209f565b610c0a5760405163d711af7560e01b81526001600160601b038316600482015260ff82166024820152604401610bc3565b5f610f968383611809565b90508515611195576040516330b8415f60e01b81526001600160601b038216600482015273__$3bac17678db7ae928afa209f2f44deec9c$__906330b8415f90602401602060405180830381865af4158015610ff4573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611018919061209f565b1561109757604051639f8151e560e01b81526001600160601b038086166004830152821660248201526001600160a01b03861690639f8151e5906044016020604051808303815f875af1158015611071573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906110959190612038565b505b6040516330b8415f60e01b81526001600160601b038316600482015273__$3bac17678db7ae928afa209f2f44deec9c$__906330b8415f90602401602060405180830381865af41580156110ed573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611111919061209f565b156111905760405163e80c61ed60e01b81526001600160601b038086166004830152831660248201526001600160a01b0386169063e80c61ed906044016020604051808303815f875af115801561116a573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061118e9190612038565b505b610ecc565b6040516330b8415f60e01b81526001600160601b038216600482015273__$3bac17678db7ae928afa209f2f44deec9c$__906330b8415f90602401602060405180830381865af41580156111eb573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061120f919061209f565b1561128e5760405163b0628dc360e01b81526001600160601b038086166004830152821660248201526001600160a01b0386169063b0628dc3906044016020604051808303815f875af1158015611268573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061128c9190612038565b505b6040516330b8415f60e01b81526001600160601b038316600482015273__$3bac17678db7ae928afa209f2f44deec9c$__906330b8415f90602401602060405180830381865af41580156112e4573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611308919061209f565b15610ecc576040516314cc21b560e21b81526001600160601b038086166004830152831660248201526001600160a01b0386169063533086d4906044016020604051808303815f875af1158015611361573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610a3f9190612038565b5f805f8051602061234683398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af41580156113f1573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611415919061209f565b156114415780546040516301ab8b6760e21b81526001600160601b039091166004820152602401610bc3565b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038581166004830152919091169063c3c5a54790602401602060405180830381865afa158015611493573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906114b7919061209f565b6114df5760405163b9304b0d60e01b81526001600160a01b0384166004820152602401610bc3565b6001546001600160a01b0316604051632f2a35f760e11b81526001600160a01b0385811660048301529190911690635e546bee90602401602060405180830381865afa158015611531573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906115559190612038565b81546bffffffffffffffffffffffff19166001600160601b039190911690811790915592915050565b6101dc611894565b5f805160206123a68339815191528054600160401b810460ff1615906001600160401b03165f811580156115b75750825b90505f826001600160401b031660011480156115d25750303b155b9050811580156115e0575080155b156115fe5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561162857845460ff60401b1916600160401b1785555b5f808780602001905181019061163e91906121a0565b9150915061164d82828b6118cc565b61165d63a76f099560e01b611965565b50508315610a3f57845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d290602001610a36565b5f8051602061236683398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b6040516001600160a01b03848116602483015283811660448301526001600160e01b0319831660648301525f9182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b1790525161176f91906121d8565b5f60405180830381855afa9150503d805f81146117a7576040519150601f19603f3d011682016040523d82523d5f602084013e6117ac565b606091505b509150915081156117fe5760408151106117de57808060200190518101906117d491906121ee565b90945092506117fe565b60208151106117fe57808060200190518101906117fb919061209f565b93505b505094509492505050565b60405163274acb3560e01b81526001600160601b038084166004830152821660248201525f9073__$3bac17678db7ae928afa209f2f44deec9c$__9063274acb3590604401602060405180830381865af4158015611869573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061188d9190612038565b9392505050565b5f805160206123a683398151915254600160401b900460ff166118ca57604051631afcd79f60e31b815260040160405180910390fd5b565b6118d4611894565b6118dc611991565b6119598383846001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa15801561191d573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906119419190612038565b60085f8660405180602001604052805f8152506119a1565b61094763daf9067160e01b5b61196d611894565b6001600160e01b0319165f908152602081905260409020805460ff19166001179055565b611999611894565b6118ca611b55565b6119a9611894565b604051632330f24760e01b81526001600160a01b038816600482015273__$fb599632d08395912d9d70eb2f0f93b5e2$__90632330f24790602401602060405180830381865af41580156119ff573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611a23919061209f565b611a4b5760405163cf6935e560e01b81526001600160a01b0388166004820152602401610bc3565b611a5487611b83565b611a5e8683611b97565b5f8051602061238683398151915280546001600160601b0387166cffffffffffffffffffffffffff1990911617600160601b60ff871602178155604080516376b707b760e01b815290516001600160a01b038a16916376b707b79160048083019260209291908290030181865afa158015611adb573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611aff9190612220565b815461ffff60681b1916600160681b60ff929092169190910260ff60701b191617600160701b8515150217815560018101611b3a838261228b565b50611b4b634a531f3360e01b611965565b5050505050505050565b611b5d611894565b60017f9b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f0055565b611b8b611894565b611b9481611c0d565b50565b611b9f611894565b611ba882611c1e565b611bb0611cea565b6001600160a01b038116611bd75760405163f17ef42d60e01b815260040160405180910390fd5b5f8051602061234683398151915280546001600160601b0316600160601b6001600160a01b039093169290920291909117905550565b611c15611894565b611b94816116a1565b611c26611894565b604051633334d16b60e01b81526001600160a01b038216600482015273__$fb599632d08395912d9d70eb2f0f93b5e2$__90633334d16b90602401602060405180830381865af4158015611c7c573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611ca0919061209f565b611cc85760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610bc3565b600180546001600160a01b0319166001600160a01b0392909216919091179055565b611cf2611894565b6301ffc9a760e01b5f9081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b5f60208284031215611d3f575f80fd5b81356001600160e01b03198116811461188d575f80fd5b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081526001600160601b0382511660208201526001600160601b03602083015116604082015260ff60408301511660608201525f6060830151611dcc608084018215159052565b5060808301516001600160a01b03811660a08401525060a08301516001600160a01b03811660c08401525060c083015160e080840152611e10610100840182611d56565b949350505050565b6001600160a01b0381168114611b94575f80fd5b6001600160601b0381168114611b94575f80fd5b5f805f8060808587031215611e53575f80fd5b8435611e5e81611e18565b93506020850135611e6e81611e2c565b92506040850135611e7e81611e2c565b91506060850135611e8e81611e2c565b939692955090935050565b634e487b7160e01b5f52604160045260245ffd5b5f82601f830112611ebc575f80fd5b81356001600160401b03811115611ed557611ed5611e99565b604051601f8201601f19908116603f011681016001600160401b0381118282101715611f0357611f03611e99565b604052818152838201602001851015611f1a575f80fd5b816020850160208301375f918101602001919091529392505050565b5f60208284031215611f46575f80fd5b81356001600160401b03811115611f5b575f80fd5b611e1084828501611ead565b5f805f60608486031215611f79575f80fd5b8335611f8481611e18565b92506020840135611f9481611e2c565b91506040840135611fa481611e2c565b809150509250925092565b5f8060408385031215611fc0575f80fd5b8235611fcb81611e18565b915060208301356001600160401b03811115611fe5575f80fd5b611ff185828601611ead565b9150509250929050565b5f6020828403121561200b575f80fd5b813561188d81611e18565b5f60208284031215612026575f80fd5b815162ffffff8116811461188d575f80fd5b5f60208284031215612048575f80fd5b815161188d81611e2c565b600181811c9082168061206757607f821691505b60208210810361208557634e487b7160e01b5f52602260045260245ffd5b50919050565b8051801515811461209a575f80fd5b919050565b5f602082840312156120af575f80fd5b61188d8261208b565b6001600160401b0381168114611b94575f80fd5b5f602082840312156120dc575f80fd5b815161188d816120b8565b5f602082840312156120f7575f80fd5b815161188d81611e18565b5f8085851115612110575f80fd5b8386111561211c575f80fd5b5050820193919092039150565b80356001600160e01b0319811690600484101561215a576001600160e01b0319600485900360031b81901b82161691505b5092915050565b6001600160a01b03841681526040602082018190528101829052818360608301375f818301606090810191909152601f909201601f1916010192915050565b5f80604083850312156121b1575f80fd5b82516121bc81611e18565b60208401519092506121cd81611e18565b809150509250929050565b5f82518060208501845e5f920191825250919050565b5f80604083850312156121ff575f80fd5b6122088361208b565b9150602083015163ffffffff811681146121cd575f80fd5b5f60208284031215612230575f80fd5b815160ff8116811461188d575f80fd5b601f82111561094757805f5260205f20601f840160051c810160208510156122655750805b601f840160051c820191505b81811015612284575f8155600101612271565b5050505050565b81516001600160401b038111156122a4576122a4611e99565b6122b8816122b28454612053565b84612240565b6020601f8211600181146122ea575f83156122d35750848201515b5f19600385901b1c1916600184901b178455612284565b5f84815260208120601f198516915b8281101561231957878501518255602094850194600190920191016122f9565b508482101561233657868401515f19600387901b60f8161c191681555b50505050600190811b0190555056fe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a006548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa300f0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00a2646970667358221220335016fd42b60caafc24c4bd38236cb36ebcccbe6cf30590f200c11b66863b4664736f6c634300081a0033",
842
- "deployedBytecode": "0x608060405234801561000f575f80fd5b50600436106101dc575f3560e01c806367438c501161010957806389fad8a21161009e578063bf7e214f1161006e578063bf7e214f14610454578063d165cb641461045c578063d56cd3d51461046f578063e618053f146103f2575f80fd5b806389fad8a2146104055780638fb3603714610418578063ada9652e14610439578063b68d18091461044d575f80fd5b806376b707b7116100d957806376b707b7146103ab5780637a9e5e4b146103d7578063893d20e8146103ea578063899cc04c146103f2575f80fd5b806367438c50146103525780636c741e78146103655780636e1728071461038557806374933c2f14610398575f80fd5b806325e451d31161017f5780635ab1bd531161014f5780635ab1bd53146102fd5780635eec0264146102b1578063644c45e014610322578063661017811461033f575f80fd5b806325e451d3146102b1578063329d6e74146102c4578063346696cc146102d757806349bb9e4b146102ea575f80fd5b806311a14677116101ba57806311a1467714610252578063138461e0146102675780631eff4b221461028757806322f3e2d4146102a9575f80fd5b806301ffc9a7146101e05780630d8e6e2c146102215780630fec111c1461023d575b5f80fd5b61020c6101ee366004611d2f565b6001600160e01b0319165f9081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b610229610482565b60405162ffffff9091168152602001610218565b610245610509565b6040516102189190611d84565b610265610260366004611e40565b6106b0565b005b61026f6106da565b6040516001600160601b039091168152602001610218565b61029b5f8051602061238683398151915281565b604051908152602001610218565b61020c6106e4565b6102656102bf366004611e40565b61075b565b6102656102d2366004611f36565b61077d565b6102656102e5366004611f67565b6108c7565b6102656102f8366004611faf565b61094c565b6001546001600160a01b03165b6040516001600160a01b039091168152602001610218565b5f80516020612346833981519152546001600160601b031661026f565b61026561034d366004611e40565b610a48565b610265610360366004611f67565b610a5c565b61036d610abe565b6040516001600160401b039091168152602001610218565b610265610393366004611f67565b610b5b565b6102656103a6366004611e40565b610b6f565b5f8051602061238683398151915254600160681b900460ff165b60405160ff9091168152602001610218565b6102656103e5366004611ffb565b610b83565b61030a610c0e565b610265610400366004611e40565b610d3f565b610265610413366004611e40565b610d53565b610420610d5e565b6040516001600160e01b03199091168152602001610218565b61029b5f8051602061234683398151915281565b60286103c5565b61030a610d93565b61026561046a366004611e40565b610dae565b61026561047d366004611e40565b610dc2565b604051632efe011360e01b8152600360048201525f60248201819052604482018190529073__$8eede297b65ed5a56eb3f84d8232ae93f5$__90632efe011390606401602060405180830381865af41580156104e0573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906105049190612016565b905090565b6040805160e0810182525f8082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820152905f8051602061238683398151915290506040518060e0016040528073__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af41580156105a2573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906105c69190612038565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160701b909104161515606082015230608082015260a00161060e610c0e565b6001600160a01b0316815260200182600101805461062b90612053565b80601f016020809104026020016040519081016040528092919081815260200182805461065790612053565b80156106a25780601f10610679576101008083540402835291602001916106a2565b820191905f5260205f20905b81548152906001019060200180831161068557829003601f168201915b505050505081525091505090565b6106bc335b5f36610dd6565b6106c783600e610ed4565b6106d45f85858585610f8b565b50505050565b5f61050430611385565b5f6106ed610d93565b60405163a166aa8960e01b81523060048201526001600160a01b03919091169063a166aa8990602401602060405180830381865afa158015610731573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610755919061209f565b15905090565b610764336106b5565b61076f836016610ed4565b6106d4600185858585610f8b565b73__$8eede297b65ed5a56eb3f84d8232ae93f5$__63a123b37c61079f610482565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af41580156107dd573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061080191906120cc565b5f805160206123a68339815191528054600160401b900460ff1680610833575080546001600160401b03808416911610155b156108515760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b17815561087b8361157e565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a1505050565b6108d0336106b5565b6109475f848473__$3bac17678db7ae928afa209f2f44deec9c$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af415801561091d573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906109419190612038565b85610f8b565b505050565b5f805160206123a68339815191528054600160401b810460ff1615906001600160401b03165f8115801561097d5750825b90505f826001600160401b031660011480156109985750303b155b9050811580156109a6575080155b156109c45760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff1916600117855583156109ee57845460ff60401b1916600160401b1785555b6109f88787611586565b8315610a3f57845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a15b50505050505050565b610a51336106b5565b6106c7836017610ed4565b610a65336106b5565b610a7082600c610ed4565b6109476001848473__$3bac17678db7ae928afa209f2f44deec9c$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af415801561091d573d5f803e3d5ffd5b5f73__$1d92393fa9ccd763988368ce8a1cb90d26$__63dda777d360285f8051602061238683398151915254600160681b900460ff166040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865af4158015610b37573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061050491906120cc565b610b64336106b5565b6108d082600c610ed4565b610b78336106b5565b61076f83600e610ed4565b33610b8c610d93565b6001600160a01b0316816001600160a01b031614610bcc5760405162d1953b60e31b81526001600160a01b03821660048201526024015b60405180910390fd5b816001600160a01b03163b5f03610c01576040516361798f2f60e11b81526001600160a01b0383166004820152602401610bc3565b610c0a826116a1565b5050565b5f805f8051602061234683398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015610c7a573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610c9e919061209f565b15610d29576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015610cff573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610d2391906120e7565b91505090565b54600160601b90046001600160a01b0316919050565b610d48336106b5565b6106c7836016610ed4565b6106c783600f610ed4565b5f8051602061236683398151915280545f9190600160a01b900460ff16610d85575f610d23565b638fb3603760e01b91505090565b5f80516020612366833981519152546001600160a01b031690565b610db7336106b5565b61076f836017610ed4565b610dcb336106b5565b61076f83600f610ed4565b5f805160206123668339815191525f80610e0e610df1610d93565b8730610e0060045f8a8c612102565b610e0991612129565b611701565b9150915081610ecc5763ffffffff811615610ea957825460ff60a01b1916600160a01b178355610e3c610d93565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b8152600401610e6b93929190612161565b5f604051808303815f87803b158015610e82575f80fd5b505af1158015610e94573d5f803e3d5ffd5b5050845460ff60a01b1916855550610ecc9050565b60405162d1953b60e31b81526001600160a01b0387166004820152602401610bc3565b505050505050565b6001546001600160a01b0316604051635b12715d60e11b81526001600160601b038416600482015260ff831660248201526001600160a01b03919091169063b624e2ba90604401602060405180830381865afa158015610f36573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610f5a919061209f565b610c0a5760405163d711af7560e01b81526001600160601b038316600482015260ff82166024820152604401610bc3565b5f610f968383611809565b90508515611195576040516330b8415f60e01b81526001600160601b038216600482015273__$3bac17678db7ae928afa209f2f44deec9c$__906330b8415f90602401602060405180830381865af4158015610ff4573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611018919061209f565b1561109757604051639f8151e560e01b81526001600160601b038086166004830152821660248201526001600160a01b03861690639f8151e5906044016020604051808303815f875af1158015611071573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906110959190612038565b505b6040516330b8415f60e01b81526001600160601b038316600482015273__$3bac17678db7ae928afa209f2f44deec9c$__906330b8415f90602401602060405180830381865af41580156110ed573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611111919061209f565b156111905760405163e80c61ed60e01b81526001600160601b038086166004830152831660248201526001600160a01b0386169063e80c61ed906044016020604051808303815f875af115801561116a573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061118e9190612038565b505b610ecc565b6040516330b8415f60e01b81526001600160601b038216600482015273__$3bac17678db7ae928afa209f2f44deec9c$__906330b8415f90602401602060405180830381865af41580156111eb573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061120f919061209f565b1561128e5760405163b0628dc360e01b81526001600160601b038086166004830152821660248201526001600160a01b0386169063b0628dc3906044016020604051808303815f875af1158015611268573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061128c9190612038565b505b6040516330b8415f60e01b81526001600160601b038316600482015273__$3bac17678db7ae928afa209f2f44deec9c$__906330b8415f90602401602060405180830381865af41580156112e4573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611308919061209f565b15610ecc576040516314cc21b560e21b81526001600160601b038086166004830152831660248201526001600160a01b0386169063533086d4906044016020604051808303815f875af1158015611361573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610a3f9190612038565b5f805f8051602061234683398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af41580156113f1573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611415919061209f565b156114415780546040516301ab8b6760e21b81526001600160601b039091166004820152602401610bc3565b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038581166004830152919091169063c3c5a54790602401602060405180830381865afa158015611493573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906114b7919061209f565b6114df5760405163b9304b0d60e01b81526001600160a01b0384166004820152602401610bc3565b6001546001600160a01b0316604051632f2a35f760e11b81526001600160a01b0385811660048301529190911690635e546bee90602401602060405180830381865afa158015611531573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906115559190612038565b81546bffffffffffffffffffffffff19166001600160601b039190911690811790915592915050565b6101dc611894565b5f805160206123a68339815191528054600160401b810460ff1615906001600160401b03165f811580156115b75750825b90505f826001600160401b031660011480156115d25750303b155b9050811580156115e0575080155b156115fe5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561162857845460ff60401b1916600160401b1785555b5f808780602001905181019061163e91906121a0565b9150915061164d82828b6118cc565b61165d63a76f099560e01b611965565b50508315610a3f57845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d290602001610a36565b5f8051602061236683398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b6040516001600160a01b03848116602483015283811660448301526001600160e01b0319831660648301525f9182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b1790525161176f91906121d8565b5f60405180830381855afa9150503d805f81146117a7576040519150601f19603f3d011682016040523d82523d5f602084013e6117ac565b606091505b509150915081156117fe5760408151106117de57808060200190518101906117d491906121ee565b90945092506117fe565b60208151106117fe57808060200190518101906117fb919061209f565b93505b505094509492505050565b60405163274acb3560e01b81526001600160601b038084166004830152821660248201525f9073__$3bac17678db7ae928afa209f2f44deec9c$__9063274acb3590604401602060405180830381865af4158015611869573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061188d9190612038565b9392505050565b5f805160206123a683398151915254600160401b900460ff166118ca57604051631afcd79f60e31b815260040160405180910390fd5b565b6118d4611894565b6118dc611991565b6119598383846001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa15801561191d573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906119419190612038565b60085f8660405180602001604052805f8152506119a1565b61094763daf9067160e01b5b61196d611894565b6001600160e01b0319165f908152602081905260409020805460ff19166001179055565b611999611894565b6118ca611b55565b6119a9611894565b604051632330f24760e01b81526001600160a01b038816600482015273__$fb599632d08395912d9d70eb2f0f93b5e2$__90632330f24790602401602060405180830381865af41580156119ff573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611a23919061209f565b611a4b5760405163cf6935e560e01b81526001600160a01b0388166004820152602401610bc3565b611a5487611b83565b611a5e8683611b97565b5f8051602061238683398151915280546001600160601b0387166cffffffffffffffffffffffffff1990911617600160601b60ff871602178155604080516376b707b760e01b815290516001600160a01b038a16916376b707b79160048083019260209291908290030181865afa158015611adb573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611aff9190612220565b815461ffff60681b1916600160681b60ff929092169190910260ff60701b191617600160701b8515150217815560018101611b3a838261228b565b50611b4b634a531f3360e01b611965565b5050505050505050565b611b5d611894565b60017f9b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f0055565b611b8b611894565b611b9481611c0d565b50565b611b9f611894565b611ba882611c1e565b611bb0611cea565b6001600160a01b038116611bd75760405163f17ef42d60e01b815260040160405180910390fd5b5f8051602061234683398151915280546001600160601b0316600160601b6001600160a01b039093169290920291909117905550565b611c15611894565b611b94816116a1565b611c26611894565b604051633334d16b60e01b81526001600160a01b038216600482015273__$fb599632d08395912d9d70eb2f0f93b5e2$__90633334d16b90602401602060405180830381865af4158015611c7c573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611ca0919061209f565b611cc85760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610bc3565b600180546001600160a01b0319166001600160a01b0392909216919091179055565b611cf2611894565b6301ffc9a760e01b5f9081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b5f60208284031215611d3f575f80fd5b81356001600160e01b03198116811461188d575f80fd5b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081526001600160601b0382511660208201526001600160601b03602083015116604082015260ff60408301511660608201525f6060830151611dcc608084018215159052565b5060808301516001600160a01b03811660a08401525060a08301516001600160a01b03811660c08401525060c083015160e080840152611e10610100840182611d56565b949350505050565b6001600160a01b0381168114611b94575f80fd5b6001600160601b0381168114611b94575f80fd5b5f805f8060808587031215611e53575f80fd5b8435611e5e81611e18565b93506020850135611e6e81611e2c565b92506040850135611e7e81611e2c565b91506060850135611e8e81611e2c565b939692955090935050565b634e487b7160e01b5f52604160045260245ffd5b5f82601f830112611ebc575f80fd5b81356001600160401b03811115611ed557611ed5611e99565b604051601f8201601f19908116603f011681016001600160401b0381118282101715611f0357611f03611e99565b604052818152838201602001851015611f1a575f80fd5b816020850160208301375f918101602001919091529392505050565b5f60208284031215611f46575f80fd5b81356001600160401b03811115611f5b575f80fd5b611e1084828501611ead565b5f805f60608486031215611f79575f80fd5b8335611f8481611e18565b92506020840135611f9481611e2c565b91506040840135611fa481611e2c565b809150509250925092565b5f8060408385031215611fc0575f80fd5b8235611fcb81611e18565b915060208301356001600160401b03811115611fe5575f80fd5b611ff185828601611ead565b9150509250929050565b5f6020828403121561200b575f80fd5b813561188d81611e18565b5f60208284031215612026575f80fd5b815162ffffff8116811461188d575f80fd5b5f60208284031215612048575f80fd5b815161188d81611e2c565b600181811c9082168061206757607f821691505b60208210810361208557634e487b7160e01b5f52602260045260245ffd5b50919050565b8051801515811461209a575f80fd5b919050565b5f602082840312156120af575f80fd5b61188d8261208b565b6001600160401b0381168114611b94575f80fd5b5f602082840312156120dc575f80fd5b815161188d816120b8565b5f602082840312156120f7575f80fd5b815161188d81611e18565b5f8085851115612110575f80fd5b8386111561211c575f80fd5b5050820193919092039150565b80356001600160e01b0319811690600484101561215a576001600160e01b0319600485900360031b81901b82161691505b5092915050565b6001600160a01b03841681526040602082018190528101829052818360608301375f818301606090810191909152601f909201601f1916010192915050565b5f80604083850312156121b1575f80fd5b82516121bc81611e18565b60208401519092506121cd81611e18565b809150509250929050565b5f82518060208501845e5f920191825250919050565b5f80604083850312156121ff575f80fd5b6122088361208b565b9150602083015163ffffffff811681146121cd575f80fd5b5f60208284031215612230575f80fd5b815160ff8116811461188d575f80fd5b601f82111561094757805f5260205f20601f840160051c810160208510156122655750805b601f840160051c820191505b81811015612284575f8155600101612271565b5050505050565b81516001600160401b038111156122a4576122a4611e99565b6122b8816122b28454612053565b84612240565b6020601f8211600181146122ea575f83156122d35750848201515b5f19600385901b1c1916600184901b178455612284565b5f84815260208120601f198516915b8281101561231957878501518255602094850194600190920191016122f9565b508482101561233657868401515f19600387901b60f8161c191681555b50505050600190811b0190555056fe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a006548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa300f0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00a2646970667358221220335016fd42b60caafc24c4bd38236cb36ebcccbe6cf30590f200c11b66863b4664736f6c634300081a0033",
893
+ "bytecode": "0x6080604052348015600e575f80fd5b5060156019565b60c9565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00805468010000000000000000900460ff161560685760405163f92ee8a960e01b815260040160405180910390fd5b80546001600160401b039081161460c65780546001600160401b0319166001600160401b0390811782556040519081527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50565b6124e7806100d65f395ff3fe608060405234801561000f575f80fd5b50600436106101e7575f3560e01c80636c741e78116101095780638fb360371161009e578063d165cb641161006e578063d165cb6414610468578063d56cd3d51461047b578063dd94be6814610370578063e618053f146103fe575f80fd5b80638fb3603714610424578063ada9652e14610445578063b68d180914610459578063bf7e214f14610460575f80fd5b80637a9e5e4b116100d95780637a9e5e4b146103e3578063893d20e8146103f6578063899cc04c146103fe57806389fad8a214610411575f80fd5b80636c741e78146103835780636e172807146103a357806374933c2f146103b657806376b707b7146103c9575f80fd5b8063329d6e741161017f5780635eec02641161014f5780635eec0264146102cf578063644c45e014610340578063661017811461035d57806367438c5014610370575f80fd5b8063329d6e74146102e2578063346696cc146102f557806349bb9e4b146103085780635ab1bd531461031b575f80fd5b8063138461e0116101ba578063138461e0146102725780631eff4b221461029257806322f3e2d4146102c757806325e451d3146102cf575f80fd5b806301ffc9a7146101eb5780630d8e6e2c1461022c5780630fec111c1461024857806311a146771461025d575b5f80fd5b6102176101f9366004611e3b565b6001600160e01b0319165f9081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b61023461048e565b60405162ffffff9091168152602001610223565b610250610515565b6040516102239190611e90565b61027061026b366004611f4c565b6106cf565b005b61027a6106f9565b6040516001600160601b039091168152602001610223565b6102b97f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b604051908152602001610223565b610217610703565b6102706102dd366004611f4c565b61077a565b6102706102f0366004612042565b61079c565b610270610303366004612073565b6108e6565b6102706103163660046120bb565b61096b565b6001546001600160a01b03165b6040516001600160a01b039091168152602001610223565b5f80516020612452833981519152546001600160601b031661027a565b61027061036b366004611f4c565b610a67565b61027061037e366004612073565b610a7b565b61038b610add565b6040516001600160401b039091168152602001610223565b6102706103b1366004612073565b610b69565b6102706103c4366004611f4c565b610b7d565b6103d1610b91565b60405160ff9091168152602001610223565b6102706103f1366004612107565b610bf9565b610328610c84565b61027061040c366004611f4c565b610db5565b61027061041f366004611f4c565b610dc9565b61042c610ddd565b6040516001600160e01b03199091168152602001610223565b6102b95f8051602061245283398151915281565b60286103d1565b610328610e12565b610270610476366004611f4c565b610e2d565b610270610489366004611f4c565b610e41565b604051632efe011360e01b8152600360048201525f60248201819052604482018190529073__$8eede297b65ed5a56eb3f84d8232ae93f5$__90632efe011390606401602060405180830381865af41580156104ec573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906105109190612122565b905090565b6040805160e0810182525f8082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820152907f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e0016040528073__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af41580156105c1573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906105e59190612144565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a00161062d610c84565b6001600160a01b0316815260200182600101805461064a9061215f565b80601f01602080910402602001604051908101604052809291908181526020018280546106769061215f565b80156106c15780601f10610698576101008083540402835291602001916106c1565b820191905f5260205f20905b8154815290600101906020018083116106a457829003601f168201915b505050505081525091505090565b6106db335b5f36610e55565b6106e683600e610f53565b6106f35f85858585611087565b50505050565b5f61051030611481565b5f61070c610e12565b60405163a166aa8960e01b81523060048201526001600160a01b03919091169063a166aa8990602401602060405180830381865afa158015610750573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061077491906121ab565b15905090565b610783336106d4565b61078e836016610f53565b6106f3600185858585611087565b73__$8eede297b65ed5a56eb3f84d8232ae93f5$__63a123b37c6107be61048e565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af41580156107fc573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061082091906121d8565b5f805160206124928339815191528054600160401b900460ff1680610852575080546001600160401b03808416911610155b156108705760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b17815561089a836116d7565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a1505050565b6108ef336106d4565b6109665f848473__$3bac17678db7ae928afa209f2f44deec9c$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af415801561093c573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906109609190612144565b85611087565b505050565b5f805160206124928339815191528054600160401b810460ff1615906001600160401b03165f8115801561099c5750825b90505f826001600160401b031660011480156109b75750303b155b9050811580156109c5575080155b156109e35760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315610a0d57845460ff60401b1916600160401b1785555b610a1787876116f8565b8315610a5e57845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a15b50505050505050565b610a70336106d4565b6106e6836017610f53565b610a84336106d4565b610a8f82600c610f53565b6109666001848473__$3bac17678db7ae928afa209f2f44deec9c$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af415801561093c573d5f803e3d5ffd5b5f73__$1d92393fa9ccd763988368ce8a1cb90d26$__63645ceefe6028610b02610b91565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865af4158015610b45573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061051091906121d8565b610b72336106d4565b6108ef82600c610f53565b610b86336106d4565b61078e83600e610f53565b5f610b9a610e12565b6001600160a01b03166376b707b76040518163ffffffff1660e01b8152600401602060405180830381865afa158015610bd5573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061051091906121f3565b33610c02610e12565b6001600160a01b0316816001600160a01b031614610c425760405162d1953b60e31b81526001600160a01b03821660048201526024015b60405180910390fd5b816001600160a01b03163b5f03610c77576040516361798f2f60e11b81526001600160a01b0383166004820152602401610c39565b610c8082611813565b5050565b5f805f8051602061245283398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015610cf0573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610d1491906121ab565b15610d9f576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015610d75573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610d999190612213565b91505090565b54600160601b90046001600160a01b0316919050565b610dbe336106d4565b6106e6836016610f53565b610dd2336106d4565b6106e683600f610f53565b5f8051602061247283398151915280545f9190600160a01b900460ff16610e04575f610d99565b638fb3603760e01b91505090565b5f80516020612472833981519152546001600160a01b031690565b610e36336106d4565b61078e836017610f53565b610e4a336106d4565b61078e83600f610f53565b5f805160206124728339815191525f80610e8d610e70610e12565b8730610e7f60045f8a8c61222e565b610e8891612255565b611873565b9150915081610f4b5763ffffffff811615610f2857825460ff60a01b1916600160a01b178355610ebb610e12565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b8152600401610eea9392919061228d565b5f604051808303815f87803b158015610f01575f80fd5b505af1158015610f13573d5f803e3d5ffd5b5050845460ff60a01b1916855550610f4b9050565b60405162d1953b60e31b81526001600160a01b0387166004820152602401610c39565b505050505050565b60405163037c8cb160e51b815260ff8216600482015273__$0d958e68cba84670b8f4a3f2f2686b1c6b$__90636f91962090602401602060405180830381865af4158015610fa3573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610fc791906121ab565b8061105557506001546001600160a01b0316604051635b12715d60e11b81526001600160601b038416600482015260ff831660248201526001600160a01b03919091169063b624e2ba90604401602060405180830381865afa15801561102f573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061105391906121ab565b155b15610c805760405163d711af7560e01b81526001600160601b038316600482015260ff82166024820152604401610c39565b5f611092838361197b565b90508515611291576040516330b8415f60e01b81526001600160601b038216600482015273__$3bac17678db7ae928afa209f2f44deec9c$__906330b8415f90602401602060405180830381865af41580156110f0573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061111491906121ab565b1561119357604051639f8151e560e01b81526001600160601b038086166004830152821660248201526001600160a01b03861690639f8151e5906044016020604051808303815f875af115801561116d573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906111919190612144565b505b6040516330b8415f60e01b81526001600160601b038316600482015273__$3bac17678db7ae928afa209f2f44deec9c$__906330b8415f90602401602060405180830381865af41580156111e9573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061120d91906121ab565b1561128c5760405163e80c61ed60e01b81526001600160601b038086166004830152831660248201526001600160a01b0386169063e80c61ed906044016020604051808303815f875af1158015611266573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061128a9190612144565b505b610f4b565b6040516330b8415f60e01b81526001600160601b038216600482015273__$3bac17678db7ae928afa209f2f44deec9c$__906330b8415f90602401602060405180830381865af41580156112e7573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061130b91906121ab565b1561138a5760405163b0628dc360e01b81526001600160601b038086166004830152821660248201526001600160a01b0386169063b0628dc3906044016020604051808303815f875af1158015611364573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906113889190612144565b505b6040516330b8415f60e01b81526001600160601b038316600482015273__$3bac17678db7ae928afa209f2f44deec9c$__906330b8415f90602401602060405180830381865af41580156113e0573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061140491906121ab565b15610f4b576040516314cc21b560e21b81526001600160601b038086166004830152831660248201526001600160a01b0386169063533086d4906044016020604051808303815f875af115801561145d573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610a5e9190612144565b5f805f8051602061245283398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af41580156114ed573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061151191906121ab565b1561153d5780546040516301ab8b6760e21b81526001600160601b039091166004820152602401610c39565b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038581166004830152919091169063c3c5a54790602401602060405180830381865afa15801561158f573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906115b391906121ab565b6115db5760405163b9304b0d60e01b81526001600160a01b0384166004820152602401610c39565b6001546001600160a01b0316604051632f2a35f760e11b81526001600160a01b0385811660048301529190911690635e546bee90602401602060405180830381865afa15801561162d573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906116519190612144565b81546bffffffffffffffffffffffff19166001600160601b039190911690811782557f88857b75cbef7f257c9d5a473e28aaf6a91cc28f717f60f2cda3bcf5623d7b549061169d610c84565b604080516001600160601b0390931683526001600160a01b0390911660208301520160405180910390a1546001600160601b031692915050565b6116df611a06565b60405163502ec37160e01b815260040160405180910390fd5b5f805160206124928339815191528054600160401b810460ff1615906001600160401b03165f811580156117295750825b90505f826001600160401b031660011480156117445750303b155b905081158015611752575080155b156117705760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561179a57845460ff60401b1916600160401b1785555b5f80878060200190518101906117b091906122cc565b915091506117bf82828b611a3e565b6117cf637afbb7fd60e01b611ad7565b50508315610a5e57845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d290602001610a55565b5f8051602061247283398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b6040516001600160a01b03848116602483015283811660448301526001600160e01b0319831660648301525f9182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b179052516118e19190612304565b5f60405180830381855afa9150503d805f8114611919576040519150601f19603f3d011682016040523d82523d5f602084013e61191e565b606091505b509150915081156119705760408151106119505780806020019051810190611946919061231a565b9094509250611970565b6020815110611970578080602001905181019061196d91906121ab565b93505b505094509492505050565b60405163274acb3560e01b81526001600160601b038084166004830152821660248201525f9073__$3bac17678db7ae928afa209f2f44deec9c$__9063274acb3590604401602060405180830381865af41580156119db573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906119ff9190612144565b9392505050565b5f8051602061249283398151915254600160401b900460ff16611a3c57604051631afcd79f60e31b815260040160405180910390fd5b565b611a46611a06565b611a4e611b0a565b611acb8383846001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa158015611a8f573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611ab39190612144565b60085f8660405180602001604052805f815250611b1a565b61096663daf9067160e01b5b611adf611a06565b611b07816001600160e01b0319165f908152602081905260409020805460ff19166001179055565b50565b611b12611a06565b611a3c611c61565b611b22611a06565b604051632330f24760e01b81526001600160a01b038816600482015273__$fb599632d08395912d9d70eb2f0f93b5e2$__90632330f24790602401602060405180830381865af4158015611b78573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611b9c91906121ab565b611bc45760405163cf6935e560e01b81526001600160a01b0388166004820152602401610c39565b611bcd87611c8f565b611bd78683611ca0565b5f7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166cffffffffffffffffffffffffff1990911617600160601b60ff8816021760ff60681b1916600160681b86151502178155905060018101611c468382612397565b50611c57634a531f3360e01b611ad7565b5050505050505050565b611c69611a06565b60017f9b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f0055565b611c97611a06565b611b0781611d16565b611ca8611a06565b611cb0611d27565b611cb982611d6f565b6001600160a01b038116611ce05760405163f17ef42d60e01b815260040160405180910390fd5b5f8051602061245283398151915280546001600160601b0316600160601b6001600160a01b039093169290920291909117905550565b611d1e611a06565b611b0781611813565b611d2f611a06565b611a3c6301ffc9a760e01b5f9081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b611d77611a06565b604051633334d16b60e01b81526001600160a01b038216600482015273__$fb599632d08395912d9d70eb2f0f93b5e2$__90633334d16b90602401602060405180830381865af4158015611dcd573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611df191906121ab565b611e195760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610c39565b600180546001600160a01b0319166001600160a01b0392909216919091179055565b5f60208284031215611e4b575f80fd5b81356001600160e01b0319811681146119ff575f80fd5b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081526001600160601b0382511660208201526001600160601b03602083015116604082015260ff60408301511660608201525f6060830151611ed8608084018215159052565b5060808301516001600160a01b03811660a08401525060a08301516001600160a01b03811660c08401525060c083015160e080840152611f1c610100840182611e62565b949350505050565b6001600160a01b0381168114611b07575f80fd5b6001600160601b0381168114611b07575f80fd5b5f805f8060808587031215611f5f575f80fd5b8435611f6a81611f24565b93506020850135611f7a81611f38565b92506040850135611f8a81611f38565b91506060850135611f9a81611f38565b939692955090935050565b634e487b7160e01b5f52604160045260245ffd5b5f82601f830112611fc8575f80fd5b81356001600160401b03811115611fe157611fe1611fa5565b604051601f8201601f19908116603f011681016001600160401b038111828210171561200f5761200f611fa5565b604052818152838201602001851015612026575f80fd5b816020850160208301375f918101602001919091529392505050565b5f60208284031215612052575f80fd5b81356001600160401b03811115612067575f80fd5b611f1c84828501611fb9565b5f805f60608486031215612085575f80fd5b833561209081611f24565b925060208401356120a081611f38565b915060408401356120b081611f38565b809150509250925092565b5f80604083850312156120cc575f80fd5b82356120d781611f24565b915060208301356001600160401b038111156120f1575f80fd5b6120fd85828601611fb9565b9150509250929050565b5f60208284031215612117575f80fd5b81356119ff81611f24565b5f60208284031215612132575f80fd5b815162ffffff811681146119ff575f80fd5b5f60208284031215612154575f80fd5b81516119ff81611f38565b600181811c9082168061217357607f821691505b60208210810361219157634e487b7160e01b5f52602260045260245ffd5b50919050565b805180151581146121a6575f80fd5b919050565b5f602082840312156121bb575f80fd5b6119ff82612197565b6001600160401b0381168114611b07575f80fd5b5f602082840312156121e8575f80fd5b81516119ff816121c4565b5f60208284031215612203575f80fd5b815160ff811681146119ff575f80fd5b5f60208284031215612223575f80fd5b81516119ff81611f24565b5f808585111561223c575f80fd5b83861115612248575f80fd5b5050820193919092039150565b80356001600160e01b03198116906004841015612286576001600160e01b0319600485900360031b81901b82161691505b5092915050565b6001600160a01b03841681526040602082018190528101829052818360608301375f818301606090810191909152601f909201601f1916010192915050565b5f80604083850312156122dd575f80fd5b82516122e881611f24565b60208401519092506122f981611f24565b809150509250929050565b5f82518060208501845e5f920191825250919050565b5f806040838503121561232b575f80fd5b61233483612197565b9150602083015163ffffffff811681146122f9575f80fd5b601f82111561096657805f5260205f20601f840160051c810160208510156123715750805b601f840160051c820191505b81811015612390575f815560010161237d565b5050505050565b81516001600160401b038111156123b0576123b0611fa5565b6123c4816123be845461215f565b8461234c565b6020601f8211600181146123f6575f83156123df5750848201515b5f19600385901b1c1916600184901b178455612390565b5f84815260208120601f198516915b828110156124255787850151825560209485019460019092019101612405565b508482101561244257868401515f19600387901b60f8161c191681555b50505050600190811b0190555056fe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00f0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00a2646970667358221220d312c243dc9f851f96f5c9340d0cf981e887f6d647d3a1a4c5178268e99a6dc964736f6c634300081a0033",
894
+ "deployedBytecode": "0x608060405234801561000f575f80fd5b50600436106101e7575f3560e01c80636c741e78116101095780638fb360371161009e578063d165cb641161006e578063d165cb6414610468578063d56cd3d51461047b578063dd94be6814610370578063e618053f146103fe575f80fd5b80638fb3603714610424578063ada9652e14610445578063b68d180914610459578063bf7e214f14610460575f80fd5b80637a9e5e4b116100d95780637a9e5e4b146103e3578063893d20e8146103f6578063899cc04c146103fe57806389fad8a214610411575f80fd5b80636c741e78146103835780636e172807146103a357806374933c2f146103b657806376b707b7146103c9575f80fd5b8063329d6e741161017f5780635eec02641161014f5780635eec0264146102cf578063644c45e014610340578063661017811461035d57806367438c5014610370575f80fd5b8063329d6e74146102e2578063346696cc146102f557806349bb9e4b146103085780635ab1bd531461031b575f80fd5b8063138461e0116101ba578063138461e0146102725780631eff4b221461029257806322f3e2d4146102c757806325e451d3146102cf575f80fd5b806301ffc9a7146101eb5780630d8e6e2c1461022c5780630fec111c1461024857806311a146771461025d575b5f80fd5b6102176101f9366004611e3b565b6001600160e01b0319165f9081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b61023461048e565b60405162ffffff9091168152602001610223565b610250610515565b6040516102239190611e90565b61027061026b366004611f4c565b6106cf565b005b61027a6106f9565b6040516001600160601b039091168152602001610223565b6102b97f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b604051908152602001610223565b610217610703565b6102706102dd366004611f4c565b61077a565b6102706102f0366004612042565b61079c565b610270610303366004612073565b6108e6565b6102706103163660046120bb565b61096b565b6001546001600160a01b03165b6040516001600160a01b039091168152602001610223565b5f80516020612452833981519152546001600160601b031661027a565b61027061036b366004611f4c565b610a67565b61027061037e366004612073565b610a7b565b61038b610add565b6040516001600160401b039091168152602001610223565b6102706103b1366004612073565b610b69565b6102706103c4366004611f4c565b610b7d565b6103d1610b91565b60405160ff9091168152602001610223565b6102706103f1366004612107565b610bf9565b610328610c84565b61027061040c366004611f4c565b610db5565b61027061041f366004611f4c565b610dc9565b61042c610ddd565b6040516001600160e01b03199091168152602001610223565b6102b95f8051602061245283398151915281565b60286103d1565b610328610e12565b610270610476366004611f4c565b610e2d565b610270610489366004611f4c565b610e41565b604051632efe011360e01b8152600360048201525f60248201819052604482018190529073__$8eede297b65ed5a56eb3f84d8232ae93f5$__90632efe011390606401602060405180830381865af41580156104ec573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906105109190612122565b905090565b6040805160e0810182525f8082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820152907f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e0016040528073__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af41580156105c1573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906105e59190612144565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a00161062d610c84565b6001600160a01b0316815260200182600101805461064a9061215f565b80601f01602080910402602001604051908101604052809291908181526020018280546106769061215f565b80156106c15780601f10610698576101008083540402835291602001916106c1565b820191905f5260205f20905b8154815290600101906020018083116106a457829003601f168201915b505050505081525091505090565b6106db335b5f36610e55565b6106e683600e610f53565b6106f35f85858585611087565b50505050565b5f61051030611481565b5f61070c610e12565b60405163a166aa8960e01b81523060048201526001600160a01b03919091169063a166aa8990602401602060405180830381865afa158015610750573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061077491906121ab565b15905090565b610783336106d4565b61078e836016610f53565b6106f3600185858585611087565b73__$8eede297b65ed5a56eb3f84d8232ae93f5$__63a123b37c6107be61048e565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af41580156107fc573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061082091906121d8565b5f805160206124928339815191528054600160401b900460ff1680610852575080546001600160401b03808416911610155b156108705760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b17815561089a836116d7565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a1505050565b6108ef336106d4565b6109665f848473__$3bac17678db7ae928afa209f2f44deec9c$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af415801561093c573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906109609190612144565b85611087565b505050565b5f805160206124928339815191528054600160401b810460ff1615906001600160401b03165f8115801561099c5750825b90505f826001600160401b031660011480156109b75750303b155b9050811580156109c5575080155b156109e35760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315610a0d57845460ff60401b1916600160401b1785555b610a1787876116f8565b8315610a5e57845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a15b50505050505050565b610a70336106d4565b6106e6836017610f53565b610a84336106d4565b610a8f82600c610f53565b6109666001848473__$3bac17678db7ae928afa209f2f44deec9c$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af415801561093c573d5f803e3d5ffd5b5f73__$1d92393fa9ccd763988368ce8a1cb90d26$__63645ceefe6028610b02610b91565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865af4158015610b45573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061051091906121d8565b610b72336106d4565b6108ef82600c610f53565b610b86336106d4565b61078e83600e610f53565b5f610b9a610e12565b6001600160a01b03166376b707b76040518163ffffffff1660e01b8152600401602060405180830381865afa158015610bd5573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061051091906121f3565b33610c02610e12565b6001600160a01b0316816001600160a01b031614610c425760405162d1953b60e31b81526001600160a01b03821660048201526024015b60405180910390fd5b816001600160a01b03163b5f03610c77576040516361798f2f60e11b81526001600160a01b0383166004820152602401610c39565b610c8082611813565b5050565b5f805f8051602061245283398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015610cf0573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610d1491906121ab565b15610d9f576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015610d75573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610d999190612213565b91505090565b54600160601b90046001600160a01b0316919050565b610dbe336106d4565b6106e6836016610f53565b610dd2336106d4565b6106e683600f610f53565b5f8051602061247283398151915280545f9190600160a01b900460ff16610e04575f610d99565b638fb3603760e01b91505090565b5f80516020612472833981519152546001600160a01b031690565b610e36336106d4565b61078e836017610f53565b610e4a336106d4565b61078e83600f610f53565b5f805160206124728339815191525f80610e8d610e70610e12565b8730610e7f60045f8a8c61222e565b610e8891612255565b611873565b9150915081610f4b5763ffffffff811615610f2857825460ff60a01b1916600160a01b178355610ebb610e12565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b8152600401610eea9392919061228d565b5f604051808303815f87803b158015610f01575f80fd5b505af1158015610f13573d5f803e3d5ffd5b5050845460ff60a01b1916855550610f4b9050565b60405162d1953b60e31b81526001600160a01b0387166004820152602401610c39565b505050505050565b60405163037c8cb160e51b815260ff8216600482015273__$0d958e68cba84670b8f4a3f2f2686b1c6b$__90636f91962090602401602060405180830381865af4158015610fa3573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610fc791906121ab565b8061105557506001546001600160a01b0316604051635b12715d60e11b81526001600160601b038416600482015260ff831660248201526001600160a01b03919091169063b624e2ba90604401602060405180830381865afa15801561102f573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061105391906121ab565b155b15610c805760405163d711af7560e01b81526001600160601b038316600482015260ff82166024820152604401610c39565b5f611092838361197b565b90508515611291576040516330b8415f60e01b81526001600160601b038216600482015273__$3bac17678db7ae928afa209f2f44deec9c$__906330b8415f90602401602060405180830381865af41580156110f0573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061111491906121ab565b1561119357604051639f8151e560e01b81526001600160601b038086166004830152821660248201526001600160a01b03861690639f8151e5906044016020604051808303815f875af115801561116d573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906111919190612144565b505b6040516330b8415f60e01b81526001600160601b038316600482015273__$3bac17678db7ae928afa209f2f44deec9c$__906330b8415f90602401602060405180830381865af41580156111e9573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061120d91906121ab565b1561128c5760405163e80c61ed60e01b81526001600160601b038086166004830152831660248201526001600160a01b0386169063e80c61ed906044016020604051808303815f875af1158015611266573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061128a9190612144565b505b610f4b565b6040516330b8415f60e01b81526001600160601b038216600482015273__$3bac17678db7ae928afa209f2f44deec9c$__906330b8415f90602401602060405180830381865af41580156112e7573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061130b91906121ab565b1561138a5760405163b0628dc360e01b81526001600160601b038086166004830152821660248201526001600160a01b0386169063b0628dc3906044016020604051808303815f875af1158015611364573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906113889190612144565b505b6040516330b8415f60e01b81526001600160601b038316600482015273__$3bac17678db7ae928afa209f2f44deec9c$__906330b8415f90602401602060405180830381865af41580156113e0573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061140491906121ab565b15610f4b576040516314cc21b560e21b81526001600160601b038086166004830152831660248201526001600160a01b0386169063533086d4906044016020604051808303815f875af115801561145d573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610a5e9190612144565b5f805f8051602061245283398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af41580156114ed573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061151191906121ab565b1561153d5780546040516301ab8b6760e21b81526001600160601b039091166004820152602401610c39565b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038581166004830152919091169063c3c5a54790602401602060405180830381865afa15801561158f573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906115b391906121ab565b6115db5760405163b9304b0d60e01b81526001600160a01b0384166004820152602401610c39565b6001546001600160a01b0316604051632f2a35f760e11b81526001600160a01b0385811660048301529190911690635e546bee90602401602060405180830381865afa15801561162d573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906116519190612144565b81546bffffffffffffffffffffffff19166001600160601b039190911690811782557f88857b75cbef7f257c9d5a473e28aaf6a91cc28f717f60f2cda3bcf5623d7b549061169d610c84565b604080516001600160601b0390931683526001600160a01b0390911660208301520160405180910390a1546001600160601b031692915050565b6116df611a06565b60405163502ec37160e01b815260040160405180910390fd5b5f805160206124928339815191528054600160401b810460ff1615906001600160401b03165f811580156117295750825b90505f826001600160401b031660011480156117445750303b155b905081158015611752575080155b156117705760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561179a57845460ff60401b1916600160401b1785555b5f80878060200190518101906117b091906122cc565b915091506117bf82828b611a3e565b6117cf637afbb7fd60e01b611ad7565b50508315610a5e57845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d290602001610a55565b5f8051602061247283398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b6040516001600160a01b03848116602483015283811660448301526001600160e01b0319831660648301525f9182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b179052516118e19190612304565b5f60405180830381855afa9150503d805f8114611919576040519150601f19603f3d011682016040523d82523d5f602084013e61191e565b606091505b509150915081156119705760408151106119505780806020019051810190611946919061231a565b9094509250611970565b6020815110611970578080602001905181019061196d91906121ab565b93505b505094509492505050565b60405163274acb3560e01b81526001600160601b038084166004830152821660248201525f9073__$3bac17678db7ae928afa209f2f44deec9c$__9063274acb3590604401602060405180830381865af41580156119db573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906119ff9190612144565b9392505050565b5f8051602061249283398151915254600160401b900460ff16611a3c57604051631afcd79f60e31b815260040160405180910390fd5b565b611a46611a06565b611a4e611b0a565b611acb8383846001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa158015611a8f573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611ab39190612144565b60085f8660405180602001604052805f815250611b1a565b61096663daf9067160e01b5b611adf611a06565b611b07816001600160e01b0319165f908152602081905260409020805460ff19166001179055565b50565b611b12611a06565b611a3c611c61565b611b22611a06565b604051632330f24760e01b81526001600160a01b038816600482015273__$fb599632d08395912d9d70eb2f0f93b5e2$__90632330f24790602401602060405180830381865af4158015611b78573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611b9c91906121ab565b611bc45760405163cf6935e560e01b81526001600160a01b0388166004820152602401610c39565b611bcd87611c8f565b611bd78683611ca0565b5f7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166cffffffffffffffffffffffffff1990911617600160601b60ff8816021760ff60681b1916600160681b86151502178155905060018101611c468382612397565b50611c57634a531f3360e01b611ad7565b5050505050505050565b611c69611a06565b60017f9b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f0055565b611c97611a06565b611b0781611d16565b611ca8611a06565b611cb0611d27565b611cb982611d6f565b6001600160a01b038116611ce05760405163f17ef42d60e01b815260040160405180910390fd5b5f8051602061245283398151915280546001600160601b0316600160601b6001600160a01b039093169290920291909117905550565b611d1e611a06565b611b0781611813565b611d2f611a06565b611a3c6301ffc9a760e01b5f9081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b611d77611a06565b604051633334d16b60e01b81526001600160a01b038216600482015273__$fb599632d08395912d9d70eb2f0f93b5e2$__90633334d16b90602401602060405180830381865af4158015611dcd573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611df191906121ab565b611e195760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610c39565b600180546001600160a01b0319166001600160a01b0392909216919091179055565b5f60208284031215611e4b575f80fd5b81356001600160e01b0319811681146119ff575f80fd5b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081526001600160601b0382511660208201526001600160601b03602083015116604082015260ff60408301511660608201525f6060830151611ed8608084018215159052565b5060808301516001600160a01b03811660a08401525060a08301516001600160a01b03811660c08401525060c083015160e080840152611f1c610100840182611e62565b949350505050565b6001600160a01b0381168114611b07575f80fd5b6001600160601b0381168114611b07575f80fd5b5f805f8060808587031215611f5f575f80fd5b8435611f6a81611f24565b93506020850135611f7a81611f38565b92506040850135611f8a81611f38565b91506060850135611f9a81611f38565b939692955090935050565b634e487b7160e01b5f52604160045260245ffd5b5f82601f830112611fc8575f80fd5b81356001600160401b03811115611fe157611fe1611fa5565b604051601f8201601f19908116603f011681016001600160401b038111828210171561200f5761200f611fa5565b604052818152838201602001851015612026575f80fd5b816020850160208301375f918101602001919091529392505050565b5f60208284031215612052575f80fd5b81356001600160401b03811115612067575f80fd5b611f1c84828501611fb9565b5f805f60608486031215612085575f80fd5b833561209081611f24565b925060208401356120a081611f38565b915060408401356120b081611f38565b809150509250925092565b5f80604083850312156120cc575f80fd5b82356120d781611f24565b915060208301356001600160401b038111156120f1575f80fd5b6120fd85828601611fb9565b9150509250929050565b5f60208284031215612117575f80fd5b81356119ff81611f24565b5f60208284031215612132575f80fd5b815162ffffff811681146119ff575f80fd5b5f60208284031215612154575f80fd5b81516119ff81611f38565b600181811c9082168061217357607f821691505b60208210810361219157634e487b7160e01b5f52602260045260245ffd5b50919050565b805180151581146121a6575f80fd5b919050565b5f602082840312156121bb575f80fd5b6119ff82612197565b6001600160401b0381168114611b07575f80fd5b5f602082840312156121e8575f80fd5b81516119ff816121c4565b5f60208284031215612203575f80fd5b815160ff811681146119ff575f80fd5b5f60208284031215612223575f80fd5b81516119ff81611f24565b5f808585111561223c575f80fd5b83861115612248575f80fd5b5050820193919092039150565b80356001600160e01b03198116906004841015612286576001600160e01b0319600485900360031b81901b82161691505b5092915050565b6001600160a01b03841681526040602082018190528101829052818360608301375f818301606090810191909152601f909201601f1916010192915050565b5f80604083850312156122dd575f80fd5b82516122e881611f24565b60208401519092506122f981611f24565b809150509250929050565b5f82518060208501845e5f920191825250919050565b5f806040838503121561232b575f80fd5b61233483612197565b9150602083015163ffffffff811681146122f9575f80fd5b601f82111561096657805f5260205f20601f840160051c810160208510156123715750805b601f840160051c820191505b81811015612390575f815560010161237d565b5050505050565b81516001600160401b038111156123b0576123b0611fa5565b6123c4816123be845461215f565b8461234c565b6020601f8211600181146123f6575f83156123df5750848201515b5f19600385901b1c1916600184901b178455612390565b5f84815260208120601f198516915b828110156124255787850151825560209485019460019092019101612405565b508482101561244257868401515f19600387901b60f8161c191681555b50505050600190811b0190555056fe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00f0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00a2646970667358221220d312c243dc9f851f96f5c9340d0cf981e887f6d647d3a1a4c5178268e99a6dc964736f6c634300081a0033",
843
895
  "linkReferences": {
844
896
  "contracts/shared/ContractLib.sol": {
845
897
  "ContractLib": [
846
898
  {
847
899
  "length": 20,
848
- "start": 6813
900
+ "start": 7190
849
901
  },
850
902
  {
851
903
  "length": 20,
852
- "start": 7450
904
+ "start": 7787
853
905
  }
854
906
  ]
855
907
  },
@@ -857,31 +909,31 @@
857
909
  "AmountLib": [
858
910
  {
859
911
  "length": 20,
860
- "start": 2478
912
+ "start": 2509
861
913
  },
862
914
  {
863
915
  "length": 20,
864
- "start": 2895
916
+ "start": 2926
865
917
  },
866
918
  {
867
919
  "length": 20,
868
- "start": 4242
920
+ "start": 4494
869
921
  },
870
922
  {
871
923
  "length": 20,
872
- "start": 4491
924
+ "start": 4743
873
925
  },
874
926
  {
875
927
  "length": 20,
876
- "start": 4745
928
+ "start": 4997
877
929
  },
878
930
  {
879
931
  "length": 20,
880
- "start": 4994
932
+ "start": 5246
881
933
  },
882
934
  {
883
935
  "length": 20,
884
- "start": 6407
936
+ "start": 6777
885
937
  }
886
938
  ]
887
939
  },
@@ -889,15 +941,23 @@
889
941
  "NftIdLib": [
890
942
  {
891
943
  "length": 20,
892
- "start": 1587
944
+ "start": 1618
893
945
  },
894
946
  {
895
947
  "length": 20,
896
- "start": 3352
948
+ "start": 3470
897
949
  },
898
950
  {
899
951
  "length": 20,
900
- "start": 5263
952
+ "start": 5515
953
+ }
954
+ ]
955
+ },
956
+ "contracts/type/ObjectType.sol": {
957
+ "ObjectTypeLib": [
958
+ {
959
+ "length": 20,
960
+ "start": 4161
901
961
  }
902
962
  ]
903
963
  },
@@ -905,7 +965,7 @@
905
965
  "RoleIdLib": [
906
966
  {
907
967
  "length": 20,
908
- "start": 2967
968
+ "start": 2998
909
969
  }
910
970
  ]
911
971
  },
@@ -913,11 +973,11 @@
913
973
  "VersionLib": [
914
974
  {
915
975
  "length": 20,
916
- "start": 1406
976
+ "start": 1418
917
977
  },
918
978
  {
919
979
  "length": 20,
920
- "start": 2133
980
+ "start": 2164
921
981
  }
922
982
  ]
923
983
  }
@@ -927,11 +987,11 @@
927
987
  "ContractLib": [
928
988
  {
929
989
  "length": 20,
930
- "start": 6599
990
+ "start": 6976
931
991
  },
932
992
  {
933
993
  "length": 20,
934
- "start": 7236
994
+ "start": 7573
935
995
  }
936
996
  ]
937
997
  },
@@ -939,31 +999,31 @@
939
999
  "AmountLib": [
940
1000
  {
941
1001
  "length": 20,
942
- "start": 2264
1002
+ "start": 2295
943
1003
  },
944
1004
  {
945
1005
  "length": 20,
946
- "start": 2681
1006
+ "start": 2712
947
1007
  },
948
1008
  {
949
1009
  "length": 20,
950
- "start": 4028
1010
+ "start": 4280
951
1011
  },
952
1012
  {
953
1013
  "length": 20,
954
- "start": 4277
1014
+ "start": 4529
955
1015
  },
956
1016
  {
957
1017
  "length": 20,
958
- "start": 4531
1018
+ "start": 4783
959
1019
  },
960
1020
  {
961
1021
  "length": 20,
962
- "start": 4780
1022
+ "start": 5032
963
1023
  },
964
1024
  {
965
1025
  "length": 20,
966
- "start": 6193
1026
+ "start": 6563
967
1027
  }
968
1028
  ]
969
1029
  },
@@ -971,15 +1031,23 @@
971
1031
  "NftIdLib": [
972
1032
  {
973
1033
  "length": 20,
974
- "start": 1373
1034
+ "start": 1404
975
1035
  },
976
1036
  {
977
1037
  "length": 20,
978
- "start": 3138
1038
+ "start": 3256
979
1039
  },
980
1040
  {
981
1041
  "length": 20,
982
- "start": 5049
1042
+ "start": 5301
1043
+ }
1044
+ ]
1045
+ },
1046
+ "contracts/type/ObjectType.sol": {
1047
+ "ObjectTypeLib": [
1048
+ {
1049
+ "length": 20,
1050
+ "start": 3947
983
1051
  }
984
1052
  ]
985
1053
  },
@@ -987,7 +1055,7 @@
987
1055
  "RoleIdLib": [
988
1056
  {
989
1057
  "length": 20,
990
- "start": 2753
1058
+ "start": 2784
991
1059
  }
992
1060
  ]
993
1061
  },
@@ -995,11 +1063,11 @@
995
1063
  "VersionLib": [
996
1064
  {
997
1065
  "length": 20,
998
- "start": 1192
1066
+ "start": 1204
999
1067
  },
1000
1068
  {
1001
1069
  "length": 20,
1002
- "start": 1919
1070
+ "start": 1950
1003
1071
  }
1004
1072
  ]
1005
1073
  }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../build-info/fe6349146d06341fb21f060b157460cc.json"
3
+ "buildInfo": "../../../build-info/8b432be61b97da527635e48878c086a2.json"
4
4
  }