@etherisc/gif-next 0.0.2-e769e2e-077 → 0.0.2-e802d97-477

Sign up to get free protection for your applications and to get access to all the features.
Files changed (378) hide show
  1. package/README.md +2 -1
  2. package/artifacts/contracts/distribution/Distribution.sol/Distribution.dbg.json +1 -1
  3. package/artifacts/contracts/distribution/Distribution.sol/Distribution.json +19 -13
  4. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.dbg.json +1 -1
  5. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.json +79 -73
  6. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +1 -1
  7. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.json +114 -56
  8. package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.dbg.json +1 -1
  9. package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.json +11 -5
  10. package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.dbg.json +1 -1
  11. package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.json +7 -1
  12. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.dbg.json +1 -1
  13. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.json +2 -2
  14. package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
  15. package/artifacts/contracts/instance/IInstance.sol/IInstance.json +25 -6
  16. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +1 -1
  17. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +12 -22
  18. package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
  19. package/artifacts/contracts/instance/Instance.sol/Instance.json +47 -20
  20. package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.dbg.json +4 -0
  21. package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.json +708 -0
  22. package/artifacts/contracts/instance/InstanceAuthorizationsLib.sol/InstanceAuthorizationsLib.dbg.json +1 -1
  23. package/artifacts/contracts/instance/InstanceAuthorizationsLib.sol/InstanceAuthorizationsLib.json +126 -30
  24. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +1 -1
  25. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +195 -64
  26. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +1 -1
  27. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +77 -63
  28. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +1 -1
  29. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +104 -34
  30. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.dbg.json +1 -1
  31. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.json +246 -104
  32. package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.dbg.json +1 -1
  33. package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.json +2 -2
  34. package/artifacts/contracts/instance/base/Cloneable.sol/Cloneable.dbg.json +1 -1
  35. package/artifacts/contracts/instance/base/ObjectCounter.sol/ObjectCounter.dbg.json +4 -0
  36. package/artifacts/contracts/instance/base/ObjectCounter.sol/ObjectCounter.json +10 -0
  37. package/artifacts/contracts/instance/base/ObjectManager.sol/ObjectManager.dbg.json +1 -1
  38. package/artifacts/contracts/instance/base/ObjectManager.sol/ObjectManager.json +2 -2
  39. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.dbg.json +1 -1
  40. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.json +8 -116
  41. package/artifacts/contracts/instance/module/IBundle.sol/IBundle.dbg.json +1 -1
  42. package/artifacts/contracts/instance/module/IComponents.sol/IComponents.dbg.json +1 -1
  43. package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.dbg.json +1 -1
  44. package/artifacts/contracts/instance/module/IPolicy.sol/IPolicy.dbg.json +1 -1
  45. package/artifacts/contracts/instance/module/IRisk.sol/IRisk.dbg.json +1 -1
  46. package/artifacts/contracts/mock/Dip.sol/Dip.dbg.json +4 -0
  47. package/artifacts/contracts/mock/Dip.sol/Dip.json +376 -0
  48. package/artifacts/contracts/oracle/IOracle.sol/IOracle.dbg.json +4 -0
  49. package/artifacts/contracts/oracle/IOracle.sol/IOracle.json +10 -0
  50. package/artifacts/contracts/oracle/IOracleComponent.sol/IOracleComponent.dbg.json +4 -0
  51. package/artifacts/contracts/oracle/IOracleComponent.sol/IOracleComponent.json +759 -0
  52. package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.dbg.json +4 -0
  53. package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.json +662 -0
  54. package/artifacts/contracts/oracle/Oracle.sol/Oracle.dbg.json +4 -0
  55. package/artifacts/contracts/oracle/Oracle.sol/Oracle.json +1146 -0
  56. package/artifacts/contracts/oracle/OracleService.sol/OracleService.dbg.json +4 -0
  57. package/artifacts/contracts/oracle/OracleService.sol/OracleService.json +997 -0
  58. package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.dbg.json +4 -0
  59. package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.json +718 -0
  60. package/artifacts/contracts/pool/BundleService.sol/BundleService.dbg.json +1 -1
  61. package/artifacts/contracts/pool/BundleService.sol/BundleService.json +55 -41
  62. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.dbg.json +1 -1
  63. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.json +102 -40
  64. package/artifacts/contracts/pool/IBundleService.sol/IBundleService.dbg.json +1 -1
  65. package/artifacts/contracts/pool/IBundleService.sol/IBundleService.json +7 -1
  66. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.dbg.json +1 -1
  67. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.json +11 -5
  68. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.dbg.json +1 -1
  69. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.json +22 -1
  70. package/artifacts/contracts/pool/Pool.sol/Pool.dbg.json +1 -1
  71. package/artifacts/contracts/pool/Pool.sol/Pool.json +18 -12
  72. package/artifacts/contracts/pool/PoolService.sol/PoolService.dbg.json +1 -1
  73. package/artifacts/contracts/pool/PoolService.sol/PoolService.json +56 -35
  74. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.dbg.json +1 -1
  75. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.json +95 -37
  76. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.dbg.json +1 -1
  77. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.json +39 -25
  78. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +1 -1
  79. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.json +96 -34
  80. package/artifacts/contracts/product/ClaimService.sol/ClaimService.dbg.json +1 -1
  81. package/artifacts/contracts/product/ClaimService.sol/ClaimService.json +81 -67
  82. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +1 -1
  83. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.json +115 -53
  84. package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.dbg.json +1 -1
  85. package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.json +7 -1
  86. package/artifacts/contracts/product/IClaimService.sol/IClaimService.dbg.json +1 -1
  87. package/artifacts/contracts/product/IClaimService.sol/IClaimService.json +7 -1
  88. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.dbg.json +1 -1
  89. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.json +7 -1
  90. package/artifacts/contracts/product/IPricingService.sol/IPricingService.dbg.json +1 -1
  91. package/artifacts/contracts/product/IPricingService.sol/IPricingService.json +7 -1
  92. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.dbg.json +1 -1
  93. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.json +11 -5
  94. package/artifacts/contracts/product/IProductService.sol/IProductService.dbg.json +1 -1
  95. package/artifacts/contracts/product/IProductService.sol/IProductService.json +7 -1
  96. package/artifacts/contracts/product/PolicyService.sol/PolicyService.dbg.json +1 -1
  97. package/artifacts/contracts/product/PolicyService.sol/PolicyService.json +59 -45
  98. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +1 -1
  99. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.json +104 -42
  100. package/artifacts/contracts/product/PricingService.sol/PricingService.dbg.json +1 -1
  101. package/artifacts/contracts/product/PricingService.sol/PricingService.json +69 -55
  102. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.dbg.json +1 -1
  103. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.json +109 -47
  104. package/artifacts/contracts/product/Product.sol/Product.dbg.json +1 -1
  105. package/artifacts/contracts/product/Product.sol/Product.json +18 -12
  106. package/artifacts/contracts/product/ProductService.sol/ProductService.dbg.json +1 -1
  107. package/artifacts/contracts/product/ProductService.sol/ProductService.json +25 -19
  108. package/artifacts/contracts/product/ProductServiceManager.sol/ProductServiceManager.dbg.json +1 -1
  109. package/artifacts/contracts/product/ProductServiceManager.sol/ProductServiceManager.json +87 -29
  110. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
  111. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +2 -2
  112. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
  113. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +150 -53
  114. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +1 -1
  115. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +187 -67
  116. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +1 -1
  117. package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
  118. package/artifacts/contracts/registry/Registry.sol/Registry.json +328 -103
  119. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.dbg.json +4 -0
  120. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.json +407 -0
  121. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +1 -1
  122. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +197 -72
  123. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +1 -1
  124. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +87 -39
  125. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.dbg.json +1 -1
  126. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.json +752 -148
  127. package/artifacts/contracts/registry/ServiceAuthorizationsLib.sol/ServiceAuthorizationsLib.dbg.json +1 -1
  128. package/artifacts/contracts/registry/ServiceAuthorizationsLib.sol/ServiceAuthorizationsLib.json +2 -2
  129. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +1 -1
  130. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +185 -135
  131. package/artifacts/contracts/shared/AccessManagerCustom.sol/AccessManagerCustom.dbg.json +4 -0
  132. package/artifacts/contracts/shared/AccessManagerCustom.sol/AccessManagerCustom.json +1193 -0
  133. package/artifacts/contracts/shared/AccessManagerExtended.sol/AccessManagerExtended.dbg.json +4 -0
  134. package/artifacts/contracts/shared/AccessManagerExtended.sol/AccessManagerExtended.json +1715 -0
  135. package/artifacts/contracts/shared/AccessManagerExtendedInitializeable.sol/AccessManagerExtendedInitializeable.dbg.json +4 -0
  136. package/artifacts/contracts/shared/AccessManagerExtendedInitializeable.sol/AccessManagerExtendedInitializeable.json +1728 -0
  137. package/artifacts/contracts/shared/AccessManagerExtendedWithDisable.sol/AccessManagerExtendedWithDisable.dbg.json +4 -0
  138. package/artifacts/contracts/shared/AccessManagerExtendedWithDisable.sol/AccessManagerExtendedWithDisable.json +1806 -0
  139. package/artifacts/contracts/shared/AccessManagerExtendedWithDisableInitializeable.sol/AccessManagerExtendedWithDisableInitializeable.dbg.json +4 -0
  140. package/artifacts/contracts/shared/AccessManagerExtendedWithDisableInitializeable.sol/AccessManagerExtendedWithDisableInitializeable.json +1824 -0
  141. package/artifacts/contracts/shared/Component.sol/Component.dbg.json +1 -1
  142. package/artifacts/contracts/shared/Component.sol/Component.json +18 -12
  143. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.dbg.json +1 -1
  144. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.json +92 -63
  145. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.dbg.json +1 -1
  146. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.json +102 -46
  147. package/artifacts/contracts/shared/ComponentVerifyingService.sol/ComponentVerifyingService.dbg.json +1 -1
  148. package/artifacts/contracts/shared/ComponentVerifyingService.sol/ComponentVerifyingService.json +7 -1
  149. package/artifacts/contracts/shared/ERC165.sol/ERC165.dbg.json +1 -1
  150. package/artifacts/contracts/shared/ERC165.sol/ERC165.json +2 -2
  151. package/artifacts/contracts/shared/IAccessManagerExtended.sol/IAccessManagerExtended.dbg.json +4 -0
  152. package/artifacts/contracts/shared/IAccessManagerExtended.sol/IAccessManagerExtended.json +1562 -0
  153. package/artifacts/contracts/shared/IAccessManagerExtendedWithDisable.sol/IAccessManagerExtendedWithDisable.dbg.json +4 -0
  154. package/artifacts/contracts/shared/IAccessManagerExtendedWithDisable.sol/IAccessManagerExtendedWithDisable.json +1600 -0
  155. package/artifacts/contracts/shared/IComponent.sol/IComponent.dbg.json +1 -1
  156. package/artifacts/contracts/shared/IComponent.sol/IComponent.json +11 -5
  157. package/artifacts/contracts/shared/IComponentService.sol/IComponentService.dbg.json +1 -1
  158. package/artifacts/contracts/shared/IComponentService.sol/IComponentService.json +14 -1
  159. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.dbg.json +1 -1
  160. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.json +11 -5
  161. package/artifacts/contracts/shared/IKeyValueStore.sol/IKeyValueStore.dbg.json +1 -1
  162. package/artifacts/contracts/shared/IKeyValueStore.sol/IKeyValueStore.json +0 -10
  163. package/artifacts/contracts/shared/ILifecycle.sol/ILifecycle.dbg.json +1 -1
  164. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +1 -1
  165. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.json +7 -1
  166. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.dbg.json +1 -1
  167. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.json +21 -3
  168. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
  169. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +7 -1
  170. package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.dbg.json +1 -1
  171. package/artifacts/contracts/shared/IService.sol/IService.dbg.json +1 -1
  172. package/artifacts/contracts/shared/IService.sol/IService.json +7 -1
  173. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.dbg.json +1 -1
  174. package/artifacts/contracts/shared/InitializableCustom.sol/InitializableCustom.dbg.json +4 -0
  175. package/artifacts/contracts/shared/InitializableCustom.sol/InitializableCustom.json +39 -0
  176. package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.dbg.json +1 -1
  177. package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.json +18 -12
  178. package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.dbg.json +1 -1
  179. package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.json +10 -20
  180. package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.dbg.json +1 -1
  181. package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.json +6 -6
  182. package/artifacts/contracts/shared/NftIdSetManager.sol/NftIdSetManager.dbg.json +4 -0
  183. package/artifacts/contracts/shared/NftIdSetManager.sol/NftIdSetManager.json +306 -0
  184. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +1 -1
  185. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +13 -7
  186. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.dbg.json +1 -1
  187. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.json +31 -13
  188. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.dbg.json +1 -1
  189. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.json +64 -16
  190. package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
  191. package/artifacts/contracts/shared/Registerable.sol/Registerable.json +15 -9
  192. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.dbg.json +1 -1
  193. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.json +2 -2
  194. package/artifacts/contracts/shared/Service.sol/Service.dbg.json +1 -1
  195. package/artifacts/contracts/shared/Service.sol/Service.json +7 -1
  196. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +1 -1
  197. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +2 -2
  198. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +1 -1
  199. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +2 -2
  200. package/artifacts/contracts/shared/Versionable.sol/Versionable.dbg.json +1 -1
  201. package/artifacts/contracts/staking/IStaking.sol/IStaking.dbg.json +1 -1
  202. package/artifacts/contracts/staking/IStaking.sol/IStaking.json +424 -593
  203. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.dbg.json +1 -1
  204. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.json +497 -49
  205. package/artifacts/contracts/staking/StakeManagerLib.sol/StakeManagerLib.dbg.json +4 -0
  206. package/artifacts/contracts/staking/StakeManagerLib.sol/StakeManagerLib.json +444 -0
  207. package/artifacts/contracts/staking/Staking.sol/Staking.dbg.json +1 -1
  208. package/artifacts/contracts/staking/Staking.sol/Staking.json +598 -627
  209. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.dbg.json +1 -1
  210. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.json +149 -48
  211. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.dbg.json +4 -0
  212. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.json +592 -0
  213. package/artifacts/contracts/staking/StakingService.sol/StakingService.dbg.json +1 -1
  214. package/artifacts/contracts/staking/StakingService.sol/StakingService.json +593 -74
  215. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.dbg.json +1 -1
  216. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.json +119 -29
  217. package/artifacts/contracts/staking/StakingStore.sol/StakingStore.dbg.json +4 -0
  218. package/artifacts/contracts/staking/StakingStore.sol/StakingStore.json +2189 -0
  219. package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.dbg.json +4 -0
  220. package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.json +571 -0
  221. package/artifacts/contracts/type/AddressSet.sol/LibAddressSet.dbg.json +1 -1
  222. package/artifacts/contracts/type/AddressSet.sol/LibAddressSet.json +2 -2
  223. package/artifacts/contracts/type/Amount.sol/AmountLib.dbg.json +1 -1
  224. package/artifacts/contracts/type/Amount.sol/AmountLib.json +68 -4
  225. package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.dbg.json +1 -1
  226. package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.json +40 -2
  227. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.dbg.json +1 -1
  228. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.json +2 -2
  229. package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.dbg.json +1 -1
  230. package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.json +2 -2
  231. package/artifacts/contracts/type/Fee.sol/FeeLib.dbg.json +1 -1
  232. package/artifacts/contracts/type/Fee.sol/FeeLib.json +2 -2
  233. package/artifacts/contracts/type/Key32.sol/Key32Lib.dbg.json +1 -1
  234. package/artifacts/contracts/type/Key32.sol/Key32Lib.json +2 -2
  235. package/artifacts/contracts/type/NftId.sol/NftIdLib.dbg.json +1 -1
  236. package/artifacts/contracts/type/NftId.sol/NftIdLib.json +28 -4
  237. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.dbg.json +1 -1
  238. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.json +2 -2
  239. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.dbg.json +1 -1
  240. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.json +15 -2
  241. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.dbg.json +1 -1
  242. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.json +2 -2
  243. package/artifacts/contracts/type/Referral.sol/ReferralLib.dbg.json +1 -1
  244. package/artifacts/contracts/type/Referral.sol/ReferralLib.json +2 -2
  245. package/artifacts/contracts/type/RequestId.sol/RequestIdLib.dbg.json +4 -0
  246. package/artifacts/contracts/type/RequestId.sol/RequestIdLib.json +204 -0
  247. package/artifacts/contracts/type/RiskId.sol/RiskIdLib.dbg.json +1 -1
  248. package/artifacts/contracts/type/RiskId.sol/RiskIdLib.json +2 -2
  249. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.dbg.json +1 -1
  250. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.json +2 -2
  251. package/artifacts/contracts/type/Seconds.sol/SecondsLib.dbg.json +1 -1
  252. package/artifacts/contracts/type/Seconds.sol/SecondsLib.json +76 -2
  253. package/artifacts/contracts/type/StateId.sol/StateIdLib.dbg.json +1 -1
  254. package/artifacts/contracts/type/StateId.sol/StateIdLib.json +2 -2
  255. package/artifacts/contracts/type/Timestamp.sol/TimestampLib.dbg.json +1 -1
  256. package/artifacts/contracts/type/Timestamp.sol/TimestampLib.json +17 -4
  257. package/artifacts/contracts/type/UFixed.sol/MathLib.dbg.json +1 -1
  258. package/artifacts/contracts/type/UFixed.sol/UFixedLib.dbg.json +1 -1
  259. package/artifacts/contracts/type/Version.sol/VersionLib.dbg.json +1 -1
  260. package/artifacts/contracts/type/Version.sol/VersionLib.json +2 -2
  261. package/artifacts/contracts/type/Version.sol/VersionPartLib.dbg.json +1 -1
  262. package/artifacts/contracts/type/Version.sol/VersionPartLib.json +2 -2
  263. package/contracts/distribution/Distribution.sol +2 -4
  264. package/contracts/distribution/DistributionService.sol +3 -2
  265. package/contracts/distribution/DistributionServiceManager.sol +9 -18
  266. package/contracts/distribution/IDistributionComponent.sol +1 -1
  267. package/contracts/distribution/IDistributionService.sol +1 -1
  268. package/contracts/instance/IInstance.sol +11 -6
  269. package/contracts/instance/IInstanceService.sol +3 -5
  270. package/contracts/instance/Instance.sol +29 -21
  271. package/contracts/instance/InstanceAdmin.sol +331 -0
  272. package/contracts/instance/InstanceAuthorizationsLib.sol +192 -151
  273. package/contracts/instance/InstanceReader.sol +30 -6
  274. package/contracts/instance/InstanceService.sol +69 -55
  275. package/contracts/instance/InstanceServiceManager.sol +10 -20
  276. package/contracts/instance/InstanceStore.sol +64 -42
  277. package/contracts/instance/base/BalanceStore.sol +1 -1
  278. package/contracts/instance/base/ObjectCounter.sol +21 -0
  279. package/contracts/instance/module/IAccess.sol +2 -10
  280. package/contracts/mock/Dip.sol +26 -0
  281. package/contracts/oracle/IOracle.sol +20 -0
  282. package/contracts/oracle/IOracleComponent.sol +32 -0
  283. package/contracts/oracle/IOracleService.sol +65 -0
  284. package/contracts/oracle/Oracle.sol +145 -0
  285. package/contracts/oracle/OracleService.sol +277 -0
  286. package/contracts/oracle/OracleServiceManager.sol +42 -0
  287. package/contracts/pool/BundleService.sol +6 -23
  288. package/contracts/pool/BundleServiceManager.sol +9 -18
  289. package/contracts/pool/IBundleService.sol +1 -1
  290. package/contracts/pool/IPoolService.sol +4 -1
  291. package/contracts/pool/PoolService.sol +45 -13
  292. package/contracts/pool/PoolServiceManager.sol +9 -18
  293. package/contracts/product/ApplicationService.sol +6 -5
  294. package/contracts/product/ApplicationServiceManager.sol +9 -6
  295. package/contracts/product/ClaimService.sol +13 -7
  296. package/contracts/product/ClaimServiceManager.sol +9 -6
  297. package/contracts/product/IApplicationService.sol +1 -1
  298. package/contracts/product/IClaimService.sol +7 -1
  299. package/contracts/product/IPolicyService.sol +1 -1
  300. package/contracts/product/IPricingService.sol +1 -1
  301. package/contracts/product/IProductService.sol +1 -1
  302. package/contracts/product/PolicyService.sol +10 -6
  303. package/contracts/product/PolicyServiceManager.sol +9 -21
  304. package/contracts/product/PricingService.sol +10 -9
  305. package/contracts/product/PricingServiceManager.sol +9 -18
  306. package/contracts/product/Product.sol +1 -1
  307. package/contracts/product/ProductService.sol +7 -5
  308. package/contracts/product/ProductServiceManager.sol +9 -21
  309. package/contracts/registry/ChainNft.sol +1 -0
  310. package/contracts/registry/IRegistry.sol +37 -24
  311. package/contracts/registry/IRegistryService.sol +26 -36
  312. package/contracts/registry/Registry.sol +164 -117
  313. package/contracts/registry/RegistryAdmin.sol +237 -0
  314. package/contracts/registry/RegistryService.sol +22 -83
  315. package/contracts/registry/RegistryServiceManager.sol +21 -23
  316. package/contracts/registry/ReleaseManager.sol +448 -223
  317. package/contracts/registry/TokenRegistry.sol +187 -59
  318. package/contracts/shared/AccessManagerCustom.sol +736 -0
  319. package/contracts/shared/AccessManagerExtended.sol +470 -0
  320. package/contracts/shared/AccessManagerExtendedInitializeable.sol +13 -0
  321. package/contracts/shared/AccessManagerExtendedWithDisable.sol +137 -0
  322. package/contracts/shared/AccessManagerExtendedWithDisableInitializeable.sol +14 -0
  323. package/contracts/shared/Component.sol +8 -13
  324. package/contracts/shared/ComponentService.sol +35 -13
  325. package/contracts/shared/ComponentVerifyingService.sol +13 -7
  326. package/contracts/shared/ERC165.sol +1 -1
  327. package/contracts/shared/IAccessManagerExtended.sol +74 -0
  328. package/contracts/shared/IAccessManagerExtendedWithDisable.sol +18 -0
  329. package/contracts/shared/IComponent.sol +3 -7
  330. package/contracts/shared/IComponentService.sol +11 -0
  331. package/contracts/shared/IKeyValueStore.sol +1 -1
  332. package/contracts/shared/INftOwnable.sol +1 -1
  333. package/contracts/shared/IPolicyHolder.sol +6 -1
  334. package/contracts/shared/IService.sol +1 -1
  335. package/contracts/shared/InitializableCustom.sol +177 -0
  336. package/contracts/shared/InstanceLinkedComponent.sol +1 -2
  337. package/contracts/shared/KeyValueStore.sol +24 -66
  338. package/contracts/shared/Lifecycle.sol +11 -2
  339. package/contracts/shared/NftIdSetManager.sol +65 -0
  340. package/contracts/shared/NftOwnable.sol +2 -13
  341. package/contracts/shared/PolicyHolder.sol +21 -13
  342. package/contracts/shared/ProxyManager.sol +31 -1
  343. package/contracts/shared/Service.sol +1 -1
  344. package/contracts/staking/IStaking.sol +127 -36
  345. package/contracts/staking/IStakingService.sol +83 -39
  346. package/contracts/staking/StakeManagerLib.sol +179 -0
  347. package/contracts/staking/Staking.sol +432 -93
  348. package/contracts/staking/StakingManager.sol +22 -14
  349. package/contracts/staking/StakingReader.sol +187 -0
  350. package/contracts/staking/StakingService.sol +245 -39
  351. package/contracts/staking/StakingServiceManager.sol +8 -4
  352. package/contracts/staking/StakingStore.sol +572 -0
  353. package/contracts/staking/TargetManagerLib.sol +207 -0
  354. package/contracts/type/AddressSet.sol +1 -1
  355. package/contracts/type/Amount.sol +15 -1
  356. package/contracts/type/Blocknumber.sol +14 -2
  357. package/contracts/type/Fee.sol +1 -1
  358. package/contracts/type/NftId.sol +9 -4
  359. package/contracts/type/NftIdSet.sol +1 -1
  360. package/contracts/type/ObjectType.sol +12 -9
  361. package/contracts/type/Referral.sol +1 -1
  362. package/contracts/type/RequestId.sol +75 -0
  363. package/contracts/type/RiskId.sol +1 -1
  364. package/contracts/type/RoleId.sol +16 -8
  365. package/contracts/type/Seconds.sol +27 -0
  366. package/contracts/type/StateId.sol +27 -2
  367. package/contracts/type/Timestamp.sol +6 -2
  368. package/contracts/type/Version.sol +1 -1
  369. package/package.json +3 -3
  370. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.dbg.json +0 -4
  371. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.json +0 -1348
  372. package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.dbg.json +0 -4
  373. package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.json +0 -308
  374. package/artifacts/contracts/shared/AccessManagerUpgradeableInitializeable.sol/AccessManagerUpgradeableInitializeable.dbg.json +0 -4
  375. package/artifacts/contracts/shared/AccessManagerUpgradeableInitializeable.sol/AccessManagerUpgradeableInitializeable.json +0 -1206
  376. package/contracts/instance/InstanceAccessManager.sol +0 -543
  377. package/contracts/registry/RegistryAccessManager.sol +0 -213
  378. package/contracts/shared/AccessManagerUpgradeableInitializeable.sol +0 -13
