@etherisc/gif-next 0.0.2-f1fe735-758 → 0.0.2-f2273b3-211

Sign up to get free protection for your applications and to get access to all the features.
Files changed (578) hide show
  1. package/README.md +59 -9
  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 +4 -0
  9. package/artifacts/contracts/authorization/AccessAdmin.sol/AccessAdmin.json +1379 -0
  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 +4 -0
  13. package/artifacts/contracts/authorization/AccessManagerCloneable.sol/AccessManagerCloneable.json +1434 -0
  14. package/artifacts/contracts/authorization/Authorization.sol/Authorization.dbg.json +4 -0
  15. package/artifacts/contracts/authorization/Authorization.sol/Authorization.json +542 -0
  16. package/artifacts/contracts/authorization/IAccess.sol/IAccess.dbg.json +4 -0
  17. package/artifacts/contracts/authorization/IAccess.sol/IAccess.json +10 -0
  18. package/artifacts/contracts/authorization/IAccessAdmin.sol/IAccessAdmin.dbg.json +4 -0
  19. package/artifacts/contracts/{shared → authorization}/IAccessAdmin.sol/IAccessAdmin.json +211 -270
  20. package/artifacts/contracts/authorization/IAuthorization.sol/IAuthorization.dbg.json +4 -0
  21. package/artifacts/contracts/authorization/IAuthorization.sol/IAuthorization.json +350 -0
  22. package/artifacts/contracts/authorization/IServiceAuthorization.sol/IServiceAuthorization.dbg.json +4 -0
  23. package/artifacts/contracts/{registry → authorization}/IServiceAuthorization.sol/IServiceAuthorization.json +29 -10
  24. package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.dbg.json +4 -0
  25. package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.json +253 -0
  26. package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.dbg.json +4 -0
  27. package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.json +1322 -0
  28. package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.dbg.json +4 -0
  29. package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.json +589 -0
  30. package/artifacts/contracts/distribution/Distribution.sol/Distribution.dbg.json +1 -1
  31. package/artifacts/contracts/distribution/Distribution.sol/Distribution.json +144 -544
  32. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.dbg.json +1 -1
  33. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.json +396 -265
  34. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +1 -1
  35. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.json +147 -109
  36. package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.dbg.json +1 -1
  37. package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.json +201 -261
  38. package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.dbg.json +1 -1
  39. package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.json +244 -63
  40. package/artifacts/contracts/examples/fire/DamageLevel.sol/DamageLevelLib.dbg.json +4 -0
  41. package/artifacts/contracts/examples/fire/DamageLevel.sol/DamageLevelLib.json +22 -0
  42. package/artifacts/contracts/examples/fire/FirePool.sol/FirePool.dbg.json +4 -0
  43. package/artifacts/contracts/examples/fire/FirePool.sol/FirePool.json +1475 -0
  44. package/artifacts/contracts/examples/fire/FirePoolAuthorization.sol/FirePoolAuthorization.dbg.json +4 -0
  45. package/artifacts/contracts/examples/fire/FirePoolAuthorization.sol/FirePoolAuthorization.json +589 -0
  46. package/artifacts/contracts/examples/fire/FireProduct.sol/FireProduct.dbg.json +4 -0
  47. package/artifacts/contracts/examples/fire/FireProduct.sol/FireProduct.json +2040 -0
  48. package/artifacts/contracts/examples/fire/FireProductAuthorization.sol/FireProductAuthorization.dbg.json +4 -0
  49. package/artifacts/contracts/examples/fire/FireProductAuthorization.sol/FireProductAuthorization.json +589 -0
  50. package/artifacts/contracts/examples/fire/FireUSD.sol/FireUSD.dbg.json +4 -0
  51. package/artifacts/contracts/examples/fire/FireUSD.sol/FireUSD.json +376 -0
  52. package/artifacts/contracts/examples/unpermissioned/SimpleDistribution.sol/SimpleDistribution.dbg.json +4 -0
  53. package/artifacts/contracts/examples/unpermissioned/SimpleDistribution.sol/SimpleDistribution.json +1479 -0
  54. package/artifacts/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol/SimpleDistributionAuthorization.dbg.json +4 -0
  55. package/artifacts/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol/SimpleDistributionAuthorization.json +589 -0
  56. package/artifacts/contracts/examples/unpermissioned/SimpleOracle.sol/SimpleOracle.dbg.json +4 -0
  57. package/artifacts/contracts/examples/unpermissioned/SimpleOracle.sol/SimpleOracle.json +1195 -0
  58. package/artifacts/contracts/examples/unpermissioned/SimplePool.sol/SimplePool.dbg.json +4 -0
  59. package/artifacts/contracts/examples/unpermissioned/SimplePool.sol/SimplePool.json +1655 -0
  60. package/artifacts/contracts/examples/unpermissioned/SimplePoolAuthorization.sol/SimplePoolAuthorization.dbg.json +4 -0
  61. package/artifacts/contracts/examples/unpermissioned/SimplePoolAuthorization.sol/SimplePoolAuthorization.json +589 -0
  62. package/artifacts/contracts/examples/unpermissioned/SimpleProduct.sol/SimpleProduct.dbg.json +4 -0
  63. package/artifacts/contracts/examples/unpermissioned/SimpleProduct.sol/SimpleProduct.json +2426 -0
  64. package/artifacts/contracts/examples/unpermissioned/SimpleProductAuthorization.sol/SimpleProductAuthorization.dbg.json +4 -0
  65. package/artifacts/contracts/examples/unpermissioned/SimpleProductAuthorization.sol/SimpleProductAuthorization.json +589 -0
  66. package/artifacts/contracts/instance/BundleSet.sol/BundleSet.dbg.json +4 -0
  67. package/artifacts/contracts/instance/BundleSet.sol/BundleSet.json +851 -0
  68. package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
  69. package/artifacts/contracts/instance/IInstance.sol/IInstance.json +161 -73
  70. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +1 -1
  71. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +116 -126
  72. package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
  73. package/artifacts/contracts/instance/Instance.sol/Instance.json +190 -211
  74. package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.dbg.json +1 -1
  75. package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.json +1462 -241
  76. package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.dbg.json +4 -0
  77. package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.json +661 -0
  78. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +1 -1
  79. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +1044 -316
  80. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +1 -1
  81. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +135 -330
  82. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +1 -1
  83. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +97 -111
  84. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.dbg.json +1 -1
  85. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.json +650 -529
  86. package/artifacts/contracts/instance/RiskSet.sol/RiskSet.dbg.json +4 -0
  87. package/artifacts/contracts/instance/RiskSet.sol/RiskSet.json +853 -0
  88. package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.dbg.json +1 -1
  89. package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.json +2 -2
  90. package/artifacts/contracts/instance/base/Cloneable.sol/Cloneable.dbg.json +1 -1
  91. package/artifacts/contracts/instance/base/ObjectCounter.sol/ObjectCounter.dbg.json +1 -1
  92. package/artifacts/contracts/instance/base/ObjectCounter.sol/ObjectCounter.json +2 -2
  93. package/artifacts/contracts/instance/base/ObjectLifecycle.sol/ObjectLifecycle.dbg.json +1 -1
  94. package/artifacts/contracts/instance/base/ObjectLifecycle.sol/ObjectLifecycle.json +48 -7
  95. package/artifacts/contracts/instance/base/ObjectSet.sol/ObjectSet.dbg.json +4 -0
  96. package/artifacts/contracts/instance/base/ObjectSet.sol/ObjectSet.json +192 -0
  97. package/artifacts/contracts/instance/base/ObjectSetHelperLib.sol/ObjectSetHelperLib.dbg.json +4 -0
  98. package/artifacts/contracts/instance/base/ObjectSetHelperLib.sol/ObjectSetHelperLib.json +168 -0
  99. package/artifacts/contracts/instance/module/IBundle.sol/IBundle.dbg.json +1 -1
  100. package/artifacts/contracts/instance/module/IComponents.sol/IComponents.dbg.json +1 -1
  101. package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.dbg.json +1 -1
  102. package/artifacts/contracts/instance/module/IPolicy.sol/IPolicy.dbg.json +1 -1
  103. package/artifacts/contracts/instance/module/IRisk.sol/IRisk.dbg.json +1 -1
  104. package/artifacts/contracts/mock/Dip.sol/Dip.dbg.json +1 -1
  105. package/artifacts/contracts/mock/Dip.sol/Dip.json +2 -2
  106. package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.dbg.json +4 -0
  107. package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.json +959 -0
  108. package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.dbg.json +4 -0
  109. package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.json +569 -0
  110. package/artifacts/contracts/oracle/IOracle.sol/IOracle.dbg.json +1 -1
  111. package/artifacts/contracts/oracle/IOracle.sol/IOracle.json +43 -1
  112. package/artifacts/contracts/oracle/IOracleComponent.sol/IOracleComponent.dbg.json +1 -1
  113. package/artifacts/contracts/oracle/IOracleComponent.sol/IOracleComponent.json +141 -126
  114. package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.dbg.json +1 -1
  115. package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.json +69 -11
  116. package/artifacts/contracts/oracle/Oracle.sol/Oracle.dbg.json +1 -1
  117. package/artifacts/contracts/oracle/Oracle.sol/Oracle.json +127 -398
  118. package/artifacts/contracts/oracle/OracleService.sol/OracleService.dbg.json +1 -1
  119. package/artifacts/contracts/oracle/OracleService.sol/OracleService.json +153 -190
  120. package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.dbg.json +1 -1
  121. package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.json +122 -88
  122. package/artifacts/contracts/pool/BasicPool.sol/BasicPool.dbg.json +4 -0
  123. package/artifacts/contracts/pool/BasicPool.sol/BasicPool.json +1252 -0
  124. package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.dbg.json +4 -0
  125. package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.json +589 -0
  126. package/artifacts/contracts/pool/BundleService.sol/BundleService.dbg.json +1 -1
  127. package/artifacts/contracts/pool/BundleService.sol/BundleService.json +331 -204
  128. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.dbg.json +1 -1
  129. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.json +143 -97
  130. package/artifacts/contracts/pool/IBundleService.sol/IBundleService.dbg.json +1 -1
  131. package/artifacts/contracts/pool/IBundleService.sol/IBundleService.json +206 -29
  132. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.dbg.json +1 -1
  133. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.json +132 -379
  134. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.dbg.json +1 -1
  135. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.json +464 -312
  136. package/artifacts/contracts/pool/Pool.sol/Pool.dbg.json +1 -1
  137. package/artifacts/contracts/pool/Pool.sol/Pool.json +124 -662
  138. package/artifacts/contracts/pool/PoolLib.sol/PoolLib.dbg.json +4 -0
  139. package/artifacts/contracts/pool/PoolLib.sol/PoolLib.json +456 -0
  140. package/artifacts/contracts/pool/PoolService.sol/PoolService.dbg.json +1 -1
  141. package/artifacts/contracts/pool/PoolService.sol/PoolService.json +653 -532
  142. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.dbg.json +1 -1
  143. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.json +163 -97
  144. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.dbg.json +1 -1
  145. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.json +134 -184
  146. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +1 -1
  147. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.json +91 -93
  148. package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.dbg.json +4 -0
  149. package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.json +1161 -0
  150. package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.dbg.json +4 -0
  151. package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.json +589 -0
  152. package/artifacts/contracts/product/ClaimService.sol/ClaimService.dbg.json +1 -1
  153. package/artifacts/contracts/product/ClaimService.sol/ClaimService.json +415 -234
  154. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +1 -1
  155. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.json +140 -114
  156. package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.dbg.json +1 -1
  157. package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.json +94 -9
  158. package/artifacts/contracts/product/IClaimService.sol/IClaimService.dbg.json +1 -1
  159. package/artifacts/contracts/product/IClaimService.sol/IClaimService.json +308 -16
  160. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.dbg.json +1 -1
  161. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.json +365 -104
  162. package/artifacts/contracts/product/IPricingService.sol/IPricingService.dbg.json +1 -1
  163. package/artifacts/contracts/product/IPricingService.sol/IPricingService.json +136 -83
  164. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.dbg.json +1 -1
  165. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.json +260 -237
  166. package/artifacts/contracts/product/IRiskService.sol/IRiskService.dbg.json +4 -0
  167. package/artifacts/contracts/product/{IProductService.sol/IProductService.json → IRiskService.sol/IRiskService.json} +57 -4
  168. package/artifacts/contracts/product/PolicyService.sol/PolicyService.dbg.json +1 -1
  169. package/artifacts/contracts/product/PolicyService.sol/PolicyService.json +459 -309
  170. package/artifacts/contracts/product/PolicyServiceLib.sol/PolicyServiceLib.dbg.json +4 -0
  171. package/artifacts/contracts/product/PolicyServiceLib.sol/PolicyServiceLib.json +293 -0
  172. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +1 -1
  173. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.json +141 -99
  174. package/artifacts/contracts/product/PricingService.sol/PricingService.dbg.json +1 -1
  175. package/artifacts/contracts/product/PricingService.sol/PricingService.json +230 -312
  176. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.dbg.json +1 -1
  177. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.json +120 -122
  178. package/artifacts/contracts/product/Product.sol/Product.dbg.json +1 -1
  179. package/artifacts/contracts/product/Product.sol/Product.json +258 -536
  180. package/artifacts/contracts/product/RiskService.sol/RiskService.dbg.json +4 -0
  181. package/artifacts/contracts/product/RiskService.sol/RiskService.json +637 -0
  182. package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.dbg.json +4 -0
  183. package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.json +724 -0
  184. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
  185. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +59 -16
  186. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
  187. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +359 -55
  188. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +1 -1
  189. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +72 -152
  190. package/artifacts/contracts/registry/IRelease.sol/IRelease.dbg.json +4 -0
  191. package/artifacts/contracts/registry/IRelease.sol/IRelease.json +24 -0
  192. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +1 -1
  193. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.json +5 -18
  194. package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
  195. package/artifacts/contracts/registry/Registry.sol/Registry.json +585 -112
  196. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.dbg.json +1 -1
  197. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.json +449 -422
  198. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +1 -1
  199. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +109 -292
  200. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +1 -1
  201. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +94 -80
  202. package/artifacts/contracts/registry/ReleaseAdmin.sol/ReleaseAdmin.dbg.json +4 -0
  203. package/artifacts/contracts/registry/ReleaseAdmin.sol/ReleaseAdmin.json +1849 -0
  204. package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.dbg.json +1 -1
  205. package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.json +48 -7
  206. package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.dbg.json +4 -0
  207. package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.json +1333 -0
  208. package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.dbg.json +1 -1
  209. package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.json +82 -16
  210. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +1 -1
  211. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +5 -5
  212. package/artifacts/contracts/shared/Component.sol/Component.dbg.json +1 -1
  213. package/artifacts/contracts/shared/Component.sol/Component.json +76 -265
  214. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.dbg.json +1 -1
  215. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.json +576 -516
  216. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.dbg.json +1 -1
  217. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.json +137 -113
  218. package/artifacts/contracts/shared/ComponentVerifyingService.sol/ComponentVerifyingService.dbg.json +1 -1
  219. package/artifacts/contracts/shared/ComponentVerifyingService.sol/ComponentVerifyingService.json +57 -111
  220. package/artifacts/contracts/shared/ContractLib.sol/ContractLib.dbg.json +4 -0
  221. package/artifacts/contracts/shared/ContractLib.sol/ContractLib.json +541 -0
  222. package/artifacts/contracts/shared/ContractLib.sol/IInstanceAdminHelper.dbg.json +4 -0
  223. package/artifacts/contracts/shared/ContractLib.sol/IInstanceAdminHelper.json +24 -0
  224. package/artifacts/contracts/shared/ContractLib.sol/ITargetHelper.dbg.json +4 -0
  225. package/artifacts/contracts/shared/ContractLib.sol/ITargetHelper.json +30 -0
  226. package/artifacts/contracts/shared/ContractLib.sol/ITokenRegistryHelper.dbg.json +4 -0
  227. package/artifacts/contracts/shared/ContractLib.sol/ITokenRegistryHelper.json +40 -0
  228. package/artifacts/contracts/shared/IComponent.sol/IComponent.dbg.json +1 -1
  229. package/artifacts/contracts/shared/IComponent.sol/IComponent.json +89 -88
  230. package/artifacts/contracts/shared/IComponentService.sol/IComponentService.dbg.json +1 -1
  231. package/artifacts/contracts/shared/IComponentService.sol/IComponentService.json +547 -224
  232. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.dbg.json +1 -1
  233. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.json +127 -123
  234. package/artifacts/contracts/shared/IKeyValueStore.sol/IKeyValueStore.dbg.json +1 -1
  235. package/artifacts/contracts/shared/IKeyValueStore.sol/IKeyValueStore.json +36 -0
  236. package/artifacts/contracts/shared/ILifecycle.sol/ILifecycle.dbg.json +1 -1
  237. package/artifacts/contracts/shared/ILifecycle.sol/ILifecycle.json +36 -0
  238. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +1 -1
  239. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.json +16 -0
  240. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.dbg.json +1 -1
  241. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.json +15 -47
  242. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
  243. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +148 -0
  244. package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.dbg.json +1 -1
  245. package/artifacts/contracts/shared/IService.sol/IService.dbg.json +1 -1
  246. package/artifacts/contracts/shared/IService.sol/IService.json +55 -2
  247. package/artifacts/contracts/shared/InitializableERC165.sol/InitializableERC165.dbg.json +4 -0
  248. package/artifacts/contracts/shared/InitializableERC165.sol/InitializableERC165.json +53 -0
  249. package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.dbg.json +1 -1
  250. package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.json +112 -351
  251. package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.dbg.json +1 -1
  252. package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.json +42 -1
  253. package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.dbg.json +1 -1
  254. package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.json +42 -1
  255. package/artifacts/contracts/shared/NftIdSet.sol/NftIdSet.dbg.json +4 -0
  256. package/artifacts/contracts/shared/NftIdSet.sol/NftIdSet.json +306 -0
  257. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +1 -1
  258. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +22 -57
  259. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.dbg.json +1 -1
  260. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.json +19 -141
  261. package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
  262. package/artifacts/contracts/shared/Registerable.sol/Registerable.json +122 -97
  263. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.dbg.json +1 -1
  264. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.json +2 -15
  265. package/artifacts/contracts/shared/Service.sol/Service.dbg.json +1 -1
  266. package/artifacts/contracts/shared/Service.sol/Service.json +57 -111
  267. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +1 -1
  268. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +585 -12
  269. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandlerBase.dbg.json +4 -0
  270. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandlerBase.json +484 -0
  271. package/artifacts/contracts/shared/TokenHandlerDeployerLib.sol/TokenHandlerDeployerLib.dbg.json +4 -0
  272. package/artifacts/contracts/shared/TokenHandlerDeployerLib.sol/TokenHandlerDeployerLib.json +172 -0
  273. package/artifacts/contracts/staking/IStaking.sol/IStaking.dbg.json +1 -1
  274. package/artifacts/contracts/staking/IStaking.sol/IStaking.json +137 -139
  275. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.dbg.json +1 -1
  276. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.json +130 -16
  277. package/artifacts/contracts/staking/StakeManagerLib.sol/StakeManagerLib.dbg.json +1 -1
  278. package/artifacts/contracts/staking/StakeManagerLib.sol/StakeManagerLib.json +85 -105
  279. package/artifacts/contracts/staking/Staking.sol/Staking.dbg.json +1 -1
  280. package/artifacts/contracts/staking/Staking.sol/Staking.json +216 -375
  281. package/artifacts/contracts/staking/StakingLifecycle.sol/StakingLifecycle.dbg.json +1 -1
  282. package/artifacts/contracts/staking/StakingLifecycle.sol/StakingLifecycle.json +48 -7
  283. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.dbg.json +1 -1
  284. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.json +126 -95
  285. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.dbg.json +1 -1
  286. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.json +7 -63
  287. package/artifacts/contracts/staking/StakingService.sol/StakingService.dbg.json +1 -1
  288. package/artifacts/contracts/staking/StakingService.sol/StakingService.json +183 -164
  289. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.dbg.json +1 -1
  290. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.json +103 -85
  291. package/artifacts/contracts/staking/StakingStore.sol/StakingStore.dbg.json +1 -1
  292. package/artifacts/contracts/staking/StakingStore.sol/StakingStore.json +181 -135
  293. package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.dbg.json +1 -1
  294. package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.json +59 -23
  295. package/artifacts/contracts/type/AddressSet.sol/LibAddressSet.dbg.json +1 -1
  296. package/artifacts/contracts/type/AddressSet.sol/LibAddressSet.json +2 -2
  297. package/artifacts/contracts/type/Amount.sol/AmountLib.dbg.json +1 -1
  298. package/artifacts/contracts/type/Amount.sol/AmountLib.json +61 -8
  299. package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.dbg.json +1 -1
  300. package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.json +2 -2
  301. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.dbg.json +1 -1
  302. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.json +28 -4
  303. package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.dbg.json +1 -1
  304. package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.json +4 -4
  305. package/artifacts/contracts/type/Fee.sol/FeeLib.dbg.json +1 -1
  306. package/artifacts/contracts/type/Fee.sol/FeeLib.json +17 -12
  307. package/artifacts/contracts/type/Key32.sol/Key32Lib.dbg.json +1 -1
  308. package/artifacts/contracts/type/Key32.sol/Key32Lib.json +2 -2
  309. package/artifacts/contracts/type/Key32Set.sol/LibKey32Set.dbg.json +4 -0
  310. package/artifacts/contracts/type/Key32Set.sol/LibKey32Set.json +33 -0
  311. package/artifacts/contracts/type/NftId.sol/NftIdLib.dbg.json +1 -1
  312. package/artifacts/contracts/type/NftId.sol/NftIdLib.json +23 -4
  313. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.dbg.json +1 -1
  314. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.json +2 -2
  315. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.dbg.json +1 -1
  316. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.json +55 -2
  317. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.dbg.json +1 -1
  318. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.json +19 -19
  319. package/artifacts/contracts/type/Referral.sol/ReferralLib.dbg.json +1 -1
  320. package/artifacts/contracts/type/Referral.sol/ReferralLib.json +4 -4
  321. package/artifacts/contracts/type/RequestId.sol/RequestIdLib.dbg.json +1 -1
  322. package/artifacts/contracts/type/RequestId.sol/RequestIdLib.json +4 -4
  323. package/artifacts/contracts/type/RiskId.sol/RiskIdLib.dbg.json +1 -1
  324. package/artifacts/contracts/type/RiskId.sol/RiskIdLib.json +118 -5
  325. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.dbg.json +1 -1
  326. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.json +181 -14
  327. package/artifacts/contracts/type/Seconds.sol/SecondsLib.dbg.json +1 -1
  328. package/artifacts/contracts/type/Seconds.sol/SecondsLib.json +50 -2
  329. package/artifacts/contracts/type/Selector.sol/SelectorLib.dbg.json +1 -1
  330. package/artifacts/contracts/type/Selector.sol/SelectorLib.json +21 -2
  331. package/artifacts/contracts/type/Selector.sol/SelectorSetLib.dbg.json +1 -1
  332. package/artifacts/contracts/type/Selector.sol/SelectorSetLib.json +2 -2
  333. package/artifacts/contracts/type/StateId.sol/StateIdLib.dbg.json +1 -1
  334. package/artifacts/contracts/type/StateId.sol/StateIdLib.json +15 -2
  335. package/artifacts/contracts/type/String.sol/StrLib.dbg.json +1 -1
  336. package/artifacts/contracts/type/String.sol/StrLib.json +2 -2
  337. package/artifacts/contracts/type/Timestamp.sol/TimestampLib.dbg.json +1 -1
  338. package/artifacts/contracts/type/Timestamp.sol/TimestampLib.json +23 -4
  339. package/artifacts/contracts/type/UFixed.sol/UFixedLib.dbg.json +1 -1
  340. package/artifacts/contracts/type/UFixed.sol/UFixedLib.json +71 -2
  341. package/artifacts/contracts/type/Version.sol/VersionLib.dbg.json +1 -1
  342. package/artifacts/contracts/type/Version.sol/VersionLib.json +2 -21
  343. package/artifacts/contracts/type/Version.sol/VersionPartLib.dbg.json +1 -1
  344. package/artifacts/contracts/type/Version.sol/VersionPartLib.json +66 -2
  345. package/artifacts/contracts/upgradeability/IVersionable.sol/IVersionable.dbg.json +4 -0
  346. package/artifacts/contracts/{shared → upgradeability}/IVersionable.sol/IVersionable.json +1 -1
  347. package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.dbg.json +4 -0
  348. package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.json +618 -0
  349. package/artifacts/contracts/upgradeability/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +4 -0
  350. package/artifacts/contracts/upgradeability/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +129 -0
  351. package/artifacts/contracts/upgradeability/Versionable.sol/Versionable.dbg.json +4 -0
  352. package/artifacts/contracts/{shared → upgradeability}/Versionable.sol/Versionable.json +1 -1
  353. package/contracts/accounting/AccountingService.sol +262 -0
  354. package/contracts/accounting/AccountingServiceManager.sol +38 -0
  355. package/contracts/accounting/IAccountingService.sol +45 -0
  356. package/contracts/{shared → authorization}/AccessAdmin.sol +310 -380
  357. package/contracts/authorization/AccessManagerCloneable.sol +149 -0
  358. package/contracts/authorization/Authorization.sol +337 -0
  359. package/contracts/authorization/IAccess.sol +49 -0
  360. package/contracts/{shared → authorization}/IAccessAdmin.sol +37 -62
  361. package/contracts/authorization/IAuthorization.sol +74 -0
  362. package/contracts/{registry → authorization}/IServiceAuthorization.sol +8 -6
  363. package/contracts/{registry → authorization}/ServiceAuthorization.sol +41 -25
  364. package/contracts/distribution/BasicDistribution.sol +141 -0
  365. package/contracts/distribution/BasicDistributionAuthorization.sol +60 -0
  366. package/contracts/distribution/Distribution.sol +153 -125
  367. package/contracts/distribution/DistributionService.sol +172 -111
  368. package/contracts/distribution/DistributionServiceManager.sol +8 -11
  369. package/contracts/distribution/IDistributionComponent.sol +26 -40
  370. package/contracts/distribution/IDistributionService.sol +42 -22
  371. package/contracts/examples/fire/DamageLevel.sol +59 -0
  372. package/contracts/examples/fire/FirePool.sol +90 -0
  373. package/contracts/examples/fire/FirePoolAuthorization.sol +35 -0
  374. package/contracts/examples/fire/FireProduct.sol +438 -0
  375. package/contracts/examples/fire/FireProductAuthorization.sol +45 -0
  376. package/contracts/examples/fire/FireUSD.sol +26 -0
  377. package/contracts/examples/unpermissioned/SimpleDistribution.sol +57 -0
  378. package/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol +28 -0
  379. package/contracts/examples/unpermissioned/SimpleOracle.sol +137 -0
  380. package/contracts/examples/unpermissioned/SimplePool.sol +106 -0
  381. package/contracts/examples/unpermissioned/SimplePoolAuthorization.sol +28 -0
  382. package/contracts/examples/unpermissioned/SimpleProduct.sol +377 -0
  383. package/contracts/examples/unpermissioned/SimpleProductAuthorization.sol +28 -0
  384. package/contracts/instance/BundleSet.sol +130 -0
  385. package/contracts/instance/IInstance.sol +27 -44
  386. package/contracts/instance/IInstanceService.sol +16 -41
  387. package/contracts/instance/Instance.sol +103 -119
  388. package/contracts/instance/InstanceAdmin.sol +346 -240
  389. package/contracts/instance/InstanceAuthorizationV3.sol +213 -0
  390. package/contracts/instance/InstanceReader.sol +293 -48
  391. package/contracts/instance/InstanceService.sol +145 -180
  392. package/contracts/instance/InstanceServiceManager.sol +8 -13
  393. package/contracts/instance/InstanceStore.sol +29 -3
  394. package/contracts/instance/RiskSet.sol +118 -0
  395. package/contracts/instance/base/ObjectCounter.sol +1 -2
  396. package/contracts/instance/base/ObjectLifecycle.sol +11 -4
  397. package/contracts/instance/base/ObjectSet.sol +77 -0
  398. package/contracts/instance/base/ObjectSetHelperLib.sol +30 -0
  399. package/contracts/instance/module/IBundle.sol +1 -1
  400. package/contracts/instance/module/IComponents.sol +14 -15
  401. package/contracts/instance/module/IDistribution.sol +2 -2
  402. package/contracts/instance/module/IPolicy.sol +26 -25
  403. package/contracts/instance/module/IRisk.sol +3 -0
  404. package/contracts/mock/Dip.sol +1 -1
  405. package/contracts/oracle/BasicOracle.sol +47 -0
  406. package/contracts/oracle/BasicOracleAuthorization.sol +37 -0
  407. package/contracts/oracle/IOracle.sol +16 -0
  408. package/contracts/oracle/IOracleComponent.sol +2 -1
  409. package/contracts/oracle/IOracleService.sol +2 -1
  410. package/contracts/oracle/Oracle.sol +64 -53
  411. package/contracts/oracle/OracleService.sol +113 -81
  412. package/contracts/oracle/OracleServiceManager.sol +8 -11
  413. package/contracts/pool/BasicPool.sol +175 -0
  414. package/contracts/pool/BasicPoolAuthorization.sol +76 -0
  415. package/contracts/pool/BundleService.sol +204 -105
  416. package/contracts/pool/BundleServiceManager.sol +8 -11
  417. package/contracts/pool/IBundleService.sol +31 -22
  418. package/contracts/pool/IPoolComponent.sol +20 -70
  419. package/contracts/pool/IPoolService.sol +90 -75
  420. package/contracts/pool/Pool.sol +209 -163
  421. package/contracts/pool/PoolLib.sol +216 -0
  422. package/contracts/pool/PoolService.sol +546 -241
  423. package/contracts/pool/PoolServiceManager.sol +6 -9
  424. package/contracts/product/ApplicationService.sol +83 -78
  425. package/contracts/product/ApplicationServiceManager.sol +6 -6
  426. package/contracts/product/BasicProduct.sol +51 -0
  427. package/contracts/product/BasicProductAuthorization.sol +56 -0
  428. package/contracts/product/ClaimService.sol +365 -175
  429. package/contracts/product/ClaimServiceManager.sol +6 -6
  430. package/contracts/product/IApplicationService.sol +6 -2
  431. package/contracts/product/IClaimService.sol +44 -8
  432. package/contracts/product/IPolicyService.sol +53 -36
  433. package/contracts/product/IPricingService.sol +10 -10
  434. package/contracts/product/IProductComponent.sol +29 -9
  435. package/contracts/product/{IProductService.sol → IRiskService.sol} +1 -1
  436. package/contracts/product/PolicyService.sol +476 -269
  437. package/contracts/product/PolicyServiceLib.sol +65 -0
  438. package/contracts/product/PolicyServiceManager.sol +6 -9
  439. package/contracts/product/PricingService.sol +66 -62
  440. package/contracts/product/PricingServiceManager.sol +6 -9
  441. package/contracts/product/Product.sol +233 -132
  442. package/contracts/product/RiskService.sol +145 -0
  443. package/contracts/product/RiskServiceManager.sol +39 -0
  444. package/contracts/registry/ChainNft.sol +72 -40
  445. package/contracts/registry/IRegistry.sol +74 -32
  446. package/contracts/registry/IRegistryService.sol +3 -10
  447. package/contracts/registry/IRelease.sol +26 -0
  448. package/contracts/registry/ITransferInterceptor.sol +1 -2
  449. package/contracts/registry/Registry.sol +368 -220
  450. package/contracts/registry/RegistryAdmin.sol +238 -219
  451. package/contracts/registry/RegistryService.sol +41 -66
  452. package/contracts/registry/RegistryServiceManager.sol +5 -5
  453. package/contracts/registry/ReleaseAdmin.sol +245 -0
  454. package/contracts/registry/ReleaseLifecycle.sol +8 -3
  455. package/contracts/registry/ReleaseRegistry.sol +511 -0
  456. package/contracts/registry/ServiceAuthorizationV3.sol +107 -60
  457. package/contracts/registry/TokenRegistry.sol +8 -10
  458. package/contracts/shared/Component.sol +74 -128
  459. package/contracts/shared/ComponentService.sol +456 -384
  460. package/contracts/shared/ComponentServiceManager.sol +10 -7
  461. package/contracts/shared/ComponentVerifyingService.sol +29 -18
  462. package/contracts/shared/ContractLib.sol +253 -0
  463. package/contracts/shared/IComponent.sol +8 -17
  464. package/contracts/shared/IComponentService.sol +49 -39
  465. package/contracts/shared/IInstanceLinkedComponent.sol +10 -26
  466. package/contracts/shared/ILifecycle.sol +3 -1
  467. package/contracts/shared/INftOwnable.sol +2 -0
  468. package/contracts/shared/IPolicyHolder.sol +12 -22
  469. package/contracts/shared/IRegisterable.sol +23 -1
  470. package/contracts/shared/IService.sol +4 -6
  471. package/contracts/shared/{ERC165.sol → InitializableERC165.sol} +3 -3
  472. package/contracts/shared/InstanceLinkedComponent.sol +96 -43
  473. package/contracts/shared/KeyValueStore.sol +1 -1
  474. package/contracts/shared/Lifecycle.sol +15 -4
  475. package/contracts/shared/{NftIdSetManager.sol → NftIdSet.sol} +1 -1
  476. package/contracts/shared/NftOwnable.sol +31 -11
  477. package/contracts/shared/PolicyHolder.sol +17 -57
  478. package/contracts/shared/Registerable.sol +55 -21
  479. package/contracts/shared/RegistryLinked.sol +9 -14
  480. package/contracts/shared/Service.sol +18 -36
  481. package/contracts/shared/TokenHandler.sol +309 -26
  482. package/contracts/shared/TokenHandlerDeployerLib.sol +20 -0
  483. package/contracts/staking/IStaking.sol +9 -13
  484. package/contracts/staking/IStakingService.sol +24 -9
  485. package/contracts/staking/StakeManagerLib.sol +85 -43
  486. package/contracts/staking/Staking.sol +96 -79
  487. package/contracts/staking/StakingManager.sol +10 -12
  488. package/contracts/staking/StakingReader.sol +21 -33
  489. package/contracts/staking/StakingService.sol +79 -37
  490. package/contracts/staking/StakingServiceManager.sol +8 -7
  491. package/contracts/staking/StakingStore.sol +12 -22
  492. package/contracts/staking/TargetManagerLib.sol +7 -3
  493. package/contracts/type/Amount.sol +27 -5
  494. package/contracts/type/Blocknumber.sol +7 -1
  495. package/contracts/type/ClaimId.sol +6 -1
  496. package/contracts/type/Key32.sol +2 -2
  497. package/contracts/type/Key32Set.sol +62 -0
  498. package/contracts/type/NftId.sol +7 -0
  499. package/contracts/type/ObjectType.sol +89 -27
  500. package/contracts/type/PayoutId.sol +10 -10
  501. package/contracts/type/Referral.sol +1 -0
  502. package/contracts/type/RiskId.sol +35 -4
  503. package/contracts/type/RoleId.sol +75 -94
  504. package/contracts/type/Seconds.sol +21 -1
  505. package/contracts/type/Selector.sol +5 -0
  506. package/contracts/type/StateId.sol +15 -1
  507. package/contracts/type/Timestamp.sol +10 -5
  508. package/contracts/type/UFixed.sol +40 -121
  509. package/contracts/type/Version.sol +18 -6
  510. package/contracts/{shared → upgradeability}/ProxyManager.sol +71 -38
  511. package/contracts/{shared → upgradeability}/UpgradableProxyWithAdmin.sol +1 -3
  512. package/contracts/{shared → upgradeability}/Versionable.sol +2 -2
  513. package/package.json +6 -5
  514. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.dbg.json +0 -4
  515. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.json +0 -709
  516. package/artifacts/contracts/instance/InstanceAuthorizationsLib.sol/InstanceAuthorizationsLib.dbg.json +0 -4
  517. package/artifacts/contracts/instance/InstanceAuthorizationsLib.sol/InstanceAuthorizationsLib.json +0 -228
  518. package/artifacts/contracts/instance/base/ObjectManager.sol/ObjectManager.dbg.json +0 -4
  519. package/artifacts/contracts/instance/base/ObjectManager.sol/ObjectManager.json +0 -187
  520. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.dbg.json +0 -4
  521. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.json +0 -129
  522. package/artifacts/contracts/product/IProductService.sol/IProductService.dbg.json +0 -4
  523. package/artifacts/contracts/product/ProductService.sol/ProductService.dbg.json +0 -4
  524. package/artifacts/contracts/product/ProductService.sol/ProductService.json +0 -708
  525. package/artifacts/contracts/product/ProductServiceManager.sol/ProductServiceManager.dbg.json +0 -4
  526. package/artifacts/contracts/product/ProductServiceManager.sol/ProductServiceManager.json +0 -702
  527. package/artifacts/contracts/registry/IServiceAuthorization.sol/IServiceAuthorization.dbg.json +0 -4
  528. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.dbg.json +0 -4
  529. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.json +0 -1177
  530. package/artifacts/contracts/registry/ServiceAuthorization.sol/ServiceAuthorization.dbg.json +0 -4
  531. package/artifacts/contracts/registry/ServiceAuthorization.sol/ServiceAuthorization.json +0 -190
  532. package/artifacts/contracts/shared/AccessAdmin.sol/AccessAdmin.dbg.json +0 -4
  533. package/artifacts/contracts/shared/AccessAdmin.sol/AccessAdmin.json +0 -1559
  534. package/artifacts/contracts/shared/AccessManagerCustom.sol/AccessManagerCustom.dbg.json +0 -4
  535. package/artifacts/contracts/shared/AccessManagerCustom.sol/AccessManagerCustom.json +0 -1193
  536. package/artifacts/contracts/shared/AccessManagerExtended.sol/AccessManagerExtended.dbg.json +0 -4
  537. package/artifacts/contracts/shared/AccessManagerExtended.sol/AccessManagerExtended.json +0 -1747
  538. package/artifacts/contracts/shared/AccessManagerExtendedInitializeable.sol/AccessManagerExtendedInitializeable.dbg.json +0 -4
  539. package/artifacts/contracts/shared/AccessManagerExtendedInitializeable.sol/AccessManagerExtendedInitializeable.json +0 -1760
  540. package/artifacts/contracts/shared/AccessManagerExtendedWithDisable.sol/AccessManagerExtendedWithDisable.dbg.json +0 -4
  541. package/artifacts/contracts/shared/AccessManagerExtendedWithDisable.sol/AccessManagerExtendedWithDisable.json +0 -1838
  542. package/artifacts/contracts/shared/AccessManagerExtendedWithDisableInitializeable.sol/AccessManagerExtendedWithDisableInitializeable.dbg.json +0 -4
  543. package/artifacts/contracts/shared/AccessManagerExtendedWithDisableInitializeable.sol/AccessManagerExtendedWithDisableInitializeable.json +0 -1856
  544. package/artifacts/contracts/shared/ERC165.sol/ERC165.dbg.json +0 -4
  545. package/artifacts/contracts/shared/ERC165.sol/ERC165.json +0 -73
  546. package/artifacts/contracts/shared/IAccessAdmin.sol/IAccessAdmin.dbg.json +0 -4
  547. package/artifacts/contracts/shared/IAccessManagerExtended.sol/IAccessManagerExtended.dbg.json +0 -4
  548. package/artifacts/contracts/shared/IAccessManagerExtended.sol/IAccessManagerExtended.json +0 -1562
  549. package/artifacts/contracts/shared/IAccessManagerExtendedWithDisable.sol/IAccessManagerExtendedWithDisable.dbg.json +0 -4
  550. package/artifacts/contracts/shared/IAccessManagerExtendedWithDisable.sol/IAccessManagerExtendedWithDisable.json +0 -1600
  551. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.dbg.json +0 -4
  552. package/artifacts/contracts/shared/InitializableCustom.sol/InitializableCustom.dbg.json +0 -4
  553. package/artifacts/contracts/shared/InitializableCustom.sol/InitializableCustom.json +0 -39
  554. package/artifacts/contracts/shared/NftIdSetManager.sol/NftIdSetManager.dbg.json +0 -4
  555. package/artifacts/contracts/shared/NftIdSetManager.sol/NftIdSetManager.json +0 -306
  556. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.dbg.json +0 -4
  557. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.json +0 -617
  558. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +0 -4
  559. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +0 -129
  560. package/artifacts/contracts/shared/Versionable.sol/Versionable.dbg.json +0 -4
  561. package/artifacts/contracts/type/UFixed.sol/MathLib.dbg.json +0 -4
  562. package/artifacts/contracts/type/UFixed.sol/MathLib.json +0 -10
  563. package/contracts/instance/BundleManager.sol +0 -126
  564. package/contracts/instance/InstanceAuthorizationsLib.sol +0 -377
  565. package/contracts/instance/base/ObjectManager.sol +0 -80
  566. package/contracts/instance/module/IAccess.sol +0 -46
  567. package/contracts/product/ProductService.sol +0 -124
  568. package/contracts/product/ProductServiceManager.sol +0 -42
  569. package/contracts/registry/ReleaseManager.sol +0 -503
  570. package/contracts/shared/AccessManagerCustom.sol +0 -741
  571. package/contracts/shared/AccessManagerExtended.sol +0 -481
  572. package/contracts/shared/AccessManagerExtendedInitializeable.sol +0 -13
  573. package/contracts/shared/AccessManagerExtendedWithDisable.sol +0 -137
  574. package/contracts/shared/AccessManagerExtendedWithDisableInitializeable.sol +0 -14
  575. package/contracts/shared/IAccessManagerExtended.sol +0 -74
  576. package/contracts/shared/IAccessManagerExtendedWithDisable.sol +0 -18
  577. package/contracts/shared/InitializableCustom.sol +0 -177
  578. /package/contracts/{shared → upgradeability}/IVersionable.sol +0 -0
