@etherisc/gif-next 0.0.2-fe88ad7-208 → 0.0.2-ff8087d-237

Sign up to get free protection for your applications and to get access to all the features.
Files changed (378) hide show
  1. package/README.md +8 -13
  2. package/artifacts/contracts/components/Component.sol/Component.dbg.json +4 -0
  3. package/artifacts/contracts/components/Component.sol/Component.json +873 -0
  4. package/artifacts/contracts/components/Distribution.sol/Distribution.dbg.json +1 -1
  5. package/artifacts/contracts/components/Distribution.sol/Distribution.json +903 -202
  6. package/artifacts/contracts/components/IComponent.sol/IComponent.dbg.json +4 -0
  7. package/artifacts/contracts/components/{BaseComponent.sol/BaseComponent.json → IComponent.sol/IComponent.json} +237 -83
  8. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.dbg.json +1 -1
  9. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.json +879 -31
  10. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.dbg.json +1 -1
  11. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.json +879 -59
  12. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.dbg.json +1 -1
  13. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.json +720 -16
  14. package/artifacts/contracts/components/Pool.sol/Pool.dbg.json +1 -1
  15. package/artifacts/contracts/components/Pool.sol/Pool.json +760 -195
  16. package/artifacts/contracts/components/Product.sol/Product.dbg.json +1 -1
  17. package/artifacts/contracts/components/Product.sol/Product.json +564 -141
  18. package/artifacts/contracts/instance/AccessManagerUpgradeableInitializeable.sol/AccessManagerUpgradeableInitializeable.dbg.json +1 -1
  19. package/artifacts/contracts/instance/AccessManagerUpgradeableInitializeable.sol/AccessManagerUpgradeableInitializeable.json +15 -15
  20. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.dbg.json +1 -1
  21. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.json +69 -79
  22. package/artifacts/contracts/instance/Cloneable.sol/Cloneable.dbg.json +1 -1
  23. package/artifacts/contracts/instance/Cloneable.sol/Cloneable.json +5 -0
  24. package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
  25. package/artifacts/contracts/instance/IInstance.sol/IInstance.json +1474 -483
  26. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +1 -1
  27. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +248 -218
  28. package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
  29. package/artifacts/contracts/instance/Instance.sol/Instance.json +1152 -794
  30. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.dbg.json +1 -1
  31. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.json +462 -179
  32. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +1 -1
  33. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +414 -267
  34. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +1 -1
  35. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +482 -346
  36. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +1 -1
  37. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +355 -91
  38. package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.dbg.json +1 -1
  39. package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.json +11 -40
  40. package/artifacts/contracts/instance/base/ComponentService.sol/ComponentService.dbg.json +4 -0
  41. package/artifacts/contracts/instance/base/{ComponentServiceBase.sol/ComponentServiceBase.json → ComponentService.sol/ComponentService.json} +263 -164
  42. package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.dbg.json +1 -1
  43. package/artifacts/contracts/instance/base/ILifecycle.sol/ILifecycle.dbg.json +1 -1
  44. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.dbg.json +1 -1
  45. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.json +40 -10
  46. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.dbg.json +1 -1
  47. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.json +36 -11
  48. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.dbg.json +1 -1
  49. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.json +58 -75
  50. package/artifacts/contracts/instance/module/IBundle.sol/IBundle.dbg.json +1 -1
  51. package/artifacts/contracts/instance/module/IComponents.sol/IComponents.dbg.json +4 -0
  52. package/artifacts/contracts/instance/module/IComponents.sol/IComponents.json +10 -0
  53. package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.dbg.json +1 -1
  54. package/artifacts/contracts/instance/module/IPolicy.sol/IPolicy.dbg.json +1 -1
  55. package/artifacts/contracts/instance/module/IRisk.sol/IRisk.dbg.json +1 -1
  56. package/artifacts/contracts/instance/module/ISetup.sol/ISetup.dbg.json +1 -1
  57. package/artifacts/contracts/instance/module/ITreasury.sol/ITreasury.dbg.json +1 -1
  58. package/artifacts/contracts/instance/service/ApplicationService.sol/ApplicationService.dbg.json +4 -0
  59. package/artifacts/contracts/instance/service/ApplicationService.sol/ApplicationService.json +1124 -0
  60. package/artifacts/contracts/instance/service/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +4 -0
  61. package/artifacts/contracts/instance/service/ApplicationServiceManager.sol/ApplicationServiceManager.json +688 -0
  62. package/artifacts/contracts/instance/service/BundleService.sol/BundleService.dbg.json +1 -1
  63. package/artifacts/contracts/instance/service/BundleService.sol/BundleService.json +641 -303
  64. package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.dbg.json +1 -1
  65. package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.json +343 -79
  66. package/artifacts/contracts/instance/service/ClaimService.sol/ClaimService.dbg.json +4 -0
  67. package/artifacts/contracts/instance/service/ClaimService.sol/ClaimService.json +1384 -0
  68. package/artifacts/contracts/instance/service/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +4 -0
  69. package/artifacts/contracts/instance/service/ClaimServiceManager.sol/ClaimServiceManager.json +752 -0
  70. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.dbg.json +1 -1
  71. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.json +1434 -280
  72. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +1 -1
  73. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.json +469 -73
  74. package/artifacts/contracts/instance/service/IApplicationService.sol/IApplicationService.dbg.json +4 -0
  75. package/artifacts/contracts/instance/service/{IComponentOwnerService.sol/IComponentOwnerService.json → IApplicationService.sol/IApplicationService.json} +342 -189
  76. package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.dbg.json +1 -1
  77. package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.json +310 -249
  78. package/artifacts/contracts/instance/service/IClaimService.sol/IClaimService.dbg.json +4 -0
  79. package/artifacts/contracts/instance/service/IClaimService.sol/IClaimService.json +743 -0
  80. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.dbg.json +1 -1
  81. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.json +757 -144
  82. package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.dbg.json +1 -1
  83. package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.json +262 -275
  84. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.dbg.json +1 -1
  85. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.json +703 -125
  86. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.dbg.json +1 -1
  87. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.json +71 -165
  88. package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.dbg.json +1 -1
  89. package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.json +632 -344
  90. package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +1 -1
  91. package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.json +367 -91
  92. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.dbg.json +1 -1
  93. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.json +1119 -224
  94. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.dbg.json +1 -1
  95. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.json +361 -73
  96. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.dbg.json +1 -1
  97. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.json +297 -210
  98. package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.dbg.json +1 -1
  99. package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.json +298 -78
  100. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
  101. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +15 -2
  102. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
  103. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +117 -5
  104. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +1 -1
  105. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +99 -217
  106. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +1 -1
  107. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.json +18 -0
  108. package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
  109. package/artifacts/contracts/registry/Registry.sol/Registry.json +131 -27
  110. package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.dbg.json +1 -1
  111. package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.json +18 -18
  112. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +1 -1
  113. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +205 -250
  114. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +1 -1
  115. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +287 -81
  116. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.dbg.json +1 -1
  117. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.json +81 -68
  118. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +1 -1
  119. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +138 -50
  120. package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.dbg.json +1 -1
  121. package/artifacts/contracts/shared/ERC165.sol/ERC165.dbg.json +1 -1
  122. package/artifacts/contracts/shared/ERC165.sol/ERC165.json +41 -3
  123. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +1 -1
  124. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.json +27 -29
  125. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.dbg.json +4 -0
  126. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.json +189 -0
  127. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
  128. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +8 -34
  129. package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.dbg.json +4 -0
  130. package/artifacts/contracts/{experiment/inheritance/IA.sol/ISharedA.json → shared/IRegistryLinked.sol/IRegistryLinked.json} +15 -17
  131. package/artifacts/contracts/shared/IService.sol/IService.dbg.json +1 -1
  132. package/artifacts/contracts/shared/IService.sol/IService.json +71 -165
  133. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.dbg.json +1 -1
  134. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.json +2 -152
  135. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +1 -1
  136. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +107 -27
  137. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.dbg.json +4 -0
  138. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.json +302 -0
  139. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.dbg.json +1 -1
  140. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.json +283 -63
  141. package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
  142. package/artifacts/contracts/shared/Registerable.sol/Registerable.json +116 -51
  143. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.dbg.json +4 -0
  144. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.json +71 -0
  145. package/artifacts/contracts/shared/Service.sol/Service.dbg.json +1 -1
  146. package/artifacts/contracts/shared/Service.sol/Service.json +173 -153
  147. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +1 -1
  148. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +24 -6
  149. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +1 -1
  150. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +2 -2
  151. package/artifacts/contracts/shared/Versionable.sol/Versionable.dbg.json +1 -1
  152. package/artifacts/contracts/shared/Versionable.sol/Versionable.json +2 -152
  153. package/artifacts/contracts/test/TestFee.sol/TestFee.dbg.json +1 -1
  154. package/artifacts/contracts/test/TestFee.sol/TestFee.json +2 -2
  155. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.dbg.json +1 -1
  156. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.json +116 -51
  157. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.dbg.json +1 -1
  158. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.json +6 -6
  159. package/artifacts/contracts/test/TestService.sol/TestService.dbg.json +1 -1
  160. package/artifacts/contracts/test/TestService.sol/TestService.json +191 -203
  161. package/artifacts/contracts/test/TestToken.sol/TestUsdc.dbg.json +1 -1
  162. package/artifacts/contracts/test/TestVersion.sol/TestVersion.dbg.json +1 -1
  163. package/artifacts/contracts/test/TestVersion.sol/TestVersion.json +2 -2
  164. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.dbg.json +1 -1
  165. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.json +8 -190
  166. package/artifacts/contracts/test/Usdc.sol/USDC.dbg.json +1 -1
  167. package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.dbg.json +1 -1
  168. package/artifacts/contracts/types/Amount.sol/AmountLib.dbg.json +4 -0
  169. package/artifacts/contracts/types/Amount.sol/AmountLib.json +281 -0
  170. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.dbg.json +1 -1
  171. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.json +2 -2
  172. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.dbg.json +1 -1
  173. package/artifacts/contracts/types/ClaimId.sol/ClaimIdLib.dbg.json +4 -0
  174. package/artifacts/contracts/types/ClaimId.sol/ClaimIdLib.json +179 -0
  175. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.dbg.json +1 -1
  176. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.json +2 -2
  177. package/artifacts/contracts/types/Fee.sol/FeeLib.dbg.json +1 -1
  178. package/artifacts/contracts/types/Fee.sol/FeeLib.json +74 -19
  179. package/artifacts/contracts/types/Key32.sol/Key32Lib.dbg.json +1 -1
  180. package/artifacts/contracts/types/Key32.sol/Key32Lib.json +2 -2
  181. package/artifacts/contracts/types/NftId.sol/NftIdLib.dbg.json +1 -1
  182. package/artifacts/contracts/types/NftId.sol/NftIdLib.json +17 -4
  183. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.dbg.json +1 -1
  184. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.json +2 -2
  185. package/artifacts/contracts/types/NumberId.sol/NumberIdLib.dbg.json +1 -1
  186. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.dbg.json +1 -1
  187. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.json +2 -2
  188. package/artifacts/contracts/types/PayoutId.sol/PayoutIdLib.dbg.json +4 -0
  189. package/artifacts/contracts/types/PayoutId.sol/PayoutIdLib.json +209 -0
  190. package/artifacts/contracts/types/Referral.sol/ReferralLib.dbg.json +1 -1
  191. package/artifacts/contracts/types/Referral.sol/ReferralLib.json +23 -4
  192. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.dbg.json +1 -1
  193. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.json +2 -2
  194. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.dbg.json +1 -1
  195. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.json +2 -2
  196. package/artifacts/contracts/types/Seconds.sol/SecondsLib.dbg.json +4 -0
  197. package/artifacts/contracts/types/Seconds.sol/SecondsLib.json +124 -0
  198. package/artifacts/contracts/types/StateId.sol/StateIdLib.dbg.json +1 -1
  199. package/artifacts/contracts/types/StateId.sol/StateIdLib.json +2 -2
  200. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.dbg.json +1 -1
  201. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.json +38 -7
  202. package/artifacts/contracts/types/UFixed.sol/MathLib.dbg.json +1 -1
  203. package/artifacts/contracts/types/UFixed.sol/MathLib.json +2 -2
  204. package/artifacts/contracts/types/UFixed.sol/UFixedLib.dbg.json +1 -1
  205. package/artifacts/contracts/types/UFixed.sol/UFixedLib.json +2 -2
  206. package/artifacts/contracts/types/Version.sol/VersionLib.dbg.json +1 -1
  207. package/artifacts/contracts/types/Version.sol/VersionLib.json +2 -2
  208. package/artifacts/contracts/types/Version.sol/VersionPartLib.dbg.json +1 -1
  209. package/artifacts/contracts/types/Version.sol/VersionPartLib.json +2 -2
  210. package/contracts/components/Component.sol +272 -0
  211. package/contracts/components/Distribution.sol +204 -82
  212. package/contracts/components/IComponent.sol +90 -0
  213. package/contracts/components/IDistributionComponent.sol +44 -17
  214. package/contracts/components/IPoolComponent.sol +90 -42
  215. package/contracts/components/IProductComponent.sol +15 -9
  216. package/contracts/components/Pool.sol +217 -186
  217. package/contracts/components/Product.sol +246 -166
  218. package/contracts/instance/AccessManagerUpgradeableInitializeable.sol +2 -12
  219. package/contracts/instance/BundleManager.sol +17 -20
  220. package/contracts/instance/Cloneable.sol +7 -2
  221. package/contracts/instance/IInstance.sol +67 -25
  222. package/contracts/instance/IInstanceService.sol +34 -11
  223. package/contracts/instance/Instance.sol +158 -116
  224. package/contracts/instance/InstanceAccessManager.sol +389 -165
  225. package/contracts/instance/InstanceReader.sol +87 -36
  226. package/contracts/instance/InstanceService.sol +295 -161
  227. package/contracts/instance/InstanceServiceManager.sol +1 -1
  228. package/contracts/instance/ObjectManager.sol +10 -29
  229. package/contracts/instance/base/ComponentService.sol +130 -0
  230. package/contracts/instance/base/KeyValueStore.sol +13 -36
  231. package/contracts/instance/base/Lifecycle.sol +26 -6
  232. package/contracts/instance/module/IAccess.sol +22 -16
  233. package/contracts/instance/module/IBundle.sol +8 -5
  234. package/contracts/instance/module/IComponents.sol +41 -0
  235. package/contracts/instance/module/IDistribution.sol +3 -0
  236. package/contracts/instance/module/IPolicy.sol +43 -11
  237. package/contracts/instance/module/ISetup.sol +7 -20
  238. package/contracts/instance/service/ApplicationService.sol +356 -0
  239. package/contracts/instance/service/ApplicationServiceManager.sol +35 -0
  240. package/contracts/instance/service/BundleService.sol +244 -119
  241. package/contracts/instance/service/BundleServiceManager.sol +1 -1
  242. package/contracts/instance/service/ClaimService.sol +443 -0
  243. package/contracts/instance/service/ClaimServiceManager.sol +35 -0
  244. package/contracts/instance/service/DistributionService.sol +360 -41
  245. package/contracts/instance/service/DistributionServiceManager.sol +1 -1
  246. package/contracts/instance/service/IApplicationService.sol +79 -0
  247. package/contracts/instance/service/IBundleService.sol +93 -20
  248. package/contracts/instance/service/IClaimService.sol +90 -0
  249. package/contracts/instance/service/IDistributionService.sol +89 -0
  250. package/contracts/instance/service/IPolicyService.sol +44 -51
  251. package/contracts/instance/service/IPoolService.sol +97 -3
  252. package/contracts/instance/service/PolicyService.sol +233 -364
  253. package/contracts/instance/service/PolicyServiceManager.sol +2 -2
  254. package/contracts/instance/service/PoolService.sol +319 -40
  255. package/contracts/instance/service/PoolServiceManager.sol +1 -1
  256. package/contracts/instance/service/ProductService.sol +90 -50
  257. package/contracts/instance/service/ProductServiceManager.sol +2 -2
  258. package/contracts/registry/ChainNft.sol +8 -0
  259. package/contracts/registry/IRegistry.sol +18 -8
  260. package/contracts/registry/IRegistryService.sol +21 -13
  261. package/contracts/registry/ITransferInterceptor.sol +1 -0
  262. package/contracts/registry/Registry.sol +142 -71
  263. package/contracts/registry/RegistryAccessManager.sol +31 -25
  264. package/contracts/registry/RegistryService.sol +93 -134
  265. package/contracts/registry/RegistryServiceManager.sol +13 -13
  266. package/contracts/registry/ReleaseManager.sol +103 -127
  267. package/contracts/registry/TokenRegistry.sol +19 -13
  268. package/contracts/shared/ERC165.sol +14 -12
  269. package/contracts/shared/INftOwnable.sol +11 -10
  270. package/contracts/shared/IPolicyHolder.sol +40 -0
  271. package/contracts/shared/IRegisterable.sol +4 -6
  272. package/contracts/shared/IRegistryLinked.sol +11 -0
  273. package/contracts/shared/IService.sol +6 -4
  274. package/contracts/shared/IVersionable.sol +4 -47
  275. package/contracts/shared/NftOwnable.sol +64 -80
  276. package/contracts/shared/PolicyHolder.sol +94 -0
  277. package/contracts/shared/ProxyManager.sol +100 -25
  278. package/contracts/shared/Registerable.sol +24 -39
  279. package/contracts/shared/RegistryLinked.sol +43 -0
  280. package/contracts/shared/Service.sol +36 -22
  281. package/contracts/shared/TokenHandler.sol +14 -6
  282. package/contracts/shared/Versionable.sol +4 -92
  283. package/contracts/test/TestRegisterable.sol +1 -1
  284. package/contracts/test/TestService.sol +1 -1
  285. package/contracts/types/Amount.sol +109 -0
  286. package/contracts/types/Blocknumber.sol +1 -0
  287. package/contracts/types/ClaimId.sol +75 -0
  288. package/contracts/types/DistributorType.sol +2 -2
  289. package/contracts/types/Fee.sol +17 -8
  290. package/contracts/types/NftId.sol +8 -0
  291. package/contracts/types/ObjectType.sol +11 -6
  292. package/contracts/types/PayoutId.sol +82 -0
  293. package/contracts/types/Referral.sol +4 -0
  294. package/contracts/types/RoleId.sol +18 -11
  295. package/contracts/types/Seconds.sol +54 -0
  296. package/contracts/types/StateId.sol +7 -2
  297. package/contracts/types/Timestamp.sol +18 -13
  298. package/contracts/types/UFixed.sol +1 -0
  299. package/contracts/types/Version.sol +1 -0
  300. package/package.json +3 -3
  301. package/artifacts/contracts/components/BaseComponent.sol/BaseComponent.dbg.json +0 -4
  302. package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.dbg.json +0 -4
  303. package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.json +0 -397
  304. package/artifacts/contracts/experiment/cloning/Cloner.sol/Cloner.dbg.json +0 -4
  305. package/artifacts/contracts/experiment/cloning/Cloner.sol/Cloner.json +0 -66
  306. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock1.dbg.json +0 -4
  307. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock1.json +0 -24
  308. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock2.dbg.json +0 -4
  309. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock2.json +0 -42
  310. package/artifacts/contracts/experiment/errors/Require.sol/Require.dbg.json +0 -4
  311. package/artifacts/contracts/experiment/errors/Require.sol/Require.json +0 -105
  312. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.dbg.json +0 -4
  313. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.json +0 -105
  314. package/artifacts/contracts/experiment/inheritance/A.sol/A.dbg.json +0 -4
  315. package/artifacts/contracts/experiment/inheritance/A.sol/A.json +0 -128
  316. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.dbg.json +0 -4
  317. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.json +0 -42
  318. package/artifacts/contracts/experiment/inheritance/B.sol/B.dbg.json +0 -4
  319. package/artifacts/contracts/experiment/inheritance/B.sol/B.json +0 -76
  320. package/artifacts/contracts/experiment/inheritance/C.sol/C.dbg.json +0 -4
  321. package/artifacts/contracts/experiment/inheritance/C.sol/C.json +0 -89
  322. package/artifacts/contracts/experiment/inheritance/IA.sol/IA.dbg.json +0 -4
  323. package/artifacts/contracts/experiment/inheritance/IA.sol/IA.json +0 -128
  324. package/artifacts/contracts/experiment/inheritance/IA.sol/ISharedA.dbg.json +0 -4
  325. package/artifacts/contracts/experiment/inheritance/IB.sol/IB.dbg.json +0 -4
  326. package/artifacts/contracts/experiment/inheritance/IB.sol/IB.json +0 -50
  327. package/artifacts/contracts/experiment/inheritance/IC.sol/IC.dbg.json +0 -4
  328. package/artifacts/contracts/experiment/inheritance/IC.sol/IC.json +0 -63
  329. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.dbg.json +0 -4
  330. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.json +0 -59
  331. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.dbg.json +0 -4
  332. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.json +0 -124
  333. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.dbg.json +0 -4
  334. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.json +0 -74
  335. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.dbg.json +0 -4
  336. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.json +0 -124
  337. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.dbg.json +0 -4
  338. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.json +0 -207
  339. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.dbg.json +0 -4
  340. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.json +0 -10
  341. package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.dbg.json +0 -4
  342. package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.json +0 -10
  343. package/artifacts/contracts/instance/IInstanceBase.sol/IInstanceBase.dbg.json +0 -4
  344. package/artifacts/contracts/instance/IInstanceBase.sol/IInstanceBase.json +0 -448
  345. package/artifacts/contracts/instance/InstanceBase.sol/InstanceBase.dbg.json +0 -4
  346. package/artifacts/contracts/instance/InstanceBase.sol/InstanceBase.json +0 -763
  347. package/artifacts/contracts/instance/base/ComponentServiceBase.sol/ComponentServiceBase.dbg.json +0 -4
  348. package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.dbg.json +0 -4
  349. package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.json +0 -113
  350. package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.dbg.json +0 -4
  351. package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.json +0 -814
  352. package/artifacts/contracts/instance/service/IComponentOwnerService.sol/IComponentOwnerService.dbg.json +0 -4
  353. package/artifacts/contracts/shared/RegisterableUpgradable.sol/RegisterableUpgradable.dbg.json +0 -4
  354. package/artifacts/contracts/shared/RegisterableUpgradable.sol/RegisterableUpgradable.json +0 -442
  355. package/contracts/components/BaseComponent.sol +0 -159
  356. package/contracts/components/IBaseComponent.sol +0 -34
  357. package/contracts/experiment/cloning/Cloner.sol +0 -47
  358. package/contracts/experiment/errors/Require.sol +0 -38
  359. package/contracts/experiment/errors/Revert.sol +0 -44
  360. package/contracts/experiment/inheritance/A.sol +0 -53
  361. package/contracts/experiment/inheritance/B.sol +0 -28
  362. package/contracts/experiment/inheritance/C.sol +0 -34
  363. package/contracts/experiment/inheritance/IA.sol +0 -13
  364. package/contracts/experiment/inheritance/IB.sol +0 -10
  365. package/contracts/experiment/inheritance/IC.sol +0 -12
  366. package/contracts/experiment/statemachine/Dummy.sol +0 -27
  367. package/contracts/experiment/statemachine/ISM.sol +0 -25
  368. package/contracts/experiment/statemachine/SM.sol +0 -57
  369. package/contracts/experiment/statemachine/SimpleStateMachine.sol +0 -31
  370. package/contracts/experiment/types/TypeA.sol +0 -47
  371. package/contracts/experiment/types/TypeB.sol +0 -29
  372. package/contracts/instance/IInstanceBase.sol +0 -26
  373. package/contracts/instance/InstanceBase.sol +0 -41
  374. package/contracts/instance/base/ComponentServiceBase.sol +0 -82
  375. package/contracts/instance/base/IInstanceBase.sol +0 -23
  376. package/contracts/instance/service/ComponentOwnerService.sol +0 -315
  377. package/contracts/instance/service/IComponentOwnerService.sol +0 -20
  378. package/contracts/shared/RegisterableUpgradable.sol +0 -16
