@etherisc/gif-next 0.0.2-de7c770-422 → 0.0.2-de9ede4-391

Sign up to get free protection for your applications and to get access to all the features.
Files changed (472) hide show
  1. package/README.md +28 -7
  2. package/artifacts/contracts/accounting/AccountingService.sol/AccountingService.dbg.json +4 -0
  3. package/artifacts/contracts/accounting/AccountingService.sol/AccountingService.json +1000 -0
  4. package/artifacts/contracts/accounting/AccountingServiceManager.sol/AccountingServiceManager.dbg.json +4 -0
  5. package/artifacts/contracts/accounting/AccountingServiceManager.sol/AccountingServiceManager.json +746 -0
  6. package/artifacts/contracts/accounting/IAccountingService.sol/IAccountingService.dbg.json +4 -0
  7. package/artifacts/contracts/accounting/IAccountingService.sol/IAccountingService.json +767 -0
  8. package/artifacts/contracts/authorization/AccessAdmin.sol/AccessAdmin.dbg.json +1 -1
  9. package/artifacts/contracts/authorization/AccessAdmin.sol/AccessAdmin.json +103 -63
  10. package/artifacts/contracts/authorization/AccessAdmin.sol/IAccessManagedChecker.dbg.json +4 -0
  11. package/artifacts/contracts/authorization/AccessAdmin.sol/IAccessManagedChecker.json +24 -0
  12. package/artifacts/contracts/authorization/AccessManagerCloneable.sol/AccessManagerCloneable.dbg.json +1 -1
  13. package/artifacts/contracts/authorization/Authorization.sol/Authorization.dbg.json +1 -1
  14. package/artifacts/contracts/authorization/Authorization.sol/Authorization.json +67 -11
  15. package/artifacts/contracts/authorization/IAccess.sol/IAccess.dbg.json +1 -1
  16. package/artifacts/contracts/authorization/IAccessAdmin.sol/IAccessAdmin.dbg.json +1 -1
  17. package/artifacts/contracts/authorization/IAccessAdmin.sol/IAccessAdmin.json +60 -32
  18. package/artifacts/contracts/authorization/IAuthorization.sol/IAuthorization.dbg.json +1 -1
  19. package/artifacts/contracts/authorization/IAuthorization.sol/IAuthorization.json +40 -3
  20. package/artifacts/contracts/authorization/IServiceAuthorization.sol/IServiceAuthorization.dbg.json +1 -1
  21. package/artifacts/contracts/authorization/IServiceAuthorization.sol/IServiceAuthorization.json +19 -0
  22. package/artifacts/contracts/authorization/ReleaseAccessManager.sol/ReleaseAccessManager.dbg.json +4 -0
  23. package/artifacts/contracts/authorization/ReleaseAccessManager.sol/ReleaseAccessManager.json +1196 -0
  24. package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.dbg.json +1 -1
  25. package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.json +68 -5
  26. package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.dbg.json +1 -1
  27. package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.json +159 -209
  28. package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.dbg.json +1 -1
  29. package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.json +82 -22
  30. package/artifacts/contracts/distribution/Distribution.sol/Distribution.dbg.json +1 -1
  31. package/artifacts/contracts/distribution/Distribution.sol/Distribution.json +99 -125
  32. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.dbg.json +1 -1
  33. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.json +180 -86
  34. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +1 -1
  35. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.json +139 -64
  36. package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.dbg.json +1 -1
  37. package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.json +87 -108
  38. package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.dbg.json +1 -1
  39. package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.json +52 -0
  40. package/artifacts/contracts/examples/fire/DamageLevel.sol/DamageLevelLib.dbg.json +4 -0
  41. package/artifacts/contracts/examples/fire/DamageLevel.sol/DamageLevelLib.json +22 -0
  42. package/artifacts/contracts/examples/fire/FirePool.sol/FirePool.dbg.json +4 -0
  43. package/artifacts/contracts/examples/fire/FirePool.sol/FirePool.json +1441 -0
  44. package/artifacts/contracts/examples/fire/FirePoolAuthorization.sol/FirePoolAuthorization.dbg.json +4 -0
  45. package/artifacts/contracts/examples/fire/FirePoolAuthorization.sol/FirePoolAuthorization.json +502 -0
  46. package/artifacts/contracts/examples/fire/FireProduct.sol/FireProduct.dbg.json +4 -0
  47. package/artifacts/contracts/examples/fire/FireProduct.sol/FireProduct.json +1991 -0
  48. package/artifacts/contracts/examples/fire/FireProductAuthorization.sol/FireProductAuthorization.dbg.json +4 -0
  49. package/artifacts/contracts/examples/fire/FireProductAuthorization.sol/FireProductAuthorization.json +470 -0
  50. package/artifacts/contracts/examples/fire/FireUSD.sol/FireUSD.dbg.json +4 -0
  51. package/artifacts/contracts/examples/fire/FireUSD.sol/FireUSD.json +376 -0
  52. package/artifacts/contracts/examples/unpermissioned/SimpleDistribution.sol/SimpleDistribution.dbg.json +1 -1
  53. package/artifacts/contracts/examples/unpermissioned/SimpleDistribution.sol/SimpleDistribution.json +187 -169
  54. package/artifacts/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol/SimpleDistributionAuthorization.dbg.json +4 -0
  55. package/artifacts/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol/SimpleDistributionAuthorization.json +470 -0
  56. package/artifacts/contracts/examples/unpermissioned/SimpleOracle.sol/SimpleOracle.dbg.json +1 -1
  57. package/artifacts/contracts/examples/unpermissioned/SimpleOracle.sol/SimpleOracle.json +131 -157
  58. package/artifacts/contracts/examples/unpermissioned/SimplePool.sol/SimplePool.dbg.json +1 -1
  59. package/artifacts/contracts/examples/unpermissioned/SimplePool.sol/SimplePool.json +282 -194
  60. package/artifacts/contracts/examples/unpermissioned/SimplePoolAuthorization.sol/SimplePoolAuthorization.dbg.json +4 -0
  61. package/artifacts/contracts/examples/unpermissioned/SimplePoolAuthorization.sol/SimplePoolAuthorization.json +502 -0
  62. package/artifacts/contracts/examples/unpermissioned/SimpleProduct.sol/SimpleProduct.dbg.json +1 -1
  63. package/artifacts/contracts/examples/unpermissioned/SimpleProduct.sol/SimpleProduct.json +564 -249
  64. package/artifacts/contracts/examples/unpermissioned/SimpleProductAuthorization.sol/SimpleProductAuthorization.dbg.json +4 -0
  65. package/artifacts/contracts/examples/unpermissioned/SimpleProductAuthorization.sol/SimpleProductAuthorization.json +470 -0
  66. package/artifacts/contracts/instance/BundleSet.sol/BundleSet.dbg.json +1 -1
  67. package/artifacts/contracts/instance/BundleSet.sol/BundleSet.json +147 -42
  68. package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
  69. package/artifacts/contracts/instance/IInstance.sol/IInstance.json +116 -48
  70. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +1 -1
  71. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +53 -101
  72. package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
  73. package/artifacts/contracts/instance/Instance.sol/Instance.json +149 -60
  74. package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.dbg.json +1 -1
  75. package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.json +196 -138
  76. package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.dbg.json +1 -1
  77. package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.json +58 -85
  78. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +1 -1
  79. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +687 -84
  80. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +1 -1
  81. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +118 -148
  82. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +1 -1
  83. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +107 -44
  84. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.dbg.json +1 -1
  85. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.json +475 -116
  86. package/artifacts/contracts/instance/RiskSet.sol/RiskSet.dbg.json +4 -0
  87. package/artifacts/contracts/instance/RiskSet.sol/RiskSet.json +810 -0
  88. package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.dbg.json +1 -1
  89. package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.json +2 -2
  90. package/artifacts/contracts/instance/base/Cloneable.sol/Cloneable.dbg.json +1 -1
  91. package/artifacts/contracts/instance/base/ObjectCounter.sol/ObjectCounter.dbg.json +1 -1
  92. package/artifacts/contracts/instance/base/ObjectCounter.sol/ObjectCounter.json +2 -2
  93. package/artifacts/contracts/instance/base/ObjectLifecycle.sol/ObjectLifecycle.dbg.json +1 -1
  94. package/artifacts/contracts/instance/base/ObjectLifecycle.sol/ObjectLifecycle.json +46 -5
  95. package/artifacts/contracts/instance/base/ObjectSet.sol/ObjectSet.dbg.json +1 -1
  96. package/artifacts/contracts/instance/base/ObjectSet.sol/ObjectSet.json +2 -2
  97. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.dbg.json +1 -1
  98. package/artifacts/contracts/instance/module/IBundle.sol/IBundle.dbg.json +1 -1
  99. package/artifacts/contracts/instance/module/IComponents.sol/IComponents.dbg.json +1 -1
  100. package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.dbg.json +1 -1
  101. package/artifacts/contracts/instance/module/IPolicy.sol/IPolicy.dbg.json +1 -1
  102. package/artifacts/contracts/instance/module/IRisk.sol/IRisk.dbg.json +1 -1
  103. package/artifacts/contracts/mock/Dip.sol/Dip.dbg.json +1 -1
  104. package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.dbg.json +1 -1
  105. package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.json +119 -169
  106. package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.dbg.json +1 -1
  107. package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.json +84 -24
  108. package/artifacts/contracts/oracle/IOracle.sol/IOracle.dbg.json +1 -1
  109. package/artifacts/contracts/oracle/IOracleComponent.sol/IOracleComponent.dbg.json +1 -1
  110. package/artifacts/contracts/oracle/IOracleComponent.sol/IOracleComponent.json +82 -103
  111. package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.dbg.json +1 -1
  112. package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.json +43 -9
  113. package/artifacts/contracts/oracle/Oracle.sol/Oracle.dbg.json +1 -1
  114. package/artifacts/contracts/oracle/Oracle.sol/Oracle.json +95 -121
  115. package/artifacts/contracts/oracle/OracleService.sol/OracleService.dbg.json +1 -1
  116. package/artifacts/contracts/oracle/OracleService.sol/OracleService.json +147 -79
  117. package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.dbg.json +1 -1
  118. package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.json +127 -40
  119. package/artifacts/contracts/pool/BasicPool.sol/BasicPool.dbg.json +1 -1
  120. package/artifacts/contracts/pool/BasicPool.sol/BasicPool.json +115 -141
  121. package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.dbg.json +1 -1
  122. package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.json +114 -22
  123. package/artifacts/contracts/pool/BundleService.sol/BundleService.dbg.json +1 -1
  124. package/artifacts/contracts/pool/BundleService.sol/BundleService.json +148 -150
  125. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.dbg.json +1 -1
  126. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.json +121 -70
  127. package/artifacts/contracts/pool/IBundleService.sol/IBundleService.dbg.json +1 -1
  128. package/artifacts/contracts/pool/IBundleService.sol/IBundleService.json +48 -33
  129. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.dbg.json +1 -1
  130. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.json +102 -134
  131. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.dbg.json +1 -1
  132. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.json +272 -185
  133. package/artifacts/contracts/pool/Pool.sol/Pool.dbg.json +1 -1
  134. package/artifacts/contracts/pool/Pool.sol/Pool.json +115 -152
  135. package/artifacts/contracts/pool/PoolService.sol/PoolService.dbg.json +1 -1
  136. package/artifacts/contracts/pool/PoolService.sol/PoolService.json +413 -263
  137. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.dbg.json +1 -1
  138. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.json +144 -45
  139. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.dbg.json +1 -1
  140. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.json +119 -45
  141. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +1 -1
  142. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.json +103 -40
  143. package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.dbg.json +1 -1
  144. package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.json +158 -138
  145. package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.dbg.json +1 -1
  146. package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.json +82 -22
  147. package/artifacts/contracts/product/ClaimService.sol/ClaimService.dbg.json +1 -1
  148. package/artifacts/contracts/product/ClaimService.sol/ClaimService.json +200 -86
  149. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +1 -1
  150. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.json +144 -61
  151. package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.dbg.json +1 -1
  152. package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.json +63 -7
  153. package/artifacts/contracts/product/IClaimService.sol/IClaimService.dbg.json +1 -1
  154. package/artifacts/contracts/product/IClaimService.sol/IClaimService.json +64 -8
  155. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.dbg.json +1 -1
  156. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.json +178 -19
  157. package/artifacts/contracts/product/IPricingService.sol/IPricingService.dbg.json +1 -1
  158. package/artifacts/contracts/product/IPricingService.sol/IPricingService.json +80 -51
  159. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.dbg.json +1 -1
  160. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.json +141 -116
  161. package/artifacts/contracts/product/IRiskService.sol/IRiskService.dbg.json +1 -1
  162. package/artifacts/contracts/product/IRiskService.sol/IRiskService.json +29 -0
  163. package/artifacts/contracts/product/PolicyService.sol/PolicyService.dbg.json +1 -1
  164. package/artifacts/contracts/product/PolicyService.sol/PolicyService.json +328 -119
  165. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +1 -1
  166. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.json +150 -55
  167. package/artifacts/contracts/product/PricingService.sol/PricingService.dbg.json +1 -1
  168. package/artifacts/contracts/product/PricingService.sol/PricingService.json +170 -107
  169. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.dbg.json +1 -1
  170. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.json +119 -48
  171. package/artifacts/contracts/product/Product.sol/Product.dbg.json +1 -1
  172. package/artifacts/contracts/product/Product.sol/Product.json +154 -134
  173. package/artifacts/contracts/product/RiskService.sol/RiskService.dbg.json +1 -1
  174. package/artifacts/contracts/product/RiskService.sol/RiskService.json +81 -26
  175. package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.dbg.json +1 -1
  176. package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.json +101 -34
  177. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
  178. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +2 -2
  179. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
  180. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +91 -15
  181. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +1 -1
  182. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +114 -35
  183. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +1 -1
  184. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.json +5 -18
  185. package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
  186. package/artifacts/contracts/registry/Registry.sol/Registry.json +135 -51
  187. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.dbg.json +1 -1
  188. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.json +220 -182
  189. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +1 -1
  190. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +94 -172
  191. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +1 -1
  192. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +99 -32
  193. package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.dbg.json +1 -1
  194. package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.json +47 -6
  195. package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.dbg.json +1 -1
  196. package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.json +123 -225
  197. package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.dbg.json +1 -1
  198. package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.json +66 -8
  199. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +1 -1
  200. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +2 -2
  201. package/artifacts/contracts/shared/Component.sol/Component.dbg.json +1 -1
  202. package/artifacts/contracts/shared/Component.sol/Component.json +72 -80
  203. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.dbg.json +1 -1
  204. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.json +483 -477
  205. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.dbg.json +1 -1
  206. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.json +141 -76
  207. package/artifacts/contracts/shared/ComponentVerifyingService.sol/ComponentVerifyingService.dbg.json +1 -1
  208. package/artifacts/contracts/shared/ComponentVerifyingService.sol/ComponentVerifyingService.json +47 -0
  209. package/artifacts/contracts/shared/ContractLib.sol/ContractLib.dbg.json +4 -0
  210. package/artifacts/contracts/shared/ContractLib.sol/ContractLib.json +488 -0
  211. package/artifacts/contracts/shared/ContractLib.sol/IInstanceAdminHelper.dbg.json +4 -0
  212. package/artifacts/contracts/shared/ContractLib.sol/IInstanceAdminHelper.json +24 -0
  213. package/artifacts/contracts/shared/ContractLib.sol/ITargetHelper.dbg.json +4 -0
  214. package/artifacts/contracts/shared/ContractLib.sol/ITargetHelper.json +30 -0
  215. package/artifacts/contracts/shared/IComponent.sol/IComponent.dbg.json +1 -1
  216. package/artifacts/contracts/shared/IComponent.sol/IComponent.json +61 -64
  217. package/artifacts/contracts/shared/IComponentService.sol/IComponentService.dbg.json +1 -1
  218. package/artifacts/contracts/shared/IComponentService.sol/IComponentService.json +425 -261
  219. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.dbg.json +1 -1
  220. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.json +82 -103
  221. package/artifacts/contracts/shared/IKeyValueStore.sol/IKeyValueStore.dbg.json +1 -1
  222. package/artifacts/contracts/shared/IKeyValueStore.sol/IKeyValueStore.json +36 -0
  223. package/artifacts/contracts/shared/ILifecycle.sol/ILifecycle.dbg.json +1 -1
  224. package/artifacts/contracts/shared/ILifecycle.sol/ILifecycle.json +36 -0
  225. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +1 -1
  226. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.json +16 -0
  227. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.dbg.json +1 -1
  228. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.json +16 -6
  229. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
  230. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +29 -0
  231. package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.dbg.json +1 -1
  232. package/artifacts/contracts/shared/IService.sol/IService.dbg.json +1 -1
  233. package/artifacts/contracts/shared/IService.sol/IService.json +29 -0
  234. package/artifacts/contracts/shared/InitializableERC165.sol/InitializableERC165.dbg.json +1 -1
  235. package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.dbg.json +1 -1
  236. package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.json +94 -120
  237. package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.dbg.json +1 -1
  238. package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.json +42 -1
  239. package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.dbg.json +1 -1
  240. package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.json +42 -1
  241. package/artifacts/contracts/shared/NftIdSet.sol/NftIdSet.dbg.json +1 -1
  242. package/artifacts/contracts/shared/NftIdSet.sol/NftIdSet.json +2 -2
  243. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +1 -1
  244. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +18 -2
  245. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.dbg.json +1 -1
  246. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.json +18 -8
  247. package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
  248. package/artifacts/contracts/shared/Registerable.sol/Registerable.json +66 -8
  249. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.dbg.json +1 -1
  250. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.json +2 -2
  251. package/artifacts/contracts/shared/Service.sol/Service.dbg.json +1 -1
  252. package/artifacts/contracts/shared/Service.sol/Service.json +47 -0
  253. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +1 -1
  254. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +388 -35
  255. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandlerBase.dbg.json +4 -0
  256. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandlerBase.json +395 -0
  257. package/artifacts/contracts/shared/TokenHandlerDeployerLib.sol/TokenHandlerDeployerLib.dbg.json +1 -1
  258. package/artifacts/contracts/shared/TokenHandlerDeployerLib.sol/TokenHandlerDeployerLib.json +88 -24
  259. package/artifacts/contracts/staking/IStaking.sol/IStaking.dbg.json +1 -1
  260. package/artifacts/contracts/staking/IStaking.sol/IStaking.json +79 -100
  261. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.dbg.json +1 -1
  262. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.json +29 -21
  263. package/artifacts/contracts/staking/StakeManagerLib.sol/StakeManagerLib.dbg.json +1 -1
  264. package/artifacts/contracts/staking/StakeManagerLib.sol/StakeManagerLib.json +3 -3
  265. package/artifacts/contracts/staking/Staking.sol/Staking.dbg.json +1 -1
  266. package/artifacts/contracts/staking/Staking.sol/Staking.json +158 -170
  267. package/artifacts/contracts/staking/StakingLifecycle.sol/StakingLifecycle.dbg.json +1 -1
  268. package/artifacts/contracts/staking/StakingLifecycle.sol/StakingLifecycle.json +46 -5
  269. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.dbg.json +1 -1
  270. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.json +120 -54
  271. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.dbg.json +1 -1
  272. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.json +7 -12
  273. package/artifacts/contracts/staking/StakingService.sol/StakingService.dbg.json +1 -1
  274. package/artifacts/contracts/staking/StakingService.sol/StakingService.json +87 -53
  275. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.dbg.json +1 -1
  276. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.json +103 -36
  277. package/artifacts/contracts/staking/StakingStore.sol/StakingStore.dbg.json +1 -1
  278. package/artifacts/contracts/staking/StakingStore.sol/StakingStore.json +145 -104
  279. package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.dbg.json +1 -1
  280. package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.json +3 -3
  281. package/artifacts/contracts/type/AddressSet.sol/LibAddressSet.dbg.json +1 -1
  282. package/artifacts/contracts/type/Amount.sol/AmountLib.dbg.json +1 -1
  283. package/artifacts/contracts/type/Amount.sol/AmountLib.json +33 -9
  284. package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.dbg.json +1 -1
  285. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.dbg.json +1 -1
  286. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.json +28 -4
  287. package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.dbg.json +1 -1
  288. package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.json +2 -2
  289. package/artifacts/contracts/type/Fee.sol/FeeLib.dbg.json +1 -1
  290. package/artifacts/contracts/type/Fee.sol/FeeLib.json +3 -3
  291. package/artifacts/contracts/type/Key32.sol/Key32Lib.dbg.json +1 -1
  292. package/artifacts/contracts/type/Key32.sol/Key32Lib.json +2 -2
  293. package/artifacts/contracts/type/Key32Set.sol/LibKey32Set.dbg.json +4 -0
  294. package/artifacts/contracts/type/Key32Set.sol/LibKey32Set.json +33 -0
  295. package/artifacts/contracts/type/NftId.sol/NftIdLib.dbg.json +1 -1
  296. package/artifacts/contracts/type/NftId.sol/NftIdLib.json +23 -4
  297. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.dbg.json +1 -1
  298. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.json +2 -2
  299. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.dbg.json +1 -1
  300. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.json +2 -2
  301. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.dbg.json +1 -1
  302. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.json +19 -19
  303. package/artifacts/contracts/type/Referral.sol/ReferralLib.dbg.json +1 -1
  304. package/artifacts/contracts/type/Referral.sol/ReferralLib.json +2 -2
  305. package/artifacts/contracts/type/RequestId.sol/RequestIdLib.dbg.json +1 -1
  306. package/artifacts/contracts/type/RequestId.sol/RequestIdLib.json +2 -2
  307. package/artifacts/contracts/type/RiskId.sol/RiskIdLib.dbg.json +1 -1
  308. package/artifacts/contracts/type/RiskId.sol/RiskIdLib.json +99 -5
  309. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.dbg.json +1 -1
  310. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.json +2 -2
  311. package/artifacts/contracts/type/Seconds.sol/SecondsLib.dbg.json +1 -1
  312. package/artifacts/contracts/type/Selector.sol/SelectorLib.dbg.json +1 -1
  313. package/artifacts/contracts/type/Selector.sol/SelectorSetLib.dbg.json +1 -1
  314. package/artifacts/contracts/type/StateId.sol/StateIdLib.dbg.json +1 -1
  315. package/artifacts/contracts/type/StateId.sol/StateIdLib.json +15 -2
  316. package/artifacts/contracts/type/String.sol/StrLib.dbg.json +1 -1
  317. package/artifacts/contracts/type/Timestamp.sol/TimestampLib.dbg.json +1 -1
  318. package/artifacts/contracts/type/UFixed.sol/UFixedLib.dbg.json +1 -1
  319. package/artifacts/contracts/type/UFixed.sol/UFixedLib.json +16 -3
  320. package/artifacts/contracts/type/Version.sol/VersionLib.dbg.json +1 -1
  321. package/artifacts/contracts/type/Version.sol/VersionPartLib.dbg.json +1 -1
  322. package/artifacts/contracts/upgradeability/IVersionable.sol/IVersionable.dbg.json +1 -1
  323. package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.dbg.json +1 -1
  324. package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.json +79 -27
  325. package/artifacts/contracts/upgradeability/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +1 -1
  326. package/artifacts/contracts/upgradeability/Versionable.sol/Versionable.dbg.json +1 -1
  327. package/contracts/accounting/AccountingService.sol +263 -0
  328. package/contracts/accounting/AccountingServiceManager.sol +38 -0
  329. package/contracts/accounting/IAccountingService.sol +45 -0
  330. package/contracts/authorization/AccessAdmin.sol +82 -56
  331. package/contracts/authorization/Authorization.sol +111 -39
  332. package/contracts/authorization/IAccess.sol +1 -0
  333. package/contracts/authorization/IAccessAdmin.sol +4 -3
  334. package/contracts/authorization/IAuthorization.sol +13 -7
  335. package/contracts/authorization/IServiceAuthorization.sol +3 -1
  336. package/contracts/authorization/ReleaseAccessManager.sol +38 -0
  337. package/contracts/authorization/ServiceAuthorization.sol +26 -10
  338. package/contracts/distribution/BasicDistribution.sol +8 -7
  339. package/contracts/distribution/BasicDistributionAuthorization.sol +1 -1
  340. package/contracts/distribution/Distribution.sol +32 -40
  341. package/contracts/distribution/DistributionService.sol +86 -65
  342. package/contracts/distribution/DistributionServiceManager.sol +6 -6
  343. package/contracts/distribution/IDistributionComponent.sol +1 -1
  344. package/contracts/distribution/IDistributionService.sol +5 -6
  345. package/contracts/examples/fire/DamageLevel.sol +59 -0
  346. package/contracts/examples/fire/FirePool.sol +90 -0
  347. package/contracts/examples/fire/FirePoolAuthorization.sol +35 -0
  348. package/contracts/examples/fire/FireProduct.sol +436 -0
  349. package/contracts/examples/fire/FireProductAuthorization.sol +45 -0
  350. package/contracts/examples/fire/FireUSD.sol +26 -0
  351. package/contracts/examples/unpermissioned/SimpleDistribution.sol +11 -4
  352. package/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol +28 -0
  353. package/contracts/examples/unpermissioned/SimpleOracle.sol +4 -4
  354. package/contracts/examples/unpermissioned/SimplePool.sol +37 -6
  355. package/contracts/examples/unpermissioned/SimplePoolAuthorization.sol +28 -0
  356. package/contracts/examples/unpermissioned/SimpleProduct.sol +24 -23
  357. package/contracts/examples/unpermissioned/SimpleProductAuthorization.sol +28 -0
  358. package/contracts/instance/BundleSet.sol +38 -34
  359. package/contracts/instance/IInstance.sol +11 -3
  360. package/contracts/instance/IInstanceService.sol +7 -29
  361. package/contracts/instance/Instance.sol +36 -26
  362. package/contracts/instance/InstanceAdmin.sol +57 -54
  363. package/contracts/instance/InstanceAuthorizationV3.sol +50 -32
  364. package/contracts/instance/InstanceReader.sol +187 -21
  365. package/contracts/instance/InstanceService.sol +54 -129
  366. package/contracts/instance/InstanceServiceManager.sol +6 -7
  367. package/contracts/instance/InstanceStore.sol +12 -2
  368. package/contracts/instance/RiskSet.sol +119 -0
  369. package/contracts/instance/base/ObjectCounter.sol +1 -2
  370. package/contracts/instance/base/ObjectLifecycle.sol +2 -1
  371. package/contracts/instance/base/ObjectSet.sol +24 -25
  372. package/contracts/instance/module/IComponents.sol +20 -7
  373. package/contracts/instance/module/IPolicy.sol +4 -3
  374. package/contracts/instance/module/IRisk.sol +1 -0
  375. package/contracts/oracle/BasicOracle.sol +0 -1
  376. package/contracts/oracle/IOracleService.sol +2 -1
  377. package/contracts/oracle/Oracle.sol +4 -15
  378. package/contracts/oracle/OracleService.sol +110 -80
  379. package/contracts/oracle/OracleServiceManager.sol +6 -6
  380. package/contracts/pool/BasicPool.sol +33 -24
  381. package/contracts/pool/BasicPoolAuthorization.sol +12 -2
  382. package/contracts/pool/BundleService.sol +74 -87
  383. package/contracts/pool/BundleServiceManager.sol +6 -6
  384. package/contracts/pool/IBundleService.sol +2 -15
  385. package/contracts/pool/IPoolComponent.sol +19 -15
  386. package/contracts/pool/IPoolService.sol +30 -37
  387. package/contracts/pool/Pool.sol +141 -122
  388. package/contracts/pool/PoolService.sol +263 -157
  389. package/contracts/pool/PoolServiceManager.sol +4 -4
  390. package/contracts/product/ApplicationService.sol +31 -20
  391. package/contracts/product/ApplicationServiceManager.sol +4 -4
  392. package/contracts/product/BasicProduct.sol +8 -12
  393. package/contracts/product/BasicProductAuthorization.sol +1 -3
  394. package/contracts/product/ClaimService.sol +233 -106
  395. package/contracts/product/ClaimServiceManager.sol +4 -4
  396. package/contracts/product/IApplicationService.sol +5 -2
  397. package/contracts/product/IClaimService.sol +3 -2
  398. package/contracts/product/IPolicyService.sol +25 -8
  399. package/contracts/product/IPricingService.sol +9 -9
  400. package/contracts/product/IProductComponent.sol +23 -3
  401. package/contracts/product/PolicyService.sol +361 -198
  402. package/contracts/product/PolicyServiceManager.sol +4 -4
  403. package/contracts/product/PricingService.sol +10 -11
  404. package/contracts/product/PricingServiceManager.sol +3 -3
  405. package/contracts/product/Product.sol +76 -74
  406. package/contracts/product/RiskService.sol +16 -6
  407. package/contracts/product/RiskServiceManager.sol +4 -4
  408. package/contracts/registry/ChainNft.sol +10 -11
  409. package/contracts/registry/IRegistry.sol +8 -3
  410. package/contracts/registry/IRegistryService.sol +5 -12
  411. package/contracts/registry/ITransferInterceptor.sol +1 -2
  412. package/contracts/registry/Registry.sol +29 -6
  413. package/contracts/registry/RegistryAdmin.sol +29 -36
  414. package/contracts/registry/RegistryService.sol +33 -44
  415. package/contracts/registry/RegistryServiceManager.sol +2 -2
  416. package/contracts/registry/ReleaseLifecycle.sol +6 -3
  417. package/contracts/registry/ReleaseRegistry.sol +205 -210
  418. package/contracts/registry/ServiceAuthorizationV3.sol +58 -50
  419. package/contracts/shared/Component.sol +56 -105
  420. package/contracts/shared/ComponentService.sol +384 -329
  421. package/contracts/shared/ComponentServiceManager.sol +8 -5
  422. package/contracts/shared/ComponentVerifyingService.sol +27 -16
  423. package/contracts/shared/ContractLib.sol +224 -0
  424. package/contracts/shared/IComponent.sol +6 -14
  425. package/contracts/shared/IComponentService.sol +45 -37
  426. package/contracts/shared/IInstanceLinkedComponent.sol +3 -22
  427. package/contracts/shared/ILifecycle.sol +3 -1
  428. package/contracts/shared/INftOwnable.sol +2 -0
  429. package/contracts/shared/IPolicyHolder.sol +12 -13
  430. package/contracts/shared/IRegisterable.sol +11 -0
  431. package/contracts/shared/InstanceLinkedComponent.sol +68 -43
  432. package/contracts/shared/KeyValueStore.sol +1 -1
  433. package/contracts/shared/Lifecycle.sol +15 -4
  434. package/contracts/shared/NftOwnable.sol +23 -3
  435. package/contracts/shared/PolicyHolder.sol +11 -5
  436. package/contracts/shared/Registerable.sol +15 -7
  437. package/contracts/shared/RegistryLinked.sol +6 -12
  438. package/contracts/shared/Service.sol +16 -14
  439. package/contracts/shared/TokenHandler.sol +316 -66
  440. package/contracts/shared/TokenHandlerDeployerLib.sol +10 -2
  441. package/contracts/staking/IStaking.sol +9 -4
  442. package/contracts/staking/IStakingService.sol +0 -3
  443. package/contracts/staking/Staking.sol +42 -25
  444. package/contracts/staking/StakingManager.sol +8 -6
  445. package/contracts/staking/StakingReader.sol +12 -5
  446. package/contracts/staking/StakingService.sol +56 -23
  447. package/contracts/staking/StakingServiceManager.sol +2 -2
  448. package/contracts/type/Amount.sol +15 -0
  449. package/contracts/type/ClaimId.sol +6 -1
  450. package/contracts/type/Key32.sol +2 -2
  451. package/contracts/type/Key32Set.sol +62 -0
  452. package/contracts/type/NftId.sol +7 -0
  453. package/contracts/type/ObjectType.sol +14 -0
  454. package/contracts/type/PayoutId.sol +10 -10
  455. package/contracts/type/RiskId.sol +30 -4
  456. package/contracts/type/RoleId.sol +0 -12
  457. package/contracts/type/StateId.sol +14 -1
  458. package/contracts/type/UFixed.sol +13 -119
  459. package/contracts/upgradeability/ProxyManager.sol +68 -34
  460. package/contracts/upgradeability/Versionable.sol +2 -2
  461. package/package.json +4 -3
  462. package/artifacts/contracts/authorization/IModuleAuthorization.sol/IModuleAuthorization.dbg.json +0 -4
  463. package/artifacts/contracts/authorization/IModuleAuthorization.sol/IModuleAuthorization.json +0 -290
  464. package/artifacts/contracts/authorization/ModuleAuthorization.sol/ModuleAuthorization.dbg.json +0 -4
  465. package/artifacts/contracts/authorization/ModuleAuthorization.sol/ModuleAuthorization.json +0 -390
  466. package/artifacts/contracts/shared/InitializableCustom.sol/InitializableCustom.dbg.json +0 -4
  467. package/artifacts/contracts/shared/InitializableCustom.sol/InitializableCustom.json +0 -39
  468. package/artifacts/contracts/type/UFixed.sol/MathLib.dbg.json +0 -4
  469. package/artifacts/contracts/type/UFixed.sol/MathLib.json +0 -16
  470. package/contracts/authorization/IModuleAuthorization.sol +0 -21
  471. package/contracts/authorization/ModuleAuthorization.sol +0 -78
  472. package/contracts/shared/InitializableCustom.sol +0 -177
