@etherisc/gif-next 0.0.2-eadf4ad-726 → 0.0.2-eae5e95-691

Sign up to get free protection for your applications and to get access to all the features.
Files changed (527) hide show
  1. package/README.md +51 -5
  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/AccessManagerCloneable.sol/AccessManagerCloneable.dbg.json +4 -0
  5. package/artifacts/contracts/authorization/AccessManagerCloneable.sol/AccessManagerCloneable.json +1206 -0
  6. package/artifacts/contracts/authorization/Authorization.sol/Authorization.dbg.json +4 -0
  7. package/artifacts/contracts/authorization/Authorization.sol/Authorization.json +414 -0
  8. package/artifacts/contracts/authorization/IAccess.sol/IAccess.dbg.json +4 -0
  9. package/artifacts/contracts/{instance/module/ISetup.sol/ISetup.json → authorization/IAccess.sol/IAccess.json} +2 -2
  10. package/artifacts/contracts/authorization/IAccessAdmin.sol/IAccessAdmin.dbg.json +4 -0
  11. package/artifacts/contracts/authorization/IAccessAdmin.sol/IAccessAdmin.json +1060 -0
  12. package/artifacts/contracts/authorization/IAuthorization.sol/IAuthorization.dbg.json +4 -0
  13. package/artifacts/contracts/authorization/IAuthorization.sol/IAuthorization.json +295 -0
  14. package/artifacts/contracts/authorization/IServiceAuthorization.sol/IServiceAuthorization.dbg.json +4 -0
  15. package/artifacts/contracts/authorization/IServiceAuthorization.sol/IServiceAuthorization.json +167 -0
  16. package/artifacts/contracts/authorization/ReleaseAccessManager.sol/ReleaseAccessManager.dbg.json +4 -0
  17. package/artifacts/contracts/authorization/ReleaseAccessManager.sol/ReleaseAccessManager.json +1196 -0
  18. package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.dbg.json +4 -0
  19. package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.json +253 -0
  20. package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.dbg.json +4 -0
  21. package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.json +1415 -0
  22. package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.dbg.json +4 -0
  23. package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.json +470 -0
  24. package/artifacts/contracts/distribution/Distribution.sol/Distribution.dbg.json +1 -1
  25. package/artifacts/contracts/distribution/Distribution.sol/Distribution.json +230 -545
  26. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.dbg.json +1 -1
  27. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.json +315 -432
  28. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +1 -1
  29. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.json +120 -109
  30. package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.dbg.json +1 -1
  31. package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.json +214 -290
  32. package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.dbg.json +1 -1
  33. package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.json +215 -94
  34. package/artifacts/contracts/examples/fire/DamageLevel.sol/DamageLevelLib.dbg.json +4 -0
  35. package/artifacts/contracts/examples/fire/DamageLevel.sol/DamageLevelLib.json +22 -0
  36. package/artifacts/contracts/examples/fire/FirePool.sol/FirePool.dbg.json +4 -0
  37. package/artifacts/contracts/examples/fire/FirePool.sol/FirePool.json +1551 -0
  38. package/artifacts/contracts/examples/fire/FirePoolAuthorization.sol/FirePoolAuthorization.dbg.json +4 -0
  39. package/artifacts/contracts/examples/fire/FirePoolAuthorization.sol/FirePoolAuthorization.json +470 -0
  40. package/artifacts/contracts/examples/fire/FireProduct.sol/FireProduct.dbg.json +4 -0
  41. package/artifacts/contracts/examples/fire/FireProduct.sol/FireProduct.json +2090 -0
  42. package/artifacts/contracts/examples/fire/FireProductAuthorization.sol/FireProductAuthorization.dbg.json +4 -0
  43. package/artifacts/contracts/examples/fire/FireProductAuthorization.sol/FireProductAuthorization.json +470 -0
  44. package/artifacts/contracts/examples/fire/FireUSD.sol/FireUSD.dbg.json +4 -0
  45. package/artifacts/contracts/examples/fire/FireUSD.sol/FireUSD.json +376 -0
  46. package/artifacts/contracts/examples/unpermissioned/SimpleDistribution.sol/SimpleDistribution.dbg.json +4 -0
  47. package/artifacts/contracts/examples/unpermissioned/SimpleDistribution.sol/SimpleDistribution.json +1484 -0
  48. package/artifacts/contracts/examples/unpermissioned/SimpleOracle.sol/SimpleOracle.dbg.json +4 -0
  49. package/artifacts/contracts/examples/unpermissioned/SimpleOracle.sol/SimpleOracle.json +1244 -0
  50. package/artifacts/contracts/examples/unpermissioned/SimplePool.sol/SimplePool.dbg.json +4 -0
  51. package/artifacts/contracts/examples/unpermissioned/SimplePool.sol/SimplePool.json +1605 -0
  52. package/artifacts/contracts/examples/unpermissioned/SimpleProduct.sol/SimpleProduct.dbg.json +4 -0
  53. package/artifacts/contracts/examples/unpermissioned/SimpleProduct.sol/SimpleProduct.json +2108 -0
  54. package/artifacts/contracts/instance/BundleSet.sol/BundleSet.dbg.json +4 -0
  55. package/artifacts/contracts/instance/BundleSet.sol/BundleSet.json +703 -0
  56. package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
  57. package/artifacts/contracts/instance/IInstance.sol/IInstance.json +113 -97
  58. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +1 -1
  59. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +171 -85
  60. package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
  61. package/artifacts/contracts/instance/Instance.sol/Instance.json +120 -207
  62. package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.dbg.json +4 -0
  63. package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.json +1653 -0
  64. package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.dbg.json +4 -0
  65. package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.json +561 -0
  66. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +1 -1
  67. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +850 -366
  68. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +1 -1
  69. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +245 -229
  70. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +1 -1
  71. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +106 -79
  72. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.dbg.json +1 -1
  73. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.json +1212 -381
  74. package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.dbg.json +4 -0
  75. package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.json +318 -0
  76. package/artifacts/contracts/instance/base/Cloneable.sol/Cloneable.dbg.json +1 -1
  77. package/artifacts/contracts/instance/base/Cloneable.sol/Cloneable.json +0 -53
  78. package/artifacts/contracts/instance/base/ObjectCounter.sol/ObjectCounter.dbg.json +4 -0
  79. package/artifacts/contracts/instance/base/ObjectCounter.sol/ObjectCounter.json +10 -0
  80. package/artifacts/contracts/instance/base/ObjectLifecycle.sol/ObjectLifecycle.dbg.json +4 -0
  81. package/artifacts/contracts/instance/base/ObjectLifecycle.sol/ObjectLifecycle.json +223 -0
  82. package/artifacts/contracts/instance/base/ObjectSet.sol/ObjectSet.dbg.json +4 -0
  83. package/artifacts/contracts/instance/base/ObjectSet.sol/ObjectSet.json +181 -0
  84. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.dbg.json +1 -1
  85. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.json +8 -116
  86. package/artifacts/contracts/instance/module/IBundle.sol/IBundle.dbg.json +1 -1
  87. package/artifacts/contracts/instance/module/IComponents.sol/IComponents.dbg.json +1 -1
  88. package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.dbg.json +1 -1
  89. package/artifacts/contracts/instance/module/IPolicy.sol/IPolicy.dbg.json +1 -1
  90. package/artifacts/contracts/instance/module/IRisk.sol/IRisk.dbg.json +1 -1
  91. package/artifacts/contracts/mock/Dip.sol/Dip.dbg.json +4 -0
  92. package/artifacts/contracts/mock/Dip.sol/Dip.json +376 -0
  93. package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.dbg.json +4 -0
  94. package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.json +1052 -0
  95. package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.dbg.json +4 -0
  96. package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.json +478 -0
  97. package/artifacts/contracts/oracle/IOracle.sol/IOracle.dbg.json +4 -0
  98. package/artifacts/contracts/oracle/IOracle.sol/IOracle.json +52 -0
  99. package/artifacts/contracts/oracle/IOracleComponent.sol/IOracleComponent.dbg.json +4 -0
  100. package/artifacts/contracts/oracle/IOracleComponent.sol/IOracleComponent.json +783 -0
  101. package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.dbg.json +4 -0
  102. package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.json +709 -0
  103. package/artifacts/contracts/oracle/Oracle.sol/Oracle.dbg.json +4 -0
  104. package/artifacts/contracts/oracle/Oracle.sol/Oracle.json +920 -0
  105. package/artifacts/contracts/oracle/OracleService.sol/OracleService.dbg.json +4 -0
  106. package/artifacts/contracts/oracle/OracleService.sol/OracleService.json +966 -0
  107. package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.dbg.json +4 -0
  108. package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.json +722 -0
  109. package/artifacts/contracts/pool/BasicPool.sol/BasicPool.dbg.json +4 -0
  110. package/artifacts/contracts/pool/BasicPool.sol/BasicPool.json +1312 -0
  111. package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.dbg.json +4 -0
  112. package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.json +470 -0
  113. package/artifacts/contracts/pool/BundleService.sol/BundleService.dbg.json +1 -1
  114. package/artifacts/contracts/pool/BundleService.sol/BundleService.json +494 -317
  115. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.dbg.json +1 -1
  116. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.json +186 -87
  117. package/artifacts/contracts/pool/IBundleService.sol/IBundleService.dbg.json +1 -1
  118. package/artifacts/contracts/pool/IBundleService.sol/IBundleService.json +256 -31
  119. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.dbg.json +1 -1
  120. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.json +235 -375
  121. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.dbg.json +1 -1
  122. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.json +460 -254
  123. package/artifacts/contracts/pool/Pool.sol/Pool.dbg.json +1 -1
  124. package/artifacts/contracts/pool/Pool.sol/Pool.json +269 -565
  125. package/artifacts/contracts/pool/PoolService.sol/PoolService.dbg.json +1 -1
  126. package/artifacts/contracts/pool/PoolService.sol/PoolService.json +572 -569
  127. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.dbg.json +1 -1
  128. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.json +112 -93
  129. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.dbg.json +1 -1
  130. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.json +117 -264
  131. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +1 -1
  132. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.json +99 -76
  133. package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.dbg.json +4 -0
  134. package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.json +1186 -0
  135. package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.dbg.json +4 -0
  136. package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.json +470 -0
  137. package/artifacts/contracts/product/ClaimService.sol/ClaimService.dbg.json +1 -1
  138. package/artifacts/contracts/product/ClaimService.sol/ClaimService.json +329 -284
  139. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +1 -1
  140. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.json +141 -90
  141. package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.dbg.json +1 -1
  142. package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.json +54 -1
  143. package/artifacts/contracts/product/IClaimService.sol/IClaimService.dbg.json +1 -1
  144. package/artifacts/contracts/product/IClaimService.sol/IClaimService.json +196 -7
  145. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.dbg.json +1 -1
  146. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.json +354 -80
  147. package/artifacts/contracts/product/IPricingService.sol/IPricingService.dbg.json +1 -1
  148. package/artifacts/contracts/product/IPricingService.sol/IPricingService.json +154 -86
  149. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.dbg.json +1 -1
  150. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.json +355 -209
  151. package/artifacts/contracts/product/IRiskService.sol/IRiskService.dbg.json +4 -0
  152. package/artifacts/contracts/product/{IProductService.sol/IProductService.json → IRiskService.sol/IRiskService.json} +44 -57
  153. package/artifacts/contracts/product/PolicyService.sol/PolicyService.dbg.json +1 -1
  154. package/artifacts/contracts/product/PolicyService.sol/PolicyService.json +418 -397
  155. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +1 -1
  156. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.json +124 -121
  157. package/artifacts/contracts/product/PricingService.sol/PricingService.dbg.json +1 -1
  158. package/artifacts/contracts/product/PricingService.sol/PricingService.json +233 -330
  159. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.dbg.json +1 -1
  160. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.json +128 -93
  161. package/artifacts/contracts/product/Product.sol/Product.dbg.json +1 -1
  162. package/artifacts/contracts/product/Product.sol/Product.json +377 -431
  163. package/artifacts/contracts/product/RiskService.sol/RiskService.dbg.json +4 -0
  164. package/artifacts/contracts/product/RiskService.sol/RiskService.json +622 -0
  165. package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.dbg.json +4 -0
  166. package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.json +694 -0
  167. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
  168. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +59 -16
  169. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
  170. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +391 -45
  171. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +1 -1
  172. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +123 -64
  173. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +1 -1
  174. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.json +0 -18
  175. package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
  176. package/artifacts/contracts/registry/Registry.sol/Registry.json +789 -60
  177. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.dbg.json +4 -0
  178. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.json +1886 -0
  179. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +1 -1
  180. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +179 -185
  181. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +1 -1
  182. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +86 -74
  183. package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.dbg.json +4 -0
  184. package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.json +205 -0
  185. package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.dbg.json +4 -0
  186. package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.json +1067 -0
  187. package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.dbg.json +4 -0
  188. package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.json +272 -0
  189. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +1 -1
  190. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +314 -138
  191. package/artifacts/contracts/shared/Component.sol/Component.dbg.json +1 -1
  192. package/artifacts/contracts/shared/Component.sol/Component.json +136 -271
  193. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.dbg.json +1 -1
  194. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.json +1335 -198
  195. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.dbg.json +4 -0
  196. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.json +814 -0
  197. package/artifacts/contracts/shared/ComponentVerifyingService.sol/ComponentVerifyingService.dbg.json +4 -0
  198. package/artifacts/contracts/shared/ComponentVerifyingService.sol/ComponentVerifyingService.json +474 -0
  199. package/artifacts/contracts/shared/ContractLib.sol/ContractLib.dbg.json +4 -0
  200. package/artifacts/contracts/shared/ContractLib.sol/ContractLib.json +92 -0
  201. package/artifacts/contracts/shared/IComponent.sol/IComponent.dbg.json +1 -1
  202. package/artifacts/contracts/shared/IComponent.sol/IComponent.json +105 -114
  203. package/artifacts/contracts/shared/IComponentService.sol/IComponentService.dbg.json +4 -0
  204. package/artifacts/contracts/shared/IComponentService.sol/IComponentService.json +1335 -0
  205. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.dbg.json +4 -0
  206. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.json +718 -0
  207. package/artifacts/contracts/shared/IKeyValueStore.sol/IKeyValueStore.dbg.json +4 -0
  208. package/artifacts/contracts/{instance/base → shared}/IKeyValueStore.sol/IKeyValueStore.json +46 -14
  209. package/artifacts/contracts/shared/ILifecycle.sol/ILifecycle.dbg.json +4 -0
  210. package/artifacts/contracts/{instance/base → shared}/ILifecycle.sol/ILifecycle.json +35 -4
  211. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +1 -1
  212. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.json +23 -1
  213. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.dbg.json +1 -1
  214. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.json +16 -30
  215. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
  216. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +36 -1
  217. package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.dbg.json +1 -1
  218. package/artifacts/contracts/shared/IService.sol/IService.dbg.json +1 -1
  219. package/artifacts/contracts/shared/IService.sol/IService.json +49 -1
  220. package/artifacts/contracts/shared/InitializableERC165.sol/InitializableERC165.dbg.json +4 -0
  221. package/artifacts/contracts/shared/InitializableERC165.sol/InitializableERC165.json +53 -0
  222. package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.dbg.json +4 -0
  223. package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.json +842 -0
  224. package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.dbg.json +4 -0
  225. package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.json +538 -0
  226. package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.dbg.json +4 -0
  227. package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.json +174 -0
  228. package/artifacts/contracts/shared/NftIdSet.sol/NftIdSet.dbg.json +4 -0
  229. package/artifacts/contracts/shared/NftIdSet.sol/NftIdSet.json +306 -0
  230. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +1 -1
  231. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +26 -55
  232. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.dbg.json +1 -1
  233. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.json +20 -124
  234. package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
  235. package/artifacts/contracts/shared/Registerable.sol/Registerable.json +68 -85
  236. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.dbg.json +1 -1
  237. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.json +2 -15
  238. package/artifacts/contracts/shared/Service.sol/Service.dbg.json +1 -1
  239. package/artifacts/contracts/shared/Service.sol/Service.json +55 -101
  240. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +1 -1
  241. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +362 -7
  242. package/artifacts/contracts/shared/TokenHandlerDeployerLib.sol/TokenHandlerDeployerLib.dbg.json +4 -0
  243. package/artifacts/contracts/shared/TokenHandlerDeployerLib.sol/TokenHandlerDeployerLib.json +108 -0
  244. package/artifacts/contracts/staking/IStaking.sol/IStaking.dbg.json +4 -0
  245. package/artifacts/contracts/staking/IStaking.sol/IStaking.json +1460 -0
  246. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.dbg.json +1 -1
  247. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.json +573 -53
  248. package/artifacts/contracts/staking/StakeManagerLib.sol/StakeManagerLib.dbg.json +4 -0
  249. package/artifacts/contracts/staking/StakeManagerLib.sol/StakeManagerLib.json +440 -0
  250. package/artifacts/contracts/staking/Staking.sol/Staking.dbg.json +4 -0
  251. package/artifacts/contracts/staking/Staking.sol/Staking.json +1901 -0
  252. package/artifacts/contracts/staking/StakingLifecycle.sol/StakingLifecycle.dbg.json +4 -0
  253. package/artifacts/contracts/staking/StakingLifecycle.sol/StakingLifecycle.json +205 -0
  254. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.dbg.json +4 -0
  255. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.json +776 -0
  256. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.dbg.json +4 -0
  257. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.json +587 -0
  258. package/artifacts/contracts/staking/StakingService.sol/StakingService.dbg.json +1 -1
  259. package/artifacts/contracts/staking/StakingService.sol/StakingService.json +658 -176
  260. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.dbg.json +1 -1
  261. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.json +109 -66
  262. package/artifacts/contracts/staking/StakingStore.sol/StakingStore.dbg.json +4 -0
  263. package/artifacts/contracts/staking/StakingStore.sol/StakingStore.json +2283 -0
  264. package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.dbg.json +4 -0
  265. package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.json +607 -0
  266. package/artifacts/contracts/type/AddressSet.sol/LibAddressSet.dbg.json +1 -1
  267. package/artifacts/contracts/type/AddressSet.sol/LibAddressSet.json +2 -2
  268. package/artifacts/contracts/type/Amount.sol/AmountLib.dbg.json +1 -1
  269. package/artifacts/contracts/type/Amount.sol/AmountLib.json +121 -4
  270. package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.dbg.json +1 -1
  271. package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.json +53 -2
  272. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.dbg.json +1 -1
  273. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.json +28 -4
  274. package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.dbg.json +1 -1
  275. package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.json +4 -4
  276. package/artifacts/contracts/type/Fee.sol/FeeLib.dbg.json +1 -1
  277. package/artifacts/contracts/type/Fee.sol/FeeLib.json +39 -34
  278. package/artifacts/contracts/type/Key32.sol/Key32Lib.dbg.json +1 -1
  279. package/artifacts/contracts/type/Key32.sol/Key32Lib.json +2 -2
  280. package/artifacts/contracts/type/NftId.sol/NftIdLib.dbg.json +1 -1
  281. package/artifacts/contracts/type/NftId.sol/NftIdLib.json +47 -4
  282. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.dbg.json +1 -1
  283. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.json +2 -2
  284. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.dbg.json +1 -1
  285. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.json +149 -2
  286. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.dbg.json +1 -1
  287. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.json +19 -19
  288. package/artifacts/contracts/type/Referral.sol/ReferralLib.dbg.json +1 -1
  289. package/artifacts/contracts/type/Referral.sol/ReferralLib.json +4 -4
  290. package/artifacts/contracts/type/RequestId.sol/RequestIdLib.dbg.json +4 -0
  291. package/artifacts/contracts/type/RequestId.sol/RequestIdLib.json +204 -0
  292. package/artifacts/contracts/type/RiskId.sol/RiskIdLib.dbg.json +1 -1
  293. package/artifacts/contracts/type/RiskId.sol/RiskIdLib.json +60 -4
  294. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.dbg.json +1 -1
  295. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.json +219 -6
  296. package/artifacts/contracts/type/Seconds.sol/SecondsLib.dbg.json +1 -1
  297. package/artifacts/contracts/type/Seconds.sol/SecondsLib.json +124 -2
  298. package/artifacts/contracts/type/Selector.sol/SelectorLib.dbg.json +4 -0
  299. package/artifacts/contracts/type/Selector.sol/SelectorLib.json +129 -0
  300. package/artifacts/contracts/type/Selector.sol/SelectorSetLib.dbg.json +4 -0
  301. package/artifacts/contracts/type/Selector.sol/SelectorSetLib.json +10 -0
  302. package/artifacts/contracts/type/StateId.sol/StateIdLib.dbg.json +1 -1
  303. package/artifacts/contracts/type/StateId.sol/StateIdLib.json +15 -2
  304. package/artifacts/contracts/type/String.sol/StrLib.dbg.json +4 -0
  305. package/artifacts/contracts/type/String.sol/StrLib.json +132 -0
  306. package/artifacts/contracts/type/Timestamp.sol/TimestampLib.dbg.json +1 -1
  307. package/artifacts/contracts/type/Timestamp.sol/TimestampLib.json +36 -4
  308. package/artifacts/contracts/type/UFixed.sol/MathLib.dbg.json +1 -1
  309. package/artifacts/contracts/type/UFixed.sol/MathLib.json +9 -3
  310. package/artifacts/contracts/type/UFixed.sol/UFixedLib.dbg.json +1 -1
  311. package/artifacts/contracts/type/UFixed.sol/UFixedLib.json +71 -2
  312. package/artifacts/contracts/type/Version.sol/VersionLib.dbg.json +1 -1
  313. package/artifacts/contracts/type/Version.sol/VersionLib.json +2 -2
  314. package/artifacts/contracts/type/Version.sol/VersionPartLib.dbg.json +1 -1
  315. package/artifacts/contracts/type/Version.sol/VersionPartLib.json +21 -2
  316. package/artifacts/contracts/upgradeability/IVersionable.sol/IVersionable.dbg.json +4 -0
  317. package/artifacts/contracts/{shared → upgradeability}/IVersionable.sol/IVersionable.json +1 -1
  318. package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.dbg.json +4 -0
  319. package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.json +602 -0
  320. package/artifacts/contracts/upgradeability/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +4 -0
  321. package/artifacts/contracts/upgradeability/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +129 -0
  322. package/artifacts/contracts/upgradeability/Versionable.sol/Versionable.dbg.json +4 -0
  323. package/artifacts/contracts/{shared → upgradeability}/Versionable.sol/Versionable.json +1 -1
  324. package/contracts/authorization/AccessAdmin.sol +596 -0
  325. package/contracts/authorization/AccessManagerCloneable.sol +16 -0
  326. package/contracts/authorization/Authorization.sol +289 -0
  327. package/contracts/authorization/IAccess.sol +49 -0
  328. package/contracts/authorization/IAccessAdmin.sol +137 -0
  329. package/contracts/authorization/IAuthorization.sol +60 -0
  330. package/contracts/authorization/IServiceAuthorization.sol +40 -0
  331. package/contracts/authorization/ReleaseAccessManager.sol +38 -0
  332. package/contracts/authorization/ServiceAuthorization.sol +106 -0
  333. package/contracts/distribution/BasicDistribution.sol +139 -0
  334. package/contracts/distribution/BasicDistributionAuthorization.sol +47 -0
  335. package/contracts/distribution/Distribution.sol +154 -154
  336. package/contracts/distribution/DistributionService.sol +175 -172
  337. package/contracts/distribution/DistributionServiceManager.sol +8 -23
  338. package/contracts/distribution/IDistributionComponent.sol +28 -47
  339. package/contracts/distribution/IDistributionService.sol +24 -10
  340. package/contracts/examples/fire/DamageLevel.sol +59 -0
  341. package/contracts/examples/fire/FirePool.sol +75 -0
  342. package/contracts/examples/fire/FirePoolAuthorization.sol +34 -0
  343. package/contracts/examples/fire/FireProduct.sol +412 -0
  344. package/contracts/examples/fire/FireProductAuthorization.sol +44 -0
  345. package/contracts/examples/fire/FireUSD.sol +26 -0
  346. package/contracts/examples/unpermissioned/SimpleDistribution.sol +50 -0
  347. package/contracts/examples/unpermissioned/SimpleOracle.sol +137 -0
  348. package/contracts/examples/unpermissioned/SimplePool.sol +76 -0
  349. package/contracts/examples/unpermissioned/SimpleProduct.sol +351 -0
  350. package/contracts/instance/{BundleManager.sol → BundleSet.sol} +23 -23
  351. package/contracts/instance/IInstance.sol +33 -44
  352. package/contracts/instance/IInstanceService.sol +32 -33
  353. package/contracts/instance/Instance.sol +131 -122
  354. package/contracts/instance/InstanceAdmin.sol +277 -0
  355. package/contracts/instance/InstanceAuthorizationV3.sol +194 -0
  356. package/contracts/instance/InstanceReader.sol +194 -67
  357. package/contracts/instance/InstanceService.sol +243 -134
  358. package/contracts/instance/InstanceServiceManager.sol +8 -13
  359. package/contracts/instance/InstanceStore.sol +142 -66
  360. package/contracts/instance/base/BalanceStore.sol +123 -0
  361. package/contracts/instance/base/Cloneable.sol +2 -25
  362. package/contracts/instance/base/ObjectCounter.sol +21 -0
  363. package/contracts/instance/base/ObjectLifecycle.sol +111 -0
  364. package/contracts/instance/base/{ObjectManager.sol → ObjectSet.sol} +11 -14
  365. package/contracts/instance/module/IAccess.sol +2 -10
  366. package/contracts/instance/module/IBundle.sol +1 -4
  367. package/contracts/instance/module/IComponents.sol +21 -11
  368. package/contracts/instance/module/IDistribution.sol +0 -1
  369. package/contracts/instance/module/IPolicy.sol +31 -25
  370. package/contracts/mock/Dip.sol +26 -0
  371. package/contracts/oracle/BasicOracle.sol +47 -0
  372. package/contracts/oracle/BasicOracleAuthorization.sol +46 -0
  373. package/contracts/oracle/IOracle.sol +36 -0
  374. package/contracts/oracle/IOracleComponent.sol +33 -0
  375. package/contracts/oracle/IOracleService.sol +66 -0
  376. package/contracts/oracle/Oracle.sol +156 -0
  377. package/contracts/oracle/OracleService.sol +291 -0
  378. package/contracts/oracle/OracleServiceManager.sol +39 -0
  379. package/contracts/pool/BasicPool.sol +154 -0
  380. package/contracts/pool/BasicPoolAuthorization.sol +57 -0
  381. package/contracts/pool/BundleService.sol +278 -201
  382. package/contracts/pool/BundleServiceManager.sol +8 -11
  383. package/contracts/pool/IBundleService.sol +44 -19
  384. package/contracts/pool/IPoolComponent.sol +27 -73
  385. package/contracts/pool/IPoolService.sol +93 -40
  386. package/contracts/pool/Pool.sol +186 -153
  387. package/contracts/pool/PoolService.sol +357 -236
  388. package/contracts/pool/PoolServiceManager.sol +6 -9
  389. package/contracts/product/ApplicationService.sol +148 -84
  390. package/contracts/product/ApplicationServiceManager.sol +6 -6
  391. package/contracts/product/BasicProduct.sol +53 -0
  392. package/contracts/product/BasicProductAuthorization.sol +42 -0
  393. package/contracts/product/ClaimService.sol +293 -145
  394. package/contracts/product/ClaimServiceManager.sol +6 -6
  395. package/contracts/product/IApplicationService.sol +2 -1
  396. package/contracts/product/IClaimService.sol +35 -5
  397. package/contracts/product/IPolicyService.sol +38 -38
  398. package/contracts/product/IPricingService.sol +13 -11
  399. package/contracts/product/IProductComponent.sol +28 -10
  400. package/contracts/product/{IProductService.sol → IRiskService.sol} +2 -9
  401. package/contracts/product/PolicyService.sol +504 -199
  402. package/contracts/product/PolicyServiceManager.sol +6 -9
  403. package/contracts/product/PricingService.sol +103 -82
  404. package/contracts/product/PricingServiceManager.sol +5 -8
  405. package/contracts/product/Product.sol +222 -146
  406. package/contracts/product/RiskService.sol +96 -0
  407. package/contracts/product/RiskServiceManager.sol +39 -0
  408. package/contracts/registry/ChainNft.sol +72 -36
  409. package/contracts/registry/IRegistry.sol +85 -22
  410. package/contracts/registry/IRegistryService.sol +10 -6
  411. package/contracts/registry/ITransferInterceptor.sol +0 -1
  412. package/contracts/registry/Registry.sol +433 -187
  413. package/contracts/registry/RegistryAdmin.sol +448 -0
  414. package/contracts/registry/RegistryService.sol +76 -66
  415. package/contracts/registry/RegistryServiceManager.sol +6 -25
  416. package/contracts/registry/ReleaseLifecycle.sol +30 -0
  417. package/contracts/registry/ReleaseRegistry.sol +501 -0
  418. package/contracts/registry/ServiceAuthorizationV3.sol +194 -0
  419. package/contracts/registry/TokenRegistry.sol +261 -62
  420. package/contracts/shared/Component.sol +153 -148
  421. package/contracts/shared/ComponentService.sol +688 -94
  422. package/contracts/shared/ComponentServiceManager.sol +38 -0
  423. package/contracts/shared/ComponentVerifyingService.sol +126 -0
  424. package/contracts/shared/ContractLib.sol +38 -0
  425. package/contracts/shared/IComponent.sol +25 -41
  426. package/contracts/shared/IComponentService.sol +120 -0
  427. package/contracts/shared/IInstanceLinkedComponent.sol +41 -0
  428. package/contracts/{instance/base → shared}/IKeyValueStore.sol +7 -6
  429. package/contracts/{instance/base → shared}/ILifecycle.sol +5 -4
  430. package/contracts/shared/INftOwnable.sol +3 -1
  431. package/contracts/shared/IPolicyHolder.sol +12 -17
  432. package/contracts/shared/IRegisterable.sol +11 -0
  433. package/contracts/shared/IService.sol +9 -2
  434. package/contracts/shared/{ERC165.sol → InitializableERC165.sol} +4 -4
  435. package/contracts/shared/InstanceLinkedComponent.sol +213 -0
  436. package/contracts/{instance/base → shared}/KeyValueStore.sol +36 -74
  437. package/contracts/shared/Lifecycle.sol +88 -0
  438. package/contracts/shared/NftIdSet.sol +65 -0
  439. package/contracts/shared/NftOwnable.sol +27 -22
  440. package/contracts/shared/PolicyHolder.sol +18 -50
  441. package/contracts/shared/Registerable.sol +21 -11
  442. package/contracts/shared/RegistryLinked.sol +3 -2
  443. package/contracts/shared/Service.sol +48 -36
  444. package/contracts/shared/TokenHandler.sol +112 -8
  445. package/contracts/shared/TokenHandlerDeployerLib.sol +12 -0
  446. package/contracts/staking/IStaking.sol +168 -0
  447. package/contracts/staking/IStakingService.sol +103 -48
  448. package/contracts/staking/StakeManagerLib.sol +224 -0
  449. package/contracts/staking/Staking.sol +497 -0
  450. package/contracts/staking/StakingLifecycle.sol +23 -0
  451. package/contracts/staking/StakingManager.sol +52 -0
  452. package/contracts/staking/StakingReader.sol +190 -0
  453. package/contracts/staking/StakingService.sol +273 -49
  454. package/contracts/staking/StakingServiceManager.sol +11 -7
  455. package/contracts/staking/StakingStore.sol +605 -0
  456. package/contracts/staking/TargetManagerLib.sol +211 -0
  457. package/contracts/type/AddressSet.sol +1 -1
  458. package/contracts/type/Amount.sol +44 -3
  459. package/contracts/type/Blocknumber.sol +26 -3
  460. package/contracts/type/ClaimId.sol +6 -1
  461. package/contracts/type/Fee.sol +17 -16
  462. package/contracts/type/NftId.sol +15 -16
  463. package/contracts/type/NftIdSet.sol +1 -1
  464. package/contracts/type/ObjectType.sol +176 -62
  465. package/contracts/type/PayoutId.sol +10 -10
  466. package/contracts/type/Referral.sol +2 -1
  467. package/contracts/type/RequestId.sol +75 -0
  468. package/contracts/type/RiskId.sol +16 -2
  469. package/contracts/type/RoleId.sol +98 -75
  470. package/contracts/type/Seconds.sol +48 -1
  471. package/contracts/type/Selector.sol +102 -0
  472. package/contracts/type/StateId.sol +41 -2
  473. package/contracts/type/String.sol +53 -0
  474. package/contracts/type/Timestamp.sol +17 -3
  475. package/contracts/type/UFixed.sol +38 -9
  476. package/contracts/type/Version.sol +4 -2
  477. package/contracts/{shared → upgradeability}/ProxyManager.sol +76 -39
  478. package/contracts/{shared → upgradeability}/UpgradableProxyWithAdmin.sol +1 -3
  479. package/contracts/{shared → upgradeability}/Versionable.sol +2 -2
  480. package/package.json +9 -5
  481. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.dbg.json +0 -4
  482. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.json +0 -778
  483. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.dbg.json +0 -4
  484. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.json +0 -1348
  485. package/artifacts/contracts/instance/InstanceAuthorizationsLib.sol/InstanceAuthorizationsLib.dbg.json +0 -4
  486. package/artifacts/contracts/instance/InstanceAuthorizationsLib.sol/InstanceAuthorizationsLib.json +0 -124
  487. package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.dbg.json +0 -4
  488. package/artifacts/contracts/instance/base/ILifecycle.sol/ILifecycle.dbg.json +0 -4
  489. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.dbg.json +0 -4
  490. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.json +0 -581
  491. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.dbg.json +0 -4
  492. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.json +0 -194
  493. package/artifacts/contracts/instance/base/ObjectManager.sol/ObjectManager.dbg.json +0 -4
  494. package/artifacts/contracts/instance/base/ObjectManager.sol/ObjectManager.json +0 -256
  495. package/artifacts/contracts/instance/module/ISetup.sol/ISetup.dbg.json +0 -4
  496. package/artifacts/contracts/instance/module/ITreasury.sol/ITreasury.dbg.json +0 -4
  497. package/artifacts/contracts/instance/module/ITreasury.sol/ITreasury.json +0 -10
  498. package/artifacts/contracts/product/IProductService.sol/IProductService.dbg.json +0 -4
  499. package/artifacts/contracts/product/ProductService.sol/ProductService.dbg.json +0 -4
  500. package/artifacts/contracts/product/ProductService.sol/ProductService.json +0 -864
  501. package/artifacts/contracts/product/ProductServiceManager.sol/ProductServiceManager.dbg.json +0 -4
  502. package/artifacts/contracts/product/ProductServiceManager.sol/ProductServiceManager.json +0 -679
  503. package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.dbg.json +0 -4
  504. package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.json +0 -238
  505. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.dbg.json +0 -4
  506. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.json +0 -846
  507. package/artifacts/contracts/shared/AccessManagerUpgradeableInitializeable.sol/AccessManagerUpgradeableInitializeable.dbg.json +0 -4
  508. package/artifacts/contracts/shared/AccessManagerUpgradeableInitializeable.sol/AccessManagerUpgradeableInitializeable.json +0 -1206
  509. package/artifacts/contracts/shared/ERC165.sol/ERC165.dbg.json +0 -4
  510. package/artifacts/contracts/shared/ERC165.sol/ERC165.json +0 -73
  511. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.dbg.json +0 -4
  512. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.dbg.json +0 -4
  513. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.json +0 -598
  514. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +0 -4
  515. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +0 -129
  516. package/artifacts/contracts/shared/Versionable.sol/Versionable.dbg.json +0 -4
  517. package/contracts/instance/InstanceAccessManager.sol +0 -543
  518. package/contracts/instance/InstanceAuthorizationsLib.sol +0 -308
  519. package/contracts/instance/base/Lifecycle.sol +0 -121
  520. package/contracts/instance/module/ISetup.sol +0 -33
  521. package/contracts/instance/module/ITreasury.sol +0 -23
  522. package/contracts/product/ProductService.sol +0 -212
  523. package/contracts/product/ProductServiceManager.sol +0 -42
  524. package/contracts/registry/RegistryAccessManager.sol +0 -132
  525. package/contracts/registry/ReleaseManager.sol +0 -382
  526. package/contracts/shared/AccessManagerUpgradeableInitializeable.sol +0 -13
  527. /package/contracts/{shared → upgradeability}/IVersionable.sol +0 -0