@@ -95,6 +95,85 @@
95
95
  "name": "ErrorServiceNotImplemented",
96
96
  "type": "error"
97
97
  },
98
+ {
99
+ "inputs": [
100
+ {
101
+ "internalType": "NftId",
102
+ "name": "targetNftId",
103
+ "type": "uint96"
104
+ },
105
+ {
106
+ "internalType": "address",
107
+ "name": "tokenHandler",
108
+ "type": "address"
109
+ },
110
+ {
111
+ "internalType": "uint256",
112
+ "name": "amount",
113
+ "type": "uint256"
114
+ },
115
+ {
116
+ "internalType": "uint256",
117
+ "name": "allowance",
118
+ "type": "uint256"
119
+ }
120
+ ],
121
+ "name": "ErrorStakingServiceDipAllowanceInsufficient",
122
+ "type": "error"
123
+ },
124
+ {
125
+ "inputs": [
126
+ {
127
+ "internalType": "NftId",
128
+ "name": "targetNftId",
129
+ "type": "uint96"
130
+ },
131
+ {
132
+ "internalType": "uint256",
133
+ "name": "amount",
134
+ "type": "uint256"
135
+ },
136
+ {
137
+ "internalType": "uint256",
138
+ "name": "balance",
139
+ "type": "uint256"
140
+ }
141
+ ],
142
+ "name": "ErrorStakingServiceDipBalanceInsufficient",
143
+ "type": "error"
144
+ },
145
+ {
146
+ "inputs": [
147
+ {
148
+ "internalType": "NftId",
149
+ "name": "targetNftId",
150
+ "type": "uint96"
151
+ }
152
+ ],
153
+ "name": "ErrorStakingServiceNotActiveTargetNftId",
154
+ "type": "error"
155
+ },
156
+ {
157
+ "inputs": [
158
+ {
159
+ "internalType": "NftId",
160
+ "name": "nftId",
161
+ "type": "uint96"
162
+ },
163
+ {
164
+ "internalType": "address",
165
+ "name": "expectedOwner",
166
+ "type": "address"
167
+ },
168
+ {
169
+ "internalType": "address",
170
+ "name": "owner",
171
+ "type": "address"
172
+ }
173
+ ],
174
+ "name": "ErrorStakingServiceNotNftOwner",
175
+ "type": "error"
176
+ },
98
177
  {
99
178
  "inputs": [
100
179
  {
@@ -117,6 +196,22 @@
117
196
  "name": "ErrorStakingServiceNotSupportingIStaking",
118
197
  "type": "error"
119
198
  },
199
+ {
200
+ "inputs": [
201
+ {
202
+ "internalType": "NftId",
203
+ "name": "targetNftId",
204
+ "type": "uint96"
205
+ }
206
+ ],
207
+ "name": "ErrorStakingServiceNotTargetNftId",
208
+ "type": "error"
209
+ },
210
+ {
211
+ "inputs": [],
212
+ "name": "ErrorStakingServiceZeroTargetNftId",
213
+ "type": "error"
214
+ },
120
215
  {
121
216
  "inputs": [],
122
217
  "name": "InvalidInitialization",
@@ -153,6 +248,275 @@
153
248
  "name": "Initialized",
154
249
  "type": "event"
155
250
  },
251
+ {
252
+ "anonymous": false,
253
+ "inputs": [
254
+ {
255
+ "indexed": false,
256
+ "internalType": "NftId",
257
+ "name": "instanceNftId",
258
+ "type": "uint96"
259
+ },
260
+ {
261
+ "indexed": false,
262
+ "internalType": "uint256",
263
+ "name": "chainId",
264
+ "type": "uint256"
265
+ }
266
+ ],
267
+ "name": "LogStakingServiceInstanceTargetRegistered",
268
+ "type": "event"
269
+ },
270
+ {
271
+ "anonymous": false,
272
+ "inputs": [
273
+ {
274
+ "indexed": false,
275
+ "internalType": "NftId",
276
+ "name": "targetNftId",
277
+ "type": "uint96"
278
+ },
279
+ {
280
+ "indexed": false,
281
+ "internalType": "Seconds",
282
+ "name": "oldLockingDuration",
283
+ "type": "uint40"
284
+ },
285
+ {
286
+ "indexed": false,
287
+ "internalType": "Seconds",
288
+ "name": "lockingDuration",
289
+ "type": "uint40"
290
+ }
291
+ ],
292
+ "name": "LogStakingServiceLockingPeriodSet",
293
+ "type": "event"
294
+ },
295
+ {
296
+ "anonymous": false,
297
+ "inputs": [
298
+ {
299
+ "indexed": false,
300
+ "internalType": "NftId",
301
+ "name": "protocolNftId",
302
+ "type": "uint96"
303
+ }
304
+ ],
305
+ "name": "LogStakingServiceProtocolTargetRegistered",
306
+ "type": "event"
307
+ },
308
+ {
309
+ "anonymous": false,
310
+ "inputs": [
311
+ {
312
+ "indexed": false,
313
+ "internalType": "NftId",
314
+ "name": "targetNftId",
315
+ "type": "uint96"
316
+ },
317
+ {
318
+ "indexed": false,
319
+ "internalType": "UFixed",
320
+ "name": "oldRewardRate",
321
+ "type": "uint256"
322
+ },
323
+ {
324
+ "indexed": false,
325
+ "internalType": "UFixed",
326
+ "name": "rewardRate",
327
+ "type": "uint256"
328
+ }
329
+ ],
330
+ "name": "LogStakingServiceRewardRateSet",
331
+ "type": "event"
332
+ },
333
+ {
334
+ "anonymous": false,
335
+ "inputs": [
336
+ {
337
+ "indexed": false,
338
+ "internalType": "NftId",
339
+ "name": "targetNftId",
340
+ "type": "uint96"
341
+ },
342
+ {
343
+ "indexed": false,
344
+ "internalType": "address",
345
+ "name": "targetOwner",
346
+ "type": "address"
347
+ },
348
+ {
349
+ "indexed": false,
350
+ "internalType": "Amount",
351
+ "name": "dipAmount",
352
+ "type": "uint96"
353
+ },
354
+ {
355
+ "indexed": false,
356
+ "internalType": "Amount",
357
+ "name": "newBalance",
358
+ "type": "uint96"
359
+ }
360
+ ],
361
+ "name": "LogStakingServiceRewardReservesDecreased",
362
+ "type": "event"
363
+ },
364
+ {
365
+ "anonymous": false,
366
+ "inputs": [
367
+ {
368
+ "indexed": false,
369
+ "internalType": "NftId",
370
+ "name": "targetNftId",
371
+ "type": "uint96"
372
+ },
373
+ {
374
+ "indexed": false,
375
+ "internalType": "address",
376
+ "name": "rewardProvider",
377
+ "type": "address"
378
+ },
379
+ {
380
+ "indexed": false,
381
+ "internalType": "Amount",
382
+ "name": "dipAmount",
383
+ "type": "uint96"
384
+ },
385
+ {
386
+ "indexed": false,
387
+ "internalType": "Amount",
388
+ "name": "newBalance",
389
+ "type": "uint96"
390
+ }
391
+ ],
392
+ "name": "LogStakingServiceRewardReservesIncreased",
393
+ "type": "event"
394
+ },
395
+ {
396
+ "anonymous": false,
397
+ "inputs": [
398
+ {
399
+ "indexed": false,
400
+ "internalType": "NftId",
401
+ "name": "stakeNftId",
402
+ "type": "uint96"
403
+ },
404
+ {
405
+ "indexed": false,
406
+ "internalType": "address",
407
+ "name": "stakeOwner",
408
+ "type": "address"
409
+ },
410
+ {
411
+ "indexed": false,
412
+ "internalType": "Amount",
413
+ "name": "rewardsClaimedAmount",
414
+ "type": "uint96"
415
+ }
416
+ ],
417
+ "name": "LogStakingServiceRewardsClaimed",
418
+ "type": "event"
419
+ },
420
+ {
421
+ "anonymous": false,
422
+ "inputs": [
423
+ {
424
+ "indexed": false,
425
+ "internalType": "NftId",
426
+ "name": "stakeNftId",
427
+ "type": "uint96"
428
+ }
429
+ ],
430
+ "name": "LogStakingServiceRewardsUpdated",
431
+ "type": "event"
432
+ },
433
+ {
434
+ "anonymous": false,
435
+ "inputs": [
436
+ {
437
+ "indexed": false,
438
+ "internalType": "NftId",
439
+ "name": "stakeNftId",
440
+ "type": "uint96"
441
+ },
442
+ {
443
+ "indexed": false,
444
+ "internalType": "NftId",
445
+ "name": "targetNftId",
446
+ "type": "uint96"
447
+ },
448
+ {
449
+ "indexed": false,
450
+ "internalType": "address",
451
+ "name": "owner",
452
+ "type": "address"
453
+ },
454
+ {
455
+ "indexed": false,
456
+ "internalType": "Amount",
457
+ "name": "stakedAmount",
458
+ "type": "uint96"
459
+ }
460
+ ],
461
+ "name": "LogStakingServiceStakeCreated",
462
+ "type": "event"
463
+ },
464
+ {
465
+ "anonymous": false,
466
+ "inputs": [
467
+ {
468
+ "indexed": false,
469
+ "internalType": "NftId",
470
+ "name": "stakeNftId",
471
+ "type": "uint96"
472
+ },
473
+ {
474
+ "indexed": false,
475
+ "internalType": "address",
476
+ "name": "owner",
477
+ "type": "address"
478
+ },
479
+ {
480
+ "indexed": false,
481
+ "internalType": "Amount",
482
+ "name": "stakedAmount",
483
+ "type": "uint96"
484
+ },
485
+ {
486
+ "indexed": false,
487
+ "internalType": "Amount",
488
+ "name": "stakeBalance",
489
+ "type": "uint96"
490
+ }
491
+ ],
492
+ "name": "LogStakingServiceStakeIncreased",
493
+ "type": "event"
494
+ },
495
+ {
496
+ "anonymous": false,
497
+ "inputs": [
498
+ {
499
+ "indexed": false,
500
+ "internalType": "NftId",
501
+ "name": "stakeNftId",
502
+ "type": "uint96"
503
+ },
504
+ {
505
+ "indexed": false,
506
+ "internalType": "address",
507
+ "name": "stakeOwner",
508
+ "type": "address"
509
+ },
510
+ {
511
+ "indexed": false,
512
+ "internalType": "Amount",
513
+ "name": "totalAmount",
514
+ "type": "uint96"
515
+ }
516
+ ],
517
+ "name": "LogStakingServiceUnstaked",
518
+ "type": "event"
519
+ },
156
520
  {
157
521
  "inputs": [],
158
522
  "name": "NFT_OWNABLE_STORAGE_LOCATION_V1",
@@ -213,7 +577,7 @@
213
577
  "type": "uint96"
214
578
  }
215
579
  ],
216
- "name": "close",
580
+ "name": "claimRewards",
217
581
  "outputs": [],
218
582
  "stateMutability": "nonpayable",
219
583
  "type": "function"
@@ -227,7 +591,7 @@
227
591
  },
