@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
@@ -4,35 +4,61 @@
4
4
  "sourceName": "contracts/instance/InstanceService.sol",
5
5
  "abi": [
6
6
  {
7
- "inputs": [],
8
- "name": "ERC1167FailedCreateClone",
7
+ "inputs": [
8
+ {
9
+ "internalType": "address",
10
+ "name": "authority",
11
+ "type": "address"
12
+ }
13
+ ],
14
+ "name": "AccessManagedInvalidAuthority",
9
15
  "type": "error"
10
16
  },
11
17
  {
12
18
  "inputs": [
13
19
  {
14
20
  "internalType": "address",
15
- "name": "registry",
21
+ "name": "caller",
16
22
  "type": "address"
17
23
  },
18
24
  {
19
- "internalType": "NftId",
20
- "name": "nftId",
21
- "type": "uint96"
25
+ "internalType": "uint32",
26
+ "name": "delay",
27
+ "type": "uint32"
22
28
  }
23
29
  ],
24
- "name": "ErrorAlreadyLinked",
30
+ "name": "AccessManagedRequiredDelay",
25
31
  "type": "error"
26
32
  },
27
33
  {
28
34
  "inputs": [
29
35
  {
30
36
  "internalType": "address",
31
- "name": "contractAddress",
37
+ "name": "caller",
32
38
  "type": "address"
33
39
  }
34
40
  ],
35
- "name": "ErrorContractNotRegistered",
41
+ "name": "AccessManagedUnauthorized",
42
+ "type": "error"
43
+ },
44
+ {
45
+ "inputs": [],
46
+ "name": "ERC1167FailedCreateClone",
47
+ "type": "error"
48
+ },
49
+ {
50
+ "inputs": [],
51
+ "name": "ErrorInstanceServiceBundleManagerAuthorityMismatch",
52
+ "type": "error"
53
+ },
54
+ {
55
+ "inputs": [],
56
+ "name": "ErrorInstanceServiceBundleManagerZero",
57
+ "type": "error"
58
+ },
59
+ {
60
+ "inputs": [],
61
+ "name": "ErrorInstanceServiceBundleMangerInstanceMismatch",
36
62
  "type": "error"
37
63
  },
38
64
  {
@@ -46,20 +72,127 @@
46
72
  "name": "ErrorInstanceServiceComponentNotRegistered",
47
73
  "type": "error"
48
74
  },
75
+ {
76
+ "inputs": [],
77
+ "name": "ErrorInstanceServiceInstanceAddressZero",
78
+ "type": "error"
79
+ },
80
+ {
81
+ "inputs": [],
82
+ "name": "ErrorInstanceServiceInstanceAdminZero",
83
+ "type": "error"
84
+ },
85
+ {
86
+ "inputs": [],
87
+ "name": "ErrorInstanceServiceInstanceAuthorityMismatch",
88
+ "type": "error"
89
+ },
90
+ {
91
+ "inputs": [
92
+ {
93
+ "internalType": "NftId",
94
+ "name": "instanceNftId",
95
+ "type": "uint96"
96
+ },
97
+ {
98
+ "internalType": "NftId",
99
+ "name": "componentNftId",
100
+ "type": "uint96"
101
+ }
102
+ ],
103
+ "name": "ErrorInstanceServiceInstanceComponentMismatch",
104
+ "type": "error"
105
+ },
106
+ {
107
+ "inputs": [],
108
+ "name": "ErrorInstanceServiceInstanceReaderAddressZero",
109
+ "type": "error"
110
+ },
111
+ {
112
+ "inputs": [],
113
+ "name": "ErrorInstanceServiceInstanceReaderInstanceMismatch",
114
+ "type": "error"
115
+ },
116
+ {
117
+ "inputs": [],
118
+ "name": "ErrorInstanceServiceInstanceReaderInstanceMismatch2",
119
+ "type": "error"
120
+ },
121
+ {
122
+ "inputs": [],
123
+ "name": "ErrorInstanceServiceInstanceReaderSameAsMasterInstanceReader",
124
+ "type": "error"
125
+ },
126
+ {
127
+ "inputs": [],
128
+ "name": "ErrorInstanceServiceInstanceReaderZero",
129
+ "type": "error"
130
+ },
131
+ {
132
+ "inputs": [],
133
+ "name": "ErrorInstanceServiceInstanceStoreAuthorityMismatch",
134
+ "type": "error"
135
+ },
136
+ {
137
+ "inputs": [],
138
+ "name": "ErrorInstanceServiceInstanceStoreZero",
139
+ "type": "error"
140
+ },
49
141
  {
50
142
  "inputs": [
51
143
  {
52
144
  "internalType": "address",
53
- "name": "caller",
145
+ "name": "componentAddress",
54
146
  "type": "address"
55
147
  },
148
+ {
149
+ "internalType": "ObjectType",
150
+ "name": "expectedType",
151
+ "type": "uint8"
152
+ },
153
+ {
154
+ "internalType": "ObjectType",
155
+ "name": "componentType",
156
+ "type": "uint8"
157
+ }
158
+ ],
159
+ "name": "ErrorInstanceServiceInvalidComponentType",
160
+ "type": "error"
161
+ },
162
+ {
163
+ "inputs": [],
164
+ "name": "ErrorInstanceServiceMasterBundleManagerAlreadySet",
165
+ "type": "error"
166
+ },
167
+ {
168
+ "inputs": [],
169
+ "name": "ErrorInstanceServiceMasterInstanceAdminAlreadySet",
170
+ "type": "error"
171
+ },
172
+ {
173
+ "inputs": [],
174
+ "name": "ErrorInstanceServiceMasterInstanceAlreadySet",
175
+ "type": "error"
176
+ },
177
+ {
178
+ "inputs": [],
179
+ "name": "ErrorInstanceServiceMasterInstanceReaderNotSet",
180
+ "type": "error"
181
+ },
182
+ {
183
+ "inputs": [],
184
+ "name": "ErrorInstanceServiceMasterOzAccessManagerAlreadySet",
185
+ "type": "error"
186
+ },
187
+ {
188
+ "inputs": [
56
189
  {
57
190
  "internalType": "NftId",
58
- "name": "instanceNftId",
191
+ "name": "nftId",
59
192
  "type": "uint96"
60
193
  }
61
194
  ],
62
- "name": "ErrorInstanceServiceNotInstanceOwner",
195
+ "name": "ErrorInstanceServiceNotInstance",
63
196
  "type": "error"
64
197
  },
65
198
  {
@@ -68,63 +201,79 @@
68
201
  "internalType": "address",
69
202
  "name": "caller",
70
203
  "type": "address"
204
+ },
205
+ {
206
+ "internalType": "NftId",
207
+ "name": "instanceNftId",
208
+ "type": "uint96"
71
209
  }
72
210
  ],
73
- "name": "ErrorInstanceServiceRequestUnauhorized",
211
+ "name": "ErrorInstanceServiceNotInstanceOwner",
74
212
  "type": "error"
75
213
  },
76
214
  {
77
215
  "inputs": [
78
216
  {
79
217
  "internalType": "address",
80
- "name": "account",
218
+ "name": "caller",
81
219
  "type": "address"
82
220
  }
83
221
  ],
84
- "name": "ErrorNotOwner",
222
+ "name": "ErrorInstanceServiceRequestUnauhorized",
85
223
  "type": "error"
86
224
  },
87
225
  {
88
226
  "inputs": [
89
227
  {
90
- "internalType": "address",
91
- "name": "registryAddress",
92
- "type": "address"
228
+ "internalType": "NftId",
229
+ "name": "nftId",
230
+ "type": "uint96"
93
231
  }
94
232
  ],
95
- "name": "ErrorNotRegistry",
233
+ "name": "ErrorNftOwnableAlreadyLinked",
96
234
  "type": "error"
97
235
  },
98
236
  {
99
237
  "inputs": [
100
238
  {
101
239
  "internalType": "address",
102
- "name": "registryAddress",
240
+ "name": "contractAddress",
103
241
  "type": "address"
104
242
  }
105
243
  ],
106
- "name": "ErrorRegisterableNotRegistry",
244
+ "name": "ErrorNftOwnableContractNotRegistered",
107
245
  "type": "error"
108
246
  },
109
247
  {
110
248
  "inputs": [],
111
- "name": "ErrorRegistryAddressZero",
249
+ "name": "ErrorNftOwnableInitialOwnerZero",
112
250
  "type": "error"
113
251
  },
114
252
  {
115
253
  "inputs": [
116
254
  {
117
255
  "internalType": "address",
118
- "name": "registry",
256
+ "name": "account",
257
+ "type": "address"
258
+ }
259
+ ],
260
+ "name": "ErrorNftOwnableNotOwner",
261
+ "type": "error"
262
+ },
263
+ {
264
+ "inputs": [
265
+ {
266
+ "internalType": "address",
267
+ "name": "registryAddress",
119
268
  "type": "address"
120
269
  }
121
270
  ],
122
- "name": "ErrorRegistryAlreadyInitialized",
271
+ "name": "ErrorNotRegistry",
123
272
  "type": "error"
124
273
  },
125
274
  {
126
275
  "inputs": [],
127
- "name": "ErrorRegistryNotInitialized",
276
+ "name": "ErrorServiceNotImplemented",
128
277
  "type": "error"
129
278
  },
130
279
  {
@@ -137,6 +286,19 @@
137
286
  "name": "NotInitializing",
138
287
  "type": "error"
139
288
  },
289
+ {
290
+ "anonymous": false,
291
+ "inputs": [
292
+ {
293
+ "indexed": false,
294
+ "internalType": "address",
295
+ "name": "authority",
296
+ "type": "address"
297
+ }
298
+ ],
299
+ "name": "AuthorityUpdated",
300
+ "type": "event"
301
+ },
140
302
  {
141
303
  "anonymous": false,
142
304
  "inputs": [
@@ -156,54 +318,47 @@
156
318
  {
157
319
  "indexed": false,
158
320
  "internalType": "address",
159
- "name": "clonedAccessManagerAddress",
321
+ "name": "clonedOzAccessManager",
160
322
  "type": "address"
161
323
  },
162
324
  {
163
325
  "indexed": false,
164
326
  "internalType": "address",
165
- "name": "clonedInstanceAddress",
327
+ "name": "clonedInstanceAccessManager",
166
328
  "type": "address"
167
329
  },
168
330
  {
169
331
  "indexed": false,
170
332
  "internalType": "address",
171
- "name": "clonedInstanceReaderAddress",
333
+ "name": "clonedInstance",
172
334
  "type": "address"
173
335
  },
174
336
  {
175
337
  "indexed": false,
176
- "internalType": "NftId",
177
- "name": "clonedInstanceNftId",
178
- "type": "uint96"
179
- }
180
- ],
181
- "name": "LogInstanceCloned",
182
- "type": "event"
183
- },
184
- {
185
- "anonymous": false,
186
- "inputs": [
187
- {
188
- "indexed": false,
189
- "internalType": "Version",
190
- "name": "version",
191
- "type": "uint24"
338
+ "internalType": "address",
339
+ "name": "clonedInstanceStore",
340
+ "type": "address"
192
341
  },
193
342
  {
194
343
  "indexed": false,
195
344
  "internalType": "address",
196
- "name": "implementation",
345
+ "name": "clonedBundleManager",
197
346
  "type": "address"
198
347
  },
199
348
  {
200
349
  "indexed": false,
201
350
  "internalType": "address",
202
- "name": "activatedBy",
351
+ "name": "clonedInstanceReader",
203
352
  "type": "address"
353
+ },
354
+ {
355
+ "indexed": false,
356
+ "internalType": "NftId",
357
+ "name": "clonedInstanceNftId",
358
+ "type": "uint96"
204
359
  }
205
360
  ],
206
- "name": "LogVersionableInitialized",
361
+ "name": "LogInstanceCloned",
207
362
  "type": "event"
208
363
  },
209
364
  {
@@ -221,12 +376,12 @@
221
376
  },
222
377
  {
223
378
  "inputs": [],
224
- "name": "NAME",
379
+ "name": "NFT_OWNABLE_STORAGE_LOCATION_V1",
225
380
  "outputs": [
226
381
  {
227
- "internalType": "string",
382
+ "internalType": "bytes32",
228
383
  "name": "",
229
- "type": "string"
384
+ "type": "bytes32"
230
385
  }
231
386
  ],
232
387
  "stateMutability": "view",
@@ -247,35 +402,15 @@
247
402
  },
248
403
  {
249
404
  "inputs": [],
250
- "name": "createInstanceClone",
405
+ "name": "authority",
251
406
  "outputs": [
252
407
  {
253
- "internalType": "contract InstanceAccessManager",
254
- "name": "clonedAccessManager",
255
- "type": "address"
256
- },
257
- {
258
- "internalType": "contract Instance",
259
- "name": "clonedInstance",
260
- "type": "address"
261
- },
262
- {
263
- "internalType": "NftId",
264
- "name": "clonedInstanceNftId",
265
- "type": "uint96"
266
- },
267
- {
268
- "internalType": "contract InstanceReader",
269
- "name": "clonedInstanceReader",
270
- "type": "address"
271
- },
272
- {
273
- "internalType": "contract BundleManager",
274
- "name": "clonedBundleManager",
408
+ "internalType": "address",
409
+ "name": "",
275
410
  "type": "address"
276
411
  }
277
412
  ],
278
- "stateMutability": "nonpayable",
413
+ "stateMutability": "view",
279
414
  "type": "function"
280
415
  },
281
416
  {
@@ -294,13 +429,41 @@
294
429
  "internalType": "string",
295
430
  "name": "targetName",
296
431
  "type": "string"
432
+ },
433
+ {
434
+ "internalType": "bytes4[][]",
435
+ "name": "selectors",
436
+ "type": "bytes4[][]"
437
+ },
438
+ {
439
+ "internalType": "RoleId[]",
440
+ "name": "roles",
441
+ "type": "uint64[]"
297
442
  }
298
443
  ],
299
- "name": "createTarget",
444
+ "name": "createGifTarget",
300
445
  "outputs": [],
301
446
  "stateMutability": "nonpayable",
302
447
  "type": "function"
303
448
  },
449
+ {
450
+ "inputs": [],
451
+ "name": "createInstanceClone",
452
+ "outputs": [
453
+ {
454
+ "internalType": "contract Instance",
455
+ "name": "clonedInstance",
456
+ "type": "address"
457
+ },
458
+ {
459
+ "internalType": "NftId",
460
+ "name": "clonedInstanceNftId",
461
+ "type": "uint96"
462
+ }
463
+ ],
464
+ "stateMutability": "nonpayable",
465
+ "type": "function"
466
+ },
304
467
  {
305
468
  "inputs": [],
306
469
  "name": "getDomain",
@@ -357,13 +520,8 @@
357
520
  }
358
521
  ],
359
522
  "internalType": "struct IRegistry.ObjectInfo",
360
- "name": "",
523
+ "name": "info",
361
524
  "type": "tuple"
362
- },
363
- {
364
- "internalType": "bytes",
365
- "name": "data",
366
- "type": "bytes"
367
525
  }
368
526
  ],
369
527
  "stateMutability": "view",
@@ -371,77 +529,12 @@
371
529
  },
372
530
  {
373
531
  "inputs": [],
374
- "name": "getInitializedVersion",
532
+ "name": "getMasterInstanceReader",
375
533
  "outputs": [
376
534
  {
377
- "internalType": "uint64",
535
+ "internalType": "address",
378
536
  "name": "",
379
- "type": "uint64"
380
- }
381
- ],
382
- "stateMutability": "view",
383
- "type": "function"
384
- },
385
- {
386
- "inputs": [],
387
- "name": "getMajorVersion",
388
- "outputs": [
389
- {
390
- "internalType": "VersionPart",
391
- "name": "majorVersion",
392
- "type": "uint8"
393
- }
394
- ],
395
- "stateMutability": "view",
396
- "type": "function"
397
- },
398
- {
399
- "inputs": [],
400
- "name": "getMasterInstance",
401
- "outputs": [
402
- {
403
- "internalType": "address",
404
- "name": "",
405
- "type": "address"
406
- }
407
- ],
408
- "stateMutability": "view",
409
- "type": "function"
410
- },
411
- {
412
- "inputs": [],
413
- "name": "getMasterInstanceAccessManager",
414
- "outputs": [
415
- {
416
- "internalType": "address",
417
- "name": "",
418
- "type": "address"
419
- }
420
- ],
421
- "stateMutability": "view",
422
- "type": "function"
423
- },
424
- {
425
- "inputs": [],
426
- "name": "getMasterInstanceBundleManager",
427
- "outputs": [
428
- {
429
- "internalType": "address",
430
- "name": "",
431
- "type": "address"
432
- }
433
- ],
434
- "stateMutability": "view",
435
- "type": "function"
436
- },
437
- {
438
- "inputs": [],
439
- "name": "getMasterInstanceReader",
440
- "outputs": [
441
- {
442
- "internalType": "address",
443
- "name": "",
444
- "type": "address"
537
+ "type": "address"
445
538
  }
446
539
  ],
447
540
  "stateMutability": "view",
@@ -499,120 +592,107 @@
499
592
  "stateMutability": "pure",
500
593
  "type": "function"
501
594
  },
595
+ {
596
+ "inputs": [],
597
+ "name": "initializeERC165",
598
+ "outputs": [],
599
+ "stateMutability": "nonpayable",
600
+ "type": "function"
601
+ },
502
602
  {
503
603
  "inputs": [
504
604
  {
505
- "internalType": "uint256",
506
- "name": "idx",
507
- "type": "uint256"
508
- }
509
- ],
510
- "name": "getVersion",
511
- "outputs": [
605
+ "internalType": "address",
606
+ "name": "initialOwner",
607
+ "type": "address"
608
+ },
512
609
  {
513
- "internalType": "Version",
514
- "name": "",
515
- "type": "uint24"
610
+ "internalType": "address",
611
+ "name": "registryAddress",
612
+ "type": "address"
516
613
  }
517
614
  ],
518
- "stateMutability": "view",
615
+ "name": "initializeNftOwnable",
616
+ "outputs": [],
617
+ "stateMutability": "nonpayable",
519
618
  "type": "function"
520
619
  },