@@ -81,20 +81,20 @@
81
81
  {
82
82
  "inputs": [
83
83
  {
84
- "internalType": "address",
85
- "name": "component",
86
- "type": "address"
84
+ "internalType": "NftId",
85
+ "name": "componentNftId",
86
+ "type": "uint96"
87
87
  }
88
88
  ],
89
- "name": "ErrorComponentServiceComponentLocked",
89
+ "name": "ErrorComponentVerifyingServiceComponentIsLocked",
90
90
  "type": "error"
91
91
  },
92
92
  {
93
93
  "inputs": [
94
94
  {
95
- "internalType": "address",
96
- "name": "component",
97
- "type": "address"
95
+ "internalType": "NftId",
96
+ "name": "componentNftId",
97
+ "type": "uint96"
98
98
  },
99
99
  {
100
100
  "internalType": "ObjectType",
@@ -103,107 +103,38 @@
103
103
  },
104
104
  {
105
105
  "internalType": "ObjectType",
106
- "name": "foundType",
106
+ "name": "actualType",
107
107
  "type": "uint8"
108
108
  }
109
109
  ],
110
- "name": "ErrorComponentServiceComponentTypeInvalid",
110
+ "name": "ErrorComponentVerifyingServiceComponentTypeInvalid",
111
111
  "type": "error"
112
112
  },