228
592
  {
229
593
  "internalType": "Amount",
230
- "name": "amount",
594
+ "name": "dipAmount",
231
595
  "type": "uint96"
232
596
  }
233
597
  ],
@@ -250,22 +614,29 @@
250
614
  "type": "uint96"
251
615
  },
252
616
  {
253
- "internalType": "address",
254
- "name": "token",
255
- "type": "address"
617
+ "internalType": "Seconds",
618
+ "name": "initialLockingPeriod",
619
+ "type": "uint40"
256
620
  },
257
621
  {
258
- "internalType": "Amount",
259
- "name": "amount",
260
- "type": "uint96"
622
+ "internalType": "UFixed",
623
+ "name": "initialRewardRate",
624
+ "type": "uint256"
261
625
  }
262
626
  ],
263
- "name": "decreaseTotalValueLocked",
627
+ "name": "createInstanceTarget",
628
+ "outputs": [],
629
+ "stateMutability": "nonpayable",
630
+ "type": "function"
631
+ },
632
+ {
633
+ "inputs": [],
634
+ "name": "getDipToken",
264
635
  "outputs": [
265
636
  {
266
- "internalType": "Amount",
267
- "name": "totalValueLocked",
268
- "type": "uint96"
637
+ "internalType": "contract IERC20Metadata",
638
+ "name": "dip",
639
+ "type": "address"
269
640
  }
270
641
  ],
271
642
  "stateMutability": "nonpayable",
@@ -388,44 +759,28 @@
388
759
  },
389
760
  {
390
761
  "inputs": [],
391
- "name": "getVersion",
762
+ "name": "getTokenHandler",
392
763
  "outputs": [
393
764
  {
394
- "internalType": "Version",
395
- "name": "",
396
- "type": "uint24"
765
+ "internalType": "contract TokenHandler",
766
+ "name": "tokenHandler",
767
+ "type": "address"
397
768
  }
398
769
  ],
399
- "stateMutability": "pure",
770
+ "stateMutability": "nonpayable",
400
771
  "type": "function"
401
772
  },
402
773
  {
403
- "inputs": [
404
- {
405
- "internalType": "NftId",
406
- "name": "targetNftId",
407
- "type": "uint96"
408
- },
409
- {
410
- "internalType": "address",
411
- "name": "token",
412
- "type": "address"
413
- },
414
- {
415
- "internalType": "Amount",
416
- "name": "amount",
417
- "type": "uint96"
418
- }
419
- ],
420
- "name": "increaseTotalValueLocked",
774
+ "inputs": [],
775
+ "name": "getVersion",
421
776
  "outputs": [
422
777
  {
423
- "internalType": "Amount",
424
- "name": "totalValueLocked",
425
- "type": "uint96"
778
+ "internalType": "Version",
779
+ "name": "",
780
+ "type": "uint24"
426
781
  }
427
782
  ],
428
- "stateMutability": "nonpayable",
783
+ "stateMutability": "pure",
429
784
  "type": "function"
430
785
  },
431
786
  {
@@ -561,7 +916,13 @@
561
916
  {
562
917
  "inputs": [],
563
918
  "name": "linkToRegisteredNftId",
564
- "outputs": [],
919
+ "outputs": [
920
+ {
921
+ "internalType": "NftId",
922
+ "name": "nftId",
923
+ "type": "uint96"
924
+ }
925
+ ],
565
926
  "stateMutability": "nonpayable",
566
927
  "type": "function"
567
928
  },
@@ -569,26 +930,21 @@
569
930
  "inputs": [
570
931
  {
571
932
  "internalType": "NftId",
572
- "name": "stakeNftId",
933
+ "name": "targetNftId",
573
934
  "type": "uint96"
574
935
  },
575
936
  {
576
- "internalType": "NftId",
577
- "name": "newTargetNftId",
937
+ "internalType": "Amount",
938
+ "name": "dipAmount",
578
939
  "type": "uint96"
579
940
  }
580
941
  ],
581
- "name": "reStake",
942
+ "name": "refillRewardReserves",
582
943
  "outputs": [
583
944
  {
584
- "internalType": "NftId",
585
- "name": "newStakeNftId",
945
+ "internalType": "Amount",
946
+ "name": "newBalance",
586
947
  "type": "uint96"
587
- },
588
- {
589
- "internalType": "Timestamp",
590
- "name": "unlockedAt",
591
- "type": "uint40"
592
948
  }
593
949
  ],
594
950
  "stateMutability": "nonpayable",
@@ -607,6 +963,37 @@
607
963
  "stateMutability": "nonpayable",
608
964
  "type": "function"
609
965
  },
966
+ {
967
+ "inputs": [],
968
+ "name": "registerProtocolTarget",
969
+ "outputs": [],
970
+ "stateMutability": "nonpayable",
971
+ "type": "function"
972
+ },
973
+ {
974
+ "inputs": [
975
+ {
976
+ "internalType": "NftId",
977
+ "name": "stakeNftId",
978
+ "type": "uint96"
979
+ },
980
+ {
981
+ "internalType": "NftId",
982
+ "name": "newTargetNftId",
983
+ "type": "uint96"
984
+ }
985
+ ],
986
+ "name": "restakeToNewTarget",
987
+ "outputs": [
988
+ {
989
+ "internalType": "NftId",
990
+ "name": "newStakeNftId",
991
+ "type": "uint96"
992
+ }
993
+ ],
994
+ "stateMutability": "nonpayable",
995
+ "type": "function"
996
+ },
610
997
  {
611
998
  "inputs": [
612
999
  {
@@ -620,6 +1007,42 @@
620
1007
  "stateMutability": "nonpayable",
621
1008
  "type": "function"
622
1009
  },
1010
+ {
1011
+ "inputs": [
1012
+ {
1013
+ "internalType": "NftId",
1014
+ "name": "targetNftId",
1015
+ "type": "uint96"
1016
+ },
1017
+ {
1018
+ "internalType": "Seconds",
1019
+ "name": "lockingPeriod",
1020
+ "type": "uint40"
1021
+ }
1022
+ ],
1023
+ "name": "setLockingPeriod",
1024
+ "outputs": [],
1025
+ "stateMutability": "nonpayable",
1026
+ "type": "function"
1027
+ },
1028
+ {
1029
+ "inputs": [
1030
+ {
1031
+ "internalType": "NftId",
1032
+ "name": "targetNftId",
1033
+ "type": "uint96"
1034
+ },
1035
+ {
1036
+ "internalType": "UFixed",
1037
+ "name": "rewardRate",
1038
+ "type": "uint256"
1039
+ }
1040
+ ],
1041
+ "name": "setRewardRate",
1042
+ "outputs": [],
1043
+ "stateMutability": "nonpayable",
1044
+ "type": "function"
1045
+ },
623
1046
  {
624
1047
  "inputs": [
625
1048
  {
@@ -652,7 +1075,7 @@
652
1075
  },
653
1076
  {
654
1077
  "internalType": "Amount",
655
- "name": "amount",
1078
+ "name": "dipAmount",
656
1079
  "type": "uint96"
657
1080
  }
658
1081
  ],
@@ -686,14 +1109,22 @@
686
1109
  "internalType": "NftId",
687
1110
  "name": "stakeNftId",
688
1111
  "type": "uint96"
689
- },
1112
+ }
1113
+ ],
1114
+ "name": "unstake",
1115
+ "outputs": [],
1116
+ "stateMutability": "nonpayable",
1117
+ "type": "function"
1118
+ },
1119
+ {
1120
+ "inputs": [
690
1121
  {
691
- "internalType": "Amount",
692
- "name": "amount",
1122
+ "internalType": "NftId",
1123
+ "name": "stakeNftId",
693
1124
  "type": "uint96"
694
1125
  }
695
1126
  ],
696
- "name": "unstake",
1127
+ "name": "updateRewards",
697
1128
  "outputs": [],
698
1129
  "stateMutability": "nonpayable",
699
1130
  "type": "function"
@@ -710,28 +1141,84 @@
710
1141
  "outputs": [],
711
1142
  "stateMutability": "nonpayable",
712
1143
  "type": "function"
1144
+ },
1145
+ {
1146
+ "inputs": [
1147
+ {
1148
+ "internalType": "NftId",
1149
+ "name": "targetNftId",
1150
+ "type": "uint96"
1151
+ },
1152
+ {
1153
+ "internalType": "Amount",
1154
+ "name": "dipAmount",
1155
+ "type": "uint96"
1156
+ }
1157
+ ],
1158
+ "name": "withdrawRewardReserves",
1159
+ "outputs": [
1160
+ {
1161
+ "internalType": "Amount",
1162
+ "name": "newBalance",
1163
+ "type": "uint96"
1164
+ }
1165
+ ],
1166
+ "stateMutability": "nonpayable",
1167
+ "type": "function"
713
1168
  }
714
1169
  ],
