@etherisc/gif-next 0.0.2-d5522f6-712 → 0.0.2-d5fac82-078

Sign up to get free protection for your applications and to get access to all the features.
Files changed (536) hide show
  1. package/README.md +10 -14
  2. package/artifacts/contracts/distribution/Distribution.sol/Distribution.dbg.json +4 -0
  3. package/artifacts/contracts/distribution/Distribution.sol/Distribution.json +1395 -0
  4. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.dbg.json +4 -0
  5. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.json +1575 -0
  6. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +4 -0
  7. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.json +851 -0
  8. package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.dbg.json +4 -0
  9. package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.json +1000 -0
  10. package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.dbg.json +4 -0
  11. package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.json +840 -0
  12. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.dbg.json +1 -1
  13. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.json +73 -83
  14. package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
  15. package/artifacts/contracts/instance/IInstance.sol/IInstance.json +278 -1362
  16. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +1 -1
  17. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +264 -218
  18. package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
  19. package/artifacts/contracts/instance/Instance.sol/Instance.json +459 -2530
  20. package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.dbg.json +4 -0
  21. package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.json +746 -0
  22. package/artifacts/contracts/instance/InstanceAuthorizationsLib.sol/InstanceAuthorizationsLib.dbg.json +4 -0
  23. package/artifacts/contracts/instance/InstanceAuthorizationsLib.sol/InstanceAuthorizationsLib.json +188 -0
  24. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +1 -1
  25. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +432 -280
  26. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +1 -1
  27. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +415 -380
  28. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +1 -1
  29. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +362 -95
  30. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.dbg.json +4 -0
  31. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.json +2847 -0
  32. package/artifacts/contracts/instance/base/Cloneable.sol/Cloneable.dbg.json +4 -0
  33. package/artifacts/contracts/instance/{Cloneable.sol → base/Cloneable.sol}/Cloneable.json +6 -1
  34. package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.dbg.json +1 -1
  35. package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.json +49 -0
  36. package/artifacts/contracts/instance/base/ILifecycle.sol/ILifecycle.dbg.json +1 -1
  37. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.dbg.json +1 -1
  38. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.json +93 -14
  39. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.dbg.json +1 -1
  40. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.json +38 -13
  41. package/artifacts/contracts/instance/base/ObjectManager.sol/ObjectManager.dbg.json +4 -0
  42. package/artifacts/contracts/instance/base/ObjectManager.sol/ObjectManager.json +256 -0
  43. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.dbg.json +1 -1
  44. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.json +13 -159
  45. package/artifacts/contracts/instance/module/IBundle.sol/IBundle.dbg.json +1 -1
  46. package/artifacts/contracts/instance/module/IComponents.sol/IComponents.dbg.json +4 -0
  47. package/artifacts/contracts/instance/module/IComponents.sol/IComponents.json +10 -0
  48. package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.dbg.json +1 -1
  49. package/artifacts/contracts/instance/module/IPolicy.sol/IPolicy.dbg.json +1 -1
  50. package/artifacts/contracts/instance/module/IRisk.sol/IRisk.dbg.json +1 -1
  51. package/artifacts/contracts/instance/module/ISetup.sol/ISetup.dbg.json +1 -1
  52. package/artifacts/contracts/instance/module/ITreasury.sol/ITreasury.dbg.json +1 -1
  53. package/artifacts/contracts/pool/BundleService.sol/BundleService.dbg.json +4 -0
  54. package/artifacts/contracts/pool/BundleService.sol/BundleService.json +1307 -0
  55. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.dbg.json +4 -0
  56. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.json +767 -0
  57. package/artifacts/contracts/pool/IBundleService.sol/IBundleService.dbg.json +4 -0
  58. package/artifacts/contracts/{instance/service → pool}/IBundleService.sol/IBundleService.json +291 -276
  59. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.dbg.json +4 -0
  60. package/artifacts/contracts/{components/Pool.sol/Pool.json → pool/IPoolComponent.sol/IPoolComponent.json} +448 -195
  61. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.dbg.json +4 -0
  62. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.json +1077 -0
  63. package/artifacts/contracts/pool/Pool.sol/Pool.dbg.json +4 -0
  64. package/artifacts/contracts/pool/Pool.sol/Pool.json +1426 -0
  65. package/artifacts/contracts/pool/PoolService.sol/PoolService.dbg.json +4 -0
  66. package/artifacts/contracts/pool/PoolService.sol/PoolService.json +1641 -0
  67. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.dbg.json +4 -0
  68. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.json +779 -0
  69. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.dbg.json +4 -0
  70. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.json +937 -0
  71. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +4 -0
  72. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.json +719 -0
  73. package/artifacts/contracts/product/ClaimService.sol/ClaimService.dbg.json +4 -0
  74. package/artifacts/contracts/product/ClaimService.sol/ClaimService.json +1405 -0
  75. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +4 -0
  76. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.json +819 -0
  77. package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.dbg.json +4 -0
  78. package/artifacts/contracts/{instance/service/IComponentOwnerService.sol/IComponentOwnerService.json → product/IApplicationService.sol/IApplicationService.json} +218 -191
  79. package/artifacts/contracts/product/IClaimService.sol/IClaimService.dbg.json +4 -0
  80. package/artifacts/contracts/product/IClaimService.sol/IClaimService.json +753 -0
  81. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.dbg.json +4 -0
  82. package/artifacts/contracts/{instance/service → product}/IPolicyService.sol/IPolicyService.json +182 -302
  83. package/artifacts/contracts/product/IPricingService.sol/IPricingService.dbg.json +4 -0
  84. package/artifacts/contracts/{instance/service/IPoolService.sol/IPoolService.json → product/IPricingService.sol/IPricingService.json} +241 -230
  85. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.dbg.json +4 -0
  86. package/artifacts/contracts/{components/Product.sol/Product.json → product/IProductComponent.sol/IProductComponent.json} +254 -168
  87. package/artifacts/contracts/product/IProductService.sol/IProductService.dbg.json +4 -0
  88. package/artifacts/contracts/{instance/service → product}/IProductService.sol/IProductService.json +72 -166
  89. package/artifacts/contracts/product/PolicyService.sol/PolicyService.dbg.json +4 -0
  90. package/artifacts/contracts/product/PolicyService.sol/PolicyService.json +1300 -0
  91. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +4 -0
  92. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.json +811 -0
  93. package/artifacts/contracts/product/PricingService.sol/PricingService.dbg.json +4 -0
  94. package/artifacts/contracts/product/PricingService.sol/PricingService.json +1023 -0
  95. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.dbg.json +4 -0
  96. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.json +759 -0
  97. package/artifacts/contracts/product/Product.sol/Product.dbg.json +4 -0
  98. package/artifacts/contracts/product/Product.sol/Product.json +1217 -0
  99. package/artifacts/contracts/product/ProductService.sol/ProductService.dbg.json +4 -0
  100. package/artifacts/contracts/product/ProductService.sol/ProductService.json +883 -0
  101. package/artifacts/contracts/product/ProductServiceManager.sol/ProductServiceManager.dbg.json +4 -0
  102. package/artifacts/contracts/product/ProductServiceManager.sol/ProductServiceManager.json +711 -0
  103. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
  104. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +15 -2
  105. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
  106. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +209 -17
  107. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +1 -1
  108. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +225 -230
  109. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +1 -1
  110. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.json +18 -0
  111. package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
  112. package/artifacts/contracts/registry/Registry.sol/Registry.json +235 -43
  113. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.dbg.json +4 -0
  114. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.json +305 -0
  115. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +1 -1
  116. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +341 -254
  117. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +1 -1
  118. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +351 -84
  119. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.dbg.json +1 -1
  120. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.json +540 -83
  121. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +1 -1
  122. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +148 -62
  123. package/artifacts/contracts/shared/AccessManagerCustom.sol/AccessManagerCustom.dbg.json +4 -0
  124. package/artifacts/contracts/shared/AccessManagerCustom.sol/AccessManagerCustom.json +1193 -0
  125. package/artifacts/contracts/shared/AccessManagerExtended.sol/AccessManagerExtended.dbg.json +4 -0
  126. package/artifacts/contracts/shared/AccessManagerExtended.sol/AccessManagerExtended.json +1715 -0
  127. package/artifacts/contracts/shared/AccessManagerExtendedInitializeable.sol/AccessManagerExtendedInitializeable.dbg.json +4 -0
  128. package/artifacts/contracts/shared/AccessManagerExtendedInitializeable.sol/AccessManagerExtendedInitializeable.json +1728 -0
  129. package/artifacts/contracts/shared/AccessManagerExtendedWithDisable.sol/AccessManagerExtendedWithDisable.dbg.json +4 -0
  130. package/artifacts/contracts/shared/AccessManagerExtendedWithDisable.sol/AccessManagerExtendedWithDisable.json +1747 -0
  131. package/artifacts/contracts/shared/AccessManagerExtendedWithDisableInitializeable.sol/AccessManagerExtendedWithDisableInitializeable.dbg.json +4 -0
  132. package/artifacts/contracts/shared/AccessManagerExtendedWithDisableInitializeable.sol/AccessManagerExtendedWithDisableInitializeable.json +1765 -0
  133. package/artifacts/contracts/shared/AccessManagerUpgradeableInitializeable.sol/AccessManagerUpgradeableInitializeable.dbg.json +4 -0
  134. package/artifacts/contracts/shared/AccessManagerUpgradeableInitializeable.sol/AccessManagerUpgradeableInitializeable.json +1206 -0
  135. package/artifacts/contracts/shared/Component.sol/Component.dbg.json +4 -0
  136. package/artifacts/contracts/shared/Component.sol/Component.json +892 -0
  137. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.dbg.json +4 -0
  138. package/artifacts/contracts/{components/BaseComponent.sol/BaseComponent.json → shared/ComponentService.sol/ComponentService.json} +294 -126
  139. package/artifacts/contracts/shared/ERC165.sol/ERC165.dbg.json +1 -1
  140. package/artifacts/contracts/shared/ERC165.sol/ERC165.json +41 -3
  141. package/artifacts/contracts/shared/IAccessManagerExtended.sol/IAccessManagerExtended.dbg.json +4 -0
  142. package/artifacts/contracts/shared/IAccessManagerExtended.sol/IAccessManagerExtended.json +1562 -0
  143. package/artifacts/contracts/shared/IAccessManagerExtendedWithDisable.sol/IAccessManagerExtendedWithDisable.dbg.json +4 -0
  144. package/artifacts/contracts/shared/IAccessManagerExtendedWithDisable.sol/IAccessManagerExtendedWithDisable.json +1594 -0
  145. package/artifacts/contracts/shared/IComponent.sol/IComponent.dbg.json +4 -0
  146. package/artifacts/contracts/{components/Distribution.sol/Distribution.json → shared/IComponent.sol/IComponent.json} +173 -212
  147. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +1 -1
  148. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.json +27 -29
  149. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.dbg.json +4 -0
  150. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.json +189 -0
  151. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
  152. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +8 -34
  153. package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.dbg.json +4 -0
  154. package/artifacts/contracts/{experiment/inheritance/IA.sol/ISharedA.json → shared/IRegistryLinked.sol/IRegistryLinked.json} +15 -17
  155. package/artifacts/contracts/shared/IService.sol/IService.dbg.json +1 -1
  156. package/artifacts/contracts/shared/IService.sol/IService.json +71 -165
  157. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.dbg.json +1 -1
  158. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.json +2 -152
  159. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +1 -1
  160. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +120 -47
  161. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.dbg.json +4 -0
  162. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.json +302 -0
  163. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.dbg.json +1 -1
  164. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.json +342 -61
  165. package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
  166. package/artifacts/contracts/shared/Registerable.sol/Registerable.json +137 -53
  167. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.dbg.json +4 -0
  168. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.json +71 -0
  169. package/artifacts/contracts/shared/Service.sol/Service.dbg.json +1 -1
  170. package/artifacts/contracts/shared/Service.sol/Service.json +189 -150
  171. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +1 -1
  172. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +24 -6
  173. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +1 -1
  174. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +2 -2
  175. package/artifacts/contracts/shared/Versionable.sol/Versionable.dbg.json +1 -1
  176. package/artifacts/contracts/shared/Versionable.sol/Versionable.json +2 -152
  177. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.dbg.json +4 -0
  178. package/artifacts/contracts/{instance/base/ComponentServiceBase.sol/ComponentServiceBase.json → staking/IStakingService.sol/IStakingService.json} +198 -207
  179. package/artifacts/contracts/staking/StakingService.sol/StakingService.dbg.json +4 -0
  180. package/artifacts/contracts/staking/StakingService.sol/StakingService.json +786 -0
  181. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.dbg.json +4 -0
  182. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.json +699 -0
  183. package/artifacts/contracts/type/AddressSet.sol/LibAddressSet.dbg.json +4 -0
  184. package/artifacts/contracts/{types → type}/AddressSet.sol/LibAddressSet.json +3 -3
  185. package/artifacts/contracts/type/Amount.sol/AmountLib.dbg.json +4 -0
  186. package/artifacts/contracts/type/Amount.sol/AmountLib.json +281 -0
  187. package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.dbg.json +4 -0
  188. package/artifacts/contracts/{types → type}/Blocknumber.sol/BlocknumberLib.json +3 -3
  189. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.dbg.json +4 -0
  190. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.json +179 -0
  191. package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.dbg.json +4 -0
  192. package/artifacts/contracts/{types → type}/DistributorType.sol/DistributorTypeLib.json +5 -5
  193. package/artifacts/contracts/type/Fee.sol/FeeLib.dbg.json +4 -0
  194. package/artifacts/contracts/type/Fee.sol/FeeLib.json +312 -0
  195. package/artifacts/contracts/type/Key32.sol/Key32Lib.dbg.json +4 -0
  196. package/artifacts/contracts/{types → type}/Key32.sol/Key32Lib.json +3 -3
  197. package/artifacts/contracts/type/NftId.sol/NftIdLib.dbg.json +4 -0
  198. package/artifacts/contracts/type/NftId.sol/NftIdLib.json +166 -0
  199. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.dbg.json +4 -0
  200. package/artifacts/contracts/{types → type}/NftIdSet.sol/LibNftIdSet.json +3 -3
  201. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.dbg.json +4 -0
  202. package/artifacts/contracts/{types → type}/ObjectType.sol/ObjectTypeLib.json +3 -3
  203. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.dbg.json +4 -0
  204. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.json +209 -0
  205. package/artifacts/contracts/type/Referral.sol/ReferralLib.dbg.json +4 -0
  206. package/artifacts/contracts/type/Referral.sol/ReferralLib.json +142 -0
  207. package/artifacts/contracts/type/RiskId.sol/RiskIdLib.dbg.json +4 -0
  208. package/artifacts/contracts/{types → type}/RiskId.sol/RiskIdLib.json +5 -5
  209. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.dbg.json +4 -0
  210. package/artifacts/contracts/{types → type}/RoleId.sol/RoleIdLib.json +5 -5
  211. package/artifacts/contracts/type/Seconds.sol/SecondsLib.dbg.json +4 -0
  212. package/artifacts/contracts/type/Seconds.sol/SecondsLib.json +124 -0
  213. package/artifacts/contracts/type/StateId.sol/StateIdLib.dbg.json +4 -0
  214. package/artifacts/contracts/{types → type}/StateId.sol/StateIdLib.json +3 -3
  215. package/artifacts/contracts/type/Timestamp.sol/TimestampLib.dbg.json +4 -0
  216. package/artifacts/contracts/{types → type}/Timestamp.sol/TimestampLib.json +39 -8
  217. package/artifacts/contracts/type/UFixed.sol/MathLib.dbg.json +4 -0
  218. package/artifacts/contracts/{types → type}/UFixed.sol/MathLib.json +3 -3
  219. package/artifacts/contracts/type/UFixed.sol/UFixedLib.dbg.json +4 -0
  220. package/artifacts/contracts/{types → type}/UFixed.sol/UFixedLib.json +3 -3
  221. package/artifacts/contracts/type/Version.sol/VersionLib.dbg.json +4 -0
  222. package/artifacts/contracts/{types → type}/Version.sol/VersionLib.json +3 -3
  223. package/artifacts/contracts/type/Version.sol/VersionPartLib.dbg.json +4 -0
  224. package/artifacts/contracts/{types → type}/Version.sol/VersionPartLib.json +3 -3
  225. package/contracts/distribution/Distribution.sol +285 -0
  226. package/contracts/distribution/DistributionService.sol +351 -0
  227. package/contracts/distribution/DistributionServiceManager.sol +42 -0
  228. package/contracts/distribution/IDistributionComponent.sol +71 -0
  229. package/contracts/distribution/IDistributionService.sol +87 -0
  230. package/contracts/instance/BundleManager.sol +22 -25
  231. package/contracts/instance/IInstance.sol +56 -41
  232. package/contracts/instance/IInstanceService.sol +50 -17
  233. package/contracts/instance/Instance.sol +151 -197
  234. package/contracts/instance/InstanceAdmin.sol +354 -0
  235. package/contracts/instance/InstanceAuthorizationsLib.sol +320 -0
  236. package/contracts/instance/InstanceReader.sol +102 -49
  237. package/contracts/instance/InstanceService.sol +200 -247
  238. package/contracts/instance/InstanceServiceManager.sol +12 -22
  239. package/contracts/instance/InstanceStore.sol +211 -0
  240. package/contracts/instance/{Cloneable.sol → base/Cloneable.sol} +8 -3
  241. package/contracts/instance/base/IKeyValueStore.sol +14 -10
  242. package/contracts/instance/base/ILifecycle.sol +3 -3
  243. package/contracts/instance/base/KeyValueStore.sol +44 -47
  244. package/contracts/instance/base/Lifecycle.sol +28 -7
  245. package/contracts/instance/{ObjectManager.sol → base/ObjectManager.sol} +16 -35
  246. package/contracts/instance/module/IAccess.sol +17 -21
  247. package/contracts/instance/module/IBundle.sol +11 -8
  248. package/contracts/instance/module/IComponents.sol +41 -0
  249. package/contracts/instance/module/IDistribution.sol +7 -4
  250. package/contracts/instance/module/IPolicy.sol +50 -17
  251. package/contracts/instance/module/IRisk.sol +1 -1
  252. package/contracts/instance/module/ISetup.sol +9 -22
  253. package/contracts/instance/module/ITreasury.sol +2 -2
  254. package/contracts/pool/BundleService.sol +384 -0
  255. package/contracts/pool/BundleServiceManager.sol +42 -0
  256. package/contracts/pool/IBundleService.sol +118 -0
  257. package/contracts/pool/IPoolComponent.sol +114 -0
  258. package/contracts/pool/IPoolService.sol +114 -0
  259. package/contracts/pool/Pool.sol +302 -0
  260. package/contracts/pool/PoolService.sol +404 -0
  261. package/contracts/pool/PoolServiceManager.sol +42 -0
  262. package/contracts/product/ApplicationService.sol +187 -0
  263. package/contracts/product/ApplicationServiceManager.sol +38 -0
  264. package/contracts/product/ClaimService.sol +443 -0
  265. package/contracts/product/ClaimServiceManager.sol +38 -0
  266. package/contracts/product/IApplicationService.sol +62 -0
  267. package/contracts/product/IClaimService.sol +93 -0
  268. package/contracts/product/IPolicyService.sol +80 -0
  269. package/contracts/product/IPricingService.sol +37 -0
  270. package/contracts/product/IProductComponent.sol +41 -0
  271. package/contracts/{instance/service → product}/IProductService.sol +10 -10
  272. package/contracts/product/PolicyService.sol +378 -0
  273. package/contracts/product/PolicyServiceManager.sol +42 -0
  274. package/contracts/product/PricingService.sol +276 -0
  275. package/contracts/product/PricingServiceManager.sol +42 -0
  276. package/contracts/product/Product.sol +379 -0
  277. package/contracts/product/ProductService.sol +212 -0
  278. package/contracts/product/ProductServiceManager.sol +42 -0
  279. package/contracts/registry/ChainNft.sol +8 -0
  280. package/contracts/registry/IRegistry.sol +42 -21
  281. package/contracts/registry/IRegistryService.sol +42 -41
  282. package/contracts/registry/ITransferInterceptor.sol +1 -0
  283. package/contracts/registry/Registry.sol +165 -96
  284. package/contracts/registry/RegistryAdmin.sol +143 -0
  285. package/contracts/registry/RegistryService.sol +84 -171
  286. package/contracts/registry/RegistryServiceManager.sol +22 -24
  287. package/contracts/registry/ReleaseManager.sol +317 -202
  288. package/contracts/registry/TokenRegistry.sol +23 -15
  289. package/contracts/shared/AccessManagerCustom.sol +736 -0
  290. package/contracts/shared/AccessManagerExtended.sol +469 -0
  291. package/contracts/shared/AccessManagerExtendedInitializeable.sol +13 -0
  292. package/contracts/shared/AccessManagerExtendedWithDisable.sol +125 -0
  293. package/contracts/shared/AccessManagerExtendedWithDisableInitializeable.sol +14 -0
  294. package/contracts/shared/AccessManagerUpgradeableInitializeable.sol +13 -0
  295. package/contracts/shared/Component.sol +271 -0
  296. package/contracts/shared/ComponentService.sol +141 -0
  297. package/contracts/shared/ERC165.sol +14 -12
  298. package/contracts/shared/IAccessManagerExtended.sol +74 -0
  299. package/contracts/shared/IAccessManagerExtendedWithDisable.sol +17 -0
  300. package/contracts/shared/IComponent.sol +90 -0
  301. package/contracts/shared/INftOwnable.sol +12 -11
  302. package/contracts/shared/IPolicyHolder.sol +40 -0
  303. package/contracts/shared/IRegisterable.sol +4 -6
  304. package/contracts/shared/IRegistryLinked.sol +11 -0
  305. package/contracts/shared/IService.sol +6 -4
  306. package/contracts/shared/IVersionable.sol +5 -48
  307. package/contracts/shared/NftOwnable.sol +68 -85
  308. package/contracts/shared/PolicyHolder.sol +94 -0
  309. package/contracts/shared/ProxyManager.sol +131 -25
  310. package/contracts/shared/Registerable.sol +26 -41
  311. package/contracts/shared/RegistryLinked.sol +43 -0
  312. package/contracts/shared/Service.sol +37 -23
  313. package/contracts/shared/TokenHandler.sol +14 -6
  314. package/contracts/shared/Versionable.sol +4 -92
  315. package/contracts/staking/IStakingService.sol +102 -0
  316. package/contracts/staking/StakingService.sol +169 -0
  317. package/contracts/staking/StakingServiceManager.sol +40 -0
  318. package/contracts/type/Amount.sol +109 -0
  319. package/contracts/{types → type}/Blocknumber.sol +1 -0
  320. package/contracts/type/ClaimId.sol +75 -0
  321. package/contracts/{types → type}/DistributorType.sol +2 -2
  322. package/contracts/{types → type}/Fee.sol +17 -8
  323. package/contracts/{types → type}/NftId.sol +8 -0
  324. package/contracts/{types → type}/NftIdSet.sol +1 -1
  325. package/contracts/{types → type}/ObjectType.sol +17 -7
  326. package/contracts/type/PayoutId.sol +82 -0
  327. package/contracts/{types → type}/Referral.sol +4 -0
  328. package/contracts/type/RoleId.sol +139 -0
  329. package/contracts/type/Seconds.sol +54 -0
  330. package/contracts/{types → type}/StateId.sol +7 -2
  331. package/contracts/{types → type}/Timestamp.sol +18 -13
  332. package/contracts/{types → type}/UFixed.sol +1 -0
  333. package/contracts/{types → type}/Version.sol +1 -0
  334. package/package.json +3 -3
  335. package/artifacts/contracts/components/BaseComponent.sol/BaseComponent.dbg.json +0 -4
  336. package/artifacts/contracts/components/Distribution.sol/Distribution.dbg.json +0 -4
  337. package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.dbg.json +0 -4
  338. package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.json +0 -397
  339. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.dbg.json +0 -4
  340. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.json +0 -152
  341. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.dbg.json +0 -4
  342. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.json +0 -275
  343. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.dbg.json +0 -4
  344. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.json +0 -157
  345. package/artifacts/contracts/components/Pool.sol/Pool.dbg.json +0 -4
  346. package/artifacts/contracts/components/Product.sol/Product.dbg.json +0 -4
  347. package/artifacts/contracts/experiment/cloning/Cloner.sol/Cloner.dbg.json +0 -4
  348. package/artifacts/contracts/experiment/cloning/Cloner.sol/Cloner.json +0 -66
  349. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock1.dbg.json +0 -4
  350. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock1.json +0 -24
  351. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock2.dbg.json +0 -4
  352. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock2.json +0 -42
  353. package/artifacts/contracts/experiment/errors/Require.sol/Require.dbg.json +0 -4
  354. package/artifacts/contracts/experiment/errors/Require.sol/Require.json +0 -105
  355. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.dbg.json +0 -4
  356. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.json +0 -105
  357. package/artifacts/contracts/experiment/inheritance/A.sol/A.dbg.json +0 -4
  358. package/artifacts/contracts/experiment/inheritance/A.sol/A.json +0 -128
  359. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.dbg.json +0 -4
  360. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.json +0 -42
  361. package/artifacts/contracts/experiment/inheritance/B.sol/B.dbg.json +0 -4
  362. package/artifacts/contracts/experiment/inheritance/B.sol/B.json +0 -76
  363. package/artifacts/contracts/experiment/inheritance/C.sol/C.dbg.json +0 -4
  364. package/artifacts/contracts/experiment/inheritance/C.sol/C.json +0 -89
  365. package/artifacts/contracts/experiment/inheritance/IA.sol/IA.dbg.json +0 -4
  366. package/artifacts/contracts/experiment/inheritance/IA.sol/IA.json +0 -128
  367. package/artifacts/contracts/experiment/inheritance/IA.sol/ISharedA.dbg.json +0 -4
  368. package/artifacts/contracts/experiment/inheritance/IB.sol/IB.dbg.json +0 -4
  369. package/artifacts/contracts/experiment/inheritance/IB.sol/IB.json +0 -50
  370. package/artifacts/contracts/experiment/inheritance/IC.sol/IC.dbg.json +0 -4
  371. package/artifacts/contracts/experiment/inheritance/IC.sol/IC.json +0 -63
  372. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.dbg.json +0 -4
  373. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.json +0 -59
  374. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.dbg.json +0 -4
  375. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.json +0 -124
  376. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.dbg.json +0 -4
  377. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.json +0 -74
  378. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.dbg.json +0 -4
  379. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.json +0 -124
  380. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.dbg.json +0 -4
  381. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.json +0 -207
  382. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.dbg.json +0 -4
  383. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.json +0 -10
  384. package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.dbg.json +0 -4
  385. package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.json +0 -10
  386. package/artifacts/contracts/instance/AccessManagerUpgradeableInitializeable.sol/AccessManagerUpgradeableInitializeable.dbg.json +0 -4
  387. package/artifacts/contracts/instance/AccessManagerUpgradeableInitializeable.sol/AccessManagerUpgradeableInitializeable.json +0 -1206
  388. package/artifacts/contracts/instance/Cloneable.sol/Cloneable.dbg.json +0 -4
  389. package/artifacts/contracts/instance/IInstanceBase.sol/IInstanceBase.dbg.json +0 -4
  390. package/artifacts/contracts/instance/IInstanceBase.sol/IInstanceBase.json +0 -448
  391. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.dbg.json +0 -4
  392. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.json +0 -1047
  393. package/artifacts/contracts/instance/InstanceBase.sol/InstanceBase.dbg.json +0 -4
  394. package/artifacts/contracts/instance/InstanceBase.sol/InstanceBase.json +0 -763
  395. package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.dbg.json +0 -4
  396. package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.json +0 -285
  397. package/artifacts/contracts/instance/base/ComponentServiceBase.sol/ComponentServiceBase.dbg.json +0 -4
  398. package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.dbg.json +0 -4
  399. package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.json +0 -113
  400. package/artifacts/contracts/instance/service/BundleService.sol/BundleService.dbg.json +0 -4
  401. package/artifacts/contracts/instance/service/BundleService.sol/BundleService.json +0 -1031
  402. package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.dbg.json +0 -4
  403. package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.json +0 -436
  404. package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.dbg.json +0 -4
  405. package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.json +0 -814
  406. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.dbg.json +0 -4
  407. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.json +0 -693
  408. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +0 -4
  409. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.json +0 -420
  410. package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.dbg.json +0 -4
  411. package/artifacts/contracts/instance/service/IComponentOwnerService.sol/IComponentOwnerService.dbg.json +0 -4
  412. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.dbg.json +0 -4
  413. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.json +0 -446
  414. package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.dbg.json +0 -4
  415. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.dbg.json +0 -4
  416. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.dbg.json +0 -4
  417. package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.dbg.json +0 -4
  418. package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.json +0 -1156
  419. package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +0 -4
  420. package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.json +0 -492
  421. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.dbg.json +0 -4
  422. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.json +0 -727
  423. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.dbg.json +0 -4
  424. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.json +0 -420
  425. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.dbg.json +0 -4
  426. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.json +0 -777
  427. package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.dbg.json +0 -4
  428. package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.json +0 -420
  429. package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.dbg.json +0 -4
  430. package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.json +0 -285
  431. package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.dbg.json +0 -4
  432. package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.json +0 -107
  433. package/artifacts/contracts/shared/RegisterableUpgradable.sol/RegisterableUpgradable.dbg.json +0 -4
  434. package/artifacts/contracts/shared/RegisterableUpgradable.sol/RegisterableUpgradable.json +0 -442
  435. package/artifacts/contracts/test/TestFee.sol/TestFee.dbg.json +0 -4
  436. package/artifacts/contracts/test/TestFee.sol/TestFee.json +0 -119
  437. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.dbg.json +0 -4
  438. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.json +0 -305
  439. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.dbg.json +0 -4
  440. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.json +0 -116
  441. package/artifacts/contracts/test/TestService.sol/TestService.dbg.json +0 -4
  442. package/artifacts/contracts/test/TestService.sol/TestService.json +0 -600
  443. package/artifacts/contracts/test/TestToken.sol/TestUsdc.dbg.json +0 -4
  444. package/artifacts/contracts/test/TestToken.sol/TestUsdc.json +0 -376
  445. package/artifacts/contracts/test/TestVersion.sol/TestVersion.dbg.json +0 -4
  446. package/artifacts/contracts/test/TestVersion.sol/TestVersion.json +0 -218
  447. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.dbg.json +0 -4
  448. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.json +0 -286
  449. package/artifacts/contracts/test/Usdc.sol/USDC.dbg.json +0 -4
  450. package/artifacts/contracts/test/Usdc.sol/USDC.json +0 -376
  451. package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.dbg.json +0 -4
  452. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.dbg.json +0 -4
  453. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.dbg.json +0 -4
  454. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.json +0 -10
  455. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.dbg.json +0 -4
  456. package/artifacts/contracts/types/Fee.sol/FeeLib.dbg.json +0 -4
  457. package/artifacts/contracts/types/Fee.sol/FeeLib.json +0 -257
  458. package/artifacts/contracts/types/Key32.sol/Key32Lib.dbg.json +0 -4
  459. package/artifacts/contracts/types/NftId.sol/NftIdLib.dbg.json +0 -4
  460. package/artifacts/contracts/types/NftId.sol/NftIdLib.json +0 -153
  461. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.dbg.json +0 -4
  462. package/artifacts/contracts/types/NumberId.sol/NumberIdLib.dbg.json +0 -4
  463. package/artifacts/contracts/types/NumberId.sol/NumberIdLib.json +0 -100
  464. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.dbg.json +0 -4
  465. package/artifacts/contracts/types/Referral.sol/ReferralLib.dbg.json +0 -4
  466. package/artifacts/contracts/types/Referral.sol/ReferralLib.json +0 -123
  467. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.dbg.json +0 -4
  468. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.dbg.json +0 -4
  469. package/artifacts/contracts/types/StateId.sol/StateIdLib.dbg.json +0 -4
  470. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.dbg.json +0 -4
  471. package/artifacts/contracts/types/UFixed.sol/MathLib.dbg.json +0 -4
  472. package/artifacts/contracts/types/UFixed.sol/UFixedLib.dbg.json +0 -4
  473. package/artifacts/contracts/types/Version.sol/VersionLib.dbg.json +0 -4
  474. package/artifacts/contracts/types/Version.sol/VersionPartLib.dbg.json +0 -4
  475. package/contracts/components/BaseComponent.sol +0 -159
  476. package/contracts/components/Distribution.sol +0 -164
  477. package/contracts/components/IBaseComponent.sol +0 -34
  478. package/contracts/components/IDistributionComponent.sol +0 -44
  479. package/contracts/components/IPoolComponent.sol +0 -66
  480. package/contracts/components/IProductComponent.sol +0 -35
  481. package/contracts/components/Pool.sol +0 -272
  482. package/contracts/components/Product.sol +0 -301
  483. package/contracts/experiment/cloning/Cloner.sol +0 -47
  484. package/contracts/experiment/errors/Require.sol +0 -38
  485. package/contracts/experiment/errors/Revert.sol +0 -44
  486. package/contracts/experiment/inheritance/A.sol +0 -53
  487. package/contracts/experiment/inheritance/B.sol +0 -28
  488. package/contracts/experiment/inheritance/C.sol +0 -34
  489. package/contracts/experiment/inheritance/IA.sol +0 -13
  490. package/contracts/experiment/inheritance/IB.sol +0 -10
  491. package/contracts/experiment/inheritance/IC.sol +0 -12
  492. package/contracts/experiment/statemachine/Dummy.sol +0 -27
  493. package/contracts/experiment/statemachine/ISM.sol +0 -25
  494. package/contracts/experiment/statemachine/SM.sol +0 -57
  495. package/contracts/experiment/statemachine/SimpleStateMachine.sol +0 -31
  496. package/contracts/experiment/types/TypeA.sol +0 -47
  497. package/contracts/experiment/types/TypeB.sol +0 -29
  498. package/contracts/instance/AccessManagerUpgradeableInitializeable.sol +0 -23
  499. package/contracts/instance/IInstanceBase.sol +0 -26
  500. package/contracts/instance/InstanceAccessManager.sol +0 -303
  501. package/contracts/instance/InstanceBase.sol +0 -41
  502. package/contracts/instance/base/ComponentServiceBase.sol +0 -76
  503. package/contracts/instance/base/IInstanceBase.sol +0 -23
  504. package/contracts/instance/service/BundleService.sol +0 -294
  505. package/contracts/instance/service/BundleServiceManager.sol +0 -51
  506. package/contracts/instance/service/ComponentOwnerService.sol +0 -315
  507. package/contracts/instance/service/DistributionService.sol +0 -120
  508. package/contracts/instance/service/DistributionServiceManager.sol +0 -51
  509. package/contracts/instance/service/IBundleService.sol +0 -44
  510. package/contracts/instance/service/IComponentOwnerService.sol +0 -20
  511. package/contracts/instance/service/IDistributionService.sol +0 -12
  512. package/contracts/instance/service/IPolicyService.sol +0 -94
  513. package/contracts/instance/service/IPoolService.sol +0 -20
  514. package/contracts/instance/service/PolicyService.sol +0 -539
  515. package/contracts/instance/service/PolicyServiceManager.sol +0 -54
  516. package/contracts/instance/service/PoolService.sol +0 -145
  517. package/contracts/instance/service/PoolServiceManager.sol +0 -51
  518. package/contracts/instance/service/ProductService.sol +0 -213
  519. package/contracts/instance/service/ProductServiceManager.sol +0 -54
  520. package/contracts/registry/RegistryAccessManager.sol +0 -210
  521. package/contracts/shared/ContractDeployerLib.sol +0 -72
  522. package/contracts/shared/RegisterableUpgradable.sol +0 -16
  523. package/contracts/test/TestFee.sol +0 -25
  524. package/contracts/test/TestRegisterable.sol +0 -18
  525. package/contracts/test/TestRoleId.sol +0 -14
  526. package/contracts/test/TestService.sol +0 -25
  527. package/contracts/test/TestToken.sol +0 -26
  528. package/contracts/test/TestVersion.sol +0 -44
  529. package/contracts/test/TestVersionable.sol +0 -17
  530. package/contracts/test/Usdc.sol +0 -26
  531. package/contracts/types/ChainId.sol +0 -38
  532. package/contracts/types/NumberId.sol +0 -52
  533. package/contracts/types/RoleId.sol +0 -90
  534. /package/contracts/{types → type}/AddressSet.sol +0 -0
  535. /package/contracts/{types → type}/Key32.sol +0 -0
  536. /package/contracts/{types → type}/RiskId.sol +0 -0