@@ -45,11 +45,22 @@
45
45
  "inputs": [
46
46
  {
47
47
  "internalType": "address",
48
- "name": "instanceBundleManager",
48
+ "name": "authority",
49
+ "type": "address"
50
+ }
51
+ ],
52
+ "name": "ErrorAuthorityInvalid",
53
+ "type": "error"
54
+ },
55
+ {
56
+ "inputs": [
57
+ {
58
+ "internalType": "address",
59
+ "name": "instanceBundleSet",
49
60
  "type": "address"
50
61
  }
51
62
  ],
52
- "name": "ErrorInstanceBundleManagerAlreadySet",
63
+ "name": "ErrorInstanceBundleSetAlreadySet",
53
64
  "type": "error"
54
65
  },
55
66
  {
@@ -60,7 +71,7 @@
60
71
  "type": "address"
61
72
  }
62
73
  ],
63
- "name": "ErrorInstanceBundleManagerAuthorityMismatch",
74
+ "name": "ErrorInstanceBundleSetAuthorityMismatch",
64
75
  "type": "error"
65
76
  },
66
77
  {
@@ -71,7 +82,7 @@
71
82
  "type": "address"
72
83
  }
73
84
  ],
74
- "name": "ErrorInstanceBundleManagerInstanceMismatch",
85
+ "name": "ErrorInstanceBundleSetInstanceMismatch",
75
86
  "type": "error"
