@etherisc/gif-next 0.0.2-d437d8d-974 → 0.0.2-d43ca2d-657

Sign up to get free protection for your applications and to get access to all the features.
Files changed (484) hide show
  1. package/README.md +27 -6
  2. package/artifacts/contracts/accounting/AccountingService.sol/AccountingService.dbg.json +4 -0
  3. package/artifacts/contracts/accounting/AccountingService.sol/AccountingService.json +1007 -0
  4. package/artifacts/contracts/accounting/AccountingServiceManager.sol/AccountingServiceManager.dbg.json +4 -0
  5. package/artifacts/contracts/accounting/AccountingServiceManager.sol/AccountingServiceManager.json +744 -0
  6. package/artifacts/contracts/accounting/IAccountingService.sol/IAccountingService.dbg.json +4 -0
  7. package/artifacts/contracts/accounting/IAccountingService.sol/IAccountingService.json +791 -0
  8. package/artifacts/contracts/authorization/AccessAdmin.sol/AccessAdmin.dbg.json +1 -1
  9. package/artifacts/contracts/authorization/AccessAdmin.sol/AccessAdmin.json +166 -59
  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/AccessManagerCloneable.sol/AccessManagerCloneable.json +233 -5
  14. package/artifacts/contracts/authorization/Authorization.sol/Authorization.dbg.json +1 -1
  15. package/artifacts/contracts/authorization/Authorization.sol/Authorization.json +67 -11
  16. package/artifacts/contracts/authorization/IAccess.sol/IAccess.dbg.json +1 -1
  17. package/artifacts/contracts/authorization/IAccessAdmin.sol/IAccessAdmin.dbg.json +1 -1
  18. package/artifacts/contracts/authorization/IAccessAdmin.sol/IAccessAdmin.json +97 -18
  19. package/artifacts/contracts/authorization/IAuthorization.sol/IAuthorization.dbg.json +1 -1
  20. package/artifacts/contracts/authorization/IAuthorization.sol/IAuthorization.json +40 -3
  21. package/artifacts/contracts/authorization/IServiceAuthorization.sol/IServiceAuthorization.dbg.json +1 -1
  22. package/artifacts/contracts/authorization/IServiceAuthorization.sol/IServiceAuthorization.json +19 -0
  23. package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.dbg.json +1 -1
  24. package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.json +68 -5
  25. package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.dbg.json +1 -1
  26. package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.json +192 -212
  27. package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.dbg.json +1 -1
  28. package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.json +82 -22
  29. package/artifacts/contracts/distribution/Distribution.sol/Distribution.dbg.json +1 -1
  30. package/artifacts/contracts/distribution/Distribution.sol/Distribution.json +132 -128
  31. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.dbg.json +1 -1
  32. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.json +196 -95
  33. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +1 -1
  34. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.json +142 -69
  35. package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.dbg.json +1 -1
  36. package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.json +119 -110
  37. package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.dbg.json +1 -1
  38. package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.json +78 -2
  39. package/artifacts/contracts/examples/fire/DamageLevel.sol/DamageLevelLib.dbg.json +4 -0
  40. package/artifacts/contracts/examples/fire/DamageLevel.sol/DamageLevelLib.json +22 -0
  41. package/artifacts/contracts/examples/fire/FirePool.sol/FirePool.dbg.json +4 -0
  42. package/artifacts/contracts/examples/fire/FirePool.sol/FirePool.json +1475 -0
  43. package/artifacts/contracts/examples/fire/FirePoolAuthorization.sol/FirePoolAuthorization.dbg.json +4 -0
  44. package/artifacts/contracts/examples/fire/FirePoolAuthorization.sol/FirePoolAuthorization.json +502 -0
  45. package/artifacts/contracts/examples/fire/FireProduct.sol/FireProduct.dbg.json +4 -0
  46. package/artifacts/contracts/examples/fire/FireProduct.sol/FireProduct.json +2025 -0
  47. package/artifacts/contracts/examples/fire/FireProductAuthorization.sol/FireProductAuthorization.dbg.json +4 -0
  48. package/artifacts/contracts/examples/fire/FireProductAuthorization.sol/FireProductAuthorization.json +470 -0
  49. package/artifacts/contracts/examples/fire/FireUSD.sol/FireUSD.dbg.json +4 -0
  50. package/artifacts/contracts/examples/fire/FireUSD.sol/FireUSD.json +376 -0
  51. package/artifacts/contracts/examples/unpermissioned/SimpleDistribution.sol/SimpleDistribution.dbg.json +1 -1
  52. package/artifacts/contracts/examples/unpermissioned/SimpleDistribution.sol/SimpleDistribution.json +232 -164
  53. package/artifacts/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol/SimpleDistributionAuthorization.dbg.json +4 -0
  54. package/artifacts/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol/SimpleDistributionAuthorization.json +470 -0
  55. package/artifacts/contracts/examples/unpermissioned/SimpleOracle.sol/SimpleOracle.dbg.json +1 -1
  56. package/artifacts/contracts/examples/unpermissioned/SimpleOracle.sol/SimpleOracle.json +175 -151
  57. package/artifacts/contracts/examples/unpermissioned/SimplePool.sol/SimplePool.dbg.json +1 -1
  58. package/artifacts/contracts/examples/unpermissioned/SimplePool.sol/SimplePool.json +321 -183
  59. package/artifacts/contracts/examples/unpermissioned/SimplePoolAuthorization.sol/SimplePoolAuthorization.dbg.json +4 -0
  60. package/artifacts/contracts/examples/unpermissioned/SimplePoolAuthorization.sol/SimplePoolAuthorization.json +502 -0
  61. package/artifacts/contracts/examples/unpermissioned/SimpleProduct.sol/SimpleProduct.dbg.json +1 -1
  62. package/artifacts/contracts/examples/unpermissioned/SimpleProduct.sol/SimpleProduct.json +632 -231
  63. package/artifacts/contracts/examples/unpermissioned/SimpleProductAuthorization.sol/SimpleProductAuthorization.dbg.json +4 -0
  64. package/artifacts/contracts/examples/unpermissioned/SimpleProductAuthorization.sol/SimpleProductAuthorization.json +470 -0
  65. package/artifacts/contracts/instance/BundleSet.sol/BundleSet.dbg.json +1 -1
  66. package/artifacts/contracts/instance/BundleSet.sol/BundleSet.json +147 -42
  67. package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
  68. package/artifacts/contracts/instance/IInstance.sol/IInstance.json +130 -61
  69. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +1 -1
  70. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +105 -103
  71. package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
  72. package/artifacts/contracts/instance/Instance.sol/Instance.json +182 -85
  73. package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.dbg.json +1 -1
  74. package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.json +312 -135
  75. package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.dbg.json +1 -1
  76. package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.json +58 -85
  77. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +1 -1
  78. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +525 -84
  79. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +1 -1
  80. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +134 -157
  81. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +1 -1
  82. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +110 -49
  83. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.dbg.json +1 -1
  84. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.json +207 -116
  85. package/artifacts/contracts/instance/RiskSet.sol/RiskSet.dbg.json +4 -0
  86. package/artifacts/contracts/instance/RiskSet.sol/RiskSet.json +810 -0
  87. package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.dbg.json +1 -1
  88. package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.json +2 -2
  89. package/artifacts/contracts/instance/base/Cloneable.sol/Cloneable.dbg.json +1 -1
  90. package/artifacts/contracts/instance/base/ObjectCounter.sol/ObjectCounter.dbg.json +1 -1
  91. package/artifacts/contracts/instance/base/ObjectCounter.sol/ObjectCounter.json +2 -2
  92. package/artifacts/contracts/instance/base/ObjectLifecycle.sol/ObjectLifecycle.dbg.json +1 -1
  93. package/artifacts/contracts/instance/base/ObjectLifecycle.sol/ObjectLifecycle.json +46 -5
  94. package/artifacts/contracts/instance/base/ObjectSet.sol/ObjectSet.dbg.json +1 -1
  95. package/artifacts/contracts/instance/base/ObjectSet.sol/ObjectSet.json +2 -2
  96. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.dbg.json +1 -1
  97. package/artifacts/contracts/instance/module/IBundle.sol/IBundle.dbg.json +1 -1
  98. package/artifacts/contracts/instance/module/IComponents.sol/IComponents.dbg.json +1 -1
  99. package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.dbg.json +1 -1
  100. package/artifacts/contracts/instance/module/IPolicy.sol/IPolicy.dbg.json +1 -1
  101. package/artifacts/contracts/instance/module/IRisk.sol/IRisk.dbg.json +1 -1
  102. package/artifacts/contracts/mock/Dip.sol/Dip.dbg.json +1 -1
  103. package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.dbg.json +1 -1
  104. package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.json +151 -171
  105. package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.dbg.json +1 -1
  106. package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.json +84 -24
  107. package/artifacts/contracts/oracle/IOracle.sol/IOracle.dbg.json +1 -1
  108. package/artifacts/contracts/oracle/IOracleComponent.sol/IOracleComponent.dbg.json +1 -1
  109. package/artifacts/contracts/oracle/IOracleComponent.sol/IOracleComponent.json +113 -104
  110. package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.dbg.json +1 -1
  111. package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.json +69 -11
  112. package/artifacts/contracts/oracle/Oracle.sol/Oracle.dbg.json +1 -1
  113. package/artifacts/contracts/oracle/Oracle.sol/Oracle.json +127 -123
  114. package/artifacts/contracts/oracle/OracleService.sol/OracleService.dbg.json +1 -1
  115. package/artifacts/contracts/oracle/OracleService.sol/OracleService.json +156 -81
  116. package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.dbg.json +1 -1
  117. package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.json +130 -45
  118. package/artifacts/contracts/pool/BasicPool.sol/BasicPool.dbg.json +1 -1
  119. package/artifacts/contracts/pool/BasicPool.sol/BasicPool.json +146 -142
  120. package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.dbg.json +1 -1
  121. package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.json +114 -22
  122. package/artifacts/contracts/pool/BundleService.sol/BundleService.dbg.json +1 -1
  123. package/artifacts/contracts/pool/BundleService.sol/BundleService.json +161 -156
  124. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.dbg.json +1 -1
  125. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.json +124 -75
  126. package/artifacts/contracts/pool/IBundleService.sol/IBundleService.dbg.json +1 -1
  127. package/artifacts/contracts/pool/IBundleService.sol/IBundleService.json +74 -35
  128. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.dbg.json +1 -1
  129. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.json +133 -135
  130. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.dbg.json +1 -1
  131. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.json +298 -187
  132. package/artifacts/contracts/pool/Pool.sol/Pool.dbg.json +1 -1
  133. package/artifacts/contracts/pool/Pool.sol/Pool.json +146 -153
  134. package/artifacts/contracts/pool/PoolService.sol/PoolService.dbg.json +1 -1
  135. package/artifacts/contracts/pool/PoolService.sol/PoolService.json +421 -264
  136. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.dbg.json +1 -1
  137. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.json +146 -49
  138. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.dbg.json +1 -1
  139. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.json +135 -54
  140. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +1 -1
  141. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.json +106 -45
  142. package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.dbg.json +1 -1
  143. package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.json +186 -136
  144. package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.dbg.json +1 -1
  145. package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.json +82 -22
  146. package/artifacts/contracts/product/ClaimService.sol/ClaimService.dbg.json +1 -1
  147. package/artifacts/contracts/product/ClaimService.sol/ClaimService.json +328 -131
  148. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +1 -1
  149. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.json +146 -69
  150. package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.dbg.json +1 -1
  151. package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.json +89 -9
  152. package/artifacts/contracts/product/IClaimService.sol/IClaimService.dbg.json +1 -1
  153. package/artifacts/contracts/product/IClaimService.sol/IClaimService.json +206 -10
  154. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.dbg.json +1 -1
  155. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.json +154 -21
  156. package/artifacts/contracts/product/IPricingService.sol/IPricingService.dbg.json +1 -1
  157. package/artifacts/contracts/product/IPricingService.sol/IPricingService.json +105 -52
  158. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.dbg.json +1 -1
  159. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.json +172 -117
  160. package/artifacts/contracts/product/IRiskService.sol/IRiskService.dbg.json +1 -1
  161. package/artifacts/contracts/product/IRiskService.sol/IRiskService.json +55 -2
  162. package/artifacts/contracts/product/PolicyService.sol/PolicyService.dbg.json +1 -1
  163. package/artifacts/contracts/product/PolicyService.sol/PolicyService.json +264 -130
  164. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +1 -1
  165. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.json +140 -63
  166. package/artifacts/contracts/product/PricingService.sol/PricingService.dbg.json +1 -1
  167. package/artifacts/contracts/product/PricingService.sol/PricingService.json +185 -115
  168. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.dbg.json +1 -1
  169. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.json +123 -54
  170. package/artifacts/contracts/product/Product.sol/Product.dbg.json +1 -1
  171. package/artifacts/contracts/product/Product.sol/Product.json +182 -132
  172. package/artifacts/contracts/product/RiskService.sol/RiskService.dbg.json +1 -1
  173. package/artifacts/contracts/product/RiskService.sol/RiskService.json +117 -63
  174. package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.dbg.json +1 -1
  175. package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.json +115 -42
  176. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
  177. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +2 -2
  178. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
  179. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +98 -17
  180. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +1 -1
  181. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +144 -41
  182. package/artifacts/contracts/registry/IRelease.sol/IRelease.dbg.json +4 -0
  183. package/artifacts/contracts/registry/IRelease.sol/IRelease.json +24 -0
  184. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +1 -1
  185. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.json +5 -18
  186. package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
  187. package/artifacts/contracts/registry/Registry.sol/Registry.json +142 -53
  188. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.dbg.json +1 -1
  189. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.json +257 -254
  190. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +1 -1
  191. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +112 -183
  192. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +1 -1
  193. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +102 -37
  194. package/artifacts/contracts/registry/ReleaseAdmin.sol/ReleaseAdmin.dbg.json +4 -0
  195. package/artifacts/contracts/registry/ReleaseAdmin.sol/ReleaseAdmin.json +1795 -0
  196. package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.dbg.json +1 -1
  197. package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.json +47 -6
  198. package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.dbg.json +1 -1
  199. package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.json +406 -250
  200. package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.dbg.json +1 -1
  201. package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.json +66 -8
  202. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +1 -1
  203. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +3 -3
  204. package/artifacts/contracts/shared/Component.sol/Component.dbg.json +1 -1
  205. package/artifacts/contracts/shared/Component.sol/Component.json +105 -83
  206. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.dbg.json +1 -1
  207. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.json +493 -480
  208. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.dbg.json +1 -1
  209. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.json +139 -76
  210. package/artifacts/contracts/shared/ComponentVerifyingService.sol/ComponentVerifyingService.dbg.json +1 -1
  211. package/artifacts/contracts/shared/ComponentVerifyingService.sol/ComponentVerifyingService.json +60 -2
  212. package/artifacts/contracts/shared/ContractLib.sol/ContractLib.dbg.json +1 -1
  213. package/artifacts/contracts/shared/ContractLib.sol/ContractLib.json +454 -5
  214. package/artifacts/contracts/shared/ContractLib.sol/IInstanceAdminHelper.dbg.json +4 -0
  215. package/artifacts/contracts/shared/ContractLib.sol/IInstanceAdminHelper.json +24 -0
  216. package/artifacts/contracts/shared/ContractLib.sol/ITargetHelper.dbg.json +4 -0
  217. package/artifacts/contracts/shared/ContractLib.sol/ITargetHelper.json +30 -0
  218. package/artifacts/contracts/shared/ContractLib.sol/ITokenRegistryHelper.dbg.json +4 -0
  219. package/artifacts/contracts/shared/ContractLib.sol/ITokenRegistryHelper.json +40 -0
  220. package/artifacts/contracts/shared/IComponent.sol/IComponent.dbg.json +1 -1
  221. package/artifacts/contracts/shared/IComponent.sol/IComponent.json +92 -65
  222. package/artifacts/contracts/shared/IComponentService.sol/IComponentService.dbg.json +1 -1
  223. package/artifacts/contracts/shared/IComponentService.sol/IComponentService.json +448 -260
  224. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.dbg.json +1 -1
  225. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.json +113 -104
  226. package/artifacts/contracts/shared/IKeyValueStore.sol/IKeyValueStore.dbg.json +1 -1
  227. package/artifacts/contracts/shared/IKeyValueStore.sol/IKeyValueStore.json +36 -0
  228. package/artifacts/contracts/shared/ILifecycle.sol/ILifecycle.dbg.json +1 -1
  229. package/artifacts/contracts/shared/ILifecycle.sol/ILifecycle.json +36 -0
  230. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +1 -1
  231. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.json +16 -0
  232. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.dbg.json +1 -1
  233. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.json +1 -1
  234. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
  235. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +148 -0
  236. package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.dbg.json +1 -1
  237. package/artifacts/contracts/shared/IService.sol/IService.dbg.json +1 -1
  238. package/artifacts/contracts/shared/IService.sol/IService.json +55 -2
  239. package/artifacts/contracts/shared/InitializableERC165.sol/InitializableERC165.dbg.json +1 -1
  240. package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.dbg.json +1 -1
  241. package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.json +126 -122
  242. package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.dbg.json +1 -1
  243. package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.json +42 -1
  244. package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.dbg.json +1 -1
  245. package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.json +42 -1
  246. package/artifacts/contracts/shared/NftIdSet.sol/NftIdSet.dbg.json +1 -1
  247. package/artifacts/contracts/shared/NftIdSet.sol/NftIdSet.json +2 -2
  248. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +1 -1
  249. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +18 -2
  250. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.dbg.json +1 -1
  251. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.json +3 -3
  252. package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
  253. package/artifacts/contracts/shared/Registerable.sol/Registerable.json +152 -38
  254. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.dbg.json +1 -1
  255. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.json +2 -2
  256. package/artifacts/contracts/shared/Service.sol/Service.dbg.json +1 -1
  257. package/artifacts/contracts/shared/Service.sol/Service.json +60 -2
  258. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +1 -1
  259. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +388 -35
  260. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandlerBase.dbg.json +4 -0
  261. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandlerBase.json +395 -0
  262. package/artifacts/contracts/shared/TokenHandlerDeployerLib.sol/TokenHandlerDeployerLib.dbg.json +1 -1
  263. package/artifacts/contracts/shared/TokenHandlerDeployerLib.sol/TokenHandlerDeployerLib.json +88 -24
  264. package/artifacts/contracts/staking/IStaking.sol/IStaking.dbg.json +1 -1
  265. package/artifacts/contracts/staking/IStaking.sol/IStaking.json +110 -101
  266. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.dbg.json +1 -1
  267. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.json +55 -23
  268. package/artifacts/contracts/staking/StakeManagerLib.sol/StakeManagerLib.dbg.json +1 -1
  269. package/artifacts/contracts/staking/StakeManagerLib.sol/StakeManagerLib.json +3 -3
  270. package/artifacts/contracts/staking/Staking.sol/Staking.dbg.json +1 -1
  271. package/artifacts/contracts/staking/Staking.sol/Staking.json +192 -171
  272. package/artifacts/contracts/staking/StakingLifecycle.sol/StakingLifecycle.dbg.json +1 -1
  273. package/artifacts/contracts/staking/StakingLifecycle.sol/StakingLifecycle.json +46 -5
  274. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.dbg.json +1 -1
  275. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.json +127 -53
  276. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.dbg.json +1 -1
  277. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.json +7 -12
  278. package/artifacts/contracts/staking/StakingService.sol/StakingService.dbg.json +1 -1
  279. package/artifacts/contracts/staking/StakingService.sol/StakingService.json +103 -62
  280. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.dbg.json +1 -1
  281. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.json +106 -41
  282. package/artifacts/contracts/staking/StakingStore.sol/StakingStore.dbg.json +1 -1
  283. package/artifacts/contracts/staking/StakingStore.sol/StakingStore.json +145 -104
  284. package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.dbg.json +1 -1
  285. package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.json +3 -3
  286. package/artifacts/contracts/type/AddressSet.sol/LibAddressSet.dbg.json +1 -1
  287. package/artifacts/contracts/type/Amount.sol/AmountLib.dbg.json +1 -1
  288. package/artifacts/contracts/type/Amount.sol/AmountLib.json +33 -9
  289. package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.dbg.json +1 -1
  290. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.dbg.json +1 -1
  291. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.json +28 -4
  292. package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.dbg.json +1 -1
  293. package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.json +2 -2
  294. package/artifacts/contracts/type/Fee.sol/FeeLib.dbg.json +1 -1
  295. package/artifacts/contracts/type/Fee.sol/FeeLib.json +3 -3
  296. package/artifacts/contracts/type/Key32.sol/Key32Lib.dbg.json +1 -1
  297. package/artifacts/contracts/type/Key32.sol/Key32Lib.json +2 -2
  298. package/artifacts/contracts/type/Key32Set.sol/LibKey32Set.dbg.json +4 -0
  299. package/artifacts/contracts/type/Key32Set.sol/LibKey32Set.json +33 -0
  300. package/artifacts/contracts/type/NftId.sol/NftIdLib.dbg.json +1 -1
  301. package/artifacts/contracts/type/NftId.sol/NftIdLib.json +23 -4
  302. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.dbg.json +1 -1
  303. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.json +2 -2
  304. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.dbg.json +1 -1
  305. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.json +2 -2
  306. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.dbg.json +1 -1
  307. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.json +19 -19
  308. package/artifacts/contracts/type/Referral.sol/ReferralLib.dbg.json +1 -1
  309. package/artifacts/contracts/type/Referral.sol/ReferralLib.json +2 -2
  310. package/artifacts/contracts/type/RequestId.sol/RequestIdLib.dbg.json +1 -1
  311. package/artifacts/contracts/type/RequestId.sol/RequestIdLib.json +2 -2
  312. package/artifacts/contracts/type/RiskId.sol/RiskIdLib.dbg.json +1 -1
  313. package/artifacts/contracts/type/RiskId.sol/RiskIdLib.json +118 -5
  314. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.dbg.json +1 -1
  315. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.json +3 -3
  316. package/artifacts/contracts/type/Seconds.sol/SecondsLib.dbg.json +1 -1
  317. package/artifacts/contracts/type/Selector.sol/SelectorLib.dbg.json +1 -1
  318. package/artifacts/contracts/type/Selector.sol/SelectorSetLib.dbg.json +1 -1
  319. package/artifacts/contracts/type/StateId.sol/StateIdLib.dbg.json +1 -1
  320. package/artifacts/contracts/type/StateId.sol/StateIdLib.json +15 -2
  321. package/artifacts/contracts/type/String.sol/StrLib.dbg.json +1 -1
  322. package/artifacts/contracts/type/Timestamp.sol/TimestampLib.dbg.json +1 -1
  323. package/artifacts/contracts/type/Timestamp.sol/TimestampLib.json +2 -2
  324. package/artifacts/contracts/type/UFixed.sol/UFixedLib.dbg.json +1 -1
  325. package/artifacts/contracts/type/UFixed.sol/UFixedLib.json +16 -3
  326. package/artifacts/contracts/type/Version.sol/VersionLib.dbg.json +1 -1
  327. package/artifacts/contracts/type/Version.sol/VersionLib.json +2 -21
  328. package/artifacts/contracts/type/Version.sol/VersionPartLib.dbg.json +1 -1
  329. package/artifacts/contracts/type/Version.sol/VersionPartLib.json +47 -2
  330. package/artifacts/contracts/upgradeability/IVersionable.sol/IVersionable.dbg.json +1 -1
  331. package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.dbg.json +1 -1
  332. package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.json +79 -27
  333. package/artifacts/contracts/upgradeability/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +1 -1
  334. package/artifacts/contracts/upgradeability/Versionable.sol/Versionable.dbg.json +1 -1
  335. package/contracts/accounting/AccountingService.sol +262 -0
  336. package/contracts/accounting/AccountingServiceManager.sol +38 -0
  337. package/contracts/accounting/IAccountingService.sol +45 -0
  338. package/contracts/authorization/AccessAdmin.sol +195 -128
  339. package/contracts/authorization/AccessManagerCloneable.sol +136 -3
  340. package/contracts/authorization/Authorization.sol +111 -39
  341. package/contracts/authorization/IAccess.sol +1 -0
  342. package/contracts/authorization/IAccessAdmin.sol +10 -5
  343. package/contracts/authorization/IAuthorization.sol +13 -7
  344. package/contracts/authorization/IServiceAuthorization.sol +3 -1
  345. package/contracts/authorization/ServiceAuthorization.sol +26 -10
  346. package/contracts/distribution/BasicDistribution.sol +8 -7
  347. package/contracts/distribution/BasicDistributionAuthorization.sol +1 -1
  348. package/contracts/distribution/Distribution.sol +32 -40
  349. package/contracts/distribution/DistributionService.sol +86 -65
  350. package/contracts/distribution/DistributionServiceManager.sol +6 -6
  351. package/contracts/distribution/IDistributionComponent.sol +1 -1
  352. package/contracts/distribution/IDistributionService.sol +5 -6
  353. package/contracts/examples/fire/DamageLevel.sol +59 -0
  354. package/contracts/examples/fire/FirePool.sol +90 -0
  355. package/contracts/examples/fire/FirePoolAuthorization.sol +35 -0
  356. package/contracts/examples/fire/FireProduct.sol +436 -0
  357. package/contracts/examples/fire/FireProductAuthorization.sol +45 -0
  358. package/contracts/examples/fire/FireUSD.sol +26 -0
  359. package/contracts/examples/unpermissioned/SimpleDistribution.sol +11 -4
  360. package/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol +28 -0
  361. package/contracts/examples/unpermissioned/SimpleOracle.sol +4 -4
  362. package/contracts/examples/unpermissioned/SimplePool.sol +37 -6
  363. package/contracts/examples/unpermissioned/SimplePoolAuthorization.sol +28 -0
  364. package/contracts/examples/unpermissioned/SimpleProduct.sol +38 -23
  365. package/contracts/examples/unpermissioned/SimpleProductAuthorization.sol +28 -0
  366. package/contracts/instance/BundleSet.sol +38 -34
  367. package/contracts/instance/IInstance.sol +12 -9
  368. package/contracts/instance/IInstanceService.sol +9 -29
  369. package/contracts/instance/Instance.sol +40 -34
  370. package/contracts/instance/InstanceAdmin.sol +114 -73
  371. package/contracts/instance/InstanceAuthorizationV3.sol +51 -32
  372. package/contracts/instance/InstanceReader.sol +171 -20
  373. package/contracts/instance/InstanceService.sol +86 -149
  374. package/contracts/instance/InstanceServiceManager.sol +6 -7
  375. package/contracts/instance/RiskSet.sol +117 -0
  376. package/contracts/instance/base/ObjectCounter.sol +1 -2
  377. package/contracts/instance/base/ObjectLifecycle.sol +2 -1
  378. package/contracts/instance/base/ObjectSet.sol +24 -25
  379. package/contracts/instance/module/IComponents.sol +10 -6
  380. package/contracts/instance/module/IPolicy.sol +4 -3
  381. package/contracts/instance/module/IRisk.sol +3 -0
  382. package/contracts/oracle/BasicOracle.sol +0 -1
  383. package/contracts/oracle/IOracleService.sol +2 -1
  384. package/contracts/oracle/Oracle.sol +5 -16
  385. package/contracts/oracle/OracleService.sol +110 -80
  386. package/contracts/oracle/OracleServiceManager.sol +6 -6
  387. package/contracts/pool/BasicPool.sol +33 -24
  388. package/contracts/pool/BasicPoolAuthorization.sol +12 -2
  389. package/contracts/pool/BundleService.sol +74 -87
  390. package/contracts/pool/BundleServiceManager.sol +6 -6
  391. package/contracts/pool/IBundleService.sol +2 -15
  392. package/contracts/pool/IPoolComponent.sol +19 -15
  393. package/contracts/pool/IPoolService.sol +30 -37
  394. package/contracts/pool/Pool.sol +141 -122
  395. package/contracts/pool/PoolService.sol +265 -159
  396. package/contracts/pool/PoolServiceManager.sol +4 -4
  397. package/contracts/product/ApplicationService.sol +32 -21
  398. package/contracts/product/ApplicationServiceManager.sol +4 -4
  399. package/contracts/product/BasicProduct.sol +8 -12
  400. package/contracts/product/BasicProductAuthorization.sol +1 -3
  401. package/contracts/product/ClaimService.sol +298 -127
  402. package/contracts/product/ClaimServiceManager.sol +4 -4
  403. package/contracts/product/IApplicationService.sol +5 -2
  404. package/contracts/product/IClaimService.sol +16 -2
  405. package/contracts/product/IPolicyService.sol +25 -10
  406. package/contracts/product/IPricingService.sol +9 -9
  407. package/contracts/product/IProductComponent.sol +23 -3
  408. package/contracts/product/PolicyService.sol +296 -198
  409. package/contracts/product/PolicyServiceManager.sol +4 -4
  410. package/contracts/product/PricingService.sol +14 -14
  411. package/contracts/product/PricingServiceManager.sol +4 -4
  412. package/contracts/product/Product.sol +100 -74
  413. package/contracts/product/RiskService.sol +79 -25
  414. package/contracts/product/RiskServiceManager.sol +4 -4
  415. package/contracts/registry/ChainNft.sol +10 -11
  416. package/contracts/registry/IRegistry.sol +14 -18
  417. package/contracts/registry/IRegistryService.sol +5 -12
  418. package/contracts/registry/IRelease.sol +26 -0
  419. package/contracts/registry/ITransferInterceptor.sol +1 -2
  420. package/contracts/registry/Registry.sol +32 -8
  421. package/contracts/registry/RegistryAdmin.sol +121 -241
  422. package/contracts/registry/RegistryService.sol +36 -47
  423. package/contracts/registry/RegistryServiceManager.sol +3 -3
  424. package/contracts/registry/ReleaseAdmin.sol +245 -0
  425. package/contracts/registry/ReleaseLifecycle.sol +8 -3
  426. package/contracts/registry/ReleaseRegistry.sol +257 -237
  427. package/contracts/registry/ServiceAuthorizationV3.sol +93 -50
  428. package/contracts/registry/TokenRegistry.sol +5 -7
  429. package/contracts/shared/Component.sol +67 -109
  430. package/contracts/shared/ComponentService.sol +381 -332
  431. package/contracts/shared/ComponentServiceManager.sol +8 -5
  432. package/contracts/shared/ComponentVerifyingService.sol +27 -16
  433. package/contracts/shared/ContractLib.sol +223 -9
  434. package/contracts/shared/IComponent.sol +8 -17
  435. package/contracts/shared/IComponentService.sol +45 -37
  436. package/contracts/shared/IInstanceLinkedComponent.sol +3 -22
  437. package/contracts/shared/ILifecycle.sol +3 -1
  438. package/contracts/shared/INftOwnable.sol +2 -0
  439. package/contracts/shared/IRegisterable.sol +23 -1
  440. package/contracts/shared/IService.sol +3 -5
  441. package/contracts/shared/InstanceLinkedComponent.sol +68 -43
  442. package/contracts/shared/KeyValueStore.sol +1 -1
  443. package/contracts/shared/Lifecycle.sol +15 -4
  444. package/contracts/shared/NftOwnable.sol +26 -6
  445. package/contracts/shared/PolicyHolder.sol +5 -1
  446. package/contracts/shared/Registerable.sol +53 -19
  447. package/contracts/shared/RegistryLinked.sol +7 -13
  448. package/contracts/shared/Service.sol +13 -30
  449. package/contracts/shared/TokenHandler.sol +316 -66
  450. package/contracts/shared/TokenHandlerDeployerLib.sol +10 -2
  451. package/contracts/staking/IStaking.sol +9 -4
  452. package/contracts/staking/IStakingService.sol +0 -3
  453. package/contracts/staking/Staking.sol +64 -36
  454. package/contracts/staking/StakingManager.sol +8 -6
  455. package/contracts/staking/StakingReader.sol +12 -5
  456. package/contracts/staking/StakingService.sol +56 -24
  457. package/contracts/staking/StakingServiceManager.sol +2 -2
  458. package/contracts/type/Amount.sol +15 -0
  459. package/contracts/type/ClaimId.sol +6 -1
  460. package/contracts/type/Key32.sol +2 -2
  461. package/contracts/type/Key32Set.sol +62 -0
  462. package/contracts/type/NftId.sol +7 -0
  463. package/contracts/type/ObjectType.sol +11 -0
  464. package/contracts/type/PayoutId.sol +10 -10
  465. package/contracts/type/RiskId.sol +35 -4
  466. package/contracts/type/RoleId.sol +4 -13
  467. package/contracts/type/StateId.sol +14 -1
  468. package/contracts/type/Timestamp.sol +0 -5
  469. package/contracts/type/UFixed.sol +13 -119
  470. package/contracts/type/Version.sol +15 -5
  471. package/contracts/upgradeability/ProxyManager.sol +68 -34
  472. package/contracts/upgradeability/Versionable.sol +2 -2
  473. package/package.json +4 -3
  474. package/artifacts/contracts/authorization/IModuleAuthorization.sol/IModuleAuthorization.dbg.json +0 -4
  475. package/artifacts/contracts/authorization/IModuleAuthorization.sol/IModuleAuthorization.json +0 -290
  476. package/artifacts/contracts/authorization/ModuleAuthorization.sol/ModuleAuthorization.dbg.json +0 -4
  477. package/artifacts/contracts/authorization/ModuleAuthorization.sol/ModuleAuthorization.json +0 -390
  478. package/artifacts/contracts/shared/InitializableCustom.sol/InitializableCustom.dbg.json +0 -4
  479. package/artifacts/contracts/shared/InitializableCustom.sol/InitializableCustom.json +0 -39
  480. package/artifacts/contracts/type/UFixed.sol/MathLib.dbg.json +0 -4
  481. package/artifacts/contracts/type/UFixed.sol/MathLib.json +0 -16
  482. package/contracts/authorization/IModuleAuthorization.sol +0 -21
  483. package/contracts/authorization/ModuleAuthorization.sol +0 -78
  484. package/contracts/shared/InitializableCustom.sol +0 -177