@@ -10,12 +10,12 @@
10
10
  },
11
11
  {
12
12
  "inputs": [],
13
- "name": "CallerNotRegistryService",
13
+ "name": "ErrorRegistryCallerNotRegistryService",
14
14
  "type": "error"
15
15
  },
16
16
  {
17
17
  "inputs": [],
18
- "name": "CallerNotReleaseManager",
18
+ "name": "ErrorRegistryCallerNotReleaseManager",
19
19
  "type": "error"
20
20
  },
21
21
  {
@@ -26,23 +26,33 @@
26
26
  "type": "address"
27
27
  }
28
28
  ],
29
- "name": "ContractAlreadyRegistered",
29
+ "name": "ErrorRegistryContractAlreadyRegistered",
30
+ "type": "error"
31
+ },
32
+ {
33
+ "inputs": [],
34
+ "name": "ErrorRegistryCoreTypeRegistration",
30
35
  "type": "error"
31
36
  },
32
37
  {
33
38
  "inputs": [
34
39
  {
35
- "internalType": "ObjectType",
36
- "name": "objectType",
40
+ "internalType": "address",
41
+ "name": "service",
42
+ "type": "address"
43
+ },
44
+ {
45
+ "internalType": "VersionPart",
46
+ "name": "version",
37
47
  "type": "uint8"
38
48
  },
39
49
  {
40
50
  "internalType": "ObjectType",
41
- "name": "parentType",
51
+ "name": "domain",
42
52
  "type": "uint8"
43
53
  }
44
54
  ],
45
- "name": "InvalidTypesCombination",
55
+ "name": "ErrorRegistryDomainAlreadyRegistered",
46
56
  "type": "error"
47
57
  },
48
58
  {
@@ -53,17 +63,28 @@
53
63
  "type": "address"
54
64
  }
55
65
  ],
56
- "name": "ServiceAlreadyRegistered",
66
+ "name": "ErrorRegistryDomainZero",
57
67
  "type": "error"
58
68
  },
59
69
  {
60
70
  "inputs": [],
61
- "name": "ServiceRegistration",
71
+ "name": "ErrorRegistryParentAddressZero",
62
72
  "type": "error"
63
73
  },
64
74
  {
65
- "inputs": [],
66
- "name": "ZeroParentAddress",
75
+ "inputs": [
76
+ {
77
+ "internalType": "ObjectType",
78
+ "name": "objectType",
79
+ "type": "uint8"
80
+ },
81
+ {
82
+ "internalType": "ObjectType",
83
+ "name": "parentType",
84
+ "type": "uint8"
85
+ }
86
+ ],
87
+ "name": "ErrorRegistryTypesCombinationInvalid",
67
88
  "type": "error"
68
89
  },
69
90
  {
@@ -169,10 +190,10 @@
169
190
  },