76
87
  },
77
88
  {
@@ -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",
@@ -320,10 +372,10 @@
320
372
  },
321
373
  {
322
374
  "inputs": [],
323
- "name": "getBundleManager",
375
+ "name": "getBundleSet",
324
376
  "outputs": [
325
377
  {
326
- "internalType": "contract BundleManager",
378
+ "internalType": "contract BundleSet",
327
379
  "name": "",
328
380
  "type": "address"
329
381
  }
@@ -383,10 +435,10 @@
383
435
  },
384
436
  {
385
437
  "inputs": [],
386
- "name": "getInstanceAccessManager",
438
+ "name": "getInstanceAdmin",
387
439
  "outputs": [
388
440
  {
389
- "internalType": "contract AccessManagerExtendedInitializeable",
441
+ "internalType": "contract InstanceAdmin",
390
442
  "name": "",
391
443
  "type": "address"
392
444
  }
@@ -396,10 +448,10 @@
396
448
  },
397
449
  {
398
450
  "inputs": [],
399
- "name": "getInstanceAdmin",
451
+ "name": "getInstanceReader",
400
452
  "outputs": [
401
453
  {
402
- "internalType": "contract InstanceAdmin",
454
+ "internalType": "contract InstanceReader",
403
455
  "name": "",
404
456
  "type": "address"
405
457
  }
@@ -409,10 +461,10 @@
409
461
  },
410
462
  {
411
463
  "inputs": [],
412
- "name": "getInstanceReader",
464
+ "name": "getInstanceStore",
413
465
  "outputs": [
414
466
  {
415
- "internalType": "contract InstanceReader",
467
+ "internalType": "contract InstanceStore",
416
468
  "name": "",
417
469
  "type": "address"
418
470
  }
@@ -422,12 +474,12 @@
422
474
  },
423
475
  {
424
476
  "inputs": [],
425
- "name": "getInstanceStore",
477
+ "name": "getNftId",
426
478
  "outputs": [
427
479
  {
428
- "internalType": "contract InstanceStore",
480
+ "internalType": "NftId",
429
481
  "name": "",
430
- "type": "address"
482
+ "type": "uint96"
431
483
  }
432
484
  ],
433
485
  "stateMutability": "view",
@@ -435,24 +487,30 @@
435
487
  },
436
488
  {
437
489
  "inputs": [],
438
- "name": "getMajorVersion",
490
+ "name": "getOwner",
439
491
  "outputs": [
440
492
  {
441
- "internalType": "VersionPart",
442
- "name": "majorVersion",
443
- "type": "uint8"
493
+ "internalType": "address",
494
+ "name": "",
495
+ "type": "address"
444
496
  }
445
497
  ],
446
- "stateMutability": "pure",
498
+ "stateMutability": "view",
447
499
  "type": "function"
448
500
  },
449
501
  {
450
- "inputs": [],
451
- "name": "getNftId",
502
+ "inputs": [
503
+ {
504
+ "internalType": "uint256",
505
+ "name": "idx",
506
+ "type": "uint256"
507
+ }
508
+ ],
509
+ "name": "getProductNftId",
452
510
  "outputs": [
453
511
  {
454
512
  "internalType": "NftId",
455
- "name": "",
513
+ "name": "productNftId",
456
514
  "type": "uint96"
457
515
  }
458
516
  ],
@@ -461,10 +519,10 @@
461
519
  },
462
520
  {
463
521
  "inputs": [],
464
- "name": "getOwner",
522
+ "name": "getRegistry",
465
523
  "outputs": [
466
524
  {
467
- "internalType": "address",
525
+ "internalType": "contract IRegistry",
468
526
  "name": "",
469
527
  "type": "address"
470
528
  }
@@ -474,10 +532,23 @@
474
532
  },
475
533
  {
476
534
  "inputs": [],
477
- "name": "getRegistry",
535
+ "name": "getRelease",
478
536
  "outputs": [
479
537
  {
480
- "internalType": "contract IRegistry",
538
+ "internalType": "VersionPart",
539
+ "name": "release",
540
+ "type": "uint8"
541
+ }
542
+ ],
543
+ "stateMutability": "view",
544
+ "type": "function"
545
+ },
546
+ {
547
+ "inputs": [],
548
+ "name": "getRiskSet",
549
+ "outputs": [
550
+ {
551
+ "internalType": "contract RiskSet",
481
552
  "name": "",
482
553
  "type": "address"
483
554
  }
@@ -506,100 +577,57 @@
506
577
  {
507
578
  "inputs": [
508
579
  {
509
- "internalType": "address",
510
- "name": "authority",
580
+ "internalType": "contract InstanceAdmin",
581
+ "name": "instanceAdmin",
511
582
  "type": "address"
512
583
  },
513
584
  {
514
- "internalType": "address",
515
- "name": "registryAddress",
585
+ "internalType": "contract InstanceStore",
586
+ "name": "instanceStore",
516
587
  "type": "address"
517
588
  },
518
589
  {
519
- "internalType": "address",
520
- "name": "initialOwner",
521
- "type": "address"
522
- }
523
- ],
524
- "name": "initialize",
525
- "outputs": [],
526
- "stateMutability": "nonpayable",
527
- "type": "function"
528
- },
529
- {
530
- "inputs": [],
531
- "name": "initializeERC165",
532
- "outputs": [],
533
- "stateMutability": "nonpayable",
534
- "type": "function"
535
- },
536
- {
537
- "inputs": [
538
- {
539
- "internalType": "address",
540
- "name": "initialOwner",
590
+ "internalType": "contract BundleSet",
591
+ "name": "bundleSet",
541
592
  "type": "address"
542
593
  },
543
594
  {
544
- "internalType": "address",
545
- "name": "registryAddress",
546
- "type": "address"
547
- }
548
- ],
549
- "name": "initializeNftOwnable",
550
- "outputs": [],
551
- "stateMutability": "nonpayable",
552
- "type": "function"
553
- },
554
- {
555
- "inputs": [
556
- {
557
- "internalType": "address",
558
- "name": "registryAddress",
595
+ "internalType": "contract RiskSet",
596
+ "name": "riskSet",
559
597
  "type": "address"
560
598
  },
561
599
  {
562
- "internalType": "NftId",
563
- "name": "parentNftId",
564
- "type": "uint96"
565
- },
566
- {
567
- "internalType": "ObjectType",
568
- "name": "objectType",
569
- "type": "uint8"
600
+ "internalType": "contract InstanceReader",
601
+ "name": "instanceReader",
602
+ "type": "address"
570
603
  },
571
604
  {
572
- "internalType": "bool",
573
- "name": "isInterceptor",
574
- "type": "bool"
605
+ "internalType": "contract IRegistry",
606
+ "name": "registry",
607
+ "type": "address"
575
608
  },
576
609
  {
577
610
  "internalType": "address",
578
611
  "name": "initialOwner",
579
612
  "type": "address"
580
- },
581
- {
582
- "internalType": "bytes",
583
- "name": "registryData",
584
- "type": "bytes"
585
613
  }
586
614
  ],
587
- "name": "initializeRegisterable",
615
+ "name": "initialize",
588
616
  "outputs": [],
589
617
  "stateMutability": "nonpayable",
590
618
  "type": "function"
591
619
  },
592
620
  {
593
- "inputs": [
621
+ "inputs": [],
622
+ "name": "isActive",
623
+ "outputs": [
594
624
  {
595
- "internalType": "address",
596
- "name": "registryAddress",
597
- "type": "address"
625
+ "internalType": "bool",
626
+ "name": "active",
627
+ "type": "bool"
598
628
  }
599
629
  ],
600
- "name": "initializeRegistryLinked",
601
- "outputs": [],
602
- "stateMutability": "nonpayable",
630
+ "stateMutability": "view",
603
631
  "type": "function"
604
632
  },
605
633
  {
@@ -630,6 +658,11 @@
630
658
  },
631
659
  {
632
660
  "inputs": [
661
+ {
662
+ "internalType": "address",
663
+ "name": "from",
664
+ "type": "address"
665
+ },
633
666
  {
634
667
  "internalType": "address",
635
668
  "name": "to",
@@ -639,34 +672,29 @@
639
672
  "internalType": "uint256",
640
673
  "name": "tokenId",
641
674
  "type": "uint256"
675
+ },
676
+ {
677
+ "internalType": "address",
678
+ "name": "operator",
679
+ "type": "address"
642
680
  }
643
681
  ],
644
- "name": "nftMint",
682
+ "name": "nftTransferFrom",
645
683
  "outputs": [],
646
684
  "stateMutability": "nonpayable",
647
685
  "type": "function"
648
686
  },
649
687
  {
650
- "inputs": [
651
- {
652
- "internalType": "address",
653
- "name": "from",
654
- "type": "address"
655
- },
656
- {
657
- "internalType": "address",
658
- "name": "to",
659
- "type": "address"
660
- },
688
+ "inputs": [],
689
+ "name": "products",
690
+ "outputs": [
661
691
  {
662
692
  "internalType": "uint256",
663
- "name": "tokenId",
693
+ "name": "productCount",
664
694
  "type": "uint256"
665
695
  }
666
696
  ],
667
- "name": "nftTransferFrom",
668
- "outputs": [],
669
- "stateMutability": "nonpayable",
697
+ "stateMutability": "view",
670
698
  "type": "function"
671
699
  },
672
700
  {
@@ -685,13 +713,19 @@
685
713
  {
686
714
  "inputs": [
687
715
  {
688
- "internalType": "bytes4",
689
- "name": "interfaceId",
690
- "type": "bytes4"
716
+ "internalType": "address",
717
+ "name": "product",
718
+ "type": "address"
719
+ }
720
+ ],
721
+ "name": "registerProduct",
722
+ "outputs": [
723
+ {
724
+ "internalType": "NftId",
725
+ "name": "productNftId",
726
+ "type": "uint96"
691
727
  }
692
728
  ],
693
- "name": "registerInterface",
694
- "outputs": [],
695
729
  "stateMutability": "nonpayable",
696
730
  "type": "function"
697
731
  },
@@ -726,32 +760,6 @@
726
760
  "stateMutability": "nonpayable",
727
761
  "type": "function"
728
762
  },
729
- {
730
- "inputs": [
731
- {
732
- "internalType": "contract BundleManager",
733
- "name": "bundleManager",
734
- "type": "address"
735
- }
736
- ],
737
- "name": "setBundleManager",
738
- "outputs": [],
739
- "stateMutability": "nonpayable",
740
- "type": "function"
741
- },
742
- {
743
- "inputs": [
744
- {
745
- "internalType": "contract InstanceAdmin",
746
- "name": "accessManager",
747
- "type": "address"
748
- }
749
- ],
750
- "name": "setInstanceAdmin",
751
- "outputs": [],
752
- "stateMutability": "nonpayable",
753
- "type": "function"
754
- },
755
763
  {
756
764
  "inputs": [
757
765
  {
@@ -768,12 +776,17 @@
768
776
  {
769
777
  "inputs": [
770
778
  {
771
- "internalType": "contract InstanceStore",
772
- "name": "instanceStore",
779
+ "internalType": "address",
780
+ "name": "target",
773
781
  "type": "address"
782
+ },
783
+ {
784
+ "internalType": "bool",
785
+ "name": "locked",
786
+ "type": "bool"
774
787
  }
775
788
  ],
776
- "name": "setInstanceStore",
789
+ "name": "setLocked",
777
790
  "outputs": [],
778
791
  "stateMutability": "nonpayable",
779
792
  "type": "function"
@@ -827,24 +840,6 @@
827
840
  "stateMutability": "nonpayable",
828
841
  "type": "function"
829
842
  },
830
- {
831
- "inputs": [
832
- {
833
- "internalType": "address",
834
- "name": "target",
835
- "type": "address"
836
- },
837
- {
838
- "internalType": "bool",
839
- "name": "locked",
840
- "type": "bool"
841
- }
842
- ],
843
- "name": "setTargetLocked",
844
- "outputs": [],
845
- "stateMutability": "nonpayable",
846
- "type": "function"
847
- },
848
843
  {
849
844
  "inputs": [
850
845
  {
@@ -884,80 +879,64 @@
884
879
  "type": "function"
885
880
  }
886
881
  ],
887
- "bytecode": "0x608060405234801561001057600080fd5b50612a08806100206000396000f3fe608060405234801561001057600080fd5b50600436106102485760003560e01c8063770ab1021161013b578063bf7e214f116100b8578063e52ba1cb1161007c578063e52ba1cb14610568578063e5f6cd271461057b578063e7f7fb8614610583578063f7bc431c14610596578063f7c34ee0146105a957600080fd5b8063bf7e214f146104ef578063c0c53b8b146104f7578063cde749f41461050a578063d2192dbf14610524578063d4cda0d81461055757600080fd5b8063ada9652e116100ff578063ada9652e1461048e578063b428b0b0146104a3578063b7d2b162146104b6578063b7d68519146104c9578063bb1e0e59146104dc57600080fd5b8063770ab1021461042c5780637a9e5e4b1461043f5780638689231314610452578063893d20e8146104655780638fb360371461046d57600080fd5b80632d764ef8116101c95780635ab1bd531161018d5780635ab1bd53146103c65780635fa8aad4146103d757806361f5f420146103ea578063644c45e0146103fb578063675393bf1461041957600080fd5b80632d764ef814610374578063311adb681461038757806336fc697e14610398578063422c9d00146103a05780634f8b8aba146103b357600080fd5b8063214cdb8011610210578063214cdb801461031e5780632449aea8146103335780632781d4431461034657806327bb7a331461034e57806329db8c3d1461036157600080fd5b806301ffc9a71461024d57806302cd30711461028f5780630fec111c146102b4578063138461e0146102c95780631eff4b22146102e9575b600080fd5b61027a61025b366004612015565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b6004546001600160a01b03165b6040516001600160a01b039091168152602001610286565b6102bc6105bc565b6040516102869190612087565b6102d1610780565b6040516001600160601b039091168152602001610286565b6103107f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b604051908152602001610286565b61033161032c366004612015565b610790565b005b610331610341366004612127565b6107bd565b610310600381565b61033161035c366004612201565b6108d8565b61033161036f3660046122ed565b61097d565b610331610382366004612397565b6109ea565b6003546001600160a01b031661029c565b610331610a8d565b6103316103ae366004612127565b610ad3565b6103316103c13660046123be565b610c7a565b6001546001600160a01b031661029c565b6103316103e53660046123db565b610d27565b6005546001600160a01b031661029c565b600080516020612993833981519152546001600160601b03166102d1565b610331610427366004612127565b610d62565b61033161043a366004612127565b610e70565b61033161044d366004612127565b610f82565b61033161046036600461242a565b611005565b61029c611048565b61047561117f565b6040516001600160e01b03199091168152602001610286565b61031060008051602061299383398151915281565b6103316104b1366004612463565b6111b7565b6103316104c4366004612463565b611299565b6103316104d7366004612491565b611374565b6103316104ea3660046124aa565b6113e0565b61029c6114a3565b6103316105053660046124d6565b6114bf565b61051261172f565b60405160ff9091168152602001610286565b610537610532366004612521565b6117a6565b604080516001600160401b03938416815292909116602083015201610286565b6006546001600160a01b031661029c565b6102d16105763660046123be565b611831565b61029c6118ed565b61033161059136600461257a565b6118f7565b6103316105a4366004612127565b6119ed565b6103316105b73660046125bb565b611aad565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a082019290925260c081019190915260007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e0016040528073__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015610670573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061069491906125d9565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a0016106dc611048565b6001600160a01b031681526020018260010180546106f9906125f6565b80601f0160208091040260200160405190810160405280929190818152602001828054610725906125f6565b80156107725780601f1061074757610100808354040283529160200191610772565b820191906000526020600020905b81548152906001019060200180831161075557829003601f168201915b505050505081525091505090565b600061078b30611b24565b905090565b610798611d25565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b6107ca335b600036611d70565b6006546001600160a01b03161561080857600654604051632e67e2ab60e21b81526001600160a01b0390911660048201526024015b60405180910390fd5b6108106114a3565b6001600160a01b0316816001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610857573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061087b9190612630565b6001600160a01b0316146108b6576108916114a3565b6040516348263eef60e01b81526001600160a01b0390911660048201526024016107ff565b600680546001600160a01b0319166001600160a01b0392909216919091179055565b6108e0611d25565b6108ea8287611aad565b7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0387166cffffffffffffffffffffffffff1990911617600160601b60ff8716021760ff60681b1916600160681b851515021781557f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa3016109738382612698565b5050505050505050565b610986336107c2565b60035460405163dc85dcb160e01b81526001600160a01b039091169063dc85dcb1906109bc908790879087908790600401612757565b600060405180830381600087803b1580156109d657600080fd5b505af1158015610973573d6000803e3d6000fd5b6109f2611048565b6001600160a01b0316336001600160a01b031614610a255760405163086391f760e31b81523360048201526024016107ff565b6002546040516305aec9df60e31b815264ffffffffff831660048201526001600160a01b0390911690632d764ef8906024015b600060405180830381600087803b158015610a7257600080fd5b505af1158015610a86573d6000803e3d6000fd5b5050505050565b610a95611d25565b6301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b610adc336107c2565b6005546001600160a01b031615610b155760055460405163384c2dbd60e11b81526001600160a01b0390911660048201526024016107ff565b306001600160a01b0316816001600160a01b031663de7b5d146040518163ffffffff1660e01b8152600401602060405180830381865afa158015610b5d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b819190612630565b6001600160a01b031614610baa5760405163decb98c560e01b81523060048201526024016107ff565b610bb26114a3565b6001600160a01b0316816001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610bf9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c1d9190612630565b6001600160a01b031614610c5857610c336114a3565b604051630312205960e41b81526001600160a01b0390911660048201526024016107ff565b600580546001600160a01b0319166001600160a01b0392909216919091179055565b610c82611048565b6001600160a01b0316336001600160a01b031614610cb55760405163086391f760e31b81523360048201526024016107ff565b60025460405163511ab59d60e11b815233600482018190526001600160601b0384166024830152916001600160a01b03169063a2356b3a906044015b600060405180830381600087803b158015610d0b57600080fd5b505af1158015610d1f573d6000803e3d6000fd5b505050505050565b610d30336107c2565b6003546040516317ea2ab560e21b81526001600160a01b0390911690635fa8aad490610cf190859085906004016127cc565b610d6a611d25565b806001600160a01b03163b600003610da05760405163fdeac91f60e01b81526001600160a01b03821660048201526024016107ff565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b815263e607072160e01b60048201526301ffc9a790602401602060405180830381865afa925050508015610e1a575060408051601f3d908101601f19168201909252610e17918101906127f0565b60015b610e425760405163fdeac91f60e01b81526001600160a01b03821660048201526024016107ff565b80610e6b5760405163fdeac91f60e01b81526001600160a01b03831660048201526024016107ff565b505b50565b610e79336107c2565b6003546001600160a01b031615610eb25760035460405163078a818f60e31b81526001600160a01b0390911660048201526024016107ff565b610eba6114a3565b6001600160a01b0316816001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610f01573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f259190612630565b6001600160a01b031614610f6057610f3b6114a3565b60405163021f1e5360e61b81526001600160a01b0390911660048201526024016107ff565b600380546001600160a01b0319166001600160a01b0392909216919091179055565b33610f8b6114a3565b6001600160a01b0316816001600160a01b031614610fc65760405162d1953b60e31b81526001600160a01b03821660048201526024016107ff565b816001600160a01b03163b600003610ffc576040516361798f2f60e11b81526001600160a01b03831660048201526024016107ff565b610e6b82611e6e565b61100e336107c2565b6003546040516308b6d1c760e21b81526001600160a01b0384811660048301528315156024830152909116906322db471c90604401610cf1565b60008060008051602061299383398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af41580156110b8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110dc91906127f0565b15611169576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa15801561113f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111639190612630565b91505090565b54600160601b90046001600160a01b0316919050565b6000805160206129b3833981519152805460009190600160a01b900460ff166111a9576000611163565b638fb3603760e01b91505090565b6111c0336107c2565b6111c86114a3565b604051631517388760e21b81526001600160401b03841660048201526001600160a01b0391909116906325c471a09073__$1d92393fa9ccd763988368ce8a1cb90d26$__9063545ce21c90602401602060405180830381865af4158015611233573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611257919061280d565b6040516001600160e01b031960e084901b1681526001600160401b0390911660048201526001600160a01b038416602482015260006044820152606401610cf1565b6112a2336107c2565b6112aa6114a3565b604051631517388760e21b81526001600160401b03841660048201526001600160a01b03919091169063b7d2b1629073__$1d92393fa9ccd763988368ce8a1cb90d26$__9063545ce21c90602401602060405180830381865af4158015611315573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611339919061280d565b6040516001600160e01b031960e084901b1681526001600160401b0390911660048201526001600160a01b0384166024820152604401610cf1565b61137c611048565b6001600160a01b0316336001600160a01b0316146113af5760405163086391f760e31b81523360048201526024016107ff565b60025460405163b7d6851960e01b8152600481018390526001600160a01b039091169063b7d6851990602401610a58565b6001546001600160a01b03166001600160a01b031663120726c36040518163ffffffff1660e01b8152600401602060405180830381865afa158015611429573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061144d9190612630565b6001600160a01b0316336001600160a01b03161461146a57600080fd5b600354604051632f42b9a560e11b8152600060048201526001600160a01b03848116602483015290911690635e85734a90604401610cf1565b6000805160206129b3833981519152546001600160a01b031690565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a008054600160401b810460ff1615906001600160401b03166000811580156115045750825b90506000826001600160401b031660011480156115205750303b155b90508115801561152e575080155b1561154c5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561157657845460ff60401b1916600160401b1785555b6001600160a01b03881661159d576040516377dbcd1760e01b815260040160405180910390fd5b6115a688611ecf565b600087905061162b88826001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa1580156115ed573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061161191906125d9565b600a60018b604051806020016040528060008152506108d8565b6001546001600160a01b031663d39e6043600a61164661172f565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa15801561168b573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116af9190612630565b600280546001600160a01b0319166001600160a01b03929092169190911790556116df63bfe7f23560e01b610790565b50831561097357845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15050505050505050565b604051632392b61b60e21b81526003600482015260009073__$b659da7d8a6d2d32aa6c1e17da23dc2174$__90638e4ad86c90602401602060405180830381865af4158015611782573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061078b919061282a565b6000806117b2336107c2565b60035460405163d2192dbf60e01b81526001600160a01b039091169063d2192dbf906117e49087908790600401612847565b60408051808303816000875af1158015611802573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118269190612875565b909590945092505050565b600061183b611048565b6001600160a01b0316336001600160a01b03161461186e5760405163086391f760e31b81523360048201526024016107ff565b60025460405163e52ba1cb60e01b81526001600160601b03841660048201526001600160a01b039091169063e52ba1cb906024016020604051808303816000875af11580156118c1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118e591906125d9565b90505b919050565b600061078b6114a3565b6001546001600160a01b03166001600160a01b031663120726c36040518163ffffffff1660e01b8152600401602060405180830381865afa158015611940573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119649190612630565b6001600160a01b0316336001600160a01b03161461198157600080fd5b600354604051632f42b9a560e11b81526001600160a01b038581166004830152848116602483015290911690635e85734a90604401600060405180830381600087803b1580156119d057600080fd5b505af11580156119e4573d6000803e3d6000fd5b50505050505050565b6119f6336107c2565b306001600160a01b0316816001600160a01b031663de7b5d146040518163ffffffff1660e01b8152600401602060405180830381865afa158015611a3e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a629190612630565b6001600160a01b031614611a8b576040516345789cf560e01b81523060048201526024016107ff565b600480546001600160a01b0319166001600160a01b0392909216919091179055565b611ab5611d25565b611abe81610d62565b611ac6610a8d565b6001600160a01b038216611aed5760405163f17ef42d60e01b815260040160405180910390fd5b5060008051602061299383398151915280546001600160601b0316600160601b6001600160a01b0390931692909202919091179055565b60008060008051602061299383398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015611b94573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611bb891906127f0565b15611be45780546040516301ab8b6760e21b81526001600160601b0390911660048201526024016107ff565b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038581166004830152919091169063c3c5a54790602401602060405180830381865afa158015611c38573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611c5c91906127f0565b611c845760405163b9304b0d60e01b81526001600160a01b03841660048201526024016107ff565b6001546001600160a01b0316604051636939560f60e11b81526001600160a01b038581166004830152919091169063d272ac1e90602401602060405180830381865afa158015611cd8573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611cfc91906125d9565b81546bffffffffffffffffffffffff19166001600160601b039190911690811790915592915050565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a0054600160401b900460ff16611d6e57604051631afcd79f60e31b815260040160405180910390fd5b565b6000805160206129b3833981519152600080611dab611d8d6114a3565b8730611d9d600460008a8c6128a4565b611da6916128ce565b611ee0565b9150915081610d1f5763ffffffff811615611e4b57825460ff60a01b1916600160a01b178355611dd96114a3565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b8152600401611e08939291906128fe565b600060405180830381600087803b158015611e2257600080fd5b505af1158015611e36573d6000803e3d6000fd5b5050845460ff60a01b1916855550610d1f9050565b60405162d1953b60e31b81526001600160a01b03871660048201526024016107ff565b6000805160206129b383398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b611ed7611d25565b610e6d81611fec565b6040516001600160a01b03848116602483015283811660448301526001600160e01b03198316606483015260009182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b17905251611f4f919061293e565b600060405180830381855afa9150503d8060008114611f8a576040519150601f19603f3d011682016040523d82523d6000602084013e611f8f565b606091505b50915091508115611fe1576040815110611fc15780806020019051810190611fb7919061295a565b9094509250611fe1565b6020815110611fe15780806020019051810190611fde91906127f0565b93505b505094509492505050565b611ff4611d25565b610e6d81611e6e565b80356001600160e01b0319811681146118e857600080fd5b60006020828403121561202757600080fd5b61203082611ffd565b9392505050565b60005b8381101561205257818101518382015260200161203a565b50506000910152565b60008151808452612073816020860160208601612037565b601f01601f19169290920160200192915050565b6020815260006001600160601b038084511660208401528060208501511660408401525060ff604084015116606083015260608301511515608083015260018060a01b0360808401511660a083015260a08301516120f060c08401826001600160a01b03169052565b5060c083015160e08084015261210a61010084018261205b565b949350505050565b6001600160a01b0381168114610e6d57600080fd5b60006020828403121561213957600080fd5b813561203081612112565b6001600160601b0381168114610e6d57600080fd5b60ff81168114610e6d57600080fd5b8015158114610e6d57600080fd5b634e487b7160e01b600052604160045260246000fd5b60006001600160401b03808411156121a6576121a6612176565b604051601f8501601f19908116603f011681019082821181831017156121ce576121ce612176565b816040528093508581528686860111156121e757600080fd5b858560208301376000602087830101525050509392505050565b60008060008060008060c0878903121561221a57600080fd5b863561222581612112565b9550602087013561223581612144565b9450604087013561224581612159565b9350606087013561225581612168565b9250608087013561226581612112565b915060a08701356001600160401b0381111561228057600080fd5b8701601f8101891361229157600080fd5b6122a08982356020840161218c565b9150509295509295509295565b600082601f8301126122be57600080fd5b6120308383356020850161218c565b6001600160401b0381168114610e6d57600080fd5b80356118e8816122cd565b6000806000806060858703121561230357600080fd5b84356001600160401b038082111561231a57600080fd5b612326888389016122ad565b9550602087013591508082111561233c57600080fd5b818701915087601f83011261235057600080fd5b81358181111561235f57600080fd5b8860208260051b850101111561237457600080fd5b60208301955080945050505061238c604086016122e2565b905092959194509250565b6000602082840312156123a957600080fd5b813564ffffffffff8116811461203057600080fd5b6000602082840312156123d057600080fd5b813561203081612144565b600080604083850312156123ee57600080fd5b82356123f981612112565b915060208301356001600160401b0381111561241457600080fd5b612420858286016122ad565b9150509250929050565b6000806040838503121561243d57600080fd5b823561244881612112565b9150602083013561245881612168565b809150509250929050565b6000806040838503121561247657600080fd5b8235612481816122cd565b9150602083013561245881612112565b6000602082840312156124a357600080fd5b5035919050565b600080604083850312156124bd57600080fd5b82356124c881612112565b946020939093013593505050565b6000806000606084860312156124eb57600080fd5b83356124f681612112565b9250602084013561250681612112565b9150604084013561251681612112565b809150509250925092565b6000806040838503121561253457600080fd5b82356001600160401b038082111561254b57600080fd5b612557868387016122ad565b9350602085013591508082111561256d57600080fd5b50612420858286016122ad565b60008060006060848603121561258f57600080fd5b833561259a81612112565b925060208401356125aa81612112565b929592945050506040919091013590565b600080604083850312156125ce57600080fd5b823561248181612112565b6000602082840312156125eb57600080fd5b815161203081612144565b600181811c9082168061260a57607f821691505b60208210810361262a57634e487b7160e01b600052602260045260246000fd5b50919050565b60006020828403121561264257600080fd5b815161203081612112565b601f82111561269357600081815260208120601f850160051c810160208610156126745750805b601f850160051c820191505b81811015610d1f57828155600101612680565b505050565b81516001600160401b038111156126b1576126b1612176565b6126c5816126bf84546125f6565b8461264d565b602080601f8311600181146126fa57600084156126e25750858301515b600019600386901b1c1916600185901b178555610d1f565b600085815260208120601f198616915b828110156127295788860151825594840194600190910190840161270a565b50858210156127475787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b60608152600061276a606083018761205b565b8281036020848101919091528582528691810160005b878110156127ad576001600160e01b031961279a85611ffd565b1682529282019290820190600101612780565b508093505050506001600160401b038316604083015295945050505050565b6001600160a01b038316815260406020820181905260009061210a9083018461205b565b60006020828403121561280257600080fd5b815161203081612168565b60006020828403121561281f57600080fd5b8151612030816122cd565b60006020828403121561283c57600080fd5b815161203081612159565b60408152600061285a604083018561205b565b828103602084015261286c818561205b565b95945050505050565b6000806040838503121561288857600080fd5b8251612893816122cd565b6020840151909250612458816122cd565b600080858511156128b457600080fd5b838611156128c157600080fd5b5050820193919092039150565b6001600160e01b031981358181169160048510156128f65780818660040360031b1b83161692505b505092915050565b6001600160a01b03841681526040602082018190528101829052818360608301376000818301606090810191909152601f909201601f1916010192915050565b60008251612950818460208701612037565b9190910192915050565b6000806040838503121561296d57600080fd5b825161297881612168565b602084015190925063ffffffff8116811461245857600080fdfe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00a2646970667358221220cd59709b8c9892b5efff2116d336e1802ac380429a5843007188424792a0332964736f6c63430008140033",
888
- "deployedBytecode": "0x608060405234801561001057600080fd5b50600436106102485760003560e01c8063770ab1021161013b578063bf7e214f116100b8578063e52ba1cb1161007c578063e52ba1cb14610568578063e5f6cd271461057b578063e7f7fb8614610583578063f7bc431c14610596578063f7c34ee0146105a957600080fd5b8063bf7e214f146104ef578063c0c53b8b146104f7578063cde749f41461050a578063d2192dbf14610524578063d4cda0d81461055757600080fd5b8063ada9652e116100ff578063ada9652e1461048e578063b428b0b0146104a3578063b7d2b162146104b6578063b7d68519146104c9578063bb1e0e59146104dc57600080fd5b8063770ab1021461042c5780637a9e5e4b1461043f5780638689231314610452578063893d20e8146104655780638fb360371461046d57600080fd5b80632d764ef8116101c95780635ab1bd531161018d5780635ab1bd53146103c65780635fa8aad4146103d757806361f5f420146103ea578063644c45e0146103fb578063675393bf1461041957600080fd5b80632d764ef814610374578063311adb681461038757806336fc697e14610398578063422c9d00146103a05780634f8b8aba146103b357600080fd5b8063214cdb8011610210578063214cdb801461031e5780632449aea8146103335780632781d4431461034657806327bb7a331461034e57806329db8c3d1461036157600080fd5b806301ffc9a71461024d57806302cd30711461028f5780630fec111c146102b4578063138461e0146102c95780631eff4b22146102e9575b600080fd5b61027a61025b366004612015565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b6004546001600160a01b03165b6040516001600160a01b039091168152602001610286565b6102bc6105bc565b6040516102869190612087565b6102d1610780565b6040516001600160601b039091168152602001610286565b6103107f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b604051908152602001610286565b61033161032c366004612015565b610790565b005b610331610341366004612127565b6107bd565b610310600381565b61033161035c366004612201565b6108d8565b61033161036f3660046122ed565b61097d565b610331610382366004612397565b6109ea565b6003546001600160a01b031661029c565b610331610a8d565b6103316103ae366004612127565b610ad3565b6103316103c13660046123be565b610c7a565b6001546001600160a01b031661029c565b6103316103e53660046123db565b610d27565b6005546001600160a01b031661029c565b600080516020612993833981519152546001600160601b03166102d1565b610331610427366004612127565b610d62565b61033161043a366004612127565b610e70565b61033161044d366004612127565b610f82565b61033161046036600461242a565b611005565b61029c611048565b61047561117f565b6040516001600160e01b03199091168152602001610286565b61031060008051602061299383398151915281565b6103316104b1366004612463565b6111b7565b6103316104c4366004612463565b611299565b6103316104d7366004612491565b611374565b6103316104ea3660046124aa565b6113e0565b61029c6114a3565b6103316105053660046124d6565b6114bf565b61051261172f565b60405160ff9091168152602001610286565b610537610532366004612521565b6117a6565b604080516001600160401b03938416815292909116602083015201610286565b6006546001600160a01b031661029c565b6102d16105763660046123be565b611831565b61029c6118ed565b61033161059136600461257a565b6118f7565b6103316105a4366004612127565b6119ed565b6103316105b73660046125bb565b611aad565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a082019290925260c081019190915260007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e0016040528073__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015610670573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061069491906125d9565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a0016106dc611048565b6001600160a01b031681526020018260010180546106f9906125f6565b80601f0160208091040260200160405190810160405280929190818152602001828054610725906125f6565b80156107725780601f1061074757610100808354040283529160200191610772565b820191906000526020600020905b81548152906001019060200180831161075557829003601f168201915b505050505081525091505090565b600061078b30611b24565b905090565b610798611d25565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b6107ca335b600036611d70565b6006546001600160a01b03161561080857600654604051632e67e2ab60e21b81526001600160a01b0390911660048201526024015b60405180910390fd5b6108106114a3565b6001600160a01b0316816001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610857573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061087b9190612630565b6001600160a01b0316146108b6576108916114a3565b6040516348263eef60e01b81526001600160a01b0390911660048201526024016107ff565b600680546001600160a01b0319166001600160a01b0392909216919091179055565b6108e0611d25565b6108ea8287611aad565b7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0387166cffffffffffffffffffffffffff1990911617600160601b60ff8716021760ff60681b1916600160681b851515021781557f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa3016109738382612698565b5050505050505050565b610986336107c2565b60035460405163dc85dcb160e01b81526001600160a01b039091169063dc85dcb1906109bc908790879087908790600401612757565b600060405180830381600087803b1580156109d657600080fd5b505af1158015610973573d6000803e3d6000fd5b6109f2611048565b6001600160a01b0316336001600160a01b031614610a255760405163086391f760e31b81523360048201526024016107ff565b6002546040516305aec9df60e31b815264ffffffffff831660048201526001600160a01b0390911690632d764ef8906024015b600060405180830381600087803b158015610a7257600080fd5b505af1158015610a86573d6000803e3d6000fd5b5050505050565b610a95611d25565b6301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b610adc336107c2565b6005546001600160a01b031615610b155760055460405163384c2dbd60e11b81526001600160a01b0390911660048201526024016107ff565b306001600160a01b0316816001600160a01b031663de7b5d146040518163ffffffff1660e01b8152600401602060405180830381865afa158015610b5d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b819190612630565b6001600160a01b031614610baa5760405163decb98c560e01b81523060048201526024016107ff565b610bb26114a3565b6001600160a01b0316816001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610bf9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c1d9190612630565b6001600160a01b031614610c5857610c336114a3565b604051630312205960e41b81526001600160a01b0390911660048201526024016107ff565b600580546001600160a01b0319166001600160a01b0392909216919091179055565b610c82611048565b6001600160a01b0316336001600160a01b031614610cb55760405163086391f760e31b81523360048201526024016107ff565b60025460405163511ab59d60e11b815233600482018190526001600160601b0384166024830152916001600160a01b03169063a2356b3a906044015b600060405180830381600087803b158015610d0b57600080fd5b505af1158015610d1f573d6000803e3d6000fd5b505050505050565b610d30336107c2565b6003546040516317ea2ab560e21b81526001600160a01b0390911690635fa8aad490610cf190859085906004016127cc565b610d6a611d25565b806001600160a01b03163b600003610da05760405163fdeac91f60e01b81526001600160a01b03821660048201526024016107ff565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b815263e607072160e01b60048201526301ffc9a790602401602060405180830381865afa925050508015610e1a575060408051601f3d908101601f19168201909252610e17918101906127f0565b60015b610e425760405163fdeac91f60e01b81526001600160a01b03821660048201526024016107ff565b80610e6b5760405163fdeac91f60e01b81526001600160a01b03831660048201526024016107ff565b505b50565b610e79336107c2565b6003546001600160a01b031615610eb25760035460405163078a818f60e31b81526001600160a01b0390911660048201526024016107ff565b610eba6114a3565b6001600160a01b0316816001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610f01573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f259190612630565b6001600160a01b031614610f6057610f3b6114a3565b60405163021f1e5360e61b81526001600160a01b0390911660048201526024016107ff565b600380546001600160a01b0319166001600160a01b0392909216919091179055565b33610f8b6114a3565b6001600160a01b0316816001600160a01b031614610fc65760405162d1953b60e31b81526001600160a01b03821660048201526024016107ff565b816001600160a01b03163b600003610ffc576040516361798f2f60e11b81526001600160a01b03831660048201526024016107ff565b610e6b82611e6e565b61100e336107c2565b6003546040516308b6d1c760e21b81526001600160a01b0384811660048301528315156024830152909116906322db471c90604401610cf1565b60008060008051602061299383398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af41580156110b8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110dc91906127f0565b15611169576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa15801561113f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111639190612630565b91505090565b54600160601b90046001600160a01b0316919050565b6000805160206129b3833981519152805460009190600160a01b900460ff166111a9576000611163565b638fb3603760e01b91505090565b6111c0336107c2565b6111c86114a3565b604051631517388760e21b81526001600160401b03841660048201526001600160a01b0391909116906325c471a09073__$1d92393fa9ccd763988368ce8a1cb90d26$__9063545ce21c90602401602060405180830381865af4158015611233573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611257919061280d565b6040516001600160e01b031960e084901b1681526001600160401b0390911660048201526001600160a01b038416602482015260006044820152606401610cf1565b6112a2336107c2565b6112aa6114a3565b604051631517388760e21b81526001600160401b03841660048201526001600160a01b03919091169063b7d2b1629073__$1d92393fa9ccd763988368ce8a1cb90d26$__9063545ce21c90602401602060405180830381865af4158015611315573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611339919061280d565b6040516001600160e01b031960e084901b1681526001600160401b0390911660048201526001600160a01b0384166024820152604401610cf1565b61137c611048565b6001600160a01b0316336001600160a01b0316146113af5760405163086391f760e31b81523360048201526024016107ff565b60025460405163b7d6851960e01b8152600481018390526001600160a01b039091169063b7d6851990602401610a58565b6001546001600160a01b03166001600160a01b031663120726c36040518163ffffffff1660e01b8152600401602060405180830381865afa158015611429573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061144d9190612630565b6001600160a01b0316336001600160a01b03161461146a57600080fd5b600354604051632f42b9a560e11b8152600060048201526001600160a01b03848116602483015290911690635e85734a90604401610cf1565b6000805160206129b3833981519152546001600160a01b031690565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a008054600160401b810460ff1615906001600160401b03166000811580156115045750825b90506000826001600160401b031660011480156115205750303b155b90508115801561152e575080155b1561154c5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561157657845460ff60401b1916600160401b1785555b6001600160a01b03881661159d576040516377dbcd1760e01b815260040160405180910390fd5b6115a688611ecf565b600087905061162b88826001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa1580156115ed573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061161191906125d9565b600a60018b604051806020016040528060008152506108d8565b6001546001600160a01b031663d39e6043600a61164661172f565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa15801561168b573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116af9190612630565b600280546001600160a01b0319166001600160a01b03929092169190911790556116df63bfe7f23560e01b610790565b50831561097357845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15050505050505050565b604051632392b61b60e21b81526003600482015260009073__$b659da7d8a6d2d32aa6c1e17da23dc2174$__90638e4ad86c90602401602060405180830381865af4158015611782573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061078b919061282a565b6000806117b2336107c2565b60035460405163d2192dbf60e01b81526001600160a01b039091169063d2192dbf906117e49087908790600401612847565b60408051808303816000875af1158015611802573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118269190612875565b909590945092505050565b600061183b611048565b6001600160a01b0316336001600160a01b03161461186e5760405163086391f760e31b81523360048201526024016107ff565b60025460405163e52ba1cb60e01b81526001600160601b03841660048201526001600160a01b039091169063e52ba1cb906024016020604051808303816000875af11580156118c1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118e591906125d9565b90505b919050565b600061078b6114a3565b6001546001600160a01b03166001600160a01b031663120726c36040518163ffffffff1660e01b8152600401602060405180830381865afa158015611940573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119649190612630565b6001600160a01b0316336001600160a01b03161461198157600080fd5b600354604051632f42b9a560e11b81526001600160a01b038581166004830152848116602483015290911690635e85734a90604401600060405180830381600087803b1580156119d057600080fd5b505af11580156119e4573d6000803e3d6000fd5b50505050505050565b6119f6336107c2565b306001600160a01b0316816001600160a01b031663de7b5d146040518163ffffffff1660e01b8152600401602060405180830381865afa158015611a3e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a629190612630565b6001600160a01b031614611a8b576040516345789cf560e01b81523060048201526024016107ff565b600480546001600160a01b0319166001600160a01b0392909216919091179055565b611ab5611d25565b611abe81610d62565b611ac6610a8d565b6001600160a01b038216611aed5760405163f17ef42d60e01b815260040160405180910390fd5b5060008051602061299383398151915280546001600160601b0316600160601b6001600160a01b0390931692909202919091179055565b60008060008051602061299383398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015611b94573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611bb891906127f0565b15611be45780546040516301ab8b6760e21b81526001600160601b0390911660048201526024016107ff565b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038581166004830152919091169063c3c5a54790602401602060405180830381865afa158015611c38573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611c5c91906127f0565b611c845760405163b9304b0d60e01b81526001600160a01b03841660048201526024016107ff565b6001546001600160a01b0316604051636939560f60e11b81526001600160a01b038581166004830152919091169063d272ac1e90602401602060405180830381865afa158015611cd8573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611cfc91906125d9565b81546bffffffffffffffffffffffff19166001600160601b039190911690811790915592915050565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a0054600160401b900460ff16611d6e57604051631afcd79f60e31b815260040160405180910390fd5b565b6000805160206129b3833981519152600080611dab611d8d6114a3565b8730611d9d600460008a8c6128a4565b611da6916128ce565b611ee0565b9150915081610d1f5763ffffffff811615611e4b57825460ff60a01b1916600160a01b178355611dd96114a3565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b8152600401611e08939291906128fe565b600060405180830381600087803b158015611e2257600080fd5b505af1158015611e36573d6000803e3d6000fd5b5050845460ff60a01b1916855550610d1f9050565b60405162d1953b60e31b81526001600160a01b03871660048201526024016107ff565b6000805160206129b383398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b611ed7611d25565b610e6d81611fec565b6040516001600160a01b03848116602483015283811660448301526001600160e01b03198316606483015260009182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b17905251611f4f919061293e565b600060405180830381855afa9150503d8060008114611f8a576040519150601f19603f3d011682016040523d82523d6000602084013e611f8f565b606091505b50915091508115611fe1576040815110611fc15780806020019051810190611fb7919061295a565b9094509250611fe1565b6020815110611fe15780806020019051810190611fde91906127f0565b93505b505094509492505050565b611ff4611d25565b610e6d81611e6e565b80356001600160e01b0319811681146118e857600080fd5b60006020828403121561202757600080fd5b61203082611ffd565b9392505050565b60005b8381101561205257818101518382015260200161203a565b50506000910152565b60008151808452612073816020860160208601612037565b601f01601f19169290920160200192915050565b6020815260006001600160601b038084511660208401528060208501511660408401525060ff604084015116606083015260608301511515608083015260018060a01b0360808401511660a083015260a08301516120f060c08401826001600160a01b03169052565b5060c083015160e08084015261210a61010084018261205b565b949350505050565b6001600160a01b0381168114610e6d57600080fd5b60006020828403121561213957600080fd5b813561203081612112565b6001600160601b0381168114610e6d57600080fd5b60ff81168114610e6d57600080fd5b8015158114610e6d57600080fd5b634e487b7160e01b600052604160045260246000fd5b60006001600160401b03808411156121a6576121a6612176565b604051601f8501601f19908116603f011681019082821181831017156121ce576121ce612176565b816040528093508581528686860111156121e757600080fd5b858560208301376000602087830101525050509392505050565b60008060008060008060c0878903121561221a57600080fd5b863561222581612112565b9550602087013561223581612144565b9450604087013561224581612159565b9350606087013561225581612168565b9250608087013561226581612112565b915060a08701356001600160401b0381111561228057600080fd5b8701601f8101891361229157600080fd5b6122a08982356020840161218c565b9150509295509295509295565b600082601f8301126122be57600080fd5b6120308383356020850161218c565b6001600160401b0381168114610e6d57600080fd5b80356118e8816122cd565b6000806000806060858703121561230357600080fd5b84356001600160401b038082111561231a57600080fd5b612326888389016122ad565b9550602087013591508082111561233c57600080fd5b818701915087601f83011261235057600080fd5b81358181111561235f57600080fd5b8860208260051b850101111561237457600080fd5b60208301955080945050505061238c604086016122e2565b905092959194509250565b6000602082840312156123a957600080fd5b813564ffffffffff8116811461203057600080fd5b6000602082840312156123d057600080fd5b813561203081612144565b600080604083850312156123ee57600080fd5b82356123f981612112565b915060208301356001600160401b0381111561241457600080fd5b612420858286016122ad565b9150509250929050565b6000806040838503121561243d57600080fd5b823561244881612112565b9150602083013561245881612168565b809150509250929050565b6000806040838503121561247657600080fd5b8235612481816122cd565b9150602083013561245881612112565b6000602082840312156124a357600080fd5b5035919050565b600080604083850312156124bd57600080fd5b82356124c881612112565b946020939093013593505050565b6000806000606084860312156124eb57600080fd5b83356124f681612112565b9250602084013561250681612112565b9150604084013561251681612112565b809150509250925092565b6000806040838503121561253457600080fd5b82356001600160401b038082111561254b57600080fd5b612557868387016122ad565b9350602085013591508082111561256d57600080fd5b50612420858286016122ad565b60008060006060848603121561258f57600080fd5b833561259a81612112565b925060208401356125aa81612112565b929592945050506040919091013590565b600080604083850312156125ce57600080fd5b823561248181612112565b6000602082840312156125eb57600080fd5b815161203081612144565b600181811c9082168061260a57607f821691505b60208210810361262a57634e487b7160e01b600052602260045260246000fd5b50919050565b60006020828403121561264257600080fd5b815161203081612112565b601f82111561269357600081815260208120601f850160051c810160208610156126745750805b601f850160051c820191505b81811015610d1f57828155600101612680565b505050565b81516001600160401b038111156126b1576126b1612176565b6126c5816126bf84546125f6565b8461264d565b602080601f8311600181146126fa57600084156126e25750858301515b600019600386901b1c1916600185901b178555610d1f565b600085815260208120601f198616915b828110156127295788860151825594840194600190910190840161270a565b50858210156127475787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b60608152600061276a606083018761205b565b8281036020848101919091528582528691810160005b878110156127ad576001600160e01b031961279a85611ffd565b1682529282019290820190600101612780565b508093505050506001600160401b038316604083015295945050505050565b6001600160a01b038316815260406020820181905260009061210a9083018461205b565b60006020828403121561280257600080fd5b815161203081612168565b60006020828403121561281f57600080fd5b8151612030816122cd565b60006020828403121561283c57600080fd5b815161203081612159565b60408152600061285a604083018561205b565b828103602084015261286c818561205b565b95945050505050565b6000806040838503121561288857600080fd5b8251612893816122cd565b6020840151909250612458816122cd565b600080858511156128b457600080fd5b838611156128c157600080fd5b5050820193919092039150565b6001600160e01b031981358181169160048510156128f65780818660040360031b1b83161692505b505092915050565b6001600160a01b03841681526040602082018190528101829052818360608301376000818301606090810191909152601f909201601f1916010192915050565b60008251612950818460208701612037565b9190910192915050565b6000806040838503121561296d57600080fd5b825161297881612168565b602084015190925063ffffffff8116811461245857600080fdfe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00a2646970667358221220cd59709b8c9892b5efff2116d336e1802ac380429a5843007188424792a0332964736f6c63430008140033",
882
+ "bytecode": "0x6080604052348015600e575f80fd5b506126638061001c5f395ff3fe608060405234801561000f575f80fd5b50600436106101fd575f3560e01c80636dddada411610114578063b428b0b0116100a9578063c71e261f11610079578063c71e261f1461047a578063d2192dbf14610482578063d4cda0d8146104b5578063e52ba1cb146104c6578063f7bc431c146104d9575f80fd5b8063b428b0b01461043e578063b7d2b16214610451578063b7d685191461045f578063bf7e214f14610472575f80fd5b806389ad0a34116100e457806389ad0a34146103e35780638fb36037146103f6578063ad12ad6014610417578063ada9652e1461042a575f80fd5b80636dddada41461039d57806376b707b7146103ae5780637a9e5e4b146103c8578063893d20e8146103db575f80fd5b806329db8c3d11610195578063358764761161016557806335876476146103365780634f8b8aba146103495780635ab1bd531461035c5780635fa8aad41461036d578063644c45e014610380575f80fd5b806329db8c3d146102ea5780632d46f5df146102ff5780632d764ef814610312578063311adb6814610325575f80fd5b8063138461e0116101d0578063138461e01461028d57806315b74532146102ad5780631eff4b22146102c057806322f3e2d4146102e2575f80fd5b806301ffc9a71461020157806302cd3071146102425780630e0c586d146102675780630fec111c14610278575b5f80fd5b61022d61020f366004611e57565b6001600160e01b0319165f9081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b6005546001600160a01b03165b6040516001600160a01b039091168152602001610239565b6007546001600160a01b031661024f565b6102806104ec565b6040516102399190611eb3565b610295610693565b6040516001600160601b039091168152602001610239565b6102956102bb366004611f47565b6106a2565b6102d45f8051602061260e83398151915281565b604051908152602001610239565b61022d6106e4565b6102fd6102f8366004612011565b61075b565b005b61029561030d3660046120ce565b6107a1565b6102fd6103203660046120e9565b6108ac565b6004546001600160a01b031661024f565b6102fd61034436600461210d565b61094a565b6102fd6103573660046121b2565b610f82565b6001546001600160a01b031661024f565b6102fd61037b3660046121cd565b61102a565b5f805160206125ce833981519152546001600160601b0316610295565b6006546001600160a01b031661024f565b6103b6611069565b60405160ff9091168152602001610239565b6102fd6103d63660046120ce565b611085565b61024f611107565b6102fd6103f1366004612226565b611238565b6103fe6112ad565b6040516001600160e01b03199091168152602001610239565b6102fd61042536600461225d565b6112e2565b6102d45f805160206125ce83398151915281565b6102fd61044c3660046122ad565b611369565b6102fd61037b3660046122ad565b6102fd61046d366004611f47565b6113e6565b61024f611452565b6009546102d4565b6104956104903660046122d7565b61146d565b604080516001600160401b03938416815292909116602083015201610239565b6008546001600160a01b031661024f565b6102956104d43660046121b2565b6114b1565b6102fd6104e73660046120ce565b611569565b6040805160e0810182525f8082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820152905f8051602061260e83398151915290506040518060e0016040528073__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015610585573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906105a99190612324565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160701b909104161515606082015230608082015260a0016105f1611107565b6001600160a01b0316815260200182600101805461060e9061233f565b80601f016020809104026020016040519081016040528092919081815260200182805461063a9061233f565b80156106855780601f1061065c57610100808354040283529160200191610685565b820191905f5260205f20905b81548152906001019060200180831161066857829003601f168201915b505050505081525091505090565b5f61069d30611629565b905090565b5f600982815481106106b6576106b6612377565b905f5260205f209060029182820401919006600c029054906101000a90046001600160601b03169050919050565b5f6106ed611452565b60405163a166aa8960e01b81523060048201526001600160a01b03919091169063a166aa8990602401602060405180830381865afa158015610731573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610755919061238b565b15905090565b610763611107565b6001600160a01b0316336001600160a01b03161461079b5760405163086391f760e31b81523360048201526024015b60405180910390fd5b50505050565b5f6107aa611107565b6001600160a01b0316336001600160a01b0316146107dd5760405163086391f760e31b8152336004820152602401610792565b600254604051632d46f5df60e01b81526001600160a01b03848116600483015290911690632d46f5df906024016020604051808303815f875af1158015610826573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061084a9190612324565b60098054600180820183555f929092527f6e1540171b6c0c960b71a7020d9f60077f6af931a8bbf590da0223dacf75c7af6002820401805492909116600c026101000a6001600160601b03818102199093169284160291909117905592915050565b6108b4611107565b6001600160a01b0316336001600160a01b0316146108e75760405163086391f760e31b8152336004820152602401610792565b6003546040516305aec9df60e31b815264ffffffffff831660048201526001600160a01b0390911690632d764ef8906024015b5f604051808303815f87803b158015610931575f80fd5b505af1158015610943573d5f803e3d5ffd5b5050505050565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a008054600160401b810460ff1615906001600160401b03165f8115801561098e5750825b90505f826001600160401b031660011480156109a95750303b155b9050811580156109b7575080155b156109d55760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff1916600117855583156109ff57845460ff60401b1916600160401b1785555b6001600160a01b038c16610a26576040516377dbcd1760e01b815260040160405180910390fd5b600480546001600160a01b0319166001600160a01b038e1690811782556040805163bf7e214f60e01b81529051610b1b9363bf7e214f928082019260209290918290030181865afa158015610a7d573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610aa191906123a6565b88896001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa158015610ade573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b029190612324565b600a60018b60405180602001604052805f815250611822565b600880546001600160a01b03808e166001600160a01b03199283168117909355600680548e8316908416179055600780548d831690841617905560058054918c16919092161790556040805163204a7f0760e21b81529051638129fc1c916004808201925f9290919082900301818387803b158015610b98575f80fd5b505af1158015610baa573d5f803e3d5ffd5b5050505060065f9054906101000a90046001600160a01b03166001600160a01b031663485cc9558d6001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610c0d573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610c3191906123a6565b6040516001600160e01b031960e084901b1681526001600160a01b039182166004820152908a1660248201526044015f604051808303815f87803b158015610c77575f80fd5b505af1158015610c89573d5f803e3d5ffd5b5050505060075f9054906101000a90046001600160a01b03166001600160a01b031663485cc9558d6001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610cec573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610d1091906123a6565b6040516001600160e01b031960e084901b1681526001600160a01b039182166004820152908a1660248201526044015f604051808303815f87803b158015610d56575f80fd5b505af1158015610d68573d5f803e3d5ffd5b5050505060055f9054906101000a90046001600160a01b03166001600160a01b0316638129fc1c6040518163ffffffff1660e01b81526004015f604051808303815f87803b158015610db8575f80fd5b505af1158015610dca573d5f803e3d5ffd5b50505050610de06001546001600160a01b031690565b6001600160a01b031663d39e6043600b610df8611069565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa158015610e3b573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610e5f91906123a6565b600280546001600160a01b0319166001600160a01b03928316179055600154166001600160a01b031663d39e6043600a610e97611069565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa158015610eda573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610efe91906123a6565b600380546001600160a01b0319166001600160a01b0392909216919091179055610f2e63328ce46d60e11b6119d6565b8315610f7457845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b505050505050505050505050565b610f8a611107565b6001600160a01b0316336001600160a01b031614610fbd5760405163086391f760e31b8152336004820152602401610792565b60035460405163511ab59d60e11b815233600482018190526001600160601b0384166024830152916001600160a01b03169063a2356b3a906044015b5f604051808303815f87803b158015611010575f80fd5b505af1158015611022573d5f803e3d5ffd5b505050505050565b611032611107565b6001600160a01b0316336001600160a01b0316146110655760405163086391f760e31b8152336004820152602401610792565b5050565b5f8051602061260e83398151915254600160681b900460ff1690565b3361108e611452565b6001600160a01b0316816001600160a01b0316146110c95760405162d1953b60e31b81526001600160a01b0382166004820152602401610792565b816001600160a01b03163b5f036110fe576040516361798f2f60e11b81526001600160a01b0383166004820152602401610792565b61106582611a02565b5f805f805160206125ce83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015611173573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611197919061238b565b15611222576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa1580156111f8573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061121c91906123a6565b91505090565b54600160601b90046001600160a01b0316919050565b611240611107565b6001600160a01b0316336001600160a01b0316146112735760405163086391f760e31b8152336004820152602401610792565b600254604051637899d2b360e11b81526001600160a01b03848116600483015283151560248301529091169063f133a56690604401610ff9565b5f805160206125ee83398151915280545f9190600160a01b900460ff166112d4575f61121c565b638fb3603760e01b91505090565b6001546001600160a01b03166001600160a01b031663120726c36040518163ffffffff1660e01b8152600401602060405180830381865afa158015611329573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061134d91906123a6565b6001600160a01b0316336001600160a01b03161461079b575f80fd5b611371611107565b6001600160a01b0316336001600160a01b0316146113a45760405163086391f760e31b8152336004820152602401610792565b60048054604051630b428b0b60e41b81526001600160401b038516928101929092526001600160a01b038381166024840152169063b428b0b090604401610ff9565b6113ee611107565b6001600160a01b0316336001600160a01b0316146114215760405163086391f760e31b8152336004820152602401610792565b60035460405163b7d6851960e01b8152600481018390526001600160a01b039091169063b7d685199060240161091a565b5f805160206125ee833981519152546001600160a01b031690565b5f80611477611107565b6001600160a01b0316336001600160a01b0316146114aa5760405163086391f760e31b8152336004820152602401610792565b9250929050565b5f6114ba611107565b6001600160a01b0316336001600160a01b0316146114ed5760405163086391f760e31b8152336004820152602401610792565b60035460405163e52ba1cb60e01b81526001600160601b03841660048201526001600160a01b039091169063e52ba1cb906024016020604051808303815f875af115801561153d573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906115619190612324565b90505b919050565b611574335f36611a62565b306001600160a01b0316816001600160a01b031663de7b5d146040518163ffffffff1660e01b8152600401602060405180830381865afa1580156115ba573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906115de91906123a6565b6001600160a01b031614611607576040516345789cf560e01b8152306004820152602401610792565b600580546001600160a01b0319166001600160a01b0392909216919091179055565b5f805f805160206125ce83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015611695573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906116b9919061238b565b156116e55780546040516301ab8b6760e21b81526001600160601b039091166004820152602401610792565b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038581166004830152919091169063c3c5a54790602401602060405180830381865afa158015611737573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061175b919061238b565b6117835760405163b9304b0d60e01b81526001600160a01b0384166004820152602401610792565b6001546001600160a01b0316604051632f2a35f760e11b81526001600160a01b0385811660048301529190911690635e546bee90602401602060405180830381865afa1580156117d5573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906117f99190612324565b81546bffffffffffffffffffffffff19166001600160601b039190911690811790915592915050565b61182a611b58565b604051632330f24760e01b81526001600160a01b038816600482015273__$fb599632d08395912d9d70eb2f0f93b5e2$__90632330f24790602401602060405180830381865af4158015611880573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906118a4919061238b565b6118cc5760405163cf6935e560e01b81526001600160a01b0388166004820152602401610792565b6118d587611ba3565b6118df8683611bb7565b5f8051602061260e83398151915280546001600160601b0387166cffffffffffffffffffffffffff1990911617600160601b60ff871602178155604080516376b707b760e01b815290516001600160a01b038a16916376b707b79160048083019260209291908290030181865afa15801561195c573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061198091906123c1565b815461ffff60681b1916600160681b60ff929092169190910260ff60701b191617600160701b85151502178155600181016119bb838261242a565b506119cc634a531f3360e01b6119d6565b5050505050505050565b6119de611b58565b6001600160e01b0319165f908152602081905260409020805460ff19166001179055565b5f805160206125ee83398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b5f805160206125ee8339815191525f80611a9a611a7d611452565b8730611a8c60045f8a8c6124e4565b611a959161250b565b611c2d565b91509150816110225763ffffffff811615611b3557825460ff60a01b1916600160a01b178355611ac8611452565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b8152600401611af793929190612543565b5f604051808303815f87803b158015611b0e575f80fd5b505af1158015611b20573d5f803e3d5ffd5b5050845460ff60a01b19168555506110229050565b60405162d1953b60e31b81526001600160a01b0387166004820152602401610792565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a0054600160401b900460ff16611ba157604051631afcd79f60e31b815260040160405180910390fd5b565b611bab611b58565b611bb481611d35565b50565b611bbf611b58565b611bc882611d46565b611bd0611e12565b6001600160a01b038116611bf75760405163f17ef42d60e01b815260040160405180910390fd5b5f805160206125ce83398151915280546001600160601b0316600160601b6001600160a01b039093169290920291909117905550565b6040516001600160a01b03848116602483015283811660448301526001600160e01b0319831660648301525f9182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b17905251611c9b9190612582565b5f60405180830381855afa9150503d805f8114611cd3576040519150601f19603f3d011682016040523d82523d5f602084013e611cd8565b606091505b50915091508115611d2a576040815110611d0a5780806020019051810190611d009190612598565b9094509250611d2a565b6020815110611d2a5780806020019051810190611d27919061238b565b93505b505094509492505050565b611d3d611b58565b611bb481611a02565b611d4e611b58565b604051633334d16b60e01b81526001600160a01b038216600482015273__$fb599632d08395912d9d70eb2f0f93b5e2$__90633334d16b90602401602060405180830381865af4158015611da4573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611dc8919061238b565b611df05760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610792565b600180546001600160a01b0319166001600160a01b0392909216919091179055565b611e1a611b58565b6301ffc9a760e01b5f9081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b5f60208284031215611e67575f80fd5b81356001600160e01b031981168114611e7e575f80fd5b9392505050565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081526001600160601b0382511660208201526001600160601b03602083015116604082015260ff60408301511660608201525f6060830151611efb608084018215159052565b5060808301516001600160a01b03811660a08401525060a08301516001600160a01b03811660c08401525060c083015160e080840152611f3f610100840182611e85565b949350505050565b5f60208284031215611f57575f80fd5b5035919050565b634e487b7160e01b5f52604160045260245ffd5b5f82601f830112611f81575f80fd5b81356001600160401b03811115611f9a57611f9a611f5e565b604051601f8201601f19908116603f011681016001600160401b0381118282101715611fc857611fc8611f5e565b604052818152838201602001851015611fdf575f80fd5b816020850160208301375f918101602001919091529392505050565b80356001600160401b0381168114611564575f80fd5b5f805f8060608587031215612024575f80fd5b84356001600160401b03811115612039575f80fd5b61204587828801611f72565b94505060208501356001600160401b03811115612060575f80fd5b8501601f81018713612070575f80fd5b80356001600160401b03811115612085575f80fd5b8760208260051b8401011115612099575f80fd5b602091909101935091506120af60408601611ffb565b905092959194509250565b6001600160a01b0381168114611bb4575f80fd5b5f602082840312156120de575f80fd5b8135611e7e816120ba565b5f602082840312156120f9575f80fd5b813564ffffffffff81168114611e7e575f80fd5b5f805f805f805f60e0888a031215612123575f80fd5b873561212e816120ba565b9650602088013561213e816120ba565b9550604088013561214e816120ba565b9450606088013561215e816120ba565b9350608088013561216e816120ba565b925060a088013561217e816120ba565b915060c088013561218e816120ba565b8091505092959891949750929550565b6001600160601b0381168114611bb4575f80fd5b5f602082840312156121c2575f80fd5b8135611e7e8161219e565b5f80604083850312156121de575f80fd5b82356121e9816120ba565b915060208301356001600160401b03811115612203575f80fd5b61220f85828601611f72565b9150509250929050565b8015158114611bb4575f80fd5b5f8060408385031215612237575f80fd5b8235612242816120ba565b9150602083013561225281612219565b809150509250929050565b5f805f8060808587031215612270575f80fd5b843561227b816120ba565b9350602085013561228b816120ba565b92506040850135915060608501356122a2816120ba565b939692955090935050565b5f80604083850312156122be575f80fd5b6122c783611ffb565b91506020830135612252816120ba565b5f80604083850312156122e8575f80fd5b82356001600160401b038111156122fd575f80fd5b61230985828601611f72565b92505060208301356001600160401b03811115612203575f80fd5b5f60208284031215612334575f80fd5b8151611e7e8161219e565b600181811c9082168061235357607f821691505b60208210810361237157634e487b7160e01b5f52602260045260245ffd5b50919050565b634e487b7160e01b5f52603260045260245ffd5b5f6020828403121561239b575f80fd5b8151611e7e81612219565b5f602082840312156123b6575f80fd5b8151611e7e816120ba565b5f602082840312156123d1575f80fd5b815160ff81168114611e7e575f80fd5b601f82111561242557805f5260205f20601f840160051c810160208510156124065750805b601f840160051c820191505b81811015610943575f8155600101612412565b505050565b81516001600160401b0381111561244357612443611f5e565b61245781612451845461233f565b846123e1565b6020601f821160018114612489575f83156124725750848201515b5f19600385901b1c1916600184901b178455610943565b5f84815260208120601f198516915b828110156124b85787850151825560209485019460019092019101612498565b50848210156124d557868401515f19600387901b60f8161c191681555b50505050600190811b01905550565b5f80858511156124f2575f80fd5b838611156124fe575f80fd5b5050820193919092039150565b80356001600160e01b0319811690600484101561253c576001600160e01b0319600485900360031b81901b82161691505b5092915050565b6001600160a01b03841681526040602082018190528101829052818360608301375f818301606090810191909152601f909201601f1916010192915050565b5f82518060208501845e5f920191825250919050565b5f80604083850312156125a9575f80fd5b82516125b481612219565b602084015190925063ffffffff81168114612252575f80fdfe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a006548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa300a2646970667358221220226673d36ea61d727697a60bee2593c468fa9279ffc9651119a0fc1992dcd7b564736f6c634300081a0033",
883
+ "deployedBytecode": "0x608060405234801561000f575f80fd5b50600436106101fd575f3560e01c80636dddada411610114578063b428b0b0116100a9578063c71e261f11610079578063c71e261f1461047a578063d2192dbf14610482578063d4cda0d8146104b5578063e52ba1cb146104c6578063f7bc431c146104d9575f80fd5b8063b428b0b01461043e578063b7d2b16214610451578063b7d685191461045f578063bf7e214f14610472575f80fd5b806389ad0a34116100e457806389ad0a34146103e35780638fb36037146103f6578063ad12ad6014610417578063ada9652e1461042a575f80fd5b80636dddada41461039d57806376b707b7146103ae5780637a9e5e4b146103c8578063893d20e8146103db575f80fd5b806329db8c3d11610195578063358764761161016557806335876476146103365780634f8b8aba146103495780635ab1bd531461035c5780635fa8aad41461036d578063644c45e014610380575f80fd5b806329db8c3d146102ea5780632d46f5df146102ff5780632d764ef814610312578063311adb6814610325575f80fd5b8063138461e0116101d0578063138461e01461028d57806315b74532146102ad5780631eff4b22146102c057806322f3e2d4146102e2575f80fd5b806301ffc9a71461020157806302cd3071146102425780630e0c586d146102675780630fec111c14610278575b5f80fd5b61022d61020f366004611e57565b6001600160e01b0319165f9081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b6005546001600160a01b03165b6040516001600160a01b039091168152602001610239565b6007546001600160a01b031661024f565b6102806104ec565b6040516102399190611eb3565b610295610693565b6040516001600160601b039091168152602001610239565b6102956102bb366004611f47565b6106a2565b6102d45f8051602061260e83398151915281565b604051908152602001610239565b61022d6106e4565b6102fd6102f8366004612011565b61075b565b005b61029561030d3660046120ce565b6107a1565b6102fd6103203660046120e9565b6108ac565b6004546001600160a01b031661024f565b6102fd61034436600461210d565b61094a565b6102fd6103573660046121b2565b610f82565b6001546001600160a01b031661024f565b6102fd61037b3660046121cd565b61102a565b5f805160206125ce833981519152546001600160601b0316610295565b6006546001600160a01b031661024f565b6103b6611069565b60405160ff9091168152602001610239565b6102fd6103d63660046120ce565b611085565b61024f611107565b6102fd6103f1366004612226565b611238565b6103fe6112ad565b6040516001600160e01b03199091168152602001610239565b6102fd61042536600461225d565b6112e2565b6102d45f805160206125ce83398151915281565b6102fd61044c3660046122ad565b611369565b6102fd61037b3660046122ad565b6102fd61046d366004611f47565b6113e6565b61024f611452565b6009546102d4565b6104956104903660046122d7565b61146d565b604080516001600160401b03938416815292909116602083015201610239565b6008546001600160a01b031661024f565b6102956104d43660046121b2565b6114b1565b6102fd6104e73660046120ce565b611569565b6040805160e0810182525f8082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820152905f8051602061260e83398151915290506040518060e0016040528073__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015610585573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906105a99190612324565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160701b909104161515606082015230608082015260a0016105f1611107565b6001600160a01b0316815260200182600101805461060e9061233f565b80601f016020809104026020016040519081016040528092919081815260200182805461063a9061233f565b80156106855780601f1061065c57610100808354040283529160200191610685565b820191905f5260205f20905b81548152906001019060200180831161066857829003601f168201915b505050505081525091505090565b5f61069d30611629565b905090565b5f600982815481106106b6576106b6612377565b905f5260205f209060029182820401919006600c029054906101000a90046001600160601b03169050919050565b5f6106ed611452565b60405163a166aa8960e01b81523060048201526001600160a01b03919091169063a166aa8990602401602060405180830381865afa158015610731573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610755919061238b565b15905090565b610763611107565b6001600160a01b0316336001600160a01b03161461079b5760405163086391f760e31b81523360048201526024015b60405180910390fd5b50505050565b5f6107aa611107565b6001600160a01b0316336001600160a01b0316146107dd5760405163086391f760e31b8152336004820152602401610792565b600254604051632d46f5df60e01b81526001600160a01b03848116600483015290911690632d46f5df906024016020604051808303815f875af1158015610826573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061084a9190612324565b60098054600180820183555f929092527f6e1540171b6c0c960b71a7020d9f60077f6af931a8bbf590da0223dacf75c7af6002820401805492909116600c026101000a6001600160601b03818102199093169284160291909117905592915050565b6108b4611107565b6001600160a01b0316336001600160a01b0316146108e75760405163086391f760e31b8152336004820152602401610792565b6003546040516305aec9df60e31b815264ffffffffff831660048201526001600160a01b0390911690632d764ef8906024015b5f604051808303815f87803b158015610931575f80fd5b505af1158015610943573d5f803e3d5ffd5b5050505050565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a008054600160401b810460ff1615906001600160401b03165f8115801561098e5750825b90505f826001600160401b031660011480156109a95750303b155b9050811580156109b7575080155b156109d55760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff1916600117855583156109ff57845460ff60401b1916600160401b1785555b6001600160a01b038c16610a26576040516377dbcd1760e01b815260040160405180910390fd5b600480546001600160a01b0319166001600160a01b038e1690811782556040805163bf7e214f60e01b81529051610b1b9363bf7e214f928082019260209290918290030181865afa158015610a7d573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610aa191906123a6565b88896001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa158015610ade573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b029190612324565b600a60018b60405180602001604052805f815250611822565b600880546001600160a01b03808e166001600160a01b03199283168117909355600680548e8316908416179055600780548d831690841617905560058054918c16919092161790556040805163204a7f0760e21b81529051638129fc1c916004808201925f9290919082900301818387803b158015610b98575f80fd5b505af1158015610baa573d5f803e3d5ffd5b5050505060065f9054906101000a90046001600160a01b03166001600160a01b031663485cc9558d6001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610c0d573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610c3191906123a6565b6040516001600160e01b031960e084901b1681526001600160a01b039182166004820152908a1660248201526044015f604051808303815f87803b158015610c77575f80fd5b505af1158015610c89573d5f803e3d5ffd5b5050505060075f9054906101000a90046001600160a01b03166001600160a01b031663485cc9558d6001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610cec573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610d1091906123a6565b6040516001600160e01b031960e084901b1681526001600160a01b039182166004820152908a1660248201526044015f604051808303815f87803b158015610d56575f80fd5b505af1158015610d68573d5f803e3d5ffd5b5050505060055f9054906101000a90046001600160a01b03166001600160a01b0316638129fc1c6040518163ffffffff1660e01b81526004015f604051808303815f87803b158015610db8575f80fd5b505af1158015610dca573d5f803e3d5ffd5b50505050610de06001546001600160a01b031690565b6001600160a01b031663d39e6043600b610df8611069565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa158015610e3b573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610e5f91906123a6565b600280546001600160a01b0319166001600160a01b03928316179055600154166001600160a01b031663d39e6043600a610e97611069565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa158015610eda573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610efe91906123a6565b600380546001600160a01b0319166001600160a01b0392909216919091179055610f2e63328ce46d60e11b6119d6565b8315610f7457845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b505050505050505050505050565b610f8a611107565b6001600160a01b0316336001600160a01b031614610fbd5760405163086391f760e31b8152336004820152602401610792565b60035460405163511ab59d60e11b815233600482018190526001600160601b0384166024830152916001600160a01b03169063a2356b3a906044015b5f604051808303815f87803b158015611010575f80fd5b505af1158015611022573d5f803e3d5ffd5b505050505050565b611032611107565b6001600160a01b0316336001600160a01b0316146110655760405163086391f760e31b8152336004820152602401610792565b5050565b5f8051602061260e83398151915254600160681b900460ff1690565b3361108e611452565b6001600160a01b0316816001600160a01b0316146110c95760405162d1953b60e31b81526001600160a01b0382166004820152602401610792565b816001600160a01b03163b5f036110fe576040516361798f2f60e11b81526001600160a01b0383166004820152602401610792565b61106582611a02565b5f805f805160206125ce83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015611173573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611197919061238b565b15611222576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa1580156111f8573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061121c91906123a6565b91505090565b54600160601b90046001600160a01b0316919050565b611240611107565b6001600160a01b0316336001600160a01b0316146112735760405163086391f760e31b8152336004820152602401610792565b600254604051637899d2b360e11b81526001600160a01b03848116600483015283151560248301529091169063f133a56690604401610ff9565b5f805160206125ee83398151915280545f9190600160a01b900460ff166112d4575f61121c565b638fb3603760e01b91505090565b6001546001600160a01b03166001600160a01b031663120726c36040518163ffffffff1660e01b8152600401602060405180830381865afa158015611329573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061134d91906123a6565b6001600160a01b0316336001600160a01b03161461079b575f80fd5b611371611107565b6001600160a01b0316336001600160a01b0316146113a45760405163086391f760e31b8152336004820152602401610792565b60048054604051630b428b0b60e41b81526001600160401b038516928101929092526001600160a01b038381166024840152169063b428b0b090604401610ff9565b6113ee611107565b6001600160a01b0316336001600160a01b0316146114215760405163086391f760e31b8152336004820152602401610792565b60035460405163b7d6851960e01b8152600481018390526001600160a01b039091169063b7d685199060240161091a565b5f805160206125ee833981519152546001600160a01b031690565b5f80611477611107565b6001600160a01b0316336001600160a01b0316146114aa5760405163086391f760e31b8152336004820152602401610792565b9250929050565b5f6114ba611107565b6001600160a01b0316336001600160a01b0316146114ed5760405163086391f760e31b8152336004820152602401610792565b60035460405163e52ba1cb60e01b81526001600160601b03841660048201526001600160a01b039091169063e52ba1cb906024016020604051808303815f875af115801561153d573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906115619190612324565b90505b919050565b611574335f36611a62565b306001600160a01b0316816001600160a01b031663de7b5d146040518163ffffffff1660e01b8152600401602060405180830381865afa1580156115ba573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906115de91906123a6565b6001600160a01b031614611607576040516345789cf560e01b8152306004820152602401610792565b600580546001600160a01b0319166001600160a01b0392909216919091179055565b5f805f805160206125ce83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015611695573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906116b9919061238b565b156116e55780546040516301ab8b6760e21b81526001600160601b039091166004820152602401610792565b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038581166004830152919091169063c3c5a54790602401602060405180830381865afa158015611737573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061175b919061238b565b6117835760405163b9304b0d60e01b81526001600160a01b0384166004820152602401610792565b6001546001600160a01b0316604051632f2a35f760e11b81526001600160a01b0385811660048301529190911690635e546bee90602401602060405180830381865afa1580156117d5573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906117f99190612324565b81546bffffffffffffffffffffffff19166001600160601b039190911690811790915592915050565b61182a611b58565b604051632330f24760e01b81526001600160a01b038816600482015273__$fb599632d08395912d9d70eb2f0f93b5e2$__90632330f24790602401602060405180830381865af4158015611880573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906118a4919061238b565b6118cc5760405163cf6935e560e01b81526001600160a01b0388166004820152602401610792565b6118d587611ba3565b6118df8683611bb7565b5f8051602061260e83398151915280546001600160601b0387166cffffffffffffffffffffffffff1990911617600160601b60ff871602178155604080516376b707b760e01b815290516001600160a01b038a16916376b707b79160048083019260209291908290030181865afa15801561195c573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061198091906123c1565b815461ffff60681b1916600160681b60ff929092169190910260ff60701b191617600160701b85151502178155600181016119bb838261242a565b506119cc634a531f3360e01b6119d6565b5050505050505050565b6119de611b58565b6001600160e01b0319165f908152602081905260409020805460ff19166001179055565b5f805160206125ee83398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b5f805160206125ee8339815191525f80611a9a611a7d611452565b8730611a8c60045f8a8c6124e4565b611a959161250b565b611c2d565b91509150816110225763ffffffff811615611b3557825460ff60a01b1916600160a01b178355611ac8611452565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b8152600401611af793929190612543565b5f604051808303815f87803b158015611b0e575f80fd5b505af1158015611b20573d5f803e3d5ffd5b5050845460ff60a01b19168555506110229050565b60405162d1953b60e31b81526001600160a01b0387166004820152602401610792565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a0054600160401b900460ff16611ba157604051631afcd79f60e31b815260040160405180910390fd5b565b611bab611b58565b611bb481611d35565b50565b611bbf611b58565b611bc882611d46565b611bd0611e12565b6001600160a01b038116611bf75760405163f17ef42d60e01b815260040160405180910390fd5b5f805160206125ce83398151915280546001600160601b0316600160601b6001600160a01b039093169290920291909117905550565b6040516001600160a01b03848116602483015283811660448301526001600160e01b0319831660648301525f9182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b17905251611c9b9190612582565b5f60405180830381855afa9150503d805f8114611cd3576040519150601f19603f3d011682016040523d82523d5f602084013e611cd8565b606091505b50915091508115611d2a576040815110611d0a5780806020019051810190611d009190612598565b9094509250611d2a565b6020815110611d2a5780806020019051810190611d27919061238b565b93505b505094509492505050565b611d3d611b58565b611bb481611a02565b611d4e611b58565b604051633334d16b60e01b81526001600160a01b038216600482015273__$fb599632d08395912d9d70eb2f0f93b5e2$__90633334d16b90602401602060405180830381865af4158015611da4573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611dc8919061238b565b611df05760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610792565b600180546001600160a01b0319166001600160a01b0392909216919091179055565b611e1a611b58565b6301ffc9a760e01b5f9081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b5f60208284031215611e67575f80fd5b81356001600160e01b031981168114611e7e575f80fd5b9392505050565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081526001600160601b0382511660208201526001600160601b03602083015116604082015260ff60408301511660608201525f6060830151611efb608084018215159052565b5060808301516001600160a01b03811660a08401525060a08301516001600160a01b03811660c08401525060c083015160e080840152611f3f610100840182611e85565b949350505050565b5f60208284031215611f57575f80fd5b5035919050565b634e487b7160e01b5f52604160045260245ffd5b5f82601f830112611f81575f80fd5b81356001600160401b03811115611f9a57611f9a611f5e565b604051601f8201601f19908116603f011681016001600160401b0381118282101715611fc857611fc8611f5e565b604052818152838201602001851015611fdf575f80fd5b816020850160208301375f918101602001919091529392505050565b80356001600160401b0381168114611564575f80fd5b5f805f8060608587031215612024575f80fd5b84356001600160401b03811115612039575f80fd5b61204587828801611f72565b94505060208501356001600160401b03811115612060575f80fd5b8501601f81018713612070575f80fd5b80356001600160401b03811115612085575f80fd5b8760208260051b8401011115612099575f80fd5b602091909101935091506120af60408601611ffb565b905092959194509250565b6001600160a01b0381168114611bb4575f80fd5b5f602082840312156120de575f80fd5b8135611e7e816120ba565b5f602082840312156120f9575f80fd5b813564ffffffffff81168114611e7e575f80fd5b5f805f805f805f60e0888a031215612123575f80fd5b873561212e816120ba565b9650602088013561213e816120ba565b9550604088013561214e816120ba565b9450606088013561215e816120ba565b9350608088013561216e816120ba565b925060a088013561217e816120ba565b915060c088013561218e816120ba565b8091505092959891949750929550565b6001600160601b0381168114611bb4575f80fd5b5f602082840312156121c2575f80fd5b8135611e7e8161219e565b5f80604083850312156121de575f80fd5b82356121e9816120ba565b915060208301356001600160401b03811115612203575f80fd5b61220f85828601611f72565b9150509250929050565b8015158114611bb4575f80fd5b5f8060408385031215612237575f80fd5b8235612242816120ba565b9150602083013561225281612219565b809150509250929050565b5f805f8060808587031215612270575f80fd5b843561227b816120ba565b9350602085013561228b816120ba565b92506040850135915060608501356122a2816120ba565b939692955090935050565b5f80604083850312156122be575f80fd5b6122c783611ffb565b91506020830135612252816120ba565b5f80604083850312156122e8575f80fd5b82356001600160401b038111156122fd575f80fd5b61230985828601611f72565b92505060208301356001600160401b03811115612203575f80fd5b5f60208284031215612334575f80fd5b8151611e7e8161219e565b600181811c9082168061235357607f821691505b60208210810361237157634e487b7160e01b5f52602260045260245ffd5b50919050565b634e487b7160e01b5f52603260045260245ffd5b5f6020828403121561239b575f80fd5b8151611e7e81612219565b5f602082840312156123b6575f80fd5b8151611e7e816120ba565b5f602082840312156123d1575f80fd5b815160ff81168114611e7e575f80fd5b601f82111561242557805f5260205f20601f840160051c810160208510156124065750805b601f840160051c820191505b81811015610943575f8155600101612412565b505050565b81516001600160401b0381111561244357612443611f5e565b61245781612451845461233f565b846123e1565b6020601f821160018114612489575f83156124725750848201515b5f19600385901b1c1916600184901b178455610943565b5f84815260208120601f198516915b828110156124b85787850151825560209485019460019092019101612498565b50848210156124d557868401515f19600387901b60f8161c191681555b50505050600190811b01905550565b5f80858511156124f2575f80fd5b838611156124fe575f80fd5b5050820193919092039150565b80356001600160e01b0319811690600484101561253c576001600160e01b0319600485900360031b81901b82161691505b5092915050565b6001600160a01b03841681526040602082018190528101829052818360608301375f818301606090810191909152601f909201601f1916010192915050565b5f82518060208501845e5f920191825250919050565b5f80604083850312156125a9575f80fd5b82516125b481612219565b602084015190925063ffffffff81168114612252575f80fdfe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a006548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa300a2646970667358221220226673d36ea61d727697a60bee2593c468fa9279ffc9651119a0fc1992dcd7b564736f6c634300081a0033",
889
884
  "linkReferences": {
890
- "contracts/type/NftId.sol": {
891
- "NftIdLib": [
885
+ "contracts/shared/ContractLib.sol": {
886
+ "ContractLib": [
892
887
  {
893
888
  "length": 20,
894
- "start": 1609
889
+ "start": 6244
895
890
  },
896
891
  {
897
892
  "length": 20,
898
- "start": 4254
899
- },
900
- {
901
- "length": 20,
902
- "start": 7034
893
+ "start": 7560
903
894
  }
904
895
  ]
905
896
  },
906
- "contracts/type/RoleId.sol": {
907
- "RoleIdLib": [
897
+ "contracts/type/NftId.sol": {
898
+ "NftIdLib": [
908
899
  {
909
900
  "length": 20,
910
- "start": 4633
901
+ "start": 1372
911
902
  },
912
903
  {
913
904
  "length": 20,
914
- "start": 4859
915
- }
916
- ]
917
- },
918
- "contracts/type/Version.sol": {
919
- "VersionPartLib": [
905
+ "start": 4439
906
+ },
920
907
  {
921
908
  "length": 20,
922
- "start": 5992
909
+ "start": 5753
923
910
  }
924
911
  ]
925
912
  }
926
913
  },
927
914
  "deployedLinkReferences": {
928
- "contracts/type/NftId.sol": {
929
- "NftIdLib": [
915
+ "contracts/shared/ContractLib.sol": {
916
+ "ContractLib": [
930
917
  {
931
918
  "length": 20,
932
- "start": 1577
919
+ "start": 6216
933
920
  },
934
921
  {
935
922
  "length": 20,
936
- "start": 4222
937
- },
938
- {
939
- "length": 20,
940
- "start": 7002
923
+ "start": 7532
941
924
  }
942
925
  ]
943
926
  },
944
- "contracts/type/RoleId.sol": {
945
- "RoleIdLib": [
927
+ "contracts/type/NftId.sol": {
928
+ "NftIdLib": [
946
929
  {
947
930
  "length": 20,
948
- "start": 4601
931
+ "start": 1344
949
932
  },
950
933
  {
951
934
  "length": 20,
952
- "start": 4827
953
- }
954
- ]
955
- },
956
- "contracts/type/Version.sol": {
957
- "VersionPartLib": [
935
+ "start": 4411
936
+ },
958
937
  {
959
938
  "length": 20,
960
- "start": 5960
939
+ "start": 5725
961
940
  }
962
941
  ]
963
942
  }