@@ -6,163 +6,349 @@
6
6
  {
7
7
  "inputs": [
8
8
  {
9
- "internalType": "ObjectType",
10
- "name": "componentType",
11
- "type": "uint8"
9
+ "internalType": "address",
10
+ "name": "authority",
11
+ "type": "address"
12
12
  }
13
13
  ],
14
- "name": "ComponentTypeInvalid",
14
+ "name": "AccessManagedInvalidAuthority",
15
15
  "type": "error"
16
16
  },
17
17
  {
18
18
  "inputs": [
19
19
  {
20
20
  "internalType": "address",
21
- "name": "registry",
21
+ "name": "caller",
22
22
  "type": "address"
23
23
  },
24
+ {
25
+ "internalType": "uint32",
26
+ "name": "delay",
27
+ "type": "uint32"
28
+ }
29
+ ],
30
+ "name": "AccessManagedRequiredDelay",
31
+ "type": "error"
32
+ },
33
+ {
34
+ "inputs": [
35
+ {
36
+ "internalType": "address",
37
+ "name": "caller",
38
+ "type": "address"
39
+ }
40
+ ],
41
+ "name": "AccessManagedUnauthorized",
42
+ "type": "error"
43
+ },
44
+ {
45
+ "inputs": [
24
46
  {
25
47
  "internalType": "NftId",
26
- "name": "nftId",
48
+ "name": "policyNftId",
27
49
  "type": "uint96"
28
50
  }
29
51
  ],
30
- "name": "ErrorAlreadyLinked",
52
+ "name": "ErrorBundleManagerPolicyAlreadyActivated",
31
53
  "type": "error"
32
54
  },
33
55
  {
34
56
  "inputs": [
35
57
  {
36
58
  "internalType": "NftId",
37
- "name": "policyNftId",
59
+ "name": "bundleNftId",
38
60
  "type": "uint96"
61
+ },
62
+ {
63
+ "internalType": "StateId",
64
+ "name": "state",
65
+ "type": "uint8"
66
+ },
67
+ {
68
+ "internalType": "Timestamp",
69
+ "name": "expiredAt",
70
+ "type": "uint40"
39
71
  }
40
72
  ],
41
- "name": "ErrorBundleManagerErrorPolicyAlreadyActivated",
73
+ "name": "ErrorBundleServiceBundleNotOpen",
74
+ "type": "error"
75
+ },
76
+ {
77
+ "inputs": [
78
+ {
79
+ "internalType": "NftId",
80
+ "name": "expectedPoolNftId",
81
+ "type": "uint96"
82
+ },
83
+ {
84
+ "internalType": "NftId",
85
+ "name": "bundlePoolNftId",
86
+ "type": "uint96"
87
+ }
88
+ ],
89
+ "name": "ErrorBundleServiceBundlePoolMismatch",
90
+ "type": "error"
91
+ },
92
+ {
93
+ "inputs": [
94
+ {
95
+ "internalType": "NftId",
96
+ "name": "bundleNftId",
97
+ "type": "uint96"
98
+ }
99
+ ],
100
+ "name": "ErrorBundleServiceBundleUnknown",
101
+ "type": "error"
102
+ },
103
+ {
104
+ "inputs": [
105
+ {
106
+ "internalType": "NftId",
107
+ "name": "bundleNftId",
108
+ "type": "uint96"
109
+ },
110
+ {
111
+ "internalType": "uint256",
112
+ "name": "openPoliciesCount",
113
+ "type": "uint256"
114
+ }
115
+ ],
116
+ "name": "ErrorBundleServiceBundleWithOpenPolicies",
117
+ "type": "error"
118
+ },
119
+ {
120
+ "inputs": [
121
+ {
122
+ "internalType": "NftId",
123
+ "name": "bundleNftId",
124
+ "type": "uint96"
125
+ },
126
+ {
127
+ "internalType": "Amount",
128
+ "name": "capacityAmount",
129
+ "type": "uint96"
130
+ },
131
+ {
132
+ "internalType": "Amount",
133
+ "name": "collateralAmount",
134
+ "type": "uint96"
135
+ }
136
+ ],
137
+ "name": "ErrorBundleServiceCapacityInsufficient",
42
138
  "type": "error"
43
139
  },
44
140
  {
45
141
  "inputs": [
46
142
  {
47
143
  "internalType": "address",
48
- "name": "componentAddress",
144
+ "name": "bundleOwner",
49
145
  "type": "address"
146
+ },
147
+ {
148
+ "internalType": "address",
149
+ "name": "tokenHandlerAddress",
150
+ "type": "address"
151
+ },
152
+ {
153
+ "internalType": "Amount",
154
+ "name": "amount",
155
+ "type": "uint96"
156
+ }
157
+ ],
158
+ "name": "ErrorBundleServiceInsufficientAllowance",
159
+ "type": "error"
160
+ },
161
+ {
162
+ "inputs": [
163
+ {
164
+ "internalType": "NftId",
165
+ "name": "policyNftId",
166
+ "type": "uint96"
50
167
  }
51
168
  ],
52
- "name": "ErrorComponentServiceBaseComponentLocked",
169
+ "name": "ErrorBundleServicePolicyNotCloseable",
53
170
  "type": "error"
54
171
  },
55
172
  {
56
173
  "inputs": [
57
174
  {
58
175
  "internalType": "address",
59
- "name": "contractAddress",
176
+ "name": "component",
60
177
  "type": "address"
61
178
  }
62
179
  ],
63
- "name": "ErrorContractNotRegistered",
180
+ "name": "ErrorComponentServiceComponentLocked",
64
181
  "type": "error"
65
182
  },
66
183
  {
67
184
  "inputs": [
68
185
  {
69
186
  "internalType": "address",
70
- "name": "target",
187
+ "name": "component",
71
188
  "type": "address"
189
+ },
190
+ {
191
+ "internalType": "ObjectType",
192
+ "name": "expectedType",
193
+ "type": "uint8"
194
+ },
195
+ {
196
+ "internalType": "ObjectType",
197
+ "name": "foundType",
198
+ "type": "uint8"
72
199
  }
73
200
  ],
74
- "name": "ErrorIAccessTargetLocked",
201
+ "name": "ErrorComponentServiceComponentTypeInvalid",
75
202
  "type": "error"
76
203
  },
77
204
  {
78
205
  "inputs": [
206
+ {
207
+ "internalType": "NftId",
208
+ "name": "instanceNftId",
209
+ "type": "uint96"
210
+ },
211
+ {
212
+ "internalType": "RoleId",
213
+ "name": "requiredRole",
214
+ "type": "uint64"
215
+ },
79
216
  {
80
217
  "internalType": "address",
81
- "name": "bundleOwner",
218
+ "name": "sender",
82
219
  "type": "address"
83
- },
220
+ }
221
+ ],
222
+ "name": "ErrorComponentServiceExpectedRoleMissing",
223
+ "type": "error"
224
+ },
225
+ {
226
+ "inputs": [
84
227
  {
85
228
  "internalType": "address",
86
- "name": "tokenHandlerAddress",
229
+ "name": "component",
87
230
  "type": "address"
88
231
  },
89
232
  {
90
- "internalType": "uint256",
91
- "name": "amount",
92
- "type": "uint256"
233
+ "internalType": "ObjectType",
234
+ "name": "requiredType",
235
+ "type": "uint8"
236
+ },
237
+ {
238
+ "internalType": "ObjectType",
239
+ "name": "componentType",
240
+ "type": "uint8"
93
241
  }
94
242
  ],
95
- "name": "ErrorIBundleServiceInsufficientAllowance",
243
+ "name": "ErrorComponentServiceInvalidType",
96
244
  "type": "error"
97
245
  },
98
246
  {
99
247
  "inputs": [
100
248
  {
101
249
  "internalType": "address",
102
- "name": "account",
250
+ "name": "component",
103
251
  "type": "address"
104
252
  }
105
253
  ],
106
- "name": "ErrorNotOwner",
254
+ "name": "ErrorComponentServiceNotComponent",
107
255
  "type": "error"
108
256
  },
109
257
  {
110
258
  "inputs": [
111
259
  {
112
260
  "internalType": "address",
113
- "name": "registryAddress",
261
+ "name": "component",
262
+ "type": "address"
263
+ },
264
+ {
265
+ "internalType": "address",
266
+ "name": "initialOwner",
267
+ "type": "address"
268
+ },
269
+ {
270
+ "internalType": "address",
271
+ "name": "sender",
114
272
  "type": "address"
115
273
  }
116
274
  ],
117
- "name": "ErrorNotRegistry",
275
+ "name": "ErrorComponentServiceSenderNotOwner",
118
276
  "type": "error"
119
277
  },
120
278
  {
121
279
  "inputs": [
122
280
  {
123
281
  "internalType": "address",
124
- "name": "registryAddress",
282
+ "name": "sender",
125
283
  "type": "address"
126
284
  }
127
285
  ],
128
- "name": "ErrorRegisterableNotRegistry",
286
+ "name": "ErrorComponentServiceSenderNotService",
129
287
  "type": "error"
130
288
  },
131
289
  {
132
- "inputs": [],
133
- "name": "ErrorRegistryAddressZero",
290
+ "inputs": [
291
+ {
292
+ "internalType": "address",
293
+ "name": "target",
294
+ "type": "address"
295
+ }
296
+ ],
297
+ "name": "ErrorIAccessTargetLocked",
298
+ "type": "error"
299
+ },
300
+ {
301
+ "inputs": [
302
+ {
303
+ "internalType": "NftId",
304
+ "name": "nftId",
305
+ "type": "uint96"
306
+ }
307
+ ],
308
+ "name": "ErrorNftOwnableAlreadyLinked",
134
309
  "type": "error"
135
310
  },
136
311
  {
137
312
  "inputs": [
138
313
  {
139
314
  "internalType": "address",
140
- "name": "registry",
315
+ "name": "contractAddress",
141
316
  "type": "address"
142
317
  }
143
318
  ],
144
- "name": "ErrorRegistryAlreadyInitialized",
319
+ "name": "ErrorNftOwnableContractNotRegistered",
145
320
  "type": "error"
146
321
  },
147
322
  {
148
323
  "inputs": [],
149
- "name": "ErrorRegistryNotInitialized",
324
+ "name": "ErrorNftOwnableInitialOwnerZero",
150
325
  "type": "error"
151
326
  },
152
327
  {
153
328
  "inputs": [
154
329
  {
155
- "internalType": "RoleId",
156
- "name": "expected",
157
- "type": "uint64"
158
- },
330
+ "internalType": "address",
331
+ "name": "account",
332
+ "type": "address"
333
+ }
334
+ ],
335
+ "name": "ErrorNftOwnableNotOwner",
336
+ "type": "error"
337
+ },
338
+ {
339
+ "inputs": [
159
340
  {
160
341
  "internalType": "address",
161
- "name": "caller",
342
+ "name": "registryAddress",
162
343
  "type": "address"
163
344
  }
164
345
  ],
165
- "name": "ExpectedRoleMissing",
346
+ "name": "ErrorNotRegistry",
347
+ "type": "error"
348
+ },
349
+ {
350
+ "inputs": [],
351
+ "name": "ErrorServiceNotImplemented",
166
352
  "type": "error"
167
353
  },
168
354
  {
@@ -175,6 +361,19 @@
175
361
  "name": "NotInitializing",
176
362
  "type": "error"
177
363
  },
364
+ {
365
+ "anonymous": false,
366
+ "inputs": [
367
+ {
368
+ "indexed": false,
369
+ "internalType": "address",
370
+ "name": "authority",
371
+ "type": "address"
372
+ }
373
+ ],
374
+ "name": "AuthorityUpdated",
375
+ "type": "event"
376
+ },
178
377
  {
179
378
  "anonymous": false,
180
379
  "inputs": [
@@ -193,24 +392,25 @@
193
392
  "inputs": [
194
393
  {
195
394
  "indexed": false,
196
- "internalType": "Version",
197
- "name": "version",
198
- "type": "uint24"
199
- },
200
- {
201
- "indexed": false,
202
- "internalType": "address",
203
- "name": "implementation",
204
- "type": "address"
205
- },
395
+ "internalType": "NftId",
396
+ "name": "bundleNftId",
397
+ "type": "uint96"
398
+ }
399
+ ],
400
+ "name": "LogBundleServiceBundleActivated",
401
+ "type": "event"
402
+ },
403
+ {
404
+ "anonymous": false,
405
+ "inputs": [
206
406
  {
207
407
  "indexed": false,
208
- "internalType": "address",
209
- "name": "activatedBy",
210
- "type": "address"
408
+ "internalType": "NftId",
409
+ "name": "bundleNftId",
410
+ "type": "uint96"
211
411
  }
212
412
  ],
213
- "name": "LogVersionableInitialized",
413
+ "name": "LogBundleServiceBundleLocked",
214
414
  "type": "event"
215
415
  },
216
416
  {
@@ -226,6 +426,19 @@
226
426
  "stateMutability": "view",
227
427
  "type": "function"
228
428
  },
429
+ {
430
+ "inputs": [],
431
+ "name": "NFT_OWNABLE_STORAGE_LOCATION_V1",
432
+ "outputs": [
433
+ {
434
+ "internalType": "bytes32",
435
+ "name": "",
436
+ "type": "bytes32"
437
+ }
438
+ ],
439
+ "stateMutability": "view",
440
+ "type": "function"
441
+ },
229
442
  {
230
443
  "inputs": [],
231
444
  "name": "REGISTERABLE_LOCATION_V1",
@@ -239,8 +452,49 @@
239
452
  "stateMutability": "view",
240
453
  "type": "function"
241
454
  },
455
+ {
456
+ "inputs": [],
457
+ "name": "authority",
458
+ "outputs": [
459
+ {
460
+ "internalType": "address",
461
+ "name": "",
462
+ "type": "address"
463
+ }
464
+ ],
465
+ "stateMutability": "view",
466
+ "type": "function"
467
+ },
468
+ {
469
+ "inputs": [
470
+ {
471
+ "internalType": "contract IInstance",
472
+ "name": "instance",
473
+ "type": "address"
474
+ },
475
+ {
476
+ "internalType": "NftId",
477
+ "name": "bundleNftId",
478
+ "type": "uint96"
479
+ }
480
+ ],
481
+ "name": "close",
482
+ "outputs": [],
483
+ "stateMutability": "nonpayable",
484
+ "type": "function"
485
+ },
242
486
  {
243
487
  "inputs": [
488
+ {
489
+ "internalType": "contract IInstance",
490
+ "name": "instance",
491
+ "type": "address"
492
+ },
493
+ {
494
+ "internalType": "NftId",
495
+ "name": "poolNftId",
496
+ "type": "uint96"
497
+ },
244
498
  {
245
499
  "internalType": "address",
246
500
  "name": "owner",
@@ -260,18 +514,18 @@
260
514
  }
261
515
  ],
262
516
  "internalType": "struct Fee",
263
- "name": "fee",
517
+ "name": "bundleFee",
264
518
  "type": "tuple"
265
519
  },
266
520
  {
267
- "internalType": "uint256",
521
+ "internalType": "Amount",
268
522
  "name": "stakingAmount",
269
- "type": "uint256"
523
+ "type": "uint96"
270
524
  },
271
525
  {
272
- "internalType": "uint256",
526
+ "internalType": "Seconds",
273
527
  "name": "lifetime",
274
- "type": "uint256"
528
+ "type": "uint40"
275
529
  },
276
530
  {
277
531
  "internalType": "bytes",
@@ -279,7 +533,7 @@
279
533
  "type": "bytes"
280
534
  }
281
535
  ],
282
- "name": "createBundle",
536
+ "name": "create",
283
537
  "outputs": [
284
538
  {
285
539
  "internalType": "NftId",
@@ -346,26 +600,8 @@
346
600
  }
347
601
  ],
348
602
  "internalType": "struct IRegistry.ObjectInfo",
349
- "name": "",
603
+ "name": "info",
350
604
  "type": "tuple"
351
- },
352
- {
353
- "internalType": "bytes",
354
- "name": "data",
355
- "type": "bytes"
356
- }
357
- ],
358
- "stateMutability": "view",
359
- "type": "function"
360
- },
361
- {
362
- "inputs": [],
363
- "name": "getInitializedVersion",
364
- "outputs": [
365
- {
366
- "internalType": "uint64",
367
- "name": "",
368
- "type": "uint64"
369
605
  }
370
606
  ],
371
607
  "stateMutability": "view",
@@ -384,19 +620,6 @@
384
620
  "stateMutability": "view",
385
621
  "type": "function"
386
622
  },
