Skip to content

Instantly share code, notes, and snippets.

@ngtuna
Created February 19, 2023 05:18
Show Gist options
  • Save ngtuna/cffdc7e1638eae951f7fca6f5e193d2d to your computer and use it in GitHub Desktop.
Save ngtuna/cffdc7e1638eae951f7fca6f5e193d2d to your computer and use it in GitHub Desktop.
k -n aggregator-rc logs -f aggregator-rc-backend-polygon-api-7586b5f44-ks9bx  ✔  core-cluster ⎈  12:16:30 PM 
2023/02/19 05:13:20 Datadog Tracer v1.36.0 INFO: DATADOG TRACER CONFIGURATION {"date":"2023-02-19T05:13:20Z","os_name":"Linux (Unknown Distribution)","os_version":"unknown","version":"v1.36.0","lang":"Go","lang_version":"go1.16.15","env":"production","service":"aggregator-rc-backend-polygon-api","agent_url":"http://10.0.0.105:8126/v0.4/traces","agent_error":"","debug":false,"analytics_enabled":false,"sample_rate":"NaN","sampling_rules":null,"sampling_rules_error":"","service_mappings":null,"tags":{"runtime-id":"261eeb31-55a8-46d5-879f-04e349ff5d95"},"runtime_metrics_enabled":false,"health_metrics_enabled":false,"profiler_code_hotspots_enabled":false,"profiler_endpoints_enabled":false,"dd_version":"v1.29.0","architecture":"amd64","global_service":"aggregator-rc-backend-polygon-api","lambda_mode":"false","appsec":false,"agent_features":{"DropP0s":true,"Stats":true,"StatsdPort":0}}
production
local config: {"env":"production","http":{"BindAddress":":8080","Mode":"release","Prefix":"/polygon"},"common":{"ChainID":137,"DataFolder":"internal/pkg/data/chain/polygon","PublicRPC":"https://polygon.kyberengineering.io/v1/mainnet/geth?appId=prod-dmm-aggregator-backend","RPCs":["https://polygon.kyberengineering.io/v1/mainnet/geth?appId=prod-dmm-aggregator-backend"],"Address":{"Multicall":"0xed386fe855c1eff2f843b910923dd8846e45c5a4","GasToken":"0x0d500b1d8e8ef31e21c99d1db9a6444d3adf1270","ExecutorAddress":"0x7F92d949185cD8ceebeBAD89876Ab3e90D1CE3b5","RouterAddress":"0x617Dee16B86534a5d792A4d7A62FB491B544111E"}},"log":{"EnableConsole":true,"EnableJSONFormat":false,"ConsoleLevel":"warn","EnableFile":false,"FileJSONFormat":false,"FileLevel":"","FileLocation":"","SentryDSN":"https://1941258f27c3436a9dc79368b14a574a@sentry-v2.knstats.com/49"},"enableDexes":["kyberswap","kyberswap-static","kyberswapv2","uniswapv3","sushiswap","quickswap","jetswap","wault","polycat","dfyn","polydex","oneswap","iron-stable","curve","synapse","balancer","gravity","cometh","apeswap","dinoswap","dodo","dystopia","mmf","madmex","metavault","fraxswap"],"dexes":[{"Id":"fraxswap","Handler":"fraxswap","Json":false,"Properties":{"factoryAddress":"0x54F454D747e037Da288dB568D4121117EAb34e79","newPoolJobIntervalSec":10,"newPoolLimit":10,"reserveJobInterval":"2s","updateReserveBulk":10}},{"Id":"metavault","Handler":"metavault","Json":false,"Properties":{"addressesPath":"metavault/addresses.json","reserveJobInterval":"2s"}},{"Id":"madmex","Handler":"madmex","Json":false,"Properties":{"addressesPath":"madmex/addresses.json","reserveJobInterval":"2s"}},{"Id":"kyberswap","Handler":"dmm","Json":false,"Properties":{"factoryAddress":"0x5f1fe642060b5b9658c15721ea22e982643c095c","newPoolJobIntervalSec":10,"newPoolLimit":1000,"reserveJobInterval":"2s","updateReserveBulk":200}},{"Id":"kyberswap-static","Handler":"dmm","Json":false,"Properties":{"factoryAddress":"0x1c758aF0688502e49140230F6b0EBd376d429be5","newPoolJobIntervalSec":10,"newPoolLimit":1000,"reserveJobInterval":"2s","updateReserveBulk":200}},{"Id":"kyberswapv2","Handler":"promm","Json":false,"Properties":{"concurrentBatches":100,"factoryAddress":"0x5F1dddbf348aC2fbe22a163e30F99F9ECE3DD50a","newPoolJobIntervalSec":10,"newPoolLimit":3000,"reserveJobInterval":"100ms","subgraphAPI":"https://api.thegraph.com/subgraphs/name/kybernetwork/kyberswap-elastic-matic","updateReserveBulk":20}},{"Id":"uniswapv3","Handler":"uniswapv3","Json":false,"Properties":{"concurrentBatches":400,"factoryAddress":"0x1F98431c8aD98523631AE4a59f267346ea31F984","newPoolJobIntervalSec":10,"newPoolLimit":3000,"reserveJobInterval":"100ms","subgraphAPI":"https://api.thegraph.com/subgraphs/name/ianlapham/uniswap-v3-polygon","updateReserveBulk":10}},{"Id":"sushiswap","Handler":"uniswap","Json":false,"Properties":{"factoryAddress":"0xc35dadb65012ec5796536bd9864ed8773abc74c4","newPoolJobIntervalSec":10,"newPoolLimit":1000,"reserveJobInterval":"2s","subgraphAPI":"https://api.thegraph.com/subgraphs/name/sushiswap/matic-exchange","swapFee":0.003,"updateReserveBulk":200}},{"Id":"quickswap","Handler":"uniswap","Json":false,"Properties":{"factoryAddress":"0x5757371414417b8C6CAad45bAeF941aBc7d3Ab32","newPoolJobIntervalSec":10,"newPoolLimit":1000,"reserveJobInterval":"2s","subgraphAPI":"https://api.thegraph.com/subgraphs/name/sameepsi/quickswap06","swapFee":0.003,"updateReserveBulk":200}},{"Id":"jetswap","Handler":"uniswap","Json":false,"Properties":{"factoryAddress":"0x668ad0ed2622c62e24f0d5ab6b6ac1b9d2cd4ac7","newPoolJobIntervalSec":10,"newPoolLimit":1000,"reserveJobInterval":"2s","subgraphAPI":"https://api.thegraph.com/subgraphs/name/smartcookie0501/jetswap-subgraph-polygon","swapFee":0.001,"updateReserveBulk":200}},{"Id":"wault","Handler":"uniswap","Json":false,"Properties":{"factoryAddress":"0xa98ea6356A316b44Bf710D5f9b6b4eA0081409Ef","newPoolJobIntervalSec":10,"newPoolLimit":1000,"reserveJobInterval":"2s","subgraphAPI":"https://api.thegraph.com/subgraphs/name/waultfinance/waultswap-polygon","swapFee":0.002,"updateReserveBulk":200}},{"Id":"polycat","Handler":"uniswap","Json":false,"Properties":{"factoryAddress":"0x477Ce834Ae6b7aB003cCe4BC4d8697763FF456FA","newPoolJobIntervalSec":10,"newPoolLimit":1000,"reserveJobInterval":"2s","subgraphAPI":"https://api.thegraph.com/subgraphs/name/polycatfi/polycat-finance-amm","swapFee":0.0024,"updateReserveBulk":200}},{"Id":"dfyn","Handler":"uniswap","Json":false,"Properties":{"factoryAddress":"0xE7Fb3e833eFE5F9c441105EB65Ef8b261266423B","newPoolJobIntervalSec":10,"newPoolLimit":1000,"reserveJobInterval":"2s","subgraphAPI":"https://api.thegraph.com/subgraphs/name/ss-sonic/dfyn-v4","swapFee":0.003,"updateReserveBulk":200}},{"Id":"polydex","Handler":"polydex","Json":false,"Properties":{"factoryAddress":"0xEAA98F7b5f7BfbcD1aF14D0efAa9d9e68D82f640","newPoolJobIntervalSec":10,"newPoolLimit":1000,"reserveJobInterval":"2s","subgraphAPI":"https://api.thegraph.com/subgraphs/name/polydex-ws/polydex-info-v2","updateReserveBulk":200}},{"Id":"oneswap","Handler":"oneswap","Json":false,"Properties":{"factoryAddress":"0xd2891f9a9fdbffc2db3ec9d4194409a7678cbc51","newPoolJobIntervalSec":10,"newPoolLimit":1000,"reserveJobInterval":"2s","updateReserveBulk":200}},{"Id":"iron-stable","Handler":"iron-stable","Json":false,"Properties":{"newPoolJobIntervalSec":10,"poolPath":"iron/stable.json","reserveJobInterval":"2s","updateReserveBulk":200}},{"Id":"curve","Handler":"curve","Json":false,"Properties":{"newPoolJobIntervalSec":500,"poolPath":"curve/pools.json","reserveJobInterval":"2s"}},{"Id":"balancer","Handler":"balancer","Json":false,"Properties":{"newPoolJobIntervalSec":10,"newPoolLimit":1000,"reserveJobInterval":"2s","subgraphAPI":"https://api.thegraph.com/subgraphs/name/balancer-labs/balancer-polygon-v2","updateReserveBulk":200}},{"Id":"synapse","Handler":"synapse","Json":false,"Properties":{"newPoolJobIntervalSec":500,"poolPath":"synapse/pools.json","reserveJobInterval":"1s","updateReserveBulk":200}},{"Id":"gravity","Handler":"uniswap","Json":false,"Properties":{"factoryAddress":"0x3ed75AfF4094d2Aaa38FaFCa64EF1C152ec1Cf20","newPoolJobIntervalSec":10,"newPoolLimit":1000,"reserveJobInterval":"2s","swapFee":0.0025,"updateReserveBulk":200}},{"Id":"cometh","Handler":"uniswap","Json":false,"Properties":{"factoryAddress":"0x800b052609c355cA8103E06F022aA30647eAd60a","newPoolJobIntervalSec":10,"newPoolLimit":1000,"reserveJobInterval":"2s","swapFee":0.005,"updateReserveBulk":200}},{"Id":"apeswap","Handler":"uniswap","Json":false,"Properties":{"factoryAddress":"0xcf083be4164828f00cae704ec15a36d711491284","newPoolJobIntervalSec":10,"newPoolLimit":1000,"reserveJobInterval":"2s","swapFee":0.002,"updateReserveBulk":200}},{"Id":"dinoswap","Handler":"uniswap","Json":false,"Properties":{"factoryAddress":"0x624ccf581371f8a4493e6abde46412002555a1b6","newPoolJobIntervalSec":10,"newPoolLimit":1000,"reserveJobInterval":"2s","swapFee":0.0018,"updateReserveBulk":200}},{"Id":"dodo","Handler":"dodo","Json":false,"Properties":{"dodoV1SellHelper":"0xdfaf9584f5d229a9dbe5978523317820a8897c5a","newPoolJobIntervalSec":10,"newPoolLimit":3000,"reserveJobInterval":"2s","subgraphAPI":"https://api.thegraph.com/subgraphs/name/dodoex/dodoex-v2-polygon","updateReserveBulk":50}},{"Id":"dystopia","Handler":"dystopia","Json":false,"Properties":{"factoryAddress":"0x1d21Db6cde1b18c7E47B0F7F42f4b3F68b9beeC9","newPoolJobIntervalSec":10,"newPoolLimit":3000,"reserveJobInterval":"2s","swapFee":0.0005,"updateReserveBulk":500}},{"Id":"mmf","Handler":"uniswap","Json":false,"Properties":{"factoryAddress":"0x7cfb780010e9c861e03bcbc7ac12e013137d47a5","newPoolJobIntervalSec":10,"newPoolLimit":3000,"reserveJobInterval":"2s","swapFee":0.0017,"updateReserveBulk":500}}],"whitelistedTokens":[{"address":"0x0d500b1d8e8ef31e21c99d1db9a6444d3adf1270","name":"Wrapped Matic","symbol":"WMATIC","decimals":18,"cgkId":"wmatic"},{"address":"0xc2132d05d31c914a87c6611c10748aeb04b58e8f","name":"Tether USD","symbol":"USDT","decimals":6,"cgkId":"tether"},{"address":"0x8f3cf7ad23cd3cadbd9735aff958023239c6a063","name":"Dai Stablecoin","symbol":"DAI","decimals":18,"cgkId":"dai"},{"address":"0x2791bca1f2de4661ed88a30c99a7a9449aa84174","name":"USD Coin","symbol":"USDC","decimals":6,"cgkId":"usd-coin"},{"address":"0x7ceb23fd6bc0add59e62ac25578270cff1b9f619","name":"Wrapped Ether","symbol":"WETH","decimals":18,"cgkId":"ethereum"},{"address":"0x1bfd67037b42cf73acf2047067bd4f2c47d9bfd6","name":"Wrapped BTC","symbol":"WBTC","decimals":8,"cgkId":""},{"address":"0xB5C064F955D8e7F38fE0460C556a72987494eE17","name":"Quickswap","symbol":"QUICK","decimals":18,"cgkId":""},{"address":"0x1c954e8fe737f99f68fa1ccda3e51ebdb291948c","name":"Kyber Network Crystal","symbol":"KNC","decimals":18,"cgkId":"kyber-network-crystal"},{"address":"0x3a58a54c066fdc0f2d55fc9c89f0415c92ebf3c4","name":"Staked MATIC (PoS)","symbol":"stMATIC","decimals":18,"cgkId":"lido-staked-matic"},{"address":"0xa3Fa99A148fA48D14Ed51d610c367C61876997F1","name":"miMATIC (miMATIC)","symbol":"MIMATIC","decimals":18,"cgkId":"mimatic"},{"address":"0x8497842420cFdbc97896C2353D75d89Fc8D5Be5D","name":"VersaGames","symbol":"VERSA","decimals":18,"cgkId":"versagames"},{"address":"0x22a31bd4cb694433b6de19e0acc2899e553e9481","name":"MMFinance (MMF)","symbol":"MMF","decimals":18,"cgkId":"mmfinance-polygon"},{"address":"0x53E0bca35eC356BD5ddDFebbD1Fc0fD03FaBad39","name":"ChainLink","symbol":"LINK","decimals":18,"cgkId":"chainlink"}],"blacklistedPools":["0x7cC19f8c258D7F489BC1074437e25A46e397688F"],"epsilon":0.005,"cachePoints":[{"Amount":1,"TTL":30},{"Amount":2,"TTL":10},{"Amount":5,"TTL":10},{"Amount":10,"TTL":10},{"Amount":11,"TTL":30},{"Amount":15,"TTL":10},{"Amount":20,"TTL":10},{"Amount":22,"TTL":30},{"Amount":25,"TTL":10},{"Amount":30,"TTL":10},{"Amount":33,"TTL":30},{"Amount":35,"TTL":10},{"Amount":40,"TTL":10},{"Amount":44,"TTL":30},{"Amount":45,"TTL":10},{"Amount":50,"TTL":10},{"Amount":55,"TTL":30},{"Amount":60,"TTL":10},{"Amount":66,"TTL":30},{"Amount":70,"TTL":10},{"Amount":77,"TTL":30},{"Amount":80,"TTL":10},{"Amount":88,"TTL":30},{"Amount":90,"TTL":10},{"Amount":99,"TTL":30},{"Amount":100,"TTL":10},{"Amount":500,"TTL":10},{"Amount":1000,"TTL":10},{"Amount":10000,"TTL":10},{"Amount":100000,"TTL":10}],"cacheRanges":[{"FromUSD":0,"ToUSD":100,"TTL":10},{"FromUSD":101,"ToUSD":500,"TTL":10},{"FromUSD":500,"ToUSD":1000,"TTL":10},{"FromUSD":1001,"ToUSD":2000,"TTL":10},{"FromUSD":2000,"ToUSD":5000,"TTL":10},{"FromUSD":5000,"ToUSD":10000,"TTL":10},{"FromUSD":10000,"ToUSD":-1,"TTL":10}],"redis":{"host":"aggregator-rc-polygon.primary.redis.production.internal","port":6379,"dbNumber":0,"prefix":"","readTimeout":3,"writeTimeout":3},"readOnlyRedis":{"host":"aggregator-rc-polygon.read.redis.production.internal","port":6379,"dbNumber":0,"prefix":"","readTimeout":0,"writeTimeout":0},"redisSentinel":{"masterName":"aggregator-rc-polygon","sentinelPort":26379,"dbNumber":0,"prefix":"","readTimeout":3,"writeTimeout":3},"gas":null,"ddAgentHost":"10.0.0.105","featureFlags":{"EncoderV5":false},"keyPair":{"StorageFilePath":"/etc/creds/key-pairs.json","KeyIDForSealingData":{"ClientData":"1"}},"tokenCatalog":{"HTTPURL":""},"reloadConfig":{"httpUrl":"http://ks-setting-public-api.ks-setting.svc:8080/api/v1/configurations/fetch","interval":10000000000,"serviceName":"aggregator","chainID":137},"secretKey":"secretKey","metrics":{"Host":"","Port":8125,"Namespace":"kybernetwork."},"grpc":{"Host":"0.0.0.0","Port":10443},"enableGRPC":false,"limitOrder":{"HTTPURL":""},"encoder":{"RouterAddress":"0x6131B5fae19EA4f9D964eAc0408E4408b66337b5","ExecutorAddress":"0x1d5702C6D7eB30E42A8c94B8Db7eA2E8444a37FD","ChainID":137},"useCase":{"PoolFactory":{"ChainID":0},"CacheRoute":{"CachePoints":null,"CacheRanges":null,"KeyPrefix":"","DefaultCacheTTL":0},"GetRoutes":{"ChainID":137,"GasTokenAddress":"0x0d500b1d8e8ef31e21c99d1db9a6444d3adf1270","RouterAddress":"0x6131B5fae19EA4f9D964eAc0408E4408b66337b5","Epsilon":0,"BaseGas":125000,"GetBestPoolsOptions":{"DirectPoolsCount":100,"WhitelistPoolsCount":500,"TokenInPoolsCount":200,"TokenOutPoolCount":200,"AmplifiedTvlDirectPoolsCount":50,"AmplifiedTvlWhitelistPoolsCount":200,"AmplifiedTvlTokenInPoolsCount":100,"AmplifiedTvlTokenOutPoolCount":100},"SPFAFinderOptions":{"MaxHops":3,"MinPartUSD":500},"enabledDexes":["kyberswap","kyberswap-static","kyberswapv2","uniswapv3","sushiswap","quickswap","jetswap","wault","polycat","dfyn","polydex","oneswap","iron-stable","curve","synapse","balancer","gravity","cometh","apeswap","dinoswap","dodo","dystopia","mmf","madmex","metavault","fraxswap"],"BlacklistedPools":null,"FeatureFlags":{"EncoderV5":false}}}}
config: {"env":"production","http":{"BindAddress":":8080","Mode":"release","Prefix":"/polygon"},"common":{"ChainID":137,"DataFolder":"internal/pkg/data/chain/polygon","PublicRPC":"https://polygon.kyberengineering.io/v1/mainnet/geth?appId=prod-dmm-aggregator-backend","RPCs":["https://polygon.kyberengineering.io/v1/mainnet/geth?appId=prod-dmm-aggregator-backend"],"Address":{"Multicall":"0xed386fe855c1eff2f843b910923dd8846e45c5a4","GasToken":"0x0d500b1d8e8ef31e21c99d1db9a6444d3adf1270","ExecutorAddress":"0x7F92d949185cD8ceebeBAD89876Ab3e90D1CE3b5","RouterAddress":"0x617Dee16B86534a5d792A4d7A62FB491B544111E"}},"log":{"EnableConsole":true,"EnableJSONFormat":false,"ConsoleLevel":"","EnableFile":false,"FileJSONFormat":false,"FileLevel":"","FileLocation":"","SentryDSN":"https://1941258f27c3436a9dc79368b14a574a@sentry-v2.knstats.com/49"},"enableDexes":["kyberswap","kyberswap-static","kyberswapv2","uniswapv3","sushiswap","quickswap","jetswap","wault","polycat","dfyn","polydex","oneswap","iron-stable","curve","synapse","balancer","gravity","cometh","apeswap","dinoswap","dodo","dystopia","mmf","madmex","metavault","fraxswap"],"dexes":[{"Id":"fraxswap","Handler":"fraxswap","Json":false,"Properties":{"factoryAddress":"0x54F454D747e037Da288dB568D4121117EAb34e79","newPoolJobIntervalSec":10,"newPoolLimit":10,"reserveJobInterval":"2s","updateReserveBulk":10}},{"Id":"metavault","Handler":"metavault","Json":false,"Properties":{"addressesPath":"metavault/addresses.json","reserveJobInterval":"2s"}},{"Id":"madmex","Handler":"madmex","Json":false,"Properties":{"addressesPath":"madmex/addresses.json","reserveJobInterval":"2s"}},{"Id":"kyberswap","Handler":"dmm","Json":false,"Properties":{"factoryAddress":"0x5f1fe642060b5b9658c15721ea22e982643c095c","newPoolJobIntervalSec":10,"newPoolLimit":1000,"reserveJobInterval":"2s","updateReserveBulk":200}},{"Id":"kyberswap-static","Handler":"dmm","Json":false,"Properties":{"factoryAddress":"0x1c758aF0688502e49140230F6b0EBd376d429be5","newPoolJobIntervalSec":10,"newPoolLimit":1000,"reserveJobInterval":"2s","updateReserveBulk":200}},{"Id":"kyberswapv2","Handler":"promm","Json":false,"Properties":{"concurrentBatches":100,"factoryAddress":"0x5F1dddbf348aC2fbe22a163e30F99F9ECE3DD50a","newPoolJobIntervalSec":10,"newPoolLimit":3000,"reserveJobInterval":"100ms","subgraphAPI":"https://api.thegraph.com/subgraphs/name/kybernetwork/kyberswap-elastic-matic","updateReserveBulk":20}},{"Id":"uniswapv3","Handler":"uniswapv3","Json":false,"Properties":{"concurrentBatches":400,"factoryAddress":"0x1F98431c8aD98523631AE4a59f267346ea31F984","newPoolJobIntervalSec":10,"newPoolLimit":3000,"reserveJobInterval":"100ms","subgraphAPI":"https://api.thegraph.com/subgraphs/name/ianlapham/uniswap-v3-polygon","updateReserveBulk":10}},{"Id":"sushiswap","Handler":"uniswap","Json":false,"Properties":{"factoryAddress":"0xc35dadb65012ec5796536bd9864ed8773abc74c4","newPoolJobIntervalSec":10,"newPoolLimit":1000,"reserveJobInterval":"2s","subgraphAPI":"https://api.thegraph.com/subgraphs/name/sushiswap/matic-exchange","swapFee":0.003,"updateReserveBulk":200}},{"Id":"quickswap","Handler":"uniswap","Json":false,"Properties":{"factoryAddress":"0x5757371414417b8C6CAad45bAeF941aBc7d3Ab32","newPoolJobIntervalSec":10,"newPoolLimit":1000,"reserveJobInterval":"2s","subgraphAPI":"https://api.thegraph.com/subgraphs/name/sameepsi/quickswap06","swapFee":0.003,"updateReserveBulk":200}},{"Id":"jetswap","Handler":"uniswap","Json":false,"Properties":{"factoryAddress":"0x668ad0ed2622c62e24f0d5ab6b6ac1b9d2cd4ac7","newPoolJobIntervalSec":10,"newPoolLimit":1000,"reserveJobInterval":"2s","subgraphAPI":"https://api.thegraph.com/subgraphs/name/smartcookie0501/jetswap-subgraph-polygon","swapFee":0.001,"updateReserveBulk":200}},{"Id":"wault","Handler":"uniswap","Json":false,"Properties":{"factoryAddress":"0xa98ea6356A316b44Bf710D5f9b6b4eA0081409Ef","newPoolJobIntervalSec":10,"newPoolLimit":1000,"reserveJobInterval":"2s","subgraphAPI":"https://api.thegraph.com/subgraphs/name/waultfinance/waultswap-polygon","swapFee":0.002,"updateReserveBulk":200}},{"Id":"polycat","Handler":"uniswap","Json":false,"Properties":{"factoryAddress":"0x477Ce834Ae6b7aB003cCe4BC4d8697763FF456FA","newPoolJobIntervalSec":10,"newPoolLimit":1000,"reserveJobInterval":"2s","subgraphAPI":"https://api.thegraph.com/subgraphs/name/polycatfi/polycat-finance-amm","swapFee":0.0024,"updateReserveBulk":200}},{"Id":"dfyn","Handler":"uniswap","Json":false,"Properties":{"factoryAddress":"0xE7Fb3e833eFE5F9c441105EB65Ef8b261266423B","newPoolJobIntervalSec":10,"newPoolLimit":1000,"reserveJobInterval":"2s","subgraphAPI":"https://api.thegraph.com/subgraphs/name/ss-sonic/dfyn-v4","swapFee":0.003,"updateReserveBulk":200}},{"Id":"polydex","Handler":"polydex","Json":false,"Properties":{"factoryAddress":"0xEAA98F7b5f7BfbcD1aF14D0efAa9d9e68D82f640","newPoolJobIntervalSec":10,"newPoolLimit":1000,"reserveJobInterval":"2s","subgraphAPI":"https://api.thegraph.com/subgraphs/name/polydex-ws/polydex-info-v2","updateReserveBulk":200}},{"Id":"oneswap","Handler":"oneswap","Json":false,"Properties":{"factoryAddress":"0xd2891f9a9fdbffc2db3ec9d4194409a7678cbc51","newPoolJobIntervalSec":10,"newPoolLimit":1000,"reserveJobInterval":"2s","updateReserveBulk":200}},{"Id":"iron-stable","Handler":"iron-stable","Json":false,"Properties":{"newPoolJobIntervalSec":10,"poolPath":"iron/stable.json","reserveJobInterval":"2s","updateReserveBulk":200}},{"Id":"curve","Handler":"curve","Json":false,"Properties":{"newPoolJobIntervalSec":500,"poolPath":"curve/pools.json","reserveJobInterval":"2s"}},{"Id":"balancer","Handler":"balancer","Json":false,"Properties":{"newPoolJobIntervalSec":10,"newPoolLimit":1000,"reserveJobInterval":"2s","subgraphAPI":"https://api.thegraph.com/subgraphs/name/balancer-labs/balancer-polygon-v2","updateReserveBulk":200}},{"Id":"synapse","Handler":"synapse","Json":false,"Properties":{"newPoolJobIntervalSec":500,"poolPath":"synapse/pools.json","reserveJobInterval":"1s","updateReserveBulk":200}},{"Id":"gravity","Handler":"uniswap","Json":false,"Properties":{"factoryAddress":"0x3ed75AfF4094d2Aaa38FaFCa64EF1C152ec1Cf20","newPoolJobIntervalSec":10,"newPoolLimit":1000,"reserveJobInterval":"2s","swapFee":0.0025,"updateReserveBulk":200}},{"Id":"cometh","Handler":"uniswap","Json":false,"Properties":{"factoryAddress":"0x800b052609c355cA8103E06F022aA30647eAd60a","newPoolJobIntervalSec":10,"newPoolLimit":1000,"reserveJobInterval":"2s","swapFee":0.005,"updateReserveBulk":200}},{"Id":"apeswap","Handler":"uniswap","Json":false,"Properties":{"factoryAddress":"0xcf083be4164828f00cae704ec15a36d711491284","newPoolJobIntervalSec":10,"newPoolLimit":1000,"reserveJobInterval":"2s","swapFee":0.002,"updateReserveBulk":200}},{"Id":"dinoswap","Handler":"uniswap","Json":false,"Properties":{"factoryAddress":"0x624ccf581371f8a4493e6abde46412002555a1b6","newPoolJobIntervalSec":10,"newPoolLimit":1000,"reserveJobInterval":"2s","swapFee":0.0018,"updateReserveBulk":200}},{"Id":"dodo","Handler":"dodo","Json":false,"Properties":{"dodoV1SellHelper":"0xdfaf9584f5d229a9dbe5978523317820a8897c5a","newPoolJobIntervalSec":10,"newPoolLimit":3000,"reserveJobInterval":"2s","subgraphAPI":"https://api.thegraph.com/subgraphs/name/dodoex/dodoex-v2-polygon","updateReserveBulk":50}},{"Id":"dystopia","Handler":"dystopia","Json":false,"Properties":{"factoryAddress":"0x1d21Db6cde1b18c7E47B0F7F42f4b3F68b9beeC9","newPoolJobIntervalSec":10,"newPoolLimit":3000,"reserveJobInterval":"2s","swapFee":0.0005,"updateReserveBulk":500}},{"Id":"mmf","Handler":"uniswap","Json":false,"Properties":{"factoryAddress":"0x7cfb780010e9c861e03bcbc7ac12e013137d47a5","newPoolJobIntervalSec":10,"newPoolLimit":3000,"reserveJobInterval":"2s","swapFee":0.0017,"updateReserveBulk":500}}],"whitelistedTokens":[{"address":"0xc3c7d422809852031b44ab29eec9f1eff2a58756","name":"Lido DAO Token (PoS)","symbol":"LDO","decimals":18,"cgkId":"lido-dao"},{"address":"0xd6df932a45c0f255f85145f286ea0b292b21c90b","name":"Aave (PoS)","symbol":"AAVE","decimals":18,"cgkId":"aave"},{"address":"0xe0b52e49357fd4daf2c15e02058dce6bc0057db4","name":"agEUR","symbol":"agEUR","decimals":18,"cgkId":"ageur"},{"address":"0x0d500b1d8e8ef31e21c99d1db9a6444d3adf1270","name":"Wrapped Matic","symbol":"WMATIC","decimals":18,"cgkId":"wmatic"},{"address":"0xc2132d05d31c914a87c6611c10748aeb04b58e8f","name":"Tether USD","symbol":"USDT","decimals":6,"cgkId":"tether"},{"address":"0x8f3cf7ad23cd3cadbd9735aff958023239c6a063","name":"Dai Stablecoin","symbol":"DAI","decimals":18,"cgkId":"dai"},{"address":"0x2791bca1f2de4661ed88a30c99a7a9449aa84174","name":"USD Coin","symbol":"USDC","decimals":6,"cgkId":"usd-coin"},{"address":"0x7ceb23fd6bc0add59e62ac25578270cff1b9f619","name":"Wrapped Ether","symbol":"WETH","decimals":18,"cgkId":"ethereum"},{"address":"0x1bfd67037b42cf73acf2047067bd4f2c47d9bfd6","name":"Wrapped BTC","symbol":"WBTC","decimals":8,"cgkId":"wrapped-bitcoin"},{"address":"0xB5C064F955D8e7F38fE0460C556a72987494eE17","name":"Quickswap","symbol":"QUICK","decimals":18,"cgkId":"quickswap"},{"address":"0x1c954e8fe737f99f68fa1ccda3e51ebdb291948c","name":"Kyber Network Crystal","symbol":"KNC","decimals":18,"cgkId":"kyber-network-crystal"},{"address":"0x3a58a54c066fdc0f2d55fc9c89f0415c92ebf3c4","name":"Staked MATIC (PoS)","symbol":"stMATIC","decimals":18,"cgkId":"lido-staked-matic"},{"address":"0xa3Fa99A148fA48D14Ed51d610c367C61876997F1","name":"miMATIC (miMATIC)","symbol":"MIMATIC","decimals":18,"cgkId":"mimatic"},{"address":"0x8497842420cFdbc97896C2353D75d89Fc8D5Be5D","name":"VersaGames","symbol":"VERSA","decimals":18,"cgkId":"versagames"},{"address":"0x22a31bd4cb694433b6de19e0acc2899e553e9481","name":"MMFinance (MMF)","symbol":"MMF","decimals":18,"cgkId":"mmfinance-polygon"},{"address":"0x53E0bca35eC356BD5ddDFebbD1Fc0fD03FaBad39","name":"ChainLink","symbol":"LINK","decimals":18,"cgkId":"chainlink"}],"blacklistedPools":["0x7cC19f8c258D7F489BC1074437e25A46e397688F","0xa71415675F68f29259ddD63215E5518d2735bf0a","0x7db214f2d46d94846936a0f8bd9044c5c5bd2b93"],"epsilon":0.005,"cachePoints":[{"Amount":1,"TTL":30},{"Amount":2,"TTL":10},{"Amount":5,"TTL":10},{"Amount":10,"TTL":10},{"Amount":11,"TTL":30},{"Amount":15,"TTL":10},{"Amount":20,"TTL":10},{"Amount":22,"TTL":30},{"Amount":25,"TTL":10},{"Amount":30,"TTL":10},{"Amount":33,"TTL":30},{"Amount":35,"TTL":10},{"Amount":40,"TTL":10},{"Amount":44,"TTL":30},{"Amount":45,"TTL":10},{"Amount":50,"TTL":10},{"Amount":55,"TTL":30},{"Amount":60,"TTL":10},{"Amount":66,"TTL":30},{"Amount":70,"TTL":10},{"Amount":77,"TTL":30},{"Amount":80,"TTL":10},{"Amount":88,"TTL":30},{"Amount":90,"TTL":10},{"Amount":99,"TTL":30},{"Amount":100,"TTL":10},{"Amount":500,"TTL":10},{"Amount":1000,"TTL":10},{"Amount":10000,"TTL":10},{"Amount":100000,"TTL":10}],"cacheRanges":[{"FromUSD":0,"ToUSD":100,"TTL":10},{"FromUSD":101,"ToUSD":500,"TTL":10},{"FromUSD":500,"ToUSD":1000,"TTL":10},{"FromUSD":1001,"ToUSD":2000,"TTL":10},{"FromUSD":2000,"ToUSD":5000,"TTL":10},{"FromUSD":5000,"ToUSD":10000,"TTL":10},{"FromUSD":10000,"ToUSD":-1,"TTL":10}],"redis":{"host":"aggregator-rc-polygon.primary.redis.production.internal","port":6379,"dbNumber":0,"prefix":"","readTimeout":3,"writeTimeout":3},"readOnlyRedis":{"host":"aggregator-rc-polygon.read.redis.production.internal","port":6379,"dbNumber":0,"prefix":"","readTimeout":0,"writeTimeout":0},"redisSentinel":{"masterName":"aggregator-rc-polygon","sentinelPort":26379,"dbNumber":0,"prefix":"","readTimeout":3,"writeTimeout":3},"gas":null,"ddAgentHost":"10.0.0.105","featureFlags":{"EncoderV5":true},"keyPair":{"StorageFilePath":"/etc/creds/key-pairs.json","KeyIDForSealingData":{"ClientData":"1"}},"tokenCatalog":{"HTTPURL":""},"reloadConfig":{"httpUrl":"http://ks-setting-public-api.ks-setting.svc:8080/api/v1/configurations/fetch","interval":10000000000,"serviceName":"aggregator","chainID":137},"secretKey":"secretKey","metrics":{"Host":"","Port":8125,"Namespace":"kybernetwork."},"grpc":{"Host":"0.0.0.0","Port":10443},"enableGRPC":false,"limitOrder":{"HTTPURL":""},"encoder":{"RouterAddress":"0x6131B5fae19EA4f9D964eAc0408E4408b66337b5","ExecutorAddress":"0x1d5702C6D7eB30E42A8c94B8Db7eA2E8444a37FD","ChainID":137},"useCase":{"PoolFactory":{"ChainID":0},"CacheRoute":{"CachePoints":null,"CacheRanges":null,"KeyPrefix":"","DefaultCacheTTL":0},"GetRoutes":{"ChainID":137,"GasTokenAddress":"0x0d500b1d8e8ef31e21c99d1db9a6444d3adf1270","RouterAddress":"0x6131B5fae19EA4f9D964eAc0408E4408b66337b5","Epsilon":0,"BaseGas":125000,"GetBestPoolsOptions":{"DirectPoolsCount":100,"WhitelistPoolsCount":500,"TokenInPoolsCount":200,"TokenOutPoolCount":200,"AmplifiedTvlDirectPoolsCount":50,"AmplifiedTvlWhitelistPoolsCount":200,"AmplifiedTvlTokenInPoolsCount":100,"AmplifiedTvlTokenOutPoolCount":100},"SPFAFinderOptions":{"MaxHops":3,"MinPartUSD":500},"enabledDexes":["kyberswap","kyberswap-static","kyberswapv2","uniswapv3","sushiswap","quickswap","jetswap","wault","polycat","dfyn","polydex","oneswap","iron-stable","curve","synapse","balancer","gravity","cometh","apeswap","dinoswap","dodo","dystopia","mmf","madmex","metavault","fraxswap"],"BlacklistedPools":null,"FeatureFlags":{"EncoderV5":false}}}}
[GIN] 2023/02/19 - 05:13:29 | 200 | 74.578µs | 10.1.6.1 | GET "/polygon/api/v1/health/ready"
[GIN] 2023/02/19 - 05:13:29 | 200 | 39.782µs | 10.1.6.1 | GET "/polygon/api/v1/health/live"
[GIN] 2023/02/19 - 05:13:30 | 204 | 57.779µs | 10.1.15.4 | OPTIONS "/polygon/route?tokenIn=0xFbBd93fC3BE8B048c007666AF4846e4A36BACC95&tokenOut=0x0d500b1d8e8ef31e21c99d1db9a6444d3adf1270&amountIn=1000000000000000000&saveGas=0&gasInclude=1&dexes=quickswap"
[GIN] 2023/02/19 - 05:13:30 | 204 | 255.555µs | 10.1.15.4 | OPTIONS "/polygon/route?tokenIn=0xFbBd93fC3BE8B048c007666AF4846e4A36BACC95&tokenOut=0x0d500b1d8e8ef31e21c99d1db9a6444d3adf1270&amountIn=1000000000000000000&saveGas=0&gasInclude=1&dexes=quickswap"
2023-02-19T05:13:30.978Z ERROR service/route.go:226 API ERROR: {Code: 4004, Messaage: Input is invalid: amountIn, ErrorEntities: [amountIn], RootCause: DOMAIN ERROR: {Code: DOMAIN:INVALID, Messaage: Domain error: Input is invalid , ErrorEntities: [amountIn], RootCause: <nil>}}
[GIN] 2023/02/19 - 05:13:30 | 400 | 403.467µs | 10.1.8.4 | GET "/polygon/route/encode?tokenIn=0x04068DA6C83AFCFA0e13ba15A6696662335D5B75&tokenOut=0x2c89bbc92bd86f8075d1decc58c7f4e0107f286b&amountIn=897250057.673&saveGas=0&gasInclude=1&slippageTolerance=50&to=0x86755BC54B7Af0132c2b827195B0C69D3803CB1F&chargeFeeBy=&feeReceiver=&isInBps=&feeAmount=&clientData=%7B%22source%22%3A%22kyberswap%22%7D&deadline=1676784606"
[GIN] 2023/02/19 - 05:13:30 | 400 | 451.785µs | 10.1.8.4 | GET "/polygon/route/encode?tokenIn=0x04068DA6C83AFCFA0e13ba15A6696662335D5B75&tokenOut=0x2c89bbc92bd86f8075d1decc58c7f4e0107f286b&amountIn=897250057.673&saveGas=0&gasInclude=1&slippageTolerance=50&to=0x86755BC54B7Af0132c2b827195B0C69D3803CB1F&chargeFeeBy=&feeReceiver=&isInBps=&feeAmount=&clientData=%7B%22source%22%3A%22kyberswap%22%7D&deadline=1676784606"
2023-02-19T05:13:31.005Z WARN service/route.go:588 could not find cachedRoute. Error: redis: nil, url: aggregator-api.core-cluster.gke.production.internal/polygon/route/encode?tokenIn=0xc5102fE9359FD9a28f877a67E36B0F050d81a3CC&tokenOut=0x2791bca1f2de4661ed88a30c99a7a9449aa84174&amountIn=372974170497867000000&to=0xab625A7ADC08a7ebe64C8a4Dc8d63670c80A8473, tokenIn: 0xc5102fe9359fd9a28f877a67e36b0f050d81a3cc, tokenOut: 0x2791bca1f2de4661ed88a30c99a7a9449aa84174, amountIn: 372974170497867000000, amountInUSDRound: 47
2023-02-19T05:13:31.079Z WARN service/route.go:588 could not find cachedRoute. Error: redis: nil, url: aggregator-api.core-cluster.gke.production.internal/polygon/route/encode?tokenIn=0x7ceB23fD6bC0adD59E62ac25578270cFf1b9f619&tokenOut=0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE&amountIn=45000000000000000&saveGas=0&to=0xd53e33345c67D5b3d0576DFADDF18177A7C5A213&clientData=%7B%22source%22%3A%22kyberswap%22%7D&slippageTolerance=100, tokenIn: 0x7ceb23fd6bc0add59e62ac25578270cff1b9f619, tokenOut: 0x0d500b1d8e8ef31e21c99d1db9a6444d3adf1270, amountIn: 45000000000000000, amountInUSDRound: 76
2023-02-19T05:13:31.099Z WARN service/route.go:588 could not find cachedRoute. Error: redis: nil, url: aggregator-api.core-cluster.gke.production.internal/polygon/route/encode?tokenIn=0x3a549866a592C81719F3b714a356A8879E20F5d0&tokenOut=0x2791bca1f2de4661ed88a30c99a7a9449aa84174&amountIn=247012551950893000000000&to=0xab625A7ADC08a7ebe64C8a4Dc8d63670c80A8473, tokenIn: 0x3a549866a592c81719f3b714a356a8879e20f5d0, tokenOut: 0x2791bca1f2de4661ed88a30c99a7a9449aa84174, amountIn: 247012551950893000000000, amountInUSDRound: 11099
2023-02-19T05:13:31.102Z WARN service/route.go:588 could not find cachedRoute. Error: redis: nil, url: aggregator-api.core-cluster.gke.production.internal/polygon/route/encode?tokenIn=0x1AF3F329e8BE154074D8769D1FFa4eE058B1DBc3&tokenOut=0x2c89bbc92bd86f8075d1decc58c7f4e0107f286b&amountIn=897480904176431400000&saveGas=0&gasInclude=1&slippageTolerance=50&to=0x86755BC54B7Af0132c2b827195B0C69D3803CB1F&chargeFeeBy=&feeReceiver=&isInBps=&feeAmount=&clientData=%7B%22source%22%3A%22kyberswap%22%7D&deadline=1676784605, tokenIn: 0x1af3f329e8be154074d8769d1ffa4ee058b1dbc3, tokenOut: 0x2c89bbc92bd86f8075d1decc58c7f4e0107f286b, amountIn: 897480904176431400000, amountInUSDRound: 0
2023-02-19T05:13:31.168Z WARN service/route.go:588 could not find cachedRoute. Error: redis: nil, url: aggregator-api.core-cluster.gke.production.internal/polygon/route/encode?tokenIn=0x2791bca1f2de4661ed88a30c99a7a9449aa84174&tokenOut=0x20C750C57C3bc5145aF4b7a33d4fB66A8E79FE05&amountIn=400000000&to=0xab625A7ADC08a7ebe64C8a4Dc8d63670c80A8473, tokenIn: 0x2791bca1f2de4661ed88a30c99a7a9449aa84174, tokenOut: 0x20c750c57c3bc5145af4b7a33d4fb66a8e79fe05, amountIn: 400000000, amountInUSDRound: 400
2023-02-19T05:13:31.168Z WARN service/route.go:588 could not find cachedRoute. Error: redis: nil, url: aggregator-api.core-cluster.gke.production.internal/polygon/route/encode?tokenIn=0xd586E7F844cEa2F87f50152665BCbc2C279D8d70&tokenOut=0x2c89bbc92bd86f8075d1decc58c7f4e0107f286b&amountIn=897344127493952800000&saveGas=0&gasInclude=1&slippageTolerance=50&to=0x86755BC54B7Af0132c2b827195B0C69D3803CB1F&chargeFeeBy=&feeReceiver=&isInBps=&feeAmount=&clientData=%7B%22source%22%3A%22kyberswap%22%7D&deadline=1676784607, tokenIn: 0xd586e7f844cea2f87f50152665bcbc2c279d8d70, tokenOut: 0x2c89bbc92bd86f8075d1decc58c7f4e0107f286b, amountIn: 897344127493952800000, amountInUSDRound: 0
2023-02-19T05:13:31.175Z WARN service/route.go:588 could not find cachedRoute. Error: redis: nil, url: aggregator-api.core-cluster.gke.production.internal/polygon/route/encode?amountIn=1000000000000000000&deadline=1676783725&gasInclude=1&saveGas=0&slippageTolerance=50&to=0x0000000000000000000000000000000000000000&tokenIn=0x7ceB23fD6bC0adD59E62ac25578270cFf1b9f619&tokenOut=0x8f3Cf7ad23Cd3CaDbD9735AFf958023239c6A063, tokenIn: 0x7ceb23fd6bc0add59e62ac25578270cff1b9f619, tokenOut: 0x8f3cf7ad23cd3cadbd9735aff958023239c6a063, amountIn: 1000000000000000000, amountInUSDRound: 1695
2023-02-19T05:13:31.179Z WARN service/route.go:588 could not find cachedRoute. Error: redis: nil, url: aggregator-api.core-cluster.gke.production.internal/polygon/route/encode?tokenIn=0x0d500B1d8E8eF31E21C99d1Db9A6444d3ADf1270&tokenOut=0x8c92e38eca8210f4fcbf17f0951b198dd7668292&amountIn=171000000000000000000&saveGas=0&slippageTolerance=200&to=0xd2bB573c3D25E6040Ef86B0847E2c6cF599C97A6&clientData=4dlvzrftf5w, tokenIn: 0x0d500b1d8e8ef31e21c99d1db9a6444d3adf1270, tokenOut: 0x8c92e38eca8210f4fcbf17f0951b198dd7668292, amountIn: 171000000000000000000, amountInUSDRound: 257
2023-02-19T05:13:31.218Z WARN service/route.go:588 could not find cachedRoute. Error: redis: nil, url: aggregator-api.core-cluster.gke.production.internal/polygon/route/encode?tokenIn=0x2791Bca1f2de4661ED88A30C99A7a9449Aa84174&tokenOut=0xee029120c72b0607344f35b17cdd90025e647b00&amountIn=2495000000&saveGas=0&slippageTolerance=200&to=0xB0dafFCFEa3C896DF3077F8717A589FbAf4B8dE2&clientData=yqbrq4paa6i, tokenIn: 0x2791bca1f2de4661ed88a30c99a7a9449aa84174, tokenOut: 0xee029120c72b0607344f35b17cdd90025e647b00, amountIn: 2495000000, amountInUSDRound: 2493
2023-02-19T05:13:31.219Z WARN service/route.go:588 could not find cachedRoute. Error: redis: nil, url: aggregator-api.core-cluster.gke.production.internal/polygon/route/encode?tokenIn=0x8f3Cf7ad23Cd3CaDbD9735AFf958023239c6A063&tokenOut=0x2c89bbc92bd86f8075d1decc58c7f4e0107f286b&amountIn=897268018485516700000&saveGas=0&gasInclude=1&slippageTolerance=50&to=0x86755BC54B7Af0132c2b827195B0C69D3803CB1F&chargeFeeBy=&feeReceiver=&isInBps=&feeAmount=&clientData=%7B%22source%22%3A%22kyberswap%22%7D&deadline=1676784608, tokenIn: 0x8f3cf7ad23cd3cadbd9735aff958023239c6a063, tokenOut: 0x2c89bbc92bd86f8075d1decc58c7f4e0107f286b, amountIn: 897268018485516700000, amountInUSDRound: 897
2023-02-19T05:13:31.221Z WARN service/route.go:588 could not find cachedRoute. Error: redis: nil, url: aggregator-api.core-cluster.gke.production.internal/polygon/route/encode?tokenIn=0x0d500B1d8E8eF31E21C99d1Db9A6444d3ADf1270&tokenOut=0xb5c064f955d8e7f38fe0460c556a72987494ee17&amountIn=4861000000000000000000&saveGas=0&slippageTolerance=200&to=0xd2bB573c3D25E6040Ef86B0847E2c6cF599C97A6&clientData=sxnrkuuzry, tokenIn: 0x0d500b1d8e8ef31e21c99d1db9a6444d3adf1270, tokenOut: 0xb5c064f955d8e7f38fe0460c556a72987494ee17, amountIn: 4861000000000000000000, amountInUSDRound: 7292
2023-02-19T05:13:31.243Z WARN service/route.go:588 could not find cachedRoute. Error: redis: nil, url: aggregator-api.core-cluster.gke.production.internal/polygon/route/encode?tokenIn=0x2791Bca1f2de4661ED88A30C99A7a9449Aa84174&tokenOut=0x28424507fefb6f7f8e9d3860f56504e4e5f5f390&amountIn=5241000000&saveGas=0&slippageTolerance=200&to=0xB0dafFCFEa3C896DF3077F8717A589FbAf4B8dE2&clientData=g860v090lcu, tokenIn: 0x2791bca1f2de4661ed88a30c99a7a9449aa84174, tokenOut: 0x28424507fefb6f7f8e9d3860f56504e4e5f5f390, amountIn: 5241000000, amountInUSDRound: 5236
2023-02-19T05:13:31.284Z WARN service/route.go:588 could not find cachedRoute. Error: redis: nil, url: aggregator-api.core-cluster.gke.production.internal/polygon/route/encode?tokenIn=0x2791Bca1f2de4661ED88A30C99A7a9449Aa84174&tokenOut=0xc2132d05d31c914a87c6611c10748aeb04b58e8f&amountIn=191000000&saveGas=0&slippageTolerance=200&to=0x76272B0381e505E111ee302eaf9529B9c1Ab72bF&clientData=w5fitccohoc, tokenIn: 0x2791bca1f2de4661ed88a30c99a7a9449aa84174, tokenOut: 0xc2132d05d31c914a87c6611c10748aeb04b58e8f, amountIn: 191000000, amountInUSDRound: 191
2023-02-19T05:13:31.318Z WARN service/route.go:588 could not find cachedRoute. Error: redis: nil, url: aggregator-api.core-cluster.gke.production.internal/polygon/route/encode?amountIn=100000000000000000000000&deadline=1676783725&gasInclude=1&saveGas=0&slippageTolerance=50&to=0x0000000000000000000000000000000000000000&tokenIn=0xABd4294f3692477C0220B5e05088455fD9d72270&tokenOut=0xc2132D05D31c914a87C6611C10748AEb04B58e8F, tokenIn: 0xabd4294f3692477c0220b5e05088455fd9d72270, tokenOut: 0xc2132d05d31c914a87c6611c10748aeb04b58e8f, amountIn: 100000000000000000000000, amountInUSDRound: 126
2023-02-19T05:13:31.324Z WARN service/route.go:588 could not find cachedRoute. Error: redis: nil, url: aggregator-api.core-cluster.gke.production.internal/polygon/route/encode?tokenIn=0x2c89bbc92bd86f8075d1decc58c7f4e0107f286b&tokenOut=0x1AF3F329e8BE154074D8769D1FFa4eE058B1DBc3&amountIn=500000000000000000000&saveGas=0&gasInclude=1&slippageTolerance=50&to=0x86755BC54B7Af0132c2b827195B0C69D3803CB1F&chargeFeeBy=&feeReceiver=&isInBps=&feeAmount=&clientData=%7B%22source%22%3A%22kyberswap%22%7D&deadline=1676784608, tokenIn: 0x2c89bbc92bd86f8075d1decc58c7f4e0107f286b, tokenOut: 0x1af3f329e8be154074d8769d1ffa4ee058b1dbc3, amountIn: 500000000000000000000, amountInUSDRound: 9800
2023-02-19T05:13:31.331Z WARN service/route.go:588 could not find cachedRoute. Error: redis: nil, url: aggregator-api.core-cluster.gke.production.internal/polygon/route/encode?tokenIn=0x0d500B1d8E8eF31E21C99d1Db9A6444d3ADf1270&tokenOut=0xb33eaad8d922b1083446dc23f610c2567fb5180f&amountIn=4550000000000000000000&saveGas=0&slippageTolerance=200&to=0xd2bB573c3D25E6040Ef86B0847E2c6cF599C97A6&clientData=4aiewcmuugp, tokenIn: 0x0d500b1d8e8ef31e21c99d1db9a6444d3adf1270, tokenOut: 0xb33eaad8d922b1083446dc23f610c2567fb5180f, amountIn: 4550000000000000000000, amountInUSDRound: 6825
2023-02-19T05:13:31.402Z WARN service/route.go:588 could not find cachedRoute. Error: redis: nil, url: aggregator-api.core-cluster.gke.production.internal/polygon/route/encode?tokenIn=0xc2132D05D31c914a87C6611C10748AEb04B58e8F&tokenOut=0x8f3cf7ad23cd3cadbd9735aff958023239c6a063&amountIn=182000000&saveGas=0&slippageTolerance=200&to=0x76272B0381e505E111ee302eaf9529B9c1Ab72bF&clientData=edxrpejunq, tokenIn: 0xc2132d05d31c914a87c6611c10748aeb04b58e8f, tokenOut: 0x8f3cf7ad23cd3cadbd9735aff958023239c6a063, amountIn: 182000000, amountInUSDRound: 182
2023-02-19T05:13:31.425Z WARN service/route.go:588 could not find cachedRoute. Error: redis: nil, url: aggregator-api.core-cluster.gke.production.internal/polygon/route/encode?tokenIn=0x2791Bca1f2de4661ED88A30C99A7a9449Aa84174&tokenOut=0xa3Fa99A148fA48D14Ed51d610c367C61876997F1&amountIn=10000000000&saveGas=0&to=0xf4e1d185666a624099298fcc42c50ba662dc7e52&dexes=uniswapv3,kyberswap-static,balancer,kyberswapv2, tokenIn: 0x2791bca1f2de4661ed88a30c99a7a9449aa84174, tokenOut: 0xa3fa99a148fa48d14ed51d610c367c61876997f1, amountIn: 10000000000, amountInUSDRound: 9991
2023-02-19T05:13:31.430Z WARN service/route.go:588 could not find cachedRoute. Error: redis: nil, url: aggregator-api.core-cluster.gke.production.internal/polygon/route/encode?tokenIn=0xc2132D05D31c914a87C6611C10748AEb04B58e8F&tokenOut=0x8f3cf7ad23cd3cadbd9735aff958023239c6a063&amountIn=14000000&saveGas=0&slippageTolerance=200&to=0x76272B0381e505E111ee302eaf9529B9c1Ab72bF&clientData=871tni38zvn, tokenIn: 0xc2132d05d31c914a87c6611c10748aeb04b58e8f, tokenOut: 0x8f3cf7ad23cd3cadbd9735aff958023239c6a063, amountIn: 14000000, amountInUSDRound: 14
2023-02-19T05:13:31.432Z WARN service/route.go:588 could not find cachedRoute. Error: redis: nil, url: aggregator-api.core-cluster.gke.production.internal/polygon/route/encode?tokenIn=0x2791Bca1f2de4661ED88A30C99A7a9449Aa84174&tokenOut=0x45c32fa6df82ead1e2ef74d17b76547eddfaff89&amountIn=2455000000&saveGas=0&slippageTolerance=200&to=0xB0dafFCFEa3C896DF3077F8717A589FbAf4B8dE2&clientData=v288bbz182, tokenIn: 0x2791bca1f2de4661ed88a30c99a7a9449aa84174, tokenOut: 0x45c32fa6df82ead1e2ef74d17b76547eddfaff89, amountIn: 2455000000, amountInUSDRound: 2453
2023-02-19T05:13:31.721Z WARN service/route.go:588 could not find cachedRoute. Error: redis: nil, url: aggregator-api.core-cluster.gke.production.internal/polygon/route/encode?tokenIn=0xfe712251173A2cd5F5bE2B46Bb528328EA3565E1&tokenOut=0x2791bca1f2de4661ed88a30c99a7a9449aa84174&amountIn=6655734600201490000&to=0xab625A7ADC08a7ebe64C8a4Dc8d63670c80A8473, tokenIn: 0xfe712251173a2cd5f5be2b46bb528328ea3565e1, tokenOut: 0x2791bca1f2de4661ed88a30c99a7a9449aa84174, amountIn: 6655734600201490000, amountInUSDRound: 200
2023-02-19T05:13:31.729Z WARN service/route.go:588 could not find cachedRoute. Error: redis: nil, url: aggregator-api.core-cluster.gke.production.internal/polygon/route/encode?tokenIn=0x2791Bca1f2de4661ED88A30C99A7a9449Aa84174&tokenOut=0xc2a45fe7d40bcac8369371b08419ddafd3131b4a&amountIn=5617000000&saveGas=0&slippageTolerance=200&to=0xB0dafFCFEa3C896DF3077F8717A589FbAf4B8dE2&clientData=vhyb5su15ua, tokenIn: 0x2791bca1f2de4661ed88a30c99a7a9449aa84174, tokenOut: 0xc2a45fe7d40bcac8369371b08419ddafd3131b4a, amountIn: 5617000000, amountInUSDRound: 5612
2023-02-19T05:13:31.737Z WARN service/route.go:588 could not find cachedRoute. Error: redis: nil, url: aggregator-api.core-cluster.gke.production.internal/polygon/route/encode?tokenIn=0x8f3Cf7ad23Cd3CaDbD9735AFf958023239c6A063&tokenOut=0x2791bca1f2de4661ed88a30c99a7a9449aa84174&amountIn=35000000000000000000&saveGas=0&slippageTolerance=200&to=0x76272B0381e505E111ee302eaf9529B9c1Ab72bF&clientData=g1qtcu3ajbg, tokenIn: 0x8f3cf7ad23cd3cadbd9735aff958023239c6a063, tokenOut: 0x2791bca1f2de4661ed88a30c99a7a9449aa84174, amountIn: 35000000000000000000, amountInUSDRound: 35
2023-02-19T05:13:31.738Z WARN service/route.go:588 could not find cachedRoute. Error: redis: nil, url: aggregator-api.core-cluster.gke.production.internal/polygon/route/encode?tokenIn=0x40CCD55B789fdEE8D434915dC2Aa6Bd938506A92&tokenOut=0x2791bca1f2de4661ed88a30c99a7a9449aa84174&amountIn=35124884602389300000000&to=0xab625A7ADC08a7ebe64C8a4Dc8d63670c80A8473, tokenIn: 0x40ccd55b789fdee8d434915dc2aa6bd938506a92, tokenOut: 0x2791bca1f2de4661ed88a30c99a7a9449aa84174, amountIn: 35124884602389300000000, amountInUSDRound: 48
2023-02-19T05:13:31.896Z WARN service/route.go:588 could not find cachedRoute. Error: redis: nil, url: aggregator-api.core-cluster.gke.production.internal/polygon/route/encode?tokenIn=0x3809dcdd5dde24b37abe64a5a339784c3323c44f&tokenOut=0x2791bca1f2de4661ed88a30c99a7a9449aa84174&amountIn=2316526391851110000000&to=0xab625A7ADC08a7ebe64C8a4Dc8d63670c80A8473, tokenIn: 0x3809dcdd5dde24b37abe64a5a339784c3323c44f, tokenOut: 0x2791bca1f2de4661ed88a30c99a7a9449aa84174, amountIn: 2316526391851110000000, amountInUSDRound: 502
[GIN] 2023/02/19 - 05:13:31 | 204 | 74.054µs | 10.1.13.4 | OPTIONS "/polygon/route/encode?tokenIn=0x7C58D971A5dAbd46BC85e81fDAE87b511431452E&tokenOut=0xc2132D05D31c914a87C6611C10748AEb04B58e8F&amountIn=100000000000000000000&saveGas=0&gasInclude=1&slippageTolerance=80&deadline=1676784806&to=0x2B7463C26b50808ecc07000B8C561080DF03053b&chargeFeeBy=currency_out&feeAmount=30&feeReceiver=0x96c195F6643A3D797cb90cb6BA0Ae2776D51b5F3&isInBps=true&clientData={%22source%22:%22dextools%22}"
[GIN] 2023/02/19 - 05:13:31 | 204 | 3.187333ms | 10.1.13.4 | OPTIONS "/polygon/route/encode?tokenIn=0x7C58D971A5dAbd46BC85e81fDAE87b511431452E&tokenOut=0xc2132D05D31c914a87C6611C10748AEb04B58e8F&amountIn=100000000000000000000&saveGas=0&gasInclude=1&slippageTolerance=80&deadline=1676784806&to=0x2B7463C26b50808ecc07000B8C561080DF03053b&chargeFeeBy=currency_out&feeAmount=30&feeReceiver=0x96c195F6643A3D797cb90cb6BA0Ae2776D51b5F3&isInBps=true&clientData={%22source%22:%22dextools%22}"
2023-02-19T05:13:32.233Z WARN service/route.go:588 could not find cachedRoute. Error: redis: nil, url: aggregator-api.core-cluster.gke.production.internal/polygon/route/encode?tokenIn=0xc2132D05D31c914a87C6611C10748AEb04B58e8F&tokenOut=0x2791bca1f2de4661ed88a30c99a7a9449aa84174&amountIn=195000000&saveGas=0&slippageTolerance=200&to=0x76272B0381e505E111ee302eaf9529B9c1Ab72bF&clientData=30nw7fwmexz, tokenIn: 0xc2132d05d31c914a87c6611c10748aeb04b58e8f, tokenOut: 0x2791bca1f2de4661ed88a30c99a7a9449aa84174, amountIn: 195000000, amountInUSDRound: 195
2023-02-19T05:13:32.239Z WARN service/route.go:588 could not find cachedRoute. Error: redis: nil, url: aggregator-api.core-cluster.gke.production.internal/polygon/route/encode?tokenIn=0x2c89bbc92bd86f8075d1decc58c7f4e0107f286b&tokenOut=0x2791Bca1f2de4661ED88A30C99A7a9449Aa84174&amountIn=500000000000000000000&saveGas=0&gasInclude=1&slippageTolerance=50&to=0x86755BC54B7Af0132c2b827195B0C69D3803CB1F&chargeFeeBy=&feeReceiver=&isInBps=&feeAmount=&clientData=%7B%22source%22%3A%22kyberswap%22%7D&deadline=1676784609, tokenIn: 0x2c89bbc92bd86f8075d1decc58c7f4e0107f286b, tokenOut: 0x2791bca1f2de4661ed88a30c99a7a9449aa84174, amountIn: 500000000000000000000, amountInUSDRound: 9800
2023-02-19T05:13:32.350Z WARN service/route.go:588 could not find cachedRoute. Error: redis: nil, url: aggregator-api.core-cluster.gke.production.internal/polygon/route/encode?tokenIn=0x2791bca1f2de4661ed88a30c99a7a9449aa84174&tokenOut=0x40CCD55B789fdEE8D434915dC2Aa6Bd938506A92&amountIn=50000000&to=0xab625A7ADC08a7ebe64C8a4Dc8d63670c80A8473, tokenIn: 0x2791bca1f2de4661ed88a30c99a7a9449aa84174, tokenOut: 0x40ccd55b789fdee8d434915dc2aa6bd938506a92, amountIn: 50000000, amountInUSDRound: 50
2023-02-19T05:13:32.818Z WARN service/route.go:588 could not find cachedRoute. Error: redis: nil, url: aggregator-api.core-cluster.gke.production.internal/polygon/route/encode?tokenIn=0x2791Bca1f2de4661ED88A30C99A7a9449Aa84174&tokenOut=0xc2a45fe7d40bcac8369371b08419ddafd3131b4a&amountIn=5369000000&saveGas=0&slippageTolerance=200&to=0xB0dafFCFEa3C896DF3077F8717A589FbAf4B8dE2&clientData=zbv37n3816e, tokenIn: 0x2791bca1f2de4661ed88a30c99a7a9449aa84174, tokenOut: 0xc2a45fe7d40bcac8369371b08419ddafd3131b4a, amountIn: 5369000000, amountInUSDRound: 5364
2023-02-19T05:13:32.819Z ERROR service/route.go:226 API ERROR: {Code: 4004, Messaage: Input is invalid: amountIn, ErrorEntities: [amountIn], RootCause: DOMAIN ERROR: {Code: DOMAIN:INVALID, Messaage: Domain error: Input is invalid , ErrorEntities: [amountIn], RootCause: <nil>}}
[GIN] 2023/02/19 - 05:13:32 | 400 | 255.72µs | 10.1.8.4 | GET "/polygon/route/encode?tokenIn=0x2791Bca1f2de4661ED88A30C99A7a9449Aa84174&tokenOut=0x2c89bbc92bd86f8075d1decc58c7f4e0107f286b&amountIn=897344127.494&saveGas=0&gasInclude=1&slippageTolerance=50&to=0x86755BC54B7Af0132c2b827195B0C69D3803CB1F&chargeFeeBy=&feeReceiver=&isInBps=&feeAmount=&clientData=%7B%22source%22%3A%22kyberswap%22%7D&deadline=1676784609"
[GIN] 2023/02/19 - 05:13:32 | 400 | 300.347µs | 10.1.8.4 | GET "/polygon/route/encode?tokenIn=0x2791Bca1f2de4661ED88A30C99A7a9449Aa84174&tokenOut=0x2c89bbc92bd86f8075d1decc58c7f4e0107f286b&amountIn=897344127.494&saveGas=0&gasInclude=1&slippageTolerance=50&to=0x86755BC54B7Af0132c2b827195B0C69D3803CB1F&chargeFeeBy=&feeReceiver=&isInBps=&feeAmount=&clientData=%7B%22source%22%3A%22kyberswap%22%7D&deadline=1676784609"
2023-02-19T05:13:32.819Z WARN service/route.go:588 could not find cachedRoute. Error: redis: nil, url: aggregator-api.core-cluster.gke.production.internal/polygon/route/encode?tokenIn=0x0d500B1d8E8eF31E21C99d1Db9A6444d3ADf1270&tokenOut=0x4e78011ce80ee02d2c3e649fb657e45898257815&amountIn=1089000000000000000000&saveGas=0&slippageTolerance=200&to=0xd2bB573c3D25E6040Ef86B0847E2c6cF599C97A6&clientData=sxkounkpqr, tokenIn: 0x0d500b1d8e8ef31e21c99d1db9a6444d3adf1270, tokenOut: 0x4e78011ce80ee02d2c3e649fb657e45898257815, amountIn: 1089000000000000000000, amountInUSDRound: 1634
2023-02-19T05:13:32.838Z WARN service/route.go:588 could not find cachedRoute. Error: redis: nil, url: aggregator-api.core-cluster.gke.production.internal/polygon/route/encode?tokenIn=0x0D6ae2a429df13e44A07Cd2969E085e4833f64A0&tokenOut=0x2791bca1f2de4661ed88a30c99a7a9449aa84174&amountIn=2981163651686250000000&to=0xab625A7ADC08a7ebe64C8a4Dc8d63670c80A8473, tokenIn: 0x0d6ae2a429df13e44a07cd2969e085e4833f64a0, tokenOut: 0x2791bca1f2de4661ed88a30c99a7a9449aa84174, amountIn: 2981163651686250000000, amountInUSDRound: 365
2023-02-19T05:13:32.875Z ERROR service/route.go:226 API ERROR: {Code: 4004, Messaage: Input is invalid: amountIn, ErrorEntities: [amountIn], RootCause: DOMAIN ERROR: {Code: DOMAIN:INVALID, Messaage: Domain error: Input is invalid , ErrorEntities: [amountIn], RootCause: <nil>}}
[GIN] 2023/02/19 - 05:13:32 | 400 | 518.461µs | 10.1.13.4 | GET "/polygon/route/encode?tokenIn=0xc21223249CA28397B4B6541dfFaEcC539BfF0c59&tokenOut=0x2c89bbc92bd86f8075d1decc58c7f4e0107f286b&amountIn=897344127.494&saveGas=0&gasInclude=1&slippageTolerance=50&to=0x86755BC54B7Af0132c2b827195B0C69D3803CB1F&chargeFeeBy=&feeReceiver=&isInBps=&feeAmount=&clientData=%7B%22source%22%3A%22kyberswap%22%7D&deadline=1676784609"
[GIN] 2023/02/19 - 05:13:32 | 400 | 717.789µs | 10.1.13.4 | GET "/polygon/route/encode?tokenIn=0xc21223249CA28397B4B6541dfFaEcC539BfF0c59&tokenOut=0x2c89bbc92bd86f8075d1decc58c7f4e0107f286b&amountIn=897344127.494&saveGas=0&gasInclude=1&slippageTolerance=50&to=0x86755BC54B7Af0132c2b827195B0C69D3803CB1F&chargeFeeBy=&feeReceiver=&isInBps=&feeAmount=&clientData=%7B%22source%22%3A%22kyberswap%22%7D&deadline=1676784609"
2023-02-19T05:13:32.921Z WARN service/route.go:588 could not find cachedRoute. Error: redis: nil, url: aggregator-api.core-cluster.gke.production.internal/polygon/route/encode?tokenIn=0xB97EF9Ef8734C71904D8002F8b6Bc66Dd9c48a6E&tokenOut=0x2c89bbc92bd86f8075d1decc58c7f4e0107f286b&amountIn=9820000000&saveGas=0&gasInclude=1&slippageTolerance=50&to=0x86755BC54B7Af0132c2b827195B0C69D3803CB1F&chargeFeeBy=&feeReceiver=&isInBps=&feeAmount=&clientData=%7B%22source%22%3A%22kyberswap%22%7D&deadline=1676784591, tokenIn: 0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e, tokenOut: 0x2c89bbc92bd86f8075d1decc58c7f4e0107f286b, amountIn: 9820000000, amountInUSDRound: 0
2023-02-19T05:13:32.921Z ERROR service/route.go:226 API ERROR: {Code: 4004, Messaage: Input is invalid: amountIn, ErrorEntities: [amountIn], RootCause: DOMAIN ERROR: {Code: DOMAIN:INVALID, Messaage: Domain error: Input is invalid , ErrorEntities: [amountIn], RootCause: <nil>}}
[GIN] 2023/02/19 - 05:13:32 | 400 | 252.846µs | 10.1.13.4 | GET "/polygon/route/encode?tokenIn=0xc7198437980c041c805A1EDcbA50c1Ce5db95118&tokenOut=0x2c89bbc92bd86f8075d1decc58c7f4e0107f286b&amountIn=897344127.494&saveGas=0&gasInclude=1&slippageTolerance=50&to=0x86755BC54B7Af0132c2b827195B0C69D3803CB1F&chargeFeeBy=&feeReceiver=&isInBps=&feeAmount=&clientData=%7B%22source%22%3A%22kyberswap%22%7D&deadline=1676784609"
[GIN] 2023/02/19 - 05:13:32 | 400 | 318.847µs | 10.1.13.4 | GET "/polygon/route/encode?tokenIn=0xc7198437980c041c805A1EDcbA50c1Ce5db95118&tokenOut=0x2c89bbc92bd86f8075d1decc58c7f4e0107f286b&amountIn=897344127.494&saveGas=0&gasInclude=1&slippageTolerance=50&to=0x86755BC54B7Af0132c2b827195B0C69D3803CB1F&chargeFeeBy=&feeReceiver=&isInBps=&feeAmount=&clientData=%7B%22source%22%3A%22kyberswap%22%7D&deadline=1676784609"
[GIN] 2023/02/19 - 05:13:33 | 204 | 54.907µs | 10.1.15.4 | OPTIONS "/polygon/route/encode?tokenIn=0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE&tokenOut=0x09E2A42ccFbBd08A8553bb8D0c8314386048cb80&amountIn=100000000000000000000&saveGas=0&gasInclude=0&slippageTolerance=80&deadline=1676784811&to=0x0000000000000000000000000000000000000000&chargeFeeBy=currency_in&feeAmount=30&feeReceiver=0x96c195F6643A3D797cb90cb6BA0Ae2776D51b5F3&isInBps=true&clientData={%22source%22:%22dextools%22}"
[GIN] 2023/02/19 - 05:13:33 | 204 | 419.987µs | 10.1.15.4 | OPTIONS "/polygon/route/encode?tokenIn=0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE&tokenOut=0x09E2A42ccFbBd08A8553bb8D0c8314386048cb80&amountIn=100000000000000000000&saveGas=0&gasInclude=0&slippageTolerance=80&deadline=1676784811&to=0x0000000000000000000000000000000000000000&chargeFeeBy=currency_in&feeAmount=30&feeReceiver=0x96c195F6643A3D797cb90cb6BA0Ae2776D51b5F3&isInBps=true&clientData={%22source%22:%22dextools%22}"
2023-02-19T05:13:33.051Z WARN service/route.go:588 could not find cachedRoute. Error: redis: nil, url: aggregator-api.core-cluster.gke.production.internal/polygon/route/encode?tokenIn=0x0d500B1d8E8eF31E21C99d1Db9A6444d3ADf1270&tokenOut=0x767058f11800fba6a682e73a6e79ec5eb74fac8c&amountIn=3241000000000000000000&saveGas=0&slippageTolerance=200&to=0xd2bB573c3D25E6040Ef86B0847E2c6cF599C97A6&clientData=qw5j7ly55f, tokenIn: 0x0d500b1d8e8ef31e21c99d1db9a6444d3adf1270, tokenOut: 0x767058f11800fba6a682e73a6e79ec5eb74fac8c, amountIn: 3241000000000000000000, amountInUSDRound: 4862
2023-02-19T05:13:33.051Z WARN service/route.go:588 could not find cachedRoute. Error: redis: nil, url: aggregator-api.core-cluster.gke.production.internal/polygon/route/encode?tokenIn=0x8f3Cf7ad23Cd3CaDbD9735AFf958023239c6A063&tokenOut=0xc2132d05d31c914a87c6611c10748aeb04b58e8f&amountIn=39000000000000000000&saveGas=0&slippageTolerance=200&to=0x76272B0381e505E111ee302eaf9529B9c1Ab72bF&clientData=81esewj6ud2, tokenIn: 0x8f3cf7ad23cd3cadbd9735aff958023239c6a063, tokenOut: 0xc2132d05d31c914a87c6611c10748aeb04b58e8f, amountIn: 39000000000000000000, amountInUSDRound: 39
2023-02-19T05:13:33.139Z WARN service/route.go:588 could not find cachedRoute. Error: redis: nil, url: aggregator-api.core-cluster.gke.production.internal/polygon/route/encode?tokenIn=0x38029C62DfA30D9FD3CaDf4C64e9b2ab21DbDa17&tokenOut=0x2791bca1f2de4661ed88a30c99a7a9449aa84174&amountIn=2196091856274400000000&to=0xab625A7ADC08a7ebe64C8a4Dc8d63670c80A8473, tokenIn: 0x38029c62dfa30d9fd3cadf4c64e9b2ab21dbda17, tokenOut: 0x2791bca1f2de4661ed88a30c99a7a9449aa84174, amountIn: 2196091856274400000000, amountInUSDRound: 849
2023-02-19T05:13:33.165Z WARN service/route.go:588 could not find cachedRoute. Error: redis: nil, url: aggregator-api.core-cluster.gke.production.internal/polygon/route/encode?tokenIn=0x2791Bca1f2de4661ED88A30C99A7a9449Aa84174&tokenOut=0x8f3cf7ad23cd3cadbd9735aff958023239c6a063&amountIn=606000000&saveGas=0&slippageTolerance=200&to=0x76272B0381e505E111ee302eaf9529B9c1Ab72bF&clientData=p7xnkai5eik, tokenIn: 0x2791bca1f2de4661ed88a30c99a7a9449aa84174, tokenOut: 0x8f3cf7ad23cd3cadbd9735aff958023239c6a063, amountIn: 606000000, amountInUSDRound: 605
2023-02-19T05:13:33.139Z WARN service/route.go:588 could not find cachedRoute. Error: context canceled, url: aggregator-api.core-cluster.gke.production.internal/polygon/route/encode?tokenIn=0x2c89bbc92bd86f8075d1decc58c7f4e0107f286b&tokenOut=0xB97EF9Ef8734C71904D8002F8b6Bc66Dd9c48a6E&amountIn=500000000000000000000&saveGas=0&gasInclude=1&slippageTolerance=50&to=0x86755BC54B7Af0132c2b827195B0C69D3803CB1F&chargeFeeBy=&feeReceiver=&isInBps=&feeAmount=&clientData=%7B%22source%22%3A%22kyberswap%22%7D&deadline=1676784609, tokenIn: 0x2c89bbc92bd86f8075d1decc58c7f4e0107f286b, tokenOut: 0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e, amountIn: 500000000000000000000, amountInUSDRound: 9800
2023-02-19T05:13:33.165Z WARN service/route.go:588 could not find cachedRoute. Error: redis: nil, url: aggregator-api.core-cluster.gke.production.internal/polygon/route/encode?tokenIn=0x2c89bbc92bd86f8075d1decc58c7f4e0107f286b&tokenOut=0xc21223249CA28397B4B6541dfFaEcC539BfF0c59&amountIn=500000000000000000000&saveGas=0&gasInclude=1&slippageTolerance=50&to=0x86755BC54B7Af0132c2b827195B0C69D3803CB1F&chargeFeeBy=&feeReceiver=&isInBps=&feeAmount=&clientData=%7B%22source%22%3A%22kyberswap%22%7D&deadline=1676784587, tokenIn: 0x2c89bbc92bd86f8075d1decc58c7f4e0107f286b, tokenOut: 0xc21223249ca28397b4b6541dffaecc539bff0c59, amountIn: 500000000000000000000, amountInUSDRound: 9800
2023-02-19T05:13:33.219Z WARN service/route.go:588 could not find cachedRoute. Error: redis: nil, url: aggregator-api.core-cluster.gke.production.internal/polygon/route/encode?tokenIn=0x2c89bbc92bd86f8075d1decc58c7f4e0107f286b&tokenOut=0xF2001B145b43032AAF5Ee2884e456CCd805F677D&amountIn=500000000000000000000&saveGas=0&gasInclude=1&slippageTolerance=50&to=0x86755BC54B7Af0132c2b827195B0C69D3803CB1F&chargeFeeBy=&feeReceiver=&isInBps=&feeAmount=&clientData=%7B%22source%22%3A%22kyberswap%22%7D&deadline=1676784608, tokenIn: 0x2c89bbc92bd86f8075d1decc58c7f4e0107f286b, tokenOut: 0xf2001b145b43032aaf5ee2884e456ccd805f677d, amountIn: 500000000000000000000, amountInUSDRound: 9800
2023-02-19T05:13:33.250Z WARN service/route.go:588 could not find cachedRoute. Error: redis: nil, url: aggregator-api.core-cluster.gke.production.internal/polygon/route/encode?tokenIn=0x2791Bca1f2de4661ED88A30C99A7a9449Aa84174&tokenOut=0x4e3decbb3645551b8a19f0ea1678079fcb33fb4c&amountIn=5183000000&saveGas=0&slippageTolerance=200&to=0xB0dafFCFEa3C896DF3077F8717A589FbAf4B8dE2&clientData=s2l0pphh28k, tokenIn: 0x2791bca1f2de4661ed88a30c99a7a9449aa84174, tokenOut: 0x4e3decbb3645551b8a19f0ea1678079fcb33fb4c, amountIn: 5183000000, amountInUSDRound: 5178
2023-02-19T05:13:33.251Z WARN service/route.go:588 could not find cachedRoute. Error: redis: nil, url: aggregator-api.core-cluster.gke.production.internal/polygon/route/encode?tokenIn=0x2791bca1f2de4661ed88a30c99a7a9449aa84174&tokenOut=0xf4C83080E80AE530d6f8180572cBbf1Ac9D5d435&amountIn=1000000000&to=0xab625A7ADC08a7ebe64C8a4Dc8d63670c80A8473, tokenIn: 0x2791bca1f2de4661ed88a30c99a7a9449aa84174, tokenOut: 0xf4c83080e80ae530d6f8180572cbbf1ac9d5d435, amountIn: 1000000000, amountInUSDRound: 999
2023-02-19T05:13:33.357Z WARN service/route.go:588 could not find cachedRoute. Error: redis: nil, url: aggregator-api.core-cluster.gke.production.internal/polygon/route/encode?tokenIn=0x2791Bca1f2de4661ED88A30C99A7a9449Aa84174&tokenOut=0xd0258a3fD00f38aa8090dfee343f10A9D4d30D3F&amountIn=5714000000&saveGas=0&slippageTolerance=200&to=0xB0dafFCFEa3C896DF3077F8717A589FbAf4B8dE2&clientData=mixeg5gmuw, tokenIn: 0x2791bca1f2de4661ed88a30c99a7a9449aa84174, tokenOut: 0xd0258a3fd00f38aa8090dfee343f10a9d4d30d3f, amountIn: 5714000000, amountInUSDRound: 5709
2023-02-19T05:13:33.359Z WARN service/route.go:588 could not find cachedRoute. Error: redis: nil, url: aggregator-api.core-cluster.gke.production.internal/polygon/route/encode?tokenIn=0x0d500B1d8E8eF31E21C99d1Db9A6444d3ADf1270&tokenOut=0xdc3326e71d45186f113a2f448984ca0e8d201995&amountIn=2135000000000000000000&saveGas=0&slippageTolerance=200&to=0xd2bB573c3D25E6040Ef86B0847E2c6cF599C97A6&clientData=wfntwzoe7yc, tokenIn: 0x0d500b1d8e8ef31e21c99d1db9a6444d3adf1270, tokenOut: 0xdc3326e71d45186f113a2f448984ca0e8d201995, amountIn: 2135000000000000000000, amountInUSDRound: 3203
2023-02-19T05:13:33.424Z WARN service/route.go:588 could not find cachedRoute. Error: redis: nil, url: aggregator-api.core-cluster.gke.production.internal/polygon/route/encode?tokenIn=0x2791Bca1f2de4661ED88A30C99A7a9449Aa84174&tokenOut=0x580a84c73811e1839f75d86d75d88cca0c241ff4&amountIn=1644000000&saveGas=0&slippageTolerance=200&to=0xB0dafFCFEa3C896DF3077F8717A589FbAf4B8dE2&clientData=yy19iflxok, tokenIn: 0x2791bca1f2de4661ed88a30c99a7a9449aa84174, tokenOut: 0x580a84c73811e1839f75d86d75d88cca0c241ff4, amountIn: 1644000000, amountInUSDRound: 1643
2023-02-19T05:13:33.547Z ERROR service/route.go:226 API ERROR: {Code: 4004, Messaage: Input is invalid: amountIn, ErrorEntities: [amountIn], RootCause: DOMAIN ERROR: {Code: DOMAIN:INVALID, Messaage: Domain error: Input is invalid , ErrorEntities: [amountIn], RootCause: <nil>}}
[GIN] 2023/02/19 - 05:13:33 | 400 | 524.741µs | 10.1.15.4 | GET "/polygon/route/encode?tokenIn=0xc21223249CA28397B4B6541dfFaEcC539BfF0c59&tokenOut=0x2c89bbc92bd86f8075d1decc58c7f4e0107f286b&amountIn=897250057.673&saveGas=0&gasInclude=1&slippageTolerance=50&to=0x86755BC54B7Af0132c2b827195B0C69D3803CB1F&chargeFeeBy=&feeReceiver=&isInBps=&feeAmount=&clientData=%7B%22source%22%3A%22kyberswap%22%7D&deadline=1676784594"
[GIN] 2023/02/19 - 05:13:33 | 400 | 630.899µs | 10.1.15.4 | GET "/polygon/route/encode?tokenIn=0xc21223249CA28397B4B6541dfFaEcC539BfF0c59&tokenOut=0x2c89bbc92bd86f8075d1decc58c7f4e0107f286b&amountIn=897250057.673&saveGas=0&gasInclude=1&slippageTolerance=50&to=0x86755BC54B7Af0132c2b827195B0C69D3803CB1F&chargeFeeBy=&feeReceiver=&isInBps=&feeAmount=&clientData=%7B%22source%22%3A%22kyberswap%22%7D&deadline=1676784594"
2023-02-19T05:13:33.647Z WARN service/route.go:588 could not find cachedRoute. Error: redis: nil, url: aggregator-api.core-cluster.gke.production.internal/polygon/route/encode?tokenIn=0x8f3Cf7ad23Cd3CaDbD9735AFf958023239c6A063&tokenOut=0xB0B195aEFA3650A6908f15CdaC7D92F8a5791B0B&amountIn=45000000000000000000&saveGas=0&slippageTolerance=200&to=0x76272B0381e505E111ee302eaf9529B9c1Ab72bF&clientData=lm7ma01be8g, tokenIn: 0x8f3cf7ad23cd3cadbd9735aff958023239c6a063, tokenOut: 0xb0b195aefa3650a6908f15cdac7d92f8a5791b0b, amountIn: 45000000000000000000, amountInUSDRound: 45
2023-02-19T05:13:33.654Z WARN service/route.go:588 could not find cachedRoute. Error: redis: nil, url: aggregator-api.core-cluster.gke.production.internal/polygon/route/encode?tokenIn=0x2791Bca1f2de4661ED88A30C99A7a9449Aa84174&tokenOut=0xdfce1e99a31c4597a3f8a8945cbfa9037655e335&amountIn=3126000000&saveGas=0&slippageTolerance=200&to=0xB0dafFCFEa3C896DF3077F8717A589FbAf4B8dE2&clientData=vdckd9m2po, tokenIn: 0x2791bca1f2de4661ed88a30c99a7a9449aa84174, tokenOut: 0xdfce1e99a31c4597a3f8a8945cbfa9037655e335, amountIn: 3126000000, amountInUSDRound: 3123
2023-02-19T05:13:33.658Z WARN service/route.go:588 could not find cachedRoute. Error: redis: nil, url: aggregator-api.core-cluster.gke.production.internal/polygon/route/encode?tokenIn=0x2791Bca1f2de4661ED88A30C99A7a9449Aa84174&tokenOut=0xB0B195aEFA3650A6908f15CdaC7D92F8a5791B0B&amountIn=144000000&saveGas=0&slippageTolerance=200&to=0x76272B0381e505E111ee302eaf9529B9c1Ab72bF&clientData=8ss96lc5ong, tokenIn: 0x2791bca1f2de4661ed88a30c99a7a9449aa84174, tokenOut: 0xb0b195aefa3650a6908f15cdac7d92f8a5791b0b, amountIn: 144000000, amountInUSDRound: 144
2023-02-19T05:13:33.658Z WARN service/route.go:588 could not find cachedRoute. Error: redis: nil, url: aggregator-api.core-cluster.gke.production.internal/polygon/route/encode?tokenIn=0x1AF3F329e8BE154074D8769D1FFa4eE058B1DBc3&tokenOut=0x2c89bbc92bd86f8075d1decc58c7f4e0107f286b&amountIn=897268018485516700000&saveGas=0&gasInclude=1&slippageTolerance=50&to=0x86755BC54B7Af0132c2b827195B0C69D3803CB1F&chargeFeeBy=&feeReceiver=&isInBps=&feeAmount=&clientData=%7B%22source%22%3A%22kyberswap%22%7D&deadline=1676784598, tokenIn: 0x1af3f329e8be154074d8769d1ffa4ee058b1dbc3, tokenOut: 0x2c89bbc92bd86f8075d1decc58c7f4e0107f286b, amountIn: 897268018485516700000, amountInUSDRound: 0
2023-02-19T05:13:33.940Z ERROR service/route.go:226 API ERROR: {Code: 4004, Messaage: Input is invalid: amountIn, ErrorEntities: [amountIn], RootCause: DOMAIN ERROR: {Code: DOMAIN:INVALID, Messaage: Domain error: Input is invalid , ErrorEntities: [amountIn], RootCause: <nil>}}
[GIN] 2023/02/19 - 05:13:33 | 400 | 258.805µs | 10.1.15.4 | GET "/polygon/route/encode?tokenIn=0x04068DA6C83AFCFA0e13ba15A6696662335D5B75&tokenOut=0x2c89bbc92bd86f8075d1decc58c7f4e0107f286b&amountIn=897480904.176&saveGas=0&gasInclude=1&slippageTolerance=50&to=0x86755BC54B7Af0132c2b827195B0C69D3803CB1F&chargeFeeBy=&feeReceiver=&isInBps=&feeAmount=&clientData=%7B%22source%22%3A%22kyberswap%22%7D&deadline=1676784612"
[GIN] 2023/02/19 - 05:13:33 | 400 | 315.142µs | 10.1.15.4 | GET "/polygon/route/encode?tokenIn=0x04068DA6C83AFCFA0e13ba15A6696662335D5B75&tokenOut=0x2c89bbc92bd86f8075d1decc58c7f4e0107f286b&amountIn=897480904.176&saveGas=0&gasInclude=1&slippageTolerance=50&to=0x86755BC54B7Af0132c2b827195B0C69D3803CB1F&chargeFeeBy=&feeReceiver=&isInBps=&feeAmount=&clientData=%7B%22source%22%3A%22kyberswap%22%7D&deadline=1676784612"
2023-02-19T05:13:33.947Z WARN service/route.go:588 could not find cachedRoute. Error: redis: nil, url: aggregator-api.core-cluster.gke.production.internal/polygon/route/encode?tokenIn=0x2791Bca1f2de4661ED88A30C99A7a9449Aa84174&tokenOut=0x236eec6359fb44cce8f97e99387aa7f8cd5cde1f&amountIn=647000000&saveGas=0&slippageTolerance=200&to=0xB0dafFCFEa3C896DF3077F8717A589FbAf4B8dE2&clientData=lirv1uvq74g, tokenIn: 0x2791bca1f2de4661ed88a30c99a7a9449aa84174, tokenOut: 0x236eec6359fb44cce8f97e99387aa7f8cd5cde1f, amountIn: 647000000, amountInUSDRound: 646
2023-02-19T05:13:33.949Z WARN service/route.go:588 could not find cachedRoute. Error: redis: nil, url: aggregator-api.core-cluster.gke.production.internal/polygon/route/encode?tokenIn=0x7075cAB6bCCA06613e2d071bd918D1a0241379E2&tokenOut=0x2791bca1f2de4661ed88a30c99a7a9449aa84174&amountIn=60125298462452200&to=0xab625A7ADC08a7ebe64C8a4Dc8d63670c80A8473, tokenIn: 0x7075cab6bcca06613e2d071bd918d1a0241379e2, tokenOut: 0x2791bca1f2de4661ed88a30c99a7a9449aa84174, amountIn: 60125298462452200, amountInUSDRound: 617
2023-02-19T05:13:33.964Z WARN service/route.go:588 could not find cachedRoute. Error: redis: nil, url: aggregator-api.core-cluster.gke.production.internal/polygon/route/encode?tokenIn=0x0d500B1d8E8eF31E21C99d1Db9A6444d3ADf1270&tokenOut=0x53e0bca35ec356bd5dddfebbd1fc0fd03fabad39&amountIn=392000000000000000000&saveGas=0&slippageTolerance=200&to=0xd2bB573c3D25E6040Ef86B0847E2c6cF599C97A6&clientData=oaimiudz94, tokenIn: 0x0d500b1d8e8ef31e21c99d1db9a6444d3adf1270, tokenOut: 0x53e0bca35ec356bd5dddfebbd1fc0fd03fabad39, amountIn: 392000000000000000000, amountInUSDRound: 588
[GIN] 2023/02/19 - 05:13:34 | 204 | 66.154µs | 10.1.13.4 | OPTIONS "/polygon/route/encode?tokenIn=0xf9D3d8B25b95BCDA979025B74fDFa7ac3F380f9f&tokenOut=0x2791Bca1f2de4661ED88A30C99A7a9449Aa84174&amountIn=100000000000000000000&saveGas=0&gasInclude=1&slippageTolerance=80&deadline=1676784812&to=0x04BBE1625DE1C4c7F4e0A6F52524d006e72712f4&chargeFeeBy=currency_out&feeAmount=30&feeReceiver=0x96c195F6643A3D797cb90cb6BA0Ae2776D51b5F3&isInBps=true&clientData={%22source%22:%22dextools%22}"
[GIN] 2023/02/19 - 05:13:34 | 204 | 1.771123ms | 10.1.13.4 | OPTIONS "/polygon/route/encode?tokenIn=0xf9D3d8B25b95BCDA979025B74fDFa7ac3F380f9f&tokenOut=0x2791Bca1f2de4661ED88A30C99A7a9449Aa84174&amountIn=100000000000000000000&saveGas=0&gasInclude=1&slippageTolerance=80&deadline=1676784812&to=0x04BBE1625DE1C4c7F4e0A6F52524d006e72712f4&chargeFeeBy=currency_out&feeAmount=30&feeReceiver=0x96c195F6643A3D797cb90cb6BA0Ae2776D51b5F3&isInBps=true&clientData={%22source%22:%22dextools%22}"
2023-02-19T05:13:34.149Z WARN service/route.go:588 could not find cachedRoute. Error: redis: nil, url: aggregator-api.core-cluster.gke.production.internal/polygon/route/encode?tokenIn=0x0d500B1d8E8eF31E21C99d1Db9A6444d3ADf1270&tokenOut=0x172370d5cd63279efa6d502dab29171933a610af&amountIn=5045000000000000000000&saveGas=0&slippageTolerance=200&to=0xd2bB573c3D25E6040Ef86B0847E2c6cF599C97A6&clientData=oc3doth211k, tokenIn: 0x0d500b1d8e8ef31e21c99d1db9a6444d3adf1270, tokenOut: 0x172370d5cd63279efa6d502dab29171933a610af, amountIn: 5045000000000000000000, amountInUSDRound: 7568
2023-02-19T05:13:34.151Z ERROR service/route.go:226 API ERROR: {Code: 4004, Messaage: Input is invalid: amountIn, ErrorEntities: [amountIn], RootCause: DOMAIN ERROR: {Code: DOMAIN:INVALID, Messaage: Domain error: Input is invalid , ErrorEntities: [amountIn], RootCause: <nil>}}
[GIN] 2023/02/19 - 05:13:34 | 400 | 338.831µs | 10.1.13.4 | GET "/polygon/route/encode?tokenIn=null&tokenOut=0x2c89bbc92bd86f8075d1decc58c7f4e0107f286b&amountIn=897.344&saveGas=0&gasInclude=1&slippageTolerance=50&to=0x86755BC54B7Af0132c2b827195B0C69D3803CB1F&chargeFeeBy=&feeReceiver=&isInBps=&feeAmount=&clientData=%7B%22source%22%3A%22kyberswap%22%7D&deadline=1676784609"
[GIN] 2023/02/19 - 05:13:34 | 400 | 406.483µs | 10.1.13.4 | GET "/polygon/route/encode?tokenIn=null&tokenOut=0x2c89bbc92bd86f8075d1decc58c7f4e0107f286b&amountIn=897.344&saveGas=0&gasInclude=1&slippageTolerance=50&to=0x86755BC54B7Af0132c2b827195B0C69D3803CB1F&chargeFeeBy=&feeReceiver=&isInBps=&feeAmount=&clientData=%7B%22source%22%3A%22kyberswap%22%7D&deadline=1676784609"
2023-02-19T05:13:34.228Z WARN service/route.go:588 could not find cachedRoute. Error: redis: nil, url: aggregator-api.core-cluster.gke.production.internal/polygon/route/encode?tokenIn=0x8f3Cf7ad23Cd3CaDbD9735AFf958023239c6A063&tokenOut=0x2c89bbc92bd86f8075d1decc58c7f4e0107f286b&amountIn=897344127493952800000&saveGas=0&gasInclude=1&slippageTolerance=50&to=0x86755BC54B7Af0132c2b827195B0C69D3803CB1F&chargeFeeBy=&feeReceiver=&isInBps=&feeAmount=&clientData=%7B%22source%22%3A%22kyberswap%22%7D&deadline=1676784609, tokenIn: 0x8f3cf7ad23cd3cadbd9735aff958023239c6a063, tokenOut: 0x2c89bbc92bd86f8075d1decc58c7f4e0107f286b, amountIn: 897344127493952800000, amountInUSDRound: 897
GetOutputAmount Running time: 516(ms)
2023-02-19T05:13:34.317Z WARN service/route.go:588 could not find cachedRoute. Error: redis: nil, url: aggregator-api.core-cluster.gke.production.internal/polygon/route/encode?tokenIn=0x1BFD67037B42Cf73acF2047067bd4F2C47D9BfD6&tokenOut=0x7ceB23fD6bC0adD59E62ac25578270cFf1b9f619&amountIn=400000&saveGas=0&to=0xd53e33345c67D5b3d0576DFADDF18177A7C5A213&clientData=%7B%22source%22%3A%22kyberswap%22%7D&slippageTolerance=100, tokenIn: 0x1bfd67037b42cf73acf2047067bd4f2c47d9bfd6, tokenOut: 0x7ceb23fd6bc0add59e62ac25578270cff1b9f619, amountIn: 400000, amountInUSDRound: 99
2023-02-19T05:13:34.352Z WARN service/route.go:588 could not find cachedRoute. Error: context canceled, url: aggregator-api.core-cluster.gke.production.internal/polygon/route/encode?tokenIn=0x2c89bbc92bd86f8075d1decc58c7f4e0107f286b&tokenOut=0xF2001B145b43032AAF5Ee2884e456CCd805F677D&amountIn=500000000000000000000&saveGas=0&gasInclude=1&slippageTolerance=50&to=0x86755BC54B7Af0132c2b827195B0C69D3803CB1F&chargeFeeBy=&feeReceiver=&isInBps=&feeAmount=&clientData=%7B%22source%22%3A%22kyberswap%22%7D&deadline=1676784610, tokenIn: 0x2c89bbc92bd86f8075d1decc58c7f4e0107f286b, tokenOut: 0xf2001b145b43032aaf5ee2884e456ccd805f677d, amountIn: 500000000000000000000, amountInUSDRound: 9800
2023-02-19T05:13:34.364Z WARN service/route.go:588 could not find cachedRoute. Error: redis: nil, url: aggregator-api.core-cluster.gke.production.internal/polygon/route/encode?tokenIn=0x2791Bca1f2de4661ED88A30C99A7a9449Aa84174&tokenOut=0x1bfd67037b42cf73acf2047067bd4f2c47d9bfd6&amountIn=88000000&saveGas=0&slippageTolerance=200&to=0xB0dafFCFEa3C896DF3077F8717A589FbAf4B8dE2&clientData=axfwdxvv6nb, tokenIn: 0x2791bca1f2de4661ed88a30c99a7a9449aa84174, tokenOut: 0x1bfd67037b42cf73acf2047067bd4f2c47d9bfd6, amountIn: 88000000, amountInUSDRound: 88
2023-02-19T05:13:34.366Z WARN service/route.go:588 could not find cachedRoute. Error: redis: nil, url: aggregator-api.core-cluster.gke.production.internal/polygon/route/encode?tokenIn=0xB0B195aEFA3650A6908f15CdaC7D92F8a5791B0B&tokenOut=0xc2132d05d31c914a87c6611c10748aeb04b58e8f&amountIn=2111000000000000000000&saveGas=0&slippageTolerance=200&to=0x76272B0381e505E111ee302eaf9529B9c1Ab72bF&clientData=7waox9x54dh, tokenIn: 0xb0b195aefa3650a6908f15cdac7d92f8a5791b0b, tokenOut: 0xc2132d05d31c914a87c6611c10748aeb04b58e8f, amountIn: 2111000000000000000000, amountInUSDRound: 2110
2023-02-19T05:13:34.429Z WARN service/route.go:588 could not find cachedRoute. Error: redis: nil, url: aggregator-api.core-cluster.gke.production.internal/polygon/route/encode?amountIn=1000000000000000000&deadline=1676783725&gasInclude=1&saveGas=0&slippageTolerance=50&to=0x0000000000000000000000000000000000000000&tokenIn=0x7ceB23fD6bC0adD59E62ac25578270cFf1b9f619&tokenOut=0x2e1AD108fF1D8C782fcBbB89AAd783aC49586756, tokenIn: 0x7ceb23fd6bc0add59e62ac25578270cff1b9f619, tokenOut: 0x2e1ad108ff1d8c782fcbbb89aad783ac49586756, amountIn: 1000000000000000000, amountInUSDRound: 1695
2023-02-19T05:13:34.539Z WARN service/route.go:588 could not find cachedRoute. Error: redis: nil, url: aggregator-api.core-cluster.gke.production.internal/polygon/route/encode?tokenIn=0x2791Bca1f2de4661ED88A30C99A7a9449Aa84174&tokenOut=0x28424507fefb6f7f8e9d3860f56504e4e5f5f390&amountIn=5654000000&saveGas=0&slippageTolerance=200&to=0xB0dafFCFEa3C896DF3077F8717A589FbAf4B8dE2&clientData=asu12757a5, tokenIn: 0x2791bca1f2de4661ed88a30c99a7a9449aa84174, tokenOut: 0x28424507fefb6f7f8e9d3860f56504e4e5f5f390, amountIn: 5654000000, amountInUSDRound: 5649
2023-02-19T05:13:34.440Z ERROR service/route.go:226 API ERROR: {Code: 4004, Messaage: Input is invalid: amountIn, ErrorEntities: [amountIn], RootCause: DOMAIN ERROR: {Code: DOMAIN:INVALID, Messaage: Domain error: Input is invalid , ErrorEntities: [amountIn], RootCause: <nil>}}
[GIN] 2023/02/19 - 05:13:34 | 400 | 186.489755ms | 10.1.15.4 | GET "/polygon/route/encode?tokenIn=0x66e428c3f67a68878562e79A0234c1F83c208770&tokenOut=0x2c89bbc92bd86f8075d1decc58c7f4e0107f286b&amountIn=897480904.176&saveGas=0&gasInclude=1&slippageTolerance=50&to=0x86755BC54B7Af0132c2b827195B0C69D3803CB1F&chargeFeeBy=&feeReceiver=&isInBps=&feeAmount=&clientData=%7B%22source%22%3A%22kyberswap%22%7D&deadline=1676784611"
[GIN] 2023/02/19 - 05:13:34 | 400 | 186.593141ms | 10.1.15.4 | GET "/polygon/route/encode?tokenIn=0x66e428c3f67a68878562e79A0234c1F83c208770&tokenOut=0x2c89bbc92bd86f8075d1decc58c7f4e0107f286b&amountIn=897480904.176&saveGas=0&gasInclude=1&slippageTolerance=50&to=0x86755BC54B7Af0132c2b827195B0C69D3803CB1F&chargeFeeBy=&feeReceiver=&isInBps=&feeAmount=&clientData=%7B%22source%22%3A%22kyberswap%22%7D&deadline=1676784611"
2023-02-19T05:13:34.648Z WARN service/route.go:588 could not find cachedRoute. Error: redis: nil, url: aggregator-api.core-cluster.gke.production.internal/polygon/route/encode?tokenIn=0x2791bca1f2de4661ed88a30c99a7a9449aa84174&tokenOut=0x0D6ae2a429df13e44A07Cd2969E085e4833f64A0&amountIn=400000000&to=0xab625A7ADC08a7ebe64C8a4Dc8d63670c80A8473, tokenIn: 0x2791bca1f2de4661ed88a30c99a7a9449aa84174, tokenOut: 0x0d6ae2a429df13e44a07cd2969e085e4833f64a0, amountIn: 400000000, amountInUSDRound: 400
2023-02-19T05:13:34.653Z WARN service/route.go:588 could not find cachedRoute. Error: redis: nil, url: aggregator-api.core-cluster.gke.production.internal/polygon/route/encode?tokenIn=0x2791Bca1f2de4661ED88A30C99A7a9449Aa84174&tokenOut=0xdfce1e99a31c4597a3f8a8945cbfa9037655e335&amountIn=2554000000&saveGas=0&slippageTolerance=200&to=0xB0dafFCFEa3C896DF3077F8717A589FbAf4B8dE2&clientData=uzmcge3myrm, tokenIn: 0x2791bca1f2de4661ed88a30c99a7a9449aa84174, tokenOut: 0xdfce1e99a31c4597a3f8a8945cbfa9037655e335, amountIn: 2554000000, amountInUSDRound: 2552
2023-02-19T05:13:34.653Z WARN service/route.go:588 could not find cachedRoute. Error: redis: nil, url: aggregator-api.core-cluster.gke.production.internal/polygon/route/encode?tokenIn=0x2791bca1f2de4661ed88a30c99a7a9449aa84174&tokenOut=0xb41c43faBD22A6C6ea135e975769e9051f9ee8ad&amountIn=400000000&to=0xab625A7ADC08a7ebe64C8a4Dc8d63670c80A8473, tokenIn: 0x2791bca1f2de4661ed88a30c99a7a9449aa84174, tokenOut: 0xb41c43fabd22a6c6ea135e975769e9051f9ee8ad, amountIn: 400000000, amountInUSDRound: 400
2023-02-19T05:13:34.653Z WARN service/route.go:588 could not find cachedRoute. Error: redis: nil, url: aggregator-api.core-cluster.gke.production.internal/polygon/route/encode?amountIn=1000000000000000000&deadline=1676783725&gasInclude=1&saveGas=0&slippageTolerance=50&to=0x0000000000000000000000000000000000000000&tokenIn=0x7ceB23fD6bC0adD59E62ac25578270cFf1b9f619&tokenOut=0x2791Bca1f2de4661ED88A30C99A7a9449Aa84174, tokenIn: 0x7ceb23fd6bc0add59e62ac25578270cff1b9f619, tokenOut: 0x2791bca1f2de4661ed88a30c99a7a9449aa84174, amountIn: 1000000000000000000, amountInUSDRound: 1695
2023-02-19T05:13:34.527Z WARN service/route.go:588 could not find cachedRoute. Error: redis: nil, url: aggregator-api.core-cluster.gke.production.internal/polygon/route/encode?tokenIn=0x7ceB23fD6bC0adD59E62ac25578270cFf1b9f619&tokenOut=0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE&amountIn=45000000000000000&saveGas=0&to=0xd53e33345c67D5b3d0576DFADDF18177A7C5A213&clientData=%7B%22source%22%3A%22kyberswap%22%7D&slippageTolerance=100, tokenIn: 0x7ceb23fd6bc0add59e62ac25578270cff1b9f619, tokenOut: 0x0d500b1d8e8ef31e21c99d1db9a6444d3adf1270, amountIn: 45000000000000000, amountInUSDRound: 76
2023-02-19T05:13:34.442Z WARN service/route.go:588 could not find cachedRoute. Error: redis: nil, url: aggregator-api.core-cluster.gke.production.internal/polygon/route/encode?tokenIn=0x0d500B1d8E8eF31E21C99d1Db9A6444d3ADf1270&tokenOut=0x172370d5cd63279efa6d502dab29171933a610af&amountIn=984000000000000000000&saveGas=0&slippageTolerance=200&to=0xd2bB573c3D25E6040Ef86B0847E2c6cF599C97A6&clientData=0h1i83ew86if, tokenIn: 0x0d500b1d8e8ef31e21c99d1db9a6444d3adf1270, tokenOut: 0x172370d5cd63279efa6d502dab29171933a610af, amountIn: 984000000000000000000, amountInUSDRound: 1476
2023-02-19T05:13:34.667Z WARN service/route.go:588 could not find cachedRoute. Error: redis: nil, url: aggregator-api.core-cluster.gke.production.internal/polygon/route/encode?amountIn=11000000&deadline=1676783725&gasInclude=1&saveGas=0&slippageTolerance=50&to=0x0000000000000000000000000000000000000000&tokenIn=0x2791Bca1f2de4661ED88A30C99A7a9449Aa84174&tokenOut=0x7ceB23fD6bC0adD59E62ac25578270cFf1b9f619, tokenIn: 0x2791bca1f2de4661ed88a30c99a7a9449aa84174, tokenOut: 0x7ceb23fd6bc0add59e62ac25578270cff1b9f619, amountIn: 11000000, amountInUSDRound: 11
2023-02-19T05:13:34.723Z WARN service/route.go:588 could not find cachedRoute. Error: redis: nil, url: aggregator-api.core-cluster.gke.production.internal/polygon/route/encode?tokenIn=0x2791Bca1f2de4661ED88A30C99A7a9449Aa84174&tokenOut=0x8f3cf7ad23cd3cadbd9735aff958023239c6a063&amountIn=2103000000&saveGas=0&slippageTolerance=200&to=0xB0dafFCFEa3C896DF3077F8717A589FbAf4B8dE2&clientData=8pbrmhuoy84, tokenIn: 0x2791bca1f2de4661ed88a30c99a7a9449aa84174, tokenOut: 0x8f3cf7ad23cd3cadbd9735aff958023239c6a063, amountIn: 2103000000, amountInUSDRound: 2101
2023-02-19T05:13:34.731Z WARN service/route.go:588 could not find cachedRoute. Error: redis: nil, url: aggregator-api.core-cluster.gke.production.internal/polygon/route/encode?tokenIn=0x2791Bca1f2de4661ED88A30C99A7a9449Aa84174&tokenOut=0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE&amountIn=80000000&saveGas=0&to=0xd53e33345c67D5b3d0576DFADDF18177A7C5A213&clientData=%7B%22source%22%3A%22kyberswap%22%7D&slippageTolerance=100, tokenIn: 0x2791bca1f2de4661ed88a30c99a7a9449aa84174, tokenOut: 0x0d500b1d8e8ef31e21c99d1db9a6444d3adf1270, amountIn: 80000000, amountInUSDRound: 80
2023-02-19T05:13:34.731Z WARN service/route.go:588 could not find cachedRoute. Error: redis: nil, url: aggregator-api.core-cluster.gke.production.internal/polygon/route/encode?tokenIn=0x7ceB23fD6bC0adD59E62ac25578270cFf1b9f619&tokenOut=0x831753DD7087CaC61aB5644b308642cc1c33Dc13&amountIn=45000000000000000&saveGas=0&to=0xd53e33345c67D5b3d0576DFADDF18177A7C5A213&clientData=%7B%22source%22%3A%22kyberswap%22%7D&slippageTolerance=100, tokenIn: 0x7ceb23fd6bc0add59e62ac25578270cff1b9f619, tokenOut: 0x831753dd7087cac61ab5644b308642cc1c33dc13, amountIn: 45000000000000000, amountInUSDRound: 76
2023-02-19T05:13:34.734Z WARN service/route.go:588 could not find cachedRoute. Error: redis: nil, url: aggregator-api.core-cluster.gke.production.internal/polygon/route/encode?tokenIn=0xD6DF932A45C0f255f85145f286eA0b292B21C90B&tokenOut=0x2791Bca1f2de4661ED88A30C99A7a9449Aa84174&amountIn=1774000000000000000&saveGas=0&to=0xd53e33345c67D5b3d0576DFADDF18177A7C5A213&clientData=%7B%22source%22%3A%22kyberswap%22%7D&slippageTolerance=100, tokenIn: 0xd6df932a45c0f255f85145f286ea0b292b21c90b, tokenOut: 0x2791bca1f2de4661ed88a30c99a7a9449aa84174, amountIn: 1774000000000000000, amountInUSDRound: 161
2023-02-19T05:13:34.817Z WARN service/route.go:588 could not find cachedRoute. Error: redis: nil, url: aggregator-api.core-cluster.gke.production.internal/polygon/route/encode?tokenIn=0x2791Bca1f2de4661ED88A30C99A7a9449Aa84174&tokenOut=0x1b815d120b3ef02039ee11dc2d33de7aa4a8c603&amountIn=3863000000&saveGas=0&slippageTolerance=200&to=0xB0dafFCFEa3C896DF3077F8717A589FbAf4B8dE2&clientData=1tzdi8he7vg, tokenIn: 0x2791bca1f2de4661ed88a30c99a7a9449aa84174, tokenOut: 0x1b815d120b3ef02039ee11dc2d33de7aa4a8c603, amountIn: 3863000000, amountInUSDRound: 3859
2023-02-19T05:13:34.838Z WARN service/route.go:588 could not find cachedRoute. Error: redis: nil, url: aggregator-api.core-cluster.gke.production.internal/polygon/route/encode?tokenIn=0xB0B195aEFA3650A6908f15CdaC7D92F8a5791B0B&tokenOut=0x2791bca1f2de4661ed88a30c99a7a9449aa84174&amountIn=2443000000000000000000&saveGas=0&slippageTolerance=200&to=0x76272B0381e505E111ee302eaf9529B9c1Ab72bF&clientData=i12i9cw02vr, tokenIn: 0xb0b195aefa3650a6908f15cdac7d92f8a5791b0b, tokenOut: 0x2791bca1f2de4661ed88a30c99a7a9449aa84174, amountIn: 2443000000000000000000, amountInUSDRound: 2441
GetOutputAmount Running time: 85(ms)
2023/02/19 05:13:34 [Recovery] 2023/02/19 - 05:13:34 panic recovered:
runtime error: invalid memory address or nil pointer dereference
/build/vendor/github.com/getsentry/sentry-go/gin/sentrygin.go:72 (0xd87432)
/usr/local/go/src/runtime/panic.go:965 (0x437bd8)
/usr/local/go/src/runtime/panic.go:212 (0x435c9a)
/usr/local/go/src/runtime/signal_unix.go:734 (0x44ef52)
/build/internal/pkg/service/route.go:554 (0xeb13ad)
/build/internal/pkg/service/route.go:256 (0xec62de)
/build/vendor/github.com/gin-gonic/gin/context.go:165 (0xec57da)
/build/internal/pkg/service/route.go:207 (0xec57b9)
/build/vendor/github.com/gin-gonic/gin/context.go:165 (0xd8b403)
/build/vendor/gopkg.in/DataDog/dd-trace-go.v1/contrib/gin-gonic/gin/gintrace.go:57 (0xd8b3ea)
/build/vendor/github.com/gin-gonic/gin/context.go:165 (0x9b11d3)
/build/vendor/github.com/gin-gonic/gin/logger.go:241 (0x9b1192)
/build/vendor/github.com/gin-gonic/gin/context.go:165 (0xd871f0)
/build/vendor/github.com/getsentry/sentry-go/gin/sentrygin.go:57 (0xd871d8)
/build/vendor/github.com/gin-gonic/gin/context.go:165 (0x9b20f9)
/build/vendor/github.com/gin-gonic/gin/recovery.go:99 (0x9b20e0)
/build/vendor/github.com/gin-gonic/gin/context.go:165 (0x9b11d3)
/build/vendor/github.com/gin-gonic/gin/logger.go:241 (0x9b1192)
/build/vendor/github.com/gin-gonic/gin/context.go:165 (0x9a7689)
/build/vendor/github.com/gin-gonic/gin/gin.go:489 (0x9a766f)
/build/vendor/github.com/gin-gonic/gin/gin.go:445 (0x9a715b)
/usr/local/go/src/net/http/server.go:2868 (0x6ba942)
/usr/local/go/src/net/http/server.go:1933 (0x6b5d6c)
/usr/local/go/src/runtime/asm_amd64.s:1371 (0x46f960)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment