@etherisc/gif-next 0.0.2-e769e2e-077 → 0.0.2-e79d227-681

Sign up to get free protection for your applications and to get access to all the features.
Files changed (535) hide show
  1. package/README.md +77 -10
  2. package/artifacts/contracts/authorization/AccessAdmin.sol/AccessAdmin.dbg.json +4 -0
  3. package/artifacts/contracts/authorization/AccessAdmin.sol/AccessAdmin.json +1293 -0
  4. package/artifacts/contracts/authorization/AccessAdmin.sol/IAccessManagedChecker.dbg.json +4 -0
  5. package/artifacts/contracts/authorization/AccessAdmin.sol/IAccessManagedChecker.json +24 -0
  6. package/artifacts/contracts/authorization/AccessManagerCloneable.sol/AccessManagerCloneable.dbg.json +4 -0
  7. package/artifacts/contracts/authorization/AccessManagerCloneable.sol/AccessManagerCloneable.json +1206 -0
  8. package/artifacts/contracts/authorization/Authorization.sol/Authorization.dbg.json +4 -0
  9. package/artifacts/contracts/authorization/Authorization.sol/Authorization.json +414 -0
  10. package/artifacts/contracts/authorization/IAccess.sol/IAccess.dbg.json +4 -0
  11. package/artifacts/contracts/authorization/IAccess.sol/IAccess.json +10 -0
  12. package/artifacts/contracts/authorization/IAccessAdmin.sol/IAccessAdmin.dbg.json +4 -0
  13. package/artifacts/contracts/authorization/IAccessAdmin.sol/IAccessAdmin.json +1060 -0
  14. package/artifacts/contracts/authorization/IAuthorization.sol/IAuthorization.dbg.json +4 -0
  15. package/artifacts/contracts/authorization/IAuthorization.sol/IAuthorization.json +295 -0
  16. package/artifacts/contracts/authorization/IServiceAuthorization.sol/IServiceAuthorization.dbg.json +4 -0
  17. package/artifacts/contracts/authorization/IServiceAuthorization.sol/IServiceAuthorization.json +167 -0
  18. package/artifacts/contracts/authorization/ReleaseAccessManager.sol/ReleaseAccessManager.dbg.json +4 -0
  19. package/artifacts/contracts/authorization/ReleaseAccessManager.sol/ReleaseAccessManager.json +1196 -0
  20. package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.dbg.json +4 -0
  21. package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.json +253 -0
  22. package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.dbg.json +4 -0
  23. package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.json +1324 -0
  24. package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.dbg.json +4 -0
  25. package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.json +470 -0
  26. package/artifacts/contracts/distribution/Distribution.sol/Distribution.dbg.json +1 -1
  27. package/artifacts/contracts/distribution/Distribution.sol/Distribution.json +154 -546
  28. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.dbg.json +1 -1
  29. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.json +380 -229
  30. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +1 -1
  31. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.json +198 -96
  32. package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.dbg.json +1 -1
  33. package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.json +186 -238
  34. package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.dbg.json +1 -1
  35. package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.json +223 -47
  36. package/artifacts/contracts/examples/fire/DamageLevel.sol/DamageLevelLib.dbg.json +4 -0
  37. package/artifacts/contracts/examples/fire/DamageLevel.sol/DamageLevelLib.json +22 -0
  38. package/artifacts/contracts/examples/fire/FirePool.sol/FirePool.dbg.json +4 -0
  39. package/artifacts/contracts/examples/fire/FirePool.sol/FirePool.json +1429 -0
  40. package/artifacts/contracts/examples/fire/FirePoolAuthorization.sol/FirePoolAuthorization.dbg.json +4 -0
  41. package/artifacts/contracts/examples/fire/FirePoolAuthorization.sol/FirePoolAuthorization.json +502 -0
  42. package/artifacts/contracts/examples/fire/FireProduct.sol/FireProduct.dbg.json +4 -0
  43. package/artifacts/contracts/examples/fire/FireProduct.sol/FireProduct.json +1979 -0
  44. package/artifacts/contracts/examples/fire/FireProductAuthorization.sol/FireProductAuthorization.dbg.json +4 -0
  45. package/artifacts/contracts/examples/fire/FireProductAuthorization.sol/FireProductAuthorization.json +470 -0
  46. package/artifacts/contracts/examples/fire/FireUSD.sol/FireUSD.dbg.json +4 -0
  47. package/artifacts/contracts/examples/fire/FireUSD.sol/FireUSD.json +376 -0
  48. package/artifacts/contracts/examples/unpermissioned/SimpleDistribution.sol/SimpleDistribution.dbg.json +4 -0
  49. package/artifacts/contracts/examples/unpermissioned/SimpleDistribution.sol/SimpleDistribution.json +1430 -0
  50. package/artifacts/contracts/examples/unpermissioned/SimpleOracle.sol/SimpleOracle.dbg.json +4 -0
  51. package/artifacts/contracts/examples/unpermissioned/SimpleOracle.sol/SimpleOracle.json +1177 -0
  52. package/artifacts/contracts/examples/unpermissioned/SimplePool.sol/SimplePool.dbg.json +4 -0
  53. package/artifacts/contracts/examples/unpermissioned/SimplePool.sol/SimplePool.json +1606 -0
  54. package/artifacts/contracts/examples/unpermissioned/SimpleProduct.sol/SimpleProduct.dbg.json +4 -0
  55. package/artifacts/contracts/examples/unpermissioned/SimpleProduct.sol/SimpleProduct.json +2281 -0
  56. package/artifacts/contracts/instance/BundleSet.sol/BundleSet.dbg.json +4 -0
  57. package/artifacts/contracts/instance/BundleSet.sol/BundleSet.json +808 -0
  58. package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
  59. package/artifacts/contracts/instance/IInstance.sol/IInstance.json +153 -86
  60. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +1 -1
  61. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +181 -119
  62. package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
  63. package/artifacts/contracts/instance/Instance.sol/Instance.json +174 -215
  64. package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.dbg.json +4 -0
  65. package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.json +1666 -0
  66. package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.dbg.json +4 -0
  67. package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.json +574 -0
  68. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +1 -1
  69. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +876 -160
  70. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +1 -1
  71. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +260 -268
  72. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +1 -1
  73. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +163 -81
  74. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.dbg.json +1 -1
  75. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.json +506 -338
  76. package/artifacts/contracts/instance/RiskSet.sol/RiskSet.dbg.json +4 -0
  77. package/artifacts/contracts/instance/RiskSet.sol/RiskSet.json +810 -0
  78. package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.dbg.json +1 -1
  79. package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.json +2 -2
  80. package/artifacts/contracts/instance/base/Cloneable.sol/Cloneable.dbg.json +1 -1
  81. package/artifacts/contracts/instance/base/Cloneable.sol/Cloneable.json +0 -53
  82. package/artifacts/contracts/instance/base/ObjectCounter.sol/ObjectCounter.dbg.json +4 -0
  83. package/artifacts/contracts/instance/base/ObjectCounter.sol/ObjectCounter.json +10 -0
  84. package/artifacts/contracts/instance/base/ObjectLifecycle.sol/ObjectLifecycle.dbg.json +4 -0
  85. package/artifacts/contracts/instance/base/ObjectLifecycle.sol/ObjectLifecycle.json +223 -0
  86. package/artifacts/contracts/instance/base/ObjectSet.sol/ObjectSet.dbg.json +4 -0
  87. package/artifacts/contracts/instance/base/ObjectSet.sol/ObjectSet.json +181 -0
  88. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.dbg.json +1 -1
  89. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.json +8 -116
  90. package/artifacts/contracts/instance/module/IBundle.sol/IBundle.dbg.json +1 -1
  91. package/artifacts/contracts/instance/module/IComponents.sol/IComponents.dbg.json +1 -1
  92. package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.dbg.json +1 -1
  93. package/artifacts/contracts/instance/module/IPolicy.sol/IPolicy.dbg.json +1 -1
  94. package/artifacts/contracts/instance/module/IRisk.sol/IRisk.dbg.json +1 -1
  95. package/artifacts/contracts/mock/Dip.sol/Dip.dbg.json +4 -0
  96. package/artifacts/contracts/mock/Dip.sol/Dip.json +376 -0
  97. package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.dbg.json +4 -0
  98. package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.json +961 -0
  99. package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.dbg.json +4 -0
  100. package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.json +478 -0
  101. package/artifacts/contracts/oracle/IOracle.sol/IOracle.dbg.json +4 -0
  102. package/artifacts/contracts/oracle/IOracle.sol/IOracle.json +52 -0
  103. package/artifacts/contracts/oracle/IOracleComponent.sol/IOracleComponent.dbg.json +4 -0
  104. package/artifacts/contracts/oracle/IOracleComponent.sol/IOracleComponent.json +776 -0
  105. package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.dbg.json +4 -0
  106. package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.json +709 -0
  107. package/artifacts/contracts/oracle/Oracle.sol/Oracle.dbg.json +4 -0
  108. package/artifacts/contracts/oracle/Oracle.sol/Oracle.json +877 -0
  109. package/artifacts/contracts/oracle/OracleService.sol/OracleService.dbg.json +4 -0
  110. package/artifacts/contracts/oracle/OracleService.sol/OracleService.json +990 -0
  111. package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.dbg.json +4 -0
  112. package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.json +766 -0
  113. package/artifacts/contracts/pool/BasicPool.sol/BasicPool.dbg.json +4 -0
  114. package/artifacts/contracts/pool/BasicPool.sol/BasicPool.json +1254 -0
  115. package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.dbg.json +4 -0
  116. package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.json +502 -0
  117. package/artifacts/contracts/pool/BundleService.sol/BundleService.dbg.json +1 -1
  118. package/artifacts/contracts/pool/BundleService.sol/BundleService.json +456 -187
  119. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.dbg.json +1 -1
  120. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.json +218 -80
  121. package/artifacts/contracts/pool/IBundleService.sol/IBundleService.dbg.json +1 -1
  122. package/artifacts/contracts/pool/IBundleService.sol/IBundleService.json +264 -26
  123. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.dbg.json +1 -1
  124. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.json +115 -354
  125. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.dbg.json +1 -1
  126. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.json +464 -223
  127. package/artifacts/contracts/pool/Pool.sol/Pool.dbg.json +1 -1
  128. package/artifacts/contracts/pool/Pool.sol/Pool.json +152 -682
  129. package/artifacts/contracts/pool/PoolService.sol/PoolService.dbg.json +1 -1
  130. package/artifacts/contracts/pool/PoolService.sol/PoolService.json +590 -382
  131. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.dbg.json +1 -1
  132. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.json +190 -76
  133. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.dbg.json +1 -1
  134. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.json +147 -161
  135. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +1 -1
  136. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.json +147 -77
  137. package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.dbg.json +4 -0
  138. package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.json +1148 -0
  139. package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.dbg.json +4 -0
  140. package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.json +470 -0
  141. package/artifacts/contracts/product/ClaimService.sol/ClaimService.dbg.json +1 -1
  142. package/artifacts/contracts/product/ClaimService.sol/ClaimService.json +343 -168
  143. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +1 -1
  144. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.json +200 -90
  145. package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.dbg.json +1 -1
  146. package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.json +88 -8
  147. package/artifacts/contracts/product/IClaimService.sol/IClaimService.dbg.json +1 -1
  148. package/artifacts/contracts/product/IClaimService.sol/IClaimService.json +196 -7
  149. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.dbg.json +1 -1
  150. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.json +364 -121
  151. package/artifacts/contracts/product/IPricingService.sol/IPricingService.dbg.json +1 -1
  152. package/artifacts/contracts/product/IPricingService.sol/IPricingService.json +134 -86
  153. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.dbg.json +1 -1
  154. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.json +176 -160
  155. package/artifacts/contracts/product/IRiskService.sol/IRiskService.dbg.json +4 -0
  156. package/artifacts/contracts/product/{IProductService.sol/IProductService.json → IRiskService.sol/IRiskService.json} +51 -3
  157. package/artifacts/contracts/product/PolicyService.sol/PolicyService.dbg.json +1 -1
  158. package/artifacts/contracts/product/PolicyService.sol/PolicyService.json +475 -294
  159. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +1 -1
  160. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.json +199 -81
  161. package/artifacts/contracts/product/PricingService.sol/PricingService.dbg.json +1 -1
  162. package/artifacts/contracts/product/PricingService.sol/PricingService.json +229 -275
  163. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.dbg.json +1 -1
  164. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.json +172 -102
  165. package/artifacts/contracts/product/Product.sol/Product.dbg.json +1 -1
  166. package/artifacts/contracts/product/Product.sol/Product.json +201 -486
  167. package/artifacts/contracts/product/RiskService.sol/RiskService.dbg.json +4 -0
  168. package/artifacts/contracts/product/RiskService.sol/RiskService.json +638 -0
  169. package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.dbg.json +4 -0
  170. package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.json +718 -0
  171. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
  172. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +59 -16
  173. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
  174. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +412 -35
  175. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +1 -1
  176. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +225 -196
  177. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +1 -1
  178. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.json +5 -18
  179. package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
  180. package/artifacts/contracts/registry/Registry.sol/Registry.json +761 -87
  181. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.dbg.json +4 -0
  182. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.json +1899 -0
  183. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +1 -1
  184. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +278 -306
  185. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +1 -1
  186. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +154 -78
  187. package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.dbg.json +4 -0
  188. package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.json +205 -0
  189. package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.dbg.json +4 -0
  190. package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.json +1067 -0
  191. package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.dbg.json +4 -0
  192. package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.json +272 -0
  193. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +1 -1
  194. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +185 -135
  195. package/artifacts/contracts/shared/Component.sol/Component.dbg.json +1 -1
  196. package/artifacts/contracts/shared/Component.sol/Component.json +79 -274
  197. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.dbg.json +1 -1
  198. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.json +626 -252
  199. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.dbg.json +1 -1
  200. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.json +209 -99
  201. package/artifacts/contracts/shared/ComponentVerifyingService.sol/ComponentVerifyingService.dbg.json +1 -1
  202. package/artifacts/contracts/shared/ComponentVerifyingService.sol/ComponentVerifyingService.json +55 -101
  203. package/artifacts/contracts/shared/ContractLib.sol/ContractLib.dbg.json +4 -0
  204. package/artifacts/contracts/shared/ContractLib.sol/ContractLib.json +488 -0
  205. package/artifacts/contracts/shared/ContractLib.sol/IInstanceAdminHelper.dbg.json +4 -0
  206. package/artifacts/contracts/shared/ContractLib.sol/IInstanceAdminHelper.json +24 -0
  207. package/artifacts/contracts/shared/ContractLib.sol/ITargetHelper.dbg.json +4 -0
  208. package/artifacts/contracts/shared/ContractLib.sol/ITargetHelper.json +30 -0
  209. package/artifacts/contracts/shared/IComponent.sol/IComponent.dbg.json +1 -1
  210. package/artifacts/contracts/shared/IComponent.sol/IComponent.json +74 -79
  211. package/artifacts/contracts/shared/IComponentService.sol/IComponentService.dbg.json +1 -1
  212. package/artifacts/contracts/shared/IComponentService.sol/IComponentService.json +561 -13
  213. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.dbg.json +1 -1
  214. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.json +120 -108
  215. package/artifacts/contracts/shared/IKeyValueStore.sol/IKeyValueStore.dbg.json +1 -1
  216. package/artifacts/contracts/shared/IKeyValueStore.sol/IKeyValueStore.json +45 -13
  217. package/artifacts/contracts/shared/ILifecycle.sol/ILifecycle.dbg.json +1 -1
  218. package/artifacts/contracts/shared/ILifecycle.sol/ILifecycle.json +34 -3
  219. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +1 -1
  220. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.json +23 -1
  221. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.dbg.json +1 -1
  222. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.json +16 -30
  223. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
  224. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +36 -1
  225. package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.dbg.json +1 -1
  226. package/artifacts/contracts/shared/IService.sol/IService.dbg.json +1 -1
  227. package/artifacts/contracts/shared/IService.sol/IService.json +49 -1
  228. package/artifacts/contracts/shared/InitializableERC165.sol/InitializableERC165.dbg.json +4 -0
  229. package/artifacts/contracts/shared/InitializableERC165.sol/InitializableERC165.json +53 -0
  230. package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.dbg.json +1 -1
  231. package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.json +129 -360
  232. package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.dbg.json +1 -1
  233. package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.json +55 -98
  234. package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.dbg.json +1 -1
  235. package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.json +42 -62
  236. package/artifacts/contracts/shared/NftIdSet.sol/NftIdSet.dbg.json +4 -0
  237. package/artifacts/contracts/shared/NftIdSet.sol/NftIdSet.json +306 -0
  238. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +1 -1
  239. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +26 -55
  240. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.dbg.json +1 -1
  241. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.json +20 -124
  242. package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
  243. package/artifacts/contracts/shared/Registerable.sol/Registerable.json +62 -87
  244. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.dbg.json +1 -1
  245. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.json +2 -15
  246. package/artifacts/contracts/shared/Service.sol/Service.dbg.json +1 -1
  247. package/artifacts/contracts/shared/Service.sol/Service.json +55 -101
  248. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +1 -1
  249. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +697 -25
  250. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandlerBase.dbg.json +4 -0
  251. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandlerBase.json +395 -0
  252. package/artifacts/contracts/shared/TokenHandlerDeployerLib.sol/TokenHandlerDeployerLib.dbg.json +4 -0
  253. package/artifacts/contracts/shared/TokenHandlerDeployerLib.sol/TokenHandlerDeployerLib.json +172 -0
  254. package/artifacts/contracts/staking/IStaking.sol/IStaking.dbg.json +1 -1
  255. package/artifacts/contracts/staking/IStaking.sol/IStaking.json +462 -634
  256. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.dbg.json +1 -1
  257. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.json +546 -48
  258. package/artifacts/contracts/staking/StakeManagerLib.sol/StakeManagerLib.dbg.json +4 -0
  259. package/artifacts/contracts/staking/StakeManagerLib.sol/StakeManagerLib.json +440 -0
  260. package/artifacts/contracts/staking/Staking.sol/Staking.dbg.json +1 -1
  261. package/artifacts/contracts/staking/Staking.sol/Staking.json +613 -871
  262. package/artifacts/contracts/staking/StakingLifecycle.sol/StakingLifecycle.dbg.json +4 -0
  263. package/artifacts/contracts/staking/StakingLifecycle.sol/StakingLifecycle.json +205 -0
  264. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.dbg.json +1 -1
  265. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.json +185 -81
  266. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.dbg.json +4 -0
  267. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.json +587 -0
  268. package/artifacts/contracts/staking/StakingService.sol/StakingService.dbg.json +1 -1
  269. package/artifacts/contracts/staking/StakingService.sol/StakingService.json +633 -173
  270. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.dbg.json +1 -1
  271. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.json +166 -68
  272. package/artifacts/contracts/staking/StakingStore.sol/StakingStore.dbg.json +4 -0
  273. package/artifacts/contracts/staking/StakingStore.sol/StakingStore.json +2283 -0
  274. package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.dbg.json +4 -0
  275. package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.json +607 -0
  276. package/artifacts/contracts/type/AddressSet.sol/LibAddressSet.dbg.json +1 -1
  277. package/artifacts/contracts/type/AddressSet.sol/LibAddressSet.json +2 -2
  278. package/artifacts/contracts/type/Amount.sol/AmountLib.dbg.json +1 -1
  279. package/artifacts/contracts/type/Amount.sol/AmountLib.json +121 -4
  280. package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.dbg.json +1 -1
  281. package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.json +40 -2
  282. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.dbg.json +1 -1
  283. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.json +28 -4
  284. package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.dbg.json +1 -1
  285. package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.json +4 -4
  286. package/artifacts/contracts/type/Fee.sol/FeeLib.dbg.json +1 -1
  287. package/artifacts/contracts/type/Fee.sol/FeeLib.json +17 -12
  288. package/artifacts/contracts/type/Key32.sol/Key32Lib.dbg.json +1 -1
  289. package/artifacts/contracts/type/Key32.sol/Key32Lib.json +2 -2
  290. package/artifacts/contracts/type/Key32Set.sol/LibKey32Set.dbg.json +4 -0
  291. package/artifacts/contracts/type/Key32Set.sol/LibKey32Set.json +33 -0
  292. package/artifacts/contracts/type/NftId.sol/NftIdLib.dbg.json +1 -1
  293. package/artifacts/contracts/type/NftId.sol/NftIdLib.json +47 -4
  294. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.dbg.json +1 -1
  295. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.json +2 -2
  296. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.dbg.json +1 -1
  297. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.json +149 -2
  298. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.dbg.json +1 -1
  299. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.json +19 -19
  300. package/artifacts/contracts/type/Referral.sol/ReferralLib.dbg.json +1 -1
  301. package/artifacts/contracts/type/Referral.sol/ReferralLib.json +4 -4
  302. package/artifacts/contracts/type/RequestId.sol/RequestIdLib.dbg.json +4 -0
  303. package/artifacts/contracts/type/RequestId.sol/RequestIdLib.json +204 -0
  304. package/artifacts/contracts/type/RiskId.sol/RiskIdLib.dbg.json +1 -1
  305. package/artifacts/contracts/type/RiskId.sol/RiskIdLib.json +99 -5
  306. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.dbg.json +1 -1
  307. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.json +219 -6
  308. package/artifacts/contracts/type/Seconds.sol/SecondsLib.dbg.json +1 -1
  309. package/artifacts/contracts/type/Seconds.sol/SecondsLib.json +124 -2
  310. package/artifacts/contracts/type/Selector.sol/SelectorLib.dbg.json +4 -0
  311. package/artifacts/contracts/type/Selector.sol/SelectorLib.json +129 -0
  312. package/artifacts/contracts/type/Selector.sol/SelectorSetLib.dbg.json +4 -0
  313. package/artifacts/contracts/type/Selector.sol/SelectorSetLib.json +10 -0
  314. package/artifacts/contracts/type/StateId.sol/StateIdLib.dbg.json +1 -1
  315. package/artifacts/contracts/type/StateId.sol/StateIdLib.json +15 -2
  316. package/artifacts/contracts/type/String.sol/StrLib.dbg.json +4 -0
  317. package/artifacts/contracts/type/String.sol/StrLib.json +132 -0
  318. package/artifacts/contracts/type/Timestamp.sol/TimestampLib.dbg.json +1 -1
  319. package/artifacts/contracts/type/Timestamp.sol/TimestampLib.json +36 -4
  320. package/artifacts/contracts/type/UFixed.sol/MathLib.dbg.json +1 -1
  321. package/artifacts/contracts/type/UFixed.sol/MathLib.json +9 -3
  322. package/artifacts/contracts/type/UFixed.sol/UFixedLib.dbg.json +1 -1
  323. package/artifacts/contracts/type/UFixed.sol/UFixedLib.json +71 -2
  324. package/artifacts/contracts/type/Version.sol/VersionLib.dbg.json +1 -1
  325. package/artifacts/contracts/type/Version.sol/VersionLib.json +2 -2
  326. package/artifacts/contracts/type/Version.sol/VersionPartLib.dbg.json +1 -1
  327. package/artifacts/contracts/type/Version.sol/VersionPartLib.json +21 -2
  328. package/artifacts/contracts/upgradeability/IVersionable.sol/IVersionable.dbg.json +4 -0
  329. package/artifacts/contracts/{shared → upgradeability}/IVersionable.sol/IVersionable.json +1 -1
  330. package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.dbg.json +4 -0
  331. package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.json +618 -0
  332. package/artifacts/contracts/upgradeability/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +4 -0
  333. package/artifacts/contracts/upgradeability/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +129 -0
  334. package/artifacts/contracts/upgradeability/Versionable.sol/Versionable.dbg.json +4 -0
  335. package/artifacts/contracts/{shared → upgradeability}/Versionable.sol/Versionable.json +1 -1
  336. package/contracts/authorization/AccessAdmin.sol +616 -0
  337. package/contracts/authorization/AccessManagerCloneable.sol +16 -0
  338. package/contracts/authorization/Authorization.sol +289 -0
  339. package/contracts/authorization/IAccess.sol +49 -0
  340. package/contracts/authorization/IAccessAdmin.sol +137 -0
  341. package/contracts/authorization/IAuthorization.sol +60 -0
  342. package/contracts/authorization/IServiceAuthorization.sol +40 -0
  343. package/contracts/authorization/ReleaseAccessManager.sol +38 -0
  344. package/contracts/authorization/ServiceAuthorization.sol +106 -0
  345. package/contracts/distribution/BasicDistribution.sol +139 -0
  346. package/contracts/distribution/BasicDistributionAuthorization.sol +47 -0
  347. package/contracts/distribution/Distribution.sol +145 -124
  348. package/contracts/distribution/DistributionService.sol +156 -99
  349. package/contracts/distribution/DistributionServiceManager.sol +13 -25
  350. package/contracts/distribution/IDistributionComponent.sol +27 -41
  351. package/contracts/distribution/IDistributionService.sol +29 -10
  352. package/contracts/examples/fire/DamageLevel.sol +59 -0
  353. package/contracts/examples/fire/FirePool.sol +86 -0
  354. package/contracts/examples/fire/FirePoolAuthorization.sol +34 -0
  355. package/contracts/examples/fire/FireProduct.sol +431 -0
  356. package/contracts/examples/fire/FireProductAuthorization.sol +44 -0
  357. package/contracts/examples/fire/FireUSD.sol +26 -0
  358. package/contracts/examples/unpermissioned/SimpleDistribution.sol +58 -0
  359. package/contracts/examples/unpermissioned/SimpleOracle.sol +137 -0
  360. package/contracts/examples/unpermissioned/SimplePool.sol +108 -0
  361. package/contracts/examples/unpermissioned/SimpleProduct.sol +345 -0
  362. package/contracts/instance/BundleSet.sol +130 -0
  363. package/contracts/instance/IInstance.sol +39 -44
  364. package/contracts/instance/IInstanceService.sol +33 -42
  365. package/contracts/instance/Instance.sol +137 -124
  366. package/contracts/instance/InstanceAdmin.sol +278 -0
  367. package/contracts/instance/InstanceAuthorizationV3.sol +217 -0
  368. package/contracts/instance/InstanceReader.sol +249 -36
  369. package/contracts/instance/InstanceService.sol +227 -151
  370. package/contracts/instance/InstanceServiceManager.sol +14 -29
  371. package/contracts/instance/InstanceStore.sol +85 -57
  372. package/contracts/instance/RiskSet.sol +119 -0
  373. package/contracts/instance/base/BalanceStore.sol +12 -7
  374. package/contracts/instance/base/Cloneable.sol +2 -25
  375. package/contracts/instance/base/ObjectCounter.sol +21 -0
  376. package/contracts/instance/base/ObjectLifecycle.sol +111 -0
  377. package/contracts/instance/base/ObjectSet.sol +78 -0
  378. package/contracts/instance/module/IAccess.sol +2 -10
  379. package/contracts/instance/module/IBundle.sol +1 -1
  380. package/contracts/instance/module/IComponents.sol +11 -13
  381. package/contracts/instance/module/IDistribution.sol +0 -1
  382. package/contracts/instance/module/IPolicy.sol +26 -25
  383. package/contracts/instance/module/IRisk.sol +1 -0
  384. package/contracts/mock/Dip.sol +26 -0
  385. package/contracts/oracle/BasicOracle.sol +47 -0
  386. package/contracts/oracle/BasicOracleAuthorization.sol +46 -0
  387. package/contracts/oracle/IOracle.sol +36 -0
  388. package/contracts/oracle/IOracleComponent.sol +33 -0
  389. package/contracts/oracle/IOracleService.sol +66 -0
  390. package/contracts/oracle/Oracle.sol +156 -0
  391. package/contracts/oracle/OracleService.sol +309 -0
  392. package/contracts/oracle/OracleServiceManager.sol +39 -0
  393. package/contracts/pool/BasicPool.sol +175 -0
  394. package/contracts/pool/BasicPoolAuthorization.sol +68 -0
  395. package/contracts/pool/BundleService.sol +232 -122
  396. package/contracts/pool/BundleServiceManager.sol +13 -25
  397. package/contracts/pool/IBundleService.sol +34 -18
  398. package/contracts/pool/IPoolComponent.sol +20 -70
  399. package/contracts/pool/IPoolService.sol +57 -51
  400. package/contracts/pool/Pool.sol +208 -162
  401. package/contracts/pool/PoolService.sol +372 -181
  402. package/contracts/pool/PoolServiceManager.sol +12 -24
  403. package/contracts/product/ApplicationService.sol +90 -84
  404. package/contracts/product/ApplicationServiceManager.sol +12 -9
  405. package/contracts/product/BasicProduct.sol +49 -0
  406. package/contracts/product/BasicProductAuthorization.sol +42 -0
  407. package/contracts/product/ClaimService.sol +331 -153
  408. package/contracts/product/ClaimServiceManager.sol +12 -9
  409. package/contracts/product/IApplicationService.sol +7 -3
  410. package/contracts/product/IClaimService.sol +35 -5
  411. package/contracts/product/IPolicyService.sol +47 -35
  412. package/contracts/product/IPricingService.sol +11 -11
  413. package/contracts/product/IProductComponent.sol +26 -9
  414. package/contracts/product/{IProductService.sol → IRiskService.sol} +2 -2
  415. package/contracts/product/PolicyService.sol +524 -262
  416. package/contracts/product/PolicyServiceManager.sol +12 -27
  417. package/contracts/product/PricingService.sol +64 -64
  418. package/contracts/product/PricingServiceManager.sol +12 -24
  419. package/contracts/product/Product.sol +189 -139
  420. package/contracts/product/{ProductService.sol → RiskService.sol} +35 -50
  421. package/contracts/product/RiskServiceManager.sol +39 -0
  422. package/contracts/registry/ChainNft.sol +68 -37
  423. package/contracts/registry/IRegistry.sol +90 -28
  424. package/contracts/registry/IRegistryService.sol +26 -43
  425. package/contracts/registry/ITransferInterceptor.sol +1 -2
  426. package/contracts/registry/Registry.sol +424 -228
  427. package/contracts/registry/RegistryAdmin.sol +451 -0
  428. package/contracts/registry/RegistryService.sol +63 -149
  429. package/contracts/registry/RegistryServiceManager.sol +23 -30
  430. package/contracts/registry/ReleaseLifecycle.sol +30 -0
  431. package/contracts/registry/ReleaseRegistry.sol +485 -0
  432. package/contracts/registry/ServiceAuthorizationV3.sol +175 -0
  433. package/contracts/registry/TokenRegistry.sol +187 -59
  434. package/contracts/shared/Component.sol +56 -125
  435. package/contracts/shared/ComponentService.sol +411 -201
  436. package/contracts/shared/ComponentServiceManager.sol +10 -7
  437. package/contracts/shared/ComponentVerifyingService.sol +40 -23
  438. package/contracts/shared/ContractLib.sol +224 -0
  439. package/contracts/shared/IComponent.sol +11 -18
  440. package/contracts/shared/IComponentService.sol +52 -13
  441. package/contracts/shared/IInstanceLinkedComponent.sol +11 -16
  442. package/contracts/shared/IKeyValueStore.sol +2 -1
  443. package/contracts/shared/ILifecycle.sol +3 -2
  444. package/contracts/shared/INftOwnable.sol +3 -1
  445. package/contracts/shared/IPolicyHolder.sol +12 -17
  446. package/contracts/shared/IRegisterable.sol +11 -0
  447. package/contracts/shared/IService.sol +9 -2
  448. package/contracts/shared/{ERC165.sol → InitializableERC165.sol} +4 -4
  449. package/contracts/shared/InstanceLinkedComponent.sol +103 -43
  450. package/contracts/shared/KeyValueStore.sol +30 -68
  451. package/contracts/shared/Lifecycle.sol +30 -63
  452. package/contracts/shared/NftIdSet.sol +65 -0
  453. package/contracts/shared/NftOwnable.sol +31 -22
  454. package/contracts/shared/PolicyHolder.sol +18 -50
  455. package/contracts/shared/Registerable.sol +19 -11
  456. package/contracts/shared/RegistryLinked.sol +9 -14
  457. package/contracts/shared/Service.sol +44 -37
  458. package/contracts/shared/TokenHandler.sol +358 -27
  459. package/contracts/shared/TokenHandlerDeployerLib.sol +20 -0
  460. package/contracts/staking/IStaking.sol +133 -37
  461. package/contracts/staking/IStakingService.sol +93 -41
  462. package/contracts/staking/StakeManagerLib.sol +224 -0
  463. package/contracts/staking/Staking.sol +394 -101
  464. package/contracts/staking/StakingLifecycle.sol +23 -0
  465. package/contracts/staking/StakingManager.sol +24 -18
  466. package/contracts/staking/StakingReader.sol +190 -0
  467. package/contracts/staking/StakingService.sol +282 -42
  468. package/contracts/staking/StakingServiceManager.sol +10 -7
  469. package/contracts/staking/StakingStore.sol +605 -0
  470. package/contracts/staking/TargetManagerLib.sol +211 -0
  471. package/contracts/type/AddressSet.sol +1 -1
  472. package/contracts/type/Amount.sol +39 -3
  473. package/contracts/type/Blocknumber.sol +20 -2
  474. package/contracts/type/ClaimId.sol +6 -1
  475. package/contracts/type/Fee.sol +1 -1
  476. package/contracts/type/Key32.sol +2 -2
  477. package/contracts/type/Key32Set.sol +62 -0
  478. package/contracts/type/NftId.sol +16 -4
  479. package/contracts/type/NftIdSet.sol +1 -1
  480. package/contracts/type/ObjectType.sol +178 -65
  481. package/contracts/type/PayoutId.sol +10 -10
  482. package/contracts/type/Referral.sol +2 -1
  483. package/contracts/type/RequestId.sol +75 -0
  484. package/contracts/type/RiskId.sol +31 -5
  485. package/contracts/type/RoleId.sol +98 -74
  486. package/contracts/type/Seconds.sol +48 -1
  487. package/contracts/type/Selector.sol +102 -0
  488. package/contracts/type/StateId.sol +41 -2
  489. package/contracts/type/String.sol +53 -0
  490. package/contracts/type/Timestamp.sol +17 -3
  491. package/contracts/type/UFixed.sol +38 -9
  492. package/contracts/type/Version.sol +4 -2
  493. package/contracts/{shared → upgradeability}/ProxyManager.sol +90 -27
  494. package/contracts/{shared → upgradeability}/UpgradableProxyWithAdmin.sol +1 -3
  495. package/contracts/{shared → upgradeability}/Versionable.sol +2 -2
  496. package/package.json +11 -7
  497. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.dbg.json +0 -4
  498. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.json +0 -778
  499. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.dbg.json +0 -4
  500. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.json +0 -1348
  501. package/artifacts/contracts/instance/InstanceAuthorizationsLib.sol/InstanceAuthorizationsLib.dbg.json +0 -4
  502. package/artifacts/contracts/instance/InstanceAuthorizationsLib.sol/InstanceAuthorizationsLib.json +0 -132
  503. package/artifacts/contracts/instance/base/ObjectManager.sol/ObjectManager.dbg.json +0 -4
  504. package/artifacts/contracts/instance/base/ObjectManager.sol/ObjectManager.json +0 -256
  505. package/artifacts/contracts/product/IProductService.sol/IProductService.dbg.json +0 -4
  506. package/artifacts/contracts/product/ProductService.sol/ProductService.dbg.json +0 -4
  507. package/artifacts/contracts/product/ProductService.sol/ProductService.json +0 -673
  508. package/artifacts/contracts/product/ProductServiceManager.sol/ProductServiceManager.dbg.json +0 -4
  509. package/artifacts/contracts/product/ProductServiceManager.sol/ProductServiceManager.json +0 -636
  510. package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.dbg.json +0 -4
  511. package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.json +0 -308
  512. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.dbg.json +0 -4
  513. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.json +0 -688
  514. package/artifacts/contracts/registry/ServiceAuthorizationsLib.sol/ServiceAuthorizationsLib.dbg.json +0 -4
  515. package/artifacts/contracts/registry/ServiceAuthorizationsLib.sol/ServiceAuthorizationsLib.json +0 -137
  516. package/artifacts/contracts/shared/AccessManagerUpgradeableInitializeable.sol/AccessManagerUpgradeableInitializeable.dbg.json +0 -4
  517. package/artifacts/contracts/shared/AccessManagerUpgradeableInitializeable.sol/AccessManagerUpgradeableInitializeable.json +0 -1206
  518. package/artifacts/contracts/shared/ERC165.sol/ERC165.dbg.json +0 -4
  519. package/artifacts/contracts/shared/ERC165.sol/ERC165.json +0 -73
  520. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.dbg.json +0 -4
  521. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.dbg.json +0 -4
  522. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.json +0 -569
  523. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +0 -4
  524. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +0 -129
  525. package/artifacts/contracts/shared/Versionable.sol/Versionable.dbg.json +0 -4
  526. package/contracts/instance/BundleManager.sol +0 -126
  527. package/contracts/instance/InstanceAccessManager.sol +0 -543
  528. package/contracts/instance/InstanceAuthorizationsLib.sol +0 -336
  529. package/contracts/instance/base/ObjectManager.sol +0 -82
  530. package/contracts/product/ProductServiceManager.sol +0 -54
  531. package/contracts/registry/RegistryAccessManager.sol +0 -213
  532. package/contracts/registry/ReleaseManager.sol +0 -375
  533. package/contracts/registry/ServiceAuthorizationsLib.sol +0 -173
  534. package/contracts/shared/AccessManagerUpgradeableInitializeable.sol +0 -13
  535. /package/contracts/{shared → upgradeability}/IVersionable.sol +0 -0