113
113
  {
114
114
  "inputs": [
115
115
  {
116
116
  "internalType": "NftId",
117
- "name": "instanceNftId",
117
+ "name": "nftId",
118
118
  "type": "uint96"
119
- },
120
- {
121
- "internalType": "RoleId",
122
- "name": "requiredRole",
123
- "type": "uint64"
124
- },
125
- {
126
- "internalType": "address",
127
- "name": "sender",
128
- "type": "address"
129
- }
130
- ],
131
- "name": "ErrorComponentServiceExpectedRoleMissing",
132
- "type": "error"
133
- },
134
- {
135
- "inputs": [
136
- {
137
- "internalType": "address",
138
- "name": "component",
139
- "type": "address"
140
- },
141
- {
142
- "internalType": "ObjectType",
143
- "name": "requiredType",
144
- "type": "uint8"
145
- },
146
- {
147
- "internalType": "ObjectType",
148
- "name": "componentType",
149
- "type": "uint8"
150
119
  }
151
120
  ],
152
- "name": "ErrorComponentServiceInvalidType",
153
- "type": "error"
154
- },
155
- {
156
- "inputs": [
157
- {
158
- "internalType": "address",
159
- "name": "component",
160
- "type": "address"
161
- }
162
- ],
163
- "name": "ErrorComponentServiceNotComponent",
164
- "type": "error"
165
- },
166
- {
167
- "inputs": [
168
- {
169
- "internalType": "address",
170
- "name": "component",
171
- "type": "address"
172
- },
173
- {
174
- "internalType": "address",
175
- "name": "initialOwner",
176
- "type": "address"
177
- },
178
- {
179
- "internalType": "address",
180
- "name": "sender",
181
- "type": "address"
182
- }
183
- ],
184
- "name": "ErrorComponentServiceSenderNotOwner",
121
+ "name": "ErrorNftOwnableAlreadyLinked",
185
122
  "type": "error"
186
123
  },
187
124
  {
188
125
  "inputs": [
189
126
  {
190
127
  "internalType": "address",
191
- "name": "sender",
128
+ "name": "contractAddress",
192
129
  "type": "address"
193
130
  }
194
131
  ],
195
- "name": "ErrorComponentServiceSenderNotService",
132
+ "name": "ErrorNftOwnableContractNotRegistered",
196
133
  "type": "error"
197
134
  },
198
135
  {
199
- "inputs": [
200
- {
201
- "internalType": "address",
202
- "name": "target",
203
- "type": "address"
204
- }
205
- ],
206
- "name": "ErrorIAccessTargetLocked",
136
+ "inputs": [],
137
+ "name": "ErrorNftOwnableInitialOwnerZero",
207
138
  "type": "error"
208
139
  },
209
140
  {
@@ -212,25 +143,14 @@
212
143
  "internalType": "NftId",
213
144
  "name": "nftId",
214
145
  "type": "uint96"
215
- }
216
- ],
217
- "name": "ErrorNftOwnableAlreadyLinked",
218
- "type": "error"
219
- },
220
- {
221
- "inputs": [
146
+ },
222
147
  {
223
- "internalType": "address",
224
- "name": "contractAddress",
225
- "type": "address"
148
+ "internalType": "ObjectType",
149
+ "name": "expectedObjectType",
150
+ "type": "uint8"
226
151
  }
227
152
  ],
228
- "name": "ErrorNftOwnableContractNotRegistered",
229
- "type": "error"
230
- },
231
- {
232
- "inputs": [],
233
- "name": "ErrorNftOwnableInitialOwnerZero",
153
+ "name": "ErrorNftOwnableInvalidType",
234
154
  "type": "error"
235
155
  },
236
156
  {
@@ -270,6 +190,11 @@
270
190
  "name": "NotInitializing",
271
191
  "type": "error"
272
192
  },
