@etherisc/gif-next 0.0.2-cfc7167-648 → 0.0.2-cff7366-494

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