@@ -41,6 +41,17 @@
41
41
  "name": "AccessManagedUnauthorized",
42
42
  "type": "error"
43
43
  },
44
+ {
45
+ "inputs": [
46
+ {
47
+ "internalType": "address",
48
+ "name": "authority",
49
+ "type": "address"
50
+ }
51
+ ],
52
+ "name": "ErrorAuthorityInvalid",
53
+ "type": "error"
54
+ },
44
55
  {
45
56
  "inputs": [
46
57
  {
@@ -134,6 +145,39 @@
134
145
  "name": "ErrorInstanceInstanceStoreAuthorityMismatch",
135
146
  "type": "error"
136
147
  },
148
+ {
149
+ "inputs": [
150
+ {
151
+ "internalType": "address",
152
+ "name": "instanceRiskSet",
153
+ "type": "address"
154
+ }
155
+ ],
156
+ "name": "ErrorInstanceRiskSetAlreadySet",
157
+ "type": "error"
158
+ },
159
+ {
160
+ "inputs": [
161
+ {
162
+ "internalType": "address",
163
+ "name": "instanceAuthority",
164
+ "type": "address"
165
+ }
166
+ ],
167
+ "name": "ErrorInstanceRiskSetAuthorityMismatch",
168
+ "type": "error"
169
+ },
170
+ {
171
+ "inputs": [
172
+ {
173
+ "internalType": "address",
174
+ "name": "instance",
175
+ "type": "address"
176
+ }
177
+ ],
178
+ "name": "ErrorInstanceRiskSetInstanceMismatch",
179
+ "type": "error"
180
+ },
137
181
  {
138
182
  "inputs": [
139
183
  {
@@ -161,6 +205,22 @@
161
205
  "name": "ErrorNftOwnableInitialOwnerZero",
162
206
  "type": "error"
163
207
  },
208
+ {
209
+ "inputs": [
210
+ {
211
+ "internalType": "NftId",
212
+ "name": "nftId",
213
+ "type": "uint96"
214
+ },
215
+ {
216
+ "internalType": "ObjectType",
217
+ "name": "expectedObjectType",
218
+ "type": "uint8"
219
+ }
220
+ ],
221
+ "name": "ErrorNftOwnableInvalidType",
222
+ "type": "error"
223
+ },
164
224
  {
165
225
  "inputs": [
166
226
  {
@@ -183,6 +243,11 @@
183
243
  "name": "ErrorNotRegistry",
184
244
  "type": "error"
185
245
  },
246
+ {
247
+ "inputs": [],
248
+ "name": "ErrorRegisterableNotActive",
249
+ "type": "error"
250
+ },
186
251
  {
187
252
  "inputs": [],
188
253
  "name": "InvalidInitialization",
@@ -219,19 +284,6 @@
219
284
  "name": "Initialized",
220
285
  "type": "event"
221
286
  },
222
- {
223
- "inputs": [],
224
- "name": "GIF_MAJOR_VERSION",
225
- "outputs": [
226
- {
227
- "internalType": "uint256",
228
- "name": "",
229
- "type": "uint256"
230
- }
231
- ],
232
- "stateMutability": "view",
233
- "type": "function"
234
- },
235
287
  {
236
288
  "inputs": [],
237
289
  "name": "NFT_OWNABLE_STORAGE_LOCATION_V1",
@@ -422,25 +474,25 @@
422
474
  },
423
475
  {
424
476
  "inputs": [],
425
- "name": "getMajorVersion",
477
+ "name": "getNftId",
426
478
  "outputs": [
427
479
  {
428
- "internalType": "VersionPart",
429
- "name": "majorVersion",
430
- "type": "uint8"
480
+ "internalType": "NftId",
481
+ "name": "",
482
+ "type": "uint96"
431
483
  }
432
484
  ],
433
- "stateMutability": "pure",
485
+ "stateMutability": "view",
434
486
  "type": "function"
435
487
  },
436
488
  {
437
489
  "inputs": [],
438
- "name": "getNftId",
490
+ "name": "getOwner",
439
491
  "outputs": [
440
492
  {
441
- "internalType": "NftId",
493
+ "internalType": "address",
442
494
  "name": "",
443
- "type": "uint96"
495
+ "type": "address"
444
496
  }
445
497
  ],
446
498
  "stateMutability": "view",
@@ -448,10 +500,10 @@
448
500
  },
449
501
  {
450
502
  "inputs": [],
451
- "name": "getOwner",
503
+ "name": "getRegistry",
452
504
  "outputs": [
453
505
  {
454
- "internalType": "address",
506
+ "internalType": "contract IRegistry",
455
507
  "name": "",
456
508
  "type": "address"
457
509
  }
@@ -461,10 +513,23 @@
461
513
  },
462
514
  {
463
515
  "inputs": [],
464
- "name": "getRegistry",
516
+ "name": "getRelease",
465
517
  "outputs": [
466
518
  {
467
- "internalType": "contract IRegistry",
519
+ "internalType": "VersionPart",
520
+ "name": "release",
521
+ "type": "uint8"
522
+ }
523
+ ],
524
+ "stateMutability": "view",
525
+ "type": "function"
526
+ },
527
+ {
528
+ "inputs": [],
529
+ "name": "getRiskSet",
530
+ "outputs": [
531
+ {
532
+ "internalType": "contract RiskSet",
468
533
  "name": "",
469
534
  "type": "address"
470
535
  }
@@ -504,7 +569,12 @@
504
569
  },
505
570
  {
506
571
  "internalType": "contract BundleSet",
507
- "name": "bundleManager",
572
+ "name": "bundleSet",
573
+ "type": "address"
574
+ },
575
+ {
576
+ "internalType": "contract RiskSet",
577
+ "name": "riskSet",
508
578
  "type": "address"
509
579
  },
510
580
  {
@@ -528,6 +598,19 @@
528
598
  "stateMutability": "nonpayable",
529
599
  "type": "function"
530
600
  },
601
+ {
602
+ "inputs": [],
603
+ "name": "isActive",
604
+ "outputs": [
605
+ {
606
+ "internalType": "bool",
607
+ "name": "active",
608
+ "type": "bool"
609
+ }
610
+ ],
611
+ "stateMutability": "view",
612
+ "type": "function"
613
+ },
531
614
  {
532
615
  "inputs": [],
533
616
  "name": "isConsumingScheduledOp",
@@ -554,24 +637,6 @@
554
637
  "stateMutability": "nonpayable",
555
638
  "type": "function"
556
639
  },
557
- {
558
- "inputs": [
559
- {
560
- "internalType": "address",
561
- "name": "to",
562
- "type": "address"
563
- },
564
- {
565
- "internalType": "uint256",
566
- "name": "tokenId",
567
- "type": "uint256"
568
- }
569
- ],
570
- "name": "nftMint",
571
- "outputs": [],
572
- "stateMutability": "nonpayable",
573
- "type": "function"
574
- },
575
640
  {
576
641
  "inputs": [
577
642
  {
@@ -588,6 +653,11 @@
588
653
  "internalType": "uint256",
589
654
  "name": "tokenId",
590
655
  "type": "uint256"
656
+ },
657
+ {
658
+ "internalType": "address",
659
+ "name": "operator",
660
+ "type": "address"
591
661
  }
592
662
  ],
593
663
  "name": "nftTransferFrom",
@@ -608,6 +678,25 @@
608
678
  "stateMutability": "nonpayable",
609
679
  "type": "function"
610
680
  },
681
+ {
682
+ "inputs": [
683
+ {
684
+ "internalType": "address",
685
+ "name": "product",
686
+ "type": "address"
687
+ }
688
+ ],
689
+ "name": "registerProduct",
690
+ "outputs": [
691
+ {
692
+ "internalType": "NftId",
693
+ "name": "productNftId",
694
+ "type": "uint96"
695
+ }
696
+ ],
697
+ "stateMutability": "nonpayable",
698
+ "type": "function"
699
+ },
611
700
  {
612
701
  "inputs": [
613
702
  {
@@ -652,6 +741,24 @@
652
741
  "stateMutability": "nonpayable",
653
742
  "type": "function"
654
743
  },
744
+ {
745
+ "inputs": [
746
+ {
747
+ "internalType": "address",
748
+ "name": "target",
749
+ "type": "address"
750
+ },
751
+ {
752
+ "internalType": "bool",
753
+ "name": "locked",
754
+ "type": "bool"
755
+ }
756
+ ],
757
+ "name": "setLocked",
758
+ "outputs": [],
759
+ "stateMutability": "nonpayable",
760
+ "type": "function"
761
+ },
655
762
  {
656
763
  "inputs": [
657
764
  {
@@ -701,24 +808,6 @@
701
808
  "stateMutability": "nonpayable",
702
809
  "type": "function"
703
810
  },
704
- {
705
- "inputs": [
706
- {
707
- "internalType": "address",
708
- "name": "target",
709
- "type": "address"
710
- },
711
- {
712
- "internalType": "bool",
713
- "name": "locked",
714
- "type": "bool"
715
- }
716
- ],
717
- "name": "setTargetLocked",
718
- "outputs": [],
719
- "stateMutability": "nonpayable",
720
- "type": "function"
721
- },
722
811
  {
723
812
  "inputs": [
724
813
  {
@@ -758,56 +847,64 @@
758
847
  "type": "function"
759
848
  }
760
849
  ],
761
- "bytecode": "0x6080604052348015600e575f80fd5b5061223e8061001c5f395ff3fe608060405234801561000f575f80fd5b50600436106101dc575f3560e01c80638689231311610109578063bf7e214f1161009e578063d4cda0d81161006e578063d4cda0d814610463578063e52ba1cb14610474578063e7f7fb8614610487578063f7bc431c1461049a575f80fd5b8063bf7e214f146103fb578063cc2a9a5b14610403578063cde749f414610416578063d2192dbf14610430575f80fd5b8063b428b0b0116100d9578063b428b0b0146103b4578063b7d2b162146103c7578063b7d68519146103d5578063bb1e0e59146103e8575f80fd5b80638689231314610369578063893d20e8146103775780638fb360371461037f578063ada9652e146103a0575f80fd5b80632d764ef81161017f5780635fa8aad41161014f5780635fa8aad414610315578063644c45e0146103285780636dddada4146103455780637a9e5e4b14610356575f80fd5b80632d764ef8146102cd578063311adb68146102e05780634f8b8aba146102f15780635ab1bd5314610304575f80fd5b8063138461e0116101ba578063138461e01461025b5780631eff4b221461027b5780632781d443146102b057806329db8c3d146102b8575f80fd5b806301ffc9a7146101e057806302cd3071146102215780630fec111c14610246575b5f80fd5b61020c6101ee366004611a66565b6001600160e01b0319165f9081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b6004546001600160a01b03165b6040516001600160a01b039091168152602001610218565b61024e6104ad565b6040516102189190611ac2565b61026361066b565b6040516001600160601b039091168152602001610218565b6102a27f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b604051908152602001610218565b6102a2600381565b6102cb6102c6366004611c09565b61067a565b005b6102cb6102db366004611cb2565b6106c0565b6003546001600160a01b031661022e565b6102cb6102ff366004611cea565b61075e565b6001546001600160a01b031661022e565b6102cb610323366004611d19565b610806565b5f805160206121c9833981519152546001600160601b0316610263565b6005546001600160a01b031661022e565b6102cb610364366004611d65565b610845565b6102cb610323366004611d8d565b61022e6108c7565b6103876109f8565b6040516001600160e01b03199091168152602001610218565b6102a25f805160206121c983398151915281565b6102cb6103c2366004611dc4565b610a2d565b6102cb610323366004611dc4565b6102cb6103e3366004611dee565b610aa9565b6102cb6103f6366004611e05565b610b15565b61022e610b9c565b6102cb610411366004611e2f565b610bb7565b61041e61104f565b60405160ff9091168152602001610218565b61044361043e366004611ead565b6110c3565b604080516001600160401b03938416815292909116602083015201610218565b6006546001600160a01b031661022e565b610263610482366004611cea565b611107565b6102cb610495366004611efa565b6111bf565b6102cb6104a8366004611d65565b61124b565b6040805160e0810182525f8082526020820181905291810182905260608082018390526080820183905260a082019290925260c08101919091525f7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e0016040528073__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af415801561055d573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906105819190611f38565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a0016105c96108c7565b6001600160a01b031681526020018260010180546105e690611f53565b80601f016020809104026020016040519081016040528092919081815260200182805461061290611f53565b801561065d5780601f106106345761010080835404028352916020019161065d565b820191905f5260205f20905b81548152906001019060200180831161064057829003601f168201915b505050505081525091505090565b5f6106753061130b565b905090565b6106826108c7565b6001600160a01b0316336001600160a01b0316146106ba5760405163086391f760e31b81523360048201526024015b60405180910390fd5b50505050565b6106c86108c7565b6001600160a01b0316336001600160a01b0316146106fb5760405163086391f760e31b81523360048201526024016106b1565b6002546040516305aec9df60e31b815264ffffffffff831660048201526001600160a01b0390911690632d764ef8906024015b5f604051808303815f87803b158015610745575f80fd5b505af1158015610757573d5f803e3d5ffd5b5050505050565b6107666108c7565b6001600160a01b0316336001600160a01b0316146107995760405163086391f760e31b81523360048201526024016106b1565b60025460405163511ab59d60e11b815233600482018190526001600160601b0384166024830152916001600160a01b03169063a2356b3a906044015b5f604051808303815f87803b1580156107ec575f80fd5b505af11580156107fe573d5f803e3d5ffd5b505050505050565b61080e6108c7565b6001600160a01b0316336001600160a01b0316146108415760405163086391f760e31b81523360048201526024016106b1565b5050565b3361084e610b9c565b6001600160a01b0316816001600160a01b0316146108895760405162d1953b60e31b81526001600160a01b03821660048201526024016106b1565b816001600160a01b03163b5f036108be576040516361798f2f60e11b81526001600160a01b03831660048201526024016106b1565b61084182611504565b5f805f805160206121c983398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015610933573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906109579190611f8b565b156109e2576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa1580156109b8573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906109dc9190611fa6565b91505090565b54600160601b90046001600160a01b0316919050565b5f805160206121e983398151915280545f9190600160a01b900460ff16610a1f575f6109dc565b638fb3603760e01b91505090565b610a356108c7565b6001600160a01b0316336001600160a01b031614610a685760405163086391f760e31b81523360048201526024016106b1565b600354604051630b428b0b60e41b81526001600160401b03841660048201526001600160a01b0383811660248301529091169063b428b0b0906044016107d5565b610ab16108c7565b6001600160a01b0316336001600160a01b031614610ae45760405163086391f760e31b81523360048201526024016106b1565b60025460405163b7d6851960e01b8152600481018390526001600160a01b039091169063b7d685199060240161072e565b6001546001600160a01b03166001600160a01b031663120726c36040518163ffffffff1660e01b8152600401602060405180830381865afa158015610b5c573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b809190611fa6565b6001600160a01b0316336001600160a01b031614610841575f80fd5b5f805160206121e9833981519152546001600160a01b031690565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a008054600160401b810460ff1615906001600160401b03165f81158015610bfb5750825b90505f826001600160401b03166001148015610c165750303b155b905081158015610c24575080155b15610c425760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315610c6c57845460ff60401b1916600160401b1785555b600380546001600160a01b0319166001600160a01b038d169081179091556040805163bf7e214f60e01b815290515f929163bf7e214f9160048083019260209291908290030181865afa158015610cc5573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610ce99190611fa6565b6001600160a01b031603610d10576040516377dbcd1760e01b815260040160405180910390fd5b6003546040805163bf7e214f60e01b81529051610d82926001600160a01b03169163bf7e214f9160048083019260209291908290030181865afa158015610d59573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610d7d9190611fa6565b611564565b610dff87886001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa158015610dc2573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610de69190611f38565b600a60018a60405180602001604052805f815250611578565b600680546001600160a01b03808d166001600160a01b03199283168117909355600580548d831690841617905560048054918c16919092161781556040805163204a7f0760e21b81529051638129fc1c92828101925f92919082900301818387803b158015610e6c575f80fd5b505af1158015610e7e573d5f803e3d5ffd5b5050505060055f9054906101000a90046001600160a01b03166001600160a01b0316638129fc1c6040518163ffffffff1660e01b81526004015f604051808303815f87803b158015610ece575f80fd5b505af1158015610ee0573d5f803e3d5ffd5b5050600480546040805163204a7f0760e21b815290516001600160a01b039092169450638129fc1c9350808301925f929182900301818387803b158015610f25575f80fd5b505af1158015610f37573d5f803e3d5ffd5b50505050610f4d6001546001600160a01b031690565b6001600160a01b031663d39e6043600a610f6561104f565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa158015610fa8573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610fcc9190611fa6565b600280546001600160a01b0319166001600160a01b0392909216919091179055610ffc632b1cb34b60e11b61161d565b831561104257845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b5050505050505050505050565b604051632392b61b60e21b8152600360048201525f9073__$b659da7d8a6d2d32aa6c1e17da23dc2174$__90638e4ad86c90602401602060405180830381865af415801561109f573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906106759190611fc1565b5f806110cd6108c7565b6001600160a01b0316336001600160a01b0316146111005760405163086391f760e31b81523360048201526024016106b1565b9250929050565b5f6111106108c7565b6001600160a01b0316336001600160a01b0316146111435760405163086391f760e31b81523360048201526024016106b1565b60025460405163e52ba1cb60e01b81526001600160601b03841660048201526001600160a01b039091169063e52ba1cb906024016020604051808303815f875af1158015611193573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906111b79190611f38565b90505b919050565b6001546001600160a01b03166001600160a01b031663120726c36040518163ffffffff1660e01b8152600401602060405180830381865afa158015611206573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061122a9190611fa6565b6001600160a01b0316336001600160a01b031614611246575f80fd5b505050565b611256335f36611649565b306001600160a01b0316816001600160a01b031663de7b5d146040518163ffffffff1660e01b8152600401602060405180830381865afa15801561129c573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906112c09190611fa6565b6001600160a01b0316146112e9576040516345789cf560e01b81523060048201526024016106b1565b600480546001600160a01b0319166001600160a01b0392909216919091179055565b5f805f805160206121c983398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015611377573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061139b9190611f8b565b156113c75780546040516301ab8b6760e21b81526001600160601b0390911660048201526024016106b1565b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038581166004830152919091169063c3c5a54790602401602060405180830381865afa158015611419573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061143d9190611f8b565b6114655760405163b9304b0d60e01b81526001600160a01b03841660048201526024016106b1565b6001546001600160a01b0316604051632f2a35f760e11b81526001600160a01b0385811660048301529190911690635e546bee90602401602060405180830381865afa1580156114b7573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906114db9190611f38565b81546bffffffffffffffffffffffff19166001600160601b039190911690811790915592915050565b5f805160206121e983398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b61156c61173f565b6115758161178a565b50565b61158061173f565b61158a828761179b565b7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0387166cffffffffffffffffffffffffff1990911617600160601b60ff8716021760ff60681b1916600160681b851515021781557f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa3016116138382612025565b5050505050505050565b61162561173f565b6001600160e01b0319165f908152602081905260409020805460ff19166001179055565b5f805160206121e98339815191525f80611681611664610b9c565b873061167360045f8a8c6120df565b61167c91612106565b611811565b91509150816107fe5763ffffffff81161561171c57825460ff60a01b1916600160a01b1783556116af610b9c565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b81526004016116de9392919061213e565b5f604051808303815f87803b1580156116f5575f80fd5b505af1158015611707573d5f803e3d5ffd5b5050845460ff60a01b19168555506107fe9050565b60405162d1953b60e31b81526001600160a01b03871660048201526024016106b1565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a0054600160401b900460ff1661178857604051631afcd79f60e31b815260040160405180910390fd5b565b61179261173f565b61157581611504565b6117a361173f565b6117ac81611919565b6117b4611a21565b6001600160a01b0382166117db5760405163f17ef42d60e01b815260040160405180910390fd5b505f805160206121c983398151915280546001600160601b0316600160601b6001600160a01b0390931692909202919091179055565b6040516001600160a01b03848116602483015283811660448301526001600160e01b0319831660648301525f9182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b1790525161187f919061217d565b5f60405180830381855afa9150503d805f81146118b7576040519150601f19603f3d011682016040523d82523d5f602084013e6118bc565b606091505b5091509150811561190e5760408151106118ee57808060200190518101906118e49190612193565b909450925061190e565b602081511061190e578080602001905181019061190b9190611f8b565b93505b505094509492505050565b61192161173f565b806001600160a01b03163b5f036119565760405163fdeac91f60e01b81526001600160a01b03821660048201526024016106b1565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b8152632f6da6f960e01b60048201526301ffc9a790602401602060405180830381865afa9250505080156119d0575060408051601f3d908101601f191682019092526119cd91810190611f8b565b60015b6119f85760405163fdeac91f60e01b81526001600160a01b03821660048201526024016106b1565b806108415760405163fdeac91f60e01b81526001600160a01b03831660048201526024016106b1565b611a2961173f565b6301ffc9a760e01b5f9081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b5f60208284031215611a76575f80fd5b81356001600160e01b031981168114611a8d575f80fd5b9392505050565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081526001600160601b0382511660208201526001600160601b03602083015116604082015260ff60408301511660608201525f6060830151611b0a608084018215159052565b5060808301516001600160a01b03811660a08401525060a08301516001600160a01b03811660c08401525060c083015160e080840152611b4e610100840182611a94565b949350505050565b634e487b7160e01b5f52604160045260245ffd5b5f82601f830112611b79575f80fd5b81356001600160401b03811115611b9257611b92611b56565b604051601f8201601f19908116603f011681016001600160401b0381118282101715611bc057611bc0611b56565b604052818152838201602001851015611bd7575f80fd5b816020850160208301375f918101602001919091529392505050565b80356001600160401b03811681146111ba575f80fd5b5f805f8060608587031215611c1c575f80fd5b84356001600160401b03811115611c31575f80fd5b611c3d87828801611b6a565b94505060208501356001600160401b03811115611c58575f80fd5b8501601f81018713611c68575f80fd5b80356001600160401b03811115611c7d575f80fd5b8760208260051b8401011115611c91575f80fd5b60209190910193509150611ca760408601611bf3565b905092959194509250565b5f60208284031215611cc2575f80fd5b813564ffffffffff81168114611a8d575f80fd5b6001600160601b0381168114611575575f80fd5b5f60208284031215611cfa575f80fd5b8135611a8d81611cd6565b6001600160a01b0381168114611575575f80fd5b5f8060408385031215611d2a575f80fd5b8235611d3581611d05565b915060208301356001600160401b03811115611d4f575f80fd5b611d5b85828601611b6a565b9150509250929050565b5f60208284031215611d75575f80fd5b8135611a8d81611d05565b8015158114611575575f80fd5b5f8060408385031215611d9e575f80fd5b8235611da981611d05565b91506020830135611db981611d80565b809150509250929050565b5f8060408385031215611dd5575f80fd5b611dde83611bf3565b91506020830135611db981611d05565b5f60208284031215611dfe575f80fd5b5035919050565b5f8060408385031215611e16575f80fd5b8235611e2181611d05565b946020939093013593505050565b5f805f805f8060c08789031215611e44575f80fd5b8635611e4f81611d05565b95506020870135611e5f81611d05565b94506040870135611e6f81611d05565b93506060870135611e7f81611d05565b92506080870135611e8f81611d05565b915060a0870135611e9f81611d05565b809150509295509295509295565b5f8060408385031215611ebe575f80fd5b82356001600160401b03811115611ed3575f80fd5b611edf85828601611b6a565b92505060208301356001600160401b03811115611d4f575f80fd5b5f805f60608486031215611f0c575f80fd5b8335611f1781611d05565b92506020840135611f2781611d05565b929592945050506040919091013590565b5f60208284031215611f48575f80fd5b8151611a8d81611cd6565b600181811c90821680611f6757607f821691505b602082108103611f8557634e487b7160e01b5f52602260045260245ffd5b50919050565b5f60208284031215611f9b575f80fd5b8151611a8d81611d80565b5f60208284031215611fb6575f80fd5b8151611a8d81611d05565b5f60208284031215611fd1575f80fd5b815160ff81168114611a8d575f80fd5b601f82111561124657805f5260205f20601f840160051c810160208510156120065750805b601f840160051c820191505b81811015610757575f8155600101612012565b81516001600160401b0381111561203e5761203e611b56565b6120528161204c8454611f53565b84611fe1565b6020601f821160018114612084575f831561206d5750848201515b5f19600385901b1c1916600184901b178455610757565b5f84815260208120601f198516915b828110156120b35787850151825560209485019460019092019101612093565b50848210156120d057868401515f19600387901b60f8161c191681555b50505050600190811b01905550565b5f80858511156120ed575f80fd5b838611156120f9575f80fd5b5050820193919092039150565b80356001600160e01b03198116906004841015612137576001600160e01b0319600485900360031b81901b82161691505b5092915050565b6001600160a01b03841681526040602082018190528101829052818360608301375f818301606090810191909152601f909201601f1916010192915050565b5f82518060208501845e5f920191825250919050565b5f80604083850312156121a4575f80fd5b82516121af81611d80565b602084015190925063ffffffff81168114611db9575f80fdfe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00a26469706673582212209ff0731f2e1e44796202200ec67082bf7d75b265a9496fe93ae244a2046b30fb64736f6c634300081a0033",
762
- "deployedBytecode": "0x608060405234801561000f575f80fd5b50600436106101dc575f3560e01c80638689231311610109578063bf7e214f1161009e578063d4cda0d81161006e578063d4cda0d814610463578063e52ba1cb14610474578063e7f7fb8614610487578063f7bc431c1461049a575f80fd5b8063bf7e214f146103fb578063cc2a9a5b14610403578063cde749f414610416578063d2192dbf14610430575f80fd5b8063b428b0b0116100d9578063b428b0b0146103b4578063b7d2b162146103c7578063b7d68519146103d5578063bb1e0e59146103e8575f80fd5b80638689231314610369578063893d20e8146103775780638fb360371461037f578063ada9652e146103a0575f80fd5b80632d764ef81161017f5780635fa8aad41161014f5780635fa8aad414610315578063644c45e0146103285780636dddada4146103455780637a9e5e4b14610356575f80fd5b80632d764ef8146102cd578063311adb68146102e05780634f8b8aba146102f15780635ab1bd5314610304575f80fd5b8063138461e0116101ba578063138461e01461025b5780631eff4b221461027b5780632781d443146102b057806329db8c3d146102b8575f80fd5b806301ffc9a7146101e057806302cd3071146102215780630fec111c14610246575b5f80fd5b61020c6101ee366004611a66565b6001600160e01b0319165f9081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b6004546001600160a01b03165b6040516001600160a01b039091168152602001610218565b61024e6104ad565b6040516102189190611ac2565b61026361066b565b6040516001600160601b039091168152602001610218565b6102a27f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b604051908152602001610218565b6102a2600381565b6102cb6102c6366004611c09565b61067a565b005b6102cb6102db366004611cb2565b6106c0565b6003546001600160a01b031661022e565b6102cb6102ff366004611cea565b61075e565b6001546001600160a01b031661022e565b6102cb610323366004611d19565b610806565b5f805160206121c9833981519152546001600160601b0316610263565b6005546001600160a01b031661022e565b6102cb610364366004611d65565b610845565b6102cb610323366004611d8d565b61022e6108c7565b6103876109f8565b6040516001600160e01b03199091168152602001610218565b6102a25f805160206121c983398151915281565b6102cb6103c2366004611dc4565b610a2d565b6102cb610323366004611dc4565b6102cb6103e3366004611dee565b610aa9565b6102cb6103f6366004611e05565b610b15565b61022e610b9c565b6102cb610411366004611e2f565b610bb7565b61041e61104f565b60405160ff9091168152602001610218565b61044361043e366004611ead565b6110c3565b604080516001600160401b03938416815292909116602083015201610218565b6006546001600160a01b031661022e565b610263610482366004611cea565b611107565b6102cb610495366004611efa565b6111bf565b6102cb6104a8366004611d65565b61124b565b6040805160e0810182525f8082526020820181905291810182905260608082018390526080820183905260a082019290925260c08101919091525f7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e0016040528073__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af415801561055d573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906105819190611f38565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a0016105c96108c7565b6001600160a01b031681526020018260010180546105e690611f53565b80601f016020809104026020016040519081016040528092919081815260200182805461061290611f53565b801561065d5780601f106106345761010080835404028352916020019161065d565b820191905f5260205f20905b81548152906001019060200180831161064057829003601f168201915b505050505081525091505090565b5f6106753061130b565b905090565b6106826108c7565b6001600160a01b0316336001600160a01b0316146106ba5760405163086391f760e31b81523360048201526024015b60405180910390fd5b50505050565b6106c86108c7565b6001600160a01b0316336001600160a01b0316146106fb5760405163086391f760e31b81523360048201526024016106b1565b6002546040516305aec9df60e31b815264ffffffffff831660048201526001600160a01b0390911690632d764ef8906024015b5f604051808303815f87803b158015610745575f80fd5b505af1158015610757573d5f803e3d5ffd5b5050505050565b6107666108c7565b6001600160a01b0316336001600160a01b0316146107995760405163086391f760e31b81523360048201526024016106b1565b60025460405163511ab59d60e11b815233600482018190526001600160601b0384166024830152916001600160a01b03169063a2356b3a906044015b5f604051808303815f87803b1580156107ec575f80fd5b505af11580156107fe573d5f803e3d5ffd5b505050505050565b61080e6108c7565b6001600160a01b0316336001600160a01b0316146108415760405163086391f760e31b81523360048201526024016106b1565b5050565b3361084e610b9c565b6001600160a01b0316816001600160a01b0316146108895760405162d1953b60e31b81526001600160a01b03821660048201526024016106b1565b816001600160a01b03163b5f036108be576040516361798f2f60e11b81526001600160a01b03831660048201526024016106b1565b61084182611504565b5f805f805160206121c983398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015610933573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906109579190611f8b565b156109e2576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa1580156109b8573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906109dc9190611fa6565b91505090565b54600160601b90046001600160a01b0316919050565b5f805160206121e983398151915280545f9190600160a01b900460ff16610a1f575f6109dc565b638fb3603760e01b91505090565b610a356108c7565b6001600160a01b0316336001600160a01b031614610a685760405163086391f760e31b81523360048201526024016106b1565b600354604051630b428b0b60e41b81526001600160401b03841660048201526001600160a01b0383811660248301529091169063b428b0b0906044016107d5565b610ab16108c7565b6001600160a01b0316336001600160a01b031614610ae45760405163086391f760e31b81523360048201526024016106b1565b60025460405163b7d6851960e01b8152600481018390526001600160a01b039091169063b7d685199060240161072e565b6001546001600160a01b03166001600160a01b031663120726c36040518163ffffffff1660e01b8152600401602060405180830381865afa158015610b5c573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b809190611fa6565b6001600160a01b0316336001600160a01b031614610841575f80fd5b5f805160206121e9833981519152546001600160a01b031690565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a008054600160401b810460ff1615906001600160401b03165f81158015610bfb5750825b90505f826001600160401b03166001148015610c165750303b155b905081158015610c24575080155b15610c425760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315610c6c57845460ff60401b1916600160401b1785555b600380546001600160a01b0319166001600160a01b038d169081179091556040805163bf7e214f60e01b815290515f929163bf7e214f9160048083019260209291908290030181865afa158015610cc5573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610ce99190611fa6565b6001600160a01b031603610d10576040516377dbcd1760e01b815260040160405180910390fd5b6003546040805163bf7e214f60e01b81529051610d82926001600160a01b03169163bf7e214f9160048083019260209291908290030181865afa158015610d59573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610d7d9190611fa6565b611564565b610dff87886001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa158015610dc2573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610de69190611f38565b600a60018a60405180602001604052805f815250611578565b600680546001600160a01b03808d166001600160a01b03199283168117909355600580548d831690841617905560048054918c16919092161781556040805163204a7f0760e21b81529051638129fc1c92828101925f92919082900301818387803b158015610e6c575f80fd5b505af1158015610e7e573d5f803e3d5ffd5b5050505060055f9054906101000a90046001600160a01b03166001600160a01b0316638129fc1c6040518163ffffffff1660e01b81526004015f604051808303815f87803b158015610ece575f80fd5b505af1158015610ee0573d5f803e3d5ffd5b5050600480546040805163204a7f0760e21b815290516001600160a01b039092169450638129fc1c9350808301925f929182900301818387803b158015610f25575f80fd5b505af1158015610f37573d5f803e3d5ffd5b50505050610f4d6001546001600160a01b031690565b6001600160a01b031663d39e6043600a610f6561104f565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa158015610fa8573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610fcc9190611fa6565b600280546001600160a01b0319166001600160a01b0392909216919091179055610ffc632b1cb34b60e11b61161d565b831561104257845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b5050505050505050505050565b604051632392b61b60e21b8152600360048201525f9073__$b659da7d8a6d2d32aa6c1e17da23dc2174$__90638e4ad86c90602401602060405180830381865af415801561109f573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906106759190611fc1565b5f806110cd6108c7565b6001600160a01b0316336001600160a01b0316146111005760405163086391f760e31b81523360048201526024016106b1565b9250929050565b5f6111106108c7565b6001600160a01b0316336001600160a01b0316146111435760405163086391f760e31b81523360048201526024016106b1565b60025460405163e52ba1cb60e01b81526001600160601b03841660048201526001600160a01b039091169063e52ba1cb906024016020604051808303815f875af1158015611193573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906111b79190611f38565b90505b919050565b6001546001600160a01b03166001600160a01b031663120726c36040518163ffffffff1660e01b8152600401602060405180830381865afa158015611206573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061122a9190611fa6565b6001600160a01b0316336001600160a01b031614611246575f80fd5b505050565b611256335f36611649565b306001600160a01b0316816001600160a01b031663de7b5d146040518163ffffffff1660e01b8152600401602060405180830381865afa15801561129c573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906112c09190611fa6565b6001600160a01b0316146112e9576040516345789cf560e01b81523060048201526024016106b1565b600480546001600160a01b0319166001600160a01b0392909216919091179055565b5f805f805160206121c983398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015611377573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061139b9190611f8b565b156113c75780546040516301ab8b6760e21b81526001600160601b0390911660048201526024016106b1565b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038581166004830152919091169063c3c5a54790602401602060405180830381865afa158015611419573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061143d9190611f8b565b6114655760405163b9304b0d60e01b81526001600160a01b03841660048201526024016106b1565b6001546001600160a01b0316604051632f2a35f760e11b81526001600160a01b0385811660048301529190911690635e546bee90602401602060405180830381865afa1580156114b7573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906114db9190611f38565b81546bffffffffffffffffffffffff19166001600160601b039190911690811790915592915050565b5f805160206121e983398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b61156c61173f565b6115758161178a565b50565b61158061173f565b61158a828761179b565b7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0387166cffffffffffffffffffffffffff1990911617600160601b60ff8716021760ff60681b1916600160681b851515021781557f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa3016116138382612025565b5050505050505050565b61162561173f565b6001600160e01b0319165f908152602081905260409020805460ff19166001179055565b5f805160206121e98339815191525f80611681611664610b9c565b873061167360045f8a8c6120df565b61167c91612106565b611811565b91509150816107fe5763ffffffff81161561171c57825460ff60a01b1916600160a01b1783556116af610b9c565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b81526004016116de9392919061213e565b5f604051808303815f87803b1580156116f5575f80fd5b505af1158015611707573d5f803e3d5ffd5b5050845460ff60a01b19168555506107fe9050565b60405162d1953b60e31b81526001600160a01b03871660048201526024016106b1565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a0054600160401b900460ff1661178857604051631afcd79f60e31b815260040160405180910390fd5b565b61179261173f565b61157581611504565b6117a361173f565b6117ac81611919565b6117b4611a21565b6001600160a01b0382166117db5760405163f17ef42d60e01b815260040160405180910390fd5b505f805160206121c983398151915280546001600160601b0316600160601b6001600160a01b0390931692909202919091179055565b6040516001600160a01b03848116602483015283811660448301526001600160e01b0319831660648301525f9182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b1790525161187f919061217d565b5f60405180830381855afa9150503d805f81146118b7576040519150601f19603f3d011682016040523d82523d5f602084013e6118bc565b606091505b5091509150811561190e5760408151106118ee57808060200190518101906118e49190612193565b909450925061190e565b602081511061190e578080602001905181019061190b9190611f8b565b93505b505094509492505050565b61192161173f565b806001600160a01b03163b5f036119565760405163fdeac91f60e01b81526001600160a01b03821660048201526024016106b1565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b8152632f6da6f960e01b60048201526301ffc9a790602401602060405180830381865afa9250505080156119d0575060408051601f3d908101601f191682019092526119cd91810190611f8b565b60015b6119f85760405163fdeac91f60e01b81526001600160a01b03821660048201526024016106b1565b806108415760405163fdeac91f60e01b81526001600160a01b03831660048201526024016106b1565b611a2961173f565b6301ffc9a760e01b5f9081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b5f60208284031215611a76575f80fd5b81356001600160e01b031981168114611a8d575f80fd5b9392505050565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081526001600160601b0382511660208201526001600160601b03602083015116604082015260ff60408301511660608201525f6060830151611b0a608084018215159052565b5060808301516001600160a01b03811660a08401525060a08301516001600160a01b03811660c08401525060c083015160e080840152611b4e610100840182611a94565b949350505050565b634e487b7160e01b5f52604160045260245ffd5b5f82601f830112611b79575f80fd5b81356001600160401b03811115611b9257611b92611b56565b604051601f8201601f19908116603f011681016001600160401b0381118282101715611bc057611bc0611b56565b604052818152838201602001851015611bd7575f80fd5b816020850160208301375f918101602001919091529392505050565b80356001600160401b03811681146111ba575f80fd5b5f805f8060608587031215611c1c575f80fd5b84356001600160401b03811115611c31575f80fd5b611c3d87828801611b6a565b94505060208501356001600160401b03811115611c58575f80fd5b8501601f81018713611c68575f80fd5b80356001600160401b03811115611c7d575f80fd5b8760208260051b8401011115611c91575f80fd5b60209190910193509150611ca760408601611bf3565b905092959194509250565b5f60208284031215611cc2575f80fd5b813564ffffffffff81168114611a8d575f80fd5b6001600160601b0381168114611575575f80fd5b5f60208284031215611cfa575f80fd5b8135611a8d81611cd6565b6001600160a01b0381168114611575575f80fd5b5f8060408385031215611d2a575f80fd5b8235611d3581611d05565b915060208301356001600160401b03811115611d4f575f80fd5b611d5b85828601611b6a565b9150509250929050565b5f60208284031215611d75575f80fd5b8135611a8d81611d05565b8015158114611575575f80fd5b5f8060408385031215611d9e575f80fd5b8235611da981611d05565b91506020830135611db981611d80565b809150509250929050565b5f8060408385031215611dd5575f80fd5b611dde83611bf3565b91506020830135611db981611d05565b5f60208284031215611dfe575f80fd5b5035919050565b5f8060408385031215611e16575f80fd5b8235611e2181611d05565b946020939093013593505050565b5f805f805f8060c08789031215611e44575f80fd5b8635611e4f81611d05565b95506020870135611e5f81611d05565b94506040870135611e6f81611d05565b93506060870135611e7f81611d05565b92506080870135611e8f81611d05565b915060a0870135611e9f81611d05565b809150509295509295509295565b5f8060408385031215611ebe575f80fd5b82356001600160401b03811115611ed3575f80fd5b611edf85828601611b6a565b92505060208301356001600160401b03811115611d4f575f80fd5b5f805f60608486031215611f0c575f80fd5b8335611f1781611d05565b92506020840135611f2781611d05565b929592945050506040919091013590565b5f60208284031215611f48575f80fd5b8151611a8d81611cd6565b600181811c90821680611f6757607f821691505b602082108103611f8557634e487b7160e01b5f52602260045260245ffd5b50919050565b5f60208284031215611f9b575f80fd5b8151611a8d81611d80565b5f60208284031215611fb6575f80fd5b8151611a8d81611d05565b5f60208284031215611fd1575f80fd5b815160ff81168114611a8d575f80fd5b601f82111561124657805f5260205f20601f840160051c810160208510156120065750805b601f840160051c820191505b81811015610757575f8155600101612012565b81516001600160401b0381111561203e5761203e611b56565b6120528161204c8454611f53565b84611fe1565b6020601f821160018114612084575f831561206d5750848201515b5f19600385901b1c1916600184901b178455610757565b5f84815260208120601f198516915b828110156120b35787850151825560209485019460019092019101612093565b50848210156120d057868401515f19600387901b60f8161c191681555b50505050600190811b01905550565b5f80858511156120ed575f80fd5b838611156120f9575f80fd5b5050820193919092039150565b80356001600160e01b03198116906004841015612137576001600160e01b0319600485900360031b81901b82161691505b5092915050565b6001600160a01b03841681526040602082018190528101829052818360608301375f818301606090810191909152601f909201601f1916010192915050565b5f82518060208501845e5f920191825250919050565b5f80604083850312156121a4575f80fd5b82516121af81611d80565b602084015190925063ffffffff81168114611db9575f80fdfe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00a26469706673582212209ff0731f2e1e44796202200ec67082bf7d75b265a9496fe93ae244a2046b30fb64736f6c634300081a0033",
850
+ "bytecode": "0x6080604052348015600e575f80fd5b506124468061001c5f395ff3fe608060405234801561000f575f80fd5b50600436106101e7575f3560e01c80636dddada411610109578063b428b0b01161009e578063d2192dbf1161006e578063d2192dbf14610451578063d4cda0d814610484578063e52ba1cb14610495578063f7bc431c146104a8575f80fd5b8063b428b0b014610415578063b7d2b16214610428578063b7d6851914610436578063bf7e214f14610449575f80fd5b806389ad0a34116100d957806389ad0a34146103ba5780638fb36037146103cd578063ad12ad60146103ee578063ada9652e14610401575f80fd5b80636dddada41461037457806376b707b7146103855780637a9e5e4b1461039f578063893d20e8146103b2575f80fd5b80632d46f5df1161017f5780634f8b8aba1161014f5780634f8b8aba146103205780635ab1bd53146103335780635fa8aad414610344578063644c45e014610357575f80fd5b80632d46f5df146102d65780632d764ef8146102e9578063311adb68146102fc578063358764761461030d575f80fd5b8063138461e0116101ba578063138461e0146102775780631eff4b221461029757806322f3e2d4146102b957806329db8c3d146102c1575f80fd5b806301ffc9a7146101eb57806302cd30711461022c5780630e0c586d146102515780630fec111c14610262575b5f80fd5b6102176101f9366004611c4e565b6001600160e01b0319165f9081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b6005546001600160a01b03165b6040516001600160a01b039091168152602001610223565b6007546001600160a01b0316610239565b61026a6104bb565b6040516102239190611caa565b61027f610662565b6040516001600160601b039091168152602001610223565b6102ab5f805160206123f183398151915281565b604051908152602001610223565b610217610671565b6102d46102cf366004611df1565b6106e8565b005b61027f6102e4366004611eae565b61072e565b6102d46102f7366004611ec9565b6107e0565b6004546001600160a01b0316610239565b6102d461031b366004611eed565b61087e565b6102d461032e366004611f92565b610dbc565b6001546001600160a01b0316610239565b6102d4610352366004611fad565b610e64565b5f805160206123b1833981519152546001600160601b031661027f565b6006546001600160a01b0316610239565b61038d610ea3565b60405160ff9091168152602001610223565b6102d46103ad366004611eae565b610ebf565b610239610f41565b6102d46103c8366004612006565b611072565b6103d56110e7565b6040516001600160e01b03199091168152602001610223565b6102d46103fc36600461203d565b61111c565b6102ab5f805160206123b183398151915281565b6102d461042336600461208d565b6111a3565b6102d461035236600461208d565b6102d46104443660046120b7565b611220565b61023961128c565b61046461045f3660046120ce565b6112a7565b604080516001600160401b03938416815292909116602083015201610223565b6008546001600160a01b0316610239565b61027f6104a3366004611f92565b6112eb565b6102d46104b6366004611eae565b611360565b6040805160e0810182525f8082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820152905f805160206123f183398151915290506040518060e0016040528073__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015610554573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610578919061211b565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160701b909104161515606082015230608082015260a0016105c0610f41565b6001600160a01b031681526020018260010180546105dd90612136565b80601f016020809104026020016040519081016040528092919081815260200182805461060990612136565b80156106545780601f1061062b57610100808354040283529160200191610654565b820191905f5260205f20905b81548152906001019060200180831161063757829003601f168201915b505050505081525091505090565b5f61066c30611420565b905090565b5f61067a61128c565b60405163a166aa8960e01b81523060048201526001600160a01b03919091169063a166aa8990602401602060405180830381865afa1580156106be573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906106e2919061216e565b15905090565b6106f0610f41565b6001600160a01b0316336001600160a01b0316146107285760405163086391f760e31b81523360048201526024015b60405180910390fd5b50505050565b5f610737610f41565b6001600160a01b0316336001600160a01b03161461076a5760405163086391f760e31b815233600482015260240161071f565b600254604051632d46f5df60e01b81526001600160a01b03848116600483015290911690632d46f5df906024015b6020604051808303815f875af11580156107b4573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906107d8919061211b565b90505b919050565b6107e8610f41565b6001600160a01b0316336001600160a01b03161461081b5760405163086391f760e31b815233600482015260240161071f565b6003546040516305aec9df60e31b815264ffffffffff831660048201526001600160a01b0390911690632d764ef8906024015b5f604051808303815f87803b158015610865575f80fd5b505af1158015610877573d5f803e3d5ffd5b5050505050565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a008054600160401b810460ff1615906001600160401b03165f811580156108c25750825b90505f826001600160401b031660011480156108dd5750303b155b9050811580156108eb575080155b156109095760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561093357845460ff60401b1916600160401b1785555b6001600160a01b038c1661095a576040516377dbcd1760e01b815260040160405180910390fd5b600480546001600160a01b0319166001600160a01b038e1690811782556040805163bf7e214f60e01b81529051610a4f9363bf7e214f928082019260209290918290030181865afa1580156109b1573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906109d59190612189565b88896001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa158015610a12573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610a36919061211b565b600a60018b60405180602001604052805f815250611619565b600880546001600160a01b03808e166001600160a01b03199283168117909355600680548e8316908416179055600780548d831690841617905560058054918c16919092161790556040805163204a7f0760e21b81529051638129fc1c916004808201925f9290919082900301818387803b158015610acc575f80fd5b505af1158015610ade573d5f803e3d5ffd5b5050505060065f9054906101000a90046001600160a01b03166001600160a01b0316638129fc1c6040518163ffffffff1660e01b81526004015f604051808303815f87803b158015610b2e575f80fd5b505af1158015610b40573d5f803e3d5ffd5b5050505060075f9054906101000a90046001600160a01b03166001600160a01b0316638129fc1c6040518163ffffffff1660e01b81526004015f604051808303815f87803b158015610b90575f80fd5b505af1158015610ba2573d5f803e3d5ffd5b5050505060055f9054906101000a90046001600160a01b03166001600160a01b0316638129fc1c6040518163ffffffff1660e01b81526004015f604051808303815f87803b158015610bf2575f80fd5b505af1158015610c04573d5f803e3d5ffd5b50505050610c1a6001546001600160a01b031690565b6001600160a01b031663d39e6043600b610c32610ea3565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa158015610c75573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610c999190612189565b600280546001600160a01b0319166001600160a01b03928316179055600154166001600160a01b031663d39e6043600a610cd1610ea3565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa158015610d14573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610d389190612189565b600380546001600160a01b0319166001600160a01b0392909216919091179055610d6863b7b0abf760e01b6117cd565b8315610dae57845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b505050505050505050505050565b610dc4610f41565b6001600160a01b0316336001600160a01b031614610df75760405163086391f760e31b815233600482015260240161071f565b60035460405163511ab59d60e11b815233600482018190526001600160601b0384166024830152916001600160a01b03169063a2356b3a906044015b5f604051808303815f87803b158015610e4a575f80fd5b505af1158015610e5c573d5f803e3d5ffd5b505050505050565b610e6c610f41565b6001600160a01b0316336001600160a01b031614610e9f5760405163086391f760e31b815233600482015260240161071f565b5050565b5f805160206123f183398151915254600160681b900460ff1690565b33610ec861128c565b6001600160a01b0316816001600160a01b031614610f035760405162d1953b60e31b81526001600160a01b038216600482015260240161071f565b816001600160a01b03163b5f03610f38576040516361798f2f60e11b81526001600160a01b038316600482015260240161071f565b610e9f826117f9565b5f805f805160206123b183398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015610fad573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610fd1919061216e565b1561105c576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015611032573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906110569190612189565b91505090565b54600160601b90046001600160a01b0316919050565b61107a610f41565b6001600160a01b0316336001600160a01b0316146110ad5760405163086391f760e31b815233600482015260240161071f565b600254604051637899d2b360e11b81526001600160a01b03848116600483015283151560248301529091169063f133a56690604401610e33565b5f805160206123d183398151915280545f9190600160a01b900460ff1661110e575f611056565b638fb3603760e01b91505090565b6001546001600160a01b03166001600160a01b031663120726c36040518163ffffffff1660e01b8152600401602060405180830381865afa158015611163573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906111879190612189565b6001600160a01b0316336001600160a01b031614610728575f80fd5b6111ab610f41565b6001600160a01b0316336001600160a01b0316146111de5760405163086391f760e31b815233600482015260240161071f565b60048054604051630b428b0b60e41b81526001600160401b038516928101929092526001600160a01b038381166024840152169063b428b0b090604401610e33565b611228610f41565b6001600160a01b0316336001600160a01b03161461125b5760405163086391f760e31b815233600482015260240161071f565b60035460405163b7d6851960e01b8152600481018390526001600160a01b039091169063b7d685199060240161084e565b5f805160206123d1833981519152546001600160a01b031690565b5f806112b1610f41565b6001600160a01b0316336001600160a01b0316146112e45760405163086391f760e31b815233600482015260240161071f565b9250929050565b5f6112f4610f41565b6001600160a01b0316336001600160a01b0316146113275760405163086391f760e31b815233600482015260240161071f565b60035460405163e52ba1cb60e01b81526001600160601b03841660048201526001600160a01b039091169063e52ba1cb90602401610798565b61136b335f36611859565b306001600160a01b0316816001600160a01b031663de7b5d146040518163ffffffff1660e01b8152600401602060405180830381865afa1580156113b1573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906113d59190612189565b6001600160a01b0316146113fe576040516345789cf560e01b815230600482015260240161071f565b600580546001600160a01b0319166001600160a01b0392909216919091179055565b5f805f805160206123b183398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af415801561148c573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906114b0919061216e565b156114dc5780546040516301ab8b6760e21b81526001600160601b03909116600482015260240161071f565b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038581166004830152919091169063c3c5a54790602401602060405180830381865afa15801561152e573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611552919061216e565b61157a5760405163b9304b0d60e01b81526001600160a01b038416600482015260240161071f565b6001546001600160a01b0316604051632f2a35f760e11b81526001600160a01b0385811660048301529190911690635e546bee90602401602060405180830381865afa1580156115cc573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906115f0919061211b565b81546bffffffffffffffffffffffff19166001600160601b039190911690811790915592915050565b61162161194f565b604051632330f24760e01b81526001600160a01b038816600482015273__$fb599632d08395912d9d70eb2f0f93b5e2$__90632330f24790602401602060405180830381865af4158015611677573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061169b919061216e565b6116c35760405163cf6935e560e01b81526001600160a01b038816600482015260240161071f565b6116cc8761199a565b6116d686836119ae565b5f805160206123f183398151915280546001600160601b0387166cffffffffffffffffffffffffff1990911617600160601b60ff871602178155604080516376b707b760e01b815290516001600160a01b038a16916376b707b79160048083019260209291908290030181865afa158015611753573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061177791906121a4565b815461ffff60681b1916600160681b60ff929092169190910260ff60701b191617600160701b85151502178155600181016117b2838261220d565b506117c3634a531f3360e01b6117cd565b5050505050505050565b6117d561194f565b6001600160e01b0319165f908152602081905260409020805460ff19166001179055565b5f805160206123d183398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b5f805160206123d18339815191525f8061189161187461128c565b873061188360045f8a8c6122c7565b61188c916122ee565b611a24565b9150915081610e5c5763ffffffff81161561192c57825460ff60a01b1916600160a01b1783556118bf61128c565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b81526004016118ee93929190612326565b5f604051808303815f87803b158015611905575f80fd5b505af1158015611917573d5f803e3d5ffd5b5050845460ff60a01b1916855550610e5c9050565b60405162d1953b60e31b81526001600160a01b038716600482015260240161071f565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a0054600160401b900460ff1661199857604051631afcd79f60e31b815260040160405180910390fd5b565b6119a261194f565b6119ab81611b2c565b50565b6119b661194f565b6119bf82611b3d565b6119c7611c09565b6001600160a01b0381166119ee5760405163f17ef42d60e01b815260040160405180910390fd5b5f805160206123b183398151915280546001600160601b0316600160601b6001600160a01b039093169290920291909117905550565b6040516001600160a01b03848116602483015283811660448301526001600160e01b0319831660648301525f9182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b17905251611a929190612365565b5f60405180830381855afa9150503d805f8114611aca576040519150601f19603f3d011682016040523d82523d5f602084013e611acf565b606091505b50915091508115611b21576040815110611b015780806020019051810190611af7919061237b565b9094509250611b21565b6020815110611b215780806020019051810190611b1e919061216e565b93505b505094509492505050565b611b3461194f565b6119ab816117f9565b611b4561194f565b604051633334d16b60e01b81526001600160a01b038216600482015273__$fb599632d08395912d9d70eb2f0f93b5e2$__90633334d16b90602401602060405180830381865af4158015611b9b573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611bbf919061216e565b611be75760405163fdeac91f60e01b81526001600160a01b038216600482015260240161071f565b600180546001600160a01b0319166001600160a01b0392909216919091179055565b611c1161194f565b6301ffc9a760e01b5f9081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b5f60208284031215611c5e575f80fd5b81356001600160e01b031981168114611c75575f80fd5b9392505050565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081526001600160601b0382511660208201526001600160601b03602083015116604082015260ff60408301511660608201525f6060830151611cf2608084018215159052565b5060808301516001600160a01b03811660a08401525060a08301516001600160a01b03811660c08401525060c083015160e080840152611d36610100840182611c7c565b949350505050565b634e487b7160e01b5f52604160045260245ffd5b5f82601f830112611d61575f80fd5b81356001600160401b03811115611d7a57611d7a611d3e565b604051601f8201601f19908116603f011681016001600160401b0381118282101715611da857611da8611d3e565b604052818152838201602001851015611dbf575f80fd5b816020850160208301375f918101602001919091529392505050565b80356001600160401b03811681146107db575f80fd5b5f805f8060608587031215611e04575f80fd5b84356001600160401b03811115611e19575f80fd5b611e2587828801611d52565b94505060208501356001600160401b03811115611e40575f80fd5b8501601f81018713611e50575f80fd5b80356001600160401b03811115611e65575f80fd5b8760208260051b8401011115611e79575f80fd5b60209190910193509150611e8f60408601611ddb565b905092959194509250565b6001600160a01b03811681146119ab575f80fd5b5f60208284031215611ebe575f80fd5b8135611c7581611e9a565b5f60208284031215611ed9575f80fd5b813564ffffffffff81168114611c75575f80fd5b5f805f805f805f60e0888a031215611f03575f80fd5b8735611f0e81611e9a565b96506020880135611f1e81611e9a565b95506040880135611f2e81611e9a565b94506060880135611f3e81611e9a565b93506080880135611f4e81611e9a565b925060a0880135611f5e81611e9a565b915060c0880135611f6e81611e9a565b8091505092959891949750929550565b6001600160601b03811681146119ab575f80fd5b5f60208284031215611fa2575f80fd5b8135611c7581611f7e565b5f8060408385031215611fbe575f80fd5b8235611fc981611e9a565b915060208301356001600160401b03811115611fe3575f80fd5b611fef85828601611d52565b9150509250929050565b80151581146119ab575f80fd5b5f8060408385031215612017575f80fd5b823561202281611e9a565b9150602083013561203281611ff9565b809150509250929050565b5f805f8060808587031215612050575f80fd5b843561205b81611e9a565b9350602085013561206b81611e9a565b925060408501359150606085013561208281611e9a565b939692955090935050565b5f806040838503121561209e575f80fd5b6120a783611ddb565b9150602083013561203281611e9a565b5f602082840312156120c7575f80fd5b5035919050565b5f80604083850312156120df575f80fd5b82356001600160401b038111156120f4575f80fd5b61210085828601611d52565b92505060208301356001600160401b03811115611fe3575f80fd5b5f6020828403121561212b575f80fd5b8151611c7581611f7e565b600181811c9082168061214a57607f821691505b60208210810361216857634e487b7160e01b5f52602260045260245ffd5b50919050565b5f6020828403121561217e575f80fd5b8151611c7581611ff9565b5f60208284031215612199575f80fd5b8151611c7581611e9a565b5f602082840312156121b4575f80fd5b815160ff81168114611c75575f80fd5b601f82111561220857805f5260205f20601f840160051c810160208510156121e95750805b601f840160051c820191505b81811015610877575f81556001016121f5565b505050565b81516001600160401b0381111561222657612226611d3e565b61223a816122348454612136565b846121c4565b6020601f82116001811461226c575f83156122555750848201515b5f19600385901b1c1916600184901b178455610877565b5f84815260208120601f198516915b8281101561229b578785015182556020948501946001909201910161227b565b50848210156122b857868401515f19600387901b60f8161c191681555b50505050600190811b01905550565b5f80858511156122d5575f80fd5b838611156122e1575f80fd5b5050820193919092039150565b80356001600160e01b0319811690600484101561231f576001600160e01b0319600485900360031b81901b82161691505b5092915050565b6001600160a01b03841681526040602082018190528101829052818360608301375f818301606090810191909152601f909201601f1916010192915050565b5f82518060208501845e5f920191825250919050565b5f806040838503121561238c575f80fd5b825161239781611ff9565b602084015190925063ffffffff81168114612032575f80fdfe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a006548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa300a26469706673582212203744c4d3e0369407c744930b456dc04ef1549e6e6524c8d8c11fae160eff4dac64736f6c634300081a0033",
851
+ "deployedBytecode": "0x608060405234801561000f575f80fd5b50600436106101e7575f3560e01c80636dddada411610109578063b428b0b01161009e578063d2192dbf1161006e578063d2192dbf14610451578063d4cda0d814610484578063e52ba1cb14610495578063f7bc431c146104a8575f80fd5b8063b428b0b014610415578063b7d2b16214610428578063b7d6851914610436578063bf7e214f14610449575f80fd5b806389ad0a34116100d957806389ad0a34146103ba5780638fb36037146103cd578063ad12ad60146103ee578063ada9652e14610401575f80fd5b80636dddada41461037457806376b707b7146103855780637a9e5e4b1461039f578063893d20e8146103b2575f80fd5b80632d46f5df1161017f5780634f8b8aba1161014f5780634f8b8aba146103205780635ab1bd53146103335780635fa8aad414610344578063644c45e014610357575f80fd5b80632d46f5df146102d65780632d764ef8146102e9578063311adb68146102fc578063358764761461030d575f80fd5b8063138461e0116101ba578063138461e0146102775780631eff4b221461029757806322f3e2d4146102b957806329db8c3d146102c1575f80fd5b806301ffc9a7146101eb57806302cd30711461022c5780630e0c586d146102515780630fec111c14610262575b5f80fd5b6102176101f9366004611c4e565b6001600160e01b0319165f9081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b6005546001600160a01b03165b6040516001600160a01b039091168152602001610223565b6007546001600160a01b0316610239565b61026a6104bb565b6040516102239190611caa565b61027f610662565b6040516001600160601b039091168152602001610223565b6102ab5f805160206123f183398151915281565b604051908152602001610223565b610217610671565b6102d46102cf366004611df1565b6106e8565b005b61027f6102e4366004611eae565b61072e565b6102d46102f7366004611ec9565b6107e0565b6004546001600160a01b0316610239565b6102d461031b366004611eed565b61087e565b6102d461032e366004611f92565b610dbc565b6001546001600160a01b0316610239565b6102d4610352366004611fad565b610e64565b5f805160206123b1833981519152546001600160601b031661027f565b6006546001600160a01b0316610239565b61038d610ea3565b60405160ff9091168152602001610223565b6102d46103ad366004611eae565b610ebf565b610239610f41565b6102d46103c8366004612006565b611072565b6103d56110e7565b6040516001600160e01b03199091168152602001610223565b6102d46103fc36600461203d565b61111c565b6102ab5f805160206123b183398151915281565b6102d461042336600461208d565b6111a3565b6102d461035236600461208d565b6102d46104443660046120b7565b611220565b61023961128c565b61046461045f3660046120ce565b6112a7565b604080516001600160401b03938416815292909116602083015201610223565b6008546001600160a01b0316610239565b61027f6104a3366004611f92565b6112eb565b6102d46104b6366004611eae565b611360565b6040805160e0810182525f8082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820152905f805160206123f183398151915290506040518060e0016040528073__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015610554573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610578919061211b565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160701b909104161515606082015230608082015260a0016105c0610f41565b6001600160a01b031681526020018260010180546105dd90612136565b80601f016020809104026020016040519081016040528092919081815260200182805461060990612136565b80156106545780601f1061062b57610100808354040283529160200191610654565b820191905f5260205f20905b81548152906001019060200180831161063757829003601f168201915b505050505081525091505090565b5f61066c30611420565b905090565b5f61067a61128c565b60405163a166aa8960e01b81523060048201526001600160a01b03919091169063a166aa8990602401602060405180830381865afa1580156106be573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906106e2919061216e565b15905090565b6106f0610f41565b6001600160a01b0316336001600160a01b0316146107285760405163086391f760e31b81523360048201526024015b60405180910390fd5b50505050565b5f610737610f41565b6001600160a01b0316336001600160a01b03161461076a5760405163086391f760e31b815233600482015260240161071f565b600254604051632d46f5df60e01b81526001600160a01b03848116600483015290911690632d46f5df906024015b6020604051808303815f875af11580156107b4573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906107d8919061211b565b90505b919050565b6107e8610f41565b6001600160a01b0316336001600160a01b03161461081b5760405163086391f760e31b815233600482015260240161071f565b6003546040516305aec9df60e31b815264ffffffffff831660048201526001600160a01b0390911690632d764ef8906024015b5f604051808303815f87803b158015610865575f80fd5b505af1158015610877573d5f803e3d5ffd5b5050505050565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a008054600160401b810460ff1615906001600160401b03165f811580156108c25750825b90505f826001600160401b031660011480156108dd5750303b155b9050811580156108eb575080155b156109095760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561093357845460ff60401b1916600160401b1785555b6001600160a01b038c1661095a576040516377dbcd1760e01b815260040160405180910390fd5b600480546001600160a01b0319166001600160a01b038e1690811782556040805163bf7e214f60e01b81529051610a4f9363bf7e214f928082019260209290918290030181865afa1580156109b1573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906109d59190612189565b88896001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa158015610a12573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610a36919061211b565b600a60018b60405180602001604052805f815250611619565b600880546001600160a01b03808e166001600160a01b03199283168117909355600680548e8316908416179055600780548d831690841617905560058054918c16919092161790556040805163204a7f0760e21b81529051638129fc1c916004808201925f9290919082900301818387803b158015610acc575f80fd5b505af1158015610ade573d5f803e3d5ffd5b5050505060065f9054906101000a90046001600160a01b03166001600160a01b0316638129fc1c6040518163ffffffff1660e01b81526004015f604051808303815f87803b158015610b2e575f80fd5b505af1158015610b40573d5f803e3d5ffd5b5050505060075f9054906101000a90046001600160a01b03166001600160a01b0316638129fc1c6040518163ffffffff1660e01b81526004015f604051808303815f87803b158015610b90575f80fd5b505af1158015610ba2573d5f803e3d5ffd5b5050505060055f9054906101000a90046001600160a01b03166001600160a01b0316638129fc1c6040518163ffffffff1660e01b81526004015f604051808303815f87803b158015610bf2575f80fd5b505af1158015610c04573d5f803e3d5ffd5b50505050610c1a6001546001600160a01b031690565b6001600160a01b031663d39e6043600b610c32610ea3565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa158015610c75573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610c999190612189565b600280546001600160a01b0319166001600160a01b03928316179055600154166001600160a01b031663d39e6043600a610cd1610ea3565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa158015610d14573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610d389190612189565b600380546001600160a01b0319166001600160a01b0392909216919091179055610d6863b7b0abf760e01b6117cd565b8315610dae57845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b505050505050505050505050565b610dc4610f41565b6001600160a01b0316336001600160a01b031614610df75760405163086391f760e31b815233600482015260240161071f565b60035460405163511ab59d60e11b815233600482018190526001600160601b0384166024830152916001600160a01b03169063a2356b3a906044015b5f604051808303815f87803b158015610e4a575f80fd5b505af1158015610e5c573d5f803e3d5ffd5b505050505050565b610e6c610f41565b6001600160a01b0316336001600160a01b031614610e9f5760405163086391f760e31b815233600482015260240161071f565b5050565b5f805160206123f183398151915254600160681b900460ff1690565b33610ec861128c565b6001600160a01b0316816001600160a01b031614610f035760405162d1953b60e31b81526001600160a01b038216600482015260240161071f565b816001600160a01b03163b5f03610f38576040516361798f2f60e11b81526001600160a01b038316600482015260240161071f565b610e9f826117f9565b5f805f805160206123b183398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015610fad573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610fd1919061216e565b1561105c576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015611032573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906110569190612189565b91505090565b54600160601b90046001600160a01b0316919050565b61107a610f41565b6001600160a01b0316336001600160a01b0316146110ad5760405163086391f760e31b815233600482015260240161071f565b600254604051637899d2b360e11b81526001600160a01b03848116600483015283151560248301529091169063f133a56690604401610e33565b5f805160206123d183398151915280545f9190600160a01b900460ff1661110e575f611056565b638fb3603760e01b91505090565b6001546001600160a01b03166001600160a01b031663120726c36040518163ffffffff1660e01b8152600401602060405180830381865afa158015611163573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906111879190612189565b6001600160a01b0316336001600160a01b031614610728575f80fd5b6111ab610f41565b6001600160a01b0316336001600160a01b0316146111de5760405163086391f760e31b815233600482015260240161071f565b60048054604051630b428b0b60e41b81526001600160401b038516928101929092526001600160a01b038381166024840152169063b428b0b090604401610e33565b611228610f41565b6001600160a01b0316336001600160a01b03161461125b5760405163086391f760e31b815233600482015260240161071f565b60035460405163b7d6851960e01b8152600481018390526001600160a01b039091169063b7d685199060240161084e565b5f805160206123d1833981519152546001600160a01b031690565b5f806112b1610f41565b6001600160a01b0316336001600160a01b0316146112e45760405163086391f760e31b815233600482015260240161071f565b9250929050565b5f6112f4610f41565b6001600160a01b0316336001600160a01b0316146113275760405163086391f760e31b815233600482015260240161071f565b60035460405163e52ba1cb60e01b81526001600160601b03841660048201526001600160a01b039091169063e52ba1cb90602401610798565b61136b335f36611859565b306001600160a01b0316816001600160a01b031663de7b5d146040518163ffffffff1660e01b8152600401602060405180830381865afa1580156113b1573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906113d59190612189565b6001600160a01b0316146113fe576040516345789cf560e01b815230600482015260240161071f565b600580546001600160a01b0319166001600160a01b0392909216919091179055565b5f805f805160206123b183398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af415801561148c573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906114b0919061216e565b156114dc5780546040516301ab8b6760e21b81526001600160601b03909116600482015260240161071f565b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038581166004830152919091169063c3c5a54790602401602060405180830381865afa15801561152e573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611552919061216e565b61157a5760405163b9304b0d60e01b81526001600160a01b038416600482015260240161071f565b6001546001600160a01b0316604051632f2a35f760e11b81526001600160a01b0385811660048301529190911690635e546bee90602401602060405180830381865afa1580156115cc573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906115f0919061211b565b81546bffffffffffffffffffffffff19166001600160601b039190911690811790915592915050565b61162161194f565b604051632330f24760e01b81526001600160a01b038816600482015273__$fb599632d08395912d9d70eb2f0f93b5e2$__90632330f24790602401602060405180830381865af4158015611677573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061169b919061216e565b6116c35760405163cf6935e560e01b81526001600160a01b038816600482015260240161071f565b6116cc8761199a565b6116d686836119ae565b5f805160206123f183398151915280546001600160601b0387166cffffffffffffffffffffffffff1990911617600160601b60ff871602178155604080516376b707b760e01b815290516001600160a01b038a16916376b707b79160048083019260209291908290030181865afa158015611753573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061177791906121a4565b815461ffff60681b1916600160681b60ff929092169190910260ff60701b191617600160701b85151502178155600181016117b2838261220d565b506117c3634a531f3360e01b6117cd565b5050505050505050565b6117d561194f565b6001600160e01b0319165f908152602081905260409020805460ff19166001179055565b5f805160206123d183398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b5f805160206123d18339815191525f8061189161187461128c565b873061188360045f8a8c6122c7565b61188c916122ee565b611a24565b9150915081610e5c5763ffffffff81161561192c57825460ff60a01b1916600160a01b1783556118bf61128c565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b81526004016118ee93929190612326565b5f604051808303815f87803b158015611905575f80fd5b505af1158015611917573d5f803e3d5ffd5b5050845460ff60a01b1916855550610e5c9050565b60405162d1953b60e31b81526001600160a01b038716600482015260240161071f565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a0054600160401b900460ff1661199857604051631afcd79f60e31b815260040160405180910390fd5b565b6119a261194f565b6119ab81611b2c565b50565b6119b661194f565b6119bf82611b3d565b6119c7611c09565b6001600160a01b0381166119ee5760405163f17ef42d60e01b815260040160405180910390fd5b5f805160206123b183398151915280546001600160601b0316600160601b6001600160a01b039093169290920291909117905550565b6040516001600160a01b03848116602483015283811660448301526001600160e01b0319831660648301525f9182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b17905251611a929190612365565b5f60405180830381855afa9150503d805f8114611aca576040519150601f19603f3d011682016040523d82523d5f602084013e611acf565b606091505b50915091508115611b21576040815110611b015780806020019051810190611af7919061237b565b9094509250611b21565b6020815110611b215780806020019051810190611b1e919061216e565b93505b505094509492505050565b611b3461194f565b6119ab816117f9565b611b4561194f565b604051633334d16b60e01b81526001600160a01b038216600482015273__$fb599632d08395912d9d70eb2f0f93b5e2$__90633334d16b90602401602060405180830381865af4158015611b9b573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611bbf919061216e565b611be75760405163fdeac91f60e01b81526001600160a01b038216600482015260240161071f565b600180546001600160a01b0319166001600160a01b0392909216919091179055565b611c1161194f565b6301ffc9a760e01b5f9081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b5f60208284031215611c5e575f80fd5b81356001600160e01b031981168114611c75575f80fd5b9392505050565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081526001600160601b0382511660208201526001600160601b03602083015116604082015260ff60408301511660608201525f6060830151611cf2608084018215159052565b5060808301516001600160a01b03811660a08401525060a08301516001600160a01b03811660c08401525060c083015160e080840152611d36610100840182611c7c565b949350505050565b634e487b7160e01b5f52604160045260245ffd5b5f82601f830112611d61575f80fd5b81356001600160401b03811115611d7a57611d7a611d3e565b604051601f8201601f19908116603f011681016001600160401b0381118282101715611da857611da8611d3e565b604052818152838201602001851015611dbf575f80fd5b816020850160208301375f918101602001919091529392505050565b80356001600160401b03811681146107db575f80fd5b5f805f8060608587031215611e04575f80fd5b84356001600160401b03811115611e19575f80fd5b611e2587828801611d52565b94505060208501356001600160401b03811115611e40575f80fd5b8501601f81018713611e50575f80fd5b80356001600160401b03811115611e65575f80fd5b8760208260051b8401011115611e79575f80fd5b60209190910193509150611e8f60408601611ddb565b905092959194509250565b6001600160a01b03811681146119ab575f80fd5b5f60208284031215611ebe575f80fd5b8135611c7581611e9a565b5f60208284031215611ed9575f80fd5b813564ffffffffff81168114611c75575f80fd5b5f805f805f805f60e0888a031215611f03575f80fd5b8735611f0e81611e9a565b96506020880135611f1e81611e9a565b95506040880135611f2e81611e9a565b94506060880135611f3e81611e9a565b93506080880135611f4e81611e9a565b925060a0880135611f5e81611e9a565b915060c0880135611f6e81611e9a565b8091505092959891949750929550565b6001600160601b03811681146119ab575f80fd5b5f60208284031215611fa2575f80fd5b8135611c7581611f7e565b5f8060408385031215611fbe575f80fd5b8235611fc981611e9a565b915060208301356001600160401b03811115611fe3575f80fd5b611fef85828601611d52565b9150509250929050565b80151581146119ab575f80fd5b5f8060408385031215612017575f80fd5b823561202281611e9a565b9150602083013561203281611ff9565b809150509250929050565b5f805f8060808587031215612050575f80fd5b843561205b81611e9a565b9350602085013561206b81611e9a565b925060408501359150606085013561208281611e9a565b939692955090935050565b5f806040838503121561209e575f80fd5b6120a783611ddb565b9150602083013561203281611e9a565b5f602082840312156120c7575f80fd5b5035919050565b5f80604083850312156120df575f80fd5b82356001600160401b038111156120f4575f80fd5b61210085828601611d52565b92505060208301356001600160401b03811115611fe3575f80fd5b5f6020828403121561212b575f80fd5b8151611c7581611f7e565b600181811c9082168061214a57607f821691505b60208210810361216857634e487b7160e01b5f52602260045260245ffd5b50919050565b5f6020828403121561217e575f80fd5b8151611c7581611ff9565b5f60208284031215612199575f80fd5b8151611c7581611e9a565b5f602082840312156121b4575f80fd5b815160ff81168114611c75575f80fd5b601f82111561220857805f5260205f20601f840160051c810160208510156121e95750805b601f840160051c820191505b81811015610877575f81556001016121f5565b505050565b81516001600160401b0381111561222657612226611d3e565b61223a816122348454612136565b846121c4565b6020601f82116001811461226c575f83156122555750848201515b5f19600385901b1c1916600184901b178455610877565b5f84815260208120601f198516915b8281101561229b578785015182556020948501946001909201910161227b565b50848210156122b857868401515f19600387901b60f8161c191681555b50505050600190811b01905550565b5f80858511156122d5575f80fd5b838611156122e1575f80fd5b5050820193919092039150565b80356001600160e01b0319811690600484101561231f576001600160e01b0319600485900360031b81901b82161691505b5092915050565b6001600160a01b03841681526040602082018190528101829052818360608301375f818301606090810191909152601f909201601f1916010192915050565b5f82518060208501845e5f920191825250919050565b5f806040838503121561238c575f80fd5b825161239781611ff9565b602084015190925063ffffffff81168114612032575f80fdfe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a006548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa300a26469706673582212203744c4d3e0369407c744930b456dc04ef1549e6e6524c8d8c11fae160eff4dac64736f6c634300081a0033",
763
852
  "linkReferences": {
853
+ "contracts/shared/ContractLib.sol": {
854
+ "ContractLib": [
855
+ {
856
+ "length": 20,
857
+ "start": 5723
858
+ },
859
+ {
860
+ "length": 20,
861
+ "start": 7039
862
+ }
863
+ ]
864
+ },
764
865
  "contracts/type/NftId.sol": {
765
866
  "NftIdLib": [
766
867
  {
767
868
  "length": 20,
768
- "start": 1332
869
+ "start": 1323
769
870
  },
770
871
  {
771
872
  "length": 20,
772
- "start": 2327
873
+ "start": 3985
773
874
  },
774
875
  {
775
876
  "length": 20,
776
- "start": 4955
877
+ "start": 5232
777
878
  }
778
879
  ]
779
- },
780
- "contracts/type/Version.sol": {
781
- "VersionPartLib": [
880
+ }
881
+ },
882
+ "deployedLinkReferences": {
883
+ "contracts/shared/ContractLib.sol": {
884
+ "ContractLib": [
782
885
  {
783
886
  "length": 20,
784
- "start": 4227
887
+ "start": 5695
888
+ },
889
+ {
890
+ "length": 20,
891
+ "start": 7011
785
892
  }
786
893
  ]
787
- }
788
- },
789
- "deployedLinkReferences": {
894
+ },
790
895
  "contracts/type/NftId.sol": {
791
896
  "NftIdLib": [
792
897
  {
793
898
  "length": 20,
794
- "start": 1304
899
+ "start": 1295
795
900
  },
796
901
  {
797
902
  "length": 20,
798
- "start": 2299
903
+ "start": 3957
799
904
  },
800
905
  {
801
906
  "length": 20,
802
- "start": 4927
803
- }
804
- ]
805
- },
806
- "contracts/type/Version.sol": {
807
- "VersionPartLib": [
808
- {
809
- "length": 20,
810
- "start": 4199
907
+ "start": 5204
811
908
  }
812
909
  ]
813
910
  }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../build-info/c0dcf98bec0e94a13f77c25d28701298.json"
3
+ "buildInfo": "../../../build-info/e4c73a04fa2051a6e38dcb7dde6b5441.json"
4
4
  }