715
- "bytecode": "0x608060405234801561001057600080fd5b5061001961001e565b6100d0565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00805468010000000000000000900460ff161561006e5760405163f92ee8a960e01b815260040160405180910390fd5b80546001600160401b03908116146100cd5780546001600160401b0319166001600160401b0390811782556040519081527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50565b6120bf80620000e06000396000f3fe608060405234801561001057600080fd5b50600436106101e55760003560e01c80636c1e9dff1161010f578063943bd197116100a2578063d1c0d10d11610071578063d1c0d10d1461048e578063d44f8a4b146104ca578063ea48ce9b146104ca578063f7c34ee0146104e157600080fd5b8063943bd19714610439578063ada9652e1461044c578063b68d180914610461578063bf7e214f1461047057600080fd5b8063893d20e8116100de578063893d20e8146103d65780638cf81e46146103de5780638e32e979146104055780638fb360371461041857600080fd5b80636c1e9dff146102c0578063756b30de1461037d5780637a9e5e4b146103935780637b1391a6146103a657600080fd5b806326889b091161018757806349bb9e4b1161015657806349bb9e4b146103005780635ab1bd5314610313578063644c45e014610338578063675393bf1461036a57600080fd5b806326889b09146102c057806327bb7a33146102d2578063329d6e74146102e557806336fc697e146102f857600080fd5b80630fec111c116101c35780630fec111c1461025b578063138461e0146102705780631eff4b2214610278578063214cdb80146102ad57600080fd5b806301ffc9a7146101ea5780630aaba8e81461022c5780630d8e6e2c1461023f575b600080fd5b6102176101f8366004611824565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b61023d61023a36600461186a565b50565b005b6102476104f4565b60405162ffffff9091168152602001610223565b61026361057e565b60405161022391906118d7565b61023d610742565b61029f7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b604051908152602001610223565b61023d6102bb366004611824565b610949565b61023d6102ce366004611962565b5050565b61023d6102e0366004611ab8565b610976565b61023d6102f3366004611b50565b610a1b565b61023d610b68565b61023d61030e366004611b84565b610bae565b6001546001600160a01b03165b6040516001600160a01b039091168152602001610223565b60008051602061202a833981519152546001600160601b03165b6040516001600160601b039091168152602001610223565b61023d610378366004611bd3565b610cad565b61035261038b366004611962565b600092915050565b61023d6103a1366004611bd3565b610db6565b7f6548005c3f4340f82f348c576c0ff69f7f529cadd5ad41f96aae61abceeaa300546001600160a01b0316610320565b610320610e50565b61029f7f6548005c3f4340f82f348c576c0ff69f7f529cadd5ad41f96aae61abceeaa30081565b61023d610413366004611bf0565b610f87565b6104206111bb565b6040516001600160e01b03199091168152602001610223565b61023d610447366004611c3b565b505050565b61029f60008051602061202a83398151915281565b604051602d8152602001610223565b60008051602061204a833981519152546001600160a01b0316610320565b6104a561049c366004611962565b50600091829150565b604080516001600160601b03909316835264ffffffffff909116602083015201610223565b6103526104d8366004611c3b565b60009392505050565b61023d6104ef366004611c7b565b6111f3565b604051632efe011360e01b815260036004820152600060248201819052604482018190529073__$8eede297b65ed5a56eb3f84d8232ae93f5$__90632efe011390606401602060405180830381865af4158015610555573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105799190611ca9565b905090565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a082019290925260c081019190915260007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e0016040528073__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015610632573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106569190611cde565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a00161069e610e50565b6001600160a01b031681526020018260010180546106bb90611cfb565b80601f01602080910402602001604051908101604052809291908181526020018280546106e790611cfb565b80156107345780601f1061070957610100808354040283529160200191610734565b820191906000526020600020905b81548152906001019060200180831161071757829003601f168201915b505050505081525091505090565b600060008051602061202a83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af41580156107b1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107d59190611d40565b156108065780546040516301ab8b6760e21b81526001600160601b0390911660048201526024015b60405180910390fd5b306108196001546001600160a01b031690565b60405163c3c5a54760e01b81526001600160a01b038381166004830152919091169063c3c5a54790602401602060405180830381865afa158015610861573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108859190611d40565b6108ad5760405163b9304b0d60e01b81526001600160a01b03821660048201526024016107fd565b6001546001600160a01b0316604051636939560f60e11b81526001600160a01b038381166004830152919091169063d272ac1e90602401602060405180830381865afa158015610901573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109259190611cde565b82546bffffffffffffffffffffffff19166001600160601b03919091161790915550565b61095161126a565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b61097e61126a565b61098882876111f3565b7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0387166cffffffffffffffffffffffffff1990911617600160601b60ff8716021760ff60681b1916600160681b851515021781557f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa301610a118382611dab565b5050505050505050565b73__$8eede297b65ed5a56eb3f84d8232ae93f5$__63a123b37c610a3d6104f4565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af4158015610a7d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610aa19190611e6a565b60008051602061206a8339815191528054600160401b900460ff1680610ad4575080546001600160401b03808416911610155b15610af25760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b178155610b1c836112a3565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a1505050565b610b7061126a565b6301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b60008051602061206a8339815191528054600160401b810460ff1615906001600160401b0316600081158015610be15750825b90506000826001600160401b03166001148015610bfd5750303b155b905081158015610c0b575080155b15610c295760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315610c5357845460ff60401b1916600160401b1785555b610c5d87876112ab565b8315610ca457845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a15b50505050505050565b610cb561126a565b806001600160a01b03163b600003610ceb5760405163fdeac91f60e01b81526001600160a01b03821660048201526024016107fd565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b815263256dc24d60e21b60048201526301ffc9a790602401602060405180830381865afa925050508015610d65575060408051601f3d908101601f19168201909252610d6291810190611d40565b60015b610d8d5760405163fdeac91f60e01b81526001600160a01b03821660048201526024016107fd565b806102ce5760405163fdeac91f60e01b81526001600160a01b03831660048201526024016107fd565b33610dd660008051602061204a833981519152546001600160a01b031690565b6001600160a01b0316816001600160a01b031614610e115760405162d1953b60e31b81526001600160a01b03821660048201526024016107fd565b816001600160a01b03163b600003610e47576040516361798f2f60e11b81526001600160a01b03831660048201526024016107fd565b6102ce82611411565b60008060008051602061202a83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015610ec0573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ee49190611d40565b15610f71576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015610f47573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f6b9190611e9e565b91505090565b54600160601b90046001600160a01b0316919050565b610f8f61126a565b61100f83846001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa158015610fd1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ff59190611cde565b603c60008560405180602001604052806000815250610976565b6001600160a01b0382161561102c5761102782611472565b61119b565b60006110406001546001600160a01b031690565b6001600160a01b031663d39e60436028604051632392b61b60e21b81526003600482015273__$b659da7d8a6d2d32aa6c1e17da23dc2174$__90638e4ad86c90602401602060405180830381865af41580156110a0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110c49190611ec6565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa158015611109573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061112d9190611e9e565b9050611199816001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611170573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111949190611e9e565b611472565b505b6111ab634a531f3360e01b610949565b61044763b68d180960e01b610949565b60008051602061204a833981519152805460009190600160a01b900460ff166111e5576000610f6b565b638fb3603760e01b91505090565b6111fb61126a565b61120481610cad565b61120c610b68565b6001600160a01b0382166112335760405163f17ef42d60e01b815260040160405180910390fd5b5060008051602061202a83398151915280546001600160601b0316600160601b6001600160a01b0390931692909202919091179055565b60008051602061206a83398151915254600160401b900460ff166112a157604051631afcd79f60e31b815260040160405180910390fd5b565b6101e561126a565b60008051602061206a8339815191528054600160401b810460ff1615906001600160401b03166000811580156112de5750825b90506000826001600160401b031660011480156112fa5750303b155b905081158015611308575080155b156113265760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561135057845460ff60401b1916600160401b1785555b600080878060200190518101906113679190611ee3565b915091506113778260008b610f87565b7f6548005c3f4340f82f348c576c0ff69f7f529cadd5ad41f96aae61abceeaa3006113a182611483565b81546001600160a01b0319166001600160a01b03919091161781556113cc630d6e52cb60e21b610949565b5050508315610ca457845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d290602001610c9b565b60008051602061204a83398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b61147a61126a565b61023a81611700565b6000806114986001546001600160a01b031690565b6040516308b09a5f60e41b81526001600160a01b0385811660048301529190911690638b09a5f090602401600060405180830381865afa1580156114e0573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526115089190810190611f57565b80516040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015611566573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061158a9190611d40565b156115db576115ab816040015161159f602d90565b60ff9081169116141590565b156115d457604051637dbf3cff60e11b81526001600160a01b03841660048201526024016107fd565b5090919050565b6040516301ffc9a760e01b81526339dee94960e01b60048201526001600160a01b038416906301ffc9a790602401602060405180830381865afa158015611626573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061164a9190611d40565b61167257604051632bf4d8e560e21b81526001600160a01b03841660048201526024016107fd565b3361167d6028611711565b60405163c4c79d8b60e01b81526001600160a01b0386811660048301528381166024830152919091169063c4c79d8b906044016000604051808303816000875af11580156116cf573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526116f79190810190611f57565b50929392505050565b61170861126a565b61023a81611411565b60006117256001546001600160a01b031690565b6001600160a01b031663d39e60438361173c6104f4565b60405163c9e66e2960e01b815262ffffff909116600482015273__$8eede297b65ed5a56eb3f84d8232ae93f5$__9063c9e66e2990602401602060405180830381865af4158015611791573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117b59190611ec6565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa1580156117fa573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061181e9190611e9e565b92915050565b60006020828403121561183657600080fd5b81356001600160e01b03198116811461184e57600080fd5b9392505050565b6001600160601b038116811461023a57600080fd5b60006020828403121561187c57600080fd5b813561184e81611855565b60005b838110156118a257818101518382015260200161188a565b50506000910152565b600081518084526118c3816020860160208601611887565b601f01601f19169290920160200192915050565b6020815260006001600160601b038084511660208401528060208501511660408401525060ff604084015116606083015260608301511515608083015260018060a01b0360808401511660a083015260a083015161194060c08401826001600160a01b03169052565b5060c083015160e08084015261195a6101008401826118ab565b949350505050565b6000806040838503121561197557600080fd5b823561198081611855565b9150602083013561199081611855565b809150509250929050565b6001600160a01b038116811461023a57600080fd5b60ff8116811461023a57600080fd5b801515811461023a57600080fd5b634e487b7160e01b600052604160045260246000fd5b60405160e081016001600160401b0381118282101715611a0557611a056119cd565b60405290565b604051601f8201601f191681016001600160401b0381118282101715611a3357611a336119cd565b604052919050565b60006001600160401b03821115611a5457611a546119cd565b50601f01601f191660200190565b600082601f830112611a7357600080fd5b8135611a86611a8182611a3b565b611a0b565b818152846020838601011115611a9b57600080fd5b816020850160208301376000918101602001919091529392505050565b60008060008060008060c08789031215611ad157600080fd5b8635611adc8161199b565b95506020870135611aec81611855565b94506040870135611afc816119b0565b93506060870135611b0c816119bf565b92506080870135611b1c8161199b565b915060a08701356001600160401b03811115611b3757600080fd5b611b4389828a01611a62565b9150509295509295509295565b600060208284031215611b6257600080fd5b81356001600160401b03811115611b7857600080fd5b61195a84828501611a62565b60008060408385031215611b9757600080fd5b8235611ba28161199b565b915060208301356001600160401b03811115611bbd57600080fd5b611bc985828601611a62565b9150509250929050565b600060208284031215611be557600080fd5b813561184e8161199b565b600080600060608486031215611c0557600080fd5b8335611c108161199b565b92506020840135611c208161199b565b91506040840135611c308161199b565b809150509250925092565b600080600060608486031215611c5057600080fd5b8335611c5b81611855565b92506020840135611c6b8161199b565b91506040840135611c3081611855565b60008060408385031215611c8e57600080fd5b8235611c998161199b565b915060208301356119908161199b565b600060208284031215611cbb57600080fd5b815162ffffff8116811461184e57600080fd5b8051611cd981611855565b919050565b600060208284031215611cf057600080fd5b815161184e81611855565b600181811c90821680611d0f57607f821691505b602082108103611d2f57634e487b7160e01b600052602260045260246000fd5b50919050565b8051611cd9816119bf565b600060208284031215611d5257600080fd5b815161184e816119bf565b601f82111561044757600081815260208120601f850160051c81016020861015611d845750805b601f850160051c820191505b81811015611da357828155600101611d90565b505050505050565b81516001600160401b03811115611dc457611dc46119cd565b611dd881611dd28454611cfb565b84611d5d565b602080601f831160018114611e0d5760008415611df55750858301515b600019600386901b1c1916600185901b178555611da3565b600085815260208120601f198616915b82811015611e3c57888601518255948401946001909101908401611e1d565b5085821015611e5a5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b600060208284031215611e7c57600080fd5b81516001600160401b038116811461184e57600080fd5b8051611cd98161199b565b600060208284031215611eb057600080fd5b815161184e8161199b565b8051611cd9816119b0565b600060208284031215611ed857600080fd5b815161184e816119b0565b60008060408385031215611ef657600080fd5b8251611f018161199b565b60208401519092506119908161199b565b600082601f830112611f2357600080fd5b8151611f31611a8182611a3b565b818152846020838601011115611f4657600080fd5b61195a826020830160208701611887565b600060208284031215611f6957600080fd5b81516001600160401b0380821115611f8057600080fd5b9083019060e08286031215611f9457600080fd5b611f9c6119e3565b611fa583611cce565b8152611fb360208401611cce565b6020820152611fc460408401611ebb565b6040820152611fd560608401611d35565b6060820152611fe660808401611e93565b6080820152611ff760a08401611e93565b60a082015260c08301518281111561200e57600080fd5b61201a87828601611f12565b60c0830152509594505050505056fe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00f0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00a2646970667358221220c70dcd284409bc3e745980785e2068b5f1f710e5819c12907e9d4a528ce3bb3564736f6c63430008140033",
716
- "deployedBytecode": "0x608060405234801561001057600080fd5b50600436106101e55760003560e01c80636c1e9dff1161010f578063943bd197116100a2578063d1c0d10d11610071578063d1c0d10d1461048e578063d44f8a4b146104ca578063ea48ce9b146104ca578063f7c34ee0146104e157600080fd5b8063943bd19714610439578063ada9652e1461044c578063b68d180914610461578063bf7e214f1461047057600080fd5b8063893d20e8116100de578063893d20e8146103d65780638cf81e46146103de5780638e32e979146104055780638fb360371461041857600080fd5b80636c1e9dff146102c0578063756b30de1461037d5780637a9e5e4b146103935780637b1391a6146103a657600080fd5b806326889b091161018757806349bb9e4b1161015657806349bb9e4b146103005780635ab1bd5314610313578063644c45e014610338578063675393bf1461036a57600080fd5b806326889b09146102c057806327bb7a33146102d2578063329d6e74146102e557806336fc697e146102f857600080fd5b80630fec111c116101c35780630fec111c1461025b578063138461e0146102705780631eff4b2214610278578063214cdb80146102ad57600080fd5b806301ffc9a7146101ea5780630aaba8e81461022c5780630d8e6e2c1461023f575b600080fd5b6102176101f8366004611824565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b61023d61023a36600461186a565b50565b005b6102476104f4565b60405162ffffff9091168152602001610223565b61026361057e565b60405161022391906118d7565b61023d610742565b61029f7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b604051908152602001610223565b61023d6102bb366004611824565b610949565b61023d6102ce366004611962565b5050565b61023d6102e0366004611ab8565b610976565b61023d6102f3366004611b50565b610a1b565b61023d610b68565b61023d61030e366004611b84565b610bae565b6001546001600160a01b03165b6040516001600160a01b039091168152602001610223565b60008051602061202a833981519152546001600160601b03165b6040516001600160601b039091168152602001610223565b61023d610378366004611bd3565b610cad565b61035261038b366004611962565b600092915050565b61023d6103a1366004611bd3565b610db6565b7f6548005c3f4340f82f348c576c0ff69f7f529cadd5ad41f96aae61abceeaa300546001600160a01b0316610320565b610320610e50565b61029f7f6548005c3f4340f82f348c576c0ff69f7f529cadd5ad41f96aae61abceeaa30081565b61023d610413366004611bf0565b610f87565b6104206111bb565b6040516001600160e01b03199091168152602001610223565b61023d610447366004611c3b565b505050565b61029f60008051602061202a83398151915281565b604051602d8152602001610223565b60008051602061204a833981519152546001600160a01b0316610320565b6104a561049c366004611962565b50600091829150565b604080516001600160601b03909316835264ffffffffff909116602083015201610223565b6103526104d8366004611c3b565b60009392505050565b61023d6104ef366004611c7b565b6111f3565b604051632efe011360e01b815260036004820152600060248201819052604482018190529073__$8eede297b65ed5a56eb3f84d8232ae93f5$__90632efe011390606401602060405180830381865af4158015610555573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105799190611ca9565b905090565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a082019290925260c081019190915260007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e0016040528073__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015610632573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106569190611cde565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a00161069e610e50565b6001600160a01b031681526020018260010180546106bb90611cfb565b80601f01602080910402602001604051908101604052809291908181526020018280546106e790611cfb565b80156107345780601f1061070957610100808354040283529160200191610734565b820191906000526020600020905b81548152906001019060200180831161071757829003601f168201915b505050505081525091505090565b600060008051602061202a83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af41580156107b1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107d59190611d40565b156108065780546040516301ab8b6760e21b81526001600160601b0390911660048201526024015b60405180910390fd5b306108196001546001600160a01b031690565b60405163c3c5a54760e01b81526001600160a01b038381166004830152919091169063c3c5a54790602401602060405180830381865afa158015610861573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108859190611d40565b6108ad5760405163b9304b0d60e01b81526001600160a01b03821660048201526024016107fd565b6001546001600160a01b0316604051636939560f60e11b81526001600160a01b038381166004830152919091169063d272ac1e90602401602060405180830381865afa158015610901573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109259190611cde565b82546bffffffffffffffffffffffff19166001600160601b03919091161790915550565b61095161126a565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b61097e61126a565b61098882876111f3565b7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0387166cffffffffffffffffffffffffff1990911617600160601b60ff8716021760ff60681b1916600160681b851515021781557f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa301610a118382611dab565b5050505050505050565b73__$8eede297b65ed5a56eb3f84d8232ae93f5$__63a123b37c610a3d6104f4565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af4158015610a7d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610aa19190611e6a565b60008051602061206a8339815191528054600160401b900460ff1680610ad4575080546001600160401b03808416911610155b15610af25760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b178155610b1c836112a3565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a1505050565b610b7061126a565b6301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b60008051602061206a8339815191528054600160401b810460ff1615906001600160401b0316600081158015610be15750825b90506000826001600160401b03166001148015610bfd5750303b155b905081158015610c0b575080155b15610c295760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315610c5357845460ff60401b1916600160401b1785555b610c5d87876112ab565b8315610ca457845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a15b50505050505050565b610cb561126a565b806001600160a01b03163b600003610ceb5760405163fdeac91f60e01b81526001600160a01b03821660048201526024016107fd565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b815263256dc24d60e21b60048201526301ffc9a790602401602060405180830381865afa925050508015610d65575060408051601f3d908101601f19168201909252610d6291810190611d40565b60015b610d8d5760405163fdeac91f60e01b81526001600160a01b03821660048201526024016107fd565b806102ce5760405163fdeac91f60e01b81526001600160a01b03831660048201526024016107fd565b33610dd660008051602061204a833981519152546001600160a01b031690565b6001600160a01b0316816001600160a01b031614610e115760405162d1953b60e31b81526001600160a01b03821660048201526024016107fd565b816001600160a01b03163b600003610e47576040516361798f2f60e11b81526001600160a01b03831660048201526024016107fd565b6102ce82611411565b60008060008051602061202a83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015610ec0573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ee49190611d40565b15610f71576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015610f47573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f6b9190611e9e565b91505090565b54600160601b90046001600160a01b0316919050565b610f8f61126a565b61100f83846001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa158015610fd1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ff59190611cde565b603c60008560405180602001604052806000815250610976565b6001600160a01b0382161561102c5761102782611472565b61119b565b60006110406001546001600160a01b031690565b6001600160a01b031663d39e60436028604051632392b61b60e21b81526003600482015273__$b659da7d8a6d2d32aa6c1e17da23dc2174$__90638e4ad86c90602401602060405180830381865af41580156110a0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110c49190611ec6565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa158015611109573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061112d9190611e9e565b9050611199816001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611170573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111949190611e9e565b611472565b505b6111ab634a531f3360e01b610949565b61044763b68d180960e01b610949565b60008051602061204a833981519152805460009190600160a01b900460ff166111e5576000610f6b565b638fb3603760e01b91505090565b6111fb61126a565b61120481610cad565b61120c610b68565b6001600160a01b0382166112335760405163f17ef42d60e01b815260040160405180910390fd5b5060008051602061202a83398151915280546001600160601b0316600160601b6001600160a01b0390931692909202919091179055565b60008051602061206a83398151915254600160401b900460ff166112a157604051631afcd79f60e31b815260040160405180910390fd5b565b6101e561126a565b60008051602061206a8339815191528054600160401b810460ff1615906001600160401b03166000811580156112de5750825b90506000826001600160401b031660011480156112fa5750303b155b905081158015611308575080155b156113265760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561135057845460ff60401b1916600160401b1785555b600080878060200190518101906113679190611ee3565b915091506113778260008b610f87565b7f6548005c3f4340f82f348c576c0ff69f7f529cadd5ad41f96aae61abceeaa3006113a182611483565b81546001600160a01b0319166001600160a01b03919091161781556113cc630d6e52cb60e21b610949565b5050508315610ca457845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d290602001610c9b565b60008051602061204a83398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b61147a61126a565b61023a81611700565b6000806114986001546001600160a01b031690565b6040516308b09a5f60e41b81526001600160a01b0385811660048301529190911690638b09a5f090602401600060405180830381865afa1580156114e0573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526115089190810190611f57565b80516040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015611566573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061158a9190611d40565b156115db576115ab816040015161159f602d90565b60ff9081169116141590565b156115d457604051637dbf3cff60e11b81526001600160a01b03841660048201526024016107fd565b5090919050565b6040516301ffc9a760e01b81526339dee94960e01b60048201526001600160a01b038416906301ffc9a790602401602060405180830381865afa158015611626573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061164a9190611d40565b61167257604051632bf4d8e560e21b81526001600160a01b03841660048201526024016107fd565b3361167d6028611711565b60405163c4c79d8b60e01b81526001600160a01b0386811660048301528381166024830152919091169063c4c79d8b906044016000604051808303816000875af11580156116cf573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526116f79190810190611f57565b50929392505050565b61170861126a565b61023a81611411565b60006117256001546001600160a01b031690565b6001600160a01b031663d39e60438361173c6104f4565b60405163c9e66e2960e01b815262ffffff909116600482015273__$8eede297b65ed5a56eb3f84d8232ae93f5$__9063c9e66e2990602401602060405180830381865af4158015611791573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117b59190611ec6565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa1580156117fa573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061181e9190611e9e565b92915050565b60006020828403121561183657600080fd5b81356001600160e01b03198116811461184e57600080fd5b9392505050565b6001600160601b038116811461023a57600080fd5b60006020828403121561187c57600080fd5b813561184e81611855565b60005b838110156118a257818101518382015260200161188a565b50506000910152565b600081518084526118c3816020860160208601611887565b601f01601f19169290920160200192915050565b6020815260006001600160601b038084511660208401528060208501511660408401525060ff604084015116606083015260608301511515608083015260018060a01b0360808401511660a083015260a083015161194060c08401826001600160a01b03169052565b5060c083015160e08084015261195a6101008401826118ab565b949350505050565b6000806040838503121561197557600080fd5b823561198081611855565b9150602083013561199081611855565b809150509250929050565b6001600160a01b038116811461023a57600080fd5b60ff8116811461023a57600080fd5b801515811461023a57600080fd5b634e487b7160e01b600052604160045260246000fd5b60405160e081016001600160401b0381118282101715611a0557611a056119cd565b60405290565b604051601f8201601f191681016001600160401b0381118282101715611a3357611a336119cd565b604052919050565b60006001600160401b03821115611a5457611a546119cd565b50601f01601f191660200190565b600082601f830112611a7357600080fd5b8135611a86611a8182611a3b565b611a0b565b818152846020838601011115611a9b57600080fd5b816020850160208301376000918101602001919091529392505050565b60008060008060008060c08789031215611ad157600080fd5b8635611adc8161199b565b95506020870135611aec81611855565b94506040870135611afc816119b0565b93506060870135611b0c816119bf565b92506080870135611b1c8161199b565b915060a08701356001600160401b03811115611b3757600080fd5b611b4389828a01611a62565b9150509295509295509295565b600060208284031215611b6257600080fd5b81356001600160401b03811115611b7857600080fd5b61195a84828501611a62565b60008060408385031215611b9757600080fd5b8235611ba28161199b565b915060208301356001600160401b03811115611bbd57600080fd5b611bc985828601611a62565b9150509250929050565b600060208284031215611be557600080fd5b813561184e8161199b565b600080600060608486031215611c0557600080fd5b8335611c108161199b565b92506020840135611c208161199b565b91506040840135611c308161199b565b809150509250925092565b600080600060608486031215611c5057600080fd5b8335611c5b81611855565b92506020840135611c6b8161199b565b91506040840135611c3081611855565b60008060408385031215611c8e57600080fd5b8235611c998161199b565b915060208301356119908161199b565b600060208284031215611cbb57600080fd5b815162ffffff8116811461184e57600080fd5b8051611cd981611855565b919050565b600060208284031215611cf057600080fd5b815161184e81611855565b600181811c90821680611d0f57607f821691505b602082108103611d2f57634e487b7160e01b600052602260045260246000fd5b50919050565b8051611cd9816119bf565b600060208284031215611d5257600080fd5b815161184e816119bf565b601f82111561044757600081815260208120601f850160051c81016020861015611d845750805b601f850160051c820191505b81811015611da357828155600101611d90565b505050505050565b81516001600160401b03811115611dc457611dc46119cd565b611dd881611dd28454611cfb565b84611d5d565b602080601f831160018114611e0d5760008415611df55750858301515b600019600386901b1c1916600185901b178555611da3565b600085815260208120601f198616915b82811015611e3c57888601518255948401946001909101908401611e1d565b5085821015611e5a5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b600060208284031215611e7c57600080fd5b81516001600160401b038116811461184e57600080fd5b8051611cd98161199b565b600060208284031215611eb057600080fd5b815161184e8161199b565b8051611cd9816119b0565b600060208284031215611ed857600080fd5b815161184e816119b0565b60008060408385031215611ef657600080fd5b8251611f018161199b565b60208401519092506119908161199b565b600082601f830112611f2357600080fd5b8151611f31611a8182611a3b565b818152846020838601011115611f4657600080fd5b61195a826020830160208701611887565b600060208284031215611f6957600080fd5b81516001600160401b0380821115611f8057600080fd5b9083019060e08286031215611f9457600080fd5b611f9c6119e3565b611fa583611cce565b8152611fb360208401611cce565b6020820152611fc460408401611ebb565b6040820152611fd560608401611d35565b6060820152611fe660808401611e93565b6080820152611ff760a08401611e93565b60a082015260c08301518281111561200e57600080fd5b61201a87828601611f12565b60c0830152509594505050505056fe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00f0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00a2646970667358221220c70dcd284409bc3e745980785e2068b5f1f710e5819c12907e9d4a528ce3bb3564736f6c63430008140033",
1170
+ "bytecode": "0x60806040523480156200001157600080fd5b506200001c62000022565b620000d6565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00805468010000000000000000900460ff1615620000735760405163f92ee8a960e01b815260040160405180910390fd5b80546001600160401b0390811614620000d35780546001600160401b0319166001600160401b0390811782556040519081527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50565b6139b280620000e66000396000f3fe608060405234801561001057600080fd5b50600436106102325760003560e01c8063719f761a11610130578063943bd197116100b8578063dea4ccf21161007c578063dea4ccf214610552578063e8ce883d14610565578063f11bcbe714610578578063f67fef6d146105a8578063f7c34ee0146105bb57600080fd5b8063943bd197146104ea578063ada9652e146104fd578063b68d180914610512578063bf7e214f14610521578063de0eb85f1461053f57600080fd5b806381d9b45f116100ff57806381d9b45f14610486578063893d20e8146104995780638cf81e46146104a15780638e32e979146104b65780638fb36037146104c957600080fd5b8063719f761a1461042f578063756b30de146104425780637a9e5e4b146104555780637b1391a61461046857600080fd5b8063329d6e74116101be5780635ab1bd53116101825780635ab1bd53146103c75780635ecf260f146103d8578063644c45e0146103eb578063675393bf146104095780636c1e9dff1461041c57600080fd5b8063329d6e741461034d57806336fc697e14610360578063385b213a1461036857806343d752d31461037057806349bb9e4b146103b457600080fd5b8063138461e011610205578063138461e0146102bf5780631eff4b22146102df578063214cdb801461031457806327bb7a33146103275780632a80f6731461033a57600080fd5b806301ffc9a7146102375780630d8e6e2c146102795780630fec111c1461029557806310a0638a146102aa575b600080fd5b610264610245366004612f62565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b6102816105ce565b60405162ffffff9091168152602001610270565b61029d610658565b6040516102709190612fdc565b6102bd6102b836600461307c565b61081c565b005b6102c76108d8565b6040516001600160601b039091168152602001610270565b6103067f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b604051908152602001610270565b6102bd610322366004612f62565b6108e3565b6102bd6103353660046131b6565b610910565b6102bd61034836600461324e565b6109b5565b6102bd61035b36600461327a565b610b96565b6102bd610ce3565b6102bd610d29565b7f6548005c3f4340f82f348c576c0ff69f7f529cadd5ad41f96aae61abceeaa303546001600160a01b03165b6040516001600160a01b039091168152602001610270565b6102bd6103c23660046132ae565b61102e565b6001546001600160a01b031661039c565b6102bd6103e6366004613310565b61112c565b6000805160206138dd833981519152546001600160601b03166102c7565b6102bd610417366004613349565b611230565b6102bd61042a366004613366565b61133e565b6102bd61043d36600461307c565b6115b7565b6102c7610450366004613366565b6117b9565b6102bd610463366004613349565b611a6d565b60008051602061391d833981519152546001600160a01b031661039c565b6102bd610494366004613394565b611b07565b61039c611bef565b61030660008051602061393d83398151915281565b6102bd6104c43660046133d5565b611d26565b6104d1611f5a565b6040516001600160e01b03199091168152602001610270565b6102bd6104f8366004613420565b505050565b6103066000805160206138dd83398151915281565b604051602d8152602001610270565b6000805160206138fd833981519152546001600160a01b031661039c565b6102c761054d366004613366565b611f92565b6102bd61056036600461307c565b6120c3565b6102c7610573366004613366565b6122d2565b7f6548005c3f4340f82f348c576c0ff69f7f529cadd5ad41f96aae61abceeaa302546001600160a01b031661039c565b6102c76105b6366004613366565b6124c6565b6102bd6105c9366004613460565b612580565b604051632efe011360e01b815260036004820152600060248201819052604482018190529073__$8eede297b65ed5a56eb3f84d8232ae93f5$__90632efe011390606401602060405180830381865af415801561062f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610653919061348e565b905090565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a082019290925260c081019190915260007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e0016040528073__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af415801561070c573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061073091906134c3565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a001610778611bef565b6001600160a01b03168152602001826001018054610795906134e0565b80601f01602080910402602001604051908101604052809291908181526020018280546107c1906134e0565b801561080e5780601f106107e35761010080835404028352916020019161080e565b820191906000526020600020905b8154815290600101906020018083116107f157829003601f168201915b505050505081525091505090565b600060008051602061393d833981519152600181015460405163085031c560e11b81526001600160601b03851660048201529192506001600160a01b0316906310a0638a90602401600060405180830381600087803b15801561087e57600080fd5b505af1158015610892573d6000803e3d6000fd5b50506040516001600160601b03851681527ff154111adc6084a644ef1d75dc89b5549b77bd22f0ceb8607501175f6cf3da35925060200190505b60405180910390a15050565b6000610653306125f7565b6108eb6127f8565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b6109186127f8565b6109228287612580565b7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0387166cffffffffffffffffffffffffff1990911617600160601b60ff8716021760ff60681b1916600160681b851515021781557f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa3016109ab8382613568565b5050505050505050565b816109c86001546001600160a01b031690565b604051631c5da14d60e11b81526001600160601b03831660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015610a17573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a3b9190613632565b6001600160a01b0316336001600160a01b031614610b165780610a666001546001600160a01b031690565b604051631c5da14d60e11b81526001600160601b03841660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015610ab5573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ad99190613632565b604051620d652560ea1b81526001600160601b0390921660048301526001600160a01b031660248201523360448201526064015b60405180910390fd5b60008051602061391d83398151915254604051632a80f67360e01b81526001600160601b0385166004820152602481018490526001600160a01b0390911690632a80f673906044015b600060405180830381600087803b158015610b7957600080fd5b505af1158015610b8d573d6000803e3d6000fd5b50505050505050565b73__$8eede297b65ed5a56eb3f84d8232ae93f5$__63a123b37c610bb86105ce565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af4158015610bf8573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c1c919061364f565b60008051602061395d8339815191528054600160401b900460ff1680610c4f575080546001600160401b03808416911610155b15610c6d5760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b178155610c9783612831565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a1505050565b610ceb6127f8565b6301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b6000610d3d6001546001600160a01b031690565b6001600160a01b031663120726c36040518163ffffffff1660e01b8152600401602060405180830381865afa158015610d7a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d9e9190613632565b6001600160a01b031663598e28926040518163ffffffff1660e01b8152600401602060405180830381865afa158015610ddb573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610dff9190613678565b60405163efac97cf60e01b81526004810182905290915060009073__$94a2c899be079b00d952d0d84fffaa5c34$__9063efac97cf90602401602060405180830381865af4158015610e55573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e7991906134c3565b60008051602061391d833981519152549091506001600160a01b031663562119ee82600a600173__$fb6c7635e3c1acf7e7d82c7d43e7a24671$__63c6edc3dd6040518163ffffffff1660e01b8152600401602060405180830381865af4158015610ee8573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f0c9190613691565b73__$fb6c7635e3c1acf7e7d82c7d43e7a24671$__63f87bf3736040518163ffffffff1660e01b8152600401602060405180830381865af4158015610f55573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f799190613678565b6040516001600160e01b031960e088901b1681526001600160601b03909516600486015260ff9093166024850152604484019190915264ffffffffff166064830152608482015260a401600060405180830381600087803b158015610fdd57600080fd5b505af1158015610ff1573d6000803e3d6000fd5b50506040516001600160601b03841681527ecc6ccce428ec254aac387612562681465203eb33eacff9e9228b963b98ecfb925060200190506108cc565b60008051602061395d8339815191528054600160401b810460ff1615906001600160401b03166000811580156110615750825b90506000826001600160401b0316600114801561107d5750303b155b90508115801561108b575080155b156110a95760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff1916600117855583156110d357845460ff60401b1916600160401b1785555b6110dd8787612839565b8315610b8d57845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a150505050505050565b8161113f6001546001600160a01b031690565b604051631c5da14d60e11b81526001600160601b03831660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa15801561118e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111b29190613632565b6001600160a01b0316336001600160a01b0316146111dd5780610a666001546001600160a01b031690565b60008051602061391d83398151915254604051635ecf260f60e01b81526001600160601b038516600482015264ffffffffff841660248201526001600160a01b0390911690635ecf260f90604401610b5f565b6112386127f8565b806001600160a01b03163b60000361126e5760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610b0d565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b815263e607072160e01b60048201526301ffc9a790602401602060405180830381865afa9250505080156112e8575060408051601f3d908101601f191682019092526112e5918101906136b9565b60015b6113105760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610b0d565b806113395760405163fdeac91f60e01b81526001600160a01b0383166004820152602401610b0d565b505b50565b816113516001546001600160a01b031690565b604051631c5da14d60e11b81526001600160601b03831660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa1580156113a0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113c49190613632565b6001600160a01b0316336001600160a01b0316146113ef5780610a666001546001600160a01b031690565b600060008051602061393d8339815191526001810154604051636c1e9dff60e01b81526001600160601b0380881660048301528616602482015291925033916000916001600160a01b031690636c1e9dff906044016020604051808303816000875af1158015611463573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061148791906134c3565b6040516330b8415f60e01b81526001600160601b038716600482015290915073__$3bac17678db7ae928afa209f2f44deec9c$__906330b8415f90602401602060405180830381865af41580156114e2573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061150691906136b9565b1561157257600183015460405163e3a817cd60e01b81526001600160a01b039091169063e3a817cd9061153f90859089906004016136d6565b600060405180830381600087803b15801561155957600080fd5b505af115801561156d573d6000803e3d6000fd5b505050505b7f51bb449f96e2d4d2c1cbcba003bf8c0e4859c17581ce0bc7542fd6d6279e9b9d868387846040516115a794939291906136f8565b60405180910390a1505050505050565b806115ca6001546001600160a01b031690565b604051631c5da14d60e11b81526001600160601b03831660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015611619573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061163d9190613632565b6001600160a01b0316336001600160a01b0316146116685780610a666001546001600160a01b031690565b600060008051602061393d83398151915260018101546040516338cfbb0d60e11b81526001600160601b038616600482015291925033916000916001600160a01b03169063719f761a906024016020604051808303816000875af11580156116d4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116f891906134c3565b60018401546040516331449be960e11b81529192506001600160a01b03169063628937d29061172d90859085906004016136d6565b600060405180830381600087803b15801561174757600080fd5b505af115801561175b573d6000803e3d6000fd5b5050604080516001600160601b0389811682526001600160a01b038716602083015285168183015290517f560ee8c0a69c814defd43602fe8eb63663bc8df678239a581d560f7ed67afda89350908190036060019150a15050505050565b60008051602061393d83398151915280546040805160e0810180835263bc1b392d60e01b905290516000939233926001600160a01b0390911691638105cc7f9190819073__$94a2c899be079b00d952d0d84fffaa5c34$__9063bc1b392d9060e4808501916020918187030181865af415801561183a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061185e91906134c3565b6001600160601b03168152602001886001600160601b03168152602001611883605090565b60ff16815260200160001515815260200160006001600160a01b03168152602001846001600160a01b03168152602001604051806020016040528060008152508152506040518263ffffffff1660e01b81526004016118e29190612fdc565b6020604051808303816000875af1158015611901573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061192591906134c3565b6001830154604051630c7b317360e21b81526001600160601b0380841660048301528089166024830152871660448201529194506001600160a01b0316906331ecc5cc90606401600060405180830381600087803b15801561198657600080fd5b505af115801561199a573d6000803e3d6000fd5b505050600183015460405163e3a817cd60e01b81526001600160a01b03909116915063e3a817cd906119d290849088906004016136d6565b600060405180830381600087803b1580156119ec57600080fd5b505af1158015611a00573d6000803e3d6000fd5b5050604080516001600160601b038088168252808a1660208301526001600160a01b0386169282019290925290871660608201527fbba1f5229b1626c1685c27c3604dd3296a6a69391e1ed009f8c176aa63b8e1d7925060800190505b60405180910390a1505092915050565b33611a8d6000805160206138fd833981519152546001600160a01b031690565b6001600160a01b0316816001600160a01b031614611ac85760405162d1953b60e31b81526001600160a01b0382166004820152602401610b0d565b816001600160a01b03163b600003611afe576040516361798f2f60e11b81526001600160a01b0383166004820152602401610b0d565b61133982612ac3565b60008051602061391d8339815191525446906001600160a01b031663562119ee8560466040516001600160e01b031960e085901b1681526001600160601b03909216600483015260ff1660248201526044810184905264ffffffffff861660648201526084810185905260a401600060405180830381600087803b158015611b8e57600080fd5b505af1158015611ba2573d6000803e3d6000fd5b5050604080516001600160601b0388168152602081018590527f471a2845289928aa76c379fe01dc0310ebf5000e7a977935811e173bdda224bd935001905060405180910390a150505050565b6000806000805160206138dd83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015611c5f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611c8391906136b9565b15611d10576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015611ce6573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611d0a9190613632565b91505090565b54600160601b90046001600160a01b0316919050565b611d2e6127f8565b611dae83846001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa158015611d70573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611d9491906134c3565b603c60008560405180602001604052806000815250610910565b6001600160a01b03821615611dcb57611dc682612b1d565b611f3a565b6000611ddf6001546001600160a01b031690565b6001600160a01b031663d39e60436028604051632392b61b60e21b81526003600482015273__$b659da7d8a6d2d32aa6c1e17da23dc2174$__90638e4ad86c90602401602060405180830381865af4158015611e3f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611e639190613737565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa158015611ea8573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611ecc9190613632565b9050611f38816001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611f0f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611f339190613632565b612b1d565b505b611f4a634a531f3360e01b6108e3565b6104f863b68d180960e01b6108e3565b6000805160206138fd833981519152805460009190600160a01b900460ff16611f84576000611d0a565b638fb3603760e01b91505090565b6000338160008051602061393d833981519152600181015460405163de0eb85f60e01b81526001600160601b038089166004830152871660248201529192506001600160a01b03169063de0eb85f906044016020604051808303816000875af1158015612003573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061202791906134c3565b600182015460405163e3a817cd60e01b81529194506001600160a01b03169063e3a817cd9061205c90859088906004016136d6565b600060405180830381600087803b15801561207657600080fd5b505af115801561208a573d6000803e3d6000fd5b505050507fcf86366087b008a90b57f4e7b955b94599f589d7267649942abfd34305fe5b2f85838686604051611a5d94939291906136f8565b806120d66001546001600160a01b031690565b604051631c5da14d60e11b81526001600160601b03831660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015612125573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906121499190613632565b6001600160a01b0316336001600160a01b0316146121745780610a666001546001600160a01b031690565b600060008051602061393d8339815191526001810154604051636f52667960e11b81526001600160601b0386166004820152919250339160009182916001600160a01b039091169063dea4ccf29060240160408051808303816000875af11580156121e3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906122079190613754565b9150915060006122178383612b2e565b60018601546040516331449be960e11b81529192506001600160a01b03169063628937d29061224c90879085906004016136d6565b600060405180830381600087803b15801561226657600080fd5b505af115801561227a573d6000803e3d6000fd5b5050604080516001600160601b03808c1682526001600160a01b03891660208301528516918101919091527fce678d95d8c12c4b7d7089c8f7db920fe5cc49352696a601b9e41f65ea3fd2399250606001905061111b565b6000826122e76001546001600160a01b031690565b604051631c5da14d60e11b81526001600160601b03831660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015612336573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061235a9190613632565b6001600160a01b0316336001600160a01b0316146123855780610a666001546001600160a01b031690565b33600060008051602061393d833981519152600181015460405163e8ce883d60e01b81526001600160601b03808a166004830152881660248201529192506001600160a01b03169063e8ce883d906044016020604051808303816000875af11580156123f5573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061241991906134c3565b60018201546040516331449be960e11b81529195506001600160a01b03169063628937d29061244e90859089906004016136d6565b600060405180830381600087803b15801561246857600080fd5b505af115801561247c573d6000803e3d6000fd5b505050507f1cbf8b37af4df8c27db081983bda17400796238db4d1edf44edacf559b3a25d7868387876040516124b594939291906136f8565b60405180910390a150505092915050565b6000826124db6001546001600160a01b031690565b604051631c5da14d60e11b81526001600160601b03831660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa15801561252a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061254e9190613632565b6001600160a01b0316336001600160a01b0316146125795780610a666001546001600160a01b031690565b5092915050565b6125886127f8565b61259181611230565b612599610ce3565b6001600160a01b0382166125c05760405163f17ef42d60e01b815260040160405180910390fd5b506000805160206138dd83398151915280546001600160601b0316600160601b6001600160a01b0390931692909202919091179055565b6000806000805160206138dd83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015612667573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061268b91906136b9565b156126b75780546040516301ab8b6760e21b81526001600160601b039091166004820152602401610b0d565b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038581166004830152919091169063c3c5a54790602401602060405180830381865afa15801561270b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061272f91906136b9565b6127575760405163b9304b0d60e01b81526001600160a01b0384166004820152602401610b0d565b6001546001600160a01b0316604051636939560f60e11b81526001600160a01b038581166004830152919091169063d272ac1e90602401602060405180830381865afa1580156127ab573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906127cf91906134c3565b81546bffffffffffffffffffffffff19166001600160601b039190911690811790915592915050565b60008051602061395d83398151915254600160401b900460ff1661282f57604051631afcd79f60e31b815260040160405180910390fd5b565b6102326127f8565b60008051602061395d8339815191528054600160401b810460ff1615906001600160401b031660008115801561286c5750825b90506000826001600160401b031660011480156128885750303b155b905081158015612896575080155b156128b45760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff1916600117855583156128de57845460ff60401b1916600160401b1785555b6000806000888060200190518101906128f79190613783565b92509250925061290882848c611d26565b60008051602061393d8339815191526129216028612bbc565b81546001600160a01b0319166001600160a01b039190911617815561294582612ccf565b6001820180546001600160a01b0319166001600160a01b03929092169182179055604080516321df0da760e01b815290516321df0da7916004808201926020929091908290030181865afa1580156129a1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906129c59190613632565b6002820180546001600160a01b0319166001600160a01b039283161790556001820154604080516343d752d360e01b8152905191909216916343d752d39160048083019260209291908290030181865afa158015612a27573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612a4b9190613632565b6003820180546001600160a01b0319166001600160a01b0392909216919091179055612a7d6367118b3560e11b6108e3565b505050508315610b8d57845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200161111b565b6000805160206138fd83398151915280546001600160a01b0319166001600160a01b03831690811782556040519081527f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad906020016108cc565b612b256127f8565b61133b81612f51565b60405163274acb3560e01b81526001600160601b0380841660048301528216602482015260009073__$3bac17678db7ae928afa209f2f44deec9c$__9063274acb3590604401602060405180830381865af4158015612b91573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612bb591906134c3565b9392505050565b6000612bd06001546001600160a01b031690565b6001600160a01b031663d39e604383612be76105ce565b60405163c9e66e2960e01b815262ffffff909116600482015273__$8eede297b65ed5a56eb3f84d8232ae93f5$__9063c9e66e2990602401602060405180830381865af4158015612c3c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612c609190613737565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa158015612ca5573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612cc99190613632565b92915050565b600080612ce46001546001600160a01b031690565b6040516308b09a5f60e41b81526001600160a01b0385811660048301529190911690638b09a5f090602401600060405180830381865afa158015612d2c573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052612d54919081019061380a565b80516040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015612db2573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612dd691906136b9565b15612e2757612df78160400151612deb602d90565b60ff9081169116141590565b15612e2057604051637dbf3cff60e11b81526001600160a01b0384166004820152602401610b0d565b5090919050565b6040516301ffc9a760e01b815263fef8804160e01b60048201526001600160a01b038416906301ffc9a790602401602060405180830381865afa158015612e72573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612e9691906136b9565b612ebe57604051632bf4d8e560e21b81526001600160a01b0384166004820152602401610b0d565b3360008051602061393d8339815191525460405163c4c79d8b60e01b81526001600160a01b03868116600483015283811660248301529091169063c4c79d8b906044016000604051808303816000875af1158015612f20573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052612f48919081019061380a565b50929392505050565b612f596127f8565b61133b81612ac3565b600060208284031215612f7457600080fd5b81356001600160e01b031981168114612bb557600080fd5b60005b83811015612fa7578181015183820152602001612f8f565b50506000910152565b60008151808452612fc8816020860160208601612f8c565b601f01601f19169290920160200192915050565b6020815260006001600160601b038084511660208401528060208501511660408401525060ff604084015116606083015260608301511515608083015260018060a01b0360808401511660a083015260a083015161304560c08401826001600160a01b03169052565b5060c083015160e08084015261305f610100840182612fb0565b949350505050565b6001600160601b038116811461133b57600080fd5b60006020828403121561308e57600080fd5b8135612bb581613067565b6001600160a01b038116811461133b57600080fd5b60ff8116811461133b57600080fd5b801515811461133b57600080fd5b634e487b7160e01b600052604160045260246000fd5b60405160e081016001600160401b0381118282101715613103576131036130cb565b60405290565b604051601f8201601f191681016001600160401b0381118282101715613131576131316130cb565b604052919050565b60006001600160401b03821115613152576131526130cb565b50601f01601f191660200190565b600082601f83011261317157600080fd5b813561318461317f82613139565b613109565b81815284602083860101111561319957600080fd5b816020850160208301376000918101602001919091529392505050565b60008060008060008060c087890312156131cf57600080fd5b86356131da81613099565b955060208701356131ea81613067565b945060408701356131fa816130ae565b9350606087013561320a816130bd565b9250608087013561321a81613099565b915060a08701356001600160401b0381111561323557600080fd5b61324189828a01613160565b9150509295509295509295565b6000806040838503121561326157600080fd5b823561326c81613067565b946020939093013593505050565b60006020828403121561328c57600080fd5b81356001600160401b038111156132a257600080fd5b61305f84828501613160565b600080604083850312156132c157600080fd5b82356132cc81613099565b915060208301356001600160401b038111156132e757600080fd5b6132f385828601613160565b9150509250929050565b64ffffffffff8116811461133b57600080fd5b6000806040838503121561332357600080fd5b823561332e81613067565b9150602083013561333e816132fd565b809150509250929050565b60006020828403121561335b57600080fd5b8135612bb581613099565b6000806040838503121561337957600080fd5b823561338481613067565b9150602083013561333e81613067565b6000806000606084860312156133a957600080fd5b83356133b481613067565b925060208401356133c4816132fd565b929592945050506040919091013590565b6000806000606084860312156133ea57600080fd5b83356133f581613099565b9250602084013561340581613099565b9150604084013561341581613099565b809150509250925092565b60008060006060848603121561343557600080fd5b833561344081613067565b9250602084013561345081613099565b9150604084013561341581613067565b6000806040838503121561347357600080fd5b823561347e81613099565b9150602083013561333e81613099565b6000602082840312156134a057600080fd5b815162ffffff81168114612bb557600080fd5b80516134be81613067565b919050565b6000602082840312156134d557600080fd5b8151612bb581613067565b600181811c908216806134f457607f821691505b60208210810361351457634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156104f857600081815260208120601f850160051c810160208610156135415750805b601f850160051c820191505b818110156135605782815560010161354d565b505050505050565b81516001600160401b03811115613581576135816130cb565b6135958161358f84546134e0565b8461351a565b602080601f8311600181146135ca57600084156135b25750858301515b600019600386901b1c1916600185901b178555613560565b600085815260208120601f198616915b828110156135f9578886015182559484019460019091019084016135da565b50858210156136175787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b80516134be81613099565b60006020828403121561364457600080fd5b8151612bb581613099565b60006020828403121561366157600080fd5b81516001600160401b0381168114612bb557600080fd5b60006020828403121561368a57600080fd5b5051919050565b6000602082840312156136a357600080fd5b8151612bb5816132fd565b80516134be816130bd565b6000602082840312156136cb57600080fd5b8151612bb5816130bd565b6001600160a01b039290921682526001600160601b0316602082015260400190565b6001600160601b0394851681526001600160a01b039390931660208401529083166040830152909116606082015260800190565b80516134be816130ae565b60006020828403121561374957600080fd5b8151612bb5816130ae565b6000806040838503121561376757600080fd5b825161377281613067565b602084015190925061333e81613067565b60008060006060848603121561379857600080fd5b83516137a381613099565b60208501519093506137b481613099565b604085015190925061341581613099565b600082601f8301126137d657600080fd5b81516137e461317f82613139565b8181528460208386010111156137f957600080fd5b61305f826020830160208701612f8c565b60006020828403121561381c57600080fd5b81516001600160401b038082111561383357600080fd5b9083019060e0828603121561384757600080fd5b61384f6130e1565b613858836134b3565b8152613866602084016134b3565b60208201526138776040840161372c565b6040820152613888606084016136ae565b606082015261389960808401613627565b60808201526138aa60a08401613627565b60a082015260c0830151828111156138c157600080fd5b6138cd878286016137c5565b60c0830152509594505050505056fe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a006548005c3f4340f82f348c576c0ff69f7f529cadd5ad41f96aae61abceeaa3016548005c3f4340f82f348c576c0ff69f7f529cadd5ad41f96aae61abceeaa300f0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00a2646970667358221220ce8d0b3cfaa0b12926167f606ca81167b42756d639b4718d5b613eb008147d0c64736f6c63430008140033",
1171
+ "deployedBytecode": "0x608060405234801561001057600080fd5b50600436106102325760003560e01c8063719f761a11610130578063943bd197116100b8578063dea4ccf21161007c578063dea4ccf214610552578063e8ce883d14610565578063f11bcbe714610578578063f67fef6d146105a8578063f7c34ee0146105bb57600080fd5b8063943bd197146104ea578063ada9652e146104fd578063b68d180914610512578063bf7e214f14610521578063de0eb85f1461053f57600080fd5b806381d9b45f116100ff57806381d9b45f14610486578063893d20e8146104995780638cf81e46146104a15780638e32e979146104b65780638fb36037146104c957600080fd5b8063719f761a1461042f578063756b30de146104425780637a9e5e4b146104555780637b1391a61461046857600080fd5b8063329d6e74116101be5780635ab1bd53116101825780635ab1bd53146103c75780635ecf260f146103d8578063644c45e0146103eb578063675393bf146104095780636c1e9dff1461041c57600080fd5b8063329d6e741461034d57806336fc697e14610360578063385b213a1461036857806343d752d31461037057806349bb9e4b146103b457600080fd5b8063138461e011610205578063138461e0146102bf5780631eff4b22146102df578063214cdb801461031457806327bb7a33146103275780632a80f6731461033a57600080fd5b806301ffc9a7146102375780630d8e6e2c146102795780630fec111c1461029557806310a0638a146102aa575b600080fd5b610264610245366004612f62565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b6102816105ce565b60405162ffffff9091168152602001610270565b61029d610658565b6040516102709190612fdc565b6102bd6102b836600461307c565b61081c565b005b6102c76108d8565b6040516001600160601b039091168152602001610270565b6103067f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b604051908152602001610270565b6102bd610322366004612f62565b6108e3565b6102bd6103353660046131b6565b610910565b6102bd61034836600461324e565b6109b5565b6102bd61035b36600461327a565b610b96565b6102bd610ce3565b6102bd610d29565b7f6548005c3f4340f82f348c576c0ff69f7f529cadd5ad41f96aae61abceeaa303546001600160a01b03165b6040516001600160a01b039091168152602001610270565b6102bd6103c23660046132ae565b61102e565b6001546001600160a01b031661039c565b6102bd6103e6366004613310565b61112c565b6000805160206138dd833981519152546001600160601b03166102c7565b6102bd610417366004613349565b611230565b6102bd61042a366004613366565b61133e565b6102bd61043d36600461307c565b6115b7565b6102c7610450366004613366565b6117b9565b6102bd610463366004613349565b611a6d565b60008051602061391d833981519152546001600160a01b031661039c565b6102bd610494366004613394565b611b07565b61039c611bef565b61030660008051602061393d83398151915281565b6102bd6104c43660046133d5565b611d26565b6104d1611f5a565b6040516001600160e01b03199091168152602001610270565b6102bd6104f8366004613420565b505050565b6103066000805160206138dd83398151915281565b604051602d8152602001610270565b6000805160206138fd833981519152546001600160a01b031661039c565b6102c761054d366004613366565b611f92565b6102bd61056036600461307c565b6120c3565b6102c7610573366004613366565b6122d2565b7f6548005c3f4340f82f348c576c0ff69f7f529cadd5ad41f96aae61abceeaa302546001600160a01b031661039c565b6102c76105b6366004613366565b6124c6565b6102bd6105c9366004613460565b612580565b604051632efe011360e01b815260036004820152600060248201819052604482018190529073__$8eede297b65ed5a56eb3f84d8232ae93f5$__90632efe011390606401602060405180830381865af415801561062f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610653919061348e565b905090565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a082019290925260c081019190915260007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e0016040528073__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af415801561070c573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061073091906134c3565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a001610778611bef565b6001600160a01b03168152602001826001018054610795906134e0565b80601f01602080910402602001604051908101604052809291908181526020018280546107c1906134e0565b801561080e5780601f106107e35761010080835404028352916020019161080e565b820191906000526020600020905b8154815290600101906020018083116107f157829003601f168201915b505050505081525091505090565b600060008051602061393d833981519152600181015460405163085031c560e11b81526001600160601b03851660048201529192506001600160a01b0316906310a0638a90602401600060405180830381600087803b15801561087e57600080fd5b505af1158015610892573d6000803e3d6000fd5b50506040516001600160601b03851681527ff154111adc6084a644ef1d75dc89b5549b77bd22f0ceb8607501175f6cf3da35925060200190505b60405180910390a15050565b6000610653306125f7565b6108eb6127f8565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b6109186127f8565b6109228287612580565b7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0387166cffffffffffffffffffffffffff1990911617600160601b60ff8716021760ff60681b1916600160681b851515021781557f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa3016109ab8382613568565b5050505050505050565b816109c86001546001600160a01b031690565b604051631c5da14d60e11b81526001600160601b03831660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015610a17573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a3b9190613632565b6001600160a01b0316336001600160a01b031614610b165780610a666001546001600160a01b031690565b604051631c5da14d60e11b81526001600160601b03841660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015610ab5573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ad99190613632565b604051620d652560ea1b81526001600160601b0390921660048301526001600160a01b031660248201523360448201526064015b60405180910390fd5b60008051602061391d83398151915254604051632a80f67360e01b81526001600160601b0385166004820152602481018490526001600160a01b0390911690632a80f673906044015b600060405180830381600087803b158015610b7957600080fd5b505af1158015610b8d573d6000803e3d6000fd5b50505050505050565b73__$8eede297b65ed5a56eb3f84d8232ae93f5$__63a123b37c610bb86105ce565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af4158015610bf8573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c1c919061364f565b60008051602061395d8339815191528054600160401b900460ff1680610c4f575080546001600160401b03808416911610155b15610c6d5760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b178155610c9783612831565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a1505050565b610ceb6127f8565b6301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b6000610d3d6001546001600160a01b031690565b6001600160a01b031663120726c36040518163ffffffff1660e01b8152600401602060405180830381865afa158015610d7a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d9e9190613632565b6001600160a01b031663598e28926040518163ffffffff1660e01b8152600401602060405180830381865afa158015610ddb573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610dff9190613678565b60405163efac97cf60e01b81526004810182905290915060009073__$94a2c899be079b00d952d0d84fffaa5c34$__9063efac97cf90602401602060405180830381865af4158015610e55573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e7991906134c3565b60008051602061391d833981519152549091506001600160a01b031663562119ee82600a600173__$fb6c7635e3c1acf7e7d82c7d43e7a24671$__63c6edc3dd6040518163ffffffff1660e01b8152600401602060405180830381865af4158015610ee8573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f0c9190613691565b73__$fb6c7635e3c1acf7e7d82c7d43e7a24671$__63f87bf3736040518163ffffffff1660e01b8152600401602060405180830381865af4158015610f55573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f799190613678565b6040516001600160e01b031960e088901b1681526001600160601b03909516600486015260ff9093166024850152604484019190915264ffffffffff166064830152608482015260a401600060405180830381600087803b158015610fdd57600080fd5b505af1158015610ff1573d6000803e3d6000fd5b50506040516001600160601b03841681527ecc6ccce428ec254aac387612562681465203eb33eacff9e9228b963b98ecfb925060200190506108cc565b60008051602061395d8339815191528054600160401b810460ff1615906001600160401b03166000811580156110615750825b90506000826001600160401b0316600114801561107d5750303b155b90508115801561108b575080155b156110a95760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff1916600117855583156110d357845460ff60401b1916600160401b1785555b6110dd8787612839565b8315610b8d57845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a150505050505050565b8161113f6001546001600160a01b031690565b604051631c5da14d60e11b81526001600160601b03831660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa15801561118e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111b29190613632565b6001600160a01b0316336001600160a01b0316146111dd5780610a666001546001600160a01b031690565b60008051602061391d83398151915254604051635ecf260f60e01b81526001600160601b038516600482015264ffffffffff841660248201526001600160a01b0390911690635ecf260f90604401610b5f565b6112386127f8565b806001600160a01b03163b60000361126e5760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610b0d565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b815263e607072160e01b60048201526301ffc9a790602401602060405180830381865afa9250505080156112e8575060408051601f3d908101601f191682019092526112e5918101906136b9565b60015b6113105760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610b0d565b806113395760405163fdeac91f60e01b81526001600160a01b0383166004820152602401610b0d565b505b50565b816113516001546001600160a01b031690565b604051631c5da14d60e11b81526001600160601b03831660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa1580156113a0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113c49190613632565b6001600160a01b0316336001600160a01b0316146113ef5780610a666001546001600160a01b031690565b600060008051602061393d8339815191526001810154604051636c1e9dff60e01b81526001600160601b0380881660048301528616602482015291925033916000916001600160a01b031690636c1e9dff906044016020604051808303816000875af1158015611463573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061148791906134c3565b6040516330b8415f60e01b81526001600160601b038716600482015290915073__$3bac17678db7ae928afa209f2f44deec9c$__906330b8415f90602401602060405180830381865af41580156114e2573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061150691906136b9565b1561157257600183015460405163e3a817cd60e01b81526001600160a01b039091169063e3a817cd9061153f90859089906004016136d6565b600060405180830381600087803b15801561155957600080fd5b505af115801561156d573d6000803e3d6000fd5b505050505b7f51bb449f96e2d4d2c1cbcba003bf8c0e4859c17581ce0bc7542fd6d6279e9b9d868387846040516115a794939291906136f8565b60405180910390a1505050505050565b806115ca6001546001600160a01b031690565b604051631c5da14d60e11b81526001600160601b03831660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015611619573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061163d9190613632565b6001600160a01b0316336001600160a01b0316146116685780610a666001546001600160a01b031690565b600060008051602061393d83398151915260018101546040516338cfbb0d60e11b81526001600160601b038616600482015291925033916000916001600160a01b03169063719f761a906024016020604051808303816000875af11580156116d4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116f891906134c3565b60018401546040516331449be960e11b81529192506001600160a01b03169063628937d29061172d90859085906004016136d6565b600060405180830381600087803b15801561174757600080fd5b505af115801561175b573d6000803e3d6000fd5b5050604080516001600160601b0389811682526001600160a01b038716602083015285168183015290517f560ee8c0a69c814defd43602fe8eb63663bc8df678239a581d560f7ed67afda89350908190036060019150a15050505050565b60008051602061393d83398151915280546040805160e0810180835263bc1b392d60e01b905290516000939233926001600160a01b0390911691638105cc7f9190819073__$94a2c899be079b00d952d0d84fffaa5c34$__9063bc1b392d9060e4808501916020918187030181865af415801561183a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061185e91906134c3565b6001600160601b03168152602001886001600160601b03168152602001611883605090565b60ff16815260200160001515815260200160006001600160a01b03168152602001846001600160a01b03168152602001604051806020016040528060008152508152506040518263ffffffff1660e01b81526004016118e29190612fdc565b6020604051808303816000875af1158015611901573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061192591906134c3565b6001830154604051630c7b317360e21b81526001600160601b0380841660048301528089166024830152871660448201529194506001600160a01b0316906331ecc5cc90606401600060405180830381600087803b15801561198657600080fd5b505af115801561199a573d6000803e3d6000fd5b505050600183015460405163e3a817cd60e01b81526001600160a01b03909116915063e3a817cd906119d290849088906004016136d6565b600060405180830381600087803b1580156119ec57600080fd5b505af1158015611a00573d6000803e3d6000fd5b5050604080516001600160601b038088168252808a1660208301526001600160a01b0386169282019290925290871660608201527fbba1f5229b1626c1685c27c3604dd3296a6a69391e1ed009f8c176aa63b8e1d7925060800190505b60405180910390a1505092915050565b33611a8d6000805160206138fd833981519152546001600160a01b031690565b6001600160a01b0316816001600160a01b031614611ac85760405162d1953b60e31b81526001600160a01b0382166004820152602401610b0d565b816001600160a01b03163b600003611afe576040516361798f2f60e11b81526001600160a01b0383166004820152602401610b0d565b61133982612ac3565b60008051602061391d8339815191525446906001600160a01b031663562119ee8560466040516001600160e01b031960e085901b1681526001600160601b03909216600483015260ff1660248201526044810184905264ffffffffff861660648201526084810185905260a401600060405180830381600087803b158015611b8e57600080fd5b505af1158015611ba2573d6000803e3d6000fd5b5050604080516001600160601b0388168152602081018590527f471a2845289928aa76c379fe01dc0310ebf5000e7a977935811e173bdda224bd935001905060405180910390a150505050565b6000806000805160206138dd83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015611c5f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611c8391906136b9565b15611d10576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015611ce6573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611d0a9190613632565b91505090565b54600160601b90046001600160a01b0316919050565b611d2e6127f8565b611dae83846001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa158015611d70573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611d9491906134c3565b603c60008560405180602001604052806000815250610910565b6001600160a01b03821615611dcb57611dc682612b1d565b611f3a565b6000611ddf6001546001600160a01b031690565b6001600160a01b031663d39e60436028604051632392b61b60e21b81526003600482015273__$b659da7d8a6d2d32aa6c1e17da23dc2174$__90638e4ad86c90602401602060405180830381865af4158015611e3f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611e639190613737565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa158015611ea8573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611ecc9190613632565b9050611f38816001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611f0f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611f339190613632565b612b1d565b505b611f4a634a531f3360e01b6108e3565b6104f863b68d180960e01b6108e3565b6000805160206138fd833981519152805460009190600160a01b900460ff16611f84576000611d0a565b638fb3603760e01b91505090565b6000338160008051602061393d833981519152600181015460405163de0eb85f60e01b81526001600160601b038089166004830152871660248201529192506001600160a01b03169063de0eb85f906044016020604051808303816000875af1158015612003573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061202791906134c3565b600182015460405163e3a817cd60e01b81529194506001600160a01b03169063e3a817cd9061205c90859088906004016136d6565b600060405180830381600087803b15801561207657600080fd5b505af115801561208a573d6000803e3d6000fd5b505050507fcf86366087b008a90b57f4e7b955b94599f589d7267649942abfd34305fe5b2f85838686604051611a5d94939291906136f8565b806120d66001546001600160a01b031690565b604051631c5da14d60e11b81526001600160601b03831660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015612125573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906121499190613632565b6001600160a01b0316336001600160a01b0316146121745780610a666001546001600160a01b031690565b600060008051602061393d8339815191526001810154604051636f52667960e11b81526001600160601b0386166004820152919250339160009182916001600160a01b039091169063dea4ccf29060240160408051808303816000875af11580156121e3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906122079190613754565b9150915060006122178383612b2e565b60018601546040516331449be960e11b81529192506001600160a01b03169063628937d29061224c90879085906004016136d6565b600060405180830381600087803b15801561226657600080fd5b505af115801561227a573d6000803e3d6000fd5b5050604080516001600160601b03808c1682526001600160a01b03891660208301528516918101919091527fce678d95d8c12c4b7d7089c8f7db920fe5cc49352696a601b9e41f65ea3fd2399250606001905061111b565b6000826122e76001546001600160a01b031690565b604051631c5da14d60e11b81526001600160601b03831660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015612336573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061235a9190613632565b6001600160a01b0316336001600160a01b0316146123855780610a666001546001600160a01b031690565b33600060008051602061393d833981519152600181015460405163e8ce883d60e01b81526001600160601b03808a166004830152881660248201529192506001600160a01b03169063e8ce883d906044016020604051808303816000875af11580156123f5573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061241991906134c3565b60018201546040516331449be960e11b81529195506001600160a01b03169063628937d29061244e90859089906004016136d6565b600060405180830381600087803b15801561246857600080fd5b505af115801561247c573d6000803e3d6000fd5b505050507f1cbf8b37af4df8c27db081983bda17400796238db4d1edf44edacf559b3a25d7868387876040516124b594939291906136f8565b60405180910390a150505092915050565b6000826124db6001546001600160a01b031690565b604051631c5da14d60e11b81526001600160601b03831660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa15801561252a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061254e9190613632565b6001600160a01b0316336001600160a01b0316146125795780610a666001546001600160a01b031690565b5092915050565b6125886127f8565b61259181611230565b612599610ce3565b6001600160a01b0382166125c05760405163f17ef42d60e01b815260040160405180910390fd5b506000805160206138dd83398151915280546001600160601b0316600160601b6001600160a01b0390931692909202919091179055565b6000806000805160206138dd83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015612667573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061268b91906136b9565b156126b75780546040516301ab8b6760e21b81526001600160601b039091166004820152602401610b0d565b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038581166004830152919091169063c3c5a54790602401602060405180830381865afa15801561270b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061272f91906136b9565b6127575760405163b9304b0d60e01b81526001600160a01b0384166004820152602401610b0d565b6001546001600160a01b0316604051636939560f60e11b81526001600160a01b038581166004830152919091169063d272ac1e90602401602060405180830381865afa1580156127ab573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906127cf91906134c3565b81546bffffffffffffffffffffffff19166001600160601b039190911690811790915592915050565b60008051602061395d83398151915254600160401b900460ff1661282f57604051631afcd79f60e31b815260040160405180910390fd5b565b6102326127f8565b60008051602061395d8339815191528054600160401b810460ff1615906001600160401b031660008115801561286c5750825b90506000826001600160401b031660011480156128885750303b155b905081158015612896575080155b156128b45760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff1916600117855583156128de57845460ff60401b1916600160401b1785555b6000806000888060200190518101906128f79190613783565b92509250925061290882848c611d26565b60008051602061393d8339815191526129216028612bbc565b81546001600160a01b0319166001600160a01b039190911617815561294582612ccf565b6001820180546001600160a01b0319166001600160a01b03929092169182179055604080516321df0da760e01b815290516321df0da7916004808201926020929091908290030181865afa1580156129a1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906129c59190613632565b6002820180546001600160a01b0319166001600160a01b039283161790556001820154604080516343d752d360e01b8152905191909216916343d752d39160048083019260209291908290030181865afa158015612a27573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612a4b9190613632565b6003820180546001600160a01b0319166001600160a01b0392909216919091179055612a7d6367118b3560e11b6108e3565b505050508315610b8d57845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200161111b565b6000805160206138fd83398151915280546001600160a01b0319166001600160a01b03831690811782556040519081527f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad906020016108cc565b612b256127f8565b61133b81612f51565b60405163274acb3560e01b81526001600160601b0380841660048301528216602482015260009073__$3bac17678db7ae928afa209f2f44deec9c$__9063274acb3590604401602060405180830381865af4158015612b91573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612bb591906134c3565b9392505050565b6000612bd06001546001600160a01b031690565b6001600160a01b031663d39e604383612be76105ce565b60405163c9e66e2960e01b815262ffffff909116600482015273__$8eede297b65ed5a56eb3f84d8232ae93f5$__9063c9e66e2990602401602060405180830381865af4158015612c3c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612c609190613737565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa158015612ca5573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612cc99190613632565b92915050565b600080612ce46001546001600160a01b031690565b6040516308b09a5f60e41b81526001600160a01b0385811660048301529190911690638b09a5f090602401600060405180830381865afa158015612d2c573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052612d54919081019061380a565b80516040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015612db2573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612dd691906136b9565b15612e2757612df78160400151612deb602d90565b60ff9081169116141590565b15612e2057604051637dbf3cff60e11b81526001600160a01b0384166004820152602401610b0d565b5090919050565b6040516301ffc9a760e01b815263fef8804160e01b60048201526001600160a01b038416906301ffc9a790602401602060405180830381865afa158015612e72573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612e9691906136b9565b612ebe57604051632bf4d8e560e21b81526001600160a01b0384166004820152602401610b0d565b3360008051602061393d8339815191525460405163c4c79d8b60e01b81526001600160a01b03868116600483015283811660248301529091169063c4c79d8b906044016000604051808303816000875af1158015612f20573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052612f48919081019061380a565b50929392505050565b612f596127f8565b61133b81612ac3565b600060208284031215612f7457600080fd5b81356001600160e01b031981168114612bb557600080fd5b60005b83811015612fa7578181015183820152602001612f8f565b50506000910152565b60008151808452612fc8816020860160208601612f8c565b601f01601f19169290920160200192915050565b6020815260006001600160601b038084511660208401528060208501511660408401525060ff604084015116606083015260608301511515608083015260018060a01b0360808401511660a083015260a083015161304560c08401826001600160a01b03169052565b5060c083015160e08084015261305f610100840182612fb0565b949350505050565b6001600160601b038116811461133b57600080fd5b60006020828403121561308e57600080fd5b8135612bb581613067565b6001600160a01b038116811461133b57600080fd5b60ff8116811461133b57600080fd5b801515811461133b57600080fd5b634e487b7160e01b600052604160045260246000fd5b60405160e081016001600160401b0381118282101715613103576131036130cb565b60405290565b604051601f8201601f191681016001600160401b0381118282101715613131576131316130cb565b604052919050565b60006001600160401b03821115613152576131526130cb565b50601f01601f191660200190565b600082601f83011261317157600080fd5b813561318461317f82613139565b613109565b81815284602083860101111561319957600080fd5b816020850160208301376000918101602001919091529392505050565b60008060008060008060c087890312156131cf57600080fd5b86356131da81613099565b955060208701356131ea81613067565b945060408701356131fa816130ae565b9350606087013561320a816130bd565b9250608087013561321a81613099565b915060a08701356001600160401b0381111561323557600080fd5b61324189828a01613160565b9150509295509295509295565b6000806040838503121561326157600080fd5b823561326c81613067565b946020939093013593505050565b60006020828403121561328c57600080fd5b81356001600160401b038111156132a257600080fd5b61305f84828501613160565b600080604083850312156132c157600080fd5b82356132cc81613099565b915060208301356001600160401b038111156132e757600080fd5b6132f385828601613160565b9150509250929050565b64ffffffffff8116811461133b57600080fd5b6000806040838503121561332357600080fd5b823561332e81613067565b9150602083013561333e816132fd565b809150509250929050565b60006020828403121561335b57600080fd5b8135612bb581613099565b6000806040838503121561337957600080fd5b823561338481613067565b9150602083013561333e81613067565b6000806000606084860312156133a957600080fd5b83356133b481613067565b925060208401356133c4816132fd565b929592945050506040919091013590565b6000806000606084860312156133ea57600080fd5b83356133f581613099565b9250602084013561340581613099565b9150604084013561341581613099565b809150509250925092565b60008060006060848603121561343557600080fd5b833561344081613067565b9250602084013561345081613099565b9150604084013561341581613067565b6000806040838503121561347357600080fd5b823561347e81613099565b9150602083013561333e81613099565b6000602082840312156134a057600080fd5b815162ffffff81168114612bb557600080fd5b80516134be81613067565b919050565b6000602082840312156134d557600080fd5b8151612bb581613067565b600181811c908216806134f457607f821691505b60208210810361351457634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156104f857600081815260208120601f850160051c810160208610156135415750805b601f850160051c820191505b818110156135605782815560010161354d565b505050505050565b81516001600160401b03811115613581576135816130cb565b6135958161358f84546134e0565b8461351a565b602080601f8311600181146135ca57600084156135b25750858301515b600019600386901b1c1916600185901b178555613560565b600085815260208120601f198616915b828110156135f9578886015182559484019460019091019084016135da565b50858210156136175787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b80516134be81613099565b60006020828403121561364457600080fd5b8151612bb581613099565b60006020828403121561366157600080fd5b81516001600160401b0381168114612bb557600080fd5b60006020828403121561368a57600080fd5b5051919050565b6000602082840312156136a357600080fd5b8151612bb5816132fd565b80516134be816130bd565b6000602082840312156136cb57600080fd5b8151612bb5816130bd565b6001600160a01b039290921682526001600160601b0316602082015260400190565b6001600160601b0394851681526001600160a01b039390931660208401529083166040830152909116606082015260800190565b80516134be816130ae565b60006020828403121561374957600080fd5b8151612bb5816130ae565b6000806040838503121561376757600080fd5b825161377281613067565b602084015190925061333e81613067565b60008060006060848603121561379857600080fd5b83516137a381613099565b60208501519093506137b481613099565b604085015190925061341581613099565b600082601f8301126137d657600080fd5b81516137e461317f82613139565b8181528460208386010111156137f957600080fd5b61305f826020830160208701612f8c565b60006020828403121561381c57600080fd5b81516001600160401b038082111561383357600080fd5b9083019060e0828603121561384757600080fd5b61384f6130e1565b613858836134b3565b8152613866602084016134b3565b60208201526138776040840161372c565b6040820152613888606084016136ae565b606082015261389960808401613627565b60808201526138aa60a08401613627565b60a082015260c0830151828111156138c157600080fd5b6138cd878286016137c5565b60c0830152509594505050505056fe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a006548005c3f4340f82f348c576c0ff69f7f529cadd5ad41f96aae61abceeaa3016548005c3f4340f82f348c576c0ff69f7f529cadd5ad41f96aae61abceeaa300f0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00a2646970667358221220ce8d0b3cfaa0b12926167f606ca81167b42756d639b4718d5b613eb008147d0c64736f6c63430008140033",
717
1172
  "linkReferences": {
1173
+ "contracts/staking/TargetManagerLib.sol": {
1174
+ "TargetManagerLib": [
1175
+ {
1176
+ "length": 20,
1177
+ "start": 3975
1178
+ },
1179
+ {
1180
+ "length": 20,
1181
+ "start": 4084
1182
+ }
1183
+ ]
1184
+ },
1185
+ "contracts/type/Amount.sol": {
1186
+ "AmountLib": [
1187
+ {
1188
+ "length": 20,
1189
+ "start": 5518
1190
+ },
1191
+ {
1192
+ "length": 20,
1193
+ "start": 11325
1194
+ }
1195
+ ]
1196
+ },
718
1197
  "contracts/type/NftId.sol": {
719
1198
  "NftIdLib": [
720
1199
  {
721
1200
  "length": 20,
722
- "start": 1739
1201
+ "start": 1963
1202
+ },
1203
+ {
1204
+ "length": 20,
1205
+ "start": 3841
1206
+ },
1207
+ {
1208
+ "length": 20,
1209
+ "start": 6372
723
1210
  },
724
1211
  {
725
1212
  "length": 20,
726
- "start": 2135
1213
+ "start": 7435
727
1214
  },
728
1215
  {
729
1216
  "length": 20,
730
- "start": 3942
1217
+ "start": 10003
731
1218
  },
732
1219
  {
733
1220
  "length": 20,
734
- "start": 5644
1221
+ "start": 11870
735
1222
  }
736
1223
  ]
737
1224
  },
@@ -739,43 +1226,75 @@
739
1226
  "VersionLib": [
740
1227
  {
741
1228
  "length": 20,
742
- "start": 1531
1229
+ "start": 1755
743
1230
  },
744
1231
  {
745
1232
  "length": 20,
746
- "start": 2813
1233
+ "start": 3198
747
1234
  },
748
1235
  {
749
1236
  "length": 20,
750
- "start": 6199
1237
+ "start": 11496
751
1238
  }
752
1239
  ],
753
1240
  "VersionPartLib": [
754
1241
  {
755
1242
  "length": 20,
756
- "start": 4422
1243
+ "start": 7915
757
1244
  }
758
1245
  ]
759
1246
  }