170
191
  {
171
192
  "inputs": [],
172
- "name": "getChainNft",
193
+ "name": "getChainNftAddress",
173
194
  "outputs": [
174
195
  {
175
- "internalType": "contract ChainNft",
196
+ "internalType": "address",
176
197
  "name": "",
177
198
  "type": "address"
178
199
  }
@@ -182,7 +203,7 @@
182
203
  },
183
204
  {
184
205
  "inputs": [],
185
- "name": "getMajorVersion",
206
+ "name": "getInitialVersion",
186
207
  "outputs": [
187
208
  {
188
209
  "internalType": "VersionPart",
@@ -195,7 +216,7 @@
195
216
  },
196
217
  {
197
218
  "inputs": [],
198
- "name": "getMajorVersionMax",
219
+ "name": "getLatestVersion",
199
220
  "outputs": [
200
221
  {
201
222
  "internalType": "VersionPart",
@@ -208,7 +229,7 @@
208
229
  },
209
230
  {
210
231
  "inputs": [],
211
- "name": "getMajorVersionMin",
232
+ "name": "getNextVersion",
212
233
  "outputs": [
213
234
  {
214
235
  "internalType": "VersionPart",
@@ -389,6 +410,25 @@
389
410
  "stateMutability": "view",
390
411
  "type": "function"
391
412
  },
413
+ {
414
+ "inputs": [
415
+ {
416
+ "internalType": "VersionPart",
417
+ "name": "version",
418
+ "type": "uint8"
419
+ }
420
+ ],
421
+ "name": "getReleaseAccessManagerAddress",
422
+ "outputs": [
423
+ {
424
+ "internalType": "address",
425
+ "name": "",
426
+ "type": "address"
427
+ }
428
+ ],
429
+ "stateMutability": "view",
430
+ "type": "function"
431
+ },
392
432
  {
393
433
  "inputs": [
394
434
  {
@@ -401,6 +441,46 @@
401
441
  "outputs": [
402
442
  {
403
443
  "components": [
444
+ {
445
+ "internalType": "VersionPart",
446
+ "name": "version",
447
+ "type": "uint8"
448
+ },
449
+ {
450
+ "internalType": "address[]",
451
+ "name": "addresses",
452
+ "type": "address[]"
453
+ },
454
+ {
455
+ "internalType": "string[]",
456
+ "name": "names",
457
+ "type": "string[]"
458
+ },
459
+ {
460
+ "internalType": "RoleId[][]",
461
+ "name": "serviceRoles",
462
+ "type": "uint64[][]"
463
+ },
464
+ {
465
+ "internalType": "string[][]",
466
+ "name": "serviceRoleNames",
467
+ "type": "string[][]"
468
+ },
469
+ {
470
+ "internalType": "RoleId[][]",
471
+ "name": "functionRoles",
472
+ "type": "uint64[][]"
473
+ },
474
+ {
475
+ "internalType": "string[][]",
476
+ "name": "functionRoleNames",
477
+ "type": "string[][]"
478
+ },
479
+ {
480
+ "internalType": "bytes4[][][]",
481
+ "name": "selectors",
482
+ "type": "bytes4[][][]"
483
+ },
404
484
  {
405
485
  "internalType": "ObjectType[]",
406
486
  "name": "domains",
@@ -408,7 +488,12 @@
408
488
  },
409
489
  {
410
490
  "internalType": "Timestamp",
411
- "name": "createdAt",
491
+ "name": "activatedAt",
492
+ "type": "uint40"
493
+ },
494
+ {
495
+ "internalType": "Timestamp",
496
+ "name": "disabledAt",
412
497
  "type": "uint40"
413
498
  }
414
499
  ],
@@ -420,6 +505,19 @@
420
505
  "stateMutability": "view",
421
506
  "type": "function"
422
507
  },
508
+ {
509
+ "inputs": [],
510
+ "name": "getReleaseManagerAddress",
511
+ "outputs": [
512
+ {
513
+ "internalType": "address",
514
+ "name": "",
515
+ "type": "address"
516
+ }
517
+ ],
518
+ "stateMutability": "view",
519
+ "type": "function"
520
+ },
423
521
  {
424
522
  "inputs": [
425
523
  {
@@ -437,13 +535,32 @@
437
535
  "outputs": [
438
536
  {
439
537
  "internalType": "address",
440
- "name": "",
538
+ "name": "service",
441
539
  "type": "address"
442
540
  }
443
541
  ],
444
542
  "stateMutability": "view",
445
543
  "type": "function"
446
544
  },
545
+ {
546
+ "inputs": [
547
+ {
548
+ "internalType": "VersionPart",
549
+ "name": "version",
550
+ "type": "uint8"
551
+ }
552
+ ],
553
+ "name": "isActiveRelease",
554
+ "outputs": [
555
+ {
556
+ "internalType": "bool",
557
+ "name": "",
558
+ "type": "bool"
559
+ }
560
+ ],
561
+ "stateMutability": "view",
562
+ "type": "function"
563
+ },
447
564
  {
448
565
  "inputs": [
449
566
  {
@@ -482,6 +599,25 @@
482
599
  "stateMutability": "view",
483
600
  "type": "function"
484
601
  },
602
+ {
603
+ "inputs": [
604
+ {
605
+ "internalType": "address",
606
+ "name": "object",
607
+ "type": "address"
608
+ }
609
+ ],
610
+ "name": "isRegisteredComponent",
611
+ "outputs": [
612
+ {
613
+ "internalType": "bool",
614
+ "name": "",
615
+ "type": "bool"
616
+ }
617
+ ],
618
+ "stateMutability": "view",
619
+ "type": "function"
620
+ },
485
621
  {
486
622
  "inputs": [
487
623
  {
@@ -661,6 +797,62 @@
661
797
  "stateMutability": "nonpayable",
662
798
  "type": "function"
663
799
  },
800
+ {
801
+ "inputs": [
802
+ {
803
+ "components": [
804
+ {
805
+ "internalType": "NftId",
806
+ "name": "nftId",
807
+ "type": "uint96"
808
+ },
809
+ {
810
+ "internalType": "NftId",
811
+ "name": "parentNftId",
812
+ "type": "uint96"
813
+ },
814
+ {
815
+ "internalType": "ObjectType",
816
+ "name": "objectType",
817
+ "type": "uint8"
818
+ },
819
+ {
820
+ "internalType": "bool",
821
+ "name": "isInterceptor",
822
+ "type": "bool"
823
+ },
824
+ {
825
+ "internalType": "address",
826
+ "name": "objectAddress",
827
+ "type": "address"
828
+ },
829
+ {
830
+ "internalType": "address",
831
+ "name": "initialOwner",
832
+ "type": "address"
833
+ },
834
+ {
835
+ "internalType": "bytes",
836
+ "name": "data",
837
+ "type": "bytes"
838
+ }
839
+ ],
840
+ "internalType": "struct IRegistry.ObjectInfo",
841
+ "name": "info",
842
+ "type": "tuple"
843
+ }
844
+ ],
845
+ "name": "registerWithCustomType",
846
+ "outputs": [
847
+ {
848
+ "internalType": "NftId",
849
+ "name": "nftId",
850
+ "type": "uint96"
851
+ }
852
+ ],
853
+ "stateMutability": "nonpayable",
854
+ "type": "function"
855
+ },
664
856
  {
665
857
  "inputs": [
666
858
  {
@@ -677,76 +869,76 @@
677
869
  "type": "bool"
678
870
  }
679
871
  ],
680
- "stateMutability": "view",
872
+ "stateMutability": "pure",
681
873
  "type": "function"
682
874
  }
683
875
  ],
684
- "bytecode": "0x60806040523480156200001157600080fd5b50620000546301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b600780546001600160a01b031916331790556040513090620000769062000b89565b6001600160a01b039091168152602001604051809103906000f080158015620000a3573d6000803e3d6000fd5b50600680546001600160a01b03929092166c01000000000000000000000000026001600160601b03909216919091179055620000de62000134565b620000e862000356565b620000f262000713565b63102da10360e01b60009081526020527fda2f1c7c93249a15b6e94303c502da92707bd3eefa34d80caa06d9c10412fded805460ff1916600117905562000d1e565b60006006600c9054906101000a90046001600160a01b03166001600160a01b031663598e28926040518163ffffffff1660e01b8152600401602060405180830381865afa1580156200018a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620001b0919062000b97565b6040805160e0810182526001600160601b0383168152600060208201529192508291908101600a5b60ff908116825260006020808401829052604080850183905260016060808701829052825180850184528581526080978801526001600160601b03808a1686528285529483902088518154958a0151948a0151928a01511515600160c81b0260ff60c81b1993909816600160c01b029290921661ffff60c01b199487166c01000000000000000000000000026001600160c01b031990961692909616919091179390931791909116929092179290921782559183015191810180546001600160a01b039384166001600160a01b03199182161790915560a08401516002830180549190941691161790915560c08201516003820190620002d9908262000c52565b50506006546040516340c10f1960e01b815260016004820152602481018590526c010000000000000000000000009091046001600160a01b031691506340c10f1990604401600060405180830381600087803b1580156200033957600080fd5b505af11580156200034e573d6000803e3d6000fd5b505050505050565b600654604051630559ea4760e01b8152600260048201526000916c0100000000000000000000000090046001600160a01b031690630559ea4790602401602060405180830381865afa158015620003b1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620003d7919062000b97565b9050600081905060006006600c9054906101000a90046001600160a01b03166001600160a01b0316632e85b1f36040518163ffffffff1660e01b8152600401602060405180830381865afa15801562000434573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200045a919062000b97565b8314620004f4576200046b62000a6d565b620004ec6006600c9054906101000a90046001600160a01b03166001600160a01b0316632e85b1f36040518163ffffffff1660e01b8152600401602060405180830381865afa158015620004c3573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620004e9919062000b97565b90565b90506200054f565b6200054c6006600c9054906101000a90046001600160a01b03166001600160a01b031663598e28926040518163ffffffff1660e01b8152600401602060405180830381865afa158015620004c3573d6000803e3d6000fd5b90505b6040805160e0810182526001600160601b03848116808352848216602080850191825260288587019081526000606087018181523060808901908152600160a08a018181528b518088018d5285815260c08c019081529885529581905299909220885181549651945192511515600160c81b0260ff60c81b1960ff909416600160c01b029390931661ffff60c01b19958a166c01000000000000000000000000026001600160c01b03199098169190991617959095179290921695909517178255925194810180546001600160a01b039687166001600160a01b031991821617909155925160028201805491909616931692909217909355915190919060038201906200065d908262000c52565b5050306000908152600260205260409081902080546001600160601b0386166001600160601b03199182168117909255600680549091169091179081905590516340c10f1960e01b815260016004820152602481018690526c010000000000000000000000009091046001600160a01b031691506340c10f1990604401600060405180830381600087803b158015620006f557600080fd5b505af11580156200070a573d6000803e3d6000fd5b50505050505050565b7f018c877a3c1f175f42ac2fd4d91e2c99e438afe50496f22ceaf98c7ffc168eb2805460ff19166001908117909155603c600090815260046020527f2fc109324a9702a6c6d9ee4cb191009203224963472d729f754fd607ea2f8fd09062000779602890565b60ff16815260208101919091526040016000908120805460ff191692151592909217909155600190600490620007ad604690565b60ff1660ff1681526020019081526020016000206000620007d362000b7560201b60201c565b60ff16815260208101919091526040016000908120805460ff19169215159290921790915560019060049062000807606e90565b60ff1660ff16815260200190815260200160002060006200082d62000b7a60201b60201c565b60ff16815260208101919091526040016000908120805460ff19169215159290921790915560019060049062000861607890565b60ff1660ff16815260200190815260200160002060006200088762000b7a60201b60201c565b60ff16815260208101919091526040016000908120805460ff191692151592909217909155600190600490620008bb608290565b60ff1660ff1681526020019081526020016000206000620008e162000b7a60201b60201c565b60ff16815260208101919091526040016000908120805460ff19169215159290921790915560019060049062000915608c90565b60ff1660ff16815260200190815260200160002060006200093b62000b7a60201b60201c565b60ff16815260208101919091526040016000908120805460ff1916921515929092179091556001906005906200096f60d290565b60ff1660ff16815260200190815260200160002060006200099562000b7f60201b60201c565b60ff16815260208101919091526040016000908120805460ff191692151592909217909155600190600590620009c960dc90565b60ff1660ff1681526020019081526020016000206000620009ef62000b8460201b60201c565b60ff16815260208101919091526040016000908120805460ff19169215159290921790915560019060059062000a23605090565b60ff1660ff168152602001908152602001600020600062000a4962000b8460201b60201c565b60ff1681526020810191909152604001600020805460ff1916911515919091179055565b60006006600c9054906101000a90046001600160a01b03166001600160a01b0316632e85b1f36040518163ffffffff1660e01b8152600401602060405180830381865afa15801562000ac3573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000ae9919062000b97565b905060008190506040518060e00160405280826001600160601b0316815260200162000b626006600c9054906101000a90046001600160a01b03166001600160a01b031663598e28926040518163ffffffff1660e01b8152600401602060405180830381865afa158015620004c3573d6000803e3d6000fd5b6001600160601b03168152602001620001d85b602890565b604690565b606e90565b608c90565b611e3d806200285283390190565b60006020828403121562000baa57600080fd5b5051919050565b634e487b7160e01b600052604160045260246000fd5b600181811c9082168062000bdc57607f821691505b60208210810362000bfd57634e487b7160e01b600052602260045260246000fd5b50919050565b601f82111562000c4d57600081815260208120601f850160051c8101602086101562000c2c5750805b601f850160051c820191505b818110156200034e5782815560010162000c38565b505050565b81516001600160401b0381111562000c6e5762000c6e62000bb1565b62000c868162000c7f845462000bc7565b8462000c03565b602080601f83116001811462000cbe576000841562000ca55750858301515b600019600386901b1c1916600185901b1785556200034e565b600085815260208120601f198616915b8281101562000cef5788860151825594840194600190910190840162000cce565b508582101562000d0e5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b611b248062000d2e6000396000f3fe608060405234801561001057600080fd5b506004361061014d5760003560e01c8063a48f42e0116100c3578063cde749f41161007c578063cde749f4146102f9578063d2213b5b14610301578063d272ac1e14610321578063d39e604314610353578063e285c9c414610390578063e74d052f1461039857600080fd5b8063a48f42e01461028d578063a5df9e4e146102a0578063a7050a56146102b3578063ae8dfb79146102c6578063bc36dc91146102ce578063c3c5a547146102e657600080fd5b806338e19a751161011557806338e19a75146101fb5780633fe9300e14610215578063644c45e0146102385780637374162b1461025d578063893d20e8146102655780638b09a5f01461026d57600080fd5b806301ffc9a71461015257806314afd79e146101945780631a848cfb146101bf5780632b91e0a9146101d557806338bb429a146101e8575b600080fd5b61017f610160366004611316565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b6101a76101a236600461136f565b6103ab565b6040516001600160a01b03909116815260200161018b565b6101c76104c7565b60405190815260200161018b565b61017f6101e336600461136f565b610545565b6101a76101f63660046113ac565b610632565b61020361068f565b60405160ff909116815260200161018b565b61022b6040518060200160405280600081525081565b60405161018b919061140f565b6006546001600160601b03165b6040516001600160601b03909116815260200161018b565b6102036106fd565b6101a7610747565b61028061027b36600461136f565b610752565b60405161018b9190611422565b61028061029b3660046113ac565b6108b9565b6102456102ae366004611689565b61098b565b6102456102c13660046116be565b610a4c565b6101c7600281565b600654600160601b90046001600160a01b03166101a7565b61017f6102f436600461136f565b610b68565b610203610bff565b61031461030f366004611722565b610c49565b60405161018b919061173f565b61024561032f36600461136f565b6001600160a01b03166000908152600260205260409020546001600160601b031690565b6101a76103613660046117a5565b60ff8082166000908152600360209081526040808320938616835292905220546001600160a01b031692915050565b6101a7600181565b61017f6103a63660046113ac565b610ccf565b6006546001600160a01b0382811660009081526002602052604080822054905163046e44af60e11b81526001600160601b0390911660048201529092600160601b900490911690636352211e9073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906308dc895e906024015b602060405180830381865af4158015610435573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061045991906117de565b6040516001600160e01b031960e084901b1681526001600160601b039091166004820152602401602060405180830381865afa15801561049d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104c191906117fb565b92915050565b60006006600c9054906101000a90046001600160a01b03166001600160a01b03166318160ddd6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561051c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105409190611818565b905090565b6001600160a01b0381166000908152600260205260408082205490516330b8415f60e01b81526001600160601b03909116600482015273__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af41580156105b7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105db9190611831565b80156104c157506001600160a01b0382166000908152600260209081526040808320546001600160601b0316835260019091529020546104c190600160c01b900460ff16610627603c90565b60ff90811691161490565b60065460405163046e44af60e11b81526001600160601b0383166004820152600091600160601b90046001600160a01b031690636352211e9073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906308dc895e90602401610418565b600754604080516307208a1760e11b815290516000926001600160a01b031691630e41142e9160048083019260209291908290030181865afa1580156106d9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610540919061184e565b60075460408051630f40d7c360e41b815290516000926001600160a01b03169163f40d7c309160048083019260209291908290030181865afa1580156106d9573d6000803e3d6000fd5b6000610540306103ab565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a082019290925260c08101919091526001600160a01b038083166000908152600260208181526040808420546001600160601b039081168552600180845294829020825160e08101845281548084168252600160601b81049093169481019490945260ff600160c01b8304811693850193909352600160c81b9091049091161515606083015292830154841660808201529082015490921660a083015260038101805460c0840191906108309061186b565b80601f016020809104026020016040519081016040528092919081815260200182805461085c9061186b565b80156108a95780601f1061087e576101008083540402835291602001916108a9565b820191906000526020600020905b81548152906001019060200180831161088c57829003601f168201915b5050505050815250509050919050565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a082019290925260c08101919091526001600160601b03808316600090815260016020818152604092839020835160e08101855281548087168252600160601b81049096169281019290925260ff600160c01b8604811694830194909452600160c81b909404909216151560608301528201546001600160a01b03908116608083015260028301541660a082015260038201805491929160c0840191906108309061186b565b600754604051639ef6ddc960e01b81523360048201526000916001600160a01b031690639ef6ddc990602401602060405180830381865afa1580156109d4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109f89190611831565b610a1557604051638fe695a360e01b815260040160405180910390fd5b610a258260400151610627603c90565b15610a435760405163b4a7fc9360e01b815260040160405180910390fd5b6104c182610d29565b6007546000906001600160a01b03163314610a7a576040516347435e4760e11b815260040160405180910390fd5b60ff8084166000908152600360209081526040808320938616835292905220546001600160a01b031615610ad75760808401516040516353752f3960e11b81526001600160a01b0390911660048201526024015b60405180910390fd5b608084015160ff848116600090815260036020908152604080832093871683529290522080546001600160a01b0319166001600160a01b03909216919091179055610b2184610d29565b6040805160ff8087168252851660208201529192507fc4761a4fab07f2d3f242a458f91e31e4ea6128fe5edc599e3436f5f66317e0da910160405180910390a19392505050565b6001600160a01b0381166000908152600260205260408082205490516330b8415f60e01b81526001600160601b03909116600482015273__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f906024015b602060405180830381865af4158015610bdb573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104c19190611831565b60075460408051630e6d1de960e01b815290516000926001600160a01b031691630e6d1de99160048083019260209291908290030181865afa1580156106d9573d6000803e3d6000fd5b6040805180820182526060815260006020820152600754915163d2213b5b60e01b815260ff8416600482015290916001600160a01b03169063d2213b5b90602401600060405180830381865afa158015610ca7573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526104c191908101906118ba565b6001600160601b03811660009081526001602052604080822054905163b2466acf60e01b8152600160c01b90910460ff16600482015273__$fb4566b39bd2075cb32f600f6f40bfaef2$__9063b2466acf90602401610bbe565b6040808201516020808401516001600160601b0380821660009081526001808552868220875160e08101895281548086168252600160601b81049095169681019690965260ff600160c01b8504811698870198909852600160c81b90930490961615156060850152948101546001600160a01b03908116608085015260028201541660a08401526003810180549293869390929160c0840191610dcb9061186b565b80601f0160208091040260200160405190810160405280929190818152602001828054610df79061186b565b8015610e445780601f10610e1957610100808354040283529160200191610e44565b820191906000526020600020905b815481529060010190602001808311610e2757829003601f168201915b5050509190925250505060408101516080820151919250906001600160a01b038116610e835760405163b0014c0760e01b815260040160405180910390fd5b6000610e9d886060015189608001518660600151856112d8565b60065460a08a01516040805160208101825260008082529151631109bad360e11b81529495509093600160601b9093046001600160a01b03169263221375a692610eee9290918791906004016119aa565b6020604051808303816000875af1158015610f0d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f319190611818565b90508097508789600001906001600160601b031690816001600160601b03168152505088600160008a6001600160601b03166001600160601b0316815260200190815260200160002060008201518160000160006101000a8154816001600160601b0302191690836001600160601b03160217905550602082015181600001600c6101000a8154816001600160601b0302191690836001600160601b0316021790555060408201518160000160186101000a81548160ff021916908360ff16021790555060608201518160000160196101000a81548160ff02191690831515021790555060808201518160010160006101000a8154816001600160a01b0302191690836001600160a01b0316021790555060a08201518160020160006101000a8154816001600160a01b0302191690836001600160a01b0316021790555060c08201518160030190816110849190611a2e565b50505060808901516001600160a01b0316156111eb5760ff80881660009081526004602090815260408083208885168452909152812054909116151590036110ec57604051638880f20760e01b815260ff808916600483015285166024820152604401610ace565b60808901516001600160a01b038116600090815260026020526040908190205490516330b8415f60e01b81526001600160601b03909116600482015273__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015611164573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111889190611831565b156111b15760405163fdcce17f60e01b81526001600160a01b0382166004820152602401610ace565b6001600160a01b0316600090815260026020526040902080546bffffffffffffffffffffffff19166001600160601b038a1617905561123d565b60ff808816600090815260056020908152604080832088851684529091528120549091161515900361123d57604051638880f20760e01b815260ff808916600483015285166024820152604401610ace565b7f378868470b980e00aaf3e534a055e641e5fe9dfd8da44b4250edc6ad96e983878887898c606001518d608001518e60a001516040516112c4969594939291906001600160601b03968716815294909516602085015260ff929092166040840152151560608301526001600160a01b0390811660808301529190911660a082015260c00190565b60405180910390a150505050505050919050565b60006001600160a01b0384166112fd5782156112f557508061130e565b50600061130e565b841561130a57508261130e565b5060005b949350505050565b60006020828403121561132857600080fd5b81356001600160e01b03198116811461134057600080fd5b9392505050565b6001600160a01b038116811461135c57600080fd5b50565b803561136a81611347565b919050565b60006020828403121561138157600080fd5b813561134081611347565b6001600160601b038116811461135c57600080fd5b803561136a8161138c565b6000602082840312156113be57600080fd5b81356113408161138c565b6000815180845260005b818110156113ef576020818501810151868301820152016113d3565b506000602082860101526020601f19601f83011685010191505092915050565b60208152600061134060208301846113c9565b6020815260006001600160601b038084511660208401528060208501511660408401525060ff604084015116606083015260608301511515608083015260018060a01b0360808401511660a083015260a083015161148b60c08401826001600160a01b03169052565b5060c083015160e08084015261130e6101008401826113c9565b634e487b7160e01b600052604160045260246000fd5b60405160e0810167ffffffffffffffff811182821017156114de576114de6114a5565b60405290565b6040805190810167ffffffffffffffff811182821017156114de576114de6114a5565b604051601f8201601f1916810167ffffffffffffffff81118282101715611530576115306114a5565b604052919050565b60ff8116811461135c57600080fd5b803561136a81611538565b801515811461135c57600080fd5b803561136a81611552565b600082601f83011261157c57600080fd5b813567ffffffffffffffff811115611596576115966114a5565b6115a9601f8201601f1916602001611507565b8181528460208386010111156115be57600080fd5b816020850160208301376000918101602001919091529392505050565b600060e082840312156115ed57600080fd5b6115f56114bb565b9050611600826113a1565b815261160e602083016113a1565b602082015261161f60408301611547565b604082015261163060608301611560565b60608201526116416080830161135f565b608082015261165260a0830161135f565b60a082015260c082013567ffffffffffffffff81111561167157600080fd5b61167d8482850161156b565b60c08301525092915050565b60006020828403121561169b57600080fd5b813567ffffffffffffffff8111156116b257600080fd5b61130e848285016115db565b6000806000606084860312156116d357600080fd5b833567ffffffffffffffff8111156116ea57600080fd5b6116f6868287016115db565b935050602084013561170781611538565b9150604084013561171781611538565b809150509250925092565b60006020828403121561173457600080fd5b813561134081611538565b6020808252825160408383015280516060840181905260009291820190839060808601905b8083101561178757835160ff168252928401926001929092019190840190611764565b5064ffffffffff848801511660408701528094505050505092915050565b600080604083850312156117b857600080fd5b82356117c381611538565b915060208301356117d381611538565b809150509250929050565b6000602082840312156117f057600080fd5b81516113408161138c565b60006020828403121561180d57600080fd5b815161134081611347565b60006020828403121561182a57600080fd5b5051919050565b60006020828403121561184357600080fd5b815161134081611552565b60006020828403121561186057600080fd5b815161134081611538565b600181811c9082168061187f57607f821691505b60208210810361189f57634e487b7160e01b600052602260045260246000fd5b50919050565b805164ffffffffff8116811461136a57600080fd5b600060208083850312156118cd57600080fd5b825167ffffffffffffffff808211156118e557600080fd5b90840190604082870312156118f957600080fd5b6119016114e4565b82518281111561191057600080fd5b8301601f8101881361192157600080fd5b805183811115611933576119336114a5565b8060051b9350611944868501611507565b818152938201860193868101908a86111561195e57600080fd5b928701925b85841015611988578351925061197883611538565b8282529287019290870190611963565b8452506119999150508385016118a5565b848201528094505050505092915050565b6001600160a01b038481168252831660208201526060604082018190526000906119d6908301846113c9565b95945050505050565b601f821115611a2957600081815260208120601f850160051c81016020861015611a065750805b601f850160051c820191505b81811015611a2557828155600101611a12565b5050505b505050565b815167ffffffffffffffff811115611a4857611a486114a5565b611a5c81611a56845461186b565b846119df565b602080601f831160018114611a915760008415611a795750858301515b600019600386901b1c1916600185901b178555611a25565b600085815260208120601f198616915b82811015611ac057888601518255948401946001909101908401611aa1565b5085821015611ade5787850151600019600388901b60f8161c191681555b5050505050600190811b0190555056fea2646970667358221220dfd96b7830e71336f12f956906ab6f02e5e5db5687e4b36fb2343b165124cbe464736f6c6343000814003360806040523480156200001157600080fd5b5060405162001e3d38038062001e3d83398101604081905262000034916200012e565b60405180606001604052806024815260200162001e196024913960408051808201909152600681526511125413919560d21b6020820152600062000079838262000205565b50600162000088828262000205565b5050506001600160a01b038116620000b357604051630ae1413f60e11b815260040160405180910390fd5b600c80546001600160a01b0319166001600160a01b03831617905546600d8190556000600e555b80156200010e57600e8054906000620000f383620002e7565b90915550620001069050600a8262000303565b9050620000da565b600e546200011e90600a62000425565b600f555050600360105562000433565b6000602082840312156200014157600080fd5b81516001600160a01b03811681146200015957600080fd5b9392505050565b634e487b7160e01b600052604160045260246000fd5b600181811c908216806200018b57607f821691505b602082108103620001ac57634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200020057600081815260208120601f850160051c81016020861015620001db5750805b601f850160051c820191505b81811015620001fc57828155600101620001e7565b5050505b505050565b81516001600160401b0381111562000221576200022162000160565b620002398162000232845462000176565b84620001b2565b602080601f831160018114620002715760008415620002585750858301515b600019600386901b1c1916600185901b178555620001fc565b600085815260208120601f198616915b82811015620002a25788860151825594840194600190910190840162000281565b5085821015620002c15787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b634e487b7160e01b600052601160045260246000fd5b600060018201620002fc57620002fc620002d1565b5060010190565b6000826200032157634e487b7160e01b600052601260045260246000fd5b500490565b600181815b80851115620003675781600019048211156200034b576200034b620002d1565b808516156200035957918102915b93841c93908002906200032b565b509250929050565b60008262000380575060016200041f565b816200038f575060006200041f565b8160018114620003a85760028114620003b357620003d3565b60019150506200041f565b60ff841115620003c757620003c7620002d1565b50506001821b6200041f565b5060208310610133831016604e8410600b8410161715620003f8575081810a6200041f565b62000404838362000326565b80600019048211156200041b576200041b620002d1565b0290505b92915050565b60006200015983836200036f565b6119d680620004436000396000f3fe608060405234801561001057600080fd5b50600436106101cf5760003560e01c80634f558e7911610104578063a22cb465116100a2578063c87b56dd11610071578063c87b56dd146103dc578063e985e9c5146103ef578063f21de1e814610402578063f76f8d781461041357600080fd5b8063a22cb465146103a6578063a2309ff8146103b9578063a3f4df7e146103c1578063b88d4fde146103c957600080fd5b80636352211e116100de5780636352211e1461036557806370a0823114610378578063862440e21461038b57806395d89b411461039e57600080fd5b80634f558e791461031e5780634f6ccce714610349578063598e28921461035c57600080fd5b806323b872dd11610171578063342ec4431161014b578063342ec443146102bc57806340c10f19146102e557806342842e0e146102f857806342966c681461030b57600080fd5b806323b872dd1461028d5780632e85b1f3146102a05780632f745c59146102a957600080fd5b8063081812fc116101ad578063081812fc14610232578063095ea7b31461025d57806318160ddd14610272578063221375a61461027a57600080fd5b806301ffc9a7146101d45780630559ea47146101fc57806306fdde031461021d575b600080fd5b6101e76101e23660046113da565b610438565b60405190151581526020015b60405180910390f35b61020f61020a3660046113f7565b610463565b6040519081526020016101f3565b610225610498565b6040516101f39190611456565b6102456102403660046113f7565b61052a565b6040516001600160a01b0390911681526020016101f3565b61027061026b366004611485565b610553565b005b60085461020f565b61020f61028836600461155b565b610562565b61027061029b3660046115b9565b61061f565b61020f61083581565b61020f6102b7366004611485565b6106c8565b6102456102ca3660046113f7565b6000908152600a60205260409020546001600160a01b031690565b6102706102f3366004611485565b61072d565b6102706103063660046115b9565b610779565b6102706103193660046113f7565b610794565b6101e761032c3660046113f7565b6000908152600260205260409020546001600160a01b0316151590565b61020f6103573660046113f7565b6107ee565b61020f61044d81565b6102456103733660046113f7565b610847565b61020f6103863660046115f5565b610852565b610270610399366004611610565b61089a565b610225610945565b6102706103b4366004611657565b610954565b60115461020f565b61022561095f565b6102706103d7366004611693565b61097b565b6102256103ea3660046113f7565b610998565b6101e76103fd36600461170f565b610a42565b600c546001600160a01b0316610245565b6102256040518060400160405280600681526020016511125413919560d21b81525081565b60006001600160e01b0319821663780e9d6360e01b148061045d575061045d82610a70565b92915050565b6000600e54600d54600f54846104799190611758565b610483919061176f565b61048e906064611758565b61045d919061176f565b6060600080546104a790611782565b80601f01602080910402602001604051908101604052809291908181526020018280546104d390611782565b80156105205780601f106104f557610100808354040283529160200191610520565b820191906000526020600020905b81548152906001019060200180831161050357829003601f168201915b5050505050905090565b600061053582610ac0565b506000828152600460205260409020546001600160a01b031661045d565b61055e828233610af9565b5050565b600c546000906001600160a01b03163314610597576040516399c6cd7160e01b81523360048201526024015b60405180910390fd5b61059f610b06565b90506001600160a01b038316156105d8576000818152600a6020526040902080546001600160a01b0319166001600160a01b0385161790555b8151156105f9576000818152600b602052604090206105f7838261180a565b505b60118054906000610609836118ca565b91905055506106188482610b2d565b9392505050565b61062a838383610b47565b6000818152600a60205260409020546001600160a01b0316156106c3576000818152600a6020526040908190205490516373fbfdc360e11b81526001600160a01b0385811660048301528481166024830152604482018490529091169063e7f7fb8690606401600060405180830381600087803b1580156106aa57600080fd5b505af11580156106be573d6000803e3d6000fd5b505050505b505050565b60006106d383610852565b82106107045760405163295f44f760e21b81526001600160a01b03841660048201526024810183905260440161058e565b506001600160a01b03919091166000908152600660209081526040808320938352929052205490565b600c546001600160a01b0316331461075a576040516399c6cd7160e01b815233600482015260240161058e565b6011805490600061076a836118ca565b919050555061055e8282610b2d565b6106c38383836040518060200160405280600081525061097b565b600c546001600160a01b031633146107c1576040516399c6cd7160e01b815233600482015260240161058e565b6107ca81610ac0565b506107d481610bcc565b6000818152600b602052604081206107eb91611376565b50565b60006107f960085490565b82106108225760405163295f44f760e21b8152600060048201526024810183905260440161058e565b60088281548110610835576108356118e3565b90600052602060002001549050919050565b600061045d82610ac0565b60006001600160a01b03821661087e576040516322718ad960e21b81526000600482015260240161058e565b506001600160a01b031660009081526003602052604090205490565b600c546001600160a01b031633146108c7576040516399c6cd7160e01b815233600482015260240161058e565b80516000036108e957604051638e45096160e01b815260040160405180910390fd5b6000828152600b60205260408120805461090290611782565b905011156109235760405163303822c760e21b815260040160405180910390fd5b61092c82610ac0565b506000828152600b602052604090206106c3828261180a565b6060600180546104a790611782565b61055e338383610c07565b60405180606001604052806024815260200161197d6024913981565b61098684848461061f565b61099284848484610ca6565b50505050565b60606109a382610ac0565b506000828152600b6020526040902080546109bd90611782565b80601f01602080910402602001604051908101604052809291908181526020018280546109e990611782565b8015610a365780601f10610a0b57610100808354040283529160200191610a36565b820191906000526020600020905b815481529060010190602001808311610a1957829003601f168201915b50505050509050919050565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b60006001600160e01b031982166380ac58cd60e01b1480610aa157506001600160e01b03198216635b5e139f60e01b145b8061045d57506301ffc9a760e01b6001600160e01b031983161461045d565b6000818152600260205260408120546001600160a01b03168061045d57604051637e27328960e01b81526004810184905260240161058e565b6106c38383836001610dcf565b6000610b13601054610463565b601080549192506000610b25836118ca565b919050555090565b61055e828260405180602001604052806000815250610ed5565b6001600160a01b038216610b7157604051633250574960e11b81526000600482015260240161058e565b6000610b7e838333610eec565b9050836001600160a01b0316816001600160a01b031614610992576040516364283d7b60e01b81526001600160a01b038086166004830152602482018490528216604482015260640161058e565b6000610bdb6000836000610eec565b90506001600160a01b03811661055e57604051637e27328960e01b81526004810183905260240161058e565b6001600160a01b038216610c3957604051630b61174360e31b81526001600160a01b038316600482015260240161058e565b6001600160a01b03838116600081815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b6001600160a01b0383163b1561099257604051630a85bd0160e11b81526001600160a01b0384169063150b7a0290610ce89033908890879087906004016118f9565b6020604051808303816000875af1925050508015610d23575060408051601f3d908101601f19168201909252610d2091810190611936565b60015b610d8c573d808015610d51576040519150601f19603f3d011682016040523d82523d6000602084013e610d56565b606091505b508051600003610d8457604051633250574960e11b81526001600160a01b038516600482015260240161058e565b805181602001fd5b6001600160e01b03198116630a85bd0160e11b14610dc857604051633250574960e11b81526001600160a01b038516600482015260240161058e565b5050505050565b8080610de357506001600160a01b03821615155b15610ea5576000610df384610ac0565b90506001600160a01b03831615801590610e1f5750826001600160a01b0316816001600160a01b031614155b8015610e325750610e308184610a42565b155b15610e5b5760405163a9fbf51f60e01b81526001600160a01b038416600482015260240161058e565b8115610ea35783856001600160a01b0316826001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45b505b5050600090815260046020526040902080546001600160a01b0319166001600160a01b0392909216919091179055565b610edf8383610fc1565b6106c36000848484610ca6565b600080610efa858585611026565b90506001600160a01b038116610f5757610f5284600880546000838152600960205260408120829055600182018355919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30155565b610f7a565b846001600160a01b0316816001600160a01b031614610f7a57610f7a818561111f565b6001600160a01b038516610f9657610f91846111b0565b610fb9565b846001600160a01b0316816001600160a01b031614610fb957610fb9858561125f565b949350505050565b6001600160a01b038216610feb57604051633250574960e11b81526000600482015260240161058e565b6000610ff983836000610eec565b90506001600160a01b038116156106c3576040516339e3563760e11b81526000600482015260240161058e565b6000828152600260205260408120546001600160a01b0390811690831615611053576110538184866112af565b6001600160a01b0381161561109157611070600085600080610dcf565b6001600160a01b038116600090815260036020526040902080546000190190555b6001600160a01b038516156110c0576001600160a01b0385166000908152600360205260409020805460010190555b60008481526002602052604080822080546001600160a01b0319166001600160a01b0389811691821790925591518793918516917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4949350505050565b600061112a83610852565b60008381526007602052604090205490915080821461117d576001600160a01b03841660009081526006602090815260408083208584528252808320548484528184208190558352600790915290208190555b5060009182526007602090815260408084208490556001600160a01b039094168352600681528383209183525290812055565b6008546000906111c290600190611953565b600083815260096020526040812054600880549394509092849081106111ea576111ea6118e3565b90600052602060002001549050806008838154811061120b5761120b6118e3565b600091825260208083209091019290925582815260099091526040808220849055858252812055600880548061124357611243611966565b6001900381819060005260206000200160009055905550505050565b6000600161126c84610852565b6112769190611953565b6001600160a01b039093166000908152600660209081526040808320868452825280832085905593825260079052919091209190915550565b6112ba838383611313565b6106c3576001600160a01b0383166112e857604051637e27328960e01b81526004810182905260240161058e565b60405163177e802f60e01b81526001600160a01b03831660048201526024810182905260440161058e565b60006001600160a01b03831615801590610fb95750826001600160a01b0316846001600160a01b0316148061134d575061134d8484610a42565b80610fb95750506000908152600460205260409020546001600160a01b03908116911614919050565b50805461138290611782565b6000825580601f10611392575050565b601f0160209004906000526020600020908101906107eb91905b808211156113c057600081556001016113ac565b5090565b6001600160e01b0319811681146107eb57600080fd5b6000602082840312156113ec57600080fd5b8135610618816113c4565b60006020828403121561140957600080fd5b5035919050565b6000815180845260005b818110156114365760208185018101518683018201520161141a565b506000602082860101526020601f19601f83011685010191505092915050565b6020815260006106186020830184611410565b80356001600160a01b038116811461148057600080fd5b919050565b6000806040838503121561149857600080fd5b6114a183611469565b946020939093013593505050565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff808411156114e0576114e06114af565b604051601f8501601f19908116603f01168101908282118183101715611508576115086114af565b8160405280935085815286868601111561152157600080fd5b858560208301376000602087830101525050509392505050565b600082601f83011261154c57600080fd5b610618838335602085016114c5565b60008060006060848603121561157057600080fd5b61157984611469565b925061158760208501611469565b9150604084013567ffffffffffffffff8111156115a357600080fd5b6115af8682870161153b565b9150509250925092565b6000806000606084860312156115ce57600080fd5b6115d784611469565b92506115e560208501611469565b9150604084013590509250925092565b60006020828403121561160757600080fd5b61061882611469565b6000806040838503121561162357600080fd5b82359150602083013567ffffffffffffffff81111561164157600080fd5b61164d8582860161153b565b9150509250929050565b6000806040838503121561166a57600080fd5b61167383611469565b91506020830135801515811461168857600080fd5b809150509250929050565b600080600080608085870312156116a957600080fd5b6116b285611469565b93506116c060208601611469565b925060408501359150606085013567ffffffffffffffff8111156116e357600080fd5b8501601f810187136116f457600080fd5b611703878235602084016114c5565b91505092959194509250565b6000806040838503121561172257600080fd5b61172b83611469565b915061173960208401611469565b90509250929050565b634e487b7160e01b600052601160045260246000fd5b808202811582820484141761045d5761045d611742565b8082018082111561045d5761045d611742565b600181811c9082168061179657607f821691505b6020821081036117b657634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156106c357600081815260208120601f850160051c810160208610156117e35750805b601f850160051c820191505b81811015611802578281556001016117ef565b505050505050565b815167ffffffffffffffff811115611824576118246114af565b611838816118328454611782565b846117bc565b602080601f83116001811461186d57600084156118555750858301515b600019600386901b1c1916600185901b178555611802565b600085815260208120601f198616915b8281101561189c5788860151825594840194600190910190840161187d565b50858210156118ba5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6000600182016118dc576118dc611742565b5060010190565b634e487b7160e01b600052603260045260246000fd5b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061192c90830184611410565b9695505050505050565b60006020828403121561194857600080fd5b8151610618816113c4565b8181038181111561045d5761045d611742565b634e487b7160e01b600052603160045260246000fdfe44657a656e7472616c697a656420496e737572616e63652050726f746f636f6c204e4654a2646970667358221220ea83661feb8d07247ba4fc77cce2760aa9afb7f2f6a802089397d027ee33b3bd64736f6c6343000814003344657a656e7472616c697a656420496e737572616e63652050726f746f636f6c204e4654",
685
- "deployedBytecode": "0x608060405234801561001057600080fd5b506004361061014d5760003560e01c8063a48f42e0116100c3578063cde749f41161007c578063cde749f4146102f9578063d2213b5b14610301578063d272ac1e14610321578063d39e604314610353578063e285c9c414610390578063e74d052f1461039857600080fd5b8063a48f42e01461028d578063a5df9e4e146102a0578063a7050a56146102b3578063ae8dfb79146102c6578063bc36dc91146102ce578063c3c5a547146102e657600080fd5b806338e19a751161011557806338e19a75146101fb5780633fe9300e14610215578063644c45e0146102385780637374162b1461025d578063893d20e8146102655780638b09a5f01461026d57600080fd5b806301ffc9a71461015257806314afd79e146101945780631a848cfb146101bf5780632b91e0a9146101d557806338bb429a146101e8575b600080fd5b61017f610160366004611316565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b6101a76101a236600461136f565b6103ab565b6040516001600160a01b03909116815260200161018b565b6101c76104c7565b60405190815260200161018b565b61017f6101e336600461136f565b610545565b6101a76101f63660046113ac565b610632565b61020361068f565b60405160ff909116815260200161018b565b61022b6040518060200160405280600081525081565b60405161018b919061140f565b6006546001600160601b03165b6040516001600160601b03909116815260200161018b565b6102036106fd565b6101a7610747565b61028061027b36600461136f565b610752565b60405161018b9190611422565b61028061029b3660046113ac565b6108b9565b6102456102ae366004611689565b61098b565b6102456102c13660046116be565b610a4c565b6101c7600281565b600654600160601b90046001600160a01b03166101a7565b61017f6102f436600461136f565b610b68565b610203610bff565b61031461030f366004611722565b610c49565b60405161018b919061173f565b61024561032f36600461136f565b6001600160a01b03166000908152600260205260409020546001600160601b031690565b6101a76103613660046117a5565b60ff8082166000908152600360209081526040808320938616835292905220546001600160a01b031692915050565b6101a7600181565b61017f6103a63660046113ac565b610ccf565b6006546001600160a01b0382811660009081526002602052604080822054905163046e44af60e11b81526001600160601b0390911660048201529092600160601b900490911690636352211e9073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906308dc895e906024015b602060405180830381865af4158015610435573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061045991906117de565b6040516001600160e01b031960e084901b1681526001600160601b039091166004820152602401602060405180830381865afa15801561049d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104c191906117fb565b92915050565b60006006600c9054906101000a90046001600160a01b03166001600160a01b03166318160ddd6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561051c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105409190611818565b905090565b6001600160a01b0381166000908152600260205260408082205490516330b8415f60e01b81526001600160601b03909116600482015273__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af41580156105b7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105db9190611831565b80156104c157506001600160a01b0382166000908152600260209081526040808320546001600160601b0316835260019091529020546104c190600160c01b900460ff16610627603c90565b60ff90811691161490565b60065460405163046e44af60e11b81526001600160601b0383166004820152600091600160601b90046001600160a01b031690636352211e9073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906308dc895e90602401610418565b600754604080516307208a1760e11b815290516000926001600160a01b031691630e41142e9160048083019260209291908290030181865afa1580156106d9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610540919061184e565b60075460408051630f40d7c360e41b815290516000926001600160a01b03169163f40d7c309160048083019260209291908290030181865afa1580156106d9573d6000803e3d6000fd5b6000610540306103ab565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a082019290925260c08101919091526001600160a01b038083166000908152600260208181526040808420546001600160601b039081168552600180845294829020825160e08101845281548084168252600160601b81049093169481019490945260ff600160c01b8304811693850193909352600160c81b9091049091161515606083015292830154841660808201529082015490921660a083015260038101805460c0840191906108309061186b565b80601f016020809104026020016040519081016040528092919081815260200182805461085c9061186b565b80156108a95780601f1061087e576101008083540402835291602001916108a9565b820191906000526020600020905b81548152906001019060200180831161088c57829003601f168201915b5050505050815250509050919050565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a082019290925260c08101919091526001600160601b03808316600090815260016020818152604092839020835160e08101855281548087168252600160601b81049096169281019290925260ff600160c01b8604811694830194909452600160c81b909404909216151560608301528201546001600160a01b03908116608083015260028301541660a082015260038201805491929160c0840191906108309061186b565b600754604051639ef6ddc960e01b81523360048201526000916001600160a01b031690639ef6ddc990602401602060405180830381865afa1580156109d4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109f89190611831565b610a1557604051638fe695a360e01b815260040160405180910390fd5b610a258260400151610627603c90565b15610a435760405163b4a7fc9360e01b815260040160405180910390fd5b6104c182610d29565b6007546000906001600160a01b03163314610a7a576040516347435e4760e11b815260040160405180910390fd5b60ff8084166000908152600360209081526040808320938616835292905220546001600160a01b031615610ad75760808401516040516353752f3960e11b81526001600160a01b0390911660048201526024015b60405180910390fd5b608084015160ff848116600090815260036020908152604080832093871683529290522080546001600160a01b0319166001600160a01b03909216919091179055610b2184610d29565b6040805160ff8087168252851660208201529192507fc4761a4fab07f2d3f242a458f91e31e4ea6128fe5edc599e3436f5f66317e0da910160405180910390a19392505050565b6001600160a01b0381166000908152600260205260408082205490516330b8415f60e01b81526001600160601b03909116600482015273__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f906024015b602060405180830381865af4158015610bdb573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104c19190611831565b60075460408051630e6d1de960e01b815290516000926001600160a01b031691630e6d1de99160048083019260209291908290030181865afa1580156106d9573d6000803e3d6000fd5b6040805180820182526060815260006020820152600754915163d2213b5b60e01b815260ff8416600482015290916001600160a01b03169063d2213b5b90602401600060405180830381865afa158015610ca7573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526104c191908101906118ba565b6001600160601b03811660009081526001602052604080822054905163b2466acf60e01b8152600160c01b90910460ff16600482015273__$fb4566b39bd2075cb32f600f6f40bfaef2$__9063b2466acf90602401610bbe565b6040808201516020808401516001600160601b0380821660009081526001808552868220875160e08101895281548086168252600160601b81049095169681019690965260ff600160c01b8504811698870198909852600160c81b90930490961615156060850152948101546001600160a01b03908116608085015260028201541660a08401526003810180549293869390929160c0840191610dcb9061186b565b80601f0160208091040260200160405190810160405280929190818152602001828054610df79061186b565b8015610e445780601f10610e1957610100808354040283529160200191610e44565b820191906000526020600020905b815481529060010190602001808311610e2757829003601f168201915b5050509190925250505060408101516080820151919250906001600160a01b038116610e835760405163b0014c0760e01b815260040160405180910390fd5b6000610e9d886060015189608001518660600151856112d8565b60065460a08a01516040805160208101825260008082529151631109bad360e11b81529495509093600160601b9093046001600160a01b03169263221375a692610eee9290918791906004016119aa565b6020604051808303816000875af1158015610f0d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f319190611818565b90508097508789600001906001600160601b031690816001600160601b03168152505088600160008a6001600160601b03166001600160601b0316815260200190815260200160002060008201518160000160006101000a8154816001600160601b0302191690836001600160601b03160217905550602082015181600001600c6101000a8154816001600160601b0302191690836001600160601b0316021790555060408201518160000160186101000a81548160ff021916908360ff16021790555060608201518160000160196101000a81548160ff02191690831515021790555060808201518160010160006101000a8154816001600160a01b0302191690836001600160a01b0316021790555060a08201518160020160006101000a8154816001600160a01b0302191690836001600160a01b0316021790555060c08201518160030190816110849190611a2e565b50505060808901516001600160a01b0316156111eb5760ff80881660009081526004602090815260408083208885168452909152812054909116151590036110ec57604051638880f20760e01b815260ff808916600483015285166024820152604401610ace565b60808901516001600160a01b038116600090815260026020526040908190205490516330b8415f60e01b81526001600160601b03909116600482015273__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015611164573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111889190611831565b156111b15760405163fdcce17f60e01b81526001600160a01b0382166004820152602401610ace565b6001600160a01b0316600090815260026020526040902080546bffffffffffffffffffffffff19166001600160601b038a1617905561123d565b60ff808816600090815260056020908152604080832088851684529091528120549091161515900361123d57604051638880f20760e01b815260ff808916600483015285166024820152604401610ace565b7f378868470b980e00aaf3e534a055e641e5fe9dfd8da44b4250edc6ad96e983878887898c606001518d608001518e60a001516040516112c4969594939291906001600160601b03968716815294909516602085015260ff929092166040840152151560608301526001600160a01b0390811660808301529190911660a082015260c00190565b60405180910390a150505050505050919050565b60006001600160a01b0384166112fd5782156112f557508061130e565b50600061130e565b841561130a57508261130e565b5060005b949350505050565b60006020828403121561132857600080fd5b81356001600160e01b03198116811461134057600080fd5b9392505050565b6001600160a01b038116811461135c57600080fd5b50565b803561136a81611347565b919050565b60006020828403121561138157600080fd5b813561134081611347565b6001600160601b038116811461135c57600080fd5b803561136a8161138c565b6000602082840312156113be57600080fd5b81356113408161138c565b6000815180845260005b818110156113ef576020818501810151868301820152016113d3565b506000602082860101526020601f19601f83011685010191505092915050565b60208152600061134060208301846113c9565b6020815260006001600160601b038084511660208401528060208501511660408401525060ff604084015116606083015260608301511515608083015260018060a01b0360808401511660a083015260a083015161148b60c08401826001600160a01b03169052565b5060c083015160e08084015261130e6101008401826113c9565b634e487b7160e01b600052604160045260246000fd5b60405160e0810167ffffffffffffffff811182821017156114de576114de6114a5565b60405290565b6040805190810167ffffffffffffffff811182821017156114de576114de6114a5565b604051601f8201601f1916810167ffffffffffffffff81118282101715611530576115306114a5565b604052919050565b60ff8116811461135c57600080fd5b803561136a81611538565b801515811461135c57600080fd5b803561136a81611552565b600082601f83011261157c57600080fd5b813567ffffffffffffffff811115611596576115966114a5565b6115a9601f8201601f1916602001611507565b8181528460208386010111156115be57600080fd5b816020850160208301376000918101602001919091529392505050565b600060e082840312156115ed57600080fd5b6115f56114bb565b9050611600826113a1565b815261160e602083016113a1565b602082015261161f60408301611547565b604082015261163060608301611560565b60608201526116416080830161135f565b608082015261165260a0830161135f565b60a082015260c082013567ffffffffffffffff81111561167157600080fd5b61167d8482850161156b565b60c08301525092915050565b60006020828403121561169b57600080fd5b813567ffffffffffffffff8111156116b257600080fd5b61130e848285016115db565b6000806000606084860312156116d357600080fd5b833567ffffffffffffffff8111156116ea57600080fd5b6116f6868287016115db565b935050602084013561170781611538565b9150604084013561171781611538565b809150509250925092565b60006020828403121561173457600080fd5b813561134081611538565b6020808252825160408383015280516060840181905260009291820190839060808601905b8083101561178757835160ff168252928401926001929092019190840190611764565b5064ffffffffff848801511660408701528094505050505092915050565b600080604083850312156117b857600080fd5b82356117c381611538565b915060208301356117d381611538565b809150509250929050565b6000602082840312156117f057600080fd5b81516113408161138c565b60006020828403121561180d57600080fd5b815161134081611347565b60006020828403121561182a57600080fd5b5051919050565b60006020828403121561184357600080fd5b815161134081611552565b60006020828403121561186057600080fd5b815161134081611538565b600181811c9082168061187f57607f821691505b60208210810361189f57634e487b7160e01b600052602260045260246000fd5b50919050565b805164ffffffffff8116811461136a57600080fd5b600060208083850312156118cd57600080fd5b825167ffffffffffffffff808211156118e557600080fd5b90840190604082870312156118f957600080fd5b6119016114e4565b82518281111561191057600080fd5b8301601f8101881361192157600080fd5b805183811115611933576119336114a5565b8060051b9350611944868501611507565b818152938201860193868101908a86111561195e57600080fd5b928701925b85841015611988578351925061197883611538565b8282529287019290870190611963565b8452506119999150508385016118a5565b848201528094505050505092915050565b6001600160a01b038481168252831660208201526060604082018190526000906119d6908301846113c9565b95945050505050565b601f821115611a2957600081815260208120601f850160051c81016020861015611a065750805b601f850160051c820191505b81811015611a2557828155600101611a12565b5050505b505050565b815167ffffffffffffffff811115611a4857611a486114a5565b611a5c81611a56845461186b565b846119df565b602080601f831160018114611a915760008415611a795750858301515b600019600386901b1c1916600185901b178555611a25565b600085815260208120601f198616915b82811015611ac057888601518255948401946001909101908401611aa1565b5085821015611ade5787850151600019600388901b60f8161c191681555b5050505050600190811b0190555056fea2646970667358221220dfd96b7830e71336f12f956906ab6f02e5e5db5687e4b36fb2343b165124cbe464736f6c63430008140033",
876
+ "bytecode": "0x60806040523480156200001157600080fd5b50600780546001600160a01b031916331790556040513090620000349062000dfd565b6001600160a01b039091168152602001604051809103906000f08015801562000061573d6000803e3d6000fd5b50600680546001600160a01b03929092166c01000000000000000000000000026001600160601b039092169190911790556200009c620000b6565b620000a6620002d8565b620000b062000698565b62000f92565b60006006600c9054906101000a90046001600160a01b03166001600160a01b031663598e28926040518163ffffffff1660e01b8152600401602060405180830381865afa1580156200010c573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000132919062000e0b565b6040805160e0810182526001600160601b0383168152600060208201529192508291908101600a5b60ff908116825260006020808401829052604080850183905260016060808701829052825180850184528581526080978801526001600160601b03808a1686528585529483902088518154958a0151948a0151928a01511515600160c81b0260ff60c81b1993909816600160c01b029290921661ffff60c01b199487166c01000000000000000000000000026001600160c01b031990961692909616919091179390931791909116929092179290921782559183015191810180546001600160a01b039384166001600160a01b03199182161790915560a08401516002830180549190941691161790915560c082015160038201906200025b908262000ec6565b50506006546040516340c10f1960e01b815260016004820152602481018590526c010000000000000000000000009091046001600160a01b031691506340c10f1990604401600060405180830381600087803b158015620002bb57600080fd5b505af1158015620002d0573d6000803e3d6000fd5b505050505050565b600654604051630559ea4760e01b8152600260048201526000916c0100000000000000000000000090046001600160a01b031690630559ea4790602401602060405180830381865afa15801562000333573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000359919062000e0b565b9050600081905060006006600c9054906101000a90046001600160a01b03166001600160a01b0316632e85b1f36040518163ffffffff1660e01b8152600401602060405180830381865afa158015620003b6573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620003dc919062000e0b565b83146200047657620003ed62000ce8565b6200046e6006600c9054906101000a90046001600160a01b03166001600160a01b0316632e85b1f36040518163ffffffff1660e01b8152600401602060405180830381865afa15801562000445573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200046b919062000e0b565b90565b9050620004d1565b620004ce6006600c9054906101000a90046001600160a01b03166001600160a01b031663598e28926040518163ffffffff1660e01b8152600401602060405180830381865afa15801562000445573d6000803e3d6000fd5b90505b6040805160e0810182526001600160601b03848116808352848216602080850191825260288587019081526000606087018181523060808901908152600160a08a018181528b518088018d5285815260c08c019081529885529584905299909220885181549651945192511515600160c81b0260ff60c81b1960ff909416600160c01b029390931661ffff60c01b19958a166c01000000000000000000000000026001600160c01b03199098169190991617959095179290921695909517178255925194810180546001600160a01b039687166001600160a01b03199182161790915592516002820180549190961693169290921790935591519091906003820190620005df908262000ec6565b50503060009081526001602081905260409182902080546001600160601b0387166001600160601b03199182168117909255600680549091169091179081905591516340c10f1960e01b81526004810191909152602481018690526c010000000000000000000000009091046001600160a01b031691506340c10f1990604401600060405180830381600087803b1580156200067a57600080fd5b505af11580156200068f573d6000803e3d6000fd5b50505050505050565b7ff787d5ff306ee7ea1d7b35b5cacd5a837646921c113945dbc3a3b6329ce400338054600160ff1991821681179092557f01c8d1bf01472944f62fa726559c57c955f3535856e865cee78082252c0dbe6580548216831790557f3ba015d6b845e102ce2f76836007be82508e3543856f2a3c2ff4b56eb46d920e80548216831790557fdd629e5d55690c61d87bb2283f8033a4ed0c9727f0b3cc897e051f7afda800a580548216831790557f0de2b21138735878e0660eef23d1131fad23d66157bfa1c473a82b60c516992680548216831790557f83339eadc78535e76a031a9a544cf6fa252296becf88992d49fad5f832544a3880548216831790557fe372c44748f4c2908ae7c0a1dc553464478b0394f70953faecd55173b039317c80548216831790557f0c91243f75e216cf1d80d738f653c23abf15a7e3590b83c6e4772e2ddcffe53380548216831790557fc3d073881ce0daff4d900012573fe3b8d5b283519b2f509e59d1b978e7cf0fc580548216831790557fb0b6d2d73fcb69de4c434c711239319c2c669ebf6407f36fc258ff9f98f803fa80548216831790557fa093975c0a88af8b2bf4799c5b4be14d42fc326c2a331b9f3fb3caecbaa5104f80548216831790557fe7defe1a9ee2663e7f593684ebe15b56452e1fa833a7efa12070ad6443b108198054909116821790556046600090815260046020527f96ac7b1c5d793d413ef4b647b77961144d1817b86f1b2d8f15cbc29b2d12d4e290620008c3602890565b60ff16815260208101919091526040016000908120805460ff191692151592909217909155600190600490620008f7606e90565b60ff1660ff16815260200190815260200160002060006200091d62000df360201b60201c565b60ff16815260208101919091526040016000908120805460ff19169215159290921790915560019060049062000951607890565b60ff1660ff16815260200190815260200160002060006200097762000df360201b60201c565b60ff16815260208101919091526040016000908120805460ff191692151592909217909155600190600490620009ab608290565b60ff1660ff1681526020019081526020016000206000620009d162000df360201b60201c565b60ff16815260208101919091526040016000908120805460ff19169215159290921790915560019060049062000a05608c90565b60ff1660ff168152602001908152602001600020600062000a2b62000df360201b60201c565b60ff168152602081019190915260409081016000908120805460ff1916931515939093179092556006549051630559ea4760e01b8152600260048201526c010000000000000000000000009091046001600160a01b031690630559ea4790602401602060405180830381865afa15801562000aaa573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000ad0919062000e0b565b90506006600c9054906101000a90046001600160a01b03166001600160a01b0316632e85b1f36040518163ffffffff1660e01b8152600401602060405180830381865afa15801562000b26573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000b4c919062000e0b565b810362000ba95760286000527f68ec43d1fa25ecab18a22465ce1f8255926468a3d494eb646e020d9745efacba6020527f8d8e198cca6e86cae73f3d150107240b75b61652c7eb583fa211a3eddcf17050805460ff191660011790555b7f08ddb846719c334503cde7d22d197ac302b164f7fd7805cc9942ef7c934d8154805460ff1916600190811790915560d3600090815260056020527ffdf048cf45a550014b20d320bb6290f2d7ea067c3d13399f0575dc0baae240799062000c0f606e90565b60ff16815260208101919091526040016000908120805460ff19169215159290921790915560019060059062000c4360dc90565b60ff1660ff168152602001908152602001600020600062000c6962000df860201b60201c565b60ff16815260208101919091526040016000908120805460ff19169215159290921790915560019060059062000c9d605090565b60ff1660ff168152602001908152602001600020600062000cc362000df860201b60201c565b60ff1681526020810191909152604001600020805460ff191691151591909117905550565b60006006600c9054906101000a90046001600160a01b03166001600160a01b0316632e85b1f36040518163ffffffff1660e01b8152600401602060405180830381865afa15801562000d3e573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000d64919062000e0b565b905060008190506040518060e00160405280826001600160601b0316815260200162000ddd6006600c9054906101000a90046001600160a01b03166001600160a01b031663598e28926040518163ffffffff1660e01b8152600401602060405180830381865afa15801562000445573d6000803e3d6000fd5b6001600160601b0316815260200160286200015a565b604690565b608c90565b611ed4806200379383390190565b60006020828403121562000e1e57600080fd5b5051919050565b634e487b7160e01b600052604160045260246000fd5b600181811c9082168062000e5057607f821691505b60208210810362000e7157634e487b7160e01b600052602260045260246000fd5b50919050565b601f82111562000ec157600081815260208120601f850160051c8101602086101562000ea05750805b601f850160051c820191505b81811015620002d05782815560010162000eac565b505050565b81516001600160401b0381111562000ee25762000ee262000e25565b62000efa8162000ef3845462000e3b565b8462000e77565b602080601f83116001811462000f32576000841562000f195750858301515b600019600386901b1c1916600185901b178555620002d0565b600085815260208120601f198616915b8281101562000f635788860151825594840194600190910190840162000f42565b508582101562000f825787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6127f18062000fa26000396000f3fe608060405234801561001057600080fd5b50600436106101c45760003560e01c8063a48f42e0116100f9578063d272ac1e11610097578063e74d052f11610071578063e74d052f14610422578063f40d7c3014610435578063f7dd05ba1461043d578063fee11aaf1461045057600080fd5b8063d272ac1e146103ab578063d39e6043146103dd578063e285c9c41461041a57600080fd5b8063ae8dfb79116100d3578063ae8dfb791461035d578063c3c5a54714610365578063d1982d8814610378578063d2213b5b1461038b57600080fd5b8063a48f42e014610324578063a5df9e4e14610337578063a7050a561461034a57600080fd5b80631a848cfb116101665780633fe9300e116101405780633fe9300e146102b4578063644c45e0146102d7578063893d20e8146102fc5780638b09a5f01461030457600080fd5b80631a848cfb146102785780632b91e0a91461028e57806338bb429a146102a157600080fd5b806311edceaa116101a257806311edceaa14610213578063120726c31461022657806314afd79e1461025257806317dc5e2a1461026557600080fd5b806301ffc9a7146101c95780630e41142e146101f15780630e6d1de91461020b575b600080fd5b6101dc6101d7366004611759565b610461565b60405190151581526020015b60405180910390f35b6101f96104a7565b60405160ff90911681526020016101e8565b6101f961051a565b6101dc610221366004611795565b610564565b600654600160601b90046001600160a01b03165b6040516001600160a01b0390911681526020016101e8565b61023a6102603660046117d2565b6105da565b6101dc6102733660046117d2565b6106f1565b61028061075b565b6040519081526020016101e8565b6101dc61029c3660046117d2565b6107d4565b61023a6102af36600461180f565b610818565b6102ca6040518060200160405280600081525081565b6040516101e8919061187c565b6006546001600160601b03165b6040516001600160601b0390911681526020016101e8565b61023a610875565b6103176103123660046117d2565b610880565b6040516101e8919061188f565b61031761033236600461180f565b6109e4565b6102e4610345366004611ae6565b610ab6565b6102e4610358366004611b1a565b610c40565b610280600281565b6101dc6103733660046117d2565b610dfd565b6102e4610386366004611ae6565b610e70565b61039e610399366004611795565b610fbf565b6040516101e89190611ddd565b6102e46103b93660046117d2565b6001600160a01b03166000908152600160205260409020546001600160601b031690565b61023a6103eb366004611f15565b60ff9081166000908152600260209081526040808320949093168252929092529020546001600160a01b031690565b61023a600181565b6101dc61043036600461180f565b6110a0565b6101f96110fa565b61023a61044b366004611795565b611144565b6007546001600160a01b031661023a565b60006001600160e01b031982166301ffc9a760e01b148061049257506001600160e01b031982166312da491160e01b145b1561049f57506001919050565b506000919050565b600754604080516307208a1760e11b815290516000926001600160a01b031691630e41142e9160048083019260209291908290030181865afa1580156104f1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105159190611f59565b905090565b60075460408051630e6d1de960e01b815290516000926001600160a01b031691630e6d1de99160048083019260209291908290030181865afa1580156104f1573d6000803e3d6000fd5b6007546040516308f6e75560e11b815260ff831660048201526000916001600160a01b0316906311edceaa90602401602060405180830381865afa1580156105b0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105d49190611f76565b92915050565b6006546001600160a01b0382811660009081526001602052604080822054905163046e44af60e11b81526001600160601b0390911660048201529092600160601b900490911690636352211e9073__$94a2c899be079b00d952d0d84fffaa5c34$__906308dc895e906024015b602060405180830381865af4158015610664573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106889190611f93565b6040516001600160e01b031960e084901b1681526001600160601b0390911660048201526024015b602060405180830381865afa1580156106cd573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105d49190611fb0565b6001600160a01b0381166000908152600160209081526040808320546001600160601b0390811684529183905280832054600160601b90049091168083529082205461075490600160c01b900460ff16610749604690565b60ff90811691161490565b9392505050565b60006006600c9054906101000a90046001600160a01b03166001600160a01b03166318160ddd6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156107b0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105159190611fcd565b6001600160a01b0381166000908152600160209081526040808320546001600160601b03168352908290528120546105d490600160c01b900460ff16610749603c90565b60065460405163046e44af60e11b81526001600160601b0383166004820152600091600160601b90046001600160a01b031690636352211e9073__$94a2c899be079b00d952d0d84fffaa5c34$__906308dc895e90602401610647565b6000610515306105da565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a082019290925260c08101919091526001600160a01b038083166000908152600160208181526040808420546001600160601b03908116855284835293819020815160e08101835281548087168252600160601b81049096169381019390935260ff600160c01b8604811692840192909252600160c81b90940416151560608201529082015483166080820152600282015490921660a083015260038101805460c08401919061095b90611fe6565b80601f016020809104026020016040519081016040528092919081815260200182805461098790611fe6565b80156109d45780601f106109a9576101008083540402835291602001916109d4565b820191906000526020600020905b8154815290600101906020018083116109b757829003601f168201915b5050505050815250509050919050565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a082019290925260c08101919091526001600160601b0380831660009081526020818152604091829020825160e08101845281548086168252600160601b81049095169281019290925260ff600160c01b8504811693830193909352600160c81b9093049091161515606082015260018201546001600160a01b03908116608083015260028301541660a082015260038201805491929160c08401919061095b90611fe6565b600754604051639ef6ddc960e01b81523360048201526000916001600160a01b031690639ef6ddc990602401602060405180830381865afa158015610aff573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b239190611f76565b610b4057604051639404710360e01b815260040160405180910390fd5b6040828101516020808501516001600160601b031660009081529081905291909120546080840151600160c01b90910460ff16906001600160a01b0316610bdd5760ff8083166000908152600560209081526040808320858516845290915281205490911615159003610bd85760405163347a1f9760e21b815260ff8084166004830152821660248201526044015b60405180910390fd5b610c2f565b60ff8083166000908152600460209081526040808320858516845290915281205490911615159003610c2f5760405163347a1f9760e21b815260ff808416600483015282166024820152604401610bcf565b610c3884611178565b949350505050565b6007546000906001600160a01b03163314610c6d5760405162783d2b60e21b815260040160405180910390fd5b608084015160405163037c8cb160e51b815260ff8416600482015273__$0d958e68cba84670b8f4a3f2f2686b1c6b$__90636f91962090602401602060405180830381865af4158015610cc4573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ce89190611f76565b15610d115760405163b580d22160e01b81526001600160a01b0382166004820152602401610bcf565b60ff8085166000908152600260209081526040808320938716835292905220546001600160a01b031615610d7457604051632a16d08d60e01b81526001600160a01b038216600482015260ff808616602483015284166044820152606401610bcf565b60ff848116600090815260026020908152604080832093871683529290522080546001600160a01b0319166001600160a01b038316179055610db585611178565b6040805160ff8088168252861660208201529193507fc4761a4fab07f2d3f242a458f91e31e4ea6128fe5edc599e3436f5f66317e0da910160405180910390a1509392505050565b6001600160a01b0381166000908152600160205260408082205490516330b8415f60e01b81526001600160601b03909116600482015273__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f906024015b602060405180830381865af41580156105b0573d6000803e3d6000fd5b600754604051639ef6ddc960e01b81523360048201526000916001600160a01b031690639ef6ddc990602401602060405180830381865afa158015610eb9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610edd9190611f76565b610efa57604051639404710360e01b815260040160405180910390fd5b6040808301516020808501516001600160601b031660009081528082528381205460ff80851683526003909352939020549192600160c01b90048116911615610f56576040516368f27c4360e11b815260040160405180910390fd5b610f6181600a610749565b80610f725750610f72816028610749565b80610f835750610f8381603c610749565b15610fae5760405163347a1f9760e21b815260ff808416600483015282166024820152604401610bcf565b610fb784611178565b505050919050565b61102d604051806101600160405280600060ff1681526020016060815260200160608152602001606081526020016060815260200160608152602001606081526020016060815260200160608152602001600064ffffffffff168152602001600064ffffffffff1681525090565b60075460405163d2213b5b60e01b815260ff841660048201526001600160a01b039091169063d2213b5b90602401600060405180830381865afa158015611078573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526105d491908101906124bc565b6001600160601b03811660009081526020819052604080822054905163b2466acf60e01b8152600160c01b90910460ff16600482015273__$0d958e68cba84670b8f4a3f2f2686b1c6b$__9063b2466acf90602401610e53565b60075460408051630f40d7c360e41b815290516000926001600160a01b03169163f40d7c309160048083019260209291908290030181865afa1580156104f1573d6000803e3d6000fd5b6007546040516319d1478b60e01b815260ff831660048201526000916001600160a01b0316906319d1478b906024016106b0565b6040808201516020808401516001600160601b038082166000908152808452858120865160e08101885281548085168252600160601b81049094169581019590955260ff600160c01b8404811697860197909752600160c81b9092049095161515606084015260018101546001600160a01b03908116608085015260028201541660a08401526003810180549293869390929160c084019161121990611fe6565b80601f016020809104026020016040519081016040528092919081815260200182805461124590611fe6565b80156112925780601f1061126757610100808354040283529160200191611292565b820191906000526020600020905b81548152906001019060200180831161127557829003601f168201915b5050509190925250505060408101516080820151919250906001600160a01b0381166112d157604051630bdad98960e11b815260040160405180910390fd5b60006112eb88606001518960800151866060015185611703565b905060006006600c9054906101000a90046001600160a01b03166001600160a01b031663caa0f92a6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611342573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113669190611fcd565b90508097508789600001906001600160601b031690816001600160601b031681525050886000808a6001600160601b03166001600160601b0316815260200190815260200160002060008201518160000160006101000a8154816001600160601b0302191690836001600160601b03160217905550602082015181600001600c6101000a8154816001600160601b0302191690836001600160601b0316021790555060408201518160000160186101000a81548160ff021916908360ff16021790555060608201518160000160196101000a81548160ff02191690831515021790555060808201518160010160006101000a8154816001600160a01b0302191690836001600160a01b0316021790555060a08201518160020160006101000a8154816001600160a01b0302191690836001600160a01b0316021790555060c08201518160030190816114b891906126b1565b50505060808901516001600160a01b0316156115c95760808901516001600160a01b038116600090815260016020526040908190205490516330b8415f60e01b81526001600160601b03909116600482015273__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015611546573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061156a9190611f76565b1561159357604051633fa3dceb60e21b81526001600160a01b0382166004820152602401610bcf565b6001600160a01b0316600090815260016020526040902080546bffffffffffffffffffffffff19166001600160601b038a161790555b7f378868470b980e00aaf3e534a055e641e5fe9dfd8da44b4250edc6ad96e983878887898c606001518d608001518e60a00151604051611650969594939291906001600160601b03968716815294909516602085015260ff929092166040840152151560608301526001600160a01b0390811660808301529190911660a082015260c00190565b60405180910390a160065460a08a01516040805160208101825260008082529151631109bad360e11b81529193600160601b90046001600160a01b03169263221375a6926116a2928891600401612770565b6020604051808303816000875af11580156116c1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116e59190611fcd565b90508181146116f6576116f66127a5565b5050505050505050919050565b60006001600160a01b038416611728578215611720575080610c38565b506000610c38565b8415611735575082610c38565b506000949350505050565b6001600160e01b03198116811461175657600080fd5b50565b60006020828403121561176b57600080fd5b813561075481611740565b60ff8116811461175657600080fd5b803561179081611776565b919050565b6000602082840312156117a757600080fd5b813561075481611776565b6001600160a01b038116811461175657600080fd5b8035611790816117b2565b6000602082840312156117e457600080fd5b8135610754816117b2565b6001600160601b038116811461175657600080fd5b8035611790816117ef565b60006020828403121561182157600080fd5b8135610754816117ef565b60005b8381101561184757818101518382015260200161182f565b50506000910152565b6000815180845261186881602086016020860161182c565b601f01601f19169290920160200192915050565b6020815260006107546020830184611850565b6020815260006001600160601b038084511660208401528060208501511660408401525060ff604084015116606083015260608301511515608083015260018060a01b0360808401511660a083015260a08301516118f860c08401826001600160a01b03169052565b5060c083015160e080840152610c38610100840182611850565b634e487b7160e01b600052604160045260246000fd5b60405160e081016001600160401b038111828210171561194a5761194a611912565b60405290565b60405161016081016001600160401b038111828210171561194a5761194a611912565b604051601f8201601f191681016001600160401b038111828210171561199b5761199b611912565b604052919050565b801515811461175657600080fd5b8035611790816119a3565b60006001600160401b038211156119d5576119d5611912565b50601f01601f191660200190565b600082601f8301126119f457600080fd5b8135611a07611a02826119bc565b611973565b818152846020838601011115611a1c57600080fd5b816020850160208301376000918101602001919091529392505050565b600060e08284031215611a4b57600080fd5b611a53611928565b9050611a5e82611804565b8152611a6c60208301611804565b6020820152611a7d60408301611785565b6040820152611a8e606083016119b1565b6060820152611a9f608083016117c7565b6080820152611ab060a083016117c7565b60a082015260c08201356001600160401b03811115611ace57600080fd5b611ada848285016119e3565b60c08301525092915050565b600060208284031215611af857600080fd5b81356001600160401b03811115611b0e57600080fd5b610c3884828501611a39565b600080600060608486031215611b2f57600080fd5b83356001600160401b03811115611b4557600080fd5b611b5186828701611a39565b9350506020840135611b6281611776565b91506040840135611b7281611776565b809150509250925092565b600081518084526020808501945080840160005b83811015611bb65781516001600160a01b031687529582019590820190600101611b91565b509495945050505050565b600082825180855260208086019550808260051b84010181860160005b84811015611c0c57601f19868403018952611bfa838351611850565b98840198925090830190600101611bde565b5090979650505050505050565b600082825180855260208086019550808260051b8401018186016000805b85811015611c9357868403601f19018a52825180518086529086019086860190845b81811015611c7e5783516001600160401b031683529288019291880191600101611c59565b50509a86019a94505091840191600101611c37565b509198975050505050505050565b6000815180845260208085019450848260051b860182860160005b85811015611c0c578383038952611cd4838351611bc1565b98850198925090840190600101611cbc565b600081518084526020808501945084600583811b870183870160005b86811015611d9c578483038a5281518051808552908701908785019080871b8601890160005b82811015611d8657878203601f1901845284518051808452908c01908c84019060005b81811015611d715783516001600160e01b0319168352928e0192918e0191600101611d4b565b5050958c0195948c0194925050600101611d28565b509c89019c955050509186019150600101611d02565b509098975050505050505050565b600081518084526020808501945080840160005b83811015611bb657815160ff1687529582019590820190600101611dbe565b60208152611df160208201835160ff169052565b60006020830151610160806040850152611e0f610180850183611b7d565b91506040850151601f1980868503016060870152611e2d8483611bc1565b93506060870151915080868503016080870152611e4a8483611c19565b935060808701519150808685030160a0870152611e678483611ca1565b935060a08701519150808685030160c0870152611e848483611c19565b935060c08701519150808685030160e0870152611ea18483611ca1565b935060e08701519150610100818786030181880152611ec08584611ce6565b945080880151925050610120818786030181880152611edf8584611daa565b94508088015192505050610140611efe8187018364ffffffffff169052565b9095015164ffffffffff1693019290925250919050565b60008060408385031215611f2857600080fd5b8235611f3381611776565b91506020830135611f4381611776565b809150509250929050565b805161179081611776565b600060208284031215611f6b57600080fd5b815161075481611776565b600060208284031215611f8857600080fd5b8151610754816119a3565b600060208284031215611fa557600080fd5b8151610754816117ef565b600060208284031215611fc257600080fd5b8151610754816117b2565b600060208284031215611fdf57600080fd5b5051919050565b600181811c90821680611ffa57607f821691505b60208210810361201a57634e487b7160e01b600052602260045260246000fd5b50919050565b60006001600160401b0382111561203957612039611912565b5060051b60200190565b600082601f83011261205457600080fd5b81516020612064611a0283612020565b82815260059290921b8401810191818101908684111561208357600080fd5b8286015b848110156120a757805161209a816117b2565b8352918301918301612087565b509695505050505050565b600082601f8301126120c357600080fd5b815160206120d3611a0283612020565b82815260059290921b840181019181810190868411156120f257600080fd5b8286015b848110156120a75780516001600160401b038111156121155760008081fd5b8701603f810189136121275760008081fd5b848101516040612139611a02836119bc565b8281528b8284860101111561214e5760008081fd5b61215d8389830184870161182c565b86525050509183019183016120f6565b600082601f83011261217e57600080fd5b8151602061218e611a0283612020565b828152600592831b85018201928282019190878511156121ad57600080fd5b8387015b85811015611c0c5780516001600160401b03808211156121d15760008081fd5b818a0191508a603f8301126121e65760008081fd5b8682015160406121f8611a0283612020565b82815291861b8401810191898101908e8411156122155760008081fd5b948201945b83861015612245578551925084831683146122355760008081fd5b828252948a0194908a019061221a565b895250505094860194505084016121b1565b600082601f83011261226857600080fd5b81516020612278611a0283612020565b82815260059290921b8401810191818101908684111561229757600080fd5b8286015b848110156120a75780516001600160401b038111156122ba5760008081fd5b6122c88986838b01016120b2565b84525091830191830161229b565b600082601f8301126122e757600080fd5b81516122f5611a0282612020565b8082825260208201915060208360051b86010192508583111561231757600080fd5b602085015b838110156124395780516001600160401b0381111561233a57600080fd5b8601603f8101881361234b57600080fd5b602081015161235c611a0282612020565b81815260059190911b82016040019060208101908a83111561237d57600080fd5b604084015b838110156124235780516001600160401b038111156123a057600080fd5b8501605f81018d136123b157600080fd5b60408101516123c2611a0282612020565b81815260059190911b82016060019060208101908f8311156123e357600080fd5b6060840193505b8284101561240e5783516123fd81611740565b8252602093840193909101906123ea565b86525050602093840193919091019050612382565b508652505060209384019391909101905061231c565b5095945050505050565b600082601f83011261245457600080fd5b81516020612464611a0283612020565b82815260059290921b8401810191818101908684111561248357600080fd5b8286015b848110156120a757805161249a81611776565b8352918301918301612487565b805164ffffffffff8116811461179057600080fd5b6000602082840312156124ce57600080fd5b81516001600160401b03808211156124e557600080fd5b9083019061016082860312156124fa57600080fd5b612502611950565b61250b83611f4e565b815260208301518281111561251f57600080fd5b61252b87828601612043565b60208301525060408301518281111561254357600080fd5b61254f878286016120b2565b60408301525060608301518281111561256757600080fd5b6125738782860161216d565b60608301525060808301518281111561258b57600080fd5b61259787828601612257565b60808301525060a0830151828111156125af57600080fd5b6125bb8782860161216d565b60a08301525060c0830151828111156125d357600080fd5b6125df87828601612257565b60c08301525060e0830151828111156125f757600080fd5b612603878286016122d6565b60e083015250610100808401518381111561261d57600080fd5b61262988828701612443565b828401525050610120915061263f8284016124a7565b8282015261014091506126538284016124a7565b91810191909152949350505050565b601f8211156126ac57600081815260208120601f850160051c810160208610156126895750805b601f850160051c820191505b818110156126a857828155600101612695565b5050505b505050565b81516001600160401b038111156126ca576126ca611912565b6126de816126d88454611fe6565b84612662565b602080601f83116001811461271357600084156126fb5750858301515b600019600386901b1c1916600185901b1785556126a8565b600085815260208120601f198616915b8281101561274257888601518255948401946001909101908401612723565b50858210156127605787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6001600160a01b0384811682528316602082015260606040820181905260009061279c90830184611850565b95945050505050565b634e487b7160e01b600052600160045260246000fdfea26469706673582212201fcbe0835974884b44e3acb01299607f8d193b05faa7a0a045232a38415ffac864736f6c6343000814003360806040523480156200001157600080fd5b5060405162001ed438038062001ed483398101604081905262000034916200012e565b60405180606001604052806024815260200162001eb06024913960408051808201909152600681526511125413919560d21b6020820152600062000079838262000205565b50600162000088828262000205565b5050506001600160a01b038116620000b357604051630ae1413f60e11b815260040160405180910390fd5b600c80546001600160a01b0319166001600160a01b03831617905546600d8190556000600e555b80156200010e57600e8054906000620000f383620002e7565b90915550620001069050600a8262000303565b9050620000da565b600e546200011e90600a62000425565b600f555050600360105562000433565b6000602082840312156200014157600080fd5b81516001600160a01b03811681146200015957600080fd5b9392505050565b634e487b7160e01b600052604160045260246000fd5b600181811c908216806200018b57607f821691505b602082108103620001ac57634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200020057600081815260208120601f850160051c81016020861015620001db5750805b601f850160051c820191505b81811015620001fc57828155600101620001e7565b5050505b505050565b81516001600160401b0381111562000221576200022162000160565b620002398162000232845462000176565b84620001b2565b602080601f831160018114620002715760008415620002585750858301515b600019600386901b1c1916600185901b178555620001fc565b600085815260208120601f198616915b82811015620002a25788860151825594840194600190910190840162000281565b5085821015620002c15787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b634e487b7160e01b600052601160045260246000fd5b600060018201620002fc57620002fc620002d1565b5060010190565b6000826200032157634e487b7160e01b600052601260045260246000fd5b500490565b600181815b80851115620003675781600019048211156200034b576200034b620002d1565b808516156200035957918102915b93841c93908002906200032b565b509250929050565b60008262000380575060016200041f565b816200038f575060006200041f565b8160018114620003a85760028114620003b357620003d3565b60019150506200041f565b60ff841115620003c757620003c7620002d1565b50506001821b6200041f565b5060208310610133831016604e8410600b8410161715620003f8575081810a6200041f565b62000404838362000326565b80600019048211156200041b576200041b620002d1565b0290505b92915050565b60006200015983836200036f565b611a6d80620004436000396000f3fe608060405234801561001057600080fd5b50600436106101da5760003560e01c80634f6ccce711610104578063a2309ff8116100a2578063caa0f92a11610071578063caa0f92a146103fa578063e985e9c514610402578063f21de1e814610415578063f76f8d781461042657600080fd5b8063a2309ff8146103c4578063a3f4df7e146103cc578063b88d4fde146103d4578063c87b56dd146103e757600080fd5b806370a08231116100de57806370a0823114610383578063862440e21461039657806395d89b41146103a9578063a22cb465146103b157600080fd5b80634f6ccce714610354578063598e2892146103675780636352211e1461037057600080fd5b806323b872dd1161017c57806340c10f191161014b57806340c10f19146102f057806342842e0e1461030357806342966c68146103165780634f558e791461032957600080fd5b806323b872dd146102985780632e85b1f3146102ab5780632f745c59146102b4578063342ec443146102c757600080fd5b8063081812fc116101b8578063081812fc1461023d578063095ea7b31461026857806318160ddd1461027d578063221375a61461028557600080fd5b806301ffc9a7146101df5780630559ea471461020757806306fdde0314610228575b600080fd5b6101f26101ed366004611471565b61044b565b60405190151581526020015b60405180910390f35b61021a61021536600461148e565b610476565b6040519081526020016101fe565b6102306104ab565b6040516101fe91906114ed565b61025061024b36600461148e565b61053d565b6040516001600160a01b0390911681526020016101fe565b61027b61027636600461151c565b610566565b005b60085461021a565b61021a6102933660046115f2565b610575565b61027b6102a6366004611650565b6106a4565b61021a61083581565b61021a6102c236600461151c565b61074d565b6102506102d536600461148e565b6000908152600a60205260409020546001600160a01b031690565b61027b6102fe36600461151c565b6107b2565b61027b610311366004611650565b6107fe565b61027b61032436600461148e565b610819565b6101f261033736600461148e565b6000908152600260205260409020546001600160a01b0316151590565b61021a61036236600461148e565b610873565b61021a61044d81565b61025061037e36600461148e565b6108cc565b61021a61039136600461168c565b6108d7565b61027b6103a43660046116a7565b61091f565b6102306109ca565b61027b6103bf3660046116ee565b6109d9565b60115461021a565b6102306109e4565b61027b6103e236600461172a565b610a00565b6102306103f536600461148e565b610a1d565b61021a610ac7565b6101f26104103660046117a6565b610ad9565b600c546001600160a01b0316610250565b6102306040518060400160405280600681526020016511125413919560d21b81525081565b60006001600160e01b0319821663780e9d6360e01b1480610470575061047082610b07565b92915050565b6000600e54600d54600f548461048c91906117ef565b6104969190611806565b6104a19060646117ef565b6104709190611806565b6060600080546104ba90611819565b80601f01602080910402602001604051908101604052809291908181526020018280546104e690611819565b80156105335780601f1061050857610100808354040283529160200191610533565b820191906000526020600020905b81548152906001019060200180831161051657829003601f168201915b5050505050905090565b600061054882610b57565b506000828152600460205260409020546001600160a01b0316610470565b610571828233610b90565b5050565b600c546000906001600160a01b031633146105aa576040516399c6cd7160e01b81523360048201526024015b60405180910390fd5b6105b2610b9d565b90506001600160a01b038316156105eb576000818152600a6020526040902080546001600160a01b0319166001600160a01b0385161790555b81511561060c576000818152600b6020526040902061060a83826118a1565b505b6011805490600061061c83611961565b919050555061062b8482610bc4565b6001600160a01b0383161561069d5760405163bb1e0e5960e01b81526001600160a01b0385811660048301526024820183905284169063bb1e0e5990604401600060405180830381600087803b15801561068457600080fd5b505af1158015610698573d6000803e3d6000fd5b505050505b9392505050565b6106af838383610bde565b6000818152600a60205260409020546001600160a01b031615610748576000818152600a6020526040908190205490516373fbfdc360e11b81526001600160a01b0385811660048301528481166024830152604482018490529091169063e7f7fb8690606401600060405180830381600087803b15801561072f57600080fd5b505af1158015610743573d6000803e3d6000fd5b505050505b505050565b6000610758836108d7565b82106107895760405163295f44f760e21b81526001600160a01b0384166004820152602481018390526044016105a1565b506001600160a01b03919091166000908152600660209081526040808320938352929052205490565b600c546001600160a01b031633146107df576040516399c6cd7160e01b81523360048201526024016105a1565b601180549060006107ef83611961565b91905055506105718282610bc4565b61074883838360405180602001604052806000815250610a00565b600c546001600160a01b03163314610846576040516399c6cd7160e01b81523360048201526024016105a1565b61084f81610b57565b5061085981610c63565b6000818152600b602052604081206108709161140d565b50565b600061087e60085490565b82106108a75760405163295f44f760e21b815260006004820152602481018390526044016105a1565b600882815481106108ba576108ba61197a565b90600052602060002001549050919050565b600061047082610b57565b60006001600160a01b038216610903576040516322718ad960e21b8152600060048201526024016105a1565b506001600160a01b031660009081526003602052604090205490565b600c546001600160a01b0316331461094c576040516399c6cd7160e01b81523360048201526024016105a1565b805160000361096e57604051638e45096160e01b815260040160405180910390fd5b6000828152600b60205260408120805461098790611819565b905011156109a85760405163303822c760e21b815260040160405180910390fd5b6109b182610b57565b506000828152600b6020526040902061074882826118a1565b6060600180546104ba90611819565b610571338383610c9e565b604051806060016040528060248152602001611a146024913981565b610a0b8484846106a4565b610a1784848484610d3d565b50505050565b6060610a2882610b57565b506000828152600b602052604090208054610a4290611819565b80601f0160208091040260200160405190810160405280929190818152602001828054610a6e90611819565b8015610abb5780601f10610a9057610100808354040283529160200191610abb565b820191906000526020600020905b815481529060010190602001808311610a9e57829003601f168201915b50505050509050919050565b6000610ad4601054610476565b905090565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b60006001600160e01b031982166380ac58cd60e01b1480610b3857506001600160e01b03198216635b5e139f60e01b145b8061047057506301ffc9a760e01b6001600160e01b0319831614610470565b6000818152600260205260408120546001600160a01b03168061047057604051637e27328960e01b8152600481018490526024016105a1565b6107488383836001610e66565b6000610baa601054610476565b601080549192506000610bbc83611961565b919050555090565b610571828260405180602001604052806000815250610f6c565b6001600160a01b038216610c0857604051633250574960e11b8152600060048201526024016105a1565b6000610c15838333610f83565b9050836001600160a01b0316816001600160a01b031614610a17576040516364283d7b60e01b81526001600160a01b03808616600483015260248201849052821660448201526064016105a1565b6000610c726000836000610f83565b90506001600160a01b03811661057157604051637e27328960e01b8152600481018390526024016105a1565b6001600160a01b038216610cd057604051630b61174360e31b81526001600160a01b03831660048201526024016105a1565b6001600160a01b03838116600081815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b6001600160a01b0383163b15610a1757604051630a85bd0160e11b81526001600160a01b0384169063150b7a0290610d7f903390889087908790600401611990565b6020604051808303816000875af1925050508015610dba575060408051601f3d908101601f19168201909252610db7918101906119cd565b60015b610e23573d808015610de8576040519150601f19603f3d011682016040523d82523d6000602084013e610ded565b606091505b508051600003610e1b57604051633250574960e11b81526001600160a01b03851660048201526024016105a1565b805181602001fd5b6001600160e01b03198116630a85bd0160e11b14610e5f57604051633250574960e11b81526001600160a01b03851660048201526024016105a1565b5050505050565b8080610e7a57506001600160a01b03821615155b15610f3c576000610e8a84610b57565b90506001600160a01b03831615801590610eb65750826001600160a01b0316816001600160a01b031614155b8015610ec95750610ec78184610ad9565b155b15610ef25760405163a9fbf51f60e01b81526001600160a01b03841660048201526024016105a1565b8115610f3a5783856001600160a01b0316826001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45b505b5050600090815260046020526040902080546001600160a01b0319166001600160a01b0392909216919091179055565b610f768383611058565b6107486000848484610d3d565b600080610f918585856110bd565b90506001600160a01b038116610fee57610fe984600880546000838152600960205260408120829055600182018355919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30155565b611011565b846001600160a01b0316816001600160a01b0316146110115761101181856111b6565b6001600160a01b03851661102d5761102884611247565b611050565b846001600160a01b0316816001600160a01b0316146110505761105085856112f6565b949350505050565b6001600160a01b03821661108257604051633250574960e11b8152600060048201526024016105a1565b600061109083836000610f83565b90506001600160a01b03811615610748576040516339e3563760e11b8152600060048201526024016105a1565b6000828152600260205260408120546001600160a01b03908116908316156110ea576110ea818486611346565b6001600160a01b0381161561112857611107600085600080610e66565b6001600160a01b038116600090815260036020526040902080546000190190555b6001600160a01b03851615611157576001600160a01b0385166000908152600360205260409020805460010190555b60008481526002602052604080822080546001600160a01b0319166001600160a01b0389811691821790925591518793918516917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4949350505050565b60006111c1836108d7565b600083815260076020526040902054909150808214611214576001600160a01b03841660009081526006602090815260408083208584528252808320548484528184208190558352600790915290208190555b5060009182526007602090815260408084208490556001600160a01b039094168352600681528383209183525290812055565b600854600090611259906001906119ea565b600083815260096020526040812054600880549394509092849081106112815761128161197a565b9060005260206000200154905080600883815481106112a2576112a261197a565b60009182526020808320909101929092558281526009909152604080822084905585825281205560088054806112da576112da6119fd565b6001900381819060005260206000200160009055905550505050565b60006001611303846108d7565b61130d91906119ea565b6001600160a01b039093166000908152600660209081526040808320868452825280832085905593825260079052919091209190915550565b6113518383836113aa565b610748576001600160a01b03831661137f57604051637e27328960e01b8152600481018290526024016105a1565b60405163177e802f60e01b81526001600160a01b0383166004820152602481018290526044016105a1565b60006001600160a01b038316158015906110505750826001600160a01b0316846001600160a01b031614806113e457506113e48484610ad9565b806110505750506000908152600460205260409020546001600160a01b03908116911614919050565b50805461141990611819565b6000825580601f10611429575050565b601f01602090049060005260206000209081019061087091905b808211156114575760008155600101611443565b5090565b6001600160e01b03198116811461087057600080fd5b60006020828403121561148357600080fd5b813561069d8161145b565b6000602082840312156114a057600080fd5b5035919050565b6000815180845260005b818110156114cd576020818501810151868301820152016114b1565b506000602082860101526020601f19601f83011685010191505092915050565b60208152600061069d60208301846114a7565b80356001600160a01b038116811461151757600080fd5b919050565b6000806040838503121561152f57600080fd5b61153883611500565b946020939093013593505050565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff8084111561157757611577611546565b604051601f8501601f19908116603f0116810190828211818310171561159f5761159f611546565b816040528093508581528686860111156115b857600080fd5b858560208301376000602087830101525050509392505050565b600082601f8301126115e357600080fd5b61069d8383356020850161155c565b60008060006060848603121561160757600080fd5b61161084611500565b925061161e60208501611500565b9150604084013567ffffffffffffffff81111561163a57600080fd5b611646868287016115d2565b9150509250925092565b60008060006060848603121561166557600080fd5b61166e84611500565b925061167c60208501611500565b9150604084013590509250925092565b60006020828403121561169e57600080fd5b61069d82611500565b600080604083850312156116ba57600080fd5b82359150602083013567ffffffffffffffff8111156116d857600080fd5b6116e4858286016115d2565b9150509250929050565b6000806040838503121561170157600080fd5b61170a83611500565b91506020830135801515811461171f57600080fd5b809150509250929050565b6000806000806080858703121561174057600080fd5b61174985611500565b935061175760208601611500565b925060408501359150606085013567ffffffffffffffff81111561177a57600080fd5b8501601f8101871361178b57600080fd5b61179a8782356020840161155c565b91505092959194509250565b600080604083850312156117b957600080fd5b6117c283611500565b91506117d060208401611500565b90509250929050565b634e487b7160e01b600052601160045260246000fd5b8082028115828204841417610470576104706117d9565b80820180821115610470576104706117d9565b600181811c9082168061182d57607f821691505b60208210810361184d57634e487b7160e01b600052602260045260246000fd5b50919050565b601f82111561074857600081815260208120601f850160051c8101602086101561187a5750805b601f850160051c820191505b8181101561189957828155600101611886565b505050505050565b815167ffffffffffffffff8111156118bb576118bb611546565b6118cf816118c98454611819565b84611853565b602080601f83116001811461190457600084156118ec5750858301515b600019600386901b1c1916600185901b178555611899565b600085815260208120601f198616915b8281101561193357888601518255948401946001909101908401611914565b50858210156119515787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b600060018201611973576119736117d9565b5060010190565b634e487b7160e01b600052603260045260246000fd5b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906119c3908301846114a7565b9695505050505050565b6000602082840312156119df57600080fd5b815161069d8161145b565b81810381811115610470576104706117d9565b634e487b7160e01b600052603160045260246000fdfe44657a656e7472616c697a656420496e737572616e63652050726f746f636f6c204e4654a2646970667358221220101e28e240b384eb6b82696294145ff5ed97701c57b9be0f7ba2903dc3f43e6064736f6c6343000814003344657a656e7472616c697a656420496e737572616e63652050726f746f636f6c204e4654",
877
+ "deployedBytecode": "0x608060405234801561001057600080fd5b50600436106101c45760003560e01c8063a48f42e0116100f9578063d272ac1e11610097578063e74d052f11610071578063e74d052f14610422578063f40d7c3014610435578063f7dd05ba1461043d578063fee11aaf1461045057600080fd5b8063d272ac1e146103ab578063d39e6043146103dd578063e285c9c41461041a57600080fd5b8063ae8dfb79116100d3578063ae8dfb791461035d578063c3c5a54714610365578063d1982d8814610378578063d2213b5b1461038b57600080fd5b8063a48f42e014610324578063a5df9e4e14610337578063a7050a561461034a57600080fd5b80631a848cfb116101665780633fe9300e116101405780633fe9300e146102b4578063644c45e0146102d7578063893d20e8146102fc5780638b09a5f01461030457600080fd5b80631a848cfb146102785780632b91e0a91461028e57806338bb429a146102a157600080fd5b806311edceaa116101a257806311edceaa14610213578063120726c31461022657806314afd79e1461025257806317dc5e2a1461026557600080fd5b806301ffc9a7146101c95780630e41142e146101f15780630e6d1de91461020b575b600080fd5b6101dc6101d7366004611759565b610461565b60405190151581526020015b60405180910390f35b6101f96104a7565b60405160ff90911681526020016101e8565b6101f961051a565b6101dc610221366004611795565b610564565b600654600160601b90046001600160a01b03165b6040516001600160a01b0390911681526020016101e8565b61023a6102603660046117d2565b6105da565b6101dc6102733660046117d2565b6106f1565b61028061075b565b6040519081526020016101e8565b6101dc61029c3660046117d2565b6107d4565b61023a6102af36600461180f565b610818565b6102ca6040518060200160405280600081525081565b6040516101e8919061187c565b6006546001600160601b03165b6040516001600160601b0390911681526020016101e8565b61023a610875565b6103176103123660046117d2565b610880565b6040516101e8919061188f565b61031761033236600461180f565b6109e4565b6102e4610345366004611ae6565b610ab6565b6102e4610358366004611b1a565b610c40565b610280600281565b6101dc6103733660046117d2565b610dfd565b6102e4610386366004611ae6565b610e70565b61039e610399366004611795565b610fbf565b6040516101e89190611ddd565b6102e46103b93660046117d2565b6001600160a01b03166000908152600160205260409020546001600160601b031690565b61023a6103eb366004611f15565b60ff9081166000908152600260209081526040808320949093168252929092529020546001600160a01b031690565b61023a600181565b6101dc61043036600461180f565b6110a0565b6101f96110fa565b61023a61044b366004611795565b611144565b6007546001600160a01b031661023a565b60006001600160e01b031982166301ffc9a760e01b148061049257506001600160e01b031982166312da491160e01b145b1561049f57506001919050565b506000919050565b600754604080516307208a1760e11b815290516000926001600160a01b031691630e41142e9160048083019260209291908290030181865afa1580156104f1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105159190611f59565b905090565b60075460408051630e6d1de960e01b815290516000926001600160a01b031691630e6d1de99160048083019260209291908290030181865afa1580156104f1573d6000803e3d6000fd5b6007546040516308f6e75560e11b815260ff831660048201526000916001600160a01b0316906311edceaa90602401602060405180830381865afa1580156105b0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105d49190611f76565b92915050565b6006546001600160a01b0382811660009081526001602052604080822054905163046e44af60e11b81526001600160601b0390911660048201529092600160601b900490911690636352211e9073__$94a2c899be079b00d952d0d84fffaa5c34$__906308dc895e906024015b602060405180830381865af4158015610664573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106889190611f93565b6040516001600160e01b031960e084901b1681526001600160601b0390911660048201526024015b602060405180830381865afa1580156106cd573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105d49190611fb0565b6001600160a01b0381166000908152600160209081526040808320546001600160601b0390811684529183905280832054600160601b90049091168083529082205461075490600160c01b900460ff16610749604690565b60ff90811691161490565b9392505050565b60006006600c9054906101000a90046001600160a01b03166001600160a01b03166318160ddd6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156107b0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105159190611fcd565b6001600160a01b0381166000908152600160209081526040808320546001600160601b03168352908290528120546105d490600160c01b900460ff16610749603c90565b60065460405163046e44af60e11b81526001600160601b0383166004820152600091600160601b90046001600160a01b031690636352211e9073__$94a2c899be079b00d952d0d84fffaa5c34$__906308dc895e90602401610647565b6000610515306105da565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a082019290925260c08101919091526001600160a01b038083166000908152600160208181526040808420546001600160601b03908116855284835293819020815160e08101835281548087168252600160601b81049096169381019390935260ff600160c01b8604811692840192909252600160c81b90940416151560608201529082015483166080820152600282015490921660a083015260038101805460c08401919061095b90611fe6565b80601f016020809104026020016040519081016040528092919081815260200182805461098790611fe6565b80156109d45780601f106109a9576101008083540402835291602001916109d4565b820191906000526020600020905b8154815290600101906020018083116109b757829003601f168201915b5050505050815250509050919050565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a082019290925260c08101919091526001600160601b0380831660009081526020818152604091829020825160e08101845281548086168252600160601b81049095169281019290925260ff600160c01b8504811693830193909352600160c81b9093049091161515606082015260018201546001600160a01b03908116608083015260028301541660a082015260038201805491929160c08401919061095b90611fe6565b600754604051639ef6ddc960e01b81523360048201526000916001600160a01b031690639ef6ddc990602401602060405180830381865afa158015610aff573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b239190611f76565b610b4057604051639404710360e01b815260040160405180910390fd5b6040828101516020808501516001600160601b031660009081529081905291909120546080840151600160c01b90910460ff16906001600160a01b0316610bdd5760ff8083166000908152600560209081526040808320858516845290915281205490911615159003610bd85760405163347a1f9760e21b815260ff8084166004830152821660248201526044015b60405180910390fd5b610c2f565b60ff8083166000908152600460209081526040808320858516845290915281205490911615159003610c2f5760405163347a1f9760e21b815260ff808416600483015282166024820152604401610bcf565b610c3884611178565b949350505050565b6007546000906001600160a01b03163314610c6d5760405162783d2b60e21b815260040160405180910390fd5b608084015160405163037c8cb160e51b815260ff8416600482015273__$0d958e68cba84670b8f4a3f2f2686b1c6b$__90636f91962090602401602060405180830381865af4158015610cc4573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ce89190611f76565b15610d115760405163b580d22160e01b81526001600160a01b0382166004820152602401610bcf565b60ff8085166000908152600260209081526040808320938716835292905220546001600160a01b031615610d7457604051632a16d08d60e01b81526001600160a01b038216600482015260ff808616602483015284166044820152606401610bcf565b60ff848116600090815260026020908152604080832093871683529290522080546001600160a01b0319166001600160a01b038316179055610db585611178565b6040805160ff8088168252861660208201529193507fc4761a4fab07f2d3f242a458f91e31e4ea6128fe5edc599e3436f5f66317e0da910160405180910390a1509392505050565b6001600160a01b0381166000908152600160205260408082205490516330b8415f60e01b81526001600160601b03909116600482015273__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f906024015b602060405180830381865af41580156105b0573d6000803e3d6000fd5b600754604051639ef6ddc960e01b81523360048201526000916001600160a01b031690639ef6ddc990602401602060405180830381865afa158015610eb9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610edd9190611f76565b610efa57604051639404710360e01b815260040160405180910390fd5b6040808301516020808501516001600160601b031660009081528082528381205460ff80851683526003909352939020549192600160c01b90048116911615610f56576040516368f27c4360e11b815260040160405180910390fd5b610f6181600a610749565b80610f725750610f72816028610749565b80610f835750610f8381603c610749565b15610fae5760405163347a1f9760e21b815260ff808416600483015282166024820152604401610bcf565b610fb784611178565b505050919050565b61102d604051806101600160405280600060ff1681526020016060815260200160608152602001606081526020016060815260200160608152602001606081526020016060815260200160608152602001600064ffffffffff168152602001600064ffffffffff1681525090565b60075460405163d2213b5b60e01b815260ff841660048201526001600160a01b039091169063d2213b5b90602401600060405180830381865afa158015611078573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526105d491908101906124bc565b6001600160601b03811660009081526020819052604080822054905163b2466acf60e01b8152600160c01b90910460ff16600482015273__$0d958e68cba84670b8f4a3f2f2686b1c6b$__9063b2466acf90602401610e53565b60075460408051630f40d7c360e41b815290516000926001600160a01b03169163f40d7c309160048083019260209291908290030181865afa1580156104f1573d6000803e3d6000fd5b6007546040516319d1478b60e01b815260ff831660048201526000916001600160a01b0316906319d1478b906024016106b0565b6040808201516020808401516001600160601b038082166000908152808452858120865160e08101885281548085168252600160601b81049094169581019590955260ff600160c01b8404811697860197909752600160c81b9092049095161515606084015260018101546001600160a01b03908116608085015260028201541660a08401526003810180549293869390929160c084019161121990611fe6565b80601f016020809104026020016040519081016040528092919081815260200182805461124590611fe6565b80156112925780601f1061126757610100808354040283529160200191611292565b820191906000526020600020905b81548152906001019060200180831161127557829003601f168201915b5050509190925250505060408101516080820151919250906001600160a01b0381166112d157604051630bdad98960e11b815260040160405180910390fd5b60006112eb88606001518960800151866060015185611703565b905060006006600c9054906101000a90046001600160a01b03166001600160a01b031663caa0f92a6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611342573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113669190611fcd565b90508097508789600001906001600160601b031690816001600160601b031681525050886000808a6001600160601b03166001600160601b0316815260200190815260200160002060008201518160000160006101000a8154816001600160601b0302191690836001600160601b03160217905550602082015181600001600c6101000a8154816001600160601b0302191690836001600160601b0316021790555060408201518160000160186101000a81548160ff021916908360ff16021790555060608201518160000160196101000a81548160ff02191690831515021790555060808201518160010160006101000a8154816001600160a01b0302191690836001600160a01b0316021790555060a08201518160020160006101000a8154816001600160a01b0302191690836001600160a01b0316021790555060c08201518160030190816114b891906126b1565b50505060808901516001600160a01b0316156115c95760808901516001600160a01b038116600090815260016020526040908190205490516330b8415f60e01b81526001600160601b03909116600482015273__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015611546573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061156a9190611f76565b1561159357604051633fa3dceb60e21b81526001600160a01b0382166004820152602401610bcf565b6001600160a01b0316600090815260016020526040902080546bffffffffffffffffffffffff19166001600160601b038a161790555b7f378868470b980e00aaf3e534a055e641e5fe9dfd8da44b4250edc6ad96e983878887898c606001518d608001518e60a00151604051611650969594939291906001600160601b03968716815294909516602085015260ff929092166040840152151560608301526001600160a01b0390811660808301529190911660a082015260c00190565b60405180910390a160065460a08a01516040805160208101825260008082529151631109bad360e11b81529193600160601b90046001600160a01b03169263221375a6926116a2928891600401612770565b6020604051808303816000875af11580156116c1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116e59190611fcd565b90508181146116f6576116f66127a5565b5050505050505050919050565b60006001600160a01b038416611728578215611720575080610c38565b506000610c38565b8415611735575082610c38565b506000949350505050565b6001600160e01b03198116811461175657600080fd5b50565b60006020828403121561176b57600080fd5b813561075481611740565b60ff8116811461175657600080fd5b803561179081611776565b919050565b6000602082840312156117a757600080fd5b813561075481611776565b6001600160a01b038116811461175657600080fd5b8035611790816117b2565b6000602082840312156117e457600080fd5b8135610754816117b2565b6001600160601b038116811461175657600080fd5b8035611790816117ef565b60006020828403121561182157600080fd5b8135610754816117ef565b60005b8381101561184757818101518382015260200161182f565b50506000910152565b6000815180845261186881602086016020860161182c565b601f01601f19169290920160200192915050565b6020815260006107546020830184611850565b6020815260006001600160601b038084511660208401528060208501511660408401525060ff604084015116606083015260608301511515608083015260018060a01b0360808401511660a083015260a08301516118f860c08401826001600160a01b03169052565b5060c083015160e080840152610c38610100840182611850565b634e487b7160e01b600052604160045260246000fd5b60405160e081016001600160401b038111828210171561194a5761194a611912565b60405290565b60405161016081016001600160401b038111828210171561194a5761194a611912565b604051601f8201601f191681016001600160401b038111828210171561199b5761199b611912565b604052919050565b801515811461175657600080fd5b8035611790816119a3565b60006001600160401b038211156119d5576119d5611912565b50601f01601f191660200190565b600082601f8301126119f457600080fd5b8135611a07611a02826119bc565b611973565b818152846020838601011115611a1c57600080fd5b816020850160208301376000918101602001919091529392505050565b600060e08284031215611a4b57600080fd5b611a53611928565b9050611a5e82611804565b8152611a6c60208301611804565b6020820152611a7d60408301611785565b6040820152611a8e606083016119b1565b6060820152611a9f608083016117c7565b6080820152611ab060a083016117c7565b60a082015260c08201356001600160401b03811115611ace57600080fd5b611ada848285016119e3565b60c08301525092915050565b600060208284031215611af857600080fd5b81356001600160401b03811115611b0e57600080fd5b610c3884828501611a39565b600080600060608486031215611b2f57600080fd5b83356001600160401b03811115611b4557600080fd5b611b5186828701611a39565b9350506020840135611b6281611776565b91506040840135611b7281611776565b809150509250925092565b600081518084526020808501945080840160005b83811015611bb65781516001600160a01b031687529582019590820190600101611b91565b509495945050505050565b600082825180855260208086019550808260051b84010181860160005b84811015611c0c57601f19868403018952611bfa838351611850565b98840198925090830190600101611bde565b5090979650505050505050565b600082825180855260208086019550808260051b8401018186016000805b85811015611c9357868403601f19018a52825180518086529086019086860190845b81811015611c7e5783516001600160401b031683529288019291880191600101611c59565b50509a86019a94505091840191600101611c37565b509198975050505050505050565b6000815180845260208085019450848260051b860182860160005b85811015611c0c578383038952611cd4838351611bc1565b98850198925090840190600101611cbc565b600081518084526020808501945084600583811b870183870160005b86811015611d9c578483038a5281518051808552908701908785019080871b8601890160005b82811015611d8657878203601f1901845284518051808452908c01908c84019060005b81811015611d715783516001600160e01b0319168352928e0192918e0191600101611d4b565b5050958c0195948c0194925050600101611d28565b509c89019c955050509186019150600101611d02565b509098975050505050505050565b600081518084526020808501945080840160005b83811015611bb657815160ff1687529582019590820190600101611dbe565b60208152611df160208201835160ff169052565b60006020830151610160806040850152611e0f610180850183611b7d565b91506040850151601f1980868503016060870152611e2d8483611bc1565b93506060870151915080868503016080870152611e4a8483611c19565b935060808701519150808685030160a0870152611e678483611ca1565b935060a08701519150808685030160c0870152611e848483611c19565b935060c08701519150808685030160e0870152611ea18483611ca1565b935060e08701519150610100818786030181880152611ec08584611ce6565b945080880151925050610120818786030181880152611edf8584611daa565b94508088015192505050610140611efe8187018364ffffffffff169052565b9095015164ffffffffff1693019290925250919050565b60008060408385031215611f2857600080fd5b8235611f3381611776565b91506020830135611f4381611776565b809150509250929050565b805161179081611776565b600060208284031215611f6b57600080fd5b815161075481611776565b600060208284031215611f8857600080fd5b8151610754816119a3565b600060208284031215611fa557600080fd5b8151610754816117ef565b600060208284031215611fc257600080fd5b8151610754816117b2565b600060208284031215611fdf57600080fd5b5051919050565b600181811c90821680611ffa57607f821691505b60208210810361201a57634e487b7160e01b600052602260045260246000fd5b50919050565b60006001600160401b0382111561203957612039611912565b5060051b60200190565b600082601f83011261205457600080fd5b81516020612064611a0283612020565b82815260059290921b8401810191818101908684111561208357600080fd5b8286015b848110156120a757805161209a816117b2565b8352918301918301612087565b509695505050505050565b600082601f8301126120c357600080fd5b815160206120d3611a0283612020565b82815260059290921b840181019181810190868411156120f257600080fd5b8286015b848110156120a75780516001600160401b038111156121155760008081fd5b8701603f810189136121275760008081fd5b848101516040612139611a02836119bc565b8281528b8284860101111561214e5760008081fd5b61215d8389830184870161182c565b86525050509183019183016120f6565b600082601f83011261217e57600080fd5b8151602061218e611a0283612020565b828152600592831b85018201928282019190878511156121ad57600080fd5b8387015b85811015611c0c5780516001600160401b03808211156121d15760008081fd5b818a0191508a603f8301126121e65760008081fd5b8682015160406121f8611a0283612020565b82815291861b8401810191898101908e8411156122155760008081fd5b948201945b83861015612245578551925084831683146122355760008081fd5b828252948a0194908a019061221a565b895250505094860194505084016121b1565b600082601f83011261226857600080fd5b81516020612278611a0283612020565b82815260059290921b8401810191818101908684111561229757600080fd5b8286015b848110156120a75780516001600160401b038111156122ba5760008081fd5b6122c88986838b01016120b2565b84525091830191830161229b565b600082601f8301126122e757600080fd5b81516122f5611a0282612020565b8082825260208201915060208360051b86010192508583111561231757600080fd5b602085015b838110156124395780516001600160401b0381111561233a57600080fd5b8601603f8101881361234b57600080fd5b602081015161235c611a0282612020565b81815260059190911b82016040019060208101908a83111561237d57600080fd5b604084015b838110156124235780516001600160401b038111156123a057600080fd5b8501605f81018d136123b157600080fd5b60408101516123c2611a0282612020565b81815260059190911b82016060019060208101908f8311156123e357600080fd5b6060840193505b8284101561240e5783516123fd81611740565b8252602093840193909101906123ea565b86525050602093840193919091019050612382565b508652505060209384019391909101905061231c565b5095945050505050565b600082601f83011261245457600080fd5b81516020612464611a0283612020565b82815260059290921b8401810191818101908684111561248357600080fd5b8286015b848110156120a757805161249a81611776565b8352918301918301612487565b805164ffffffffff8116811461179057600080fd5b6000602082840312156124ce57600080fd5b81516001600160401b03808211156124e557600080fd5b9083019061016082860312156124fa57600080fd5b612502611950565b61250b83611f4e565b815260208301518281111561251f57600080fd5b61252b87828601612043565b60208301525060408301518281111561254357600080fd5b61254f878286016120b2565b60408301525060608301518281111561256757600080fd5b6125738782860161216d565b60608301525060808301518281111561258b57600080fd5b61259787828601612257565b60808301525060a0830151828111156125af57600080fd5b6125bb8782860161216d565b60a08301525060c0830151828111156125d357600080fd5b6125df87828601612257565b60c08301525060e0830151828111156125f757600080fd5b612603878286016122d6565b60e083015250610100808401518381111561261d57600080fd5b61262988828701612443565b828401525050610120915061263f8284016124a7565b8282015261014091506126538284016124a7565b91810191909152949350505050565b601f8211156126ac57600081815260208120601f850160051c810160208610156126895750805b601f850160051c820191505b818110156126a857828155600101612695565b5050505b505050565b81516001600160401b038111156126ca576126ca611912565b6126de816126d88454611fe6565b84612662565b602080601f83116001811461271357600084156126fb5750858301515b600019600386901b1c1916600185901b1785556126a8565b600085815260208120601f198616915b8281101561274257888601518255948401946001909101908401612723565b50858210156127605787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6001600160a01b0384811682528316602082015260606040820181905260009061279c90830184611850565b95945050505050565b634e487b7160e01b600052600160045260246000fdfea26469706673582212201fcbe0835974884b44e3acb01299607f8d193b05faa7a0a045232a38415ffac864736f6c63430008140033",
686
878
  "linkReferences": {
687
- "contracts/types/NftId.sol": {
879
+ "contracts/type/NftId.sol": {
688
880
  "NftIdLib": [
689
881
  {
690
882
  "length": 20,
691
- "start": 4392
883
+ "start": 5579
692
884
  },
693
885
  {
694
886
  "length": 20,
695
- "start": 4779
887
+ "start": 6133
696
888
  },
697
889
  {
698
890
  "length": 20,
699
- "start": 5019
891
+ "start": 7639
700
892
  },
701
893
  {
702
894
  "length": 20,
703
- "start": 6350
704
- },
705
- {
706
- "length": 20,
707
- "start": 7768
895
+ "start": 9390
708
896
  }
709
897
  ]
710
898
  },
711
- "contracts/types/ObjectType.sol": {
899
+ "contracts/type/ObjectType.sol": {
712
900
  "ObjectTypeLib": [
713
901
  {
714
902
  "length": 20,
715
- "start": 6709
903
+ "start": 7212
904
+ },
905
+ {
906
+ "length": 20,
907
+ "start": 8314
716
908
  }
717
909
  ]
718
910
  }
719
911
  },
720
912
  "deployedLinkReferences": {
721
- "contracts/types/NftId.sol": {
913
+ "contracts/type/NftId.sol": {
722
914
  "NftIdLib": [
723
915
  {
724
916
  "length": 20,
725
- "start": 1018
917
+ "start": 1577
726
918
  },
727
919
  {
728
920
  "length": 20,
729
- "start": 1405
921
+ "start": 2131
730
922
  },
731
923
  {
732
924
  "length": 20,
733
- "start": 1645
925
+ "start": 3637
734
926
  },
735
927
  {
736
928
  "length": 20,
737
- "start": 2976
738
- },
739
- {
740
- "length": 20,
741
- "start": 4394
929
+ "start": 5388
742
930
  }
743
931
  ]
744
932
  },
745
- "contracts/types/ObjectType.sol": {
933
+ "contracts/type/ObjectType.sol": {
746
934
  "ObjectTypeLib": [
747
935
  {
748
936
  "length": 20,
749
- "start": 3335
937
+ "start": 3210
938
+ },
939
+ {
940
+ "length": 20,
941
+ "start": 4312
750
942
  }
751
943
  ]
752
944
  }