@@ -58,19 +58,18 @@
58
58
  "type": "error"
59
59
  },
60
60
  {
61
- "inputs": [
62
- {
63
- "internalType": "NftId",
64
- "name": "instanceNftId",
65
- "type": "uint96"
66
- }
67
- ],
68
- "name": "ErrorComponentNotInstance",
61
+ "inputs": [],
62
+ "name": "ErrorComponentProductNftIdNonzero",
69
63
  "type": "error"
70
64
  },
71
65
  {
72
66
  "inputs": [],
73
- "name": "ErrorComponentProductNftAlreadySet",
67
+ "name": "ErrorComponentProductNftIdZero",
68
+ "type": "error"
69
+ },
70
+ {
71
+ "inputs": [],
72
+ "name": "ErrorComponentTokenAddressNonzero",
74
73
  "type": "error"
75
74
  },
76
75
  {
@@ -93,6 +92,38 @@
93
92
  "name": "ErrorComponentWalletNotComponent",
94
93
  "type": "error"
95
94
  },
95
+ {
96
+ "inputs": [
97
+ {
98
+ "internalType": "NftId",
99
+ "name": "nftId",
100
+ "type": "uint96"
101
+ },
102
+ {
103
+ "internalType": "ObjectType",
104
+ "name": "objectType",
105
+ "type": "uint8"
106
+ }
107
+ ],
108
+ "name": "ErrorInstanceLinkedComponentNotProduct",
109
+ "type": "error"
110
+ },
111
+ {
112
+ "inputs": [
113
+ {
114
+ "internalType": "ObjectType",
115
+ "name": "requiredType",
116
+ "type": "uint8"
117
+ },
118
+ {
119
+ "internalType": "ObjectType",
120
+ "name": "objectType",
121
+ "type": "uint8"
122
+ }
123
+ ],
124
+ "name": "ErrorInstanceLinkedComponentTypeMismatch",
125
+ "type": "error"
126
+ },
96
127
  {
97
128
  "inputs": [
98
129
  {
@@ -120,6 +151,22 @@
120
151
  "name": "ErrorNftOwnableInitialOwnerZero",
121
152
  "type": "error"
122
153
  },
154
+ {
155
+ "inputs": [
156
+ {
157
+ "internalType": "NftId",
158
+ "name": "nftId",
159
+ "type": "uint96"
160
+ },
161
+ {
162
+ "internalType": "ObjectType",
163
+ "name": "expectedObjectType",
164
+ "type": "uint8"
165
+ }
166
+ ],
167
+ "name": "ErrorNftOwnableInvalidType",
168
+ "type": "error"
169
+ },
123
170
  {
124
171
  "inputs": [
125
172
  {
@@ -192,6 +239,12 @@
192
239
  {
193
240
  "anonymous": false,
194
241
  "inputs": [
242
+ {
243
+ "indexed": false,
244
+ "internalType": "address",
245
+ "name": "tokenHandler",
246
+ "type": "address"
247
+ },
195
248
  {
196
249
  "indexed": false,
197
250
  "internalType": "address",
@@ -203,6 +256,12 @@
203
256
  "internalType": "Amount",
204
257
  "name": "limit",
205
258
  "type": "uint96"
259
+ },
260
+ {
261
+ "indexed": false,
262
+ "internalType": "bool",
263
+ "name": "isMaxAmount",
264
+ "type": "bool"
206
265
  }
207
266
  ],
208
267
  "name": "LogComponentTokenHandlerApproved",
@@ -267,12 +326,12 @@
267
326
  },
268
327
  {
269
328
  "inputs": [],
270
- "name": "INSTANCE_LINKED_COMPONENT_LOCATION_V1",
329
+ "name": "GIF_RELEASE",
271
330
  "outputs": [
272
331
  {
273
- "internalType": "bytes32",
332
+ "internalType": "uint256",
274
333
  "name": "",
275
- "type": "bytes32"
334
+ "type": "uint256"
276
335
  }
277
336
  ],
278
337
  "stateMutability": "view",
@@ -280,7 +339,7 @@
280
339
  },
281
340
  {
282
341
  "inputs": [],
283
- "name": "NFT_OWNABLE_STORAGE_LOCATION_V1",
342
+ "name": "INSTANCE_LINKED_COMPONENT_LOCATION_V1",
284
343
  "outputs": [
285
344
  {
286
345
  "internalType": "bytes32",
@@ -293,7 +352,7 @@
293
352
  },
294
353
  {
295
354
  "inputs": [],
296
- "name": "ORACLE_STORAGE_LOCATION_V1",
355
+ "name": "NFT_OWNABLE_STORAGE_LOCATION_V1",
297
356
  "outputs": [
298
357
  {
299
358
  "internalType": "bytes32",
@@ -306,7 +365,7 @@
306
365
  },
307
366
  {
308
367
  "inputs": [],
309
- "name": "REGISTERABLE_LOCATION_V1",
368
+ "name": "ORACLE_STORAGE_LOCATION_V1",
310
369
  "outputs": [
311
370
  {
312
371
  "internalType": "bytes32",
@@ -318,34 +377,16 @@
318
377
  "type": "function"
319
378
  },
320
379
  {
321
- "inputs": [
322
- {
323
- "internalType": "address",
324
- "name": "token",
325
- "type": "address"
326
- },
327
- {
328
- "internalType": "Amount",
329
- "name": "spendingLimitAmount",
330
- "type": "uint96"
331
- }
332
- ],
333
- "name": "approveTokenHandler",
334
- "outputs": [],
335
- "stateMutability": "nonpayable",
336
- "type": "function"
337
- },
338
- {
339
- "inputs": [
380
+ "inputs": [],
381
+ "name": "REGISTERABLE_LOCATION_V1",
382
+ "outputs": [
340
383
  {
341
- "internalType": "Amount",
342
- "name": "spendingLimitAmount",
343
- "type": "uint96"
384
+ "internalType": "bytes32",
385
+ "name": "",
386
+ "type": "bytes32"
344
387
  }
345
388
  ],
346
- "name": "approveTokenHandler",
347
- "outputs": [],
348
- "stateMutability": "nonpayable",
389
+ "stateMutability": "view",
349
390
  "type": "function"
350
391
  },
351
392
  {
@@ -398,11 +439,6 @@
398
439
  "name": "name",
399
440
  "type": "string"
400
441
  },
401
- {
402
- "internalType": "NftId",
403
- "name": "productNftId",
404
- "type": "uint96"
405
- },
406
442
  {
407
443
  "internalType": "contract IERC20Metadata",
408
444
  "name": "token",
@@ -413,11 +449,6 @@
413
449
  "name": "tokenHandler",
414
450
  "type": "address"
415
451
  },
416
- {
417
- "internalType": "address",
418
- "name": "wallet",
419
- "type": "address"
420
- },
421
452
  {
422
453
  "internalType": "bytes",
423
454
  "name": "data",
@@ -443,11 +474,6 @@
443
474
  "name": "name",
444
475
  "type": "string"
445
476
  },
446
- {
447
- "internalType": "NftId",
448
- "name": "productNftId",
449
- "type": "uint96"
450
- },
451
477
  {
452
478
  "internalType": "contract IERC20Metadata",
453
479
  "name": "token",
@@ -458,11 +484,6 @@
458
484
  "name": "tokenHandler",
459
485
  "type": "address"
460
486
  },
461
- {
462
- "internalType": "address",
463
- "name": "wallet",
464
- "type": "address"
465
- },
466
487
  {
467
488
  "internalType": "bytes",
468
489
  "name": "data",
@@ -581,12 +602,12 @@
581
602
  },
582
603
  {
583
604
  "inputs": [],
584
- "name": "getProductNftId",
605
+ "name": "getRegistry",
585
606
  "outputs": [
586
607
  {
587
- "internalType": "NftId",
588
- "name": "productNftId",
589
- "type": "uint96"
608
+ "internalType": "contract IRegistry",
609
+ "name": "",
610
+ "type": "address"
590
611
  }
591
612
  ],
592
613
  "stateMutability": "view",
@@ -594,15 +615,15 @@
594
615
  },
595
616
  {
596
617
  "inputs": [],
597
- "name": "getRegistry",
618
+ "name": "getRelease",
598
619
  "outputs": [
599
620
  {
600
- "internalType": "contract IRegistry",
601
- "name": "",
602
- "type": "address"
621
+ "internalType": "VersionPart",
622
+ "name": "release",
623
+ "type": "uint8"
603
624
  }
604
625
  ],
605
- "stateMutability": "view",
626
+ "stateMutability": "pure",
606
627
  "type": "function"
607
628
  },
608
629
  {
@@ -709,31 +730,6 @@
709
730
  "stateMutability": "nonpayable",
710
731
  "type": "function"
711
732
  },
712
- {
713
- "inputs": [],
714
- "name": "lock",
715
- "outputs": [],
716
- "stateMutability": "nonpayable",
717
- "type": "function"
718
- },
719
- {
720
- "inputs": [
721
- {
722
- "internalType": "address",
723
- "name": "to",
724
- "type": "address"
725
- },
726
- {
727
- "internalType": "uint256",
728
- "name": "tokenId",
729
- "type": "uint256"
730
- }
731
- ],
732
- "name": "nftMint",
733
- "outputs": [],
734
- "stateMutability": "nonpayable",
735
- "type": "function"
736
- },
737
733
  {
738
734
  "inputs": [
739
735
  {
@@ -750,6 +746,11 @@
750
746
  "internalType": "uint256",
751
747
  "name": "tokenId",
752
748
  "type": "uint256"
749
+ },
750
+ {
751
+ "internalType": "address",
752
+ "name": "operator",
753
+ "type": "address"
753
754
  }
754
755
  ],
755
756
  "name": "nftTransferFrom",
@@ -757,13 +758,6 @@
757
758
  "stateMutability": "nonpayable",
758
759
  "type": "function"
759
760
  },
760
- {
761
- "inputs": [],
762
- "name": "register",
763
- "outputs": [],
764
- "stateMutability": "nonpayable",
765
- "type": "function"
766
- },
767
761
  {
768
762
  "inputs": [
769
763
  {
@@ -823,19 +817,6 @@
823
817
  "stateMutability": "nonpayable",
824
818
  "type": "function"
825
819
  },
826
- {
827
- "inputs": [
828
- {
829
- "internalType": "address",
830
- "name": "newWallet",
831
- "type": "address"
832
- }
833
- ],
834
- "name": "setWallet",
835
- "outputs": [],
836
- "stateMutability": "nonpayable",
837
- "type": "function"
838
- },
839
820
  {
840
821
  "inputs": [
841
822
  {
@@ -855,13 +836,6 @@
855
836
  "stateMutability": "view",
856
837
  "type": "function"
857
838
  },
858
- {
859
- "inputs": [],
860
- "name": "unlock",
861
- "outputs": [],
862
- "stateMutability": "nonpayable",
863
- "type": "function"
864
- },
865
839
  {
866
840
  "inputs": [
867
841
  {
@@ -882,96 +856,72 @@
882
856
  "type": "function"
883
857
  }
884
858
  ],
885
- "bytecode": "0x6080604052348015600e575f80fd5b506126cd8061001c5f395ff3fe608060405234801561000f575f80fd5b5060043610610228575f3560e01c8063644c45e01161012a578063b423086c116100b4578063de7b5d1411610079578063de7b5d14146104f2578063deaa59df14610522578063e7f7fb8614610535578063ea15869f14610548578063f83d08ba1461056f575f80fd5b8063b423086c146104a9578063bae99c99146104b1578063bb1e0e59146104c4578063bf7e214f146104d7578063cf4ee77a146104df575f80fd5b8063893d20e8116100fa578063893d20e81461044f5780638fb360371461045757806390edbd3514610478578063a69df4b51461048d578063ada9652e14610495575f80fd5b8063644c45e0146103e95780636bd1c0eb146104065780637a9e5e4b1461043657806387ef9ba014610449575f80fd5b80631eff4b22116101b657806343d752d31161017b57806343d752d31461038e5780634bd100e4146103965780634c125e79146103bd5780635741e5e9146103d05780635ab1bd53146103d8575f80fd5b80631eff4b221461030f57806321df0da714610344578063223668441461034c5780632eb3e6f414610354578063419197fe1461037b575f80fd5b806313299604116101fc57806313299604146102b7578063138461e0146102d757806317d7de7c146102df5780631aa3a008146102f45780631c6b2190146102fc575f80fd5b806251884a1461022c57806301ffc9a7146102515780630b29e28e1461028d5780630fec111c146102a2575b5f80fd5b610234610577565b6040516001600160601b0390911681526020015b60405180910390f35b61027d61025f366004611db9565b6001600160e01b0319165f9081526020819052604090205460ff1690565b6040519015158152602001610248565b6102a061029b366004611e0f565b610589565b005b6102aa61059c565b6040516102489190611ee9565b6102bf61075a565b6040516001600160a01b039091168152602001610248565b61023461076c565b6102e761077b565b6040516102489190611f7d565b6102a061078b565b61023461030a366004611f8f565b610846565b6103367f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b604051908152602001610248565b6102bf6108c3565b61027d6108d5565b6103367fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f0081565b6102a0610389366004611fbe565b6109cb565b6102bf610b8b565b6103367faab7c0ea03d290e56d6c060e0733d3ebcbe647f7694616a2ec52738a64b2f90081565b6102a06103cb366004611ff5565b610b9d565b61027d610ba9565b6001546001600160a01b03166102bf565b5f80516020612658833981519152546001600160601b0316610234565b7fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f02546001600160a01b03166102bf565b6102a061044436600461200e565b610c5d565b5f61027d565b6102bf610ce3565b61045f610e14565b6040516001600160e01b03199091168152602001610248565b610480610e49565b6040516102489190612029565b6102a0610e6e565b6103365f8051602061265883398151915281565b610480610ef4565b6102a06104bf366004611f8f565b610f04565b6102a06104d23660046120bc565b610f50565b6102bf610fed565b6102a06104ed36600461219a565b611008565b7fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f00546001600160a01b03166102bf565b6102a061053036600461200e565b61101b565b6102a0610543366004612224565b611291565b6103367fffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f0081565b6102a061132e565b5f610580610e49565b60200151905090565b610595335b5f366113a2565b5050505050565b6040805160e0810182525f8082526020820181905291810182905260608082018390526080820183905260a082019290925260c08101919091525f7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e0016040528073__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af415801561064c573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610670919061226d565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a0016106b8610ce3565b6001600160a01b031681526020018260010180546106d590612288565b80601f016020809104026020016040519081016040528092919081815260200182805461070190612288565b801561074c5780601f106107235761010080835404028352916020019161074c565b820191905f5260205f20905b81548152906001019060200180831161072f57829003601f168201915b505050505081525091505090565b5f610763610e49565b60800151905090565b5f610776306114a0565b905090565b6060610785610e49565b51919050565b610793610ce3565b6001600160a01b0316336001600160a01b0316146107cb5760405163086391f760e31b81523360048201526024015b60405180910390fd5b7faab7c0ea03d290e56d6c060e0733d3ebcbe647f7694616a2ec52738a64b2f9005460408051630339d25960e41b815290516001600160a01b039092169163339d2590916004808201925f9290919082900301818387803b15801561082e575f80fd5b505af1158015610840573d5f803e3d5ffd5b50505050565b5f61084f610ce3565b6001600160a01b0316336001600160a01b0316146108825760405163086391f760e31b81523360048201526024016107c2565b61088b3361058e565b60405163ca49882f60e01b815260206004820152600c60248201526b77697468647261774665657360a01b60448201526064016107c2565b5f6108cc610e49565b60400151905090565b5f6108e86001546001600160a01b031690565b604051632f2a35f760e11b81523060048201526001600160a01b039190911690635e546bee90602401602060405180830381865afa15801561092c573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610950919061226d565b6040516330b8415f60e01b81526001600160601b03909116600482015273__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af41580156109a7573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061077691906122cf565b6109d3610ce3565b6001600160a01b0316336001600160a01b031614610a065760405163086391f760e31b81523360048201526024016107c2565b30610a0f61075a565b6001600160a01b031614610a365760405163b6d7537f60e01b815260040160405180910390fd5b7ff1220014fdb8b69aee438722b1fe13ee4a807811a472467cee162f7b866e704e610a5f610b8b565b604080516001600160a01b0390921682526001600160601b03841660208301520160405180910390a1816001600160a01b031663095ea7b3610a9f610b8b565b60405163046e44af60e11b81526001600160601b038516600482015273__$3bac17678db7ae928afa209f2f44deec9c$__906308dc895e90602401602060405180830381865af4158015610af5573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b1991906122e8565b6040516001600160e01b031960e085901b1681526001600160a01b03909216600483015260248201526044015b6020604051808303815f875af1158015610b62573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b8691906122cf565b505050565b5f610b94610e49565b60600151905090565b610ba63361058e565b50565b5f610bb26108d5565b15610c2d576001546001600160a01b03166040516308b09a5f60e41b81523060048201526001600160a01b039190911690638b09a5f0906024015f60405180830381865afa158015610c06573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052610b949190810190612372565b507fffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f0254600160a01b900460ff1690565b33610c66610fed565b6001600160a01b0316816001600160a01b031614610ca15760405162d1953b60e31b81526001600160a01b03821660048201526024016107c2565b816001600160a01b03163b5f03610cd6576040516361798f2f60e11b81526001600160a01b03831660048201526024016107c2565b610cdf82611699565b5050565b5f805f8051602061265883398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015610d4f573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610d7391906122cf565b15610dfe576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015610dd4573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610df89190612442565b91505090565b54600160601b90046001600160a01b0316919050565b5f8051602061267883398151915280545f9190600160a01b900460ff16610e3b575f610df8565b638fb3603760e01b91505090565b610e51611d63565b610e596108d5565b15610e66576107766116f9565b610776610ef4565b610e76610ce3565b6001600160a01b0316336001600160a01b031614610ea95760405163086391f760e31b81523360048201526024016107c2565b610eb3600a6118df565b60405163581e954760e11b81525f60048201526001600160a01b03919091169063b03d2a8e906024015b5f604051808303815f87803b15801561082e575f80fd5b610efc611d63565b6107766116f9565b610f0c610ce3565b6001600160a01b0316336001600160a01b031614610f3f5760405163086391f760e31b81523360048201526024016107c2565b610ba6610f4a6108c3565b826109cb565b6001546001600160a01b03166001600160a01b031663120726c36040518163ffffffff1660e01b8152600401602060405180830381865afa158015610f97573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610fbb9190612442565b6001600160a01b0316336001600160a01b031614610cdf5760405162f0630960e01b81523360048201526024016107c2565b5f80516020612678833981519152546001600160a01b031690565b6110113361058e565b610cdf82826119fa565b611023610ce3565b6001600160a01b0316336001600160a01b0316146110565760405163086391f760e31b81523360048201526024016107c2565b5f61105f61075a565b90505f61106a6108c3565b6040516370a0823160e01b81526001600160a01b03848116600483015291909116906370a0823190602401602060405180830381865afa1580156110b0573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906110d491906122e8565b90506110df83611a4b565b8015610b8657604080516001600160a01b038085168252851660208201529081018290527f8f925ed35e36754081a3353f30c5686c405280f94d1cfe322ee5707833d898679060600160405180910390a1306001600160a01b0383160361124057611148610b8b565b6001600160a01b03166354f0d84c838573__$3bac17678db7ae928afa209f2f44deec9c$__634c41dd96866040518263ffffffff1660e01b815260040161119191815260200190565b602060405180830381865af41580156111ac573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906111d0919061226d565b6040516001600160e01b031960e086901b1681526001600160a01b0393841660048201529290911660248301526001600160601b031660448201526064015f604051808303815f87803b158015611225575f80fd5b505af1158015611237573d5f803e3d5ffd5b50505050505050565b611248610b8b565b6001600160a01b031663c7d63d57838573__$3bac17678db7ae928afa209f2f44deec9c$__634c41dd96866040518263ffffffff1660e01b815260040161119191815260200190565b6001546001600160a01b03166001600160a01b031663120726c36040518163ffffffff1660e01b8152600401602060405180830381865afa1580156112d8573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906112fc9190612442565b6001600160a01b0316336001600160a01b031614610b865760405162f0630960e01b81523360048201526024016107c2565b611336610ce3565b6001600160a01b0316336001600160a01b0316146113695760405163086391f760e31b81523360048201526024016107c2565b611373600a6118df565b60405163581e954760e11b8152600160048201526001600160a01b03919091169063b03d2a8e90602401610edd565b5f805160206126788339815191525f806113da6113bd610fed565b87306113cc60045f8a8c61245d565b6113d591612484565b611ae4565b91509150816114985763ffffffff81161561147557825460ff60a01b1916600160a01b178355611408610fed565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b8152600401611437939291906124bc565b5f604051808303815f87803b15801561144e575f80fd5b505af1158015611460573d5f803e3d5ffd5b5050845460ff60a01b19168555506114989050565b60405162d1953b60e31b81526001600160a01b03871660048201526024016107c2565b505050505050565b5f805f8051602061265883398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af415801561150c573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061153091906122cf565b1561155c5780546040516301ab8b6760e21b81526001600160601b0390911660048201526024016107c2565b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038581166004830152919091169063c3c5a54790602401602060405180830381865afa1580156115ae573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906115d291906122cf565b6115fa5760405163b9304b0d60e01b81526001600160a01b03841660048201526024016107c2565b6001546001600160a01b0316604051632f2a35f760e11b81526001600160a01b0385811660048301529190911690635e546bee90602401602060405180830381865afa15801561164c573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611670919061226d565b81546bffffffffffffffffffffffff19166001600160601b039190911690811790915592915050565b5f8051602061267883398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b611701611d63565b5f6117146001546001600160a01b031690565b604051632f2a35f760e11b81523060048201526001600160a01b039190911690635e546bee90602401602060405180830381865afa158015611758573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061177c919061226d565b6040516330b8415f60e01b81526001600160601b038216600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af41580156117d5573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906117f991906122cf565b156118d7577fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f01546001600160a01b03166001600160a01b031663f0ea17c36118555f80516020612658833981519152546001600160601b031690565b6040516001600160e01b031960e084901b1681526001600160601b0390911660048201526024015f60405180830381865afa158015611896573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526118bd91908101906124fb565b60808101519092506001600160a01b0316156118d7575090565b610df8611bec565b5f807fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f005460408051633379d27d60e21b815290516001600160a01b039092169163cde749f4916004808201926020929091908290030181865afa158015611948573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061196c91906125d3565b90506119806001546001600160a01b031690565b60405163d39e604360e01b815260ff8086166004830152831660248201526001600160a01b03919091169063d39e604390604401602060405180830381865afa1580156119cf573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906119f39190612442565b9392505050565b7faab7c0ea03d290e56d6c060e0733d3ebcbe647f7694616a2ec52738a64b2f901546040516367a773bd60e11b81526001600160a01b039091169063cf4ee77a90610b4690859085906004016125ee565b611a53610ce3565b6001600160a01b0316336001600160a01b031614611a865760405163086391f760e31b81523360048201526024016107c2565b611a90600b6118df565b60405163deaa59df60e01b81526001600160a01b038381166004830152919091169063deaa59df906024015f604051808303815f87803b158015611ad2575f80fd5b505af1158015610595573d5f803e3d5ffd5b6040516001600160a01b03848116602483015283811660448301526001600160e01b0319831660648301525f9182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b17905251611b52919061260f565b5f60405180830381855afa9150503d805f8114611b8a576040519150601f19603f3d011682016040523d82523d5f602084013e611b8f565b606091505b50915091508115611be1576040815110611bc15780806020019051810190611bb79190612625565b9094509250611be1565b6020815110611be15780806020019051810190611bde91906122cf565b93505b505094509492505050565b611bf4611d63565b5f7fffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f0090506040518060c00160405280825f018054611c3190612288565b80601f0160208091040260200160405190810160405280929190818152602001828054611c5d90612288565b8015611ca85780601f10611c7f57610100808354040283529160200191611ca8565b820191905f5260205f20905b815481529060010190602001808311611c8b57829003601f168201915b5050505050815260200173__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015611cf9573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611d1d919061226d565b6001600160601b0316815260018301546001600160a01b0390811660208301525f604083015260028401541660608201526003830180546080909201916106d590612288565b6040518060c00160405280606081526020015f6001600160601b031681526020015f6001600160a01b031681526020015f6001600160a01b031681526020015f6001600160a01b03168152602001606081525090565b5f60208284031215611dc9575f80fd5b81356001600160e01b0319811681146119f3575f80fd5b80356001600160401b0381168114611df6575f80fd5b919050565b6001600160601b0381168114610ba6575f80fd5b5f805f805f60808688031215611e23575f80fd5b611e2c86611de0565b94506020860135611e3c81611dfb565b935060408601356001600160401b03811115611e56575f80fd5b8601601f81018813611e66575f80fd5b80356001600160401b03811115611e7b575f80fd5b886020828401011115611e8c575f80fd5b60209190910193509150606086013564ffffffffff81168114611ead575f80fd5b809150509295509295909350565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081526001600160601b0382511660208201526001600160601b03602083015116604082015260ff60408301511660608201525f6060830151611f31608084018215159052565b5060808301516001600160a01b03811660a08401525060a08301516001600160a01b03811660c08401525060c083015160e080840152611f75610100840182611ebb565b949350505050565b602081525f6119f36020830184611ebb565b5f60208284031215611f9f575f80fd5b81356119f381611dfb565b6001600160a01b0381168114610ba6575f80fd5b5f8060408385031215611fcf575f80fd5b8235611fda81611faa565b91506020830135611fea81611dfb565b809150509250929050565b5f60208284031215612005575f80fd5b6119f382611de0565b5f6020828403121561201e575f80fd5b81356119f381611faa565b602081525f825160c0602084015261204460e0840182611ebb565b90506001600160601b03602085015116604084015260018060a01b03604085015116606084015260018060a01b036060850151166080840152608084015161209760a08501826001600160a01b03169052565b5060a0840151838203601f190160c08501526120b38282611ebb565b95945050505050565b5f80604083850312156120cd575f80fd5b82356120d881611faa565b946020939093013593505050565b634e487b7160e01b5f52604160045260245ffd5b60405160e081016001600160401b038111828210171561211c5761211c6120e6565b60405290565b60405160c081016001600160401b038111828210171561211c5761211c6120e6565b604051601f8201601f191681016001600160401b038111828210171561216c5761216c6120e6565b604052919050565b5f6001600160401b0382111561218c5761218c6120e6565b50601f01601f191660200190565b5f80604083850312156121ab575f80fd5b6121b483611de0565b915060208301356001600160401b038111156121ce575f80fd5b8301601f810185136121de575f80fd5b80356121f16121ec82612174565b612144565b818152866020838501011115612205575f80fd5b816020840160208301375f602083830101528093505050509250929050565b5f805f60608486031215612236575f80fd5b833561224181611faa565b9250602084013561225181611faa565b929592945050506040919091013590565b8051611df681611dfb565b5f6020828403121561227d575f80fd5b81516119f381611dfb565b600181811c9082168061229c57607f821691505b6020821081036122ba57634e487b7160e01b5f52602260045260245ffd5b50919050565b80518015158114611df6575f80fd5b5f602082840312156122df575f80fd5b6119f3826122c0565b5f602082840312156122f8575f80fd5b5051919050565b60ff81168114610ba6575f80fd5b8051611df6816122ff565b8051611df681611faa565b5f82601f830112612332575f80fd5b8151602083015f6123456121ec84612174565b9050828152858383011115612358575f80fd5b8282602083015e5f92810160200192909252509392505050565b5f60208284031215612382575f80fd5b81516001600160401b03811115612397575f80fd5b820160e081850312156123a8575f80fd5b6123b06120fa565b6123b982612262565b81526123c760208301612262565b60208201526123d86040830161230d565b60408201526123e9606083016122c0565b60608201526123fa60808301612318565b608082015261240b60a08301612318565b60a082015260c08201516001600160401b03811115612428575f80fd5b61243486828501612323565b60c083015250949350505050565b5f60208284031215612452575f80fd5b81516119f381611faa565b5f808585111561246b575f80fd5b83861115612477575f80fd5b5050820193919092039150565b80356001600160e01b031981169060048410156124b5576001600160e01b0319600485900360031b81901b82161691505b5092915050565b6001600160a01b03841681526040602082018190528101829052818360608301375f818301606090810191909152601f909201601f1916010192915050565b5f6020828403121561250b575f80fd5b81516001600160401b03811115612520575f80fd5b820160c08185031215612531575f80fd5b612539612122565b81516001600160401b0381111561254e575f80fd5b61255a86828501612323565b82525061256960208301612262565b602082015261257a60408301612318565b604082015261258b60608301612318565b606082015261259c60808301612318565b608082015260a08201516001600160401b038111156125b9575f80fd5b6125c586828501612323565b60a083015250949350505050565b5f602082840312156125e3575f80fd5b81516119f3816122ff565b6001600160401b0383168152604060208201525f611f756040830184611ebb565b5f82518060208501845e5f920191825250919050565b5f8060408385031215612636575f80fd5b61263f836122c0565b9150602083015163ffffffff81168114611fea575f80fdfe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00a264697066735822122082ab9fa66915c2ba19648fd0891c855bfb38e67fd1cea940adc4a774349d570e64736f6c634300081a0033",
886
- "deployedBytecode": "0x608060405234801561000f575f80fd5b5060043610610228575f3560e01c8063644c45e01161012a578063b423086c116100b4578063de7b5d1411610079578063de7b5d14146104f2578063deaa59df14610522578063e7f7fb8614610535578063ea15869f14610548578063f83d08ba1461056f575f80fd5b8063b423086c146104a9578063bae99c99146104b1578063bb1e0e59146104c4578063bf7e214f146104d7578063cf4ee77a146104df575f80fd5b8063893d20e8116100fa578063893d20e81461044f5780638fb360371461045757806390edbd3514610478578063a69df4b51461048d578063ada9652e14610495575f80fd5b8063644c45e0146103e95780636bd1c0eb146104065780637a9e5e4b1461043657806387ef9ba014610449575f80fd5b80631eff4b22116101b657806343d752d31161017b57806343d752d31461038e5780634bd100e4146103965780634c125e79146103bd5780635741e5e9146103d05780635ab1bd53146103d8575f80fd5b80631eff4b221461030f57806321df0da714610344578063223668441461034c5780632eb3e6f414610354578063419197fe1461037b575f80fd5b806313299604116101fc57806313299604146102b7578063138461e0146102d757806317d7de7c146102df5780631aa3a008146102f45780631c6b2190146102fc575f80fd5b806251884a1461022c57806301ffc9a7146102515780630b29e28e1461028d5780630fec111c146102a2575b5f80fd5b610234610577565b6040516001600160601b0390911681526020015b60405180910390f35b61027d61025f366004611db9565b6001600160e01b0319165f9081526020819052604090205460ff1690565b6040519015158152602001610248565b6102a061029b366004611e0f565b610589565b005b6102aa61059c565b6040516102489190611ee9565b6102bf61075a565b6040516001600160a01b039091168152602001610248565b61023461076c565b6102e761077b565b6040516102489190611f7d565b6102a061078b565b61023461030a366004611f8f565b610846565b6103367f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b604051908152602001610248565b6102bf6108c3565b61027d6108d5565b6103367fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f0081565b6102a0610389366004611fbe565b6109cb565b6102bf610b8b565b6103367faab7c0ea03d290e56d6c060e0733d3ebcbe647f7694616a2ec52738a64b2f90081565b6102a06103cb366004611ff5565b610b9d565b61027d610ba9565b6001546001600160a01b03166102bf565b5f80516020612658833981519152546001600160601b0316610234565b7fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f02546001600160a01b03166102bf565b6102a061044436600461200e565b610c5d565b5f61027d565b6102bf610ce3565b61045f610e14565b6040516001600160e01b03199091168152602001610248565b610480610e49565b6040516102489190612029565b6102a0610e6e565b6103365f8051602061265883398151915281565b610480610ef4565b6102a06104bf366004611f8f565b610f04565b6102a06104d23660046120bc565b610f50565b6102bf610fed565b6102a06104ed36600461219a565b611008565b7fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f00546001600160a01b03166102bf565b6102a061053036600461200e565b61101b565b6102a0610543366004612224565b611291565b6103367fffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f0081565b6102a061132e565b5f610580610e49565b60200151905090565b610595335b5f366113a2565b5050505050565b6040805160e0810182525f8082526020820181905291810182905260608082018390526080820183905260a082019290925260c08101919091525f7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e0016040528073__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af415801561064c573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610670919061226d565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a0016106b8610ce3565b6001600160a01b031681526020018260010180546106d590612288565b80601f016020809104026020016040519081016040528092919081815260200182805461070190612288565b801561074c5780601f106107235761010080835404028352916020019161074c565b820191905f5260205f20905b81548152906001019060200180831161072f57829003601f168201915b505050505081525091505090565b5f610763610e49565b60800151905090565b5f610776306114a0565b905090565b6060610785610e49565b51919050565b610793610ce3565b6001600160a01b0316336001600160a01b0316146107cb5760405163086391f760e31b81523360048201526024015b60405180910390fd5b7faab7c0ea03d290e56d6c060e0733d3ebcbe647f7694616a2ec52738a64b2f9005460408051630339d25960e41b815290516001600160a01b039092169163339d2590916004808201925f9290919082900301818387803b15801561082e575f80fd5b505af1158015610840573d5f803e3d5ffd5b50505050565b5f61084f610ce3565b6001600160a01b0316336001600160a01b0316146108825760405163086391f760e31b81523360048201526024016107c2565b61088b3361058e565b60405163ca49882f60e01b815260206004820152600c60248201526b77697468647261774665657360a01b60448201526064016107c2565b5f6108cc610e49565b60400151905090565b5f6108e86001546001600160a01b031690565b604051632f2a35f760e11b81523060048201526001600160a01b039190911690635e546bee90602401602060405180830381865afa15801561092c573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610950919061226d565b6040516330b8415f60e01b81526001600160601b03909116600482015273__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af41580156109a7573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061077691906122cf565b6109d3610ce3565b6001600160a01b0316336001600160a01b031614610a065760405163086391f760e31b81523360048201526024016107c2565b30610a0f61075a565b6001600160a01b031614610a365760405163b6d7537f60e01b815260040160405180910390fd5b7ff1220014fdb8b69aee438722b1fe13ee4a807811a472467cee162f7b866e704e610a5f610b8b565b604080516001600160a01b0390921682526001600160601b03841660208301520160405180910390a1816001600160a01b031663095ea7b3610a9f610b8b565b60405163046e44af60e11b81526001600160601b038516600482015273__$3bac17678db7ae928afa209f2f44deec9c$__906308dc895e90602401602060405180830381865af4158015610af5573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b1991906122e8565b6040516001600160e01b031960e085901b1681526001600160a01b03909216600483015260248201526044015b6020604051808303815f875af1158015610b62573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b8691906122cf565b505050565b5f610b94610e49565b60600151905090565b610ba63361058e565b50565b5f610bb26108d5565b15610c2d576001546001600160a01b03166040516308b09a5f60e41b81523060048201526001600160a01b039190911690638b09a5f0906024015f60405180830381865afa158015610c06573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052610b949190810190612372565b507fffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f0254600160a01b900460ff1690565b33610c66610fed565b6001600160a01b0316816001600160a01b031614610ca15760405162d1953b60e31b81526001600160a01b03821660048201526024016107c2565b816001600160a01b03163b5f03610cd6576040516361798f2f60e11b81526001600160a01b03831660048201526024016107c2565b610cdf82611699565b5050565b5f805f8051602061265883398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015610d4f573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610d7391906122cf565b15610dfe576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015610dd4573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610df89190612442565b91505090565b54600160601b90046001600160a01b0316919050565b5f8051602061267883398151915280545f9190600160a01b900460ff16610e3b575f610df8565b638fb3603760e01b91505090565b610e51611d63565b610e596108d5565b15610e66576107766116f9565b610776610ef4565b610e76610ce3565b6001600160a01b0316336001600160a01b031614610ea95760405163086391f760e31b81523360048201526024016107c2565b610eb3600a6118df565b60405163581e954760e11b81525f60048201526001600160a01b03919091169063b03d2a8e906024015b5f604051808303815f87803b15801561082e575f80fd5b610efc611d63565b6107766116f9565b610f0c610ce3565b6001600160a01b0316336001600160a01b031614610f3f5760405163086391f760e31b81523360048201526024016107c2565b610ba6610f4a6108c3565b826109cb565b6001546001600160a01b03166001600160a01b031663120726c36040518163ffffffff1660e01b8152600401602060405180830381865afa158015610f97573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610fbb9190612442565b6001600160a01b0316336001600160a01b031614610cdf5760405162f0630960e01b81523360048201526024016107c2565b5f80516020612678833981519152546001600160a01b031690565b6110113361058e565b610cdf82826119fa565b611023610ce3565b6001600160a01b0316336001600160a01b0316146110565760405163086391f760e31b81523360048201526024016107c2565b5f61105f61075a565b90505f61106a6108c3565b6040516370a0823160e01b81526001600160a01b03848116600483015291909116906370a0823190602401602060405180830381865afa1580156110b0573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906110d491906122e8565b90506110df83611a4b565b8015610b8657604080516001600160a01b038085168252851660208201529081018290527f8f925ed35e36754081a3353f30c5686c405280f94d1cfe322ee5707833d898679060600160405180910390a1306001600160a01b0383160361124057611148610b8b565b6001600160a01b03166354f0d84c838573__$3bac17678db7ae928afa209f2f44deec9c$__634c41dd96866040518263ffffffff1660e01b815260040161119191815260200190565b602060405180830381865af41580156111ac573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906111d0919061226d565b6040516001600160e01b031960e086901b1681526001600160a01b0393841660048201529290911660248301526001600160601b031660448201526064015f604051808303815f87803b158015611225575f80fd5b505af1158015611237573d5f803e3d5ffd5b50505050505050565b611248610b8b565b6001600160a01b031663c7d63d57838573__$3bac17678db7ae928afa209f2f44deec9c$__634c41dd96866040518263ffffffff1660e01b815260040161119191815260200190565b6001546001600160a01b03166001600160a01b031663120726c36040518163ffffffff1660e01b8152600401602060405180830381865afa1580156112d8573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906112fc9190612442565b6001600160a01b0316336001600160a01b031614610b865760405162f0630960e01b81523360048201526024016107c2565b611336610ce3565b6001600160a01b0316336001600160a01b0316146113695760405163086391f760e31b81523360048201526024016107c2565b611373600a6118df565b60405163581e954760e11b8152600160048201526001600160a01b03919091169063b03d2a8e90602401610edd565b5f805160206126788339815191525f806113da6113bd610fed565b87306113cc60045f8a8c61245d565b6113d591612484565b611ae4565b91509150816114985763ffffffff81161561147557825460ff60a01b1916600160a01b178355611408610fed565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b8152600401611437939291906124bc565b5f604051808303815f87803b15801561144e575f80fd5b505af1158015611460573d5f803e3d5ffd5b5050845460ff60a01b19168555506114989050565b60405162d1953b60e31b81526001600160a01b03871660048201526024016107c2565b505050505050565b5f805f8051602061265883398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af415801561150c573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061153091906122cf565b1561155c5780546040516301ab8b6760e21b81526001600160601b0390911660048201526024016107c2565b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038581166004830152919091169063c3c5a54790602401602060405180830381865afa1580156115ae573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906115d291906122cf565b6115fa5760405163b9304b0d60e01b81526001600160a01b03841660048201526024016107c2565b6001546001600160a01b0316604051632f2a35f760e11b81526001600160a01b0385811660048301529190911690635e546bee90602401602060405180830381865afa15801561164c573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611670919061226d565b81546bffffffffffffffffffffffff19166001600160601b039190911690811790915592915050565b5f8051602061267883398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b611701611d63565b5f6117146001546001600160a01b031690565b604051632f2a35f760e11b81523060048201526001600160a01b039190911690635e546bee90602401602060405180830381865afa158015611758573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061177c919061226d565b6040516330b8415f60e01b81526001600160601b038216600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af41580156117d5573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906117f991906122cf565b156118d7577fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f01546001600160a01b03166001600160a01b031663f0ea17c36118555f80516020612658833981519152546001600160601b031690565b6040516001600160e01b031960e084901b1681526001600160601b0390911660048201526024015f60405180830381865afa158015611896573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526118bd91908101906124fb565b60808101519092506001600160a01b0316156118d7575090565b610df8611bec565b5f807fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f005460408051633379d27d60e21b815290516001600160a01b039092169163cde749f4916004808201926020929091908290030181865afa158015611948573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061196c91906125d3565b90506119806001546001600160a01b031690565b60405163d39e604360e01b815260ff8086166004830152831660248201526001600160a01b03919091169063d39e604390604401602060405180830381865afa1580156119cf573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906119f39190612442565b9392505050565b7faab7c0ea03d290e56d6c060e0733d3ebcbe647f7694616a2ec52738a64b2f901546040516367a773bd60e11b81526001600160a01b039091169063cf4ee77a90610b4690859085906004016125ee565b611a53610ce3565b6001600160a01b0316336001600160a01b031614611a865760405163086391f760e31b81523360048201526024016107c2565b611a90600b6118df565b60405163deaa59df60e01b81526001600160a01b038381166004830152919091169063deaa59df906024015f604051808303815f87803b158015611ad2575f80fd5b505af1158015610595573d5f803e3d5ffd5b6040516001600160a01b03848116602483015283811660448301526001600160e01b0319831660648301525f9182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b17905251611b52919061260f565b5f60405180830381855afa9150503d805f8114611b8a576040519150601f19603f3d011682016040523d82523d5f602084013e611b8f565b606091505b50915091508115611be1576040815110611bc15780806020019051810190611bb79190612625565b9094509250611be1565b6020815110611be15780806020019051810190611bde91906122cf565b93505b505094509492505050565b611bf4611d63565b5f7fffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f0090506040518060c00160405280825f018054611c3190612288565b80601f0160208091040260200160405190810160405280929190818152602001828054611c5d90612288565b8015611ca85780601f10611c7f57610100808354040283529160200191611ca8565b820191905f5260205f20905b815481529060010190602001808311611c8b57829003601f168201915b5050505050815260200173__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015611cf9573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611d1d919061226d565b6001600160601b0316815260018301546001600160a01b0390811660208301525f604083015260028401541660608201526003830180546080909201916106d590612288565b6040518060c00160405280606081526020015f6001600160601b031681526020015f6001600160a01b031681526020015f6001600160a01b031681526020015f6001600160a01b03168152602001606081525090565b5f60208284031215611dc9575f80fd5b81356001600160e01b0319811681146119f3575f80fd5b80356001600160401b0381168114611df6575f80fd5b919050565b6001600160601b0381168114610ba6575f80fd5b5f805f805f60808688031215611e23575f80fd5b611e2c86611de0565b94506020860135611e3c81611dfb565b935060408601356001600160401b03811115611e56575f80fd5b8601601f81018813611e66575f80fd5b80356001600160401b03811115611e7b575f80fd5b886020828401011115611e8c575f80fd5b60209190910193509150606086013564ffffffffff81168114611ead575f80fd5b809150509295509295909350565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081526001600160601b0382511660208201526001600160601b03602083015116604082015260ff60408301511660608201525f6060830151611f31608084018215159052565b5060808301516001600160a01b03811660a08401525060a08301516001600160a01b03811660c08401525060c083015160e080840152611f75610100840182611ebb565b949350505050565b602081525f6119f36020830184611ebb565b5f60208284031215611f9f575f80fd5b81356119f381611dfb565b6001600160a01b0381168114610ba6575f80fd5b5f8060408385031215611fcf575f80fd5b8235611fda81611faa565b91506020830135611fea81611dfb565b809150509250929050565b5f60208284031215612005575f80fd5b6119f382611de0565b5f6020828403121561201e575f80fd5b81356119f381611faa565b602081525f825160c0602084015261204460e0840182611ebb565b90506001600160601b03602085015116604084015260018060a01b03604085015116606084015260018060a01b036060850151166080840152608084015161209760a08501826001600160a01b03169052565b5060a0840151838203601f190160c08501526120b38282611ebb565b95945050505050565b5f80604083850312156120cd575f80fd5b82356120d881611faa565b946020939093013593505050565b634e487b7160e01b5f52604160045260245ffd5b60405160e081016001600160401b038111828210171561211c5761211c6120e6565b60405290565b60405160c081016001600160401b038111828210171561211c5761211c6120e6565b604051601f8201601f191681016001600160401b038111828210171561216c5761216c6120e6565b604052919050565b5f6001600160401b0382111561218c5761218c6120e6565b50601f01601f191660200190565b5f80604083850312156121ab575f80fd5b6121b483611de0565b915060208301356001600160401b038111156121ce575f80fd5b8301601f810185136121de575f80fd5b80356121f16121ec82612174565b612144565b818152866020838501011115612205575f80fd5b816020840160208301375f602083830101528093505050509250929050565b5f805f60608486031215612236575f80fd5b833561224181611faa565b9250602084013561225181611faa565b929592945050506040919091013590565b8051611df681611dfb565b5f6020828403121561227d575f80fd5b81516119f381611dfb565b600181811c9082168061229c57607f821691505b6020821081036122ba57634e487b7160e01b5f52602260045260245ffd5b50919050565b80518015158114611df6575f80fd5b5f602082840312156122df575f80fd5b6119f3826122c0565b5f602082840312156122f8575f80fd5b5051919050565b60ff81168114610ba6575f80fd5b8051611df6816122ff565b8051611df681611faa565b5f82601f830112612332575f80fd5b8151602083015f6123456121ec84612174565b9050828152858383011115612358575f80fd5b8282602083015e5f92810160200192909252509392505050565b5f60208284031215612382575f80fd5b81516001600160401b03811115612397575f80fd5b820160e081850312156123a8575f80fd5b6123b06120fa565b6123b982612262565b81526123c760208301612262565b60208201526123d86040830161230d565b60408201526123e9606083016122c0565b60608201526123fa60808301612318565b608082015261240b60a08301612318565b60a082015260c08201516001600160401b03811115612428575f80fd5b61243486828501612323565b60c083015250949350505050565b5f60208284031215612452575f80fd5b81516119f381611faa565b5f808585111561246b575f80fd5b83861115612477575f80fd5b5050820193919092039150565b80356001600160e01b031981169060048410156124b5576001600160e01b0319600485900360031b81901b82161691505b5092915050565b6001600160a01b03841681526040602082018190528101829052818360608301375f818301606090810191909152601f909201601f1916010192915050565b5f6020828403121561250b575f80fd5b81516001600160401b03811115612520575f80fd5b820160c08185031215612531575f80fd5b612539612122565b81516001600160401b0381111561254e575f80fd5b61255a86828501612323565b82525061256960208301612262565b602082015261257a60408301612318565b604082015261258b60608301612318565b606082015261259c60808301612318565b608082015260a08201516001600160401b038111156125b9575f80fd5b6125c586828501612323565b60a083015250949350505050565b5f602082840312156125e3575f80fd5b81516119f3816122ff565b6001600160401b0383168152604060208201525f611f756040830184611ebb565b5f82518060208501845e5f920191825250919050565b5f8060408385031215612636575f80fd5b61263f836122c0565b9150602083015163ffffffff81168114611fea575f80fdfe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00a264697066735822122082ab9fa66915c2ba19648fd0891c855bfb38e67fd1cea940adc4a774349d570e64736f6c634300081a0033",
859
+ "bytecode": "0x6080604052348015600e575f80fd5b50611d9d8061001c5f395ff3fe608060405234801561000f575f80fd5b50600436106101e7575f3560e01c8063644c45e01161010957806390edbd351161009e578063bf7e214f1161006e578063bf7e214f1461047a578063cf4ee77a14610482578063de7b5d1414610495578063ea15869f146104c5575f80fd5b806390edbd3514610436578063ad12ad601461044b578063ada9652e1461045e578063b423086c14610472575f80fd5b806387ef9ba0116100d957806387ef9ba0146103ff5780638899278a14610405578063893d20e81461040d5780638fb3603714610415575f80fd5b8063644c45e0146103855780636bd1c0eb146103a257806376b707b7146103d25780637a9e5e4b146103ec575f80fd5b806321df0da71161017f5780634bd100e41161014f5780634bd100e4146103325780634c125e79146103595780635741e5e91461036c5780635ab1bd5314610374575f80fd5b806321df0da7146102f357806322366844146102fb5780632eb3e6f41461030357806343d752d31461032a575f80fd5b8063138461e0116101ba578063138461e01461027657806317d7de7c146102965780631c6b2190146102ab5780631eff4b22146102be575f80fd5b806301ffc9a7146101eb5780630b29e28e1461022c5780630fec111c146102415780631329960414610256575b5f80fd5b6102176101f9366004611514565b6001600160e01b0319165f9081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b61023f61023a366004611571565b6104ec565b005b6102496104ff565b604051610223919061164b565b61025e6106bd565b6040516001600160a01b039091168152602001610223565b61027e61072a565b6040516001600160601b039091168152602001610223565b61029e610734565b60405161022391906116df565b61027e6102b93660046116f1565b610744565b6102e57f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b604051908152602001610223565b61025e6107c6565b6102176107d8565b6102e57fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f0081565b61025e6108ce565b6102e57faab7c0ea03d290e56d6c060e0733d3ebcbe647f7694616a2ec52738a64b2f90081565b61023f61036736600461170c565b6108e0565b6102176108ec565b6001546001600160a01b031661025e565b5f80516020611d28833981519152546001600160601b031661027e565b7fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f02546001600160a01b031661025e565b6103da6109a9565b60405160ff9091168152602001610223565b61023f6103fa366004611739565b610a1d565b5f610217565b6102e5600381565b61025e610aa3565b61041d610bd4565b6040516001600160e01b03199091168152602001610223565b61043e610c09565b6040516102239190611754565b61023f6104593660046117ba565b610c2e565b6102e55f80516020611d2883398151915281565b61043e610cd1565b61025e610ce1565b61023f6104903660046118be565b610cfc565b7fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f00546001600160a01b031661025e565b6102e57fffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f0081565b6104f8335b5f36610d0f565b5050505050565b6040805160e0810182525f8082526020820181905291810182905260608082018390526080820183905260a082019290925260c08101919091525f7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e0016040528073__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af41580156105af573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906105d39190611953565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a00161061b610aa3565b6001600160a01b031681526020018260010180546106389061196e565b80601f01602080910402602001604051908101604052809291908181526020018280546106649061196e565b80156106af5780601f10610686576101008083540402835291602001916106af565b820191905f5260205f20905b81548152906001019060200180831161069257829003601f168201915b505050505081525091505090565b5f6106c66108ce565b6001600160a01b031663132996046040518163ffffffff1660e01b8152600401602060405180830381865afa158015610701573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061072591906119b1565b905090565b5f61072530610e0d565b606061073e610c09565b51919050565b5f61074d610aa3565b6001600160a01b0316336001600160a01b0316146107855760405163086391f760e31b81523360048201526024015b60405180910390fd5b61078e336104f1565b60405163ca49882f60e01b815260206004820152600c60248201526b77697468647261774665657360a01b604482015260640161077c565b5f6107cf610c09565b60200151905090565b5f6107eb6001546001600160a01b031690565b604051632f2a35f760e11b81523060048201526001600160a01b039190911690635e546bee90602401602060405180830381865afa15801561082f573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906108539190611953565b6040516330b8415f60e01b81526001600160601b03909116600482015273__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af41580156108aa573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061072591906119db565b5f6108d7610c09565b60400151905090565b6108e9336104f1565b50565b5f6108f56107d8565b15610979576001546001600160a01b03166040516308b09a5f60e41b81523060048201526001600160a01b039190911690638b09a5f0906024015f60405180830381865afa158015610949573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526109709190810190611a61565b60600151905090565b507fffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f0154600160a01b900460ff1690565b604051632392b61b60e21b8152600360048201525f9073__$b659da7d8a6d2d32aa6c1e17da23dc2174$__90638e4ad86c90602401602060405180830381865af41580156109f9573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906107259190611b31565b33610a26610ce1565b6001600160a01b0316816001600160a01b031614610a615760405162d1953b60e31b81526001600160a01b038216600482015260240161077c565b816001600160a01b03163b5f03610a96576040516361798f2f60e11b81526001600160a01b038316600482015260240161077c565b610a9f82611006565b5050565b5f805f80516020611d2883398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015610b0f573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b3391906119db565b15610bbe576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015610b94573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610bb891906119b1565b91505090565b54600160601b90046001600160a01b0316919050565b5f80516020611d4883398151915280545f9190600160a01b900460ff16610bfb575f610bb8565b638fb3603760e01b91505090565b610c116114dc565b610c196107d8565b15610c2657610725611066565b610725610cd1565b6001546001600160a01b03166001600160a01b031663120726c36040518163ffffffff1660e01b8152600401602060405180830381865afa158015610c75573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610c9991906119b1565b6001600160a01b0316336001600160a01b031614610ccb5760405162f0630960e01b815233600482015260240161077c565b50505050565b610cd96114dc565b610725611066565b5f80516020611d48833981519152546001600160a01b031690565b610d05336104f1565b610a9f828261124c565b5f80516020611d488339815191525f80610d47610d2a610ce1565b8730610d3960045f8a8c611b4c565b610d4291611b73565b6112e2565b9150915081610e055763ffffffff811615610de257825460ff60a01b1916600160a01b178355610d75610ce1565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b8152600401610da493929190611bab565b5f604051808303815f87803b158015610dbb575f80fd5b505af1158015610dcd573d5f803e3d5ffd5b5050845460ff60a01b1916855550610e059050565b60405162d1953b60e31b81526001600160a01b038716600482015260240161077c565b505050505050565b5f805f80516020611d2883398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015610e79573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610e9d91906119db565b15610ec95780546040516301ab8b6760e21b81526001600160601b03909116600482015260240161077c565b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038581166004830152919091169063c3c5a54790602401602060405180830381865afa158015610f1b573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610f3f91906119db565b610f675760405163b9304b0d60e01b81526001600160a01b038416600482015260240161077c565b6001546001600160a01b0316604051632f2a35f760e11b81526001600160a01b0385811660048301529190911690635e546bee90602401602060405180830381865afa158015610fb9573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610fdd9190611953565b81546bffffffffffffffffffffffff19166001600160601b039190911690811790915592915050565b5f80516020611d4883398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b61106e6114dc565b5f6110816001546001600160a01b031690565b604051632f2a35f760e11b81523060048201526001600160a01b039190911690635e546bee90602401602060405180830381865afa1580156110c5573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906110e99190611953565b6040516330b8415f60e01b81526001600160601b038216600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015611142573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061116691906119db565b15611244577fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f01546001600160a01b03166001600160a01b031663f0ea17c36111c25f80516020611d28833981519152546001600160601b031690565b6040516001600160e01b031960e084901b1681526001600160601b0390911660048201526024015f60405180830381865afa158015611203573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f1916820160405261122a9190810190611bea565b60408101519092506001600160a01b031615611244575090565b610bb86113ea565b7faab7c0ea03d290e56d6c060e0733d3ebcbe647f7694616a2ec52738a64b2f901546040516367a773bd60e11b81526001600160a01b039091169063cf4ee77a9061129d9085908590600401611cb3565b6020604051808303815f875af11580156112b9573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906112dd91906119db565b505050565b6040516001600160a01b03848116602483015283811660448301526001600160e01b0319831660648301525f9182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b179052516113509190611cd4565b5f60405180830381855afa9150503d805f8114611388576040519150601f19603f3d011682016040523d82523d5f602084013e61138d565b606091505b509150915081156113df5760408151106113bf57808060200190518101906113b59190611cea565b90945092506113df565b60208151106113df57808060200190518101906113dc91906119db565b93505b505094509492505050565b6113f26114dc565b5f7fffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f0090506040518060800160405280825f01805461142f9061196e565b80601f016020809104026020016040519081016040528092919081815260200182805461145b9061196e565b80156114a65780601f1061147d576101008083540402835291602001916114a6565b820191905f5260205f20905b81548152906001019060200180831161148957829003601f168201915b505050918352505060018301546001600160a01b031660208201525f60408201526002830180546060909201916106389061196e565b6040518060800160405280606081526020015f6001600160a01b031681526020015f6001600160a01b03168152602001606081525090565b5f60208284031215611524575f80fd5b81356001600160e01b03198116811461153b575f80fd5b9392505050565b80356001600160401b0381168114611558575f80fd5b919050565b6001600160601b03811681146108e9575f80fd5b5f805f805f60808688031215611585575f80fd5b61158e86611542565b9450602086013561159e8161155d565b935060408601356001600160401b038111156115b8575f80fd5b8601601f810188136115c8575f80fd5b80356001600160401b038111156115dd575f80fd5b8860208284010111156115ee575f80fd5b60209190910193509150606086013564ffffffffff8116811461160f575f80fd5b809150509295509295909350565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081526001600160601b0382511660208201526001600160601b03602083015116604082015260ff60408301511660608201525f6060830151611693608084018215159052565b5060808301516001600160a01b03811660a08401525060a08301516001600160a01b03811660c08401525060c083015160e0808401526116d761010084018261161d565b949350505050565b602081525f61153b602083018461161d565b5f60208284031215611701575f80fd5b813561153b8161155d565b5f6020828403121561171c575f80fd5b61153b82611542565b6001600160a01b03811681146108e9575f80fd5b5f60208284031215611749575f80fd5b813561153b81611725565b602081525f82516080602084015261176f60a084018261161d565b60208501516001600160a01b0390811660408681019190915286015116606080860191909152850151848203601f190160808601529091506117b1828261161d565b95945050505050565b5f805f80608085870312156117cd575f80fd5b84356117d881611725565b935060208501356117e881611725565b92506040850135915060608501356117ff81611725565b939692955090935050565b634e487b7160e01b5f52604160045260245ffd5b60405160e081016001600160401b03811182821017156118405761184061180a565b60405290565b604051608081016001600160401b03811182821017156118405761184061180a565b604051601f8201601f191681016001600160401b03811182821017156118905761189061180a565b604052919050565b5f6001600160401b038211156118b0576118b061180a565b50601f01601f191660200190565b5f80604083850312156118cf575f80fd5b6118d883611542565b915060208301356001600160401b038111156118f2575f80fd5b8301601f81018513611902575f80fd5b803561191561191082611898565b611868565b818152866020838501011115611929575f80fd5b816020840160208301375f602083830101528093505050509250929050565b80516115588161155d565b5f60208284031215611963575f80fd5b815161153b8161155d565b600181811c9082168061198257607f821691505b6020821081036119a057634e487b7160e01b5f52602260045260245ffd5b50919050565b805161155881611725565b5f602082840312156119c1575f80fd5b815161153b81611725565b80518015158114611558575f80fd5b5f602082840312156119eb575f80fd5b61153b826119cc565b60ff811681146108e9575f80fd5b8051611558816119f4565b5f611a1a61191084611898565b9050828152838383011115611a2d575f80fd5b8282602083015e5f602084830101529392505050565b5f82601f830112611a52575f80fd5b61153b83835160208501611a0d565b5f60208284031215611a71575f80fd5b81516001600160401b03811115611a86575f80fd5b820160e08185031215611a97575f80fd5b611a9f61181e565b611aa882611948565b8152611ab660208301611948565b6020820152611ac760408301611a02565b6040820152611ad8606083016119cc565b6060820152611ae9608083016119a6565b6080820152611afa60a083016119a6565b60a082015260c08201516001600160401b03811115611b17575f80fd5b611b2386828501611a43565b60c083015250949350505050565b5f60208284031215611b41575f80fd5b815161153b816119f4565b5f8085851115611b5a575f80fd5b83861115611b66575f80fd5b5050820193919092039150565b80356001600160e01b03198116906004841015611ba4576001600160e01b0319600485900360031b81901b82161691505b5092915050565b6001600160a01b03841681526040602082018190528101829052818360608301375f818301606090810191909152601f909201601f1916010192915050565b5f60208284031215611bfa575f80fd5b81516001600160401b03811115611c0f575f80fd5b820160808185031215611c20575f80fd5b611c28611846565b81516001600160401b03811115611c3d575f80fd5b8201601f81018613611c4d575f80fd5b611c5c86825160208401611a0d565b825250611c6b602083016119a6565b6020820152611c7c604083016119a6565b604082015260608201516001600160401b03811115611c99575f80fd5b611ca586828501611a43565b606083015250949350505050565b6001600160401b0383168152604060208201525f6116d7604083018461161d565b5f82518060208501845e5f920191825250919050565b5f8060408385031215611cfb575f80fd5b611d04836119cc565b9150602083015163ffffffff81168114611d1c575f80fd5b80915050925092905056fe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00a26469706673582212204edcb526f172e8b3509e11c717279de480d9480ecd8c3f991c3c459f91e9e99164736f6c634300081a0033",
860
+ "deployedBytecode": "0x608060405234801561000f575f80fd5b50600436106101e7575f3560e01c8063644c45e01161010957806390edbd351161009e578063bf7e214f1161006e578063bf7e214f1461047a578063cf4ee77a14610482578063de7b5d1414610495578063ea15869f146104c5575f80fd5b806390edbd3514610436578063ad12ad601461044b578063ada9652e1461045e578063b423086c14610472575f80fd5b806387ef9ba0116100d957806387ef9ba0146103ff5780638899278a14610405578063893d20e81461040d5780638fb3603714610415575f80fd5b8063644c45e0146103855780636bd1c0eb146103a257806376b707b7146103d25780637a9e5e4b146103ec575f80fd5b806321df0da71161017f5780634bd100e41161014f5780634bd100e4146103325780634c125e79146103595780635741e5e91461036c5780635ab1bd5314610374575f80fd5b806321df0da7146102f357806322366844146102fb5780632eb3e6f41461030357806343d752d31461032a575f80fd5b8063138461e0116101ba578063138461e01461027657806317d7de7c146102965780631c6b2190146102ab5780631eff4b22146102be575f80fd5b806301ffc9a7146101eb5780630b29e28e1461022c5780630fec111c146102415780631329960414610256575b5f80fd5b6102176101f9366004611514565b6001600160e01b0319165f9081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b61023f61023a366004611571565b6104ec565b005b6102496104ff565b604051610223919061164b565b61025e6106bd565b6040516001600160a01b039091168152602001610223565b61027e61072a565b6040516001600160601b039091168152602001610223565b61029e610734565b60405161022391906116df565b61027e6102b93660046116f1565b610744565b6102e57f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b604051908152602001610223565b61025e6107c6565b6102176107d8565b6102e57fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f0081565b61025e6108ce565b6102e57faab7c0ea03d290e56d6c060e0733d3ebcbe647f7694616a2ec52738a64b2f90081565b61023f61036736600461170c565b6108e0565b6102176108ec565b6001546001600160a01b031661025e565b5f80516020611d28833981519152546001600160601b031661027e565b7fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f02546001600160a01b031661025e565b6103da6109a9565b60405160ff9091168152602001610223565b61023f6103fa366004611739565b610a1d565b5f610217565b6102e5600381565b61025e610aa3565b61041d610bd4565b6040516001600160e01b03199091168152602001610223565b61043e610c09565b6040516102239190611754565b61023f6104593660046117ba565b610c2e565b6102e55f80516020611d2883398151915281565b61043e610cd1565b61025e610ce1565b61023f6104903660046118be565b610cfc565b7fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f00546001600160a01b031661025e565b6102e57fffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f0081565b6104f8335b5f36610d0f565b5050505050565b6040805160e0810182525f8082526020820181905291810182905260608082018390526080820183905260a082019290925260c08101919091525f7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e0016040528073__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af41580156105af573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906105d39190611953565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a00161061b610aa3565b6001600160a01b031681526020018260010180546106389061196e565b80601f01602080910402602001604051908101604052809291908181526020018280546106649061196e565b80156106af5780601f10610686576101008083540402835291602001916106af565b820191905f5260205f20905b81548152906001019060200180831161069257829003601f168201915b505050505081525091505090565b5f6106c66108ce565b6001600160a01b031663132996046040518163ffffffff1660e01b8152600401602060405180830381865afa158015610701573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061072591906119b1565b905090565b5f61072530610e0d565b606061073e610c09565b51919050565b5f61074d610aa3565b6001600160a01b0316336001600160a01b0316146107855760405163086391f760e31b81523360048201526024015b60405180910390fd5b61078e336104f1565b60405163ca49882f60e01b815260206004820152600c60248201526b77697468647261774665657360a01b604482015260640161077c565b5f6107cf610c09565b60200151905090565b5f6107eb6001546001600160a01b031690565b604051632f2a35f760e11b81523060048201526001600160a01b039190911690635e546bee90602401602060405180830381865afa15801561082f573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906108539190611953565b6040516330b8415f60e01b81526001600160601b03909116600482015273__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af41580156108aa573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061072591906119db565b5f6108d7610c09565b60400151905090565b6108e9336104f1565b50565b5f6108f56107d8565b15610979576001546001600160a01b03166040516308b09a5f60e41b81523060048201526001600160a01b039190911690638b09a5f0906024015f60405180830381865afa158015610949573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526109709190810190611a61565b60600151905090565b507fffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f0154600160a01b900460ff1690565b604051632392b61b60e21b8152600360048201525f9073__$b659da7d8a6d2d32aa6c1e17da23dc2174$__90638e4ad86c90602401602060405180830381865af41580156109f9573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906107259190611b31565b33610a26610ce1565b6001600160a01b0316816001600160a01b031614610a615760405162d1953b60e31b81526001600160a01b038216600482015260240161077c565b816001600160a01b03163b5f03610a96576040516361798f2f60e11b81526001600160a01b038316600482015260240161077c565b610a9f82611006565b5050565b5f805f80516020611d2883398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015610b0f573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b3391906119db565b15610bbe576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015610b94573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610bb891906119b1565b91505090565b54600160601b90046001600160a01b0316919050565b5f80516020611d4883398151915280545f9190600160a01b900460ff16610bfb575f610bb8565b638fb3603760e01b91505090565b610c116114dc565b610c196107d8565b15610c2657610725611066565b610725610cd1565b6001546001600160a01b03166001600160a01b031663120726c36040518163ffffffff1660e01b8152600401602060405180830381865afa158015610c75573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610c9991906119b1565b6001600160a01b0316336001600160a01b031614610ccb5760405162f0630960e01b815233600482015260240161077c565b50505050565b610cd96114dc565b610725611066565b5f80516020611d48833981519152546001600160a01b031690565b610d05336104f1565b610a9f828261124c565b5f80516020611d488339815191525f80610d47610d2a610ce1565b8730610d3960045f8a8c611b4c565b610d4291611b73565b6112e2565b9150915081610e055763ffffffff811615610de257825460ff60a01b1916600160a01b178355610d75610ce1565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b8152600401610da493929190611bab565b5f604051808303815f87803b158015610dbb575f80fd5b505af1158015610dcd573d5f803e3d5ffd5b5050845460ff60a01b1916855550610e059050565b60405162d1953b60e31b81526001600160a01b038716600482015260240161077c565b505050505050565b5f805f80516020611d2883398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015610e79573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610e9d91906119db565b15610ec95780546040516301ab8b6760e21b81526001600160601b03909116600482015260240161077c565b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038581166004830152919091169063c3c5a54790602401602060405180830381865afa158015610f1b573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610f3f91906119db565b610f675760405163b9304b0d60e01b81526001600160a01b038416600482015260240161077c565b6001546001600160a01b0316604051632f2a35f760e11b81526001600160a01b0385811660048301529190911690635e546bee90602401602060405180830381865afa158015610fb9573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610fdd9190611953565b81546bffffffffffffffffffffffff19166001600160601b039190911690811790915592915050565b5f80516020611d4883398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b61106e6114dc565b5f6110816001546001600160a01b031690565b604051632f2a35f760e11b81523060048201526001600160a01b039190911690635e546bee90602401602060405180830381865afa1580156110c5573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906110e99190611953565b6040516330b8415f60e01b81526001600160601b038216600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015611142573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061116691906119db565b15611244577fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f01546001600160a01b03166001600160a01b031663f0ea17c36111c25f80516020611d28833981519152546001600160601b031690565b6040516001600160e01b031960e084901b1681526001600160601b0390911660048201526024015f60405180830381865afa158015611203573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f1916820160405261122a9190810190611bea565b60408101519092506001600160a01b031615611244575090565b610bb86113ea565b7faab7c0ea03d290e56d6c060e0733d3ebcbe647f7694616a2ec52738a64b2f901546040516367a773bd60e11b81526001600160a01b039091169063cf4ee77a9061129d9085908590600401611cb3565b6020604051808303815f875af11580156112b9573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906112dd91906119db565b505050565b6040516001600160a01b03848116602483015283811660448301526001600160e01b0319831660648301525f9182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b179052516113509190611cd4565b5f60405180830381855afa9150503d805f8114611388576040519150601f19603f3d011682016040523d82523d5f602084013e61138d565b606091505b509150915081156113df5760408151106113bf57808060200190518101906113b59190611cea565b90945092506113df565b60208151106113df57808060200190518101906113dc91906119db565b93505b505094509492505050565b6113f26114dc565b5f7fffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f0090506040518060800160405280825f01805461142f9061196e565b80601f016020809104026020016040519081016040528092919081815260200182805461145b9061196e565b80156114a65780601f1061147d576101008083540402835291602001916114a6565b820191905f5260205f20905b81548152906001019060200180831161148957829003601f168201915b505050918352505060018301546001600160a01b031660208201525f60408201526002830180546060909201916106389061196e565b6040518060800160405280606081526020015f6001600160a01b031681526020015f6001600160a01b03168152602001606081525090565b5f60208284031215611524575f80fd5b81356001600160e01b03198116811461153b575f80fd5b9392505050565b80356001600160401b0381168114611558575f80fd5b919050565b6001600160601b03811681146108e9575f80fd5b5f805f805f60808688031215611585575f80fd5b61158e86611542565b9450602086013561159e8161155d565b935060408601356001600160401b038111156115b8575f80fd5b8601601f810188136115c8575f80fd5b80356001600160401b038111156115dd575f80fd5b8860208284010111156115ee575f80fd5b60209190910193509150606086013564ffffffffff8116811461160f575f80fd5b809150509295509295909350565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081526001600160601b0382511660208201526001600160601b03602083015116604082015260ff60408301511660608201525f6060830151611693608084018215159052565b5060808301516001600160a01b03811660a08401525060a08301516001600160a01b03811660c08401525060c083015160e0808401526116d761010084018261161d565b949350505050565b602081525f61153b602083018461161d565b5f60208284031215611701575f80fd5b813561153b8161155d565b5f6020828403121561171c575f80fd5b61153b82611542565b6001600160a01b03811681146108e9575f80fd5b5f60208284031215611749575f80fd5b813561153b81611725565b602081525f82516080602084015261176f60a084018261161d565b60208501516001600160a01b0390811660408681019190915286015116606080860191909152850151848203601f190160808601529091506117b1828261161d565b95945050505050565b5f805f80608085870312156117cd575f80fd5b84356117d881611725565b935060208501356117e881611725565b92506040850135915060608501356117ff81611725565b939692955090935050565b634e487b7160e01b5f52604160045260245ffd5b60405160e081016001600160401b03811182821017156118405761184061180a565b60405290565b604051608081016001600160401b03811182821017156118405761184061180a565b604051601f8201601f191681016001600160401b03811182821017156118905761189061180a565b604052919050565b5f6001600160401b038211156118b0576118b061180a565b50601f01601f191660200190565b5f80604083850312156118cf575f80fd5b6118d883611542565b915060208301356001600160401b038111156118f2575f80fd5b8301601f81018513611902575f80fd5b803561191561191082611898565b611868565b818152866020838501011115611929575f80fd5b816020840160208301375f602083830101528093505050509250929050565b80516115588161155d565b5f60208284031215611963575f80fd5b815161153b8161155d565b600181811c9082168061198257607f821691505b6020821081036119a057634e487b7160e01b5f52602260045260245ffd5b50919050565b805161155881611725565b5f602082840312156119c1575f80fd5b815161153b81611725565b80518015158114611558575f80fd5b5f602082840312156119eb575f80fd5b61153b826119cc565b60ff811681146108e9575f80fd5b8051611558816119f4565b5f611a1a61191084611898565b9050828152838383011115611a2d575f80fd5b8282602083015e5f602084830101529392505050565b5f82601f830112611a52575f80fd5b61153b83835160208501611a0d565b5f60208284031215611a71575f80fd5b81516001600160401b03811115611a86575f80fd5b820160e08185031215611a97575f80fd5b611a9f61181e565b611aa882611948565b8152611ab660208301611948565b6020820152611ac760408301611a02565b6040820152611ad8606083016119cc565b6060820152611ae9608083016119a6565b6080820152611afa60a083016119a6565b60a082015260c08201516001600160401b03811115611b17575f80fd5b611b2386828501611a43565b60c083015250949350505050565b5f60208284031215611b41575f80fd5b815161153b816119f4565b5f8085851115611b5a575f80fd5b83861115611b66575f80fd5b5050820193919092039150565b80356001600160e01b03198116906004841015611ba4576001600160e01b0319600485900360031b81901b82161691505b5092915050565b6001600160a01b03841681526040602082018190528101829052818360608301375f818301606090810191909152601f909201601f1916010192915050565b5f60208284031215611bfa575f80fd5b81516001600160401b03811115611c0f575f80fd5b820160808185031215611c20575f80fd5b611c28611846565b81516001600160401b03811115611c3d575f80fd5b8201601f81018613611c4d575f80fd5b611c5c86825160208401611a0d565b825250611c6b602083016119a6565b6020820152611c7c604083016119a6565b604082015260608201516001600160401b03811115611c99575f80fd5b611ca586828501611a43565b606083015250949350505050565b6001600160401b0383168152604060208201525f6116d7604083018461161d565b5f82518060208501845e5f920191825250919050565b5f8060408385031215611cfb575f80fd5b611d04836119cc565b9150602083015163ffffffff81168114611d1c575f80fd5b80915050925092905056fe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00a26469706673582212204edcb526f172e8b3509e11c717279de480d9480ecd8c3f991c3c459f91e9e99164736f6c634300081a0033",
887
861
  "linkReferences": {
888
- "contracts/type/Amount.sol": {
889
- "AmountLib": [
890
- {
891
- "length": 20,
892
- "start": 2777
893
- },
894
- {
895
- "length": 20,
896
- "start": 4470
897
- },
898
- {
899
- "length": 20,
900
- "start": 4726
901
- }
902
- ]
903
- },
904
862
  "contracts/type/NftId.sol": {
905
863
  "NftIdLib": [
906
864
  {
907
865
  "length": 20,
908
- "start": 1571
866
+ "start": 1414
909
867
  },
910
868
  {
911
869
  "length": 20,
912
- "start": 2443
870
+ "start": 2190
913
871
  },
914
872
  {
915
873
  "length": 20,
916
- "start": 3379
874
+ "start": 2803
917
875
  },
918
876
  {
919
877
  "length": 20,
920
- "start": 5360
878
+ "start": 3677
921
879
  },
922
880
  {
923
881
  "length": 20,
924
- "start": 6073
925
- },
882
+ "start": 4390
883
+ }
884
+ ]
885
+ },
886
+ "contracts/type/Version.sol": {
887
+ "VersionPartLib": [
926
888
  {
927
889
  "length": 20,
928
- "start": 7376
890
+ "start": 2525
929
891
  }
930
892
  ]
931
893
  }
932
894
  },
933
895
  "deployedLinkReferences": {
934
- "contracts/type/Amount.sol": {
935
- "AmountLib": [
936
- {
937
- "length": 20,
938
- "start": 2749
939
- },
940
- {
941
- "length": 20,
942
- "start": 4442
943
- },
944
- {
945
- "length": 20,
946
- "start": 4698
947
- }
948
- ]
949
- },
950
896
  "contracts/type/NftId.sol": {
951
897
  "NftIdLib": [
952
898
  {
953
899
  "length": 20,
954
- "start": 1543
900
+ "start": 1386
955
901
  },
956
902
  {
957
903
  "length": 20,
958
- "start": 2415
904
+ "start": 2162
959
905
  },
960
906
  {
961
907
  "length": 20,
962
- "start": 3351
908
+ "start": 2775
963
909
  },
964
910
  {
965
911
  "length": 20,
966
- "start": 5332
912
+ "start": 3649
967
913
  },
968
914
  {
969
915
  "length": 20,
970
- "start": 6045
971
- },
916
+ "start": 4362
917
+ }
918
+ ]
919
+ },
920
+ "contracts/type/Version.sol": {
921
+ "VersionPartLib": [
972
922
  {
973
923
  "length": 20,
974
- "start": 7348
924
+ "start": 2497
975
925
  }
976
926
  ]
977
927
  }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../build-info/069e2a3d84abad36150ad93219befd86.json"
3
+ "buildInfo": "../../../build-info/d98dedf407280c24c1baa227da03524b.json"
4
4
  }