521
620
  {
522
- "inputs": [],
523
- "name": "getVersionCount",
524
- "outputs": [
621
+ "inputs": [
525
622
  {
526
- "internalType": "uint256",
527
- "name": "",
528
- "type": "uint256"
623
+ "internalType": "address",
624
+ "name": "registryAddress",
625
+ "type": "address"
626
+ },
627
+ {
628
+ "internalType": "NftId",
629
+ "name": "parentNftId",
630
+ "type": "uint96"
631
+ },
632
+ {
633
+ "internalType": "ObjectType",
634
+ "name": "objectType",
635
+ "type": "uint8"
636
+ },
637
+ {
638
+ "internalType": "bool",
639
+ "name": "isInterceptor",
640
+ "type": "bool"
641
+ },
642
+ {
643
+ "internalType": "address",
644
+ "name": "initialOwner",
645
+ "type": "address"
646
+ },
647
+ {
648
+ "internalType": "bytes",
649
+ "name": "registryData",
650
+ "type": "bytes"
529
651
  }
530
652
  ],
531
- "stateMutability": "view",
653
+ "name": "initializeRegisterable",
654
+ "outputs": [],
655
+ "stateMutability": "nonpayable",
532
656
  "type": "function"
533
657
  },
534
658
  {
535
659
  "inputs": [
536
660
  {
537
- "internalType": "Version",
538
- "name": "_version",
539
- "type": "uint24"
540
- }
541
- ],
542
- "name": "getVersionInfo",
543
- "outputs": [
544
- {
545
- "components": [
546
- {
547
- "internalType": "Version",
548
- "name": "version",
549
- "type": "uint24"
550
- },
551
- {
552
- "internalType": "address",
553
- "name": "implementation",
554
- "type": "address"
555
- },
556
- {
557
- "internalType": "address",
558
- "name": "activatedBy",
559
- "type": "address"
560
- },
561
- {
562
- "internalType": "Timestamp",
563
- "name": "activatedAt",
564
- "type": "uint40"
565
- },
566
- {
567
- "internalType": "Blocknumber",
568
- "name": "activatedIn",
569
- "type": "uint32"
570
- }
571
- ],
572
- "internalType": "struct IVersionable.VersionInfo",
573
- "name": "",
574
- "type": "tuple"
661
+ "internalType": "address",
662
+ "name": "registryAddress",
663
+ "type": "address"
575
664
  }
576
665
  ],
577
- "stateMutability": "view",
666
+ "name": "initializeRegistryLinked",
667
+ "outputs": [],
668
+ "stateMutability": "nonpayable",
578
669
  "type": "function"
579
670
  },
580
671
  {
581
672
  "inputs": [
582
673
  {
583
674
  "internalType": "address",
584
- "name": "account",
675
+ "name": "registry",
585
676
  "type": "address"
586
677
  },
587
678
  {
588
- "internalType": "RoleId",
589
- "name": "role",
590
- "type": "uint64"
679
+ "internalType": "address",
680
+ "name": "authority",
681
+ "type": "address"
591
682
  },
592
683
  {
593
684
  "internalType": "address",
594
- "name": "instanceAddress",
685
+ "name": "initialOwner",
595
686
  "type": "address"
596
687
  }
597
688
  ],
598
- "name": "hasRole",
599
- "outputs": [
600
- {
601
- "internalType": "bool",
602
- "name": "",
603
- "type": "bool"
604
- }
605
- ],
606
- "stateMutability": "view",
689
+ "name": "initializeService",
690
+ "outputs": [],
691
+ "stateMutability": "nonpayable",
607
692
  "type": "function"
608
693
  },
609
694
  {
610
695
  "inputs": [
611
- {
612
- "internalType": "address",
613
- "name": "implementation",
614
- "type": "address"
615
- },
616
696
  {
617
697
  "internalType": "address",
618
698
  "name": "activatedBy",
@@ -624,28 +704,41 @@
624
704
  "type": "bytes"
625
705
  }
626
706
  ],
627
- "name": "initialize",
707
+ "name": "initializeVersionable",
628
708
  "outputs": [],
629
709
  "stateMutability": "nonpayable",
630
710
  "type": "function"
631
711
  },
712
+ {
713
+ "inputs": [],
714
+ "name": "isConsumingScheduledOp",
715
+ "outputs": [
716
+ {
717
+ "internalType": "bytes4",
718
+ "name": "",
719
+ "type": "bytes4"
720
+ }
721
+ ],
722
+ "stateMutability": "view",
723
+ "type": "function"
724
+ },
632
725
  {
633
726
  "inputs": [
634
727
  {
635
- "internalType": "Version",
636
- "name": "_version",
637
- "type": "uint24"
728
+ "internalType": "address",
729
+ "name": "nftOwnableAddress",
730
+ "type": "address"
638
731
  }
639
732
  ],
640
- "name": "isInitialized",
733
+ "name": "linkToNftOwnable",
641
734
  "outputs": [
642
735
  {
643
- "internalType": "bool",
736
+ "internalType": "NftId",
644
737
  "name": "",
645
- "type": "bool"
738
+ "type": "uint96"
646
739
  }
647
740
  ],
648
- "stateMutability": "view",
741
+ "stateMutability": "nonpayable",
649
742
  "type": "function"
650
743
  },
651
744
  {
@@ -658,28 +751,32 @@
658
751
  {
659
752
  "inputs": [
660
753
  {
661
- "internalType": "address",
662
- "name": "accessManagerAddress",
663
- "type": "address"
664
- },
754
+ "internalType": "bytes4",
755
+ "name": "interfaceId",
756
+ "type": "bytes4"
757
+ }
758
+ ],
759
+ "name": "registerInterface",
760
+ "outputs": [],
761
+ "stateMutability": "nonpayable",
762
+ "type": "function"
763
+ },
764
+ {
765
+ "inputs": [
665
766
  {
666
767
  "internalType": "address",
667
768
  "name": "instanceAddress",
668
769
  "type": "address"
669
- },
670
- {
671
- "internalType": "address",
672
- "name": "instanceReaderAddress",
673
- "type": "address"
674
- },
770
+ }
771
+ ],
772
+ "name": "setAndRegisterMasterInstance",
773
+ "outputs": [
675
774
  {
676
- "internalType": "address",
677
- "name": "bundleManagerAddress",
678
- "type": "address"
775
+ "internalType": "NftId",
776
+ "name": "masterInstanceNftId",
777
+ "type": "uint96"
679
778
  }
680
779
  ],
681
- "name": "setMasterInstance",
682
- "outputs": [],
683
780
  "stateMutability": "nonpayable",
684
781
  "type": "function"
685
782
  },
@@ -687,29 +784,37 @@
687
784
  "inputs": [
688
785
  {
689
786
  "internalType": "address",
690
- "name": "instanceReaderAddress",
787
+ "name": "newAuthority",
691
788
  "type": "address"
692
789
  }
693
790
  ],
694
- "name": "setMasterInstanceReader",
791
+ "name": "setAuthority",
695
792
  "outputs": [],
696
793
  "stateMutability": "nonpayable",
697
794
  "type": "function"
698
795
  },