387
- {
388
- "inputs": [],
389
- "name": "getMajorVersion",
390
- "outputs": [
391
- {
392
- "internalType": "VersionPart",
393
- "name": "majorVersion",
394
- "type": "uint8"
395
- }
396
- ],
397
- "stateMutability": "view",
398
- "type": "function"
399
- },
400
623
  {
401
624
  "inputs": [],
402
625
  "name": "getNftId",
@@ -465,100 +688,205 @@
465
688
  {
466
689
  "inputs": [
467
690
  {
468
- "internalType": "uint256",
469
- "name": "idx",
470
- "type": "uint256"
691
+ "internalType": "contract IInstance",
692
+ "name": "instance",
693
+ "type": "address"
694
+ },
695
+ {
696
+ "internalType": "NftId",
697
+ "name": "bundleNftId",
698
+ "type": "uint96"
699
+ },
700
+ {
701
+ "internalType": "Amount",
702
+ "name": "premiumAmount",
703
+ "type": "uint96"
471
704
  }
472
705
  ],
473
- "name": "getVersion",
474
- "outputs": [
706
+ "name": "increaseBalance",
707
+ "outputs": [],
708
+ "stateMutability": "nonpayable",
709
+ "type": "function"
710
+ },
711
+ {
712
+ "inputs": [],
713
+ "name": "initializeERC165",
714
+ "outputs": [],
715
+ "stateMutability": "nonpayable",
716
+ "type": "function"
717
+ },
718
+ {
719
+ "inputs": [
475
720
  {
476
- "internalType": "Version",
477
- "name": "",
478
- "type": "uint24"
721
+ "internalType": "address",
722
+ "name": "initialOwner",
723
+ "type": "address"
724
+ },
725
+ {
726
+ "internalType": "address",
727
+ "name": "registryAddress",
728
+ "type": "address"
729
+ }
730
+ ],
731
+ "name": "initializeNftOwnable",
732
+ "outputs": [],
733
+ "stateMutability": "nonpayable",
734
+ "type": "function"
735
+ },
736
+ {
737
+ "inputs": [
738
+ {
739
+ "internalType": "address",
740
+ "name": "registryAddress",
741
+ "type": "address"
742
+ },
743
+ {
744
+ "internalType": "NftId",
745
+ "name": "parentNftId",
746
+ "type": "uint96"
747
+ },
748
+ {
749
+ "internalType": "ObjectType",
750
+ "name": "objectType",
751
+ "type": "uint8"
752
+ },
753
+ {
754
+ "internalType": "bool",
755
+ "name": "isInterceptor",
756
+ "type": "bool"
757
+ },
758
+ {
759
+ "internalType": "address",
760
+ "name": "initialOwner",
761
+ "type": "address"
762
+ },
763
+ {
764
+ "internalType": "bytes",
765
+ "name": "registryData",
766
+ "type": "bytes"
767
+ }
768
+ ],
769
+ "name": "initializeRegisterable",
770
+ "outputs": [],
771
+ "stateMutability": "nonpayable",
772
+ "type": "function"
773
+ },
774
+ {
775
+ "inputs": [
776
+ {
777
+ "internalType": "address",
778
+ "name": "registryAddress",
779
+ "type": "address"
780
+ }
781
+ ],
782
+ "name": "initializeRegistryLinked",
783
+ "outputs": [],
784
+ "stateMutability": "nonpayable",
785
+ "type": "function"
786
+ },
787
+ {
788
+ "inputs": [
789
+ {
790
+ "internalType": "address",
791
+ "name": "registry",
792
+ "type": "address"
793
+ },
794
+ {
795
+ "internalType": "address",
796
+ "name": "authority",
797
+ "type": "address"
798
+ },
799
+ {
800
+ "internalType": "address",
801
+ "name": "initialOwner",
802
+ "type": "address"
803
+ }
804
+ ],
805
+ "name": "initializeService",
806
+ "outputs": [],
807
+ "stateMutability": "nonpayable",
808
+ "type": "function"
809
+ },
810
+ {
811
+ "inputs": [
812
+ {
813
+ "internalType": "address",
814
+ "name": "activatedBy",
815
+ "type": "address"
816
+ },
817
+ {
818
+ "internalType": "bytes",
819
+ "name": "data",
820
+ "type": "bytes"
479
821
  }
480
822
  ],
481
- "stateMutability": "view",
823
+ "name": "initializeVersionable",
824
+ "outputs": [],
825
+ "stateMutability": "nonpayable",
482
826
  "type": "function"
483
827
  },
484
828
  {
485
829
  "inputs": [],
486
- "name": "getVersionCount",
830
+ "name": "isConsumingScheduledOp",
487
831
  "outputs": [
488
832
  {
489
- "internalType": "uint256",
833
+ "internalType": "bytes4",
490
834
  "name": "",
491
- "type": "uint256"
835
+ "type": "bytes4"
492
836
  }
493
837
  ],
494
838
  "stateMutability": "view",
495
839
  "type": "function"
496
840
  },
841
+ {
842
+ "inputs": [],
843
+ "name": "linkToRegisteredNftId",
844
+ "outputs": [],
845
+ "stateMutability": "nonpayable",
846
+ "type": "function"
847
+ },
497
848
  {
498
849
  "inputs": [
499
850
  {
500
- "internalType": "Version",
501
- "name": "_version",
502
- "type": "uint24"
503
- }
504
- ],
505
- "name": "getVersionInfo",
506
- "outputs": [
507
- {
508
- "components": [
509
- {
510
- "internalType": "Version",
511
- "name": "version",
512
- "type": "uint24"
513
- },
514
- {
515
- "internalType": "address",
516
- "name": "implementation",
517
- "type": "address"
518
- },
519
- {
520
- "internalType": "address",
521
- "name": "activatedBy",
522
- "type": "address"
523
- },
524
- {
525
- "internalType": "Timestamp",
526
- "name": "activatedAt",
527
- "type": "uint40"
528
- },
529
- {
530
- "internalType": "Blocknumber",
531
- "name": "activatedIn",
532
- "type": "uint32"
533
- }
534
- ],
535
- "internalType": "struct IVersionable.VersionInfo",
536
- "name": "",
537
- "type": "tuple"
851
+ "internalType": "NftId",
852
+ "name": "bundleNftId",
853
+ "type": "uint96"
538
854
  }
539
855
  ],
540
- "stateMutability": "view",
856
+ "name": "lock",
857
+ "outputs": [],
858
+ "stateMutability": "nonpayable",
541
859
  "type": "function"
542
860
  },
543
861
  {
544
862
  "inputs": [
545
863
  {
546
- "internalType": "address",
547
- "name": "implementation",
864
+ "internalType": "contract IInstance",
865
+ "name": "instance",
548
866
  "type": "address"
549
867
  },
550
868
  {
551
- "internalType": "address",
552
- "name": "activatedBy",
553
- "type": "address"
869
+ "internalType": "NftId",
870
+ "name": "policyNftId",
871
+ "type": "uint96"
554
872
  },
555
873
  {
556
- "internalType": "bytes",
557
- "name": "data",
558
- "type": "bytes"
874
+ "internalType": "NftId",
875
+ "name": "bundleNftId",
876
+ "type": "uint96"
877
+ },
878
+ {
879
+ "internalType": "Amount",
880
+ "name": "collateralAmount",
881
+ "type": "uint96"
882
+ },
883
+ {
884
+ "internalType": "Amount",
885
+ "name": "premiumAmount",
886
+ "type": "uint96"
559
887
  }
560
888
  ],
561
- "name": "initialize",
889
+ "name": "lockCollateral",
562
890
  "outputs": [],
563
891
  "stateMutability": "nonpayable",
564
892
  "type": "function"
@@ -566,38 +894,53 @@
566
894
  {
567
895
  "inputs": [
568
896
  {
569
- "internalType": "Version",
570
- "name": "_version",
571
- "type": "uint24"
572
- }
573
- ],
574
- "name": "isInitialized",
575
- "outputs": [
576
- {
577
- "internalType": "bool",
578
- "name": "",
579
- "type": "bool"
897
+ "internalType": "bytes4",
898
+ "name": "interfaceId",
899
+ "type": "bytes4"
580
900
  }
581
901
  ],
582
- "stateMutability": "view",
583
- "type": "function"
584
- },
585
- {
586
- "inputs": [],
587
- "name": "linkToRegisteredNftId",
902
+ "name": "registerInterface",
588
903
  "outputs": [],
589
904
  "stateMutability": "nonpayable",
590
905
  "type": "function"
591
906
  },
592
907
  {
593
908
  "inputs": [
909
+ {
910
+ "internalType": "contract IInstance",
911
+ "name": "instance",
912
+ "type": "address"
913
+ },
914
+ {
915
+ "internalType": "NftId",
916
+ "name": "policyNftId",
917
+ "type": "uint96"
918
+ },
594
919
  {
595
920
  "internalType": "NftId",
596
921
  "name": "bundleNftId",
597
922
  "type": "uint96"
923
+ },
924
+ {
925
+ "internalType": "Amount",
926
+ "name": "collateralAmount",
927
+ "type": "uint96"
928
+ }
929
+ ],
930
+ "name": "releaseCollateral",
931
+ "outputs": [],
932
+ "stateMutability": "nonpayable",
933
+ "type": "function"
934
+ },
935
+ {
936
+ "inputs": [
937
+ {
938
+ "internalType": "address",
939
+ "name": "newAuthority",
940
+ "type": "address"
598
941
  }
599
942
  ],
600
- "name": "lockBundle",
943
+ "name": "setAuthority",
601
944
  "outputs": [],
602
945
  "stateMutability": "nonpayable",
603
946
  "type": "function"
@@ -627,7 +970,7 @@
627
970
  "type": "tuple"
628
971
  }
629
972
  ],
630
- "name": "setBundleFee",
973
+ "name": "setFee",
631
974
  "outputs": [],
632
975
  "stateMutability": "nonpayable",
633
976
  "type": "function"
@@ -662,24 +1005,9 @@
662
1005
  "internalType": "NftId",
663
1006
  "name": "policyNftId",
664
1007
  "type": "uint96"
665
- },
666
- {
667
- "internalType": "NftId",
668
- "name": "bundleNftId",
669
- "type": "uint96"
670
- },
671
- {
672
- "internalType": "uint256",
673
- "name": "collateralAmount",
674
- "type": "uint256"
675
- },
676
- {
677
- "internalType": "uint256",
678
- "name": "netPremiumAmount",
679
- "type": "uint256"
680
1008
  }
681
1009
  ],
682
- "name": "underwritePolicy",
1010
+ "name": "unlinkPolicy",
683
1011
  "outputs": [],
684
1012
  "stateMutability": "nonpayable",
685
1013
  "type": "function"
@@ -692,7 +1020,7 @@
692
1020
  "type": "uint96"
693
1021
  }
694
1022
  ],
695
- "name": "unlockBundle",
1023
+ "name": "unlock",
696
1024
  "outputs": [],
697
1025
  "stateMutability": "nonpayable",
698
1026
  "type": "function"
@@ -700,9 +1028,9 @@
700
1028
  {
701
1029
  "inputs": [
702
1030
  {
703
- "internalType": "NftId",
704
- "name": "instanceNftId",
705
- "type": "uint96"
1031
+ "internalType": "contract IInstance",
1032
+ "name": "instance",
1033
+ "type": "address"
706
1034
  },
707
1035
  {
708
1036
  "internalType": "NftId",
@@ -710,112 +1038,62 @@
710
1038
  "type": "uint96"
711
1039
  },
712
1040
  {
713
- "components": [
714
- {
715
- "internalType": "NftId",
716
- "name": "poolNftId",
717
- "type": "uint96"
718
- },
719
- {
720
- "components": [
721
- {
722
- "internalType": "UFixed",
723
- "name": "fractionalFee",
724
- "type": "uint256"
725
- },
726
- {
727
- "internalType": "uint256",
728
- "name": "fixedFee",
729
- "type": "uint256"
730
- }
731
- ],
732
- "internalType": "struct Fee",
733
- "name": "fee",
734
- "type": "tuple"
735
- },
736
- {
737
- "internalType": "bytes",
738
- "name": "filter",
739
- "type": "bytes"
740
- },
741
- {
742
- "internalType": "uint256",
743
- "name": "capitalAmount",
744
- "type": "uint256"
745
- },
746
- {
747
- "internalType": "uint256",
748
- "name": "lockedAmount",
749
- "type": "uint256"
750
- },
751
- {
752
- "internalType": "uint256",
753
- "name": "balanceAmount",
754
- "type": "uint256"
755
- },
756
- {
757
- "internalType": "uint256",
758
- "name": "lifetime",
759
- "type": "uint256"
760
- },
761
- {
762
- "internalType": "Timestamp",
763
- "name": "expiredAt",
764
- "type": "uint40"
765
- },
766
- {
767
- "internalType": "Timestamp",
768
- "name": "closedAt",
769
- "type": "uint40"
770
- }
771
- ],
772
- "internalType": "struct IBundle.BundleInfo",
773
- "name": "bundleInfo",
774
- "type": "tuple"
775
- },
776
- {
777
- "internalType": "StateId",
778
- "name": "state",
779
- "type": "uint8"
1041
+ "internalType": "Amount",
1042
+ "name": "feeAmount",
1043
+ "type": "uint96"
780
1044
  }
781
1045
  ],
782
- "name": "updateBundle",
1046
+ "name": "updateBundleFees",
783
1047
  "outputs": [],
784
1048
  "stateMutability": "nonpayable",
785
1049
  "type": "function"
786
1050
  },
787
1051
  {
788
1052
  "inputs": [
789
- {
790
- "internalType": "address",
791
- "name": "implementation",
792
- "type": "address"
793
- },
794
- {
795
- "internalType": "address",
796
- "name": "activatedBy",
797
- "type": "address"
798
- },
799
1053
  {
800
1054
  "internalType": "bytes",
801
1055
  "name": "data",
802
1056
  "type": "bytes"
803
1057
  }
804
1058
  ],
805
- "name": "upgrade",
1059
+ "name": "upgradeVersionable",
806
1060
  "outputs": [],
807
1061
  "stateMutability": "nonpayable",
808
1062
  "type": "function"
809
1063
  }
810
1064
  ],