@@ -50,7 +50,18 @@
50
50
  },
51
51
  {
52
52
  "internalType": "NftId",
53
- "name": "bundlePoolNftId",
53
+ "name": "poolNftId",
54
+ "type": "uint96"
55
+ }
56
+ ],
57
+ "name": "ErrorApplicationServiceBundleLocked",
58
+ "type": "error"
59
+ },
60
+ {
61
+ "inputs": [
62
+ {
63
+ "internalType": "NftId",
64
+ "name": "bundleNftId",
54
65
  "type": "uint96"
55
66
  },
56
67
  {
@@ -59,23 +70,39 @@
59
70
  "type": "uint96"
60
71
  }
61
72
  ],
62
- "name": "ErrorApplicationServiceBundlePoolMismatch",
73
+ "name": "ErrorApplicationServiceBundleUnknown",
63
74
  "type": "error"
64
75
  },
65
76
  {
66
77
  "inputs": [
78
+ {
79
+ "internalType": "RiskId",
80
+ "name": "riskId",
81
+ "type": "bytes8"
82
+ },
67
83
  {
68
84
  "internalType": "NftId",
69
- "name": "callerNftId",
85
+ "name": "productNftId",
70
86
  "type": "uint96"
87
+ }
88
+ ],
89
+ "name": "ErrorApplicationServiceRiskPaused",
90
+ "type": "error"
91
+ },
92
+ {
93
+ "inputs": [
94
+ {
95
+ "internalType": "RiskId",
96
+ "name": "riskId",
97
+ "type": "bytes8"
71
98
  },
72
99
  {
73
- "internalType": "ObjectType",
74
- "name": "callerType",
75
- "type": "uint8"
100
+ "internalType": "NftId",
101
+ "name": "productNftId",
102
+ "type": "uint96"
76
103
  }
77
104
  ],
78
- "name": "ErrorApplicationServiceNotProduct",
105
+ "name": "ErrorApplicationServiceRiskUnknown",
79
106
  "type": "error"
80
107
  },