699
796
  {
700
797
  "inputs": [
701
- {
702
- "internalType": "string",
703
- "name": "targetName",
704
- "type": "string"
705
- },
706
798
  {
707
799
  "internalType": "bool",
708
800
  "name": "locked",
709
801
  "type": "bool"
710
802
  }
711
803
  ],
712
- "name": "setTargetLocked",
804
+ "name": "setComponentLocked",
805
+ "outputs": [],
806
+ "stateMutability": "nonpayable",
807
+ "type": "function"
808
+ },
809
+ {
810
+ "inputs": [
811
+ {
812
+ "internalType": "address",
813
+ "name": "instanceReaderAddress",
814
+ "type": "address"
815
+ }
816
+ ],
817
+ "name": "setMasterInstanceReader",
713
818
  "outputs": [],
714
819
  "stateMutability": "nonpayable",
715
820
  "type": "function"
@@ -736,22 +841,12 @@
736
841
  {
737
842
  "inputs": [
738
843
  {
739
- "internalType": "address",
740
- "name": "implementation",
741
- "type": "address"
742
- },
743
- {
744
- "internalType": "address",
745
- "name": "activatedBy",
746
- "type": "address"
747
- },
748
- {
749
- "internalType": "bytes",
750
- "name": "data",
751
- "type": "bytes"
844
+ "internalType": "NftId",
845
+ "name": "instanceNftId",
846
+ "type": "uint96"
752
847
  }
753
848
  ],
754
- "name": "upgrade",
849
+ "name": "upgradeInstanceReader",
755
850
  "outputs": [],
756
851
  "stateMutability": "nonpayable",
757
852
  "type": "function"
@@ -759,203 +854,143 @@
759
854
  {
760
855
  "inputs": [
761
856
  {
762
- "internalType": "NftId",
763
- "name": "instanceNftId",
764
- "type": "uint96"
857
+ "internalType": "bytes",
858
+ "name": "data",
859
+ "type": "bytes"
765
860
  }
766
861
  ],
767
- "name": "upgradeInstanceReader",
862
+ "name": "upgradeVersionable",
768
863
  "outputs": [],
769
864
  "stateMutability": "nonpayable",
770
865
  "type": "function"
771
866
  }
772
867
  ],
773
- "bytecode": "0x60806040523480156200001157600080fd5b50620000546301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b600280546001600160a01b031916331790556200007062000076565b6200012a565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00805468010000000000000000900460ff1615620000c75760405163f92ee8a960e01b815260040160405180910390fd5b80546001600160401b0390811614620001275780546001600160401b0319166001600160401b0390811782556040519081527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50565b614e90806200013a6000396000f3fe608060405234801561001057600080fd5b50600436106101da5760003560e01c8063893d20e811610104578063c22f980d116100a2578063eb59c6b111610071578063eb59c6b114610577578063edabac0314610588578063eeff428e14610599578063feec1190146105e457600080fd5b8063c22f980d14610538578063cde749f41461054b578063cf7a1d7714610553578063e338e27b1461056657600080fd5b8063a745e3df116100de578063a745e3df146104dd578063b3c65015146104f0578063b68d180914610510578063b88da7591461052557600080fd5b8063893d20e814610473578063946dfcfe1461047b578063a3f4df7e146104a257600080fd5b80633bd516ef1161017c57806363709eaf1161014b57806363709eaf1461041a578063644c45e01461042d57806386ebbf4214610458578063872309c71461046b57600080fd5b80633bd516ef146102ca5780634d459c90146102dd5780634f421333146103f65780635ab1bd531461040957600080fd5b8063103bd5da116101b8578063103bd5da14610253578063138461e0146102665780631eff4b22146102705780632b440bc9146102a557600080fd5b806301ffc9a7146101df5780630d8e6e2c146102215780630fec111c1461023d575b600080fd5b61020c6101ed366004614350565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b6102296105f7565b60405162ffffff9091168152602001610218565b610245610681565b6040516102189291906143d1565b61020c6102613660046144a2565b610803565b61026e6108e9565b005b6102977f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b604051908152602001610218565b6003546001600160a01b03165b6040516001600160a01b039091168152602001610218565b61026e6102d83660046144ed565b610b0b565b6103996102eb36600461455a565b6040805160a081018252600080825260208201819052918101829052606081018290526080810191909152600080516020614e3b83398151915262ffffff92831660009081526020918252604090819020815160a0810183528154958616815263010000009095046001600160a01b03908116938601939093526001015491821690840152600160a01b810464ffffffffff166060840152600160c81b900463ffffffff1660808301525090565b60408051825162ffffff1681526020808401516001600160a01b039081169183019190915283830151169181019190915260608083015164ffffffffff169082015260809182015163ffffffff169181019190915260a001610218565b61020c61040436600461455a565b611120565b6001546001600160a01b03166102b2565b61026e610428366004614678565b6111d3565b600154600160a01b90046001600160601b03166040516001600160601b039091168152602001610218565b61026e6104663660046146de565b611461565b610297600081565b6102b2611637565b7f4f61291a8ac3d020d0a7d919a76b8592aa88385744dee3f8b4f3873b969ed90154610297565b6104d06040518060400160405280600f81526020016e496e7374616e63655365727669636560881b81525081565b604051610218919061473f565b61026e6104eb366004614752565b611750565b6104f86118aa565b6040516001600160401b039091168152602001610218565b60465b60405160ff9091168152602001610218565b6102296105333660046147bd565b6118cb565b61026e6105463660046147d6565b61191c565b610513611b26565b61026e610561366004614752565b611ba9565b6004546001600160a01b03166102b2565b6006546001600160a01b03166102b2565b6005546001600160a01b03166102b2565b6105a1611cb2565b604080516001600160a01b03968716815294861660208601526001600160601b03909316928401929092528316606083015291909116608082015260a001610218565b61026e6105f23660046147f3565b612264565b604051632efe011360e01b815260036004820152600060248201819052604482018190529073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af4158015610658573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061067c9190614810565b905090565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820181905290917f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e001604052806107046001546001600160601b03600160a01b9091041690565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a00161074c611637565b6001600160a01b031681526020018260010180546107699061482d565b80601f01602080910402602001604051908101604052809291908181526020018280546107959061482d565b80156107e25780601f106107b7576101008083540402835291602001916107e2565b820191906000526020600020905b8154815290600101906020018083116107c557829003601f168201915b50505050508152506040518060200160405280600081525092509250509091565b6000808290506000816001600160a01b031663e5f6cd276040518163ffffffff1660e01b8152600401602060405180830381865afa158015610849573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061086d9190614867565b6040516368fc2b7760e11b81529091506001600160a01b0382169063d1f856ee9061089e9088908a90600401614884565b602060405180830381865afa1580156108bb573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108df91906148b1565b9695505050505050565b6001546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015273__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af415801561094b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061096f91906148b1565b156109b6576001546040516316322c0f60e31b81526109ad916001600160a01b03811691600160a01b9091046001600160601b0316906004016148ce565b60405180910390fd5b6001546001600160a01b03166109df5760405163cf29926160e01b815260040160405180910390fd5b60015460405163c3c5a54760e01b81523060048201819052916001600160a01b03169063c3c5a54790602401602060405180830381865afa158015610a28573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a4c91906148b1565b610a74576040516372657a5160e01b81526001600160a01b03821660048201526024016109ad565b600154604051636939560f60e11b81526001600160a01b0383811660048301529091169063d272ac1e90602401602060405180830381865afa158015610abe573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ae291906148fb565b600160146101000a8154816001600160601b0302191690836001600160601b0316021790555050565b610b13611637565b6001600160a01b0316336001600160a01b031614610b465760405163700dd81160e01b81523360048201526024016109ad565b6003546001600160a01b031615610bb75760405162461bcd60e51b815260206004820152602f60248201527f4552524f523a4352442d3030313a4143434553535f4d414e414745525f4d415360448201526e15115497d053149150511657d4d155608a1b60648201526084016109ad565b6004546001600160a01b031615610c225760405162461bcd60e51b815260206004820152602960248201527f4552524f523a4352442d3030323a494e5354414e43455f4d41535445525f414c604482015268149150511657d4d15560ba1b60648201526084016109ad565b6006546001600160a01b031615610c935760405162461bcd60e51b815260206004820152602f60248201527f4552524f523a4352442d3030343a42554e444c455f4d414e414745525f4d415360448201526e15115497d053149150511657d4d155608a1b60648201526084016109ad565b6001600160a01b038416610cf35760405162461bcd60e51b815260206004820152602160248201527f4552524f523a4352442d3030353a4143434553535f4d414e414745525f5a45526044820152604f60f81b60648201526084016109ad565b6001600160a01b038316610d495760405162461bcd60e51b815260206004820152601b60248201527f4552524f523a4352442d3030363a494e5354414e43455f5a45524f000000000060448201526064016109ad565b6001600160a01b038216610daa5760405162461bcd60e51b815260206004820152602260248201527f4552524f523a4352442d3030373a494e5354414e43455f5245414445525f5a45604482015261524f60f01b60648201526084016109ad565b6001600160a01b038116610e0a5760405162461bcd60e51b815260206004820152602160248201527f4552524f523a4352442d3030383a42554e444c455f4d414e414745525f5a45526044820152604f60f81b60648201526084016109ad565b600083905060008390506000839050866001600160a01b0316836001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610e61573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e859190614867565b6001600160a01b031614610eed5760405162461bcd60e51b815260206004820152602960248201527f4552524f523a4352442d3030393a494e5354414e43455f415554484f524954596044820152680be9a92a69a82a886960bb1b60648201526084016109ad565b610fc5826001600160a01b0316637e7986696040518163ffffffff1660e01b8152600401602060405180830381865afa158015610f2e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f5291906148fb565b846001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa158015610f90573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fb491906148fb565b6001600160601b0390811691161490565b6110295760405162461bcd60e51b815260206004820152602f60248201527f4552524f523a4352442d3031303a494e5354414e43455f5245414445525f494e60448201526e0a6a8829c868abe9a92a69a82a8869608b1b60648201526084016109ad565b61106a816001600160a01b0316637e7986696040518163ffffffff1660e01b8152600401602060405180830381865afa158015610f2e573d6000803e3d6000fd5b6110cd5760405162461bcd60e51b815260206004820152602e60248201527f4552524f523a4352442d3031313a42554e444c455f4d414e414745525f494e5360448201526d0a8829c868abe9a92a69a82a886960931b60648201526084016109ad565b5050600380546001600160a01b039687166001600160a01b031991821617909155600480549587169582169590951790945550600580549285169284169290921790915560068054919093169116179055565b600080600080516020614e3b83398151915262ffffff84166000908152602091909152604090819020600101549051631bbffab160e21b8152600160c81b90910463ffffffff16600482015273__$5f476116ae21c5294e0c0761c07efa7e1c$__90636effeac490602401602060405180830381865af41580156111a8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111cc9190614923565b1192915050565b3360006111e86001546001600160a01b031690565b6040516308b09a5f60e41b81526001600160a01b038481166004830152919250600091831690638b09a5f090602401600060405180830381865afa158015611234573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261125c9190810190614a50565b8051604051630a4d29dd60e31b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906352694ee890602401602060405180830381865af41580156112ba573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112de91906148b1565b156113075760405163aef351c360e01b81526001600160a01b03841660048201526024016109ad565b60208101516040516305247a1760e51b81526001600160601b0390911660048201526000906001600160a01b0384169063a48f42e090602401600060405180830381865afa15801561135d573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526113859190810190614a50565b60800151905060008190506000816001600160a01b031663e5f6cd276040518163ffffffff1660e01b8152600401602060405180830381865afa1580156113d0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113f49190614867565b604051634222cc2360e01b81529091506001600160a01b03821690634222cc2390611425908b908b90600401614a84565b600060405180830381600087803b15801561143f57600080fd5b505af1158015611453573d6000803e3d6000fd5b505050505050505050505050565b336114746001546001600160a01b031690565b604051632b91e0a960e01b81526001600160a01b0383811660048301529190911690632b91e0a990602401602060405180830381865afa1580156114bc573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114e091906148b1565b611508576040516302613e9f60e51b81526001600160a01b03821660048201526024016109ad565b600061151c6001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03871660048201529091506000906001600160a01b0383169063a48f42e090602401600060405180830381865afa15801561156f573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526115979190810190614a50565b90506000816080015190506000816001600160a01b031663e5f6cd276040518163ffffffff1660e01b8152600401602060405180830381865afa1580156115e2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116069190614867565b6040516317ea2ab560e21b81529091506001600160a01b03821690635fa8aad490611425908a908a90600401614aa8565b6001546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015260009073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af415801561169c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116c091906148b1565b1561174057600154604051631c5da14d60e11b8152600160a01b82046001600160601b031660048201526001600160a01b03909116906338bb429a90602401602060405180830381865afa15801561171c573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061067c9190614867565b506002546001600160a01b031690565b73__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__63a123b37c6117726105f7565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af41580156117b2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117d69190614acc565b600080516020614e1b8339815191528054600160401b900460ff1680611809575080546001600160401b03808416911610155b156118275760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b178155611852858561251c565b61185b836127bb565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a15050505050565b600061067c600080516020614e1b833981519152546001600160401b031690565b6000600080516020614e3b83398151915260010182815481106118f0576118f0614ae9565b90600052602060002090600a91828204019190066003029054906101000a900462ffffff169050919050565b60006119306001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03841660048201529091506000906001600160a01b0383169063a48f42e090602401600060405180830381865afa158015611983573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526119ab9190810190614a50565b90506000816080015190506000816001600160a01b031663893d20e86040518163ffffffff1660e01b8152600401602060405180830381865afa1580156119f6573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a1a9190614867565b9050336001600160a01b03821614611a47576040516302613e9f60e51b81523360048201526024016109ad565b600554600090611a5f906001600160a01b03166127c3565b604051633ca904dd60e21b81529091506001600160a01b0382169063f2a4137490611a909088908a906004016148ce565b600060405180830381600087803b158015611aaa57600080fd5b505af1158015611abe573d6000803e3d6000fd5b5050604051633def10c760e21b81526001600160a01b0384811660048301528616925063f7bc431c91506024015b600060405180830381600087803b158015611b0657600080fd5b505af1158015611b1a573d6000803e3d6000fd5b50505050505050505050565b6000611b306105f7565b60405163c9e66e2960e01b815262ffffff909116600482015273__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__9063c9e66e2990602401602060405180830381865af4158015611b85573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061067c9190614aff565b600080516020614e1b8339815191528054600160401b810460ff1615906001600160401b0316600081158015611bdc5750825b90506000826001600160401b03166001148015611bf85750303b155b905081158015611c06575080155b15611c245760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315611c4e57845460ff60401b1916600160401b1785555b611c58888861251c565b611c628787612835565b8315611ca857845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b5050505050505050565b6000808080803381611ccc6001546001600160a01b031690565b604051636939560f60e11b81526001600160a01b03821660048201819052919250829160009163d272ac1e90602401602060405180830381865afa158015611d18573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611d3c91906148fb565b905060006001600160a01b03841663d39e60436028611d59611b26565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa158015611d9e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611dc29190614867565b6003549091508190611ddc906001600160a01b03166127c3565b604051637bee8e7d60e11b8152306004820152909b506001600160a01b038c169063f7dd1cfa90602401600060405180830381600087803b158015611e2057600080fd5b505af1158015611e34573d6000803e3d6000fd5b5050600454611e4e92506001600160a01b031690506127c3565b60405163976b0a7760e01b81526001600160a01b038d8116600483015286811660248301526001600160601b0386166044830152336064830152919b50908b169063976b0a7790608401600060405180830381600087803b158015611eb257600080fd5b505af1158015611ec6573d6000803e3d6000fd5b505060405163834af15360e01b81526001600160a01b038d81166004830152600093508416915063834af153906024016000604051808303816000875af1158015611f15573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611f3d9190810190614b1c565b508051600554909b50909150611f5b906001600160a01b03166127c3565b604051633ca904dd60e21b81529099506001600160a01b038a169063f2a4137490611f8c9088908e906004016148ce565b600060405180830381600087803b158015611fa657600080fd5b505af1158015611fba573d6000803e3d6000fd5b5050604051633def10c760e21b81526001600160a01b038c811660048301528e16925063f7bc431c9150602401600060405180830381600087803b15801561200157600080fd5b505af1158015612015573d6000803e3d6000fd5b505060065461202f92506001600160a01b031690506127c3565b604051630c861c2560e41b81526001600160a01b038e8116600483015287811660248301526001600160601b038d1660448301529199509089169063c861c25090606401600060405180830381600087803b15801561208d57600080fd5b505af11580156120a1573d6000803e3d6000fd5b505060405162422c9d60e81b81526001600160a01b038b811660048301528e16925063422c9d009150602401600060405180830381600087803b1580156120e757600080fd5b505af11580156120fb573d6000803e3d6000fd5b5050505061210a8c8c8a612960565b8b6001600160a01b031663b428b0b06121216129b6565b896040518363ffffffff1660e01b815260040161213f929190614884565b6020604051808303816000875af115801561215e573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061218291906148b1565b508b6001600160a01b031663b7d2b16261219a6129b6565b306040518363ffffffff1660e01b81526004016121b8929190614884565b6020604051808303816000875af11580156121d7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906121fb91906148b1565b50604080516001600160a01b038e811682528d811660208301528b16818301526001600160601b038c16606082015290517f89f53d1fc9d655ac6863fb19d55f6cc8a7649a51ec36a0d13ec77d2bd2e970f39181900360800190a1505050505050509091929394565b61226c611637565b6001600160a01b0316336001600160a01b03161461229f5760405163700dd81160e01b81523360048201526024016109ad565b6005546001600160a01b031661230c5760405162461bcd60e51b815260206004820152602c60248201527f4552524f523a4352442d3030333a494e5354414e43455f5245414445525f4d4160448201526b14d5115497d393d517d4d15560a21b60648201526084016109ad565b6001600160a01b03811661236d5760405162461bcd60e51b815260206004820152602260248201527f4552524f523a4352442d3031323a494e5354414e43455f5245414445525f5a45604482015261524f60f01b60648201526084016109ad565b6005546001600160a01b03908116908216036123e45760405162461bcd60e51b815260206004820152603060248201527f4552524f523a4352442d3031343a494e5354414e43455f5245414445525f4d4160448201526f535445525f53414d455f41535f4e455760801b60648201526084016109ad565b6000819050612495816001600160a01b0316637e7986696040518163ffffffff1660e01b8152600401602060405180830381865afa15801561242a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061244e91906148fb565b6004805460408051630322622f60e51b815290516001600160a01b039092169263644c45e09282820192602092908290030181865afa158015610f90573d6000803e3d6000fd5b6124f95760405162461bcd60e51b815260206004820152602f60248201527f4552524f523a4352442d3031353a494e5354414e43455f5245414445525f494e60448201526e0a6a8829c868abe9a92a69a82a8869608b1b60648201526084016109ad565b50600580546001600160a01b0319166001600160a01b0392909216919091179055565b612524612a2e565b600080516020614e3b8339815191526000612554600080516020614e1b833981519152546001600160401b031690565b905060006125606105f7565b9050816001600160401b031660010361258d5760028301805462ffffff191662ffffff83161790556125db565b600283015462ffffff908116908216116125db5760405162461bcd60e51b815260206004820152600f60248201526e24a72b20a624a2102b22a929a4a7a760891b60448201526064016109ad565b6001808401805491820181556000908152602090819020600a808404909101805462ffffff808716600394909606939093026101000a858102930219169190911790556040805160a0810182529283526001600160a01b038089168484015287168382015280516356db0c1960e11b81529051606084019273__$d53880c81dc91c20799140d711e5ab8718$__9263adb6183292600480830193928290030181865af415801561268f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906126b39190614b7f565b64ffffffffff1681526020014363ffffffff90811690915262ffffff8084166000908152602087815260409182902085518154928701516001600160a01b039081166301000000026001600160b81b0319909416919095161791909117815584820151600190910180546060870151608090970151909516600160c81b0263ffffffff60c81b1964ffffffffff909716600160a01b026001600160c81b031990961692909416919091179390931793909316179055517fad0a0fc10465a8dd9da3ad5f43e1a7fff4b4578551c76f0ae8deb844f0d0bf689061189b9083908890889062ffffff9390931683526001600160a01b03918216602084015216604082015260600190565b6101da612a2e565b6000763d602d80600a3d3981f3363d3d373d3d3d363d730000008260601b60e81c176000526e5af43d82803e903d91602b57fd5bf38260781b17602052603760096000f090506001600160a01b038116612830576040516330be1a3d60e21b815260040160405180910390fd5b919050565b600080516020614e1b8339815191528054600160401b810460ff1615906001600160401b03166000811580156128685750825b90506000826001600160401b031660011480156128845750303b155b905081158015612892575080155b156128b05760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff1916600117855583156128da57845460ff60401b1916600160401b1785555b600080878060200190518101906128f19190614ba6565b925090506128ff818a612a67565b61290f639db409fb60e01b612ad2565b5050831561295757845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50505050505050565b61296983612af7565b61297483838361304e565b61297e8383613106565b6129888383613315565b6129928383613508565b61299c8383613755565b6129a7838383613934565b6129b18383613ca6565b505050565b6040516368aebf7b60e01b81526000600482018190529073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b906024015b602060405180830381865af4158015612a0a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061067c9190614acc565b600080516020614e1b83398151915254600160401b900460ff16612a6557604051631afcd79f60e31b815260040160405180910390fd5b565b60006046612a73611b26565b6040805160ff9384166020820152929091169082015260600160405160208183030381529060405290506000612aa884613e16565b90506000612abb8583603c848888613e87565b612acb637b6a51fd60e01b612ad2565b5050505050565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b806001600160a01b0316635d66f90a612b0e613f53565b604080516001600160e01b031960e085901b1681526001600160401b03909216600483015260248201526015604482015274446973747269627574696f6e4f776e6572526f6c6560581b6064820152608401600060405180830381600087803b158015612b7a57600080fd5b505af1158015612b8e573d6000803e3d6000fd5b50505050806001600160a01b0316635d66f90a612ba9613f8e565b604080516001600160e01b031960e085901b1681526001600160401b0390921660048301526024820152600d60448201526c506f6f6c4f776e6572526f6c6560981b6064820152608401600060405180830381600087803b158015612c0d57600080fd5b505af1158015612c21573d6000803e3d6000fd5b50505050806001600160a01b0316635d66f90a612c3c613fca565b604080516001600160e01b031960e085901b1681526001600160401b0390921660048301526024820152601060448201526f50726f647563744f776e6572526f6c6560801b6064820152608401600060405180830381600087803b158015612ca357600080fd5b505af1158015612cb7573d6000803e3d6000fd5b50505050806001600160a01b0316635d66f90a612cd2614006565b604080516001600160e01b031960e085901b1681526001600160401b0390921660048301526024820152601760448201527f446973747269627574696f6e53657276696365526f6c650000000000000000006064820152608401600060405180830381600087803b158015612d4657600080fd5b505af1158015612d5a573d6000803e3d6000fd5b50505050806001600160a01b0316635d66f90a612d75614042565b604080516001600160e01b031960e085901b1681526001600160401b0390921660048301526024820152600f60448201526e506f6f6c53657276696365526f6c6560881b6064820152608401600060405180830381600087803b158015612ddb57600080fd5b505af1158015612def573d6000803e3d6000fd5b50505050806001600160a01b0316635d66f90a612e0a61407e565b604080516001600160e01b031960e085901b1681526001600160401b0390921660048301526024820152601260448201527150726f6475637453657276696365526f6c6560701b6064820152608401600060405180830381600087803b158015612e7357600080fd5b505af1158015612e87573d6000803e3d6000fd5b50505050806001600160a01b0316635d66f90a612ea26140ba565b604080516001600160e01b031960e085901b1681526001600160401b03909216600483015260248201526011604482015270506f6c69637953657276696365526f6c6560781b6064820152608401600060405180830381600087803b158015612f0a57600080fd5b505af1158015612f1e573d6000803e3d6000fd5b50505050806001600160a01b0316635d66f90a612f396140f6565b604080516001600160e01b031960e085901b1681526001600160401b0390921660048301526024820152601160448201527042756e646c6553657276696365526f6c6560781b6064820152608401600060405180830381600087803b158015612fa157600080fd5b505af1158015612fb5573d6000803e3d6000fd5b50505050806001600160a01b0316635d66f90a612fd0614132565b604080516001600160e01b031960e085901b1681526001600160401b03909216600483015260248201526013604482015272496e7374616e636553657276696365526f6c6560681b6064820152608401600060405180830381600087803b15801561303a57600080fd5b505af1158015612acb573d6000803e3d6000fd5b60405163044ec4c360e41b81526001600160a01b038416906344ec4c309061307a908590600401614bd5565b600060405180830381600087803b15801561309457600080fd5b505af11580156130a8573d6000803e3d6000fd5b505060405163044ec4c360e41b81526001600160a01b03861692506344ec4c3091506130d8908490600401614c0c565b600060405180830381600087803b1580156130f257600080fd5b505af1158015612957573d6000803e3d6000fd5b600061311a6001546001600160a01b031690565b905060006001600160a01b03821663d39e60436078613137611b26565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa15801561317c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906131a09190614867565b9050836001600160a01b031663b428b0b06131b9614006565b836040518363ffffffff1660e01b81526004016131d7929190614884565b6020604051808303816000875af11580156131f6573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061321a91906148b1565b50604080516002808252606082018352600092602083019080368337019050509050630b24cf5f60e01b8160008151811061325757613257614ae9565b6001600160e01b031990921660209283029190910190910152805163bd5947e360e01b908290600190811061328e5761328e614ae9565b6001600160e01b0319909216602092830291909101909101526001600160a01b0385166329db8c3d826132bf614006565b6040518363ffffffff1660e01b81526004016132dc929190614c8d565b600060405180830381600087803b1580156132f657600080fd5b505af115801561330a573d6000803e3d6000fd5b505050505050505050565b6001546000906001600160a01b031663d39e6043608c613333611b26565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa158015613378573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061339c9190614867565b9050826001600160a01b031663b428b0b06133b5614042565b836040518363ffffffff1660e01b81526004016133d3929190614884565b6020604051808303816000875af11580156133f2573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061341691906148b1565b5060408051600480825260a082019092526000916020820160808036833701905050905063e7cd37d460e01b8160008151811061345557613455614ae9565b6001600160e01b0319909216602092830291909101909101528051633055195560e11b908290600190811061348c5761348c614ae9565b6001600160e01b0319909216602092830291909101909101526001600160a01b0384166329db8c3d826134bd614042565b6040518363ffffffff1660e01b81526004016134da929190614c8d565b600060405180830381600087803b1580156134f457600080fd5b505af1158015611ca8573d6000803e3d6000fd5b6001546000906001600160a01b031663d39e6043606e613526611b26565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa15801561356b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061358f9190614867565b9050826001600160a01b031663b428b0b06135a861407e565b836040518363ffffffff1660e01b81526004016135c6929190614884565b6020604051808303816000875af11580156135e5573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061360991906148b1565b5060408051600580825260c082019092526000916020820160a0803683370190505090506391ff6eaa60e01b8160008151811061364857613648614ae9565b6001600160e01b03199092166020928302919091019091015280516354e750a160e11b908290600190811061367f5761367f614ae9565b6001600160e01b03199092166020928302919091019091015280516317b0844560e11b90829060029081106136b6576136b6614ae9565b6001600160e01b03199092166020928302919091019091015280516314eddc0360e31b90829060039081106136ed576136ed614ae9565b6001600160e01b0319909216602092830291909101909101528051633e77a42160e11b908290600490811061372457613724614ae9565b6001600160e01b0319909216602092830291909101909101526001600160a01b0384166329db8c3d826134bd61407e565b6001546000906001600160a01b031663d39e604360d2613773611b26565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa1580156137b8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906137dc9190614867565b9050826001600160a01b031663b428b0b06137f56140ba565b836040518363ffffffff1660e01b8152600401613813929190614884565b6020604051808303816000875af1158015613832573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061385691906148b1565b50604080516003808252608082019092526000916020820160608036833701905050905063bc8d400060e01b8160008151811061389557613895614ae9565b6001600160e01b0319909216602092830291909101909101528051634d4b06a960e11b90829060019081106138cc576138cc614ae9565b6001600160e01b0319909216602092830291909101909101528051631750d17360e21b908290600290811061390357613903614ae9565b6001600160e01b0319909216602092830291909101909101526001600160a01b0384166329db8c3d826134bd6140ba565b6001546000906001600160a01b031663d39e604360dc613952611b26565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa158015613997573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906139bb9190614867565b9050836001600160a01b031663b428b0b06139d46140f6565b836040518363ffffffff1660e01b81526004016139f2929190614884565b6020604051808303816000875af1158015613a11573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613a3591906148b1565b50604080516002808252606082018352600092602083019080368337019050509050636071a68e60e01b81600081518110613a7257613a72614ae9565b6001600160e01b03199092166020928302919091019091015280516307f8b57360e31b9082906001908110613aa957613aa9614ae9565b6001600160e01b0319909216602092830291909101909101526001600160a01b0385166329db8c3d82613ada6140f6565b6040518363ffffffff1660e01b8152600401613af7929190614c8d565b600060405180830381600087803b158015613b1157600080fd5b505af1158015613b25573d6000803e3d6000fd5b506000925060059150613b359050565b604051908082528060200260200182016040528015613b5e578160200160208202803683370190505b509050630cc7e61460e01b81600081518110613b7c57613b7c614ae9565b6001600160e01b0319909216602092830291909101909101528051631351fccf60e31b9082906001908110613bb357613bb3614ae9565b6001600160e01b03199092166020928302919091019091015280516346f0e8a760e11b9082906002908110613bea57613bea614ae9565b6001600160e01b031990921660209283029190910190910152805163b5346af560e01b9082906003908110613c2157613c21614ae9565b6001600160e01b03199092166020928302919091019091015280516306fa456560e01b9082906004908110613c5857613c58614ae9565b6001600160e01b0319909216602092830291909101909101526001600160a01b0386166329db8c3d82613c896140f6565b6040518363ffffffff1660e01b8152600401611aec929190614ce0565b6001546000906001600160a01b031663d39e60436046613cc4611b26565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa158015613d09573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613d2d9190614867565b9050826001600160a01b031663b428b0b0613d46614132565b836040518363ffffffff1660e01b8152600401613d64929190614884565b6020604051808303816000875af1158015613d83573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613da791906148b1565b506040805160018082528183019092526000916020808301908036833701905050905063f7bc431c60e01b81600081518110613de557613de5614ae9565b6001600160e01b0319909216602092830291909101909101526001600160a01b0384166329db8c3d826134bd614132565b604051636939560f60e11b81526001600160a01b0382166004820181905260009163d272ac1e90602401602060405180830381865afa158015613e5d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613e8191906148fb565b92915050565b613ec86301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b613ed2828761416e565b60007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166cffffffffffffffffffffffffff1990911617600160601b60ff8816021760ff60681b1916600160681b86151502178155905060018101613f428382614d5b565b506129576303fb044760e21b612ad2565b6040516368aebf7b60e01b81526064600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b906024016129ed565b6040516368aebf7b60e01b815261012c600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b906024016129ed565b6040516368aebf7b60e01b8152610190600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b906024016129ed565b6040516368aebf7b60e01b8152610834600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b906024016129ed565b6040516368aebf7b60e01b8152610898600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b906024016129ed565b6040516368aebf7b60e01b81526108fc600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b906024016129ed565b6040516368aebf7b60e01b8152610960600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b906024016129ed565b6040516368aebf7b60e01b81526109c4600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b906024016129ed565b6040516368aebf7b60e01b81526107d0600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b906024016129ed565b6001600160a01b0382166141c45760405162461bcd60e51b815260206004820152601e60248201527f4e66744f776e61626c653a20696e697469616c206f776e65722069732030000060448201526064016109ad565b600280546001600160a01b0319166001600160a01b0384161790556141e8816141ec565b5050565b6001546001600160a01b0316156142255760015460405163fcdbf2d960e01b81526001600160a01b0390911660048201526024016109ad565b6001600160a01b03811661424c5760405163f5c4d07d60e01b815260040160405180910390fd5b806001600160a01b03163b6000036142825760405163fdeac91f60e01b81526001600160a01b03821660048201526024016109ad565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b815263102da10360e01b60048201526301ffc9a790602401602060405180830381865afa9250505080156142fc575060408051601f3d908101601f191682019092526142f9918101906148b1565b60015b6143245760405163fdeac91f60e01b81526001600160a01b03821660048201526024016109ad565b806141e85760405163fdeac91f60e01b81526001600160a01b03831660048201526024016109ad565b50565b60006020828403121561436257600080fd5b81356001600160e01b03198116811461437a57600080fd5b9392505050565b60005b8381101561439c578181015183820152602001614384565b50506000910152565b600081518084526143bd816020860160208601614381565b601f01601f19169290920160200192915050565b6040815260006001600160601b038085511660408401528060208601511660608401525060ff6040850151166080830152606084015161441560a084018215159052565b5060808401516001600160a01b03811660c08401525060a08401516001600160a01b03811660e08401525060c084015160e061010084015261445b6101208401826143a5565b9050828103602084015261446f81856143a5565b95945050505050565b6001600160a01b038116811461434d57600080fd5b6001600160401b038116811461434d57600080fd5b6000806000606084860312156144b757600080fd5b83356144c281614478565b925060208401356144d28161448d565b915060408401356144e281614478565b809150509250925092565b6000806000806080858703121561450357600080fd5b843561450e81614478565b9350602085013561451e81614478565b9250604085013561452e81614478565b9150606085013561453e81614478565b939692955090935050565b62ffffff8116811461434d57600080fd5b60006020828403121561456c57600080fd5b813561437a81614549565b634e487b7160e01b600052604160045260246000fd5b60405160e081016001600160401b03811182821017156145af576145af614577565b60405290565b604051601f8201601f191681016001600160401b03811182821017156145dd576145dd614577565b604052919050565b60006001600160401b038211156145fe576145fe614577565b50601f01601f191660200190565b600061461f61461a846145e5565b6145b5565b905082815283838301111561463357600080fd5b828260208301376000602084830101529392505050565b600082601f83011261465b57600080fd5b61437a8383356020850161460c565b801515811461434d57600080fd5b6000806040838503121561468b57600080fd5b82356001600160401b038111156146a157600080fd5b6146ad8582860161464a565b92505060208301356146be8161466a565b809150509250929050565b6001600160601b038116811461434d57600080fd5b6000806000606084860312156146f357600080fd5b83356146fe816146c9565b9250602084013561470e81614478565b915060408401356001600160401b0381111561472957600080fd5b6147358682870161464a565b9150509250925092565b60208152600061437a60208301846143a5565b60008060006060848603121561476757600080fd5b833561477281614478565b9250602084013561478281614478565b915060408401356001600160401b0381111561479d57600080fd5b8401601f810186136147ae57600080fd5b6147358682356020840161460c565b6000602082840312156147cf57600080fd5b5035919050565b6000602082840312156147e857600080fd5b813561437a816146c9565b60006020828403121561480557600080fd5b813561437a81614478565b60006020828403121561482257600080fd5b815161437a81614549565b600181811c9082168061484157607f821691505b60208210810361486157634e487b7160e01b600052602260045260246000fd5b50919050565b60006020828403121561487957600080fd5b815161437a81614478565b6001600160401b039290921682526001600160a01b0316602082015260400190565b80516128308161466a565b6000602082840312156148c357600080fd5b815161437a8161466a565b6001600160a01b039290921682526001600160601b0316602082015260400190565b8051612830816146c9565b60006020828403121561490d57600080fd5b815161437a816146c9565b805161283081614478565b60006020828403121561493557600080fd5b5051919050565b60ff8116811461434d57600080fd5b80516128308161493c565b600082601f83011261496757600080fd5b815161497561461a826145e5565b81815284602083860101111561498a57600080fd5b61499b826020830160208701614381565b949350505050565b600060e082840312156149b557600080fd5b6149bd61458d565b90506149c8826148f0565b81526149d6602083016148f0565b60208201526149e76040830161494b565b60408201526149f8606083016148a6565b6060820152614a0960808301614918565b6080820152614a1a60a08301614918565b60a082015260c08201516001600160401b03811115614a3857600080fd5b614a4484828501614956565b60c08301525092915050565b600060208284031215614a6257600080fd5b81516001600160401b03811115614a7857600080fd5b61499b848285016149a3565b604081526000614a9760408301856143a5565b905082151560208301529392505050565b6001600160a01b038316815260406020820181905260009061499b908301846143a5565b600060208284031215614ade57600080fd5b815161437a8161448d565b634e487b7160e01b600052603260045260246000fd5b600060208284031215614b1157600080fd5b815161437a8161493c565b60008060408385031215614b2f57600080fd5b82516001600160401b0380821115614b4657600080fd5b614b52868387016149a3565b93506020850151915080821115614b6857600080fd5b50614b7585828601614956565b9150509250929050565b600060208284031215614b9157600080fd5b815164ffffffffff8116811461437a57600080fd5b60008060408385031215614bb957600080fd5b8251614bc481614478565b60208401519092506146be81614478565b6001600160a01b038216815260406020820181905260089082015267496e7374616e636560c01b606082015260006080820161437a565b6001600160a01b0382168152604060208201819052600d908201526c213ab7323632a6b0b730b3b2b960991b606082015260006080820161437a565b600081518084526020808501945080840160005b83811015614c825781516001600160e01b03191687529582019590820190600101614c5c565b509495945050505050565b606081526000614cb5606083016008815267496e7374616e636560c01b602082015260400190565b8281036020840152614cc78186614c48565b9150506001600160401b03831660408301529392505050565b606081526000614cb560608301600d81526c213ab7323632a6b0b730b3b2b960991b602082015260400190565b601f8211156129b157600081815260208120601f850160051c81016020861015614d345750805b601f850160051c820191505b81811015614d5357828155600101614d40565b505050505050565b81516001600160401b03811115614d7457614d74614577565b614d8881614d82845461482d565b84614d0d565b602080601f831160018114614dbd5760008415614da55750858301515b600019600386901b1c1916600185901b178555614d53565b600085815260208120601f198616915b82811015614dec57888601518255948401946001909101908401614dcd565b5085821015614e0a5787850151600019600388901b60f8161c191681555b5050505050600190811b0190555056fef0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a004f61291a8ac3d020d0a7d919a76b8592aa88385744dee3f8b4f3873b969ed900a264697066735822122016c5662b052b747c254fd31a37c93e7a1adb920db894428ea296740f47079f3164736f6c63430008140033",
774
- "deployedBytecode": "0x608060405234801561001057600080fd5b50600436106101da5760003560e01c8063893d20e811610104578063c22f980d116100a2578063eb59c6b111610071578063eb59c6b114610577578063edabac0314610588578063eeff428e14610599578063feec1190146105e457600080fd5b8063c22f980d14610538578063cde749f41461054b578063cf7a1d7714610553578063e338e27b1461056657600080fd5b8063a745e3df116100de578063a745e3df146104dd578063b3c65015146104f0578063b68d180914610510578063b88da7591461052557600080fd5b8063893d20e814610473578063946dfcfe1461047b578063a3f4df7e146104a257600080fd5b80633bd516ef1161017c57806363709eaf1161014b57806363709eaf1461041a578063644c45e01461042d57806386ebbf4214610458578063872309c71461046b57600080fd5b80633bd516ef146102ca5780634d459c90146102dd5780634f421333146103f65780635ab1bd531461040957600080fd5b8063103bd5da116101b8578063103bd5da14610253578063138461e0146102665780631eff4b22146102705780632b440bc9146102a557600080fd5b806301ffc9a7146101df5780630d8e6e2c146102215780630fec111c1461023d575b600080fd5b61020c6101ed366004614350565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b6102296105f7565b60405162ffffff9091168152602001610218565b610245610681565b6040516102189291906143d1565b61020c6102613660046144a2565b610803565b61026e6108e9565b005b6102977f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b604051908152602001610218565b6003546001600160a01b03165b6040516001600160a01b039091168152602001610218565b61026e6102d83660046144ed565b610b0b565b6103996102eb36600461455a565b6040805160a081018252600080825260208201819052918101829052606081018290526080810191909152600080516020614e3b83398151915262ffffff92831660009081526020918252604090819020815160a0810183528154958616815263010000009095046001600160a01b03908116938601939093526001015491821690840152600160a01b810464ffffffffff166060840152600160c81b900463ffffffff1660808301525090565b60408051825162ffffff1681526020808401516001600160a01b039081169183019190915283830151169181019190915260608083015164ffffffffff169082015260809182015163ffffffff169181019190915260a001610218565b61020c61040436600461455a565b611120565b6001546001600160a01b03166102b2565b61026e610428366004614678565b6111d3565b600154600160a01b90046001600160601b03166040516001600160601b039091168152602001610218565b61026e6104663660046146de565b611461565b610297600081565b6102b2611637565b7f4f61291a8ac3d020d0a7d919a76b8592aa88385744dee3f8b4f3873b969ed90154610297565b6104d06040518060400160405280600f81526020016e496e7374616e63655365727669636560881b81525081565b604051610218919061473f565b61026e6104eb366004614752565b611750565b6104f86118aa565b6040516001600160401b039091168152602001610218565b60465b60405160ff9091168152602001610218565b6102296105333660046147bd565b6118cb565b61026e6105463660046147d6565b61191c565b610513611b26565b61026e610561366004614752565b611ba9565b6004546001600160a01b03166102b2565b6006546001600160a01b03166102b2565b6005546001600160a01b03166102b2565b6105a1611cb2565b604080516001600160a01b03968716815294861660208601526001600160601b03909316928401929092528316606083015291909116608082015260a001610218565b61026e6105f23660046147f3565b612264565b604051632efe011360e01b815260036004820152600060248201819052604482018190529073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af4158015610658573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061067c9190614810565b905090565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820181905290917f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e001604052806107046001546001600160601b03600160a01b9091041690565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a00161074c611637565b6001600160a01b031681526020018260010180546107699061482d565b80601f01602080910402602001604051908101604052809291908181526020018280546107959061482d565b80156107e25780601f106107b7576101008083540402835291602001916107e2565b820191906000526020600020905b8154815290600101906020018083116107c557829003601f168201915b50505050508152506040518060200160405280600081525092509250509091565b6000808290506000816001600160a01b031663e5f6cd276040518163ffffffff1660e01b8152600401602060405180830381865afa158015610849573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061086d9190614867565b6040516368fc2b7760e11b81529091506001600160a01b0382169063d1f856ee9061089e9088908a90600401614884565b602060405180830381865afa1580156108bb573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108df91906148b1565b9695505050505050565b6001546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015273__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af415801561094b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061096f91906148b1565b156109b6576001546040516316322c0f60e31b81526109ad916001600160a01b03811691600160a01b9091046001600160601b0316906004016148ce565b60405180910390fd5b6001546001600160a01b03166109df5760405163cf29926160e01b815260040160405180910390fd5b60015460405163c3c5a54760e01b81523060048201819052916001600160a01b03169063c3c5a54790602401602060405180830381865afa158015610a28573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a4c91906148b1565b610a74576040516372657a5160e01b81526001600160a01b03821660048201526024016109ad565b600154604051636939560f60e11b81526001600160a01b0383811660048301529091169063d272ac1e90602401602060405180830381865afa158015610abe573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ae291906148fb565b600160146101000a8154816001600160601b0302191690836001600160601b0316021790555050565b610b13611637565b6001600160a01b0316336001600160a01b031614610b465760405163700dd81160e01b81523360048201526024016109ad565b6003546001600160a01b031615610bb75760405162461bcd60e51b815260206004820152602f60248201527f4552524f523a4352442d3030313a4143434553535f4d414e414745525f4d415360448201526e15115497d053149150511657d4d155608a1b60648201526084016109ad565b6004546001600160a01b031615610c225760405162461bcd60e51b815260206004820152602960248201527f4552524f523a4352442d3030323a494e5354414e43455f4d41535445525f414c604482015268149150511657d4d15560ba1b60648201526084016109ad565b6006546001600160a01b031615610c935760405162461bcd60e51b815260206004820152602f60248201527f4552524f523a4352442d3030343a42554e444c455f4d414e414745525f4d415360448201526e15115497d053149150511657d4d155608a1b60648201526084016109ad565b6001600160a01b038416610cf35760405162461bcd60e51b815260206004820152602160248201527f4552524f523a4352442d3030353a4143434553535f4d414e414745525f5a45526044820152604f60f81b60648201526084016109ad565b6001600160a01b038316610d495760405162461bcd60e51b815260206004820152601b60248201527f4552524f523a4352442d3030363a494e5354414e43455f5a45524f000000000060448201526064016109ad565b6001600160a01b038216610daa5760405162461bcd60e51b815260206004820152602260248201527f4552524f523a4352442d3030373a494e5354414e43455f5245414445525f5a45604482015261524f60f01b60648201526084016109ad565b6001600160a01b038116610e0a5760405162461bcd60e51b815260206004820152602160248201527f4552524f523a4352442d3030383a42554e444c455f4d414e414745525f5a45526044820152604f60f81b60648201526084016109ad565b600083905060008390506000839050866001600160a01b0316836001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610e61573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e859190614867565b6001600160a01b031614610eed5760405162461bcd60e51b815260206004820152602960248201527f4552524f523a4352442d3030393a494e5354414e43455f415554484f524954596044820152680be9a92a69a82a886960bb1b60648201526084016109ad565b610fc5826001600160a01b0316637e7986696040518163ffffffff1660e01b8152600401602060405180830381865afa158015610f2e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f5291906148fb565b846001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa158015610f90573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fb491906148fb565b6001600160601b0390811691161490565b6110295760405162461bcd60e51b815260206004820152602f60248201527f4552524f523a4352442d3031303a494e5354414e43455f5245414445525f494e60448201526e0a6a8829c868abe9a92a69a82a8869608b1b60648201526084016109ad565b61106a816001600160a01b0316637e7986696040518163ffffffff1660e01b8152600401602060405180830381865afa158015610f2e573d6000803e3d6000fd5b6110cd5760405162461bcd60e51b815260206004820152602e60248201527f4552524f523a4352442d3031313a42554e444c455f4d414e414745525f494e5360448201526d0a8829c868abe9a92a69a82a886960931b60648201526084016109ad565b5050600380546001600160a01b039687166001600160a01b031991821617909155600480549587169582169590951790945550600580549285169284169290921790915560068054919093169116179055565b600080600080516020614e3b83398151915262ffffff84166000908152602091909152604090819020600101549051631bbffab160e21b8152600160c81b90910463ffffffff16600482015273__$5f476116ae21c5294e0c0761c07efa7e1c$__90636effeac490602401602060405180830381865af41580156111a8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111cc9190614923565b1192915050565b3360006111e86001546001600160a01b031690565b6040516308b09a5f60e41b81526001600160a01b038481166004830152919250600091831690638b09a5f090602401600060405180830381865afa158015611234573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261125c9190810190614a50565b8051604051630a4d29dd60e31b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906352694ee890602401602060405180830381865af41580156112ba573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112de91906148b1565b156113075760405163aef351c360e01b81526001600160a01b03841660048201526024016109ad565b60208101516040516305247a1760e51b81526001600160601b0390911660048201526000906001600160a01b0384169063a48f42e090602401600060405180830381865afa15801561135d573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526113859190810190614a50565b60800151905060008190506000816001600160a01b031663e5f6cd276040518163ffffffff1660e01b8152600401602060405180830381865afa1580156113d0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113f49190614867565b604051634222cc2360e01b81529091506001600160a01b03821690634222cc2390611425908b908b90600401614a84565b600060405180830381600087803b15801561143f57600080fd5b505af1158015611453573d6000803e3d6000fd5b505050505050505050505050565b336114746001546001600160a01b031690565b604051632b91e0a960e01b81526001600160a01b0383811660048301529190911690632b91e0a990602401602060405180830381865afa1580156114bc573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114e091906148b1565b611508576040516302613e9f60e51b81526001600160a01b03821660048201526024016109ad565b600061151c6001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03871660048201529091506000906001600160a01b0383169063a48f42e090602401600060405180830381865afa15801561156f573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526115979190810190614a50565b90506000816080015190506000816001600160a01b031663e5f6cd276040518163ffffffff1660e01b8152600401602060405180830381865afa1580156115e2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116069190614867565b6040516317ea2ab560e21b81529091506001600160a01b03821690635fa8aad490611425908a908a90600401614aa8565b6001546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015260009073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af415801561169c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116c091906148b1565b1561174057600154604051631c5da14d60e11b8152600160a01b82046001600160601b031660048201526001600160a01b03909116906338bb429a90602401602060405180830381865afa15801561171c573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061067c9190614867565b506002546001600160a01b031690565b73__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__63a123b37c6117726105f7565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af41580156117b2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117d69190614acc565b600080516020614e1b8339815191528054600160401b900460ff1680611809575080546001600160401b03808416911610155b156118275760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b178155611852858561251c565b61185b836127bb565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a15050505050565b600061067c600080516020614e1b833981519152546001600160401b031690565b6000600080516020614e3b83398151915260010182815481106118f0576118f0614ae9565b90600052602060002090600a91828204019190066003029054906101000a900462ffffff169050919050565b60006119306001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03841660048201529091506000906001600160a01b0383169063a48f42e090602401600060405180830381865afa158015611983573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526119ab9190810190614a50565b90506000816080015190506000816001600160a01b031663893d20e86040518163ffffffff1660e01b8152600401602060405180830381865afa1580156119f6573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a1a9190614867565b9050336001600160a01b03821614611a47576040516302613e9f60e51b81523360048201526024016109ad565b600554600090611a5f906001600160a01b03166127c3565b604051633ca904dd60e21b81529091506001600160a01b0382169063f2a4137490611a909088908a906004016148ce565b600060405180830381600087803b158015611aaa57600080fd5b505af1158015611abe573d6000803e3d6000fd5b5050604051633def10c760e21b81526001600160a01b0384811660048301528616925063f7bc431c91506024015b600060405180830381600087803b158015611b0657600080fd5b505af1158015611b1a573d6000803e3d6000fd5b50505050505050505050565b6000611b306105f7565b60405163c9e66e2960e01b815262ffffff909116600482015273__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__9063c9e66e2990602401602060405180830381865af4158015611b85573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061067c9190614aff565b600080516020614e1b8339815191528054600160401b810460ff1615906001600160401b0316600081158015611bdc5750825b90506000826001600160401b03166001148015611bf85750303b155b905081158015611c06575080155b15611c245760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315611c4e57845460ff60401b1916600160401b1785555b611c58888861251c565b611c628787612835565b8315611ca857845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b5050505050505050565b6000808080803381611ccc6001546001600160a01b031690565b604051636939560f60e11b81526001600160a01b03821660048201819052919250829160009163d272ac1e90602401602060405180830381865afa158015611d18573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611d3c91906148fb565b905060006001600160a01b03841663d39e60436028611d59611b26565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa158015611d9e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611dc29190614867565b6003549091508190611ddc906001600160a01b03166127c3565b604051637bee8e7d60e11b8152306004820152909b506001600160a01b038c169063f7dd1cfa90602401600060405180830381600087803b158015611e2057600080fd5b505af1158015611e34573d6000803e3d6000fd5b5050600454611e4e92506001600160a01b031690506127c3565b60405163976b0a7760e01b81526001600160a01b038d8116600483015286811660248301526001600160601b0386166044830152336064830152919b50908b169063976b0a7790608401600060405180830381600087803b158015611eb257600080fd5b505af1158015611ec6573d6000803e3d6000fd5b505060405163834af15360e01b81526001600160a01b038d81166004830152600093508416915063834af153906024016000604051808303816000875af1158015611f15573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611f3d9190810190614b1c565b508051600554909b50909150611f5b906001600160a01b03166127c3565b604051633ca904dd60e21b81529099506001600160a01b038a169063f2a4137490611f8c9088908e906004016148ce565b600060405180830381600087803b158015611fa657600080fd5b505af1158015611fba573d6000803e3d6000fd5b5050604051633def10c760e21b81526001600160a01b038c811660048301528e16925063f7bc431c9150602401600060405180830381600087803b15801561200157600080fd5b505af1158015612015573d6000803e3d6000fd5b505060065461202f92506001600160a01b031690506127c3565b604051630c861c2560e41b81526001600160a01b038e8116600483015287811660248301526001600160601b038d1660448301529199509089169063c861c25090606401600060405180830381600087803b15801561208d57600080fd5b505af11580156120a1573d6000803e3d6000fd5b505060405162422c9d60e81b81526001600160a01b038b811660048301528e16925063422c9d009150602401600060405180830381600087803b1580156120e757600080fd5b505af11580156120fb573d6000803e3d6000fd5b5050505061210a8c8c8a612960565b8b6001600160a01b031663b428b0b06121216129b6565b896040518363ffffffff1660e01b815260040161213f929190614884565b6020604051808303816000875af115801561215e573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061218291906148b1565b508b6001600160a01b031663b7d2b16261219a6129b6565b306040518363ffffffff1660e01b81526004016121b8929190614884565b6020604051808303816000875af11580156121d7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906121fb91906148b1565b50604080516001600160a01b038e811682528d811660208301528b16818301526001600160601b038c16606082015290517f89f53d1fc9d655ac6863fb19d55f6cc8a7649a51ec36a0d13ec77d2bd2e970f39181900360800190a1505050505050509091929394565b61226c611637565b6001600160a01b0316336001600160a01b03161461229f5760405163700dd81160e01b81523360048201526024016109ad565b6005546001600160a01b031661230c5760405162461bcd60e51b815260206004820152602c60248201527f4552524f523a4352442d3030333a494e5354414e43455f5245414445525f4d4160448201526b14d5115497d393d517d4d15560a21b60648201526084016109ad565b6001600160a01b03811661236d5760405162461bcd60e51b815260206004820152602260248201527f4552524f523a4352442d3031323a494e5354414e43455f5245414445525f5a45604482015261524f60f01b60648201526084016109ad565b6005546001600160a01b03908116908216036123e45760405162461bcd60e51b815260206004820152603060248201527f4552524f523a4352442d3031343a494e5354414e43455f5245414445525f4d4160448201526f535445525f53414d455f41535f4e455760801b60648201526084016109ad565b6000819050612495816001600160a01b0316637e7986696040518163ffffffff1660e01b8152600401602060405180830381865afa15801561242a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061244e91906148fb565b6004805460408051630322622f60e51b815290516001600160a01b039092169263644c45e09282820192602092908290030181865afa158015610f90573d6000803e3d6000fd5b6124f95760405162461bcd60e51b815260206004820152602f60248201527f4552524f523a4352442d3031353a494e5354414e43455f5245414445525f494e60448201526e0a6a8829c868abe9a92a69a82a8869608b1b60648201526084016109ad565b50600580546001600160a01b0319166001600160a01b0392909216919091179055565b612524612a2e565b600080516020614e3b8339815191526000612554600080516020614e1b833981519152546001600160401b031690565b905060006125606105f7565b9050816001600160401b031660010361258d5760028301805462ffffff191662ffffff83161790556125db565b600283015462ffffff908116908216116125db5760405162461bcd60e51b815260206004820152600f60248201526e24a72b20a624a2102b22a929a4a7a760891b60448201526064016109ad565b6001808401805491820181556000908152602090819020600a808404909101805462ffffff808716600394909606939093026101000a858102930219169190911790556040805160a0810182529283526001600160a01b038089168484015287168382015280516356db0c1960e11b81529051606084019273__$d53880c81dc91c20799140d711e5ab8718$__9263adb6183292600480830193928290030181865af415801561268f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906126b39190614b7f565b64ffffffffff1681526020014363ffffffff90811690915262ffffff8084166000908152602087815260409182902085518154928701516001600160a01b039081166301000000026001600160b81b0319909416919095161791909117815584820151600190910180546060870151608090970151909516600160c81b0263ffffffff60c81b1964ffffffffff909716600160a01b026001600160c81b031990961692909416919091179390931793909316179055517fad0a0fc10465a8dd9da3ad5f43e1a7fff4b4578551c76f0ae8deb844f0d0bf689061189b9083908890889062ffffff9390931683526001600160a01b03918216602084015216604082015260600190565b6101da612a2e565b6000763d602d80600a3d3981f3363d3d373d3d3d363d730000008260601b60e81c176000526e5af43d82803e903d91602b57fd5bf38260781b17602052603760096000f090506001600160a01b038116612830576040516330be1a3d60e21b815260040160405180910390fd5b919050565b600080516020614e1b8339815191528054600160401b810460ff1615906001600160401b03166000811580156128685750825b90506000826001600160401b031660011480156128845750303b155b905081158015612892575080155b156128b05760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff1916600117855583156128da57845460ff60401b1916600160401b1785555b600080878060200190518101906128f19190614ba6565b925090506128ff818a612a67565b61290f639db409fb60e01b612ad2565b5050831561295757845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50505050505050565b61296983612af7565b61297483838361304e565b61297e8383613106565b6129888383613315565b6129928383613508565b61299c8383613755565b6129a7838383613934565b6129b18383613ca6565b505050565b6040516368aebf7b60e01b81526000600482018190529073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b906024015b602060405180830381865af4158015612a0a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061067c9190614acc565b600080516020614e1b83398151915254600160401b900460ff16612a6557604051631afcd79f60e31b815260040160405180910390fd5b565b60006046612a73611b26565b6040805160ff9384166020820152929091169082015260600160405160208183030381529060405290506000612aa884613e16565b90506000612abb8583603c848888613e87565b612acb637b6a51fd60e01b612ad2565b5050505050565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b806001600160a01b0316635d66f90a612b0e613f53565b604080516001600160e01b031960e085901b1681526001600160401b03909216600483015260248201526015604482015274446973747269627574696f6e4f776e6572526f6c6560581b6064820152608401600060405180830381600087803b158015612b7a57600080fd5b505af1158015612b8e573d6000803e3d6000fd5b50505050806001600160a01b0316635d66f90a612ba9613f8e565b604080516001600160e01b031960e085901b1681526001600160401b0390921660048301526024820152600d60448201526c506f6f6c4f776e6572526f6c6560981b6064820152608401600060405180830381600087803b158015612c0d57600080fd5b505af1158015612c21573d6000803e3d6000fd5b50505050806001600160a01b0316635d66f90a612c3c613fca565b604080516001600160e01b031960e085901b1681526001600160401b0390921660048301526024820152601060448201526f50726f647563744f776e6572526f6c6560801b6064820152608401600060405180830381600087803b158015612ca357600080fd5b505af1158015612cb7573d6000803e3d6000fd5b50505050806001600160a01b0316635d66f90a612cd2614006565b604080516001600160e01b031960e085901b1681526001600160401b0390921660048301526024820152601760448201527f446973747269627574696f6e53657276696365526f6c650000000000000000006064820152608401600060405180830381600087803b158015612d4657600080fd5b505af1158015612d5a573d6000803e3d6000fd5b50505050806001600160a01b0316635d66f90a612d75614042565b604080516001600160e01b031960e085901b1681526001600160401b0390921660048301526024820152600f60448201526e506f6f6c53657276696365526f6c6560881b6064820152608401600060405180830381600087803b158015612ddb57600080fd5b505af1158015612def573d6000803e3d6000fd5b50505050806001600160a01b0316635d66f90a612e0a61407e565b604080516001600160e01b031960e085901b1681526001600160401b0390921660048301526024820152601260448201527150726f6475637453657276696365526f6c6560701b6064820152608401600060405180830381600087803b158015612e7357600080fd5b505af1158015612e87573d6000803e3d6000fd5b50505050806001600160a01b0316635d66f90a612ea26140ba565b604080516001600160e01b031960e085901b1681526001600160401b03909216600483015260248201526011604482015270506f6c69637953657276696365526f6c6560781b6064820152608401600060405180830381600087803b158015612f0a57600080fd5b505af1158015612f1e573d6000803e3d6000fd5b50505050806001600160a01b0316635d66f90a612f396140f6565b604080516001600160e01b031960e085901b1681526001600160401b0390921660048301526024820152601160448201527042756e646c6553657276696365526f6c6560781b6064820152608401600060405180830381600087803b158015612fa157600080fd5b505af1158015612fb5573d6000803e3d6000fd5b50505050806001600160a01b0316635d66f90a612fd0614132565b604080516001600160e01b031960e085901b1681526001600160401b03909216600483015260248201526013604482015272496e7374616e636553657276696365526f6c6560681b6064820152608401600060405180830381600087803b15801561303a57600080fd5b505af1158015612acb573d6000803e3d6000fd5b60405163044ec4c360e41b81526001600160a01b038416906344ec4c309061307a908590600401614bd5565b600060405180830381600087803b15801561309457600080fd5b505af11580156130a8573d6000803e3d6000fd5b505060405163044ec4c360e41b81526001600160a01b03861692506344ec4c3091506130d8908490600401614c0c565b600060405180830381600087803b1580156130f257600080fd5b505af1158015612957573d6000803e3d6000fd5b600061311a6001546001600160a01b031690565b905060006001600160a01b03821663d39e60436078613137611b26565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa15801561317c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906131a09190614867565b9050836001600160a01b031663b428b0b06131b9614006565b836040518363ffffffff1660e01b81526004016131d7929190614884565b6020604051808303816000875af11580156131f6573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061321a91906148b1565b50604080516002808252606082018352600092602083019080368337019050509050630b24cf5f60e01b8160008151811061325757613257614ae9565b6001600160e01b031990921660209283029190910190910152805163bd5947e360e01b908290600190811061328e5761328e614ae9565b6001600160e01b0319909216602092830291909101909101526001600160a01b0385166329db8c3d826132bf614006565b6040518363ffffffff1660e01b81526004016132dc929190614c8d565b600060405180830381600087803b1580156132f657600080fd5b505af115801561330a573d6000803e3d6000fd5b505050505050505050565b6001546000906001600160a01b031663d39e6043608c613333611b26565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa158015613378573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061339c9190614867565b9050826001600160a01b031663b428b0b06133b5614042565b836040518363ffffffff1660e01b81526004016133d3929190614884565b6020604051808303816000875af11580156133f2573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061341691906148b1565b5060408051600480825260a082019092526000916020820160808036833701905050905063e7cd37d460e01b8160008151811061345557613455614ae9565b6001600160e01b0319909216602092830291909101909101528051633055195560e11b908290600190811061348c5761348c614ae9565b6001600160e01b0319909216602092830291909101909101526001600160a01b0384166329db8c3d826134bd614042565b6040518363ffffffff1660e01b81526004016134da929190614c8d565b600060405180830381600087803b1580156134f457600080fd5b505af1158015611ca8573d6000803e3d6000fd5b6001546000906001600160a01b031663d39e6043606e613526611b26565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa15801561356b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061358f9190614867565b9050826001600160a01b031663b428b0b06135a861407e565b836040518363ffffffff1660e01b81526004016135c6929190614884565b6020604051808303816000875af11580156135e5573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061360991906148b1565b5060408051600580825260c082019092526000916020820160a0803683370190505090506391ff6eaa60e01b8160008151811061364857613648614ae9565b6001600160e01b03199092166020928302919091019091015280516354e750a160e11b908290600190811061367f5761367f614ae9565b6001600160e01b03199092166020928302919091019091015280516317b0844560e11b90829060029081106136b6576136b6614ae9565b6001600160e01b03199092166020928302919091019091015280516314eddc0360e31b90829060039081106136ed576136ed614ae9565b6001600160e01b0319909216602092830291909101909101528051633e77a42160e11b908290600490811061372457613724614ae9565b6001600160e01b0319909216602092830291909101909101526001600160a01b0384166329db8c3d826134bd61407e565b6001546000906001600160a01b031663d39e604360d2613773611b26565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa1580156137b8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906137dc9190614867565b9050826001600160a01b031663b428b0b06137f56140ba565b836040518363ffffffff1660e01b8152600401613813929190614884565b6020604051808303816000875af1158015613832573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061385691906148b1565b50604080516003808252608082019092526000916020820160608036833701905050905063bc8d400060e01b8160008151811061389557613895614ae9565b6001600160e01b0319909216602092830291909101909101528051634d4b06a960e11b90829060019081106138cc576138cc614ae9565b6001600160e01b0319909216602092830291909101909101528051631750d17360e21b908290600290811061390357613903614ae9565b6001600160e01b0319909216602092830291909101909101526001600160a01b0384166329db8c3d826134bd6140ba565b6001546000906001600160a01b031663d39e604360dc613952611b26565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa158015613997573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906139bb9190614867565b9050836001600160a01b031663b428b0b06139d46140f6565b836040518363ffffffff1660e01b81526004016139f2929190614884565b6020604051808303816000875af1158015613a11573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613a3591906148b1565b50604080516002808252606082018352600092602083019080368337019050509050636071a68e60e01b81600081518110613a7257613a72614ae9565b6001600160e01b03199092166020928302919091019091015280516307f8b57360e31b9082906001908110613aa957613aa9614ae9565b6001600160e01b0319909216602092830291909101909101526001600160a01b0385166329db8c3d82613ada6140f6565b6040518363ffffffff1660e01b8152600401613af7929190614c8d565b600060405180830381600087803b158015613b1157600080fd5b505af1158015613b25573d6000803e3d6000fd5b506000925060059150613b359050565b604051908082528060200260200182016040528015613b5e578160200160208202803683370190505b509050630cc7e61460e01b81600081518110613b7c57613b7c614ae9565b6001600160e01b0319909216602092830291909101909101528051631351fccf60e31b9082906001908110613bb357613bb3614ae9565b6001600160e01b03199092166020928302919091019091015280516346f0e8a760e11b9082906002908110613bea57613bea614ae9565b6001600160e01b031990921660209283029190910190910152805163b5346af560e01b9082906003908110613c2157613c21614ae9565b6001600160e01b03199092166020928302919091019091015280516306fa456560e01b9082906004908110613c5857613c58614ae9565b6001600160e01b0319909216602092830291909101909101526001600160a01b0386166329db8c3d82613c896140f6565b6040518363ffffffff1660e01b8152600401611aec929190614ce0565b6001546000906001600160a01b031663d39e60436046613cc4611b26565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa158015613d09573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613d2d9190614867565b9050826001600160a01b031663b428b0b0613d46614132565b836040518363ffffffff1660e01b8152600401613d64929190614884565b6020604051808303816000875af1158015613d83573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613da791906148b1565b506040805160018082528183019092526000916020808301908036833701905050905063f7bc431c60e01b81600081518110613de557613de5614ae9565b6001600160e01b0319909216602092830291909101909101526001600160a01b0384166329db8c3d826134bd614132565b604051636939560f60e11b81526001600160a01b0382166004820181905260009163d272ac1e90602401602060405180830381865afa158015613e5d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613e8191906148fb565b92915050565b613ec86301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b613ed2828761416e565b60007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166cffffffffffffffffffffffffff1990911617600160601b60ff8816021760ff60681b1916600160681b86151502178155905060018101613f428382614d5b565b506129576303fb044760e21b612ad2565b6040516368aebf7b60e01b81526064600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b906024016129ed565b6040516368aebf7b60e01b815261012c600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b906024016129ed565b6040516368aebf7b60e01b8152610190600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b906024016129ed565b6040516368aebf7b60e01b8152610834600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b906024016129ed565b6040516368aebf7b60e01b8152610898600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b906024016129ed565b6040516368aebf7b60e01b81526108fc600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b906024016129ed565b6040516368aebf7b60e01b8152610960600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b906024016129ed565b6040516368aebf7b60e01b81526109c4600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b906024016129ed565b6040516368aebf7b60e01b81526107d0600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b906024016129ed565b6001600160a01b0382166141c45760405162461bcd60e51b815260206004820152601e60248201527f4e66744f776e61626c653a20696e697469616c206f776e65722069732030000060448201526064016109ad565b600280546001600160a01b0319166001600160a01b0384161790556141e8816141ec565b5050565b6001546001600160a01b0316156142255760015460405163fcdbf2d960e01b81526001600160a01b0390911660048201526024016109ad565b6001600160a01b03811661424c5760405163f5c4d07d60e01b815260040160405180910390fd5b806001600160a01b03163b6000036142825760405163fdeac91f60e01b81526001600160a01b03821660048201526024016109ad565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b815263102da10360e01b60048201526301ffc9a790602401602060405180830381865afa9250505080156142fc575060408051601f3d908101601f191682019092526142f9918101906148b1565b60015b6143245760405163fdeac91f60e01b81526001600160a01b03821660048201526024016109ad565b806141e85760405163fdeac91f60e01b81526001600160a01b03831660048201526024016109ad565b50565b60006020828403121561436257600080fd5b81356001600160e01b03198116811461437a57600080fd5b9392505050565b60005b8381101561439c578181015183820152602001614384565b50506000910152565b600081518084526143bd816020860160208601614381565b601f01601f19169290920160200192915050565b6040815260006001600160601b038085511660408401528060208601511660608401525060ff6040850151166080830152606084015161441560a084018215159052565b5060808401516001600160a01b03811660c08401525060a08401516001600160a01b03811660e08401525060c084015160e061010084015261445b6101208401826143a5565b9050828103602084015261446f81856143a5565b95945050505050565b6001600160a01b038116811461434d57600080fd5b6001600160401b038116811461434d57600080fd5b6000806000606084860312156144b757600080fd5b83356144c281614478565b925060208401356144d28161448d565b915060408401356144e281614478565b809150509250925092565b6000806000806080858703121561450357600080fd5b843561450e81614478565b9350602085013561451e81614478565b9250604085013561452e81614478565b9150606085013561453e81614478565b939692955090935050565b62ffffff8116811461434d57600080fd5b60006020828403121561456c57600080fd5b813561437a81614549565b634e487b7160e01b600052604160045260246000fd5b60405160e081016001600160401b03811182821017156145af576145af614577565b60405290565b604051601f8201601f191681016001600160401b03811182821017156145dd576145dd614577565b604052919050565b60006001600160401b038211156145fe576145fe614577565b50601f01601f191660200190565b600061461f61461a846145e5565b6145b5565b905082815283838301111561463357600080fd5b828260208301376000602084830101529392505050565b600082601f83011261465b57600080fd5b61437a8383356020850161460c565b801515811461434d57600080fd5b6000806040838503121561468b57600080fd5b82356001600160401b038111156146a157600080fd5b6146ad8582860161464a565b92505060208301356146be8161466a565b809150509250929050565b6001600160601b038116811461434d57600080fd5b6000806000606084860312156146f357600080fd5b83356146fe816146c9565b9250602084013561470e81614478565b915060408401356001600160401b0381111561472957600080fd5b6147358682870161464a565b9150509250925092565b60208152600061437a60208301846143a5565b60008060006060848603121561476757600080fd5b833561477281614478565b9250602084013561478281614478565b915060408401356001600160401b0381111561479d57600080fd5b8401601f810186136147ae57600080fd5b6147358682356020840161460c565b6000602082840312156147cf57600080fd5b5035919050565b6000602082840312156147e857600080fd5b813561437a816146c9565b60006020828403121561480557600080fd5b813561437a81614478565b60006020828403121561482257600080fd5b815161437a81614549565b600181811c9082168061484157607f821691505b60208210810361486157634e487b7160e01b600052602260045260246000fd5b50919050565b60006020828403121561487957600080fd5b815161437a81614478565b6001600160401b039290921682526001600160a01b0316602082015260400190565b80516128308161466a565b6000602082840312156148c357600080fd5b815161437a8161466a565b6001600160a01b039290921682526001600160601b0316602082015260400190565b8051612830816146c9565b60006020828403121561490d57600080fd5b815161437a816146c9565b805161283081614478565b60006020828403121561493557600080fd5b5051919050565b60ff8116811461434d57600080fd5b80516128308161493c565b600082601f83011261496757600080fd5b815161497561461a826145e5565b81815284602083860101111561498a57600080fd5b61499b826020830160208701614381565b949350505050565b600060e082840312156149b557600080fd5b6149bd61458d565b90506149c8826148f0565b81526149d6602083016148f0565b60208201526149e76040830161494b565b60408201526149f8606083016148a6565b6060820152614a0960808301614918565b6080820152614a1a60a08301614918565b60a082015260c08201516001600160401b03811115614a3857600080fd5b614a4484828501614956565b60c08301525092915050565b600060208284031215614a6257600080fd5b81516001600160401b03811115614a7857600080fd5b61499b848285016149a3565b604081526000614a9760408301856143a5565b905082151560208301529392505050565b6001600160a01b038316815260406020820181905260009061499b908301846143a5565b600060208284031215614ade57600080fd5b815161437a8161448d565b634e487b7160e01b600052603260045260246000fd5b600060208284031215614b1157600080fd5b815161437a8161493c565b60008060408385031215614b2f57600080fd5b82516001600160401b0380821115614b4657600080fd5b614b52868387016149a3565b93506020850151915080821115614b6857600080fd5b50614b7585828601614956565b9150509250929050565b600060208284031215614b9157600080fd5b815164ffffffffff8116811461437a57600080fd5b60008060408385031215614bb957600080fd5b8251614bc481614478565b60208401519092506146be81614478565b6001600160a01b038216815260406020820181905260089082015267496e7374616e636560c01b606082015260006080820161437a565b6001600160a01b0382168152604060208201819052600d908201526c213ab7323632a6b0b730b3b2b960991b606082015260006080820161437a565b600081518084526020808501945080840160005b83811015614c825781516001600160e01b03191687529582019590820190600101614c5c565b509495945050505050565b606081526000614cb5606083016008815267496e7374616e636560c01b602082015260400190565b8281036020840152614cc78186614c48565b9150506001600160401b03831660408301529392505050565b606081526000614cb560608301600d81526c213ab7323632a6b0b730b3b2b960991b602082015260400190565b601f8211156129b157600081815260208120601f850160051c81016020861015614d345750805b601f850160051c820191505b81811015614d5357828155600101614d40565b505050505050565b81516001600160401b03811115614d7457614d74614577565b614d8881614d82845461482d565b84614d0d565b602080601f831160018114614dbd5760008415614da55750858301515b600019600386901b1c1916600185901b178555614d53565b600085815260208120601f198616915b82811015614dec57888601518255948401946001909101908401614dcd565b5085821015614e0a5787850151600019600388901b60f8161c191681555b5050505050600190811b0190555056fef0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a004f61291a8ac3d020d0a7d919a76b8592aa88385744dee3f8b4f3873b969ed900a264697066735822122016c5662b052b747c254fd31a37c93e7a1adb920db894428ea296740f47079f3164736f6c63430008140033",
868
+ "bytecode": "0x60806040523480156200001157600080fd5b506200001c62000022565b620000d6565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00805468010000000000000000900460ff1615620000735760405163f92ee8a960e01b815260040160405180910390fd5b80546001600160401b0390811614620000d35780546001600160401b0319166001600160401b0390811782556040519081527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50565b613f1380620000e66000396000f3fe608060405234801561001057600080fd5b50600436106101da5760003560e01c80636c6fbb2811610104578063b03d2a8e116100a2578063edabac0311610071578063edabac0314610435578063eeff428e14610446578063f7c34ee014610475578063feec11901461048857600080fd5b8063b03d2a8e146103f8578063b68d18091461040b578063bf7e214f1461041a578063c22f980d1461042257600080fd5b8063893d20e8116100de578063893d20e8146103a75780638e32e979146103af5780638fb36037146103c2578063ada9652e146103e357600080fd5b80636c6fbb28146103795780637a9e5e4b1461038c578063872309c71461039f57600080fd5b8063329d6e741161017c5780635ab1bd531161014b5780635ab1bd5314610310578063644c45e014610335578063675393bf146103535780636a778e731461036657600080fd5b8063329d6e74146102b757806336fc697e146102ca57806340be2376146102d257806349bb9e4b146102fd57600080fd5b8063138461e0116101b8578063138461e0146102525780631eff4b221461025c578063214cdb801461029157806327bb7a33146102a457600080fd5b806301ffc9a7146101df5780630d8e6e2c146102215780630fec111c1461023d575b600080fd5b61020c6101ed3660046132c2565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b61022961049b565b60405162ffffff9091168152602001610218565b610245610525565b6040516102189190613334565b61025a610678565b005b6102837f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b604051908152602001610218565b61025a61029f3660046132c2565b610684565b61025a6102b23660046134f9565b6106b1565b61025a6102c5366004613591565b610756565b61025a6108a3565b6102e56102e03660046135c5565b6108e9565b6040516001600160601b039091168152602001610218565b61025a61030b3660046135e2565b61093c565b6001546001600160a01b03165b6040516001600160a01b039091168152602001610218565b600080516020613e7e833981519152546001600160601b03166102e5565b61025a6103613660046135c5565b610a3b565b6102e56103743660046135c5565b610b48565b61025a6103873660046137bf565b6113fe565b61025a61039a3660046135c5565b611593565b610283600081565b61031d611616565b61025a6103bd366004613883565b61174d565b6103ca611986565b6040516001600160e01b03199091168152602001610218565b610283600080516020613e7e83398151915281565b61025a6104063660046138ce565b6119be565b60405160468152602001610218565b61031d611c2f565b61025a6104303660046138eb565b611c4b565b6006546001600160a01b031661031d565b61044e611e76565b604080516001600160a01b0390931683526001600160601b03909116602083015201610218565b61025a610483366004613908565b612715565b61025a6104963660046135c5565b61278c565b604051632efe011360e01b815260036004820152600060248201819052604482018190529073__$8eede297b65ed5a56eb3f84d8232ae93f5$__90632efe011390606401602060405180830381865af41580156104fc573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105209190613941565b905090565b6040805160e0808201835260008083526020830181905282840181905260608084018290526080840182905260a0840182905260c0840152835191820190935290917f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa300919081906001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a0016105d4611616565b6001600160a01b031681526020018260010180546105f190613966565b80601f016020809104026020016040519081016040528092919081815260200182805461061d90613966565b801561066a5780601f1061063f5761010080835404028352916020019161066a565b820191906000526020600020905b81548152906001019060200180831161064d57829003601f168201915b505050505081525091505090565b61068130612904565b50565b61068c612b05565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b6106b9612b05565b6106c38287612715565b7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0387166cffffffffffffffffffffffffff1990911617600160601b60ff8716021760ff60681b1916600160681b851515021781557f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30161074c83826139e6565b5050505050505050565b73__$8eede297b65ed5a56eb3f84d8232ae93f5$__63a123b37c61077861049b565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af41580156107b8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107dc9190613aa5565b600080516020613ebe8339815191528054600160401b900460ff168061080f575080546001600160401b03808416911610155b1561082d5760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b17815561085783612b3e565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a1505050565b6108ab612b05565b6301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b60006108f3611616565b6001600160a01b0316336001600160a01b03161461092b5760405163086391f760e31b81523360048201526024015b60405180910390fd5b61093482612904565b90505b919050565b600080516020613ebe8339815191528054600160401b810460ff1615906001600160401b031660008115801561096f5750825b90506000826001600160401b0316600114801561098b5750303b155b905081158015610999575080155b156109b75760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff1916600117855583156109e157845460ff60401b1916600160401b1785555b6109eb8787612b46565b8315610a3257845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a15b50505050505050565b610a43612b05565b806001600160a01b03163b600003610a795760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610922565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b81526312da491160e01b60048201526301ffc9a790602401602060405180830381865afa925050508015610af3575060408051601f3d908101601f19168201909252610af091810190613acd565b60015b610b1b5760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610922565b80610b445760405163fdeac91f60e01b81526001600160a01b0383166004820152602401610922565b5050565b6000610b52611616565b6001600160a01b0316336001600160a01b031614610b855760405163086391f760e31b8152336004820152602401610922565b6005546001600160a01b031615610baf57604051632c237de760e11b815260040160405180910390fd5b6003546001600160a01b031615610bd957604051636519f6b960e01b815260040160405180910390fd5b6004546001600160a01b031615610c035760405163ab0cc43960e01b815260040160405180910390fd5b6007546001600160a01b031615610c2d57604051637f405a2960e01b815260040160405180910390fd5b6001600160a01b038216610c54576040516309353e4560e11b815260040160405180910390fd5b60008290506000816001600160a01b031663311adb686040518163ffffffff1660e01b8152600401602060405180830381865afa158015610c99573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610cbd9190613aea565b905060008190506000836001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015610d04573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d289190613aea565b905060008190506000856001600160a01b03166361f5f4206040518163ffffffff1660e01b8152600401602060405180830381865afa158015610d6f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d939190613aea565b905060008190506000876001600160a01b031663d4cda0d86040518163ffffffff1660e01b8152600401602060405180830381865afa158015610dda573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610dfe9190613aea565b9050806001600160a01b038716610e27576040516295661560e31b815260040160405180910390fd5b6001600160a01b038516610e4e5760405163e267254160e01b815260040160405180910390fd5b6001600160a01b038316610e7557604051630ddeaef560e11b815260040160405180910390fd5b6001600160a01b038116610e9c576040516301fa2a2b60e01b815260040160405180910390fd5b876001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610eda573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610efe9190613aea565b6001600160a01b0316896001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610f45573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f699190613aea565b6001600160a01b031614610f90576040516334ddf1a760e21b815260040160405180910390fd5b876001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610fce573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ff29190613aea565b6001600160a01b0316846001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611039573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061105d9190613aea565b6001600160a01b031614611084576040516326c89a4160e01b815260040160405180910390fd5b876001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156110c2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110e69190613aea565b6001600160a01b0316826001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561112d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111519190613aea565b6001600160a01b03161461117857604051631129422760e31b815260040160405180910390fd5b886001600160a01b0316846001600160a01b031663de7b5d146040518163ffffffff1660e01b8152600401602060405180830381865afa1580156111c0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111e49190613aea565b6001600160a01b03161461120b57604051631b25e96d60e31b815260040160405180910390fd5b886001600160a01b0316866001600160a01b031663de7b5d146040518163ffffffff1660e01b8152600401602060405180830381865afa158015611253573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112779190613aea565b6001600160a01b03161461129e576040516331783c7160e11b815260040160405180910390fd5b886001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156112dc573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113009190613aea565b600380546001600160a01b03199081166001600160a01b03938416179091556004805482168a84161790556005805482168e8416908117909155600680548316898516179055600780548316878516179055600880549092168484161790915560025490916000911663026bc43b83611377611616565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016000604051808303816000875af11580156113c4573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526113ec9190810190613b6d565b519d9c50505050505050505050505050565b61140a33600036612d81565b60006114168686612e87565b5090506000816001600160a01b031663311adb686040518163ffffffff1660e01b8152600401602060405180830381865afa158015611459573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061147d9190613aea565b60405163044ec4c360e41b81529091506001600160a01b038216906344ec4c30906114ae9089908990600401613c3f565b600060405180830381600087803b1580156114c857600080fd5b505af11580156114dc573d6000803e3d6000fd5b5050505060005b835181101561074c57816001600160a01b0316630c8ae53e8787848151811061150e5761150e613c63565b602002602001015187858151811061152857611528613c63565b60200260200101516040518463ffffffff1660e01b815260040161154e93929190613c79565b600060405180830381600087803b15801561156857600080fd5b505af115801561157c573d6000803e3d6000fd5b50505050808061158b90613cec565b9150506114e3565b3361159c611c2f565b6001600160a01b0316816001600160a01b0316146115d75760405162d1953b60e31b81526001600160a01b0382166004820152602401610922565b816001600160a01b03163b60000361160d576040516361798f2f60e11b81526001600160a01b0383166004820152602401610922565b610b4482613037565b600080600080516020613e7e83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015611686573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116aa9190613acd565b15611737576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa15801561170d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117319190613aea565b91505090565b54600160601b90046001600160a01b0316919050565b611755612b05565b6117d583846001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa158015611797573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117bb9190613d13565b603c600085604051806020016040528060008152506106b1565b6001600160a01b038216156117f2576117ed82613098565b611961565b60006118066001546001600160a01b031690565b6001600160a01b031663d39e60436028604051632392b61b60e21b81526003600482015273__$b659da7d8a6d2d32aa6c1e17da23dc2174$__90638e4ad86c90602401602060405180830381865af4158015611866573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061188a9190613d30565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa1580156118cf573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118f39190613aea565b905061195f816001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611936573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061195a9190613aea565b613098565b505b611971634a531f3360e01b610684565b61198163b68d180960e01b610684565b505050565b600080516020613e9e833981519152805460009190600160a01b900460ff166119b0576000611731565b638fb3603760e01b91505090565b6001546001600160a01b0316604051630bee2f1560e11b81523360048201526001600160a01b0391909116906317dc5e2a90602401602060405180830381865afa158015611a10573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a349190613acd565b611a53576040516302613e9f60e51b8152336004820152602401610922565b336000611a686001546001600160a01b031690565b6040516308b09a5f60e41b81526001600160a01b038481166004830152919250600091831690638b09a5f090602401600060405180830381865afa158015611ab4573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611adc9190810190613b6d565b602001516040516305247a1760e51b81526001600160601b03821660048201529091506000906001600160a01b0384169063a48f42e090602401600060405180830381865afa158015611b33573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611b5b9190810190613b6d565b608001519050806001600160a01b031663311adb686040518163ffffffff1660e01b8152600401602060405180830381865afa158015611b9f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611bc39190613aea565b6040516313bfaf6360e31b81526001600160a01b03868116600483015287151560248301529190911690639dfd7b1890604401600060405180830381600087803b158015611c1057600080fd5b505af1158015611c24573d6000803e3d6000fd5b505050505050505050565b600080516020613e9e833981519152546001600160a01b031690565b80611c5e6001546001600160a01b031690565b604051631c5da14d60e11b81526001600160601b03831660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015611cad573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611cd19190613aea565b6001600160a01b0316336001600160a01b031614611d04576040516302613e9f60e51b8152336004820152602401610922565b6000611d186001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03851660048201529091506000906001600160a01b0383169063a48f42e090602401600060405180830381865afa158015611d6b573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611d939190810190613b6d565b608081015160065491925090600090611db4906001600160a01b03166130a9565b60405163189acdbd60e31b81526001600160a01b0384811660048301529192509082169063c4d66de890602401600060405180830381600087803b158015611dfb57600080fd5b505af1158015611e0f573d6000803e3d6000fd5b5050604051633def10c760e21b81526001600160a01b0384811660048301528516925063f7bc431c9150602401600060405180830381600087803b158015611e5657600080fd5b505af1158015611e6a573d6000803e3d6000fd5b50505050505050505050565b600354600090819033908290611e94906001600160a01b03166130a9565b60405163189acdbd60e31b81523060048201529091506001600160a01b0382169063c4d66de890602401600060405180830381600087803b158015611ed857600080fd5b505af1158015611eec573d6000803e3d6000fd5b5050600554611f0692506001600160a01b031690506130a9565b9350836001600160a01b031663c0c53b8b82611f2a6001546001600160a01b031690565b6040516001600160e01b031960e085901b1681526001600160a01b03928316600482015290821660248201529085166044820152606401600060405180830381600087803b158015611f7b57600080fd5b505af1158015611f8f573d6000803e3d6000fd5b505060085460009250611fab91506001600160a01b03166130a9565b60405163189acdbd60e31b81526001600160a01b0387811660048301529192509082169063c4d66de890602401600060405180830381600087803b158015611ff257600080fd5b505af1158015612006573d6000803e3d6000fd5b505060405163048935d560e31b81526001600160a01b03848116600483015288169250632449aea89150602401600060405180830381600087803b15801561204d57600080fd5b505af1158015612061573d6000803e3d6000fd5b50506006546000925061207d91506001600160a01b03166130a9565b60405163189acdbd60e31b81526001600160a01b0388811660048301529192509082169063c4d66de890602401600060405180830381600087803b1580156120c457600080fd5b505af11580156120d8573d6000803e3d6000fd5b5050604051633def10c760e21b81526001600160a01b0384811660048301528916925063f7bc431c9150602401600060405180830381600087803b15801561211f57600080fd5b505af1158015612133573d6000803e3d6000fd5b50506007546000925061214f91506001600160a01b03166130a9565b60405163189acdbd60e31b81526001600160a01b0389811660048301529192509082169063c4d66de890602401600060405180830381600087803b15801561219657600080fd5b505af11580156121aa573d6000803e3d6000fd5b505060405162422c9d60e81b81526001600160a01b0384811660048301528a16925063422c9d009150602401600060405180830381600087803b1580156121f057600080fd5b505af1158015612204573d6000803e3d6000fd5b50506004546000925061222091506001600160a01b03166130a9565b9050846001600160a01b03166325c471a0612239613116565b604051631517388760e21b81526001600160401b03909116600482015273__$1d92393fa9ccd763988368ce8a1cb90d26$__9063545ce21c90602401602060405180830381865af4158015612292573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906122b69190613aa5565b6040516001600160e01b031960e084901b1681526001600160401b0390911660048201526001600160a01b038416602482015260006044820152606401600060405180830381600087803b15801561230d57600080fd5b505af1158015612321573d6000803e3d6000fd5b505060405163189acdbd60e31b81526001600160a01b038b811660048301528416925063c4d66de89150602401600060405180830381600087803b15801561236857600080fd5b505af115801561237c573d6000803e3d6000fd5b5050604051633b85588160e11b81526001600160a01b0384811660048301528b16925063770ab1029150602401600060405180830381600087803b1580156123c357600080fd5b505af11580156123d7573d6000803e3d6000fd5b5050505073__$2a34b1f180a6bf22a62a9bc53ba8adfaf5$__639659280286838b86898c61240d6001546001600160a01b031690565b61241561049b565b60405163c9e66e2960e01b815262ffffff909116600482015273__$8eede297b65ed5a56eb3f84d8232ae93f5$__9063c9e66e2990602401602060405180830381865af415801561246a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061248e9190613d30565b60405160e08a901b6001600160e01b03191681526001600160a01b0398891660048201529688166024880152948716604487015292861660648601529085166084850152841660a484015290921660c482015260ff90911660e48201526101040160006040518083038186803b15801561250757600080fd5b505af415801561251b573d6000803e3d6000fd5b50505050846001600160a01b031663fe0776f5612536613116565b604051631517388760e21b81526001600160401b03909116600482015273__$1d92393fa9ccd763988368ce8a1cb90d26$__9063545ce21c90602401602060405180830381865af415801561258f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906125b39190613aa5565b6040516001600160e01b031960e084901b1681526001600160401b039091166004820152306024820152604401600060405180830381600087803b1580156125fa57600080fd5b505af115801561260e573d6000803e3d6000fd5b505060025460405163026bc43b60e01b81526001600160a01b038c811660048301528a8116602483015260009450909116915063026bc43b906044016000604051808303816000875af1158015612669573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526126919190810190613b6d565b8051604080516001600160a01b038a8116825286811660208301528d81168284015289811660608301528781166080830152881660a08201526001600160601b03831660c08201529051919a509192507eccc9e339dab7298ad32b43864beb3b1c0cf136971be26f1e67d90bf43ebd3d9181900360e00190a1505050505050509091565b61271d612b05565b61272681610a3b565b61272e6108a3565b6001600160a01b0382166127555760405163f17ef42d60e01b815260040160405180910390fd5b50600080516020613e7e83398151915280546001600160601b0316600160601b6001600160a01b0390931692909202919091179055565b612794611616565b6001600160a01b0316336001600160a01b0316146127c75760405163086391f760e31b8152336004820152602401610922565b6006546001600160a01b03166127f0576040516358e5a4af60e01b815260040160405180910390fd5b6001600160a01b03811661281757604051631aa1808560e31b815260040160405180910390fd5b6006546001600160a01b039081169082160361284657604051630666e2a560e01b815260040160405180910390fd5b6005546040805163379ed74560e21b8152905183926001600160a01b03908116929084169163de7b5d14916004808201926020929091908290030181865afa158015612896573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906128ba9190613aea565b6001600160a01b0316146128e15760405163f026367160e01b815260040160405180910390fd5b50600680546001600160a01b0319166001600160a01b0392909216919091179055565b600080600080516020613e7e83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015612974573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906129989190613acd565b156129c45780546040516301ab8b6760e21b81526001600160601b039091166004820152602401610922565b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038581166004830152919091169063c3c5a54790602401602060405180830381865afa158015612a18573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612a3c9190613acd565b612a645760405163b9304b0d60e01b81526001600160a01b0384166004820152602401610922565b6001546001600160a01b0316604051636939560f60e11b81526001600160a01b038581166004830152919091169063d272ac1e90602401602060405180830381865afa158015612ab8573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612adc9190613d13565b81546bffffffffffffffffffffffff19166001600160601b039190911690811790915592915050565b600080516020613ebe83398151915254600160401b900460ff16612b3c57604051631afcd79f60e31b815260040160405180910390fd5b565b6101da612b05565b600080516020613ebe8339815191528054600160401b810460ff1615906001600160401b0316600081158015612b795750825b90506000826001600160401b03166001148015612b955750303b155b905081158015612ba3575080155b15612bc15760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315612beb57845460ff60401b1916600160401b1785555b60008087806020019051810190612c029190613d4d565b9250509150612c1282828b61174d565b6001600160a01b03821663d39e60436028612c2b61049b565b60405163c9e66e2960e01b815262ffffff909116600482015273__$8eede297b65ed5a56eb3f84d8232ae93f5$__9063c9e66e2990602401602060405180830381865af4158015612c80573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612ca49190613d30565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa158015612ce9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612d0d9190613aea565b600280546001600160a01b0319166001600160a01b0392909216919091179055612d3d630655ba6560e31b610684565b50508315610a3257845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d290602001610a29565b600080516020613e9e833981519152600080612dbc612d9e611c2f565b8730612dae600460008a8c613d8f565b612db791613db9565b61318d565b9150915081612e7f5763ffffffff811615612e5c57825460ff60a01b1916600160a01b178355612dea611c2f565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b8152600401612e1993929190613de9565b600060405180830381600087803b158015612e3357600080fd5b505af1158015612e47573d6000803e3d6000fd5b5050845460ff60a01b1916855550612e7f9050565b60405162d1953b60e31b81526001600160a01b0387166004820152602401610922565b505050505050565b6000806000612e9e6001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03871660048201529091506000906001600160a01b0383169063a48f42e090602401600060405180830381865afa158015612ef1573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052612f199190810190613b6d565b9050612f378160400151612f2b604690565b60ff9081169116141590565b15612f605760405163e3c2794960e01b81526001600160601b0387166004820152602401610922565b6040516308b09a5f60e41b81526001600160a01b03868116600483015260009190841690638b09a5f090602401600060405180830381865afa158015612faa573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052612fd29190810190613b6d565b9050612fef8160200151886001600160601b039081169116141590565b1561302357805160405163a811346560e01b81526001600160601b03808a1660048301529091166024820152604401610922565b608090910151905190969095509350505050565b600080516020613e9e83398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b6130a0612b05565b61068181613299565b6000763d602d80600a3d3981f3363d3d373d3d3d363d730000008260601b60e81c176000526e5af43d82803e903d91602b57fd5bf38260781b17602052603760096000f090506001600160a01b038116610937576040516330be1a3d60e21b815260040160405180910390fd5b6040516368aebf7b60e01b81526000600482018190529073__$1d92393fa9ccd763988368ce8a1cb90d26$__906368aebf7b90602401602060405180830381865af4158015613169573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105209190613aa5565b6040516001600160a01b03848116602483015283811660448301526001600160e01b03198316606483015260009182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b179052516131fc9190613e29565b600060405180830381855afa9150503d8060008114613237576040519150601f19603f3d011682016040523d82523d6000602084013e61323c565b606091505b5091509150811561328e57604081511061326e57808060200190518101906132649190613e45565b909450925061328e565b602081511061328e578080602001905181019061328b9190613acd565b93505b505094509492505050565b6132a1612b05565b61068181613037565b80356001600160e01b03198116811461093757600080fd5b6000602082840312156132d457600080fd5b6132dd826132aa565b9392505050565b60005b838110156132ff5781810151838201526020016132e7565b50506000910152565b600081518084526133208160208601602086016132e4565b601f01601f19169290920160200192915050565b6020815260006001600160601b038084511660208401528060208501511660408401525060ff604084015116606083015260608301511515608083015260018060a01b0360808401511660a083015260a083015161339d60c08401826001600160a01b03169052565b5060c083015160e0808401526133b7610100840182613308565b949350505050565b6001600160a01b038116811461068157600080fd5b6001600160601b038116811461068157600080fd5b60ff8116811461068157600080fd5b801515811461068157600080fd5b634e487b7160e01b600052604160045260246000fd5b60405160e081016001600160401b038111828210171561343e5761343e613406565b60405290565b604051601f8201601f191681016001600160401b038111828210171561346c5761346c613406565b604052919050565b60006001600160401b0382111561348d5761348d613406565b50601f01601f191660200190565b60006134ae6134a984613474565b613444565b90508281528383830111156134c257600080fd5b828260208301376000602084830101529392505050565b600082601f8301126134ea57600080fd5b6132dd8383356020850161349b565b60008060008060008060c0878903121561351257600080fd5b863561351d816133bf565b9550602087013561352d816133d4565b9450604087013561353d816133e9565b9350606087013561354d816133f8565b9250608087013561355d816133bf565b915060a08701356001600160401b0381111561357857600080fd5b61358489828a016134d9565b9150509295509295509295565b6000602082840312156135a357600080fd5b81356001600160401b038111156135b957600080fd5b6133b7848285016134d9565b6000602082840312156135d757600080fd5b81356132dd816133bf565b600080604083850312156135f557600080fd5b8235613600816133bf565b915060208301356001600160401b0381111561361b57600080fd5b613627858286016134d9565b9150509250929050565b60006001600160401b0382111561364a5761364a613406565b5060051b60200190565b600082601f83011261366557600080fd5b813560206136756134a983613631565b828152600592831b850182019282820191908785111561369457600080fd5b8387015b8581101561372e5780356001600160401b038111156136b75760008081fd5b8801603f81018a136136c95760008081fd5b8581013560406136db6134a983613631565b82815291851b8301810191888101908d8411156136f85760008081fd5b938201935b8385101561371d5761370e856132aa565b825293890193908901906136fd565b885250505093850193508401613698565b5090979650505050505050565b6001600160401b038116811461068157600080fd5b600082601f83011261376157600080fd5b813560206137716134a983613631565b82815260059290921b8401810191818101908684111561379057600080fd5b8286015b848110156137b45780356137a78161373b565b8352918301918301613794565b509695505050505050565b600080600080600060a086880312156137d757600080fd5b85356137e2816133d4565b945060208601356137f2816133bf565b935060408601356001600160401b038082111561380e57600080fd5b818801915088601f83011261382257600080fd5b6138318983356020850161349b565b9450606088013591508082111561384757600080fd5b61385389838a01613654565b9350608088013591508082111561386957600080fd5b5061387688828901613750565b9150509295509295909350565b60008060006060848603121561389857600080fd5b83356138a3816133bf565b925060208401356138b3816133bf565b915060408401356138c3816133bf565b809150509250925092565b6000602082840312156138e057600080fd5b81356132dd816133f8565b6000602082840312156138fd57600080fd5b81356132dd816133d4565b6000806040838503121561391b57600080fd5b8235613926816133bf565b91506020830135613936816133bf565b809150509250929050565b60006020828403121561395357600080fd5b815162ffffff811681146132dd57600080fd5b600181811c9082168061397a57607f821691505b60208210810361399a57634e487b7160e01b600052602260045260246000fd5b50919050565b601f82111561198157600081815260208120601f850160051c810160208610156139c75750805b601f850160051c820191505b81811015612e7f578281556001016139d3565b81516001600160401b038111156139ff576139ff613406565b613a1381613a0d8454613966565b846139a0565b602080601f831160018114613a485760008415613a305750858301515b600019600386901b1c1916600185901b178555612e7f565b600085815260208120601f198616915b82811015613a7757888601518255948401946001909101908401613a58565b5085821015613a955787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b600060208284031215613ab757600080fd5b81516132dd8161373b565b8051610937816133f8565b600060208284031215613adf57600080fd5b81516132dd816133f8565b600060208284031215613afc57600080fd5b81516132dd816133bf565b8051610937816133bf565b8051610937816133d4565b8051610937816133e9565b600082601f830112613b3957600080fd5b8151613b476134a982613474565b818152846020838601011115613b5c57600080fd5b6133b78260208301602087016132e4565b600060208284031215613b7f57600080fd5b81516001600160401b0380821115613b9657600080fd5b9083019060e08286031215613baa57600080fd5b613bb261341c565b613bbb83613b12565b8152613bc960208401613b12565b6020820152613bda60408401613b1d565b6040820152613beb60608401613ac2565b6060820152613bfc60808401613b07565b6080820152613c0d60a08401613b07565b60a082015260c083015182811115613c2457600080fd5b613c3087828601613b28565b60c08301525095945050505050565b6001600160a01b03831681526040602082018190526000906133b790830184613308565b634e487b7160e01b600052603260045260246000fd5b606081526000613c8c6060830186613308565b82810360208481019190915285518083528682019282019060005b81811015613ccd5784516001600160e01b03191683529383019391830191600101613ca7565b50508093505050506001600160401b0383166040830152949350505050565b600060018201613d0c57634e487b7160e01b600052601160045260246000fd5b5060010190565b600060208284031215613d2557600080fd5b81516132dd816133d4565b600060208284031215613d4257600080fd5b81516132dd816133e9565b600080600060608486031215613d6257600080fd5b8351613d6d816133bf565b6020850151909350613d7e816133bf565b60408501519092506138c3816133bf565b60008085851115613d9f57600080fd5b83861115613dac57600080fd5b5050820193919092039150565b6001600160e01b03198135818116916004851015613de15780818660040360031b1b83161692505b505092915050565b6001600160a01b03841681526040602082018190528101829052818360608301376000818301606090810191909152601f909201601f1916010192915050565b60008251613e3b8184602087016132e4565b9190910192915050565b60008060408385031215613e5857600080fd5b8251613e63816133f8565b602084015190925063ffffffff8116811461393657600080fdfe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00f0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00a264697066735822122091a7d7390354e6d654774656e1f129fb43703b499732ac225f4da17fb02987c464736f6c63430008140033",
869
+ "deployedBytecode": "0x608060405234801561001057600080fd5b50600436106101da5760003560e01c80636c6fbb2811610104578063b03d2a8e116100a2578063edabac0311610071578063edabac0314610435578063eeff428e14610446578063f7c34ee014610475578063feec11901461048857600080fd5b8063b03d2a8e146103f8578063b68d18091461040b578063bf7e214f1461041a578063c22f980d1461042257600080fd5b8063893d20e8116100de578063893d20e8146103a75780638e32e979146103af5780638fb36037146103c2578063ada9652e146103e357600080fd5b80636c6fbb28146103795780637a9e5e4b1461038c578063872309c71461039f57600080fd5b8063329d6e741161017c5780635ab1bd531161014b5780635ab1bd5314610310578063644c45e014610335578063675393bf146103535780636a778e731461036657600080fd5b8063329d6e74146102b757806336fc697e146102ca57806340be2376146102d257806349bb9e4b146102fd57600080fd5b8063138461e0116101b8578063138461e0146102525780631eff4b221461025c578063214cdb801461029157806327bb7a33146102a457600080fd5b806301ffc9a7146101df5780630d8e6e2c146102215780630fec111c1461023d575b600080fd5b61020c6101ed3660046132c2565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b61022961049b565b60405162ffffff9091168152602001610218565b610245610525565b6040516102189190613334565b61025a610678565b005b6102837f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b604051908152602001610218565b61025a61029f3660046132c2565b610684565b61025a6102b23660046134f9565b6106b1565b61025a6102c5366004613591565b610756565b61025a6108a3565b6102e56102e03660046135c5565b6108e9565b6040516001600160601b039091168152602001610218565b61025a61030b3660046135e2565b61093c565b6001546001600160a01b03165b6040516001600160a01b039091168152602001610218565b600080516020613e7e833981519152546001600160601b03166102e5565b61025a6103613660046135c5565b610a3b565b6102e56103743660046135c5565b610b48565b61025a6103873660046137bf565b6113fe565b61025a61039a3660046135c5565b611593565b610283600081565b61031d611616565b61025a6103bd366004613883565b61174d565b6103ca611986565b6040516001600160e01b03199091168152602001610218565b610283600080516020613e7e83398151915281565b61025a6104063660046138ce565b6119be565b60405160468152602001610218565b61031d611c2f565b61025a6104303660046138eb565b611c4b565b6006546001600160a01b031661031d565b61044e611e76565b604080516001600160a01b0390931683526001600160601b03909116602083015201610218565b61025a610483366004613908565b612715565b61025a6104963660046135c5565b61278c565b604051632efe011360e01b815260036004820152600060248201819052604482018190529073__$8eede297b65ed5a56eb3f84d8232ae93f5$__90632efe011390606401602060405180830381865af41580156104fc573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105209190613941565b905090565b6040805160e0808201835260008083526020830181905282840181905260608084018290526080840182905260a0840182905260c0840152835191820190935290917f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa300919081906001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a0016105d4611616565b6001600160a01b031681526020018260010180546105f190613966565b80601f016020809104026020016040519081016040528092919081815260200182805461061d90613966565b801561066a5780601f1061063f5761010080835404028352916020019161066a565b820191906000526020600020905b81548152906001019060200180831161064d57829003601f168201915b505050505081525091505090565b61068130612904565b50565b61068c612b05565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b6106b9612b05565b6106c38287612715565b7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0387166cffffffffffffffffffffffffff1990911617600160601b60ff8716021760ff60681b1916600160681b851515021781557f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30161074c83826139e6565b5050505050505050565b73__$8eede297b65ed5a56eb3f84d8232ae93f5$__63a123b37c61077861049b565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af41580156107b8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107dc9190613aa5565b600080516020613ebe8339815191528054600160401b900460ff168061080f575080546001600160401b03808416911610155b1561082d5760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b17815561085783612b3e565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a1505050565b6108ab612b05565b6301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b60006108f3611616565b6001600160a01b0316336001600160a01b03161461092b5760405163086391f760e31b81523360048201526024015b60405180910390fd5b61093482612904565b90505b919050565b600080516020613ebe8339815191528054600160401b810460ff1615906001600160401b031660008115801561096f5750825b90506000826001600160401b0316600114801561098b5750303b155b905081158015610999575080155b156109b75760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff1916600117855583156109e157845460ff60401b1916600160401b1785555b6109eb8787612b46565b8315610a3257845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a15b50505050505050565b610a43612b05565b806001600160a01b03163b600003610a795760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610922565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b81526312da491160e01b60048201526301ffc9a790602401602060405180830381865afa925050508015610af3575060408051601f3d908101601f19168201909252610af091810190613acd565b60015b610b1b5760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610922565b80610b445760405163fdeac91f60e01b81526001600160a01b0383166004820152602401610922565b5050565b6000610b52611616565b6001600160a01b0316336001600160a01b031614610b855760405163086391f760e31b8152336004820152602401610922565b6005546001600160a01b031615610baf57604051632c237de760e11b815260040160405180910390fd5b6003546001600160a01b031615610bd957604051636519f6b960e01b815260040160405180910390fd5b6004546001600160a01b031615610c035760405163ab0cc43960e01b815260040160405180910390fd5b6007546001600160a01b031615610c2d57604051637f405a2960e01b815260040160405180910390fd5b6001600160a01b038216610c54576040516309353e4560e11b815260040160405180910390fd5b60008290506000816001600160a01b031663311adb686040518163ffffffff1660e01b8152600401602060405180830381865afa158015610c99573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610cbd9190613aea565b905060008190506000836001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015610d04573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d289190613aea565b905060008190506000856001600160a01b03166361f5f4206040518163ffffffff1660e01b8152600401602060405180830381865afa158015610d6f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d939190613aea565b905060008190506000876001600160a01b031663d4cda0d86040518163ffffffff1660e01b8152600401602060405180830381865afa158015610dda573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610dfe9190613aea565b9050806001600160a01b038716610e27576040516295661560e31b815260040160405180910390fd5b6001600160a01b038516610e4e5760405163e267254160e01b815260040160405180910390fd5b6001600160a01b038316610e7557604051630ddeaef560e11b815260040160405180910390fd5b6001600160a01b038116610e9c576040516301fa2a2b60e01b815260040160405180910390fd5b876001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610eda573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610efe9190613aea565b6001600160a01b0316896001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610f45573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f699190613aea565b6001600160a01b031614610f90576040516334ddf1a760e21b815260040160405180910390fd5b876001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610fce573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ff29190613aea565b6001600160a01b0316846001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611039573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061105d9190613aea565b6001600160a01b031614611084576040516326c89a4160e01b815260040160405180910390fd5b876001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156110c2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110e69190613aea565b6001600160a01b0316826001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561112d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111519190613aea565b6001600160a01b03161461117857604051631129422760e31b815260040160405180910390fd5b886001600160a01b0316846001600160a01b031663de7b5d146040518163ffffffff1660e01b8152600401602060405180830381865afa1580156111c0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111e49190613aea565b6001600160a01b03161461120b57604051631b25e96d60e31b815260040160405180910390fd5b886001600160a01b0316866001600160a01b031663de7b5d146040518163ffffffff1660e01b8152600401602060405180830381865afa158015611253573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112779190613aea565b6001600160a01b03161461129e576040516331783c7160e11b815260040160405180910390fd5b886001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156112dc573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113009190613aea565b600380546001600160a01b03199081166001600160a01b03938416179091556004805482168a84161790556005805482168e8416908117909155600680548316898516179055600780548316878516179055600880549092168484161790915560025490916000911663026bc43b83611377611616565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016000604051808303816000875af11580156113c4573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526113ec9190810190613b6d565b519d9c50505050505050505050505050565b61140a33600036612d81565b60006114168686612e87565b5090506000816001600160a01b031663311adb686040518163ffffffff1660e01b8152600401602060405180830381865afa158015611459573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061147d9190613aea565b60405163044ec4c360e41b81529091506001600160a01b038216906344ec4c30906114ae9089908990600401613c3f565b600060405180830381600087803b1580156114c857600080fd5b505af11580156114dc573d6000803e3d6000fd5b5050505060005b835181101561074c57816001600160a01b0316630c8ae53e8787848151811061150e5761150e613c63565b602002602001015187858151811061152857611528613c63565b60200260200101516040518463ffffffff1660e01b815260040161154e93929190613c79565b600060405180830381600087803b15801561156857600080fd5b505af115801561157c573d6000803e3d6000fd5b50505050808061158b90613cec565b9150506114e3565b3361159c611c2f565b6001600160a01b0316816001600160a01b0316146115d75760405162d1953b60e31b81526001600160a01b0382166004820152602401610922565b816001600160a01b03163b60000361160d576040516361798f2f60e11b81526001600160a01b0383166004820152602401610922565b610b4482613037565b600080600080516020613e7e83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015611686573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116aa9190613acd565b15611737576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa15801561170d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117319190613aea565b91505090565b54600160601b90046001600160a01b0316919050565b611755612b05565b6117d583846001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa158015611797573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117bb9190613d13565b603c600085604051806020016040528060008152506106b1565b6001600160a01b038216156117f2576117ed82613098565b611961565b60006118066001546001600160a01b031690565b6001600160a01b031663d39e60436028604051632392b61b60e21b81526003600482015273__$b659da7d8a6d2d32aa6c1e17da23dc2174$__90638e4ad86c90602401602060405180830381865af4158015611866573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061188a9190613d30565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa1580156118cf573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118f39190613aea565b905061195f816001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611936573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061195a9190613aea565b613098565b505b611971634a531f3360e01b610684565b61198163b68d180960e01b610684565b505050565b600080516020613e9e833981519152805460009190600160a01b900460ff166119b0576000611731565b638fb3603760e01b91505090565b6001546001600160a01b0316604051630bee2f1560e11b81523360048201526001600160a01b0391909116906317dc5e2a90602401602060405180830381865afa158015611a10573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a349190613acd565b611a53576040516302613e9f60e51b8152336004820152602401610922565b336000611a686001546001600160a01b031690565b6040516308b09a5f60e41b81526001600160a01b038481166004830152919250600091831690638b09a5f090602401600060405180830381865afa158015611ab4573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611adc9190810190613b6d565b602001516040516305247a1760e51b81526001600160601b03821660048201529091506000906001600160a01b0384169063a48f42e090602401600060405180830381865afa158015611b33573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611b5b9190810190613b6d565b608001519050806001600160a01b031663311adb686040518163ffffffff1660e01b8152600401602060405180830381865afa158015611b9f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611bc39190613aea565b6040516313bfaf6360e31b81526001600160a01b03868116600483015287151560248301529190911690639dfd7b1890604401600060405180830381600087803b158015611c1057600080fd5b505af1158015611c24573d6000803e3d6000fd5b505050505050505050565b600080516020613e9e833981519152546001600160a01b031690565b80611c5e6001546001600160a01b031690565b604051631c5da14d60e11b81526001600160601b03831660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015611cad573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611cd19190613aea565b6001600160a01b0316336001600160a01b031614611d04576040516302613e9f60e51b8152336004820152602401610922565b6000611d186001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03851660048201529091506000906001600160a01b0383169063a48f42e090602401600060405180830381865afa158015611d6b573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611d939190810190613b6d565b608081015160065491925090600090611db4906001600160a01b03166130a9565b60405163189acdbd60e31b81526001600160a01b0384811660048301529192509082169063c4d66de890602401600060405180830381600087803b158015611dfb57600080fd5b505af1158015611e0f573d6000803e3d6000fd5b5050604051633def10c760e21b81526001600160a01b0384811660048301528516925063f7bc431c9150602401600060405180830381600087803b158015611e5657600080fd5b505af1158015611e6a573d6000803e3d6000fd5b50505050505050505050565b600354600090819033908290611e94906001600160a01b03166130a9565b60405163189acdbd60e31b81523060048201529091506001600160a01b0382169063c4d66de890602401600060405180830381600087803b158015611ed857600080fd5b505af1158015611eec573d6000803e3d6000fd5b5050600554611f0692506001600160a01b031690506130a9565b9350836001600160a01b031663c0c53b8b82611f2a6001546001600160a01b031690565b6040516001600160e01b031960e085901b1681526001600160a01b03928316600482015290821660248201529085166044820152606401600060405180830381600087803b158015611f7b57600080fd5b505af1158015611f8f573d6000803e3d6000fd5b505060085460009250611fab91506001600160a01b03166130a9565b60405163189acdbd60e31b81526001600160a01b0387811660048301529192509082169063c4d66de890602401600060405180830381600087803b158015611ff257600080fd5b505af1158015612006573d6000803e3d6000fd5b505060405163048935d560e31b81526001600160a01b03848116600483015288169250632449aea89150602401600060405180830381600087803b15801561204d57600080fd5b505af1158015612061573d6000803e3d6000fd5b50506006546000925061207d91506001600160a01b03166130a9565b60405163189acdbd60e31b81526001600160a01b0388811660048301529192509082169063c4d66de890602401600060405180830381600087803b1580156120c457600080fd5b505af11580156120d8573d6000803e3d6000fd5b5050604051633def10c760e21b81526001600160a01b0384811660048301528916925063f7bc431c9150602401600060405180830381600087803b15801561211f57600080fd5b505af1158015612133573d6000803e3d6000fd5b50506007546000925061214f91506001600160a01b03166130a9565b60405163189acdbd60e31b81526001600160a01b0389811660048301529192509082169063c4d66de890602401600060405180830381600087803b15801561219657600080fd5b505af11580156121aa573d6000803e3d6000fd5b505060405162422c9d60e81b81526001600160a01b0384811660048301528a16925063422c9d009150602401600060405180830381600087803b1580156121f057600080fd5b505af1158015612204573d6000803e3d6000fd5b50506004546000925061222091506001600160a01b03166130a9565b9050846001600160a01b03166325c471a0612239613116565b604051631517388760e21b81526001600160401b03909116600482015273__$1d92393fa9ccd763988368ce8a1cb90d26$__9063545ce21c90602401602060405180830381865af4158015612292573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906122b69190613aa5565b6040516001600160e01b031960e084901b1681526001600160401b0390911660048201526001600160a01b038416602482015260006044820152606401600060405180830381600087803b15801561230d57600080fd5b505af1158015612321573d6000803e3d6000fd5b505060405163189acdbd60e31b81526001600160a01b038b811660048301528416925063c4d66de89150602401600060405180830381600087803b15801561236857600080fd5b505af115801561237c573d6000803e3d6000fd5b5050604051633b85588160e11b81526001600160a01b0384811660048301528b16925063770ab1029150602401600060405180830381600087803b1580156123c357600080fd5b505af11580156123d7573d6000803e3d6000fd5b5050505073__$2a34b1f180a6bf22a62a9bc53ba8adfaf5$__639659280286838b86898c61240d6001546001600160a01b031690565b61241561049b565b60405163c9e66e2960e01b815262ffffff909116600482015273__$8eede297b65ed5a56eb3f84d8232ae93f5$__9063c9e66e2990602401602060405180830381865af415801561246a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061248e9190613d30565b60405160e08a901b6001600160e01b03191681526001600160a01b0398891660048201529688166024880152948716604487015292861660648601529085166084850152841660a484015290921660c482015260ff90911660e48201526101040160006040518083038186803b15801561250757600080fd5b505af415801561251b573d6000803e3d6000fd5b50505050846001600160a01b031663fe0776f5612536613116565b604051631517388760e21b81526001600160401b03909116600482015273__$1d92393fa9ccd763988368ce8a1cb90d26$__9063545ce21c90602401602060405180830381865af415801561258f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906125b39190613aa5565b6040516001600160e01b031960e084901b1681526001600160401b039091166004820152306024820152604401600060405180830381600087803b1580156125fa57600080fd5b505af115801561260e573d6000803e3d6000fd5b505060025460405163026bc43b60e01b81526001600160a01b038c811660048301528a8116602483015260009450909116915063026bc43b906044016000604051808303816000875af1158015612669573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526126919190810190613b6d565b8051604080516001600160a01b038a8116825286811660208301528d81168284015289811660608301528781166080830152881660a08201526001600160601b03831660c08201529051919a509192507eccc9e339dab7298ad32b43864beb3b1c0cf136971be26f1e67d90bf43ebd3d9181900360e00190a1505050505050509091565b61271d612b05565b61272681610a3b565b61272e6108a3565b6001600160a01b0382166127555760405163f17ef42d60e01b815260040160405180910390fd5b50600080516020613e7e83398151915280546001600160601b0316600160601b6001600160a01b0390931692909202919091179055565b612794611616565b6001600160a01b0316336001600160a01b0316146127c75760405163086391f760e31b8152336004820152602401610922565b6006546001600160a01b03166127f0576040516358e5a4af60e01b815260040160405180910390fd5b6001600160a01b03811661281757604051631aa1808560e31b815260040160405180910390fd5b6006546001600160a01b039081169082160361284657604051630666e2a560e01b815260040160405180910390fd5b6005546040805163379ed74560e21b8152905183926001600160a01b03908116929084169163de7b5d14916004808201926020929091908290030181865afa158015612896573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906128ba9190613aea565b6001600160a01b0316146128e15760405163f026367160e01b815260040160405180910390fd5b50600680546001600160a01b0319166001600160a01b0392909216919091179055565b600080600080516020613e7e83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015612974573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906129989190613acd565b156129c45780546040516301ab8b6760e21b81526001600160601b039091166004820152602401610922565b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038581166004830152919091169063c3c5a54790602401602060405180830381865afa158015612a18573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612a3c9190613acd565b612a645760405163b9304b0d60e01b81526001600160a01b0384166004820152602401610922565b6001546001600160a01b0316604051636939560f60e11b81526001600160a01b038581166004830152919091169063d272ac1e90602401602060405180830381865afa158015612ab8573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612adc9190613d13565b81546bffffffffffffffffffffffff19166001600160601b039190911690811790915592915050565b600080516020613ebe83398151915254600160401b900460ff16612b3c57604051631afcd79f60e31b815260040160405180910390fd5b565b6101da612b05565b600080516020613ebe8339815191528054600160401b810460ff1615906001600160401b0316600081158015612b795750825b90506000826001600160401b03166001148015612b955750303b155b905081158015612ba3575080155b15612bc15760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315612beb57845460ff60401b1916600160401b1785555b60008087806020019051810190612c029190613d4d565b9250509150612c1282828b61174d565b6001600160a01b03821663d39e60436028612c2b61049b565b60405163c9e66e2960e01b815262ffffff909116600482015273__$8eede297b65ed5a56eb3f84d8232ae93f5$__9063c9e66e2990602401602060405180830381865af4158015612c80573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612ca49190613d30565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa158015612ce9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612d0d9190613aea565b600280546001600160a01b0319166001600160a01b0392909216919091179055612d3d630655ba6560e31b610684565b50508315610a3257845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d290602001610a29565b600080516020613e9e833981519152600080612dbc612d9e611c2f565b8730612dae600460008a8c613d8f565b612db791613db9565b61318d565b9150915081612e7f5763ffffffff811615612e5c57825460ff60a01b1916600160a01b178355612dea611c2f565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b8152600401612e1993929190613de9565b600060405180830381600087803b158015612e3357600080fd5b505af1158015612e47573d6000803e3d6000fd5b5050845460ff60a01b1916855550612e7f9050565b60405162d1953b60e31b81526001600160a01b0387166004820152602401610922565b505050505050565b6000806000612e9e6001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03871660048201529091506000906001600160a01b0383169063a48f42e090602401600060405180830381865afa158015612ef1573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052612f199190810190613b6d565b9050612f378160400151612f2b604690565b60ff9081169116141590565b15612f605760405163e3c2794960e01b81526001600160601b0387166004820152602401610922565b6040516308b09a5f60e41b81526001600160a01b03868116600483015260009190841690638b09a5f090602401600060405180830381865afa158015612faa573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052612fd29190810190613b6d565b9050612fef8160200151886001600160601b039081169116141590565b1561302357805160405163a811346560e01b81526001600160601b03808a1660048301529091166024820152604401610922565b608090910151905190969095509350505050565b600080516020613e9e83398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b6130a0612b05565b61068181613299565b6000763d602d80600a3d3981f3363d3d373d3d3d363d730000008260601b60e81c176000526e5af43d82803e903d91602b57fd5bf38260781b17602052603760096000f090506001600160a01b038116610937576040516330be1a3d60e21b815260040160405180910390fd5b6040516368aebf7b60e01b81526000600482018190529073__$1d92393fa9ccd763988368ce8a1cb90d26$__906368aebf7b90602401602060405180830381865af4158015613169573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105209190613aa5565b6040516001600160a01b03848116602483015283811660448301526001600160e01b03198316606483015260009182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b179052516131fc9190613e29565b600060405180830381855afa9150503d8060008114613237576040519150601f19603f3d011682016040523d82523d6000602084013e61323c565b606091505b5091509150811561328e57604081511061326e57808060200190518101906132649190613e45565b909450925061328e565b602081511061328e578080602001905181019061328b9190613acd565b93505b505094509492505050565b6132a1612b05565b61068181613037565b80356001600160e01b03198116811461093757600080fd5b6000602082840312156132d457600080fd5b6132dd826132aa565b9392505050565b60005b838110156132ff5781810151838201526020016132e7565b50506000910152565b600081518084526133208160208601602086016132e4565b601f01601f19169290920160200192915050565b6020815260006001600160601b038084511660208401528060208501511660408401525060ff604084015116606083015260608301511515608083015260018060a01b0360808401511660a083015260a083015161339d60c08401826001600160a01b03169052565b5060c083015160e0808401526133b7610100840182613308565b949350505050565b6001600160a01b038116811461068157600080fd5b6001600160601b038116811461068157600080fd5b60ff8116811461068157600080fd5b801515811461068157600080fd5b634e487b7160e01b600052604160045260246000fd5b60405160e081016001600160401b038111828210171561343e5761343e613406565b60405290565b604051601f8201601f191681016001600160401b038111828210171561346c5761346c613406565b604052919050565b60006001600160401b0382111561348d5761348d613406565b50601f01601f191660200190565b60006134ae6134a984613474565b613444565b90508281528383830111156134c257600080fd5b828260208301376000602084830101529392505050565b600082601f8301126134ea57600080fd5b6132dd8383356020850161349b565b60008060008060008060c0878903121561351257600080fd5b863561351d816133bf565b9550602087013561352d816133d4565b9450604087013561353d816133e9565b9350606087013561354d816133f8565b9250608087013561355d816133bf565b915060a08701356001600160401b0381111561357857600080fd5b61358489828a016134d9565b9150509295509295509295565b6000602082840312156135a357600080fd5b81356001600160401b038111156135b957600080fd5b6133b7848285016134d9565b6000602082840312156135d757600080fd5b81356132dd816133bf565b600080604083850312156135f557600080fd5b8235613600816133bf565b915060208301356001600160401b0381111561361b57600080fd5b613627858286016134d9565b9150509250929050565b60006001600160401b0382111561364a5761364a613406565b5060051b60200190565b600082601f83011261366557600080fd5b813560206136756134a983613631565b828152600592831b850182019282820191908785111561369457600080fd5b8387015b8581101561372e5780356001600160401b038111156136b75760008081fd5b8801603f81018a136136c95760008081fd5b8581013560406136db6134a983613631565b82815291851b8301810191888101908d8411156136f85760008081fd5b938201935b8385101561371d5761370e856132aa565b825293890193908901906136fd565b885250505093850193508401613698565b5090979650505050505050565b6001600160401b038116811461068157600080fd5b600082601f83011261376157600080fd5b813560206137716134a983613631565b82815260059290921b8401810191818101908684111561379057600080fd5b8286015b848110156137b45780356137a78161373b565b8352918301918301613794565b509695505050505050565b600080600080600060a086880312156137d757600080fd5b85356137e2816133d4565b945060208601356137f2816133bf565b935060408601356001600160401b038082111561380e57600080fd5b818801915088601f83011261382257600080fd5b6138318983356020850161349b565b9450606088013591508082111561384757600080fd5b61385389838a01613654565b9350608088013591508082111561386957600080fd5b5061387688828901613750565b9150509295509295909350565b60008060006060848603121561389857600080fd5b83356138a3816133bf565b925060208401356138b3816133bf565b915060408401356138c3816133bf565b809150509250925092565b6000602082840312156138e057600080fd5b81356132dd816133f8565b6000602082840312156138fd57600080fd5b81356132dd816133d4565b6000806040838503121561391b57600080fd5b8235613926816133bf565b91506020830135613936816133bf565b809150509250929050565b60006020828403121561395357600080fd5b815162ffffff811681146132dd57600080fd5b600181811c9082168061397a57607f821691505b60208210810361399a57634e487b7160e01b600052602260045260246000fd5b50919050565b601f82111561198157600081815260208120601f850160051c810160208610156139c75750805b601f850160051c820191505b81811015612e7f578281556001016139d3565b81516001600160401b038111156139ff576139ff613406565b613a1381613a0d8454613966565b846139a0565b602080601f831160018114613a485760008415613a305750858301515b600019600386901b1c1916600185901b178555612e7f565b600085815260208120601f198616915b82811015613a7757888601518255948401946001909101908401613a58565b5085821015613a955787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b600060208284031215613ab757600080fd5b81516132dd8161373b565b8051610937816133f8565b600060208284031215613adf57600080fd5b81516132dd816133f8565b600060208284031215613afc57600080fd5b81516132dd816133bf565b8051610937816133bf565b8051610937816133d4565b8051610937816133e9565b600082601f830112613b3957600080fd5b8151613b476134a982613474565b818152846020838601011115613b5c57600080fd5b6133b78260208301602087016132e4565b600060208284031215613b7f57600080fd5b81516001600160401b0380821115613b9657600080fd5b9083019060e08286031215613baa57600080fd5b613bb261341c565b613bbb83613b12565b8152613bc960208401613b12565b6020820152613bda60408401613b1d565b6040820152613beb60608401613ac2565b6060820152613bfc60808401613b07565b6080820152613c0d60a08401613b07565b60a082015260c083015182811115613c2457600080fd5b613c3087828601613b28565b60c08301525095945050505050565b6001600160a01b03831681526040602082018190526000906133b790830184613308565b634e487b7160e01b600052603260045260246000fd5b606081526000613c8c6060830186613308565b82810360208481019190915285518083528682019282019060005b81811015613ccd5784516001600160e01b03191683529383019391830191600101613ca7565b50508093505050506001600160401b0383166040830152949350505050565b600060018201613d0c57634e487b7160e01b600052601160045260246000fd5b5060010190565b600060208284031215613d2557600080fd5b81516132dd816133d4565b600060208284031215613d4257600080fd5b81516132dd816133e9565b600080600060608486031215613d6257600080fd5b8351613d6d816133bf565b6020850151909350613d7e816133bf565b60408501519092506138c3816133bf565b60008085851115613d9f57600080fd5b83861115613dac57600080fd5b5050820193919092039150565b6001600160e01b03198135818116916004851015613de15780818660040360031b1b83161692505b505092915050565b6001600160a01b03841681526040602082018190528101829052818360608301376000818301606090810191909152601f909201601f1916010192915050565b60008251613e3b8184602087016132e4565b9190910192915050565b60008060408385031215613e5857600080fd5b8251613e63816133f8565b602084015190925063ffffffff8116811461393657600080fdfe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00f0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00a264697066735822122091a7d7390354e6d654774656e1f129fb43703b499732ac225f4da17fb02987c464736f6c63430008140033",
775
870
  "linkReferences": {
776
- "contracts/types/Blocknumber.sol": {
777
- "BlocknumberLib": [
871
+ "contracts/instance/InstanceAuthorizationsLib.sol": {
872
+ "InstanceAuthorizationsLib": [
778
873
  {
779
874
  "length": 20,
780
- "start": 4776
875
+ "start": 9411
781
876
  }
782
877
  ]
783
878
  },
784
- "contracts/types/NftId.sol": {
879
+ "contracts/type/NftId.sol": {
785
880
  "NftIdLib": [
786
881
  {
787
882
  "length": 20,
788
- "start": 2635
789
- },
790
- {
791
- "length": 20,
792
- "start": 5050
883
+ "start": 5938
793
884
  },
794
885
  {
795
886
  "length": 20,
796
- "start": 6044
887
+ "start": 10784
797
888
  }
798
889
  ]
799
890
  },
800
- "contracts/types/RoleId.sol": {
891
+ "contracts/type/RoleId.sol": {
801
892
  "RoleIdLib": [
802
893
  {
803
894
  "length": 20,
804
- "start": 11017
805
- },
806
- {
807
- "length": 20,
808
- "start": 16550
895
+ "start": 9022
809
896
  },
810
897
  {
811
898
  "length": 20,
812
- "start": 16610
899
+ "start": 9787
813
900
  },
814
901
  {
815
902
  "length": 20,
816
- "start": 16670
817
- },
818
- {
819
- "length": 20,
820
- "start": 16730
821
- },
822
- {
823
- "length": 20,
824
- "start": 16790
825
- },
903
+ "start": 12821
904
+ }
905
+ ]
906
+ },
907
+ "contracts/type/Version.sol": {
908
+ "VersionLib": [
826
909
  {
827
910
  "length": 20,
828
- "start": 16850
911
+ "start": 1448
829
912
  },
830
913
  {
831
914
  "length": 20,
832
- "start": 16910
915
+ "start": 2110
833
916
  },
834
917
  {
835
918
  "length": 20,
836
- "start": 16970
919
+ "start": 9494
837
920
  },
838
921
  {
839
922
  "length": 20,
840
- "start": 17030
841
- }
842
- ]
843
- },
844
- "contracts/types/Timestamp.sol": {
845
- "TimestampLib": [
846
- {
847
- "length": 20,
848
- "start": 10127
923
+ "start": 11564
849
924
  }
850
- ]
851
- },
852
- "contracts/types/Version.sol": {
853
- "VersionLib": [
854
- {
855
- "length": 20,
856
- "start": 1880
857
- },
858
- {
859
- "length": 20,
860
- "start": 6284
861
- },
925
+ ],
926
+ "VersionPartLib": [
862
927
  {
863
928
  "length": 20,
864
- "start": 7301
929
+ "start": 6418
865
930
  }
866
931
  ]
867
932
  }
868
933
  },
869
934
  "deployedLinkReferences": {
870
- "contracts/types/Blocknumber.sol": {
871
- "BlocknumberLib": [
935
+ "contracts/instance/InstanceAuthorizationsLib.sol": {
936
+ "InstanceAuthorizationsLib": [
872
937
  {
873
938
  "length": 20,
874
- "start": 4462
939
+ "start": 9181
875
940
  }
876
941
  ]
877
942
  },
878
- "contracts/types/NftId.sol": {
943
+ "contracts/type/NftId.sol": {
879
944
  "NftIdLib": [
880
945
  {
881
946
  "length": 20,
882
- "start": 2321
883
- },
884
- {
885
- "length": 20,
886
- "start": 4736
947
+ "start": 5708
887
948
  },
888
949
  {
889
950
  "length": 20,
890
- "start": 5730
951
+ "start": 10554
891
952
  }
892
953
  ]
893
954
  },
894
- "contracts/types/RoleId.sol": {
955
+ "contracts/type/RoleId.sol": {
895
956
  "RoleIdLib": [
896
957
  {
897
958
  "length": 20,
898
- "start": 10703
959
+ "start": 8792
899
960
  },
900
961
  {
901
962
  "length": 20,
902
- "start": 16236
963
+ "start": 9557
903
964
  },
904
965
  {
905
966
  "length": 20,
906
- "start": 16296
907
- },
908
- {
909
- "length": 20,
910
- "start": 16356
911
- },
912
- {
913
- "length": 20,
914
- "start": 16416
915
- },
916
- {
917
- "length": 20,
918
- "start": 16476
919
- },
967
+ "start": 12591
968
+ }
969
+ ]
970
+ },
971
+ "contracts/type/Version.sol": {
972
+ "VersionLib": [
920
973
  {
921
974
  "length": 20,
922
- "start": 16536
975
+ "start": 1218
923
976
  },
924
977
  {
925
978
  "length": 20,
926
- "start": 16596
979
+ "start": 1880
927
980
  },
928
981
  {
929
982
  "length": 20,
930
- "start": 16656
983
+ "start": 9264
931
984
  },
932
985
  {
933
986
  "length": 20,
934
- "start": 16716
935
- }
936
- ]
937
- },
938
- "contracts/types/Timestamp.sol": {
939
- "TimestampLib": [
940
- {
941
- "length": 20,
942
- "start": 9813
987
+ "start": 11334
943
988
  }
944
- ]
945
- },
946
- "contracts/types/Version.sol": {
947
- "VersionLib": [
948
- {
949
- "length": 20,
950
- "start": 1566
951
- },
952
- {
953
- "length": 20,
954
- "start": 5970
955
- },
989
+ ],
990
+ "VersionPartLib": [
956
991
  {
957
992
  "length": 20,
958
- "start": 6987
993
+ "start": 6188
959
994
  }
960
995
  ]
961
996
  }