811
- "bytecode": "0x60806040523480156200001157600080fd5b50620000546301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b600280546001600160a01b031916331790556200007062000076565b6200012a565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00805468010000000000000000900460ff1615620000c75760405163f92ee8a960e01b815260040160405180910390fd5b80546001600160401b0390811614620001275780546001600160401b0319166001600160401b0390811782556040519081527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50565b6139ae806200013a6000396000f3fe608060405234801561001057600080fd5b506004361061018e5760003560e01c8063946dfcfe116100de578063caf4e3d411610097578063cf7a1d7711610071578063cf7a1d77146104d7578063cf7e5db8146104ea578063e3458d53146104fd578063fde0a3cd1461051057600080fd5b8063caf4e3d4146104bf578063cc9fc59a146104c7578063cde749f4146104cf57600080fd5b8063946dfcfe14610404578063a3f4df7e1461042b578063a745e3df14610464578063b3c6501514610477578063b68d180914610497578063b88da759146104ac57600080fd5b80634d459c901161014b578063636450f511610125578063636450f5146103aa578063644c45e0146103bd5780636f10e8a0146103e9578063893d20e8146103fc57600080fd5b80634d459c90146102595780634f421333146103725780635ab1bd531461038557600080fd5b806301ffc9a7146101935780630d8e6e2c146101d55780630fec111c146101f1578063138461e0146102075780631eff4b221461021157806332e6f92214610246575b600080fd5b6101c06101a1366004612a24565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b6101dd610523565b60405162ffffff90911681526020016101cc565b6101f96105ad565b6040516101cc929190612b1e565b61020f610733565b005b6102387f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b6040519081526020016101cc565b61020f610254366004612b86565b610955565b610315610267366004612bf2565b6040805160a08101825260008082526020820181905291810182905260608101829052608081019190915260008051602061395983398151915262ffffff92831660009081526020918252604090819020815160a0810183528154958616815263010000009095046001600160a01b03908116938601939093526001015491821690840152600160a01b810464ffffffffff166060840152600160c81b900463ffffffff1660808301525090565b60408051825162ffffff1681526020808401516001600160a01b039081169183019190915283830151169181019190915260608083015164ffffffffff169082015260809182015163ffffffff169181019190915260a0016101cc565b6101c0610380366004612bf2565b610b74565b6001546001600160a01b03165b6040516001600160a01b0390911681526020016101cc565b61020f6103b8366004612d15565b610c27565b600154600160a01b90046001600160601b03165b6040516001600160601b0390911681526020016101cc565b61020f6103f7366004612d4b565b610ec2565b610392610fa0565b7f4f61291a8ac3d020d0a7d919a76b8592aa88385744dee3f8b4f3873b969ed90154610238565b6104576040518060400160405280600d81526020016c42756e646c655365727669636560981b81525081565b6040516101cc9190612d68565b61020f610472366004612df8565b6110b9565b61047f611213565b6040516001600160401b0390911681526020016101cc565b60dc5b60405160ff90911681526020016101cc565b6101dd6104ba366004612e59565b611234565b610392611285565b610392611322565b61049a61134c565b61020f6104e5366004612df8565b6113cf565b61020f6104f8366004612eaa565b6114d7565b6103d161050b366004612fc0565b611636565b61020f61051e366004612d4b565b611992565b604051632efe011360e01b815260036004820152600060248201819052604482018190529073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af4158015610584573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105a89190613068565b905090565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a082019290925260c0810191909152606060007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e001604052806106346001546001600160601b03600160a01b9091041690565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a00161067c610fa0565b6001600160a01b0316815260200182600101805461069990613085565b80601f01602080910402602001604051908101604052809291908181526020018280546106c590613085565b80156107125780601f106106e757610100808354040283529160200191610712565b820191906000526020600020905b8154815290600101906020018083116106f557829003601f168201915b50505050508152506040518060200160405280600081525092509250509091565b6001546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015273__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015610795573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107b991906130cf565b15610800576001546040516316322c0f60e31b81526001600160a01b0382166004820152600160a01b9091046001600160601b031660248201526044015b60405180910390fd5b6001546001600160a01b03166108295760405163cf29926160e01b815260040160405180910390fd5b60015460405163c3c5a54760e01b81523060048201819052916001600160a01b03169063c3c5a54790602401602060405180830381865afa158015610872573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061089691906130cf565b6108be576040516372657a5160e01b81526001600160a01b03821660048201526024016107f7565b600154604051636939560f60e11b81526001600160a01b0383811660048301529091169063d272ac1e90602401602060405180830381865afa158015610908573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061092c91906130f5565b600160146101000a8154816001600160601b0302191690836001600160601b0316021790555050565b336109686001546001600160a01b031690565b604051632b91e0a960e01b81526001600160a01b0383811660048301529190911690632b91e0a990602401602060405180830381865afa1580156109b0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109d491906130cf565b6109f05760405162461bcd60e51b81526004016107f790613112565b6000866001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015610a30573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a54919061313d565b604051634793b4ab60e01b81526001600160601b03871660048201529091506000906001600160a01b03831690634793b4ab90602401600060405180830381865afa158015610aa7573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610acf91908101906131da565b90508481608001818151610ae391906132ba565b90525060a081018051859190610afa9083906132ba565b9052506040516307f8b57360e31b81526001600160a01b03891690633fc5ab9890610b2e908990859060ff9060040161337a565b600060405180830381600087803b158015610b4857600080fd5b505af1158015610b5c573d6000803e3d6000fd5b50505050610b6a8888611a3d565b5050505050505050565b60008060008051602061395983398151915262ffffff84166000908152602091909152604090819020600101549051631bbffab160e21b8152600160c81b90910463ffffffff16600482015273__$5f476116ae21c5294e0c0761c07efa7e1c$__90636effeac490602401602060405180830381865af4158015610bfc573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c2091906133af565b1192915050565b600080610c34608c611d35565b915091506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015610c78573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c9c919061313d565b8351604051634793b4ab60e01b81526001600160601b0388166004820152919250906000906001600160a01b03841690634793b4ab90602401600060405180830381865afa158015610cf2573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610d1a91908101906131da565b80516040516330b8415f60e01b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015610d78573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d9c91906130cf565b610de85760405162461bcd60e51b815260206004820152601c60248201527f4552524f523a504c532d3031303a42554e444c455f554e4b4e4f574e0000000060448201526064016107f7565b80516001600160601b03808416911614610e4f5760405162461bcd60e51b815260206004820152602260248201527f4552524f523a504c532d3031313a42554e444c455f504f4f4c5f4d49534d4154604482015261086960f31b60648201526084016107f7565b602081018690526040516307f8b57360e31b81526001600160a01b03851690633fc5ab9890610e87908a90859060ff9060040161337a565b600060405180830381600087803b158015610ea157600080fd5b505af1158015610eb5573d6000803e3d6000fd5b5050505050505050505050565b6000610ece608c611d35565b9150506000816001600160a01b03166361f5f4206040518163ffffffff1660e01b8152600401602060405180830381865afa158015610f11573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f35919061313d565b6040516306fa456560e01b81526001600160601b03851660048201529091506001600160a01b038216906306fa4565906024015b600060405180830381600087803b158015610f8357600080fd5b505af1158015610f97573d6000803e3d6000fd5b50505050505050565b6001546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015260009073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015611005573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061102991906130cf565b156110a957600154604051631c5da14d60e11b8152600160a01b82046001600160601b031660048201526001600160a01b03909116906338bb429a90602401602060405180830381865afa158015611085573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105a8919061313d565b506002546001600160a01b031690565b73__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__63a123b37c6110db610523565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af415801561111b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061113f91906133d3565b6000805160206139398339815191528054600160401b900460ff1680611172575080546001600160401b03808416911610155b156111905760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b1781556111bb8585611fd7565b6111c483612276565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a15050505050565b60006105a8600080516020613939833981519152546001600160401b031690565b60006000805160206139598339815191526001018281548110611259576112596133fc565b90600052602060002090600a91828204019190066003029054906101000a900462ffffff169050919050565b60008061129a6001546001600160a01b031690565b6001600160a01b031663d39e604360285b6112b361134c565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa1580156112f8573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061131c919061313d565b92915050565b6000806113376001546001600160a01b031690565b6001600160a01b031663d39e604360466112ab565b6000611356610523565b60405163c9e66e2960e01b815262ffffff909116600482015273__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__9063c9e66e2990602401602060405180830381865af41580156113ab573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105a8919061341d565b6000805160206139398339815191528054600160401b810460ff1615906001600160401b03166000811580156114025750825b90506000826001600160401b0316600114801561141e5750303b155b90508115801561142c575080155b1561144a5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561147457845460ff60401b1916600160401b1785555b61147e8888611fd7565b611488878761227e565b8315610b6a57845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15050505050505050565b336114ea6001546001600160a01b031690565b604051632b91e0a960e01b81526001600160a01b0383811660048301529190911690632b91e0a990602401602060405180830381865afa158015611532573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061155691906130cf565b6115725760405162461bcd60e51b81526004016107f790613112565b60006115866001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03881660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa1580156115d5573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526115fd919081019061343a565b60808101516040516307f8b57360e31b8152919250906001600160a01b03821690633fc5ab9890610e879089908990899060040161337a565b60008080611644608c611d35565b915091506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015611688573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116ac919061313d565b90506000836000015190506000604051806101200160405280836001600160601b031681526020018c815260200189898080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920182905250938552505050602082018d90526040820152606081018c9052608081018b905260a001611737600090565b64ffffffffff16815260006020909101529050611752611285565b6001600160a01b031663c2bf08c86040518060e00160405280611773600090565b6001600160601b03168152602001856001600160601b0316815260200161179860dc90565b60ff16815260200160001515815260200160006001600160a01b031681526020018f6001600160a01b03168152602001846040516020016117d9919061350c565b6040516020818303038152906040528152506040518263ffffffff1660e01b8152600401611807919061351f565b6020604051808303816000875af1158015611826573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061184a91906130f5565b604051633038d34760e11b81529096506001600160a01b03851690636071a68e9061187b9089908590600401613532565b600060405180830381600087803b15801561189557600080fd5b505af11580156118a9573d6000803e3d6000fd5b505050506000846001600160a01b03166361f5f4206040518163ffffffff1660e01b8152600401602060405180830381865afa1580156118ed573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611911919061313d565b6040516346f0e8a760e11b81526001600160601b03891660048201529091506001600160a01b03821690638de1d14e90602401600060405180830381600087803b15801561195e57600080fd5b505af1158015611972573d6000803e3d6000fd5b505050506119828484898e6123a9565b5050505050509695505050505050565b600061199e608c611d35565b9150506000816001600160a01b03166361f5f4206040518163ffffffff1660e01b8152600401602060405180830381865afa1580156119e1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a05919061313d565b60405163b5346af560e01b81526001600160601b03851660048201529091506001600160a01b0382169063b5346af590602401610f69565b33611a506001546001600160a01b031690565b604051632b91e0a960e01b81526001600160a01b0383811660048301529190911690632b91e0a990602401602060405180830381865afa158015611a98573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611abc91906130cf565b611ad85760405162461bcd60e51b81526004016107f790613112565b6000836001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015611b18573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611b3c919061313d565b60405163bd7d9d8560e01b81526001600160601b03851660048201529091506000906001600160a01b0383169063bd7d9d8590602401600060405180830381865afa158015611b8f573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611bb7919081019061357e565b6101a0810151604051638d38cd4b60e01b815264ffffffffff909116600482015290915073__$d53880c81dc91c20799140d711e5ab8718$__90638d38cd4b90602401602060405180830381865af4158015611c17573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611c3b91906130cf565b15611c6457604051639218a15160e01b81526001600160601b03851660048201526024016107f7565b6000856001600160a01b03166361f5f4206040518163ffffffff1660e01b8152600401602060405180830381865afa158015611ca4573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611cc8919061313d565b604051630331f98560e21b81526001600160601b03871660048201529091506001600160a01b03821690630cc7e61490602401600060405180830381600087803b158015611d1557600080fd5b505af1158015611d29573d6000803e3d6000fd5b50505050505050505050565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a0820183905260c082015260015490919081906001600160a01b03166040516308b09a5f60e41b81523360048201529091506001600160a01b03821690638b09a5f090602401600060405180830381865afa158015611dc4573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611dec919081019061343a565b9250611e0283604001518560ff90811691161490565b611e445760405162461bcd60e51b815260206004820152601360248201527213d0929150d517d516541157d2539590531251606a1b60448201526064016107f7565b60208301516040516305247a1760e51b81526001600160601b0390911660048201526000906001600160a01b0383169063a48f42e090602401600060405180830381865afa158015611e9a573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611ec2919081019061343a565b6080015190508092506000836001600160a01b031663e5f6cd276040518163ffffffff1660e01b8152600401602060405180830381865afa158015611f0b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611f2f919061313d565b6080860151604051629b7b3560e61b81526001600160a01b0391821660048201529192508216906326decd4090602401602060405180830381865afa158015611f7c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611fa091906130cf565b15611fcf57608085015160405163d53987e560e01b81526001600160a01b0390911660048201526024016107f7565b505050915091565b611fdf612642565b600080516020613959833981519152600061200f600080516020613939833981519152546001600160401b031690565b9050600061201b610523565b9050816001600160401b03166001036120485760028301805462ffffff191662ffffff8316179055612096565b600283015462ffffff908116908216116120965760405162461bcd60e51b815260206004820152600f60248201526e24a72b20a624a2102b22a929a4a7a760891b60448201526064016107f7565b6001808401805491820181556000908152602090819020600a808404909101805462ffffff808716600394909606939093026101000a858102930219169190911790556040805160a0810182529283526001600160a01b038089168484015287168382015280516356db0c1960e11b81529051606084019273__$d53880c81dc91c20799140d711e5ab8718$__9263adb6183292600480830193928290030181865af415801561214a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061216e91906136e3565b64ffffffffff1681526020014363ffffffff90811690915262ffffff8084166000908152602087815260409182902085518154928701516001600160a01b039081166301000000026001600160b81b0319909416919095161791909117815584820151600190910180546060870151608090970151909516600160c81b0263ffffffff60c81b1964ffffffffff909716600160a01b026001600160c81b031990961692909416919091179390931793909316179055517fad0a0fc10465a8dd9da3ad5f43e1a7fff4b4578551c76f0ae8deb844f0d0bf68906112049083908890889062ffffff9390931683526001600160a01b03918216602084015216604082015260600190565b61018e612642565b6000805160206139398339815191528054600160401b810460ff1615906001600160401b03166000811580156122b15750825b90506000826001600160401b031660011480156122cd5750303b155b9050811580156122db575080155b156122f95760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561232357845460ff60401b1916600160401b1785555b6000808780602001905181019061233a9190613700565b9092509050612349828a61267b565b61235963ef49325160e01b6126e6565b50508315610f9757845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a150505050505050565b801561263c576040516355e343a960e01b81526001600160601b03841660048201526000906001600160a01b038616906355e343a99060240161018060405180830381865afa158015612400573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612424919061373a565b602081015190915060006124406001546001600160a01b031690565b604051631c5da14d60e11b81526001600160601b03871660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa15801561248f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906124b3919061313d565b60808401516101008501516040516317d5759960e31b81526001600160a01b03808516600483015291821660248201526044810188905292935090919084169063beabacc890606401600060405180830381600087803b15801561251657600080fd5b505af115801561252a573d6000803e3d6000fd5b50506040516346f0526160e11b815273__$a23651848365a6a5ca15f07b4331037f48$__9250638de0a4c291506125659084906004016137ef565b602060405180830381865af4158015612582573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906125a691906130cf565b610b6a5760405163012ebd8360e21b8152815160048201526020820151602482015260448101869052600090819073__$a23651848365a6a5ca15f07b4331037f48$__906304baf60c906064016040805180830381865af415801561260f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906126339190613806565b50505050505050505b50505050565b60008051602061393983398151915254600160401b900460ff1661267957604051631afcd79f60e31b815260040160405180910390fd5b565b600060dc61268761134c565b6040805160ff93841660208201529290911690820152606001604051602081830303815290604052905060006126bc8461270b565b905060006126cf8583603c848888612776565b6126df637b6a51fd60e01b6126e6565b5050505050565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b604051636939560f60e11b81526001600160a01b0382166004820181905260009163d272ac1e90602401602060405180830381865afa158015612752573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061131c91906130f5565b6127b76301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b6127c18287612842565b60007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166cffffffffffffffffffffffffff1990911617600160601b60ff8816021760ff60681b1916600160681b861515021781559050600181016128318382613879565b50610f976303fb044760e21b6126e6565b6001600160a01b0382166128985760405162461bcd60e51b815260206004820152601e60248201527f4e66744f776e61626c653a20696e697469616c206f776e65722069732030000060448201526064016107f7565b600280546001600160a01b0319166001600160a01b0384161790556128bc816128c0565b5050565b6001546001600160a01b0316156128f95760015460405163fcdbf2d960e01b81526001600160a01b0390911660048201526024016107f7565b6001600160a01b0381166129205760405163f5c4d07d60e01b815260040160405180910390fd5b806001600160a01b03163b6000036129565760405163fdeac91f60e01b81526001600160a01b03821660048201526024016107f7565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b815263102da10360e01b60048201526301ffc9a790602401602060405180830381865afa9250505080156129d0575060408051601f3d908101601f191682019092526129cd918101906130cf565b60015b6129f85760405163fdeac91f60e01b81526001600160a01b03821660048201526024016107f7565b806128bc5760405163fdeac91f60e01b81526001600160a01b03831660048201526024016107f7565b50565b600060208284031215612a3657600080fd5b81356001600160e01b031981168114612a4e57600080fd5b9392505050565b60005b83811015612a70578181015183820152602001612a58565b50506000910152565b60008151808452612a91816020860160208601612a55565b601f01601f19169290920160200192915050565b60006001600160601b038083511684528060208401511660208501525060ff6040830151166040840152606082015115156060840152608082015160018060a01b0380821660808601528060a08501511660a0860152505060c082015160e060c0850152612b1660e0850182612a79565b949350505050565b604081526000612b316040830185612aa5565b8281036020840152612b438185612a79565b95945050505050565b6001600160a01b0381168114612a2157600080fd5b6001600160601b0381168114612a2157600080fd5b8035612b8181612b61565b919050565b600080600080600060a08688031215612b9e57600080fd5b8535612ba981612b4c565b94506020860135612bb981612b61565b93506040860135612bc981612b61565b94979396509394606081013594506080013592915050565b62ffffff81168114612a2157600080fd5b600060208284031215612c0457600080fd5b8135612a4e81612be1565b634e487b7160e01b600052604160045260246000fd5b604080519081016001600160401b0381118282101715612c4757612c47612c0f565b60405290565b60405161012081016001600160401b0381118282101715612c4757612c47612c0f565b60405160e081016001600160401b0381118282101715612c4757612c47612c0f565b60405161020081016001600160401b0381118282101715612c4757612c47612c0f565b604051601f8201601f191681016001600160401b0381118282101715612cdd57612cdd612c0f565b604052919050565b600060408284031215612cf757600080fd5b612cff612c25565b9050813581526020820135602082015292915050565b60008060608385031215612d2857600080fd5b8235612d3381612b61565b9150612d428460208501612ce5565b90509250929050565b600060208284031215612d5d57600080fd5b8135612a4e81612b61565b602081526000612a4e6020830184612a79565b60006001600160401b03821115612d9457612d94612c0f565b50601f01601f191660200190565b600082601f830112612db357600080fd5b8135612dc6612dc182612d7b565b612cb5565b818152846020838601011115612ddb57600080fd5b816020850160208301376000918101602001919091529392505050565b600080600060608486031215612e0d57600080fd5b8335612e1881612b4c565b92506020840135612e2881612b4c565b915060408401356001600160401b03811115612e4357600080fd5b612e4f86828701612da2565b9150509250925092565b600060208284031215612e6b57600080fd5b5035919050565b64ffffffffff81168114612a2157600080fd5b8035612b8181612e72565b60ff81168114612a2157600080fd5b8035612b8181612e90565b60008060008060808587031215612ec057600080fd5b8435612ecb81612b61565b93506020850135612edb81612b61565b925060408501356001600160401b0380821115612ef757600080fd5b908601906101408289031215612f0c57600080fd5b612f14612c4d565b612f1d83612b76565b8152612f2c8960208501612ce5565b6020820152606083013582811115612f4357600080fd5b612f4f8a828601612da2565b6040830152506080830135606082015260a0830135608082015260c083013560a082015260e083013560c08201526101009150612f8d828401612e85565b60e0820152612f9f6101208401612e85565b82820152809450505050612fb560608601612e9f565b905092959194509250565b60008060008060008060c08789031215612fd957600080fd5b8635612fe481612b4c565b9550612ff38860208901612ce5565b9450606087013593506080870135925060a08701356001600160401b038082111561301d57600080fd5b818901915089601f83011261303157600080fd5b81358181111561304057600080fd5b8a602082850101111561305257600080fd5b6020830194508093505050509295509295509295565b60006020828403121561307a57600080fd5b8151612a4e81612be1565b600181811c9082168061309957607f821691505b6020821081036130b957634e487b7160e01b600052602260045260246000fd5b50919050565b80518015158114612b8157600080fd5b6000602082840312156130e157600080fd5b612a4e826130bf565b8051612b8181612b61565b60006020828403121561310757600080fd5b8151612a4e81612b61565b6020808252601190820152704552524f525f4e4f545f5345525649434560781b604082015260600190565b60006020828403121561314f57600080fd5b8151612a4e81612b4c565b60006040828403121561316c57600080fd5b613174612c25565b9050815181526020820151602082015292915050565b600082601f83011261319b57600080fd5b81516131a9612dc182612d7b565b8181528460208386010111156131be57600080fd5b612b16826020830160208701612a55565b8051612b8181612e72565b6000602082840312156131ec57600080fd5b81516001600160401b038082111561320357600080fd5b90830190610140828603121561321857600080fd5b613220612c4d565b613229836130ea565b8152613238866020850161315a565b602082015260608301518281111561324f57600080fd5b61325b8782860161318a565b6040830152506080830151606082015260a0830151608082015260c083015160a082015260e083015160c082015261010091506132998284016131cf565b60e08201526132ab61012084016131cf565b91810191909152949350505050565b8082018082111561131c57634e487b7160e01b600052601160045260246000fd5b80516001600160601b03168252600061014060208381015180518683015290810151604086015250604083015181606086015261331a82860182612a79565b91505060608301516080850152608083015160a085015260a083015160c085015260c083015160e085015260e083015161010061335f8187018364ffffffffff169052565b84015164ffffffffff81166101208701529050509392505050565b6001600160601b038416815260606020820152600061339c60608301856132db565b905060ff83166040830152949350505050565b6000602082840312156133c157600080fd5b5051919050565b8051612b8181612b4c565b6000602082840312156133e557600080fd5b81516001600160401b0381168114612a4e57600080fd5b634e487b7160e01b600052603260045260246000fd5b8051612b8181612e90565b60006020828403121561342f57600080fd5b8151612a4e81612e90565b60006020828403121561344c57600080fd5b81516001600160401b038082111561346357600080fd5b9083019060e0828603121561347757600080fd5b61347f612c70565b613488836130ea565b8152613496602084016130ea565b60208201526134a760408401613412565b60408201526134b8606084016130bf565b60608201526134c9608084016133c8565b60808201526134da60a084016133c8565b60a082015260c0830151828111156134f157600080fd5b6134fd8782860161318a565b60c08301525095945050505050565b602081526000612a4e60208301846132db565b602081526000612a4e6020830184612aa5565b6001600160601b0383168152604060208201526000612b1660408301846132db565b80516001600160c01b031981168114612b8157600080fd5b805161ffff81168114612b8157600080fd5b60006020828403121561359057600080fd5b81516001600160401b03808211156135a757600080fd5b9083019061020082860312156135bc57600080fd5b6135c4612c92565b6135cd836130ea565b81526135db602084016130ea565b60208201526135ec60408401613554565b60408201526135fd60608401613554565b60608201526080830151608082015260a083015160a082015260c083015160c082015260e083015160e0820152610100808401518381111561363e57600080fd5b61364a8882870161318a565b828401525050610120808401518381111561366457600080fd5b6136708882870161318a565b828401525050610140915061368682840161356c565b82820152610160915061369a82840161356c565b82820152610180915081830151828201526101a091506136bb8284016131cf565b828201526101c091506136cf8284016131cf565b828201526101e091506132ab8284016131cf565b6000602082840312156136f557600080fd5b8151612a4e81612e72565b6000806040838503121561371357600080fd5b825161371e81612b4c565b602084015190925061372f81612b4c565b809150509250929050565b6000610180828403121561374d57600080fd5b613755612c4d565b61375e836130ea565b815261376c602084016133c8565b602082015260408301516040820152613788846060850161315a565b606082015261379a8460a0850161315a565b60808201526137ac8460e0850161315a565b60a08201526137be61012084016130bf565b60c08201526137d061014084016130bf565b60e08201526137e261016084016133c8565b6101008201529392505050565b81518152602080830151908201526040810161131c565b6000806040838503121561381957600080fd5b505080516020909101519092909150565b601f82111561387457600081815260208120601f850160051c810160208610156138515750805b601f850160051c820191505b818110156138705782815560010161385d565b5050505b505050565b81516001600160401b0381111561389257613892612c0f565b6138a6816138a08454613085565b8461382a565b602080601f8311600181146138db57600084156138c35750858301515b600019600386901b1c1916600185901b178555613870565b600085815260208120601f198616915b8281101561390a578886015182559484019460019091019084016138eb565b50858210156139285787850151600019600388901b60f8161c191681555b5050505050600190811b0190555056fef0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a004f61291a8ac3d020d0a7d919a76b8592aa88385744dee3f8b4f3873b969ed900a2646970667358221220d1051275d93e3eee68faf376b0f70c75d604bd0b7b5ca0ab9eaa886cfb43887f64736f6c63430008140033",
812
- "deployedBytecode": "0x608060405234801561001057600080fd5b506004361061018e5760003560e01c8063946dfcfe116100de578063caf4e3d411610097578063cf7a1d7711610071578063cf7a1d77146104d7578063cf7e5db8146104ea578063e3458d53146104fd578063fde0a3cd1461051057600080fd5b8063caf4e3d4146104bf578063cc9fc59a146104c7578063cde749f4146104cf57600080fd5b8063946dfcfe14610404578063a3f4df7e1461042b578063a745e3df14610464578063b3c6501514610477578063b68d180914610497578063b88da759146104ac57600080fd5b80634d459c901161014b578063636450f511610125578063636450f5146103aa578063644c45e0146103bd5780636f10e8a0146103e9578063893d20e8146103fc57600080fd5b80634d459c90146102595780634f421333146103725780635ab1bd531461038557600080fd5b806301ffc9a7146101935780630d8e6e2c146101d55780630fec111c146101f1578063138461e0146102075780631eff4b221461021157806332e6f92214610246575b600080fd5b6101c06101a1366004612a24565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b6101dd610523565b60405162ffffff90911681526020016101cc565b6101f96105ad565b6040516101cc929190612b1e565b61020f610733565b005b6102387f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b6040519081526020016101cc565b61020f610254366004612b86565b610955565b610315610267366004612bf2565b6040805160a08101825260008082526020820181905291810182905260608101829052608081019190915260008051602061395983398151915262ffffff92831660009081526020918252604090819020815160a0810183528154958616815263010000009095046001600160a01b03908116938601939093526001015491821690840152600160a01b810464ffffffffff166060840152600160c81b900463ffffffff1660808301525090565b60408051825162ffffff1681526020808401516001600160a01b039081169183019190915283830151169181019190915260608083015164ffffffffff169082015260809182015163ffffffff169181019190915260a0016101cc565b6101c0610380366004612bf2565b610b74565b6001546001600160a01b03165b6040516001600160a01b0390911681526020016101cc565b61020f6103b8366004612d15565b610c27565b600154600160a01b90046001600160601b03165b6040516001600160601b0390911681526020016101cc565b61020f6103f7366004612d4b565b610ec2565b610392610fa0565b7f4f61291a8ac3d020d0a7d919a76b8592aa88385744dee3f8b4f3873b969ed90154610238565b6104576040518060400160405280600d81526020016c42756e646c655365727669636560981b81525081565b6040516101cc9190612d68565b61020f610472366004612df8565b6110b9565b61047f611213565b6040516001600160401b0390911681526020016101cc565b60dc5b60405160ff90911681526020016101cc565b6101dd6104ba366004612e59565b611234565b610392611285565b610392611322565b61049a61134c565b61020f6104e5366004612df8565b6113cf565b61020f6104f8366004612eaa565b6114d7565b6103d161050b366004612fc0565b611636565b61020f61051e366004612d4b565b611992565b604051632efe011360e01b815260036004820152600060248201819052604482018190529073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af4158015610584573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105a89190613068565b905090565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a082019290925260c0810191909152606060007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e001604052806106346001546001600160601b03600160a01b9091041690565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a00161067c610fa0565b6001600160a01b0316815260200182600101805461069990613085565b80601f01602080910402602001604051908101604052809291908181526020018280546106c590613085565b80156107125780601f106106e757610100808354040283529160200191610712565b820191906000526020600020905b8154815290600101906020018083116106f557829003601f168201915b50505050508152506040518060200160405280600081525092509250509091565b6001546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015273__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015610795573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107b991906130cf565b15610800576001546040516316322c0f60e31b81526001600160a01b0382166004820152600160a01b9091046001600160601b031660248201526044015b60405180910390fd5b6001546001600160a01b03166108295760405163cf29926160e01b815260040160405180910390fd5b60015460405163c3c5a54760e01b81523060048201819052916001600160a01b03169063c3c5a54790602401602060405180830381865afa158015610872573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061089691906130cf565b6108be576040516372657a5160e01b81526001600160a01b03821660048201526024016107f7565b600154604051636939560f60e11b81526001600160a01b0383811660048301529091169063d272ac1e90602401602060405180830381865afa158015610908573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061092c91906130f5565b600160146101000a8154816001600160601b0302191690836001600160601b0316021790555050565b336109686001546001600160a01b031690565b604051632b91e0a960e01b81526001600160a01b0383811660048301529190911690632b91e0a990602401602060405180830381865afa1580156109b0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109d491906130cf565b6109f05760405162461bcd60e51b81526004016107f790613112565b6000866001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015610a30573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a54919061313d565b604051634793b4ab60e01b81526001600160601b03871660048201529091506000906001600160a01b03831690634793b4ab90602401600060405180830381865afa158015610aa7573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610acf91908101906131da565b90508481608001818151610ae391906132ba565b90525060a081018051859190610afa9083906132ba565b9052506040516307f8b57360e31b81526001600160a01b03891690633fc5ab9890610b2e908990859060ff9060040161337a565b600060405180830381600087803b158015610b4857600080fd5b505af1158015610b5c573d6000803e3d6000fd5b50505050610b6a8888611a3d565b5050505050505050565b60008060008051602061395983398151915262ffffff84166000908152602091909152604090819020600101549051631bbffab160e21b8152600160c81b90910463ffffffff16600482015273__$5f476116ae21c5294e0c0761c07efa7e1c$__90636effeac490602401602060405180830381865af4158015610bfc573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c2091906133af565b1192915050565b600080610c34608c611d35565b915091506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015610c78573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c9c919061313d565b8351604051634793b4ab60e01b81526001600160601b0388166004820152919250906000906001600160a01b03841690634793b4ab90602401600060405180830381865afa158015610cf2573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610d1a91908101906131da565b80516040516330b8415f60e01b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015610d78573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d9c91906130cf565b610de85760405162461bcd60e51b815260206004820152601c60248201527f4552524f523a504c532d3031303a42554e444c455f554e4b4e4f574e0000000060448201526064016107f7565b80516001600160601b03808416911614610e4f5760405162461bcd60e51b815260206004820152602260248201527f4552524f523a504c532d3031313a42554e444c455f504f4f4c5f4d49534d4154604482015261086960f31b60648201526084016107f7565b602081018690526040516307f8b57360e31b81526001600160a01b03851690633fc5ab9890610e87908a90859060ff9060040161337a565b600060405180830381600087803b158015610ea157600080fd5b505af1158015610eb5573d6000803e3d6000fd5b5050505050505050505050565b6000610ece608c611d35565b9150506000816001600160a01b03166361f5f4206040518163ffffffff1660e01b8152600401602060405180830381865afa158015610f11573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f35919061313d565b6040516306fa456560e01b81526001600160601b03851660048201529091506001600160a01b038216906306fa4565906024015b600060405180830381600087803b158015610f8357600080fd5b505af1158015610f97573d6000803e3d6000fd5b50505050505050565b6001546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015260009073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015611005573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061102991906130cf565b156110a957600154604051631c5da14d60e11b8152600160a01b82046001600160601b031660048201526001600160a01b03909116906338bb429a90602401602060405180830381865afa158015611085573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105a8919061313d565b506002546001600160a01b031690565b73__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__63a123b37c6110db610523565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af415801561111b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061113f91906133d3565b6000805160206139398339815191528054600160401b900460ff1680611172575080546001600160401b03808416911610155b156111905760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b1781556111bb8585611fd7565b6111c483612276565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a15050505050565b60006105a8600080516020613939833981519152546001600160401b031690565b60006000805160206139598339815191526001018281548110611259576112596133fc565b90600052602060002090600a91828204019190066003029054906101000a900462ffffff169050919050565b60008061129a6001546001600160a01b031690565b6001600160a01b031663d39e604360285b6112b361134c565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa1580156112f8573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061131c919061313d565b92915050565b6000806113376001546001600160a01b031690565b6001600160a01b031663d39e604360466112ab565b6000611356610523565b60405163c9e66e2960e01b815262ffffff909116600482015273__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__9063c9e66e2990602401602060405180830381865af41580156113ab573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105a8919061341d565b6000805160206139398339815191528054600160401b810460ff1615906001600160401b03166000811580156114025750825b90506000826001600160401b0316600114801561141e5750303b155b90508115801561142c575080155b1561144a5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561147457845460ff60401b1916600160401b1785555b61147e8888611fd7565b611488878761227e565b8315610b6a57845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15050505050505050565b336114ea6001546001600160a01b031690565b604051632b91e0a960e01b81526001600160a01b0383811660048301529190911690632b91e0a990602401602060405180830381865afa158015611532573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061155691906130cf565b6115725760405162461bcd60e51b81526004016107f790613112565b60006115866001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03881660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa1580156115d5573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526115fd919081019061343a565b60808101516040516307f8b57360e31b8152919250906001600160a01b03821690633fc5ab9890610e879089908990899060040161337a565b60008080611644608c611d35565b915091506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015611688573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116ac919061313d565b90506000836000015190506000604051806101200160405280836001600160601b031681526020018c815260200189898080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920182905250938552505050602082018d90526040820152606081018c9052608081018b905260a001611737600090565b64ffffffffff16815260006020909101529050611752611285565b6001600160a01b031663c2bf08c86040518060e00160405280611773600090565b6001600160601b03168152602001856001600160601b0316815260200161179860dc90565b60ff16815260200160001515815260200160006001600160a01b031681526020018f6001600160a01b03168152602001846040516020016117d9919061350c565b6040516020818303038152906040528152506040518263ffffffff1660e01b8152600401611807919061351f565b6020604051808303816000875af1158015611826573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061184a91906130f5565b604051633038d34760e11b81529096506001600160a01b03851690636071a68e9061187b9089908590600401613532565b600060405180830381600087803b15801561189557600080fd5b505af11580156118a9573d6000803e3d6000fd5b505050506000846001600160a01b03166361f5f4206040518163ffffffff1660e01b8152600401602060405180830381865afa1580156118ed573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611911919061313d565b6040516346f0e8a760e11b81526001600160601b03891660048201529091506001600160a01b03821690638de1d14e90602401600060405180830381600087803b15801561195e57600080fd5b505af1158015611972573d6000803e3d6000fd5b505050506119828484898e6123a9565b5050505050509695505050505050565b600061199e608c611d35565b9150506000816001600160a01b03166361f5f4206040518163ffffffff1660e01b8152600401602060405180830381865afa1580156119e1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a05919061313d565b60405163b5346af560e01b81526001600160601b03851660048201529091506001600160a01b0382169063b5346af590602401610f69565b33611a506001546001600160a01b031690565b604051632b91e0a960e01b81526001600160a01b0383811660048301529190911690632b91e0a990602401602060405180830381865afa158015611a98573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611abc91906130cf565b611ad85760405162461bcd60e51b81526004016107f790613112565b6000836001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015611b18573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611b3c919061313d565b60405163bd7d9d8560e01b81526001600160601b03851660048201529091506000906001600160a01b0383169063bd7d9d8590602401600060405180830381865afa158015611b8f573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611bb7919081019061357e565b6101a0810151604051638d38cd4b60e01b815264ffffffffff909116600482015290915073__$d53880c81dc91c20799140d711e5ab8718$__90638d38cd4b90602401602060405180830381865af4158015611c17573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611c3b91906130cf565b15611c6457604051639218a15160e01b81526001600160601b03851660048201526024016107f7565b6000856001600160a01b03166361f5f4206040518163ffffffff1660e01b8152600401602060405180830381865afa158015611ca4573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611cc8919061313d565b604051630331f98560e21b81526001600160601b03871660048201529091506001600160a01b03821690630cc7e61490602401600060405180830381600087803b158015611d1557600080fd5b505af1158015611d29573d6000803e3d6000fd5b50505050505050505050565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a0820183905260c082015260015490919081906001600160a01b03166040516308b09a5f60e41b81523360048201529091506001600160a01b03821690638b09a5f090602401600060405180830381865afa158015611dc4573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611dec919081019061343a565b9250611e0283604001518560ff90811691161490565b611e445760405162461bcd60e51b815260206004820152601360248201527213d0929150d517d516541157d2539590531251606a1b60448201526064016107f7565b60208301516040516305247a1760e51b81526001600160601b0390911660048201526000906001600160a01b0383169063a48f42e090602401600060405180830381865afa158015611e9a573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611ec2919081019061343a565b6080015190508092506000836001600160a01b031663e5f6cd276040518163ffffffff1660e01b8152600401602060405180830381865afa158015611f0b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611f2f919061313d565b6080860151604051629b7b3560e61b81526001600160a01b0391821660048201529192508216906326decd4090602401602060405180830381865afa158015611f7c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611fa091906130cf565b15611fcf57608085015160405163d53987e560e01b81526001600160a01b0390911660048201526024016107f7565b505050915091565b611fdf612642565b600080516020613959833981519152600061200f600080516020613939833981519152546001600160401b031690565b9050600061201b610523565b9050816001600160401b03166001036120485760028301805462ffffff191662ffffff8316179055612096565b600283015462ffffff908116908216116120965760405162461bcd60e51b815260206004820152600f60248201526e24a72b20a624a2102b22a929a4a7a760891b60448201526064016107f7565b6001808401805491820181556000908152602090819020600a808404909101805462ffffff808716600394909606939093026101000a858102930219169190911790556040805160a0810182529283526001600160a01b038089168484015287168382015280516356db0c1960e11b81529051606084019273__$d53880c81dc91c20799140d711e5ab8718$__9263adb6183292600480830193928290030181865af415801561214a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061216e91906136e3565b64ffffffffff1681526020014363ffffffff90811690915262ffffff8084166000908152602087815260409182902085518154928701516001600160a01b039081166301000000026001600160b81b0319909416919095161791909117815584820151600190910180546060870151608090970151909516600160c81b0263ffffffff60c81b1964ffffffffff909716600160a01b026001600160c81b031990961692909416919091179390931793909316179055517fad0a0fc10465a8dd9da3ad5f43e1a7fff4b4578551c76f0ae8deb844f0d0bf68906112049083908890889062ffffff9390931683526001600160a01b03918216602084015216604082015260600190565b61018e612642565b6000805160206139398339815191528054600160401b810460ff1615906001600160401b03166000811580156122b15750825b90506000826001600160401b031660011480156122cd5750303b155b9050811580156122db575080155b156122f95760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561232357845460ff60401b1916600160401b1785555b6000808780602001905181019061233a9190613700565b9092509050612349828a61267b565b61235963ef49325160e01b6126e6565b50508315610f9757845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a150505050505050565b801561263c576040516355e343a960e01b81526001600160601b03841660048201526000906001600160a01b038616906355e343a99060240161018060405180830381865afa158015612400573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612424919061373a565b602081015190915060006124406001546001600160a01b031690565b604051631c5da14d60e11b81526001600160601b03871660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa15801561248f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906124b3919061313d565b60808401516101008501516040516317d5759960e31b81526001600160a01b03808516600483015291821660248201526044810188905292935090919084169063beabacc890606401600060405180830381600087803b15801561251657600080fd5b505af115801561252a573d6000803e3d6000fd5b50506040516346f0526160e11b815273__$a23651848365a6a5ca15f07b4331037f48$__9250638de0a4c291506125659084906004016137ef565b602060405180830381865af4158015612582573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906125a691906130cf565b610b6a5760405163012ebd8360e21b8152815160048201526020820151602482015260448101869052600090819073__$a23651848365a6a5ca15f07b4331037f48$__906304baf60c906064016040805180830381865af415801561260f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906126339190613806565b50505050505050505b50505050565b60008051602061393983398151915254600160401b900460ff1661267957604051631afcd79f60e31b815260040160405180910390fd5b565b600060dc61268761134c565b6040805160ff93841660208201529290911690820152606001604051602081830303815290604052905060006126bc8461270b565b905060006126cf8583603c848888612776565b6126df637b6a51fd60e01b6126e6565b5050505050565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b604051636939560f60e11b81526001600160a01b0382166004820181905260009163d272ac1e90602401602060405180830381865afa158015612752573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061131c91906130f5565b6127b76301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b6127c18287612842565b60007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166cffffffffffffffffffffffffff1990911617600160601b60ff8816021760ff60681b1916600160681b861515021781559050600181016128318382613879565b50610f976303fb044760e21b6126e6565b6001600160a01b0382166128985760405162461bcd60e51b815260206004820152601e60248201527f4e66744f776e61626c653a20696e697469616c206f776e65722069732030000060448201526064016107f7565b600280546001600160a01b0319166001600160a01b0384161790556128bc816128c0565b5050565b6001546001600160a01b0316156128f95760015460405163fcdbf2d960e01b81526001600160a01b0390911660048201526024016107f7565b6001600160a01b0381166129205760405163f5c4d07d60e01b815260040160405180910390fd5b806001600160a01b03163b6000036129565760405163fdeac91f60e01b81526001600160a01b03821660048201526024016107f7565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b815263102da10360e01b60048201526301ffc9a790602401602060405180830381865afa9250505080156129d0575060408051601f3d908101601f191682019092526129cd918101906130cf565b60015b6129f85760405163fdeac91f60e01b81526001600160a01b03821660048201526024016107f7565b806128bc5760405163fdeac91f60e01b81526001600160a01b03831660048201526024016107f7565b50565b600060208284031215612a3657600080fd5b81356001600160e01b031981168114612a4e57600080fd5b9392505050565b60005b83811015612a70578181015183820152602001612a58565b50506000910152565b60008151808452612a91816020860160208601612a55565b601f01601f19169290920160200192915050565b60006001600160601b038083511684528060208401511660208501525060ff6040830151166040840152606082015115156060840152608082015160018060a01b0380821660808601528060a08501511660a0860152505060c082015160e060c0850152612b1660e0850182612a79565b949350505050565b604081526000612b316040830185612aa5565b8281036020840152612b438185612a79565b95945050505050565b6001600160a01b0381168114612a2157600080fd5b6001600160601b0381168114612a2157600080fd5b8035612b8181612b61565b919050565b600080600080600060a08688031215612b9e57600080fd5b8535612ba981612b4c565b94506020860135612bb981612b61565b93506040860135612bc981612b61565b94979396509394606081013594506080013592915050565b62ffffff81168114612a2157600080fd5b600060208284031215612c0457600080fd5b8135612a4e81612be1565b634e487b7160e01b600052604160045260246000fd5b604080519081016001600160401b0381118282101715612c4757612c47612c0f565b60405290565b60405161012081016001600160401b0381118282101715612c4757612c47612c0f565b60405160e081016001600160401b0381118282101715612c4757612c47612c0f565b60405161020081016001600160401b0381118282101715612c4757612c47612c0f565b604051601f8201601f191681016001600160401b0381118282101715612cdd57612cdd612c0f565b604052919050565b600060408284031215612cf757600080fd5b612cff612c25565b9050813581526020820135602082015292915050565b60008060608385031215612d2857600080fd5b8235612d3381612b61565b9150612d428460208501612ce5565b90509250929050565b600060208284031215612d5d57600080fd5b8135612a4e81612b61565b602081526000612a4e6020830184612a79565b60006001600160401b03821115612d9457612d94612c0f565b50601f01601f191660200190565b600082601f830112612db357600080fd5b8135612dc6612dc182612d7b565b612cb5565b818152846020838601011115612ddb57600080fd5b816020850160208301376000918101602001919091529392505050565b600080600060608486031215612e0d57600080fd5b8335612e1881612b4c565b92506020840135612e2881612b4c565b915060408401356001600160401b03811115612e4357600080fd5b612e4f86828701612da2565b9150509250925092565b600060208284031215612e6b57600080fd5b5035919050565b64ffffffffff81168114612a2157600080fd5b8035612b8181612e72565b60ff81168114612a2157600080fd5b8035612b8181612e90565b60008060008060808587031215612ec057600080fd5b8435612ecb81612b61565b93506020850135612edb81612b61565b925060408501356001600160401b0380821115612ef757600080fd5b908601906101408289031215612f0c57600080fd5b612f14612c4d565b612f1d83612b76565b8152612f2c8960208501612ce5565b6020820152606083013582811115612f4357600080fd5b612f4f8a828601612da2565b6040830152506080830135606082015260a0830135608082015260c083013560a082015260e083013560c08201526101009150612f8d828401612e85565b60e0820152612f9f6101208401612e85565b82820152809450505050612fb560608601612e9f565b905092959194509250565b60008060008060008060c08789031215612fd957600080fd5b8635612fe481612b4c565b9550612ff38860208901612ce5565b9450606087013593506080870135925060a08701356001600160401b038082111561301d57600080fd5b818901915089601f83011261303157600080fd5b81358181111561304057600080fd5b8a602082850101111561305257600080fd5b6020830194508093505050509295509295509295565b60006020828403121561307a57600080fd5b8151612a4e81612be1565b600181811c9082168061309957607f821691505b6020821081036130b957634e487b7160e01b600052602260045260246000fd5b50919050565b80518015158114612b8157600080fd5b6000602082840312156130e157600080fd5b612a4e826130bf565b8051612b8181612b61565b60006020828403121561310757600080fd5b8151612a4e81612b61565b6020808252601190820152704552524f525f4e4f545f5345525649434560781b604082015260600190565b60006020828403121561314f57600080fd5b8151612a4e81612b4c565b60006040828403121561316c57600080fd5b613174612c25565b9050815181526020820151602082015292915050565b600082601f83011261319b57600080fd5b81516131a9612dc182612d7b565b8181528460208386010111156131be57600080fd5b612b16826020830160208701612a55565b8051612b8181612e72565b6000602082840312156131ec57600080fd5b81516001600160401b038082111561320357600080fd5b90830190610140828603121561321857600080fd5b613220612c4d565b613229836130ea565b8152613238866020850161315a565b602082015260608301518281111561324f57600080fd5b61325b8782860161318a565b6040830152506080830151606082015260a0830151608082015260c083015160a082015260e083015160c082015261010091506132998284016131cf565b60e08201526132ab61012084016131cf565b91810191909152949350505050565b8082018082111561131c57634e487b7160e01b600052601160045260246000fd5b80516001600160601b03168252600061014060208381015180518683015290810151604086015250604083015181606086015261331a82860182612a79565b91505060608301516080850152608083015160a085015260a083015160c085015260c083015160e085015260e083015161010061335f8187018364ffffffffff169052565b84015164ffffffffff81166101208701529050509392505050565b6001600160601b038416815260606020820152600061339c60608301856132db565b905060ff83166040830152949350505050565b6000602082840312156133c157600080fd5b5051919050565b8051612b8181612b4c565b6000602082840312156133e557600080fd5b81516001600160401b0381168114612a4e57600080fd5b634e487b7160e01b600052603260045260246000fd5b8051612b8181612e90565b60006020828403121561342f57600080fd5b8151612a4e81612e90565b60006020828403121561344c57600080fd5b81516001600160401b038082111561346357600080fd5b9083019060e0828603121561347757600080fd5b61347f612c70565b613488836130ea565b8152613496602084016130ea565b60208201526134a760408401613412565b60408201526134b8606084016130bf565b60608201526134c9608084016133c8565b60808201526134da60a084016133c8565b60a082015260c0830151828111156134f157600080fd5b6134fd8782860161318a565b60c08301525095945050505050565b602081526000612a4e60208301846132db565b602081526000612a4e6020830184612aa5565b6001600160601b0383168152604060208201526000612b1660408301846132db565b80516001600160c01b031981168114612b8157600080fd5b805161ffff81168114612b8157600080fd5b60006020828403121561359057600080fd5b81516001600160401b03808211156135a757600080fd5b9083019061020082860312156135bc57600080fd5b6135c4612c92565b6135cd836130ea565b81526135db602084016130ea565b60208201526135ec60408401613554565b60408201526135fd60608401613554565b60608201526080830151608082015260a083015160a082015260c083015160c082015260e083015160e0820152610100808401518381111561363e57600080fd5b61364a8882870161318a565b828401525050610120808401518381111561366457600080fd5b6136708882870161318a565b828401525050610140915061368682840161356c565b82820152610160915061369a82840161356c565b82820152610180915081830151828201526101a091506136bb8284016131cf565b828201526101c091506136cf8284016131cf565b828201526101e091506132ab8284016131cf565b6000602082840312156136f557600080fd5b8151612a4e81612e72565b6000806040838503121561371357600080fd5b825161371e81612b4c565b602084015190925061372f81612b4c565b809150509250929050565b6000610180828403121561374d57600080fd5b613755612c4d565b61375e836130ea565b815261376c602084016133c8565b602082015260408301516040820152613788846060850161315a565b606082015261379a8460a0850161315a565b60808201526137ac8460e0850161315a565b60a08201526137be61012084016130bf565b60c08201526137d061014084016130bf565b60e08201526137e261016084016133c8565b6101008201529392505050565b81518152602080830151908201526040810161131c565b6000806040838503121561381957600080fd5b505080516020909101519092909150565b601f82111561387457600081815260208120601f850160051c810160208610156138515750805b601f850160051c820191505b818110156138705782815560010161385d565b5050505b505050565b81516001600160401b0381111561389257613892612c0f565b6138a6816138a08454613085565b8461382a565b602080601f8311600181146138db57600084156138c35750858301515b600019600386901b1c1916600185901b178555613870565b600085815260208120601f198616915b8281101561390a578886015182559484019460019091019084016138eb565b50858210156139285787850151600019600388901b60f8161c191681555b5050505050600190811b0190555056fef0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a004f61291a8ac3d020d0a7d919a76b8592aa88385744dee3f8b4f3873b969ed900a2646970667358221220d1051275d93e3eee68faf376b0f70c75d604bd0b7b5ca0ab9eaa886cfb43887f64736f6c63430008140033",
1065
+ "bytecode": "0x60806040523480156200001157600080fd5b506200001c62000022565b620000d6565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00805468010000000000000000900460ff1615620000735760405163f92ee8a960e01b815260040160405180910390fd5b80546001600160401b0390811614620000d35780546001600160401b0319166001600160401b0390811782556040519081527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50565b61448f80620000e66000396000f3fe608060405234801561001057600080fd5b50600436106102065760003560e01c806376429bc01161011a578063ada9652e116100ad578063bf7e214f1161007c578063bf7e214f146104d2578063caf4e3d4146104f0578063cc9fc59a146104f8578063e283b4a914610500578063f7c34ee01461051357600080fd5b8063ada9652e14610488578063b5346af51461049d578063b68d1809146104b0578063b7565f9c146104bf57600080fd5b80638fb36037116100e95780638fb3603714610408578063a3f4df7e14610429578063aa9acb2c14610462578063ad328d9f1461047557600080fd5b806376429bc0146103c75780637a9e5e4b146103da578063893d20e8146103ed5780638e32e979146103f557600080fd5b806327bb7a331161019d57806349bb9e4b1161016c57806349bb9e4b146103375780635ab1bd531461034a5780635ed325671461036f578063644c45e014610382578063675393bf146103b457600080fd5b806327bb7a33146102f6578063329d6e741461030957806336fc697e1461031c578063377a6db71461032457600080fd5b8063138461e0116101d9578063138461e0146102935780631eff4b221461029b5780631f8e8f36146102d0578063214cdb80146102e357600080fd5b806301ffc9a71461020b57806306fa45651461024d5780630d8e6e2c146102625780630fec111c1461027e575b600080fd5b610238610219366004613432565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b61026061025b366004613471565b610526565b005b61026a6106bb565b60405162ffffff9091168152602001610244565b610286610745565b60405161024491906134de565b61026061089c565b6102c27f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b604051908152602001610244565b6102606102de36600461366f565b610aa3565b6102606102f1366004613432565b610cf8565b610260610304366004613754565b610d25565b6102606103173660046137ec565b610dca565b610260610f0f565b610260610332366004613820565b610f55565b610260610345366004613891565b611360565b6001546001600160a01b03165b6040516001600160a01b039091168152602001610244565b61026061037d3660046138e0565b61145f565b6000805160206143fa833981519152546001600160601b03165b6040516001600160601b039091168152602001610244565b6102606103c236600461392b565b6115fb565b6102606103d5366004613948565b611709565b6102606103e836600461392b565b6118c8565b610357611962565b610260610403366004613981565b611a99565b610410611cd2565b6040516001600160e01b03199091168152602001610244565b6104556040518060400160405280600d81526020016c42756e646c655365727669636560981b81525081565b60405161024491906139c1565b610260610470366004613948565b611d0a565b6102606104833660046139d4565b611eea565b6102c26000805160206143fa83398151915281565b6102606104ab366004613471565b6120a6565b60405160dc8152602001610244565b6102606104cd3660046138e0565b612232565b60008051602061441a833981519152546001600160a01b0316610357565b6103576123da565b6103576123e6565b61039c61050e366004613a43565b6123f2565b610260610521366004613b24565b612898565b6000610532608c61290f565b92505050806001600160a01b031663fe1f18d68361054e606490565b6040516001600160e01b031960e085901b1681526001600160601b03909216600483015260ff166024820152604401600060405180830381600087803b15801561059757600080fd5b505af11580156105ab573d6000803e3d6000fd5b505050506000816001600160a01b03166361f5f4206040518163ffffffff1660e01b8152600401602060405180830381865afa1580156105ef573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106139190613b52565b6040516306fa456560e01b81526001600160601b03851660048201529091506001600160a01b038216906306fa456590602401600060405180830381600087803b15801561066057600080fd5b505af1158015610674573d6000803e3d6000fd5b50506040516001600160601b03861681527f87cfb697b5d649751f13ba6e2e51778a1fd0a1f260df7281952986c453708e71925060200190505b60405180910390a1505050565b604051632efe011360e01b815260036004820152600060248201819052604482018190529073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af415801561071c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107409190613b6f565b905090565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a082019290925260c08101919091526040805160e081019091527f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa300908060006001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a0016107f8611962565b6001600160a01b0316815260200182600101805461081590613b94565b80601f016020809104026020016040519081016040528092919081815260200182805461084190613b94565b801561088e5780601f106108635761010080835404028352916020019161088e565b820191906000526020600020905b81548152906001019060200180831161087157829003601f168201915b505050505081525091505090565b60006000805160206143fa83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af415801561090b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061092f9190613bde565b156109605780546040516301ab8b6760e21b81526001600160601b0390911660048201526024015b60405180910390fd5b306109736001546001600160a01b031690565b60405163c3c5a54760e01b81526001600160a01b038381166004830152919091169063c3c5a54790602401602060405180830381865afa1580156109bb573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109df9190613bde565b610a075760405163b9304b0d60e01b81526001600160a01b0382166004820152602401610957565b6001546001600160a01b0316604051636939560f60e11b81526001600160a01b038381166004830152919091169063d272ac1e90602401602060405180830381865afa158015610a5b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a7f9190613c06565b82546bffffffffffffffffffffffff19166001600160601b03919091161790915550565b60008080610ab1608c61290f565b9250925092506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015610af7573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b1b9190613b52565b604051634793b4ab60e01b81526001600160601b03881660048201529091506000906001600160a01b03831690634793b4ab90602401600060405180830381865afa158015610b6e573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610b969190810190613ca3565b8051604051630a4d29dd60e31b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906352694ee890602401602060405180830381865af4158015610bf4573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c189190613bde565b15610c41576040516349e9f38360e01b81526001600160601b0388166004820152602401610957565b80516001600160601b03868116911614610c84578051604051630e94d40d60e31b81526001600160601b0380881660048301529091166024820152604401610957565b602081018690526001600160a01b0383166359852426888360ff5b6040518463ffffffff1660e01b8152600401610cbd93929190613e6e565b600060405180830381600087803b158015610cd757600080fd5b505af1158015610ceb573d6000803e3d6000fd5b5050505050505050505050565b610d00612b42565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b610d2d612b42565b610d378287612898565b7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0387166cffffffffffffffffffffffffff1990911617600160601b60ff8716021760ff60681b1916600160681b851515021781557f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa301610dc08382613ee9565b5050505050505050565b73__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__63a123b37c610dec6106bb565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af4158015610e2c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e509190613fa8565b60008051602061443a8339815191528054600160401b900460ff1680610e83575080546001600160401b03808416911610155b15610ea15760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b178155610ecb83612b7b565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020016106ae565b610f17612b42565b6301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b33610f686001546001600160a01b031690565b604051632b91e0a960e01b81526001600160a01b0383811660048301529190911690632b91e0a990602401602060405180830381865afa158015610fb0573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fd49190613bde565b610ffc5760405163ea8a77fd60e01b81526001600160a01b0382166004820152602401610957565b6000866001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa15801561103c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110609190613b52565b905060006001600160a01b03821663a5961b4c73__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b038a1660dc6040516001600160e01b031960e085901b1681526001600160601b03909216600483015260ff166024820152604401602060405180830381865af41580156110e5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111099190613fd1565b6040518263ffffffff1660e01b815260040161112791815260200190565b60a060405180830381865afa158015611144573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111689190614014565b60200151604051634793b4ab60e01b81526001600160601b03881660048201529091506000906001600160a01b03841690634793b4ab90602401600060405180830381865afa1580156111bf573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526111e79190810190613ca3565b905060ff8216606414158061127b575061127b8160e0015173__$d53880c81dc91c20799140d711e5ab8718$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af4158015611248573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061126c91906140a7565b64ffffffffff90811691161090565b156112c05760e081015160405163bf5b8f0960e01b81526001600160601b038916600482015260ff8416602482015264ffffffffff9091166044820152606401610957565b60006112dd6112d3836060015188612b83565b8360800151612c12565b90506112e98188612c5d565b156113225760405163826a5ff960e01b81526001600160601b03808a166004830152808316602483015288166044820152606401610957565b611330826080015188612b83565b6001600160601b0316608083015261134a8a898489612ce4565b6113548a8a612e31565b50505050505050505050565b60008051602061443a8339815191528054600160401b810460ff1615906001600160401b03166000811580156113935750825b90506000826001600160401b031660011480156113af5750303b155b9050811580156113bd575080155b156113db5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561140557845460ff60401b1916600160401b1785555b61140f87876130e6565b831561145657845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a15b50505050505050565b336114726001546001600160a01b031690565b604051632b91e0a960e01b81526001600160a01b0383811660048301529190911690632b91e0a990602401602060405180830381865afa1580156114ba573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114de9190613bde565b6115065760405163ea8a77fd60e01b81526001600160a01b0382166004820152602401610957565b6000846001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015611546573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061156a9190613b52565b604051634793b4ab60e01b81526001600160601b03861660048201529091506000906001600160a01b03831690634793b4ab90602401600060405180830381865afa1580156115bd573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526115e59190810190613ca3565b90506115f386868387612ce4565b505050505050565b611603612b42565b806001600160a01b03163b6000036116395760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610957565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b8152630a3888e560e31b60048201526301ffc9a790602401602060405180830381865afa9250505080156116b3575060408051601f3d908101601f191682019092526116b091810190613bde565b60015b6116db5760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610957565b806117045760405163fdeac91f60e01b81526001600160a01b0383166004820152602401610957565b505b50565b816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015611747573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061176b9190613b52565b6040516375d357df60e01b81526001600160601b03831660048201526001600160a01b0391909116906375d357df90602401602060405180830381865afa1580156117ba573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117de9190613bde565b611806576040516392bb4dff60e01b81526001600160601b0382166004820152602401610957565b816001600160a01b03166361f5f4206040518163ffffffff1660e01b8152600401602060405180830381865afa158015611844573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118689190613b52565b604051631351fccf60e31b81526001600160601b03831660048201526001600160a01b039190911690639a8fe67890602401600060405180830381600087803b1580156118b457600080fd5b505af11580156115f3573d6000803e3d6000fd5b336118e860008051602061441a833981519152546001600160a01b031690565b6001600160a01b0316816001600160a01b0316146119235760405162d1953b60e31b81526001600160a01b0382166004820152602401610957565b816001600160a01b03163b600003611959576040516361798f2f60e11b81526001600160a01b0383166004820152602401610957565b61170482613207565b6000806000805160206143fa83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af41580156119d2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119f69190613bde565b15611a83576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015611a59573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a7d9190613b52565b91505090565b54600160601b90046001600160a01b0316919050565b611aa1612b42565b611b2183846001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa158015611ae3573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611b079190613c06565b603c60008560405180602001604052806000815250610d25565b6001600160a01b03821615611b3e57611b3982613268565b611cad565b6000611b526001546001600160a01b031690565b6001600160a01b031663d39e60436028604051632392b61b60e21b81526003600482015273__$9dab98ad7ae1a426029e5739f922230a41$__90638e4ad86c90602401602060405180830381865af4158015611bb2573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611bd691906140c4565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa158015611c1b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611c3f9190613b52565b9050611cab816001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611c82573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611ca69190613b52565b613268565b505b611cbd634a531f3360e01b610cf8565b611ccd63b68d180960e01b610cf8565b505050565b60008051602061441a833981519152805460009190600160a01b900460ff16611cfc576000611a7d565b638fb3603760e01b91505090565b6001600160a01b03821663fe1f18d68260c86040516001600160e01b031960e085901b1681526001600160601b03909216600483015260ff166024820152604401600060405180830381600087803b158015611d6557600080fd5b505af1158015611d79573d6000803e3d6000fd5b505050506000826001600160a01b03166361f5f4206040518163ffffffff1660e01b8152600401602060405180830381865afa158015611dbd573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611de19190613b52565b6040516322cc1d4560e11b81526001600160601b03841660048201529091506000906001600160a01b038316906345983a8a90602401602060405180830381865afa158015611e34573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611e589190613fd1565b90508015611e8b576040516356a410b760e01b81526001600160601b038416600482015260248101829052604401610957565b60405163b5346af560e01b81526001600160601b03841660048201526001600160a01b0383169063b5346af5906024015b600060405180830381600087803b158015611ed657600080fd5b505af1158015610dc0573d6000803e3d6000fd5b33611efd6001546001600160a01b031690565b604051632b91e0a960e01b81526001600160a01b0383811660048301529190911690632b91e0a990602401602060405180830381865afa158015611f45573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611f699190613bde565b611f915760405163ea8a77fd60e01b81526001600160a01b0382166004820152602401610957565b6000856001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015611fd1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611ff59190613b52565b604051634793b4ab60e01b81526001600160601b03861660048201529091506000906001600160a01b03831690634793b4ab90602401600060405180830381865afa158015612048573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526120709190810190613ca3565b9050612080816080015185612c12565b6001600160601b031660808201526001600160a01b0387166359852426868360ff610c9f565b60006120b2608c61290f565b92505050806001600160a01b031663fe1f18d6836120ce606e90565b6040516001600160e01b031960e085901b1681526001600160601b03909216600483015260ff166024820152604401600060405180830381600087803b15801561211757600080fd5b505af115801561212b573d6000803e3d6000fd5b505050506000816001600160a01b03166361f5f4206040518163ffffffff1660e01b8152600401602060405180830381865afa15801561216f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906121939190613b52565b60405163b5346af560e01b81526001600160601b03851660048201529091506001600160a01b0382169063b5346af590602401600060405180830381600087803b1580156121e057600080fd5b505af11580156121f4573d6000803e3d6000fd5b50506040516001600160601b03861681527f6764112d27879e5bb12f07fde08a48629ec22e603c75c9942ba62a06c95a55f4925060200190506106ae565b6000836001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015612272573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906122969190613b52565b604051634793b4ab60e01b81526001600160601b03851660048201526001600160a01b039190911690634793b4ab90602401600060405180830381865afa1580156122e5573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261230d9190810190613ca3565b60a081015160405163274acb3560e01b81526001600160601b039182166004820152908416602482015290915073__$ea4dcf94bcd4a5d2e83a2341ef616bff8d$__9063274acb3590604401602060405180830381865af4158015612376573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061239a9190613c06565b6001600160601b031660a08201526001600160a01b0384166359852426848360ff5b6040518463ffffffff1660e01b8152600401611ebc93929190613e6e565b60006107406028613279565b60006107406046613279565b60006123fc6123da565b6001600160a01b031663c2bf08c86040518060e0016040528061241d600090565b6001600160601b031681526020018b6001600160601b0316815260200161244260dc90565b60ff16815260200160001515815260200160006001600160a01b031681526020018a6001600160a01b03168152602001604051806020016040528060008152508152506040518263ffffffff1660e01b81526004016124a191906134de565b6020604051808303816000875af11580156124c0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906124e49190613c06565b9050886001600160a01b03166397affbf5826040518061012001604052808c6001600160601b031681526020018a815260200187878080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152505050908252506001600160601b038a166020808301919091526040805163bc1b392d60e01b81528151919093019273__$ea4dcf94bcd4a5d2e83a2341ef616bff8d$__9263bc1b392d926004808401938290030181865af41580156125b3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906125d79190613c06565b6001600160601b0316815260200173__$ea4dcf94bcd4a5d2e83a2341ef616bff8d$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af415801561262e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906126529190613c06565b6001600160601b031681526020018864ffffffffff16815260200173__$d53880c81dc91c20799140d711e5ab8718$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af41580156126b6573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906126da91906140a7565b6040516352bcc5a760e11b815264ffffffffff9182166004820152908a16602482015273__$d53880c81dc91c20799140d711e5ab8718$__9063a5798b4e90604401602060405180830381865af4158015612739573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061275d91906140a7565b64ffffffffff16815260006020909101526040516001600160e01b031960e085901b1681526127909291906004016140e1565b600060405180830381600087803b1580156127aa57600080fd5b505af11580156127be573d6000803e3d6000fd5b505050506000896001600160a01b03166361f5f4206040518163ffffffff1660e01b8152600401602060405180830381865afa158015612802573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906128269190613b52565b6040516346f0e8a760e11b81526001600160601b03841660048201529091506001600160a01b03821690638de1d14e90602401600060405180830381600087803b15801561287357600080fd5b505af1158015612887573d6000803e3d6000fd5b505050505098975050505050505050565b6128a0612b42565b6128a9816115fb565b6128b1610f0f565b6001600160a01b0382166128d85760405163f17ef42d60e01b815260040160405180910390fd5b506000805160206143fa83398151915280546001600160601b0316600160601b6001600160a01b0390931692909202919091179055565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a0820183905260c082015260008061295b6001546001600160a01b031690565b6040516308b09a5f60e41b81523360048201529091506001600160a01b03821690638b09a5f090602401600060405180830381865afa1580156129a2573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526129ca9190810190614103565b92506129e183604001518660ff9081169116141590565b15612a2557608083015160408085015190516304081d4960e41b81526001600160a01b03909216600483015260ff8088166024840152166044820152606401610957565b82600001519350612a39836020015161338c565b9150816001600160a01b031663e5f6cd276040518163ffffffff1660e01b8152600401602060405180830381865afa158015612a79573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612a9d9190613b52565b6080840151604051629b7b3560e61b81526001600160a01b0391821660048201529116906326decd4090602401602060405180830381865afa158015612ae7573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612b0b9190613bde565b15612b3a57608083015160405163d53987e560e01b81526001600160a01b039091166004820152602401610957565b509193909250565b60008051602061443a83398151915254600160401b900460ff16612b7957604051631afcd79f60e31b815260040160405180910390fd5b565b610206612b42565b60405163274acb3560e01b81526001600160601b0380841660048301528216602482015260009073__$ea4dcf94bcd4a5d2e83a2341ef616bff8d$__9063274acb35906044015b602060405180830381865af4158015612be7573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612c0b9190613c06565b9392505050565b6040516363cf551160e11b81526001600160601b0380841660048301528216602482015260009073__$ea4dcf94bcd4a5d2e83a2341ef616bff8d$__9063c79eaa2290604401612bca565b6040516304d40eb160e11b81526001600160601b0380841660048301528216602482015260009073__$ea4dcf94bcd4a5d2e83a2341ef616bff8d$__906309a81d6290604401602060405180830381865af4158015612cc0573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612c0b9190613bde565b6040516330b8415f60e01b81526001600160601b038216600482015273__$ea4dcf94bcd4a5d2e83a2341ef616bff8d$__906330b8415f90602401602060405180830381865af4158015612d3c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612d609190613bde565b15612e1957602082810151604051634f69237560e11b81528151600482015291015160248201526001600160601b038216604482015260009073__$a23651848365a6a5ca15f07b4331037f48$__90639ed246ea906064016040805180830381865af4158015612dd4573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612df891906141d5565b915050612e09836060015182612b83565b6001600160601b03166060840152505b6001600160a01b0384166359852426848460ff6123bc565b6000826001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015612e71573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612e959190613b52565b60405163bd7d9d8560e01b81526001600160601b03841660048201529091506000906001600160a01b0383169063bd7d9d8590602401600060405180830381865afa158015612ee8573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052612f10919081019061422e565b6101c0810151604051638d38cd4b60e01b815264ffffffffff909116600482015290915073__$d53880c81dc91c20799140d711e5ab8718$__90638d38cd4b90602401602060405180830381865af4158015612f70573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612f949190613bde565b8015612fed5750612fed816101c0015173__$d53880c81dc91c20799140d711e5ab8718$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af4158015611248573d6000803e3d6000fd5b1561301657604051630cd0c0b560e31b81526001600160601b0384166004820152602401610957565b6000846001600160a01b03166361f5f4206040518163ffffffff1660e01b8152600401602060405180830381865afa158015613056573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061307a9190613b52565b604051630331f98560e21b81526001600160601b03861660048201529091506001600160a01b03821690630cc7e61490602401600060405180830381600087803b1580156130c757600080fd5b505af11580156130db573d6000803e3d6000fd5b505050505050505050565b60008051602061443a8339815191528054600160401b810460ff1615906001600160401b03166000811580156131195750825b90506000826001600160401b031660011480156131355750303b155b905081158015613143575080155b156131615760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561318b57845460ff60401b1916600160401b1785555b600080878060200190518101906131a291906143ca565b90925090506131b38260008b611a99565b6131c3630e1d6de360e41b610cf8565b5050831561145657845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200161144d565b60008051602061441a83398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b613270612b42565b61170681613421565b600061328d6001546001600160a01b031690565b6001600160a01b031663d39e6043836132a46106bb565b60405163c9e66e2960e01b815262ffffff909116600482015273__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__9063c9e66e2990602401602060405180830381865af41580156132f9573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061331d91906140c4565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa158015613362573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906133869190613b52565b92915050565b60006133a06001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03841660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa1580156133ef573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526134179190810190614103565b6080015192915050565b613429612b42565b61170681613207565b60006020828403121561344457600080fd5b81356001600160e01b031981168114612c0b57600080fd5b6001600160601b038116811461170657600080fd5b60006020828403121561348357600080fd5b8135612c0b8161345c565b60005b838110156134a9578181015183820152602001613491565b50506000910152565b600081518084526134ca81602086016020860161348e565b601f01601f19169290920160200192915050565b6020815260006001600160601b038084511660208401528060208501511660408401525060ff604084015116606083015260608301511515608083015260018060a01b0360808401511660a083015260a083015161354760c08401826001600160a01b03169052565b5060c083015160e0808401526135616101008401826134b2565b949350505050565b634e487b7160e01b600052604160045260246000fd5b604080519081016001600160401b03811182821017156135a1576135a1613569565b60405290565b60405161012081016001600160401b03811182821017156135a1576135a1613569565b60405160e081016001600160401b03811182821017156135a1576135a1613569565b60405161022081016001600160401b03811182821017156135a1576135a1613569565b604051601f8201601f191681016001600160401b038111828210171561363757613637613569565b604052919050565b60006040828403121561365157600080fd5b61365961357f565b9050813581526020820135602082015292915050565b6000806060838503121561368257600080fd5b823561368d8161345c565b915061369c846020850161363f565b90509250929050565b6001600160a01b038116811461170657600080fd5b60ff8116811461170657600080fd5b801515811461170657600080fd5b60006001600160401b038211156136f0576136f0613569565b50601f01601f191660200190565b600082601f83011261370f57600080fd5b813561372261371d826136d7565b61360f565b81815284602083860101111561373757600080fd5b816020850160208301376000918101602001919091529392505050565b60008060008060008060c0878903121561376d57600080fd5b8635613778816136a5565b955060208701356137888161345c565b94506040870135613798816136ba565b935060608701356137a8816136c9565b925060808701356137b8816136a5565b915060a08701356001600160401b038111156137d357600080fd5b6137df89828a016136fe565b9150509295509295509295565b6000602082840312156137fe57600080fd5b81356001600160401b0381111561381457600080fd5b613561848285016136fe565b600080600080600060a0868803121561383857600080fd5b8535613843816136a5565b945060208601356138538161345c565b935060408601356138638161345c565b925060608601356138738161345c565b915060808601356138838161345c565b809150509295509295909350565b600080604083850312156138a457600080fd5b82356138af816136a5565b915060208301356001600160401b038111156138ca57600080fd5b6138d6858286016136fe565b9150509250929050565b6000806000606084860312156138f557600080fd5b8335613900816136a5565b925060208401356139108161345c565b915060408401356139208161345c565b809150509250925092565b60006020828403121561393d57600080fd5b8135612c0b816136a5565b6000806040838503121561395b57600080fd5b8235613966816136a5565b915060208301356139768161345c565b809150509250929050565b60008060006060848603121561399657600080fd5b83356139a1816136a5565b925060208401356139b1816136a5565b91506040840135613920816136a5565b602081526000612c0b60208301846134b2565b600080600080608085870312156139ea57600080fd5b84356139f5816136a5565b93506020850135613a058161345c565b92506040850135613a158161345c565b91506060850135613a258161345c565b939692955090935050565b64ffffffffff8116811461170657600080fd5b600080600080600080600080610100898b031215613a6057600080fd5b8835613a6b816136a5565b97506020890135613a7b8161345c565b96506040890135613a8b816136a5565b9550613a9a8a60608b0161363f565b945060a0890135613aaa8161345c565b935060c0890135613aba81613a30565b925060e08901356001600160401b0380821115613ad657600080fd5b818b0191508b601f830112613aea57600080fd5b813581811115613af957600080fd5b8c6020828501011115613b0b57600080fd5b6020830194508093505050509295985092959890939650565b60008060408385031215613b3757600080fd5b8235613b42816136a5565b91506020830135613976816136a5565b600060208284031215613b6457600080fd5b8151612c0b816136a5565b600060208284031215613b8157600080fd5b815162ffffff81168114612c0b57600080fd5b600181811c90821680613ba857607f821691505b602082108103613bc857634e487b7160e01b600052602260045260246000fd5b50919050565b8051613bd9816136c9565b919050565b600060208284031215613bf057600080fd5b8151612c0b816136c9565b8051613bd98161345c565b600060208284031215613c1857600080fd5b8151612c0b8161345c565b600060408284031215613c3557600080fd5b613c3d61357f565b9050815181526020820151602082015292915050565b600082601f830112613c6457600080fd5b8151613c7261371d826136d7565b818152846020838601011115613c8757600080fd5b61356182602083016020870161348e565b8051613bd981613a30565b600060208284031215613cb557600080fd5b81516001600160401b0380821115613ccc57600080fd5b908301906101408286031215613ce157600080fd5b613ce96135a7565b613cf283613bfb565b8152613d018660208501613c23565b6020820152606083015182811115613d1857600080fd5b613d2487828601613c53565b604083015250613d3660808401613bfb565b6060820152613d4760a08401613bfb565b6080820152613d5860c08401613bfb565b60a0820152613d6960e08401613c98565b60c08201526101009150613d7e828401613c98565b60e0820152613d906101208401613c98565b91810191909152949350505050565b80516001600160601b031682526000610140602083810151805186830152908101516040860152506040830151816060860152613dde828601826134b2565b9150506060830151613dfb60808601826001600160601b03169052565b5060808301516001600160601b03811660a08601525060a08301516001600160601b03811660c08601525060c083015164ffffffffff811660e08601525060e0830151610100613e538187018364ffffffffff169052565b84015164ffffffffff81166101208701529050509392505050565b6001600160601b0384168152606060208201526000613e906060830185613d9f565b905060ff83166040830152949350505050565b601f821115611ccd57600081815260208120601f850160051c81016020861015613eca5750805b601f850160051c820191505b818110156115f357828155600101613ed6565b81516001600160401b03811115613f0257613f02613569565b613f1681613f108454613b94565b84613ea3565b602080601f831160018114613f4b5760008415613f335750858301515b600019600386901b1c1916600185901b1785556115f3565b600085815260208120601f198616915b82811015613f7a57888601518255948401946001909101908401613f5b565b5085821015613f985787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b600060208284031215613fba57600080fd5b81516001600160401b0381168114612c0b57600080fd5b600060208284031215613fe357600080fd5b5051919050565b8051613bd9816136ba565b8051613bd9816136a5565b805163ffffffff81168114613bd957600080fd5b600060a0828403121561402657600080fd5b60405160a081018181106001600160401b038211171561404857614048613569565b6040528251614056816136ba565b81526020830151614066816136ba565b60208201526040830151614079816136a5565b604082015261408a60608401614000565b606082015261409b60808401614000565b60808201529392505050565b6000602082840312156140b957600080fd5b8151612c0b81613a30565b6000602082840312156140d657600080fd5b8151612c0b816136ba565b6001600160601b03831681526040602082015260006135616040830184613d9f565b60006020828403121561411557600080fd5b81516001600160401b038082111561412c57600080fd5b9083019060e0828603121561414057600080fd5b6141486135ca565b61415183613bfb565b815261415f60208401613bfb565b602082015261417060408401613fea565b604082015261418160608401613bce565b606082015261419260808401613ff5565b60808201526141a360a08401613ff5565b60a082015260c0830151828111156141ba57600080fd5b6141c687828601613c53565b60c08301525095945050505050565b600080604083850312156141e857600080fd5b82516141f38161345c565b60208401519092506139768161345c565b80516001600160c01b031981168114613bd957600080fd5b805161ffff81168114613bd957600080fd5b60006020828403121561424057600080fd5b81516001600160401b038082111561425757600080fd5b90830190610220828603121561426c57600080fd5b6142746135ec565b61427d83613bfb565b815261428b60208401613bfb565b602082015261429c60408401614204565b60408201526142ad60608401614204565b60608201526142be60808401613bfb565b60808201526142cf60a08401613bfb565b60a08201526142e060c08401613bfb565b60c08201526142f160e08401613c98565b60e0820152610100808401518381111561430a57600080fd5b61431688828701613c53565b828401525050610120808401518381111561433057600080fd5b61433c88828701613c53565b828401525050610140915061435282840161421c565b82820152610160915061436682840161421c565b82820152610180915061437a828401613bfb565b828201526101a0915061438e828401613bfb565b828201526101c091506143a2828401613c98565b828201526101e091506143b6828401613c98565b828201526102009150613d90828401613c98565b600080604083850312156143dd57600080fd5b82516143e8816136a5565b6020840151909250613976816136a556fe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00f0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00a2646970667358221220ad6cc9135486adfbd7105ad55b0672de8221c805aed8fc1e4f96a3a3cc39868964736f6c63430008140033",
1066
+ "deployedBytecode": "0x608060405234801561001057600080fd5b50600436106102065760003560e01c806376429bc01161011a578063ada9652e116100ad578063bf7e214f1161007c578063bf7e214f146104d2578063caf4e3d4146104f0578063cc9fc59a146104f8578063e283b4a914610500578063f7c34ee01461051357600080fd5b8063ada9652e14610488578063b5346af51461049d578063b68d1809146104b0578063b7565f9c146104bf57600080fd5b80638fb36037116100e95780638fb3603714610408578063a3f4df7e14610429578063aa9acb2c14610462578063ad328d9f1461047557600080fd5b806376429bc0146103c75780637a9e5e4b146103da578063893d20e8146103ed5780638e32e979146103f557600080fd5b806327bb7a331161019d57806349bb9e4b1161016c57806349bb9e4b146103375780635ab1bd531461034a5780635ed325671461036f578063644c45e014610382578063675393bf146103b457600080fd5b806327bb7a33146102f6578063329d6e741461030957806336fc697e1461031c578063377a6db71461032457600080fd5b8063138461e0116101d9578063138461e0146102935780631eff4b221461029b5780631f8e8f36146102d0578063214cdb80146102e357600080fd5b806301ffc9a71461020b57806306fa45651461024d5780630d8e6e2c146102625780630fec111c1461027e575b600080fd5b610238610219366004613432565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b61026061025b366004613471565b610526565b005b61026a6106bb565b60405162ffffff9091168152602001610244565b610286610745565b60405161024491906134de565b61026061089c565b6102c27f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b604051908152602001610244565b6102606102de36600461366f565b610aa3565b6102606102f1366004613432565b610cf8565b610260610304366004613754565b610d25565b6102606103173660046137ec565b610dca565b610260610f0f565b610260610332366004613820565b610f55565b610260610345366004613891565b611360565b6001546001600160a01b03165b6040516001600160a01b039091168152602001610244565b61026061037d3660046138e0565b61145f565b6000805160206143fa833981519152546001600160601b03165b6040516001600160601b039091168152602001610244565b6102606103c236600461392b565b6115fb565b6102606103d5366004613948565b611709565b6102606103e836600461392b565b6118c8565b610357611962565b610260610403366004613981565b611a99565b610410611cd2565b6040516001600160e01b03199091168152602001610244565b6104556040518060400160405280600d81526020016c42756e646c655365727669636560981b81525081565b60405161024491906139c1565b610260610470366004613948565b611d0a565b6102606104833660046139d4565b611eea565b6102c26000805160206143fa83398151915281565b6102606104ab366004613471565b6120a6565b60405160dc8152602001610244565b6102606104cd3660046138e0565b612232565b60008051602061441a833981519152546001600160a01b0316610357565b6103576123da565b6103576123e6565b61039c61050e366004613a43565b6123f2565b610260610521366004613b24565b612898565b6000610532608c61290f565b92505050806001600160a01b031663fe1f18d68361054e606490565b6040516001600160e01b031960e085901b1681526001600160601b03909216600483015260ff166024820152604401600060405180830381600087803b15801561059757600080fd5b505af11580156105ab573d6000803e3d6000fd5b505050506000816001600160a01b03166361f5f4206040518163ffffffff1660e01b8152600401602060405180830381865afa1580156105ef573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106139190613b52565b6040516306fa456560e01b81526001600160601b03851660048201529091506001600160a01b038216906306fa456590602401600060405180830381600087803b15801561066057600080fd5b505af1158015610674573d6000803e3d6000fd5b50506040516001600160601b03861681527f87cfb697b5d649751f13ba6e2e51778a1fd0a1f260df7281952986c453708e71925060200190505b60405180910390a1505050565b604051632efe011360e01b815260036004820152600060248201819052604482018190529073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af415801561071c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107409190613b6f565b905090565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a082019290925260c08101919091526040805160e081019091527f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa300908060006001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a0016107f8611962565b6001600160a01b0316815260200182600101805461081590613b94565b80601f016020809104026020016040519081016040528092919081815260200182805461084190613b94565b801561088e5780601f106108635761010080835404028352916020019161088e565b820191906000526020600020905b81548152906001019060200180831161087157829003601f168201915b505050505081525091505090565b60006000805160206143fa83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af415801561090b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061092f9190613bde565b156109605780546040516301ab8b6760e21b81526001600160601b0390911660048201526024015b60405180910390fd5b306109736001546001600160a01b031690565b60405163c3c5a54760e01b81526001600160a01b038381166004830152919091169063c3c5a54790602401602060405180830381865afa1580156109bb573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109df9190613bde565b610a075760405163b9304b0d60e01b81526001600160a01b0382166004820152602401610957565b6001546001600160a01b0316604051636939560f60e11b81526001600160a01b038381166004830152919091169063d272ac1e90602401602060405180830381865afa158015610a5b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a7f9190613c06565b82546bffffffffffffffffffffffff19166001600160601b03919091161790915550565b60008080610ab1608c61290f565b9250925092506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015610af7573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b1b9190613b52565b604051634793b4ab60e01b81526001600160601b03881660048201529091506000906001600160a01b03831690634793b4ab90602401600060405180830381865afa158015610b6e573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610b969190810190613ca3565b8051604051630a4d29dd60e31b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906352694ee890602401602060405180830381865af4158015610bf4573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c189190613bde565b15610c41576040516349e9f38360e01b81526001600160601b0388166004820152602401610957565b80516001600160601b03868116911614610c84578051604051630e94d40d60e31b81526001600160601b0380881660048301529091166024820152604401610957565b602081018690526001600160a01b0383166359852426888360ff5b6040518463ffffffff1660e01b8152600401610cbd93929190613e6e565b600060405180830381600087803b158015610cd757600080fd5b505af1158015610ceb573d6000803e3d6000fd5b5050505050505050505050565b610d00612b42565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b610d2d612b42565b610d378287612898565b7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0387166cffffffffffffffffffffffffff1990911617600160601b60ff8716021760ff60681b1916600160681b851515021781557f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa301610dc08382613ee9565b5050505050505050565b73__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__63a123b37c610dec6106bb565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af4158015610e2c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e509190613fa8565b60008051602061443a8339815191528054600160401b900460ff1680610e83575080546001600160401b03808416911610155b15610ea15760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b178155610ecb83612b7b565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020016106ae565b610f17612b42565b6301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b33610f686001546001600160a01b031690565b604051632b91e0a960e01b81526001600160a01b0383811660048301529190911690632b91e0a990602401602060405180830381865afa158015610fb0573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fd49190613bde565b610ffc5760405163ea8a77fd60e01b81526001600160a01b0382166004820152602401610957565b6000866001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa15801561103c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110609190613b52565b905060006001600160a01b03821663a5961b4c73__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b038a1660dc6040516001600160e01b031960e085901b1681526001600160601b03909216600483015260ff166024820152604401602060405180830381865af41580156110e5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111099190613fd1565b6040518263ffffffff1660e01b815260040161112791815260200190565b60a060405180830381865afa158015611144573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111689190614014565b60200151604051634793b4ab60e01b81526001600160601b03881660048201529091506000906001600160a01b03841690634793b4ab90602401600060405180830381865afa1580156111bf573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526111e79190810190613ca3565b905060ff8216606414158061127b575061127b8160e0015173__$d53880c81dc91c20799140d711e5ab8718$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af4158015611248573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061126c91906140a7565b64ffffffffff90811691161090565b156112c05760e081015160405163bf5b8f0960e01b81526001600160601b038916600482015260ff8416602482015264ffffffffff9091166044820152606401610957565b60006112dd6112d3836060015188612b83565b8360800151612c12565b90506112e98188612c5d565b156113225760405163826a5ff960e01b81526001600160601b03808a166004830152808316602483015288166044820152606401610957565b611330826080015188612b83565b6001600160601b0316608083015261134a8a898489612ce4565b6113548a8a612e31565b50505050505050505050565b60008051602061443a8339815191528054600160401b810460ff1615906001600160401b03166000811580156113935750825b90506000826001600160401b031660011480156113af5750303b155b9050811580156113bd575080155b156113db5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561140557845460ff60401b1916600160401b1785555b61140f87876130e6565b831561145657845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a15b50505050505050565b336114726001546001600160a01b031690565b604051632b91e0a960e01b81526001600160a01b0383811660048301529190911690632b91e0a990602401602060405180830381865afa1580156114ba573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114de9190613bde565b6115065760405163ea8a77fd60e01b81526001600160a01b0382166004820152602401610957565b6000846001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015611546573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061156a9190613b52565b604051634793b4ab60e01b81526001600160601b03861660048201529091506000906001600160a01b03831690634793b4ab90602401600060405180830381865afa1580156115bd573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526115e59190810190613ca3565b90506115f386868387612ce4565b505050505050565b611603612b42565b806001600160a01b03163b6000036116395760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610957565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b8152630a3888e560e31b60048201526301ffc9a790602401602060405180830381865afa9250505080156116b3575060408051601f3d908101601f191682019092526116b091810190613bde565b60015b6116db5760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610957565b806117045760405163fdeac91f60e01b81526001600160a01b0383166004820152602401610957565b505b50565b816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015611747573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061176b9190613b52565b6040516375d357df60e01b81526001600160601b03831660048201526001600160a01b0391909116906375d357df90602401602060405180830381865afa1580156117ba573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117de9190613bde565b611806576040516392bb4dff60e01b81526001600160601b0382166004820152602401610957565b816001600160a01b03166361f5f4206040518163ffffffff1660e01b8152600401602060405180830381865afa158015611844573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118689190613b52565b604051631351fccf60e31b81526001600160601b03831660048201526001600160a01b039190911690639a8fe67890602401600060405180830381600087803b1580156118b457600080fd5b505af11580156115f3573d6000803e3d6000fd5b336118e860008051602061441a833981519152546001600160a01b031690565b6001600160a01b0316816001600160a01b0316146119235760405162d1953b60e31b81526001600160a01b0382166004820152602401610957565b816001600160a01b03163b600003611959576040516361798f2f60e11b81526001600160a01b0383166004820152602401610957565b61170482613207565b6000806000805160206143fa83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af41580156119d2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119f69190613bde565b15611a83576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015611a59573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a7d9190613b52565b91505090565b54600160601b90046001600160a01b0316919050565b611aa1612b42565b611b2183846001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa158015611ae3573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611b079190613c06565b603c60008560405180602001604052806000815250610d25565b6001600160a01b03821615611b3e57611b3982613268565b611cad565b6000611b526001546001600160a01b031690565b6001600160a01b031663d39e60436028604051632392b61b60e21b81526003600482015273__$9dab98ad7ae1a426029e5739f922230a41$__90638e4ad86c90602401602060405180830381865af4158015611bb2573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611bd691906140c4565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa158015611c1b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611c3f9190613b52565b9050611cab816001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611c82573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611ca69190613b52565b613268565b505b611cbd634a531f3360e01b610cf8565b611ccd63b68d180960e01b610cf8565b505050565b60008051602061441a833981519152805460009190600160a01b900460ff16611cfc576000611a7d565b638fb3603760e01b91505090565b6001600160a01b03821663fe1f18d68260c86040516001600160e01b031960e085901b1681526001600160601b03909216600483015260ff166024820152604401600060405180830381600087803b158015611d6557600080fd5b505af1158015611d79573d6000803e3d6000fd5b505050506000826001600160a01b03166361f5f4206040518163ffffffff1660e01b8152600401602060405180830381865afa158015611dbd573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611de19190613b52565b6040516322cc1d4560e11b81526001600160601b03841660048201529091506000906001600160a01b038316906345983a8a90602401602060405180830381865afa158015611e34573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611e589190613fd1565b90508015611e8b576040516356a410b760e01b81526001600160601b038416600482015260248101829052604401610957565b60405163b5346af560e01b81526001600160601b03841660048201526001600160a01b0383169063b5346af5906024015b600060405180830381600087803b158015611ed657600080fd5b505af1158015610dc0573d6000803e3d6000fd5b33611efd6001546001600160a01b031690565b604051632b91e0a960e01b81526001600160a01b0383811660048301529190911690632b91e0a990602401602060405180830381865afa158015611f45573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611f699190613bde565b611f915760405163ea8a77fd60e01b81526001600160a01b0382166004820152602401610957565b6000856001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015611fd1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611ff59190613b52565b604051634793b4ab60e01b81526001600160601b03861660048201529091506000906001600160a01b03831690634793b4ab90602401600060405180830381865afa158015612048573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526120709190810190613ca3565b9050612080816080015185612c12565b6001600160601b031660808201526001600160a01b0387166359852426868360ff610c9f565b60006120b2608c61290f565b92505050806001600160a01b031663fe1f18d6836120ce606e90565b6040516001600160e01b031960e085901b1681526001600160601b03909216600483015260ff166024820152604401600060405180830381600087803b15801561211757600080fd5b505af115801561212b573d6000803e3d6000fd5b505050506000816001600160a01b03166361f5f4206040518163ffffffff1660e01b8152600401602060405180830381865afa15801561216f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906121939190613b52565b60405163b5346af560e01b81526001600160601b03851660048201529091506001600160a01b0382169063b5346af590602401600060405180830381600087803b1580156121e057600080fd5b505af11580156121f4573d6000803e3d6000fd5b50506040516001600160601b03861681527f6764112d27879e5bb12f07fde08a48629ec22e603c75c9942ba62a06c95a55f4925060200190506106ae565b6000836001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015612272573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906122969190613b52565b604051634793b4ab60e01b81526001600160601b03851660048201526001600160a01b039190911690634793b4ab90602401600060405180830381865afa1580156122e5573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261230d9190810190613ca3565b60a081015160405163274acb3560e01b81526001600160601b039182166004820152908416602482015290915073__$ea4dcf94bcd4a5d2e83a2341ef616bff8d$__9063274acb3590604401602060405180830381865af4158015612376573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061239a9190613c06565b6001600160601b031660a08201526001600160a01b0384166359852426848360ff5b6040518463ffffffff1660e01b8152600401611ebc93929190613e6e565b60006107406028613279565b60006107406046613279565b60006123fc6123da565b6001600160a01b031663c2bf08c86040518060e0016040528061241d600090565b6001600160601b031681526020018b6001600160601b0316815260200161244260dc90565b60ff16815260200160001515815260200160006001600160a01b031681526020018a6001600160a01b03168152602001604051806020016040528060008152508152506040518263ffffffff1660e01b81526004016124a191906134de565b6020604051808303816000875af11580156124c0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906124e49190613c06565b9050886001600160a01b03166397affbf5826040518061012001604052808c6001600160601b031681526020018a815260200187878080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152505050908252506001600160601b038a166020808301919091526040805163bc1b392d60e01b81528151919093019273__$ea4dcf94bcd4a5d2e83a2341ef616bff8d$__9263bc1b392d926004808401938290030181865af41580156125b3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906125d79190613c06565b6001600160601b0316815260200173__$ea4dcf94bcd4a5d2e83a2341ef616bff8d$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af415801561262e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906126529190613c06565b6001600160601b031681526020018864ffffffffff16815260200173__$d53880c81dc91c20799140d711e5ab8718$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af41580156126b6573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906126da91906140a7565b6040516352bcc5a760e11b815264ffffffffff9182166004820152908a16602482015273__$d53880c81dc91c20799140d711e5ab8718$__9063a5798b4e90604401602060405180830381865af4158015612739573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061275d91906140a7565b64ffffffffff16815260006020909101526040516001600160e01b031960e085901b1681526127909291906004016140e1565b600060405180830381600087803b1580156127aa57600080fd5b505af11580156127be573d6000803e3d6000fd5b505050506000896001600160a01b03166361f5f4206040518163ffffffff1660e01b8152600401602060405180830381865afa158015612802573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906128269190613b52565b6040516346f0e8a760e11b81526001600160601b03841660048201529091506001600160a01b03821690638de1d14e90602401600060405180830381600087803b15801561287357600080fd5b505af1158015612887573d6000803e3d6000fd5b505050505098975050505050505050565b6128a0612b42565b6128a9816115fb565b6128b1610f0f565b6001600160a01b0382166128d85760405163f17ef42d60e01b815260040160405180910390fd5b506000805160206143fa83398151915280546001600160601b0316600160601b6001600160a01b0390931692909202919091179055565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a0820183905260c082015260008061295b6001546001600160a01b031690565b6040516308b09a5f60e41b81523360048201529091506001600160a01b03821690638b09a5f090602401600060405180830381865afa1580156129a2573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526129ca9190810190614103565b92506129e183604001518660ff9081169116141590565b15612a2557608083015160408085015190516304081d4960e41b81526001600160a01b03909216600483015260ff8088166024840152166044820152606401610957565b82600001519350612a39836020015161338c565b9150816001600160a01b031663e5f6cd276040518163ffffffff1660e01b8152600401602060405180830381865afa158015612a79573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612a9d9190613b52565b6080840151604051629b7b3560e61b81526001600160a01b0391821660048201529116906326decd4090602401602060405180830381865afa158015612ae7573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612b0b9190613bde565b15612b3a57608083015160405163d53987e560e01b81526001600160a01b039091166004820152602401610957565b509193909250565b60008051602061443a83398151915254600160401b900460ff16612b7957604051631afcd79f60e31b815260040160405180910390fd5b565b610206612b42565b60405163274acb3560e01b81526001600160601b0380841660048301528216602482015260009073__$ea4dcf94bcd4a5d2e83a2341ef616bff8d$__9063274acb35906044015b602060405180830381865af4158015612be7573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612c0b9190613c06565b9392505050565b6040516363cf551160e11b81526001600160601b0380841660048301528216602482015260009073__$ea4dcf94bcd4a5d2e83a2341ef616bff8d$__9063c79eaa2290604401612bca565b6040516304d40eb160e11b81526001600160601b0380841660048301528216602482015260009073__$ea4dcf94bcd4a5d2e83a2341ef616bff8d$__906309a81d6290604401602060405180830381865af4158015612cc0573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612c0b9190613bde565b6040516330b8415f60e01b81526001600160601b038216600482015273__$ea4dcf94bcd4a5d2e83a2341ef616bff8d$__906330b8415f90602401602060405180830381865af4158015612d3c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612d609190613bde565b15612e1957602082810151604051634f69237560e11b81528151600482015291015160248201526001600160601b038216604482015260009073__$a23651848365a6a5ca15f07b4331037f48$__90639ed246ea906064016040805180830381865af4158015612dd4573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612df891906141d5565b915050612e09836060015182612b83565b6001600160601b03166060840152505b6001600160a01b0384166359852426848460ff6123bc565b6000826001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015612e71573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612e959190613b52565b60405163bd7d9d8560e01b81526001600160601b03841660048201529091506000906001600160a01b0383169063bd7d9d8590602401600060405180830381865afa158015612ee8573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052612f10919081019061422e565b6101c0810151604051638d38cd4b60e01b815264ffffffffff909116600482015290915073__$d53880c81dc91c20799140d711e5ab8718$__90638d38cd4b90602401602060405180830381865af4158015612f70573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612f949190613bde565b8015612fed5750612fed816101c0015173__$d53880c81dc91c20799140d711e5ab8718$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af4158015611248573d6000803e3d6000fd5b1561301657604051630cd0c0b560e31b81526001600160601b0384166004820152602401610957565b6000846001600160a01b03166361f5f4206040518163ffffffff1660e01b8152600401602060405180830381865afa158015613056573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061307a9190613b52565b604051630331f98560e21b81526001600160601b03861660048201529091506001600160a01b03821690630cc7e61490602401600060405180830381600087803b1580156130c757600080fd5b505af11580156130db573d6000803e3d6000fd5b505050505050505050565b60008051602061443a8339815191528054600160401b810460ff1615906001600160401b03166000811580156131195750825b90506000826001600160401b031660011480156131355750303b155b905081158015613143575080155b156131615760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561318b57845460ff60401b1916600160401b1785555b600080878060200190518101906131a291906143ca565b90925090506131b38260008b611a99565b6131c3630e1d6de360e41b610cf8565b5050831561145657845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200161144d565b60008051602061441a83398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b613270612b42565b61170681613421565b600061328d6001546001600160a01b031690565b6001600160a01b031663d39e6043836132a46106bb565b60405163c9e66e2960e01b815262ffffff909116600482015273__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__9063c9e66e2990602401602060405180830381865af41580156132f9573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061331d91906140c4565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa158015613362573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906133869190613b52565b92915050565b60006133a06001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03841660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa1580156133ef573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526134179190810190614103565b6080015192915050565b613429612b42565b61170681613207565b60006020828403121561344457600080fd5b81356001600160e01b031981168114612c0b57600080fd5b6001600160601b038116811461170657600080fd5b60006020828403121561348357600080fd5b8135612c0b8161345c565b60005b838110156134a9578181015183820152602001613491565b50506000910152565b600081518084526134ca81602086016020860161348e565b601f01601f19169290920160200192915050565b6020815260006001600160601b038084511660208401528060208501511660408401525060ff604084015116606083015260608301511515608083015260018060a01b0360808401511660a083015260a083015161354760c08401826001600160a01b03169052565b5060c083015160e0808401526135616101008401826134b2565b949350505050565b634e487b7160e01b600052604160045260246000fd5b604080519081016001600160401b03811182821017156135a1576135a1613569565b60405290565b60405161012081016001600160401b03811182821017156135a1576135a1613569565b60405160e081016001600160401b03811182821017156135a1576135a1613569565b60405161022081016001600160401b03811182821017156135a1576135a1613569565b604051601f8201601f191681016001600160401b038111828210171561363757613637613569565b604052919050565b60006040828403121561365157600080fd5b61365961357f565b9050813581526020820135602082015292915050565b6000806060838503121561368257600080fd5b823561368d8161345c565b915061369c846020850161363f565b90509250929050565b6001600160a01b038116811461170657600080fd5b60ff8116811461170657600080fd5b801515811461170657600080fd5b60006001600160401b038211156136f0576136f0613569565b50601f01601f191660200190565b600082601f83011261370f57600080fd5b813561372261371d826136d7565b61360f565b81815284602083860101111561373757600080fd5b816020850160208301376000918101602001919091529392505050565b60008060008060008060c0878903121561376d57600080fd5b8635613778816136a5565b955060208701356137888161345c565b94506040870135613798816136ba565b935060608701356137a8816136c9565b925060808701356137b8816136a5565b915060a08701356001600160401b038111156137d357600080fd5b6137df89828a016136fe565b9150509295509295509295565b6000602082840312156137fe57600080fd5b81356001600160401b0381111561381457600080fd5b613561848285016136fe565b600080600080600060a0868803121561383857600080fd5b8535613843816136a5565b945060208601356138538161345c565b935060408601356138638161345c565b925060608601356138738161345c565b915060808601356138838161345c565b809150509295509295909350565b600080604083850312156138a457600080fd5b82356138af816136a5565b915060208301356001600160401b038111156138ca57600080fd5b6138d6858286016136fe565b9150509250929050565b6000806000606084860312156138f557600080fd5b8335613900816136a5565b925060208401356139108161345c565b915060408401356139208161345c565b809150509250925092565b60006020828403121561393d57600080fd5b8135612c0b816136a5565b6000806040838503121561395b57600080fd5b8235613966816136a5565b915060208301356139768161345c565b809150509250929050565b60008060006060848603121561399657600080fd5b83356139a1816136a5565b925060208401356139b1816136a5565b91506040840135613920816136a5565b602081526000612c0b60208301846134b2565b600080600080608085870312156139ea57600080fd5b84356139f5816136a5565b93506020850135613a058161345c565b92506040850135613a158161345c565b91506060850135613a258161345c565b939692955090935050565b64ffffffffff8116811461170657600080fd5b600080600080600080600080610100898b031215613a6057600080fd5b8835613a6b816136a5565b97506020890135613a7b8161345c565b96506040890135613a8b816136a5565b9550613a9a8a60608b0161363f565b945060a0890135613aaa8161345c565b935060c0890135613aba81613a30565b925060e08901356001600160401b0380821115613ad657600080fd5b818b0191508b601f830112613aea57600080fd5b813581811115613af957600080fd5b8c6020828501011115613b0b57600080fd5b6020830194508093505050509295985092959890939650565b60008060408385031215613b3757600080fd5b8235613b42816136a5565b91506020830135613976816136a5565b600060208284031215613b6457600080fd5b8151612c0b816136a5565b600060208284031215613b8157600080fd5b815162ffffff81168114612c0b57600080fd5b600181811c90821680613ba857607f821691505b602082108103613bc857634e487b7160e01b600052602260045260246000fd5b50919050565b8051613bd9816136c9565b919050565b600060208284031215613bf057600080fd5b8151612c0b816136c9565b8051613bd98161345c565b600060208284031215613c1857600080fd5b8151612c0b8161345c565b600060408284031215613c3557600080fd5b613c3d61357f565b9050815181526020820151602082015292915050565b600082601f830112613c6457600080fd5b8151613c7261371d826136d7565b818152846020838601011115613c8757600080fd5b61356182602083016020870161348e565b8051613bd981613a30565b600060208284031215613cb557600080fd5b81516001600160401b0380821115613ccc57600080fd5b908301906101408286031215613ce157600080fd5b613ce96135a7565b613cf283613bfb565b8152613d018660208501613c23565b6020820152606083015182811115613d1857600080fd5b613d2487828601613c53565b604083015250613d3660808401613bfb565b6060820152613d4760a08401613bfb565b6080820152613d5860c08401613bfb565b60a0820152613d6960e08401613c98565b60c08201526101009150613d7e828401613c98565b60e0820152613d906101208401613c98565b91810191909152949350505050565b80516001600160601b031682526000610140602083810151805186830152908101516040860152506040830151816060860152613dde828601826134b2565b9150506060830151613dfb60808601826001600160601b03169052565b5060808301516001600160601b03811660a08601525060a08301516001600160601b03811660c08601525060c083015164ffffffffff811660e08601525060e0830151610100613e538187018364ffffffffff169052565b84015164ffffffffff81166101208701529050509392505050565b6001600160601b0384168152606060208201526000613e906060830185613d9f565b905060ff83166040830152949350505050565b601f821115611ccd57600081815260208120601f850160051c81016020861015613eca5750805b601f850160051c820191505b818110156115f357828155600101613ed6565b81516001600160401b03811115613f0257613f02613569565b613f1681613f108454613b94565b84613ea3565b602080601f831160018114613f4b5760008415613f335750858301515b600019600386901b1c1916600185901b1785556115f3565b600085815260208120601f198616915b82811015613f7a57888601518255948401946001909101908401613f5b565b5085821015613f985787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b600060208284031215613fba57600080fd5b81516001600160401b0381168114612c0b57600080fd5b600060208284031215613fe357600080fd5b5051919050565b8051613bd9816136ba565b8051613bd9816136a5565b805163ffffffff81168114613bd957600080fd5b600060a0828403121561402657600080fd5b60405160a081018181106001600160401b038211171561404857614048613569565b6040528251614056816136ba565b81526020830151614066816136ba565b60208201526040830151614079816136a5565b604082015261408a60608401614000565b606082015261409b60808401614000565b60808201529392505050565b6000602082840312156140b957600080fd5b8151612c0b81613a30565b6000602082840312156140d657600080fd5b8151612c0b816136ba565b6001600160601b03831681526040602082015260006135616040830184613d9f565b60006020828403121561411557600080fd5b81516001600160401b038082111561412c57600080fd5b9083019060e0828603121561414057600080fd5b6141486135ca565b61415183613bfb565b815261415f60208401613bfb565b602082015261417060408401613fea565b604082015261418160608401613bce565b606082015261419260808401613ff5565b60808201526141a360a08401613ff5565b60a082015260c0830151828111156141ba57600080fd5b6141c687828601613c53565b60c08301525095945050505050565b600080604083850312156141e857600080fd5b82516141f38161345c565b60208401519092506139768161345c565b80516001600160c01b031981168114613bd957600080fd5b805161ffff81168114613bd957600080fd5b60006020828403121561424057600080fd5b81516001600160401b038082111561425757600080fd5b90830190610220828603121561426c57600080fd5b6142746135ec565b61427d83613bfb565b815261428b60208401613bfb565b602082015261429c60408401614204565b60408201526142ad60608401614204565b60608201526142be60808401613bfb565b60808201526142cf60a08401613bfb565b60a08201526142e060c08401613bfb565b60c08201526142f160e08401613c98565b60e0820152610100808401518381111561430a57600080fd5b61431688828701613c53565b828401525050610120808401518381111561433057600080fd5b61433c88828701613c53565b828401525050610140915061435282840161421c565b82820152610160915061436682840161421c565b82820152610180915061437a828401613bfb565b828201526101a0915061438e828401613bfb565b828201526101c091506143a2828401613c98565b828201526101e091506143b6828401613c98565b828201526102009150613d90828401613c98565b600080604083850312156143dd57600080fd5b82516143e8816136a5565b6020840151909250613976816136a556fe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00f0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00a2646970667358221220ad6cc9135486adfbd7105ad55b0672de8221c805aed8fc1e4f96a3a3cc39868964736f6c63430008140033",
813
1067
  "linkReferences": {
814
- "contracts/types/Blocknumber.sol": {
815
- "BlocknumberLib": [
1068
+ "contracts/types/Amount.sol": {
1069
+ "AmountLib": [
1070
+ {
1071
+ "length": 20,
1072
+ "start": 9250
1073
+ },
1074
+ {
1075
+ "length": 20,
1076
+ "start": 9824
1077
+ },
1078
+ {
1079
+ "length": 20,
1080
+ "start": 9933
1081
+ },
1082
+ {
1083
+ "length": 20,
1084
+ "start": 11410
1085
+ },
1086
+ {
1087
+ "length": 20,
1088
+ "start": 11553
1089
+ },
1090
+ {
1091
+ "length": 20,
1092
+ "start": 11628
1093
+ },
816
1094
  {
817
1095
  "length": 20,
818
- "start": 3324
1096
+ "start": 11752
819
1097
  }
820
1098
  ]
821
1099
  },
@@ -823,11 +1101,7 @@
823
1101
  "FeeLib": [
824
1102
  {
825
1103
  "length": 20,
826
- "start": 9845
827
- },
828
- {
829
- "length": 20,
830
- "start": 10000
1104
+ "start": 11905
831
1105
  }
832
1106
  ]
833
1107
  },
@@ -835,15 +1109,19 @@
835
1109
  "NftIdLib": [
836
1110
  {
837
1111
  "length": 20,
838
- "start": 2197
1112
+ "start": 2487
1113
+ },
1114
+ {
1115
+ "length": 20,
1116
+ "start": 3232
839
1117
  },
840
1118
  {
841
1119
  "length": 20,
842
- "start": 3704
1120
+ "start": 4443
843
1121
  },
844
1122
  {
845
1123
  "length": 20,
846
- "start": 4357
1124
+ "start": 6782
847
1125
  }
848
1126
  ]
849
1127
  },
@@ -851,11 +1129,23 @@
851
1129
  "TimestampLib": [
852
1130
  {
853
1131
  "length": 20,
854
- "start": 7447
1132
+ "start": 4839
1133
+ },
1134
+ {
1135
+ "length": 20,
1136
+ "start": 10069
1137
+ },
1138
+ {
1139
+ "length": 20,
1140
+ "start": 10213
855
1141
  },
856
1142
  {
857
1143
  "length": 20,
858
- "start": 8778
1144
+ "start": 12316
1145
+ },
1146
+ {
1147
+ "length": 20,
1148
+ "start": 12428
859
1149
  }
860
1150
  ]
861
1151
  },