760
1247
  },
761
1248
  "deployedLinkReferences": {
1249
+ "contracts/staking/TargetManagerLib.sol": {
1250
+ "TargetManagerLib": [
1251
+ {
1252
+ "length": 20,
1253
+ "start": 3745
1254
+ },
1255
+ {
1256
+ "length": 20,
1257
+ "start": 3854
1258
+ }
1259
+ ]
1260
+ },
1261
+ "contracts/type/Amount.sol": {
1262
+ "AmountLib": [
1263
+ {
1264
+ "length": 20,
1265
+ "start": 5288
1266
+ },
1267
+ {
1268
+ "length": 20,
1269
+ "start": 11095
1270
+ }
1271
+ ]
1272
+ },
762
1273
  "contracts/type/NftId.sol": {
763
1274
  "NftIdLib": [
764
1275
  {
765
1276
  "length": 20,
766
- "start": 1515
1277
+ "start": 1733
1278
+ },
1279
+ {
1280
+ "length": 20,
1281
+ "start": 3611
1282
+ },
1283
+ {
1284
+ "length": 20,
1285
+ "start": 6142
767
1286
  },
768
1287
  {
769
1288
  "length": 20,
770
- "start": 1911
1289
+ "start": 7205
771
1290
  },
772
1291
  {
773
1292
  "length": 20,
774
- "start": 3718
1293
+ "start": 9773
775
1294
  },
776
1295
  {
777
1296
  "length": 20,
778
- "start": 5420
1297
+ "start": 11640
779
1298
  }
780
1299
  ]
781
1300
  },
@@ -783,21 +1302,21 @@
783
1302
  "VersionLib": [
784
1303
  {
785
1304
  "length": 20,
786
- "start": 1307
1305
+ "start": 1525
787
1306
  },
788
1307
  {
789
1308
  "length": 20,
790
- "start": 2589
1309
+ "start": 2968
791
1310
  },
792
1311
  {
793
1312
  "length": 20,
794
- "start": 5975
1313
+ "start": 11266
795
1314
  }
796
1315
  ],
797
1316
  "VersionPartLib": [
798
1317
  {
799
1318
  "length": 20,
800
- "start": 4198
1319
+ "start": 7685
801
1320
  }
802
1321
  ]
803
1322
  }