193
+ {
194
+ "inputs": [],
195
+ "name": "ReentrancyGuardReentrantCall",
196
+ "type": "error"
197
+ },
273
198
  {
274
199
  "anonymous": false,
275
200
  "inputs": [
@@ -296,6 +221,19 @@
296
221
  "name": "Initialized",
297
222
  "type": "event"
298
223
  },
224
+ {
225
+ "inputs": [],
226
+ "name": "GIF_RELEASE",
227
+ "outputs": [
228
+ {
229
+ "internalType": "uint256",
230
+ "name": "",
231
+ "type": "uint256"
232
+ }
233
+ ],
234
+ "stateMutability": "view",
235
+ "type": "function"
236
+ },
299
237
  {
300
238
  "inputs": [],
301
239
  "name": "NFT_OWNABLE_STORAGE_LOCATION_V1",
@@ -395,6 +333,11 @@
395
333
  "name": "sumInsuredAmount",
396
334
  "type": "uint96"
397
335
  },
336
+ {
337
+ "internalType": "Amount",
338
+ "name": "premiumAmount",
339
+ "type": "uint96"
340
+ },
398
341
  {
399
342
  "internalType": "Seconds",
400
343
  "name": "lifetime",
@@ -433,7 +376,7 @@
433
376
  "outputs": [
434
377
  {
435
378
  "internalType": "ObjectType",
436
- "name": "",
379
+ "name": "serviceDomain",
437
380
  "type": "uint8"
438
381
  }
439
382
  ],
@@ -490,19 +433,6 @@
490
433
  "stateMutability": "view",
491
434
  "type": "function"
492
435
  },
493
- {
494
- "inputs": [],
495
- "name": "getInstanceService",
496
- "outputs": [
497
- {
498
- "internalType": "contract InstanceService",
499
- "name": "",
500
- "type": "address"
501
- }
502
- ],
503
- "stateMutability": "view",
504
- "type": "function"
505
- },
506
436
  {
507
437
  "inputs": [],
508
438
  "name": "getNftId",
@@ -544,25 +474,25 @@
544
474
  },
545
475
  {
546
476
  "inputs": [],
547
- "name": "getRegistryService",
477
+ "name": "getRelease",
548
478
  "outputs": [
549
479
  {
550
- "internalType": "contract IRegistryService",
551
- "name": "",
552
- "type": "address"
480
+ "internalType": "VersionPart",
481
+ "name": "release",
482
+ "type": "uint8"
553
483
  }
554
484
  ],
555
- "stateMutability": "view",
485
+ "stateMutability": "pure",
556
486
  "type": "function"
557
487
  },
558
488
  {
559
489
  "inputs": [],
560
- "name": "getVersion",
490
+ "name": "getRoleId",
561
491
  "outputs": [
562
492
  {
563
- "internalType": "Version",
564
- "name": "",
565
- "type": "uint24"
493
+ "internalType": "RoleId",
494
+ "name": "serviceRoleId",
495
+ "type": "uint64"
566
496
  }
567
497
  ],
568
498
  "stateMutability": "pure",
@@ -570,101 +500,15 @@
570
500
  },
571
501
  {
572
502
  "inputs": [],
573
- "name": "initializeERC165",
574
- "outputs": [],
575
- "stateMutability": "nonpayable",
576
- "type": "function"
577
- },
578
- {
579
- "inputs": [
580
- {
581
- "internalType": "address",
582
- "name": "initialOwner",
583
- "type": "address"
584
- },
585
- {
586
- "internalType": "address",
587
- "name": "registryAddress",
588
- "type": "address"
589
- }
590
- ],
591
- "name": "initializeNftOwnable",
592
- "outputs": [],
593
- "stateMutability": "nonpayable",
594
- "type": "function"
595
- },
596
- {
597
- "inputs": [
598
- {
599
- "internalType": "address",
600
- "name": "registryAddress",
601
- "type": "address"
602
- },
603
- {
604
- "internalType": "NftId",
605
- "name": "parentNftId",
606
- "type": "uint96"
607
- },
608
- {
609
- "internalType": "ObjectType",
610
- "name": "objectType",
611
- "type": "uint8"
612
- },
613
- {
614
- "internalType": "bool",
615
- "name": "isInterceptor",
616
- "type": "bool"
617
- },
618
- {
619
- "internalType": "address",
620
- "name": "initialOwner",
621
- "type": "address"
622
- },
623
- {
624
- "internalType": "bytes",
625
- "name": "registryData",
626
- "type": "bytes"
627
- }
628
- ],
629
- "name": "initializeRegisterable",
630
- "outputs": [],
631
- "stateMutability": "nonpayable",
632
- "type": "function"
633
- },
634
- {
635
- "inputs": [
636
- {
637
- "internalType": "address",
638
- "name": "registryAddress",
639
- "type": "address"
640
- }
641
- ],
642
- "name": "initializeRegistryLinked",
643
- "outputs": [],
644
- "stateMutability": "nonpayable",
645
- "type": "function"
646
- },
647
- {
648
- "inputs": [
649
- {
650
- "internalType": "address",
651
- "name": "registry",
652
- "type": "address"
653
- },
654
- {
655
- "internalType": "address",
656
- "name": "authority",
657
- "type": "address"
658
- },
503
+ "name": "getVersion",
504
+ "outputs": [
659
505
  {
660
- "internalType": "address",
661
- "name": "initialOwner",
662
- "type": "address"
506
+ "internalType": "Version",
507
+ "name": "",
508
+ "type": "uint24"
663
509
  }
664
510
  ],
665
- "name": "initializeService",
666
- "outputs": [],
667
- "stateMutability": "nonpayable",
511
+ "stateMutability": "pure",
668
512
  "type": "function"
669
513
  },
670
514
  {
@@ -701,20 +545,13 @@
701
545
  {
702
546
  "inputs": [],
703
547
  "name": "linkToRegisteredNftId",
704
- "outputs": [],
705
- "stateMutability": "nonpayable",
706
- "type": "function"
707
- },
708
- {
709
- "inputs": [
548
+ "outputs": [
710
549
  {
711
- "internalType": "bytes4",
712
- "name": "interfaceId",
713
- "type": "bytes4"
550
+ "internalType": "NftId",
551
+ "name": "nftId",
552
+ "type": "uint96"
714
553
  }
715
554
  ],
716
- "name": "registerInterface",
717
- "outputs": [],
718
555
  "stateMutability": "nonpayable",
719
556
  "type": "function"
720
557
  },
@@ -801,60 +638,68 @@
801
638
  "type": "function"
802
639
  }
803
640
  ],
804
- "bytecode": "0x60806040523480156200001157600080fd5b506200001c62000022565b620000d6565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00805468010000000000000000900460ff1615620000735760405163f92ee8a960e01b815260040160405180910390fd5b80546001600160401b0390811614620000d35780546001600160401b0319166001600160401b0390811782556040519081527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50565b612aa480620000e66000396000f3fe608060405234801561001057600080fd5b50600436106101a95760003560e01c806362cbbd7b116100f9578063ada9652e11610097578063c219f0c011610071578063c219f0c0146103f3578063caf4e3d414610406578063cc9fc59a1461040e578063f7c34ee01461041657600080fd5b8063ada9652e146103b1578063b68d1809146103c6578063bf7e214f146103d557600080fd5b80637a9e5e4b116100d35780637a9e5e4b14610362578063893d20e8146103755780638e32e9791461037d5780638fb360371461039057600080fd5b806362cbbd7b1461031a578063644c45e014610331578063675393bf1461034f57600080fd5b806327bb7a331161016657806349bb9e4b1161014057806349bb9e4b146102a1578063536ef74b146102b45780635ab1bd53146102e2578063603ccaad1461030757600080fd5b806327bb7a3314610273578063329d6e741461028657806336fc697e1461029957600080fd5b806301ffc9a7146101ae5780630d8e6e2c146101f05780630fec111c1461020c578063138461e0146102215780631eff4b221461022b578063214cdb8014610260575b600080fd5b6101db6101bc366004611de8565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b6101f8610429565b60405162ffffff90911681526020016101e7565b6102146104b3565b6040516101e79190611e69565b6102296105d4565b005b6102527f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b6040519081526020016101e7565b61022961026e366004611de8565b6107db565b610229610281366004612049565b610808565b6102296102943660046120e1565b6108ad565b6102296109fa565b6102296102af366004612115565b610a40565b6102ca6102c2366004612164565b600092915050565b6040516001600160601b0390911681526020016101e7565b6001546001600160a01b03165b6040516001600160a01b0390911681526020016101e7565b61022961031536600461219d565b610b3e565b6102296103283660046121ea565b50505050505050565b600080516020612a0f833981519152546001600160601b03166102ca565b61022961035d366004612294565b610c26565b610229610370366004612294565b610d34565b6102ef610dce565b61022961038b3660046122b1565b610f05565b61039861113e565b6040516001600160e01b031990911681526020016101e7565b610252600080516020612a0f83398151915281565b60405160d281526020016101e7565b600080516020612a2f833981519152546001600160a01b03166102ef565b6102ca6104013660046122fc565b611176565b6102ef61168f565b6102ef6116a0565b610229610424366004612370565b6116ac565b604051632efe011360e01b815260036004820152600060248201819052604482018190529073__$8eede297b65ed5a56eb3f84d8232ae93f5$__90632efe011390606401602060405180830381865af415801561048a573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104ae919061239e565b905090565b6104bb611daa565b6040805160e081018252600081527f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b038116602084015260ff600160601b8204811694840194909452600160681b90049092161515606082015230608082015260a08101610530610dce565b6001600160a01b0316815260200182600101805461054d906123c3565b80601f0160208091040260200160405190810160405280929190818152602001828054610579906123c3565b80156105c65780601f1061059b576101008083540402835291602001916105c6565b820191906000526020600020905b8154815290600101906020018083116105a957829003601f168201915b505050505081525091505090565b6000600080516020612a0f83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015610643573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106679190612408565b156106985780546040516301ab8b6760e21b81526001600160601b0390911660048201526024015b60405180910390fd5b306106ab6001546001600160a01b031690565b60405163c3c5a54760e01b81526001600160a01b038381166004830152919091169063c3c5a54790602401602060405180830381865afa1580156106f3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107179190612408565b61073f5760405163b9304b0d60e01b81526001600160a01b038216600482015260240161068f565b6001546001600160a01b0316604051636939560f60e11b81526001600160a01b038381166004830152919091169063d272ac1e90602401602060405180830381865afa158015610793573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107b79190612430565b82546bffffffffffffffffffffffff19166001600160601b03919091161790915550565b6107e3611723565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b610810611723565b61081a82876116ac565b7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0387166cffffffffffffffffffffffffff1990911617600160601b60ff8716021760ff60681b1916600160681b851515021781557f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa3016108a38382612493565b5050505050505050565b73__$8eede297b65ed5a56eb3f84d8232ae93f5$__63a123b37c6108cf610429565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af415801561090f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109339190612552565b600080516020612a4f8339815191528054600160401b900460ff1680610966575080546001600160401b03808416911610155b156109845760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b1781556109ae8361175c565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a1505050565b610a02611723565b6301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b600080516020612a4f8339815191528054600160401b810460ff1615906001600160401b0316600081158015610a735750825b90506000826001600160401b03166001148015610a8f5750303b155b905081158015610a9d575080155b15610abb5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315610ae557845460ff60401b1916600160401b1785555b610aef8787611764565b831561032857845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a150505050505050565b6000610b4a606e6118d9565b92505050806001600160a01b031663d4cda0d86040518163ffffffff1660e01b8152600401602060405180830381865afa158015610b8c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610bb0919061257b565b6001600160a01b0316630fad0eb18360146040516001600160e01b031960e085901b1681526001600160601b03909216600483015260ff166024820152604401600060405180830381600087803b158015610c0a57600080fd5b505af1158015610c1e573d6000803e3d6000fd5b505050505050565b610c2e611723565b806001600160a01b03163b600003610c645760405163fdeac91f60e01b81526001600160a01b038216600482015260240161068f565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b815263530ca14960e11b60048201526301ffc9a790602401602060405180830381865afa925050508015610cde575060408051601f3d908101601f19168201909252610cdb91810190612408565b60015b610d065760405163fdeac91f60e01b81526001600160a01b038216600482015260240161068f565b80610d2f5760405163fdeac91f60e01b81526001600160a01b038316600482015260240161068f565b505b50565b33610d54600080516020612a2f833981519152546001600160a01b031690565b6001600160a01b0316816001600160a01b031614610d8f5760405162d1953b60e31b81526001600160a01b038216600482015260240161068f565b816001600160a01b03163b600003610dc5576040516361798f2f60e11b81526001600160a01b038316600482015260240161068f565b610d2f82611a7b565b600080600080516020612a0f83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015610e3e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e629190612408565b15610eef576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015610ec5573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ee9919061257b565b91505090565b54600160601b90046001600160a01b0316919050565b610f0d611723565b610f8d83846001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa158015610f4f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f739190612430565b603c60008560405180602001604052806000815250610808565b6001600160a01b03821615610faa57610fa582611adc565b611119565b6000610fbe6001546001600160a01b031690565b6001600160a01b031663d39e60436028604051632392b61b60e21b81526003600482015273__$b659da7d8a6d2d32aa6c1e17da23dc2174$__90638e4ad86c90602401602060405180830381865af415801561101e573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061104291906125ae565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa158015611087573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110ab919061257b565b9050611117816001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156110ee573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611112919061257b565b611adc565b505b611129634a531f3360e01b6107db565b61113963b68d180960e01b6107db565b505050565b600080516020612a2f833981519152805460009190600160a01b900460ff16611168576000610ee9565b638fb3603760e01b91505090565b60008080611184606e6118d9565b925050915061119161168f565b6001600160a01b0316635c992fed6040518060e001604052806111b2600090565b6001600160601b03168152602001856001600160601b031681526020016111d760d390565b60ff16815260200160001515815260200160006001600160a01b031681526020018d6001600160a01b03168152602001604051806020016040528060008152508152506040518263ffffffff1660e01b81526004016112369190611e69565b6020604051808303816000875af1158015611255573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112799190612430565b600354604051637a5ff29d60e11b81529194506000916001600160a01b039091169063f4bfe53a906112bb9086908e908e908e908c908f908f906004016125cb565b6101e060405180830381865afa1580156112d9573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112fd9190612633565b90506000604051806102200160405280856001600160601b03168152602001896001600160601b03168152602001886001600160c01b03191681526020018c6001600160c01b03191681526020018b6001600160601b0316815260200173__$3bac17678db7ae928afa209f2f44deec9c$__634c41dd9685604001516040518263ffffffff1660e01b815260040161139791815260200190565b602060405180830381865af41580156113b4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113d89190612430565b6001600160601b0316815260200173__$3bac17678db7ae928afa209f2f44deec9c$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af415801561142f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114539190612430565b6001600160601b031681526020018a64ffffffffff168152602001878152602001604051806020016040528060008152508152602001600061ffff168152602001600061ffff16815260200173__$3bac17678db7ae928afa209f2f44deec9c$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af41580156114e8573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061150c9190612430565b6001600160601b0316815260200173__$3bac17678db7ae928afa209f2f44deec9c$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015611563573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115879190612430565b6001600160601b03168152602001600064ffffffffff168152602001600064ffffffffff168152602001600064ffffffffff168152509050826001600160a01b031663d4cda0d86040518163ffffffff1660e01b8152600401602060405180830381865afa1580156115fd573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611621919061257b565b6001600160a01b0316632a8ea7ac86836040518363ffffffff1660e01b815260040161164e9291906126ee565b600060405180830381600087803b15801561166857600080fd5b505af115801561167c573d6000803e3d6000fd5b5050505050505050979650505050505050565b60006104ae6028611aed565b611aed565b60006104ae6046611aed565b6116b4611723565b6116bd81610c26565b6116c56109fa565b6001600160a01b0382166116ec5760405163f17ef42d60e01b815260040160405180910390fd5b50600080516020612a0f83398151915280546001600160601b0316600160601b6001600160a01b0390931692909202919091179055565b600080516020612a4f83398151915254600160401b900460ff1661175a57604051631afcd79f60e31b815260040160405180910390fd5b565b6101a9611723565b600080516020612a4f8339815191528054600160401b810460ff1615906001600160401b03166000811580156117975750825b90506000826001600160401b031660011480156117b35750303b155b9050811580156117c1575080155b156117df5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561180957845460ff60401b1916600160401b1785555b6000808780602001905181019061182091906128b5565b925050915061183082828b610f05565b611840639380705d60e01b6107db565b61184a6078611aed565b600280546001600160a01b0319166001600160a01b039290921691909117905561187561169b60e690565b600380546001600160a01b0319166001600160a01b03929092169190911790555050831561032857845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d290602001610b2d565b60006118e3611daa565b60006118f76001546001600160a01b031690565b604051636939560f60e11b81523360048201526001600160a01b03919091169063d272ac1e90602401602060405180830381865afa15801561193d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119619190612430565b925061196d8385611c00565b8092508193505050806001600160a01b031663e5f6cd276040518163ffffffff1660e01b8152600401602060405180830381865afa1580156119b3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119d7919061257b565b6080830151604051629b7b3560e61b81526001600160a01b0391821660048201529116906326decd4090602401602060405180830381865afa158015611a21573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a459190612408565b15611a7457608082015160405163d53987e560e01b81526001600160a01b03909116600482015260240161068f565b9193909250565b600080516020612a2f83398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b611ae4611723565b610d3181611d04565b6000611b016001546001600160a01b031690565b6001600160a01b031663d39e604383611b18610429565b60405163c9e66e2960e01b815262ffffff909116600482015273__$8eede297b65ed5a56eb3f84d8232ae93f5$__9063c9e66e2990602401602060405180830381865af4158015611b6d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611b9191906125ae565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa158015611bd6573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611bfa919061257b565b92915050565b611c08611daa565b6000611c1c6001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03861660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa158015611c6b573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611c93919081019061293c565b9150611caa82604001518460ff9081169116141590565b15611cee57608082015160408084015190516304081d4960e41b81526001600160a01b03909216600483015260ff808616602484015216604482015260640161068f565b611cfb8260200151611d15565b90509250929050565b611d0c611723565b610d3181611a7b565b6000611d296001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03841660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa158015611d78573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611da0919081019061293c565b6080015192915050565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a082019290925260c081019190915290565b600060208284031215611dfa57600080fd5b81356001600160e01b031981168114611e1257600080fd5b9392505050565b60005b83811015611e34578181015183820152602001611e1c565b50506000910152565b60008151808452611e55816020860160208601611e19565b601f01601f19169290920160200192915050565b6020815260006001600160601b038084511660208401528060208501511660408401525060ff604084015116606083015260608301511515608083015260018060a01b0360808401511660a083015260a0830151611ed260c08401826001600160a01b03169052565b5060c083015160e080840152611eec610100840182611e3d565b949350505050565b6001600160a01b0381168114610d3157600080fd5b6001600160601b0381168114610d3157600080fd5b60ff81168114610d3157600080fd5b8015158114610d3157600080fd5b634e487b7160e01b600052604160045260246000fd5b6040516101e081016001600160401b0381118282101715611f7457611f74611f3b565b60405290565b60405160e081016001600160401b0381118282101715611f7457611f74611f3b565b604051601f8201601f191681016001600160401b0381118282101715611fc457611fc4611f3b565b604052919050565b60006001600160401b03821115611fe557611fe5611f3b565b50601f01601f191660200190565b600082601f83011261200457600080fd5b813561201761201282611fcc565b611f9c565b81815284602083860101111561202c57600080fd5b816020850160208301376000918101602001919091529392505050565b60008060008060008060c0878903121561206257600080fd5b863561206d81611ef4565b9550602087013561207d81611f09565b9450604087013561208d81611f1e565b9350606087013561209d81611f2d565b925060808701356120ad81611ef4565b915060a08701356001600160401b038111156120c857600080fd5b6120d489828a01611ff3565b9150509295509295509295565b6000602082840312156120f357600080fd5b81356001600160401b0381111561210957600080fd5b611eec84828501611ff3565b6000806040838503121561212857600080fd5b823561213381611ef4565b915060208301356001600160401b0381111561214e57600080fd5b61215a85828601611ff3565b9150509250929050565b6000806040838503121561217757600080fd5b823561218281611f09565b9150602083013561219281611f09565b809150509250929050565b6000602082840312156121af57600080fd5b8135611e1281611f09565b6001600160c01b031981168114610d3157600080fd5b803564ffffffffff811681146121e557600080fd5b919050565b600080600080600080600060e0888a03121561220557600080fd5b873561221081611f09565b96506020880135612220816121ba565b9550604088013561223081611f09565b94506060880135612240816121ba565b9350608088013561225081611f09565b925061225e60a089016121d0565b915060c08801356001600160401b0381111561227957600080fd5b6122858a828b01611ff3565b91505092959891949750929550565b6000602082840312156122a657600080fd5b8135611e1281611ef4565b6000806000606084860312156122c657600080fd5b83356122d181611ef4565b925060208401356122e181611ef4565b915060408401356122f181611ef4565b809150509250925092565b600080600080600080600060e0888a03121561231757600080fd5b873561232281611ef4565b96506020880135612332816121ba565b9550604088013561234281611f09565b9450612350606089016121d0565b9350608088013561236081611f09565b925060a088013561225e816121ba565b6000806040838503121561238357600080fd5b823561238e81611ef4565b9150602083013561219281611ef4565b6000602082840312156123b057600080fd5b815162ffffff81168114611e1257600080fd5b600181811c908216806123d757607f821691505b6020821081036123f757634e487b7160e01b600052602260045260246000fd5b50919050565b80516121e581611f2d565b60006020828403121561241a57600080fd5b8151611e1281611f2d565b80516121e581611f09565b60006020828403121561244257600080fd5b8151611e1281611f09565b601f82111561113957600081815260208120601f850160051c810160208610156124745750805b601f850160051c820191505b81811015610c1e57828155600101612480565b81516001600160401b038111156124ac576124ac611f3b565b6124c0816124ba84546123c3565b8461244d565b602080601f8311600181146124f557600084156124dd5750858301515b600019600386901b1c1916600185901b178555610c1e565b600085815260208120601f198616915b8281101561252457888601518255948401946001909101908401612505565b50858210156125425787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b60006020828403121561256457600080fd5b81516001600160401b0381168114611e1257600080fd5b60006020828403121561258d57600080fd5b8151611e1281611ef4565b80516121e581611ef4565b80516121e581611f1e565b6000602082840312156125c057600080fd5b8151611e1281611f1e565b60006001600160601b03808a1683526001600160401b0360c01b808a166020850152818916604085015264ffffffffff8816606085015260e0608085015261261660e0850188611e3d565b9590911660a08401529290921660c0909101525095945050505050565b60006101e0828403121561264657600080fd5b61264e611f51565b825181526020808401519082015260408084015190820152606080840151908201526080808401519082015260a0808401519082015260c0808401519082015260e08084015190820152610100808401519082015261012080840151908201526101408084015190820152610160808401519082015261018080840151908201526101a080840151908201526101c0928301519281019290925250919050565b6001600160601b0383168152604060208201526127176040820183516001600160601b03169052565b6000602083015161273360608401826001600160601b03169052565b5060408301516001600160c01b0319811660808401525060608301516001600160c01b0319811660a08401525060808301516001600160601b03811660c08401525060a08301516001600160601b03811660e08401525060c08301516101006127a6818501836001600160601b03169052565b60e085015191506101206127c28186018464ffffffffff169052565b818601519250610220915061014082818701526127e3610260870185611e3d565b9350818701519150610160603f1987860301818801526128038584611e3d565b9450818801519250610180915061281f8288018461ffff169052565b87015191506101a06128368782018461ffff169052565b9087015191506101c090612854878301846001600160601b03169052565b87015191506101e0612870878201846001600160601b03169052565b9087015191506102009061288c8783018464ffffffffff169052565b87015164ffffffffff908116938701939093528601519182166102408601525050949350505050565b6000806000606084860312156128ca57600080fd5b83516128d581611ef4565b60208501519093506128e681611ef4565b60408501519092506122f181611ef4565b600082601f83011261290857600080fd5b815161291661201282611fcc565b81815284602083860101111561292b57600080fd5b611eec826020830160208701611e19565b60006020828403121561294e57600080fd5b81516001600160401b038082111561296557600080fd5b9083019060e0828603121561297957600080fd5b612981611f7a565b61298a83612425565b815261299860208401612425565b60208201526129a9604084016125a3565b60408201526129ba606084016123fd565b60608201526129cb60808401612598565b60808201526129dc60a08401612598565b60a082015260c0830151828111156129f357600080fd5b6129ff878286016128f7565b60c0830152509594505050505056fe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00f0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00a26469706673582212201a66e8b76558199e0547d679742299799a66b3119e02ff765ec6d1468c21fe8e64736f6c63430008140033",
805
- "deployedBytecode": "0x608060405234801561001057600080fd5b50600436106101a95760003560e01c806362cbbd7b116100f9578063ada9652e11610097578063c219f0c011610071578063c219f0c0146103f3578063caf4e3d414610406578063cc9fc59a1461040e578063f7c34ee01461041657600080fd5b8063ada9652e146103b1578063b68d1809146103c6578063bf7e214f146103d557600080fd5b80637a9e5e4b116100d35780637a9e5e4b14610362578063893d20e8146103755780638e32e9791461037d5780638fb360371461039057600080fd5b806362cbbd7b1461031a578063644c45e014610331578063675393bf1461034f57600080fd5b806327bb7a331161016657806349bb9e4b1161014057806349bb9e4b146102a1578063536ef74b146102b45780635ab1bd53146102e2578063603ccaad1461030757600080fd5b806327bb7a3314610273578063329d6e741461028657806336fc697e1461029957600080fd5b806301ffc9a7146101ae5780630d8e6e2c146101f05780630fec111c1461020c578063138461e0146102215780631eff4b221461022b578063214cdb8014610260575b600080fd5b6101db6101bc366004611de8565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b6101f8610429565b60405162ffffff90911681526020016101e7565b6102146104b3565b6040516101e79190611e69565b6102296105d4565b005b6102527f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b6040519081526020016101e7565b61022961026e366004611de8565b6107db565b610229610281366004612049565b610808565b6102296102943660046120e1565b6108ad565b6102296109fa565b6102296102af366004612115565b610a40565b6102ca6102c2366004612164565b600092915050565b6040516001600160601b0390911681526020016101e7565b6001546001600160a01b03165b6040516001600160a01b0390911681526020016101e7565b61022961031536600461219d565b610b3e565b6102296103283660046121ea565b50505050505050565b600080516020612a0f833981519152546001600160601b03166102ca565b61022961035d366004612294565b610c26565b610229610370366004612294565b610d34565b6102ef610dce565b61022961038b3660046122b1565b610f05565b61039861113e565b6040516001600160e01b031990911681526020016101e7565b610252600080516020612a0f83398151915281565b60405160d281526020016101e7565b600080516020612a2f833981519152546001600160a01b03166102ef565b6102ca6104013660046122fc565b611176565b6102ef61168f565b6102ef6116a0565b610229610424366004612370565b6116ac565b604051632efe011360e01b815260036004820152600060248201819052604482018190529073__$8eede297b65ed5a56eb3f84d8232ae93f5$__90632efe011390606401602060405180830381865af415801561048a573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104ae919061239e565b905090565b6104bb611daa565b6040805160e081018252600081527f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b038116602084015260ff600160601b8204811694840194909452600160681b90049092161515606082015230608082015260a08101610530610dce565b6001600160a01b0316815260200182600101805461054d906123c3565b80601f0160208091040260200160405190810160405280929190818152602001828054610579906123c3565b80156105c65780601f1061059b576101008083540402835291602001916105c6565b820191906000526020600020905b8154815290600101906020018083116105a957829003601f168201915b505050505081525091505090565b6000600080516020612a0f83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015610643573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106679190612408565b156106985780546040516301ab8b6760e21b81526001600160601b0390911660048201526024015b60405180910390fd5b306106ab6001546001600160a01b031690565b60405163c3c5a54760e01b81526001600160a01b038381166004830152919091169063c3c5a54790602401602060405180830381865afa1580156106f3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107179190612408565b61073f5760405163b9304b0d60e01b81526001600160a01b038216600482015260240161068f565b6001546001600160a01b0316604051636939560f60e11b81526001600160a01b038381166004830152919091169063d272ac1e90602401602060405180830381865afa158015610793573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107b79190612430565b82546bffffffffffffffffffffffff19166001600160601b03919091161790915550565b6107e3611723565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b610810611723565b61081a82876116ac565b7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0387166cffffffffffffffffffffffffff1990911617600160601b60ff8716021760ff60681b1916600160681b851515021781557f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa3016108a38382612493565b5050505050505050565b73__$8eede297b65ed5a56eb3f84d8232ae93f5$__63a123b37c6108cf610429565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af415801561090f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109339190612552565b600080516020612a4f8339815191528054600160401b900460ff1680610966575080546001600160401b03808416911610155b156109845760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b1781556109ae8361175c565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a1505050565b610a02611723565b6301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b600080516020612a4f8339815191528054600160401b810460ff1615906001600160401b0316600081158015610a735750825b90506000826001600160401b03166001148015610a8f5750303b155b905081158015610a9d575080155b15610abb5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315610ae557845460ff60401b1916600160401b1785555b610aef8787611764565b831561032857845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a150505050505050565b6000610b4a606e6118d9565b92505050806001600160a01b031663d4cda0d86040518163ffffffff1660e01b8152600401602060405180830381865afa158015610b8c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610bb0919061257b565b6001600160a01b0316630fad0eb18360146040516001600160e01b031960e085901b1681526001600160601b03909216600483015260ff166024820152604401600060405180830381600087803b158015610c0a57600080fd5b505af1158015610c1e573d6000803e3d6000fd5b505050505050565b610c2e611723565b806001600160a01b03163b600003610c645760405163fdeac91f60e01b81526001600160a01b038216600482015260240161068f565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b815263530ca14960e11b60048201526301ffc9a790602401602060405180830381865afa925050508015610cde575060408051601f3d908101601f19168201909252610cdb91810190612408565b60015b610d065760405163fdeac91f60e01b81526001600160a01b038216600482015260240161068f565b80610d2f5760405163fdeac91f60e01b81526001600160a01b038316600482015260240161068f565b505b50565b33610d54600080516020612a2f833981519152546001600160a01b031690565b6001600160a01b0316816001600160a01b031614610d8f5760405162d1953b60e31b81526001600160a01b038216600482015260240161068f565b816001600160a01b03163b600003610dc5576040516361798f2f60e11b81526001600160a01b038316600482015260240161068f565b610d2f82611a7b565b600080600080516020612a0f83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015610e3e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e629190612408565b15610eef576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015610ec5573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ee9919061257b565b91505090565b54600160601b90046001600160a01b0316919050565b610f0d611723565b610f8d83846001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa158015610f4f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f739190612430565b603c60008560405180602001604052806000815250610808565b6001600160a01b03821615610faa57610fa582611adc565b611119565b6000610fbe6001546001600160a01b031690565b6001600160a01b031663d39e60436028604051632392b61b60e21b81526003600482015273__$b659da7d8a6d2d32aa6c1e17da23dc2174$__90638e4ad86c90602401602060405180830381865af415801561101e573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061104291906125ae565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa158015611087573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110ab919061257b565b9050611117816001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156110ee573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611112919061257b565b611adc565b505b611129634a531f3360e01b6107db565b61113963b68d180960e01b6107db565b505050565b600080516020612a2f833981519152805460009190600160a01b900460ff16611168576000610ee9565b638fb3603760e01b91505090565b60008080611184606e6118d9565b925050915061119161168f565b6001600160a01b0316635c992fed6040518060e001604052806111b2600090565b6001600160601b03168152602001856001600160601b031681526020016111d760d390565b60ff16815260200160001515815260200160006001600160a01b031681526020018d6001600160a01b03168152602001604051806020016040528060008152508152506040518263ffffffff1660e01b81526004016112369190611e69565b6020604051808303816000875af1158015611255573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112799190612430565b600354604051637a5ff29d60e11b81529194506000916001600160a01b039091169063f4bfe53a906112bb9086908e908e908e908c908f908f906004016125cb565b6101e060405180830381865afa1580156112d9573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112fd9190612633565b90506000604051806102200160405280856001600160601b03168152602001896001600160601b03168152602001886001600160c01b03191681526020018c6001600160c01b03191681526020018b6001600160601b0316815260200173__$3bac17678db7ae928afa209f2f44deec9c$__634c41dd9685604001516040518263ffffffff1660e01b815260040161139791815260200190565b602060405180830381865af41580156113b4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113d89190612430565b6001600160601b0316815260200173__$3bac17678db7ae928afa209f2f44deec9c$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af415801561142f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114539190612430565b6001600160601b031681526020018a64ffffffffff168152602001878152602001604051806020016040528060008152508152602001600061ffff168152602001600061ffff16815260200173__$3bac17678db7ae928afa209f2f44deec9c$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af41580156114e8573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061150c9190612430565b6001600160601b0316815260200173__$3bac17678db7ae928afa209f2f44deec9c$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015611563573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115879190612430565b6001600160601b03168152602001600064ffffffffff168152602001600064ffffffffff168152602001600064ffffffffff168152509050826001600160a01b031663d4cda0d86040518163ffffffff1660e01b8152600401602060405180830381865afa1580156115fd573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611621919061257b565b6001600160a01b0316632a8ea7ac86836040518363ffffffff1660e01b815260040161164e9291906126ee565b600060405180830381600087803b15801561166857600080fd5b505af115801561167c573d6000803e3d6000fd5b5050505050505050979650505050505050565b60006104ae6028611aed565b611aed565b60006104ae6046611aed565b6116b4611723565b6116bd81610c26565b6116c56109fa565b6001600160a01b0382166116ec5760405163f17ef42d60e01b815260040160405180910390fd5b50600080516020612a0f83398151915280546001600160601b0316600160601b6001600160a01b0390931692909202919091179055565b600080516020612a4f83398151915254600160401b900460ff1661175a57604051631afcd79f60e31b815260040160405180910390fd5b565b6101a9611723565b600080516020612a4f8339815191528054600160401b810460ff1615906001600160401b03166000811580156117975750825b90506000826001600160401b031660011480156117b35750303b155b9050811580156117c1575080155b156117df5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561180957845460ff60401b1916600160401b1785555b6000808780602001905181019061182091906128b5565b925050915061183082828b610f05565b611840639380705d60e01b6107db565b61184a6078611aed565b600280546001600160a01b0319166001600160a01b039290921691909117905561187561169b60e690565b600380546001600160a01b0319166001600160a01b03929092169190911790555050831561032857845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d290602001610b2d565b60006118e3611daa565b60006118f76001546001600160a01b031690565b604051636939560f60e11b81523360048201526001600160a01b03919091169063d272ac1e90602401602060405180830381865afa15801561193d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119619190612430565b925061196d8385611c00565b8092508193505050806001600160a01b031663e5f6cd276040518163ffffffff1660e01b8152600401602060405180830381865afa1580156119b3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119d7919061257b565b6080830151604051629b7b3560e61b81526001600160a01b0391821660048201529116906326decd4090602401602060405180830381865afa158015611a21573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a459190612408565b15611a7457608082015160405163d53987e560e01b81526001600160a01b03909116600482015260240161068f565b9193909250565b600080516020612a2f83398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b611ae4611723565b610d3181611d04565b6000611b016001546001600160a01b031690565b6001600160a01b031663d39e604383611b18610429565b60405163c9e66e2960e01b815262ffffff909116600482015273__$8eede297b65ed5a56eb3f84d8232ae93f5$__9063c9e66e2990602401602060405180830381865af4158015611b6d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611b9191906125ae565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa158015611bd6573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611bfa919061257b565b92915050565b611c08611daa565b6000611c1c6001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03861660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa158015611c6b573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611c93919081019061293c565b9150611caa82604001518460ff9081169116141590565b15611cee57608082015160408084015190516304081d4960e41b81526001600160a01b03909216600483015260ff808616602484015216604482015260640161068f565b611cfb8260200151611d15565b90509250929050565b611d0c611723565b610d3181611a7b565b6000611d296001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03841660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa158015611d78573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611da0919081019061293c565b6080015192915050565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a082019290925260c081019190915290565b600060208284031215611dfa57600080fd5b81356001600160e01b031981168114611e1257600080fd5b9392505050565b60005b83811015611e34578181015183820152602001611e1c565b50506000910152565b60008151808452611e55816020860160208601611e19565b601f01601f19169290920160200192915050565b6020815260006001600160601b038084511660208401528060208501511660408401525060ff604084015116606083015260608301511515608083015260018060a01b0360808401511660a083015260a0830151611ed260c08401826001600160a01b03169052565b5060c083015160e080840152611eec610100840182611e3d565b949350505050565b6001600160a01b0381168114610d3157600080fd5b6001600160601b0381168114610d3157600080fd5b60ff81168114610d3157600080fd5b8015158114610d3157600080fd5b634e487b7160e01b600052604160045260246000fd5b6040516101e081016001600160401b0381118282101715611f7457611f74611f3b565b60405290565b60405160e081016001600160401b0381118282101715611f7457611f74611f3b565b604051601f8201601f191681016001600160401b0381118282101715611fc457611fc4611f3b565b604052919050565b60006001600160401b03821115611fe557611fe5611f3b565b50601f01601f191660200190565b600082601f83011261200457600080fd5b813561201761201282611fcc565b611f9c565b81815284602083860101111561202c57600080fd5b816020850160208301376000918101602001919091529392505050565b60008060008060008060c0878903121561206257600080fd5b863561206d81611ef4565b9550602087013561207d81611f09565b9450604087013561208d81611f1e565b9350606087013561209d81611f2d565b925060808701356120ad81611ef4565b915060a08701356001600160401b038111156120c857600080fd5b6120d489828a01611ff3565b9150509295509295509295565b6000602082840312156120f357600080fd5b81356001600160401b0381111561210957600080fd5b611eec84828501611ff3565b6000806040838503121561212857600080fd5b823561213381611ef4565b915060208301356001600160401b0381111561214e57600080fd5b61215a85828601611ff3565b9150509250929050565b6000806040838503121561217757600080fd5b823561218281611f09565b9150602083013561219281611f09565b809150509250929050565b6000602082840312156121af57600080fd5b8135611e1281611f09565b6001600160c01b031981168114610d3157600080fd5b803564ffffffffff811681146121e557600080fd5b919050565b600080600080600080600060e0888a03121561220557600080fd5b873561221081611f09565b96506020880135612220816121ba565b9550604088013561223081611f09565b94506060880135612240816121ba565b9350608088013561225081611f09565b925061225e60a089016121d0565b915060c08801356001600160401b0381111561227957600080fd5b6122858a828b01611ff3565b91505092959891949750929550565b6000602082840312156122a657600080fd5b8135611e1281611ef4565b6000806000606084860312156122c657600080fd5b83356122d181611ef4565b925060208401356122e181611ef4565b915060408401356122f181611ef4565b809150509250925092565b600080600080600080600060e0888a03121561231757600080fd5b873561232281611ef4565b96506020880135612332816121ba565b9550604088013561234281611f09565b9450612350606089016121d0565b9350608088013561236081611f09565b925060a088013561225e816121ba565b6000806040838503121561238357600080fd5b823561238e81611ef4565b9150602083013561219281611ef4565b6000602082840312156123b057600080fd5b815162ffffff81168114611e1257600080fd5b600181811c908216806123d757607f821691505b6020821081036123f757634e487b7160e01b600052602260045260246000fd5b50919050565b80516121e581611f2d565b60006020828403121561241a57600080fd5b8151611e1281611f2d565b80516121e581611f09565b60006020828403121561244257600080fd5b8151611e1281611f09565b601f82111561113957600081815260208120601f850160051c810160208610156124745750805b601f850160051c820191505b81811015610c1e57828155600101612480565b81516001600160401b038111156124ac576124ac611f3b565b6124c0816124ba84546123c3565b8461244d565b602080601f8311600181146124f557600084156124dd5750858301515b600019600386901b1c1916600185901b178555610c1e565b600085815260208120601f198616915b8281101561252457888601518255948401946001909101908401612505565b50858210156125425787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b60006020828403121561256457600080fd5b81516001600160401b0381168114611e1257600080fd5b60006020828403121561258d57600080fd5b8151611e1281611ef4565b80516121e581611ef4565b80516121e581611f1e565b6000602082840312156125c057600080fd5b8151611e1281611f1e565b60006001600160601b03808a1683526001600160401b0360c01b808a166020850152818916604085015264ffffffffff8816606085015260e0608085015261261660e0850188611e3d565b9590911660a08401529290921660c0909101525095945050505050565b60006101e0828403121561264657600080fd5b61264e611f51565b825181526020808401519082015260408084015190820152606080840151908201526080808401519082015260a0808401519082015260c0808401519082015260e08084015190820152610100808401519082015261012080840151908201526101408084015190820152610160808401519082015261018080840151908201526101a080840151908201526101c0928301519281019290925250919050565b6001600160601b0383168152604060208201526127176040820183516001600160601b03169052565b6000602083015161273360608401826001600160601b03169052565b5060408301516001600160c01b0319811660808401525060608301516001600160c01b0319811660a08401525060808301516001600160601b03811660c08401525060a08301516001600160601b03811660e08401525060c08301516101006127a6818501836001600160601b03169052565b60e085015191506101206127c28186018464ffffffffff169052565b818601519250610220915061014082818701526127e3610260870185611e3d565b9350818701519150610160603f1987860301818801526128038584611e3d565b9450818801519250610180915061281f8288018461ffff169052565b87015191506101a06128368782018461ffff169052565b9087015191506101c090612854878301846001600160601b03169052565b87015191506101e0612870878201846001600160601b03169052565b9087015191506102009061288c8783018464ffffffffff169052565b87015164ffffffffff908116938701939093528601519182166102408601525050949350505050565b6000806000606084860312156128ca57600080fd5b83516128d581611ef4565b60208501519093506128e681611ef4565b60408501519092506122f181611ef4565b600082601f83011261290857600080fd5b815161291661201282611fcc565b81815284602083860101111561292b57600080fd5b611eec826020830160208701611e19565b60006020828403121561294e57600080fd5b81516001600160401b038082111561296557600080fd5b9083019060e0828603121561297957600080fd5b612981611f7a565b61298a83612425565b815261299860208401612425565b60208201526129a9604084016125a3565b60408201526129ba606084016123fd565b60608201526129cb60808401612598565b60808201526129dc60a08401612598565b60a082015260c0830151828111156129f357600080fd5b6129ff878286016128f7565b60c0830152509594505050505056fe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00f0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00a26469706673582212201a66e8b76558199e0547d679742299799a66b3119e02ff765ec6d1468c21fe8e64736f6c63430008140033",
641
+ "bytecode": "0x6080604052348015600e575f80fd5b5060156019565b60c9565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00805468010000000000000000900460ff161560685760405163f92ee8a960e01b815260040160405180910390fd5b80546001600160401b039081161460c65780546001600160401b0319166001600160401b0390811782556040519081527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50565b612dfa806100d65f395ff3fe608060405234801561000f575f80fd5b506004361061013d575f3560e01c8063644c45e0116100b4578063893d20e811610079578063893d20e8146103005780638fb36037146103085780639a83274114610329578063ada9652e1461033c578063b68d180914610350578063bf7e214f14610357575f80fd5b8063644c45e01461028e5780636c741e78146102ab57806376b707b7146102cb5780637a9e5e4b146102e55780638899278a146102f8575f80fd5b8063329d6e7411610105578063329d6e741461020857806349bb9e4b1461021d578063536ef74b146102305780635ab1bd5314610243578063603ccaad1461026857806362cbbd7b1461027b575f80fd5b806301ffc9a7146101415780630d8e6e2c146101825780630fec111c1461019e578063138461e0146101b35780631eff4b22146101d3575b5f80fd5b61016d61014f366004612093565b6001600160e01b0319165f9081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b61018a610374565b60405162ffffff9091168152602001610179565b6101a66103fb565b60405161017991906120e8565b6101bb610587565b6040516001600160601b039091168152602001610179565b6101fa7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b604051908152602001610179565b61021b61021636600461229d565b610591565b005b61021b61022b3660046122e2565b6106db565b6101bb61023e366004612342565b6107d7565b6001546001600160a01b03165b6040516001600160a01b039091168152602001610179565b61021b610276366004612379565b6107fc565b61021b6102893660046123bb565b6108fa565b5f80516020612d45833981519152546001600160601b03166101bb565b6102b3610918565b6040516001600160401b039091168152602001610179565b6102d36109a4565b60405160ff9091168152602001610179565b61021b6102f3366004612461565b610a18565b6101fa600381565b610250610ab9565b610310610bea565b6040516001600160e01b03199091168152602001610179565b6101bb61033736600461247c565b610c1f565b6101fa5f80516020612d4583398151915281565b60146102d3565b5f80516020612d65833981519152546001600160a01b0316610250565b604051632efe011360e01b8152600360048201525f60248201819052604482018190529073__$8eede297b65ed5a56eb3f84d8232ae93f5$__90632efe011390606401602060405180830381865af41580156103d2573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906103f69190612535565b905090565b610403612056565b5f7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e0016040528073__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015610479573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061049d9190612567565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a0016104e5610ab9565b6001600160a01b0316815260200182600101805461050290612582565b80601f016020809104026020016040519081016040528092919081815260200182805461052e90612582565b80156105795780601f1061055057610100808354040283529160200191610579565b820191905f5260205f20905b81548152906001019060200180831161055c57829003601f168201915b505050505081525091505090565b5f6103f630610da8565b73__$8eede297b65ed5a56eb3f84d8232ae93f5$__63a123b37c6105b3610374565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af41580156105f1573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061061591906125ce565b5f80516020612da58339815191528054600160401b900460ff1680610647575080546001600160401b03808416911610155b156106655760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b17815561068f83610fa1565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a1505050565b5f80516020612da58339815191528054600160401b810460ff1615906001600160401b03165f8115801561070c5750825b90505f826001600160401b031660011480156107275750303b155b905081158015610735575080155b156107535760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561077d57845460ff60401b1916600160401b1785555b6107878787610fa9565b83156107ce57845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a15b50505050505050565b5f6107e0611142565b6107f660015f80516020612d8583398151915255565b92915050565b610804611142565b5f61080f600c61118c565b92505050806001600160a01b031663d4cda0d86040518163ffffffff1660e01b8152600401602060405180830381865afa15801561084f573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061087391906125e9565b6001600160a01b0316630fad0eb18360146040516001600160e01b031960e085901b1681526001600160601b03909216600483015260ff1660248201526044015f604051808303815f87803b1580156108ca575f80fd5b505af11580156108dc573d5f803e3d5ffd5b50505050506108f760015f80516020612d8583398151915255565b50565b610902611142565b6107ce60015f80516020612d8583398151915255565b5f73__$1d92393fa9ccd763988368ce8a1cb90d26$__63dda777d3601461093d6109a4565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865af4158015610980573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906103f691906125ce565b604051632392b61b60e21b8152600360048201525f9073__$b659da7d8a6d2d32aa6c1e17da23dc2174$__90638e4ad86c90602401602060405180830381865af41580156109f4573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906103f6919061261d565b33610a375f80516020612d65833981519152546001600160a01b031690565b6001600160a01b0316816001600160a01b031614610a775760405162d1953b60e31b81526001600160a01b03821660048201526024015b60405180910390fd5b816001600160a01b03163b5f03610aac576040516361798f2f60e11b81526001600160a01b0383166004820152602401610a6e565b610ab582611228565b5050565b5f805f80516020612d4583398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015610b25573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b499190612647565b15610bd4576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015610baa573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610bce91906125e9565b91505090565b54600160601b90046001600160a01b0316919050565b5f80516020612d6583398151915280545f9190600160a01b900460ff16610c11575f610bce565b638fb3603760e01b91505090565b5f610c28611142565b5f80610c34600c61118c565b92505091505f816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015610c76573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610c9a91906125e9565b9050610ca981848d898b611288565b610cb3838d6113c7565b93505f610cc6848d8d8d8d8d8d8d61150a565b9050826001600160a01b031663d4cda0d86040518163ffffffff1660e01b8152600401602060405180830381865afa158015610d04573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610d2891906125e9565b6001600160a01b0316636fac862286836040518363ffffffff1660e01b8152600401610d5592919061266b565b5f604051808303815f87803b158015610d6c575f80fd5b505af1158015610d7e573d5f803e3d5ffd5b5050505050505050610d9c60015f80516020612d8583398151915255565b98975050505050505050565b5f805f80516020612d4583398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015610e14573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610e389190612647565b15610e645780546040516301ab8b6760e21b81526001600160601b039091166004820152602401610a6e565b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038581166004830152919091169063c3c5a54790602401602060405180830381865afa158015610eb6573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610eda9190612647565b610f025760405163b9304b0d60e01b81526001600160a01b0384166004820152602401610a6e565b6001546001600160a01b0316604051632f2a35f760e11b81526001600160a01b0385811660048301529190911690635e546bee90602401602060405180830381865afa158015610f54573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610f789190612567565b81546bffffffffffffffffffffffff19166001600160601b039190911690811790915592915050565b61013d61173d565b5f80516020612da58339815191528054600160401b810460ff1615906001600160401b03165f81158015610fda5750825b90505f826001600160401b03166001148015610ff55750303b155b905081158015611003575080155b156110215760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561104b57845460ff60401b1916600160401b1785555b5f808780602001905181019061106191906127f7565b9150915061107082828b611775565b61107a600e6118ba565b600280546001600160a01b0319166001600160a01b03929092169190911790556110a4601a6118ba565b600380546001600160a01b0319166001600160a01b03929092169190911790556110ce60026118ba565b600480546001600160a01b0319166001600160a01b03929092169190911790556110fe6332c6a9f760e21b61194b565b505083156107ce57845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020016107c5565b5f80516020612d8583398151915280546001190161117357604051633ee5aeb560e01b815260040160405180910390fd5b60029055565b60015f80516020612d8583398151915255565b5f611195612056565b5f6111a86001546001600160a01b031690565b604051632f2a35f760e11b81523360048201526001600160a01b039190911690635e546bee90602401602060405180830381865afa1580156111ec573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906112109190612567565b925061121e83856001611977565b9395909450915050565b5f80516020612d6583398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b6040516302d764c760e21b81526001600160601b03851660048201525f906001600160a01b03871690630b5d931c906024015f60405180830381865afa1580156112d4573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526112fb91908101906128f8565b6080810151604051634793b4ab60e01b81526001600160601b0385166004820152919250905f906001600160a01b03891690634793b4ab906024015f60405180830381865afa158015611350573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526113779190810190612aab565b5190506113848183611c11565b156113bd576040516319c01eff60e01b81526001600160601b038086166004830152808416602483015282166044820152606401610a6e565b5050505050505050565b5f806040518060e0016040528073__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af415801561141b573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061143f9190612567565b6001600160601b03168152602001856001600160601b03168152602001611464601590565b60ff1681525f602080830182905260408084018390526001600160a01b03888116606086015281519283018252928252608090930152600480549251635c992fed60e01b8152939450911691635c992fed916114c2918591016120e8565b6020604051808303815f875af11580156114de573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906115029190612567565b949350505050565b60408051610200810182525f8082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820183905260e0820181905261010082015261012081018290526101408101829052610160810182905261018081018290526101a081018290526101c081018290526101e08101919091526040518061020001604052808a6001600160601b03168152602001856001600160601b03168152602001846001600160c01b0319168152602001896001600160c01b0319168152602001886001600160601b03168152602001876001600160601b031681526020018664ffffffffff16815260200183815260200160405180602001604052805f81525081526020015f61ffff1681526020015f61ffff16815260200173__$3bac17678db7ae928afa209f2f44deec9c$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015611673573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906116979190612567565b6001600160601b0316815260200173__$3bac17678db7ae928afa209f2f44deec9c$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af41580156116ec573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906117109190612567565b6001600160601b031681525f60208201819052604082018190526060909101529998505050505050505050565b5f80516020612da583398151915254600160401b900460ff1661177357604051631afcd79f60e31b815260040160405180910390fd5b565b61177d61173d565b611785611c9c565b6001600160a01b038216156117a25761179d82611cac565b611819565b5f6117ad60026118ba565b9050611817816001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156117ee573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061181291906125e9565b611cac565b505b61189583846001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa158015611859573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061187d9190612567565b60085f8560405180602001604052805f815250611cbd565b6118a5634a531f3360e01b61194b565b6118b563daf9067160e01b61194b565b505050565b5f6118cd6001546001600160a01b031690565b6001600160a01b031663d39e6043836118e46109a4565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa158015611927573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906107f691906125e9565b61195361173d565b6001600160e01b0319165f908152602081905260409020805460ff19166001179055565b61197f612056565b5f806119936001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03881660048201529091506001600160a01b0382169063a48f42e0906024015f60405180830381865afa1580156119e0573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052611a079190810190612b6f565b925060ff8516600b14611a6557604083015160ff868116911614611a6057604080840151905163b83d92cb60e01b81526001600160601b038816600482015260ff80881660248301529091166044820152606401610a6e565b611b01565b611a808360400151611a75600c90565b60ff90811691161490565b80611a965750611a968360400151611a75600f90565b80611aac5750611aac8360400151611a75600e90565b80611ac25750611ac28360400151611a75600d90565b611b0157604080840151905163b83d92cb60e01b81526001600160601b038816600482015260ff80881660248301529091166044820152606401610a6e565b611b0b8184611d58565b91508315611c0857816001600160a01b031663311adb686040518163ffffffff1660e01b8152600401602060405180830381865afa158015611b4f573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611b7391906125e9565b6080840151604051629b7b3560e61b81526001600160a01b0391821660048201529116906326decd4090602401602060405180830381865afa158015611bbb573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611bdf9190612647565b15611c0857604051637d71120960e11b81526001600160601b0387166004820152602401610a6e565b50935093915050565b6040516399009c5160e01b81526001600160601b038084166004830152821660248201525f9073__$94a2c899be079b00d952d0d84fffaa5c34$__906399009c5190604401602060405180830381865af4158015611c71573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611c959190612647565b9392505050565b611ca461173d565b611773611e09565b611cb461173d565b6108f781611e11565b611cc561173d565b611ccf8683611e22565b7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0387166cffffffffffffffffffffffffff1990911617600160601b60ff8716021760ff60681b1916600160681b851515021781557f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa3016113bd8382612c8a565b5f611d698260400151611a75600c90565b15611d8357611d7c838360200151611e98565b90506107f6565b60208201516040516305247a1760e51b81526001600160601b039091166004820152611c959084906001600160a01b0382169063a48f42e0906024015f60405180830381865afa158015611dd9573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052611e009190810190612b6f565b60200151611e98565b61117961173d565b611e1961173d565b6108f781611228565b611e2a61173d565b611e3382611f09565b611e3b612011565b6001600160a01b038116611e625760405163f17ef42d60e01b815260040160405180910390fd5b5f80516020612d4583398151915280546001600160601b0316600160601b6001600160a01b039093169290920291909117905550565b60405163bf8e179760e01b81526001600160601b03821660048201525f906001600160a01b0384169063bf8e179790602401602060405180830381865afa158015611ee5573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611c9591906125e9565b611f1161173d565b806001600160a01b03163b5f03611f465760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610a6e565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b81526325713e4b60e21b60048201526301ffc9a790602401602060405180830381865afa925050508015611fc0575060408051601f3d908101601f19168201909252611fbd91810190612647565b60015b611fe85760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610a6e565b80610ab55760405163fdeac91f60e01b81526001600160a01b0383166004820152602401610a6e565b61201961173d565b6301ffc9a760e01b5f9081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b6040805160e0810182525f8082526020820181905291810182905260608082018390526080820183905260a082019290925260c081019190915290565b5f602082840312156120a3575f80fd5b81356001600160e01b031981168114611c95575f80fd5b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081526001600160601b0382511660208201526001600160601b03602083015116604082015260ff60408301511660608201525f6060830151612130608084018215159052565b5060808301516001600160a01b03811660a08401525060a08301516001600160a01b03811660c08401525060c083015160e0808401526115026101008401826120ba565b634e487b7160e01b5f52604160045260245ffd5b6040516101c081016001600160401b03811182821017156121ab576121ab612174565b60405290565b60405160c081016001600160401b03811182821017156121ab576121ab612174565b60405160e081016001600160401b03811182821017156121ab576121ab612174565b604051601f8201601f191681016001600160401b038111828210171561221d5761221d612174565b604052919050565b5f6001600160401b0382111561223d5761223d612174565b50601f01601f191660200190565b5f82601f83011261225a575f80fd5b813561226d61226882612225565b6121f5565b818152846020838601011115612281575f80fd5b816020850160208301375f918101602001919091529392505050565b5f602082840312156122ad575f80fd5b81356001600160401b038111156122c2575f80fd5b6115028482850161224b565b6001600160a01b03811681146108f7575f80fd5b5f80604083850312156122f3575f80fd5b82356122fe816122ce565b915060208301356001600160401b03811115612318575f80fd5b6123248582860161224b565b9150509250929050565b6001600160601b03811681146108f7575f80fd5b5f8060408385031215612353575f80fd5b823561235e8161232e565b9150602083013561236e8161232e565b809150509250929050565b5f60208284031215612389575f80fd5b8135611c958161232e565b6001600160c01b0319811681146108f7575f80fd5b64ffffffffff811681146108f7575f80fd5b5f805f805f805f60e0888a0312156123d1575f80fd5b87356123dc8161232e565b965060208801356123ec81612394565b955060408801356123fc8161232e565b9450606088013561240c81612394565b9350608088013561241c8161232e565b925060a088013561242c816123a9565b915060c08801356001600160401b03811115612446575f80fd5b6124528a828b0161224b565b91505092959891949750929550565b5f60208284031215612471575f80fd5b8135611c95816122ce565b5f805f805f805f80610100898b031215612494575f80fd5b883561249f816122ce565b975060208901356124af81612394565b965060408901356124bf8161232e565b955060608901356124cf8161232e565b945060808901356124df816123a9565b935060a08901356124ef8161232e565b925060c08901356124ff81612394565b915060e08901356001600160401b03811115612519575f80fd5b6125258b828c0161224b565b9150509295985092959890939650565b5f60208284031215612545575f80fd5b815162ffffff81168114611c95575f80fd5b80516125628161232e565b919050565b5f60208284031215612577575f80fd5b8151611c958161232e565b600181811c9082168061259657607f821691505b6020821081036125b457634e487b7160e01b5f52602260045260245ffd5b50919050565b6001600160401b03811681146108f7575f80fd5b5f602082840312156125de575f80fd5b8151611c95816125ba565b5f602082840312156125f9575f80fd5b8151611c95816122ce565b60ff811681146108f7575f80fd5b805161256281612604565b5f6020828403121561262d575f80fd5b8151611c9581612604565b80518015158114612562575f80fd5b5f60208284031215612657575f80fd5b611c9582612638565b8051612562816122ce565b6001600160601b0383168152604060208201526126946040820183516001600160601b03169052565b5f60208301516126af60608401826001600160601b03169052565b5060408301516001600160c01b0319811660808401525060608301516001600160c01b0319811660a08401525060808301516001600160601b03811660c08401525060a08301516001600160601b03811660e08401525060c083015164ffffffffff81166101008401525060e08301516102006101208401526127366102408401826120ba565b9050610100840151603f198483030161014085015261275582826120ba565b91505061012084015161276f61016085018261ffff169052565b5061014084015161ffff8116610180850152506101608401516001600160601b0381166101a0850152506101808401516001600160601b0381166101c0850152506101a084015164ffffffffff81166101e0850152506101c084015164ffffffffff8116610200850152506101e084015164ffffffffff811661022085015250949350505050565b5f8060408385031215612808575f80fd5b8251612813816122ce565b602084015190925061236e816122ce565b5f82601f830112612833575f80fd5b81516001600160401b0381111561284c5761284c612174565b8060051b61285c602082016121f5565b91825260208185018101929081019086841115612877575f80fd5b6020860192505b838310156128a25782516128918161232e565b82526020928301929091019061287e565b9695505050505050565b5f604082840312156128bc575f80fd5b604080519081016001600160401b03811182821017156128de576128de612174565b604052825181526020928301519281019290925250919050565b5f60208284031215612908575f80fd5b81516001600160401b0381111561291d575f80fd5b82016102a0818503121561292f575f80fd5b612937612188565b61294082612638565b815261294e60208301612638565b602082015261295f60408301612612565b604082015261297060608301612612565b606082015261298160808301612557565b608082015261299260a08301612557565b60a082015260c08201516001600160401b038111156129af575f80fd5b6129bb86828501612824565b60c0830152506129ce8560e084016128ac565b60e08201526129e18561012084016128ac565b6101008201526129f58561016084016128ac565b610120820152612a09856101a084016128ac565b610140820152612a1d856101e084016128ac565b610160820152612a318561022084016128ac565b610180820152612a458561026084016128ac565b6101a0820152949350505050565b5f82601f830112612a62575f80fd5b8151612a7061226882612225565b818152846020838601011115612a84575f80fd5b8160208501602083015e5f918101602001919091529392505050565b8051612562816123a9565b5f60208284031215612abb575f80fd5b81516001600160401b03811115612ad0575f80fd5b820160e08185031215612ae1575f80fd5b612ae96121b1565b8151612af48161232e565b8152612b0385602084016128ac565b602082015260608201516001600160401b03811115612b20575f80fd5b612b2c86828501612a53565b6040830152506080820151612b40816123a9565b6060820152612b5160a08301612aa0565b6080820152612b6260c08301612aa0565b60a0820152949350505050565b5f60208284031215612b7f575f80fd5b81516001600160401b03811115612b94575f80fd5b820160e08185031215612ba5575f80fd5b612bad6121d3565b612bb682612557565b8152612bc460208301612557565b6020820152612bd560408301612612565b6040820152612be660608301612638565b6060820152612bf760808301612660565b6080820152612c0860a08301612660565b60a082015260c08201516001600160401b03811115612c25575f80fd5b612c3186828501612a53565b60c083015250949350505050565b601f8211156118b557805f5260205f20601f840160051c81016020851015612c645750805b601f840160051c820191505b81811015612c83575f8155600101612c70565b5050505050565b81516001600160401b03811115612ca357612ca3612174565b612cb781612cb18454612582565b84612c3f565b6020601f821160018114612ce9575f8315612cd25750848201515b5f19600385901b1c1916600184901b178455612c83565b5f84815260208120601f198516915b82811015612d185787850151825560209485019460019092019101612cf8565b5084821015612d3557868401515f19600387901b60f8161c191681555b50505050600190811b0190555056fe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a009b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f00f0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00a26469706673582212203d44c8a08abff564a063c328cfe02abcc8d63885d29d707923753f438bff88b664736f6c634300081a0033",
642
+ "deployedBytecode": "0x608060405234801561000f575f80fd5b506004361061013d575f3560e01c8063644c45e0116100b4578063893d20e811610079578063893d20e8146103005780638fb36037146103085780639a83274114610329578063ada9652e1461033c578063b68d180914610350578063bf7e214f14610357575f80fd5b8063644c45e01461028e5780636c741e78146102ab57806376b707b7146102cb5780637a9e5e4b146102e55780638899278a146102f8575f80fd5b8063329d6e7411610105578063329d6e741461020857806349bb9e4b1461021d578063536ef74b146102305780635ab1bd5314610243578063603ccaad1461026857806362cbbd7b1461027b575f80fd5b806301ffc9a7146101415780630d8e6e2c146101825780630fec111c1461019e578063138461e0146101b35780631eff4b22146101d3575b5f80fd5b61016d61014f366004612093565b6001600160e01b0319165f9081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b61018a610374565b60405162ffffff9091168152602001610179565b6101a66103fb565b60405161017991906120e8565b6101bb610587565b6040516001600160601b039091168152602001610179565b6101fa7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b604051908152602001610179565b61021b61021636600461229d565b610591565b005b61021b61022b3660046122e2565b6106db565b6101bb61023e366004612342565b6107d7565b6001546001600160a01b03165b6040516001600160a01b039091168152602001610179565b61021b610276366004612379565b6107fc565b61021b6102893660046123bb565b6108fa565b5f80516020612d45833981519152546001600160601b03166101bb565b6102b3610918565b6040516001600160401b039091168152602001610179565b6102d36109a4565b60405160ff9091168152602001610179565b61021b6102f3366004612461565b610a18565b6101fa600381565b610250610ab9565b610310610bea565b6040516001600160e01b03199091168152602001610179565b6101bb61033736600461247c565b610c1f565b6101fa5f80516020612d4583398151915281565b60146102d3565b5f80516020612d65833981519152546001600160a01b0316610250565b604051632efe011360e01b8152600360048201525f60248201819052604482018190529073__$8eede297b65ed5a56eb3f84d8232ae93f5$__90632efe011390606401602060405180830381865af41580156103d2573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906103f69190612535565b905090565b610403612056565b5f7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e0016040528073__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015610479573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061049d9190612567565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a0016104e5610ab9565b6001600160a01b0316815260200182600101805461050290612582565b80601f016020809104026020016040519081016040528092919081815260200182805461052e90612582565b80156105795780601f1061055057610100808354040283529160200191610579565b820191905f5260205f20905b81548152906001019060200180831161055c57829003601f168201915b505050505081525091505090565b5f6103f630610da8565b73__$8eede297b65ed5a56eb3f84d8232ae93f5$__63a123b37c6105b3610374565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af41580156105f1573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061061591906125ce565b5f80516020612da58339815191528054600160401b900460ff1680610647575080546001600160401b03808416911610155b156106655760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b17815561068f83610fa1565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a1505050565b5f80516020612da58339815191528054600160401b810460ff1615906001600160401b03165f8115801561070c5750825b90505f826001600160401b031660011480156107275750303b155b905081158015610735575080155b156107535760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561077d57845460ff60401b1916600160401b1785555b6107878787610fa9565b83156107ce57845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a15b50505050505050565b5f6107e0611142565b6107f660015f80516020612d8583398151915255565b92915050565b610804611142565b5f61080f600c61118c565b92505050806001600160a01b031663d4cda0d86040518163ffffffff1660e01b8152600401602060405180830381865afa15801561084f573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061087391906125e9565b6001600160a01b0316630fad0eb18360146040516001600160e01b031960e085901b1681526001600160601b03909216600483015260ff1660248201526044015f604051808303815f87803b1580156108ca575f80fd5b505af11580156108dc573d5f803e3d5ffd5b50505050506108f760015f80516020612d8583398151915255565b50565b610902611142565b6107ce60015f80516020612d8583398151915255565b5f73__$1d92393fa9ccd763988368ce8a1cb90d26$__63dda777d3601461093d6109a4565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865af4158015610980573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906103f691906125ce565b604051632392b61b60e21b8152600360048201525f9073__$b659da7d8a6d2d32aa6c1e17da23dc2174$__90638e4ad86c90602401602060405180830381865af41580156109f4573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906103f6919061261d565b33610a375f80516020612d65833981519152546001600160a01b031690565b6001600160a01b0316816001600160a01b031614610a775760405162d1953b60e31b81526001600160a01b03821660048201526024015b60405180910390fd5b816001600160a01b03163b5f03610aac576040516361798f2f60e11b81526001600160a01b0383166004820152602401610a6e565b610ab582611228565b5050565b5f805f80516020612d4583398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015610b25573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b499190612647565b15610bd4576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015610baa573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610bce91906125e9565b91505090565b54600160601b90046001600160a01b0316919050565b5f80516020612d6583398151915280545f9190600160a01b900460ff16610c11575f610bce565b638fb3603760e01b91505090565b5f610c28611142565b5f80610c34600c61118c565b92505091505f816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015610c76573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610c9a91906125e9565b9050610ca981848d898b611288565b610cb3838d6113c7565b93505f610cc6848d8d8d8d8d8d8d61150a565b9050826001600160a01b031663d4cda0d86040518163ffffffff1660e01b8152600401602060405180830381865afa158015610d04573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610d2891906125e9565b6001600160a01b0316636fac862286836040518363ffffffff1660e01b8152600401610d5592919061266b565b5f604051808303815f87803b158015610d6c575f80fd5b505af1158015610d7e573d5f803e3d5ffd5b5050505050505050610d9c60015f80516020612d8583398151915255565b98975050505050505050565b5f805f80516020612d4583398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015610e14573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610e389190612647565b15610e645780546040516301ab8b6760e21b81526001600160601b039091166004820152602401610a6e565b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038581166004830152919091169063c3c5a54790602401602060405180830381865afa158015610eb6573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610eda9190612647565b610f025760405163b9304b0d60e01b81526001600160a01b0384166004820152602401610a6e565b6001546001600160a01b0316604051632f2a35f760e11b81526001600160a01b0385811660048301529190911690635e546bee90602401602060405180830381865afa158015610f54573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610f789190612567565b81546bffffffffffffffffffffffff19166001600160601b039190911690811790915592915050565b61013d61173d565b5f80516020612da58339815191528054600160401b810460ff1615906001600160401b03165f81158015610fda5750825b90505f826001600160401b03166001148015610ff55750303b155b905081158015611003575080155b156110215760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561104b57845460ff60401b1916600160401b1785555b5f808780602001905181019061106191906127f7565b9150915061107082828b611775565b61107a600e6118ba565b600280546001600160a01b0319166001600160a01b03929092169190911790556110a4601a6118ba565b600380546001600160a01b0319166001600160a01b03929092169190911790556110ce60026118ba565b600480546001600160a01b0319166001600160a01b03929092169190911790556110fe6332c6a9f760e21b61194b565b505083156107ce57845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020016107c5565b5f80516020612d8583398151915280546001190161117357604051633ee5aeb560e01b815260040160405180910390fd5b60029055565b60015f80516020612d8583398151915255565b5f611195612056565b5f6111a86001546001600160a01b031690565b604051632f2a35f760e11b81523360048201526001600160a01b039190911690635e546bee90602401602060405180830381865afa1580156111ec573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906112109190612567565b925061121e83856001611977565b9395909450915050565b5f80516020612d6583398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b6040516302d764c760e21b81526001600160601b03851660048201525f906001600160a01b03871690630b5d931c906024015f60405180830381865afa1580156112d4573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526112fb91908101906128f8565b6080810151604051634793b4ab60e01b81526001600160601b0385166004820152919250905f906001600160a01b03891690634793b4ab906024015f60405180830381865afa158015611350573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526113779190810190612aab565b5190506113848183611c11565b156113bd576040516319c01eff60e01b81526001600160601b038086166004830152808416602483015282166044820152606401610a6e565b5050505050505050565b5f806040518060e0016040528073__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af415801561141b573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061143f9190612567565b6001600160601b03168152602001856001600160601b03168152602001611464601590565b60ff1681525f602080830182905260408084018390526001600160a01b03888116606086015281519283018252928252608090930152600480549251635c992fed60e01b8152939450911691635c992fed916114c2918591016120e8565b6020604051808303815f875af11580156114de573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906115029190612567565b949350505050565b60408051610200810182525f8082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820183905260e0820181905261010082015261012081018290526101408101829052610160810182905261018081018290526101a081018290526101c081018290526101e08101919091526040518061020001604052808a6001600160601b03168152602001856001600160601b03168152602001846001600160c01b0319168152602001896001600160c01b0319168152602001886001600160601b03168152602001876001600160601b031681526020018664ffffffffff16815260200183815260200160405180602001604052805f81525081526020015f61ffff1681526020015f61ffff16815260200173__$3bac17678db7ae928afa209f2f44deec9c$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015611673573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906116979190612567565b6001600160601b0316815260200173__$3bac17678db7ae928afa209f2f44deec9c$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af41580156116ec573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906117109190612567565b6001600160601b031681525f60208201819052604082018190526060909101529998505050505050505050565b5f80516020612da583398151915254600160401b900460ff1661177357604051631afcd79f60e31b815260040160405180910390fd5b565b61177d61173d565b611785611c9c565b6001600160a01b038216156117a25761179d82611cac565b611819565b5f6117ad60026118ba565b9050611817816001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156117ee573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061181291906125e9565b611cac565b505b61189583846001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa158015611859573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061187d9190612567565b60085f8560405180602001604052805f815250611cbd565b6118a5634a531f3360e01b61194b565b6118b563daf9067160e01b61194b565b505050565b5f6118cd6001546001600160a01b031690565b6001600160a01b031663d39e6043836118e46109a4565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa158015611927573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906107f691906125e9565b61195361173d565b6001600160e01b0319165f908152602081905260409020805460ff19166001179055565b61197f612056565b5f806119936001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03881660048201529091506001600160a01b0382169063a48f42e0906024015f60405180830381865afa1580156119e0573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052611a079190810190612b6f565b925060ff8516600b14611a6557604083015160ff868116911614611a6057604080840151905163b83d92cb60e01b81526001600160601b038816600482015260ff80881660248301529091166044820152606401610a6e565b611b01565b611a808360400151611a75600c90565b60ff90811691161490565b80611a965750611a968360400151611a75600f90565b80611aac5750611aac8360400151611a75600e90565b80611ac25750611ac28360400151611a75600d90565b611b0157604080840151905163b83d92cb60e01b81526001600160601b038816600482015260ff80881660248301529091166044820152606401610a6e565b611b0b8184611d58565b91508315611c0857816001600160a01b031663311adb686040518163ffffffff1660e01b8152600401602060405180830381865afa158015611b4f573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611b7391906125e9565b6080840151604051629b7b3560e61b81526001600160a01b0391821660048201529116906326decd4090602401602060405180830381865afa158015611bbb573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611bdf9190612647565b15611c0857604051637d71120960e11b81526001600160601b0387166004820152602401610a6e565b50935093915050565b6040516399009c5160e01b81526001600160601b038084166004830152821660248201525f9073__$94a2c899be079b00d952d0d84fffaa5c34$__906399009c5190604401602060405180830381865af4158015611c71573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611c959190612647565b9392505050565b611ca461173d565b611773611e09565b611cb461173d565b6108f781611e11565b611cc561173d565b611ccf8683611e22565b7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0387166cffffffffffffffffffffffffff1990911617600160601b60ff8716021760ff60681b1916600160681b851515021781557f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa3016113bd8382612c8a565b5f611d698260400151611a75600c90565b15611d8357611d7c838360200151611e98565b90506107f6565b60208201516040516305247a1760e51b81526001600160601b039091166004820152611c959084906001600160a01b0382169063a48f42e0906024015f60405180830381865afa158015611dd9573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052611e009190810190612b6f565b60200151611e98565b61117961173d565b611e1961173d565b6108f781611228565b611e2a61173d565b611e3382611f09565b611e3b612011565b6001600160a01b038116611e625760405163f17ef42d60e01b815260040160405180910390fd5b5f80516020612d4583398151915280546001600160601b0316600160601b6001600160a01b039093169290920291909117905550565b60405163bf8e179760e01b81526001600160601b03821660048201525f906001600160a01b0384169063bf8e179790602401602060405180830381865afa158015611ee5573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611c9591906125e9565b611f1161173d565b806001600160a01b03163b5f03611f465760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610a6e565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b81526325713e4b60e21b60048201526301ffc9a790602401602060405180830381865afa925050508015611fc0575060408051601f3d908101601f19168201909252611fbd91810190612647565b60015b611fe85760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610a6e565b80610ab55760405163fdeac91f60e01b81526001600160a01b0383166004820152602401610a6e565b61201961173d565b6301ffc9a760e01b5f9081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b6040805160e0810182525f8082526020820181905291810182905260608082018390526080820183905260a082019290925260c081019190915290565b5f602082840312156120a3575f80fd5b81356001600160e01b031981168114611c95575f80fd5b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081526001600160601b0382511660208201526001600160601b03602083015116604082015260ff60408301511660608201525f6060830151612130608084018215159052565b5060808301516001600160a01b03811660a08401525060a08301516001600160a01b03811660c08401525060c083015160e0808401526115026101008401826120ba565b634e487b7160e01b5f52604160045260245ffd5b6040516101c081016001600160401b03811182821017156121ab576121ab612174565b60405290565b60405160c081016001600160401b03811182821017156121ab576121ab612174565b60405160e081016001600160401b03811182821017156121ab576121ab612174565b604051601f8201601f191681016001600160401b038111828210171561221d5761221d612174565b604052919050565b5f6001600160401b0382111561223d5761223d612174565b50601f01601f191660200190565b5f82601f83011261225a575f80fd5b813561226d61226882612225565b6121f5565b818152846020838601011115612281575f80fd5b816020850160208301375f918101602001919091529392505050565b5f602082840312156122ad575f80fd5b81356001600160401b038111156122c2575f80fd5b6115028482850161224b565b6001600160a01b03811681146108f7575f80fd5b5f80604083850312156122f3575f80fd5b82356122fe816122ce565b915060208301356001600160401b03811115612318575f80fd5b6123248582860161224b565b9150509250929050565b6001600160601b03811681146108f7575f80fd5b5f8060408385031215612353575f80fd5b823561235e8161232e565b9150602083013561236e8161232e565b809150509250929050565b5f60208284031215612389575f80fd5b8135611c958161232e565b6001600160c01b0319811681146108f7575f80fd5b64ffffffffff811681146108f7575f80fd5b5f805f805f805f60e0888a0312156123d1575f80fd5b87356123dc8161232e565b965060208801356123ec81612394565b955060408801356123fc8161232e565b9450606088013561240c81612394565b9350608088013561241c8161232e565b925060a088013561242c816123a9565b915060c08801356001600160401b03811115612446575f80fd5b6124528a828b0161224b565b91505092959891949750929550565b5f60208284031215612471575f80fd5b8135611c95816122ce565b5f805f805f805f80610100898b031215612494575f80fd5b883561249f816122ce565b975060208901356124af81612394565b965060408901356124bf8161232e565b955060608901356124cf8161232e565b945060808901356124df816123a9565b935060a08901356124ef8161232e565b925060c08901356124ff81612394565b915060e08901356001600160401b03811115612519575f80fd5b6125258b828c0161224b565b9150509295985092959890939650565b5f60208284031215612545575f80fd5b815162ffffff81168114611c95575f80fd5b80516125628161232e565b919050565b5f60208284031215612577575f80fd5b8151611c958161232e565b600181811c9082168061259657607f821691505b6020821081036125b457634e487b7160e01b5f52602260045260245ffd5b50919050565b6001600160401b03811681146108f7575f80fd5b5f602082840312156125de575f80fd5b8151611c95816125ba565b5f602082840312156125f9575f80fd5b8151611c95816122ce565b60ff811681146108f7575f80fd5b805161256281612604565b5f6020828403121561262d575f80fd5b8151611c9581612604565b80518015158114612562575f80fd5b5f60208284031215612657575f80fd5b611c9582612638565b8051612562816122ce565b6001600160601b0383168152604060208201526126946040820183516001600160601b03169052565b5f60208301516126af60608401826001600160601b03169052565b5060408301516001600160c01b0319811660808401525060608301516001600160c01b0319811660a08401525060808301516001600160601b03811660c08401525060a08301516001600160601b03811660e08401525060c083015164ffffffffff81166101008401525060e08301516102006101208401526127366102408401826120ba565b9050610100840151603f198483030161014085015261275582826120ba565b91505061012084015161276f61016085018261ffff169052565b5061014084015161ffff8116610180850152506101608401516001600160601b0381166101a0850152506101808401516001600160601b0381166101c0850152506101a084015164ffffffffff81166101e0850152506101c084015164ffffffffff8116610200850152506101e084015164ffffffffff811661022085015250949350505050565b5f8060408385031215612808575f80fd5b8251612813816122ce565b602084015190925061236e816122ce565b5f82601f830112612833575f80fd5b81516001600160401b0381111561284c5761284c612174565b8060051b61285c602082016121f5565b91825260208185018101929081019086841115612877575f80fd5b6020860192505b838310156128a25782516128918161232e565b82526020928301929091019061287e565b9695505050505050565b5f604082840312156128bc575f80fd5b604080519081016001600160401b03811182821017156128de576128de612174565b604052825181526020928301519281019290925250919050565b5f60208284031215612908575f80fd5b81516001600160401b0381111561291d575f80fd5b82016102a0818503121561292f575f80fd5b612937612188565b61294082612638565b815261294e60208301612638565b602082015261295f60408301612612565b604082015261297060608301612612565b606082015261298160808301612557565b608082015261299260a08301612557565b60a082015260c08201516001600160401b038111156129af575f80fd5b6129bb86828501612824565b60c0830152506129ce8560e084016128ac565b60e08201526129e18561012084016128ac565b6101008201526129f58561016084016128ac565b610120820152612a09856101a084016128ac565b610140820152612a1d856101e084016128ac565b610160820152612a318561022084016128ac565b610180820152612a458561026084016128ac565b6101a0820152949350505050565b5f82601f830112612a62575f80fd5b8151612a7061226882612225565b818152846020838601011115612a84575f80fd5b8160208501602083015e5f918101602001919091529392505050565b8051612562816123a9565b5f60208284031215612abb575f80fd5b81516001600160401b03811115612ad0575f80fd5b820160e08185031215612ae1575f80fd5b612ae96121b1565b8151612af48161232e565b8152612b0385602084016128ac565b602082015260608201516001600160401b03811115612b20575f80fd5b612b2c86828501612a53565b6040830152506080820151612b40816123a9565b6060820152612b5160a08301612aa0565b6080820152612b6260c08301612aa0565b60a0820152949350505050565b5f60208284031215612b7f575f80fd5b81516001600160401b03811115612b94575f80fd5b820160e08185031215612ba5575f80fd5b612bad6121d3565b612bb682612557565b8152612bc460208301612557565b6020820152612bd560408301612612565b6040820152612be660608301612638565b6060820152612bf760808301612660565b6080820152612c0860a08301612660565b60a082015260c08201516001600160401b03811115612c25575f80fd5b612c3186828501612a53565b60c083015250949350505050565b601f8211156118b557805f5260205f20601f840160051c81016020851015612c645750805b601f840160051c820191505b81811015612c83575f8155600101612c70565b5050505050565b81516001600160401b03811115612ca357612ca3612174565b612cb781612cb18454612582565b84612c3f565b6020601f821160018114612ce9575f8315612cd25750848201515b5f19600385901b1c1916600184901b178455612c83565b5f84815260208120601f198516915b82811015612d185787850151825560209485019460019092019101612cf8565b5084821015612d3557868401515f19600387901b60f8161c191681555b50505050600190811b0190555056fe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a009b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f00f0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00a26469706673582212203d44c8a08abff564a063c328cfe02abcc8d63885d29d707923753f438bff88b664736f6c634300081a0033",
806
643
  "linkReferences": {
807
644
  "contracts/type/Amount.sol": {
808
645
  "AmountLib": [
809
646
  {
810
647
  "length": 20,
811
- "start": 5186
648
+ "start": 5892
812
649
  },
813
650
  {
814
651
  "length": 20,
815
- "start": 5326
652
+ "start": 6013
653
+ }
654
+ ]
655
+ },
656
+ "contracts/type/NftId.sol": {
657
+ "NftIdLib": [
658
+ {
659
+ "length": 20,
660
+ "start": 1290
816
661
  },
817
662
  {
818
663
  "length": 20,
819
- "start": 5511
664
+ "start": 3011
820
665
  },
821
666
  {
822
667
  "length": 20,
823
- "start": 5634
824
- }
825
- ]
826
- },
827
- "contracts/type/NftId.sol": {
828
- "NftIdLib": [
668
+ "start": 3762
669
+ },
829
670
  {
830
671
  "length": 20,
831
- "start": 1775
672
+ "start": 5292
832
673
  },
833
674
  {
834
675
  "length": 20,
835
- "start": 3818
676
+ "start": 7439
836
677
  }
837
678
  ]
838
679
  },
839
- "contracts/type/Version.sol": {
840
- "VersionLib": [
680
+ "contracts/type/RoleId.sol": {
681
+ "RoleIdLib": [
841
682
  {
842
683
  "length": 20,
843
- "start": 1334
844
- },
684
+ "start": 2545
685
+ }
686
+ ]
687
+ },
688
+ "contracts/type/Version.sol": {
689
+ "VersionLib": [
845
690
  {
846
691
  "length": 20,
847
- "start": 2453
692
+ "start": 1136
848
693
  },
849
694
  {
850
695
  "length": 20,
851
- "start": 7193
696
+ "start": 1641
852
697
  }
853
698
  ],
854
699
  "VersionPartLib": [
855
700
  {
856
701
  "length": 20,
857
- "start": 4298
702
+ "start": 2706
858
703
  }
859
704
  ]
860
705
  }
@@ -864,31 +709,43 @@
864
709
  "AmountLib": [
865
710
  {
866
711
  "length": 20,
867
- "start": 4956
712
+ "start": 5678
713
+ },
714
+ {
715
+ "length": 20,
716
+ "start": 5799
717
+ }
718
+ ]
719
+ },
720
+ "contracts/type/NftId.sol": {
721
+ "NftIdLib": [
722
+ {
723
+ "length": 20,
724
+ "start": 1076
725
+ },
726
+ {
727
+ "length": 20,
728
+ "start": 2797
868
729
  },
869
730
  {
870
731
  "length": 20,
871
- "start": 5096
732
+ "start": 3548
872
733
  },
873
734
  {
874
735
  "length": 20,
875
- "start": 5281
736
+ "start": 5078
876
737
  },
877
738
  {
878
739
  "length": 20,
879
- "start": 5404
740
+ "start": 7225
880
741
  }
881
742
  ]
882
743
  },
883
- "contracts/type/NftId.sol": {
884
- "NftIdLib": [
885
- {
886
- "length": 20,
887
- "start": 1545
888
- },
744
+ "contracts/type/RoleId.sol": {
745
+ "RoleIdLib": [
889
746
  {
890
747
  "length": 20,
891
- "start": 3588
748
+ "start": 2331
892
749
  }
893
750
  ]
894
751
  },
@@ -896,21 +753,17 @@
896
753
  "VersionLib": [
897
754
  {
898
755
  "length": 20,
899
- "start": 1104
900
- },
901
- {
902
- "length": 20,
903
- "start": 2223
756
+ "start": 922
904
757
  },
905
758
  {
906
759
  "length": 20,
907
- "start": 6963
760
+ "start": 1427
908
761
  }
909
762
  ],
910
763
  "VersionPartLib": [
911
764
  {
912
765
  "length": 20,
913
- "start": 4068
766
+ "start": 2492
914
767
  }
915
768
  ]
916
769
  }