@@ -863,25 +1153,55 @@
863
1153
  "VersionLib": [
864
1154
  {
865
1155
  "length": 20,
866
- "start": 1668
1156
+ "start": 1992
867
1157
  },
868
1158
  {
869
1159
  "length": 20,
870
- "start": 4597
1160
+ "start": 3762
871
1161
  },
872
1162
  {
873
1163
  "length": 20,
874
- "start": 5291
1164
+ "start": 13221
1165
+ }
1166
+ ],
1167
+ "VersionPartLib": [
1168
+ {
1169
+ "length": 20,
1170
+ "start": 7262
875
1171
  }
876
1172
  ]
877
1173
  }
878
1174
  },
879
1175
  "deployedLinkReferences": {
880
- "contracts/types/Blocknumber.sol": {
881
- "BlocknumberLib": [
1176
+ "contracts/types/Amount.sol": {
1177
+ "AmountLib": [
1178
+ {
1179
+ "length": 20,
1180
+ "start": 9020
1181
+ },
1182
+ {
1183
+ "length": 20,
1184
+ "start": 9594
1185
+ },
1186
+ {
1187
+ "length": 20,
1188
+ "start": 9703
1189
+ },
1190
+ {
1191
+ "length": 20,
1192
+ "start": 11180
1193
+ },
1194
+ {
1195
+ "length": 20,
1196
+ "start": 11323
1197
+ },
1198
+ {
1199
+ "length": 20,
1200
+ "start": 11398
1201
+ },
882
1202
  {
883
1203
  "length": 20,
884
- "start": 3010
1204
+ "start": 11522
885
1205
  }
886
1206
  ]
887
1207
  },
@@ -889,11 +1209,7 @@
889
1209
  "FeeLib": [
890
1210
  {
891
1211
  "length": 20,
892
- "start": 9531
893
- },
894
- {
895
- "length": 20,
896
- "start": 9686
1212
+ "start": 11675
897
1213
  }
898
1214
  ]
899
1215
  },
@@ -901,15 +1217,19 @@
901
1217
  "NftIdLib": [
902
1218
  {
903
1219
  "length": 20,
904
- "start": 1883
1220
+ "start": 2257
905
1221
  },
906
1222
  {
907
1223
  "length": 20,
908
- "start": 3390
1224
+ "start": 3002
909
1225
  },
910
1226
  {
911
1227
  "length": 20,
912
- "start": 4043
1228
+ "start": 4213
1229
+ },
1230
+ {
1231
+ "length": 20,
1232
+ "start": 6552
913
1233
  }
914
1234
  ]
915
1235
  },
@@ -917,11 +1237,23 @@
917
1237
  "TimestampLib": [
918
1238
  {
919
1239
  "length": 20,
920
- "start": 7133
1240
+ "start": 4609
1241
+ },
1242
+ {
1243
+ "length": 20,
1244
+ "start": 9839
1245
+ },
1246
+ {
1247
+ "length": 20,
1248
+ "start": 9983
1249
+ },
1250
+ {
1251
+ "length": 20,
1252
+ "start": 12086
921
1253
  },
922
1254
  {
923
1255
  "length": 20,
924
- "start": 8464
1256
+ "start": 12198
925
1257
  }
926
1258
  ]
927
1259
  },
@@ -929,15 +1261,21 @@
929
1261
  "VersionLib": [
930
1262
  {
931
1263
  "length": 20,
932
- "start": 1354
1264
+ "start": 1762
933
1265
  },
934
1266
  {
935
1267
  "length": 20,
936
- "start": 4283
1268
+ "start": 3532
937
1269
  },
938
1270
  {
939
1271
  "length": 20,
940
- "start": 4977
1272
+ "start": 12991
1273
+ }
1274
+ ],
1275
+ "VersionPartLib": [
1276
+ {
1277
+ "length": 20,
1278
+ "start": 7032
941
1279
  }
942
1280
  ]
943
1281
  }