81
108
  {
@@ -137,6 +164,22 @@
137
164
  "name": "ErrorNftOwnableInitialOwnerZero",
138
165
  "type": "error"
139
166
  },
167
+ {
168
+ "inputs": [
169
+ {
170
+ "internalType": "NftId",
171
+ "name": "nftId",
172
+ "type": "uint96"
173
+ },
174
+ {
175
+ "internalType": "ObjectType",
176
+ "name": "expectedObjectType",
177
+ "type": "uint8"
178
+ }
179
+ ],
180
+ "name": "ErrorNftOwnableInvalidType",
181
+ "type": "error"
182
+ },
140
183
  {
141
184
  "inputs": [
142
185
  {
@@ -174,6 +217,11 @@
174
217
  "name": "NotInitializing",
175
218
  "type": "error"
176
219
  },
220
+ {
221
+ "inputs": [],
222
+ "name": "ReentrancyGuardReentrantCall",
223
+ "type": "error"
224
+ },
177
225
  {
178
226
  "anonymous": false,
179
227
  "inputs": [
@@ -200,6 +248,19 @@
200
248
  "name": "Initialized",
201
249
  "type": "event"
202
250
  },
251
+ {
252
+ "inputs": [],
253
+ "name": "GIF_RELEASE",
254
+ "outputs": [
255
+ {
256
+ "internalType": "uint256",
257
+ "name": "",
258
+ "type": "uint256"
259
+ }
260
+ ],
261
+ "stateMutability": "view",
262
+ "type": "function"
263
+ },
203
264
  {
204
265
  "inputs": [],
205
266
  "name": "NFT_OWNABLE_STORAGE_LOCATION_V1",
@@ -299,6 +360,11 @@
299
360
  "name": "sumInsuredAmount",
300
361
  "type": "uint96"
301
362
  },
363
+ {
364
+ "internalType": "Amount",
365
+ "name": "premiumAmount",
366
+ "type": "uint96"
367
+ },
302
368
  {
303
369
  "internalType": "Seconds",
304
370
  "name": "lifetime",
@@ -337,7 +403,7 @@
337
403
  "outputs": [
338
404
  {
339
405
  "internalType": "ObjectType",
340
- "name": "",
406
+ "name": "serviceDomain",
341
407
  "type": "uint8"
342
408
  }
343
409
  ],
@@ -435,12 +501,12 @@
435
501
  },
436
502
  {
437
503
  "inputs": [],
438
- "name": "getVersion",
504
+ "name": "getRelease",
439
505
  "outputs": [
440
506
  {
441
- "internalType": "Version",
442
- "name": "",
443
- "type": "uint24"
507
+ "internalType": "VersionPart",
508
+ "name": "release",
509
+ "type": "uint8"
444
510
  }
445
511
  ],
446
512
  "stateMutability": "pure",
@@ -448,101 +514,28 @@
448
514
  },
449
515
  {
450
516
  "inputs": [],
451
- "name": "initializeERC165",
452
- "outputs": [],
453
- "stateMutability": "nonpayable",
454
- "type": "function"
455
- },
456
- {
457
- "inputs": [
458
- {
459
- "internalType": "address",
460
- "name": "initialOwner",
461
- "type": "address"
462
- },
463
- {
464
- "internalType": "address",
465
- "name": "registryAddress",
466
- "type": "address"
467
- }
468
- ],
469
- "name": "initializeNftOwnable",
470
- "outputs": [],
471
- "stateMutability": "nonpayable",
472
- "type": "function"
473
- },
474
- {
475
- "inputs": [
476
- {
477
- "internalType": "address",
478
- "name": "registryAddress",
479
- "type": "address"
480
- },
481
- {
482
- "internalType": "NftId",
483
- "name": "parentNftId",
484
- "type": "uint96"
485
- },
486
- {
487
- "internalType": "ObjectType",
488
- "name": "objectType",
489
- "type": "uint8"
490
- },
491
- {
492
- "internalType": "bool",
493
- "name": "isInterceptor",
494
- "type": "bool"
495
- },
496
- {
497
- "internalType": "address",
498
- "name": "initialOwner",
499
- "type": "address"
500
- },
501
- {
502
- "internalType": "bytes",
503
- "name": "registryData",
504
- "type": "bytes"
505
- }
506
- ],
507
- "name": "initializeRegisterable",
508
- "outputs": [],
509
- "stateMutability": "nonpayable",
510
- "type": "function"
511
- },
512
- {
513
- "inputs": [
517
+ "name": "getRoleId",
518
+ "outputs": [
514
519
  {
515
- "internalType": "address",
516
- "name": "registryAddress",
517
- "type": "address"
520
+ "internalType": "RoleId",
521
+ "name": "serviceRoleId",
522
+ "type": "uint64"
518
523
  }
519
524
  ],
520
- "name": "initializeRegistryLinked",
521
- "outputs": [],
522
- "stateMutability": "nonpayable",
525
+ "stateMutability": "pure",
523
526
  "type": "function"
524
527
  },
525
528
  {
526
- "inputs": [
527
- {
528
- "internalType": "address",
529
- "name": "registry",
530
- "type": "address"
531
- },
532
- {
533
- "internalType": "address",
534
- "name": "authority",
535
- "type": "address"
536
- },
529
+ "inputs": [],
530
+ "name": "getVersion",
531
+ "outputs": [
537
532
  {
538
- "internalType": "address",
539
- "name": "initialOwner",
540
- "type": "address"
533
+ "internalType": "Version",
534
+ "name": "",
535
+ "type": "uint24"
541
536
  }
542
537
  ],
543
- "name": "initializeService",
544
- "outputs": [],
545
- "stateMutability": "nonpayable",
538
+ "stateMutability": "pure",
546
539
  "type": "function"
547
540
  },
548
541
  {
@@ -579,20 +572,13 @@
579
572
  {
580
573
  "inputs": [],
581
574
  "name": "linkToRegisteredNftId",
582
- "outputs": [],
583
- "stateMutability": "nonpayable",
584
- "type": "function"
585
- },
586
- {
587
- "inputs": [
575
+ "outputs": [
588
576
  {
589
- "internalType": "bytes4",
590
- "name": "interfaceId",
591
- "type": "bytes4"
577
+ "internalType": "NftId",
578
+ "name": "nftId",
579
+ "type": "uint96"
592
580
  }
593
581
  ],
594
- "name": "registerInterface",
595
- "outputs": [],
596
582
  "stateMutability": "nonpayable",
597
583
  "type": "function"
598
584
  },
@@ -679,30 +665,26 @@
679
665
  "type": "function"
680
666
  }
681
667
  ],
682
- "bytecode": "0x60806040523480156200001157600080fd5b506200001c62000022565b620000d6565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00805468010000000000000000900460ff1615620000735760405163f92ee8a960e01b815260040160405180910390fd5b80546001600160401b0390811614620000d35780546001600160401b0319166001600160401b0390811782556040519081527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50565b61306080620000e66000396000f3fe608060405234801561001057600080fd5b50600436106101735760003560e01c8063603ccaad116100de5780638e32e97911610097578063b68d180911610071578063b68d180914610390578063bf7e214f1461039f578063c219f0c0146103bd578063f7c34ee0146103d057600080fd5b80638e32e979146103475780638fb360371461035a578063ada9652e1461037b57600080fd5b8063603ccaad146102d157806362cbbd7b146102e4578063644c45e0146102fb578063675393bf146103195780637a9e5e4b1461032c578063893d20e81461033f57600080fd5b806327bb7a331161013057806327bb7a331461023d578063329d6e741461025057806336fc697e1461026357806349bb9e4b1461026b578063536ef74b1461027e5780635ab1bd53146102ac57600080fd5b806301ffc9a7146101785780630d8e6e2c146101ba5780630fec111c146101d6578063138461e0146101eb5780631eff4b22146101f5578063214cdb801461022a575b600080fd5b6101a561018636600461216a565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b6101c26103e3565b60405162ffffff90911681526020016101b1565b6101de61046d565b6040516101b191906121eb565b6101f36105fe565b005b61021c7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b6040519081526020016101b1565b6101f361023836600461216a565b610805565b6101f361024b366004612408565b610832565b6101f361025e3660046124a0565b6108d7565b6101f3610a24565b6101f36102793660046124d4565b610a6a565b61029461028c366004612519565b600092915050565b6040516001600160601b0390911681526020016101b1565b6001546001600160a01b03165b6040516001600160a01b0390911681526020016101b1565b6101f36102df366004612552565b610b68565b6101f36102f2366004612598565b50505050505050565b600080516020612fcb833981519152546001600160601b0316610294565b6101f3610327366004612644565b610c50565b6101f361033a366004612644565b610d5e565b6102b9610df8565b6101f3610355366004612661565b610f2f565b610362611168565b6040516001600160e01b031990911681526020016101b1565b61021c600080516020612fcb83398151915281565b60405160d281526020016101b1565b600080516020612feb833981519152546001600160a01b03166102b9565b6102946103cb3660046126ac565b6111a0565b6101f36103de366004612722565b6115ba565b604051632efe011360e01b815260036004820152600060248201819052604482018190529073__$8eede297b65ed5a56eb3f84d8232ae93f5$__90632efe011390606401602060405180830381865af4158015610444573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104689190612750565b905090565b61047561212c565b60007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e0016040528073__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af41580156104ee573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105129190612785565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a00161055a610df8565b6001600160a01b03168152602001826001018054610577906127a2565b80601f01602080910402602001604051908101604052809291908181526020018280546105a3906127a2565b80156105f05780601f106105c5576101008083540402835291602001916105f0565b820191906000526020600020905b8154815290600101906020018083116105d357829003601f168201915b505050505081525091505090565b6000600080516020612fcb83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af415801561066d573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061069191906127e7565b156106c25780546040516301ab8b6760e21b81526001600160601b0390911660048201526024015b60405180910390fd5b306106d56001546001600160a01b031690565b60405163c3c5a54760e01b81526001600160a01b038381166004830152919091169063c3c5a54790602401602060405180830381865afa15801561071d573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061074191906127e7565b6107695760405163b9304b0d60e01b81526001600160a01b03821660048201526024016106b9565b6001546001600160a01b0316604051636939560f60e11b81526001600160a01b038381166004830152919091169063d272ac1e90602401602060405180830381865afa1580156107bd573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107e19190612785565b82546bffffffffffffffffffffffff19166001600160601b03919091161790915550565b61080d611631565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b61083a611631565b61084482876115ba565b7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0387166cffffffffffffffffffffffffff1990911617600160601b60ff8716021760ff60681b1916600160681b851515021781557f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa3016108cd838261284a565b5050505050505050565b73__$8eede297b65ed5a56eb3f84d8232ae93f5$__63a123b37c6108f96103e3565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af4158015610939573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061095d9190612909565b60008051602061300b8339815191528054600160401b900460ff1680610990575080546001600160401b03808416911610155b156109ae5760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b1781556109d88361166a565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a1505050565b610a2c611631565b6301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b60008051602061300b8339815191528054600160401b810460ff1615906001600160401b0316600081158015610a9d5750825b90506000826001600160401b03166001148015610ab95750303b155b905081158015610ac7575080155b15610ae55760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315610b0f57845460ff60401b1916600160401b1785555b610b198787611672565b83156102f257845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a150505050505050565b6000610b74606e611818565b92505050806001600160a01b031663d4cda0d86040518163ffffffff1660e01b8152600401602060405180830381865afa158015610bb6573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610bda9190612932565b6001600160a01b0316630fad0eb18360146040516001600160e01b031960e085901b1681526001600160601b03909216600483015260ff166024820152604401600060405180830381600087803b158015610c3457600080fd5b505af1158015610c48573d6000803e3d6000fd5b505050505050565b610c58611631565b806001600160a01b03163b600003610c8e5760405163fdeac91f60e01b81526001600160a01b03821660048201526024016106b9565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b815263256dc24d60e21b60048201526301ffc9a790602401602060405180830381865afa925050508015610d08575060408051601f3d908101601f19168201909252610d05918101906127e7565b60015b610d305760405163fdeac91f60e01b81526001600160a01b03821660048201526024016106b9565b80610d595760405163fdeac91f60e01b81526001600160a01b03831660048201526024016106b9565b505b50565b33610d7e600080516020612feb833981519152546001600160a01b031690565b6001600160a01b0316816001600160a01b031614610db95760405162d1953b60e31b81526001600160a01b03821660048201526024016106b9565b816001600160a01b03163b600003610def576040516361798f2f60e11b81526001600160a01b03831660048201526024016106b9565b610d59826119b4565b600080600080516020612fcb83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015610e68573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e8c91906127e7565b15610f19576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015610eef573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f139190612932565b91505090565b54600160601b90046001600160a01b0316919050565b610f37611631565b610fb783846001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa158015610f79573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f9d9190612785565b603c60008560405180602001604052806000815250610832565b6001600160a01b03821615610fd457610fcf82611a15565b611143565b6000610fe86001546001600160a01b031690565b6001600160a01b031663d39e60436028604051632392b61b60e21b81526003600482015273__$b659da7d8a6d2d32aa6c1e17da23dc2174$__90638e4ad86c90602401602060405180830381865af4158015611048573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061106c9190612965565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa1580156110b1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110d59190612932565b9050611141816001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611118573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061113c9190612932565b611a15565b505b611153634a531f3360e01b610805565b61116363b68d180960e01b610805565b505050565b600080516020612feb833981519152805460009190600160a01b900460ff16611192576000610f13565b638fb3603760e01b91505090565b600080806111ae606e611818565b92505091506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa1580156111f3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112179190612932565b905061122681848c898b611a26565b611230838c611b66565b93506000604051806102200160405280856001600160601b03168152602001896001600160601b03168152602001886001600160c01b03191681526020018c6001600160c01b03191681526020018b6001600160601b0316815260200173__$3bac17678db7ae928afa209f2f44deec9c$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af41580156112d6573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112fa9190612785565b6001600160601b0316815260200173__$3bac17678db7ae928afa209f2f44deec9c$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015611351573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113759190612785565b6001600160601b031681526020018a64ffffffffff168152602001878152602001604051806020016040528060008152508152602001600061ffff168152602001600061ffff16815260200173__$3bac17678db7ae928afa209f2f44deec9c$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af415801561140a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061142e9190612785565b6001600160601b0316815260200173__$3bac17678db7ae928afa209f2f44deec9c$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015611485573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114a99190612785565b6001600160601b031681526000602082018190526040820181905260609091015290506114d581611cb0565b6001600160601b031660a082015260408051631a99b41b60e31b815290516001600160a01b0385169163d4cda0d89160048083019260209291908290030181865afa158015611528573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061154c9190612932565b6001600160a01b0316632a8ea7ac86836040518363ffffffff1660e01b8152600401611579929190612982565b600060405180830381600087803b15801561159357600080fd5b505af11580156115a7573d6000803e3d6000fd5b5050505050505050979650505050505050565b6115c2611631565b6115cb81610c50565b6115d3610a24565b6001600160a01b0382166115fa5760405163f17ef42d60e01b815260040160405180910390fd5b50600080516020612fcb83398151915280546001600160601b0316600160601b6001600160a01b0390931692909202919091179055565b60008051602061300b83398151915254600160401b900460ff1661166857604051631afcd79f60e31b815260040160405180910390fd5b565b610173611631565b60008051602061300b8339815191528054600160401b810460ff1615906001600160401b03166000811580156116a55750825b90506000826001600160401b031660011480156116c15750303b155b9050811580156116cf575080155b156116ed5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561171757845460ff60401b1916600160401b1785555b6000808780602001905181019061172e9190612b49565b909250905061173f8260008b610f2f565b61174e6078611dd3565b611dd3565b600280546001600160a01b0319166001600160a01b039290921691909117905561177961174960e690565b600380546001600160a01b0319166001600160a01b03929092169190911790556117a4611749602890565b600480546001600160a01b0319166001600160a01b03929092169190911790556117d4639380705d60e01b610805565b505083156102f257845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d290602001610b57565b600061182261212c565b60006118366001546001600160a01b031690565b604051636939560f60e11b81523360048201526001600160a01b03919091169063d272ac1e90602401602060405180830381865afa15801561187c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118a09190612785565b92506118ac8385611ee0565b8092508193505050806001600160a01b031663e5f6cd276040518163ffffffff1660e01b8152600401602060405180830381865afa1580156118f2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119169190612932565b6080830151604051629b7b3560e61b81526001600160a01b0391821660048201529116906326decd4090602401602060405180830381865afa158015611960573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061198491906127e7565b156119ad57604051637d71120960e11b81526001600160601b03841660048201526024016106b9565b9193909250565b600080516020612feb83398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b611a1d611631565b610d5b81612086565b6040516302d764c760e21b81526001600160601b03851660048201526000906001600160a01b03871690630b5d931c9060240161020060405180830381865afa158015611a77573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a9b9190612bc6565b6020810151604051634793b4ab60e01b81526001600160601b0385166004820152919250906000906001600160a01b03891690634793b4ab90602401600060405180830381865afa158015611af4573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611b1c9190810190612cd6565b5190506001600160601b03808216908316146108cd576040516319c01eff60e01b81526001600160601b0380861660048301528084166024830152821660448201526064016106b9565b6000806040518060e0016040528073__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015611bbd573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611be19190612785565b6001600160601b03168152602001856001600160601b03168152602001611c0660d390565b60ff1681526000602080830182905260408084018390526001600160a01b03888116606086015281519283018252928252608090930152600480549251635c992fed60e01b8152939450911691635c992fed91611c65918591016121eb565b6020604051808303816000875af1158015611c84573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611ca89190612785565b949350505050565b60035481516060830151608084015160e085015161010086015160208701516040808901519051637a5ff29d60e11b815260009873__$3bac17678db7ae928afa209f2f44deec9c$__98634c41dd96986001600160a01b039092169763f4bfe53a97611d289792969395919490939190600401612d9f565b61024060405180830381865afa158015611d46573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611d6a9190612e07565b60a001516040518263ffffffff1660e01b8152600401611d8c91815260200190565b602060405180830381865af4158015611da9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611dcd9190612785565b92915050565b6000611de76001546001600160a01b031690565b6001600160a01b031663d39e604383611dfe6103e3565b60405163c9e66e2960e01b815262ffffff909116600482015273__$8eede297b65ed5a56eb3f84d8232ae93f5$__9063c9e66e2990602401602060405180830381865af4158015611e53573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611e779190612965565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa158015611ebc573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611dcd9190612932565b611ee861212c565b600080611efd6001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03871660048201529091506001600160a01b0382169063a48f42e090602401600060405180830381865afa158015611f4d573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611f759190810190612ef8565b925060ff8416606414611fd357604083015160ff858116911614611fce57604080840151905163b83d92cb60e01b81526001600160601b038716600482015260ff808716602483015290911660448201526064016106b9565b61206f565b611fee8360400151611fe3606e90565b60ff90811691161490565b8061200457506120048360400151611fe3608c90565b8061201a575061201a8360400151611fe3607890565b8061203057506120308360400151611fe3608290565b61206f57604080840151905163b83d92cb60e01b81526001600160601b038716600482015260ff808716602483015290911660448201526064016106b9565b61207c8360200151612097565b9150509250929050565b61208e611631565b610d5b816119b4565b60006120ab6001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03841660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa1580156120fa573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526121229190810190612ef8565b6080015192915050565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a082019290925260c081019190915290565b60006020828403121561217c57600080fd5b81356001600160e01b03198116811461219457600080fd5b9392505050565b60005b838110156121b657818101518382015260200161219e565b50506000910152565b600081518084526121d781602086016020860161219b565b601f01601f19169290920160200192915050565b6020815260006001600160601b038084511660208401528060208501511660408401525060ff604084015116606083015260608301511515608083015260018060a01b0360808401511660a083015260a083015161225460c08401826001600160a01b03169052565b5060c083015160e080840152611ca86101008401826121bf565b6001600160a01b0381168114610d5b57600080fd5b6001600160601b0381168114610d5b57600080fd5b60ff81168114610d5b57600080fd5b8015158114610d5b57600080fd5b634e487b7160e01b600052604160045260246000fd5b60405161012081016001600160401b03811182821017156122ee576122ee6122b5565b60405290565b60405160c081016001600160401b03811182821017156122ee576122ee6122b5565b60405161024081016001600160401b03811182821017156122ee576122ee6122b5565b60405160e081016001600160401b03811182821017156122ee576122ee6122b5565b604051601f8201601f191681016001600160401b0381118282101715612383576123836122b5565b604052919050565b60006001600160401b038211156123a4576123a46122b5565b50601f01601f191660200190565b600082601f8301126123c357600080fd5b81356123d66123d18261238b565b61235b565b8181528460208386010111156123eb57600080fd5b816020850160208301376000918101602001919091529392505050565b60008060008060008060c0878903121561242157600080fd5b863561242c8161226e565b9550602087013561243c81612283565b9450604087013561244c81612298565b9350606087013561245c816122a7565b9250608087013561246c8161226e565b915060a08701356001600160401b0381111561248757600080fd5b61249389828a016123b2565b9150509295509295509295565b6000602082840312156124b257600080fd5b81356001600160401b038111156124c857600080fd5b611ca8848285016123b2565b600080604083850312156124e757600080fd5b82356124f28161226e565b915060208301356001600160401b0381111561250d57600080fd5b61207c858286016123b2565b6000806040838503121561252c57600080fd5b823561253781612283565b9150602083013561254781612283565b809150509250929050565b60006020828403121561256457600080fd5b813561219481612283565b6001600160c01b031981168114610d5b57600080fd5b64ffffffffff81168114610d5b57600080fd5b600080600080600080600060e0888a0312156125b357600080fd5b87356125be81612283565b965060208801356125ce8161256f565b955060408801356125de81612283565b945060608801356125ee8161256f565b935060808801356125fe81612283565b925060a088013561260e81612585565b915060c08801356001600160401b0381111561262957600080fd5b6126358a828b016123b2565b91505092959891949750929550565b60006020828403121561265657600080fd5b81356121948161226e565b60008060006060848603121561267657600080fd5b83356126818161226e565b925060208401356126918161226e565b915060408401356126a18161226e565b809150509250925092565b600080600080600080600060e0888a0312156126c757600080fd5b87356126d28161226e565b965060208801356126e28161256f565b955060408801356126f281612283565b9450606088013561270281612585565b9350608088013561271281612283565b925060a088013561260e8161256f565b6000806040838503121561273557600080fd5b82356127408161226e565b915060208301356125478161226e565b60006020828403121561276257600080fd5b815162ffffff8116811461219457600080fd5b805161278081612283565b919050565b60006020828403121561279757600080fd5b815161219481612283565b600181811c908216806127b657607f821691505b6020821081036127d657634e487b7160e01b600052602260045260246000fd5b50919050565b8051612780816122a7565b6000602082840312156127f957600080fd5b8151612194816122a7565b601f82111561116357600081815260208120601f850160051c8101602086101561282b5750805b601f850160051c820191505b81811015610c4857828155600101612837565b81516001600160401b03811115612863576128636122b5565b6128778161287184546127a2565b84612804565b602080601f8311600181146128ac57600084156128945750858301515b600019600386901b1c1916600185901b178555610c48565b600085815260208120601f198616915b828110156128db578886015182559484019460019091019084016128bc565b50858210156128f95787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b60006020828403121561291b57600080fd5b81516001600160401b038116811461219457600080fd5b60006020828403121561294457600080fd5b81516121948161226e565b80516127808161226e565b805161278081612298565b60006020828403121561297757600080fd5b815161219481612298565b6001600160601b0383168152604060208201526129ab6040820183516001600160601b03169052565b600060208301516129c760608401826001600160601b03169052565b5060408301516001600160c01b0319811660808401525060608301516001600160c01b0319811660a08401525060808301516001600160601b03811660c08401525060a08301516001600160601b03811660e08401525060c0830151610100612a3a818501836001600160601b03169052565b60e08501519150610120612a568186018464ffffffffff169052565b81860151925061022091506101408281870152612a776102608701856121bf565b9350818701519150610160603f198786030181880152612a9785846121bf565b94508188015192506101809150612ab38288018461ffff169052565b87015191506101a0612aca8782018461ffff169052565b9087015191506101c090612ae8878301846001600160601b03169052565b87015191506101e0612b04878201846001600160601b03169052565b90870151915061020090612b208783018464ffffffffff169052565b87015164ffffffffff908116938701939093528601519182166102408601525050949350505050565b60008060408385031215612b5c57600080fd5b8251612b678161226e565b60208401519092506125478161226e565b600060408284031215612b8a57600080fd5b604051604081018181106001600160401b0382111715612bac57612bac6122b5565b604052825181526020928301519281019290925250919050565b60006102008284031215612bd957600080fd5b612be16122cb565b612bea83612775565b8152612bf860208401612775565b6020820152612c0a8460408501612b78565b6040820152612c1c8460808501612b78565b6060820152612c2e8460c08501612b78565b6080820152610100612c4285828601612b78565b60a0830152612c55856101408601612b78565b60c0830152612c68856101808601612b78565b60e0830152612c7b856101c08601612b78565b908201529392505050565b600082601f830112612c9757600080fd5b8151612ca56123d18261238b565b818152846020838601011115612cba57600080fd5b611ca882602083016020870161219b565b805161278081612585565b600060208284031215612ce857600080fd5b81516001600160401b0380821115612cff57600080fd5b9083019060e08286031215612d1357600080fd5b612d1b6122f4565b8251612d2681612283565b8152612d358660208501612b78565b6020820152606083015182811115612d4c57600080fd5b612d5887828601612c86565b60408301525060808301519150612d6e82612585565b816060820152612d8060a08401612ccb565b6080820152612d9160c08401612ccb565b60a082015295945050505050565b60006001600160601b03808a1683526001600160401b0360c01b808a166020850152818916604085015264ffffffffff8816606085015260e06080850152612dea60e08501886121bf565b9590911660a08401529290921660c0909101525095945050505050565b60006102408284031215612e1a57600080fd5b612e22612316565b612e2b83612775565b8152612e3960208401612775565b6020820152612e4a60408401612775565b6040820152606083810151908201526080808401519082015260a0808401519082015260c0808401519082015260e08084015190820152610100808401519082015261012080840151908201526101408084015190820152610160808401519082015261018080840151908201526101a080840151908201526101c080840151908201526101e080840151908201526102008084015190820152610220928301519281019290925250919050565b600060208284031215612f0a57600080fd5b81516001600160401b0380821115612f2157600080fd5b9083019060e08286031215612f3557600080fd5b612f3d612339565b612f4683612775565b8152612f5460208401612775565b6020820152612f656040840161295a565b6040820152612f76606084016127dc565b6060820152612f876080840161294f565b6080820152612f9860a0840161294f565b60a082015260c083015182811115612faf57600080fd5b612fbb87828601612c86565b60c0830152509594505050505056fe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00f0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00a2646970667358221220f2dc581747dccaee63ec1bc3c13522980e30d26c163197dbb67fcef7e5893eef64736f6c63430008140033",
683
- "deployedBytecode": "0x608060405234801561001057600080fd5b50600436106101735760003560e01c8063603ccaad116100de5780638e32e97911610097578063b68d180911610071578063b68d180914610390578063bf7e214f1461039f578063c219f0c0146103bd578063f7c34ee0146103d057600080fd5b80638e32e979146103475780638fb360371461035a578063ada9652e1461037b57600080fd5b8063603ccaad146102d157806362cbbd7b146102e4578063644c45e0146102fb578063675393bf146103195780637a9e5e4b1461032c578063893d20e81461033f57600080fd5b806327bb7a331161013057806327bb7a331461023d578063329d6e741461025057806336fc697e1461026357806349bb9e4b1461026b578063536ef74b1461027e5780635ab1bd53146102ac57600080fd5b806301ffc9a7146101785780630d8e6e2c146101ba5780630fec111c146101d6578063138461e0146101eb5780631eff4b22146101f5578063214cdb801461022a575b600080fd5b6101a561018636600461216a565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b6101c26103e3565b60405162ffffff90911681526020016101b1565b6101de61046d565b6040516101b191906121eb565b6101f36105fe565b005b61021c7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b6040519081526020016101b1565b6101f361023836600461216a565b610805565b6101f361024b366004612408565b610832565b6101f361025e3660046124a0565b6108d7565b6101f3610a24565b6101f36102793660046124d4565b610a6a565b61029461028c366004612519565b600092915050565b6040516001600160601b0390911681526020016101b1565b6001546001600160a01b03165b6040516001600160a01b0390911681526020016101b1565b6101f36102df366004612552565b610b68565b6101f36102f2366004612598565b50505050505050565b600080516020612fcb833981519152546001600160601b0316610294565b6101f3610327366004612644565b610c50565b6101f361033a366004612644565b610d5e565b6102b9610df8565b6101f3610355366004612661565b610f2f565b610362611168565b6040516001600160e01b031990911681526020016101b1565b61021c600080516020612fcb83398151915281565b60405160d281526020016101b1565b600080516020612feb833981519152546001600160a01b03166102b9565b6102946103cb3660046126ac565b6111a0565b6101f36103de366004612722565b6115ba565b604051632efe011360e01b815260036004820152600060248201819052604482018190529073__$8eede297b65ed5a56eb3f84d8232ae93f5$__90632efe011390606401602060405180830381865af4158015610444573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104689190612750565b905090565b61047561212c565b60007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e0016040528073__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af41580156104ee573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105129190612785565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a00161055a610df8565b6001600160a01b03168152602001826001018054610577906127a2565b80601f01602080910402602001604051908101604052809291908181526020018280546105a3906127a2565b80156105f05780601f106105c5576101008083540402835291602001916105f0565b820191906000526020600020905b8154815290600101906020018083116105d357829003601f168201915b505050505081525091505090565b6000600080516020612fcb83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af415801561066d573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061069191906127e7565b156106c25780546040516301ab8b6760e21b81526001600160601b0390911660048201526024015b60405180910390fd5b306106d56001546001600160a01b031690565b60405163c3c5a54760e01b81526001600160a01b038381166004830152919091169063c3c5a54790602401602060405180830381865afa15801561071d573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061074191906127e7565b6107695760405163b9304b0d60e01b81526001600160a01b03821660048201526024016106b9565b6001546001600160a01b0316604051636939560f60e11b81526001600160a01b038381166004830152919091169063d272ac1e90602401602060405180830381865afa1580156107bd573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107e19190612785565b82546bffffffffffffffffffffffff19166001600160601b03919091161790915550565b61080d611631565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b61083a611631565b61084482876115ba565b7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0387166cffffffffffffffffffffffffff1990911617600160601b60ff8716021760ff60681b1916600160681b851515021781557f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa3016108cd838261284a565b5050505050505050565b73__$8eede297b65ed5a56eb3f84d8232ae93f5$__63a123b37c6108f96103e3565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af4158015610939573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061095d9190612909565b60008051602061300b8339815191528054600160401b900460ff1680610990575080546001600160401b03808416911610155b156109ae5760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b1781556109d88361166a565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a1505050565b610a2c611631565b6301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b60008051602061300b8339815191528054600160401b810460ff1615906001600160401b0316600081158015610a9d5750825b90506000826001600160401b03166001148015610ab95750303b155b905081158015610ac7575080155b15610ae55760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315610b0f57845460ff60401b1916600160401b1785555b610b198787611672565b83156102f257845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a150505050505050565b6000610b74606e611818565b92505050806001600160a01b031663d4cda0d86040518163ffffffff1660e01b8152600401602060405180830381865afa158015610bb6573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610bda9190612932565b6001600160a01b0316630fad0eb18360146040516001600160e01b031960e085901b1681526001600160601b03909216600483015260ff166024820152604401600060405180830381600087803b158015610c3457600080fd5b505af1158015610c48573d6000803e3d6000fd5b505050505050565b610c58611631565b806001600160a01b03163b600003610c8e5760405163fdeac91f60e01b81526001600160a01b03821660048201526024016106b9565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b815263256dc24d60e21b60048201526301ffc9a790602401602060405180830381865afa925050508015610d08575060408051601f3d908101601f19168201909252610d05918101906127e7565b60015b610d305760405163fdeac91f60e01b81526001600160a01b03821660048201526024016106b9565b80610d595760405163fdeac91f60e01b81526001600160a01b03831660048201526024016106b9565b505b50565b33610d7e600080516020612feb833981519152546001600160a01b031690565b6001600160a01b0316816001600160a01b031614610db95760405162d1953b60e31b81526001600160a01b03821660048201526024016106b9565b816001600160a01b03163b600003610def576040516361798f2f60e11b81526001600160a01b03831660048201526024016106b9565b610d59826119b4565b600080600080516020612fcb83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015610e68573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e8c91906127e7565b15610f19576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015610eef573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f139190612932565b91505090565b54600160601b90046001600160a01b0316919050565b610f37611631565b610fb783846001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa158015610f79573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f9d9190612785565b603c60008560405180602001604052806000815250610832565b6001600160a01b03821615610fd457610fcf82611a15565b611143565b6000610fe86001546001600160a01b031690565b6001600160a01b031663d39e60436028604051632392b61b60e21b81526003600482015273__$b659da7d8a6d2d32aa6c1e17da23dc2174$__90638e4ad86c90602401602060405180830381865af4158015611048573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061106c9190612965565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa1580156110b1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110d59190612932565b9050611141816001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611118573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061113c9190612932565b611a15565b505b611153634a531f3360e01b610805565b61116363b68d180960e01b610805565b505050565b600080516020612feb833981519152805460009190600160a01b900460ff16611192576000610f13565b638fb3603760e01b91505090565b600080806111ae606e611818565b92505091506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa1580156111f3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112179190612932565b905061122681848c898b611a26565b611230838c611b66565b93506000604051806102200160405280856001600160601b03168152602001896001600160601b03168152602001886001600160c01b03191681526020018c6001600160c01b03191681526020018b6001600160601b0316815260200173__$3bac17678db7ae928afa209f2f44deec9c$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af41580156112d6573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112fa9190612785565b6001600160601b0316815260200173__$3bac17678db7ae928afa209f2f44deec9c$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015611351573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113759190612785565b6001600160601b031681526020018a64ffffffffff168152602001878152602001604051806020016040528060008152508152602001600061ffff168152602001600061ffff16815260200173__$3bac17678db7ae928afa209f2f44deec9c$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af415801561140a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061142e9190612785565b6001600160601b0316815260200173__$3bac17678db7ae928afa209f2f44deec9c$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015611485573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114a99190612785565b6001600160601b031681526000602082018190526040820181905260609091015290506114d581611cb0565b6001600160601b031660a082015260408051631a99b41b60e31b815290516001600160a01b0385169163d4cda0d89160048083019260209291908290030181865afa158015611528573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061154c9190612932565b6001600160a01b0316632a8ea7ac86836040518363ffffffff1660e01b8152600401611579929190612982565b600060405180830381600087803b15801561159357600080fd5b505af11580156115a7573d6000803e3d6000fd5b5050505050505050979650505050505050565b6115c2611631565b6115cb81610c50565b6115d3610a24565b6001600160a01b0382166115fa5760405163f17ef42d60e01b815260040160405180910390fd5b50600080516020612fcb83398151915280546001600160601b0316600160601b6001600160a01b0390931692909202919091179055565b60008051602061300b83398151915254600160401b900460ff1661166857604051631afcd79f60e31b815260040160405180910390fd5b565b610173611631565b60008051602061300b8339815191528054600160401b810460ff1615906001600160401b03166000811580156116a55750825b90506000826001600160401b031660011480156116c15750303b155b9050811580156116cf575080155b156116ed5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561171757845460ff60401b1916600160401b1785555b6000808780602001905181019061172e9190612b49565b909250905061173f8260008b610f2f565b61174e6078611dd3565b611dd3565b600280546001600160a01b0319166001600160a01b039290921691909117905561177961174960e690565b600380546001600160a01b0319166001600160a01b03929092169190911790556117a4611749602890565b600480546001600160a01b0319166001600160a01b03929092169190911790556117d4639380705d60e01b610805565b505083156102f257845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d290602001610b57565b600061182261212c565b60006118366001546001600160a01b031690565b604051636939560f60e11b81523360048201526001600160a01b03919091169063d272ac1e90602401602060405180830381865afa15801561187c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118a09190612785565b92506118ac8385611ee0565b8092508193505050806001600160a01b031663e5f6cd276040518163ffffffff1660e01b8152600401602060405180830381865afa1580156118f2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119169190612932565b6080830151604051629b7b3560e61b81526001600160a01b0391821660048201529116906326decd4090602401602060405180830381865afa158015611960573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061198491906127e7565b156119ad57604051637d71120960e11b81526001600160601b03841660048201526024016106b9565b9193909250565b600080516020612feb83398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b611a1d611631565b610d5b81612086565b6040516302d764c760e21b81526001600160601b03851660048201526000906001600160a01b03871690630b5d931c9060240161020060405180830381865afa158015611a77573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a9b9190612bc6565b6020810151604051634793b4ab60e01b81526001600160601b0385166004820152919250906000906001600160a01b03891690634793b4ab90602401600060405180830381865afa158015611af4573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611b1c9190810190612cd6565b5190506001600160601b03808216908316146108cd576040516319c01eff60e01b81526001600160601b0380861660048301528084166024830152821660448201526064016106b9565b6000806040518060e0016040528073__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015611bbd573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611be19190612785565b6001600160601b03168152602001856001600160601b03168152602001611c0660d390565b60ff1681526000602080830182905260408084018390526001600160a01b03888116606086015281519283018252928252608090930152600480549251635c992fed60e01b8152939450911691635c992fed91611c65918591016121eb565b6020604051808303816000875af1158015611c84573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611ca89190612785565b949350505050565b60035481516060830151608084015160e085015161010086015160208701516040808901519051637a5ff29d60e11b815260009873__$3bac17678db7ae928afa209f2f44deec9c$__98634c41dd96986001600160a01b039092169763f4bfe53a97611d289792969395919490939190600401612d9f565b61024060405180830381865afa158015611d46573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611d6a9190612e07565b60a001516040518263ffffffff1660e01b8152600401611d8c91815260200190565b602060405180830381865af4158015611da9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611dcd9190612785565b92915050565b6000611de76001546001600160a01b031690565b6001600160a01b031663d39e604383611dfe6103e3565b60405163c9e66e2960e01b815262ffffff909116600482015273__$8eede297b65ed5a56eb3f84d8232ae93f5$__9063c9e66e2990602401602060405180830381865af4158015611e53573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611e779190612965565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa158015611ebc573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611dcd9190612932565b611ee861212c565b600080611efd6001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03871660048201529091506001600160a01b0382169063a48f42e090602401600060405180830381865afa158015611f4d573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611f759190810190612ef8565b925060ff8416606414611fd357604083015160ff858116911614611fce57604080840151905163b83d92cb60e01b81526001600160601b038716600482015260ff808716602483015290911660448201526064016106b9565b61206f565b611fee8360400151611fe3606e90565b60ff90811691161490565b8061200457506120048360400151611fe3608c90565b8061201a575061201a8360400151611fe3607890565b8061203057506120308360400151611fe3608290565b61206f57604080840151905163b83d92cb60e01b81526001600160601b038716600482015260ff808716602483015290911660448201526064016106b9565b61207c8360200151612097565b9150509250929050565b61208e611631565b610d5b816119b4565b60006120ab6001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03841660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa1580156120fa573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526121229190810190612ef8565b6080015192915050565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a082019290925260c081019190915290565b60006020828403121561217c57600080fd5b81356001600160e01b03198116811461219457600080fd5b9392505050565b60005b838110156121b657818101518382015260200161219e565b50506000910152565b600081518084526121d781602086016020860161219b565b601f01601f19169290920160200192915050565b6020815260006001600160601b038084511660208401528060208501511660408401525060ff604084015116606083015260608301511515608083015260018060a01b0360808401511660a083015260a083015161225460c08401826001600160a01b03169052565b5060c083015160e080840152611ca86101008401826121bf565b6001600160a01b0381168114610d5b57600080fd5b6001600160601b0381168114610d5b57600080fd5b60ff81168114610d5b57600080fd5b8015158114610d5b57600080fd5b634e487b7160e01b600052604160045260246000fd5b60405161012081016001600160401b03811182821017156122ee576122ee6122b5565b60405290565b60405160c081016001600160401b03811182821017156122ee576122ee6122b5565b60405161024081016001600160401b03811182821017156122ee576122ee6122b5565b60405160e081016001600160401b03811182821017156122ee576122ee6122b5565b604051601f8201601f191681016001600160401b0381118282101715612383576123836122b5565b604052919050565b60006001600160401b038211156123a4576123a46122b5565b50601f01601f191660200190565b600082601f8301126123c357600080fd5b81356123d66123d18261238b565b61235b565b8181528460208386010111156123eb57600080fd5b816020850160208301376000918101602001919091529392505050565b60008060008060008060c0878903121561242157600080fd5b863561242c8161226e565b9550602087013561243c81612283565b9450604087013561244c81612298565b9350606087013561245c816122a7565b9250608087013561246c8161226e565b915060a08701356001600160401b0381111561248757600080fd5b61249389828a016123b2565b9150509295509295509295565b6000602082840312156124b257600080fd5b81356001600160401b038111156124c857600080fd5b611ca8848285016123b2565b600080604083850312156124e757600080fd5b82356124f28161226e565b915060208301356001600160401b0381111561250d57600080fd5b61207c858286016123b2565b6000806040838503121561252c57600080fd5b823561253781612283565b9150602083013561254781612283565b809150509250929050565b60006020828403121561256457600080fd5b813561219481612283565b6001600160c01b031981168114610d5b57600080fd5b64ffffffffff81168114610d5b57600080fd5b600080600080600080600060e0888a0312156125b357600080fd5b87356125be81612283565b965060208801356125ce8161256f565b955060408801356125de81612283565b945060608801356125ee8161256f565b935060808801356125fe81612283565b925060a088013561260e81612585565b915060c08801356001600160401b0381111561262957600080fd5b6126358a828b016123b2565b91505092959891949750929550565b60006020828403121561265657600080fd5b81356121948161226e565b60008060006060848603121561267657600080fd5b83356126818161226e565b925060208401356126918161226e565b915060408401356126a18161226e565b809150509250925092565b600080600080600080600060e0888a0312156126c757600080fd5b87356126d28161226e565b965060208801356126e28161256f565b955060408801356126f281612283565b9450606088013561270281612585565b9350608088013561271281612283565b925060a088013561260e8161256f565b6000806040838503121561273557600080fd5b82356127408161226e565b915060208301356125478161226e565b60006020828403121561276257600080fd5b815162ffffff8116811461219457600080fd5b805161278081612283565b919050565b60006020828403121561279757600080fd5b815161219481612283565b600181811c908216806127b657607f821691505b6020821081036127d657634e487b7160e01b600052602260045260246000fd5b50919050565b8051612780816122a7565b6000602082840312156127f957600080fd5b8151612194816122a7565b601f82111561116357600081815260208120601f850160051c8101602086101561282b5750805b601f850160051c820191505b81811015610c4857828155600101612837565b81516001600160401b03811115612863576128636122b5565b6128778161287184546127a2565b84612804565b602080601f8311600181146128ac57600084156128945750858301515b600019600386901b1c1916600185901b178555610c48565b600085815260208120601f198616915b828110156128db578886015182559484019460019091019084016128bc565b50858210156128f95787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b60006020828403121561291b57600080fd5b81516001600160401b038116811461219457600080fd5b60006020828403121561294457600080fd5b81516121948161226e565b80516127808161226e565b805161278081612298565b60006020828403121561297757600080fd5b815161219481612298565b6001600160601b0383168152604060208201526129ab6040820183516001600160601b03169052565b600060208301516129c760608401826001600160601b03169052565b5060408301516001600160c01b0319811660808401525060608301516001600160c01b0319811660a08401525060808301516001600160601b03811660c08401525060a08301516001600160601b03811660e08401525060c0830151610100612a3a818501836001600160601b03169052565b60e08501519150610120612a568186018464ffffffffff169052565b81860151925061022091506101408281870152612a776102608701856121bf565b9350818701519150610160603f198786030181880152612a9785846121bf565b94508188015192506101809150612ab38288018461ffff169052565b87015191506101a0612aca8782018461ffff169052565b9087015191506101c090612ae8878301846001600160601b03169052565b87015191506101e0612b04878201846001600160601b03169052565b90870151915061020090612b208783018464ffffffffff169052565b87015164ffffffffff908116938701939093528601519182166102408601525050949350505050565b60008060408385031215612b5c57600080fd5b8251612b678161226e565b60208401519092506125478161226e565b600060408284031215612b8a57600080fd5b604051604081018181106001600160401b0382111715612bac57612bac6122b5565b604052825181526020928301519281019290925250919050565b60006102008284031215612bd957600080fd5b612be16122cb565b612bea83612775565b8152612bf860208401612775565b6020820152612c0a8460408501612b78565b6040820152612c1c8460808501612b78565b6060820152612c2e8460c08501612b78565b6080820152610100612c4285828601612b78565b60a0830152612c55856101408601612b78565b60c0830152612c68856101808601612b78565b60e0830152612c7b856101c08601612b78565b908201529392505050565b600082601f830112612c9757600080fd5b8151612ca56123d18261238b565b818152846020838601011115612cba57600080fd5b611ca882602083016020870161219b565b805161278081612585565b600060208284031215612ce857600080fd5b81516001600160401b0380821115612cff57600080fd5b9083019060e08286031215612d1357600080fd5b612d1b6122f4565b8251612d2681612283565b8152612d358660208501612b78565b6020820152606083015182811115612d4c57600080fd5b612d5887828601612c86565b60408301525060808301519150612d6e82612585565b816060820152612d8060a08401612ccb565b6080820152612d9160c08401612ccb565b60a082015295945050505050565b60006001600160601b03808a1683526001600160401b0360c01b808a166020850152818916604085015264ffffffffff8816606085015260e06080850152612dea60e08501886121bf565b9590911660a08401529290921660c0909101525095945050505050565b60006102408284031215612e1a57600080fd5b612e22612316565b612e2b83612775565b8152612e3960208401612775565b6020820152612e4a60408401612775565b6040820152606083810151908201526080808401519082015260a0808401519082015260c0808401519082015260e08084015190820152610100808401519082015261012080840151908201526101408084015190820152610160808401519082015261018080840151908201526101a080840151908201526101c080840151908201526101e080840151908201526102008084015190820152610220928301519281019290925250919050565b600060208284031215612f0a57600080fd5b81516001600160401b0380821115612f2157600080fd5b9083019060e08286031215612f3557600080fd5b612f3d612339565b612f4683612775565b8152612f5460208401612775565b6020820152612f656040840161295a565b6040820152612f76606084016127dc565b6060820152612f876080840161294f565b6080820152612f9860a0840161294f565b60a082015260c083015182811115612faf57600080fd5b612fbb87828601612c86565b60c0830152509594505050505056fe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00f0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00a2646970667358221220f2dc581747dccaee63ec1bc3c13522980e30d26c163197dbb67fcef7e5893eef64736f6c63430008140033",
668
+ "bytecode": "0x6080604052348015600e575f80fd5b5060156019565b60c9565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00805468010000000000000000900460ff161560685760405163f92ee8a960e01b815260040160405180910390fd5b80546001600160401b039081161460c65780546001600160401b0319166001600160401b0390811782556040519081527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50565b612f7b806100d65f395ff3fe608060405234801561000f575f80fd5b506004361061013d575f3560e01c8063644c45e0116100b4578063893d20e811610079578063893d20e8146103005780638fb36037146103085780639a83274114610329578063ada9652e1461033c578063b68d180914610350578063bf7e214f14610357575f80fd5b8063644c45e01461028e5780636c741e78146102ab57806376b707b7146102cb5780637a9e5e4b146102e55780638899278a146102f8575f80fd5b8063329d6e7411610105578063329d6e741461020857806349bb9e4b1461021d578063536ef74b146102305780635ab1bd5314610243578063603ccaad1461026857806362cbbd7b1461027b575f80fd5b806301ffc9a7146101415780630d8e6e2c146101825780630fec111c1461019e578063138461e0146101b35780631eff4b22146101d3575b5f80fd5b61016d61014f3660046122c3565b6001600160e01b0319165f9081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b61018a610374565b60405162ffffff9091168152602001610179565b6101a66103fb565b6040516101799190612318565b6101bb610587565b6040516001600160601b039091168152602001610179565b6101fa7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b604051908152602001610179565b61021b6102163660046124ab565b610591565b005b61021b61022b3660046124f0565b6106db565b6101bb61023e366004612550565b6107d7565b6001546001600160a01b03165b6040516001600160a01b039091168152602001610179565b61021b610276366004612587565b610812565b61021b6102893660046125d0565b61091b565b5f80516020612ec6833981519152546001600160601b03166101bb565b6102b361094f565b6040516001600160401b039091168152602001610179565b6102d36109db565b60405160ff9091168152602001610179565b61021b6102f3366004612674565b610a4f565b6101fa600381565b610250610af0565b610310610c21565b6040516001600160e01b03199091168152602001610179565b6101bb61033736600461268f565b610c56565b6101fa5f80516020612ec683398151915281565b60146102d3565b5f80516020612ee6833981519152546001600160a01b0316610250565b604051632efe011360e01b8152600360048201525f60248201819052604482018190529073__$8eede297b65ed5a56eb3f84d8232ae93f5$__90632efe011390606401602060405180830381865af41580156103d2573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906103f69190612746565b905090565b610403612286565b5f7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e0016040528073__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015610479573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061049d9190612773565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a0016104e5610af0565b6001600160a01b031681526020018260010180546105029061278e565b80601f016020809104026020016040519081016040528092919081815260200182805461052e9061278e565b80156105795780601f1061055057610100808354040283529160200191610579565b820191905f5260205f20905b81548152906001019060200180831161055c57829003601f168201915b505050505081525091505090565b5f6103f630610dea565b73__$8eede297b65ed5a56eb3f84d8232ae93f5$__63a123b37c6105b3610374565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af41580156105f1573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061061591906127da565b5f80516020612f268339815191528054600160401b900460ff1680610647575080546001600160401b03808416911610155b156106655760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b17815561068f83610fe3565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a1505050565b5f80516020612f268339815191528054600160401b810460ff1615906001600160401b03165f8115801561070c5750825b90505f826001600160401b031660011480156107275750303b155b905081158015610735575080155b156107535760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561077d57845460ff60401b1916600160401b1785555b6107878787610feb565b83156107ce57845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a15b50505050505050565b5f6107e0611184565b6107eb8360156111bb565b6107f682601f6111bb565b61080c60015f80516020612f0683398151915255565b92915050565b61081a611184565b6108258160156111bb565b5f610830600c611285565b92505050806001600160a01b031663d4cda0d86040518163ffffffff1660e01b8152600401602060405180830381865afa158015610870573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061089491906127f5565b6001600160a01b0316630fad0eb18360146040516001600160e01b031960e085901b1681526001600160601b03909216600483015260ff1660248201526044015f604051808303815f87803b1580156108eb575f80fd5b505af11580156108fd573d5f803e3d5ffd5b505050505061091860015f80516020612f0683398151915255565b50565b610923611184565b61092e8760156111bb565b61093985601f6111bb565b6107ce60015f80516020612f0683398151915255565b5f73__$1d92393fa9ccd763988368ce8a1cb90d26$__63dda777d360146109746109db565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865af41580156109b7573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906103f691906127da565b604051632392b61b60e21b8152600360048201525f9073__$b659da7d8a6d2d32aa6c1e17da23dc2174$__90638e4ad86c90602401602060405180830381865af4158015610a2b573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906103f69190612829565b33610a6e5f80516020612ee6833981519152546001600160a01b031690565b6001600160a01b0316816001600160a01b031614610aae5760405162d1953b60e31b81526001600160a01b03821660048201526024015b60405180910390fd5b816001600160a01b03163b5f03610ae3576040516361798f2f60e11b81526001600160a01b0383166004820152602401610aa5565b610aec82611321565b5050565b5f805f80516020612ec683398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015610b5c573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b809190612853565b15610c0b576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015610be1573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610c0591906127f5565b91505090565b54600160601b90046001600160a01b0316919050565b5f80516020612ee683398151915280545f9190600160a01b900460ff16610c48575f610c05565b638fb3603760e01b91505090565b5f610c5f611184565b610c6a84601f6111bb565b5f80610c76600c611285565b92505091505f816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015610cb8573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610cdc91906127f5565b9050610ceb81848d898b611381565b610cf5838d61169b565b93505f610d08848d8d8d8d8d8d8d6117de565b9050826001600160a01b031663d4cda0d86040518163ffffffff1660e01b8152600401602060405180830381865afa158015610d46573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610d6a91906127f5565b6001600160a01b0316636fac862286836040518363ffffffff1660e01b8152600401610d97929190612877565b5f604051808303815f87803b158015610dae575f80fd5b505af1158015610dc0573d5f803e3d5ffd5b5050505050505050610dde60015f80516020612f0683398151915255565b98975050505050505050565b5f805f80516020612ec683398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015610e56573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610e7a9190612853565b15610ea65780546040516301ab8b6760e21b81526001600160601b039091166004820152602401610aa5565b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038581166004830152919091169063c3c5a54790602401602060405180830381865afa158015610ef8573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610f1c9190612853565b610f445760405163b9304b0d60e01b81526001600160a01b0384166004820152602401610aa5565b6001546001600160a01b0316604051632f2a35f760e11b81526001600160a01b0385811660048301529190911690635e546bee90602401602060405180830381865afa158015610f96573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610fba9190612773565b81546bffffffffffffffffffffffff19166001600160601b039190911690811790915592915050565b61013d611a11565b5f80516020612f268339815191528054600160401b810460ff1615906001600160401b03165f8115801561101c5750825b90505f826001600160401b031660011480156110375750303b155b905081158015611045575080155b156110635760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561108d57845460ff60401b1916600160401b1785555b5f80878060200190518101906110a39190612a03565b915091506110b282828b611a49565b6110bc600e611b8e565b600280546001600160a01b0319166001600160a01b03929092169190911790556110e6601a611b8e565b600380546001600160a01b0319166001600160a01b03929092169190911790556111106002611b8e565b600480546001600160a01b0319166001600160a01b03929092169190911790556111406332c6a9f760e21b611c1f565b505083156107ce57845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020016107c5565b5f80516020612f068339815191528054600119016111b557604051633ee5aeb560e01b815260040160405180910390fd5b60029055565b6001546001600160a01b0316604051635b12715d60e11b81526001600160601b038416600482015260ff831660248201526001600160a01b03919091169063b624e2ba90604401602060405180830381865afa15801561121d573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906112419190612853565b610aec5760405163d711af7560e01b81526001600160601b038316600482015260ff82166024820152604401610aa5565b60015f80516020612f0683398151915255565b5f61128e612286565b5f6112a16001546001600160a01b031690565b604051632f2a35f760e11b81523360048201526001600160a01b039190911690635e546bee90602401602060405180830381865afa1580156112e5573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906113099190612773565b925061131783856001611c4b565b9395909450915050565b5f80516020612ee683398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b5f80866001600160a01b0316630e0c586d6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156113bf573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906113e391906127f5565b60405163c1b5cfb760e01b81526001600160601b03881660048201526001600160c01b0319871660248201526001600160a01b03919091169063c1b5cfb7906044016040805180830381865afa15801561143f573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906114639190612a30565b91509150816114a0576040516335f00fb960e21b81526001600160c01b0319861660048201526001600160601b0387166024820152604401610aa5565b806114d95760405163b84c2cc960e01b81526001600160c01b0319861660048201526001600160601b0387166024820152604401610aa5565b6040516302d764c760e21b81526001600160601b03871660048201525f906001600160a01b03891690630b5d931c906024015f60405180830381865afa158015611525573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f1916820160405261154c9190810190612b35565b60a001519050876001600160a01b0316636dddada46040518163ffffffff1660e01b8152600401602060405180830381865afa15801561158e573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906115b291906127f5565b60405163bdb996ff60e01b81526001600160601b038084166004830152861660248201526001600160a01b03919091169063bdb996ff906044016040805180830381865afa158015611606573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061162a9190612a30565b909350915082611660576040516339bffb5f60e21b81526001600160601b03808616600483015282166024820152604401610aa5565b816116915760405163a44d71a560e01b81526001600160601b03808616600483015282166024820152604401610aa5565b5050505050505050565b5f806040518060e0016040528073__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af41580156116ef573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906117139190612773565b6001600160601b03168152602001856001600160601b03168152602001611738601590565b60ff1681525f602080830182905260408084018390526001600160a01b03888116606086015281519283018252928252608090930152600480549251635c992fed60e01b8152939450911691635c992fed9161179691859101612318565b6020604051808303815f875af11580156117b2573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906117d69190612773565b949350505050565b60408051610200810182525f8082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820183905260e0820181905261010082015261012081018290526101408101829052610160810182905261018081018290526101a081018290526101c081018290526101e08101919091526040518061020001604052808a6001600160601b03168152602001856001600160601b03168152602001846001600160c01b0319168152602001896001600160c01b0319168152602001886001600160601b03168152602001876001600160601b031681526020018664ffffffffff16815260200183815260200160405180602001604052805f81525081526020015f61ffff1681526020015f61ffff16815260200173__$3bac17678db7ae928afa209f2f44deec9c$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015611947573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061196b9190612773565b6001600160601b0316815260200173__$3bac17678db7ae928afa209f2f44deec9c$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af41580156119c0573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906119e49190612773565b6001600160601b031681525f60208201819052604082018190526060909101529998505050505050505050565b5f80516020612f2683398151915254600160401b900460ff16611a4757604051631afcd79f60e31b815260040160405180910390fd5b565b611a51611a11565b611a59611f30565b6001600160a01b03821615611a7657611a7182611f40565b611aed565b5f611a816002611b8e565b9050611aeb816001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611ac2573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611ae691906127f5565b611f40565b505b611b6983846001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa158015611b2d573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611b519190612773565b60085f8560405180602001604052805f815250611f51565b611b79634a531f3360e01b611c1f565b611b8963daf9067160e01b611c1f565b505050565b5f611ba16001546001600160a01b031690565b6001600160a01b031663d39e604383611bb86109db565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa158015611bfb573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061080c91906127f5565b611c27611a11565b6001600160e01b0319165f908152602081905260409020805460ff19166001179055565b611c53612286565b5f80611c676001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03881660048201529091506001600160a01b0382169063a48f42e0906024015f60405180830381865afa158015611cb4573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052611cdb9190810190612cf0565b925060ff8516600b14611d3957604083015160ff868116911614611d3457604080840151905163b83d92cb60e01b81526001600160601b038816600482015260ff80881660248301529091166044820152606401610aa5565b611dd5565b611d548360400151611d49600c90565b60ff90811691161490565b80611d6a5750611d6a8360400151611d49600f90565b80611d805750611d808360400151611d49600e90565b80611d965750611d968360400151611d49600d90565b611dd557604080840151905163b83d92cb60e01b81526001600160601b038816600482015260ff80881660248301529091166044820152606401610aa5565b611de58360400151611d49600390565b15611df05750611f28565b611e008360400151611d49600c90565b15611e1a57611e13818460200151611fec565b9150611e2b565b611e28818460200151612064565b91505b8315611f2657816001600160a01b031663311adb686040518163ffffffff1660e01b8152600401602060405180830381865afa158015611e6d573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611e9191906127f5565b6080840151604051629b7b3560e61b81526001600160a01b0391821660048201529116906326decd4090602401602060405180830381865afa158015611ed9573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611efd9190612853565b15611f2657604051637d71120960e11b81526001600160601b0387166004820152602401610aa5565b505b935093915050565b611f38611a11565b611a476120e6565b611f48611a11565b610918816120ee565b611f59611a11565b611f6386836120ff565b7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0387166cffffffffffffffffffffffffff1990911617600160601b60ff8716021760ff60681b1916600160681b851515021781557f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa3016116918382612e0b565b60405163bf8e179760e01b81526001600160601b03821660048201525f906001600160a01b0384169063bf8e179790602401602060405180830381865afa158015612039573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061205d91906127f5565b9392505050565b6040516305247a1760e51b81526001600160601b03821660048201525f9061205d9084906001600160a01b0382169063a48f42e0906024015f60405180830381865afa1580156120b6573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526120dd9190810190612cf0565b60200151611fec565b611272611a11565b6120f6611a11565b61091881611321565b612107611a11565b61211082612175565b612118612241565b6001600160a01b03811661213f5760405163f17ef42d60e01b815260040160405180910390fd5b5f80516020612ec683398151915280546001600160601b0316600160601b6001600160a01b039093169290920291909117905550565b61217d611a11565b604051633334d16b60e01b81526001600160a01b038216600482015273__$fb599632d08395912d9d70eb2f0f93b5e2$__90633334d16b90602401602060405180830381865af41580156121d3573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906121f79190612853565b61221f5760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610aa5565b600180546001600160a01b0319166001600160a01b0392909216919091179055565b612249611a11565b6301ffc9a760e01b5f9081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b6040805160e0810182525f8082526020820181905291810182905260608082018390526080820183905260a082019290925260c081019190915290565b5f602082840312156122d3575f80fd5b81356001600160e01b03198116811461205d575f80fd5b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081526001600160601b0382511660208201526001600160601b03602083015116604082015260ff60408301511660608201525f6060830151612360608084018215159052565b5060808301516001600160a01b03811660a08401525060a08301516001600160a01b03811660c08401525060c083015160e0808401526117d66101008401826122ea565b634e487b7160e01b5f52604160045260245ffd5b6040516101e081016001600160401b03811182821017156123db576123db6123a4565b60405290565b60405160e081016001600160401b03811182821017156123db576123db6123a4565b604051601f8201601f191681016001600160401b038111828210171561242b5761242b6123a4565b604052919050565b5f6001600160401b0382111561244b5761244b6123a4565b50601f01601f191660200190565b5f82601f830112612468575f80fd5b813561247b61247682612433565b612403565b81815284602083860101111561248f575f80fd5b816020850160208301375f918101602001919091529392505050565b5f602082840312156124bb575f80fd5b81356001600160401b038111156124d0575f80fd5b6117d684828501612459565b6001600160a01b0381168114610918575f80fd5b5f8060408385031215612501575f80fd5b823561250c816124dc565b915060208301356001600160401b03811115612526575f80fd5b61253285828601612459565b9150509250929050565b6001600160601b0381168114610918575f80fd5b5f8060408385031215612561575f80fd5b823561256c8161253c565b9150602083013561257c8161253c565b809150509250929050565b5f60208284031215612597575f80fd5b813561205d8161253c565b6001600160c01b031981168114610918575f80fd5b803564ffffffffff811681146125cb575f80fd5b919050565b5f805f805f805f60e0888a0312156125e6575f80fd5b87356125f18161253c565b96506020880135612601816125a2565b955060408801356126118161253c565b94506060880135612621816125a2565b935060808801356126318161253c565b925061263f60a089016125b7565b915060c08801356001600160401b03811115612659575f80fd5b6126658a828b01612459565b91505092959891949750929550565b5f60208284031215612684575f80fd5b813561205d816124dc565b5f805f805f805f80610100898b0312156126a7575f80fd5b88356126b2816124dc565b975060208901356126c2816125a2565b965060408901356126d28161253c565b955060608901356126e28161253c565b94506126f060808a016125b7565b935060a08901356127008161253c565b925060c0890135612710816125a2565b915060e08901356001600160401b0381111561272a575f80fd5b6127368b828c01612459565b9150509295985092959890939650565b5f60208284031215612756575f80fd5b815162ffffff8116811461205d575f80fd5b80516125cb8161253c565b5f60208284031215612783575f80fd5b815161205d8161253c565b600181811c908216806127a257607f821691505b6020821081036127c057634e487b7160e01b5f52602260045260245ffd5b50919050565b6001600160401b0381168114610918575f80fd5b5f602082840312156127ea575f80fd5b815161205d816127c6565b5f60208284031215612805575f80fd5b815161205d816124dc565b60ff81168114610918575f80fd5b80516125cb81612810565b5f60208284031215612839575f80fd5b815161205d81612810565b805180151581146125cb575f80fd5b5f60208284031215612863575f80fd5b61205d82612844565b80516125cb816124dc565b6001600160601b0383168152604060208201526128a06040820183516001600160601b03169052565b5f60208301516128bb60608401826001600160601b03169052565b5060408301516001600160c01b0319811660808401525060608301516001600160c01b0319811660a08401525060808301516001600160601b03811660c08401525060a08301516001600160601b03811660e08401525060c083015164ffffffffff81166101008401525060e08301516102006101208401526129426102408401826122ea565b9050610100840151603f198483030161014085015261296182826122ea565b91505061012084015161297b61016085018261ffff169052565b5061014084015161ffff8116610180850152506101608401516001600160601b0381166101a0850152506101808401516001600160601b0381166101c0850152506101a084015164ffffffffff81166101e0850152506101c084015164ffffffffff8116610200850152506101e084015164ffffffffff811661022085015250949350505050565b5f8060408385031215612a14575f80fd5b8251612a1f816124dc565b602084015190925061257c816124dc565b5f8060408385031215612a41575f80fd5b612a4a83612844565b9150612a5860208401612844565b90509250929050565b5f82601f830112612a70575f80fd5b81516001600160401b03811115612a8957612a896123a4565b8060051b612a9960208201612403565b91825260208185018101929081019086841115612ab4575f80fd5b6020860192505b83831015612adf578251612ace8161253c565b825260209283019290910190612abb565b9695505050505050565b5f60408284031215612af9575f80fd5b604080519081016001600160401b0381118282101715612b1b57612b1b6123a4565b604052825181526020928301519281019290925250919050565b5f60208284031215612b45575f80fd5b81516001600160401b03811115612b5a575f80fd5b82016102c08185031215612b6c575f80fd5b612b746123b8565b612b7d82612844565b8152612b8b60208301612844565b6020820152612b9c60408301612844565b6040820152612bad6060830161281e565b6060820152612bbe6080830161281e565b6080820152612bcf60a08301612768565b60a0820152612be060c08301612768565b60c082015260e08201516001600160401b03811115612bfd575f80fd5b612c0986828501612a61565b60e083015250612c1d856101008401612ae9565b610100820152612c31856101408401612ae9565b610120820152612c45856101808401612ae9565b610140820152612c59856101c08401612ae9565b610160820152612c6d856102008401612ae9565b610180820152612c81856102408401612ae9565b6101a0820152612c95856102808401612ae9565b6101c0820152949350505050565b5f82601f830112612cb2575f80fd5b8151612cc061247682612433565b818152846020838601011115612cd4575f80fd5b8160208501602083015e5f918101602001919091529392505050565b5f60208284031215612d00575f80fd5b81516001600160401b03811115612d15575f80fd5b820160e08185031215612d26575f80fd5b612d2e6123e1565b612d3782612768565b8152612d4560208301612768565b6020820152612d566040830161281e565b6040820152612d6760608301612844565b6060820152612d786080830161286c565b6080820152612d8960a0830161286c565b60a082015260c08201516001600160401b03811115612da6575f80fd5b612db286828501612ca3565b60c083015250949350505050565b601f821115611b8957805f5260205f20601f840160051c81016020851015612de55750805b601f840160051c820191505b81811015612e04575f8155600101612df1565b5050505050565b81516001600160401b03811115612e2457612e246123a4565b612e3881612e32845461278e565b84612dc0565b6020601f821160018114612e6a575f8315612e535750848201515b5f19600385901b1c1916600184901b178455612e04565b5f84815260208120601f198516915b82811015612e995787850151825560209485019460019092019101612e79565b5084821015612eb657868401515f19600387901b60f8161c191681555b50505050600190811b0190555056fe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a009b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f00f0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00a26469706673582212205cb6a0ed994f8d811f8b3baa12e8e279f968e6bd44493285faefbf4b708bc4d164736f6c634300081a0033",
669
+ "deployedBytecode": "0x608060405234801561000f575f80fd5b506004361061013d575f3560e01c8063644c45e0116100b4578063893d20e811610079578063893d20e8146103005780638fb36037146103085780639a83274114610329578063ada9652e1461033c578063b68d180914610350578063bf7e214f14610357575f80fd5b8063644c45e01461028e5780636c741e78146102ab57806376b707b7146102cb5780637a9e5e4b146102e55780638899278a146102f8575f80fd5b8063329d6e7411610105578063329d6e741461020857806349bb9e4b1461021d578063536ef74b146102305780635ab1bd5314610243578063603ccaad1461026857806362cbbd7b1461027b575f80fd5b806301ffc9a7146101415780630d8e6e2c146101825780630fec111c1461019e578063138461e0146101b35780631eff4b22146101d3575b5f80fd5b61016d61014f3660046122c3565b6001600160e01b0319165f9081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b61018a610374565b60405162ffffff9091168152602001610179565b6101a66103fb565b6040516101799190612318565b6101bb610587565b6040516001600160601b039091168152602001610179565b6101fa7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b604051908152602001610179565b61021b6102163660046124ab565b610591565b005b61021b61022b3660046124f0565b6106db565b6101bb61023e366004612550565b6107d7565b6001546001600160a01b03165b6040516001600160a01b039091168152602001610179565b61021b610276366004612587565b610812565b61021b6102893660046125d0565b61091b565b5f80516020612ec6833981519152546001600160601b03166101bb565b6102b361094f565b6040516001600160401b039091168152602001610179565b6102d36109db565b60405160ff9091168152602001610179565b61021b6102f3366004612674565b610a4f565b6101fa600381565b610250610af0565b610310610c21565b6040516001600160e01b03199091168152602001610179565b6101bb61033736600461268f565b610c56565b6101fa5f80516020612ec683398151915281565b60146102d3565b5f80516020612ee6833981519152546001600160a01b0316610250565b604051632efe011360e01b8152600360048201525f60248201819052604482018190529073__$8eede297b65ed5a56eb3f84d8232ae93f5$__90632efe011390606401602060405180830381865af41580156103d2573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906103f69190612746565b905090565b610403612286565b5f7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e0016040528073__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015610479573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061049d9190612773565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a0016104e5610af0565b6001600160a01b031681526020018260010180546105029061278e565b80601f016020809104026020016040519081016040528092919081815260200182805461052e9061278e565b80156105795780601f1061055057610100808354040283529160200191610579565b820191905f5260205f20905b81548152906001019060200180831161055c57829003601f168201915b505050505081525091505090565b5f6103f630610dea565b73__$8eede297b65ed5a56eb3f84d8232ae93f5$__63a123b37c6105b3610374565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af41580156105f1573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061061591906127da565b5f80516020612f268339815191528054600160401b900460ff1680610647575080546001600160401b03808416911610155b156106655760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b17815561068f83610fe3565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a1505050565b5f80516020612f268339815191528054600160401b810460ff1615906001600160401b03165f8115801561070c5750825b90505f826001600160401b031660011480156107275750303b155b905081158015610735575080155b156107535760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561077d57845460ff60401b1916600160401b1785555b6107878787610feb565b83156107ce57845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a15b50505050505050565b5f6107e0611184565b6107eb8360156111bb565b6107f682601f6111bb565b61080c60015f80516020612f0683398151915255565b92915050565b61081a611184565b6108258160156111bb565b5f610830600c611285565b92505050806001600160a01b031663d4cda0d86040518163ffffffff1660e01b8152600401602060405180830381865afa158015610870573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061089491906127f5565b6001600160a01b0316630fad0eb18360146040516001600160e01b031960e085901b1681526001600160601b03909216600483015260ff1660248201526044015f604051808303815f87803b1580156108eb575f80fd5b505af11580156108fd573d5f803e3d5ffd5b505050505061091860015f80516020612f0683398151915255565b50565b610923611184565b61092e8760156111bb565b61093985601f6111bb565b6107ce60015f80516020612f0683398151915255565b5f73__$1d92393fa9ccd763988368ce8a1cb90d26$__63dda777d360146109746109db565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865af41580156109b7573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906103f691906127da565b604051632392b61b60e21b8152600360048201525f9073__$b659da7d8a6d2d32aa6c1e17da23dc2174$__90638e4ad86c90602401602060405180830381865af4158015610a2b573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906103f69190612829565b33610a6e5f80516020612ee6833981519152546001600160a01b031690565b6001600160a01b0316816001600160a01b031614610aae5760405162d1953b60e31b81526001600160a01b03821660048201526024015b60405180910390fd5b816001600160a01b03163b5f03610ae3576040516361798f2f60e11b81526001600160a01b0383166004820152602401610aa5565b610aec82611321565b5050565b5f805f80516020612ec683398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015610b5c573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b809190612853565b15610c0b576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015610be1573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610c0591906127f5565b91505090565b54600160601b90046001600160a01b0316919050565b5f80516020612ee683398151915280545f9190600160a01b900460ff16610c48575f610c05565b638fb3603760e01b91505090565b5f610c5f611184565b610c6a84601f6111bb565b5f80610c76600c611285565b92505091505f816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015610cb8573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610cdc91906127f5565b9050610ceb81848d898b611381565b610cf5838d61169b565b93505f610d08848d8d8d8d8d8d8d6117de565b9050826001600160a01b031663d4cda0d86040518163ffffffff1660e01b8152600401602060405180830381865afa158015610d46573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610d6a91906127f5565b6001600160a01b0316636fac862286836040518363ffffffff1660e01b8152600401610d97929190612877565b5f604051808303815f87803b158015610dae575f80fd5b505af1158015610dc0573d5f803e3d5ffd5b5050505050505050610dde60015f80516020612f0683398151915255565b98975050505050505050565b5f805f80516020612ec683398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015610e56573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610e7a9190612853565b15610ea65780546040516301ab8b6760e21b81526001600160601b039091166004820152602401610aa5565b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038581166004830152919091169063c3c5a54790602401602060405180830381865afa158015610ef8573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610f1c9190612853565b610f445760405163b9304b0d60e01b81526001600160a01b0384166004820152602401610aa5565b6001546001600160a01b0316604051632f2a35f760e11b81526001600160a01b0385811660048301529190911690635e546bee90602401602060405180830381865afa158015610f96573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610fba9190612773565b81546bffffffffffffffffffffffff19166001600160601b039190911690811790915592915050565b61013d611a11565b5f80516020612f268339815191528054600160401b810460ff1615906001600160401b03165f8115801561101c5750825b90505f826001600160401b031660011480156110375750303b155b905081158015611045575080155b156110635760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561108d57845460ff60401b1916600160401b1785555b5f80878060200190518101906110a39190612a03565b915091506110b282828b611a49565b6110bc600e611b8e565b600280546001600160a01b0319166001600160a01b03929092169190911790556110e6601a611b8e565b600380546001600160a01b0319166001600160a01b03929092169190911790556111106002611b8e565b600480546001600160a01b0319166001600160a01b03929092169190911790556111406332c6a9f760e21b611c1f565b505083156107ce57845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020016107c5565b5f80516020612f068339815191528054600119016111b557604051633ee5aeb560e01b815260040160405180910390fd5b60029055565b6001546001600160a01b0316604051635b12715d60e11b81526001600160601b038416600482015260ff831660248201526001600160a01b03919091169063b624e2ba90604401602060405180830381865afa15801561121d573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906112419190612853565b610aec5760405163d711af7560e01b81526001600160601b038316600482015260ff82166024820152604401610aa5565b60015f80516020612f0683398151915255565b5f61128e612286565b5f6112a16001546001600160a01b031690565b604051632f2a35f760e11b81523360048201526001600160a01b039190911690635e546bee90602401602060405180830381865afa1580156112e5573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906113099190612773565b925061131783856001611c4b565b9395909450915050565b5f80516020612ee683398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b5f80866001600160a01b0316630e0c586d6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156113bf573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906113e391906127f5565b60405163c1b5cfb760e01b81526001600160601b03881660048201526001600160c01b0319871660248201526001600160a01b03919091169063c1b5cfb7906044016040805180830381865afa15801561143f573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906114639190612a30565b91509150816114a0576040516335f00fb960e21b81526001600160c01b0319861660048201526001600160601b0387166024820152604401610aa5565b806114d95760405163b84c2cc960e01b81526001600160c01b0319861660048201526001600160601b0387166024820152604401610aa5565b6040516302d764c760e21b81526001600160601b03871660048201525f906001600160a01b03891690630b5d931c906024015f60405180830381865afa158015611525573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f1916820160405261154c9190810190612b35565b60a001519050876001600160a01b0316636dddada46040518163ffffffff1660e01b8152600401602060405180830381865afa15801561158e573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906115b291906127f5565b60405163bdb996ff60e01b81526001600160601b038084166004830152861660248201526001600160a01b03919091169063bdb996ff906044016040805180830381865afa158015611606573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061162a9190612a30565b909350915082611660576040516339bffb5f60e21b81526001600160601b03808616600483015282166024820152604401610aa5565b816116915760405163a44d71a560e01b81526001600160601b03808616600483015282166024820152604401610aa5565b5050505050505050565b5f806040518060e0016040528073__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af41580156116ef573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906117139190612773565b6001600160601b03168152602001856001600160601b03168152602001611738601590565b60ff1681525f602080830182905260408084018390526001600160a01b03888116606086015281519283018252928252608090930152600480549251635c992fed60e01b8152939450911691635c992fed9161179691859101612318565b6020604051808303815f875af11580156117b2573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906117d69190612773565b949350505050565b60408051610200810182525f8082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820183905260e0820181905261010082015261012081018290526101408101829052610160810182905261018081018290526101a081018290526101c081018290526101e08101919091526040518061020001604052808a6001600160601b03168152602001856001600160601b03168152602001846001600160c01b0319168152602001896001600160c01b0319168152602001886001600160601b03168152602001876001600160601b031681526020018664ffffffffff16815260200183815260200160405180602001604052805f81525081526020015f61ffff1681526020015f61ffff16815260200173__$3bac17678db7ae928afa209f2f44deec9c$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015611947573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061196b9190612773565b6001600160601b0316815260200173__$3bac17678db7ae928afa209f2f44deec9c$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af41580156119c0573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906119e49190612773565b6001600160601b031681525f60208201819052604082018190526060909101529998505050505050505050565b5f80516020612f2683398151915254600160401b900460ff16611a4757604051631afcd79f60e31b815260040160405180910390fd5b565b611a51611a11565b611a59611f30565b6001600160a01b03821615611a7657611a7182611f40565b611aed565b5f611a816002611b8e565b9050611aeb816001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611ac2573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611ae691906127f5565b611f40565b505b611b6983846001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa158015611b2d573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611b519190612773565b60085f8560405180602001604052805f815250611f51565b611b79634a531f3360e01b611c1f565b611b8963daf9067160e01b611c1f565b505050565b5f611ba16001546001600160a01b031690565b6001600160a01b031663d39e604383611bb86109db565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa158015611bfb573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061080c91906127f5565b611c27611a11565b6001600160e01b0319165f908152602081905260409020805460ff19166001179055565b611c53612286565b5f80611c676001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03881660048201529091506001600160a01b0382169063a48f42e0906024015f60405180830381865afa158015611cb4573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052611cdb9190810190612cf0565b925060ff8516600b14611d3957604083015160ff868116911614611d3457604080840151905163b83d92cb60e01b81526001600160601b038816600482015260ff80881660248301529091166044820152606401610aa5565b611dd5565b611d548360400151611d49600c90565b60ff90811691161490565b80611d6a5750611d6a8360400151611d49600f90565b80611d805750611d808360400151611d49600e90565b80611d965750611d968360400151611d49600d90565b611dd557604080840151905163b83d92cb60e01b81526001600160601b038816600482015260ff80881660248301529091166044820152606401610aa5565b611de58360400151611d49600390565b15611df05750611f28565b611e008360400151611d49600c90565b15611e1a57611e13818460200151611fec565b9150611e2b565b611e28818460200151612064565b91505b8315611f2657816001600160a01b031663311adb686040518163ffffffff1660e01b8152600401602060405180830381865afa158015611e6d573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611e9191906127f5565b6080840151604051629b7b3560e61b81526001600160a01b0391821660048201529116906326decd4090602401602060405180830381865afa158015611ed9573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611efd9190612853565b15611f2657604051637d71120960e11b81526001600160601b0387166004820152602401610aa5565b505b935093915050565b611f38611a11565b611a476120e6565b611f48611a11565b610918816120ee565b611f59611a11565b611f6386836120ff565b7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0387166cffffffffffffffffffffffffff1990911617600160601b60ff8716021760ff60681b1916600160681b851515021781557f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa3016116918382612e0b565b60405163bf8e179760e01b81526001600160601b03821660048201525f906001600160a01b0384169063bf8e179790602401602060405180830381865afa158015612039573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061205d91906127f5565b9392505050565b6040516305247a1760e51b81526001600160601b03821660048201525f9061205d9084906001600160a01b0382169063a48f42e0906024015f60405180830381865afa1580156120b6573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526120dd9190810190612cf0565b60200151611fec565b611272611a11565b6120f6611a11565b61091881611321565b612107611a11565b61211082612175565b612118612241565b6001600160a01b03811661213f5760405163f17ef42d60e01b815260040160405180910390fd5b5f80516020612ec683398151915280546001600160601b0316600160601b6001600160a01b039093169290920291909117905550565b61217d611a11565b604051633334d16b60e01b81526001600160a01b038216600482015273__$fb599632d08395912d9d70eb2f0f93b5e2$__90633334d16b90602401602060405180830381865af41580156121d3573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906121f79190612853565b61221f5760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610aa5565b600180546001600160a01b0319166001600160a01b0392909216919091179055565b612249611a11565b6301ffc9a760e01b5f9081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b6040805160e0810182525f8082526020820181905291810182905260608082018390526080820183905260a082019290925260c081019190915290565b5f602082840312156122d3575f80fd5b81356001600160e01b03198116811461205d575f80fd5b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081526001600160601b0382511660208201526001600160601b03602083015116604082015260ff60408301511660608201525f6060830151612360608084018215159052565b5060808301516001600160a01b03811660a08401525060a08301516001600160a01b03811660c08401525060c083015160e0808401526117d66101008401826122ea565b634e487b7160e01b5f52604160045260245ffd5b6040516101e081016001600160401b03811182821017156123db576123db6123a4565b60405290565b60405160e081016001600160401b03811182821017156123db576123db6123a4565b604051601f8201601f191681016001600160401b038111828210171561242b5761242b6123a4565b604052919050565b5f6001600160401b0382111561244b5761244b6123a4565b50601f01601f191660200190565b5f82601f830112612468575f80fd5b813561247b61247682612433565b612403565b81815284602083860101111561248f575f80fd5b816020850160208301375f918101602001919091529392505050565b5f602082840312156124bb575f80fd5b81356001600160401b038111156124d0575f80fd5b6117d684828501612459565b6001600160a01b0381168114610918575f80fd5b5f8060408385031215612501575f80fd5b823561250c816124dc565b915060208301356001600160401b03811115612526575f80fd5b61253285828601612459565b9150509250929050565b6001600160601b0381168114610918575f80fd5b5f8060408385031215612561575f80fd5b823561256c8161253c565b9150602083013561257c8161253c565b809150509250929050565b5f60208284031215612597575f80fd5b813561205d8161253c565b6001600160c01b031981168114610918575f80fd5b803564ffffffffff811681146125cb575f80fd5b919050565b5f805f805f805f60e0888a0312156125e6575f80fd5b87356125f18161253c565b96506020880135612601816125a2565b955060408801356126118161253c565b94506060880135612621816125a2565b935060808801356126318161253c565b925061263f60a089016125b7565b915060c08801356001600160401b03811115612659575f80fd5b6126658a828b01612459565b91505092959891949750929550565b5f60208284031215612684575f80fd5b813561205d816124dc565b5f805f805f805f80610100898b0312156126a7575f80fd5b88356126b2816124dc565b975060208901356126c2816125a2565b965060408901356126d28161253c565b955060608901356126e28161253c565b94506126f060808a016125b7565b935060a08901356127008161253c565b925060c0890135612710816125a2565b915060e08901356001600160401b0381111561272a575f80fd5b6127368b828c01612459565b9150509295985092959890939650565b5f60208284031215612756575f80fd5b815162ffffff8116811461205d575f80fd5b80516125cb8161253c565b5f60208284031215612783575f80fd5b815161205d8161253c565b600181811c908216806127a257607f821691505b6020821081036127c057634e487b7160e01b5f52602260045260245ffd5b50919050565b6001600160401b0381168114610918575f80fd5b5f602082840312156127ea575f80fd5b815161205d816127c6565b5f60208284031215612805575f80fd5b815161205d816124dc565b60ff81168114610918575f80fd5b80516125cb81612810565b5f60208284031215612839575f80fd5b815161205d81612810565b805180151581146125cb575f80fd5b5f60208284031215612863575f80fd5b61205d82612844565b80516125cb816124dc565b6001600160601b0383168152604060208201526128a06040820183516001600160601b03169052565b5f60208301516128bb60608401826001600160601b03169052565b5060408301516001600160c01b0319811660808401525060608301516001600160c01b0319811660a08401525060808301516001600160601b03811660c08401525060a08301516001600160601b03811660e08401525060c083015164ffffffffff81166101008401525060e08301516102006101208401526129426102408401826122ea565b9050610100840151603f198483030161014085015261296182826122ea565b91505061012084015161297b61016085018261ffff169052565b5061014084015161ffff8116610180850152506101608401516001600160601b0381166101a0850152506101808401516001600160601b0381166101c0850152506101a084015164ffffffffff81166101e0850152506101c084015164ffffffffff8116610200850152506101e084015164ffffffffff811661022085015250949350505050565b5f8060408385031215612a14575f80fd5b8251612a1f816124dc565b602084015190925061257c816124dc565b5f8060408385031215612a41575f80fd5b612a4a83612844565b9150612a5860208401612844565b90509250929050565b5f82601f830112612a70575f80fd5b81516001600160401b03811115612a8957612a896123a4565b8060051b612a9960208201612403565b91825260208185018101929081019086841115612ab4575f80fd5b6020860192505b83831015612adf578251612ace8161253c565b825260209283019290910190612abb565b9695505050505050565b5f60408284031215612af9575f80fd5b604080519081016001600160401b0381118282101715612b1b57612b1b6123a4565b604052825181526020928301519281019290925250919050565b5f60208284031215612b45575f80fd5b81516001600160401b03811115612b5a575f80fd5b82016102c08185031215612b6c575f80fd5b612b746123b8565b612b7d82612844565b8152612b8b60208301612844565b6020820152612b9c60408301612844565b6040820152612bad6060830161281e565b6060820152612bbe6080830161281e565b6080820152612bcf60a08301612768565b60a0820152612be060c08301612768565b60c082015260e08201516001600160401b03811115612bfd575f80fd5b612c0986828501612a61565b60e083015250612c1d856101008401612ae9565b610100820152612c31856101408401612ae9565b610120820152612c45856101808401612ae9565b610140820152612c59856101c08401612ae9565b610160820152612c6d856102008401612ae9565b610180820152612c81856102408401612ae9565b6101a0820152612c95856102808401612ae9565b6101c0820152949350505050565b5f82601f830112612cb2575f80fd5b8151612cc061247682612433565b818152846020838601011115612cd4575f80fd5b8160208501602083015e5f918101602001919091529392505050565b5f60208284031215612d00575f80fd5b81516001600160401b03811115612d15575f80fd5b820160e08185031215612d26575f80fd5b612d2e6123e1565b612d3782612768565b8152612d4560208301612768565b6020820152612d566040830161281e565b6040820152612d6760608301612844565b6060820152612d786080830161286c565b6080820152612d8960a0830161286c565b60a082015260c08201516001600160401b03811115612da6575f80fd5b612db286828501612ca3565b60c083015250949350505050565b601f821115611b8957805f5260205f20601f840160051c81016020851015612de55750805b601f840160051c820191505b81811015612e04575f8155600101612df1565b5050505050565b81516001600160401b03811115612e2457612e246123a4565b612e3881612e32845461278e565b84612dc0565b6020601f821160018114612e6a575f8315612e535750848201515b5f19600385901b1c1916600184901b178455612e04565b5f84815260208120601f198516915b82811015612e995787850151825560209485019460019092019101612e79565b5084821015612eb657868401515f19600387901b60f8161c191681555b50505050600190811b0190555056fe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a009b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f00f0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00a26469706673582212205cb6a0ed994f8d811f8b3baa12e8e279f968e6bd44493285faefbf4b708bc4d164736f6c634300081a0033",
684
670
  "linkReferences": {
685
- "contracts/type/Amount.sol": {
686
- "AmountLib": [
687
- {
688
- "length": 20,
689
- "start": 4981
690
- },
671
+ "contracts/shared/ContractLib.sol": {
672
+ "ContractLib": [
691
673
  {
692
674
  "length": 20,
693
- "start": 5104
694
- },
695
- {
696
- "length": 20,
697
- "start": 5289
698
- },
675
+ "start": 8817
676
+ }
677
+ ]
678
+ },
679
+ "contracts/type/Amount.sol": {
680
+ "AmountLib": [
699
681
  {
700
682
  "length": 20,
701
- "start": 5412
683
+ "start": 6616
702
684
  },
703
685
  {
704
686
  "length": 20,
705
- "start": 7628
687
+ "start": 6737
706
688
  }
707
689
  ]
708
690
  },
@@ -710,67 +692,67 @@
710
692
  "NftIdLib": [
711
693
  {
712
694
  "length": 20,
713
- "start": 1421
695
+ "start": 1290
714
696
  },
715
697
  {
716
698
  "length": 20,
717
- "start": 1817
699
+ "start": 3066
718
700
  },
719
701
  {
720
702
  "length": 20,
721
- "start": 3860
703
+ "start": 3828
722
704
  },
723
705
  {
724
706
  "length": 20,
725
- "start": 7260
707
+ "start": 6016
726
708
  }
727
709
  ]
728
710
  },
729
- "contracts/type/Version.sol": {
730
- "VersionLib": [
711
+ "contracts/type/RoleId.sol": {
712
+ "RoleIdLib": [
731
713
  {
732
714
  "length": 20,
733
- "start": 1264
734
- },
715
+ "start": 2600
716
+ }
717
+ ]
718
+ },
719
+ "contracts/type/Version.sol": {
720
+ "VersionLib": [
735
721
  {
736
722
  "length": 20,
737
- "start": 2495
723
+ "start": 1136
738
724
  },
739
725
  {
740
726
  "length": 20,
741
- "start": 7935
727
+ "start": 1641
742
728
  }
743
729
  ],
744
730
  "VersionPartLib": [
745
731
  {
746
732
  "length": 20,
747
- "start": 4340
733
+ "start": 2761
748
734
  }
749
735
  ]
750
736
  }
751
737
  },
752
738
  "deployedLinkReferences": {
753
- "contracts/type/Amount.sol": {
754
- "AmountLib": [
739
+ "contracts/shared/ContractLib.sol": {
740
+ "ContractLib": [
755
741
  {
756
742
  "length": 20,
757
- "start": 4751
758
- },
759
- {
760
- "length": 20,
761
- "start": 4874
762
- },
763
- {
764
- "length": 20,
765
- "start": 5059
766
- },
743
+ "start": 8603
744
+ }
745
+ ]
746
+ },
747
+ "contracts/type/Amount.sol": {
748
+ "AmountLib": [
767
749
  {
768
750
  "length": 20,
769
- "start": 5182
751
+ "start": 6402
770
752
  },
771
753
  {
772
754
  "length": 20,
773
- "start": 7398
755
+ "start": 6523
774
756
  }
775
757
  ]
776
758
  },
@@ -778,41 +760,45 @@
778
760
  "NftIdLib": [
779
761
  {
780
762
  "length": 20,
781
- "start": 1191
763
+ "start": 1076
782
764
  },
783
765
  {
784
766
  "length": 20,
785
- "start": 1587
767
+ "start": 2852
786
768
  },
787
769
  {
788
770
  "length": 20,
789
- "start": 3630
771
+ "start": 3614
790
772
  },
791
773
  {
792
774
  "length": 20,
793
- "start": 7030
775
+ "start": 5802
794
776
  }
795
777
  ]
796
778
  },
797
- "contracts/type/Version.sol": {
798
- "VersionLib": [
779
+ "contracts/type/RoleId.sol": {
780
+ "RoleIdLib": [
799
781
  {
800
782
  "length": 20,
801
- "start": 1034
802
- },
783
+ "start": 2386
784
+ }
785
+ ]
786
+ },
787
+ "contracts/type/Version.sol": {
788
+ "VersionLib": [
803
789
  {
804
790
  "length": 20,
805
- "start": 2265
791
+ "start": 922
806
792
  },
807
793
  {
808
794
  "length": 20,
809
- "start": 7705
795
+ "start": 1427
810
796
  }
811
797
  ],
812
798
  "VersionPartLib": [
813
799
  {
814
800
  "length": 20,
815
- "start": 4110
801
+ "start": 2547
816
802
  }
817
803
  ]
818
804
  }